id
string | image
string | input
string | system
string | output
string | boxes
sequence | box_texts
sequence | detail
dict |
---|---|---|---|---|---|---|---|
2010.04529-zh-3 | 2010.04529-zh-3.jpg | <FigureHere>
Figure 1: PolyTope verdicts each error by three coordinates according to its syntactic and semantic roles.
示,与 ROUGE 相比,PolyTope 在提供整体
质量的详细和诊断方面更加精细
我们开发了一个用于注释的操作界面,如附录 A 所示。1。特别是,将原始文本和输出摘要并列显示给人类注释者,并要求他们选择阅读后认为不正确的部分。经过初步选择,他被要求分别在 8 个问题类型和 8 个语法标签中进行进一步选择。然后为每个不正确的段自动生成嵌入的严重性分数,并为注释的摘要计算质量分数,如下所示:
$$\mathrm{Score}=(1-\frac{\sum_{\alpha\in I}\alpha*\mathrm{Severity}_\alpha}{\mathrm{word}_{\mathrm{count}}})*100,$$
其中$I\in\{$Minor,Major,Critical$\}$ , 表示每个严重性的错误计数。对于不同严重程度的错误, 将扣除 Severity 分数,对于 Minor , Major 和 Critical ,将扣除比例分别设置为 1:5:10。$\mathrm{word}_{\mathrm{count}}$是样本中的单词总数。对于熟练的注释者,它需要 2。平均 5-4 分钟完成一个样本的注释,其中 2-3 分钟用于广泛阅读和 0。注释 5-1 分钟。PolyTope 评估后,3 维误差点显示了测试模型的整体质量(图$\overline{\mathrm{E}}1$ )。超过 20个文档的注释者间协议为 0。8621 在 Pearson 相关系数方面,这表明 PolyTope 可以显着降低注释者的主观偏见。更多的人工注释细节在附录 B 中说明。
# 4.1 Issue Type
PolyTope 的问题类型可以分为 Accuracy 和Fluency 问题,其定义可以追溯到 MQM 原理。Accuracy 相关问题是指目标摘要所传达的内容与源文本不匹配或不准确地反映源文本的程度。它包括五个子类型:
Addition 摘要中包含来自源的不必要和不
相关的代码段。
Omission 输出中缺少关键点。
Inaccuracy Intrinsic 来源的术语或概念被歪
曲 ,因此不忠
Inaccuracy Extrinsic 摘要的内容未在源代
码中显示,并且实际上不正确。
Positive-Negative Aspect 输出摘要表示肯
定语句,而源段为负,反之亦然。
Fluency 问题是指文本的语言质量。与 Accuracy 不同,Fluency 独立于源和目标之间的关系。它包括三个子类型:
Duplication 不必要地重复文本的单词或更
长的部分。
Word Form 单词形式的问题,包括协议,
POS, 时态-情绪-方面等。
Word Order 句子的句法成分顺序问题
附录 A 中详细说明了它们的示例。2
### 4.2 Svntactic Labe4.2
语法标签旨在定位错误,从而使错误问题与句子成分之间的相关性更加紧密。根据 ACE2005 (自动内容提取),我们定义了8个句法标签来区分句子成分,即 Subject , Predicate , Object,Number$\&$Time,Place$\&$Name
${\mathrm{Attribute}}$ , ${\mathrm{Function~Word~}}$ ${\text{和 Whole}}$
Sentence 。其定义详见附录 A。3
## 4.3 Severity
严重性指示特定错误的严重程度。它有三个级别:Minor, Major 和 Critical , 由评估工具自动计算,给出了人类对错误类型和句法标签的决定。实际上,表 2 中的每个单元格都对应一个特定的严重性级别。严重性较高的问题对摘要的感知质量有更大的影响。
Minor 不影响内容可用性或可理解性的问题。例如,如果语法功能词重复出现,则多余的介词被认为是错误的,但不会使文本难以使用或有问题。
Major 影响内容的可用性或可理解性但不会使其不可用的问题。例如,一个额外的属性可能会导致读者额外的努力来理解预期的含义, 但不会使内容不适合目的。 | [
[
"0.2988",
"0.0748",
"0.3704",
"0.07245",
"0.3704",
"0.08435",
"0.2988",
"0.0861"
],
[
"0.525",
"0.0778",
"0.615",
"0.0778",
"0.615",
"0.08905",
"0.525",
"0.08905"
],
[
"0.6094",
"0.079",
"0.881",
"0.079",
"0.881",
"0.08905",
"0.6094",
"0.08905"
],
[
"0.2761",
"0.0932",
"0.293",
"0.0932",
"0.293",
"0.0968",
"0.2761",
"0.0968"
],
[
"0.5156",
"0.0932",
"0.634",
"0.0932",
"0.634",
"0.1069",
"0.5156",
"0.1069"
],
[
"0.1587",
"0.11224",
"0.1948",
"0.114",
"0.1931",
"0.1223",
"0.157",
"0.12054"
],
[
"0.215",
"0.11224",
"0.2435",
"0.11224",
"0.2435",
"0.12354",
"0.215",
"0.12354"
],
[
"0.5205",
"0.1217",
"0.7676",
"0.1217",
"0.7676",
"0.1354",
"0.5205",
"0.1354"
],
[
"0.1823",
"0.1289",
"0.2141",
"0.1223",
"0.2183",
"0.1342",
"0.1873",
"0.1401"
],
[
"0.1628",
"0.1401",
"0.178",
"0.1401",
"0.178",
"0.1443",
"0.1628",
"0.1443"
],
[
"0.5205",
"0.1509",
"0.882",
"0.1509",
"0.882",
"0.1644",
"0.5205",
"0.1644"
],
[
"0.5146",
"0.165",
"0.6274",
"0.1663",
"0.6274",
"0.1812",
"0.5146",
"0.1799"
],
[
"0.5205",
"0.1948",
"0.881",
"0.1948",
"0.881",
"0.2079",
"0.5205",
"0.2079"
],
[
"0.5146",
"0.2102",
"0.763",
"0.2114",
"0.763",
"0.2257",
"0.5146",
"0.2245"
],
[
"0.1838",
"0.2322",
"0.1957",
"0.2322",
"0.1957",
"0.2351",
"0.1838",
"0.2351"
],
[
"0.2032",
"0.2423",
"0.2334",
"0.2423",
"0.2334",
"0.2494",
"0.2032",
"0.2494"
],
[
"0.523",
"0.2405",
"0.882",
"0.2405",
"0.882",
"0.2542",
"0.523",
"0.2542"
],
[
"0.2477",
"0.2542",
"0.288",
"0.26",
"0.2854",
"0.2695",
"0.2451",
"0.2632"
],
[
"0.5146",
"0.2546",
"0.781",
"0.257",
"0.781",
"0.2708",
"0.5146",
"0.2683"
],
[
"0.33",
"0.2683",
"0.3762",
"0.2683",
"0.3762",
"0.279",
"0.33",
"0.279"
],
[
"0.1184",
"0.2903",
"0.486",
"0.2903",
"0.486",
"0.304",
"0.1184",
"0.304"
],
[
"0.532",
"0.2903",
"0.882",
"0.2903",
"0.882",
"0.304",
"0.532",
"0.304"
],
[
"0.12006",
"0.306",
"0.4895",
"0.306",
"0.4895",
"0.3196",
"0.12006",
"0.3196"
],
[
"0.513",
"0.306",
"0.882",
"0.306",
"0.882",
"0.3206",
"0.513",
"0.3206"
],
[
"0.12006",
"0.3196",
"0.1587",
"0.3218",
"0.157",
"0.3333",
"0.1184",
"0.3308"
],
[
"0.5156",
"0.3225",
"0.744",
"0.3225",
"0.744",
"0.3362",
"0.5156",
"0.3362"
],
[
"0.5225",
"0.3508",
"0.882",
"0.3508",
"0.882",
"0.364",
"0.5225",
"0.364"
],
[
"0.12177",
"0.3623",
"0.4878",
"0.3623",
"0.4878",
"0.376",
"0.12177",
"0.376"
],
[
"0.513",
"0.364",
"0.5996",
"0.3665",
"0.5996",
"0.3813",
"0.513",
"0.379"
],
[
"0.1234",
"0.3801",
"0.3745",
"0.3801",
"0.3745",
"0.3901",
"0.1234",
"0.3901"
],
[
"0.1394",
"0.3955",
"0.4878",
"0.3955",
"0.4878",
"0.4092",
"0.1394",
"0.4092"
],
[
"0.5225",
"0.3938",
"0.882",
"0.3943",
"0.882",
"0.4092",
"0.5225",
"0.408"
],
[
"0.1184",
"0.4104",
"0.486",
"0.411",
"0.486",
"0.4258",
"0.1184",
"0.4246"
],
[
"0.511",
"0.4104",
"0.7197",
"0.411",
"0.7197",
"0.4258",
"0.511",
"0.4246"
],
[
"0.1184",
"0.4275",
"0.4844",
"0.4275",
"0.4844",
"0.4412",
"0.1184",
"0.4412"
],
[
"0.519",
"0.4382",
"0.839",
"0.4395",
"0.839",
"0.4536",
"0.519",
"0.4531"
],
[
"0.12177",
"0.4448",
"0.4878",
"0.4448",
"0.4878",
"0.4578",
"0.12177",
"0.4578"
],
[
"0.12177",
"0.4602",
"0.486",
"0.4602",
"0.486",
"0.4739",
"0.12177",
"0.4739"
],
[
"0.534",
"0.4578",
"0.827",
"0.4578",
"0.827",
"0.4714",
"0.534",
"0.4714"
],
[
"0.12006",
"0.4768",
"0.4878",
"0.4768",
"0.4878",
"0.4905",
"0.12006",
"0.4905"
],
[
"0.5146",
"0.4893",
"0.5615",
"0.4893",
"0.5615",
"0.5005",
"0.5146",
"0.5005"
],
[
"0.5576",
"0.488",
"0.692",
"0.488",
"0.692",
"0.502",
"0.5576",
"0.502"
],
[
"0.12177",
"0.509",
"0.294",
"0.509",
"0.294",
"0.5225",
"0.12177",
"0.5225"
],
[
"0.12006",
"0.4922",
"0.4895",
"0.4922",
"0.4895",
"0.506",
"0.12006",
"0.506"
],
[
"0.5156",
"0.511",
"0.882",
"0.511",
"0.882",
"0.525",
"0.5156",
"0.525"
],
[
"0.2351",
"0.53",
"0.4702",
"0.5376",
"0.4685",
"0.5654",
"0.2334",
"0.558"
],
[
"0.519",
"0.528",
"0.8833",
"0.528",
"0.8833",
"0.5415",
"0.519",
"0.5415"
],
[
"0.1427",
"0.5474",
"0.2451",
"0.546",
"0.2451",
"0.56",
"0.1427",
"0.5625"
],
[
"0.513",
"0.5435",
"0.882",
"0.542",
"0.882",
"0.557",
"0.513",
"0.558"
],
[
"0.288",
"0.557",
"0.3652",
"0.557",
"0.3652",
"0.572",
"0.288",
"0.572"
],
[
"0.5146",
"0.558",
"0.8696",
"0.558",
"0.8696",
"0.5723",
"0.5146",
"0.5723"
],
[
"0.513",
"0.5747",
"0.882",
"0.5747",
"0.882",
"0.5884",
"0.513",
"0.5884"
],
[
"0.12006",
"0.585",
"0.4895",
"0.585",
"0.4895",
"0.5996",
"0.12006",
"0.5996"
],
[
"0.538",
"0.5903",
"0.882",
"0.5903",
"0.882",
"0.604",
"0.538",
"0.604"
],
[
"0.12177",
"0.6016",
"0.4902",
"0.6016",
"0.4902",
"0.615",
"0.12177",
"0.615"
],
[
"0.513",
"0.6055",
"0.7944",
"0.607",
"0.7944",
"0.6216",
"0.513",
"0.6206"
],
[
"0.12006",
"0.618",
"0.4878",
"0.618",
"0.4878",
"0.632",
"0.12006",
"0.632"
],
[
"0.1184",
"0.633",
"0.4878",
"0.633",
"0.4878",
"0.6465",
"0.1184",
"0.6465"
],
[
"0.513",
"0.638",
"0.629",
"0.638",
"0.629",
"0.653",
"0.513",
"0.653"
],
[
"0.12006",
"0.651",
"0.4878",
"0.651",
"0.4878",
"0.6646",
"0.12006",
"0.6646"
],
[
"0.12006",
"0.6665",
"0.4895",
"0.6665",
"0.4895",
"0.6797",
"0.12006",
"0.6797"
],
[
"0.5146",
"0.661",
"0.882",
"0.661",
"0.882",
"0.675",
"0.5146",
"0.675"
],
[
"0.12006",
"0.6816",
"0.4902",
"0.6816",
"0.4902",
"0.6953",
"0.12006",
"0.6953"
],
[
"0.5156",
"0.677",
"0.881",
"0.677",
"0.881",
"0.6904",
"0.5156",
"0.6904"
],
[
"0.1184",
"0.6978",
"0.4878",
"0.6978",
"0.4878",
"0.7114",
"0.1184",
"0.7114"
],
[
"0.5146",
"0.6934",
"0.882",
"0.6934",
"0.882",
"0.707",
"0.5146",
"0.707"
],
[
"0.12006",
"0.7144",
"0.4895",
"0.7144",
"0.4895",
"0.728",
"0.12006",
"0.728"
],
[
"0.5146",
"0.709",
"0.882",
"0.709",
"0.882",
"0.7227",
"0.5146",
"0.7227"
],
[
"0.523",
"0.7236",
"0.882",
"0.7246",
"0.882",
"0.7393",
"0.523",
"0.7383"
],
[
"0.12006",
"0.731",
"0.4878",
"0.731",
"0.4878",
"0.7446",
"0.12006",
"0.7446"
],
[
"0.1184",
"0.745",
"0.486",
"0.745",
"0.486",
"0.759",
"0.1184",
"0.759"
],
[
"0.5146",
"0.742",
"0.7583",
"0.742",
"0.7583",
"0.756",
"0.5146",
"0.756"
],
[
"0.12177",
"0.763",
"0.4895",
"0.763",
"0.4895",
"0.777",
"0.12177",
"0.777"
],
[
"0.5205",
"0.7686",
"0.882",
"0.7695",
"0.882",
"0.7837",
"0.5205",
"0.783"
],
[
"0.1184",
"0.778",
"0.2477",
"0.7793",
"0.2477",
"0.7935",
"0.1184",
"0.792"
],
[
"0.5146",
"0.785",
"0.881",
"0.785",
"0.881",
"0.799",
"0.5146",
"0.799"
],
[
"0.1184",
"0.808",
"0.2551",
"0.808",
"0.2551",
"0.8223",
"0.1184",
"0.8223"
],
[
"0.5156",
"0.8027",
"0.882",
"0.8027",
"0.882",
"0.8164",
"0.5156",
"0.8164"
],
[
"0.5156",
"0.8193",
"0.614",
"0.8193",
"0.614",
"0.8306",
"0.5156",
"0.8306"
],
[
"0.12006",
"0.8306",
"0.4878",
"0.8306",
"0.4878",
"0.8457",
"0.12006",
"0.8457"
],
[
"0.12006",
"0.847",
"0.4895",
"0.847",
"0.4895",
"0.861",
"0.12006",
"0.861"
],
[
"0.517",
"0.8457",
"0.882",
"0.847",
"0.882",
"0.8623",
"0.517",
"0.86"
],
[
"0.1184",
"0.8623",
"0.4895",
"0.8633",
"0.4895",
"0.8774",
"0.1184",
"0.877"
],
[
"0.5156",
"0.8633",
"0.881",
"0.8633",
"0.881",
"0.877",
"0.5156",
"0.877"
],
[
"0.12006",
"0.88",
"0.4895",
"0.88",
"0.4895",
"0.8936",
"0.12006",
"0.8936"
],
[
"0.5146",
"0.88",
"0.882",
"0.88",
"0.882",
"0.8936",
"0.5146",
"0.8936"
],
[
"0.12006",
"0.8955",
"0.3477",
"0.8955",
"0.3477",
"0.909",
"0.12006",
"0.909"
],
[
"0.5146",
"0.8945",
"0.7246",
"0.8955",
"0.7246",
"0.91",
"0.5146",
"0.909"
]
] | [
"Syntactic Label",
"Addition",
"摘要中包含来自源的不必要和不",
"",
"相关的代码段。",
"Severity",
"Aribate",
"Omission输出中缺少关键点。",
"Oesuene",
"Cfies",
"InaccuracyIntrinsic来源的术语或概念被歪",
"曲,因此不忠",
"InaccuracyExtrinsic摘要的内容未在源代",
"码中显示,并且实际上不正确。",
"nand",
"Pos Nae",
"Positive-NegativeAspect输出摘要表示肯",
"Wor_Forme",
"定语句,而源段为负,反之亦然。",
"IssueType",
"Figure 1: PolyTope verdicts each error by three",
"Fluency问题是指文本的语言质量。与Ac",
"coordinates according to its syntactic and semantic",
"curacy不同,Fluency独立于源和目标之间",
"roles.",
"的关系。它包括三个子类型:",
"Duplication不必要地重复文本的单词或更",
"示,与ROUGE相比,PolyTope在提供整体",
"长的部分。",
"质量的详细和诊断方面更加精细",
"我们开发了一个用于注释的操作界面,如附",
"WordForm单词形式的问题,包括协议",
"录A所示。1。特别是,将原始文本和输出摘",
"POS,时态-情绪-方面等。",
"要并列显示给人类注释者,并要求他们选择阅",
"WordOrder句子的句法成分顺序问题",
"读后认为不正确的部分。经过初步选择,他被",
"要求分别在8个问题类型和8个语法标签中",
"附录A中详细说明了它们的示例。2",
"进行进一步选择。然后为每个不正确的段自动",
"4.2",
" Syntactic Label",
"质量分数,如下所示:",
"生成嵌人的严重性分数,并为注释的摘要计算",
"语法标签旨在定位错误,从而使错误问题与句",
"Zae * Severitye *10.",
"子成分之间的相关性更加紧密。根据ACE2005",
"Score = (1 -",
"(自动内容提取),我们定义了8个句法标签",
"wordcount",
"来区分句子成分,即Subject,Predicate",
"Object,Number& TimePlace& Name",
"其中IE[Minor,Major,Critical】,表示每个严",
"AttributeFunction Word 和 Whole",
"重性的错误计数。对于不同严重程度的错误,",
"Sentence。其定义详见附录A。3",
"将扣除Severity分数,对于Minor、Major",
"和Critical,将扣除比例分别设置为1:5:10。",
"4.3Severity",
"wordcount是样本中的单词总数。对于熟练的",
"注释者,它需要2。平均5-4分钟完成一个样",
"严重性指示特定错误的严重程度。它有三个级",
"本的注释,其中2-3分钟用于广泛阅读和0。",
"别:Minor,Major和Critical,由评估工具自",
"注释5-1分钟。PolyTope评估后,3维误差点",
"动计算,给出了人类对错误类型和句法标签的",
"显示了测试模型的整体质量(图E1)。超过20",
"决定。实际上,表2中的每个单元格都对应",
"个特定的严重性级别。严重性较高的问题对",
"个文档的注释者间协议为0。8621在Pearson",
"相关系数方面,这表明PolyTope可以显着降",
"摘要的感知质量有更大的影响。",
"低注释者的主观偏见。更多的人工注释细节在",
"Minor不影响内容可用性或可理解性的问",
"附录B中说明。",
"题。例如,如果语法功能词重复出现,则多余",
"4.1Issue Type",
"的介词被认为是错误的,但不会使文本难以使",
"用或有问题。",
"PolyTope的问题类型可以分为Accuracy和",
"Fluency问题,其定义可以追溯到MQM原",
"Major影响内容的可用性或可理解性但不会",
"理。Accuracy相关问题是指目标摘要所传达",
"使其不可用的问题。例如,一个额外的属性可",
"的内容与源文本不匹配或不准确地反映源文本",
"能会导致读者额外的努力来理解预期的含义,",
"的程度。它包括五个子类型:",
"但不会使内容不适合目的。"
] | {
"arxiv_id": "2010.04529",
"language": "zh",
"page_idx": 3
} |
||
2010.04529-zh-4 | 2010.04529-zh-4.jpg | <table>
<tbody>
<tr>
<th>type lssue</th>
<th>Sub Issue Type</th>
<th>Subject</th>
<th>Object</th>
<th>Predicate</th>
<th>Number $:\&$Time</th>
<th>Place $\&$ Name</th>
<th>Attribute</th>
<th>Function Word</th>
<th>Whole Sentenco</th>
</tr>
<tr>
<td>$\operatorname{Accuracy}$</td>
<td>Addition Omission Inacc Intrinsic Inacc Extrinsic Pos Neg Aspect</td>
<td>Critical Critical Critical Critical $N/A$</td>
<td>${\mathrm{Critical}}$ Critical Critical Critical $N/A$</td>
<td>Critical Critical Critical Critical Critical</td>
<td>$\overline{\text{Major}}$ Critical Critical Critical $N/A$</td>
<td>$\overline{\text{Major}}$ Major Critical Critical $N/A$</td>
<td>$\overline{\text{Major}}$ Major Major Critical Critical</td>
<td>Minor Minor Minor Minor $N/A$</td>
<td>$\overline{\text{Major}}$ Critical $N/A$ $N/A$ $N/A$</td>
</tr>
<tr>
<td rowspan="3">Fluency</td>
<td>${\mathrm{Word~Order}}$</td>
<td>$\overline{\mathrm{N/A}}$</td>
<td>$\overline{\mathrm{N/A}}$</td>
<td>Major</td>
<td>$\overline{\mathrm{N/A}}$</td>
<td>$\overline{\mathrm{N/A}}$</td>
<td>$\overline{\text{Major}}$</td>
<td>Minor</td>
<td>$\overline{\mathrm{N/A}}$</td>
</tr>
<tr>
<td>Word Form</td>
<td>Minor</td>
<td>Minor</td>
<td>Minor</td>
<td>Minor</td>
<td>Minor</td>
<td>Minor</td>
<td>Minor</td>
<td>$N/A$</td>
</tr>
<tr>
<td>Duplication</td>
<td>Major</td>
<td>Major</td>
<td>Major</td>
<td>Major</td>
<td>Major</td>
<td>Major</td>
<td>Minor</td>
<td>Major</td>
</tr>
</tbody>
</table>
Table 2: PolyTope for summarization diagnostics. This error matrix avoids subjectivity as human judgers only need to annotate issue types and syntactic labels of each mistake. Severity rules and scores is predefined and automatically calculated, without providing their own preference and scores.
<table>
<tbody>
<tr>
<th> </th>
<th colspan="4">Fxtractive $\overline{\mathrm{Methods}}$</th>
<th> </th>
<th colspan="5">$\overline{\text{Abstractive Methods}}$</th>
</tr>
<tr>
<th> </th>
<th>$\overline{{\text{Lead-3}}}$</th>
<th>$\overline{{\text{TextRank}}}$</th>
<th>Summa</th>
<th>BertSumExt</th>
<th>$S2S$</th>
<th>$\overline{PG}$</th>
<th>$\overline{{\mathrm{PG-Coverage}}}$</th>
<th>$\overline{{\mathrm{Bottom-Up}}}$</th>
<th>BertSumExtABS</th>
<th>$\overline{{\mathrm{BART}}}$</th>
</tr>
<tr>
<td>ROUGE-1</td>
<td>41.63</td>
<td>33.81</td>
<td>41.11</td>
<td>$\overline{42.69}$</td>
<td>$\overline{31.87}$</td>
<td>38.89</td>
<td>39.90</td>
<td>$\overline{41.19}$</td>
<td>41.87</td>
<td>43.28</td>
</tr>
<tr>
<td>ROUGE- 2</td>
<td>19.62</td>
<td>13.71</td>
<td>20.15</td>
<td>21.19</td>
<td>13.07</td>
<td>19.64</td>
<td>19.00</td>
<td>19.98</td>
<td>21.02</td>
<td>21.28</td>
</tr>
<tr>
<td>ROUGE-L</td>
<td>35.55</td>
<td>26.47</td>
<td>36.40</td>
<td>35.95</td>
<td>29.48</td>
<td>35.92</td>
<td>35.01</td>
<td>36.52</td>
<td>34.16</td>
<td>38.13</td>
</tr>
<tr>
<td>ROUGE-1 Rank</td>
<td> </td>
<td>$\#9$</td>
<td>$\#6$</td>
<td>4 2</td>
<td>$\frac{11}{44}$ 10</td>
<td>$\#8$</td>
<td>$\#7$</td>
<td>$\#5$</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Addition</td>
<td>$\overline{329}$</td>
<td>$\overline{272}$</td>
<td>156</td>
<td>$\overline{160}$</td>
<td>125</td>
<td>117</td>
<td>143</td>
<td>$\overline{207}$</td>
<td>165</td>
<td>135</td>
</tr>
<tr>
<td>0mission</td>
<td>196</td>
<td>309</td>
<td>193</td>
<td>185</td>
<td>329</td>
<td>286</td>
<td>256</td>
<td>287</td>
<td>213</td>
<td>115</td>
</tr>
<tr>
<td>Inacc Intrinsic</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>304</td>
<td>14</td>
<td>16</td>
<td>68</td>
<td>7</td>
<td>2</td>
</tr>
<tr>
<td>Inacc Extrinsic</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>42</td>
<td>0</td>
<td>0</td>
<td>4</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>Pos Neg Aspect</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>3</td>
<td>0</td>
<td>0</td>
<td>3</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>Word 0rder</td>
<td>0</td>
<td>0</td>
<td>$\overline{0}$</td>
<td>0</td>
<td>0</td>
<td>$\overline{0}$</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>$\overline{0}$</td>
</tr>
<tr>
<td>Word Form</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>1</td>
<td>0</td>
</tr>
<tr>
<td>Duplication</td>
<td>17</td>
<td>12</td>
<td>36</td>
<td>9</td>
<td>139</td>
<td>68</td>
<td>11</td>
<td>6</td>
<td>3</td>
<td>2</td>
</tr>
<tr>
<td>Critical</td>
<td>192</td>
<td>302</td>
<td>191</td>
<td>184</td>
<td>588</td>
<td>284</td>
<td>257</td>
<td>3333</td>
<td>213</td>
<td>112</td>
</tr>
<tr>
<td>Major</td>
<td>350</td>
<td>289</td>
<td>194</td>
<td>170</td>
<td>317</td>
<td>193</td>
<td>161</td>
<td>210</td>
<td>172</td>
<td>140</td>
</tr>
<tr>
<td>Minor</td>
<td>0</td>
<td>2</td>
<td>0</td>
<td>0</td>
<td>38</td>
<td>8</td>
<td>8</td>
<td>32</td>
<td>4</td>
<td>2</td>
</tr>
<tr>
<td>Errors 1k Words</td>
<td>55</td>
<td>61</td>
<td>39</td>
<td>37</td>
<td>160</td>
<td>70</td>
<td>56</td>
<td>84</td>
<td>48</td>
<td>30</td>
</tr>
<tr>
<td>$\overline{{\mathrm{PolvTope~Score}}}$</td>
<td>81.96</td>
<td>77.07</td>
<td>85.43</td>
<td>86.03</td>
<td>$\overline{36.61}$</td>
<td>72.55</td>
<td>77.80</td>
<td>67.99</td>
<td>$\overline{81.52}$</td>
<td>89.37</td>
</tr>
<tr>
<td>PolvTope e Rank</td>
<td> </td>
<td>$\#7$</td>
<td> </td>
<td> </td>
<td>10 4</td>
<td>$\#8$</td>
<td>$\#6$</td>
<td>$\#9$</td>
<td>$\#5$</td>
<td> </td>
</tr>
</tbody>
</table>
Table 3: ROUGE and PolyTope results on 150 instances from CNN/DM dataset. ROUGE is the F1
score with stemming and stopwords not removed, giving the best agreement with human evaluation.
名第 9 和第 7, 仍然与一些抽象神经模型竞争。不利的一面是,这两种方法显示出最大数量的Addition 错误,这表明与监督方法相比,无监督方法在过滤无用信息方面相对较弱
Critical 导致内容不适合使用的问题。例如, 一个省略的主题改变了文本的含义,将被认为是关键的。如果错误使读者无法按预期使用内容,或者它提供了可能对用户造成伤害的错误信息,则必须将其归类为关键。通常,即使是单个严重错误也可能导致严重问题
# 5.2 Extractive vs Abstractive Summarization
5 Evaluating Model Performance
我们使用上述两个指标对上述 10 个模型进行评估,重点是前神经和神经方法,提取和抽象方法之间的比较,以及更好地理解里程碑技术的效果,例如复制,覆盖,预训练和混合抽象/提取模型。我们从非匿名 CNN/DM 数据集 (Hermann et al.,2015) 中随机抽样 150 个试验。在预测摘要时,我们在原始论文之后选择三个句子作为提取模型的摘要,并让算法自动停止抽象模型,这在大多数情况下也给出三个句子作为解码结果。表 3 介绍了基于PolyTope 和 ROUGE 的性能。附录 C 中说明了支持以下观察的案例
在 ROUGE 上,提取和抽象方法之间没有很大的差距,BART 和 BertSumExt 分别是顶级的抽象和提取模型。在 PolyTope 上, 作为抽象模型的代表,BART 压倒性地优于其他模型(p < 。01 使用 t 检验)。但是,不包括 BART,提取模型占据了以下前三名。在类似的设置下,提取方法更好(p???。01 使用 t 检验)与抽象对应物(e。g。BertSumExtvsBertSumExtAbs, SummaRuNNervsPoint-
Generator,Point-Generator-with-Coverage)
提取模型往往只产生 3 种类型的错误,即${\mathrm{Addition}}$ , ${\mathrm{Omission}}$ , ${\mathrm{Duplication}}$ ,而抽象模型则产生 4 至 7 种类型的错误。相对于 Accuracy ,提取方法在 Inacc Intrinsic 和Extrinsic 方面明显更强,这反映出通过直接从源代码复制代码段,可以保证提取方法产生具有公平语法性,合理性和忠诚度的摘要。但是,提取方法在 Addition 和 Omission 中没有表现出更强的性能,这是因为提取的句子包含与要点不直接相关的信息。关于 Fluency 两种方法通常相互竞争,表明如今的神经模型
5.1 Preneural vs Neural Models
在 ROUGE-1 上,Lead-3 在提取模型中排名第 2,在所有模型中排名第 4。在 PolyTope 上,它在提取模型中排名第三,在所有模型中排名第四。这表明,即使在神经方法中,简单的方法也是一个强大的基线。TextRank 在ROUGE 和 PolyTope 上的所有方法中分别排 | [
[
"0.1453",
"0.07245",
"0.236",
"0.07245",
"0.236",
"0.0831",
"0.1453",
"0.0831"
],
[
"0.553",
"0.07245",
"0.5693",
"0.0707",
"0.571",
"0.0766",
"0.555",
"0.079"
],
[
"0.7793",
"0.07245",
"0.81",
"0.07245",
"0.81",
"0.08075",
"0.7793",
"0.08075"
],
[
"0.7363",
"0.0736",
"0.763",
"0.0736",
"0.763",
"0.08075",
"0.7363",
"0.08075"
],
[
"0.2544",
"0.0736",
"0.2805",
"0.076",
"0.2795",
"0.0831",
"0.2527",
"0.08075"
],
[
"0.636",
"0.0748",
"0.65",
"0.0748",
"0.65",
"0.08075",
"0.636",
"0.08075"
],
[
"0.827",
"0.0736",
"0.852",
"0.0736",
"0.852",
"0.08075",
"0.827",
"0.08075"
],
[
"0.4744",
"0.0778",
"0.5205",
"0.0778",
"0.5205",
"0.10394",
"0.4744",
"0.10394"
],
[
"0.2258",
"0.079",
"0.2688",
"0.08075",
"0.2678",
"0.09265",
"0.2241",
"0.0903"
],
[
"0.297",
"0.08014",
"0.3333",
"0.0831",
"0.3315",
"0.09143",
"0.2957",
"0.0885"
],
[
"0.5693",
"0.079",
"0.602",
"0.08075",
"0.601",
"0.0932",
"0.5684",
"0.09143"
],
[
"0.6406",
"0.08014",
"0.6733",
"0.082",
"0.6724",
"0.0932",
"0.6396",
"0.09143"
],
[
"0.7153",
"0.08014",
"0.7466",
"0.082",
"0.7446",
"0.0932",
"0.714",
"0.09143"
],
[
"0.802",
"0.08014",
"0.8364",
"0.082",
"0.8345",
"0.0932",
"0.8003",
"0.09143"
],
[
"0.4072",
"0.0831",
"0.4382",
"0.0831",
"0.4382",
"0.09143",
"0.4072",
"0.09143"
],
[
"0.367",
"0.08435",
"0.3838",
"0.08435",
"0.3838",
"0.0885",
"0.367",
"0.0885"
],
[
"0.5693",
"0.0873",
"0.602",
"0.08905",
"0.601",
"0.10156",
"0.5684",
"0.0998"
],
[
"0.2957",
"0.0885",
"0.3333",
"0.0903",
"0.3315",
"0.10156",
"0.294",
"0.0998"
],
[
"0.2225",
"0.0885",
"0.272",
"0.0903",
"0.2703",
"0.10156",
"0.2217",
"0.0998"
],
[
"0.642",
"0.0885",
"0.6733",
"0.0885",
"0.6733",
"0.10095",
"0.642",
"0.10095"
],
[
"0.7153",
"0.0885",
"0.7446",
"0.0885",
"0.7446",
"0.10095",
"0.7153",
"0.10095"
],
[
"0.7983",
"0.0885",
"0.837",
"0.0885",
"0.837",
"0.10095",
"0.7983",
"0.10095"
],
[
"0.4055",
"0.09143",
"0.4382",
"0.09143",
"0.4382",
"0.0998",
"0.4055",
"0.0998"
],
[
"0.346",
"0.08905",
"0.3855",
"0.09143",
"0.3855",
"0.0998",
"0.346",
"0.0974"
],
[
"0.4744",
"0.09143",
"0.523",
"0.0944",
"0.519",
"0.1223",
"0.4702",
"0.11816"
],
[
"0.635",
"0.0932",
"0.6826",
"0.0932",
"0.6826",
"0.12054",
"0.635",
"0.12054"
],
[
"0.796",
"0.09143",
"0.8403",
"0.09143",
"0.8403",
"0.1478",
"0.796",
"0.1478"
],
[
"0.5635",
"0.0956",
"0.608",
"0.0956",
"0.608",
"0.10986",
"0.5635",
"0.10986"
],
[
"0.297",
"0.0974",
"0.3333",
"0.0986",
"0.3333",
"0.10925",
"0.297",
"0.1081"
],
[
"0.345",
"0.0974",
"0.3862",
"0.0956",
"0.388",
"0.1069",
"0.346",
"0.10925"
],
[
"0.4048",
"0.0968",
"0.44",
"0.0986",
"0.4382",
"0.10986",
"0.403",
"0.1081"
],
[
"0.714",
"0.0974",
"0.7446",
"0.0974",
"0.7446",
"0.10986",
"0.714",
"0.10986"
],
[
"0.2107",
"0.0986",
"0.2822",
"0.0986",
"0.2822",
"0.10925",
"0.2107",
"0.10925"
],
[
"0.147",
"0.0998",
"0.1973",
"0.10156",
"0.1957",
"0.1134",
"0.1453",
"0.111"
],
[
"0.5635",
"0.10394",
"0.608",
"0.10394",
"0.608",
"0.11816",
"0.5635",
"0.11816"
],
[
"0.712",
"0.1027",
"0.748",
"0.1027",
"0.748",
"0.1271",
"0.712",
"0.1271"
],
[
"0.3047",
"0.1057",
"0.3342",
"0.1057",
"0.3342",
"0.11755",
"0.3047",
"0.11755"
],
[
"0.3015",
"0.1057",
"0.309",
"0.111",
"0.3032",
"0.1152",
"0.2957",
"0.10986"
],
[
"0.346",
"0.1057",
"0.3862",
"0.1057",
"0.3862",
"0.1164",
"0.346",
"0.1164"
],
[
"0.4048",
"0.1057",
"0.44",
"0.1057",
"0.44",
"0.11755",
"0.4048",
"0.11755"
],
[
"0.3064",
"0.10986",
"0.3342",
"0.1152",
"0.33",
"0.1277",
"0.3015",
"0.1223"
],
[
"0.2107",
"0.1069",
"0.2837",
"0.1069",
"0.2837",
"0.11755",
"0.2107",
"0.11755"
],
[
"0.482",
"0.111",
"0.5156",
"0.111",
"0.5156",
"0.1372",
"0.482",
"0.1372"
],
[
"0.5684",
"0.111",
"0.6035",
"0.111",
"0.6035",
"0.136",
"0.5684",
"0.136"
],
[
"0.636",
"0.1134",
"0.679",
"0.1152",
"0.678",
"0.1271",
"0.635",
"0.1247"
],
[
"0.723",
"0.1134",
"0.735",
"0.1134",
"0.735",
"0.11755",
"0.723",
"0.11755"
],
[
"0.3525",
"0.114",
"0.3804",
"0.114",
"0.3804",
"0.1259",
"0.3525",
"0.1259"
],
[
"0.2048",
"0.1134",
"0.2854",
"0.114",
"0.2854",
"0.1259",
"0.2048",
"0.1247"
],
[
"0.4048",
"0.114",
"0.44",
"0.114",
"0.44",
"0.1259",
"0.4048",
"0.1259"
],
[
"0.3032",
"0.1223",
"0.33",
"0.1223",
"0.33",
"0.1342",
"0.3032",
"0.1342"
],
[
"0.3525",
"0.1223",
"0.3804",
"0.1223",
"0.3804",
"0.1342",
"0.3525",
"0.1342"
],
[
"0.4055",
"0.1223",
"0.4382",
"0.1223",
"0.4382",
"0.1354",
"0.4055",
"0.1354"
],
[
"0.6406",
"0.1223",
"0.6733",
"0.1223",
"0.6733",
"0.1354",
"0.6406",
"0.1354"
],
[
"0.714",
"0.1223",
"0.7446",
"0.1223",
"0.7446",
"0.1342",
"0.714",
"0.1342"
],
[
"0.147",
"0.13",
"0.1914",
"0.1318",
"0.1897",
"0.1437",
"0.1453",
"0.1414"
],
[
"0.2141",
"0.12354",
"0.2778",
"0.12354",
"0.2778",
"0.1342",
"0.2141",
"0.1342"
],
[
"0.215",
"0.13",
"0.2761",
"0.1318",
"0.2761",
"0.1437",
"0.215",
"0.1414"
],
[
"0.3005",
"0.1312",
"0.3333",
"0.1312",
"0.3333",
"0.1426",
"0.3005",
"0.1426"
],
[
"0.4055",
"0.1312",
"0.4375",
"0.1312",
"0.4375",
"0.1426",
"0.4055",
"0.1426"
],
[
"0.482",
"0.1312",
"0.5146",
"0.1312",
"0.5146",
"0.1426",
"0.482",
"0.1426"
],
[
"0.5693",
"0.1312",
"0.602",
"0.1312",
"0.602",
"0.1426",
"0.5693",
"0.1426"
],
[
"0.642",
"0.1312",
"0.6733",
"0.1312",
"0.6733",
"0.1426",
"0.642",
"0.1426"
],
[
"0.714",
"0.1312",
"0.7446",
"0.1312",
"0.7446",
"0.1426",
"0.714",
"0.1426"
],
[
"0.482",
"0.1395",
"0.5146",
"0.1395",
"0.5146",
"0.1509",
"0.482",
"0.1509"
],
[
"0.351",
"0.133",
"0.382",
"0.133",
"0.382",
"0.1414",
"0.351",
"0.1414"
],
[
"0.2183",
"0.1414",
"0.2747",
"0.1414",
"0.2747",
"0.1484",
"0.2183",
"0.1484"
],
[
"0.3005",
"0.1414",
"0.3315",
"0.1414",
"0.3315",
"0.1484",
"0.3005",
"0.1484"
],
[
"0.351",
"0.1414",
"0.382",
"0.1414",
"0.382",
"0.1497",
"0.351",
"0.1497"
],
[
"0.4072",
"0.1414",
"0.4358",
"0.1414",
"0.4358",
"0.1497",
"0.4072",
"0.1497"
],
[
"0.5693",
"0.1414",
"0.601",
"0.1414",
"0.601",
"0.1497",
"0.5693",
"0.1497"
],
[
"0.642",
"0.1414",
"0.6733",
"0.1414",
"0.6733",
"0.1497",
"0.642",
"0.1497"
],
[
"0.714",
"0.1414",
"0.744",
"0.1414",
"0.744",
"0.1497",
"0.714",
"0.1497"
],
[
"0.802",
"0.1395",
"0.8345",
"0.1395",
"0.8345",
"0.1509",
"0.802",
"0.1509"
],
[
"0.1184",
"0.1609",
"0.8833",
"0.1609",
"0.8833",
"0.1746",
"0.1184",
"0.1746"
],
[
"0.1184",
"0.1746",
"0.677",
"0.1746",
"0.677",
"0.1882",
"0.1184",
"0.1882"
],
[
"0.671",
"0.1758",
"0.8833",
"0.1758",
"0.8833",
"0.1895",
"0.671",
"0.1895"
],
[
"0.1184",
"0.1907",
"0.7944",
"0.1907",
"0.7944",
"0.2037",
"0.1184",
"0.2037"
],
[
"0.315",
"0.2173",
"0.4148",
"0.2173",
"0.4148",
"0.228",
"0.315",
"0.228"
],
[
"0.621",
"0.2162",
"0.7246",
"0.2156",
"0.7246",
"0.2268",
"0.621",
"0.228"
],
[
"0.2477",
"0.2257",
"0.288",
"0.2257",
"0.288",
"0.2363",
"0.2477",
"0.2363"
],
[
"0.2988",
"0.2257",
"0.351",
"0.228",
"0.351",
"0.2351",
"0.2988",
"0.2328"
],
[
"0.413",
"0.2257",
"0.482",
"0.2257",
"0.482",
"0.2363",
"0.413",
"0.2363"
],
[
"0.5693",
"0.2239",
"0.642",
"0.2257",
"0.642",
"0.2369",
"0.5693",
"0.2351"
],
[
"0.7197",
"0.2257",
"0.8154",
"0.2257",
"0.8154",
"0.2363",
"0.7197",
"0.2363"
],
[
"0.81",
"0.2257",
"0.8613",
"0.2257",
"0.8613",
"0.2363",
"0.81",
"0.2363"
],
[
"0.538",
"0.2268",
"0.5576",
"0.2268",
"0.5576",
"0.2351",
"0.538",
"0.2351"
],
[
"0.4963",
"0.2268",
"0.5156",
"0.2268",
"0.5156",
"0.2351",
"0.4963",
"0.2351"
],
[
"0.656",
"0.2299",
"0.671",
"0.2299",
"0.671",
"0.2328",
"0.656",
"0.2328"
],
[
"0.6675",
"0.2268",
"0.7153",
"0.228",
"0.7153",
"0.2363",
"0.6675",
"0.2351"
],
[
"0.4878",
"0.2328",
"0.525",
"0.2328",
"0.525",
"0.257",
"0.4878",
"0.257"
],
[
"0.529",
"0.231",
"0.567",
"0.2351",
"0.5615",
"0.2583",
"0.525",
"0.2546"
],
[
"0.748",
"0.2328",
"0.785",
"0.2328",
"0.785",
"0.257",
"0.748",
"0.257"
],
[
"0.309",
"0.234",
"0.34",
"0.2363",
"0.339",
"0.2477",
"0.3074",
"0.2452"
],
[
"0.168",
"0.234",
"0.2183",
"0.2351",
"0.2183",
"0.2446",
"0.168",
"0.2434"
],
[
"0.3687",
"0.234",
"0.398",
"0.234",
"0.398",
"0.2465",
"0.3687",
"0.2465"
],
[
"0.43",
"0.234",
"0.465",
"0.234",
"0.465",
"0.257",
"0.43",
"0.257"
],
[
"0.5884",
"0.234",
"0.6265",
"0.234",
"0.6265",
"0.257",
"0.5884",
"0.257"
],
[
"0.6675",
"0.234",
"0.6978",
"0.234",
"0.6978",
"0.2465",
"0.6675",
"0.2465"
],
[
"0.8213",
"0.234",
"0.86",
"0.234",
"0.86",
"0.257",
"0.8213",
"0.257"
],
[
"0.1628",
"0.2411",
"0.22",
"0.2434",
"0.22",
"0.2546",
"0.1628",
"0.253"
],
[
"0.2527",
"0.2351",
"0.2854",
"0.2351",
"0.2854",
"0.2465",
"0.2527",
"0.2465"
],
[
"0.6675",
"0.2423",
"0.6978",
"0.2423",
"0.6978",
"0.2546",
"0.6675",
"0.2546"
],
[
"0.7573",
"0.2411",
"0.777",
"0.2411",
"0.777",
"0.2488",
"0.7573",
"0.2488"
],
[
"0.3105",
"0.2434",
"0.34",
"0.2434",
"0.34",
"0.2546",
"0.3105",
"0.2546"
],
[
"0.2544",
"0.2434",
"0.2854",
"0.2434",
"0.2854",
"0.2546",
"0.2544",
"0.2546"
],
[
"0.3687",
"0.2434",
"0.398",
"0.2434",
"0.398",
"0.2546",
"0.3687",
"0.2546"
],
[
"0.4324",
"0.2494",
"0.4626",
"0.2517",
"0.461",
"0.2642",
"0.43",
"0.2612"
],
[
"0.8237",
"0.2505",
"0.8564",
"0.253",
"0.8555",
"0.2654",
"0.8228",
"0.2632"
],
[
"0.367",
"0.2517",
"0.398",
"0.2517",
"0.398",
"0.2632",
"0.367",
"0.2632"
],
[
"0.3105",
"0.2517",
"0.34",
"0.2517",
"0.34",
"0.2632",
"0.3105",
"0.2632"
],
[
"0.4902",
"0.2517",
"0.523",
"0.2517",
"0.523",
"0.2632",
"0.4902",
"0.2632"
],
[
"0.531",
"0.2517",
"0.5615",
"0.2517",
"0.5615",
"0.2632",
"0.531",
"0.2632"
],
[
"0.592",
"0.2517",
"0.621",
"0.2517",
"0.621",
"0.2642",
"0.592",
"0.2642"
],
[
"0.6665",
"0.2517",
"0.6978",
"0.2517",
"0.6978",
"0.2632",
"0.6665",
"0.2632"
],
[
"0.7515",
"0.2517",
"0.7827",
"0.2517",
"0.7827",
"0.2642",
"0.7515",
"0.2642"
],
[
"0.2544",
"0.253",
"0.2854",
"0.253",
"0.2854",
"0.2642",
"0.2544",
"0.2642"
],
[
"0.1628",
"0.2542",
"0.22",
"0.2542",
"0.22",
"0.2612",
"0.1628",
"0.2612"
],
[
"0.6675",
"0.26",
"0.6963",
"0.26",
"0.6963",
"0.2808",
"0.6675",
"0.2808"
],
[
"0.754",
"0.26",
"0.7793",
"0.26",
"0.7793",
"0.2725",
"0.754",
"0.2725"
],
[
"0.3704",
"0.2612",
"0.3972",
"0.2612",
"0.3972",
"0.2725",
"0.3704",
"0.2725"
],
[
"0.1486",
"0.2612",
"0.2334",
"0.2612",
"0.2334",
"0.2715",
"0.1486",
"0.2715"
],
[
"0.4358",
"0.2612",
"0.4575",
"0.2612",
"0.4575",
"0.2737",
"0.4358",
"0.2737"
],
[
"0.492",
"0.2612",
"0.5225",
"0.2612",
"0.5225",
"0.2725",
"0.492",
"0.2725"
],
[
"0.315",
"0.2625",
"0.3376",
"0.2625",
"0.3376",
"0.2725",
"0.315",
"0.2725"
],
[
"0.2603",
"0.2625",
"0.2795",
"0.2625",
"0.2795",
"0.2715",
"0.2603",
"0.2715"
],
[
"0.5356",
"0.2625",
"0.5557",
"0.2625",
"0.5557",
"0.2708",
"0.5356",
"0.2708"
],
[
"0.596",
"0.2625",
"0.6187",
"0.2625",
"0.6187",
"0.2725",
"0.596",
"0.2725"
],
[
"0.831",
"0.2625",
"0.8506",
"0.2625",
"0.8506",
"0.2715",
"0.831",
"0.2715"
],
[
"0.168",
"0.2695",
"0.2141",
"0.2715",
"0.2141",
"0.282",
"0.168",
"0.2798"
],
[
"0.4954",
"0.2695",
"0.5156",
"0.2725",
"0.5146",
"0.2798",
"0.492",
"0.2778"
],
[
"0.7617",
"0.2683",
"0.7773",
"0.2725",
"0.7734",
"0.282",
"0.7573",
"0.2778"
],
[
"0.3167",
"0.2708",
"0.3342",
"0.2708",
"0.3342",
"0.279",
"0.3167",
"0.279"
],
[
"0.2627",
"0.2708",
"0.2795",
"0.2708",
"0.2795",
"0.2778",
"0.2627",
"0.2778"
],
[
"0.3745",
"0.2708",
"0.392",
"0.2708",
"0.392",
"0.2798",
"0.3745",
"0.2798"
],
[
"0.5366",
"0.2708",
"0.5557",
"0.2708",
"0.5557",
"0.279",
"0.5366",
"0.279"
],
[
"0.5977",
"0.2708",
"0.617",
"0.2708",
"0.617",
"0.2798",
"0.5977",
"0.2798"
],
[
"0.833",
"0.2715",
"0.8506",
"0.2715",
"0.8506",
"0.279",
"0.833",
"0.279"
],
[
"0.4978",
"0.2756",
"0.517",
"0.2778",
"0.5146",
"0.288",
"0.4954",
"0.2861"
],
[
"0.4434",
"0.2737",
"0.455",
"0.2737",
"0.455",
"0.2778",
"0.4434",
"0.2778"
],
[
"0.671",
"0.2766",
"0.693",
"0.2766",
"0.693",
"0.2893",
"0.671",
"0.2893"
],
[
"0.756",
"0.2766",
"0.7793",
"0.2766",
"0.7793",
"0.2893",
"0.756",
"0.2893"
],
[
"0.8296",
"0.2766",
"0.852",
"0.2766",
"0.852",
"0.2893",
"0.8296",
"0.2893"
],
[
"0.2612",
"0.279",
"0.2805",
"0.279",
"0.2805",
"0.288",
"0.2612",
"0.288"
],
[
"0.1663",
"0.279",
"0.2167",
"0.279",
"0.2167",
"0.2893",
"0.1663",
"0.2893"
],
[
"0.315",
"0.279",
"0.3342",
"0.279",
"0.3342",
"0.288",
"0.315",
"0.288"
],
[
"0.3745",
"0.279",
"0.392",
"0.279",
"0.392",
"0.288",
"0.3745",
"0.288"
],
[
"0.44",
"0.279",
"0.4568",
"0.279",
"0.4568",
"0.288",
"0.44",
"0.288"
],
[
"0.5366",
"0.279",
"0.5557",
"0.279",
"0.5557",
"0.288",
"0.5366",
"0.288"
],
[
"0.5977",
"0.279",
"0.617",
"0.279",
"0.617",
"0.288",
"0.5977",
"0.288"
],
[
"0.596",
"0.284",
"0.6187",
"0.284",
"0.6187",
"0.3154",
"0.596",
"0.3154"
],
[
"0.318",
"0.2861",
"0.3333",
"0.2861",
"0.3333",
"0.3142",
"0.318",
"0.3142"
],
[
"0.44",
"0.2861",
"0.455",
"0.2861",
"0.455",
"0.3154",
"0.44",
"0.3154"
],
[
"0.492",
"0.284",
"0.5205",
"0.284",
"0.5205",
"0.3154",
"0.492",
"0.3154"
],
[
"0.538",
"0.2861",
"0.555",
"0.2861",
"0.555",
"0.3142",
"0.538",
"0.3142"
],
[
"0.6724",
"0.2861",
"0.692",
"0.2861",
"0.692",
"0.2998",
"0.6724",
"0.2998"
],
[
"0.831",
"0.2874",
"0.848",
"0.2874",
"0.848",
"0.3154",
"0.831",
"0.3154"
],
[
"0.378",
"0.2874",
"0.3914",
"0.2874",
"0.3914",
"0.3135",
"0.378",
"0.3135"
],
[
"0.2612",
"0.288",
"0.2737",
"0.2861",
"0.2761",
"0.2944",
"0.2644",
"0.2964"
],
[
"0.7583",
"0.288",
"0.775",
"0.288",
"0.775",
"0.3142",
"0.7583",
"0.3142"
],
[
"0.2644",
"0.2957",
"0.2747",
"0.2957",
"0.2747",
"0.3123",
"0.2644",
"0.3123"
],
[
"0.1545",
"0.2893",
"0.2301",
"0.2893",
"0.2301",
"0.2964",
"0.1545",
"0.2964"
],
[
"0.1511",
"0.2964",
"0.2334",
"0.2964",
"0.2334",
"0.3071",
"0.1511",
"0.3071"
],
[
"0.677",
"0.2976",
"0.6885",
"0.2976",
"0.6885",
"0.3135",
"0.677",
"0.3135"
],
[
"0.147",
"0.3047",
"0.2351",
"0.306",
"0.2351",
"0.3142",
"0.147",
"0.3135"
],
[
"0.157",
"0.3113",
"0.2258",
"0.3135",
"0.2258",
"0.3247",
"0.157",
"0.3225"
],
[
"0.3787",
"0.3113",
"0.388",
"0.3135",
"0.3838",
"0.326",
"0.3745",
"0.3237"
],
[
"0.4954",
"0.3113",
"0.519",
"0.3113",
"0.519",
"0.3433",
"0.4954",
"0.3433"
],
[
"0.4458",
"0.3123",
"0.4568",
"0.3196",
"0.4475",
"0.3247",
"0.4382",
"0.3184"
],
[
"0.2612",
"0.3123",
"0.2778",
"0.3123",
"0.2778",
"0.3416",
"0.2612",
"0.3416"
],
[
"0.3257",
"0.3135",
"0.3333",
"0.3176",
"0.3257",
"0.3247",
"0.318",
"0.3206"
],
[
"0.538",
"0.3135",
"0.555",
"0.3135",
"0.555",
"0.3425",
"0.538",
"0.3425"
],
[
"0.5996",
"0.3135",
"0.614",
"0.3135",
"0.614",
"0.3425",
"0.5996",
"0.3425"
],
[
"0.6733",
"0.3123",
"0.69",
"0.3123",
"0.69",
"0.3425",
"0.6733",
"0.3425"
],
[
"0.7617",
"0.3135",
"0.7734",
"0.3142",
"0.771",
"0.339",
"0.7583",
"0.3384"
],
[
"0.833",
"0.3135",
"0.846",
"0.3135",
"0.846",
"0.3247",
"0.833",
"0.3247"
],
[
"0.1587",
"0.3206",
"0.2258",
"0.3225",
"0.2258",
"0.3342",
"0.1587",
"0.332"
],
[
"0.3745",
"0.3218",
"0.3914",
"0.3218",
"0.3914",
"0.3416",
"0.3745",
"0.3416"
],
[
"0.4375",
"0.3218",
"0.4517",
"0.3196",
"0.4568",
"0.3403",
"0.4417",
"0.3425"
],
[
"0.831",
"0.3218",
"0.848",
"0.3218",
"0.848",
"0.339",
"0.831",
"0.339"
],
[
"0.1621",
"0.332",
"0.2217",
"0.3333",
"0.2217",
"0.3403",
"0.1621",
"0.339"
],
[
"0.3198",
"0.3225",
"0.3315",
"0.3225",
"0.3315",
"0.3403",
"0.3198",
"0.3403"
],
[
"0.3728",
"0.3384",
"0.3938",
"0.3384",
"0.3938",
"0.3508",
"0.3728",
"0.3508"
],
[
"0.596",
"0.3384",
"0.617",
"0.3384",
"0.617",
"0.3508",
"0.596",
"0.3508"
],
[
"0.671",
"0.3384",
"0.693",
"0.3384",
"0.693",
"0.3508",
"0.671",
"0.3508"
],
[
"0.756",
"0.3384",
"0.7793",
"0.3384",
"0.7793",
"0.3508",
"0.756",
"0.3508"
],
[
"0.831",
"0.3384",
"0.854",
"0.3384",
"0.854",
"0.3508",
"0.831",
"0.3508"
],
[
"0.3132",
"0.339",
"0.3376",
"0.339",
"0.3376",
"0.361",
"0.3132",
"0.361"
],
[
"0.1721",
"0.3403",
"0.2141",
"0.3403",
"0.2141",
"0.3508",
"0.1721",
"0.3508"
],
[
"0.2603",
"0.339",
"0.2805",
"0.339",
"0.2805",
"0.3516",
"0.2603",
"0.3516"
],
[
"0.44",
"0.3403",
"0.4568",
"0.3403",
"0.4568",
"0.3499",
"0.44",
"0.3499"
],
[
"0.4963",
"0.3403",
"0.5156",
"0.3403",
"0.5156",
"0.3499",
"0.4963",
"0.3499"
],
[
"0.538",
"0.3403",
"0.5557",
"0.3403",
"0.5557",
"0.3499",
"0.538",
"0.3499"
],
[
"0.596",
"0.3467",
"0.6187",
"0.3467",
"0.6187",
"0.3599",
"0.596",
"0.3599"
],
[
"0.7524",
"0.3457",
"0.7827",
"0.3457",
"0.7827",
"0.379",
"0.7524",
"0.379"
],
[
"0.4375",
"0.3474",
"0.4575",
"0.3474",
"0.4575",
"0.3599",
"0.4375",
"0.3599"
],
[
"0.2603",
"0.3474",
"0.2822",
"0.3474",
"0.2822",
"0.3599",
"0.2603",
"0.3599"
],
[
"0.671",
"0.3474",
"0.6943",
"0.3474",
"0.6943",
"0.3599",
"0.671",
"0.3599"
],
[
"0.8296",
"0.3474",
"0.852",
"0.3474",
"0.852",
"0.3599",
"0.8296",
"0.3599"
],
[
"0.4954",
"0.3486",
"0.517",
"0.3486",
"0.517",
"0.3594",
"0.4954",
"0.3594"
],
[
"0.1738",
"0.3486",
"0.2091",
"0.3486",
"0.2091",
"0.3599",
"0.1738",
"0.3599"
],
[
"0.3745",
"0.3499",
"0.3938",
"0.3499",
"0.3938",
"0.3594",
"0.3745",
"0.3594"
],
[
"0.5366",
"0.3486",
"0.5557",
"0.3486",
"0.5557",
"0.3582",
"0.5366",
"0.3582"
],
[
"0.4937",
"0.3552",
"0.5205",
"0.3552",
"0.5205",
"0.3772",
"0.4937",
"0.3772"
],
[
"0.8286",
"0.3552",
"0.852",
"0.3552",
"0.852",
"0.3772",
"0.8286",
"0.3772"
],
[
"0.3728",
"0.3557",
"0.392",
"0.3557",
"0.392",
"0.376",
"0.3728",
"0.376"
],
[
"0.3167",
"0.3557",
"0.3342",
"0.3557",
"0.3342",
"0.376",
"0.3167",
"0.376"
],
[
"0.4382",
"0.3557",
"0.4568",
"0.3557",
"0.4568",
"0.3772",
"0.4382",
"0.3772"
],
[
"0.5977",
"0.3557",
"0.6187",
"0.3557",
"0.6187",
"0.3777",
"0.5977",
"0.3777"
],
[
"0.6724",
"0.3557",
"0.693",
"0.3557",
"0.693",
"0.3777",
"0.6724",
"0.3777"
],
[
"0.5366",
"0.357",
"0.555",
"0.357",
"0.555",
"0.3772",
"0.5366",
"0.3772"
],
[
"0.1763",
"0.3582",
"0.2083",
"0.3582",
"0.2083",
"0.3665",
"0.1763",
"0.3665"
],
[
"0.2603",
"0.357",
"0.2795",
"0.357",
"0.2795",
"0.376",
"0.2603",
"0.376"
],
[
"0.1427",
"0.364",
"0.241",
"0.3652",
"0.241",
"0.3772",
"0.1427",
"0.376"
],
[
"0.5938",
"0.3718",
"0.623",
"0.3748",
"0.621",
"0.386",
"0.5903",
"0.3843"
],
[
"0.7515",
"0.3718",
"0.7827",
"0.3735",
"0.781",
"0.386",
"0.75",
"0.3843"
],
[
"0.367",
"0.3735",
"0.398",
"0.3735",
"0.398",
"0.3855",
"0.367",
"0.3855"
],
[
"0.3105",
"0.3735",
"0.339",
"0.3735",
"0.339",
"0.3855",
"0.3105",
"0.3855"
],
[
"0.434",
"0.3735",
"0.4626",
"0.3735",
"0.4626",
"0.3855",
"0.434",
"0.3855"
],
[
"0.4902",
"0.3735",
"0.5205",
"0.3735",
"0.5205",
"0.3855",
"0.4902",
"0.3855"
],
[
"0.531",
"0.3735",
"0.561",
"0.3735",
"0.561",
"0.3855",
"0.531",
"0.3855"
],
[
"0.6665",
"0.3735",
"0.6978",
"0.3735",
"0.6978",
"0.3855",
"0.6665",
"0.3855"
],
[
"0.8237",
"0.3735",
"0.86",
"0.3735",
"0.86",
"0.3855",
"0.8237",
"0.3855"
],
[
"0.2527",
"0.376",
"0.2837",
"0.376",
"0.2837",
"0.3843",
"0.2527",
"0.3843"
],
[
"0.1528",
"0.3772",
"0.2301",
"0.3772",
"0.2301",
"0.3843",
"0.1528",
"0.3843"
],
[
"0.4375",
"0.383",
"0.4575",
"0.383",
"0.4575",
"0.3955",
"0.4375",
"0.3955"
],
[
"0.6675",
"0.3843",
"0.6943",
"0.3843",
"0.6943",
"0.3955",
"0.6675",
"0.3955"
],
[
"0.7524",
"0.3843",
"0.7793",
"0.3843",
"0.7793",
"0.3955",
"0.7524",
"0.3955"
],
[
"0.2612",
"0.3855",
"0.2778",
"0.3855",
"0.2778",
"0.3938",
"0.2612",
"0.3938"
],
[
"0.1503",
"0.3818",
"0.2317",
"0.383",
"0.2317",
"0.3943",
"0.1503",
"0.3938"
],
[
"0.3132",
"0.3855",
"0.336",
"0.3855",
"0.336",
"0.3938",
"0.3132",
"0.3938"
],
[
"0.3745",
"0.3855",
"0.3914",
"0.3855",
"0.3914",
"0.3943",
"0.3745",
"0.3943"
],
[
"0.4895",
"0.3855",
"0.5205",
"0.3855",
"0.5205",
"0.3938",
"0.4895",
"0.3938"
],
[
"0.5356",
"0.3855",
"0.5576",
"0.3855",
"0.5576",
"0.3938",
"0.5356",
"0.3938"
],
[
"0.594",
"0.3855",
"0.6187",
"0.3855",
"0.6187",
"0.3938",
"0.594",
"0.3938"
],
[
"0.831",
"0.3855",
"0.8486",
"0.3855",
"0.8486",
"0.3943",
"0.831",
"0.3943"
],
[
"0.1184",
"0.4062",
"0.739",
"0.4062",
"0.739",
"0.4192",
"0.1184",
"0.4192"
],
[
"0.735",
"0.4104",
"0.744",
"0.4104",
"0.744",
"0.415",
"0.735",
"0.415"
],
[
"0.7407",
"0.4067",
"0.882",
"0.4067",
"0.882",
"0.4175",
"0.7407",
"0.4175"
],
[
"0.11755",
"0.4204",
"0.8555",
"0.4204",
"0.8555",
"0.434",
"0.11755",
"0.434"
],
[
"0.126",
"0.4614",
"0.1914",
"0.4614",
"0.1914",
"0.4727",
"0.126",
"0.4727"
],
[
"0.1838",
"0.4614",
"0.4902",
"0.4614",
"0.4902",
"0.4744",
"0.1838",
"0.4744"
],
[
"0.5146",
"0.459",
"0.882",
"0.4602",
"0.882",
"0.4744",
"0.5146",
"0.4739"
],
[
"0.1368",
"0.4768",
"0.4878",
"0.4768",
"0.4878",
"0.4905",
"0.1368",
"0.4905"
],
[
"0.5146",
"0.4768",
"0.882",
"0.4768",
"0.882",
"0.4905",
"0.5146",
"0.4905"
],
[
"0.12177",
"0.4934",
"0.4878",
"0.4934",
"0.4878",
"0.5073",
"0.12177",
"0.5073"
],
[
"0.513",
"0.4912",
"0.8833",
"0.4922",
"0.8833",
"0.5073",
"0.513",
"0.506"
],
[
"0.12006",
"0.509",
"0.4878",
"0.509",
"0.4878",
"0.5225",
"0.12006",
"0.5225"
],
[
"0.5156",
"0.509",
"0.8286",
"0.509",
"0.8286",
"0.5225",
"0.5156",
"0.5225"
],
[
"0.12006",
"0.5254",
"0.4878",
"0.5254",
"0.4878",
"0.539",
"0.12006",
"0.539"
],
[
"0.5146",
"0.536",
"0.5425",
"0.536",
"0.5425",
"0.5474",
"0.5146",
"0.5474"
],
[
"0.559",
"0.535",
"0.771",
"0.535",
"0.771",
"0.549",
"0.559",
"0.549"
],
[
"0.555",
"0.552",
"0.681",
"0.552",
"0.681",
"0.5654",
"0.555",
"0.5654"
],
[
"0.12006",
"0.5405",
"0.3972",
"0.5405",
"0.3972",
"0.5547",
"0.12006",
"0.5547"
],
[
"0.12177",
"0.5693",
"0.1351",
"0.5693",
"0.1351",
"0.579",
"0.12177",
"0.579"
],
[
"0.1528",
"0.568",
"0.4248",
"0.568",
"0.4248",
"0.5806",
"0.1528",
"0.5806"
],
[
"0.5146",
"0.572",
"0.882",
"0.5723",
"0.882",
"0.5874",
"0.5146",
"0.586"
],
[
"0.513",
"0.5884",
"0.881",
"0.5884",
"0.881",
"0.6016",
"0.513",
"0.6016"
],
[
"0.1411",
"0.5723",
"0.1486",
"0.5723",
"0.1486",
"0.576",
"0.1411",
"0.576"
],
[
"0.12177",
"0.5903",
"0.4878",
"0.5903",
"0.4878",
"0.604",
"0.12177",
"0.604"
],
[
"0.12177",
"0.608",
"0.4878",
"0.608",
"0.4878",
"0.6216",
"0.12177",
"0.6216"
],
[
"0.5146",
"0.605",
"0.8833",
"0.605",
"0.8833",
"0.619",
"0.5146",
"0.619"
],
[
"0.12177",
"0.6235",
"0.4878",
"0.6235",
"0.4878",
"0.637",
"0.12177",
"0.637"
],
[
"0.5156",
"0.6206",
"0.8833",
"0.6206",
"0.8833",
"0.6353",
"0.5156",
"0.6353"
],
[
"0.12006",
"0.64",
"0.4878",
"0.64",
"0.4878",
"0.654",
"0.12006",
"0.654"
],
[
"0.513",
"0.6353",
"0.882",
"0.6353",
"0.882",
"0.6494",
"0.513",
"0.6494"
],
[
"0.1184",
"0.6562",
"0.4895",
"0.655",
"0.4895",
"0.6694",
"0.1184",
"0.6704"
],
[
"0.513",
"0.653",
"0.882",
"0.652",
"0.882",
"0.6665",
"0.513",
"0.6675"
],
[
"0.12006",
"0.673",
"0.4878",
"0.673",
"0.4878",
"0.686",
"0.12006",
"0.686"
],
[
"0.5146",
"0.6685",
"0.881",
"0.6685",
"0.881",
"0.6816",
"0.5146",
"0.6816"
],
[
"0.1184",
"0.6885",
"0.4895",
"0.687",
"0.4895",
"0.7017",
"0.1184",
"0.703"
],
[
"0.5146",
"0.685",
"0.8833",
"0.685",
"0.8833",
"0.6997",
"0.5146",
"0.6997"
],
[
"0.1184",
"0.703",
"0.4895",
"0.7036",
"0.4895",
"0.7188",
"0.1184",
"0.7173"
],
[
"0.5146",
"0.7007",
"0.9595",
"0.7007",
"0.9595",
"0.7144",
"0.5146",
"0.7144"
],
[
"0.12006",
"0.7188",
"0.4878",
"0.7197",
"0.4878",
"0.734",
"0.12006",
"0.733"
],
[
"0.513",
"0.7163",
"0.8564",
"0.7173",
"0.8564",
"0.7324",
"0.513",
"0.731"
],
[
"0.12006",
"0.7354",
"0.486",
"0.7354",
"0.486",
"0.749",
"0.12006",
"0.749"
],
[
"0.532",
"0.734",
"0.882",
"0.734",
"0.882",
"0.7476",
"0.532",
"0.7476"
],
[
"0.1184",
"0.7505",
"0.4878",
"0.752",
"0.4878",
"0.7666",
"0.1184",
"0.7656"
],
[
"0.5146",
"0.7505",
"0.608",
"0.752",
"0.608",
"0.763",
"0.5146",
"0.7627"
],
[
"0.6055",
"0.756",
"0.6187",
"0.756",
"0.6187",
"0.7603",
"0.6055",
"0.7603"
],
[
"0.614",
"0.7505",
"0.882",
"0.7505",
"0.882",
"0.764",
"0.614",
"0.764"
],
[
"0.1234",
"0.7686",
"0.3047",
"0.7686",
"0.3047",
"0.782",
"0.1234",
"0.782"
],
[
"0.5156",
"0.7666",
"0.882",
"0.7666",
"0.882",
"0.78",
"0.5156",
"0.78"
],
[
"0.5146",
"0.781",
"0.882",
"0.782",
"0.882",
"0.7964",
"0.5146",
"0.796"
],
[
"0.1184",
"0.7935",
"0.3938",
"0.7935",
"0.3938",
"0.807",
"0.1184",
"0.807"
],
[
"0.513",
"0.7964",
"0.882",
"0.7974",
"0.882",
"0.8125",
"0.513",
"0.811"
],
[
"0.12006",
"0.8135",
"0.486",
"0.8135",
"0.486",
"0.8276",
"0.12006",
"0.8276"
],
[
"0.5156",
"0.814",
"0.882",
"0.814",
"0.882",
"0.8276",
"0.5156",
"0.8276"
],
[
"0.12006",
"0.8306",
"0.4878",
"0.8306",
"0.4878",
"0.844",
"0.12006",
"0.844"
],
[
"0.5156",
"0.8306",
"0.882",
"0.8306",
"0.882",
"0.844",
"0.5156",
"0.844"
],
[
"0.12177",
"0.8467",
"0.4878",
"0.8467",
"0.4878",
"0.861",
"0.12177",
"0.861"
],
[
"0.5156",
"0.8467",
"0.882",
"0.8467",
"0.882",
"0.861",
"0.5156",
"0.861"
],
[
"0.12006",
"0.8633",
"0.4895",
"0.8633",
"0.4895",
"0.877",
"0.12006",
"0.877"
],
[
"0.5146",
"0.8633",
"0.882",
"0.8633",
"0.882",
"0.877",
"0.5146",
"0.877"
],
[
"0.12006",
"0.879",
"0.4895",
"0.879",
"0.4895",
"0.8926",
"0.12006",
"0.8926"
],
[
"0.513",
"0.8774",
"0.8657",
"0.879",
"0.8657",
"0.8936",
"0.513",
"0.8926"
],
[
"0.11755",
"0.8936",
"0.4878",
"0.8945",
"0.4878",
"0.909",
"0.11755",
"0.9077"
],
[
"0.5146",
"0.8945",
"0.882",
"0.8936",
"0.882",
"0.9077",
"0.5146",
"0.909"
]
] | [
"Issue typeSub I",
"DT",
"Whole",
"Wor",
"Type",
"At",
"ntenc",
"",
"Addition",
"Critica",
"Major",
"Major",
"Minor",
"Major",
"Critical",
"ica",
"Major",
"Critica",
"Omission",
"Major",
"Minor",
"Critical",
"Critical",
"Critical",
"",
"",
"绘",
"Critical",
"Critical",
"Critical",
"Critical",
"Minor",
"Inacc Intrinsic",
"Accuracy",
"Critical",
"",
"ritical",
"C",
"Critical",
"Critical",
"N/A",
"Inacc Extrinsic",
"松",
"公",
"Critical",
"",
"N/A",
"Pos Neg Aspect",
"Critical",
"N/A",
"N/A",
"Major",
"Major",
"Minor",
"Fluency",
"Word Order",
"Word Form",
"Minor",
"Minor",
"Minor",
"Minor",
"Minor",
"Minor",
"Major",
"Minor",
"Duplication",
"Major",
"Major",
"Major",
"Major",
"Major",
"Minor",
"Major",
"Table 2: PolyTope for summarization diagnostics. This error matrix avoids subjectivity as human judgers",
"only need to annotate issue types and syntactic labels of each mistake.",
" Severity rules and scores is",
"predefined and automatically calculated, without providing their own preference and scores.",
"Extractive Methods",
"Abstractive Methods",
"Lead-3",
"TextRank",
"BertSumExt",
"PG-Coverage",
"BertSumExtABS",
"BART",
"PG",
"S2S",
"Lot",
"ttom-Up",
"187",
"18.80",
"8",
"33.81",
"ROUGE-1",
"41.11",
"319",
"10.00",
"41.19",
"",
"ROUGE-2",
"41.63",
"19.98",
"1.0",
"13.71",
"19.62",
"20.15",
"35.95",
"38.13",
"36.40",
"26.47",
"29.48",
"35.92",
"35.01",
"36.52",
"34.16",
"35.55",
"ROUGE-L",
"囍",
"口",
"# 6",
"ROUGE-1Rank",
"#2",
"#10",
"# 9",
"-",
"#8",
"#7",
"■",
"Addition",
"125",
"165",
"272",
"329",
"156",
"117",
"143",
"135",
"329",
"b",
"287",
"213",
"115",
"196",
"Omission",
"309",
"193",
"185",
"286",
"256",
"300",
"000",
"000",
"02",
"400",
"68",
"200",
"000",
"0",
"700",
"00",
"Inacc Intrinsic",
"Inace_Extrinsic",
"4:3",
"Pos_Neg_Aspect",
"Word_Order",
"0",
"018",
"不",
"007",
"6",
"008",
"001",
"006",
"013",
"0",
"Word_Form",
"08",
"09",
"2",
"Duplication",
"02",
"191",
"257",
"333",
"213",
"112",
"20",
"Critical",
"192",
"184",
"588",
"284",
"161",
"544",
"170",
"350",
"210",
"140",
"317",
" Major",
"194",
"193",
"180",
"品",
"39",
"20",
"05",
"品",
"",
"80",
"Minor",
"55",
"Errors / 1k Words",
"77.80",
"81.52",
"85.43",
"77.07",
"86.03",
"36.61",
"72.55",
"67.99",
"89.37",
"81.96",
"PolyTopeScore",
"口",
"#9",
"# 5",
"",
"PolyTope Rank",
"#7",
"國",
"#10",
"#8",
"#6",
"國",
"Table 3: ROUGE and PolyTope results on 150 instances from CNN/DM dataset.",
"",
"ROUGE is the F1",
"score with stemming and stopwords not removed, giving the best agreement with human evaluation.",
"Critical",
"1导致内容不适合使用的问题。例如,",
"名第9和第7,仍然与一些抽象神经模型竞争。",
"个省略的主题改变了文本的含义,将被认为",
"不利的一面是,这两种方法显示出最大数量的",
"是关键的。如果错误使读者无法按预期使用内",
"Addition错误,这表明与监督方法相比,无",
"容,或者它提供了可能对用户造成伤害的错误",
"监督方法在过滤无用信息方面相对较弱",
"信息,则必须将其归类为关键。通常,即使是",
"5.2",
"Extractive vs Abstractive",
"Summarization",
"单个严重错误也可能导致严重问题",
"5",
"Evaluating Model Performance",
"在ROUGE上,提取和抽象方法之间没有",
"很大的差距,BART和BertSumExt分别是",
"",
"我们使用上述两个指标对上述10个模型进行",
"评估,重点是前神经和神经方法,提取和抽象",
"顶级的抽象和提取模型。在PolyTope 上,",
"方法之间的比较,以及更好地理解里程碑技",
"作为抽象模型的代表,BART压倒性地优",
"术的效果,例如复制,覆盖,预训练和混合抽",
"于其他模型(p<。01使用t检验)。但",
"象/提取模型。我们从非匿名CNN/DM数据",
"是,不包括BART,提取模型占据了以下",
"集(Hermanmetal.,2015)中随机抽样150个",
"前三名。在类似的设置下,提取方法更好",
"试验。在预测摘要时,我们在原始论文之后选",
"(p???。01使用t检验)与抽象对应物(e。g。",
"择三个句子作为提取模型的摘要,并让算法",
"BertSumExtvsBertSumExtAbs,SummaRuNNervsPoint-",
"自动停止抽象模型,这在大多数情况下也给",
"Generator,Point-Generator-with-Coverage)",
"出三个句子作为解码结果。表3介绍了基于",
"提取模型往往只产生3种类型的错误,即",
"PolyTope和ROUGE的性能。附录C中说明",
"Addition",
"",
"Omission,Duplication,而",
"了支持以下观察的案例",
"抽象模型则产生4至7种类型的错误。相对",
"于Accuracy,提取方法在InaccIntrinsic和",
"5.1 Preneural vs Neural Models",
"Extrinsic方面明显更强,这反映出通过直接",
"在ROUGE-1上,Lead-3在提取模型中排名",
"从源代码复制代码段,可以保证提取方法产生",
"第2,在所有模型中排名第4。在PolyTope",
"具有公平语法性,合理性和忠诚度的摘要。但",
"上,它在提取模型中排名第三,在所有模型",
"是,提取方法在Addition和Omission,中没",
"中排名第四。这表明,即使在神经方法中,简",
"有表现出更强的性能,这是因为提取的句子包",
"单的方法也是一个强大的基线。TextRank在",
"含与要点不直接相关的信息。关于Fluency",
"ROUGE和PolyTope上的所有方法中分别排",
"两种方法通常相互竞争,表明如今的神经模型"
] | {
"arxiv_id": "2010.04529",
"language": "zh",
"page_idx": 4
} |
||
2206.10801-zh-0 | 2206.10801-zh-0.jpg | # Automated Cancer Subtyping via Vector Quantization Mutual Information Maximization
$\mathrm{Zheng~Chen^{\star}1,~Lingwei~Zhu^{\star2},~Ziwei~Yang^{3},~and~Takashi~Matsubara}^{1}$
$\begin{array}{c}\\{^{1}\text{Osaka University, Japan}}\\{^{2}\text{University of Alberta, Canada}}\\{^{3}\text{Nara Institute of Science and Technologv}}\end{array}$
[email protected]
$\mathbf{Abstract.~Cancer~subtyping~is~crucial~for~understanding~the~nature~of}$ tumors and providing suitable therapy. However, existing labelling methods are medically controversial, and have driven the process of subtyping away from teaching signals. Moreover, cancer genetic expression profiles are high-dimensional, scarce, and have complicated dependence, thereby posing a serious challenge to existing subtyping models for outputting sensible clustering. In this study, we propose a novel clustering method for exploiting genetic expression profiles and distinguishing subtypes in an unsupervised manner. The proposed method adaptively learns categorical correspondence from latent representations of expression profiles to the subtypes output by the model. By maximizing the problemagnostic mutual information between input expression profiles and output subtypes, our method can automatically decide a suitable numben of subtypes. Through experiments, we demonstrate that our proposed method can refine existing controversial labels, and, by further medical analysis, this refinement is proven to have a high correlation with cancer survival rates.
$\mathbf{Keywords:~Cancer~Subtypes~\cdot~Information~Maximization~\cdot~Cluster.}$
ing
# 1 Introduction
癌症是迄今为止人类已知的最致命的流行病学疾病之一:考虑最普遍的乳腺癌(发病率 47。8% 全球) 和世界上研究最充分的癌症 [32] , 5 年死亡率仍可达到$13。6\%[1]$。它的异质性被认为是限制靶向治疗疗效和损害治疗结果的关键,因为一些在分子水平上完全不同的肿瘤可能表现出高度相似的形态外观 [22]。来自现代转录组学研究的越来越多的证据支持这样的假设,即每个特定的癌症都由多个类别 (称为癌症亚型)组成[33,4] 。可靠地识别癌症亚型可以显着促进预后和个性化治疗[21] 。然而,目前在癌症界存在激烈的争论:鉴于一种癌症的转录组数据,权威资源认为从不同的角度来看可能存在不同数量的亚型,也就是说,亚型的基准定义正在不断进行校准[12] ,这表明对于大多数癌症,基本事实标签仍然部分不可用,等待更好的定义。在数据科学界,缺乏癌症数据的真实$^{\star}{\mathrm{~indicates~joint~first~authors.}}$ | [
[
"0.267",
"0.1459",
"0.739",
"0.1459",
"0.739",
"0.1635",
"0.267",
"0.1635"
],
[
"0.2279",
"0.1686",
"0.778",
"0.1686",
"0.778",
"0.1831",
"0.2279",
"0.1831"
],
[
"0.255",
"0.214",
"0.7485",
"0.214",
"0.7485",
"0.2291",
"0.255",
"0.2291"
],
[
"0.4102",
"0.2393",
"0.591",
"0.2412",
"0.591",
"0.2556",
"0.4102",
"0.254"
],
[
"0.3906",
"0.252",
"0.6113",
"0.2524",
"0.6113",
"0.2708",
"0.3906",
"0.2695"
],
[
"0.3555",
"0.2664",
"0.6445",
"0.2695",
"0.6445",
"0.2842",
"0.3555",
"0.281"
],
[
"0.4102",
"0.2842",
"0.596",
"0.2842",
"0.596",
"0.2974",
"0.4102",
"0.2974"
],
[
"0.267",
"0.3352",
"0.739",
"0.3352",
"0.739",
"0.3452",
"0.267",
"0.3452"
],
[
"0.2656",
"0.3467",
"0.738",
"0.3467",
"0.738",
"0.3599",
"0.2656",
"0.3599"
],
[
"0.2632",
"0.361",
"0.74",
"0.3623",
"0.74",
"0.3757",
"0.2632",
"0.375"
],
[
"0.2646",
"0.375",
"0.739",
"0.375",
"0.739",
"0.3882",
"0.2646",
"0.3882"
],
[
"0.2656",
"0.3901",
"0.738",
"0.3901",
"0.738",
"0.401",
"0.2656",
"0.401"
],
[
"0.2646",
"0.4028",
"0.739",
"0.4028",
"0.739",
"0.4167",
"0.2646",
"0.4167"
],
[
"0.2656",
"0.4167",
"0.739",
"0.4167",
"0.739",
"0.43",
"0.2656",
"0.43"
],
[
"0.2656",
"0.43",
"0.739",
"0.43",
"0.739",
"0.4443",
"0.2656",
"0.4443"
],
[
"0.2656",
"0.4443",
"0.738",
"0.4443",
"0.738",
"0.4583",
"0.2656",
"0.4583"
],
[
"0.2656",
"0.4583",
"0.739",
"0.4583",
"0.739",
"0.4717",
"0.2656",
"0.4717"
],
[
"0.2656",
"0.473",
"0.738",
"0.473",
"0.738",
"0.486",
"0.2656",
"0.486"
],
[
"0.2646",
"0.486",
"0.739",
"0.486",
"0.739",
"0.5",
"0.2646",
"0.5"
],
[
"0.2656",
"0.5",
"0.739",
"0.5",
"0.739",
"0.513",
"0.2656",
"0.513"
],
[
"0.2646",
"0.5146",
"0.739",
"0.5146",
"0.739",
"0.528",
"0.2646",
"0.528"
],
[
"0.2646",
"0.528",
"0.74",
"0.528",
"0.74",
"0.5415",
"0.2646",
"0.5415"
],
[
"0.2656",
"0.5435",
"0.738",
"0.5435",
"0.738",
"0.5537",
"0.2656",
"0.5537"
],
[
"0.2656",
"0.5566",
"0.357",
"0.5566",
"0.357",
"0.5684",
"0.2656",
"0.5684"
],
[
"0.2632",
"0.5806",
"0.738",
"0.582",
"0.738",
"0.5967",
"0.2632",
"0.595"
],
[
"0.2632",
"0.5977",
"0.2893",
"0.5977",
"0.2893",
"0.6113",
"0.2632",
"0.6113"
],
[
"0.2173",
"0.637",
"0.2524",
"0.637",
"0.2524",
"0.6494",
"0.2173",
"0.6494"
],
[
"0.2507",
"0.637",
"0.3816",
"0.637",
"0.3816",
"0.6514",
"0.2507",
"0.6514"
],
[
"0.2214",
"0.6694",
"0.7837",
"0.6694",
"0.7837",
"0.6797",
"0.2214",
"0.6797"
],
[
"0.2197",
"0.683",
"0.7837",
"0.683",
"0.7837",
"0.6963",
"0.2197",
"0.6963"
],
[
"0.2214",
"0.6997",
"0.7837",
"0.6997",
"0.7837",
"0.7104",
"0.2214",
"0.7104"
],
[
"0.2197",
"0.7134",
"0.785",
"0.7134",
"0.785",
"0.7266",
"0.2197",
"0.7266"
],
[
"0.2222",
"0.73",
"0.785",
"0.73",
"0.785",
"0.7407",
"0.2222",
"0.7407"
],
[
"0.2197",
"0.7437",
"0.785",
"0.7437",
"0.785",
"0.757",
"0.2197",
"0.757"
],
[
"0.2197",
"0.7583",
"0.7837",
"0.7583",
"0.7837",
"0.7715",
"0.2197",
"0.7715"
],
[
"0.2181",
"0.7734",
"0.7837",
"0.7734",
"0.7837",
"0.787",
"0.2181",
"0.787"
],
[
"0.2197",
"0.7886",
"0.7837",
"0.7886",
"0.7837",
"0.802",
"0.2197",
"0.802"
],
[
"0.2181",
"0.8037",
"0.7837",
"0.8037",
"0.7837",
"0.8174",
"0.2181",
"0.8174"
],
[
"0.2197",
"0.8257",
"0.4182",
"0.827",
"0.4182",
"0.8413",
"0.2197",
"0.8403"
]
] | [
"Automated Cancer Subtyping via Vector",
"Quantization Mutual Information Maximization",
"Zheng Chen*1, Lingwei Zhu*2, Ziwei Yang3, and Takashi Matsubaral",
"1 Osaka University, Japan",
"2 University of Alberta, Canada",
"3 Nara Institute of Science and Technology",
"[email protected]",
"Abstract.Cancersubtypingis crucialforunderstandingthenatureof",
"tumors and providing suitable therapy. However, existing labelling meth-",
"ods are medically controversial, and have driven the process of subtyping",
"away from teaching signals. Moreover, cancer genetic expression profiles",
"are high-dimensional, scarce,and have complicated dependence,thereby",
"posing a serious challenge to existing subtyping models for outputting",
"sensible clustering. In this study, we propose a novel clustering method",
"for exploiting genetic expression profiles and distinguishing subtypes in",
"an unsupervised manner. The proposed method adaptively learns cat-",
"egorical correspondence from latent representations of expression pro-",
"files to the subtypes output by the model. By maximizing the problem-",
"agnostic mutual information between input expression profiles and out-",
"put subtypes, our method can automatically decide a suitable number",
"of subtypes. Through experiments, we demonstrate that our proposed",
"method can refine existing controversial labels, and, by further medical",
"analysis,this refinement isproven to havea high correlation with cancer",
"survival rates.",
"Keywords: Cancer SubtypesInformation Maximization Cluster-",
"ing",
"1",
"Introduction",
"癌症是迄今为止人类已知的最致命的流行病学疾病之一:考虑最普遍的乳腺癌",
"(发病率47。8%全球)和世界上研究最充分的癌症[32],5年死亡率仍可达到",
"13。6%111。它的异质性被认为是限制靶向治疗疗效和损害治疗结果的关键,因",
"为一些在分子水平上完全不同的肿瘤可能表现出高度相似的形态外观[22]。来",
"自现代转录组学研究的越来越多的证据支持这样的假设,即每个特定的癌症都",
"由多个类别(称为癌症亚型)组成[33,4。可靠地识别癌症亚型可以显着促进预",
"后和个性化治疗[21]。然而,目前在癌症界存在激烈的争论:鉴于一种癌症的",
"转录组数据,权威资源认为从不同的角度来看可能存在不同数量的亚型,也就是",
"说,亚型的基准定义正在不断进行校准[12],这表明对于大多数癌症,基本事",
"实标签仍然部分不可用,等待更好的定义。在数据科学界,缺乏癌症数据的真实",
"*indicates joint first authors."
] | {
"arxiv_id": "2206.10801",
"language": "zh",
"page_idx": 0
} |
||
2206.10801-zh-1 | 2206.10801-zh-1.jpg | 2 F. Author et al.
情况可以作为一个聚类问题[11]来解决,其中聚类给出了潜在亚型的提示。这种聚类方法主要依赖于数据的质量和合适的表示。现代分型方法通常利用分子转录组表达谱 (简称表达谱), 其由表征癌症特性的遗传和 microRNA (miRNA) 表达组成[26,21] 。但是,在充分利用表达式配置文件的功能方面存在一些困境: - High-dimensionality:the expression profiles are typically of>60,000dimen-
sions; even after typical preprocessing the dimension can still be > 10,000 $\begin{array}{l}{{\dot{\mathrm{Scarcity:cancer~data~are~scarce~and~costly.~Even~for~the~most~well-studied}}}\\{{\mathrm{breast~cancer,~the~largest~public~available~dataset~consists~of~expression~pro-}}}\end{array}}\\\begin{array}{ll}{{\dot{\mathrm{Scarcity:cancer~data~are~scarce~and~costly.~Even~for~the~most~well-s$
files from around only 1500 subjects [30] ;
Dependence: expression profiles have complicated dependence: a specific expression might be under joint control of several genes, and sometimes such the joint regulation can be circular, forming the well-known gene regulation ${\mathrm{network~[10]~.}}$
为了从固有的高维表达式配置文件中提取信息以进行易处理的分组[9],传统方法通过主成分分析 (PCA)或最小绝对收缩和选择算子 (LASSO)[3]的变体对数据进行预处理,以减少数据的维数。然而,具有这种复杂依赖性的表达谱已经被证明在 PCA 和 LASSO [14]中表现不佳,因为许多看似不太突出的特征可以在基因调控网络中发挥重要作用。由于深度学习技术的兴起,最近社区已经看到了利用深度自动编码器 (AEs)或变分 AEs (VAEs)将数据压缩到较低维的潜在空间中的有前途的应用,该空间对潜在的遗传调控[33]进行建模。但是, 具有强大自回归解码器的 VAE 通常会忽略潜在空间[25,8] ,这会冒过拟合 [28] 的风险。此外,假定潜在表示是连续变量(通常是高斯)[18,31],这与固有分类的癌症亚型|5|不一致。因此,这些子类型模型可能具有较差的性能以及泛化能力。除了特征提取之外,另一个问题涉及分组过程本身。给定从表达谱中提取的特征,上述方法通常将基于相似性的聚类算法(例如 K-means)应用于后续分组。但是,此类方法需要对数据进行严格的假设,并且对表示[27]很敏感:必须为数据定义相似性度量 (通常是欧几里得),并找到适当的转换(例如对数变换) 作为信息特征度量和转换的不合适选择会大大降低模型性能。最近,互信息在深度表示学习中作为相似性度量[13,6]的替代品而越来越受欢迎:它是对数据的可逆变换不变的一对变量之间的相关性的唯一度量,因此不需要找到一个正确的表示[20] 。更好的是,如果两个基因共享不止一个信息,那么潜在的机制必须比仅仅打开和关闭更微妙。这种微妙和更一般的依赖关系可以通过互信息[27]来捕获。在本文中,我们提出了一种新颖的,普遍适用的聚类方法,该方法能够充分利用表达谱并输出合理的癌症亚型解决方案。除了以统一和一致的方式解决上述问题外,由于其特殊的体系结构,所提出的方法还具有自动调整组数的有趣特性,这与预先确定组数的现有方法形成了鲜明的对比通过领域知识。在 3 节中介绍建议的体系结构之前,我们总结了我们的贡献如下:
- (Algorithmic) Inspired by recent work, we propose a novel clustering method
vector quantization regularized information maximization (VQ-RIM) for cancer subtyping. VQ-RIM maximizes mutual information in the categorical VQ-VAE model, which results in a combination of VAE reconstruction loss and mutual information loss. (Section 3.2 ) | [
[
"0.2173",
"0.11743",
"0.2688",
"0.11743",
"0.2688",
"0.1288",
"0.2173",
"0.1288"
],
[
"0.2695",
"0.11615",
"0.3774",
"0.11615",
"0.3774",
"0.13",
"0.2695",
"0.13"
],
[
"0.2197",
"0.1483",
"0.785",
"0.1483",
"0.785",
"0.1622",
"0.2197",
"0.1622"
],
[
"0.2214",
"0.1654",
"0.7817",
"0.1654",
"0.7817",
"0.1755",
"0.2214",
"0.1755"
],
[
"0.2214",
"0.1799",
"0.785",
"0.1799",
"0.785",
"0.1901",
"0.2214",
"0.1901"
],
[
"0.2214",
"0.1957",
"0.7837",
"0.1957",
"0.7837",
"0.2058",
"0.2214",
"0.2058"
],
[
"0.2336",
"0.2279",
"0.2443",
"0.2279",
"0.2443",
"0.2317",
"0.2336",
"0.2317"
],
[
"0.246",
"0.2235",
"0.7812",
"0.2235",
"0.7812",
"0.2374",
"0.246",
"0.2374"
],
[
"0.246",
"0.2393",
"0.785",
"0.2393",
"0.785",
"0.2524",
"0.246",
"0.2524"
],
[
"0.2336",
"0.2727",
"0.246",
"0.2727",
"0.246",
"0.279",
"0.2336",
"0.279"
],
[
"0.2427",
"0.2695",
"0.786",
"0.2695",
"0.786",
"0.2827",
"0.2427",
"0.2827"
],
[
"0.2467",
"0.2854",
"0.7817",
"0.2854",
"0.7817",
"0.2986",
"0.2467",
"0.2986"
],
[
"0.2484",
"0.3018",
"0.5474",
"0.3018",
"0.5474",
"0.3125",
"0.2484",
"0.3125"
],
[
"0.2345",
"0.3208",
"0.2443",
"0.3208",
"0.2443",
"0.3245",
"0.2345",
"0.3245"
],
[
"0.2418",
"0.315",
"0.7837",
"0.3164",
"0.7837",
"0.3308",
"0.2418",
"0.33"
],
[
"0.2467",
"0.332",
"0.786",
"0.332",
"0.786",
"0.3452",
"0.2467",
"0.3452"
],
[
"0.246",
"0.3467",
"0.7837",
"0.3467",
"0.7837",
"0.3599",
"0.246",
"0.3599"
],
[
"0.2484",
"0.363",
"0.3381",
"0.363",
"0.3381",
"0.375",
"0.2484",
"0.375"
],
[
"0.2197",
"0.3901",
"0.7837",
"0.3901",
"0.7837",
"0.404",
"0.2197",
"0.404"
],
[
"0.2181",
"0.4028",
"0.7837",
"0.404",
"0.7837",
"0.4185",
"0.2181",
"0.4172"
],
[
"0.2181",
"0.4185",
"0.7817",
"0.4192",
"0.7817",
"0.433",
"0.2181",
"0.432"
],
[
"0.2197",
"0.435",
"0.7837",
"0.435",
"0.7837",
"0.449",
"0.2197",
"0.449"
],
[
"0.2222",
"0.452",
"0.7817",
"0.452",
"0.7817",
"0.4622",
"0.2222",
"0.4622"
],
[
"0.2214",
"0.4666",
"0.7837",
"0.4666",
"0.7837",
"0.4766",
"0.2214",
"0.4766"
],
[
"0.2197",
"0.481",
"0.7837",
"0.481",
"0.7837",
"0.4944",
"0.2197",
"0.4944"
],
[
"0.2214",
"0.4956",
"0.7837",
"0.4956",
"0.7837",
"0.509",
"0.2214",
"0.509"
],
[
"0.2214",
"0.512",
"0.7837",
"0.512",
"0.7837",
"0.523",
"0.2214",
"0.523"
],
[
"0.2197",
"0.526",
"0.7837",
"0.526",
"0.7837",
"0.539",
"0.2197",
"0.539"
],
[
"0.2214",
"0.5415",
"0.7837",
"0.5415",
"0.7837",
"0.5547",
"0.2214",
"0.5547"
],
[
"0.2181",
"0.556",
"0.7837",
"0.556",
"0.7837",
"0.5693",
"0.2181",
"0.5693"
],
[
"0.2197",
"0.571",
"0.7837",
"0.571",
"0.7837",
"0.584",
"0.2197",
"0.584"
],
[
"0.2222",
"0.587",
"0.785",
"0.587",
"0.785",
"0.5977",
"0.2222",
"0.5977"
],
[
"0.2214",
"0.6016",
"0.7837",
"0.6016",
"0.7837",
"0.6157",
"0.2214",
"0.6157"
],
[
"0.2197",
"0.616",
"0.785",
"0.616",
"0.785",
"0.63",
"0.2197",
"0.63"
],
[
"0.2181",
"0.631",
"0.7837",
"0.63",
"0.7837",
"0.643",
"0.2181",
"0.6445"
],
[
"0.2214",
"0.648",
"0.7837",
"0.648",
"0.7837",
"0.6577",
"0.2214",
"0.6577"
],
[
"0.2214",
"0.6636",
"0.7817",
"0.6636",
"0.7817",
"0.674",
"0.2214",
"0.674"
],
[
"0.2214",
"0.677",
"0.785",
"0.677",
"0.785",
"0.69",
"0.2214",
"0.69"
],
[
"0.2197",
"0.6924",
"0.7837",
"0.6924",
"0.7837",
"0.7056",
"0.2197",
"0.7056"
],
[
"0.2197",
"0.7056",
"0.7817",
"0.707",
"0.7817",
"0.72",
"0.2197",
"0.7197"
],
[
"0.2214",
"0.7227",
"0.785",
"0.7227",
"0.785",
"0.7363",
"0.2214",
"0.7363"
],
[
"0.2197",
"0.7373",
"0.687",
"0.7373",
"0.687",
"0.7505",
"0.2197",
"0.7505"
],
[
"0.2279",
"0.7666",
"0.786",
"0.7666",
"0.786",
"0.781",
"0.2279",
"0.781"
],
[
"0.2467",
"0.782",
"0.7837",
"0.782",
"0.7837",
"0.7954",
"0.2467",
"0.7954"
],
[
"0.2484",
"0.7974",
"0.786",
"0.7974",
"0.786",
"0.811",
"0.2484",
"0.811"
],
[
"0.25",
"0.813",
"0.7837",
"0.813",
"0.7837",
"0.8237",
"0.25",
"0.8237"
],
[
"0.2484",
"0.829",
"0.5537",
"0.829",
"0.5537",
"0.839",
"0.2484",
"0.839"
]
] | [
"2",
"F. Author et al.",
"情况可以作为一个聚类问题[11]来解决,其中聚类给出了潜在亚型的提示。这",
"种聚类方法主要依赖于数据的质量和合适的表示。现代分型方法通常利用分子",
"转录组表达谱(简称表达谱),其由表征癌症特性的遗传和microRNA(miRNA)",
"表达组成26.211。但是,在充分利用表达式配置文件的功能方面存在一些困境",
"-",
"High-dimensionality : the expression profiles are typically of > 60, 000 dimen",
"sions; even after typical preprocessing the dimension can still be > 10,o00",
"-",
"Scarcity : cancer data are scarce and costly. Even for the most well-studied",
"breast cancer, the largest public available dataset consists of expression pro",
"filesfromaroundonly1500subjects/30l;",
"",
"Dependence :expression profiles have complicated dependence:a specific",
"expression might be under joint control of several genes, and sometimes such",
"the joint regulation can be circular, forming the well-known gene regulation",
"network[10]",
"为了从固有的高维表达式配置文件中提取信息以进行易处理的分组[9],传统方",
"法通过主成分分析(PCA)或最小绝对收缩和选择算子(LASSO)[3]的变体对",
"数据进行预处理,以减少数据的维数。然而,具有这种复杂依赖性的表达谱已",
"经被证明在PCA和LASSO[14]中表现不佳,因为许多看似不太突出的特征可",
"以在基因调控网络中发挥重要作用。由于深度学习技术的兴起,最近社区已经",
"看到了利用深度自动编码器(AEs)或变分AEs(VAEs)将数据压缩到较低维",
"的潜在空间中的有前途的应用,该空间对潜在的遗传调控[33]进行建模。但是",
"具有强大自回归解码器的VAE通常会忽略潜在空间[25,8],这会冒过拟合[28]",
"的风险。此外,假定潜在表示是连续变量(通常是高斯)11831,这与固有分类",
"的癌症亚型[5]不一致。因此,这些子类型模型可能具有较差的性能以及泛化能",
"力。除了特征提取之外,另一个问题涉及分组过程本身。给定从表达谱中提取的",
"特征,上述方法通常将基于相似性的聚类算法(例如K-means)应用于后续分",
"组。但是,此类方法需要对数据进行严格的假设,并且对表示[27]很敏感:必须",
"为数据定义相似性度量(通常是欧儿单得),并找到适当的转换(例如对数变换)",
"作为信息特征度量和转换的不合适选择会大大降低模型性能。最近,互信息在",
"深度表示学习中作为相似性度量[13,6]的替代品而越来越受欢迎:它是对数据",
"的可逆变换不变的一对变量之间的相关性的唯一度量,因此不需要找到一个正",
"确的表示20。更好的是,如果两个基因共享不止一个信息,那么潜在的机制",
"必须比仅仅打开和关团更微妙。这种微妙和更一般的依赖关系可以通过互信息",
"[27]来捕获。在本文中,我们提出了一种新颖的,普遍适用的聚类方法,该方法",
"能够充分利用表达谱并输出合理的癌症亚型解决方案。除了以统一和一致的方",
"式解决上述问题外,由于其特殊的体系结构,所提出的方法还具有自动调整组",
"数的有趣特性,这与预先确定组数的现有方法形成了鲜明的对比通过领域知识。",
"在3节中介绍建议的体系结构之前,我们总结了我们的贡献如下:",
"- (Algorithmic) Inspired by recent work, we propose a novel clustering method",
"vector quantization regularized information maximization (VQ-RIM) for can-",
"cer subtyping. VQ-RIM maximizes mutual information in the categorical",
"VQ-VAEmodel,whichresultsina combinationofVAEreconstructionloss",
"andmutualinformationloss.(Section3.2)"
] | {
"arxiv_id": "2206.10801",
"language": "zh",
"page_idx": 1
} |
||
2206.10801-zh-2 | 2206.10801-zh-2.jpg | ${\mathrm{Abbreviated~paper~title}}$ 3
(Effective) We compare the clustering results of VQ-RIM against existing ground truth labels (together with controversial labels from the entirety of labels) on different cancer datasets and find that VQ-RIM concords well with the ground truth, which verifes the correctness of VQ-RIM. (Section 4.1 and 4.2 )
-(Medical) Extensive experiments on distinct cancers verify that VQ-RIM
produces subtyping that consistently outperform the controversial labels in terms of enlarged separation of between-group life expectancies. The clearer separation suggests VQ-RIM is capable of better capturing the underlying characteristics of subtypes than controversial labels. We believe such results are far-reaching in providing new insights into the unsettled debate on cancer $\operatorname{subtyping.}($Section 4.2)
2 Related Work
用于子类型化的特征提取。由于癌症数据稀缺,建立适合癌症分型的模型是不平凡的。高维性和数据稀缺性对生成可靠聚类结果的自动化模型提出了巨大挑战[31] 。传统上,这个问题是通过利用经典的降维方法来解决的,比如 PCA [3] 。然而,由于癌症的进展是由大量基因以复杂的方式调节的(它们本身受 miRNA 的控制),蛮力降维可能会有删除信息特征[15]的风险。另一方面,最近流行的基于 AE 的模型[33,21] ,尤其是 VAE, 通过潜在空间[31]中的多维高斯后验分布重建输入来构造特征空间。潜在的后验学习对潜在的因果关系进行建模, 这在癌症亚型背景下对应于对表达谱之间的关系进行建模,例如调节或共表达[33] 。不幸的是,最近的调查显示,具有强大自回归解码器的 VAE 很容易忽略潜在空间。结果,后验可能太简单而无法捕获因果关系;或过于复杂,因此后验分布变得脆弱,并有后验塌陷的风险[2,25] 。此外,高斯后验与固有的分类癌症亚型[5]不一致
在本文中,我们建议利用分类 VQ-VAE 来解决上述问题:(i) VQ-VAE 不会训练其解码器,从而防止了模型忽略了其由过强的解码器引起的潜在特征空间;(ii) VQ-VAE 学习输人表达式配置文件,潜在表示和输出子类型之间的分类对应关系,这在理论上表明具有更好的学习更有用特征的能力。(ii) 分类潜在允许所提出的模型通过插人互信息最大化分类器来自动设置合适数量的组,这对于 VAE 是不可用的。
子类型化的信息最大化。癌症亚型是风险敏感的,因为错误的规格可能会导致不合适的治疗方式。因此,希望聚类对于单个预测应尽可能确定,同时保持子类型尽可能分离[7,11] 。此外,为了允许医学专家的后续分析和进一步调查,希望该方法应该为每个受试者输出概率预测。简而言之,我们可以将对亚型决策边界的要求总结为:(i) 不应过于复杂;(ii) 不应位于人口密集的地方;(iii)应输出概率预测。可以通过信息理论目标将这些要求形式化为最大化输入表达式配置文件和输出子类型 [19,29] 之间的互信息。这样的目标是问题不可知的,变换不变的,并且对于测量变量对之间的关系是唯一的。通过利用这样的目标[27] , 已经显示出优于基于知识的启发式方法的性能 | [
[
"0.5767",
"0.11615",
"0.789",
"0.11615",
"0.789",
"0.13",
"0.5767",
"0.13"
],
[
"0.2279",
"0.1465",
"0.785",
"0.1483",
"0.785",
"0.1635",
"0.2279",
"0.161"
],
[
"0.2467",
"0.1642",
"0.786",
"0.1642",
"0.786",
"0.178",
"0.2467",
"0.178"
],
[
"0.2484",
"0.178",
"0.7837",
"0.178",
"0.7837",
"0.1913",
"0.2484",
"0.1913"
],
[
"0.2467",
"0.1932",
"0.785",
"0.1932",
"0.785",
"0.207",
"0.2467",
"0.207"
],
[
"0.2484",
"0.2102",
"0.282",
"0.2102",
"0.282",
"0.2216",
"0.2484",
"0.2216"
],
[
"0.2279",
"0.2291",
"0.785",
"0.2291",
"0.785",
"0.2424",
"0.2279",
"0.2424"
],
[
"0.246",
"0.2437",
"0.785",
"0.2424",
"0.785",
"0.2568",
"0.246",
"0.2583"
],
[
"0.2484",
"0.26",
"0.7817",
"0.26",
"0.7817",
"0.2708",
"0.2484",
"0.2708"
],
[
"0.2484",
"0.2734",
"0.785",
"0.2734",
"0.785",
"0.2874",
"0.2484",
"0.2874"
],
[
"0.2467",
"0.2886",
"0.786",
"0.2886",
"0.786",
"0.3018",
"0.2467",
"0.3018"
],
[
"0.2467",
"0.3037",
"0.785",
"0.3037",
"0.785",
"0.3176",
"0.2467",
"0.3176"
],
[
"0.2484",
"0.3208",
"0.4167",
"0.3208",
"0.4167",
"0.3308",
"0.2484",
"0.3308"
],
[
"0.2173",
"0.3774",
"0.3945",
"0.3774",
"0.3945",
"0.3926",
"0.2173",
"0.3926"
],
[
"0.2214",
"0.43",
"0.785",
"0.43",
"0.785",
"0.443",
"0.2214",
"0.443"
],
[
"0.2214",
"0.4458",
"0.785",
"0.4458",
"0.785",
"0.459",
"0.2214",
"0.459"
],
[
"0.2214",
"0.4602",
"0.774",
"0.4602",
"0.774",
"0.4734",
"0.2214",
"0.4734"
],
[
"0.7686",
"0.464",
"0.7837",
"0.464",
"0.7837",
"0.4717",
"0.7686",
"0.4717"
],
[
"0.2181",
"0.4749",
"0.785",
"0.4734",
"0.785",
"0.488",
"0.2181",
"0.4893"
],
[
"0.2214",
"0.4905",
"0.785",
"0.4905",
"0.785",
"0.504",
"0.2214",
"0.504"
],
[
"0.2197",
"0.504",
"0.7837",
"0.505",
"0.7837",
"0.5195",
"0.2197",
"0.518"
],
[
"0.2197",
"0.521",
"0.7837",
"0.521",
"0.7837",
"0.534",
"0.2197",
"0.534"
],
[
"0.2222",
"0.537",
"0.7837",
"0.537",
"0.7837",
"0.5474",
"0.2222",
"0.5474"
],
[
"0.2222",
"0.553",
"0.7817",
"0.553",
"0.7817",
"0.563",
"0.2222",
"0.563"
],
[
"0.2181",
"0.565",
"0.7817",
"0.565",
"0.7817",
"0.579",
"0.2181",
"0.579"
],
[
"0.2214",
"0.5835",
"0.7837",
"0.5835",
"0.7837",
"0.5933",
"0.2214",
"0.5933"
],
[
"0.2197",
"0.5967",
"0.3308",
"0.5967",
"0.3308",
"0.61",
"0.2197",
"0.61"
],
[
"0.2427",
"0.6143",
"0.7837",
"0.6143",
"0.7837",
"0.6274",
"0.2427",
"0.6274"
],
[
"0.2222",
"0.632",
"0.7837",
"0.632",
"0.7837",
"0.6426",
"0.2222",
"0.6426"
],
[
"0.2214",
"0.646",
"0.7837",
"0.646",
"0.7837",
"0.659",
"0.2214",
"0.659"
],
[
"0.2214",
"0.662",
"0.7837",
"0.662",
"0.7837",
"0.6724",
"0.2214",
"0.6724"
],
[
"0.2181",
"0.675",
"0.785",
"0.6753",
"0.785",
"0.69",
"0.2181",
"0.6895"
],
[
"0.2197",
"0.6914",
"0.3857",
"0.6914",
"0.3857",
"0.705",
"0.2197",
"0.705"
],
[
"0.2214",
"0.7056",
"0.785",
"0.7056",
"0.785",
"0.7197",
"0.2214",
"0.7197"
],
[
"0.2197",
"0.72",
"0.7837",
"0.72",
"0.7837",
"0.7344",
"0.2197",
"0.7344"
],
[
"0.2214",
"0.7373",
"0.7817",
"0.7373",
"0.7817",
"0.7476",
"0.2214",
"0.7476"
],
[
"0.2181",
"0.7505",
"0.7817",
"0.7505",
"0.7817",
"0.7646",
"0.2181",
"0.7646"
],
[
"0.2214",
"0.7666",
"0.7837",
"0.7666",
"0.7837",
"0.78",
"0.2214",
"0.78"
],
[
"0.2222",
"0.7827",
"0.7817",
"0.7827",
"0.7817",
"0.7935",
"0.2222",
"0.7935"
],
[
"0.2197",
"0.797",
"0.785",
"0.797",
"0.785",
"0.81",
"0.2197",
"0.81"
],
[
"0.2214",
"0.813",
"0.785",
"0.813",
"0.785",
"0.8237",
"0.2214",
"0.8237"
],
[
"0.2197",
"0.827",
"0.546",
"0.827",
"0.546",
"0.8403",
"0.2197",
"0.8403"
]
] | [
"Abbreviated paper title3",
"-(Effective)We compare the clustering results of VQ-RIM against existing",
"ground truth labels (together with controversial labels from the entirety of",
"labels) on different cancer datasets and find that VQ-RIM concords well with",
"the ground truth, which verifies the correctness of VQ-RIM. (Section 4.1 and",
"4.2)",
"- (Medical) Extensive experiments on distinct cancers verify that VQ-RIM",
"produces subtyping that consistently outperform the controversial labels in",
"termsofenlargedseparationofbetween-grouplifeexpectancies.Theclearer",
"separation suggests VQ-RIM is capable of better capturing the underlying",
"characteristics of subtypes than controversial labels. We believe such results",
"are far-reaching in providing new insights into the unsettled debate on cancer",
"subtyping.(Section4.2)",
"2Related Work",
"用于子类型化的特征提取。由于癌症数据稀缺,建立适合癌症分型的模型是不平",
"凡的。高维性和数据稀缺性对生成可靠聚类结果的自动化模型提出了巨大挑战",
"[31]。传统上,这个问题是通过利用经典的降维方法来解决的,比如PCA[3]",
"",
"然而,由于癌症的进展是由大量基因以复杂的方式调节的(它们本身受miRNA",
"的控制),蛮力降维可能会有删除信息特征[15]的风险。。另一方面,最近流行",
"的基于AE的模型[33,21],尤其是VAE,通过潜在空间[31]中的多维高斯后",
"验分布重建输人来构造特征空间。潜在的后验学习对潜在的因果关系进行建模",
"这在癌症亚型背景下对应于对表达谱之间的关系进行建模,例如调节或共表达",
"33。不幸的是,最近的调香显示,具有强天自回归解码器的VAE很容易忽略",
"潜在空间。结果,后验可能太简单而无法捕获因果关系;或过于复杂,因此后验",
"分布变得脆弱,并有后验塌陷的风险2,25。此外,高斯后验与固有的分类癌症",
"亚型[5]不一致",
"在本文中,我们建议利用分类VQ-VAE来解决上述问题:(i)VQ-VAE不",
"会训练其解码器,从而防正了模型忽略了其由过强的解码器引起的潜在特征空",
"间;(i)VQ-VAE学习输入表达式配置文件,潜在表示和输出子类型之间的分",
"类对应关系,这在理论上表明具有更好的学习更有用特征的能力。(ii)分类潜在",
"允许所提出的模型通过插入互信息最大化分类器来自动设置合适数量的组,这",
"对于VAE是不可用的。",
"子类型化的信息最大化。癌症亚型是风险敏感的,因为错误的规格可能会导致",
"不合适的治疗方式。因此,希望聚类对于单个预测应尽可能确定,同时保持子类",
"型尽可能分离711!。此外,为了充许医学专家的后续分析和进一步调查,希望",
"该方法应该为每个受试者输出概率预测。简而言之,我们可以将对亚型决策边",
"界的要求总结为:(i)不应过于复杂;(ii)不应位于人口密集的地方;(i)应输",
"出概率预测。可以通过信息理论自标将这些要求形式化为最大化输入表达式配",
"置文件和输出子类型[19,29]之间的互信息。这样的目标是问题不可知的,变换",
"不变的,并且对于测量变量对之间的关系是唯一的。通过利用这样的自标27",
"已经显示出优于基于知识的启发式方法的性能"
] | {
"arxiv_id": "2206.10801",
"language": "zh",
"page_idx": 2
} |
||
2206.10801-zh-3 | 2206.10801-zh-3.jpg | 4 F. Author et al.
# 3 Method
# 3.1 Problem Setting
令$\mathcal{X}$为数据集$\mathcal{X}=\{x_1,\ldots,x_N\}$ ,其中$\boldsymbol{x}_i\in\mathbb{R}^d,1\leq i\leq N$是由癌症表达谱组成的$d$维载体。对于给定的$x$ ,我们的目标在于确定给定$x$的合适的癌症亚型$y\in \{ 1, 2, \ldots , K\}$ ,其中$K$不是预先固定的 ,需要自动确定。诸如$y=1,\ldots,K$ 之类的数值本身不具有任何医学解释,并且由于基础数据而简单地表示不同的表示。值得注意的是,虽然可以使用标签集$\mathcal{Y}$ ,但它包含一小部分经过医学验证的真实标签$\mathcal{Y}_gt:=\{y_{gt}\}$ ,以及大部分有争议的标签$\mathcal{Y}_c:=\{y_c\}$和$\mathcal{Y}_gt=\mathcal{Y}\backslash\mathcal{Y}_c$ 。我们的方法是将所提出方法的聚类结果$y$与地面实况标签$y_gt$进行比较,以查看它们是否一致,作为验证的第一步。然后,我们将$y$与有争议的标签$y_c$进行比较,并进行了广泛的实验,以验证所提出的方法在$y_c$给出的子类型上实现了改进。我们的目标是无监督地学习输出条件概率$P(y|\boldsymbol{x},D)$的判别分类器$D$ 。当然,预计$\sum_k=1^KP(y=k|\boldsymbol{x},D)=1$和我们希望$D$是概率性的,因此可以量化与分配数据项相关的不确定性。在[28]之后,我们假设所有$k$的边际类分布$P(y|D)$接近先前的$P(y)$ 。但是,与先前的工作[19,28]不同,由于数据中子类型的不平衡,我们不假设$\chi$中每个类的示例数量均匀分布
## 3.2 Proposed Model
Information Maximization. 给定主题$x$的表达谱,鉴别器输出$K$维概率logit 向量$D(x)\in\mathbb{R}^K$ 。$x$属于任何$K$子类型的概率由 softmax参数化给出:
$$P(y=k|\boldsymbol{x},D)=\frac{e^{D_k(\boldsymbol{x})}}{\sum_{k=1}^Ke^{D_k(\boldsymbol{x})}},$$
其中$D_k(x)$表示向量$D(x)$的第$k$个条目。让我们放弃对$D$的依赖,以获得整洁的表示法。自然希望个体预测尽可能确定,而预测的亚型之间的距离尽可能大。这种考虑可以通过输人表达式配置文件和输出预测标签之间的互信息有效地反映出来。本质上,互信息可以分解为以下两项:
$$\hat{I}(\boldsymbol{x},y):=-\underbrace{\sum_{k=1}^{K}P(y=k)\log P(y=k)}_{\widehat{\mathcal{H}}(P(y))}+\underbrace{\alpha\sum_{i=1}^{N}\frac{1}{N}\sum_{k=1}^{K}P(y=k|\boldsymbol{x}_{i})\log P(y=k|\boldsymbol{x}_{i})}_{-\widehat{\mathcal{H}}(P(y|\mathcal{X}))}.$$
,它们是标签$\widehat{\mathcal{H}}\left(P(y=k)\right)$的边际熵和由 $N$ 蒙特卡洛样本 $x_i,i\in\{1,\ldots,N\}$ 近似的条件熵$\widehat{\mathcal{H}}\left(P(y|\mathcal{X})\right)$。$\alpha$是用于加权贡献的可调参数,设置$\alpha=1$恢复标准互信息公式[19] 。该公式构成了所提出方法的正则化信息最大化 (RIM)部分。。正则化效果可以从下面看出:
$\cdot$ Conditional entropy $\widehat{\mathcal{H}}\left(P(y|\mathcal{X})\right)$ encourages confident prediction by minimiz-
ing uncertainty. It effectively captures the modeling principles that decision
boundaries should not be located at dense population of data [11]. | [
[
"0.2239",
"0.113",
"0.2345",
"0.1206",
"0.2239",
"0.1307",
"0.2133",
"0.1237"
],
[
"0.273",
"0.11615",
"0.3774",
"0.11615",
"0.3774",
"0.1288",
"0.273",
"0.1288"
],
[
"0.2157",
"0.1465",
"0.259",
"0.1465",
"0.259",
"0.1622",
"0.2157",
"0.1622"
],
[
"0.2566",
"0.1465",
"0.3367",
"0.1465",
"0.3367",
"0.161",
"0.2566",
"0.161"
],
[
"0.2173",
"0.178",
"0.2695",
"0.178",
"0.2695",
"0.1925",
"0.2173",
"0.1925"
],
[
"0.2632",
"0.1768",
"0.4043",
"0.1787",
"0.4043",
"0.1932",
"0.2632",
"0.1913"
],
[
"0.2214",
"0.2052",
"0.7837",
"0.2052",
"0.7837",
"0.2197",
"0.2214",
"0.2197"
],
[
"0.2214",
"0.2197",
"0.785",
"0.2197",
"0.785",
"0.2329",
"0.2214",
"0.2329"
],
[
"0.2197",
"0.2349",
"0.7837",
"0.2349",
"0.7837",
"0.2488",
"0.2197",
"0.2488"
],
[
"0.2214",
"0.25",
"0.7837",
"0.25",
"0.7837",
"0.2632",
"0.2214",
"0.2632"
],
[
"0.2214",
"0.2644",
"0.785",
"0.2644",
"0.785",
"0.2778",
"0.2214",
"0.2778"
],
[
"0.2197",
"0.2798",
"0.7837",
"0.2798",
"0.7837",
"0.2935",
"0.2197",
"0.2935"
],
[
"0.2255",
"0.2998",
"0.2378",
"0.2998",
"0.2378",
"0.3062",
"0.2255",
"0.3062"
],
[
"0.232",
"0.2942",
"0.785",
"0.2942",
"0.785",
"0.3093",
"0.232",
"0.3093"
],
[
"0.2197",
"0.31",
"0.785",
"0.31",
"0.785",
"0.324",
"0.2197",
"0.324"
],
[
"0.2181",
"0.3257",
"0.785",
"0.3257",
"0.785",
"0.339",
"0.2181",
"0.339"
],
[
"0.2222",
"0.3403",
"0.785",
"0.3403",
"0.785",
"0.3542",
"0.2222",
"0.3542"
],
[
"0.2197",
"0.356",
"0.785",
"0.3567",
"0.785",
"0.3706",
"0.2197",
"0.3694"
],
[
"0.2181",
"0.3706",
"0.785",
"0.3718",
"0.785",
"0.3865",
"0.2181",
"0.385"
],
[
"0.2197",
"0.387",
"0.785",
"0.387",
"0.785",
"0.401",
"0.2197",
"0.401"
],
[
"0.2173",
"0.4016",
"0.634",
"0.4016",
"0.634",
"0.4153",
"0.2173",
"0.4153"
],
[
"0.2181",
"0.4414",
"0.2688",
"0.4414",
"0.2688",
"0.4526",
"0.2181",
"0.4526"
],
[
"0.267",
"0.44",
"0.4043",
"0.44",
"0.4043",
"0.4539",
"0.267",
"0.4539"
],
[
"0.2239",
"0.4653",
"0.785",
"0.4653",
"0.785",
"0.4792",
"0.2239",
"0.4792"
],
[
"0.2181",
"0.481",
"0.7754",
"0.481",
"0.7754",
"0.4944",
"0.2181",
"0.4944"
],
[
"0.535",
"0.5083",
"0.5825",
"0.504",
"0.585",
"0.518",
"0.5376",
"0.523"
],
[
"0.3906",
"0.518",
"0.5073",
"0.518",
"0.5073",
"0.5327",
"0.3906",
"0.5327"
],
[
"0.513",
"0.5244",
"0.614",
"0.523",
"0.614",
"0.5454",
"0.513",
"0.5474"
],
[
"0.5293",
"0.529",
"0.544",
"0.529",
"0.544",
"0.5327",
"0.5293",
"0.5327"
],
[
"0.2197",
"0.5566",
"0.785",
"0.5566",
"0.785",
"0.571",
"0.2197",
"0.571"
],
[
"0.2197",
"0.5713",
"0.785",
"0.5713",
"0.785",
"0.5854",
"0.2197",
"0.5854"
],
[
"0.2197",
"0.586",
"0.785",
"0.586",
"0.785",
"0.5996",
"0.2197",
"0.5996"
],
[
"0.2181",
"0.6016",
"0.585",
"0.6016",
"0.585",
"0.6157",
"0.2181",
"0.6157"
],
[
"0.2852",
"0.616",
"0.8037",
"0.6123",
"0.8037",
"0.6655",
"0.2852",
"0.6694"
],
[
"0.308",
"0.6274",
"0.3228",
"0.6274",
"0.3228",
"0.638",
"0.308",
"0.638"
],
[
"0.5596",
"0.63",
"0.5767",
"0.63",
"0.5767",
"0.638",
"0.5596",
"0.638"
],
[
"0.2181",
"0.6396",
"0.308",
"0.6426",
"0.308",
"0.657",
"0.2181",
"0.654"
],
[
"0.5254",
"0.6484",
"0.5728",
"0.6465",
"0.574",
"0.662",
"0.527",
"0.664"
],
[
"0.2917",
"0.6577",
"0.327",
"0.655",
"0.33",
"0.6704",
"0.2932",
"0.6724"
],
[
"0.5073",
"0.661",
"0.535",
"0.655",
"0.539",
"0.6665",
"0.511",
"0.6724"
],
[
"0.55",
"0.6577",
"0.581",
"0.6577",
"0.581",
"0.6694",
"0.55",
"0.6694"
],
[
"0.3586",
"0.6753",
"0.4102",
"0.6787",
"0.4084",
"0.6943",
"0.357",
"0.6914"
],
[
"0.6094",
"0.677",
"0.6846",
"0.6787",
"0.6846",
"0.6934",
"0.6094",
"0.6914"
],
[
"0.763",
"0.6934",
"0.786",
"0.6934",
"0.786",
"0.707",
"0.763",
"0.707"
],
[
"0.2345",
"0.7227",
"0.785",
"0.7227",
"0.785",
"0.7373",
"0.2345",
"0.7373"
],
[
"0.2197",
"0.7407",
"0.785",
"0.7407",
"0.785",
"0.755",
"0.2197",
"0.755"
],
[
"0.2197",
"0.756",
"0.786",
"0.756",
"0.786",
"0.7695",
"0.2197",
"0.7695"
],
[
"0.2214",
"0.773",
"0.4631",
"0.773",
"0.4631",
"0.7827",
"0.2214",
"0.7827"
],
[
"0.2279",
"0.7954",
"0.7817",
"0.7954",
"0.7817",
"0.81",
"0.2279",
"0.81"
],
[
"0.2467",
"0.811",
"0.785",
"0.811",
"0.785",
"0.8257",
"0.2467",
"0.8257"
],
[
"0.2467",
"0.827",
"0.728",
"0.827",
"0.728",
"0.8403",
"0.2467",
"0.8403"
]
] | [
"N",
"F. Author et al.",
"3",
"Method",
"3.1",
"Problem Setting",
"令为数据集={ai,.,a},其中a,ERd,1≤i≤N是由癌症表达谱组",
"成的d维载体。对于给定的&,我们的目标在于确定给定&的合适的癌症亚型",
"yE{1,2,..,K},其中K不是预先固定的,需要自动确定。诸如y=1,..,K",
"之类的数值本身不具有任何医学解释,并且由于基础数据而简单地表示不同的",
"表示。值得注意的是,虽然可以使用标签集,但它包含一小部分经过医学验证",
"的真实标签Vgt=(ygt},以及大部分有争议的标签V={y}和Vgt=y",
"",
"我们的方法是将所提出方法的聚类结果y与地面实况标签9gt进行比较,以",
"查看它们是否一致,作为验证的第一步。然后,我们将y与有争议的标签c进",
"行比较,并进行了广泛的实验,以验证所提出的方法在9给出的子类型上实现",
"了改进。我们的目标是无监督地学习输出条件概率P(ya,D)的判别分类器D。",
"当然,预计kP(y=ka,D)=1和我们希望D是概率性的,因此可以量",
"化与分配数据项相关的不确定性。在[28]之后,我们假设所有k的边际类分布",
"P(y|D)接近先前的P(y)。但是,与先前的工作[19,28]不同,由于数据中子类",
"型的不平衡,我们不假设中每个类的示例数量均匀分布",
"3.2",
"Proposed Model",
"InformationMaximization.给定主题a的表达谱,鉴别器输出K维概率",
"logit向量D(α)ERK。a属于任何K子类型的概率由softmax参数化给出:",
"eDk(ae)",
"P(y = ka, D) =",
"Zk-1eDk(am),",
"3K",
"其中Dk(α)表示向量D(aα)的第k个条目。让我们放弃对D的依赖,以获得整",
"洁的表示法。自然希望个体预测尽可能确定,而预测的亚型之间的距离尽可能",
"大。这种考虑可以通过输入表达式配置文件和输出预测标签之间的互信息有效",
"地反映出来。本质上,互信息可以分解为以下两项:",
"+",
"K",
"K",
"i(α,y):=-",
"NZ",
"k=1",
"=1",
"k=1",
"R(P()",
"-H(P(y|X)",
"(1)",
"它们是标签H(P(y=k))的边际和由N蒙特卡洛样本ci,iE{1,..,N)",
"近似的条件炳H(P(ylX))。α是用于加权贡献的可调参数,设置α=1恢复标",
"准互信息公式[19]。该公式构成了所提出方法的正则化信息最大化(RIM)部",
"分。。正则化效果可以从下面看出:",
": Conditional entropy H (P(ylx)) encourages confident prediction by minimiz",
"ing uncertainty. It effectively captures the modeling principles that decision",
"boundaries should not be located at dense population of data [11] ."
] | {
"arxiv_id": "2206.10801",
"language": "zh",
"page_idx": 3
} |
||
2206.10801-zh-4 | 2206.10801-zh-4.jpg | Abbreviated paper title 5
$\cdot$ Marginal entropy $\widehat{\mathcal{H}}\left(P(y)\right)$ aims to separate the subtypes as far as possi-
ble. Intuitively, it attempts to keep the subtypes uniform . Maximizing only $\widehat{\mathcal{H}}\left(P(y|\mathcal{X})\right)\stackrel{\text{(-1)}}{\operatorname*{\operatorname*{\text{tends to produce degenerate solutions by removing subtypes}}}}$ [6,19] , hence $\widehat{\mathcal{H}}\left(P(y)\right)$ serves as an effective regularization for ensuring non- ${\mathrm{trivial~solutions.}}$
Categorical Latents Generative Feature Extraction. 最近的研究表明, 仅执行 RIM 通常不足以获得稳定且明智的聚类解决方案 [6,20,28] : 判别方法容易过度拟合数据中的虚假相关性,例如。g。,表达式配置文件中的某些条目$A$ 可能似乎可以直接控制某些其他条目$B$ 。该模型可能会得出结论,$B$的出现显示了$A$的积极证据。但是,由于存在复杂的生物学功能通道,这种关系通常是不正确的:这种途径在$A$和$B$ [24] 之间具有复杂的 (有时是循环的)依赖性。由于判别方法对$P(y|\boldsymbol{x})$进行建模,而不是对数据生成机制$P( \boldsymbol{x})$ (和联合分布$P(\boldsymbol{x},y)$ )[11]进行建模,因此仅利用判别器可能无法有效地捕获基因和 miRNA 之间的这种依赖性,尤其是考虑到数据稀缺和高维的问题
通常引入明确捕获$P(x)$中的特征的生成模型,作为利用基于 RIM 的方法[13,23,28]的救援。这些方法突出了使用 VAE 对输人$\mathcal{X}$的潜在特征空间进行建模:给定输入$x$ , VAE 尝试将其压缩为较低维的潜在$z$ ,并从$z$重建$\tilde{x}$ 。最近,人们对利用 VAE 进行[31,33]亚型癌症进行了积极的研究。。然而,现有文献利用连续潜伏期 (通常是高斯)来获得易处理性,这与固有的分类癌症亚型不一致。此外,VAE 经常忽略延迟,这意味着提取的特征空间是必不可少的,并且再次冒着过拟合[2]的风险
我们利用最近的矢量量化变分自动编码器(VQ-VAE)[25]作为建议体系结构的生成部分。VQ-VAE 的分类潜伏期不仅适用于对固有的分类癌症亚型进行建模,而且避免了上述潜在的忽略问题[18]。在 VQ-VAE 中,潜在嵌人空间定义为$\{e_i\}\in\mathbb{R}^{M\times l}$,其中$M$表示嵌入向量的数量,因此是$M$方式的分类分布。$l<d$是每个潜在嵌人向量$e_i,i\in\{1,\ldots,M\}$的维数。VQ-VAE 通过在嵌人向量$e_i$中执行最近邻搜索,通过其编码器$z_e(x)$将输人$x$映射到潜在变量$z$ ,并通过其解码器$z_q$输出重构向量$\tilde{x}$ 。VQ-VAE 输出确定性后验分布$q$ ,使得
$$q(\boldsymbol z=k|\boldsymbol x)=\begin{cases}1,&\text{if}k=\arg\min_j\left\|z_e(\boldsymbol x)-e_j\right\|_2^2\\0,&\text{otherwise}\end{cases}$$
(2)
解码器不具有梯度,并且通过从编码器复制梯度来训练。解码器的最终输出是
对数后验概率$\log P(x|\boldsymbol{z}_q)$ ,它是重建损失的一部分
$\textbf{Architecture and Optimization. 我 们 提 出 了 一 种 用 于 聚 类 表 达 谱 的 新 颖 }$ 模型,如图 1 所示。该模型由一个表示为$D$的鉴别器和一个生成器$G$组成,该鉴别器最大化了互信息,该生成器旨在通过对$\{e_i\}$跨越的分类潜在特征空间进行建模来重建输人。$D$和$G$通过潜在嵌人$z$深度耦合,这是由于 VQ-VAE 的解码器不具有梯度,因此嵌人空间可以仅由编码器和鉴别器控制。在先前的工作中,生成器通常在结构上独立于鉴别器,并且仅通过损失函数[13,20,28]弱相关。 | [
[
"0.5767",
"0.11615",
"0.7363",
"0.11615",
"0.7363",
"0.13",
"0.5767",
"0.13"
],
[
"0.7295",
"0.11743",
"0.7876",
"0.11743",
"0.7876",
"0.1288",
"0.7295",
"0.1288"
],
[
"0.2239",
"0.1459",
"0.785",
"0.1465",
"0.785",
"0.1642",
"0.2239",
"0.1635"
],
[
"0.2467",
"0.1642",
"0.785",
"0.1642",
"0.785",
"0.178",
"0.2467",
"0.178"
],
[
"0.2467",
"0.1768",
"0.785",
"0.1787",
"0.785",
"0.1932",
"0.2467",
"0.1913"
],
[
"0.2467",
"0.1945",
"0.7837",
"0.1957",
"0.7837",
"0.2102",
"0.2467",
"0.209"
],
[
"0.246",
"0.209",
"0.3628",
"0.2102",
"0.3628",
"0.2247",
"0.246",
"0.2235"
],
[
"0.2263",
"0.26",
"0.785",
"0.26",
"0.785",
"0.2734",
"0.2263",
"0.2734"
],
[
"0.2214",
"0.276",
"0.7837",
"0.276",
"0.7837",
"0.289",
"0.2214",
"0.289"
],
[
"0.2214",
"0.2917",
"0.785",
"0.2917",
"0.785",
"0.3062",
"0.2214",
"0.3062"
],
[
"0.2214",
"0.3062",
"0.7837",
"0.3062",
"0.7837",
"0.3193",
"0.2214",
"0.3193"
],
[
"0.2222",
"0.3225",
"0.7837",
"0.3225",
"0.7837",
"0.3333",
"0.2222",
"0.3333"
],
[
"0.2214",
"0.336",
"0.7837",
"0.336",
"0.7837",
"0.3499",
"0.2214",
"0.3499"
],
[
"0.2214",
"0.351",
"0.7837",
"0.351",
"0.7837",
"0.3643",
"0.2214",
"0.3643"
],
[
"0.2214",
"0.3662",
"0.7837",
"0.3662",
"0.7837",
"0.3801",
"0.2214",
"0.3801"
],
[
"0.2181",
"0.3801",
"0.6274",
"0.3806",
"0.6274",
"0.3945",
"0.2181",
"0.3933"
],
[
"0.2427",
"0.3984",
"0.7817",
"0.3984",
"0.7817",
"0.4124",
"0.2427",
"0.4124"
],
[
"0.2214",
"0.4136",
"0.785",
"0.4136",
"0.785",
"0.428",
"0.2214",
"0.428"
],
[
"0.2181",
"0.4287",
"0.7837",
"0.4287",
"0.7837",
"0.4426",
"0.2181",
"0.4426"
],
[
"0.2181",
"0.4426",
"0.785",
"0.443",
"0.785",
"0.4583",
"0.2181",
"0.457"
],
[
"0.2214",
"0.461",
"0.7817",
"0.461",
"0.7817",
"0.4717",
"0.2214",
"0.4717"
],
[
"0.2263",
"0.4749",
"0.7837",
"0.4749",
"0.7837",
"0.488",
"0.2263",
"0.488"
],
[
"0.2214",
"0.4912",
"0.4265",
"0.4912",
"0.4265",
"0.502",
"0.2214",
"0.502"
],
[
"0.246",
"0.5083",
"0.7837",
"0.5083",
"0.7837",
"0.518",
"0.246",
"0.518"
],
[
"0.2197",
"0.5215",
"0.785",
"0.5215",
"0.785",
"0.535",
"0.2197",
"0.535"
],
[
"0.2197",
"0.537",
"0.7837",
"0.537",
"0.7837",
"0.5503",
"0.2197",
"0.5503"
],
[
"0.2214",
"0.5503",
"0.7837",
"0.5503",
"0.7837",
"0.565",
"0.2214",
"0.565"
],
[
"0.2197",
"0.5674",
"0.7837",
"0.5674",
"0.7837",
"0.5806",
"0.2197",
"0.5806"
],
[
"0.2197",
"0.5835",
"0.7837",
"0.5835",
"0.7837",
"0.5967",
"0.2197",
"0.5967"
],
[
"0.2181",
"0.5967",
"0.763",
"0.5977",
"0.763",
"0.6123",
"0.2181",
"0.6113"
],
[
"0.4224",
"0.63",
"0.6772",
"0.631",
"0.6772",
"0.6484",
"0.4224",
"0.648"
],
[
"0.326",
"0.6426",
"0.4224",
"0.64",
"0.4224",
"0.655",
"0.326",
"0.657"
],
[
"0.7646",
"0.6426",
"0.785",
"0.6426",
"0.785",
"0.657",
"0.7646",
"0.657"
],
[
"0.4265",
"0.651",
"0.539",
"0.648",
"0.539",
"0.6636",
"0.4265",
"0.6665"
],
[
"0.2181",
"0.685",
"0.7817",
"0.685",
"0.7817",
"0.6987",
"0.2181",
"0.6987"
],
[
"0.2197",
"0.702",
"0.5864",
"0.702",
"0.5864",
"0.7153",
"0.2197",
"0.7153"
],
[
"0.2263",
"0.75",
"0.785",
"0.7505",
"0.785",
"0.765",
"0.2263",
"0.7646"
],
[
"0.2214",
"0.7666",
"0.7837",
"0.7666",
"0.7837",
"0.78",
"0.2214",
"0.78"
],
[
"0.2181",
"0.78",
"0.7837",
"0.781",
"0.7837",
"0.7944",
"0.2181",
"0.7935"
],
[
"0.2197",
"0.797",
"0.7837",
"0.797",
"0.7837",
"0.81",
"0.2197",
"0.81"
],
[
"0.2214",
"0.813",
"0.7817",
"0.813",
"0.7817",
"0.8237",
"0.2214",
"0.8237"
],
[
"0.2214",
"0.827",
"0.785",
"0.827",
"0.785",
"0.8403",
"0.2214",
"0.8403"
]
] | [
"Abbreviated paper title",
"5",
": Marginal entropy H(P(y) aims to separate the subtypes as far as possi-",
"ble. Intuitively, it attempts to keep the subtypes uniform . Maximizing only",
"H (P(ylx)) tends to produce degenerate solutions by removing subtypes",
"[6,19] , hence H (P(y)) serves as an effective regularization for ensuring non",
"trivial solutions.",
"CategoricalLatentsGenerativeFeatureExtraction.最近的研究表明,",
"仅执行RIM通常不足以获得稳定且明智的聚类解决方案[6,20,28]:判别方法容",
"易过度拟合数据中的虚假相关性,例如。g。,表达式配置文件中的某些条目A",
"可能似乎可以直接控制某些其他条目B。该模型可能会得出结论,B的出现显",
"示了A的积极证据。但是,由于存在复杂的生物学功能通道,这种关系通常是",
"不正确的:这种途径在A和B[24]之间具有复杂的(有时是循环的)依赖性。",
"由于判别方法对P(ya)进行建模,而不是对数据生成机制P(α)(和联合分布",
"Pa,y))[11]进行建模,因此仅利用判别器可能无法有效地捕获基因和miRNA",
"之间的这种依赖性,尤其是考虑到数据稀缺和高维的问题",
"通常引人明确捕获P(α)中的特征的生成模型,作为利用基于RIM的方法",
"[13,23,28]的救援。这些方法突出了使用VAE对输入X的潜在特征空间进行建",
"模:给定输人&,VAE尝试将其压缩为较低维的潜在z,并从重建。最",
"近,人们对利用VAE进行[31,33]亚型癌症进行了积极的研究。。然而,现有文",
"献利用连续潜伏期(通常是高斯)来获得易处理性,这与固有的分类癌症亚型不",
"一致。此外,VAE经常忽略延迟,这意味着提取的特征空间是必不可少的,并",
"且再次冒着过拟合2的风险",
"我们利用最近的关量量化变分自动编码器(VQ-VAE)25作为建议体系结",
"构的生成部分。VQ-VAE的分类潜伏期不仅适用于对固有的分类癌症亚型进行",
"建模,而且避免了上述潜在的忽略问题[18]。在VQ-VAE中,潜在嵌入空间定",
"义为{e}ERMx!,其中M表示嵌人向量的数量,因此是M方式的分类分布。",
"l<d是每个潜在嵌人向量ei,iE{1,..·M)的维数。VQ-VAE通过在嵌人向",
"量ei中执行最近邻搜索,通过其编码器ze(α)将输入映射到潜在变量z,并",
"通过其解码器g输出重构向量。VQ-VAE输出确定性后验分布q,使得",
"Ji, if k= argmin, llze(α)-ejll?",
"q(z =kα) =",
"(2)",
"Lo, otherwise",
"解码器不具有梯度,并且通过从编码器复制梯度来训练。解码器的最终输出是",
"对数后验概率logP(azg),它是重建损失的一部分",
"ArchitectureandOptimization.我们提出了一种用于聚类表达谱的新颖",
"模型,如图1所示。该模型由一个表示为D的鉴别器和一个生成器G组成,该",
"鉴别器最大化了互信息,该生成器旨在通过对{e计跨越的分类潜在特征空间进",
"行建模来重建输人。D和G通过潜在嵌人z深度耦合,这是由于VQ-VAE的",
"解码器不具有梯度,因此嵌人空间可以仅由编码器和鉴别器控制。在先前的工作",
"中,生成器通常在结构上独立于鉴别器,并且仅通过损失函数[13,20,28]弱相关。"
] | {
"arxiv_id": "2206.10801",
"language": "zh",
"page_idx": 4
} |
||
2106.01195-zh-0 | 2106.01195-zh-0.jpg | ## 识别文本附属物的比喻语言
Tuhin Chakrabarty$^*1,\textbf{Debanjan Ghosh}^*{3}$,Adam Poliak$^2,4$ and Smaranda Muresan$^{1,4}$
$^{1}$Department of Computer Science, Columbia University
$^{2}$Department of Computer Science, Barnard College
$^{3}$Educational Testing Service, $^{4}$Data Science Institute, Columbia University
$\{$ tuhin.chakr, smara $\}$ Qcs.columbia.edu,
[email protected], [email protected]
# Abstract
We introduce a collection of recognizing textual entailment (RTE) datasets focused on figurative language. We leverage five existing datasets annotated for a variety of figurative language - simile, metaphor, and irony - and frame them into over 12,500 RTE examples.We evaluate how well state-of-the-art models trained on popular RTE datasets capture different aspects of fgurative language. Our results and analyses indicate that these models might not sufficiently capture figurative language, struggling to perform pragmatic inference and reasoning about world knowledge. Ultimately, our datasets provide a challenging testbed for evaluating RTE models.
## 1 Introduction
从小说,诗歌和电影到科学文学和社交媒体对话,形象化语言在许多形式的话语中无处不在(?)。它通常用于传达亲密关系$\overline{\mathrm{E}}(?)$,幽默$\overline{\mathrm{E}}$ (?),强烈的情绪$\overline{\mathbb{E}}(?)$ 或含蓄的礼貌$\mathbb{E}(?)$。尽管它无处不在,比喻语言仍然是“自动文本理解的瓶颈”(?)
识别文本蕴涵(RTE),识别一个句子(上下文)是否可能包含另一个句子(假设)的任务,通常用作评估自然语言处理(NLP)系统理解自然语言的程度的代理。比喻语言被定义为任何取决于所使用的某些或全部单词的非字面意义的修辞格。。因此,理解比喻语言可以被框定为 RTE 任务 (比喻语言表达与。预期含义),其中比喻性语言表达是上下文,预期含义是 RTE 框架中的假设 (请参阅$\overline{\mathrm{E}}$Table 1 中的示例)
我们调查了在当前 RTE 数据集上训练的最先进的 RTE 模型如何适合捕获比喻语言。我们专注于三种特定类型的比喻语言:比喻,隐喻和讽刺。比喻唤起了两个看似不同的对象之间的比较,隐喻将想象力扩展到了字面叙述之外,而讽刺则传达了与所说的相反的意思。
$^{*}$Equal Contribution.
<table>
<tbody>
<tr>
<td>Simile</td>
</tr>
<tr>
<td>Simile</td>
</tr>
<tr>
<td>Metaphor</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td rowspan="3">Irony</td>
</tr>
</tbody>
</table>
Table 1: Example RTE pairs focused on similes, metaphors, and irony that RoBERTa incorrectly labels - indicates a context and the following sentence is its corresponding hypothesis. √ and $x$ respectively indicate that the context entails, or does not entail the hypothesis. Bold text represent simile and metaphors and Italic represent their entail/not entail interpretations (top two rows).
我们利用为这些类型的图形语言注释的五个现有数据集,创建超过 12,500个需要理解或识别这些现象的 RTE 示例。我们评估标准神经RTE 模型如何捕获比喻语言的这些方面。我们的结果表明,尽管在流行的 RTE 数据集上训练的系统可能会捕获各种类型的比喻语言的某些方面,但在解释依赖于对世界知识的语用推理和推理的情况下,它们会失败。我们发布代码和数据。1
$^{1}$https://github.com/tuhinjubcse/
Figurative-NLI | [
[
"0.357",
"0.0831",
"0.642",
"0.08435",
"0.642",
"0.10156",
"0.357",
"0.10095"
],
[
"0.1368",
"0.1247",
"0.873",
"0.1247",
"0.873",
"0.1395",
"0.1368",
"0.1395"
],
[
"0.2747",
"0.1414",
"0.7305",
"0.1437",
"0.7305",
"0.158",
"0.2747",
"0.1561"
],
[
"0.2896",
"0.1561",
"0.7153",
"0.158",
"0.7153",
"0.1758",
"0.2896",
"0.1733"
],
[
"0.199",
"0.1729",
"0.806",
"0.1733",
"0.806",
"0.1912",
"0.199",
"0.1907"
],
[
"0.2678",
"0.1936",
"0.742",
"0.1936",
"0.742",
"0.2073",
"0.2678",
"0.2073"
],
[
"0.2988",
"0.2102",
"0.7095",
"0.2102",
"0.7095",
"0.2239",
"0.2988",
"0.2239"
],
[
"0.266",
"0.2654",
"0.3435",
"0.2654",
"0.3435",
"0.2798",
"0.266",
"0.2798"
],
[
"0.592",
"0.2695",
"0.8555",
"0.2695",
"0.8555",
"0.2832",
"0.592",
"0.2832"
],
[
"0.592",
"0.2832",
"0.7886",
"0.2832",
"0.7886",
"0.2935",
"0.592",
"0.2935"
],
[
"0.147",
"0.2893",
"0.461",
"0.2893",
"0.461",
"0.3027",
"0.147",
"0.3027"
],
[
"0.8696",
"0.2893",
"0.8833",
"0.2893",
"0.8833",
"0.2998",
"0.8696",
"0.2998"
],
[
"0.607",
"0.2976",
"0.852",
"0.2976",
"0.852",
"0.308",
"0.607",
"0.308"
],
[
"0.147",
"0.304",
"0.461",
"0.304",
"0.461",
"0.3176",
"0.147",
"0.3176"
],
[
"0.592",
"0.3088",
"0.635",
"0.3088",
"0.635",
"0.3206",
"0.592",
"0.3206"
],
[
"0.147",
"0.3184",
"0.2761",
"0.3184",
"0.2761",
"0.332",
"0.147",
"0.332"
],
[
"0.2737",
"0.3176",
"0.4634",
"0.3176",
"0.4634",
"0.3308",
"0.2737",
"0.3308"
],
[
"0.523",
"0.3267",
"0.567",
"0.3267",
"0.567",
"0.3384",
"0.523",
"0.3384"
],
[
"0.5903",
"0.3218",
"0.8555",
"0.3218",
"0.8555",
"0.335",
"0.5903",
"0.335"
],
[
"0.147",
"0.332",
"0.461",
"0.332",
"0.461",
"0.3457",
"0.147",
"0.3457"
],
[
"0.5903",
"0.3333",
"0.7715",
"0.3342",
"0.7715",
"0.3474",
"0.5903",
"0.3467"
],
[
"0.1453",
"0.3467",
"0.4592",
"0.3467",
"0.4592",
"0.3599",
"0.1453",
"0.3599"
],
[
"0.607",
"0.3508",
"0.854",
"0.3508",
"0.854",
"0.361",
"0.607",
"0.361"
],
[
"0.1453",
"0.3599",
"0.461",
"0.3599",
"0.461",
"0.3735",
"0.1453",
"0.3735"
],
[
"0.5884",
"0.3599",
"0.812",
"0.361",
"0.812",
"0.3748",
"0.5884",
"0.3735"
],
[
"0.1453",
"0.3748",
"0.461",
"0.3748",
"0.461",
"0.3884",
"0.1453",
"0.3884"
],
[
"0.1453",
"0.3872",
"0.4592",
"0.3896",
"0.4592",
"0.4038",
"0.1453",
"0.402"
],
[
"0.592",
"0.3818",
"0.8506",
"0.3818",
"0.8506",
"0.3955",
"0.592",
"0.3955"
],
[
"0.6094",
"0.3967",
"0.839",
"0.3967",
"0.839",
"0.4104",
"0.6094",
"0.4104"
],
[
"0.8716",
"0.3914",
"0.8833",
"0.3914",
"0.8833",
"0.402",
"0.8716",
"0.402"
],
[
"0.1453",
"0.4026",
"0.4592",
"0.4038",
"0.4592",
"0.4175",
"0.1453",
"0.4163"
],
[
"0.525",
"0.405",
"0.586",
"0.405",
"0.586",
"0.4163",
"0.525",
"0.4163"
],
[
"0.5884",
"0.411",
"0.7925",
"0.411",
"0.7925",
"0.4246",
"0.5884",
"0.4246"
],
[
"0.147",
"0.4175",
"0.461",
"0.4175",
"0.461",
"0.4312",
"0.147",
"0.4312"
],
[
"0.8716",
"0.4204",
"0.885",
"0.4204",
"0.885",
"0.4312",
"0.8716",
"0.4312"
],
[
"0.147",
"0.4316",
"0.4592",
"0.4316",
"0.4592",
"0.4453",
"0.147",
"0.4453"
],
[
"0.607",
"0.427",
"0.7886",
"0.427",
"0.7886",
"0.4407",
"0.607",
"0.4407"
],
[
"0.1486",
"0.4478",
"0.4575",
"0.4478",
"0.4575",
"0.4578",
"0.1486",
"0.4578"
],
[
"0.5884",
"0.4465",
"0.8564",
"0.4478",
"0.8564",
"0.462",
"0.5884",
"0.4614"
],
[
"0.147",
"0.4602",
"0.4626",
"0.4602",
"0.4626",
"0.4739",
"0.147",
"0.4739"
],
[
"0.5903",
"0.4614",
"0.634",
"0.4614",
"0.634",
"0.4727",
"0.5903",
"0.4727"
],
[
"0.147",
"0.4739",
"0.4626",
"0.4739",
"0.4626",
"0.4868",
"0.147",
"0.4868"
],
[
"0.6055",
"0.4744",
"0.769",
"0.4756",
"0.769",
"0.4893",
"0.6055",
"0.488"
],
[
"0.867",
"0.4702",
"0.882",
"0.466",
"0.888",
"0.4768",
"0.873",
"0.481"
],
[
"0.147",
"0.488",
"0.4417",
"0.488",
"0.4417",
"0.502",
"0.147",
"0.502"
],
[
"0.5225",
"0.4868",
"0.561",
"0.4912",
"0.5576",
"0.505",
"0.519",
"0.5005"
],
[
"0.5903",
"0.4893",
"0.8564",
"0.4893",
"0.8564",
"0.503",
"0.5903",
"0.503"
],
[
"0.5903",
"0.503",
"0.6323",
"0.503",
"0.6323",
"0.514",
"0.5903",
"0.514"
],
[
"0.126",
"0.5127",
"0.1368",
"0.5195",
"0.1276",
"0.525",
"0.1184",
"0.5186"
],
[
"0.1486",
"0.511",
"0.266",
"0.5127",
"0.266",
"0.527",
"0.1486",
"0.5254"
],
[
"0.6094",
"0.5166",
"0.854",
"0.5166",
"0.854",
"0.53",
"0.6094",
"0.53"
],
[
"0.5903",
"0.53",
"0.6753",
"0.53",
"0.6753",
"0.5415",
"0.5903",
"0.5415"
],
[
"0.12177",
"0.5376",
"0.4844",
"0.5376",
"0.4844",
"0.5474",
"0.12177",
"0.5474"
],
[
"0.12006",
"0.554",
"0.4878",
"0.554",
"0.4878",
"0.568",
"0.12006",
"0.568"
],
[
"0.511",
"0.5557",
"0.885",
"0.557",
"0.885",
"0.572",
"0.511",
"0.571"
],
[
"0.1184",
"0.5693",
"0.4895",
"0.5693",
"0.4895",
"0.583",
"0.1184",
"0.583"
],
[
"0.511",
"0.571",
"0.882",
"0.571",
"0.882",
"0.5845",
"0.511",
"0.5845"
],
[
"0.11755",
"0.585",
"0.4878",
"0.5845",
"0.4878",
"0.5986",
"0.11755",
"0.5996"
],
[
"0.5146",
"0.586",
"0.8833",
"0.586",
"0.8833",
"0.5996",
"0.5146",
"0.5996"
],
[
"0.12006",
"0.6016",
"0.4895",
"0.6016",
"0.4895",
"0.615",
"0.12006",
"0.615"
],
[
"0.5146",
"0.6016",
"0.885",
"0.6016",
"0.885",
"0.6123",
"0.5146",
"0.6123"
],
[
"0.1184",
"0.616",
"0.2451",
"0.6177",
"0.2451",
"0.632",
"0.1184",
"0.6313"
],
[
"0.513",
"0.6143",
"0.885",
"0.6143",
"0.885",
"0.6274",
"0.513",
"0.6274"
],
[
"0.1394",
"0.633",
"0.4895",
"0.633",
"0.4895",
"0.648",
"0.1394",
"0.648"
],
[
"0.513",
"0.629",
"0.885",
"0.629",
"0.885",
"0.6426",
"0.513",
"0.6426"
],
[
"0.51",
"0.641",
"0.885",
"0.641",
"0.885",
"0.655",
"0.51",
"0.655"
],
[
"0.1234",
"0.6494",
"0.4895",
"0.6494",
"0.4895",
"0.663",
"0.1234",
"0.663"
],
[
"0.513",
"0.6567",
"0.656",
"0.6567",
"0.656",
"0.6704",
"0.513",
"0.6704"
],
[
"0.12006",
"0.6646",
"0.486",
"0.6646",
"0.486",
"0.6787",
"0.12006",
"0.6787"
],
[
"0.12006",
"0.6816",
"0.4878",
"0.6816",
"0.4878",
"0.697",
"0.12006",
"0.697"
],
[
"0.12006",
"0.697",
"0.4878",
"0.697",
"0.4878",
"0.7104",
"0.12006",
"0.7104"
],
[
"0.12177",
"0.7144",
"0.4878",
"0.7144",
"0.4878",
"0.7285",
"0.12177",
"0.7285"
],
[
"0.532",
"0.709",
"0.882",
"0.709",
"0.882",
"0.7227",
"0.532",
"0.7227"
],
[
"0.1184",
"0.73",
"0.486",
"0.73",
"0.486",
"0.7437",
"0.1184",
"0.7437"
],
[
"0.5146",
"0.7256",
"0.8833",
"0.7256",
"0.8833",
"0.7393",
"0.5146",
"0.7393"
],
[
"0.5146",
"0.7407",
"0.882",
"0.7407",
"0.882",
"0.7544",
"0.5146",
"0.7544"
],
[
"0.12177",
"0.7466",
"0.4878",
"0.7466",
"0.4878",
"0.7603",
"0.12177",
"0.7603"
],
[
"0.513",
"0.756",
"0.881",
"0.756",
"0.881",
"0.771",
"0.513",
"0.771"
],
[
"0.12177",
"0.7627",
"0.4878",
"0.7627",
"0.4878",
"0.777",
"0.12177",
"0.777"
],
[
"0.1184",
"0.778",
"0.1855",
"0.778",
"0.1855",
"0.792",
"0.1184",
"0.792"
],
[
"0.5156",
"0.774",
"0.8833",
"0.774",
"0.8833",
"0.7876",
"0.5156",
"0.7876"
],
[
"0.513",
"0.788",
"0.882",
"0.788",
"0.882",
"0.802",
"0.513",
"0.802"
],
[
"0.1377",
"0.7944",
"0.4878",
"0.7944",
"0.4878",
"0.808",
"0.1377",
"0.808"
],
[
"0.513",
"0.804",
"0.8833",
"0.8047",
"0.8833",
"0.8193",
"0.513",
"0.8184"
],
[
"0.12006",
"0.811",
"0.4878",
"0.811",
"0.4878",
"0.8247",
"0.12006",
"0.8247"
],
[
"0.1184",
"0.8267",
"0.486",
"0.8267",
"0.486",
"0.8403",
"0.1184",
"0.8403"
],
[
"0.5146",
"0.822",
"0.8833",
"0.822",
"0.8833",
"0.835",
"0.5146",
"0.835"
],
[
"0.513",
"0.8384",
"0.615",
"0.835",
"0.615",
"0.8496",
"0.513",
"0.8525"
],
[
"0.12006",
"0.844",
"0.4836",
"0.844",
"0.4836",
"0.855",
"0.12006",
"0.855"
],
[
"0.12006",
"0.8594",
"0.486",
"0.8594",
"0.486",
"0.8726",
"0.12006",
"0.8726"
],
[
"0.12006",
"0.876",
"0.4592",
"0.876",
"0.4592",
"0.8896",
"0.12006",
"0.8896"
],
[
"0.534",
"0.882",
"0.8237",
"0.8843",
"0.8237",
"0.8984",
"0.534",
"0.8965"
],
[
"0.147",
"0.8955",
"0.2761",
"0.8955",
"0.2761",
"0.909",
"0.147",
"0.909"
],
[
"0.5146",
"0.898",
"0.642",
"0.898",
"0.642",
"0.9077",
"0.5146",
"0.9077"
]
] | [
"识别文本附属物的比喻语言",
"Tuhin Chakrabarty*, Debanjan Ghosh * 3, Adam Poliak2,4 and Smaranda Muresan1,4",
"IDepartment ofComputer Science,Columbia University",
"2Department of Computer Science, Barnard College",
"3Educational Testing Service, *Data Science Institute, Columbia University",
"( tuhin.chakr, smara ) @cs.columbia.edu,",
"[email protected],[email protected]",
"Abstract",
" I start to prowl across the room like a",
"tightrope walker ondental floss",
"We introduce a collection of recognizing tex-",
"x",
"I start to prowl across the room reck",
"tual entailment (RTE) datasets focused on fig-",
"lessly.",
"urative language.",
"We leverage five exist-",
"Simile",
" They had shut him in a basement that",
"ing datasets annotated for a variety of figura-",
"looked like a freight elevator",
"tive language - simile, metaphor, and irony",
"They had shut him in a basement that",
"- and frame them into over 12,500 RTE ex-",
"looked dangerously claustrophobic",
"amples.We evaluate how well state-of-the-art",
"models trained on popular RTE datasets cap-",
"He weathered the costs for the accident.",
"He avoided the costs for the accident.",
"x",
"ture different aspects of figurative language.",
"Metaphor",
" The bus bolted down the road.",
"Our results and analyses indicate that these",
"V",
"models might not sufficiently capture figura",
"The bus paced down the road.",
"tivelanguage,strugglingtoperformpragmatic",
" Made s 174 this month, gonna buy a",
"inference and reasoning about world knowl-",
"yacht!",
"edge. Ultimately, our datasets provide a chal-",
"I don't make much money.",
"+",
"lenging testbed for evaluating RTE models.",
"Irony",
"Fans seem restless, gee, don't understand",
"them.",
"1",
"Introduction",
"Fans seem restless - don't know the rea-",
"son behind it.",
"从小说,诗歌和电影到科学文学和社交媒体对",
"话,形象化语言在许多形式的话语中无处不在",
"Table l: Example RTE pairs focused on similes,",
"(?)。它通常用于传达亲密关系E(?),幽默E",
"metaphors, and irony that RoBERTa incorrectly labels.",
"(?),强烈的情绪E(?)或含蓄的礼貌E(?)。尽",
" indicates a context and the following sentence is its",
"管它无处不在,比喻语言仍然是“自动文本理",
"correspondinghypothesis.andxrespectivelyin-",
"解的瓶颈”(?)",
"dicate that the context entails, or does not entail the",
"识别文本蕴涵(RTE),识别一个句子(上",
"hypothesis. Bold text represent simile and metaphors",
"and Italic represent their entail/not entail interpreta-",
"下文)是否可能包含另一个句子(假设)的任",
"tions (top two rows).",
"务,通常用作评估自然语言处理(NLP)系统",
"理解自然语言的程度的代理。。比喻语言被定",
"义为任何取决于所使用的某些或全部单词的非",
"字面意义的修辞格。。因此,理解比喻语言可以",
"我们利用为这些类型的图形语言注释的五个",
"被框定为RTE任务(比喻语言表达与。预期含",
"现有数据集,创建超过12,500个需要理解或识",
"别这些现象的RTE示例。我们评估标准神经",
"义),其中比喻性语言表达是上下文,预期含",
"RTE模型如何捕获比喻语言的这些方面。我们",
"义是RTE框架中的假设(请参阅ETable1中",
"的示例)",
"的结果表明,尽管在流行的RTE数据集上训",
"练的系统可能会捕获各种类型的比喻语言的某",
"我们调查了在当前RTE数据集上训练的最",
"些方面,但在解释依赖于对世界知识的语用推",
"先进的RTE模型如何适合捕获比喻语言。我",
"们专注于三种特定类型的比喻语言:比喻,隐",
"理和推理的情况下,它们会失败。我们发布代",
"码和数据。1",
"喻和讽刺。比喻唤起了两个看似不同的对象之",
"间的比较,隐喻将想象力扩展到了字面叙述之",
"外,而讽刺则传达了与所说的相反的意思。",
"'https://github.com/tuhinjubcse/",
"*Equal Contribution.",
"Figurative-NLI"
] | {
"arxiv_id": "2106.01195",
"language": "zh",
"page_idx": 0
} |
||
2106.01195-zh-1 | 2106.01195-zh-1.jpg | <table>
<tbody>
<tr>
<td>$\overline{\text{Data}}$</td>
<td>$\gimel$</td>
<td>$\overline{\mathrm{Total}}$</td>
<td>$\overline{\mathrm{E}}$</td>
<td>$\overline{\mathrm{NE}}$</td>
</tr>
<tr>
<td>Simile</td>
<td>le</td>
<td>600</td>
<td>$\overline{300}$</td>
<td>$\overline{300}$</td>
</tr>
<tr>
<td>Metaphor</td>
<td>hor</td>
<td>$\overline{613}$</td>
<td>307</td>
<td>306</td>
</tr>
<tr>
<td>$\overline{S}.$</td>
<td>$\overline{SIGN_{2000}}$</td>
<td>2,000</td>
<td>133</td>
<td>1867</td>
</tr>
<tr>
<td>my m $S$</td>
<td>$\overline{S}$ $-H$ $im$ int</td>
<td>4,762</td>
<td> </td>
<td>$\overline{4,762}$</td>
</tr>
<tr>
<td colspan="2">Ironv / Intentiom</td>
<td>4,601</td>
<td>$\overline{2,212}$</td>
<td>$\overline{2,389}$</td>
</tr>
</tbody>
</table>
Table 2: Dataset statistics and class distribution, Entailment (E) and Not-Entailment (NE) for each type of figurative language.
### 2 $\textbf{Related Work}$
我们遵循最近的工作,通过评估 RTE 模型捕获特定语言现象的程度来测试 RTE 系统$\mathbb{E}(?)$ 中扩展的推理模式范围,例如语用推理$\overline {\mathbb{E} }( ? )$ , 真实性$\mathbb{E}(?)$ 等$\mathbb{E}(??????????)$
我们不是第一个在 RTE 中探索比喻语言的人。?分析了 PascalRTE-1$\overline{\mathrm{E}}(?)$和 RTE-2$\overline{\mathrm{E}}(?)$ 数据集中需要理解隐喻的示例,?为 RTE 系统提供了一种处理隐喻的方法。?的各种 RTE 数据集集合包括基于比喻语言的示例,但仅侧重于识别双关语
# 3 $\textbf{Dataset Creation}$
我们创建了专注于比喻,隐喻和讽刺的 RTE 测试集。我们为这些类型的比喻语言提供了进一步的背景,并描述了用于创建这些测试集的方法。Table 2 报告最终测试集的统计信息
# 3.1 Simile
比较是表达两个实体,概念或想法的相似性的固有语言设备。比喻使用时,比较称为比喻。通过使描述更加强调或生动,可以使用 Simils 激发读者的想象力E(?) 。相似使用一个共同的属性来比较两个通常被称为主题(逻辑主题)和车辆(比较的逻辑对象)的概念。。例如,在“爱就像独角兽”的比喻中,爱(TOPIC)被比作独角兽(VEHICLE),描绘了“稀有”的隐含属性。。最近,?发布了来自 subredditsr/WritingPrompts 和 r/Funny 的 150 个字面句子的测试集,每个句子都与两个带有保留原始含义的明喻的人写释义对齐
要创建专注于明喻的 RTE 测试集,我们将这些明喻对齐的句子视为包含上下文假设对。给定文字输人“They had shut him in a basement that looked dangerously claustrophobic", 专家注释器将其重新构造为“They had shut him in a basement that looked like a freight elevator "。2 我们通过将字面动词/属性与它们各自的反义词
$^{2}$Note, such re-framing task(content generation task) does not involve assigning a label to a text fragment, thus, computing inter-annotator agreement is not applicable here.
翻转来创建未附尾的示例,并将原始(Literal, Simile)对用作附尾。例如,在现有的上下文假设对表达 Entailment 的情况下-“以这种方式上台的普通公民就像绿色的月亮。“→”以这种方式掌权的普通公民是前所未有的“-我们将“前所未有”更改为“普通”,使其成为一对非附庸(NE)实例
# 3.2 Metaphor
隐喻表达深刻的感情和复杂的态度(?)。理解隐喻需要理解抽象概念,并在看似无关的想法之间建立联系,以适当地偏离字面意思(2???) 。在生成隐喻释义时,?创建了一个包含 150个字面句子的多样化测试集,这些句子来自不同的领域和体裁,并要求两名专家注释员创建隐喻句子,总共产生了300个隐喻示例。专家注释者通过将字面动词替换为隐喻动词来独立地重新构造字面句子。例如,一位专家将字面句子“The tax cut will help the economy”重新构造为“The tax cut will fertilize the economy"
由于最常见的隐喻类型是由动词$\overline{\mathrm{E}}(??)$ 表示的,因此这些字面和隐喻释义仅因其使用的动词而异。在 RTE 框架中,我们将这些隐喻-文字对视为包含上下文假设的示例。为了创建未尾示例,我们通过手动将附带假设中的文字动词与其反义词交换来生成假设。请注意,对于明喻和隐喻,使用可用词典进行自动替换是有问题的,因为它通常会导致不语法的句子。用其反义词手动替换单词可确保高质量的测试集。我们使用反义词为包含中性和矛盾类的 Simile 和 Metaphors 创建无结尾的示例。使用反义词进行这种词汇替换显然会导致更高质量的矛盾示例创建。相反,通过词汇扰动创建中性示例具有挑战性,如果处理不当,可能会导致语法错误或句子不连贯
# 3.3 Irony
使用讽刺时,说话者通常意味着与他们所说的相反E(??) 。WedevelopdifferenttestsetsfocusingonwhethertheRTEmodelsshoul-
dunderstandtheconveyedmeaningofironicexamplesorshouldidentif
sironicintent(i。e。, 确定话语是否具有讽刺意
味)假设说话者具有讽刺意味
Understanding Ironic Meaning (IMeaning) ? 使用熟练的注释者在带有语言讽刺的推文和它们的非讽刺措辞(15K对)之间创建了一个并行数据集。注释者还可以选择复制原始推文或只是对其进行解释,以防讽刺的意图不容易识别。同样,?发布了一个并行数据集,其中包$含说话者的讽刺信息(S_{im})和听众对说话者$ 意图的解释(H $_int$)。此数据集(S $_im$ -H $_int$ ) | [
[
"0.2065",
"0.0736",
"0.2377",
"0.0736",
"0.2377",
"0.0849",
"0.2065",
"0.0849"
],
[
"0.3333",
"0.076",
"0.367",
"0.076",
"0.367",
"0.08435",
"0.3333",
"0.08435"
],
[
"0.4417",
"0.0736",
"0.4727",
"0.0736",
"0.4727",
"0.0849",
"0.4417",
"0.0849"
],
[
"0.517",
"0.0766",
"0.882",
"0.0766",
"0.882",
"0.0903",
"0.517",
"0.0903"
],
[
"0.2007",
"0.0849",
"0.2435",
"0.0873",
"0.2418",
"0.0998",
"0.199",
"0.0974"
],
[
"0.3997",
"0.0778",
"0.409",
"0.0778",
"0.409",
"0.0831",
"0.3997",
"0.0831"
],
[
"0.3376",
"0.0861",
"0.3645",
"0.0861",
"0.3645",
"0.0986",
"0.3376",
"0.0986"
],
[
"0.3896",
"0.0861",
"0.4165",
"0.0861",
"0.4165",
"0.0986",
"0.3896",
"0.0986"
],
[
"0.444",
"0.0861",
"0.4727",
"0.0861",
"0.4727",
"0.0986",
"0.444",
"0.0986"
],
[
"0.336",
"0.0986",
"0.3628",
"0.0986",
"0.3628",
"0.10986",
"0.336",
"0.10986"
],
[
"0.3896",
"0.0986",
"0.4165",
"0.0986",
"0.4165",
"0.10986",
"0.3896",
"0.10986"
],
[
"0.4434",
"0.0986",
"0.471",
"0.0986",
"0.471",
"0.111",
"0.4434",
"0.111"
],
[
"0.5146",
"0.0932",
"0.882",
"0.0932",
"0.882",
"0.1069",
"0.5146",
"0.1069"
],
[
"0.1931",
"0.0998",
"0.2494",
"0.0998",
"0.2494",
"0.111",
"0.1931",
"0.111"
],
[
"0.2377",
"0.111",
"0.3105",
"0.111",
"0.3105",
"0.1223",
"0.2377",
"0.1223"
],
[
"0.3284",
"0.111",
"0.3704",
"0.111",
"0.3704",
"0.1223",
"0.3284",
"0.1223"
],
[
"0.4382",
"0.111",
"0.4844",
"0.111",
"0.4844",
"0.1223",
"0.4382",
"0.1223"
],
[
"0.517",
"0.111",
"0.881",
"0.111",
"0.881",
"0.1217",
"0.517",
"0.1217"
],
[
"0.1293",
"0.11755",
"0.2225",
"0.11755",
"0.2225",
"0.1289",
"0.1293",
"0.1289"
],
[
"0.3855",
"0.11224",
"0.4182",
"0.11224",
"0.4182",
"0.12354",
"0.3855",
"0.12354"
],
[
"0.3284",
"0.1223",
"0.3704",
"0.1223",
"0.3704",
"0.1342",
"0.3284",
"0.1342"
],
[
"0.4358",
"0.1223",
"0.486",
"0.1223",
"0.486",
"0.1342",
"0.4358",
"0.1342"
],
[
"0.517",
"0.1247",
"0.882",
"0.1247",
"0.882",
"0.1395",
"0.517",
"0.1395"
],
[
"0.3242",
"0.1342",
"0.486",
"0.1342",
"0.486",
"0.1478",
"0.3242",
"0.1478"
],
[
"0.2334",
"0.12354",
"0.3132",
"0.12354",
"0.3132",
"0.1354",
"0.2334",
"0.1354"
],
[
"0.178",
"0.136",
"0.2678",
"0.136",
"0.2678",
"0.1467",
"0.178",
"0.1467"
],
[
"0.5156",
"0.1414",
"0.882",
"0.1414",
"0.882",
"0.155",
"0.5156",
"0.155"
],
[
"0.1721",
"0.1603",
"0.4895",
"0.1603",
"0.4895",
"0.1733",
"0.1721",
"0.1733"
],
[
"0.517",
"0.1592",
"0.881",
"0.1592",
"0.881",
"0.1692",
"0.517",
"0.1692"
],
[
"0.5146",
"0.1733",
"0.669",
"0.1733",
"0.669",
"0.187",
"0.5146",
"0.187"
],
[
"0.12006",
"0.1609",
"0.1797",
"0.1609",
"0.1797",
"0.1729",
"0.12006",
"0.1729"
],
[
"0.12006",
"0.1746",
"0.4895",
"0.1746",
"0.4895",
"0.1882",
"0.12006",
"0.1882"
],
[
"0.1184",
"0.1882",
"0.251",
"0.1895",
"0.251",
"0.2031",
"0.1184",
"0.2019"
],
[
"0.513",
"0.2019",
"0.6406",
"0.2019",
"0.6406",
"0.2156",
"0.513",
"0.2156"
],
[
"0.1184",
"0.2286",
"0.2747",
"0.2286",
"0.2747",
"0.2423",
"0.1184",
"0.2423"
],
[
"0.517",
"0.2239",
"0.882",
"0.2239",
"0.882",
"0.2369",
"0.517",
"0.2369"
],
[
"0.5156",
"0.2393",
"0.8833",
"0.2393",
"0.8833",
"0.253",
"0.5156",
"0.253"
],
[
"0.12006",
"0.257",
"0.4895",
"0.257",
"0.4895",
"0.2708",
"0.12006",
"0.2708"
],
[
"0.513",
"0.2559",
"0.882",
"0.2559",
"0.882",
"0.2695",
"0.513",
"0.2695"
],
[
"0.12006",
"0.2725",
"0.4895",
"0.2725",
"0.4895",
"0.2861",
"0.12006",
"0.2861"
],
[
"0.5205",
"0.2766",
"0.5356",
"0.2766",
"0.5356",
"0.2808",
"0.5205",
"0.2808"
],
[
"0.531",
"0.2715",
"0.882",
"0.2715",
"0.882",
"0.2852",
"0.531",
"0.2852"
],
[
"0.12177",
"0.2903",
"0.492",
"0.2903",
"0.492",
"0.3005",
"0.12177",
"0.3005"
],
[
"0.5146",
"0.2861",
"0.881",
"0.2861",
"0.881",
"0.2998",
"0.5146",
"0.2998"
],
[
"0.1184",
"0.3047",
"0.372",
"0.3047",
"0.372",
"0.3184",
"0.1184",
"0.3184"
],
[
"0.519",
"0.304",
"0.882",
"0.304",
"0.882",
"0.3176",
"0.519",
"0.3176"
],
[
"0.1377",
"0.3218",
"0.4895",
"0.3218",
"0.4895",
"0.335",
"0.1377",
"0.335"
],
[
"0.5156",
"0.3196",
"0.882",
"0.3196",
"0.882",
"0.3333",
"0.5156",
"0.3333"
],
[
"0.12177",
"0.3374",
"0.4895",
"0.3374",
"0.4895",
"0.3508",
"0.12177",
"0.3508"
],
[
"0.5156",
"0.3362",
"0.882",
"0.3362",
"0.882",
"0.3499",
"0.5156",
"0.3499"
],
[
"0.12177",
"0.3528",
"0.4895",
"0.3528",
"0.4895",
"0.3665",
"0.12177",
"0.3665"
],
[
"0.513",
"0.3508",
"0.882",
"0.3516",
"0.882",
"0.3652",
"0.513",
"0.364"
],
[
"0.12006",
"0.3694",
"0.4895",
"0.3694",
"0.4895",
"0.383",
"0.12006",
"0.383"
],
[
"0.5156",
"0.3682",
"0.882",
"0.3682",
"0.882",
"0.3818",
"0.5156",
"0.3818"
],
[
"0.12006",
"0.3855",
"0.4895",
"0.3855",
"0.4895",
"0.3984",
"0.12006",
"0.3984"
],
[
"0.513",
"0.383",
"0.867",
"0.3843",
"0.867",
"0.3984",
"0.513",
"0.398"
],
[
"0.12177",
"0.4026",
"0.2301",
"0.4026",
"0.2301",
"0.4146",
"0.12177",
"0.4146"
],
[
"0.5356",
"0.401",
"0.882",
"0.401",
"0.882",
"0.4146",
"0.5356",
"0.4146"
],
[
"0.5156",
"0.4175",
"0.882",
"0.4175",
"0.882",
"0.4312",
"0.5156",
"0.4312"
],
[
"0.11584",
"0.4287",
"0.3015",
"0.4312",
"0.3015",
"0.4453",
"0.11584",
"0.4436"
],
[
"0.5156",
"0.4329",
"0.882",
"0.4329",
"0.882",
"0.4465",
"0.5156",
"0.4465"
],
[
"0.5156",
"0.4495",
"0.882",
"0.4495",
"0.882",
"0.4631",
"0.5156",
"0.4631"
],
[
"0.12006",
"0.4602",
"0.4844",
"0.4602",
"0.4844",
"0.4702",
"0.12006",
"0.4702"
],
[
"0.5146",
"0.4656",
"0.882",
"0.4656",
"0.882",
"0.4785",
"0.5146",
"0.4785"
],
[
"0.12177",
"0.4744",
"0.4727",
"0.4744",
"0.4727",
"0.488",
"0.12177",
"0.488"
],
[
"0.4685",
"0.4785",
"0.482",
"0.4785",
"0.482",
"0.485",
"0.4685",
"0.485"
],
[
"0.519",
"0.481",
"0.882",
"0.481",
"0.882",
"0.4946",
"0.519",
"0.4946"
],
[
"0.12006",
"0.4905",
"0.486",
"0.4905",
"0.486",
"0.5044",
"0.12006",
"0.5044"
],
[
"0.5146",
"0.4963",
"0.882",
"0.4988",
"0.882",
"0.5127",
"0.5146",
"0.5103"
],
[
"0.1184",
"0.5073",
"0.4358",
"0.5073",
"0.4358",
"0.521",
"0.1184",
"0.521"
],
[
"0.5156",
"0.514",
"0.8833",
"0.514",
"0.8833",
"0.528",
"0.5156",
"0.528"
],
[
"0.1184",
"0.5337",
"0.2167",
"0.5337",
"0.2167",
"0.549",
"0.1184",
"0.549"
],
[
"0.517",
"0.53",
"0.8833",
"0.53",
"0.8833",
"0.5435",
"0.517",
"0.5435"
],
[
"0.5156",
"0.546",
"0.882",
"0.546",
"0.882",
"0.5586",
"0.5156",
"0.5586"
],
[
"0.12006",
"0.557",
"0.4878",
"0.557",
"0.4878",
"0.571",
"0.12006",
"0.571"
],
[
"0.517",
"0.5635",
"0.881",
"0.5635",
"0.881",
"0.5737",
"0.517",
"0.5737"
],
[
"0.12006",
"0.5737",
"0.4895",
"0.5737",
"0.4895",
"0.5874",
"0.12006",
"0.5874"
],
[
"0.5146",
"0.5776",
"0.882",
"0.5776",
"0.882",
"0.5913",
"0.5146",
"0.5913"
],
[
"0.12006",
"0.589",
"0.4895",
"0.589",
"0.4895",
"0.6025",
"0.12006",
"0.6025"
],
[
"0.5156",
"0.5933",
"0.882",
"0.5933",
"0.882",
"0.607",
"0.5156",
"0.607"
],
[
"0.12006",
"0.605",
"0.4895",
"0.605",
"0.4895",
"0.618",
"0.12006",
"0.618"
],
[
"0.5156",
"0.61",
"0.882",
"0.61",
"0.882",
"0.6235",
"0.5156",
"0.6235"
],
[
"0.12177",
"0.6216",
"0.486",
"0.6216",
"0.486",
"0.632",
"0.12177",
"0.632"
],
[
"0.5156",
"0.6274",
"0.6616",
"0.6274",
"0.6616",
"0.638",
"0.5156",
"0.638"
],
[
"0.12006",
"0.637",
"0.4878",
"0.637",
"0.4878",
"0.651",
"0.12006",
"0.651"
],
[
"0.12006",
"0.652",
"0.486",
"0.652",
"0.486",
"0.665",
"0.12006",
"0.665"
],
[
"0.513",
"0.655",
"0.6055",
"0.655",
"0.6055",
"0.6694",
"0.513",
"0.6694"
],
[
"0.1184",
"0.6685",
"0.492",
"0.6694",
"0.492",
"0.684",
"0.1184",
"0.683"
],
[
"0.5156",
"0.676",
"0.882",
"0.676",
"0.882",
"0.6895",
"0.5156",
"0.6895"
],
[
"0.12006",
"0.686",
"0.4878",
"0.686",
"0.4878",
"0.6997",
"0.12006",
"0.6997"
],
[
"0.5146",
"0.6914",
"0.882",
"0.6914",
"0.882",
"0.705",
"0.5146",
"0.705"
],
[
"0.1184",
"0.7007",
"0.486",
"0.7007",
"0.486",
"0.7144",
"0.1184",
"0.7144"
],
[
"0.513",
"0.708",
"0.8364",
"0.707",
"0.8364",
"0.7217",
"0.513",
"0.7227"
],
[
"0.12177",
"0.7197",
"0.4878",
"0.7197",
"0.4878",
"0.73",
"0.12177",
"0.73"
],
[
"0.5146",
"0.7246",
"0.9985",
"0.7246",
"0.9985",
"0.7383",
"0.5146",
"0.7383"
],
[
"0.12006",
"0.7354",
"0.1931",
"0.7354",
"0.1931",
"0.7466",
"0.12006",
"0.7466"
],
[
"0.5146",
"0.741",
"0.882",
"0.741",
"0.882",
"0.755",
"0.5146",
"0.755"
],
[
"0.1377",
"0.7505",
"0.4878",
"0.7505",
"0.4878",
"0.764",
"0.1377",
"0.764"
],
[
"0.5146",
"0.7573",
"0.748",
"0.7573",
"0.748",
"0.771",
"0.5146",
"0.771"
],
[
"0.1184",
"0.7656",
"0.4878",
"0.7666",
"0.4878",
"0.78",
"0.1184",
"0.7793"
],
[
"0.12006",
"0.783",
"0.4895",
"0.783",
"0.4895",
"0.7964",
"0.12006",
"0.7964"
],
[
"0.519",
"0.783",
"0.86",
"0.783",
"0.86",
"0.7964",
"0.519",
"0.7964"
],
[
"0.854",
"0.785",
"0.882",
"0.785",
"0.882",
"0.7935",
"0.854",
"0.7935"
],
[
"0.1184",
"0.799",
"0.4895",
"0.799",
"0.4895",
"0.8125",
"0.1184",
"0.8125"
],
[
"0.5156",
"0.799",
"0.882",
"0.799",
"0.882",
"0.8125",
"0.5156",
"0.8125"
],
[
"0.12177",
"0.8164",
"0.4878",
"0.8164",
"0.4878",
"0.8267",
"0.12177",
"0.8267"
],
[
"0.517",
"0.8164",
"0.881",
"0.8164",
"0.881",
"0.8267",
"0.517",
"0.8267"
],
[
"0.11755",
"0.8306",
"0.4895",
"0.83",
"0.4895",
"0.844",
"0.11755",
"0.8457"
],
[
"0.5146",
"0.833",
"0.882",
"0.833",
"0.882",
"0.8433",
"0.5146",
"0.8433"
],
[
"0.1184",
"0.8486",
"0.4895",
"0.8467",
"0.4895",
"0.86",
"0.1184",
"0.8623"
],
[
"0.5156",
"0.847",
"0.8833",
"0.847",
"0.8833",
"0.861",
"0.5156",
"0.861"
],
[
"0.5156",
"0.8633",
"0.881",
"0.8633",
"0.881",
"0.877",
"0.5156",
"0.877"
],
[
"0.1394",
"0.8706",
"0.486",
"0.8716",
"0.486",
"0.8857",
"0.1394",
"0.8853"
],
[
"0.1184",
"0.883",
"0.4895",
"0.8843",
"0.4895",
"0.8984",
"0.1184",
"0.898"
],
[
"0.5156",
"0.88",
"0.882",
"0.88",
"0.882",
"0.8936",
"0.5156",
"0.8936"
],
[
"0.1184",
"0.8965",
"0.4358",
"0.8955",
"0.4358",
"0.909",
"0.1184",
"0.91"
],
[
"0.5146",
"0.8945",
"0.885",
"0.8955",
"0.885",
"0.91",
"0.5146",
"0.909"
]
] | [
"Data",
"Total",
"NE",
"翻转来创建未附尾的示例,并将原始(Literal,",
"Simile",
"",
"600",
"300",
"300",
"613",
"307",
"306",
"Simile)对用作附尾。例如,在现有的上下文",
"Metaphon",
"SIGN2000",
"2.000",
"1867",
"假设对表达Entailment的情况下-“以这种方式",
"IronyMeaning",
"133",
"4,762",
"4.762",
"上台的普通公民就像绿色的月亮。“→”以这",
"4,6012,2122,389",
"Sim-Hint",
"IronyIntention",
"种方式掌权的普通公民是前所未有的“-我们",
":Dataset statistics and class distribution, En-",
"将“前所未有”更改为“普通”,使其成为一对",
"非附庸(NE)实例",
"Table 2:",
"tailment (E) and Not-Entailment (NE) for each type of",
"figurative language",
"3.2Metaphor",
"2Related Work",
"隐喻表达深刻的感情和复杂的态度(?)。理解",
"隐喻需要理解抽象概念,并在看似无关的想法",
"我们遵循最近的工作,通过评估RTE模型捕",
"之间建立联系,以适当地偏离字面意思(????)",
"获特定语言现象的程度来测试RTE系统E(?)",
"",
"在生成隐喻释义时,?创建了一个包含150",
"中扩展的推理模式范围,例如语用推理E(?):",
"个字面句子的多样化测试集,这些句子来自不",
"真实性E(?)等E(???????????)",
"同的领域和体裁,并要求两名专家注释员创建",
"我们不是第一个在RTE中探索比喻语言的",
"隐喻句子,总共产生了300个隐喻示例。专家",
"人。?分析了PascalRTE-1E(?)和RTE-2E(?)",
"注释者通过将字面动词替换为隐喻动词来独立",
"数据集中需要理解隐喻的示例,?为RTE系统",
"地重新构造字面句子。例如,一位专家将字面",
"提供了一种处理隐喻的方法。?的各种RTE数",
"句子“The taxcutwillhelptheeconomy”重新",
"据集集合包括基于比喻语言的示例,但仅侧重",
"构造为“The tax cutwillfertilize the economy",
"于识别双关语",
"由于最常见的隐喻类型是由动词E(??)表示",
"的,因此这些字面和隐喻释义仅因其使用的动",
"3DatasetCreation",
"词而异。在RTE框架中,我们将这些隐喻-文字",
"对视为包含上下文假设的示例。为了创建未尾",
"我们创建了专注于比喻,隐喻和刺的RTE测",
"示例,我们通过手动将附带假设中的文字动词",
"试集。我们为这些类型的比喻语言提供了进",
"-",
"与其反义词交换来生成假设。请注意,对于明",
"步的背景,并描述了用于创建这些测试集的方",
"喻和隐喻,使用可用词典进行自动替换是有问",
"法。Table2报告最终测试集的统计信息",
"题的,因为它通常会导致不语法的句子。用其",
"3.1 Simile",
"反义词手动替换单词可确保高质量的测试集。",
"我们使用反义词为包含中性和矛盾类的Simile",
"比较是表达两个实体,概念或想法的相似性的",
"和Metaphors创建无结尾的示例。使用反义词",
"固有语言设备。比喻使用时,比较称为比喻。通",
"进行这种词汇替换显然会导致更高质量的矛盾",
"过使描述更加强调或生动,可以使用Simils激",
"示例创建。相反,通过词汇扰动创建中性示例",
"发读者的想象力E(?)。相似使用一个共同的属",
"具有挑战性,如果处理不当,可能会导致语法",
"性来比较两个通常被称为主题(逻辑主题)和",
"错误或句子不连贯",
"车辆(比较的逻辑对象)的概念。。例如,在“爱",
"就像独角兽”的比喻中,爱(TOPIC)被比作独",
"3.3Irony",
"角兽(VEHICLE),描绘了“稀有”的隐含属性。。",
"使用讽刺时,说话者通常意味着与他们",
"最近,?发布了来自subredditsr/WritingPrompts",
"所说的相反国(??)。Wedevelopdifferenttest",
"和r/Funny的150个字面句子的测试集,每个",
"setsfocusingonwhethertheRTEmodelsshoul-",
"句子都与两个带有保留原始含义的明喻的人写",
"dunderstandtheconveyedmeaningofironicexamplesorshouldidentif",
"释义对齐",
"sironicintent(i。e。,确定话语是否具有讽刺意",
"要创建专注于明喻的RTE测试集,我们将这",
"味)假设说话者具有讽刺意味",
"些明喻对齐的句子视为包含上下文假设对。给",
"定文字输人“They had shut him in a basement",
"Understanding Ironic Meaning (IMeaning)",
"?",
"that looked dangerously claustrophobic”,专家",
"使用熟练的注释者在带有语言讽刺的推文和它",
"注释器将其重新构造为“Theyhadshuthimina",
"们的非讽刺措辞(15K对)之间创建了一个并",
"basement that looked like a freight elevator\"。2我",
"行数据集。注释者还可以选择复制原始推文或",
"们通过将字面动词/属性与它们各自的反义词",
"只是对其进行解释,以防讽刺的意图不容易识",
"别。同样,?发布了一个并行数据集,其中包",
"2Note, such re-framing task (content generation task) does",
"not involve assigning a label to a text fragment, thus, comput-",
"含说话者的讽刺信息(Sim)和听众对说话者",
"ing inter-annotator agreement is not applicable here.",
"意图的解释(Hint)。此数据集(Sim-Hint)"
] | {
"arxiv_id": "2106.01195",
"language": "zh",
"page_idx": 1
} |
||
2106.01195-zh-3 | 2106.01195-zh-3.jpg | <table>
<tbody>
<tr>
<th> </th>
<th> </th>
<th> </th>
<th>Gold</th>
<th>Pred</th>
</tr>
<tr>
<td rowspan="3">Simile</td>
<td>一</td>
<td>Your guardian angel is just a little too much like a nerd at a comic convention . Your guardian angel is just a little too enthusiastic</td>
<td>$√$</td>
<td>$X$</td>
</tr>
<tr>
<td>$D$</td>
<td>Growing up, people always thought you were like a social pariah . Growing up, people always thought you were ordinary</td>
<td>$x$</td>
<td>$√$</td>
</tr>
<tr>
<td>$D$</td>
<td>They all agree the books are good reads, but they are like pseudo science fiction . They all agree the books are good reads, but they are too unrealistic .</td>
<td>$√$</td>
<td>$x$</td>
</tr>
<tr>
<td rowspan="3">$\mathbf{Metaphor}$</td>
<td>$D$</td>
<td>The smell of smoke carpeted on the delinquent The smell of smoke took off on the delinquent</td>
<td>$X$</td>
<td>$\checkmark$</td>
</tr>
<tr>
<td>$D$</td>
<td>As they strike the ground, they are effaced . As they strike the ground, they are remembered</td>
<td>$X$</td>
<td>$√$</td>
</tr>
<tr>
<td>$D$</td>
<td>The avalanche polvarized anything standing in its way The avalanche protected anything standing in its way.</td>
<td>$X$</td>
<td>$\checkmark$</td>
</tr>
<tr>
<td rowspan="3">Irony</td>
<td>一</td>
<td>Life was never been perfect and would never be. Life has never been perfect and would never be</td>
<td>$√$</td>
<td>$X$</td>
</tr>
<tr>
<td>$D$</td>
<td>The highlight of my day figuring out how to make contact sheets...such a boring life. My entire day was occupied in making contact sheets in design such a waste.</td>
<td>$√$</td>
<td>$X$</td>
</tr>
<tr>
<td>$D$</td>
<td>Gotta read 70ish+ pages today# great# mysundayfunday# thisshouldbefun. I have to read 70ish+ pages today. This is bad.</td>
<td>$X$</td>
<td>$\checkmark$</td>
</tr>
</tbody>
</table>
Table 5: Examples from our Simile, Metaphor, and Irony datasets where Roberta-large fine-tuned on MNLI fails to classify the sentence pairs correctly. Gold and Pred means the true label and the predicted label respectively. > indicates a context and the following sentence is its corresponding hypothesis. $\checkmark$ and $X$ respectively indicate that the context entails, or does not entail the hypothesis.
如,RoBERTa-large 错误地预测了上下文“你有一天早上醒来,发现你的整个家庭都像灰色的水泥板一样躺着”并不意味着假设“你有一天早上醒来,发现你的整个家庭都在无意识地躺着”。。尽管如此,RoBERTA-large 正确地预测到,“我的眼睛像成熟的西红柿一样撕裂了...”需要“我的眼睛撕裂了...的脸变成红色”。我们假设 RoBERTa-large 能够识别“成熟番茄” 和“红色”之间的关联,从而得出正确的预测Metaphor. 我们注意到 RoBERTa-large 在遇到非常规隐喻时会做出错误的预测(表5)。隐喻被认为是非常规的,具体取决于“普通人在日常用途中日常使用的隐喻有多陈旧或根深蒂固”(2)。例如,对于非常规的(隐喻的,字面的) 对,“夜空充斥着大规模的轰炸” $\to$“夜空充斥着大规模的轰炸”(i。e。,“慌乱”$\leftrightarrow$ “倾倒”)模型失败。相反,该模型正确地预测了以下常规(隐喻,文字)对-“突然的名声点燃了她的自我” $\to$“ . . . 增 加 了 她 的 自 我 ” ( i。e。,点燃了“$\leftrightarrow”$增加了“)
的”)来表示预期的含义。因此,反义词的存在可能足以使 RoBERTa 正确地预测该假设不受上下文的影响
但是,对于通过更复杂的重新措辞表示预期含义的假设,这并不成立。?对注释者用于重新措辞任务的语言策略进行了深人研究。他们提出了一种语言动机的策略类型(例如。g。,“词汇和短语反义词”,“否定”,“减弱情绪强度”,“对声明性转换的疑问”,“反事实的期望构造”和“语用推理”),并在$SIGN$和$\mathcal{S}_{im}\text{-H}_{int}\text{ 数据集上对策略进行了经验验证。}^{6}$ 在我们的分析中,我们观察到,对于 RoBERTa 预测错误的绝大多数情况,这些示例包含修辞问题 (“生日那天有决赛吗?” $\leftrightarrow$“不喜欢决赛$\ldots”)$,务实的推论(“本月 $174...,我很高兴我有游艇!”。我们还观察到,当具有讽刺意味的消息包含某些具有讽刺意味的标记(?)时, RoBERTA- large 的预测通常是不正确的,例如隐喻 (“鞋闻起来像玫瑰花床” $\leftrightarrow$“闻起来很难闻”),说话者经常夸大讽刺事件的大小(“高跟鞋跳舞是 grrrrreat" $\leftrightarrow$“XMAT
$\mathbf{Simile. }$ 同样,对于明喻数据集,我们注意到RoBERTa-large 通常无法通过有关物理和视觉世界知识的隐式知识进行推理(表5)。这与?的发现一致,即基于变压器的上下文语言模型无法很好地捕获基于视觉感知的知识。例
$^{6}$https://github.com/debanjanghosh/interpreting\_verbal\_irony 能够捕获比喻语言的某些方面,但当解释需要
### 6 $\mathbf{Conclusion}$
为了了解 RTE 模型的比喻语言推理能力,我们介绍了从现有语料库改编的数据集,重点是比喻,隐喻和讽刺。通过测试在 MNLI 上训练的模型,我们发现,尽管 RoBERTa-large 模型 | [
[
"0.7866",
"0.0748",
"0.8345",
"0.0748",
"0.8345",
"0.08905",
"0.7866",
"0.08905"
],
[
"0.8345",
"0.076",
"0.876",
"0.076",
"0.876",
"0.08905",
"0.8345",
"0.08905"
],
[
"0.251",
"0.09265",
"0.3477",
"0.09265",
"0.3477",
"0.1027",
"0.251",
"0.1027"
],
[
"0.34",
"0.09143",
"0.7197",
"0.09143",
"0.7197",
"0.10156",
"0.34",
"0.10156"
],
[
"0.7886",
"0.0968",
"0.806",
"0.0968",
"0.806",
"0.11224",
"0.7886",
"0.11224"
],
[
"0.846",
"0.0956",
"0.86",
"0.1051",
"0.846",
"0.114",
"0.833",
"0.1051"
],
[
"0.2494",
"0.1069",
"0.552",
"0.1069",
"0.552",
"0.11755",
"0.2494",
"0.11755"
],
[
"0.2477",
"0.12054",
"0.6484",
"0.12054",
"0.6484",
"0.1342",
"0.2477",
"0.1342"
],
[
"0.1276",
"0.1271",
"0.1738",
"0.1271",
"0.1738",
"0.1414",
"0.1276",
"0.1414"
],
[
"0.7866",
"0.1259",
"0.804",
"0.1259",
"0.804",
"0.1426",
"0.7866",
"0.1426"
],
[
"0.839",
"0.1271",
"0.8564",
"0.1271",
"0.8564",
"0.1414",
"0.839",
"0.1414"
],
[
"0.2468",
"0.1354",
"0.58",
"0.1354",
"0.58",
"0.1484",
"0.2468",
"0.1484"
],
[
"0.2477",
"0.1497",
"0.738",
"0.1497",
"0.738",
"0.1633",
"0.2477",
"0.1633"
],
[
"0.7866",
"0.155",
"0.806",
"0.155",
"0.806",
"0.1729",
"0.7866",
"0.1729"
],
[
"0.839",
"0.155",
"0.8564",
"0.158",
"0.852",
"0.1733",
"0.8345",
"0.1704"
],
[
"0.2451",
"0.1633",
"0.663",
"0.165",
"0.663",
"0.1787",
"0.2451",
"0.177"
],
[
"0.2477",
"0.1812",
"0.5366",
"0.1812",
"0.5366",
"0.1948",
"0.2477",
"0.1948"
],
[
"0.7866",
"0.1859",
"0.804",
"0.1859",
"0.804",
"0.2019",
"0.7866",
"0.2019"
],
[
"0.8423",
"0.1882",
"0.8555",
"0.1882",
"0.8555",
"0.1996",
"0.8423",
"0.1996"
],
[
"0.2477",
"0.1965",
"0.529",
"0.1965",
"0.529",
"0.2073",
"0.2477",
"0.2073"
],
[
"0.2477",
"0.2102",
"0.511",
"0.2102",
"0.511",
"0.2239",
"0.2477",
"0.2239"
],
[
"0.7866",
"0.2156",
"0.804",
"0.2156",
"0.804",
"0.2322",
"0.7866",
"0.2322"
],
[
"0.8447",
"0.2144",
"0.858",
"0.2197",
"0.848",
"0.2322",
"0.8364",
"0.2268"
],
[
"0.2494",
"0.2245",
"0.538",
"0.2245",
"0.538",
"0.2382",
"0.2494",
"0.2382"
],
[
"0.1293",
"0.2173",
"0.1914",
"0.2173",
"0.1914",
"0.2286",
"0.1293",
"0.2286"
],
[
"0.2451",
"0.2369",
"0.5786",
"0.2393",
"0.5786",
"0.2542",
"0.2451",
"0.2517"
],
[
"0.7866",
"0.2446",
"0.804",
"0.2446",
"0.804",
"0.2612",
"0.7866",
"0.2612"
],
[
"0.839",
"0.2452",
"0.8564",
"0.2452",
"0.8564",
"0.26",
"0.839",
"0.26"
],
[
"0.2451",
"0.253",
"0.571",
"0.2542",
"0.571",
"0.2673",
"0.2451",
"0.2666"
],
[
"0.2468",
"0.2695",
"0.5415",
"0.2695",
"0.5415",
"0.2798",
"0.2468",
"0.2798"
],
[
"0.7866",
"0.275",
"0.806",
"0.275",
"0.806",
"0.2915",
"0.7866",
"0.2915"
],
[
"0.837",
"0.2756",
"0.8555",
"0.2756",
"0.8555",
"0.2903",
"0.837",
"0.2903"
],
[
"0.2451",
"0.284",
"0.538",
"0.284",
"0.538",
"0.2976",
"0.2451",
"0.2976"
],
[
"0.1276",
"0.3027",
"0.1696",
"0.3071",
"0.1646",
"0.3225",
"0.12427",
"0.3184"
],
[
"0.2451",
"0.2986",
"0.771",
"0.2998",
"0.771",
"0.3135",
"0.2451",
"0.3123"
],
[
"0.7886",
"0.306",
"0.8037",
"0.306",
"0.8037",
"0.3176",
"0.7886",
"0.3176"
],
[
"0.839",
"0.3047",
"0.8564",
"0.3047",
"0.8564",
"0.3218",
"0.839",
"0.3218"
],
[
"0.2468",
"0.3142",
"0.714",
"0.3142",
"0.714",
"0.328",
"0.2468",
"0.328"
],
[
"0.2477",
"0.3289",
"0.712",
"0.3289",
"0.712",
"0.3425",
"0.2477",
"0.3425"
],
[
"0.2167",
"0.3403",
"0.2241",
"0.3403",
"0.2241",
"0.3457",
"0.2167",
"0.3457"
],
[
"0.7886",
"0.3374",
"0.8037",
"0.3374",
"0.8037",
"0.3486",
"0.7886",
"0.3486"
],
[
"0.2468",
"0.3433",
"0.531",
"0.3433",
"0.531",
"0.357",
"0.2468",
"0.357"
],
[
"0.12006",
"0.3694",
"0.881",
"0.3694",
"0.881",
"0.3801",
"0.12006",
"0.3801"
],
[
"0.12177",
"0.3855",
"0.879",
"0.3855",
"0.879",
"0.3955",
"0.12177",
"0.3955"
],
[
"0.1184",
"0.398",
"0.882",
"0.398",
"0.882",
"0.411",
"0.1184",
"0.411"
],
[
"0.12177",
"0.4146",
"0.4685",
"0.4146",
"0.4685",
"0.4246",
"0.12177",
"0.4246"
],
[
"0.12006",
"0.4531",
"0.4895",
"0.4531",
"0.4895",
"0.466",
"0.12006",
"0.466"
],
[
"0.5146",
"0.452",
"0.8833",
"0.452",
"0.8833",
"0.4656",
"0.5146",
"0.4656"
],
[
"0.12006",
"0.4685",
"0.4878",
"0.4685",
"0.4878",
"0.4822",
"0.12006",
"0.4822"
],
[
"0.5156",
"0.4685",
"0.881",
"0.4685",
"0.881",
"0.4822",
"0.5156",
"0.4822"
],
[
"0.12006",
"0.485",
"0.2494",
"0.485",
"0.2494",
"0.4988",
"0.12006",
"0.4988"
],
[
"0.5156",
"0.485",
"0.864",
"0.485",
"0.864",
"0.4988",
"0.5156",
"0.4988"
],
[
"0.1377",
"0.502",
"0.4878",
"0.502",
"0.4878",
"0.5156",
"0.1377",
"0.5156"
],
[
"0.5156",
"0.5005",
"0.881",
"0.5005",
"0.881",
"0.514",
"0.5156",
"0.514"
],
[
"0.12006",
"0.5186",
"0.4878",
"0.5186",
"0.4878",
"0.532",
"0.12006",
"0.532"
],
[
"0.5156",
"0.517",
"0.882",
"0.517",
"0.882",
"0.531",
"0.5156",
"0.531"
],
[
"0.12177",
"0.535",
"0.4895",
"0.535",
"0.4895",
"0.549",
"0.12177",
"0.549"
],
[
"0.5156",
"0.533",
"0.881",
"0.533",
"0.881",
"0.5464",
"0.5156",
"0.5464"
],
[
"0.12177",
"0.5503",
"0.4878",
"0.5503",
"0.4878",
"0.564",
"0.12177",
"0.564"
],
[
"0.529",
"0.55",
"0.882",
"0.55",
"0.882",
"0.5635",
"0.529",
"0.5635"
],
[
"0.12177",
"0.568",
"0.4878",
"0.568",
"0.4878",
"0.5806",
"0.12177",
"0.5806"
],
[
"0.5156",
"0.5654",
"0.882",
"0.5654",
"0.882",
"0.579",
"0.5156",
"0.579"
],
[
"0.12006",
"0.583",
"0.4878",
"0.583",
"0.4878",
"0.5967",
"0.12006",
"0.5967"
],
[
"0.5146",
"0.5806",
"0.882",
"0.5806",
"0.882",
"0.594",
"0.5146",
"0.594"
],
[
"0.12006",
"0.5986",
"0.4878",
"0.5986",
"0.4878",
"0.6123",
"0.12006",
"0.6123"
],
[
"0.1184",
"0.6143",
"0.4895",
"0.6123",
"0.4895",
"0.627",
"0.1184",
"0.629"
],
[
"0.5205",
"0.61",
"0.882",
"0.61",
"0.882",
"0.6235",
"0.5205",
"0.6235"
],
[
"0.12006",
"0.63",
"0.4895",
"0.629",
"0.4895",
"0.6436",
"0.12006",
"0.6445"
],
[
"0.5146",
"0.626",
"0.881",
"0.626",
"0.881",
"0.6396",
"0.5146",
"0.6396"
],
[
"0.12006",
"0.6465",
"0.4878",
"0.6455",
"0.4878",
"0.66",
"0.12006",
"0.661"
],
[
"0.5146",
"0.6436",
"0.882",
"0.6436",
"0.882",
"0.6567",
"0.5146",
"0.6567"
],
[
"0.12006",
"0.662",
"0.4878",
"0.662",
"0.4878",
"0.676",
"0.12006",
"0.676"
],
[
"0.517",
"0.659",
"0.882",
"0.659",
"0.882",
"0.673",
"0.517",
"0.673"
],
[
"0.12427",
"0.677",
"0.4878",
"0.6777",
"0.4878",
"0.6924",
"0.12427",
"0.6914"
],
[
"0.5146",
"0.6733",
"0.881",
"0.6733",
"0.881",
"0.687",
"0.5146",
"0.687"
],
[
"0.1184",
"0.695",
"0.486",
"0.695",
"0.486",
"0.708",
"0.1184",
"0.708"
],
[
"0.5146",
"0.6914",
"0.882",
"0.6914",
"0.882",
"0.705",
"0.5146",
"0.705"
],
[
"0.12006",
"0.7114",
"0.4844",
"0.7114",
"0.4844",
"0.7246",
"0.12006",
"0.7246"
],
[
"0.5156",
"0.707",
"0.881",
"0.707",
"0.881",
"0.72",
"0.5156",
"0.72"
],
[
"0.12006",
"0.728",
"0.4878",
"0.728",
"0.4878",
"0.741",
"0.12006",
"0.741"
],
[
"0.5146",
"0.7227",
"0.882",
"0.7227",
"0.882",
"0.7363",
"0.5146",
"0.7363"
],
[
"0.12006",
"0.742",
"0.486",
"0.742",
"0.486",
"0.756",
"0.12006",
"0.756"
],
[
"0.519",
"0.7393",
"0.882",
"0.7393",
"0.882",
"0.753",
"0.519",
"0.753"
],
[
"0.513",
"0.7544",
"0.882",
"0.7544",
"0.882",
"0.767",
"0.513",
"0.767"
],
[
"0.12177",
"0.7603",
"0.4878",
"0.7603",
"0.4878",
"0.774",
"0.12177",
"0.774"
],
[
"0.511",
"0.7695",
"0.75",
"0.7686",
"0.75",
"0.786",
"0.511",
"0.7876"
],
[
"0.12006",
"0.7754",
"0.3914",
"0.7754",
"0.3914",
"0.789",
"0.12006",
"0.789"
],
[
"0.1234",
"0.804",
"0.486",
"0.804",
"0.486",
"0.818",
"0.1234",
"0.818"
],
[
"0.517",
"0.807",
"0.5283",
"0.807",
"0.5283",
"0.814",
"0.517",
"0.814"
],
[
"0.5474",
"0.804",
"0.6455",
"0.804",
"0.6455",
"0.8154",
"0.5474",
"0.8154"
],
[
"0.12006",
"0.821",
"0.4878",
"0.821",
"0.4878",
"0.8345",
"0.12006",
"0.8345"
],
[
"0.5156",
"0.83",
"0.882",
"0.8306",
"0.882",
"0.8457",
"0.5156",
"0.844"
],
[
"0.12006",
"0.836",
"0.4878",
"0.835",
"0.4878",
"0.8486",
"0.12006",
"0.8496"
],
[
"0.12006",
"0.8525",
"0.486",
"0.8525",
"0.486",
"0.866",
"0.12006",
"0.866"
],
[
"0.5156",
"0.847",
"0.882",
"0.847",
"0.882",
"0.861",
"0.5156",
"0.861"
],
[
"0.513",
"0.8633",
"0.881",
"0.8633",
"0.881",
"0.877",
"0.513",
"0.877"
],
[
"0.12177",
"0.8706",
"0.486",
"0.8706",
"0.486",
"0.8813",
"0.12177",
"0.8813"
],
[
"0.5156",
"0.879",
"0.882",
"0.879",
"0.882",
"0.8936",
"0.5156",
"0.8936"
],
[
"0.1394",
"0.8955",
"0.882",
"0.8945",
"0.882",
"0.909",
"0.1394",
"0.91"
]
] | [
"Gold",
"Pred",
"Yourguardiana",
"angelisjustalittletoomuchlikeanerdatacomicconvention",
"V",
"+",
"Your guardian angel is just a little too enthusiastic",
"Growing up, people always thought you were like a social pariah",
"Simile",
"x",
"V",
"Growing up,people always thought you were ordinary",
"They all agree the books are good reads, but they are like pseudo science fiction",
"V",
"X",
"They all agree the books are good reads, but they are too unrealistic",
"The smell of smoke carpeted on the delinquent.",
"x",
"1",
"The smell of smoke took off on the delinquent",
"As they strike the ground, they are effaced",
"x",
"1",
"As they strike the ground, they are remembered",
"Metaphor",
"The avalanche polvarized anything standing in its way",
"x",
"V",
"The avalanche protected anything standing in its way",
"Life was never beenperfectand would never be",
"V",
"x",
"Life has never been perfect and would never be.",
"Irony",
"The highlight of my day figuring out how to make contact sheets ... such a boring life.",
"V",
"x",
"My entire day was occupied in making contact sheets in design such a waste.",
"Gotta read 70ish+ pages today # great # mysundayfunday # thisshouldbefun",
"",
"x",
"I have to read 70ish+ pages today. This is bad.",
"Table 5: Examples from our Simile, Metaphor, and Irony datasets where Roberta-large fine-tuned on MNLI fails",
"to classify the sentencepairs correctly.Gold andPred means thetruelabel and thepredicted labelrespectively.",
"indicates a context and the following sentence is its corresponding hypothesis. and X respectively indicate that",
"thecontextentails,ordoesnotentailthehypothesis",
"的”)来表示预期的含义。因此,反义词的存",
"如,RoBERTa-large错误地预测了上下文“你",
"在可能足以使RoBERTa正确地预测该假设不",
"有一天早上醒来,发现你的整个家庭都像灰色",
"受上下文的影响",
"的水泥板一样躺着”并不意味着假设“你有",
"但是,对于通过更复杂的重新措辞表示预",
"天早上醒来,发现你的整个家庭都在无意识地",
"期含义的假设,这并不成立。?对注释者用",
"躺着”。。尽管如此,RoBERTA-large正确地预",
"于重新措辞任务的语言策略进行了深入研究。",
"测到,“我的眼晴像成熟的西红柿一样撕裂了",
"他们提出了一种语言动机的策略类型(例如。",
".”需要“我的眼晴撕裂了...的脸变成红色”。",
"g。,“词汇和短语反义词”,“否定”,“减弱情",
"我们假设RoBERTa-large能够识别“成熟番茄”",
"绪强度”,“对声明性转换的疑问”,“反事实的",
"和“红色”之间的关联,从而得出正确的预测",
"期望构造”和“语用推理”),并在SIGN和",
"Sim-H int数据集上对策略进行了经验验证。6",
"Metaphor.我们注意到RoBERTa-large在遇",
"在我们的分析中,我们观察到,对于RoBERTa",
"到非常规隐喻时会做出错误的预测(表5)。隐",
"预测错误的绝大多数情况,这些示例包含修辞",
"喻被认为是非常规的,具体取决于“普通人在",
"问题(“生日那天有决赛吗?\"“不喜欢决赛",
"日常用途中日常使用的隐喻有多陈旧或根深蒂",
"..”),务实的推论(“本月$174….,我很高",
"固”(?)。例如,对于非常规的(隐喻的,字面",
"兴我有游艇!”。我们还观察到,当具有讽刺意",
"的)对,“夜空充斥着大规模的轰炸”→“夜",
"味的消息包含某些具有讽刺意味的标记(?)时",
"空充斥着大规模的轰炸”(i。e。,“慌乱”>",
"RoBERTA-large的预测通常是不正确的,例如",
"“倾倒”)模型失败。相反,该模型正确地预测",
"隐喻(“鞋闻起来像玫瑰花床”“闻起来很",
"了以下常规(隐喻,文字)对-“突然的名声点",
"燃了她的自我”一→“..增加了她的自我”(i。",
"难闻”),说话者经常夸大讽刺事件的大小(“高",
"e。,点燃了“”增加了“)",
"跟鞋跳舞是grrrreat”→“XMAT",
"Simile.同样,对于明喻数据集,我们注意到",
"b",
"Conclusion",
"RoBERTa-large通常无法通过有关物理和视觉",
"为了了解RTE模型的比喻语言推理能力,我",
"世界知识的隐式知识进行推理(表5)。这与",
"?的发现一致,即基于变压器的上下文语言",
"们介绍了从现有语料库改编的数据集,重点是",
"比喻,隐喻和讽刺。通过测试在MNLI上训练",
"模型无法很好地捕获基于视觉感知的知识。例",
"的模型,我们发现,尽管RoBERTa-large模型",
"‘https://github.com/debanjanghosh/interpreting_verbal_irony能够捕获比喻语言的某些方面,但当解释需要"
] | {
"arxiv_id": "2106.01195",
"language": "zh",
"page_idx": 3
} |
||
1809.01361-zh-0 | 1809.01361-zh-0.jpg | 一种用于多域图像转换和操作的统一特征解纠缠器
Alexander H. Liu$^{1}$ Yen-Cheng Liu$^{2}$ Yu-Ying Yeh$^{3}$ Yu-Chiang Frank Wang$^{1,4}$
$^{1}$National Taiwan University, Taiwan
$^{2}$Georgia Institute of Technology, USA$\:^3$University of California, San Diego, USA $^{4}$MOST Joint Research Center for AI Technology and All Vista Healthcare, Taiwan
[email protected], [email protected] [email protected], [email protected]
# Abstract
We present a novel and unified deep learning framework which is capable of learning domain-invariant representation from data across multiple domains. Realized by adversarial training with additional ability to exploit domain-specific information, the proposed network is able to perform continuous cross-domain image translation and manipulation, and produces desirable output images accordingly. In addition, the resulting feature representation exhibits superior performance of unsupervised domain adaptation, which also verifies the effectiveness of the proposed model in learning disentangled features for describing cross-domain data.
1 Introduction
学习可解释特征表示一直是计算机视觉和机器学习领域的活跃研究课题。特别是,学习深度表示能够利用不同数据域之间的数据之间的关系已经引起了研究人员的关注。深度学习技术的最新发展表明,跨域视觉分类 [6,26,27] 和跨域图像翻译 [10,24,30,11,28,17,16,4] 的任务取得了进展。虽然这些任务通常学习从一个域到另一个域的特征映射或跨域导出联合表示,但开发的模型在处理特定特征属性以恢复跨域数据方面的能力有限
为了理解和描述跨不同数据域的底层解释因素,跨域表示解纠缠旨在导出一个联合潜在特征空间,其中选定的特征维度将表示特定的语义信息[l]。一旦学习了跨域的这种分离表示,就可以相应地描述和操纵任一域中数据的感兴趣属性。尽管最近的工作$\mathbb{E}[18]$ 在上述任务中表现出了有希望的能力,但当需要两个以上的数据域或多个特征属性时,现有模型的设计通常需要很高的计算成本。为了跨多个数据域执行联合特征解纠缠和转换,我们提出了一种紧凑但有效的 Uniffed Feature Disentanglement Network (UFDN) 模型,该模型由一对统一的编码器和生成器组成,如图$\boxed{\mathrm{E}}1$ 所示。从该图可以看出,我们的编码器将来自多个域的数据实例作为输入,并且通过对抗性训练得出域不变的潜在特征空间,然后是生成器/解码器,该生成器/解码器跨域恢复或转换数据。我们的模型能够理清代表特定领域信息的潜在因素 (例如。g。域代码、感兴趣的属性等。)。这是通过我们的生成器的联合学习来实现的。一旦观察到解开的域因子,就可以简单地合成和操纵感兴趣的图像作为输出
在实验的后期,我们表明,在无监督域自适应的任务中,使用我们派生的潜在表示比最先进的方法实现了显着改进。除了在多域图像到图像转换中非常有希望的结果之外,我们进一步确认我们的 UFDN 能够在产生的潜在空间中使用插值域代码执行连续图像转换。我们提出的方法和数据集的实现现在可用$^{1}$
本文的贡献如下:
$^{1}$https: / / github. com/ Alexander- H- Liu/ UFDN
32nd Conference on Neural Information Processing Systems (NIPS 2018), Montréal, Canada | [
[
"0.1912",
"0.1307",
"0.8037",
"0.1307",
"0.8037",
"0.1459",
"0.1912",
"0.1459"
],
[
"0.1896",
"0.2039",
"0.3218",
"0.2039",
"0.3218",
"0.2172",
"0.1896",
"0.2172"
],
[
"0.353",
"0.2026",
"0.5034",
"0.202",
"0.5034",
"0.2166",
"0.353",
"0.2172"
],
[
"0.5024",
"0.2052",
"0.6045",
"0.2052",
"0.6045",
"0.2166",
"0.5024",
"0.2166"
],
[
"0.6167",
"0.2058",
"0.6313",
"0.2058",
"0.6313",
"0.2134",
"0.6167",
"0.2134"
],
[
"0.6313",
"0.2039",
"0.8203",
"0.2039",
"0.8203",
"0.2172",
"0.6313",
"0.2172"
],
[
"0.3816",
"0.2299",
"0.625",
"0.2317",
"0.625",
"0.2468",
"0.3816",
"0.2443"
],
[
"0.2157",
"0.2443",
"0.4756",
"0.2456",
"0.4756",
"0.26",
"0.2157",
"0.2588"
],
[
"0.5063",
"0.2456",
"0.789",
"0.2456",
"0.789",
"0.2588",
"0.5063",
"0.2588"
],
[
"0.2303",
"0.2588",
"0.777",
"0.2615",
"0.777",
"0.2747",
"0.2303",
"0.2727"
],
[
"0.3406",
"0.2886",
"0.665",
"0.2886",
"0.665",
"0.303",
"0.3406",
"0.303"
],
[
"0.343",
"0.3037",
"0.6626",
"0.3018",
"0.6626",
"0.315",
"0.343",
"0.3176"
],
[
"0.4631",
"0.3528",
"0.5376",
"0.3528",
"0.5376",
"0.3674",
"0.4631",
"0.3674"
],
[
"0.2361",
"0.387",
"0.7646",
"0.387",
"0.7646",
"0.3977",
"0.2361",
"0.3977"
],
[
"0.2345",
"0.3997",
"0.581",
"0.3997",
"0.581",
"0.4136",
"0.2345",
"0.4136"
],
[
"0.4878",
"0.4048",
"0.5",
"0.4028",
"0.501",
"0.4077",
"0.4885",
"0.4104"
],
[
"0.5767",
"0.401",
"0.763",
"0.401",
"0.763",
"0.411",
"0.5767",
"0.411"
],
[
"0.2361",
"0.4153",
"0.7646",
"0.4153",
"0.7646",
"0.4255",
"0.2361",
"0.4255"
],
[
"0.2336",
"0.4268",
"0.7646",
"0.428",
"0.7646",
"0.4414",
"0.2336",
"0.44"
],
[
"0.2345",
"0.4414",
"0.763",
"0.4414",
"0.763",
"0.455",
"0.2345",
"0.455"
],
[
"0.2345",
"0.455",
"0.7656",
"0.455",
"0.7656",
"0.4685",
"0.2345",
"0.4685"
],
[
"0.2361",
"0.4685",
"0.7656",
"0.4685",
"0.7656",
"0.4817",
"0.2361",
"0.4817"
],
[
"0.2336",
"0.4841",
"0.7524",
"0.4841",
"0.7524",
"0.4944",
"0.2336",
"0.4944"
],
[
"0.1724",
"0.526",
"0.3179",
"0.5264",
"0.3179",
"0.5415",
"0.1724",
"0.5405"
],
[
"0.1765",
"0.5596",
"0.8228",
"0.5596",
"0.8228",
"0.5728",
"0.1765",
"0.5728"
],
[
"0.1765",
"0.5737",
"0.822",
"0.5737",
"0.822",
"0.587",
"0.1765",
"0.587"
],
[
"0.1765",
"0.587",
"0.8228",
"0.587",
"0.8228",
"0.601",
"0.1765",
"0.601"
],
[
"0.1765",
"0.601",
"0.8228",
"0.601",
"0.8228",
"0.6143",
"0.1765",
"0.6143"
],
[
"0.1765",
"0.6157",
"0.714",
"0.6157",
"0.714",
"0.629",
"0.1765",
"0.629"
],
[
"0.1765",
"0.6353",
"0.8228",
"0.6353",
"0.8228",
"0.6484",
"0.1765",
"0.6484"
],
[
"0.1765",
"0.6484",
"0.6045",
"0.6484",
"0.6045",
"0.662",
"0.1765",
"0.662"
],
[
"0.614",
"0.6494",
"0.8228",
"0.6494",
"0.8228",
"0.6636",
"0.614",
"0.6636"
],
[
"0.1765",
"0.6636",
"0.8228",
"0.6636",
"0.8228",
"0.677",
"0.1765",
"0.677"
],
[
"0.1765",
"0.677",
"0.8228",
"0.677",
"0.8228",
"0.69",
"0.1765",
"0.69"
],
[
"0.1748",
"0.69",
"0.822",
"0.6914",
"0.822",
"0.705",
"0.1748",
"0.704"
],
[
"0.1887",
"0.705",
"0.822",
"0.705",
"0.822",
"0.7183",
"0.1887",
"0.7183"
],
[
"0.1765",
"0.7183",
"0.8228",
"0.7183",
"0.8228",
"0.732",
"0.1765",
"0.732"
],
[
"0.1765",
"0.732",
"0.8228",
"0.732",
"0.8228",
"0.7456",
"0.1765",
"0.7456"
],
[
"0.1765",
"0.747",
"0.822",
"0.747",
"0.822",
"0.7603",
"0.1765",
"0.7603"
],
[
"0.1772",
"0.7603",
"0.8228",
"0.7603",
"0.8228",
"0.7734",
"0.1772",
"0.7734"
],
[
"0.1765",
"0.7734",
"0.746",
"0.7734",
"0.746",
"0.787",
"0.1765",
"0.787"
],
[
"0.1765",
"0.7935",
"0.8228",
"0.7935",
"0.8228",
"0.8066",
"0.1765",
"0.8066"
],
[
"0.1765",
"0.808",
"0.808",
"0.808",
"0.808",
"0.8213",
"0.1765",
"0.8213"
],
[
"0.1748",
"0.8213",
"0.822",
"0.8213",
"0.822",
"0.8354",
"0.1748",
"0.8354"
],
[
"0.1765",
"0.8354",
"0.4248",
"0.8354",
"0.4248",
"0.8486",
"0.1765",
"0.8486"
],
[
"0.1765",
"0.856",
"0.2974",
"0.856",
"0.2974",
"0.869",
"0.1765",
"0.869"
],
[
"0.1978",
"0.8853",
"0.505",
"0.8853",
"0.505",
"0.8984",
"0.1978",
"0.8984"
],
[
"0.1765",
"0.9253",
"0.722",
"0.9253",
"0.722",
"0.936",
"0.1765",
"0.936"
]
] | [
"一种用于多域图像转换和操作的统一特征解纠缠器",
"Alexander H. Liul",
"Yen-Cheng Liu2",
"Yu-Ying Yeh3",
"",
"Yu-Chiang Frank Wangl,4",
"INational Taiwan University,Taiwan",
"2Georgia Institute of Technology, USA",
"3University of California, San Diego, USA",
"4MOsT JointResearch CenterforAITechnology andAll VistaHealthcare,Taiwan",
"[email protected],[email protected]",
"[email protected],[email protected]",
"Abstract",
"Wepresentanovelandunifieddeeplearningframeworkwhichiscapableoflearn",
"ing domain-invariant representation from data across",
"on",
"smultipledomains.Realized",
"byadversarialtrainingwithadditionalabilitytoexploitdomain-specificinforma-",
"tion, the proposed network is able to perform continuous cross-domain image",
"translation and manipulation, and produces desirable output images accordingly",
"In addition, the resulting feature representation exhibits superior performance of",
"unsupervised domain adaptation, which also verifies the effectiveness of the pro",
"posedmodelinlearningdisentangledfeaturesfordescribingcross-domaindata",
"1Introduction",
"学习可解释特征表示一直是计算机视觉和机器学习领域的活跃研究课题。特别是,学习深",
"度表示能够利用不同数据域之间的数据之间的关系已经引起了研究人员的关注。深度学习",
"技术的最新发展表明,跨域视觉分类[6,26,27]和跨域图像翻译[10,24,30,11,28,17,16,4]",
"的任务取得了进展。虽然这些任务通常学习从一个域到另一个域的特征映射或跨域导出联",
"合表示,但开发的模型在处理特定特征属性以恢复跨域数据方面的能力有限",
"为了理解和描述跨不同数据域的底层解释因素,跨域表示解纠缠旨在导出一个联合潜在特",
"征空间,其中选定的特征维度将表示特定的语义信息[1]。",
"一旦学习了跨域的这种分离表",
"示,就可以相应地描述和操纵任一域中数据的感兴趣属性。尽管最近的工作E[18]在上述任",
"务中表现出了有希望的能力,但当需要两个以上的数据域或多个特征属性时,现有模型的设",
"计通常需要很高的计算成本。为了跨多个数据域执行联合特征解纠缠和转换,我们提出了",
"-种紧凑但有效的UnifiedFeatureDisentanglementNetwork(UFDN)模型,该模型由一对",
"统一的编码器和生成器组成,如图E1所示。从该图可以看出,我们的编码器将来自多个域",
"的数据实例作为输入,并且通过对抗性训练得出域不变的潜在特征空间,然后是生成器/解",
"码器,该生成器/解码器跨域恢复或转换数据。我们的模型能够理清代表特定领域信息的潜",
"在因素(例如。g。、域代码、感兴趣的属性等。)。这是通过我们的生成器的联合学习来实现",
"的。一旦观察到解开的域因子,就可以简单地合成和操纵感兴趣的图像作为输出",
"在实验的后期,我们表明,在无监督域自适应的任务中,使用我们派生的潜在表示比最先进",
"的方法实现了显着改进。除了在多域图像到图像转换中非常有希望的结果之外,我们进",
"步确认我们的UFDN能够在产生的潜在空间中使用插值域代码执行连续图像转换。我们提",
"出的方法和数据集的实现现在可用",
"本文的贡献如下:",
"'https://github.com/Alexander-H-Liu/UFDN",
"32ndConferenceonNeuralInformationProcessingSystems(NIPS2018),Montreal,Canada"
] | {
"arxiv_id": "1809.01361",
"language": "zh",
"page_idx": 0
} |
||
1809.01361-zh-1 | 1809.01361-zh-1.jpg | Domain-Invariant
Latent Space
<FigureHere>
Pixel Space (Discrete Domains)
Pixel Space (Continuous Domains)
Figure 1: Illustration of multi-domain image translation and manipulation. With data from different $\tilde{\text{domains (e.g., }D_1:\text{sketch, }D_2:\text{photo, }D_3:\text{painting), the goal is to learn domain-invariant feature}}$ representation. With domain information disentangled from such representation, one can synthesize and manipulate image outputs in different domains of interests (including the intermediate ones across domains).
· We propose a Unified Feature Disentanglement Network (UFDN), which learns deep dis-
entangled feature representation for multi-domain image translation and manipulation.
· Our UFDN views both data domains and image attributes of interest as latent factors to be disentangled, wich realizes multi-domain image translation in a single unified framework. $\bullet$ Continuous multi-domain image translation and manipulation can be performed using our UFDN, while the disentangled feature representation shows promising ability in crossdomain classification tasks.
## 2 $\textbf{Related Work}$
Representation Disentanglement\_基于生成模型的发展,例如生成对抗网络(GANs)▣ [8,21] 和变分自动编码器 (VAEs)$\boxed{\mathbb{E}}[13,22]$ ,最近有关表示解纠缠$\boxed[20,9,3,14,12,18]$ 的工作旨在使用具有不同监督程度的深度神经网络学习可解释的表示。在完全监督的环境中Kulkarni 等人。[14]学习了用于 3D 图像渲染的可逆图形代码。Odena 等人。[20]实现了与所提出的辅助分类器 GAN(AC-GAN) 的表示解纠缠。Kingma 等人。[12] 还将 VAE 扩展为半监督设置,用于表示解纠缠。在不利用任何监督数据的情况下,Chen 等人。[3] 通过最大化潜在因素和合成图像之间的互信息来分解表示。尽管性能很有希望,但上述工作的重点是学习单个域中图像的解开表示,并且无法轻松扩展以描述跨域数据。而 Liu 等人最近的一项工作。[18] 解决了跨域解纠缠表示,只有来自单域数据的监督,进行了实证研究,以确定它们的网络体系结构(i。e。,跨域共享层数),这将限制其实际用途。因此,用于描述和操纵多域数据的统一的解开表示模型(如我们的模型)将是可取的
Image-to-Image Translation 图像到图像转换是处理跨域视觉数据的另一种研究方法。为了跨不同领域翻译图像,Isola 等人。[10]应用了条件 GAN,该条件 GAN 在源和目标域的成对数据上进行了训练。Taigman等人。[24]消除了成对训练图像的限制,并提出了一种观察跨域特征一致性的域传输网络 (DTN)。同样,Zhu 等人。$\mathbb{E}[30]$在像素空间中采用循环致性损失来实现不成对的图像转换。Kim 等人也应用了类似的想法。[11]和 Yi 等人。[28] 。Liu 等人。[17]提出了耦合 GAN(CoGAN), 在高层层上共享权重,以学习跨域的联合分布。为了实现图像到图像的转换,他们进一步将 CoGAN 与两个并行编码器$\overline{\mathrm{E}}[16]$ 集成在一起。然而,上述双域模型不能在不增加计算成本的情况下轻松扩展到多域图像翻译。虽然Choi 等人。[4] 最近提出了一个统一的模型来实现多域图像到图像的翻译,他们的模型没有表现出学习和解开理想的潜在表示的能力 (就像我们的模型一样)
Unsupervised Domain Adaptation (UDA) 无监督域自适应 (UDA) 旨在分别使用源域和目标域中的标记和未标记训练数据对目标域中的样本进行分类。受对抗性学习思想的启发[8] , Ganin 等人。[6] 提出了一种在领域鉴别器和基于正常卷积神经网络的分类器之间应用对
2 | [
[
"0.4102",
"0.09534",
"0.5317",
"0.09534",
"0.5317",
"0.1092",
"0.4102",
"0.1092"
],
[
"0.683",
"0.09534",
"0.7607",
"0.09784",
"0.7607",
"0.1111",
"0.683",
"0.1092"
],
[
"0.4265",
"0.1111",
"0.513",
"0.11237",
"0.513",
"0.1237",
"0.4265",
"0.1225"
],
[
"0.2279",
"0.0966",
"0.3096",
"0.0985",
"0.3096",
"0.113",
"0.2279",
"0.1111"
],
[
"0.2214",
"0.11237",
"0.3137",
"0.11237",
"0.3137",
"0.1225",
"0.2214",
"0.1225"
],
[
"0.669",
"0.11237",
"0.777",
"0.11237",
"0.777",
"0.1225",
"0.669",
"0.1225"
],
[
"0.722",
"0.1332",
"0.8164",
"0.1351",
"0.8164",
"0.1459",
"0.722",
"0.1433"
],
[
"0.2769",
"0.1459",
"0.282",
"0.1459",
"0.282",
"0.1515",
"0.2769",
"0.1515"
],
[
"0.74",
"0.1459",
"0.819",
"0.1459",
"0.819",
"0.1559",
"0.74",
"0.1559"
],
[
"0.1978",
"0.1559",
"0.2197",
"0.1559",
"0.2197",
"0.1692",
"0.1978",
"0.1692"
],
[
"0.7686",
"0.1559",
"0.819",
"0.1559",
"0.819",
"0.1666",
"0.7686",
"0.1666"
],
[
"0.2852",
"0.1635",
"0.304",
"0.1635",
"0.304",
"0.1718",
"0.2852",
"0.1718"
],
[
"0.777",
"0.1666",
"0.819",
"0.1666",
"0.819",
"0.1768",
"0.777",
"0.1768"
],
[
"0.367",
"0.1787",
"0.4102",
"0.1787",
"0.4102",
"0.1895",
"0.367",
"0.1895"
],
[
"0.2656",
"0.1686",
"0.2778",
"0.1686",
"0.2778",
"0.1749",
"0.2656",
"0.1749"
],
[
"0.2607",
"0.1812",
"0.2778",
"0.1812",
"0.2778",
"0.1901",
"0.2607",
"0.1901"
],
[
"0.5337",
"0.1787",
"0.5767",
"0.1787",
"0.5767",
"0.1895",
"0.5337",
"0.1895"
],
[
"0.3635",
"0.1901",
"0.411",
"0.1901",
"0.411",
"0.202",
"0.3635",
"0.202"
],
[
"0.5195",
"0.1913",
"0.584",
"0.1913",
"0.584",
"0.202",
"0.5195",
"0.202"
],
[
"0.451",
"0.1989",
"0.4558",
"0.1989",
"0.4558",
"0.2039",
"0.451",
"0.2039"
],
[
"0.1896",
"0.2052",
"0.2443",
"0.2052",
"0.2443",
"0.2361",
"0.1896",
"0.2361"
],
[
"0.2876",
"0.2184",
"0.3064",
"0.2184",
"0.3064",
"0.2311",
"0.2876",
"0.2311"
],
[
"0.5254",
"0.2197",
"0.58",
"0.2197",
"0.58",
"0.2311",
"0.5254",
"0.2311"
],
[
"0.2075",
"0.2299",
"0.2303",
"0.2299",
"0.2303",
"0.2437",
"0.2075",
"0.2437"
],
[
"0.2852",
"0.2317",
"0.3228",
"0.2349",
"0.3218",
"0.2474",
"0.2834",
"0.2443"
],
[
"0.5337",
"0.2291",
"0.5728",
"0.2291",
"0.5728",
"0.2393",
"0.5337",
"0.2393"
],
[
"0.2059",
"0.2437",
"0.232",
"0.2437",
"0.232",
"0.2556",
"0.2059",
"0.2556"
],
[
"0.2834",
"0.2468",
"0.2932",
"0.2437",
"0.2974",
"0.25",
"0.2876",
"0.2524"
],
[
"0.3015",
"0.2632",
"0.3203",
"0.2615",
"0.3228",
"0.2695",
"0.3022",
"0.2715"
],
[
"0.6978",
"0.2651",
"0.7563",
"0.2651",
"0.7563",
"0.2727",
"0.6978",
"0.2727"
],
[
"0.1765",
"0.2954",
"0.8228",
"0.2954",
"0.8228",
"0.3062",
"0.1765",
"0.3062"
],
[
"0.1765",
"0.31",
"0.822",
"0.31",
"0.822",
"0.3208",
"0.1765",
"0.3208"
],
[
"0.1748",
"0.3213",
"0.824",
"0.3213",
"0.824",
"0.336",
"0.1748",
"0.336"
],
[
"0.1765",
"0.336",
"0.8228",
"0.336",
"0.8228",
"0.3499",
"0.1765",
"0.3499"
],
[
"0.1765",
"0.3516",
"0.2834",
"0.3516",
"0.2834",
"0.3623",
"0.1765",
"0.3623"
],
[
"0.2197",
"0.3894",
"0.8228",
"0.3894",
"0.8228",
"0.4028",
"0.2197",
"0.4028"
],
[
"0.232",
"0.4028",
"0.7974",
"0.4028",
"0.7974",
"0.4167",
"0.232",
"0.4167"
],
[
"0.2197",
"0.4216",
"0.8228",
"0.4216",
"0.8228",
"0.435",
"0.2197",
"0.435"
],
[
"0.232",
"0.435",
"0.8203",
"0.435",
"0.8203",
"0.449",
"0.232",
"0.449"
],
[
"0.2197",
"0.4539",
"0.8228",
"0.455",
"0.8228",
"0.4666",
"0.2197",
"0.4653"
],
[
"0.232",
"0.4666",
"0.826",
"0.4673",
"0.826",
"0.4817",
"0.232",
"0.481"
],
[
"0.2345",
"0.483",
"0.4143",
"0.483",
"0.4143",
"0.4937",
"0.2345",
"0.4937"
],
[
"0.1765",
"0.5215",
"0.1896",
"0.5215",
"0.1896",
"0.5327",
"0.1765",
"0.5327"
],
[
"0.2075",
"0.5215",
"0.327",
"0.5215",
"0.327",
"0.535",
"0.2075",
"0.535"
],
[
"0.1805",
"0.5503",
"0.415",
"0.5503",
"0.415",
"0.5645",
"0.1805",
"0.5645"
],
[
"0.407",
"0.5503",
"0.826",
"0.5503",
"0.826",
"0.5645",
"0.407",
"0.5645"
],
[
"0.1748",
"0.5645",
"0.8228",
"0.5645",
"0.8228",
"0.579",
"0.1748",
"0.579"
],
[
"0.1765",
"0.579",
"0.8228",
"0.579",
"0.8228",
"0.5923",
"0.1765",
"0.5923"
],
[
"0.1748",
"0.5923",
"0.8228",
"0.5923",
"0.8228",
"0.606",
"0.1748",
"0.606"
],
[
"0.1748",
"0.605",
"0.822",
"0.605",
"0.822",
"0.6187",
"0.1748",
"0.6187"
],
[
"0.1772",
"0.622",
"0.822",
"0.622",
"0.822",
"0.632",
"0.1772",
"0.632"
],
[
"0.1765",
"0.634",
"0.822",
"0.634",
"0.822",
"0.648",
"0.1765",
"0.648"
],
[
"0.1748",
"0.6465",
"0.8228",
"0.646",
"0.8228",
"0.66",
"0.1748",
"0.661"
],
[
"0.1854",
"0.659",
"0.8228",
"0.66",
"0.8228",
"0.675",
"0.1854",
"0.674"
],
[
"0.1748",
"0.674",
"0.8228",
"0.675",
"0.8228",
"0.6895",
"0.1748",
"0.688"
],
[
"0.1772",
"0.69",
"0.648",
"0.69",
"0.648",
"0.7007",
"0.1772",
"0.7007"
],
[
"0.179",
"0.7173",
"0.8228",
"0.7173",
"0.8228",
"0.731",
"0.179",
"0.731"
],
[
"0.1765",
"0.731",
"0.8203",
"0.731",
"0.8203",
"0.744",
"0.1765",
"0.744"
],
[
"0.1772",
"0.7456",
"0.8228",
"0.7456",
"0.8228",
"0.759",
"0.1772",
"0.759"
],
[
"0.1748",
"0.7583",
"0.808",
"0.7583",
"0.808",
"0.7715",
"0.1748",
"0.7715"
],
[
"0.1765",
"0.773",
"0.79",
"0.773",
"0.79",
"0.786",
"0.1765",
"0.786"
],
[
"0.7837",
"0.7734",
"0.822",
"0.7734",
"0.822",
"0.785",
"0.7837",
"0.785"
],
[
"0.1814",
"0.7886",
"0.8203",
"0.7886",
"0.8203",
"0.799",
"0.1814",
"0.799"
],
[
"0.1765",
"0.8003",
"0.8105",
"0.8003",
"0.8105",
"0.8145",
"0.1765",
"0.8145"
],
[
"0.1765",
"0.8145",
"0.8228",
"0.8145",
"0.8228",
"0.8276",
"0.1765",
"0.8276"
],
[
"0.1748",
"0.8276",
"0.8228",
"0.8276",
"0.8228",
"0.8413",
"0.1748",
"0.8413"
],
[
"0.1765",
"0.8413",
"0.649",
"0.8413",
"0.649",
"0.855",
"0.1765",
"0.855"
],
[
"0.179",
"0.8706",
"0.8203",
"0.8706",
"0.8203",
"0.884",
"0.179",
"0.884"
],
[
"0.1765",
"0.884",
"0.8228",
"0.884",
"0.8228",
"0.898",
"0.1765",
"0.898"
],
[
"0.1814",
"0.904",
"0.1896",
"0.904",
"0.1896",
"0.909",
"0.1814",
"0.909"
],
[
"0.1854",
"0.8984",
"0.8228",
"0.8984",
"0.8228",
"0.912",
"0.1854",
"0.912"
],
[
"0.4927",
"0.936",
"0.5063",
"0.936",
"0.5063",
"0.9478",
"0.4927",
"0.9478"
]
] | [
"Domain-Invariant",
"Pixel Space",
"LatentSpace",
"Pixel Space",
"(Discrete Domains)",
"(Continuous Domains)",
"Underlyingfactors",
"",
"colorsaturation",
"X",
"sharpness",
"",
"contrast",
"Unified",
"",
"",
"Unified",
"Encoder",
"Generator",
"8",
"",
"X3",
"Manipulate",
"福",
"",
"Domain",
"2",
"R",
"",
"photopaint",
"Figurel:Ilustrationof multi-domainimagetranslationandmanipulation.Withdatafromdifferent",
"domains(e.g.,Di:sketch,D2:photo,D3:painting),thegoal istolearn domain-invariantfeature",
"representation. With domain information disentangled from such representation, one can synthesize",
"and manipulate image outputs in different domains of interests (including the intermediate ones",
"acrossdomains)",
". We propose a Unified Feature Disentanglement Network (UFDN), which learns deep dis",
"entangled feature representation for multi-domain image translation and manipulation.",
": Our UFDN views both data domains and image attributes of interest as latent factors to be",
"disentangled, wich realizes multi-domain image translation in a single unified framework.",
".Continuousmulti-domain imagetranslation andmanipulation canbeperformed using our",
"UFDN, while the disentangled feature representation shows promising ability in cross-",
"domainclassificationtasks.",
"2",
"Related Work",
"Representation Disentanglement",
"基于生成模型的发展,例如生成对抗网络(GANs)E",
"[8,21]和变分自动编码器(VAEs)[13,22],最近有关表示解纠缠E[20,9,3,14,12,18]的",
"工作旨在使用具有不同监督程度的深度神经网络学习可解释的表示。在完全监督的环境中,",
"Kulkarni等人。[14]学习了用于3D图像谊染的可逆图形代码。Odena等人。[20]实现了与",
"所提出的辅助分类器GAN(AC-GAN)的表示解纠缠。Kingma等人。[12]还将VAE扩展为",
"半监督设置,用于表示解纠缠。在不利用任何监督数据的情况下,Chen等人。[31通过最",
"大化潜在因素和合成图像之间的互信息来分解表示。尽管性能很有希望,但上述工作的重",
"点是学习单个域中图像的解开表示,并且无法轻松扩展以描述跨域数据。而Liu等人最近的",
"-项工作。18]解决了跨域解纠缠表示,只有来自单域数据的监督,进行了实证研究,以",
"确定它们的网络体系结构(i。e。,跨域共享层数),这将限制其实际用途。因此,用于描述和",
"操纵多域数据的统一的解开表示模型(如我们的模型)将是可取的",
"Image-to-ImageTranslation图像到图像转换是处理跨域视觉数据的另一种研究方法。为",
"了跨不同领域翻译图像,Isola等人。[10]应用了条件GAN,该条件GAN在源和目标域的",
"成对数据上进行了训练。Taigman等人。[24]消除了成对训练图像的限制,并提出了一种观",
"察跨域特征一致性的域传输网络(DTN)。同样,Zhu等人。E[30]在像素空间中采用循环",
"致性损失来实现不成对的图像转换。Kim等人也应用了类似的想法。[11]和Yi等人。",
"[28]",
"Liu等人。17I提出了耦合GAN(CoGAN):在高层层上共享权重,以学习跨域的联合分",
"布。为了实现图像到图像的转换,他们进一步将CoGAN与两个并行编码器E[16]集成在",
"起。然而,上述双域模型不能在不增加计算成本的情况下轻松扩展到多域图像翻译。虽然",
"Choi等人。[4]最近提出了一个统一的模型来实现多域图像到图像的翻译,他们的模型没",
"有表现出学习和解开理想的潜在表示的能力(就像我们的模型一样)",
"UnsupervisedDomainAdaptation(UDA)无监督域自适应(UDA)在分别使用源域和目",
"标域中的标记和未标记训练数据对目标域中的样本进行分类。受对抗性学习思想的启发[8]",
"",
"Ganin等人。[6]提出了一种在领域鉴别器和基于正常卷积神经网络的分类器之间应用对",
"2"
] | {
"arxiv_id": "1809.01361",
"language": "zh",
"page_idx": 1
} |
||
1809.01361-zh-2 | 1809.01361-zh-2.jpg | 抗训练的方法,使模型对域移动不变。Tzeng 等人。[26]还试图通过引人域混淆损失来构建域不变分类器。通过推进对抗性学习策略,Bousmalis 等人。[2]选择学习正交表示,分别由共享和特定于域的编码器导出。Tzeng 等人。[27]通过对抗性训练在源域和目标域之间调整 CNN 特征提取器$\prime$分类器来解决 UDA 问题。然而,上述方法通常通过消除域偏差来解决域自适应问题。不能保证派生的表示会保留语义信息(例如。g。感兴趣的域或属性)。此外,由于 UDA 的目标是视觉分类,因此无法轻松实现图像翻译 (双域或多域)。正如我们在小节中强调的那样。1,我们的 UFDN 学习多域解纠缠表示,这使得多域图像到图像的翻译和操纵以及无监督域自适应成为可能。因此,我们提出的模型是非常独特的
3 $\textbf{Unified Feature Disentanglement Network}$
我们提出了一种独特而统一的网络体系结构,即统一特征解纠缠网络(UFDN),它可以将域信息与潜在空间分离,并从多个域(而不仅仅是一对域)的数据中导出域不变表示。这不仅可以实现多域图像翻译/操纵的任务,还可以将导出的特征表示应用于无监督域自适应
给定跨$N$域的图像集$\{\mathcal{X}_c\}_c=1^N$,我们的 UFDN 学习输人图像$x_c\in\mathcal{X}_c$的域不变表示$z$ (在域$c$中)。这是通过自监督特征解纠缠将潜在空间中的域信息解纠缠为域向量$v\in\mathbb{R}^N$来实现的(Sect。3.1),然后通过像素空间中的对抗性学习保留数据恢复能力(Sect。3.2)。我们现在详细介绍我们提出的模型
3.1 Self-supervised feature disentanglement
要学习跨数据域的解开表示,可以简单地应用 VAE 体系结构 (例如。g。,图 2 中的组件$E$ 和$G$ )。更具体地说,我们让编码器$E$将图像$x_c$作为输入,并导出其表示形式$z$,该表示形式与其域向量$v_c$结合,以通过生成器$G$重建图像$\hat{x}_c$ 。因此,VAE 的目标函数定义为:
$$\mathcal{L}_{vae}=\left\|\hat{x}_{c}-x_{c}\right\|_{F}^{2}+KL(q(z|x_{c})||p(z)),$$
(1)
,其中第一项旨在恢复同一域$c$中的合成输出,第二项计算 Kullback-Leibler 散度,该散度惩罚潜在特征与先前分布$p( z_c)$ (作为$z\sim\mathcal{N}(0,I))$的偏差。但是,上述技术不能保证从潜在空间中分离域信息,因为生成器仅基于表示$z$恢复图像而不考虑域信息。为了解决上述问题,我们扩展了上述模型,以消除表示$z$中特定于域的信息。这是通过在由此产生的潜在特征空间中利用对抗域分类来实现的。更准确地说,图$\underline{\text{E2 中引人的域鉴别器 }D_v}$ 仅将潜在表示$z$作为输人,并产生域代码预测$l_v$ 。该域鉴别器$\mathcal{L}_D_v^{adv}$的目标函数推导如下:
(2)
$$\mathcal{L}_{D_v}^{adv}=\mathbb{E}[\log P(l_v=v_c|E(x_c))],$$
其中$P$是域$l_v$上的概率分布,由域鉴别器$D_v$生成。域向量 XMTHX\_3 可以通过一个独热向量,多个独热向量的级联或简单地描述感兴趣域的实值向量来实现。相反,编码器$E$旨在使$D_v$无法正确预测域代码。因此,编码器$\mathcal{L}_E^{adv}$的目标是最大化域鉴别器的熵:
$$\mathcal{L}_{E}^{adv}=-\mathcal{L}_{D_{v}}^{adv}=-\mathbb{E}[\log P(l_{v}=v_{c}|E(x_{c}))].$$
(3)
## 3.2 Adversarial learning in pixel space
一旦学习了上述域不变表示$z$ ,我们将进一步利用 UFDN 中的重建模块来保留解纠缠表示
的恢复能力。也就是说,重建图像$\hat{x}_c$可以由其原始图像$x_c$监督
但是,在上述过程中将域向量操作为$v_\bar{c}$时,不能保证基于$v_\bar{c}$的合成图像$\hat{x}_\bar{c}$实际上可以令人满意。这是由于没有成对训练数据(i。e。,$x_c$和$x_{\bar{c}}$ )) 在训练阶段监督合成图像$\hat{x}_{\bar{c}}$。此外,如$\mathbb{E}[29]$ 中所述,VAE 架构倾向于生成模糊的样本,这对于实际用途是不可取的
为了克服上述限制,我们在 UFDN 的像素空间中另外引人了图像鉴别器$D_x$ 。该鉴别器不仅提高了合成图像$\hat{x}_{\bar{c}}$的图像质量,还增强了从潜在空间中解开域信息的能力。我们注意到这个图像鉴别器$D_x$的目标是双重的:区分输入图像是真的还是假的,以及预测观察到的图像(i。e。, $\hat{x}_{\bar{c}}$和$x_c$ )转换为正确的域代码/类别
通过以上讨论,我们将用于图像鉴别器$D_x$和生成器$G$之间的对抗学习的目标函数$\mathcal{L}_D_x^{adv}$和
$\mathcal{L}_G^{adv}$定义为:
3 | [
[
"0.1772",
"0.0947",
"0.822",
"0.0947",
"0.822",
"0.1048",
"0.1772",
"0.1048"
],
[
"0.1765",
"0.1067",
"0.8228",
"0.1067",
"0.8228",
"0.1206",
"0.1765",
"0.1206"
],
[
"0.179",
"0.1225",
"0.8203",
"0.1225",
"0.8203",
"0.1332",
"0.179",
"0.1332"
],
[
"0.1772",
"0.1338",
"0.822",
"0.1338",
"0.822",
"0.1477",
"0.1772",
"0.1477"
],
[
"0.1765",
"0.1483",
"0.8228",
"0.1483",
"0.8228",
"0.1635",
"0.1765",
"0.1635"
],
[
"0.1765",
"0.1622",
"0.822",
"0.1622",
"0.822",
"0.1755",
"0.1765",
"0.1755"
],
[
"0.179",
"0.1755",
"0.8228",
"0.1755",
"0.8228",
"0.1895",
"0.179",
"0.1895"
],
[
"0.179",
"0.1913",
"0.71",
"0.1913",
"0.71",
"0.202",
"0.179",
"0.202"
],
[
"0.1732",
"0.2247",
"0.564",
"0.2247",
"0.564",
"0.238",
"0.1732",
"0.238"
],
[
"0.1748",
"0.254",
"0.8228",
"0.2524",
"0.8228",
"0.2676",
"0.1748",
"0.2683"
],
[
"0.1772",
"0.2676",
"0.822",
"0.2676",
"0.822",
"0.281",
"0.1772",
"0.281"
],
[
"0.179",
"0.2827",
"0.7974",
"0.2827",
"0.7974",
"0.2935",
"0.179",
"0.2935"
],
[
"0.1765",
"0.3018",
"0.822",
"0.3018",
"0.822",
"0.315",
"0.1765",
"0.315"
],
[
"0.1765",
"0.315",
"0.822",
"0.315",
"0.822",
"0.3289",
"0.1765",
"0.3289"
],
[
"0.1772",
"0.33",
"0.8228",
"0.33",
"0.8228",
"0.3435",
"0.1772",
"0.3435"
],
[
"0.1772",
"0.3452",
"0.4028",
"0.3452",
"0.4028",
"0.356",
"0.1772",
"0.356"
],
[
"0.1732",
"0.3726",
"0.4944",
"0.3738",
"0.4944",
"0.3882",
"0.1732",
"0.387"
],
[
"0.1765",
"0.3997",
"0.8228",
"0.3997",
"0.8228",
"0.414",
"0.1765",
"0.414"
],
[
"0.1765",
"0.4136",
"0.822",
"0.4136",
"0.822",
"0.428",
"0.1765",
"0.428"
],
[
"0.1748",
"0.4255",
"0.8057",
"0.4255",
"0.8057",
"0.44",
"0.1748",
"0.44"
],
[
"0.357",
"0.4602",
"0.6406",
"0.461",
"0.6406",
"0.476",
"0.357",
"0.4749"
],
[
"0.8037",
"0.461",
"0.824",
"0.461",
"0.824",
"0.4749",
"0.8037",
"0.4749"
],
[
"0.1912",
"0.486",
"0.8228",
"0.486",
"0.8228",
"0.5",
"0.1912",
"0.5"
],
[
"0.1772",
"0.5",
"0.822",
"0.5",
"0.822",
"0.513",
"0.1772",
"0.513"
],
[
"0.1765",
"0.513",
"0.822",
"0.513",
"0.822",
"0.5264",
"0.1765",
"0.5264"
],
[
"0.1772",
"0.526",
"0.822",
"0.5264",
"0.822",
"0.5415",
"0.1772",
"0.5405"
],
[
"0.1772",
"0.5425",
"0.8203",
"0.5425",
"0.8203",
"0.553",
"0.1772",
"0.553"
],
[
"0.1765",
"0.5547",
"0.751",
"0.5547",
"0.751",
"0.5684",
"0.1765",
"0.5684"
],
[
"0.3882",
"0.589",
"0.6113",
"0.589",
"0.6113",
"0.603",
"0.3882",
"0.603"
],
[
"0.8037",
"0.5903",
"0.8228",
"0.5903",
"0.8228",
"0.603",
"0.8037",
"0.603"
],
[
"0.1765",
"0.616",
"0.822",
"0.616",
"0.822",
"0.63",
"0.1765",
"0.63"
],
[
"0.1772",
"0.629",
"0.822",
"0.629",
"0.822",
"0.6426",
"0.1772",
"0.6426"
],
[
"0.1765",
"0.643",
"0.7563",
"0.643",
"0.7563",
"0.657",
"0.1765",
"0.657"
],
[
"0.3472",
"0.677",
"0.649",
"0.678",
"0.649",
"0.6924",
"0.3472",
"0.6914"
],
[
"0.8037",
"0.678",
"0.824",
"0.678",
"0.824",
"0.6914",
"0.8037",
"0.6914"
],
[
"0.1732",
"0.7104",
"0.4575",
"0.712",
"0.4575",
"0.7266",
"0.1732",
"0.7246"
],
[
"0.1805",
"0.7373",
"0.8228",
"0.7373",
"0.8228",
"0.7505",
"0.1805",
"0.7505"
],
[
"0.1772",
"0.7524",
"0.63",
"0.7524",
"0.63",
"0.763",
"0.1772",
"0.763"
],
[
"0.1772",
"0.773",
"0.822",
"0.773",
"0.822",
"0.786",
"0.1772",
"0.786"
],
[
"0.1772",
"0.784",
"0.4739",
"0.784",
"0.4739",
"0.7974",
"0.1772",
"0.7974"
],
[
"0.4902",
"0.786",
"0.8228",
"0.786",
"0.8228",
"0.8",
"0.4902",
"0.8"
],
[
"0.1765",
"0.8",
"0.7812",
"0.8",
"0.7812",
"0.813",
"0.1765",
"0.813"
],
[
"0.1772",
"0.8193",
"0.8228",
"0.8193",
"0.8228",
"0.8335",
"0.1772",
"0.8335"
],
[
"0.1772",
"0.834",
"0.822",
"0.834",
"0.822",
"0.8477",
"0.1772",
"0.8477"
],
[
"0.1765",
"0.8477",
"0.822",
"0.8477",
"0.822",
"0.8613",
"0.1765",
"0.8613"
],
[
"0.1772",
"0.863",
"0.5073",
"0.863",
"0.5073",
"0.8735",
"0.1772",
"0.8735"
],
[
"0.1772",
"0.884",
"0.822",
"0.884",
"0.822",
"0.8945",
"0.1772",
"0.8945"
],
[
"0.1772",
"0.8994",
"0.267",
"0.8994",
"0.267",
"0.911",
"0.1772",
"0.911"
],
[
"0.4927",
"0.9375",
"0.5063",
"0.9375",
"0.5063",
"0.9478",
"0.4927",
"0.9478"
]
] | [
"抗训练的方法,使模型对域移动不变。Tzeng等人。[26]还试图通过引人域混淆损失来构建",
"域不变分类器。通过推进对抗性学习策略,Bousmalis等人。[2]选择学习正交表示,分别",
"由共享和特定于域的编码器导出。Tzeng等人。[271通过对抗性训练在源域和目标域之间",
"调整CNN特征提取器/分类器来解决UDA问题。然而,上述方法通常通过消除域偏差来解",
"决域自适应问题。不能保证派生的表示会保留语义信息(例如。g。、感兴趣的域或属性)。此",
"外,由于UDA的目标是视觉分类,因此无法轻松实现图像翻译(双域或多域)。正如我们在",
"小节中强调的那样。1,我们的UFDN学习多域解纠缠表示,这使得多域图像到图像的翻译",
"和操纵以及无监督域自适应成为可能。因此,我们提出的模型是非常独特的",
"3UnifiedFeatureDisentanglementNetwork",
"我们提出了一种独特而统一的网络体系结构,即统一特征解纠缠网络(UFDN),它可以将",
"域信息与潜在空间分离,并从多个域(而不仅仅是一对域)的数据中导出域不变表示。这不",
"仅可以实现多域图像翻译/操纵的任务:还可以将导出的特征表示应用于无监督域自适应",
"给定跨N域的图像集X1,我们的UFDN学习输人图像aE的域不变表示(在",
"域c中)。这是通过自监督特征解纠缠将潜在空间中的域信息解纠缠为域向量ERN来实",
"现的(Sect。3.1),然后通过像素空间中的对抗性学习保留数据恢复能力(Sect。3.2)。我",
"们现在详细介绍我们提出的模型",
"3.1Self-supervised feature disentanglement",
"要学习跨数据域的解开表示,可以简单地应用VAE体系结构(例如。g。,图2中的组件E",
"和G)。更具体地说,我们让编码器E将图像作为输入,并导出其表示形式z,该表示",
"形式与其域向量v结合,以通过生成器G重建图像a。因此,VAE的目标函数定义为:",
"Cuae=l-e/+KL(q()lp(z)),",
"(1)",
"其中第一项旨在恢复同一域c中的合成输出,第二项计算Kullback-Leibler散度,该散度",
"惩罚潜在特征与先前分布p(z)(作为之~N0,I))的偏差。但是,上述技术不能保证从",
"潜在空间中分离域信息,因为生成器仅基于表示之恢复图像而不考虑域信息。为了解决上述",
"问题,我们扩展了上述模型,以消除表示之中特定于域的信息。这是通过在由此产生的潜在",
"特征空间中利用对抗域分类来实现的。更准确地说,图E2中引入的域鉴别器D,仅将潜在",
"表示z作为输入,并产生域代码预测lu。该域鉴别器Cad的目标函数推导如下:",
"Ladu = E[log P(l = ve|E(r))],",
"(2)",
"其中P是域l上的概率分布,由域鉴别器D,生成。域向量XMTHX_3可以通过一个独热",
"向量,多个独热向量的级联或简单地描述感兴趣域的实值向量来实现。相反,编码器E旨",
"在使D,无法正确预测域代码。因此,编码器Cad的目标是最大化域鉴别器的摘:",
"Cadu=-adu=-E[logP(l,=Ve|E(ae)))",
"(3)",
"3.2Adversarial learning in pixel space",
"一旦学习了上述域不变表示,我们将进一步利用UFDN中的重建模块来保留解纠缠表示",
"的恢复能力。也就是说,重建图像。可以由其原始图像&c监督",
"但是,在上述过程中将域向量操作为时,不能保证基于的合成图像实际上可以令",
"人满意。这是由于没有成对训练数据(i。e",
"和))在训练阶段监督合成图像。此",
"外,如E[29]中所述,VAE架构倾向于生成模糊的样本,这对于实际用途是不可取的",
"为了克服上述限制,我们在UFDN的像素空间中另外引入了图像鉴别器Da。该鉴别器不",
"仅提高了合成图像的图像质量,还增强了从潜在空间中解开域信息的能力。我们注意到",
"这个图像鉴别器D的目标是双重的:区分输人图像是真的还是假的,以及预测观察到的图",
"像(i。e。,和c)转换为正确的域代码/类别",
"通过以上讨论,我们将用于图像鉴别器D和生成器G之间的对抗学习的自标函数Laa和",
"Cadu定义为:",
"3"
] | {
"arxiv_id": "1809.01361",
"language": "zh",
"page_idx": 2
} |
||
1809.01361-zh-3 | 1809.01361-zh-3.jpg | <FigureHere>
Figure 2: Overview of our Unified Feature Disentanglement Network (UFDN), consisting of an encoder $E$ ,a generator $G$ ,a discriminator in pixel space $D_x$ and a discriminator in feature space $D_{v}$ . Note that $x_c$ and $\hat{x}_c$ denote input and reconstruct images with domain vector $v_c$ ,respectively. $\hat{x}_{\bar{c}}$ indicates the synthesized image with domain vector $v_{\bar{c}}.$
$$\begin{aligned}&\mathcal{L}_{D_{x}}^{adv}=\mathbb{E}[\log(D_{x}(\hat{x}_{\bar{c}}))]+\mathbb{E}[\log(1-D_{x}(x_{c})],\\&\mathcal{L}_{G}^{adv}=-\mathbb{E}[\log(D_{x}(\hat{x}_{\bar{c}}))].\end{aligned}$$
(4)
另一方面,域分类的目标函数导出为:
$$\mathcal{L}_{cls}=\mathbb{E}[\log P(l_{x}=v_{\bar{c}}|\hat{x}_{\bar{c}})]+\mathbb{E}[\log P(l_{x}=v_{c}|x_{c})],$$
(5)
其中$l_x$表示图像鉴别器$D_x$的域预测。该术语隐式地最大化域向量和合成图像之间的互信
息[3]
为了训练我们的 UFDN, 我们使用以下梯度交替更新编码器$E$ ,生成器$G$ ,域鉴别器$D_v$
和图像鉴别器$D_x:$
(6)
$$\theta_{E}\xleftarrow{+}-\Delta_{\theta_{E}}(\mathcal{L}_{vae}+\mathcal{L}_{E}^{adv}),\quad\theta_{G}\xleftarrow{+}-\Delta_{\theta_{G}}(\mathcal{L}_{vae}+\mathcal{L}_{G}^{adv}+\mathcal{L}_{cls}),\\\theta_{D_{v}}\xleftarrow{+}-\Delta_{\theta_{D_{v}}}(\mathcal{L}_{D_{v}}^{adv}),\quad\theta_{D_{x}}\xleftarrow{+}-\Delta_{\theta_{D_{x}}}(\mathcal{L}_{D_{x}}^{adv}+\mathcal{L}_{cls}).$$
3.3 Comparison with state-of-the-art cross-domain visual tasks
为了证明我们提出的 UFDN 的唯一性,我们将我们的模型与 Table$\boxed{\mathrm{E}}$1 中的几种最先进的图
像到图像翻译作品进行了比较
在不需要成对训练数据的情况下,CycleGAN$\mathbb{E}[10]$学习两个像素空间之间的双向映射,而他们需要学习用于多域图像翻译任务的多个单独网络。StarGAN [4]通过学习统一结构缓解了上述问题。但是,它没有表现出在不同领域中解开特定语义的能力。关于图像翻译的另一系列工作是学习跨图像域的联合表示[24,16,18]。当DTN[24]学习联合表示将图像从一个域转换到另一个域时,他们的模型只允许单向图像转换的任务。UNIT[16]通过联合合成两个域中的图像来解决上述问题。但是,它不能像我们一样学习解开的表示。E-CDRD[18] 的最新工作推导了跨域表示解纠缠。当需要两个以上的数据域时,他们的模型需要很高的计算成本,而我们的模型是多个数据域的统一架构 (i。e。,域代码作为向量)
值得重复的是,我们的 UFDN 不需要成对训练数据来学习多域解纠缠特征表示。正如稍后在实验中验证的那样,我们的模型不仅可以实现多域图像到图像的转换和操作,而且派生的域不变特征还可以实现无监督的域自适应
4 | [
[
"0.2754",
"0.101",
"0.3406",
"0.101",
"0.3406",
"0.11237",
"0.2754",
"0.11237"
],
[
"0.357",
"0.1307",
"0.4143",
"0.1307",
"0.4143",
"0.1383",
"0.357",
"0.1383"
],
[
"0.6504",
"0.1256",
"0.6953",
"0.1256",
"0.6953",
"0.1364",
"0.6504",
"0.1364"
],
[
"0.4395",
"0.1383",
"0.4534",
"0.1383",
"0.4534",
"0.1477",
"0.4395",
"0.1477"
],
[
"0.5146",
"0.1401",
"0.5215",
"0.1401",
"0.5215",
"0.1459",
"0.5146",
"0.1459"
],
[
"0.648",
"0.1604",
"0.6914",
"0.1604",
"0.6914",
"0.1704",
"0.648",
"0.1704"
],
[
"0.6406",
"0.1704",
"0.694",
"0.1704",
"0.694",
"0.1812",
"0.6406",
"0.1812"
],
[
"0.4795",
"0.1849",
"0.5",
"0.1895",
"0.4944",
"0.2039",
"0.4739",
"0.1995"
],
[
"0.642",
"0.226",
"0.705",
"0.226",
"0.705",
"0.2361",
"0.642",
"0.2361"
],
[
"0.585",
"0.2361",
"0.5933",
"0.2361",
"0.5933",
"0.2412",
"0.585",
"0.2412"
],
[
"0.6504",
"0.2361",
"0.6953",
"0.2361",
"0.6953",
"0.2468",
"0.6504",
"0.2468"
],
[
"0.648",
"0.2456",
"0.699",
"0.2456",
"0.699",
"0.2568",
"0.648",
"0.2568"
],
[
"0.2737",
"0.2676",
"0.3555",
"0.2695",
"0.3555",
"0.281",
"0.2737",
"0.279"
],
[
"0.1748",
"0.2974",
"0.824",
"0.2974",
"0.824",
"0.3113",
"0.1748",
"0.3113"
],
[
"0.1765",
"0.3125",
"0.822",
"0.3125",
"0.822",
"0.3257",
"0.1765",
"0.3257"
],
[
"0.1765",
"0.3257",
"0.822",
"0.3257",
"0.822",
"0.3403",
"0.1765",
"0.3403"
],
[
"0.1748",
"0.339",
"0.5596",
"0.339",
"0.5596",
"0.3528",
"0.1748",
"0.3528"
],
[
"0.3464",
"0.404",
"0.6543",
"0.404",
"0.6543",
"0.4216",
"0.3464",
"0.4216"
],
[
"0.343",
"0.4224",
"0.524",
"0.4224",
"0.524",
"0.443",
"0.343",
"0.443"
],
[
"0.8022",
"0.4167",
"0.826",
"0.4167",
"0.826",
"0.43",
"0.8022",
"0.43"
],
[
"0.1765",
"0.4622",
"0.4429",
"0.4622",
"0.4429",
"0.476",
"0.1765",
"0.476"
],
[
"0.3228",
"0.504",
"0.675",
"0.505",
"0.675",
"0.5195",
"0.3228",
"0.518"
],
[
"0.8022",
"0.505",
"0.826",
"0.505",
"0.826",
"0.5195",
"0.8022",
"0.5195"
],
[
"0.1765",
"0.5386",
"0.8228",
"0.5386",
"0.8228",
"0.552",
"0.1765",
"0.552"
],
[
"0.1748",
"0.552",
"0.2222",
"0.552",
"0.2222",
"0.5664",
"0.1748",
"0.5664"
],
[
"0.1772",
"0.5728",
"0.822",
"0.5728",
"0.822",
"0.586",
"0.1772",
"0.586"
],
[
"0.1748",
"0.586",
"0.312",
"0.586",
"0.312",
"0.5996",
"0.1748",
"0.5996"
],
[
"0.267",
"0.6255",
"0.738",
"0.627",
"0.738",
"0.648",
"0.267",
"0.6465"
],
[
"0.8022",
"0.6416",
"0.826",
"0.6416",
"0.826",
"0.655",
"0.8022",
"0.655"
],
[
"0.2615",
"0.6494",
"0.4265",
"0.653",
"0.4265",
"0.6704",
"0.2615",
"0.6675"
],
[
"0.4805",
"0.6514",
"0.6895",
"0.6514",
"0.6895",
"0.6694",
"0.4805",
"0.6694"
],
[
"0.1748",
"0.6914",
"0.2141",
"0.6914",
"0.2141",
"0.7026",
"0.1748",
"0.7026"
],
[
"0.2141",
"0.6914",
"0.6274",
"0.6914",
"0.6274",
"0.702",
"0.2141",
"0.702"
],
[
"0.1772",
"0.7183",
"0.8228",
"0.7183",
"0.8228",
"0.732",
"0.1772",
"0.732"
],
[
"0.1765",
"0.732",
"0.3865",
"0.732",
"0.3865",
"0.7456",
"0.1765",
"0.7456"
],
[
"0.1772",
"0.754",
"0.8228",
"0.754",
"0.8228",
"0.7676",
"0.1772",
"0.7676"
],
[
"0.1772",
"0.7676",
"0.8228",
"0.7676",
"0.8228",
"0.781",
"0.1772",
"0.781"
],
[
"0.1805",
"0.78",
"0.808",
"0.78",
"0.808",
"0.7935",
"0.1805",
"0.7935"
],
[
"0.1765",
"0.7944",
"0.8105",
"0.7944",
"0.8105",
"0.808",
"0.1765",
"0.808"
],
[
"0.1765",
"0.808",
"0.822",
"0.808",
"0.822",
"0.8228",
"0.1765",
"0.8228"
],
[
"0.1765",
"0.8213",
"0.8228",
"0.821",
"0.8228",
"0.8354",
"0.1765",
"0.836"
],
[
"0.1765",
"0.836",
"0.8228",
"0.836",
"0.8228",
"0.8496",
"0.1765",
"0.8496"
],
[
"0.1765",
"0.851",
"0.722",
"0.851",
"0.722",
"0.8643",
"0.1765",
"0.8643"
],
[
"0.1772",
"0.8706",
"0.8228",
"0.8706",
"0.8228",
"0.884",
"0.1772",
"0.884"
],
[
"0.1772",
"0.884",
"0.8228",
"0.884",
"0.8228",
"0.898",
"0.1772",
"0.898"
],
[
"0.1765",
"0.8984",
"0.486",
"0.8984",
"0.486",
"0.912",
"0.1765",
"0.912"
],
[
"0.4927",
"0.9375",
"0.5063",
"0.9375",
"0.5063",
"0.9478",
"0.4927",
"0.9478"
]
] | [
"PixelSpace",
"Reconstruct",
"Real/Fake",
"x",
"X",
"Domain",
"Classifier",
"G",
"Adversarial",
"D",
"Domain",
"Classifier",
"FeatureSpace",
"Figure 2:Overview of our Unified Feature Disentanglement Network (UFDN), consisting of an",
"encoder E , a generator G , a discriminator in pixel space D, and a discriminator in feature space",
"Du . Note that &e and &e denote input and reconstruct images with domain vector Ve , respectively",
" indicates the synthesized image with domain vector Ue .",
"Cadu = E[log(Dr(a) + E[log(1 - D(ace)],",
"Cedu= -E[log(D(te)].",
"(4)",
"另一方面,域分类的目标函数导出为:",
"Ccls=E[logP(la=vaa)l +E[logP(l=veae)],",
"(5)",
"其中表示图像鉴别器D的域预测。该术语隐式地最大化域向量和合成图像之间的互信",
"息[3]",
"为了训练我们的UFDN,我们使用以下梯度交替更新编码器E,生成器G,域鉴别器D",
"和图像鉴别器D:",
"Oe±-Aoe(Cuae + Cod), OG+-Doo(Cuae + Cd\"+ Lals),",
"(6)",
"eD-AeD(Cadu),",
"OD-Aop(Cadu+Les).",
"3.3",
"Comparison with state-of-the-art cross-domain yisual tasks",
"为了证明我们提出的UFDN的唯一性,我们将我们的模型与TableE1中的几种最先进的图",
"像到图像翻译作品进行了比较",
"在不需要成对训练数据的情况下,CycleGANE[10]学习两个像素空间之间的双向映射,而",
"他们需要学习用于多域图像翻译任务的多个单独网络。StarGAN[4]通过学习统一结构缓解",
"了上述问题。但是,它没有表现出在不同领域中解开特定语义的能力。关于图像翻译的另",
"系列工作是学习跨图像域的联合表示[24,16,18]。当DTN[24]学习联合表示将图像从",
"个域转换到另一个域时,他们的模型只允许单向图像转换的任务。UNIT[16]通过联合合成",
"两个域中的图像来解决上述问题。但是,它不能像我们一样学习解开的表示。E-CDRD[18]",
"的最新工作推导了跨域表示解纠缠。当需要两个以上的数据域时,他们的模型需要很高的",
"计算成本,而我们的模型是多个数据域的统一架构(i。e。,域代码作为向量)",
"值得重复的是,我们的UFDN不需要成对训练数据来学习多域解纠缠特征表示。正如稍后",
"在实验中验证的那样,我们的模型不仅可以实现多域图像到图像的转换和操作,而且派生",
"的域不变特征还可以实现无监督的域自适应",
"4"
] | {
"arxiv_id": "1809.01361",
"language": "zh",
"page_idx": 3
} |
||
2208.10625-zh-0 | 2208.10625-zh-0.jpg | 1
<NEXTHT\_LINE
教育数据挖掘(EDM)应用数据挖掘,人工智能(AI)和机器学习(ML)来改善学术体验。近年来,许多教育机构广泛研究和部署了注入 AI 的技术[3,19] 。EDM 中最吸引人的重要任务之一是学生成绩预测。学生学习成果的早期估计可以帮助检测和通知学生在学业失败的风险。此外,它支持机构管理人员确定影响学生成绩的关键因素,并提供适当的干预措施以改善结果。成绩预测过程依赖于历史学术记录,并在标记数据上训练 ML 算法以预测学生的成绩。为此, 已经提出了各种数据集[11,26,37]和方法[16,24,41] 。随着人工智能系统的广泛使用和好处,公平性已成为设计此类系统的关键标准。非歧视性 ML 模型已成为教育中日益重要和增长势头的主题。尽管最近的 ML 模型取得了进步和卓越的准确性,但一些研究表明,由于数据中嵌入的历史歧视,基于 ML 的决策可能会偏向于受保护的属性,如性别或种族[28,32] 。努力减少偏见对于 ML 模型在教育中的适用性是重要且决定性的。例如,最近的一项研究提出了一些方法,旨在预测英格兰学生的计算成绩,以代替实际成绩,因为在 COVID-19 [5] 期间取消了考试。然而,由于一些暴露的历史偏见,该提案无法适用 ML 领域引入了多种公平措施。然而,由于公平对上下文的依赖,选择适当的措施可能很麻烦。计算机科学研究领域[28,36]引人了 20 多种不同的公平性措施。事实上, 没有指标是通用的,适合所有情况[15,28,36] 。模型开发人员应探索各种公平性措施,以确定最适合上下文的概念。公平是教育的基本概念,所有学生都必须有平等的学习机会或受到公平对待,无论其家庭收人,资产,性别或种族如何[29] 。[20] 的研究讨论了 50 年历史中教育、招聘和机器学习中的公平定义。但是, 以前没有关于不同公平指标的效率以及如何在教育环境中选择它们的工作
在本文中,我们提供了一项全面的研究,以评估各种公平指标在学生成绩预测中的充分性。我们考虑了 ML 中一组最流行的公平概念。在不同的教育数据集上进行了各种实验,并使用不同的公平性指标进行了评估。我们的实验为用户提供了在教育背景下从各个方面对不公平的广泛看法。此外,结果还指导选择合适的公平措施来评估学生的成绩预测模型。我们相信我们的贡献对于减轻选择公平措施的负担至关重要,并激励进一步研究以提高学生成绩预测模型的准确性和公平性
本文的其余部分组织如下。在 1节中,我们介绍了一些关于公平感知 ML 和学生成绩预测的密切相关的工作。第 2 节描述了 ML 中最流行的组公平措施。接下来,我们对教育数据集上的预测模型进行定量评估,并在LEl3 节中讨论合适的公平性指标的选择。最后,我们在 4 节中总结了这篇论文
# 1 Related work
进行了广泛的研究工作,为学生的表现分析和预测提供了有用的见解$\mathbb{E}[38]$。在不同的问题设置上测试了各种 ML 模型。Cortez 等人。$\mathbb{E}[11]$提出了一项早期研究,以预测葡萄牙语和数学课的中学生成绩。他们的结果表明,当以前的学期成绩可用时,可以实现良好的预测准确性。同样,Berhanu 等人。[7] 使用决策树来预测学生使用农业学院数据集的表现。一些研究[E[25,41] 提出了多种方法来预测高等教育中的学生成绩。此外,许多其他研究在多次调查中进行了回顾[1,31,33,33,34] 。TheypointedoutthemostcommontechniquessuchasDecisionTree,NaiveBayes,SupportVectorMachines,andneuralnetworksanddominantfactorsimpactingpredictiveoutcomes
e。、累计平均成绩、以前的成绩、课堂出勤率等。)。 | [
[
"0.777",
"0.1193",
"0.786",
"0.1193",
"0.786",
"0.127",
"0.777",
"0.127"
],
[
"0.246",
"0.1483",
"0.38",
"0.1477",
"0.38",
"0.161",
"0.246",
"0.1622"
],
[
"0.2443",
"0.1654",
"0.7817",
"0.1654",
"0.7817",
"0.1755",
"0.2443",
"0.1755"
],
[
"0.2197",
"0.1799",
"0.7837",
"0.1799",
"0.7837",
"0.1932",
"0.2197",
"0.1932"
],
[
"0.232",
"0.1957",
"0.7837",
"0.1957",
"0.7837",
"0.209",
"0.232",
"0.209"
],
[
"0.2197",
"0.209",
"0.7837",
"0.2102",
"0.7837",
"0.2247",
"0.2197",
"0.2235"
],
[
"0.2214",
"0.2267",
"0.7817",
"0.2267",
"0.7817",
"0.2374",
"0.2214",
"0.2374"
],
[
"0.2181",
"0.2405",
"0.7817",
"0.2405",
"0.7817",
"0.254",
"0.2181",
"0.254"
],
[
"0.2214",
"0.2556",
"0.7817",
"0.2556",
"0.7817",
"0.2695",
"0.2214",
"0.2695"
],
[
"0.2181",
"0.2695",
"0.7817",
"0.2695",
"0.7817",
"0.2827",
"0.2181",
"0.2827"
],
[
"0.2222",
"0.2874",
"0.7817",
"0.2874",
"0.7817",
"0.2974",
"0.2222",
"0.2974"
],
[
"0.2214",
"0.303",
"0.7817",
"0.303",
"0.7817",
"0.3132",
"0.2214",
"0.3132"
],
[
"0.2214",
"0.3164",
"0.785",
"0.3164",
"0.785",
"0.33",
"0.2214",
"0.33"
],
[
"0.2181",
"0.33",
"0.7837",
"0.3308",
"0.7837",
"0.3447",
"0.2181",
"0.3435"
],
[
"0.2214",
"0.348",
"0.7837",
"0.348",
"0.7837",
"0.358",
"0.2214",
"0.358"
],
[
"0.2197",
"0.3623",
"0.785",
"0.3623",
"0.785",
"0.3757",
"0.2197",
"0.3757"
],
[
"0.2214",
"0.377",
"0.7837",
"0.377",
"0.7837",
"0.3901",
"0.2214",
"0.3901"
],
[
"0.2197",
"0.3914",
"0.7837",
"0.3914",
"0.7837",
"0.4048",
"0.2197",
"0.4048"
],
[
"0.2214",
"0.4077",
"0.7837",
"0.4077",
"0.7837",
"0.4185",
"0.2214",
"0.4185"
],
[
"0.2181",
"0.4216",
"0.7817",
"0.4216",
"0.7817",
"0.435",
"0.2181",
"0.435"
],
[
"0.2214",
"0.4382",
"0.7817",
"0.4382",
"0.7817",
"0.449",
"0.2214",
"0.449"
],
[
"0.2239",
"0.4558",
"0.2402",
"0.4558",
"0.2402",
"0.4634",
"0.2239",
"0.4634"
],
[
"0.2345",
"0.452",
"0.785",
"0.452",
"0.785",
"0.4653",
"0.2345",
"0.4653"
],
[
"0.2197",
"0.4673",
"0.74",
"0.4673",
"0.74",
"0.481",
"0.2197",
"0.481"
],
[
"0.246",
"0.4849",
"0.7837",
"0.4849",
"0.7837",
"0.4956",
"0.246",
"0.4956"
],
[
"0.2214",
"0.4988",
"0.785",
"0.4988",
"0.785",
"0.512",
"0.2214",
"0.512"
],
[
"0.2181",
"0.512",
"0.7837",
"0.513",
"0.7837",
"0.528",
"0.2181",
"0.5264"
],
[
"0.2214",
"0.529",
"0.7837",
"0.529",
"0.7837",
"0.5425",
"0.2214",
"0.5425"
],
[
"0.2197",
"0.5454",
"0.7837",
"0.5454",
"0.7837",
"0.556",
"0.2197",
"0.556"
],
[
"0.2181",
"0.558",
"0.785",
"0.5596",
"0.785",
"0.5737",
"0.2181",
"0.5728"
],
[
"0.2181",
"0.5747",
"0.335",
"0.5747",
"0.335",
"0.5884",
"0.2181",
"0.5884"
],
[
"0.2427",
"0.5913",
"0.785",
"0.5913",
"0.785",
"0.605",
"0.2427",
"0.605"
],
[
"0.2197",
"0.606",
"0.7837",
"0.606",
"0.7837",
"0.619",
"0.2197",
"0.619"
],
[
"0.2181",
"0.619",
"0.785",
"0.6206",
"0.785",
"0.6353",
"0.2181",
"0.634"
],
[
"0.2197",
"0.636",
"0.652",
"0.636",
"0.652",
"0.6494",
"0.2197",
"0.6494"
],
[
"0.2173",
"0.674",
"0.3857",
"0.674",
"0.3857",
"0.6875",
"0.2173",
"0.6875"
],
[
"0.2222",
"0.7085",
"0.7837",
"0.7085",
"0.7837",
"0.7183",
"0.2222",
"0.7183"
],
[
"0.2214",
"0.72",
"0.7837",
"0.72",
"0.7837",
"0.7344",
"0.2214",
"0.7344"
],
[
"0.2214",
"0.7373",
"0.7817",
"0.7373",
"0.7817",
"0.7476",
"0.2214",
"0.7476"
],
[
"0.2214",
"0.752",
"0.7837",
"0.752",
"0.7837",
"0.765",
"0.2214",
"0.765"
],
[
"0.2197",
"0.7666",
"0.7817",
"0.7666",
"0.7817",
"0.78",
"0.2197",
"0.78"
],
[
"0.2197",
"0.782",
"0.7837",
"0.782",
"0.7837",
"0.7954",
"0.2197",
"0.7954"
],
[
"0.2181",
"0.7954",
"0.7817",
"0.797",
"0.7817",
"0.811",
"0.2181",
"0.81"
],
[
"0.2197",
"0.8125",
"0.996",
"0.8125",
"0.996",
"0.8257",
"0.2197",
"0.8257"
],
[
"0.2197",
"0.829",
"0.591",
"0.829",
"0.591",
"0.839",
"0.2197",
"0.839"
]
] | [
"1",
"<NEXTHTLINE",
"教育数据挖掘(EDM)应用数据控掘:人T智能(AI)和机器学习(ML)来",
"改善学术体验。近年来,许多教育机构广泛研究和部署了注入AI的技术[3,19]",
"EDM中最吸引人的重要任务之一是学生成绩预测。学生学习成果的早期估计",
"可以帮助检测和通知学生在学业失败的风险。此外,它支持机构管理人员确定",
"影响学生成绩的关键因素,并提供适当的干预措施以改善结果。成绩预测过程",
"依赖于历史学术记录,并在标记数据上训练ML算法以预测学生的成绩。为此",
"已经提出了各种数据集[11,26,37]和方法[16,24,41]。随着人工智能系统的广",
"泛使用和好处,公平性已成为设计此类系统的关键标准。非歧视性ML模型已",
"成为教育中日益重要和增长势头的主题。尽管最近的ML模型取得了进步和卓",
"越的准确性,但一些研究表明,由于数据中嵌入的历史歧视,基于M的决策可",
"能会偏向于受保护的属性,如性别或种族[28,32]。努力减少偏见对于ML模",
"型在教育中的适用性是重要且决定性的。例如,最近的一项研究提出了一些方",
"法,旨在预测英格兰学生的计算成绩:以代替实际成绩,因为在COVID-195",
"期间取消了考试。然而,由于一些暴露的历史偏见,该提案无法适用ML领域",
"引人了多种公平措施。然而,由于公平对上下文的依赖,选择适当的措施可能很",
"麻烦。计算机科学研究领域[28,36]引入了20多种不同的公平性措施。事实上",
"没有指标是通用的,适合所有情况15,28.36。模型开发人员应探索各种公平性",
"措施,以确定最适合上下文的概念。公平是教育的基本概念,所有学生都必须有",
"平等的学习机会或受到公平对待,无论其家庭收人,资产,性别或种族如何29",
"",
"[20]的研究讨论了50年历史中教育、招聘和机器学习中的公平定义。但是",
"以前没有关于不同公平指标的效率以及如何在教育环境中选择它们的工作",
"在本文中,我们提供了一项全面的研究,以评估各种公平指标在学生成绩预",
"测中的充分性。我们考虑了ML中一组最流行的公平概念。在不同的教育数据",
"集上进行了各种实验,并使用不同的公平性指标进行了评估。我们的实验为用",
"户提供了在教育背景下从各个方面对不公平的广泛看法。此外,结果还指导选",
"择合适的公平措施来评估学生的成绩预测模型。我们相信我们的贡献对于减轻",
"选择公平措施的负担至关重要,并激励进一步研究以提高学生成绩预测模型的",
"准确性和公平性",
"本文的其余部分组织如下。在1节中,我们介绍了一些关于公平感知ML和",
"学生成绩预测的密切相关的工作。第2节描述了ML中最流行的组公平措施。",
"接下来,我们对教育数据集上的预测模型进行定量评估,并在E3节中讨论合适",
"的公平性指标的选择。最后,我们在4节中总结了这篇论文",
"1Related work",
"进行了广泛的研究工作,为学生的表现分析和预测提供厂有用的见解E38。在",
"不同的问题设置上测试了各种ML模型。Cortez等人。E[11]提出了一项早期研",
"究,以预测葡萄牙语和数学课的中学生成绩。他们的结果表明,当以前的学期",
"成绩可用时,可以实现良好的预测准确性。同样,Berhanu等人。[7]使用决",
"策树来预测学生使用农业学院数据集的表现。一些研究E[25,41]提出了多种方",
"法来预测高等教育中的学生成绩。此外,许多其他研究在多次调查中进行了回",
"顾[1,31,33,33,34] 。TheypointedoutthemostcommontechniquessuchasDecision",
"Tree,NaiveBayes,SupportVectorMachines,andneuralnetworksanddominantfactorsimpactingpredictiveoutcomes",
"e。、累计平均成绩、以前的成绩、课堂出勤率等。)。"
] | {
"arxiv_id": "2208.10625",
"language": "zh",
"page_idx": 0
} |
||
2208.10625-zh-1 | 2208.10625-zh-1.jpg | 2
为分类引人了 20 多个公平概念[28,36] 。最著名的公平衡量标准之一是人口均等,即所谓的统计均等。它要求在受保护和不受保护的群体中进行正面预测的概率相等。然而,Dwork 等人。[13] 认为该指标无法确保个人公平。为了避免这种情况,Hardt 等人。[18] 提出的均衡赔率度量。它测量分类器是否同样好地预测所有属性值的标签。此外,还引人了许多其他流行的指标,并将其用于公平性 ML 研究,例如预测奇偶性,预测相等性[E[9] ,治疗相等性[E[8] 等。尽管有大量的公平措施,但没有适合所有情况的指标[28,36]
随着公平措施的发展,最近的研究试图在教育背景下评估公平[17,22,39] 。安德森等人。[6] 对现有学生毕业预测模型进行了两次事后公平性评估。Renzhe 等人。$\mathbb{E}[39]$研究了学生数据源的不同组合,以建立高度预测和公平的模型来预测大学的成功。Jiang 等人。[23] 提出了几种减轻 LSTM 等级预测模型偏差的策略。他们报告了真阳性率(TPR),真阴性率(TNR)和准确性的实验结果
2 Fairness measures
Table 1: An overview of group fairness measures
<table>
<tbody>
<tr>
<th>Measures</th>
<th>Proposed 1</th>
<th>Published Vear $J1$</th>
<th>$\#$Citations</th>
</tr>
<tr>
<td>Statistical parity</td>
<td>[13]</td>
<td>2012</td>
<td>2,367</td>
</tr>
<tr>
<td>Equal opportunity</td>
<td>$18^{\prime}$</td>
<td>2016</td>
<td>2,575</td>
</tr>
<tr>
<td>Equalized odds</td>
<td>[18]</td>
<td>2016</td>
<td>2,575</td>
</tr>
<tr>
<td>Predictive parity</td>
<td>$[9^{\prime}$</td>
<td>2017</td>
<td>1,430</td>
</tr>
<tr>
<td>Predictive equality</td>
<td>[10]</td>
<td>2017</td>
<td>878</td>
</tr>
<tr>
<td>Treatment equality</td>
<td>8</td>
<td>2018</td>
<td>626</td>
</tr>
<tr>
<td>Absolute Between-ROC Area</td>
<td>[17]</td>
<td>2019</td>
<td>84</td>
</tr>
</tbody>
</table>
本节介绍 ML 中使用的最普遍的组公平性概念。表 1 中总结了概念$^{1}$的列表。为了简化,我们将学生成绩预测问题视为二进制分类任务,其形式化如下:
令$\mathcal{D}$为具有类属性$Y=\{+,-\}$ ,e 的二进制分类数据集。g。$,Y=\{pass,fail\}$ 。$S$是受二进制保护的属性$S\in\{s,\overline{s}\}$ ,e。g。$,S=$”性别”$,S\in\{female,male\}$ 。其中,s 是判别组 (保护组) , e。g。,“女性”,而$\bar{s}$是无歧视组 (非保护组), e。g。“男性”。预测结果表示为$\hat{Y}=\{+,-\}$ 。$s_+(s_-),\bar{s}_+(\bar{s}_-)$用于表示正(分别为负)类的受保护和不受保护的组
我们使用混淆矩阵(图。1)以具有 100 个实例的数据集为例演示组公平性度量,类$Y=\{pass,fail\}$ 。受保护的属性为“性别”,受保护的群体为“女性”;“女性”:“男性”的分布为 46:54。基于该混淆矩阵计算以下小节中的公平性度量示例。
$^{1}$The number of citations is reported by Google Scholar on $^{st}$ August 2022 | [
[
"0.2181",
"0.11615",
"0.2296",
"0.11615",
"0.2296",
"0.1276",
"0.2181",
"0.1276"
],
[
"0.246",
"0.1497",
"0.7817",
"0.1497",
"0.7817",
"0.1604",
"0.246",
"0.1604"
],
[
"0.2214",
"0.1635",
"0.785",
"0.1635",
"0.785",
"0.1768",
"0.2214",
"0.1768"
],
[
"0.2197",
"0.178",
"0.7837",
"0.178",
"0.7837",
"0.1913",
"0.2197",
"0.1913"
],
[
"0.2197",
"0.1932",
"0.7837",
"0.1932",
"0.7837",
"0.207",
"0.2197",
"0.207"
],
[
"0.2197",
"0.2084",
"0.7837",
"0.2084",
"0.7837",
"0.2216",
"0.2197",
"0.2216"
],
[
"0.2214",
"0.2235",
"0.7876",
"0.2235",
"0.7876",
"0.2374",
"0.2214",
"0.2374"
],
[
"0.2181",
"0.2374",
"0.653",
"0.238",
"0.653",
"0.2524",
"0.2181",
"0.252"
],
[
"0.246",
"0.254",
"0.7876",
"0.254",
"0.7876",
"0.2676",
"0.246",
"0.2676"
],
[
"0.2197",
"0.2683",
"0.786",
"0.2683",
"0.786",
"0.2822",
"0.2197",
"0.2822"
],
[
"0.2197",
"0.2842",
"0.785",
"0.2842",
"0.785",
"0.2974",
"0.2197",
"0.2974"
],
[
"0.2181",
"0.2974",
"0.785",
"0.2986",
"0.785",
"0.3132",
"0.2181",
"0.3125"
],
[
"0.2181",
"0.3145",
"0.7534",
"0.3145",
"0.7534",
"0.3276",
"0.2181",
"0.3276"
],
[
"0.2197",
"0.3447",
"0.2336",
"0.3447",
"0.2336",
"0.3547",
"0.2197",
"0.3547"
],
[
"0.232",
"0.3423",
"0.4307",
"0.3447",
"0.4307",
"0.358",
"0.232",
"0.356"
],
[
"0.3022",
"0.3801",
"0.7017",
"0.3801",
"0.7017",
"0.3945",
"0.3022",
"0.3945"
],
[
"0.3325",
"0.3933",
"0.398",
"0.3965",
"0.3962",
"0.411",
"0.3308",
"0.4077"
],
[
"0.464",
"0.3958",
"0.734",
"0.3958",
"0.734",
"0.4092",
"0.464",
"0.4092"
],
[
"0.2646",
"0.4072",
"0.3782",
"0.4104",
"0.3782",
"0.4248",
"0.2646",
"0.4216"
],
[
"0.4927",
"0.4077",
"0.5195",
"0.4077",
"0.5195",
"0.4248",
"0.4927",
"0.4248"
],
[
"0.585",
"0.4104",
"0.6167",
"0.4104",
"0.6167",
"0.4224",
"0.585",
"0.4224"
],
[
"0.697",
"0.4104",
"0.732",
"0.4104",
"0.732",
"0.4216",
"0.697",
"0.4216"
],
[
"0.4944",
"0.4224",
"0.517",
"0.4224",
"0.517",
"0.4375",
"0.4944",
"0.4375"
],
[
"0.694",
"0.4224",
"0.7344",
"0.4224",
"0.7344",
"0.4375",
"0.694",
"0.4375"
],
[
"0.585",
"0.4236",
"0.6177",
"0.4236",
"0.6177",
"0.4363",
"0.585",
"0.4363"
],
[
"0.2656",
"0.4236",
"0.3896",
"0.4236",
"0.3896",
"0.4375",
"0.2656",
"0.4375"
],
[
"0.4944",
"0.4375",
"0.517",
"0.4375",
"0.517",
"0.4507",
"0.4944",
"0.4507"
],
[
"0.584",
"0.4363",
"0.619",
"0.4363",
"0.619",
"0.452",
"0.584",
"0.452"
],
[
"0.697",
"0.4382",
"0.7344",
"0.4382",
"0.7344",
"0.452",
"0.697",
"0.452"
],
[
"0.267",
"0.4507",
"0.38",
"0.4507",
"0.38",
"0.464",
"0.267",
"0.464"
],
[
"0.2688",
"0.4382",
"0.3677",
"0.4382",
"0.3677",
"0.4495",
"0.2688",
"0.4495"
],
[
"0.4968",
"0.4507",
"0.5156",
"0.4507",
"0.5156",
"0.464",
"0.4968",
"0.464"
],
[
"0.585",
"0.4507",
"0.6167",
"0.4507",
"0.6167",
"0.4634",
"0.585",
"0.4634"
],
[
"0.697",
"0.4507",
"0.7344",
"0.4507",
"0.7344",
"0.464",
"0.697",
"0.464"
],
[
"0.267",
"0.464",
"0.392",
"0.464",
"0.392",
"0.4778",
"0.267",
"0.4778"
],
[
"0.4944",
"0.464",
"0.5186",
"0.464",
"0.5186",
"0.4778",
"0.4944",
"0.4778"
],
[
"0.584",
"0.461",
"0.619",
"0.464",
"0.6177",
"0.4792",
"0.581",
"0.4766"
],
[
"0.7075",
"0.464",
"0.734",
"0.464",
"0.734",
"0.4778",
"0.7075",
"0.4778"
],
[
"0.2656",
"0.4766",
"0.3938",
"0.4778",
"0.3938",
"0.4924",
"0.2656",
"0.4912"
],
[
"0.4983",
"0.4778",
"0.5156",
"0.4778",
"0.5156",
"0.4924",
"0.4983",
"0.4924"
],
[
"0.584",
"0.476",
"0.621",
"0.4792",
"0.6177",
"0.4924",
"0.581",
"0.4905"
],
[
"0.7075",
"0.4778",
"0.734",
"0.4778",
"0.734",
"0.4912",
"0.7075",
"0.4912"
],
[
"0.4958",
"0.4924",
"0.517",
"0.4924",
"0.517",
"0.506",
"0.4958",
"0.506"
],
[
"0.584",
"0.4924",
"0.6177",
"0.4924",
"0.6177",
"0.505",
"0.584",
"0.505"
],
[
"0.714",
"0.4924",
"0.7344",
"0.4924",
"0.7344",
"0.506",
"0.714",
"0.506"
],
[
"0.2443",
"0.515",
"0.785",
"0.515",
"0.785",
"0.529",
"0.2443",
"0.529"
],
[
"0.267",
"0.4937",
"0.4617",
"0.4937",
"0.4617",
"0.504",
"0.267",
"0.504"
],
[
"0.2197",
"0.53",
"0.7812",
"0.53",
"0.7812",
"0.5435",
"0.2197",
"0.5435"
],
[
"0.246",
"0.5454",
"0.7837",
"0.5454",
"0.7837",
"0.5596",
"0.246",
"0.5596"
],
[
"0.2197",
"0.56",
"0.7837",
"0.56",
"0.7837",
"0.5747",
"0.2197",
"0.5747"
],
[
"0.2214",
"0.5757",
"0.785",
"0.5757",
"0.785",
"0.5903",
"0.2214",
"0.5903"
],
[
"0.2181",
"0.589",
"0.7837",
"0.589",
"0.7837",
"0.604",
"0.2181",
"0.604"
],
[
"0.2197",
"0.607",
"0.5024",
"0.607",
"0.5024",
"0.617",
"0.2197",
"0.617"
],
[
"0.2427",
"0.6206",
"0.785",
"0.6206",
"0.785",
"0.634",
"0.2427",
"0.634"
],
[
"0.2197",
"0.636",
"0.785",
"0.636",
"0.785",
"0.6494",
"0.2197",
"0.6494"
],
[
"0.2181",
"0.6494",
"0.7817",
"0.6494",
"0.7817",
"0.6636",
"0.2181",
"0.6636"
],
[
"0.2181",
"0.6665",
"0.3064",
"0.6665",
"0.3064",
"0.678",
"0.2181",
"0.678"
],
[
"0.2402",
"0.8247",
"0.7427",
"0.8257",
"0.7427",
"0.8403",
"0.2402",
"0.839"
]
] | [
"2",
"为分类引入了20多个公平概念[28.36]。最著名的公平衡量标准之一是人",
"口均等,即所谓的统计均等。它要求在受保护和不受保护的群体中进行正面预",
"测的概率相等。然而,Dwork等人。[13]认为该指标无法确保个人公平。为了",
"避免这种情况,Hardt等人。[18]提出的均衡赔率度量。它测量分类器是否同",
"样好地预测所有属性值的标签。此外,还引人了许多其他流行的指标,并将其用",
"于公平性ML研究,例如预测奇偶性,预测相等性E[9],治疗相等性E[8]等。",
"尽管有大量的公平措施,但没有适合所有情况的指标[28,36]",
"随着公平措施的发展,最近的研究试图在教育背景下评估公平[17,22,39]。",
"安德森等人。[6]对现有学生毕业预测模型进行了两次事后公平性评估。Renzhe",
"等人。E[39]研究了学生数据源的不同组合,以建立高度预测和公平的模型来预",
"测大学的成功。Jiang等人。[23]提出了几种减轻LSTM等级预测模型偏差的策",
"略。他们报告了真阳性率(TPR),真阴性率(TNR)和准确性的实验结果",
"2",
"Fairnessmeasures",
"Table l: An overview of group fairness measures",
"Measures",
"Proposed by Published year# Citations",
"Statistical parity",
"[13]",
"2012",
"2,367",
"[18]",
"2,575",
"2016",
"Equal opportunity",
"[18]",
"2016",
"2,575",
"Predictive parity",
"Equalized odds",
"[9]",
"2017",
"1,430",
"Predictiveequality",
"[10]",
"2017",
"878",
"Treatment equality",
"[8] ",
"2018",
"626",
"[17]",
"2019",
"84",
"本节介绍ML中使用的最普遍的组公平性概念。表1中总结了概念1的列",
"AbsoluteBetween-ROCArea",
"表。为了简化,我们将学生成绩预测问题视为二进制分类任务,其形式化如下:",
"令D为具有类属性Y=【+,-},e的二进制分类数据集。g。,Y=(pass,fail)",
"。S是受二进制保护的属性Se[s,}e。g。,S=”性别\",Se(female,male]",
"。其中,s是判别组(保护组),e。g。,“女性”,而3是无歧视组(非保护组),e。",
"g。,“男性\"。预测结果表示为=【+,-}。S+(s_),+(s_)用于表示正",
"(分别为负)类的受保护和不受保护的组",
"我们使用混淆矩阵(图。1)以具有100个实例的数据集为例演示组公平性",
"度量,类Y={pass,fail)。受保护的属性为“性别”,受保护的群体为“女",
"性”;“女性”:“男性”的分布为46:54。基于该混淆矩阵计算以下小节中的公平",
"性度量示例。",
"1The number of citations is reported by Google Scholar on 1st August 2022"
] | {
"arxiv_id": "2208.10625",
"language": "zh",
"page_idx": 1
} |
||
2208.10625-zh-2 | 2208.10625-zh-2.jpg | 3
${\textbf{Predicted class}}$
<FigureHere>
Fig.1: The confusion matrix with an example
### 2.1 Statistical parity
统计奇偶性(表示为 SP) 是众所周知的组公平性度量[13] ,由此,如果所研究的任何两个组之间的预测结果($\hat{Y}$)的差异(偏差),则任何分类器的输出都满足统计奇偶性(i。e。, $s$和$\overline{s})$达到了预定义的容差阈值$\epsilon:$
$$P(\hat Y|S=s)-P(\hat Y|S=\overline{s})\leq\epsilon.$$
(1)
我们使用违反统计奇偶校验$\mathbb{E}[27,35,40]$ 来测量分类器的偏差:
$$SP=P(\hat{Y}=+|S=\overline{s})-P(\hat{Y}=+|S=s).$$
(2)
值范围:XMATHX 保护 XMATHX 组,XMATHX5。在我们的示例中 (图。$\mathbb{E}$ 1 ), 该 度 量 显 示 了 两 个 人 口 统 计 子 组 之 间 “ 通 过 ” 学 生 的 比 例 。$SP= \frac {38+ 6}{54}-$ 32+4 $\frac{32+4}{46}\approx0.0322$
### 2.2 Equal opportunity
机会均等(表示为 EO) 由 Hardt 等人提出。[18],其中二进制预测结果$\hat{Y}$满
足相等机会 w。r。t。受保护的属性$S$和类属性$Y$如果:
$$P(\hat Y=+|S=s,Y=+)=P(\hat Y=+|S=\overline s,Y=+).$$
(3)
换句话说,受保护的和不受保护的组应具有相等的真阳性率(TPR)[28,36], $TPR=\frac{TP}{TP+FN}$ (i。e。,分类器应该为实际“通过”课程的男女学生给出相似 的 结 果 ) 。具 有 相 等 假 阴 性 率 ( FNR) 的 分 类 器 $FNR= \frac {FN}{TP+ FN}$ 也 将 具 有 相 等 的 TPR [ 36] 。平 等 机 会 可 以 通 过 以 下 方 式 衡 量 :
$$EO=|P(\hat{Y}=-|Y=+,S=\bar{s})-P(\hat{Y}=-|Y=+,S=s)|.$$
(4)
值范围:$EO\in[0,1]$ ;0表示无歧视,1 表示最大歧视。在我们的示例中,
$EO=\mid\frac{38}{38+6}-\frac{32}{32+4}\mid\approx0.0253$ | [
[
"0.7754",
"0.11743",
"0.786",
"0.11743",
"0.786",
"0.1288",
"0.7754",
"0.1288"
],
[
"0.5034",
"0.1515",
"0.6177",
"0.1515",
"0.6177",
"0.1622",
"0.5034",
"0.1622"
],
[
"0.4248",
"0.1692",
"0.5073",
"0.1718",
"0.5073",
"0.1863",
"0.4248",
"0.1843"
],
[
"0.6055",
"0.1704",
"0.6855",
"0.1704",
"0.6855",
"0.1849",
"0.6055",
"0.1849"
],
[
"0.3945",
"0.1925",
"0.524",
"0.1932",
"0.524",
"0.2084",
"0.3945",
"0.207"
],
[
"0.572",
"0.1925",
"0.709",
"0.1932",
"0.709",
"0.2084",
"0.572",
"0.207"
],
[
"0.2917",
"0.202",
"0.3708",
"0.202",
"0.3708",
"0.2134",
"0.2917",
"0.2134"
],
[
"0.3882",
"0.2052",
"0.5317",
"0.207",
"0.5317",
"0.2247",
"0.3882",
"0.2229"
],
[
"0.568",
"0.2052",
"0.7134",
"0.2084",
"0.7134",
"0.2235",
"0.568",
"0.2203"
],
[
"0.615",
"0.2216",
"0.6685",
"0.2216",
"0.6685",
"0.2361",
"0.615",
"0.2361"
],
[
"0.2573",
"0.2108",
"0.2769",
"0.2108",
"0.2793",
"0.2842",
"0.2607",
"0.2842"
],
[
"0.4272",
"0.2229",
"0.4927",
"0.2229",
"0.4927",
"0.2343",
"0.4272",
"0.2343"
],
[
"0.3962",
"0.252",
"0.5254",
"0.252",
"0.5254",
"0.2651",
"0.3962",
"0.2651"
],
[
"0.5728",
"0.252",
"0.7075",
"0.252",
"0.7075",
"0.2651",
"0.5728",
"0.2651"
],
[
"0.29",
"0.2615",
"0.3694",
"0.2615",
"0.3694",
"0.2727",
"0.29",
"0.2727"
],
[
"0.3896",
"0.2632",
"0.5317",
"0.2651",
"0.5317",
"0.2827",
"0.3896",
"0.281"
],
[
"0.5664",
"0.2644",
"0.714",
"0.2651",
"0.714",
"0.2827",
"0.5664",
"0.2822"
],
[
"0.4355",
"0.2798",
"0.486",
"0.2798",
"0.486",
"0.2942",
"0.4355",
"0.2942"
],
[
"0.614",
"0.2798",
"0.669",
"0.2798",
"0.669",
"0.2942",
"0.614",
"0.2942"
],
[
"0.3162",
"0.3145",
"0.6895",
"0.3145",
"0.6895",
"0.3276",
"0.3162",
"0.3276"
],
[
"0.2181",
"0.348",
"0.4028",
"0.348",
"0.4028",
"0.361",
"0.2181",
"0.361"
],
[
"0.2197",
"0.3706",
"0.7837",
"0.3706",
"0.7837",
"0.3838",
"0.2197",
"0.3838"
],
[
"0.2214",
"0.387",
"0.7837",
"0.387",
"0.7837",
"0.3977",
"0.2214",
"0.3977"
],
[
"0.2214",
"0.4016",
"0.6562",
"0.4016",
"0.6562",
"0.4153",
"0.2214",
"0.4153"
],
[
"0.3906",
"0.4255",
"0.6113",
"0.4268",
"0.6113",
"0.4414",
"0.3906",
"0.44"
],
[
"0.763",
"0.4268",
"0.786",
"0.4268",
"0.786",
"0.4414",
"0.763",
"0.4414"
],
[
"0.2197",
"0.452",
"0.66",
"0.452",
"0.66",
"0.4653",
"0.2197",
"0.4653"
],
[
"0.3489",
"0.476",
"0.653",
"0.4766",
"0.653",
"0.4912",
"0.3489",
"0.4905"
],
[
"0.761",
"0.4766",
"0.7876",
"0.4766",
"0.7876",
"0.4944",
"0.761",
"0.4944"
],
[
"0.2181",
"0.5024",
"0.786",
"0.502",
"0.786",
"0.5166",
"0.2181",
"0.5176"
],
[
"0.2173",
"0.523",
"0.7173",
"0.5215",
"0.7173",
"0.536",
"0.2173",
"0.537"
],
[
"0.721",
"0.5176",
"0.7686",
"0.5176",
"0.7686",
"0.528",
"0.721",
"0.528"
],
[
"0.2197",
"0.535",
"0.3406",
"0.55",
"0.3367",
"0.571",
"0.2157",
"0.556"
],
[
"0.7344",
"0.5327",
"0.7563",
"0.5327",
"0.7563",
"0.547",
"0.7344",
"0.547"
],
[
"0.2336",
"0.5596",
"0.255",
"0.5596",
"0.255",
"0.5728",
"0.2336",
"0.5728"
],
[
"0.2197",
"0.5903",
"0.2688",
"0.5903",
"0.2688",
"0.6016",
"0.2197",
"0.6016"
],
[
"0.2607",
"0.589",
"0.415",
"0.5903",
"0.415",
"0.605",
"0.2607",
"0.604"
],
[
"0.2214",
"0.613",
"0.786",
"0.613",
"0.786",
"0.627",
"0.2214",
"0.627"
],
[
"0.2197",
"0.629",
"0.6274",
"0.629",
"0.6274",
"0.6426",
"0.2197",
"0.6426"
],
[
"0.3179",
"0.654",
"0.6855",
"0.654",
"0.6855",
"0.6675",
"0.3179",
"0.6675"
],
[
"0.763",
"0.655",
"0.785",
"0.655",
"0.785",
"0.6694",
"0.763",
"0.6694"
],
[
"0.2181",
"0.6797",
"0.789",
"0.6797",
"0.789",
"0.6943",
"0.2181",
"0.6943"
],
[
"0.2181",
"0.6987",
"0.2754",
"0.702",
"0.2737",
"0.7163",
"0.2173",
"0.7134"
],
[
"0.304",
"0.6934",
"0.3308",
"0.6934",
"0.3308",
"0.705",
"0.304",
"0.705"
],
[
"0.367",
"0.702",
"0.786",
"0.702",
"0.786",
"0.7153",
"0.367",
"0.7153"
],
[
"0.2778",
"0.7085",
"0.3545",
"0.7085",
"0.3545",
"0.7227",
"0.2778",
"0.7227"
],
[
"0.661",
"0.7197",
"0.693",
"0.7197",
"0.693",
"0.735",
"0.661",
"0.735"
],
[
"0.2181",
"0.729",
"0.621",
"0.729",
"0.621",
"0.742",
"0.2181",
"0.742"
],
[
"0.6177",
"0.7344",
"0.63",
"0.7344",
"0.63",
"0.7407",
"0.6177",
"0.7407"
],
[
"0.714",
"0.731",
"0.7837",
"0.731",
"0.7837",
"0.742",
"0.714",
"0.742"
],
[
"0.6396",
"0.7393",
"0.7114",
"0.7393",
"0.7114",
"0.7505",
"0.6396",
"0.7505"
],
[
"0.2197",
"0.7505",
"0.5947",
"0.7505",
"0.5947",
"0.7646",
"0.2197",
"0.7646"
],
[
"0.2893",
"0.7744",
"0.7183",
"0.776",
"0.7183",
"0.7905",
"0.2893",
"0.789"
],
[
"0.7607",
"0.7764",
"0.785",
"0.7764",
"0.785",
"0.7905",
"0.7607",
"0.7905"
],
[
"0.2181",
"0.8003",
"0.785",
"0.802",
"0.785",
"0.8164",
"0.2181",
"0.815"
],
[
"0.286",
"0.8145",
"0.312",
"0.8145",
"0.312",
"0.8276",
"0.286",
"0.8276"
],
[
"0.3489",
"0.815",
"0.3743",
"0.815",
"0.3743",
"0.827",
"0.3489",
"0.827"
],
[
"0.3882",
"0.8228",
"0.4617",
"0.821",
"0.4617",
"0.8354",
"0.3882",
"0.837"
],
[
"0.2695",
"0.83",
"0.3962",
"0.83",
"0.3962",
"0.8447",
"0.2695",
"0.8447"
],
[
"0.2197",
"0.8193",
"0.2769",
"0.8247",
"0.2737",
"0.839",
"0.2173",
"0.834"
]
] | [
"3",
"Predicted class",
"Positive +",
"Negative -",
"True Positive (TP)",
"False Negative (FN)",
"Positive +",
"TPprot + TPnon-prot",
"FNprot+FNnon-prot",
"10 (4:6)",
"",
"70(32:38)",
"False Positive (FP)",
"True Negative (TN)",
"Negative -",
"FPprot + FPnon-prot",
"TNprot + TNnon-prot",
"9 (4:5)",
"11 (6:5)",
"Fig.l: The confusion matrix with an example",
"2.1Statistical parity",
"统计奇偶性(表示为SP)是众所周知的组公平性度量[13],由此,如果所研究",
"的任何两个组之间的预测结果(Y)的差异(偏差),则任何分类器的输出都满",
"足统计奇偶性(i。e。,s和)达到了预定义的容差阈值e:",
"P(YS = s) -P(YIS =s) ≤E.",
"(1)",
"我们使用违反统计奇偶校验E[27,35,40]来测量分类器的偏差:",
"SP= P(Y = +|S = ) -P(Y = +IS= s)",
"(2)",
"值范围:XMATHX保护XMATHX组,XMATHX5。在我们的示例中(图。E",
"1),该度量显示了两个人口统计子组之间“通过”学生的比例。SP=",
"38+6",
"32+4~0.0322",
"54",
"46",
"2.2",
"Equal opportunity",
"机会均等(表示为EO)由Hardt等人提出。[18],其中二进制预测结果Y满",
"足相等机会w。r。t。受保护的属性S和类属性Y如果:",
"P(Y = +IS = S,Y =+) = P(Y =+IS =3,Y = +)",
"(3)",
"换句话说,受保护的和不受保护的组应具有相等的真阳性率(TPR)[28,36],",
"TPR=",
"TP",
"i。e。,分类器应该为实际“通过”课程的男女学生给出相",
"TP+FN",
"FN",
"似的结果)。具有相等假阴性率(FNR)的分类器FNR",
"=",
"也将具有",
"TP+FN",
"相等的TPR[36]。平等机会可以通过以下方式衡量:",
"EO=|P(Y =-|Y =+,S =3)-P(Y =-|Y =+,S= s)I.",
"(4)",
"值范围:EOE[0,1];0表示无歧视,1表示最大歧视。在我们的示例中",
"38",
"32",
"[~~0.0253",
"38+632+4",
"EO ="
] | {
"arxiv_id": "2208.10625",
"language": "zh",
"page_idx": 2
} |
||
2208.10625-zh-3 | 2208.10625-zh-3.jpg | 4
### 2.3 Equalized odds
预测器$\hat{Y}$满足均衡赔率(表示为 EOd)w。r。t。受保护的属性$S$ 和类标签$Y$,如果“$\hat{Y}$ 和$S$ 独立于$Y$”[18]。具体来说,男性和女性学生群体的预测真阳
性和假阳性概率应该相同。
$$P(\hat Y=+|S=s,Y=y)=P(\hat Y=+|S=\overline{s},Y=y),\quad y\in\{+,-\}.$$
由此,我们可以将均衡赔率测量为以下[21,27]:
$$EOd=\sum_{y\in\{+,-\}}|P(\hat Y=+|S=s,Y=y)-P(\hat Y=+|S=\overline{s},Y=y)|.$$
值范围:$EOd\in[0,2]$ ; 0表示无判别,2 表示最大判别。在我们的示例中,
$EOd=|\frac{32}{32+4}-\frac{38}{38+6}|+|\frac{4}{4+6}-\frac{5}{5+5}|\approx0.1253$
2.4 Predictive parity
如果保护组和非保护组具有相等的正预测值(PPV)或精度$PPV=\frac{TP}{TP+FP}$
i,则满足预测奇偶校验[9](表示为 PP)。e。,预测“通过”的学生实际上有“通
过”课的概率应该是相同的,对于男女学生来说。
$$P(Y=+|\hat{Y}=+,S=s)=P(Y=+|\hat{Y}=+,S=\overline{s}).$$
(7)
因此,我们将预测奇偶校验度量报告为:
$$PP=|P(Y=+|\hat Y=+,S=s)-P(Y=+|\hat Y=+,S=\overline s)|.$$
(8)
,其中$PP\in [ 0, 1]$ , 0表示无判别,1表示最大判别。$PP=\frac{32}{32+4}-\frac{38}{38+5}\approx$
0.0052 , 在我们的示例中。
### 2.5 Predictive equality
$预测相等[10](表示为 PE),也称为误报错误(FPR)率平衡[9](FPR=$ $\frac{FP}{TN+FP}$),旨在在受保护和不受保护的组中实现决策准确性的相等。详细地
说,实际“失败”班级的学生被错误地分配到“通过”班级的可能性对于男女学
生应该是相同的。
$$P(\hat{Y}=+|Y=-,S=s)=P(\hat{Y}=+|Y=-,S=\overline{s}).$$
(9)
在实践中,研究人员通过$FPRs\left[21\right]$的差异报告了预测平等度量:
$$PE=|P(\hat{Y}=+|Y=-,S=s)-P(\hat{Y}=+|Y=-,S=\overline{s})|.$$
. (10)
值范围$:PE\in[0,1]$ ,0 和 1 分别表示无歧视和最大歧视。$PE=|\frac{4}{6+4}-\frac{5}{5+5}|=$
$0.1~,~$在我们的示例中 | [
[
"0.2173",
"0.11615",
"0.2296",
"0.11615",
"0.2296",
"0.1288",
"0.2173",
"0.1288"
],
[
"0.2173",
"0.1477",
"0.3896",
"0.1477",
"0.3896",
"0.161",
"0.2173",
"0.161"
],
[
"0.2197",
"0.1718",
"0.7793",
"0.1718",
"0.7793",
"0.1849",
"0.2197",
"0.1849"
],
[
"0.2214",
"0.1863",
"0.785",
"0.1863",
"0.785",
"0.2008",
"0.2214",
"0.2008"
],
[
"0.2197",
"0.202",
"0.407",
"0.202",
"0.407",
"0.2153",
"0.2197",
"0.2153"
],
[
"0.2656",
"0.226",
"0.7646",
"0.2279",
"0.7646",
"0.2424",
"0.2656",
"0.2405"
],
[
"0.7646",
"0.2311",
"0.7817",
"0.2311",
"0.7817",
"0.2405",
"0.7646",
"0.2405"
],
[
"0.2197",
"0.252",
"0.564",
"0.2524",
"0.564",
"0.2676",
"0.2197",
"0.2664"
],
[
"0.2607",
"0.281",
"0.335",
"0.279",
"0.335",
"0.2935",
"0.2607",
"0.2954"
],
[
"0.326",
"0.279",
"0.785",
"0.279",
"0.785",
"0.2966",
"0.326",
"0.2966"
],
[
"0.3179",
"0.3005",
"0.3718",
"0.3005",
"0.3718",
"0.3125",
"0.3179",
"0.3125"
],
[
"0.2443",
"0.3225",
"0.7876",
"0.3225",
"0.7876",
"0.3372",
"0.2443",
"0.3372"
],
[
"0.361",
"0.336",
"0.3823",
"0.336",
"0.3823",
"0.3484",
"0.361",
"0.3484"
],
[
"0.4468",
"0.332",
"0.4575",
"0.339",
"0.4468",
"0.3499",
"0.4355",
"0.3423"
],
[
"0.501",
"0.3384",
"0.511",
"0.3384",
"0.511",
"0.348",
"0.501",
"0.348"
],
[
"0.2974",
"0.3372",
"0.3145",
"0.3372",
"0.3145",
"0.3467",
"0.2974",
"0.3467"
],
[
"0.2197",
"0.3403",
"0.281",
"0.3435",
"0.2793",
"0.358",
"0.2181",
"0.3547"
],
[
"0.3962",
"0.3403",
"0.5312",
"0.351",
"0.528",
"0.3738",
"0.3938",
"0.363"
],
[
"0.5254",
"0.3435",
"0.5986",
"0.3416",
"0.5986",
"0.356",
"0.5254",
"0.358"
],
[
"0.2754",
"0.3499",
"0.407",
"0.351",
"0.407",
"0.3655",
"0.2754",
"0.3643"
],
[
"0.2173",
"0.3833",
"0.4019",
"0.3833",
"0.4019",
"0.3977",
"0.2173",
"0.3977"
],
[
"0.7344",
"0.406",
"0.761",
"0.406",
"0.761",
"0.4185",
"0.7344",
"0.4185"
],
[
"0.2197",
"0.4136",
"0.7036",
"0.4136",
"0.7036",
"0.4268",
"0.2197",
"0.4268"
],
[
"0.7114",
"0.4224",
"0.7817",
"0.4224",
"0.7817",
"0.4343",
"0.7114",
"0.4343"
],
[
"0.2181",
"0.4343",
"0.785",
"0.433",
"0.785",
"0.4475",
"0.2181",
"0.449"
],
[
"0.2197",
"0.4495",
"0.569",
"0.4495",
"0.569",
"0.4634",
"0.2197",
"0.4634"
],
[
"0.3179",
"0.4749",
"0.6846",
"0.4749",
"0.6846",
"0.4893",
"0.3179",
"0.4893"
],
[
"0.761",
"0.4734",
"0.7876",
"0.4734",
"0.7876",
"0.4912",
"0.761",
"0.4912"
],
[
"0.2197",
"0.502",
"0.501",
"0.502",
"0.501",
"0.515",
"0.2197",
"0.515"
],
[
"0.29",
"0.5264",
"0.7173",
"0.5264",
"0.7173",
"0.5415",
"0.29",
"0.5415"
],
[
"0.763",
"0.528",
"0.785",
"0.528",
"0.785",
"0.5425",
"0.763",
"0.5425"
],
[
"0.6665",
"0.5503",
"0.6895",
"0.5503",
"0.6895",
"0.5645",
"0.6665",
"0.5645"
],
[
"0.732",
"0.55",
"0.7534",
"0.55",
"0.7534",
"0.5645",
"0.732",
"0.5645"
],
[
"0.2197",
"0.558",
"0.6436",
"0.558",
"0.6436",
"0.5713",
"0.2197",
"0.5713"
],
[
"0.652",
"0.565",
"0.7017",
"0.5674",
"0.701",
"0.582",
"0.6504",
"0.58"
],
[
"0.7183",
"0.5664",
"0.7715",
"0.5664",
"0.7715",
"0.5806",
"0.7183",
"0.5806"
],
[
"0.774",
"0.565",
"0.7812",
"0.565",
"0.7812",
"0.5713",
"0.774",
"0.5713"
],
[
"0.2173",
"0.58",
"0.407",
"0.58",
"0.407",
"0.5933",
"0.2173",
"0.5933"
],
[
"0.7036",
"0.571",
"0.7236",
"0.5693",
"0.7236",
"0.5757",
"0.7036",
"0.577"
],
[
"0.2173",
"0.6143",
"0.4192",
"0.6157",
"0.4192",
"0.63",
"0.2173",
"0.629"
],
[
"0.2197",
"0.6396",
"0.709",
"0.6396",
"0.709",
"0.653",
"0.2197",
"0.653"
],
[
"0.7017",
"0.64",
"0.7817",
"0.64",
"0.7817",
"0.6514",
"0.7017",
"0.6514"
],
[
"0.2157",
"0.6577",
"0.79",
"0.6494",
"0.79",
"0.678",
"0.2157",
"0.686"
],
[
"0.2443",
"0.653",
"0.2737",
"0.653",
"0.2737",
"0.6655",
"0.2443",
"0.6655"
],
[
"0.2214",
"0.6816",
"0.785",
"0.6816",
"0.785",
"0.696",
"0.2214",
"0.696"
],
[
"0.2181",
"0.696",
"0.3381",
"0.6963",
"0.3381",
"0.711",
"0.2181",
"0.7104"
],
[
"0.3179",
"0.72",
"0.687",
"0.7217",
"0.687",
"0.7363",
"0.3179",
"0.735"
],
[
"0.763",
"0.7227",
"0.785",
"0.7227",
"0.785",
"0.7373",
"0.763",
"0.7373"
],
[
"0.2181",
"0.7476",
"0.6855",
"0.7476",
"0.6855",
"0.761",
"0.2181",
"0.761"
],
[
"0.2893",
"0.773",
"0.7197",
"0.7734",
"0.7197",
"0.7886",
"0.2893",
"0.787"
],
[
"0.714",
"0.778",
"0.746",
"0.778",
"0.746",
"0.785",
"0.714",
"0.785"
],
[
"0.751",
"0.7734",
"0.785",
"0.7734",
"0.785",
"0.789",
"0.751",
"0.789"
],
[
"0.6807",
"0.7974",
"0.751",
"0.7974",
"0.751",
"0.8125",
"0.6807",
"0.8125"
],
[
"0.2181",
"0.8037",
"0.6724",
"0.806",
"0.6724",
"0.821",
"0.2181",
"0.8184"
],
[
"0.6685",
"0.8145",
"0.7646",
"0.8145",
"0.7646",
"0.8257",
"0.6685",
"0.8257"
],
[
"0.7695",
"0.8125",
"0.778",
"0.8125",
"0.778",
"0.8174",
"0.7695",
"0.8174"
],
[
"0.2181",
"0.827",
"0.3757",
"0.827",
"0.3757",
"0.8403",
"0.2181",
"0.8403"
]
] | [
"4",
"2.3Equalized odds",
"预测器Y满足均衡赔率(表示为EOd)W。r。t。受保护的属性S和类标签Y",
"如果“Y和S独立于Y”[18]。具体来说,男性和女性学生群体的预测真阳",
"性和假阳性概率应该相同。",
"P(Y=+IS =s,Y=y)=P(Y =+IS=s,Y=y),ye(+,-):",
"(5",
"由此,我们可以将均衡赔率测量为以下[21,27]:",
"EOd=",
" IP(Y = +IS= 8, Y =y) -P(Y= +IS =3,Y =y)]. (6)",
"ye(+,-}",
"值范围:EOdE[0,2];0表示无判别,2表示最大判别。在我们的示例中,",
"38",
"N",
"5",
"32",
"EOd=",
"1+14+6~5+5",
"I ~0.1253",
"32+438+6",
"2.4Predictive parity",
"TP",
"如果保护组和非保护组具有相等的正预测值(PPV)或精度PPV=",
"TP+FP",
",i,则满足预测奇偶校验[9](表示为PP)。e。,预测“通过”的学生实际上有“通",
"过”课的概率应该是相同的,对于男女学生来说。",
"P(Y = +Y = +,S = $) = P(Y = +Y =+,S =s)",
"(7)",
"因此,我们将预测奇偶校验度量报告为",
"PP =|P(Y =+Y = +, S = s) -P(Y =+Y = +,S = 3)l.",
"(8)",
"32",
"38",
"其中PPE[0,1l,0表示无判别,1表示最大判别。PP",
"32+ 4",
"38+5",
"~",
"0.0052,在我们的示例中。",
"",
"2.5 Predictive equality",
"预测相等[10](表示为PE),也称为误报错误(FPR)率平衡[9]",
"(FPR=",
"TN+FP),旨在在受保护和不受保护的组中实现决策准确性的相等。详细地",
"FP",
"说,实际“失败”班级的学生被错误地分配到“通过”班级的可能性对于男女学",
"生应该是相同的。",
"P(Y = +Y = -,S = S) =P(Y = +Y =-,S = 3).",
"(9)",
"在实践中,研究人员通过FPRs[21]的差异报告了预测平等度量",
"PE =P(Y = +|Y =-, S = S)-P(Y =+|Y =-,S =$)I.",
"",
"(10)",
"45",
"值范围:PEe[0,1],0和1分别表示无歧视和最大歧视。PE=1",
"6+45+5",
"-",
"0.1,在我们的示例中"
] | {
"arxiv_id": "2208.10625",
"language": "zh",
"page_idx": 3
} |
||
2208.10625-zh-4 | 2208.10625-zh-4.jpg | 5
2.6 Treatment equality
如果保护组和非保护组的假阴性和假阳性的比率相同,则满足治疗平等[8](表
示为 TE)。
$$\begin{aligned}\frac{FN_{prot.}}{FP_{prot.}}=\frac{FN_{non-prot.}}{FP_{non-prot.}}.\end{aligned}$$
(11)
在我们的论文中,我们通过方程 11 中描述的两个比率之间的差来报告治疗平等。如果$FP_prot.$或$FP_non-prot.\text{ 为零 }^2$,则度量变为无界。在我们的例子中, $TE= - 0. 2$ , 因 为 FN 和 FP 的 比 率 是 1 和 1。女 性 和 男 性 分 别 为 2
2.7 Absolute Between-ROC Area
绝对 ROC 间面积 (ABROCA) [17] 基于接收器工作特性 (ROC)曲线。它测量了受保护($ROC_{\mathrm{s}}$)和非保护组($ROC_{\overline{s}}$)曲线在 FPR 和 TPR 的所有可能阈值$t\in[0,1]$之间的差异。测量两条曲线之间的绝对差异,以捕捉曲线可能相互交叉的情况。
$$\int_0^1\mid ROC_s(t)-ROC_{\overline{s}}(t)\mid dt.$$
(12)
值范围:$ABROCA\in[0,1]$ 。较低的值表示两组之间的预测差异较小,因此
模型更公平。
# 3 Evaluation
在本节中,我们评估预测模型的性能 w。r。t。在五个数据集上的准确性和公平
性措施,并调查选择等级阈值对公平性措施的影响。
### 3.1 Datasets
我们评估了流行教育数据集[27,30,38]上的公平性措施,这些措施总结在表 2中。All datasets are imbalanced, as shown in the imbalance ratio (IR) column
Table 2: An overview of educational datasets
<table>
<tbody>
<tr>
<th>Datasets</th>
<th>$\#$ Instances</th>
<th>$\#$ Instances (cleaned)</th>
<th>Attributes -</th>
<th>$\operatorname{Protected}$ attribute</th>
<th>Class label</th>
<th>$IR(+:-)$ </th>
</tr>
<tr>
<td>Law school</td>
<td>20,798</td>
<td>20,798</td>
<td>12</td>
<td>Race</td>
<td>Pass the bar exam</td>
<td>8.07{:}1</td>
</tr>
<tr>
<td>$PISA$</td>
<td>5,233</td>
<td>3,404</td>
<td>24</td>
<td>Gender</td>
<td>Reading SCOre</td>
<td>1.35:1</td>
</tr>
<tr>
<td>Studden academics</td>
<td>131</td>
<td>131</td>
<td>22</td>
<td>Gender</td>
<td>$ESP$</td>
<td>3.70{:}1</td>
</tr>
<tr>
<td>Student performance</td>
<td>649</td>
<td>649</td>
<td>33</td>
<td>Gender</td>
<td>Final grade</td>
<td>5.49:1</td>
</tr>
<tr>
<td>xAPI- Edu- Data</td>
<td>480</td>
<td>480</td>
<td>17</td>
<td>Gender</td>
<td>Grade level</td>
<td>2.78{:}1</td>
</tr>
</tbody>
</table>
法学院。法学院数据集$^{3}$包含 1991 年美国 163 所法学院的法学院人学记
录。目标是预测候选人是否会通过律师资格考试。protected 属性是“race”=
$\{ white, non- white\}$ ,其中“non-white”是受保护的组
${^2\text{https:}//\text{docs.aws.amazon.com/sagemaker/latest/dg/clarify-post-training-bias-}}$
metric- te. html
$^3$https://github.com/tailequy/fairness\_dataset/tree/main/Law\_school | [
[
"0.774",
"0.11743",
"0.786",
"0.11743",
"0.786",
"0.1288",
"0.774",
"0.1288"
],
[
"0.2181",
"0.1483",
"0.2632",
"0.1483",
"0.2632",
"0.1604",
"0.2181",
"0.1604"
],
[
"0.255",
"0.1465",
"0.4224",
"0.1477",
"0.4224",
"0.1622",
"0.255",
"0.161"
],
[
"0.2214",
"0.1724",
"0.786",
"0.1724",
"0.786",
"0.1863",
"0.2214",
"0.1863"
],
[
"0.2181",
"0.1881",
"0.2942",
"0.1881",
"0.2942",
"0.1995",
"0.2181",
"0.1995"
],
[
"0.4126",
"0.1976",
"0.589",
"0.1995",
"0.589",
"0.2184",
"0.4126",
"0.2166"
],
[
"0.7534",
"0.2084",
"0.7876",
"0.2084",
"0.7876",
"0.2235",
"0.7534",
"0.2235"
],
[
"0.415",
"0.2153",
"0.4763",
"0.2197",
"0.4739",
"0.2343",
"0.4143",
"0.2291"
],
[
"0.4902",
"0.2153",
"0.581",
"0.2203",
"0.58",
"0.2349",
"0.4885",
"0.2299"
],
[
"0.2181",
"0.238",
"0.7837",
"0.2393",
"0.7837",
"0.254",
"0.2181",
"0.2524"
],
[
"0.2181",
"0.2524",
"0.789",
"0.252",
"0.789",
"0.2695",
"0.2181",
"0.2708"
],
[
"0.2181",
"0.2695",
"0.7134",
"0.2695",
"0.7134",
"0.2842",
"0.2181",
"0.2842"
],
[
"0.2181",
"0.308",
"0.509",
"0.308",
"0.509",
"0.3213",
"0.2181",
"0.3213"
],
[
"0.2197",
"0.3333",
"0.785",
"0.3333",
"0.785",
"0.3467",
"0.2197",
"0.3467"
],
[
"0.2214",
"0.3467",
"0.785",
"0.348",
"0.785",
"0.3623",
"0.2214",
"0.361"
],
[
"0.2181",
"0.3623",
"0.786",
"0.363",
"0.786",
"0.3774",
"0.2181",
"0.377"
],
[
"0.2197",
"0.379",
"0.308",
"0.379",
"0.308",
"0.3933",
"0.2197",
"0.3933"
],
[
"0.4167",
"0.401",
"0.6094",
"0.401",
"0.6094",
"0.4153",
"0.4167",
"0.4153"
],
[
"0.7534",
"0.401",
"0.786",
"0.401",
"0.786",
"0.4167",
"0.7534",
"0.4167"
],
[
"0.2443",
"0.4312",
"0.786",
"0.4312",
"0.786",
"0.4458",
"0.2443",
"0.4458"
],
[
"0.2181",
"0.4463",
"0.3096",
"0.4463",
"0.3096",
"0.461",
"0.2181",
"0.461"
],
[
"0.2197",
"0.4749",
"0.2336",
"0.4749",
"0.2336",
"0.4849",
"0.2197",
"0.4849"
],
[
"0.2524",
"0.473",
"0.361",
"0.4734",
"0.361",
"0.488",
"0.2524",
"0.4873"
],
[
"0.2181",
"0.4988",
"0.7837",
"0.4988",
"0.7837",
"0.512",
"0.2181",
"0.512"
],
[
"0.2181",
"0.5146",
"0.584",
"0.5146",
"0.584",
"0.528",
"0.2181",
"0.528"
],
[
"0.2181",
"0.5454",
"0.2632",
"0.5454",
"0.2632",
"0.5566",
"0.2181",
"0.5566"
],
[
"0.2632",
"0.5444",
"0.3367",
"0.5444",
"0.3367",
"0.556",
"0.2632",
"0.556"
],
[
"0.2214",
"0.5713",
"0.785",
"0.5713",
"0.785",
"0.582",
"0.2214",
"0.582"
],
[
"0.2197",
"0.5854",
"0.7812",
"0.5854",
"0.7812",
"0.5986",
"0.2197",
"0.5986"
],
[
"0.3162",
"0.6255",
"0.689",
"0.627",
"0.689",
"0.6416",
"0.3162",
"0.64"
],
[
"0.3423",
"0.646",
"0.4878",
"0.638",
"0.4885",
"0.657",
"0.343",
"0.664"
],
[
"0.482",
"0.648",
"0.569",
"0.646",
"0.569",
"0.66",
"0.482",
"0.662"
],
[
"0.5605",
"0.643",
"0.6216",
"0.643",
"0.6216",
"0.654",
"0.5605",
"0.654"
],
[
"0.648",
"0.6484",
"0.7134",
"0.6484",
"0.7134",
"0.66",
"0.648",
"0.66"
],
[
"0.734",
"0.6484",
"0.785",
"0.6484",
"0.785",
"0.66",
"0.734",
"0.66"
],
[
"0.423",
"0.655",
"0.4795",
"0.655",
"0.4795",
"0.6665",
"0.423",
"0.6665"
],
[
"0.255",
"0.6484",
"0.3096",
"0.6484",
"0.3096",
"0.66",
"0.255",
"0.66"
],
[
"0.568",
"0.655",
"0.6216",
"0.655",
"0.6216",
"0.6665",
"0.568",
"0.6665"
],
[
"0.2214",
"0.6665",
"0.286",
"0.6665",
"0.286",
"0.678",
"0.2214",
"0.678"
],
[
"0.3743",
"0.6665",
"0.4143",
"0.6665",
"0.4143",
"0.678",
"0.3743",
"0.678"
],
[
"0.517",
"0.6665",
"0.536",
"0.6665",
"0.536",
"0.6787",
"0.517",
"0.6787"
],
[
"0.5786",
"0.6665",
"0.613",
"0.6665",
"0.613",
"0.678",
"0.5786",
"0.678"
],
[
"0.6216",
"0.6665",
"0.734",
"0.6665",
"0.734",
"0.677",
"0.6216",
"0.677"
],
[
"0.7344",
"0.6665",
"0.7793",
"0.6665",
"0.7793",
"0.678",
"0.7344",
"0.678"
],
[
"0.5156",
"0.678",
"0.536",
"0.678",
"0.536",
"0.6914",
"0.5156",
"0.6914"
],
[
"0.4468",
"0.6675",
"0.486",
"0.6675",
"0.486",
"0.6787",
"0.4468",
"0.6787"
],
[
"0.2214",
"0.6787",
"0.2532",
"0.6787",
"0.2532",
"0.69",
"0.2214",
"0.69"
],
[
"0.38",
"0.6787",
"0.415",
"0.6787",
"0.415",
"0.69",
"0.38",
"0.69"
],
[
"0.452",
"0.6787",
"0.4878",
"0.6787",
"0.4878",
"0.69",
"0.452",
"0.69"
],
[
"0.572",
"0.6787",
"0.6177",
"0.6787",
"0.6177",
"0.69",
"0.572",
"0.69"
],
[
"0.636",
"0.6787",
"0.7197",
"0.6787",
"0.7197",
"0.69",
"0.636",
"0.69"
],
[
"0.7417",
"0.6787",
"0.777",
"0.6787",
"0.777",
"0.69",
"0.7417",
"0.69"
],
[
"0.2197",
"0.6895",
"0.3325",
"0.6895",
"0.3325",
"0.7026",
"0.2197",
"0.7026"
],
[
"0.3896",
"0.69",
"0.4143",
"0.69",
"0.4143",
"0.7026",
"0.3896",
"0.7026"
],
[
"0.4631",
"0.69",
"0.4878",
"0.69",
"0.4878",
"0.702",
"0.4631",
"0.702"
],
[
"0.5156",
"0.69",
"0.536",
"0.69",
"0.536",
"0.7026",
"0.5156",
"0.7026"
],
[
"0.572",
"0.69",
"0.6167",
"0.69",
"0.6167",
"0.702",
"0.572",
"0.702"
],
[
"0.6626",
"0.69",
"0.693",
"0.69",
"0.693",
"0.702",
"0.6626",
"0.702"
],
[
"0.74",
"0.69",
"0.778",
"0.69",
"0.778",
"0.702",
"0.74",
"0.702"
],
[
"0.2197",
"0.702",
"0.3423",
"0.7026",
"0.3423",
"0.714",
"0.2197",
"0.7134"
],
[
"0.3906",
"0.7026",
"0.4167",
"0.7026",
"0.4167",
"0.714",
"0.3906",
"0.714"
],
[
"0.4631",
"0.7026",
"0.4885",
"0.7026",
"0.4885",
"0.714",
"0.4631",
"0.714"
],
[
"0.5254",
"0.6978",
"0.54",
"0.709",
"0.527",
"0.7183",
"0.513",
"0.7085"
],
[
"0.5728",
"0.7026",
"0.6177",
"0.7026",
"0.6177",
"0.714",
"0.5728",
"0.714"
],
[
"0.6445",
"0.7026",
"0.7134",
"0.7026",
"0.7134",
"0.714",
"0.6445",
"0.714"
],
[
"0.74",
"0.7026",
"0.778",
"0.7026",
"0.778",
"0.714",
"0.74",
"0.714"
],
[
"0.2214",
"0.714",
"0.3137",
"0.714",
"0.3137",
"0.726",
"0.2214",
"0.726"
],
[
"0.3906",
"0.714",
"0.4167",
"0.714",
"0.4167",
"0.7266",
"0.3906",
"0.7266"
],
[
"0.4631",
"0.714",
"0.4885",
"0.714",
"0.4885",
"0.726",
"0.4631",
"0.726"
],
[
"0.572",
"0.714",
"0.6167",
"0.714",
"0.6167",
"0.726",
"0.572",
"0.726"
],
[
"0.6445",
"0.714",
"0.7134",
"0.714",
"0.7134",
"0.726",
"0.6445",
"0.726"
],
[
"0.74",
"0.714",
"0.778",
"0.714",
"0.778",
"0.726",
"0.74",
"0.726"
],
[
"0.2443",
"0.7363",
"0.785",
"0.7363",
"0.785",
"0.75",
"0.2443",
"0.75"
],
[
"0.511",
"0.7153",
"0.5317",
"0.7104",
"0.539",
"0.7236",
"0.5186",
"0.729"
],
[
"0.2197",
"0.752",
"0.7715",
"0.752",
"0.7715",
"0.765",
"0.2197",
"0.765"
],
[
"0.2181",
"0.7666",
"0.6274",
"0.765",
"0.6274",
"0.78",
"0.2181",
"0.781"
],
[
"0.2378",
"0.7944",
"0.761",
"0.7974",
"0.761",
"0.815",
"0.2378",
"0.8125"
],
[
"0.2181",
"0.8145",
"0.3145",
"0.8145",
"0.3145",
"0.8257",
"0.2181",
"0.8257"
],
[
"0.2402",
"0.8247",
"0.7134",
"0.8257",
"0.7134",
"0.8403",
"0.2402",
"0.839"
]
] | [
"5",
"2.6",
"Treatment equality",
"如果保护组和非保护组的假阴性和假阳性的比率相同,则满足治疗平等[8(表",
"示为TE)。",
"FNprot.-FNnon-prot.",
"(11)",
"FPprot.",
"FPnon-prot",
"在我们的论文中,我们通过方程11中描述的两个比率之间的差来报告治疗平",
"等。如果FPprot.或FPnon-prot.为零?,则度量变为无界。在我们的例子中,",
"TE=-0.2,因为FN和FP的比率是1和1。女性和男性分别为2",
"2.7Absolute Between-ROCArea",
"绝对ROC间面积(ABROCA)[17]基于接收器工作特性(ROC)曲线。它测量",
"了受保护(ROC)和非保护组(ROC)曲线在FPR和TPR的所有可能阈",
"值tE[0,1]之间的差异。测量两条曲线之间的绝对差异,以捕捉曲线可能相互",
"交叉的情况。",
"1 ROCs(t) -ROC(t) I dt",
"(12)",
"值范围:ABROCAE[0,1]。较低的值表示两组之间的预测差异较小,因此",
"模型更公平。",
"3",
"Evaluation",
"在本节中,我们评估预测模型的性能w。r。t。在五个数据集上的准确性和公平",
"性措施,并调查选择等级阈值对公平性措施的影响。",
"3.1",
"Datasets",
"我们评估了流行教育数据集[27.3038]上的公平性措施,这些措施总结在表2",
"。All datasets are imbalanced, as shown in the imbalance ratio (IR) column",
"Table 2:An overview of educational datasets",
"#Instances # Instances",
"#Attributes",
"Protected",
"Class label",
"IR (+:-)",
"(cleaned)",
"Datasets",
"attribute",
"Law school",
"20,798",
"12",
"Race",
"Pass the bar exam",
"8.07:1",
"24",
"20,798",
"PISA",
"5,233",
"3,404",
"Gender",
"Reading score",
"1.35:1",
"Studden academics",
"131",
"131",
"22",
"Gender",
"ESP",
"3.70:1",
"Student performance",
"649",
"649",
"g",
"Gender",
"Final grade",
"5.49:1",
"xAPI-Edu-Data",
"480",
"480",
"Gender",
"Grade level",
"2.78:1",
"法学院。法学院数据集3包含1991年美国163所法学院的法学院入学记",
"17",
"录。目标是预测候选人是否会通过律师资格考试。protected属性是“race”",
"[white,non一white】,其中“non-white”是受保护的组",
"?https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-post-training-bias-",
"metric-te.html",
"3https://github.com/tailequy/fairness_dataset/tree/main/Law_school"
] | {
"arxiv_id": "2208.10625",
"language": "zh",
"page_idx": 4
} |
||
2210.09803-zh-1 | 2210.09803-zh-1.jpg | 用于情感分析的情感感知单词和句子级别预训练
Shuai Fan$^1,\textbf{ Chen Lin}^1;$ Haonan Li$^2\dagger\textbf{ Zhenghao Lin}^1\dagger,\textbf{ Jinsong Su}^1\textbf{ Hang Zhang}^3$,
Yeyun Gong$^4$,Jian Guo$^3$,Nan Duan$^4$
$^{1}$ School of Informatics, Xiamen University, China
$^{2}$The University of Melbourne, Australia
$^{3}$ IDEA Research, China
$^{4}$ Microsoft Research Asia
# Abstract
Most existing pre-trained language representation models (PLMs) are sub-optimal in sentiment analysis tasks, as they capture the sentiment information from word-level while under-considering sentence-level information. In this paper, we propose SentiWSP , a novel Senti ment-aware pre-trained language model with combined W ord-level and S entencelevel P re-training tasks. The word level pre-training task detects replaced sentiment words, via a generator-discriminator framework, to enhance the PLM's knowledge about sentiment words. The sentence level pretraining task further strengthens the discriminator via a contrastive learning framework, with similar sentences as negative samples, to encode sentiments in a sentence. Extensive experimental results show that SentiWSP achieves new state-of-the-art performance on various sentence-level and aspect-level sentiment classification benchmarks. We have made our code and model publicly available at https://github.com/XMUDM/SentiWSP.
标记或下一个句子预测),在大型未标记的语
料库上学习强大的编码器
尽管取得了进展,但通用 PLM 在情感分析中的应用受到限制,因为它们无法区分不同单词对特定任务的重要性。例如,在$\mathbb{E}($Kassner and Schütze, 2020) 中显示,通用的 PLM 难以处理矛盾的情感词或否定表达,这在情感分析中是至关重要的。为了解决这个问题,最近的情感感知 PLM 引入了单词级情感信息,例如令牌情感和表情符号$\operatorname{E}($Zhou et al., 2020) , 方面单词$\overline{\mathrm{E}}$(Tian et al.,2020),单词级语言知识$\boxed{\mathrm{E}}($Ke et al., 2020) 和隐式情感知识信息$\boxed{\mathrm{E}}($Li et al.,2021b)。这些单词级的预培训任务,例如。g。,情感词预测和词极性预测,主要从被屏蔽的词中学习,对于所有输人词的词级信息捕捉效率不高。此外,句子中表达的情感超出了单词级情感的简单聚合。但是,通用的 PLM 和现有的情绪感知 PLM 会低估句子级别的情绪信息
在本文中,我们提出了一种新颖的情感感知预训练语言模型 SentiWSP , 将单词级预训练和句子级预训练结合在一起。受 ELECTRAE (Clark et al.,2020)的启发,该模型以明显更少的计算资源预训练掩码语言模型,我们在单词级预训练中采用了生成器-鉴别器框架。生成器旨在用合理的替代词替换掩蔽词;鉴别器旨在预测句子中的每个单词是原始单词还是替代单词。为了定制这个情感分析框架,我们屏蔽了两种类型的生成词,情感词和非情感词。我们增加了掩蔽情绪词的部分,以便模型更多地关注情绪表达
对于句子级的预训练,我们设计了一个对比学习框架,以通过鉴别器改进编码的嵌入。通过掩蔽句子中的情感表达来构造用于对比学习的查询。正例是原句。使用异步更新的近似最近邻 (ANN) 索引,首先从批量样本中选择负面示例,然后从跨批次相似样本中选择负面示例。通过这种方式,将用作下游任务编码器的鉴别器学会区分不同的情感极性,即使它们表面上相似
我们的主要贡献有三个方面:1)。SentiWSP
### 1 $\textbf{Introduction}$
情感分析在自然语言处理(NLP) 中起着基础作用,并为广泛的重要业务应用程序提供支持,例如营销$\overline{\mathrm{E}}$(HaCohen-Kerner,2019)和活动监控$\overline{\mathrm{E}}($Sandoval-Almazán and Valle-Cruz, 2020) 。两个典型的情感分析任务是句子级情感分类 (Xu et al., 2019; Yin et al., 2020; Tang et al., 2022)和方面级情感分类 (Li et al.,2021b)
最近,诸如 ELMo$\overline{\mathrm{E}}($Peters et al.,2018) GPT$\boxed{\mathrm{F}}($Radford et al., 2018, 2019) , BERT$\boxed{\mathrm{E}}($Devlin et al., 2019) , RoBERTA$\underline{\mathrm{E}}($Liu et al., 2019) 和 XLNet$\boxed{\mathrm{F}}$(Yang et al., 2019) 之类的预训练语言表示模型(PLM)在许多 NLP 问题上都带来了令人印象深刻的性能改进,包括情感分析。PLMs 通过精心设计的预训练任务(例如掩码
$^{*}$Corresponding author, chenlin@ xmu.edu.cn
$^{\dagger}$Equal contribution | [
[
"0.2494",
"0.0944",
"0.75",
"0.0944",
"0.75",
"0.10925",
"0.2494",
"0.10925"
],
[
"0.1453",
"0.1277",
"0.8623",
"0.1277",
"0.8623",
"0.1426",
"0.1453",
"0.1426"
],
[
"0.346",
"0.1443",
"0.66",
"0.1437",
"0.66",
"0.158",
"0.346",
"0.1592"
],
[
"0.2957",
"0.1603",
"0.705",
"0.1609",
"0.705",
"0.1758",
"0.2957",
"0.1746"
],
[
"0.3315",
"0.1746",
"0.669",
"0.177",
"0.669",
"0.1948",
"0.3315",
"0.1924"
],
[
"0.3997",
"0.1924",
"0.602",
"0.1953",
"0.602",
"0.2102",
"0.3997",
"0.2073"
],
[
"0.3914",
"0.2079",
"0.6094",
"0.2102",
"0.6094",
"0.228",
"0.3914",
"0.2257"
],
[
"0.2627",
"0.2542",
"0.3418",
"0.2542",
"0.3418",
"0.2683",
"0.2627",
"0.2683"
],
[
"0.513",
"0.2546",
"0.879",
"0.2546",
"0.879",
"0.2683",
"0.513",
"0.2683"
],
[
"0.513",
"0.2708",
"0.7153",
"0.2708",
"0.7153",
"0.284",
"0.513",
"0.284"
],
[
"0.1453",
"0.2861",
"0.4575",
"0.2861",
"0.4575",
"0.2998",
"0.1453",
"0.2998"
],
[
"0.532",
"0.288",
"0.881",
"0.288",
"0.881",
"0.3027",
"0.532",
"0.3027"
],
[
"0.1486",
"0.3018",
"0.4568",
"0.3018",
"0.4568",
"0.3123",
"0.1486",
"0.3123"
],
[
"0.513",
"0.3047",
"0.882",
"0.3047",
"0.882",
"0.3184",
"0.513",
"0.3184"
],
[
"0.1453",
"0.3142",
"0.4568",
"0.3142",
"0.4568",
"0.328",
"0.1453",
"0.328"
],
[
"0.511",
"0.3196",
"0.881",
"0.3196",
"0.881",
"0.3333",
"0.511",
"0.3333"
],
[
"0.1486",
"0.33",
"0.455",
"0.33",
"0.455",
"0.3403",
"0.1486",
"0.3403"
],
[
"0.513",
"0.335",
"0.879",
"0.335",
"0.879",
"0.3486",
"0.513",
"0.3486"
],
[
"0.147",
"0.3416",
"0.4534",
"0.3416",
"0.4534",
"0.3552",
"0.147",
"0.3552"
],
[
"0.1453",
"0.357",
"0.4575",
"0.357",
"0.4575",
"0.3706",
"0.1453",
"0.3706"
],
[
"0.513",
"0.3528",
"0.881",
"0.3528",
"0.881",
"0.3665",
"0.513",
"0.3665"
],
[
"0.147",
"0.3718",
"0.4575",
"0.3718",
"0.4575",
"0.3855",
"0.147",
"0.3855"
],
[
"0.513",
"0.3694",
"0.881",
"0.3694",
"0.881",
"0.383",
"0.513",
"0.383"
],
[
"0.1453",
"0.3843",
"0.4534",
"0.3843",
"0.4534",
"0.398",
"0.1453",
"0.398"
],
[
"0.511",
"0.3843",
"0.879",
"0.3843",
"0.879",
"0.398",
"0.511",
"0.398"
],
[
"0.1436",
"0.3984",
"0.4575",
"0.398",
"0.4575",
"0.411",
"0.1436",
"0.412"
],
[
"0.511",
"0.402",
"0.8696",
"0.402",
"0.8696",
"0.415",
"0.511",
"0.415"
],
[
"0.867",
"0.4062",
"0.876",
"0.4062",
"0.876",
"0.411",
"0.867",
"0.411"
],
[
"0.1453",
"0.4133",
"0.4575",
"0.4133",
"0.4575",
"0.427",
"0.1453",
"0.427"
],
[
"0.513",
"0.4175",
"0.881",
"0.4175",
"0.881",
"0.4312",
"0.513",
"0.4312"
],
[
"0.1453",
"0.4275",
"0.4575",
"0.4275",
"0.4575",
"0.4412",
"0.1453",
"0.4412"
],
[
"0.5146",
"0.434",
"0.881",
"0.434",
"0.881",
"0.4478",
"0.5146",
"0.4478"
],
[
"0.147",
"0.4436",
"0.4568",
"0.4436",
"0.4568",
"0.4536",
"0.147",
"0.4536"
],
[
"0.1453",
"0.4548",
"0.4575",
"0.456",
"0.4575",
"0.4702",
"0.1453",
"0.4697"
],
[
"0.5146",
"0.4495",
"0.881",
"0.4495",
"0.881",
"0.4631",
"0.5146",
"0.4631"
],
[
"0.1453",
"0.4702",
"0.4575",
"0.4697",
"0.4575",
"0.4827",
"0.1453",
"0.484"
],
[
"0.5146",
"0.466",
"0.881",
"0.466",
"0.881",
"0.4797",
"0.5146",
"0.4797"
],
[
"0.147",
"0.4863",
"0.455",
"0.4863",
"0.455",
"0.4963",
"0.147",
"0.4963"
],
[
"0.513",
"0.4822",
"0.881",
"0.4822",
"0.881",
"0.4954",
"0.513",
"0.4954"
],
[
"0.147",
"0.5005",
"0.455",
"0.5005",
"0.455",
"0.511",
"0.147",
"0.511"
],
[
"0.511",
"0.4976",
"0.879",
"0.4976",
"0.879",
"0.511",
"0.511",
"0.511"
],
[
"0.1453",
"0.513",
"0.4575",
"0.513",
"0.4575",
"0.527",
"0.1453",
"0.527"
],
[
"0.5146",
"0.513",
"0.881",
"0.5127",
"0.881",
"0.527",
"0.5146",
"0.528"
],
[
"0.147",
"0.5293",
"0.4568",
"0.5293",
"0.4568",
"0.539",
"0.147",
"0.539"
],
[
"0.513",
"0.53",
"0.881",
"0.53",
"0.881",
"0.5444",
"0.513",
"0.5444"
],
[
"0.1486",
"0.542",
"0.455",
"0.542",
"0.455",
"0.5527",
"0.1486",
"0.5527"
],
[
"0.511",
"0.5464",
"0.5693",
"0.5464",
"0.5693",
"0.561",
"0.511",
"0.561"
],
[
"0.147",
"0.554",
"0.4568",
"0.554",
"0.4568",
"0.568",
"0.147",
"0.568"
],
[
"0.529",
"0.5625",
"0.881",
"0.5635",
"0.881",
"0.5776",
"0.529",
"0.5767"
],
[
"0.1453",
"0.5693",
"0.3862",
"0.5693",
"0.3862",
"0.583",
"0.1453",
"0.583"
],
[
"0.3838",
"0.5723",
"0.392",
"0.5723",
"0.392",
"0.5776",
"0.3838",
"0.5776"
],
[
"0.388",
"0.5684",
"0.4568",
"0.571",
"0.4568",
"0.582",
"0.388",
"0.58"
],
[
"0.147",
"0.5845",
"0.4575",
"0.5845",
"0.4575",
"0.597",
"0.147",
"0.597"
],
[
"0.511",
"0.579",
"0.881",
"0.58",
"0.881",
"0.594",
"0.511",
"0.5933"
],
[
"0.1453",
"0.597",
"0.4307",
"0.597",
"0.4307",
"0.611",
"0.1453",
"0.611"
],
[
"0.513",
"0.5967",
"0.882",
"0.5967",
"0.882",
"0.61",
"0.513",
"0.61"
],
[
"0.513",
"0.6123",
"0.881",
"0.6123",
"0.881",
"0.626",
"0.513",
"0.626"
],
[
"0.11755",
"0.63",
"0.1511",
"0.63",
"0.1511",
"0.641",
"0.11755",
"0.641"
],
[
"0.147",
"0.629",
"0.2627",
"0.629",
"0.2627",
"0.6436",
"0.147",
"0.6436"
],
[
"0.5156",
"0.63",
"0.879",
"0.63",
"0.879",
"0.64",
"0.5156",
"0.64"
],
[
"0.5146",
"0.6445",
"0.882",
"0.6445",
"0.882",
"0.6577",
"0.5146",
"0.6577"
],
[
"0.11755",
"0.6567",
"0.4878",
"0.6562",
"0.4878",
"0.6704",
"0.11755",
"0.6714"
],
[
"0.5146",
"0.66",
"0.881",
"0.66",
"0.881",
"0.6733",
"0.5146",
"0.6733"
],
[
"0.11755",
"0.673",
"0.4844",
"0.673",
"0.4844",
"0.686",
"0.11755",
"0.686"
],
[
"0.513",
"0.677",
"0.881",
"0.677",
"0.881",
"0.6904",
"0.513",
"0.6904"
],
[
"0.11584",
"0.6885",
"0.4836",
"0.6885",
"0.4836",
"0.7017",
"0.11584",
"0.7017"
],
[
"0.5146",
"0.6924",
"0.881",
"0.6924",
"0.881",
"0.706",
"0.5146",
"0.706"
],
[
"0.11755",
"0.7036",
"0.4844",
"0.7036",
"0.4844",
"0.7173",
"0.11755",
"0.7173"
],
[
"0.517",
"0.7104",
"0.879",
"0.7104",
"0.879",
"0.72",
"0.517",
"0.72"
],
[
"0.1351",
"0.7217",
"0.4844",
"0.7217",
"0.4844",
"0.7354",
"0.1351",
"0.7354"
],
[
"0.511",
"0.7236",
"0.881",
"0.7236",
"0.881",
"0.737",
"0.511",
"0.737"
],
[
"0.11755",
"0.7363",
"0.4844",
"0.737",
"0.4844",
"0.752",
"0.11755",
"0.7505"
],
[
"0.12427",
"0.727",
"0.1368",
"0.727",
"0.1368",
"0.731",
"0.12427",
"0.731"
],
[
"0.5156",
"0.742",
"0.623",
"0.742",
"0.623",
"0.7544",
"0.5156",
"0.7544"
],
[
"0.11755",
"0.753",
"0.444",
"0.753",
"0.444",
"0.7666",
"0.11755",
"0.7666"
],
[
"0.529",
"0.7573",
"0.881",
"0.7583",
"0.881",
"0.7725",
"0.529",
"0.7715"
],
[
"0.1351",
"0.7695",
"0.4702",
"0.7695",
"0.4702",
"0.783",
"0.1351",
"0.783"
],
[
"0.4727",
"0.7754",
"0.4878",
"0.777",
"0.4878",
"0.781",
"0.4727",
"0.78"
],
[
"0.511",
"0.774",
"0.879",
"0.774",
"0.879",
"0.7876",
"0.511",
"0.7876"
],
[
"0.11755",
"0.786",
"0.4902",
"0.786",
"0.4902",
"0.8",
"0.11755",
"0.8"
],
[
"0.513",
"0.7915",
"0.879",
"0.7915",
"0.879",
"0.8047",
"0.513",
"0.8047"
],
[
"0.11755",
"0.8003",
"0.4844",
"0.8027",
"0.4844",
"0.8164",
"0.11755",
"0.814"
],
[
"0.513",
"0.808",
"0.881",
"0.808",
"0.881",
"0.822",
"0.513",
"0.822"
],
[
"0.1184",
"0.8184",
"0.4844",
"0.8184",
"0.4844",
"0.832",
"0.1184",
"0.832"
],
[
"0.513",
"0.8237",
"0.881",
"0.8237",
"0.881",
"0.8374",
"0.513",
"0.8374"
],
[
"0.12006",
"0.835",
"0.4844",
"0.835",
"0.4844",
"0.8486",
"0.12006",
"0.8486"
],
[
"0.511",
"0.8384",
"0.881",
"0.839",
"0.881",
"0.854",
"0.511",
"0.8525"
],
[
"0.12177",
"0.851",
"0.4844",
"0.851",
"0.4844",
"0.8643",
"0.12177",
"0.8643"
],
[
"0.513",
"0.855",
"0.881",
"0.855",
"0.881",
"0.868",
"0.513",
"0.868"
],
[
"0.11755",
"0.8677",
"0.4878",
"0.8677",
"0.4878",
"0.8813",
"0.11755",
"0.8813"
],
[
"0.513",
"0.8716",
"0.882",
"0.8716",
"0.882",
"0.8853",
"0.513",
"0.8853"
],
[
"0.1377",
"0.891",
"0.413",
"0.8926",
"0.413",
"0.9067",
"0.1377",
"0.9062"
],
[
"0.513",
"0.887",
"0.5884",
"0.8853",
"0.5884",
"0.8994",
"0.513",
"0.902"
],
[
"0.1368",
"0.904",
"0.2585",
"0.9062",
"0.2585",
"0.9194",
"0.1368",
"0.9175"
],
[
"0.529",
"0.905",
"0.879",
"0.905",
"0.879",
"0.9185",
"0.529",
"0.9185"
]
] | [
"用于情感分析的情感感知单词和句子级别预训练",
"Shuai Fan', Chen Lin', Haonan Li2, Zhenghao Lin', Jinsong Su' Hang Zhang,",
"Yeyun Gong', Jian Guo3, Nan Duan",
"1 School of Informatics, Xiamen University, China",
"2 The University of Melbourne, Australia",
"3 IDEA Research, China",
"4 Microsoft Research Asia",
"Abstract",
"标记或下一个句子预测),在大型未标记的语",
"料库上学习强大的编码器",
"Most existing pre-trained language representa-",
"尽管取得了进展,但通用PLM在情感分析",
"tionmodels(PLMs)aresub-optimalinsen",
"中的应用受到限制,因为它们无法区分不同单",
"timent analysis tasks, as they capture the",
"词对特定任务的重要性。例如,在E(Kassner",
"sentimentinformationfromword-level while",
"and Schitze,2020)中显示,通用的PLM难以",
"under-considering sentence-level information",
"In this paper, we propose SentiwsP, a novel",
"处理矛盾的情感词或否定表达,这在情感分",
"Senti ment-aware pre-trained language model",
"析中是至关重要的。为了解决这个问题,最近",
"with combined W ord-level and S entence",
"的情感感知PLM引入了单词级情感信息,例",
"level P re-training tasks.The word level",
"如令牌情感和表情符号E(Zhouetal.,2020)",
"",
"pre-training task detects replaced sentiment",
"方面单词E(Tianetal.,2020),单词级语言知",
"words, via a generator-discriminator frame-",
"识E(Keetal.,2020)和隐式情感知识信息E(Li",
"work,toenhancethePLM'sknowledgeabout",
"sentiment words.The sentence level pre-",
"etal.,2021b)。这些单词级的预培训任务,例",
"training task further strengthens the discrim-",
"如。g。,情感词预测和词极性预测,主要从被",
"inator via a contrastive learning framework.",
"屏蔽的词中学习,对于所有输入词的词级信息",
"with similar sentences as negative samples.",
"捕捉效率不高。此外,句子中表达的情感超出",
"to encode sentiments in a sentence. Exten-",
"了单词级情感的简单聚合。但是,通用的PLM",
"siveexperimentalresultsshowthatSentiwSP",
"和现有的情绪感知PLM会低估句子级别的情",
"achieves new state-of-the-artperformance on",
"绪信息",
"various sentence-level and aspect-level sen",
"在本文中,我们提出了一种新颖的情感感知",
"timent classification benchmarks.",
"",
"We have",
"made our code and model publicly available",
"预训练语言模型SentiWSP,将单词级预训练",
"at https://github.com/XMUDM/SentiWSP",
"和句子级预训练结合在一起。受ELECTRAE",
"(Clarketal.,2020)的启发,该模型以明显更少",
"1",
" Introduction",
"的计算资源预训练掩码语言模型,我们在单词",
"级预训练中采用了生成器-鉴别器框架。生成",
"情感分析在自然语言处理(NLP)中起着基础",
"器旨在用合理的替代词替换掩蔽词;鉴别器旨",
"作用,并为广泛的重要业务应用程序提供支",
"在预测句子中的每个单词是原始单词还是替代",
"持,例如营销E(HaCohen-Kerner,2019)和活动",
"单词。为了定制这个情感分析框架,我们屏蔽",
"监控E(Sandoval-Almazan and Valle-Cruz,2020)",
"了两种类型的生成词,情感词和非情感词。我",
"两个典型的情感分析任务是句子级情感分",
"们增加了掩蔽情绪词的部分,以便模型更多地",
"类 (Xu et al., 2019; Yin et al., 2020; Tang et al.,",
"",
"关注情绪表达",
"2022)和方面级情感分类(Lietal.,2021b)",
"对于句子级的预训练,我们设计了一个对比",
"最近,诸如ELMoE(Petersetal.,2018)",
"",
"学习框架,以通过鉴别器改进编码的嵌入。通",
"GPTE(Radford et al., 2018, 2019) , BERTE(De-",
"过掩蔽句子中的情感表达来构造用于对比学习",
"vlin et al., 2019) , RoBERTAE(Liu et al., 2019)",
"的查询。正例是原句。使用异步更新的近似最",
"和XLNetE(Yangetal.,2019)之类的预训练语",
"近邻(ANN)索引,首先从批量样本中选择负",
"言表示模型(PLM)在许多NLP问题上都带来",
"面示例,然后从跨批次相似样本中选择负面示",
"了令人印象深刻的性能改进,包括情感分析。",
"例。通过这种方式,将用作下游任务编码器的",
"PLMs通过精心设计的预训练任务(例如掩码",
"鉴别器学会区分不同的情感极性,即使它们表",
"*Corresponding author, [email protected]",
"面上相似",
"Equal contribution",
"我们的主要贡献有三个方面:1)。SentiWSP"
] | {
"arxiv_id": "2210.09803",
"language": "zh",
"page_idx": 1
} |
||
2210.09803-zh-2 | 2210.09803-zh-2.jpg | 通过屏蔽的情感词生成和检测来加强词级预训练,样本效率更高,有利于各种情感分类任务;2)。SentiWSP 将单词级预训练与句子级预 对属于下游任务相同域的语料库进行后训练,
训练相结合,这在以前的研究中没有得到充分考虑。SentiWSP在预训练中采用对比学习,将句子与批量和跨批次的硬阴性进行逐步对比, 从而使模型能够对句子的详细情感信息进行编码;3)。我们对句子级和方面级情感分类任务进行了广泛的实验,并表明 SentiWSP 在多个基准数据集上实现了最新的性能。
## 2 $\textbf{Related Work}$
Pre-training and Representation Learning 预训练模型在各种 NLP 任务中都取得了巨大的成功 (Devlin et al.,2019; Yang et al.,2019; Liu et al., 2019) 。现有研究大多使用基于 Transformer 的(Vaswani et al., 2017) 编码器来捕获上下文特征,以及掩蔽语言模型(MLM)和/或下一句预测 (Devlin et al., 2019) 作为预训练任务。Yang et al.(2019) 提出了使用广义自回归方法进行预训练的 XLNet,该方法通过最大化因子分解顺序的所有排列上的预期可能性来学习双向上下文。ELECTRA[E](Clark et al., 2020) 是一个生成器-鉴别器框架,其中生成器执行掩码令牌生成,鉴别器执行替换令牌检测预训练任务。它比 MLM 更有效,因为鉴别器在所有输入令牌上建模,而不是仅在掩码令牌上建模。我们的工作提高了 ELECTRA 在情感分析任务上的表现,通过在单词级预训练中指定掩蔽的情感单词,并结合句子级预训练。除了对令牌表示进行编码的预训练模型外,句子级和段落级表示学习近年来也得到了快速发展。大量工作表明,对比学习是句子和段落级表示学习的有效框架(Meng et al., 2021; Wei et al., 2021; Gao et al., 2021; Li et al., 2021a)。对比学习的共同思想是在嵌人空间中将一个锚和一个“正”样本拉在一起,并将锚与“负”样本分开。最近,COCO-LM[E](Meng et al., 2021) 通过掩蔽和裁剪句子中的标记来创建正样本。Gao et al.(2021)证明,在自然语言推理(NLI)任务中,仅构建标准丢失的正对作为最小的数据增强效果令人惊讶。Karpukhin et al. (2020)基于段落检索和问答任务研究不同负采样策略对段落表征学习的影响。ANCE (Xiong et al., 2021) 采用近似最近邻负对比学习,这是一种学习机制,使用异步更新的近似最近邻(ANN) 索引从整个语料库中全局选择硬阴性。受 COCO-LME(Meng et al., 2021) 和 ANCEE (Xiong et al., 2021)的启发,我们通过掩盖句子中的单词跨度来构造正样本,并构造跨批硬负样本以增强句子级预训练的鉴别器
Pre-trained Models for Sentiment Analysis 在情感分析领域,BERT-PT$\underline{\mathrm{E}}($Xu et al., 2019) 以受益于方面级情感分类。SKEP (Tian et al., 2020) 构建三个情感知识预测目标,以便为多个情感分析任务学习统一的情感表示。SENTIX$\underline{\mathrm{E}}($Zhou et al., 2020) 从大规模评论数据集中研究领域不变的情感知识,并将其用于跨域情感分类任务,而无需进行微调。SentiBERT (Yin et al., 2020) 提出了一种基于 BERT 表示的两级注意力机制,以捕获短语级的组成语义。SentiLARE (Ke et al.,2020) 设计了一种新的预训练任务,称为标签感知掩码语言模型,用于构建知识感知语言表示。SCAPT(Li et al., 2021b) 通过将隐式情感表达的表示与具有相同情感标签的情感表达的表示对齐,从评论中捕获隐式和显式情感取向
### 3 Sentiment-Aware Word-Level and Sentence-Level Pre-training
SentiWSP 的整体框架如图 1 所示。SentiWSP 由两个预训练阶段组成,即单词级预训练(Sec。3.1和句子级预训练(秒。3.2),微调前(秒。3.3 )在下游情绪分析任务上
在单词级预训练中,输入句子经过一个单词屏蔽步骤,然后是一个生成器来替换被屏蔽的单词,以及一个鉴别器来检测替换。在此阶段对生成器和鉴别器进行联合培训。然后,在句子级的预训练中继续进行鉴别器的训练。每个输入句子都被屏蔽在情感词上以构造查询,而原始句子被视为正样本。将它们由鉴别器编码的嵌入与在批量预热训练步骤和跨批次近似最近邻训练步骤中构建的两种类型的负样本进行对比。最后,鉴别器在下游任务上进行微调
与以前的研究相比,SentiWSP 中的鉴别器具有三个优点。(1) SentiWSP 不是随机的令牌替换和检测,而是掩盖了很大一部分情感词,因此鉴别器更加关注词级情感。(2) SentiWSP 通过替换检测任务从所有输入单词中合并上下文信息,而不是纯掩码令牌预测。(3) SentiWSP 通过逐步将缺少情感的句子与表面上相似的句子进行对比,将句子级情感与单词级情感结合在一起
# 3.1 Word-Level Pre-training
Word masking 与以前的随机单词掩码 (Devlin et al., 2019; Clark et al., 2020) 不同,我们的目标是破坏输入句子的情绪
详细地说,我们首先随机屏蔽 15% 单词,与ELECTRA$\underline{\mathrm{E}}$(Clark et al., 2020) 相同。然后,我们使用 SentiWordNet$\boxed{\mathrm{F}}($Baccianella et al., 2010) | [
[
"0.12006",
"0.0885",
"0.486",
"0.0885",
"0.486",
"0.0986",
"0.12006",
"0.0986"
],
[
"0.5225",
"0.0873",
"0.879",
"0.0873",
"0.879",
"0.10095",
"0.5225",
"0.10095"
],
[
"0.12006",
"0.1027",
"0.4844",
"0.1027",
"0.4844",
"0.1164",
"0.12006",
"0.1164"
],
[
"0.51",
"0.1027",
"0.8774",
"0.1027",
"0.8774",
"0.1164",
"0.51",
"0.1164"
],
[
"0.11755",
"0.11816",
"0.4836",
"0.11816",
"0.4836",
"0.1318",
"0.11755",
"0.1318"
],
[
"0.513",
"0.12054",
"0.879",
"0.12054",
"0.879",
"0.1312",
"0.513",
"0.1312"
],
[
"0.12006",
"0.1354",
"0.4836",
"0.1354",
"0.4836",
"0.1484",
"0.12006",
"0.1484"
],
[
"0.5146",
"0.1354",
"0.881",
"0.1354",
"0.881",
"0.1484",
"0.5146",
"0.1484"
],
[
"0.11755",
"0.1497",
"0.486",
"0.1497",
"0.486",
"0.1633",
"0.11755",
"0.1633"
],
[
"0.511",
"0.1497",
"0.881",
"0.1509",
"0.881",
"0.165",
"0.511",
"0.1644"
],
[
"0.1184",
"0.1663",
"0.4844",
"0.1675",
"0.4844",
"0.1812",
"0.1184",
"0.1799"
],
[
"0.5146",
"0.1675",
"0.882",
"0.1675",
"0.882",
"0.1812",
"0.5146",
"0.1812"
],
[
"0.1184",
"0.1818",
"0.4836",
"0.1818",
"0.4836",
"0.1953",
"0.1184",
"0.1953"
],
[
"0.513",
"0.1829",
"0.881",
"0.1829",
"0.881",
"0.1965",
"0.513",
"0.1965"
],
[
"0.1184",
"0.2007",
"0.482",
"0.2007",
"0.482",
"0.2114",
"0.1184",
"0.2114"
],
[
"0.511",
"0.1996",
"0.881",
"0.1996",
"0.881",
"0.2131",
"0.511",
"0.2131"
],
[
"0.1184",
"0.2156",
"0.4895",
"0.2156",
"0.4895",
"0.2286",
"0.1184",
"0.2286"
],
[
"0.513",
"0.2156",
"0.882",
"0.2156",
"0.882",
"0.2286",
"0.513",
"0.2286"
],
[
"0.1184",
"0.2322",
"0.3838",
"0.2322",
"0.3838",
"0.2452",
"0.1184",
"0.2452"
],
[
"0.511",
"0.2322",
"0.881",
"0.2322",
"0.881",
"0.2452",
"0.511",
"0.2452"
],
[
"0.5156",
"0.2494",
"0.879",
"0.2494",
"0.879",
"0.26",
"0.5156",
"0.26"
],
[
"0.1142",
"0.2632",
"0.2737",
"0.2632",
"0.2737",
"0.2766",
"0.1142",
"0.2766"
],
[
"0.5146",
"0.2632",
"0.875",
"0.2632",
"0.875",
"0.2766",
"0.5146",
"0.2766"
],
[
"0.513",
"0.2798",
"0.881",
"0.2798",
"0.881",
"0.2935",
"0.513",
"0.2935"
],
[
"0.126",
"0.2922",
"0.4878",
"0.2935",
"0.4878",
"0.308",
"0.126",
"0.3071"
],
[
"0.511",
"0.2957",
"0.881",
"0.2957",
"0.881",
"0.3088",
"0.511",
"0.3088"
],
[
"0.12006",
"0.3113",
"0.4836",
"0.3113",
"0.4836",
"0.3218",
"0.12006",
"0.3218"
],
[
"0.513",
"0.3123",
"0.881",
"0.3123",
"0.881",
"0.326",
"0.513",
"0.326"
],
[
"0.1184",
"0.3267",
"0.4844",
"0.3267",
"0.4844",
"0.3374",
"0.1184",
"0.3374"
],
[
"0.513",
"0.328",
"0.881",
"0.328",
"0.881",
"0.3416",
"0.513",
"0.3416"
],
[
"0.11755",
"0.3425",
"0.4895",
"0.3425",
"0.4895",
"0.3557",
"0.11755",
"0.3557"
],
[
"0.513",
"0.3445",
"0.7515",
"0.3445",
"0.7515",
"0.3582",
"0.513",
"0.3582"
],
[
"0.11755",
"0.357",
"0.4844",
"0.357",
"0.4844",
"0.3706",
"0.11755",
"0.3706"
],
[
"0.12006",
"0.3748",
"0.486",
"0.3748",
"0.486",
"0.3884",
"0.12006",
"0.3884"
],
[
"0.51",
"0.3772",
"0.5425",
"0.3772",
"0.5425",
"0.3855",
"0.51",
"0.3855"
],
[
"0.546",
"0.3748",
"0.8423",
"0.3748",
"0.8423",
"0.3884",
"0.546",
"0.3884"
],
[
"0.1184",
"0.3901",
"0.486",
"0.3901",
"0.486",
"0.4038",
"0.1184",
"0.4038"
],
[
"0.5415",
"0.3901",
"0.785",
"0.3914",
"0.785",
"0.4062",
"0.5415",
"0.405"
],
[
"0.1184",
"0.4062",
"0.486",
"0.4062",
"0.486",
"0.4204",
"0.1184",
"0.4204"
],
[
"0.1184",
"0.4229",
"0.4878",
"0.4229",
"0.4878",
"0.4358",
"0.1184",
"0.4358"
],
[
"0.51",
"0.4175",
"0.879",
"0.4175",
"0.879",
"0.4312",
"0.51",
"0.4312"
],
[
"0.513",
"0.434",
"0.882",
"0.434",
"0.882",
"0.4478",
"0.513",
"0.4478"
],
[
"0.12006",
"0.4407",
"0.486",
"0.4407",
"0.486",
"0.4507",
"0.12006",
"0.4507"
],
[
"0.1184",
"0.4536",
"0.4878",
"0.4536",
"0.4878",
"0.4673",
"0.1184",
"0.4673"
],
[
"0.513",
"0.4495",
"0.882",
"0.4495",
"0.882",
"0.4631",
"0.513",
"0.4631"
],
[
"0.51",
"0.4644",
"0.7363",
"0.4656",
"0.7363",
"0.4797",
"0.51",
"0.4785"
],
[
"0.12006",
"0.4714",
"0.4836",
"0.4714",
"0.4836",
"0.4822",
"0.12006",
"0.4822"
],
[
"0.1184",
"0.4863",
"0.4844",
"0.4863",
"0.4844",
"0.4995",
"0.1184",
"0.4995"
],
[
"0.531",
"0.4827",
"0.881",
"0.4827",
"0.881",
"0.4963",
"0.531",
"0.4963"
],
[
"0.1184",
"0.503",
"0.486",
"0.503",
"0.486",
"0.5166",
"0.1184",
"0.5166"
],
[
"0.511",
"0.4988",
"0.8774",
"0.4988",
"0.8774",
"0.5127",
"0.511",
"0.5127"
],
[
"0.12006",
"0.521",
"0.4836",
"0.521",
"0.4836",
"0.531",
"0.12006",
"0.531"
],
[
"0.513",
"0.5156",
"0.881",
"0.5156",
"0.881",
"0.5293",
"0.513",
"0.5293"
],
[
"0.12006",
"0.535",
"0.4878",
"0.535",
"0.4878",
"0.549",
"0.12006",
"0.549"
],
[
"0.513",
"0.532",
"0.881",
"0.532",
"0.881",
"0.546",
"0.513",
"0.546"
],
[
"0.11755",
"0.5503",
"0.4844",
"0.5503",
"0.4844",
"0.564",
"0.11755",
"0.564"
],
[
"0.5146",
"0.5474",
"0.881",
"0.5474",
"0.881",
"0.561",
"0.5146",
"0.561"
],
[
"0.1184",
"0.5664",
"0.486",
"0.5664",
"0.486",
"0.58",
"0.1184",
"0.58"
],
[
"0.511",
"0.5635",
"0.881",
"0.5635",
"0.881",
"0.5767",
"0.511",
"0.5767"
],
[
"0.511",
"0.5776",
"0.879",
"0.5776",
"0.879",
"0.5913",
"0.511",
"0.5913"
],
[
"0.12006",
"0.5845",
"0.4878",
"0.5845",
"0.4878",
"0.597",
"0.12006",
"0.597"
],
[
"0.1184",
"0.5996",
"0.4878",
"0.5996",
"0.4878",
"0.6133",
"0.1184",
"0.6133"
],
[
"0.5146",
"0.5967",
"0.879",
"0.5967",
"0.879",
"0.607",
"0.5146",
"0.607"
],
[
"0.1184",
"0.6143",
"0.486",
"0.6143",
"0.486",
"0.6274",
"0.1184",
"0.6274"
],
[
"0.513",
"0.611",
"0.881",
"0.611",
"0.881",
"0.6245",
"0.513",
"0.6245"
],
[
"0.12006",
"0.632",
"0.4902",
"0.632",
"0.4902",
"0.6455",
"0.12006",
"0.6455"
],
[
"0.51",
"0.627",
"0.86",
"0.627",
"0.86",
"0.64",
"0.51",
"0.64"
],
[
"0.1184",
"0.648",
"0.4895",
"0.648",
"0.4895",
"0.661",
"0.1184",
"0.661"
],
[
"0.532",
"0.6436",
"0.879",
"0.6436",
"0.879",
"0.6567",
"0.532",
"0.6567"
],
[
"0.1184",
"0.6646",
"0.4878",
"0.6646",
"0.4878",
"0.6777",
"0.1184",
"0.6777"
],
[
"0.511",
"0.66",
"0.881",
"0.659",
"0.881",
"0.6733",
"0.511",
"0.675"
],
[
"0.11755",
"0.6787",
"0.486",
"0.6787",
"0.486",
"0.6924",
"0.11755",
"0.6924"
],
[
"0.513",
"0.677",
"0.881",
"0.677",
"0.881",
"0.6904",
"0.513",
"0.6904"
],
[
"0.11755",
"0.695",
"0.4895",
"0.6953",
"0.4895",
"0.7104",
"0.11755",
"0.709"
],
[
"0.513",
"0.6924",
"0.881",
"0.6924",
"0.881",
"0.706",
"0.513",
"0.706"
],
[
"0.1184",
"0.712",
"0.4844",
"0.712",
"0.4844",
"0.7256",
"0.1184",
"0.7256"
],
[
"0.513",
"0.709",
"0.881",
"0.709",
"0.881",
"0.7227",
"0.513",
"0.7227"
],
[
"0.1184",
"0.728",
"0.486",
"0.728",
"0.486",
"0.741",
"0.1184",
"0.741"
],
[
"0.511",
"0.7236",
"0.879",
"0.7236",
"0.879",
"0.737",
"0.511",
"0.737"
],
[
"0.12006",
"0.745",
"0.4844",
"0.745",
"0.4844",
"0.756",
"0.12006",
"0.756"
],
[
"0.513",
"0.741",
"0.879",
"0.741",
"0.879",
"0.755",
"0.513",
"0.755"
],
[
"0.12177",
"0.7627",
"0.4836",
"0.7627",
"0.4836",
"0.7725",
"0.12177",
"0.7725"
],
[
"0.513",
"0.7573",
"0.881",
"0.7573",
"0.881",
"0.771",
"0.513",
"0.771"
],
[
"0.1184",
"0.777",
"0.486",
"0.777",
"0.486",
"0.7905",
"0.1184",
"0.7905"
],
[
"0.511",
"0.774",
"0.571",
"0.774",
"0.571",
"0.788",
"0.511",
"0.788"
],
[
"0.11755",
"0.7915",
"0.486",
"0.792",
"0.486",
"0.807",
"0.11755",
"0.8057"
],
[
"0.51",
"0.8",
"0.754",
"0.802",
"0.754",
"0.8164",
"0.51",
"0.814"
],
[
"0.1184",
"0.808",
"0.486",
"0.808",
"0.486",
"0.822",
"0.1184",
"0.822"
],
[
"0.1184",
"0.8247",
"0.486",
"0.8247",
"0.486",
"0.8384",
"0.1184",
"0.8384"
],
[
"0.519",
"0.8237",
"0.881",
"0.8237",
"0.881",
"0.8374",
"0.519",
"0.8374"
],
[
"0.1184",
"0.8413",
"0.4844",
"0.8413",
"0.4844",
"0.855",
"0.1184",
"0.855"
],
[
"0.511",
"0.8403",
"0.881",
"0.8403",
"0.881",
"0.854",
"0.511",
"0.854"
],
[
"0.1184",
"0.857",
"0.4878",
"0.857",
"0.4878",
"0.8706",
"0.1184",
"0.8706"
],
[
"0.5146",
"0.858",
"0.733",
"0.858",
"0.733",
"0.868",
"0.5146",
"0.868"
],
[
"0.11755",
"0.8716",
"0.486",
"0.8726",
"0.486",
"0.887",
"0.11755",
"0.8857"
],
[
"0.529",
"0.8726",
"0.881",
"0.8716",
"0.881",
"0.8857",
"0.529",
"0.887"
],
[
"0.12006",
"0.8896",
"0.4878",
"0.8896",
"0.4878",
"0.903",
"0.12006",
"0.903"
],
[
"0.511",
"0.8896",
"0.882",
"0.8896",
"0.882",
"0.903",
"0.511",
"0.903"
],
[
"0.1184",
"0.905",
"0.3938",
"0.905",
"0.3938",
"0.9185",
"0.1184",
"0.9185"
],
[
"0.5146",
"0.905",
"0.881",
"0.905",
"0.881",
"0.9185",
"0.5146",
"0.9185"
]
] | [
"通过屏蔽的情感词生成和检测来加强词级预",
"Pre-trained Models for Sentiment Analysis",
"训练,样本效率更高,有利于各种情感分类任",
"在情感分析领域,BERT-PTE(Xuetal.,2019",
"务;2)。SentiWSP将单词级预训练与句子级预",
"对属于下游任务相同域的语料库进行后训练,",
"训练相结合,这在以前的研究中没有得到充分",
"以受益于方面级情感分类。SKEP(Tianetal.,",
"考虑。SentiWSP在预训练中采用对比学习,将",
"2020)构建三个情感知识预测目标,以便为多",
"句子与批量和跨批次的硬阴性进行逐步对比,",
"个情感分析任务学习统一的情感表示。SEN-",
"从而使模型能够对句子的详细情感信息进行编",
"TIXE(Zhouetal.,2020)从大规模评论数据集",
"码;3)。我们对句子级和方面级情感分类任务",
"中研究领域不变的情感知识,并将其用于跨",
"进行了广泛的实验,并表明SentiWSP在多个",
"域情感分类任务,而无需进行微调。SentiB-",
"基准数据集上实现了最新的性能。",
"ERT(Yinetal.,2020)提出了一种基于BERT",
"表示的两级注意力机制,以捕获短语级的组",
"2Related Work",
"成语义。SentiLARE(Keetal.,2020)设计了",
"种新的预训练任务,称为标签感知掩码语言模",
"Pre-training and Representation Learning",
"型,用于构建知识感知语言表示。SCAPT(Li",
"预训练模型在各种NLP任务中都取得了巨",
"etal.,2021b)通过将隐式情感表达的表示与具",
"大的成功(Devlinetal..2019:Yangetal..2019:",
"有相同情感标签的情感表达的表示对齐,从评",
"Liuetal.,2019)。现有研究大多使用基于Trans-",
"论中捕获隐式和显式情感取向",
"former的(Vaswanietal.,2017)编码器来捕获",
"上下文特征,以及掩蔽语言模型(MLM)和/或",
"3",
"Sentiment-Aware Word-Level and",
"下一句预测(Devlinetal.,2019)作为预训练任",
"Sentence-Level Pre-training",
"务。Yangetal.(2019)提出了使用广义自回归",
"方法进行预训练的XLNet,该方法通过最大",
"SentiWSP的整体框架如图1所示。SentiWSP",
"由两个预训练阶段组成,即单词级预训练(Sec。",
"化因子分解顺序的所有排列上的预期可能性",
"来学习双向上下文。ELECTRAE(Clarketal.",
"3.1和句子级预训练(秒。3.2),微调前(秒。",
"3.3)在下游情绪分析任务上",
"2020)是一个生成器-鉴别器框架,其中生成器",
"执行掩码令牌生成,鉴别器执行替换令牌检",
"在单词级预训练中,输入句子经过一个单词",
"测预训练任务。它比MLM更有效,因为鉴别",
"屏蔽步骤,然后是一个生成器来替换被屏蔽的",
"器在所有输入令牌上建模,而不是仅在掩码",
"单词,以及一个鉴别器来检测替换。在此阶段",
"令牌上建模。我们的工作提高了ELECTRA在",
"对生成器和鉴别器进行联合培训。然后,在句",
"情感分析任务上的表现,通过在单词级预训",
"子级的预训练中继续进行鉴别器的训练。每个",
"练中指定掩蔽的情感单词,并结合句子级预",
"输入句子都被屏蔽在情感词上以构造查询,而",
"原始句子被视为正样本。将它们由鉴别器编码",
"训练。除了对令牌表示进行编码的预训练模",
"型外,句子级和段落级表示学习近年来也得",
"的嵌入与在批量预热训练步骤和跨批次近似最",
"到了快速发展。大量工作表明,对比学习是句",
"近邻训练步骤中构建的两种类型的负样本进行",
"子和段落级表示学习的有效框架(Mengetal.,",
"对比。最后,鉴别器在下游任务上进行微调",
"2021; Wei et al., 2021; Gao et al., 2021; Li et al.,",
"与以前的研究相比,SentiWSP中的鉴别器具",
"2021a)。对比学习的共同思想是在嵌人空间中",
"有三个优点。(1)SentiWSP不是随机的令牌替",
"将一个锚和一个“正”样本拉在一起,并将锚与",
"换和检测,而是掩盖了很大一部分情感词,因",
"“负”样本分开。最近,COCO-LME(Mengetal.,",
"此鉴别器更加关注词级情感。(2)SentiWSP通",
"2021)通过掩蔽和裁剪句子中的标记来创建正",
"过替换检测任务从所有输入单词中合并上下文",
"样本。Gaoetal.(2021)证明,在自然语言推理",
"信息,而不是纯掩码令牌预测。(3)SentiWSP",
"(NLI)任务中,仅构建标准丢失的正对作为最",
"通过逐步将缺少情感的句子与表面上相似的句",
"小的数据增强效果令人惊。Karpukhinetal.",
"子进行对比,将句子级情感与单词级情感结合",
"(2020)基于段落检索和问答任务研究不同负采",
"在一起",
"样策略对段落表征学习的影响。ANCE(Xiong",
"3.1 Word-Level Pre-training",
"etal.,2021)采用近似最近邻负对比学习,这",
"是一种学习机制,使用异步更新的近似最近邻",
"Wordmasking与以前的随机单词掩码(De-",
"(ANN)索引从整个语料库中全局选择硬阴性。",
"vlinetal.,2019;Clark etal.,2020)不同,我们的",
"受 COCO-LME(Meng et al.,2021)和 ANCEE",
"自标是破坏输人句子的情绪",
"(Xiongetal.,2021)的启发,我们通过掩盖句子",
"详细地说,我们首先随机屏蔽15%单词,与",
"中的单词跨度来构造正样本,并构造跨批硬负",
"ELECTRAE(Clarketal.,2020)相同。然后,我",
"样本以增强句子级预训练的鉴别器",
"们使用SentiWordNetE(Baccianella et al.,2010)"
] | {
"arxiv_id": "2210.09803",
"language": "zh",
"page_idx": 2
} |
||
2210.09803-zh-3 | 2210.09803-zh-3.jpg | <FigureHere>
Figure 1: Framework overview of SentiWSP.
Discriminator 对于损坏的句子,鉴别器$D$ ,i。e。,一个更大尺寸的 Transformer,将损坏的句子编码为$h_{\boldsymbol{D}}(s^\mathrm{rep})$,并使用 sigmoid 输出层预测每个单词$w_t$是来自数据还是来自生成器:
$$D(s^\text{rep},t)=\sigma\left(e_t^Th_{\boldsymbol{D}}(s^\text{rep})_t\right)$$
(2)
我们共同训练生成器和鉴别器。通过最大似然估计训练生成器$G$ ,并通过交叉熵训练鉴别器$D$。
标记句子中情感词的位置,并屏蔽情感词,直到隐藏一定比例的情感词$p_w$ 。我们实证发现, 情绪词掩蔽比例$p_w=50\%$达到最佳效果
在图$\mathbb{E}1$(左)的示例中,情感词“sassy”和“charming”被屏蔽,而“smart”未被屏蔽,“comedy"被屏蔽为随机的非情感词。
Generator 接下来,生成器$G$处理屏蔽的句子并生成损坏的句子。与 ELECTRA$\underline{\mathrm{E}}($Clark et al., 2020) 中一样,发电机是小型变压器。在形式上,句子是一个单词序列,我。e。$\boldsymbol{s}$ = $[ w_1, w_2, \ldots , w_n]$ , 掩码指示符表示为$\boldsymbol{m}$ = $[ m_{1}, m_{2}, \ldots , m_{n}] , m_{t}$ $\in$ $\{ 0, 1\}$ ,我们从单词掩码步骤获得$s^\mathrm{mask}$。对于被屏蔽的单词,该单词将替换为“MASK”,即。e。, $\forall m_t=1,w_t=[“MASK”]$。生成器$G$ 将输入$\dot{\text{编码为上下文化表示 }h_G}(s^\mathrm{mask})=[h_1,\ldots,h_n]$
对于给定的位置$t$ ,(在我们的例子中只有$w_t=[“MASK”]$的位置),生成器$G$输出一个概率$p_{\boldsymbol{G}}\left(w_{t}\mid s^{\mathrm{mask}}\right)$,用于生成具有 softmax 层的特定令牌$w_t:$
$$p_{\boldsymbol{G}}\left(w_{t}\:|\:\boldsymbol{s^{\mathrm{mask}}}\right)=\frac{\exp\left(\boldsymbol{e_{t}}^{T}h_{\boldsymbol{G}}(\boldsymbol{s^{\mathrm{mask}}})_{t}\right)}{\sum_{w_{j}}\exp\left(\boldsymbol{e_{j}}^{T}h_{\boldsymbol{G}}(\boldsymbol{s^{\mathrm{mask}}})_{t}\right)}$$
$$\begin{aligned}&\min_{\theta_{\boldsymbol{G}},\theta_{\boldsymbol{D}}}\sum_{\boldsymbol{s}\in\mathcal{X}}\mathcal{L}_{\boldsymbol{G}}\left(\boldsymbol{s},\theta_{\boldsymbol{G}}\right)+\lambda\mathcal{L}_{\boldsymbol{D}}\left(\boldsymbol{s},\theta_{\boldsymbol{D}}\right)&&\text{(3)}\\&\mathcal{L}_{\boldsymbol{G}}=\sum_{m_{t}=1}-\log p_{\boldsymbol{G}}\left(w_{t}\mid s^{\mathrm{mask}}\right)\\&\mathcal{L}_{\boldsymbol{D}}=\sum_{i=1}^{n}-\mathbb{I}(w_{i}^{\mathrm{rep}}=w_{i})\log\boldsymbol{D}(\boldsymbol{s}^{\mathrm{rep}},i)\\&-\left(1-\mathbb{I}(w_{i}^{\mathrm{rep}}=w_{i})\right)\log\left(1-\boldsymbol{D}(\boldsymbol{s}^{\mathrm{rep}},i)\right)\end{aligned}$$
其中$\chi$ 表示大量原始文本,$\lambda$ 是鉴别器丢失
的系数
(1)
## 3.2 Sentence-Level Pre-training
对于句子级的预训练,我们遵循▣EChen et al. (2020) 中的对比框架。对比学习的目标是通过将相似的样本放在一起学习有效的表示(i。e。, 阳性样本)和推开不同的样本(i。e。,阴性样本)
对比学习中的一个关键问题是如何构造一对查询(锚点)和正/负样本,即。e。, $\left(q_{i},d_{i}^{+}\right),\left(q_{i},d_{i}^{-}\right)$。如图 1(右)所示的例子, 给定一个来自语料库$C$的句子$s_i$ ,我们首先在句子中屏蔽出一定百分比(本研究中为 70个$\%$)的情感词来构造 $q_i$ ,并将原始句子视为积极的例子$d_i^+$
其中$e_t$表示单词$w_t$的单词嵌入
然后,我们将当前单词$w_t$替换为基于$p_{\boldsymbol{G}}\left(w_t\mid\boldsymbol{s}^\mathrm{mask}\right)$的随机样本策略。抽样引入了随机性,因此有利于训练鉴别器。相反,选择概率最高的单词很可能会生成原始单词, 并且对鉴别器的训练将更具挑战性,因为鉴别器很可能会被捕获以将原始单词与替换词区分开。形式上,替换过程可以定义为$\forall m_{t}$ = $1, \hat{w} _{t}$ $\sim$ $p_{\boldsymbol{G}}\left ( w_{t}\mid s_{\mathrm{ren}}^{\mathrm{mask}}\right )$。我们将损坏的序列表示为$s^\mathrm{rep}= [ w_{1}^\mathrm{rep}, \ldots , w_{n}^\mathrm{rep}]$ ,其中$\forall m_{t}=1,w_{t}^{\mathrm{rep}}=\hat{w}_{t}$ | [
[
"0.1931",
"0.0885",
"0.2091",
"0.0885",
"0.2091",
"0.0968",
"0.1931",
"0.0968"
],
[
"0.711",
"0.0903",
"0.7407",
"0.0903",
"0.7407",
"0.0974",
"0.711",
"0.0974"
],
[
"0.79",
"0.08905",
"0.8237",
"0.08905",
"0.8237",
"0.0974",
"0.79",
"0.0974"
],
[
"0.1301",
"0.0974",
"0.1814",
"0.0974",
"0.1814",
"0.1081",
"0.1301",
"0.1081"
],
[
"0.7036",
"0.0968",
"0.7515",
"0.0968",
"0.7515",
"0.1081",
"0.7036",
"0.1081"
],
[
"0.1948",
"0.1027",
"0.2032",
"0.1027",
"0.2032",
"0.1081",
"0.1948",
"0.1081"
],
[
"0.2351",
"0.1027",
"0.2435",
"0.1027",
"0.2435",
"0.1081",
"0.2351",
"0.1081"
],
[
"0.339",
"0.1027",
"0.3494",
"0.1027",
"0.3494",
"0.10986",
"0.339",
"0.10986"
],
[
"0.4055",
"0.1027",
"0.4165",
"0.1027",
"0.4165",
"0.10986",
"0.4055",
"0.10986"
],
[
"0.4668",
"0.1027",
"0.4744",
"0.1027",
"0.4744",
"0.10925",
"0.4668",
"0.10925"
],
[
"0.781",
"0.0974",
"0.8286",
"0.0974",
"0.8286",
"0.1081",
"0.781",
"0.1081"
],
[
"0.1276",
"0.1069",
"0.1838",
"0.1069",
"0.1838",
"0.11755",
"0.1276",
"0.11755"
],
[
"0.681",
"0.12054",
"0.7363",
"0.12054",
"0.7363",
"0.1312",
"0.681",
"0.1312"
],
[
"0.76",
"0.12054",
"0.8135",
"0.12054",
"0.8135",
"0.1312",
"0.76",
"0.1312"
],
[
"0.561",
"0.1289",
"0.614",
"0.1289",
"0.614",
"0.1395",
"0.561",
"0.1395"
],
[
"0.3267",
"0.1217",
"0.4165",
"0.1217",
"0.4165",
"0.133",
"0.3267",
"0.133"
],
[
"0.4072",
"0.1443",
"0.413",
"0.1443",
"0.413",
"0.1497",
"0.4072",
"0.1497"
],
[
"0.4668",
"0.1437",
"0.4744",
"0.1437",
"0.4744",
"0.1497",
"0.4668",
"0.1497"
],
[
"0.189",
"0.1526",
"0.3047",
"0.1526",
"0.3047",
"0.1675",
"0.189",
"0.1675"
],
[
"0.3167",
"0.155",
"0.3787",
"0.155",
"0.3787",
"0.1663",
"0.3167",
"0.1663"
],
[
"0.388",
"0.1538",
"0.434",
"0.1561",
"0.4324",
"0.1675",
"0.3862",
"0.165"
],
[
"0.5073",
"0.155",
"0.5415",
"0.155",
"0.5415",
"0.1663",
"0.5073",
"0.1663"
],
[
"0.575",
"0.1561",
"0.6035",
"0.1561",
"0.6035",
"0.1675",
"0.575",
"0.1675"
],
[
"0.7036",
"0.1603",
"0.7407",
"0.1621",
"0.739",
"0.1733",
"0.702",
"0.1716"
],
[
"0.784",
"0.1609",
"0.812",
"0.1609",
"0.812",
"0.1729",
"0.784",
"0.1729"
],
[
"0.6274",
"0.1633",
"0.659",
"0.1633",
"0.659",
"0.1716",
"0.6274",
"0.1716"
],
[
"0.567",
"0.1663",
"0.6094",
"0.1663",
"0.6094",
"0.177",
"0.567",
"0.177"
],
[
"0.455",
"0.1567",
"0.4895",
"0.1567",
"0.4895",
"0.1644",
"0.455",
"0.1644"
],
[
"0.1368",
"0.1716",
"0.1738",
"0.1716",
"0.1738",
"0.1812",
"0.1368",
"0.1812"
],
[
"0.2837",
"0.1729",
"0.2896",
"0.1729",
"0.2896",
"0.1776",
"0.2837",
"0.1776"
],
[
"0.403",
"0.1758",
"0.4114",
"0.1704",
"0.419",
"0.1758",
"0.4106",
"0.1812"
],
[
"0.5264",
"0.1729",
"0.531",
"0.1729",
"0.531",
"0.1776",
"0.5264",
"0.1776"
],
[
"0.339",
"0.1907",
"0.4048",
"0.1907",
"0.4048",
"0.2019",
"0.339",
"0.2019"
],
[
"0.665",
"0.1996",
"0.702",
"0.1996",
"0.702",
"0.2037",
"0.665",
"0.2037"
],
[
"0.7446",
"0.199",
"0.7793",
"0.199",
"0.7793",
"0.206",
"0.7446",
"0.206"
],
[
"0.825",
"0.1996",
"0.8447",
"0.1996",
"0.8447",
"0.2037",
"0.825",
"0.2037"
],
[
"0.3418",
"0.2114",
"0.3477",
"0.2114",
"0.3477",
"0.2162",
"0.3418",
"0.2162"
],
[
"0.6245",
"0.2197",
"0.7197",
"0.2197",
"0.7197",
"0.2268",
"0.6245",
"0.2268"
],
[
"0.764",
"0.2197",
"0.86",
"0.2197",
"0.86",
"0.2268",
"0.764",
"0.2268"
],
[
"0.581",
"0.2227",
"0.594",
"0.2245",
"0.5938",
"0.2299",
"0.58",
"0.228"
],
[
"0.2568",
"0.2239",
"0.3167",
"0.2239",
"0.3167",
"0.234",
"0.2568",
"0.234"
],
[
"0.3838",
"0.2227",
"0.4358",
"0.2227",
"0.4358",
"0.234",
"0.3838",
"0.234"
],
[
"0.4954",
"0.2239",
"0.5483",
"0.2239",
"0.5483",
"0.234",
"0.4954",
"0.234"
],
[
"0.3225",
"0.2245",
"0.378",
"0.2245",
"0.378",
"0.2351",
"0.3225",
"0.2351"
],
[
"0.2258",
"0.2268",
"0.2494",
"0.2268",
"0.2494",
"0.231",
"0.2258",
"0.231"
],
[
"0.461",
"0.2268",
"0.486",
"0.2268",
"0.486",
"0.231",
"0.461",
"0.231"
],
[
"0.748",
"0.2286",
"0.771",
"0.2286",
"0.771",
"0.2328",
"0.748",
"0.2328"
],
[
"0.7305",
"0.2299",
"0.7407",
"0.2299",
"0.7407",
"0.2328",
"0.7305",
"0.2328"
],
[
"0.1293",
"0.2299",
"0.1797",
"0.2322",
"0.178",
"0.2434",
"0.1276",
"0.2411"
],
[
"0.1318",
"0.2382",
"0.1755",
"0.2405",
"0.1738",
"0.2517",
"0.1301",
"0.2494"
],
[
"0.3167",
"0.2494",
"0.378",
"0.2494",
"0.378",
"0.26",
"0.3167",
"0.26"
],
[
"0.6323",
"0.2488",
"0.6724",
"0.2488",
"0.6724",
"0.2559",
"0.6323",
"0.2559"
],
[
"0.3955",
"0.2517",
"0.43",
"0.2517",
"0.43",
"0.2588",
"0.3955",
"0.2588"
],
[
"0.2761",
"0.2517",
"0.2988",
"0.2517",
"0.2988",
"0.2588",
"0.2761",
"0.2588"
],
[
"0.575",
"0.2559",
"0.6094",
"0.2559",
"0.6094",
"0.2632",
"0.575",
"0.2632"
],
[
"0.712",
"0.257",
"0.7734",
"0.257",
"0.7734",
"0.2673",
"0.712",
"0.2673"
],
[
"0.293",
"0.2666",
"0.3896",
"0.2666",
"0.3896",
"0.2766",
"0.293",
"0.2766"
],
[
"0.2854",
"0.284",
"0.409",
"0.284",
"0.409",
"0.2986",
"0.2854",
"0.2986"
],
[
"0.6455",
"0.2852",
"0.784",
"0.2861",
"0.784",
"0.2976",
"0.6455",
"0.2964"
],
[
"0.3477",
"0.31",
"0.6514",
"0.31",
"0.6514",
"0.3237",
"0.3477",
"0.3237"
],
[
"0.1184",
"0.3499",
"0.486",
"0.3499",
"0.486",
"0.3635",
"0.1184",
"0.3635"
],
[
"0.5156",
"0.3499",
"0.879",
"0.3499",
"0.879",
"0.3635",
"0.5156",
"0.3635"
],
[
"0.1184",
"0.3677",
"0.4844",
"0.3677",
"0.4844",
"0.3818",
"0.1184",
"0.3818"
],
[
"0.513",
"0.3677",
"0.567",
"0.3694",
"0.567",
"0.3801",
"0.513",
"0.3777"
],
[
"0.5825",
"0.3665",
"0.881",
"0.3665",
"0.881",
"0.3813",
"0.5825",
"0.3813"
],
[
"0.11755",
"0.383",
"0.4458",
"0.3818",
"0.4458",
"0.3967",
"0.11755",
"0.398"
],
[
"0.513",
"0.3818",
"0.8774",
"0.3818",
"0.8774",
"0.3955",
"0.513",
"0.3955"
],
[
"0.1368",
"0.3984",
"0.4844",
"0.3984",
"0.4844",
"0.4133",
"0.1368",
"0.4133"
],
[
"0.5146",
"0.3984",
"0.881",
"0.3984",
"0.881",
"0.412",
"0.5146",
"0.412"
],
[
"0.11755",
"0.4133",
"0.4902",
"0.4146",
"0.4902",
"0.4287",
"0.11755",
"0.4275"
],
[
"0.513",
"0.415",
"0.54",
"0.415",
"0.54",
"0.4287",
"0.513",
"0.4287"
],
[
"0.11584",
"0.43",
"0.372",
"0.4312",
"0.372",
"0.4453",
"0.11584",
"0.4448"
],
[
"0.5825",
"0.4287",
"0.8096",
"0.43",
"0.8096",
"0.4478",
"0.5825",
"0.4465"
],
[
"0.858",
"0.4329",
"0.882",
"0.4329",
"0.882",
"0.4453",
"0.858",
"0.4453"
],
[
"0.12006",
"0.4548",
"0.4844",
"0.4536",
"0.4844",
"0.4685",
"0.12006",
"0.4697"
],
[
"0.513",
"0.4573",
"0.879",
"0.4573",
"0.879",
"0.4702",
"0.513",
"0.4702"
],
[
"0.1184",
"0.4714",
"0.4878",
"0.4702",
"0.4878",
"0.485",
"0.1184",
"0.4863"
],
[
"0.511",
"0.4714",
"0.881",
"0.4727",
"0.881",
"0.4868",
"0.511",
"0.4863"
],
[
"0.11755",
"0.488",
"0.4844",
"0.488",
"0.4844",
"0.502",
"0.11755",
"0.502"
],
[
"0.5146",
"0.4905",
"0.5635",
"0.4905",
"0.5635",
"0.502",
"0.5146",
"0.502"
],
[
"0.1184",
"0.5044",
"0.4727",
"0.5044",
"0.4727",
"0.517",
"0.1184",
"0.517"
],
[
"0.1142",
"0.5186",
"0.486",
"0.517",
"0.486",
"0.535",
"0.1142",
"0.536"
],
[
"0.559",
"0.5156",
"0.797",
"0.517",
"0.797",
"0.535",
"0.559",
"0.533"
],
[
"0.8564",
"0.5186",
"0.882",
"0.5186",
"0.882",
"0.533",
"0.8564",
"0.533"
],
[
"0.519",
"0.5293",
"0.565",
"0.531",
"0.5635",
"0.542",
"0.517",
"0.5405"
],
[
"0.523",
"0.5195",
"0.5684",
"0.5195",
"0.5684",
"0.531",
"0.523",
"0.531"
],
[
"0.1696",
"0.536",
"0.4844",
"0.536",
"0.4844",
"0.5503",
"0.1696",
"0.5503"
],
[
"0.561",
"0.536",
"0.592",
"0.536",
"0.592",
"0.5474",
"0.561",
"0.5474"
],
[
"0.1646",
"0.5415",
"0.1721",
"0.5415",
"0.1721",
"0.546",
"0.1646",
"0.546"
],
[
"0.12006",
"0.539",
"0.1486",
"0.539",
"0.1486",
"0.5474",
"0.12006",
"0.5474"
],
[
"0.1142",
"0.546",
"0.486",
"0.546",
"0.486",
"0.5664",
"0.1142",
"0.5664"
],
[
"0.529",
"0.552",
"0.7827",
"0.55",
"0.7827",
"0.571",
"0.529",
"0.5723"
],
[
"0.1184",
"0.5664",
"0.4768",
"0.5664",
"0.4768",
"0.5806",
"0.1184",
"0.5806"
],
[
"0.581",
"0.5723",
"0.6206",
"0.571",
"0.621",
"0.583",
"0.5825",
"0.585"
],
[
"0.1184",
"0.5845",
"0.4836",
"0.5845",
"0.4836",
"0.5986",
"0.1184",
"0.5986"
],
[
"0.5977",
"0.585",
"0.6055",
"0.5933",
"0.5977",
"0.5967",
"0.5903",
"0.5884"
],
[
"0.11584",
"0.5957",
"0.4802",
"0.5967",
"0.4802",
"0.6177",
"0.11584",
"0.616"
],
[
"0.532",
"0.5996",
"0.581",
"0.5996",
"0.581",
"0.6143",
"0.532",
"0.6143"
],
[
"0.58",
"0.6016",
"0.596",
"0.594",
"0.608",
"0.607",
"0.592",
"0.6143"
],
[
"0.607",
"0.5967",
"0.8286",
"0.5967",
"0.8286",
"0.6143",
"0.607",
"0.6143"
],
[
"0.1368",
"0.616",
"0.4836",
"0.616",
"0.4836",
"0.63",
"0.1368",
"0.63"
],
[
"0.5845",
"0.6143",
"0.6094",
"0.6143",
"0.6094",
"0.6274",
"0.5845",
"0.6274"
],
[
"0.1184",
"0.633",
"0.471",
"0.633",
"0.471",
"0.6465",
"0.1184",
"0.6465"
],
[
"0.5635",
"0.63",
"0.8774",
"0.629",
"0.8774",
"0.6465",
"0.5635",
"0.648"
],
[
"0.1184",
"0.6465",
"0.4878",
"0.6465",
"0.4878",
"0.6646",
"0.1184",
"0.6646"
],
[
"0.1184",
"0.6646",
"0.2627",
"0.6646",
"0.2627",
"0.6777",
"0.1184",
"0.6777"
],
[
"0.519",
"0.661",
"0.881",
"0.661",
"0.881",
"0.676",
"0.519",
"0.676"
],
[
"0.513",
"0.676",
"0.571",
"0.6777",
"0.5693",
"0.6934",
"0.511",
"0.6914"
],
[
"0.2778",
"0.6895",
"0.4248",
"0.686",
"0.4248",
"0.703",
"0.2778",
"0.706"
],
[
"0.12427",
"0.7007",
"0.2048",
"0.6987",
"0.2048",
"0.7134",
"0.12427",
"0.7153"
],
[
"0.465",
"0.7017",
"0.4836",
"0.7017",
"0.4836",
"0.7114",
"0.465",
"0.7114"
],
[
"0.513",
"0.707",
"0.5483",
"0.707",
"0.5483",
"0.7188",
"0.513",
"0.7188"
],
[
"0.555",
"0.705",
"0.7793",
"0.706",
"0.7793",
"0.72",
"0.555",
"0.7197"
],
[
"0.2603",
"0.7134",
"0.293",
"0.7173",
"0.2896",
"0.73",
"0.2568",
"0.7256"
],
[
"0.288",
"0.7134",
"0.3376",
"0.7134",
"0.3376",
"0.728",
"0.288",
"0.728"
],
[
"0.3477",
"0.7144",
"0.4072",
"0.7144",
"0.4072",
"0.7256",
"0.3477",
"0.7256"
],
[
"0.513",
"0.727",
"0.881",
"0.727",
"0.881",
"0.7407",
"0.513",
"0.7407"
],
[
"0.1368",
"0.742",
"0.3914",
"0.742",
"0.3914",
"0.756",
"0.1368",
"0.756"
],
[
"0.511",
"0.742",
"0.879",
"0.742",
"0.879",
"0.756",
"0.511",
"0.756"
],
[
"0.1351",
"0.7583",
"0.4844",
"0.759",
"0.4844",
"0.774",
"0.1351",
"0.7725"
],
[
"0.511",
"0.7583",
"0.882",
"0.759",
"0.882",
"0.774",
"0.511",
"0.7725"
],
[
"0.1125",
"0.7715",
"0.486",
"0.771",
"0.486",
"0.7915",
"0.1125",
"0.792"
],
[
"0.5146",
"0.7754",
"0.882",
"0.7754",
"0.882",
"0.789",
"0.5146",
"0.789"
],
[
"0.1184",
"0.792",
"0.486",
"0.792",
"0.486",
"0.8057",
"0.1184",
"0.8057"
],
[
"0.513",
"0.792",
"0.54",
"0.792",
"0.54",
"0.8047",
"0.513",
"0.8047"
],
[
"0.1184",
"0.808",
"0.4844",
"0.808",
"0.4844",
"0.822",
"0.1184",
"0.822"
],
[
"0.531",
"0.808",
"0.881",
"0.808",
"0.881",
"0.822",
"0.531",
"0.822"
],
[
"0.1184",
"0.8247",
"0.4844",
"0.8247",
"0.4844",
"0.8384",
"0.1184",
"0.8384"
],
[
"0.513",
"0.8247",
"0.8774",
"0.8247",
"0.8774",
"0.8384",
"0.513",
"0.8384"
],
[
"0.1184",
"0.8403",
"0.4844",
"0.8403",
"0.4844",
"0.854",
"0.1184",
"0.854"
],
[
"0.5146",
"0.8403",
"0.881",
"0.839",
"0.881",
"0.854",
"0.5146",
"0.855"
],
[
"0.11755",
"0.855",
"0.486",
"0.8555",
"0.486",
"0.8706",
"0.11755",
"0.869"
],
[
"0.513",
"0.857",
"0.881",
"0.857",
"0.881",
"0.8706",
"0.513",
"0.8706"
],
[
"0.1142",
"0.869",
"0.4902",
"0.8677",
"0.4902",
"0.887",
"0.1142",
"0.8896"
],
[
"0.513",
"0.8726",
"0.882",
"0.8726",
"0.882",
"0.8857",
"0.513",
"0.8857"
],
[
"0.11584",
"0.8843",
"0.4895",
"0.8843",
"0.4895",
"0.905",
"0.11584",
"0.905"
],
[
"0.5146",
"0.888",
"0.881",
"0.888",
"0.881",
"0.903",
"0.5146",
"0.903"
],
[
"0.11755",
"0.904",
"0.2688",
"0.904",
"0.2688",
"0.9185",
"0.11755",
"0.9185"
],
[
"0.513",
"0.905",
"0.629",
"0.905",
"0.629",
"0.9194",
"0.513",
"0.9194"
]
] | [
"0",
"Index",
"Index",
"O:original",
"&Search",
"A",
"A",
"4",
"4",
"A",
"&Search",
"R:replaced",
"Inferencing",
"Inferencing",
"Inferencer",
"Discriminator",
"4",
"4",
"Asmanstylish",
"exceptionally",
"charming",
"book",
"ANN",
"D/k-1",
"Drk",
"Drk~2",
"Negatives",
"romantic",
"Sample",
"A",
"A",
"",
"Generator",
"hcknointk-",
"Checkpoint ",
"cknoin",
"4",
"[CLS]A[MASK]sass",
"ally[MASK]romantic",
"O",
"MASK",
"[MASK]",
"[MASK]",
"exceptionally",
"smart",
"manti",
"TSEPT",
"Pn",
"Sentiment",
"Masking",
"exceptionally",
"[CLS]A",
"harming",
"sassy",
"Positive",
"comedy [SEP]",
"Sentiment Word",
"Word-Level Pre-training",
"Sentence-Level Pre-training",
"Figure l: Framework overview of SentiwSP.",
"标记句子中情感词的位置,并屏蔽情感词,直",
"Discriminator对于损坏的句子,鉴别器D",
"到隐藏一定比例的情感词Pw。我们实证发现,",
"i.e..",
"一个更大尺寸的Transformer,将损坏",
"情绪词掩蔽比例pw=50%达到最佳效果",
"的句子编码为hp(srep),并使用sigmoid输出",
"在图1(左)的示例中,情感词“sassy”和",
"层预测每个单词Wt是来自数据还是来自生成",
"“charming”被屏蔽,而“smart”未被屏蔽,“com-",
"器:",
"edy”被屏蔽为随机的非情感词。",
"D(srep, t) = α (eT hD(sreP)t)",
"(2)",
"Generator接下来,生成器G处理屏蔽的句",
"我们共同训练生成器和鉴别器。通过最大似然",
"子并生成损坏的句子。与ELECTRAE(Clark",
"估计训练生成器G,并通过交叉熵训练鉴别",
"etal.,2020)中一样,发电机是小型变压器。",
"器D",
"在形式上,句子是一个单词序列,我。e。",
"s=[w1,w2,..,wn],掩码指示符表示为",
" CG(s, OG) +入Cd(s, OD)",
"(3)",
"OG,OD",
"min",
"[m1,m2,...,mn],mtE[0,1]我们",
"seX",
"",
"m",
"从单词掩码步骤获得 smask。对于被屏蔽的",
"CG = Z -logPG (wt | smask)",
"单词,该单词将替换为“MASK”,即。e。",
"mt=1",
"Vmt=1,Wt=[“MASK\"]。生成器G将输人",
"2",
"编码为上下文化表示hc(smask)=[h1,.,hn]",
"CD =",
"T",
"-I(wrep = wi) log D(srep,i)",
"对于给定的位置t,(在我们的例子中只有",
"=1",
"Wt=\"MASK\"1的位置),生成器G输出",
"- (1 - I(wrep = wi) log (1 - D(srep,i)",
"个概率pc(wt「smask),用于生成具有softmax",
"层的特定令牌Wt",
"其中表示大量原始文本,入是鉴别器丢失",
"的系数",
"exp (eThG(gmask)t",
"PG (Wt|s)",
"(1)",
"3.2",
"Sentence-Level Pre-training",
"Lw",
"exp (",
"ThG(sm",
"对于句子级的预训练,我们遵循EChenetal.",
"其中et表示单词wt的单词嵌入",
"(2020)中的对比框架。对比学习的目标是通过",
"然后,我们将当前单词wt替换为基于",
"将相似的样本放在一起学习有效的表示(i。e。,",
"Pc(wt|smask)的随机样本策略。抽样引人了",
"阳性样本)和推开不同的样本(i。e。,阴性样",
"随机性,因此有利于训练鉴别器。相反,选",
"本)",
"择概率最高的单词很可能会生成原始单词,",
"对比学习中的一个关键问题是如何构",
"并且对鉴别器的训练将更具挑战性,因为",
"造一对查询(锚点)和正/负样本,即。e。",
"鉴别器很可能会被捕获以将原始单词与替",
"(qi,d),(qi,d)。如图1(右)所示的例子,",
"换词区分开。形式上,替换过程可以定义为",
"给定一个来自语料库C的句子si,我们首先",
"Vmt=1,wit~pc(wt|smask)。我们将损坏",
"在句子中屏蔽出一定百分比(本研究中为70",
"的序列表示为srep=[wrep,wrep]】,其中",
"个%)的情感词来构造qi,并将原始句子视为",
"Vmt = 1, wrep = wt",
"积极的例子d"
] | {
"arxiv_id": "2210.09803",
"language": "zh",
"page_idx": 3
} |
||
2210.09803-zh-4 | 2210.09803-zh-4.jpg | <table>
<tbody>
<tr>
<th rowspan="3">$\mathbf{Model}$</th>
<th colspan="4">Sentence-level</th>
<th> </th>
<th colspan="4">Aspect- level</th>
</tr>
<tr>
<th rowspan="2">IMDB Acc</th>
<th rowspan="2">$SST-5$ Acc</th>
<th rowspan="2">$Yelp-2$ Acc</th>
<th rowspan="2">$Yelp-5$ Acc</th>
<th rowspan="2">$MR$ Acc</th>
<th colspan="2">Restaurant14</th>
<th colspan="2">Laptop14</th>
</tr>
<tr>
<th>Acc</th>
<th>$MF1$</th>
<th>Acc</th>
<th>$MF1$</th>
</tr>
<tr>
<td>$\mathbf{BERT}$ (Devlin et al., 2019)</td>
<td>93.87</td>
<td>53.37</td>
<td>97.74</td>
<td>70.16</td>
<td>87.52</td>
<td>83.77</td>
<td>76.06</td>
<td>78.53</td>
<td>73.11</td>
</tr>
<tr>
<td>XLNet ( Yang et al. , 2019) </td>
<td>96.21</td>
<td>56.33</td>
<td>97.41</td>
<td>70.23</td>
<td>89.45</td>
<td>84.93</td>
<td>76.70</td>
<td>80.00</td>
<td>75.88</td>
</tr>
<tr>
<td>RoBERTa ( Liu et al. , 2019) </td>
<td>94.68</td>
<td>54.89</td>
<td>97.98</td>
<td>70.12</td>
<td>89.41</td>
<td>86.07</td>
<td>79.21</td>
<td>81.03</td>
<td>77.16</td>
</tr>
<tr>
<td>$\mathbf{BERT-PT}$ $\Gamma($Xu et al., 2019)</td>
<td>93.99</td>
<td>53.24</td>
<td>97.77</td>
<td>69.90</td>
<td>87.30</td>
<td>85.86</td>
<td>77.99</td>
<td>78.46</td>
<td>73.82</td>
</tr>
<tr>
<td>TransBERT (Li et al., 2019)</td>
<td>94.79</td>
<td>55.56</td>
<td>96.73</td>
<td>69.53</td>
<td>88.69</td>
<td>86.38</td>
<td>78.95</td>
<td>80.06</td>
<td>75.43</td>
</tr>
<tr>
<td>SentiBERT (Yin et al., 2020)</td>
<td>94.04</td>
<td>56.87</td>
<td>97.66</td>
<td>69.94</td>
<td>88.59</td>
<td>83.71</td>
<td>75.42</td>
<td>76.87</td>
<td>71.74</td>
</tr>
<tr>
<td>SentiLARE (Ke et al., 2020)</td>
<td>95.71</td>
<td>58.59</td>
<td>98.22</td>
<td>71.57</td>
<td>90.82</td>
<td>88.32</td>
<td>81.63</td>
<td>82.16</td>
<td>78.70</td>
</tr>
<tr>
<td>SENTIX (Zhou et al., 2020)</td>
<td>94.78</td>
<td>55.57</td>
<td>97.83</td>
<td>1</td>
<td>1</td>
<td>87.32</td>
<td>1</td>
<td>80.56</td>
<td>1</td>
</tr>
<tr>
<td>SCAPT $\Gamma($Li et al..,2021b)</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>89.11</td>
<td>83.79</td>
<td>82.76</td>
<td>79.15</td>
</tr>
<tr>
<td>ELECTRA (Clark et al., 2020)</td>
<td>95.62</td>
<td>57.89</td>
<td>97.87</td>
<td>71.27</td>
<td>90.81</td>
<td>87.32</td>
<td>81.63</td>
<td>82.13</td>
<td>78.25</td>
</tr>
<tr>
<td>SentiWSP</td>
<td>96.26</td>
<td>59.32</td>
<td>98.25</td>
<td>71.69</td>
<td>92.41</td>
<td>88.75</td>
<td>82.85</td>
<td>83.69</td>
<td>80.82</td>
</tr>
</tbody>
</table>
Table l: Overall performance of different models on sentiment classification tasks,“Acc" and “MFl” denote
accuracy and macro-F1 score, respectively.
分所示,我们构造了一个用于优化$D$的训练器,以及一个使用最新检查点的推断器(e。g。,checkpoint $k-1$ )重新计算整个语料库的编码
细地说,我们将输入$\left(q_i,d_i^+\right)$输入到编码器$D$ $f^k- 1$,并更新 ANN$f^{k-1}$。然后,训练器使用从
$\mathrm{ANN}_{f^{k-1}}$生成的负样本和原始正例对$(q_i,d_i^+)$
优化交叉熵目标函数。
In-batch warm-up training 然后,我们获取已经训练过的 (单词级预训练)鉴别器模型$D$ ,并使用批处理底片进行热身句子级训练。详,以获得表示$f_i$和$f_i^+$,并训练编码器使用neglog-likelyhood 损失将小批量中的正对之间的距离最小化,定义为:
$$\begin{aligned}\min_{\theta_{D}}\sum_{i\in\mathcal{B}^{k}}&-\log\left(\sin(f_{i},f_{i}^{+})\right)&\text{(5}\\&-\sum_{j\sim\mathrm{ANN}_{\boldsymbol{f}^{k-1}}}log(1-\mathrm{sim}(\boldsymbol{f}_{i},\boldsymbol{f}_{j}))\end{aligned}$$
(4)
$$\min_{\theta_D}-\sum_{i\in\mathcal{B}}\log\frac{\exp(\sin\left(\boldsymbol{f}_i,\boldsymbol{f}_i^+\right)/\tau)}{\sum_{j=1}^{|\mathcal{B}|}\exp(\sin\left(\boldsymbol{f}_i,\boldsymbol{f}_j^+\right)/\tau)}\:($$
,其中$\tau$表示 XMATHX 之间的温度超
其中$\mathcal{B}^k$是检查点$k$处的小批量批处理, $f_i,f_i^+,f_j$分别表示从异步更新的 ANN 生成的查询,“正样本和负样本的鉴别器$D$的嵌入
### 3.3 Fine-tuning
在预训练之后,我们在下游情感分析任务上对模型进行了微调。对于句子级别的情感分类任务,我们将输入序列格式化为: $[ CLS] , \boldsymbol{e}_{1}, \ldots , \boldsymbol{e}_{n}, [ SEP]$ ,并采用$[CLS]$令牌处的表示形式来预测情感标签$y$ ,该标签指示句子的情感极性
对于方面级别的情感分类任务,我们将输入序列格式化为3 $[ CLS] , \boldsymbol{a}_1, \ldots , \boldsymbol{a}_m, [ SEP] , \boldsymbol{e}_1, \ldots , \boldsymbol{e}_n, [ SEP]$ 。其中$a_1,\ldots,a_m$表示特定方面的短语。我们在$[CLS]$令牌处获取表示,以预测方面中句子的情感标签$y$
Cross-batch approximate nearest neighbor training 由于批内阴性不太可能提供信息样本,因此我们使用近似最近邻阴性对比估计(ANCE$)\boxed{\mathrm{F}}($Xiong et al., 2021)从整个语料库中选择“硬”阴性样本,以提高鉴别器的区分能力,使用异步更新的近似最近邻(ANN)索引。详细地说,在模型$D$的热身训练之后,我们使用它来推断整个语料库$C$上嵌入的句子,然后使用 ANN 搜索来检索最接近每个查询的 top- $k$负面示例。然后,我们从顶级$k$阴性样本中抽取$t$阴性示例作为硬阴性示例。超参数$k$和$t$分别设置为 100 和 7
要维护最新的 ANN 索引,需要执行两个操作:(1)推理:使用更新的模型$D$刷新语料库中所有句子的嵌人;(2)索引:使用更新的嵌入重建 ANN 索引。虽然索引是有效的 (Johnson et al., 2021) , 但每个批次的推理计算是昂贵的, 因为它需要在整个语料库中向前传递。为了平衡推理和索引之间的时间成本,我们使用类似于$\overline{\mathrm{E}}$Guu et al.(2020)的异步刷新机制,并在每个 $m$ 步骤更新 ANN 索引。如图$\mathbb{E}$1 的右上部
### 4 $\textbf{Experiment}$
## 4.1 Datasets
对于 SentiWSP 预训练 ,我们使用与 Devlin et al. (2019) 相同的英语维基百科语料库。我们选择 | [
[
"0.451",
"0.0873",
"0.555",
"0.0873",
"0.555",
"0.10156",
"0.451",
"0.10156"
],
[
"0.7256",
"0.08905",
"0.81",
"0.08905",
"0.81",
"0.10095",
"0.7256",
"0.10095"
],
[
"0.3535",
"0.10156",
"0.4048",
"0.10156",
"0.4048",
"0.1164",
"0.3535",
"0.1164"
],
[
"0.4744",
"0.1027",
"0.531",
"0.1027",
"0.531",
"0.11755",
"0.4744",
"0.11755"
],
[
"0.54",
"0.1027",
"0.5938",
"0.1027",
"0.5938",
"0.11755",
"0.54",
"0.11755"
],
[
"0.665",
"0.10156",
"0.7583",
"0.10156",
"0.7583",
"0.1164",
"0.665",
"0.1164"
],
[
"0.7886",
"0.1027",
"0.86",
"0.1027",
"0.86",
"0.11755",
"0.7886",
"0.11755"
],
[
"0.4182",
"0.10394",
"0.465",
"0.10394",
"0.465",
"0.1152",
"0.4182",
"0.1152"
],
[
"0.1293",
"0.10394",
"0.1814",
"0.10394",
"0.1814",
"0.1152",
"0.1293",
"0.1152"
],
[
"0.608",
"0.10394",
"0.6406",
"0.10394",
"0.6406",
"0.1164",
"0.608",
"0.1164"
],
[
"0.3628",
"0.1152",
"0.3972",
"0.11755",
"0.3955",
"0.1312",
"0.361",
"0.1289"
],
[
"0.424",
"0.1164",
"0.4592",
"0.1164",
"0.4592",
"0.1318",
"0.424",
"0.1318"
],
[
"0.486",
"0.1152",
"0.523",
"0.11816",
"0.5205",
"0.1318",
"0.4836",
"0.1289"
],
[
"0.5483",
"0.1164",
"0.5845",
"0.1164",
"0.5845",
"0.1318",
"0.5483",
"0.1318"
],
[
"0.608",
"0.1164",
"0.644",
"0.1164",
"0.644",
"0.1318",
"0.608",
"0.1318"
],
[
"0.6665",
"0.11755",
"0.6987",
"0.11755",
"0.6987",
"0.13",
"0.6665",
"0.13"
],
[
"0.7197",
"0.11755",
"0.756",
"0.11755",
"0.756",
"0.13",
"0.7197",
"0.13"
],
[
"0.7793",
"0.1164",
"0.8154",
"0.1164",
"0.8154",
"0.1318",
"0.7793",
"0.1318"
],
[
"0.833",
"0.11755",
"0.869",
"0.11755",
"0.869",
"0.13",
"0.833",
"0.13"
],
[
"0.544",
"0.136",
"0.5903",
"0.1383",
"0.5884",
"0.1538",
"0.5425",
"0.152"
],
[
"0.6035",
"0.136",
"0.65",
"0.1383",
"0.6484",
"0.1538",
"0.602",
"0.152"
],
[
"0.7153",
"0.136",
"0.7617",
"0.1383",
"0.76",
"0.1538",
"0.714",
"0.152"
],
[
"0.8286",
"0.136",
"0.875",
"0.1383",
"0.873",
"0.1538",
"0.827",
"0.152"
],
[
"0.7734",
"0.1372",
"0.818",
"0.1372",
"0.818",
"0.1526",
"0.7734",
"0.1526"
],
[
"0.1293",
"0.1383",
"0.3167",
"0.1383",
"0.3167",
"0.152",
"0.1293",
"0.152"
],
[
"0.3552",
"0.1383",
"0.403",
"0.1383",
"0.403",
"0.1526",
"0.3552",
"0.1526"
],
[
"0.419",
"0.1372",
"0.4634",
"0.1372",
"0.4634",
"0.152",
"0.419",
"0.152"
],
[
"0.4802",
"0.1383",
"0.5264",
"0.1383",
"0.5264",
"0.1526",
"0.4802",
"0.1526"
],
[
"0.66",
"0.1383",
"0.705",
"0.1383",
"0.705",
"0.1526",
"0.66",
"0.1526"
],
[
"0.357",
"0.1526",
"0.4014",
"0.1526",
"0.4014",
"0.1675",
"0.357",
"0.1675"
],
[
"0.419",
"0.1526",
"0.4634",
"0.1526",
"0.4634",
"0.1675",
"0.419",
"0.1675"
],
[
"0.4802",
"0.1526",
"0.525",
"0.1526",
"0.525",
"0.1675",
"0.4802",
"0.1675"
],
[
"0.544",
"0.1526",
"0.5903",
"0.1526",
"0.5903",
"0.1675",
"0.544",
"0.1675"
],
[
"0.6035",
"0.1526",
"0.6484",
"0.1526",
"0.6484",
"0.1675",
"0.6035",
"0.1675"
],
[
"0.66",
"0.1526",
"0.705",
"0.1526",
"0.705",
"0.1675",
"0.66",
"0.1675"
],
[
"0.7173",
"0.1526",
"0.763",
"0.1526",
"0.763",
"0.1675",
"0.7173",
"0.1675"
],
[
"0.7715",
"0.1526",
"0.818",
"0.1526",
"0.818",
"0.1675",
"0.7715",
"0.1675"
],
[
"0.8296",
"0.1526",
"0.875",
"0.1526",
"0.875",
"0.1675",
"0.8296",
"0.1675"
],
[
"0.357",
"0.1675",
"0.403",
"0.1675",
"0.403",
"0.1818",
"0.357",
"0.1818"
],
[
"0.1301",
"0.1538",
"0.309",
"0.1538",
"0.309",
"0.1675",
"0.1301",
"0.1675"
],
[
"0.419",
"0.1675",
"0.4634",
"0.1675",
"0.4634",
"0.1818",
"0.419",
"0.1818"
],
[
"0.4802",
"0.1675",
"0.525",
"0.1675",
"0.525",
"0.1818",
"0.4802",
"0.1818"
],
[
"0.544",
"0.1675",
"0.5903",
"0.1675",
"0.5903",
"0.1818",
"0.544",
"0.1818"
],
[
"0.6035",
"0.1675",
"0.6484",
"0.1675",
"0.6484",
"0.1818",
"0.6035",
"0.1818"
],
[
"0.66",
"0.1675",
"0.705",
"0.1675",
"0.705",
"0.1818",
"0.66",
"0.1818"
],
[
"0.7153",
"0.1675",
"0.7617",
"0.1675",
"0.7617",
"0.1818",
"0.7153",
"0.1818"
],
[
"0.7715",
"0.1675",
"0.818",
"0.1675",
"0.818",
"0.1818",
"0.7715",
"0.1818"
],
[
"0.8296",
"0.1675",
"0.875",
"0.1675",
"0.875",
"0.1818",
"0.8296",
"0.1818"
],
[
"0.4802",
"0.1812",
"0.525",
"0.1829",
"0.523",
"0.199",
"0.4785",
"0.1965"
],
[
"0.1301",
"0.1687",
"0.3198",
"0.1687",
"0.3198",
"0.1818",
"0.1301",
"0.1818"
],
[
"0.1293",
"0.1818",
"0.3132",
"0.1818",
"0.3132",
"0.1953",
"0.1293",
"0.1953"
],
[
"0.357",
"0.1818",
"0.403",
"0.1818",
"0.403",
"0.1965",
"0.357",
"0.1965"
],
[
"0.419",
"0.1818",
"0.4634",
"0.1818",
"0.4634",
"0.1965",
"0.419",
"0.1965"
],
[
"0.544",
"0.1818",
"0.5903",
"0.1818",
"0.5903",
"0.1965",
"0.544",
"0.1965"
],
[
"0.7173",
"0.1818",
"0.7617",
"0.1818",
"0.7617",
"0.1965",
"0.7173",
"0.1965"
],
[
"0.7715",
"0.1818",
"0.818",
"0.1818",
"0.818",
"0.1965",
"0.7715",
"0.1965"
],
[
"0.8296",
"0.1812",
"0.875",
"0.1829",
"0.873",
"0.199",
"0.8286",
"0.1965"
],
[
"0.6616",
"0.1841",
"0.705",
"0.1841",
"0.705",
"0.1953",
"0.6616",
"0.1953"
],
[
"0.6035",
"0.1829",
"0.65",
"0.1829",
"0.65",
"0.1978",
"0.6035",
"0.1978"
],
[
"0.1301",
"0.1978",
"0.3225",
"0.1978",
"0.3225",
"0.2114",
"0.1301",
"0.2114"
],
[
"0.357",
"0.1978",
"0.403",
"0.1978",
"0.403",
"0.212",
"0.357",
"0.212"
],
[
"0.4182",
"0.1978",
"0.4634",
"0.1978",
"0.4634",
"0.212",
"0.4182",
"0.212"
],
[
"0.482",
"0.1978",
"0.5264",
"0.1978",
"0.5264",
"0.212",
"0.482",
"0.212"
],
[
"0.544",
"0.1978",
"0.5903",
"0.1978",
"0.5903",
"0.212",
"0.544",
"0.212"
],
[
"0.6035",
"0.1978",
"0.65",
"0.1978",
"0.65",
"0.212",
"0.6035",
"0.212"
],
[
"0.66",
"0.1978",
"0.705",
"0.1978",
"0.705",
"0.212",
"0.66",
"0.212"
],
[
"0.7153",
"0.1978",
"0.763",
"0.1978",
"0.763",
"0.212",
"0.7153",
"0.212"
],
[
"0.7715",
"0.1978",
"0.8193",
"0.1978",
"0.8193",
"0.212",
"0.7715",
"0.212"
],
[
"0.8296",
"0.1978",
"0.875",
"0.1978",
"0.875",
"0.212",
"0.8296",
"0.212"
],
[
"0.3586",
"0.2114",
"0.403",
"0.2114",
"0.403",
"0.2257",
"0.3586",
"0.2257"
],
[
"0.4802",
"0.2102",
"0.5264",
"0.212",
"0.525",
"0.2268",
"0.4785",
"0.2245"
],
[
"0.544",
"0.2114",
"0.5884",
"0.2114",
"0.5884",
"0.2257",
"0.544",
"0.2257"
],
[
"0.6035",
"0.2114",
"0.65",
"0.2114",
"0.65",
"0.2257",
"0.6035",
"0.2257"
],
[
"0.7173",
"0.2114",
"0.7617",
"0.2114",
"0.7617",
"0.2257",
"0.7173",
"0.2257"
],
[
"0.7715",
"0.2114",
"0.818",
"0.2114",
"0.818",
"0.2257",
"0.7715",
"0.2257"
],
[
"0.8296",
"0.2114",
"0.875",
"0.2114",
"0.875",
"0.2257",
"0.8296",
"0.2257"
],
[
"0.419",
"0.2131",
"0.4626",
"0.2131",
"0.4626",
"0.2245",
"0.419",
"0.2245"
],
[
"0.1293",
"0.212",
"0.3267",
"0.212",
"0.3267",
"0.2257",
"0.1293",
"0.2257"
],
[
"0.66",
"0.2131",
"0.7036",
"0.2131",
"0.7036",
"0.2245",
"0.66",
"0.2245"
],
[
"0.357",
"0.2245",
"0.4014",
"0.2268",
"0.3997",
"0.2411",
"0.3552",
"0.2393"
],
[
"0.419",
"0.2257",
"0.4634",
"0.2257",
"0.4634",
"0.2405",
"0.419",
"0.2405"
],
[
"0.5425",
"0.2257",
"0.5884",
"0.2257",
"0.5884",
"0.2405",
"0.5425",
"0.2405"
],
[
"0.4802",
"0.2268",
"0.525",
"0.2268",
"0.525",
"0.2411",
"0.4802",
"0.2411"
],
[
"0.1293",
"0.2268",
"0.3257",
"0.2268",
"0.3257",
"0.2405",
"0.1293",
"0.2405"
],
[
"0.6035",
"0.2268",
"0.6484",
"0.2268",
"0.6484",
"0.2411",
"0.6035",
"0.2411"
],
[
"0.659",
"0.2268",
"0.706",
"0.2268",
"0.706",
"0.2411",
"0.659",
"0.2411"
],
[
"0.7153",
"0.2268",
"0.7617",
"0.2268",
"0.7617",
"0.2411",
"0.7153",
"0.2411"
],
[
"0.7715",
"0.2268",
"0.818",
"0.2268",
"0.818",
"0.2411",
"0.7715",
"0.2411"
],
[
"0.8286",
"0.2268",
"0.876",
"0.2268",
"0.876",
"0.2411",
"0.8286",
"0.2411"
],
[
"0.357",
"0.2411",
"0.403",
"0.2411",
"0.403",
"0.2559",
"0.357",
"0.2559"
],
[
"0.4182",
"0.2411",
"0.4626",
"0.2411",
"0.4626",
"0.2559",
"0.4182",
"0.2559"
],
[
"0.4802",
"0.2411",
"0.525",
"0.2411",
"0.525",
"0.2559",
"0.4802",
"0.2559"
],
[
"0.659",
"0.2411",
"0.705",
"0.2411",
"0.705",
"0.2559",
"0.659",
"0.2559"
],
[
"0.7715",
"0.2411",
"0.818",
"0.2411",
"0.818",
"0.2559",
"0.7715",
"0.2559"
],
[
"0.5557",
"0.2434",
"0.571",
"0.2411",
"0.575",
"0.2542",
"0.561",
"0.257"
],
[
"0.1318",
"0.2434",
"0.3225",
"0.2434",
"0.3225",
"0.2542",
"0.1318",
"0.2542"
],
[
"0.617",
"0.2434",
"0.6323",
"0.2411",
"0.636",
"0.2546",
"0.621",
"0.257"
],
[
"0.727",
"0.2465",
"0.7407",
"0.2405",
"0.75",
"0.2505",
"0.738",
"0.2559"
],
[
"0.8447",
"0.2434",
"0.858",
"0.2434",
"0.858",
"0.2542",
"0.8447",
"0.2542"
],
[
"0.66",
"0.2559",
"0.706",
"0.2559",
"0.706",
"0.2708",
"0.66",
"0.2708"
],
[
"0.7153",
"0.2559",
"0.763",
"0.2559",
"0.763",
"0.2708",
"0.7153",
"0.2708"
],
[
"0.7715",
"0.2559",
"0.8193",
"0.2559",
"0.8193",
"0.2708",
"0.7715",
"0.2708"
],
[
"0.8296",
"0.2559",
"0.875",
"0.2559",
"0.875",
"0.2708",
"0.8296",
"0.2708"
],
[
"0.621",
"0.257",
"0.634",
"0.257",
"0.634",
"0.2683",
"0.621",
"0.2683"
],
[
"0.1293",
"0.257",
"0.3047",
"0.257",
"0.3047",
"0.2708",
"0.1293",
"0.2708"
],
[
"0.372",
"0.2583",
"0.3855",
"0.257",
"0.3862",
"0.2683",
"0.3728",
"0.2695"
],
[
"0.4324",
"0.2583",
"0.4492",
"0.2583",
"0.4492",
"0.2683",
"0.4324",
"0.2683"
],
[
"0.4963",
"0.2583",
"0.511",
"0.2583",
"0.511",
"0.2683",
"0.4963",
"0.2683"
],
[
"0.561",
"0.2583",
"0.5728",
"0.2583",
"0.5728",
"0.2683",
"0.561",
"0.2683"
],
[
"0.3586",
"0.2695",
"0.403",
"0.2715",
"0.4014",
"0.2861",
"0.357",
"0.284"
],
[
"0.602",
"0.2695",
"0.6465",
"0.2715",
"0.6455",
"0.2861",
"0.601",
"0.284"
],
[
"0.66",
"0.2695",
"0.706",
"0.2715",
"0.705",
"0.2874",
"0.659",
"0.2852"
],
[
"0.7715",
"0.2695",
"0.8193",
"0.2715",
"0.818",
"0.2874",
"0.771",
"0.2852"
],
[
"0.8296",
"0.2683",
"0.875",
"0.2708",
"0.873",
"0.2861",
"0.8286",
"0.284"
],
[
"0.4802",
"0.2708",
"0.525",
"0.2708",
"0.525",
"0.2852",
"0.4802",
"0.2852"
],
[
"0.419",
"0.2708",
"0.4634",
"0.2708",
"0.4634",
"0.2852",
"0.419",
"0.2852"
],
[
"0.544",
"0.2708",
"0.5884",
"0.2708",
"0.5884",
"0.2852",
"0.544",
"0.2852"
],
[
"0.7173",
"0.2725",
"0.7617",
"0.2725",
"0.7617",
"0.284",
"0.7173",
"0.284"
],
[
"0.357",
"0.2861",
"0.403",
"0.2861",
"0.403",
"0.3005",
"0.357",
"0.3005"
],
[
"0.1301",
"0.2715",
"0.34",
"0.2715",
"0.34",
"0.2852",
"0.1301",
"0.2852"
],
[
"0.4802",
"0.2861",
"0.525",
"0.2861",
"0.525",
"0.3005",
"0.4802",
"0.3005"
],
[
"0.544",
"0.2861",
"0.5903",
"0.2861",
"0.5903",
"0.3005",
"0.544",
"0.3005"
],
[
"0.6035",
"0.2861",
"0.6484",
"0.2861",
"0.6484",
"0.3005",
"0.6035",
"0.3005"
],
[
"0.66",
"0.2861",
"0.705",
"0.2861",
"0.705",
"0.3005",
"0.66",
"0.3005"
],
[
"0.7153",
"0.2861",
"0.7617",
"0.2861",
"0.7617",
"0.3005",
"0.7153",
"0.3005"
],
[
"0.7734",
"0.2861",
"0.818",
"0.2861",
"0.818",
"0.3005",
"0.7734",
"0.3005"
],
[
"0.8296",
"0.2861",
"0.875",
"0.2861",
"0.875",
"0.3005",
"0.8296",
"0.3005"
],
[
"0.4207",
"0.2874",
"0.4626",
"0.2874",
"0.4626",
"0.2986",
"0.4207",
"0.2986"
],
[
"0.1301",
"0.2874",
"0.2024",
"0.2874",
"0.2024",
"0.2986",
"0.1301",
"0.2986"
],
[
"0.11584",
"0.3164",
"0.882",
"0.3164",
"0.882",
"0.33",
"0.11584",
"0.33"
],
[
"0.1142",
"0.3289",
"0.4048",
"0.3289",
"0.4048",
"0.3433",
"0.1142",
"0.3433"
],
[
"0.1234",
"0.3706",
"0.486",
"0.3706",
"0.486",
"0.3843",
"0.1234",
"0.3843"
],
[
"0.513",
"0.3694",
"0.879",
"0.3694",
"0.879",
"0.383",
"0.513",
"0.383"
],
[
"0.1184",
"0.386",
"0.486",
"0.386",
"0.486",
"0.3997",
"0.1184",
"0.3997"
],
[
"0.511",
"0.3855",
"0.882",
"0.3872",
"0.882",
"0.402",
"0.511",
"0.3997"
],
[
"0.1368",
"0.4038",
"0.486",
"0.4038",
"0.486",
"0.4146",
"0.1368",
"0.4146"
],
[
"0.511",
"0.4026",
"0.879",
"0.4026",
"0.879",
"0.4163",
"0.511",
"0.4163"
],
[
"0.11755",
"0.4192",
"0.4878",
"0.4192",
"0.4878",
"0.4329",
"0.11755",
"0.4329"
],
[
"0.511",
"0.415",
"0.879",
"0.4175",
"0.879",
"0.4353",
"0.511",
"0.4329"
],
[
"0.1318",
"0.4353",
"0.4844",
"0.4353",
"0.4844",
"0.4495",
"0.1318",
"0.4495"
],
[
"0.51",
"0.434",
"0.881",
"0.4353",
"0.881",
"0.4531",
"0.51",
"0.452"
],
[
"0.11584",
"0.452",
"0.4836",
"0.452",
"0.4836",
"0.4656",
"0.11584",
"0.4656"
],
[
"0.12177",
"0.4395",
"0.1377",
"0.4395",
"0.1377",
"0.4465",
"0.12177",
"0.4465"
],
[
"0.5146",
"0.4531",
"0.687",
"0.4531",
"0.687",
"0.4673",
"0.5146",
"0.4673"
],
[
"0.1184",
"0.4673",
"0.3105",
"0.4673",
"0.3105",
"0.481",
"0.1184",
"0.481"
],
[
"0.5283",
"0.4756",
"0.7617",
"0.4744",
"0.7617",
"0.4954",
"0.5283",
"0.4963"
],
[
"0.8555",
"0.478",
"0.885",
"0.478",
"0.885",
"0.4946",
"0.8555",
"0.4946"
],
[
"0.5366",
"0.4893",
"0.5635",
"0.4922",
"0.561",
"0.505",
"0.534",
"0.502"
],
[
"0.2612",
"0.4963",
"0.424",
"0.4963",
"0.424",
"0.511",
"0.2612",
"0.511"
],
[
"0.5615",
"0.4963",
"0.5977",
"0.4963",
"0.5977",
"0.509",
"0.5615",
"0.509"
],
[
"0.126",
"0.506",
"0.1738",
"0.506",
"0.1738",
"0.521",
"0.126",
"0.521"
],
[
"0.1696",
"0.5005",
"0.2468",
"0.4963",
"0.2494",
"0.5225",
"0.1721",
"0.527"
],
[
"0.4634",
"0.5083",
"0.486",
"0.5083",
"0.486",
"0.521",
"0.4634",
"0.521"
],
[
"0.6455",
"0.513",
"0.6753",
"0.513",
"0.6753",
"0.532",
"0.6455",
"0.532"
],
[
"0.6963",
"0.514",
"0.8613",
"0.5156",
"0.8613",
"0.531",
"0.6963",
"0.53"
],
[
"0.2527",
"0.517",
"0.272",
"0.517",
"0.272",
"0.5254",
"0.2527",
"0.5254"
],
[
"0.1318",
"0.517",
"0.1621",
"0.521",
"0.1604",
"0.531",
"0.1301",
"0.528"
],
[
"0.2317",
"0.5186",
"0.357",
"0.513",
"0.3586",
"0.535",
"0.2334",
"0.5405"
],
[
"0.4165",
"0.5195",
"0.451",
"0.5195",
"0.451",
"0.535",
"0.4165",
"0.535"
],
[
"0.3652",
"0.524",
"0.403",
"0.524",
"0.403",
"0.533",
"0.3652",
"0.533"
],
[
"0.1763",
"0.524",
"0.2083",
"0.524",
"0.2083",
"0.536",
"0.1763",
"0.536"
],
[
"0.6187",
"0.53",
"0.7",
"0.535",
"0.6987",
"0.55",
"0.617",
"0.5444"
],
[
"0.12006",
"0.554",
"0.4282",
"0.554",
"0.4282",
"0.5684",
"0.12006",
"0.5684"
],
[
"0.531",
"0.5586",
"0.882",
"0.5586",
"0.882",
"0.5737",
"0.531",
"0.5737"
],
[
"0.513",
"0.576",
"0.882",
"0.5747",
"0.882",
"0.589",
"0.513",
"0.5903"
],
[
"0.1293",
"0.582",
"0.4878",
"0.582",
"0.4878",
"0.5967",
"0.1293",
"0.5967"
],
[
"0.11584",
"0.597",
"0.486",
"0.5967",
"0.486",
"0.611",
"0.11584",
"0.6123"
],
[
"0.511",
"0.593",
"0.8716",
"0.593",
"0.8716",
"0.6055",
"0.511",
"0.6055"
],
[
"0.1184",
"0.6143",
"0.4844",
"0.6143",
"0.4844",
"0.6274",
"0.1184",
"0.6274"
],
[
"0.513",
"0.618",
"0.5615",
"0.618",
"0.5615",
"0.63",
"0.513",
"0.63"
],
[
"0.553",
"0.616",
"0.6533",
"0.618",
"0.6533",
"0.633",
"0.553",
"0.6313"
],
[
"0.11755",
"0.63",
"0.4844",
"0.63",
"0.4844",
"0.6445",
"0.11755",
"0.6445"
],
[
"0.511",
"0.638",
"0.879",
"0.6396",
"0.879",
"0.654",
"0.511",
"0.653"
],
[
"0.1184",
"0.6465",
"0.486",
"0.6465",
"0.486",
"0.66",
"0.1184",
"0.66"
],
[
"0.513",
"0.654",
"0.882",
"0.655",
"0.882",
"0.6694",
"0.513",
"0.6685"
],
[
"0.12006",
"0.662",
"0.4878",
"0.662",
"0.4878",
"0.676",
"0.12006",
"0.676"
],
[
"0.511",
"0.6704",
"0.882",
"0.6704",
"0.882",
"0.684",
"0.511",
"0.684"
],
[
"0.1184",
"0.6787",
"0.486",
"0.6787",
"0.486",
"0.6924",
"0.1184",
"0.6924"
],
[
"0.511",
"0.686",
"0.879",
"0.686",
"0.879",
"0.6997",
"0.511",
"0.6997"
],
[
"0.1184",
"0.695",
"0.486",
"0.695",
"0.486",
"0.708",
"0.1184",
"0.708"
],
[
"0.5146",
"0.703",
"0.882",
"0.703",
"0.882",
"0.7173",
"0.5146",
"0.7173"
],
[
"0.1184",
"0.7114",
"0.4836",
"0.7114",
"0.4836",
"0.7246",
"0.1184",
"0.7246"
],
[
"0.513",
"0.7197",
"0.642",
"0.7197",
"0.642",
"0.733",
"0.513",
"0.733"
],
[
"0.11584",
"0.7256",
"0.4836",
"0.7256",
"0.4836",
"0.7393",
"0.11584",
"0.7393"
],
[
"0.531",
"0.7354",
"0.882",
"0.7354",
"0.882",
"0.749",
"0.531",
"0.749"
],
[
"0.1184",
"0.7437",
"0.486",
"0.7437",
"0.486",
"0.7573",
"0.1184",
"0.7573"
],
[
"0.513",
"0.7505",
"0.8833",
"0.7505",
"0.8833",
"0.7656",
"0.513",
"0.7656"
],
[
"0.11584",
"0.759",
"0.294",
"0.759",
"0.294",
"0.7725",
"0.11584",
"0.7725"
],
[
"0.513",
"0.7666",
"0.867",
"0.7666",
"0.867",
"0.7837",
"0.513",
"0.7837"
],
[
"0.1368",
"0.7754",
"0.486",
"0.7754",
"0.486",
"0.789",
"0.1368",
"0.789"
],
[
"0.8613",
"0.774",
"0.876",
"0.774",
"0.876",
"0.778",
"0.8613",
"0.778"
],
[
"0.511",
"0.782",
"0.881",
"0.783",
"0.881",
"0.7974",
"0.511",
"0.7964"
],
[
"0.1184",
"0.7905",
"0.4844",
"0.7905",
"0.4844",
"0.804",
"0.1184",
"0.804"
],
[
"0.511",
"0.799",
"0.881",
"0.8",
"0.881",
"0.814",
"0.511",
"0.8135"
],
[
"0.12006",
"0.808",
"0.4844",
"0.808",
"0.4844",
"0.822",
"0.12006",
"0.822"
],
[
"0.511",
"0.814",
"0.6055",
"0.8164",
"0.6055",
"0.8306",
"0.511",
"0.829"
],
[
"0.11755",
"0.8247",
"0.4844",
"0.8247",
"0.4844",
"0.8384",
"0.11755",
"0.8384"
],
[
"0.1184",
"0.8403",
"0.4878",
"0.8403",
"0.4878",
"0.854",
"0.1184",
"0.854"
],
[
"0.5205",
"0.844",
"0.5283",
"0.8496",
"0.5205",
"0.854",
"0.513",
"0.8486"
],
[
"0.5415",
"0.8467",
"0.5474",
"0.8467",
"0.5474",
"0.8525",
"0.5415",
"0.8525"
],
[
"0.544",
"0.843",
"0.6533",
"0.843",
"0.6533",
"0.857",
"0.544",
"0.857"
],
[
"0.1184",
"0.857",
"0.4844",
"0.857",
"0.4844",
"0.8706",
"0.1184",
"0.8706"
],
[
"0.534",
"0.847",
"0.5415",
"0.847",
"0.5415",
"0.8516",
"0.534",
"0.8516"
],
[
"0.513",
"0.868",
"0.5415",
"0.868",
"0.5415",
"0.88",
"0.513",
"0.88"
],
[
"0.553",
"0.866",
"0.629",
"0.868",
"0.629",
"0.883",
"0.553",
"0.8813"
],
[
"0.1184",
"0.8726",
"0.4844",
"0.8726",
"0.4844",
"0.8857",
"0.1184",
"0.8857"
],
[
"0.1184",
"0.887",
"0.486",
"0.888",
"0.486",
"0.903",
"0.1184",
"0.902"
],
[
"0.513",
"0.888",
"0.879",
"0.888",
"0.879",
"0.902",
"0.513",
"0.902"
],
[
"0.1184",
"0.905",
"0.4878",
"0.905",
"0.4878",
"0.9185",
"0.1184",
"0.9185"
],
[
"0.511",
"0.905",
"0.881",
"0.905",
"0.881",
"0.9185",
"0.511",
"0.9185"
]
] | [
"Sentence-level",
"Aspect-level",
"IMDB",
"Yelp-2",
"Yelp-5",
"Restaurant14",
"Laptop14",
"SST-5",
"Model",
"MR",
"Acc",
"Acc",
"Acc",
"Acc",
"Acc",
"Acc",
"MF1",
"Acc",
"MF1",
"70.16",
"87.52",
"76.06",
"73.11",
"78.53",
"BERT (Devlin et al., 2019)",
"93.87",
"53.37",
"97.74",
"83.77",
"96.21",
"56.33",
"97.41",
"70.23",
"89.45",
"84.93",
"76.70",
"80.00",
"75.88",
"94.68",
"XLNet (Yang et al., 2019)",
"54.89",
"97.98",
"70.12",
"89.41",
"86.07",
"79.21",
"81.03",
"77.16",
"97.77",
"RoBERTa (Liu et al., 2019)",
"BERT-PT (Xu et al., 2019)",
"93.99",
"53.24",
"69.90",
"77.99",
"78.46",
"73.82",
"85.86",
"87.30",
"TransBERT (Li et al., 2019)",
"94.79",
"55.56",
"96.73",
"69.53",
"88.69",
"86.38",
"78.95",
"80.06",
"75.43",
"94.04",
"97.66",
"69.94",
"88.59",
"75.42",
"76.87",
"71.74",
"56.87",
"SentiBERT (Yin et al., 2020)",
"83.71",
"95.71",
"58.59",
"71.57",
"98.22",
"SentiLARE (Ke et al., 2020)",
"90.82",
"88.32",
"81.63",
"82.16",
"78.70",
"94.78",
"55.57",
"97.83",
"87.32",
"80.56",
"1",
"SENTIX (Zhou et al., 2020)",
"1",
"/",
"1",
"89.11",
"83.79",
"82.76",
"79.15",
"1",
"SCAPT (Li et al., 2021b)",
"1",
"1",
"1",
"1",
"95.62",
"90.81",
"87.32",
"82.13",
"78.25",
"97.87",
"57.89",
"71.27",
"81.63",
"96.26",
"ELECTRA (Clark et al., 2020)",
"98.25",
"71.69",
"92.41",
"88.75",
"82.85",
"83.69",
"80.82",
"59.32",
"SentiWSP",
"Table l: Overall performance of different models on sentiment classification tasks, \"Acc\" and \"MFl\" denote",
"accuracy and macro-F1 score, respectively",
"In-batchwarm-uptraining然后,我们获取",
"分所示,我们构造了一个用于优化D的训练",
"已经训练过的(单词级预训练)鉴别器模型D",
"器,以及一个使用最新检查点的推断器(e。g。",
"并使用批处理底片进行热身句子级训练。详",
",checkpointk-1)重新计算整个语料库的编码",
"细地说,我们将输入(qi,d)输入到编码器D",
"fk-1,并更新ANNk-1。然后,训练器使用从",
"以获得表示f,和f,并训练编码器使用",
"ANNtk-1生成的负样本和原始正例对(qi,dd)",
"neglog-likelyhood损失将小批量中的正对之间",
"",
"优化交叉摘目标函数。",
"的距离最小化,定义为:",
"min -log(sim(f, f+)",
"(5)",
"OD",
"exp(sim (fi, f+) /t)",
"ieBk",
"min -",
"Elog ",
"(4)",
"Z",
"log(1 -sim(fi, f,))",
"B",
"eD",
"J1l exp(sim (",
") /T)",
"if",
"iEB",
"j~ANNgk-1",
",其中T表示XMATHX之间的温度超",
"其中Bk是检查点k处的小批量批处理,",
"f,f+,f,分别表示从异步更新的ANN生成",
"Cross-batch approximate nearest neighbor",
"training由于批内阴性不太可能提供信息样",
"的查询,正样本和负样本的鉴别器D的嵌人",
"本,因此我们使用近似最近邻阴性对比估计",
"3.3",
"Fine-tuning",
"(ANCE)E(Xiong etal.,2021)从整个语料库中",
"在预训练之后,我们在下游情感分析任务",
"选择“硬”阴性样本,以提高鉴别器的区分能",
"上对模型进行了微调。对于句子级别的情",
"力,使用异步更新的近似最近邻(ANN)索引。",
"感分类任务,我们将输入序列格式化为:",
"详细地说,在模型D的热身训练之后,我们使",
"[CLS].e1.....en,[SEP],并采用[CLS]令牌",
"用它来推断整个语料库C上嵌入的句子,然后",
"处的表示形式来预测情感标签9,该标签指示",
"使用ANN搜索来检索最接近每个查询的top-",
"句子的情感极性",
"k负面示例。然后,我们从顶级k阴性样本中",
"对于方面级别的情感分类任",
"抽取t阴性示例作为硬阴性示例。超参数k和",
"务,我们将输入序列格式化为",
"t分别设置为100和7",
"[CLS],a1,., am, [SEP],ei,...,en, [SEP]",
"要维护最新的ANN索引,需要执行两个操",
"",
"其中a1....,am表示特定方面的短语。我们在",
"作:(1)推理:使用更新的模型D刷新语料库",
"[CLS]令牌处获取表示,以预测方面中句子的",
"中所有句子的嵌人;(2)索引:使用更新的嵌入",
"情感标签y",
"重建ANN索引。虽然索引是有效的(Johnson",
"etal.,2021),但每个批次的推理计算是昂贵的,",
"M",
":",
"Experiment",
"因为它需要在整个语料库中向前传递。为了平",
"",
"4.1",
"Datasets",
"衡推理和索引之间的时间成本,我们使用类似",
"于EGuuetal.(2020)的异步刷新机制,并在每",
"对于SentiWSP预训练,我们使用与Devlinetal.",
"个m步骤更新ANN索引。如图E1的右上部",
"(2019)相同的英语维基百科语料库。我们选择"
] | {
"arxiv_id": "2210.09803",
"language": "zh",
"page_idx": 4
} |
||
1612.01887-zh-0 | 1612.01887-zh-0.jpg | Knowing When to Look: Adaptive Attention via
A Visual Sentinel for Image Captioning
Jiasen Lu $^2*\dagger$ Caiming Xiong $^1\dagger$ Devi Parikh$^3$, Richard Socher$^1$
$^{1}\text{Salesforce Research,}^{2}\text{Virginia Tech,}^{3}$Georgia Institute of Technology
[email protected], [email protected], $\{$ cxiong, rsocher $\}$ @salesforce.com
$\operatorname{Abstract}$
Attention-based neural encoder-decoder frameworks have been widely adopted for image captioning. Most methods force visual attention to be active for every generated word. However, the decoder likely requires little to no visual information from the image to predict non-visual words such as“the”and“of”. Other words that may seem visual can often be predicted reliably just from the language model e.g.,“sign”after “behind a red stop" or “phone” following“talking on a cell". In this paper, we propose a novel adaptive attention model with a visual sentinel. At each time step, our model decides whether to attend to the image (and if so, to which regions) or to the visual sentinel. The model decides whether to attend to the image and where, in order to extract meaningful information for sequential word generation. We test our method on the COCO image captioning 2015 challenge dataset and Flickr30K. Our approach sets the new state-of-the-art by a significant margin. The source code can be downloaded from $\bar{\text{https:}//\text{github.com/jiasenlu/AdaptiveAttention}}$
## 1. Introduction
为图像自动生成字幕已成为学术界和工业界的一个突出的跨学科研究问题。[8,11,18,23,27,30]。它可以帮助视力受损的用户,并使用户可以轻松地组织和浏览大量通常非结构化的视觉数据。为了生成高质量的字幕,模型需要结合图像中的细粒度视觉线索。最近,已经探索了基于视觉注意力的神经编码器-解码器模型[30,11,32] ,其中注意力机制通常会产生一个空间图,突出显示与每个生成的单词相关的图像区域。大多数用于图像字幕和视觉问题回答的注意力模型都会在每个时间步长关注图像,而不管下一个[31,29,17] 将发出哪个单词。但是,并非字幕中的所有单词都具有
$^{*}$The major part of this work was done while J. Lu was an
intern at Salesforce Research.
$^{\dagger}$Equal contribution
<FigureHere>
Figure 1: Our model learns an adaptive attention model that automatically determines when to look ( sentinel gate ) and where to look ( spatial attention ) for word generation, which are explained in section ?? , 2.3 $\&$ $5. \bar{4}$ .
相应的视觉信号。考虑图中的示例。1 ,显示图像及其生成的标题“一只白色的鸟栖息在红色停止标志的顶部”。单词“a”和“of”没有相应的规范视觉信号。此外,当在“栖息”之后生成诸如“on”和“top”之类的单词以及在“红色停止”之后生成“符号”时,语言相关性使视觉信号变得不必要。。实际上,来自非视觉单词的渐变可能会误导并降低视觉信号在指导字幕生成过程中的整体效果
在本文中,我们介绍了一种自适应注意力编码器-解码器框架,该框架可以自动决定何时依赖视觉信号以及何时仅依赖语言模型。当然,当依赖于视觉信号时,模型还决定了它应该关注的位置-哪个图像区域-。我们首先提出了一种新的空间注意模型来提取空间图像特征。然后,作为我们提出的自适应注意机制,我们引人了一个新的长短期记忆(LSTM)扩展,它产生了一个额外的“视觉哨兵”向量,而不是单个隐藏状态。“视觉哨兵”是解码器内存的另一种潜在表示形式,为解码器提供了备用选项。我们进一步设计了一个新的哨兵门,它决定了解码器希望从图像中获得多少新信息,而不是在生成下一个单词时依赖于视觉哨兵。例如,如图。$\mathbb{E}$ 1 , $我 们 的 模 型 在 生 成 单 词 “ white” $, $“ bird” $, $“ red”$ 和“stop”时学会更多地关注图像,并且在生成单词“top”,“of”和“sign”时更多地依赖于视觉哨兵
1 | [
[
"0.2427",
"0.1351",
"0.7295",
"0.1351",
"0.7295",
"0.1497",
"0.2427",
"0.1497"
],
[
"0.286",
"0.1547",
"0.6855",
"0.1578",
"0.6855",
"0.1755",
"0.286",
"0.1724"
],
[
"0.2115",
"0.2052",
"0.7607",
"0.2052",
"0.7607",
"0.2197",
"0.2115",
"0.2197"
],
[
"0.179",
"0.2203",
"0.789",
"0.2229",
"0.789",
"0.2405",
"0.179",
"0.238"
],
[
"0.246",
"0.2424",
"0.7236",
"0.2424",
"0.7236",
"0.2568",
"0.246",
"0.2568"
],
[
"0.2378",
"0.2922",
"0.3137",
"0.2922",
"0.3137",
"0.307",
"0.2378",
"0.307"
],
[
"0.1013",
"0.3245",
"0.468",
"0.3245",
"0.468",
"0.3384",
"0.1013",
"0.3384"
],
[
"0.0809",
"0.3403",
"0.468",
"0.3403",
"0.468",
"0.3542",
"0.0809",
"0.3542"
],
[
"0.0801",
"0.3542",
"0.468",
"0.3547",
"0.468",
"0.3694",
"0.0801",
"0.3687"
],
[
"0.0809",
"0.3706",
"0.468",
"0.3706",
"0.468",
"0.3838",
"0.0809",
"0.3838"
],
[
"0.0784",
"0.3838",
"0.4673",
"0.3865",
"0.4673",
"0.3997",
"0.0784",
"0.3977"
],
[
"0.536",
"0.3882",
"0.558",
"0.3882",
"0.558",
"0.4028",
"0.536",
"0.4028"
],
[
"0.0809",
"0.401",
"0.468",
"0.401",
"0.468",
"0.414",
"0.0809",
"0.414"
],
[
"0.5376",
"0.4124",
"0.5435",
"0.4124",
"0.5435",
"0.4192",
"0.5376",
"0.4192"
],
[
"0.5415",
"0.411",
"0.5537",
"0.411",
"0.5537",
"0.4204",
"0.5415",
"0.4204"
],
[
"0.2222",
"0.4153",
"0.464",
"0.4153",
"0.464",
"0.4287",
"0.2222",
"0.4287"
],
[
"0.0866",
"0.4192",
"0.09235",
"0.4192",
"0.09235",
"0.4248",
"0.0866",
"0.4248"
],
[
"0.08905",
"0.4167",
"0.1854",
"0.4172",
"0.1854",
"0.428",
"0.08905",
"0.4268"
],
[
"0.1814",
"0.4192",
"0.2115",
"0.4192",
"0.2115",
"0.4268",
"0.1814",
"0.4268"
],
[
"0.0801",
"0.4287",
"0.468",
"0.43",
"0.468",
"0.4443",
"0.0801",
"0.443"
],
[
"0.7837",
"0.4268",
"0.846",
"0.4268",
"0.846",
"0.4375",
"0.7837",
"0.4375"
],
[
"0.0809",
"0.4458",
"0.4673",
"0.4458",
"0.4673",
"0.459",
"0.0809",
"0.459"
],
[
"0.0801",
"0.461",
"0.4673",
"0.461",
"0.4673",
"0.4749",
"0.0801",
"0.4749"
],
[
"0.5034",
"0.4602",
"0.8896",
"0.4602",
"0.8896",
"0.4734",
"0.5034",
"0.4734"
],
[
"0.0809",
"0.476",
"0.468",
"0.476",
"0.468",
"0.4893",
"0.0809",
"0.4893"
],
[
"0.5024",
"0.4749",
"0.886",
"0.476",
"0.886",
"0.4893",
"0.5024",
"0.488"
],
[
"0.0809",
"0.4912",
"0.468",
"0.4912",
"0.468",
"0.505",
"0.0809",
"0.505"
],
[
"0.5034",
"0.4905",
"0.886",
"0.4905",
"0.886",
"0.504",
"0.5034",
"0.504"
],
[
"0.0809",
"0.507",
"0.468",
"0.507",
"0.468",
"0.521",
"0.0809",
"0.521"
],
[
"0.5024",
"0.505",
"0.8896",
"0.505",
"0.8896",
"0.5195",
"0.5024",
"0.5195"
],
[
"0.0809",
"0.5215",
"0.4673",
"0.5215",
"0.4673",
"0.535",
"0.0809",
"0.535"
],
[
"0.5063",
"0.5215",
"0.589",
"0.5215",
"0.589",
"0.5327",
"0.5063",
"0.5327"
],
[
"0.0809",
"0.537",
"0.468",
"0.537",
"0.468",
"0.5503",
"0.0809",
"0.5503"
],
[
"0.0809",
"0.552",
"0.4673",
"0.552",
"0.4673",
"0.565",
"0.0809",
"0.565"
],
[
"0.505",
"0.5537",
"0.8906",
"0.5537",
"0.8906",
"0.5674",
"0.505",
"0.5674"
],
[
"0.0801",
"0.565",
"0.4673",
"0.5664",
"0.4673",
"0.5806",
"0.0801",
"0.58"
],
[
"0.505",
"0.5684",
"0.8906",
"0.5684",
"0.8906",
"0.582",
"0.505",
"0.582"
],
[
"0.0784",
"0.58",
"0.464",
"0.5806",
"0.464",
"0.595",
"0.0784",
"0.5947"
],
[
"0.5034",
"0.5835",
"0.8896",
"0.584",
"0.8896",
"0.5986",
"0.5034",
"0.5977"
],
[
"0.0809",
"0.5967",
"0.468",
"0.5967",
"0.468",
"0.61",
"0.0809",
"0.61"
],
[
"0.505",
"0.5996",
"0.888",
"0.5996",
"0.888",
"0.613",
"0.505",
"0.613"
],
[
"0.0825",
"0.6123",
"0.4592",
"0.6123",
"0.4592",
"0.6255",
"0.0825",
"0.6255"
],
[
"0.505",
"0.6143",
"0.8906",
"0.6143",
"0.8906",
"0.6274",
"0.505",
"0.6274"
],
[
"0.0784",
"0.627",
"0.4207",
"0.6255",
"0.4207",
"0.64",
"0.0784",
"0.6416"
],
[
"0.5063",
"0.629",
"0.8906",
"0.629",
"0.8906",
"0.6426",
"0.5063",
"0.6426"
],
[
"0.5034",
"0.643",
"0.8896",
"0.643",
"0.8896",
"0.657",
"0.5034",
"0.657"
],
[
"0.0809",
"0.662",
"0.2173",
"0.662",
"0.2173",
"0.6753",
"0.0809",
"0.6753"
],
[
"0.5024",
"0.6577",
"0.6685",
"0.659",
"0.6685",
"0.674",
"0.5024",
"0.6724"
],
[
"0.524",
"0.6753",
"0.8906",
"0.6753",
"0.8906",
"0.6895",
"0.524",
"0.6895"
],
[
"0.10297",
"0.6875",
"0.4673",
"0.6875",
"0.4673",
"0.7007",
"0.10297",
"0.7007"
],
[
"0.505",
"0.69",
"0.8906",
"0.69",
"0.8906",
"0.704",
"0.505",
"0.704"
],
[
"0.0809",
"0.7026",
"0.4673",
"0.7026",
"0.4673",
"0.7163",
"0.0809",
"0.7163"
],
[
"0.505",
"0.7056",
"0.8906",
"0.7056",
"0.8906",
"0.7197",
"0.505",
"0.7197"
],
[
"0.0825",
"0.7173",
"0.4673",
"0.7173",
"0.4673",
"0.731",
"0.0825",
"0.731"
],
[
"0.505",
"0.72",
"0.8906",
"0.72",
"0.8906",
"0.7344",
"0.505",
"0.7344"
],
[
"0.0825",
"0.733",
"0.4673",
"0.733",
"0.4673",
"0.747",
"0.0825",
"0.747"
],
[
"0.505",
"0.7363",
"0.8906",
"0.7363",
"0.8906",
"0.75",
"0.505",
"0.75"
],
[
"0.0825",
"0.75",
"0.4673",
"0.75",
"0.4673",
"0.7603",
"0.0825",
"0.7603"
],
[
"0.5034",
"0.75",
"0.8774",
"0.752",
"0.8774",
"0.7666",
"0.5034",
"0.7646"
],
[
"0.0809",
"0.763",
"0.4673",
"0.763",
"0.4673",
"0.7764",
"0.0809",
"0.7764"
],
[
"0.505",
"0.7666",
"0.888",
"0.7666",
"0.888",
"0.78",
"0.505",
"0.78"
],
[
"0.0825",
"0.779",
"0.4673",
"0.779",
"0.4673",
"0.789",
"0.0825",
"0.789"
],
[
"0.505",
"0.7827",
"0.888",
"0.7827",
"0.888",
"0.7935",
"0.505",
"0.7935"
],
[
"0.0801",
"0.7925",
"0.468",
"0.7915",
"0.468",
"0.806",
"0.0801",
"0.8066"
],
[
"0.505",
"0.797",
"0.8906",
"0.797",
"0.8906",
"0.81",
"0.505",
"0.81"
],
[
"0.0825",
"0.808",
"0.468",
"0.808",
"0.468",
"0.8213",
"0.0825",
"0.8213"
],
[
"0.5034",
"0.811",
"0.8906",
"0.811",
"0.8906",
"0.8247",
"0.5034",
"0.8247"
],
[
"0.0809",
"0.8237",
"0.4673",
"0.8237",
"0.4673",
"0.837",
"0.0809",
"0.837"
],
[
"0.5034",
"0.827",
"0.8896",
"0.827",
"0.8896",
"0.8403",
"0.5034",
"0.8403"
],
[
"0.0809",
"0.8384",
"0.4673",
"0.8384",
"0.4673",
"0.853",
"0.0809",
"0.853"
],
[
"0.505",
"0.8413",
"0.8906",
"0.8413",
"0.8906",
"0.855",
"0.505",
"0.855"
],
[
"0.09644",
"0.8623",
"0.468",
"0.8613",
"0.468",
"0.8755",
"0.09644",
"0.877"
],
[
"0.5034",
"0.857",
"0.8906",
"0.857",
"0.8906",
"0.8706",
"0.5034",
"0.8706"
],
[
"0.0825",
"0.877",
"0.2607",
"0.877",
"0.2607",
"0.887",
"0.0825",
"0.887"
],
[
"0.505",
"0.872",
"0.892",
"0.872",
"0.892",
"0.8853",
"0.505",
"0.8853"
],
[
"0.0989",
"0.8896",
"0.2222",
"0.8896",
"0.2222",
"0.8994",
"0.0989",
"0.8994"
],
[
"0.5034",
"0.887",
"0.8545",
"0.887",
"0.8545",
"0.901",
"0.5034",
"0.901"
],
[
"0.4805",
"0.9253",
"0.492",
"0.9253",
"0.492",
"0.936",
"0.4805",
"0.936"
]
] | [
"Knowing When to Look: Adaptive Attention via",
"A Visual Sentinel for Image Captioning",
"Jiasen Lu 2 *t Caiming Xiong 1 t Devi Parikh 3 , Richard Socher 1",
"1 Salesforce Research, 2 Virginia Tech, 3 Georgia Institute of Technology",
"[email protected], [email protected], [ cxiong, rsocher @salesforce.com",
"Abstract",
"Attention-based neural encoder-decoder frameworks",
"have been widely adopted for image captioning. Most",
"methods force visual attention to be active for every",
"generated word. However, the decoder likely requires",
"littleto no visual information from the imageto pre-",
"白",
"dict non-visual words such as\"the\" and “of\"Other",
"",
"",
"m visual can often be predicted re",
"",
"yordsthatma",
"ayse",
"liably just from the language model e.g.,\"sign\" after",
"e00S",
"\"behind a red stop\"or“phone\"following“talking on",
"a cell\"In this paper, we propose a novel adapt-",
"Figure l: Our model learns an adaptive attention",
"ive attention model with a visual sentinel. At each",
"model that automatically determines when to look",
"time step, our model decides whether to attend to",
"sentinel gate )and where to look (spatial attention",
"the image (and if so, to which regions) or to the",
"for word generation, which are explained in section ??",
"visual sentinel. The model decides whether to at-",
"2.3&5.4",
"tend to the image and where, in order to extract",
"meaningful information for sequential word generation.",
"相应的视觉信号。考虑图中的示例。1,显示图像及",
"We test our method on the COCO image caption-",
"其生成的标题“一只白色的鸟栖息在红色停止标志的",
"ing 2015 challenge dataset and Flickr30K. Our ap",
"顶部”。单词“a”和“of”没有相应的规范视觉信号。",
"proach sets the new state-of-the-art by a significant",
"此外,当在“栖息”之后生成诸如“on”和“top”之",
"margin.The source code can be downloaded from",
"类的单词以及在“红色停止”之后生成“符号”时,语",
"https://github.com/jiasenlu/AdaptiveAttention",
"言相关性使视觉信号变得不必要。。实际上,来自非视",
"觉单词的渐变可能会误导并降低视觉信号在指导字幕",
"1.Introduction",
"生成过程中的整体效果",
"在本文中,我们介绍了一种自适应注意力编码器-解",
"为图像自动生成字幕已成为学术界和工业界的一个",
"码器框架,该框架可以自动决定何时依赖视觉信号以及",
"突出的跨学科研究问题。[8,11,18,23,27,30]。它可",
"何时仅依赖语言模型。当然,当依赖于视觉信号时,模",
"以帮助视力受损的用户,并使用户可以轻松地组织和",
"型还决定了它应该关注的位置-哪个图像区域一。我们首",
"浏览大量通常非结构化的视觉数据。为了生成高质量",
"先提出了一种新的空间注意模型来提取空间图像特征。",
"的学幕,模型需要结合图像中的细粒度视觉线索。最",
"然后,作为我们提出的自适应注意机制,我们引人了",
"近,已经探索了基于视觉注意力的神经编码器-解码器",
"个新的长短期记忆(LSTM)扩展,它产生了一个额外",
"模型[30.11.321,其中注意力机制通常会产一个空",
"的“视觉哨兵”向量,而不是单个隐藏状态。“视觉哨",
"间图,突出显示与每个生成的单词相关的图像区域。大",
"兵”是解码器内存的另一种潜在表示形式,为解码器提",
"多数用于图像字幕和视觉问题回答的注意力模型都会",
"供了备用选项。我们进一步设计了一个新的哨兵门,它",
"在每个时间步长关注图像,而不管下一个[31,29,17]",
"决定了解码器希望从图像中获得多少新信息,而不是",
"将发出哪个单词。但是,并非字幕中的所有单词都具有",
"在生成下一个单词时依赖于视觉哨兵。例如,如图。E",
"*The major part of this work was done while J. Lu was an",
"1,我们的模型在生成单词“white”,“bird”,“red\"",
"internatSalesforceResearch.",
"和“stop”时学会更多地关注图像,并且在生成单词",
"fEqualcontribution",
"“top”,“of\"和“sign”时更多地依赖于视觉哨兵",
"1"
] | {
"arxiv_id": "1612.01887",
"language": "zh",
"page_idx": 0
} |
||
1612.01887-zh-1 | 1612.01887-zh-1.jpg | 总的来说,本文的主要贡献是:
$\bullet$ We introduce an adaptive encoder-decoder frame-
work that automatically decides when to look at the image and when to rely on the language model to generate the next word.
$\bullet$ We frst propose a new spatial attention model,
and then build on it to design our novel adaptive
attention model with“visual sentinel”.
$\bullet$ Our model significantly outperforms other state-
of-the-art methods on COCO and Flickr30k.
$\bullet$ We perform an extensive analysis of our adaptive
attention model, including visual grounding probabilities of words and weakly supervised localization of generated attention maps.
## 2. Method
我们首先在 Sec 中描述用于图像字幕的通用神经编码器-解码器框架。2.1 ,然后在 Sec 中介绍我们提出的基于注意力的图像字幕模型。?? &2.3 。
2.1. Encoder-Decoder for Image Captioning
我们首先简要描述编码器-解码器图像字幕框架 [27, 30] 。给定图像和相应的字幕,编码器-解码器模型直接最大化以下目标:
(1)
$$\boldsymbol{\theta}^*=\arg\max_{\boldsymbol{\theta}}\sum_{(\boldsymbol{I},\boldsymbol{y})}\log p(\boldsymbol{y}|\boldsymbol{I};\boldsymbol{\theta})$$
其中$\theta$是模型的参数,$I$是图像$,y=\{y_1,\ldots,y_t\}$是相应的字幕。使用链规则,可以将联合概率分布的对数似然分解为有序条件:
$$\log p(\boldsymbol{y})=\sum_{t=1}^T\log p(y_t|y_1,\ldots,y_{t-1},\boldsymbol{I})$$
(2)
,其中为了方便起见,我们放弃了对模型参数的依赖性在编码器-解码器框架中,使用递归神经网络(RNN),
每个条件概率建模为:
$$\log p(y_t|y_1,\ldots,y_{t-1},\boldsymbol{I})=f(\boldsymbol{h}_t,\boldsymbol{c}_t)$$
(3)
其中$f$是输出$y_t$概率的非线性函数。$c_t$是从图像$I$中提取的时间$t$的视觉上下文向量。$h_t$是 RNN 在时间$t$ 的隐藏状态。在本文中,我们采用长短期记忆 (LSTM) 代替香草 RNN。前者在各种序列建模任务中展示了最先进的性能。$h_t$建模为:
$$h_t=\mathrm{LSTM}(\boldsymbol{x}_t,\boldsymbol{h}_{t-1},\boldsymbol{m}_{t-1})$$
(4)
其中$x_t$是输入向量。$m_{t-1}$是$t-1$时刻的存储单元
向量
通常,上下文向量,$c_t$是神经编码器-解码器框架中的重要因素,它为字幕生成提供了视觉证据$\overline{\mathbb{E}}[18,27$, 30,34] 。这些不同的上下文向量建模方式分为两类:香草编码器-解码器和基于注意力的编码器-解码器框架:
$\bullet$ First, in the vanilla framework, $\boldsymbol c_t$ is only depend-
ent on the encoder, a Convolutional Neural Network ( CNN) . The input image $I$ is fed into the CNN, which extracts the last fully connected layer as a global image feature [18,27]. Across generated words, the context vector $\boldsymbol c_t$ keeps constant, and does not depend on the hidden state of the $\operatorname{decoder}.$
$\bullet$ Second, in the attention-based framework, $\boldsymbol{c}_t$ is de-
pendent on both encoder and decoder. At time $t$ , based on the hidden state, the decoder would attend to the specific regions of the image and compute $\boldsymbol{c}_t$ using the spatial image features from a convolution layer of a CNN. In [30,34] , they show that attention models can significantly improve the performance of image captioning.
为了计算上下文向量$c_t$ ,我们首先在 Sec 中提出我们的空间注意力模型。?? ,然后将模型扩展为 Sec 中的自适应注意模型。2.3。
## 2.2. Spatial Attention Model
$c_t$ 。$h_t$是 RNN 在$t$时刻的隐藏状态
给定 LSTM 的空间图像特征$V\in\mathcal{R}^d\times k$和隐藏状态$\boldsymbol{h}_t\in\mathcal{R}^d$ ,我们通过单层神经网络将它们馈送给它们,然后使用 softmax 函数在图像的$k$区域上生成注意力分布:
(5) (6)
$$\begin{array}{rcl}\boldsymbol{z}_t&=&\boldsymbol{w}_h^T\tanh(\boldsymbol{W}_v\boldsymbol{V}+(\boldsymbol{W}_g\boldsymbol{h}_t)\boldsymbol{1}^T)\\\boldsymbol{\alpha}_t&=&\mathrm{softmax}(\boldsymbol{z}_t)\end{array}$$
其中$1\in\mathcal{R}^k$是所有元素均设置为 1 的向量。$W_v,W_g\in$ $\mathcal{R}^{k\times d}$和$w_h\in\mathcal{R}^k$是需要学习的参数。$\alpha\in\mathcal{R}^k$是$V$ 中对功能的关注权重。根据注意力分布,上下文向量$c_t$可以通过以下方式获得:
(7)
$$c_t=\sum_{i=1}^k\alpha_{ti}v_{ti}$$
其中$c_t$和$h_t$被组合以预测下一个单词$y_{t+1}$,如等
式E3
不同于[30] ,如图。$\mathbb{E}2$ ,我们使用当前隐藏状态$h_t$ 来分析在哪里看 (i。e。,生成上下文向量$c_t$ ),然后将两个信息源结合起来预测下一个单词。我们的动机源于残差网络[10]的卓越性能。生成的上下文向量$c_t$可以被视为当前隐藏状态$h_t$的残余视觉信息,从而减少了不确定性或补充了当前隐藏状态的信息,以进行下一个单词预测。我们还从经验上发现我们的空间注意力模型表现更好,如表 1 所示。
## 2.3. Adaptive Attention Model
虽然基于空间注意力的解码器已被证明对图像字幕有效,但它们无法确定何时依靠视觉信号以及何时依靠语言模型。在本节中,受 Merity et al. $\operatorname{E}[19]$的启发 | [
[
"0.1013",
"0.0947",
"0.3179",
"0.0947",
"0.3179",
"0.1048",
"0.1013",
"0.1048"
],
[
"0.517",
"0.09216",
"0.8906",
"0.09216",
"0.8906",
"0.1061",
"0.517",
"0.1061"
],
[
"0.0948",
"0.108",
"0.4656",
"0.108",
"0.4656",
"0.1218",
"0.0948",
"0.1218"
],
[
"0.535",
"0.108",
"0.8906",
"0.108",
"0.8906",
"0.1218",
"0.535",
"0.1218"
],
[
"0.1111",
"0.1237",
"0.468",
"0.1237",
"0.468",
"0.137",
"0.1111",
"0.137"
],
[
"0.536",
"0.1237",
"0.8906",
"0.1237",
"0.8906",
"0.137",
"0.536",
"0.137"
],
[
"0.11273",
"0.1383",
"0.468",
"0.1383",
"0.468",
"0.1528",
"0.11273",
"0.1528"
],
[
"0.536",
"0.1383",
"0.892",
"0.1383",
"0.892",
"0.1515",
"0.536",
"0.1515"
],
[
"0.11273",
"0.154",
"0.304",
"0.154",
"0.304",
"0.1674",
"0.11273",
"0.1674"
],
[
"0.536",
"0.154",
"0.8906",
"0.154",
"0.8906",
"0.1674",
"0.536",
"0.1674"
],
[
"0.09314",
"0.1674",
"0.4673",
"0.1674",
"0.4673",
"0.1812",
"0.09314",
"0.1812"
],
[
"0.536",
"0.1686",
"0.8906",
"0.1686",
"0.8906",
"0.1818",
"0.536",
"0.1818"
],
[
"0.1111",
"0.1843",
"0.468",
"0.1843",
"0.468",
"0.1976",
"0.1111",
"0.1976"
],
[
"0.536",
"0.1843",
"0.8896",
"0.1843",
"0.8896",
"0.1945",
"0.536",
"0.1945"
],
[
"0.1111",
"0.1989",
"0.3882",
"0.1989",
"0.3882",
"0.2122",
"0.1111",
"0.2122"
],
[
"0.536",
"0.1995",
"0.596",
"0.1995",
"0.596",
"0.2102",
"0.536",
"0.2102"
],
[
"0.09314",
"0.2134",
"0.4673",
"0.2134",
"0.4673",
"0.2279",
"0.09314",
"0.2279"
],
[
"0.517",
"0.2122",
"0.8906",
"0.2122",
"0.8906",
"0.2267",
"0.517",
"0.2267"
],
[
"0.11273",
"0.2291",
"0.4307",
"0.2291",
"0.4307",
"0.2424",
"0.11273",
"0.2424"
],
[
"0.535",
"0.2291",
"0.892",
"0.2291",
"0.892",
"0.2424",
"0.535",
"0.2424"
],
[
"0.0948",
"0.2456",
"0.4673",
"0.2456",
"0.4673",
"0.2556",
"0.0948",
"0.2556"
],
[
"0.536",
"0.2437",
"0.892",
"0.2437",
"0.892",
"0.2568",
"0.536",
"0.2568"
],
[
"0.11273",
"0.2588",
"0.4656",
"0.2588",
"0.4656",
"0.2727",
"0.11273",
"0.2727"
],
[
"0.535",
"0.2588",
"0.8906",
"0.2588",
"0.8906",
"0.2727",
"0.535",
"0.2727"
],
[
"0.1136",
"0.2747",
"0.4673",
"0.2747",
"0.4673",
"0.2886",
"0.1136",
"0.2886"
],
[
"0.535",
"0.2734",
"0.8896",
"0.2734",
"0.8896",
"0.2874",
"0.535",
"0.2874"
],
[
"0.1111",
"0.2886",
"0.3513",
"0.289",
"0.3513",
"0.3037",
"0.1111",
"0.303"
],
[
"0.535",
"0.289",
"0.8896",
"0.289",
"0.8896",
"0.303",
"0.535",
"0.303"
],
[
"0.536",
"0.305",
"0.8906",
"0.305",
"0.8906",
"0.318",
"0.536",
"0.318"
],
[
"0.0809",
"0.318",
"0.1765",
"0.318",
"0.1765",
"0.33",
"0.0809",
"0.33"
],
[
"0.536",
"0.318",
"0.8447",
"0.318",
"0.8447",
"0.332",
"0.536",
"0.332"
],
[
"0.524",
"0.334",
"0.8906",
"0.334",
"0.8906",
"0.348",
"0.524",
"0.348"
],
[
"0.10046",
"0.3423",
"0.468",
"0.3423",
"0.468",
"0.356",
"0.10046",
"0.356"
],
[
"0.5034",
"0.3499",
"0.8896",
"0.3499",
"0.8896",
"0.363",
"0.5034",
"0.363"
],
[
"0.0809",
"0.358",
"0.468",
"0.358",
"0.468",
"0.3718",
"0.0809",
"0.3718"
],
[
"0.5034",
"0.3643",
"0.6978",
"0.3643",
"0.6978",
"0.3774",
"0.5034",
"0.3774"
],
[
"0.0809",
"0.3726",
"0.3987",
"0.3726",
"0.3987",
"0.3865",
"0.0809",
"0.3865"
],
[
"0.0801",
"0.3945",
"0.423",
"0.3965",
"0.423",
"0.411",
"0.0801",
"0.4092"
],
[
"0.5034",
"0.3901",
"0.726",
"0.3901",
"0.726",
"0.404",
"0.5034",
"0.404"
],
[
"0.10046",
"0.4192",
"0.4656",
"0.4192",
"0.4656",
"0.433",
"0.10046",
"0.433"
],
[
"0.524",
"0.4136",
"0.7915",
"0.4136",
"0.7915",
"0.4268",
"0.524",
"0.4268"
],
[
"0.524",
"0.4268",
"0.8906",
"0.4268",
"0.8906",
"0.4414",
"0.524",
"0.4414"
],
[
"0.0801",
"0.433",
"0.468",
"0.4343",
"0.468",
"0.449",
"0.0801",
"0.4475"
],
[
"0.5034",
"0.4426",
"0.8906",
"0.4426",
"0.8906",
"0.457",
"0.5034",
"0.457"
],
[
"0.0809",
"0.4495",
"0.2051",
"0.4495",
"0.2051",
"0.4634",
"0.0809",
"0.4634"
],
[
"0.5034",
"0.459",
"0.8906",
"0.459",
"0.8906",
"0.473",
"0.5034",
"0.473"
],
[
"0.1642",
"0.4749",
"0.3823",
"0.4749",
"0.3823",
"0.4924",
"0.1642",
"0.4924"
],
[
"0.4468",
"0.4766",
"0.468",
"0.4766",
"0.468",
"0.4893",
"0.4468",
"0.4893"
],
[
"0.505",
"0.476",
"0.5767",
"0.476",
"0.5767",
"0.4873",
"0.505",
"0.4873"
],
[
"0.2615",
"0.4912",
"0.2932",
"0.4937",
"0.2917",
"0.507",
"0.2607",
"0.505"
],
[
"0.5605",
"0.5",
"0.8384",
"0.4988",
"0.8384",
"0.5166",
"0.5605",
"0.5176"
],
[
"0.8667",
"0.502",
"0.8906",
"0.502",
"0.8906",
"0.515",
"0.8667",
"0.515"
],
[
"0.0825",
"0.5166",
"0.468",
"0.5166",
"0.468",
"0.531",
"0.0825",
"0.531"
],
[
"0.5596",
"0.521",
"0.709",
"0.5195",
"0.709",
"0.534",
"0.5596",
"0.535"
],
[
"0.8677",
"0.521",
"0.8906",
"0.521",
"0.8906",
"0.535",
"0.8677",
"0.535"
],
[
"0.0809",
"0.532",
"0.468",
"0.532",
"0.468",
"0.5454",
"0.0809",
"0.5454"
],
[
"0.0809",
"0.547",
"0.2378",
"0.547",
"0.2378",
"0.56",
"0.0809",
"0.56"
],
[
"0.5034",
"0.547",
"0.892",
"0.5474",
"0.892",
"0.5625",
"0.5034",
"0.561"
],
[
"0.2296",
"0.565",
"0.2418",
"0.5747",
"0.2296",
"0.584",
"0.2173",
"0.5747"
],
[
"0.501",
"0.5596",
"0.892",
"0.561",
"0.892",
"0.579",
"0.501",
"0.577"
],
[
"0.1405",
"0.5806",
"0.4102",
"0.5806",
"0.4102",
"0.5986",
"0.1405",
"0.5986"
],
[
"0.4478",
"0.586",
"0.4656",
"0.586",
"0.4656",
"0.595",
"0.4478",
"0.595"
],
[
"0.5063",
"0.58",
"0.8896",
"0.58",
"0.8896",
"0.5903",
"0.5063",
"0.5903"
],
[
"0.2181",
"0.5977",
"0.2427",
"0.5977",
"0.2427",
"0.61",
"0.2181",
"0.61"
],
[
"0.505",
"0.595",
"0.693",
"0.595",
"0.693",
"0.606",
"0.505",
"0.606"
],
[
"0.693",
"0.6143",
"0.706",
"0.625",
"0.694",
"0.6353",
"0.6807",
"0.625"
],
[
"0.0825",
"0.6206",
"0.468",
"0.6206",
"0.468",
"0.634",
"0.0825",
"0.634"
],
[
"0.642",
"0.631",
"0.751",
"0.631",
"0.751",
"0.6494",
"0.642",
"0.6494"
],
[
"0.8677",
"0.6333",
"0.8906",
"0.6333",
"0.8906",
"0.648",
"0.8677",
"0.648"
],
[
"0.6807",
"0.648",
"0.705",
"0.648",
"0.705",
"0.661",
"0.6807",
"0.661"
],
[
"0.0989",
"0.6353",
"0.468",
"0.6353",
"0.468",
"0.6484",
"0.0989",
"0.6484"
],
[
"0.0809",
"0.651",
"0.2361",
"0.651",
"0.2361",
"0.664",
"0.0809",
"0.664"
],
[
"0.1487",
"0.675",
"0.3987",
"0.6753",
"0.3987",
"0.69",
"0.1487",
"0.6895"
],
[
"0.4436",
"0.677",
"0.468",
"0.677",
"0.468",
"0.6895",
"0.4436",
"0.6895"
],
[
"0.5034",
"0.6724",
"0.8906",
"0.6724",
"0.8906",
"0.686",
"0.5034",
"0.686"
],
[
"0.4102",
"0.6797",
"0.4355",
"0.6797",
"0.4355",
"0.6875",
"0.4102",
"0.6875"
],
[
"0.5034",
"0.688",
"0.546",
"0.688",
"0.546",
"0.6997",
"0.5034",
"0.6997"
],
[
"0.0825",
"0.7026",
"0.4673",
"0.7026",
"0.4673",
"0.7134",
"0.0825",
"0.7134"
],
[
"0.524",
"0.7026",
"0.888",
"0.7026",
"0.888",
"0.7163",
"0.524",
"0.7163"
],
[
"0.0809",
"0.7163",
"0.468",
"0.7163",
"0.468",
"0.73",
"0.0809",
"0.73"
],
[
"0.5034",
"0.7183",
"0.8906",
"0.7183",
"0.8906",
"0.732",
"0.5034",
"0.732"
],
[
"0.0809",
"0.731",
"0.4673",
"0.731",
"0.4673",
"0.744",
"0.0809",
"0.744"
],
[
"0.5034",
"0.733",
"0.8906",
"0.733",
"0.8906",
"0.747",
"0.5034",
"0.747"
],
[
"0.0825",
"0.747",
"0.468",
"0.747",
"0.468",
"0.7603",
"0.0825",
"0.7603"
],
[
"0.5034",
"0.747",
"0.8896",
"0.7485",
"0.8896",
"0.762",
"0.5034",
"0.7603"
],
[
"0.0809",
"0.762",
"0.259",
"0.762",
"0.259",
"0.776",
"0.0809",
"0.776"
],
[
"0.5034",
"0.762",
"0.8906",
"0.763",
"0.8906",
"0.778",
"0.5034",
"0.7764"
],
[
"0.505",
"0.779",
"0.8906",
"0.779",
"0.8906",
"0.7925",
"0.505",
"0.7925"
],
[
"0.1708",
"0.785",
"0.3757",
"0.786",
"0.3757",
"0.8003",
"0.1708",
"0.8"
],
[
"0.4468",
"0.7886",
"0.468",
"0.7886",
"0.468",
"0.8003",
"0.4468",
"0.8003"
],
[
"0.5146",
"0.7935",
"0.8906",
"0.7935",
"0.8906",
"0.8066",
"0.5146",
"0.8066"
],
[
"0.0809",
"0.811",
"0.4697",
"0.811",
"0.4697",
"0.8247",
"0.0809",
"0.8247"
],
[
"0.5034",
"0.808",
"0.732",
"0.8096",
"0.732",
"0.8237",
"0.5034",
"0.8228"
],
[
"0.0825",
"0.827",
"0.1152",
"0.827",
"0.1152",
"0.839",
"0.0825",
"0.839"
],
[
"0.5034",
"0.834",
"0.7427",
"0.834",
"0.7427",
"0.8477",
"0.5034",
"0.8477"
],
[
"0.0989",
"0.8413",
"0.4673",
"0.8403",
"0.4673",
"0.855",
"0.0989",
"0.856"
],
[
"0.0809",
"0.857",
"0.4656",
"0.857",
"0.4656",
"0.8706",
"0.0809",
"0.8706"
],
[
"0.524",
"0.857",
"0.8906",
"0.857",
"0.8906",
"0.8706",
"0.524",
"0.8706"
],
[
"0.0809",
"0.872",
"0.468",
"0.872",
"0.468",
"0.8853",
"0.0809",
"0.8853"
],
[
"0.5034",
"0.872",
"0.892",
"0.872",
"0.892",
"0.8853",
"0.5034",
"0.8853"
],
[
"0.0809",
"0.887",
"0.46",
"0.887",
"0.46",
"0.901",
"0.0809",
"0.901"
],
[
"0.5034",
"0.887",
"0.892",
"0.887",
"0.892",
"0.901",
"0.5034",
"0.901"
]
] | [
"总的来说,本文的主要责献是:",
". First, in the vanilla framework, Ct is only depend-",
" We introduce an adaptive encoder-decoder frame-",
"ent on the encoder, a Convolutional Neural Net-",
"work that automatically decides when to look at",
"work (CNN). The input image I is fed into the",
"the image and when to rely on the language model",
"CNN, which extracts the last fully connected layer",
"to generate the next word.",
"as a global image feature [18, 27] : Across gener-",
": We first propose a new spatial attention model.",
"ated words, the context vector ct keeps constant,",
"and then build on it to design our novel adaptive",
"and does not depend on the hidden state of the",
"attention model with “\"visual sentinel\"",
"decoder.",
": Our model significantly outperforms other state-",
". Second, in the attention-based framework, ct is de-",
"of-the-art methods on COCO and Flickr30k.",
"pendent on both encoder and decoder. At time t",
".Weperform an extensive analysis of our adaptive",
", based on the hidden state, the decoder would",
"attention model, including visual grounding prob",
"attend to the specific regions of the image and",
"abilities of words and weakly supervised localiza-",
"compute ct using the spatial image features from",
"tion of generated attention maps.",
"a convolution layer of a CNN. In [30, 34] , they",
"show that attention models can significantly im-",
"2. Method",
"prove the performance of image captioning.",
"为了计算上下文向量Ct,我们首先在Sec中提出我",
"我们首先在Sec中描述用于图像字幕的通用神经编",
"们的空间注意力模型。??,然后将模型扩展为Sec中",
"码器-解码器框架。,2.1,然后在Sec中介绍我们提出",
"的自适应注意模型。2.3。",
"的基于注意力的图像字幕模型。??&2.3。",
"2.1.Encoder-Decoder for Image Captioning",
"2.2. Spatial Attention Model",
"我们首先简要描述编码器-解码器图像字幕框架[27",
"Ct。ht是RNN在t时刻的隐藏状态",
"给定LSTM的空间图像特征VERdxk和隐藏状",
"301。给定图像和相应的字幕,编码器-解码器模型直接",
"态htERd,我们通过单层神经网络将它们馈送给它",
"最大化以下目标:",
"们,然后使用softmax函数在图像的k区域上生成注",
"0* = arg max logp(yl;0)",
"(1)",
"意力分布:",
"(I.y)",
"zt = wH tanh(W,V+ (Wght)IT)",
"(5)",
"其中θ是模型的参数,I是图像,y={yi,..,yt}是",
"Qt = softmax(zt)",
"(6)",
"相应的字幕。使用链规则,可以将联合概率分布的对数",
"似然分解为有序条件:",
"其中ⅡERk是所有元素均设置为1的向量。W,WgE",
"T",
"Rkxd和whERk是需要学习的参数。αERk是V",
"logp(y) =log p(ytlyi,.., t-i, I)",
"(2)",
"中对功能的关注权重。根据注意力分布,上下文向量",
"t=1",
"Ct可以通过以下方式获得:",
"+",
",其中为了方便起见,我们放弃了对模型参数的依赖性",
"Ct=Zativti",
"(7)",
"i=1",
"在编码器-解码器框架中,使用递归神经网络(RNN)",
"每个条件概率建模为:",
"logp(ytly1,...,yt-1,I)=f(ht,ct)",
"(3)",
"其中ct和ht被组合以预测下一个单词yt+1,如等",
"",
"式E3",
"其中f是输出ut概率的非线性函数。Ct是从图像I中",
"不同于[30],如图。E2,我们使用当前隐藏状态h",
"提取的时间t的视觉上下文向量。ht是RNN在时间t",
"来分析在哪里看(i。e。,生成上下文向量ct),然后将",
"的隐藏状态。在本文中,我们采用长短期记忆(LSTM)",
"两个信息源结合起来预测下一个单词。我们的动机源",
"代替香草RNN。前者在各种序列建模任务中展示了最",
"于残差网络[10]的卓越性能。生成的上下文向量Ct可",
"先进的性能。ht建模为:",
"以被视为当前隐藏状态ht的残余视觉信息,从而减少",
"了不确定性或补充了当前隐藏状态的信息,以进行下",
"ht = LSTM(at, ht-1,mt-1)",
"(4)",
"个单词预测。我们还从经验上发现我们的空间注意",
"其中at是输人向量。mt-1是t-1时刻的存储单元",
"力模型表现更好,如表1所示。",
"向量",
"2.3. Adaptive Attention Model",
"通常,上下文向量,Ct是神经编码器-解码器框架中",
"的重要因素,它为字幕生成提供了视觉证据E[18,27",
"虽然基于空间注意力的解码器已被证明对图像字幕",
"30,34。这些不同的上下文向量建模方式分为两类:香",
"有效,但它们无法确定何时依靠视觉信号以及何时依",
"草编码器-解码器和基于注意力的编码器-解码器框架:",
"靠语言模型。在本节中,受Merityetal.E[19]的启发,"
] | {
"arxiv_id": "1612.01887",
"language": "zh",
"page_idx": 1
} |
||
1612.01887-zh-3 | 1612.01887-zh-3.jpg | 。我们使用单层神经网络将视觉哨兵向量$s_t$和 LSTM
输出向量$h_t$转换为具有$d$维度的新向量
培训详情。在我们的实验中,我们使用隐藏大小为512的单层 LSTM。我们使用 Adam 优化器,语言模型的基本学习率为 5e-4, CNN 的基本学习率为 1e-5。动量和重量衰减为 0。8 和0。999 分别。我们在 20 个时代之后对 CNN 网络进行微调。如果验证 CIDEr [26] 分数在过去 6 个时期内没有改善,我们将批次大小设置为 80, 并在早期停止的情况下训练多达 50 个时期。我们的模型可以在单个 TitanXGPU 上在 30 小时内进行训练。在对 COCO 和 Flickr30k 数据集的标题进行采样时,我们使用 3 的光束大小
## 4. Related Work
图像字幕具有许多重要的应用 ,从帮助视障用户到人机交互。因此,已经开发了许多不同的图像字幕模型。通常,这些方法可以分为两类:基于模板的[9,13,14,20] 和基于神经的[12,18,6,3,27,7,11,30,8,34,32,33]
基于模板的方法根据对象检测、属性分类和场景识别的输出生成填充槽的字幕模板。Farhadi et al.[9] 推断使用模板转换为文本的场景元素的三元组。Kulkarni et al.[13] 采用条件随机场 (CRF) 在填充插槽之前联合推理对象,属性和介词。[14,20]使用更强大的语言模板,例如语法格式良好的树,并从属性检测的输出中添加描述性信息
基于神经的方法的灵感来自机器翻译[4,24,2]中序列到序列编码器-解码器框架的成功,其观点是图像字幕类似于将图像转换为文本。Kiros et al.[12] 提出了一种具有多模态对数双线性模型的前馈神经网络,用于在给定图像和前一个单词的情况下预测下一个单词。然后,其他方法将前馈神经网络替换为递归神经网络[18,3] 。Vinyals et al.[27]使用 LSTM 代替香草 RNN 作为解码器。然而,所有这些方法都用 CNN 的最后一个完全连接层表示图像。Karpathy et al.[11] 采用R-CNN 的对象检测结果和双向 RNN 的输出来学习用于字幕排名和生成的联合嵌人空间
最近,已将注意力机制引入图像字幕中的编码器-解码器神经框架。Xu et al. [30] 结合了一种注意力机制, 可以在生成相应的单词时从头开始学习潜在的对齐方式。[28,34] 利用高级概念或属性,并将其注入基于神经的方法中,作为语义注意,以增强图像字幕。Yang et al. [32] 使用评论网络扩展了当前的注意力编码器-解码器框架,该网络以紧凑的向量表示形式捕获了全局属性,并且可以由解码器中的注意力机制使用。Yao et al. [33]提出了用于从图像中增强高级属性以补充图像表示以生成句子的体系结构的变体
据我们所知,我们的工作是在生成单词序列时推断
模型何时应注意图像的第一项工作
5. Results
# 5.1. Experiment Settings
我们用两个数据集进行实验:Flickr30k[35] 和
COCO[16]
Flickr30k 包含从 Flickr 收集的 31,783 个图像。这些图像中的大多数描绘了人类进行各种活动。每个图像都与 5 个众包字幕配对。我们使用公开可用的分割$^{1}$ 包含 1,000 个图像进行验证和测试每个
COCO 是最大的图像字幕数据集,包含 82,783、 40,504和40,775个图像,分别用于训练,验证和测试。此数据集更具挑战性,因为大多数图像在复杂场景的上下文中包含多个对象。每个图像有 5 个人注释字幕。对于离线评估,我们使用与[11,30,34]中相同的数据分割,包含 5000 个图像进行验证和测试。对于COCO 评估服务器上的在线评估,我们保留了2000 张来自开发验证的图像,其余的用于培训
预处理。我们为 COCO 截断了超过 18 个单词的字幕,为 Flickr30k 截断了超过 22 个单词的字幕。然后, 我们构建在训练集中至少出现 5 次和 3 次的词汇,分别为 COCO 和 Flickr30k 生成 9567 和 7649 个单词
比较方法:对于 Flickr30k 和 COCO 的离线评估,我们首先将完整模型 ( Ours-Adaptive) 与烧蚀版本 ( OursSpatial)进行比较,后者仅执行空间关注。此比较的目的是验证我们的改进不是正交贡献的结果 (例如。g。更好的 CNN 功能或更好的优化)。我们进一步将我们的方法与 DeepVS [11] , Hard-Attention [30] 和最近提出的 ATT [34] , ERD [32] 以及 MSM [33] 的最佳执行方法(LSTM-A $_5$)进行了比较。对于在线评估,我们将我们的方法与 GoogleNIC [27] , MSCaptivator [8] , m-RNN[18],LRCN[7],硬注意力[30],ATT-FCN [34] , ERD[32]和 MSM[33] 。
# 5.2. Quantitative Analysis
我们使用 COCO 字幕评估工具[16]报告结果,该工具报告以下度量:BLEU [21], Meteor [5], Rouge-L [15]和 CIDErXMATHX。我们还使用新的指标 SPICE [1]报告了结果,该指标被发现与人类的判断更好地相关
表 1显示了 Flickr30k 和 COCO 数据集的结果。比较完整模型 w。r。没有视觉哨兵的烧蚀版本验证了所提出框架的有效性。我们的自适应注意模型显著优于空间注意模型,使 CIDEr 得分从0。493/1。029 至0。531/1。085分别在 Flickr30k 和 COCO 上。与以前的方法进行比较时,我们可以看到我们的单个模型在所有指标上都大大优于以前的所有方法。在 COCO 上,我们的方法从 0 改进了 BLEU-4 上的最新技术。$325(\mathrm{MSM}^{\dagger})$到 0。332,METEORfrom0。251(MSM$^\dagger$ )到 0。266 和 CIDEr 从 0。986(MSM$^\dagger$)到 1。085。同样,在 Flickr30k 上,我们的模型以很大的幅度改进了最先进的技术
${\frac{1\text{ https:}//\mathrm{github.com/k}}{\mathrm{arpathy/neuraltalk}}}$ | [
[
"0.0972",
"0.0947",
"0.4673",
"0.0947",
"0.4673",
"0.1048",
"0.0972",
"0.1048"
],
[
"0.5024",
"0.09344",
"0.5947",
"0.09344",
"0.5947",
"0.1048",
"0.5024",
"0.1048"
],
[
"0.0825",
"0.10986",
"0.3718",
"0.10986",
"0.3718",
"0.1206",
"0.0825",
"0.1206"
],
[
"0.08905",
"0.0985",
"0.0972",
"0.0985",
"0.0972",
"0.1029",
"0.08905",
"0.1029"
],
[
"0.501",
"0.11743",
"0.697",
"0.11743",
"0.697",
"0.1307",
"0.501",
"0.1307"
],
[
"0.1013",
"0.1332",
"0.4656",
"0.1332",
"0.4656",
"0.1433",
"0.1013",
"0.1433"
],
[
"0.0809",
"0.1465",
"0.468",
"0.1465",
"0.468",
"0.1604",
"0.0809",
"0.1604"
],
[
"0.523",
"0.1414",
"0.8906",
"0.1414",
"0.8906",
"0.1559",
"0.523",
"0.1559"
],
[
"0.5024",
"0.154",
"0.585",
"0.1559",
"0.585",
"0.1704",
"0.5024",
"0.1686"
],
[
"0.0825",
"0.1635",
"0.4673",
"0.1635",
"0.4673",
"0.1736",
"0.0825",
"0.1736"
],
[
"0.5215",
"0.1704",
"0.8906",
"0.1718",
"0.8906",
"0.1863",
"0.5215",
"0.1849"
],
[
"0.0809",
"0.1768",
"0.4673",
"0.1768",
"0.4673",
"0.1901",
"0.0809",
"0.1901"
],
[
"0.0809",
"0.1925",
"0.4673",
"0.1925",
"0.4673",
"0.2058",
"0.0809",
"0.2058"
],
[
"0.5034",
"0.1875",
"0.8906",
"0.1875",
"0.8906",
"0.2008",
"0.5034",
"0.2008"
],
[
"0.505",
"0.2026",
"0.888",
"0.2026",
"0.888",
"0.2166",
"0.505",
"0.2166"
],
[
"0.08417",
"0.209",
"0.4673",
"0.209",
"0.4673",
"0.2197",
"0.08417",
"0.2197"
],
[
"0.0809",
"0.2229",
"0.468",
"0.2229",
"0.468",
"0.2361",
"0.0809",
"0.2361"
],
[
"0.505",
"0.2172",
"0.7812",
"0.2172",
"0.7812",
"0.2311",
"0.505",
"0.2311"
],
[
"0.0809",
"0.2374",
"0.468",
"0.2374",
"0.468",
"0.2507",
"0.0809",
"0.2507"
],
[
"0.523",
"0.2343",
"0.8906",
"0.2343",
"0.8906",
"0.2474",
"0.523",
"0.2474"
],
[
"0.0809",
"0.252",
"0.4673",
"0.252",
"0.4673",
"0.2651",
"0.0809",
"0.2651"
],
[
"0.5034",
"0.2488",
"0.8896",
"0.2488",
"0.8896",
"0.262",
"0.5034",
"0.262"
],
[
"0.08417",
"0.2695",
"0.3105",
"0.2695",
"0.3105",
"0.2798",
"0.08417",
"0.2798"
],
[
"0.505",
"0.2644",
"0.8896",
"0.2644",
"0.8896",
"0.2778",
"0.505",
"0.2778"
],
[
"0.5063",
"0.281",
"0.8896",
"0.281",
"0.8896",
"0.2917",
"0.5063",
"0.2917"
],
[
"0.5034",
"0.2935",
"0.8896",
"0.2935",
"0.8896",
"0.307",
"0.5034",
"0.307"
],
[
"0.505",
"0.3093",
"0.8906",
"0.3093",
"0.8906",
"0.3225",
"0.505",
"0.3225"
],
[
"0.0809",
"0.3213",
"0.2279",
"0.3213",
"0.2279",
"0.3352",
"0.0809",
"0.3352"
],
[
"0.5034",
"0.3225",
"0.8906",
"0.324",
"0.8906",
"0.3384",
"0.5034",
"0.3372"
],
[
"0.505",
"0.3416",
"0.7812",
"0.3416",
"0.7812",
"0.3516",
"0.505",
"0.3516"
],
[
"0.10297",
"0.3547",
"0.4673",
"0.3547",
"0.4673",
"0.3687",
"0.10297",
"0.3687"
],
[
"0.523",
"0.356",
"0.8906",
"0.356",
"0.8906",
"0.3694",
"0.523",
"0.3694"
],
[
"0.08417",
"0.3718",
"0.4656",
"0.3718",
"0.4656",
"0.3818",
"0.08417",
"0.3818"
],
[
"0.5024",
"0.3694",
"0.888",
"0.3706",
"0.888",
"0.3838",
"0.5024",
"0.3833"
],
[
"0.0825",
"0.385",
"0.4673",
"0.385",
"0.4673",
"0.3984",
"0.0825",
"0.3984"
],
[
"0.5024",
"0.3838",
"0.8896",
"0.385",
"0.8896",
"0.3997",
"0.5024",
"0.3984"
],
[
"0.0809",
"0.401",
"0.4656",
"0.401",
"0.4656",
"0.414",
"0.0809",
"0.414"
],
[
"0.5034",
"0.401",
"0.876",
"0.401",
"0.876",
"0.414",
"0.5034",
"0.414"
],
[
"0.527",
"0.4185",
"0.8896",
"0.4185",
"0.8896",
"0.4287",
"0.527",
"0.4287"
],
[
"0.10046",
"0.4248",
"0.468",
"0.4248",
"0.468",
"0.4382",
"0.10046",
"0.4382"
],
[
"0.505",
"0.432",
"0.886",
"0.432",
"0.886",
"0.4458",
"0.505",
"0.4458"
],
[
"0.0825",
"0.4382",
"0.468",
"0.4382",
"0.468",
"0.4526",
"0.0825",
"0.4526"
],
[
"0.5034",
"0.4463",
"0.8906",
"0.4463",
"0.8906",
"0.4602",
"0.5034",
"0.4602"
],
[
"0.0809",
"0.4539",
"0.468",
"0.4539",
"0.468",
"0.4673",
"0.0809",
"0.4673"
],
[
"0.5034",
"0.461",
"0.892",
"0.4622",
"0.892",
"0.476",
"0.5034",
"0.4749"
],
[
"0.0801",
"0.4685",
"0.468",
"0.4697",
"0.468",
"0.483",
"0.0801",
"0.4817"
],
[
"0.5034",
"0.4766",
"0.8906",
"0.4766",
"0.8906",
"0.4905",
"0.5034",
"0.4905"
],
[
"0.0825",
"0.4849",
"0.468",
"0.4849",
"0.468",
"0.4988",
"0.0825",
"0.4988"
],
[
"0.5034",
"0.4924",
"0.8896",
"0.4924",
"0.8896",
"0.506",
"0.5034",
"0.506"
],
[
"0.0809",
"0.5",
"0.4673",
"0.5",
"0.4673",
"0.513",
"0.0809",
"0.513"
],
[
"0.5034",
"0.507",
"0.8896",
"0.507",
"0.8896",
"0.521",
"0.5034",
"0.521"
],
[
"0.0784",
"0.513",
"0.1953",
"0.5146",
"0.1953",
"0.529",
"0.0784",
"0.528"
],
[
"0.5034",
"0.523",
"0.8906",
"0.523",
"0.8906",
"0.536",
"0.5034",
"0.536"
],
[
"0.1013",
"0.5386",
"0.468",
"0.5386",
"0.468",
"0.552",
"0.1013",
"0.552"
],
[
"0.5034",
"0.537",
"0.8823",
"0.537",
"0.8823",
"0.5503",
"0.5034",
"0.5503"
],
[
"0.8784",
"0.5444",
"0.886",
"0.5444",
"0.886",
"0.5474",
"0.8784",
"0.5474"
],
[
"0.0809",
"0.553",
"0.468",
"0.553",
"0.468",
"0.5664",
"0.0809",
"0.5664"
],
[
"0.501",
"0.552",
"0.888",
"0.552",
"0.888",
"0.565",
"0.501",
"0.565"
],
[
"0.0809",
"0.5684",
"0.4673",
"0.5684",
"0.4673",
"0.582",
"0.0809",
"0.582"
],
[
"0.5024",
"0.5664",
"0.7305",
"0.5674",
"0.7305",
"0.582",
"0.5024",
"0.5806"
],
[
"0.08905",
"0.5854",
"0.4656",
"0.5854",
"0.4656",
"0.595",
"0.08905",
"0.595"
],
[
"0.0809",
"0.5986",
"0.468",
"0.5977",
"0.468",
"0.6123",
"0.0809",
"0.613"
],
[
"0.5024",
"0.5947",
"0.706",
"0.5947",
"0.706",
"0.608",
"0.5024",
"0.608"
],
[
"0.0809",
"0.6143",
"0.468",
"0.6143",
"0.468",
"0.6274",
"0.0809",
"0.6274"
],
[
"0.523",
"0.6187",
"0.8906",
"0.6187",
"0.8906",
"0.632",
"0.523",
"0.632"
],
[
"0.0809",
"0.629",
"0.468",
"0.629",
"0.468",
"0.6426",
"0.0809",
"0.6426"
],
[
"0.5034",
"0.634",
"0.8906",
"0.634",
"0.8906",
"0.648",
"0.5034",
"0.648"
],
[
"0.0809",
"0.6445",
"0.468",
"0.6445",
"0.468",
"0.6577",
"0.0809",
"0.6577"
],
[
"0.5034",
"0.6484",
"0.892",
"0.6484",
"0.892",
"0.662",
"0.5034",
"0.662"
],
[
"0.0948",
"0.661",
"0.4656",
"0.661",
"0.4656",
"0.672",
"0.0948",
"0.672"
],
[
"0.505",
"0.664",
"0.8906",
"0.664",
"0.8906",
"0.678",
"0.505",
"0.678"
],
[
"0.0801",
"0.672",
"0.4673",
"0.674",
"0.4673",
"0.688",
"0.0801",
"0.686"
],
[
"0.5024",
"0.6797",
"0.5215",
"0.6797",
"0.5215",
"0.6934",
"0.5024",
"0.6934"
],
[
"0.0825",
"0.6895",
"0.326",
"0.6895",
"0.326",
"0.7026",
"0.0825",
"0.7026"
],
[
"0.524",
"0.696",
"0.8906",
"0.696",
"0.8906",
"0.709",
"0.524",
"0.709"
],
[
"0.1013",
"0.7134",
"0.468",
"0.7134",
"0.468",
"0.7266",
"0.1013",
"0.7266"
],
[
"0.5034",
"0.7104",
"0.8896",
"0.711",
"0.8896",
"0.7246",
"0.5034",
"0.7236"
],
[
"0.0801",
"0.7266",
"0.468",
"0.728",
"0.468",
"0.742",
"0.0801",
"0.741"
],
[
"0.505",
"0.726",
"0.892",
"0.726",
"0.892",
"0.7393",
"0.505",
"0.7393"
],
[
"0.08417",
"0.744",
"0.4656",
"0.744",
"0.4656",
"0.755",
"0.08417",
"0.755"
],
[
"0.5034",
"0.7407",
"0.8906",
"0.7407",
"0.8906",
"0.754",
"0.5034",
"0.754"
],
[
"0.0809",
"0.757",
"0.4673",
"0.757",
"0.4673",
"0.771",
"0.0809",
"0.771"
],
[
"0.501",
"0.754",
"0.8896",
"0.754",
"0.8896",
"0.768",
"0.501",
"0.768"
],
[
"0.0801",
"0.7715",
"0.468",
"0.7734",
"0.468",
"0.787",
"0.0801",
"0.785"
],
[
"0.505",
"0.773",
"0.8896",
"0.773",
"0.8896",
"0.7827",
"0.505",
"0.7827"
],
[
"0.0809",
"0.7886",
"0.468",
"0.7886",
"0.468",
"0.802",
"0.0809",
"0.802"
],
[
"0.505",
"0.786",
"0.8906",
"0.785",
"0.8906",
"0.799",
"0.505",
"0.8"
],
[
"0.0809",
"0.803",
"0.468",
"0.803",
"0.468",
"0.8164",
"0.0809",
"0.8164"
],
[
"0.505",
"0.8003",
"0.8906",
"0.8003",
"0.8906",
"0.8145",
"0.505",
"0.8145"
],
[
"0.0825",
"0.8184",
"0.468",
"0.8184",
"0.468",
"0.832",
"0.0825",
"0.832"
],
[
"0.5024",
"0.815",
"0.8896",
"0.8145",
"0.8896",
"0.8276",
"0.5024",
"0.829"
],
[
"0.0809",
"0.834",
"0.468",
"0.834",
"0.468",
"0.8477",
"0.0809",
"0.8477"
],
[
"0.505",
"0.8306",
"0.8906",
"0.8306",
"0.8906",
"0.8447",
"0.505",
"0.8447"
],
[
"0.0809",
"0.8486",
"0.326",
"0.8486",
"0.326",
"0.8623",
"0.0809",
"0.8623"
],
[
"0.5034",
"0.8447",
"0.8906",
"0.845",
"0.8906",
"0.86",
"0.5034",
"0.8594"
],
[
"0.505",
"0.86",
"0.619",
"0.8613",
"0.619",
"0.8755",
"0.505",
"0.875"
],
[
"0.10046",
"0.8726",
"0.4673",
"0.8726",
"0.4673",
"0.886",
"0.10046",
"0.886"
],
[
"0.0809",
"0.887",
"0.327",
"0.887",
"0.327",
"0.901",
"0.0809",
"0.901"
],
[
"0.5156",
"0.884",
"0.7793",
"0.886",
"0.7793",
"0.904",
"0.5156",
"0.9014"
]
] | [
"我们使用单层神经网络将视觉哨兵向量St和LSTM",
"5.Results",
"输出向量ht转换为具有d维度的新向量",
"",
"5.1. Experiment Settings",
"培训详情。在我们的实验中,我们使用隐藏小为",
"512的单层LSTM。我们使用Adam优化器,语言模",
"我们用两个数据集进行实验:Flickr30k[35]和",
"COCO [16]",
"型的基本学习率为5e-4,CNN的基本学习率为1e-5。",
"Flickr30k包含从Flickr收集的31,783个图像。这",
"动量和重量衰减为0。8和0。999分别。我们在20个",
"时代之后对CNN网络进行微调。如果验证CIDEr[26]",
"些图像中的大多数描绘了人类进行各种活动。每个图",
"像都与5个众包字幕配对。我们使用公开可用的分割1",
"分数在过去6个时期内没有改善,我们将批次大小设",
"置为80,并在早期停止的情况下训练多达50个时期。",
"包含1,000个图像进行验证和测试每个",
"我们的模型可以在单个TitanXGPU上在30小时内进",
"COCO是最大的图像字幕数据集,包含82,783、",
"行训练。在对COCO和Flickr30k数据集的标题进行",
"40,504和40,775个图像,分别用于训练,验证和测",
"采样时,我们使用3的光束天小",
"试。此数据集更具挑战性,因为大多数图像在复杂场",
"景的上下文中包含多个对象。每个图像有5个人注释",
"字幕。对于离线评估,我们使用与[11,30,34]中相同",
"的数据分割,包含5000个图像进行验证和测试。对于",
"4.Related Work",
"COCO评估服务器上的在线评估,我们保留了2000张",
"来自开发验证的图像,其余的用于培训",
"图像字幕具有许多重要的应用,从帮助视障用户到人",
"预处理。我们为COCO截断了超过18个单词的字",
"机交互。因此,已经开发了许多不同的图像字幕模型。通",
"幕,为Flickr30k截断了超过22个单词的字幕。然后",
"常,这些方法可以分为两类:基于模板的[9,13,14,20]",
"我们构建在训练集中至少出现5次和3次的词汇,分",
"和基于神经的[12,18,6,3,27,7,11,30,8,34,32,33]",
"别为COCO和Flickr30k生成9567和7649个单词",
"比较方法:对于Flickr30k和COCO的离线评估,我",
"基于模板的方法根据对象检测、属性分类和场景识",
"们首先将完整模型(Ours-Adaptive)与烧蚀版本(Ours",
"别的输出生成填充槽的字幕模板。Farhadi et al.[9]推",
"Spatial)进行比较,后者仅执行空间关注。此比较的",
"断使用模板转换为文本的场景元素的三元组。Kulkarni",
"目的是验证我们的改进不是正交贡献的结果(例如。g。",
"etal.[13]采用条件随机场(CRF)在填充插槽之前联",
"更好的CNN功能或更好的优化)。我们进一步将我们",
"合推理对象,属性和介词。[14,20]使用更强大的语言",
"的方法与DeepVS[11],Hard-Attention[30]和最近提",
"模板,例如语法格式良好的树,并从属性检测的输出中",
"出的ATT[34],ERD[32]以及MSM[33]的最佳执行",
"添加描述性信息",
"方法(LSTM-A5)进行了比较。对于在线评估,我们",
"基于神经的方法的灵感来自机器翻译[4,24,2]中序",
"将我们的方法与GoogleNIC[27],MSCaptivator[8]",
"",
"列到序列编码器-解码器框架的成功,其观点是图像字",
"m-RNN[18]LRCN[7],硬注意力[30],ATT-FCN",
"幕类似于将图像转换为文本。Kirosetal.[12]提出了",
"[34],ERD[32]和MSM[33]。",
"一种具有多模态对数双线性模型的前馈神经网络:用",
"于在给定图像和前一个单词的情况下预测下一个单词。",
"5.2. Quantitative Analysis",
"然后,其他方法将前馈神经网络替换为递归神经网络",
"我们使用COCO字幕评估工具[16]报告结果,该工",
"[18,3]。Vinyalsetal.[27]使用LSTM代替香草RNN",
"具报告以下度量:BLEU[21],Meteor[5],Rouge-L",
"作为解码器。然而,所有这些方法都用CNN的最后",
"[15]和CIDErXMATHX。我们还使用新的指标SPICE",
"个完全连接层表示图像。Karpathyetal.11采用",
"[1]报告了结果,该指标被发现与人类的判断更好地相",
"R-CNN的对象检测结果和双向RNN的输出来学习用",
"关",
"于字幕排名和生成的联合嵌人空间",
"表1显示了Flickr30k和COCO数据集的结果。比",
"最近,已将注意力机制引入图像字幕中的编码器-解",
"较完整模型w。r。没有视觉哨兵的烧蚀版本验证了",
"码器神经框架。Xuetal.[30]结合了一种注意力机制,",
"所提出框架的有效性。我们的自适应注意模型显著优",
"可以在生成相应的单词时从头开始学习潜在的对齐方",
"于空间注意模型,使CIDEr得分从0。493/1。029至",
"式。[28,34]利用高级概念或属性,并将其注人基于神",
"0。531/1。085分别在Flickr30k和COCO上。与以",
"经的方法中,作为语义注意,以增强图像字幕。Yang",
"前的方法进行比较时,我们可以看到我们的单入模型",
"etal.[32]使用评论网络扩展了当前的注意力编码器-解",
"在所有指标上都大大优于以前的所有方法。在COCO",
"码器框架,该网络以紧凑的向量表示形式捕获了全局",
"上,我们的方法从0改进了BLEU-4上的最新技术。",
"属性,并且可以由解码器中的注意力机制使用。Yao et",
"325(MSMt)到0。332.METEORfrom0。251(MSM",
"al.[33]提出了用于从图像中增强高级属性以补充图像",
")到0。266和CIDEr从0。986(MSM)到1。085。",
"表示以生成句子的体系结构的变体",
"同样,在Flickr30k上,我们的模型以很大的幅度改进",
"了最先进的技术",
"据我们所知,我们的工作是在生成单词序列时推断",
"模型何时应注意图像的第一项工作",
"1https://github.com/karpathy/neuraltalk"
] | {
"arxiv_id": "1612.01887",
"language": "zh",
"page_idx": 3
} |
||
1612.01887-zh-4 | 1612.01887-zh-4.jpg | <table>
<tbody>
<tr>
<th rowspan="2">Method</th>
<th colspan="6">Flickr30k</th>
<th colspan="6">MS- COCO</th>
</tr>
<tr>
<th>$B-1$</th>
<th>$B-2$</th>
<th>$B-3$</th>
<th>$B-4$</th>
<th>METEOR</th>
<th>CIDEr</th>
<th>$B-1$</th>
<th>$B-2$</th>
<th>$B-3$</th>
<th>$B-4$</th>
<th>METEOR</th>
<th>CIDE</th>
</tr>
<tr>
<td>DeepVS [11]</td>
<td>0.573</td>
<td>0.369</td>
<td>0.240</td>
<td>0.157</td>
<td>0.153</td>
<td>0.247</td>
<td>0.625</td>
<td>0.450</td>
<td>0.321</td>
<td>0.230</td>
<td>0.195</td>
<td>0.660</td>
</tr>
<tr>
<td>[30] Hard- Attention</td>
<td>0.669</td>
<td>0.439</td>
<td>0.296</td>
<td>0.199</td>
<td>0.185</td>
<td> </td>
<td>0.718</td>
<td>0.504</td>
<td>0.357</td>
<td>0.250</td>
<td>0.230</td>
<td>-</td>
</tr>
<tr>
<td>[34] ATT- FCN T 11</td>
<td>0.647</td>
<td>0.460</td>
<td>0.324</td>
<td>0.230</td>
<td>0.189</td>
<td> </td>
<td>0.709</td>
<td>0.537</td>
<td>0.402</td>
<td>0.304</td>
<td>0.243</td>
<td>-</td>
</tr>
<tr>
<td>[32] $ERD$</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td> </td>
<td> </td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>0.298</td>
<td>0.240</td>
<td>0.895</td>
</tr>
<tr>
<td>[33] MSM T</td>
<td>-</td>
<td> </td>
<td>-</td>
<td> </td>
<td> </td>
<td>-</td>
<td>0.730</td>
<td>0.565</td>
<td>0.429</td>
<td>0.325</td>
<td>0.251</td>
<td>0.986</td>
</tr>
<tr>
<td>Ours- Spatial</td>
<td>0.644</td>
<td>0.462</td>
<td>0.327</td>
<td>0.231</td>
<td>0.202</td>
<td>0.493</td>
<td>0.734</td>
<td>0.566</td>
<td>0.418</td>
<td>0.304</td>
<td>0.257</td>
<td>1.029</td>
</tr>
<tr>
<td>Ours- Adaptive</td>
<td>0.677</td>
<td>0.494</td>
<td>0.354</td>
<td>0.251</td>
<td>0.204</td>
<td>0.531</td>
<td>0.742</td>
<td>0.580</td>
<td>0.439</td>
<td>0.332</td>
<td>0.266</td>
<td>1.085</td>
</tr>
</tbody>
</table>
Table 1: Performance on Flickr30k and COCO test splits. + indicates ensemble models. B-n is BLEU score that uses up to n-grams. Higher is better in all columns. For future comparisons, our ROUGE-L/SPICE Flickr30k scores are 0.467/0.145 and the COCO scores are 0.549/0.194.
<table>
<tbody>
<tr>
<th rowspan="2">Method</th>
<th colspan="2">$B-1$</th>
<th colspan="2">$B-2$</th>
<th colspan="2">$B-3$</th>
<th colspan="2">$B-4$</th>
<th colspan="2">METEOR</th>
<th colspan="2">ROUGE-L</th>
<th colspan="2">CIDEr</th>
</tr>
<tr>
<th>$c5$</th>
<th>$c40$</th>
<th>$c5$</th>
<th>c40</th>
<th>$c5$</th>
<th>c40</th>
<th>$c5$</th>
<th>c40</th>
<th>$c5$</th>
<th>$c40$</th>
<th>$c5$</th>
<th>c40</th>
<th>$c5$</th>
<th>$c41$</th>
</tr>
<tr>
<td>;NIC $\left|27\right|$ Google</td>
<td>0.713</td>
<td>0.895</td>
<td>0.542</td>
<td>0.802</td>
<td>0.407</td>
<td>0.694</td>
<td>0.309</td>
<td>0.587</td>
<td>0.254</td>
<td>0.346</td>
<td>0.530</td>
<td>0.682</td>
<td>0.943</td>
<td>$0.9_{i}$</td>
</tr>
<tr>
<td>$MS$ Captivator V</td>
<td>0.715</td>
<td>0.907</td>
<td>0.543</td>
<td>0.819</td>
<td>0.407</td>
<td>0.710</td>
<td>0.308</td>
<td>0.601</td>
<td>0.248</td>
<td>0.339</td>
<td>0.526</td>
<td>0.680</td>
<td>0.931</td>
<td>0.9</td>
</tr>
<tr>
<td>m- RNN [18]</td>
<td>0.716</td>
<td>0.890</td>
<td>0.545</td>
<td>0.798</td>
<td>0.404</td>
<td>0.687</td>
<td>0.299</td>
<td>0.575</td>
<td>0.242</td>
<td>0.325</td>
<td>0.521</td>
<td>0.666</td>
<td>0.917</td>
<td>0.9</td>
</tr>
<tr>
<td>LRCN [7]</td>
<td>0.718</td>
<td>0.895</td>
<td>0.548</td>
<td>0.804</td>
<td>0.409</td>
<td>0.695</td>
<td>0.306</td>
<td>0.585</td>
<td>0.247</td>
<td>0.335</td>
<td>0.528</td>
<td>0.678</td>
<td>0.921</td>
<td>0.9</td>
</tr>
<tr>
<td>Hard- Attention [30]</td>
<td>0.705</td>
<td>0.881</td>
<td>0.528</td>
<td>0.779</td>
<td>0.383</td>
<td>0.658</td>
<td>0.277</td>
<td>0.537</td>
<td>0.241</td>
<td>0.322</td>
<td>0.516</td>
<td>0.654</td>
<td>0.865</td>
<td>0.8!</td>
</tr>
<tr>
<td>ATT- FCN [34]</td>
<td>0.731</td>
<td>0.900</td>
<td>0.565</td>
<td>0.815</td>
<td>0.424</td>
<td>0.709</td>
<td>0.316</td>
<td>0.599</td>
<td>0.250</td>
<td>0.335</td>
<td>0.535</td>
<td>0.682</td>
<td>0.943</td>
<td>0.9!</td>
</tr>
<tr>
<td>[32] $ERD$</td>
<td>0.720</td>
<td>0.900</td>
<td>0.550</td>
<td>0.812</td>
<td>0.414</td>
<td>0.705</td>
<td>0.313</td>
<td>0.597</td>
<td>0.256</td>
<td>0.347</td>
<td>0.533</td>
<td>0.686</td>
<td>0.965</td>
<td>0.9(</td>
</tr>
<tr>
<td>MSM [33]</td>
<td>0.739</td>
<td>0.919</td>
<td>0.575</td>
<td>0.842</td>
<td>0.436</td>
<td>0.740</td>
<td>0.330</td>
<td>0.632</td>
<td>0.256</td>
<td>0.350</td>
<td>0.542</td>
<td>0.700</td>
<td>0.984</td>
<td>1.0(</td>
</tr>
<tr>
<td>Ours- Adaptive</td>
<td>0.748</td>
<td>0.920</td>
<td>0.584</td>
<td>0.845</td>
<td>0.444</td>
<td>0.744</td>
<td>0.336</td>
<td>0.637</td>
<td>0.264</td>
<td>0.359</td>
<td>0.550</td>
<td>0.705</td>
<td>1.042</td>
<td>1.0</td>
</tr>
</tbody>
</table>
Table 2: Leaderboard of the published state-of-the-art image captioning models on the online COCO testing server.
Our submission is a ensemble of 5 models trained with different initialization.
我们将我们的模型与表$\overline{\mathrm{E}}$2 中 COCO 评估服务器上的最新系统进行了比较。我们可以看到,我们的方法在已发布的系统中的所有指标上都实现了最佳性能。值得注意的是,GoogleNIC, ERD 和 MSM 使用 Inceptionv3 [25] 作为编码器,与 ResNet-152 [10] (这是我们的模型所使用的)相比,它具有相似或更好的分类性能
圈”,“女人”和“滑雪板”等视觉词,我们的模型分配了较高的视觉接地概率 (超过0。9)。请注意,当在不同的上下文中生成相同的单词时,可能会分配不同的视觉基础概率。例如,单词“a”通常在句子开头具有很高的视觉基础概率,因为在没有任何语言上下文的情况下,模型需要视觉信息来确定多个(或不)。另一方面,短语“在桌子上”中“a”的视觉接地概率要低得多。。因为某物不太可能在一张以上的桌子上。
# 5.3. Qualitative Analysis
# 5.4. Adaptive Attention Analysis
在本节中,我们分析了我们的方法产生的自适应注意力。我们可视化哨兵门,以了解“何时”我们的模型在生成标题时关注图像。我们还使用生成的注意力地图对 COCO 类别执行弱监督本地化。这可以帮助我们直观地了解我们的模型参加的“位置”,以及它是否参加了正确的区域。
为了更好地理解我们的模型,我们首先在生成的标题中可视化不同单词的空间注意力权重$\alpha$ 。我们只需使用双线性插值将注意力权重上采样为图像大小$(224\times224)$。Fig。4 显示生成的字幕和字幕中特定单词的空间注意力图。前两列是成功示例,最后一列显示失败示例。我们看到我们的模型学习了与人类直觉强烈对应的对齐方式。请注意,即使在模型产生不准确的字幕的情况下,我们也会看到我们的模型确实会查看图像中的合理区域-它似乎无法计数或识别纹理和细粒度类别。我们在补充材料中提供了更广泛的可视化列表
我们进一步可视化生成标题时的哨兵门。对于每个单词,我们使用$1-\beta$作为其视觉基础概率。InFig。5 ,我们将生成的标题、视觉接地概率和我们的模型为每个单词生成的空间注意力图可视化。我们的模型成功地学会了在生成诸如“of”和“a”之类的非视觉单词时较少地关注图像。对于“红色”,“玫瑰”,“甜甜
5.4.1 Learning“when”to attend
为了评估我们的模型是否学会了将字幕中的视觉单词与非视觉单词分开,我们可视化了视觉基础概率。对于词汇表中的每个单词,我们对包含该单词的所有生成的字幕的视觉基础概率进行平均。Fig。6 显示了COCO 和 Flickr30k 上的秩概率图
我们发现,我们的模型在生成诸如“菜”,“人”,“猫”,“船”之类的对象词时, | [
[
"0.3628",
"0.0947",
"0.4248",
"0.0947",
"0.4248",
"0.1092",
"0.3628",
"0.1092"
],
[
"0.705",
"0.09534",
"0.774",
"0.09534",
"0.774",
"0.1067",
"0.705",
"0.1067"
],
[
"0.08826",
"0.113",
"0.1405",
"0.113",
"0.1405",
"0.125",
"0.08826",
"0.125"
],
[
"0.232",
"0.113",
"0.259",
"0.113",
"0.259",
"0.1256",
"0.232",
"0.1256"
],
[
"0.2834",
"0.113",
"0.3105",
"0.113",
"0.3105",
"0.1256",
"0.2834",
"0.1256"
],
[
"0.335",
"0.113",
"0.3628",
"0.113",
"0.3628",
"0.1256",
"0.335",
"0.1256"
],
[
"0.3857",
"0.113",
"0.4143",
"0.113",
"0.4143",
"0.1256",
"0.3857",
"0.1256"
],
[
"0.4314",
"0.113",
"0.4983",
"0.113",
"0.4983",
"0.125",
"0.4314",
"0.125"
],
[
"0.5146",
"0.113",
"0.558",
"0.113",
"0.558",
"0.125",
"0.5146",
"0.125"
],
[
"0.5786",
"0.113",
"0.6055",
"0.113",
"0.6055",
"0.1256",
"0.5786",
"0.1256"
],
[
"0.6284",
"0.113",
"0.6567",
"0.113",
"0.6567",
"0.1256",
"0.6284",
"0.1256"
],
[
"0.6807",
"0.113",
"0.709",
"0.113",
"0.709",
"0.1256",
"0.6807",
"0.1256"
],
[
"0.7305",
"0.113",
"0.759",
"0.113",
"0.759",
"0.1256",
"0.7305",
"0.1256"
],
[
"0.777",
"0.11426",
"0.8433",
"0.11426",
"0.8433",
"0.125",
"0.777",
"0.125"
],
[
"0.859",
"0.11237",
"0.9062",
"0.11237",
"0.9062",
"0.127",
"0.859",
"0.127"
],
[
"0.2255",
"0.13",
"0.2656",
"0.13",
"0.2656",
"0.1445",
"0.2255",
"0.1445"
],
[
"0.327",
"0.13",
"0.3677",
"0.13",
"0.3677",
"0.1445",
"0.327",
"0.1445"
],
[
"0.6216",
"0.13",
"0.6626",
"0.13",
"0.6626",
"0.1445",
"0.6216",
"0.1445"
],
[
"0.6724",
"0.13",
"0.7134",
"0.13",
"0.7134",
"0.1445",
"0.6724",
"0.1445"
],
[
"0.38",
"0.1307",
"0.4182",
"0.1307",
"0.4182",
"0.1445",
"0.38",
"0.1445"
],
[
"0.2778",
"0.1307",
"0.3162",
"0.1307",
"0.3162",
"0.1445",
"0.2778",
"0.1445"
],
[
"0.4468",
"0.1307",
"0.4844",
"0.1307",
"0.4844",
"0.1445",
"0.4468",
"0.1445"
],
[
"0.517",
"0.1307",
"0.5557",
"0.1307",
"0.5557",
"0.1445",
"0.517",
"0.1445"
],
[
"0.5728",
"0.1307",
"0.6113",
"0.1307",
"0.6113",
"0.1445",
"0.5728",
"0.1445"
],
[
"0.7256",
"0.1307",
"0.763",
"0.1307",
"0.763",
"0.1445",
"0.7256",
"0.1445"
],
[
"0.7935",
"0.1307",
"0.831",
"0.1307",
"0.831",
"0.1445",
"0.7935",
"0.1445"
],
[
"0.864",
"0.132",
"0.902",
"0.132",
"0.902",
"0.1433",
"0.864",
"0.1433"
],
[
"0.08905",
"0.1414",
"0.2115",
"0.1427",
"0.2115",
"0.1559",
"0.08905",
"0.1547"
],
[
"0.08905",
"0.132",
"0.1683",
"0.132",
"0.1683",
"0.1433",
"0.08905",
"0.1433"
],
[
"0.2255",
"0.1427",
"0.2656",
"0.1427",
"0.2656",
"0.1572",
"0.2255",
"0.1572"
],
[
"0.327",
"0.1427",
"0.3677",
"0.1427",
"0.3677",
"0.1572",
"0.327",
"0.1572"
],
[
"0.6235",
"0.1414",
"0.661",
"0.1433",
"0.66",
"0.1578",
"0.6216",
"0.1559"
],
[
"0.38",
"0.1433",
"0.4167",
"0.1433",
"0.4167",
"0.1547",
"0.38",
"0.1547"
],
[
"0.2778",
"0.1433",
"0.3162",
"0.1433",
"0.3162",
"0.1572",
"0.2778",
"0.1572"
],
[
"0.4468",
"0.1433",
"0.4844",
"0.1433",
"0.4844",
"0.1572",
"0.4468",
"0.1572"
],
[
"0.5728",
"0.1433",
"0.6113",
"0.1433",
"0.6113",
"0.1572",
"0.5728",
"0.1572"
],
[
"0.675",
"0.1433",
"0.7114",
"0.1433",
"0.7114",
"0.1547",
"0.675",
"0.1547"
],
[
"0.7256",
"0.1433",
"0.763",
"0.1433",
"0.763",
"0.1572",
"0.7256",
"0.1572"
],
[
"0.7935",
"0.1433",
"0.831",
"0.1433",
"0.831",
"0.1572",
"0.7935",
"0.1572"
],
[
"0.08826",
"0.1515",
"0.1936",
"0.1547",
"0.1936",
"0.1692",
"0.08826",
"0.1666"
],
[
"0.2263",
"0.1559",
"0.2646",
"0.1559",
"0.2646",
"0.1674",
"0.2263",
"0.1674"
],
[
"0.2769",
"0.1559",
"0.3145",
"0.1559",
"0.3145",
"0.1674",
"0.2769",
"0.1674"
],
[
"0.327",
"0.1559",
"0.367",
"0.1559",
"0.367",
"0.1674",
"0.327",
"0.1674"
],
[
"0.38",
"0.1559",
"0.4182",
"0.1559",
"0.4182",
"0.1674",
"0.38",
"0.1674"
],
[
"0.4468",
"0.1559",
"0.4844",
"0.1559",
"0.4844",
"0.1692",
"0.4468",
"0.1692"
],
[
"0.5728",
"0.1559",
"0.6113",
"0.1559",
"0.6113",
"0.1674",
"0.5728",
"0.1674"
],
[
"0.6235",
"0.1559",
"0.661",
"0.1559",
"0.661",
"0.1674",
"0.6235",
"0.1674"
],
[
"0.6733",
"0.1559",
"0.7134",
"0.1559",
"0.7134",
"0.1674",
"0.6733",
"0.1674"
],
[
"0.7256",
"0.1559",
"0.763",
"0.1559",
"0.763",
"0.1674",
"0.7256",
"0.1674"
],
[
"0.7935",
"0.1559",
"0.83",
"0.1559",
"0.83",
"0.1674",
"0.7935",
"0.1674"
],
[
"0.08905",
"0.1666",
"0.1503",
"0.1666",
"0.1503",
"0.1812",
"0.08905",
"0.1812"
],
[
"0.726",
"0.1674",
"0.761",
"0.1674",
"0.761",
"0.1799",
"0.726",
"0.1799"
],
[
"0.7935",
"0.1674",
"0.831",
"0.1674",
"0.831",
"0.1812",
"0.7935",
"0.1812"
],
[
"0.864",
"0.1674",
"0.902",
"0.1674",
"0.902",
"0.1812",
"0.864",
"0.1812"
],
[
"0.0866",
"0.178",
"0.165",
"0.1799",
"0.165",
"0.1945",
"0.0866",
"0.1925"
],
[
"0.5728",
"0.1812",
"0.6113",
"0.1812",
"0.6113",
"0.1925",
"0.5728",
"0.1925"
],
[
"0.6216",
"0.1812",
"0.661",
"0.1812",
"0.661",
"0.1925",
"0.6216",
"0.1925"
],
[
"0.6733",
"0.1812",
"0.714",
"0.1812",
"0.714",
"0.1925",
"0.6733",
"0.1925"
],
[
"0.7256",
"0.1812",
"0.763",
"0.1812",
"0.763",
"0.1925",
"0.7256",
"0.1925"
],
[
"0.7935",
"0.1812",
"0.8286",
"0.1812",
"0.8286",
"0.1925",
"0.7935",
"0.1925"
],
[
"0.864",
"0.1812",
"0.902",
"0.1812",
"0.902",
"0.1925",
"0.864",
"0.1925"
],
[
"0.3464",
"0.1831",
"0.3545",
"0.1895",
"0.3472",
"0.1932",
"0.3406",
"0.1881"
],
[
"0.2427",
"0.1849",
"0.2484",
"0.1849",
"0.2484",
"0.1913",
"0.2427",
"0.1913"
],
[
"0.2942",
"0.1849",
"0.298",
"0.1849",
"0.298",
"0.1913",
"0.2942",
"0.1913"
],
[
"0.3962",
"0.1849",
"0.4019",
"0.1849",
"0.4019",
"0.1913",
"0.3962",
"0.1913"
],
[
"0.4631",
"0.1863",
"0.4673",
"0.1863",
"0.4673",
"0.1913",
"0.4631",
"0.1913"
],
[
"0.08905",
"0.1989",
"0.1708",
"0.1989",
"0.1708",
"0.2102",
"0.08905",
"0.2102"
],
[
"0.2255",
"0.1963",
"0.2656",
"0.1963",
"0.2656",
"0.2108",
"0.2255",
"0.2108"
],
[
"0.2778",
"0.1989",
"0.3145",
"0.1989",
"0.3145",
"0.2102",
"0.2778",
"0.2102"
],
[
"0.3284",
"0.1989",
"0.3652",
"0.1989",
"0.3652",
"0.2102",
"0.3284",
"0.2102"
],
[
"0.38",
"0.1989",
"0.415",
"0.1989",
"0.415",
"0.2108",
"0.38",
"0.2108"
],
[
"0.4468",
"0.1989",
"0.4836",
"0.1989",
"0.4836",
"0.2102",
"0.4468",
"0.2102"
],
[
"0.517",
"0.1989",
"0.5557",
"0.1989",
"0.5557",
"0.2102",
"0.517",
"0.2102"
],
[
"0.5728",
"0.1989",
"0.6113",
"0.1989",
"0.6113",
"0.2102",
"0.5728",
"0.2102"
],
[
"0.6235",
"0.1989",
"0.661",
"0.1989",
"0.661",
"0.2102",
"0.6235",
"0.2102"
],
[
"0.675",
"0.1989",
"0.7134",
"0.1989",
"0.7134",
"0.2102",
"0.675",
"0.2102"
],
[
"0.7256",
"0.1989",
"0.763",
"0.1989",
"0.763",
"0.2102",
"0.7256",
"0.2102"
],
[
"0.7935",
"0.1989",
"0.83",
"0.1989",
"0.83",
"0.2102",
"0.7935",
"0.2102"
],
[
"0.865",
"0.1989",
"0.902",
"0.1989",
"0.902",
"0.2102",
"0.865",
"0.2102"
],
[
"0.7915",
"0.2084",
"0.831",
"0.2102",
"0.83",
"0.2247",
"0.79",
"0.2229"
],
[
"0.863",
"0.2084",
"0.902",
"0.2102",
"0.9004",
"0.2247",
"0.8613",
"0.2229"
],
[
"0.517",
"0.2102",
"0.5557",
"0.2102",
"0.5557",
"0.2235",
"0.517",
"0.2235"
],
[
"0.0907",
"0.2108",
"0.1805",
"0.2108",
"0.1805",
"0.2229",
"0.0907",
"0.2229"
],
[
"0.2263",
"0.2108",
"0.2646",
"0.2108",
"0.2646",
"0.2247",
"0.2263",
"0.2247"
],
[
"0.2778",
"0.2108",
"0.3145",
"0.2108",
"0.3145",
"0.2229",
"0.2778",
"0.2229"
],
[
"0.327",
"0.2102",
"0.3677",
"0.2102",
"0.3677",
"0.2247",
"0.327",
"0.2247"
],
[
"0.3816",
"0.2108",
"0.415",
"0.2108",
"0.415",
"0.2235",
"0.3816",
"0.2235"
],
[
"0.4468",
"0.2108",
"0.4844",
"0.2108",
"0.4844",
"0.2247",
"0.4468",
"0.2247"
],
[
"0.5728",
"0.2108",
"0.6113",
"0.2108",
"0.6113",
"0.2247",
"0.5728",
"0.2247"
],
[
"0.6235",
"0.2108",
"0.661",
"0.2108",
"0.661",
"0.2229",
"0.6235",
"0.2229"
],
[
"0.675",
"0.2108",
"0.7114",
"0.2108",
"0.7114",
"0.2229",
"0.675",
"0.2229"
],
[
"0.7256",
"0.2108",
"0.763",
"0.2108",
"0.763",
"0.2247",
"0.7256",
"0.2247"
],
[
"0.0801",
"0.2393",
"0.892",
"0.2393",
"0.892",
"0.2524",
"0.0801",
"0.2524"
],
[
"0.0801",
"0.2551",
"0.2378",
"0.2551",
"0.2378",
"0.2683",
"0.0801",
"0.2683"
],
[
"0.2303",
"0.2556",
"0.4756",
"0.2556",
"0.4756",
"0.2664",
"0.2303",
"0.2664"
],
[
"0.468",
"0.254",
"0.892",
"0.254",
"0.892",
"0.2683",
"0.468",
"0.2683"
],
[
"0.0784",
"0.2695",
"0.5186",
"0.2683",
"0.5186",
"0.2822",
"0.0784",
"0.2827"
],
[
"0.562",
"0.303",
"0.5933",
"0.303",
"0.5933",
"0.318",
"0.562",
"0.318"
],
[
"0.744",
"0.303",
"0.8164",
"0.303",
"0.8164",
"0.3176",
"0.744",
"0.3176"
],
[
"0.3594",
"0.3037",
"0.3882",
"0.3037",
"0.3882",
"0.318",
"0.3594",
"0.318"
],
[
"0.2573",
"0.3037",
"0.286",
"0.3037",
"0.286",
"0.318",
"0.2573",
"0.318"
],
[
"0.6445",
"0.3037",
"0.7134",
"0.3037",
"0.7134",
"0.318",
"0.6445",
"0.318"
],
[
"0.8613",
"0.3037",
"0.9062",
"0.3037",
"0.9062",
"0.318",
"0.8613",
"0.318"
],
[
"0.2361",
"0.3193",
"0.2573",
"0.324",
"0.2532",
"0.3372",
"0.232",
"0.334"
],
[
"0.4617",
"0.305",
"0.4885",
"0.305",
"0.4885",
"0.3176",
"0.4617",
"0.3176"
],
[
"0.5415",
"0.3213",
"0.5645",
"0.3213",
"0.5645",
"0.3352",
"0.5415",
"0.3352"
],
[
"0.7466",
"0.3193",
"0.7686",
"0.324",
"0.7646",
"0.3372",
"0.7427",
"0.334"
],
[
"0.2834",
"0.3225",
"0.3105",
"0.3225",
"0.3105",
"0.3352",
"0.2834",
"0.3352"
],
[
"0.08826",
"0.3225",
"0.1405",
"0.3225",
"0.1405",
"0.334",
"0.08826",
"0.334"
],
[
"0.3381",
"0.3225",
"0.3586",
"0.3225",
"0.3586",
"0.3352",
"0.3381",
"0.3352"
],
[
"0.3857",
"0.3225",
"0.4126",
"0.3225",
"0.4126",
"0.3352",
"0.3857",
"0.3352"
],
[
"0.4387",
"0.3225",
"0.4617",
"0.3225",
"0.4617",
"0.3352",
"0.4387",
"0.3352"
],
[
"0.4885",
"0.3225",
"0.5156",
"0.3225",
"0.5156",
"0.3352",
"0.4885",
"0.3352"
],
[
"0.589",
"0.3225",
"0.6177",
"0.3225",
"0.6177",
"0.3352",
"0.589",
"0.3352"
],
[
"0.6436",
"0.3225",
"0.6665",
"0.3225",
"0.6665",
"0.3352",
"0.6436",
"0.3352"
],
[
"0.6914",
"0.3225",
"0.7197",
"0.3225",
"0.7197",
"0.3352",
"0.6914",
"0.3352"
],
[
"0.7935",
"0.3225",
"0.8203",
"0.3225",
"0.8203",
"0.3352",
"0.7935",
"0.3352"
],
[
"0.847",
"0.3225",
"0.869",
"0.3225",
"0.869",
"0.3352",
"0.847",
"0.3352"
],
[
"0.8945",
"0.3225",
"0.9233",
"0.3225",
"0.9233",
"0.3352",
"0.8945",
"0.3352"
],
[
"0.0866",
"0.3384",
"0.1896",
"0.339",
"0.1896",
"0.3542",
"0.0866",
"0.3528"
],
[
"0.2279",
"0.3384",
"0.2646",
"0.3403",
"0.2632",
"0.3528",
"0.2263",
"0.351"
],
[
"0.327",
"0.339",
"0.3677",
"0.339",
"0.3677",
"0.3542",
"0.327",
"0.3542"
],
[
"0.584",
"0.339",
"0.621",
"0.3416",
"0.619",
"0.3528",
"0.5825",
"0.351"
],
[
"0.634",
"0.339",
"0.675",
"0.339",
"0.675",
"0.3542",
"0.634",
"0.3542"
],
[
"0.786",
"0.339",
"0.8267",
"0.339",
"0.8267",
"0.3542",
"0.786",
"0.3542"
],
[
"0.8906",
"0.3384",
"0.9287",
"0.3403",
"0.9272",
"0.3528",
"0.8896",
"0.351"
],
[
"0.38",
"0.3403",
"0.4182",
"0.3403",
"0.4182",
"0.3516",
"0.38",
"0.3516"
],
[
"0.2769",
"0.3403",
"0.3162",
"0.3403",
"0.3162",
"0.3516",
"0.2769",
"0.3516"
],
[
"0.4307",
"0.3403",
"0.4673",
"0.3403",
"0.4673",
"0.3516",
"0.4307",
"0.3516"
],
[
"0.482",
"0.3403",
"0.5195",
"0.3403",
"0.5195",
"0.3542",
"0.482",
"0.3542"
],
[
"0.5317",
"0.3403",
"0.5703",
"0.3403",
"0.5703",
"0.3516",
"0.5317",
"0.3516"
],
[
"0.6855",
"0.3403",
"0.7236",
"0.3403",
"0.7236",
"0.3516",
"0.6855",
"0.3516"
],
[
"0.7363",
"0.3403",
"0.7754",
"0.3403",
"0.7754",
"0.3516",
"0.7363",
"0.3516"
],
[
"0.839",
"0.3403",
"0.8774",
"0.3403",
"0.8774",
"0.3516",
"0.839",
"0.3516"
],
[
"0.0866",
"0.351",
"0.2018",
"0.3516",
"0.2018",
"0.3662",
"0.0866",
"0.3655"
],
[
"0.2263",
"0.3528",
"0.2646",
"0.3528",
"0.2646",
"0.3643",
"0.2263",
"0.3643"
],
[
"0.2778",
"0.3528",
"0.3145",
"0.3528",
"0.3145",
"0.3643",
"0.2778",
"0.3643"
],
[
"0.3284",
"0.3528",
"0.367",
"0.3528",
"0.367",
"0.3643",
"0.3284",
"0.3643"
],
[
"0.3782",
"0.3528",
"0.4182",
"0.3528",
"0.4182",
"0.3643",
"0.3782",
"0.3643"
],
[
"0.4307",
"0.3528",
"0.4673",
"0.3528",
"0.4673",
"0.3643",
"0.4307",
"0.3643"
],
[
"0.482",
"0.3528",
"0.5195",
"0.3528",
"0.5195",
"0.3643",
"0.482",
"0.3643"
],
[
"0.5317",
"0.3528",
"0.5703",
"0.3528",
"0.5703",
"0.3643",
"0.5317",
"0.3643"
],
[
"0.584",
"0.3528",
"0.621",
"0.3528",
"0.621",
"0.3643",
"0.584",
"0.3643"
],
[
"0.6357",
"0.3528",
"0.6733",
"0.3528",
"0.6733",
"0.3643",
"0.6357",
"0.3643"
],
[
"0.6855",
"0.3528",
"0.7236",
"0.3528",
"0.7236",
"0.3643",
"0.6855",
"0.3643"
],
[
"0.7363",
"0.3528",
"0.7754",
"0.3528",
"0.7754",
"0.3643",
"0.7363",
"0.3643"
],
[
"0.7876",
"0.3528",
"0.826",
"0.3528",
"0.826",
"0.3643",
"0.7876",
"0.3643"
],
[
"0.839",
"0.3528",
"0.876",
"0.3528",
"0.876",
"0.3643",
"0.839",
"0.3643"
],
[
"0.8906",
"0.3528",
"0.9272",
"0.3528",
"0.9272",
"0.3643",
"0.8906",
"0.3643"
],
[
"0.2255",
"0.363",
"0.2656",
"0.363",
"0.2656",
"0.3774",
"0.2255",
"0.3774"
],
[
"0.2754",
"0.363",
"0.3162",
"0.363",
"0.3162",
"0.3774",
"0.2754",
"0.3774"
],
[
"0.3782",
"0.363",
"0.4182",
"0.3655",
"0.4167",
"0.3774",
"0.3774",
"0.3757"
],
[
"0.5317",
"0.363",
"0.5703",
"0.3655",
"0.569",
"0.3774",
"0.5312",
"0.3757"
],
[
"0.6855",
"0.363",
"0.7236",
"0.3655",
"0.722",
"0.3774",
"0.6846",
"0.3757"
],
[
"0.7363",
"0.363",
"0.773",
"0.3655",
"0.7715",
"0.3774",
"0.7344",
"0.3757"
],
[
"0.8364",
"0.363",
"0.8774",
"0.363",
"0.8774",
"0.3774",
"0.8364",
"0.3774"
],
[
"0.3284",
"0.3655",
"0.367",
"0.3655",
"0.367",
"0.377",
"0.3284",
"0.377"
],
[
"0.0907",
"0.3655",
"0.165",
"0.3655",
"0.165",
"0.377",
"0.0907",
"0.377"
],
[
"0.4307",
"0.3655",
"0.4673",
"0.3655",
"0.4673",
"0.377",
"0.4307",
"0.377"
],
[
"0.482",
"0.3655",
"0.5186",
"0.3655",
"0.5186",
"0.377",
"0.482",
"0.377"
],
[
"0.584",
"0.3655",
"0.621",
"0.3655",
"0.621",
"0.377",
"0.584",
"0.377"
],
[
"0.6357",
"0.3655",
"0.6733",
"0.3655",
"0.6733",
"0.377",
"0.6357",
"0.377"
],
[
"0.7876",
"0.3655",
"0.826",
"0.3655",
"0.826",
"0.377",
"0.7876",
"0.377"
],
[
"0.8896",
"0.3655",
"0.9272",
"0.3655",
"0.9272",
"0.377",
"0.8896",
"0.377"
],
[
"0.0907",
"0.377",
"0.1503",
"0.377",
"0.1503",
"0.3882",
"0.0907",
"0.3882"
],
[
"0.2263",
"0.377",
"0.2646",
"0.377",
"0.2646",
"0.3882",
"0.2263",
"0.3882"
],
[
"0.2778",
"0.377",
"0.3145",
"0.377",
"0.3145",
"0.3882",
"0.2778",
"0.3882"
],
[
"0.3284",
"0.377",
"0.3652",
"0.377",
"0.3652",
"0.3882",
"0.3284",
"0.3882"
],
[
"0.38",
"0.377",
"0.4182",
"0.377",
"0.4182",
"0.3882",
"0.38",
"0.3882"
],
[
"0.4307",
"0.377",
"0.468",
"0.377",
"0.468",
"0.3882",
"0.4307",
"0.3882"
],
[
"0.482",
"0.377",
"0.5195",
"0.377",
"0.5195",
"0.3882",
"0.482",
"0.3882"
],
[
"0.5312",
"0.3757",
"0.572",
"0.3757",
"0.572",
"0.3901",
"0.5312",
"0.3901"
],
[
"0.584",
"0.377",
"0.621",
"0.377",
"0.621",
"0.3882",
"0.584",
"0.3882"
],
[
"0.6357",
"0.377",
"0.6724",
"0.377",
"0.6724",
"0.3882",
"0.6357",
"0.3882"
],
[
"0.6855",
"0.377",
"0.7236",
"0.377",
"0.7236",
"0.3882",
"0.6855",
"0.3882"
],
[
"0.7363",
"0.377",
"0.7754",
"0.377",
"0.7754",
"0.3882",
"0.7363",
"0.3882"
],
[
"0.7876",
"0.377",
"0.826",
"0.377",
"0.826",
"0.3882",
"0.7876",
"0.3882"
],
[
"0.839",
"0.377",
"0.876",
"0.377",
"0.876",
"0.3882",
"0.839",
"0.3882"
],
[
"0.8906",
"0.377",
"0.9272",
"0.377",
"0.9272",
"0.3882",
"0.8906",
"0.3882"
],
[
"0.08905",
"0.3882",
"0.2133",
"0.3882",
"0.2133",
"0.4016",
"0.08905",
"0.4016"
],
[
"0.2263",
"0.3894",
"0.2646",
"0.3894",
"0.2646",
"0.401",
"0.2263",
"0.401"
],
[
"0.2769",
"0.3894",
"0.3137",
"0.3894",
"0.3137",
"0.401",
"0.2769",
"0.401"
],
[
"0.3284",
"0.3894",
"0.367",
"0.3894",
"0.367",
"0.401",
"0.3284",
"0.401"
],
[
"0.3782",
"0.3894",
"0.4182",
"0.3894",
"0.4182",
"0.401",
"0.3782",
"0.401"
],
[
"0.4314",
"0.3894",
"0.468",
"0.3894",
"0.468",
"0.401",
"0.4314",
"0.401"
],
[
"0.482",
"0.3894",
"0.5195",
"0.3894",
"0.5195",
"0.401",
"0.482",
"0.401"
],
[
"0.5317",
"0.3894",
"0.5703",
"0.3894",
"0.5703",
"0.401",
"0.5317",
"0.401"
],
[
"0.584",
"0.3894",
"0.619",
"0.3894",
"0.619",
"0.401",
"0.584",
"0.401"
],
[
"0.6357",
"0.3894",
"0.6724",
"0.3894",
"0.6724",
"0.401",
"0.6357",
"0.401"
],
[
"0.6855",
"0.3894",
"0.7236",
"0.3894",
"0.7236",
"0.401",
"0.6855",
"0.401"
],
[
"0.7363",
"0.3894",
"0.7754",
"0.3894",
"0.7754",
"0.401",
"0.7363",
"0.401"
],
[
"0.7876",
"0.3894",
"0.826",
"0.3894",
"0.826",
"0.401",
"0.7876",
"0.401"
],
[
"0.839",
"0.3894",
"0.8774",
"0.3894",
"0.8774",
"0.401",
"0.839",
"0.401"
],
[
"0.8896",
"0.3894",
"0.9272",
"0.3894",
"0.9272",
"0.401",
"0.8896",
"0.401"
],
[
"0.08826",
"0.3965",
"0.183",
"0.3997",
"0.183",
"0.414",
"0.08826",
"0.411"
],
[
"0.3782",
"0.3984",
"0.4167",
"0.401",
"0.415",
"0.4136",
"0.3774",
"0.411"
],
[
"0.482",
"0.3984",
"0.5186",
"0.401",
"0.517",
"0.4136",
"0.4805",
"0.411"
],
[
"0.8906",
"0.3984",
"0.9272",
"0.401",
"0.9263",
"0.4136",
"0.8896",
"0.411"
],
[
"0.6846",
"0.3997",
"0.7256",
"0.3997",
"0.7256",
"0.414",
"0.6846",
"0.414"
],
[
"0.327",
"0.3997",
"0.3677",
"0.3997",
"0.3677",
"0.414",
"0.327",
"0.414"
],
[
"0.7363",
"0.3997",
"0.777",
"0.3997",
"0.777",
"0.414",
"0.7363",
"0.414"
],
[
"0.2778",
"0.401",
"0.3145",
"0.401",
"0.3145",
"0.4124",
"0.2778",
"0.4124"
],
[
"0.2263",
"0.401",
"0.2646",
"0.401",
"0.2646",
"0.414",
"0.2263",
"0.414"
],
[
"0.4314",
"0.401",
"0.4697",
"0.401",
"0.4697",
"0.414",
"0.4314",
"0.414"
],
[
"0.5337",
"0.401",
"0.572",
"0.401",
"0.572",
"0.414",
"0.5337",
"0.414"
],
[
"0.584",
"0.401",
"0.621",
"0.401",
"0.621",
"0.4124",
"0.584",
"0.4124"
],
[
"0.6357",
"0.401",
"0.6733",
"0.401",
"0.6733",
"0.414",
"0.6357",
"0.414"
],
[
"0.7876",
"0.401",
"0.824",
"0.401",
"0.824",
"0.4124",
"0.7876",
"0.4124"
],
[
"0.839",
"0.401",
"0.876",
"0.401",
"0.876",
"0.4124",
"0.839",
"0.4124"
],
[
"0.3782",
"0.411",
"0.4182",
"0.4136",
"0.4167",
"0.4268",
"0.3774",
"0.4248"
],
[
"0.786",
"0.4124",
"0.8267",
"0.4124",
"0.8267",
"0.4268",
"0.786",
"0.4268"
],
[
"0.2263",
"0.4136",
"0.2646",
"0.4136",
"0.2646",
"0.4248",
"0.2263",
"0.4248"
],
[
"0.0907",
"0.4136",
"0.1487",
"0.4136",
"0.1487",
"0.4248",
"0.0907",
"0.4248"
],
[
"0.2778",
"0.4136",
"0.3145",
"0.4136",
"0.3145",
"0.4248",
"0.2778",
"0.4248"
],
[
"0.3284",
"0.4136",
"0.367",
"0.4136",
"0.367",
"0.4248",
"0.3284",
"0.4248"
],
[
"0.4307",
"0.4136",
"0.468",
"0.4136",
"0.468",
"0.4248",
"0.4307",
"0.4248"
],
[
"0.482",
"0.4136",
"0.5186",
"0.4136",
"0.5186",
"0.4248",
"0.482",
"0.4248"
],
[
"0.5317",
"0.4136",
"0.5703",
"0.4136",
"0.5703",
"0.4248",
"0.5317",
"0.4248"
],
[
"0.585",
"0.4136",
"0.621",
"0.4136",
"0.621",
"0.4248",
"0.585",
"0.4248"
],
[
"0.6357",
"0.4136",
"0.6724",
"0.4136",
"0.6724",
"0.4248",
"0.6357",
"0.4248"
],
[
"0.6855",
"0.4136",
"0.7236",
"0.4136",
"0.7236",
"0.4248",
"0.6855",
"0.4248"
],
[
"0.738",
"0.4136",
"0.774",
"0.4136",
"0.774",
"0.4248",
"0.738",
"0.4248"
],
[
"0.839",
"0.4136",
"0.876",
"0.4136",
"0.876",
"0.4248",
"0.839",
"0.4248"
],
[
"0.8896",
"0.4136",
"0.9272",
"0.4136",
"0.9272",
"0.4248",
"0.8896",
"0.4248"
],
[
"0.08905",
"0.4236",
"0.1528",
"0.4236",
"0.1528",
"0.4382",
"0.08905",
"0.4382"
],
[
"0.2255",
"0.4236",
"0.2656",
"0.4236",
"0.2656",
"0.4382",
"0.2255",
"0.4382"
],
[
"0.327",
"0.4236",
"0.3677",
"0.4236",
"0.3677",
"0.4382",
"0.327",
"0.4382"
],
[
"0.5293",
"0.4236",
"0.572",
"0.4236",
"0.572",
"0.4382",
"0.5293",
"0.4382"
],
[
"0.6846",
"0.4236",
"0.7256",
"0.4236",
"0.7256",
"0.4382",
"0.6846",
"0.4382"
],
[
"0.7344",
"0.4236",
"0.777",
"0.4236",
"0.777",
"0.4382",
"0.7344",
"0.4382"
],
[
"0.785",
"0.4236",
"0.8267",
"0.4236",
"0.8267",
"0.4382",
"0.785",
"0.4382"
],
[
"0.3782",
"0.4248",
"0.4182",
"0.4248",
"0.4182",
"0.4363",
"0.3782",
"0.4363"
],
[
"0.2769",
"0.4248",
"0.3145",
"0.4248",
"0.3145",
"0.4363",
"0.2769",
"0.4363"
],
[
"0.4307",
"0.4248",
"0.468",
"0.4248",
"0.468",
"0.4382",
"0.4307",
"0.4382"
],
[
"0.482",
"0.4248",
"0.5195",
"0.4248",
"0.5195",
"0.4363",
"0.482",
"0.4363"
],
[
"0.584",
"0.4248",
"0.621",
"0.4248",
"0.621",
"0.4363",
"0.584",
"0.4363"
],
[
"0.6357",
"0.4248",
"0.6733",
"0.4248",
"0.6733",
"0.4382",
"0.6357",
"0.4382"
],
[
"0.839",
"0.4248",
"0.876",
"0.4248",
"0.876",
"0.4363",
"0.839",
"0.4363"
],
[
"0.8906",
"0.4248",
"0.9272",
"0.4248",
"0.9272",
"0.4363",
"0.8906",
"0.4363"
],
[
"0.08826",
"0.4343",
"0.1814",
"0.4363",
"0.1814",
"0.4507",
"0.08826",
"0.449"
],
[
"0.38",
"0.4343",
"0.4167",
"0.4363",
"0.415",
"0.449",
"0.3782",
"0.4463"
],
[
"0.585",
"0.4343",
"0.621",
"0.4363",
"0.619",
"0.449",
"0.584",
"0.4463"
],
[
"0.8906",
"0.4343",
"0.9272",
"0.4363",
"0.9263",
"0.449",
"0.8896",
"0.4463"
],
[
"0.33",
"0.435",
"0.367",
"0.4375",
"0.3652",
"0.4495",
"0.3284",
"0.4475"
],
[
"0.2263",
"0.435",
"0.2632",
"0.4375",
"0.2615",
"0.4495",
"0.2255",
"0.4475"
],
[
"0.482",
"0.435",
"0.5186",
"0.4375",
"0.517",
"0.4495",
"0.4805",
"0.4475"
],
[
"0.5337",
"0.435",
"0.5703",
"0.4375",
"0.569",
"0.4495",
"0.5317",
"0.4475"
],
[
"0.6357",
"0.435",
"0.6724",
"0.4375",
"0.671",
"0.4495",
"0.634",
"0.4475"
],
[
"0.6855",
"0.435",
"0.7236",
"0.4375",
"0.722",
"0.4495",
"0.6846",
"0.4475"
],
[
"0.7876",
"0.4363",
"0.826",
"0.4363",
"0.826",
"0.4495",
"0.7876",
"0.4495"
],
[
"0.841",
"0.4363",
"0.876",
"0.4363",
"0.876",
"0.449",
"0.841",
"0.449"
],
[
"0.4314",
"0.4375",
"0.468",
"0.4375",
"0.468",
"0.449",
"0.4314",
"0.449"
],
[
"0.2778",
"0.4363",
"0.3145",
"0.4363",
"0.3145",
"0.4475",
"0.2778",
"0.4475"
],
[
"0.738",
"0.4375",
"0.774",
"0.4375",
"0.774",
"0.449",
"0.738",
"0.449"
],
[
"0.0801",
"0.4634",
"0.8906",
"0.464",
"0.8906",
"0.4792",
"0.0801",
"0.4778"
],
[
"0.0801",
"0.4792",
"0.636",
"0.4797",
"0.636",
"0.4944",
"0.0801",
"0.4937"
],
[
"0.10046",
"0.511",
"0.468",
"0.511",
"0.468",
"0.5244",
"0.10046",
"0.5244"
],
[
"0.5024",
"0.5103",
"0.892",
"0.511",
"0.892",
"0.526",
"0.5024",
"0.5244"
],
[
"0.0809",
"0.5264",
"0.468",
"0.5264",
"0.468",
"0.5405",
"0.0809",
"0.5405"
],
[
"0.505",
"0.5264",
"0.8906",
"0.5264",
"0.8906",
"0.5405",
"0.505",
"0.5405"
],
[
"0.0809",
"0.5415",
"0.4673",
"0.5415",
"0.4673",
"0.5547",
"0.0809",
"0.5547"
],
[
"0.5034",
"0.5415",
"0.8906",
"0.5415",
"0.8906",
"0.556",
"0.5034",
"0.556"
],
[
"0.0809",
"0.5566",
"0.4673",
"0.5566",
"0.4673",
"0.571",
"0.0809",
"0.571"
],
[
"0.5024",
"0.5547",
"0.8896",
"0.556",
"0.8896",
"0.571",
"0.5024",
"0.5693"
],
[
"0.0809",
"0.5713",
"0.468",
"0.5713",
"0.468",
"0.5854",
"0.0809",
"0.5854"
],
[
"0.5034",
"0.5728",
"0.8906",
"0.5728",
"0.8906",
"0.586",
"0.5034",
"0.586"
],
[
"0.0809",
"0.587",
"0.4575",
"0.587",
"0.4575",
"0.601",
"0.0809",
"0.601"
],
[
"0.501",
"0.586",
"0.875",
"0.586",
"0.875",
"0.5996",
"0.501",
"0.5996"
],
[
"0.5024",
"0.6016",
"0.8906",
"0.601",
"0.8906",
"0.6157",
"0.5024",
"0.616"
],
[
"0.0801",
"0.617",
"0.2754",
"0.617",
"0.2754",
"0.631",
"0.0801",
"0.631"
],
[
"0.5034",
"0.617",
"0.8447",
"0.617",
"0.8447",
"0.631",
"0.5034",
"0.631"
],
[
"0.1013",
"0.643",
"0.468",
"0.643",
"0.468",
"0.657",
"0.1013",
"0.657"
],
[
"0.5024",
"0.6426",
"0.759",
"0.6426",
"0.759",
"0.656",
"0.5024",
"0.656"
],
[
"0.0809",
"0.6577",
"0.468",
"0.6577",
"0.468",
"0.672",
"0.0809",
"0.672"
],
[
"0.524",
"0.6665",
"0.8906",
"0.6665",
"0.8906",
"0.6797",
"0.524",
"0.6797"
],
[
"0.0809",
"0.674",
"0.468",
"0.674",
"0.468",
"0.6875",
"0.0809",
"0.6875"
],
[
"0.505",
"0.681",
"0.8906",
"0.681",
"0.8906",
"0.6943",
"0.505",
"0.6943"
],
[
"0.0784",
"0.6875",
"0.468",
"0.688",
"0.468",
"0.7026",
"0.0784",
"0.702"
],
[
"0.5024",
"0.696",
"0.8906",
"0.6963",
"0.8906",
"0.7104",
"0.5024",
"0.709"
],
[
"0.0825",
"0.704",
"0.468",
"0.704",
"0.468",
"0.7173",
"0.0825",
"0.7173"
],
[
"0.5034",
"0.711",
"0.8906",
"0.711",
"0.8906",
"0.7246",
"0.5034",
"0.7246"
],
[
"0.0809",
"0.7183",
"0.468",
"0.7183",
"0.468",
"0.732",
"0.0809",
"0.732"
],
[
"0.5034",
"0.7266",
"0.8906",
"0.7266",
"0.8906",
"0.7407",
"0.5034",
"0.7407"
],
[
"0.0809",
"0.7344",
"0.468",
"0.7344",
"0.468",
"0.7476",
"0.0809",
"0.7476"
],
[
"0.5034",
"0.742",
"0.626",
"0.742",
"0.626",
"0.756",
"0.5034",
"0.756"
],
[
"0.0825",
"0.7505",
"0.4673",
"0.7505",
"0.4673",
"0.761",
"0.0825",
"0.761"
],
[
"0.0809",
"0.7646",
"0.468",
"0.7646",
"0.468",
"0.778",
"0.0809",
"0.778"
],
[
"0.5034",
"0.7764",
"0.539",
"0.7764",
"0.539",
"0.7886",
"0.5034",
"0.7886"
],
[
"0.5557",
"0.7744",
"0.7534",
"0.7744",
"0.7534",
"0.7886",
"0.5557",
"0.7886"
],
[
"0.5474",
"0.78",
"0.5537",
"0.78",
"0.5537",
"0.784",
"0.5474",
"0.784"
],
[
"0.0809",
"0.779",
"0.468",
"0.779",
"0.468",
"0.7925",
"0.0809",
"0.7925"
],
[
"0.0809",
"0.7944",
"0.1168",
"0.7944",
"0.1168",
"0.8066",
"0.0809",
"0.8066"
],
[
"0.505",
"0.7954",
"0.8906",
"0.7954",
"0.8906",
"0.8096",
"0.505",
"0.8096"
],
[
"0.10046",
"0.81",
"0.4673",
"0.81",
"0.4673",
"0.8247",
"0.10046",
"0.8247"
],
[
"0.5024",
"0.8096",
"0.8906",
"0.81",
"0.8906",
"0.8247",
"0.5024",
"0.8237"
],
[
"0.0809",
"0.8247",
"0.4697",
"0.8257",
"0.4697",
"0.8403",
"0.0809",
"0.839"
],
[
"0.5034",
"0.8257",
"0.8906",
"0.8247",
"0.8906",
"0.839",
"0.5034",
"0.8403"
],
[
"0.09314",
"0.8413",
"0.468",
"0.8413",
"0.468",
"0.855",
"0.09314",
"0.855"
],
[
"0.5024",
"0.8403",
"0.8896",
"0.8413",
"0.8896",
"0.856",
"0.5024",
"0.855"
],
[
"0.0809",
"0.856",
"0.468",
"0.856",
"0.468",
"0.869",
"0.0809",
"0.869"
],
[
"0.501",
"0.855",
"0.751",
"0.856",
"0.751",
"0.8706",
"0.501",
"0.869"
],
[
"0.0809",
"0.872",
"0.468",
"0.872",
"0.468",
"0.8853",
"0.0809",
"0.8853"
],
[
"0.5215",
"0.872",
"0.6445",
"0.872",
"0.6445",
"0.886",
"0.5215",
"0.886"
],
[
"0.636",
"0.872",
"0.892",
"0.872",
"0.892",
"0.8853",
"0.636",
"0.8853"
],
[
"0.501",
"0.884",
"0.564",
"0.886",
"0.562",
"0.9014",
"0.5",
"0.8994"
],
[
"0.5664",
"0.884",
"0.634",
"0.886",
"0.634",
"0.9014",
"0.5664",
"0.8994"
],
[
"0.7134",
"0.887",
"0.892",
"0.887",
"0.892",
"0.901",
"0.7134",
"0.901"
],
[
"0.6406",
"0.888",
"0.705",
"0.888",
"0.705",
"0.8994",
"0.6406",
"0.8994"
],
[
"0.0809",
"0.886",
"0.4697",
"0.886",
"0.4697",
"0.901",
"0.0809",
"0.901"
]
] | [
"Flickr30k",
"MS-COCO",
"Method",
"B-1",
"B-2",
"B-3",
"B-4",
"METEOR",
"CIDEr",
"B-1",
"B-2",
"B-3",
"B-4",
"METEOR",
"CIDEr",
"0.573",
"0.240",
"0.450",
"0.321",
"0.157",
"0.369",
"0.153",
"0.247",
"0.625",
"0.230",
"0.195",
"0.660",
"Hard-Attention [30]",
"DeepVS [11]",
"0.669",
"0.296",
"0.504",
"0.199",
"0.439",
"0.185",
"0.718",
"0.357",
"0.250",
"0.230",
"ATT-FCN [34]",
"0.647",
"0.460",
"0.324",
"0.230",
"0.189",
"0.709",
"0.537",
"0.402",
"0.304",
"0.243",
"ERD [32]",
"0.298",
"0.240",
"0.895",
"MSM t [33]",
"0.730",
"0.565",
"0.429",
"0.325",
"0.251",
"0.986",
"",
"-",
"1",
"-",
"1",
"Ours-Spatial",
"0.644",
"0.462",
"0.327",
"0.231",
"0.202",
"0.493",
"0.734",
"0.566",
"0.418",
"0.304",
"0.257",
"1.029",
"0.266",
"1.085",
"0.531",
"Ours-Adaptive",
"0.677",
"0.494",
"0.354",
"0.251",
"0.204",
"0.742",
"0.580",
"0.439",
"0.332",
"Table : Performance on Flickr30k and COCO test splits. + indicates ensemble models. B-n is BLEU score that",
"uses up to n-grams.",
"Higher is better in all columns.",
"For future comparisons, our ROUGE-L/SPICE Flickr30k",
"scores are 0.467/0.145 and theCOCO scores are0.549/0.194.",
"B-4",
"ROUGE-L",
"B-2",
"B-1",
"METEOR",
"CIDEr",
"c5",
"B-3",
"c5",
"c5",
"c40",
"Method",
"c5",
"c40",
"c5",
"c40",
"c40",
"c5",
"c40",
"c40",
"c5",
"c40",
"Google NIC [27]",
"0.713",
"0.542",
"0.587",
"0.254",
"0.682",
"0.946",
"0.802",
"0.895",
"0.407",
"0.694",
"0.309",
"0.346",
"0.530",
"0.943",
"MS Captivator [8]",
"0.715",
"0.907",
"0.543",
"0.819",
"0.407",
"0.710",
"0.308",
"0.601",
"0.248",
"0.339",
"0.526",
"0.680",
"0.931",
"0.937",
"0.716",
"0.890",
"0.798",
"0.299",
"0.325",
"0.521",
"0.917",
"0.545",
"m-RNN [18]",
"0.404",
"0.687",
"0.575",
"0.242",
"0.666",
"0.935",
"LRCN[7]",
"0.718",
"0.895",
"0.548",
"0.804",
"0.409",
"0.695",
"0.306",
"0.585",
"0.247",
"0.335",
"0.528",
"0.678",
"0.921",
"0.934",
"Hard-Attention [30]",
"0.705",
"0.881",
"0.528",
"0.779",
"0.383",
"0.658",
"0.277",
"0.537",
"0.241",
"0.322",
"0.516",
"0.654",
"0.865",
"0.893",
"ATT-FCN [34]",
"0.815",
"0.709",
"0.958",
"0.335",
"0.565",
"0.535",
"0.900",
"0.731",
"0.424",
"0.316",
"0.599",
"0.250",
"0.682",
"0.943",
"0.812",
"0.686",
"0.720",
"ERD [32]",
"0.900",
"0.550",
"0.414",
"0.705",
"0.313",
"0.597",
"0.256",
"0.347",
"0.533",
"0.965",
"0.969",
"MSM [33]",
"0.739",
"0.575",
"0.330",
"0.350",
"0.542",
"0.700",
"0.842",
"0.919",
"0.436",
"0.740",
"0.632",
"0.256",
"0.984",
"1.003",
"Ours-Adaptive",
"0.845",
"0.637",
"1.059",
"0.584",
"0.748",
"0.744",
"0.336",
"0.264",
"0.359",
"0.705",
"1.042",
"0.444",
"0.920",
"0.550",
"Table 2: Leaderboard of the published state-of-the-art image captioning models on the online COCO testing server.",
"Our submission isa ensemble of 5models trained with different initialization.",
"我们将我们的模型与表E2中COCO评估服务器上",
"圈”,“女人”和“滑雪板”等视觉词,我们的模型分配",
"的最新系统进行了比较。我们可以看到,我们的方法在",
"了较高的视觉接地概率(超过0。9)。请注意,当在不",
"已发布的系统中的所有指标上都实现了最佳性能。值得",
"同的上下文中生成相同的单词时,可能会分配不同的",
"注意的是,GoogleNIC,ERD和MSM使用Inception-",
"视觉基础概率。例如,单词“a”通常在句子开头具有",
"v3[25]作为编码器,与ResNet-152[10](这是我们的",
"很高的视觉基础概率,因为在没有任何语言上下文的",
"模型所使用的)相比,它具有相似或更好的分类性能",
"情况下,模型需要视觉信息来确定多个(或不)。另",
"方面,短语“在桌子上”中“a”的视觉接地概率要低",
"5.3.Qualitative Analysis",
"得多。。因为某物不太可能在一张以上的桌子上。",
"为了更好地理解我们的模型,我们首先在生成的",
"5.4.Adaptive Attention Analysis",
"标题中可视化不同单词的空间注意力权重α。我们",
"在本节中,我们分析了我们的方法产生的自适应注",
"只需使用双线性插值将注意力权重上采样为图像大小",
"意力。我们可视化哨兵门,以了解“何时”我们的模型",
"(224×224)。Fig。4显示生成的字幕和字幕中特定",
"在生成标题时关注图像。我们还使用生成的注意力地",
"单词的空间注意力图。前两列是成功示例,最后一列显",
"图对COCO类别执行弱监督本地化。这可以帮助我们",
"示失败示例。我们看到我们的模型学习了与人类直觉",
"直观地了解我们的模型参加的“位置”,以及它是否参",
"强烈对应的对齐方式。请注意,即使在模型产生不准确",
"加了正确的区域。",
"的字幕的情况下,我们也会看到我们的模型确实会查",
"看图像中的合理区域-它似乎无法计数或识别纹理和细",
"5.4.1",
"Learning “when\" to attend",
"",
"粒度类别。我们在补充材料中提供了更广泛的可视化",
"列表",
"为了评估我们的模型是否学会了将字幕中的视觉单词",
"我们进一步可视化生成标题时的哨兵门。对于每个",
"与非视觉单词分开,我们可视化了视觉基础概率。对",
"单词,我们使用1-β作为其视觉基础概率。InFig。5",
"于词汇表中的每个单词,我们对包含该单词的所有生",
"我们将生成的标题、视觉接地概率和我们的模型为",
"成的字幕的视觉基础概率进行平均。Fig。6显示了",
"每个单词生成的空间注意力图可视化。我们的模型成",
"COCO和Flickr30k上的秩概率图",
"功地学会了在生成诸如“of\"”和“a”之类的非视觉单",
"我们发现,",
"我们的模型在生成诸如",
"“菜”,",
"“人”,",
"“船”之类的对象词时,",
"“猫”",
"词时较少地关注图像。对于“红色”,“玫瑰”,“甜甜"
] | {
"arxiv_id": "1612.01887",
"language": "zh",
"page_idx": 4
} |
||
2104.02646-zh-0 | 2104.02646-zh-0.jpg | Published as a conference paper at ICLR 2021
$\nabla Sim:$ 用于系统识别和可视化运动控制的可微分仿
真
https://gradsim.github.io
Krishna Murthy Jatavallabhula* $^{1,3.4}$, Miles Macklin$^{*2}$,Florian Golemo$^{1,3}$,Vikram Voleti$^{3,4}$, Linda Petrini$^{3}$,Martin Weiss$^{3,4}$,Breandan Considine$^{3,5},\text{Jérôme Parent-Lévesque}^{3,5}$,Kevin Xie$^{2,6,7}$,KennyErleben$^{8}$,Liam Paull$^{1,3,4}$,Florian Shkurti$^{6,7}$,Derek Nowrouzezahrai$^{3,5}$,and Sanja Fidler$^{2,6,7}$
$^{1}$Montreal Robotics and Embodied AI Lab, $^{2}$NVIDIA, $^{3}$Mila, $^{4}$Université de Montréal, $^{5}$McGill,
<FigureHere>
Figure 1: $\nabla Sim$ is a unified differentiable rendering and multiphysics framework that allows solving a range of control and parameter estimation tasks (rigid bodies, deformable solids, and cloth) directly from images/video.
ABSTRACT
We consider the problem of estimating an object's physical properties such as mass, friction, and elasticity directly from video sequences. Such a system identification problem is fundamentally ill-posed due to the loss of information during image formation. Current solutions require precise 3D labels which are laborintensive to gather, and infeasible to create for many systems such as deformable solids or cloth. We present $\nabla Sim$ ,a framework that overcomes the dependence on 3D supervision by leveraging differentiable multiphysics simulation and differentiable rendering to jointly model the evolution of scene dynamics and image formation. This novel combination enables backpropagation from pixels in a video sequence through to the underlying physical attributes that generated them. Moreover, our unified computation graph- spanning from the dynamics and through the rendering process-enables learning in challenging visuomotor control tasks, without relying on state-based (3D) supervision, while obtaining performance competitive to or better than techniques that rely on precise 3D labels.
# 1 INTRODUCTION
从图像序列中准确预测对象的动力学和物理特性是计算机视觉中的长期挑战。这种端到端推理任务需要对底层场景动态和成像过程有基本的了解。想象一下,观看一个篮球从地面弹起的简短视频,然后问:“我们能否推断出球的质量和弹性,预测其轨迹并做出明智的决
如何通过和拍摄?”这些看似简单的问题,即使对于现代计算机视觉模型来
定,例如
说,回答起来也极具挑战性。需要对对象的基本物理属性和系统动力学进行建模和估计,同
时还要考虑 3D 到 2D 图像形成过程中的信息损失
根据对场景结构和动力学的假设,存在三种类型的解决方案:黑色,灰色或白色框。黑盒方法 (Watters et al., 2017; Xu et al., 2019b; Janner et al., 2019; Chang et al., 2016) 将动力系统的状态 (例如篮球的时间轨迹)建模为其状态或观察值的学习嵌人。这些方法几乎不需要对系统本身的事先假设,但是由于纠缠的变分因素$\overline{\mathrm{E}}($Chen et al., 2016) 或由于无监督学习$\underline{\mathrm{E}}$ (Greydanus et al., 2019; Cranmer et al., 2020b) 中的歧义而缺乏可解释性。最近,灰盒方法$\mathbb{E}$ (Mehta et al., 2020) 利用有关系统动力学的部分知识来提高性能。相反,白盒方法$\overline{\mathrm{E}}$(Degrave et al., 2016; Liang et al., 2019; Hu et al., 2020; Qiao et al., 2020) 通过采用显式动力学模型来强加先验知识,从而减少了可学习参数的空间并提高了系统的可解释性
最值得注意的是,在我们的环境中,所有这些方法都需要精确的 3D 标签-收集这些标签需
要大量的劳动力,并且无法为许多系统(例如可变形的固体或布)生成
$^{*}$Equal contribution
1 | [
[
"0.1748",
"0.0341",
"0.4763",
"0.0341",
"0.4763",
"0.04736",
"0.1748",
"0.04736"
],
[
"0.1765",
"0.1042",
"0.8203",
"0.1048",
"0.8203",
"0.1225",
"0.1765",
"0.1218"
],
[
"0.1732",
"0.1256",
"0.2075",
"0.1256",
"0.2075",
"0.1483",
"0.1732",
"0.1483"
],
[
"0.3545",
"0.1547",
"0.6445",
"0.1547",
"0.6445",
"0.1686",
"0.3545",
"0.1686"
],
[
"0.1772",
"0.1895",
"0.822",
"0.1895",
"0.822",
"0.207",
"0.1772",
"0.207"
],
[
"0.1748",
"0.2058",
"0.6436",
"0.2058",
"0.6436",
"0.2203",
"0.1748",
"0.2203"
],
[
"0.649",
"0.2008",
"0.8228",
"0.2039",
"0.8228",
"0.2229",
"0.649",
"0.2197"
],
[
"0.6396",
"0.2108",
"0.649",
"0.2108",
"0.649",
"0.2153",
"0.6396",
"0.2153"
],
[
"0.1969",
"0.2184",
"0.8013",
"0.2153",
"0.8013",
"0.2361",
"0.1969",
"0.2393"
],
[
"0.1871",
"0.2456",
"0.8105",
"0.2456",
"0.8105",
"0.26",
"0.1871",
"0.26"
],
[
"0.2737",
"0.2588",
"0.7236",
"0.2615",
"0.7236",
"0.2747",
"0.2737",
"0.2727"
],
[
"0.7715",
"0.332",
"0.7915",
"0.332",
"0.7915",
"0.336",
"0.7715",
"0.336"
],
[
"0.1772",
"0.3926",
"0.8228",
"0.3926",
"0.8228",
"0.406",
"0.1772",
"0.406"
],
[
"0.1748",
"0.4048",
"0.8203",
"0.4048",
"0.8203",
"0.4185",
"0.1748",
"0.4185"
],
[
"0.4558",
"0.4236",
"0.546",
"0.4236",
"0.546",
"0.4343",
"0.4558",
"0.4343"
],
[
"0.2345",
"0.4426",
"0.763",
"0.4426",
"0.763",
"0.4558",
"0.2345",
"0.4558"
],
[
"0.2345",
"0.4558",
"0.7656",
"0.4558",
"0.7656",
"0.4697",
"0.2345",
"0.4697"
],
[
"0.2345",
"0.4697",
"0.7656",
"0.4702",
"0.7656",
"0.4841",
"0.2345",
"0.483"
],
[
"0.2361",
"0.4841",
"0.7646",
"0.4841",
"0.7646",
"0.4976",
"0.2361",
"0.4976"
],
[
"0.232",
"0.4976",
"0.7646",
"0.4976",
"0.7646",
"0.511",
"0.232",
"0.511"
],
[
"0.2345",
"0.513",
"0.761",
"0.513",
"0.761",
"0.5234",
"0.2345",
"0.5234"
],
[
"0.2345",
"0.526",
"0.7656",
"0.526",
"0.7656",
"0.539",
"0.2345",
"0.539"
],
[
"0.2361",
"0.5405",
"0.7646",
"0.5405",
"0.7646",
"0.5503",
"0.2361",
"0.5503"
],
[
"0.2345",
"0.553",
"0.763",
"0.5537",
"0.763",
"0.565",
"0.2345",
"0.5645"
],
[
"0.2361",
"0.5674",
"0.763",
"0.5674",
"0.763",
"0.5806",
"0.2361",
"0.5806"
],
[
"0.2336",
"0.58",
"0.763",
"0.58",
"0.763",
"0.5933",
"0.2336",
"0.5933"
],
[
"0.2345",
"0.5947",
"0.7656",
"0.5947",
"0.7656",
"0.608",
"0.2345",
"0.608"
],
[
"0.2378",
"0.61",
"0.7656",
"0.61",
"0.7656",
"0.6206",
"0.2378",
"0.6206"
],
[
"0.232",
"0.622",
"0.6406",
"0.622",
"0.6406",
"0.6353",
"0.232",
"0.6353"
],
[
"0.1772",
"0.648",
"0.2075",
"0.648",
"0.2075",
"0.655",
"0.1772",
"0.655"
],
[
"0.2018",
"0.6445",
"0.3406",
"0.6445",
"0.3406",
"0.6577",
"0.2018",
"0.6577"
],
[
"0.1765",
"0.6665",
"0.8228",
"0.6665",
"0.8228",
"0.6797",
"0.1765",
"0.6797"
],
[
"0.1765",
"0.6797",
"0.822",
"0.6797",
"0.822",
"0.6934",
"0.1765",
"0.6934"
],
[
"0.1765",
"0.6934",
"0.8228",
"0.6934",
"0.8228",
"0.707",
"0.1765",
"0.707"
],
[
"0.1765",
"0.7085",
"0.8228",
"0.7085",
"0.8228",
"0.7227",
"0.1765",
"0.7227"
],
[
"0.1748",
"0.72",
"0.822",
"0.72",
"0.822",
"0.7344",
"0.1748",
"0.7344"
],
[
"0.1732",
"0.7344",
"0.5254",
"0.735",
"0.5254",
"0.7485",
"0.1732",
"0.7476"
],
[
"0.1772",
"0.7583",
"0.822",
"0.7583",
"0.822",
"0.768",
"0.1772",
"0.768"
],
[
"0.179",
"0.7715",
"0.822",
"0.7715",
"0.822",
"0.782",
"0.179",
"0.782"
],
[
"0.1765",
"0.784",
"0.822",
"0.784",
"0.822",
"0.7974",
"0.1765",
"0.7974"
],
[
"0.1765",
"0.7974",
"0.822",
"0.7974",
"0.822",
"0.811",
"0.1765",
"0.811"
],
[
"0.1765",
"0.8125",
"0.8228",
"0.8125",
"0.8228",
"0.8257",
"0.1765",
"0.8257"
],
[
"0.1765",
"0.8257",
"0.822",
"0.8257",
"0.822",
"0.839",
"0.1765",
"0.839"
],
[
"0.1772",
"0.839",
"0.822",
"0.839",
"0.822",
"0.853",
"0.1772",
"0.853"
],
[
"0.1765",
"0.854",
"0.6665",
"0.854",
"0.6665",
"0.867",
"0.1765",
"0.867"
],
[
"0.1765",
"0.875",
"0.8228",
"0.875",
"0.8228",
"0.888",
"0.1765",
"0.888"
],
[
"0.1765",
"0.8896",
"0.683",
"0.8896",
"0.683",
"0.903",
"0.1765",
"0.903"
],
[
"0.1953",
"0.912",
"0.312",
"0.9136",
"0.312",
"0.925",
"0.1953",
"0.924"
],
[
"0.4927",
"0.9497",
"0.505",
"0.9497",
"0.505",
"0.9604",
"0.4927",
"0.9604"
]
] | [
"Published as a conference paper at ICLR 2021",
"VSim:用于系统识别和可视化运动控制的可微分仿",
"真",
"https://gradsim.github.io",
"Krishna Murthy Jatavallabhula* 1,3.4, Miles Macklin*2, Florian Golemo'3, Vikram Voleti3.4, Linda",
"Petrini3, Martin Weiss3.4, Breandan Considine3.5, Jerome Parent-Lévesq",
"le3.5,KevinXie2.6.7,Kenny",
"11",
"Erleben, Liam Paull.3.4, Florian Shkurti.7, Derek Nowrouzezahrai35, and Sanja Fidler2.6,7",
"'Montreal Robotics and Embodied AI Lab, 2NVIDIA, 3Mila, 4Universite de Montreal, 5McGill",
"6University of Toronto,7Vector Institute,University of Copenhagen",
"",
"Figure I: VSim is a unified differentiable rendering and multiphysics framework that allows solving a range of",
"control and parameter estimation tasks (rigid bodies, deformable solids, and cloth) directly from images/video",
"ABSTRACT",
"We consider the problem of estimating an object's physical properties such as",
"mass, friction, and elasticity directly from video sequences. Such a system identi-",
"fication problem is fundamentally ill-posed due to the loss of information during",
"image formation. Current solutions require precise 3D labels which are labor",
"intensive to gather, and infeasible to create for many systems such as deformable",
"solidsorcloth.WepresentVSim,aframeworkthatovercomesthedependence",
"on 3D supervision by leveraging differentiable multiphysics simulation and differ-",
"entiablerenderingtojointlymodeltheevolutionofscenedynamicsandimagefor",
"mation.Thisnovel combination enables backpropagationfrompixels in a video",
"sequence through to the underlying physical attributes that generated them. More",
"over, our unified computation graph - spanning from the dynamics and through the",
"rendering process-enables learning in challenging visuomotor control tasks, with-",
"outrelyingonstate-based(3D)supervision,whileobtainingperformancecompet-",
"itive to or better than techniques that rely on precise 3D labels",
"",
"INTRODUCTION",
"从图像序列中准确预测对象的动力学和物理特性是计算机视觉中的长期挑战。这种端到端",
"推理任务需要对底层场景动态和成像过程有基本的了解。想象一下,观看一个篮球从地面",
"弹起的简短视频,然后问:“我们能否推断出球的质量和弹性,预测其轨迹并做出明智的决",
"定,例如。g。,如何通过和拍摄?”这些看似简单的问题,即使对于现代计算机视觉模型来",
"说,回答起来也极具挑战性。需要对对象的基本物理属性和系统动力学进行建模和估计,同",
"时还要考虑3D到2D图像形成过程中的信息损失",
"根据对场景结构和动力学的假设,存在三种类型的解决方案:黑色,灰色或白色框。黑盒",
"方法(Wattersetal.,2017;Xuetal.,2019b;Janneretal.,2019;Changetal.,2016)将动力系统",
"的状态(例如篮球的时间轨迹)建模为其状态或观察值的学习嵌人。这些方法几乎不需要",
"对系统本身的事先假设,但是由于纠缠的变分因素E(Chenetal,2016)或由于无监督学习E",
"(Greydanusetal.,2019;Cranmeretal.,2020b)中的歧义而缺乏可解释性。最近,灰盒方法F",
"(Mehtaetal.,2020)利用有关系统动力学的部分知识来提高性能。相反,白盒方法E(Degrave",
"etal.,2016;Liangetal.,2019;Huetal.,2020;Qiaoetal.,2020)通过采用显式动力学模型来强",
"加先验知识,从而减少了可学习参数的空间并提高了系统的可解释性",
"最值得注意的是,在我们的环境中,所有这些方法都需要精确的3D标签-收集这些标签需",
"要大量的劳动力,并且无法为许多系统(例如可变形的固体或布)生成",
"*Equalcontribution",
"1"
] | {
"arxiv_id": "2104.02646",
"language": "zh",
"page_idx": 0
} |
||
2104.02646-zh-1 | 2104.02646-zh-1.jpg | Published as a conference paper at ICLR 2021
<FigureHere>
Figure 2: $\nabla Sim:$ Given video observations of an evolving physical system (e), we randomly initialize scene object properties (a) and evolve them over time using a differentiable physics engine (b), which generates states . Our renderer(c) processes states, object vertices and global rendering parameters to produce image frames for computing our loss. We backprop through this computation graph to estimate physical attributes and controls. Existing methods rely solely on differentiable physics engines and require supervision in state-space (f), while $\nabla Sim$ only needs image-space supervision (g).
我们通过将场景动力学的显式 (和可微分)模型与图像形成 (渲染)$^{\mathrm{l}}$耦合,消除了白盒动
力学方法对 3D 监督的依赖
即使访问完整的系统状态,对端到端动态和图像形成的视频观察进行显式建模也具有挑战性。这个问题已经在视觉,图形和物理社区$\mathsf{E}(\mathsf{Pharr~et~al.,~2016;~Macklin~et~al.,~2014)~}$中得到了解决,从而导致了强大的前向仿真模型和算法的开发。这些模拟器不容易用于解决反问题部分原因是它们的不可微性。因此,黑盒正向过程的应用通常需要替代梯度估计器,例如有限差分或 REINFORCEE(Williams, 1992) , 以实现任何学习。黑盒正向模拟器的无似然推理$\boxed{\mathrm{F}}($Ramos et al., 2019; Cranmer et al., 2020a; Kulkarni et al., 2015; Yildirim et al., 2017; 2015; 2020; Wu et al., 2017b) 在这里进行了一些改进,但在数据效率和对高维参数空间的可伸缩性方面仍然受到限制。可微分仿真的最新进展进一步改善了学习动态,但是我们仍然缺乏一种在整个仿真过程中进行端到端微分的方法(i。e。,从视频像素到物理属性),仅从视频帧进行有效学习的先决条件
我们介绍$\nabla Sim$ ,这是一款多功能的端到端可微分模拟器,采用可微分动力学和图像形成的整体,统一视图 $(cf.$ $\mathbb{E}$图。1、2)。现有的可微分物理引擎仅对时变动力学进行建模,并且需要在状态空间中进行监督(通常是 3D 跟踪)。我们还对可区分的图像形成过程进行建模, 因此仅需要在图像空间中指定的目标信息。这使我们能够将$\overline{\mathrm{E}}($Griewank&Walther,2003)训练信号从视频像素一直反向传播到场景的基本物理和动态属性
我们的主要贡献是:
$\bullet\nabla Sim$, a differentiable simulator that demonstrates the ability to backprop from video pixels to the
underlying physical attributes $(cf.$ Fig. 2).
$\cdot$ We demonstrate recovering many physical properties exclusively from video observations, includ-
ing friction, elasticity, deformable material parameters, and visuomotor controls (sans 3D supervi-
sion)
· A PyTorch framework facilitating interoperability with existing machine learning modules.
我们评估了$\nabla Sim$ 在刚性,可变形和薄壳物体的参数识别任务上的有效性,并展示了与当前仅物理可微模拟器相比具有竞争力或在某些情况下更优越的性能。此外,我们证明了$\nabla Sim$ 提供的梯度在涉及可变形固体和布料的挑战性视觉运动控制任务上的有效性
2 $\nabla Sim:$ A UNIFIED DIFFERENTIABLE SIMULATION ENGINE
通常,物理估计和渲染被视为不相交、互斥的任务。在这项工作中,我们一般采用统一的仿真视图,以构成物理估计和渲染。形式上,模拟是一个函数 Sim : $\mathbb{R}^P\times[0,1]\mapsto$ $\mathbb{R}^H\times\mathbb{R}^W;$Sim$(\boldsymbol{p},t)=\mathcal{I}$。这里$\boldsymbol{p}\in\mathbb{R}^P$是一个表示模拟状态和参数的向量 (对象,它们的物理属性,它们的几何形状等。$),t$表示模拟的时间(方便地重新参数化为在间隔[0,1]中)。给定初始条件$p_0$,仿真函数在每个时间步长$t$处生成高度为$H$ ,宽度为$W$的图像$\mathcal{I}$。如果此函数 Sim 是可微分的,则 Sim$(\boldsymbol{p},t)$相对于仿真参数$\boldsymbol{p}$的梯度提供了由于$\boldsymbol{p}$对$\boldsymbol{p}$的无限小扰动而导致的从$\mathcal{I}$到$\mathcal{I} + \nabla$Sim$( \boldsymbol{p}, t) \delta \boldsymbol{p}$ 的仿真输出的变化。。此构造使基于梯度的优化器能够通过在图像空间$\mathcal{L}(\mathcal{I},.)$上定义损失函数并沿平行于$-\nabla$Sim(.) 的方向降低此损失景观来估计视频中的物理参数。为了实现这一点,我们转向计算图和可微分编程的范例
$^{1}$Dynamics refers to the laws governing the motion and deformation of objects over time. Rendering refers to the interaction of these scene elements-including their material properties-with scene lighting to form image sequences as observed by a virtual camera. Simulation refers to a unified treatment of these two processes.
2 | [
[
"0.1748",
"0.0341",
"0.478",
"0.0341",
"0.478",
"0.04736",
"0.1748",
"0.04736"
],
[
"0.2035",
"0.07574",
"0.2507",
"0.07574",
"0.2507",
"0.0859",
"0.2035",
"0.0859"
],
[
"0.2754",
"0.07574",
"0.326",
"0.07574",
"0.326",
"0.0859",
"0.2754",
"0.0859"
],
[
"0.5933",
"0.0726",
"0.8164",
"0.0726",
"0.8164",
"0.0859",
"0.5933",
"0.0859"
],
[
"0.1978",
"0.09155",
"0.3513",
"0.09155",
"0.3513",
"0.1061",
"0.1978",
"0.1061"
],
[
"0.1978",
"0.1067",
"0.246",
"0.1092",
"0.2443",
"0.1237",
"0.1969",
"0.1218"
],
[
"0.2737",
"0.1067",
"0.3137",
"0.1092",
"0.312",
"0.1237",
"0.273",
"0.1218"
],
[
"0.3882",
"0.108",
"0.4043",
"0.108",
"0.4043",
"0.11743",
"0.3882",
"0.11743"
],
[
"0.4355",
"0.10986",
"0.5107",
"0.10986",
"0.5107",
"0.1276",
"0.4355",
"0.1276"
],
[
"0.6855",
"0.11237",
"0.714",
"0.11237",
"0.714",
"0.125",
"0.6855",
"0.125"
],
[
"0.767",
"0.11237",
"0.812",
"0.11237",
"0.812",
"0.1276",
"0.767",
"0.1276"
],
[
"0.6006",
"0.1206",
"0.619",
"0.10986",
"0.63",
"0.1206",
"0.6113",
"0.1307"
],
[
"0.2467",
"0.11237",
"0.2695",
"0.11237",
"0.2695",
"0.1206",
"0.2467",
"0.1206"
],
[
"0.1993",
"0.1237",
"0.2656",
"0.127",
"0.2646",
"0.1414",
"0.1978",
"0.1383"
],
[
"0.589",
"0.1351",
"0.649",
"0.1351",
"0.649",
"0.1465",
"0.589",
"0.1465"
],
[
"0.7607",
"0.1364",
"0.814",
"0.1364",
"0.814",
"0.1465",
"0.7607",
"0.1465"
],
[
"0.2467",
"0.1459",
"0.2942",
"0.1459",
"0.2942",
"0.1572",
"0.2467",
"0.1572"
],
[
"0.3628",
"0.1445",
"0.4429",
"0.1445",
"0.4429",
"0.1559",
"0.3628",
"0.1559"
],
[
"0.511",
"0.1459",
"0.572",
"0.1459",
"0.572",
"0.1559",
"0.511",
"0.1559"
],
[
"0.6045",
"0.1465",
"0.634",
"0.1465",
"0.634",
"0.1578",
"0.6045",
"0.1578"
],
[
"0.7607",
"0.1465",
"0.8145",
"0.1465",
"0.8145",
"0.1578",
"0.7607",
"0.1578"
],
[
"0.2418",
"0.1635",
"0.4192",
"0.1635",
"0.4192",
"0.1736",
"0.2418",
"0.1736"
],
[
"0.63",
"0.1622",
"0.7754",
"0.1622",
"0.7754",
"0.1724",
"0.63",
"0.1724"
],
[
"0.1765",
"0.1875",
"0.8228",
"0.1875",
"0.8228",
"0.1976",
"0.1765",
"0.1976"
],
[
"0.1748",
"0.1989",
"0.824",
"0.1989",
"0.824",
"0.2122",
"0.1748",
"0.2122"
],
[
"0.1765",
"0.2108",
"0.824",
"0.2108",
"0.824",
"0.2247",
"0.1765",
"0.2247"
],
[
"0.1732",
"0.2235",
"0.822",
"0.2235",
"0.822",
"0.2374",
"0.1732",
"0.2374"
],
[
"0.1748",
"0.2361",
"0.826",
"0.2361",
"0.826",
"0.25",
"0.1748",
"0.25"
],
[
"0.1732",
"0.2474",
"0.4495",
"0.2488",
"0.4495",
"0.2632",
"0.1732",
"0.262"
],
[
"0.1765",
"0.2778",
"0.8228",
"0.2778",
"0.8228",
"0.2917",
"0.1765",
"0.2917"
],
[
"0.1772",
"0.2935",
"0.3677",
"0.2935",
"0.3677",
"0.3037",
"0.1772",
"0.3037"
],
[
"0.1748",
"0.3113",
"0.822",
"0.3113",
"0.822",
"0.3245",
"0.1748",
"0.3245"
],
[
"0.1765",
"0.3257",
"0.822",
"0.3257",
"0.822",
"0.339",
"0.1765",
"0.339"
],
[
"0.1765",
"0.3403",
"0.822",
"0.3403",
"0.822",
"0.3542",
"0.1765",
"0.3542"
],
[
"0.1748",
"0.3542",
"0.824",
"0.3528",
"0.824",
"0.3674",
"0.1748",
"0.3687"
],
[
"0.1772",
"0.3694",
"0.822",
"0.3694",
"0.822",
"0.3801",
"0.1772",
"0.3801"
],
[
"0.1748",
"0.3818",
"0.8228",
"0.3818",
"0.8228",
"0.3958",
"0.1748",
"0.3958"
],
[
"0.1748",
"0.3958",
"0.8228",
"0.3958",
"0.8228",
"0.4092",
"0.1748",
"0.4092"
],
[
"0.1772",
"0.411",
"0.806",
"0.411",
"0.806",
"0.4216",
"0.1772",
"0.4216"
],
[
"0.1765",
"0.4236",
"0.824",
"0.4236",
"0.824",
"0.4375",
"0.1765",
"0.4375"
],
[
"0.1765",
"0.4382",
"0.357",
"0.4382",
"0.357",
"0.452",
"0.1765",
"0.452"
],
[
"0.1765",
"0.459",
"0.8228",
"0.459",
"0.8228",
"0.473",
"0.1765",
"0.473"
],
[
"0.1748",
"0.4702",
"0.822",
"0.4717",
"0.822",
"0.486",
"0.1748",
"0.4849"
],
[
"0.1748",
"0.4849",
"0.822",
"0.486",
"0.822",
"0.5005",
"0.1748",
"0.5"
],
[
"0.1772",
"0.502",
"0.8228",
"0.502",
"0.8228",
"0.512",
"0.1772",
"0.512"
],
[
"0.1732",
"0.5146",
"0.6167",
"0.5146",
"0.6167",
"0.528",
"0.1732",
"0.528"
],
[
"0.1748",
"0.535",
"0.3137",
"0.535",
"0.3137",
"0.549",
"0.1748",
"0.549"
],
[
"0.1732",
"0.5566",
"0.824",
"0.5566",
"0.824",
"0.571",
"0.1732",
"0.571"
],
[
"0.1871",
"0.5713",
"0.4631",
"0.5713",
"0.4631",
"0.5854",
"0.1871",
"0.5854"
],
[
"0.1732",
"0.587",
"0.826",
"0.587",
"0.826",
"0.601",
"0.1732",
"0.601"
],
[
"0.1896",
"0.603",
"0.824",
"0.603",
"0.824",
"0.613",
"0.1896",
"0.613"
],
[
"0.1887",
"0.616",
"0.2222",
"0.616",
"0.2222",
"0.6274",
"0.1887",
"0.6274"
],
[
"0.1724",
"0.63",
"0.7817",
"0.631",
"0.7817",
"0.646",
"0.1724",
"0.6445"
],
[
"0.1765",
"0.6514",
"0.822",
"0.6514",
"0.822",
"0.6655",
"0.1765",
"0.6655"
],
[
"0.1765",
"0.6655",
"0.824",
"0.6655",
"0.824",
"0.6797",
"0.1765",
"0.6797"
],
[
"0.1748",
"0.6797",
"0.714",
"0.6797",
"0.714",
"0.6934",
"0.1748",
"0.6934"
],
[
"0.1724",
"0.7104",
"0.6895",
"0.712",
"0.6895",
"0.7266",
"0.1724",
"0.7246"
],
[
"0.1765",
"0.7393",
"0.812",
"0.7393",
"0.812",
"0.7524",
"0.1765",
"0.7524"
],
[
"0.806",
"0.742",
"0.822",
"0.742",
"0.822",
"0.75",
"0.806",
"0.75"
],
[
"0.1765",
"0.7524",
"0.8228",
"0.7524",
"0.8228",
"0.7666",
"0.1765",
"0.7666"
],
[
"0.1724",
"0.763",
"0.824",
"0.765",
"0.824",
"0.7827",
"0.1724",
"0.781"
],
[
"0.1748",
"0.781",
"0.8228",
"0.781",
"0.8228",
"0.7944",
"0.1748",
"0.7944"
],
[
"0.1765",
"0.7954",
"0.8228",
"0.7954",
"0.8228",
"0.81",
"0.1765",
"0.81"
],
[
"0.1765",
"0.8096",
"0.8228",
"0.8096",
"0.8228",
"0.8228",
"0.1765",
"0.8228"
],
[
"0.1765",
"0.8228",
"0.8228",
"0.8228",
"0.8228",
"0.836",
"0.1765",
"0.836"
],
[
"0.1765",
"0.836",
"0.824",
"0.836",
"0.824",
"0.8496",
"0.1765",
"0.8496"
],
[
"0.1748",
"0.8486",
"0.761",
"0.8496",
"0.761",
"0.863",
"0.1748",
"0.8623"
],
[
"0.1969",
"0.884",
"0.8228",
"0.886",
"0.8228",
"0.901",
"0.1969",
"0.8984"
],
[
"0.1748",
"0.8994",
"0.8228",
"0.8994",
"0.8228",
"0.9136",
"0.1748",
"0.9136"
],
[
"0.1765",
"0.9136",
"0.7983",
"0.9136",
"0.7983",
"0.924",
"0.1765",
"0.924"
],
[
"0.4927",
"0.9487",
"0.505",
"0.9487",
"0.505",
"0.9604",
"0.4927",
"0.9604"
]
] | [
"Published as a conference paper at ICLR 2021",
"→Rollout",
"-Gradient",
"Camera Colors LightsK Textures",
"MassVertices",
"Friction",
"Forces",
"O",
"States",
"Loss",
"",
"C",
"",
"Elasticity",
"(d) Predicted",
"(e) Ground",
"(a) Object",
"(b)Physics Engine",
"(c) Renderer",
"Video",
"TruthVideo",
"(f) Existing Methods (State Supervision)",
"(g)gradSim (lmageSupervision)",
"Figure 2:Sim:Given video observations of an evolving physical system(e),werandomly initialize scene",
"object properties (a) and evolve them over time using a differentiable physics engine (b), which generates states",
". Our renderer (c) processes states, object vertices and global rendering parameters to produce image frames for",
"computing our loss. We backprop through this computation graph to estimate physical attributes and controls",
"Existing methods rely solely on differentiable physics engines and require supervision in state-space (f), while",
"VSim only needs image-space supervision (g)",
"我们通过将场景动力学的显式(和可微分)模型与图像形成(染)耦合,消除了白盒动",
"力学方法对3D监督的依赖",
"即使访问完整的系统状态,对端到端动态和图像形成的视频观察进行显式建模也具有挑战",
"性。这个问题已经在视觉,图形和物理社区E(Pharretal.,2016;Macklinetal.,2014)中得到了",
"解决,从而导致了强大的前向仿真模型和算法的开发。这些模拟器不容易用于解决反问题",
"部分原因是它们的不可微性。因此,黑盒正向过程的应用通常需要替代梯度估计器,例如",
"有限差分或REINFORCEE(WilliamS,1992),以实现任何学习。黑盒正向模拟器的无以然推",
"理E(Ramos et al., 2019; Cranmer et al., 2020a; Kulkarni et al., 2015; Yildirim et al., 2017; 2015:",
"2020;Wuetal.,2017b)在这里进行了一些改进,但在数据效率和对高维参数空间的可伸缩性",
"方面仍然受到限制。可微分仿真的最新进展进一步改善了学习动态,但是我们仍然缺乏",
"种在整个仿真过程中进行端到端微分的方法(i。e。,从视频像素到物理属性),仅从视频顿",
"进行有效学习的先决条件",
"我们介绍√Sim,这是一款多功能的端到端可微分模拟器,采用可微分动力学和图像形成的",
"整体,统一视图(cf.E图。1、2)。现有的可微分物理引擎仅对时变动力学进行建模,并且",
"需要在状态空间中进行监督(通常是3D跟踪)。我们还对可区分的图像形成过程进行建模",
"因此仅需要在图像空间中指定的自标信息。这使我们能够将El(Griewank&Walther,2003)训",
"练信号从视频像素一直反向传播到场景的基本物理和动态属性",
"我们的主要贡献是:",
": VSim, a differentiable simulator that demonstrates the ability to backprop from video pixels to the",
"underlying physical attributes (cf. Fig. 2).",
": We demonstrate recovering many physical properties exclusively from video observations, includ-",
"ingfriction,elasticity,deformablematerialparameters,andvisuomotorcontrols(sans3Dsupervi-",
"sion)",
".APyTorch framework facilitating interoperability with existing machine learning modules",
"我们评估了√Sim在刚性,可变形和薄壳物体的参数识别任务上的有效性,并展示了与当前",
"仅物理可微模拟器相比具有竞争力或在某些情况下更优越的性能。此外,我们证明了√Sim",
"提供的梯度在涉及可变形固体和布料的挑战性视觉运动控制任务上的有效性",
"2VSim:AUNIFIEDDIFFERENTIABLESIMULATIONENGINE",
"通常,物理估计和谊染被视为不相交、互斥的任务。在这项工作中,我们一般采用统",
"1",
"的仿真视图,以构成物理估计和染。形式上,模拟是一个函数Sim:RP×[0,1l→",
"RH×RW,Sim(p,t)=工。这里pERP是一个表示模拟状态和参数的向量(对象,它们的",
"物理属性,它们的几何形状等。),t表示模拟的时间(方便地重新参数化为在间隔[0,1]中)。",
"给定初始条件Po,仿真函数在每个时间步长t处生成高度为H,宽度为W的图像工。如",
"果此函数Sim是可微分的,则Sim(p,t)相对于仿真参数p的梯度提供了由于p对p的无限",
"小扰动而导致的从工到工+VSim(p,t)op的仿真输出的变化。。此构造使基于梯度的优化器",
"能够通过在图像空间C(工,)上定义损失函数并沿平行于-VSim()的方向降低此损失景观",
"来估计视频中的物理参数。为了实现这一点,我们转向计算图和可微分编程的范例",
"'Dynamics refers to the laws governing the motion and deformation of objects over time.Rendering refers to",
"the interaction of these scene elements - including their material properties -with scene lighting to form image",
"sequences as observed by a virtual camera.Simulationrefers toa unified treatment of thesetwo processes",
"2"
] | {
"arxiv_id": "2104.02646",
"language": "zh",
"page_idx": 1
} |
||
2104.02646-zh-2 | 2104.02646-zh-2.jpg | $\underline{\text{Published as a conference paper at ICLR 2021}}$
$\nabla Sim$包含两个主要组件:可微分物理引擎,用于计算每个时刻场景的物理状态;可微分渲染器,用于将场景渲染为 2D 图像。与现有的可微分物理$\boxed{\mathrm{E}}$(Toussaint et al., 2018; de Avila Belbute-Peres et al., 2018; Song & Boularias, 2020b;a; Degrave et al., 2016; Wu et al., 2017a; Research, 2020 (accessed May 15, 2020; Hu et al., 2020; Qiao et al., 2020) 或可微分渲染 (Loper & Black, 2014; Kato et al., 2018; Liu et al., 2019; Chen et al., 2019) 方法相反,我们采用整体视图并构建跨越它们的计算图
2.1 DIFFERENTIABLE PHYSICS ENGINE
在拉格朗日力学下,物理系统的状态可以用广义坐标$q$ ,广义速度$\dot{q}=u$和设计/模型参数$\theta$来描述。出于说明的目的,我们不区分刚体,可变形实体或布的薄壳模型等。虽然坐标和参数的具体选择各不相同,但仿真过程几乎没有变化。我们用$s(t)=[\boldsymbol{q}(t),\boldsymbol{u}(t)]$表示组合状态向量
系统的动态演化由$M(s,\theta)\dot{s}=\boldsymbol{f}(s,\theta)$形式的二阶微分方程 (ODE)控制,其中$M$是取决于状态和参数的质量矩阵。系统上的力可以通过设计参数来参数化(例如。g。杨氏模量)。这些 ODE 的解可以通过黑箱数值积分方法获得,其导数可以通过连续伴随方法E(Chen et al. 2018)计算得出。但是,我们将物理引擎视为可微分操作,该操作提供了时间步长开始时的状态向量$s^-=s(t)$与时间步长$s^+=s(t+\Delta t)$结束时的更新状态之间的隐式关系。然后可以将任意离散时间积分方案抽象为函数$g(s^-,s^+,\theta)=\mathbf{0}$,将初始和最终系统状态与模型参数$\theta$相关联
可以通过基于图的自动差异框架E(Paszke et al., 2019; Abadi et al., 2015; Bradbury et al., 2018) 或通过程序转换方法$\overline{\mathrm{E}}($Hu et al., 2020; van Merriënboer et al, 2018) 来计算通过该动力学系统的梯度。我们的框架与可微分物理引擎的细节无关,但是在附录$\color{red}{\mathrm{EA~EFFD}}$中,我们详细介绍了一种基于并行内核的源代码转换的有效方法,类似于 DiffTaichi$\boxed{\mathrm{E}}($Hu et al.,2020)。此外,我们描述了对该框架的扩展,以支持可变形和薄壳固体的基于网格的四面体有限元模型 (FEM)。这很重要,因为我们需要表面网格来执行可微分光栅化,如以下部分所述
2.2 DIFFERENTIABLE RENDERING ENGINE
渲染器期望场景描述输入并生成彩色图像输出,所有这些都是根据正向图形管道定义的一系列图像形成阶段。场景描述包括场景元素的完整几何描述符、其关联的材质/反射率属性、 光源定义和虚拟摄像机参数。渲染过程通常是不可区分的,因为可见性和遮挡事件会引人不连续性。大多数交互式渲染器 (例如实时应用程序中使用的渲染器)都采用光栅化过程将3D 几何图元投影到 2D 像素坐标上,从而通过不可微分操作解决这些可见性事件
我们的实验采用了传统光栅化的两种可微分替代方案 SoftRas (Liu et al.,2019) 和 DIB-R (Chen et al.,2019) , 它们都用平滑的 S 形代替了不连续的三角形网格边缘。这具有将三角形边缘模糊为半透明边界的效果,从而消除了传统光栅化的不可微分不连续性。DIB-R 区分前景像素 (与场景中渲染的主要对象相关联)和背景像素(对于所有其他对象,如果有)。后者是使用与 SoftRas 相同的技术渲染的,而前者是通过使用可微分 UV 坐标对纹理进行双线性采样来渲染的
$\nabla Sim$以独立且可调的速率执行可区分的物理仿真和渲染,从而使我们能够通过渲染比动态
更新更少的帧来换取计算精度
# 3 EXPERIMENTS
我们进行了多次实验,以测试$\nabla Sim$对视频和视觉运动控制的物理参数识别的功效,以解决
以下间题:
$\bullet$ Can we accurately identify physical parameters by backpropagating from video pixels, through
the simulator? (Ans: Yes, very accurately $,cf.\color{red}{3.1})$
$\bullet$ What is the performance gap associated with using $\nabla Sim$ (2D supervision) vs. differentiable
physics-only engines (3D supervision)? (Ans: $\nabla Sim$ is competitive/superior $,cf.$ Tables $\color{red}1,2,3)$ · How do loss landscapes differ across differentiable simulators ($\nabla Sim)$ and their non-differentiable
counterparts? (Ans: Loss landscapes for $\nabla Sim$ are smooth $,cf.3.1.3)$
$\bullet$ Can we use $\nabla Sim$ for visuomotor control tasks? (Ans: Yes, without any 3D supervision $,cf.\color{red}{3.2})$ · How sensitive is $\nabla Sim$ to modeling assumptions at system level? (Ans: Moderately , $cf.$ Table 4)
3 | [
[
"0.1748",
"0.0341",
"0.4763",
"0.0341",
"0.4763",
"0.0486",
"0.1748",
"0.0486"
],
[
"0.1748",
"0.1042",
"0.822",
"0.1048",
"0.822",
"0.1193",
"0.1748",
"0.1187"
],
[
"0.1765",
"0.1193",
"0.822",
"0.1193",
"0.822",
"0.1332",
"0.1765",
"0.1332"
],
[
"0.1748",
"0.132",
"0.822",
"0.1332",
"0.822",
"0.1465",
"0.1748",
"0.1459"
],
[
"0.1748",
"0.1465",
"0.822",
"0.1465",
"0.822",
"0.1604",
"0.1748",
"0.1604"
],
[
"0.1748",
"0.1604",
"0.8228",
"0.1604",
"0.8228",
"0.1736",
"0.1748",
"0.1736"
],
[
"0.1765",
"0.1749",
"0.3718",
"0.1749",
"0.3718",
"0.1881",
"0.1765",
"0.1881"
],
[
"0.1748",
"0.2039",
"0.4617",
"0.2039",
"0.4617",
"0.2172",
"0.1748",
"0.2172"
],
[
"0.1765",
"0.2311",
"0.822",
"0.2311",
"0.822",
"0.2456",
"0.1765",
"0.2456"
],
[
"0.1748",
"0.2456",
"0.8228",
"0.2456",
"0.8228",
"0.2588",
"0.1748",
"0.2588"
],
[
"0.1748",
"0.26",
"0.822",
"0.26",
"0.822",
"0.2734",
"0.1748",
"0.2734"
],
[
"0.1748",
"0.2727",
"0.2418",
"0.2747",
"0.2418",
"0.286",
"0.1748",
"0.2842"
],
[
"0.1772",
"0.2942",
"0.8228",
"0.2942",
"0.8228",
"0.308",
"0.1772",
"0.308"
],
[
"0.1765",
"0.3093",
"0.822",
"0.3093",
"0.822",
"0.3225",
"0.1765",
"0.3225"
],
[
"0.1748",
"0.3208",
"0.8203",
"0.3213",
"0.8203",
"0.3352",
"0.1748",
"0.334"
],
[
"0.1765",
"0.336",
"0.822",
"0.336",
"0.822",
"0.3499",
"0.1765",
"0.3499"
],
[
"0.1765",
"0.351",
"0.822",
"0.351",
"0.822",
"0.3643",
"0.1765",
"0.3643"
],
[
"0.1748",
"0.3623",
"0.8228",
"0.363",
"0.8228",
"0.3774",
"0.1748",
"0.377"
],
[
"0.1765",
"0.3774",
"0.2573",
"0.3774",
"0.2573",
"0.3894",
"0.1765",
"0.3894"
],
[
"0.1772",
"0.3984",
"0.8228",
"0.3984",
"0.8228",
"0.4124",
"0.1772",
"0.4124"
],
[
"0.1765",
"0.4124",
"0.822",
"0.4124",
"0.822",
"0.4255",
"0.1765",
"0.4255"
],
[
"0.1748",
"0.4248",
"0.8228",
"0.4255",
"0.8228",
"0.44",
"0.1748",
"0.4395"
],
[
"0.1772",
"0.44",
"0.8228",
"0.44",
"0.8228",
"0.4539",
"0.1772",
"0.4539"
],
[
"0.1765",
"0.455",
"0.8228",
"0.455",
"0.8228",
"0.4685",
"0.1765",
"0.4685"
],
[
"0.1748",
"0.4685",
"0.7876",
"0.4685",
"0.7876",
"0.4817",
"0.1748",
"0.4817"
],
[
"0.1732",
"0.4956",
"0.4844",
"0.4968",
"0.4844",
"0.511",
"0.1732",
"0.5103"
],
[
"0.1765",
"0.5244",
"0.822",
"0.5244",
"0.822",
"0.5386",
"0.1765",
"0.5386"
],
[
"0.1748",
"0.537",
"0.822",
"0.537",
"0.822",
"0.5503",
"0.1748",
"0.5503"
],
[
"0.1748",
"0.552",
"0.8228",
"0.553",
"0.8228",
"0.5664",
"0.1748",
"0.565"
],
[
"0.1772",
"0.5664",
"0.8228",
"0.5664",
"0.8228",
"0.58",
"0.1772",
"0.58"
],
[
"0.1732",
"0.579",
"0.749",
"0.5806",
"0.749",
"0.5947",
"0.1732",
"0.5923"
],
[
"0.1772",
"0.603",
"0.822",
"0.603",
"0.822",
"0.613",
"0.1772",
"0.613"
],
[
"0.1765",
"0.6157",
"0.8228",
"0.6157",
"0.8228",
"0.629",
"0.1765",
"0.629"
],
[
"0.1765",
"0.6274",
"0.822",
"0.63",
"0.822",
"0.643",
"0.1765",
"0.6416"
],
[
"0.1772",
"0.6445",
"0.8203",
"0.6445",
"0.8203",
"0.655",
"0.1772",
"0.655"
],
[
"0.1765",
"0.657",
"0.8228",
"0.657",
"0.8228",
"0.6704",
"0.1765",
"0.6704"
],
[
"0.1765",
"0.6724",
"0.29",
"0.6724",
"0.29",
"0.683",
"0.1765",
"0.683"
],
[
"0.1765",
"0.6924",
"0.8228",
"0.6924",
"0.8228",
"0.7056",
"0.1765",
"0.7056"
],
[
"0.1765",
"0.7056",
"0.3882",
"0.7056",
"0.3882",
"0.7197",
"0.1765",
"0.7197"
],
[
"0.1724",
"0.7373",
"0.3325",
"0.7393",
"0.3325",
"0.754",
"0.1724",
"0.752"
],
[
"0.1765",
"0.7695",
"0.8228",
"0.7695",
"0.8228",
"0.7827",
"0.1765",
"0.7827"
],
[
"0.1772",
"0.784",
"0.2467",
"0.784",
"0.2467",
"0.7954",
"0.1772",
"0.7954"
],
[
"0.1765",
"0.8047",
"0.8228",
"0.8047",
"0.8228",
"0.8184",
"0.1765",
"0.8184"
],
[
"0.1871",
"0.8164",
"0.5215",
"0.8174",
"0.5215",
"0.832",
"0.1871",
"0.8306"
],
[
"0.1724",
"0.8335",
"0.8228",
"0.834",
"0.8228",
"0.8486",
"0.1724",
"0.8477"
],
[
"0.1887",
"0.8486",
"0.8105",
"0.8486",
"0.8105",
"0.8623",
"0.1887",
"0.8623"
],
[
"0.1732",
"0.8643",
"0.8228",
"0.8643",
"0.8228",
"0.8774",
"0.1732",
"0.8774"
],
[
"0.1871",
"0.879",
"0.6436",
"0.8774",
"0.6436",
"0.8926",
"0.1871",
"0.893"
],
[
"0.1724",
"0.893",
"0.8203",
"0.8945",
"0.8203",
"0.909",
"0.1724",
"0.9077"
],
[
"0.1732",
"0.91",
"0.822",
"0.911",
"0.822",
"0.9253",
"0.1732",
"0.925"
],
[
"0.4927",
"0.9497",
"0.5063",
"0.9497",
"0.5063",
"0.961",
"0.4927",
"0.961"
]
] | [
"Published as a conference paper at ICLR 2021",
"VSim包含两个主要组件:可微分物理引擎,用于计算每个时刻场景的物理状态;可微分",
"谊染器,用于将场景染为2D图像。与现有的可微分物理E(Toussaintetal.,2018;deAvila",
"Belbute-Peres et al., 2018; Song & Boularias, 2020b;a; Degrave et al., 2016; Wu et al.,2017a",
"Research,2020(accessedMay15,2020;Huetal.,2020;Qiaoetal.,2020)或可微分染(Loper",
"&Black,2014;Katoetal.,2018;Liuetal.,2019;Chenetal.,2019)方法相反,我们采用整体视",
"图并构建跨越它们的计算图",
"2.1DIFFERENTIABLEPHYSICSENGINE",
"在拉格朗日力学下,物理系统的状态可以用广义坐标q,广义速度9=u和设计/模型参数",
"θ来描述。出于说明的目的,我们不区分刚体,可变形实体或布的薄壳模型等。虽然坐标和",
"参数的具体选择各不相同,但仿真过程几乎没有变化。我们用s(t)=[q(t),u(t)]表示组合",
"状态向量",
"系统的动态演化由M(s,0)s=f(s,0)形式的二阶微分方程(ODE)控制,其中M是取决",
"于状态和参数的质量矩阵。系统上的力可以通过设计参数来参数化(例如。g。杨氏模量)。这",
"些ODE的解可以通过黑箱数值积分方法获得,其导数可以通过连续伴随方法E(Chenetal.",
"2018)计算得出。但是,我们将物理引擎视为可微分操作,该操作提供了时间步长开始时的",
"状态向量s=s(t)与时间步长s+=s(t+△t)结束时的更新状态之间的隐式关系。然后可",
"以将任意离散时间积分方案抽象为函数g(s-,s+,の)=0,将初始和最终系统状态与模型参",
"数0相关联",
"可以通过基于图的自动差异框架E(Paszkeetal.2019;Abadietal.,2015;Bradburyetal.,2018",
"或通过程序转换方法E(Huetal.,2020;vanMerrienboeretal.,2018)来计算通过该动力学系统",
"的梯度。我们的框架与可微分物理引擎的细节无关,但是在附录EAEEED中,我们详细",
"介绍了一种基于并行内核的源代码转换的有效方法,类似于DiffTaichiE(Huetal.,2020)。此",
"外,我们描述了对该框架的扩展,以支持可变形和薄壳固体的基于网格的四面体有限元模",
"型(FEM)。这很重要,因为我们需要表面网格来执行可微分光栅化,如以下部分所述",
"2.2DIFFERENTIABLERENDERINGENGINE",
"染器期望场景描述输入并生成彩色图像输出,所有这些都是根据正向图形管道定义的一",
"系列图像形成阶段。场景描述包括场景元素的完整几何描述符、其关联的材质/反射率属性",
"光源定义和虚拟摄像机参数。谊染过程通常是不可区分的,因为可见性和遮挡事件会引人",
"不连续性。大多数交互式染器(例如实时应用程序中使用的谊染器)都采用光栅化过程将",
"3D几何图元投影到2D像素坐标上,从而通过不可微分操作解决这些可见性事件",
"我们的实验采用了传统光栅化的两种可微分替代方案SoftRas(Liuetal.,2019)和DIB-R",
"(Chenetal.,2019),它们都用平滑的S形代替了不连续的三角形网格边缘。这具有将三角形",
"边缘模糊为半透明边界的效果,从而消除了传统光栅化的不可微分不连续性。DIB-R区分前",
"景像素(与场景中染的主要对象相关联)和背景像素(对于所有其他对象,如果有)。后",
"者是使用与SoftRas相同的技术染的,而前者是通过使用可微分UV坐标对纹理进行双线",
"性采样来道染的",
"VSim以独立且可调的速率执行可区分的物理仿真和染,从而使我们能够通过谊染比动态",
"更新更少的顿来换取计算精度",
"3EXPERIMENTS",
"我们进行了多次实验,以测试√Sim对视频和视觉运动控制的物理参数识别的功效,以解决",
"以下问题:",
":Can we accurately identify physical parameters by backpropagating from video pixels, through",
"the simulator? (Ans: Yes, very accurately , cf. 3.1)",
":What is the performance gap associated with using VSim (2D supervision) vs.differentiable",
"physics-only engines (3D supervision)? (Ans: VSim is competitive/superior , cf. Tables 1, 2, 3)",
":How do loss landscapes differ across differentiable simulators (VSim) and their non-differentiable",
"counterparts? (Ans: Loss landscapes for Sim are smooth,cf. 3.1.3)",
": Can we use VSim for visuomotor control tasks? (Ans: Yes, without any 3D supervision , cf. 3.2)",
": How sensitive is VSim to modeling assumptions at system level? (Ans: Moderately, cf. Table 4)",
"3"
] | {
"arxiv_id": "2104.02646",
"language": "zh",
"page_idx": 2
} |
||
2104.02646-zh-3 | 2104.02646-zh-3.jpg | Published as a conference paper at ICLR 2021
<table>
<tbody>
<tr>
<th rowspan="2">Approach</th>
<th rowspan="2">Mean abs.</th>
<th rowspan="2">Abs. Rel</th>
<th rowspan="2">Approach</th>
<th colspan="2">elasticity</th>
<th colspan="2">friction</th>
</tr>
<tr>
<th>$\overline{k_d}$</th>
<th>$\overline{k_e}$</th>
<th>$\overline{k}$</th>
<th>$\mu$</th>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td>Average</td>
<td>3.7145</td>
<td>2.3410</td>
<td>4.1157</td>
<td>0.4463</td>
</tr>
<tr>
<td> </td>
<td>27.</td>
<td> </td>
<td>Random</td>
<td>4.18</td>
<td>2.5454</td>
<td>5.0241</td>
<td>0.5558</td>
</tr>
<tr>
<td>2019h</td>
<td>0.1347</td>
<td>0.0004</td>
<td>ConvLSTM Xu et al. (2019b</td>
<td>0.14</td>
<td>0.14</td>
<td>0.17</td>
<td>0.096</td>
</tr>
<tr>
<td>2071</td>
<td>0.0928</td>
<td>0.3668</td>
<td>DiffPhvsics GD sun</td>
<td>4</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>sun</td>
<td>$1.35e-9$</td>
<td>5.17e-9</td>
<td> </td>
<td>A</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>$jm$</td>
<td>2.36e-5</td>
<td>9.01e-5</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
Table l: Mass estimation: $\nabla Sim$ obtains pre- Table 2: Rigid-body parameter estimation: $\nabla Sim$ esticise mass estimates, comparing favourably eveven mates contact parameters (elasticity,friction) to ahighh with approcahes that require 3D supervision( di
${\mathrm{uated.}}$
我们的每个实验都包含一个应用一组特定物理力和$\iota$或约束的环境 $\varepsilon$ ,一个隐式指定目标的(可微分)损失函数$\mathcal{L}$,以及模拟物理状态的初始猜测$\boldsymbol{\theta}_0$ 。目标是通过模拟器反向传播来恢复最小化$\mathcal{L}$的最佳物理参数$\theta^*$
3.1 PHYSICAL PARAMETER ESTIMATION FROM VIDEO
首先,我们评估$\nabla Sim$从图像/视频观察中准确识别质量,摩擦和弹性等各种物理属性的能力。据我们所知,$\nabla Sim$是第一个从视频观测中联合推断此类细粒度参数的研究。我们还实施了一组竞争性基线,这些基线严格使用有关任务的更多信息
<FigureHere>
3.1.1 RIGID BODIES( RIGID)
我们的第一个环境- rigid -评估从视频中估计刚性物体的物理和材料属性的准确性。我们策划了从 14 对象的变体生成的 10000 模拟视频的数据集,包括原始形状,如框,圆锥体,圆柱 Figure 3:
体,以及来自 ShapeNet$\boxed{\mathrm{E}}($Chang et al.,2015)和 deformable experiments,
DexNet$\boxed{\mathrm{F}}($Mahler et al., 2017) 的非凸形状。通过
均匀采样的初始尺寸,姿势,速度和物理特性 of a beam hanging under gravity. In the rigid (密度,弹性和摩擦参数),我们将已知的脉冲施 experiments,we estimate contact parameters 加到对象上,并记录所得轨迹的视频。通过猜测$\begin{array}{rll}\text{(elasttcly/friction)andobjectdensityto matcha}\\\text{初始质量(在[2,12]kg/m}^{3}\text{范围内均匀随机),使}&\text{video(GT).We visualize entire time sequences}\\\text{用此猜测展开可微分模拟,将渲染的视频与真实}&\text{(t)with color-coded blends.}\end{array}$ 视频进行比较(像素均方误差-MSE),并执行梯
度更新下降。我们请感兴趣的读者参阅附录(Sec。G)了解更多详情
Parameter Estimation :
For
we optimize
the material properties of a beam to match a video (elasticity/friction) and object density to match a
表$\mathbb{E}$1 显示了从视频中预测物体质量的结果,并向其施加了已知的脉冲。我们使用 EfficientNet (B0)$\operatorname{E}($Tan&Le, 2019) 并将输入帧的大小调整为$64\times64$。将分辨率为$4\times4\times32$的特征图连接到所有帧,并将其馈送到具有 4 个线性层的 MLP, 并以 MSE 损失进行训练。我们将$\nabla Sim$与其他三个基线进行比较:PyBullet+REINFORCE (Ehsani et al., 2020; Wu et al., 2015) , diff。仅物理 (需要 3D 监督), 以及从 Xu et al.(2019b) 采用的 ConvLSTM 基线,但骨干更强。DiffPhysics 基线是$\nabla Sim$的严格子集,它仅包含可微分物理引擎。但是,它需要精确的 3D 状态作为监督,这是其卓越性能的主要因素。尽管如此,$\nabla Sim$能够非常精确地估计视频质量,绝对相对误差为 9。01e-5, 比 ConvLSTM 基线好了近两个数量级。还使用了另外两个基线:“平均”基线始终预测数据集平均值,“随机”基线预测来自测试分布的随机参数值。所有基线和训练细节都可以在 Sec 中找到。H 的附录
为了研究是否需要分析可微性,我们的 PyBullet+REINFORCE 基线通过不可微分模拟器 (Coumans& Bai, 2016-2019) 应用黑盒梯度估计 (Williams, 1992),类似于 Ehsani et al. (2020)。我们发现这个基线对几个模拟参数特别敏感,因此性能更差。在表 2中,我们仅从视频观察中联合估计了柔顺接触模型的摩擦和弹性参数。趋势类似于表 1, $\nabla Sim$能够精确恢复模拟的参数。在图中可以看到几个例子。3
4 | [
[
"0.1748",
"0.0341",
"0.478",
"0.0341",
"0.478",
"0.04736",
"0.1748",
"0.04736"
],
[
"0.6855",
"0.101",
"0.728",
"0.1029",
"0.726",
"0.11426",
"0.6846",
"0.11237"
],
[
"0.7656",
"0.1016",
"0.8022",
"0.1016",
"0.8022",
"0.11237",
"0.7656",
"0.11237"
],
[
"0.1871",
"0.10986",
"0.2239",
"0.10986",
"0.2239",
"0.11743",
"0.1871",
"0.11743"
],
[
"0.4307",
"0.10986",
"0.4631",
"0.10986",
"0.4631",
"0.11743",
"0.4307",
"0.11743"
],
[
"0.6313",
"0.1042",
"0.665",
"0.1042",
"0.665",
"0.113",
"0.6313",
"0.113"
],
[
"0.492",
"0.1111",
"0.5376",
"0.1111",
"0.5376",
"0.1218",
"0.492",
"0.1218"
],
[
"0.638",
"0.113",
"0.653",
"0.113",
"0.653",
"0.1206",
"0.638",
"0.1206"
],
[
"0.721",
"0.11426",
"0.728",
"0.11426",
"0.728",
"0.1193",
"0.721",
"0.1193"
],
[
"0.7607",
"0.11426",
"0.773",
"0.11426",
"0.773",
"0.1206",
"0.7607",
"0.1206"
],
[
"0.6807",
"0.11615",
"0.689",
"0.10986",
"0.6953",
"0.11554",
"0.687",
"0.1218"
],
[
"0.4902",
"0.1187",
"0.5317",
"0.1206",
"0.5312",
"0.1351",
"0.4885",
"0.1332"
],
[
"0.6284",
"0.11743",
"0.6685",
"0.1193",
"0.6665",
"0.1307",
"0.6274",
"0.1288"
],
[
"0.746",
"0.1187",
"0.822",
"0.1193",
"0.822",
"0.1307",
"0.746",
"0.13"
],
[
"0.3945",
"0.1193",
"0.4028",
"0.1193",
"0.4028",
"0.1225",
"0.3945",
"0.1225"
],
[
"0.3816",
"0.1193",
"0.3906",
"0.1193",
"0.3906",
"0.1225",
"0.3816",
"0.1225"
],
[
"0.664",
"0.1193",
"0.744",
"0.1193",
"0.744",
"0.1307",
"0.664",
"0.1307"
],
[
"0.4314",
"0.1218",
"0.4631",
"0.1218",
"0.4631",
"0.1332",
"0.4314",
"0.1332"
],
[
"0.1871",
"0.125",
"0.2173",
"0.125",
"0.2173",
"0.1332",
"0.1871",
"0.1332"
],
[
"0.38",
"0.1218",
"0.407",
"0.1237",
"0.406",
"0.1351",
"0.3782",
"0.1332"
],
[
"0.6274",
"0.1276",
"0.6665",
"0.1276",
"0.6665",
"0.1395",
"0.6274",
"0.1395"
],
[
"0.71",
"0.1276",
"0.744",
"0.1276",
"0.744",
"0.1395",
"0.71",
"0.1395"
],
[
"0.7485",
"0.1288",
"0.8203",
"0.1288",
"0.8203",
"0.1395",
"0.7485",
"0.1395"
],
[
"0.4927",
"0.1288",
"0.5312",
"0.1288",
"0.5312",
"0.1395",
"0.4927",
"0.1395"
],
[
"0.3774",
"0.13",
"0.411",
"0.13",
"0.411",
"0.1515",
"0.3774",
"0.1515"
],
[
"0.4307",
"0.13",
"0.464",
"0.13",
"0.464",
"0.1528",
"0.4307",
"0.1528"
],
[
"0.6763",
"0.13",
"0.699",
"0.13",
"0.699",
"0.1383",
"0.6763",
"0.1383"
],
[
"0.7876",
"0.1364",
"0.819",
"0.1383",
"0.818",
"0.1483",
"0.786",
"0.1465"
],
[
"0.6313",
"0.137",
"0.6626",
"0.137",
"0.6626",
"0.1483",
"0.6313",
"0.1483"
],
[
"0.1887",
"0.1332",
"0.2133",
"0.1332",
"0.2133",
"0.1414",
"0.1887",
"0.1414"
],
[
"0.6763",
"0.137",
"0.701",
"0.137",
"0.701",
"0.1483",
"0.6763",
"0.1483"
],
[
"0.7134",
"0.137",
"0.739",
"0.137",
"0.739",
"0.1483",
"0.7134",
"0.1483"
],
[
"0.4927",
"0.1383",
"0.6216",
"0.1383",
"0.6216",
"0.1483",
"0.4927",
"0.1483"
],
[
"0.1854",
"0.1383",
"0.29",
"0.1383",
"0.29",
"0.1483",
"0.1854",
"0.1483"
],
[
"0.4314",
"0.1433",
"0.468",
"0.1483",
"0.464",
"0.1692",
"0.4265",
"0.1642"
],
[
"0.7534",
"0.1395",
"0.778",
"0.1395",
"0.778",
"0.1477",
"0.7534",
"0.1477"
],
[
"0.492",
"0.1465",
"0.589",
"0.1483",
"0.589",
"0.159",
"0.492",
"0.1572"
],
[
"0.63",
"0.1459",
"0.6685",
"0.1477",
"0.6665",
"0.1604",
"0.6284",
"0.1578"
],
[
"0.675",
"0.1477",
"0.7017",
"0.1477",
"0.7017",
"0.159",
"0.675",
"0.159"
],
[
"0.71",
"0.1477",
"0.7417",
"0.1477",
"0.7417",
"0.159",
"0.71",
"0.159"
],
[
"0.749",
"0.1477",
"0.8203",
"0.1477",
"0.8203",
"0.159",
"0.749",
"0.159"
],
[
"0.1887",
"0.1483",
"0.3513",
"0.1483",
"0.3513",
"0.1559",
"0.1887",
"0.1559"
],
[
"0.1854",
"0.1497",
"0.2712",
"0.1547",
"0.2695",
"0.1692",
"0.1847",
"0.1642"
],
[
"0.3857",
"0.1497",
"0.3945",
"0.1497",
"0.3945",
"0.154",
"0.3857",
"0.154"
],
[
"0.3945",
"0.1497",
"0.4043",
"0.1509",
"0.4028",
"0.1547",
"0.3938",
"0.154"
],
[
"0.709",
"0.1572",
"0.822",
"0.1572",
"0.822",
"0.1674",
"0.709",
"0.1674"
],
[
"0.492",
"0.1578",
"0.5195",
"0.1578",
"0.5195",
"0.1654",
"0.492",
"0.1654"
],
[
"0.3782",
"0.1528",
"0.4084",
"0.1528",
"0.4084",
"0.1642",
"0.3782",
"0.1642"
],
[
"0.6274",
"0.1578",
"0.6665",
"0.1578",
"0.6665",
"0.1654",
"0.6274",
"0.1654"
],
[
"0.6763",
"0.1578",
"0.6978",
"0.1578",
"0.6978",
"0.1654",
"0.6763",
"0.1654"
],
[
"0.183",
"0.1642",
"0.2115",
"0.1642",
"0.2115",
"0.1718",
"0.183",
"0.1718"
],
[
"0.3782",
"0.1642",
"0.4084",
"0.1642",
"0.4084",
"0.1718",
"0.3782",
"0.1718"
],
[
"0.4314",
"0.1642",
"0.464",
"0.1642",
"0.464",
"0.1718",
"0.4314",
"0.1718"
],
[
"0.4836",
"0.1818",
"0.824",
"0.1831",
"0.824",
"0.1963",
"0.4836",
"0.1957"
],
[
"0.1732",
"0.1881",
"0.478",
"0.1895",
"0.478",
"0.2026",
"0.1732",
"0.202"
],
[
"0.1748",
"0.202",
"0.4756",
"0.202",
"0.4756",
"0.2153",
"0.1748",
"0.2153"
],
[
"0.4836",
"0.1976",
"0.8228",
"0.1976",
"0.8228",
"0.2084",
"0.4836",
"0.2084"
],
[
"0.1748",
"0.214",
"0.4795",
"0.214",
"0.4795",
"0.2279",
"0.1748",
"0.2279"
],
[
"0.478",
"0.209",
"0.8228",
"0.209",
"0.8228",
"0.2229",
"0.478",
"0.2229"
],
[
"0.1765",
"0.2267",
"0.4805",
"0.2267",
"0.4805",
"0.2405",
"0.1765",
"0.2405"
],
[
"0.482",
"0.2216",
"0.822",
"0.2216",
"0.822",
"0.2349",
"0.482",
"0.2349"
],
[
"0.482",
"0.2317",
"0.824",
"0.2329",
"0.824",
"0.2474",
"0.482",
"0.2468"
],
[
"0.1748",
"0.2393",
"0.4697",
"0.2393",
"0.4697",
"0.2524",
"0.1748",
"0.2524"
],
[
"0.486",
"0.2488",
"0.5215",
"0.2488",
"0.5215",
"0.2556",
"0.486",
"0.2556"
],
[
"0.1765",
"0.2935",
"0.8228",
"0.2935",
"0.8228",
"0.307",
"0.1765",
"0.307"
],
[
"0.1765",
"0.307",
"0.8228",
"0.307",
"0.8228",
"0.3208",
"0.1765",
"0.3208"
],
[
"0.1765",
"0.3213",
"0.3938",
"0.3213",
"0.3938",
"0.3352",
"0.1765",
"0.3352"
],
[
"0.1732",
"0.358",
"0.564",
"0.3599",
"0.564",
"0.375",
"0.1732",
"0.3726"
],
[
"0.1772",
"0.3901",
"0.5146",
"0.3901",
"0.5146",
"0.401",
"0.1772",
"0.401"
],
[
"0.1748",
"0.4028",
"0.5146",
"0.4028",
"0.5146",
"0.4167",
"0.1748",
"0.4167"
],
[
"0.1748",
"0.4167",
"0.5156",
"0.4167",
"0.5156",
"0.43",
"0.1748",
"0.43"
],
[
"0.1765",
"0.4312",
"0.517",
"0.4312",
"0.517",
"0.4443",
"0.1765",
"0.4443"
],
[
"0.1748",
"0.4443",
"0.5146",
"0.4443",
"0.5146",
"0.4583",
"0.1748",
"0.4583"
],
[
"0.1748",
"0.459",
"0.1936",
"0.459",
"0.1936",
"0.4717",
"0.1748",
"0.4717"
],
[
"0.536",
"0.4634",
"0.5474",
"0.4602",
"0.55",
"0.4634",
"0.539",
"0.4673"
],
[
"0.535",
"0.473",
"0.55",
"0.473",
"0.55",
"0.483",
"0.535",
"0.483"
],
[
"0.1732",
"0.4937",
"0.407",
"0.4944",
"0.407",
"0.509",
"0.1732",
"0.5083"
],
[
"0.5376",
"0.4988",
"0.5435",
"0.4988",
"0.5435",
"0.507",
"0.5376",
"0.507"
],
[
"0.536",
"0.512",
"0.55",
"0.512",
"0.55",
"0.5215",
"0.536",
"0.5215"
],
[
"0.1765",
"0.5215",
"0.5156",
"0.5215",
"0.5156",
"0.535",
"0.1765",
"0.535"
],
[
"0.1765",
"0.536",
"0.5156",
"0.536",
"0.5156",
"0.55",
"0.1765",
"0.55"
],
[
"0.591",
"0.539",
"0.6323",
"0.539",
"0.6323",
"0.547",
"0.591",
"0.547"
],
[
"0.6914",
"0.539",
"0.7114",
"0.539",
"0.7114",
"0.55",
"0.6914",
"0.55"
],
[
"0.5513",
"0.547",
"0.5664",
"0.547",
"0.5664",
"0.5537",
"0.5513",
"0.5537"
],
[
"0.7686",
"0.5415",
"0.778",
"0.5415",
"0.778",
"0.547",
"0.7686",
"0.547"
],
[
"0.1765",
"0.55",
"0.5156",
"0.55",
"0.5156",
"0.563",
"0.1765",
"0.563"
],
[
"0.8057",
"0.547",
"0.8203",
"0.547",
"0.8203",
"0.5537",
"0.8057",
"0.5537"
],
[
"0.1748",
"0.5625",
"0.517",
"0.563",
"0.517",
"0.5776",
"0.1748",
"0.577"
],
[
"0.5293",
"0.5664",
"0.601",
"0.5664",
"0.601",
"0.5776",
"0.5293",
"0.5776"
],
[
"0.619",
"0.5664",
"0.7754",
"0.5664",
"0.7754",
"0.577",
"0.619",
"0.577"
],
[
"0.8",
"0.5645",
"0.826",
"0.5674",
"0.8228",
"0.5776",
"0.7974",
"0.5747"
],
[
"0.1765",
"0.5776",
"0.5186",
"0.5776",
"0.5186",
"0.5913",
"0.1765",
"0.5913"
],
[
"0.5312",
"0.58",
"0.6323",
"0.58",
"0.6323",
"0.5903",
"0.5312",
"0.5903"
],
[
"0.6274",
"0.58",
"0.7183",
"0.58",
"0.7183",
"0.5903",
"0.6274",
"0.5903"
],
[
"0.7363",
"0.582",
"0.755",
"0.582",
"0.755",
"0.589",
"0.7363",
"0.589"
],
[
"0.7686",
"0.58",
"0.8228",
"0.58",
"0.8228",
"0.5903",
"0.7686",
"0.5903"
],
[
"0.1765",
"0.5903",
"0.5186",
"0.5913",
"0.5186",
"0.605",
"0.1765",
"0.604"
],
[
"0.5312",
"0.5923",
"0.8228",
"0.5923",
"0.8228",
"0.603",
"0.5312",
"0.603"
],
[
"0.1765",
"0.605",
"0.517",
"0.605",
"0.517",
"0.6187",
"0.1765",
"0.6187"
],
[
"0.5293",
"0.603",
"0.824",
"0.603",
"0.824",
"0.616",
"0.5293",
"0.616"
],
[
"0.1772",
"0.6187",
"0.5186",
"0.6187",
"0.5186",
"0.632",
"0.1772",
"0.632"
],
[
"0.5312",
"0.617",
"0.8228",
"0.617",
"0.8228",
"0.6274",
"0.5312",
"0.6274"
],
[
"0.1765",
"0.6333",
"0.5146",
"0.6333",
"0.5146",
"0.643",
"0.1765",
"0.643"
],
[
"0.5312",
"0.63",
"0.824",
"0.63",
"0.824",
"0.64",
"0.5312",
"0.64"
],
[
"0.1748",
"0.646",
"0.5156",
"0.646",
"0.5156",
"0.659",
"0.1748",
"0.659"
],
[
"0.5312",
"0.6426",
"0.822",
"0.6426",
"0.822",
"0.653",
"0.5312",
"0.653"
],
[
"0.1765",
"0.659",
"0.5146",
"0.659",
"0.5146",
"0.6724",
"0.1765",
"0.6724"
],
[
"0.5317",
"0.655",
"0.694",
"0.655",
"0.694",
"0.6655",
"0.5317",
"0.6655"
],
[
"0.1765",
"0.674",
"0.5156",
"0.674",
"0.5156",
"0.6875",
"0.1765",
"0.6875"
],
[
"0.1772",
"0.69",
"0.54",
"0.69",
"0.54",
"0.7007",
"0.1772",
"0.7007"
],
[
"0.539",
"0.688",
"0.6665",
"0.688",
"0.6665",
"0.702",
"0.539",
"0.702"
],
[
"0.1772",
"0.709",
"0.824",
"0.709",
"0.824",
"0.7227",
"0.1772",
"0.7227"
],
[
"0.1748",
"0.7217",
"0.8228",
"0.7227",
"0.8228",
"0.7373",
"0.1748",
"0.7363"
],
[
"0.1772",
"0.7373",
"0.8228",
"0.7373",
"0.8228",
"0.7505",
"0.1772",
"0.7505"
],
[
"0.1765",
"0.7505",
"0.824",
"0.7505",
"0.824",
"0.7646",
"0.1765",
"0.7646"
],
[
"0.1896",
"0.765",
"0.822",
"0.765",
"0.822",
"0.779",
"0.1896",
"0.779"
],
[
"0.1772",
"0.779",
"0.8228",
"0.779",
"0.8228",
"0.7925",
"0.1772",
"0.7925"
],
[
"0.1748",
"0.7915",
"0.8203",
"0.7915",
"0.8203",
"0.8047",
"0.1748",
"0.8047"
],
[
"0.1765",
"0.806",
"0.8228",
"0.806",
"0.8228",
"0.8193",
"0.1765",
"0.8193"
],
[
"0.1765",
"0.8193",
"0.824",
"0.8193",
"0.824",
"0.8335",
"0.1765",
"0.8335"
],
[
"0.1748",
"0.834",
"0.6055",
"0.834",
"0.6055",
"0.8477",
"0.1748",
"0.8477"
],
[
"0.1772",
"0.855",
"0.8228",
"0.855",
"0.8228",
"0.869",
"0.1772",
"0.869"
],
[
"0.1748",
"0.867",
"0.822",
"0.8687",
"0.822",
"0.8833",
"0.1748",
"0.882"
],
[
"0.1748",
"0.8833",
"0.822",
"0.8833",
"0.822",
"0.8965",
"0.1748",
"0.8965"
],
[
"0.1765",
"0.896",
"0.8228",
"0.8965",
"0.8228",
"0.911",
"0.1765",
"0.91"
],
[
"0.1765",
"0.911",
"0.5215",
"0.911",
"0.5215",
"0.925",
"0.1765",
"0.925"
],
[
"0.492",
"0.9497",
"0.5063",
"0.9497",
"0.5063",
"0.9604",
"0.492",
"0.9604"
]
] | [
"Published as a conference paper at ICLR 2021",
"elasticity",
"friction",
"Approach",
"Abs, Rel.",
"mass",
"Approach",
"m",
"",
"kf",
"T",
"Average",
"1.7713",
"4.11570.4463",
"ke",
"r",
"3.71452.3410",
"0.1031",
"Average",
"0.2022",
"10.0007",
"2.5454",
"5.02410.5558",
"Random",
"825",
"801",
"4.18",
"0.096",
"0.029",
"Rando",
"0.14",
"0.14",
"ConvLSTM Xu et al. (2019b)",
"ConvLSTM Xu et al. (2019",
"Si7ee",
"0.17",
"DiffPhysies (3D sup.)",
"1.70e-8",
"0.036",
"0.0020",
"0.00070.0107",
"PyBullet+REINFORCEEhsanielal.(2020",
"Difiphysies (3D sup.)",
"04",
"",
"0.00260.00170.0073",
"VSim",
"1.35e-9",
"2.87e-4",
"0.4",
"VSim",
"2.36e-5",
"9.01e-5",
"Table 2:Rigid-body parameter estimation:VSim esti-",
"Table 1:Mass estimation:VSim obtains pre-",
"cise mass estimates, comparing favourably even",
"mates contactparameters(elasticity,friction)to ahigh",
"with approaches that require 3D supervision ( diff-",
"degree of accuracy, despite estimating them from video.",
"physics ). We report the mean abolute error and ab-",
" Diffphys. requires accurate 3D ground-truth at 30 FPS",
"We report absolute relative errors for each approach eval-",
"solute relative errors for all approaches evaluated.",
"uated",
"我们的每个实验都包含一个应用一组特定物理力和/或约束的环境ε,一个隐式指定目标的",
"(可微分)损失函数L,以及模拟物理状态的初始猜测9o。目标是通过模拟器反向传播来恢",
"复最小化C的最佳物理参数0*",
"3.1PHYSICALPARAMETERESTIMATIONFROMVIDEO",
"首先,我们评估√Sim从图像/视频观察中准确识",
"别质量,摩擦和弹性等各种物理属性的能力。据",
"我们所知,VSim是第一个从视频观测中联合推",
"断此类细粒度参数的研究。我们还实施了一组竞",
"争性基线,这些基线严格使用有关任务的更多信",
"息",
"2",
"",
"3.1.1 RIGID BODIES(RIGID)",
"un",
"20",
"我们的第一个环境-rigid-评估从视频中估计",
"刚性物体的物理和材料属性的准确性。我们策",
"deformable",
"rigid",
"t=0",
"igi",
"划了从14对象的变体生成的10000模拟视频的",
"t=1",
"数据集,包括原始形状,如框,圆锥体,圆柱",
"Figure3:",
"ParameterEstimation",
"For",
"体,以及来自ShapeNetE(Changetal.,2015)和",
"deformable",
"experiments,",
"we",
"optimize",
"DexNetE(Mahleretal.,2017)的非凸形状。通过",
"thematerial propertiesofabeamtomatchavideo",
"均匀采样的初始尺寸,姿势,速度和物理特性",
"of a beam hanging under gravity. In the rigid",
"(密度,弹性和摩擦参数),我们将已知的脉冲施",
"experiments,weestimatecontact parameters",
"加到对象上,,并记录所得轨迹的视频。通过猜测",
"(elasticity/friction)andobjectdensitytomatcha",
"初始质量(在[2,12]kg/m3范围内均匀随机),使",
"video (GT).We visualize entire time sequences",
"用此猜测展开可微分模拟,将染的视频与真实",
"(t)with color-coded blends.",
"视频进行比较(像素均方误差-MSE),并执行梯",
"度更新下降。我们请感兴趣的读者参阅附录(Sec。",
"G)了解更多详情",
"表E1显示了从视频中预测物体质量的结果,并向其施加了已知的脉冲。我们使用EfficientNet",
"(B0)E(Tan&Le,2019)并将输人顿的大小调整为64×64。将分辨率为4×4×32的特征",
"图连接到所有顿,并将其馈送到具有4个线性层的MLP,并以MSE损失进行训练。我们将",
"VSim与其他三个基线进行比较:PyBullet+REINFORCE(Ehsanietal.,2020;Wuetal.,2015)",
"diff。仅物理(需要3D监督),以及从Xuetal.(2019b)采用的ConvLSTM基线,但骨干",
"更强。DiffPhysics基线是VSim的严格子集,它仅包含可微分物理引擎。但是,它需要精确",
"的3D状态作为监督,这是其卓越性能的主要因素。尽管如此,VSim能够非常精确地估计",
"视频质量,绝对相对误差为9。0le-5,比ConvLSTM基线好了近两个数量级。还使用了另",
"外两个基线:“平均”基线始终预测数据集平均值,“随机”基线预测来自测试分布的随机参",
"数值。所有基线和训练细节都可以在Sec中找到。H的附录",
"为了研究是否需要分析可微性,我们的PyBullet+REINFORCE基线通过不可微分模拟",
"器(Coumans&Bai,2016-2019)应用黑盒梯度估计(Williams,1992),类似于Ehsanietal.",
"(2020)。我们发现这个基线对几个模拟参数特别敏感,因此性能更差。在表2中,我们仅从",
"视频观察中联合估计了柔顺接触模型的摩擦和弹性参数。趋势类似于表1,VSim能够精确",
"恢复模拟的参数。在图中可以看到几个例子。3",
"4"
] | {
"arxiv_id": "2104.02646",
"language": "zh",
"page_idx": 3
} |
||
2104.02646-zh-4 | 2104.02646-zh-4.jpg | $\underline{\text{Published as a conference paper at ICLR 2021}}$
<table>
<tbody>
<tr>
<th> </th>
<th colspan="3">Deformable solid FEM</th>
<th rowspan="3">Thin-shell (cloth) Per-particle velocity $v$</th>
</tr>
<tr>
<th> </th>
<th rowspan="2">Per- particle mass $m$</th>
<th>Material</th>
<th>properties</th>
</tr>
<tr>
<th> </th>
<th>$\mu$</th>
<th>$\lambda$</th>
</tr>
<tr>
<td>Approach</td>
<td>Rel. MAE</td>
<td>Rel. MAE</td>
<td>Rel. MAE</td>
<td>Rel.MAE</td>
</tr>
<tr>
<td>DiffPhysics (3D Sup.)</td>
<td>0.032</td>
<td>0.0025</td>
<td>0.0024</td>
<td>0.127</td>
</tr>
<tr>
<td>$\nabla Sim$</td>
<td>0.048</td>
<td>0.0054</td>
<td>0.0056</td>
<td>0.026</td>
</tr>
</tbody>
</table>
Table 3: Parameter estimation of deformable objects: We estimate per-particle masses and material properties (for solid def. objects) and per-particle velocities for cloth. In the case of cloth, there is a perceivable performance drop in diffphysics , as the center of mass of a cloth is often outside the body, which results in ambiguity.
3.1.2 DEFORMABLE BODIES( DEFORMABLE)
我们进行了一系列实验,以研究$\nabla$Sim 恢复可变形固体和薄壳固体(布)的物理参数的能力。我们的物理模型由每粒子质量和 Lamé 弹性参数进行参数化,如附录 C.1 中所述。Fig。3 说明了通过匹配输人视频序列给出的变形来恢复在重力作用下悬挂的梁的弹性参数。我们发现我们的方法能够准确地恢复可变形对象(布,球,梁)的100实例的参数,如表$\color{red}{\color{red}{\mathrm{E}}}$3 和图。3
3.1.3 SMOOTHNESS OF THE LOSS LANDSCAPE IN $\nabla Sim$
由于$\nabla Sim$是可微分非线性分量的复杂组合,因此我们分析了损失景观,以通过系统验证梯度的有效性。Fig。4 说明了在已知所有其他物理特性的情况下优化刚体质量时的损耗情况
<FigureHere>
<FigureHere>
(a) Loss landscape (rigid)
(b) Loss landscape (deformable)
Figure 4: Loss landscapes when optimizing for physical attributes using $\nabla Sim.($ Left )When estimating the mass of a rigid-body with known shape using $\nabla Sim$ , despite images being formed by a highly nonlinear process (simulation), the loss landscape is remarkably smooth, for a range of initialization errors. ( Right ) when optimizing for the elasicity parameters of a deformable FEM solid. Both the Lamé parameters $\lambda$ and $\mu$ are set to 1000 , where the MSE loss has a unique, dominant minimum. Note that, for fair comparison, the ground-truth for our PyBullet+REINFORCE baseline was generated using the PyBullet engine.
我们检查了一系列初始化 (0.1kg 到 5 kg) 的单位质量立方体 (1 kg) 的图像空间均方误差(MSE)。值得注意的是,$\nabla Sim$的损耗情况表现良好,有利于基于动量的优化器。将 MSE 应用于预测视频和真实视频的第一帧和最后一帧可提供最佳渐变效果。然而,对于应用于不可微分模拟器 (PyBullet+REINFORCE)的朴素梯度估计器,存在多个局部最小值,导致非常狭窄的收敛区域。这解释了$\nabla Sim$在表 1 , 2 , 3 中的卓越性能
3.2 VISUOMOTOR CONTROL
为了研究$\nabla Sim$计算的梯度对于基于视觉的任务是否有意义,我们进行了一系列视觉运动控制实验,其中涉及将可变形对象驱动到视觉目标姿势(单个图像)。在所有情况下,我们都根据diffphysics 进行评估,diffphysics 使用目标规范和奖励 ,两者都是在 3D 状态空间上定义的
<FigureHere>
3.2.1 DEFORMABLE SOLIDS
第一个示例(control-walker)涉及2Dwalker 模型。我们的目标是训练神经网络$(\mathbf{NN})$控制策略,以驱动步行者到达图像右侧 Figure 5: Visuomotor Control $:\nabla Sim$ provides 的目标姿势。我们的 NN 由一个完全连接的层和 gradients suitable for diverse, complex visuo一个 tanh 激活组成。网络输入是一组 8 时变正 motor control tasks. For control-fem and
control-walker experiments, we train a neural network to actuate a soft body towards a target image (GT).For control-cloth,we optimize the cloth's initial velocity to hit a target ( GT) (specified as an image), under nonlinear lift/drag forces
5 | [
[
"0.1732",
"0.03284",
"0.4795",
"0.0322",
"0.4795",
"0.04672",
"0.1732",
"0.04736"
],
[
"0.4355",
"0.101",
"0.5645",
"0.101",
"0.5645",
"0.11426",
"0.4355",
"0.11426"
],
[
"0.6436",
"0.1016",
"0.744",
"0.1016",
"0.744",
"0.113",
"0.6436",
"0.113"
],
[
"0.3774",
"0.11426",
"0.486",
"0.11426",
"0.486",
"0.125",
"0.3774",
"0.125"
],
[
"0.501",
"0.1111",
"0.613",
"0.11237",
"0.613",
"0.127",
"0.501",
"0.1256"
],
[
"0.6357",
"0.11426",
"0.7534",
"0.11426",
"0.7534",
"0.125",
"0.6357",
"0.125"
],
[
"0.4207",
"0.127",
"0.4387",
"0.127",
"0.4387",
"0.1351",
"0.4207",
"0.1351"
],
[
"0.513",
"0.127",
"0.528",
"0.127",
"0.528",
"0.1364",
"0.513",
"0.1364"
],
[
"0.589",
"0.1276",
"0.5986",
"0.1276",
"0.5986",
"0.1332",
"0.589",
"0.1332"
],
[
"0.6855",
"0.1288",
"0.6953",
"0.1256",
"0.699",
"0.132",
"0.6895",
"0.1364"
],
[
"0.55",
"0.1364",
"0.625",
"0.1364",
"0.625",
"0.1465",
"0.55",
"0.1465"
],
[
"0.664",
"0.1364",
"0.722",
"0.1364",
"0.722",
"0.1477",
"0.664",
"0.1477"
],
[
"0.4004",
"0.137",
"0.46",
"0.137",
"0.46",
"0.1477",
"0.4004",
"0.1477"
],
[
"0.2443",
"0.137",
"0.3015",
"0.137",
"0.3015",
"0.1483",
"0.2443",
"0.1483"
],
[
"0.4885",
"0.137",
"0.5557",
"0.137",
"0.5557",
"0.1477",
"0.4885",
"0.1477"
],
[
"0.2418",
"0.1459",
"0.3708",
"0.1477",
"0.3708",
"0.1622",
"0.2418",
"0.1604"
],
[
"0.411",
"0.1483",
"0.4478",
"0.1483",
"0.4478",
"0.1604",
"0.411",
"0.1604"
],
[
"0.5",
"0.1483",
"0.5415",
"0.1483",
"0.5415",
"0.1604",
"0.5",
"0.1604"
],
[
"0.5728",
"0.1483",
"0.614",
"0.1483",
"0.614",
"0.1604",
"0.5728",
"0.1604"
],
[
"0.6733",
"0.1477",
"0.7114",
"0.1477",
"0.7114",
"0.161",
"0.6733",
"0.161"
],
[
"0.2402",
"0.1604",
"0.281",
"0.1604",
"0.281",
"0.1718",
"0.2402",
"0.1718"
],
[
"0.4126",
"0.1604",
"0.4478",
"0.1604",
"0.4478",
"0.1718",
"0.4126",
"0.1718"
],
[
"0.501",
"0.1604",
"0.5415",
"0.1604",
"0.5415",
"0.1718",
"0.501",
"0.1718"
],
[
"0.5728",
"0.1604",
"0.615",
"0.1604",
"0.615",
"0.1718",
"0.5728",
"0.1718"
],
[
"0.675",
"0.1604",
"0.71",
"0.1604",
"0.71",
"0.1718",
"0.675",
"0.1718"
],
[
"0.1748",
"0.1881",
"0.824",
"0.1881",
"0.824",
"0.202",
"0.1748",
"0.202"
],
[
"0.1732",
"0.2008",
"0.826",
"0.2008",
"0.826",
"0.214",
"0.1732",
"0.214"
],
[
"0.1724",
"0.2122",
"0.8228",
"0.214",
"0.8228",
"0.2279",
"0.1724",
"0.226"
],
[
"0.1748",
"0.2343",
"0.513",
"0.2349",
"0.513",
"0.2468",
"0.1748",
"0.2456"
],
[
"0.1765",
"0.2507",
"0.824",
"0.2507",
"0.824",
"0.2644",
"0.1765",
"0.2644"
],
[
"0.1772",
"0.2644",
"0.8228",
"0.2644",
"0.8228",
"0.279",
"0.1772",
"0.279"
],
[
"0.1748",
"0.2778",
"0.822",
"0.2778",
"0.822",
"0.2917",
"0.1748",
"0.2917"
],
[
"0.1765",
"0.2922",
"0.824",
"0.2922",
"0.824",
"0.3062",
"0.1765",
"0.3062"
],
[
"0.1765",
"0.307",
"0.2263",
"0.307",
"0.2263",
"0.318",
"0.1765",
"0.318"
],
[
"0.1765",
"0.3352",
"0.2303",
"0.3352",
"0.2303",
"0.3452",
"0.1765",
"0.3452"
],
[
"0.2263",
"0.334",
"0.5703",
"0.334",
"0.5703",
"0.3447",
"0.2263",
"0.3447"
],
[
"0.1765",
"0.351",
"0.8228",
"0.351",
"0.8228",
"0.3643",
"0.1765",
"0.3643"
],
[
"0.1765",
"0.3655",
"0.8203",
"0.3655",
"0.8203",
"0.3801",
"0.1765",
"0.3801"
],
[
"0.738",
"0.3965",
"0.789",
"0.3965",
"0.789",
"0.404",
"0.738",
"0.404"
],
[
"0.738",
"0.4048",
"0.777",
"0.4048",
"0.777",
"0.4077",
"0.738",
"0.4077"
],
[
"0.3694",
"0.4817",
"0.4265",
"0.4817",
"0.4265",
"0.4924",
"0.3694",
"0.4924"
],
[
"0.3708",
"0.4778",
"0.4126",
"0.4778",
"0.4126",
"0.4817",
"0.3708",
"0.4817"
],
[
"0.3718",
"0.4988",
"0.4346",
"0.4988",
"0.4346",
"0.5024",
"0.3718",
"0.5024"
],
[
"0.3652",
"0.5103",
"0.3718",
"0.5103",
"0.3718",
"0.515",
"0.3652",
"0.515"
],
[
"0.4004",
"0.5103",
"0.4084",
"0.5103",
"0.4084",
"0.5146",
"0.4004",
"0.5146"
],
[
"0.626",
"0.509",
"0.7417",
"0.509",
"0.7417",
"0.5234",
"0.626",
"0.5234"
],
[
"0.7646",
"0.5103",
"0.777",
"0.5103",
"0.777",
"0.5146",
"0.7646",
"0.5146"
],
[
"0.7983",
"0.511",
"0.808",
"0.511",
"0.808",
"0.5146",
"0.7983",
"0.5146"
],
[
"0.7017",
"0.512",
"0.7114",
"0.512",
"0.7114",
"0.515",
"0.7017",
"0.515"
],
[
"0.2607",
"0.511",
"0.2688",
"0.511",
"0.2688",
"0.5146",
"0.2607",
"0.5146"
],
[
"0.308",
"0.5146",
"0.3489",
"0.5146",
"0.3489",
"0.5215",
"0.308",
"0.5215"
],
[
"0.2443",
"0.534",
"0.398",
"0.534",
"0.398",
"0.5474",
"0.2443",
"0.5474"
],
[
"0.581",
"0.534",
"0.774",
"0.534",
"0.774",
"0.5474",
"0.581",
"0.5474"
],
[
"0.1732",
"0.552",
"0.824",
"0.552",
"0.824",
"0.565",
"0.1732",
"0.565"
],
[
"0.1732",
"0.5645",
"0.826",
"0.5645",
"0.826",
"0.5776",
"0.1732",
"0.5776"
],
[
"0.1748",
"0.577",
"0.826",
"0.577",
"0.826",
"0.5903",
"0.1748",
"0.5903"
],
[
"0.1732",
"0.5884",
"0.824",
"0.589",
"0.824",
"0.604",
"0.1732",
"0.603"
],
[
"0.1748",
"0.603",
"0.826",
"0.603",
"0.826",
"0.616",
"0.1748",
"0.616"
],
[
"0.1732",
"0.6157",
"0.7363",
"0.6157",
"0.7363",
"0.629",
"0.1732",
"0.629"
],
[
"0.1772",
"0.6396",
"0.2573",
"0.6396",
"0.2573",
"0.6494",
"0.1772",
"0.6494"
],
[
"0.2607",
"0.636",
"0.822",
"0.636",
"0.822",
"0.6494",
"0.2607",
"0.6494"
],
[
"0.1748",
"0.6514",
"0.824",
"0.6514",
"0.824",
"0.6655",
"0.1748",
"0.6655"
],
[
"0.1748",
"0.664",
"0.8228",
"0.664",
"0.8228",
"0.6787",
"0.1748",
"0.6787"
],
[
"0.1748",
"0.678",
"0.8228",
"0.678",
"0.8228",
"0.6924",
"0.1748",
"0.6924"
],
[
"0.1765",
"0.6934",
"0.6396",
"0.6934",
"0.6396",
"0.707",
"0.1765",
"0.707"
],
[
"0.1765",
"0.7227",
"0.2018",
"0.7227",
"0.2018",
"0.7344",
"0.1765",
"0.7344"
],
[
"0.2133",
"0.72",
"0.3865",
"0.7217",
"0.3865",
"0.735",
"0.2133",
"0.7344"
],
[
"0.1765",
"0.741",
"0.5146",
"0.741",
"0.5146",
"0.755",
"0.1765",
"0.755"
],
[
"0.1748",
"0.755",
"0.5156",
"0.754",
"0.5156",
"0.768",
"0.1748",
"0.7695"
],
[
"0.1765",
"0.768",
"0.517",
"0.768",
"0.517",
"0.7827",
"0.1765",
"0.7827"
],
[
"0.1748",
"0.781",
"0.5156",
"0.782",
"0.5156",
"0.797",
"0.1748",
"0.7954"
],
[
"0.1748",
"0.797",
"0.5156",
"0.797",
"0.5156",
"0.81",
"0.1748",
"0.81"
],
[
"0.572",
"0.7935",
"0.6587",
"0.7905",
"0.66",
"0.8125",
"0.5728",
"0.815"
],
[
"0.808",
"0.799",
"0.812",
"0.799",
"0.812",
"0.8047",
"0.808",
"0.8047"
],
[
"0.1748",
"0.81",
"0.4805",
"0.81",
"0.4805",
"0.8237",
"0.1748",
"0.8237"
],
[
"0.535",
"0.8066",
"0.5435",
"0.8066",
"0.5435",
"0.8125",
"0.535",
"0.8125"
],
[
"0.5312",
"0.8247",
"0.5537",
"0.8247",
"0.5537",
"0.8486",
"0.5312",
"0.8486"
],
[
"0.1765",
"0.8384",
"0.2303",
"0.8384",
"0.2303",
"0.8496",
"0.1765",
"0.8496"
],
[
"0.2296",
"0.837",
"0.3865",
"0.837",
"0.3865",
"0.851",
"0.2296",
"0.851"
],
[
"0.1765",
"0.854",
"0.5156",
"0.854",
"0.5156",
"0.8687",
"0.1765",
"0.8687"
],
[
"0.585",
"0.855",
"0.6357",
"0.855",
"0.6357",
"0.8657",
"0.585",
"0.8657"
],
[
"0.701",
"0.855",
"0.744",
"0.855",
"0.744",
"0.8657",
"0.701",
"0.8657"
],
[
"0.777",
"0.855",
"0.8203",
"0.855",
"0.8203",
"0.8657",
"0.777",
"0.8657"
],
[
"0.5513",
"0.866",
"0.572",
"0.866",
"0.572",
"0.875",
"0.5513",
"0.875"
],
[
"0.8",
"0.866",
"0.819",
"0.866",
"0.819",
"0.875",
"0.8",
"0.875"
],
[
"0.1748",
"0.881",
"0.517",
"0.882",
"0.517",
"0.8965",
"0.1748",
"0.896"
],
[
"0.1748",
"0.8687",
"0.5156",
"0.8687",
"0.5156",
"0.882",
"0.1748",
"0.882"
],
[
"0.528",
"0.886",
"0.824",
"0.887",
"0.824",
"0.901",
"0.528",
"0.8994"
],
[
"0.1748",
"0.8965",
"0.517",
"0.896",
"0.517",
"0.91",
"0.1748",
"0.911"
],
[
"0.528",
"0.8994",
"0.826",
"0.8994",
"0.826",
"0.9136",
"0.528",
"0.9136"
],
[
"0.1912",
"0.911",
"0.5186",
"0.911",
"0.5186",
"0.925",
"0.1912",
"0.925"
],
[
"0.5293",
"0.914",
"0.824",
"0.914",
"0.824",
"0.925",
"0.5293",
"0.925"
],
[
"0.5317",
"0.927",
"0.826",
"0.927",
"0.826",
"0.9375",
"0.5317",
"0.9375"
],
[
"0.5317",
"0.9395",
"0.826",
"0.9395",
"0.826",
"0.9497",
"0.5317",
"0.9497"
],
[
"0.4944",
"0.9497",
"0.5063",
"0.9497",
"0.5063",
"0.959",
"0.4944",
"0.959"
],
[
"0.5293",
"0.9507",
"0.8267",
"0.9507",
"0.8267",
"0.964",
"0.5293",
"0.964"
],
[
"0.5293",
"0.9634",
"0.826",
"0.9634",
"0.826",
"0.9766",
"0.5293",
"0.9766"
],
[
"0.5312",
"0.976",
"0.826",
"0.976",
"0.826",
"0.9893",
"0.5312",
"0.9893"
],
[
"0.5317",
"0.9907",
"0.5664",
"0.992",
"0.5664",
"0.9995",
"0.5317",
"0.9976"
]
] | [
"Published as a conference paper at ICLR 2021",
"Deformable solid FEM",
"Thin-shell (cloth)",
"Per-particlemass",
"Material properties",
"Per-particle velocity",
"m",
"H",
"X",
"U",
"RelMAE",
"Rel. MAE",
"Rel.MAE",
"Approach",
"Rel. MAE",
"DiffPhysics (3D Sup.)",
"0.032",
"0.0025",
"0.0024",
"0.127",
"vSim",
"0.048",
"0.0054",
"0.0056",
"0.026",
"Table 3: Parameter estimation of deformable objects : We estimate per-particle masses and material properties",
"(for solid def. objects) and per-particle velocities for cloth. In the case of cloth, there is a perceivable perfor-",
"mance drop in diffphysics,as the center of mass of a cloth is often outside the body, which results in ambiguity.",
"3.1.2DEFORMABLEBODIES(DEFORMABLE)",
"我们进行了一系列实验,以研究√Sim恢复可变形固体和薄壳固体(布)的物理参数的能",
"力。我们的物理模型由每粒子质量和Lame弹性参数进行参数化,如附录C.1中所述。Fig。",
"3说明了通过匹配输入视频序列给出的变形来恢复在重力作用下悬挂的梁的弹性参数。我们",
"发现我们的方法能够准确地恢复可变形对象(布,球,梁)的100实例的参数,如表E3和",
"图。3",
"3.1.3",
"SMOOTHNESSOFTHELOSSLANDSCAPEINVSim",
"由于VSim是可微分非线性分量的复杂组合,因此我们分析了损失景观,以通过系统验证梯",
"度的有效性。Fig。4说明了在已知所有其他物理特性的情况下优化刚体质量时的损耗情况",
"Ground-truth value",
"itsmne",
"MSE on every frame",
"MSEonfirstao",
"hfuattREINEOPrEO",
"2.",
"23",
"Estimatedmateralparameterval",
"1750",
"200",
"",
"05",
"Estimatedm",
"(a) Loss landscape (rigid)",
"(b) Loss landscape (deformable)",
"Figure 4: Loss landscapes when optimizing for physical attributes using VSim . (Left ) When estimating",
"the mass of a rigid-body with known shape using VSim , despite images being formed by a highly nonlinear",
"process (simulation), the loss landscape is remarkably smooth, for a range of initialization errors. (Right)",
"when optimizing for the elasicity parameters of a deformable FEM solid. Both the Lame parameters > and μ",
"are set to 100o , where the MSE loss has a unique, dominant minimum. Note that, for fair comparison, the",
"ground-truth for our PyBullet+REINFORCE baseline was generated using the PyBullet engine.",
"我们检香了",
"一系列初始化(0.1kg到5kg)的单位质量立方体(1kg)的图像空间均方误差",
"(MSE)。值得注意的是,VSim的损耗情况表现良好,有利于基于动量的优化器。将MSE应",
"用于预测视频和真实视频的第一顿和最后一顿可提供最佳渐变效果。然而,对于应用于不",
"可微分模拟器(PyBullet+REINFORCE)的朴素梯度估计器,存在多个局部最小值,导致非",
"常狭窄的收敛区域。这解释了VSim在表1,2,3中的卓越性能",
"3.2",
"VISUOMOTORCONTROL",
"为了研究VSim计算的梯度对于基于视觉的任务",
"是否有意义,我们进行了一系列视觉运动控制",
"实验,其中涉及将可变形对象驱动到视觉目标",
"姿势(单个图像)。在所有情况下,我们都根据",
"diffphysics进行评估,diffphysics使用目标规范",
"",
"",
"和奖励,两者都是在3D状态空间上定义的",
"2",
"11",
"3.2.1",
"DEFORMABLE SOLIDS",
"第一个示例(control-walker)涉及",
"control-walker",
"control-fem",
"control-cloth",
"tmo",
"t=1",
"(NN)控制策略,以驱动步行者到达图像右侧",
"2Dwalker模型。我们的目标是训练神经网络",
"Figure 5:Visuomotor Control :VSim provides",
"的目标姿势。我们的NN由一个完全连接的层和",
"gradients suitable for diverse, complex visuo-",
"个tanh激活组成。网络输人是一组8时变正",
"motor control tasks.:For control-fem and",
"control-walker experiments,wetrainaneu-",
"ral network to actuate a soft body towards a tar-",
"5",
"get image (GT). For cont rol-clot h, we opti-",
"mize the cloth's initial velocity to hit a target (GT)",
"(specified as an image), under nonlinear lift/drag",
"forces"
] | {
"arxiv_id": "2104.02646",
"language": "zh",
"page_idx": 4
} |
||
2208.07004-zh-1 | 2208.07004-zh-1.jpg | 人工智能促进全球气候合作:在 RICE-N 中对全球气候谈判、协议和长期合作进
# 行建模
Tianyu Zhang$^1,2,\textbf{Andrew Williams}^{1,2},\textbf{Soham Phade}^6,\textbf{Sunil Srinivasa}^{6*},\textbf{Yang Zhang}^2$,
$\textbf{Prateek Gupta}^{2,3,4},\textbf{Yoshua Bengio}^{1,2,5},\textbf{Stephan Zheng}^{6}$
$^{1}$Université de Montréal,$^2$Mila,$^3$University of Oxford, $^{4}$The Alan Turing Institute,$^{5}$CIFAR,$^{6}$Salesforce Research
## Abstract
Comprehensive global cooperation is essential to limit global temperature increases while continuing economic development, e.g., reducing severe inequality or achieving long-term economic growth. Achieving long-term cooperation on climate change mitigation with $n$ strategic agents poses a complex game-theoretic problem. For example, agents may negotiate and reach climate agreements, but there is no central authority to enforce adherence to those agreements. Hence, it is critical to design negotiation and agreement frameworks that foster cooperation, allow all agents to meet their individual policy objectives, and incentivize long-term adherence. This is an interdisciplinary challenge that calls for collaboration between researchers in machine learning, economics, climate science, law, policy, ethics, and other fields. In particular, we argue that machine learning is a critical tool to address the complexity of this domain. To facilitate this research, here we introduce RICE-N , a multi-region integrated assessment model that simulates the global climate and economy, and which can be used to design and evaluate the strategic outcomes for different negotiation and agreement frameworks. We also describe how to use multi-agent reinforcement learning to train rational agents using RICE-N . This framework underpins AI for Global Climate Cooperation , a working group collaboration and competition on climate negotiation and agreement design. Here, we invite the scientific community to design and evaluate their solutions using RICE-N , machine learning, economic intuition, and other domain knowledge. More information can be found on www.ai4climatecoop.org .
# 1 Introduction
最新的 IPCC 报告$\overline{\mathbb{E}}$(Pörtner et al.2022)警告说,“现在或永远不会”避免气候灾难。生态系统正在发生巨大变化:亚马逊雨林正在消退E(Lovejoy and Nobre 2018) , 极地冰盖正在融化$\boxed{\mathrm{F}}($Boers and Rypdal 2021; DeConto et al.2021)。极端天气事件也是明确的警告信号,例如最近沿海洪水和森林火灾的增加。这些发展越来越多地归因于气候变化,并朝着全系统的临界点迈进
气候变化是一种全球现象,它影响到所有。作为回应, 私人和公共融资推动了技术创新(例如。g。,在可再生能源方面)和社区运动,以推动系统性变革。然而,由于各种社会和经济因素,缓解气候变化的投资规模和类型因国家和全球区域而异。例如,发展中国家可能需要首先关注其公民的基本需求,而发达国家有更多的资金和机会为气候变化的不利影响做准备。因此,气候变化提出了一个典型的“公地悲剧”案例,在这个案例中, 追求自身利益的个体代理人可能会给每个人带来破坏性的结果
因此,实现和维持全球合作对于实现《巴黎协定》的长期目标至关重要,该目标是将全球温度上升限制在远高于工业化前水平(DeConto et al. 2021)的 2°C 以下。同时,保持经济发展也很重要。g。实现增长和减少不平等。例如,国际贸易条约、外国投资和技术转让可能使发展中国家能够履行净零承诺,同时促进全球经济增长。这种合作可以通过气候俱乐部$\overline{\mathrm{E}}($Nordhaus 2015)来实施,这可能会克服对气候变化采取行动的障碍
从建模的角度来看,实现和维持全球合作提出了一个复杂的博弈论问题,涉及合作,沟通和竞争。这个游戏可以用$n$战略代理建模,每个代理代表一个地区或国家。每个代理都是(有限的)理性的,并执行实现其自身的社会经济和气候目标的政策,这可能与其他代理的目标不一致。代理商通过贸易,外交或外国援助和投资进行互动。合作可以通过相互谈判和协议进行
但是,一个关键的问题是,在现实世界中没有中央实体来强制合作或遵守已签署的协议。因此,至关重要的是设计多边谈判和协议,以最好地促进持续合作以减轻气候变化,同时允许所有各方实现其各自的政策目标
这样的博弈论问题带来了未解决的技术挑战。例如, 2022 年 IPCC 报告$\overline{\mathbb{E}}($Pörtner et al.2022) 中的一项关键分析预测了五种不同的所谓共享社会经济途径(SSP) 下的气候变化。每个 SSP 为每个全球区域使用一组手动定义的气候政策。然而,一个关键的限制是,目前尚不清楚这些政策是否会由理性的行为者执行,因此这些情景实现的可能性有多大,或者这些情景对可能随着时间的推移改变其行为的代理人有多稳健。
Open-source code available at: https://github.com/mila-iqia/
climate-cooperation-competition .
Disclaimer: This project is for research purposes only. We do not intend to make normative or value statements about different social welfare objectives or policies.
$^{*}{\mathrm{Work~done~while~at~Salesforce.}}$
For more information, see www.ai4climatecoop.org .
E-mail: [email protected] | [
[
"0.0948",
"0.1256",
"0.9087",
"0.1256",
"0.9087",
"0.1401",
"0.0948",
"0.1401"
],
[
"0.4656",
"0.1459",
"0.535",
"0.1459",
"0.535",
"0.1622",
"0.4656",
"0.1622"
],
[
"0.1405",
"0.178",
"0.863",
"0.178",
"0.863",
"0.1957",
"0.1405",
"0.1957"
],
[
"0.2615",
"0.1913",
"0.7305",
"0.1925",
"0.7305",
"0.214",
"0.2615",
"0.2134"
],
[
"0.312",
"0.2153",
"0.6846",
"0.2166",
"0.6846",
"0.2311",
"0.312",
"0.2299"
],
[
"0.3015",
"0.2291",
"0.697",
"0.2299",
"0.697",
"0.2443",
"0.3015",
"0.2437"
],
[
"0.2524",
"0.276",
"0.3137",
"0.276",
"0.3137",
"0.2874",
"0.2524",
"0.2874"
],
[
"0.10297",
"0.2974",
"0.4631",
"0.2974",
"0.4631",
"0.3113",
"0.10297",
"0.3113"
],
[
"0.5376",
"0.303",
"0.91",
"0.303",
"0.91",
"0.3164",
"0.5376",
"0.3164"
],
[
"0.10455",
"0.3125",
"0.4617",
"0.3125",
"0.4617",
"0.3225",
"0.10455",
"0.3225"
],
[
"0.5186",
"0.3132",
"0.911",
"0.315",
"0.911",
"0.3333",
"0.5186",
"0.3308"
],
[
"0.10297",
"0.324",
"0.4617",
"0.324",
"0.4617",
"0.3372",
"0.10297",
"0.3372"
],
[
"0.1013",
"0.3352",
"0.46",
"0.3352",
"0.46",
"0.3484",
"0.1013",
"0.3484"
],
[
"0.5215",
"0.3308",
"0.911",
"0.3308",
"0.911",
"0.3447",
"0.5215",
"0.3447"
],
[
"0.10297",
"0.3484",
"0.4631",
"0.3484",
"0.4631",
"0.3623",
"0.10297",
"0.3623"
],
[
"0.523",
"0.3467",
"0.911",
"0.3467",
"0.911",
"0.3567",
"0.523",
"0.3567"
],
[
"0.5195",
"0.3567",
"0.911",
"0.358",
"0.911",
"0.3726",
"0.5195",
"0.3718"
],
[
"0.10455",
"0.363",
"0.4617",
"0.363",
"0.4617",
"0.3738",
"0.10455",
"0.3738"
],
[
"0.10455",
"0.3757",
"0.4617",
"0.3757",
"0.4617",
"0.3865",
"0.10455",
"0.3865"
],
[
"0.524",
"0.3738",
"0.91",
"0.3738",
"0.91",
"0.3838",
"0.524",
"0.3838"
],
[
"0.10455",
"0.387",
"0.46",
"0.387",
"0.46",
"0.3977",
"0.10455",
"0.3977"
],
[
"0.523",
"0.385",
"0.9126",
"0.385",
"0.9126",
"0.3984",
"0.523",
"0.3984"
],
[
"0.1013",
"0.3984",
"0.4617",
"0.3984",
"0.4617",
"0.4124",
"0.1013",
"0.4124"
],
[
"0.5215",
"0.3997",
"0.91",
"0.3997",
"0.91",
"0.4136",
"0.5215",
"0.4136"
],
[
"0.1013",
"0.411",
"0.4631",
"0.411",
"0.4631",
"0.4248",
"0.1013",
"0.4248"
],
[
"0.5215",
"0.4136",
"0.9126",
"0.4136",
"0.9126",
"0.4268",
"0.5215",
"0.4268"
],
[
"0.10297",
"0.4236",
"0.4617",
"0.4236",
"0.4617",
"0.4375",
"0.10297",
"0.4375"
],
[
"0.524",
"0.428",
"0.5864",
"0.428",
"0.5864",
"0.4395",
"0.524",
"0.4395"
],
[
"0.1013",
"0.435",
"0.46",
"0.4363",
"0.46",
"0.4495",
"0.1013",
"0.449"
],
[
"0.536",
"0.4414",
"0.9126",
"0.4414",
"0.9126",
"0.455",
"0.536",
"0.455"
],
[
"0.10455",
"0.4507",
"0.46",
"0.4507",
"0.46",
"0.461",
"0.10455",
"0.461"
],
[
"0.5215",
"0.455",
"0.9126",
"0.455",
"0.9126",
"0.4685",
"0.5215",
"0.4685"
],
[
"0.10455",
"0.4634",
"0.4617",
"0.4634",
"0.4617",
"0.4734",
"0.10455",
"0.4734"
],
[
"0.5215",
"0.4673",
"0.9126",
"0.4685",
"0.9126",
"0.483",
"0.5215",
"0.4817"
],
[
"0.10297",
"0.476",
"0.46",
"0.476",
"0.46",
"0.486",
"0.10297",
"0.486"
],
[
"0.10455",
"0.488",
"0.46",
"0.488",
"0.46",
"0.4988",
"0.10455",
"0.4988"
],
[
"0.5215",
"0.483",
"0.9126",
"0.483",
"0.9126",
"0.4976",
"0.5215",
"0.4976"
],
[
"0.10455",
"0.5005",
"0.4617",
"0.5005",
"0.4617",
"0.511",
"0.10455",
"0.511"
],
[
"0.5215",
"0.4956",
"0.9126",
"0.4976",
"0.9126",
"0.511",
"0.5215",
"0.509"
],
[
"0.10455",
"0.513",
"0.4617",
"0.513",
"0.4617",
"0.5234",
"0.10455",
"0.5234"
],
[
"0.523",
"0.5103",
"0.911",
"0.5103",
"0.911",
"0.5234",
"0.523",
"0.5234"
],
[
"0.10297",
"0.5244",
"0.4617",
"0.5244",
"0.4617",
"0.5386",
"0.10297",
"0.5386"
],
[
"0.523",
"0.5244",
"0.911",
"0.5244",
"0.911",
"0.5386",
"0.523",
"0.5386"
],
[
"0.10455",
"0.539",
"0.4617",
"0.539",
"0.4617",
"0.55",
"0.10455",
"0.55"
],
[
"0.5195",
"0.537",
"0.865",
"0.539",
"0.865",
"0.553",
"0.5195",
"0.5503"
],
[
"0.10297",
"0.55",
"0.4631",
"0.55",
"0.4631",
"0.563",
"0.10297",
"0.563"
],
[
"0.5376",
"0.552",
"0.911",
"0.552",
"0.911",
"0.565",
"0.5376",
"0.565"
],
[
"0.1013",
"0.5625",
"0.4592",
"0.561",
"0.4592",
"0.5747",
"0.1013",
"0.5757"
],
[
"0.5215",
"0.5664",
"0.9126",
"0.5664",
"0.9126",
"0.58",
"0.5215",
"0.58"
],
[
"0.10455",
"0.5757",
"0.4617",
"0.5757",
"0.4617",
"0.586",
"0.10455",
"0.586"
],
[
"0.523",
"0.58",
"0.911",
"0.58",
"0.911",
"0.5933",
"0.523",
"0.5933"
],
[
"0.10297",
"0.5884",
"0.4631",
"0.5884",
"0.4631",
"0.6016",
"0.10297",
"0.6016"
],
[
"0.523",
"0.5933",
"0.91",
"0.5933",
"0.91",
"0.607",
"0.523",
"0.607"
],
[
"0.10455",
"0.601",
"0.46",
"0.601",
"0.46",
"0.6113",
"0.10455",
"0.6113"
],
[
"0.524",
"0.608",
"0.911",
"0.608",
"0.911",
"0.622",
"0.524",
"0.622"
],
[
"0.10455",
"0.6143",
"0.46",
"0.6143",
"0.46",
"0.625",
"0.10455",
"0.625"
],
[
"0.10455",
"0.627",
"0.4617",
"0.627",
"0.4617",
"0.637",
"0.10455",
"0.637"
],
[
"0.523",
"0.622",
"0.911",
"0.622",
"0.911",
"0.6353",
"0.523",
"0.6353"
],
[
"0.10455",
"0.6396",
"0.4617",
"0.6396",
"0.4617",
"0.6494",
"0.10455",
"0.6494"
],
[
"0.5215",
"0.6353",
"0.847",
"0.6353",
"0.847",
"0.6484",
"0.5215",
"0.6484"
],
[
"0.10297",
"0.651",
"0.2566",
"0.6514",
"0.2566",
"0.6636",
"0.10297",
"0.662"
],
[
"0.5376",
"0.6484",
"0.9126",
"0.6484",
"0.9126",
"0.662",
"0.5376",
"0.662"
],
[
"0.5215",
"0.6636",
"0.911",
"0.6636",
"0.911",
"0.677",
"0.5215",
"0.677"
],
[
"0.2075",
"0.6846",
"0.353",
"0.685",
"0.353",
"0.6997",
"0.2075",
"0.6987"
],
[
"0.524",
"0.6787",
"0.91",
"0.6787",
"0.91",
"0.6895",
"0.524",
"0.6895"
],
[
"0.523",
"0.6914",
"0.8965",
"0.6914",
"0.8965",
"0.705",
"0.523",
"0.705"
],
[
"0.08826",
"0.705",
"0.478",
"0.705",
"0.478",
"0.7197",
"0.08826",
"0.7197"
],
[
"0.5376",
"0.7056",
"0.91",
"0.7056",
"0.91",
"0.7197",
"0.5376",
"0.7197"
],
[
"0.08826",
"0.7183",
"0.4756",
"0.7183",
"0.4756",
"0.732",
"0.08826",
"0.732"
],
[
"0.5195",
"0.7173",
"0.9126",
"0.7183",
"0.9126",
"0.733",
"0.5195",
"0.732"
],
[
"0.0866",
"0.732",
"0.478",
"0.733",
"0.478",
"0.7476",
"0.0866",
"0.747"
],
[
"0.5215",
"0.733",
"0.911",
"0.733",
"0.911",
"0.747",
"0.5215",
"0.747"
],
[
"0.1013",
"0.7476",
"0.478",
"0.7476",
"0.478",
"0.761",
"0.1013",
"0.761"
],
[
"0.523",
"0.747",
"0.9126",
"0.747",
"0.9126",
"0.7603",
"0.523",
"0.7603"
],
[
"0.0866",
"0.761",
"0.478",
"0.761",
"0.478",
"0.7744",
"0.0866",
"0.7744"
],
[
"0.5215",
"0.7603",
"0.9126",
"0.7603",
"0.9126",
"0.7734",
"0.5215",
"0.7734"
],
[
"0.08826",
"0.7744",
"0.478",
"0.7744",
"0.478",
"0.789",
"0.08826",
"0.789"
],
[
"0.523",
"0.7744",
"0.911",
"0.7744",
"0.911",
"0.7886",
"0.523",
"0.7886"
],
[
"0.08826",
"0.789",
"0.4126",
"0.789",
"0.4126",
"0.8",
"0.08826",
"0.8"
],
[
"0.523",
"0.7886",
"0.911",
"0.7886",
"0.911",
"0.802",
"0.523",
"0.802"
],
[
"0.5195",
"0.802",
"0.7876",
"0.803",
"0.7876",
"0.8164",
"0.5195",
"0.815"
],
[
"0.5474",
"0.8257",
"0.914",
"0.8257",
"0.914",
"0.839",
"0.5474",
"0.839"
],
[
"0.10864",
"0.839",
"0.2974",
"0.839",
"0.2974",
"0.853",
"0.10864",
"0.853"
],
[
"0.5186",
"0.837",
"0.7236",
"0.8384",
"0.7236",
"0.853",
"0.5186",
"0.8516"
],
[
"0.11273",
"0.8516",
"0.4207",
"0.8516",
"0.4207",
"0.8657",
"0.11273",
"0.8657"
],
[
"0.544",
"0.8496",
"0.9126",
"0.851",
"0.9126",
"0.8657",
"0.544",
"0.8643"
],
[
"0.1095",
"0.8623",
"0.4795",
"0.8643",
"0.4795",
"0.879",
"0.1095",
"0.877"
],
[
"0.5215",
"0.8657",
"0.9126",
"0.8657",
"0.9126",
"0.8755",
"0.5215",
"0.8755"
],
[
"0.5215",
"0.8774",
"0.7344",
"0.8774",
"0.7344",
"0.888",
"0.5215",
"0.888"
]
] | [
"人工智能促进全球气候合作:在RICE-N中对全球气候谈判、协议和长期合作进",
"行建模",
"Tianyu Zhangl.2, Andrew Williams!.2, Soham Phade, Sunil Srinivasa *, Yang Zhang?,",
"Prateek Gupta2.3.4, Yoshua Bengiol,2.5, Stephan Zheng",
"1 Université de Montréal, 2 Mila, 3 University of Oxford,",
"4 The Alan Turing Institute, 5 CIFAR, 6 Salesforce Research",
"Abstract",
"Comprehensive global cooperation is essential to limit global",
"气候变化是一种全球现象,它影响到所有。作为回应",
"temperature increases while continuing economic develop",
"私人和公共融资推动了技术创新(例如。g。,在可再生",
"ment, e.g., reducing severe inequality or achieving long-term",
"economic growth. Achieving long-term cooperation on cli",
"能源方面)和社区运动,以推动系统性变革。然而,由",
"mate change mitigation with n strategic agents poses a com-",
"于各种社会和经济因素,缓解气候变化的投资规模和类",
"型因国家和全球区域而异。例如,发展中国家可能需要",
"plex game-theoretic problem.For example,agents may ne",
"gotiate and reach climate agreements, but there is no central",
"首先关注其公民的基本需求,而发达国家有更多的资金",
"authority to enforce adherence to those agreements.Hence.",
"和机会为气候变化的不利影响做准备。因此,气候变化",
"it is critical to design negotiation and agreement frameworks",
"提出了一个典型的“公地悲剧”案例,在这个案例中",
"that foster cooperation, allow all agents to meet their individ-",
"追求自身利益的个体代理人可能会给每个人带来破坏",
"ual policy objectives, and incentivize long-term adherence.",
"性的结果",
"This is an interdisciplinary challenge that calls for collabo",
"因此,实现和维持全球合作对于实现《巴黎协定》的",
"rationbetweenresearchersin machinelearning,economics.",
"长期目标至关重要,该目标是将全球温度上升限制在",
"climate science,law,policy,ethics, and other fields.In par",
"远高于工业化前水平(DeContoetal.2021)的2°C以下。",
"ticular, we argue that machine learning is a critical tool to",
"address the complexity of this domain.To facilitate this re",
"同时,保持经济发展也很重要。g。实现增长和减少不",
"search,herewe introduceRICE-N,a multi-region integrated",
"平等。例如,国际贸易条约、外国投资和技术转让可能",
"assessmentmodel thatsimulatestheglobal climateand econ",
"使发展中国家能够履行净零承诺,同时促进全球经济增",
"omy, and which can be used to design and evaluate the",
"长。这种合作可以通过气候俱乐部E(Nordhaus2015)来",
"strategic outcomes for different negotiation and agreement",
"实施,这可能会克服对气候变化采取行动的障碍",
"frameworks. We also describe how to use multi-agent rein-",
"从建模的角度来看,实现和维持全球合作提出了一个",
"forcement learning to train rational agents using RICE-N",
"复杂的博奔论问题,涉及合作,沟通和竞争。这个游戏",
"Thisframework underpinsAIforGlobal ClimateCoopera",
"可以用n战略代理建模,每个代理代表一个地区或国",
"tion,a working group collaboration and competition on cli-",
"家。每个代理都是(有限的)理性的,并执行实现其自",
"mate negotiation and agreement design.Here, we invite the",
"身的社会经济和气候目标的政策,这可能与其他代理的",
"scientific community to design and evaluate their solutions",
"using RICE-N,machinelearning,economic intuition,and",
"目标不一致。代理商通过贸易,外交或外国援助和投资",
"otherdomainknowledge.Moreinformationcanbefound on",
"进行互动。合作可以通过相互谈判和协议进行",
"www.ai4climatecoop.org",
"但是,一个关键的问题是,在现实世界中没有中央实",
"体来强制合作或遵守已签署的协议。因此,至关重要的",
"1Introduction",
"是设计多边谈判和协议,以最好地促进持续合作以减轻",
"气候变化,同时允许所有各方实现其各自的政策目标",
"最新的IPCC报告E(Portneretal.2022)警告说,“现在",
"这样的博奔论问题带来了未解决的技术挑战。例如",
"或永远不会”避免气候灾难。生态系统正在发生巨大",
"2022年IPCC报告国(Portneretal.2022)中的一项关键",
"变化:亚马逊雨林正在消退E(LovejoyandNobre2018)",
"分析预测了五种不同的所谓共享社会经济途径(SSP)",
"极地冰盖正在融化E(BoersandRypdal2021;DeConto",
"下的气候变化。每个SSP为每个全球区域使用一组手动",
"etal.2021)。极端天气事件也是明确的警告信号,例如",
"定义的气候政策。然而,一个关键的限制是,目前尚不",
"最近沿海洪水和森林火灾的增加。这些发展越来越多地",
"清楚这些政策是否会由理性的行为者执行,因此这些情",
"归因于气候变化,并朝着全系统的临界点迈进",
"景实现的可能性有多大,或者这些情景对可能随着时间",
"的推移改变其行为的代理人有多稳健。",
"Open-source code available at: https://github.com/mila-iqia/",
"*Work done while at Salesforce.",
"climate-cooperation-competition.",
"For more information, see www.ai4climatecoop.org",
"Disclaimer: This project is for research purposes only. We do",
"E-mail: [email protected]",
"notintendtomakenormativeorvaluestatementsaboutdifferent",
"social welfare objectives or policies."
] | {
"arxiv_id": "2208.07004",
"language": "zh",
"page_idx": 1
} |
||
2208.07004-zh-2 | 2208.07004-zh-2.jpg | Contributions. 在本文中,我们提出了一个概念和实践框架来克服这些局限性,并对理性代理行为及其对气候变化的影响进行战略分析。我们还介绍了人工智能促进全球气候合作,这是一项社区倡议,旨在促进该领域的跨学科研究和现实世界的影响。具体来说,我们提供以下内容:
· we argue that machine learning (ML) offers an attractive
framework to analyze the strategic aspects of real world
climate negotiations and agreements;
· we argue this research requires combining both existing and new tools: calibrated agent-based climate-economic simulations, multi-agent machine learning, deep reinforcement learning (RL), game theory, and integrating data;
·we urge the community to pursue interdisciplinary re-
search, e.g., between economics, climate science, machine learning and other fields to understand the impact of strategic behavior on climate change;
· we introduce RICE-N , a calibrated climate-economic simulation that can model negotiations, agreements, and strategic behaviors between multiple regions;
· we describe how to use multi-agent reinforcement learn-
ing (MARL) to train rational agents in RICE-N ;
· we introduce a working group collaboration to build mo-
mentum and to have actual policy impact through peerreviewed publications authored by groups and policy briefs and communication with policymakers; and
$\bullet$ as a first step, we are organizing a competition to eval-
uate solutions, both through quantitative results and scientific assessment by a diverse, interdisciplinary expert jury. The objective of this competition is to design contracts and protocols that foster global climate cooperation, using a mix of machine learning tools, economic intuition, and domain knowledge. Participants will evaluate their solutions using RICE-N and a web platform run by the group.
有关最新信息,请参见 www.ai4climatecoop.org
## 2 $\textbf{Related Work}$
Integrated assessment models. 气候经济模拟,如RICE-N ,被称为综合评估模型 (IAM)。IAM 通常用于气候变化政策分析,以基于联合气候经济动力学模型来模拟未来情景,该模型量化了经济活动和 CO$_{2}$排放对全球温度和长期经济发展的影响。一个开创性的例子是气候与经济动态综合模型 (DICE) (Nordhaus 2007) ,它模拟了气候和经济因素之间的联系,例如。g。人口增长、技术变革、$\mathrm{CO}_{2}$排放和浓度、全球温度和经济损失。值得注意的是,DICE 模拟了一个全球区域。区域综合气候经济(RICE)模型将其推广到多个异质区域,对异质人口增长,气候变化缓解投资和其他因素进行建模。RICE 模型进一步扩展到包括贸易和关税(Lessmann, Marschinski, and Edenhofer 2009)
IAM 的主要局限性包括缺乏不确定性下的建模决策, 分布分析,技术变革和现实的经济损失函数$\boxed{\mathrm{F}}$(Farmer et al.2015)。此外,区域之间的合作,沟通和竞争可以显着影响区域政策及其(长期)影响,但在 IAM 中尚未得到充分探索。。我们提出的基于 RICE-N ,机器学习和
其他领域的框架解决了后一个缺点,并受到基于代理的建模$\overline{\mathbb{E}}($Bonabeau 2002) 作为自下而上的建模框架的启发,并在 MARL 中取得了进步,以找到性能良好的策略$\boxed{\mathrm{F}}($Zheng et al. 2022) 并训练人类级战略代理$\boxed{\mathrm{F}}($Silver et al. 2016; Vinyals et al. 2019)
Multi-agent aspects of climate change. 以前的工作研$\bar{\text{究了政治经济,谈判和气候变化之间的联系。实证工作}}$ 发现,以前的气候峰会影响不一致或影响太小(Chan et al. 2022; Bakaki 2022)。已在程式化的气候-社会模型中研究了社会动态的影响,发现公众的感知和机构的反应性对于解释排放量的变化很重要$\overline{\mathbb{E}}($Moore et al. 2022) 。还从博弈论的角度研究了气候谈判和协议下的联盟形成 (Zenker 2019)。IAM 也被用来研究政治谈判对实现气候目标所需的经济负担的影响(Rochedo et al.2018)。然而,据我们所知,没有任何工作使用机器学习和校准的 IAM 来分析气候合作的博弈论方面
Strategic behavior and climate change. 博弈论长期以来一直研究自利代理人的集体行为,例如。g。,公地的悲剧 (Hardin 1968) , 具有冲突和共同目标的代理的谈判和协议(Schelling 1980)。某些作品分析了有关气候合作的国际谈判以及有关经济活动和气候努力的协议, 例如。g。, 对没有充分缓解的国家征收关税。气候谈判已经使用数学游戏进行了研究,例如。g。,协调游戏或囚徒困境 (DeCanio and Fremstad 2013)。然而,这种用于现实世界政策的简化模型的可靠性受到了质疑。特别是,这些游戏缺乏(i)多边而非双边设置,(ii)具有多个目标,可能相互冲突的目标的代理商的战略行为,(iii) 不断发展的气候动力学和不断变化的代理商行为导致非平衡结果,以及(iv)代理商之间的异质性E (Madani 2013)
随后的工作已经超越了均衡分析,通过将气候谈判建模为代理学习的讨价还价游戏,尽管以高度简化的方式$\overline{\mathbb{E}}$(Smead et al. 2014)。气候情景可以通过这些游戏中出现的气候缓解来研究,在这些游戏中,区域可以合作或竞争 (Greeven et al.2016)。此外,其他工作还研究了长期气候合作 (Carney 2015)的困难,以及克服相关问题 (Nordhaus 2015) 的潜在机制
Multi-agent reinforcement learning. MARL 近年来已成为一个有吸引力的框架,研究如何训练可能进行交流,合作或竞争的理性主体。这是一个丰富的研究领域, 将机器学习与博弈论,经济学和其他领域交叉(Shoham and Leyton-Brown 2008)。游戏可以分为合作,竞争或两者的混合。例如,在完全合作的游戏中,代理学习一起工作,例如。g。,以降低供暖,通风和空调(HVAC) 系统$\boxed{\mathrm{E}}($Mai, Zhang, and Lesage-Landry 2021; Hanumaiah and Genc 2021; Yu et al. 2020) 的碳功耗,或在 Hanabi$\boxed{\mathrm{F}}$ (Yu et al. 2021)的游戏中。另一方面,在竞争激烈的游戏中,代理商可能需要找到击败对手的策略,例如。g。, 在外交中 (Paquette et al.2019)和 Go (Schrittwieser et al. 2020)。然而,许多游戏既不是纯粹的竞争,也不是纯粹的合作。。因此,多智能体游戏可以简单地定义,但很难使用基于学习的方法找到最佳的智能体策略,例如。g。,在迭代的囚徒困境和硬币游戏中(Lerer and Peysakhovich 2017; Foerster et al. 2017)
最近的工作探索了 MARL 与谈判E(Cao et al. 2018) 之间的联系,以及在社会困境中的合作以及在气候变化方面的合作$\boxed{\mathrm{F}}$(Jaques et al.2019; Chelarescu 2021; | [
[
"0.0907",
"0.0682",
"0.478",
"0.06946",
"0.478",
"0.0833",
"0.0907",
"0.0821"
],
[
"0.524",
"0.07135",
"0.91",
"0.07135",
"0.91",
"0.0821",
"0.524",
"0.0821"
],
[
"0.0907",
"0.0852",
"0.4763",
"0.0852",
"0.4763",
"0.09534",
"0.0907",
"0.09534"
],
[
"0.5195",
"0.0821",
"0.911",
"0.0833",
"0.911",
"0.09784",
"0.5195",
"0.0966"
],
[
"0.08826",
"0.09784",
"0.478",
"0.09784",
"0.478",
"0.1111",
"0.08826",
"0.1111"
],
[
"0.5215",
"0.09784",
"0.911",
"0.09784",
"0.911",
"0.1111",
"0.5215",
"0.1111"
],
[
"0.08826",
"0.1111",
"0.478",
"0.1111",
"0.478",
"0.125",
"0.08826",
"0.125"
],
[
"0.5195",
"0.1111",
"0.9126",
"0.10986",
"0.9126",
"0.125",
"0.5195",
"0.1256"
],
[
"0.08826",
"0.1256",
"0.4763",
"0.1256",
"0.4763",
"0.1395",
"0.08826",
"0.1395"
],
[
"0.5215",
"0.127",
"0.726",
"0.127",
"0.726",
"0.137",
"0.5215",
"0.137"
],
[
"0.08905",
"0.1401",
"0.1584",
"0.1401",
"0.1584",
"0.1515",
"0.08905",
"0.1515"
],
[
"0.5254",
"0.1483",
"0.814",
"0.1483",
"0.814",
"0.1622",
"0.5254",
"0.1622"
],
[
"0.808",
"0.1483",
"0.91",
"0.1483",
"0.91",
"0.1604",
"0.808",
"0.1604"
],
[
"0.09314",
"0.1578",
"0.478",
"0.1578",
"0.478",
"0.1718",
"0.09314",
"0.1718"
],
[
"0.5215",
"0.1635",
"0.911",
"0.1635",
"0.911",
"0.1768",
"0.5215",
"0.1768"
],
[
"0.10706",
"0.1718",
"0.4795",
"0.1718",
"0.4795",
"0.1849",
"0.10706",
"0.1849"
],
[
"0.523",
"0.1768",
"0.9126",
"0.1768",
"0.9126",
"0.1901",
"0.523",
"0.1901"
],
[
"0.10706",
"0.1849",
"0.3513",
"0.1849",
"0.3513",
"0.1989",
"0.10706",
"0.1989"
],
[
"0.5215",
"0.1901",
"0.911",
"0.1901",
"0.911",
"0.2039",
"0.5215",
"0.2039"
],
[
"0.09314",
"0.202",
"0.478",
"0.202",
"0.478",
"0.2153",
"0.09314",
"0.2153"
],
[
"0.524",
"0.2058",
"0.91",
"0.2058",
"0.91",
"0.2166",
"0.524",
"0.2166"
],
[
"0.10706",
"0.2166",
"0.478",
"0.2166",
"0.478",
"0.2299",
"0.10706",
"0.2299"
],
[
"0.5215",
"0.2172",
"0.9126",
"0.2172",
"0.9126",
"0.2311",
"0.5215",
"0.2311"
],
[
"0.10864",
"0.2299",
"0.478",
"0.2299",
"0.478",
"0.2437",
"0.10864",
"0.2437"
],
[
"0.536",
"0.2317",
"0.911",
"0.2317",
"0.911",
"0.2456",
"0.536",
"0.2456"
],
[
"0.10706",
"0.2424",
"0.478",
"0.2443",
"0.478",
"0.2583",
"0.10706",
"0.2556"
],
[
"0.523",
"0.2443",
"0.91",
"0.2456",
"0.91",
"0.2588",
"0.523",
"0.2583"
],
[
"0.10864",
"0.2588",
"0.1422",
"0.2588",
"0.1422",
"0.2708",
"0.10864",
"0.2708"
],
[
"0.523",
"0.2588",
"0.9126",
"0.2588",
"0.9126",
"0.2727",
"0.523",
"0.2727"
],
[
"0.0907",
"0.2727",
"0.4795",
"0.2734",
"0.4795",
"0.2886",
"0.0907",
"0.2874"
],
[
"0.523",
"0.2734",
"0.9126",
"0.2734",
"0.9126",
"0.2874",
"0.523",
"0.2874"
],
[
"0.10706",
"0.2886",
"0.4795",
"0.2886",
"0.4795",
"0.3018",
"0.10706",
"0.3018"
],
[
"0.5195",
"0.286",
"0.7915",
"0.2874",
"0.7915",
"0.3005",
"0.5195",
"0.2998"
],
[
"0.10864",
"0.3005",
"0.478",
"0.3005",
"0.478",
"0.3145",
"0.10864",
"0.3145"
],
[
"0.523",
"0.31",
"0.8",
"0.3113",
"0.8",
"0.3245",
"0.523",
"0.324"
],
[
"0.8022",
"0.3164",
"0.8096",
"0.3164",
"0.8096",
"0.3208",
"0.8022",
"0.3208"
],
[
"0.808",
"0.3125",
"0.91",
"0.3125",
"0.91",
"0.3225",
"0.808",
"0.3225"
],
[
"0.523",
"0.3245",
"0.911",
"0.3245",
"0.911",
"0.3384",
"0.523",
"0.3384"
],
[
"0.10864",
"0.3176",
"0.3677",
"0.3176",
"0.3677",
"0.3276",
"0.10864",
"0.3276"
],
[
"0.09235",
"0.332",
"0.478",
"0.332",
"0.478",
"0.3452",
"0.09235",
"0.3452"
],
[
"0.5215",
"0.3384",
"0.9126",
"0.3384",
"0.9126",
"0.3516",
"0.5215",
"0.3516"
],
[
"0.10706",
"0.3467",
"0.478",
"0.3467",
"0.478",
"0.3599",
"0.10706",
"0.3599"
],
[
"0.523",
"0.3516",
"0.911",
"0.3516",
"0.911",
"0.3655",
"0.523",
"0.3655"
],
[
"0.10706",
"0.3599",
"0.406",
"0.3599",
"0.406",
"0.3738",
"0.10706",
"0.3738"
],
[
"0.523",
"0.3662",
"0.9087",
"0.3662",
"0.9087",
"0.3801",
"0.523",
"0.3801"
],
[
"0.09235",
"0.3757",
"0.478",
"0.3757",
"0.478",
"0.3894",
"0.09235",
"0.3894"
],
[
"0.523",
"0.3801",
"0.9126",
"0.3801",
"0.9126",
"0.3945",
"0.523",
"0.3945"
],
[
"0.10706",
"0.3901",
"0.4272",
"0.3901",
"0.4272",
"0.404",
"0.10706",
"0.404"
],
[
"0.523",
"0.3933",
"0.911",
"0.3933",
"0.911",
"0.4077",
"0.523",
"0.4077"
],
[
"0.09235",
"0.4072",
"0.4795",
"0.4072",
"0.4795",
"0.4216",
"0.09235",
"0.4216"
],
[
"0.5215",
"0.4077",
"0.91",
"0.4077",
"0.91",
"0.4216",
"0.5215",
"0.4216"
],
[
"0.10706",
"0.4216",
"0.478",
"0.4216",
"0.478",
"0.435",
"0.10706",
"0.435"
],
[
"0.523",
"0.4216",
"0.9126",
"0.4216",
"0.9126",
"0.435",
"0.523",
"0.435"
],
[
"0.10706",
"0.435",
"0.4763",
"0.435",
"0.4763",
"0.449",
"0.10706",
"0.449"
],
[
"0.523",
"0.435",
"0.911",
"0.435",
"0.911",
"0.449",
"0.523",
"0.449"
],
[
"0.1054",
"0.4475",
"0.4355",
"0.449",
"0.4355",
"0.4622",
"0.1054",
"0.461"
],
[
"0.523",
"0.4495",
"0.911",
"0.4495",
"0.911",
"0.4634",
"0.523",
"0.4634"
],
[
"0.09314",
"0.4653",
"0.4795",
"0.4653",
"0.4795",
"0.4792",
"0.09314",
"0.4792"
],
[
"0.523",
"0.4634",
"0.911",
"0.4634",
"0.911",
"0.4766",
"0.523",
"0.4766"
],
[
"0.10706",
"0.4797",
"0.4795",
"0.4797",
"0.4795",
"0.4937",
"0.10706",
"0.4937"
],
[
"0.523",
"0.4766",
"0.9126",
"0.4766",
"0.9126",
"0.4905",
"0.523",
"0.4905"
],
[
"0.10864",
"0.4937",
"0.478",
"0.4937",
"0.478",
"0.507",
"0.10864",
"0.507"
],
[
"0.523",
"0.4905",
"0.619",
"0.4905",
"0.619",
"0.502",
"0.523",
"0.502"
],
[
"0.10864",
"0.507",
"0.478",
"0.507",
"0.478",
"0.521",
"0.10864",
"0.521"
],
[
"0.5376",
"0.505",
"0.9126",
"0.505",
"0.9126",
"0.518",
"0.5376",
"0.518"
],
[
"0.10706",
"0.521",
"0.4795",
"0.5215",
"0.4795",
"0.535",
"0.10706",
"0.534"
],
[
"0.5215",
"0.518",
"0.911",
"0.518",
"0.911",
"0.532",
"0.5215",
"0.532"
],
[
"0.10864",
"0.535",
"0.478",
"0.535",
"0.478",
"0.549",
"0.10864",
"0.549"
],
[
"0.523",
"0.532",
"0.911",
"0.532",
"0.911",
"0.547",
"0.523",
"0.547"
],
[
"0.10706",
"0.549",
"0.4795",
"0.549",
"0.4795",
"0.5625",
"0.10706",
"0.5625"
],
[
"0.5215",
"0.547",
"0.911",
"0.547",
"0.911",
"0.56",
"0.5215",
"0.56"
],
[
"0.10864",
"0.563",
"0.4795",
"0.563",
"0.4795",
"0.577",
"0.10864",
"0.577"
],
[
"0.5215",
"0.56",
"0.9087",
"0.56",
"0.9087",
"0.5737",
"0.5215",
"0.5737"
],
[
"0.10706",
"0.5747",
"0.1929",
"0.577",
"0.1929",
"0.589",
"0.10706",
"0.587"
],
[
"0.5215",
"0.5728",
"0.911",
"0.5737",
"0.911",
"0.5884",
"0.5215",
"0.587"
],
[
"0.0866",
"0.5923",
"0.4182",
"0.5947",
"0.4182",
"0.608",
"0.0866",
"0.606"
],
[
"0.5215",
"0.5884",
"0.744",
"0.5884",
"0.744",
"0.6016",
"0.5215",
"0.6016"
],
[
"0.524",
"0.61",
"0.7793",
"0.6113",
"0.7793",
"0.625",
"0.524",
"0.6235"
],
[
"0.7793",
"0.6143",
"0.794",
"0.6143",
"0.794",
"0.622",
"0.7793",
"0.622"
],
[
"0.789",
"0.6113",
"0.91",
"0.6113",
"0.91",
"0.625",
"0.789",
"0.625"
],
[
"0.2051",
"0.622",
"0.3586",
"0.622",
"0.3586",
"0.6353",
"0.2051",
"0.6353"
],
[
"0.523",
"0.6255",
"0.911",
"0.6255",
"0.911",
"0.6396",
"0.523",
"0.6396"
],
[
"0.09314",
"0.64",
"0.335",
"0.64",
"0.335",
"0.654",
"0.09314",
"0.654"
],
[
"0.327",
"0.64",
"0.4592",
"0.64",
"0.4592",
"0.654",
"0.327",
"0.654"
],
[
"0.4631",
"0.6426",
"0.4756",
"0.6426",
"0.4756",
"0.651",
"0.4631",
"0.651"
],
[
"0.5215",
"0.6396",
"0.9126",
"0.6396",
"0.9126",
"0.653",
"0.5215",
"0.653"
],
[
"0.08826",
"0.654",
"0.4763",
"0.654",
"0.4763",
"0.6675",
"0.08826",
"0.6675"
],
[
"0.5195",
"0.6514",
"0.914",
"0.653",
"0.914",
"0.6675",
"0.5195",
"0.6665"
],
[
"0.08905",
"0.6675",
"0.478",
"0.6675",
"0.478",
"0.681",
"0.08905",
"0.681"
],
[
"0.5186",
"0.6665",
"0.9126",
"0.6675",
"0.9126",
"0.681",
"0.5186",
"0.6797"
],
[
"0.0866",
"0.6797",
"0.478",
"0.681",
"0.478",
"0.696",
"0.0866",
"0.6943"
],
[
"0.5215",
"0.681",
"0.902",
"0.681",
"0.902",
"0.6943",
"0.5215",
"0.6943"
],
[
"0.08826",
"0.6943",
"0.4763",
"0.6943",
"0.4763",
"0.7085",
"0.08826",
"0.7085"
],
[
"0.5215",
"0.696",
"0.911",
"0.696",
"0.911",
"0.709",
"0.5215",
"0.709"
],
[
"0.08826",
"0.709",
"0.478",
"0.709",
"0.478",
"0.7227",
"0.08826",
"0.7227"
],
[
"0.523",
"0.709",
"0.9126",
"0.709",
"0.9126",
"0.7227",
"0.523",
"0.7227"
],
[
"0.10455",
"0.7227",
"0.464",
"0.7227",
"0.464",
"0.7363",
"0.10455",
"0.7363"
],
[
"0.4673",
"0.7246",
"0.4739",
"0.73",
"0.4673",
"0.735",
"0.46",
"0.73"
],
[
"0.5215",
"0.7227",
"0.9126",
"0.7227",
"0.9126",
"0.7363",
"0.5215",
"0.7363"
],
[
"0.08826",
"0.7373",
"0.4795",
"0.7373",
"0.4795",
"0.7505",
"0.08826",
"0.7505"
],
[
"0.5215",
"0.7363",
"0.911",
"0.7363",
"0.911",
"0.75",
"0.5215",
"0.75"
],
[
"0.08826",
"0.7505",
"0.478",
"0.7505",
"0.478",
"0.7646",
"0.08826",
"0.7646"
],
[
"0.5215",
"0.7485",
"0.9043",
"0.7505",
"0.9043",
"0.765",
"0.5215",
"0.763"
],
[
"0.08826",
"0.765",
"0.478",
"0.765",
"0.478",
"0.779",
"0.08826",
"0.779"
],
[
"0.5195",
"0.763",
"0.91",
"0.762",
"0.91",
"0.7764",
"0.5195",
"0.778"
],
[
"0.08905",
"0.779",
"0.4763",
"0.779",
"0.4763",
"0.7925",
"0.08905",
"0.7925"
],
[
"0.5195",
"0.776",
"0.9126",
"0.7764",
"0.9126",
"0.7915",
"0.5195",
"0.7905"
],
[
"0.08905",
"0.7925",
"0.478",
"0.7925",
"0.478",
"0.806",
"0.08905",
"0.806"
],
[
"0.523",
"0.7915",
"0.9126",
"0.7915",
"0.9126",
"0.8047",
"0.523",
"0.8047"
],
[
"0.08826",
"0.8066",
"0.392",
"0.8066",
"0.392",
"0.8174",
"0.08826",
"0.8174"
],
[
"0.523",
"0.806",
"0.9126",
"0.806",
"0.9126",
"0.8193",
"0.523",
"0.8193"
],
[
"0.10297",
"0.8193",
"0.4756",
"0.8193",
"0.4756",
"0.8335",
"0.10297",
"0.8335"
],
[
"0.5215",
"0.8193",
"0.9126",
"0.8174",
"0.9126",
"0.832",
"0.5215",
"0.834"
],
[
"0.08826",
"0.834",
"0.478",
"0.834",
"0.478",
"0.8477",
"0.08826",
"0.8477"
],
[
"0.5215",
"0.8335",
"0.789",
"0.8335",
"0.789",
"0.8467",
"0.5215",
"0.8467"
],
[
"0.0866",
"0.8477",
"0.478",
"0.8477",
"0.478",
"0.8613",
"0.0866",
"0.8613"
],
[
"0.5376",
"0.8477",
"0.9126",
"0.8477",
"0.9126",
"0.8613",
"0.5376",
"0.8613"
],
[
"0.0866",
"0.86",
"0.478",
"0.8613",
"0.478",
"0.8755",
"0.0866",
"0.875"
],
[
"0.5195",
"0.8613",
"0.911",
"0.86",
"0.911",
"0.875",
"0.5195",
"0.8755"
],
[
"0.08826",
"0.8755",
"0.478",
"0.8755",
"0.478",
"0.8896",
"0.08826",
"0.8896"
],
[
"0.5215",
"0.8755",
"0.9126",
"0.8755",
"0.9126",
"0.8896",
"0.5215",
"0.8896"
]
] | [
"Contributions.,在本文中,我们提出了一个概念和实",
"其他领域的框架解决了后一个缺点,并受到基于代理的",
"践框架来克服这些局限性,并对理性代理行为及其对气",
"建模EBonabeau2002)作为自下而上的建模框架的启",
"候变化的影响进行战略分析。我们还介绍了人工智能促",
"发,并在MARL中取得了进步,以找到性能良好的策",
"进全球气候合作,这是一项社区倡议,旨在促进该领域",
"略(Zhengetal.2022)并训练人类级战略代理E(Silver",
"的跨学科研究和现实世界的影响。具体来说,我们提供",
"etal.2016:Vinyals etal.2019)",
"以下内容:",
"Multi-agent aspects of climate change.",
"以前的工作研",
": we argue that machine learning (ML) offers an attractive",
"究了政治经济,谈判和气候变化之间的联系。实证工作",
"framework to analyze the strategic aspects of real world",
"发现,以前的气候峰会影响不一致或影响太小(Chan",
"climate negotiations and agreements;",
"etal.2022;Bakaki2022)。已在程式化的气候-社会模型",
" we argue this research requires combining both existing",
"中研究了社会动态的影响,发现公众的感知和机构的反",
"and new tools: calibrated agent-based climate-economic",
"应性对于解释排放量的变化很重要E(Mooreetal.2022)",
"simulations, multi-agent machine learning, deep rein",
"还从博奔论的角度研究了气候谈判和协议下的联盟形",
"forcementlearning (RL),game theory,and integrating",
"成(Zenker2019)。IAM也被用来研究政治谈判对实现",
"data;",
"气候目标所需的经济负担的影响(Rochedoetal.2018)。",
".we urge the community to pursue interdisciplinary re-",
"然而,据我们所知,没有任何工作使用机器学习和校准",
"search, e.g., between economics, climate science, ma-",
"的IAM来分析气候合作的博奔论方面",
"chine learning and other fields to understand the impact",
"Strategic behavior and climate change.",
"",
"博奔论长期以",
"来一直研究自利代理人的集体行为,例如。g。,公地的",
"of strategicbehavioronclimatechange",
"· we introduce RICE-N , a calibrated climate-economic",
"悲剧(Hardin1968),具有冲突和共同目标的代理的谈",
"simulation that can model negotiations, agreements, and",
"判和协议(Schelling1980)。某些作品分析了有关气候",
"strategic behaviors between multiple regions;",
"合作的国际谈判以及有关经济活动和气候努力的协议",
": we describe how to use multi-agent reinforcement learn.",
"例如。g。,对没有充分缓解的国家征收关税。气候谈判",
"ing (MARL) to train rational agents in RICE-N ;",
"已经使用数学游戏进行了研究,例如。g。,协调游戏或",
": we introduce a working group collaboration to build mo-",
"徒困境(DeCanioandFremstad2013)。然而,这种用",
"mentum and to have actual policy impact through peer",
"于现实世界政策的简化模型的可靠性受到了质疑。。特",
"reviewed publications authored by groups and policy",
"别是,这些游戏缺乏(i)多边而非双边设置,(ii)具",
"briefs and communication with policymakers; and",
"有多个目标,可能相互冲突的目标的代理商的战略行",
" as a first step, we are organizing a competition to eval-",
"为,(i)不断发展的气候动力学和不断变化的代理商行",
"uate solutions, both through quantitative results and sci-",
"为导致非平衡结果,以及(iv)代理商之间的异质性E",
"entific assessment by a diverse, interdisciplinary expert",
"(Madani2013)",
"jury. The objective of this competition is to design con+",
"随后的工作已经超越了均衡分析,通过将气候谈判建",
"tracts and protocols that foster global climate coopera-",
"模为代理学习的讨价还价游戏,尽管以高度简化的方",
"tion, using a mix of machine learning tools, economic",
"式E(Smeadetal.2014)。气候情景可以通过这些游戏中",
"intuition, and domain knowledge. Participants will evalu-",
"出现的气候缓解来研究,在这些游戏中,区域可以合作",
"ate their solutions using RICE-N and a web platform run",
"或竞争(Greevenetal.2016)。此外,其他工作还研究了",
"by thegroup",
"长期气候合作(Carney2015)的困难,以及克服相关问",
"有关最新信息,请参见www.ai4climatecoop.org",
"题((Nordhaus2015)的潜在机制",
"Multi-agent reinforcement learning.",
"",
"MARL近年来已",
"2Related Work",
"成为一个有吸引力的框架,研究如何训练可能进行交",
"Integrated assessment models.",
"气候经济模拟,",
"如",
"流,合作或竞争的理性主体。这是一个丰富的研究领域,",
"RICE-N,被称为综合评估模型(IAM)。IAM通常用",
"将机器学习与博奔论,经济学和其他领域交叉(Shoham",
"于气候变化政策分析,以基于联合气候经济动力学模",
"andLeyton-Brown2008)。游戏可以分为合作,竞争或",
"型来模拟未来情景,该模型量化了经济活动和CO2排",
"两者的混合。例如,在完全合作的游戏中,代理学习一",
"放对全球温度和长期经济发展的影响。一个开创性的例",
"起工作,例如。g。,以降低供暖,通风和空调(HVAC)",
"子是气候与经济动态综合模型(DICE)(Nordhaus2007)",
"系统E(Mai, Zhang,and Lesage-Landry 2021;Hanumaiah",
"它模拟了气候和经济因素之间的联系,例如。g。、",
"1",
"andGenc2021;Yuetal.2020)的碳功耗,或在HanabiE",
"口增长、技术变革、CO2排放和浓度、全球温度和经",
"(Yuetal.2021)的游戏中。另一方面,在竞争激烈的游",
"济损失。值得注意的是,DICE模拟了一个全球区域。",
"戏中,代理商可能需要找到击败对手的策略,例如。g。",
"区域综合气候经济(RICE)模型将其推广到多个异质",
"在外交中(Paquette etal.2019)和Go(Schrittwieseret al.",
"区域,对异质人口增长,气候变化缓解投资和其他因",
"2020)。然而,许多游戏既不是纯粹的竞争,也不是纯",
"素进行建模。RICE模型进一步扩展到包括贸易和关税",
"粹的合作。。因此,多智能体游戏可以简单地定义,但",
"(Lessmann.Marschinski,andEdenhofer2009)",
"很难使用基于学习的方法找到最佳的智能体策略,例",
"IAM的主要局限性包括缺乏不确定性下的建模决策",
"如。g。,在迭代的囚徒困境和硬币游戏中(Lererand",
"分布分析,技术变革和现实的经济损失函数E(Farmer",
"Peysakhovich 2017; Foerster et al. 2017)",
"etal.2015)。此外,区域之间的合作,沟通和竞争可以",
"最近的工作探索了MARL与谈判E(Caoetal.2018)",
"显着影响区域政策及其(长期)影响,但在IAM中尚未",
"之间的联系,以及在社会困境中的合作以及在气候",
"得到充分探索。。我们提出的基于RICE-N,机器学习和",
"变化方面的合作E(Jaques et al.2019;Chelarescu2021"
] | {
"arxiv_id": "2208.07004",
"language": "zh",
"page_idx": 2
} |
||
2208.07004-zh-3 | 2208.07004-zh-3.jpg | Le Gléau et al. 2022)。因此,MARL 是一个有吸引力的框架来分析气候结果,同时考虑到战略行为。然而,以前的工作在很大程度上考虑了高度程式化的环境,尚未应用于丰富的校准气候经济模拟;我们的工作填补了这一空白
3 $\textbf{The RICE- N Integrated Assessment}$
# Model
我们介绍 RICE-N ,这是一个 IAM, 它进一步增强了RICE 的谈判协议框架,并且还包括 Lessmann, Marschinski, and Edenhofer (2009) 之后的国际贸易和关税)。因此,RICE-N 与现实世界共享气候,经济和社会特征
在 RICE-N 中,有$n$区域,每个区域都建模为独立的决策代理。区域通过其行动与彼此和环境相互作用:为每个时间步骤设定储蓄率、缓解率、贸易和关税以及谈判行动(e。g。,每5年)
RICE-N 有两个主要组成部分:谈判和气候经济活动, 请参见图$\mathbb{E}$1 。活动组件模拟代理的物理动作以及由此产生的环境演变。协商组件模拟区域之间的通信,允许它们影响彼此的行为并达成协议。协议可能会反过来调整活动阶段每个地区的可用行动
每个模拟剧集都由$H$步骤组成,每个步骤代表$\Delta$年(e。g$,\Delta=5)$。因此,模拟跨越了$H\times\Delta$模拟年的一段时间。在每一步,模拟都会经历谈判阶段,并在区域内达成协议。然后,模拟进入活动阶段,每个区域采取受谈判阶段形成的协议影响的行动
对于仿真的公共版本,我们已经将仿真的结构参数拟合到真实数据。但是,公共版本中的区域及其特征并不是对现实世界的一对一表示。此外,这些地区是虚构的, 并不代表现实世界的国家。
# 3.1 Base Dynamics
我们现在描述基于现有工作的模拟的气候经济和贸易
动态
Climate-economic dynamics overview. 世界状况的特征在于全球变量,例如地球大气中C$O_2$ 水平的浓度和全球平均温度,以及特定区域的变量,例如人口,资本, 技术水平,经济活动的碳强度和贸易平衡(请参阅附录$\textbf{J 中 的 表 E}2$ )
大气中$\mathrm{CO}_{2}$水平如何影响全球温度的气候动力学模型。经济动态模型是技术水平、资本、人口和国内生产总值如何演变的。值得注意的是,气候动态通过损害函数影响经济动态,该函数描述了更高的温度如何导致资本损失
这些动态取决于每个代理设置的节省和缓解率,例如。g。,代理商可能会选择在减缓气候变化方面投入更多资金,但这可能会在短期内降低经济生产率。$^{1}$由于全球$\mathrm{CO}_{2}$的水平和温度会影响所有代理,因此这些动态意味着每个代理的决策也会影响其他代理的气候经济结果
$^{1}$In economic terms, variables such as capital, balance of trade, carbon mass, and global temperature depend on the agents' actions and are called endogenous variables. On the other hand, variables such as population, technology level, carbon intensity of economic activity are called exogenous , i.e., their values do not depend on the agent actions. Note that the values of endogenous variables can vary across steps in a predetermined manner.
活动组件封装了这些动态。在每个步骤中,它都执行以下操作:每个地区的总产值是根据该地区的状况,特别是其资本投资,劳动力(或人口)和技术因素来计算的。净经济产出是由于全球气温上升造成的气候损害而减少的总产出,以及该地区为缓解气候变化所付出的努力的成本。。该地区消费的国内商品等于资本投资和出口后剩下的净经济产出的数量。它还从进口中消费外国商品。使用 Armington 弹性假设计算每个地区消费国内外商品的消费效用,该假设已成为国际可计算一般均衡模型 (Armington 1969) 的标准。这给出了每个步骤中每个区域对应的奖励。详见附录 B.1 和附录 J 中的表 3
International trade and tariffs. RICE-N 具有国际贸易功能,可以在$\overline\mathbb{E}($Lessmann, Marschinski, and Edenhofer 2009)之后在代理商之间交换和转移货物。在这里,代理商被建模为根据 Armington 假设$\underline{\mathrm{E}}($Armington 1969) 寻求消费的多样性,因此他们希望消费其他代理商生产的商品,并愿意出口自己的一些商品作为交换。每个代理商指定他们想要进口多少货物,并根据其他代理商的出口意愿查看其订单(部分)
此外,代理商可以选择征收进口关税以限制贸易。进口关税限制了它们所适用的进口商品的消费,这隐含地提高了它们的价格。这些价格上涨使没有进口关税的进口商品更具吸引力。因此,贸易和关税迫使代理商与其他地区接触并具有战略意义,因此可能会激励谈判和签署协议。有关更多详细信息,请参阅附录 B.2
# 4 $\textbf{The Negotiation Component}$
以使用空协商组件,实际上,这些组件为性能评估提供
了重要的基线
我们工作组协作和竞争的一个关键目标是测试不同的谈判协议,这些协议会影响活动阶段的行动并带来更好的社会结果。因此,协商组件可以包括不同的通信阶段和规则,以在区域之间形成协议。请注意,RICE-N 可
有关谈判协议和协议的详细说明和正式详细信息,请
参阅附录中的L节。
Binding agreements via action masks. 在 RICE-N 的基本实现中,我们允许协商的协议控制区域允许的操作范围。然后,可以将协议的效果编码为动作蒙版的形式该蒙版在活动阶段控制允许的动作空间。例如,协议可以规定给定区域应实现 20% 缓解率的最小值。然后,操作掩码仅允许为此区域设置高于该级别的缓解率
因此,重要的是要确保协商协议为每个区域提供一种拒绝任何限制其操作的协议的方法。例如,不应该发生某个区域被迫实施它不同意的缓解率(Mitchell 2003)。即使为代理提供了接受或拒绝协议的选择,模拟设计人员也可以实施动作掩码,以人为地限制使商定的协议具有完全约束力的动作。然而,这是不太现实的
Non-binding agreements. 或者,实现可以包括代理观察,这些观察允许区域检查是否遵守了协议,并学习惩罚不遵守协议的区域。或者,可以根据与遵守其协议的代理相对应的观察结果来构建信誉系统,代理使用这些信誉分数来彼此参与以达成未来的协议。与基于操作掩码的实现相比,这样的实现将更加现实,因为它们不假设任何协议执行实体
Properties of negotiation protocols. 作为协商组件的一部分,可以实现多种协议。一个关键目标是设计一个 | [
[
"0.08905",
"0.0707",
"0.4739",
"0.0707",
"0.4739",
"0.0808",
"0.08905",
"0.0808"
],
[
"0.539",
"0.07135",
"0.91",
"0.07135",
"0.91",
"0.0821",
"0.539",
"0.0821"
],
[
"0.08826",
"0.084",
"0.4763",
"0.084",
"0.4763",
"0.09784",
"0.08826",
"0.09784"
],
[
"0.5215",
"0.084",
"0.911",
"0.084",
"0.911",
"0.09784",
"0.5215",
"0.09784"
],
[
"0.0907",
"0.09784",
"0.4756",
"0.09784",
"0.4756",
"0.1111",
"0.0907",
"0.1111"
],
[
"0.523",
"0.09784",
"0.911",
"0.09784",
"0.911",
"0.1111",
"0.523",
"0.1111"
],
[
"0.08905",
"0.11237",
"0.478",
"0.11237",
"0.478",
"0.1256",
"0.08905",
"0.1256"
],
[
"0.523",
"0.113",
"0.91",
"0.113",
"0.91",
"0.1237",
"0.523",
"0.1237"
],
[
"0.10046",
"0.127",
"0.1381",
"0.127",
"0.1381",
"0.1383",
"0.10046",
"0.1383"
],
[
"0.523",
"0.127",
"0.91",
"0.127",
"0.91",
"0.137",
"0.523",
"0.137"
],
[
"0.524",
"0.1395",
"0.91",
"0.1395",
"0.91",
"0.1528",
"0.524",
"0.1528"
],
[
"0.1111",
"0.1528",
"0.451",
"0.154",
"0.451",
"0.1686",
"0.1111",
"0.1674"
],
[
"0.523",
"0.1528",
"0.911",
"0.1528",
"0.911",
"0.1666",
"0.523",
"0.1666"
],
[
"0.2712",
"0.1724",
"0.3228",
"0.1724",
"0.3228",
"0.1843",
"0.2712",
"0.1843"
],
[
"0.523",
"0.1666",
"0.911",
"0.1666",
"0.911",
"0.1799",
"0.523",
"0.1799"
],
[
"0.523",
"0.1812",
"0.911",
"0.1812",
"0.911",
"0.1945",
"0.523",
"0.1945"
],
[
"0.08826",
"0.1913",
"0.4763",
"0.1913",
"0.4763",
"0.2052",
"0.08826",
"0.2052"
],
[
"0.523",
"0.1945",
"0.911",
"0.1945",
"0.911",
"0.2084",
"0.523",
"0.2084"
],
[
"0.08496",
"0.2039",
"0.478",
"0.2052",
"0.478",
"0.2197",
"0.08496",
"0.2184"
],
[
"0.524",
"0.2084",
"0.8945",
"0.2084",
"0.8945",
"0.2216",
"0.524",
"0.2216"
],
[
"0.0866",
"0.2197",
"0.478",
"0.2197",
"0.478",
"0.2329",
"0.0866",
"0.2329"
],
[
"0.08826",
"0.2329",
"0.455",
"0.2329",
"0.455",
"0.2468",
"0.08826",
"0.2468"
],
[
"0.524",
"0.2291",
"0.9126",
"0.2299",
"0.9126",
"0.2443",
"0.524",
"0.2437"
],
[
"0.10297",
"0.2468",
"0.478",
"0.2468",
"0.478",
"0.26",
"0.10297",
"0.26"
],
[
"0.5215",
"0.2437",
"0.911",
"0.2443",
"0.911",
"0.2583",
"0.5215",
"0.2568"
],
[
"0.08826",
"0.2615",
"0.4656",
"0.2615",
"0.4656",
"0.2747",
"0.08826",
"0.2747"
],
[
"0.5195",
"0.2568",
"0.911",
"0.2583",
"0.911",
"0.2715",
"0.5195",
"0.2708"
],
[
"0.46",
"0.2632",
"0.4756",
"0.2632",
"0.4756",
"0.2727",
"0.46",
"0.2727"
],
[
"0.08826",
"0.2747",
"0.4795",
"0.2747",
"0.4795",
"0.2886",
"0.08826",
"0.2886"
],
[
"0.5215",
"0.2727",
"0.9126",
"0.2727",
"0.9126",
"0.286",
"0.5215",
"0.286"
],
[
"0.08826",
"0.289",
"0.259",
"0.289",
"0.259",
"0.3037",
"0.08826",
"0.3037"
],
[
"0.523",
"0.286",
"0.911",
"0.286",
"0.911",
"0.2998",
"0.523",
"0.2998"
],
[
"0.1013",
"0.3018",
"0.4763",
"0.303",
"0.4763",
"0.3164",
"0.1013",
"0.315"
],
[
"0.523",
"0.3018",
"0.91",
"0.3018",
"0.91",
"0.3125",
"0.523",
"0.3125"
],
[
"0.08826",
"0.3164",
"0.478",
"0.3164",
"0.478",
"0.33",
"0.08826",
"0.33"
],
[
"0.5215",
"0.3132",
"0.911",
"0.3132",
"0.911",
"0.3276",
"0.5215",
"0.3276"
],
[
"0.0866",
"0.33",
"0.478",
"0.3289",
"0.478",
"0.3435",
"0.0866",
"0.3447"
],
[
"0.5215",
"0.3276",
"0.7236",
"0.3276",
"0.7236",
"0.3416",
"0.5215",
"0.3416"
],
[
"0.08826",
"0.3447",
"0.478",
"0.3447",
"0.478",
"0.358",
"0.08826",
"0.358"
],
[
"0.539",
"0.3435",
"0.911",
"0.3435",
"0.911",
"0.3542",
"0.539",
"0.3542"
],
[
"0.08826",
"0.3567",
"0.3186",
"0.3591",
"0.3186",
"0.3726",
"0.08826",
"0.3706"
],
[
"0.523",
"0.3547",
"0.9126",
"0.3547",
"0.9126",
"0.3687",
"0.523",
"0.3687"
],
[
"0.10297",
"0.3726",
"0.478",
"0.3726",
"0.478",
"0.3865",
"0.10297",
"0.3865"
],
[
"0.5215",
"0.3694",
"0.9126",
"0.3694",
"0.9126",
"0.3833",
"0.5215",
"0.3833"
],
[
"0.08826",
"0.3882",
"0.4617",
"0.3882",
"0.4617",
"0.3984",
"0.08826",
"0.3984"
],
[
"0.523",
"0.3833",
"0.911",
"0.3833",
"0.911",
"0.3965",
"0.523",
"0.3965"
],
[
"0.0907",
"0.4016",
"0.4763",
"0.4016",
"0.4763",
"0.4124",
"0.0907",
"0.4124"
],
[
"0.523",
"0.3977",
"0.911",
"0.3977",
"0.911",
"0.411",
"0.523",
"0.411"
],
[
"0.0907",
"0.414",
"0.478",
"0.414",
"0.478",
"0.428",
"0.0907",
"0.428"
],
[
"0.5215",
"0.411",
"0.8433",
"0.4104",
"0.8433",
"0.4236",
"0.5215",
"0.4248"
],
[
"0.08826",
"0.428",
"0.3325",
"0.428",
"0.3325",
"0.4414",
"0.08826",
"0.4414"
],
[
"0.10297",
"0.4426",
"0.478",
"0.4426",
"0.478",
"0.4558",
"0.10297",
"0.4558"
],
[
"0.5767",
"0.4395",
"0.853",
"0.44",
"0.853",
"0.455",
"0.5767",
"0.4539"
],
[
"0.08826",
"0.4558",
"0.4763",
"0.4558",
"0.4763",
"0.4697",
"0.08826",
"0.4697"
],
[
"0.5215",
"0.4602",
"0.911",
"0.4602",
"0.911",
"0.4734",
"0.5215",
"0.4734"
],
[
"0.0866",
"0.4685",
"0.4795",
"0.4697",
"0.4795",
"0.4841",
"0.0866",
"0.483"
],
[
"0.523",
"0.4749",
"0.911",
"0.4749",
"0.911",
"0.488",
"0.523",
"0.488"
],
[
"0.0866",
"0.4841",
"0.2852",
"0.4841",
"0.2852",
"0.4976",
"0.0866",
"0.4976"
],
[
"0.523",
"0.488",
"0.911",
"0.488",
"0.911",
"0.502",
"0.523",
"0.502"
],
[
"0.523",
"0.502",
"0.91",
"0.502",
"0.91",
"0.515",
"0.523",
"0.515"
],
[
"0.08496",
"0.511",
"0.2484",
"0.511",
"0.2484",
"0.5244",
"0.08496",
"0.5244"
],
[
"0.5215",
"0.515",
"0.911",
"0.515",
"0.911",
"0.529",
"0.5215",
"0.529"
],
[
"0.08826",
"0.53",
"0.4763",
"0.53",
"0.4763",
"0.5435",
"0.08826",
"0.5435"
],
[
"0.524",
"0.531",
"0.6177",
"0.531",
"0.6177",
"0.5425",
"0.524",
"0.5425"
],
[
"0.08826",
"0.5435",
"0.1209",
"0.5454",
"0.11926",
"0.558",
"0.0866",
"0.556"
],
[
"0.5376",
"0.5444",
"0.9126",
"0.5444",
"0.9126",
"0.558",
"0.5376",
"0.558"
],
[
"0.523",
"0.558",
"0.6626",
"0.558",
"0.6626",
"0.5713",
"0.523",
"0.5713"
],
[
"0.0907",
"0.565",
"0.3774",
"0.565",
"0.3774",
"0.579",
"0.0907",
"0.579"
],
[
"0.3774",
"0.5674",
"0.4756",
"0.5674",
"0.4756",
"0.579",
"0.3774",
"0.579"
],
[
"0.08826",
"0.58",
"0.4763",
"0.58",
"0.4763",
"0.5933",
"0.08826",
"0.5933"
],
[
"0.5254",
"0.58",
"0.911",
"0.58",
"0.911",
"0.5947",
"0.5254",
"0.5947"
],
[
"0.08826",
"0.5947",
"0.478",
"0.5947",
"0.478",
"0.608",
"0.08826",
"0.608"
],
[
"0.523",
"0.5947",
"0.911",
"0.5947",
"0.911",
"0.608",
"0.523",
"0.608"
],
[
"0.08826",
"0.608",
"0.478",
"0.608",
"0.478",
"0.622",
"0.08826",
"0.622"
],
[
"0.523",
"0.608",
"0.91",
"0.608",
"0.91",
"0.622",
"0.523",
"0.622"
],
[
"0.08826",
"0.6226",
"0.183",
"0.6226",
"0.183",
"0.634",
"0.08826",
"0.634"
],
[
"0.524",
"0.6235",
"0.91",
"0.6235",
"0.91",
"0.634",
"0.524",
"0.634"
],
[
"0.10297",
"0.634",
"0.478",
"0.6353",
"0.478",
"0.6494",
"0.10297",
"0.6484"
],
[
"0.523",
"0.636",
"0.9126",
"0.636",
"0.9126",
"0.6494",
"0.523",
"0.6494"
],
[
"0.08826",
"0.6494",
"0.4763",
"0.6494",
"0.4763",
"0.6636",
"0.08826",
"0.6636"
],
[
"0.5215",
"0.6494",
"0.864",
"0.6494",
"0.864",
"0.6636",
"0.5215",
"0.6636"
],
[
"0.08826",
"0.662",
"0.4763",
"0.6636",
"0.4763",
"0.678",
"0.08826",
"0.677"
],
[
"0.536",
"0.662",
"0.911",
"0.6636",
"0.911",
"0.677",
"0.536",
"0.6753"
],
[
"0.0866",
"0.677",
"0.478",
"0.678",
"0.478",
"0.6914",
"0.0866",
"0.69"
],
[
"0.5215",
"0.677",
"0.911",
"0.677",
"0.911",
"0.69",
"0.5215",
"0.69"
],
[
"0.08905",
"0.6924",
"0.1365",
"0.6924",
"0.1365",
"0.704",
"0.08905",
"0.704"
],
[
"0.523",
"0.6914",
"0.9043",
"0.6914",
"0.9043",
"0.705",
"0.523",
"0.705"
],
[
"0.10455",
"0.7056",
"0.478",
"0.7056",
"0.478",
"0.7197",
"0.10455",
"0.7197"
],
[
"0.5215",
"0.704",
"0.91",
"0.705",
"0.91",
"0.7197",
"0.5215",
"0.7183"
],
[
"0.0866",
"0.7197",
"0.4763",
"0.7183",
"0.4763",
"0.733",
"0.0866",
"0.7344"
],
[
"0.523",
"0.7197",
"0.911",
"0.7197",
"0.911",
"0.733",
"0.523",
"0.733"
],
[
"0.08826",
"0.733",
"0.4763",
"0.733",
"0.4763",
"0.747",
"0.08826",
"0.747"
],
[
"0.523",
"0.735",
"0.846",
"0.735",
"0.846",
"0.7456",
"0.523",
"0.7456"
],
[
"0.0866",
"0.747",
"0.4763",
"0.7456",
"0.4763",
"0.7603",
"0.0866",
"0.761"
],
[
"0.523",
"0.755",
"0.706",
"0.756",
"0.706",
"0.771",
"0.523",
"0.7695"
],
[
"0.08826",
"0.761",
"0.4763",
"0.761",
"0.4763",
"0.7744",
"0.08826",
"0.7744"
],
[
"0.714",
"0.756",
"0.911",
"0.756",
"0.911",
"0.7695",
"0.714",
"0.7695"
],
[
"0.709",
"0.762",
"0.7173",
"0.7603",
"0.7183",
"0.763",
"0.71",
"0.765"
],
[
"0.523",
"0.7695",
"0.911",
"0.7695",
"0.911",
"0.7827",
"0.523",
"0.7827"
],
[
"0.08905",
"0.7764",
"0.1365",
"0.7764",
"0.1365",
"0.7886",
"0.08905",
"0.7886"
],
[
"0.523",
"0.7827",
"0.911",
"0.7827",
"0.911",
"0.797",
"0.523",
"0.797"
],
[
"0.10864",
"0.799",
"0.4739",
"0.8",
"0.4739",
"0.813",
"0.10864",
"0.8125"
],
[
"0.523",
"0.797",
"0.911",
"0.7954",
"0.911",
"0.81",
"0.523",
"0.811"
],
[
"0.08826",
"0.8145",
"0.4763",
"0.8145",
"0.4763",
"0.8247",
"0.08826",
"0.8247"
],
[
"0.524",
"0.811",
"0.911",
"0.811",
"0.911",
"0.8247",
"0.524",
"0.8247"
],
[
"0.08826",
"0.827",
"0.478",
"0.827",
"0.478",
"0.837",
"0.08826",
"0.837"
],
[
"0.523",
"0.8247",
"0.9126",
"0.8247",
"0.9126",
"0.8384",
"0.523",
"0.8384"
],
[
"0.0866",
"0.8384",
"0.478",
"0.8384",
"0.478",
"0.8516",
"0.0866",
"0.8516"
],
[
"0.5215",
"0.839",
"0.6685",
"0.839",
"0.6685",
"0.853",
"0.5215",
"0.853"
],
[
"0.0866",
"0.851",
"0.478",
"0.851",
"0.478",
"0.8643",
"0.0866",
"0.8643"
],
[
"0.5254",
"0.8623",
"0.7915",
"0.8623",
"0.7915",
"0.8755",
"0.5254",
"0.8755"
],
[
"0.7915",
"0.8613",
"0.911",
"0.8613",
"0.911",
"0.875",
"0.7915",
"0.875"
],
[
"0.5312",
"0.8755",
"0.91",
"0.8755",
"0.91",
"0.8896",
"0.5312",
"0.8896"
],
[
"0.0866",
"0.863",
"0.478",
"0.863",
"0.478",
"0.877",
"0.0866",
"0.877"
],
[
"0.08826",
"0.8774",
"0.3489",
"0.8774",
"0.3489",
"0.888",
"0.08826",
"0.888"
]
] | [
"LeGleauetal2022)。因此MARL是一个有吸引l力的",
"活动组件封装了这些动态。在每个步骤中,它都执行",
"框架来分析气候结果,同时考虑到战略行为。然而,以",
"以下操作:每个地区的总产值是根据该地区的状况,特",
"前的工作在很大程度上考虑了高度程式化的环境,尚未",
"别是其资本投资,劳动力(或人口)和技术因素来计算",
"应用于丰富的校准气候经济模拟;我们的工作填补了这",
"的。净经济产出是由于全球气温上升造成的气候损害而",
"+空白",
"减少的总产出,以及该地区为缓解气候变化所付出的努",
"力的成本。。该地区消费的国内商品等于资本投资和出",
"3The RICE-N Integrated Assessment",
"口后剩下的净经济产出的数量。它还从进口中消费外国",
"Model",
"商品。使用Armington弹性假设计算每个地区消费国内",
"外商品的消费效用,该假设已成为国际可计算一般均衡",
"我们介绍RICE-N,这是一个IAM,它进一步增强了",
"模型(Armington1969)的标准。这给出了每个步骤中每",
"RICE的谈判协议框架,并且还包括Lessmann,Marschin",
"个区域对应的奖励。详见附录B.1和附录J中的表3",
"ski,andEdenhofer(2009)之后的国际贸易和关税)。因",
"此,RICE-N与现实世界共享气候,经济和社会特征",
"International tradeand tariffs.RICE-N具有国际贸",
"在RICE-N中,有n区域,每个区域都建模为独立的",
"易功能,可以在E(Lessmann,Marschinski,andEdenhofer",
"决策代理。区域通过其行动与彼此和环境相互作用:",
"2009)之后在代理商之间交换和转移货物。在这里,代",
"为",
"每个时间步骤设定储蓄率、缓解率、贸易和关税以及谈",
"理商被建模为根据Armington假设E(Armington1969)",
"判行动(e。g。,每5年)",
"寻求消费的多样性,因此他们希望消费其他代理商生产",
"RICE-N有两个主要组成部分:谈判和气候经济活动",
"的商品,并愿意出口自已的一些商品作为交换。每个代",
"请参见图E1。活动组件模拟代理的物理动作以及由此",
"理商指定他们想要进口多少货物,并根据其他代理商的",
"产生的环境演变。协商组件模拟区域之间的通信,允许",
"出口意愿查看其订单(部分)",
"它们影响彼此的行为并达成协议。协议可能会反过来调",
"此外,代理商可以选择征收进口关税以限制贸易。进",
"整活动阶段每个地区的可用行动",
"口关税限制了它们所适用的进口商品的消费,这隐含地",
"每个模拟剧集都由H步骤组成,每个步骤代表△年",
"提高了它们的价格。这些价格上涨使没有进口关税的进",
"e。g,△=5)。因此.模拟跨越了H×△模拟年的",
"口商品更具吸引力。因此,贸易和关税迫使代理商与其",
"段时间。在每一步,模拟都会经历谈判阶段,并在区域",
"他地区接触并具有战略意义,因此可能会激励谈判和签",
"内达成协议。然后,模拟进人活动阶段,每个区域采取",
"署协议。有关更多详细信息,请参阅附录B.2",
"受谈判阶段形成的协议影响的行动",
"对于仿真的公共版本,我们已经将仿真的结构参数拟",
"4TheNegotiationComponent",
"合到真实数据。但是,公共版本中的区域及其特征并不",
"我们工作组协作和竞争的一个关键目标是测试不同的",
"是对现实世界的一对一表示。此外,这些地区是虚构的,",
"谈判协议,这些协议会影响活动阶段的行动并带来更好",
"并不代表现实世界的国家。。",
"的社会结果。因此,协商组件可以包括不同的通信阶段",
"和规则,以在区域之间形成协议。请注意,RICE-N可",
"3.1BaseDynamics",
"以使用空协商组件,实际上,这些组件为性能评估提供",
"我们现在描述基于现有工作的模拟的气候经济和贸易",
"了重要的基线",
"动态",
"有关谈判协议和协议的详细说明和正式详细信息,请",
"参阅附录中的L节。",
"Climate-economic dynamics overview.",
"世界状况的特",
"征在于全球变量,例如地球大气中CO2水平的浓度和",
"Binding agreements via action masks.在 RICE-N 的",
"全球平均温度,以及特定区域的变量,例如人口,资本,",
"基本实现中,我们允许协商的协议控制区域允许的操作",
"技术水平,经济活动的碳强度和贸易平衡(请参阅附录",
"范围。然后,可以将协议的效果编码为动作蒙版的形式",
"J中的表F2)",
"该蒙版在活动阶段控制允许的动作空间。例如,协议可",
"大气中CO2水平如何影响全球温度的气候动力学模",
"以规定给定区域应实现20%缓解率的最小值。然后,操",
"型。经济动态模型是技术水平、资本、人口和国内生产",
"作掩码仅允许为此区域设置高于该级别的缓解率",
"总值如何演变的。值得注意的是,气候动态通过损害函",
"因此,重要的是要确保协商协议为每个区域提供一种",
"数影响经济动态,该函数描述了更高的温度如何导致资",
"拒绝任何限制其操作的协议的方法。例如,不应该发生",
"本损失",
"某个区域被迫实施它不同意的缓解率(Mitchell2003)",
"这些动态取决于每个代理设置的节省和缓解率,例",
"即使为代理提供了接受或拒绝协议的选择,模拟设计人",
"如。g。,代理商可能会选择在减缓气候变化方面投入更",
"员也可以实施动作掩码,以人为地限制使商定的协议具",
"多资金,但这可能会在短期内降低经济生产率。1由于",
"有完全约束力的动作。然而,这是不太现实的",
"全球CO2的水平和温度会影响所有代理,因此这些动",
"Non-binding agreements.",
"态意味着每个代理的决策也会影响其他代理的气候经",
"或者,实现可以包括代理观",
"",
"察,这些观察允许区域检查是否遵守了协议,并学习惩",
"济结果",
"罚不遵守协议的区域。或者,可以根据与遵守其协议的",
"'In economicterms,variables suchas capital,balanceoftrade",
"代理相对应的观察结果来构建信誉系统,代理使用这些",
"carbonmass,andglobaltemperaturedependontheagents'actions",
"信誉分数来彼此参与以达成未来的协议。与基于操作掩",
"and arecalled endogenous variables.Onthe otherhand,variables",
"码的实现相比,这样的实现将更加现实,因为它们不假",
"such as population, technology level, carbon intensity of economic",
"设任何协议执行实体",
"activity are called exogenous , i.e., their values do not depend on",
"Properties of negotiation protocols.",
"作为协商组件的",
"一部分,可以实现多种协议。一个关键目标是设计一个",
"the agent actions. Note that the values of endogenous variables can",
"vary across steps ina predetermined manner"
] | {
"arxiv_id": "2208.07004",
"language": "zh",
"page_idx": 3
} |
||
2109.10257-zh-1 | 2109.10257-zh-1.jpg | 个设计组件组合在一个作品中,克服了先前作品的缺点。首先,为了使用骨架的空间配置信息,我们将问题建模为端到端的时空图。我们依靠邻接矩阵来编码骨架关节之间的关系。而不是固定的邻接矩阵,我们让我们的模型学习它并在我们的消融研究中分析它。其次, 我们通过将视觉信号融合到我们的模型中来利用视觉信号。因此,我们利用上下文信息来增强我们的结果。我们发现视觉信号在某些情况下增强了短期预测。最后,为了避免长期的分歧,我们使用完整的 CNN 方法端到端,没有任何反复出现的行为。与以前的作品相比,这导致了更好的长期预测。我们引人了一种新的度量方法,该度量方法可以测量预测范围内的差异,以定量判断此预测稳定性标准
这项工作的组织方式如下,我们从相关的 2D 和 3D 姿态估计方法以及深度图模型和轨迹预测方法的文献综述开始。然后,我们跟进 Skeleton-Graph 方法的问题表述和描述。接下来,我们讨论 3D 骨架姿态预测中的不一致问题,并引人一个新的目标,确保预测的 3D 骨架看起来自然。我们从定量和定性的角度分析了我们的方法的性能,并讨论了长期的预测稳定性。
[34]D 位姿估计:随着神经网络的复兴,数据驱动的预测范式变得越来越占主导地位。DeepPose[35]是第一篇将深度学习应用于人体姿态估计的主要论文。在这种方法中,姿势估计被公式化为针对身体关节的基于 CNN 的回归问题。$\mathbb{E}[34]$的工作生成热图,通过在多个分辨率库中并行运行图像以同时捕获各种图像尺度的特征来描述骨骼关节的可能性。[26]引人了一种新颖直观的架构,该架构由池化层和上采样层的步骤组成,用于捕获各种规模的信息。以前的方法效果很好,但与下一个工作相比很复杂。$\mathbb{E}[$39] 的工作提出了一个非常简单但有效的结构,该结构由 ResNet 和很少的去卷积层组成,而不是上采样机制
3D 姿态估计:从 2DRGB 图像恢复 3D 姿态被认为比 2D 姿态估计更困难,因为更大的 3D 姿态空间和更多的模糊度。[22]的工作建立了一个由联合点回归任务和点检测任务组成的框架。他们训练一个网络,直接从图像中回归 3D 点。后来,E[7] 探索了一种简单的架构,该架构通过中间的 2D 姿态估计而不是直接从图像中估计 3D 姿态。进一步探讨[24]在三维姿态估计中的误差来源。他们怀疑错误的来源是 2D 到 3D 的映射, 还是对场景的视觉分析不当。他们得出的结论是,将地面实况 2D 关节位置提升到 3D 空间并不是错误的根源, 这是一项相对简单的任务,但视觉分析是主要问题。但是,由于这些方法完全忽略了图像上下文,因此预测的人体运动可能与场景不一致。为了在姿态估计任务中感知场景上下文,[13]利用静态 3D 场景结构,在考虑环境约束的情况下,从单目图像中更好地估计人体姿态。当前公式的局限性在于它不对场景遮挡进行建模。最近,E[6] 根据 3D 姿势制定了具有场景上下文的长期3D 人体运动预测的新任务,并开发了一种新颖的三阶段计算框架,该框架利用场景上下文进行面向目标的运动预测
深度图模型的进展:深度图 CNN 的最新进展[19]
导致姿态和轨迹预测领域的飞跃[25,16,37,5,37],因为图 CNN 可以利用代理的空间配置及其相应的内部特征。通过考虑骨骼$\mathbb{E}[40,17]$的时空图公式,成功地对人类骨骼的动作进行了分类。。[21]的最新工作提出了一种多尺度深度图网络,用于从 3D 历史预测 3D 人体运动
# 2. $\textbf{Problem Formulation and Technical Ap- }$ proach
给定一对$T$时间步 2D 人体姿态$P_\mathrm{2D}$和$T$步 2D 图像$I^\mathrm{2D}$的场景目标是预测下一个$\tilde{T}$步 3D 人体姿态$P_{3\mathrm{D}}$。人体骨骼具有$J$关键点,例如$P_2$D$\in \mathbb{R} ^J\times 2$ 和$P_{3\mathrm{D}}\in\mathbb{R}^{J\times3}$。此外,姿态预测问题包括其中的路径预测问题。路径预测问题很重要,因为需要跟踪 3D 姿势并在需要时对其进行扭曲或重新归一化。路径的位置是躯干的中心
在下面,我们描述我们解决手头问题的方法。我们首先将问题建模为时空图,该图表示人体骨骼随时间的 2D 运动。然后用损失函数描述 Skeleton-Graph 模型的包装。
$2. 1. \textbf{ The formulation of the spatio- temporal graph}$
我们开始将问题建模为时空骨架图。在每个观察到的时间步长$t$ , $\{ t\in \mathbb{Z} \mid$ $0\leq t\leq T\}$上,我们定义一个图$\mathcal{G}_t=(\mathcal{V}_t,\mathcal{E}_t)$ 。其中$\mathcal{V}_t$是时间步长$t$的图形顶点。每个顶点将保存相应$j$ 、$\{j\in\mathbb{Z}\mid0\leq j<J\}$ 骨架关键点的姿态$P_\mathrm{2D}^t$信息。$\mathcal{E}_t$是图边的集合。邻接矩阵$\bar{\mathcal{A}_t\text{ 定义图边的权重值。在我们的公式中,我}}$ 们将权重设置为 1, 稍后我们在模型中描述如何学习$\mathcal{A}_t$条目的正确值。现在,我们可以将输入表示为时空图$\mathcal{SG}_\mathrm{input}= \{ \mathcal{G} _t^\mathrm{2D}\mid _{- }t\in \mathbb{Z} , 0\leq t\leq T\}$ ,输出为$\{ \tilde{P} _{3\mathrm{D} }^{t}\mid t\in \mathbb{Z} , T< t\leq \tilde{T} \}$ ,这是下一个 3D 姿势
# $2. 2. \textbf{ Skeleton- Graph model}$
从顶视图来看,我们的模型由四个主要组件组成。时空图 CNN (SPGCNN) 接收观察到的运动的时空图,并为其生成表示。第二个组件位于 SPGCNN 组件内。它是一个基于时间骨架结构学习邻接矩阵的 CNN。第三个组件是视觉图融合。此组件混合了来自 SPGCNN 的图形表示和来自视觉提取器的视觉信号。最后,时间外推器 CNN (TXCNN) 接收视觉和图形的融合表示,并预测下一个 3D 姿势。在下一节中,我们将分别解释每个组件。这些组件可以在图 2 中看到。我们的代码是开源的,包括模型的所有实现细节。补充材料包括每个组件的精细实现细节
时空图 CNN ( SPGCNN) 我们该层的设计分两步处理具有$T\times J\times[x,y]$形状的图顶点数据。第一步是空间步骤,它在图形节点上应用 CNN,通过邻接矩阵的值对 CNN 内核进行加权。此空间步骤通过利用邻接矩阵来考虑骨架节点之间的连接。这与我们使用此信息来增强结果的设计目标一致。然后,将时间步长应用于来自空间步长的张量。此步骤是一个简单的 CNN,但
2 | [
[
"0.08417",
"0.0947",
"0.4673",
"0.0947",
"0.4673",
"0.1048",
"0.08417",
"0.1048"
],
[
"0.5034",
"0.09344",
"0.8906",
"0.09344",
"0.8906",
"0.1067",
"0.5034",
"0.1067"
],
[
"0.0825",
"0.108",
"0.4673",
"0.108",
"0.4673",
"0.1218",
"0.0825",
"0.1218"
],
[
"0.505",
"0.108",
"0.8896",
"0.108",
"0.8896",
"0.1218",
"0.505",
"0.1218"
],
[
"0.08417",
"0.125",
"0.4656",
"0.125",
"0.4656",
"0.1351",
"0.08417",
"0.1351"
],
[
"0.505",
"0.125",
"0.888",
"0.125",
"0.888",
"0.1351",
"0.505",
"0.1351"
],
[
"0.0825",
"0.1383",
"0.468",
"0.1383",
"0.468",
"0.1515",
"0.0825",
"0.1515"
],
[
"0.505",
"0.1383",
"0.8896",
"0.1383",
"0.8896",
"0.1515",
"0.505",
"0.1515"
],
[
"0.0825",
"0.154",
"0.4673",
"0.154",
"0.4673",
"0.1674",
"0.0825",
"0.1674"
],
[
"0.509",
"0.1572",
"0.5156",
"0.1572",
"0.5156",
"0.161",
"0.509",
"0.161"
],
[
"0.517",
"0.154",
"0.8906",
"0.154",
"0.8906",
"0.1674",
"0.517",
"0.1674"
],
[
"0.0809",
"0.1686",
"0.468",
"0.1686",
"0.468",
"0.1818",
"0.0809",
"0.1818"
],
[
"0.5034",
"0.1674",
"0.536",
"0.1692",
"0.535",
"0.1818",
"0.5024",
"0.1799"
],
[
"0.08417",
"0.1849",
"0.4656",
"0.1849",
"0.4656",
"0.1957",
"0.08417",
"0.1957"
],
[
"0.0825",
"0.1995",
"0.4673",
"0.1995",
"0.4673",
"0.2102",
"0.0825",
"0.2102"
],
[
"0.501",
"0.1976",
"0.8906",
"0.1995",
"0.8906",
"0.214",
"0.501",
"0.2122"
],
[
"0.0825",
"0.2134",
"0.468",
"0.2134",
"0.468",
"0.2267",
"0.0825",
"0.2267"
],
[
"0.5312",
"0.2172",
"0.591",
"0.214",
"0.5923",
"0.2291",
"0.5317",
"0.2317"
],
[
"0.0825",
"0.2291",
"0.4656",
"0.2291",
"0.4656",
"0.2424",
"0.0825",
"0.2424"
],
[
"0.08417",
"0.2456",
"0.4673",
"0.2456",
"0.4673",
"0.2556",
"0.08417",
"0.2556"
],
[
"0.5254",
"0.2437",
"0.888",
"0.2437",
"0.888",
"0.254",
"0.5254",
"0.254"
],
[
"0.0825",
"0.2588",
"0.468",
"0.2588",
"0.468",
"0.2727",
"0.0825",
"0.2727"
],
[
"0.5034",
"0.2551",
"0.8906",
"0.2568",
"0.8906",
"0.2715",
"0.5034",
"0.2695"
],
[
"0.0825",
"0.2747",
"0.2573",
"0.2747",
"0.2573",
"0.2854",
"0.0825",
"0.2854"
],
[
"0.5034",
"0.2715",
"0.8906",
"0.2708",
"0.8906",
"0.2854",
"0.5034",
"0.286"
],
[
"0.10046",
"0.2903",
"0.4656",
"0.2903",
"0.4656",
"0.3037",
"0.10046",
"0.3037"
],
[
"0.505",
"0.286",
"0.8906",
"0.286",
"0.8906",
"0.3005",
"0.505",
"0.3005"
],
[
"0.0825",
"0.308",
"0.4673",
"0.308",
"0.4673",
"0.318",
"0.0825",
"0.318"
],
[
"0.5063",
"0.3037",
"0.888",
"0.3037",
"0.888",
"0.3145",
"0.5063",
"0.3145"
],
[
"0.0809",
"0.3213",
"0.468",
"0.3213",
"0.468",
"0.3352",
"0.0809",
"0.3352"
],
[
"0.5034",
"0.3164",
"0.8896",
"0.3176",
"0.8896",
"0.3308",
"0.5034",
"0.33"
],
[
"0.0809",
"0.336",
"0.4673",
"0.336",
"0.4673",
"0.3499",
"0.0809",
"0.3499"
],
[
"0.5034",
"0.3333",
"0.5986",
"0.3333",
"0.5986",
"0.3435",
"0.5034",
"0.3435"
],
[
"0.0809",
"0.351",
"0.4673",
"0.3528",
"0.4673",
"0.3662",
"0.0809",
"0.3643"
],
[
"0.523",
"0.3484",
"0.8906",
"0.3484",
"0.8906",
"0.3623",
"0.523",
"0.3623"
],
[
"0.0809",
"0.3674",
"0.468",
"0.3674",
"0.468",
"0.3806",
"0.0809",
"0.3806"
],
[
"0.505",
"0.363",
"0.888",
"0.363",
"0.888",
"0.377",
"0.505",
"0.377"
],
[
"0.505",
"0.3774",
"0.8896",
"0.3774",
"0.8896",
"0.3914",
"0.505",
"0.3914"
],
[
"0.0825",
"0.3838",
"0.3945",
"0.3838",
"0.3945",
"0.3945",
"0.0825",
"0.3945"
],
[
"0.5034",
"0.3914",
"0.562",
"0.3933",
"0.5605",
"0.4077",
"0.5024",
"0.406"
],
[
"0.1013",
"0.3997",
"0.4673",
"0.3997",
"0.4673",
"0.4136",
"0.1013",
"0.4136"
],
[
"0.0809",
"0.414",
"0.4673",
"0.414",
"0.4673",
"0.428",
"0.0809",
"0.428"
],
[
"0.5024",
"0.4185",
"0.8896",
"0.4192",
"0.8896",
"0.4343",
"0.5024",
"0.433"
],
[
"0.0948",
"0.4287",
"0.468",
"0.4287",
"0.468",
"0.4426",
"0.0948",
"0.4426"
],
[
"0.0809",
"0.4443",
"0.468",
"0.4443",
"0.468",
"0.4583",
"0.0809",
"0.4583"
],
[
"0.524",
"0.4443",
"0.888",
"0.4443",
"0.888",
"0.455",
"0.524",
"0.455"
],
[
"0.08417",
"0.4602",
"0.468",
"0.4602",
"0.468",
"0.4734",
"0.08417",
"0.4734"
],
[
"0.5024",
"0.4583",
"0.888",
"0.4583",
"0.888",
"0.4717",
"0.5024",
"0.4717"
],
[
"0.0825",
"0.4749",
"0.468",
"0.4749",
"0.468",
"0.488",
"0.0825",
"0.488"
],
[
"0.5156",
"0.4749",
"0.8896",
"0.4749",
"0.8896",
"0.4849",
"0.5156",
"0.4849"
],
[
"0.0809",
"0.4893",
"0.468",
"0.4905",
"0.468",
"0.504",
"0.0809",
"0.5024"
],
[
"0.505",
"0.488",
"0.8896",
"0.488",
"0.8896",
"0.502",
"0.505",
"0.502"
],
[
"0.0809",
"0.505",
"0.468",
"0.505",
"0.468",
"0.518",
"0.0809",
"0.518"
],
[
"0.505",
"0.5024",
"0.8906",
"0.5024",
"0.8906",
"0.5166",
"0.505",
"0.5166"
],
[
"0.0809",
"0.521",
"0.4656",
"0.521",
"0.4656",
"0.534",
"0.0809",
"0.534"
],
[
"0.5024",
"0.518",
"0.8896",
"0.518",
"0.8896",
"0.532",
"0.5024",
"0.532"
],
[
"0.0825",
"0.537",
"0.4656",
"0.537",
"0.4656",
"0.5474",
"0.0825",
"0.5474"
],
[
"0.5034",
"0.5327",
"0.888",
"0.5327",
"0.888",
"0.547",
"0.5034",
"0.547"
],
[
"0.09235",
"0.5503",
"0.4673",
"0.5503",
"0.4673",
"0.5645",
"0.09235",
"0.5645"
],
[
"0.5034",
"0.549",
"0.8896",
"0.549",
"0.8896",
"0.5625",
"0.5034",
"0.5625"
],
[
"0.0825",
"0.5674",
"0.3406",
"0.5674",
"0.3406",
"0.5776",
"0.0825",
"0.5776"
],
[
"0.5034",
"0.563",
"0.888",
"0.563",
"0.888",
"0.577",
"0.5034",
"0.577"
],
[
"0.1013",
"0.5835",
"0.4673",
"0.5835",
"0.4673",
"0.5967",
"0.1013",
"0.5967"
],
[
"0.5034",
"0.579",
"0.839",
"0.579",
"0.839",
"0.5933",
"0.5034",
"0.5933"
],
[
"0.0809",
"0.5977",
"0.4673",
"0.5977",
"0.4673",
"0.6113",
"0.0809",
"0.6113"
],
[
"0.5034",
"0.606",
"0.716",
"0.606",
"0.716",
"0.6206",
"0.5034",
"0.6206"
],
[
"0.0809",
"0.6123",
"0.4656",
"0.6123",
"0.4656",
"0.6255",
"0.0809",
"0.6255"
],
[
"0.0825",
"0.6274",
"0.4673",
"0.6274",
"0.4673",
"0.6416",
"0.0825",
"0.6416"
],
[
"0.523",
"0.63",
"0.892",
"0.63",
"0.892",
"0.643",
"0.523",
"0.643"
],
[
"0.0825",
"0.643",
"0.468",
"0.643",
"0.468",
"0.657",
"0.0825",
"0.657"
],
[
"0.5034",
"0.646",
"0.8906",
"0.646",
"0.8906",
"0.659",
"0.5034",
"0.659"
],
[
"0.0809",
"0.6577",
"0.468",
"0.659",
"0.468",
"0.6724",
"0.0809",
"0.672"
],
[
"0.5034",
"0.659",
"0.8906",
"0.66",
"0.8906",
"0.675",
"0.5034",
"0.674"
],
[
"0.08417",
"0.6753",
"0.4656",
"0.6753",
"0.4656",
"0.686",
"0.08417",
"0.686"
],
[
"0.505",
"0.6753",
"0.8896",
"0.6753",
"0.8896",
"0.6895",
"0.505",
"0.6895"
],
[
"0.0809",
"0.688",
"0.468",
"0.688",
"0.468",
"0.702",
"0.0809",
"0.702"
],
[
"0.5034",
"0.688",
"0.8906",
"0.6895",
"0.8906",
"0.704",
"0.5034",
"0.7026"
],
[
"0.0825",
"0.705",
"0.4656",
"0.705",
"0.4656",
"0.7153",
"0.0825",
"0.7153"
],
[
"0.505",
"0.7056",
"0.8906",
"0.7056",
"0.8906",
"0.7197",
"0.505",
"0.7197"
],
[
"0.08417",
"0.72",
"0.4673",
"0.72",
"0.4673",
"0.731",
"0.08417",
"0.731"
],
[
"0.5034",
"0.72",
"0.8906",
"0.72",
"0.8906",
"0.7344",
"0.5034",
"0.7344"
],
[
"0.0809",
"0.7344",
"0.468",
"0.7344",
"0.468",
"0.7476",
"0.0809",
"0.7476"
],
[
"0.5034",
"0.735",
"0.8896",
"0.735",
"0.8896",
"0.7485",
"0.5034",
"0.7485"
],
[
"0.08417",
"0.7505",
"0.4656",
"0.7505",
"0.4656",
"0.761",
"0.08417",
"0.761"
],
[
"0.5034",
"0.7505",
"0.8906",
"0.7505",
"0.8906",
"0.7646",
"0.5034",
"0.7646"
],
[
"0.0825",
"0.7646",
"0.468",
"0.7646",
"0.468",
"0.778",
"0.0825",
"0.778"
],
[
"0.5034",
"0.7666",
"0.8896",
"0.7666",
"0.8896",
"0.78",
"0.5034",
"0.78"
],
[
"0.0809",
"0.779",
"0.468",
"0.779",
"0.468",
"0.7925",
"0.0809",
"0.7925"
],
[
"0.5024",
"0.781",
"0.6504",
"0.781",
"0.6504",
"0.7944",
"0.5024",
"0.7944"
],
[
"0.0809",
"0.7944",
"0.4673",
"0.7944",
"0.4673",
"0.808",
"0.0809",
"0.808"
],
[
"0.524",
"0.797",
"0.8906",
"0.797",
"0.8906",
"0.81",
"0.524",
"0.81"
],
[
"0.0809",
"0.81",
"0.468",
"0.81",
"0.468",
"0.8237",
"0.0809",
"0.8237"
],
[
"0.5034",
"0.811",
"0.8906",
"0.811",
"0.8906",
"0.8247",
"0.5034",
"0.8247"
],
[
"0.0825",
"0.8247",
"0.4673",
"0.8247",
"0.4673",
"0.8384",
"0.0825",
"0.8384"
],
[
"0.505",
"0.827",
"0.8906",
"0.827",
"0.8906",
"0.8403",
"0.505",
"0.8403"
],
[
"0.0801",
"0.8384",
"0.468",
"0.839",
"0.468",
"0.853",
"0.0801",
"0.8516"
],
[
"0.5034",
"0.8413",
"0.8906",
"0.8413",
"0.8906",
"0.855",
"0.5034",
"0.855"
],
[
"0.0801",
"0.853",
"0.468",
"0.854",
"0.468",
"0.8687",
"0.0801",
"0.867"
],
[
"0.5024",
"0.856",
"0.8896",
"0.857",
"0.8896",
"0.8706",
"0.5024",
"0.869"
],
[
"0.0825",
"0.8706",
"0.1462",
"0.8706",
"0.1462",
"0.882",
"0.0825",
"0.882"
],
[
"0.5034",
"0.8726",
"0.8896",
"0.8726",
"0.8896",
"0.886",
"0.5034",
"0.886"
],
[
"0.1013",
"0.887",
"0.468",
"0.887",
"0.468",
"0.901",
"0.1013",
"0.901"
],
[
"0.5034",
"0.887",
"0.8906",
"0.887",
"0.8906",
"0.901",
"0.5034",
"0.901"
],
[
"0.4795",
"0.925",
"0.492",
"0.925",
"0.492",
"0.938",
"0.4795",
"0.938"
]
] | [
"个设计组件组合在一个作品中,克服了先前作品的缺",
"导致姿态和轨迹预测领域的飞跃[25,16,37,5,371,因",
"点。首先,为了使用骨架的空间配置信息,我们将问题",
"为图CNN可以利用代理的空间配置及其相应的内部特",
"建模为端到端的时空图。我们依靠邻接矩阵来编码骨",
"征。通过考虑骨骼E40,171的时空图公式:成功地对",
"架关节之间的关系。而不是固定的邻接矩阵,我们让我",
"人类骨骼的动作进行了分类。。[21]的最新工作提出了",
"们的模型学习它并在我们的消融研究中分析它。其次",
"",
"-种多尺度深度图网络,用于从3D历史预测3D人体",
"我们通过将视觉信号融合到我们的模型中来利用视觉",
"运动",
"信号。因此,我们利用上下文信息来增强我们的结果。",
"我们发现视觉信号在某些情况下增强了短期预测。最",
"2.Problem Formulation and Technical Ap",
"后,为了避免长期的分歧,我们使用完整的CNN方法",
"proach",
"端到端,没有任何反复出现的行为。与以前的作品相",
"比,这导致了更好的长期预测。我们引入了一种新的度",
"给定一对T时间步2D人体姿态P2D和T步2D图",
"量方法,该度量方法可以测量预测范围内的差异,以定",
"像I2D的场景目标是预测下一个T步3D人体姿态",
"量判断此预测稳定性标准",
"P3D。人体骨骼具有J关键点,例如P2DERJx2和",
"这项工作的组织方式如下,我们从相关的2D和3D",
"P3DERJ×3。此外,姿态预测问题包括其中的路径预",
"姿态估计方法以及深度图模型和轨迹预测方法的文献",
"测问题。路径预测问题很重要,因为需要跟踪3D姿势",
"综述开始。然后,我们跟进Skeleton-Graph方法的问题",
"并在需要时对其进行扭曲或重新归一化。路径的位置",
"表述和描述。接下来,我们讨论3D骨架姿态预测中的",
"是干的中心",
"不一致问题,并引入一个新的目标,确保预测的3D骨",
"在下面,我们描述我们解决手头问题的方法。我们",
"架看起来自然。我们从定量和定性的角度分析了我们",
"首先将问题建模为时空图,该图表示人体骨骼随时间",
"的2D运动。然后用损失函数描述Skeleton-Graph模型",
"的方法的性能,并讨论了长期的预测稳定性。",
"的包装。",
"[34]D位姿估计:随着神经网络的复兴,数据驱动的",
"预测范式变得越来越占主导地位。DeepPose[35]是第",
"2.1. The formulation of the spatio-temporal graph",
"篇将深度学习应用于人体姿态估计的主要论文。在",
"这种方法中,姿势估计被公式化为针对身体关节的基",
"我们开始将问题建模为时空骨架图。在每个观察到",
"于CNN的回归问题。E[34]的工作生成热图,通过在",
"的时间步长t,{teZIo≤t≤T上,我们定义",
"多个分辨率库中并行运行图像以同时捕获各种图像尺",
"-个图9tVtt)。其中Vt是时间步长t的图形",
"度的特征来描述骨骼关节的可能性。【26]引入了一种",
"顶点。每个顶点将保存相应、EO≤<J",
"新颖直观的架构,该架构由池化层和上采样层的步骤",
"骨架关键点的姿态Ptp信息。&t是图边的集合。邻",
"组成,用于捕获各种规模的信息。以前的方法效果很",
"接矩阵At定义图边的权重值。在我们的公式中,我",
"好,但与下一个工作相比很复杂。E391的工作提出了",
"们将权重设置为1,稍后我们在模型中描述如何学习",
"个非常简单但有效的结构,该结构由ResNet和很少",
"At条目的正确值。现在,我们可以将输人表示为时",
"的去卷积层组成,而不是上采样机制",
"空图SGinput=2DItZ,0≤t≤T,输出为",
"3D姿态估计:从2DRGB图像恢复3D姿态被认为",
"[Ptp|tEZ,T<t≤T) ,这是下一个3D姿势",
"比2D姿态估计更困难,因为更大的3D姿态空间和更",
"2.2. Skeleton-Graph model",
"多的模糊度。[22]的工作建立了一个由联合点回归任",
"务和点检测任务组成的框架。他们训练一个网络,直接",
"从顶视图来看,我们的模型由四个主要组件组成。时",
"从图像中回归3D点。后来,E[7]探索了一种简单的架",
"空图CNN(SPGCNN)接收观察到的运动的时空图,并",
"构,该架构通过中间的2D姿态估计而不是直接从图像",
"为其生成表示。第二个组件位于SPGCNN组件内。它",
"中估计3D姿态。进一步探讨[241在三维姿态估计中",
"是一个基于时间骨架结构学习邻接矩阵的CNN。第三",
"的误差来源。他们怀疑错误的来源是2D到3D的映射,",
"个组件是视觉图融合。此组件混合了来自SPGCNN的",
"还是对场景的视觉分析不当。他们得出的结论是,将地",
"图形表示和来自视觉提取器的视觉信号。最后,时间外",
"面实况2D关节位置提升到3D空间并不是错误的根源,",
"推器CNN(TXCNN)接收视觉和图形的融合表示,并",
"这是一项相对简单的任务,但视觉分析是主要问题。但",
"预测下一个3D姿势。在下一节中,我们将分别解释每",
"是,由于这些方法完全忽略了图像上下文,因此预测的",
"个组件。这些组件可以在图2中看到。我们的代码是",
"人体运动可能与场景不一致。为了在姿态估计任务中",
"开源的,包括模型的所有实现细节。补充材料包括每个",
"感知场景上下文,【13]利用静态3D场景结构,在考虑",
"组件的精细实现细节",
"环境约束的情况下,从单目图像中更好地估计人体姿",
"时空图CNN(SPGCNN)我们该层的设计分两步处",
"态。当前公式的局限性在于它不对场景遮挡进行建模。",
"理具有T×J×[c,yl形状的图顶点数据。第一步是空",
"最近,E[6]根据3D姿势制定了具有场景上下文的长期",
"间步骤,它在图形节点上应用CNN,通过邻接矩阵的",
"3D人体运动预测的新任务,并开发了一种新颖的三阶",
"值对CNN内核进行加权。此空间步骤通过利用邻接矩",
"段计算框架,该框架利用场景上下文进行面向目标的",
"阵来考虑骨架节点之间的连接。这与我们使用此信息",
"运动预测",
"来增强结果的设计目标一致。然后,将时间步长应用于",
"深度图模型的进展:深度图CNN的最新进展[19]",
"来自空间步长的张量。此步骤是一个简单的CNN,但",
"2"
] | {
"arxiv_id": "2109.10257",
"language": "zh",
"page_idx": 1
} |
||
2109.10257-zh-3 | 2109.10257-zh-3.jpg | # 4. Experiments
在本节中,我们将描述训练中使用的数据集,训练设置和评估指标。然后我们与几个先前的模型进行比较,然后以定量和定性的方式对我们的模型进行消融研究。
## 4.1. Datasets description
GTA-IM: GTA 室内运动数据集$\mathbb{E}$[6] 强调人与场景的交互。该数据集的动机是解决真实的人机交互数据集存在的问题,即嘈杂的 3D 人体姿势注释和有限的远程人体运动。通过控制角色,摄像机和物理系统,从 3D 视频游戏 GrandTheftAutoV 中收集了运动和交互的合成数据。数据集包含在 10 个不同的大型室内场景中表演的 50 个人类角色。数据集包括具有 1920$\times1080$分辨率的 RGBD 帧、相应的地面实况 3D 人体姿势关节、 人体骨骼分割和相机参数。按照[6]的设置,我们分割了8个训练场景和 2 个评估场景。我们还将 3D 路径转移到相机坐标系中,以进行训练和评估 PROX:与对象排斥的近似关系 (PROX) 是使用[13]的 Kinect-One 传感器捕获的新数据集。它包含 12 个不同的 3D 场景,
例如,骨架可能正在设置,但颈部和身体之间的距离很尴尬。这些异常骨架的例子可以在图 4 中看到。因此, 我们引人了一个损失函数,迫使预测的骨架更加一致。我们将这种损失称为骨骼一致性损失(SCL),它在预测的 3D 姿势中强制正确的骨骼长度和关节之间的角度。在先前的工作中引人了骨架一致性概念[4,8,29,3,33] ,其中他们专注于骨架重建问题,而不是 3D 姿态预测问题。对于骨骼长度,先前的方法和我们使用$L_{2}$规范强制正确的骨骼长度。对于关节之间的角度,有些使用旋转角度,但我们更喜欢使用余弦相似性,因为它的定义明确的范围。如前所述,我们的一致性损失由两部分组成。第一部分是每个骨架关节$J$与预测关节之间的余弦相似性。其定义如下:
$$\mathrm{SCL}_{\cos}=\frac{1}{\tilde{T}(J-1)}\sum^{t\in\tilde{T}}\sum_{i=1}^{J-1}\left\|\mathcal{C}\left(P_i^t,P_{i+1}^t\right)-\mathcal{C}\left(\tilde{P}_i^t,\tilde{P}_{i+1}^t\right)\right\|_1$$
其中$\mathcal{C}$是余弦相似度。SCL 的第二部分是什么强制合
理的骨骼长度。定义如下:
$$\mathrm{SCL}_{L_2}=\frac{1}{\frac{TJ(J-1)}{2}}\sum^{t\in\tilde{T}}\sum^{j\in J}_{i=j+1}\left\|\left\|P_i^t-P_j^t\right\|_2-\left\|\tilde{P}_i^t-\tilde{P}_j^t\right\|_2\right\|_1$$
因此,SCL 损失函数将定义为:
(1)
$$\mathcal{L}_{\mathrm{SCL}}=\lambda_1\mathrm{SCL}_{\cos}+\lambda_2\mathrm{SCL}_{L_2}$$
其中$\lambda_1$和$\lambda_2$是加权参数。我们发现设置$\lambda_1=0.0005$ 和$\lambda_2=0.1$效果最好。现在,我们可以定义我们训练的目标函数:
$$\mathcal{L}_{\text{Skeleton-Graph}}=\frac{1}{\tilde{T}J}\sum_{t=1}^{\tilde{T}}\sum_{j=1}^{J}\left\|\tilde{P}_{j}^{t}-P_{j}^{t}\right\|_{2}^{2}+\mathcal{L}_{\text{SCL}}$$
(2)
总共记录了60 个场景。每个视频为 30FPS, 具有摄像机参数,校准参数和人体片段。人体姿势的 3D 骨架点(25 个关节) 由 Kinect-One 传感器捕获,2D 关键点(25个关节)由 OpenPose 捕获。在我们的实验中,我们将PROX 数据集分为 52 个训练序列和 8 个序列,用于按照 [6]的设置进行测试。使用 OpenPose 生成基本事实使其不如 GTA-IM 数据集准确。这是因为地面真相将继承 OpenPose 的错误。此外,PROX 数据集主要是在实验室环境中捕获的,因此在视觉功能方面的差异较小。PROX 数据集的这些缺陷将影响我们的结果,我们将在消融研究部分看到。[6]的作者也提出了类似的讨论。此外,在 PROX 数据集上的结果显示了我们的方法在有噪声的估计 2D 姿态的情况下的鲁棒性
## 4.2. Evaluation metrics
评估 3D 路径和 3D 姿态预测的主要指标是平均每关节位置误差(MPJPE)$\operatorname{E}[18]$。对于框架$t\in\tilde{T}$和具有$J$关节的骨架,MPJPE 的计算公式为:
$$E_{MPJPE}(t)=\frac{1}{J}\sum_{j=1}^{J}\left\|\tilde{P}_j^t-P_j^t\right\|_2$$
(3)
先验公式用于计算 3D 姿态误差。在 3D 路径错误的情况下,选择特定的关节,例如骨架躯干的中心。我们还使用可以在行人轨迹预测文献中找到的两个常见指标[1,12,25]来评估我们的性能。首先,在公式$\color{red}{\mathrm{E}}\color{blue}{\mathrm{E}}\color{red}{\mathrm{A}}$中定义的平均平均位移误差(ADE),它判断整个预测轨迹的姿态和路径误差的整体性能。第二,平均最终位移误差 (FDE), 用于判断轨迹最终时间步长的性能。FDE 是预测中误差累积的指标,换句话说,低 FDE 意味着累积的误差更少。方程 5 中定义的 FDE。最后,我们定义了预测范围 STB$_\mathrm{\sigma}$方程 6 上稳定性的度量。它是路径和姿态预测的平均误差。如果预测在长期内偏离或累积误差,则此指标会增加,反之亦然。尽管该指标仅讨论预测范围内的差异,但与 ADE 和 FDE 指标不同,它并不表示预测的准确性。
$$\mathrm{ADE}=\frac{1}{2}\left(\left[\frac{1}{\bar{T}}\sum_{t=1}^{\bar{T}}E_{MPJPE}(t)\right]_{\mathrm{pose}}+\left[\frac{1}{\bar{T}}\sum_{t=1}^{\bar{T}}E_{MPJPE}(t)\right]_{\mathrm{path}}\right)\\\text{(4)}\\\mathrm{FDE}=\frac{1}{2}\left(\left[E_{MPJPE}(t=\tilde{T})\right]_{\mathrm{pose}}+\left[E_{MPJPE}(t=\tilde{T})\right]_{\mathrm{path}}\right)\\\text{(5)}$$
$$\mathbf{STB}_{\sigma}=\sqrt{\frac{1}{2}\left(\mathrm{Var}\left\{E_{MPJPE}(t)|t\in\bar{T}\right\}_{\mathrm{pose}}+\mathrm{Var}\left\{E_{MPJPE}(t)|t\in\bar{T}\right\}_{\mathrm{path}}\right)}$$
(6)
# 4.3. Training settings
对于我们所有的实验,我们使用 SGD 优化器。GTAIM 的初始学习率为0。01 和0。03 用于 PROX 数据集。训练时期的数量为 450, 我们将学习率降低了 0
4 | [
[
"0.0825",
"0.09344",
"0.468",
"0.09344",
"0.468",
"0.1067",
"0.0825",
"0.1067"
],
[
"0.5034",
"0.09216",
"0.8906",
"0.09216",
"0.8906",
"0.1067",
"0.5034",
"0.1067"
],
[
"0.08496",
"0.10986",
"0.468",
"0.10986",
"0.468",
"0.1206",
"0.08496",
"0.1206"
],
[
"0.5034",
"0.108",
"0.8896",
"0.108",
"0.8896",
"0.1218",
"0.5034",
"0.1218"
],
[
"0.0825",
"0.125",
"0.4673",
"0.125",
"0.4673",
"0.1351",
"0.0825",
"0.1351"
],
[
"0.5034",
"0.125",
"0.8896",
"0.125",
"0.8896",
"0.1351",
"0.5034",
"0.1351"
],
[
"0.0809",
"0.1395",
"0.468",
"0.1395",
"0.468",
"0.1528",
"0.0809",
"0.1528"
],
[
"0.505",
"0.1383",
"0.8906",
"0.1383",
"0.8906",
"0.1515",
"0.505",
"0.1515"
],
[
"0.0809",
"0.154",
"0.4673",
"0.154",
"0.4673",
"0.1674",
"0.0809",
"0.1674"
],
[
"0.505",
"0.1547",
"0.8896",
"0.1547",
"0.8896",
"0.1654",
"0.505",
"0.1654"
],
[
"0.0809",
"0.1686",
"0.4673",
"0.1686",
"0.4673",
"0.1818",
"0.0809",
"0.1818"
],
[
"0.5034",
"0.1674",
"0.8896",
"0.1674",
"0.8896",
"0.1812",
"0.5034",
"0.1812"
],
[
"0.08496",
"0.1843",
"0.4673",
"0.1843",
"0.4673",
"0.1976",
"0.08496",
"0.1976"
],
[
"0.505",
"0.1831",
"0.8906",
"0.1831",
"0.8906",
"0.1963",
"0.505",
"0.1963"
],
[
"0.0825",
"0.1989",
"0.468",
"0.1989",
"0.468",
"0.2122",
"0.0825",
"0.2122"
],
[
"0.5034",
"0.1989",
"0.8906",
"0.1989",
"0.8906",
"0.2122",
"0.5034",
"0.2122"
],
[
"0.0809",
"0.2134",
"0.4673",
"0.2134",
"0.4673",
"0.2267",
"0.0809",
"0.2267"
],
[
"0.5034",
"0.214",
"0.8906",
"0.214",
"0.8906",
"0.2279",
"0.5034",
"0.2279"
],
[
"0.0825",
"0.2291",
"0.468",
"0.2291",
"0.468",
"0.2424",
"0.0825",
"0.2424"
],
[
"0.505",
"0.2291",
"0.8896",
"0.2291",
"0.8896",
"0.2424",
"0.505",
"0.2424"
],
[
"0.08496",
"0.2456",
"0.4656",
"0.2456",
"0.4656",
"0.2556",
"0.08496",
"0.2556"
],
[
"0.505",
"0.2456",
"0.8896",
"0.2456",
"0.8896",
"0.2556",
"0.505",
"0.2556"
],
[
"0.0809",
"0.2588",
"0.468",
"0.2588",
"0.468",
"0.2727",
"0.0809",
"0.2727"
],
[
"0.505",
"0.2588",
"0.8906",
"0.2588",
"0.8906",
"0.2727",
"0.505",
"0.2727"
],
[
"0.0809",
"0.2747",
"0.2695",
"0.2747",
"0.2695",
"0.2886",
"0.0809",
"0.2886"
],
[
"0.5063",
"0.276",
"0.8096",
"0.276",
"0.8096",
"0.286",
"0.5063",
"0.286"
],
[
"0.0784",
"0.2998",
"0.4697",
"0.2966",
"0.4697",
"0.3208",
"0.0784",
"0.324"
],
[
"0.5034",
"0.2998",
"0.687",
"0.2998",
"0.687",
"0.3132",
"0.5034",
"0.3132"
],
[
"0.524",
"0.3213",
"0.8896",
"0.3213",
"0.8896",
"0.3352",
"0.524",
"0.3352"
],
[
"0.0825",
"0.3333",
"0.4673",
"0.3333",
"0.4673",
"0.3467",
"0.0825",
"0.3467"
],
[
"0.5034",
"0.336",
"0.8896",
"0.336",
"0.8896",
"0.3499",
"0.5034",
"0.3499"
],
[
"0.0809",
"0.3484",
"0.267",
"0.3484",
"0.267",
"0.3623",
"0.0809",
"0.3623"
],
[
"0.505",
"0.3516",
"0.773",
"0.3516",
"0.773",
"0.3655",
"0.505",
"0.3655"
],
[
"0.0809",
"0.377",
"0.4756",
"0.377",
"0.4756",
"0.3977",
"0.0809",
"0.3977"
],
[
"0.687",
"0.3806",
"0.732",
"0.387",
"0.7295",
"0.3997",
"0.6846",
"0.3933"
],
[
"0.584",
"0.3894",
"0.6763",
"0.3894",
"0.6763",
"0.404",
"0.584",
"0.404"
],
[
"0.726",
"0.385",
"0.786",
"0.3894",
"0.785",
"0.401",
"0.7256",
"0.3965"
],
[
"0.869",
"0.3901",
"0.8906",
"0.3901",
"0.8906",
"0.404",
"0.869",
"0.404"
],
[
"0.689",
"0.401",
"0.705",
"0.401",
"0.705",
"0.4077",
"0.689",
"0.4077"
],
[
"0.7974",
"0.3997",
"0.812",
"0.4016",
"0.8096",
"0.4077",
"0.794",
"0.406"
],
[
"0.505",
"0.43",
"0.8906",
"0.43",
"0.8906",
"0.443",
"0.505",
"0.443"
],
[
"0.0801",
"0.4028",
"0.2998",
"0.4048",
"0.2998",
"0.4192",
"0.0801",
"0.4172"
],
[
"0.1748",
"0.433",
"0.3733",
"0.433",
"0.3733",
"0.4463",
"0.1748",
"0.4463"
],
[
"0.4468",
"0.433",
"0.4697",
"0.433",
"0.4697",
"0.4458",
"0.4468",
"0.4458"
],
[
"0.505",
"0.4458",
"0.8896",
"0.4458",
"0.8896",
"0.459",
"0.505",
"0.459"
],
[
"0.08417",
"0.4602",
"0.468",
"0.4602",
"0.468",
"0.4702",
"0.08417",
"0.4702"
],
[
"0.505",
"0.4622",
"0.8896",
"0.4622",
"0.8896",
"0.473",
"0.505",
"0.473"
],
[
"0.0825",
"0.476",
"0.4673",
"0.476",
"0.4673",
"0.486",
"0.0825",
"0.486"
],
[
"0.505",
"0.476",
"0.8896",
"0.476",
"0.8896",
"0.4893",
"0.505",
"0.4893"
],
[
"0.0825",
"0.4905",
"0.1683",
"0.4905",
"0.1683",
"0.502",
"0.0825",
"0.502"
],
[
"0.505",
"0.4893",
"0.8906",
"0.4905",
"0.8906",
"0.504",
"0.505",
"0.5024"
],
[
"0.505",
"0.505",
"0.8906",
"0.505",
"0.8906",
"0.518",
"0.505",
"0.518"
],
[
"0.2443",
"0.5176",
"0.273",
"0.5176",
"0.273",
"0.526",
"0.2443",
"0.526"
],
[
"0.5034",
"0.521",
"0.8896",
"0.521",
"0.8896",
"0.534",
"0.5034",
"0.534"
],
[
"0.2214",
"0.5215",
"0.2418",
"0.5244",
"0.2385",
"0.535",
"0.2181",
"0.532"
],
[
"0.1013",
"0.523",
"0.2917",
"0.539",
"0.2876",
"0.561",
"0.0972",
"0.5444"
],
[
"0.2427",
"0.528",
"0.2917",
"0.528",
"0.2917",
"0.5435",
"0.2427",
"0.5435"
],
[
"0.392",
"0.531",
"0.4673",
"0.531",
"0.4673",
"0.5425",
"0.392",
"0.5425"
],
[
"0.5063",
"0.537",
"0.888",
"0.537",
"0.888",
"0.5474",
"0.5063",
"0.5474"
],
[
"0.5034",
"0.5503",
"0.8896",
"0.55",
"0.8896",
"0.5645",
"0.5034",
"0.565"
],
[
"0.505",
"0.5664",
"0.8896",
"0.5664",
"0.8896",
"0.58",
"0.505",
"0.58"
],
[
"0.5034",
"0.5806",
"0.8906",
"0.5806",
"0.8906",
"0.5947",
"0.5034",
"0.5947"
],
[
"0.0809",
"0.5884",
"0.2133",
"0.5884",
"0.2133",
"0.603",
"0.0809",
"0.603"
],
[
"0.5034",
"0.5947",
"0.8906",
"0.5967",
"0.8906",
"0.61",
"0.5034",
"0.608"
],
[
"0.1013",
"0.613",
"0.468",
"0.613",
"0.468",
"0.627",
"0.1013",
"0.627"
],
[
"0.505",
"0.6113",
"0.8896",
"0.6113",
"0.8896",
"0.625",
"0.505",
"0.625"
],
[
"0.0825",
"0.629",
"0.4673",
"0.629",
"0.4673",
"0.6426",
"0.0825",
"0.6426"
],
[
"0.5034",
"0.627",
"0.7256",
"0.627",
"0.7256",
"0.64",
"0.5034",
"0.64"
],
[
"0.0809",
"0.643",
"0.4673",
"0.643",
"0.4673",
"0.657",
"0.0809",
"0.657"
],
[
"0.0809",
"0.659",
"0.12335",
"0.659",
"0.12335",
"0.674",
"0.0809",
"0.674"
],
[
"0.5073",
"0.656",
"0.8784",
"0.656",
"0.8784",
"0.674",
"0.5073",
"0.674"
],
[
"0.0809",
"0.6816",
"0.2737",
"0.6816",
"0.2737",
"0.696",
"0.0809",
"0.696"
],
[
"0.871",
"0.678",
"0.8906",
"0.678",
"0.8906",
"0.69",
"0.871",
"0.69"
],
[
"0.0809",
"0.7056",
"0.4673",
"0.7056",
"0.4673",
"0.7197",
"0.0809",
"0.7197"
],
[
"0.5073",
"0.72",
"0.574",
"0.72",
"0.574",
"0.735",
"0.5073",
"0.735"
],
[
"0.58",
"0.7173",
"0.875",
"0.7183",
"0.875",
"0.7393",
"0.58",
"0.738"
],
[
"0.0825",
"0.7363",
"0.4673",
"0.7363",
"0.4673",
"0.75",
"0.0825",
"0.75"
],
[
"0.0825",
"0.7217",
"0.4673",
"0.7217",
"0.4673",
"0.735",
"0.0825",
"0.735"
],
[
"0.871",
"0.7437",
"0.8906",
"0.7437",
"0.8906",
"0.757",
"0.871",
"0.757"
],
[
"0.0825",
"0.752",
"0.4673",
"0.752",
"0.4673",
"0.765",
"0.0825",
"0.765"
],
[
"0.0825",
"0.7676",
"0.4673",
"0.7676",
"0.4673",
"0.781",
"0.0825",
"0.781"
],
[
"0.0825",
"0.782",
"0.4656",
"0.7827",
"0.4656",
"0.7944",
"0.0825",
"0.7935"
],
[
"0.5073",
"0.789",
"0.5474",
"0.7915",
"0.546",
"0.803",
"0.5063",
"0.8003"
],
[
"0.572",
"0.787",
"0.884",
"0.787",
"0.884",
"0.8047",
"0.572",
"0.8047"
],
[
"0.0825",
"0.797",
"0.4673",
"0.797",
"0.4673",
"0.81",
"0.0825",
"0.81"
],
[
"0.8784",
"0.7935",
"0.8857",
"0.7935",
"0.8857",
"0.8",
"0.8784",
"0.8"
],
[
"0.0825",
"0.811",
"0.4673",
"0.811",
"0.4673",
"0.8247",
"0.0825",
"0.8247"
],
[
"0.871",
"0.81",
"0.8906",
"0.81",
"0.8906",
"0.8237",
"0.871",
"0.8237"
],
[
"0.08417",
"0.827",
"0.4673",
"0.827",
"0.4673",
"0.8403",
"0.08417",
"0.8403"
],
[
"0.5024",
"0.832",
"0.671",
"0.834",
"0.671",
"0.8486",
"0.5024",
"0.8467"
],
[
"0.08417",
"0.8433",
"0.4673",
"0.8433",
"0.4673",
"0.854",
"0.08417",
"0.854"
],
[
"0.0801",
"0.857",
"0.4673",
"0.856",
"0.4673",
"0.869",
"0.0801",
"0.8706"
],
[
"0.523",
"0.857",
"0.8896",
"0.857",
"0.8896",
"0.8706",
"0.523",
"0.8706"
],
[
"0.0825",
"0.872",
"0.468",
"0.872",
"0.468",
"0.886",
"0.0825",
"0.886"
],
[
"0.5024",
"0.8706",
"0.8906",
"0.872",
"0.8906",
"0.886",
"0.5024",
"0.8853"
],
[
"0.0825",
"0.887",
"0.4697",
"0.887",
"0.4697",
"0.901",
"0.0825",
"0.901"
],
[
"0.5034",
"0.887",
"0.8906",
"0.887",
"0.8906",
"0.901",
"0.5034",
"0.901"
],
[
"0.4805",
"0.925",
"0.4927",
"0.925",
"0.4927",
"0.9375",
"0.4805",
"0.9375"
]
] | [
"例如,骨架可能正在设置,但颈部和身体之间的距离很",
"总共记录了60个场景。每个视频为30FPS,具有摄像",
"尴尬。这些异常骨架的例子可以在图4中看到。因此,",
"机参数,校准参数和人体片段。人体姿势的3D骨架点",
"我们引入了一个损失函数,迫使预测的骨架更加一致。",
"(25个关节)由Kinect-One传感器捕获,2D关键点(25",
"我们将这种损失称为骨骼一致性损失(SCL),它在预测",
"个关节)由OpenPose捕获。在我们的实验中,我们将",
"的3D姿势中强制正确的骨骼长度和关节之间的角度。",
"PROX数据集分为52个训练序列和8个序列,用于按",
"在先前的工作中引人了骨架一致性概念[4,8,29,3,33]",
"照[6]的设置进行测试。使用OpenPose生成基本事实",
",其中他们专注于骨架重建问题,而不是3D姿态预测",
"使其不如GTA-IM数据集准确。这是因为地面真相将",
"问题。对于骨骼长度,先前的方法和我们使用L2规范",
"继承OpenPose的错误。此外,PROX数据集主要是在",
"强制正确的骨骼长度。对于关节之间的角度,有些使用",
"实验室环境中捕获的,因此在视觉功能方面的差异较",
"旋转角度,但我们更喜欢使用余弦相似性,因为它的定",
"小。PROX数据集的这些缺陷将影响我们的结果,我们",
"义明确的范围。如前所述,我们的一致性损失由两部分",
"将在消融研究部分看到。「61的作者也提出了类似的讨",
"组成。第一部分是每个骨架关节J与预测关节之间的",
"论。此外,在PROX数据集上的结果显示了我们的方法",
"余弦相似性。其定义如下:",
"在有噪声的估计2D姿态的情况下的鲁棒性",
"SCLeos = T(-1 2teT I c(Pt, P+1) -c(Pt, P+1)l",
"4.2. Evaluation metrics",
"评估3D路径和3D姿态预测的主要指标是平均每关",
"其中C是余弦相似度。SCL的第二部分是什么强制合",
"节位置误差(MPJPE)E[18]。对于框架tET和具有",
"理的骨骼长度。定义如下:",
"J关节的骨架,MPJPE的计算公式为:",
"SCL=teT e'i+PPll-ll",
"11",
"EMPJPE(t):",
"lpt-H",
"(3)",
"",
"Ne",
"先验公式用于计算3D姿态误差。在3D路径错误的情",
"因此,SCL损失函数将定义为",
"LsCL =A1SCLcos+>2SCLL2",
"(1)",
"况下,选择特定的关节,例如骨架躯干的中心。我们",
"其中入1和入2是加权参数。我们发现设置入1=0.0005",
"还使用可以在行人轨迹预测文献中找到的两个常见指",
"和入2=0.1效果最好。现在,我们可以定义我们训练",
"标[1,12,25]来评估我们的性能。首先,在公式E4中",
"的目标函数:",
"定义的平均平均位移误差(ADE),它判断整个预测轨",
"迹的姿态和路径误差的整体性能。第二,平均最终位移",
"T",
"误差(FDE),用于判断轨迹最终时间步长的性能。FDE",
"1",
"Cskeleton-Graph =台台",
"",
"LSCL(2)",
"是预测中误差累积的指标:换句话说,低FDE意味着",
"累积的误差更少。方程5中定义的FDE。最后,我们",
"定义了预测范围STB。方程6上稳定性的度量。它是",
"路径和姿态预测的平均误差。如果预测在长期内偏离",
"4.Experiments",
"或累积误差,则此指标会增加,反之亦然。尽管该指标",
"在本节中,我们将描述训练中使用的数据集,训练",
"仅讨论预测范围内的差异,但与ADE和FDE指标不",
"设置和评估指标。然后我们与几个先前的模型进行比",
"同,它并不表示预测的准确性。",
"较,然后以定量和定性的方式对我们的模型进行消融",
"研究。",
"ADE=(-EMPJPE(t)+,EMPJPE(t)",
"4.1. Datasets description",
"(4)",
"GTA-IM:GTA室内运动数据集E[6]强调人与场景的",
"FDE=",
"[EMPJPE(t=T)]m +EMPJPE(t=T)]",
"存在的问题,即噜杂的3D人体姿势注释和有限的远程",
"交互。该数据集的动机是解决真实的人机交互数据集",
"(5)",
"人体运动。通过控制角色,摄像机和物理系统,从3D",
"视频游戏GrandTheftAutoV中收集了运动和交互的合",
"成数据。数据集包含在10个不同的大型室内场景中表",
"STB。",
"(Var [EMPJPE(t)It eT) + Var [EMPJPE(t)It eT),",
"演的50个人类角色。数据集包括具有1920×1080分",
"",
"辨率的RGBD顿、相应的地面实况3D人体姿势关节",
"(6)",
"人体骨骼分割和相机参数。按照[6]的设置,我们分",
"4.3. Training settings",
"割了8个训练场景和2个评估场景。我们还将3D路径",
"转移到相机坐标系中,以进行训练和评估PROX:与对",
"对于我们所有的实验,我们使用SGD优化器。GTA",
"象排斥的近似关系(PROX)是使用[13]的Kinect-One",
"IM的初始学习率为0。01和0。03用于PROX数据",
"传感器捕获的新数据集。它包含12个不同的3D场景,",
"集。训练时期的数量为450,我们将学习率降低了0",
"4"
] | {
"arxiv_id": "2109.10257",
"language": "zh",
"page_idx": 3
} |
||
2109.10257-zh-4 | 2109.10257-zh-4.jpg | <FigureHere>
Figure 4: Different cases of deformation of the predicted 3D skeletons. Arrow indicates the time direction. The first two
poses (a) and (b) show awkward joint angles between each joint. The case (c) one the right shows failure in both predicted
angle and bone length.
倍。每 200 个时代 2 个。我们使用 128 的批量大小和1 秒的观察和 2 秒的预测遵循 [6]的设置。我们使用GTX-1080Ti 在 128GBRAM 机器上进行训练。当使用视觉信号训练模型时,需要一个大的 RAM。根据使用的数据集,训练每个模型需要 8 小时到 24 小时
## 4.4. Comparison with Prior Methods on GTA-IM $\&\bar{\textbf{ PROX Datasets}}$
在本节中,我们对我们的方法进行定量评估。GTAIM 数据集上的 3D 路径和姿态预测的评估结果如表$\mathbb{E}$ 1 所示,而 PROX 数据集的结果如表$\color{red}{\mathrm{E}}\color{blue}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}$ 所示。总体而言,Skeleton-Graph 在几个指标上的性能优于之前的方法。对于 FDE, 我们在 GTA-IM 数据集上比 GPP-Net$\boxed{\mathrm{F}}$ [6]准确 105 毫米,在 PROX 数据集上比 GPP-Net 准确110毫米。这表明,与以前的方法不同,我们没有在长期预测中累积误差。ADE 比以前最先进的 GPP-Net 略好 10mm。这意味着,平均而言,我们有一个更准确的3D 路径和姿态预测。对于长期的差异,STB$_\alpha$与以前的作品相比急剧下降。我们在 GTA-IM 数据集上有 88个% 更好,在 PROX 数据集上有 93 个% 更好。这可以在表中看到,我们的 0。在 MPJPE 方面,5 秒接近 2 秒的预测,这意味着与以前的工作不同,从长远来看不会发生差异。我们还注意到,我们的模型在 0。GTA-IM 中的 5 秒范围的性能不比以前的方法更好。在 PROX 数据集结果中可以看到相同的通知。我们强调这是在短期预测的准确性与长期预测的稳定性之间的权衡,这是由于不使用递归方法。正如引言中所讨论的,经常性方法在短期内往往是准确的。例如,我们注意到,与我们的模型不同,以前的方法在短期内往往是准确的,但在长期内却大相径庭。总的来说,尽管我们的模型在短期内表现得像这样,但在 FDE 和 ADE 指标上,总体平均性能仍然比以前的方法好至少 27 个% 和 4 个%
## $5. \textbf{ Ablation Study}$
在本节中,我们从定量和定性的角度广泛分析了Skeleton-Graph 模型的不同行为。我们首先对模型的不同配置进行定量分析,例如邻接学习和骨架一致性损失。我们对这些组件及其对结果的影响进行了可视化分析
5.1. Quantitative analysis of model components
在本节中,我们将研究 Skeleton-Graph 模型的不同组件。组件是:学习邻接CNN+$\tilde{\mathcal{A}},图像嵌入+I_T^{2\mathrm{D}},视频$ 嵌入$+I_1..T^\mathrm{2D}$和我们的骨架一致性损失 SCL$_\mathrm{cos}$, SCL$_L_2$ 的两个不同组件。表 3 显示了在 GTA-IM 和 PROX 数据集上对这些配置的评估。
平原 Skeleton-Graph 模型:我们直接训练原始骨架图模型,而无需自学习邻接矩阵,一致性约束和视觉信号。仅此原始模型在 FDE 和 ADE 指标上的 GTA-IM 和PROX 数据集上的性能均优于先前的工作。这验证了我们在模型中使用的图形方法和完整的 CNN 方法可以显着降低姿势预测任务中的预测性 MPJPE。我们还注意到,使用 STB$_\mathrm{\sigma}$的 GTA-IM 和 PROX 数据集的结果是无差异的,优于以前的方法
具有学习邻接$+\tilde{\mathcal{A}}$ 的 Skeleton-Graph $:\mathbb{E}[25]$ 的工作表明,控制邻接矩阵值的核函数会显着影响轨迹预测的结果。总的来说,邻接矩阵在 GCNN 中很重要,因为它控制着图节点之间的交互。我们决定让模型发现邻接矩阵的适当权重,而不是搜索手工制作的内核函数。从表 3 中我们可以看到,与普通模型相比,使用学习的邻接矩阵 STB$_\mathrm{\sigma}$提高了性能。这表明该模型发现了图节点之间更好的交互。图 6 说明了学习的邻接 STB$_\mathrm{\sigma}$ 的热图。我们注意到两腿关节之间的连接增加了,两手关节之间也发生了同样的情况。这强调了人类的运动具有很强的模式,这与手和腿之间的协调有关。我们还注意到,脊柱连接几乎与原始骨架关节相同。这表明脊
5 | [
[
"0.634",
"0.09216",
"0.71",
"0.09216",
"0.71",
"0.1029",
"0.634",
"0.1029"
],
[
"0.6323",
"0.11237",
"0.6953",
"0.11237",
"0.6953",
"0.1237",
"0.6323",
"0.1237"
],
[
"0.5293",
"0.1635",
"0.597",
"0.1635",
"0.597",
"0.1704",
"0.5293",
"0.1704"
],
[
"0.7656",
"0.2437",
"0.826",
"0.2456",
"0.824",
"0.2615",
"0.7646",
"0.2588"
],
[
"0.4739",
"0.2683",
"0.5596",
"0.2708",
"0.5596",
"0.2854",
"0.4739",
"0.2827"
],
[
"0.0809",
"0.303",
"0.8906",
"0.303",
"0.8906",
"0.3164",
"0.0809",
"0.3164"
],
[
"0.0784",
"0.3176",
"0.8906",
"0.3164",
"0.8906",
"0.3308",
"0.0784",
"0.332"
],
[
"0.0809",
"0.3333",
"0.2296",
"0.3333",
"0.2296",
"0.3467",
"0.0809",
"0.3467"
],
[
"0.0809",
"0.375",
"0.4673",
"0.375",
"0.4673",
"0.3882",
"0.0809",
"0.3882"
],
[
"0.501",
"0.375",
"0.6543",
"0.375",
"0.6543",
"0.3882",
"0.501",
"0.3882"
],
[
"0.0801",
"0.3901",
"0.4673",
"0.3901",
"0.4673",
"0.404",
"0.0801",
"0.404"
],
[
"0.0809",
"0.4048",
"0.4656",
"0.4048",
"0.4656",
"0.4185",
"0.0809",
"0.4185"
],
[
"0.523",
"0.3997",
"0.8896",
"0.3997",
"0.8896",
"0.4136",
"0.523",
"0.4136"
],
[
"0.5034",
"0.414",
"0.8896",
"0.414",
"0.8896",
"0.428",
"0.5034",
"0.428"
],
[
"0.0825",
"0.4204",
"0.468",
"0.4204",
"0.468",
"0.4343",
"0.0825",
"0.4343"
],
[
"0.0809",
"0.435",
"0.4143",
"0.435",
"0.4143",
"0.449",
"0.0809",
"0.449"
],
[
"0.505",
"0.43",
"0.8906",
"0.43",
"0.8906",
"0.443",
"0.505",
"0.443"
],
[
"0.505",
"0.4443",
"0.8906",
"0.4443",
"0.8906",
"0.4583",
"0.505",
"0.4583"
],
[
"0.505",
"0.4602",
"0.5376",
"0.4602",
"0.5376",
"0.473",
"0.505",
"0.473"
],
[
"0.0801",
"0.4893",
"0.468",
"0.4905",
"0.468",
"0.505",
"0.0801",
"0.504"
],
[
"0.5024",
"0.486",
"0.869",
"0.486",
"0.869",
"0.5",
"0.5024",
"0.5"
],
[
"0.11926",
"0.505",
"0.2607",
"0.506",
"0.2607",
"0.521",
"0.11926",
"0.5195"
],
[
"0.524",
"0.509",
"0.8896",
"0.509",
"0.8896",
"0.523",
"0.524",
"0.523"
],
[
"0.505",
"0.5234",
"0.8906",
"0.5234",
"0.8906",
"0.537",
"0.505",
"0.537"
],
[
"0.0989",
"0.539",
"0.468",
"0.539",
"0.468",
"0.553",
"0.0989",
"0.553"
],
[
"0.5034",
"0.539",
"0.8857",
"0.539",
"0.8857",
"0.553",
"0.5034",
"0.553"
],
[
"0.0809",
"0.553",
"0.468",
"0.553",
"0.468",
"0.5674",
"0.0809",
"0.5674"
],
[
"0.5034",
"0.5537",
"0.8906",
"0.5537",
"0.8906",
"0.5674",
"0.5034",
"0.5674"
],
[
"0.0809",
"0.5693",
"0.468",
"0.5693",
"0.468",
"0.5835",
"0.0809",
"0.5835"
],
[
"0.5034",
"0.5684",
"0.6914",
"0.5684",
"0.6914",
"0.582",
"0.5034",
"0.582"
],
[
"0.0825",
"0.5854",
"0.4673",
"0.5854",
"0.4673",
"0.5986",
"0.0825",
"0.5986"
],
[
"0.0809",
"0.5996",
"0.468",
"0.5996",
"0.468",
"0.6143",
"0.0809",
"0.6143"
],
[
"0.524",
"0.5996",
"0.8906",
"0.5996",
"0.8906",
"0.613",
"0.524",
"0.613"
],
[
"0.0809",
"0.6157",
"0.468",
"0.6157",
"0.468",
"0.629",
"0.0809",
"0.629"
],
[
"0.5034",
"0.6143",
"0.8896",
"0.6143",
"0.8896",
"0.6274",
"0.5034",
"0.6274"
],
[
"0.0801",
"0.629",
"0.4673",
"0.63",
"0.4673",
"0.6445",
"0.0801",
"0.643"
],
[
"0.505",
"0.63",
"0.8906",
"0.63",
"0.8906",
"0.643",
"0.505",
"0.643"
],
[
"0.0801",
"0.643",
"0.468",
"0.6445",
"0.468",
"0.659",
"0.0801",
"0.6577"
],
[
"0.5034",
"0.6445",
"0.8906",
"0.6445",
"0.8906",
"0.6577",
"0.5034",
"0.6577"
],
[
"0.0825",
"0.66",
"0.468",
"0.66",
"0.468",
"0.674",
"0.0825",
"0.674"
],
[
"0.505",
"0.66",
"0.8906",
"0.66",
"0.8906",
"0.674",
"0.505",
"0.674"
],
[
"0.0809",
"0.6753",
"0.4673",
"0.6753",
"0.4673",
"0.6895",
"0.0809",
"0.6895"
],
[
"0.505",
"0.675",
"0.8906",
"0.675",
"0.8906",
"0.6895",
"0.505",
"0.6895"
],
[
"0.0809",
"0.69",
"0.468",
"0.69",
"0.468",
"0.704",
"0.0809",
"0.704"
],
[
"0.5034",
"0.69",
"0.892",
"0.69",
"0.892",
"0.704",
"0.5034",
"0.704"
],
[
"0.0825",
"0.705",
"0.4673",
"0.705",
"0.4673",
"0.7183",
"0.0825",
"0.7183"
],
[
"0.5024",
"0.705",
"0.6846",
"0.705",
"0.6846",
"0.7183",
"0.5024",
"0.7183"
],
[
"0.0809",
"0.72",
"0.468",
"0.72",
"0.468",
"0.7344",
"0.0809",
"0.7344"
],
[
"0.524",
"0.7197",
"0.8906",
"0.7197",
"0.8906",
"0.7344",
"0.524",
"0.7344"
],
[
"0.0809",
"0.7363",
"0.4673",
"0.7363",
"0.4673",
"0.75",
"0.0809",
"0.75"
],
[
"0.5034",
"0.735",
"0.888",
"0.7363",
"0.888",
"0.75",
"0.5034",
"0.7485"
],
[
"0.0825",
"0.7505",
"0.468",
"0.7505",
"0.468",
"0.7646",
"0.0825",
"0.7646"
],
[
"0.5024",
"0.75",
"0.8896",
"0.7505",
"0.8896",
"0.765",
"0.5024",
"0.7646"
],
[
"0.0809",
"0.7666",
"0.468",
"0.7666",
"0.468",
"0.78",
"0.0809",
"0.78"
],
[
"0.5063",
"0.768",
"0.888",
"0.768",
"0.888",
"0.779",
"0.5063",
"0.779"
],
[
"0.0825",
"0.7827",
"0.4673",
"0.7827",
"0.4673",
"0.7935",
"0.0825",
"0.7935"
],
[
"0.505",
"0.781",
"0.8896",
"0.781",
"0.8896",
"0.7944",
"0.505",
"0.7944"
],
[
"0.0825",
"0.797",
"0.468",
"0.797",
"0.468",
"0.81",
"0.0825",
"0.81"
],
[
"0.505",
"0.797",
"0.8906",
"0.797",
"0.8906",
"0.81",
"0.505",
"0.81"
],
[
"0.0825",
"0.811",
"0.4673",
"0.811",
"0.4673",
"0.8247",
"0.0825",
"0.8247"
],
[
"0.505",
"0.811",
"0.888",
"0.811",
"0.888",
"0.8247",
"0.505",
"0.8247"
],
[
"0.0825",
"0.827",
"0.468",
"0.827",
"0.468",
"0.8403",
"0.0825",
"0.8403"
],
[
"0.505",
"0.827",
"0.886",
"0.827",
"0.886",
"0.8403",
"0.505",
"0.8403"
],
[
"0.0825",
"0.8413",
"0.4673",
"0.8413",
"0.4673",
"0.855",
"0.0825",
"0.855"
],
[
"0.5034",
"0.8413",
"0.888",
"0.8413",
"0.888",
"0.855",
"0.5034",
"0.855"
],
[
"0.08417",
"0.858",
"0.4673",
"0.858",
"0.4673",
"0.8687",
"0.08417",
"0.8687"
],
[
"0.5034",
"0.857",
"0.8896",
"0.857",
"0.8896",
"0.8706",
"0.5034",
"0.8706"
],
[
"0.0809",
"0.8706",
"0.468",
"0.872",
"0.468",
"0.886",
"0.0809",
"0.8853"
],
[
"0.505",
"0.872",
"0.8906",
"0.872",
"0.8906",
"0.8853",
"0.505",
"0.8853"
],
[
"0.0809",
"0.887",
"0.4307",
"0.887",
"0.4307",
"0.901",
"0.0809",
"0.901"
],
[
"0.5034",
"0.887",
"0.8906",
"0.887",
"0.8906",
"0.901",
"0.5034",
"0.901"
],
[
"0.478",
"0.924",
"0.4944",
"0.924",
"0.4944",
"0.9395",
"0.478",
"0.9395"
]
] | [
"groundtruth",
"prediction",
"alwalkino",
"(c) lying",
"/ (b) sitting",
"Figure 4: Different cases of deformation of the predicted 3D skeletons. Arrow indicates the time direction. The first two",
"poses (a) and (b) show awkward joint angles between each joint. The case (c) one the right shows failure in both predicted",
"angle and bone length.",
"倍。每200个时代2个。我们使用128的批量大小和",
"5.Ablation Study",
"1秒的观察和2秒的预测遵循[6]的设置。我们使用",
"GTX-1080Ti在128GBRAM机器上进行训练。当使用",
"在本节中,我们从定量和定性的角度广泛分析了",
"Skeleton-Graph模型的不同行为。我们首先对模型的不",
"视觉信号训练模型时,需要一个大的RAM。根据使用",
"的数据集,训练每个模型需要8小时到24小时",
"同配置进行定量分析,例如邻接学习和骨架一致性损",
"失。我们对这些组件及其对结果的影响进行了可视化",
"分析",
"4.4. Comparison with Prior Methods on GTA-IM",
"5.1. Quantitative analysis of model components",
"&PROXDatasets",
"在本节中,我们将研究Skeleton-Graph模型的不同组",
"件。组件是:学习邻接CNN+A,图像嵌人+I2D,视频",
"在本节中,我们对我们的方法进行定量评估。GTA",
"嵌人+I2PT和我们的骨架一致性损失SCLcos,SCLL",
"IM数据集上的3D路径和姿态预测的评估结果如表E",
"的两个不同组件。表3显示了在GTA-IM和PROX数",
"1所示,而PROX数据集的结果如表E2所示。总体而",
"据集上对这些配置的评估。",
"言,Skeleton-Graph在几个指标上的性能优于之前的方",
"法。对于FDE,我们在GTA-IM数据集上比GPP-NetE",
"平原Skeleton-Graph模型:我们直接训练原始骨架",
"[6]准确105毫米,在PROX数据集上比GPP-Net准确",
"图模型,而无需自学习邻接矩阵,一致性约束和视觉信",
"110毫米。这表明,与以前的方法不同,我们没有在长",
"号。仅此原始模型在FDE和ADE指标上的GTA-IM和",
"期预测中累积误差。ADE比以前最先进的GPP-Net略",
"PROX数据集上的性能均优于先前的工作。这验证了我",
"好10mm。这意味着,平均而言,我们有一个更准确的",
"们在模型中使用的图形方法和完整的CNN方法可以显",
"3D路径和姿态预测。对于长期的差异,STB与以前",
"着降低姿势预测任务中的预测性MPJPE。我们还注意",
"的作品相比急剧下降。我们在GTA-IM数据集上有88",
"到,使用STB。的GTA-IM和PROX数据集的结果是无",
"个%更好,在PROX数据集上有93个%更好。这可以",
"差异的,优于以前的方法",
"在表中看到,我们的0。在MPJPE方面,5秒接近2秒",
"具有学习邻接+A的Skeleton-Graph:E[25]的工作",
"的预测,这意味着与以前的工作不同,从长远来看不会",
"表明,控制邻接矩阵值的核函数会显着影响轨迹预测",
"发生差异。我们还注意到,我们的模型在0。GTA-IM中",
"的结果。总的来说,邻接矩阵在GCNN中很重要,因",
"的5秒范围的性能不比以前的方法更好。在PROX数",
"为它控制着图节点之间的交互。我们决定让模型发现",
"据集结果中可以看到相同的通知。我们强调这是在短",
"邻接矩阵的适当权重,而不是搜索手工制作的内核函",
"期预测的准确性与长期预测的稳定性之间的权衡,这",
"数。从表3中我们可以看到,与普通模型相比,使用学",
"是由于不使用递归方法。正如引言中所讨论的,经常性",
"习的邻接矩阵STB。提高了性能。这表明该模型发现了",
"方法在短期内往往是准确的。例如,我们注意到,与我",
"图节点之间更好的交互。图6说明了学习的邻接STB。",
"们的模型不同,以前的方法在短期内往往是准确的,但",
"的热图。我们注意到两腿关节之间的连接增加了,两手",
"在长期内却大相径庭。总的来说,尽管我们的模型在短",
"关节之间也发生了同样的情况。这强调了人类的运动",
"期内表现得像这样,但在FDE和ADE指标上,总体平",
"具有很强的模式,这与手和腿之间的协调有关。我们还",
"均性能仍然比以前的方法好至少27个%和4个%",
"注意到,脊柱连接几乎与原始骨架关节相同。这表明脊",
"5"
] | {
"arxiv_id": "2109.10257",
"language": "zh",
"page_idx": 4
} |
||
2103.16155-zh-1 | 2103.16155-zh-1.jpg | 通过
学习动作和上下文的显式子空间进行弱监督的时间动作本地化
Ziyi Liu$^1$, Le Wang$^1*$, Wei Tang$^2$,Junsong Yuan$^3$,Nanning Zheng$^1$,Gang Hua$^4\:^1$Institute of
Artificial Intelligence and Robotics, Xi`an Jiaotong University
$^{2}$University of Illinois at Chicago $^3\text{The State University'of New York at Buffalo}^{4}$Wormpex AI Research
$\operatorname*{[email protected],~\{~lewang,~nnzheng~\}[email protected],}$
tangw@ uic. edu, jsyuan@ buffalo. edu, ganghua@ gmail. com
$\operatorname{Abstract}$
Weakly-supervised Temporal Action Localization (WSTAL) methods learn to localize temporal starts and ends of action instances in a video under only videolevel supervision. Existing WS-TAL methods rely on deep features learned for action recognition. However, due to the mismatch between classification and localization, these features cannot distinguish the frequently co-occurring contextual background, i.e., the context, and the actual action instances. We term this challenge action-context confusion, and it will adversely affect the action localization accuracy. To address this challenge, we introduce a framework that learns two feature subspaces respectively for actions and their context. By explicitly accounting for action visual elements, the action instances can be localized more precisely without the distraction from the context. To facilitate the learning of these two feature subspaces with only video-level categorical labels, we leverage the predictions from both spatial and temporal streams for snippets grouping. In addition, an unsupervised learning task is introduced to make the proposed module focus on mining temporal information. The proposed approach outperforms state-of-the-art WS-TAL methods on three benchmarks, i.e., THUMOS14, ActivityNet v1.2 and v1.3 datasets.
来。。例如,动作棒球场通常在时间和空间上与上下文棒球场同时发生。我们将这一挑战称为行动-背景混淆
大多数现有方法训练视频级分类器,并逐个片段地应用它来实现时间动作定位,如图$\overline{\mathrm{E}}$1 所示。不幸的是此管道只能从本地化结果中排除不相关的背景,而不能排除相关的上下文。前者是与类无关的,而后者是特定于操作的:操作的上下文很少与其他操作同时发生。因此,不相关的背景对于分类是无用的,但上下文可以提供重要的分类线索。例如,识别棒球场将防止视频被错误分类为潜水。因此,在视频级分类标签上训练的特征将寻找上下文线索,整个学习的特征空间将共同表示动作和上下文。因此,只有上下文的代码段经常被误认为是操作实例的一部分
本文的目标是解决 WS-TAL 中操作上下文混淆的挑战。我们的想法是学习一个特征空间,该特征空间可以显式地分为两个(特征)子空间 i.e., 动作子空间和上下文子空间,如图$\boxed{\mathrm{E}}1$ 所示。在与上下文视觉元素分离的特征子空间中表示动作视觉元素之后,可以仅考虑在动作子空间中表示的动作元素来本地化目标动作实例。因此,尽管上下文在时间和空间上与动作同时发生,但仍可以减轻上下文的干扰
然而,在监督不足的情况下学习显式动作和上下文子空间是不平凡的。关键挑战是如何收集具有动作/仅上下文/仅无关背景的片段 (i.e., 图$\underline{\mathrm{E}}1$ 中的红点/黑点/圆圈)。我们利用两流视频表示,i.e., 空间 (RGB) 和时间(光流)流进行片段分组。具体来说,我们将从两个流中接收一致的正面/负面预测的代码段视为具有动作/仅无关背景的代码段;从两个流中接收不一致预测的代码段被视为仅具有上下文的代码段。直观上,包含典型静态场景(如棒球场)的片段提供了有用的外观特征,但缺乏有意义的运动。因此,它们被空间流认为是正的,而被时间流认为是负的。类似地,包含典型的非动作动作(例如潜水或相机移动后的飞溅)的片段被时间流视为正面,但被空间流视为负面。此外,为了进一步弥补缺乏监督的问题,我们引人了一项额外的无监督培训任务。与新的时间残差模块一起,它使我们的方法专注于挖掘有用的时间信息
总之,我们的贡献如下。(1)我们建议通过学习两个特征子空间 i.e., 动作子空间和上下文子空间来解决WS-TAL 的动作-上下文混淆的挑战。它有助于从本地化结果中排除上下文背景。(2)我们引入了时间残差模块和无监督训练任务,以使我们的方法专注于挖掘有用的时间信息。(3) 我们的方法在三个基准上实现了最先进的性能
## 1 Introduction
时间动作本地化( TAL) 意味着在未修剪的视频中本地化动作实例的时间开始和结束。它是视频理解中的一项基本任务,具有智能监控,视频检索和视频摘要等众多应用$\underline{\mathrm{E}}($Dan, Verbeek, and Schmid 2013; Asadiaghbolaghi et al. 2017; Kang and Wildes 2016)。由于未修剪的视频可能包含不相关的内容和多个动作实例,因此训练完全监督的 TAL 方法$\underline{\mathrm{E}}($Chao et al. 2018; Lin et al. 2018,2019; Liu et al. 2019a; Xu et al. 2020a) 需要动作实例的时间边界注释。然而,获得这样的注释是耗时的, 这推动了弱监督时间动作定位(WS-TAL)方法的研究。
WS-TAL 学习在训练期间仅提供视频级分类标签的情况下本地化动作实例。然而,这种视频级分类监督和时间定位任务之间的不匹配使得很难将实际的动作实例与它们频繁出现的上下文背景(称为上下文)区分开
$^{*}$Corresponding author.
Copyright$\hat{\otimes}2021$, Association for the Advancement of Ar-
tificial Intelligence (www.aaai.org). All rights reserved. | [
[
"0.482",
"0.125",
"0.528",
"0.125",
"0.528",
"0.1401",
"0.482",
"0.1401"
],
[
"0.1896",
"0.1427",
"0.822",
"0.1433",
"0.822",
"0.161",
"0.1896",
"0.1604"
],
[
"0.12335",
"0.1818",
"0.8945",
"0.1818",
"0.8945",
"0.1957",
"0.12335",
"0.1957"
],
[
"0.2852",
"0.1995",
"0.7256",
"0.1995",
"0.7256",
"0.214",
"0.2852",
"0.214"
],
[
"0.1283",
"0.2134",
"0.8813",
"0.2134",
"0.8813",
"0.2279",
"0.1283",
"0.2279"
],
[
"0.2769",
"0.2279",
"0.732",
"0.2279",
"0.732",
"0.2412",
"0.2769",
"0.2412"
],
[
"0.2998",
"0.2424",
"0.7114",
"0.2424",
"0.7114",
"0.2556",
"0.2998",
"0.2556"
],
[
"0.25",
"0.2727",
"0.3145",
"0.2747",
"0.3145",
"0.289",
"0.25",
"0.2874"
],
[
"0.523",
"0.2747",
"0.911",
"0.2747",
"0.911",
"0.2886",
"0.523",
"0.2886"
],
[
"0.5215",
"0.2886",
"0.902",
"0.2886",
"0.902",
"0.3018",
"0.5215",
"0.3018"
],
[
"0.10455",
"0.2966",
"0.46",
"0.2966",
"0.46",
"0.31",
"0.10455",
"0.31"
],
[
"0.1054",
"0.3093",
"0.4592",
"0.3093",
"0.4592",
"0.3193",
"0.1054",
"0.3193"
],
[
"0.5376",
"0.3037",
"0.911",
"0.3037",
"0.911",
"0.3176",
"0.5376",
"0.3176"
],
[
"0.1054",
"0.3225",
"0.4592",
"0.3225",
"0.4592",
"0.3333",
"0.1054",
"0.3333"
],
[
"0.523",
"0.3176",
"0.91",
"0.3176",
"0.91",
"0.3308",
"0.523",
"0.3308"
],
[
"0.10297",
"0.334",
"0.4617",
"0.334",
"0.4617",
"0.348",
"0.10297",
"0.348"
],
[
"0.5215",
"0.33",
"0.911",
"0.3308",
"0.911",
"0.3452",
"0.5215",
"0.3447"
],
[
"0.1013",
"0.3452",
"0.4592",
"0.3452",
"0.4592",
"0.3591",
"0.1013",
"0.3591"
],
[
"0.5215",
"0.3452",
"0.911",
"0.3452",
"0.911",
"0.3591",
"0.5215",
"0.3591"
],
[
"0.10297",
"0.3591",
"0.4617",
"0.3591",
"0.4617",
"0.3726",
"0.10297",
"0.3726"
],
[
"0.523",
"0.3591",
"0.911",
"0.3591",
"0.911",
"0.3726",
"0.523",
"0.3726"
],
[
"0.10297",
"0.3718",
"0.4617",
"0.3718",
"0.4617",
"0.385",
"0.10297",
"0.385"
],
[
"0.5215",
"0.3726",
"0.911",
"0.3726",
"0.911",
"0.3865",
"0.5215",
"0.3865"
],
[
"0.10455",
"0.3838",
"0.46",
"0.3838",
"0.46",
"0.3977",
"0.10455",
"0.3977"
],
[
"0.523",
"0.387",
"0.911",
"0.387",
"0.911",
"0.401",
"0.523",
"0.401"
],
[
"0.10297",
"0.3965",
"0.46",
"0.3965",
"0.46",
"0.4104",
"0.10297",
"0.4104"
],
[
"0.523",
"0.401",
"0.911",
"0.401",
"0.911",
"0.414",
"0.523",
"0.414"
],
[
"0.10297",
"0.4092",
"0.4617",
"0.4092",
"0.4617",
"0.4224",
"0.10297",
"0.4224"
],
[
"0.5215",
"0.414",
"0.911",
"0.414",
"0.911",
"0.428",
"0.5215",
"0.428"
],
[
"0.10297",
"0.4216",
"0.46",
"0.4216",
"0.46",
"0.435",
"0.10297",
"0.435"
],
[
"0.523",
"0.428",
"0.911",
"0.428",
"0.911",
"0.4414",
"0.523",
"0.4414"
],
[
"0.1013",
"0.4343",
"0.4617",
"0.433",
"0.4617",
"0.4475",
"0.1013",
"0.449"
],
[
"0.1013",
"0.4475",
"0.4592",
"0.4475",
"0.4592",
"0.461",
"0.1013",
"0.461"
],
[
"0.524",
"0.443",
"0.6685",
"0.443",
"0.6685",
"0.4539",
"0.524",
"0.4539"
],
[
"0.1013",
"0.4602",
"0.4592",
"0.4602",
"0.4592",
"0.4734",
"0.1013",
"0.4734"
],
[
"0.536",
"0.4558",
"0.911",
"0.457",
"0.911",
"0.4717",
"0.536",
"0.4702"
],
[
"0.10455",
"0.4734",
"0.46",
"0.4734",
"0.46",
"0.4841",
"0.10455",
"0.4841"
],
[
"0.5215",
"0.4717",
"0.911",
"0.4717",
"0.911",
"0.4849",
"0.5215",
"0.4849"
],
[
"0.10297",
"0.4841",
"0.4617",
"0.4841",
"0.4617",
"0.4976",
"0.10297",
"0.4976"
],
[
"0.5215",
"0.483",
"0.9126",
"0.4841",
"0.9126",
"0.4988",
"0.5215",
"0.4976"
],
[
"0.10297",
"0.4976",
"0.4617",
"0.4976",
"0.4617",
"0.511",
"0.10297",
"0.511"
],
[
"0.524",
"0.4988",
"0.9126",
"0.4988",
"0.9126",
"0.512",
"0.524",
"0.512"
],
[
"0.10297",
"0.5103",
"0.46",
"0.5103",
"0.46",
"0.5234",
"0.10297",
"0.5234"
],
[
"0.5195",
"0.511",
"0.9126",
"0.512",
"0.9126",
"0.5264",
"0.5195",
"0.526"
],
[
"0.1013",
"0.523",
"0.4575",
"0.523",
"0.4575",
"0.536",
"0.1013",
"0.536"
],
[
"0.523",
"0.5264",
"0.911",
"0.5264",
"0.911",
"0.5405",
"0.523",
"0.5405"
],
[
"0.10455",
"0.535",
"0.4617",
"0.535",
"0.4617",
"0.549",
"0.10455",
"0.549"
],
[
"0.523",
"0.5405",
"0.9126",
"0.5405",
"0.9126",
"0.5537",
"0.523",
"0.5537"
],
[
"0.1013",
"0.5474",
"0.46",
"0.547",
"0.46",
"0.561",
"0.1013",
"0.5625"
],
[
"0.10297",
"0.5596",
"0.4592",
"0.56",
"0.4592",
"0.5747",
"0.10297",
"0.5737"
],
[
"0.524",
"0.556",
"0.701",
"0.556",
"0.701",
"0.5664",
"0.524",
"0.5664"
],
[
"0.10297",
"0.5728",
"0.4617",
"0.5728",
"0.4617",
"0.586",
"0.10297",
"0.586"
],
[
"0.539",
"0.571",
"0.911",
"0.571",
"0.911",
"0.5806",
"0.539",
"0.5806"
],
[
"0.10455",
"0.587",
"0.46",
"0.587",
"0.46",
"0.5977",
"0.10455",
"0.5977"
],
[
"0.523",
"0.5835",
"0.911",
"0.5835",
"0.911",
"0.5967",
"0.523",
"0.5967"
],
[
"0.10297",
"0.5986",
"0.255",
"0.5996",
"0.255",
"0.6113",
"0.10297",
"0.61"
],
[
"0.523",
"0.595",
"0.91",
"0.5967",
"0.91",
"0.6113",
"0.523",
"0.61"
],
[
"0.523",
"0.6113",
"0.911",
"0.6113",
"0.911",
"0.625",
"0.523",
"0.625"
],
[
"0.21",
"0.631",
"0.2467",
"0.631",
"0.2467",
"0.6426",
"0.21",
"0.6426"
],
[
"0.2402",
"0.631",
"0.353",
"0.631",
"0.353",
"0.6445",
"0.2402",
"0.6445"
],
[
"0.523",
"0.625",
"0.91",
"0.625",
"0.91",
"0.6396",
"0.523",
"0.6396"
],
[
"0.5215",
"0.638",
"0.911",
"0.638",
"0.911",
"0.6514",
"0.5215",
"0.6514"
],
[
"0.08826",
"0.6494",
"0.4763",
"0.6494",
"0.4763",
"0.6636",
"0.08826",
"0.6636"
],
[
"0.523",
"0.654",
"0.911",
"0.654",
"0.911",
"0.664",
"0.523",
"0.664"
],
[
"0.08826",
"0.6636",
"0.4763",
"0.6636",
"0.4763",
"0.677",
"0.08826",
"0.677"
],
[
"0.5215",
"0.6665",
"0.9126",
"0.6665",
"0.9126",
"0.6797",
"0.5215",
"0.6797"
],
[
"0.08826",
"0.677",
"0.4763",
"0.677",
"0.4763",
"0.69",
"0.08826",
"0.69"
],
[
"0.523",
"0.6816",
"0.911",
"0.6816",
"0.911",
"0.6924",
"0.523",
"0.6924"
],
[
"0.08905",
"0.6924",
"0.4739",
"0.6924",
"0.4739",
"0.7026",
"0.08905",
"0.7026"
],
[
"0.5215",
"0.6943",
"0.911",
"0.6943",
"0.911",
"0.7085",
"0.5215",
"0.7085"
],
[
"0.08826",
"0.705",
"0.4763",
"0.705",
"0.4763",
"0.7183",
"0.08826",
"0.7183"
],
[
"0.523",
"0.7085",
"0.911",
"0.7085",
"0.911",
"0.7217",
"0.523",
"0.7217"
],
[
"0.08826",
"0.7183",
"0.4763",
"0.7183",
"0.4763",
"0.732",
"0.08826",
"0.732"
],
[
"0.5215",
"0.72",
"0.911",
"0.7217",
"0.911",
"0.735",
"0.5215",
"0.7344"
],
[
"0.08826",
"0.732",
"0.4763",
"0.732",
"0.4763",
"0.7456",
"0.08826",
"0.7456"
],
[
"0.5215",
"0.735",
"0.9126",
"0.735",
"0.9126",
"0.7485",
"0.5215",
"0.7485"
],
[
"0.08826",
"0.747",
"0.478",
"0.747",
"0.478",
"0.7603",
"0.08826",
"0.7603"
],
[
"0.5337",
"0.7476",
"0.9126",
"0.7485",
"0.9126",
"0.763",
"0.5337",
"0.762"
],
[
"0.08826",
"0.7603",
"0.478",
"0.7603",
"0.478",
"0.7734",
"0.08826",
"0.7734"
],
[
"0.523",
"0.763",
"0.911",
"0.763",
"0.911",
"0.7764",
"0.523",
"0.7764"
],
[
"0.08826",
"0.776",
"0.4763",
"0.776",
"0.4763",
"0.786",
"0.08826",
"0.786"
],
[
"0.5215",
"0.7764",
"0.734",
"0.7764",
"0.734",
"0.7905",
"0.5215",
"0.7905"
],
[
"0.1054",
"0.7886",
"0.4763",
"0.7886",
"0.4763",
"0.799",
"0.1054",
"0.799"
],
[
"0.5376",
"0.7925",
"0.9126",
"0.7925",
"0.9126",
"0.806",
"0.5376",
"0.806"
],
[
"0.08826",
"0.802",
"0.478",
"0.802",
"0.478",
"0.815",
"0.08826",
"0.815"
],
[
"0.5215",
"0.806",
"0.911",
"0.806",
"0.911",
"0.821",
"0.5215",
"0.821"
],
[
"0.08826",
"0.8164",
"0.478",
"0.8164",
"0.478",
"0.83",
"0.08826",
"0.83"
],
[
"0.5195",
"0.8184",
"0.9126",
"0.8193",
"0.9126",
"0.8335",
"0.5195",
"0.832"
],
[
"0.08826",
"0.83",
"0.4763",
"0.83",
"0.4763",
"0.8433",
"0.08826",
"0.8433"
],
[
"0.523",
"0.834",
"0.9126",
"0.834",
"0.9126",
"0.8477",
"0.523",
"0.8477"
],
[
"0.10864",
"0.851",
"0.2615",
"0.851",
"0.2615",
"0.8643",
"0.10864",
"0.8643"
],
[
"0.5215",
"0.8467",
"0.91",
"0.8477",
"0.91",
"0.8623",
"0.5215",
"0.8613"
],
[
"0.0866",
"0.863",
"0.4739",
"0.863",
"0.4739",
"0.877",
"0.0866",
"0.877"
],
[
"0.523",
"0.8623",
"0.9126",
"0.8623",
"0.9126",
"0.8755",
"0.523",
"0.8755"
],
[
"0.08496",
"0.875",
"0.4478",
"0.8755",
"0.4478",
"0.89",
"0.08496",
"0.8896"
],
[
"0.523",
"0.877",
"0.5864",
"0.877",
"0.5864",
"0.888",
"0.523",
"0.888"
]
] | [
"通过",
"学习动作和上下文的显式子空间进行弱监督的时间动作本地化",
"Ziyi Liul, Le Wangl*, Wei Tang?, Junsong Yuan², Nanning Zheng', Gang Hua 1Institute of",
"Artificial Intelligence and Robotics, Xi'an Jiaotong University",
"2University of Illinois at Chicago 3The State University of New York at Buffalo 4Wormpex AI Research",
"[email protected], (lewang, nnzheng @mail.xjtu.edu.cn,",
"[email protected], [email protected], [email protected]",
"Abstract",
"来。。例如,动作棒球场通常在时间和空间上与上下文",
"棒球场同时发生。我们将这一挑战称为行动-背景混淆",
"Weakly-supervised Temporal Action Localization (WS",
"TAL)methodslearntolocalizetemporalstartsand",
"大多数现有方法训练视频级分类器,并逐个片段地应",
"ends of action instances in a video under only video",
"用它来实现时间动作定位,如图E1所示。不幸的是",
"level supervision. Existing WS-TAL methods rely on",
"此管道只能从本地化结果中排除不相关的背景,而不能",
"deep features learned for action recognition. However",
"排除相关的上下文。前者是与类无关的,而后者是特定",
"due to the mismatch between classification and local-",
"于操作的:操作的上下文很少与其他操作同时发生。因",
"ization, these features cannot distinguish the frequently",
"此,不相关的背景对于分类是无用的,但上下文可以提",
"co-occurring contextual background, i.e., the context,",
"供重要的分类线索。例如,识别棒球场将防止视频被错",
"and the actual action instances. We term this challenge",
"误分类为潜水。因此,在视频级分类标签上训练的特征",
"action-context confusion, and it will adversely affect",
"将寻找上下文线索,整个学习的特征空间将共同表示动",
"the action localization accuracy. To address this chal-",
"作和上下文。因此,只有上下文的代码段经常被误认为",
"lenge, we introduce a framework that learns two feature",
"subspaces respectively for actions and their context",
"是操作实例的一部分",
"By explicitly accounting for action visual elements",
"本文的目标是解决WS-TAL中操作上下文混淆的挑",
"the action instances can be localized more precisely",
"战。我们的想法是学习一个特征空间,该特征空间可以",
"without the distraction from the context. To facilitate",
"显式地分为两个(特征)子空间i.e.,动作子空间和上",
"the learning of these two feature subspaces with only",
"下文子空间,如图E1所示。在与上下文视觉元素分离",
"video-level categorical labels, we leverage the predic-",
"的特征子空间中表示动作视觉元素之后,可以仅考虑在",
"tions from both spatial and temporal streams for snip",
"动作子空间中表示的动作元素来本地化目标动作实例",
"pets grouping. In addition, an unsupervised learning",
"因此,尽管上下文在时间和空间上与动作同时发生,但",
"task is introduced to make the proposed module fo",
"cus on mining temporal information. The proposed ap-",
"仍可以减轻上下文的干扰",
"proach outperforms state-of-the-art WS-TAL methods",
"然而,在监督不足的情况下学寸显式动作和上下文",
"on three benchmarks,i.e.,THUMOS14,ActivityNet",
"子空间是不平凡的。关键挑战是如何收集具有动作/仅",
"v1.2and vl.3datasets.",
"上下文/仅无关背景的片段(i.e.,图E1中的红点/黑",
"点/圆圈)。我们利用两流视频表示,i.e.,空间(RGB",
"1",
"Introduction",
"和时间(光流)流进行片段分组。具体来说,我们将从",
"两个流中接收一致的正面/负面预测的代码段视为具有",
"时间动作本地化(TAL)意味着在未修剪的视频中本地",
"动作仅无关背景的代码段:从两个流中接收不一致预",
"化动作实例的时间开始和结束。它是视频理解中的一项",
"测的代码段被视为仅具有上下文的代码段。直观上,包",
"基本任务,具有智能监控,视频检索和视频摘要等众多",
"含典型静态场景(如棒球场)的片段提供了有用的外观",
"应用(Dan,VerbeekandSchmid20l3:Asadiaghbo",
"特征,但缺乏有意义的运动。因此,它们被空间流认为",
"laghietal.2017;KangandWildes2016)。由于未修剪",
"是正的,而被时间流认为是负的。类似地,包含典型的",
"的视频可能包含不相关的内容和多个动作实例,因此训",
"非动作动作(例如潜水或相机移动后的飞溅)的片段被",
"练完全监督的TAL方法E(Chaoetal.2018;Linetal",
"时间流视为正面,但被空间流视为负面。此外,为了进",
"2018,2019;Liuetal.2019a;Xuetal.2020a)需要动作",
"步弥补缺乏监督的问题,我们引人了一项额外的无监",
"实例的时间边界注释。然而,获得这样的注释是耗时的,",
"督培训任务。与新的时间残差模块一起,它使我们的方",
"这推动了弱监督时间动作定位(WS-TAL)方法的研究。",
"法专注于挖掘有用的时间信息",
"WS-TAL学习在训练期间仅提供视频级分类标签的",
"总之,我们的贡献如下。(1)我们建议通过学习两",
"情况下本地化动作实例。然而,这种视频级分类监督和",
"个特征子空间i.e.,动作子空间和上下文子空间来解决",
"时间定位任务之间的不匹配使得很难将实际的动作实",
"WS-TAL的动作-上下文混淆的挑战。它有助于从本地",
"例与它们频繁出现的上下文背景(称为上下文)区分开",
"化结果中排除上下文背景。(2)我们引人了时间残差模",
"*Corresponding author",
"块和无监督训练任务,以使我们的方法专注于挖掘有用",
"Copyright 2021, Association for the Advancement of Ar",
"的时间信息。(3)我们的方法在三个基准上实现了最先",
"tificial Intelligence (www.aaai.org). All rights reserved.",
"进的性能"
] | {
"arxiv_id": "2103.16155",
"language": "zh",
"page_idx": 1
} |
||
2103.16155-zh-2 | 2103.16155-zh-2.jpg | <FigureHere>
Figure 1: Illustration of a common WS-TAL pipeline with action-context confusion (left) and the main idea of our method (right). The original feature space jointly represents action and context visual elements, resulting in confusion of actions (red dots) and context (black dots). The proposed method learns an action subspace and a context subspace. By representing action visual elements in a separate feature subspace, we can alleviate the distraction from the context during temporal localization. In the action subspace, we require the black dots to be similar to snippets with only irrelevant background (circles) and distinct from red dots. While in the context subspace, the black dots are similar to red dots due to the spatial co-occurrence between action and context. We require both the black and red dots are distinct from circles in the context subspace.
## 2 Related Work
TAL with Full Supervision 具有完全监督的 TAL 在训练期间需要目标动作类的时间边界注释。与 2D 对象检测类似,TAL 任务可以表示为 1D 对象检测。在 2D 对象检测$\boxed{\mathrm{E}}($Girshick 2015; Ren et al. 2017) 中取得成功之后,两阶段管道被完全监督的 TALE方法$\mathbb{E}($Escorcia et al. 2016; Shou, Wang, and Chang 2016; Buch et al. 2017;Gao et al. 2017; Xu, Das, and Saenko 2017; Zhao et al. 2017; Chao et al. 2018; Lin et al. 2018) 利用。最近,不是单独查看临时行动建议,而是考虑它们之间的依赖关系。BMN (Lin et al. 2019) 引人了边界匹配机制来捕获每个提案的时间上下文。图卷积网络(GCN) 是捕获提议-提议关系的流行工具,如 P-GCN$\underline{\mathrm{E}}($Zeng et al. 2019) , G-TAD$\boxed{\mathrm{E}}($Xu et al.2020b)和 AGCN$\boxed{\mathrm{E}}$ (Li et al. 2020)中提出的。
TAL with Weak Supervision WS-TAL 方法专注于仅使用视频级分类标签实现 TAL。在没有用于显式监督的时间边界注释的情况下,注意力机制被广泛用于区分动作和动作不可知的背景。UntrimmedNet (Wang et al. 2017) 将注意力机制表述为软选择模块,以本地化目标动作。STPN (Nguyen et al. 2018) 提出了一种稀疏性损失来改进 UntrimmedNet 并利用多层结构进行注意力学习。W-TALC (Paul, Roy, and Roy-Chowdhury 2018)提出了一种协同损失,以加强本地化实例之间的特征相似性。AutoLoc (Shou et al.2018)为方案评估设计了“外-内-对比损失”,便于时间边界回归。CleanNet (Liu et al. 2019b) 通过利用 SCP 中的时间对比度来设计“对比度分数”,以实现本地化的端到端训练。BM (Nguyen, Ramanan, and Fowlkes 2019) 通过背景建模和其他无监督损失来引导注意力,从而实现更好的 TAL 性能。CMSCE(Liu, Jiang, and Wang
2019)通过将具有低光流强度的帧视为背景来利用动作
## 上下文混淆挑战
但是,现有的 WS-TAL 方法没有实现将学习的功能表示为动作和上下文视觉元素的联合,从而在临时本地化目标动作实例时导致动作上下文混淆。通过学习动作和上下文的显式子空间,所提出的方法可以更好地避免上下文的干扰,尽管它与动作在时间和空间上共现。
所提出的体系结构的概述如图$\boxed{\mathrm{E}}$2 的左侧所示。相同的架构适用于空间(RGB)和时间(光流)流。为了简化符号,我们省略了流上标,而不会在第 3 节中造成混淆。1-3。4
## 3.1 Feature Embedding
给定一个未修剪的视频,我们首先将其划分为$T$ 非重$\begin{array}{c}\text{叠片段,这些片段是特征嵌入模块的输人。输出是}\overline{T}\\\text{片段的相应功能,表示为 }F_o\in\mathbb{R}^{D_o\times T}。F_o(t)\in\mathbb{R}^{D_o}\end{array}$ 是$t$ -th 代码段$s_t$的功能。我们将$F_o$的特征空间称为“原始特征空间”,如图 1 所示
值得注意的是,片段级特征$F_o$的原始特征空间共同表示动作和上下文的视觉元素,因为它们经常在时间和空间上同时出现,并且在训练期间只有视频级类别标签可用。子空间模块将解决此问题,详见第 3.3 节
## 3.2 Base Module
Base 模块使用注意力机制执行视频级分类。在 (Nguyen et al. 2018; Nguyen, Ramanan, and Fowlkes 2019) 中已经探索了类似的管道。这部分不包括在我们的贡献中 | [
[
"0.5293",
"0.07135",
"0.6724",
"0.07135",
"0.6724",
"0.0821",
"0.5293",
"0.0821"
],
[
"0.786",
"0.06757",
"0.8906",
"0.06757",
"0.8906",
"0.07764",
"0.786",
"0.07764"
],
[
"0.1462",
"0.0808",
"0.367",
"0.0808",
"0.367",
"0.0947",
"0.1462",
"0.0947"
],
[
"0.4436",
"0.077",
"0.478",
"0.077",
"0.478",
"0.0884",
"0.4436",
"0.0884"
],
[
"0.437",
"0.0859",
"0.5063",
"0.0884",
"0.5063",
"0.09973",
"0.437",
"0.09784"
],
[
"0.1642",
"0.09344",
"0.3464",
"0.09344",
"0.3464",
"0.1067",
"0.1642",
"0.1067"
],
[
"0.4387",
"0.0985",
"0.5",
"0.0985",
"0.5",
"0.1092",
"0.4387",
"0.1092"
],
[
"0.601",
"0.09344",
"0.726",
"0.09344",
"0.726",
"0.1067",
"0.601",
"0.1067"
],
[
"0.2484",
"0.1048",
"0.361",
"0.1061",
"0.361",
"0.1206",
"0.2484",
"0.1193"
],
[
"0.4395",
"0.1067",
"0.4836",
"0.1092",
"0.482",
"0.1206",
"0.4387",
"0.1187"
],
[
"0.5986",
"0.1067",
"0.7173",
"0.108",
"0.7173",
"0.1225",
"0.5986",
"0.1218"
],
[
"0.501",
"0.11743",
"0.509",
"0.1237",
"0.5024",
"0.1276",
"0.4944",
"0.1218"
],
[
"0.5063",
"0.1187",
"0.544",
"0.1206",
"0.5435",
"0.132",
"0.505",
"0.13"
],
[
"0.55",
"0.1225",
"0.562",
"0.1187",
"0.5664",
"0.127",
"0.5537",
"0.1307"
],
[
"0.6177",
"0.1206",
"0.6626",
"0.1206",
"0.6626",
"0.1307",
"0.6177",
"0.1307"
],
[
"0.4534",
"0.1237",
"0.46",
"0.1237",
"0.46",
"0.1307",
"0.4534",
"0.1307"
],
[
"0.3406",
"0.125",
"0.3555",
"0.125",
"0.3555",
"0.1332",
"0.3406",
"0.1332"
],
[
"0.392",
"0.1288",
"0.4126",
"0.1288",
"0.4126",
"0.1364",
"0.392",
"0.1364"
],
[
"0.7485",
"0.13",
"0.8022",
"0.137",
"0.8",
"0.1515",
"0.744",
"0.1445"
],
[
"0.763",
"0.1276",
"0.778",
"0.1276",
"0.778",
"0.1364",
"0.763",
"0.1364"
],
[
"0.596",
"0.132",
"0.716",
"0.1332",
"0.716",
"0.1477",
"0.596",
"0.1465"
],
[
"0.5537",
"0.1307",
"0.5767",
"0.1307",
"0.5767",
"0.1383",
"0.5537",
"0.1383"
],
[
"0.2524",
"0.1383",
"0.4167",
"0.137",
"0.4167",
"0.1483",
"0.2524",
"0.1497"
],
[
"0.4927",
"0.1401",
"0.5",
"0.1351",
"0.505",
"0.1395",
"0.4983",
"0.1445"
],
[
"0.6177",
"0.1465",
"0.739",
"0.1465",
"0.739",
"0.1572",
"0.6177",
"0.1572"
],
[
"0.7485",
"0.1465",
"0.767",
"0.1465",
"0.767",
"0.154",
"0.7485",
"0.154"
],
[
"0.763",
"0.1445",
"0.8037",
"0.1465",
"0.8022",
"0.1578",
"0.761",
"0.1559"
],
[
"0.492",
"0.1497",
"0.5024",
"0.1497",
"0.5024",
"0.159",
"0.492",
"0.159"
],
[
"0.10706",
"0.1477",
"0.3105",
"0.1465",
"0.3105",
"0.1604",
"0.10706",
"0.161"
],
[
"0.3594",
"0.1604",
"0.4126",
"0.1635",
"0.411",
"0.1749",
"0.3586",
"0.1718"
],
[
"0.562",
"0.161",
"0.5933",
"0.161",
"0.5933",
"0.1724",
"0.562",
"0.1724"
],
[
"0.4714",
"0.1686",
"0.4902",
"0.1787",
"0.482",
"0.1881",
"0.4631",
"0.178"
],
[
"0.7817",
"0.1635",
"0.7983",
"0.1635",
"0.7983",
"0.1718",
"0.7817",
"0.1718"
],
[
"0.7837",
"0.1736",
"0.79",
"0.1736",
"0.79",
"0.1787",
"0.7837",
"0.1787"
],
[
"0.4927",
"0.1932",
"0.505",
"0.1932",
"0.505",
"0.1995",
"0.4927",
"0.1995"
],
[
"0.513",
"0.2039",
"0.527",
"0.2039",
"0.527",
"0.2122",
"0.513",
"0.2122"
],
[
"0.281",
"0.2229",
"0.2932",
"0.2229",
"0.2932",
"0.2291",
"0.281",
"0.2291"
],
[
"0.492",
"0.2203",
"0.63",
"0.2203",
"0.63",
"0.2349",
"0.492",
"0.2349"
],
[
"0.7915",
"0.2235",
"0.7983",
"0.2267",
"0.794",
"0.2317",
"0.7876",
"0.2291"
],
[
"0.7363",
"0.2299",
"0.744",
"0.2299",
"0.744",
"0.2349",
"0.7363",
"0.2349"
],
[
"0.4722",
"0.2524",
"0.63",
"0.2524",
"0.63",
"0.2664",
"0.4722",
"0.2664"
],
[
"0.7974",
"0.2488",
"0.8037",
"0.2488",
"0.8037",
"0.2524",
"0.7974",
"0.2524"
],
[
"0.4673",
"0.2676",
"0.636",
"0.2676",
"0.636",
"0.281",
"0.4673",
"0.281"
],
[
"0.10455",
"0.2766",
"0.2876",
"0.2766",
"0.2876",
"0.2903",
"0.10455",
"0.2903"
],
[
"0.2917",
"0.2766",
"0.4453",
"0.2766",
"0.4453",
"0.2903",
"0.2917",
"0.2903"
],
[
"0.7793",
"0.276",
"0.888",
"0.276",
"0.888",
"0.289",
"0.7793",
"0.289"
],
[
"0.08826",
"0.303",
"0.91",
"0.303",
"0.91",
"0.3132",
"0.08826",
"0.3132"
],
[
"0.0866",
"0.315",
"0.9126",
"0.315",
"0.9126",
"0.3289",
"0.0866",
"0.3289"
],
[
"0.0866",
"0.3289",
"0.91",
"0.3289",
"0.91",
"0.3423",
"0.0866",
"0.3423"
],
[
"0.0866",
"0.3435",
"0.911",
"0.3435",
"0.911",
"0.3567",
"0.0866",
"0.3567"
],
[
"0.0866",
"0.3567",
"0.911",
"0.3567",
"0.911",
"0.3706",
"0.0866",
"0.3706"
],
[
"0.0866",
"0.3726",
"0.911",
"0.3726",
"0.911",
"0.3833",
"0.0866",
"0.3833"
],
[
"0.0866",
"0.385",
"0.9126",
"0.385",
"0.9126",
"0.3984",
"0.0866",
"0.3984"
],
[
"0.08496",
"0.3984",
"0.407",
"0.3984",
"0.407",
"0.4124",
"0.08496",
"0.4124"
],
[
"0.2035",
"0.4458",
"0.3594",
"0.4458",
"0.3594",
"0.459",
"0.2035",
"0.459"
],
[
"0.5215",
"0.4463",
"0.9126",
"0.4463",
"0.9126",
"0.4602",
"0.5215",
"0.4602"
],
[
"0.09235",
"0.4653",
"0.478",
"0.4653",
"0.478",
"0.4792",
"0.09235",
"0.4792"
],
[
"0.523",
"0.4602",
"0.636",
"0.4602",
"0.636",
"0.4734",
"0.523",
"0.4734"
],
[
"0.08826",
"0.4797",
"0.478",
"0.4797",
"0.478",
"0.4937",
"0.08826",
"0.4937"
],
[
"0.5376",
"0.4749",
"0.9126",
"0.4749",
"0.9126",
"0.4893",
"0.5376",
"0.4893"
],
[
"0.08826",
"0.4924",
"0.4795",
"0.4924",
"0.4795",
"0.506",
"0.08826",
"0.506"
],
[
"0.5215",
"0.4893",
"0.9126",
"0.4893",
"0.9126",
"0.504",
"0.5215",
"0.504"
],
[
"0.08496",
"0.506",
"0.478",
"0.505",
"0.478",
"0.5195",
"0.08496",
"0.521"
],
[
"0.523",
"0.504",
"0.911",
"0.504",
"0.911",
"0.5176",
"0.523",
"0.5176"
],
[
"0.0866",
"0.521",
"0.4795",
"0.521",
"0.4795",
"0.534",
"0.0866",
"0.534"
],
[
"0.5215",
"0.5176",
"0.911",
"0.5176",
"0.911",
"0.531",
"0.5215",
"0.531"
],
[
"0.08496",
"0.534",
"0.4763",
"0.5327",
"0.4763",
"0.5474",
"0.08496",
"0.549"
],
[
"0.5215",
"0.53",
"0.8857",
"0.531",
"0.8857",
"0.5454",
"0.5215",
"0.5444"
],
[
"0.0866",
"0.55",
"0.4763",
"0.55",
"0.4763",
"0.56",
"0.0866",
"0.56"
],
[
"0.0866",
"0.5625",
"0.478",
"0.5625",
"0.478",
"0.5757",
"0.0866",
"0.5757"
],
[
"0.621",
"0.563",
"0.8096",
"0.563",
"0.8096",
"0.5776",
"0.621",
"0.5776"
],
[
"0.08826",
"0.5757",
"0.478",
"0.5757",
"0.478",
"0.589",
"0.08826",
"0.589"
],
[
"0.08826",
"0.589",
"0.478",
"0.589",
"0.478",
"0.604",
"0.08826",
"0.604"
],
[
"0.523",
"0.587",
"0.911",
"0.587",
"0.911",
"0.601",
"0.523",
"0.601"
],
[
"0.08826",
"0.604",
"0.4795",
"0.604",
"0.4795",
"0.617",
"0.08826",
"0.617"
],
[
"0.5215",
"0.601",
"0.911",
"0.601",
"0.911",
"0.6143",
"0.5215",
"0.6143"
],
[
"0.0866",
"0.616",
"0.478",
"0.617",
"0.478",
"0.632",
"0.0866",
"0.631"
],
[
"0.5215",
"0.6143",
"0.911",
"0.6143",
"0.911",
"0.6274",
"0.5215",
"0.6274"
],
[
"0.08496",
"0.631",
"0.478",
"0.63",
"0.478",
"0.6445",
"0.08496",
"0.646"
],
[
"0.5215",
"0.63",
"0.572",
"0.63",
"0.572",
"0.6416",
"0.5215",
"0.6416"
],
[
"0.0866",
"0.646",
"0.2737",
"0.646",
"0.2737",
"0.659",
"0.0866",
"0.659"
],
[
"0.5215",
"0.66",
"0.568",
"0.66",
"0.568",
"0.672",
"0.5215",
"0.672"
],
[
"0.5596",
"0.657",
"0.722",
"0.659",
"0.722",
"0.674",
"0.5596",
"0.672"
],
[
"0.0907",
"0.6675",
"0.4763",
"0.6675",
"0.4763",
"0.681",
"0.0907",
"0.681"
],
[
"0.08826",
"0.681",
"0.4763",
"0.681",
"0.4763",
"0.6943",
"0.08826",
"0.6943"
],
[
"0.5215",
"0.6816",
"0.911",
"0.6816",
"0.911",
"0.696",
"0.5215",
"0.696"
],
[
"0.08826",
"0.696",
"0.4763",
"0.696",
"0.4763",
"0.709",
"0.08826",
"0.709"
],
[
"0.5215",
"0.6943",
"0.911",
"0.6943",
"0.911",
"0.709",
"0.5215",
"0.709"
],
[
"0.0866",
"0.7085",
"0.4795",
"0.709",
"0.4795",
"0.7236",
"0.0866",
"0.7227"
],
[
"0.5195",
"0.7085",
"0.7983",
"0.705",
"0.7983",
"0.7227",
"0.5195",
"0.726"
],
[
"0.808",
"0.7134",
"0.8203",
"0.7134",
"0.8203",
"0.7173",
"0.808",
"0.7173"
],
[
"0.8145",
"0.709",
"0.91",
"0.707",
"0.91",
"0.7217",
"0.8145",
"0.7236"
],
[
"0.08826",
"0.7246",
"0.4763",
"0.7246",
"0.4763",
"0.735",
"0.08826",
"0.735"
],
[
"0.5215",
"0.7227",
"0.9126",
"0.7227",
"0.9126",
"0.7373",
"0.5215",
"0.7373"
],
[
"0.08905",
"0.7373",
"0.478",
"0.7373",
"0.478",
"0.7505",
"0.08905",
"0.7505"
],
[
"0.5195",
"0.7373",
"0.7427",
"0.7373",
"0.7427",
"0.7505",
"0.5195",
"0.7505"
],
[
"0.08826",
"0.7505",
"0.4763",
"0.7505",
"0.4763",
"0.7646",
"0.08826",
"0.7646"
],
[
"0.5376",
"0.7524",
"0.911",
"0.7524",
"0.911",
"0.7666",
"0.5376",
"0.7666"
],
[
"0.08826",
"0.7646",
"0.4763",
"0.7646",
"0.4763",
"0.778",
"0.08826",
"0.778"
],
[
"0.5215",
"0.765",
"0.911",
"0.7666",
"0.911",
"0.781",
"0.5215",
"0.78"
],
[
"0.08826",
"0.779",
"0.478",
"0.779",
"0.478",
"0.7925",
"0.08826",
"0.7925"
],
[
"0.5195",
"0.779",
"0.911",
"0.78",
"0.911",
"0.7944",
"0.5195",
"0.7935"
],
[
"0.08826",
"0.7925",
"0.478",
"0.7925",
"0.478",
"0.806",
"0.08826",
"0.806"
],
[
"0.5215",
"0.7944",
"0.869",
"0.7944",
"0.869",
"0.808",
"0.5215",
"0.808"
],
[
"0.08826",
"0.806",
"0.478",
"0.806",
"0.478",
"0.8193",
"0.08826",
"0.8193"
],
[
"0.0866",
"0.8193",
"0.478",
"0.8193",
"0.478",
"0.8335",
"0.0866",
"0.8335"
],
[
"0.5215",
"0.8257",
"0.568",
"0.8257",
"0.568",
"0.837",
"0.5215",
"0.837"
],
[
"0.564",
"0.8247",
"0.671",
"0.8247",
"0.671",
"0.8384",
"0.564",
"0.8384"
],
[
"0.08826",
"0.8335",
"0.478",
"0.8335",
"0.478",
"0.8467",
"0.08826",
"0.8467"
],
[
"0.08826",
"0.8477",
"0.478",
"0.8477",
"0.478",
"0.8613",
"0.08826",
"0.8613"
],
[
"0.5195",
"0.8477",
"0.9126",
"0.8477",
"0.9126",
"0.8613",
"0.5195",
"0.8613"
],
[
"0.0866",
"0.8613",
"0.478",
"0.86",
"0.478",
"0.875",
"0.0866",
"0.8755"
],
[
"0.5195",
"0.8613",
"0.91",
"0.86",
"0.91",
"0.875",
"0.5195",
"0.8755"
],
[
"0.08826",
"0.8755",
"0.4795",
"0.8755",
"0.4795",
"0.8896",
"0.08826",
"0.8896"
],
[
"0.5215",
"0.8755",
"0.8965",
"0.8755",
"0.8965",
"0.8896",
"0.5215",
"0.8896"
]
] | [
"OriginalFeatureSpace",
"ActionSubspace",
"Input Untrimmed Video with T Snippets",
"Jointly",
"IRepresenting",
"Containing Action Baseball Pitch",
"[Action and",
"Snippet with Action",
"Feature Embedding",
"HContext",
" Snippet with Only",
"",
"b",
"",
"Context",
"",
"...",
"",
"",
"O",
"OSnippet with Only",
"#",
"Snippetby Snippet Classification",
"囍",
"IrrelevantBackground",
"",
"a",
"?",
"ClassificationScoreof BaseballPitch",
"Thresholding",
"..",
"O0",
"O",
"A",
"",
"O",
"K",
"LOur Proposed Method",
"",
"",
"A Feature Space Explicitly",
"",
"Combined by Two Subspace",
"Groundtruth Predicted Action",
"Action-Context Confusion i",
"Context Subspace",
"Figure l:Illustration of a common WS-TAL pipeline with action-context confusion (left)and the main ideaof our",
"method (right).The original feature space jointly represents action and context visual elements, resulting in confusion",
"of actions (red dots)and context (black dots). The proposed method learns an action subspace and a context subspace.",
"By representing action visual elements in a separate feature subspace, we can alleviate the distraction from the context",
"during temporal localization. In the action subspace, we require the black dots to be similar to snippets with only",
"irrelevant background (circles) and distinct from red dots.While in thecontext subspace,the black dots are similar",
"to red dots due to the spatial co-occurrence between action and context. We require both the black and red dots are",
"distinct from circles in the context subspace.",
"2Related Work",
"2019)通过将具有低光流强度的帧视为背景来利用动作",
"TALwithFullSupervision具有完全监督的TAL在",
"上下文混淆挑战",
"训练期间需要目标动作类的时间边界注释。与2D对象",
"但是,现有的WS-TAL方法没有实现将学习的功能",
"检测类似,TAL任务可以表示为1D对象检测。在2D",
"表示为动作和上下文视觉元素的联合,从而在临时本地",
"对象检测国(Girshick2015;Renetal.2017)中取得成功",
"化目标动作实例时导致动作上下文混淆。通过学习动作",
"之后,两阶段管道被完全监督的TALE方法E(Escorcia",
"和上下文的显式子空间,所提出的方法可以更好地避免",
"et al. 2016; Shou, Wang, and Chang 2016; Buch et al",
"上下文的干扰,尽管它与动作在时间和空间上共现。",
"2017: Gao et al.2017:Xu. Das.and Saenko 2017:Zhao",
"etal.2017;Chaoet al.2018;Linetal.2018)利用。最",
"3Proposed Method",
"近,不是单独查看临时行动建议,而是考虑它们之间的",
"依赖关系。BMN,(Linetal.2019)引人了边界匹配机",
"所提出的体系结构的概述如图E2的左侧所示。相同的",
"制来捕获每个提案的时间上下文。图卷积网络(GCN)",
"架构适用于空间(RGB)和时间(光流)流。为了简化符",
"是捕获提议-提议关系的流行工具,如P-GCNE(Zeng",
"号,我们省略了流上标,而不会在第3节中造成混淆。",
"etal.2019),G-TADE(Xu et al.2020b)和AGCNE",
"1-3。4",
"(Liet al.2020)中提出的。",
"3.1",
"Feature Embedding",
"TALwithWeakSupervisionWS-TAL方法专注于仅",
"使用视频级分类标签实现TAL。在没有用于显式监督",
"给定一个未修剪的视频,我们首先将其划分为T非重",
"的时间边界注释的情况下,注意力机制被广泛用于区",
"叠片段,这些片段是特征嵌人模块的输入。输出是T",
"分动作和动作不可知的背景。UntrimmedNet(Wang",
"片段的相应功能,表示为F。ER。XT",
"",
"F.(t)ERDo",
"etal.2017)将注意力机制表述为软选择模块,以本地化",
"是t-th代码段 st的功能。我们将F。的特征空间称为",
"目标动作。STPN(Nguyenetal.2018)提出了一种稀疏",
"“原始特征空间”,如图1所示",
"性损失来改进UntrimmedNet并利用多层结构进行注",
"值得注意的是,片段级特征F。的原始特征空间共同",
"意力学习。W-TALC (Paul,Roy,and Roy-Chowdhury",
"表示动作和上下文的视觉元素,因为它们经常在时间和",
"2018)提出了一种协同损失,以加强本地化实例之间",
"空间上同时出现,并且在训练期间只有视频级类别标签",
"的特征相似性。AutoLoc(Shou et al.2018)为方案",
"可用。子空间模块将解决此问题,详见第3.3节",
"评估设计了“外-内-对比损失”,便于时间边界回归。",
"CleanNet(Liuetal.2019b)通过利用SCP中的时间",
"3.2",
"Base Module",
"对比度来设计“对比度分数”,以实现本地化的端到端",
"训练。BM (Nguyen,Ramanan,and Fowlkes 2019)通",
"Base模块使用注意力机制执行视频级分类。在(Nguyen",
"过背景建模和其他无监督损失来引导注意力,从而实",
"et al. 2018; Nguyen, Ramanan, and Fowlkes 20i9)中己",
"现更好的TAL性能。CMSCE(Liu,Jiang,and Wang",
"经探索了类似的管道。这部分不包括在我们的贡献中"
] | {
"arxiv_id": "2103.16155",
"language": "zh",
"page_idx": 2
} |
||
2206.14467-zh-2 | 2206.14467-zh-2.jpg | <FigureHere>
Figure 1: Overview of our proposed Test-time Adaptation from Shape Dictionary (TASD). During training, we establish dictionary learning to extract the explicit shape priors from single domain data and integrate these prior information into the network by introducing a regression branch to produce shape coefficients for combining these dictionary items. When testing on new domains, we dynamically adapt the model parameters especially on the regression branch to adaptively utilize the prior information to improve generalization, which is driven by dualconsistency regularization mechanism which jointly regularizes the consistency of shape coefficients and segmentation predictions under different perturbations $(\eta,\eta^{\prime})$ onto the inference data.
率,i。e。, $H\times W$ ), 因为这是字典学习中产生稀疏系数的通用解决方案。方程 1 中的优化问题可以使用完善的在线字典学习算法 (Mairal et al.2009)求解,该算法迭代绘制每个图像掩模$y_i$ ,以最小角度回归找到其稀疏系数,并以块坐标下降更新字典$D$ 。同时,这种学习算法是无参数的,因此不需要参数调整。我们在实验中表明,以这种方式学习的形状字典具有代表性, 并且可以很好地推广到看不见的领域。
将形状字典集成到深度网络中:在获得学习的形状字典后,我们进一步将其合并到深度模型中,旨在使分割能够使用来自这些形状先验的引用来执行,以促进泛化。为此,我们在网络上嵌人了一个回归分支(参见图的左侧。$\operatorname{E}1$ ), 它以给定样本的编码特征为输入,并根据样本特征输出用于组合形状先验的形状系数$\hat{\alpha}$。具体地将$D$中预先提取的形状先验根据形状系数$\hat{\alpha}$进行线性组合,生成参考掩码:
$$M=\sum_{j=1}^Kd_j\hat{\alpha}_{ij}$$
Dual-consistency Regularized Test-time Update 通过将回归分支嵌入到网络中,形状先验已被集成以帮助分割问题。然而,一个潜在的问题是,模型利用这些先验信息的能力 (i。e。, 回归分支和原始网络的参数) 是在狭窄的单域数据分布下学习的。当推广到具有分布偏移的看不见的域时,无法保证生成的形状系数的可靠性,这将限制有效利用形状先验。鉴于观察到在测试时呈现的推理样本可以给我们一个关于其分布信息的提示,我们期望通过探索这个提示在测试时动态地调整模型参数,以便在任何看不见的数据分布下都可以有效地利用形状先验来提高泛化性能
至关重要的是,我们案例中的测试时更新应与回归分支紧密耦合,以确保在域移动下形状系数的正确性。为此,我们将自适应表述为一致性正则化机制,可以灵活地将其应用于原始网络以及嵌入式回归分支。具体来说,如图的右侧部分所示。1,给定测试时的推理数据$x^t$,我们首先添加不同的扰动$\eta$和$\eta ^\prime$ $( e$。g。,将高斯噪声加人网络参数的输入或 dropout) 到这个样本上然后对模型进行正则化处理,对两个扰动样本产生一致的预测,以探索这个测试数据的内在信息。重要的是, 除了原始网络之外,为了完全适应回归分支的参数,我们将一致性正则化应用于分割预测和形状系数预测。背后的直觉是,不同的输人扰动不应改变医学图像中包含的语义解剖结构,因此推理样本的最终分割掩码以及我们的模型如何利用预先收集的形状先验 (i。e。,形状系数) 组成掩码不应更改。形式上,这两个一致性正则化项可以表示为:
$$\begin{aligned}&\mathcal{L}_{cons}^{seg}(\boldsymbol{x}^{t})=||f(\boldsymbol{x}^{t},\eta^{\prime})-f(\boldsymbol{x}^{t},\eta)||_{2}^{2},\\&\mathcal{L}_{cons}^{coef}(\boldsymbol{x}^{t})=1-\frac{\hat{\boldsymbol{\alpha}}^{t}(\eta^{\prime})\cdot\hat{\boldsymbol{\alpha}}^{t}(\eta)}{\max(||\hat{\boldsymbol{\alpha}}^{t}(\eta^{\prime})||_{2}\cdot||\hat{\boldsymbol{\alpha}}^{t}(\eta)||_{2},\epsilon)},\end{aligned}$$
(2)
然后在解码器的最后一个卷积块之前与网络特征连接,以进一步细化并生成最终的分割掩码。我们没有选择在早期层插入参考掩码,因为这需要对参考掩码进行下采样,这会在一定程度上破坏形状先验信息。借助嵌人式回归分支,可以通过共同探索样本特征以及从单域数据中提取的形状先验来得出模型预测,以提高模型泛化能力
为了为回归分支提供直接监督以提高参考掩码的质量,我们将从公式$\mathbb{E} 1$ (在字典学习过程中获得)优化的系数$\alpha$作为$\hat{\alpha}$的地面实况。由于$\alpha$在字典学习过程中被正则化为稀疏,因此我们采用余弦相似度来最小化$\hat{\alpha}$和$\alpha$之间的距离,而不是 L 1 或 L 2 损失,表示为:
(4)
(3)
$$\mathcal{L}_{regress}(\boldsymbol{x}_{i})=1-\frac{\hat{\boldsymbol{\alpha}}_{i}\cdot\boldsymbol{\alpha}_{i}}{\max(||\hat{\boldsymbol{\alpha}}_{i}||_{2}\cdot||\boldsymbol{\alpha}_{i}||_{2},\epsilon)},$$
,其中$\mathcal{L}_cons^{seg}(x^t)$是具有均方误差损失的分割结果的一致性正则化,其中$f(\cdot)$表示网络,$\eta$和$\eta^\prime$是应用于相同测试数据$x^t$的不同扰动;XcoMTHX 形状的一致性。
其中$\epsilon$是设置为 1e-8 的小值,以避免。 | [
[
"0.09235",
"0.06946",
"0.2524",
"0.0707",
"0.2524",
"0.0821",
"0.09235",
"0.0808"
],
[
"0.4387",
"0.0707",
"0.697",
"0.0707",
"0.697",
"0.0808",
"0.4387",
"0.0808"
],
[
"0.2091",
"0.0859",
"0.2361",
"0.0884",
"0.2345",
"0.0966",
"0.2075",
"0.0947"
],
[
"0.3423",
"0.0884",
"0.3708",
"0.0884",
"0.3708",
"0.0966",
"0.3423",
"0.0966"
],
[
"0.6465",
"0.09216",
"0.6895",
"0.09534",
"0.689",
"0.1067",
"0.6445",
"0.1042"
],
[
"0.5073",
"0.1016",
"0.539",
"0.1016",
"0.539",
"0.10986",
"0.5073",
"0.10986"
],
[
"0.2378",
"0.113",
"0.25",
"0.113",
"0.25",
"0.11743",
"0.2378",
"0.11743"
],
[
"0.642",
"0.11615",
"0.721",
"0.11615",
"0.721",
"0.127",
"0.642",
"0.127"
],
[
"0.4795",
"0.1276",
"0.509",
"0.1276",
"0.509",
"0.132",
"0.4795",
"0.132"
],
[
"0.2345",
"0.1383",
"0.3105",
"0.1383",
"0.3105",
"0.1497",
"0.2345",
"0.1497"
],
[
"0.4004",
"0.1427",
"0.4224",
"0.1445",
"0.4207",
"0.1547",
"0.3987",
"0.1528"
],
[
"0.664",
"0.1483",
"0.7114",
"0.1483",
"0.7114",
"0.1528",
"0.664",
"0.1528"
],
[
"0.71",
"0.1465",
"0.734",
"0.1465",
"0.734",
"0.1547",
"0.71",
"0.1547"
],
[
"0.3162",
"0.1528",
"0.3423",
"0.1528",
"0.3423",
"0.161",
"0.3162",
"0.161"
],
[
"0.859",
"0.1497",
"0.8896",
"0.1497",
"0.8896",
"0.1654",
"0.859",
"0.1654"
],
[
"0.3162",
"0.161",
"0.357",
"0.161",
"0.357",
"0.1718",
"0.3162",
"0.1718"
],
[
"0.649",
"0.1604",
"0.759",
"0.1604",
"0.759",
"0.1704",
"0.649",
"0.1704"
],
[
"0.7876",
"0.1622",
"0.8203",
"0.1622",
"0.8203",
"0.1736",
"0.7876",
"0.1736"
],
[
"0.3105",
"0.1692",
"0.357",
"0.1692",
"0.357",
"0.1799",
"0.3105",
"0.1799"
],
[
"0.839",
"0.1692",
"0.8965",
"0.1674",
"0.8965",
"0.178",
"0.839",
"0.1799"
],
[
"0.1772",
"0.1768",
"0.2345",
"0.1724",
"0.2361",
"0.1831",
"0.179",
"0.1875"
],
[
"0.2607",
"0.1768",
"0.2712",
"0.1818",
"0.2656",
"0.1875",
"0.2566",
"0.1831"
],
[
"0.614",
"0.1755",
"0.619",
"0.1799",
"0.614",
"0.1843",
"0.609",
"0.1799"
],
[
"0.642",
"0.1768",
"0.7036",
"0.1768",
"0.7036",
"0.1843",
"0.642",
"0.1843"
],
[
"0.8433",
"0.1799",
"0.8945",
"0.1799",
"0.8945",
"0.1875",
"0.8433",
"0.1875"
],
[
"0.705",
"0.1812",
"0.716",
"0.1812",
"0.716",
"0.1843",
"0.705",
"0.1843"
],
[
"0.3022",
"0.178",
"0.312",
"0.178",
"0.312",
"0.1818",
"0.3022",
"0.1818"
],
[
"0.716",
"0.1812",
"0.7256",
"0.1812",
"0.7256",
"0.1843",
"0.716",
"0.1843"
],
[
"0.1691",
"0.1875",
"0.2214",
"0.1849",
"0.2214",
"0.1925",
"0.1691",
"0.1945"
],
[
"0.6763",
"0.2102",
"0.705",
"0.2102",
"0.705",
"0.2172",
"0.6763",
"0.2172"
],
[
"0.3464",
"0.226",
"0.3555",
"0.226",
"0.3555",
"0.2291",
"0.3464",
"0.2291"
],
[
"0.509",
"0.2229",
"0.54",
"0.2229",
"0.54",
"0.2311",
"0.509",
"0.2311"
],
[
"0.6567",
"0.2311",
"0.6787",
"0.2311",
"0.6787",
"0.2349",
"0.6567",
"0.2349"
],
[
"0.3586",
"0.2424",
"0.3823",
"0.2443",
"0.3816",
"0.2524",
"0.357",
"0.2507"
],
[
"0.08826",
"0.2683",
"0.911",
"0.2683",
"0.911",
"0.2827",
"0.08826",
"0.2827"
],
[
"0.0866",
"0.2842",
"0.9126",
"0.2842",
"0.9126",
"0.2974",
"0.0866",
"0.2974"
],
[
"0.0866",
"0.2974",
"0.911",
"0.2974",
"0.911",
"0.3113",
"0.0866",
"0.3113"
],
[
"0.0866",
"0.3125",
"0.9126",
"0.3125",
"0.9126",
"0.3257",
"0.0866",
"0.3257"
],
[
"0.0866",
"0.3257",
"0.91",
"0.3257",
"0.91",
"0.339",
"0.0866",
"0.339"
],
[
"0.0866",
"0.3384",
"0.91",
"0.3384",
"0.91",
"0.3528",
"0.0866",
"0.3528"
],
[
"0.0866",
"0.3542",
"0.614",
"0.3542",
"0.614",
"0.3674",
"0.0866",
"0.3674"
],
[
"0.08826",
"0.3945",
"0.1708",
"0.3958",
"0.1708",
"0.4072",
"0.08826",
"0.406"
],
[
"0.165",
"0.3933",
"0.4756",
"0.3933",
"0.4756",
"0.4072",
"0.165",
"0.4072"
],
[
"0.527",
"0.3945",
"0.9004",
"0.3945",
"0.9004",
"0.4077",
"0.527",
"0.4077"
],
[
"0.08826",
"0.4092",
"0.478",
"0.4092",
"0.478",
"0.4224",
"0.08826",
"0.4224"
],
[
"0.5195",
"0.4153",
"0.9126",
"0.414",
"0.9126",
"0.428",
"0.5195",
"0.4287"
],
[
"0.08826",
"0.4224",
"0.4656",
"0.4224",
"0.4656",
"0.4363",
"0.08826",
"0.4363"
],
[
"0.4673",
"0.4224",
"0.4763",
"0.43",
"0.468",
"0.435",
"0.46",
"0.4287"
],
[
"0.523",
"0.4287",
"0.911",
"0.4287",
"0.911",
"0.4426",
"0.523",
"0.4426"
],
[
"0.08826",
"0.4363",
"0.4763",
"0.4363",
"0.4763",
"0.4507",
"0.08826",
"0.4507"
],
[
"0.5215",
"0.4426",
"0.911",
"0.4426",
"0.911",
"0.4558",
"0.5215",
"0.4558"
],
[
"0.08905",
"0.4507",
"0.4756",
"0.4507",
"0.4756",
"0.464",
"0.08905",
"0.464"
],
[
"0.523",
"0.457",
"0.911",
"0.457",
"0.911",
"0.4702",
"0.523",
"0.4702"
],
[
"0.08826",
"0.464",
"0.478",
"0.464",
"0.478",
"0.4778",
"0.08826",
"0.4778"
],
[
"0.523",
"0.4702",
"0.911",
"0.4702",
"0.911",
"0.4841",
"0.523",
"0.4841"
],
[
"0.08826",
"0.4778",
"0.4795",
"0.4778",
"0.4795",
"0.4912",
"0.08826",
"0.4912"
],
[
"0.523",
"0.4841",
"0.911",
"0.4841",
"0.911",
"0.4976",
"0.523",
"0.4976"
],
[
"0.08905",
"0.4937",
"0.3555",
"0.4937",
"0.3555",
"0.504",
"0.08905",
"0.504"
],
[
"0.523",
"0.4976",
"0.911",
"0.4976",
"0.911",
"0.511",
"0.523",
"0.511"
],
[
"0.08826",
"0.506",
"0.4763",
"0.506",
"0.4763",
"0.5195",
"0.08826",
"0.5195"
],
[
"0.523",
"0.512",
"0.911",
"0.512",
"0.911",
"0.526",
"0.523",
"0.526"
],
[
"0.08905",
"0.5195",
"0.4763",
"0.5195",
"0.4763",
"0.5327",
"0.08905",
"0.5327"
],
[
"0.523",
"0.526",
"0.9126",
"0.526",
"0.9126",
"0.539",
"0.523",
"0.539"
],
[
"0.08826",
"0.5327",
"0.4763",
"0.5327",
"0.4763",
"0.547",
"0.08826",
"0.547"
],
[
"0.523",
"0.539",
"0.7344",
"0.539",
"0.7344",
"0.553",
"0.523",
"0.553"
],
[
"0.0866",
"0.547",
"0.478",
"0.5454",
"0.478",
"0.56",
"0.0866",
"0.561"
],
[
"0.5376",
"0.5537",
"0.91",
"0.5537",
"0.91",
"0.5674",
"0.5376",
"0.5674"
],
[
"0.08826",
"0.561",
"0.4763",
"0.561",
"0.4763",
"0.5747",
"0.08826",
"0.5747"
],
[
"0.08826",
"0.5728",
"0.4756",
"0.5747",
"0.4756",
"0.589",
"0.08826",
"0.587"
],
[
"0.524",
"0.5674",
"0.911",
"0.5674",
"0.911",
"0.5806",
"0.524",
"0.5806"
],
[
"0.5215",
"0.582",
"0.911",
"0.582",
"0.911",
"0.595",
"0.5215",
"0.595"
],
[
"0.0866",
"0.5884",
"0.4763",
"0.5884",
"0.4763",
"0.6016",
"0.0866",
"0.6016"
],
[
"0.523",
"0.595",
"0.911",
"0.595",
"0.911",
"0.6094",
"0.523",
"0.6094"
],
[
"0.0866",
"0.603",
"0.2336",
"0.603",
"0.2336",
"0.616",
"0.0866",
"0.616"
],
[
"0.523",
"0.6094",
"0.7134",
"0.6094",
"0.7134",
"0.6226",
"0.523",
"0.6226"
],
[
"0.726",
"0.6113",
"0.91",
"0.6113",
"0.91",
"0.622",
"0.726",
"0.622"
],
[
"0.2737",
"0.622",
"0.2893",
"0.622",
"0.2893",
"0.632",
"0.2737",
"0.632"
],
[
"0.5215",
"0.6226",
"0.911",
"0.6235",
"0.911",
"0.638",
"0.5215",
"0.637"
],
[
"0.2296",
"0.6353",
"0.2737",
"0.6353",
"0.2737",
"0.6465",
"0.2296",
"0.6465"
],
[
"0.2656",
"0.632",
"0.3381",
"0.632",
"0.3381",
"0.6494",
"0.2656",
"0.6494"
],
[
"0.4575",
"0.6353",
"0.478",
"0.6353",
"0.478",
"0.6484",
"0.4575",
"0.6484"
],
[
"0.5215",
"0.637",
"0.91",
"0.637",
"0.91",
"0.651",
"0.5215",
"0.651"
],
[
"0.2656",
"0.6514",
"0.2932",
"0.6484",
"0.2942",
"0.66",
"0.2688",
"0.6636"
],
[
"0.523",
"0.651",
"0.9126",
"0.651",
"0.9126",
"0.664",
"0.523",
"0.664"
],
[
"0.10455",
"0.6685",
"0.4763",
"0.6685",
"0.4763",
"0.6816",
"0.10455",
"0.6816"
],
[
"0.5215",
"0.6655",
"0.9087",
"0.6655",
"0.9087",
"0.6787",
"0.5215",
"0.6787"
],
[
"0.08826",
"0.683",
"0.4763",
"0.683",
"0.4763",
"0.6963",
"0.08826",
"0.6963"
],
[
"0.523",
"0.6787",
"0.911",
"0.6787",
"0.911",
"0.6924",
"0.523",
"0.6924"
],
[
"0.08826",
"0.6963",
"0.4763",
"0.6963",
"0.4763",
"0.7104",
"0.08826",
"0.7104"
],
[
"0.524",
"0.6924",
"0.911",
"0.6924",
"0.911",
"0.7056",
"0.524",
"0.7056"
],
[
"0.0907",
"0.7085",
"0.4763",
"0.709",
"0.4763",
"0.7236",
"0.0907",
"0.7227"
],
[
"0.5215",
"0.705",
"0.911",
"0.7056",
"0.911",
"0.72",
"0.5215",
"0.7197"
],
[
"0.0907",
"0.7236",
"0.478",
"0.7236",
"0.478",
"0.7373",
"0.0907",
"0.7373"
],
[
"0.5215",
"0.72",
"0.911",
"0.72",
"0.911",
"0.7344",
"0.5215",
"0.7344"
],
[
"0.08905",
"0.738",
"0.4763",
"0.738",
"0.4763",
"0.752",
"0.08905",
"0.752"
],
[
"0.523",
"0.7344",
"0.91",
"0.7344",
"0.91",
"0.7476",
"0.523",
"0.7476"
],
[
"0.08905",
"0.75",
"0.1356",
"0.752",
"0.134",
"0.7666",
"0.08826",
"0.7646"
],
[
"0.523",
"0.7476",
"0.911",
"0.7476",
"0.911",
"0.761",
"0.523",
"0.761"
],
[
"0.10455",
"0.765",
"0.4763",
"0.765",
"0.4763",
"0.779",
"0.10455",
"0.779"
],
[
"0.524",
"0.763",
"0.625",
"0.763",
"0.625",
"0.7744",
"0.524",
"0.7744"
],
[
"0.08905",
"0.779",
"0.4763",
"0.779",
"0.4763",
"0.7925",
"0.08905",
"0.7925"
],
[
"0.5435",
"0.786",
"0.794",
"0.786",
"0.794",
"0.8003",
"0.5435",
"0.8003"
],
[
"0.0866",
"0.7925",
"0.4763",
"0.7915",
"0.4763",
"0.806",
"0.0866",
"0.8066"
],
[
"0.7114",
"0.8037",
"0.8096",
"0.806",
"0.8096",
"0.821",
"0.7114",
"0.8184"
],
[
"0.8896",
"0.8037",
"0.9126",
"0.8037",
"0.9126",
"0.8184",
"0.8896",
"0.8184"
],
[
"0.5415",
"0.8125",
"0.6543",
"0.8125",
"0.6543",
"0.83",
"0.5415",
"0.83"
],
[
"0.0866",
"0.8213",
"0.4795",
"0.8213",
"0.4795",
"0.8354",
"0.0866",
"0.8354"
],
[
"0.08826",
"0.8066",
"0.478",
"0.8066",
"0.478",
"0.821",
"0.08826",
"0.821"
],
[
"0.6562",
"0.8213",
"0.865",
"0.8228",
"0.865",
"0.837",
"0.6562",
"0.836"
],
[
"0.1316",
"0.8447",
"0.2632",
"0.8477",
"0.2632",
"0.8657",
"0.1316",
"0.8623"
],
[
"0.3228",
"0.8403",
"0.3708",
"0.8403",
"0.3708",
"0.8516",
"0.3228",
"0.8516"
],
[
"0.5317",
"0.8447",
"0.9004",
"0.845",
"0.9004",
"0.863",
"0.5317",
"0.8623"
],
[
"0.455",
"0.851",
"0.4756",
"0.8467",
"0.4795",
"0.8594",
"0.4592",
"0.863"
],
[
"0.527",
"0.853",
"0.539",
"0.853",
"0.539",
"0.8594",
"0.527",
"0.8594"
],
[
"0.5215",
"0.86",
"0.911",
"0.8613",
"0.911",
"0.8755",
"0.5215",
"0.875"
],
[
"0.523",
"0.875",
"0.9126",
"0.875",
"0.9126",
"0.8896",
"0.523",
"0.8896"
],
[
"0.267",
"0.856",
"0.429",
"0.856",
"0.429",
"0.8706",
"0.267",
"0.8706"
],
[
"0.08826",
"0.8755",
"0.3635",
"0.8755",
"0.3635",
"0.8896",
"0.08826",
"0.8896"
]
] | [
"Integration of Shape Dictionary",
"Test-time Update via Dual-consistency Regularizatio",
"Encode",
"Decode",
"",
"Noise!",
"",
"Regression branch",
"admai",
"Regression branch",
"Lseg",
"",
"",
"Shape",
"Ceon",
"coefficient",
"Shape coefficiemt conststenc",
"Ccons",
"prediction",
"Segmentation",
"Learming shape",
"-",
"A",
"",
"consistency",
"",
"",
"",
"dictionary",
"ionbra",
"af",
"Noise",
"s",
"C:C",
"Figure 1: Overview of our proposed Test-time Adaptation from Shape Dictionary (TASD).During training, we",
"establish dictionary learning to extract the explicit shape priors from single domain data and integrate these prior",
"information into the network by introducing a regression branch to produce shape coefficients for combining these",
"dictionary items. When testing on new domains, we dynamically adapt the model parameters especially on the",
"regression branch to adaptively utilize the prior information to improve generalization, which is driven by dual-",
"consistency regularization mechanism which jointly regularizes the consistency of shape coefficients and segmentation",
"predictionsunderdifferent perturbations(n,n')onto theinferencedata.",
"率.i。e..",
"H×W),因为这是字典学习中产生稀疏系",
"Dual-consistency Regularized Test-time Update",
"数的通用解决方案。方程1中的优化问题可以使用完",
"通过将回归分支嵌人到网络中,形状先验已被集成以帮",
"善的在线字典学习算法(Mairaletal.2009)求解,",
"",
"助分割问题。然而,一个潜在的问题是,模型利用这些",
"算法迭代绘制每个图像掩模9i,以最小角度回归找到",
"先验信息的能力(i。e。,回归分支和原始网络的参数)",
"其稀疏系数,并以块坐标下降更新字典D。同时,这",
"是在狭窄的单域数据分布下学习的。当推广到具有分布",
"种学习算法是无参数的,因此不需要参数调整。我们在",
"偏移的看不见的域时,无法保证生成的形状系数的可靠",
"实验中表明,以这种方式学习的形状字典具有代表性,",
"性,这将限制有效利用形状先验。鉴于观察到在测试时",
"并且可以很好地推广到看不见的领域。",
"呈现的推理样本可以给我们一个关于其分布信息的提",
"将形状字典集成到深度网络中:在获得学习的形状字典",
"示,我们期望通过探索这个提示在测试时动态地调整模",
"后,我们进一步将其合并到深度模型中,旨在使分割能",
"型参数,以便在任何看不见的数据分布下都可以有效地",
"够使用来自这些形状先验的引用来执行,以促进泛化",
"利用形状先验来提高泛化性能",
"为此,我们在网络上嵌人了二个回归分支(参见图的左",
"至关重要的是,我们案例中的测试时更新应与回归分",
"侧。E1),它以给定样本的编码特征为输入,并根据样",
"本特征输出用于组合形状先验的形状系数。具体地",
"支紧密耦合,以确保在域移动下形状系数的正确性。为",
"此,我们将自适应表述为一致性正则化机制,可以灵活",
"将D中预先提取的形状先验根据形状系数α进行线性",
"地将其应用于原始网络以及嵌人式回归分支。具体来",
"组合,生成参考掩码:",
"说,如图的右侧部分所示。",
"1,给定测试时的推理数",
"K",
"据at,我们首先添加不同的扰动n和n(e。g。,将高",
"M=",
"d,aii",
"(2)",
"斯噪声加人网络参数的输入或dropout)到这个样本上",
"j=1",
"然后对模型进行正则化处理,对两个扰动样本产生一致",
"然后在解码器的最后一个卷积块之前与网络特征连",
"的预测,以探索这个测试数据的内在信息。重要的是",
"接,以进一步细化并生成最终的分割掩码。我们没有选",
"除了原始网络之外,为了完全适应回归分支的参数,我",
"择在早期层插入参考掩码,因为这需要对参考掩码进行",
"们将一致性正则化应用于分割预测和形状系数预测。背",
"下采样,这会在一定程度上破坏形状先验信息。借助嵌",
"后的直觉是,不同的输人扰动不应改变医学图像中包含",
"入式回归分支,可以通过共同探索样本特征以及从单域",
"的语义解剖结构,因此推理样本的最终分割掩码以及我",
"数据中提取的形状先验来得出模型预测,以提高模型泛",
"们的模型如何利用预先收集的形状先验(i。e。,形状系",
"化能力",
"数)组成掩码不应更改。形式上,这两个一致性正则化",
"为了为回归分支提供直接监督以提高参考掩码的质",
"项可以表示为:",
"量,我们将从公式E1(在字典学习过程中获得)优化",
"Csens(αt) = If(αt, n) -f(αt,n)ll2",
"的系数α作为α的地面实况。由于α在字典学习过程",
"at(n') .αt(n)",
"(4)",
"Ccoef(at) =1 -",
"α和α之间的距离,而不是L1或L2损失,表示为:",
"中被正则化为稀疏,因此我们采用余弦相似度来最小化",
"max(/at(n)l2.at(n)l/2,e)",
"Lregress(ai) = 1 -",
"ai.ai",
"其中Csen。(at)是具有均方误差损失的分割结果的",
"(3)",
"",
"致性正则化,其中f()表示网络,n和n是应用于相",
"同测试数据at的不同扰动;XcoMTHX形状的一致性。",
"max(I/α;l2 - lail|2, e)",
"其中e是设置为1e-8的小值,以避免。"
] | {
"arxiv_id": "2206.14467",
"language": "zh",
"page_idx": 2
} |
||
2206.07277-zh-1 | 2206.07277-zh-1.jpg | # $\square\square$平滑的$\square$物:在$\square\square\square\square$下通$\square\square$助分$\square$器使用自适□□□平滑σ行□棒□□
Jongwoo Ko$^{1*}$, Bongsoo Yi$^2*$, Se-Young Yun$^1$
$^{1}$Kim Jaechul Graduate School of AI, KAIST, Seoul, Korea
$^{2}$Department of Statistics and Operations Research, University of North Carolina at Chapel Hill
$\{$ jongwoo.ko, yunseyoung $\}$ @kaist.ac.kr, [email protected]
$\operatorname{Abstract}$
As deep neural networks can easily overfit noisy labels, robust training in the presence of noisy labels is becoming an important challenge in modern deep learning. While existing methods address this problem in various directions, they still produce unpredictable sub-optimal results since they rely on the posterior information estimated by the feature extractor corrupted by noisy labels. Lipschitz regularization successfully alleviates this problem by training a robust feature extractor, but it requires longer training time and expensive computations. Motivated by this, we propose a simple yet effective method, called ALASCA, which efficiently provides a robust feature extractor under label noise. ALASCA integrates two key ingredients: (1) adaptive label smoothing based on our theoretical analysis that label smoothing implicitly induces Lipschitz regularization, and (2) auxiliary classifers that enable practical application of intermediate Lipschitz regularization with negligible computations. We conduct wideranging experiments for ALASCA and combine our proposed method with previous noise-robust methods on several synthetic and real-world datasets. Experimental results show that our framework consistently improves the robustness of feature extractors and the performance of existing baselines with efficiency. Our code is available at https://github.com/jongwooko/ ALASCA.
## 1 Introduction
$\square$然深度神口口口(DNN)具有口高的表口能力,可以口口有希望的性能 ,但 DNN的成功在口大程度上取口于$\square\square\square\square$据的口量 ,尤其是准$\square\square\square\square$的口口示例。不幸的是,口口大口模口据集是一口口口且容易出口的口程, 甚至高口量的口据集也包含不正口的口口 (Nettleton, Orriols-Puig, and Fornells 2010; Zhang et al. 2017a) 因此,口口口口口口口的口面影口至口重要,口且已口提出了口多方法口提高口口口口口口据的口棒性,以便使用口$\square\square\square\square($LNL)口行口口。通常通口口口口口口本以口少其口口失 (Han et al. 2018; Mirzasoleiman, Cao, and Leskovec 2020) ,校正口口 (Yi and Wu 2019;Li, Socher, and Hoi 2020) 的口口 ,利用口棒的口失函口(Zhang and
$^{*}$The two authors contributed equally.
Copyright $\odot 2023, \text{Association for the \v {A}dvancementofAr- }$
tificial Intelligence ( www. aaai. org) . All rights reserved.
Sabuncu 2018;Wang et al. 2019) 口追求口口口口口的口棒性。然而 ,LNL方法的最大挑口之一是提供一口可口的口准口口分干口口据和口口口据,以便在口口口口口据的同口充分利用干口口据。口管口些口有方法在口口口口口口方面部分有效,但口口用于口口口口示例的口准使用了口自口性分口器或口口口口倒口第二口的有偏后口信息。口些不可口口的偏差可能口口致口分口于口和口口口例的能力降低 (Nguyen et al.2020;Kim et al. 2021a)。口了解口口口不期望的偏差,已口提出了口口正口化方法 (Xia et al. 2021; Cao et al. 2021) 口增強特征提取器的口棒性。然而 ,口管口有的基于正口化的口口口架口口了退化 ,但口些方法需要多口口口口段和相口大的口算成本,口且口以在口口中口用。Cao et al.(2021) 使用口口段口口口口第相口口据相口的正口化能力,以在中口口上口行Lipschitz正口化(LR)Xia et al.(2021) 口口口正口化了非口口口口,口些口口往往适合口口的$\square\square$ ,需要更$\square$的口口口口口。一些口究 (Zhang and Yao 2020;Zheltonozhskii et al. 2022) 口口了口比口口口口架, 以使用无口督方法生成高口量的特征提取器 ,口需要大量的口算才能口口高性能。口了口口口些不切口口的口口,我口口強大的特征提取器提供了一口口口而有效的$\square\square\square\square 架$ ,口通口口助ClAsilfer( ALASCA)口行的有效的LAbelSmoothing ,具有理口上的保口和少量的口外口算。我口提出的方法口口口口口本身具有口棒性,可以口一步提高口有LNL方法的性能。我口的主要口口如下:
$\bullet$ We theoretically explain that label smoothing (LS)
implicitly induces LR, which is known to enable robust training with noisy labels (Finlay et al.2018; Cao et al. 2021) . Through theoretical motivations, we empirically show that adaptive LS (ALS) can regularize noisy examples while fully exploiting clean examples.
$\bullet$ To practically implement adaptive LR on the intermediate layers, we propose ALASCA, which combines ALS with auxiliary classifiers. To the best of our knowledge, this is the frst study to apply auxiliary classifiers under label noise with theoretical evidence.
We experimentally demonstrate that ALASCA is universal by combining various LNL methods and validating that ALASCA consistently boosts robustness on benchmark-simulated and real-world datasets. | [
[
"0.2932",
"0.1256",
"0.7017",
"0.1237",
"0.7017",
"0.1414",
"0.2932",
"0.1433"
],
[
"0.392",
"0.1445",
"0.613",
"0.1445",
"0.613",
"0.1622",
"0.392",
"0.1622"
],
[
"0.3105",
"0.178",
"0.6914",
"0.178",
"0.6914",
"0.1957",
"0.3105",
"0.1957"
],
[
"0.282",
"0.1976",
"0.716",
"0.1995",
"0.716",
"0.214",
"0.282",
"0.2122"
],
[
"0.1478",
"0.2102",
"0.8486",
"0.2108",
"0.8486",
"0.2291",
"0.1478",
"0.2279"
],
[
"0.2917",
"0.2291",
"0.709",
"0.2291",
"0.709",
"0.2424",
"0.2917",
"0.2424"
],
[
"0.25",
"0.2734",
"0.3162",
"0.2734",
"0.3162",
"0.2886",
"0.25",
"0.2886"
],
[
"0.5215",
"0.2747",
"0.911",
"0.2747",
"0.911",
"0.2886",
"0.5215",
"0.2886"
],
[
"0.5215",
"0.2886",
"0.9126",
"0.2886",
"0.9126",
"0.3018",
"0.5215",
"0.3018"
],
[
"0.10455",
"0.2966",
"0.4617",
"0.2966",
"0.4617",
"0.31",
"0.10455",
"0.31"
],
[
"0.5215",
"0.3005",
"0.911",
"0.3018",
"0.911",
"0.3164",
"0.5215",
"0.315"
],
[
"0.10297",
"0.3093",
"0.4617",
"0.3093",
"0.4617",
"0.3225",
"0.10297",
"0.3225"
],
[
"0.1013",
"0.3208",
"0.4617",
"0.3213",
"0.4617",
"0.336",
"0.1013",
"0.3352"
],
[
"0.5215",
"0.3164",
"0.911",
"0.3164",
"0.911",
"0.33",
"0.5215",
"0.33"
],
[
"0.10297",
"0.334",
"0.4631",
"0.334",
"0.4631",
"0.348",
"0.10297",
"0.348"
],
[
"0.523",
"0.33",
"0.9126",
"0.33",
"0.9126",
"0.3435",
"0.523",
"0.3435"
],
[
"0.1013",
"0.3467",
"0.4631",
"0.3467",
"0.4631",
"0.3599",
"0.1013",
"0.3599"
],
[
"0.5215",
"0.3423",
"0.911",
"0.3435",
"0.911",
"0.358",
"0.5215",
"0.3567"
],
[
"0.10455",
"0.361",
"0.46",
"0.361",
"0.46",
"0.3718",
"0.10455",
"0.3718"
],
[
"0.523",
"0.3591",
"0.91",
"0.3591",
"0.91",
"0.3694",
"0.523",
"0.3694"
],
[
"0.10455",
"0.3738",
"0.4617",
"0.3738",
"0.4617",
"0.3838",
"0.10455",
"0.3838"
],
[
"0.523",
"0.3718",
"0.911",
"0.3718",
"0.911",
"0.385",
"0.523",
"0.385"
],
[
"0.10297",
"0.385",
"0.4617",
"0.385",
"0.4617",
"0.3984",
"0.10297",
"0.3984"
],
[
"0.5215",
"0.385",
"0.911",
"0.385",
"0.911",
"0.3984",
"0.5215",
"0.3984"
],
[
"0.1013",
"0.3977",
"0.4592",
"0.3977",
"0.4592",
"0.411",
"0.1013",
"0.411"
],
[
"0.523",
"0.3984",
"0.9126",
"0.3984",
"0.9126",
"0.4136",
"0.523",
"0.4136"
],
[
"0.10297",
"0.4104",
"0.46",
"0.4104",
"0.46",
"0.4236",
"0.10297",
"0.4236"
],
[
"0.5215",
"0.4136",
"0.911",
"0.4136",
"0.911",
"0.4268",
"0.5215",
"0.4268"
],
[
"0.10297",
"0.4224",
"0.4617",
"0.4224",
"0.4617",
"0.4363",
"0.10297",
"0.4363"
],
[
"0.523",
"0.4268",
"0.911",
"0.4268",
"0.911",
"0.44",
"0.523",
"0.44"
],
[
"0.1013",
"0.435",
"0.4631",
"0.435",
"0.4631",
"0.449",
"0.1013",
"0.449"
],
[
"0.523",
"0.4426",
"0.911",
"0.4426",
"0.911",
"0.4526",
"0.523",
"0.4526"
],
[
"0.10455",
"0.4495",
"0.4592",
"0.4495",
"0.4592",
"0.4602",
"0.10455",
"0.4602"
],
[
"0.10297",
"0.4602",
"0.4617",
"0.4602",
"0.4617",
"0.4734",
"0.10297",
"0.4734"
],
[
"0.5215",
"0.455",
"0.911",
"0.455",
"0.911",
"0.4685",
"0.5215",
"0.4685"
],
[
"0.10297",
"0.473",
"0.4617",
"0.473",
"0.4617",
"0.486",
"0.10297",
"0.486"
],
[
"0.523",
"0.4685",
"0.9126",
"0.4685",
"0.9126",
"0.4817",
"0.523",
"0.4817"
],
[
"0.10297",
"0.4849",
"0.4631",
"0.4849",
"0.4631",
"0.4988",
"0.10297",
"0.4988"
],
[
"0.523",
"0.4817",
"0.911",
"0.4817",
"0.911",
"0.4956",
"0.523",
"0.4956"
],
[
"0.10455",
"0.5",
"0.4617",
"0.5",
"0.4617",
"0.5103",
"0.10455",
"0.5103"
],
[
"0.523",
"0.4968",
"0.9126",
"0.4968",
"0.9126",
"0.5103",
"0.523",
"0.5103"
],
[
"0.1013",
"0.5103",
"0.46",
"0.509",
"0.46",
"0.5234",
"0.1013",
"0.5244"
],
[
"0.5215",
"0.509",
"0.9126",
"0.509",
"0.9126",
"0.5234",
"0.5215",
"0.5234"
],
[
"0.10455",
"0.5244",
"0.4592",
"0.5244",
"0.4592",
"0.535",
"0.10455",
"0.535"
],
[
"0.5215",
"0.5234",
"0.911",
"0.5234",
"0.911",
"0.537",
"0.5215",
"0.537"
],
[
"0.1013",
"0.535",
"0.4617",
"0.534",
"0.4617",
"0.549",
"0.1013",
"0.55"
],
[
"0.523",
"0.537",
"0.911",
"0.537",
"0.911",
"0.5503",
"0.523",
"0.5503"
],
[
"0.10297",
"0.549",
"0.4617",
"0.549",
"0.4617",
"0.5625",
"0.10297",
"0.5625"
],
[
"0.523",
"0.5503",
"0.9126",
"0.5503",
"0.9126",
"0.5645",
"0.523",
"0.5645"
],
[
"0.10297",
"0.561",
"0.4617",
"0.561",
"0.4617",
"0.5747",
"0.10297",
"0.5747"
],
[
"0.523",
"0.565",
"0.911",
"0.565",
"0.911",
"0.579",
"0.523",
"0.579"
],
[
"0.10455",
"0.5757",
"0.46",
"0.5757",
"0.46",
"0.586",
"0.10455",
"0.586"
],
[
"0.5215",
"0.579",
"0.911",
"0.579",
"0.911",
"0.5923",
"0.5215",
"0.5923"
],
[
"0.10455",
"0.5884",
"0.4617",
"0.5884",
"0.4617",
"0.5986",
"0.10455",
"0.5986"
],
[
"0.5215",
"0.5923",
"0.9126",
"0.5923",
"0.9126",
"0.606",
"0.5215",
"0.606"
],
[
"0.10455",
"0.601",
"0.46",
"0.601",
"0.46",
"0.6113",
"0.10455",
"0.6113"
],
[
"0.10297",
"0.6113",
"0.4592",
"0.6113",
"0.4592",
"0.625",
"0.10297",
"0.625"
],
[
"0.5376",
"0.608",
"0.899",
"0.608",
"0.899",
"0.6187",
"0.5376",
"0.6187"
],
[
"0.10297",
"0.6235",
"0.1805",
"0.625",
"0.1805",
"0.636",
"0.10297",
"0.6353"
],
[
"0.5254",
"0.6274",
"0.911",
"0.6274",
"0.911",
"0.6416",
"0.5254",
"0.6416"
],
[
"0.54",
"0.6426",
"0.91",
"0.6426",
"0.91",
"0.656",
"0.54",
"0.656"
],
[
"0.21",
"0.6577",
"0.2467",
"0.6577",
"0.2467",
"0.6685",
"0.21",
"0.6685"
],
[
"0.2418",
"0.6577",
"0.353",
"0.6577",
"0.353",
"0.672",
"0.2418",
"0.672"
],
[
"0.5415",
"0.656",
"0.914",
"0.656",
"0.914",
"0.6694",
"0.5415",
"0.6694"
],
[
"0.54",
"0.6694",
"0.9126",
"0.6704",
"0.9126",
"0.6846",
"0.54",
"0.683"
],
[
"0.08826",
"0.6753",
"0.478",
"0.6753",
"0.478",
"0.6895",
"0.08826",
"0.6895"
],
[
"0.5435",
"0.683",
"0.91",
"0.683",
"0.91",
"0.6963",
"0.5435",
"0.6963"
],
[
"0.08826",
"0.69",
"0.4763",
"0.69",
"0.4763",
"0.704",
"0.08826",
"0.704"
],
[
"0.5415",
"0.6978",
"0.9126",
"0.6978",
"0.9126",
"0.711",
"0.5415",
"0.711"
],
[
"0.08826",
"0.704",
"0.478",
"0.704",
"0.478",
"0.7173",
"0.08826",
"0.7173"
],
[
"0.08826",
"0.7173",
"0.4756",
"0.7173",
"0.4756",
"0.731",
"0.08826",
"0.731"
],
[
"0.5435",
"0.7134",
"0.613",
"0.7134",
"0.613",
"0.7246",
"0.5435",
"0.7246"
],
[
"0.08826",
"0.731",
"0.4763",
"0.731",
"0.4763",
"0.744",
"0.08826",
"0.744"
],
[
"0.527",
"0.7344",
"0.544",
"0.7344",
"0.544",
"0.741",
"0.527",
"0.741"
],
[
"0.539",
"0.731",
"0.911",
"0.731",
"0.911",
"0.744",
"0.539",
"0.744"
],
[
"0.08826",
"0.744",
"0.468",
"0.744",
"0.468",
"0.7583",
"0.08826",
"0.7583"
],
[
"0.5415",
"0.7456",
"0.911",
"0.7456",
"0.911",
"0.759",
"0.5415",
"0.759"
],
[
"0.08826",
"0.759",
"0.4763",
"0.759",
"0.4763",
"0.773",
"0.08826",
"0.773"
],
[
"0.5415",
"0.759",
"0.914",
"0.759",
"0.914",
"0.773",
"0.5415",
"0.773"
],
[
"0.0907",
"0.773",
"0.4763",
"0.7715",
"0.4763",
"0.786",
"0.0907",
"0.787"
],
[
"0.54",
"0.7715",
"0.91",
"0.773",
"0.91",
"0.787",
"0.54",
"0.786"
],
[
"0.08826",
"0.787",
"0.4763",
"0.787",
"0.4763",
"0.8003",
"0.08826",
"0.8003"
],
[
"0.5415",
"0.787",
"0.9126",
"0.787",
"0.9126",
"0.8003",
"0.5415",
"0.8003"
],
[
"0.08826",
"0.8003",
"0.478",
"0.8003",
"0.478",
"0.8145",
"0.08826",
"0.8145"
],
[
"0.5415",
"0.802",
"0.609",
"0.802",
"0.609",
"0.813",
"0.5415",
"0.813"
],
[
"0.0866",
"0.815",
"0.4722",
"0.815",
"0.4722",
"0.829",
"0.0866",
"0.829"
],
[
"0.523",
"0.8193",
"0.914",
"0.8184",
"0.914",
"0.8335",
"0.523",
"0.834"
],
[
"0.08496",
"0.829",
"0.478",
"0.829",
"0.478",
"0.8423",
"0.08496",
"0.8423"
],
[
"0.5415",
"0.834",
"0.9126",
"0.834",
"0.9126",
"0.8477",
"0.5415",
"0.8477"
],
[
"0.10706",
"0.851",
"0.3586",
"0.851",
"0.3586",
"0.8643",
"0.10706",
"0.8643"
],
[
"0.5435",
"0.8477",
"0.9087",
"0.8477",
"0.9087",
"0.8613",
"0.5435",
"0.8613"
],
[
"0.0866",
"0.863",
"0.478",
"0.863",
"0.478",
"0.877",
"0.0866",
"0.877"
],
[
"0.5415",
"0.8623",
"0.914",
"0.8623",
"0.914",
"0.8755",
"0.5415",
"0.8755"
],
[
"0.08496",
"0.8755",
"0.4436",
"0.8755",
"0.4436",
"0.8896",
"0.08496",
"0.8896"
],
[
"0.539",
"0.8735",
"0.607",
"0.8755",
"0.607",
"0.89",
"0.539",
"0.888"
]
] | [
"平滑的物:在下通助分器使用",
"自适平滑行棒",
"Jongwoo Kol*, Bongsoo Yi2*, Se-Young Yunl",
"1 Kim Jaechul Graduate School of AI, KAIST, Seoul, Korea",
"2 Department of Statistics and Operations Research, University of North Carolina at Chapel Hill",
"(jongwoo.ko, yunseyoung @kaist.ac.kr, [email protected]",
"Abstract",
"Sabuncu2018;Wangetal.2019)追求的",
"棒性。然而LNL方法的最大挑口之一是提供一可口的",
"As deep neural networks can easily overfit noisy la-",
"口准口口分千口口据和口口口据,以便在口口口口口据",
"bels, robust training in the presence of noisy labels",
"is becoming an important challenge in modern deep",
"的同口充分利用千口口据。口管口些口有方法在口口口",
"learning. While existing methods address this problem",
"口口口方面部分有效,但口口用于口口口口示例的口准",
"in various directions, they still produce unpredictable",
"使用了口自口性分口器或口口口口倒口第二口的有偏后",
"sub-optimal results sincetheyrely on the posterior in-",
"口信息。口此不可口口的偏差可能口口致口口分口千口",
"formationestimatedbythefeatureextractorcorrupted",
"和例的能力降低(Nguyenetal.2020;Kimetal.",
"by noisy labels. Lipschitz regularization successfully al-",
"2021a)。口了解口口口不期望的偏差,已口提出了口正",
"leviates this problem by training a robust feature ex",
"化方法(Xiaetal.2021;Caoetal.2021)增强特征",
"tractor, but it requires longer training time and ex-",
"提取器的口棒性。然而,口管口有的基于正口化的口口口",
"pensive computations. Motivated by this, we propose",
"架口口了退化,但口些方法需要多口口口口段和相口大",
"a simple yet effective method, called ALASCA, which",
"的口算成本口且口以在口口中口用。Caoetal.(2021)",
"efficiently provides a robust feature extractor under la",
"bel noise. ALASCA integrates two key ingredients: (1)",
"使用口口段口口口口算相口口据相口的正口化能力,以",
"adaptive label smoothing based on our theoretical anal-",
"在中口上行Lipschitz正口化(LR)Xia etal.(2021)",
"ysis that label smoothing implicitly induces Lipschitz",
"口口口正口化了非口口口口,口些口口往往适合口口的",
"regularization, and (2) auxiliary classifiers that enable",
"口,需要更的口。一些究(ZhangandYao",
"practical application of intermediate Lipschitz regular-",
"2020;Zheltonozhskii et al.2022)了比架",
"izationwithnegligible computations.We conduct wide",
"以使用无口督方法生成高口量的特征提取器,口需要大",
"ranging experiments for ALASCA and combine our",
"量的口算才能口口高性能。口了口口口些不切口口的口",
"proposed method with previous noise-robust methods",
"口,我口强大的特征提取器提供了一口而有效的",
"on several synthetic and real-world datasets, Experi-",
"架,通助CIAsilfier(ALASCA)口行的有效",
"mental results show that our framework consistently",
"的LAbelSmoothing,具有理口上的保口和少量的口外口",
"improvestherobustness offeature extractors andthe",
"算。我口提出的方法口口口口口本身具有口棒性,可以口",
"performance of existing baselines with efficiency.Our",
"code is available at https://github.com/jongwooko/",
"步提高口有LNL方法的性能。我口的主要口口如下:",
"ALASCA:",
": We theoretically explain that label smoothing (LS)",
"implicitly induces LR, which is known to enable ro-",
"1",
"Introduction",
"bust training with noisy labels (Finlay et al. 2018;",
"Cao et al. 2021) . Through theoretical motivations,",
"口然深度神口口口(DNN)具有口高的表口能力,可以口",
"we empirically show that adaptive LS (ALS) can reg",
"口有希望的性能,但DNN的成功在口大程度上取口于",
"ularize noisy examples while fully exploiting clean",
"口口口据的口量,尤其是准口口口的口口示例。不幸的",
"是,口口大口模口据集是一口口口且容易出口的口程",
"examples.",
"甚至高口量的口据集也包含不正口的口口(Nettleton.",
"?",
"To practically implement adaptive LR on the inter-",
"Orriols-Puig, and Fornells 2010; Zhang et al. 2017a)",
"mediate layers, we propose ALASCA, which com-",
"因此,口口口口口口的口面影口至口重要,口且已口提出",
"bines ALS with auxiliary classifiers. To the best of",
"了口多方法口提高口口口口口据的口棒性,以便使用口",
"our knowledge, this is the first study to apply aux-",
"OO口(LNL)口行OO。通常通口OOOOO本以口",
"iliary classifiers under label noise with theoretical",
"少其失(Han et al.2018;Mirzasoleiman,Cao,and",
"evidence.",
"Leskovec2020),校正(Yiand Wu2019;Li,Socher",
": We experimentally demonstrate that ALASCA is",
"andHoi2020)的,利用棒的失函(Zhangand",
"universal by combining various LNL methods and",
"*The two authors contributed equally.",
"validating that ALASCA consistently boosts ro",
"Copyright 2023, Association for the Advancement of Ar-",
"bustness on benchmark-simulated and real-world",
"tificial Intelligence (www.aaai.org). All rights reserved.",
"datasets."
] | {
"arxiv_id": "2206.07277",
"language": "zh",
"page_idx": 1
} |
||
2104.05458-zh-4 | 2104.05458-zh-4.jpg | <FigureHere>
Figure 3: The pipeline of PGNet: 1) Extract feature from an input image, and learn TCL, TBO, TDO, TCC maps as a multi-task problem; 2) The detection and recognition of each text instance can be achieved in a single shot by polygon restoration and PG-CTC decoding mechanism with the center point sequence of each text region.
分类概率序列,可以将其表示为
(1)
$$P_\pi=gather(TCC,\pi),$$
居上执行手动定义的卷积。有关 GCN 的更多详细信息,请参阅 (Wu et al. 2020) 。在应用方面,GCN 被证明在许多计算机视觉任务中是有效的,包括场景图生成、点云分类和动作识别。例如,Zhang et al. $\underline{\mathrm{E}}(2020)$ 提出了一种关系推理图网络,用于通过预测文本组件的链接来检测任意形状的文本。在本文中,我们采用空间GCN 来推理点与其邻居之间的语义信息,以改善 CTC 识别
3 Methodology
其中$\pi=\{p_1,p_2,\ldots,p_N\}$是长度为$N$和$p_i=(x_i,y_i)$ 的中心点序列。输出$P_\pi$是大小为$N\times37$的字符分类概率序列
在训练过程中,建议的 PG-CTC 损失使像素级 TCC 图的训练不受字符级注释的影响。典型的 CTC 损失函数解决了具有背景类的长度不一致的源和目标序列的训练问题。CRNN (Shi,Bai, and Yao 2017) 框架将特征图的高度转换为 1, 在识别弯曲文本时可能会受到背景噪声的影响。2D-CTC (Wan et al. 2019) 将 CTC 的搜索路径扩展到二维空间,但仍然无法处理具有多个文本实例的图像。在这里,我们通过 PG-CTC 解决了这个问题, 并将经典的 CTC 损失表示为$CTC\_loss(P,L)$ ,其中$P$ 是字符分类概率序列$,L$是其转录标签。对于具有$M$文本实例的图像,假设中心点坐标序列为$\left\{\pi_1,\pi_1,...,\pi_M\right\}$
并且相应的抄本标签为$\{L_1,L_1,...,L_M\}$ ,则我们将
PG- CTC损失定义为
我们提出的方法的体系结构如图所示。3 。首先,输人图像被馈送到具有 FPN 的主干以产生特征$F_{visual}$ 。然后,使用$F_visual$通过以输入图像的1/4大小并行的多任务学习来预测 TCL, TBO, TDO 和像素级 TCC 图。在训练期间,TCL, TBO 和 TDO 由相同的比例标签图监督,同时提出了 PG-CTC 损失来训练像素级TCC 图,以解决字符级注释的缺乏。在推理期间,我们从 TCL 中提取每个文本实例的中心点序列,并将它们与 TDO 信息进行排序,以恢复正确的阅读顺序,使我们的方法正确地识别非传统阅读方向的文本。借助来自 TBO 的相应边界偏移信息,可以通过多边形恢复在单次拍摄中实现每个文本实例的检测。同时,PG-CTC 解码器可以将高级二维 TCC 映射序列化为字符分类概率序列,并将其解码为最终的文本识别结果
(2)
$$L_{PG-CTC}=\sum_{i=1}^MCTC_loss(P_{\pi_i},L_i),$$
## 3.1 Point Gathering CTC
,我们可以计算多边形单词级注释的中心线并对其进行密集采样,以在训练过程中获得中心点序列$\pi_i$,而不是使用字符级。通过大数据的训练,可以学习 TCC 中每个像素的字符分类信息
在推理过程中,PG-CTC 解码器大大简化了端到端任意形状文本侦听器的整体流水线,并且在 PGNet 中不需要 NMS 和 RoI 操作。对于 TCL 地图中的一个文本区域,我们提取一个中心点序列,并按照正确的阅读顺序对其进行排序,可以将其捐赠为$\pi$。具体来说,我
点收集 (PG) 操作在 PGNet 的训练和推理过程中起着重要作用,有助于摆脱字符级注释,NMS 和 RoI 操作。PGNet 的 TCC 地图是 37 个字符的地图,包括 26 个字母,10 个阿拉伯数字和一个背景类。点收集操作用于根据每个文本区域中心的中心点从 TCC 图中收集字符 | [
[
"0.10455",
"0.0789",
"0.267",
"0.0789",
"0.267",
"0.09216",
"0.10455",
"0.09216"
],
[
"0.3945",
"0.07574",
"0.4468",
"0.06946",
"0.4495",
"0.0789",
"0.398",
"0.0852"
],
[
"0.5605",
"0.0789",
"0.6807",
"0.0789",
"0.6807",
"0.09216",
"0.5605",
"0.09216"
],
[
"0.7876",
"0.0808",
"0.857",
"0.0808",
"0.857",
"0.09534",
"0.7876",
"0.09534"
],
[
"0.6167",
"0.1016",
"0.6274",
"0.1016",
"0.6274",
"0.113",
"0.6167",
"0.113"
],
[
"0.3218",
"0.0821",
"0.3628",
"0.0821",
"0.3628",
"0.0966",
"0.3218",
"0.0966"
],
[
"0.3162",
"0.1029",
"0.3545",
"0.1029",
"0.3545",
"0.11426",
"0.3162",
"0.11426"
],
[
"0.1503",
"0.1092",
"0.2214",
"0.108",
"0.2214",
"0.1237",
"0.1503",
"0.125"
],
[
"0.312",
"0.10986",
"0.3694",
"0.1067",
"0.3718",
"0.1256",
"0.3145",
"0.1288"
],
[
"0.392",
"0.108",
"0.4795",
"0.1111",
"0.478",
"0.1332",
"0.3906",
"0.13"
],
[
"0.5825",
"0.11743",
"0.66",
"0.11743",
"0.66",
"0.1288",
"0.5825",
"0.1288"
],
[
"0.79",
"0.11237",
"0.853",
"0.11237",
"0.853",
"0.1237",
"0.79",
"0.1237"
],
[
"0.2222",
"0.13",
"0.2378",
"0.1256",
"0.2418",
"0.1351",
"0.2263",
"0.1395"
],
[
"0.3186",
"0.1515",
"0.3586",
"0.1515",
"0.3586",
"0.1674",
"0.3186",
"0.1674"
],
[
"0.513",
"0.1497",
"0.544",
"0.1497",
"0.544",
"0.1666",
"0.513",
"0.1666"
],
[
"0.7915",
"0.1528",
"0.853",
"0.1528",
"0.853",
"0.1642",
"0.7915",
"0.1642"
],
[
"0.7646",
"0.1604",
"0.88",
"0.1635",
"0.8784",
"0.1895",
"0.763",
"0.1863"
],
[
"0.3179",
"0.1692",
"0.3555",
"0.1692",
"0.3555",
"0.1812",
"0.3179",
"0.1812"
],
[
"0.134",
"0.1812",
"0.2402",
"0.1849",
"0.2385",
"0.2084",
"0.1323",
"0.2039"
],
[
"0.3105",
"0.1787",
"0.367",
"0.1718",
"0.3708",
"0.1913",
"0.3145",
"0.1989"
],
[
"0.613",
"0.2026",
"0.722",
"0.2039",
"0.722",
"0.2184",
"0.613",
"0.2172"
],
[
"0.3186",
"0.2229",
"0.3628",
"0.2229",
"0.3628",
"0.2374",
"0.3186",
"0.2374"
],
[
"0.3105",
"0.2374",
"0.3757",
"0.2374",
"0.3757",
"0.2715",
"0.3105",
"0.2715"
],
[
"0.661",
"0.238",
"0.7134",
"0.2405",
"0.7134",
"0.252",
"0.661",
"0.25"
],
[
"0.6587",
"0.25",
"0.709",
"0.25",
"0.709",
"0.26",
"0.6587",
"0.26"
],
[
"0.7646",
"0.2551",
"0.869",
"0.2551",
"0.869",
"0.2651",
"0.7646",
"0.2651"
],
[
"0.2778",
"0.2683",
"0.308",
"0.2708",
"0.3064",
"0.2822",
"0.2769",
"0.2798"
],
[
"0.649",
"0.2842",
"0.7075",
"0.2842",
"0.7075",
"0.2942",
"0.649",
"0.2942"
],
[
"0.3162",
"0.2917",
"0.3677",
"0.2917",
"0.3677",
"0.307",
"0.3162",
"0.307"
],
[
"0.3162",
"0.3062",
"0.3757",
"0.3164",
"0.3708",
"0.332",
"0.3105",
"0.3213"
],
[
"0.5825",
"0.303",
"0.665",
"0.303",
"0.665",
"0.3132",
"0.5825",
"0.3132"
],
[
"0.1217",
"0.3193",
"0.2484",
"0.3193",
"0.2484",
"0.3333",
"0.1217",
"0.3333"
],
[
"0.3162",
"0.324",
"0.3506",
"0.324",
"0.3506",
"0.3333",
"0.3162",
"0.3333"
],
[
"0.523",
"0.324",
"0.9004",
"0.324",
"0.9004",
"0.3372",
"0.523",
"0.3372"
],
[
"0.246",
"0.3516",
"0.3718",
"0.3516",
"0.3718",
"0.3623",
"0.246",
"0.3623"
],
[
"0.675",
"0.3528",
"0.7607",
"0.3528",
"0.7607",
"0.3643",
"0.675",
"0.3643"
],
[
"0.0866",
"0.3757",
"0.9126",
"0.3757",
"0.9126",
"0.3901",
"0.0866",
"0.3901"
],
[
"0.0866",
"0.3914",
"0.91",
"0.3914",
"0.91",
"0.4016",
"0.0866",
"0.4016"
],
[
"0.08496",
"0.404",
"0.8486",
"0.4028",
"0.8486",
"0.4172",
"0.08496",
"0.4185"
],
[
"0.08826",
"0.4443",
"0.4763",
"0.4443",
"0.4763",
"0.459",
"0.08826",
"0.459"
],
[
"0.523",
"0.4458",
"0.749",
"0.4458",
"0.749",
"0.459",
"0.523",
"0.459"
],
[
"0.08905",
"0.459",
"0.478",
"0.459",
"0.478",
"0.473",
"0.08905",
"0.473"
],
[
"0.6357",
"0.4666",
"0.796",
"0.4666",
"0.796",
"0.481",
"0.6357",
"0.481"
],
[
"0.8896",
"0.4673",
"0.914",
"0.4673",
"0.914",
"0.481",
"0.8896",
"0.481"
],
[
"0.0907",
"0.4749",
"0.4756",
"0.4749",
"0.4756",
"0.4849",
"0.0907",
"0.4849"
],
[
"0.08905",
"0.4873",
"0.4756",
"0.4873",
"0.4756",
"0.5005",
"0.08905",
"0.5005"
],
[
"0.5312",
"0.488",
"0.911",
"0.488",
"0.911",
"0.5024",
"0.5312",
"0.5024"
],
[
"0.08826",
"0.5005",
"0.4763",
"0.5005",
"0.4763",
"0.5146",
"0.08826",
"0.5146"
],
[
"0.5215",
"0.502",
"0.9126",
"0.502",
"0.9126",
"0.5166",
"0.5215",
"0.5166"
],
[
"0.08826",
"0.515",
"0.4763",
"0.515",
"0.4763",
"0.529",
"0.08826",
"0.529"
],
[
"0.5195",
"0.515",
"0.5864",
"0.513",
"0.5864",
"0.528",
"0.5195",
"0.53"
],
[
"0.0866",
"0.528",
"0.4763",
"0.528",
"0.4763",
"0.5425",
"0.0866",
"0.5425"
],
[
"0.536",
"0.529",
"0.9126",
"0.528",
"0.9126",
"0.5425",
"0.536",
"0.5435"
],
[
"0.08826",
"0.5435",
"0.1217",
"0.5435",
"0.1217",
"0.5547",
"0.08826",
"0.5547"
],
[
"0.5195",
"0.5425",
"0.911",
"0.5415",
"0.911",
"0.556",
"0.5195",
"0.5566"
],
[
"0.523",
"0.5566",
"0.911",
"0.5566",
"0.911",
"0.571",
"0.523",
"0.571"
],
[
"0.2051",
"0.5674",
"0.3555",
"0.571",
"0.3555",
"0.5884",
"0.2051",
"0.5854"
],
[
"0.5215",
"0.5693",
"0.9126",
"0.571",
"0.9126",
"0.5854",
"0.5215",
"0.584"
],
[
"0.5215",
"0.5854",
"0.9126",
"0.5854",
"0.9126",
"0.5986",
"0.5215",
"0.5986"
],
[
"0.0866",
"0.5923",
"0.3635",
"0.5923",
"0.3635",
"0.606",
"0.0866",
"0.606"
],
[
"0.3774",
"0.5933",
"0.4763",
"0.5933",
"0.4763",
"0.605",
"0.3774",
"0.605"
],
[
"0.08826",
"0.603",
"0.4805",
"0.605",
"0.4805",
"0.6226",
"0.08826",
"0.6206"
],
[
"0.5215",
"0.5986",
"0.911",
"0.5986",
"0.911",
"0.6123",
"0.5215",
"0.6123"
],
[
"0.5215",
"0.613",
"0.911",
"0.613",
"0.911",
"0.627",
"0.5215",
"0.627"
],
[
"0.08826",
"0.6206",
"0.478",
"0.6206",
"0.478",
"0.634",
"0.08826",
"0.634"
],
[
"0.523",
"0.627",
"0.91",
"0.627",
"0.91",
"0.64",
"0.523",
"0.64"
],
[
"0.08905",
"0.634",
"0.4763",
"0.634",
"0.4763",
"0.648",
"0.08905",
"0.648"
],
[
"0.523",
"0.64",
"0.9126",
"0.64",
"0.9126",
"0.654",
"0.523",
"0.654"
],
[
"0.08905",
"0.648",
"0.478",
"0.648",
"0.478",
"0.661",
"0.08905",
"0.661"
],
[
"0.523",
"0.655",
"0.9126",
"0.655",
"0.9126",
"0.6685",
"0.523",
"0.6685"
],
[
"0.08826",
"0.661",
"0.4763",
"0.661",
"0.4763",
"0.675",
"0.08826",
"0.675"
],
[
"0.5215",
"0.6665",
"0.9087",
"0.6685",
"0.9087",
"0.683",
"0.5215",
"0.681"
],
[
"0.08826",
"0.675",
"0.478",
"0.675",
"0.478",
"0.688",
"0.08826",
"0.688"
],
[
"0.5254",
"0.6816",
"0.91",
"0.6816",
"0.91",
"0.6963",
"0.5254",
"0.6963"
],
[
"0.08826",
"0.688",
"0.4763",
"0.688",
"0.4763",
"0.702",
"0.08826",
"0.702"
],
[
"0.5215",
"0.6943",
"0.6724",
"0.696",
"0.6724",
"0.709",
"0.5215",
"0.7085"
],
[
"0.08826",
"0.7026",
"0.478",
"0.7026",
"0.478",
"0.7163",
"0.08826",
"0.7163"
],
[
"0.08826",
"0.7173",
"0.4763",
"0.7173",
"0.4763",
"0.731",
"0.08826",
"0.731"
],
[
"0.681",
"0.7153",
"0.701",
"0.7153",
"0.701",
"0.728",
"0.681",
"0.728"
],
[
"0.08826",
"0.729",
"0.4763",
"0.73",
"0.4763",
"0.744",
"0.08826",
"0.7437"
],
[
"0.5825",
"0.729",
"0.683",
"0.731",
"0.683",
"0.7456",
"0.5825",
"0.7437"
],
[
"0.6772",
"0.729",
"0.8506",
"0.729",
"0.8506",
"0.7437",
"0.6772",
"0.7437"
],
[
"0.8896",
"0.729",
"0.9126",
"0.729",
"0.9126",
"0.742",
"0.8896",
"0.742"
],
[
"0.08905",
"0.7437",
"0.4756",
"0.7437",
"0.4756",
"0.757",
"0.08905",
"0.757"
],
[
"0.6772",
"0.742",
"0.7017",
"0.744",
"0.699",
"0.7583",
"0.675",
"0.756"
],
[
"0.08826",
"0.7583",
"0.478",
"0.7583",
"0.478",
"0.7715",
"0.08826",
"0.7715"
],
[
"0.5337",
"0.763",
"0.911",
"0.7646",
"0.911",
"0.779",
"0.5337",
"0.778"
],
[
"0.08826",
"0.773",
"0.398",
"0.773",
"0.398",
"0.786",
"0.08826",
"0.786"
],
[
"0.523",
"0.779",
"0.9126",
"0.779",
"0.9126",
"0.7925",
"0.523",
"0.7925"
],
[
"0.523",
"0.7915",
"0.911",
"0.7905",
"0.911",
"0.8047",
"0.523",
"0.806"
],
[
"0.08826",
"0.8003",
"0.1323",
"0.8003",
"0.1323",
"0.811",
"0.08826",
"0.811"
],
[
"0.1259",
"0.8",
"0.3057",
"0.8",
"0.3057",
"0.813",
"0.1259",
"0.813"
],
[
"0.5215",
"0.806",
"0.701",
"0.806",
"0.701",
"0.8193",
"0.5215",
"0.8193"
],
[
"0.08905",
"0.8193",
"0.4756",
"0.8193",
"0.4756",
"0.8335",
"0.08905",
"0.8335"
],
[
"0.536",
"0.8193",
"0.9126",
"0.8193",
"0.9126",
"0.8335",
"0.536",
"0.8335"
],
[
"0.08905",
"0.8335",
"0.4756",
"0.8335",
"0.4756",
"0.8467",
"0.08905",
"0.8467"
],
[
"0.5195",
"0.832",
"0.911",
"0.8335",
"0.911",
"0.8477",
"0.5195",
"0.8467"
],
[
"0.0866",
"0.845",
"0.4763",
"0.8467",
"0.4763",
"0.8613",
"0.0866",
"0.86"
],
[
"0.523",
"0.8467",
"0.911",
"0.8467",
"0.911",
"0.8613",
"0.523",
"0.8613"
],
[
"0.08826",
"0.8613",
"0.4763",
"0.8613",
"0.4763",
"0.8755",
"0.08826",
"0.8755"
],
[
"0.5195",
"0.86",
"0.9126",
"0.8613",
"0.9126",
"0.8755",
"0.5195",
"0.875"
],
[
"0.08826",
"0.8755",
"0.478",
"0.8755",
"0.478",
"0.8896",
"0.08826",
"0.8896"
],
[
"0.5215",
"0.8755",
"0.9126",
"0.8755",
"0.9126",
"0.8896",
"0.5215",
"0.8896"
]
] | [
"Input Image:hxwx3",
"爱",
"Detection Branch",
"AND",
"1",
"TBO",
"hw",
"AND",
"4××4",
"um",
"InstanceInfo",
"RANDYS",
"S",
"TCL",
"CC",
"DONUTS",
"DONUTS",
"hw",
"DONUTS",
"**x1",
"/Center Point Seq",
"TDO",
"xx",
"Fsemantic",
"皖AM3C",
"RR-A-N-DDY-SS",
"Fvisual",
"1×1x37×64",
"TCC*",
"hW×37",
"PG-CTC Decoder",
"Feature Extraction",
"44",
"*TheTCC map is trained without character-level annotations",
"NetworkInference",
"PostProcess",
"Figure 3: The pipeline of PGNet: 1) Extract feature from an input image, and learn TCL, TBO, TDO, TCC maps",
"as amulti-taskproblem:2)The detection and recognition of eachtext instance can beachieved ina single shot by",
"polygon restoration and PG-CTC decoding mechanism with the center point sequence of each text region.",
"居上执行手动定义的卷积。有关GCN的更多详细信",
"分类概率序列,可以将其表示为",
"息,请参阅(Wuetal.2020)。在应用方面,GCN被",
"P元 = gather(TCC,元),",
"(1)",
"证明在许多计算机视觉任务中是有效的,包括场景图生",
"成、点云分类和动作识别。例如,Zhangetal.E(2020)",
"其中元=(p1,P2,.·p)是长度为N和pi=(iy)",
"提出了一种关系推理图网络,用于通过预测文本组件的",
"的中心点序列。输出P元是大小为N×37的字符分类",
"链接来检测任意形状的文本。在本文中,我们采用空间",
"概率序列",
"GCN来推理点与其邻居之间的语义信息,以改善CTC",
"在训练过程中,建议的PG-CTC损失使像素级TCC",
"识别",
"图的训练不受字符级注释的影响。典型的CTC损失函",
"数解决了具有背景类的长度不一致的源和目标序列的",
"3Methodology",
"训练问题。CRNN(Shi,Bai,andYao2017)框架将特征",
"图的高度转换为1,在识别弯曲文本时可能会受到背景",
"我们提出的方法的体系结构如图所示。",
"3。首先,输",
"人图像被馈送到具有FPN的主干以产生特征Fuisual。",
"噪声的影响。2D-CTC(Wanetal.2019)将CTC的搜索",
"路径扩展到二维空间,但仍然无法处理具有多个文本实",
"然后,使用Fuisual通过以输人图像的1/4大小并行的",
"例的图像。在这里,我们通过PG-CTC解决了这个问题",
"多任务学习来预测TCL,TBO,TDO和像素级TCC",
"并将经典的CTC损失表示为CTC_loss(P,L),其中P",
"图。在训练期间,TCL,TBO和TDO由相同的比例",
"是字符分类概率序列,L是其转录标签。对于具有M文",
"标签图监督,同时提出了PG-CTC损失来训练像素级",
"本实例的图像,假设中心点坐标序列为【元1,元1,,元M",
"TCC图,以解决字符级注释的缺乏。在推理期间,我",
",并且相应的抄本标签为{L1,L1.,LM),则我们将",
"们从TCL中提取每个文本实例的中心点序列,并将它",
"PG-CTC损失定义为",
"们与TDO信息进行排序,以恢复正确的阅读顺序,使",
"我们的方法正确地识别非传统阅读方向的文本。借助来",
"M",
"自TBO的相应边界偏移信息,可以通过多边形恢复在",
"LPG-CTC =",
"CTC_loss(P,Li),",
"(2)",
"单次拍摄中实现每个文本实例的检测。同时,PG-CTC",
"",
"解码器可以将高级二维TCC映射序列化为字符分类概",
"我们可以计算多边形单词级注释的中心线并对其进行",
"率序列,并将其解码为最终的文本识别结果",
"密集采样,以在训练过程中获得中心点序列元,而不",
"是使用字符级。通过大数据的训练,可以学习TCC中",
"3.1",
"Point Gathering CTC",
"每个像素的字符分类信息",
"点收集(PG)操作在PGNet的训练和推理过程中起着",
"在推理过程中,PG-CTC解码器大大简化了端到端",
"重要作用,有助于摆脱字符级注释,NMS和RoI操作,",
"任意形状文本侦听器的整体流水线,并且在PGNet中",
"PGNet的TCC地图是37个字符的地图,包括26个",
"不需要NMS和 RoI操作。对于TCL地图中的一个文",
"字母,10个阿拉伯数字和一个背景类。点收集操作用于",
"本区域,我们提取一个中心点序列,并按照正确的阅读",
"根据每个文本区域中心的中心点从TCC图中收集字符",
"顺序对其进行排序,可以将其捐赠为元。具体来说,我"
] | {
"arxiv_id": "2104.05458",
"language": "zh",
"page_idx": 4
} |
||
2006.09503-zh-0 | 2006.09503-zh-0.jpg | Memory-Efficient Pipeline-Parallel DNN Training
Deepak Narayanan$^1^*$ Amar Phanishayee$^2\text{ Kaiyu Shi}^3$ Xie Chen$^3\text{ Matei Zaharia}^1$
???。3in
Abstract
资源利用率不足E(Narayanan et al.,2019)或仅在多GPU 服务器E(Shoeybi et al.,2019) 内具有良好可扩展性的高通信开销,从而增加了训练时间和美元成本最近的工作提出了流水线模型并行性,以加速模型并行训练。例如,GPipe (Huang et al.,2019)和PipeDream (Harlap et al., 2018; Narayanan et al., 2019) 通过一系列各自管理一个模型分区的 worker 依次推送多个输入,允许不同的 worker 并行处理不同的输入。由于特定输入的向前和向后传递之间的权重版本不一致,Naïve 流水线可能会损害模型收敛。现有技术以不同的方式权衡内存占用和吞吐量,以避免这种情况。GPipe 维护单个权重版本,但具有定期的管道刷新,其中管道会耗尽输入以更新权重(图Ela );这些刷新会限制资源空闲时的整体吞吐量。PipeDream 不会定期刷新管道,而是存储多个权重版本,这增加了吞吐量,但也增加了内存占用,由于内存限制,使得大型模型的训练不可行。大型模型的高效训练需要具有高吞吐量和低内存占用的方法
此外,管道并行系统的性能取决于 DNN 模型运算符在工作线程上的划分方式。这是具有挑战性的三个原
Many state-of-the-art ML results have been obtained by scaling up the number of parameters in existing models. However, parameters and activations for such large models often do not ft in the memory of a single accelerator device; this means that it is necessary to distribute training of large models over multiple accelerators. In this work, we propose PipeDream-2BW ,a system that supports memory-efficient pipeline parallelism. PipeDream-2BW uses a novel pipelining and weight gradient coalescing strategy, combined with the double buffering of weights, to ensure high throughput, low memory footprint, and weight update semantics similar to data parallelism. In addition, PipeDream- 2BW automatically partitions the model over the available hardware resources, while respecting hardware constraints such as memory capacities of accelerators and interconnect topologies. PipeDream-2BW can accelerate the training of large GPT and BERT language models by up to 20 × with similar final model accuracy.
因:
$\bullet$ Memory Capacity Constraints: Parameters and in-
termediate activations associated with a model partition need to ft in the main device memory of the $\operatorname{accelerator}$
$\bullet$ Heterogeneous Network Interconnects: Training
deployments today feature heterogeneous network topologies, with higher-bandwidth links between devices on the same server.
$\bullet$ Large Search Space for Operator Placement: As model sizes increase, splitting an operator graph becomes computationally expensive since the number of distinct partitionings is exponential in the model size.
在本文中,我们介绍了 PipeDream-2BW ,这是一个用于对具有数十亿个参数的 DNN 模型进行高效流水线并行训练的系统。PipeDream-2BW 使用两个关键贡献实现高吞吐量和低内存占用。首先,我们提出了双缓冲权重更新(2BW),该技术可减少训练的内存占用,同时避免管道刷新。我们利用这样一个事实, 即每个输入的生成梯度不需要立即应用于权重,而是可以累积到“合并”梯度中以限制维护的权重版本的数量。2BW 不是在使用新更新的权重之前刷新管道,
## 1. Introduction
为了在一系列任务中实现更高的精度,DNN 模型的规模不断增长,通常是通过扩大现有架构中的参数数量来实现的 (Devlin et al., 2018; Radford et al., 2018; 2019; Brown et al., 2020) 。训练具有数十亿个参数的大型模型具有挑战性。现代加速器的内存有限,这意味着训练期间需要在加速器内存中的模型参数和中间输出可能不适合单个加速器。研究人员和从业者转向的解决方案之一是模型并行训练 (Dean et al., 2012; Chilimbi et al., 2014) , 其中一个模型被划分为多个加速器设备。但是,传统部署时,模型并行性可能会导致
$^{*}$Work done in part as intern at Microsoft Research. $\begin{array}{cc}{{\mathrm{Stanford~University~}^{2}}}&{{\mathrm{Microsoft~Research~}^{3}}}\\{{\mathrm{Mi-1}}}\\{{\mathrm{Stanford~Comondron~to.Dond~Nonon~}}}\end{array}$ crosoft . Correspondence to: Deepak Narayanan < deep- $\operatorname{[email protected]}>.$
Proceedings of the 38$^{th}$ International Conference on Machine Learning, PMLR 139, 2021. Copyright 2021 by the author(s). | [
[
"0.2378",
"0.11237",
"0.7363",
"0.113",
"0.7363",
"0.1307",
"0.2378",
"0.13"
],
[
"0.1732",
"0.1787",
"0.7974",
"0.1787",
"0.7974",
"0.1932",
"0.1732",
"0.1932"
],
[
"0.08826",
"0.1945",
"0.1528",
"0.1963",
"0.152",
"0.2122",
"0.0866",
"0.2102"
],
[
"0.2427",
"0.2058",
"0.3203",
"0.2084",
"0.3203",
"0.226",
"0.2427",
"0.2235"
],
[
"0.5024",
"0.209",
"0.884",
"0.209",
"0.884",
"0.2235",
"0.5024",
"0.2235"
],
[
"0.1209",
"0.2291",
"0.4395",
"0.2291",
"0.4395",
"0.2424",
"0.1209",
"0.2424"
],
[
"0.5024",
"0.2247",
"0.8813",
"0.2247",
"0.8813",
"0.2393",
"0.5024",
"0.2393"
],
[
"0.1217",
"0.2443",
"0.4395",
"0.2443",
"0.4395",
"0.2583",
"0.1217",
"0.2583"
],
[
"0.5024",
"0.2405",
"0.8774",
"0.2405",
"0.8774",
"0.254",
"0.5024",
"0.254"
],
[
"0.1209",
"0.2588",
"0.4412",
"0.2588",
"0.4412",
"0.2734",
"0.1209",
"0.2734"
],
[
"0.5024",
"0.262",
"0.8857",
"0.262",
"0.8857",
"0.276",
"0.5024",
"0.276"
],
[
"0.1217",
"0.2747",
"0.4412",
"0.2747",
"0.4412",
"0.2886",
"0.1217",
"0.2886"
],
[
"0.5024",
"0.2778",
"0.8857",
"0.2778",
"0.8857",
"0.2917",
"0.5024",
"0.2917"
],
[
"0.1217",
"0.289",
"0.4412",
"0.289",
"0.4412",
"0.303",
"0.1217",
"0.303"
],
[
"0.5024",
"0.2922",
"0.8823",
"0.2922",
"0.8823",
"0.3062",
"0.5024",
"0.3062"
],
[
"0.1217",
"0.3037",
"0.4412",
"0.3037",
"0.4412",
"0.3176",
"0.1217",
"0.3176"
],
[
"0.5024",
"0.308",
"0.8857",
"0.308",
"0.8857",
"0.3213",
"0.5024",
"0.3213"
],
[
"0.1217",
"0.3193",
"0.4412",
"0.3193",
"0.4412",
"0.3333",
"0.1217",
"0.3333"
],
[
"0.5024",
"0.324",
"0.884",
"0.324",
"0.884",
"0.3372",
"0.5024",
"0.3372"
],
[
"0.1217",
"0.3352",
"0.437",
"0.3352",
"0.437",
"0.3452",
"0.1217",
"0.3452"
],
[
"0.5024",
"0.3384",
"0.884",
"0.3384",
"0.884",
"0.3528",
"0.5024",
"0.3528"
],
[
"0.1217",
"0.3499",
"0.4395",
"0.3499",
"0.4395",
"0.363",
"0.1217",
"0.363"
],
[
"0.5034",
"0.3547",
"0.8813",
"0.3547",
"0.8813",
"0.3655",
"0.5034",
"0.3655"
],
[
"0.1209",
"0.3643",
"0.437",
"0.363",
"0.437",
"0.3774",
"0.1209",
"0.379"
],
[
"0.5024",
"0.3687",
"0.884",
"0.3687",
"0.884",
"0.3818",
"0.5024",
"0.3818"
],
[
"0.1217",
"0.3801",
"0.4412",
"0.3801",
"0.4412",
"0.3933",
"0.1217",
"0.3933"
],
[
"0.5024",
"0.3838",
"0.8823",
"0.3838",
"0.8823",
"0.3977",
"0.5024",
"0.3977"
],
[
"0.1209",
"0.3945",
"0.4412",
"0.3958",
"0.4412",
"0.4092",
"0.1209",
"0.4077"
],
[
"0.501",
"0.3984",
"0.8823",
"0.3977",
"0.8823",
"0.4124",
"0.501",
"0.4136"
],
[
"0.1209",
"0.4104",
"0.4395",
"0.4104",
"0.4395",
"0.4236",
"0.1209",
"0.4236"
],
[
"0.501",
"0.4136",
"0.884",
"0.4124",
"0.884",
"0.4268",
"0.501",
"0.428"
],
[
"0.1217",
"0.4255",
"0.4412",
"0.4255",
"0.4412",
"0.4395",
"0.1217",
"0.4395"
],
[
"0.5034",
"0.4287",
"0.884",
"0.4287",
"0.884",
"0.4426",
"0.5034",
"0.4426"
],
[
"0.12335",
"0.4426",
"0.4387",
"0.4426",
"0.4387",
"0.4526",
"0.12335",
"0.4526"
],
[
"0.5034",
"0.443",
"0.8857",
"0.443",
"0.8857",
"0.457",
"0.5034",
"0.457"
],
[
"0.1217",
"0.455",
"0.4412",
"0.455",
"0.4412",
"0.4697",
"0.1217",
"0.4697"
],
[
"0.5024",
"0.459",
"0.884",
"0.459",
"0.884",
"0.473",
"0.5024",
"0.473"
],
[
"0.1209",
"0.4685",
"0.4412",
"0.4697",
"0.4412",
"0.4841",
"0.1209",
"0.483"
],
[
"0.5024",
"0.4749",
"0.7466",
"0.4749",
"0.7466",
"0.488",
"0.5024",
"0.488"
],
[
"0.1217",
"0.4849",
"0.4395",
"0.4849",
"0.4395",
"0.4988",
"0.1217",
"0.4988"
],
[
"0.5",
"0.4937",
"0.8857",
"0.4944",
"0.8857",
"0.512",
"0.5",
"0.511"
],
[
"0.1209",
"0.5005",
"0.4395",
"0.5005",
"0.4395",
"0.5146",
"0.1209",
"0.5146"
],
[
"0.1209",
"0.5166",
"0.4412",
"0.515",
"0.4412",
"0.529",
"0.1209",
"0.53"
],
[
"0.5024",
"0.512",
"0.8857",
"0.512",
"0.8857",
"0.526",
"0.5024",
"0.526"
],
[
"0.1217",
"0.531",
"0.4429",
"0.531",
"0.4429",
"0.5444",
"0.1217",
"0.5444"
],
[
"0.5",
"0.526",
"0.5312",
"0.526",
"0.5312",
"0.5415",
"0.5",
"0.5415"
],
[
"0.12335",
"0.5454",
"0.4412",
"0.5454",
"0.4412",
"0.5596",
"0.12335",
"0.5596"
],
[
"0.5034",
"0.549",
"0.8857",
"0.549",
"0.8857",
"0.5625",
"0.5034",
"0.5625"
],
[
"0.1209",
"0.56",
"0.4395",
"0.56",
"0.4395",
"0.5737",
"0.1209",
"0.5737"
],
[
"0.523",
"0.5664",
"0.884",
"0.5664",
"0.884",
"0.577",
"0.523",
"0.577"
],
[
"0.11926",
"0.5747",
"0.2737",
"0.577",
"0.2737",
"0.5913",
"0.11926",
"0.589"
],
[
"0.5215",
"0.579",
"0.8857",
"0.579",
"0.8857",
"0.5923",
"0.5215",
"0.5923"
],
[
"0.5215",
"0.5967",
"0.6055",
"0.5967",
"0.6055",
"0.608",
"0.5215",
"0.608"
],
[
"0.08826",
"0.616",
"0.2222",
"0.617",
"0.2222",
"0.632",
"0.08826",
"0.631"
],
[
"0.505",
"0.617",
"0.8857",
"0.6187",
"0.8857",
"0.6333",
"0.505",
"0.632"
],
[
"0.5215",
"0.634",
"0.8857",
"0.634",
"0.8857",
"0.648",
"0.5215",
"0.648"
],
[
"0.09235",
"0.643",
"0.4739",
"0.643",
"0.4739",
"0.657",
"0.09235",
"0.657"
],
[
"0.523",
"0.6484",
"0.886",
"0.6484",
"0.886",
"0.662",
"0.523",
"0.662"
],
[
"0.08905",
"0.659",
"0.4722",
"0.659",
"0.4722",
"0.6724",
"0.08905",
"0.6724"
],
[
"0.5215",
"0.6636",
"0.7017",
"0.6636",
"0.7017",
"0.677",
"0.5215",
"0.677"
],
[
"0.09235",
"0.6753",
"0.4714",
"0.6753",
"0.4714",
"0.686",
"0.09235",
"0.686"
],
[
"0.08905",
"0.6895",
"0.4722",
"0.6895",
"0.4722",
"0.7026",
"0.08905",
"0.7026"
],
[
"0.505",
"0.6875",
"0.886",
"0.6875",
"0.886",
"0.702",
"0.505",
"0.702"
],
[
"0.0907",
"0.7026",
"0.4722",
"0.704",
"0.4722",
"0.7183",
"0.0907",
"0.7173"
],
[
"0.5195",
"0.704",
"0.886",
"0.704",
"0.886",
"0.7173",
"0.5195",
"0.7173"
],
[
"0.0907",
"0.7197",
"0.4722",
"0.7197",
"0.4722",
"0.733",
"0.0907",
"0.733"
],
[
"0.5215",
"0.7173",
"0.884",
"0.7173",
"0.884",
"0.731",
"0.5215",
"0.731"
],
[
"0.0907",
"0.735",
"0.4714",
"0.735",
"0.4714",
"0.7485",
"0.0907",
"0.7485"
],
[
"0.5195",
"0.732",
"0.8857",
"0.733",
"0.8857",
"0.7476",
"0.5195",
"0.747"
],
[
"0.0907",
"0.7485",
"0.4714",
"0.7485",
"0.4714",
"0.762",
"0.0907",
"0.762"
],
[
"0.5215",
"0.75",
"0.5513",
"0.75",
"0.5513",
"0.761",
"0.5215",
"0.761"
],
[
"0.08905",
"0.762",
"0.4722",
"0.763",
"0.4722",
"0.778",
"0.08905",
"0.7764"
],
[
"0.501",
"0.7695",
"0.8813",
"0.7695",
"0.8813",
"0.784",
"0.501",
"0.784"
],
[
"0.08905",
"0.78",
"0.4739",
"0.78",
"0.4739",
"0.7935",
"0.08905",
"0.7935"
],
[
"0.5024",
"0.786",
"0.884",
"0.786",
"0.884",
"0.8",
"0.5024",
"0.8"
],
[
"0.10706",
"0.8037",
"0.4714",
"0.8037",
"0.4714",
"0.8184",
"0.10706",
"0.8184"
],
[
"0.501",
"0.802",
"0.8857",
"0.802",
"0.8857",
"0.815",
"0.501",
"0.815"
],
[
"0.0866",
"0.8145",
"0.2524",
"0.8174",
"0.2524",
"0.832",
"0.0866",
"0.829"
],
[
"0.259",
"0.815",
"0.4192",
"0.8164",
"0.4192",
"0.8306",
"0.259",
"0.83"
],
[
"0.4429",
"0.8174",
"0.4722",
"0.8174",
"0.4722",
"0.829",
"0.4429",
"0.829"
],
[
"0.5034",
"0.8174",
"0.8813",
"0.8174",
"0.8813",
"0.8306",
"0.5034",
"0.8306"
],
[
"0.08826",
"0.8276",
"0.4739",
"0.829",
"0.4739",
"0.8433",
"0.08826",
"0.8423"
],
[
"0.5034",
"0.8335",
"0.8813",
"0.8335",
"0.8813",
"0.8433",
"0.5034",
"0.8433"
],
[
"0.08826",
"0.8423",
"0.2484",
"0.8423",
"0.2484",
"0.856",
"0.08826",
"0.856"
],
[
"0.5024",
"0.8467",
"0.8813",
"0.8467",
"0.8813",
"0.86",
"0.5024",
"0.86"
],
[
"0.08905",
"0.866",
"0.4739",
"0.866",
"0.4739",
"0.88",
"0.08905",
"0.88"
],
[
"0.5034",
"0.863",
"0.8823",
"0.863",
"0.8823",
"0.8735",
"0.5034",
"0.8735"
],
[
"0.08905",
"0.88",
"0.4739",
"0.88",
"0.4739",
"0.893",
"0.08905",
"0.893"
],
[
"0.5034",
"0.877",
"0.884",
"0.877",
"0.884",
"0.89",
"0.5034",
"0.89"
],
[
"0.0866",
"0.89",
"0.1569",
"0.8926",
"0.1569",
"0.907",
"0.0866",
"0.905"
],
[
"0.5024",
"0.8916",
"0.8857",
"0.8916",
"0.8857",
"0.906",
"0.5024",
"0.906"
]
] | [
"Memory-Efficient Pipeline-Parallel DNN Training",
"Deepak Narayanan 1 *Amar Phanishayee2Kaiyu Shi 3Xie Chen 3 Matei Zaharia 1",
"???。3in",
"Abstract",
"资源利用率不足E(Narayananetal.,2019)或仅在多",
"Many state-of-the-art ML results have been",
"GPU服务器E(Shoeybietal.,2019)内具有良好可扩",
"obtained by scaling up the number of param",
"展性的高通信开销,从而增加了训练时间和美元成本",
"eters in existing models. However, param-",
"最近的工作提出了流水线模型并行性,以加速模型",
"eters and activations for such large models",
"并行训练。例如,GPipe(Huanget al.,2019)和",
"often do not fit in the memory of a single",
"PipeDream (Harlap et al., 2018; Narayanan et al..",
"accelerator device; this means that it is nec-",
"2019)通过一系列各自管理一个模型分区的worker依",
"essary to distribute training of large models",
"次推送多个输人,允许不同的worker并行处理不同的",
"over multiple accelerators..In this work.we",
"输人。由于特定输入的向前和向后传递之间的权重版",
"propose PipeDream-2BW , a system that sup",
"本不一致,Naive流水线可能会损害模型收敛。现有技",
"ports memory-efficient pipeline parallelism",
"术以不同的方式权衡内存占用和吞吐量,以避免这种",
"PipeDream-2BW uses a novel pipelining and",
"情况。GPipe维护单个权重版本,但具有定期的管道",
"weight gradient coalescing strategy, com-",
"刷新,其中管道会耗尽输入以更新权重(图E1a);这",
"bined with the double buffering of weights,",
"些刷新会限制资源空闲时的整体吞吐量。PipeDream",
"to ensure high throughput, low memory foot-",
"不会定期刷新管道,而是存储多个权重版本,这增加",
"print,and weight update semantics similar",
"了吞吐量,但也增加了内存占用,由于内存限制,使",
"to data parallelism. In addition, PipeDream-",
"得大型模型的训练不可行。大型模型的高效训练需要",
"2BW automatically partitions the model over",
"具有高吞吐量和低内存占用的方法",
"the available hardware resources, while re",
"此外,管道并行系统的性能取决于DNN模型运算符",
"specting hardware constraints such as mem",
"ory capacities of accelerators and intercon-",
"在工作线程上的划分方式。这是具有挑战性的三个原",
"nect topologies. PipeDream-2BW can accel-",
"因:",
"erate the training of large GPT and BERT",
". Memory Capacity Constraints: Parameters and in-",
"language models by up to 20 x with similar",
"termediateactivations associated witha model par",
"final model accuracy.",
"tition need to fit in the main device memory of the",
"accelerator.",
"1.Introduction",
". Heterogeneous Network Interconnects:Training",
"deployments today feature heterogeneous network",
"为了在一系列任务中实现更高的精度,DNN模型的规",
"topologies, with higher-bandwidth links between de-",
"模不断增长,通常是通过扩大现有架构中的参数数量",
"vices on the same server.",
"来实现的(Devlinetal.,2018:Radfordetal.,2018",
"2019;Brownetal.,2020)。训练具有数十亿个参数的",
": Large Search Space for Operator Placement: As",
"大型模型具有挑战性。现代加速器的内存有限,这意",
"model sizes increase, splitting an operator graph be-",
"味着训练期间需要在加速器内存中的模型参数和中间",
"comes computationally expensive since the number",
"输出可能不适合单个加速器。研究人员和从业者转向",
"of distinct partitionings is exponential in the model",
"的解决方案之一是模型并行训练(Deanetal.,2012",
"size.",
"Chilimbietal.,2014),其中一个模型被划分为多个加",
"在本文中,我们介绍了PipeDream-2BW,这是一个",
"速器设备。但是,传统部署时,模型并行性可能会导致",
"用于对具有数十亿个参数的DNN模型进行高效流水",
"*Work done in part as intern at Microsoft Research.",
"线并行训练的系统。PipeDream-2BW使用两个关键",
"1 Stanford University",
"2 Microsoft Research",
"Mi",
"贡献实现高吞吐量和低内存占用。首先,我们提出了",
"crosoft . Correspondence to: Deepak Narayanan < deep-",
"双缓冲权重更新(2BW),该技术可减少训练的内",
"[email protected] >.",
"存占用,同时避免管道刷新。我们利用这样一个事实",
"Proceedings of the 38th International Conference on Ma-",
"即每个输入的生成梯度不需要立即应用于权重,而是",
"chine Learning,PMLR 139, 2021. Copyright 2021 by the",
"可以累积到“合并”梯度中以限制维护的权重版本的",
"author(s).",
"数量。2BW不是在使用新更新的权重之前刷新管道,"
] | {
"arxiv_id": "2006.09503",
"language": "zh",
"page_idx": 0
} |
||
2006.09503-zh-1 | 2006.09503-zh-1.jpg | Title Suppressed Due to Excessive Size
权重版本(称为阴影版本)用于已经在运行的输入。每个工作线程的权重的双重缓冲产生了一个流水线方案,其吞吐量高于 GPipe (没有管道刷新),并且内存效率高于 PipeDream (2 个权重版本,而深度为$d$ 的PipeDream 中的$d$的最坏情况)。2BW 在更新权重$(W^{(t+1)}=W^{(t)}-\nu\cdot\nabla f(W^{(t-1)})$的权重更新方程)时引入了一个恒定的权重延迟项 1, 在各个阶段之间保持一致,我们证明了该模型具有与香草权重更新 (§5.1 ) 经验上相似的模型收敛性。我们还提出了 2BW 的一个变体 (称为 PipeDream-Flush ), 它以更低的内存占用和香草语义$(\dot{W}^{(t+1)}=W^{(t)}-\nu\cdot\nabla f(W^{(t)})$的权重更新方程)来权衡吞吐量
其次,PipeDream-2BW 提供了一种规划算法,可以为当今的许多大型模型体系结构生成有效的并行化方案。PipeDream-2BW 的计划程序在考虑加速器设备的内存容量的同时,将 DNN 运算符划分为可用的工作器,并解决了前面强调的三个挑战。PipeDream-2BW 的规划器利用了大型 DNN 的重复结构,例如。g。, BERT (Devlin et al.,2018)中的变压器层,以探索管道中每个阶段同等复制的时间表空间。与 PipeDream 和 FlexFlow$\underline{\mathrm{E}}($Jia et al.,2018)等现有工作相比,此选择大大减少了搜索空间的大小,同时仍然在实践中提供了有效的模型拆分。PipeDream-2BW 的计划程序确定每个模型分区的大小,批处理大小以及是否使用节省内存的优化,例如激活重新计算$\mathbb{E}($Chen et al., 2016; Griewank $\&$ Walther, 2000)。与 PipeDream 和FlexFlow 不同,PipeDream-2BW 的规划器考虑了这些决策对吞吐量和内存占用的影响。最后,计划者试图确保昂贵的通信停留在高速服务器内互连上
我们发现带有 2BW 的 Adam 优化器与具有相同批次大小的香草 Adam 具有相似的训练损失轨迹,在下游微调任务上具有相似的准确性。与优化的模型并行基线相比,PipeDream-2BW 为各种 GPT 模型实现了$1.3\times$到 20× 的端到端加速。PipeDream-2BW 最多 3个。2$\times 比 GPipe 快,并且能够训练香草 PipeDream$ 无法放人内存中的大型变压器模型
# 2. Background
在本节中,我们简要概述了 DNN 模型的分布式训练
的相关技术
数据并行。数据并行性用于扩展模型训练。使用数据并行性 (Xing et al., 2015) , 每个 worker 都有整个模型的副本,并且输入数据集在 worker 之间进行分片。数据并行性不能用于训练不适合单个工作线程的大型模型,但可以用于较小的模型分区
模型并行。模型并行性传统上用于训练不适合单个工作人员的大型模型。使用模型并行性 (Dean et al., 2012; Chilimbi et al., 2014) , 模型中的权重参数被拆分到可用的 worker 上,中间激活和梯度在 worker 之间进行通信。层间模型并行性未充分利用资源,因为在
而是将新的权重用于新进入管道的输人,而将先前的 任何时间点最多只有一个工作线程处于活动状态。张
量(层内)模型并行性(Shoeybi et al.,2019)导致关键路径中昂贵的 all-to-all 通信,将模型分区的数量限制为单个服务器中的 GPU 数量。FlexFlow (Jia et al., 2018) 演示了如何使用模型和数据并行性拆分模型图, 但在使用模型并行性时仍然会遇到资源利用率低的问题
管道并行性。为了解决模型并行性的缺点,最近的工作,如 PipeDream 和 GPipe 提出了管道并行性。使用管道并行性,将多个输入(而不是 1) 注人到由层间模型分区组成的管道中。这可确保更好地利用计算资源。但是,朴素的流水线操作可能会导致特定输入的向前和向后传递之间的权重版本不匹配。具体来说,如果权重更新立即应用于最新的权重版本,则输入可能会在后向传递中看到它在前向传递中没有看到的权重更新,从而导致不正确的梯度计算
GPipe 维护模型权重的单一版本。将输入批次拆分为较小的微批次。权重梯度是累积的,不会立即应用, 并且会定期刷新管道,以确保不需要维护多个权重版本。GPipe 提供了类似于数据并行性的权重更新语义。图 la 显示了 GPipe 执行的时间线。定期管道冲洗可能很昂贵,限制了吞吐量。减轻这种开销的一种方法是在管道内进行额外的累积,但这并不总是实用的:a) 在大比例因子下,支持的最小批量大小很大(与比例因子成比例),大批量影响所有模型的收敛(e。g。, Megatron$\underline{\mathrm{E}}($Shoeybi et al.,2019) 对于 BERT 使用 1024 的批量大小,对于具有 512 个 GPU 的 GPT 使用 512), b) GPipe 需要保持与批量大小成比例的激活隐藏
PipeDream 使用权重存储方案,以确保在相同输入的向前和向后传递中都使用相同的权重版本(图E1b)。在最坏的情况下,隐藏的权重版本总数为$d$ ,其中 $d$ 是管道深度,对于大型模型来说太高了。使用 PipeDream 的默认权重更新语义,每个阶段的权重更新具有不同的延迟项,并且在管道内不执行 accumulation
$3.{\mathrm{~PipeDream-2BW~System~Design}}$
PipeDream-2BW 使用内存高效的管道并行性来训练不适合单个加速器的大型模型。它的双缓冲权重更新$(\begin{array}{c}2\mathrm{BW})\end{array}$和刷新机制可确保高吞吐量、低内存占用和类似于数据并行性的权重更新语义。PipeDream-2BW 将模型拆分为多个工作线程上的阶段,并将每个阶段复制相等的次数(跨同一阶段的副本进行数据并行更新)。这种并行管道适用于每层重复固定次数的模型(例如。g。、变压器型号)
3.1. Double-Buffered Weight Updates ( 2BW)
PipeDream-2BW 结合 1F1B 调度E(Narayanan et al., 2019)使用新颖的双缓冲权重更新 (2BW )方案,其中每个工作者在不同输入的前向和后向传递之间交替, 以确保在特定输入的前向和后向传递中使用相同的权 | [
[
"0.3586",
"0.05807",
"0.6167",
"0.05807",
"0.6167",
"0.07135",
"0.3586",
"0.07135"
],
[
"0.09235",
"0.0871",
"0.4795",
"0.0871",
"0.4795",
"0.101",
"0.09235",
"0.101"
],
[
"0.5024",
"0.0884",
"0.884",
"0.0884",
"0.884",
"0.0985",
"0.5024",
"0.0985"
],
[
"0.0907",
"0.1016",
"0.478",
"0.1016",
"0.478",
"0.11554",
"0.0907",
"0.11554"
],
[
"0.501",
"0.1016",
"0.8857",
"0.1016",
"0.8857",
"0.11554",
"0.501",
"0.11554"
],
[
"0.0907",
"0.11743",
"0.4739",
"0.11743",
"0.4739",
"0.1307",
"0.0907",
"0.1307"
],
[
"0.5",
"0.11615",
"0.8857",
"0.11743",
"0.8857",
"0.1307",
"0.5",
"0.13"
],
[
"0.09235",
"0.1338",
"0.4722",
"0.1338",
"0.4722",
"0.1445",
"0.09235",
"0.1445"
],
[
"0.5024",
"0.132",
"0.8813",
"0.132",
"0.8813",
"0.1459",
"0.5024",
"0.1459"
],
[
"0.0907",
"0.1465",
"0.4739",
"0.1465",
"0.4739",
"0.161",
"0.0907",
"0.161"
],
[
"0.501",
"0.1477",
"0.8857",
"0.1477",
"0.8857",
"0.161",
"0.501",
"0.161"
],
[
"0.0907",
"0.1622",
"0.4739",
"0.1622",
"0.4739",
"0.1755",
"0.0907",
"0.1755"
],
[
"0.5",
"0.161",
"0.8857",
"0.1622",
"0.8857",
"0.1768",
"0.5",
"0.1755"
],
[
"0.08826",
"0.1749",
"0.4722",
"0.178",
"0.4722",
"0.1913",
"0.08826",
"0.1881"
],
[
"0.5024",
"0.1799",
"0.5186",
"0.1799",
"0.5186",
"0.1895",
"0.5024",
"0.1895"
],
[
"0.0907",
"0.1925",
"0.4739",
"0.1925",
"0.4739",
"0.2058",
"0.0907",
"0.2058"
],
[
"0.5024",
"0.1995",
"0.8857",
"0.1995",
"0.8857",
"0.2134",
"0.5024",
"0.2134"
],
[
"0.0907",
"0.209",
"0.4714",
"0.209",
"0.4714",
"0.2197",
"0.0907",
"0.2197"
],
[
"0.5024",
"0.2153",
"0.884",
"0.2153",
"0.884",
"0.2291",
"0.5024",
"0.2291"
],
[
"0.08905",
"0.2229",
"0.4739",
"0.2229",
"0.4739",
"0.2361",
"0.08905",
"0.2361"
],
[
"0.501",
"0.2299",
"0.8857",
"0.2299",
"0.8857",
"0.2437",
"0.501",
"0.2437"
],
[
"0.09644",
"0.2361",
"0.4739",
"0.2374",
"0.4739",
"0.252",
"0.09644",
"0.2507"
],
[
"0.0907",
"0.25",
"0.4756",
"0.25",
"0.4756",
"0.2676",
"0.0907",
"0.2676"
],
[
"0.5024",
"0.2468",
"0.884",
"0.2468",
"0.884",
"0.2568",
"0.5024",
"0.2568"
],
[
"0.501",
"0.2588",
"0.884",
"0.2615",
"0.884",
"0.2747",
"0.501",
"0.2727"
],
[
"0.0907",
"0.2683",
"0.282",
"0.2683",
"0.282",
"0.279",
"0.0907",
"0.279"
],
[
"0.5024",
"0.276",
"0.884",
"0.276",
"0.884",
"0.289",
"0.5024",
"0.289"
],
[
"0.0907",
"0.2903",
"0.4739",
"0.2903",
"0.4739",
"0.3037",
"0.0907",
"0.3037"
],
[
"0.501",
"0.2917",
"0.884",
"0.2917",
"0.884",
"0.305",
"0.501",
"0.305"
],
[
"0.0907",
"0.3062",
"0.4739",
"0.3062",
"0.4739",
"0.3193",
"0.0907",
"0.3193"
],
[
"0.501",
"0.3062",
"0.8857",
"0.3062",
"0.8857",
"0.3193",
"0.501",
"0.3193"
],
[
"0.0907",
"0.3208",
"0.4722",
"0.3208",
"0.4722",
"0.334",
"0.0907",
"0.334"
],
[
"0.501",
"0.3213",
"0.732",
"0.3213",
"0.732",
"0.3352",
"0.501",
"0.3352"
],
[
"0.09235",
"0.336",
"0.4722",
"0.336",
"0.4722",
"0.3499",
"0.09235",
"0.3499"
],
[
"0.5",
"0.3423",
"0.884",
"0.3435",
"0.884",
"0.358",
"0.5",
"0.3567"
],
[
"0.0907",
"0.351",
"0.4722",
"0.351",
"0.4722",
"0.3643",
"0.0907",
"0.3643"
],
[
"0.501",
"0.3567",
"0.8857",
"0.3591",
"0.8857",
"0.3726",
"0.501",
"0.3706"
],
[
"0.08905",
"0.363",
"0.4714",
"0.3662",
"0.4714",
"0.3806",
"0.08905",
"0.3774"
],
[
"0.501",
"0.3738",
"0.8857",
"0.3738",
"0.8857",
"0.387",
"0.501",
"0.387"
],
[
"0.08905",
"0.3801",
"0.4739",
"0.3806",
"0.4739",
"0.3945",
"0.08905",
"0.3933"
],
[
"0.501",
"0.387",
"0.8857",
"0.3882",
"0.8857",
"0.4028",
"0.501",
"0.4016"
],
[
"0.09235",
"0.3977",
"0.4714",
"0.3977",
"0.4714",
"0.4077",
"0.09235",
"0.4077"
],
[
"0.5024",
"0.404",
"0.884",
"0.404",
"0.884",
"0.4172",
"0.5024",
"0.4172"
],
[
"0.0907",
"0.411",
"0.4739",
"0.411",
"0.4739",
"0.4248",
"0.0907",
"0.4248"
],
[
"0.5024",
"0.4204",
"0.869",
"0.4204",
"0.869",
"0.4312",
"0.5024",
"0.4312"
],
[
"0.08905",
"0.4268",
"0.4722",
"0.4268",
"0.4722",
"0.44",
"0.08905",
"0.44"
],
[
"0.08905",
"0.4414",
"0.4739",
"0.4414",
"0.4739",
"0.455",
"0.08905",
"0.455"
],
[
"0.5024",
"0.4363",
"0.884",
"0.4363",
"0.884",
"0.4463",
"0.5024",
"0.4463"
],
[
"0.5024",
"0.4495",
"0.884",
"0.4495",
"0.884",
"0.4634",
"0.5024",
"0.4634"
],
[
"0.0907",
"0.457",
"0.4739",
"0.457",
"0.4739",
"0.4702",
"0.0907",
"0.4702"
],
[
"0.501",
"0.464",
"0.884",
"0.464",
"0.884",
"0.4778",
"0.501",
"0.4778"
],
[
"0.08905",
"0.4717",
"0.4714",
"0.4702",
"0.4714",
"0.4849",
"0.08905",
"0.486"
],
[
"0.5",
"0.4797",
"0.884",
"0.4797",
"0.884",
"0.4937",
"0.5",
"0.4937"
],
[
"0.0907",
"0.4873",
"0.4739",
"0.4873",
"0.4739",
"0.5005",
"0.0907",
"0.5005"
],
[
"0.5024",
"0.4944",
"0.884",
"0.4944",
"0.884",
"0.5083",
"0.5024",
"0.5083"
],
[
"0.0907",
"0.502",
"0.4722",
"0.502",
"0.4722",
"0.515",
"0.0907",
"0.515"
],
[
"0.08905",
"0.515",
"0.4756",
"0.5166",
"0.4756",
"0.53",
"0.08905",
"0.529"
],
[
"0.501",
"0.5103",
"0.884",
"0.5103",
"0.884",
"0.5234",
"0.501",
"0.5234"
],
[
"0.5024",
"0.526",
"0.568",
"0.526",
"0.568",
"0.537",
"0.5024",
"0.537"
],
[
"0.0907",
"0.532",
"0.4167",
"0.532",
"0.4167",
"0.5454",
"0.0907",
"0.5454"
],
[
"0.5024",
"0.547",
"0.8857",
"0.547",
"0.8857",
"0.56",
"0.5024",
"0.56"
],
[
"0.09235",
"0.556",
"0.4714",
"0.556",
"0.4714",
"0.5664",
"0.09235",
"0.5664"
],
[
"0.5024",
"0.5625",
"0.884",
"0.5625",
"0.884",
"0.5757",
"0.5024",
"0.5757"
],
[
"0.0907",
"0.5693",
"0.4739",
"0.5693",
"0.4739",
"0.5835",
"0.0907",
"0.5835"
],
[
"0.5024",
"0.579",
"0.8823",
"0.579",
"0.8823",
"0.589",
"0.5024",
"0.589"
],
[
"0.0907",
"0.5854",
"0.4739",
"0.5854",
"0.4739",
"0.5986",
"0.0907",
"0.5986"
],
[
"0.5034",
"0.5947",
"0.8813",
"0.5947",
"0.8813",
"0.605",
"0.5034",
"0.605"
],
[
"0.09235",
"0.6016",
"0.4714",
"0.6016",
"0.4714",
"0.6123",
"0.09235",
"0.6123"
],
[
"0.5034",
"0.6094",
"0.8823",
"0.6094",
"0.8823",
"0.619",
"0.5034",
"0.619"
],
[
"0.0907",
"0.616",
"0.4739",
"0.616",
"0.4739",
"0.627",
"0.0907",
"0.627"
],
[
"0.0907",
"0.63",
"0.4714",
"0.63",
"0.4714",
"0.6445",
"0.0907",
"0.6445"
],
[
"0.5024",
"0.625",
"0.8286",
"0.625",
"0.8286",
"0.6353",
"0.5024",
"0.6353"
],
[
"0.0907",
"0.646",
"0.3342",
"0.646",
"0.3342",
"0.659",
"0.0907",
"0.659"
],
[
"0.5",
"0.657",
"0.8",
"0.6577",
"0.8",
"0.6724",
"0.5",
"0.672"
],
[
"0.08496",
"0.6797",
"0.2197",
"0.678",
"0.2197",
"0.696",
"0.08496",
"0.6978"
],
[
"0.5024",
"0.683",
"0.8857",
"0.683",
"0.8857",
"0.6963",
"0.5024",
"0.6963"
],
[
"0.5024",
"0.6987",
"0.8857",
"0.6987",
"0.8857",
"0.712",
"0.5024",
"0.712"
],
[
"0.08905",
"0.7056",
"0.4739",
"0.7056",
"0.4739",
"0.7197",
"0.08905",
"0.7197"
],
[
"0.5",
"0.712",
"0.8857",
"0.7134",
"0.8857",
"0.728",
"0.5",
"0.7266"
],
[
"0.09235",
"0.7227",
"0.1732",
"0.7227",
"0.1732",
"0.7344",
"0.09235",
"0.7344"
],
[
"0.501",
"0.7266",
"0.8823",
"0.728",
"0.8823",
"0.741",
"0.501",
"0.7407"
],
[
"0.08905",
"0.7437",
"0.4739",
"0.7437",
"0.4739",
"0.757",
"0.08905",
"0.757"
],
[
"0.5",
"0.742",
"0.8823",
"0.742",
"0.8823",
"0.756",
"0.5",
"0.756"
],
[
"0.0907",
"0.759",
"0.4739",
"0.759",
"0.4739",
"0.773",
"0.0907",
"0.773"
],
[
"0.5",
"0.7583",
"0.8823",
"0.759",
"0.8823",
"0.773",
"0.5",
"0.7715"
],
[
"0.0907",
"0.7734",
"0.4756",
"0.7734",
"0.4756",
"0.787",
"0.0907",
"0.787"
],
[
"0.5",
"0.7734",
"0.884",
"0.773",
"0.884",
"0.786",
"0.5",
"0.787"
],
[
"0.0907",
"0.789",
"0.4739",
"0.789",
"0.4739",
"0.803",
"0.0907",
"0.803"
],
[
"0.501",
"0.789",
"0.6772",
"0.789",
"0.6772",
"0.803",
"0.501",
"0.803"
],
[
"0.0907",
"0.806",
"0.3342",
"0.806",
"0.3342",
"0.8164",
"0.0907",
"0.8164"
],
[
"0.501",
"0.821",
"0.8325",
"0.821",
"0.8325",
"0.834",
"0.501",
"0.834"
],
[
"0.08905",
"0.827",
"0.4739",
"0.827",
"0.4739",
"0.8403",
"0.08905",
"0.8403"
],
[
"0.0907",
"0.8423",
"0.4722",
"0.8423",
"0.4722",
"0.856",
"0.0907",
"0.856"
],
[
"0.5",
"0.8447",
"0.8813",
"0.8447",
"0.8813",
"0.858",
"0.5",
"0.858"
],
[
"0.0907",
"0.857",
"0.4714",
"0.858",
"0.4714",
"0.869",
"0.0907",
"0.8687"
],
[
"0.501",
"0.8594",
"0.8857",
"0.8594",
"0.8857",
"0.8726",
"0.501",
"0.8726"
],
[
"0.0907",
"0.8726",
"0.4739",
"0.8726",
"0.4739",
"0.886",
"0.0907",
"0.886"
],
[
"0.5024",
"0.875",
"0.8823",
"0.875",
"0.8823",
"0.888",
"0.5024",
"0.888"
],
[
"0.09314",
"0.8896",
"0.4722",
"0.8896",
"0.4722",
"0.8994",
"0.09314",
"0.8994"
],
[
"0.501",
"0.8896",
"0.8857",
"0.8896",
"0.8857",
"0.903",
"0.501",
"0.903"
]
] | [
"Title Suppressed Due to Excessive Size",
"而是将新的权重用于新进人管道的输人,而将先前的",
"任何时间点最多只有一个工作线程处于活动状态。张",
"权重版本(称为阴影版本)用于已经在运行的输人。",
"量(层内)模型并行性(Shoeybietal,2019)导致关",
"每个工作线程的权重的双重缓冲产生了一个流水线方",
"键路径中昂贵的all-to-all通信,将模型分区的数量限",
"案,其吞吐量高于GPipe(没有管道刷新),并且内存",
"制为单个服务器中的GPU数量。FlexFlow(Jiaetal.",
"效率高于PipeDream(2个权重版本,而深度为d的",
"2018)演示了如何使用模型和数据并行性拆分模型图,",
"PipeDream中的d的最坏情况)。2BW在更新权重",
"但在使用模型并行性时仍然会遇到资源利用率低的问",
"(W(t+1)=W(t)-V.Vf(W(t-1))的权重更新方程)时",
"题",
"引人了一个恒定的权重延迟项1,在各个阶段之间保",
"管道并行性。为了解决模型并行性的缺点,最近的工",
"持一致,我们证明了该模型具有与香草权重更新(S5.1",
"作,如PipeDream和GPipe提出了管道并行性。使用",
")经验上相似的模型收敛性。我们还提出了2BW的",
"管道并行性,将多个输人(而不是1)注入到由层间模",
"一个变体(称为PipeDream-Flush),它以更低的内存",
"占用和香草语义(W(t+1)=W(t)-.f(W(t)的权",
"型分区组成的管道中。这可确保更好地利用计算资源。",
"但是,朴素的流水线操作可能会导致特定输入的向前",
"重更新方程)来权衡吞叶量",
"和向后传递之间的权重版本不匹配。具体来说,如果",
"其次,PipeDream-2BW提供了一种规划算法,可以",
"权重更新立即应用于最新的权重版本,则输入可能会",
"为当今的许多大型模型体系结构生成有效的并行化方",
"在后向传递中看到它在前向传递中没有看到的权重更",
"案。PipeDream-2BW的计划程序在考虑加速器设备的",
"新,从而导致不正确的梯度计算",
"内存容量的同时,将DNN运算符划分为可用的工作",
"GPipe维护模型权重的单一版本。将输入批次拆分为",
"器,并解决了前面强调的三个挑战。PipeDream-2BW",
"较小的微批次。权重梯度是累积的,不会立即应用,",
"的规划器利用了大型DNN的重复结构,例如。g。",
"并且会定期刷新管道,以确保不需要维护多个权重",
"BERT(Devlinetal.,2018)中的变压器层,以探索管",
"版本。GPipe提供了类似于数据并行性的权重更新语",
"道中每个阶段同等复制的时间表空间。与PipeDream",
"义。图la显示了GPipe执行的时间线。定期管道",
"和FlexFlowE(Jiaetal.,2018)等现有工作相比,此",
"冲洗可能很昂贵,限制了吞吐量。减轻这种开销的",
"选择大大减少了搜索空间的大小,同时仍然在实践中",
"提供了有效的模型拆分。PipeDream-2BW的计划程",
"种方法是在管道内进行额外的累积,但这并不总是实",
"用的a)在大比例因子下,支持的最小批量大小很大",
"序确定每个模型分区的大小,批处理大小以及是否使",
"(与比例因子成比例),大批量影响所有模型的收敛(e。",
"用节省内存的优化,例如激活重新计算E(Chenetal.",
"g。,MegatronE(Shoeybiet al.,2019)对于BERT使",
"2016;Griewank&Walther,2000)。与PipeDream和",
"用1024的批量大小,对于具有512个GPU的GPT",
"FlexFlow不同,PipeDream-2BW的规划器考虑了这",
"些决策对吞吐量和内存占用的影响。最后,计划者试",
"使用512),b)GPipe需要保持与批量大小成比例的",
"激活隐藏",
"图确保昂贵的通信停留在高速服务器内互连上",
"PipeDream使用权重存储方案,以确保在相同输入的",
"我们发现带有2BW的Adam优化器与具有相同批次",
"向前和向后传递中都使用相同的权重版本(图E1b)。",
"大小的香草Adam具有相似的训练损失轨迹,在下游",
"在最坏的情况下,隐藏的权重版本总数为d,其中d是",
"微调任务上具有相似的准确性。与优化的模型并行基",
"管道深度,对于大型模型来说太高广。使用PipeDream",
"线相比,PipeDream-2BW为各种GPT模型实现了",
"的默认权重更新语义,每个阶段的权重更新具有不同",
"1.3×到20x的端到端加速。PipeDream-2BW最多3",
"个。2×比GPipe快,并且能够训练香草PipeDream",
"的延迟项,并且在管道内不执行accumulation",
"无法放人内存中的大型变压器模型",
"3. PipeDream-2BW System Design",
"2. Background",
"PipeDream-2BW使用内存高效的管道并行性来训练",
"不适合单个加速器的大型模型。它的双缓冲权重更新",
"在本节中,我们简要概述了DNN模型的分布式训练",
"(2BW)和刷新机制可确保高吞吐量、低内存占用和",
"的相关技术",
"类似于数据并行性的权重更新语义。PipeDream-2BW",
"数据并行。数据并行性用于扩展模型训练。使用数据",
"将模型拆分为多个工作线程上的阶段,并将每个阶段",
"并行性(Xingetal.,2015),每个worker都有整个模",
"复制相等的次数(跨同一阶段的副本进行数据并行更",
"型的副本,并且输入数据集在worker之间进行分片。",
"新)。这种并行管道适用于每层重复固定次数的模型",
"数据并行性不能用于训练不适合单个工作线程的大型",
"(例如。g。、变压器型号)",
"模型,但可以用于较小的模型分区",
"3.1. Double-Buffered Weight Updates (2BW)",
"模型并行。模型并行性传统上用于训练不适合单个工",
"作人员的大型模型。使用模型并行性(Dean etal.,",
"PipeDream-2BW结合1F1B调度E(Narayananetal.",
"2012:Chilimbietal.,2014),模型中的权重参数被拆",
"2019)使用新颖的双缓冲权重更新(2BW)方案,其",
"分到可用的worker上,中间激活和梯度在worker之",
"中每个工作者在不同输人的前向和后向传递之间交替",
"间进行通信。层间模型并行性未充分利用资源:因为在",
"以确保在特定输人的前向和后向传递中使用相同的权"
] | {
"arxiv_id": "2006.09503",
"language": "zh",
"page_idx": 1
} |
||
2006.09503-zh-2 | 2006.09503-zh-2.jpg | Title Suppressed Due to Excessive Size
<FigureHere>
( b) PipeDream.
Figure 1. Timelines of different pipeline-parallel executions. Without loss of generality, forward and backward passes are assumed to take twice as long as forward passes; forward passes are shown in blue and backward passes are shown in green. Numbers indicate microbatch ID, time is shown along $x$ -axis, per-worker utilization is shown along the $y$ -axis. GPipe maintains a single weight version, but periodically flushes the pipeline. PipeDream does not introduce periodic pipeline fushes, but maintains multiple weight versions.
<FigureHere>
Figure 2. Timeline showing PipeDream-2BW 's double-buffered weight update ( 2BW) scheme with time along $x$ -axis $\bar{\text{Without loss of generality }}$, backward passes are assumed to take twice as long as forward passes. PipeDream-$\bar2$BW only stashes two weight versions at every worker, reducing the total memory footprint while no longer requiring expensive pipeline stalls. $W_i^{(v)}$ indicates weights on worker $i$ with version $v$ (contains weight gradient generated from input $v).$ New weight versions are generated in checkered green boxes; $W_4^{(4)}$ is first used for input 9's forward pass
<FigureHere>
use
version from last flush
<FigureHere>
( b) PipeDream- Flush.
$\begin{array}{l}{\mathrm{Figure~4.~Example~PipeDream-2BW~(~2,3~)~configuration.}}\\{\mathrm{The~model~is~partitioned~into~3~stages~(~d=3~)~and~each}}\end{array}$ pipeline is replicated twice $(w=2).$ Each pipeline replica is shown in a different color.
Figure 3. Timelines of GPipe and PipeDream-Flush for 2 stages. Both GPipe and PipeDream-Flush use pipeline flushes; PipeDream-Flush alternates between forward and backward passes in steady state to keeping memory footprint low compared to GPipe by limiting activation stashes to only in-flight microbatches.
更低的内存占用,并且还避免了 GPipe 昂贵的管道刷
新
以更小的微批次的粒度计算梯度。对于任何输入微批次,PipeDream-2BW 对输人的向前和向后传递使用相同的权重版本。在以批处理的粒度应用更新之前,会在多个微批次上累积更新,从而限制了生成和维护的权重版本的数量。图 2 显示了 2BW 的示例时间线。PipeDream-2BW 每$m$微批次生成一次新的权重版本$( m\geq d$ ,管道深度)。为简单起见,我们最初假设
重版本(图$\mathbb{E}$2 )。2BW 比 PipeDream 和 GPipe 具有 | [
[
"0.357",
"0.05682",
"0.6177",
"0.05682",
"0.6177",
"0.0707",
"0.357",
"0.0707"
],
[
"0.7134",
"0.0852",
"0.8677",
"0.084",
"0.8677",
"0.0985",
"0.7134",
"0.09973"
],
[
"0.4224",
"0.1016",
"0.464",
"0.1016",
"0.464",
"0.113",
"0.4224",
"0.113"
],
[
"0.722",
"0.0985",
"0.8677",
"0.0985",
"0.8677",
"0.113",
"0.722",
"0.113"
],
[
"0.4307",
"0.113",
"0.464",
"0.113",
"0.464",
"0.1256",
"0.4307",
"0.1256"
],
[
"0.156",
"0.1029",
"0.3816",
"0.1029",
"0.3816",
"0.113",
"0.156",
"0.113"
],
[
"0.4927",
"0.1187",
"0.54",
"0.1187",
"0.54",
"0.13",
"0.4927",
"0.13"
],
[
"0.5522",
"0.1187",
"0.591",
"0.1187",
"0.591",
"0.13",
"0.5522",
"0.13"
],
[
"0.7236",
"0.11743",
"0.767",
"0.1193",
"0.7656",
"0.1307",
"0.722",
"0.1288"
],
[
"0.761",
"0.1187",
"0.8594",
"0.1187",
"0.8594",
"0.13",
"0.761",
"0.13"
],
[
"0.716",
"0.1193",
"0.728",
"0.1193",
"0.728",
"0.1288",
"0.716",
"0.1288"
],
[
"0.683",
"0.1193",
"0.7197",
"0.1193",
"0.7197",
"0.13",
"0.683",
"0.13"
],
[
"0.10455",
"0.1276",
"0.1528",
"0.1276",
"0.1528",
"0.1395",
"0.10455",
"0.1395"
],
[
"0.1626",
"0.127",
"0.1978",
"0.127",
"0.1978",
"0.1383",
"0.1626",
"0.1383"
],
[
"0.384",
"0.13",
"0.3962",
"0.13",
"0.3962",
"0.1364",
"0.384",
"0.1364"
],
[
"0.4102",
"0.132",
"0.4192",
"0.132",
"0.4192",
"0.1364",
"0.4102",
"0.1364"
],
[
"0.4927",
"0.1364",
"0.5435",
"0.1364",
"0.5435",
"0.1477",
"0.4927",
"0.1477"
],
[
"0.5728",
"0.1364",
"0.589",
"0.1364",
"0.589",
"0.1445",
"0.5728",
"0.1445"
],
[
"0.6626",
"0.1364",
"0.6807",
"0.1364",
"0.6807",
"0.1433",
"0.6626",
"0.1433"
],
[
"0.699",
"0.1364",
"0.7236",
"0.1364",
"0.7236",
"0.1445",
"0.699",
"0.1445"
],
[
"0.738",
"0.1351",
"0.7686",
"0.1351",
"0.7686",
"0.1465",
"0.738",
"0.1465"
],
[
"0.7817",
"0.1364",
"0.8105",
"0.1364",
"0.8105",
"0.1445",
"0.7817",
"0.1445"
],
[
"0.8203",
"0.1364",
"0.8447",
"0.1364",
"0.8447",
"0.1445",
"0.8203",
"0.1445"
],
[
"0.6914",
"0.137",
"0.6953",
"0.137",
"0.6953",
"0.1427",
"0.6914",
"0.1427"
],
[
"0.3586",
"0.1414",
"0.398",
"0.1433",
"0.3962",
"0.154",
"0.357",
"0.1515"
],
[
"0.5664",
"0.1383",
"0.574",
"0.1383",
"0.574",
"0.1414",
"0.5664",
"0.1414"
],
[
"0.1724",
"0.1433",
"0.2222",
"0.1414",
"0.2222",
"0.1528",
"0.1724",
"0.1547"
],
[
"0.10455",
"0.1433",
"0.1544",
"0.1433",
"0.1544",
"0.1547",
"0.10455",
"0.1547"
],
[
"0.3308",
"0.1465",
"0.3472",
"0.1465",
"0.3472",
"0.1497",
"0.3308",
"0.1497"
],
[
"0.4927",
"0.1528",
"0.5435",
"0.1528",
"0.5435",
"0.1642",
"0.4927",
"0.1642"
],
[
"0.634",
"0.1528",
"0.6543",
"0.1528",
"0.6543",
"0.1635",
"0.634",
"0.1635"
],
[
"0.6763",
"0.1528",
"0.6914",
"0.1528",
"0.6914",
"0.161",
"0.6763",
"0.161"
],
[
"0.755",
"0.1528",
"0.774",
"0.1528",
"0.774",
"0.1604",
"0.755",
"0.1604"
],
[
"0.7983",
"0.154",
"0.8164",
"0.154",
"0.8164",
"0.161",
"0.7983",
"0.161"
],
[
"0.839",
"0.154",
"0.851",
"0.154",
"0.851",
"0.1622",
"0.839",
"0.1622"
],
[
"0.7183",
"0.1547",
"0.734",
"0.1547",
"0.734",
"0.1578",
"0.7183",
"0.1578"
],
[
"0.6626",
"0.154",
"0.6685",
"0.154",
"0.6685",
"0.161",
"0.6626",
"0.161"
],
[
"0.10455",
"0.1604",
"0.1528",
"0.1604",
"0.1528",
"0.1718",
"0.10455",
"0.1718"
],
[
"0.1847",
"0.161",
"0.2345",
"0.1572",
"0.2361",
"0.1686",
"0.1854",
"0.1724"
],
[
"0.2876",
"0.1635",
"0.304",
"0.1635",
"0.304",
"0.1666",
"0.2876",
"0.1666"
],
[
"0.3022",
"0.1622",
"0.3489",
"0.1622",
"0.3489",
"0.1692",
"0.3022",
"0.1692"
],
[
"0.5986",
"0.1674",
"0.687",
"0.1674",
"0.687",
"0.1818",
"0.5986",
"0.1818"
],
[
"0.6807",
"0.1666",
"0.7114",
"0.1704",
"0.709",
"0.1831",
"0.6772",
"0.1787"
],
[
"0.796",
"0.1686",
"0.859",
"0.1686",
"0.859",
"0.1799",
"0.796",
"0.1799"
],
[
"0.7256",
"0.1704",
"0.746",
"0.1704",
"0.746",
"0.178",
"0.7256",
"0.178"
],
[
"0.4927",
"0.1704",
"0.5435",
"0.1704",
"0.5435",
"0.1818",
"0.4927",
"0.1818"
],
[
"0.7173",
"0.1718",
"0.7256",
"0.1718",
"0.7256",
"0.1768",
"0.7173",
"0.1768"
],
[
"0.7686",
"0.1718",
"0.789",
"0.1718",
"0.789",
"0.1787",
"0.7686",
"0.1787"
],
[
"0.1969",
"0.1768",
"0.2467",
"0.1749",
"0.2467",
"0.1863",
"0.1969",
"0.1881"
],
[
"0.10455",
"0.1755",
"0.1528",
"0.1755",
"0.1528",
"0.1875",
"0.10455",
"0.1875"
],
[
"0.259",
"0.178",
"0.2712",
"0.1768",
"0.273",
"0.1843",
"0.2607",
"0.1849"
],
[
"0.2852",
"0.1799",
"0.2932",
"0.1799",
"0.2932",
"0.1831",
"0.2852",
"0.1831"
],
[
"0.298",
"0.178",
"0.3284",
"0.178",
"0.3284",
"0.1863",
"0.298",
"0.1863"
],
[
"0.7417",
"0.1849",
"0.8096",
"0.1831",
"0.8096",
"0.1976",
"0.7417",
"0.1995"
],
[
"0.2402",
"0.1976",
"0.3179",
"0.1989",
"0.3179",
"0.2102",
"0.2402",
"0.209"
],
[
"0.367",
"0.1976",
"0.451",
"0.1976",
"0.451",
"0.209",
"0.367",
"0.209"
],
[
"0.746",
"0.1989",
"0.8057",
"0.1963",
"0.806",
"0.2108",
"0.7466",
"0.2134"
],
[
"0.505",
"0.214",
"0.535",
"0.214",
"0.535",
"0.226",
"0.505",
"0.226"
],
[
"0.1177",
"0.1989",
"0.1478",
"0.1989",
"0.1478",
"0.2102",
"0.1177",
"0.2102"
],
[
"0.6313",
"0.214",
"0.714",
"0.214",
"0.714",
"0.226",
"0.6313",
"0.226"
],
[
"0.761",
"0.214",
"0.853",
"0.214",
"0.853",
"0.226",
"0.761",
"0.226"
],
[
"0.2532",
"0.2203",
"0.327",
"0.2203",
"0.327",
"0.2349",
"0.2532",
"0.2349"
],
[
"0.6274",
"0.238",
"0.7295",
"0.238",
"0.7295",
"0.25",
"0.6274",
"0.25"
],
[
"0.08905",
"0.2524",
"0.886",
"0.2524",
"0.886",
"0.2664",
"0.08905",
"0.2664"
],
[
"0.08826",
"0.2676",
"0.886",
"0.2676",
"0.886",
"0.281",
"0.08826",
"0.281"
],
[
"0.08826",
"0.281",
"0.884",
"0.281",
"0.884",
"0.2942",
"0.08826",
"0.2942"
],
[
"0.08826",
"0.2954",
"0.886",
"0.2954",
"0.886",
"0.3093",
"0.08826",
"0.3093"
],
[
"0.08905",
"0.3093",
"0.46",
"0.3093",
"0.46",
"0.3225",
"0.08905",
"0.3225"
],
[
"0.648",
"0.33",
"0.7466",
"0.327",
"0.7466",
"0.3416",
"0.648",
"0.3447"
],
[
"0.652",
"0.3416",
"0.7417",
"0.3416",
"0.7417",
"0.356",
"0.652",
"0.356"
],
[
"0.2157",
"0.361",
"0.2646",
"0.361",
"0.2646",
"0.3726",
"0.2157",
"0.3726"
],
[
"0.2769",
"0.361",
"0.286",
"0.3655",
"0.282",
"0.3718",
"0.273",
"0.3687"
],
[
"0.2834",
"0.3623",
"0.3179",
"0.3623",
"0.3179",
"0.3718",
"0.2834",
"0.3718"
],
[
"0.528",
"0.363",
"0.544",
"0.363",
"0.544",
"0.3726",
"0.528",
"0.3726"
],
[
"0.562",
"0.363",
"0.576",
"0.363",
"0.576",
"0.3718",
"0.562",
"0.3718"
],
[
"0.63",
"0.363",
"0.636",
"0.363",
"0.636",
"0.3694",
"0.63",
"0.3694"
],
[
"0.6543",
"0.361",
"0.7563",
"0.361",
"0.7563",
"0.3726",
"0.6543",
"0.3726"
],
[
"0.464",
"0.3643",
"0.478",
"0.3643",
"0.478",
"0.3726",
"0.464",
"0.3726"
],
[
"0.3145",
"0.3655",
"0.326",
"0.3655",
"0.326",
"0.3687",
"0.3145",
"0.3687"
],
[
"0.596",
"0.3655",
"0.609",
"0.3655",
"0.609",
"0.3718",
"0.596",
"0.3718"
],
[
"0.4192",
"0.3757",
"0.437",
"0.3757",
"0.437",
"0.3894",
"0.4192",
"0.3894"
],
[
"0.5483",
"0.3757",
"0.5664",
"0.3757",
"0.5664",
"0.3894",
"0.5483",
"0.3894"
],
[
"0.63",
"0.377",
"0.694",
"0.377",
"0.694",
"0.3914",
"0.63",
"0.3914"
],
[
"0.2932",
"0.3774",
"0.326",
"0.3757",
"0.327",
"0.3865",
"0.2942",
"0.3882"
],
[
"0.2157",
"0.3774",
"0.267",
"0.3774",
"0.267",
"0.3894",
"0.2157",
"0.3894"
],
[
"0.486",
"0.3774",
"0.501",
"0.3774",
"0.501",
"0.3882",
"0.486",
"0.3882"
],
[
"0.7017",
"0.3774",
"0.7305",
"0.3774",
"0.7305",
"0.3894",
"0.7017",
"0.3894"
],
[
"0.7417",
"0.3774",
"0.7534",
"0.3774",
"0.7534",
"0.387",
"0.7417",
"0.387"
],
[
"0.5195",
"0.379",
"0.5337",
"0.379",
"0.5337",
"0.3882",
"0.5195",
"0.3882"
],
[
"0.4534",
"0.379",
"0.468",
"0.379",
"0.468",
"0.3882",
"0.4534",
"0.3882"
],
[
"0.584",
"0.379",
"0.5986",
"0.379",
"0.5986",
"0.3882",
"0.584",
"0.3882"
],
[
"0.6167",
"0.379",
"0.6313",
"0.379",
"0.6313",
"0.3882",
"0.6167",
"0.3882"
],
[
"0.3757",
"0.3945",
"0.3945",
"0.3945",
"0.3945",
"0.4092",
"0.3757",
"0.4092"
],
[
"0.4412",
"0.3945",
"0.4592",
"0.3945",
"0.4592",
"0.4077",
"0.4412",
"0.4077"
],
[
"0.589",
"0.3945",
"0.6543",
"0.3945",
"0.6543",
"0.4092",
"0.589",
"0.4092"
],
[
"0.4102",
"0.3958",
"0.423",
"0.3945",
"0.4248",
"0.406",
"0.411",
"0.4072"
],
[
"0.2157",
"0.3958",
"0.2656",
"0.3958",
"0.2656",
"0.4072",
"0.2157",
"0.4072"
],
[
"0.4756",
"0.3965",
"0.4885",
"0.3965",
"0.4885",
"0.406",
"0.4756",
"0.406"
],
[
"0.5073",
"0.3965",
"0.523",
"0.3965",
"0.523",
"0.406",
"0.5073",
"0.406"
],
[
"0.5415",
"0.3965",
"0.5522",
"0.3965",
"0.5522",
"0.406",
"0.5415",
"0.406"
],
[
"0.5728",
"0.3977",
"0.5884",
"0.3977",
"0.5884",
"0.4048",
"0.5728",
"0.4048"
],
[
"0.664",
"0.3958",
"0.6895",
"0.3958",
"0.6895",
"0.4072",
"0.664",
"0.4072"
],
[
"0.697",
"0.3984",
"0.7134",
"0.3984",
"0.7134",
"0.406",
"0.697",
"0.406"
],
[
"0.7256",
"0.3977",
"0.7427",
"0.3977",
"0.7427",
"0.4072",
"0.7256",
"0.4072"
],
[
"0.398",
"0.4124",
"0.4207",
"0.4124",
"0.4207",
"0.4255",
"0.398",
"0.4255"
],
[
"0.4631",
"0.4124",
"0.482",
"0.4124",
"0.482",
"0.4255",
"0.4631",
"0.4255"
],
[
"0.5483",
"0.4124",
"0.584",
"0.4124",
"0.584",
"0.4236",
"0.5483",
"0.4236"
],
[
"0.716",
"0.411",
"0.7563",
"0.411",
"0.7563",
"0.4255",
"0.716",
"0.4255"
],
[
"0.367",
"0.4136",
"0.3816",
"0.4136",
"0.3816",
"0.4236",
"0.367",
"0.4236"
],
[
"0.2157",
"0.4136",
"0.2656",
"0.4136",
"0.2656",
"0.4248",
"0.2157",
"0.4248"
],
[
"0.4224",
"0.4136",
"0.4478",
"0.4136",
"0.4478",
"0.4248",
"0.4224",
"0.4248"
],
[
"0.5923",
"0.4136",
"0.6113",
"0.4167",
"0.609",
"0.4236",
"0.591",
"0.4204"
],
[
"0.6543",
"0.4136",
"0.7134",
"0.4136",
"0.7134",
"0.4248",
"0.6543",
"0.4248"
],
[
"0.4968",
"0.414",
"0.5107",
"0.414",
"0.5107",
"0.4236",
"0.4968",
"0.4236"
],
[
"0.3367",
"0.414",
"0.3506",
"0.414",
"0.3506",
"0.4236",
"0.3367",
"0.4236"
],
[
"0.5293",
"0.414",
"0.544",
"0.414",
"0.544",
"0.4224",
"0.5293",
"0.4224"
],
[
"0.626",
"0.414",
"0.6406",
"0.414",
"0.6406",
"0.4224",
"0.626",
"0.4224"
],
[
"0.71",
"0.4167",
"0.7173",
"0.4167",
"0.7173",
"0.4216",
"0.71",
"0.4216"
],
[
"0.527",
"0.4287",
"0.626",
"0.4268",
"0.626",
"0.44",
"0.527",
"0.4426"
],
[
"0.6914",
"0.4287",
"0.7305",
"0.4287",
"0.7305",
"0.44",
"0.6914",
"0.44"
],
[
"0.5293",
"0.44",
"0.6216",
"0.4375",
"0.6235",
"0.4558",
"0.5312",
"0.459"
],
[
"0.2507",
"0.433",
"0.286",
"0.4375",
"0.2834",
"0.4495",
"0.2484",
"0.4458"
],
[
"0.4084",
"0.461",
"0.4944",
"0.461",
"0.4944",
"0.473",
"0.4084",
"0.473"
],
[
"0.5596",
"0.4602",
"0.6543",
"0.461",
"0.6543",
"0.473",
"0.5596",
"0.4717"
],
[
"0.08905",
"0.4849",
"0.8857",
"0.4849",
"0.8857",
"0.4988",
"0.08905",
"0.4988"
],
[
"0.08826",
"0.4988",
"0.884",
"0.4988",
"0.884",
"0.512",
"0.08826",
"0.512"
],
[
"0.0866",
"0.513",
"0.8857",
"0.513",
"0.8857",
"0.5264",
"0.0866",
"0.5264"
],
[
"0.08826",
"0.5234",
"0.886",
"0.5234",
"0.886",
"0.5415",
"0.08826",
"0.5415"
],
[
"0.08496",
"0.539",
"0.7876",
"0.5405",
"0.7876",
"0.558",
"0.08496",
"0.5566"
],
[
"0.1274",
"0.5645",
"0.3513",
"0.563",
"0.3513",
"0.5747",
"0.1274",
"0.5757"
],
[
"0.699",
"0.5645",
"0.7417",
"0.5645",
"0.7417",
"0.5757",
"0.699",
"0.5757"
],
[
"0.7563",
"0.5645",
"0.7974",
"0.5645",
"0.7974",
"0.5757",
"0.7563",
"0.5757"
],
[
"0.812",
"0.5625",
"0.8555",
"0.5645",
"0.8545",
"0.577",
"0.8105",
"0.5747"
],
[
"0.353",
"0.5747",
"0.4248",
"0.5747",
"0.4248",
"0.5854",
"0.353",
"0.5854"
],
[
"0.7075",
"0.58",
"0.744",
"0.58",
"0.744",
"0.5903",
"0.7075",
"0.5903"
],
[
"0.7686",
"0.5806",
"0.8",
"0.5806",
"0.8",
"0.589",
"0.7686",
"0.589"
],
[
"0.8286",
"0.5806",
"0.859",
"0.5806",
"0.859",
"0.589",
"0.8286",
"0.589"
],
[
"0.517",
"0.584",
"0.558",
"0.584",
"0.558",
"0.5947",
"0.517",
"0.5947"
],
[
"0.1609",
"0.586",
"0.2141",
"0.586",
"0.2141",
"0.601",
"0.1609",
"0.601"
],
[
"0.2141",
"0.586",
"0.3464",
"0.5835",
"0.3464",
"0.601",
"0.2141",
"0.604"
],
[
"0.353",
"0.5884",
"0.4084",
"0.5884",
"0.4084",
"0.5996",
"0.353",
"0.5996"
],
[
"0.5786",
"0.5933",
"0.6562",
"0.5933",
"0.6562",
"0.604",
"0.5786",
"0.604"
],
[
"0.824",
"0.5933",
"0.851",
"0.5933",
"0.851",
"0.605",
"0.824",
"0.605"
],
[
"0.509",
"0.5947",
"0.568",
"0.5947",
"0.568",
"0.605",
"0.509",
"0.605"
],
[
"0.10455",
"0.589",
"0.152",
"0.589",
"0.152",
"0.601",
"0.10455",
"0.601"
],
[
"0.7793",
"0.5967",
"0.796",
"0.5967",
"0.796",
"0.606",
"0.7793",
"0.606"
],
[
"0.8716",
"0.5967",
"0.876",
"0.5967",
"0.876",
"0.603",
"0.8716",
"0.603"
],
[
"0.1732",
"0.604",
"0.2222",
"0.604",
"0.2222",
"0.6157",
"0.1732",
"0.6157"
],
[
"0.2222",
"0.603",
"0.3513",
"0.603",
"0.3513",
"0.616",
"0.2222",
"0.616"
],
[
"0.4167",
"0.604",
"0.455",
"0.604",
"0.455",
"0.6157",
"0.4167",
"0.6157"
],
[
"0.5767",
"0.604",
"0.6562",
"0.604",
"0.6562",
"0.6143",
"0.5767",
"0.6143"
],
[
"0.871",
"0.604",
"0.876",
"0.604",
"0.876",
"0.6143",
"0.871",
"0.6143"
],
[
"0.3652",
"0.605",
"0.4192",
"0.605",
"0.4192",
"0.616",
"0.3652",
"0.616"
],
[
"0.10455",
"0.605",
"0.1528",
"0.605",
"0.1528",
"0.616",
"0.10455",
"0.616"
],
[
"0.5933",
"0.617",
"0.6235",
"0.617",
"0.6235",
"0.6206",
"0.5933",
"0.6206"
],
[
"0.716",
"0.625",
"0.746",
"0.625",
"0.746",
"0.632",
"0.716",
"0.632"
],
[
"0.7695",
"0.625",
"0.8",
"0.625",
"0.8",
"0.632",
"0.7695",
"0.632"
],
[
"0.8228",
"0.6226",
"0.859",
"0.6226",
"0.859",
"0.634",
"0.8228",
"0.634"
],
[
"0.1177",
"0.631",
"0.1478",
"0.631",
"0.1478",
"0.6426",
"0.1177",
"0.6426"
],
[
"0.2385",
"0.63",
"0.3162",
"0.63",
"0.3162",
"0.6416",
"0.2385",
"0.6416"
],
[
"0.3652",
"0.632",
"0.4495",
"0.632",
"0.4495",
"0.6426",
"0.3652",
"0.6426"
],
[
"0.5664",
"0.6396",
"0.6685",
"0.6396",
"0.6685",
"0.6494",
"0.5664",
"0.6494"
],
[
"0.246",
"0.655",
"0.3162",
"0.655",
"0.3162",
"0.6665",
"0.246",
"0.6665"
],
[
"0.5947",
"0.6494",
"0.6665",
"0.6494",
"0.6665",
"0.66",
"0.5947",
"0.66"
],
[
"0.7466",
"0.6655",
"0.8096",
"0.6655",
"0.8096",
"0.6753",
"0.7466",
"0.6753"
],
[
"0.1299",
"0.672",
"0.3513",
"0.672",
"0.3513",
"0.6816",
"0.1299",
"0.6816"
],
[
"0.3506",
"0.681",
"0.4248",
"0.681",
"0.4248",
"0.6924",
"0.3506",
"0.6924"
],
[
"0.2296",
"0.6934",
"0.3284",
"0.6934",
"0.3284",
"0.7085",
"0.2296",
"0.7085"
],
[
"0.3987",
"0.6934",
"0.455",
"0.6934",
"0.455",
"0.7085",
"0.3987",
"0.7085"
],
[
"0.501",
"0.6875",
"0.8823",
"0.6875",
"0.8823",
"0.7007",
"0.501",
"0.7007"
],
[
"0.1054",
"0.696",
"0.152",
"0.696",
"0.152",
"0.707",
"0.1054",
"0.707"
],
[
"0.1978",
"0.6943",
"0.2361",
"0.6943",
"0.2361",
"0.7056",
"0.1978",
"0.7056"
],
[
"0.3367",
"0.6963",
"0.343",
"0.702",
"0.3381",
"0.707",
"0.33",
"0.7007"
],
[
"0.5",
"0.702",
"0.8857",
"0.702",
"0.8857",
"0.7153",
"0.5",
"0.7153"
],
[
"0.1854",
"0.7104",
"0.326",
"0.7104",
"0.326",
"0.7236",
"0.1854",
"0.7236"
],
[
"0.1626",
"0.6978",
"0.1683",
"0.6978",
"0.1683",
"0.704",
"0.1626",
"0.704"
],
[
"0.10455",
"0.711",
"0.1544",
"0.711",
"0.1544",
"0.7227",
"0.10455",
"0.7227"
],
[
"0.1748",
"0.714",
"0.1805",
"0.714",
"0.1805",
"0.72",
"0.1748",
"0.72"
],
[
"0.3245",
"0.7153",
"0.3325",
"0.7153",
"0.3325",
"0.72",
"0.3245",
"0.72"
],
[
"0.3652",
"0.711",
"0.4429",
"0.711",
"0.4429",
"0.7227",
"0.3652",
"0.7227"
],
[
"0.501",
"0.7153",
"0.886",
"0.7153",
"0.886",
"0.729",
"0.501",
"0.729"
],
[
"0.501",
"0.731",
"0.6895",
"0.731",
"0.6895",
"0.741",
"0.501",
"0.741"
],
[
"0.1177",
"0.738",
"0.1478",
"0.738",
"0.1478",
"0.75",
"0.1177",
"0.75"
],
[
"0.2402",
"0.738",
"0.3284",
"0.738",
"0.3284",
"0.75",
"0.2402",
"0.75"
],
[
"0.3635",
"0.7393",
"0.4495",
"0.7393",
"0.4495",
"0.75",
"0.3635",
"0.75"
],
[
"0.2059",
"0.7603",
"0.3545",
"0.7603",
"0.3545",
"0.7734",
"0.2059",
"0.7734"
],
[
"0.5024",
"0.763",
"0.884",
"0.763",
"0.884",
"0.7764",
"0.5024",
"0.7764"
],
[
"0.501",
"0.779",
"0.5195",
"0.779",
"0.5195",
"0.7935",
"0.501",
"0.7935"
],
[
"0.08826",
"0.785",
"0.4722",
"0.785",
"0.4722",
"0.799",
"0.08826",
"0.799"
],
[
"0.08905",
"0.802",
"0.4739",
"0.802",
"0.4739",
"0.8125",
"0.08905",
"0.8125"
],
[
"0.5024",
"0.802",
"0.884",
"0.802",
"0.884",
"0.815",
"0.5024",
"0.815"
],
[
"0.08826",
"0.8145",
"0.4756",
"0.8145",
"0.4756",
"0.8276",
"0.08826",
"0.8276"
],
[
"0.5024",
"0.8164",
"0.884",
"0.8164",
"0.884",
"0.83",
"0.5024",
"0.83"
],
[
"0.08826",
"0.8276",
"0.4739",
"0.8276",
"0.4739",
"0.8413",
"0.08826",
"0.8413"
],
[
"0.501",
"0.83",
"0.8857",
"0.8306",
"0.8857",
"0.845",
"0.501",
"0.8447"
],
[
"0.08826",
"0.8413",
"0.4763",
"0.8413",
"0.4763",
"0.855",
"0.08826",
"0.855"
],
[
"0.5024",
"0.8467",
"0.8857",
"0.8467",
"0.8857",
"0.86",
"0.5024",
"0.86"
],
[
"0.08826",
"0.856",
"0.29",
"0.856",
"0.29",
"0.869",
"0.08826",
"0.869"
],
[
"0.5024",
"0.8613",
"0.8823",
"0.8613",
"0.8823",
"0.875",
"0.5024",
"0.875"
],
[
"0.5024",
"0.877",
"0.884",
"0.877",
"0.884",
"0.89",
"0.5024",
"0.89"
],
[
"0.0907",
"0.8916",
"0.4722",
"0.8916",
"0.4722",
"0.905",
"0.0907",
"0.905"
],
[
"0.5",
"0.8926",
"0.8857",
"0.8926",
"0.8857",
"0.906",
"0.5",
"0.906"
]
] | [
"Title Suppressed Due to Excessive Size",
"Before: w(1),w(2) w(3), w(4)",
"Pipeline",
"After: w(2), w(3), w(4), w(5)",
"flush",
"Operationsuseweightversion from lastflush",
"Worker1",
"123",
"26",
"537485",
"5",
"1",
"Worker1",
"123",
"3",
":",
"Worker2",
"2",
"1",
"2",
"3",
"4",
"5",
"",
"34",
"4",
"1234",
"Worker2",
"A",
"Worker3",
"1",
"2",
"A",
"5",
"6",
"0",
"",
"Worker3",
"1234",
"",
"213",
"1223",
"33",
"6677",
"14",
"Worker4",
"4",
"5",
"1234",
"Worker4",
"1",
"0",
"3",
"Before:w(4)",
"ForwardPass",
"BackwardPass",
"After:w(5)",
"Time",
"Time",
"ForwardPass",
"BackwardPass",
"(a) GPipe.",
"(b) PipeDream:",
"Figure 1. Timelines of different pipeline-parallel executions. Without loss of generality, forward and backward passes are",
"assumed to take twice as long as forward passes; forward passes are shown in blue and backward passes are shown in",
"green. Numbers indicate microbatch ID, time is shown along r -axis, per-worker utilization is shown along the y -axis.",
"GPipe maintains a single weight version, but periodically flushes the pipeline. PipeDream does not introduce periodic",
"pipeline fushes, but maintains multiple weight versions.",
"Before: w(), w(0)",
"After: w(0), w(4)",
"Worker1",
"1",
"2",
"5",
"2",
"3",
"7485",
"4",
"",
"6",
"3",
"5",
"47",
"12",
"Worker2",
"4",
"5",
"8",
"2",
"1",
"3",
"6",
"2",
"3",
"46",
"1",
"Worker3",
"2",
"4",
"3",
"5",
"5",
"7",
"6",
"2",
"3",
"848",
"77",
"1",
"Worker4",
"2",
"5",
"66",
"3",
"1",
"4",
"5",
"一",
"Before: w(0),w(0)",
"t= 21",
"After: w(o), w(a)",
"Time",
"ForwardPass",
"BackwardPass",
"Figure 2. Timeline showing PipeDream-2BW 's double-buffered weight update (2BW) scheme with time along -axis.",
"Without loss of generality , backward passes are assumed to take twice as long as forward passes. PipeDream-2BW only",
"stashes two weight versions at every worker, reducing the total memory footprint while no longer requiring expensive",
"pipeline stalls. w(o) indicates weights on worker i with version u (contains weight gradient generated from input u ).",
"New weight versions are generated in checkered green boxes; w(4) is first used for input 9's forward pass.",
"Operations useweight versionfrom last flush",
"Stage1",
"Stage 2",
"Stage3",
"Pipelineflush",
"GPU1",
"GPU2",
"GPU3",
"Original",
"1234",
"1234",
"5678",
"Partitionedinto",
"",
"DNN model",
"Worker1",
"",
"NW",
"1234",
"1234",
"56",
"parallel pipelines",
"L",
"5678",
"Worker2",
"",
"GPU4",
"GPU5",
"GPU6",
"Time",
"ForwardPass",
"BackwardPass",
"Input minibatch split",
"(a) GPipe.",
"overpipelines",
"Depth d = 3",
"Operations use weight version from last flush",
"Pipeline flush",
"3243",
"576",
"Figure 4.Example PipeDream-2BW(2,3)configuration",
"Worker1",
"21",
"",
"The model is partitioned into 3 stages ( d = 3 ) and each",
"1223344",
"1",
"Worker2",
"1",
"",
"5566",
"pipeline is replicated twice ( w = 2 ). Each pipeline replica",
"is shown in a different color.",
"Time",
"ForwardPass",
"BackwardPass",
"(b) PipeDream-Flush.",
"更低的内存占用,并且还避免了GPipe昂贵的管道刷",
"新",
"Figure 3. Timelines of GPipe and PipeDream-Flush for 2",
"stages.Both GPipe and PipeDream-Flush usepipeline",
"以更小的微批次的粒度计算梯度。对于任何输人微批",
"fushes; PipeDream-Flush alternates between forward and",
"次,PipeDream-2BW对输人的向前和向后传递使用相",
"backward passes in steady state to keeping memory foot-",
"同的权重版本。在以批处理的粒度应用更新之前,会",
"print low compared to GPipe by limiting activation stashes",
"在多个微批次上累积更新,从而限制了生成和维护的",
"to only in-flight microbatches.",
"权重版本的数量。图2显示了2BW的示例时间线,",
"PipeDream-2BW每m微批次生成一次新的权重版本",
"重版本(图E2)。2BW比PipeDream和GPipe具有",
"(m≥d,管道深度)。为简单起见,我们最初假设"
] | {
"arxiv_id": "2006.09503",
"language": "zh",
"page_idx": 2
} |
||
2006.09503-zh-3 | 2006.09503-zh-3.jpg | Title Suppressed Due to Excessive Size
$m=d$ (图 2 中的$d=4$ )。不能立即使用新的重量版本。特别是,飞行中的输入不能使用最新的重量版本进行向后传递(例如,在$t=21$的工作人员 3 上输人 7), 因为这些输入的前向传递已经在不同阶段使用较旧的重量版本启动。因此,新生成的权重版本需要缓冲以备将来使用。但是,需要维护的权重版本总数最多是 2,因为用于生成新权重版本的权重版本可以立即被丢弃(通过该阶段的未来输入不再使用旧权重版本)。例如,在图 2 中,每个工人可以丢弃$W_i^{(0)}$ 一旦他们完成处理输入 8 的向后传递,因为所有后续输入都使用较晚的权重版本进行向前和向后传递
给定输人微批次$k$ (1索引)使用的权重版本是$\max ( \lfloor ( k- 1) / m\rfloor - 1, 0)$ ,其中$m$是批次中微批次的数量(图$\overline{\mathrm{E}}$2 中的 4)。此权重版本对于输入 $k$ 的向前和向后传递都是相同的。$m$ 可以是任何数字$\geq d$ ; 额外的梯度 accumulation (更大的$m$ )增加了全局批处理大小
内存占用。PipeDream-2BW 保留了 2 个重量版本,并为所有飞行中的微批次保存了激活。任何阶段的飞行中微批次的数量最多是管道深度($d$)。通过激活重新计算,可以减少 PipeDream-2BW 的内存占用,因为只需要为所有飞行中的微批次维护输人激活(而不是完全中间激活)。通过激活重新计算,PipeDream-2BW 的最坏情况内存占用为$\frac{2|W|}d+\frac{|A^{\mathrm{total}}(b)|}d+d|A^{\mathrm{input}}(b)|$ 。$|W|$ 是完整模型的权重参数的大小$,|A^\text{total}(b)|$ 是完整模型的微批次大小$b$的中间激活的大小,$|A^\mathrm{input}(b)|$ 是管道阶段的微批次大小$b$的输人激活的大小
相比之下,GPipe 需要检查可能更大数量的输人激活与应用权重更新( $m$ )之前管道内累积的微批次总数成比例。通过激活重新计算,GPipe 的每 GPU 微批处理大小$b$的内存占用为$\frac|W|d+\frac{|A^{\mathrm{total}}(b)|}d+m|A^{\mathrm{input}}(b)|$ 。由于$|W|\ll|A(b)|$适用于大多数型号的小型$b$回(Jain et al.,2018),因此维护一个较少的重量版本所节省的内存很小。为了实现高吞吐量,GPipe 必须使用大量的$m$来分摊管道刷新的成本;在如此高的$m$ 上,其内存占用高于 PipeDream-2BW 。此外,由于其较高的内存占用,GPipe 必须始终使用激活重新计算。但是,激活重新计算会使吞吐量降低约 33%,如果可能,应避免使用
语义。我们还可以形式化 2BW 的语义。对于此讨论, 我们假设具有$d$阶段的未复制管道。如果$b$是每 GPU 微批大小,则梯度在$m$微批上平均;因此,有效批处理大小为$B=b\cdot m$
我们将$W^{(t)}$表示为$t$批次大小$B$之后的重量版本。$\nabla f(W)$是批次中$B$样本的平均梯度。香草小批量SGD( $f$为损失函数,$\nu$为学习率)则有如下权重更新方程:$W^{(t+1)}=W^{(t)}-\nu\cdot\nabla f(W^{(t)})$。2BW 的权重更新语义 (所有阶段的延迟项均为 1) 几乎没有变化:
$$W^{(t+1)}=W^{(t)}-\nu\cdot\nabla f(W^{(t-1)}).$$
我们表明,该延迟项不会显着影响 85.1 中的模型收敛。
直观上,模型的参数在单次迭代中不会发生显著变化, 因此$W^{(t)}\approx W^{(t-1)}$。复制因子大于 1 的语义是相似的,批处理大小乘以副本数量(与常规数据并行性一样)。可以类似地分析其他基于动量的优化器,例如Adam (动量项使用在 1-stale 权重版本而不是最新版本上计算的权重梯度)。不需要额外的阴影变量。例如, 具有动量的小批量 SGD 中的$m_t$可以计算为(忽略偏差 校 正 ) $m_{t}= \beta \cdot m_{t- 1}+ ( 1- \beta ) \cdot \nabla f( W^{( t- 1) })$。则 最 级 的 切 垂 面 率 亡 积 当 $W( t+ 1) - W( t)$ 终的权重更新方程为$W^(t+1)=W^{(t)}-\nu\cdot m_{t}$
## 3.2. Weight Updates with Flushes ( PipeDream- Flush)
我们还提出了第二个内存高效的管道调度,称为PipeDream-Flush 。它比 2BW 和香草优化器语义具有更低的内存占用,但以更低的吞吐量为代价。此计划重用 PipeDream (Narayanan et al., 2019) 中的 1F1B 计划,但保留单个权重版本并引入定期管道刷新,以确保权重更新期间的权重版本一致。具有 2 个管道阶段的 PipeDream-Flush 和 GPipe 的时间表如图 3 所示
内存占用。使用 PipeDream-Flush ,飞行中“活动”输人激活的总数小于或等于管道深度,使其内存占用比GPipe 低,GPipe 必须保持输人激活与平均梯度的微批次数量成比例$(m$ )。PipeDream-Flush 的内存占用也低于 PipeDream-2BW ,因为它只需要维护单个权重版本(与 PipeDream-2BW 相比为 2)
语义。定期的管道冲洗确保可以使用最新权重版本计算的梯度执行权重更新。这会导致$W^(t+1)=W^{(t)}-\nu\cdot$ $\nabla f(W^{(t)})$形式的权重更新。在 85.1 中,我们将 2BW 的统计效率(模型收敛速度)与 PipeDream-Flush , GPipe 和数据并行性的香草语义进行了比较
3.3.Equi-replicated Stages (Parallel Pipelines)
PipeDream-2BW 使用混合并行化方案执行 DNN 训练,该方案将数据和模型并行性与输入流水线相结合。由于今天的大型深度模型具有极其重复的结构,同一个块重复多次,因此一种简单的负载平衡计算和通信方式涉及将模型分解为具有相等数量的块和复制因子的阶段。因此,PipeDream-2BW 中的模型训练可以被认为是并行管道的集合(图 4),其中管道内的输入和中间输出激活不需要发送给负责不同管道的工作人员。可以使用点对点通信原语(例如 send 和 recv)在管道内传输中间激活和渐变。与 PipeDream 一样,权重梯度需要跨不同管道中的阶段副本聚合。图 4 显示了一个示例:每个模型副本被分割为 3 个工作器(阶段数或深度,$d=3$),每个阶段被复制两次(管道数或宽度,$w=2$)。可以将暂存副本放置在同一服务器上, 以便在具有高带宽互连的同一服务器上的 GPU 之间进行昂贵的 all-reduce 更新 | [
[
"0.3586",
"0.05807",
"0.615",
"0.05807",
"0.615",
"0.07135",
"0.3586",
"0.07135"
],
[
"0.09235",
"0.0871",
"0.4756",
"0.0871",
"0.4756",
"0.101",
"0.09235",
"0.101"
],
[
"0.5",
"0.0871",
"0.8823",
"0.0871",
"0.8823",
"0.101",
"0.5",
"0.101"
],
[
"0.0907",
"0.1016",
"0.4739",
"0.1016",
"0.4739",
"0.11554",
"0.0907",
"0.11554"
],
[
"0.501",
"0.101",
"0.8857",
"0.101",
"0.8857",
"0.11554",
"0.501",
"0.11554"
],
[
"0.0907",
"0.11743",
"0.4739",
"0.11743",
"0.4739",
"0.1307",
"0.0907",
"0.1307"
],
[
"0.501",
"0.11743",
"0.8813",
"0.11743",
"0.8813",
"0.1307",
"0.501",
"0.1307"
],
[
"0.09235",
"0.132",
"0.4722",
"0.132",
"0.4722",
"0.1459",
"0.09235",
"0.1459"
],
[
"0.5",
"0.1307",
"0.8857",
"0.132",
"0.8857",
"0.1459",
"0.5",
"0.1445"
],
[
"0.0907",
"0.1477",
"0.4722",
"0.1477",
"0.4722",
"0.161",
"0.0907",
"0.161"
],
[
"0.4983",
"0.1459",
"0.8857",
"0.1465",
"0.8857",
"0.161",
"0.4983",
"0.1604"
],
[
"0.09235",
"0.1642",
"0.4722",
"0.1642",
"0.4722",
"0.1749",
"0.09235",
"0.1749"
],
[
"0.5",
"0.161",
"0.8813",
"0.161",
"0.8813",
"0.1749",
"0.5",
"0.1749"
],
[
"0.0907",
"0.178",
"0.4722",
"0.178",
"0.4722",
"0.1913",
"0.0907",
"0.1913"
],
[
"0.5024",
"0.178",
"0.8857",
"0.178",
"0.8857",
"0.1913",
"0.5024",
"0.1913"
],
[
"0.0907",
"0.1925",
"0.4739",
"0.1925",
"0.4739",
"0.2058",
"0.0907",
"0.2058"
],
[
"0.501",
"0.1913",
"0.8857",
"0.1913",
"0.8857",
"0.2058",
"0.501",
"0.2058"
],
[
"0.4983",
"0.202",
"0.822",
"0.2026",
"0.822",
"0.2235",
"0.4983",
"0.2229"
],
[
"0.0866",
"0.2084",
"0.4617",
"0.2052",
"0.4617",
"0.2229",
"0.0866",
"0.226"
],
[
"0.0972",
"0.2235",
"0.4722",
"0.2229",
"0.4722",
"0.2374",
"0.0972",
"0.238"
],
[
"0.0907",
"0.2393",
"0.433",
"0.2393",
"0.433",
"0.2524",
"0.0907",
"0.2524"
],
[
"0.501",
"0.2393",
"0.761",
"0.2393",
"0.761",
"0.2524",
"0.501",
"0.2524"
],
[
"0.5312",
"0.2551",
"0.665",
"0.2551",
"0.665",
"0.2683",
"0.5312",
"0.2683"
],
[
"0.0907",
"0.262",
"0.4722",
"0.262",
"0.4722",
"0.276",
"0.0907",
"0.276"
],
[
"0.09235",
"0.279",
"0.4722",
"0.279",
"0.4722",
"0.289",
"0.09235",
"0.289"
],
[
"0.5",
"0.2766",
"0.884",
"0.2778",
"0.884",
"0.2922",
"0.5",
"0.2917"
],
[
"0.0907",
"0.2922",
"0.4722",
"0.2922",
"0.4722",
"0.3062",
"0.0907",
"0.3062"
],
[
"0.5",
"0.2922",
"0.8823",
"0.2935",
"0.8823",
"0.307",
"0.5",
"0.3062"
],
[
"0.0907",
"0.308",
"0.4756",
"0.308",
"0.4756",
"0.3213",
"0.0907",
"0.3213"
],
[
"0.5034",
"0.31",
"0.8823",
"0.31",
"0.8823",
"0.3208",
"0.5034",
"0.3208"
],
[
"0.08905",
"0.3225",
"0.4739",
"0.3225",
"0.4739",
"0.336",
"0.08905",
"0.336"
],
[
"0.5024",
"0.324",
"0.8857",
"0.324",
"0.8857",
"0.3372",
"0.5024",
"0.3372"
],
[
"0.0907",
"0.3384",
"0.1724",
"0.3384",
"0.1724",
"0.3499",
"0.0907",
"0.3499"
],
[
"0.501",
"0.3384",
"0.8857",
"0.3384",
"0.8857",
"0.3516",
"0.501",
"0.3516"
],
[
"0.501",
"0.3528",
"0.8823",
"0.3528",
"0.8823",
"0.3662",
"0.501",
"0.3662"
],
[
"0.09235",
"0.3599",
"0.4722",
"0.3599",
"0.4722",
"0.3738",
"0.09235",
"0.3738"
],
[
"0.5",
"0.3674",
"0.8823",
"0.3674",
"0.8823",
"0.3806",
"0.5",
"0.3806"
],
[
"0.0907",
"0.375",
"0.4722",
"0.3757",
"0.4722",
"0.3894",
"0.0907",
"0.3882"
],
[
"0.0907",
"0.3901",
"0.4739",
"0.3901",
"0.4739",
"0.404",
"0.0907",
"0.404"
],
[
"0.5024",
"0.3865",
"0.517",
"0.3865",
"0.517",
"0.3958",
"0.5024",
"0.3958"
],
[
"0.0907",
"0.4048",
"0.4739",
"0.4048",
"0.4739",
"0.4192",
"0.0907",
"0.4192"
],
[
"0.501",
"0.4048",
"0.8857",
"0.406",
"0.8857",
"0.4204",
"0.501",
"0.4192"
],
[
"0.0907",
"0.4204",
"0.4739",
"0.4204",
"0.4739",
"0.4343",
"0.0907",
"0.4343"
],
[
"0.5024",
"0.4216",
"0.8857",
"0.4216",
"0.8857",
"0.435",
"0.5024",
"0.435"
],
[
"0.08905",
"0.435",
"0.4722",
"0.4343",
"0.4722",
"0.449",
"0.08905",
"0.4495"
],
[
"0.501",
"0.4363",
"0.8857",
"0.4363",
"0.8857",
"0.4495",
"0.501",
"0.4495"
],
[
"0.08826",
"0.4443",
"0.4756",
"0.4443",
"0.4756",
"0.4697",
"0.08826",
"0.4697"
],
[
"0.501",
"0.452",
"0.8823",
"0.452",
"0.8823",
"0.4653",
"0.501",
"0.4653"
],
[
"0.10455",
"0.4653",
"0.4739",
"0.4653",
"0.4739",
"0.483",
"0.10455",
"0.483"
],
[
"0.501",
"0.4666",
"0.8823",
"0.4666",
"0.8823",
"0.481",
"0.501",
"0.481"
],
[
"0.0972",
"0.4734",
"0.10864",
"0.4734",
"0.10864",
"0.4778",
"0.0972",
"0.4778"
],
[
"0.0907",
"0.483",
"0.4714",
"0.483",
"0.4714",
"0.4976",
"0.0907",
"0.4976"
],
[
"0.5024",
"0.483",
"0.785",
"0.483",
"0.785",
"0.4937",
"0.5024",
"0.4937"
],
[
"0.0907",
"0.4988",
"0.4182",
"0.4988",
"0.4182",
"0.512",
"0.0907",
"0.512"
],
[
"0.5024",
"0.504",
"0.884",
"0.504",
"0.884",
"0.5176",
"0.5024",
"0.5176"
],
[
"0.0907",
"0.5215",
"0.4722",
"0.5215",
"0.4722",
"0.535",
"0.0907",
"0.535"
],
[
"0.501",
"0.518",
"0.88",
"0.5166",
"0.88",
"0.531",
"0.501",
"0.5327"
],
[
"0.09235",
"0.537",
"0.4739",
"0.537",
"0.4739",
"0.5503",
"0.09235",
"0.5503"
],
[
"0.501",
"0.534",
"0.884",
"0.534",
"0.884",
"0.549",
"0.501",
"0.549"
],
[
"0.0907",
"0.552",
"0.4722",
"0.552",
"0.4722",
"0.565",
"0.0907",
"0.565"
],
[
"0.5024",
"0.55",
"0.886",
"0.55",
"0.886",
"0.563",
"0.5024",
"0.563"
],
[
"0.08496",
"0.561",
"0.4739",
"0.561",
"0.4739",
"0.586",
"0.08496",
"0.586"
],
[
"0.5024",
"0.5664",
"0.812",
"0.5664",
"0.812",
"0.577",
"0.5024",
"0.577"
],
[
"0.1054",
"0.584",
"0.4722",
"0.5835",
"0.4722",
"0.5977",
"0.1054",
"0.5986"
],
[
"0.0907",
"0.5996",
"0.4739",
"0.5996",
"0.4739",
"0.613",
"0.0907",
"0.613"
],
[
"0.5",
"0.5947",
"0.8384",
"0.595",
"0.8384",
"0.61",
"0.5",
"0.6094"
],
[
"0.0907",
"0.6157",
"0.4739",
"0.6157",
"0.4739",
"0.629",
"0.0907",
"0.629"
],
[
"0.5",
"0.6187",
"0.8857",
"0.619",
"0.8857",
"0.634",
"0.5",
"0.6333"
],
[
"0.09235",
"0.632",
"0.4714",
"0.632",
"0.4714",
"0.6426",
"0.09235",
"0.6426"
],
[
"0.5",
"0.634",
"0.884",
"0.6353",
"0.884",
"0.6494",
"0.5",
"0.6484"
],
[
"0.09314",
"0.646",
"0.4739",
"0.646",
"0.4739",
"0.659",
"0.09314",
"0.659"
],
[
"0.5034",
"0.6514",
"0.871",
"0.6514",
"0.871",
"0.662",
"0.5034",
"0.662"
],
[
"0.08905",
"0.659",
"0.4739",
"0.66",
"0.4739",
"0.674",
"0.08905",
"0.6724"
],
[
"0.8677",
"0.656",
"0.8784",
"0.656",
"0.8784",
"0.659",
"0.8677",
"0.659"
],
[
"0.5",
"0.6655",
"0.8857",
"0.6655",
"0.8857",
"0.6787",
"0.5",
"0.6787"
],
[
"0.0907",
"0.6753",
"0.4739",
"0.6753",
"0.4739",
"0.6895",
"0.0907",
"0.6895"
],
[
"0.501",
"0.6797",
"0.884",
"0.6797",
"0.884",
"0.6934",
"0.501",
"0.6934"
],
[
"0.08905",
"0.6895",
"0.2361",
"0.6914",
"0.2361",
"0.705",
"0.08905",
"0.7026"
],
[
"0.5024",
"0.696",
"0.8857",
"0.696",
"0.8857",
"0.709",
"0.5024",
"0.709"
],
[
"0.0907",
"0.712",
"0.4739",
"0.712",
"0.4739",
"0.726",
"0.0907",
"0.726"
],
[
"0.5024",
"0.712",
"0.884",
"0.712",
"0.884",
"0.7227",
"0.5024",
"0.7227"
],
[
"0.08905",
"0.728",
"0.4722",
"0.7266",
"0.4722",
"0.7407",
"0.08905",
"0.741"
],
[
"0.501",
"0.726",
"0.884",
"0.726",
"0.884",
"0.7393",
"0.501",
"0.7393"
],
[
"0.0907",
"0.7437",
"0.4722",
"0.7437",
"0.4722",
"0.757",
"0.0907",
"0.757"
],
[
"0.5024",
"0.741",
"0.884",
"0.741",
"0.884",
"0.755",
"0.5024",
"0.755"
],
[
"0.0907",
"0.7603",
"0.2263",
"0.7603",
"0.2263",
"0.771",
"0.0907",
"0.771"
],
[
"0.5024",
"0.756",
"0.8857",
"0.756",
"0.8857",
"0.7695",
"0.5024",
"0.7695"
],
[
"0.501",
"0.771",
"0.884",
"0.7695",
"0.884",
"0.784",
"0.501",
"0.785"
],
[
"0.0907",
"0.78",
"0.4739",
"0.78",
"0.4739",
"0.7944",
"0.0907",
"0.7944"
],
[
"0.5063",
"0.7905",
"0.5156",
"0.7905",
"0.5156",
"0.7944",
"0.5063",
"0.7944"
],
[
"0.511",
"0.786",
"0.8857",
"0.786",
"0.8857",
"0.8",
"0.511",
"0.8"
],
[
"0.0907",
"0.797",
"0.4739",
"0.797",
"0.4739",
"0.81",
"0.0907",
"0.81"
],
[
"0.5024",
"0.802",
"0.884",
"0.802",
"0.884",
"0.815",
"0.5024",
"0.815"
],
[
"0.08905",
"0.811",
"0.4722",
"0.811",
"0.4722",
"0.8247",
"0.08905",
"0.8247"
],
[
"0.08826",
"0.8228",
"0.4756",
"0.8237",
"0.4756",
"0.8413",
"0.08826",
"0.8403"
],
[
"0.5034",
"0.8184",
"0.8813",
"0.8184",
"0.8813",
"0.829",
"0.5034",
"0.829"
],
[
"0.501",
"0.8306",
"0.884",
"0.8306",
"0.884",
"0.8447",
"0.501",
"0.8447"
],
[
"0.08905",
"0.8413",
"0.452",
"0.8423",
"0.452",
"0.856",
"0.08905",
"0.855"
],
[
"0.501",
"0.8467",
"0.697",
"0.8467",
"0.697",
"0.86",
"0.501",
"0.86"
],
[
"0.1609",
"0.8643",
"0.3987",
"0.8643",
"0.3987",
"0.882",
"0.1609",
"0.882"
],
[
"0.0907",
"0.8926",
"0.4739",
"0.8926",
"0.4739",
"0.906",
"0.0907",
"0.906"
]
] | [
"Title Suppressed Due to Excessive Size",
"m=d(图2中的d=4)。不能立即使用新的重量",
"直观上,模型的参数在单次迭代中不会发生显著变化",
"版本。特别是,飞行中的输人不能使用最新的重量版",
"因此W(t)~W(t-1)。复制因子大于1的语义是相似",
"本进行向后传递(例如,在t=21的工作人员3上输",
"的,批处理大小乘以副本数量(与常规数据并行性一",
"人7),因为这些输入的前向传递已经在不同阶段使用",
"样)。可以类似地分析其他基于动量的优化器,例如",
"较旧的重量版本启动。因此,新生成的权重版本需要",
"Adam(动量项使用在1-stale权重版本而不是最新版",
"缓冲以备将来使用。但是,需要维护的权重版本总数",
"本上计算的权重梯度)。不需要额外的阴影变量。例如",
"最多是2,因为用于生成新权重版本的权重版本可以",
"具有动量的小批量SGD中的mt可以计算为(忽略偏",
"立即被丢弃(通过该阶段的未来输人不再使用旧权重",
"差校正)mt=β·mt-1+(1-β).Vf(W(t-1))。则最",
"终的权重更新方程为W(t+1)=W(t)-V·mt",
"版本)。例如,在图2中,每个工人可以丢弃W(0)",
"一旦他们完成处理输人8的向后传递,因为所有后续",
"输入都使用较晚的权重版本进行向前和向后传递",
"3.2. Weight Updates with Flushes (",
"PipeDream-Flush)",
"给定输人微批次k(1索引)使用的权重版本是",
"max1(k一1/ml一1.0):其中m是批次中微批次",
"我们还提出了第二个内存高效的管道调度,称为",
"的数量(图E2中的4)。此权重版本对于输入k的向",
"PipeDream-Flush。它比2BW和香草优化器语义具有",
"前和向后传递都是相同的。m可以是任何数字≥d;",
"更低的内存占用,但以更低的吞吐量为代价。此计划",
"额外的梯度accumulation(更大的m)增加了全局",
"重用PipeDream(Narayananetal.,2019)中的1F1B",
"批处理大小",
"计划,但保留单个权重版本并引入定期管道刷新,以",
"确保权重更新期间的权重版本一致。具有2个管道阶",
"内存占用。PipeDream-2BW保留了2个重量版本,并",
"段的PipeDream-Flush和GPipe的时间表如图3所",
"为所有飞行中的微批次保存了激活。任何阶段的飞行",
"中微批次的数量最多是管道深度(d)。通过激活重新",
"示",
"计算,可以减少PipeDream-2BW的内存占用,因为",
"内存占用。使用PipeDream-Flush,飞行中“活动”输",
"只需要为所有飞行中的微批次维护输人激活(而不是",
"人激活的总数小于或等于管道深度,使其内存占用比",
"完全中间激活)。通过激活重新计算,PipeDream-2BW",
"GPipe低,GPipe必须保持输人激活与平均梯度的微",
"的最坏情况内存占用为2W++dlAmput(b)",
"批次数量成比例(m)。PipeDream-Flush的内存占用",
"[WI是完整模型的权重参数的大小,IAtotal(b)|是完",
"也低于PipeDream-2BW,因为它只需要维护单个权",
"",
"整模型的微批次大小b的中间激活的大小,[Ainput(b)",
"重版本(与PipeDream-2BW相比为2)",
"是管道阶段的微批次大小6的输人激活的大小",
"语义。定期的管道冲洗确保可以使用最新权重版本计",
"相比之下,GPipe需要检查可能更大数量的输激活",
"算的梯度执行权重更新。这会导致W(t+1)=W(t)-V",
"与应用权重更新(㎡)之前管道内累积的微批次总数",
"Vf(W(t))形式的权重更新。在S5.1中,我们将2BW",
"成比例。通过激活重新计算,GPipe的每GPU微批处",
"的统计效率(模型收敛速度)与PipeDream-Flush,",
"理大小b的内存占用为学+4(+mlAimput(b)",
"GPipe和数据并行性的香草语义进行了比较",
"由于WI<IA(b)I适用于大多数型号的小型bE",
"(Jainetal.,2018),因此维护一个较少的重量版本所",
"3.3. Equi-replicated Stages (Parallel Pipelines)",
"节省的内存很小。为了实现高吞吐量,GPipe必须使",
"PipeDream-2BW使用混合并行化方案执行DNN训",
"用大量的m来分摊管道刷新的成本;在如此高的m",
"练,该方案将数据和模型并行性与输入流水线相结合。",
"上,其内存占用高于PipeDream-2BW。此外,由于",
"由于今天的大型深度模型具有极其重复的结构,同",
"其较高的内存占用,GPipe必须始终使用激活重新计",
"",
"个块重复多次,因此一种简单的负载平衡计算和通信",
"算。但是,激活重新计算会使吞吐量降低约33%,如",
"方式涉及将模型分解为具有相等数量的块和复制因子",
"果可能,应避免使用",
"的阶段。因此,PipeDream-2BW中的模型训练可以被",
"语义。我们还可以形式化2BW的语义。对于此讨论,",
"认为是并行管道的集合(图4),其中管道内的输人和",
"我们假设具有d阶段的未复制管道。如果b是每GPU",
"中间输出激活不需要发送给负责不同管道的工作人员。",
"微批大小,则梯度在㎡微批上平均:因此,有效批处",
"可以使用点对点通信原语(例如send和recv)在管",
"理大小为B=6·m",
"道内传输中间激活和渐变。与PipeDream一样,权重",
"梯度需要跨不同管道中的阶段副本聚合。图4显示了",
"我们将W(t))表示为t批次大小B之后的重量版本。",
"-",
"一个示例:每个模型副本被分割为3个工作器(阶段",
"Vf(W)是批次中B样本的平均梯度。香草小批量",
"数或深度,d=3),每个阶段被复制两次(管道数或",
"SGD(f为损失函数,V为学习率)则有如下权重更新",
"方程:W(t+i)=W(t)-V.Vf(W(t))。2BW的权重更",
"宽度,W=2)。可以将暂存副本放置在同一服务器上",
"以便在具有高带宽互连的同一服务器上的GPU之间",
"新语义(所有阶段的延迟项均为1)几乎没有变化:",
"进行昂贵的all-reduce更新",
"W(t+1) = W(t) -V. Vf(W(t-1).",
"我们表明,该延迟项不会显着影响S5.1中的模型收敛。"
] | {
"arxiv_id": "2006.09503",
"language": "zh",
"page_idx": 3
} |
||
2006.09503-zh-4 | 2006.09503-zh-4.jpg | Title Suppressed Due to Excessive Size
4. Planner
道配置的缩减搜索空间上进行穷举搜索,确定如何在可用的计算设备上拆分模型。规划器还确定是否应部署节省内存的优化,以及每个 GPU 的微批处理大小和梯度度 accumulation , 给定最大安全全局批处理大小,验证不影响模型收敛(例如。g。,由过去的超参数扫描确定,无需流水线)
PipeDream-2BW 的计划程序使用成本模型来计算模型中各个块的计算时间和内存占用。时间和内存成本函数允许 PipeDream-2BW 推理管道宽度/深度和内存节省优化(例如激活重新计算)对吞吐量和内存占用的影响。例如,更深的配置具有额外的内存容量,允许更大的每个 GPU 的最大微批大小;这可以增加内核$\overline{\mathrm{E}}($Jouppi et al.,2017)的算术强度(每个内存加载执行的浮点运算数),从而增加吞吐量。张量的通信时间可以通过将张量的大小除以各自的带宽来估计。昂贵的通信 (e。g。, 大张量或跨阶段副本合并权重梯度所需的全缩减通信)可以通过适当定向管道放置在服务器内的高带宽链路上
成本建模的分析可以通过两种方式完成:每个不同配置的端到端,或者从单个块的测量结果进行外推。端到端分析是便宜的(每个配置 2 到 3 分钟),这意味着总分析时间仍然是几个小时(与模型训练所需的几天到几周相比)。对于给定的服务器和模型部署,可以重复使用最佳配置。我们在附录 §A 中描述了如何推断每块时间和内存测量值-这甚至更便宜,但提供的成本估算却不太准确。选择的最高吞吐量配置也适合目标加速器的内存容量
4.1. Activation Recomputation
激活重新计算是一种常见的技术 (Huang et al.,2019; Chen et al., 2016; Griewank & Walther, 2000) ,它以较低的内存占用换取额外的计算。使用激活重新计算, 在向前和向后传递之间,激活隐藏不会在设备上实现; 相反,只有每个阶段的输入激活被隐藏,并且在需要时通过重新运行向前传递来重新计算反向传递所需的剩余激活。激活重新计算以更低的内存占用换取额外的计算
激活重新计算之所以有用,有两个原因:它可以使更大的每 GPU 微批处理大小适合内存,这可以通过增加内核的算术强度来提高设备吞吐量。它还可以实现大型模型的训练。具体来说,在某些情况下,目标加速器设备没有足够的内存容量来存储所有飞行中的微批次的完全激活隐藏。对于深层管道尤其如此,因为飞行中输入的数量与管道的深度成正比 (Narayanan et al., 2019)
4.2. Partitioning Algorithm
PipeDream-2BW 的规划器通过在所有可能的并行管 将它们放在一起,给定总内存容量$M$ ,PipeDream-
2BW 的规划器首先确定适合给定工作程序的最大每GPU 微批处理大小 (以及相应的吞吐量),无论是否使用内存成本函数部署每个内存节省优化。分区算法还验证生成的全局批处理大小是否低于最大安全批处理大小$B$ 。通过指定相应的吞吐量和内存成本函数,可以将每个节省内存的优化集成到 PipeDream-2BW 的计划程序中
PipeDream-2BW 的规划器然后扫描所有$(w,d)$值,以确定给定模型和硬件部署的最佳管道配置。内存占用高于设备的内存容量$M$的配置(由 memory 建模(。) 成本函数) 被丢弃。梯度 accumulation 可用于将批量大小增加到$B$ 。分区算法旨在选择具有高计算通信比的配置,同时考虑跨同一管道中的各个阶段以及跨复制阶段的通信时间 (由 throughput 建模(。)成本函数)。完整算法见附录 §A
# 5. Evaluation
在本节中,我们展示了带有 2BW 的 Adam 优化器与 vanillaAdam 具有相似的语义,并且 PipeDream- 2BW 和 PipeDream-Flush 能够比包括 Megatron$\boxed{\mathrm{F}}$ (Shoeybi et al., 2019) 在内的现有模型并行方法以及诸如 GPipe$\boxed{\mathrm{E}}($Huang et al., 2019) 之类的现有流水线方法更快地训练大型模型
硬件。我们在 AWS 上的两种不同硬件设置上显示结果:8个具有 NVLink 和 16GB 每 GPU 内存的$\times$V100服务器 (64个 GPU), 以及一个8 个$\times$V100 服务器。我们使用 p3.16xlarge 实例
实施。我们的实现使用 PyTorch,并改编自 Megatron 存储库 (meg) ; 我们验证了此实现的单工作器性能在355M 参数 GPT 模型上实现了约 45 个 TFLOPS,并且与 NVIDIA (nvi) 的现有最先进的开源实现相比具有竞争力。显示的所有结果均具有混合精度
模型。我们在 BERT (Devlin et al.,2018) 和GPT ( Radford et al. , 2019) 上 评 估 PipeDream- 2BW ,这是用于许多 NLP 应用程序的基于大型变压器的语言模型。特别是,我们的大多数实验都是使用 GPT 模型进行的,其中 1。3、2。2 和 3。90 亿个参数,具有与威震天纸张$\boxed{\mathrm{F}}($Shoeybi et al.,2019) 中使用的层尺寸相似的层尺寸
基线。我们将 PipeDream-2BW 与两种类型的基线进行比较:(a)没有流水线的模型并行性(Megatron 中使用的张量模型并行性,以及层间模型并行性);(b) GPipe (我们将 GPipe 扩展为使用并行管道,并在本文的其余部分中将此增强版本称为 GPipe), 它执行管道并行性。我们不与整个模型的 PipeDream 或数据并行性进行比较,因为在使用 16GBV100GPU 时,它们无法在内存中容纳上述模型。借助 64 个 GPU, 我们可以跨阶段使用数据并行性来扩展训练 | [
[
"0.3586",
"0.05807",
"0.6167",
"0.05807",
"0.6167",
"0.07135",
"0.3586",
"0.07135"
],
[
"0.08905",
"0.0871",
"0.1814",
"0.0871",
"0.1814",
"0.0985",
"0.08905",
"0.0985"
],
[
"0.501",
"0.0871",
"0.7017",
"0.0871",
"0.7017",
"0.101",
"0.501",
"0.101"
],
[
"0.08905",
"0.1111",
"0.4739",
"0.1111",
"0.4739",
"0.125",
"0.08905",
"0.125"
],
[
"0.501",
"0.10986",
"0.8857",
"0.10986",
"0.8857",
"0.1237",
"0.501",
"0.1237"
],
[
"0.08905",
"0.127",
"0.4739",
"0.127",
"0.4739",
"0.1401",
"0.08905",
"0.1401"
],
[
"0.501",
"0.1256",
"0.884",
"0.1256",
"0.884",
"0.1395",
"0.501",
"0.1395"
],
[
"0.09314",
"0.1433",
"0.4722",
"0.1433",
"0.4722",
"0.154",
"0.09314",
"0.154"
],
[
"0.5",
"0.1395",
"0.8857",
"0.1401",
"0.8857",
"0.154",
"0.5",
"0.1528"
],
[
"0.0907",
"0.1559",
"0.4722",
"0.1559",
"0.4722",
"0.1692",
"0.0907",
"0.1692"
],
[
"0.5024",
"0.1559",
"0.884",
"0.1559",
"0.884",
"0.1692",
"0.5024",
"0.1692"
],
[
"0.0907",
"0.1718",
"0.4739",
"0.1718",
"0.4739",
"0.1849",
"0.0907",
"0.1849"
],
[
"0.501",
"0.1704",
"0.8857",
"0.1704",
"0.8857",
"0.1843",
"0.501",
"0.1843"
],
[
"0.08905",
"0.1849",
"0.4739",
"0.1863",
"0.4739",
"0.2008",
"0.08905",
"0.1995"
],
[
"0.5024",
"0.1875",
"0.8823",
"0.1875",
"0.8823",
"0.1976",
"0.5024",
"0.1976"
],
[
"0.08905",
"0.202",
"0.259",
"0.202",
"0.259",
"0.2153",
"0.08905",
"0.2153"
],
[
"0.501",
"0.2008",
"0.8857",
"0.1995",
"0.8857",
"0.214",
"0.501",
"0.2153"
],
[
"0.5034",
"0.2172",
"0.581",
"0.2172",
"0.581",
"0.2291",
"0.5034",
"0.2291"
],
[
"0.0907",
"0.2247",
"0.4722",
"0.2247",
"0.4722",
"0.238",
"0.0907",
"0.238"
],
[
"0.08905",
"0.238",
"0.4739",
"0.2393",
"0.4739",
"0.2524",
"0.08905",
"0.252"
],
[
"0.501",
"0.2393",
"0.8857",
"0.2393",
"0.8857",
"0.2524",
"0.501",
"0.2524"
],
[
"0.09235",
"0.2551",
"0.4739",
"0.2551",
"0.4739",
"0.2683",
"0.09235",
"0.2683"
],
[
"0.5024",
"0.2556",
"0.8823",
"0.2556",
"0.8823",
"0.2664",
"0.5024",
"0.2664"
],
[
"0.09235",
"0.2715",
"0.4714",
"0.2715",
"0.4714",
"0.2822",
"0.09235",
"0.2822"
],
[
"0.501",
"0.2683",
"0.8857",
"0.2683",
"0.8857",
"0.2822",
"0.501",
"0.2822"
],
[
"0.0907",
"0.2842",
"0.4739",
"0.2854",
"0.4739",
"0.2986",
"0.0907",
"0.2974"
],
[
"0.5024",
"0.2842",
"0.8857",
"0.2842",
"0.8857",
"0.2974",
"0.5024",
"0.2974"
],
[
"0.09235",
"0.3018",
"0.4722",
"0.3018",
"0.4722",
"0.3125",
"0.09235",
"0.3125"
],
[
"0.5024",
"0.3005",
"0.8823",
"0.3005",
"0.8823",
"0.3113",
"0.5024",
"0.3113"
],
[
"0.0907",
"0.315",
"0.4739",
"0.315",
"0.4739",
"0.3289",
"0.0907",
"0.3289"
],
[
"0.501",
"0.3145",
"0.884",
"0.3145",
"0.884",
"0.3276",
"0.501",
"0.3276"
],
[
"0.0907",
"0.33",
"0.4739",
"0.33",
"0.4739",
"0.3435",
"0.0907",
"0.3435"
],
[
"0.5024",
"0.33",
"0.884",
"0.33",
"0.884",
"0.3435",
"0.5024",
"0.3435"
],
[
"0.09314",
"0.3467",
"0.4714",
"0.3467",
"0.4714",
"0.3567",
"0.09314",
"0.3567"
],
[
"0.501",
"0.3447",
"0.6807",
"0.3447",
"0.6807",
"0.358",
"0.501",
"0.358"
],
[
"0.0907",
"0.3599",
"0.4722",
"0.3599",
"0.4722",
"0.375",
"0.0907",
"0.375"
],
[
"0.0907",
"0.3757",
"0.4739",
"0.3757",
"0.4739",
"0.3894",
"0.0907",
"0.3894"
],
[
"0.4983",
"0.3774",
"0.621",
"0.379",
"0.621",
"0.3933",
"0.4983",
"0.3926"
],
[
"0.09235",
"0.3926",
"0.2532",
"0.3926",
"0.2532",
"0.4028",
"0.09235",
"0.4028"
],
[
"0.5024",
"0.4048",
"0.8857",
"0.4048",
"0.8857",
"0.4185",
"0.5024",
"0.4185"
],
[
"0.09235",
"0.4136",
"0.4739",
"0.4136",
"0.4739",
"0.4268",
"0.09235",
"0.4268"
],
[
"0.501",
"0.4185",
"0.8857",
"0.4204",
"0.8857",
"0.4343",
"0.501",
"0.432"
],
[
"0.09235",
"0.43",
"0.4722",
"0.43",
"0.4722",
"0.44",
"0.09235",
"0.44"
],
[
"0.5",
"0.435",
"0.8857",
"0.435",
"0.8857",
"0.449",
"0.5",
"0.449"
],
[
"0.0907",
"0.443",
"0.4722",
"0.443",
"0.4722",
"0.457",
"0.0907",
"0.457"
],
[
"0.5024",
"0.4507",
"0.8857",
"0.4507",
"0.8857",
"0.464",
"0.5024",
"0.464"
],
[
"0.08905",
"0.4583",
"0.4739",
"0.459",
"0.4739",
"0.473",
"0.08905",
"0.4717"
],
[
"0.5",
"0.4634",
"0.884",
"0.464",
"0.884",
"0.4792",
"0.5",
"0.4778"
],
[
"0.09235",
"0.476",
"0.4722",
"0.476",
"0.4722",
"0.486",
"0.09235",
"0.486"
],
[
"0.5024",
"0.4817",
"0.664",
"0.4817",
"0.664",
"0.4924",
"0.5024",
"0.4924"
],
[
"0.0907",
"0.4893",
"0.4722",
"0.4893",
"0.4722",
"0.5024",
"0.0907",
"0.5024"
],
[
"0.09235",
"0.505",
"0.4722",
"0.505",
"0.4722",
"0.515",
"0.09235",
"0.515"
],
[
"0.501",
"0.5024",
"0.8857",
"0.5024",
"0.8857",
"0.5166",
"0.501",
"0.5166"
],
[
"0.09235",
"0.521",
"0.4722",
"0.521",
"0.4722",
"0.531",
"0.09235",
"0.531"
],
[
"0.5024",
"0.5176",
"0.8857",
"0.5176",
"0.8857",
"0.531",
"0.5024",
"0.531"
],
[
"0.08905",
"0.534",
"0.2214",
"0.534",
"0.2214",
"0.5474",
"0.08905",
"0.5474"
],
[
"0.5024",
"0.5327",
"0.8823",
"0.5327",
"0.8823",
"0.547",
"0.5024",
"0.547"
],
[
"0.5024",
"0.549",
"0.7075",
"0.549",
"0.7075",
"0.5625",
"0.5024",
"0.5625"
],
[
"0.08905",
"0.565",
"0.3145",
"0.5664",
"0.3145",
"0.58",
"0.08905",
"0.579"
],
[
"0.5024",
"0.571",
"0.884",
"0.571",
"0.884",
"0.584",
"0.5024",
"0.584"
],
[
"0.0907",
"0.589",
"0.4739",
"0.589",
"0.4739",
"0.603",
"0.0907",
"0.603"
],
[
"0.5024",
"0.586",
"0.8857",
"0.586",
"0.8857",
"0.5996",
"0.5024",
"0.5996"
],
[
"0.08905",
"0.604",
"0.4739",
"0.604",
"0.4739",
"0.617",
"0.08905",
"0.617"
],
[
"0.5024",
"0.603",
"0.884",
"0.603",
"0.884",
"0.613",
"0.5024",
"0.613"
],
[
"0.09235",
"0.622",
"0.4722",
"0.622",
"0.4722",
"0.632",
"0.09235",
"0.632"
],
[
"0.5024",
"0.616",
"0.884",
"0.616",
"0.884",
"0.63",
"0.5024",
"0.63"
],
[
"0.0907",
"0.6353",
"0.4739",
"0.6353",
"0.4739",
"0.6484",
"0.0907",
"0.6484"
],
[
"0.5",
"0.63",
"0.8096",
"0.63",
"0.8096",
"0.643",
"0.5",
"0.643"
],
[
"0.0907",
"0.6494",
"0.4722",
"0.6494",
"0.4722",
"0.6636",
"0.0907",
"0.6636"
],
[
"0.501",
"0.654",
"0.8857",
"0.654",
"0.8857",
"0.6675",
"0.501",
"0.6675"
],
[
"0.09235",
"0.6665",
"0.4714",
"0.6665",
"0.4714",
"0.677",
"0.09235",
"0.677"
],
[
"0.501",
"0.6685",
"0.884",
"0.6685",
"0.884",
"0.6816",
"0.501",
"0.6816"
],
[
"0.0907",
"0.6797",
"0.4722",
"0.6797",
"0.4722",
"0.6934",
"0.0907",
"0.6934"
],
[
"0.5073",
"0.6895",
"0.5186",
"0.6895",
"0.5186",
"0.6934",
"0.5073",
"0.6934"
],
[
"0.5146",
"0.6846",
"0.884",
"0.6846",
"0.884",
"0.6978",
"0.5146",
"0.6978"
],
[
"0.0907",
"0.6934",
"0.1396",
"0.696",
"0.1381",
"0.7104",
"0.08905",
"0.7085"
],
[
"0.5024",
"0.6997",
"0.884",
"0.6997",
"0.884",
"0.7134",
"0.5024",
"0.7134"
],
[
"0.08905",
"0.7173",
"0.4739",
"0.7173",
"0.4739",
"0.731",
"0.08905",
"0.731"
],
[
"0.501",
"0.714",
"0.8857",
"0.714",
"0.8857",
"0.728",
"0.501",
"0.728"
],
[
"0.08905",
"0.731",
"0.4722",
"0.732",
"0.4722",
"0.747",
"0.08905",
"0.7456"
],
[
"0.501",
"0.73",
"0.8857",
"0.73",
"0.8857",
"0.7437",
"0.501",
"0.7437"
],
[
"0.0907",
"0.75",
"0.4722",
"0.75",
"0.4722",
"0.7603",
"0.0907",
"0.7603"
],
[
"0.501",
"0.744",
"0.6313",
"0.744",
"0.6313",
"0.7583",
"0.501",
"0.7583"
],
[
"0.0907",
"0.763",
"0.4739",
"0.763",
"0.4739",
"0.7764",
"0.0907",
"0.7764"
],
[
"0.5024",
"0.7666",
"0.884",
"0.7666",
"0.884",
"0.78",
"0.5024",
"0.78"
],
[
"0.09235",
"0.78",
"0.4722",
"0.78",
"0.4722",
"0.7905",
"0.09235",
"0.7905"
],
[
"0.501",
"0.7827",
"0.884",
"0.7827",
"0.884",
"0.797",
"0.501",
"0.797"
],
[
"0.08905",
"0.7935",
"0.4722",
"0.7935",
"0.4722",
"0.8066",
"0.08905",
"0.8066"
],
[
"0.501",
"0.7974",
"0.884",
"0.7974",
"0.884",
"0.811",
"0.501",
"0.811"
],
[
"0.09644",
"0.81",
"0.4714",
"0.81",
"0.4714",
"0.821",
"0.09644",
"0.821"
],
[
"0.5024",
"0.8125",
"0.884",
"0.8125",
"0.884",
"0.8257",
"0.5024",
"0.8257"
],
[
"0.08905",
"0.8247",
"0.1732",
"0.8247",
"0.1732",
"0.8354",
"0.08905",
"0.8354"
],
[
"0.505",
"0.829",
"0.8813",
"0.829",
"0.8813",
"0.839",
"0.505",
"0.839"
],
[
"0.5024",
"0.8447",
"0.8823",
"0.8447",
"0.8823",
"0.855",
"0.5024",
"0.855"
],
[
"0.501",
"0.858",
"0.8857",
"0.858",
"0.8857",
"0.872",
"0.501",
"0.872"
],
[
"0.5024",
"0.8726",
"0.8857",
"0.8726",
"0.8857",
"0.886",
"0.5024",
"0.886"
],
[
"0.5034",
"0.888",
"0.7793",
"0.888",
"0.7793",
"0.9014",
"0.5034",
"0.9014"
]
] | [
"Title Suppressed Due to Excessive Size",
"4.Planner",
"4.2. Partitioning Algorithm",
"PipeDream-2BW的规划器通过在所有可能的并行管",
"将它们放在一起,给定总内存容量M,PipeDream-",
"道配置的缩减搜索空间上进行穷举搜索,确定如何在",
"2BW的规划器首先确定适合给定工作程序的最大每",
"可用的计算设备上拆分模型。规划器还确定是否应部",
"GPU微批处理大小(以及相应的吞吐量),无论是否使",
"署节省内存的优化,以及每个GPU的微批处理大小",
"用内存成本函数部署每个内存节省优化。分区算法还",
"和梯度度accumulation,给定最大安全全局批处理大",
"验证生成的全局批处理大小是否低于最大安全批处理",
"小,验证不影响模型收敛(例如。g。,由过去的超参数",
"天小B。通过指定相应的春吐量和内存成本函数,可",
"扫描确定,无需流水线)",
"以将每个节省内存的优化集成到PipeDream-2BW的",
"计划程序中",
"PipeDream-2BW的计划程序使用成本模型来计算模",
"型中各个块的计算时间和内存占用。时间和内存成本",
"PipeDream-2BW的规划器然后扫描所有(w,d)值,以",
"函数允许PipeDream-2BW推理管道宽度/深度和内",
"确定给定模型和硬件部署的最佳管道配置。内存占用",
"存节省优化(例如激活重新计算)对吞吐量和内存占",
"高于设备的内存容量M的配置(由memory建模(。)",
"用的影响。例如,更深的配置具有额外的内存容量,允",
"成本函数)被丢弃。梯度accumulation可用于将批量",
"许更大的每个GPU的最大微批大小;这可以增加内",
"大小增加到B。分区算法旨在选择具有高计算通信比",
"核E(Jouppietal.,2017)的算术强度(每个内存加载",
"的配置,同时考虑跨同一管道中的各个阶段以及跨复",
"执行的浮点运算数),从而增加吞吐量。张量的通信时",
"制阶段的通信时间(由throughput建模(。)成本函",
"间可以通过将张量的天小除以各自的带宽来估计。昂",
"数)。完整算法见附录SA",
"贵的通信(e。g。,大张量或跨阶段副本合并权重梯度",
"所需的全缩减通信)可以通过适当定向管道放置在服",
"5. Evaluation",
"务器内的高带宽链路上",
"在本节中,我们展示了带有2BW的Adam优化器",
"成本建模的分析可以通过两种方式完成:每个不同配",
"与vanillaAdam具有相似的语义,并且PipeDream-",
"置的端到端,或者从单个块的测量结果进行外推。端",
"2BW和PipeDream-Flush能够比包括MegatronE",
"到端分析是便宜的(每个配置2到3分钟),这意味着",
"(Shoeybietal.,2019)在内的现有模型并行方法以及诸",
"总分析时间仍然是几个小时(与模型训练所需的几天",
"如GPipeE(Huangetal.,2019)之类的现有流水线方",
"到儿周相比)。对于给定的服务器和模型部署,可以重",
"法更快地训练大型模型",
"复使用最佳配置。我们在附录SA中描述了如何推断",
"每块时间和内存测量值-这至更便宜,但提供的成本",
"硬件。我们在AWS上的两种不同硬件设置上显示结",
"估算却不太准确。选择的最高吞吐量配置也适合自标",
"果:8个具有NVLink和16GB每GPU内存的×V100",
"加速器的内存容量",
"服务器(64个GPU),以及一个8个×V100服务器",
"我们使用p3.16xlarge实例",
"4.l.ActivationRecomputation",
"实施。我们的实现使用PyTorch,并改编自Megatron",
"激活重新计算是一种常见的技术(Huangetal.,2019;",
"存储库(meg);我们验证了此实现的单工作器性能在",
"Chen etal.,2016;Griewank&Walther,2000),它以",
"355M参数GPT模型上实现了45个TFLOPS,并",
"较低的内存占用换取额外的计算。使用激活重新计算",
"且与NVIDIA(nvi)的现有最先进的开源实现相比具",
"在向前和向后传递之间,激活隐藏不会在设备上实现;",
"有竞争力。显示的所有结果均具有混合精度",
"相反,只有每个阶段的输人激活被隐藏,并且在需要",
"模型。我们在BERT(Devlinetal.,2018)和",
"时通过重新运行向前传递来重新计算反向传递所需的",
"GPT(Radfordetal.,2019)上评估PipeDream-2BW",
"剩余激活。激活重新计算以更低的内存占用换取额外",
"",
"这是用于许多NLP应用程序的基于大型变压器的",
"的计算",
"语言模型。特别是,我们的大多数实验都是使用GPT",
"激活重新计算之所以有用,有两个原因:它可以使更",
"模型进行的,其中1。3、2。2和3。90亿个参数,具",
"大的每GPU微批处理大小适合内存,这可以通过增",
"有与威震天纸张国(Shoeybietal.,2019)中使用的层",
"加内核的算术强度来提高设备吞吐量。它还可以实现",
"尺寸相似的层尺寸",
"大型模型的训练。具体来说,在某些情况下,目标加",
"基线。我们将PipeDream-2BW与两种类型的基线进",
"速器设备没有足够的内存容量来存储所有飞行中的微",
"行比较:(a)没有流水线的模型并行性(Megatron中",
"批次的完全激活隐藏。对于深层管道尤其如此,因为",
"使用的张量模型并行性,以及层间模型并行性);(b)",
"飞行中输入的数量与管道的深度成正比(Narayanan",
"GPipe(我们将GPipe扩展为使用并行管道,并在本",
"et al.,2019",
"文的其余部分中将此增强版本称为GPipe),它执行管",
"道并行性。我们不与整个模型的PipeDream或数据并",
"行性进行比较,因为在使用16GBV100GPU时,它们",
"无法在内存中容纳上述模型。借助64个GPU,我们",
"可以跨阶段使用数据并行性来扩展训练"
] | {
"arxiv_id": "2006.09503",
"language": "zh",
"page_idx": 4
} |
||
2108.04927-zh-1 | 2108.04927-zh-1.jpg | $\textbf{Embodied BERT: 用 于 具 体 的 , 语 言 指 导 的 视 觉 任 务 完 成 的 转 换 器 模 型 }$
Alessandro Suglia$^1$
$Q\text{iaozi Gao}^{2}$
Jesse Thomason$^{2,3}$
Govind Thattai$^2$
Gaurav S. Sukhatme$^{2,3}$
$^{1}$Heriot-Watt University; $^2$Amazon Alexa AI; $^3$University of Southern California
$\mathbf{Abstract}$
Language-guided robots performing home and office tasks must navigate in and interact with the world. Grounding language instructions against visual observations and actions to take in an environment is an open challenge. We present Embodied BERT ( EmBERT), a transformer-based model which can attend to high-dimensional, multi-modal inputs across long temporal horizons for language-conditioned task completion. Additionally, we bridge the gap between successful object-centric navigation models used for noninteractive agents and the language-guided visual task completion benchmark, ALFRED, by introducing object navigation targets for EmBERT training. EmBERT achieves competitive performance on the ALFRED benchmark, and is the first model to use a full, pretrained BERT stack while handling the long-horizon, dense, multi-modal histories of ALFRED. Model code is available at the following link: https://github.com/ amazon-research/embert
点是识别物体地标$\overline{\mathrm{E}}($Blukis et al., 2018) 和目的地$\overline{\mathrm{E}}($Batra et al.,2020b)。但是,对于代理任务完成,代理必须在环境中导航并朝指定目标操纵对象 (Gordon et al., 2017; Shridhar et al. 2020), 大多数预测移动动作而不明确标识导航对象目标 (Singh et al., 2020; Pashevich et al., 2021;Nguyen et al., 2021; Abramson et al., 2020) 。我们解决了这个差距,通过预测目标 sink 对象在每个时间步的空间位置,将导航指令如Head 定位到角落的 sink (图$\overline{\mathrm{E}}1$ )
EAI 中基于 转换器的模型对语言指令和已经完成的路径 (Majumdar et al.,2020) 之间的对齐进行评分,或者通过将隐藏状态的一部分传播到下一个时间步长 (Hong et al.,2020) 来引人递归。前者需要对环境操作序列进行波束搜索,当操作无法撤消时,这是不可行的,例如 slicing 和 apple 。后者引人了沉重的内存需求,并且仅在四到六步的短轨迹上可行。我们通过将语言和视觉特征的嵌入与环境中下一步行动的预测脱钩来克服这两个限制。我们首先使用多模式变换器架构在单个时间步骤中嵌入语言和视觉观察,然后训练变换器解码器模型以使用此类嵌入的序列来解码动作(图 3 )。我们介绍了 Embodied BERT (EmBERT) 它实现了这两个关键见解:
1. Object-centric Navigation unifies the disjoint
navigation and interaction action sequences in ALFRED, giving navigation actions perstep object landmarks.
2. Decoupled Multimodal Transformers enable
extending transformer based multimodal embeddings and sequence-to-sequence prediction to the fifty average steps present in ALFRED trajectories.
## 1 Introduction
语言基于与世界的交互的代理体验(Bisket al., 2020; Bender and Koller, 2020)。面向任务的教学语言着重于对象以及对象与参与者之间的交互,如在教学数据集$\boxed{\mathrm{F}}($Damen et al.,2020; Koupaee and Wang,2018) 中所示,这是语言与对象$\overline{\mathbb{E}}($Quine, 1960) 之间不可分割的关系的函数。该焦点产生用于操作的对象目标的语言描述,例如将 strawberries 放在 cutting board 上并将它们切成 pieces $\overline{\mathrm{E}}($Chai et al.,2018)。我们证明,在丰富的 3D 模拟家庭环境中,除了操纵对象目标之外,预测导航对象地标还可以提高指令跟随代理的性能。我们假设以对象为中心的导航通常是体现 AI (EAI) 代理的语义和拓扑导航$\overline{\mathbb{E}}($Kuipers and Byun, 1991)的关键部分。EAI 导航中的实质性建模$\overline{\mathrm{E}}$(Majumdar et al., 2020) 和基准$\overline{\mathrm{E}}($Qi et al., 2020b) 的工作重
$^{*}$Work completed via internship with Amazon Alexa AI.
### 2 Related Work
从家具组装$\overline{\mathrm{E}}($Tellex et al.,2011) 到四轴飞行器飞行控制$\overline{\mathbb{E}}($Blukis et al.,2019) , 已经探索了机器人$\operatorname{E}($Tellex et al., 2020) 的自然语言指导
具体化 AI。对于任务完成基准,像 pickup 这样的动作必须与视觉世界中的对象目标相结 | [
[
"0.1234",
"0.0956",
"0.875",
"0.0956",
"0.875",
"0.10986",
"0.1234",
"0.10986"
],
[
"0.168",
"0.1277",
"0.346",
"0.1271",
"0.346",
"0.1443",
"0.168",
"0.1455"
],
[
"0.4434",
"0.1277",
"0.553",
"0.1259",
"0.553",
"0.1437",
"0.4434",
"0.1455"
],
[
"0.6665",
"0.1277",
"0.831",
"0.1259",
"0.831",
"0.1443",
"0.6665",
"0.1467"
],
[
"0.2612",
"0.1687",
"0.4014",
"0.1687",
"0.4014",
"0.1829",
"0.2612",
"0.1829"
],
[
"0.5635",
"0.1675",
"0.7676",
"0.165",
"0.7676",
"0.1829",
"0.5635",
"0.1853"
],
[
"0.1755",
"0.2073",
"0.8237",
"0.209",
"0.8237",
"0.2239",
"0.1755",
"0.2214"
],
[
"0.2627",
"0.253",
"0.3418",
"0.253",
"0.3418",
"0.2673",
"0.2627",
"0.2673"
],
[
"0.5156",
"0.2542",
"0.879",
"0.2542",
"0.879",
"0.2683",
"0.5156",
"0.2683"
],
[
"0.5146",
"0.2708",
"0.881",
"0.2708",
"0.881",
"0.284",
"0.5146",
"0.284"
],
[
"0.1453",
"0.279",
"0.4575",
"0.279",
"0.4575",
"0.2935",
"0.1453",
"0.2935"
],
[
"0.5146",
"0.2861",
"0.8774",
"0.2861",
"0.8774",
"0.2998",
"0.5146",
"0.2998"
],
[
"0.1453",
"0.2935",
"0.4575",
"0.2935",
"0.4575",
"0.3071",
"0.1453",
"0.3071"
],
[
"0.5146",
"0.3018",
"0.8774",
"0.3018",
"0.8774",
"0.3154",
"0.5146",
"0.3154"
],
[
"0.147",
"0.3088",
"0.288",
"0.3088",
"0.288",
"0.3196",
"0.147",
"0.3196"
],
[
"0.2805",
"0.308",
"0.4592",
"0.308",
"0.4592",
"0.3218",
"0.2805",
"0.3218"
],
[
"0.1453",
"0.3218",
"0.4592",
"0.3218",
"0.4592",
"0.335",
"0.1453",
"0.335"
],
[
"0.511",
"0.3176",
"0.879",
"0.3176",
"0.879",
"0.3308",
"0.511",
"0.3308"
],
[
"0.1453",
"0.3362",
"0.4568",
"0.3374",
"0.4568",
"0.3486",
"0.1453",
"0.3474"
],
[
"0.513",
"0.3342",
"0.876",
"0.3342",
"0.876",
"0.3474",
"0.513",
"0.3474"
],
[
"0.1453",
"0.3508",
"0.4575",
"0.3508",
"0.4575",
"0.364",
"0.1453",
"0.364"
],
[
"0.513",
"0.3508",
"0.881",
"0.3508",
"0.881",
"0.364",
"0.513",
"0.364"
],
[
"0.1453",
"0.364",
"0.4575",
"0.364",
"0.4575",
"0.3777",
"0.1453",
"0.3777"
],
[
"0.517",
"0.3677",
"0.876",
"0.3677",
"0.876",
"0.3813",
"0.517",
"0.3813"
],
[
"0.147",
"0.379",
"0.4575",
"0.379",
"0.4575",
"0.3926",
"0.147",
"0.3926"
],
[
"0.513",
"0.3818",
"0.879",
"0.3818",
"0.879",
"0.3955",
"0.513",
"0.3955"
],
[
"0.1453",
"0.3926",
"0.4568",
"0.3926",
"0.4568",
"0.4062",
"0.1453",
"0.4062"
],
[
"0.511",
"0.3984",
"0.79",
"0.398",
"0.79",
"0.412",
"0.511",
"0.4133"
],
[
"0.1436",
"0.4067",
"0.4575",
"0.4062",
"0.4575",
"0.4192",
"0.1436",
"0.4204"
],
[
"0.5283",
"0.415",
"0.8774",
"0.415",
"0.8774",
"0.4287",
"0.5283",
"0.4287"
],
[
"0.1453",
"0.4216",
"0.4592",
"0.4216",
"0.4592",
"0.4358",
"0.1453",
"0.4358"
],
[
"0.147",
"0.437",
"0.4568",
"0.437",
"0.4568",
"0.4478",
"0.147",
"0.4478"
],
[
"0.511",
"0.4316",
"0.8774",
"0.4316",
"0.8774",
"0.4453",
"0.511",
"0.4453"
],
[
"0.1453",
"0.4495",
"0.4592",
"0.4495",
"0.4592",
"0.4631",
"0.1453",
"0.4631"
],
[
"0.5146",
"0.4478",
"0.879",
"0.4478",
"0.879",
"0.462",
"0.5146",
"0.462"
],
[
"0.1436",
"0.4631",
"0.4575",
"0.462",
"0.4575",
"0.4768",
"0.1436",
"0.478"
],
[
"0.513",
"0.4631",
"0.879",
"0.4631",
"0.879",
"0.478",
"0.513",
"0.478"
],
[
"0.147",
"0.4797",
"0.4568",
"0.4797",
"0.4568",
"0.4905",
"0.147",
"0.4905"
],
[
"0.5146",
"0.4797",
"0.881",
"0.4797",
"0.881",
"0.4946",
"0.5146",
"0.4946"
],
[
"0.1453",
"0.4922",
"0.4575",
"0.4922",
"0.4575",
"0.506",
"0.1453",
"0.506"
],
[
"0.5146",
"0.4963",
"0.881",
"0.4963",
"0.881",
"0.5103",
"0.5146",
"0.5103"
],
[
"0.1453",
"0.506",
"0.4592",
"0.506",
"0.4592",
"0.5195",
"0.1453",
"0.5195"
],
[
"0.5146",
"0.5127",
"0.879",
"0.5127",
"0.879",
"0.5254",
"0.5146",
"0.5254"
],
[
"0.147",
"0.5215",
"0.455",
"0.521",
"0.455",
"0.532",
"0.147",
"0.533"
],
[
"0.513",
"0.527",
"0.881",
"0.528",
"0.881",
"0.542",
"0.513",
"0.5415"
],
[
"0.1453",
"0.535",
"0.4575",
"0.535",
"0.4575",
"0.549",
"0.1453",
"0.549"
],
[
"0.513",
"0.5444",
"0.879",
"0.5444",
"0.879",
"0.558",
"0.513",
"0.558"
],
[
"0.147",
"0.5503",
"0.4568",
"0.5503",
"0.4568",
"0.561",
"0.147",
"0.561"
],
[
"0.1453",
"0.5635",
"0.4575",
"0.5635",
"0.4575",
"0.5767",
"0.1453",
"0.5767"
],
[
"0.529",
"0.56",
"0.881",
"0.56",
"0.881",
"0.5737",
"0.529",
"0.5737"
],
[
"0.1453",
"0.5776",
"0.4575",
"0.5776",
"0.4575",
"0.5913",
"0.1453",
"0.5913"
],
[
"0.5146",
"0.576",
"0.879",
"0.576",
"0.879",
"0.589",
"0.5146",
"0.589"
],
[
"0.1453",
"0.593",
"0.3704",
"0.593",
"0.3704",
"0.6055",
"0.1453",
"0.6055"
],
[
"0.513",
"0.593",
"0.879",
"0.593",
"0.879",
"0.6055",
"0.513",
"0.6055"
],
[
"0.5146",
"0.6094",
"0.882",
"0.6094",
"0.882",
"0.6226",
"0.5146",
"0.6226"
],
[
"0.1184",
"0.619",
"0.1335",
"0.619",
"0.1335",
"0.629",
"0.1184",
"0.629"
],
[
"0.1351",
"0.6226",
"0.1427",
"0.6226",
"0.1427",
"0.627",
"0.1351",
"0.627"
],
[
"0.1511",
"0.618",
"0.2612",
"0.618",
"0.2612",
"0.63",
"0.1511",
"0.63"
],
[
"0.5146",
"0.6245",
"0.8833",
"0.6245",
"0.8833",
"0.638",
"0.5146",
"0.638"
],
[
"0.11755",
"0.641",
"0.4836",
"0.641",
"0.4836",
"0.655",
"0.11755",
"0.655"
],
[
"0.5146",
"0.641",
"0.723",
"0.641",
"0.723",
"0.655",
"0.5146",
"0.655"
],
[
"0.1184",
"0.659",
"0.486",
"0.659",
"0.486",
"0.673",
"0.1184",
"0.673"
],
[
"0.525",
"0.6567",
"0.882",
"0.6567",
"0.882",
"0.6704",
"0.525",
"0.6704"
],
[
"0.1184",
"0.676",
"0.4844",
"0.676",
"0.4844",
"0.6895",
"0.1184",
"0.6895"
],
[
"0.5483",
"0.6733",
"0.882",
"0.6733",
"0.882",
"0.687",
"0.5483",
"0.687"
],
[
"0.11755",
"0.6904",
"0.4836",
"0.6904",
"0.4836",
"0.7036",
"0.11755",
"0.7036"
],
[
"0.5474",
"0.687",
"0.8833",
"0.6895",
"0.8833",
"0.7036",
"0.5474",
"0.7017"
],
[
"0.11755",
"0.706",
"0.4836",
"0.706",
"0.4836",
"0.7197",
"0.11755",
"0.7197"
],
[
"0.5483",
"0.706",
"0.7188",
"0.706",
"0.7188",
"0.7197",
"0.5483",
"0.7197"
],
[
"0.1184",
"0.7236",
"0.4844",
"0.7236",
"0.4844",
"0.737",
"0.1184",
"0.737"
],
[
"0.5264",
"0.7217",
"0.882",
"0.7217",
"0.882",
"0.7354",
"0.5264",
"0.7354"
],
[
"0.11755",
"0.7383",
"0.4844",
"0.7393",
"0.4844",
"0.7544",
"0.11755",
"0.753"
],
[
"0.5483",
"0.7363",
"0.8833",
"0.737",
"0.8833",
"0.752",
"0.5483",
"0.7505"
],
[
"0.11755",
"0.7544",
"0.4844",
"0.7544",
"0.4844",
"0.7686",
"0.11755",
"0.7686"
],
[
"0.5483",
"0.7544",
"0.8833",
"0.7544",
"0.8833",
"0.767",
"0.5483",
"0.767"
],
[
"0.11584",
"0.7686",
"0.4878",
"0.7695",
"0.4878",
"0.7876",
"0.11584",
"0.786"
],
[
"0.55",
"0.771",
"0.8833",
"0.771",
"0.8833",
"0.7837",
"0.55",
"0.7837"
],
[
"0.1184",
"0.786",
"0.4836",
"0.7876",
"0.4836",
"0.802",
"0.1184",
"0.8003"
],
[
"0.5483",
"0.785",
"0.69",
"0.785",
"0.69",
"0.799",
"0.5483",
"0.799"
],
[
"0.1184",
"0.804",
"0.4844",
"0.804",
"0.4844",
"0.818",
"0.1184",
"0.818"
],
[
"0.517",
"0.8184",
"0.523",
"0.8184",
"0.523",
"0.8247",
"0.517",
"0.8247"
],
[
"0.5415",
"0.8184",
"0.5474",
"0.8184",
"0.5474",
"0.8237",
"0.5415",
"0.8237"
],
[
"0.546",
"0.8135",
"0.671",
"0.8135",
"0.671",
"0.8276",
"0.546",
"0.8276"
],
[
"0.1184",
"0.8193",
"0.4844",
"0.8193",
"0.4844",
"0.833",
"0.1184",
"0.833"
],
[
"0.12006",
"0.836",
"0.4844",
"0.836",
"0.4844",
"0.8496",
"0.12006",
"0.8496"
],
[
"0.513",
"0.839",
"0.879",
"0.839",
"0.879",
"0.854",
"0.513",
"0.854"
],
[
"0.1184",
"0.8516",
"0.4844",
"0.8516",
"0.4844",
"0.865",
"0.1184",
"0.865"
],
[
"0.519",
"0.8555",
"0.882",
"0.8555",
"0.882",
"0.869",
"0.519",
"0.869"
],
[
"0.1184",
"0.868",
"0.4844",
"0.868",
"0.4844",
"0.882",
"0.1184",
"0.882"
],
[
"0.513",
"0.8716",
"0.846",
"0.8716",
"0.846",
"0.8857",
"0.513",
"0.8857"
],
[
"0.1184",
"0.8843",
"0.4844",
"0.8843",
"0.4844",
"0.898",
"0.1184",
"0.898"
],
[
"0.532",
"0.888",
"0.879",
"0.888",
"0.879",
"0.903",
"0.532",
"0.903"
],
[
"0.147",
"0.905",
"0.4844",
"0.905",
"0.4844",
"0.9185",
"0.147",
"0.9185"
],
[
"0.513",
"0.905",
"0.881",
"0.905",
"0.881",
"0.9185",
"0.513",
"0.9185"
]
] | [
"EmbodiedBERT:用于具体的,语言指导的视觉任务完成的转换器模型",
"Alessandro Suglial *",
"Qiaozi Gao?",
"Jesse Thomason?.3",
"Govind Thattai?",
"Gaurav S. Sukhatme2,3",
"1Heriot-Watt University:2Amazon Alexa AI; 3University of Southern California",
"Abstract",
"点是识别物体地标E(Blukisetal.2018)和目",
"的地E(Batraetal.,2020b)。但是,对于代理",
"Language-guided robots performing home and",
"任务完成,代理必须在环境中导航并朝指定目",
"office tasks must navigate in and interact",
"标操纵对象(Gordon et al.,2017;Shridhar et al.",
"with the world.",
" Grounding language in-",
"structions against visual observations and ac-",
"2020):大多数预测移动动作而不明确标识导",
"tions to take in an environment is an open",
"航对象目标(Singhetal.2020;Pashevich etal.",
"challenge.We present Embodied BERT (",
"2021; Nguyen et al., 2021; Abramson et al., 2020)",
"EmBERT), a transformer-based model which",
"。我们解决了这个差距,通过预测目标sink",
"can attend to high-dimensional, multi-modal",
"对象在每个时间步的空间位置,将导航指令如",
"inputs across long temporal horizons for",
"Head定位到角落的sink(图E1)",
"language-conditioned task completion.Addi-",
"EAI中基于转换器的模型对语言指令和已",
"tionally, we bridge the gap between successful",
"object-centricnavigationmodelsusedfornon",
"经完成的路径(Majumdaretal.,2020)之间的",
"interactive agents and the language-guided vi-",
"对齐进行评分,或者通过将隐藏状态的一部分",
"sual task completion benchmark, ALFRED,",
"传播到下一个时间步长(Hongetal.,2020)来",
"by introducing object navigation targets for",
"引入递归。前者需要对环境操作序列进行波束",
"EmBERT training. EmBERT achieves com-",
"搜索,当操作无法撤消时,这是不可行的,例",
"petitive performance on the ALFRED bench-",
"如slicing和apple。后者引人了沉重的内",
"mark, and is the first model to use a full",
"存需求,并且仅在四到六步的短轨迹上可行。",
"pretrained BERT stack while handling the",
"我们通过将语言和视觉特征的嵌入与环境中下",
"long-horizon,dense,multi-modal histories of",
"ALFRED. Model code is available at the",
"步行动的预测脱钩来克服这两个限制。我们",
"following link: https://github.com/",
"首先使用多模式变换器架构在单个时间步骤中",
"amazon-research/embert",
"嵌入语言和视觉观察,然后训练变换器解码器",
"模型以使用此类嵌入的序列来解码动作(图3",
"1",
"",
"Introduction",
")。我们介绍了EmbodiedBERT(EmBERT),",
"语言基于与世界的交互的代理体验(Bisketal.",
"它实现了这两个关键见解:",
"2020;BenderandKoller,2020)。面向任务的教",
"1. Object-centric Navigation unifies the disjoint",
"学语言着重于对象以及对象与参与者之间的",
"navigation and interaction action sequences",
"交互,如在教学数据集E(Damenetal..2020:",
"in ALFRED, giving navigation actions per-",
"KoupaeeandWang,2018)中所示,这是语言与",
"step object landmarks.",
"对象E(Quine,1960)之间不可分割的关系的函",
"2. Decoupled Multimodal Transformers enable",
"数。该焦点产生用于操作的对象目标的语言描",
"extending transformer based multimodal em-",
"述,例如将strawberries放在cuttingboard上",
"beddings and sequence-to-sequence predic-",
"并将它们切成piecesE(Chai et al.,2018)。我",
"tion to the fifty average steps present in AL-",
"们证明,在丰富的3D模拟家庭环境中,除了",
"FRED trajectories.",
"操纵对象目标之外,预测导航对象地标还可以",
"",
"",
"Related Work",
"提高指令跟随代理的性能。我们假设以对象为",
"中心的导航通常是体现AI(EAI)代理的语义",
"从家具组装E(Tellexetal.,2011)到四轴飞行器",
"和拓扑导航E(KuipersandByun,1991)的关键",
"飞行控制E(Blukisetal.,2019),已经探索了机",
"部分。EAI导航中的实质性建模E(Majumdar",
"器人E(Tellexetal.,2020)的自然语言指导",
"etal.,2020)和基准E(Qietal.,2020b)的工作重",
"具体化AI。对于任务完成基准,像pickup",
"*Work completed via internship with Amazon Alexa AI.",
"这样的动作必须与视觉世界中的对象目标相结"
] | {
"arxiv_id": "2108.04927",
"language": "zh",
"page_idx": 1
} |
||
2108.04927-zh-2 | 2108.04927-zh-2.jpg | <FigureHere>
Figure 1: Embodied BERT. EmBERT attends to object detections in a panoramic view around an agent, then predicts an action and both a target object and target object parent for both navigation and manipulation actions. For example, at timesteps $t=0,1$ above, the model must predict the sink object target and its parent, the countertop ,while at $t=6$ it predicts both the object potato to pick up and the sink on which it rests.
Singh et al., 2020; Pashevich et al., 2021; Kim et al., 2021; Blukis et al., 2021) 。。我们同样遵循先前的工作$\overline{\mathrm{E}}$(Singh et al., 2020; Pashevich et al., 2021; Nguyen et al., 2021; Kim et al., 2021; Zhang and Chai, 2021) , 将这些边界框预测为Pickup 等动作的对象目标,而不是直接预测密集的对象分割掩码$\overline{\mathrm{E}}($Shridhar et al., 2020)
考虑在微波炉中加热一杯水的步骤,其中在打开 microwave 之前和关闭 microwave 之后的视觉观察是相同的。ALFRED 大型观测历史的转换器编码只能使用浅层网络$\overline{\mathrm{E}}($Pashevich et al.,2021),而不能利用在较短范围内使用的大规模,预训练的语言模型$\overline{\mathrm{E}}($Hong et al., 2020) 。我们将多模态变压器状态编码从序列到序列状态再到动作预测解耦,从 AllenNLPSQuAD$\overline{\mathrm{E}}$(Rajpurkar et al.,2016) 训练程序$\mathbb{E}($Gardner et al., 2017) 中汲取灵感
我们的 EmBERT 模型是第一个在联合导航和操纵任务期间利用辅助的,以对象为中心的导航预测损失的模型,其建立在先前的工作基础上,该工作仅预测目标对象的方向$\overline{\mathrm{E}}($Storks et al., 2021) 或在仅导航任务期间在地标上磨练$\boxed{\mathrm{E}}($Shrivastava et al.,2021)。虽然推理过程中的映射环境在 VLN$\overline{\mathrm{E}}($Fang et al., 2019; Chen et al., 2021) 和 ALFRED$\overline{\mathrm{E}}$(Blukis et al., 2021) 上都显示出了希望,但我们将映射的合并留给了以后的工作
合,其规格范围从仅遮罩预测$\overline{\mathrm{E}}($Shridhar et al., 2020) 到完整的低级夹持器控制$\overline{\mathrm{E}}($Batra et al., 2020a)的建议。同样,导航基准将对象作为目标包含在诸如对象导航$\overline{\mathbb{E}}($Qi et al., 2020b; Batra et al., 2020b; Kurenkov et al., 2020) 之类的任务中,并且对这些对象进行显式建模通常有助于导航成功$\overline{\mathrm{E}}($Shrivastava et al., 2021; Qi et al., 2020a,2021)。许多成功的导航基准建模方法都结合了多模式变压器模型,这些模型需要从递归$\overline{\mathbb{E}}($Hong et al.,2020)中获取大量内存,在潜在动作序列$\boxed{\mathrm{E}}$(Majumdar et al.,2020) 上进行波束搜索,或者没有大规模预训练的浅层来编码长历史$\overline{\mathrm{E}}$(Pashevich et al., 2021; Magassouba et al.,2021)。在这项工作中,我们将导航对象目标合并到 ALFRED 任务完成基准$\overline{\mathrm{E}}$(Shridhar et al.,2020) 中,并将基于变压器的多模态状态嵌入从基于变压器的状态嵌入转换到动作和对象目标预测。此外,与其他从头开始训练其语言编码器的方法不同,我们成功地利用了多模式架构中的 BERT 堆栈。通过这种方式EmBERT 可以应用于其他语言指导的任务,例如 VLN 和协作视觉和对话导航$\overline{\mathbb{E}}($Thomason et al.,2019) 。
语言指导的任务完成。表 1 总结了 EmBERT 与当前 ALFRED 建模方法的比较。ALFRED 语言指令既是单个高级目标,又是一系列分步指令 (图 2)。在每个时间步长,我们对目标指令和预测的当前逐步指令进行编码。我们训练EmBERT 来预测何时前进到下一条指令,这是LWITE(Nguyen et al., 2021) 引人的技术
EmBERT 使用全景视图空间查看代理周围的所有内容。EmBERT 不受 LWITE(Nguyen et al.,2021)和递归 VLNBERT 模型$\overline{\mathrm{E}}($Hong et al.,2020) 的启发,直接处理嵌人了与代理的空间关系的对象边界框预测,而不是处理密集的单个向量表示$\overline{\mathrm{E}}($Shridhar et al.,2020;
### 3 $\textbf{The ALFRED Benchmark}$
ALFRED 基准测试$\overline{\mathrm{E}}$(Shridhar et al.,2020)在3d 模拟房间中将家庭任务演示与书面英语说明配对$\overline{\mathbb{E}}($Kolve et al., 2017)。ALFRED 任务来自七个类别:PICK & PLACE 、STACK & PLACE , PICK TWO & PLACE , CLEAN & PLACE , HEAT & PLACE 、COOL & PLACE 和 EXAMINE IN LIGHT | [
[
"0.4802",
"0.08075",
"0.5225",
"0.0831",
"0.5205",
"0.0932",
"0.4785",
"0.09143"
],
[
"0.5635",
"0.082",
"0.613",
"0.082",
"0.613",
"0.09265",
"0.5635",
"0.09265"
],
[
"0.3123",
"0.0831",
"0.336",
"0.0831",
"0.336",
"0.09143",
"0.3123",
"0.09143"
],
[
"0.2527",
"0.0831",
"0.272",
"0.0831",
"0.272",
"0.09143",
"0.2527",
"0.09143"
],
[
"0.372",
"0.0831",
"0.3972",
"0.0831",
"0.3972",
"0.09143",
"0.372",
"0.09143"
],
[
"0.66",
"0.0831",
"0.692",
"0.0831",
"0.692",
"0.09143",
"0.66",
"0.09143"
],
[
"0.4224",
"0.08435",
"0.465",
"0.08435",
"0.465",
"0.09143",
"0.4224",
"0.09143"
],
[
"0.189",
"0.08435",
"0.215",
"0.08435",
"0.215",
"0.09143",
"0.189",
"0.09143"
],
[
"0.706",
"0.08435",
"0.7305",
"0.08435",
"0.7305",
"0.09143",
"0.706",
"0.09143"
],
[
"0.735",
"0.08435",
"0.7983",
"0.08435",
"0.7983",
"0.09143",
"0.735",
"0.09143"
],
[
"0.797",
"0.0861",
"0.8193",
"0.0861",
"0.8193",
"0.08905",
"0.797",
"0.08905"
],
[
"0.413",
"0.0932",
"0.4592",
"0.0932",
"0.4592",
"0.1271",
"0.413",
"0.1271"
],
[
"0.482",
"0.10095",
"0.523",
"0.10394",
"0.5225",
"0.114",
"0.4802",
"0.111"
],
[
"0.66",
"0.10095",
"0.6963",
"0.10095",
"0.6963",
"0.1134",
"0.66",
"0.1134"
],
[
"0.4768",
"0.1081",
"0.5264",
"0.10986",
"0.525",
"0.1247",
"0.476",
"0.1223"
],
[
"0.419",
"0.11755",
"0.455",
"0.1194",
"0.4534",
"0.1318",
"0.4182",
"0.13"
],
[
"0.4802",
"0.1194",
"0.5054",
"0.1194",
"0.5054",
"0.1271",
"0.4802",
"0.1271"
],
[
"0.663",
"0.114",
"0.69",
"0.114",
"0.69",
"0.1318",
"0.663",
"0.1318"
],
[
"0.4165",
"0.1414",
"0.4534",
"0.1414",
"0.4534",
"0.165",
"0.4165",
"0.165"
],
[
"0.671",
"0.1437",
"0.684",
"0.1437",
"0.684",
"0.1561",
"0.671",
"0.1561"
],
[
"0.781",
"0.1437",
"0.797",
"0.1437",
"0.797",
"0.152",
"0.781",
"0.152"
],
[
"0.796",
"0.1443",
"0.802",
"0.1443",
"0.802",
"0.1509",
"0.796",
"0.1509"
],
[
"0.482",
"0.1561",
"0.5225",
"0.1561",
"0.5225",
"0.1633",
"0.482",
"0.1633"
],
[
"0.4785",
"0.1467",
"0.529",
"0.1467",
"0.529",
"0.158",
"0.4785",
"0.158"
],
[
"0.444",
"0.1567",
"0.4517",
"0.1621",
"0.444",
"0.1675",
"0.4375",
"0.1621"
],
[
"0.4768",
"0.1603",
"0.509",
"0.1603",
"0.509",
"0.1729",
"0.4768",
"0.1729"
],
[
"0.665",
"0.165",
"0.692",
"0.165",
"0.692",
"0.1733",
"0.665",
"0.1733"
],
[
"0.4224",
"0.1978",
"0.4434",
"0.1996",
"0.4417",
"0.209",
"0.4207",
"0.2073"
],
[
"0.419",
"0.1621",
"0.4568",
"0.1663",
"0.4534",
"0.1799",
"0.4165",
"0.1758"
],
[
"0.4785",
"0.1978",
"0.5264",
"0.1978",
"0.5264",
"0.209",
"0.4785",
"0.209"
],
[
"0.729",
"0.2048",
"0.7573",
"0.2048",
"0.7573",
"0.2162",
"0.729",
"0.2162"
],
[
"0.7983",
"0.2048",
"0.8286",
"0.2048",
"0.8286",
"0.2173",
"0.7983",
"0.2173"
],
[
"0.4785",
"0.2073",
"0.519",
"0.2073",
"0.519",
"0.2185",
"0.4785",
"0.2185"
],
[
"0.4224",
"0.2079",
"0.4517",
"0.2079",
"0.4517",
"0.2162",
"0.4224",
"0.2162"
],
[
"0.419",
"0.2156",
"0.4568",
"0.2156",
"0.4568",
"0.2268",
"0.419",
"0.2268"
],
[
"0.4768",
"0.2144",
"0.513",
"0.2144",
"0.513",
"0.2257",
"0.4768",
"0.2257"
],
[
"0.424",
"0.2245",
"0.4492",
"0.2245",
"0.4492",
"0.2286",
"0.424",
"0.2286"
],
[
"0.4785",
"0.2245",
"0.4954",
"0.2245",
"0.4954",
"0.2322",
"0.4785",
"0.2322"
],
[
"0.11584",
"0.2546",
"0.881",
"0.2559",
"0.881",
"0.2708",
"0.11584",
"0.2695"
],
[
"0.1184",
"0.2708",
"0.879",
"0.2708",
"0.879",
"0.284",
"0.1184",
"0.284"
],
[
"0.11755",
"0.2852",
"0.881",
"0.2852",
"0.881",
"0.2986",
"0.11755",
"0.2986"
],
[
"0.11755",
"0.2998",
"0.864",
"0.2986",
"0.864",
"0.3123",
"0.11755",
"0.3135"
],
[
"0.1184",
"0.339",
"0.4937",
"0.3384",
"0.4937",
"0.3528",
"0.1184",
"0.354"
],
[
"0.511",
"0.339",
"0.881",
"0.339",
"0.881",
"0.3528",
"0.511",
"0.3528"
],
[
"0.1184",
"0.3557",
"0.4878",
"0.3557",
"0.4878",
"0.3694",
"0.1184",
"0.3694"
],
[
"0.511",
"0.3557",
"0.881",
"0.3557",
"0.881",
"0.3694",
"0.511",
"0.3694"
],
[
"0.1184",
"0.3718",
"0.4844",
"0.3718",
"0.4844",
"0.3855",
"0.1184",
"0.3855"
],
[
"0.511",
"0.3718",
"0.882",
"0.3706",
"0.882",
"0.3855",
"0.511",
"0.386"
],
[
"0.11755",
"0.3884",
"0.4878",
"0.386",
"0.4878",
"0.3997",
"0.11755",
"0.402"
],
[
"0.511",
"0.3872",
"0.882",
"0.386",
"0.882",
"0.401",
"0.511",
"0.402"
],
[
"0.11755",
"0.402",
"0.4844",
"0.4026",
"0.4844",
"0.4175",
"0.11755",
"0.4163"
],
[
"0.511",
"0.4038",
"0.879",
"0.4038",
"0.879",
"0.4175",
"0.511",
"0.4175"
],
[
"0.12006",
"0.4192",
"0.4844",
"0.4192",
"0.4844",
"0.4329",
"0.12006",
"0.4329"
],
[
"0.511",
"0.4187",
"0.881",
"0.4192",
"0.881",
"0.434",
"0.511",
"0.4329"
],
[
"0.12177",
"0.437",
"0.482",
"0.437",
"0.482",
"0.4478",
"0.12177",
"0.4478"
],
[
"0.5146",
"0.4353",
"0.858",
"0.4353",
"0.858",
"0.449",
"0.5146",
"0.449"
],
[
"0.11755",
"0.452",
"0.4844",
"0.452",
"0.4844",
"0.4656",
"0.11755",
"0.4656"
],
[
"0.532",
"0.4531",
"0.879",
"0.4531",
"0.879",
"0.4673",
"0.532",
"0.4673"
],
[
"0.1184",
"0.4685",
"0.4836",
"0.4685",
"0.4836",
"0.4822",
"0.1184",
"0.4822"
],
[
"0.513",
"0.4697",
"0.879",
"0.4697",
"0.879",
"0.4827",
"0.513",
"0.4827"
],
[
"0.12006",
"0.4863",
"0.4802",
"0.4863",
"0.4802",
"0.4963",
"0.12006",
"0.4963"
],
[
"0.513",
"0.485",
"0.881",
"0.485",
"0.881",
"0.4988",
"0.513",
"0.4988"
],
[
"0.1184",
"0.5005",
"0.4836",
"0.5005",
"0.4836",
"0.514",
"0.1184",
"0.514"
],
[
"0.5146",
"0.502",
"0.881",
"0.502",
"0.881",
"0.5156",
"0.5146",
"0.5156"
],
[
"0.1184",
"0.517",
"0.4836",
"0.517",
"0.4836",
"0.531",
"0.1184",
"0.531"
],
[
"0.5146",
"0.5186",
"0.8774",
"0.5186",
"0.8774",
"0.532",
"0.5146",
"0.532"
],
[
"0.1184",
"0.533",
"0.4844",
"0.533",
"0.4844",
"0.5464",
"0.1184",
"0.5464"
],
[
"0.5156",
"0.535",
"0.881",
"0.535",
"0.881",
"0.549",
"0.5156",
"0.549"
],
[
"0.1184",
"0.549",
"0.4836",
"0.549",
"0.4836",
"0.5625",
"0.1184",
"0.5625"
],
[
"0.5146",
"0.552",
"0.6206",
"0.552",
"0.6206",
"0.5625",
"0.5146",
"0.5625"
],
[
"0.613",
"0.5503",
"0.881",
"0.5503",
"0.881",
"0.564",
"0.613",
"0.564"
],
[
"0.12006",
"0.564",
"0.486",
"0.564",
"0.486",
"0.579",
"0.12006",
"0.579"
],
[
"0.5146",
"0.568",
"0.881",
"0.568",
"0.881",
"0.5806",
"0.5146",
"0.5806"
],
[
"0.11584",
"0.58",
"0.4844",
"0.58",
"0.4844",
"0.5933",
"0.11584",
"0.5933"
],
[
"0.511",
"0.5806",
"0.881",
"0.582",
"0.881",
"0.5967",
"0.511",
"0.5957"
],
[
"0.1184",
"0.597",
"0.4844",
"0.597",
"0.4844",
"0.611",
"0.1184",
"0.611"
],
[
"0.5146",
"0.5986",
"0.806",
"0.5986",
"0.806",
"0.6123",
"0.5146",
"0.6123"
],
[
"0.1184",
"0.6133",
"0.486",
"0.6133",
"0.486",
"0.627",
"0.1184",
"0.627"
],
[
"0.531",
"0.616",
"0.881",
"0.616",
"0.881",
"0.63",
"0.531",
"0.63"
],
[
"0.1184",
"0.6274",
"0.4836",
"0.6274",
"0.4836",
"0.641",
"0.1184",
"0.641"
],
[
"0.5146",
"0.633",
"0.881",
"0.633",
"0.881",
"0.6465",
"0.5146",
"0.6465"
],
[
"0.12006",
"0.6455",
"0.4895",
"0.6455",
"0.4895",
"0.659",
"0.12006",
"0.659"
],
[
"0.513",
"0.6484",
"0.881",
"0.6484",
"0.881",
"0.662",
"0.513",
"0.662"
],
[
"0.11755",
"0.66",
"0.4844",
"0.661",
"0.4844",
"0.676",
"0.11755",
"0.675"
],
[
"0.51",
"0.6646",
"0.881",
"0.663",
"0.881",
"0.6777",
"0.51",
"0.6787"
],
[
"0.11755",
"0.676",
"0.486",
"0.6777",
"0.486",
"0.6924",
"0.11755",
"0.6904"
],
[
"0.513",
"0.681",
"0.881",
"0.681",
"0.881",
"0.695",
"0.513",
"0.695"
],
[
"0.11584",
"0.6934",
"0.2141",
"0.6934",
"0.2141",
"0.705",
"0.11584",
"0.705"
],
[
"0.511",
"0.6953",
"0.881",
"0.697",
"0.881",
"0.7114",
"0.511",
"0.7104"
],
[
"0.1368",
"0.7104",
"0.4844",
"0.7104",
"0.4844",
"0.7236",
"0.1368",
"0.7236"
],
[
"0.511",
"0.712",
"0.882",
"0.7114",
"0.882",
"0.7256",
"0.511",
"0.727"
],
[
"0.12006",
"0.7256",
"0.4878",
"0.7256",
"0.4878",
"0.7407",
"0.12006",
"0.7407"
],
[
"0.51",
"0.728",
"0.881",
"0.7285",
"0.881",
"0.7437",
"0.51",
"0.742"
],
[
"0.12006",
"0.7437",
"0.486",
"0.7437",
"0.486",
"0.7573",
"0.12006",
"0.7573"
],
[
"0.5146",
"0.745",
"0.8774",
"0.745",
"0.8774",
"0.759",
"0.5146",
"0.759"
],
[
"0.12006",
"0.759",
"0.4844",
"0.759",
"0.4844",
"0.7725",
"0.12006",
"0.7725"
],
[
"0.511",
"0.761",
"0.6055",
"0.761",
"0.6055",
"0.7754",
"0.511",
"0.7754"
],
[
"0.12006",
"0.7754",
"0.486",
"0.7754",
"0.486",
"0.789",
"0.12006",
"0.789"
],
[
"0.1184",
"0.7915",
"0.4895",
"0.7915",
"0.4895",
"0.8047",
"0.1184",
"0.8047"
],
[
"0.5073",
"0.7935",
"0.7734",
"0.7935",
"0.7734",
"0.807",
"0.5073",
"0.807"
],
[
"0.11584",
"0.8057",
"0.434",
"0.807",
"0.434",
"0.822",
"0.11584",
"0.821"
],
[
"0.1351",
"0.8223",
"0.4844",
"0.8237",
"0.4844",
"0.8384",
"0.1351",
"0.8374"
],
[
"0.513",
"0.8237",
"0.881",
"0.8237",
"0.881",
"0.8384",
"0.513",
"0.8384"
],
[
"0.1184",
"0.8403",
"0.486",
"0.8403",
"0.486",
"0.854",
"0.1184",
"0.854"
],
[
"0.513",
"0.8403",
"0.881",
"0.8403",
"0.881",
"0.854",
"0.513",
"0.854"
],
[
"0.11755",
"0.857",
"0.4844",
"0.857",
"0.4844",
"0.8706",
"0.11755",
"0.8706"
],
[
"0.513",
"0.857",
"0.881",
"0.857",
"0.881",
"0.8706",
"0.513",
"0.8706"
],
[
"0.11584",
"0.8726",
"0.4844",
"0.8726",
"0.4844",
"0.8857",
"0.11584",
"0.8857"
],
[
"0.5156",
"0.8726",
"0.8833",
"0.8726",
"0.8833",
"0.8857",
"0.5156",
"0.8857"
],
[
"0.1184",
"0.8896",
"0.4878",
"0.8896",
"0.4878",
"0.903",
"0.1184",
"0.903"
],
[
"0.511",
"0.888",
"0.882",
"0.888",
"0.882",
"0.902",
"0.511",
"0.902"
],
[
"0.1184",
"0.905",
"0.4878",
"0.905",
"0.4878",
"0.9185",
"0.1184",
"0.9185"
],
[
"0.511",
"0.905",
"0.881",
"0.905",
"0.881",
"0.9185",
"0.511",
"0.9185"
]
] | [
"Step Inst",
"EmBERT",
"Back",
"Left",
"Right",
"Action",
"Goal Inst",
"Front",
"Obje",
"tBBoxPare",
"",
"E",
"Head to th",
"",
"sink in the",
"the sink",
"corner",
"Tert",
"Pouced",
"食",
"",
"",
"sinkinthe",
"Head to the",
".0",
"corner.",
"orwaro",
"Puta",
"the sink.",
"Pick up the",
"口",
"国",
"potato in",
"cooked",
"potato in",
"frontof",
"hacinl",
"you",
"Figure l: Embodied BERT. EmBERT attends to object detections in a panoramic view around an agent, then",
"predicts an action and both a target object and target object parent for both navigation and manipulation actions.",
"For example, at timesteps t = O, 1 above, the model must predict the sink object target and its parent, the",
"countertop ,while at t =6 it predicts both the object potato to pick up and the sink on which it rests.",
"合,其规格范围从仅遮罩预测E(Shridharetal,",
"Singh et al., 2020; Pashevich et al., 2021; Kim",
"2020)到完整的低级夹持器控制E(Batraetal.,",
"etal.,2021;Blukisetal.,2021)。。我们同样",
"2020a)的建议。同样,导航基准将对象作为目",
"遵循先前的工作ESinghetal.,2020;Pashevich",
"标包含在诸如对象导航E(Qietal.,2020b;Batra",
"et al., 2021; Nguyen et al., 2021; Kim et al., 2021;",
"et al.,2020b;Kurenkovetal.,2020)之类的任务",
"ZhangandChai,2021),将这些边界框预测为",
"中,并且对这些对象进行显式建模通常有助",
"Pickup等动作的对象目标,而不是直接预测",
"千导航成功F(Shrivastavaetal.,2021:Oietal.",
"密集的对象分割掩码E(Shridharetal.,2020)",
"2020a,2021)。许多成功的导航基准建模方法",
"考虑在微波炉中加热一杯水的步骤,其中",
"都结合了多模式变压器模型,这些模型需要从",
"在打开microwave之前和关闭microwave",
"递归F(Hongetal.2020)中获取大量内存,在",
"之后的视觉观察是相同的。ALFRED大型观",
"潜在动作序列E(Majumdaretal.,2020)上进行",
"测历史的转换器编码只能使用浅层网络E(Pa-",
"波束搜索,或者没有大规模预训练的浅层来编",
"shevichetal.,2021),而不能利用在较短范围",
"码长历史E(Pashevichetal.,2021;Magassouba",
"内使用的大规模,预训练的语言模型E(Hong",
"etal.,2021)。在这项工作中,我们将导航对象",
"et al.. 2020)",
"。我们将多模态变压器状态编码",
"目标合并到ALFRED任务完成基准E(Shridhar",
"从序列到序列状态再到动作预测解耦,从Al-",
"etal..2020)中,并将基于变压器的多模态状态",
"lenNLPSQuADE(Rajpurkaretal.,2016)训练程",
"嵌人从基于变压器的状态嵌入转换到动作和",
"序E(Gardneretal.,2017)中汲取灵感",
"对象目标预测。此外,与其他从头开始训练其",
"我们的EmBERT模型是第一个在联合导航",
"语言编码器的方法不同,我们成功地利用了",
"和操纵任务期间利用辅助的,以对象为中心的",
"多模式架构中的BERT堆栈。通过这种方式,",
"导航预测损失的模型,其建立在先前的工作基",
"EmBERT可以应用于其他语言指导的任务,例",
"础上,该工作仅预测目标对象的方向E(Storks",
"如VLN和协作视觉和对话导航国(Thomason",
"etal.,2021)或在仅导航任务期间在地标上磨",
"et al. 2019)",
"练(Shrivastavaetal.,2021)。虽然推理过程",
"语言指导的任务完成。表1总结了EmBERT",
"中的映射环境在VLNE(Fangetal.,2019;Chen",
"与当前ALFRED建模方法的比较。ALFRED语",
"etal.,2021)和ALFREDE(Blukis etal.,2021)上",
"言指令既是单个高级目标,又是一系列分步指",
"都显示出了希望,但我们将映射的合并留给了",
"令(图2)。在每个时间步长,我们对目标指",
"以后的工作",
"令和预测的当前逐步指令进行编码。我们训练",
"EmBERT来预测何时前进到下一条指令,这是",
"3TheALFREDBenchmark",
"LWITE(Nguyen etal.,2021)引人的技术",
"EmBERT使用全景视图空间查看代理周围",
"ALFRED基准测试E(Shridharetal.,2020)在",
"的所有内容。EmBERT不受LWITE(Nguyen",
"3d模拟房间中将家庭任务演示与书面英语说",
"etal.,2021)和递归VLNBERT模型E(Hong",
"明配对E(Kolveetal.,2017)。ALFRED任务来",
"etal.,2020)的启发,直接处理嵌入了与代理",
"自七个类别:PICK&PLACE、STACK&PLACE、",
"的空间关系的对象边界框预测,而不是处理",
"PICK TWO & PLACE、CLEAN& PLACE、HEAT&",
"密集的单个向量表示E(Shridharetal.,2020;",
"PLACE、COOL&PLACE和EXAMINEINLIGHT"
] | {
"arxiv_id": "2108.04927",
"language": "zh",
"page_idx": 2
} |
||
2108.04927-zh-3 | 2108.04927-zh-3.jpg | <table>
<tbody>
<tr>
<th> </th>
<th colspan="2">$\mathbf{Language}$ $0bs.$</th>
<th colspan="2">$\mathbf{Visual}0\mathbf{bs}.$</th>
<th colspan="2">Historical $0bs.$ T</th>
<th colspan="2">Inference</th>
</tr>
<tr>
<th> </th>
<th>Goal Inst. Structure</th>
<th>Inst. Split</th>
<th>Views</th>
<th>Features</th>
<th>As Inputs</th>
<th>$\operatorname{Hidden}$ States</th>
<th>Mask $Pred.$</th>
<th>Nav Obj $Pred.$</th>
</tr>
<tr>
<td>SEQ2SEQ (Shridhar et al..2020)</td>
<td>$X$</td>
<td>$X$</td>
<td>Single</td>
<td>Dense</td>
<td>$X$</td>
<td>LSTM</td>
<td>Direct</td>
<td>$X$</td>
</tr>
<tr>
<td>(Singh et al..2020) $\mathbf{MOCA}$</td>
<td> </td>
<td>$X$</td>
<td>Single</td>
<td>Dense</td>
<td>$X$</td>
<td>LSTM</td>
<td>BBox</td>
<td>$X$</td>
</tr>
<tr>
<td>ET (Pashevich et al., 2021)</td>
<td>$X$</td>
<td>$X$</td>
<td>Single</td>
<td>Dense</td>
<td>$TF$</td>
<td>$X$</td>
<td>BBox</td>
<td>$X$</td>
</tr>
<tr>
<td>LWIT (Nguven et al.,2021)</td>
<td> </td>
<td>$V$</td>
<td>Multi</td>
<td>BBox</td>
<td>$X$</td>
<td>LSTM</td>
<td>BBox</td>
<td>$X$</td>
</tr>
<tr>
<td>$ABP$ Kim et al. , 2021</td>
<td> </td>
<td>$X$</td>
<td>Multi</td>
<td>Dense</td>
<td>$X$</td>
<td>LSTM</td>
<td>BBox</td>
<td>$X$</td>
</tr>
<tr>
<td>(Zhang and Chai, 2021) HITUT</td>
<td> </td>
<td>$V$</td>
<td>Single</td>
<td>BBox</td>
<td>$SG$</td>
<td>$X$</td>
<td>BBox</td>
<td>$X$</td>
</tr>
<tr>
<td>HLSM (Blukis et al., 2021)</td>
<td> </td>
<td> </td>
<td>Single</td>
<td>Dense</td>
<td>SG+ Map</td>
<td>$X$</td>
<td>Direct</td>
<td>$X$</td>
</tr>
<tr>
<td>EmBERT</td>
<td>1</td>
<td>$√$</td>
<td>Multi</td>
<td>BBox</td>
<td>$X$</td>
<td>$TF$</td>
<td>BBox</td>
<td>T</td>
</tr>
</tbody>
</table>
Table l: Model comparison. EmBERT uses a multimodal transformer (TF) to embed language inst ructions and detected objects in a panoramic view, and a transformer decoder to produce action and object predictions. Ours is the first ALFRED model to add object prediction to navigation steps. Other methods maintain history by taking previous transformer states (TF) (Pashevich et al., 2021), subgoal prediction structures (SG) (Zhang and Chai, 2021; Blukis et al., 2021), or maintained voxel maps (Blukis et al., 2021) as input.
<FigureHere>
Figure 2: EmBERT Auxiliary Predictions. ALFRED provides goal and step-by-step language instructions that are aligned with planner goals and sequences of trajectory actions in an expert demonstration (top). EmBERT additionally identifies navigational object targets in a panoramic view (bottom). EmBERT predicts an object target and its higher visibility parent receptacle ,such as the table on which the box rests. | [
[
"0.3494",
"0.1561",
"0.4492",
"0.1561",
"0.4492",
"0.1675",
"0.3494",
"0.1675"
],
[
"0.492",
"0.1561",
"0.567",
"0.1561",
"0.567",
"0.1675",
"0.492",
"0.1675"
],
[
"0.614",
"0.1561",
"0.714",
"0.1561",
"0.714",
"0.1675",
"0.614",
"0.1675"
],
[
"0.769",
"0.1561",
"0.833",
"0.1561",
"0.833",
"0.1675",
"0.769",
"0.1675"
],
[
"0.345",
"0.1675",
"0.4072",
"0.1675",
"0.4072",
"0.1787",
"0.345",
"0.1787"
],
[
"0.424",
"0.1675",
"0.455",
"0.1675",
"0.455",
"0.1799",
"0.424",
"0.1799"
],
[
"0.6206",
"0.1675",
"0.644",
"0.1675",
"0.644",
"0.1799",
"0.6206",
"0.1799"
],
[
"0.678",
"0.1675",
"0.727",
"0.1675",
"0.727",
"0.1787",
"0.678",
"0.1787"
],
[
"0.744",
"0.1675",
"0.7827",
"0.1675",
"0.7827",
"0.1787",
"0.744",
"0.1787"
],
[
"0.797",
"0.1663",
"0.858",
"0.1663",
"0.858",
"0.1812",
"0.797",
"0.1812"
],
[
"0.4727",
"0.1733",
"0.5156",
"0.1733",
"0.5156",
"0.1853",
"0.4727",
"0.1853"
],
[
"0.531",
"0.1733",
"0.586",
"0.1733",
"0.586",
"0.1853",
"0.531",
"0.1853"
],
[
"0.346",
"0.1799",
"0.4072",
"0.1799",
"0.4072",
"0.1912",
"0.346",
"0.1912"
],
[
"0.424",
"0.1799",
"0.4568",
"0.1799",
"0.4568",
"0.1912",
"0.424",
"0.1912"
],
[
"0.6113",
"0.1799",
"0.6533",
"0.1799",
"0.6533",
"0.1936",
"0.6113",
"0.1936"
],
[
"0.681",
"0.1799",
"0.723",
"0.1799",
"0.723",
"0.1912",
"0.681",
"0.1912"
],
[
"0.7446",
"0.1799",
"0.7793",
"0.1799",
"0.7793",
"0.1912",
"0.7446",
"0.1912"
],
[
"0.812",
"0.1799",
"0.846",
"0.1799",
"0.846",
"0.1912",
"0.812",
"0.1912"
],
[
"0.3745",
"0.1936",
"0.3896",
"0.2037",
"0.3762",
"0.212",
"0.3628",
"0.2031"
],
[
"0.678",
"0.1948",
"0.7256",
"0.1948",
"0.7256",
"0.209",
"0.678",
"0.209"
],
[
"0.7407",
"0.1948",
"0.784",
"0.1965",
"0.7827",
"0.209",
"0.739",
"0.2073"
],
[
"0.623",
"0.1953",
"0.6406",
"0.1953",
"0.6406",
"0.2102",
"0.623",
"0.2102"
],
[
"0.1276",
"0.1965",
"0.3267",
"0.1965",
"0.3267",
"0.2073",
"0.1276",
"0.2073"
],
[
"0.4324",
"0.1965",
"0.4458",
"0.1965",
"0.4458",
"0.209",
"0.4324",
"0.209"
],
[
"0.4727",
"0.1965",
"0.5156",
"0.1965",
"0.5156",
"0.2079",
"0.4727",
"0.2079"
],
[
"0.5366",
"0.1965",
"0.58",
"0.1965",
"0.58",
"0.2079",
"0.5366",
"0.2079"
],
[
"0.8228",
"0.1965",
"0.8345",
"0.1965",
"0.8345",
"0.209",
"0.8228",
"0.209"
],
[
"0.126",
"0.2073",
"0.2988",
"0.2073",
"0.2988",
"0.2203",
"0.126",
"0.2203"
],
[
"0.471",
"0.2079",
"0.5156",
"0.2079",
"0.5156",
"0.2197",
"0.471",
"0.2197"
],
[
"0.5366",
"0.2079",
"0.58",
"0.2079",
"0.58",
"0.2197",
"0.5366",
"0.2197"
],
[
"0.6245",
"0.2079",
"0.6396",
"0.2079",
"0.6396",
"0.2197",
"0.6245",
"0.2197"
],
[
"0.679",
"0.2079",
"0.7246",
"0.2079",
"0.7246",
"0.2197",
"0.679",
"0.2197"
],
[
"0.742",
"0.206",
"0.7827",
"0.2079",
"0.781",
"0.2203",
"0.7407",
"0.2185"
],
[
"0.8228",
"0.2079",
"0.8364",
"0.2079",
"0.8364",
"0.2203",
"0.8228",
"0.2203"
],
[
"0.3628",
"0.2144",
"0.3762",
"0.2048",
"0.388",
"0.2131",
"0.3745",
"0.2227"
],
[
"0.4324",
"0.209",
"0.4458",
"0.209",
"0.4458",
"0.2203",
"0.4324",
"0.2203"
],
[
"0.12427",
"0.2185",
"0.2957",
"0.2185",
"0.2957",
"0.2322",
"0.12427",
"0.2322"
],
[
"0.471",
"0.2185",
"0.5156",
"0.2203",
"0.5146",
"0.2322",
"0.4702",
"0.2299"
],
[
"0.5366",
"0.2185",
"0.58",
"0.2203",
"0.5786",
"0.2322",
"0.5356",
"0.2299"
],
[
"0.6206",
"0.2185",
"0.644",
"0.2185",
"0.644",
"0.2322",
"0.6206",
"0.2322"
],
[
"0.742",
"0.2173",
"0.784",
"0.2197",
"0.7827",
"0.2322",
"0.7407",
"0.2299"
],
[
"0.8228",
"0.2197",
"0.8364",
"0.2197",
"0.8364",
"0.2322",
"0.8228",
"0.2322"
],
[
"0.6978",
"0.2227",
"0.708",
"0.2227",
"0.708",
"0.2299",
"0.6978",
"0.2299"
],
[
"0.3628",
"0.2257",
"0.3762",
"0.2173",
"0.388",
"0.2257",
"0.3745",
"0.234"
],
[
"0.434",
"0.2203",
"0.4458",
"0.2203",
"0.4458",
"0.231",
"0.434",
"0.231"
],
[
"0.12427",
"0.2286",
"0.3032",
"0.2299",
"0.3032",
"0.2446",
"0.12427",
"0.2434"
],
[
"0.538",
"0.2299",
"0.5786",
"0.2322",
"0.5767",
"0.2446",
"0.5366",
"0.2423"
],
[
"0.742",
"0.2299",
"0.784",
"0.2322",
"0.7827",
"0.2446",
"0.7407",
"0.2423"
],
[
"0.4727",
"0.231",
"0.5146",
"0.231",
"0.5146",
"0.2446",
"0.4727",
"0.2446"
],
[
"0.3687",
"0.231",
"0.3838",
"0.231",
"0.3838",
"0.2423",
"0.3687",
"0.2423"
],
[
"0.679",
"0.231",
"0.7246",
"0.231",
"0.7246",
"0.2423",
"0.679",
"0.2423"
],
[
"0.8228",
"0.231",
"0.8364",
"0.231",
"0.8364",
"0.2423",
"0.8228",
"0.2423"
],
[
"0.617",
"0.2369",
"0.634",
"0.228",
"0.6455",
"0.2369",
"0.629",
"0.2465"
],
[
"0.372",
"0.2411",
"0.3855",
"0.2452",
"0.378",
"0.257",
"0.3645",
"0.253"
],
[
"0.5366",
"0.2411",
"0.58",
"0.2434",
"0.5786",
"0.2559",
"0.5356",
"0.2542"
],
[
"0.742",
"0.2411",
"0.784",
"0.2434",
"0.7827",
"0.2559",
"0.7407",
"0.2542"
],
[
"0.126",
"0.2423",
"0.2747",
"0.2423",
"0.2747",
"0.2559",
"0.126",
"0.2559"
],
[
"0.434",
"0.2322",
"0.4458",
"0.2322",
"0.4458",
"0.2423",
"0.434",
"0.2423"
],
[
"0.434",
"0.2434",
"0.4458",
"0.2434",
"0.4458",
"0.2546",
"0.434",
"0.2546"
],
[
"0.4744",
"0.2434",
"0.513",
"0.2434",
"0.513",
"0.2546",
"0.4744",
"0.2546"
],
[
"0.679",
"0.2434",
"0.7246",
"0.2434",
"0.7246",
"0.2546",
"0.679",
"0.2546"
],
[
"0.8228",
"0.2434",
"0.8364",
"0.2434",
"0.8364",
"0.2559",
"0.8228",
"0.2559"
],
[
"0.126",
"0.2542",
"0.3267",
"0.2542",
"0.3267",
"0.2683",
"0.126",
"0.2683"
],
[
"0.6206",
"0.2446",
"0.635",
"0.2405",
"0.642",
"0.253",
"0.6274",
"0.257"
],
[
"0.3704",
"0.2542",
"0.382",
"0.2542",
"0.382",
"0.2666",
"0.3704",
"0.2666"
],
[
"0.471",
"0.2542",
"0.517",
"0.2542",
"0.517",
"0.2683",
"0.471",
"0.2683"
],
[
"0.538",
"0.2546",
"0.58",
"0.2546",
"0.58",
"0.2683",
"0.538",
"0.2683"
],
[
"0.6187",
"0.2542",
"0.6455",
"0.2542",
"0.6455",
"0.2673",
"0.6187",
"0.2673"
],
[
"0.6963",
"0.2559",
"0.708",
"0.2559",
"0.708",
"0.2673",
"0.6963",
"0.2673"
],
[
"0.744",
"0.2546",
"0.7827",
"0.2546",
"0.7827",
"0.2673",
"0.744",
"0.2673"
],
[
"0.4307",
"0.2612",
"0.44",
"0.2546",
"0.4475",
"0.26",
"0.4382",
"0.2666"
],
[
"0.8228",
"0.2559",
"0.8364",
"0.2559",
"0.8364",
"0.2673",
"0.8228",
"0.2673"
],
[
"0.126",
"0.2666",
"0.2988",
"0.2666",
"0.2988",
"0.2798",
"0.126",
"0.2798"
],
[
"0.471",
"0.2666",
"0.5156",
"0.2666",
"0.5156",
"0.2808",
"0.471",
"0.2808"
],
[
"0.5366",
"0.2666",
"0.581",
"0.2666",
"0.581",
"0.2808",
"0.5366",
"0.2808"
],
[
"0.601",
"0.2642",
"0.6616",
"0.2666",
"0.66",
"0.2808",
"0.5996",
"0.279"
],
[
"0.7407",
"0.2666",
"0.785",
"0.2666",
"0.785",
"0.2808",
"0.7407",
"0.2808"
],
[
"0.8228",
"0.2673",
"0.8345",
"0.2673",
"0.8345",
"0.2798",
"0.8228",
"0.2798"
],
[
"0.6963",
"0.2683",
"0.708",
"0.2683",
"0.708",
"0.2798",
"0.6963",
"0.2798"
],
[
"0.372",
"0.2695",
"0.3804",
"0.2695",
"0.3804",
"0.279",
"0.372",
"0.279"
],
[
"0.1276",
"0.2852",
"0.189",
"0.2852",
"0.189",
"0.2964",
"0.1276",
"0.2964"
],
[
"0.3687",
"0.2852",
"0.3838",
"0.2852",
"0.3838",
"0.2964",
"0.3687",
"0.2964"
],
[
"0.4744",
"0.2852",
"0.511",
"0.2852",
"0.511",
"0.2976",
"0.4744",
"0.2976"
],
[
"0.54",
"0.2852",
"0.5767",
"0.2852",
"0.5767",
"0.2976",
"0.54",
"0.2976"
],
[
"0.6245",
"0.2852",
"0.6396",
"0.2852",
"0.6396",
"0.2964",
"0.6245",
"0.2964"
],
[
"0.69",
"0.284",
"0.714",
"0.284",
"0.714",
"0.2976",
"0.69",
"0.2976"
],
[
"0.744",
"0.2852",
"0.7827",
"0.2852",
"0.7827",
"0.2976",
"0.744",
"0.2976"
],
[
"0.8213",
"0.2852",
"0.8364",
"0.2852",
"0.8364",
"0.2964",
"0.8213",
"0.2964"
],
[
"0.11584",
"0.3135",
"0.882",
"0.3135",
"0.882",
"0.328",
"0.11584",
"0.328"
],
[
"0.4324",
"0.2861",
"0.4458",
"0.2861",
"0.4458",
"0.2964",
"0.4324",
"0.2964"
],
[
"0.11755",
"0.328",
"0.881",
"0.328",
"0.881",
"0.3416",
"0.11755",
"0.3416"
],
[
"0.11755",
"0.3416",
"0.882",
"0.3416",
"0.882",
"0.3552",
"0.11755",
"0.3552"
],
[
"0.11755",
"0.3557",
"0.881",
"0.3557",
"0.881",
"0.3694",
"0.11755",
"0.3694"
],
[
"0.11755",
"0.3706",
"0.678",
"0.3706",
"0.678",
"0.3843",
"0.11755",
"0.3843"
],
[
"0.1604",
"0.5444",
"0.293",
"0.5444",
"0.293",
"0.5547",
"0.1604",
"0.5547"
],
[
"0.3418",
"0.5444",
"0.5938",
"0.5444",
"0.5938",
"0.5547",
"0.3418",
"0.5547"
],
[
"0.1604",
"0.5586",
"0.2913",
"0.5586",
"0.2913",
"0.5693",
"0.1604",
"0.5693"
],
[
"0.346",
"0.5586",
"0.419",
"0.5586",
"0.419",
"0.5693",
"0.346",
"0.5693"
],
[
"0.525",
"0.56",
"0.6396",
"0.56",
"0.6396",
"0.571",
"0.525",
"0.571"
],
[
"0.706",
"0.56",
"0.818",
"0.56",
"0.818",
"0.571",
"0.706",
"0.571"
],
[
"0.1604",
"0.5723",
"0.3257",
"0.5737",
"0.3257",
"0.585",
"0.1604",
"0.5845"
],
[
"0.345",
"0.5747",
"0.471",
"0.5747",
"0.471",
"0.585",
"0.345",
"0.585"
],
[
"0.525",
"0.5747",
"0.5938",
"0.5747",
"0.5938",
"0.585",
"0.525",
"0.585"
],
[
"0.346",
"0.5903",
"0.4963",
"0.5903",
"0.4963",
"0.601",
"0.346",
"0.601"
],
[
"0.525",
"0.5903",
"0.6885",
"0.5903",
"0.6885",
"0.601",
"0.525",
"0.601"
],
[
"0.1621",
"0.605",
"0.2688",
"0.605",
"0.2688",
"0.615",
"0.1621",
"0.615"
],
[
"0.1628",
"0.5913",
"0.3132",
"0.5913",
"0.3132",
"0.5986",
"0.1628",
"0.5986"
],
[
"0.2805",
"0.6055",
"0.4685",
"0.6055",
"0.4685",
"0.616",
"0.2805",
"0.616"
],
[
"0.5264",
"0.608",
"0.6113",
"0.608",
"0.6113",
"0.615",
"0.5264",
"0.615"
],
[
"0.5225",
"0.616",
"0.6406",
"0.619",
"0.6406",
"0.6343",
"0.5225",
"0.6313"
],
[
"0.708",
"0.616",
"0.75",
"0.616",
"0.75",
"0.632",
"0.708",
"0.632"
],
[
"0.345",
"0.6206",
"0.4744",
"0.6206",
"0.4744",
"0.6313",
"0.345",
"0.6313"
],
[
"0.1587",
"0.6177",
"0.2451",
"0.619",
"0.2451",
"0.6313",
"0.1587",
"0.629"
],
[
"0.1587",
"0.641",
"0.544",
"0.641",
"0.544",
"0.655",
"0.1587",
"0.655"
],
[
"0.3257",
"0.6577",
"0.357",
"0.6577",
"0.357",
"0.6665",
"0.3257",
"0.6665"
],
[
"0.692",
"0.6567",
"0.7314",
"0.6567",
"0.7314",
"0.6685",
"0.692",
"0.6685"
],
[
"0.1646",
"0.6646",
"0.3745",
"0.665",
"0.3745",
"0.677",
"0.1646",
"0.676"
],
[
"0.602",
"0.705",
"0.6265",
"0.709",
"0.623",
"0.7188",
"0.5996",
"0.7144"
],
[
"0.754",
"0.7007",
"0.777",
"0.7007",
"0.777",
"0.705",
"0.754",
"0.705"
],
[
"0.596",
"0.7144",
"0.6245",
"0.7163",
"0.623",
"0.7246",
"0.594",
"0.7227"
],
[
"0.1621",
"0.741",
"0.293",
"0.741",
"0.293",
"0.752",
"0.1621",
"0.752"
],
[
"0.346",
"0.7407",
"0.419",
"0.7407",
"0.419",
"0.7505",
"0.346",
"0.7505"
],
[
"0.525",
"0.741",
"0.6396",
"0.741",
"0.6396",
"0.752",
"0.525",
"0.752"
],
[
"0.706",
"0.741",
"0.8193",
"0.741",
"0.8193",
"0.752",
"0.706",
"0.752"
],
[
"0.1621",
"0.755",
"0.3167",
"0.755",
"0.3167",
"0.7656",
"0.1621",
"0.7656"
],
[
"0.346",
"0.7573",
"0.4568",
"0.7573",
"0.4568",
"0.767",
"0.346",
"0.767"
],
[
"0.525",
"0.7573",
"0.602",
"0.7573",
"0.602",
"0.767",
"0.525",
"0.767"
],
[
"0.7197",
"0.755",
"0.739",
"0.755",
"0.739",
"0.763",
"0.7197",
"0.763"
],
[
"0.721",
"0.7627",
"0.7314",
"0.7627",
"0.7314",
"0.7666",
"0.721",
"0.7666"
],
[
"0.7583",
"0.7573",
"0.769",
"0.7573",
"0.769",
"0.7627",
"0.7583",
"0.7627"
],
[
"0.11755",
"0.7837",
"0.881",
"0.7837",
"0.881",
"0.7974",
"0.11755",
"0.7974"
],
[
"0.1142",
"0.799",
"0.881",
"0.7974",
"0.881",
"0.8125",
"0.1142",
"0.8135"
],
[
"0.11755",
"0.8154",
"0.881",
"0.8154",
"0.881",
"0.826",
"0.11755",
"0.826"
],
[
"0.12006",
"0.8276",
"0.714",
"0.8276",
"0.714",
"0.8413",
"0.12006",
"0.8413"
]
] | [
"Language Obs.",
"Visual Obs.",
"Historical Obs.",
"Inference",
"Goal Inst.",
"Inst.",
"As",
"Hidden",
"Mask",
"Nav Obj.",
"Views",
"Features",
"Structure",
"Split",
"Inputs",
"States",
"Pred.",
"Pred.",
"+",
"LSTM",
"Direct",
"x",
"SEQ2SEQ(Shridharetal.,2020)",
"x",
"Single",
"Dense",
"X",
"MOCA (Singh et al., 2020)",
"Single",
"Dense",
"x",
"LSTM",
"BBox",
"x",
"-",
"x",
"ET (Pashevich et al., 2021)",
"Single",
"Dense",
"TF",
"BBox",
"x",
"X",
"+",
"x",
"LWIT (Nguyen et al., 2021)",
"BBox",
"BBox",
"Multi",
"V",
"LSTM",
"x",
"+",
"J",
"Dense",
"BBox",
"ABP (Kim et al., 2021)",
"V",
"x",
"Multi",
"LSTM",
"x",
"HITUT (Zhang and Chai, 2021)",
"+",
"",
"Single",
"BBox",
"SG",
"x",
"BBox",
"L",
"x",
"HLSM (Blukis et al., 2021)",
"Single",
"Dense",
"SG+Map",
"Direct",
"X",
"x",
"",
"EmBERT",
"V",
"Multi",
"BBox",
"x",
"TF",
"BBox",
"V",
"Table 1: Model comparison. EmBERT uses a multimodal transformer (TF) to embed language inst ructions and",
"V",
"detected objects in a panoramic view, and a transformer decoder to produce action and object predictions: Ours is",
"the first ALFRED model to add object prediction to navigation steps. Other methods maintain history by taking",
"previous transformer states (TF) (Pashevich et al., 2021), subgoal prediction structures (SG) (Zhang and Chai,",
"2021; Blukis et al., 2021), or maintained voxel maps (Blukis et al., 2021) as input.",
"ALFRED Episode Data",
"Goal Instruction:Examinethepencil underlamp light.",
"Step-by-Step instructioni",
"Planner Goali",
"Trajectorym,()actions",
"Trajectorym(masks",
"Head to the box on the white table.",
"(GotoLocation,box)",
"Turn Right,",
"(Pickupobject,Penai12)",
"Look DownyPiekup, Look Up",
"Go to the lamp nearwt",
"Pickupthepencil insidethebox",
"eyou started: (GotoLocation, lamp)",
"Turn Right,e,",
"Lok up, Toggle on",
"国",
"(Toggleobject, Lamp1)",
"Turn on the lamp.",
"EmBERTAddsObject Masks forNavigationusing Panoramic Views",
"Input",
"Output",
"ViewsandBBoxes:Front,Left,Back,Right",
"Turn",
"品",
"Right",
"Step-by-Step instructioni",
"PlannerGoali",
"Trajectorym()actions",
"Trajectorym()masks",
"Walk to the white table by the TV",
"(GotoLocation, L4)",
"Turn Right,",
"国",
"",
"",
"Figure 2: EmBERT Auxiliary Predictions.ALFRED provides goal and step-by-step language instructions that",
"are aligned with planner goals and sequences of trajectory actions in an expert demonstration (top). EmBERT",
"additionallyidentifiesnavigational objecttargetsinapanoramicview(bottom).EmBERTpredicts an objecttarget",
"and its higher visibility parent receptacle , such as the table on which the box rests."
] | {
"arxiv_id": "2108.04927",
"language": "zh",
"page_idx": 3
} |
||
2108.04927-zh-4 | 2108.04927-zh-4.jpg | 。每个任务都涉及一个或多个需要操作的对象, 例如 apple ,以及它们应放在其上的最终容器,例如 plate。许多任务涉及中间状态更改,例如 HEAT & PLACE 需要在 microwave 中烹饪目标对象
监督数据。每个 ALFRED 情节包括模拟房间的初始状态,语言说明,计划目标和专家演示轨迹。语言指令作为高级目标指令$\vec{I}$上的 X$\vec{I}$, 例如将煮熟的鸡蛋放在水槽中,再加上一系列逐步的指令$\vec{I}$,例如右转并转到水槽右侧的柜台上的鸡蛋,...计划目标$\mathcal{P}$ (或子目标)是目标和参数的元组$\vec{\mathcal{I}}$,例如。专家演示轨迹$\mathcal{T}$是一系列动作和对象掩码对,其中$\mathcal{T}_j=(a_j,M_j)$ 。每个分步指令$\mathcal{I}_i$对应于专家演示的子序列$\mathcal{T}_{j:k}$由对齐查找$m_a(i)=(j,k)$给出,并对应于$\dot{\text{计划目标 }P}_b$由对齐查找$m_p(i)=b$ 。例如,在图 2中,指令$\mathcal{I}_0$对应于一个 GotoLocation 导航目标,以及模型必须预测的一系列转向和移动 API 动作
模型观察。在时间步长$t=0$中的每个情节开始时,ALFRED 代理将接收高级和分步语言指令$\mathcal{I}_g,\vec{\mathcal{I}}$。在每个时间步长$t$ 上,代理都会收到代表前置代理摄像机视图$\mathcal{V}^\mathrm{F}$的 2dRGB 视觉观察结果。ALFRED 模型从 5 个导航中产生一个动作$a_t$ (例如。g。、Turn Left、Move Forward , Look Up )和 7 个操纵动作(e。g。Pickup 、ToggleOn 、Slice )以及对象掩码$M_t$ 。在 ALFRED 环境中执行预测动作$a_t$ 和掩码$M_t$ ,以产生下一个视觉观察。对于导航操作,将忽略预测$M_t$ ,并且对于与导航操作关联的对象没有训练监督
EmBERT 预测。EmBERT 收集其他可视数据(图 2)。在每个导航动作之后,我们将代理转到位以获得左,后和右视觉帧$\mathcal{V}^\mathcal{L},\mathcal{V}^\mathcal{B},\mathcal{V}^\mathcal{R}$。在先前的工作$\overline{\mathrm{E}}$(Singh et al.,2020)之后,我们运行了一个预训练的 Mask-RCNN$\underline{\mathrm{F}}($He et al., 2017) 模型,以从每个视图的视觉观察中提取边界框。我们训练 EmBERT 来选择与$M_t$具有最高交集的边界框(更多详细信息请参见 4节)
我们为导航操作定义一个导航对象目标。对于在语言指令$\mathcal{I}_i$ 期间采取的导航操作,我们在$\mathcal{T}_k$的时间$k$检查帧$\mathcal{V}^\mathcal{F}_k;m_a(i)=(j,k)$。我们在$\mathcal{V}^\mathcal{F}_k$中识别计划目标$\mathcal{P}_m_b(i)$中指定的类的对象实例$O$ 。我们将此对象$O$定义为$\mathcal{T}_{j:k}$ 中所有导航操作的导航对象目标,方法是将这些操作与训练期间要预测的对象掩码$M^O$配对。我们还添加了一个训练目标来预测$O$的父容器$P(O)$ 。父预测允许导航到诸如table 之类的地标,以获取诸如“转身”之类的指令, 然后前往表上的框,其中 box 与其所在的表
进行了比较(图E2 )
## 4 $\textbf{Embodied BERT}$
EmBERT 使用转换器编码器来共同嵌入语言和视觉标记,并使用转换器解码器来进行长期规划和以对象为中心的导航预测(图$\overline{\mathrm{E}}$3 )
## 4.1 Multimodal encoder
我们使用 OSCARE(Li et al.,2020)作为骨干变压器模块,以在每个 ALFRED 轨迹步骤中融合语言和视觉特征。我们使用 WordPiece 标记器$\overline{\mathrm{E}}($Wu et al.,2016)获取目标指令 $\mathcal{I}_g~=~\{g_1,g_2,\ldots,g_n\}~$和分步指令 $\mathcal{I}_j~=$ $\{i_{1},i_{2},\ldots,i_{m}\}$的子字标记,并将序列处理为: [CLS$]\mathcal{I}_g[$SEP$]\mathcal{I}_j[$SEP],使用标记$\operatorname{id}$类型区分目标和步骤指令。我们使用 BERT(Devlin et al.,2019)嵌入层导出令牌嵌人$L\in$ $\mathcal{R}^{(m+n+3)\times d_e\:,\:\text{其中 }d_e\text{ 是嵌入维数}}$
我们通过使用 MaskRCNNE(He et al., 2017) 功能在全景视图的每个帧中表示检测到的对象,为 EmBERT 提供以对象为中心的表示。我们冻结了为 AI2-THOR 帧 (Singh et al., 2020) 微调的 MaskRCNN 模型的权重。我们将前视图$\mathcal{V}^\mathcal{F}$中的对象检测数量固定为 36 ,而将侧视图中的对象检测数量限制为 18 。我们将每个对象$o\in\mathcal{O}$表示为嵌人$o\in\mathbb{R}^d_o$,它是以下的串联:1) 检测 ResNet$\boxed{\mathrm{F}}($He et al.,2016)特征; 2)边界框坐标;3)边界框相对面积;4)与当前代理位置相关的对象的垂直和水平方向,遵循先前的工作$\overline{\mathrm{E}}($Storks et al.,2021)。这些表示构成了观察到的对象嵌入$O$。我们使用一层MLP 将维度$d_o$的对象嵌人映射到大小$d_e$ 。多模态变换器主干消耗令牌和对象嵌入以产生多模态隐藏状态$H\in\mathbb{R}^m+n+|O|\times d_e$。我们通过计算$H_0$和$H_{m+n}$之间的元素乘积,[CLS] 令牌的隐藏状态以及放置在语言令牌和对象之间的最后一个[SEP]令牌,为每个时间步长$t$获得这些状态表示$h_t$,其精神类似于 (Zhou et al., 2020) 中描述的方法。通过这种方式,我们可以为整个轨迹生成时间上独立的代理状态,从而产生一系列状态$\{\boldsymbol h_1,\boldsymbol{h}_2,\ldots,\boldsymbol{h}_{|\mathcal{T}|}\}$
## 4.2 Segment-Level Recurrent Action Decoder
ALFRED 挑战要求模型学习完成平均 50 步并跨越多个导航和操作子目标的动作序列。然而,由于自关注机制的二次复杂性,将长序列馈送到变压器在计算上是昂贵的 (Beltagy)
$^{1}$In our experiments, in order to reuse the visual embedding available in the OSCAR checkpoint, we use an additional one layer MLP to adapt our visual features to the visual embeddings space learned by OSCAR. | [
[
"0.12427",
"0.0885",
"0.509",
"0.0885",
"0.509",
"0.0986",
"0.12427",
"0.0986"
],
[
"0.511",
"0.0873",
"0.6826",
"0.0873",
"0.6826",
"0.10095",
"0.511",
"0.10095"
],
[
"0.12006",
"0.1027",
"0.4844",
"0.1027",
"0.4844",
"0.1164",
"0.12006",
"0.1164"
],
[
"0.509",
"0.11224",
"0.6963",
"0.1134",
"0.6963",
"0.1277",
"0.509",
"0.1271"
],
[
"0.1184",
"0.11816",
"0.486",
"0.11816",
"0.486",
"0.133",
"0.1184",
"0.133"
],
[
"0.1184",
"0.1354",
"0.486",
"0.1354",
"0.486",
"0.1484",
"0.1184",
"0.1484"
],
[
"0.511",
"0.1383",
"0.879",
"0.1401",
"0.879",
"0.1538",
"0.511",
"0.152"
],
[
"0.12006",
"0.152",
"0.2468",
"0.152",
"0.2468",
"0.165",
"0.12006",
"0.165"
],
[
"0.513",
"0.1567",
"0.881",
"0.1567",
"0.881",
"0.1704",
"0.513",
"0.1704"
],
[
"0.1368",
"0.1704",
"0.4844",
"0.1704",
"0.4844",
"0.1841",
"0.1368",
"0.1841"
],
[
"0.513",
"0.1729",
"0.848",
"0.1729",
"0.848",
"0.1859",
"0.513",
"0.1859"
],
[
"0.11755",
"0.1853",
"0.4844",
"0.1859",
"0.4844",
"0.2007",
"0.11755",
"0.1996"
],
[
"0.1184",
"0.2031",
"0.4844",
"0.2031",
"0.4844",
"0.2162",
"0.1184",
"0.2162"
],
[
"0.511",
"0.199",
"0.7188",
"0.199",
"0.7188",
"0.212",
"0.511",
"0.212"
],
[
"0.12006",
"0.2203",
"0.482",
"0.2203",
"0.482",
"0.231",
"0.12006",
"0.231"
],
[
"0.513",
"0.2197",
"0.881",
"0.2197",
"0.881",
"0.2328",
"0.513",
"0.2328"
],
[
"0.12006",
"0.2363",
"0.4836",
"0.2363",
"0.4836",
"0.2465",
"0.12006",
"0.2465"
],
[
"0.513",
"0.2351",
"0.879",
"0.2351",
"0.879",
"0.2488",
"0.513",
"0.2488"
],
[
"0.12006",
"0.2517",
"0.4836",
"0.2517",
"0.4836",
"0.2654",
"0.12006",
"0.2654"
],
[
"0.511",
"0.2517",
"0.882",
"0.2505",
"0.882",
"0.2642",
"0.511",
"0.2654"
],
[
"0.1184",
"0.2673",
"0.4844",
"0.2673",
"0.4844",
"0.2808",
"0.1184",
"0.2808"
],
[
"0.513",
"0.2673",
"0.881",
"0.2673",
"0.881",
"0.282",
"0.513",
"0.282"
],
[
"0.1184",
"0.284",
"0.486",
"0.284",
"0.486",
"0.2976",
"0.1184",
"0.2976"
],
[
"0.51",
"0.284",
"0.879",
"0.282",
"0.879",
"0.2986",
"0.51",
"0.3005"
],
[
"0.12177",
"0.2998",
"0.4844",
"0.2998",
"0.4844",
"0.3135",
"0.12177",
"0.3135"
],
[
"0.513",
"0.3005",
"0.882",
"0.3005",
"0.882",
"0.3142",
"0.513",
"0.3142"
],
[
"0.1184",
"0.3164",
"0.4844",
"0.3164",
"0.4844",
"0.33",
"0.1184",
"0.33"
],
[
"0.5156",
"0.3164",
"0.879",
"0.3164",
"0.879",
"0.33",
"0.5156",
"0.33"
],
[
"0.1184",
"0.33",
"0.4895",
"0.3308",
"0.4895",
"0.3457",
"0.1184",
"0.3445"
],
[
"0.513",
"0.3333",
"0.879",
"0.3333",
"0.879",
"0.3467",
"0.513",
"0.3467"
],
[
"0.1184",
"0.3474",
"0.4878",
"0.3474",
"0.4878",
"0.361",
"0.1184",
"0.361"
],
[
"0.513",
"0.3486",
"0.879",
"0.3486",
"0.879",
"0.3623",
"0.513",
"0.3623"
],
[
"0.51",
"0.3582",
"0.796",
"0.3599",
"0.796",
"0.3813",
"0.51",
"0.379"
],
[
"0.1184",
"0.364",
"0.4844",
"0.364",
"0.4844",
"0.3777",
"0.1184",
"0.3777"
],
[
"0.12006",
"0.3813",
"0.2301",
"0.3813",
"0.2301",
"0.3926",
"0.12006",
"0.3926"
],
[
"0.529",
"0.3801",
"0.879",
"0.3801",
"0.879",
"0.3938",
"0.529",
"0.3938"
],
[
"0.1368",
"0.3984",
"0.4895",
"0.3984",
"0.4895",
"0.412",
"0.1368",
"0.412"
],
[
"0.511",
"0.3967",
"0.881",
"0.3967",
"0.881",
"0.4104",
"0.511",
"0.4104"
],
[
"0.1184",
"0.415",
"0.4878",
"0.415",
"0.4878",
"0.4287",
"0.1184",
"0.4287"
],
[
"0.51",
"0.411",
"0.881",
"0.412",
"0.881",
"0.427",
"0.51",
"0.4258"
],
[
"0.1184",
"0.4312",
"0.4878",
"0.4312",
"0.4878",
"0.4448",
"0.1184",
"0.4448"
],
[
"0.511",
"0.4287",
"0.881",
"0.4287",
"0.881",
"0.4424",
"0.511",
"0.4424"
],
[
"0.1184",
"0.4478",
"0.4878",
"0.4478",
"0.4878",
"0.4614",
"0.1184",
"0.4614"
],
[
"0.511",
"0.4448",
"0.879",
"0.4448",
"0.879",
"0.4578",
"0.511",
"0.4578"
],
[
"0.1184",
"0.4644",
"0.4895",
"0.4644",
"0.4895",
"0.478",
"0.1184",
"0.478"
],
[
"0.513",
"0.4614",
"0.881",
"0.4614",
"0.881",
"0.4744",
"0.513",
"0.4744"
],
[
"0.12006",
"0.4797",
"0.4895",
"0.4797",
"0.4895",
"0.4946",
"0.12006",
"0.4946"
],
[
"0.5146",
"0.4768",
"0.881",
"0.4768",
"0.881",
"0.4905",
"0.5146",
"0.4905"
],
[
"0.11755",
"0.4954",
"0.4902",
"0.4954",
"0.4902",
"0.5103",
"0.11755",
"0.5103"
],
[
"0.511",
"0.4922",
"0.879",
"0.4922",
"0.879",
"0.5073",
"0.511",
"0.5073"
],
[
"0.1184",
"0.5127",
"0.4878",
"0.5127",
"0.4878",
"0.5254",
"0.1184",
"0.5254"
],
[
"0.51",
"0.5083",
"0.882",
"0.509",
"0.882",
"0.524",
"0.51",
"0.5225"
],
[
"0.1184",
"0.528",
"0.4844",
"0.528",
"0.4844",
"0.5415",
"0.1184",
"0.5415"
],
[
"0.511",
"0.5254",
"0.881",
"0.5254",
"0.881",
"0.539",
"0.511",
"0.539"
],
[
"0.1184",
"0.5444",
"0.4844",
"0.5444",
"0.4844",
"0.558",
"0.1184",
"0.558"
],
[
"0.513",
"0.542",
"0.881",
"0.542",
"0.881",
"0.5557",
"0.513",
"0.5557"
],
[
"0.1184",
"0.56",
"0.486",
"0.56",
"0.486",
"0.5737",
"0.1184",
"0.5737"
],
[
"0.511",
"0.557",
"0.879",
"0.557",
"0.879",
"0.571",
"0.511",
"0.571"
],
[
"0.12006",
"0.5776",
"0.339",
"0.5776",
"0.339",
"0.5884",
"0.12006",
"0.5884"
],
[
"0.511",
"0.5723",
"0.879",
"0.5723",
"0.879",
"0.586",
"0.511",
"0.586"
],
[
"0.511",
"0.5884",
"0.869",
"0.589",
"0.869",
"0.604",
"0.511",
"0.6025"
],
[
"0.1368",
"0.5957",
"0.4844",
"0.5957",
"0.4844",
"0.6094",
"0.1368",
"0.6094"
],
[
"0.11755",
"0.61",
"0.4844",
"0.611",
"0.4844",
"0.626",
"0.11755",
"0.6245"
],
[
"0.513",
"0.6055",
"0.881",
"0.6055",
"0.881",
"0.619",
"0.513",
"0.619"
],
[
"0.509",
"0.616",
"0.8833",
"0.6177",
"0.8833",
"0.638",
"0.509",
"0.637"
],
[
"0.11755",
"0.6274",
"0.4878",
"0.626",
"0.4878",
"0.64",
"0.11755",
"0.6426"
],
[
"0.513",
"0.638",
"0.879",
"0.638",
"0.879",
"0.652",
"0.513",
"0.652"
],
[
"0.1184",
"0.6445",
"0.4878",
"0.6445",
"0.4878",
"0.6577",
"0.1184",
"0.6577"
],
[
"0.11755",
"0.66",
"0.486",
"0.659",
"0.486",
"0.6733",
"0.11755",
"0.675"
],
[
"0.5146",
"0.6562",
"0.876",
"0.6562",
"0.876",
"0.6665",
"0.5146",
"0.6665"
],
[
"0.513",
"0.6704",
"0.879",
"0.6704",
"0.879",
"0.684",
"0.513",
"0.684"
],
[
"0.12006",
"0.677",
"0.4836",
"0.677",
"0.4836",
"0.687",
"0.12006",
"0.687"
],
[
"0.51",
"0.685",
"0.8774",
"0.685",
"0.8774",
"0.6987",
"0.51",
"0.6987"
],
[
"0.1184",
"0.6924",
"0.4844",
"0.6924",
"0.4844",
"0.706",
"0.1184",
"0.706"
],
[
"0.513",
"0.703",
"0.881",
"0.703",
"0.881",
"0.7163",
"0.513",
"0.7163"
],
[
"0.1184",
"0.709",
"0.4878",
"0.709",
"0.4878",
"0.7227",
"0.1184",
"0.7227"
],
[
"0.5146",
"0.7188",
"0.881",
"0.7188",
"0.881",
"0.7324",
"0.5146",
"0.7324"
],
[
"0.1184",
"0.7246",
"0.1453",
"0.7246",
"0.1453",
"0.737",
"0.1184",
"0.737"
],
[
"0.51",
"0.734",
"0.858",
"0.7354",
"0.858",
"0.75",
"0.51",
"0.749"
],
[
"0.1351",
"0.7437",
"0.4844",
"0.742",
"0.4844",
"0.7573",
"0.1351",
"0.7583"
],
[
"0.1184",
"0.761",
"0.4844",
"0.761",
"0.4844",
"0.7715",
"0.1184",
"0.7715"
],
[
"0.509",
"0.7627",
"0.5615",
"0.7627",
"0.5615",
"0.774",
"0.509",
"0.774"
],
[
"0.553",
"0.761",
"0.817",
"0.7603",
"0.817",
"0.775",
"0.553",
"0.7754"
],
[
"0.11755",
"0.775",
"0.4844",
"0.775",
"0.4844",
"0.789",
"0.11755",
"0.789"
],
[
"0.553",
"0.7793",
"0.6206",
"0.7793",
"0.6206",
"0.7905",
"0.553",
"0.7905"
],
[
"0.11755",
"0.7915",
"0.4878",
"0.7915",
"0.4878",
"0.8086",
"0.11755",
"0.8086"
],
[
"0.513",
"0.7974",
"0.881",
"0.7974",
"0.881",
"0.811",
"0.513",
"0.811"
],
[
"0.11755",
"0.807",
"0.486",
"0.8086",
"0.486",
"0.8237",
"0.11755",
"0.822"
],
[
"0.511",
"0.814",
"0.882",
"0.814",
"0.882",
"0.8276",
"0.511",
"0.8276"
],
[
"0.12006",
"0.8267",
"0.4836",
"0.8267",
"0.4836",
"0.8374",
"0.12006",
"0.8374"
],
[
"0.513",
"0.8306",
"0.881",
"0.8306",
"0.881",
"0.844",
"0.513",
"0.844"
],
[
"0.1184",
"0.8403",
"0.486",
"0.8403",
"0.486",
"0.855",
"0.1184",
"0.855"
],
[
"0.511",
"0.8457",
"0.879",
"0.847",
"0.879",
"0.8623",
"0.511",
"0.86"
],
[
"0.1184",
"0.857",
"0.4844",
"0.857",
"0.4844",
"0.8706",
"0.1184",
"0.8706"
],
[
"0.1184",
"0.8735",
"0.486",
"0.8735",
"0.486",
"0.887",
"0.1184",
"0.887"
],
[
"0.534",
"0.869",
"0.881",
"0.8706",
"0.881",
"0.8843",
"0.534",
"0.883"
],
[
"0.11755",
"0.8896",
"0.486",
"0.8896",
"0.486",
"0.903",
"0.11755",
"0.903"
],
[
"0.5146",
"0.8843",
"0.879",
"0.8843",
"0.879",
"0.8945",
"0.5146",
"0.8945"
],
[
"0.513",
"0.8945",
"0.881",
"0.8945",
"0.881",
"0.9077",
"0.513",
"0.9077"
],
[
"0.1184",
"0.9067",
"0.4844",
"0.9067",
"0.4844",
"0.9175",
"0.1184",
"0.9175"
],
[
"0.511",
"0.9062",
"0.7466",
"0.9062",
"0.7466",
"0.9194",
"0.511",
"0.9194"
]
] | [
"每个任务都涉及一个或多个需要操作的对象,",
"进行了比较(图E2)",
"例如apple,以及它们应放在其上的最终容",
"4EmbodiedBERT",
"器,例如plate。许多任务涉及中间状态更",
"改,例如HEAT&PLACE需要在microwave",
"EmBERT使用转换器编码器来共同嵌人语言",
"中烹饪目标对象",
"和视觉标记,并使用转换器解码器来进行长期",
"监督数据。每个ALFRED情节包括模拟房间",
"规划和以对象为中心的导航预测(图E3)",
"的初始状态,语言说明,计划目标和专家演示",
"轨迹。语言指令作为高级目标指令工上的X工",
"4.1Multimodal encoder",
"例如将煮熟的鸡蛋放在水槽中,再加上一系列",
"我们使用OSCARELietal,2020)作为骨",
"逐步的指令工:例如右转并转到水槽右侧的柜",
"干变压器模块,以在每个ALFRED轨迹步",
"台上的鸡蛋,··,计划目标P(或子目标)是目",
"骤中融合语言和视觉特征。我们使用Word-",
"标和参数的元组工,例如。专家演示轨迹T是",
"Piece标记器E(Wuetal.,2016)获取目标指",
"一系列动作和对象掩码对,其中T=(ai,Mi)",
"令Lg={91,92,.…·,9n)和分步指令,=",
"。每个分步指令工,对应于专家演示的子序列",
"[i1,i2,·,im]的子字标记,并将序列处理为",
"Ti:k由对齐查找ma(i)=(j,k)给出,并对应于",
"[CLS]】L.[SEP】工,【SEP】,使用标记id类型",
"计划目标P由对齐查找mp(i)=b。例如,在",
"区分目标和步骤指令。我们使用BERT(De",
"图2中,指令Lo对应于一个GotoLocation",
"vlinetal.,2019)嵌入层导出令牌嵌入LE",
"R(m+n+3)xde,其中de是嵌人维数",
"导航目标,以及模型必须预测的一系列转向和",
"移动API动作",
"我们通过使用MaskRCNNE(Heetal.,2017)",
"模型观察。在时间步长t=0中的每个情节",
"功能在全景视图的每个顿中表示检测到的对",
"开始时,ALFRED代理将接收高级和分步语言",
"象,为EmBERT提供以对象为中心的表示。我",
"指令工。,工。在每个时间步长t上,代理都会收",
"们冻结了为AI2-THOR顿(Singhetal.,2020)",
"到代表前置代理摄像机视图VF的2dRGB视",
"微调的MaskRCNN模型的权重。我们将前视",
"觉观察结果。ALFRED模型从5个导航中产生",
"图VF中的对象检测数量固定为36,而将侧视",
"一个动作at(例如。g。、Turn LeftMove",
"图中的对象检测数量限制为18。我们将每个",
"Forward、Look Up)和7个操纵动作(e。g。",
"对象EO表示为嵌人oERd。,它是以下的",
"Pickup,ToggleOnSlice)以及对象掩",
"串联:1)检测ResNetE(Heetal.,2016)特征;",
"码Mt。在ALFRED环境中执行预测动作at",
"2)边界框坐标;3)边界框相对面积;4)与当",
"和掩码Mt,以产生下一个视觉观察。对于导",
"前代理位置相关的对象的垂直和水平方向,遵",
"航操作,将忽略预测Mt,并且对于与导航操",
"循先前的工作E(Storksetal.,2021)。这些表示",
"作关联的对象没有训练监督",
"构成了观察到的对象嵌入○。我们使用一层",
"MLP将维度d。的对象嵌入映射到大小de。",
"EmBERT预测。EmBERT收集其他可视数据",
"(图2)。在每个导航动作之后,我们将代理转",
"多模态变换器主干消耗令牌和对象嵌入以产生",
"多模态隐藏状态HERm+n+Ioixde。我们通",
"到位以获得左,后和右视觉顿VC,VB,VR。",
"过计算H和Hm+n之间的元素乘积,【CLS]",
"在先前的工作E(Singhetal.,2020)之后,我们",
"运行了一个预训练的Mask-RCNNE(Heetal.,",
"令牌的隐藏状态以及放置在语言令牌和对象之",
"间的最后一个【SEP]令牌,为每个时间步长",
"2017)模型,以从每个视图的视觉观察中提取",
"t获得这些状态表示ht,其精神类似于(Zhou",
"边界框。我们训练EmBERT来选择与Mt具有",
"etal.,2020)中描述的方法。通过这种方式,我",
"最高交集的边界框(更多详细信息请参见4",
"们可以为整个轨迹生成时间上独立的代理状",
"节)",
"态,从而产生一系列状态[h1,h2,·,hT]",
"我们为导航操作定义一个导航对象目标。对",
"于在语言指今工,期间采取的导航操作,我们在",
"4.2",
"Segment-Level Recurrent Action",
"T的时间k检查顿VFk;ma(i)=(i,k)。我",
"Decoder",
"们在VFk中识别计划目标Pms(i)中指定的类",
"ALFRED挑战要求模型学习完成平均50步并",
"的对象实例O。我们将此对象O定义为T:",
"跨越多个导航和操作子目标的动作序列。然",
"中所有导航操作的导航对象自标,方法是将这",
"而,由于自关注机制的二次复杂性,将长序",
"些操作与训练期间要预测的对象掩码MO配",
"列馈送到变压器在计算上是昂贵的(Beltagy",
"对。我们还添加了一个训练目标来预测○的",
"父容器P(O)。父预测允许导航到诸如table",
"'In our experiments, in order to reuse the visual embed-",
"之类的地标,以获取诸如“转身”之类的指令,",
"ding available inthe OSCARcheckpoint,weuse an addi",
"tional one layer MLP to adapt our visual features to the visual",
"然后前往表上的框,其中box与其所在的表",
"embeddings space learned by OSCAR"
] | {
"arxiv_id": "2108.04927",
"language": "zh",
"page_idx": 4
} |
||
1506.06863-zh-0 | 1506.06863-zh-0.jpg | # $\Delta$Bleu:生成任务的判别度量,具有本质上不同的目标$^*$
Michel Galley$^1\dagger$ Chris Brockett$^1$
Alessandro Sordoni$^2\sharp$ Yangfeng Ji$^3\sharp$
$\mathrm{Bill~Dolan}^{1}$
Michael Auli$^{4\ddagger\:\text{Chris Quirk}^1\:\text{Margaret Mitchell}^1\:\text{Jianfeng Gao}^1}$
$^{1}$Microsoft Research, Redmond, WA, USA
$^{2}$DIRO, Université de Montréal, Montréal, QC, Canada $^{3}$Georgia Institute of Technology, Atlanta, GA, USA
$^{4}$Facebook AI Research, Menlo Park, CA, USA
Abstract
We introduce Discriminative Bleu ( $\Delta$Bleu), a novel metric for intrinsic evaluation of generated text in tasks that admit a diverse range of possible outputs. Reference strings are scored for quality by human raters on a scale of$\left[\begin{array}{c}-1&,&+1\end{array}\right]$to weight multi-reference Bleu. In tasks involving generation of conversational responses, $\Delta$Bleu correlates reasonably with human judgments and outperforms sentence-level and IBM Bleu in terms of both Spear- ${\mathrm{man's~}\rho\mathrm{~and~Kendall's~}\tau}.$
## 1 Introduction
由于合理输出的空间较大,Bleu 不太成功地应用于非 SMT 生成任务。因此,已经尝试调整度量。为了促进释义生成的多样性,Sun 和 Zhou$\boxed{\mathrm{F}}(2012)$提出了一个名为 i Bleu 的指标,其中 Bleu 得分被源和释义之间计算的 Bleu 得分所折价。除了依赖于可调参数之外,此解决方案仅适用于。在图像字幕任务中, Vendantam 等人。(2015) ,采用 Bleu 的变体,其中 n-gram 由 tf . idf 加权。这假定用于计算 tf $\cdot$ idf 的语料库的可用性。以上两者都可以看作是试图捕获 Bleu 中未捕获的目标优度的概念
在本文中,我们介绍了判别式 Bleu $(\Delta$Bleu ),这是一种新的度量标准,它将有关参考句子质量的人类判断直接嵌入到语料库级多参考Bleu 的计算中。实际上,我们将人类评估的部分负担推到了自动化指标中,在那里它可以被重复使用
我们对该指标的测试平台是数据驱动的对话,该领域已开始引起人们的兴趣$\overline{\mathrm{E}}($Ritter et al., 2011; Sordoni et al., 2015) 作为传统规则驱动或脚本化对话系统的替代方案。该领域的内在评估异常具有挑战性,因为可能的响应的语义空间抵抗定义,并且仅受对话输入的弱约束
下面,我们在会话响应生成的上下文中描述$\Delta$Bleu 并研究其与标准 Bleu 相比的特性。我们证明了$\Delta$Bleu 与此任务中的人类评估分数密切相关,因此可以为数据驱动的会话系统的自动化培训和评估提供基础-我们最终相信, 其他文本生成任务具有固有的不同目标
许多自然语言处理任务涉及生成文本,其中各种输出是可接受的,甚至是可取的。具有本质上不同目标的任务范围从机器翻译,摘要,句子压缩,释义生成和图像到文本到对话交互的生成。这些任务的主要障碍是评估的自动化因为合理输出的空间可能是巨大的,并且每次构建新模型或修改参数时都运行新的人工评估是不切实际的
在统计机器翻译(SMT)中,自动化问题在很大程度上已通过诸如 Bleu $\boxed{\mathrm{F}}($Papineni et al.,2002) 和 Meteor ${\mathrm{E}}($Banerjee and Lavie, 2005)之类的指标得到了改善,尽管 Bleu 也不能免受批评(例如。g。, Callison-Burch 等人。(2006) ),其性质已被很好地理解,Bleu 分数已被证明与 SMT 中的人类判断 (Doddington, 2002; Coughlin, 2003; Graham and Baldwin, 2014;Graham et al.,2015) 有很好的相关性, 它使该领域得以进行
2 Evaluating Conversational Responses
给定输入消息$m$和先前的会话历史$c$,响应生成系统的目标是产生一个假设$h$ ,该假设既是格式良好的,又是对消息$m$的相关响应(图。1)。我们假设一组$J$引用$\{r_i,j\}$可用于上下文$c_i$和消息$m_i$,其中$i\in\{1\ldots I\}$是
$^*$ To appear at ACL in July 2015 (submitted April
30, 2015, accepted June 9, 2015).
$\overset{\dagger}{\operatorname*{\text{Corresponding author: [email protected]}}}$ $\ddagger$ The entirety of this work was conducted while
at Microsoft Research. | [
[
"0.403",
"0.0831",
"0.594",
"0.08435",
"0.594",
"0.10156",
"0.403",
"0.10095"
],
[
"0.3064",
"0.1051",
"0.706",
"0.1051",
"0.706",
"0.1194",
"0.3064",
"0.1194"
],
[
"0.1587",
"0.1414",
"0.3005",
"0.1401",
"0.3005",
"0.155",
"0.1587",
"0.1561"
],
[
"0.33",
"0.1426",
"0.7246",
"0.1426",
"0.7246",
"0.1567",
"0.33",
"0.1567"
],
[
"0.721",
"0.1426",
"0.8423",
"0.1426",
"0.8423",
"0.1567",
"0.721",
"0.1567"
],
[
"0.12006",
"0.1603",
"0.2527",
"0.1592",
"0.2527",
"0.1733",
"0.12006",
"0.1746"
],
[
"0.3132",
"0.1467",
"0.3208",
"0.1467",
"0.3208",
"0.1509",
"0.3132",
"0.1509"
],
[
"0.2778",
"0.1609",
"0.7524",
"0.1609",
"0.7524",
"0.1758",
"0.2778",
"0.1758"
],
[
"0.781",
"0.1621",
"0.8774",
"0.1621",
"0.8774",
"0.1733",
"0.781",
"0.1733"
],
[
"0.7573",
"0.1644",
"0.769",
"0.1675",
"0.7656",
"0.1704",
"0.756",
"0.1675"
],
[
"0.2468",
"0.1633",
"0.2805",
"0.1633",
"0.2805",
"0.1704",
"0.2468",
"0.1704"
],
[
"0.3167",
"0.1841",
"0.686",
"0.1853",
"0.686",
"0.2031",
"0.3167",
"0.2019"
],
[
"0.2585",
"0.2007",
"0.739",
"0.2019",
"0.739",
"0.2197",
"0.2585",
"0.2185"
],
[
"0.2747",
"0.2197",
"0.7256",
"0.2197",
"0.7256",
"0.234",
"0.2747",
"0.234"
],
[
"0.2988",
"0.2369",
"0.7036",
"0.2369",
"0.7036",
"0.2505",
"0.2988",
"0.2505"
],
[
"0.266",
"0.288",
"0.3435",
"0.288",
"0.3435",
"0.3027",
"0.266",
"0.3027"
],
[
"0.534",
"0.2893",
"0.882",
"0.2893",
"0.882",
"0.3027",
"0.534",
"0.3027"
],
[
"0.5146",
"0.3047",
"0.8833",
"0.3047",
"0.8833",
"0.3184",
"0.5146",
"0.3184"
],
[
"0.147",
"0.3142",
"0.461",
"0.3142",
"0.461",
"0.328",
"0.147",
"0.328"
],
[
"0.5156",
"0.3206",
"0.882",
"0.3206",
"0.882",
"0.3342",
"0.5156",
"0.3342"
],
[
"0.1486",
"0.3308",
"0.4592",
"0.3308",
"0.4592",
"0.3445",
"0.1486",
"0.3445"
],
[
"0.5146",
"0.335",
"0.881",
"0.335",
"0.881",
"0.3486",
"0.5146",
"0.3486"
],
[
"0.1486",
"0.3467",
"0.4592",
"0.3467",
"0.4592",
"0.361",
"0.1486",
"0.361"
],
[
"0.5156",
"0.3528",
"0.882",
"0.3528",
"0.882",
"0.3665",
"0.5156",
"0.3665"
],
[
"0.1486",
"0.3635",
"0.4592",
"0.3635",
"0.4592",
"0.3772",
"0.1486",
"0.3772"
],
[
"0.5156",
"0.3682",
"0.881",
"0.3682",
"0.881",
"0.3818",
"0.5156",
"0.3818"
],
[
"0.1486",
"0.379",
"0.4592",
"0.379",
"0.4592",
"0.3938",
"0.1486",
"0.3938"
],
[
"0.5156",
"0.3855",
"0.882",
"0.3855",
"0.882",
"0.3984",
"0.5156",
"0.3984"
],
[
"0.147",
"0.3955",
"0.4592",
"0.3955",
"0.4592",
"0.4092",
"0.147",
"0.4092"
],
[
"0.5156",
"0.401",
"0.882",
"0.401",
"0.882",
"0.4146",
"0.5156",
"0.4146"
],
[
"0.147",
"0.4104",
"0.4592",
"0.4104",
"0.4592",
"0.4233",
"0.147",
"0.4233"
],
[
"0.5156",
"0.4163",
"0.881",
"0.4163",
"0.881",
"0.43",
"0.5156",
"0.43"
],
[
"0.147",
"0.427",
"0.4592",
"0.427",
"0.4592",
"0.4412",
"0.147",
"0.4412"
],
[
"0.5156",
"0.4312",
"0.882",
"0.4316",
"0.882",
"0.4465",
"0.5156",
"0.4453"
],
[
"0.147",
"0.4424",
"0.4592",
"0.4424",
"0.4592",
"0.456",
"0.147",
"0.456"
],
[
"0.5156",
"0.449",
"0.882",
"0.449",
"0.882",
"0.462",
"0.5156",
"0.462"
],
[
"0.147",
"0.459",
"0.4575",
"0.459",
"0.4575",
"0.4727",
"0.147",
"0.4727"
],
[
"0.5156",
"0.4644",
"0.608",
"0.4644",
"0.608",
"0.4785",
"0.5156",
"0.4785"
],
[
"0.147",
"0.4744",
"0.4575",
"0.4744",
"0.4575",
"0.488",
"0.147",
"0.488"
],
[
"0.532",
"0.4797",
"0.8833",
"0.481",
"0.8833",
"0.4954",
"0.532",
"0.4946"
],
[
"0.1486",
"0.4905",
"0.4592",
"0.4905",
"0.4592",
"0.5044",
"0.1486",
"0.5044"
],
[
"0.517",
"0.4976",
"0.882",
"0.4976",
"0.882",
"0.511",
"0.517",
"0.511"
],
[
"0.1453",
"0.505",
"0.357",
"0.506",
"0.357",
"0.521",
"0.1453",
"0.5195"
],
[
"0.517",
"0.513",
"0.882",
"0.513",
"0.882",
"0.527",
"0.517",
"0.527"
],
[
"0.1486",
"0.531",
"0.266",
"0.532",
"0.266",
"0.5464",
"0.1486",
"0.546"
],
[
"0.513",
"0.528",
"0.8833",
"0.5293",
"0.8833",
"0.5435",
"0.513",
"0.542"
],
[
"0.5146",
"0.5444",
"0.881",
"0.5444",
"0.881",
"0.558",
"0.5146",
"0.558"
],
[
"0.11755",
"0.533",
"0.157",
"0.533",
"0.157",
"0.5444",
"0.11755",
"0.5444"
],
[
"0.12006",
"0.5557",
"0.4878",
"0.5557",
"0.4878",
"0.571",
"0.12006",
"0.571"
],
[
"0.5156",
"0.5625",
"0.588",
"0.5625",
"0.588",
"0.5737",
"0.5156",
"0.5737"
],
[
"0.12006",
"0.5723",
"0.4895",
"0.5723",
"0.4895",
"0.586",
"0.12006",
"0.586"
],
[
"0.532",
"0.579",
"0.882",
"0.579",
"0.882",
"0.593",
"0.532",
"0.593"
],
[
"0.12177",
"0.589",
"0.4895",
"0.589",
"0.4895",
"0.6025",
"0.12177",
"0.6025"
],
[
"0.513",
"0.5933",
"0.881",
"0.5933",
"0.881",
"0.607",
"0.513",
"0.607"
],
[
"0.12006",
"0.605",
"0.4895",
"0.605",
"0.4895",
"0.618",
"0.12006",
"0.618"
],
[
"0.5146",
"0.61",
"0.882",
"0.61",
"0.882",
"0.6235",
"0.5146",
"0.6235"
],
[
"0.12006",
"0.6206",
"0.4895",
"0.6206",
"0.4895",
"0.6343",
"0.12006",
"0.6343"
],
[
"0.5146",
"0.627",
"0.882",
"0.627",
"0.882",
"0.64",
"0.5146",
"0.64"
],
[
"0.12006",
"0.6357",
"0.4878",
"0.6357",
"0.4878",
"0.6494",
"0.12006",
"0.6494"
],
[
"0.5156",
"0.6436",
"0.879",
"0.6436",
"0.879",
"0.654",
"0.5156",
"0.654"
],
[
"0.12006",
"0.652",
"0.4895",
"0.652",
"0.4895",
"0.665",
"0.12006",
"0.665"
],
[
"0.5146",
"0.659",
"0.882",
"0.659",
"0.882",
"0.673",
"0.5146",
"0.673"
],
[
"0.12006",
"0.6685",
"0.2275",
"0.6685",
"0.2275",
"0.6797",
"0.12006",
"0.6797"
],
[
"0.5156",
"0.677",
"0.534",
"0.677",
"0.534",
"0.686",
"0.5156",
"0.686"
],
[
"0.1377",
"0.684",
"0.4878",
"0.684",
"0.4878",
"0.6978",
"0.1377",
"0.6978"
],
[
"0.5356",
"0.6924",
"0.8833",
"0.6924",
"0.8833",
"0.706",
"0.5356",
"0.706"
],
[
"0.12177",
"0.7007",
"0.4878",
"0.7007",
"0.4878",
"0.7144",
"0.12177",
"0.7144"
],
[
"0.5156",
"0.708",
"0.882",
"0.708",
"0.882",
"0.7217",
"0.5156",
"0.7217"
],
[
"0.1184",
"0.7144",
"0.486",
"0.7144",
"0.486",
"0.728",
"0.1184",
"0.728"
],
[
"0.5146",
"0.7236",
"0.882",
"0.7236",
"0.882",
"0.737",
"0.5146",
"0.737"
],
[
"0.12006",
"0.733",
"0.486",
"0.733",
"0.486",
"0.7437",
"0.12006",
"0.7437"
],
[
"0.513",
"0.7383",
"0.882",
"0.7383",
"0.882",
"0.752",
"0.513",
"0.752"
],
[
"0.11755",
"0.745",
"0.492",
"0.7446",
"0.492",
"0.7627",
"0.11755",
"0.763"
],
[
"0.5146",
"0.756",
"0.885",
"0.756",
"0.885",
"0.7695",
"0.5146",
"0.7695"
],
[
"0.12006",
"0.763",
"0.4878",
"0.7627",
"0.4878",
"0.777",
"0.12006",
"0.778"
],
[
"0.513",
"0.771",
"0.827",
"0.771",
"0.827",
"0.7837",
"0.513",
"0.7837"
],
[
"0.12177",
"0.78",
"0.486",
"0.78",
"0.486",
"0.7935",
"0.12177",
"0.7935"
],
[
"0.12006",
"0.7944",
"0.486",
"0.7944",
"0.486",
"0.808",
"0.12006",
"0.808"
],
[
"0.5146",
"0.8047",
"0.5557",
"0.8047",
"0.5557",
"0.8154",
"0.5146",
"0.8154"
],
[
"0.5483",
"0.804",
"0.873",
"0.804",
"0.873",
"0.818",
"0.5483",
"0.818"
],
[
"0.1184",
"0.811",
"0.4895",
"0.811",
"0.4895",
"0.8247",
"0.1184",
"0.8247"
],
[
"0.12006",
"0.8276",
"0.287",
"0.8276",
"0.287",
"0.8413",
"0.12006",
"0.8413"
],
[
"0.5156",
"0.832",
"0.882",
"0.832",
"0.882",
"0.8457",
"0.5156",
"0.8457"
],
[
"0.147",
"0.847",
"0.4895",
"0.847",
"0.4895",
"0.861",
"0.147",
"0.861"
],
[
"0.5156",
"0.847",
"0.882",
"0.847",
"0.882",
"0.861",
"0.5156",
"0.861"
],
[
"0.1184",
"0.86",
"0.3435",
"0.86",
"0.3435",
"0.8735",
"0.1184",
"0.8735"
],
[
"0.5146",
"0.8623",
"0.882",
"0.8633",
"0.882",
"0.8774",
"0.5146",
"0.877"
],
[
"0.1511",
"0.8716",
"0.482",
"0.8735",
"0.482",
"0.887",
"0.1511",
"0.8853"
],
[
"0.1511",
"0.8843",
"0.4878",
"0.883",
"0.4878",
"0.898",
"0.1511",
"0.8984"
],
[
"0.513",
"0.88",
"0.882",
"0.88",
"0.882",
"0.8945",
"0.513",
"0.8945"
],
[
"0.12006",
"0.898",
"0.272",
"0.898",
"0.272",
"0.9077",
"0.12006",
"0.9077"
],
[
"0.5146",
"0.8955",
"0.882",
"0.8945",
"0.882",
"0.909",
"0.5146",
"0.91"
]
] | [
"△Bleu:生成任务",
"的判别度量,具有本质上不同的目标*",
"Michel Galley1t",
"ChrisBrockett1Alessandro Sordoni2",
"Yangfeng Ji3t",
"Michael Auli4t",
"",
"Chris QuirklMargaret MitchelllJianfeng Gaol",
"Bill Dolan",
"",
"",
"1Microsoft Research, Redmond, WA, USA",
"2DIRO, Universite de Montréal, Montreal, QC, Canada",
"3Georgia Institute of Technology, Atlanta, GA, USA",
"4Facebook AIResearch,Menlo Park,CA,USA",
"Abstract",
"由于合理输出的空间较大,Bleu不太成功",
"地应用于非SMT生成任务。因此,已经尝试",
"We introduce Discriminative Bleu (",
"调整度量。为了促进释义生成的多样性,Sun",
"△Bleu), a novel metric for intrinsic",
"和 ZhouE(2012)提出了一个名为i Bleu 的",
"evaluation of generated text in tasks",
"指标,其中Bleu得分被源和释义之间计算",
"that admit a diverse range of possible",
"的Bleu得分所折价。除了依赖于可调参数之",
"outputs. Reference strings are scored",
"外,此解决方案仅适用于。在图像字幕任务中,",
"for quality by human raters on a scale",
"Vendantam等人。,(2015),采用Bleu的变",
"of[-1,+1|to weight multi-reference",
"体,其中n-gram由tfidf加权。这假定用",
"Bleu. In tasks involving generation",
"于计算tfidf的语料库的可用性。以上两者",
"of conversational responses, Bleu cor-",
"都可以看作是试图捕获Bleu中未捕获的目标",
"relates reasonably with human judg",
"优度的概念",
"ments and outperforms sentence-leve",
"在本文中,我们介绍了判别式Bleu(△Bleu",
"and IBM Bleu in terms of both Spear",
"),这是一种新的度量标准,它将有关参考句",
"man's p and Kendall's T .",
"子质量的人类判断直接嵌人到语料库级多参考",
"Introduction",
"Bleu的计算中。实际上,我们将人类评估的部",
"分负担推到了自动化指标中,在那里它可以被",
"1",
"许多自然语言处理任务涉及生成文本,其中各",
"重复使用",
"种输出是可接受的,甚至是可取的。具有本质",
"我们对该指标的测试平台是数据驱动的对",
"上不同目标的任务范围从机器翻译,摘要,句",
"话,该领域已开始引起人们的兴趣E(Ritteret",
"子压缩,释义生成和图像到文本到对话交互的",
"al.,2011;Sordonietal.,2015)作为传统规则",
"生成。这些任务的主要障碍是评估的自动化,",
"驱动或脚本化对话系统的替代方案。该领域的",
"因为合理输出的空间可能是巨大的,并且每次",
"内在评估异常具有挑战性,因为可能的响应的",
"构建新模型或修改参数时都运行新的人工评估",
"语义空间抵抗定义,并且仅受对话输入的弱约",
"是不切实际的",
"束",
"在统计机器翻译(SMT)中,自动化问题",
"下面,我们在会话响应生成的上下文中描述",
"在很大程度上已通过诸如Bleu E(Papineniet",
"ABleu并研究其与标准Bleu相比的特性。我",
"al., 2002) 和 Meteor E(Banerjee and Lavie",
"们证明了△Bleu与此任务中的人类评估分数",
"2005)之类的指标得到了改善,尽管Bleu也不",
"密切相关,因此可以为数据驱动的会话系统",
"能免受批评(例如。g。,Callison-Burch等人。",
"的自动化培训和评估提供基础-我们最终相信,",
"(2006)),其性质已被很好地理解,Bleu分数已",
"其他文本生成任务具有固有的不同目标",
"被证明与SMT中的人类判断(Doddington,",
"2002: Coughlin, 2003; Graham and Baldwin,",
"21",
"Evaluating Conversational Responses",
"2014;Grahametal.,2015)有很好的相关性,",
"它使该领域得以进行",
"给定输入消息m和先前的会话历史c,响应",
"* To appear at ACL in July 2015 (submitted April",
"生成系统的目标是产生一个假设h,该假设",
"30, 2015, accepted June 9, 2015)",
"既是格式良好的,又是对消息㎡的相关响应",
"f Corresponding author: [email protected]",
"t The entirety of this work was conducted while",
"(图。1)。我们假设一组J引用【ri可用",
"atMicrosoftResearch.",
"于上下文ci和消息mi,其中iE{1...I}是"
] | {
"arxiv_id": "1506.06863",
"language": "zh",
"page_idx": 0
} |
||
1506.06863-zh-1 | 1506.06863-zh-1.jpg | <FigureHere>
Figure 1: Example of consecutive utterances of a dia-
$\log.$
测试集上的索引。在 Bleu,$^{1}$的情况下,系统
输出$\underset{\mathrm{2cm}}{\operatorname*{h_{1}\ldots}}h_{I}$的自动得分定义为:
$$\mathrm{Bleu}=\mathrm{BP}\cdot\exp\left(\sum_n\log p_n\right)$$
(1)
。5cm ,带: ${}^{\text{“”}}5$cm
(2)
$$\mathrm{BP}=\begin{cases}\:1&\mathrm{if}\:\eta>\rho\\\:e^{(1-\rho/\eta)}&\mathrm{otherwise}\end{cases}$$
其中$\rho$和$\eta\text{ 分别是假设长度和参考长度。}^{2}$然
后将语料库级别的$n$ -gram 精度定义为:
$$p_n=\dfrac{\sum_i\sum_{g\:\in\:n\text{-grams}(h_i)}\:\max_j\left\{\#_g(h_i,r_{i,j})\right\}}{\sum_i\sum_{g\:\in\:n\text{grams}(h_i)}\:\#_g(h_i)}$$
其中$\#_g(\cdot)$是给定句子中$n$ -gram $g$的出现
次数,而$\#_g(u,v)$是$h$的简写
已经证明,随着引用数量的增加,诸如 Bleu 之类的指标显示出与人类判断的相关性增加(Przybocki et al., 2008; Dreyer and Marcu, 2012)。不幸的是,在对话的情况下,收集多个引用是困难的。从自然发生的对话中收集的数据仅为每条消息提供一个响应。One could search $(c,m)$ pairs that occur multiple times in conversational data with the hope of fnding distinct responses, but this solution is not feasible. Indeed, the larger the context, the less likely we are to find pairs that match exactly 。此外,虽然在下游任务相对明确的情况下让作者创建额外的引用是可行的(例如。g。, MT), 这种方法在会话响应生成等更主观的任务的情况下更有问题。我们的解决方案是从对话数据中挖掘候选回复,并让法官对这些回复的质量进行评分。因此,我们的新指标自然结合了与参考相关的定性权重
$^{1}$Unless mentioned otherwise, Bleu refers to the original IBM Bleu as first described in (Papineni et al., 2002).
$^{2}$In the case of multiple references, Bleu selects the reference whose length is closest to that of the hypothesis.
# 3 Discriminative Bleu
判别式 Bleu 或$\Delta$Bleu 通过利用与引用$r_{i,j}$ 相关的人类定性判断$w_i,j\in[-1,+1]$来扩展Bleu 。它是有区别的,因为它既奖励具有“良好”参考响应的匹配(w>0),又惩罚具有“不良”参考响应的匹配(w<0)。形式上, $\Delta$Bleu 的定义与公式$\overline{\mathrm{E}}1$ 和$\overline{\mathrm{E}}$2 中的定义相同, 只是$p_n$改为定义为:
$$\frac{\sum_{i}\sum_{g\:\in\:n\mathrm{-grams}(h_{i})}\max_{j:g\:\in\:r_{i,j}}\{w_{i,j}\cdot\#_{g}(h_{i},r_{i,j})\}}{\sum_{i}\sum_{g\:\in\:n\mathrm{-grams}(h_{i})}\max_{j}\{w_{i,j}\cdot\#_{g}(h_{i})\}}$$
简而言之,这是说每个$n$-gram匹配都由其发生为负的最高得分参考加权,并且该权重有时可以。为了确保分母永远不会为零,我们假设对于每个$i$ ,至少存在一个参考$r_i,j$ ,其权重$w_{i,j}$严格为正。除了它的判别性质之外,这个指标还有两个有趣的性质。首先,如果所有权重$w_{i,j}$都等于 1, 则度量得分与 Bleu 相同。因此,$\Delta$Bleu 承认 Bleu 为特例。其次,与 IBM Bleu 一样,最高理论分数也是 1。如果假设恰好与每个句子的最高加权参考相匹配,则分子等于分母,度量分数变为 1。虽然我们发现此指标特别适合于响应生成,但该指标对任务没有任何假设,并且适用于其他文本生成任务, 例如 MT 和图像字幕
### 4 Data
4.1 Multi-reference Datasets
为了创建本研究中使用的多参考 Bleu 开发和测试集,我们调整并扩展了 Sordoni 等人的方法。(2015) 。从 29MTwitter 上下文-消息-响应会话三元组的语料库中,我们随机提取了大约 33K 个候选三元组 ,然后由 3 个众包注释者以 5 点 Likert 型量表对会话质量进行了判断。其中,4232 个三元组平均得分为 4 或更高; 这些被随机分组以分别创建 2118 个三元组和 2114 个三元组的种子开发和测试集。Note that the dev set is not used in the experiments of this paper, since $\Delta$Bleu and IBM Bleu are metrics that do not require training. However, the dev set is released along with a test set in the dataset release accompanying this paper.
然后,我们试图在 29M 语料库中识别候选三元组,对于这些三元组,消息和响应都与这些种子集中的原始消息和响应相似。为此,我们采用了带有词袋 BM25 相似度函数E (Robertson et al.,1995)的信息检索算法,如Sordoni 等人所述。(2015),提取每个消息响应对的前 15 个响应。与 Sordoni 等人不同。(2015) ,我们进一步附加了原始消息(就像复 | [
[
"0.2258",
"0.0748",
"0.336",
"0.0766",
"0.336",
"0.09143",
"0.2258",
"0.08905"
],
[
"0.5483",
"0.076",
"0.723",
"0.076",
"0.723",
"0.0903",
"0.5483",
"0.0903"
],
[
"0.513",
"0.0766",
"0.55",
"0.0766",
"0.55",
"0.08905",
"0.513",
"0.08905"
],
[
"0.1453",
"0.0766",
"0.1873",
"0.0766",
"0.1873",
"0.0873",
"0.1453",
"0.0873"
],
[
"0.1427",
"0.0956",
"0.189",
"0.0974",
"0.1873",
"0.10925",
"0.1411",
"0.1069"
],
[
"0.309",
"0.0944",
"0.4634",
"0.0944",
"0.4634",
"0.10925",
"0.309",
"0.10925"
],
[
"0.5146",
"0.10095",
"0.881",
"0.10156",
"0.881",
"0.1164",
"0.5146",
"0.1152"
],
[
"0.1368",
"0.1164",
"0.199",
"0.1164",
"0.199",
"0.1277",
"0.1368",
"0.1277"
],
[
"0.1914",
"0.1152",
"0.3586",
"0.1152",
"0.3586",
"0.13",
"0.1914",
"0.13"
],
[
"0.5156",
"0.11816",
"0.882",
"0.11816",
"0.882",
"0.1318",
"0.5156",
"0.1318"
],
[
"0.5146",
"0.133",
"0.882",
"0.133",
"0.882",
"0.1467",
"0.5146",
"0.1467"
],
[
"0.1184",
"0.1443",
"0.4902",
"0.1443",
"0.4902",
"0.158",
"0.1184",
"0.158"
],
[
"0.5146",
"0.1478",
"0.882",
"0.1484",
"0.882",
"0.1633",
"0.5146",
"0.1621"
],
[
"0.12006",
"0.158",
"0.1453",
"0.158",
"0.1453",
"0.1692",
"0.12006",
"0.1692"
],
[
"0.5146",
"0.1644",
"0.882",
"0.1644",
"0.882",
"0.1776",
"0.5146",
"0.1776"
],
[
"0.513",
"0.1799",
"0.8833",
"0.1812",
"0.8833",
"0.1953",
"0.513",
"0.1948"
],
[
"0.12177",
"0.1953",
"0.4895",
"0.1953",
"0.4895",
"0.2102",
"0.12177",
"0.2102"
],
[
"0.5146",
"0.1978",
"0.681",
"0.1978",
"0.681",
"0.212",
"0.5146",
"0.212"
],
[
"0.1184",
"0.212",
"0.3855",
"0.212",
"0.3855",
"0.2268",
"0.1184",
"0.2268"
],
[
"0.1368",
"0.2245",
"0.1914",
"0.2227",
"0.1914",
"0.234",
"0.1368",
"0.2363"
],
[
"0.509",
"0.2239",
"0.889",
"0.2239",
"0.889",
"0.2477",
"0.509",
"0.2477"
],
[
"0.546",
"0.2465",
"0.8486",
"0.2446",
"0.8486",
"0.2642",
"0.546",
"0.2666"
],
[
"0.1838",
"0.26",
"0.3074",
"0.26",
"0.3074",
"0.275",
"0.1838",
"0.275"
],
[
"0.461",
"0.2632",
"0.4844",
"0.2583",
"0.4902",
"0.2715",
"0.4668",
"0.2766"
],
[
"0.517",
"0.2778",
"0.882",
"0.2778",
"0.882",
"0.2922",
"0.517",
"0.2922"
],
[
"0.1394",
"0.2964",
"0.1914",
"0.2964",
"0.1914",
"0.3123",
"0.1394",
"0.3123"
],
[
"0.5156",
"0.2922",
"0.881",
"0.2935",
"0.881",
"0.308",
"0.5156",
"0.3071"
],
[
"0.12427",
"0.3135",
"0.1663",
"0.3135",
"0.1663",
"0.3289",
"0.12427",
"0.3289"
],
[
"0.517",
"0.31",
"0.882",
"0.31",
"0.882",
"0.3237",
"0.517",
"0.3237"
],
[
"0.1453",
"0.3267",
"0.1897",
"0.3267",
"0.1897",
"0.3384",
"0.1453",
"0.3384"
],
[
"0.5156",
"0.3267",
"0.8833",
"0.3267",
"0.8833",
"0.3416",
"0.5156",
"0.3416"
],
[
"0.5146",
"0.3425",
"0.882",
"0.3416",
"0.882",
"0.3557",
"0.5146",
"0.357"
],
[
"0.336",
"0.3557",
"0.4072",
"0.3594",
"0.4055",
"0.3735",
"0.3342",
"0.3706"
],
[
"0.5156",
"0.3582",
"0.882",
"0.3582",
"0.882",
"0.3718",
"0.5156",
"0.3718"
],
[
"0.1897",
"0.3652",
"0.2183",
"0.3652",
"0.2183",
"0.3777",
"0.1897",
"0.3777"
],
[
"0.465",
"0.3677",
"0.4895",
"0.3677",
"0.4895",
"0.3801",
"0.465",
"0.3801"
],
[
"0.2568",
"0.3748",
"0.3225",
"0.3748",
"0.3225",
"0.386",
"0.2568",
"0.386"
],
[
"0.3342",
"0.376",
"0.4182",
"0.376",
"0.4182",
"0.3901",
"0.3342",
"0.3901"
],
[
"0.5146",
"0.3723",
"0.881",
"0.3723",
"0.881",
"0.386",
"0.5146",
"0.386"
],
[
"0.5146",
"0.3884",
"0.8833",
"0.3896",
"0.8833",
"0.4038",
"0.5146",
"0.4026"
],
[
"0.12006",
"0.405",
"0.4895",
"0.4038",
"0.4895",
"0.4187",
"0.12006",
"0.4192"
],
[
"0.5156",
"0.4062",
"0.882",
"0.4062",
"0.882",
"0.4192",
"0.5156",
"0.4192"
],
[
"0.12006",
"0.4229",
"0.4434",
"0.4229",
"0.4434",
"0.4358",
"0.12006",
"0.4358"
],
[
"0.5146",
"0.4204",
"0.882",
"0.4216",
"0.882",
"0.4358",
"0.5146",
"0.4353"
],
[
"0.5146",
"0.4358",
"0.8833",
"0.437",
"0.8833",
"0.452",
"0.5146",
"0.4507"
],
[
"0.1663",
"0.449",
"0.4785",
"0.4507",
"0.4785",
"0.4727",
"0.1663",
"0.4702"
],
[
"0.5146",
"0.4531",
"0.881",
"0.4531",
"0.881",
"0.466",
"0.5146",
"0.466"
],
[
"0.12427",
"0.466",
"0.1561",
"0.466",
"0.1561",
"0.4785",
"0.12427",
"0.4785"
],
[
"0.215",
"0.4714",
"0.4324",
"0.4697",
"0.4324",
"0.4912",
"0.215",
"0.4934"
],
[
"0.517",
"0.4697",
"0.882",
"0.4697",
"0.882",
"0.4827",
"0.517",
"0.4827"
],
[
"0.5156",
"0.485",
"0.686",
"0.485",
"0.686",
"0.4988",
"0.5156",
"0.4988"
],
[
"0.12177",
"0.506",
"0.4895",
"0.506",
"0.4895",
"0.5195",
"0.12177",
"0.5195"
],
[
"0.5225",
"0.509",
"0.5356",
"0.5186",
"0.5225",
"0.528",
"0.509",
"0.5186"
],
[
"0.54",
"0.5166",
"0.5474",
"0.5166",
"0.5474",
"0.5215",
"0.54",
"0.5215"
],
[
"0.5425",
"0.511",
"0.5977",
"0.513",
"0.596",
"0.5293",
"0.5415",
"0.527"
],
[
"0.1184",
"0.5215",
"0.3704",
"0.521",
"0.3704",
"0.535",
"0.1184",
"0.536"
],
[
"0.1368",
"0.538",
"0.4895",
"0.5376",
"0.4895",
"0.552",
"0.1368",
"0.5527"
],
[
"0.5146",
"0.5405",
"0.5415",
"0.5405",
"0.5415",
"0.552",
"0.5146",
"0.552"
],
[
"0.561",
"0.539",
"0.763",
"0.539",
"0.763",
"0.5527",
"0.561",
"0.5527"
],
[
"0.1184",
"0.554",
"0.4878",
"0.5547",
"0.4878",
"0.5693",
"0.1184",
"0.5684"
],
[
"0.5156",
"0.56",
"0.882",
"0.56",
"0.882",
"0.5737",
"0.5156",
"0.5737"
],
[
"0.1184",
"0.5693",
"0.4878",
"0.571",
"0.4878",
"0.5845",
"0.1184",
"0.583"
],
[
"0.5156",
"0.576",
"0.882",
"0.576",
"0.882",
"0.5903",
"0.5156",
"0.5903"
],
[
"0.1184",
"0.586",
"0.4878",
"0.586",
"0.4878",
"0.5996",
"0.1184",
"0.5996"
],
[
"0.5146",
"0.593",
"0.882",
"0.593",
"0.882",
"0.6055",
"0.5146",
"0.6055"
],
[
"0.12177",
"0.6016",
"0.4878",
"0.6016",
"0.4878",
"0.615",
"0.12177",
"0.615"
],
[
"0.5146",
"0.607",
"0.881",
"0.607",
"0.881",
"0.6206",
"0.5146",
"0.6206"
],
[
"0.12006",
"0.618",
"0.4878",
"0.618",
"0.4878",
"0.632",
"0.12006",
"0.632"
],
[
"0.5146",
"0.6235",
"0.881",
"0.6235",
"0.881",
"0.637",
"0.5146",
"0.637"
],
[
"0.12006",
"0.6353",
"0.4878",
"0.6353",
"0.4878",
"0.6484",
"0.12006",
"0.6484"
],
[
"0.5146",
"0.64",
"0.882",
"0.64",
"0.882",
"0.654",
"0.5146",
"0.654"
],
[
"0.12006",
"0.651",
"0.486",
"0.651",
"0.486",
"0.661",
"0.12006",
"0.661"
],
[
"0.5146",
"0.655",
"0.882",
"0.655",
"0.882",
"0.6685",
"0.5146",
"0.6685"
],
[
"0.12006",
"0.6665",
"0.4895",
"0.6665",
"0.4895",
"0.6797",
"0.12006",
"0.6797"
],
[
"0.5146",
"0.6714",
"0.8833",
"0.6714",
"0.8833",
"0.685",
"0.5146",
"0.685"
],
[
"0.1184",
"0.681",
"0.486",
"0.681",
"0.486",
"0.695",
"0.1184",
"0.695"
],
[
"0.5146",
"0.6885",
"0.8833",
"0.6885",
"0.8833",
"0.7017",
"0.5146",
"0.7017"
],
[
"0.12177",
"0.6987",
"0.486",
"0.6987",
"0.486",
"0.709",
"0.12177",
"0.709"
],
[
"0.5146",
"0.7036",
"0.879",
"0.7036",
"0.879",
"0.7144",
"0.5146",
"0.7144"
],
[
"0.12006",
"0.7144",
"0.4878",
"0.7144",
"0.4878",
"0.728",
"0.12006",
"0.728"
],
[
"0.513",
"0.7197",
"0.882",
"0.7197",
"0.882",
"0.733",
"0.513",
"0.733"
],
[
"0.12006",
"0.73",
"0.4878",
"0.73",
"0.4878",
"0.7437",
"0.12006",
"0.7437"
],
[
"0.513",
"0.734",
"0.881",
"0.7354",
"0.881",
"0.75",
"0.513",
"0.749"
],
[
"0.1184",
"0.7446",
"0.486",
"0.7446",
"0.486",
"0.7583",
"0.1184",
"0.7583"
],
[
"0.5146",
"0.752",
"0.8833",
"0.752",
"0.8833",
"0.7656",
"0.5146",
"0.7656"
],
[
"0.12006",
"0.761",
"0.4878",
"0.761",
"0.4878",
"0.775",
"0.12006",
"0.775"
],
[
"0.5146",
"0.767",
"0.875",
"0.767",
"0.875",
"0.781",
"0.5146",
"0.781"
],
[
"0.12006",
"0.777",
"0.4895",
"0.7754",
"0.4895",
"0.7905",
"0.12006",
"0.7915"
],
[
"0.532",
"0.783",
"0.881",
"0.783",
"0.881",
"0.7964",
"0.532",
"0.7964"
],
[
"0.12006",
"0.7935",
"0.486",
"0.7935",
"0.486",
"0.807",
"0.12006",
"0.807"
],
[
"0.5146",
"0.8",
"0.881",
"0.8",
"0.881",
"0.8135",
"0.5146",
"0.8135"
],
[
"0.12006",
"0.81",
"0.378",
"0.81",
"0.378",
"0.8237",
"0.12006",
"0.8237"
],
[
"0.517",
"0.8154",
"0.882",
"0.8154",
"0.882",
"0.829",
"0.517",
"0.829"
],
[
"0.1411",
"0.835",
"0.4836",
"0.836",
"0.4836",
"0.8496",
"0.1411",
"0.8486"
],
[
"0.517",
"0.832",
"0.8833",
"0.832",
"0.8833",
"0.8457",
"0.517",
"0.8457"
],
[
"0.11755",
"0.8467",
"0.4878",
"0.847",
"0.4878",
"0.861",
"0.11755",
"0.86"
],
[
"0.5146",
"0.8457",
"0.882",
"0.8467",
"0.882",
"0.861",
"0.5146",
"0.86"
],
[
"0.12006",
"0.86",
"0.1621",
"0.86",
"0.1621",
"0.8716",
"0.12006",
"0.8716"
],
[
"0.513",
"0.861",
"0.882",
"0.8633",
"0.882",
"0.8774",
"0.513",
"0.876"
],
[
"0.1394",
"0.8716",
"0.4878",
"0.8716",
"0.4878",
"0.8853",
"0.1394",
"0.8853"
],
[
"0.1184",
"0.8843",
"0.4895",
"0.8843",
"0.4895",
"0.898",
"0.1184",
"0.898"
],
[
"0.5156",
"0.879",
"0.882",
"0.879",
"0.882",
"0.8936",
"0.5156",
"0.8936"
],
[
"0.12177",
"0.8984",
"0.147",
"0.8984",
"0.147",
"0.9067",
"0.12177",
"0.9067"
],
[
"0.5146",
"0.8955",
"0.881",
"0.8955",
"0.881",
"0.909",
"0.5146",
"0.909"
]
] | [
"I'm on my way now.",
"Discriminative Bleu",
"3",
"Context",
"Message",
"ll be downstairs waiting",
"判别式Bleu或△Bleu通过利用与引用ri,",
"Response",
"I'll keep an eye out for you.",
"相关的人类定性判断wiiE【-1,+1]来扩展",
"Bleu。它是有区别的,因为它既奖励具有“良",
"Figure l: Example of consecutive utterances of a dia-",
"好”参考响应的匹配(w>0),又惩罚具有",
"log.",
"“不良”参考响应的匹配(w<0)。形式上",
"△Bleu的定义与公式E1和E2中的定义相同,",
"测试集上的索引。在Bleu,1的情况下,系统",
"只是pn改为定义为:",
"输出h1..hl的自动得分定义为",
"。2cm",
"E,Egen-grams(h.) maxjger., (wij #g(hi, i.))",
"E,EgE n-grams(ha) max;[ wi,j ·#g(hi))",
"Bleu = BP. ex)",
"(1)",
"简而言之,这是说每个n-gram匹配都由其发",
"。5cm",
"生为负的最高得分参考加权,并且该权重有时",
",带:",
"可以。为了确保分母永远不会为零,我们假设",
"5cm",
"对于每个i,至少存在一个参考ri,j,其权重",
"wii严格为正。除了它的判别性质之外,这个",
"ifn>p",
"指标还有两个有趣的性质。首先,如果所有权",
"BP",
"(2)",
"e(1-p/n)",
"otherwise",
"重wi都等于1,则度量得分与Bleu相同。因",
"此,△Bleu承认Bleu为特例。其次,与IBM",
"其中p和n分别是假设长度和参考长度。2然",
"Bleu一样,最高理论分数也是1。如果假设恰",
"后将语料库级别的n-gram精度定义为:",
"好与每个句子的最高加权参考相匹配,则分子",
"等于分母,度量分数变为1。虽然我们发现此",
"E,Zge n-grams(h) max, (#g(hi, ri,))",
"指标特别适合于响应生成,但该指标对任务没",
"Pn",
",ge n-grams(hi) #g(h,)",
"有任何假设,并且适用于其他文本生成任务,",
"例如MT和图像字幕",
"其中#。()是给定句子中n-gramg的出现",
"N",
"",
"Data",
"次数,而#。(u,)是h的简写",
"已经证明,随着引用数量的增加,诸如Bleu",
"4.1",
"Multi-reference Datasets",
"之类的指标显示出与人类判断的相关性增加",
"为了创建本研究中使用的多参考Bleu开发和",
"(Przybocki et al., 2008; Dreyer and Marcu,",
"测试集,我们调整并扩展了Sordoni等人的方",
"2012)。不幸的是,在对话的情况下,收集",
"法。(2015)。从29MTwitter上下文-消息-响",
"多个引用是困难的。从自然发生的对话中收",
"应会话三元组的语料库中,我们随机提取了大",
"集的数据仅为每条消息提供一个响应。One",
"约33K个候选三元组,然后由3个众包注释者",
"could search (c, m) pairs that occur multiple",
"以5点Likert型量表对会话质量进行了判断。",
"times in conversational data.with the hope of",
"其中,4232个三元组平均得分为4或更高:",
"finding distinct responses, but this solution is",
"这些被随机分组以分别创建2118个三元组",
"not feasible. Indeed, the larger the context.",
"和2114个三元组的种子开发和测试集。Note",
"thelesslikelywearetofindpairsthatmatch",
"that the dey set is not used in the experiments",
"exactly。此外,虽然在下游任务相对明确的情",
"of this paper, since △Bleu and IBM Bleu are",
"况下让作者创建额外的引用是可行的(例如。",
"metrics that do not require training. However",
"g。,MT),这种方法在会话响应生成等更主观",
"the dev set is released along with a test set in",
"的任务的情况下更有问题。我们的解决方案是",
"the dataset release accompanying this paper.",
"从对话数据中挖掘候选回复,并让法官对这些",
"然后,我们试图在29M语料库中识别候",
"回复的质量进行评分。因此,我们的新指标自",
"选三元组,对于这些三元组,消息和响应都",
"然结合了与参考相关的定性权重",
"与这些种子集中的原始消息和响应相似。为",
"IUnless mentioned otherwise, Bleu refers to the orig",
"此,我们采用了带有词袋BM25相似度函数E",
"inal IBM Bleu as first described in (Papineni et al.,",
"(Robertsonetal.,1995)的信息检索算法,如",
"2002):",
"Sordoni等人所述。(2015),提取每个消息",
"2In the case of multiple references, Bleu selects the",
"reference whose length is closest to that of the hypoth-",
"响应对的前15个响应。与Sordoni等人不同。",
"esis.",
"(2015),我们进一步附加了原始消息(就像复"
] | {
"arxiv_id": "1506.06863",
"language": "zh",
"page_idx": 1
} |
||
1506.06863-zh-3 | 1506.06863-zh-3.jpg | 制回来一样)。然后,由 5 名众包评分者根据上下文和信息对新的三元组的响应质量进行评分,每个评分者采用 5 分的 Likert 型量表。$^{3}$至关重要,再次与 Sordoni 等人形成对比。(2015) , 我们没有对这些合成多参考集施加分数截止值。相反,我们保留了所有候选答案, 并将其分数缩放为[-1,+1]
Table 1 presents representative multireference examples (from the dev set) together with their converted scores. The context and messages associated with the supplementary mined responses are also shown for illustrative purposes to demonstrate the range of conversations from which they were taken. In the table, negative-weighted mined responses are semantically orthogonal to the intent of their newly assigned context and message. Strongly negatively weighted responses are completely out of the ballpark (“the weather in Russia is very cool",“well then! Why were the biscuits needed?"); others are a little more plausible, but irrelevant or possibly topic changing (“ohh I love that song"). Higher-valued positiveweighted mined responses are typically reasonably appropriate and relevant (even though extracted from a completely unrelated conversation), and in some cases can outscore the original response, as can be seen in the third set of examples.
4.2 Human Evaluation of System Outputs
本研究中使用的 7 个系统在 2114 三重测试集上生成的响应由 5 个众包评分者手工评估,每个评分者均采用 5 点 Likert 型量表。从这 7个系统中,评估了 12 个系统对,总共约为成对 126K 额定值$(12\cdot5\cdot2114$ )。在这里,评估者也被要求根据他们对背景和信息的相关性来评估回应。来自不同系统的输出被随机交织, 以呈现给评分者。我们在以下系统上获得了人类评级: ${}_{0}^{{}}{}^{{}}{}^{{}}{}^{{}}{}^{{}}{}^{{}}{}^{{}}{}^{{}}{}^{}{}{}^{}{}$ Phrase-based MT :类似于 (Ritter et al., 2011)的基于短语的 MT 系统,其权重已手动调整。我们还包括该系统的四个变体,我们使用 MERT (Och, 2003) 进行了调整。这些变体的功能数量不同,并通过以下短语级功能增强了(Ritter et al., 2011): 编辑源和目标之间的距离,余弦相似性,Jaccard 指数和距离,
$^3$For this work, we sought 2 additional annotations $\begin{array}{l}\text{of the seed responses for consistency with the mined}\\\text{responses. As a result, scores for some seed responses}\end{array}$ slipped below our initial threshold of 4. Nonetheless, these responses were retained.
长度比以及 DSSM 得分 (Huang et al., 2013) 。RNN-based MT :根据 (Sordoni et al., 2015) 的 RNN 模型的对数概率。
Baseline : 随机基线
虽然$\Delta$Bleu 依赖于人类的定性判断,但重要的是要注意,人类对多参考(§$\mathbb{E}$4.1)的判断和对系统输出的判断是完全独立收集的。我们还注意到,上面列出的系统集特别不包括基于检索的模型,因为这可能在两个数据集(§E) 4.1和 §$\overline{\mathrm{E}}4.2$ )之间引人了虚假相关性。
# 5 Setup
我们使用两个等级相关系数-Kendall 的$\tau$ 和 Spearman 的$\rho$ -来评估人类定性评级$(\S4.2)$与自动度量得分之间的相关性水平。更正式地说,我们计算一系列成对观测值$(m_1,q_1),\cdots,(m_N,q_N)$上的每个相关系数。这里,$m_i$和$q_i$分别是两个给定系统$A$和$B$在测试集的给定子集上的自动度量得分和定性评分的差异。$^{4}$尽管许多先前的工作通过计算由单句系统输出组成的观察结果的相关性来评估 MT 和其他任务 (Lavie and Agarwal, 2007; Hodosh et al., 2013)的自动指标,但已显示(e。g。, Przybocki et al.(2008))随着观测单位变大,相关系数显著增加。例如,语料库级别或系统级别的相关性往往比句子级别的相关性高得多;Graham and Baldwin (2014) 表明, 在系统级别进行评估时,Bleu 与最新和高级指标具有竞争力。$^{5}$因此,除非另有说明,否则我们将观察单元大小定义为$M=100$句子(响应$),^6$。我们通过对 $M$ 句子的人类评分进行平均来评估$q_i$ ,并通过计算同一组句子的度量分数来评估$m_i$ 。$^{7}$我们比较三种不同的度量:Bleu 、$\Delta$Bleu 和句子级 Bleu (s Bleu)。
$\begin{array}{cc}^{4}\text{For each given observation pair }(m_{i},q_{i})&,\text{we ran-}\\\text{domize the order in which }A&\mathrm{and~}B&\mathrm{are~presented~to}\end{array}$
the raters in order to avoid any positional bias.
$^{5}$We do not intend to minimize the beneft of a metric that would be competitive at the sentence-level, which would be particularly useful for detailed error analyses. However, our main goal is to reliably evaluate generation systems on test sets of thousands of sentences, in which case any metric with good corpuslevel correlation (such as Bleu, as shown in (Graham and Baldwin, 2014) ) would be'suffcient.
$^{6}$Enumerating all possible ways of assigning sentences to observations would cause a combinatorial explosion. Instead, for all our results we sample 1K assignments and average correlations coefficients over them (using the same 1K assignments across all metrics). These assignments are done in such a way that all sentences within an observation belong to the same system pair.
$^{7}$We refrained from using larger units, as creating larger observation units $M$ reduces the total number of units $N.$ This would have caused confdence intervals to be so wide as to make this study inconclusive. | [
[
"0.12177",
"0.0766",
"0.4878",
"0.0766",
"0.4878",
"0.0903",
"0.12177",
"0.0903"
],
[
"0.5156",
"0.076",
"0.8774",
"0.076",
"0.8774",
"0.0903",
"0.5156",
"0.0903"
],
[
"0.1234",
"0.09265",
"0.4895",
"0.09265",
"0.4895",
"0.1057",
"0.1234",
"0.1057"
],
[
"0.5146",
"0.09265",
"0.882",
"0.09265",
"0.882",
"0.1057",
"0.5146",
"0.1057"
],
[
"0.12006",
"0.10925",
"0.4902",
"0.10925",
"0.4902",
"0.1223",
"0.12006",
"0.1223"
],
[
"0.513",
"0.1069",
"0.723",
"0.1081",
"0.723",
"0.1223",
"0.513",
"0.1217"
],
[
"0.11584",
"0.12054",
"0.492",
"0.1223",
"0.492",
"0.1401",
"0.11584",
"0.1383"
],
[
"0.5146",
"0.1247",
"0.687",
"0.1247",
"0.687",
"0.1383",
"0.5146",
"0.1383"
],
[
"0.12006",
"0.1401",
"0.486",
"0.1401",
"0.486",
"0.1538",
"0.12006",
"0.1538"
],
[
"0.531",
"0.1395",
"0.882",
"0.1401",
"0.882",
"0.155",
"0.531",
"0.1538"
],
[
"0.12177",
"0.1567",
"0.4902",
"0.1567",
"0.4902",
"0.1704",
"0.12177",
"0.1704"
],
[
"0.513",
"0.155",
"0.882",
"0.1561",
"0.882",
"0.1704",
"0.513",
"0.1692"
],
[
"0.12006",
"0.1729",
"0.3687",
"0.1729",
"0.3687",
"0.1859",
"0.12006",
"0.1859"
],
[
"0.5156",
"0.1729",
"0.8833",
"0.1729",
"0.8833",
"0.1859",
"0.5156",
"0.1859"
],
[
"0.1351",
"0.187",
"0.4902",
"0.1882",
"0.4902",
"0.2031",
"0.1351",
"0.2019"
],
[
"0.5156",
"0.1895",
"0.8833",
"0.1895",
"0.8833",
"0.2031",
"0.5156",
"0.2031"
],
[
"0.1184",
"0.2048",
"0.4895",
"0.2048",
"0.4895",
"0.2197",
"0.1184",
"0.2197"
],
[
"0.5156",
"0.2048",
"0.885",
"0.2048",
"0.885",
"0.2185",
"0.5156",
"0.2185"
],
[
"0.1184",
"0.2203",
"0.4895",
"0.2203",
"0.4895",
"0.234",
"0.1184",
"0.234"
],
[
"0.513",
"0.2203",
"0.8364",
"0.2203",
"0.8364",
"0.234",
"0.513",
"0.234"
],
[
"0.1184",
"0.2363",
"0.4878",
"0.2363",
"0.4878",
"0.2505",
"0.1184",
"0.2505"
],
[
"0.5156",
"0.2505",
"0.529",
"0.2505",
"0.529",
"0.26",
"0.5156",
"0.26"
],
[
"0.5483",
"0.2477",
"0.6035",
"0.2494",
"0.602",
"0.2642",
"0.5474",
"0.2625"
],
[
"0.1184",
"0.2695",
"0.4895",
"0.2683",
"0.4895",
"0.282",
"0.1184",
"0.2832"
],
[
"0.1184",
"0.253",
"0.4895",
"0.253",
"0.4895",
"0.2666",
"0.1184",
"0.2666"
],
[
"0.5156",
"0.275",
"0.8833",
"0.275",
"0.8833",
"0.288",
"0.5156",
"0.288"
],
[
"0.12006",
"0.2852",
"0.4895",
"0.2852",
"0.4895",
"0.2986",
"0.12006",
"0.2986"
],
[
"0.5156",
"0.2903",
"0.882",
"0.2903",
"0.882",
"0.3047",
"0.5156",
"0.3047"
],
[
"0.1184",
"0.3005",
"0.4895",
"0.3005",
"0.4895",
"0.3142",
"0.1184",
"0.3142"
],
[
"0.5156",
"0.3071",
"0.8833",
"0.3071",
"0.8833",
"0.3206",
"0.5156",
"0.3206"
],
[
"0.1184",
"0.3164",
"0.4895",
"0.3164",
"0.4895",
"0.33",
"0.1184",
"0.33"
],
[
"0.5146",
"0.3218",
"0.882",
"0.3218",
"0.882",
"0.335",
"0.5146",
"0.335"
],
[
"0.11755",
"0.332",
"0.486",
"0.332",
"0.486",
"0.3457",
"0.11755",
"0.3457"
],
[
"0.513",
"0.339",
"0.8833",
"0.339",
"0.8833",
"0.3528",
"0.513",
"0.3528"
],
[
"0.12006",
"0.3486",
"0.4878",
"0.3486",
"0.4878",
"0.3623",
"0.12006",
"0.3623"
],
[
"0.5156",
"0.354",
"0.885",
"0.354",
"0.885",
"0.3682",
"0.5156",
"0.3682"
],
[
"0.11755",
"0.3635",
"0.4878",
"0.3635",
"0.4878",
"0.3772",
"0.11755",
"0.3772"
],
[
"0.5156",
"0.3694",
"0.8833",
"0.3694",
"0.8833",
"0.3843",
"0.5156",
"0.3843"
],
[
"0.11755",
"0.3801",
"0.4895",
"0.379",
"0.4895",
"0.3938",
"0.11755",
"0.3943"
],
[
"0.5156",
"0.3855",
"0.882",
"0.3855",
"0.882",
"0.3997",
"0.5156",
"0.3997"
],
[
"0.11755",
"0.3943",
"0.4878",
"0.3955",
"0.4878",
"0.4104",
"0.11755",
"0.4092"
],
[
"0.5156",
"0.402",
"0.882",
"0.402",
"0.882",
"0.415",
"0.5156",
"0.415"
],
[
"0.12006",
"0.412",
"0.4895",
"0.412",
"0.4895",
"0.4258",
"0.12006",
"0.4258"
],
[
"0.5146",
"0.4163",
"0.882",
"0.4175",
"0.882",
"0.4316",
"0.5146",
"0.4312"
],
[
"0.1184",
"0.4275",
"0.4895",
"0.4275",
"0.4895",
"0.4424",
"0.1184",
"0.4424"
],
[
"0.5146",
"0.434",
"0.882",
"0.434",
"0.882",
"0.4478",
"0.5146",
"0.4478"
],
[
"0.1184",
"0.4448",
"0.4878",
"0.4448",
"0.4878",
"0.4578",
"0.1184",
"0.4578"
],
[
"0.511",
"0.4495",
"0.882",
"0.449",
"0.882",
"0.4631",
"0.511",
"0.4644"
],
[
"0.12006",
"0.4602",
"0.4895",
"0.4602",
"0.4895",
"0.4739",
"0.12006",
"0.4739"
],
[
"0.5146",
"0.4644",
"0.882",
"0.4656",
"0.882",
"0.4797",
"0.5146",
"0.4785"
],
[
"0.11755",
"0.4756",
"0.4878",
"0.4756",
"0.4878",
"0.4893",
"0.11755",
"0.4893"
],
[
"0.5156",
"0.4822",
"0.882",
"0.4822",
"0.882",
"0.4954",
"0.5156",
"0.4954"
],
[
"0.1184",
"0.4912",
"0.4895",
"0.4912",
"0.4895",
"0.505",
"0.1184",
"0.505"
],
[
"0.5156",
"0.4976",
"0.881",
"0.4976",
"0.881",
"0.511",
"0.5156",
"0.511"
],
[
"0.1184",
"0.5083",
"0.4878",
"0.5083",
"0.4878",
"0.5215",
"0.1184",
"0.5215"
],
[
"0.5156",
"0.514",
"0.882",
"0.514",
"0.882",
"0.528",
"0.5156",
"0.528"
],
[
"0.1184",
"0.525",
"0.2183",
"0.525",
"0.2183",
"0.536",
"0.1184",
"0.536"
],
[
"0.5156",
"0.5293",
"0.882",
"0.5293",
"0.882",
"0.5435",
"0.5156",
"0.5435"
],
[
"0.5156",
"0.5435",
"0.881",
"0.5435",
"0.881",
"0.558",
"0.5156",
"0.558"
],
[
"0.12006",
"0.5527",
"0.1528",
"0.5527",
"0.1528",
"0.564",
"0.12006",
"0.564"
],
[
"0.1511",
"0.5547",
"0.168",
"0.5547",
"0.168",
"0.5625",
"0.1511",
"0.5625"
],
[
"0.1621",
"0.552",
"0.4768",
"0.552",
"0.4768",
"0.5654",
"0.1621",
"0.5654"
],
[
"0.5146",
"0.56",
"0.8833",
"0.56",
"0.8833",
"0.5747",
"0.5146",
"0.5747"
],
[
"0.12006",
"0.5737",
"0.4878",
"0.5737",
"0.4878",
"0.5874",
"0.12006",
"0.5874"
],
[
"0.5146",
"0.576",
"0.882",
"0.5767",
"0.882",
"0.5913",
"0.5146",
"0.5903"
],
[
"0.12006",
"0.5884",
"0.4895",
"0.589",
"0.4895",
"0.604",
"0.12006",
"0.6025"
],
[
"0.5156",
"0.593",
"0.882",
"0.593",
"0.882",
"0.607",
"0.5156",
"0.607"
],
[
"0.12006",
"0.6055",
"0.4895",
"0.6055",
"0.4895",
"0.619",
"0.12006",
"0.619"
],
[
"0.5146",
"0.608",
"0.8833",
"0.6094",
"0.8833",
"0.6235",
"0.5146",
"0.6226"
],
[
"0.1184",
"0.6206",
"0.4878",
"0.6216",
"0.4878",
"0.6357",
"0.1184",
"0.6353"
],
[
"0.12006",
"0.637",
"0.4895",
"0.637",
"0.4895",
"0.652",
"0.12006",
"0.652"
],
[
"0.532",
"0.633",
"0.885",
"0.6353",
"0.885",
"0.6494",
"0.532",
"0.648"
],
[
"0.513",
"0.6465",
"0.8867",
"0.6465",
"0.8867",
"0.66",
"0.513",
"0.66"
],
[
"0.12006",
"0.654",
"0.4878",
"0.654",
"0.4878",
"0.6675",
"0.12006",
"0.6675"
],
[
"0.513",
"0.659",
"0.839",
"0.659",
"0.839",
"0.673",
"0.513",
"0.673"
],
[
"0.12006",
"0.6694",
"0.4895",
"0.6694",
"0.4895",
"0.683",
"0.12006",
"0.683"
],
[
"0.532",
"0.6685",
"0.885",
"0.6704",
"0.885",
"0.685",
"0.532",
"0.683"
],
[
"0.12006",
"0.685",
"0.4895",
"0.685",
"0.4895",
"0.6987",
"0.12006",
"0.6987"
],
[
"0.511",
"0.6816",
"0.8833",
"0.683",
"0.8833",
"0.697",
"0.511",
"0.6953"
],
[
"0.12006",
"0.7007",
"0.1838",
"0.7007",
"0.1838",
"0.7163",
"0.12006",
"0.7163"
],
[
"0.5156",
"0.697",
"0.882",
"0.697",
"0.882",
"0.707",
"0.5156",
"0.707"
],
[
"0.5146",
"0.707",
"0.882",
"0.707",
"0.882",
"0.7173",
"0.5146",
"0.7173"
],
[
"0.1511",
"0.7144",
"0.1897",
"0.7144",
"0.1897",
"0.7256",
"0.1511",
"0.7256"
],
[
"0.513",
"0.7188",
"0.8867",
"0.7188",
"0.8867",
"0.7324",
"0.513",
"0.7324"
],
[
"0.11755",
"0.7256",
"0.4878",
"0.7256",
"0.4878",
"0.7393",
"0.11755",
"0.7393"
],
[
"0.513",
"0.73",
"0.885",
"0.73",
"0.885",
"0.7437",
"0.513",
"0.7437"
],
[
"0.11755",
"0.742",
"0.486",
"0.742",
"0.486",
"0.756",
"0.11755",
"0.756"
],
[
"0.513",
"0.741",
"0.885",
"0.741",
"0.885",
"0.755",
"0.513",
"0.755"
],
[
"0.12177",
"0.759",
"0.4895",
"0.759",
"0.4895",
"0.7725",
"0.12177",
"0.7725"
],
[
"0.5146",
"0.755",
"0.7944",
"0.755",
"0.7944",
"0.7656",
"0.5146",
"0.7656"
],
[
"0.531",
"0.764",
"0.885",
"0.7666",
"0.885",
"0.78",
"0.531",
"0.778"
],
[
"0.12006",
"0.774",
"0.4895",
"0.7725",
"0.4895",
"0.7876",
"0.12006",
"0.788"
],
[
"0.5156",
"0.7793",
"0.882",
"0.7793",
"0.882",
"0.789",
"0.5156",
"0.789"
],
[
"0.12006",
"0.789",
"0.4878",
"0.789",
"0.4878",
"0.8027",
"0.12006",
"0.8027"
],
[
"0.5146",
"0.7915",
"0.882",
"0.7915",
"0.882",
"0.802",
"0.5146",
"0.802"
],
[
"0.513",
"0.8003",
"0.882",
"0.8003",
"0.882",
"0.814",
"0.513",
"0.814"
],
[
"0.12006",
"0.807",
"0.486",
"0.807",
"0.486",
"0.821",
"0.12006",
"0.821"
],
[
"0.511",
"0.811",
"0.885",
"0.8135",
"0.885",
"0.8267",
"0.511",
"0.8247"
],
[
"0.12006",
"0.8223",
"0.4902",
"0.8223",
"0.4902",
"0.836",
"0.12006",
"0.836"
],
[
"0.513",
"0.8247",
"0.885",
"0.8247",
"0.885",
"0.8384",
"0.513",
"0.8384"
],
[
"0.513",
"0.836",
"0.8833",
"0.8374",
"0.8833",
"0.8486",
"0.513",
"0.847"
],
[
"0.1351",
"0.8467",
"0.4895",
"0.8486",
"0.4895",
"0.8633",
"0.1351",
"0.861"
],
[
"0.513",
"0.8496",
"0.5977",
"0.8496",
"0.5977",
"0.86",
"0.513",
"0.86"
],
[
"0.12006",
"0.8623",
"0.4878",
"0.8623",
"0.4878",
"0.8726",
"0.12006",
"0.8726"
],
[
"0.534",
"0.8594",
"0.885",
"0.861",
"0.885",
"0.8745",
"0.534",
"0.8726"
],
[
"0.12006",
"0.8735",
"0.4895",
"0.8735",
"0.4895",
"0.8843",
"0.12006",
"0.8843"
],
[
"0.513",
"0.8726",
"0.885",
"0.8726",
"0.885",
"0.8857",
"0.513",
"0.8857"
],
[
"0.1184",
"0.8843",
"0.4902",
"0.8843",
"0.4902",
"0.898",
"0.1184",
"0.898"
],
[
"0.513",
"0.8843",
"0.8833",
"0.8843",
"0.8833",
"0.898",
"0.513",
"0.898"
],
[
"0.12006",
"0.898",
"0.3242",
"0.898",
"0.3242",
"0.9077",
"0.12006",
"0.9077"
],
[
"0.5146",
"0.898",
"0.846",
"0.898",
"0.846",
"0.9077",
"0.5146",
"0.9077"
]
] | [
"制回来一样)。然后,由5名众包评分者根据",
"长度比以及DSSM得分(Huangetal,2013)",
"上下文和信息对新的三元组的响应质量进行",
"RNN-based MT:根据(Sordoniet al.,2015)",
"评分,每个评分者采用5分的Likert型量表。",
"的RNN模型的对数概率。",
"3至关重要,再次与Sordoni等人形成对比。",
"Baseline:随机基线",
"(2015),我们没有对这些合成多参考集施加分",
"虽然△Bleu依赖于人类的定性判断,但重",
"数截止值。相反,我们保留了所有候选答案,",
"要的是要注意,人类对多参考(SE4.1)的判",
"并将其分数缩放为-1,+11",
"断和对系统输出的判断是完全独立收集的。我",
"Table 1presents representative multi-",
"们还注意到,上面列出的系统集特别不包括基",
"reference examples (from the dev set) together",
"于检索的模型,因为这可能在两个数据集(SE",
"with their converted scores. The context and",
"4.1和SE4.2)之间引人了虚假相关性。",
"messages associated with the supplementary",
"5",
"Setup",
"purposes to demonstrate the range of conver-",
"mined responses are also shown for illustrative",
"我们使用两个等级相关系数-Kendall 的T",
"sations from which they were taken. In the",
"和Spearman的p-来评估人类定性评级",
"table, negative-weighted mined responses are",
"(S4.2)与自动度量得分之间的相关性水平。",
"semantically orthogonal to the intent of their",
"更正式地说,我们计算一系列成对观测值",
"newly assigned context and message. Strongly",
"(m1q1),.,(mN,qN)上的每个相关系数。这",
"negatively weighted responses are completely",
"里,mi和 qi分别是两个给定系统 A和 B在",
"out of the ballpark (\"the weather in Russia is",
"测试集的给定子集上的自动度量得分和定性",
"very cool\", “well then! Why were the biscuits",
"评分的差异。4尽管许多先前的工作通过计算",
"needed?\"); others are a little more plausible,",
"由单句系统输出组成的观察结果的相关性来评",
"but irrelevant or possibly topic changing (“ohh",
"估MT和其他任务(LavieandAgarwal,2007;",
"I love that song\"). Higher-valued positive-",
"Hodoshetal.,2013)的自动指标,但已显示",
"weighted mined responses are typically reason-",
"(e。g。,Przybockietal.(2008))随着观测单",
"ably appropriate and relevant (even though ex-",
"位变大,相关系数显著增加。例如,语料库级",
"tracted from a completely unrelated conversa",
"别或系统级别的相关性往往比句子级别的相关",
"tion), and in some cases can outscore the orig-",
"性高得多;GrahamandBaldwin(2014)表明",
"inal response, as can be seen in the third set",
"在系统级别进行评估时,Bleu与最新和高级",
"ofexamples.",
"指标具有竞争力。5因此,除非另有说明,否",
"则我们将观察单元大小定义为M=100句子",
"4.2",
"",
"Human Evaluation of System Outputs",
"(响应),6。我们通过对M句子的人类评分进",
"本研究中使用的7个系统在2114三重测试集",
"行平均来评估9元,并通过计算同一组句子的",
"上生成的响应由5个众包评分者手工评估,每",
"度量分数来评估mi。7我们比较三种不同的",
"个评分者均采用5点Likert型量表。从这7",
"度量:Bleu、△Bleu和句子级Bleu(sBleu)。",
"个系统中,评估了12个系统对,总共约为成",
"对126K额定值(12·5.2114)。在这里,评估",
"4For each given observation pair (mi, qi) , we ran-",
"domize the order in which A and B are presented to",
"者也被要求根据他们对背景和信息的相关性来",
"the raters in order to avoid any positional bias.",
"评估回应。来自不同系统的输出被随机交织,",
"5We do not intend to minimize the benefit of a met-",
"以呈现给评分者。我们在以下系统上获得了人",
"ric that would be competitive at the sentence-level,",
"类评级:",
"which would be particularly useful for detailed error",
"analyses. However. our main goal is to reliably eval",
"2cm",
"uate generation systems on test sets of thousands of",
"Phrase-based MT:类似于(Ritter et al.,",
"sentences, in which case any metric with good corpus-",
"2011)的基于短语的MT系统,其权重已手",
"level correlation (such as Bleu, as shown in (Graham",
"动调整。我们还包括该系统的四个变体,我们",
"and Baldwin, 2014))would be sufficient.",
"6Enumerating all possible ways of assigning sen-",
"使用MERT(Och,2003)进行了调整。这些",
"tences to observations would cause a combinatorial",
"变体的功能数量不同,并通过以下短语级功能",
"explosion.Instead,for all our results we sample 1K",
"assignments and average correlations coeficients over",
"增强了(Ritteretal.,2011):编辑源和目标之",
"them (using the same ik assignments across all met-",
"间的距离,余弦相似性,Jaccard指数和距离,",
"rics). These assignments are done in such a way that",
"all sentences within an observation belong to the same",
"3For this work, we sought 2 additional annotations",
"system pair.",
"of the seed responses for consistency with the mined",
"7We refrained from using larger units, as creating",
"responses. As a result, scores for some seed responses",
"larger observation units M reduces the total number of",
"slipped below our initial threshold of 4. Nonetheless,",
"units N . This would have caused confidence intervals",
"these responses were retained.",
"to be so wide as to make this study inconclusive."
] | {
"arxiv_id": "1506.06863",
"language": "zh",
"page_idx": 3
} |
||
1506.06863-zh-4 | 1506.06863-zh-4.jpg | <table>
<tbody>
<tr>
<th>Metric</th>
<th>refs. </th>
<th>Spearman</th>
<th>Kendall</th>
<th>S $T$ </th>
</tr>
<tr>
<td>Bleu</td>
<td>$\operatorname{single}$</td>
<td>(.178, .260</td>
<td>.171 (.087.</td>
<td>.252</td>
</tr>
<tr>
<td>Bleu</td>
<td>0.6 $w$</td>
<td>.343 (.265</td>
<td>.232 (.150</td>
<td>.312</td>
</tr>
<tr>
<td>Bleu</td>
<td>all</td>
<td>.318 .239</td>
<td>.212 .129</td>
<td>.292</td>
</tr>
<tr>
<td>sBleu</td>
<td>$\operatorname{single}$</td>
<td>.265 (.183</td>
<td>.175 (.091</td>
<td>.256</td>
</tr>
<tr>
<td>sBleu</td>
<td>0.6 $w$</td>
<td>.330 .252</td>
<td>.222 .140</td>
<td>.302 1</td>
</tr>
<tr>
<td>sBleu</td>
<td>all</td>
<td>.258 (.177,</td>
<td>.167 (.083.</td>
<td>.249</td>
</tr>
<tr>
<td>$\Delta$Bleu</td>
<td>$\operatorname{single}$</td>
<td>.280 (.199,.</td>
<td>(.103 .187</td>
<td>.268</td>
</tr>
<tr>
<td>$\Delta$Bleu</td>
<td>0.6 $w$</td>
<td>.405 (.331.</td>
<td>.281 .200</td>
<td>.357</td>
</tr>
<tr>
<td>$\Delta$Bleu</td>
<td>all</td>
<td>.484 .415.</td>
<td>.342 .265</td>
<td>.415</td>
</tr>
</tbody>
</table>
Table 2: Human correlations for IBM Bleu, sentencelevel Bleu, and $\Delta$Bleu with $95\%$ confidence intervals. This compares 3 types of references: single only, high scoring references $(\begin{array}{c}w\geq0.6\end{array})$,and all references.
最后一个计算句子级别的 Bleu 得分 (Nakov et al., 2012),并在$M$句子上对其进行平均(类似于宏观平均)。最后,除非另有说明,否则 Bleu 的所有版本都使用$n$ -gram 顺序为 2 (Bleu-2),因为这可以为该数据上的所有度量实现更好的相关性
## 6 Results
我们研究的主要结果如表$\underline{\mathrm{E}}$2 所示。在比较每个度量的最佳配置时,$\Delta$Bleu 比 Bleu 实现了与人类更好的相关性。$^{8}$在 Spearman 的$\rho$的情况下,Bleu (.265,.416)和$\Delta$Bleu (.415,.546) 的置信区间几乎不重叠,而在 Kendall 的$\tau$ 的情况下,区间重叠更为明显。当我们从$w\geq0.6$ 到使用所有引用时,Bleu 的相关系数会降低。这是预期的,因为 Bleu 将所有引用视为平等, 并且无法区分它们。另一方面,在添加较低的评分参考后,$\Delta$Bleu 的相关系数增加。同样值得注意的是,Bleu 和 Bleu 获得了大致可比的相关系数。这可能会令人惊讶,因为在其他地方已经提出,Bleu 的相关性比在语料库级别计算的 Bleu 差得多 (Przybocki et al., 2008) 。我们推测(至少对于此任务和数据)在先前工作中观察到的 Bleu 和 Bleu 之间的相关性差异可能不是微观和宏观平均之间差异的结果,而是它们是不同观测单位大小的影响(如(.415,.546) 5 中所述)
最后,图 2显示了 Spearman 的$\rho$在研究的三个维度上是如何受到影响的。特别是,我们看到$\Delta$Bleu 实际上受益于具有负评级的引用。虽然改进并不明显,但我们注意到大多数参考文献都有积极的评价。例如,如果还注释了随机提取的响应,则负加权引用可能会产生更大的影响
8
$^{8}$This is also the case on single reference. While $\Delta$Bleu and Bleu would have the same correlation if original references all had the same score of 1, it is not unusual for original references to get ratings below 1.
<FigureHere>
Figure 2: A comparison of Bleu, sentence-level Bleu, and $\Delta$Bleu along $\hat{three dimensions: }$( A) decreasing the $\begin{array}{l}\text{threshold on reference scores }w_{i,j}\:;\:(\mathrm{B})&\text{increasing the}\\\text{unit size for the correlation study from a single sentence}\end{array}$ $(\begin{array}{c}{M=1)\text{ to a size of 100; (C) going from Bleu-1 to Bleu-}}\\\end{array}$ 4 for the different versions of Bleu
### 7 Conclusions
$\Delta$Bleu 与生成的会话响应的人类质量判断密切相关,在此任务中优于 IBM Bleu 和句子级Bleu , 并证明它可以作为系统开发的合理内在度量。$^{9}$为参考集的人工评估支付了前期费用, 但是在此之后,在系统开发过程中可以最大程度地减少对进一步人工评估的需求。$\Delta$Bleu 可能有助于其他使用多个引用进行内在评估的任务,包括图像到文本,句子压缩和释义生成, 甚至统计机器翻译。在这些任务中评估$\Delta$Bleu 等待未来的工作
Acknowledgments
我们感谢匿名审稿人
$^{9}$An implementation of $\Delta$Bleu, multi-reference dev and test sets, and human rated outputs are available at:
http://research.microsoft.com/convo | [
[
"0.2603",
"0.076",
"0.357",
"0.0778",
"0.357",
"0.09265",
"0.2603",
"0.0903"
],
[
"0.546",
"0.0707",
"0.5693",
"0.0748",
"0.565",
"0.0873",
"0.5415",
"0.0831"
],
[
"0.1184",
"0.0778",
"0.1663",
"0.0778",
"0.1663",
"0.08905",
"0.1184",
"0.08905"
],
[
"0.1814",
"0.0778",
"0.2141",
"0.0778",
"0.2141",
"0.08905",
"0.1814",
"0.08905"
],
[
"0.398",
"0.0778",
"0.4768",
"0.0778",
"0.4768",
"0.08905",
"0.398",
"0.08905"
],
[
"0.1184",
"0.0944",
"0.1528",
"0.0968",
"0.1511",
"0.1081",
"0.11755",
"0.1057"
],
[
"0.544",
"0.0903",
"0.5684",
"0.0903",
"0.5684",
"0.10394",
"0.544",
"0.10394"
],
[
"0.1823",
"0.0968",
"0.2258",
"0.0968",
"0.2258",
"0.1081",
"0.1823",
"0.1081"
],
[
"0.2585",
"0.0968",
"0.3652",
"0.0968",
"0.3652",
"0.1081",
"0.2585",
"0.1081"
],
[
"0.3862",
"0.0968",
"0.4954",
"0.0968",
"0.4954",
"0.1081",
"0.3862",
"0.1081"
],
[
"0.11755",
"0.1069",
"0.1545",
"0.1069",
"0.1545",
"0.1194",
"0.11755",
"0.1194"
],
[
"0.1823",
"0.1081",
"0.241",
"0.1081",
"0.241",
"0.1194",
"0.1823",
"0.1194"
],
[
"0.2568",
"0.1081",
"0.3652",
"0.1081",
"0.3652",
"0.1194",
"0.2568",
"0.1194"
],
[
"0.3862",
"0.1081",
"0.4954",
"0.1081",
"0.4954",
"0.1194",
"0.3862",
"0.1194"
],
[
"0.5146",
"0.111",
"0.523",
"0.1051",
"0.531",
"0.10986",
"0.5225",
"0.1164"
],
[
"0.544",
"0.10925",
"0.567",
"0.10925",
"0.567",
"0.1223",
"0.544",
"0.1223"
],
[
"0.2551",
"0.11816",
"0.367",
"0.11816",
"0.367",
"0.133",
"0.2551",
"0.133"
],
[
"0.517",
"0.1164",
"0.529",
"0.1164",
"0.529",
"0.1271",
"0.517",
"0.1271"
],
[
"0.1814",
"0.1194",
"0.2083",
"0.1194",
"0.2083",
"0.1318",
"0.1814",
"0.1318"
],
[
"0.1184",
"0.1194",
"0.1528",
"0.1194",
"0.1528",
"0.1318",
"0.1184",
"0.1318"
],
[
"0.388",
"0.1194",
"0.461",
"0.1194",
"0.461",
"0.1312",
"0.388",
"0.1312"
],
[
"0.4534",
"0.1194",
"0.4954",
"0.1194",
"0.4954",
"0.1312",
"0.4534",
"0.1312"
],
[
"0.5205",
"0.1271",
"0.5264",
"0.1271",
"0.5264",
"0.133",
"0.5205",
"0.133"
],
[
"0.546",
"0.1247",
"0.5693",
"0.1289",
"0.565",
"0.1414",
"0.5415",
"0.1372"
],
[
"0.1184",
"0.1372",
"0.1604",
"0.1372",
"0.1604",
"0.1484",
"0.1184",
"0.1484"
],
[
"0.1823",
"0.1383",
"0.2258",
"0.1383",
"0.2258",
"0.1497",
"0.1823",
"0.1497"
],
[
"0.2544",
"0.1354",
"0.3652",
"0.1372",
"0.3652",
"0.152",
"0.2544",
"0.1497"
],
[
"0.3862",
"0.1383",
"0.4954",
"0.1383",
"0.4954",
"0.1497",
"0.3862",
"0.1497"
],
[
"0.5205",
"0.1414",
"0.5264",
"0.1414",
"0.5264",
"0.1497",
"0.5205",
"0.1497"
],
[
"0.11755",
"0.1497",
"0.1604",
"0.1497",
"0.1604",
"0.1609",
"0.11755",
"0.1609"
],
[
"0.1823",
"0.1497",
"0.241",
"0.1497",
"0.241",
"0.1609",
"0.1823",
"0.1609"
],
[
"0.2568",
"0.1497",
"0.3652",
"0.1497",
"0.3652",
"0.1609",
"0.2568",
"0.1609"
],
[
"0.3855",
"0.1497",
"0.4954",
"0.1497",
"0.4954",
"0.1609",
"0.3855",
"0.1609"
],
[
"0.546",
"0.1467",
"0.5684",
"0.1467",
"0.5684",
"0.1592",
"0.546",
"0.1592"
],
[
"0.11584",
"0.1603",
"0.1621",
"0.1603",
"0.1621",
"0.1746",
"0.11584",
"0.1746"
],
[
"0.2551",
"0.1592",
"0.3645",
"0.1592",
"0.3645",
"0.1733",
"0.2551",
"0.1733"
],
[
"0.5156",
"0.1603",
"0.525",
"0.1561",
"0.529",
"0.1603",
"0.5205",
"0.1644"
],
[
"0.721",
"0.1603",
"0.8296",
"0.1603",
"0.8296",
"0.1716",
"0.721",
"0.1716"
],
[
"0.388",
"0.1621",
"0.461",
"0.1621",
"0.461",
"0.1729",
"0.388",
"0.1729"
],
[
"0.1823",
"0.1609",
"0.2083",
"0.1609",
"0.2083",
"0.1733",
"0.1823",
"0.1733"
],
[
"0.4575",
"0.1621",
"0.4954",
"0.1621",
"0.4954",
"0.1733",
"0.4575",
"0.1733"
],
[
"0.544",
"0.1644",
"0.5684",
"0.1644",
"0.5684",
"0.1776",
"0.544",
"0.1776"
],
[
"0.771",
"0.1687",
"0.8296",
"0.1687",
"0.8296",
"0.1787",
"0.771",
"0.1787"
],
[
"0.3838",
"0.177",
"0.4963",
"0.1776",
"0.4963",
"0.1924",
"0.3838",
"0.1912"
],
[
"0.7153",
"0.1776",
"0.8296",
"0.1776",
"0.8296",
"0.1882",
"0.7153",
"0.1882"
],
[
"0.2603",
"0.1787",
"0.361",
"0.1787",
"0.361",
"0.1907",
"0.2603",
"0.1907"
],
[
"0.12006",
"0.1787",
"0.168",
"0.1787",
"0.168",
"0.1907",
"0.12006",
"0.1907"
],
[
"0.1823",
"0.1799",
"0.2241",
"0.1799",
"0.2241",
"0.1912",
"0.1823",
"0.1912"
],
[
"0.12006",
"0.1895",
"0.168",
"0.1912",
"0.1663",
"0.2037",
"0.1184",
"0.2019"
],
[
"0.5557",
"0.1853",
"0.5693",
"0.1853",
"0.5693",
"0.1936",
"0.5557",
"0.1936"
],
[
"0.1823",
"0.1912",
"0.2393",
"0.1912",
"0.2393",
"0.2031",
"0.1823",
"0.2031"
],
[
"0.2603",
"0.1912",
"0.3628",
"0.1912",
"0.3628",
"0.2031",
"0.2603",
"0.2031"
],
[
"0.3862",
"0.1912",
"0.4954",
"0.1912",
"0.4954",
"0.2031",
"0.3862",
"0.2031"
],
[
"0.744",
"0.1912",
"0.771",
"0.1912",
"0.771",
"0.2031",
"0.744",
"0.2031"
],
[
"0.8003",
"0.1912",
"0.825",
"0.1912",
"0.825",
"0.2031",
"0.8003",
"0.2031"
],
[
"0.869",
"0.1912",
"0.876",
"0.1965",
"0.869",
"0.2019",
"0.8613",
"0.1965"
],
[
"0.6885",
"0.1924",
"0.711",
"0.1924",
"0.711",
"0.2031",
"0.6885",
"0.2031"
],
[
"0.634",
"0.1924",
"0.6533",
"0.1924",
"0.6533",
"0.2019",
"0.634",
"0.2019"
],
[
"0.12006",
"0.2031",
"0.168",
"0.2031",
"0.168",
"0.2144",
"0.12006",
"0.2144"
],
[
"0.1814",
"0.2031",
"0.2065",
"0.2031",
"0.2065",
"0.2144",
"0.1814",
"0.2144"
],
[
"0.2603",
"0.2031",
"0.3628",
"0.2031",
"0.3628",
"0.2144",
"0.2603",
"0.2144"
],
[
"0.3862",
"0.1996",
"0.4963",
"0.2019",
"0.4963",
"0.2162",
"0.3862",
"0.2144"
],
[
"0.636",
"0.2048",
"0.818",
"0.206",
"0.818",
"0.2173",
"0.636",
"0.2162"
],
[
"0.546",
"0.2162",
"0.5684",
"0.2162",
"0.5684",
"0.2286",
"0.546",
"0.2286"
],
[
"0.1184",
"0.231",
"0.4878",
"0.231",
"0.4878",
"0.2411",
"0.1184",
"0.2411"
],
[
"0.544",
"0.234",
"0.574",
"0.234",
"0.574",
"0.2465",
"0.544",
"0.2465"
],
[
"0.11755",
"0.2405",
"0.486",
"0.2405",
"0.486",
"0.2542",
"0.11755",
"0.2542"
],
[
"0.519",
"0.2465",
"0.529",
"0.2488",
"0.525",
"0.26",
"0.5146",
"0.2583"
],
[
"0.11755",
"0.253",
"0.4895",
"0.253",
"0.4895",
"0.2666",
"0.11755",
"0.2666"
],
[
"0.544",
"0.253",
"0.5684",
"0.253",
"0.5684",
"0.2654",
"0.544",
"0.2654"
],
[
"0.11755",
"0.2642",
"0.451",
"0.2642",
"0.451",
"0.2778",
"0.11755",
"0.2778"
],
[
"0.517",
"0.2612",
"0.529",
"0.2612",
"0.529",
"0.2832",
"0.517",
"0.2832"
],
[
"0.544",
"0.2715",
"0.5684",
"0.2715",
"0.5684",
"0.284",
"0.544",
"0.284"
],
[
"0.517",
"0.2808",
"0.529",
"0.2808",
"0.529",
"0.2998",
"0.517",
"0.2998"
],
[
"0.544",
"0.2893",
"0.5684",
"0.2893",
"0.5684",
"0.3027",
"0.544",
"0.3027"
],
[
"0.12006",
"0.3018",
"0.486",
"0.3018",
"0.486",
"0.3154",
"0.12006",
"0.3154"
],
[
"0.5156",
"0.2976",
"0.529",
"0.2976",
"0.529",
"0.308",
"0.5156",
"0.308"
],
[
"0.721",
"0.304",
"0.8296",
"0.304",
"0.8296",
"0.3142",
"0.721",
"0.3142"
],
[
"0.5474",
"0.31",
"0.567",
"0.31",
"0.567",
"0.3196",
"0.5474",
"0.3196"
],
[
"0.771",
"0.3123",
"0.8296",
"0.3123",
"0.8296",
"0.3225",
"0.771",
"0.3225"
],
[
"0.11755",
"0.3184",
"0.4878",
"0.3176",
"0.4878",
"0.332",
"0.11755",
"0.3333"
],
[
"0.7173",
"0.3218",
"0.831",
"0.3218",
"0.831",
"0.3342",
"0.7173",
"0.3342"
],
[
"0.5576",
"0.328",
"0.567",
"0.328",
"0.567",
"0.3374",
"0.5576",
"0.3374"
],
[
"0.1184",
"0.335",
"0.4878",
"0.335",
"0.4878",
"0.3486",
"0.1184",
"0.3486"
],
[
"0.5996",
"0.3362",
"0.6465",
"0.3362",
"0.6465",
"0.3474",
"0.5996",
"0.3474"
],
[
"0.714",
"0.335",
"0.735",
"0.335",
"0.735",
"0.3474",
"0.714",
"0.3474"
],
[
"0.86",
"0.3374",
"0.879",
"0.3374",
"0.879",
"0.3467",
"0.86",
"0.3467"
],
[
"0.12006",
"0.3499",
"0.4895",
"0.3508",
"0.4895",
"0.3652",
"0.12006",
"0.364"
],
[
"0.58",
"0.3499",
"0.876",
"0.3499",
"0.876",
"0.3599",
"0.58",
"0.3599"
],
[
"0.544",
"0.361",
"0.5693",
"0.361",
"0.5693",
"0.3748",
"0.544",
"0.3748"
],
[
"0.1184",
"0.3677",
"0.486",
"0.3677",
"0.486",
"0.3813",
"0.1184",
"0.3813"
],
[
"0.12006",
"0.3843",
"0.2678",
"0.3843",
"0.2678",
"0.398",
"0.12006",
"0.398"
],
[
"0.546",
"0.379",
"0.5693",
"0.379",
"0.5693",
"0.3914",
"0.546",
"0.3914"
],
[
"0.517",
"0.3914",
"0.531",
"0.3914",
"0.531",
"0.4038",
"0.517",
"0.4038"
],
[
"0.5156",
"0.402",
"0.532",
"0.402",
"0.532",
"0.4395",
"0.5156",
"0.4395"
],
[
"0.544",
"0.3967",
"0.5693",
"0.3967",
"0.5693",
"0.4104",
"0.544",
"0.4104"
],
[
"0.1545",
"0.411",
"0.2225",
"0.411",
"0.2225",
"0.4258",
"0.1545",
"0.4258"
],
[
"0.1125",
"0.4187",
"0.126",
"0.4092",
"0.1377",
"0.4175",
"0.12427",
"0.427"
],
[
"0.544",
"0.415",
"0.5684",
"0.415",
"0.5684",
"0.4275",
"0.544",
"0.4275"
],
[
"0.12006",
"0.437",
"0.4878",
"0.437",
"0.4878",
"0.4507",
"0.12006",
"0.4507"
],
[
"0.5225",
"0.4395",
"0.532",
"0.4436",
"0.5264",
"0.4531",
"0.5146",
"0.449"
],
[
"0.546",
"0.434",
"0.567",
"0.434",
"0.567",
"0.4465",
"0.546",
"0.4465"
],
[
"0.544",
"0.452",
"0.5684",
"0.452",
"0.5684",
"0.4656",
"0.544",
"0.4656"
],
[
"0.721",
"0.4478",
"0.8296",
"0.4478",
"0.8296",
"0.459",
"0.721",
"0.459"
],
[
"0.7715",
"0.4578",
"0.8296",
"0.4578",
"0.8296",
"0.4656",
"0.7715",
"0.4656"
],
[
"0.7153",
"0.466",
"0.831",
"0.466",
"0.831",
"0.4768",
"0.7153",
"0.4768"
],
[
"0.12006",
"0.4531",
"0.4836",
"0.4531",
"0.4836",
"0.466",
"0.12006",
"0.466"
],
[
"0.12177",
"0.4685",
"0.4878",
"0.4685",
"0.4878",
"0.4827",
"0.12177",
"0.4827"
],
[
"0.5576",
"0.4739",
"0.565",
"0.4739",
"0.565",
"0.481",
"0.5576",
"0.481"
],
[
"0.678",
"0.481",
"0.69",
"0.481",
"0.69",
"0.4905",
"0.678",
"0.4905"
],
[
"0.769",
"0.481",
"0.781",
"0.481",
"0.781",
"0.4912",
"0.769",
"0.4912"
],
[
"0.8623",
"0.484",
"0.8696",
"0.4822",
"0.8716",
"0.4868",
"0.864",
"0.4893"
],
[
"0.588",
"0.4822",
"0.5938",
"0.4822",
"0.5938",
"0.4893",
"0.588",
"0.4893"
],
[
"0.12006",
"0.485",
"0.4878",
"0.485",
"0.4878",
"0.4988",
"0.12006",
"0.4988"
],
[
"0.681",
"0.4934",
"0.7734",
"0.4934",
"0.7734",
"0.505",
"0.681",
"0.505"
],
[
"0.12006",
"0.502",
"0.4878",
"0.502",
"0.4878",
"0.5156",
"0.12006",
"0.5156"
],
[
"0.12177",
"0.517",
"0.4895",
"0.517",
"0.4895",
"0.531",
"0.12177",
"0.531"
],
[
"0.513",
"0.5186",
"0.882",
"0.5186",
"0.882",
"0.532",
"0.513",
"0.532"
],
[
"0.12177",
"0.533",
"0.4844",
"0.533",
"0.4844",
"0.5464",
"0.12177",
"0.5464"
],
[
"0.513",
"0.53",
"0.885",
"0.53",
"0.885",
"0.5435",
"0.513",
"0.5435"
],
[
"0.513",
"0.542",
"0.8867",
"0.542",
"0.8867",
"0.5557",
"0.513",
"0.5557"
],
[
"0.12006",
"0.549",
"0.4844",
"0.549",
"0.4844",
"0.5625",
"0.12006",
"0.5625"
],
[
"0.5146",
"0.5557",
"0.8833",
"0.5557",
"0.8833",
"0.5664",
"0.5146",
"0.5664"
],
[
"0.1184",
"0.5635",
"0.4878",
"0.564",
"0.4878",
"0.579",
"0.1184",
"0.5776"
],
[
"0.51",
"0.564",
"0.8833",
"0.5654",
"0.8833",
"0.579",
"0.51",
"0.5776"
],
[
"0.1184",
"0.58",
"0.486",
"0.58",
"0.486",
"0.5933",
"0.1184",
"0.5933"
],
[
"0.513",
"0.5767",
"0.7515",
"0.5776",
"0.7515",
"0.589",
"0.513",
"0.5884"
],
[
"0.12006",
"0.5957",
"0.4878",
"0.5957",
"0.4878",
"0.61",
"0.12006",
"0.61"
],
[
"0.12006",
"0.6133",
"0.4895",
"0.6133",
"0.4895",
"0.627",
"0.12006",
"0.627"
],
[
"0.553",
"0.6143",
"0.6543",
"0.6143",
"0.6543",
"0.626",
"0.553",
"0.626"
],
[
"0.12006",
"0.6274",
"0.4878",
"0.627",
"0.4878",
"0.641",
"0.12006",
"0.6426"
],
[
"0.513",
"0.637",
"0.8833",
"0.6396",
"0.8833",
"0.654",
"0.513",
"0.652"
],
[
"0.12006",
"0.6445",
"0.4836",
"0.6445",
"0.4836",
"0.655",
"0.12006",
"0.655"
],
[
"0.5156",
"0.654",
"0.882",
"0.654",
"0.882",
"0.6685",
"0.5156",
"0.6685"
],
[
"0.12427",
"0.6646",
"0.1377",
"0.6646",
"0.1377",
"0.673",
"0.12427",
"0.673"
],
[
"0.1351",
"0.66",
"0.4878",
"0.66",
"0.4878",
"0.6733",
"0.1351",
"0.6733"
],
[
"0.12006",
"0.676",
"0.4878",
"0.675",
"0.4878",
"0.6895",
"0.12006",
"0.6904"
],
[
"0.5146",
"0.6704",
"0.8833",
"0.6704",
"0.8833",
"0.684",
"0.5146",
"0.684"
],
[
"0.5156",
"0.685",
"0.882",
"0.685",
"0.882",
"0.6997",
"0.5156",
"0.6997"
],
[
"0.12006",
"0.6914",
"0.4878",
"0.6914",
"0.4878",
"0.705",
"0.12006",
"0.705"
],
[
"0.5146",
"0.7007",
"0.882",
"0.7017",
"0.882",
"0.7163",
"0.5146",
"0.7153"
],
[
"0.12006",
"0.709",
"0.4895",
"0.709",
"0.4895",
"0.7227",
"0.12006",
"0.7227"
],
[
"0.5156",
"0.7163",
"0.882",
"0.7188",
"0.882",
"0.733",
"0.5156",
"0.731"
],
[
"0.11584",
"0.7227",
"0.2896",
"0.7227",
"0.2896",
"0.7363",
"0.11584",
"0.7363"
],
[
"0.1351",
"0.7393",
"0.4895",
"0.7407",
"0.4895",
"0.755",
"0.1351",
"0.7544"
],
[
"0.517",
"0.734",
"0.882",
"0.734",
"0.882",
"0.749",
"0.517",
"0.749"
],
[
"0.5156",
"0.7505",
"0.881",
"0.7505",
"0.881",
"0.764",
"0.5156",
"0.764"
],
[
"0.12006",
"0.7573",
"0.4895",
"0.7573",
"0.4895",
"0.771",
"0.12006",
"0.771"
],
[
"0.513",
"0.7656",
"0.885",
"0.764",
"0.885",
"0.7793",
"0.513",
"0.78"
],
[
"0.12006",
"0.7715",
"0.486",
"0.7715",
"0.486",
"0.786",
"0.12006",
"0.786"
],
[
"0.1184",
"0.7876",
"0.486",
"0.7876",
"0.486",
"0.8003",
"0.1184",
"0.8003"
],
[
"0.5146",
"0.782",
"0.6455",
"0.782",
"0.6455",
"0.796",
"0.5146",
"0.796"
],
[
"0.12006",
"0.804",
"0.4895",
"0.804",
"0.4895",
"0.818",
"0.12006",
"0.818"
],
[
"0.513",
"0.8125",
"0.5264",
"0.8125",
"0.5264",
"0.822",
"0.513",
"0.822"
],
[
"0.12177",
"0.8193",
"0.4878",
"0.8184",
"0.4878",
"0.833",
"0.12177",
"0.8345"
],
[
"0.5146",
"0.836",
"0.663",
"0.836",
"0.663",
"0.8496",
"0.5146",
"0.8496"
],
[
"0.681",
"0.836",
"0.882",
"0.836",
"0.882",
"0.8496",
"0.681",
"0.8496"
],
[
"0.1351",
"0.858",
"0.4895",
"0.8594",
"0.4895",
"0.8735",
"0.1351",
"0.8726"
],
[
"0.12177",
"0.8374",
"0.2124",
"0.8374",
"0.2124",
"0.8486",
"0.12177",
"0.8486"
],
[
"0.531",
"0.858",
"0.885",
"0.86",
"0.885",
"0.8745",
"0.531",
"0.8726"
],
[
"0.1184",
"0.8716",
"0.492",
"0.8716",
"0.492",
"0.8853",
"0.1184",
"0.8853"
],
[
"0.51",
"0.8716",
"0.885",
"0.8716",
"0.885",
"0.8853",
"0.51",
"0.8853"
],
[
"0.1184",
"0.8843",
"0.4895",
"0.8843",
"0.4895",
"0.898",
"0.1184",
"0.898"
],
[
"0.5146",
"0.8857",
"0.534",
"0.8857",
"0.534",
"0.8955",
"0.5146",
"0.8955"
],
[
"0.1184",
"0.8965",
"0.482",
"0.8965",
"0.482",
"0.91",
"0.1184",
"0.91"
],
[
"0.511",
"0.8955",
"0.769",
"0.8945",
"0.769",
"0.909",
"0.511",
"0.91"
]
] | [
"Spearman's p",
"0.6",
"Metric",
"refs.",
"Kendall's T",
"Bleu",
"0.5",
"single",
"260(.178,.337)",
".171 (.087,.252)",
"Bleu",
"w ≥ 0.6",
".343 (.265,.416)",
".232 (.150, .312)",
"nC",
"0.4",
".318 (.239, .392)",
"S",
"all",
"Bleu",
"212 (.129,",
",,.292)",
"",
"0.3",
"sBleu",
"single",
".265 (.183,.342)",
".175 (.091,.256)",
"Je",
"sBleu",
"w≥ 0.6",
".330 (.252,.404)",
".222 (.140,.302)",
"0.2",
"sBleu",
".258 (.177, .336)",
"",
"discriminative BLEU",
"167 (.083,",
"all",
".249)",
"0.1",
"IBMBLEU",
".187 (.103,.268)",
"sentence-levelBLEU",
".280 (.199..357)",
"△Bleu",
"single",
"△Bleu",
"0",
"w≥ 0.6",
".405 (.331,.474)",
".281 (.200,.357)",
"-0.2",
"-0.6",
"1",
"0.2",
"0.6",
"△Bleu",
"all",
".484 (.415..546)",
".342(.265,.415)",
"(A) threshold on reference scores",
"0.6",
"Table 2:Human correlations for IBM Bleu,sentence",
"0.5",
"level Bleu, and △Bleu with 95 % confidence intervals.",
"ou",
"This compares 3 types of references: single only, high",
"0.4",
"scoring references ( w ≥ 0.6 ), and all references.",
"suen",
"0.3",
"e",
"0.2",
"最后一个计算句子级别的Bleu得分(Nakov",
"8",
"discriminativeBLEU",
"0.1",
"IBMBLEU",
"etal.,2012),并在M句子上对其进行平均",
"sentence-level BLEU",
"0",
"(类似于宏观平均)。最后,除非另有说明,否",
"1020",
"50",
"100",
"则Bleu的所有版本都使用n-gram顺序为2",
"(B)correlationswithdifferentobservationunit sizes (M)",
"0.6",
"(Bleu-2),因为这可以为该数据上的所有度量",
"实现更好的相关性",
"0.5",
"0",
"se",
"0.4",
"Results",
"O",
"0.3",
"我们研究的主要结果如表E2所示。在比较每",
"0",
"0.2",
"0.1",
"discriminative BLEU",
"IBMBLEU",
"sentence-levelBLEU",
"个度量的最佳配置时,△Bleu比Bleu实现了",
"与人类更好的相关性。8在 Spearman 的p的",
"0",
"2",
"3",
"4",
"1",
"情况下,Bleu(.265,.416)和△Bleu(.415,.546)",
"(C) n-gram order",
"的置信区间几乎不重叠,而在Kendall 的T的",
"情况下,区间重叠更为明显。当我们从W≥0.6",
"Figure 2: A comparison of Bleu, sentence-level Bleu",
"到使用所有引用时,Bleu的相关系数会降低,",
"and Bleu along three dimensions: (A) decreasing the",
"threshold on reference scores wi,j ; (B) increasing the",
"这是预期的,因为Bleu将所有引用视为平等",
"unit size for the correlation study from a single sentence",
"并且无法区分它们。另一方面,在添加较低的",
"(M =1) to a size of 100; (C) going from Bleu-1 to Bleu-",
"评分参考后,△Bleu的相关系数增加。同样值",
"4for thedifferent versions of Bleu.",
"得注意的是,Bleu和Bleu获得了大致可比的",
"相关系数。这可能会令人惊诉,因为在其他地",
"Conclusions",
"方已经提出,Bleu的相关性比在语料库级别",
"△Bleu与生成的会话响应的人类质量判断密",
"计算的Bleu差得多(Przvbockietal2008)",
"切相关,在此任务中优于IBMBleu和句子级",
"",
"我们推测(至少对于此任务和数据)在先前",
"工作中观察到的Bleu和Bleu之间的相关性",
"Bleu,并证明它可以作为系统开发的合理内在",
"度量。9为参考集的人工评估支付了前期费用,",
"差异可能不是微观和宏观平均之间差异的结",
"但是在此之后,在系统开发过程中可以最大程",
"果,而是它们是不同观测单位大小的影响(如",
"度地减少对进一步人工评估的需求。△Bleu可",
"(.415,.546)5中所述)",
"最后,图2显示了Spearman的p在研究",
"能有助于其他使用多个引用进行内在评估的任",
"务,包括图像到文本,句子压缩和释义生成",
"的三个维度上是如何受到影响的。特别是,我",
"甚至统计机器翻译。在这些任务中评估△Bleu",
"们看到△Bleu实际上受益于具有负评级的引",
"用。虽然改进并不明显,但我们注意到大多数",
"等待未来的工作",
"参考文献都有积极的评价。例如,如果还注释",
"8",
"了随机提取的响应,则负加权引用可能会产生",
"Acknowledgments",
"我们感谢匿名审稿人",
"8This is also the case on single reference. While",
"更大的影响",
"An implementation of Bleu, multi-reference dev",
"ABleu and Bleu would have the same correlation if",
" and test sets, and human rated outputs are available",
"original references all had the same score of 1, it is not",
"at:",
"unusual for original references to get ratings below 1.",
"http://research.microsoft.com/convo"
] | {
"arxiv_id": "1506.06863",
"language": "zh",
"page_idx": 4
} |
||
2006.11077-zh-0 | 2006.11077-zh-0.jpg | Published as a conference paper at ICLR 2021
一个更好的替代错误反馈的通信高效分布式学习
Samuel Horváth and Peter Richtárik
## KAUST
Thuwal, Saudi Arabia
$\{ samuel.horvath, peter.richtarik \} @kaust.edu.sa$
# ABSTRACT
Modern large-scale machine learning applications require stochastic optimization algorithms to be implemented on distributed compute systems. A key bottleneck of such systems is the communication overhead for exchanging information (e.g., stochastic gradients) across the workers. Among the many techniques proposed to remedy this issue, one of the most successful is the framework of compressed communication with error feedback (EF). EF remains the only known technique that can deal with the error induced by contractive compressors which are not unbiased, such as Top- $K$ or PowerSGD. In this paper, we propose a new and theoretically and practically better alternative to EF for dealing with contractive compressors. In particular, we propose a construction which can transform any contractive compressor into an induced unbiased compressor. Following this transformation, existing methods able to work with unbiased compressors can be applied. We show that our approach leads to vast improvements over EF, including reduced memory requirements, better communication complexity guarantees and fewer assumptions. $\hat{\text{We further extend our results to federated learning with partial}}$ participation following an arbitrary distribution over the nodes, and demonstrate the benefits thereof. We perform several numerical experiments which validate our theoretical findings.
1 INTRODUCTION
我们考虑形式为
$$\min\limits_{x\in\mathbb{R}^d}f(x):=\frac{1}{n}\sum\limits_{i=1}^nf_i(x)\:,$$
(1)
的分布式优化问题
其中$x\in\mathbb{R}^d$表示我们希望训练的统计模型的权重,$n$是节点数,$f_i:\mathbb{R}^d\to\mathbb{R}$是由存储在 worker $i$上的数据组成的平滑可微分损失函数。在经典的分布式机器学习场景中$f_{i}(\overline{x}):=\mathbb{E}_{\zeta\sim\mathcal{D}_{i}}\left[f_{\zeta}(x)\right]$是模型$x$相对于形式的本地数据分布$\mathcal{D}_i$的预期损失,$f_\zeta:\mathbb{R}^d\to\mathbb{R}$是单个数据点$\zeta$上的损失。此定义允许在每个节点上使用不同的分布 $\mathcal{D}_1,\ldots,\mathcal{D}_n$, 这意味着函数$f_1,\ldots,f_n$可以具有不同的最小化器。该框架涵盖了当$n=1$或所有$\mathcal{D}_i$相同时的随机优化,经验风险最小化 (ERM),当$f_i(x)$可以表示为有限平均值时,i。e, $f_i(x)=\frac1{m_i}\sum_{i=1}^{m_i}f_{ij}(x)$ 表示某些$f_ij:\mathbb{R}^d\to\mathbb{R}$ ,以及联合学习 (FL)$\mathbb{E}(?)$ ,其中每个节点表示一个客户端
通信瓶颈。在分布式训练中,必须在每次迭代中交换模型更新(或梯度向量)。由于通常考虑的深度模型$\mathbb{E}(?)$ 的通信消息的大小,这代表了整个优化过程的重大瓶颈。为了减少必须传输的数据量,提出了几种策略
最流行的策略之一是仅每隔几次迭代就合并本地步骤和通信更新 (?????)。不幸的是,尽管它们在实际中取得了成功,但人们对本地方法的了解却很少,并且目前缺乏其理论基础。。几乎所有现有的错误保证都由一个简单的基线主导,即小批量 SGDE(?)
在这项工作中,我们专注于另一种流行的方法:gradient compression 。在这种方法中,不是传输全维(梯度)向量$g\in\mathbb{R}^d$ ,而是传输压缩向量$\mathcal{C}(g)$,其中$\mathcal{C}:\mathbb{R}^d\to\mathbb{R}^d$是一个 (可能是随机的)运算符,被选择为可以使用更少的位来表示$\mathcal{C}(g)$,例如通过使用有限位表示(量化)或通过强制稀疏。一类特别流行的量化运算符基于随机抖动E(??); 请参见 (?????)
1 | [
[
"0.1748",
"0.0341",
"0.478",
"0.0341",
"0.478",
"0.0486",
"0.1748",
"0.0486"
],
[
"0.1969",
"0.1042",
"0.761",
"0.1042",
"0.761",
"0.125",
"0.1969",
"0.125"
],
[
"0.1847",
"0.1528",
"0.4429",
"0.1528",
"0.4429",
"0.1666",
"0.1847",
"0.1666"
],
[
"0.1854",
"0.1686",
"0.2385",
"0.1686",
"0.2385",
"0.1799",
"0.1854",
"0.1799"
],
[
"0.1847",
"0.1812",
"0.33",
"0.1812",
"0.33",
"0.1945",
"0.1847",
"0.1945"
],
[
"0.1936",
"0.1957",
"0.675",
"0.1957",
"0.675",
"0.209",
"0.1936",
"0.209"
],
[
"0.452",
"0.2443",
"0.5474",
"0.2468",
"0.5474",
"0.2615",
"0.452",
"0.2588"
],
[
"0.2336",
"0.2766",
"0.7656",
"0.2766",
"0.7656",
"0.2903",
"0.2336",
"0.2903"
],
[
"0.2336",
"0.2903",
"0.7656",
"0.2903",
"0.7656",
"0.3037",
"0.2336",
"0.3037"
],
[
"0.232",
"0.3037",
"0.763",
"0.305",
"0.763",
"0.3193",
"0.232",
"0.318"
],
[
"0.2336",
"0.318",
"0.7656",
"0.318",
"0.7656",
"0.332",
"0.2336",
"0.332"
],
[
"0.2345",
"0.334",
"0.7646",
"0.334",
"0.7646",
"0.3447",
"0.2345",
"0.3447"
],
[
"0.2345",
"0.3467",
"0.7656",
"0.3467",
"0.7656",
"0.3599",
"0.2345",
"0.3599"
],
[
"0.2336",
"0.3591",
"0.7646",
"0.3591",
"0.7646",
"0.3726",
"0.2336",
"0.3726"
],
[
"0.232",
"0.3726",
"0.7656",
"0.3738",
"0.7656",
"0.3882",
"0.232",
"0.387"
],
[
"0.232",
"0.387",
"0.7646",
"0.387",
"0.7646",
"0.401",
"0.232",
"0.401"
],
[
"0.2336",
"0.401",
"0.7646",
"0.401",
"0.7646",
"0.4153",
"0.2336",
"0.4153"
],
[
"0.2336",
"0.4153",
"0.7656",
"0.4153",
"0.7656",
"0.4287",
"0.2336",
"0.4287"
],
[
"0.2336",
"0.43",
"0.7656",
"0.43",
"0.7656",
"0.443",
"0.2336",
"0.443"
],
[
"0.2345",
"0.443",
"0.7656",
"0.443",
"0.7656",
"0.457",
"0.2345",
"0.457"
],
[
"0.2336",
"0.457",
"0.7656",
"0.457",
"0.7656",
"0.4702",
"0.2336",
"0.4702"
],
[
"0.2336",
"0.4702",
"0.7656",
"0.4702",
"0.7656",
"0.4841",
"0.2336",
"0.4841"
],
[
"0.232",
"0.4849",
"0.7646",
"0.4841",
"0.7646",
"0.4976",
"0.232",
"0.4988"
],
[
"0.232",
"0.4968",
"0.7656",
"0.4976",
"0.7656",
"0.512",
"0.232",
"0.511"
],
[
"0.232",
"0.5103",
"0.3896",
"0.512",
"0.3896",
"0.5264",
"0.232",
"0.5244"
],
[
"0.1765",
"0.553",
"0.2091",
"0.553",
"0.2091",
"0.5645",
"0.1765",
"0.5645"
],
[
"0.2018",
"0.553",
"0.3423",
"0.553",
"0.3423",
"0.5664",
"0.2018",
"0.5664"
],
[
"0.1748",
"0.5835",
"0.29",
"0.5835",
"0.29",
"0.5967",
"0.1748",
"0.5967"
],
[
"0.4143",
"0.6123",
"0.5073",
"0.61",
"0.5073",
"0.625",
"0.4143",
"0.627"
],
[
"0.5293",
"0.613",
"0.584",
"0.613",
"0.584",
"0.625",
"0.5293",
"0.625"
],
[
"0.8022",
"0.6123",
"0.826",
"0.6123",
"0.826",
"0.625",
"0.8022",
"0.625"
],
[
"0.5146",
"0.6235",
"0.5415",
"0.6235",
"0.5415",
"0.6353",
"0.5146",
"0.6353"
],
[
"0.1765",
"0.6416",
"0.3064",
"0.6416",
"0.3064",
"0.655",
"0.1765",
"0.655"
],
[
"0.1748",
"0.661",
"0.8228",
"0.662",
"0.8228",
"0.677",
"0.1748",
"0.6753"
],
[
"0.1765",
"0.677",
"0.8228",
"0.677",
"0.8228",
"0.69",
"0.1765",
"0.69"
],
[
"0.1765",
"0.6914",
"0.824",
"0.6914",
"0.824",
"0.705",
"0.1765",
"0.705"
],
[
"0.1765",
"0.705",
"0.8228",
"0.705",
"0.8228",
"0.7183",
"0.1765",
"0.7183"
],
[
"0.1748",
"0.7183",
"0.8228",
"0.7183",
"0.8228",
"0.733",
"0.1748",
"0.733"
],
[
"0.1765",
"0.733",
"0.826",
"0.733",
"0.826",
"0.7476",
"0.1765",
"0.7476"
],
[
"0.1772",
"0.752",
"0.763",
"0.752",
"0.763",
"0.762",
"0.1772",
"0.762"
],
[
"0.1772",
"0.7734",
"0.8203",
"0.7734",
"0.8203",
"0.784",
"0.1772",
"0.784"
],
[
"0.1748",
"0.784",
"0.822",
"0.784",
"0.822",
"0.7974",
"0.1748",
"0.7974"
],
[
"0.1772",
"0.8003",
"0.4028",
"0.8003",
"0.4028",
"0.811",
"0.1772",
"0.811"
],
[
"0.1765",
"0.821",
"0.8228",
"0.821",
"0.8228",
"0.834",
"0.1765",
"0.834"
],
[
"0.1765",
"0.834",
"0.8228",
"0.834",
"0.8228",
"0.8477",
"0.1765",
"0.8477"
],
[
"0.1765",
"0.8477",
"0.689",
"0.8477",
"0.689",
"0.8613",
"0.1765",
"0.8613"
],
[
"0.1765",
"0.872",
"0.8203",
"0.872",
"0.8203",
"0.882",
"0.1765",
"0.882"
],
[
"0.1765",
"0.8833",
"0.8203",
"0.8833",
"0.8203",
"0.898",
"0.1765",
"0.898"
],
[
"0.1765",
"0.898",
"0.822",
"0.898",
"0.822",
"0.911",
"0.1765",
"0.911"
],
[
"0.1765",
"0.911",
"0.822",
"0.911",
"0.822",
"0.925",
"0.1765",
"0.925"
],
[
"0.492",
"0.9497",
"0.505",
"0.9497",
"0.505",
"0.9604",
"0.492",
"0.9604"
]
] | [
"Published as a conference paper at ICLR 2021",
"个更好的替代错误反馈的通信高效分布式学习",
"Samuel Horvath and PeterRichtarik",
"KAUST",
"Thuwal, SaudiArabia",
"f samuel.horvath, peter.richtarik l @kaust.edu.sa",
"ABSTRACT",
"Modern large-scale machine learning applications require stochastic optimization",
"algorithms to be implemented on distributed compute systems. A key bottleneck",
"of such systems is the communication overhead for exchanging information (e.g.",
"stochastic gradients) across the workers. Among the many techniques proposed",
"toremedythisissue,oneofthemost successfulistheframeworkofcompressed",
"communication with errorfeedback (EF).EF remains the onlyknown technique",
"that can deal with the error induced by contractive compressors which are not",
"unbiased, such as Top- K or PowerSGD. In this paper, we propose a new and",
"theoretically and practically better alternative to EF for dealing with contractive",
"compressors. In particular, we propose a construction which can transform any",
"contractive compressor into an induced unbiased compressor.Following this trans-",
"formation, existing methods able to work with unbiased compressors can be ap-",
"plied. We show that our approach leads to vast improvements over EF, including",
"reduced memory requirements, better communication complexityguarantees and",
"fewer assumptions. We further extend our results to federated learning with partial",
"participation following an arbitrary distribution over the nodes, and demonstrate",
"the benefits thereof. We perform several numerical experiments which validate",
"our theoretical findings.",
"1",
"INTRODUCTION",
"我们考虑形式为",
"min f(c) :=",
"C fi(r) :",
"(1)",
"=1",
"的分布式优化问题",
"其中&EIRd表示我们希望训练的统计模型的权重,n是节点数,fi:Rd→IR是由存",
"储在workeri上的数据组成的平滑可微分损失函数。在经典的分布式机器学习场景中",
"f(=Ec~D[fc()]是模型a相对于形式的本地数据分布D;的预期损失,fc:Rd→R是",
"单个数据点上的损失。此定义允许在每个节点上使用不同的分布D1,..,Dn,这意味着函",
"数fi..,fn可以具有不同的最小化器。该框架涵盖了当n=1或所有D,相同时的随机优",
"化,经验风险最小化(ERM),当f(α)可以表示为有限平均值时,i。e,f(a)=mZm1fii(a)",
"表示某些f:R一R:以及联合学习(FL)E?),其中每个节点表示一个客户端",
"通信瓶颈。在分布式训练中,必须在每次送代中交换模型更新(或梯度向量)。由于通常考",
"虑的深度模型E(?)的通信消息的大小,这代表了整个优化过程的重大瓶颈。为了减少必须",
"传输的数据量,提出了儿种策略",
"最流行的策略之一是仅每隔几次迭代就合并本地步骤和通信更新(?????)。不幸的是,尽",
"管它们在实际中取得了成功,但人们对本地方法的了解却很少,并且目前缺乏其理论基础。。",
"几乎所有现有的错误保证都由一个简单的基线主导,即小批量SGDE(?)",
"在这项工作中,我们专注于另一种流行的方法:gradientcompression。在这种方法中,不",
"是传输全维(梯度)向量gERd,而是传输压缩向量C(g),其中C:Rd→Rd是一个(可",
"能是随机的)运算符,被选择为可以使用更少的位来表示C(9),例如通过使用有限位表示",
"(量化)或通过强制稀疏。一类特别流行的量化运算符基于随机抖动E(??);请参见(?????)",
"1"
] | {
"arxiv_id": "2006.11077",
"language": "zh",
"page_idx": 0
} |
||
2006.11077-zh-1 | 2006.11077-zh-1.jpg | $\underline{\text{Published as a conference paper at ICLR 2021}}$
组合,以获得更积极的效果。我们将不再进一步区分稀疏化和量化方法,并将它们全部称为
压缩运算符
$\bullet$ Induced Compressor. 在稳定 EF 框架内使用时,偏置压缩机 (e。g。, Top- $K$ )与无偏见的
。通过随机稀疏化技术可以获得许多稀疏向量,这些稀疏化技术可以随机掩盖输人向量,并且仅保留恒定数量的坐标$\mathbb{E}(????)$。还有一个工作线$\mathbb{E}(??)$, 其中提出了稀疏化和量化的考虑到实践和理论,压缩运算符可以分为两组:有偏和无偏。对于无偏压缩器,要求$\mathcal{C}(g)$ 是更新$g$的无偏估计器。一旦这一要求被解除,额外的技巧是必要的分布式压缩随机梯度下降(DCSGD)(???)采用这样的压缩机工作,即使全梯度由每个节点计算。实际上,天真的方法可能导致指数发散$\mathbb{E}(?)$, 而错误反馈 (EF)$\mathbb{E}(??)$ 是唯一能够纠正这种情况的已知机制
贡献。我们的贡献可以概括如下:
同行相比,通常可以实现更优越的性能(例如。g。,Rand- $K$ )。这通常归因于它们的低方差。然而,尽管在这一领域进行了充分的研究,但 $\tilde{\mathrm{EF}}$仍然是唯一允许使用这些强大的偏置压缩机的已知机制。我们的主要贡献是开发了一种简单但非常有效的替代方案-这是我们所知道的唯一替代方案-我们认为这会在理论和实践上带来更好,更通用的方法。特别是,我们提出了一种通用结构,可以将任何有偏差的压缩器(例如 Top- $K$ )转换为无偏差的压缩器,为此我们将其命名为 induced compressor (E3 节)。我们的建议不是在 EF 中使用所需的偏置压缩器,而是在为无偏置压缩器设计的适当选择的现有方法中使用诱导压缩器,例如分布式压缩 SGD (DCSGD)(?),方差减小的 DCSGD (DIANA)(?)或加速 DIANA (ADIANA)E (?)。虽然 EF 可以被视为 DCSGD 的一个版本,可以与偏置压缩器一起工作,但在撰写本文时,EF 的方差减小或加速变体尚不清楚
· Better Theory for DCSGD. 作为次要贡献,我们在较弱的假设下对 DCSGD 进行了新的更紧密的理论分析。如果$f$是$\mu$ -拟凸的(不一定是凸的),并且局部函数$f_i$是$(L,\sigma^2)$ -平滑的$(L$的较弱版本-具有强增长条件的平滑性),则我们获得速率$\mathcal{O} \left ( \delta _{n}Lr^{0}\exp \left [ - \frac {\mu T}{4\delta _{n}L}\right ] + \frac {( \delta _{n}- 1) D+ \delta ^{\sigma ^{2}/ n}}{\mu T}\right ) $, , 其中$\delta_n=1+\frac{\delta-1}n$ 和$\delta\geq1$ 是限制压缩算于的二阶矩的参数,。此速率对节点数$n$具有线性递减的依赖性,这严格优于带有 EF 的DCSGD 的最佳已知速率,其收敛性不会随着节点数的增加而改善,这是使用 EF 的主要缺点之一。此外,EF 需要额外的假设。此外,虽然 EF$\mathbb{E}(??)$的最著名的速率是用函数值表示的,但我们的理论保证了迭代和函数值的收敛性。我们发现的另一个实际含义是将内存需求减少了一半;这是因为在 DCSGD 中,不需要存储错误向量
$\bullet$ Partial Participation. 我们进一步扩展了我们的结果,以获得在节点上具有任意分布的部
分参与的第一收敛保证,这在联合学习(FL)中起着关键作用
$\bullet$ Experimental Validation. 最后,我们使用 CIFAR10 数据集提供了一系列分类任务的实验
评估,证实了我们的理论发现
2 ERROR FEEDBACK IS NOT A GOOD IDEA WHEN USING UNBIASED
COMPRESSORS
在本节中,我们首先介绍无偏和通用压缩运算符的概念,然后比较不带(算法$\boxed{\mathrm{E}}1$)和带
(算法$\mathbb{E}$2)错误反馈的分布式压缩 SGD(DCSGD)
无偏与一般压缩运算符。我们从无偏和一般压缩算子(2??)的定义开始
Definition 1 (Unbiased Compression Operator). A randomized mapping $\mathcal{C}:\mathbb{R}^d\to\mathbb{R}^d$ is an unbi-
ased compression operator (unbiased compressor) if there exists $\delta\geq1$ such that
$$\operatorname{E}\left[\mathcal{C}(x)\right]=x,\quad\operatorname{E}\left\|\mathcal{C}(x)\right\|^{2}\leq\delta\left\|x\right\|^{2},\quad\forall x\in\mathbb{R}^{d}.$$
(2)
If this holds, we will for simplicity write $\mathcal{C} \in \mathbb{U} ( \delta )$ .
Definition 2 (General Compression Operator). A (possibly) randomized mapping $\mathcal{C}:\mathbb{R}^d\to\mathbb{R}^d$ is
a general compression operator (general compressor) if there exists $\lambda>0$ and $\delta\geq1$ such that
$$\operatorname{E}\left[\left\|\lambda\mathcal{C}(x)-x\right\|^2\right]\leq\left(1-\frac{1}{\delta}\right)\left\|x\right\|^2,\quad\forall x\in\mathbb{R}^d.$$
(3)
If this holds, we will for simplicity write $\mathcal{C} \in \mathbb{C} ( \delta )$ .
以下引理提供了这些概念之间的链接(请参见,e。g。?)
2 | [
[
"0.1748",
"0.0341",
"0.4763",
"0.0341",
"0.4763",
"0.0486",
"0.1748",
"0.0486"
],
[
"0.1896",
"0.1067",
"0.822",
"0.1067",
"0.822",
"0.11743",
"0.1896",
"0.11743"
],
[
"0.1765",
"0.1193",
"0.8203",
"0.1193",
"0.8203",
"0.1332",
"0.1765",
"0.1332"
],
[
"0.1748",
"0.1332",
"0.8228",
"0.1332",
"0.8228",
"0.1465",
"0.1748",
"0.1465"
],
[
"0.1765",
"0.1483",
"0.2566",
"0.1483",
"0.2566",
"0.1604",
"0.1765",
"0.1604"
],
[
"0.1772",
"0.1692",
"0.822",
"0.1692",
"0.822",
"0.1799",
"0.1772",
"0.1799"
],
[
"0.1765",
"0.1818",
"0.822",
"0.1818",
"0.822",
"0.1957",
"0.1765",
"0.1957"
],
[
"0.1748",
"0.1945",
"0.8228",
"0.1957",
"0.8228",
"0.2102",
"0.1748",
"0.209"
],
[
"0.1765",
"0.2102",
"0.7974",
"0.2102",
"0.7974",
"0.2235",
"0.1765",
"0.2235"
],
[
"0.1765",
"0.2329",
"0.4084",
"0.2329",
"0.4084",
"0.2437",
"0.1765",
"0.2437"
],
[
"0.1765",
"0.2524",
"0.822",
"0.2524",
"0.822",
"0.2664",
"0.1765",
"0.2664"
],
[
"0.1772",
"0.2676",
"0.822",
"0.2676",
"0.822",
"0.281",
"0.1772",
"0.281"
],
[
"0.1748",
"0.2798",
"0.822",
"0.279",
"0.822",
"0.2935",
"0.1748",
"0.2942"
],
[
"0.1765",
"0.2942",
"0.822",
"0.2942",
"0.822",
"0.308",
"0.1765",
"0.308"
],
[
"0.1765",
"0.308",
"0.822",
"0.308",
"0.822",
"0.3213",
"0.1765",
"0.3213"
],
[
"0.1772",
"0.3213",
"0.8228",
"0.3213",
"0.8228",
"0.3352",
"0.1772",
"0.3352"
],
[
"0.1765",
"0.3352",
"0.822",
"0.3352",
"0.822",
"0.3484",
"0.1765",
"0.3484"
],
[
"0.1765",
"0.3499",
"0.822",
"0.3499",
"0.822",
"0.363",
"0.1765",
"0.363"
],
[
"0.1765",
"0.3623",
"0.822",
"0.3623",
"0.822",
"0.3757",
"0.1765",
"0.3757"
],
[
"0.1765",
"0.377",
"0.824",
"0.377",
"0.824",
"0.3901",
"0.1765",
"0.3901"
],
[
"0.1765",
"0.3926",
"0.4592",
"0.3926",
"0.4592",
"0.4028",
"0.1765",
"0.4028"
],
[
"0.1765",
"0.4124",
"0.822",
"0.4124",
"0.822",
"0.4255",
"0.1765",
"0.4255"
],
[
"0.1765",
"0.4268",
"0.8228",
"0.4268",
"0.8228",
"0.44",
"0.1765",
"0.44"
],
[
"0.1732",
"0.44",
"0.824",
"0.4395",
"0.824",
"0.4539",
"0.1732",
"0.455"
],
[
"0.1691",
"0.4507",
"0.83",
"0.449",
"0.83",
"0.4766",
"0.1691",
"0.4792"
],
[
"0.1765",
"0.4778",
"0.822",
"0.4778",
"0.822",
"0.4912",
"0.1765",
"0.4912"
],
[
"0.1765",
"0.4912",
"0.822",
"0.4912",
"0.822",
"0.505",
"0.1765",
"0.505"
],
[
"0.1765",
"0.506",
"0.822",
"0.506",
"0.822",
"0.5195",
"0.1765",
"0.5195"
],
[
"0.1765",
"0.5195",
"0.8228",
"0.5195",
"0.8228",
"0.5327",
"0.1765",
"0.5327"
],
[
"0.1748",
"0.534",
"0.614",
"0.534",
"0.614",
"0.5474",
"0.1748",
"0.5474"
],
[
"0.1765",
"0.5547",
"0.824",
"0.5547",
"0.824",
"0.5684",
"0.1765",
"0.5684"
],
[
"0.1772",
"0.571",
"0.6167",
"0.571",
"0.6167",
"0.5806",
"0.1772",
"0.5806"
],
[
"0.1765",
"0.5903",
"0.8228",
"0.5903",
"0.8228",
"0.604",
"0.1765",
"0.604"
],
[
"0.1765",
"0.604",
"0.3896",
"0.604",
"0.3896",
"0.617",
"0.1765",
"0.617"
],
[
"0.1748",
"0.638",
"0.755",
"0.638",
"0.755",
"0.653",
"0.1748",
"0.653"
],
[
"0.2051",
"0.656",
"0.3325",
"0.657",
"0.3325",
"0.672",
"0.2051",
"0.6704"
],
[
"0.1765",
"0.688",
"0.822",
"0.688",
"0.822",
"0.702",
"0.1765",
"0.702"
],
[
"0.1765",
"0.702",
"0.5376",
"0.702",
"0.5376",
"0.7153",
"0.1765",
"0.7153"
],
[
"0.1772",
"0.7246",
"0.6763",
"0.7246",
"0.6763",
"0.735",
"0.1772",
"0.735"
],
[
"0.1765",
"0.7407",
"0.826",
"0.7407",
"0.826",
"0.755",
"0.1765",
"0.755"
],
[
"0.1748",
"0.755",
"0.7075",
"0.755",
"0.7075",
"0.7695",
"0.1748",
"0.7695"
],
[
"0.3162",
"0.778",
"0.6807",
"0.7764",
"0.6807",
"0.7915",
"0.3162",
"0.7925"
],
[
"0.8037",
"0.779",
"0.824",
"0.779",
"0.824",
"0.7925",
"0.8037",
"0.7925"
],
[
"0.1748",
"0.8003",
"0.513",
"0.8003",
"0.513",
"0.8145",
"0.1748",
"0.8145"
],
[
"0.1732",
"0.8174",
"0.824",
"0.8164",
"0.824",
"0.8306",
"0.1732",
"0.832"
],
[
"0.1732",
"0.8335",
"0.8022",
"0.8306",
"0.8022",
"0.8447",
"0.1732",
"0.8467"
],
[
"0.326",
"0.854",
"0.6724",
"0.855",
"0.6724",
"0.8755",
"0.326",
"0.875"
],
[
"0.8037",
"0.858",
"0.824",
"0.858",
"0.824",
"0.8726",
"0.8037",
"0.8726"
],
[
"0.1732",
"0.884",
"0.5156",
"0.8853",
"0.5156",
"0.8994",
"0.1732",
"0.8984"
],
[
"0.1748",
"0.91",
"0.585",
"0.911",
"0.585",
"0.9253",
"0.1748",
"0.925"
],
[
"0.4927",
"0.946",
"0.509",
"0.9487",
"0.5034",
"0.9634",
"0.4878",
"0.9604"
]
] | [
"Published as a conference paper at ICLR 2021",
"通过随机稀疏化技术可以获得许多稀疏向量,这些稀疏化技术可以随机掩盖输人向量,并",
"且仅保留恒定数量的坐标E(?????)。还有一个工作线E(??),其中提出了稀疏化和量化的",
"组合,以获得更积极的效果。我们将不再进一步区分稀疏化和量化方法,并将它们全部称为",
"压缩运算符",
"考虑到实践和理论,压缩运算符可以分为两组:有偏和无偏。对于无偏压缩器,要求C(9)是",
"更新9的无偏估计器。一旦这一要求被解除,额外的技巧是必要的分布式压缩随机梯度下降",
"(DCSGD)(????)采用这样的压缩机工作,即使全梯度由每个节点计算。实际上,天真的方法",
"可能导致指数发散E(?),而错误反馈(EF)E(??)是唯一能够纠正这种情况的已知机制",
"贡献。我们的贡献可以概括如下",
"·InducedCompressor.在稳定EF框架内使用时,偏置压缩机(e。g。,Top-K)与无偏见的",
"同行相比,通常可以实现更优越的性能(例如。g。,Rand-K)。这通常归因于它们的低方差。",
"然而,尽管在这一领域进行了充分的研究,但EF仍然是唯一允许使用这些强大的偏置压缩",
"机的已知机制。我们的主要贡献是开发了一种简单但非常有效的替代方案-这是我们所知道",
"的唯一替代方案-我们认为这会在理论和实践上带来更好,更通用的方法。特别是,我们提",
"出了一种通用结构,可以将任何有偏差的压缩器(例如Top-K)转换为无偏差的压缩器,为",
"此我们将其命名为inducedcompressor(E3节)。我们的建议不是在EF中使用所需的偏置",
"压缩器,而是在为无偏置压缩器设计的适当选择的现有方法中使用诱导压缩器,例如分布式",
"压缩SGD(DCSGD)(?),方差减小的DCSGD(DIANA)(?)或加速DIANA(ADIANA)E",
"?)。虽然EF可以被视为DCSGD的一个版本,可以与偏置压缩器一起工作,但在撰写本文",
"时,EF的方差减小或加速变体尚不清楚",
"·BetterTheoryforDCSGD.作为次要贡献,我们在较弱的假设下对DCSGD进行",
"了新的更紧密的理论分析。如果f是μ-拟凸的(不一定是凸的),并且局部函数",
"f是(L,α2)-平滑的(L的较弱版本-具有强增长条件的平滑性),则我们获得速率",
"(o,Lroexp[-]+-)D+),,其中,=1+和。≥1是限制压缩算子",
"的二阶矩的参数,。此速率对节点数n具有线性递减的依赖性,这严格优于带有EF的",
"DCSGD的最佳已知速率,其收敛性不会随着节点数的增加而改善,这是使用EF的主要缺",
"点之一。此外,EF需要额外的假设。此外,虽然EFE(??)的最著名的速率是用函数值表示",
"的,但我们的理论保证了迭代和函数值的收敛性。我们发现的另一个实际含义是将内存需",
"求减少了一半;这是因为在DCSGD中,不需要存储错误向量",
"·PartialParticipation。我们进一步扩展了我们的结果,以获得在节点上具有任意分布的部",
"分参与的第一收敛保证:这在联合学习(FL)中起着关键作用",
"·ExperimentalValidation。最后,我们使用CIFAR10数据集提供了一系列分类任务的实验",
"评估,证实了我们的理论发现",
"2ERROR FEEDBACKIS NOT A GOODIDEA WHENUSINGUNBIASED",
"COMPRESSORS",
"在本节中,我们首先介绍无偏和通用压缩运算符的概念,然后比较不带(算法E1)和带",
"(算法E2)错误反馈的分布式压缩SGD(DCSGD)",
"无偏与一般压缩运算符。我们从无偏和一般压缩算子(???)的定义开始",
"Definition 1 (Unbiased Compression Operator). A randomized mapping C: Rd -→ Rd is an unbi-",
"ased compression operator (unbiased compressor) if there exists ≥ 1 such that",
"E[C(r)]=,EC(a)?≤r?,VaeRd",
"(2)",
"If this holds, we will for simplicity write C e U() .",
"Definition 2 (General Compression Operator). A (possibly) randomized mapping C: Rd → IRd is",
"a general compression operator(general compressor)ifthere exists >O and ≥1 such that",
"E[IAC(a) -al2≤ (1-) lall2,VαE Rd.",
"(3)",
"If this holds, we will for simplicity write C e C() .",
"以下引理提供了这些概念之间的链接(请参见,e。g。?)",
"2"
] | {
"arxiv_id": "2006.11077",
"language": "zh",
"page_idx": 1
} |
||
2006.11077-zh-2 | 2006.11077-zh-2.jpg | Published as a conference paper at ICLR 2021
<table>
<tbody>
<tr>
<th>$\overline{\mathbf{Algo}}$</th>
<th>rithm1DCSGD</th>
<th>gorithm 2 DCSGD with Error Feedback</th>
</tr>
<tr>
<td>1:</td>
<td>$\overline{[\mathbf{nput:}\{\eta^{k}\}_{k=0}^{T}>0\:,x_{0}]}$</td>
<td>=0 $\forall i\in [ n]$ $\mathbf{Input:\{\eta^{k}\}_{l_{-}}^{T}}$ >0 $, x_{0}$ , $f$</td>
</tr>
<tr>
<td>2:</td>
<td>$\mathbf{or}$ $k= 0, 1, \ldots T$ $\mathbf{do}$</td>
<td>for $d0$</td>
</tr>
<tr>
<td>3:</td>
<td>$\mathbf{Parallel:}$ $:\mathbf{Workerside}$</td>
<td>$\textbf{Parallel: Worker side}$</td>
</tr>
<tr>
<td>4:</td>
<td>$\textbf{for }i= 1$, $d_0$ $n$</td>
<td>$\textbf{for}i= 1, \ldots , n\textbf{do}$</td>
</tr>
<tr>
<td>5:</td>
<td>obtain $g_{i}^{\beta}$</td>
<td>obtain $g_{i}^{\beta}$</td>
</tr>
<tr>
<td>6:</td>
<td>$\operatorname{send}\Delta^{k}$ $=\mathcal{C}^{k}(q_{:}^{k}$ to master</td>
<td>$\mathop{\mathrm{send}}\Delta_{:}^{k}=\mathcal{C}^{k}(\eta^{k}q$ to master $\eta^{\prime\prime}$ + $-e^{\boldsymbol{\kappa}}$</td>
</tr>
<tr>
<td>7:</td>
<td>[no need to keep track of errors</td>
<td>$k+1$ $\eta^{k}a_{:}^{k}+e_{:}^{k}-\Delta_{:}^{k}$</td>
</tr>
<tr>
<td>8:</td>
<td>$\mathbf{endfor}$</td>
<td>$\mathbf{endfor}$</td>
</tr>
<tr>
<td>9:</td>
<td>$\mathbf{Masterside}$</td>
<td>$\mathbf{Masterside}$</td>
</tr>
<tr>
<td>10:</td>
<td>$\underline{1}$ > $\daleth77$ $\Delta$ $\operatorname{aggregate}\Delta^{n}=$ - 77 $\dot{a}=1$</td>
<td>${\mathrm{aggregate~}\Delta^{k}=\frac{1}{n}\sum_{i=1}^{n}\Delta_{i}^{k}}$</td>
</tr>
<tr>
<td>1: 1</td>
<td>broadcast $\Delta^k$ to each worker</td>
<td>broadcast$\Delta^k$ to each worker</td>
</tr>
<tr>
<td>12:</td>
<td>Parallel: Worker side</td>
<td>$\textbf{Parallel: Worker side}$</td>
</tr>
<tr>
<td>13:</td>
<td>$\textbf{for }i= 1$, $d_0$ $n$</td>
<td>$\textbf{for}i= 1, \ldots , n\textbf{do}$</td>
</tr>
<tr>
<td>14:</td>
<td>7</td>
<td>$mk+1$ $x^{k}-\Delta^{k}$ = 1</td>
</tr>
<tr>
<td>15:</td>
<td>$\mathbf{endfor}$</td>
<td>endfor</td>
</tr>
<tr>
<td>16: T</td>
<td>$\mathbf{endfor}$</td>
<td>endfor</td>
</tr>
</tbody>
</table>
$\textbf{Lemma 1. }If\mathcal{C} \in \mathbb{U} ( \delta ) , then\left ( 3\right ) holdswith\lambda = \frac 1\delta , i. e. , \mathcal{C} \in \mathbb{C} ( \delta ) . Thatis, \mathcal{U} ( \delta ) \subset \mathbb{C} ( \delta )$
请注意,与上述引理中建立的相反的包含不成立。例如,Top- $K$运算符属于$\mathbb{C}(\delta)$ ,但不属于 $\mathbb{U}(\delta)$。在下一节中,我们将开发一个程序,用于将任何映射$\mathcal{C} : \mathbb{R} ^d\to \mathbb{R} ^d$ (尤其是任何通用压缩器) 转换为紧密相关的 induced 无偏压缩器
带与不带错误反馈的分布式 SGD。在本节的其余部分中,我们将比较 DCSGD (算法$\color{red}{\mathrm{E}}$1 ) 和 DCSGD 与 EF (算法$\overline{\mathrm{E}}$2)的收敛速度。我们在标准假设下进行比较(??????),如下所示首先,我们始终假设$f$具有唯一的最小化器$x^\star$,并让$f^\star=f(x^\star)>-\infty$
Assumption 1( $\mu$ -quasi convexity). $f$ is $\mu$ -quasi convex, i.e.,
$$f^{\star}\ge f(x)+\langle\nabla f(x),x^{\star}-x\rangle+\frac{\mu}{2}\left\|x^{\star}-x\right\|^{2},\quad\forall x\in\mathbb{R}^{d}.$$
(4)
Assumption 2 (unbiased gradient oracle). The stochastic gradient used in Algorithms 1 and 2
satisfies
$$\operatorname{E}\begin{bmatrix}g_i^k\mid x^k\end{bmatrix}=\nabla f_i(x^k),\quad\forall i,k.$$
(5)
$$\operatorname{E}\left[{\frac{1}{n}}\sum_{i=1}^{n}g_{i}^{k}\mid x^{k}\right]=\nabla f(x^{k})$$
$\textbf{Assumption 3( }( L, \sigma ^2)$ -expected smoothness). Function $f$ is $(L,\sigma^2)$ -smooth if there exist con-
stants $\dot{L}>0$ and $\sigma^2\geq0$ such that $\forall i\in[n]$ and $\forall x^k\in\mathbb{R}^d$
(6)
$$\operatorname{E}\left[\left\|g_i^k\right\|^2\right]\leq2L(f_i(x^k)-f_i^\star)+\sigma^2,$$
$$\operatorname{E}\left[\left\|\frac{1}{n}\sum_{i=1}^ng_i^k\right\|^2\right]\leq2L(f(x^k)-f^\star)+\sigma^2/_n,$$
(7)
$:f_{i}^{\star}$
该假设概括了方差假设的标准平滑性和有界性。有关更多详细信息和讨论,请参阅??的作
品。有了这些假设,我们就可以继续进行收敛理论了
Theorem 2 (Convergence of DCSGD). Consider the DCSGD algorithm with $n\geq1$ nodes. Let $Assumptions~1-3~hold~and~C\in\mathbb{U}(\delta)~,~where~\delta_{n}=\frac{\delta-1}{n}+1~.~Let~D:=\frac{2L}{n}\sum_{i=1}^{n}(f_{i}(x^{\star})-f_{i}^{\star})~.$ Then there exist stepsizes $\eta^k\leq\frac1{2\delta_nL}$ and weights $w^k\geq0$ such that for all $\ddot{T}\geq1$ we have
$$\operatorname{E}\left[f(\bar{x}^T)-f^\star\right]+\mu\operatorname{E}\left[\left\|x^T-x^\star\right\|^2\right]\leq64\delta_nLr^0\exp\left[-\frac{\mu T}{4\delta_nL}\right]+36\frac{(\delta_n-1)D+^{\delta\sigma^2}/_n}{\mu T}$$
where $r^0= \left \| x^0- x^\star \right \| ^2, W^T= \sum _{k= 0}^Tw^k, and$ Prob$(\bar{x}^T=x^k)=w^k/W^T.$
3 | [
[
"0.1732",
"0.03284",
"0.478",
"0.0322",
"0.478",
"0.04672",
"0.1732",
"0.04736"
],
[
"0.1765",
"0.1193",
"0.3218",
"0.1193",
"0.3218",
"0.1332",
"0.1765",
"0.1332"
],
[
"0.5063",
"0.1218",
"0.7876",
"0.1218",
"0.7876",
"0.132",
"0.5063",
"0.132"
],
[
"0.179",
"0.1351",
"0.3718",
"0.1383",
"0.3718",
"0.1559",
"0.179",
"0.1528"
],
[
"0.5107",
"0.137",
"0.8164",
"0.137",
"0.8164",
"0.1547",
"0.5107",
"0.1547"
],
[
"0.1805",
"0.1515",
"0.3555",
"0.1509",
"0.3555",
"0.1654",
"0.1805",
"0.1666"
],
[
"0.513",
"0.154",
"0.626",
"0.154",
"0.626",
"0.1642",
"0.513",
"0.1642"
],
[
"0.621",
"0.1528",
"0.683",
"0.1528",
"0.683",
"0.1642",
"0.621",
"0.1642"
],
[
"0.2181",
"0.1666",
"0.3708",
"0.1666",
"0.3708",
"0.1799",
"0.2181",
"0.1799"
],
[
"0.5483",
"0.1666",
"0.701",
"0.1666",
"0.701",
"0.1799",
"0.5483",
"0.1799"
],
[
"0.513",
"0.1686",
"0.528",
"0.1686",
"0.528",
"0.1787",
"0.513",
"0.1787"
],
[
"0.183",
"0.1686",
"0.1969",
"0.1686",
"0.1969",
"0.178",
"0.183",
"0.178"
],
[
"0.183",
"0.1812",
"0.1969",
"0.1812",
"0.1969",
"0.1913",
"0.183",
"0.1913"
],
[
"0.2181",
"0.1812",
"0.2876",
"0.1812",
"0.2876",
"0.1913",
"0.2181",
"0.1913"
],
[
"0.3057",
"0.1812",
"0.357",
"0.1812",
"0.357",
"0.1925",
"0.3057",
"0.1925"
],
[
"0.5195",
"0.178",
"0.5312",
"0.1863",
"0.5195",
"0.1957",
"0.509",
"0.1875"
],
[
"0.5483",
"0.1812",
"0.6167",
"0.1812",
"0.6167",
"0.1925",
"0.5483",
"0.1925"
],
[
"0.634",
"0.1812",
"0.6855",
"0.1787",
"0.687",
"0.1925",
"0.6357",
"0.1945"
],
[
"0.2336",
"0.1913",
"0.2974",
"0.1932",
"0.2974",
"0.2084",
"0.2336",
"0.2058"
],
[
"0.562",
"0.1913",
"0.626",
"0.1932",
"0.626",
"0.2084",
"0.562",
"0.2058"
],
[
"0.511",
"0.1932",
"0.528",
"0.1932",
"0.528",
"0.2084",
"0.511",
"0.2084"
],
[
"0.1805",
"0.1932",
"0.1978",
"0.1932",
"0.1978",
"0.2084",
"0.1805",
"0.2084"
],
[
"0.2361",
"0.2084",
"0.4248",
"0.2084",
"0.4248",
"0.2229",
"0.2361",
"0.2229"
],
[
"0.5645",
"0.2084",
"0.8096",
"0.2084",
"0.8096",
"0.2229",
"0.5645",
"0.2229"
],
[
"0.5107",
"0.209",
"0.528",
"0.209",
"0.528",
"0.2235",
"0.5107",
"0.2235"
],
[
"0.1805",
"0.209",
"0.1993",
"0.209",
"0.1993",
"0.2229",
"0.1805",
"0.2229"
],
[
"0.1814",
"0.2216",
"0.1978",
"0.2216",
"0.1978",
"0.2361",
"0.1814",
"0.2361"
],
[
"0.2345",
"0.2229",
"0.4468",
"0.2229",
"0.4468",
"0.2361",
"0.2345",
"0.2361"
],
[
"0.5107",
"0.2247",
"0.528",
"0.2247",
"0.528",
"0.238",
"0.5107",
"0.238"
],
[
"0.562",
"0.2197",
"0.7305",
"0.2229",
"0.7305",
"0.2412",
"0.562",
"0.238"
],
[
"0.183",
"0.238",
"0.1953",
"0.238",
"0.1953",
"0.25",
"0.183",
"0.25"
],
[
"0.2181",
"0.2374",
"0.2695",
"0.2374",
"0.2695",
"0.2488",
"0.2181",
"0.2488"
],
[
"0.5107",
"0.2393",
"0.528",
"0.2393",
"0.528",
"0.2524",
"0.5107",
"0.2524"
],
[
"0.5483",
"0.238",
"0.601",
"0.238",
"0.601",
"0.2524",
"0.5483",
"0.2524"
],
[
"0.183",
"0.252",
"0.1969",
"0.252",
"0.1969",
"0.2632",
"0.183",
"0.2632"
],
[
"0.2173",
"0.25",
"0.3022",
"0.25",
"0.3022",
"0.2644",
"0.2173",
"0.2644"
],
[
"0.5107",
"0.2524",
"0.528",
"0.2524",
"0.528",
"0.2664",
"0.5107",
"0.2664"
],
[
"0.55",
"0.254",
"0.6313",
"0.254",
"0.6313",
"0.2651",
"0.55",
"0.2651"
],
[
"0.2173",
"0.262",
"0.4084",
"0.262",
"0.4084",
"0.2798",
"0.2173",
"0.2798"
],
[
"0.546",
"0.2632",
"0.74",
"0.2632",
"0.74",
"0.2842",
"0.546",
"0.2842"
],
[
"0.505",
"0.2664",
"0.527",
"0.2664",
"0.527",
"0.2798",
"0.505",
"0.2798"
],
[
"0.1765",
"0.2644",
"0.1978",
"0.2644",
"0.1978",
"0.2778",
"0.1765",
"0.2778"
],
[
"0.1765",
"0.281",
"0.1978",
"0.281",
"0.1978",
"0.2942",
"0.1765",
"0.2942"
],
[
"0.2181",
"0.2798",
"0.4102",
"0.2798",
"0.4102",
"0.2935",
"0.2181",
"0.2935"
],
[
"0.5063",
"0.2827",
"0.527",
"0.2827",
"0.527",
"0.2966",
"0.5063",
"0.2966"
],
[
"0.5483",
"0.2822",
"0.739",
"0.2822",
"0.739",
"0.2954",
"0.5483",
"0.2954"
],
[
"0.1765",
"0.2942",
"0.1978",
"0.2942",
"0.1978",
"0.308",
"0.1765",
"0.308"
],
[
"0.2181",
"0.2942",
"0.3718",
"0.2942",
"0.3718",
"0.308",
"0.2181",
"0.308"
],
[
"0.5063",
"0.2966",
"0.527",
"0.2966",
"0.527",
"0.3093",
"0.5063",
"0.3093"
],
[
"0.5483",
"0.2966",
"0.7017",
"0.2966",
"0.7017",
"0.31",
"0.5483",
"0.31"
],
[
"0.1765",
"0.3093",
"0.1978",
"0.3093",
"0.1978",
"0.3213",
"0.1765",
"0.3213"
],
[
"0.2173",
"0.308",
"0.298",
"0.31",
"0.298",
"0.3213",
"0.2173",
"0.3193"
],
[
"0.2998",
"0.31",
"0.3586",
"0.31",
"0.3586",
"0.3213",
"0.2998",
"0.3213"
],
[
"0.5063",
"0.31",
"0.528",
"0.31",
"0.528",
"0.324",
"0.5063",
"0.324"
],
[
"0.5474",
"0.31",
"0.687",
"0.31",
"0.687",
"0.324",
"0.5474",
"0.324"
],
[
"0.1765",
"0.3213",
"0.1978",
"0.3213",
"0.1978",
"0.336",
"0.1765",
"0.336"
],
[
"0.2336",
"0.3193",
"0.3652",
"0.3213",
"0.3652",
"0.336",
"0.2336",
"0.334"
],
[
"0.505",
"0.3245",
"0.528",
"0.3245",
"0.528",
"0.3372",
"0.505",
"0.3372"
],
[
"0.5645",
"0.3225",
"0.681",
"0.3225",
"0.681",
"0.3372",
"0.5645",
"0.3372"
],
[
"0.2181",
"0.3372",
"0.2695",
"0.3372",
"0.2695",
"0.3484",
"0.2181",
"0.3484"
],
[
"0.5483",
"0.3372",
"0.601",
"0.3372",
"0.601",
"0.3516",
"0.5483",
"0.3516"
],
[
"0.5073",
"0.3403",
"0.5254",
"0.3403",
"0.5254",
"0.3499",
"0.5073",
"0.3499"
],
[
"0.1772",
"0.3384",
"0.1978",
"0.3384",
"0.1978",
"0.3484",
"0.1772",
"0.3484"
],
[
"0.1772",
"0.351",
"0.2532",
"0.351",
"0.2532",
"0.3623",
"0.1772",
"0.3623"
],
[
"0.505",
"0.3516",
"0.585",
"0.3516",
"0.585",
"0.3662",
"0.505",
"0.3662"
],
[
"0.1748",
"0.3958",
"0.767",
"0.3958",
"0.767",
"0.4104",
"0.1748",
"0.4104"
],
[
"0.1765",
"0.4248",
"0.8228",
"0.4248",
"0.8228",
"0.4382",
"0.1765",
"0.4382"
],
[
"0.1772",
"0.4382",
"0.8228",
"0.4382",
"0.8228",
"0.452",
"0.1772",
"0.452"
],
[
"0.1748",
"0.4526",
"0.55",
"0.4526",
"0.55",
"0.4666",
"0.1748",
"0.4666"
],
[
"0.1765",
"0.473",
"0.824",
"0.473",
"0.824",
"0.4873",
"0.1765",
"0.4873"
],
[
"0.1748",
"0.486",
"0.8228",
"0.4873",
"0.8228",
"0.502",
"0.1748",
"0.5005"
],
[
"0.1772",
"0.509",
"0.694",
"0.509",
"0.694",
"0.523",
"0.1772",
"0.523"
],
[
"0.1765",
"0.529",
"0.591",
"0.529",
"0.591",
"0.5425",
"0.1765",
"0.5425"
],
[
"0.2917",
"0.552",
"0.7075",
"0.55",
"0.7075",
"0.5684",
"0.2917",
"0.571"
],
[
"0.8022",
"0.5537",
"0.826",
"0.5537",
"0.826",
"0.5674",
"0.8022",
"0.5674"
],
[
"0.1748",
"0.577",
"0.826",
"0.577",
"0.826",
"0.5903",
"0.1748",
"0.5903"
],
[
"0.1748",
"0.5923",
"0.2279",
"0.5923",
"0.2279",
"0.604",
"0.1748",
"0.604"
],
[
"0.384",
"0.605",
"0.5596",
"0.605",
"0.5596",
"0.619",
"0.384",
"0.619"
],
[
"0.5664",
"0.605",
"0.615",
"0.605",
"0.615",
"0.619",
"0.5664",
"0.619"
],
[
"0.8022",
"0.605",
"0.826",
"0.605",
"0.826",
"0.619",
"0.8022",
"0.619"
],
[
"0.1765",
"0.6353",
"0.5483",
"0.6353",
"0.5483",
"0.6494",
"0.1765",
"0.6494"
],
[
"0.1748",
"0.656",
"0.826",
"0.656",
"0.826",
"0.6704",
"0.1748",
"0.6704"
],
[
"0.1724",
"0.6685",
"0.556",
"0.6675",
"0.556",
"0.685",
"0.1724",
"0.686"
],
[
"0.3743",
"0.6943",
"0.6235",
"0.6943",
"0.6235",
"0.7163",
"0.3743",
"0.7163"
],
[
"0.8022",
"0.6987",
"0.826",
"0.6987",
"0.826",
"0.7134",
"0.8022",
"0.7134"
],
[
"0.3447",
"0.731",
"0.6543",
"0.731",
"0.6543",
"0.7485",
"0.3447",
"0.7485"
],
[
"0.8022",
"0.733",
"0.826",
"0.733",
"0.826",
"0.7476",
"0.8022",
"0.7476"
],
[
"0.1748",
"0.757",
"0.653",
"0.757",
"0.653",
"0.771",
"0.1748",
"0.771"
],
[
"0.1765",
"0.784",
"0.8228",
"0.784",
"0.8228",
"0.799",
"0.1765",
"0.799"
],
[
"0.1765",
"0.799",
"0.5483",
"0.799",
"0.5483",
"0.8125",
"0.1765",
"0.8125"
],
[
"0.1765",
"0.8174",
"0.824",
"0.8174",
"0.824",
"0.8306",
"0.1765",
"0.8306"
],
[
"0.1691",
"0.827",
"0.824",
"0.8276",
"0.824",
"0.8486",
"0.1691",
"0.8477"
],
[
"0.1708",
"0.8447",
"0.7656",
"0.8447",
"0.7656",
"0.8687",
"0.1708",
"0.8687"
],
[
"0.2133",
"0.8735",
"0.774",
"0.867",
"0.774",
"0.8984",
"0.2133",
"0.905"
],
[
"0.714",
"0.8896",
"0.726",
"0.8896",
"0.726",
"0.896",
"0.714",
"0.896"
],
[
"0.1724",
"0.906",
"0.683",
"0.907",
"0.683",
"0.928",
"0.1724",
"0.927"
],
[
"0.492",
"0.9478",
"0.5073",
"0.9478",
"0.5073",
"0.962",
"0.492",
"0.962"
]
] | [
"Published as a conference paper at ICLR 2021",
"Algorithm 1DCSGD",
"Algorithm2DCSGDwithErrorFeedback",
"1: Input: (n=0 ≥ 0, o",
"1: Input: (n')T=o > 0, ao,e = 0 Vi e [n]",
"2: for k =0, 1,...T do",
"2: for k=0.1.",
"...T do",
"Parallel: Worker side",
"Parallel: Worker side",
"3:",
"3:",
"4:",
"for i=l",
".,n do",
"A.",
"for i = 1",
".,n do",
"obtaingk",
"obtaingk",
"5:",
"5:",
"send = Ck(gk) to master",
"send △k = Ck(nh gk + eh) to master",
"6:",
"6:",
"7:",
"[no need to keep track of errors]",
"7:",
"ek+1=ngh +et-△",
"8:",
"end for",
"8:",
"end for",
"9:",
"Master side",
"9:",
"Master side",
"aggregate=n",
"aggregate -",
"10:",
"10:",
"11:",
"broadcast k to each worker",
"11:",
"broadcast k to each worker",
"12:",
"Parallel: Worker side",
"12:",
"Parallel: Worker side",
"13:",
"fori=l..",
"..,ndo",
"13:",
"for i= l,...,n do",
"14:",
"ak+1 = ak -nk△",
"14:",
"ck+1 = ak-△k",
"end for",
"end for",
"15:",
"15:",
"16:end for",
"16: end for",
"Lemma 1. If C e U(), then (3) holds with > = , i.e., C e C(). That is, U() C C()",
"请注意,与上述引理中建立的相反的包含不成立。例如,Top-K运算符属于C(S),但不属",
"于U(S)。在下一节中,我们将开发一个程序,用于将任何映射℃:Rd→Rd(尤其是任何",
"通用压缩器)转换为紧密相关的induced无偏压缩器",
"带与不带错误反馈的分布式SGD。在本节的其余部分中,我们将比较DCSGD(算法E1)",
"和DCSGD与EF(算法E2)的收敛速度。我们在标准假设下进行比较(??????),如下所示",
"首先,我们始终假设f具有唯一的最小化器*,并让f*=f(α*)>一0",
"Assumption1 (μ-quasi convexity). f is μ-quasi convex,i.e.,",
"*≥f(ar)+(Vf(),a*-)+lla*-a2,Va ERd.",
"(4)",
"Assumption 2 (unbiased gradient oracle). The stochastic gradient used in Algorithms 1 and 2",
"satisfies",
"E[g|ck] =Vfi(αh),",
"Vi,k.",
"(5)",
"请注意,此假设意味着E[n-g|=f()",
"Assumption 3 ((L, 2) -expected smoothness). Function f is (L, α2) -smooth if there exist con-",
"stants L > 0 and @? ≥ 0 such that Vi e [n] and Vak e IRd",
"E[12≤2(f:(ah)-f)+2,",
"(6)",
"E/r-1l2≤2L(f(ck)-f*)+/n,",
"(7)",
"wheref* is the minimumfunctional value of fiand [n] =1,2,..., n].",
"该假设概括了方差假设的标准平滑性和有界性。有关更多详细信息和讨论,请参阅??的作",
"品。有了这些假设,我们就可以继续进行收敛理论了",
"Theorem 2 (Convergence of DCSGD). Consider the DCSGD algorithm with n ≥ 1 nodes. Let",
"Assumptions /-3 hold and C e U(o),where on ==1 + 1. Let D :=2E\"-(f(r*)- f).",
"Then there exist stepsizes n≤2,and weights wk≥0 such that for allT≥1 we have",
"E[(a) ] +[ -] 648, L exp [] + 36(+",
"μ",
"where ro =Ilao - r*l~, WT =T=o wh, and Prob(aT = ak) = */wT .",
"3"
] | {
"arxiv_id": "2006.11077",
"language": "zh",
"page_idx": 2
} |
||
2006.11077-zh-3 | 2006.11077-zh-3.jpg | $\underline{\text{Published as a conference paper at ICLR 2021}}$
如果$\delta=1$ (无压缩),定理$\overline{\mathrm{E}}$2 恢复分布式 SGD$\overline{\mathrm{E}}(?)$的最佳速率。如果$\delta>1$,则收敛速度中有一个额外的项$(\delta_n-1)D$ ,这是由于数据的异质性而出现的$(\sum_i=1^n\nabla f_i(x^\star)=0$,但通常是$\sum_i=1^n\mathcal{C}(\nabla f_i(x^\star))\neq0$ )。此外,由于存在导致$L\to \delta _nL$ 和 $\sigma ^2/ n\to \delta \sigma ^2/ n$的压缩,速率受到额外方差的负面影响
接下来,我们将我们的速率与与$\mathcal{C}\in\mathbb{U}(\delta)\subset\mathbb{C}(\delta)$
$$\operatorname{E}\left[f(\bar x^T)-f^\star\right]=\tilde{\mathcal{O}}\left(\delta Lr^0\exp\left[-\frac{\mu T}{\delta L}\right]+\frac{\delta D+\sigma^2}{\mu T}\right)$$
一起使用的错误反馈$\overline{\mathbb{E}}(?)\operatorname{E}(n=1),(?)\operatorname{E}(n\geq1)$ 的最佳已知结果进行比较可以注意到错误反馈的几个缺点(Alg。2)相对于普通 DCSGD(Alg。1)。第一个主要缺点是压缩$\delta$ 的效果不会随着节点数量的增加而降低。另一个缺点是,定理$\overline{\mathrm{E}}$2 意味着函数值和最后迭代的收敛,而不是仅针对函数值,因为它是 EF 的情况。最重要的是,与 EF 相比,定理$\overline{\mathrm{E}}$2 捕获的 DCSGD 速率不包含任何隐藏的多对数因子。DCSGD 的另一个实际优势是不需要为错误存储额外的向量,这将存储成本降低了两倍,使算法$\overline{\mathbb{E}}$1 成为具有数百万个参数的深度学习模型的可行选择最后,为了证明定理$\boxed{\mathrm{E}}$2 的收敛性,不需要假设标准的 $L$ -平滑度 ,而另一方面,$L$ -平滑度是证明一般压缩器收敛的重要组成部分由于存在偏差$\mathbb{E}(??)$。EF 可能优于普通 DCSGD 的唯一术语是$\mathcal{O}(\sigma^2/\mu T)$ ,其相应术语是$\mathcal{O}(\delta\sigma^2/n\mu T)$ 。这是由于 EF 补偿了误差,而标准压缩引人了额外的方差。请注意,这不是主要问题,因为假设$\delta/n=\mathcal{O}(1)$或$\sigma^2=0$ 是合理的,如果弱增长条件保持$\mathbb{E}(?)$,这是非常标准的假设,或者可以通过在本地计算全梯度或合并方差减少(例如 SVRGE(?))来消除$\sigma^2$的影响。在 4节中,我们还讨论了如何消除定理 2中$D$ 的影响。总而言之,这表明标准 DCSGD(算法$\mathbb{E}$1)在理论上比具有错误反馈的 DCSGD(算法E2)更适合$\mathcal{C}\in\mathbb{U}(\delta)$
3 INDUCED COMPRESSOR: FIXING BIAS WITH ERROR-COMPRESSION
在上一节中,我们展示了压缩的 DCSGD 在理论上优于具有$\mathcal{C}\in\mathcal{U}(\delta)$错误反馈的 DCSGD 不幸的是,$\mathbb{C}(\delta)\not\subset\mathbb{U}(\delta)$ ,一个例子是 Top- $K$压缩器 (??)。此压缩器属于$\mathbb{C}(\frac dK)$ ,但不属于任何$\delta$的 U($\delta)$。另一方面,文献中已经提出了 Top- $K$的多个无偏替代方案,包括梯度稀疏化(?)和自适应随机稀疏化(?)
诱导压缩机。我们现在提出一个 general mechanism for constructing an unbiased compressor $\mathcal{C} \in \mathbb{U} \textit{from any biased compressor C}_1\in \mathbb{C} .$ ,我们将争辩说,在理论和实践上,最好在DCSGD 中使用此 induced compressor ,而在 DCSGD 中使用原始偏置压缩器$\mathcal{C}_1$错误反馈
Theorem 3. $ForC_1\in\mathbb{C}(\delta_1)with\lambda=1,chooseC_2\in\mathbb{U}(\delta_2)$ and define the induced compressor
via
$$\mathcal{C}(x):=\mathcal{C}_{1}(x)+\mathcal{C}_{2}(x-\mathcal{C}_{1}(x)).$$
The induced compression operator satisfres $\mathcal{C}\in\mathbb{U}(\delta)$ with $\delta=\delta_2\left(1-1/\delta_1\right)+1/\delta_1.$
要获得有关此过程的一些直觉,请回顾错误反馈中使用的结构。梯度估计器首先用$\mathcal{C}_1(g)$ 压缩,误差$e=g-\mathcal{C}_1(g)$存储在内存中,用于在下一次迭代中修改梯度。在我们提出的方法中,不是存储错误$e$,而是使用无偏压缩器$C_2($可以将其视为允许灵活设计感应压缩器的参数)进行压缩,并传达这些压缩向量的both 。请注意,此过程会导致额外的方差,因为我们不使用确切的误差,而仅使用其无偏估计。另一方面,不存在需要纠正的偏差和错误积累。此外,由于我们的构造,至少与普通$\mathcal{C}_1(g)$ 的情况相同的信息量被发送到主机:实际上, 我们同时发送$\mathcal{C}_1(g)$ 和$\mathcal{C}_2(e)$ 。这样做的缺点是必须发送更多的位。但是,定理$\overline{\mathbb{E}}$3 通过选择无偏压缩机$\mathcal{C}_2$提供了产生感应压缩机的自由度。从理论上讲,选择具有与我们正在转换的压缩器$C_1$ 相似的压缩因子的$C_2$ 是有意义的,因为这样可以保留每次迭代的通信位总数, 最多可以保留两个因子
$Remark:$ ?提出的 rtop$_{k_1,k_2}(x,y)$运算符可以看作是我们具有$x= y$ , $\mathcal{C} _1=$ Top-$k_1$和
$\mathcal{C}_2=$Rand-$k_2$的诱导压缩器的特例
诱导压缩机的优点。根据 2节中的结果,我们认为,只要它们的方差$\delta$和通信复杂度相同就应该总是更喜欢无偏压缩器而不是有偏压缩器。。g。, Rand-$K$超过 Top- $K$ 。在实践中, 由于经验方差较低E(?), 在某些设置中观察到偏置/贪婪压缩机的性能更好。这些考虑因素对定理$\boxed{\mathrm{E}}3$ 具有实际意义,正如我们在以下示例中演示的那样。让我们考虑两个压缩器:一个偏置的$\mathcal{C}_1\in\mathbb{C}(\delta_1)$和一个无偏置的$\mathcal{C}_2\in\mathcal{U}(\delta_2)$ ,使得具有相同通信复杂度的$\delta_1=\delta_2=\delta$ 。g。, Top- $K$和 Rand- $K$ 。诱导压缩器$\mathcal{C}(x):=\mathcal{C}_1(x)+\mathcal{C}_2(x-\mathcal{C}_1(x))$属于 U$(\delta_3)$ ,其中
4 | [
[
"0.1748",
"0.0341",
"0.4763",
"0.0341",
"0.4763",
"0.0486",
"0.1748",
"0.0486"
],
[
"0.1772",
"0.1048",
"0.822",
"0.1048",
"0.822",
"0.1187",
"0.1772",
"0.1187"
],
[
"0.1765",
"0.1193",
"0.8228",
"0.1193",
"0.8228",
"0.1338",
"0.1765",
"0.1338"
],
[
"0.1765",
"0.1338",
"0.8228",
"0.1338",
"0.8228",
"0.1483",
"0.1765",
"0.1483"
],
[
"0.1765",
"0.1483",
"0.3708",
"0.1483",
"0.3708",
"0.1622",
"0.1765",
"0.1622"
],
[
"0.1748",
"0.1704",
"0.523",
"0.1704",
"0.523",
"0.1843",
"0.1748",
"0.1843"
],
[
"0.3218",
"0.1932",
"0.6724",
"0.1895",
"0.6724",
"0.2172",
"0.3218",
"0.2216"
],
[
"0.6274",
"0.2058",
"0.653",
"0.2058",
"0.653",
"0.2134",
"0.6274",
"0.2134"
],
[
"0.1814",
"0.2317",
"0.1896",
"0.2317",
"0.1896",
"0.2349",
"0.1814",
"0.2349"
],
[
"0.1847",
"0.226",
"0.822",
"0.226",
"0.822",
"0.2393",
"0.1847",
"0.2393"
],
[
"0.1765",
"0.2393",
"0.6045",
"0.2393",
"0.6045",
"0.254",
"0.1765",
"0.254"
],
[
"0.615",
"0.2412",
"0.822",
"0.2412",
"0.822",
"0.252",
"0.615",
"0.252"
],
[
"0.1765",
"0.254",
"0.822",
"0.254",
"0.822",
"0.2676",
"0.1765",
"0.2676"
],
[
"0.1765",
"0.2676",
"0.8228",
"0.2676",
"0.8228",
"0.281",
"0.1765",
"0.281"
],
[
"0.1772",
"0.2822",
"0.8228",
"0.2822",
"0.8228",
"0.2954",
"0.1772",
"0.2954"
],
[
"0.1765",
"0.2942",
"0.8203",
"0.2942",
"0.8203",
"0.308",
"0.1765",
"0.308"
],
[
"0.1772",
"0.3113",
"0.8203",
"0.3113",
"0.8203",
"0.3213",
"0.1772",
"0.3213"
],
[
"0.1912",
"0.324",
"0.8228",
"0.324",
"0.8228",
"0.3372",
"0.1912",
"0.3372"
],
[
"0.1765",
"0.336",
"0.8203",
"0.336",
"0.8203",
"0.3499",
"0.1765",
"0.3499"
],
[
"0.1772",
"0.351",
"0.8228",
"0.351",
"0.8228",
"0.3643",
"0.1772",
"0.3643"
],
[
"0.1765",
"0.3623",
"0.8228",
"0.3643",
"0.8228",
"0.379",
"0.1765",
"0.377"
],
[
"0.1765",
"0.377",
"0.822",
"0.3774",
"0.822",
"0.3926",
"0.1765",
"0.3914"
],
[
"0.1772",
"0.3926",
"0.8228",
"0.3926",
"0.8228",
"0.406",
"0.1772",
"0.406"
],
[
"0.1765",
"0.406",
"0.556",
"0.406",
"0.556",
"0.4192",
"0.1765",
"0.4192"
],
[
"0.1748",
"0.4414",
"0.773",
"0.4414",
"0.773",
"0.455",
"0.1748",
"0.455"
],
[
"0.1748",
"0.473",
"0.819",
"0.473",
"0.819",
"0.486",
"0.1748",
"0.486"
],
[
"0.1765",
"0.488",
"0.822",
"0.488",
"0.822",
"0.502",
"0.1765",
"0.502"
],
[
"0.1748",
"0.502",
"0.822",
"0.5024",
"0.822",
"0.5176",
"0.1748",
"0.5166"
],
[
"0.1732",
"0.5176",
"0.415",
"0.5176",
"0.415",
"0.531",
"0.1732",
"0.531"
],
[
"0.1772",
"0.5386",
"0.8203",
"0.5386",
"0.8203",
"0.553",
"0.1772",
"0.553"
],
[
"0.1748",
"0.5503",
"0.8228",
"0.552",
"0.8228",
"0.5664",
"0.1748",
"0.565"
],
[
"0.1748",
"0.565",
"0.806",
"0.5664",
"0.806",
"0.5806",
"0.1748",
"0.58"
],
[
"0.1765",
"0.5854",
"0.8228",
"0.5854",
"0.8228",
"0.5986",
"0.1765",
"0.5986"
],
[
"0.1772",
"0.6016",
"0.1953",
"0.6016",
"0.1953",
"0.6113",
"0.1772",
"0.6113"
],
[
"0.3906",
"0.613",
"0.6055",
"0.613",
"0.6055",
"0.627",
"0.3906",
"0.627"
],
[
"0.1748",
"0.632",
"0.7256",
"0.632",
"0.7256",
"0.646",
"0.1748",
"0.646"
],
[
"0.1748",
"0.657",
"0.8228",
"0.6577",
"0.8228",
"0.6724",
"0.1748",
"0.672"
],
[
"0.1748",
"0.672",
"0.822",
"0.672",
"0.822",
"0.685",
"0.1748",
"0.685"
],
[
"0.1772",
"0.688",
"0.8203",
"0.688",
"0.8203",
"0.6987",
"0.1772",
"0.6987"
],
[
"0.1765",
"0.6997",
"0.822",
"0.6997",
"0.822",
"0.7134",
"0.1765",
"0.7134"
],
[
"0.1765",
"0.7134",
"0.8228",
"0.7134",
"0.8228",
"0.7266",
"0.1765",
"0.7266"
],
[
"0.1772",
"0.728",
"0.822",
"0.728",
"0.822",
"0.741",
"0.1772",
"0.741"
],
[
"0.1765",
"0.741",
"0.8228",
"0.741",
"0.8228",
"0.755",
"0.1765",
"0.755"
],
[
"0.1748",
"0.754",
"0.8203",
"0.754",
"0.8203",
"0.7676",
"0.1748",
"0.7676"
],
[
"0.1765",
"0.7695",
"0.8228",
"0.7695",
"0.8228",
"0.7827",
"0.1765",
"0.7827"
],
[
"0.1772",
"0.784",
"0.339",
"0.784",
"0.339",
"0.7944",
"0.1772",
"0.7944"
],
[
"0.1724",
"0.8003",
"0.826",
"0.802",
"0.826",
"0.8228",
"0.1724",
"0.8213"
],
[
"0.1765",
"0.8213",
"0.4192",
"0.8213",
"0.4192",
"0.832",
"0.1765",
"0.832"
],
[
"0.179",
"0.8433",
"0.8203",
"0.8433",
"0.8203",
"0.854",
"0.179",
"0.854"
],
[
"0.1772",
"0.857",
"0.54",
"0.857",
"0.54",
"0.867",
"0.1772",
"0.867"
],
[
"0.5415",
"0.855",
"0.822",
"0.854",
"0.822",
"0.8687",
"0.5415",
"0.869"
],
[
"0.1765",
"0.869",
"0.822",
"0.869",
"0.822",
"0.8833",
"0.1765",
"0.8833"
],
[
"0.1772",
"0.8853",
"0.8",
"0.8853",
"0.8",
"0.896",
"0.1772",
"0.896"
],
[
"0.1765",
"0.898",
"0.824",
"0.898",
"0.824",
"0.911",
"0.1765",
"0.911"
],
[
"0.1732",
"0.911",
"0.822",
"0.91",
"0.822",
"0.925",
"0.1732",
"0.9253"
],
[
"0.4927",
"0.9478",
"0.5073",
"0.952",
"0.5024",
"0.962",
"0.4878",
"0.9585"
]
] | [
"Published as a conference paper at ICLR 2021",
"如果=1(无压缩),定理E2恢复分布式SGDE(?)的最佳速率。如果>1,则收敛速",
"度中有一个额外的项(8n-1)D,这是由于数据的异质性而出现的(Z=1Vf:(c*)=0,但",
"通常是-,C(Vf(α*))0)。此外,由于存在导致L→onL和/n→/n的压缩,速",
"率受到额外方差的负面影响",
"接下来,我们将我们的速率与与CEU()CC()",
"[(T)-] =(Lrexp[-] +)",
"LT",
"",
"一起使用的错误反馈E(?)E(n=1),(?)E(n≥1)的最佳已知结果进行比较可以注意",
"到错误反馈的几个缺点(Alg。2)相对于普通DCSGD(Alg。",
"1)。第一个主要缺点是压缩8",
"的效果不会随着节点数量的增加而降低。另一个缺点是,定理E2意味着函数值和最后选代",
"的收敛,而不是仅针对函数值,因为它是EF的情况。最重要的是,与EF相比,定理E2捕",
"获的DCSGD速率不包含任何隐藏的多对数因子。DCSGD的另一个实际优势是不需要为错",
"误存储额外的向量,这将存储成本降低了两倍,使算法E1成为具有数百万个参数的深度学",
"习模型的可行选择最后,为了证明定理2的收敛性,不需要假设标准的L-平滑度,而另",
"方面,L-平滑度是证明一般压缩器收敛的重要组成部分由于存在偏差E(??)。EF可能优",
"于普通DCSGD的唯一术语是O(/μT),其相应术语是O8α/nμT)。这是由于EF补偿了",
"误差,而标准压缩引人了额外的方差。请注意,这不是主要问题,因为假设n三O(1)或",
"。2二0是合理的,如果弱增长条件保持E(?),这是非常标准的假设,或者可以通过在本地",
"计算全梯度或合并方差减少(例如SVRGE(?))来消除²的影响。在4节中,我们还讨",
"论了如何消除定理2中D的影响。总而言之,这表明标准DCSGD(算法E1)在理论上比",
"具有错误反馈的DCSGD(算法E2)更适合CEU()",
"3INDUCEDCOMPRESSOR:FIXINGBIASWITHERROR-COMPRESSION",
"在上一节中,我们展示了压缩的DCSGD在理论上优于具有CEU()错误反馈的DCSGD",
"不幸的是,C(S)±U(),一个例子是Top-K压缩器(??)。此压缩器属于C(),但不属",
"于任何的U()。另一方面,文献中已经提出了Top-K的多个无偏替代方案,包括梯度稀",
"疏化(?)和自适应随机稀疏化(?)",
"诱导压缩机。我们现在提出一个generalmechanismforconstructinganunbiasedcompresson",
"CEUfromanybiasedcompressorCiEC,,我们将争辩说,在理论和实践上,最好在",
"DCSGD中使用此inducedcompressor,而在DCSGD中使用原始偏置压缩器Ci错误反馈",
"Theorem 3. For Ci E C(i) with ^ = 1 , choose C2 E U(82) and define the induced compressor",
"via",
"C(r) := Ci(r) + C2(α - Ci(α))",
"The induced compression operator satisfies C EU()with=2 (1-1/s)+1/si :",
"要获得有关此过程的一些直觉,请回顾错误反馈中使用的结构。梯度估计器首先用Ci(9)压",
"缩,误差e=9一Ci(9)存储在内存中,用于在下一次选代中修改梯度。在我们提出的方法",
"中,不是存储错误e,而是使用无偏压缩器C2(可以将其视为充许灵活设计感应压缩器的",
"参数)进行压缩,并传达这些压缩向量的both。请注意,此过程会导致额外的方差,因为",
"我们不使用确切的误差,而仅使用其无偏估计。另一方面,不存在需要纠正的偏差和错误积",
"累。此外,由于我们的构造,至少与普通Ci(9)的情况相同的信息量被发送到主机:实际上",
"我们同时发送Ci(9)和C2(e)。这样做的缺点是必须发送更多的位。但是,定理E3通过选",
"择无偏压缩机C2提供了产生感应压缩机的自由度。从理论上讲,选择具有与我们正在转换",
"的压缩器C1相似的压缩因子的C2是有意义的,因为这样可以保留每次迭代的通信位总数,",
"最多可以保留两个因子",
"Remark:?提出的rtophi,bz(a,)运算符可以看作是我们具有a=y,Ci=Top-ki和",
"C2=Rand-k2的诱导压缩器的特例",
"诱导压缩机的优点。根据2节中的结果,我们认为,只要它们的方差。和通信复杂度相同",
"就应该总是更喜欢无偏压缩器而不是有偏压缩器。。",
"g。,Rand-K超过Top-K。在实践中",
"由于经验方差较低E?),在某些设置中观察到偏置/贪婪压缩机的性能更好。这些考虑因素",
"对定理E3具有实际意义,正如我们在以下示例中演示的那样。让我们考虑两个压缩器:",
"个偏置的C1EC(1)和一个无偏置的C2EU(82),使得具有相同通信复杂度的81=82=",
"。g。,Top-K和Rand-K。诱导压缩器C(α):=Ci()+C2(-Ci(r))属于U(3),其中",
"4"
] | {
"arxiv_id": "2006.11077",
"language": "zh",
"page_idx": 3
} |
||
2006.11077-zh-4 | 2006.11077-zh-4.jpg | $\underline{\text{Published as a conference paper at ICLR 2021}}$
<FigureHere>
Figure 1: Comparison of Top- 1 (+ EF) and NU Rand- 1 on Example 1 from ?
$\delta_3=\delta-\left(1-\frac1\delta\right)<\delta.$ 当传输消息的大小加倍时,可以使用算法$\mathbb{E}$1,因为$\mathcal{C}$ 是无偏的,它提供了比算法更好的收敛保证$\overline{\mathrm{E}}$2。基于诱导压缩器的构造,人们可能会期望我们需要额外的内存,因为需要存储“错误”$e=g-\mathcal{C}_1(g)$,但仅在计算期间。这不是一个问题,因为DNN 的压缩器总是逐层应用$\mathbb{E}(?)$, 因此额外内存的大小可以忽略不计。它对 EF 没有帮助, 因为需要随时为每个层存储错误
## 4 EXTENSIONS
我们现在开发与分布式优化相关的算法$\operatorname{El}$1 的几个扩展,特别是联邦学习。由于我们的方法简单,这一切都是可能的。请注意,在错误反馈的情况下,这些扩展尚未获得,或者类似于$\operatorname{E2}$ 节,与我们导出的无偏压缩器的边界相比,结果更差
节点上任意分布的部分参与。在本节中,我们将结果扩展到使用 partial participation 的DCSGD 的变体,这与联合学习密切相关。在此框架中,在每个通信回合中,所有节点中只有一个子集与主节点通信。以前曾分析过这种框架,但仅适用于均匀二次采样$\mathbb{E}(\mathbf{?}\mathbf{?})$ 的情况。在我们的工作中,我们考虑了一个更通用的部分参与框架:我们假设参与客户端的子集是由一个固定的但在其他方面是任意的随机集值映射$\mathbb{S}$ (“采样”)确定的,其值在 2$^{[n]}$ 中, 其中$[n]=\{1,2,\ldots,n\}$。据我们所知,这是FL的第一个部分参与结果,其中考虑了节点上的任意分布。另一方面,这不是第一个使用任意抽样范式的工作;这是在其他情况下使用的,例如。g。,用于获得坐标下降(?)、原始对偶方法(?)和方差缩减(?)的重要性抽样保证
请注意,采样$S$是通过将概率分配给 $[n]$ 的所有 $2^n$ 子集来唯一定义的。对于每个采样 S $\begin{array}{ll}\text{,我们关联一个由 P}_{ij}:=\mathrm{Prob}(\{i,j\}\subseteq\mathbb{S})\text{定义的 }probabilitymarix~\mathbb{P}\in\mathbb{R}^{n\times n}。\text{与 }\mathbb{S}\text{关}\\\text{联的 probability vector 是由 P}:p=(p_1,\ldots,p_n)\in\mathbb{R}^n\text{ 的对角线条目组成的向量,其中}\end{array}$ $p_{i}:=$Prob$(i\in\mathbb{S})$。我们说 S 是proper如果$p_i>0$为所有$i$。很容易显示$b:=\mathbb{E}[|\mathbb{S}|]=$ $\operatorname { Trace} \left ( \mathrm{P} \right ) = \sum _{i= 1}^{n}p_{i}$ , 因此 $b$ 可以看作是参与每个通信回合的客户端的预期数量
由于这种扩展,有两个算法变化:Algorithm 1 的行 4 不迭代每个节点,仅迭代节点$i\in S^k$ ,其中$S^k\sim\mathbb{S}$,并且调整行 9 中的聚合步骤以导致梯度的无偏估计,从而给出 $\Delta_k=$ $\sum_{i\in S^{k}}^{\prime}\frac{1}{np_{i}}\Delta_{i}^{k}$
为了证明收敛性,我们利用以下引理
Lemma 4(Lemma 1, ?). Let $\zeta_1,\zeta_2,\ldots,\zeta_n$ be vectors in $\mathbb{R}^d$ and let $\bar{\zeta}:=\frac1n\sum_{i=1}^n\zeta_i$ be their
average. Let S be a proper sampling. Then there exists $v\in\mathbb{R}^n$ such
$$\mathrm{P}-pp^\top\preceq Diag\left(p_1v_1,p_2v_2,\ldots,p_nv_n\right).$$
$Moreover,ifS\sim\mathbb{S},then$
(8)
(9)
$$\operatorname{E}\left[\left\|\sum_{i\in S}\frac{\zeta_i}{np_i}-\bar{\zeta}\right\|^2\right]\leq\frac{1}{n^2}\sum_{i=1}^n\frac{v_i}{p_i}\|\zeta_i\|^2.$$
以下定理建立了部分参与的算法$\boxed{\mathrm{F}}$1 的收敛速度
$\textbf{Theorem 5. Let Assumptions }1- 3$ hold and C $\in\mathbb{U}(\delta),then$ there exist stepsizes $\eta^k\leq\frac1{2\delta_{\mathrm{S}}L}$ and
$weights~w^{k}\geq0~such~that$
$$\operatorname{E}\left[f(\bar{x}^T)-f^\star\right]+\mu\operatorname{E}\left[\left\|x^T-x^\star\right\|^2\right]\leq64\delta_{\mathbb{S}}Lr^0\exp\left[-\frac{\mu T}{4\delta_{\mathbb{S}}L}\right]+36\frac{(\delta_{\mathbb{S}}-1)D+(1+a_{\mathbb{S}})^{\delta\sigma^2/n}}{\mu T}$$
5 | [
[
"0.1765",
"0.0341",
"0.4763",
"0.0341",
"0.4763",
"0.04736",
"0.1765",
"0.04736"
],
[
"0.574",
"0.1111",
"0.6006",
"0.1111",
"0.6006",
"0.1187",
"0.574",
"0.1187"
],
[
"0.339",
"0.11743",
"0.38",
"0.11743",
"0.38",
"0.1276",
"0.339",
"0.1276"
],
[
"0.576",
"0.11743",
"0.614",
"0.11743",
"0.614",
"0.1276",
"0.576",
"0.1276"
],
[
"0.3406",
"0.1276",
"0.3586",
"0.1276",
"0.3586",
"0.1351",
"0.3406",
"0.1351"
],
[
"0.527",
"0.1276",
"0.54",
"0.1276",
"0.54",
"0.1383",
"0.527",
"0.1383"
],
[
"0.5767",
"0.1288",
"0.591",
"0.1288",
"0.591",
"0.1332",
"0.5767",
"0.1332"
],
[
"0.511",
"0.1401",
"0.5156",
"0.1401",
"0.5156",
"0.1654",
"0.511",
"0.1654"
],
[
"0.5293",
"0.1401",
"0.54",
"0.1401",
"0.54",
"0.1515",
"0.5293",
"0.1515"
],
[
"0.4763",
"0.202",
"0.4885",
"0.202",
"0.4885",
"0.2084",
"0.4763",
"0.2084"
],
[
"0.6406",
"0.202",
"0.6543",
"0.2026",
"0.6543",
"0.207",
"0.6406",
"0.2058"
],
[
"0.384",
"0.2026",
"0.4084",
"0.2026",
"0.4084",
"0.2102",
"0.384",
"0.2102"
],
[
"0.3464",
"0.2026",
"0.3594",
"0.2026",
"0.3594",
"0.207",
"0.3464",
"0.207"
],
[
"0.4084",
"0.2026",
"0.4224",
"0.2026",
"0.4224",
"0.207",
"0.4084",
"0.207"
],
[
"0.581",
"0.2026",
"0.591",
"0.2026",
"0.591",
"0.207",
"0.581",
"0.207"
],
[
"0.6772",
"0.2026",
"0.6914",
"0.2026",
"0.6914",
"0.207",
"0.6772",
"0.207"
],
[
"0.699",
"0.2026",
"0.706",
"0.2026",
"0.706",
"0.2058",
"0.699",
"0.2058"
],
[
"0.706",
"0.2026",
"0.7183",
"0.2026",
"0.7183",
"0.207",
"0.706",
"0.207"
],
[
"0.2345",
"0.2317",
"0.761",
"0.2317",
"0.761",
"0.2456",
"0.2345",
"0.2456"
],
[
"0.1765",
"0.2708",
"0.8228",
"0.2708",
"0.8228",
"0.2842",
"0.1765",
"0.2842"
],
[
"0.1772",
"0.2874",
"0.822",
"0.2874",
"0.822",
"0.3005",
"0.1772",
"0.3005"
],
[
"0.1772",
"0.3005",
"0.822",
"0.3005",
"0.822",
"0.315",
"0.1772",
"0.315"
],
[
"0.1772",
"0.3145",
"0.8228",
"0.3145",
"0.8228",
"0.3276",
"0.1772",
"0.3276"
],
[
"0.1765",
"0.3289",
"0.406",
"0.3289",
"0.406",
"0.3423",
"0.1765",
"0.3423"
],
[
"0.1732",
"0.3623",
"0.3203",
"0.3623",
"0.3203",
"0.377",
"0.1732",
"0.377"
],
[
"0.1748",
"0.3933",
"0.8228",
"0.3945",
"0.8228",
"0.4077",
"0.1748",
"0.4072"
],
[
"0.1765",
"0.4077",
"0.8228",
"0.4077",
"0.8228",
"0.4216",
"0.1765",
"0.4216"
],
[
"0.1748",
"0.4204",
"0.5986",
"0.4216",
"0.5986",
"0.435",
"0.1748",
"0.4343"
],
[
"0.1765",
"0.4414",
"0.8228",
"0.4426",
"0.8228",
"0.4558",
"0.1765",
"0.455"
],
[
"0.1765",
"0.4558",
"0.8228",
"0.4558",
"0.8228",
"0.4697",
"0.1765",
"0.4697"
],
[
"0.1765",
"0.4702",
"0.822",
"0.4702",
"0.822",
"0.4841",
"0.1765",
"0.4841"
],
[
"0.1765",
"0.4841",
"0.8228",
"0.4841",
"0.8228",
"0.4976",
"0.1765",
"0.4976"
],
[
"0.1748",
"0.4976",
"0.822",
"0.4968",
"0.822",
"0.5103",
"0.1748",
"0.511"
],
[
"0.1772",
"0.512",
"0.822",
"0.512",
"0.822",
"0.526",
"0.1772",
"0.526"
],
[
"0.1765",
"0.526",
"0.822",
"0.526",
"0.822",
"0.539",
"0.1765",
"0.539"
],
[
"0.1765",
"0.5405",
"0.8228",
"0.5405",
"0.8228",
"0.5537",
"0.1765",
"0.5537"
],
[
"0.1772",
"0.556",
"0.1929",
"0.556",
"0.1929",
"0.565",
"0.1772",
"0.565"
],
[
"0.1772",
"0.577",
"0.8228",
"0.577",
"0.8228",
"0.587",
"0.1772",
"0.587"
],
[
"0.1887",
"0.587",
"0.755",
"0.584",
"0.755",
"0.6016",
"0.1887",
"0.605"
],
[
"0.755",
"0.5884",
"0.822",
"0.5903",
"0.822",
"0.6016",
"0.755",
"0.5996"
],
[
"0.1765",
"0.6016",
"0.822",
"0.6016",
"0.822",
"0.616",
"0.1765",
"0.616"
],
[
"0.1748",
"0.616",
"0.8228",
"0.6157",
"0.8228",
"0.63",
"0.1748",
"0.631"
],
[
"0.1732",
"0.6274",
"0.7466",
"0.629",
"0.7466",
"0.6465",
"0.1732",
"0.646"
],
[
"0.1765",
"0.653",
"0.822",
"0.6514",
"0.822",
"0.6665",
"0.1765",
"0.6675"
],
[
"0.1854",
"0.6665",
"0.8203",
"0.6665",
"0.8203",
"0.681",
"0.1854",
"0.681"
],
[
"0.1732",
"0.6816",
"0.273",
"0.678",
"0.2737",
"0.6963",
"0.1748",
"0.7007"
],
[
"0.1765",
"0.7056",
"0.437",
"0.7056",
"0.437",
"0.7197",
"0.1765",
"0.7197"
],
[
"0.1724",
"0.7217",
"0.824",
"0.72",
"0.824",
"0.738",
"0.1724",
"0.7393"
],
[
"0.1732",
"0.738",
"0.621",
"0.7363",
"0.621",
"0.7505",
"0.1732",
"0.7524"
],
[
"0.353",
"0.755",
"0.6406",
"0.757",
"0.6406",
"0.7744",
"0.353",
"0.773"
],
[
"0.8037",
"0.7583",
"0.824",
"0.7583",
"0.824",
"0.773",
"0.8037",
"0.773"
],
[
"0.1732",
"0.7764",
"0.3423",
"0.7764",
"0.3423",
"0.7905",
"0.1732",
"0.7905"
],
[
"0.4968",
"0.8003",
"0.6313",
"0.8003",
"0.6313",
"0.8384",
"0.4968",
"0.8384"
],
[
"0.3774",
"0.815",
"0.3882",
"0.815",
"0.3882",
"0.8193",
"0.3774",
"0.8193"
],
[
"0.8037",
"0.8096",
"0.826",
"0.8096",
"0.826",
"0.8237",
"0.8037",
"0.8237"
],
[
"0.3945",
"0.8193",
"0.4558",
"0.8125",
"0.4592",
"0.827",
"0.398",
"0.834"
],
[
"0.1772",
"0.8516",
"0.511",
"0.8516",
"0.511",
"0.8623",
"0.1772",
"0.8623"
],
[
"0.1748",
"0.866",
"0.826",
"0.866",
"0.826",
"0.884",
"0.1748",
"0.884"
],
[
"0.1765",
"0.8853",
"0.343",
"0.8853",
"0.343",
"0.8984",
"0.1765",
"0.8984"
],
[
"0.1993",
"0.906",
"0.7935",
"0.901",
"0.7935",
"0.9253",
"0.1993",
"0.931"
],
[
"0.4944",
"0.9497",
"0.5063",
"0.9497",
"0.5063",
"0.961",
"0.4944",
"0.961"
]
] | [
"Published as a conference paper at ICLR 2021",
"NURar",
"Top-1 + EF",
"Fop-1+E",
"Top-",
"101",
"on",
"AA",
"10",
"10(",
"160",
"10",
"20",
"60",
"20",
"80",
"",
"10",
"Figure 1: Comparison of Top- 1 (+ EF) and NU Rand- 1 on Example 1 from ?",
"83=8-(1-)<8.当传输消息的大小加倍时,可以使用算法E1,因为C是无偏的,它",
"提供了比算法更好的收敛保证E2。基于诱导压缩器的构造,人们可能会期望我们需要额外",
"的内存,因为需要存储“错误”e=g一Ci(g),但仅在计算期间。这不是一个问题,因为",
"DNN的压缩器总是逐层应用E(?),因此额外内存的大小可以忽略不计。它对EF没有帮助,",
"因为需要随时为每个层存储错误",
"4EXTENSIONS",
"我们现在开发与分布式优化相关的算法E1的几个扩展,特别是联邦学习。由于我们的方法",
"简单,这一切都是可能的。请注意,在错误反馈的情况下,这些扩展尚未获得,或者类似",
"于E2节,与我们导出的无偏压缩器的边界相比,结果更差",
"节点上任意分布的部分参与。在本节中,我们将结果扩展到使用partialparticipation的",
"DCSGD的变体,这与联合学习密切相关。在此框架中,在每个通信回合中,所有节点中只",
"有一个子集与主节点通信。以前曾分析过这种框架,但仅适用于均匀二次采样E(??)的情",
"况。在我们的工作中,我们考虑了一个更通用的部分参与框架:我们假设参与客户端的子集",
"是由一个固定的但在其他方面是任意的随机集值映射S(“采样”)确定的,其值在2[nl中",
"其中[n]=1,2,...,n]。据我们所知,这是FL的第一个部分参与结果,其中考虑了节点上",
"的任意分布。另一方面,这不是第一个使用任意抽样范式的工作;这是在其他情况下使用",
"的,例如。g。,用于获得坐标下降(?)原始对偶方法(?)和方差缩减(?)的重要性抽样保",
"证",
"请注意,采样S是通过将概率分配给n的所有2?子集来唯一定义的。对于每个采样S",
"我们关联一个由P=Prob(i,)S)定义的probabilitymatrixPRnxn",
"与S关",
"联的probabilityvector是由P:p=(pi,..,Pn)ERn的对角线条目组成的向量,其中",
"Pi=Prob(iES)。我们说S是proper如果pi>0为所有i。很容易显示b=E[S]=",
"Trace(P)=En-ipi,因此b可以看作是参与每个通信回合的客户端的预期数量",
"由于这种扩展,有两个算法变化:Algorithm1的行4不选代每个节点,仅迭代节点iESh",
"其中Sk~S,并且调整行9中的聚合步骤以导致梯度的无偏估计,从而给出△=",
"EiestnA",
"为了证明收敛性,我们利用以下引理",
"Lemma 4 (Lemma 1, ?). Let Gi, S2,..., Sn be vectors in IRd and let := Zr-, Si be their",
"average. Let S be a proper sampling. Then there exists w Rn such",
"P- ppT =Diag (piU1, P22, ..., PnUn)",
"(8)",
"Moreover, if S~S, then",
"IGI",
"",
"(9)",
"lesnpi",
"以下定理建立了部分参与的算法E1的收敛速度",
"Theorem 5. Let Assumptions 1 - 3 hold and C e U(0) , then there exist stepsizes nk ≤ 2L and",
"weights wk≥0 suchthat",
"E[(T) - f] + μE [a - *] 648sLr° exp [ + 36 (-1)D+(+a) 0/~,",
"5"
] | {
"arxiv_id": "2006.11077",
"language": "zh",
"page_idx": 4
} |
||
2003.11523-zh-0 | 2003.11523-zh-0.jpg | $\underline{\text{Published as a conference paper at ICLR 2020}}$
具有迁移学习的 Tigrinya 神经机器翻译用于人道主义
# 响应
$\operatorname*{Alp}_{\mathrm{T}}$Öktem, Mirko Plitt $\&$ Grace Tang
Translators without Borders
30 Main Street STE 500 $\mathop{\mathrm{Danbury,~CT~06810,~USA}}$ $\{$ alp,mirko,grace $\}$ @translatorswithoutborders.org
# $\operatorname{Abstract}$
We report our experiments in building a domain-specific Tigrinya-to- $\bar{\text{English neural machine translation system. We use transfer learning from}}$ other Ge'ez script languages and report an improvement of 1.3 BLEU points over a classic neural baseline. We publish our development pipeline as an open-source library and also provide a demonstration application.
## 1 Introduction
Tigrinya (也拼写为 Tigrigna) 是一种埃塞俄比亚语言,大约由 7。厄立特里亚和埃塞俄比亚有 900 万人。它既不受任何商业机器翻译(MT)提供商的支持,也没有任何公开可用的模型。说 Tigrinya 的难民在抵达欧洲时面临语言和沟通障碍。MT 系统可以改善信息获取并实现双向通信,从而使难民有发言权并可以分享他们的需求
Tigrinya 的复杂形态结构使其对统计 MT (Tedla &Yamamoto, 2016; Teferra Abate et al. 2018)特别具有挑战性。另一方面,神经 MT 可以通过子字分割 (Sennrich et al., 2016) 等方法克服这些问题,并导致更准确的模型 (Kalchbrenner & Blunsom, 2013; Bahdanau et al. 2015) 。众所周知,这是一种数据饥渴的技术,由于最近发布的公共数据集 (Agić & Vulić, 2019; Teferra Abate et al., 2018) , 现在可以为 Tigrinya 训练基于神经的 MT。神经 MT 的一个优势是跨语言迁移学习 (Zoph et al., 2016) 和多语言训练 (Dong et al., 2015) 等技术的可用性,这些技术有助于利用来自其他语言的数据,特别适用于低资源场景 (Neubig &Hu, 2018)
在本文中,我们解释了使用 Ge'ez 脚本语言的公开可用数据集从 Tigrinya 到英语的神经MT 模型的开发。我们的模型进一步适应人道主义领域,以提高无国界翻译人员(TWB)的翻译能力,这是一个为人道主义和发展机构以及其他非营利组织提供语言和翻译支持的非营利组织
# 2 Experiments
2.1 Data
我们从 TWB 翻译记忆库中的句子中收集了一个内部数据集。此数据集既用于域内训练,也用于测试。随机选择 200 个不同长度的句子作为测试集。表 1 中列出了这项工作中使用的公共并行语料库的其他来源
# 2.2 Experimental setup
基于迁移学习的培训过程包括三个阶段。首先,我们在所有数据集的混洗混合上训练模型, 总共为 1。4500 万句。其次,我们仅使用混合的 Tigrinya 部分(438,000个句子)对 Tigrinya 上的模型进行微调。在第三阶段,我们对内部数据的训练分区进行微调(2,300 个句子)。作为基线,我们跳过第一个多语言训练步骤,只使用 Tigrinya 数据。该模型稍后以相同的方式微调到域内数据
OpenNMT-py 工具包(Klein et al., 2018) 用于训练模型。该模型由一个 8 头变压器 (Vaswani et al.,2017) 组成,具有 512 单位大小的 6 层隐藏单元。分别为多语言,单语言和域内培训
1 | [
[
"0.1765",
"0.0341",
"0.5073",
"0.0341",
"0.5073",
"0.0486",
"0.1765",
"0.0486"
],
[
"0.1805",
"0.1048",
"0.819",
"0.1048",
"0.819",
"0.1225",
"0.1805",
"0.1225"
],
[
"0.1765",
"0.13",
"0.232",
"0.13",
"0.232",
"0.1497",
"0.1765",
"0.1497"
],
[
"0.1854",
"0.1755",
"0.4631",
"0.1768",
"0.4631",
"0.1913",
"0.1854",
"0.1901"
],
[
"0.1847",
"0.1901",
"0.3882",
"0.1925",
"0.3882",
"0.2058",
"0.1847",
"0.2039"
],
[
"0.1847",
"0.2052",
"0.361",
"0.2052",
"0.361",
"0.2184",
"0.1847",
"0.2184"
],
[
"0.1847",
"0.2197",
"0.3694",
"0.2197",
"0.3694",
"0.2329",
"0.1847",
"0.2329"
],
[
"0.1896",
"0.2343",
"0.558",
"0.2343",
"0.558",
"0.2474",
"0.1896",
"0.2474"
],
[
"0.4631",
"0.2842",
"0.5376",
"0.2842",
"0.5376",
"0.2986",
"0.4631",
"0.2986"
],
[
"0.2345",
"0.3132",
"0.763",
"0.3132",
"0.763",
"0.3276",
"0.2345",
"0.3276"
],
[
"0.2336",
"0.3276",
"0.7646",
"0.3276",
"0.7646",
"0.3416",
"0.2336",
"0.3416"
],
[
"0.2345",
"0.3423",
"0.7646",
"0.3423",
"0.7646",
"0.3567",
"0.2345",
"0.3567"
],
[
"0.2345",
"0.356",
"0.7646",
"0.356",
"0.7646",
"0.3694",
"0.2345",
"0.3694"
],
[
"0.2345",
"0.3694",
"0.7036",
"0.3694",
"0.7036",
"0.3838",
"0.2345",
"0.3838"
],
[
"0.1724",
"0.4072",
"0.3179",
"0.4077",
"0.3179",
"0.4224",
"0.1724",
"0.4216"
],
[
"0.1765",
"0.4382",
"0.822",
"0.4382",
"0.822",
"0.452",
"0.1765",
"0.452"
],
[
"0.1765",
"0.452",
"0.8203",
"0.452",
"0.8203",
"0.4653",
"0.1765",
"0.4653"
],
[
"0.1765",
"0.4666",
"0.8228",
"0.4666",
"0.8228",
"0.4797",
"0.1765",
"0.4797"
],
[
"0.1748",
"0.4797",
"0.6167",
"0.4797",
"0.6167",
"0.4937",
"0.1748",
"0.4937"
],
[
"0.1765",
"0.5005",
"0.8203",
"0.5005",
"0.8203",
"0.5146",
"0.1765",
"0.5146"
],
[
"0.1765",
"0.5146",
"0.822",
"0.5146",
"0.822",
"0.528",
"0.1765",
"0.528"
],
[
"0.1765",
"0.529",
"0.8203",
"0.529",
"0.8203",
"0.5425",
"0.1765",
"0.5425"
],
[
"0.1765",
"0.5425",
"0.822",
"0.5425",
"0.822",
"0.556",
"0.1765",
"0.556"
],
[
"0.1748",
"0.556",
"0.822",
"0.556",
"0.822",
"0.5693",
"0.1748",
"0.5693"
],
[
"0.1896",
"0.5684",
"0.822",
"0.5693",
"0.822",
"0.584",
"0.1896",
"0.5835"
],
[
"0.1772",
"0.584",
"0.8228",
"0.584",
"0.8228",
"0.5977",
"0.1772",
"0.5977"
],
[
"0.1748",
"0.5967",
"0.2141",
"0.5986",
"0.2133",
"0.6113",
"0.1732",
"0.6094"
],
[
"0.1748",
"0.6187",
"0.822",
"0.619",
"0.822",
"0.6333",
"0.1748",
"0.632"
],
[
"0.1765",
"0.6333",
"0.822",
"0.6333",
"0.822",
"0.6465",
"0.1765",
"0.6465"
],
[
"0.1772",
"0.6465",
"0.8228",
"0.6465",
"0.8228",
"0.66",
"0.1772",
"0.66"
],
[
"0.1748",
"0.6577",
"0.246",
"0.66",
"0.246",
"0.675",
"0.1748",
"0.6724"
],
[
"0.1724",
"0.6895",
"0.3186",
"0.6895",
"0.3186",
"0.707",
"0.1724",
"0.707"
],
[
"0.1732",
"0.7173",
"0.255",
"0.7173",
"0.255",
"0.732",
"0.1732",
"0.732"
],
[
"0.1765",
"0.7437",
"0.8228",
"0.7437",
"0.8228",
"0.757",
"0.1765",
"0.757"
],
[
"0.1772",
"0.7583",
"0.8228",
"0.7583",
"0.8228",
"0.7715",
"0.1772",
"0.7715"
],
[
"0.1765",
"0.7715",
"0.3733",
"0.7715",
"0.3733",
"0.785",
"0.1765",
"0.785"
],
[
"0.1732",
"0.7935",
"0.3586",
"0.7954",
"0.3586",
"0.81",
"0.1732",
"0.808"
],
[
"0.1765",
"0.821",
"0.822",
"0.821",
"0.822",
"0.834",
"0.1765",
"0.834"
],
[
"0.1765",
"0.834",
"0.822",
"0.834",
"0.822",
"0.8477",
"0.1765",
"0.8477"
],
[
"0.179",
"0.8477",
"0.8228",
"0.8477",
"0.8228",
"0.8613",
"0.179",
"0.8613"
],
[
"0.1748",
"0.8623",
"0.8203",
"0.8623",
"0.8203",
"0.8755",
"0.1748",
"0.8755"
],
[
"0.1772",
"0.8774",
"0.3064",
"0.8774",
"0.3064",
"0.888",
"0.1772",
"0.888"
],
[
"0.1765",
"0.8965",
"0.822",
"0.8965",
"0.822",
"0.911",
"0.1765",
"0.911"
],
[
"0.1748",
"0.911",
"0.8228",
"0.911",
"0.8228",
"0.925",
"0.1748",
"0.925"
],
[
"0.492",
"0.9497",
"0.5063",
"0.9497",
"0.5063",
"0.9604",
"0.492",
"0.9604"
]
] | [
"Published as a conference paper at ICLR 2020",
"具有迁移学习的Tigrinya神经机器翻译用于人道主义",
"响应",
"AlpOktem,MirkoPlitt&GraceTang",
"TranslatorswithoutBorders",
"30 Main Street STE 500",
"Danbury, CT 06810, USA",
"[alp,mirko,[email protected]",
"Abstract",
"We report our experiments in building a domain-specific Tigrinya-to-",
"English neural machine translation system. We use transfer learning from",
"other Ge'ez script languages and report an improvement of 1.3 BLEU points",
"over a classic neural baseline. We publish our development pipeline as an",
"open-source library and also provide a demonstration application.",
"1Introduction",
"Tigrinya(也拼写为Tigrigna)是一种埃塞俄比亚语言,大约由7。厄立特里亚和埃塞俄比",
"亚有900万人。它既不受任何商业机器翻译(MT)提供商的支持,也没有任何公开可用的",
"模型。说Tigrinya的难民在抵达欧洲时面临语言和沟通障碍。MT系统可以改善信息获取",
"并实现双向通信,从而使难民有发言权并可以分享他们的需求",
"Tigrinya的复杂形态结构使其对统计MT(Tedla&Yamamoto,2016TeferraAbateetal.",
"2018)特别具有挑战性。另一方面,神经MT可以通过子字分割(Sennrichetal.,2016)等方",
"法克服这些问题,并导致更准确的模型(Kalchbrenner&Blunsom,2013;Bahdanauetal.",
"2015)。众所周知,这是一种数据饥渴的技术,由于最近发布的公共数据集(Agic&Vulic,",
"2019;TeferraAbateetal.,2018),现在可以为Tigrinya训练基于神经的MT。神经MT的",
"个优势是跨语言迁移学习(Zophetal.,2016)和多语言训练(Dongetal.,2015)等技术的",
"可用性,这些技术有助于利用来自其他语言的数据,特别适用于低资源场景(Neubig&Hu,",
"2018)",
"在本文中,我们解释了使用Ge'ez脚本语言的公开可用数据集从Tigrinya到英语的神经",
"MT模型的开发。我们的模型进一步适应人道主义领域,以提高无国界翻译人员(TWB)的",
"翻译能力,这是一个为人道主义和发展机构以及其他非营利组织提供语言和翻译支持的非",
"营利组织",
"2Experiments",
"2.1 Data",
"我们从TWB翻译记忆库中的句子中收集了一个内部数据集。此数据集既用于域内训练,也",
"用于测试。随机选择200个不同长度的句子作为测试集。表1中列出了这项工作中使用的",
"公共并行语料库的其他来源",
"2.2Experimental setup",
"基于迁移学习的培训过程包括三个阶段。首先,我们在所有数据集的混洗混合上训练模型,",
"总共为1。4500万句。其次,我们仅使用混合的Tigrinya部分(438,000个句子)对Tigrinya",
"上的模型进行微调。在第三阶段,我们对内部数据的训练分区进行微调(2,300个句子)。作",
"为基线,我们跳过第一个多语言训练步骤,只使用Tigrinya数据。该模型稍后以相同的方",
"式微调到域内数据",
"OpenNMT-py工具包(Kleinetal.,2018)用于训练模型。该模型由一个8头变压器(Vaswani",
"etal.,2017)组成,具有512单位大小的6层隐藏单元。分别为多语言,单语言和域内培训",
"1"
] | {
"arxiv_id": "2003.11523",
"language": "zh",
"page_idx": 0
} |
||
2003.11523-zh-1 | 2003.11523-zh-1.jpg | $\underline{\text{Published as a conference paper at ICLR 2020}}$
Table 1: Parallel corpora used in this work. Dataset names marked with an asterisk are available through OPUS repository (Tiedemann, 2012; Christodouloupoulos & Steedman, 2015) . Ethiopian languages corpus (Teferra Abate et al., 2018) is also openly available online $^1.$
<table>
<tbody>
<tr>
<th> </th>
<th>JW30$0^{* }$</th>
<th>$\operatorname{Ethiopian}$ $\operatorname{corpus}$</th>
<th>$Bible-$ $\operatorname{uedin}^{*}$</th>
<th>Global $\mathrm{Voices}^*$</th>
<th>GNOME*</th>
<th>$\mathrm{Tanzil}^*$</th>
<th>$TWB$</th>
<th>TO</th>
</tr>
<tr>
<td>mharic</td>
<td>722K</td>
<td>66K</td>
<td>61K</td>
<td>1,6K</td>
<td>57K</td>
<td>94K</td>
<td> </td>
<td>1</td>
</tr>
<tr>
<td>i$e^{\prime }$ez</td>
<td> </td>
<td>11K</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td>1</td>
</tr>
<tr>
<td>grlnva</td>
<td>400K</td>
<td>36K</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td>2.5K</td>
<td>43</td>
</tr>
</tbody>
</table>
Table 2: Automatic evaluation results for baseline approach and at each stages of oun
training pipeline.
<table>
<tbody>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Baseline</td>
<td>22.28</td>
<td>46.51</td>
<td>26.1</td>
</tr>
<tr>
<td>Multilingual</td>
<td>15.84</td>
<td>40.99</td>
<td>23.32</td>
</tr>
<tr>
<td>Tigrinya</td>
<td>17.8</td>
<td>42.92</td>
<td>24.61</td>
</tr>
<tr>
<td>In- domain</td>
<td>23.6</td>
<td>49.59</td>
<td>27.04</td>
</tr>
</tbody>
</table>
选择了 4096、2048 和 10 的令牌批量大小。至于优化器,选择了具有 4000 个预热步骤的Adam (Kingma $\&$ Ba, 2014)。进行了培训,直到在最近 5 次验证中没有进一步改善开发集的困惑。这导致每个阶段的 73,500、85,000 和 85,240 步
使用 6,000 个步骤分别针对拉丁脚本和 Ge'ez 脚本训练字节对编码 (BPE) 模型。使用Mosestokenizer (Koehn et al., 2007) 预先对英语句子进行了小写和标记。使用标点符号分离脚本$^{2}$对 Ge'ez 脚本的句子进行标记
## 2.3 Results
我们使用表 2 中的各种常用自动评估指标报告每个阶段的测试集分数以及基线。结果显示从多语言预训练中获得的所有评估措施之间的一致性。精度提高+1。3,+3。1和 +0。分别使用 BLEU (Papineni et al., 2002) 、ChrF (Popović, 2015) 和 Meteor (Lavie & Agarwal, 2007)指标记录$\bar{9}$个点。
## 3 Conclusion
通过这项工作,我们证明了跨语言迁移学习在构建 Tigrinya-to-EnglishMT 系统上的实用性。作为这项工作的结果,作为第一个神经 Tigrinya 到英语的翻译器$^{3}$启动了一个演示应用程序。至于未来的工作,我们将开发英语到 Tigrinya 模型,并使用母语人士的反馈评估人道主义环境中双向系统的可用性
3.0.1
Acknowledgments 这项工作是与 Masakhane 倡议$^{4}$部分合作完成的。特别感谢 MusieMer-
essaBerhe 帮助修改我们的数据集
$^{1}$http://github.com/AAUThematic4LT/Parallel-Corpora-for-Ethiopian-Languages
${}_{2}^{2}$http://github.com/translatorswb/mt-tools $^{3}$http://gamayun.translatorswb.org/tigrinya $^{4}$http://www.masakhane.io/
2 | [
[
"0.1765",
"0.0341",
"0.5073",
"0.0341",
"0.5073",
"0.04736",
"0.1765",
"0.04736"
],
[
"0.1748",
"0.113",
"0.824",
"0.113",
"0.824",
"0.127",
"0.1748",
"0.127"
],
[
"0.1748",
"0.127",
"0.822",
"0.127",
"0.822",
"0.1401",
"0.1748",
"0.1401"
],
[
"0.1748",
"0.1414",
"0.8228",
"0.1414",
"0.8228",
"0.1547",
"0.1748",
"0.1547"
],
[
"0.1748",
"0.1559",
"0.232",
"0.1559",
"0.232",
"0.1674",
"0.1748",
"0.1674"
],
[
"0.339",
"0.1843",
"0.4182",
"0.1863",
"0.4182",
"0.2008",
"0.339",
"0.1989"
],
[
"0.4314",
"0.1849",
"0.478",
"0.1849",
"0.478",
"0.1995",
"0.4314",
"0.1995"
],
[
"0.5",
"0.1849",
"0.5557",
"0.1849",
"0.5557",
"0.1995",
"0.5",
"0.1995"
],
[
"0.5703",
"0.1863",
"0.6465",
"0.1863",
"0.6465",
"0.1976",
"0.5703",
"0.1976"
],
[
"0.661",
"0.1863",
"0.7173",
"0.1863",
"0.7173",
"0.1976",
"0.661",
"0.1976"
],
[
"0.7305",
"0.1863",
"0.777",
"0.1863",
"0.777",
"0.1976",
"0.7305",
"0.1976"
],
[
"0.7915",
"0.1863",
"0.851",
"0.1863",
"0.851",
"0.1976",
"0.7915",
"0.1976"
],
[
"0.4272",
"0.1989",
"0.4805",
"0.1963",
"0.482",
"0.2122",
"0.429",
"0.214"
],
[
"0.2615",
"0.1863",
"0.326",
"0.1843",
"0.326",
"0.1976",
"0.2615",
"0.1995"
],
[
"0.3545",
"0.202",
"0.4043",
"0.202",
"0.4043",
"0.2134",
"0.3545",
"0.2134"
],
[
"0.4983",
"0.1989",
"0.5537",
"0.1989",
"0.5537",
"0.2134",
"0.4983",
"0.2134"
],
[
"0.2737",
"0.2267",
"0.3162",
"0.2267",
"0.3162",
"0.2424",
"0.2737",
"0.2424"
],
[
"0.671",
"0.2267",
"0.7075",
"0.2267",
"0.7075",
"0.2424",
"0.671",
"0.2424"
],
[
"0.4395",
"0.2279",
"0.4739",
"0.2279",
"0.4739",
"0.2437",
"0.4395",
"0.2437"
],
[
"0.1847",
"0.2279",
"0.25",
"0.2279",
"0.25",
"0.2424",
"0.1847",
"0.2424"
],
[
"0.589",
"0.2279",
"0.626",
"0.2279",
"0.626",
"0.2437",
"0.589",
"0.2437"
],
[
"0.8096",
"0.2279",
"0.8384",
"0.2279",
"0.8384",
"0.2424",
"0.8096",
"0.2424"
],
[
"0.5073",
"0.2291",
"0.546",
"0.2291",
"0.546",
"0.2424",
"0.5073",
"0.2424"
],
[
"0.3628",
"0.2291",
"0.3945",
"0.2291",
"0.3945",
"0.2412",
"0.3628",
"0.2412"
],
[
"0.7485",
"0.2299",
"0.7607",
"0.2299",
"0.7607",
"0.2405",
"0.7485",
"0.2405"
],
[
"0.3628",
"0.2405",
"0.3945",
"0.2405",
"0.3945",
"0.2556",
"0.3628",
"0.2556"
],
[
"0.806",
"0.2405",
"0.839",
"0.2405",
"0.839",
"0.2556",
"0.806",
"0.2556"
],
[
"0.2754",
"0.2551",
"0.3162",
"0.2551",
"0.3162",
"0.2695",
"0.2754",
"0.2695"
],
[
"0.1847",
"0.2412",
"0.2263",
"0.2412",
"0.2263",
"0.2556",
"0.1847",
"0.2556"
],
[
"0.7344",
"0.2551",
"0.774",
"0.2551",
"0.774",
"0.2708",
"0.7344",
"0.2708"
],
[
"0.8022",
"0.2551",
"0.8433",
"0.2551",
"0.8433",
"0.2695",
"0.8022",
"0.2695"
],
[
"0.3628",
"0.2556",
"0.3945",
"0.2556",
"0.3945",
"0.2683",
"0.3628",
"0.2683"
],
[
"0.1847",
"0.2556",
"0.25",
"0.2556",
"0.25",
"0.2708",
"0.1847",
"0.2708"
],
[
"0.451",
"0.2556",
"0.46",
"0.2556",
"0.46",
"0.2695",
"0.451",
"0.2695"
],
[
"0.5215",
"0.2556",
"0.5337",
"0.2588",
"0.5293",
"0.2708",
"0.517",
"0.2676"
],
[
"0.6045",
"0.2588",
"0.6094",
"0.2588",
"0.6094",
"0.2676",
"0.6045",
"0.2676"
],
[
"0.6855",
"0.2588",
"0.6914",
"0.2588",
"0.6914",
"0.2676",
"0.6855",
"0.2676"
],
[
"0.1765",
"0.31",
"0.2378",
"0.31",
"0.2378",
"0.3213",
"0.1765",
"0.3213"
],
[
"0.255",
"0.308",
"0.8228",
"0.3093",
"0.8228",
"0.324",
"0.255",
"0.3225"
],
[
"0.1748",
"0.324",
"0.2974",
"0.324",
"0.2974",
"0.3384",
"0.1748",
"0.3384"
],
[
"0.464",
"0.3542",
"0.513",
"0.3542",
"0.513",
"0.3655",
"0.464",
"0.3655"
],
[
"0.5312",
"0.3542",
"0.5703",
"0.3542",
"0.5703",
"0.3655",
"0.5312",
"0.3655"
],
[
"0.585",
"0.3516",
"0.6436",
"0.3542",
"0.642",
"0.3687",
"0.584",
"0.3662"
],
[
"0.4673",
"0.3806",
"0.511",
"0.3806",
"0.511",
"0.3958",
"0.4673",
"0.3958"
],
[
"0.5293",
"0.3806",
"0.572",
"0.3806",
"0.572",
"0.3958",
"0.5293",
"0.3958"
],
[
"0.597",
"0.3818",
"0.63",
"0.3818",
"0.63",
"0.3945",
"0.597",
"0.3945"
],
[
"0.357",
"0.3945",
"0.4495",
"0.3965",
"0.4495",
"0.411",
"0.357",
"0.4092"
],
[
"0.3594",
"0.3818",
"0.4207",
"0.3818",
"0.4207",
"0.3933",
"0.3594",
"0.3933"
],
[
"0.468",
"0.3945",
"0.5107",
"0.3945",
"0.5107",
"0.4092",
"0.468",
"0.4092"
],
[
"0.5293",
"0.3945",
"0.572",
"0.3945",
"0.572",
"0.4092",
"0.5293",
"0.4092"
],
[
"0.5933",
"0.3945",
"0.6357",
"0.3945",
"0.6357",
"0.4092",
"0.5933",
"0.4092"
],
[
"0.3586",
"0.4077",
"0.4224",
"0.4104",
"0.4224",
"0.4248",
"0.3586",
"0.4224"
],
[
"0.5293",
"0.4072",
"0.572",
"0.4092",
"0.5703",
"0.4248",
"0.528",
"0.4224"
],
[
"0.5933",
"0.4092",
"0.634",
"0.4092",
"0.634",
"0.4236",
"0.5933",
"0.4236"
],
[
"0.357",
"0.4204",
"0.4346",
"0.4224",
"0.4346",
"0.4375",
"0.357",
"0.435"
],
[
"0.4739",
"0.4104",
"0.5063",
"0.4104",
"0.5063",
"0.4224",
"0.4739",
"0.4224"
],
[
"0.5293",
"0.4224",
"0.572",
"0.4224",
"0.572",
"0.4375",
"0.5293",
"0.4375"
],
[
"0.5923",
"0.4224",
"0.6357",
"0.4224",
"0.6357",
"0.4375",
"0.5923",
"0.4375"
],
[
"0.1748",
"0.476",
"0.8228",
"0.4749",
"0.8228",
"0.4893",
"0.1748",
"0.4905"
],
[
"0.4722",
"0.4236",
"0.5063",
"0.4236",
"0.5063",
"0.4363",
"0.4722",
"0.4363"
],
[
"0.1765",
"0.4905",
"0.8228",
"0.4905",
"0.8228",
"0.504",
"0.1765",
"0.504"
],
[
"0.1765",
"0.505",
"0.58",
"0.505",
"0.58",
"0.518",
"0.1765",
"0.518"
],
[
"0.1748",
"0.526",
"0.8203",
"0.526",
"0.8203",
"0.539",
"0.1748",
"0.539"
],
[
"0.1732",
"0.5386",
"0.8228",
"0.539",
"0.8228",
"0.5537",
"0.1732",
"0.553"
],
[
"0.1732",
"0.552",
"0.4429",
"0.5537",
"0.4429",
"0.5684",
"0.1732",
"0.5664"
],
[
"0.1748",
"0.5854",
"0.2712",
"0.5854",
"0.2712",
"0.5967",
"0.1748",
"0.5967"
],
[
"0.1765",
"0.613",
"0.8203",
"0.613",
"0.8203",
"0.627",
"0.1765",
"0.627"
],
[
"0.1765",
"0.6274",
"0.8228",
"0.6274",
"0.8228",
"0.6416",
"0.1765",
"0.6416"
],
[
"0.1765",
"0.6416",
"0.8228",
"0.6416",
"0.8228",
"0.655",
"0.1765",
"0.655"
],
[
"0.1732",
"0.653",
"0.3464",
"0.655",
"0.3464",
"0.6694",
"0.1732",
"0.6675"
],
[
"0.1732",
"0.683",
"0.2091",
"0.683",
"0.2091",
"0.696",
"0.1732",
"0.696"
],
[
"0.2059",
"0.686",
"0.2115",
"0.686",
"0.2115",
"0.6924",
"0.2059",
"0.6924"
],
[
"0.2091",
"0.6846",
"0.3022",
"0.6846",
"0.3022",
"0.696",
"0.2091",
"0.696"
],
[
"0.1748",
"0.712",
"0.822",
"0.7134",
"0.822",
"0.728",
"0.1748",
"0.7266"
],
[
"0.1765",
"0.728",
"0.7466",
"0.728",
"0.7466",
"0.741",
"0.1765",
"0.741"
],
[
"0.746",
"0.73",
"0.822",
"0.73",
"0.822",
"0.7407",
"0.746",
"0.7407"
],
[
"0.1772",
"0.741",
"0.8228",
"0.741",
"0.8228",
"0.755",
"0.1772",
"0.755"
],
[
"0.1765",
"0.756",
"0.4224",
"0.756",
"0.4224",
"0.7695",
"0.1765",
"0.7695"
],
[
"0.1748",
"0.7925",
"0.21",
"0.7925",
"0.21",
"0.8047",
"0.1748",
"0.8047"
],
[
"0.1765",
"0.8193",
"0.822",
"0.8193",
"0.822",
"0.8335",
"0.1765",
"0.8335"
],
[
"0.1765",
"0.8335",
"0.4143",
"0.8335",
"0.4143",
"0.8467",
"0.1765",
"0.8467"
],
[
"0.1936",
"0.8706",
"0.7417",
"0.8706",
"0.7417",
"0.884",
"0.1936",
"0.884"
],
[
"0.1936",
"0.882",
"0.486",
"0.8833",
"0.486",
"0.898",
"0.1936",
"0.8965"
],
[
"0.1953",
"0.896",
"0.4885",
"0.898",
"0.4885",
"0.912",
"0.1953",
"0.91"
],
[
"0.1953",
"0.911",
"0.3823",
"0.911",
"0.3823",
"0.925",
"0.1953",
"0.925"
],
[
"0.492",
"0.9478",
"0.5073",
"0.9478",
"0.5073",
"0.962",
"0.492",
"0.962"
]
] | [
"Published as a conference paper at ICLR 2020",
"Table 1:Parallel corpora used in this work. Dataset names marked with an asterisk are",
"available through OPUS repository (Tiedemann, 2012; Christodouloupoulos & Steedman",
"2015) : Ethiopian languages corpus (Teferra Abate et al., 2018) is also openly available",
"online 1",
"Ethiopian",
"Bible-",
"Global",
"GNOME*",
"Tanzil*",
"TWB",
"TOTAL",
"uedin*",
"JW300*",
"corpus",
"Voices*",
"722K",
"94K",
"61K",
"Amharic",
"57K",
"1M",
"1,6K",
"66K",
"-",
"11K",
"11K",
"400K",
"Ge'ez",
"2.5K",
"439K",
"36K",
"Tigrinya",
"-",
"-",
"",
"T",
"Table 2:",
"Automatic evaluation results for baseline approach and at each stages of our",
"training pipeline.",
"BLEU",
"ChrF",
"Meteor",
"22.28",
"46.51",
"26.1",
"Multilingual",
"Baseline",
"15.84",
"40.99",
"23.32",
"Tigrinya",
"42.92",
"24.61",
"In-domain",
"17.8",
"49.59",
"27.04",
"选择了4096、2048和10的令牌批量大小。至于优化器,选择了具有4000个预热步骤的",
"23.6",
"Adam(Kingma&Ba,2014)。进行了培训,直到在最近5次验证中没有进一步改善开发集",
"的困惑。这导致每个阶段的73,500、85,000和85,240步",
"使用6,000个步骤分别针对拉丁脚本和Ge'ez脚本训练字节对编码(BPE)模型。使用",
"Mosestokenizer(Koehnetal.,2007)预先对英语句子进行了小写和标记。使用标点符号分离",
"脚本2对Ge'ez脚本的句子进行标记",
"2.3Results",
"我们使用表2中的各种常用自动评估指标报告每个阶段的测试集分数以及基线。结果显示",
"从多语言预训练中获得的所有评估措施之间的一致性。精度提高+1。3,+3。1和+0。分别",
"使用BLEU(Papineni et al.,2002)、ChrF(Popovic,2015)和Meteor(Lavie&Agarwal.",
"2007)指标记录9个点。",
"3",
"",
"Conclusion",
"通过这项工作,我们证明了跨语言迁移学习在构建Tigrinya-to-EnglishMT系统上的实用",
"性。作为这项工作的结果,作为第一个神经Tigrinya到英语的翻译器3启动了",
"一个演示应",
"用程序。至于未来的工作,我们将开发英语到Tigrinya模型,并使用母语人士的反馈评估",
"人道主义环境中双向系统的可用性",
"3.0.1",
"Acknowledgments这项工作是与Masakhane倡议4部分合作完成的。特别感谢MusieMer-",
"essaBerhe帮助修改我们的数据集",
"http://github.com/AAUThematic4LT/Parallel-Corpora-for-Ethiopian-Languages",
"2http://github.com/translatorswb/mt-tools",
"3http://gamayun.translatorswb.org/tigrinya",
"*http://www.masakhane.io/",
"2"
] | {
"arxiv_id": "2003.11523",
"language": "zh",
"page_idx": 1
} |
||
2003.11523-zh-2 | 2003.11523-zh-2.jpg | $\underline{\text{Published as a conference paper at ICLR 2020}}$
References
$\text{\v {Z}eljko Agi\' {c}andIvanVuli\' {c}. JW300: Awide- coverage parallel corpus for low- resource lan- }$
guages. In Proceedings of the 57th Annual Meeting of the Association for Computational
Linguistics, pp. 3204-3210, Florence, Italy, July 2019.
Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In Yoshua Bengio and Yann LeCun (eds.), 3rd International Čonference on Learning Representations, IČLR 2015, San Diego, à A, ÚSA, May 7-9, 2015, Conference Track Proceedings, 2015.
Christos Christodouloupoulos and Mark Steedman. A massively parallel corpus: the bible
in 100 languages. Language Resources and Evaluation, 49(2):375-395, Jun 2015.
Daxiang Dong, Hua Wu, Wei He, Dianhai Yu, and Haifeng Wang. Multi-task learning
for multiple language translation. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pp. 1723-1732, Beijing, China, ${\mathrm{july~2015.}}$
Nal Kalchbrenner and Phil Blunsom. Recurrent continuous translation models. In Pro-
ceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pp. 1700-1709, Seattle, Washington, USA, October 2013. Association for Computational ${\tilde{\mathrm{Linguistics}}}.$
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR,
$\operatorname{abs}/1412.6980,~2014.$
Guillaume Klein, Yoon Kim, Yuntian Deng, Vincent Nguyen, Jean Senellart, and Alexander
Rush. OpenNMT: Neural machine translation toolkit. In Proceedings of the 13th Conference of the Association for Machine Translation in the Americas ( Volume 1: Research Papers),pp. 177-184, Boston, MA, March 2018.
Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico,
Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, Chris Dyer, $Ond\v{r}ejBojar, Alexandra Constantin, and Evan Herbst. Moses: Open source toolkit$ for statistical machine translation. In Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics Companion Volume Proceedings of the Demo
Alon Lavie and Abhaya Agarwal. Meteor: An automatic metric for mt evaluation with high levels of correlation with human judgments. In Proceedings of the Second Workshop on Statistical Machine Translation, StatMT ,07,pp. 228-231, USA, 2007.
Graham Neubig and Junjie Hu. Rapid adaptation of neural machine translation to new $\operatorname*{languages.}\underset{\mathrm{D}}{\operatorname*{\operatorname*{In}}}\overset{{\mathrm{Proceedings~of~the~2018~}}}{\operatorname*{Conference~on~Empirical~Methods~in~Natural}}$ Language Processing, pp. 875-880, Brussels, Belgium, October-November 2018.
Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for
automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pp. 311-318, Philadelphia, Pennsylvania, USA, July 2002.
Maja Popović. chrF: Character n-gram F-score for automatic MT evaluation. In Proceedings of the Tenth Workshop on Statistical Machine Translation, pp. 392-395, Lisbon, Portugal, September 2015.
Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare
words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 1715-1725, Berlin, Germany, $\operatorname{August}2016.$
3 | [
[
"0.1748",
"0.03284",
"0.509",
"0.03284",
"0.509",
"0.04736",
"0.1748",
"0.04736"
],
[
"0.1732",
"0.1042",
"0.2646",
"0.1042",
"0.2646",
"0.1187",
"0.1732",
"0.1187"
],
[
"0.1732",
"0.127",
"0.819",
"0.127",
"0.819",
"0.1414",
"0.1732",
"0.1414"
],
[
"0.1912",
"0.1414",
"0.8228",
"0.1414",
"0.8228",
"0.1547",
"0.1912",
"0.1547"
],
[
"0.1912",
"0.1547",
"0.5786",
"0.1547",
"0.5786",
"0.1692",
"0.1912",
"0.1692"
],
[
"0.1748",
"0.1812",
"0.822",
"0.1812",
"0.822",
"0.1957",
"0.1748",
"0.1957"
],
[
"0.1929",
"0.1957",
"0.8228",
"0.1957",
"0.8228",
"0.209",
"0.1929",
"0.209"
],
[
"0.1912",
"0.209",
"0.8228",
"0.209",
"0.8228",
"0.2229",
"0.1912",
"0.2229"
],
[
"0.1912",
"0.2229",
"0.569",
"0.2229",
"0.569",
"0.2374",
"0.1912",
"0.2374"
],
[
"0.1748",
"0.2488",
"0.8228",
"0.2488",
"0.8228",
"0.262",
"0.1748",
"0.262"
],
[
"0.1896",
"0.262",
"0.767",
"0.262",
"0.767",
"0.2766",
"0.1896",
"0.2766"
],
[
"0.1732",
"0.2874",
"0.8228",
"0.2886",
"0.8228",
"0.303",
"0.1732",
"0.3018"
],
[
"0.1896",
"0.303",
"0.8228",
"0.303",
"0.8228",
"0.3164",
"0.1896",
"0.3164"
],
[
"0.1929",
"0.3176",
"0.822",
"0.3176",
"0.822",
"0.3308",
"0.1929",
"0.3308"
],
[
"0.1896",
"0.3289",
"0.822",
"0.33",
"0.822",
"0.3447",
"0.1896",
"0.3435"
],
[
"0.1896",
"0.3435",
"0.2656",
"0.3435",
"0.2656",
"0.358",
"0.1896",
"0.358"
],
[
"0.1748",
"0.3694",
"0.8203",
"0.3694",
"0.8203",
"0.3833",
"0.1748",
"0.3833"
],
[
"0.1887",
"0.3833",
"0.822",
"0.3838",
"0.822",
"0.3984",
"0.1887",
"0.3977"
],
[
"0.1912",
"0.3984",
"0.824",
"0.3984",
"0.824",
"0.4124",
"0.1912",
"0.4124"
],
[
"0.1929",
"0.4136",
"0.2737",
"0.4136",
"0.2737",
"0.4236",
"0.1929",
"0.4236"
],
[
"0.1765",
"0.4375",
"0.822",
"0.4375",
"0.822",
"0.452",
"0.1765",
"0.452"
],
[
"0.1912",
"0.452",
"0.3423",
"0.452",
"0.3423",
"0.4653",
"0.1912",
"0.4653"
],
[
"0.1748",
"0.4766",
"0.822",
"0.4766",
"0.822",
"0.4912",
"0.1748",
"0.4912"
],
[
"0.1929",
"0.4912",
"0.822",
"0.4912",
"0.822",
"0.505",
"0.1929",
"0.505"
],
[
"0.1912",
"0.505",
"0.822",
"0.505",
"0.822",
"0.5195",
"0.1912",
"0.5195"
],
[
"0.1912",
"0.5195",
"0.5376",
"0.5195",
"0.5376",
"0.534",
"0.1912",
"0.534"
],
[
"0.1748",
"0.5444",
"0.822",
"0.5444",
"0.822",
"0.5596",
"0.1748",
"0.5596"
],
[
"0.1912",
"0.5596",
"0.822",
"0.5596",
"0.822",
"0.5728",
"0.1912",
"0.5728"
],
[
"0.1936",
"0.5747",
"0.822",
"0.5747",
"0.822",
"0.5854",
"0.1936",
"0.5854"
],
[
"0.1912",
"0.587",
"0.824",
"0.587",
"0.824",
"0.601",
"0.1912",
"0.601"
],
[
"0.1929",
"0.601",
"0.824",
"0.601",
"0.824",
"0.6157",
"0.1929",
"0.6157"
],
[
"0.1912",
"0.6143",
"0.693",
"0.6143",
"0.693",
"0.629",
"0.1912",
"0.629"
],
[
"0.1765",
"0.64",
"0.822",
"0.64",
"0.822",
"0.654",
"0.1765",
"0.654"
],
[
"0.1887",
"0.653",
"0.824",
"0.654",
"0.824",
"0.6685",
"0.1887",
"0.6675"
],
[
"0.1887",
"0.664",
"0.7075",
"0.6665",
"0.7075",
"0.6846",
"0.1887",
"0.6816"
],
[
"0.1732",
"0.6924",
"0.8228",
"0.6934",
"0.8228",
"0.7085",
"0.1732",
"0.707"
],
[
"0.1896",
"0.7085",
"0.8228",
"0.707",
"0.8228",
"0.7217",
"0.1896",
"0.7227"
],
[
"0.1912",
"0.7227",
"0.759",
"0.7227",
"0.759",
"0.7373",
"0.1912",
"0.7373"
],
[
"0.1748",
"0.7476",
"0.822",
"0.7476",
"0.822",
"0.761",
"0.1748",
"0.761"
],
[
"0.1929",
"0.763",
"0.824",
"0.763",
"0.824",
"0.7734",
"0.1929",
"0.7734"
],
[
"0.1912",
"0.776",
"0.8228",
"0.776",
"0.8228",
"0.7905",
"0.1912",
"0.7905"
],
[
"0.1912",
"0.789",
"0.3105",
"0.789",
"0.3105",
"0.803",
"0.1912",
"0.803"
],
[
"0.1732",
"0.815",
"0.822",
"0.815",
"0.822",
"0.829",
"0.1732",
"0.829"
],
[
"0.1887",
"0.827",
"0.824",
"0.8276",
"0.824",
"0.845",
"0.1887",
"0.8447"
],
[
"0.1912",
"0.8433",
"0.3105",
"0.8433",
"0.3105",
"0.857",
"0.1912",
"0.857"
],
[
"0.1748",
"0.8687",
"0.822",
"0.8687",
"0.822",
"0.882",
"0.1748",
"0.882"
],
[
"0.1912",
"0.8833",
"0.822",
"0.8833",
"0.822",
"0.8965",
"0.1912",
"0.8965"
],
[
"0.1896",
"0.896",
"0.8228",
"0.8965",
"0.8228",
"0.911",
"0.1896",
"0.91"
],
[
"0.1929",
"0.912",
"0.286",
"0.912",
"0.286",
"0.924",
"0.1929",
"0.924"
],
[
"0.492",
"0.9478",
"0.509",
"0.9478",
"0.509",
"0.962",
"0.492",
"0.962"
]
] | [
"Published as a conference paper at ICLR 2020",
"References",
"Zeljko Agic and Ivan Vulic. JW3oo: A wide-coverage parallel corpus for low-resource lan",
"guages. In Proceedings of the 57th Annual Meeting of the Association for Computational",
"Linguistics, pp. 3204-3210, Florence, Italy, July 2019.",
"Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by",
"jointly learning to align and translate. In Yoshua Bengio and Yann LeCun (eds.), 3rd",
"International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA,",
"May 7-9, 2015, Conference Track Proceedings, 2015.",
"Christos Christodouloupoulos and Mark Steedman. A massively parallel corpus: the bible",
"in 100 languages. Language Resources and Evaluation, 49(2):375-395, Jun 2015.",
"Daxiang Dong, Hua Wu, Wei He, Dianhai Yu, and Haifeng Wang. Multi-task learning",
"for multiple language translation. In Proceedings of the 53rd Annual Meeting of the",
"Association for Computational Linguistics and the 7th International Joint Conference on",
"Natural Language Processing (Volume l:Long Papers),pp.1723-1732, Beijing, China",
"july 2015.",
"Nal Kalchbrenner and Phil Blunsom. Recurrent continuous translation models. In Pro",
"ceedings of the 2013 Conference on Empirical Methods in Natural Language Processing,",
"pp. 1700-1709, Seattle, Washington, USA, October 2013. Association for Computational",
"Linguistics.",
"Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. CoRR",
"abs/1412.6980, 2014.",
"Guillaume Klein, Yoon Kim, Yuntian Deng, Vincent Nguyen, Jean Senellart, and Alexander",
"Rush. OpenNMT: Neural machine translation toolkit. In Proceedings of the 13th Con-",
"ference of the Association for Machine Translation in the Americas (Volume l: Research",
"Papers), Pp. 177-184, Boston, MA, March 2018.",
"Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico.",
"Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, Chris Dyer.",
"Ondrej Bojar, Alexandra Constantin, and Evan Herbst.Moses:Open source toolkit",
"for statistical machine translation. In Proceedings of the 45th Annual Meeting of the",
"Association for Computational Linguistics Companion Volume Proceedings of the Demo",
"and Poster Sessions, pp. 177-180, Prague, Czech Republic, June 2007.",
"Alon Lavie and Abhaya Agarwal. Meteor: An automatic metric for mt evaluation with high",
"levels of correlation with human judgments. In Proceedings of the Second Workshop on",
"Statistical Machine Translation, StatMT 07, pp. 228-231, USA, 2007.",
"Graham Neubig and Junjie Hu.Rapid adaptation of neural machine translation to new",
"languages.In Proceedings of the 2018 Conference on Empirical Methods in Natural",
"Language Processing, Pp. 875-880, Brussels, Belgium, October-November 2018.",
"Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for",
"automaticevaluationofmachinetranslation.InProceedingsofthe4OthAnnualMeetingof",
"the Association for Computational Linguistics, Pp. 311-318, Philadelphia, Pennsylvania,",
"USA, July 2002.",
"Maja Popovic. chrF: Character n-gram F-score for automatic MT evaluation. In Proceedings",
"of the Tenth Workshop on Statistical Machine Translation, pp. 392-395, Lisbon, Portugal,",
"September 2015.",
"Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare",
"words with subword units. In Proceedings of the 54th Annual Meeting of the Association",
"for Computational Linguistics (Volume 1: Long Papers), Pp. 1715-1725, Berlin, Germany,",
"August 2016.",
"3"
] | {
"arxiv_id": "2003.11523",
"language": "zh",
"page_idx": 2
} |
||
2003.11523-zh-3 | 2003.11523-zh-3.jpg | $\underline{\text{Published as a conference paper at ICLR 2020}}$
Yemane Tedla and Kazuhide Yamamoto. The effect of shallow segmentation on englishtigrinya statistical machine translation. 2016 International Conference on Asian Language ${\mathrm{Processing~(IALP),~pp.~79-82,~2016.}}$
Solomon Teferra Abate, Michael Melese, Martha Yifiru Tachbelie, Million Meshesha,
$\begin{array}{c}\mathrm{Solomon~Atinafu,~Wondwossen~Mulugeta,~Yaregal~Assabie,~Hafte~Abera,~Binyam~Ephrem,~}\\\end{array}$ Tewodros Abebe, Wondimagegnhue Tsegaye, Amanuel Lemma, Tsegaye Andargie, and Seifedin Shifaw. Parallel corpora for bi-directional statistical machine translation for seven Ethiopian language pairs. In Proceedings of the First Workshop on Linguistic Resources for Natural Language Processing, pp. 83-90, Santa Fe, New Mexico, USA, August 2018.
Jörg Tiedemann. Parallel data, tools and interfaces in opus. In Proceedings of the Eight
International Conference on Language Resources and Evaluation (LREC'12), Istanbul,
Turkey, May 2012.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett (eds.), Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, 4-9 ${\text{December 2017, Long Beach, CA, USA, pp. 5998-6008, 2017.}}$
Barret Zoph, Deniz Yuret, Jonathan May, and Kevin Knight. Transfer learning for low-
resource neural machine translation. In Proceedings of the 2016 Conference on $\bar{\text{Empirical}}$ Methods in Natural Language Processing, pp. 1568-1575, Austin, Texas, November 2016.
4 | [
[
"0.1765",
"0.0341",
"0.5073",
"0.0341",
"0.5073",
"0.04736",
"0.1765",
"0.04736"
],
[
"0.1765",
"0.1048",
"0.8203",
"0.1048",
"0.8203",
"0.1193",
"0.1765",
"0.1193"
],
[
"0.1912",
"0.1193",
"0.824",
"0.1193",
"0.824",
"0.1338",
"0.1912",
"0.1338"
],
[
"0.1912",
"0.1338",
"0.4534",
"0.1338",
"0.4534",
"0.1477",
"0.1912",
"0.1477"
],
[
"0.1748",
"0.1559",
"0.822",
"0.1559",
"0.822",
"0.1704",
"0.1748",
"0.1704"
],
[
"0.1896",
"0.1692",
"0.819",
"0.1692",
"0.819",
"0.1843",
"0.1896",
"0.1843"
],
[
"0.1929",
"0.1849",
"0.824",
"0.1849",
"0.824",
"0.1989",
"0.1929",
"0.1989"
],
[
"0.1896",
"0.1976",
"0.8228",
"0.1989",
"0.8228",
"0.2134",
"0.1896",
"0.2122"
],
[
"0.1912",
"0.2134",
"0.822",
"0.2134",
"0.822",
"0.2267",
"0.1912",
"0.2267"
],
[
"0.1912",
"0.2267",
"0.8228",
"0.2267",
"0.8228",
"0.2412",
"0.1912",
"0.2412"
],
[
"0.1912",
"0.2405",
"0.232",
"0.2405",
"0.232",
"0.2551",
"0.1912",
"0.2551"
],
[
"0.1732",
"0.2615",
"0.8228",
"0.262",
"0.8228",
"0.2798",
"0.1732",
"0.279"
],
[
"0.1912",
"0.279",
"0.8228",
"0.279",
"0.8228",
"0.2922",
"0.1912",
"0.2922"
],
[
"0.1929",
"0.2922",
"0.326",
"0.2922",
"0.326",
"0.3062",
"0.1929",
"0.3062"
],
[
"0.1765",
"0.3145",
"0.8228",
"0.3145",
"0.8228",
"0.3289",
"0.1765",
"0.3289"
],
[
"0.1912",
"0.3289",
"0.824",
"0.3289",
"0.824",
"0.3435",
"0.1912",
"0.3435"
],
[
"0.1896",
"0.3423",
"0.822",
"0.3423",
"0.822",
"0.356",
"0.1896",
"0.356"
],
[
"0.1929",
"0.3567",
"0.824",
"0.3567",
"0.824",
"0.3718",
"0.1929",
"0.3718"
],
[
"0.1912",
"0.3718",
"0.824",
"0.3718",
"0.824",
"0.3865",
"0.1912",
"0.3865"
],
[
"0.1912",
"0.385",
"0.6313",
"0.385",
"0.6313",
"0.3997",
"0.1912",
"0.3997"
],
[
"0.1765",
"0.4092",
"0.8228",
"0.4092",
"0.8228",
"0.4224",
"0.1765",
"0.4224"
],
[
"0.1912",
"0.4224",
"0.824",
"0.4224",
"0.824",
"0.4375",
"0.1912",
"0.4375"
],
[
"0.1929",
"0.4375",
"0.822",
"0.4375",
"0.822",
"0.452",
"0.1929",
"0.452"
],
[
"0.4944",
"0.9497",
"0.5063",
"0.9497",
"0.5063",
"0.962",
"0.4944",
"0.962"
]
] | [
"Published as a conference paper at ICLR 2020",
"Yemane Tedla and Kazuhide Yamamoto. The effect of shallow segmentation on english.",
"tigrinya statistical machine translation. 2016 International Conference on Asian Language",
"Processing (IALP), Pp.79-82, 2016.",
"Solomon Teferra Abate, Michael Melese, Martha Yifiru Tachbelie, Million Meshesha,",
"Solomon Atinafu, Wondwossen Mulugeta, Yaregal Assabie, Hafte Abera, Binyam Ephrem",
"Tewodros Abebe, Wondimagegnhue Tsegaye, Amanuel Lemma, Tsegaye Andargie, and",
"Seifedin Shifaw.Parallel corpora for bi-directional statistical machine translation for",
"seven Ethiopian language pairs. In Proceedings of the First Workshop on Linguistic Re-",
"sources for Natural Language Processing, pp. 83-90, Santa Fe, New Mexico, USA, August",
"2018,",
"Jorg Tiedemann. Parallel data, tools and interfaces in opus. In Proceedings of the Eight",
"International Conference on Language Resources and Evaluation (LREC'12), Istanbul,",
"Turkey, May2012.",
"Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N.",
"Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Isabelle",
"Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N.",
"Vishwanathan, and Roman Garnett (eds.), Advances in Neural Information Processing",
"Systems 30: Annual Conference on Neural Information Processing Systems 2017, 4-9",
"December 2017, Long Beach, CA, USA, Pp. 5998-6008, 2017.",
"Barret Zoph, Deniz Yuret, Jonathan May, and Kevin Knight. Transfer learning for low-",
"resource neural machine translation, In Proceedings of the 2016 Conference on Empirical",
"Methods in Natural Language Processing, pp. 1568-1575, Austin, Texas, November 2016.",
"4"
] | {
"arxiv_id": "2003.11523",
"language": "zh",
"page_idx": 3
} |
||
2310.11163-zh-1 | 2310.11163-zh-1.jpg | $\mathbf{IMTL}_{\mathrm{AB}}:$用于构建、评估和诊断交互式机器翻译系统的开源平台
Xu Huang$^{1*}$ Zhirui Zhang$^2\textbf{ Ruize Gao}^3$ Yichao Du$^4$ Lemao Liu$^2$ $\bar{\textbf{Gouping Huang}^2}$ $\bar{\textbf{Shuming Shi}^2}$ Jiajun Chen$^1$ $\textbf{Shujian Huang}^{1\dagger }$
$^{1}$National Key Laboratory for Novel Software Technology, Nanjing University
$^{2}$Tencent AI Lab$\:^3$Shanghai Jiao Tong University $^{4}$University of Science and Technology of China
$^{1}[email protected],{ < chenjj,huangsj{ @nju.edu.cn
$^{2}[email protected], { redmondliu,donkeyhuang,shumingshi $\}$ @tencent.com
$^{3}[email protected]$^{4}[email protected]
## $\mathbf{Abstract}$
We present IMTLAB , an open-source endto-end interactive machine translation (IMT) system platform that enables researchers to quickly build IMT systems with state-of-theart models, perform an end-to-end evaluation, and diagnose the weakness of systems. IMTLAB treats the whole interactive translation process as a task-oriented dialogue with a human-in-the-loop setting, in which human interventions can be explicitly incorporated to produce high-quality, error-free translations. ${\mathrm{~To~this~end,~a~general~communication~inter-}}$ face is designed to support the flexible IMT architectures and user policies. Based on the proposed design, we construct a simulated and real interactive environment to achieve end-toend evaluation and leverage the framework to systematically evaluate previous IMT systems. Our simulated and manual experiments show that the prefix-constrained decoding approach still gains the lowest editing cost in the end-toend evaluation, while BiTIIMT (?) achieves comparable editing cost with a better interactive experience.
喜欢以不同的顺序修改单词。最近,已经提出了另一种 IMT 范式,允许人类翻译人员在翻译中的任意位置修改单词。此范例的基本技术是词法约束翻译$\mathbb{E}(?????)$ ,它利用修改后的单词作为约束来生成令人满意的翻译
尽管已经提出了各种 IMT 技术,但目前缺乏一个统一的平台来公平,系统地评估这些方法,尤其是以端到端的方式。困难之一是以前的 IMT 方法在其交互式策略,评估环境和指标方面有所不同,因此很难公平地比较其性能和效率。而且,以前采用的评估方法,例如随机删除单词或短语,然后在一次或多次交互后比较 BLEU 得分E[(???), 与现实世界的交互体验相去甚远。最后的假设可能不是黄金翻译,后期编辑仍然是必不可少的。相反,端到端范式可以在人工翻译人员完成翻译编辑后评估 IMT 系统的性能,从而可以更准确地衡量整个迭代协作过程的总成本
在本文中,我们介绍了一个开源的端到端IMT 系统平台,即 IMTLAB ,以填补这一空白。该平台使学术界和工业界能够使用最先进的模型快速构建 IMT 系统,执行端到端评估并诊断 IMT 系统中的弱点。IMTLAB 将整个交互式翻译过程视为面向任务的对话,其中包括人在循环中的设置,并允许 IMT 系统利用明确的人为干预来生成高质量,无差错的翻译。具体来说,用户的目标是获得正确的翻译,而
满足工业应用的严格要求,需要昂贵和低效的 IMT 系统会根据用户的行为不断生成翻译。在人工干预。交互式机器翻译 (IMT)$\operatorname { E} ( ? ? ? ? ? ? ? )$ 此过程中,用户反复执行编辑操作以请求 IMT
系统的响应,直到达到预定义的目标或用户对此交互过程失去耐心。为了支持各种 IMT 系统的灵活体系结构,我们提出了IMT 系统与用户之间的通用通信接口,其中用户仅限于五种常见的编辑操作类型:保留,插入,替换,删除和填空。然后 IMTLAB 利用用户修改后的翻译和相应的字符级编辑操作来形成 IMT 系统的词汇约束。此外,我们为 IMT 系统构建了一个模拟或真实的交互环境,并引人了新的评估指标,以便以端到端的方式更好地验证 IMT 系统的有效性
## 1 $\textbf{Introduction}$
近年来,神经机器翻译(NMT)$\mathbb{E}(???)$有了显着发展。然而,机器翻译文本的质量仍然不能是一个有前途的解决方案,可以保证高质量, 无差错的翻译。它涉及人与机器之间的迭代协作过程,具有多个交互步骤以获得令人满意的翻译
传统的 IMT 系统使用从左到右的完成范例$\operatorname{E}(2??)$ ,其中人类翻译人员修改翻译前缀中的单词。可以使用前缀约束的解码策略轻松实现此范例。然而,这种严格的从左到右的方式限制了它的灵活性,因为一些译者可能更
Work was done during internship at Tencent AI Lab.
$^{\dagger}$Corresponding author | [
[
"0.147",
"0.0873",
"0.8486",
"0.0885",
"0.8486",
"0.1027",
"0.147",
"0.10156"
],
[
"0.1948",
"0.1164",
"0.8135",
"0.1164",
"0.8135",
"0.1312",
"0.1948",
"0.1312"
],
[
"0.2065",
"0.1342",
"0.797",
"0.1342",
"0.797",
"0.1478",
"0.2065",
"0.1478"
],
[
"0.1855",
"0.1484",
"0.817",
"0.1497",
"0.817",
"0.1644",
"0.1855",
"0.1633"
],
[
"0.2896",
"0.1644",
"0.708",
"0.1675",
"0.708",
"0.1818",
"0.2896",
"0.1787"
],
[
"0.3064",
"0.1818",
"0.6978",
"0.1829",
"0.6978",
"0.1978",
"0.3064",
"0.1965"
],
[
"0.2141",
"0.1965",
"0.7866",
"0.1996",
"0.7866",
"0.2173",
"0.2141",
"0.2144"
],
[
"0.1394",
"0.2131",
"0.8623",
"0.2156",
"0.8623",
"0.2328",
"0.1394",
"0.231"
],
[
"0.2477",
"0.2322",
"0.482",
"0.2328",
"0.482",
"0.2477",
"0.2477",
"0.2465"
],
[
"0.471",
"0.2322",
"0.7524",
"0.234",
"0.7524",
"0.2477",
"0.471",
"0.2452"
],
[
"0.2627",
"0.2708",
"0.3418",
"0.2708",
"0.3418",
"0.2852",
"0.2627",
"0.2852"
],
[
"0.5146",
"0.2715",
"0.879",
"0.2715",
"0.879",
"0.2852",
"0.5146",
"0.2852"
],
[
"0.513",
"0.2874",
"0.879",
"0.2874",
"0.879",
"0.3005",
"0.513",
"0.3005"
],
[
"0.147",
"0.2976",
"0.4592",
"0.2976",
"0.4592",
"0.3113",
"0.147",
"0.3113"
],
[
"0.513",
"0.304",
"0.881",
"0.304",
"0.881",
"0.3176",
"0.513",
"0.3176"
],
[
"0.1486",
"0.3142",
"0.4568",
"0.3142",
"0.4568",
"0.3247",
"0.1486",
"0.3247"
],
[
"0.513",
"0.3196",
"0.881",
"0.3196",
"0.881",
"0.3333",
"0.513",
"0.3333"
],
[
"0.1453",
"0.3267",
"0.4575",
"0.326",
"0.4575",
"0.339",
"0.1453",
"0.3403"
],
[
"0.1486",
"0.3416",
"0.455",
"0.3416",
"0.455",
"0.3516",
"0.1486",
"0.3516"
],
[
"0.5146",
"0.3362",
"0.806",
"0.3362",
"0.806",
"0.3499",
"0.5146",
"0.3499"
],
[
"0.147",
"0.3552",
"0.4568",
"0.3552",
"0.4568",
"0.3682",
"0.147",
"0.3682"
],
[
"0.532",
"0.3552",
"0.881",
"0.3552",
"0.881",
"0.3694",
"0.532",
"0.3694"
],
[
"0.147",
"0.3694",
"0.4592",
"0.3694",
"0.4592",
"0.383",
"0.147",
"0.383"
],
[
"0.511",
"0.3694",
"0.881",
"0.3706",
"0.881",
"0.3855",
"0.511",
"0.3843"
],
[
"0.147",
"0.3855",
"0.455",
"0.3855",
"0.455",
"0.3955",
"0.147",
"0.3955"
],
[
"0.513",
"0.386",
"0.879",
"0.386",
"0.879",
"0.3997",
"0.513",
"0.3997"
],
[
"0.1453",
"0.398",
"0.4575",
"0.3967",
"0.4575",
"0.411",
"0.1453",
"0.412"
],
[
"0.513",
"0.4026",
"0.879",
"0.4026",
"0.879",
"0.4163",
"0.513",
"0.4163"
],
[
"0.147",
"0.412",
"0.4568",
"0.412",
"0.4568",
"0.4258",
"0.147",
"0.4258"
],
[
"0.513",
"0.4192",
"0.881",
"0.4192",
"0.881",
"0.4329",
"0.513",
"0.4329"
],
[
"0.147",
"0.427",
"0.4575",
"0.427",
"0.4575",
"0.4407",
"0.147",
"0.4407"
],
[
"0.1486",
"0.4424",
"0.4517",
"0.4424",
"0.4517",
"0.4531",
"0.1486",
"0.4531"
],
[
"0.513",
"0.437",
"0.8774",
"0.437",
"0.8774",
"0.4478",
"0.513",
"0.4478"
],
[
"0.147",
"0.456",
"0.4568",
"0.456",
"0.4568",
"0.466",
"0.147",
"0.466"
],
[
"0.513",
"0.452",
"0.881",
"0.452",
"0.881",
"0.4656",
"0.513",
"0.4656"
],
[
"0.1453",
"0.4685",
"0.4568",
"0.4685",
"0.4568",
"0.4822",
"0.1453",
"0.4822"
],
[
"0.5146",
"0.4685",
"0.881",
"0.4685",
"0.881",
"0.4822",
"0.5146",
"0.4822"
],
[
"0.1486",
"0.484",
"0.4534",
"0.484",
"0.4534",
"0.4946",
"0.1486",
"0.4946"
],
[
"0.5146",
"0.485",
"0.879",
"0.485",
"0.879",
"0.4988",
"0.5146",
"0.4988"
],
[
"0.1436",
"0.4976",
"0.4575",
"0.4963",
"0.4575",
"0.5103",
"0.1436",
"0.511"
],
[
"0.5146",
"0.5005",
"0.8774",
"0.5005",
"0.8774",
"0.514",
"0.5146",
"0.514"
],
[
"0.147",
"0.513",
"0.4568",
"0.513",
"0.4568",
"0.524",
"0.147",
"0.524"
],
[
"0.5146",
"0.5166",
"0.879",
"0.5166",
"0.879",
"0.53",
"0.5146",
"0.53"
],
[
"0.147",
"0.5254",
"0.4568",
"0.5254",
"0.4568",
"0.539",
"0.147",
"0.539"
],
[
"0.5146",
"0.532",
"0.879",
"0.532",
"0.879",
"0.546",
"0.5146",
"0.546"
],
[
"0.147",
"0.5405",
"0.4534",
"0.5405",
"0.4534",
"0.554",
"0.147",
"0.554"
],
[
"0.511",
"0.5474",
"0.733",
"0.5474",
"0.733",
"0.561",
"0.511",
"0.561"
],
[
"0.1486",
"0.5547",
"0.4517",
"0.5547",
"0.4517",
"0.5654",
"0.1486",
"0.5654"
],
[
"0.1453",
"0.568",
"0.4575",
"0.5684",
"0.4575",
"0.582",
"0.1453",
"0.5806"
],
[
"0.529",
"0.5664",
"0.879",
"0.5664",
"0.879",
"0.58",
"0.529",
"0.58"
],
[
"0.1486",
"0.5845",
"0.455",
"0.5845",
"0.455",
"0.594",
"0.1486",
"0.594"
],
[
"0.511",
"0.582",
"0.879",
"0.582",
"0.879",
"0.5957",
"0.511",
"0.5957"
],
[
"0.147",
"0.5967",
"0.4575",
"0.5967",
"0.4575",
"0.61",
"0.147",
"0.61"
],
[
"0.5146",
"0.5996",
"0.881",
"0.5996",
"0.881",
"0.6133",
"0.5146",
"0.6133"
],
[
"0.1453",
"0.611",
"0.4575",
"0.611",
"0.4575",
"0.6245",
"0.1453",
"0.6245"
],
[
"0.511",
"0.6143",
"0.879",
"0.6143",
"0.879",
"0.6274",
"0.511",
"0.6274"
],
[
"0.1486",
"0.627",
"0.251",
"0.627",
"0.251",
"0.638",
"0.1486",
"0.638"
],
[
"0.513",
"0.6313",
"0.881",
"0.6313",
"0.881",
"0.6455",
"0.513",
"0.6455"
],
[
"0.11584",
"0.653",
"0.1511",
"0.653",
"0.1511",
"0.6646",
"0.11584",
"0.6646"
],
[
"0.1486",
"0.653",
"0.2627",
"0.653",
"0.2627",
"0.665",
"0.1486",
"0.665"
],
[
"0.5146",
"0.648",
"0.881",
"0.648",
"0.881",
"0.661",
"0.5146",
"0.661"
],
[
"0.513",
"0.6646",
"0.881",
"0.6646",
"0.881",
"0.6777",
"0.513",
"0.6777"
],
[
"0.11755",
"0.677",
"0.4844",
"0.676",
"0.4844",
"0.6904",
"0.11755",
"0.6914"
],
[
"0.511",
"0.6787",
"0.879",
"0.6787",
"0.879",
"0.6924",
"0.511",
"0.6924"
],
[
"0.1184",
"0.6934",
"0.4878",
"0.6934",
"0.4878",
"0.707",
"0.1184",
"0.707"
],
[
"0.513",
"0.6953",
"0.881",
"0.6953",
"0.881",
"0.709",
"0.513",
"0.709"
],
[
"0.11755",
"0.709",
"0.4836",
"0.709",
"0.4836",
"0.7227",
"0.11755",
"0.7227"
],
[
"0.513",
"0.712",
"0.881",
"0.712",
"0.881",
"0.7256",
"0.513",
"0.7256"
],
[
"0.12006",
"0.727",
"0.4844",
"0.727",
"0.4844",
"0.7407",
"0.12006",
"0.7407"
],
[
"0.513",
"0.728",
"0.881",
"0.727",
"0.881",
"0.7407",
"0.513",
"0.741"
],
[
"0.1184",
"0.742",
"0.4878",
"0.742",
"0.4878",
"0.756",
"0.1184",
"0.756"
],
[
"0.5156",
"0.745",
"0.879",
"0.745",
"0.879",
"0.756",
"0.5156",
"0.756"
],
[
"0.1184",
"0.7583",
"0.4844",
"0.7583",
"0.4844",
"0.7715",
"0.1184",
"0.7715"
],
[
"0.513",
"0.7603",
"0.881",
"0.7603",
"0.881",
"0.774",
"0.513",
"0.774"
],
[
"0.1184",
"0.775",
"0.4844",
"0.775",
"0.4844",
"0.788",
"0.1184",
"0.788"
],
[
"0.513",
"0.777",
"0.881",
"0.777",
"0.881",
"0.7905",
"0.513",
"0.7905"
],
[
"0.12006",
"0.7915",
"0.157",
"0.7915",
"0.157",
"0.804",
"0.12006",
"0.804"
],
[
"0.5146",
"0.792",
"0.881",
"0.7915",
"0.881",
"0.8057",
"0.5146",
"0.807"
],
[
"0.1368",
"0.8057",
"0.4878",
"0.8057",
"0.4878",
"0.8193",
"0.1368",
"0.8193"
],
[
"0.513",
"0.807",
"0.881",
"0.808",
"0.881",
"0.8223",
"0.513",
"0.822"
],
[
"0.1184",
"0.8223",
"0.4878",
"0.8223",
"0.4878",
"0.836",
"0.1184",
"0.836"
],
[
"0.511",
"0.8247",
"0.879",
"0.8247",
"0.879",
"0.8384",
"0.511",
"0.8384"
],
[
"0.11755",
"0.8384",
"0.486",
"0.8384",
"0.486",
"0.8516",
"0.11755",
"0.8516"
],
[
"0.513",
"0.8413",
"0.881",
"0.8413",
"0.881",
"0.855",
"0.513",
"0.855"
],
[
"0.1184",
"0.855",
"0.486",
"0.855",
"0.486",
"0.868",
"0.1184",
"0.868"
],
[
"0.511",
"0.857",
"0.8774",
"0.857",
"0.8774",
"0.8706",
"0.511",
"0.8706"
],
[
"0.12006",
"0.8716",
"0.4844",
"0.8716",
"0.4844",
"0.8853",
"0.12006",
"0.8853"
],
[
"0.5283",
"0.8735",
"0.881",
"0.8735",
"0.881",
"0.887",
"0.5283",
"0.887"
],
[
"0.1486",
"0.8926",
"0.4685",
"0.8926",
"0.4685",
"0.9062",
"0.1486",
"0.9062"
],
[
"0.5146",
"0.8896",
"0.882",
"0.8896",
"0.882",
"0.903",
"0.5146",
"0.903"
],
[
"0.1453",
"0.904",
"0.2854",
"0.905",
"0.2854",
"0.9194",
"0.1453",
"0.9185"
],
[
"0.5156",
"0.9067",
"0.623",
"0.9067",
"0.623",
"0.9185",
"0.5156",
"0.9185"
]
] | [
"IMTLAB:用于构建、评估和诊断交互式机器翻译系统的开源平台",
"Xu Huangl*Zhirui Zhang?Ruize Gao3Yichao Du4 Lemao Liu?",
"Gouping Huang?Shuming Shi?Jiajun Chen!Shujian Huangl",
"1National Key Laboratory for Novel Software Technology, Nanjing University",
"2Tencent AI Lab3Shanghai Jiao Tong University",
"4University of Science and Technology of China",
"[email protected], chenjj,huangsj @nju.edu.cn",
"2 [email protected], { redmondliu,donkeyhuang,shumingshi } @tencent.com",
"[email protected]",
"[email protected]",
"Abstract",
"喜欢以不同的顺序修改单词。最近,已经提出",
"了另一种IMT范式,允许人类翻译人员在翻",
"We present IMTLAB , an open-source end-",
"译中的任意位置修改单词。此范例的基本技术",
"to-end interactive machine translation (IMT)",
"是词法约束翻译E(?????),它利用修改后的",
"system platform that enables researchers to",
"quicklybuild IMT systemswith state-of-the",
"单词作为约束来生成令人满意的翻译",
"art models, perform an end-to-end evaluation,",
"尽管已经提出了各种IMT技术,但目前缺",
"and diagnose the weakness of systems. IMT-",
"乏一个统一的平台来公平,系统地评估这些",
"LAB treats the whole interactive translation",
"方法,尤其是以端到端的方式。困难之一是以",
"process as a task-oriented dialogue with a",
"前的IMT方法在其交互式策略,评估环境和",
"human-in-the-loop setting, in which human in.",
"指标方面有所不同,因此很难公平地比较其性",
"terventions can be explicitly incorporated to",
"produce high-quality,error-free translations",
"能和效率。而且,以前采用的评估方法,例如",
"To this end, a general communication inter",
"随机删除单词或短语,然后在一次或多次交互",
"face is designed to support the flexible IMT",
"后比较BLEU得分E(???),与现实世界的交",
"architectures and user policies.Based on the",
"互体验相去甚远。最后的假设可能不是黄金翻",
"proposed design, we construct a simulated and",
"译,后期编辑仍然是必不可少的。相反,端到",
"real interactive environmentto achieve end-to",
"端范式可以在人工翻译人员完成翻译编辑后评",
"end evaluation and leverage the framework to",
"估IMT系统的性能,从而可以更准确地衡量",
"systematically evaluate previous IMT systems",
"整个迭代协作过程的总成本",
"Oursimulatedandmanual experiments shov",
"that the prefix-constrained decoding approach",
"在本文中,我们介绍了二个开源的端到端",
"stillgainsthelowesteditingcost intheend-to",
"IMT系统平台,即IMTLAB,以填补这一空",
"end evaluation, while BiTIIMT (?) achieves",
"白。该平台使学术界和工业界能够使用最先进",
"comparable editing cost with a better interac-",
"的模型快速构建IMT系统,执行端到端评估",
"tiveexperience.",
"并诊断IMT系统中的弱点。IMTLAB将整个",
"1",
"Introduction",
"交互式翻译过程视为面向任务的对话,其中包",
"括人在循环中的设置,并允许IMT系统利用明",
"近年来,神经机器翻译(NMT)E(???)有了显",
"确的人为干预来生成高质量,无差错的翻译。",
"着发展。然而,机器翻译文本的质量仍然不能",
"具体来说,用户的目标是获得正确的翻译,而",
"满足工业应用的严格要求,需要昂贵和低效的",
"IMT系统会根据用户的行为不断生成翻译。在",
"人工干预。交互式机器翻译(IMT)E(??????)",
"此过程中,用户反复执行编辑操作以请求IMT",
"是一个有前途的解决方案,可以保证高质量,",
"系统的响应,直到达到预定义的目标或用户对",
"无差错的翻译。它涉及人与机器之间的迭代协",
"此交互过程失去耐心。为了支持各种IMT系",
"作过程,具有多个交互步骤以获得令人满意的",
"统的灵活体系结构,我们提出了IMT系统与用",
"翻译",
"户之间的通用通信接口,其中用户仅限于五种",
"传统的IMT系统使用从左到右的完成范",
"常见的编辑操作类型:保留,插入,替换,删",
"例E(???),其中人类翻译人员修改翻译前",
"除和填空。然后IMTLAB利用用户修改后的",
"缀中的单词。可以使用前缀约束的解码策略轻",
"翻译和相应的字符级编辑操作来形成IMT系",
"松实现此范例。然而,这种严格的从左到右的",
"统的词汇约束。此外,我们为IMT系统构建了",
"方式限制了它的灵活性,因为一些译者可能更",
"个模拟或真实的交互环境,并引人了新的评",
"Work was done during internship at Tencent AI Lab.",
"估指标,以便以端到端的方式更好地验证IMT",
"tCorresponding author",
"系统的有效性"
] | {
"arxiv_id": "2310.11163",
"language": "zh",
"page_idx": 1
} |
||
2310.11163-zh-3 | 2310.11163-zh-3.jpg | 系统的响应。此交互过程一直持续到满足用户 束
的目标或用户对系统感到沮丧为止。通过这种为干预来完善翻译,并使研究人员能够以端到端的方式评估不同的 IMT 系统
# 3.2 Communication Interface
为了支持各种 IMT 系统的灵活体系结构,我们设计了 IMT 系统与用户之间的通用通信接口。用户仅限于五种常见的编辑操作:(i)保持单词不变;(ii)在任何位置插入连续的单词跨度;(iii) 将连续的单词跨度替换为新的单词跨度;(iv)删除任何位置的连续单词跨度;(v) 将连续的单词跨度替换为特殊的占位符(或仅插人),以提示 IMT 系统填空。这五种常见类型可以组合在一起,以涵盖大多数 IMT 范式中的交互式策略,包括从左到右完成,选择修订框架和任意词汇约束。为了保留用户编辑信息,我们在字符级别维护编辑操作的记录, 这是语言友好的。因此,用户反馈可以分解为两部分,修改后的翻译和相应的操作标签,为IMT 系统提供尽可能多的用户编辑信息
图 2 说明了 IMTLAB 如何记录来自不同用户的编辑操作的示例。具体来说,当IMT 系统产生需要人工干预的不令人满意的翻译时, 用户可以根据自己的目标执行上述编辑操作。值得注意的是,不同人的编辑过程可能会有所不同,例如人类 1 和 2。然后使用来自用户反馈的修改后的翻译和相应的操作标签来查询IMT 系统以获得所需的翻译。这些不同的编辑操作带来了不同的约束,例如。g。,前缀或任意位置的约束
对于实现细节,当用户执行保留,插入和替换操作时,很自然地用相应的操作标签直接标记修订后的翻译,i。e。,“k”,“i”和“r”标签。对于删除操作,我们在修订后的翻译中保留已删除的文本,并用“d”标签标记它们,以明确显示删除过程,这可能会向 IMT 系统提供更多编辑信息。填空和删除操作是非常相似的操作,不同之处在于前者意味着单词是多余的,而后者则意味着需要新单词来替换原始单词。因此,我们使用类似的方式来记录填空操作的编辑过程,该操作用“b”标签标记修订翻译中删除的文本。当用户只想插入新单词而不删除时,我们在修订后的翻译中附加特殊占位符“*”,并用“b”标签标记。此外,当用户在连续字符跨度上执行删除+插人或插人+ 操作时提供了更大的灵活性,我们假设模拟用删除的组合操作时,我们在实践中将这些组合 户更有可能容忍最多三次的约束违反。如果确操作视为替换操作。最后,用户的所有编辑操
根据用户的反馈生成翻译,用户提供编辑操作 作都可以转换为受词法约束的模板$t$ ,其中保(例如保留,插入,替换,删除和填空)以请求 留,插人和替换的字符是 IMT 系统的词法约
请注意,我们当前的版本仅支持上述与键盘
方式,IMTLAB 允许 IMT 系统利用明确的人 相关的操作,但它能够评估大多数常见的 IMT
系统。我们将把适应留给其他特殊操作,如鼠
标点击$\mathbb{E}(??)$ 或屏幕触摸,以便将来工作
## 3.3 IMT System
在交互过程中,IMT 系统必须根据用户的编辑操作不断生成翻译,这要求系统同时支持正常翻译和词法约束翻译。具体来说,给定一个源句子$x$ ,用户首先通过查询 IMT 系统而没有任何约束来获得初始翻译$\hat{y}^{(0)}:$
$$\hat{\boldsymbol{y}}^{(0)}=\mathrm{IMT}(\boldsymbol{x})=\arg\max_{\boldsymbol{y}}P(\boldsymbol{y}|\boldsymbol{x}).$$
如果此翻译不符合用户的要求,则开始以下交互过程。在第$i$轮,用户根据用户的目标$y_O$ 修改 IMT 系统返回的翻译$\hat{y}^{(i)}$ ,并将相应的编辑操作转换为受词法约束的模板$t^{(i)}$ ,以获得下一个翻译$\hat{y}^{(i+1)}:$
$$\begin{aligned}\boldsymbol{t}^{(i)}&=\mathrm{Policy}(\hat{\boldsymbol{y}}^{(i)},\boldsymbol{y}_{O}).\\\hat{\boldsymbol{y}}^{(i+1)}&=\mathrm{IMT}(\boldsymbol{x},\boldsymbol{t}^{(i)})\\&=\arg\max_{\boldsymbol{y}}P(\boldsymbol{y}|\boldsymbol{x},\boldsymbol{t}^{(i)}),\end{aligned}$$
(2)
其中 XMATHX\_MAX 中的约束应出现在。这个交互过程一直持续到我们获得$y_O$ 。如果用户对这个交互过程失去耐心,他们可以随时直接应用后期编辑策略来完全纠正翻译
## 3.4 Simulated Environment
我们构建了一个模拟的交互环境,其中 IMT 系统与用户模拟器而不是真实用户进行交互。尽管模拟用户和真实用户之间可能存在差异, 但这种设置使研究人员能够快速对 IMT 系统进行详细分析,而无需任何实际成本。在交互式翻译过程中,参考充当 oracle,以确定翻译中的单词或短语是否正确,并且模拟器根据其预定义的交互策略在每个回合上提供模拟的用户响应。翻译仅在与参考匹配时才被接受。在IMTLAB 中,我们为模拟用户实现了五个常见的交互策略,包括机器翻译后编辑(MTPE), 从左到右的句子完成(L2r),随机句子完成(Rand),从左到右填充(L2rI)和随机填充(RandI ),我们假设在以下情况下,我们将对MAX。由于Rand、L2rI 和 RandI 在选择编辑实发生了约束冲突,我们将根据当前翻译重新 | [
[
"0.12006",
"0.0873",
"0.4844",
"0.0873",
"0.4844",
"0.0974",
"0.12006",
"0.0974"
],
[
"0.5146",
"0.0885",
"0.879",
"0.0885",
"0.879",
"0.0986",
"0.5146",
"0.0986"
],
[
"0.1184",
"0.1027",
"0.4878",
"0.1027",
"0.4878",
"0.1164",
"0.1184",
"0.1164"
],
[
"0.513",
"0.1027",
"0.881",
"0.1027",
"0.881",
"0.1164",
"0.513",
"0.1164"
],
[
"0.1184",
"0.11816",
"0.4895",
"0.11755",
"0.4895",
"0.1312",
"0.1184",
"0.1318"
],
[
"0.5146",
"0.12054",
"0.531",
"0.12054",
"0.531",
"0.13",
"0.5146",
"0.13"
],
[
"0.11755",
"0.1342",
"0.4844",
"0.1342",
"0.4844",
"0.1478",
"0.11755",
"0.1478"
],
[
"0.532",
"0.1354",
"0.881",
"0.1354",
"0.881",
"0.1484",
"0.532",
"0.1484"
],
[
"0.11755",
"0.1509",
"0.4844",
"0.1497",
"0.4844",
"0.1644",
"0.11755",
"0.165"
],
[
"0.513",
"0.152",
"0.8774",
"0.152",
"0.8774",
"0.1621",
"0.513",
"0.1621"
],
[
"0.12006",
"0.1675",
"0.4836",
"0.1675",
"0.4836",
"0.1776",
"0.12006",
"0.1776"
],
[
"0.513",
"0.1675",
"0.881",
"0.1675",
"0.881",
"0.1812",
"0.513",
"0.1812"
],
[
"0.1184",
"0.1829",
"0.3645",
"0.1829",
"0.3645",
"0.1965",
"0.1184",
"0.1965"
],
[
"0.513",
"0.1818",
"0.8423",
"0.1818",
"0.8423",
"0.1953",
"0.513",
"0.1953"
],
[
"0.511",
"0.2102",
"0.657",
"0.2102",
"0.657",
"0.2239",
"0.511",
"0.2239"
],
[
"0.11584",
"0.2173",
"0.367",
"0.2173",
"0.367",
"0.231",
"0.11584",
"0.231"
],
[
"0.513",
"0.231",
"0.881",
"0.231",
"0.881",
"0.2446",
"0.513",
"0.2446"
],
[
"0.1184",
"0.2411",
"0.4878",
"0.2411",
"0.4878",
"0.2546",
"0.1184",
"0.2546"
],
[
"0.511",
"0.2465",
"0.879",
"0.2465",
"0.879",
"0.26",
"0.511",
"0.26"
],
[
"0.12006",
"0.2588",
"0.4844",
"0.2588",
"0.4844",
"0.2695",
"0.12006",
"0.2695"
],
[
"0.5146",
"0.2625",
"0.881",
"0.2625",
"0.881",
"0.2756",
"0.5146",
"0.2756"
],
[
"0.11755",
"0.2725",
"0.486",
"0.2725",
"0.486",
"0.2861",
"0.11755",
"0.2861"
],
[
"0.513",
"0.279",
"0.879",
"0.279",
"0.879",
"0.2922",
"0.513",
"0.2922"
],
[
"0.12006",
"0.2903",
"0.4836",
"0.2903",
"0.4836",
"0.3005",
"0.12006",
"0.3005"
],
[
"0.511",
"0.2944",
"0.7676",
"0.2922",
"0.7676",
"0.3071",
"0.511",
"0.3088"
],
[
"0.1184",
"0.306",
"0.4844",
"0.306",
"0.4844",
"0.3196",
"0.1184",
"0.3196"
],
[
"0.1184",
"0.3218",
"0.486",
"0.3218",
"0.486",
"0.335",
"0.1184",
"0.335"
],
[
"0.5615",
"0.3206",
"0.881",
"0.3225",
"0.881",
"0.339",
"0.5615",
"0.3374"
],
[
"0.1184",
"0.3384",
"0.4844",
"0.3384",
"0.4844",
"0.3516",
"0.1184",
"0.3516"
],
[
"0.7305",
"0.3416",
"0.738",
"0.3416",
"0.738",
"0.3467",
"0.7305",
"0.3467"
],
[
"0.1184",
"0.354",
"0.4844",
"0.354",
"0.4844",
"0.3677",
"0.1184",
"0.3677"
],
[
"0.513",
"0.361",
"0.881",
"0.361",
"0.881",
"0.3748",
"0.513",
"0.3748"
],
[
"0.11755",
"0.3694",
"0.486",
"0.3682",
"0.486",
"0.383",
"0.11755",
"0.3843"
],
[
"0.511",
"0.376",
"0.879",
"0.3777",
"0.879",
"0.3926",
"0.511",
"0.3901"
],
[
"0.11755",
"0.3855",
"0.4836",
"0.3855",
"0.4836",
"0.3984",
"0.11755",
"0.3984"
],
[
"0.513",
"0.3938",
"0.879",
"0.3938",
"0.879",
"0.4067",
"0.513",
"0.4067"
],
[
"0.1184",
"0.4038",
"0.482",
"0.4038",
"0.482",
"0.4146",
"0.1184",
"0.4146"
],
[
"0.511",
"0.4092",
"0.881",
"0.4092",
"0.881",
"0.4229",
"0.511",
"0.4229"
],
[
"0.11755",
"0.4187",
"0.4836",
"0.4187",
"0.4836",
"0.4316",
"0.11755",
"0.4316"
],
[
"0.51",
"0.4246",
"0.69",
"0.4216",
"0.69",
"0.4395",
"0.51",
"0.4424"
],
[
"0.1184",
"0.4353",
"0.4844",
"0.4353",
"0.4844",
"0.449",
"0.1184",
"0.449"
],
[
"0.1184",
"0.452",
"0.4844",
"0.452",
"0.4844",
"0.4656",
"0.1184",
"0.4656"
],
[
"0.5996",
"0.4495",
"0.777",
"0.4531",
"0.777",
"0.4702",
"0.5996",
"0.4673"
],
[
"0.11755",
"0.4673",
"0.43",
"0.4673",
"0.43",
"0.481",
"0.11755",
"0.481"
],
[
"0.58",
"0.4727",
"0.7446",
"0.4727",
"0.7446",
"0.4905",
"0.58",
"0.4905"
],
[
"0.1368",
"0.485",
"0.4836",
"0.485",
"0.4836",
"0.4988",
"0.1368",
"0.4988"
],
[
"0.858",
"0.481",
"0.881",
"0.481",
"0.881",
"0.4946",
"0.858",
"0.4946"
],
[
"0.11755",
"0.5005",
"0.4836",
"0.5005",
"0.4836",
"0.514",
"0.11755",
"0.514"
],
[
"0.6323",
"0.4988",
"0.81",
"0.4963",
"0.81",
"0.511",
"0.6323",
"0.513"
],
[
"0.1184",
"0.5186",
"0.482",
"0.5186",
"0.482",
"0.5293",
"0.1184",
"0.5293"
],
[
"0.6753",
"0.514",
"0.6885",
"0.514",
"0.6885",
"0.524",
"0.6753",
"0.524"
],
[
"0.12006",
"0.533",
"0.4902",
"0.533",
"0.4902",
"0.5464",
"0.12006",
"0.5464"
],
[
"0.513",
"0.535",
"0.881",
"0.535",
"0.881",
"0.549",
"0.513",
"0.549"
],
[
"0.1184",
"0.55",
"0.4844",
"0.55",
"0.4844",
"0.5635",
"0.1184",
"0.5635"
],
[
"0.513",
"0.5527",
"0.881",
"0.5527",
"0.881",
"0.568",
"0.513",
"0.568"
],
[
"0.1184",
"0.5654",
"0.4844",
"0.5654",
"0.4844",
"0.579",
"0.1184",
"0.579"
],
[
"0.513",
"0.5684",
"0.881",
"0.5684",
"0.881",
"0.582",
"0.513",
"0.582"
],
[
"0.12006",
"0.583",
"0.486",
"0.583",
"0.486",
"0.5933",
"0.12006",
"0.5933"
],
[
"0.511",
"0.585",
"0.8076",
"0.585",
"0.8076",
"0.5986",
"0.511",
"0.5986"
],
[
"0.1184",
"0.597",
"0.4844",
"0.597",
"0.4844",
"0.611",
"0.1184",
"0.611"
],
[
"0.1184",
"0.6143",
"0.4878",
"0.6143",
"0.4878",
"0.629",
"0.1184",
"0.629"
],
[
"0.5073",
"0.6094",
"0.7466",
"0.61",
"0.7466",
"0.6245",
"0.5073",
"0.6235"
],
[
"0.12006",
"0.6313",
"0.2275",
"0.6313",
"0.2275",
"0.6426",
"0.12006",
"0.6426"
],
[
"0.513",
"0.6313",
"0.882",
"0.6313",
"0.882",
"0.6445",
"0.513",
"0.6445"
],
[
"0.1368",
"0.648",
"0.4878",
"0.648",
"0.4878",
"0.661",
"0.1368",
"0.661"
],
[
"0.511",
"0.6465",
"0.881",
"0.6465",
"0.881",
"0.66",
"0.511",
"0.66"
],
[
"0.1184",
"0.6646",
"0.4878",
"0.6646",
"0.4878",
"0.6777",
"0.1184",
"0.6777"
],
[
"0.513",
"0.6646",
"0.882",
"0.6646",
"0.882",
"0.6777",
"0.513",
"0.6777"
],
[
"0.1184",
"0.6787",
"0.4878",
"0.6787",
"0.4878",
"0.6924",
"0.1184",
"0.6924"
],
[
"0.513",
"0.6797",
"0.881",
"0.6797",
"0.881",
"0.6934",
"0.513",
"0.6934"
],
[
"0.11755",
"0.695",
"0.486",
"0.695",
"0.486",
"0.708",
"0.11755",
"0.708"
],
[
"0.5146",
"0.6978",
"0.879",
"0.6978",
"0.879",
"0.708",
"0.5146",
"0.708"
],
[
"0.1184",
"0.7114",
"0.486",
"0.7114",
"0.486",
"0.7246",
"0.1184",
"0.7246"
],
[
"0.511",
"0.7114",
"0.879",
"0.7114",
"0.879",
"0.7246",
"0.511",
"0.7246"
],
[
"0.1184",
"0.728",
"0.486",
"0.728",
"0.486",
"0.741",
"0.1184",
"0.741"
],
[
"0.511",
"0.727",
"0.881",
"0.728",
"0.881",
"0.741",
"0.511",
"0.7407"
],
[
"0.11755",
"0.7437",
"0.486",
"0.7437",
"0.486",
"0.7573",
"0.11755",
"0.7573"
],
[
"0.513",
"0.7446",
"0.881",
"0.7446",
"0.881",
"0.7583",
"0.513",
"0.7583"
],
[
"0.12006",
"0.7627",
"0.4836",
"0.7627",
"0.4836",
"0.7725",
"0.12006",
"0.7725"
],
[
"0.513",
"0.7603",
"0.881",
"0.7603",
"0.881",
"0.774",
"0.513",
"0.774"
],
[
"0.1184",
"0.777",
"0.4878",
"0.777",
"0.4878",
"0.7905",
"0.1184",
"0.7905"
],
[
"0.513",
"0.777",
"0.881",
"0.777",
"0.881",
"0.7905",
"0.513",
"0.7905"
],
[
"0.1184",
"0.792",
"0.4878",
"0.792",
"0.4878",
"0.8057",
"0.1184",
"0.8057"
],
[
"0.511",
"0.7915",
"0.882",
"0.792",
"0.882",
"0.807",
"0.511",
"0.8057"
],
[
"0.12006",
"0.81",
"0.4836",
"0.81",
"0.4836",
"0.821",
"0.12006",
"0.821"
],
[
"0.5146",
"0.8086",
"0.882",
"0.8086",
"0.882",
"0.8223",
"0.5146",
"0.8223"
],
[
"0.1184",
"0.8247",
"0.486",
"0.8247",
"0.486",
"0.8384",
"0.1184",
"0.8384"
],
[
"0.511",
"0.8247",
"0.881",
"0.8247",
"0.881",
"0.8384",
"0.511",
"0.8384"
],
[
"0.1184",
"0.8413",
"0.4844",
"0.8413",
"0.4844",
"0.855",
"0.1184",
"0.855"
],
[
"0.511",
"0.8413",
"0.881",
"0.8413",
"0.881",
"0.855",
"0.511",
"0.855"
],
[
"0.1184",
"0.857",
"0.4844",
"0.857",
"0.4844",
"0.8706",
"0.1184",
"0.8706"
],
[
"0.51",
"0.857",
"0.879",
"0.857",
"0.879",
"0.8706",
"0.51",
"0.8706"
],
[
"0.12006",
"0.8726",
"0.4902",
"0.8726",
"0.4902",
"0.8857",
"0.12006",
"0.8857"
],
[
"0.511",
"0.8745",
"0.8774",
"0.8745",
"0.8774",
"0.8853",
"0.511",
"0.8853"
],
[
"0.11755",
"0.8896",
"0.4836",
"0.8896",
"0.4836",
"0.903",
"0.11755",
"0.903"
],
[
"0.513",
"0.8896",
"0.881",
"0.8896",
"0.881",
"0.903",
"0.513",
"0.903"
],
[
"0.1184",
"0.9062",
"0.4878",
"0.9062",
"0.4878",
"0.9194",
"0.1184",
"0.9194"
],
[
"0.5146",
"0.9067",
"0.879",
"0.9067",
"0.879",
"0.9175",
"0.5146",
"0.9175"
]
] | [
"根据用户的反馈生成翻译,用户提供编辑操作",
"作都可以转换为受词法约束的模板t,其中保",
"(例如保留,插人,替换,删除和填空)以请求",
"留,插入和替换的字符是IMT系统的词法约",
"系统的响应。此交互过程一直持续到满足用户",
"束",
"的目标或用户对系统感到沮丧为止。通过这种",
"请注意,我们当前的版本仅支持上述与键盘",
"方式,IMTLAB允许IMT系统利用明确的人",
"相关的操作,但它能够评估大多数常见的IMT",
"为于预来完善翻译,并使研究人员能够以端到",
"系统。我们将把适应留给其他特殊操作,如鼠",
"端的方式评估不同的IMT系统",
"标点击E(??或屏幕触摸,以便将来工作",
"3.3IMT System",
"3.2Communication Interface",
"在交互过程中,IMT系统必须根据用户的编辑",
"为了支持各种IMT系统的灵活体系结构,我",
"操作不断生成翻译,这要求系统同时支持正常",
"们设计了IMT系统与用户之间的通用通信接",
"翻译和词法约束翻译。具体来说,给定一个源",
"口。用户仅限于五种常见的编辑操作:(i)保",
"句子,用户首先通过查询IMT系统而没有",
"持单词不变:(i)在任何位置插入连续的单词",
"任何约束来获得初始翻译g(0):",
"跨度;(ii)将连续的单词跨度替换为新的单词",
"跨度;(iv)删除任何位置的连续单词跨度;(v)",
"g(0) = IMT(α) = arg max P(yla). (1)",
"将连续的单词跨度替换为特殊的占位符(或仅",
"9",
"插入),以提示IMT系统填空。这五种常见",
"如果此翻译不符合用户的要求,则开始以下交",
"类型可以组合在一起,以涵盖大多数IMT范",
"互过程。在第i轮,用户根据用户的目标yo",
"式中的交互式策略,包括从左到右完成,选择",
"修改IMT系统返回的翻译y,并将相应的",
"修订框架和任意词汇约束。为了保留用户编辑",
"编辑操作转换为受词法约束的模板t(i),以获",
"信息,我们在字符级别维护编辑操作的记录",
"得下一个翻译g(i+1):",
"这是语言友好的。因此,用户反馈可以分解为",
"两部分,修改后的翻译和相应的操作标签,为",
"t(i) = Policy(g(), yo),",
"IMT系统提供尽可能多的用户编辑信息",
"g(i+1) = IMT(α, t(i))",
"图2说明了IMTLAB如何记录来自不同用",
"(2)",
"户的编辑操作的示例。具体来说,当IMT系",
"= argmax P(ya,t())",
"统产生需要人工于预的不令人满意的翻译时",
"y",
"用户可以根据自已的目标执行上述编辑操作。",
"其中XMATHX_MAX中的约束应出现在。这",
"值得注意的是,不同人的编辑过程可能会有所",
"个交互过程一直持续到我们获得9o。如果用",
"不同,例如人类1和2。然后使用来自用户反",
"户对这个交互过程失去耐心,他们可以随时直",
"馈的修改后的翻译和相应的操作标签来香询",
"接应用后期编辑策略来完全纠正翻译",
"IMT系统以获得所需的翻译。这些不同的编辑",
"操作带来了不同的约束,例如。g。,前缀或任",
"3.4Simulated Environment",
"意位置的约束",
"我们构建了一个模拟的交互环境,其中IMT",
"对于实现细节,当用户执行保留,插入和替",
"系统与用户模拟器而不是真实用户进行交互。",
"换操作时,很自然地用相应的操作标签直接标",
"尽管模拟用户和真实用户之间可能存在差异,",
"记修订后的翻译,i。e。,“k”,“i”和“r”标",
"但这种设置使研究人员能够快速对IMT系统",
"签。对于删除操作,我们在修订后的翻译中保",
"进行详细分析,而无需任何实际成本。在交互",
"留已删除的文本,并用“d”标签标记它们,以",
"式翻译过程中,参考充当oracle,以确定翻译",
"明确显示删除过程,这可能会向IMT系统提",
"中的单词或短语是否正确,并且模拟器根据其",
"供更多编辑信息。填空和删除操作是非常相似",
"预定义的交互策略在每个回合上提供模拟的用",
"的操作,不同之处在于前者意味看单词是多余",
"户响应。翻译仅在与参考匹配时才被接受。在",
"的,而后者则意味着需要新单词来替换原始单",
"IMTLAB中,我们为模拟用户实现了五个常见",
"词。因此,我们使用类似的方式来记录填空操",
"的交互策略,包括机器翻译后编辑(MTPE),",
"作的编辑过程,该操作用“b”标签标记修订",
"从左到右的句子完成(L2r),随机句子完成",
"翻译中删除的文本。当用户只想插入新单词而",
"(Rand),从左到右填充(L2rI)和随机填充",
"不删除时,我们在修订后的翻译中附加特殊占",
"(RandI),我们假设在以下情况下,我们将对",
"位符“*”,并用“b”标签标记。此外,当用",
"MAX。由于Rand、L2rI和RandI在选择编辑",
"户在连续字符跨度上执行删除+插入或插入+",
"操作时提供了更大的灵活性,我们假设模拟用",
"删除的组合操作时,我们在实践中将这些组合",
"户更有可能容忍最多三次的约束违反。如果确",
"操作视为替换操作。最后,用户的所有编辑操",
"实发生了约束冲突,我们将根据当前翻译重新"
] | {
"arxiv_id": "2310.11163",
"language": "zh",
"page_idx": 3
} |
||
2310.11163-zh-4 | 2310.11163-zh-4.jpg | <FigureHere>
Figure 2: An example of the communication interface, where users perform editing operations (i.e., keep , insert , replace , delete and blank-filling ) on the output of the IMT system according to their own goals. We show two different editing processes from users: one of which contains a prefix constraint, while the other one contains complex constraints. The editing operations are at the character level and the kept, inserted and replaced characters actually are lexical constraints. “*” is a special placeholder for the blank-filling operation.
启动交互式策略。此外,最大交互轮数阈值由MTPE 提供的编辑序列数确定,以模拟交互过程效率太低而用户无法继续的情况。如果交互轮数超过此阈值,我们假设模拟用户将失去耐心。一旦模拟用户对交互过程失去耐心,就利用 MTPE 来纠正当前翻译
## 3.5 Evaluation Metrics
在交互式翻译过程中,我们通过将用户每轮编辑操作的累积成本相加来计算总编辑成本。虽然我们承认可以考虑使用鼠标或触摸板的成本,但为了简单起见,我们选择在当前版本中忽略它。
·成功率 (SR)。我们跟踪用户对交互过程的满
意度,以隐含地反映交互体验。
$\cdot$一致性(Con。)。为了衡量用户对新单词或短语的认知成本,我们计算来自 IMT 系统的两个相邻输出之间的平均编辑距离。
·平均转数 (AT)。我们计算每个源句子的整个
交互式翻译过程的平均周期。
·响应时间(RT)。IMT 系统在整个交互过程中
的平均响应时间。
在这些指标中,编辑成本反映了用户的工作量,
而其他指标则反映了用户对交互过程的体验
以前的 IMT 方法中使用的评估方法,例如随机删除单词或短语以及在一次或多次交互后比较 BLEU 分数,不能准确反映现实世界的交互体验。为了解决这个问题,IMTLAB 为 IMT 系统引入了几个端到端评估指标,这些指标可以更准确地衡量整个迭代协作过程的总成本。
### 4 $\textbf{Experiments}$
# 4.1 Setup
$\bullet$Editing Cost (EC).For the interactive experience, the editing cost is the most crucial metric, rather than BLEU scores, as the user is expected to achieve their desired translation through the iterative collaboration process. To this end, we define the cost of each editing operation based on the actual number of required keystrokes:
- keep:0
- insert:#chars inserted
- delete:1
- replace:# chars inserted+1
-blank-filling:1
Data. 我们在两个方向上对英语-德语(EnDe)和汉语-英语(Zh-En)语言对进行模拟和手动实验。对于 En$\leftrightarrow$De,我们使用由 4个。5 百万个平行句子作为训练集,newstest2013作为开发集,newstest2014 作为测试集。我们预处理数据类似于 fairseq 中的脚本,除了我 | [
[
"0.1855",
"0.0873",
"0.693",
"0.0873",
"0.693",
"0.10095",
"0.1855",
"0.10095"
],
[
"0.1604",
"0.10156",
"0.831",
"0.10394",
"0.831",
"0.1217",
"0.1604",
"0.1194"
],
[
"0.251",
"0.1217",
"0.4744",
"0.1217",
"0.4744",
"0.1354",
"0.251",
"0.1354"
],
[
"0.147",
"0.1354",
"0.825",
"0.1372",
"0.825",
"0.152",
"0.147",
"0.1497"
],
[
"0.251",
"0.152",
"0.4307",
"0.1538",
"0.4307",
"0.1675",
"0.251",
"0.165"
],
[
"0.1453",
"0.1729",
"0.3855",
"0.1729",
"0.3855",
"0.1859",
"0.1453",
"0.1859"
],
[
"0.2107",
"0.1924",
"0.8345",
"0.1948",
"0.8345",
"0.209",
"0.2107",
"0.2073"
],
[
"0.1628",
"0.2073",
"0.3315",
"0.2073",
"0.3315",
"0.2203",
"0.1628",
"0.2203"
],
[
"0.4324",
"0.209",
"0.4954",
"0.209",
"0.4954",
"0.2197",
"0.4324",
"0.2197"
],
[
"0.5786",
"0.209",
"0.623",
"0.209",
"0.623",
"0.2197",
"0.5786",
"0.2197"
],
[
"0.3972",
"0.2114",
"0.4148",
"0.2114",
"0.4148",
"0.2156",
"0.3972",
"0.2156"
],
[
"0.346",
"0.212",
"0.3628",
"0.212",
"0.3628",
"0.2162",
"0.346",
"0.2162"
],
[
"0.2603",
"0.2239",
"0.638",
"0.2239",
"0.638",
"0.2382",
"0.2603",
"0.2382"
],
[
"0.1436",
"0.2612",
"0.4182",
"0.2625",
"0.4182",
"0.2766",
"0.1436",
"0.2756"
],
[
"0.2091",
"0.2798",
"0.8506",
"0.282",
"0.8506",
"0.2998",
"0.2091",
"0.2976"
],
[
"0.1663",
"0.2976",
"0.297",
"0.2976",
"0.297",
"0.308",
"0.1663",
"0.308"
],
[
"0.586",
"0.2976",
"0.6406",
"0.2976",
"0.6406",
"0.308",
"0.586",
"0.308"
],
[
"0.738",
"0.2976",
"0.8345",
"0.2976",
"0.8345",
"0.3088",
"0.738",
"0.3088"
],
[
"0.534",
"0.3005",
"0.5474",
"0.3005",
"0.5474",
"0.304",
"0.534",
"0.304"
],
[
"0.3914",
"0.3005",
"0.4114",
"0.3005",
"0.4114",
"0.304",
"0.3914",
"0.304"
],
[
"0.4475",
"0.3018",
"0.4836",
"0.3018",
"0.4836",
"0.306",
"0.4475",
"0.306"
],
[
"0.2612",
"0.3154",
"0.403",
"0.3154",
"0.403",
"0.3289",
"0.2612",
"0.3289"
],
[
"0.4114",
"0.3164",
"0.509",
"0.3164",
"0.509",
"0.3267",
"0.4114",
"0.3267"
],
[
"0.5073",
"0.3164",
"0.6206",
"0.3164",
"0.6206",
"0.3267",
"0.5073",
"0.3267"
],
[
"0.4207",
"0.3557",
"0.843",
"0.3557",
"0.843",
"0.3665",
"0.4207",
"0.3665"
],
[
"0.11755",
"0.379",
"0.882",
"0.379",
"0.882",
"0.3926",
"0.11755",
"0.3926"
],
[
"0.11755",
"0.3926",
"0.879",
"0.3926",
"0.879",
"0.4062",
"0.11755",
"0.4062"
],
[
"0.11755",
"0.408",
"0.882",
"0.408",
"0.882",
"0.4216",
"0.11755",
"0.4216"
],
[
"0.11584",
"0.4229",
"0.882",
"0.4229",
"0.882",
"0.4358",
"0.11584",
"0.4358"
],
[
"0.11755",
"0.4382",
"0.336",
"0.4382",
"0.336",
"0.449",
"0.11755",
"0.449"
],
[
"0.339",
"0.437",
"0.723",
"0.437",
"0.723",
"0.4507",
"0.339",
"0.4507"
],
[
"0.1184",
"0.4768",
"0.4844",
"0.4768",
"0.4844",
"0.4905",
"0.1184",
"0.4905"
],
[
"0.5283",
"0.4768",
"0.881",
"0.4768",
"0.881",
"0.4905",
"0.5283",
"0.4905"
],
[
"0.11584",
"0.4912",
"0.486",
"0.4922",
"0.486",
"0.5073",
"0.11584",
"0.506"
],
[
"0.5283",
"0.4934",
"0.881",
"0.4934",
"0.881",
"0.5073",
"0.5283",
"0.5073"
],
[
"0.1184",
"0.509",
"0.4844",
"0.509",
"0.4844",
"0.5225",
"0.1184",
"0.5225"
],
[
"0.5283",
"0.509",
"0.881",
"0.509",
"0.881",
"0.5225",
"0.5283",
"0.5225"
],
[
"0.1184",
"0.525",
"0.4844",
"0.525",
"0.4844",
"0.538",
"0.1184",
"0.538"
],
[
"0.5264",
"0.524",
"0.881",
"0.525",
"0.881",
"0.539",
"0.5264",
"0.538"
],
[
"0.1184",
"0.5415",
"0.4844",
"0.5415",
"0.4844",
"0.5547",
"0.1184",
"0.5547"
],
[
"0.5264",
"0.5405",
"0.663",
"0.5405",
"0.663",
"0.554",
"0.5264",
"0.554"
],
[
"0.1184",
"0.557",
"0.3123",
"0.557",
"0.3123",
"0.572",
"0.1184",
"0.572"
],
[
"0.511",
"0.561",
"0.879",
"0.561",
"0.879",
"0.5747",
"0.511",
"0.5747"
],
[
"0.5283",
"0.579",
"0.775",
"0.579",
"0.775",
"0.593",
"0.5283",
"0.593"
],
[
"0.11755",
"0.585",
"0.315",
"0.585",
"0.315",
"0.5957",
"0.11755",
"0.5957"
],
[
"0.11755",
"0.604",
"0.4844",
"0.604",
"0.4844",
"0.6177",
"0.11755",
"0.6177"
],
[
"0.5356",
"0.601",
"0.881",
"0.601",
"0.881",
"0.6143",
"0.5356",
"0.6143"
],
[
"0.12006",
"0.619",
"0.4844",
"0.619",
"0.4844",
"0.633",
"0.12006",
"0.633"
],
[
"0.5283",
"0.616",
"0.879",
"0.616",
"0.879",
"0.63",
"0.5283",
"0.63"
],
[
"0.11755",
"0.6353",
"0.4836",
"0.6353",
"0.4836",
"0.6484",
"0.11755",
"0.6484"
],
[
"0.5264",
"0.6313",
"0.7925",
"0.632",
"0.7925",
"0.6465",
"0.5264",
"0.6455"
],
[
"0.1184",
"0.653",
"0.4844",
"0.653",
"0.4844",
"0.6665",
"0.1184",
"0.6665"
],
[
"0.511",
"0.654",
"0.879",
"0.654",
"0.879",
"0.6675",
"0.511",
"0.6675"
],
[
"0.1184",
"0.6685",
"0.4844",
"0.6685",
"0.4844",
"0.6816",
"0.1184",
"0.6816"
],
[
"0.5264",
"0.6694",
"0.754",
"0.6685",
"0.754",
"0.683",
"0.5264",
"0.684"
],
[
"0.1184",
"0.684",
"0.455",
"0.684",
"0.455",
"0.6987",
"0.1184",
"0.6987"
],
[
"0.5156",
"0.6934",
"0.531",
"0.6934",
"0.531",
"0.7017",
"0.5156",
"0.7017"
],
[
"0.525",
"0.6914",
"0.879",
"0.6914",
"0.879",
"0.705",
"0.525",
"0.705"
],
[
"0.1142",
"0.709",
"0.4895",
"0.7104",
"0.4895",
"0.7246",
"0.1142",
"0.7236"
],
[
"0.5283",
"0.707",
"0.665",
"0.707",
"0.665",
"0.7217",
"0.5283",
"0.7217"
],
[
"0.1318",
"0.728",
"0.4844",
"0.728",
"0.4844",
"0.741",
"0.1318",
"0.741"
],
[
"0.513",
"0.733",
"0.879",
"0.733",
"0.879",
"0.7466",
"0.513",
"0.7466"
],
[
"0.1301",
"0.742",
"0.4844",
"0.742",
"0.4844",
"0.756",
"0.1301",
"0.756"
],
[
"0.5146",
"0.7505",
"0.8623",
"0.7505",
"0.8623",
"0.764",
"0.5146",
"0.764"
],
[
"0.1301",
"0.7603",
"0.486",
"0.7603",
"0.486",
"0.774",
"0.1301",
"0.774"
],
[
"0.1318",
"0.7754",
"0.4878",
"0.7754",
"0.4878",
"0.789",
"0.1318",
"0.789"
],
[
"0.517",
"0.781",
"0.525",
"0.781",
"0.525",
"0.7876",
"0.517",
"0.7876"
],
[
"0.5425",
"0.782",
"0.5474",
"0.782",
"0.5474",
"0.7876",
"0.5425",
"0.7876"
],
[
"0.546",
"0.78",
"0.66",
"0.78",
"0.66",
"0.792",
"0.546",
"0.792"
],
[
"0.1335",
"0.7935",
"0.4844",
"0.7935",
"0.4844",
"0.804",
"0.1335",
"0.804"
],
[
"0.534",
"0.783",
"0.5415",
"0.783",
"0.5415",
"0.786",
"0.534",
"0.786"
],
[
"0.513",
"0.804",
"0.5557",
"0.804",
"0.5557",
"0.8154",
"0.513",
"0.8154"
],
[
"0.5483",
"0.802",
"0.607",
"0.804",
"0.6055",
"0.8184",
"0.5474",
"0.8164"
],
[
"0.1301",
"0.808",
"0.4626",
"0.808",
"0.4626",
"0.822",
"0.1301",
"0.822"
],
[
"0.517",
"0.8223",
"0.882",
"0.8237",
"0.882",
"0.8384",
"0.517",
"0.8374"
],
[
"0.1486",
"0.832",
"0.2351",
"0.83",
"0.2351",
"0.844",
"0.1486",
"0.8467"
],
[
"0.511",
"0.8403",
"0.879",
"0.8403",
"0.879",
"0.854",
"0.511",
"0.854"
],
[
"0.1503",
"0.851",
"0.3552",
"0.851",
"0.3552",
"0.861",
"0.1503",
"0.861"
],
[
"0.511",
"0.8555",
"0.881",
"0.855",
"0.881",
"0.869",
"0.511",
"0.8706"
],
[
"0.1503",
"0.868",
"0.2494",
"0.868",
"0.2494",
"0.88",
"0.1503",
"0.88"
],
[
"0.513",
"0.8726",
"0.882",
"0.8726",
"0.882",
"0.8857",
"0.513",
"0.8857"
],
[
"0.1503",
"0.8857",
"0.3938",
"0.8857",
"0.3938",
"0.8994",
"0.1503",
"0.8994"
],
[
"0.513",
"0.887",
"0.881",
"0.888",
"0.881",
"0.903",
"0.513",
"0.902"
],
[
"0.1486",
"0.902",
"0.315",
"0.904",
"0.315",
"0.9185",
"0.1486",
"0.9165"
],
[
"0.513",
"0.904",
"0.882",
"0.904",
"0.882",
"0.9185",
"0.513",
"0.9185"
]
] | [
"Source:VR作品的最大优势是令观众具有独一无二的观影“沉浸\"感。",
"User Goal: The biggest advantage for VR works is to enable the audience to have a unique",
"movie watching \"immersion\".",
"IMT System: The greatest advantage of VR works is that the audience has a unique sense of",
"\"immersion\"in thefilm.",
".Human 1(prefix constraint)",
"Text:The biggest advantage for vR works is to that the audience has a",
"Operations:kkkk/--r",
"-irrrl",
"liiil",
"",
"",
"a unique sense of \"immersion\" in the film.",
".Human 2 (complex constraints)",
"Text: The biggest advantage for VR works is that the audience * hasve a",
"Operations:kkkk",
"bbbbl",
"/bbkkkdiil",
"",
"",
"",
"unique sense of",
"\"immersion",
" in the film.",
"Keep(k)Insert(i)Replace(r)Delete(d)Blank(b)",
"Figure 2: An example of the communication interface, where users perform editing operations (i.e., keep, insert",
", replace , delete and blank-filling ) on the output of the IMT system according to their own goals. We show",
"two different editing processes from users: one of which contains a prefix constraint, while the other one contains",
"complex constraints. The editing operations are at the character level and the kept, inserted and replaced characters",
"actually arelexical constraints.",
"*\" is a special placeholder for the blank-filling operation.",
"启动交互式策略。此外,最大交互轮数阈值由",
"在交互式翻译过程中,我们通过将用户每轮",
"MTPE提供的编辑序列数确定,以模拟交互过",
"编辑操作的累积成本相加来计算总编辑成",
"程效率太低而用户无法继续的情况。如果交互",
"本。虽然我们承认可以考虑使用鼠标或触摸",
"轮数超过此值,我们假设模拟用户将失去耐",
"板的成本,但为了简单起见,我们选择在当",
"心。一旦模拟用户对交互过程失去耐心,就利",
"前版本中忽略它。",
"用MTPE来纠正当前翻译",
"·成功率(SR)。我们跟踪用户对交互过程的满",
"意度,以隐含地反映交互体验。",
"3.5EvaluationMetrics",
"以前的IMT方法中使用的评估方法,例如随",
"致性(Con。)。为了衡量用户对新单词或短",
"机删除单词或短语以及在一次或多次交互后比",
"语的认知成本,我们计算来自IMT系统的两",
"较BLEU分数,不能准确反映现实世界的交互",
"个相邻输出之间的平均编辑距离。",
"体验。为了解决这个问题,IMTLAB为IMT系",
"·平均转数(AT)。我们计算每个源句子的整个",
"统引人了几个端到端评估指标,这些指标可以",
"交互式翻译过程的平均周期。",
"更准确地衡量整个迭代协作过程的总成本。",
"",
"响应时间(RT)。IMT系统在整个交互过程中",
". Editing Cost (EC). For the interactive experi-",
"的平均响应时间。",
"ence, the editing cost is the most crucial metric,",
"在这些指标中,编辑成本反映了用户的工作量,",
"rather than BLEU scores, as the user is expected",
"而其他指标则反映了用户对交互过程的体验",
"to achieve their desired translation through the",
"iterative collaboration process. To this end, we",
"1",
"",
"Experiments",
"definethe costof each editing operationbased",
"",
"4.1",
"Setup",
"on the actual number of required keystrokes:",
"Data.我们在两个方向上对英语-德语(En-",
"- keep : 0",
"De)和汉语-英语(Zh-En)语言对进行模拟和",
"-insert :#charsinserted",
"手动实验。对于En分De,我们使用由4个。",
"- delete : 1",
"5百万个平行句子作为训练集,newstest2013",
"- replace : # chars inserted + 1",
"作为开发集,newstest2014作为测试集。我们",
"- blank-filling:1",
"预处理数据类似于fairseq中的脚本,除了我"
] | {
"arxiv_id": "2310.11163",
"language": "zh",
"page_idx": 4
} |
||
2310.18830-zh-1 | 2310.18830-zh-1.jpg | ## 翻译掉没有并行数据的 Translitionese
Rricha Jalota$^{1,3,*},\textbf{Koel Dutta Chowdhury}^{1}$,
Cristina España-Bonet$^2$, and Josef van Genabith$^{1,2}$
$^{1}\bar{\text{Saarland University, Saarland Informatics Campus, Germany}}$ $^{2}$German Research Center for Artificial Intelligence (DFKI)
$^3$AppTek GmbH, Germany
[email protected], [email protected]
koel. duttachowdhury@uni-saarland. de
$\{$ cristinae, Josef.Van\_Genabith $\}$ @dfki.de
# Abstract
Translated texts exhibit systematic linguistic differences compared to original texts in the same language, and these differences are referred to as translationese. Translationese has effects on various cross-lingual natural language processing tasks, potentially leading to biased results. In this paper, we explore a novel approach to reduce translationese in translated texts: translation-based style transfer. As there are no parallel human-translated and original data in the same language, we use a self-supervised approach that can learn from comparable (rather than parallel) monolingual original and translated data. However, even this self-supervised approach requires some parallel data for validation. We show how we can eliminate the need for parallel validation data by combining the self-supervised loss with an unsupervised loss. This unsupervised loss leverages the original language model loss over the style-transferred output and a semantic similarity loss between the input and style-transferred output. We evaluate our approach in terms of original vs. translationese binary classification in addition to measuring content preservation and target-style fluency. The results show that our approach is able to reduce translationese classifier accuracy to a level of a random classifier after style transfer while adequately preserving the content and fluency in the target original style.
## 1 $\textbf{Introduction}$
与同一语言的原始文本相比,翻译的文本通常表现出明显的语言特征,从而导致所谓的翻译。翻译对各种跨语言和多语言自然语言处理(NLP)任务有明显的影响,可能导致有偏见的结果。例如在机器翻译(MT)中,在训练过程中,当并行训练数据的翻译方向与翻译任务的方向匹配时,(i。e。当源是原始的并且目标被翻译时), MT 系统执行更好的 (??)。同样,?,
"Work done while the author was a student at Saarland
University.
?和?表明翻译已经翻译的文本会导致 BLEU 分数增加。最近,?观察到,在翻译测试集上评估时,跨语言模型仅由于诱导的翻译伪像而显示出错误的改进。在调查跨语言摘要中翻译的影响时,?发现,在翻译的训练数据上训练的模型在现实世界中会受到影响。这些例子表明了调查和减轻翻译的重要性。尽管如此,在已经生成的翻译输出中删除翻译信号是一个未开发的研究课题。?删除向量嵌入中隐式编码的翻译,并演示消除翻译信号对自然语言推理性能的影响?利用抽象含义表示(AMR)作为中间表示来抽象文本的表面级特征,从而减少翻译。这些作品都没有明确分析所产生的“去偏见文本”的表面形式及其与原始文本的相似之处。在这项工作中,我们的目标是减少人工翻译文本中翻译的存在,并使它们与原始文本非常相似,特别是在不使用任何平行数据的情况下,因为不存在相同语言的平行人工原始翻译数据。为此,我们探讨了 a 自监督神经机器翻译 (NMT) system (?)及其在风格转换(ST)(?)中的应用。在这两个works 中,验证都是在并行数据集上执行的,双语 (MT data )或单语(ST data )。但是,无法使用相同语言的并行人类原始翻译数据。为了克服这一挑战,我们通过结合语言模型损失和语义相似性损失来定义无监督验证标准,其灵感来自?。我们的基线是来自?的自监督方法(SSNMT)。然而,我们更进一步,提出了一个新的联合训练目标,结合了自监督和无监督的标准,消除了在训练和验证过程中对并行数据的需求
这项工作的贡献如下:
$\cdot$ We are the first to formulate reduction of translationese in human translations as a monolingual translation based style-transfer task, allowing for direct evaluation of the effects on the surface forms of the generated outputs.
$\cdot$ We introduce a joint self-supervised and unsupervised learning criterion that eliminates the need for a parallel (and non-existent) orig- | [
[
"0.3064",
"0.0849",
"0.6943",
"0.0849",
"0.6943",
"0.0998",
"0.3064",
"0.0998"
],
[
"0.3167",
"0.1081",
"0.686",
"0.1081",
"0.686",
"0.1259",
"0.3167",
"0.1259"
],
[
"0.2837",
"0.1271",
"0.7197",
"0.1271",
"0.7197",
"0.1414",
"0.2837",
"0.1414"
],
[
"0.2544",
"0.1426",
"0.75",
"0.1437",
"0.75",
"0.158",
"0.2544",
"0.1567"
],
[
"0.2603",
"0.158",
"0.744",
"0.1603",
"0.744",
"0.1746",
"0.2603",
"0.1729"
],
[
"0.392",
"0.177",
"0.608",
"0.177",
"0.608",
"0.1912",
"0.392",
"0.1912"
],
[
"0.251",
"0.1948",
"0.7524",
"0.1948",
"0.7524",
"0.2079",
"0.251",
"0.2079"
],
[
"0.3242",
"0.2102",
"0.678",
"0.2102",
"0.678",
"0.2239",
"0.3242",
"0.2239"
],
[
"0.2837",
"0.228",
"0.708",
"0.228",
"0.708",
"0.2411",
"0.2837",
"0.2411"
],
[
"0.2627",
"0.2542",
"0.34",
"0.2542",
"0.34",
"0.2683",
"0.2627",
"0.2683"
],
[
"0.513",
"0.2546",
"0.881",
"0.2546",
"0.881",
"0.2683",
"0.513",
"0.2683"
],
[
"0.513",
"0.2708",
"0.881",
"0.2708",
"0.881",
"0.284",
"0.513",
"0.284"
],
[
"0.1453",
"0.2798",
"0.4575",
"0.2798",
"0.4575",
"0.2944",
"0.1453",
"0.2944"
],
[
"0.5146",
"0.2874",
"0.8774",
"0.2874",
"0.8774",
"0.2976",
"0.5146",
"0.2976"
],
[
"0.1453",
"0.2957",
"0.4575",
"0.2957",
"0.4575",
"0.3088",
"0.1453",
"0.3088"
],
[
"0.5146",
"0.3027",
"0.881",
"0.3027",
"0.881",
"0.3164",
"0.5146",
"0.3164"
],
[
"0.1453",
"0.3088",
"0.4575",
"0.308",
"0.4575",
"0.3218",
"0.1453",
"0.3225"
],
[
"0.1453",
"0.3225",
"0.4568",
"0.3225",
"0.4568",
"0.3362",
"0.1453",
"0.3362"
],
[
"0.513",
"0.3196",
"0.882",
"0.3196",
"0.882",
"0.3333",
"0.513",
"0.3333"
],
[
"0.1453",
"0.3362",
"0.4568",
"0.3362",
"0.4568",
"0.3499",
"0.1453",
"0.3499"
],
[
"0.511",
"0.3342",
"0.881",
"0.3342",
"0.881",
"0.3474",
"0.511",
"0.3474"
],
[
"0.1453",
"0.3516",
"0.4575",
"0.3516",
"0.4575",
"0.3652",
"0.1453",
"0.3652"
],
[
"0.5146",
"0.3516",
"0.882",
"0.3516",
"0.882",
"0.3652",
"0.5146",
"0.3652"
],
[
"0.1453",
"0.3665",
"0.4568",
"0.3665",
"0.4568",
"0.3801",
"0.1453",
"0.3801"
],
[
"0.513",
"0.3682",
"0.881",
"0.3682",
"0.881",
"0.3818",
"0.513",
"0.3818"
],
[
"0.1453",
"0.3801",
"0.4575",
"0.3801",
"0.4575",
"0.3938",
"0.1453",
"0.3938"
],
[
"0.511",
"0.383",
"0.8774",
"0.383",
"0.8774",
"0.3967",
"0.511",
"0.3967"
],
[
"0.1453",
"0.3938",
"0.4575",
"0.3943",
"0.4575",
"0.408",
"0.1453",
"0.4067"
],
[
"0.5146",
"0.402",
"0.8774",
"0.402",
"0.8774",
"0.412",
"0.5146",
"0.412"
],
[
"0.1453",
"0.4092",
"0.4575",
"0.4092",
"0.4575",
"0.4229",
"0.1453",
"0.4229"
],
[
"0.513",
"0.415",
"0.881",
"0.4146",
"0.881",
"0.4287",
"0.513",
"0.43"
],
[
"0.1453",
"0.4216",
"0.4575",
"0.4229",
"0.4575",
"0.437",
"0.1453",
"0.4358"
],
[
"0.147",
"0.437",
"0.4575",
"0.437",
"0.4575",
"0.4507",
"0.147",
"0.4507"
],
[
"0.5146",
"0.4316",
"0.879",
"0.4316",
"0.879",
"0.4453",
"0.5146",
"0.4453"
],
[
"0.147",
"0.452",
"0.4575",
"0.452",
"0.4575",
"0.4656",
"0.147",
"0.4656"
],
[
"0.513",
"0.4478",
"0.881",
"0.4465",
"0.881",
"0.4614",
"0.513",
"0.462"
],
[
"0.1436",
"0.4644",
"0.4575",
"0.4656",
"0.4575",
"0.4785",
"0.1436",
"0.478"
],
[
"0.513",
"0.4644",
"0.879",
"0.4644",
"0.879",
"0.478",
"0.513",
"0.478"
],
[
"0.1453",
"0.4797",
"0.4568",
"0.4797",
"0.4568",
"0.4934",
"0.1453",
"0.4934"
],
[
"0.5146",
"0.4797",
"0.881",
"0.4797",
"0.881",
"0.4934",
"0.5146",
"0.4934"
],
[
"0.147",
"0.4934",
"0.455",
"0.4934",
"0.455",
"0.5073",
"0.147",
"0.5073"
],
[
"0.5146",
"0.4963",
"0.881",
"0.4963",
"0.881",
"0.5103",
"0.5146",
"0.5103"
],
[
"0.147",
"0.509",
"0.4568",
"0.509",
"0.4568",
"0.5195",
"0.147",
"0.5195"
],
[
"0.5146",
"0.5127",
"0.881",
"0.5127",
"0.881",
"0.5254",
"0.5146",
"0.5254"
],
[
"0.147",
"0.5215",
"0.4575",
"0.5215",
"0.4575",
"0.535",
"0.147",
"0.535"
],
[
"0.513",
"0.5293",
"0.881",
"0.5293",
"0.881",
"0.542",
"0.513",
"0.542"
],
[
"0.1453",
"0.536",
"0.4575",
"0.536",
"0.4575",
"0.55",
"0.1453",
"0.55"
],
[
"0.511",
"0.5435",
"0.879",
"0.5435",
"0.879",
"0.557",
"0.511",
"0.557"
],
[
"0.147",
"0.5503",
"0.4568",
"0.5503",
"0.4568",
"0.564",
"0.147",
"0.564"
],
[
"0.147",
"0.564",
"0.4575",
"0.564",
"0.4575",
"0.5776",
"0.147",
"0.5776"
],
[
"0.5146",
"0.561",
"0.881",
"0.561",
"0.881",
"0.5747",
"0.5146",
"0.5747"
],
[
"0.1486",
"0.5806",
"0.4568",
"0.5806",
"0.4568",
"0.5913",
"0.1486",
"0.5913"
],
[
"0.513",
"0.5767",
"0.882",
"0.5767",
"0.882",
"0.5903",
"0.513",
"0.5903"
],
[
"0.1453",
"0.5933",
"0.4575",
"0.593",
"0.4575",
"0.6055",
"0.1453",
"0.607"
],
[
"0.513",
"0.5933",
"0.881",
"0.5933",
"0.881",
"0.607",
"0.513",
"0.607"
],
[
"0.1453",
"0.608",
"0.4575",
"0.607",
"0.4575",
"0.6206",
"0.1453",
"0.6216"
],
[
"0.51",
"0.608",
"0.879",
"0.608",
"0.879",
"0.6216",
"0.51",
"0.6216"
],
[
"0.1453",
"0.6216",
"0.4592",
"0.6216",
"0.4592",
"0.6353",
"0.1453",
"0.6353"
],
[
"0.5156",
"0.6245",
"0.882",
"0.6245",
"0.882",
"0.638",
"0.5156",
"0.638"
],
[
"0.147",
"0.637",
"0.4568",
"0.637",
"0.4568",
"0.648",
"0.147",
"0.648"
],
[
"0.5146",
"0.641",
"0.881",
"0.641",
"0.881",
"0.655",
"0.5146",
"0.655"
],
[
"0.1453",
"0.6494",
"0.4575",
"0.6494",
"0.4575",
"0.663",
"0.1453",
"0.663"
],
[
"0.1453",
"0.663",
"0.4575",
"0.663",
"0.4575",
"0.677",
"0.1453",
"0.677"
],
[
"0.513",
"0.6577",
"0.881",
"0.6577",
"0.881",
"0.6714",
"0.513",
"0.6714"
],
[
"0.513",
"0.6733",
"0.881",
"0.6733",
"0.881",
"0.687",
"0.513",
"0.687"
],
[
"0.147",
"0.6797",
"0.4568",
"0.6797",
"0.4568",
"0.6904",
"0.147",
"0.6904"
],
[
"0.1453",
"0.6924",
"0.4575",
"0.6924",
"0.4575",
"0.706",
"0.1453",
"0.706"
],
[
"0.513",
"0.6895",
"0.881",
"0.6895",
"0.881",
"0.7036",
"0.513",
"0.7036"
],
[
"0.1453",
"0.707",
"0.4324",
"0.707",
"0.4324",
"0.72",
"0.1453",
"0.72"
],
[
"0.511",
"0.705",
"0.8774",
"0.705",
"0.8774",
"0.7188",
"0.511",
"0.7188"
],
[
"0.5146",
"0.7217",
"0.8447",
"0.7217",
"0.8447",
"0.7354",
"0.5146",
"0.7354"
],
[
"0.1125",
"0.734",
"0.1436",
"0.731",
"0.1453",
"0.7437",
"0.11584",
"0.745"
],
[
"0.1503",
"0.734",
"0.2612",
"0.734",
"0.2612",
"0.745",
"0.1503",
"0.745"
],
[
"0.532",
"0.7393",
"0.705",
"0.7393",
"0.705",
"0.75",
"0.532",
"0.75"
],
[
"0.11755",
"0.7573",
"0.4844",
"0.7583",
"0.4844",
"0.7725",
"0.11755",
"0.7715"
],
[
"0.531",
"0.763",
"0.882",
"0.764",
"0.882",
"0.7793",
"0.531",
"0.778"
],
[
"0.1184",
"0.775",
"0.4844",
"0.775",
"0.4844",
"0.788",
"0.1184",
"0.788"
],
[
"0.5474",
"0.78",
"0.882",
"0.781",
"0.882",
"0.796",
"0.5474",
"0.7944"
],
[
"0.12006",
"0.792",
"0.4836",
"0.792",
"0.4836",
"0.8027",
"0.12006",
"0.8027"
],
[
"0.5474",
"0.7974",
"0.881",
"0.7974",
"0.881",
"0.811",
"0.5474",
"0.811"
],
[
"0.1184",
"0.808",
"0.482",
"0.808",
"0.482",
"0.8184",
"0.1184",
"0.8184"
],
[
"0.5483",
"0.8135",
"0.882",
"0.8135",
"0.882",
"0.8267",
"0.5483",
"0.8267"
],
[
"0.1184",
"0.8223",
"0.4844",
"0.8223",
"0.4844",
"0.836",
"0.1184",
"0.836"
],
[
"0.5483",
"0.83",
"0.882",
"0.83",
"0.882",
"0.8433",
"0.5483",
"0.8433"
],
[
"0.12006",
"0.839",
"0.4844",
"0.839",
"0.4844",
"0.8525",
"0.12006",
"0.8525"
],
[
"0.5483",
"0.8467",
"0.6113",
"0.8467",
"0.6113",
"0.861",
"0.5483",
"0.861"
],
[
"0.1184",
"0.855",
"0.486",
"0.855",
"0.486",
"0.868",
"0.1184",
"0.868"
],
[
"0.1184",
"0.8716",
"0.4895",
"0.8716",
"0.4895",
"0.8853",
"0.1184",
"0.8853"
],
[
"0.532",
"0.8716",
"0.882",
"0.8726",
"0.882",
"0.887",
"0.532",
"0.8857"
],
[
"0.1411",
"0.8926",
"0.4878",
"0.8936",
"0.4878",
"0.9077",
"0.1411",
"0.9067"
],
[
"0.5483",
"0.8896",
"0.882",
"0.888",
"0.882",
"0.903",
"0.5483",
"0.904"
],
[
"0.11755",
"0.904",
"0.1855",
"0.9067",
"0.1838",
"0.9214",
"0.11584",
"0.9185"
],
[
"0.5474",
"0.904",
"0.882",
"0.905",
"0.882",
"0.9194",
"0.5474",
"0.9185"
]
] | [
"翻译掉没有并行数据的Translitionese",
"Rricha Jalota',3, , Koel Dutta Chowdhury',",
"Cristina Espana-Bonet?, and Josef van Genabith12",
"I Saarland University, Saarland Informatics Campus, Germany",
"2German Research Center for Artificial Intelligence (DFK)",
"3AppTek GmbH, Germany",
"[email protected],[email protected]",
"[email protected]",
"{cristinae, Josef.Van_Genabith @dfki.de",
"Abstract",
"?和?表明翻译已经翻译的文本会导致BLEU",
"分数增加。最近,?观察到,在翻译测试集上",
"Translated texts exhibit systematic linguistic",
"评估时,跨语言模型仅由于诱导的翻译伪像而",
"differences compared to original texts in the",
"显示出错误的改进。在调查跨语言摘要中翻译",
"same language, and these differences are re-",
"ferred to as translationese. Translationese has",
"的影响时,?发现,在翻译的训练数据上训练",
"effects on various cross-lingual natural lan.",
"的模型在现实世界中会受到影响。这些例子表",
"guage processing tasks, potentially leading",
"明了调查和减轻翻译的重要性。尽管如此,在",
"to biased results. In this paper, we explore",
"已经生成的翻译输出中删除翻译信号是一个未",
"a novel approach to reduce translationese in",
"开发的研究课题。?删除向量嵌人中隐式编码",
"translated texts: translation-based style trans-",
"的翻译,并演示消除翻译信号对自然语言推理",
"fer. As there are no parallel human-translated",
"性能的影响?利用抽象含义表示(AMR)作为",
"and original data in the same language, we",
"use a self-supervised approach that can learn",
"中间表示来抽象文本的表面级特征,从而减少",
"from comparable (rather than parallel) mono",
"翻译。这些作品都没有明确分析所产生的“去",
"lingual original and translated data. However,",
"偏见文本”的表面形式及其与原始文本的相似",
"even this self-supervised approach requires",
"之处。在这项工作中,我们的目标是减少人工",
"some parallel data for validation. We show",
"翻译文本中翻译的存在,并使它们与原始文本",
"how we can eliminatetheneed forparallel val-",
"非常相似,特别是在不使用任何平行数据的情",
"idation data by combining the self-supervised",
"况下,因为不存在相同语言的平行人工原始翻",
"loss with an unsupervised loss. This unsu-",
"译数据。为此,我们探讨了a自监督神经机",
"pervised loss leverages the original language",
"model loss over the style-transferred output",
"器翻译(NMT)system(?)及其在风格转换",
"and a semantic similarity loss between the in.",
"(ST)(?)中的应用。在这两个works中,验证",
"put and style-transferred output. We evaluate",
"都是在并行数据集上执行的,双语(MTdata",
"our approach in terms of original vs. transla-",
")或单语(STdata)。但是,无法使用相同语",
"tionese binary classification in addition to mea-",
"言的并行人类原始翻译数据。为了克服这一挑",
"suring content preservation and target-style flu-",
"战,我们通过结合语言模型损失和语义相似性",
"ency. The results show that our approach is",
"able to reduce translationese classifier accu-",
"损失来定义无监督验证标准,其灵感来自?。",
"我们的基线是来自?的自监督方法(SSNMT)。",
"racy toa level of a random classifier after style",
"transfer while adequately preserving the con-",
"然而,我们更进一步,提出了一个新的联合训",
"tent and fluency in the target original style.",
"练目标,结合了自监督和无监督的标准,消除",
"了在训练和验证过程中对并行数据的需求",
"1",
"Introduction",
"这项工作的贡献如下:",
"与同一语言的原始文本相比,翻译的文本通",
". We are the first to formulate reduction of",
"常表现出明显的语言特征,从而导致所谓的翻",
"translationese in human translations as a",
"译。翻译对各种跨语言和多语言自然语言处理",
"monolingual translation based style-transfer",
"(NLP)任务有明显的影响,可能导致有偏见的",
"task, allowing for direct evaluation of the ef-",
"结果。例如在机器翻译(MT)中,在训练过程",
"fects on the surface forms of the generated",
"中,当并行训练数据的翻译方向与翻译任务的",
"outputs.",
"方向匹配时,(i。e。当源是原始的并且目标被",
"翻译时),MT系统执行更好的(??)。同样,?,",
". We introduce a joint self-supervised and un-",
"Work done while the author was a student at Saarland",
"supervised learning criterion that eliminates",
"University.",
"the need for a parallel (and non-existent) orig"
] | {
"arxiv_id": "2310.18830",
"language": "zh",
"page_idx": 1
} |
||
2310.18830-zh-2 | 2310.18830-zh-2.jpg | inal - translated dataset (in the same lan- 通过使用来自单独语言对$\overline{\mathrm{E}}(??)$ 的验证集或根
guage) during training and validation.
· We show that our method is able to reduce the accuracy of a translationse classifier to that of a random classifier, indicating that our approach is able to successfully eliminate translationese signals in its output.
$\cdot$ We present an extensive evaluation that measures (i) the extent to which our methods mitigate translationese as well as adequacy and fluency of the outputs (Quantitive Analysis) , (ii) estimates the degree of translationese in the output using metrics derived from linguistic properties of translationese (Qualitative Analysis) .
## 2 $\textbf{Related Work}$
## 2.1 Text Style Transfer
文本样式转换是在保留原始含义的同时改变句子的文体特征的任务(?)。可用于此任务的并(??)的方法来利用容易获得的单风格数据以及用基于变分自动编码器(VAE)$\overline{\mathrm{E}}(??)$,循环一致性损失[ $E| ( ? )$ 或强化学习E|(?) 的方法。为了诱导目标样式,通常使用预先训练的样式分类器 (22?) 来使用样式鉴别器,或者解码器头专门用于生成目标样式输出(?),或者内容表示简单地与目标样式表示(?)连接
由于与有监督的方法(??)相比,无监督的方法通常表现不佳,因此最近的方法已经探索了半监督的$\overline{\mathrm{E}}(?)$ 和自监督的学习$\overline{\mathrm{E}}(??)$ 。?将句子嵌入与场景图相结合,以实时挖掘并行句子,以促进基于强化学习的样式转换,而?则采用了一种更简单的方法,该方法仅利用潜在表示形式从可比数据中提取在线并行句子对, 并利用这些对进行自我监督学习。尽管他们的方法需要一个用于模型选择和超参数调整的并行验证集,但由于其简单性,我们将其作为我们的起点和基线。然后,我们使用无监督技术提出了这种方法的新版本,从而消除了对并行验证集的需求。
# 2.2 Unsupervised Model Selection
探索无监督或半$\prime$自监督设置的几项研究要么不报告其验证方案(?),要么在训练期间仅无监督(或半$\prime$自监督),并依靠并行域内验证集进行模型调整(????)。相比之下,一些研究
本不使用$\overline{\mathrm{E}}(?)$ 的验证方案,在 NMT 中强制执行严格的无监督设置,从而冒着次优模型的风险。为了解决这个问题,???建议在单语数据上使用无监督验证标准,该标准符合评估标准或受目标分布的指导,类似于$\mathbb{E}?$,后者将循环一致性损失与语言模型损失相结合,以进行无监督模型选择
## 2.3 Translationese Mitigatior
研究人员在以前的研究中探索了翻译的影响和起源。为了减轻机器翻译(MT)模型中的翻译影响,一种流行的方法是标记训练$\mathbb{E}(???)$。这种技术涉及使用标签明确标记翻译和原始数据,使模型能够识别和解释这些区别。?引入了一种方法来减轻 translate-train "跨语言设置中的翻译工件。为了减少目标语言中的翻译工件,他们从源语言学习了原始到翻译的映射函数。他们通过将源语言的原始和翻译文本投影到通用的多语言嵌人空间,然后学习最小化原始和翻译的映射表示之间的距离来做到这一点。?从不同的角度处理翻译的减少,将其
行数据量通常是有限的。因此,通常使用基于 视为翻译文本中的偏见。他们采用了一种去偏self-(?), semi-$\overline{\mathbb{E}}(?)$或无监督神经机器翻译 方法,通过在潜在表示中衰减它来减轻翻译,
而?使用 AMR 作为中间表示来减少翻译。然
少量的样式标记数据。常见的方法包括解开文 而,上述研究都没有具体分析“去偏文本”的
本的样式和内容方面。对于内容提取,通常采 表面形式
迄今为止,据我们所知,尚未探索基于单语翻译的翻译输出风格转移以减轻翻译。在某种程度上,这是预料之中的,因为至少对于基于单语翻译的风格转移,不存在同一语言的平行原文和译文。下面我们提出了一种基于翻译的风格转移的新方法,但与以前的工作不同,没有并行数据的训练和验证集。
### 3 Translationese Mitigation via Style $\mathbf{Transfer}$
我们的目标是通过将翻译后的文本转换为原始版本来消除翻译后的信号。我们定义了两个样式属性$og$和$tr$ ,分别代表原始样式和翻译样式。给定属于$tr$的文本示例$x$ ,我们的目标是将此$x_tr$转换为$x_og$,其中$x_og$属于样式$og$ ,但保留与$x_{tr}$相同的语义内容。我们用原始句子$OG$表示语料库,用翻译句子$TR$表示语料库。我们在图 1 中说明了该过程
## 3.1 Self-Supervised Architecture
在我们的工作中,我们建立在基于 Transformer 的 ENC-DEC 自监督系统上,该系统在良性循
In this setting, the training data is translated from the source language into the target language and the translated texts are used for training. | [
[
"0.1528",
"0.0861",
"0.5054",
"0.0873",
"0.5054",
"0.10095",
"0.1528",
"0.0998"
],
[
"0.513",
"0.0873",
"0.881",
"0.0873",
"0.881",
"0.10095",
"0.513",
"0.10095"
],
[
"0.1545",
"0.10394",
"0.434",
"0.10394",
"0.434",
"0.11755",
"0.1545",
"0.11755"
],
[
"0.513",
"0.1027",
"0.881",
"0.1027",
"0.881",
"0.1164",
"0.513",
"0.1164"
],
[
"0.5146",
"0.12054",
"0.879",
"0.12054",
"0.879",
"0.1312",
"0.5146",
"0.1312"
],
[
"0.1377",
"0.13",
"0.4878",
"0.13",
"0.4878",
"0.1437",
"0.1377",
"0.1437"
],
[
"0.511",
"0.1342",
"0.879",
"0.1342",
"0.879",
"0.1478",
"0.511",
"0.1478"
],
[
"0.1511",
"0.1455",
"0.4878",
"0.1443",
"0.4878",
"0.1592",
"0.1511",
"0.1603"
],
[
"0.517",
"0.1526",
"0.879",
"0.1526",
"0.879",
"0.1633",
"0.517",
"0.1633"
],
[
"0.1528",
"0.1603",
"0.4902",
"0.1621",
"0.4902",
"0.177",
"0.1528",
"0.1746"
],
[
"0.513",
"0.1675",
"0.879",
"0.1675",
"0.879",
"0.1812",
"0.513",
"0.1812"
],
[
"0.1528",
"0.1776",
"0.4895",
"0.177",
"0.4895",
"0.1912",
"0.1528",
"0.1924"
],
[
"0.513",
"0.1829",
"0.881",
"0.1829",
"0.881",
"0.1965",
"0.513",
"0.1965"
],
[
"0.1511",
"0.1924",
"0.372",
"0.1936",
"0.372",
"0.2079",
"0.1511",
"0.2073"
],
[
"0.511",
"0.1978",
"0.642",
"0.199",
"0.642",
"0.2131",
"0.511",
"0.212"
],
[
"0.1368",
"0.2197",
"0.4902",
"0.2203",
"0.4902",
"0.2351",
"0.1368",
"0.234"
],
[
"0.5146",
"0.2257",
"0.5615",
"0.2257",
"0.5615",
"0.2369",
"0.5146",
"0.2369"
],
[
"0.553",
"0.2239",
"0.7617",
"0.2245",
"0.7617",
"0.2393",
"0.553",
"0.2382"
],
[
"0.1561",
"0.2382",
"0.486",
"0.2382",
"0.486",
"0.2488",
"0.1561",
"0.2488"
],
[
"0.5156",
"0.2477",
"0.879",
"0.2477",
"0.879",
"0.2583",
"0.5156",
"0.2583"
],
[
"0.1561",
"0.2546",
"0.4844",
"0.2546",
"0.4844",
"0.2654",
"0.1561",
"0.2654"
],
[
"0.511",
"0.2625",
"0.879",
"0.2625",
"0.879",
"0.2756",
"0.511",
"0.2756"
],
[
"0.1528",
"0.2695",
"0.4844",
"0.2695",
"0.4844",
"0.2832",
"0.1528",
"0.2832"
],
[
"0.513",
"0.2778",
"0.881",
"0.2778",
"0.881",
"0.2915",
"0.513",
"0.2915"
],
[
"0.1528",
"0.2861",
"0.486",
"0.2861",
"0.486",
"0.2998",
"0.1528",
"0.2998"
],
[
"0.513",
"0.2944",
"0.882",
"0.2944",
"0.882",
"0.308",
"0.513",
"0.308"
],
[
"0.1545",
"0.3027",
"0.486",
"0.3027",
"0.486",
"0.3135",
"0.1545",
"0.3135"
],
[
"0.511",
"0.31",
"0.881",
"0.3113",
"0.881",
"0.3247",
"0.511",
"0.3237"
],
[
"0.1528",
"0.3184",
"0.4902",
"0.3164",
"0.4902",
"0.33",
"0.1528",
"0.332"
],
[
"0.5146",
"0.326",
"0.879",
"0.3267",
"0.879",
"0.3416",
"0.5146",
"0.3403"
],
[
"0.1545",
"0.335",
"0.266",
"0.335",
"0.266",
"0.3467",
"0.1545",
"0.3467"
],
[
"0.513",
"0.3425",
"0.879",
"0.3425",
"0.879",
"0.3557",
"0.513",
"0.3557"
],
[
"0.1142",
"0.361",
"0.2747",
"0.361",
"0.2747",
"0.3748",
"0.1142",
"0.3748"
],
[
"0.513",
"0.3594",
"0.882",
"0.3594",
"0.882",
"0.3723",
"0.513",
"0.3723"
],
[
"0.513",
"0.376",
"0.8774",
"0.376",
"0.8774",
"0.386",
"0.513",
"0.386"
],
[
"0.1142",
"0.3855",
"0.3123",
"0.3855",
"0.3123",
"0.3984",
"0.1142",
"0.3984"
],
[
"0.513",
"0.3914",
"0.881",
"0.3914",
"0.881",
"0.405",
"0.513",
"0.405"
],
[
"0.12006",
"0.4067",
"0.4878",
"0.4067",
"0.4878",
"0.4204",
"0.12006",
"0.4204"
],
[
"0.5146",
"0.4067",
"0.881",
"0.4067",
"0.881",
"0.4204",
"0.5146",
"0.4204"
],
[
"0.12006",
"0.4233",
"0.4844",
"0.4233",
"0.4844",
"0.437",
"0.12006",
"0.437"
],
[
"0.513",
"0.4233",
"0.881",
"0.4233",
"0.881",
"0.437",
"0.513",
"0.437"
],
[
"0.1184",
"0.4412",
"0.486",
"0.4412",
"0.486",
"0.452",
"0.1184",
"0.452"
],
[
"0.513",
"0.4395",
"0.881",
"0.4395",
"0.881",
"0.4531",
"0.513",
"0.4531"
],
[
"0.1184",
"0.456",
"0.4878",
"0.456",
"0.4878",
"0.4697",
"0.1184",
"0.4697"
],
[
"0.51",
"0.4548",
"0.882",
"0.4536",
"0.882",
"0.4685",
"0.51",
"0.4697"
],
[
"0.11755",
"0.4714",
"0.4844",
"0.4714",
"0.4844",
"0.485",
"0.11755",
"0.485"
],
[
"0.513",
"0.4714",
"0.882",
"0.4714",
"0.882",
"0.485",
"0.513",
"0.485"
],
[
"0.1184",
"0.4893",
"0.4836",
"0.4893",
"0.4836",
"0.4995",
"0.1184",
"0.4995"
],
[
"0.513",
"0.4868",
"0.881",
"0.4868",
"0.881",
"0.502",
"0.513",
"0.502"
],
[
"0.11755",
"0.5044",
"0.4844",
"0.5044",
"0.4844",
"0.517",
"0.11755",
"0.517"
],
[
"0.5146",
"0.505",
"0.586",
"0.505",
"0.586",
"0.5166",
"0.5146",
"0.5166"
],
[
"0.11755",
"0.5195",
"0.4844",
"0.5195",
"0.4844",
"0.533",
"0.11755",
"0.533"
],
[
"0.531",
"0.521",
"0.882",
"0.521",
"0.882",
"0.5337",
"0.531",
"0.5337"
],
[
"0.1335",
"0.5376",
"0.4844",
"0.5376",
"0.4844",
"0.5474",
"0.1335",
"0.5474"
],
[
"0.513",
"0.536",
"0.881",
"0.536",
"0.881",
"0.55",
"0.513",
"0.55"
],
[
"0.11755",
"0.552",
"0.4836",
"0.5503",
"0.4836",
"0.564",
"0.11755",
"0.5654"
],
[
"0.511",
"0.5503",
"0.8774",
"0.5503",
"0.8774",
"0.564",
"0.511",
"0.564"
],
[
"0.1184",
"0.5684",
"0.4844",
"0.5684",
"0.4844",
"0.582",
"0.1184",
"0.582"
],
[
"0.513",
"0.568",
"0.879",
"0.568",
"0.879",
"0.5806",
"0.513",
"0.5806"
],
[
"0.12006",
"0.585",
"0.486",
"0.585",
"0.486",
"0.5986",
"0.12006",
"0.5986"
],
[
"0.5146",
"0.586",
"0.879",
"0.586",
"0.879",
"0.5967",
"0.5146",
"0.5967"
],
[
"0.1184",
"0.601",
"0.388",
"0.601",
"0.388",
"0.6143",
"0.1184",
"0.6143"
],
[
"0.513",
"0.5996",
"0.881",
"0.5986",
"0.881",
"0.6133",
"0.513",
"0.6143"
],
[
"0.1377",
"0.618",
"0.4836",
"0.618",
"0.4836",
"0.629",
"0.1377",
"0.629"
],
[
"0.511",
"0.616",
"0.7407",
"0.616",
"0.7407",
"0.63",
"0.511",
"0.63"
],
[
"0.1184",
"0.633",
"0.4836",
"0.633",
"0.4836",
"0.6465",
"0.1184",
"0.6465"
],
[
"0.5054",
"0.641",
"0.846",
"0.6436",
"0.846",
"0.6577",
"0.5054",
"0.6562"
],
[
"0.1184",
"0.6484",
"0.4878",
"0.6484",
"0.4878",
"0.662",
"0.1184",
"0.662"
],
[
"0.1184",
"0.665",
"0.4844",
"0.665",
"0.4844",
"0.6787",
"0.1184",
"0.6787"
],
[
"0.5415",
"0.66",
"0.617",
"0.66",
"0.617",
"0.675",
"0.5415",
"0.675"
],
[
"0.12006",
"0.681",
"0.486",
"0.681",
"0.486",
"0.695",
"0.12006",
"0.695"
],
[
"0.513",
"0.685",
"0.881",
"0.685",
"0.881",
"0.6987",
"0.513",
"0.6987"
],
[
"0.1184",
"0.697",
"0.4878",
"0.697",
"0.4878",
"0.7104",
"0.1184",
"0.7104"
],
[
"0.511",
"0.6997",
"0.881",
"0.7007",
"0.881",
"0.7153",
"0.511",
"0.7144"
],
[
"0.12006",
"0.7144",
"0.486",
"0.7144",
"0.486",
"0.7246",
"0.12006",
"0.7246"
],
[
"0.513",
"0.7173",
"0.881",
"0.7173",
"0.881",
"0.731",
"0.513",
"0.731"
],
[
"0.1184",
"0.7285",
"0.486",
"0.7285",
"0.486",
"0.742",
"0.1184",
"0.742"
],
[
"0.513",
"0.733",
"0.881",
"0.733",
"0.881",
"0.7466",
"0.513",
"0.7466"
],
[
"0.11755",
"0.7446",
"0.4836",
"0.7446",
"0.4836",
"0.7583",
"0.11755",
"0.7583"
],
[
"0.513",
"0.75",
"0.879",
"0.75",
"0.879",
"0.763",
"0.513",
"0.763"
],
[
"0.1184",
"0.761",
"0.486",
"0.761",
"0.486",
"0.775",
"0.1184",
"0.775"
],
[
"0.517",
"0.7695",
"0.531",
"0.7695",
"0.531",
"0.7754",
"0.517",
"0.7754"
],
[
"0.525",
"0.7656",
"0.879",
"0.7656",
"0.879",
"0.7793",
"0.525",
"0.7793"
],
[
"0.1184",
"0.778",
"0.4878",
"0.778",
"0.4878",
"0.7915",
"0.1184",
"0.7915"
],
[
"0.511",
"0.78",
"0.879",
"0.78",
"0.879",
"0.7935",
"0.511",
"0.7935"
],
[
"0.1184",
"0.7935",
"0.4878",
"0.7935",
"0.4878",
"0.807",
"0.1184",
"0.807"
],
[
"0.513",
"0.7974",
"0.7886",
"0.7974",
"0.7886",
"0.811",
"0.513",
"0.811"
],
[
"0.11755",
"0.81",
"0.2377",
"0.81",
"0.2377",
"0.8237",
"0.11755",
"0.8237"
],
[
"0.511",
"0.8237",
"0.785",
"0.8237",
"0.785",
"0.8374",
"0.511",
"0.8374"
],
[
"0.11755",
"0.836",
"0.3997",
"0.836",
"0.3997",
"0.8496",
"0.11755",
"0.8496"
],
[
"0.511",
"0.8433",
"0.881",
"0.8433",
"0.881",
"0.857",
"0.511",
"0.857"
],
[
"0.11755",
"0.857",
"0.4836",
"0.857",
"0.4836",
"0.8706",
"0.11755",
"0.8706"
],
[
"0.513",
"0.86",
"0.881",
"0.86",
"0.881",
"0.8735",
"0.513",
"0.8735"
],
[
"0.1184",
"0.8735",
"0.486",
"0.8735",
"0.486",
"0.887",
"0.1184",
"0.887"
],
[
"0.532",
"0.882",
"0.881",
"0.882",
"0.881",
"0.8955",
"0.532",
"0.8955"
],
[
"0.1184",
"0.8896",
"0.4844",
"0.8896",
"0.4844",
"0.903",
"0.1184",
"0.903"
],
[
"0.5146",
"0.8945",
"0.881",
"0.8945",
"0.881",
"0.9077",
"0.5146",
"0.9077"
],
[
"0.1184",
"0.9062",
"0.4878",
"0.9062",
"0.4878",
"0.9194",
"0.1184",
"0.9194"
],
[
"0.51",
"0.904",
"0.669",
"0.9062",
"0.669",
"0.9204",
"0.51",
"0.9185"
]
] | [
"inal - translated dataset (in the same lan-",
"通过使用来自单独语言对E(??)的验证集或根",
"guage) during training and validation.",
"本不使用E(?)的验证方案,在NMT中强制执",
"行严格的无监督设置,从而冒着次优模型的风",
": We show that our method is able to reduce the",
"险。为了解决这个问题,???建议在单语数据",
"accuracy of a translationse classifier to that",
"上使用无监督验证标准,该标准符合评估标准",
"of a random classifier, indicating that our ap-",
"或受目标分布的指导,类似于E?,后者将循",
"proach is able to successfully eliminate trans-",
"环一致性损失与语言模型损失相结合,以进行",
"lationese signals in its output.",
"无监督模型选择",
": We present an extensive evaluation that mea-",
"2.3",
"Translationese Mitigation",
"sures(i)theextenttowhichourmethodsmit-",
"研究人员在以前的研究中探索了翻译的影响和",
"igatetranslationese as wellas adequacyand",
"起源。为了减轻机器翻译(MT)模型中的翻",
"fluency of the outputs (Quantitive Analysis)",
"译影响,一种流行的方法是标记训练E(???)。",
", (ii) estimates the degree of translationese",
"这种技术涉及使用标签明确标记翻译和原始数",
"inthe output using metrics derivedfromlin-",
"据,使模型能够识别和解释这些区别。?引入",
"guistic properties of translationese (Qualita-",
"了一种方法来减轻translate-train*跨语言",
"tiveAnalysis).",
"设置中的翻译工件。为了减少目标语言中的翻",
"2Related Work",
"译工件,他们从源语言学习了原始到翻译的映",
"射函数。他们通过将源语言的原始和翻译文本",
"2.1 Text Style Transfer",
"投影到通用的多语言嵌入空间,然后学习最小",
"文本样式转换是在保留原始含义的同时改变句",
"化原始和翻译的映射表示之间的距离来做到这",
"子的文体特征的任务(?)。可用于此任务的并",
"一点。?从不同的角度处理翻译的减少,将其",
"行数据量通常是有限的。因此,通常使用基于",
"视为翻译文本中的偏见。他们采用了一种去偏",
"self-(?),semi-E(?)或无监督神经机器翻译",
"方法,通过在潜在表示中衰减它来减轻翻译,",
"(??)的方法来利用容易获得的单风格数据以及",
"而?使用AMR作为中间表示来减少翻译。然",
"少量的样式标记数据。常见的方法包括解开文",
"而,上述研究都没有具体分析“去偏文本”的",
"本的样式和内容方面。对于内容提取,通常采",
"表面形式",
"用基于变分自动编码器(VAE)E(??),循环",
"迄今为正,据我们所知,尚未探索基于单语",
"致性损失E(?)或强化学习F(?)的方法。为",
"翻译的翻译输出风格转移以减轻翻译。在某种",
"了诱导目标样式,通常使用预先训练的样式分",
"程度上,这是预料之中的,因为至少对于基于",
"类器(???)来使用样式鉴别器,或者解码器头",
"单语翻译的风格转移,不存在同一语言的平行",
"专门用于生成目标样式输出(?),或者内容表",
"原文和译文。下面我们提出了一种基于翻译的",
"示简单地与目标样式表示(?)连接",
"风格转移的新方法,但与以前的工作不同,没",
"由于与有监督的方法(??)相比,无监督的方",
"有并行数据的训练和验证集。",
"法通常表现不佳,因此最近的方法已经探索了",
"3Translationese Mitigation via Style",
"半监督的E(?)和自监督的学习E(??)。?将",
"句子嵌人与场景图相结合,以实时挖掘并行句",
"Transfer",
"子,以促进基于强化学习的样式转换,而?则",
"我们的目标是通过将翻译后的文本转换为原始",
"采用了一种更简单的方法,该方法仅利用潜在",
"版本来消除翻译后的信号。我们定义了两个样",
"表示形式从可比数据中提取在线并行句子对,",
"式属性og和tr,分别代表原始样式和翻译样",
"并利用这些对进行自我监督学习。尽管他们的",
"式。给定属于tr的文本示例α,我们的目标",
"方法需要一个用于模型选择和超参数调整的并",
"是将此atr转换为&og,其中&og属于样式og",
"行验证集,但由于其简单性,我们将其作为我",
"",
"但保留与αtr相同的语义内容。我们用原始",
"们的起点和基线。然后,我们使用无监督技术",
"句子OG表示语料库,用翻译句子TR表示语",
"提出了这种方法的新版本,从而消除了对并行",
"料库。我们在图1中说明了该过程",
"验证集的需求。",
"3.1 Self-Supervised Architecture",
"2.2Unsupervised Model Selection",
"在我们的工作中,我们建立在基于Transformer",
"探索无监督或半/自监督设置的几项研究要么",
"的ENC-DEC自监督系统上,该系统在良性循",
"不报告其验证方案(?),要么在训练期间仅无",
"*In this setting, the training data is translated from the",
"监督(或半/自监督),并依靠并行域内验证集",
"source language into the target language and the translated",
"进行模型调整(????)。相比之下,一些研究",
"texts are used for training"
] | {
"arxiv_id": "2310.18830",
"language": "zh",
"page_idx": 2
} |
||
2310.18830-zh-3 | 2310.18830-zh-3.jpg | <FigureHere>
Figure 1: Model architecture. Here $(tr,og)$ is a (Translated (source), Original (target)) style sentence pair, and $og$ -like is the translationese-mitigated output. The dashed arrows correspond to on-the-fly parallel pair extraction that facilitates Supervised Training, while the red arrows in bold represent the path of approximated decoder outputs used in Unsupervised Training
Source[Translated]
Target [Original]
This is another aspect we have to work on.
This is an area in which we need to press on.
My group fully supports the substance of what you have said. My group has discussed in detail the questions that you have posed.
That is not at all the case.
That is not the case at all.
I will try to be brief.
I shall endeavour to be brief.
Table 1: Examples of accepted monolingual original-translationese pairs.
ENC- DEC 模 型 :
(1)
$$L_{sup}=-\sum_{j=1}^N\sum_{i=1}^VY_i^j\log(H_i^j)$$
环中共同学习句子对的提取和翻译。给定两个可比较的单式语料库$(OG$ 和$TR)$,句子对提取(SPE)模块(?)利用句子对的内部表示来提取具有相似含义的句子。This similarity matching 模块采用两种类型的潜在表示:字嵌人$w(*)$ 的总和和编码器输出$e(*)$的总和。使用基于边距的度量(?)分别对嵌人对($\{w(tr),w(og)\}$ 和$\left\{e(tr),e(og)\right\}$)进行评分,并选择顶部候选对进行进一步过滤。在?之后,我们应用两个过滤条件:
其中$N$是目标序列的长度,$V$是共享的MAENC- XDEC。联 合 SPE 翻译学习循环一直持续到收敛。我们使用 BART 风格的去噪自动编码 (DAE)(?)进行模型初始化(详见 3.3节)。
# 3.2 Joint Training Architecture
$\bullet$ Without Threshold [1]: A sentence pair is
accepted for training if it is highest-ranked in both candidate-pair representations. This is used in ? .
$\bullet$With Threshold [2]: A sentence pair is
accepted for training either if it is highestranked in both candidate-pair representations or if its encoder representation $\{e(tr),e(og)\}$ surpasses a given threshold.
在基线系统中,被 SPE 拒绝的所有句子对都被简单地丢弃了,这是有用的单文体信息的主要损失。利用丢弃对的一种方法是将监督训练标准与无监督训练相结合。为此,我们在最终目标中引入了无监督损失组件,该组件将语言模型 (LM) 损失与语义相似性损失结合在一起。当单风格的 $tr$ 作为输入时,如图$\overline{\mathrm{E}}$1 所示,这两种损耗都是在解码器输出上计算的。由于计算这些损失的输入是从分类分布(i。e。在解码器输出上应用 argmax 后),这将破坏模型在训练期间的整体可区分性。因此,在?和?之后, 在训练期间,我们使用解码器输出的连续近似来计算两个损失
当$x_tr$作为输入时,令$y_{\hat{o}g}$为样式转换输出。使用贪婪解码,在第 j 个解码步骤中来自解码器的预测可以表示如下:
表 1 中显示了提取的接受对的示例
以在线方式使用提取的并行句子对,以通过
最小化交叉熵损失($L_sup$)以监督的方式训练
$^{*}$The threshold was determined empirically by inspecting values in the range of [0.95,1.03] , and validated through a manual assessment of the quality of accepted pairs. We observe that with a higher threshold, fewer yet better quality (tr,og) parallel pairs were extracted. We, therefore, set the value to 1.01 or 1.02 in our experiments (see A.5) as it provided a good trade-off between the quality and quantity of accepted pairs.
$$\hat{y_{og_{j}}}=\arg\max_{x_{tr}}p(\hat{x_{og}}|x_{tr},\hat{y_{og_{j-1}}},\theta);j=1\ldots,k$$
(2) | [
[
"0.3838",
"0.1027",
"0.4014",
"0.1027",
"0.4014",
"0.11224",
"0.3838",
"0.11224"
],
[
"0.544",
"0.111",
"0.601",
"0.111",
"0.601",
"0.11816",
"0.544",
"0.11816"
],
[
"0.634",
"0.1057",
"0.712",
"0.1057",
"0.712",
"0.11755",
"0.634",
"0.11755"
],
[
"0.657",
"0.11755",
"0.687",
"0.11755",
"0.687",
"0.1259",
"0.657",
"0.1259"
],
[
"0.3687",
"0.1342",
"0.413",
"0.1342",
"0.413",
"0.1455",
"0.3687",
"0.1455"
],
[
"0.4702",
"0.1467",
"0.517",
"0.1467",
"0.517",
"0.1567",
"0.4702",
"0.1567"
],
[
"0.552",
"0.1526",
"0.5938",
"0.1526",
"0.5938",
"0.1633",
"0.552",
"0.1633"
],
[
"0.6304",
"0.1509",
"0.727",
"0.152",
"0.727",
"0.1633",
"0.6304",
"0.1621"
],
[
"0.55",
"0.1609",
"0.5938",
"0.1609",
"0.5938",
"0.1716",
"0.55",
"0.1716"
],
[
"0.6616",
"0.1609",
"0.6963",
"0.1609",
"0.6963",
"0.1729",
"0.6616",
"0.1729"
],
[
"0.3728",
"0.2019",
"0.4014",
"0.2019",
"0.4014",
"0.209",
"0.3728",
"0.209"
],
[
"0.4475",
"0.228",
"0.4634",
"0.228",
"0.4634",
"0.231",
"0.4475",
"0.231"
],
[
"0.5576",
"0.231",
"0.574",
"0.231",
"0.574",
"0.2351",
"0.5576",
"0.2351"
],
[
"0.11584",
"0.2559",
"0.881",
"0.2559",
"0.881",
"0.2695",
"0.11584",
"0.2695"
],
[
"0.11584",
"0.2673",
"0.882",
"0.2666",
"0.882",
"0.2808",
"0.11584",
"0.282"
],
[
"0.1142",
"0.279",
"0.852",
"0.2798",
"0.852",
"0.2944",
"0.1142",
"0.2935"
],
[
"0.2451",
"0.3123",
"0.3594",
"0.3123",
"0.3594",
"0.3247",
"0.2451",
"0.3247"
],
[
"0.6323",
"0.3123",
"0.729",
"0.3123",
"0.729",
"0.3237",
"0.6323",
"0.3237"
],
[
"0.1738",
"0.328",
"0.4282",
"0.3289",
"0.4282",
"0.3403",
"0.1738",
"0.339"
],
[
"0.5576",
"0.3267",
"0.7983",
"0.328",
"0.7983",
"0.3416",
"0.5576",
"0.3403"
],
[
"0.1276",
"0.3403",
"0.4785",
"0.3403",
"0.4785",
"0.354",
"0.1276",
"0.354"
],
[
"0.4768",
"0.3445",
"0.4878",
"0.3445",
"0.4878",
"0.3499",
"0.4768",
"0.3499"
],
[
"0.4836",
"0.3403",
"0.8696",
"0.3403",
"0.8696",
"0.354",
"0.4836",
"0.354"
],
[
"0.2284",
"0.354",
"0.3728",
"0.354",
"0.3728",
"0.364",
"0.2284",
"0.364"
],
[
"0.607",
"0.354",
"0.7515",
"0.354",
"0.7515",
"0.364",
"0.607",
"0.364"
],
[
"0.22",
"0.3665",
"0.382",
"0.3665",
"0.382",
"0.3772",
"0.22",
"0.3772"
],
[
"0.6206",
"0.3665",
"0.735",
"0.3665",
"0.735",
"0.3772",
"0.6206",
"0.3772"
],
[
"0.2795",
"0.3926",
"0.7188",
"0.3926",
"0.7188",
"0.4026",
"0.2795",
"0.4026"
],
[
"0.11755",
"0.4204",
"0.4878",
"0.4204",
"0.4878",
"0.434",
"0.11755",
"0.434"
],
[
"0.511",
"0.4204",
"0.6455",
"0.4204",
"0.6455",
"0.434",
"0.511",
"0.434"
],
[
"0.1184",
"0.4358",
"0.486",
"0.4358",
"0.486",
"0.4495",
"0.1184",
"0.4495"
],
[
"0.6665",
"0.4478",
"0.686",
"0.4478",
"0.686",
"0.456",
"0.6665",
"0.456"
],
[
"0.693",
"0.4465",
"0.708",
"0.4465",
"0.708",
"0.4548",
"0.693",
"0.4548"
],
[
"0.665",
"0.456",
"0.679",
"0.462",
"0.6724",
"0.4702",
"0.657",
"0.4644"
],
[
"0.6943",
"0.456",
"0.81",
"0.4578",
"0.81",
"0.4756",
"0.6943",
"0.4739"
],
[
"0.678",
"0.4578",
"0.7036",
"0.4578",
"0.7036",
"0.4656",
"0.678",
"0.4656"
],
[
"0.58",
"0.459",
"0.6406",
"0.462",
"0.6396",
"0.478",
"0.5786",
"0.4744"
],
[
"0.11584",
"0.4507",
"0.486",
"0.452",
"0.486",
"0.466",
"0.11584",
"0.4656"
],
[
"0.8564",
"0.4614",
"0.882",
"0.4614",
"0.882",
"0.4739",
"0.8564",
"0.4739"
],
[
"0.1184",
"0.4673",
"0.4844",
"0.4685",
"0.4844",
"0.4827",
"0.1184",
"0.4822"
],
[
"0.656",
"0.4768",
"0.714",
"0.4744",
"0.7153",
"0.4893",
"0.657",
"0.4912"
],
[
"0.11755",
"0.4827",
"0.4878",
"0.484",
"0.4878",
"0.4988",
"0.11755",
"0.4976"
],
[
"0.11755",
"0.5005",
"0.482",
"0.5005",
"0.482",
"0.514",
"0.11755",
"0.514"
],
[
"0.531",
"0.503",
"0.881",
"0.503",
"0.881",
"0.5166",
"0.531",
"0.5166"
],
[
"0.11755",
"0.517",
"0.4836",
"0.517",
"0.4836",
"0.531",
"0.11755",
"0.531"
],
[
"0.511",
"0.5186",
"0.881",
"0.5186",
"0.881",
"0.532",
"0.511",
"0.532"
],
[
"0.11755",
"0.532",
"0.4844",
"0.532",
"0.4844",
"0.546",
"0.11755",
"0.546"
],
[
"0.513",
"0.535",
"0.881",
"0.535",
"0.881",
"0.549",
"0.513",
"0.549"
],
[
"0.11755",
"0.5474",
"0.4836",
"0.5474",
"0.4836",
"0.561",
"0.11755",
"0.561"
],
[
"0.513",
"0.5503",
"0.881",
"0.5503",
"0.881",
"0.5654",
"0.513",
"0.5654"
],
[
"0.11584",
"0.5635",
"0.199",
"0.5635",
"0.199",
"0.5776",
"0.11584",
"0.5776"
],
[
"0.513",
"0.5654",
"0.553",
"0.5654",
"0.553",
"0.582",
"0.513",
"0.582"
],
[
"0.1368",
"0.593",
"0.4878",
"0.5933",
"0.4878",
"0.608",
"0.1368",
"0.607"
],
[
"0.513",
"0.594",
"0.5483",
"0.594",
"0.5483",
"0.6055",
"0.513",
"0.6055"
],
[
"0.546",
"0.5986",
"0.553",
"0.5986",
"0.553",
"0.6025",
"0.546",
"0.6025"
],
[
"0.555",
"0.5933",
"0.7773",
"0.5933",
"0.7773",
"0.607",
"0.555",
"0.607"
],
[
"0.1528",
"0.61",
"0.486",
"0.61",
"0.486",
"0.6235",
"0.1528",
"0.6235"
],
[
"0.5146",
"0.6133",
"0.881",
"0.6133",
"0.881",
"0.6274",
"0.5146",
"0.6274"
],
[
"0.1528",
"0.6245",
"0.486",
"0.6245",
"0.486",
"0.6396",
"0.1528",
"0.6396"
],
[
"0.513",
"0.629",
"0.881",
"0.63",
"0.881",
"0.6445",
"0.513",
"0.6436"
],
[
"0.1528",
"0.6436",
"0.2284",
"0.6436",
"0.2284",
"0.654",
"0.1528",
"0.654"
],
[
"0.511",
"0.6455",
"0.881",
"0.6465",
"0.881",
"0.661",
"0.511",
"0.66"
],
[
"0.513",
"0.663",
"0.879",
"0.663",
"0.879",
"0.677",
"0.513",
"0.677"
],
[
"0.1377",
"0.6704",
"0.4878",
"0.6704",
"0.4878",
"0.684",
"0.1377",
"0.684"
],
[
"0.511",
"0.6777",
"0.879",
"0.6777",
"0.879",
"0.6914",
"0.511",
"0.6914"
],
[
"0.1511",
"0.686",
"0.4878",
"0.686",
"0.4878",
"0.6997",
"0.1511",
"0.6997"
],
[
"0.513",
"0.695",
"0.881",
"0.695",
"0.881",
"0.708",
"0.513",
"0.708"
],
[
"0.1528",
"0.7017",
"0.4844",
"0.7017",
"0.4844",
"0.7153",
"0.1528",
"0.7153"
],
[
"0.513",
"0.709",
"0.879",
"0.709",
"0.879",
"0.7236",
"0.513",
"0.7236"
],
[
"0.1528",
"0.7197",
"0.4836",
"0.7197",
"0.4836",
"0.733",
"0.1528",
"0.733"
],
[
"0.5146",
"0.727",
"0.879",
"0.727",
"0.879",
"0.7407",
"0.5146",
"0.7407"
],
[
"0.1511",
"0.7354",
"0.3687",
"0.733",
"0.3687",
"0.7476",
"0.1511",
"0.75"
],
[
"0.513",
"0.741",
"0.881",
"0.742",
"0.881",
"0.7573",
"0.513",
"0.756"
],
[
"0.11755",
"0.763",
"0.392",
"0.763",
"0.392",
"0.777",
"0.11755",
"0.777"
],
[
"0.513",
"0.7583",
"0.879",
"0.7583",
"0.879",
"0.7715",
"0.513",
"0.7715"
],
[
"0.511",
"0.774",
"0.8774",
"0.775",
"0.8774",
"0.789",
"0.511",
"0.788"
],
[
"0.1368",
"0.78",
"0.486",
"0.78",
"0.486",
"0.7935",
"0.1368",
"0.7935"
],
[
"0.1184",
"0.7964",
"0.486",
"0.7964",
"0.486",
"0.811",
"0.1184",
"0.811"
],
[
"0.513",
"0.7915",
"0.882",
"0.7915",
"0.882",
"0.8047",
"0.513",
"0.8047"
],
[
"0.513",
"0.807",
"0.642",
"0.807",
"0.642",
"0.821",
"0.513",
"0.821"
],
[
"0.1411",
"0.8223",
"0.486",
"0.8223",
"0.486",
"0.836",
"0.1411",
"0.836"
],
[
"0.531",
"0.8237",
"0.882",
"0.8237",
"0.882",
"0.8384",
"0.531",
"0.8384"
],
[
"0.11584",
"0.8345",
"0.4895",
"0.8345",
"0.4895",
"0.847",
"0.11584",
"0.847"
],
[
"0.513",
"0.839",
"0.881",
"0.839",
"0.881",
"0.854",
"0.513",
"0.854"
],
[
"0.11584",
"0.8457",
"0.4895",
"0.8457",
"0.4895",
"0.8594",
"0.11584",
"0.8594"
],
[
"0.11755",
"0.857",
"0.486",
"0.858",
"0.486",
"0.8716",
"0.11755",
"0.8706"
],
[
"0.511",
"0.8555",
"0.705",
"0.8555",
"0.705",
"0.869",
"0.511",
"0.869"
],
[
"0.1184",
"0.8716",
"0.4844",
"0.8716",
"0.4844",
"0.882",
"0.1184",
"0.882"
],
[
"0.11755",
"0.882",
"0.486",
"0.882",
"0.486",
"0.8955",
"0.11755",
"0.8955"
],
[
"0.509",
"0.883",
"0.885",
"0.882",
"0.885",
"0.901",
"0.509",
"0.902"
],
[
"0.1142",
"0.8926",
"0.4878",
"0.8936",
"0.4878",
"0.9067",
"0.1142",
"0.9062"
],
[
"0.6035",
"0.898",
"0.623",
"0.898",
"0.623",
"0.905",
"0.6035",
"0.905"
],
[
"0.11755",
"0.9067",
"0.2091",
"0.9067",
"0.2091",
"0.9175",
"0.11755",
"0.9175"
],
[
"0.858",
"0.905",
"0.882",
"0.905",
"0.882",
"0.9185",
"0.858",
"0.9185"
]
] | [
"",
"PretrainedLM",
"Cross Entropy",
"Loss",
"Decoder",
"(tr, og-like)",
"Semantic",
"Semantic Similarity",
"Similarity",
"Loss",
"Encod",
"AC",
"SPE",
"Figure 1: Model architecture. Here (tr , og ) is a (Translated (source), Original (target) style sentence pair, and og -like is the",
"translationese-mitigated output.The dashed arrows correspond to on-the-fly parallel pair extraction that facilitates Supervised",
"Training, while the red arrows in bold represent the path of approximated decoder outputs used in Unsupervised Training.",
"Source [Translated]",
"Target [Original]",
"This is an area in which we need to press on.",
"This is another aspect we have to work on.",
"My group fully supports the substance of what you have said.",
"",
"My group has discussed in detail the questions that you have posed.",
"That is not at all the case.",
"That is not the case at all.",
"I shall endeavour to bebrief.",
"I will try to be brief",
"Tablel:Examplesofacceptedmonolingualoriginal-translationesepairs.",
"环中共同学习句子对的提取和翻译。给定两个",
"ENC-DEC模型:",
"可比较的单式语料库(OG和TR),句子对提取",
"N",
"V",
"<",
"Cy)log(H))",
"",
"Lsup =",
"(SPE)模块(?)利用句子对的内部表示来提取",
"(1)",
"具有相似含义的句子。This similaritymatching",
"j=1 1",
"模块采用两种类型的潜在表示:字嵌入W(*)",
"的总和和编码器输出e(*)的总和。使用基于",
"其中N是目标序列的长度,V是共享的",
"边距的度量(?)分别对嵌入对({w(tr),w(og))",
"MAENC-XDEC。联合SPE翻译学习循环一直",
"和e(tr),e(og))进行评分,并选择顶部候选",
"持续到收敛。我们使用BART风格的去噪自动",
"对进行进一步过滤。在?之后,我们应用两个",
"编码(DAE)(?)进行模型初始化(详见3.3",
"过滤条件:",
"节)。",
". Without Threshold [l]: A sentence pair is",
"3.2",
"",
"Joint Training Architecture",
"accepted for training if it is highest-ranked in",
"在基线系统中,被SPE拒绝的所有句子对都被",
"both candidate-pair representations. This is",
"简单地丢弃了,这是有用的单文体信息的主要",
"usedin?",
"损失。利用丢弃对的一种方法是将监督训练标",
"准与无监督训练相结合。为此,我们在最终目",
". With Threshold [2] : A sentence pair is",
"标中引入了无监督损失组件,该组件将语言模",
"accepted for training either if it is highest-",
"型(LM)损失与语义相似性损失结合在一起。",
"ranked in both candidate-pair representations",
"当单风格的tr作为输入时,如图E1所示,这",
"or if its encoder representation [e(tr), e(og))",
"两种损耗都是在解码器输出上计算的。由于计",
"surpasses a given threshold.",
"算这些损失的输人是从分类分布(i。e。在解码",
"表1中显示了提取的接受对的示例",
"器输出上应用argmax后),这将破坏模型在训",
"练期间的整体可区分性。因此,在?和?之后",
"以在线方式使用提取的并行句子对,以通过",
"最小化交叉摘损失(Lsup)以监督的方式训练",
"在训练期间,我们使用解码器输出的连续近似",
"来计算两个损失",
"The threshold was determined empirically by inspecting",
"当atr作为输入时,令Yog为样式转换输出。",
"values in the range of [0.95, 1.03] , and validated through a",
"使用贪婪解码,在第个解码步骤中来自解码",
"manual assessment of the quality of accepted pairs. We ob-",
"serve that with a higher threshold, fewer yet better quality",
"器的预测可以表示如下:",
"(tr,og)parallel pairs were extracted. We, therefore, set the",
"value to 1.01 or 1.02 in our experiments (see A.5 ) as it pro-",
"Yogj = arg max p(coglactr, Yogj-1, 0); j = 1...,k",
"vided a good trade-off between the quality and quantity of",
"Ctr",
"accepted pairs.",
"(2)"
] | {
"arxiv_id": "2310.18830",
"language": "zh",
"page_idx": 3
} |
||
2402.05515-zh-3 | 2402.05515-zh-3.jpg | <FigureHere>
Figure 3: The normalized label entropy $H_n^l$ on both models and 7 datasets with and without appropriatenoised NoısYICL. In most cases, the $H_n^l$ with NoIsYICL( w/ ) is greater than without NoısYICL( w/o ).
and Komatsuzaki, 2021) 。模型检查点从 hugging-
face $^2$加载
Hyperparameters. 我们将噪声分布的标准偏差$\sigma$固定为0.02 ,这与两个模型的初始化分布相同。我们认为噪声强度 λ应该随。r。t。数据集和模型。因此,我们通过对验证集上的每个数据集和模型的简单搜索方法来确定最合适的$\lambda$(详见附录$\overline{\mathrm{ED}}$)。选定的强度如表 1所示,这些强度集中在$\left(0,0.3\right]$中。此外,我们确认入保持相对稳定的 w。r。t。给定数据集和模型的$k$ (附录 D )
Other details. 我们默认使用四个演示和一个简单的提示模板,如附录$\overline{\mathrm{EB}}$ 所示。每个标记的数据被视为测试查询一次,对于每个查询,我们做 2 次尝试。每个实验用不同的噪声矩阵重复 10 次
3.2 NoIsYICL Improves ICL Performance
我们在表$\mathbb{E}$1 中的最佳 入上显示了有和没有NoIsYICL 的 12 个下游数据集上的准确性和宏 F1, 并在图 3 中显示了平均结果。1 (其他数量的演示($k$)的结果见附录 C)
结果表明,NoIsYICL 产生的平均性能提高约为 10% 。这种现象初步证实了我们的假设: NoIsYICL 使预先训练的 LM 适合 ICL
但是,这样的收益取决于数据集和模型。在数据集和模型的某些组合中,无法观察到显著的性能改进。我们推测原因是 NoIsYICL 没有从新的训练示例中提供新的知识,并且无论是否使用 NoIsYICL , 这些数据集从本质上来说对于模型来说都太困难了
## 3.3 NoısılCL Is A Calibration
本节发现 NoIsYICL 进行以下方面的校准:
${^{2}\text{huggingface. co/ gpt2}}$ , and huggingface.con
EleutherAI/gpt-j-6b
$\bullet$ Lower prediction bias. When no valid query
is given, the predicted labels should have balanced frequencies. However, predictions conducted by under-calibrated LMs usually have significant bias, which is harmful to ICL (Fei et al., 2023; Zhao et al., 2021; Wei et al., 2023; Lu et al., 2022) . Eliminating these biases can be seen as an aspect of calibration.
$\bullet$ More faithful confidence. In classification tasks, the outputted probability of the predicted label is called confidence. Suitable confidence should faithfully reflect the accuracy of outputs, that is, a prediction with greater accuracy should be assigned with greater confidence (Corbière et al., 2019) . It has been proven that faithful confidence improves the stability of the model (Guo et al., 2017; Grabinski et al., 2022). Making the confidence more faithful is also an aspect of calibration (Guo et al., 2017; Tian et al., 2023) .
具体来说,我们发现 NoIsYICL 诱导模型以
更公平和忠实的信心预测标签
NoısıICL reduces prediction bias. 我们研究以下两种类型的预测偏差。(有关进一步计算详情,请参阅附录 E。)
(1)内在令牌偏差。LM 使用自然语料库进行预训练,其中不同的令牌具有不同的频率。LM 学习这样的频率,并在预测中充当不同令牌之间的偏差,这被认为对 ICLE(Fei et al. 2023) 有害。我们相信这种令牌偏差可以通过NoIsYICL 来减少
为了对此进行量化,我们计算归一化令牌熵$H_n^t:$在给定空输人的情况下,整个词汇之间的预测概率分布的熵(我们使用“回”和“Label:”), w。r。t。各种噪声强度
结果如图所示。2。可以观察到噪声强度与$H_n^t$之间存在明显的正相关,这意味着当给出更多噪声时,该模型会给出更公平的输出
(2)整体标签偏差。在分类任务中,当没有给出查询时,应该公平地为标签分配相等的概率,这有利于ICL(Luet al.,2022)。我们相信NoIsYICL 促进了这种公平性
为了量化这一点,我们使用归一化标签熵$H_n^l:$在给定一些演示和空查询的情况下,标签空间中预测概率分布的熵。请注意,当没有给出查询时,模型预测“中性”标签是很自然的,因此使用$H_n^l$无法公平地测量具有“中性” 标签的数据集上的标签偏差。因此,我们忽略 | [
[
"0.2048",
"0.0831",
"0.236",
"0.0831",
"0.236",
"0.09143",
"0.2048",
"0.09143"
],
[
"0.3972",
"0.0831",
"0.4248",
"0.0831",
"0.4248",
"0.09143",
"0.3972",
"0.09143"
],
[
"0.534",
"0.0861",
"0.881",
"0.0861",
"0.881",
"0.10095",
"0.534",
"0.10095"
],
[
"0.2124",
"0.0986",
"0.2301",
"0.0986",
"0.2301",
"0.1069",
"0.2124",
"0.1069"
],
[
"0.11584",
"0.0861",
"0.1503",
"0.0861",
"0.1503",
"0.1372",
"0.11584",
"0.1372"
],
[
"0.315",
"0.1051",
"0.336",
"0.10986",
"0.3315",
"0.1194",
"0.3105",
"0.114"
],
[
"0.5483",
"0.1027",
"0.882",
"0.1027",
"0.882",
"0.1164",
"0.5483",
"0.1164"
],
[
"0.55",
"0.12054",
"0.879",
"0.12054",
"0.879",
"0.1312",
"0.55",
"0.1312"
],
[
"0.5483",
"0.1342",
"0.881",
"0.1354",
"0.881",
"0.1484",
"0.5483",
"0.1478"
],
[
"0.12427",
"0.1401",
"0.1301",
"0.1401",
"0.1301",
"0.1455",
"0.12427",
"0.1455"
],
[
"0.55",
"0.1509",
"0.881",
"0.1509",
"0.881",
"0.1644",
"0.55",
"0.1644"
],
[
"0.424",
"0.158",
"0.4626",
"0.158",
"0.4626",
"0.1704",
"0.424",
"0.1704"
],
[
"0.4307",
"0.1733",
"0.4434",
"0.1733",
"0.4434",
"0.1853",
"0.4307",
"0.1853"
],
[
"0.552",
"0.1687",
"0.879",
"0.1687",
"0.879",
"0.1787",
"0.552",
"0.1787"
],
[
"0.5483",
"0.1812",
"0.882",
"0.1818",
"0.882",
"0.1965",
"0.5483",
"0.1953"
],
[
"0.1453",
"0.1948",
"0.293",
"0.1912",
"0.293",
"0.2048",
"0.1453",
"0.2079"
],
[
"0.3376",
"0.1936",
"0.4836",
"0.1907",
"0.4836",
"0.2048",
"0.3376",
"0.2079"
],
[
"0.5483",
"0.199",
"0.8696",
"0.199",
"0.8696",
"0.212",
"0.5483",
"0.212"
],
[
"0.11755",
"0.2203",
"0.4844",
"0.2203",
"0.4844",
"0.234",
"0.11755",
"0.234"
],
[
"0.534",
"0.228",
"0.882",
"0.2286",
"0.882",
"0.2434",
"0.534",
"0.2423"
],
[
"0.11584",
"0.2351",
"0.4836",
"0.2351",
"0.4836",
"0.2488",
"0.11584",
"0.2488"
],
[
"0.1184",
"0.2488",
"0.4844",
"0.2488",
"0.4844",
"0.2625",
"0.1184",
"0.2625"
],
[
"0.5474",
"0.2446",
"0.882",
"0.2452",
"0.882",
"0.26",
"0.5474",
"0.2588"
],
[
"0.1184",
"0.2632",
"0.4768",
"0.2632",
"0.4768",
"0.2766",
"0.1184",
"0.2766"
],
[
"0.55",
"0.2625",
"0.882",
"0.2625",
"0.882",
"0.2756",
"0.55",
"0.2756"
],
[
"0.55",
"0.2766",
"0.882",
"0.2766",
"0.882",
"0.2915",
"0.55",
"0.2915"
],
[
"0.5483",
"0.2944",
"0.882",
"0.2944",
"0.882",
"0.308",
"0.5483",
"0.308"
],
[
"0.11755",
"0.3027",
"0.4844",
"0.3047",
"0.4844",
"0.3206",
"0.11755",
"0.3184"
],
[
"0.5483",
"0.31",
"0.882",
"0.3088",
"0.882",
"0.3237",
"0.5483",
"0.3247"
],
[
"0.11755",
"0.3206",
"0.2032",
"0.3206",
"0.2032",
"0.335",
"0.11755",
"0.335"
],
[
"0.5483",
"0.3267",
"0.882",
"0.326",
"0.882",
"0.3403",
"0.5483",
"0.3416"
],
[
"0.55",
"0.3425",
"0.882",
"0.3425",
"0.882",
"0.3557",
"0.55",
"0.3557"
],
[
"0.1234",
"0.3486",
"0.2805",
"0.3486",
"0.2805",
"0.3635",
"0.1234",
"0.3635"
],
[
"0.2761",
"0.3528",
"0.293",
"0.3528",
"0.293",
"0.3599",
"0.2761",
"0.3599"
],
[
"0.293",
"0.3486",
"0.4844",
"0.3486",
"0.4844",
"0.3635",
"0.293",
"0.3635"
],
[
"0.55",
"0.3594",
"0.881",
"0.3594",
"0.881",
"0.3723",
"0.55",
"0.3723"
],
[
"0.1184",
"0.3652",
"0.4844",
"0.3652",
"0.4844",
"0.379",
"0.1184",
"0.379"
],
[
"0.5483",
"0.3723",
"0.881",
"0.3735",
"0.881",
"0.3884",
"0.5483",
"0.3872"
],
[
"0.12006",
"0.3818",
"0.486",
"0.3818",
"0.486",
"0.3955",
"0.12006",
"0.3955"
],
[
"0.5483",
"0.3896",
"0.881",
"0.3901",
"0.881",
"0.405",
"0.5483",
"0.4038"
],
[
"0.11755",
"0.398",
"0.4836",
"0.398",
"0.4836",
"0.411",
"0.11755",
"0.411"
],
[
"0.5483",
"0.4067",
"0.881",
"0.4067",
"0.881",
"0.4204",
"0.5483",
"0.4204"
],
[
"0.1184",
"0.4146",
"0.4844",
"0.4146",
"0.4844",
"0.4275",
"0.1184",
"0.4275"
],
[
"0.5483",
"0.4204",
"0.6035",
"0.4229",
"0.602",
"0.437",
"0.5474",
"0.4353"
],
[
"0.1184",
"0.43",
"0.4844",
"0.43",
"0.4844",
"0.4436",
"0.1184",
"0.4436"
],
[
"0.11755",
"0.4448",
"0.486",
"0.4453",
"0.486",
"0.4602",
"0.11755",
"0.459"
],
[
"0.531",
"0.4548",
"0.881",
"0.4548",
"0.881",
"0.4685",
"0.531",
"0.4685"
],
[
"0.1184",
"0.4614",
"0.4844",
"0.4614",
"0.4844",
"0.4756",
"0.1184",
"0.4756"
],
[
"0.5146",
"0.4714",
"0.7524",
"0.4714",
"0.7524",
"0.485",
"0.5146",
"0.485"
],
[
"0.1184",
"0.478",
"0.288",
"0.478",
"0.288",
"0.4912",
"0.1184",
"0.4912"
],
[
"0.517",
"0.4995",
"0.881",
"0.4995",
"0.881",
"0.513",
"0.517",
"0.513"
],
[
"0.12427",
"0.5073",
"0.2451",
"0.5073",
"0.2451",
"0.517",
"0.12427",
"0.517"
],
[
"0.2418",
"0.5103",
"0.2551",
"0.5103",
"0.2551",
"0.514",
"0.2418",
"0.514"
],
[
"0.251",
"0.506",
"0.4785",
"0.506",
"0.4785",
"0.5195",
"0.251",
"0.5195"
],
[
"0.11755",
"0.5215",
"0.4844",
"0.5215",
"0.4844",
"0.535",
"0.11755",
"0.535"
],
[
"0.5146",
"0.5166",
"0.879",
"0.5166",
"0.879",
"0.53",
"0.5146",
"0.53"
],
[
"0.513",
"0.532",
"0.7197",
"0.532",
"0.7197",
"0.546",
"0.513",
"0.546"
],
[
"0.1184",
"0.538",
"0.486",
"0.538",
"0.486",
"0.552",
"0.1184",
"0.552"
],
[
"0.1184",
"0.554",
"0.486",
"0.554",
"0.486",
"0.568",
"0.1184",
"0.568"
],
[
"0.5283",
"0.549",
"0.881",
"0.549",
"0.881",
"0.5625",
"0.5283",
"0.5625"
],
[
"0.1184",
"0.5693",
"0.2393",
"0.5693",
"0.2393",
"0.583",
"0.1184",
"0.583"
],
[
"0.513",
"0.5654",
"0.881",
"0.5654",
"0.881",
"0.579",
"0.513",
"0.579"
],
[
"0.513",
"0.5806",
"0.881",
"0.5806",
"0.881",
"0.594",
"0.513",
"0.594"
],
[
"0.11584",
"0.597",
"0.4744",
"0.5986",
"0.4744",
"0.6133",
"0.11584",
"0.6123"
],
[
"0.513",
"0.5967",
"0.881",
"0.5957",
"0.881",
"0.61",
"0.513",
"0.611"
],
[
"0.513",
"0.6133",
"0.881",
"0.6133",
"0.881",
"0.6274",
"0.513",
"0.6274"
],
[
"0.1184",
"0.6216",
"0.4844",
"0.6216",
"0.4844",
"0.6357",
"0.1184",
"0.6357"
],
[
"0.513",
"0.629",
"0.657",
"0.629",
"0.657",
"0.6436",
"0.513",
"0.6436"
],
[
"0.11755",
"0.638",
"0.4844",
"0.638",
"0.4844",
"0.652",
"0.11755",
"0.652"
],
[
"0.532",
"0.6465",
"0.881",
"0.6465",
"0.881",
"0.66",
"0.532",
"0.66"
],
[
"0.11755",
"0.653",
"0.4836",
"0.653",
"0.4836",
"0.6665",
"0.11755",
"0.6665"
],
[
"0.511",
"0.661",
"0.879",
"0.662",
"0.879",
"0.677",
"0.511",
"0.676"
],
[
"0.1184",
"0.6704",
"0.3938",
"0.6704",
"0.3938",
"0.684",
"0.1184",
"0.684"
],
[
"0.513",
"0.6777",
"0.881",
"0.677",
"0.881",
"0.6914",
"0.513",
"0.6924"
],
[
"0.1368",
"0.687",
"0.4844",
"0.687",
"0.4844",
"0.7007",
"0.1368",
"0.7007"
],
[
"0.511",
"0.695",
"0.7983",
"0.695",
"0.7983",
"0.708",
"0.511",
"0.708"
],
[
"0.11755",
"0.703",
"0.4836",
"0.703",
"0.4836",
"0.7163",
"0.11755",
"0.7163"
],
[
"0.531",
"0.712",
"0.881",
"0.712",
"0.881",
"0.7256",
"0.531",
"0.7256"
],
[
"0.11755",
"0.7197",
"0.4248",
"0.7197",
"0.4248",
"0.733",
"0.11755",
"0.733"
],
[
"0.5146",
"0.728",
"0.881",
"0.728",
"0.881",
"0.741",
"0.5146",
"0.741"
],
[
"0.1377",
"0.7383",
"0.4836",
"0.7383",
"0.4836",
"0.749",
"0.1377",
"0.749"
],
[
"0.5146",
"0.7437",
"0.843",
"0.7437",
"0.843",
"0.7573",
"0.5146",
"0.7573"
],
[
"0.1184",
"0.752",
"0.4844",
"0.752",
"0.4844",
"0.7666",
"0.1184",
"0.7666"
],
[
"0.529",
"0.7603",
"0.879",
"0.7603",
"0.879",
"0.774",
"0.529",
"0.774"
],
[
"0.1184",
"0.7686",
"0.4844",
"0.7686",
"0.4844",
"0.782",
"0.1184",
"0.782"
],
[
"0.511",
"0.7754",
"0.881",
"0.7754",
"0.881",
"0.789",
"0.511",
"0.789"
],
[
"0.1184",
"0.785",
"0.4844",
"0.785",
"0.4844",
"0.799",
"0.1184",
"0.799"
],
[
"0.513",
"0.792",
"0.881",
"0.792",
"0.881",
"0.807",
"0.513",
"0.807"
],
[
"0.1184",
"0.8003",
"0.4844",
"0.8003",
"0.4844",
"0.814",
"0.1184",
"0.814"
],
[
"0.511",
"0.8086",
"0.748",
"0.8086",
"0.748",
"0.8223",
"0.511",
"0.8223"
],
[
"0.11755",
"0.818",
"0.3167",
"0.818",
"0.3167",
"0.8306",
"0.11755",
"0.8306"
],
[
"0.529",
"0.8267",
"0.881",
"0.8267",
"0.881",
"0.8403",
"0.529",
"0.8403"
],
[
"0.11755",
"0.8467",
"0.3862",
"0.8467",
"0.3862",
"0.86",
"0.11755",
"0.86"
],
[
"0.513",
"0.843",
"0.879",
"0.843",
"0.879",
"0.8555",
"0.513",
"0.8555"
],
[
"0.513",
"0.857",
"0.879",
"0.858",
"0.879",
"0.8726",
"0.513",
"0.8716"
],
[
"0.11755",
"0.8677",
"0.4575",
"0.868",
"0.4575",
"0.883",
"0.11755",
"0.882"
],
[
"0.5146",
"0.8745",
"0.881",
"0.8745",
"0.881",
"0.888",
"0.5146",
"0.888"
],
[
"0.1368",
"0.8945",
"0.486",
"0.8955",
"0.486",
"0.91",
"0.1368",
"0.909"
],
[
"0.5146",
"0.891",
"0.879",
"0.891",
"0.879",
"0.905",
"0.5146",
"0.905"
],
[
"0.11584",
"0.9067",
"0.266",
"0.9077",
"0.266",
"0.9214",
"0.11584",
"0.9204"
],
[
"0.513",
"0.9067",
"0.881",
"0.9067",
"0.881",
"0.9204",
"0.513",
"0.9204"
]
] | [
"GPT-2",
"GPT-",
": Lower prediction bias. When no valid query",
"中",
"Aan",
"60",
"is given, the predicted labels should have bal-",
"ancedfrequencies.However,predictionscon",
"ducted by under-calibrated LMs usually have",
"0",
"significant bias, which is harmful to ICL (Fei",
"旺",
"门",
"et al..2023: Zha0 et al., 202l;Wei et al..",
"2023; Lu et al., 2022). Eliminating these bi-",
"EthoMIRPCRTESST2HSTEETEH",
"EthoMRPCRTESST2HSTEETEH",
"ases can be seen as an aspect of calibration.",
"Figure 3: The normalized label entropy H, on both",
"More faithful confidence.In classification",
"models and 7 datasets with and without appropriate",
"noised NoISYICL. In most cases, the Hh with NoISY",
"tasks, the outputted probability of the pre-",
"ICL ( w/ ) is greater than without NoISYICL (w/o).",
"dicted label is called confidence. Suitable",
"confidence should faithfully reflect the accu-",
"racy of outputs, that is, a prediction with",
"andKomatsuzaki,2021)。模型检查点从hugging",
"greater accuracy should be assigned with",
"face2加载",
"greater confidence (Corbiere et al., 2019) . It",
"has been proven that faithful confidence im-",
"Hyperparameters.",
"",
"我们将噪声分布的标准",
"proves the stability of the model (Guo et al.,",
"偏差α固定为0.02,这与两个模型的初始化",
"2017; Grabinski et al., 2022). Making the",
"分布相同。我们认为噪声强度入应该随。r。t。",
"confidence more faithful is also an aspect",
"数据集和模型。因此,我们通过对验证集上的",
"of calibration (Guo et al., 2017; Tian et al.",
"每个数据集和模型的简单搜索方法来确定最合",
"2023).",
"适的入(详见附录ED)。选定的强度如表1",
"所示,这些强度集中在(0,0.3)中。此外,我们",
"具体来说,我们发现NOISYICL诱导模型以",
"确认入保持相对稳定的W。r。t。给定数据集",
"更公平和忠实的信心预测标签",
"和模型的k(附录D)",
"NoIsYICLreducespredictionbias.我们研",
"Otherdetails.",
"",
"我们默认使用四个演示和一",
"个简单的提示模板,如附录EB所示。每个标",
"究以下两种类型的预测偏差。(有关进一步计",
"算详情,请参阅附录E。)",
"记的数据被视为测试查询一次,对于每个查",
"询,我们做2次尝试。每个实验用不同的噪声",
"(1)内在令牌偏差。LM使用自然语料库进",
"矩阵重复10次",
"行预训练,其中不同的令牌具有不同的频率。",
"LM学习这样的频率,并在预测中充当不同令",
"3.2NoIsYICL Improves ICL Performance",
"牌之间的偏差,这被认为对ICLE(Feietal.,",
"2023)有害。我们相信这种令牌偏差可以通过",
"我们在表1中的最佳入上显示了有和没有",
"NOISYICL来减少",
"NOISYICL的12个下游数据集上的准确性和",
"为了对此进行量化,我们计算归一化令牌",
"宏F1,并在图3中显示了平均结果。1(其他",
"熵Ht:在给定空输入的情况下,整个词汇",
"数量的演示(k)的结果见附录C)",
"之间的预测概率分布的摘(我们使用“E’和",
"结果表明,NOISYICL产生的平均性能提高",
"“Label:\"),W。r。t。各种噪声强度",
"约为10%。这种现象初步证实了我们的假设",
"结果如图所示。2。可以观察到噪声强度与",
"NOISYICL使预先训练的LM适合ICL",
"Ht之间存在明显的正相关,这意味着当给出",
"但是,这样的收益取决于数据集和模型。在",
"更多噪声时,该模型会给出更公平的输出",
"数据集和模型的某些组合中,无法观察到显著",
"(2)整体标签偏差。在分类任务中,当没有",
"的性能改进。我们推测原因是NOISYICL没有",
"给出查询时,应该公平地为标签分配相等的概",
"从新的训练示例中提供新的知识,并且无论是",
"率,这有利于ICL(Luetal.,2022)。我们相信",
"否使用NOISYICL,这些数据集从本质上来说",
"NOISYICL促进了这种公平性",
"对于模型来说都太困难了",
"为了量化这一点,我们使用归一化标签熵",
"3.3NoISYICL Is A Calibration",
"H:在给定一些演示和空查询的情况下,标",
"签空间中预测概率分布的嫡。请注意,当没有",
"本节发现NOISYICL进行以下方面的校准:",
"给出查询时,模型预测“中性”标签是很自然",
"2huggingface.co/gpt2,and huggingface.co/",
"的,因此使用H无法公平地测量具有“中性”",
"EleutherAI/gpt-j-6b",
"标签的数据集上的标签偏差。因此,我们忽略"
] | {
"arxiv_id": "2402.05515",
"language": "zh",
"page_idx": 3
} |
||
2402.05515-zh-4 | 2402.05515-zh-4.jpg | 这些带有“中性”标签的数据集(详见附录 A
)
结果如图所示。E3, 表明在大多数情况下, NoIsYICL 会校准整体偏差,尤其是在 GPT-2上
和
<FigureHere>
Figure 4: Left: Reliability diagrams (sparse bars) and global confidence distribution (dense bars) of GPT-2 on hate\_speech18 with( w/ $,ECE_{1}=9.01\%$ ) and without( w/o $,ECE_1=28.14\%)$ NoIsYICL. The predictions are divided into bins according to confidence, and we visualize the accuracy of each bin as a histogram. The grey bars are ideal, which is closer to the one with NoIsYICL. Right upper: Confidence distribution on correct predictions. Relatively right-shifted with NoIsYICL .Right lower : Confidence distribution on wrong predictions. Relatively left-shifted with NoIsYICL.( $k= 4$ )
NorsYICL promotes faithful confidence.
可以获得 ExpectedCalibrationError $(ECE_p)$
(Naeini et al., 2015) 是分类任务中置信度真实
性的广泛使用的指标:
$$ECE_p=\mathbb{E}(|\max(\hat{z})-\mathbb{E}_{y=\underset{i}{\operatorname*{argmax}}\hat{z}_i}(1)|^p)^{\frac{1}{p}},$$
其中$\hat{z}$是标签空间上的最终预测概率
让$p=1$,我们使用$ECE_1$来研究 ICL 输出的真实性。计算细节见附录F。较低的$ECE_{1}$ 意味着更忠实的置信度,也就是说,置信度成为精度 (Corbière et al., 2019) 的更准确的预测。Fig。4 展示了 GPT-2 在 hate\_speez18 数据集上的案例研究,表明该预测更忠实于 NoIsYICL (完整的可视化数据见附录 G)。我们在表 1 中的 12 个数据集上显示了有和没有适当噪声的NoIsYICL 对$ECE_{1}$的结果
在大多数情况下,NoIsYICL 将$ECE_{1}$减少了 25% 左右,这意味着使用 NoIsYICL 的信心更加忠实。这表明 NoIsYICL 可以驱动模型产生更多的忠实置信度,即对错误预测的过度自信较少,对正确预测的信心不足较少,这表明 NoIsYICL 解决了置信度校准
基于上述两项调查,我们认为 NoIsYICL 是ICL 场景的有效校准。这可以是 §3.2 中观察到的性能改进的合理解释
### 4 $\textbf{Related Works}$
Fine-tuning and calibrating LMs to ICL. 在微调和校准 LM 以获得更好的 ICL 性能方面已经做出了一些努力。Min et al.(2022)提出了MetaICL, 根据从大量下游任务中采样的 ICL 样式示例对 LM 进行了微调。Zhao et al. (2021) 建议 ICL 由于 LM 的校准不足而遭受高方差。因此,他们提出了一种上下文校准,在没有给出查询的情况下将模型输出校准为均匀分布。Wei et al. (2021)提出了 FLAN, 这是一种指令微调方法,可提高 LM 的少射和零射 ICL 性能。所有这些方法都需要通过梯度对大型数据集上的 LM 进行参数更新,这对于大型模型来说是相当昂贵的。此外,Lu et al.(2022) 试图提出一种方法来确认最佳演示顺序,以减少输出偏差和过度自信
Adding noise to pre-trained models for finetuning. 在先前的预训练和微调范式中,有学者指出,在模型参数中添加噪声有利于微调。Zhang et al. (2020) 重新初始化了 BERT 的某些层,即使某些层全噪声化,并发现它有利于少量微调。Wu et al. (2022) 直接将噪声添加到预先训练的变压器中,并得到了略微改进的结果
### 5 $\mathbf{Conclusion}$
在本文中,我们提出了 NoIsYICL,它简单地将随机噪声添加到 LM 的参数中,以使其从预先训练的知识拟合到 ICL。我们证明 NoIsYICL 可以提高 ICL 性能,还可以校准模型以获得更公平的输出和更可靠的信心
### $\textbf{6 Limitations}$
如前所述,与对其他 ICL 样式数据集 (Min et al. 2022; Zhao et al., 2021; Wei et al., 2021) 进行微调不同,NoIsYICL 不会为模型提供新知识, 因此校准后的模型无法发现未包含在预训练数据(Gu et al., 2023) 中的任务。此外,对最佳噪声强度的天真的搜索是不有效和令人满意的。应开发一种有效的 λ检测方法。目前,我们只能确认对于一个数据集和模型,$\lambda$保持相对稳定,特别是当给出一个大的$k$时(附录。D)
Future Works. 除了固定限制外,未来的工作还可以集中在应在何处以及如何引入噪声上。在基于变压器的模型中,不同的层具有不 | [
[
"0.1184",
"0.0861",
"0.486",
"0.0861",
"0.486",
"0.0998",
"0.1184",
"0.0998"
],
[
"0.1368",
"0.1194",
"0.482",
"0.1194",
"0.482",
"0.133",
"0.1368",
"0.133"
],
[
"0.11755",
"0.136",
"0.486",
"0.136",
"0.486",
"0.1497",
"0.11755",
"0.1497"
],
[
"0.11755",
"0.1526",
"0.1377",
"0.1526",
"0.1377",
"0.165",
"0.11755",
"0.165"
],
[
"0.1351",
"0.1692",
"0.1561",
"0.1692",
"0.1561",
"0.1829",
"0.1351",
"0.1829"
],
[
"0.1276",
"0.1996",
"0.4634",
"0.1996",
"0.4634",
"0.2131",
"0.1276",
"0.2131"
],
[
"0.1184",
"0.2156",
"0.4785",
"0.2156",
"0.4785",
"0.2299",
"0.1184",
"0.2299"
],
[
"0.1184",
"0.2322",
"0.486",
"0.2322",
"0.486",
"0.2452",
"0.1184",
"0.2452"
],
[
"0.571",
"0.234",
"0.5825",
"0.234",
"0.5825",
"0.2369",
"0.571",
"0.2369"
],
[
"0.5845",
"0.2351",
"0.669",
"0.2351",
"0.669",
"0.2465",
"0.5845",
"0.2465"
],
[
"0.11755",
"0.2465",
"0.2913",
"0.2477",
"0.2913",
"0.2625",
"0.11755",
"0.2612"
],
[
"0.513",
"0.2583",
"0.882",
"0.2583",
"0.882",
"0.2725",
"0.513",
"0.2725"
],
[
"0.513",
"0.2725",
"0.882",
"0.2725",
"0.882",
"0.2861",
"0.513",
"0.2861"
],
[
"0.1276",
"0.2832",
"0.486",
"0.2832",
"0.486",
"0.3005",
"0.1276",
"0.3005"
],
[
"0.513",
"0.2874",
"0.882",
"0.2874",
"0.882",
"0.3005",
"0.513",
"0.3005"
],
[
"0.511",
"0.2998",
"0.881",
"0.2998",
"0.881",
"0.3135",
"0.511",
"0.3135"
],
[
"0.51",
"0.3142",
"0.881",
"0.3154",
"0.881",
"0.3289",
"0.51",
"0.328"
],
[
"0.1184",
"0.3247",
"0.4114",
"0.3247",
"0.4114",
"0.3384",
"0.1184",
"0.3384"
],
[
"0.513",
"0.33",
"0.882",
"0.33",
"0.882",
"0.3433",
"0.513",
"0.3433"
],
[
"0.1368",
"0.3425",
"0.4844",
"0.3425",
"0.4844",
"0.3557",
"0.1368",
"0.3557"
],
[
"0.511",
"0.3433",
"0.882",
"0.3433",
"0.882",
"0.357",
"0.511",
"0.357"
],
[
"0.1184",
"0.3594",
"0.486",
"0.3594",
"0.486",
"0.3723",
"0.1184",
"0.3723"
],
[
"0.513",
"0.3582",
"0.882",
"0.3582",
"0.882",
"0.3718",
"0.513",
"0.3718"
],
[
"0.11755",
"0.3735",
"0.4844",
"0.3735",
"0.4844",
"0.3872",
"0.11755",
"0.3872"
],
[
"0.511",
"0.3723",
"0.8833",
"0.3723",
"0.8833",
"0.386",
"0.511",
"0.386"
],
[
"0.1184",
"0.3901",
"0.4844",
"0.3896",
"0.4844",
"0.4038",
"0.1184",
"0.405"
],
[
"0.511",
"0.3855",
"0.881",
"0.3855",
"0.881",
"0.3984",
"0.511",
"0.3984"
],
[
"0.513",
"0.401",
"0.882",
"0.401",
"0.882",
"0.4146",
"0.513",
"0.4146"
],
[
"0.11755",
"0.4067",
"0.4836",
"0.4067",
"0.4836",
"0.4204",
"0.11755",
"0.4204"
],
[
"0.511",
"0.415",
"0.663",
"0.4163",
"0.663",
"0.4275",
"0.511",
"0.427"
],
[
"0.1184",
"0.4229",
"0.4844",
"0.4229",
"0.4844",
"0.4358",
"0.1184",
"0.4358"
],
[
"0.1184",
"0.4395",
"0.4844",
"0.4395",
"0.4844",
"0.4531",
"0.1184",
"0.4531"
],
[
"0.1184",
"0.4548",
"0.486",
"0.4548",
"0.486",
"0.4697",
"0.1184",
"0.4697"
],
[
"0.5205",
"0.4548",
"0.882",
"0.4548",
"0.882",
"0.4697",
"0.5205",
"0.4697"
],
[
"0.11755",
"0.4714",
"0.3418",
"0.4714",
"0.3418",
"0.485",
"0.11755",
"0.485"
],
[
"0.513",
"0.4727",
"0.592",
"0.4727",
"0.592",
"0.484",
"0.513",
"0.484"
],
[
"0.588",
"0.4714",
"0.881",
"0.4714",
"0.881",
"0.485",
"0.588",
"0.485"
],
[
"0.1335",
"0.488",
"0.4878",
"0.4868",
"0.4878",
"0.502",
"0.1335",
"0.503"
],
[
"0.511",
"0.4868",
"0.879",
"0.4868",
"0.879",
"0.5005",
"0.511",
"0.5005"
],
[
"0.12006",
"0.505",
"0.486",
"0.505",
"0.486",
"0.5195",
"0.12006",
"0.5195"
],
[
"0.511",
"0.503",
"0.881",
"0.503",
"0.881",
"0.5166",
"0.511",
"0.5166"
],
[
"0.11755",
"0.521",
"0.4836",
"0.521",
"0.4836",
"0.5337",
"0.11755",
"0.5337"
],
[
"0.511",
"0.517",
"0.879",
"0.5186",
"0.879",
"0.533",
"0.511",
"0.532"
],
[
"0.1184",
"0.536",
"0.4844",
"0.536",
"0.4844",
"0.55",
"0.1184",
"0.55"
],
[
"0.511",
"0.5337",
"0.879",
"0.5337",
"0.879",
"0.5474",
"0.511",
"0.5474"
],
[
"0.1184",
"0.552",
"0.4844",
"0.552",
"0.4844",
"0.5654",
"0.1184",
"0.5654"
],
[
"0.513",
"0.5503",
"0.879",
"0.5503",
"0.879",
"0.5654",
"0.513",
"0.5654"
],
[
"0.1184",
"0.5684",
"0.378",
"0.5684",
"0.378",
"0.582",
"0.1184",
"0.582"
],
[
"0.513",
"0.579",
"0.55",
"0.579",
"0.55",
"0.5913",
"0.513",
"0.5913"
],
[
"0.544",
"0.58",
"0.6455",
"0.58",
"0.6455",
"0.5913",
"0.544",
"0.5913"
],
[
"0.1351",
"0.586",
"0.4844",
"0.585",
"0.4844",
"0.5996",
"0.1351",
"0.601"
],
[
"0.11755",
"0.6025",
"0.486",
"0.6025",
"0.486",
"0.616",
"0.11755",
"0.616"
],
[
"0.511",
"0.6025",
"0.879",
"0.6025",
"0.879",
"0.616",
"0.511",
"0.616"
],
[
"0.11584",
"0.6177",
"0.3015",
"0.618",
"0.3015",
"0.633",
"0.11584",
"0.632"
],
[
"0.513",
"0.618",
"0.879",
"0.618",
"0.879",
"0.632",
"0.513",
"0.632"
],
[
"0.5156",
"0.6357",
"0.879",
"0.6357",
"0.879",
"0.6494",
"0.5156",
"0.6494"
],
[
"0.1511",
"0.652",
"0.2837",
"0.652",
"0.2837",
"0.665",
"0.1511",
"0.665"
],
[
"0.5156",
"0.652",
"0.881",
"0.652",
"0.881",
"0.665",
"0.5156",
"0.665"
],
[
"0.5146",
"0.6675",
"0.733",
"0.6675",
"0.733",
"0.6816",
"0.5146",
"0.6816"
],
[
"0.11755",
"0.654",
"0.1351",
"0.654",
"0.1351",
"0.663",
"0.11755",
"0.663"
],
[
"0.12006",
"0.6797",
"0.4844",
"0.6797",
"0.4844",
"0.6934",
"0.12006",
"0.6934"
],
[
"0.11755",
"0.697",
"0.4844",
"0.697",
"0.4844",
"0.7104",
"0.11755",
"0.7104"
],
[
"0.513",
"0.6987",
"0.529",
"0.6987",
"0.529",
"0.707",
"0.513",
"0.707"
],
[
"0.5264",
"0.6987",
"0.5425",
"0.6987",
"0.5425",
"0.706",
"0.5264",
"0.706"
],
[
"0.538",
"0.6978",
"0.6484",
"0.6978",
"0.6484",
"0.709",
"0.538",
"0.709"
],
[
"0.11755",
"0.712",
"0.4836",
"0.7134",
"0.4836",
"0.728",
"0.11755",
"0.727"
],
[
"0.511",
"0.72",
"0.8774",
"0.7197",
"0.8774",
"0.734",
"0.511",
"0.7354"
],
[
"0.11755",
"0.7285",
"0.486",
"0.7285",
"0.486",
"0.742",
"0.11755",
"0.742"
],
[
"0.513",
"0.737",
"0.881",
"0.737",
"0.881",
"0.7505",
"0.513",
"0.7505"
],
[
"0.11755",
"0.745",
"0.486",
"0.7446",
"0.486",
"0.759",
"0.11755",
"0.7603"
],
[
"0.513",
"0.753",
"0.8774",
"0.753",
"0.8774",
"0.7666",
"0.513",
"0.7666"
],
[
"0.11755",
"0.7603",
"0.4844",
"0.761",
"0.4844",
"0.7754",
"0.11755",
"0.775"
],
[
"0.5146",
"0.771",
"0.879",
"0.771",
"0.879",
"0.781",
"0.5146",
"0.781"
],
[
"0.1184",
"0.778",
"0.4844",
"0.778",
"0.4844",
"0.7915",
"0.1184",
"0.7915"
],
[
"0.511",
"0.7837",
"0.879",
"0.7837",
"0.879",
"0.7974",
"0.511",
"0.7974"
],
[
"0.11755",
"0.7935",
"0.4844",
"0.792",
"0.4844",
"0.807",
"0.11755",
"0.808"
],
[
"0.513",
"0.802",
"0.8774",
"0.802",
"0.8774",
"0.8154",
"0.513",
"0.8154"
],
[
"0.1184",
"0.81",
"0.4844",
"0.81",
"0.4844",
"0.8237",
"0.1184",
"0.8237"
],
[
"0.511",
"0.8164",
"0.881",
"0.818",
"0.881",
"0.832",
"0.511",
"0.8306"
],
[
"0.1184",
"0.8267",
"0.4844",
"0.8267",
"0.4844",
"0.8403",
"0.1184",
"0.8403"
],
[
"0.5146",
"0.8345",
"0.881",
"0.8345",
"0.881",
"0.847",
"0.5146",
"0.847"
],
[
"0.1184",
"0.843",
"0.4844",
"0.843",
"0.4844",
"0.8555",
"0.1184",
"0.8555"
],
[
"0.513",
"0.8496",
"0.8613",
"0.8496",
"0.8613",
"0.8643",
"0.513",
"0.8643"
],
[
"0.12006",
"0.858",
"0.4844",
"0.858",
"0.4844",
"0.8716",
"0.12006",
"0.8716"
],
[
"0.1184",
"0.8745",
"0.486",
"0.8745",
"0.486",
"0.888",
"0.1184",
"0.888"
],
[
"0.517",
"0.8735",
"0.6455",
"0.8735",
"0.6455",
"0.887",
"0.517",
"0.887"
],
[
"0.6396",
"0.8774",
"0.656",
"0.8774",
"0.656",
"0.8853",
"0.6396",
"0.8853"
],
[
"0.65",
"0.8745",
"0.879",
"0.8745",
"0.879",
"0.888",
"0.65",
"0.888"
],
[
"0.1184",
"0.891",
"0.486",
"0.891",
"0.486",
"0.905",
"0.1184",
"0.905"
],
[
"0.513",
"0.89",
"0.881",
"0.8896",
"0.881",
"0.904",
"0.513",
"0.905"
],
[
"0.1184",
"0.9067",
"0.2477",
"0.9067",
"0.2477",
"0.9204",
"0.1184",
"0.9204"
],
[
"0.5156",
"0.9067",
"0.881",
"0.9067",
"0.881",
"0.9204",
"0.5156",
"0.9204"
]
] | [
"这些带有“中性”标签的数据集(详见附录A",
"结果如图所示。E3,表明在大多数情况下",
"NOISYICL会校准整体偏差,尤其是在GPT-2",
"上",
"和",
"NoisYICL promotes faithful confidence",
"可以获得ExpectedCalibrationError(ECEp",
"(Naeinietal.,2015)是分类任务中置信度真实",
"00",
"Confidence of Predict",
"性的广泛使用的指标:",
"Figure 4: Left : Reliability diagrams (sparse bars) and",
"global confidence distribution (dense bars) of GPT-2 on",
"ECEp =E(|max(2)-Ey=argmaxz;(1)/P), (3)",
"hate_speech18 with (wl , ECEi = 9.01%)and with-",
"out(w/o,ECEi=28.14%)NoISYICL.Thepre",
"dictions are divided into bins according to confidence,",
"其中是标签空间上的最终预测概率",
"and we visualize the accuracy of each bin as a his-",
"让P=1,我们使用ECEi来研究ICL输出",
"togram. The grey bars are ideal, which is closer to the",
"的真实性。计算细节见附录F。较低的ECEi",
"one with NoISYICL . Right upper : Confidence distri-",
"意味着更忠实的置信度,也就是说,置信度成",
"bution on correct predictions. Relatively right-shifted",
"为精度(Corbiereetal.,2019)的更准确的预测。",
"with NoISYICL.Right lower : Confidence distribu-",
"tion on wrong predictions. Relatively left-shifted with",
"Fig。4展示了GPT-2在hate_speez18数据集上",
"NOISYICL.(k=4)",
"的案例研究,表明该预测更忠实于NoISYICL",
"(完整的可视化数据见附录G)。我们在表1中",
"的12个数据集上显示了有和没有适当噪声的",
"Adding noise to pre-trained models for fine-",
"NoISYICL对ECEi的结果",
"tuning.",
"在先前的预训练和微调范式中,有学",
"在大多数情况下,NOISYICL将ECE1减少",
"者指出,在模型参数中添加噪声有利于微调。",
"了25%左右,这意味着使用NoISYICL的信",
"Zhangetal.(2020)重新初始化了BERT的某些",
"心更加忠实。这表明NOISYICL可以驱动模型",
"层,即使某些层全噪声化,并发现它有利于少",
"产生更多的忠实置信度,即对错误预测的过度",
"量微调。Wuetal.(2022)直接将噪声添加到预",
"自信较少,对正确预测的信心不足较少,这表",
"先训练的变压器中,并得到了略微改进的结果",
"明NOISYICL解决了置信度校准",
"5",
"Conclusion",
"基于上述两项调查,我们认为NOISYICL是",
"ICL场景的有效校准。这可以是83.2中观察到",
"在本文中,我们提出了NOISYICL,它简单地将",
"的性能改进的合理解释",
"随机噪声添加到LM的参数中,以使其从预先",
"训练的知识拟合到ICL。我们证明NoISYICL",
"Related Works",
"可以提高ICL性能,还可以校准模型以获得更",
"公平的输出和更可靠的信心",
"4.",
"Fine-tuning and calibrating LMs to ICL.在",
"微调和校准LM以获得更好的ICL性能方面",
"6",
"",
"Limitations",
"已经做出了一些努力。Minetal.(2022)提出了",
"如前所述,与对其他ICL样式数据集(Minetal.",
"MetaICL,根据从大量下游任务中采样的ICL",
"2022;Zhao et al.,2021;Wei et al.,2021)进行微",
"样式示例对LM进行了微调。Zhaoetal.(2021)",
"调不同,NOISYICL不会为模型提供新知识",
"建议ICL由于LM的校准不足而遭受高方差。",
"因此校准后的模型无法发现未包含在预训练数",
"因此,他们提出了一种上下文校准,在没有给",
"据(Guetal..2023)中的任务。此外,对最佳噪",
"出查询的情况下将模型输出校准为均匀分布。",
"声强度的天真的搜索是不有效和令人满意的,",
"Weietal.(2021)提出了FLAN,这是一种指令",
"应开发一种有效的入检测方法。目前,我们只",
"微调方法,可提高LM的少射和零射ICL性",
"能确认对于一个数据集和模型,入保持相对稳",
"能。所有这些方法都需要通过梯度对大型数据",
"定,特别是当给出一个大的k时(附录。D)",
"集上的LM进行参数更新,这对于大型模型来",
"说是相当昂贵的。此外,Luetal.(2022)试图提",
"Future Works.",
"",
"除了固定限制外,未来的工",
"出一种方法来确认最佳演示顺序,以减少输出",
"作还可以集中在应在何处以及如何引入噪声",
"偏差和过度自信",
"上。在基于变压器的模型中,不同的层具有不"
] | {
"arxiv_id": "2402.05515",
"language": "zh",
"page_idx": 4
} |
||
2210.07907-zh-2 | 2210.07907-zh-2.jpg | <FigureHere>
Figure 1: Illustration of using distance scores for poisoned sample detection. We attack a BERT (Devlin et al., 2019) model using the BadNet (Gu et al., 2017) method with a rare word trigger“mn”on the IMDB ( Maas et al., 2011) sentiment analysis task. Class 0 denotes negative and class l denotes positive. The target label is class 1. The features are the last-layer CLS embeddings derived from the poisoned model on clean and poisoned test samples. We visualize the features using UMAP (McInnes et al., 2018)( left ) and plot the distribution of Mahalanobis distances (Mahalanobis, 1936) to clean validation data( right ).
为两组:(1)离线防御(Liu et al.,2018a;Chen et al., 2019a,b; Wang et al., 2019; Li et al., 2021b; Shen et al.,2021,etc.) 目标,用于在部署之前检测和减轻模型中的后门效应;(2)在线防御(Tran et al., 2018; Gao et al., 2019a; Doan et al., 2020; Chou et al., 2020, etc.) 旨在在推理阶段检测中毒输入
此外,我们注意到计算机视觉 (Doan et al., 2021; Zhao et al., 2022; Zhong et al., 2022) 中的一系列工作通过调整从中毒样本到清洁样本的距离来改善后门攻击的特征级隐蔽性,这可以被视为针对 DAN 的自适应攻击。我们验证了 DAN 也能抵抗这种自适应攻击,因为它的机制是从所有中间层检测异常值,这进一步证实了 DAN 的有效性
### 2 $\textbf{Related Work}$
与 CV 中广泛探索的后门防御机制相比,NLP 模型的后门防御研究要少得多。现有方法可主要分为三种类型:(1)数据集保护方法(Chen and Dai, 2020) 试图从公共数据集中删除中毒样本,这对于用户已经下载了第三方模型的重量中毒情况是不切实际的;(2)模型诊断方法 (Xu et al., 2021; Azizi et al., 2021; Lyu et al., 2022; Liu et al., 2022) 旨在确定模型是否中毒, 这需要昂贵的触发 THX 逆向工程程序,因此对于资源受限的用户而言,无法进行在线 XXXX 尝试在大型模型上进行输人;。在本文中,我们的目标是通过开发一种高效、鲁棒的基于特征的防御方法来解决在线防御方法的弱点
Backdoor Attack 针对深度神经网络的后门攻击首先由 Gu et al. (2017) 在计算机视觉 (CV) 领域引入。近年来,针对图像分类模型开发了大量后门攻击方法 (Chen et al.,2017; Liu et al., 2018b; Yao et al., 2019; Nguyen and Tran, 2020; Doan et al., 2021, etc.) 。至于针对 NLP 模型的后门攻击,Dai et al.(2019) 首先提出将句子触发器插人到基于 LSTM 的 (Hochreiter and Schmidhuber, 1997) 文本分类模型中。值得注意的是,Kurita et al. (2020) 建议通过注人稀有词触发器来破解诸如 BERT (Devlin et al., 2019) 之类的 PLM, 并表明即使用户在干净的数据上微调模型后,后门效应也可以保持。以下关于文本后门攻击的工作主要旨在提高攻击的有效性和隐蔽性,包括分层中毒(Li et al., 2021a) , 新颖的触发器设计 (Zhang et al., 2020; Qi et al., 2021b,c; Yang et al.,2021c), 约束优化以获得更好的一致性和更低的副作用$\mathbb{E}($Yang et al., 2021a;Zhang et al.,2021b,c),以及任务无关的攻击 (Zhang et al., 2021a; Chen et al., 2021)
Backdoor Defense 研究人员为视觉模型开发了一系列有效的后门防御机制,通常可以分
Feature-based Outlier Detection 我们的工作还与基于特征的离群值检测的工作有关,例如对分布外样本 (Lee et al., 2018; Podolskiy et al., 2021; Huang et al., 2021) 和对抗性样本(Ma et al., 2018; Carrara et al., 2018; Wang et al., 2022) 的检测。此外,CV (Tran et al., 2018; Chen et al., 2019a; Qiao et al., 2019; Jin et al., 2022) 中的一些后门防御工作也建立在特征空间中中毒图像和干净图像之间的差异上。据我们所知, 我们率先发现了文本后门攻击中中毒样本的特征级隐藏,并开发了一种有效的基于特征的在 | [
[
"0.2551",
"0.0861",
"0.4207",
"0.0861",
"0.4207",
"0.0968",
"0.2551",
"0.0968"
],
[
"0.588",
"0.08435",
"0.8037",
"0.0849",
"0.8037",
"0.0968",
"0.588",
"0.0956"
],
[
"0.4048",
"0.10156",
"0.4668",
"0.10156",
"0.4668",
"0.11224",
"0.4048",
"0.11224"
],
[
"0.5205",
"0.1051",
"0.5483",
"0.1051",
"0.5483",
"0.11224",
"0.5205",
"0.11224"
],
[
"0.7305",
"0.10394",
"0.818",
"0.10394",
"0.818",
"0.114",
"0.7305",
"0.114"
],
[
"0.403",
"0.11224",
"0.4634",
"0.11224",
"0.4634",
"0.1223",
"0.403",
"0.1223"
],
[
"0.1696",
"0.1057",
"0.1823",
"0.1057",
"0.1823",
"0.11755",
"0.1696",
"0.11755"
],
[
"0.1704",
"0.11816",
"0.1823",
"0.11816",
"0.1823",
"0.133",
"0.1704",
"0.133"
],
[
"0.7305",
"0.1164",
"0.8345",
"0.1164",
"0.8345",
"0.1271",
"0.7305",
"0.1271"
],
[
"0.4014",
"0.12354",
"0.482",
"0.12354",
"0.482",
"0.1342",
"0.4014",
"0.1342"
],
[
"0.5225",
"0.1223",
"0.5415",
"0.1223",
"0.5415",
"0.1312",
"0.5225",
"0.1312"
],
[
"0.1503",
"0.1401",
"0.1663",
"0.1401",
"0.1621",
"0.199",
"0.1453",
"0.199"
],
[
"0.511",
"0.152",
"0.517",
"0.152",
"0.517",
"0.1621",
"0.511",
"0.1621"
],
[
"0.1738",
"0.1687",
"0.1855",
"0.1687",
"0.1855",
"0.1799",
"0.1738",
"0.1799"
],
[
"0.511",
"0.1704",
"0.517",
"0.1704",
"0.517",
"0.1787",
"0.511",
"0.1787"
],
[
"0.1721",
"0.2239",
"0.1814",
"0.2239",
"0.1814",
"0.2286",
"0.1721",
"0.2286"
],
[
"0.601",
"0.2452",
"0.6187",
"0.2452",
"0.6187",
"0.253",
"0.601",
"0.253"
],
[
"0.729",
"0.2452",
"0.748",
"0.2452",
"0.748",
"0.253",
"0.729",
"0.253"
],
[
"0.7656",
"0.2452",
"0.791",
"0.2452",
"0.791",
"0.253",
"0.7656",
"0.253"
],
[
"0.8193",
"0.2423",
"0.8345",
"0.2465",
"0.8296",
"0.2546",
"0.8154",
"0.2505"
],
[
"0.2957",
"0.2505",
"0.378",
"0.253",
"0.378",
"0.2642",
"0.2957",
"0.2625"
],
[
"0.634",
"0.253",
"0.76",
"0.253",
"0.76",
"0.2632",
"0.634",
"0.2632"
],
[
"0.11755",
"0.279",
"0.879",
"0.279",
"0.879",
"0.2922",
"0.11755",
"0.2922"
],
[
"0.1184",
"0.2915",
"0.879",
"0.2915",
"0.879",
"0.3047",
"0.1184",
"0.3047"
],
[
"0.12006",
"0.308",
"0.879",
"0.308",
"0.879",
"0.3184",
"0.12006",
"0.3184"
],
[
"0.11755",
"0.3218",
"0.881",
"0.3218",
"0.881",
"0.335",
"0.11755",
"0.335"
],
[
"0.11755",
"0.335",
"0.882",
"0.335",
"0.882",
"0.3486",
"0.11755",
"0.3486"
],
[
"0.11755",
"0.3499",
"0.544",
"0.3499",
"0.544",
"0.3635",
"0.11755",
"0.3635"
],
[
"0.1184",
"0.3901",
"0.4895",
"0.3901",
"0.4895",
"0.4038",
"0.1184",
"0.4038"
],
[
"0.513",
"0.3901",
"0.881",
"0.3901",
"0.881",
"0.4038",
"0.513",
"0.4038"
],
[
"0.11755",
"0.4062",
"0.486",
"0.4062",
"0.486",
"0.4192",
"0.11755",
"0.4192"
],
[
"0.513",
"0.408",
"0.881",
"0.408",
"0.881",
"0.4187",
"0.513",
"0.4187"
],
[
"0.12006",
"0.4229",
"0.4878",
"0.4229",
"0.4878",
"0.4358",
"0.12006",
"0.4358"
],
[
"0.51",
"0.4216",
"0.881",
"0.4229",
"0.881",
"0.437",
"0.51",
"0.4358"
],
[
"0.12006",
"0.4407",
"0.486",
"0.4407",
"0.486",
"0.4507",
"0.12006",
"0.4507"
],
[
"0.513",
"0.4382",
"0.882",
"0.4382",
"0.882",
"0.452",
"0.513",
"0.452"
],
[
"0.1184",
"0.4548",
"0.486",
"0.4548",
"0.486",
"0.4685",
"0.1184",
"0.4685"
],
[
"0.513",
"0.456",
"0.879",
"0.456",
"0.879",
"0.466",
"0.513",
"0.466"
],
[
"0.1184",
"0.4714",
"0.486",
"0.4714",
"0.486",
"0.485",
"0.1184",
"0.485"
],
[
"0.511",
"0.4697",
"0.882",
"0.4702",
"0.882",
"0.485",
"0.511",
"0.484"
],
[
"0.1184",
"0.4868",
"0.4878",
"0.4868",
"0.4878",
"0.5005",
"0.1184",
"0.5005"
],
[
"0.511",
"0.485",
"0.607",
"0.4868",
"0.607",
"0.502",
"0.511",
"0.4995"
],
[
"0.11755",
"0.503",
"0.1948",
"0.503",
"0.1948",
"0.517",
"0.11755",
"0.517"
],
[
"0.513",
"0.517",
"0.881",
"0.517",
"0.881",
"0.531",
"0.513",
"0.531"
],
[
"0.1142",
"0.531",
"0.1436",
"0.5293",
"0.147",
"0.542",
"0.11584",
"0.546"
],
[
"0.1503",
"0.531",
"0.2747",
"0.531",
"0.2747",
"0.5444",
"0.1503",
"0.5444"
],
[
"0.513",
"0.532",
"0.881",
"0.533",
"0.881",
"0.5474",
"0.513",
"0.5464"
],
[
"0.5146",
"0.5503",
"0.881",
"0.5503",
"0.881",
"0.564",
"0.5146",
"0.564"
],
[
"0.1436",
"0.535",
"0.1486",
"0.535",
"0.1486",
"0.5405",
"0.1436",
"0.5405"
],
[
"0.1234",
"0.557",
"0.486",
"0.557",
"0.486",
"0.571",
"0.1234",
"0.571"
],
[
"0.513",
"0.5664",
"0.881",
"0.5664",
"0.881",
"0.58",
"0.513",
"0.58"
],
[
"0.1184",
"0.5737",
"0.4878",
"0.5737",
"0.4878",
"0.5874",
"0.1184",
"0.5874"
],
[
"0.513",
"0.582",
"0.879",
"0.582",
"0.879",
"0.5957",
"0.513",
"0.5957"
],
[
"0.1184",
"0.589",
"0.4836",
"0.589",
"0.4836",
"0.6025",
"0.1184",
"0.6025"
],
[
"0.513",
"0.5967",
"0.879",
"0.597",
"0.879",
"0.6123",
"0.513",
"0.611"
],
[
"0.11755",
"0.605",
"0.4878",
"0.604",
"0.4878",
"0.618",
"0.11755",
"0.619"
],
[
"0.513",
"0.6143",
"0.881",
"0.6143",
"0.881",
"0.6274",
"0.513",
"0.6274"
],
[
"0.11755",
"0.6216",
"0.486",
"0.6216",
"0.486",
"0.6353",
"0.11755",
"0.6353"
],
[
"0.511",
"0.629",
"0.882",
"0.63",
"0.882",
"0.6445",
"0.511",
"0.6436"
],
[
"0.11755",
"0.637",
"0.486",
"0.637",
"0.486",
"0.652",
"0.11755",
"0.652"
],
[
"0.513",
"0.6465",
"0.881",
"0.6465",
"0.881",
"0.66",
"0.513",
"0.66"
],
[
"0.1184",
"0.654",
"0.486",
"0.654",
"0.486",
"0.6675",
"0.1184",
"0.6675"
],
[
"0.513",
"0.662",
"0.882",
"0.662",
"0.882",
"0.676",
"0.513",
"0.676"
],
[
"0.12006",
"0.6685",
"0.4844",
"0.6685",
"0.4844",
"0.6816",
"0.12006",
"0.6816"
],
[
"0.5146",
"0.6777",
"0.881",
"0.6777",
"0.881",
"0.6924",
"0.5146",
"0.6924"
],
[
"0.11584",
"0.684",
"0.4844",
"0.685",
"0.4844",
"0.6997",
"0.11584",
"0.6987"
],
[
"0.5146",
"0.695",
"0.881",
"0.695",
"0.881",
"0.708",
"0.5146",
"0.708"
],
[
"0.1184",
"0.7007",
"0.482",
"0.7007",
"0.482",
"0.7144",
"0.1184",
"0.7144"
],
[
"0.513",
"0.7114",
"0.843",
"0.7114",
"0.843",
"0.7246",
"0.513",
"0.7246"
],
[
"0.1184",
"0.7173",
"0.4844",
"0.7173",
"0.4844",
"0.731",
"0.1184",
"0.731"
],
[
"0.11755",
"0.733",
"0.4844",
"0.734",
"0.4844",
"0.749",
"0.11755",
"0.7476"
],
[
"0.517",
"0.7437",
"0.881",
"0.7437",
"0.881",
"0.7573",
"0.517",
"0.7573"
],
[
"0.1184",
"0.7505",
"0.4844",
"0.7505",
"0.4844",
"0.764",
"0.1184",
"0.764"
],
[
"0.513",
"0.7603",
"0.881",
"0.7603",
"0.881",
"0.774",
"0.513",
"0.774"
],
[
"0.12006",
"0.7666",
"0.4844",
"0.7666",
"0.4844",
"0.78",
"0.12006",
"0.78"
],
[
"0.5146",
"0.7754",
"0.881",
"0.7754",
"0.881",
"0.789",
"0.5146",
"0.789"
],
[
"0.1184",
"0.782",
"0.4785",
"0.782",
"0.4785",
"0.796",
"0.1184",
"0.796"
],
[
"0.4744",
"0.788",
"0.4802",
"0.7915",
"0.4785",
"0.7935",
"0.471",
"0.7905"
],
[
"0.511",
"0.7905",
"0.879",
"0.7905",
"0.879",
"0.804",
"0.511",
"0.804"
],
[
"0.1184",
"0.799",
"0.4836",
"0.799",
"0.4836",
"0.8135",
"0.1184",
"0.8135"
],
[
"0.511",
"0.807",
"0.881",
"0.808",
"0.881",
"0.822",
"0.511",
"0.821"
],
[
"0.11584",
"0.8135",
"0.486",
"0.814",
"0.486",
"0.829",
"0.11584",
"0.8276"
],
[
"0.11755",
"0.83",
"0.4878",
"0.8306",
"0.4878",
"0.8457",
"0.11755",
"0.844"
],
[
"0.513",
"0.8247",
"0.882",
"0.8247",
"0.882",
"0.8384",
"0.513",
"0.8384"
],
[
"0.5146",
"0.8403",
"0.881",
"0.8403",
"0.881",
"0.854",
"0.5146",
"0.854"
],
[
"0.1184",
"0.8467",
"0.486",
"0.8467",
"0.486",
"0.861",
"0.1184",
"0.861"
],
[
"0.513",
"0.857",
"0.881",
"0.857",
"0.881",
"0.8706",
"0.513",
"0.8706"
],
[
"0.1184",
"0.8633",
"0.4492",
"0.8633",
"0.4492",
"0.877",
"0.1184",
"0.877"
],
[
"0.513",
"0.8726",
"0.879",
"0.8726",
"0.879",
"0.8857",
"0.513",
"0.8857"
],
[
"0.12006",
"0.887",
"0.4844",
"0.888",
"0.4844",
"0.903",
"0.12006",
"0.902"
],
[
"0.513",
"0.8896",
"0.881",
"0.8896",
"0.881",
"0.903",
"0.513",
"0.903"
],
[
"0.12177",
"0.905",
"0.4844",
"0.905",
"0.4844",
"0.9185",
"0.12177",
"0.9185"
],
[
"0.511",
"0.905",
"0.879",
"0.905",
"0.879",
"0.9185",
"0.511",
"0.9185"
]
] | [
"UMAPProjectionofFeatures",
"Distribution of Mahalanobis Distances",
"Clean Class 0",
"0.0035",
"CleanSamples",
"Clean Class 1",
"12.5",
"",
"PoisonedSamples",
"Poisoned (0 →1)",
"0.003",
"",
"191",
"2.5",
"10",
"5.0",
"1000:",
"4000",
"5000",
"6000",
"UMAPDimI",
"MahalanobisDistance",
"Figure 1: Illustration of using distance scores for poisoned sample detection. We attack a BERT (Devlin et al.,",
"2019) model using the BadNet (Gu et al., 2017) method with a rare word trigger “mn\" on the IMDB (Maas et al..",
"201I)sentiment analysis task.Class O0 denotes negative and class 1 denotes positive.The target labelis class 1.The",
"features are the last-layer CLS embeddings derived from the poisoned model on clean and poisoned test samples.",
"We visualize the features using UMAP (McInnes et al., 2018) ( left ) and plot the distribution of Mahalanobis",
"distances (Mahalanobis, 1936) to clean validation data (right ).",
"此外,我们注意到计算机视觉(Doanetal.,2021;",
"为两组:(1)离线防御(Liuetal.,2018a;Chen",
"Zhao et al.,2022;Zhong et al.,2022)中的一系列",
"et al.,2019a,b; Wang et al., 2019;Li et al.,2021b;",
"工作通过调整从中毒样本到清洁样本的距离来",
"Shenetal.2021,etc.)目标,用于在部署之前",
"改善后门攻击的特征级隐蔽性,这可以被视为",
"检测和减轻模型中的后门效应;(2)在线防御",
"针对DAN的自适应攻击。我们验证了DAN也",
"(Tran et al., 2018: Gao et al.. 2019a: Doan et al.",
"能抵抗这种自适应攻击,因为它的机制是从所",
"2020;Chouetal.,2020,etc.)旨在在推理阶段检",
"有中间层检测异常值,这进一步证实了DAN",
"测中毒输人",
"的有效性",
"与CV中广泛探索的后门防御机制相比,NLP",
"2",
"Related Work",
"模型的后门防御研究要少得多。现有方法可主",
"要分为三种类型:(1)数据集保护方法(Chen",
"",
"BackdoorAttack针对深度神经网络的后门",
"andDai,2020)试图从公共数据集中删除中毒",
"攻击首先由Guetal.(2017)在计算机视觉(CV)",
"样本,这对于用户已经下载了第三方模型的重",
"领域引人。近年来,针对图像分类模型开发了",
"量中毒情况是不切实际的;(2)模型诊断方",
"大量后门攻击方法(Chenetal.,2017;Liuetal.,",
"法 (Xu et al., 2021; Azizi et al., 2021; Lyu et al.",
"2018b; Yao et al., 2019; Nguyen and Tran, 2020;",
"2022;Liuetal.,2022)旨在确定模型是否中毒,",
"Doan etal.,2021,etc.)。至于针对NLP模型",
"这需要昂贵的触发THX逆向工程程序,因此对",
"的后门攻击,Daietal.(2019)首先提出将句",
"于资源受限的用户而言,无法进行在线XXXX",
"子触发器插人到基于LSTM 的(Hochreiter and",
"尝试在大型模型上进行输入;。在本文中,我",
"Schmidhuber,1997)文本分类模型中。值得注",
"们的目标是通过开发一种高效、鲁棒的基于特",
"意的是,Kurita etal.(2020)建议通过注人稀有",
"征的防御方法来解决在线防御方法的弱点",
"词触发器来破解诸如BERT(Devlinetal.2019)",
"之类的PLM,并表明即使用户在干净的数据上",
"Feature-basedOutlierDetection我们的工作",
"微调模型后,后门效应也可以保持。以下关于",
"还与基于特征的离群值检测的工作有关,例",
"文本后门攻击的工作主要旨在提高攻击的有效",
"如对分布外样本(Leeetal,2018Podolskiy",
"性和隐蔽性,包括分层中毒(Lietal.2021a)",
"",
"etal.,2021;Huanget al.2021)和对抗性样本",
"新颖的触发器设计(Zhangetal.,2020;Qietal.",
"(Ma et al., 2018; Carrara et al., 2018; Wang et al.,",
"2021b,c;Yangetal.,2021c),约束优化以获得",
"更好的一致性和更低的副作用E(Yangetal.,",
"2022)的检测。此外,CV(Tranetal.,2018;Chen",
"et al., 2019a; Qiao et al., 2019; Jin et al., 2022)中",
"2021a;Zhangetal.,2021b,c),以及任务无关的",
"的一些后门防御工作也建立在特征空间中中毒",
"攻击 (Zhang et al., 2021a; Chen et al., 2021)",
"图像和干净图像之间的差异上。据我们所知",
"BackdoorDefense研究人员为视觉模型开发",
"我们率先发现了文本后门攻击中中毒样本的特",
"了一系列有效的后门防御机制,通常可以分",
"征级隐藏,并开发了一种有效的基于特征的在"
] | {
"arxiv_id": "2210.07907",
"language": "zh",
"page_idx": 2
} |
||
2210.07907-zh-3 | 2210.07907-zh-3.jpg | 线后门防御方法来保护 NLP 模型。
# 3 Methodology
3.1 Preliminaries
Problem Setting 我们专注于用户缺乏从头
开始训练大型模型的能力并从不受信任的第三方获得预训练模型以用于进一步的个人目的的场景。用户可以直接部署受害者模型,也可以在部署之前在其小数据集上对其进行微调。但是,第三方可能是攻击者,并已将后门注入模型中。后门模型将在干净的数据上保持良好的性能,但是一旦在激活后门的输入中有触发器,它将始终预测目标标签。我们假设用户有一个重要的标签要保护 (例如。g。, 垃圾邮件分类系统中的非垃圾邮件类),这很可能与攻击者的目标标签相同$\overline{\mathrm{E}}($Yang et al.,2021b)。用户无法从第三方获得原始训练数据,但可以获得一个小的干净验证集来评估受害者模型在干净样本上的性能。我们的目标是开发一种高效的在线防御方法,以成功检测当前在线输入是否是包含后门触发器并由攻击者发送的中毒样本,而不会牺牲干净的性能和部署模型的在线推理速度
Evaluation Protocol 我们选择 Gao et al.
(2019a) 和 Yang et al. (2021b) 之后的两个广泛
采用的评估指标来评估一种在线防御方法的防
御性能:(1)错误拒绝率(FRR):被模型归
类为目标/保护标签但被防御方法识别为中毒
样本的干净测试样本的比率。(2)错误接受率
(FAR):被模型归类为目标/保护标签但被防御
方法视为清洁样品的中毒测试样品的比率
Notations 假设$f(x;\theta)$是输入$x$上具有参数
$\theta$的模型的输出,$t$是后门触发器,$y^T$是目
标/保护标签。假设$\mathcal{D}$是包含$C$类的干净数据
分布,而$\mathcal{D}^T=\{(x,y)\in\mathcal{D}|y=y^T\}$ 是其样本
属于$y^T$类的数据集。由于我们后来提出的防
御方法依赖于模型的每一层之后的隐藏状态,
我们假设$f_i(x)$是层$i$之后的[CLS]令牌的隐
藏状态向量,其中$1\leq i\leq L$ $( L$是模型的总
层数)
### 3.2 Feature-Level Dissimilarity between Poisoned Samples and Clean Samples
在本小节中,我们旨在证明在当前的文本后门攻击方法中,中毒样本和清除样本之间的特征级差异的普遍性。为此,我们提出了一种定量的度量分层 AUROC 来度量模型的每个中间层中的相异度。具体来说,我们首先将属于$i$层的干净样本的验证分布视为类条件高斯分布, 其中类$j$的平均向量$c_i^j$和全局协方差矩阵$\Sigma_i$
可以在干净验证集的$^{1}$
(1)
$$c_{i}^{j}=\frac{1}{N_{j}}\sum_{x\in\mathcal{D}_{\mathrm{elean}}^{j}}f_{i}(x),\\\Sigma_{i}=\frac{1}{N}\sum_{1\leq j\leq C}\sum_{x\in\mathcal{D}_{\mathrm{clean}}^{j}}\left(f_{i}(x)-c_{i}^{j}\right)\left(f_{i}(x)-c_{i}^{j}\right)^{T},$$
上进行估计,其中 XMATHX 属于 XMATHX 类。我们使用任意 Mahalanobis 距离 (Mahalanobis, 1936) 到最近的类质心$M_i(x)$来测量从输入$x$到第$i$层中的干净数据的距离:
$$M_i(x)=\min\limits_{1\le j\le C}\left(f_i(x)-c_i^j\right)^T\Sigma^{-1}\left(f_i(x)-c_i^j\right).$$
然后定义了$c_i^j<$MALIN4 层的逐层 AUROC 分数。AUROC 表示随机清洁测试样本比随机中毒测试样本更接近清洁验证样本分布的概率。AUROC 值越高,表明干净样本和中毒样本在特征空间中的分离越明显。100%AUROC 表示中毒测试样品和清洁测试样品之间的完美可分离性
我们应用六种具有代表性的文本后门攻击类型,以“正”极性为目标标签,在 SST-2 (Socher et al., 2013) 数据集上毒化了 bert-base-uncased 模型 (Devlin et al.,2019) ,并在表$\overline{\mathrm{E}}$1 中呈现了逐层 AUROC 值。我们观察到:(1)中毒样本缺乏特征级隐蔽性。可以看出,对于每种攻击方法,最高 AUROC 值几乎达到 100%。(2) 识别中毒样品的最佳层不同。在 BadNet-RW (Gu et al., 2017; Chen et al., 2020) , BadNet-SL (Dai et al., 2019) 和无数据嵌入中毒 (DFEP) (Yang et al., 2021a) 攻击的模型中,中毒的测试样品与顶层的清洁测试样品更容易分离;在RIPPLES (Kurita et al., 2020) 攻击的模型中,逐层中毒(LWP) (Li et al.,2021a) 和嵌入中毒(THX) MAXXX
## 3.3 $\textbf{DAN for Backdoor Detection}$
鉴于在特征级别的文本后门攻击中中毒的测试样本的隐蔽性,我们有动力根据与干净验证样本分布的距离来设计在线防御机制。从任何$M_i\left(x\right)\left(1\leq i\leq L\right)$中获得一般有效的异常分数是不平凡的,因为当受害者发起不同类型的后门攻击时,检测中毒样本的最佳层是不同的,如表 1 所示,并且潜在的后门攻击的类型在实践中是未知的。另一种方法是汇总所有层的$M_i\left(x\right)$分数,以得出整体异常分数,例如。g。, 取$\left\{M_i\left(x\right),1\leq i\leq L\right\}$的平均值。然
$^{1}$Considering that the validation set is small, computing class-wise covariance matrices may lead to over-fitting. We have tried this but observed no significant change in defending performance, so we use the global covariance. | [
[
"0.1184",
"0.0873",
"0.388",
"0.0873",
"0.388",
"0.10095",
"0.1184",
"0.10095"
],
[
"0.513",
"0.0861",
"0.69",
"0.0849",
"0.69",
"0.0998",
"0.513",
"0.10095"
],
[
"0.1142",
"0.10986",
"0.266",
"0.114",
"0.266",
"0.1318",
"0.1142",
"0.1277"
],
[
"0.6206",
"0.10986",
"0.723",
"0.1354",
"0.714",
"0.1538",
"0.6113",
"0.1289"
],
[
"0.65",
"0.10986",
"0.756",
"0.11755",
"0.7524",
"0.1342",
"0.6465",
"0.1271"
],
[
"0.6465",
"0.1164",
"0.6543",
"0.1164",
"0.6543",
"0.12054",
"0.6465",
"0.12054"
],
[
"0.1142",
"0.1395",
"0.2703",
"0.1401",
"0.2703",
"0.155",
"0.1142",
"0.1538"
],
[
"0.5283",
"0.1414",
"0.6733",
"0.1687",
"0.663",
"0.1978",
"0.517",
"0.1692"
],
[
"0.561",
"0.1467",
"0.8286",
"0.1497",
"0.8286",
"0.1716",
"0.561",
"0.1687"
],
[
"0.8623",
"0.1443",
"0.876",
"0.1443",
"0.876",
"0.1509",
"0.8623",
"0.1509"
],
[
"0.12177",
"0.1603",
"0.4844",
"0.1609",
"0.4844",
"0.1758",
"0.12177",
"0.1746"
],
[
"0.12006",
"0.1799",
"0.4836",
"0.1799",
"0.4836",
"0.1907",
"0.12006",
"0.1907"
],
[
"0.1184",
"0.1948",
"0.4844",
"0.1948",
"0.4844",
"0.2079",
"0.1184",
"0.2079"
],
[
"0.5146",
"0.1948",
"0.882",
"0.1948",
"0.882",
"0.2079",
"0.5146",
"0.2079"
],
[
"0.1184",
"0.2102",
"0.4844",
"0.2102",
"0.4844",
"0.2239",
"0.1184",
"0.2239"
],
[
"0.513",
"0.2114",
"0.881",
"0.2114",
"0.881",
"0.2245",
"0.513",
"0.2245"
],
[
"0.12006",
"0.2268",
"0.4844",
"0.2268",
"0.4844",
"0.2405",
"0.12006",
"0.2405"
],
[
"0.511",
"0.2257",
"0.881",
"0.2268",
"0.881",
"0.2411",
"0.511",
"0.2405"
],
[
"0.11755",
"0.2411",
"0.4844",
"0.2423",
"0.4844",
"0.257",
"0.11755",
"0.2559"
],
[
"0.5146",
"0.2434",
"0.8296",
"0.2434",
"0.8296",
"0.257",
"0.5146",
"0.257"
],
[
"0.1184",
"0.26",
"0.482",
"0.26",
"0.482",
"0.2708",
"0.1184",
"0.2708"
],
[
"0.11755",
"0.2737",
"0.4836",
"0.2737",
"0.4836",
"0.2874",
"0.11755",
"0.2874"
],
[
"0.523",
"0.2708",
"0.8833",
"0.2673",
"0.8833",
"0.2915",
"0.523",
"0.2944"
],
[
"0.1184",
"0.2915",
"0.482",
"0.2915",
"0.482",
"0.3018",
"0.1184",
"0.3018"
],
[
"0.1335",
"0.3071",
"0.4878",
"0.3071",
"0.4878",
"0.3218",
"0.1335",
"0.3218"
],
[
"0.513",
"0.308",
"0.879",
"0.308",
"0.879",
"0.3225",
"0.513",
"0.3225"
],
[
"0.11755",
"0.3218",
"0.486",
"0.3218",
"0.486",
"0.335",
"0.11755",
"0.335"
],
[
"0.513",
"0.3247",
"0.879",
"0.3247",
"0.879",
"0.3384",
"0.513",
"0.3384"
],
[
"0.1184",
"0.3384",
"0.486",
"0.3384",
"0.486",
"0.3516",
"0.1184",
"0.3516"
],
[
"0.511",
"0.3416",
"0.881",
"0.3416",
"0.881",
"0.3552",
"0.511",
"0.3552"
],
[
"0.11755",
"0.3552",
"0.4878",
"0.354",
"0.4878",
"0.3682",
"0.11755",
"0.3694"
],
[
"0.51",
"0.3557",
"0.881",
"0.357",
"0.881",
"0.3706",
"0.51",
"0.3694"
],
[
"0.1184",
"0.3718",
"0.4878",
"0.3718",
"0.4878",
"0.3855",
"0.1184",
"0.3855"
],
[
"0.51",
"0.3718",
"0.881",
"0.3723",
"0.881",
"0.3872",
"0.51",
"0.386"
],
[
"0.1184",
"0.3872",
"0.486",
"0.3872",
"0.486",
"0.401",
"0.1184",
"0.401"
],
[
"0.511",
"0.3896",
"0.881",
"0.3896",
"0.881",
"0.4026",
"0.511",
"0.4026"
],
[
"0.12006",
"0.405",
"0.4844",
"0.405",
"0.4844",
"0.415",
"0.12006",
"0.415"
],
[
"0.513",
"0.4062",
"0.55",
"0.4062",
"0.55",
"0.4187",
"0.513",
"0.4187"
],
[
"0.1184",
"0.4192",
"0.4844",
"0.4192",
"0.4844",
"0.4329",
"0.1184",
"0.4329"
],
[
"0.11584",
"0.434",
"0.486",
"0.4353",
"0.486",
"0.4495",
"0.11584",
"0.449"
],
[
"0.511",
"0.4287",
"0.879",
"0.4287",
"0.879",
"0.4424",
"0.511",
"0.4424"
],
[
"0.513",
"0.4453",
"0.881",
"0.4453",
"0.881",
"0.459",
"0.513",
"0.459"
],
[
"0.1184",
"0.4531",
"0.1931",
"0.4531",
"0.1931",
"0.4644",
"0.1184",
"0.4644"
],
[
"0.511",
"0.4614",
"0.879",
"0.4614",
"0.879",
"0.4744",
"0.511",
"0.4744"
],
[
"0.1276",
"0.4768",
"0.3132",
"0.4768",
"0.3132",
"0.4905",
"0.1276",
"0.4905"
],
[
"0.3047",
"0.4768",
"0.4844",
"0.4768",
"0.4844",
"0.4905",
"0.3047",
"0.4905"
],
[
"0.513",
"0.478",
"0.881",
"0.478",
"0.881",
"0.4912",
"0.513",
"0.4912"
],
[
"0.12006",
"0.4946",
"0.4836",
"0.4946",
"0.4836",
"0.505",
"0.12006",
"0.505"
],
[
"0.513",
"0.4934",
"0.879",
"0.4934",
"0.879",
"0.5073",
"0.513",
"0.5073"
],
[
"0.12006",
"0.511",
"0.4836",
"0.511",
"0.4836",
"0.5215",
"0.12006",
"0.5215"
],
[
"0.511",
"0.5103",
"0.881",
"0.5103",
"0.881",
"0.524",
"0.511",
"0.524"
],
[
"0.1184",
"0.5254",
"0.486",
"0.5254",
"0.486",
"0.539",
"0.1184",
"0.539"
],
[
"0.511",
"0.5254",
"0.881",
"0.5254",
"0.881",
"0.539",
"0.511",
"0.539"
],
[
"0.1184",
"0.542",
"0.4836",
"0.542",
"0.4836",
"0.5527",
"0.1184",
"0.5527"
],
[
"0.513",
"0.542",
"0.881",
"0.542",
"0.881",
"0.5557",
"0.513",
"0.5557"
],
[
"0.1184",
"0.558",
"0.4878",
"0.558",
"0.4878",
"0.572",
"0.1184",
"0.572"
],
[
"0.511",
"0.558",
"0.881",
"0.558",
"0.881",
"0.572",
"0.511",
"0.572"
],
[
"0.1184",
"0.5737",
"0.4878",
"0.5737",
"0.4878",
"0.5874",
"0.1184",
"0.5874"
],
[
"0.513",
"0.5747",
"0.882",
"0.5747",
"0.882",
"0.5884",
"0.513",
"0.5884"
],
[
"0.1184",
"0.589",
"0.4492",
"0.589",
"0.4492",
"0.6025",
"0.1184",
"0.6025"
],
[
"0.513",
"0.5903",
"0.882",
"0.5903",
"0.882",
"0.604",
"0.513",
"0.604"
],
[
"0.513",
"0.607",
"0.882",
"0.607",
"0.882",
"0.6206",
"0.513",
"0.6206"
],
[
"0.12177",
"0.615",
"0.4844",
"0.615",
"0.4844",
"0.629",
"0.12177",
"0.629"
],
[
"0.513",
"0.6226",
"0.882",
"0.6226",
"0.882",
"0.6357",
"0.513",
"0.6357"
],
[
"0.11584",
"0.63",
"0.4836",
"0.6313",
"0.4836",
"0.6455",
"0.11584",
"0.6445"
],
[
"0.5146",
"0.638",
"0.881",
"0.638",
"0.881",
"0.652",
"0.5146",
"0.652"
],
[
"0.1184",
"0.648",
"0.4878",
"0.648",
"0.4878",
"0.661",
"0.1184",
"0.661"
],
[
"0.11755",
"0.66",
"0.4878",
"0.661",
"0.4878",
"0.6787",
"0.11755",
"0.6777"
],
[
"0.511",
"0.655",
"0.6465",
"0.655",
"0.6465",
"0.6685",
"0.511",
"0.6685"
],
[
"0.1184",
"0.6777",
"0.4878",
"0.6787",
"0.4878",
"0.6934",
"0.1184",
"0.6924"
],
[
"0.51",
"0.6797",
"0.7866",
"0.681",
"0.7866",
"0.6953",
"0.51",
"0.695"
],
[
"0.11755",
"0.6953",
"0.4895",
"0.697",
"0.4895",
"0.7104",
"0.11755",
"0.709"
],
[
"0.5146",
"0.7036",
"0.879",
"0.7036",
"0.879",
"0.7144",
"0.5146",
"0.7144"
],
[
"0.11755",
"0.7114",
"0.4836",
"0.7114",
"0.4836",
"0.7246",
"0.11755",
"0.7246"
],
[
"0.513",
"0.7188",
"0.881",
"0.7188",
"0.881",
"0.7324",
"0.513",
"0.7324"
],
[
"0.11755",
"0.727",
"0.4844",
"0.728",
"0.4844",
"0.742",
"0.11755",
"0.741"
],
[
"0.5146",
"0.734",
"0.881",
"0.734",
"0.881",
"0.7476",
"0.5146",
"0.7476"
],
[
"0.11755",
"0.7446",
"0.1663",
"0.7446",
"0.1663",
"0.759",
"0.11755",
"0.759"
],
[
"0.5146",
"0.7505",
"0.881",
"0.7505",
"0.881",
"0.764",
"0.5146",
"0.764"
],
[
"0.11584",
"0.7715",
"0.4475",
"0.7715",
"0.4475",
"0.785",
"0.11584",
"0.785"
],
[
"0.5146",
"0.7666",
"0.879",
"0.7666",
"0.879",
"0.78",
"0.5146",
"0.78"
],
[
"0.1587",
"0.788",
"0.455",
"0.788",
"0.455",
"0.802",
"0.1587",
"0.802"
],
[
"0.5146",
"0.7837",
"0.8774",
"0.7837",
"0.8774",
"0.7944",
"0.5146",
"0.7944"
],
[
"0.513",
"0.799",
"0.881",
"0.799",
"0.881",
"0.8125",
"0.513",
"0.8125"
],
[
"0.1184",
"0.808",
"0.486",
"0.808",
"0.486",
"0.822",
"0.1184",
"0.822"
],
[
"0.511",
"0.814",
"0.8774",
"0.814",
"0.8774",
"0.8276",
"0.511",
"0.8276"
],
[
"0.12006",
"0.8267",
"0.4836",
"0.8267",
"0.4836",
"0.8374",
"0.12006",
"0.8374"
],
[
"0.513",
"0.8306",
"0.881",
"0.8306",
"0.881",
"0.844",
"0.513",
"0.844"
],
[
"0.1184",
"0.8413",
"0.4844",
"0.8413",
"0.4844",
"0.855",
"0.1184",
"0.855"
],
[
"0.513",
"0.847",
"0.882",
"0.847",
"0.882",
"0.8623",
"0.513",
"0.8623"
],
[
"0.1184",
"0.857",
"0.486",
"0.857",
"0.486",
"0.8706",
"0.1184",
"0.8706"
],
[
"0.12006",
"0.8735",
"0.486",
"0.8735",
"0.486",
"0.887",
"0.12006",
"0.887"
],
[
"0.5356",
"0.869",
"0.8774",
"0.8706",
"0.8774",
"0.8843",
"0.5356",
"0.883"
],
[
"0.11755",
"0.8896",
"0.486",
"0.8896",
"0.486",
"0.903",
"0.11755",
"0.903"
],
[
"0.5146",
"0.8843",
"0.879",
"0.8843",
"0.879",
"0.8945",
"0.5146",
"0.8945"
],
[
"0.513",
"0.8945",
"0.882",
"0.8945",
"0.882",
"0.9077",
"0.513",
"0.9077"
],
[
"0.1184",
"0.9062",
"0.4878",
"0.9062",
"0.4878",
"0.9194",
"0.1184",
"0.9194"
],
[
"0.51",
"0.9062",
"0.8135",
"0.905",
"0.8135",
"0.9185",
"0.51",
"0.9194"
]
] | [
"线后门防御方法来保护NLP模型。",
"可以在干净验证集的1",
"3 Methodology",
"Q=Ng neDan",
"1f(a),",
"",
"3.1Preliminaries",
"2i=EsorePu",
" Z (f(r)-c)(f(n)-c)",
"1",
"ProblemSetting我们专注于用户缺乏从头",
"开始训练大型模型的能力并从不受信任的第",
"三方获得预训练模型以用于进一步的个人目的",
"上进行估计,其中XMATHX属于XMATHX",
"的场景。用户可以直接部署受害者模型,也可",
"类。我们使用任意Mahalanobis距离(Maha-",
"以在部署之前在其小数据集上对其进行微调。",
"lanobis,1936)到最近的类质心Mi(c)来测量",
"但是,第三方可能是攻击者,并已将后门注人",
"从输人&到第i层中的干净数据的距离:",
"模型中。后门模型将在干净的数据上保持良好",
"的性能,但是一且在激活后门的输人中有触发",
"M(a)= (f(a) -)\"z-(f(a) -)。 (2)",
"器,它将始终预测目标标签。我们假设用户有",
"个重要的标签要保护(例如。g。,垃圾邮件",
"然后定义了<MALIN4层的逐层AUROC分",
"分类系统中的非垃圾邮件类),这很可能与攻",
"数。AUROC表示随机清洁测试样本比随机中",
"击者的目标标签相同国(Yangetal.2021b)。用",
"毒测试样本更接近清洁验证样本分布的概率。",
"户无法从第三方获得原始训练数据,但可以获",
"AUROC值越高,表明干净样本和中毒样本在",
"得一个小的干净验证集来评估受害者模型在干",
"特征空间中的分离越明显。100%AUROC表示",
"净样本上的性能。我们的目标是开发一种高效",
"中毒测试样品和清洁测试样品之间的完美可分",
"的在线防御方法,以成功检测当前在线输人是",
"离性",
"否是包含后门触发器并由攻击者发送的中毒样",
"本,而不会牺牲干净的性能和部署模型的在线",
"我们应用六种具有代表性的文本后门攻击类",
"型,以“正”极性为目标标签,在SST-2(Socher",
"推理速度",
"etal.,2013)数据集上毒化了bert-base-uncased",
"Evaluation Protocol",
"我们选择Gao etal.",
"模型(Devlinetal.,2019),并在表E1中呈现",
"(2019a)和Yangetal.(2021b)之后的两个广泛",
"了逐层AUROC值。我们观察到:(1)中毒样",
"采用的评估指标来评估一种在线防御方法的防",
"本缺乏特征级隐蔽性。可以看出,对于每种攻",
"御性能:(1)错误拒绝率(FRR):被模型归",
"击方法,最高AUROC值几乎达到100%。(2)",
"类为目标/保护标签但被防御方法识别为中毒",
"识别中毒样品的最佳层不同。在BadNet-RW",
"样本的干净测试样本的比率。(2)错误接受率",
"(Gu et al., 2017; Chen et al., 2020) , BadNet-SL",
"(FAR):被模型归类为目标/保护标签但被防御",
"(Daietal.,2019)和无数据嵌人中毒(DFEP)",
"方法视为清洁样品的中毒测试样品的比率",
"(Yangetal.,202la)攻击的模型中,中毒的测试",
"样品与顶层的清洁测试样品更容易分离;在",
"Notations假设f(c;の)是输人上具有参数",
"RIPPLES(Kuritaetal.,2020)攻击的模型中,逐",
"θ的模型的输出,t是后门触发器,y是目",
"层中毒(LWP)(Lietal.,202la)和嵌人中毒",
"标/保护标签。假设D是包含C类的干净数据",
"分布,而 DT =((c,y)EDly=yT) 是其样本",
"(THX) MAXXX",
"属于yT类的数据集。由于我们后来提出的防",
"3.3DAN for BackdoorDetection",
"御方法依赖于模型的每一层之后的隐藏状态,",
"鉴于在特征级别的文本后门攻击中中毒的测",
"我们假设fi(α)是层i之后的[CLS]令牌的隐",
"试样本的隐蔽性,我们有动力根据与干净验",
"藏状态向量,其中1≤i≤L(L是模型的总",
"证样本分布的距离来设计在线防御机制。从任",
"层数)",
"何M;(α)(1i≤L)中获得一般有效的异常",
"3.2Feature-Level Dissimilarity between",
"分数是不平凡的,因为当受害者发起不同类型",
"Poisoned Samples and Clean Samples",
"的后门攻击时,检测中毒样本的最佳层是不同",
"的,如表1所示,并且潜在的后门攻击的类",
"在本小节中,我们旨在证明在当前的文本后门",
"型在实践中是未知的。另一种方法是汇总所有",
"攻击方法中,中毒样本和清除样本之间的特征",
"层的M;(α)分数,以得出整体异常分数,例",
"级差异的普遍性。为此,我们提出了一种定量",
"如。g。,取M;(c),1<i≤L)的平均值。然",
"的度量分层AUROC来度量模型的每个中间层",
"中的相异度。具体来说,我们首先将属于讠层",
"'Considering that the validation set is small, computing",
"的干净样本的验证分布视为类条件高斯分布,",
"class-wise covariance matrices may lead to over-fitting.We",
"have tried this but observed no significant change in defend-",
"其中类j的平均向量c,和全局协方差矩阵,",
"ing performance, so we use the global covariance."
] | {
"arxiv_id": "2210.07907",
"language": "zh",
"page_idx": 3
} |
||
2212.06224-zh-2 | 2212.06224-zh-2.jpg | 一样有效。然而,宏观县域限制的中间策略——当县被智能分组时——可以平衡政策灵活性和有效性之间的权衡。我们证明,对于给定的空间粒度,找到最有效的县分区等效于解决由我们的溢出估计加权的无向县图上的最小$k$切割问题。使用这种方法,我们确定了宏观县的限制,这些限制恢复了全州范围内流动性减少的$90\%$,同时在县之间保持了很大的灵活性
总而言之,我们的贡献如下:
$\bullet$ Setting: we identify a novel setting for studying
spillovers where the same set of policies was applied
$\bar{\mathrm{with~the~same~thresholds~to~many~areas;}}$
$\bullet$ Methods: we develop a regression discontinuity (RD)
design framework that allows us to make unconfounded estimates of heterogeneous spillover effects in this setting, estimated over a large-scale mobility network containing billions of edges;
$\bullet$ Analyses: we demonstrate significant spillover effects
in many POI groups and evaluate the costs of these
spillovers on policies across spatial scales.
在一个复杂,相互联系的世界中,几乎没有机会可靠地估计政策影响,我们的工作是最早确定可以严格估计溢出的环境,并开发适当的方法来估计和评估溢出的影响。
## 2 Related Work
溢出效应通常来自对互联区域的分散决
${\text{策。Forexample}}$,
(2005)
${\mathrm{findsthatwa-}}$
Sigman
terqualityisloweratstationsdownstreamofstat-
free-ride。“Coates and Pearson-Merkowitz(2017) 表明,在枪支法律更强的州,从枪支法律较弱的州进口枪支的可能性增加。Bronars and Lott (1998)显示,虽然隐蔽的手枪法导致该州的犯罪减少,但也导致邻国的犯罪增加,这表明犯罪分子正在越境。Hao and Cowan (2017)发现,在一个州,休闲大麻的合法化导致与邻近州的大麻相关逮捕事件增加。在线环境中也会出现溢出效应,如果用户在一个平台上被禁止,他们可以跨平台迁移,而不是跨越地理边界;此外,在新的,通常监管较少的平台上,毒性和激进化的水平有时会更高,从而影响原始内容审核 (Ribeiro et al. 2021; Ali et al. 2021) 的有效性。
在 COVID-19 的背景下,先前的研究主要集中在政策对人口健康或行为的直接影响上,而没有明确建模溢出(Chernozhukov, Kasahara, and Schrimpf 2021; Nguyen et al. 2020; Brauner et al. 2020) 。Chandrasekhar et al. (2021)在基于模型的环境中调查互连区域之间的疾病溢出,Holtz et al. (2020) 提供了流动性溢出的早期证据,表明当邻国实施就地庇护政策时,该州的人口减少了自己的流动性。与我们的工作最相关的是 Zhao, Holtz, and Aral (2021) ,他们使用差异中的方法来估计 COVID-19 政策对流动性的影响,并提供跨州旅行
${\overline{{^1}\text{The code }}}$torun our experiments and regenerate figures is available at https://github.com/snap-stanford/
covid-spillovers. We also provide our constructed $Z$ variables $(\hat{\text{Section 4 ) that can be used with RD design to esti-}}$ mate the effects of the California Blueprint tiers on spillovers and other outcomes.
<FigureHere>
Figure 1: Primary data sources. (a) Percentage of California counties in Blueprint tiers—purple, red, orange, and yellow—over time (greyed-out period represents Regional Stay- At- Home $\bar{O}$rder) ; ( b) $\bar{T}$iers in the week of March 15,2021;(c) Average weekly visits per device over time.
溢出的证据。我们通过解决他们研究的两个主要局限性来建立这项工作:首先,作者指出,他们的估计可能会受到末观察到的时变因素的混淆;使用差异中的方法 (Hao and Cowan 2017; Holtz et al. 2020)或回归 (Coates and Pearson-Merkowitz 2017; Sigman 2005; Bronars and Lott 1998) , 有关溢出的其他研究也可能会受到潜在的混淆。其次,为了“创造足够的统计能力来识别因果效应”,作者将不同的政策干预分解为一般的政策“类型”(e。g。,恢复就餐和解除采集限制均被
esthatareauthorizedtocontroltheirownwaterprograms,sincethe视为重新开放),这违反了一致处理的假设
与先前的工作相比,我们能够通过将基于 RD 的框架应用于加利福尼亚州的蓝图以实现更安全的经济,从而确定一组政策的无混淆溢出估计。此外,通过估计对CBG-POI 网络的影响,我们的模型能够分析不同大流行政策下的反事实细粒度流动模式。了解移动性模式对于控制 COVID-19 (Buckee et al. 2020) 的传播至关重要,许多研究人员依靠细粒度的移动性数据来模拟移动性对病毒 (Badr et al. 2020; Chinazzi et al. 2020; Kraemer et al. 2020; Chang et al. 2020,2021; Nouvellet et al. 2021) 传播的影响。我们的模型通过调查政策干预对流动性的复杂影响,缩小从政策到行为到 COVID-19结果的差距,进一步推进了此类分析。
### 3 Data
California Blueprint for a Safer Economy. 蓝图于2020 年 8 月 30 日至 2021 年 6 月 15 日在加利福尼亚州的所有 58 个县实施。它由四层组成:紫色(“广泛”),红色(“实质性”),橙色(“中度”)和黄色$(“最小”)。这些层对应于限制性降低的移动政策;例$ 如,在紫色层中,大多数非必需的室内企业都关闭了, 而在黄色中,它们可以通过修改打开。我们使用加州公共卫生部 (CDPH) 的存档数据表,该数据表提供了每个县每周层级分配的详细文档,以及用于进行这些分配的 COVID-19 指标。$^2$在图 1 a 中,我们可视化了随着时间的推移,各县的发展情况;我们将 2020 年 12 月 5
$^2$https://www.cdph.ca.gov/Programs/CID/DCDC/ Pages/COVID-19/CaliforniaBlueprintDataCharts.aspx | [
[
"0.10046",
"0.0707",
"0.3987",
"0.0707",
"0.3987",
"0.084",
"0.10046",
"0.084"
],
[
"0.4265",
"0.07135",
"0.4763",
"0.07135",
"0.4763",
"0.0821",
"0.4265",
"0.0821"
],
[
"0.524",
"0.07574",
"0.544",
"0.07574",
"0.544",
"0.0859",
"0.524",
"0.0859"
],
[
"0.744",
"0.07574",
"0.759",
"0.07574",
"0.759",
"0.0852",
"0.744",
"0.0852"
],
[
"0.1912",
"0.0821",
"0.4763",
"0.0833",
"0.4763",
"0.09784",
"0.1912",
"0.0966"
],
[
"0.806",
"0.0808",
"0.8364",
"0.0808",
"0.8364",
"0.084",
"0.806",
"0.084"
],
[
"0.08826",
"0.09784",
"0.4763",
"0.09784",
"0.4763",
"0.1111",
"0.08826",
"0.1111"
],
[
"0.08826",
"0.084",
"0.1814",
"0.0821",
"0.1814",
"0.0966",
"0.08826",
"0.0985"
],
[
"0.0907",
"0.113",
"0.4756",
"0.113",
"0.4756",
"0.1237",
"0.0907",
"0.1237"
],
[
"0.0907",
"0.1256",
"0.478",
"0.1256",
"0.478",
"0.1395",
"0.0907",
"0.1395"
],
[
"0.08826",
"0.1395",
"0.4763",
"0.1395",
"0.4763",
"0.1528",
"0.08826",
"0.1528"
],
[
"0.0866",
"0.1515",
"0.3782",
"0.1515",
"0.3782",
"0.1666",
"0.0866",
"0.1666"
],
[
"0.10455",
"0.1674",
"0.308",
"0.1674",
"0.308",
"0.1812",
"0.10455",
"0.1812"
],
[
"0.524",
"0.1692",
"0.539",
"0.1692",
"0.539",
"0.1799",
"0.524",
"0.1799"
],
[
"0.0907",
"0.1849",
"0.478",
"0.1875",
"0.478",
"0.2008",
"0.0907",
"0.1989"
],
[
"0.539",
"0.1812",
"0.5474",
"0.1843",
"0.5435",
"0.1901",
"0.535",
"0.1875"
],
[
"0.536",
"0.1895",
"0.5474",
"0.1895",
"0.5474",
"0.209",
"0.536",
"0.209"
],
[
"0.1054",
"0.2008",
"0.4795",
"0.2008",
"0.4795",
"0.214",
"0.1054",
"0.214"
],
[
"0.10706",
"0.2153",
"0.398",
"0.2153",
"0.398",
"0.2291",
"0.10706",
"0.2291"
],
[
"0.09235",
"0.2329",
"0.4756",
"0.2329",
"0.4756",
"0.2437",
"0.09235",
"0.2437"
],
[
"0.10706",
"0.2456",
"0.4763",
"0.2456",
"0.4763",
"0.2588",
"0.10706",
"0.2588"
],
[
"0.5215",
"0.2468",
"0.91",
"0.2468",
"0.91",
"0.26",
"0.5215",
"0.26"
],
[
"0.10864",
"0.2588",
"0.478",
"0.2588",
"0.478",
"0.2727",
"0.10864",
"0.2727"
],
[
"0.5215",
"0.2615",
"0.91",
"0.2615",
"0.91",
"0.2747",
"0.5215",
"0.2747"
],
[
"0.10706",
"0.2734",
"0.478",
"0.2734",
"0.478",
"0.2874",
"0.10706",
"0.2874"
],
[
"0.5215",
"0.2747",
"0.9126",
"0.2747",
"0.9126",
"0.2886",
"0.5215",
"0.2886"
],
[
"0.10706",
"0.2874",
"0.3718",
"0.2874",
"0.3718",
"0.3005",
"0.10706",
"0.3005"
],
[
"0.5215",
"0.2886",
"0.9126",
"0.2886",
"0.9126",
"0.3018",
"0.5215",
"0.3018"
],
[
"0.08905",
"0.303",
"0.478",
"0.3037",
"0.478",
"0.318",
"0.08905",
"0.3176"
],
[
"0.5186",
"0.3005",
"0.9126",
"0.3018",
"0.9126",
"0.3164",
"0.5186",
"0.315"
],
[
"0.10706",
"0.318",
"0.4763",
"0.318",
"0.4763",
"0.332",
"0.10706",
"0.332"
],
[
"0.523",
"0.318",
"0.5933",
"0.318",
"0.5933",
"0.3289",
"0.523",
"0.3289"
],
[
"0.1054",
"0.332",
"0.4028",
"0.332",
"0.4028",
"0.3452",
"0.1054",
"0.3452"
],
[
"0.08826",
"0.3516",
"0.4763",
"0.3516",
"0.4763",
"0.3655",
"0.08826",
"0.3655"
],
[
"0.5215",
"0.3591",
"0.9126",
"0.3591",
"0.9126",
"0.3726",
"0.5215",
"0.3726"
],
[
"0.08905",
"0.3662",
"0.4756",
"0.3662",
"0.4756",
"0.3801",
"0.08905",
"0.3801"
],
[
"0.523",
"0.3726",
"0.911",
"0.3726",
"0.911",
"0.3865",
"0.523",
"0.3865"
],
[
"0.08826",
"0.3801",
"0.4763",
"0.3801",
"0.4763",
"0.3933",
"0.08826",
"0.3933"
],
[
"0.5215",
"0.387",
"0.911",
"0.387",
"0.911",
"0.401",
"0.5215",
"0.401"
],
[
"0.08826",
"0.3958",
"0.1177",
"0.3958",
"0.1177",
"0.4072",
"0.08826",
"0.4072"
],
[
"0.523",
"0.3997",
"0.91",
"0.3997",
"0.91",
"0.4136",
"0.523",
"0.4136"
],
[
"0.5215",
"0.414",
"0.9126",
"0.414",
"0.9126",
"0.428",
"0.5215",
"0.428"
],
[
"0.2035",
"0.4216",
"0.3594",
"0.4216",
"0.3594",
"0.435",
"0.2035",
"0.435"
],
[
"0.5215",
"0.428",
"0.9126",
"0.428",
"0.9126",
"0.4414",
"0.5215",
"0.4414"
],
[
"0.0866",
"0.4414",
"0.478",
"0.44",
"0.478",
"0.455",
"0.0866",
"0.4558"
],
[
"0.5195",
"0.44",
"0.911",
"0.4414",
"0.911",
"0.4558",
"0.5195",
"0.455"
],
[
"0.0866",
"0.4539",
"0.2197",
"0.455",
"0.2197",
"0.4697",
"0.0866",
"0.4685"
],
[
"0.2942",
"0.4558",
"0.3628",
"0.4558",
"0.3628",
"0.4673",
"0.2942",
"0.4673"
],
[
"0.3857",
"0.4558",
"0.4756",
"0.4558",
"0.4756",
"0.4673",
"0.3857",
"0.4673"
],
[
"0.523",
"0.4558",
"0.911",
"0.4558",
"0.911",
"0.4697",
"0.523",
"0.4697"
],
[
"0.3677",
"0.459",
"0.3857",
"0.459",
"0.3857",
"0.4622",
"0.3677",
"0.4622"
],
[
"0.2173",
"0.457",
"0.2957",
"0.457",
"0.2957",
"0.4673",
"0.2173",
"0.4673"
],
[
"0.08826",
"0.4702",
"0.406",
"0.4702",
"0.406",
"0.481",
"0.08826",
"0.481"
],
[
"0.5186",
"0.4666",
"0.914",
"0.4673",
"0.914",
"0.4849",
"0.5186",
"0.4841"
],
[
"0.0866",
"0.483",
"0.822",
"0.483",
"0.822",
"0.4968",
"0.0866",
"0.4968"
],
[
"0.08826",
"0.4968",
"0.1602",
"0.4976",
"0.1602",
"0.509",
"0.08826",
"0.5083"
],
[
"0.165",
"0.4968",
"0.4795",
"0.4968",
"0.4795",
"0.5103",
"0.165",
"0.5103"
],
[
"0.539",
"0.4976",
"0.9126",
"0.4976",
"0.9126",
"0.511",
"0.539",
"0.511"
],
[
"0.08826",
"0.5103",
"0.478",
"0.5103",
"0.478",
"0.5234",
"0.08826",
"0.5234"
],
[
"0.5195",
"0.5103",
"0.911",
"0.511",
"0.911",
"0.526",
"0.5195",
"0.5244"
],
[
"0.08905",
"0.5244",
"0.478",
"0.5244",
"0.478",
"0.5386",
"0.08905",
"0.5386"
],
[
"0.523",
"0.526",
"0.911",
"0.526",
"0.911",
"0.539",
"0.523",
"0.539"
],
[
"0.08826",
"0.5386",
"0.478",
"0.5386",
"0.478",
"0.552",
"0.08826",
"0.552"
],
[
"0.5195",
"0.537",
"0.9126",
"0.5386",
"0.9126",
"0.553",
"0.5195",
"0.552"
],
[
"0.08826",
"0.552",
"0.478",
"0.552",
"0.478",
"0.565",
"0.08826",
"0.565"
],
[
"0.523",
"0.553",
"0.911",
"0.553",
"0.911",
"0.5664",
"0.523",
"0.5664"
],
[
"0.08905",
"0.5664",
"0.4763",
"0.5664",
"0.4763",
"0.58",
"0.08905",
"0.58"
],
[
"0.523",
"0.5664",
"0.911",
"0.5664",
"0.911",
"0.58",
"0.523",
"0.58"
],
[
"0.0907",
"0.58",
"0.4763",
"0.58",
"0.4763",
"0.5933",
"0.0907",
"0.5933"
],
[
"0.5215",
"0.5806",
"0.911",
"0.5806",
"0.911",
"0.5947",
"0.5215",
"0.5947"
],
[
"0.08826",
"0.5933",
"0.4763",
"0.5933",
"0.4763",
"0.608",
"0.08826",
"0.608"
],
[
"0.5215",
"0.5947",
"0.911",
"0.5947",
"0.911",
"0.608",
"0.5215",
"0.608"
],
[
"0.08826",
"0.608",
"0.4763",
"0.608",
"0.4763",
"0.622",
"0.08826",
"0.622"
],
[
"0.5215",
"0.608",
"0.911",
"0.608",
"0.911",
"0.622",
"0.5215",
"0.622"
],
[
"0.08826",
"0.622",
"0.4763",
"0.622",
"0.4763",
"0.636",
"0.08826",
"0.636"
],
[
"0.5195",
"0.6226",
"0.9126",
"0.6226",
"0.9126",
"0.636",
"0.5195",
"0.636"
],
[
"0.08826",
"0.6353",
"0.478",
"0.6353",
"0.478",
"0.6484",
"0.08826",
"0.6484"
],
[
"0.5215",
"0.636",
"0.9126",
"0.636",
"0.9126",
"0.6494",
"0.5215",
"0.6494"
],
[
"0.08826",
"0.6494",
"0.156",
"0.6494",
"0.156",
"0.661",
"0.08826",
"0.661"
],
[
"0.5215",
"0.651",
"0.789",
"0.651",
"0.789",
"0.664",
"0.5215",
"0.664"
],
[
"0.10455",
"0.6636",
"0.4763",
"0.6636",
"0.4763",
"0.677",
"0.10455",
"0.677"
],
[
"0.08826",
"0.677",
"0.4763",
"0.677",
"0.4763",
"0.69",
"0.08826",
"0.69"
],
[
"0.6733",
"0.677",
"0.7563",
"0.6787",
"0.7563",
"0.6934",
"0.6733",
"0.6914"
],
[
"0.08826",
"0.6914",
"0.478",
"0.6914",
"0.478",
"0.705",
"0.08826",
"0.705"
],
[
"0.5293",
"0.6987",
"0.863",
"0.6987",
"0.863",
"0.712",
"0.5293",
"0.712"
],
[
"0.8555",
"0.6997",
"0.91",
"0.6997",
"0.91",
"0.711",
"0.8555",
"0.711"
],
[
"0.5215",
"0.712",
"0.911",
"0.712",
"0.911",
"0.726",
"0.5215",
"0.726"
],
[
"0.0866",
"0.704",
"0.4756",
"0.704",
"0.4756",
"0.7173",
"0.0866",
"0.7173"
],
[
"0.08826",
"0.7183",
"0.478",
"0.7183",
"0.478",
"0.732",
"0.08826",
"0.732"
],
[
"0.08826",
"0.732",
"0.478",
"0.732",
"0.478",
"0.7456",
"0.08826",
"0.7456"
],
[
"0.5215",
"0.726",
"0.9087",
"0.7246",
"0.9087",
"0.738",
"0.5215",
"0.7393"
],
[
"0.08826",
"0.7456",
"0.4763",
"0.7456",
"0.4763",
"0.759",
"0.08826",
"0.759"
],
[
"0.5215",
"0.7407",
"0.91",
"0.7407",
"0.91",
"0.754",
"0.5215",
"0.754"
],
[
"0.523",
"0.754",
"0.911",
"0.754",
"0.911",
"0.7676",
"0.523",
"0.7676"
],
[
"0.08826",
"0.7603",
"0.4763",
"0.7603",
"0.4763",
"0.7734",
"0.08826",
"0.7734"
],
[
"0.0866",
"0.7734",
"0.4763",
"0.7734",
"0.4763",
"0.787",
"0.0866",
"0.787"
],
[
"0.523",
"0.7695",
"0.9087",
"0.7695",
"0.9087",
"0.78",
"0.523",
"0.78"
],
[
"0.5215",
"0.782",
"0.911",
"0.782",
"0.911",
"0.7954",
"0.5215",
"0.7954"
],
[
"0.0866",
"0.7886",
"0.478",
"0.7886",
"0.478",
"0.802",
"0.0866",
"0.802"
],
[
"0.5215",
"0.7944",
"0.911",
"0.7954",
"0.911",
"0.81",
"0.5215",
"0.8096"
],
[
"0.10455",
"0.811",
"0.478",
"0.813",
"0.478",
"0.827",
"0.10455",
"0.8247"
],
[
"0.523",
"0.81",
"0.911",
"0.81",
"0.911",
"0.8237",
"0.523",
"0.8237"
],
[
"0.0866",
"0.8257",
"0.4756",
"0.8257",
"0.4756",
"0.839",
"0.0866",
"0.839"
],
[
"0.5215",
"0.8237",
"0.911",
"0.8237",
"0.911",
"0.837",
"0.5215",
"0.837"
],
[
"0.0866",
"0.8384",
"0.478",
"0.8384",
"0.478",
"0.8516",
"0.0866",
"0.8516"
],
[
"0.5215",
"0.8384",
"0.914",
"0.8384",
"0.914",
"0.8516",
"0.5215",
"0.8516"
],
[
"0.0866",
"0.851",
"0.4763",
"0.851",
"0.4763",
"0.8643",
"0.0866",
"0.8643"
],
[
"0.0866",
"0.863",
"0.4795",
"0.863",
"0.4795",
"0.877",
"0.0866",
"0.877"
],
[
"0.539",
"0.8613",
"0.8813",
"0.863",
"0.8813",
"0.8774",
"0.539",
"0.8755"
],
[
"0.0866",
"0.8774",
"0.2214",
"0.8774",
"0.2214",
"0.888",
"0.0866",
"0.888"
],
[
"0.5195",
"0.875",
"0.8857",
"0.8755",
"0.8857",
"0.89",
"0.5195",
"0.8896"
]
] | [
"-样有效。然而,宏观县域限制的中间策略",
"当县被",
"(a) ",
"(b)",
"一可以平衡政策灵活性和有效性之间的",
"CO.",
"权衡。我们证明,对于给定的空间粒度,找到最有效的",
"智能分组时-",
"县分区等效于解决由我们的溢出估计加权的无向县图",
"上的最小k切割问题。使用这种方法,我们确定了宏",
"观县的限制,这些限制恢复了全州范围内流动性减少的",
"90%,同时在县之间保持了很大的灵活性",
"总而言之,我们的贡献如下:",
"(c)",
". Setting: we identify a novel setting for studying",
"",
"pad ssi",
" spillovers where the same set of policies was applied",
"with the same thresholds to many areas;",
".Methods:we develop aregression discontinuity(RD)",
"design framework that allows us to make uncon-",
"Figure 1: Primary data sources. (a) Percentage of Cali-",
"founded estimates of heterogeneous spillover effects",
"fornia counties in Blueprint tierspurple, red, orange.",
"in this setting, estimated over a large-scale mobility",
"and yellow-over time (greyed-out period represents",
"network containing billions of edges;",
"Regional Stay-At-Home Order);(b)Tiers in the week",
": Analyses: we demonstrate significant spillover effects",
"of March 15, 2021; (c) Average weekly visits per device",
"in many POI groups and evaluate the costs of these",
"over time.",
" spillovers on policies across spatial scales",
"在一个复杂,相互联系的世界中,几乎没有机会可靠地",
"溢出的证据。我们通过解决他们研究的两个主要局限",
"估计政策影响,我们的工作是最早确定可以严格估计",
"性来建立这项工作:首先,作者指出,他们的估计可",
"溢出的环境,并开发适当的方法来估计和评估溢出的影",
"能会受到未观察到的时变因素的混淆;使用差异中的",
"响。",
"方法(Hao and Cowan 2017;Holtz et al.2020)或回",
" (Coates and Pearson-Merkowitz 2017; Sigman 2005;",
"2Related Work",
"BronarsandLott1998),有关溢出的其他研究也可能",
"溢出效应通常来自对互联区域的分散决",
"会受到潜在的混淆。其次,为了“创造足够的统计能力",
"策。Forexample,",
"(2005)",
"findsthatwa-",
"来识别因果效应”,作者将不同的政策干预分解为一般",
"",
"Sigman",
"terqualityisloweratstationsdownstreamofstat-",
"的政策“类型”(e。g。,恢复就餐和解除采集限制均被",
"esthatareauthorizedtocontroltheirownwaterprograms,sincethe视为重新开放),这违反了一致处理的假设",
"free-ride。",
"“Coates and Pearson-Merkowitz(2017)表",
"与先前的工作相比,我们能够通过将基于RD的框",
"明,在枪支法律更强的州,从枪支法律较弱的州进口枪",
"架应用于加利福尼亚州的蓝图以实现更安全的经济,从",
"支的可能性增加。BronarsandLott(1998)显示,虽然",
"而确定一组政策的无混淆溢出估计。此外,通过估计对",
"隐蔽的手枪法导致该州的犯罪减少,但也导致邻国的犯",
"CBG-POI网络的影响,我们的模型能够分析不同大流",
"罪增加,这表明犯罪分子正在越境。Hao and Cowan",
"行政策下的反事实细粒度流动模式。了解移动性模式",
"2017)发现,在一个州,休闲大麻的合法化导致与邻近",
"对于控制COVID-19(Buckeeetal.2020)的传播至关",
"州的大麻相关速捕事件增加。在线环境中也会出现溢出",
"重要,许多研究人员依靠细粒度的移动性数据来模拟",
"效应,如果用户在一个平台上被禁止,他们可以跨平台",
"移动性对病毒(Badr etal.2020;Chinazzietal.2020",
"迁移,而不是跨越地理边界;此外,在新的,通常监管",
"Kraemer et al. 2020; Chang et al. 2020, 2021; Nouvellet",
"较少的平台上,毒性和激进化的水平有时会更高,从而",
"etal.2021)传播的影响。我们的模型通过调查政策干预",
"影响原始内容审核(Ribeiroetal.2021;Alietal.2021)",
"对流动性的复杂影响,缩小从政策到行为到COVID-19",
"的有效性",
"结果的差距,进一步推进了此类分析。",
"在COVID-19的背景下,先前的研究主要集中在政策",
"对人口健康或行为的直接影响上,而没有明确建模溢出",
"3Data",
"(Chernozhukov, Kasahara, and Schrimpf 2021; Nguyen",
"California Blueprint for a Safer Economy.",
"蓝图于",
"2020年8月30日至2021年6月15日在加利福尼",
"et al. 2020: Brauner et al. 2020) . Chandrasekhar et al",
"(2021)在基于模型的环境中调查互连区域之间的疾病",
"溢出,Holtzetal.2020)提供了流动性溢出的早期证",
"亚州的所有58个县实施。它由四层组成:紫色(“广",
"据,表明当邻国实施就地底护政策时,该州的人口减",
"泛”),红色(“实质性”),橙色(“中度”)和黄色",
"(“最小”)。这些层对应于限制性降低的移动政策;例",
"少了自已的流动性。与我们的工作最相关的是Zhao",
"Holtz,andAral(2021),他们使用差异中的方法来估",
"如,在紫色层中,大多数非必需的室内企业都关闭了",
"而在黄色中,它们可以通过修改打开。我们使用加州公",
"计COVID-19政策对流动性的影响,并提供跨州旅行",
"共卫生部(CDPH)的存档数据表,该数据表提供了每",
"IThe code to run our experiments and regenerate",
"个县每周层级分配的详细文档,以及用于进行这些分配",
"figures is available at https://github.com/snap-stanford/",
"的COVID-19指标。2在图1a中,我们可视化了随着",
"covid-spillovers : We also provide our constructed Z vari-",
"时间的推移,各县的发展情况;我们将2020年12月5",
"ables (Section 4 ) that can be used with RD design to esti-",
"mate the effects of the California Blueprint tiers on spillovers",
"2https://www.cdph.ca.gov/Programs/CID/DCDC/",
"and other outcomes.",
"Pages/COVID-19/CaliforniaBlueprintDataCharts.aspx"
] | {
"arxiv_id": "2212.06224",
"language": "zh",
"page_idx": 2
} |
||
2212.06224-zh-3 | 2212.06224-zh-3.jpg | 日至 2021 年 1 月 25 日这段时间变灰,在此期间,该州的大部分地区都处于区域居家令 (CDPH 2020)下。我们可以看到,各县通常在相似的时间通过相似的层级, 这是可以预期的,因为 COVID-19 的严重程度在各县之间是相关的。然而,在许多星期里,我们也看到至少两个不同层次的实质性代表。例如,在 2021 年 3月 15日当周,紫层有 11 个县,红层有 42 个县,橙层有 4 个县,黄层有 1 个县 (图 1 b)。其中许多不同的层级出现在相邻的县之间,从而可以分析县边界之间的溢出效应Mobility network. 我们使用 SafeGraph 的数据,这是一家从移动应用程序匿名和聚合位置数据的公司。对于每个 POI, SafeGraph 每周提供访客来自何处的估计,并通过 CBG 进行汇总。$^{3}$这将在 CBG 和 POI 之间创建一个动态的二分图,其中边权重$Y_ijw$表示SafeGraph 在$w$周内从 CBG $c_i$到 POI $p_j$记录的访问次数。SafeGraph 还报告他们在每个 CBG 和每周中记录了多少设备。将设备计数纳人我们的模型,使我们能够考虑到不同的覆盖在 CBG 和随着时间的推移
在图 1 c 中,我们显示了每个设备随时间记录的平均每周访问次数,汇总了整个 CBG-POI 网络中的加利福尼亚。我们看到,随着蓝图层级限制的减少,区域后居家访问次数增加。然而,各种潜在变量可以解释这种相关性,例如 COVID-19 严重程度的降低导致了更少的限制等级和更少的对参观场所的恐惧。因此,有必要开发一个强大的因果框架,使我们能够从混杂因素中分离层效应,我们将在下一节中描述
### 4 Causal framework
为了捕捉溢出效应,我们的目标是估计成对层级对跨县流动的影响。我们的因果框架的关键是我们可以利用 RD 设计,它被广泛认为是“分析因果效应的最可信的非实验策略之一”(Cattaneo, Idrobo, and Titiunik 2020) 。在典型的 RD 设计中,根据单个连续变量的外部确定的阈值将单位分配给治疗或控制条件,该连续变量称为分配变量(或运行或强制变量)。然后,研究人员可以将刚好低于阈值的单位的结果与刚好高于阈值的单位的结果进行比较,以估计治疗的局部因果效应。RD 设计的主要优点是它实现了无混淆,而无需控制所有可能的混淆因素。这是因为满足了无混淆假设:给定协变量 (Imbens and Lemieux 2008) , 治疗分配与潜在结果有条件地无关。这一假设在 RD 设计中得到了明确的满足,因为治疗分配是由分配变量决定的,因此,在协变量的条件下,治疗没有变化
我们的问题通常适合 RD 设计,因为蓝图层是在连续COVID-19 指标的阈值处分配的。我们关注紫色和红色层之间的阈值,因为它们是支持最多的相邻对。然而, 我们需要以两种方式扩展通用 RD 设计:(1) 考虑多个分配变量,因为层是根据许多 COVID-19 指标分配的, (2)考虑多个治疗条件,因为我们正在考虑成对分层作为我们的治疗。我们将在以下章节中描述我们的方法Assigning Blueprint tiers. 首先,让我们关注从$\bar{\text{COVID-19 指标确定单个县的层级 }T_{iw}}$的问题。等级分配取决于三个指标:调整后的病例率,测试阳性率和健康公平性指标,这是社区中处境最不利的四分位数(CDPH 2021b) 的测试阳性率。为了晋升到限制较少的级别,各县需要连续两周满足 (CDPH 2021a)的移动
$^{3}$https://docs.safegraph.com/docs/weekly-patterns
标准。对于一个大县(人口超过 106,000),可以通过两种方式满足从紫色到红色的标准:(1)通过满足所有三个指标的红色层的阈值,(2) 通过满足测试的阈值橙色层的积极性和健康公平性,从而将调整后的病例率交换为其他两个更严格的阈值。Small counties (population under 106,000) only had one possible path, which was to meet the adjusted case rate and test positivity thresholds for the red tier. 不需要小县达到卫生公平阈值,但需要通过其他计划 (CDPH 2021b) 证明其对公平的承诺。在蓝图的大部分持续时间内,调整后的病例率的紫红色阈值为7/100,000,测试阳性和健康公平性为$8\%$ (红色-橙色阈值为 5%)。在全州范围内接种了 200万份 (Ibarra and Becker 2021) 疫苗后,2021 年 3月 12日 , 调整后的病例率的紫红色阈值提高到 10/10 万。
Constructing a single assignment variable $Z.$ 我们对具有多个赋值变量 (Wong, Steiner, and Cook 2013) 的RD 设计采用居中方法。也就是说,我们首先通过减去每个分配变量各自的阈值来居中,然后将最小/最大聚合应用于居中的变量,以便构造一个新的分配变量$Z$
该变量可以单独确定一个单元的处理。更正式地说, 我们设计了一个函数$f:\mathbb{R}^m\to\mathbb{R}$ ,它将一个县的$m$ COVID-19 指标映射到一个单一的连续变量$Z_iw$ 。对于大县,$m$指标包括该县前两周的调整后病例率(CR ),测试阳性率($TP$)和健康公平性指标($HE$);对于小县,仅调整后的病例率和测试阳性率。当且仅当将县分配给红色层时,我们的映射$f$才满足$Z_iw<0$的关键属性
令$CR_{iw}^\mathrm{red}$表示减去紫红色阈值后的$w$周中该县的调整后的病例率,并让我们类似地定义其他术语。我们为$\overline{\text{大型县构建 }Z_{iw}}$,如下所示:
$$Z_{1iw}=\max(CR_{iw}^{\mathrm{red}},TP_{iw}^{\mathrm{red}},HE_{iw}^{\mathrm{red}},CR_{iw-1}^{\mathrm{red}},TP_{iw-1}^{\mathrm{red}},HE_{iw-1}^{\mathrm{red}})\\\text{(1)}\\Z_{2iw}=\max(TP_{iw}^{\mathrm{orange}},HE_{iw}^{\mathrm{orange}},TP_{iw-1}^{\mathrm{orange}},HE_{iw-1}^{\mathrm{orange}})\\\text{(2)}\\Z_{iw}=\min(Z_{1iw},Z_{2iw}).\text{(3)}$$
对于小型县,我们只有
$$Z_{iw}=\max(CR_{iw}^{\mathrm{red}},TP_{iw}^{\mathrm{red}},CR_{iw-1}^{\mathrm{red}},TP_{iw-1}^{\mathrm{red}}).$$
. (4)
在图 2 a 中,我们表明我们的新$Z$变量几乎完美地将紫色和红色层中的县分开。在 2021 年 2月 1日至 3月29 日的 9 周内,有 480 个县/周处于紫色或红色级别其中 471 个县遵循$Z_{iw}<0$ ,当且仅当该县处于红色级别时。如 CDPH 文档中所述,我们手动检查非合规者,发现它们是县的案例,大部分是小县,应特殊要求允许保留在红色层
为了解释我们的新$Z$变量,我们还分析了它的“触发”模式;也就是说,对于每个最小/最大聚合,哪个输人是最小值或最大值(图2 b)。Since $Z<0$ moves the county into the red (less restricted) tier, a maximum can be interpreted as holding the county back and a minimum as improving the county's prospects. 对于大型县,我们发现第一个标准$Z_1$的最常见最大值是从$w-1$周开始的调整后的病例率。对于第二个标准$Z_2$, 最常见的最大值是第$w-1$周的健康权益指标。这反映了这段时间的趋势:随着时间的推移,COVID-19 的严重程度正在改善,因此$w-1$周的发病率往往高于$w$ | [
[
"0.09235",
"0.07135",
"0.4756",
"0.07135",
"0.4756",
"0.0821",
"0.09235",
"0.0821"
],
[
"0.523",
"0.07135",
"0.91",
"0.07135",
"0.91",
"0.0821",
"0.523",
"0.0821"
],
[
"0.08826",
"0.0833",
"0.478",
"0.0833",
"0.478",
"0.0966",
"0.08826",
"0.0966"
],
[
"0.5195",
"0.0821",
"0.91",
"0.0833",
"0.91",
"0.09784",
"0.5195",
"0.0966"
],
[
"0.08826",
"0.09784",
"0.4739",
"0.09784",
"0.4739",
"0.1111",
"0.08826",
"0.1111"
],
[
"0.523",
"0.09784",
"0.911",
"0.09784",
"0.911",
"0.1111",
"0.523",
"0.1111"
],
[
"0.08826",
"0.1111",
"0.4763",
"0.1111",
"0.4763",
"0.125",
"0.08826",
"0.125"
],
[
"0.5215",
"0.10986",
"0.911",
"0.1111",
"0.911",
"0.1256",
"0.5215",
"0.125"
],
[
"0.0907",
"0.127",
"0.4756",
"0.127",
"0.4756",
"0.137",
"0.0907",
"0.137"
],
[
"0.5215",
"0.1256",
"0.91",
"0.1256",
"0.91",
"0.1395",
"0.5215",
"0.1395"
],
[
"0.08826",
"0.1395",
"0.4795",
"0.1395",
"0.4795",
"0.1528",
"0.08826",
"0.1528"
],
[
"0.5215",
"0.1383",
"0.9126",
"0.1383",
"0.9126",
"0.1515",
"0.5215",
"0.1515"
],
[
"0.08905",
"0.1509",
"0.4763",
"0.1515",
"0.4763",
"0.1666",
"0.08905",
"0.1654"
],
[
"0.5215",
"0.1528",
"0.911",
"0.1528",
"0.911",
"0.1666",
"0.5215",
"0.1666"
],
[
"0.08905",
"0.1666",
"0.4763",
"0.1666",
"0.4763",
"0.1799",
"0.08905",
"0.1799"
],
[
"0.5215",
"0.1666",
"0.911",
"0.1666",
"0.911",
"0.1799",
"0.5215",
"0.1799"
],
[
"0.08826",
"0.1812",
"0.478",
"0.1812",
"0.478",
"0.1945",
"0.08826",
"0.1945"
],
[
"0.5215",
"0.1799",
"0.911",
"0.1799",
"0.911",
"0.1932",
"0.5215",
"0.1932"
],
[
"0.5215",
"0.1945",
"0.911",
"0.1945",
"0.911",
"0.2084",
"0.5215",
"0.2084"
],
[
"0.09314",
"0.202",
"0.478",
"0.202",
"0.478",
"0.2153",
"0.09314",
"0.2153"
],
[
"0.5215",
"0.2084",
"0.911",
"0.2084",
"0.911",
"0.2216",
"0.5215",
"0.2216"
],
[
"0.08905",
"0.2153",
"0.478",
"0.2153",
"0.478",
"0.2291",
"0.08905",
"0.2291"
],
[
"0.5215",
"0.2216",
"0.9126",
"0.2216",
"0.9126",
"0.2349",
"0.5215",
"0.2349"
],
[
"0.08905",
"0.2299",
"0.478",
"0.2299",
"0.478",
"0.2437",
"0.08905",
"0.2437"
],
[
"0.523",
"0.2349",
"0.9126",
"0.2349",
"0.9126",
"0.25",
"0.523",
"0.25"
],
[
"0.08826",
"0.2424",
"0.478",
"0.2412",
"0.478",
"0.2556",
"0.08826",
"0.2568"
],
[
"0.08826",
"0.2556",
"0.478",
"0.2568",
"0.478",
"0.2715",
"0.08826",
"0.2708"
],
[
"0.523",
"0.25",
"0.886",
"0.25",
"0.886",
"0.2632",
"0.523",
"0.2632"
],
[
"0.08496",
"0.2695",
"0.478",
"0.2708",
"0.478",
"0.2854",
"0.08496",
"0.2842"
],
[
"0.527",
"0.2708",
"0.911",
"0.2708",
"0.911",
"0.2842",
"0.527",
"0.2842"
],
[
"0.08826",
"0.2854",
"0.478",
"0.2854",
"0.478",
"0.2986",
"0.08826",
"0.2986"
],
[
"0.523",
"0.2827",
"0.911",
"0.2842",
"0.911",
"0.2986",
"0.523",
"0.2974"
],
[
"0.0907",
"0.3005",
"0.4763",
"0.3005",
"0.4763",
"0.3113",
"0.0907",
"0.3113"
],
[
"0.5195",
"0.2966",
"0.911",
"0.2974",
"0.911",
"0.3125",
"0.5195",
"0.3113"
],
[
"0.08826",
"0.3132",
"0.429",
"0.3132",
"0.429",
"0.327",
"0.08826",
"0.327"
],
[
"0.523",
"0.3125",
"0.911",
"0.3125",
"0.911",
"0.3257",
"0.523",
"0.3257"
],
[
"0.10455",
"0.327",
"0.4763",
"0.327",
"0.4763",
"0.3403",
"0.10455",
"0.3403"
],
[
"0.523",
"0.3257",
"0.911",
"0.3257",
"0.911",
"0.339",
"0.523",
"0.339"
],
[
"0.08826",
"0.3403",
"0.4763",
"0.3403",
"0.4763",
"0.3542",
"0.08826",
"0.3542"
],
[
"0.5376",
"0.3403",
"0.91",
"0.3403",
"0.91",
"0.3542",
"0.5376",
"0.3542"
],
[
"0.08905",
"0.3542",
"0.4763",
"0.3542",
"0.4763",
"0.3674",
"0.08905",
"0.3674"
],
[
"0.5215",
"0.3542",
"0.9126",
"0.3542",
"0.9126",
"0.3674",
"0.5215",
"0.3674"
],
[
"0.0907",
"0.3694",
"0.4763",
"0.3694",
"0.4763",
"0.3801",
"0.0907",
"0.3801"
],
[
"0.5195",
"0.3655",
"0.911",
"0.3674",
"0.911",
"0.3818",
"0.5195",
"0.3801"
],
[
"0.08905",
"0.3806",
"0.478",
"0.3801",
"0.478",
"0.3945",
"0.08905",
"0.3958"
],
[
"0.523",
"0.3818",
"0.9126",
"0.3818",
"0.9126",
"0.3958",
"0.523",
"0.3958"
],
[
"0.08905",
"0.3958",
"0.4763",
"0.3958",
"0.4763",
"0.4092",
"0.08905",
"0.4092"
],
[
"0.5254",
"0.3984",
"0.544",
"0.3984",
"0.544",
"0.406",
"0.5254",
"0.406"
],
[
"0.539",
"0.3958",
"0.911",
"0.3958",
"0.911",
"0.4092",
"0.539",
"0.4092"
],
[
"0.0907",
"0.4092",
"0.478",
"0.4092",
"0.478",
"0.4224",
"0.0907",
"0.4224"
],
[
"0.523",
"0.4092",
"0.911",
"0.4092",
"0.911",
"0.4224",
"0.523",
"0.4224"
],
[
"0.08826",
"0.4236",
"0.3162",
"0.4236",
"0.3162",
"0.4375",
"0.08826",
"0.4375"
],
[
"0.5215",
"0.4216",
"0.911",
"0.4224",
"0.911",
"0.4375",
"0.5215",
"0.4363"
],
[
"0.524",
"0.4382",
"0.585",
"0.4382",
"0.585",
"0.4495",
"0.524",
"0.4495"
],
[
"0.1871",
"0.4507",
"0.3774",
"0.4507",
"0.3774",
"0.464",
"0.1871",
"0.464"
],
[
"0.539",
"0.4495",
"0.9126",
"0.4495",
"0.9126",
"0.464",
"0.539",
"0.464"
],
[
"0.08905",
"0.4697",
"0.478",
"0.4697",
"0.478",
"0.483",
"0.08905",
"0.483"
],
[
"0.5215",
"0.4653",
"0.911",
"0.4653",
"0.911",
"0.4792",
"0.5215",
"0.4792"
],
[
"0.08905",
"0.483",
"0.4763",
"0.483",
"0.4763",
"0.4968",
"0.08905",
"0.4968"
],
[
"0.5215",
"0.4792",
"0.7295",
"0.4792",
"0.7295",
"0.4937",
"0.5215",
"0.4937"
],
[
"0.08905",
"0.4968",
"0.4763",
"0.4968",
"0.4763",
"0.5103",
"0.08905",
"0.5103"
],
[
"0.5215",
"0.4988",
"0.9575",
"0.4988",
"0.9575",
"0.5166",
"0.5215",
"0.5166"
],
[
"0.08905",
"0.512",
"0.4756",
"0.512",
"0.4756",
"0.523",
"0.08905",
"0.523"
],
[
"0.8896",
"0.5176",
"0.911",
"0.5176",
"0.911",
"0.53",
"0.8896",
"0.53"
],
[
"0.08826",
"0.5244",
"0.4763",
"0.5244",
"0.4763",
"0.5386",
"0.08826",
"0.5386"
],
[
"0.517",
"0.5264",
"0.8936",
"0.53",
"0.8936",
"0.556",
"0.517",
"0.553"
],
[
"0.871",
"0.532",
"0.8965",
"0.537",
"0.892",
"0.549",
"0.8667",
"0.5435"
],
[
"0.08905",
"0.539",
"0.478",
"0.539",
"0.478",
"0.553",
"0.08905",
"0.553"
],
[
"0.6313",
"0.5444",
"0.6504",
"0.5444",
"0.6504",
"0.549",
"0.6313",
"0.549"
],
[
"0.709",
"0.5444",
"0.7256",
"0.5444",
"0.7256",
"0.5474",
"0.709",
"0.5474"
],
[
"0.773",
"0.5435",
"0.822",
"0.5435",
"0.822",
"0.5503",
"0.773",
"0.5503"
],
[
"0.08905",
"0.553",
"0.4763",
"0.553",
"0.4763",
"0.5664",
"0.08905",
"0.5664"
],
[
"0.8896",
"0.552",
"0.911",
"0.552",
"0.911",
"0.565",
"0.8896",
"0.565"
],
[
"0.08905",
"0.5664",
"0.4763",
"0.5664",
"0.4763",
"0.58",
"0.08905",
"0.58"
],
[
"0.527",
"0.5693",
"0.693",
"0.571",
"0.693",
"0.5854",
"0.527",
"0.584"
],
[
"0.8896",
"0.571",
"0.9126",
"0.571",
"0.9126",
"0.5854",
"0.8896",
"0.5854"
],
[
"0.08826",
"0.5806",
"0.478",
"0.5806",
"0.478",
"0.5947",
"0.08826",
"0.5947"
],
[
"0.08826",
"0.5947",
"0.4763",
"0.5947",
"0.4763",
"0.608",
"0.08826",
"0.608"
],
[
"0.523",
"0.5933",
"0.683",
"0.5933",
"0.683",
"0.607",
"0.523",
"0.607"
],
[
"0.08826",
"0.608",
"0.4763",
"0.608",
"0.4763",
"0.622",
"0.08826",
"0.622"
],
[
"0.544",
"0.6113",
"0.9165",
"0.6113",
"0.9165",
"0.6353",
"0.544",
"0.6353"
],
[
"0.08905",
"0.622",
"0.4763",
"0.622",
"0.4763",
"0.6353",
"0.08905",
"0.6353"
],
[
"0.08826",
"0.6353",
"0.4763",
"0.6353",
"0.4763",
"0.6484",
"0.08826",
"0.6484"
],
[
"0.5215",
"0.6396",
"0.91",
"0.64",
"0.91",
"0.654",
"0.5215",
"0.653"
],
[
"0.08826",
"0.6484",
"0.4763",
"0.6484",
"0.4763",
"0.662",
"0.08826",
"0.662"
],
[
"0.5215",
"0.653",
"0.9087",
"0.6514",
"0.9087",
"0.6665",
"0.5215",
"0.6675"
],
[
"0.08826",
"0.6636",
"0.3179",
"0.6636",
"0.3179",
"0.677",
"0.08826",
"0.677"
],
[
"0.5215",
"0.6675",
"0.91",
"0.6675",
"0.91",
"0.681",
"0.5215",
"0.681"
],
[
"0.10455",
"0.677",
"0.478",
"0.677",
"0.478",
"0.69",
"0.10455",
"0.69"
],
[
"0.523",
"0.6816",
"0.911",
"0.6816",
"0.911",
"0.696",
"0.523",
"0.696"
],
[
"0.0866",
"0.6895",
"0.4763",
"0.69",
"0.4763",
"0.705",
"0.0866",
"0.704"
],
[
"0.5215",
"0.696",
"0.911",
"0.696",
"0.911",
"0.709",
"0.5215",
"0.709"
],
[
"0.08905",
"0.705",
"0.4795",
"0.705",
"0.4795",
"0.7183",
"0.08905",
"0.7183"
],
[
"0.523",
"0.709",
"0.911",
"0.709",
"0.911",
"0.7227",
"0.523",
"0.7227"
],
[
"0.08826",
"0.7183",
"0.4763",
"0.7183",
"0.4763",
"0.732",
"0.08826",
"0.732"
],
[
"0.5215",
"0.7236",
"0.652",
"0.7236",
"0.652",
"0.7373",
"0.5215",
"0.7373"
],
[
"0.08826",
"0.731",
"0.4756",
"0.732",
"0.4756",
"0.747",
"0.08826",
"0.7456"
],
[
"0.5376",
"0.7363",
"0.911",
"0.7363",
"0.911",
"0.75",
"0.5376",
"0.75"
],
[
"0.08905",
"0.747",
"0.478",
"0.747",
"0.478",
"0.7603",
"0.08905",
"0.7603"
],
[
"0.523",
"0.75",
"0.911",
"0.75",
"0.911",
"0.7646",
"0.523",
"0.7646"
],
[
"0.08826",
"0.7603",
"0.4631",
"0.7603",
"0.4631",
"0.7734",
"0.08826",
"0.7734"
],
[
"0.5254",
"0.7666",
"0.911",
"0.7666",
"0.911",
"0.7764",
"0.5254",
"0.7764"
],
[
"0.0989",
"0.782",
"0.4756",
"0.782",
"0.4756",
"0.7954",
"0.0989",
"0.7954"
],
[
"0.5215",
"0.779",
"0.9126",
"0.779",
"0.9126",
"0.7925",
"0.5215",
"0.7925"
],
[
"0.08826",
"0.7954",
"0.478",
"0.7954",
"0.478",
"0.8096",
"0.08826",
"0.8096"
],
[
"0.5215",
"0.7925",
"0.9126",
"0.7925",
"0.9126",
"0.806",
"0.5215",
"0.806"
],
[
"0.08905",
"0.8096",
"0.478",
"0.8096",
"0.478",
"0.8237",
"0.08905",
"0.8237"
],
[
"0.5195",
"0.8047",
"0.911",
"0.806",
"0.911",
"0.8193",
"0.5195",
"0.8184"
],
[
"0.08905",
"0.8237",
"0.478",
"0.8237",
"0.478",
"0.837",
"0.08905",
"0.837"
],
[
"0.5215",
"0.8193",
"0.911",
"0.8193",
"0.911",
"0.8335",
"0.5215",
"0.8335"
],
[
"0.08905",
"0.837",
"0.4763",
"0.837",
"0.4763",
"0.851",
"0.08905",
"0.851"
],
[
"0.5195",
"0.8335",
"0.903",
"0.834",
"0.903",
"0.8477",
"0.5195",
"0.8467"
],
[
"0.08826",
"0.851",
"0.4763",
"0.851",
"0.4763",
"0.8643",
"0.08826",
"0.8643"
],
[
"0.5215",
"0.8477",
"0.911",
"0.8477",
"0.911",
"0.8613",
"0.5215",
"0.8613"
],
[
"0.523",
"0.8613",
"0.911",
"0.86",
"0.911",
"0.875",
"0.523",
"0.8755"
],
[
"0.10706",
"0.8735",
"0.4412",
"0.8755",
"0.4412",
"0.89",
"0.10706",
"0.888"
],
[
"0.523",
"0.8755",
"0.9126",
"0.8755",
"0.9126",
"0.8896",
"0.523",
"0.8896"
]
] | [
"日至2021年1月25日这段时间变灰,在此期间,该州",
"标准。对于一个大县(人口超过106.000),可以通过",
"的大部分地区都处于区域居家令(CDPH2020)下。我",
"两种方式满足从紫色到红色的标准:(1)通过满足所有",
"们可以看到,各县通常在相似的时间通过相似的层级",
"三个指标的红色层的阈值,(2)通过满足测试的阈值橙",
"这是可以预期的,因为COVID-19的严重程度在各县",
"色层的积极性和健康公平性,从而将调整后的病例率交",
"之间是相关的。然而在许多星期里,我们也看到至少",
"换为其他两个更严格的阈值。Small counties(popula-",
"两个不同层次的实质性代表。例如,在2021年3月15",
"tion under 106.000) only had one possible path, which",
"日当周,紫层有11个县,红层有42个县,橙层有4个",
"was to meet the adjusted case rate and test positivity",
"县,黄层有1个县(图1b)。其中许多不同的层级出现",
"thresholdsfortheredtier:不需要小县达到卫生公平阈",
"在相邻的县之间,从而可以分析县边界之间的溢出效应",
"值,但需要通过其他计划(CDPH2021b)证明其对公平",
"的承诺。在蓝图的大部分持续时间内,调整后的病例率",
"Mobilitynetwork:我们使用SafeGraph的数据,这",
"的紫红色阈值为7/100,000,测试阳性和健康公平性为",
"是一家从移动应用程序匿名和聚合位置数据的公司。对",
"8%(红色-橙色阈值为5%)。在全州范围内接种了200",
"于每个POI,SafeGraph每周提供访客来自何处的估",
"万份(IbarraandBecker2021)疫苗后,2021年3月12",
"计,并通过CBG进行汇总。3这将在CBG和POI",
"之间创建一个动态的二分图,其中边权重Yiw表示",
"日,调整后的病例率的紫红色阈值提高到10/10万。",
"SafeGraph在w周内从CBGc,到POIp记录的访问",
"Constructing a single assignment variable Z.我们对",
"次数。SafeGraph还报告他们在每个CBG和每周中记",
"具有多个赋值变量(Wong,Steiner,andCook2013)的",
"录了多少设备。将设备计数纳入我们的模型,使我们能",
"RD设计采用居中方法。也就是说,我们首先通过减去",
"够考虑到不同的覆盖在CBG和随着时间的推移",
"每个分配变量各自的值来居中,然后将最小/最大聚",
"在图1c中,我们显示了每个设备随时间记录的平均",
"合应用于居中的变量,以便构造一个新的分配变量Z",
"每周访问次数,汇总了整个CBG-POI网络中的加利福",
"该变量可以单独确定一个单元的处理。更正式地说",
"尼亚。我们看到,随着蓝图层级限制的减少,区域后居",
"我们设计了一个函数f:Rm→R,它将一个县的m",
"家访问次数增加。然而,各种潜在变量可以解释这种相",
"COVID-19指标映射到一个单一的连续变量Ziw。对",
"关性,例如COVID-19严重程度的降低导致了更少的",
"于大县,m指标包括该县前两周的调整后病例率(CR",
"限制等级和更少的对参观场所的恐惧。因此,有必要开",
"",
"测试阳性率(TP)和健康公平性指标(HE):对",
"发一个强大的因果框架,使我们能够从混杂因素中分离",
"于小县,仅调整后的病例率和测试阳性率。当且仅当将",
"层效应,我们将在下一节中描述",
"县分配给红色层时,我们的映射f才满足Zw<0的",
"关键属性",
"4Causalframework",
"令CRred表示减去紫红色值后的w周中该县的调",
"为了捕捉溢出效应,我们的目标是估计成对层级对跨",
"整后的病例率,并让我们类似地定义其他术语。我们为",
"县流动的影响。我们的因果框架的关键是我们可以利",
"大型县构建Ziw,如下所示:",
"用RD设计,它被广泛认为是“分析因果效应的最可",
"Ziw = max(CRred,TPred, HEred,CRred-1, TPred1, HEred1)",
"信的非实验策略之一\"(Cattaneo.Idrobo.andTitiunik",
"(1)",
"2020)。在典型的RD设计中,根据单个连续变量的外",
"Zzw = ma(TParange, Erange, Pe, Ee",
"ange",
"部确定的阈值将单位分配给治疗或控制条件,该连续变",
"Tait",
"",
"w-1",
"量称为分配变量(或运行或强制变量)。然后,研究人",
"(2)",
"员可以将刚好低于阈值的单位的结果与刚好高于阈值",
"Ziw = min(Zliw, Z2iw).",
"(3)",
"的单位的结果进行比较,以估计治疗的局部因果效应。",
"RD设计的主要优点是它实现了无混淆,而无需控制所",
"对于小型县,我们只有",
"有可能的混淆因素。这是因为满足了无混淆假设:给定",
"Zu =max(CRred, TPred,CRred1,TPred1). (4)",
"协变量(ImbensandLemieux2008),治疗分配与潜在",
"结果有条件地无关。这一假设在RD设计中得到了明确",
"在图2a中,我们表明我们的新Z变量几乎完美地将",
"的满足,因为治疗分配是由分配变量决定的,因此,在",
"紫色和红色层中的县分开。在2021年2月1日至3月",
"协变量的条件下,治疗没有变化",
"29日的9周内,有480个县/周处于紫色或红色级别",
"我们的问题通常适合RD设计,因为蓝图层是在连续",
"其中471个县遵循Ziw<0,当且仅当该县处于红色",
"COVID-19指标的值处分配的。我们关注紫色和红色",
"级别时。如CDPH文档中所述,我们手动检查非合规",
"层之间的阈值,因为它们是支持最多的相邻对。然而,",
"者,发现它们是县的案例,大部分是小县,应特殊要求",
"我们需要以两种方式扩展通用RD设计:(1)考虑多个",
"允许保留在红色层",
"分配变量,因为层是根据许多COVID-19指标分配的",
"为了解释我们的新乙变量,我们还分析了它的“触",
"(2)考虑多个治疗条件,因为我们正在考虑成对分层作",
"发”模式;也就是说,对于每个最小/最大聚合,哪个输",
"为我们的治疗。我们将在以下章节中描述我们的方法",
"入是最小值或最大值(图2b)。SinceZ<0movesthe",
"AssigningBlueprinttiers.首先,让我们关注从",
"county into the red (less restricted) tier, a maximum",
"COVID-19指标确定单个县的层级Tiw的问题。等级",
"can be interpreted as holding the county back and a",
"分配取决于三个指标:调整后的病例率,测试阳性率和",
"minimum as improvingthe county'sprospects.对于大",
"健康公平性指标,这是社区中处境最不利的四分位数",
"型县,我们发现第一个标准Z1的最常见最大值是从",
"(CDPH2021b)的测试阳性率。为了晋升到限制较少的",
"W-1周开始的调整后的病例率。对于第二个标准Z2",
"级别,各县需要连续两周满足(CDPH2021a)的移动",
"最常见的最大值是第w-1周的健康权益指标。这反映",
"了这段时间的趋势:随着时间的推移,COVID-19的严",
"3https://docs.safegraph.com/docs/weekly-patterns",
"重程度正在改善,因此 w-1周的发病率往往高于w"
] | {
"arxiv_id": "2212.06224",
"language": "zh",
"page_idx": 3
} |
||
2311.05006-zh-1 | 2311.05006-zh-1.jpg | 1. False Familiarity vs. False Novelty: What type of
attack is more effective?
2. FGSM vs. iterative attacks: Is it worth exploring
more flexible iterative attacks to improve upon the
fast gradient sign method (FGSM)?
3. Uninformed vs. informed attacks: How can ad-
versarial attacks proft when the type of input is
given (i.e., closed-set or open-set sample)?
2. Methodology
2.1. Familiarity-based open-set recognition (OSR)
我们考虑一个输入空间$\chi$和一组熟悉类别的$\mathcal{F}$, i。e。闭集。在闭集识别(CSR)中,目标是对概率$p(y\mid$ $\boldsymbol{x},y\in\mathcal{F})$进行建模,其中$y$是与输人$x\in\mathcal{X}$相关联的标签。该模型在训练数据集$\mathcal{D}_{\mathrm{train}}=\{(\boldsymbol{X}_i,\boldsymbol{y}_i)\}_{i=1}^N\subset$ $\mathcal{X}\times\mathcal{F}$上进行训练,并在包含训练时间给定类别的非重叠闭集测试集$\mathcal{D} _\mathrm{test- csr}= \{ ( \boldsymbol{X}_i, \boldsymbol{y}_i) \} _{i= 1}^M\subset \mathcal{X} \times \mathcal{F}$ 上进行评估。我们考虑由$\theta$参数化的深度神经网络$f_{\boldsymbol{\theta}}:\mathcal{X}\to\mathbb{R}^{|\mathcal{F}|}$来建模$p(y\mid\boldsymbol x,y\in\mathcal{F})$。在这里,$f_\boldsymbol{\theta}$将输入映射到使用 softmax 函数$\sigma:\mathbb{R}^|\mathcal{F}|\to(0,1)^{|\mathcal{F}|}$归一化的对数向量,以获得熟悉类别的伪概率
在开放集识别 (OSR)设置中,还考虑了一组新颖类别的$\mathcal{N}$ ,并使用包含来自新颖和熟悉类的输人的测试集来评估 OSR 性能:$\mathcal{D}_\mathrm{test-osr}=\{(\boldsymbol{X}_i,\boldsymbol{y}_i)\}_{i=1}^M\subset$ $\mathcal{X}\times(\mathcal{F}\cup\mathcal{N})$ 。通常使用包含相同数量的熟悉样本和新颖样本的平衡测试集来评估 OSR 性能。为了确定是否对$y\in\mathcal{F}$ ,熟悉度得分$\mathcal{S}(y\in\mathcal{F}\mid\boldsymbol{x})$进行建模,以对$\mathcal{D}_{\mathrm{test-osr}}$中的测试样本进行排名。基于熟悉度的评分规则包括最大 Softmax 概率(MSP)得分[8]:
(1)
$$\mathcal{S}_{\mathrm{MSP}}(y\in\mathcal{F}\mid\boldsymbol{x}):=\max_{y}\sigma(f_{\boldsymbol{\theta}}(\boldsymbol{x}))_{y}$$
和最大 Logit 得分 (MLS) [22,3] :
$$\mathcal{S}_{\mathrm{MLS}}(y\in\mathcal{F}\mid\boldsymbol{x}):=\max_yf_{\boldsymbol{\theta}}(\boldsymbol{x})_y,$$
(2)
,其在先前工作中的表现优于 MSP 得分 [22]。对于这两种评分规则,高分表示熟悉,低分表示新颖的类别
$2. 2. \textbf{ Fast gradient sign method ( FGSM) }$
生成对抗性输入的一种简单有效的方法是快速梯度符号方法 (FGSM), 该方法最初由 [6]描述。FGSM 使用以下公式生成对抗性输入$x^\mathrm{adv}:$
$$x^\mathrm{adv}=x+\varepsilon\operatorname{sign}[\nabla_{\boldsymbol{x}}\mathcal{L}(\boldsymbol{\theta},\boldsymbol{x},y)]$$
(3)
这里$x$表示未修改的输人,第二项称为对抗性扰动,其中$\varepsilon$控制扰动的大小。最初,$\mathcal{L}$设置为训练目标 [6] , 但可以是对手旨在优化的任何目标函数。对抗性扰动受到约束,使得$\|x^\text{adv}-x\|_\infty\leq\varepsilon$ 。
与 FGSM 相比,通过以更灵活的方式优化目标函数,
## 2.3. Iterative attacks
迭代方法可以产生更多不同的扰动,但计算成本更高。基本迭代方法(BIM)[12]迭代地应用 FGSM 更新,并通过以下方式进行描述:
$$\begin{aligned}&x_{0}^{\mathrm{adv}}=x&(4)\\&x_{n+1}^{\mathrm{adv}}=\mathrm{Clip}_{\boldsymbol{x},\varepsilon}\{\boldsymbol{x}_{n}^{\mathrm{adv}}+\alpha\:\mathrm{sign}(\nabla_{\boldsymbol{x}}\mathcal{L}(\boldsymbol{\theta},\boldsymbol{x}_{n}^{\mathrm{adv}},y))\}.&(5)\end{aligned}$$
在此方法中,可以调整步长$\alpha$和迭代次数,以在运行时间和性能之间获得所需的权衡。替代方法的灵感来自基于梯度的优化器,使用动量来提高性能 [4]。我们研究了一种使用 RPROP [16,5]的迭代方法,该方法以自适应步长放宽了 BIM 的固定步长$\alpha:$
$$x_{n+1}^{\mathrm{adv}}=\mathrm{Clip}_{\boldsymbol{x},\varepsilon}\{\boldsymbol{x}_{n}^{\mathrm{adv}}+\mathrm{Step}(\mathcal{L},\boldsymbol{\theta},\boldsymbol{x}_{n}^{\mathrm{adv}},y)\}\:,$$
(6)
其中 Step$( \mathcal{L} , \boldsymbol{\theta }, \boldsymbol{x}_n^\mathrm{adv}, y)$表示通过某些迭代优化方法计算的更新步骤。RPROP 在迭代时分别为每个可优化参数调整步长-在每个通道的每个像素对图像进行对抗性攻击的情况下。用 RPROP 创建的对抗性扰动可能是稀疏的,因此可能不太明显。为了与 FGSM 进行公平的比较,扰动被裁剪为$\varepsilon$。
2.4. Adversarial attacks on familiarity-based OSR
FalseFamiliarity(FalseNegative,FN)。FalseFamiliarity 攻击旨在增加任意熟悉类别的 logit (或 softmax 概率),这类似于闭集识别[11]中的目标攻击。我们研究了三个目标函数来实现此攻击:
(7)
$$\mathcal{L}_{\mathrm{max}}(\boldsymbol{\theta},\boldsymbol{x},y)=\max_{y^{\prime}}f_{\boldsymbol{\theta}}(\boldsymbol{x})_{y^{\prime}}\\[1mm]\mathcal{L}_{2-\mathrm{norm}}(\boldsymbol{\theta},\boldsymbol{x},y)=\|f_{\boldsymbol{\theta}}(\boldsymbol{x})\|_{2}\\[3mm]\mathcal{L}_{\mathrm{log-MSP}}(\boldsymbol{\theta},\boldsymbol{x},y)=\log\max_{y^{\prime}}\sigma(f_{\boldsymbol{\theta}}(\boldsymbol{x}))_{y^{\prime}}$$
(8)
(9)
在 ODIN 方法$\mathbb{E} [ 14]$ (在广义的 ODIN$\mathbb{E}[9]$ 中进行了改进)中提出了 log-MSP 损失,以对具有对抗性扰动的图像进行预处理,以使用 MSP 分数改善 OOD 检测。
假新颖性(假阳性,FP)。在这种可能更具挑战性的设置中,我们可能必须通过单个 FGSM 步骤或多个迭代步骤来减少多个类别的 logit。仅奖励最大 logit 减少的目标函数可能会失败,因此,除了$\mathcal{L}_\mathrm{max}$之外,我们还研究了$\mathcal{L}_{2\mathrm{-norm}}$和 sum-exp 损失:??? 范数鼓励减少非最大 logits, 同时仍然优先考虑最大 logit。然而, 2范数的一个限制是它是非负的。由于 logits 是未归一化的并且可能是负的,因此如果目标函数也使 logits 为负,则最好。这导致我们提出了 sum-exp 损失,如果logit 变为负数,该损失将继续减少
重要的是,虽然 FalseFamiliarity 攻击使这些目标最
大化,但 FalseNovelty 攻击却使它们最小化
$^*$While this is not further investigated in this work, our OSR experiments did not confırm an improvement of the MSP score as also mentioned in other independent work [3] .
2 | [
[
"0.0907",
"0.09155",
"0.4697",
"0.09216",
"0.4697",
"0.1067",
"0.0907",
"0.1061"
],
[
"0.5024",
"0.09216",
"0.6665",
"0.09216",
"0.6665",
"0.1061",
"0.5024",
"0.1061"
],
[
"0.11273",
"0.108",
"0.2876",
"0.108",
"0.2876",
"0.1218",
"0.11273",
"0.1218"
],
[
"0.524",
"0.11743",
"0.8896",
"0.11743",
"0.8896",
"0.1276",
"0.524",
"0.1276"
],
[
"0.08905",
"0.132",
"0.468",
"0.1332",
"0.468",
"0.1477",
"0.08905",
"0.1465"
],
[
"0.505",
"0.1307",
"0.8906",
"0.1307",
"0.8906",
"0.1445",
"0.505",
"0.1445"
],
[
"0.1152",
"0.1483",
"0.468",
"0.1483",
"0.468",
"0.1622",
"0.1152",
"0.1622"
],
[
"0.5034",
"0.1465",
"0.722",
"0.1465",
"0.722",
"0.1604",
"0.5034",
"0.1604"
],
[
"0.11273",
"0.1642",
"0.3708",
"0.1642",
"0.3708",
"0.178",
"0.11273",
"0.178"
],
[
"0.5146",
"0.1704",
"0.5825",
"0.1686",
"0.584",
"0.1875",
"0.5156",
"0.1895"
],
[
"0.8677",
"0.1736",
"0.8906",
"0.1736",
"0.8906",
"0.1875",
"0.8677",
"0.1875"
],
[
"0.09235",
"0.1881",
"0.4673",
"0.1881",
"0.4673",
"0.2026",
"0.09235",
"0.2026"
],
[
"0.513",
"0.1932",
"0.8906",
"0.1932",
"0.8906",
"0.2084",
"0.513",
"0.2084"
],
[
"0.11273",
"0.2026",
"0.468",
"0.2039",
"0.468",
"0.2184",
"0.11273",
"0.2172"
],
[
"0.1136",
"0.2197",
"0.415",
"0.2197",
"0.415",
"0.2329",
"0.1136",
"0.2329"
],
[
"0.505",
"0.2216",
"0.8906",
"0.2216",
"0.8906",
"0.2349",
"0.505",
"0.2349"
],
[
"0.5034",
"0.2361",
"0.8906",
"0.2361",
"0.8906",
"0.25",
"0.5034",
"0.25"
],
[
"0.0768",
"0.2443",
"0.2197",
"0.2474",
"0.2197",
"0.2651",
"0.0768",
"0.262"
],
[
"0.5063",
"0.252",
"0.8896",
"0.252",
"0.8896",
"0.2651",
"0.5063",
"0.2651"
],
[
"0.505",
"0.2664",
"0.8906",
"0.2664",
"0.8906",
"0.281",
"0.505",
"0.281"
],
[
"0.0801",
"0.2734",
"0.4673",
"0.2734",
"0.4673",
"0.2874",
"0.0801",
"0.2874"
],
[
"0.505",
"0.2822",
"0.806",
"0.2822",
"0.806",
"0.2954",
"0.505",
"0.2954"
],
[
"0.1013",
"0.2966",
"0.468",
"0.2966",
"0.468",
"0.31",
"0.1013",
"0.31"
],
[
"0.0784",
"0.31",
"0.4673",
"0.3113",
"0.4673",
"0.3257",
"0.0784",
"0.3245"
],
[
"0.5293",
"0.308",
"0.8896",
"0.308",
"0.8896",
"0.3225",
"0.5293",
"0.3225"
],
[
"0.0801",
"0.327",
"0.4673",
"0.3245",
"0.4673",
"0.339",
"0.0801",
"0.3416"
],
[
"0.0801",
"0.3403",
"0.468",
"0.3423",
"0.468",
"0.356",
"0.0801",
"0.3542"
],
[
"0.517",
"0.3372",
"0.8906",
"0.3372",
"0.8906",
"0.3516",
"0.517",
"0.3516"
],
[
"0.0801",
"0.3567",
"0.468",
"0.3567",
"0.468",
"0.3706",
"0.0801",
"0.3706"
],
[
"0.505",
"0.3542",
"0.8896",
"0.3542",
"0.8896",
"0.3643",
"0.505",
"0.3643"
],
[
"0.0801",
"0.3718",
"0.468",
"0.3706",
"0.468",
"0.385",
"0.0801",
"0.3865"
],
[
"0.5034",
"0.3674",
"0.8906",
"0.3674",
"0.8906",
"0.3806",
"0.5034",
"0.3806"
],
[
"0.0825",
"0.3865",
"0.468",
"0.3865",
"0.468",
"0.401",
"0.0825",
"0.401"
],
[
"0.5034",
"0.3833",
"0.8896",
"0.3833",
"0.8896",
"0.3965",
"0.5034",
"0.3965"
],
[
"0.0809",
"0.401",
"0.468",
"0.401",
"0.468",
"0.4153",
"0.0809",
"0.4153"
],
[
"0.505",
"0.3997",
"0.888",
"0.3997",
"0.888",
"0.4104",
"0.505",
"0.4104"
],
[
"0.0809",
"0.4167",
"0.468",
"0.4167",
"0.468",
"0.43",
"0.0809",
"0.43"
],
[
"0.5024",
"0.4124",
"0.7134",
"0.414",
"0.7134",
"0.428",
"0.5024",
"0.4255"
],
[
"0.0948",
"0.432",
"0.3906",
"0.432",
"0.3906",
"0.4458",
"0.0948",
"0.4458"
],
[
"0.5034",
"0.4382",
"0.8906",
"0.4382",
"0.8906",
"0.452",
"0.5034",
"0.452"
],
[
"0.0989",
"0.4463",
"0.4673",
"0.4458",
"0.4673",
"0.4602",
"0.0989",
"0.461"
],
[
"0.0809",
"0.4622",
"0.468",
"0.4622",
"0.468",
"0.476",
"0.0809",
"0.476"
],
[
"0.523",
"0.4602",
"0.8896",
"0.4602",
"0.8896",
"0.4734",
"0.523",
"0.4734"
],
[
"0.0809",
"0.4778",
"0.4673",
"0.4778",
"0.4673",
"0.4912",
"0.0809",
"0.4912"
],
[
"0.5034",
"0.476",
"0.892",
"0.476",
"0.892",
"0.4893",
"0.5034",
"0.4893"
],
[
"0.08417",
"0.4944",
"0.4656",
"0.4944",
"0.4656",
"0.505",
"0.08417",
"0.505"
],
[
"0.5034",
"0.4912",
"0.892",
"0.4912",
"0.892",
"0.505",
"0.5034",
"0.505"
],
[
"0.0825",
"0.5083",
"0.4673",
"0.5083",
"0.4673",
"0.5215",
"0.0825",
"0.5215"
],
[
"0.5034",
"0.506",
"0.722",
"0.506",
"0.722",
"0.5195",
"0.5034",
"0.5195"
],
[
"0.0809",
"0.5234",
"0.4673",
"0.5234",
"0.4673",
"0.537",
"0.0809",
"0.537"
],
[
"0.572",
"0.532",
"0.7695",
"0.534",
"0.7695",
"0.549",
"0.572",
"0.547"
],
[
"0.8667",
"0.532",
"0.8936",
"0.532",
"0.8936",
"0.55",
"0.8667",
"0.55"
],
[
"0.0809",
"0.5386",
"0.468",
"0.5386",
"0.468",
"0.552",
"0.0809",
"0.552"
],
[
"0.08417",
"0.5547",
"0.4004",
"0.5547",
"0.4004",
"0.565",
"0.08417",
"0.565"
],
[
"0.527",
"0.5596",
"0.7656",
"0.56",
"0.7656",
"0.5747",
"0.527",
"0.5737"
],
[
"0.8677",
"0.56",
"0.8906",
"0.56",
"0.8906",
"0.5747",
"0.8677",
"0.5747"
],
[
"0.152",
"0.582",
"0.3987",
"0.582",
"0.3987",
"0.595",
"0.152",
"0.595"
],
[
"0.4468",
"0.582",
"0.468",
"0.582",
"0.468",
"0.595",
"0.4468",
"0.595"
],
[
"0.527",
"0.58",
"0.8906",
"0.58",
"0.8906",
"0.5947",
"0.527",
"0.5947"
],
[
"0.0825",
"0.616",
"0.3342",
"0.616",
"0.3342",
"0.63",
"0.0825",
"0.63"
],
[
"0.505",
"0.613",
"0.888",
"0.613",
"0.888",
"0.6274",
"0.505",
"0.6274"
],
[
"0.505",
"0.629",
"0.8896",
"0.629",
"0.8896",
"0.6426",
"0.505",
"0.6426"
],
[
"0.1569",
"0.6416",
"0.3896",
"0.6426",
"0.3896",
"0.66",
"0.1569",
"0.659"
],
[
"0.4453",
"0.6445",
"0.4697",
"0.6445",
"0.4697",
"0.6577",
"0.4453",
"0.6577"
],
[
"0.5034",
"0.643",
"0.892",
"0.6426",
"0.892",
"0.657",
"0.5034",
"0.6577"
],
[
"0.3137",
"0.659",
"0.3228",
"0.659",
"0.3228",
"0.662",
"0.3137",
"0.662"
],
[
"0.08496",
"0.677",
"0.4673",
"0.677",
"0.4673",
"0.69",
"0.08496",
"0.69"
],
[
"0.524",
"0.675",
"0.8906",
"0.675",
"0.8906",
"0.688",
"0.524",
"0.688"
],
[
"0.0809",
"0.6934",
"0.4575",
"0.6934",
"0.4575",
"0.707",
"0.0809",
"0.707"
],
[
"0.5034",
"0.6895",
"0.8906",
"0.6895",
"0.8906",
"0.7026",
"0.5034",
"0.7026"
],
[
"0.5034",
"0.705",
"0.892",
"0.705",
"0.892",
"0.7183",
"0.5034",
"0.7183"
],
[
"0.0809",
"0.7163",
"0.3857",
"0.7163",
"0.3857",
"0.73",
"0.0809",
"0.73"
],
[
"0.505",
"0.7197",
"0.892",
"0.7197",
"0.892",
"0.733",
"0.505",
"0.733"
],
[
"0.5024",
"0.7344",
"0.892",
"0.732",
"0.892",
"0.7485",
"0.5024",
"0.7505"
],
[
"0.1013",
"0.742",
"0.4673",
"0.742",
"0.4673",
"0.7524",
"0.1013",
"0.7524"
],
[
"0.0825",
"0.756",
"0.468",
"0.756",
"0.468",
"0.7695",
"0.0825",
"0.7695"
],
[
"0.5034",
"0.75",
"0.892",
"0.75",
"0.892",
"0.763",
"0.5034",
"0.763"
],
[
"0.5024",
"0.763",
"0.8823",
"0.7646",
"0.8823",
"0.778",
"0.5024",
"0.7764"
],
[
"0.0809",
"0.771",
"0.327",
"0.7695",
"0.327",
"0.784",
"0.0809",
"0.785"
],
[
"0.505",
"0.78",
"0.8906",
"0.78",
"0.8906",
"0.7935",
"0.505",
"0.7935"
],
[
"0.1609",
"0.797",
"0.3865",
"0.799",
"0.3865",
"0.813",
"0.1609",
"0.811"
],
[
"0.4453",
"0.8",
"0.468",
"0.8",
"0.468",
"0.8125",
"0.4453",
"0.8125"
],
[
"0.505",
"0.7954",
"0.892",
"0.7954",
"0.892",
"0.8096",
"0.505",
"0.8096"
],
[
"0.4043",
"0.802",
"0.4307",
"0.802",
"0.4307",
"0.8096",
"0.4043",
"0.8096"
],
[
"0.5034",
"0.81",
"0.7534",
"0.81",
"0.7534",
"0.8237",
"0.5034",
"0.8237"
],
[
"0.0809",
"0.827",
"0.4673",
"0.827",
"0.4673",
"0.8403",
"0.0809",
"0.8403"
],
[
"0.524",
"0.8257",
"0.892",
"0.8257",
"0.892",
"0.839",
"0.524",
"0.839"
],
[
"0.0825",
"0.8423",
"0.468",
"0.8423",
"0.468",
"0.856",
"0.0825",
"0.856"
],
[
"0.5034",
"0.8403",
"0.818",
"0.8403",
"0.818",
"0.854",
"0.5034",
"0.854"
],
[
"0.0801",
"0.856",
"0.468",
"0.857",
"0.468",
"0.8706",
"0.0801",
"0.869"
],
[
"0.5186",
"0.8623",
"0.8906",
"0.863",
"0.8906",
"0.8774",
"0.5186",
"0.877"
],
[
"0.0809",
"0.872",
"0.3218",
"0.872",
"0.3218",
"0.8853",
"0.0809",
"0.8853"
],
[
"0.5034",
"0.8755",
"0.8906",
"0.8755",
"0.8906",
"0.8896",
"0.5034",
"0.8896"
],
[
"0.10297",
"0.887",
"0.468",
"0.887",
"0.468",
"0.901",
"0.10297",
"0.901"
],
[
"0.5024",
"0.887",
"0.8057",
"0.888",
"0.8057",
"0.9014",
"0.5024",
"0.901"
],
[
"0.4805",
"0.925",
"0.4927",
"0.925",
"0.4927",
"0.9375",
"0.4805",
"0.9375"
]
] | [
"1. False Familiarity vs. False Novelty: What type of",
"2.3. Iterative attacks",
"attack is more effective?",
"送代方法可以产生更多不同的扰动,但计算成本更",
"2. FGSM vs. iterative attacks: Is it worth exploring",
"高。基本选代方法(BIM)【12]送代地应用FGSM更",
"more flexible iterative attacks to improve upon the",
"新,并通过以下方式进行描述:",
"fast gradient sign method (FGSM)?",
"cadv= c",
"(4)",
"3. Uninformed vs. informed attacks: How can ad-",
"cadi = Clipre(cadv +α sign(VaC(0, aady,y))). (5)",
"versarial attacks profit when the type of input is",
"given (i.e., closed-set or open-set sample)?",
"在此方法中,可以调整步长α和迭代次数,以在运行",
"时间和性能之间获得所需的权衡。替代方法的灵感来",
"2.Methodology",
"自基于梯度的优化器,使用动量来提高性能「4]。我们",
"研究了一种使用RPROP[16,5]】的迭代方法,该方法",
"2.1. Familiarity-based open-set recognition (OSR)",
"以自适应步长放宽了BIM的固定步长Q:",
"我们考虑一个输人空间和一组熟悉类别的F,i。",
"e。闭集。在闭集识别(CSR)中,目标是对概率p(y",
"cadi = Clipr.(αadv + Step(C, 0, aadv,y)) , (6)",
"c,yEF)进行建模,其中y是与输人ax相关联的",
"标签。该模型在训练数据集Dtrain ={(X,,yi))=1C",
"其中Step(C,0,aadv,y)表示通过某些迭代优化方法",
"×F上进行训练,并在包含训练时间给定类别的",
"计算的更新步骤。RPROP在送代时分别为每个可优化",
"非重叠闭集测试集Dtest-esr=((X,yi))CX×F",
"参数调整步长-在每个通道的每个像素对图像进行对抗",
"上进行评估。我们考虑由θ参数化的深度神经网络",
"性攻击的情况下。用RPROP创建的对抗性扰动可能",
"fe:→RlFl来建模 p(yla,yEF)。在这里,fe将",
"是稀疏的,因此可能不太明显。为了与FGSM进行公",
"输入映射到使用softmax函数α:RF→(O,1)F归",
"平的比较,扰动被裁剪为ε。",
"化的对数向量,以获得熟悉类别的伪概率",
"2.4. Adversarial attacks on familiarity-based OSR",
"在开放集识别(OSR)设置中,还考虑了一组新颖",
"类别的人,并使用包含来自新颖和熟悉类的输入的",
"FalseFamiliarity(FalseNegative,FN)。FalseFamiliar-",
"测试集来评估OSR性能:Dtest-osr={(Xi,)=C",
"ity攻击旨在增加任意熟悉类别的logit(或softmax概",
"×(FUN)。通常使用包含相同数量的熟悉样本和新",
"率),这类似于闭集识别「11]中的目标攻击。我们研究",
"颖样本的平衡测试集来评估OSR性能。为了确定是否",
"了三个目标函数来实现此攻击:",
"对yEF,熟悉度得分S(yEF)进行建模,以对",
"Cmax(0, a,y) =max fe(a)y",
"(7)",
"Dtest-osr中的测试样本进行排名。基于熟悉度的评分规",
"则包括最大Softmax概率(MSP)得分8:",
"[1mm]C2-norm(0,a,y) = Ilfe(a)]/2",
"(8)",
"SMsp(y EF|a) :=maxo(fe())y",
"(1)",
"[3mm]Clog-Msp(0, a, y) = log maxo(fe(a))y (9)",
"和最大Logit得分(MLS)[22,3]:",
"在ODIN方法E[14](在广义的ODINE[9]中进行了",
"改进)中提出了log-MSP损失,以对具有对抗性扰动",
"SMLs(y E F I a) := max fe(a)y,",
"(2)",
"的图像进行预处理,以使用MSP分数改善OOD检测。",
"4",
",其在先前工作中的表现优于MSP得分[22]。对于这",
"假新颖性(假阳性,FP)。在这种可能更具挑战性",
"两种评分规则,高分表示熟悉,低分表示新颖的类别",
"的设置中,我们可能必须通过单个FGSM步骤或多个",
"迭代步骤来减少多个类别的logit。仅奖励最大logit减",
"2.2. Fast gradient sign method (FGSM)",
"少的目标函数可能会失败,因此,除了max之外,我",
"们还研究了C2-norm和sum-exp损失:???范数鼓励减",
"生成对抗性输人的一种简单有效的方法是快速梯度",
"符号方法(FGSM),该方法最初由[6]描述。FGSM使",
"少非最大logits,同时仍然优先考虑最大logit。然而,",
"2范数的一个限制是它是非负的。由于logits是未归一",
"用以下公式生成对抗性输入aadv:",
"化的并且可能是负的,因此如果目标函数也使logits为",
"aadv=+esign[a(o,a,y)]",
"(3)",
"负,则最好。这导致我们提出了sum-exp损失,如果",
"",
"logit变为负数,该损失将继续减少",
"这里&表示未修改的输人,第二项称为对抗性扰动,其",
"重要的是,虽然FalseFamiliarity攻击使这些目标最",
"中ε控制扰动的大小。最初,C设置为训练目标[6]",
"大化,但FalseNovelty攻击却使它们最小化",
"但可以是对手旨在优化的任何目标函数。对抗性扰动",
"*While this is not further investigated in this work, our OSR",
"受到约束,使得aadv-alo≤e",
"experiments did not confirm an improvement of the MSP score",
"与FGSM相比,通过以更灵活的方式优化目标函数,",
"as also mentioned in other independent work [3] .",
"2"
] | {
"arxiv_id": "2311.05006",
"language": "zh",
"page_idx": 1
} |
||
2311.05006-zh-2 | 2311.05006-zh-2.jpg | <FigureHere>
Figure 2: Uninformed FGSM attacks. Fast gradient sign method (FGSM) attacks on TinyImageNet. Left: False
Familiarity (false negative, FN) attacks. Right: False Novelty (false positive, FP) attacks. (a,b) The OSR ranking measured by AUROC. ( c, d) Median Maximum Logit Score ( MLS) w. r. t. original scores. ( e, f) Qualitative examples of adversarial perturbation.
不知情 vs。知情攻击。如果对手可以访问输人的二进制集标签,我们称之为通知攻击,即。e。闭集 vs。open-set,如果该信息不可用,则不知情[10]。在不知$\bar{\text{情的设置中,对所有图像应用 FP 或 FN 攻击,而不考}}$ 虑图像是新颖的还是熟悉的。对于知情的对手,FN 攻击是在新图像上执行的,而 FP 攻击仅在熟悉的图像上执行。
# 3. Experimental results
别
我们报告了具有接收器-操作员曲线下面积(AUROC) 的五个分裂中的第一个的 MLS 的 OSR 性能。AUROC 是一个无阈值指标,用于评估从开放集到封闭集样本的排名。由于更高的 AUROC 意味着更好的OSR 性能,对抗性攻击旨在降低 AUROC
什么类型的攻击更有效?它取决于。在不知情的 FGSM 实验中,假新颖性(FalsePositive, FP) 攻击在破坏排名方面更有效,即。e。降低 AUROC,而不是在相同幅度的$\varepsilon$对抗性扰动下的 FalseFamiliarity (FalseNegative, FN) 攻击 (图。2a 、2b )。然而,我们在知情的设置中观察到相反的情况(图。3),其中 FN 攻击的AUROC 低于 FP 攻击。为了理解这种行为,我们查看攻击前后的分数分布
提高 logit 分数太容易了。或者换句话说,放大熟悉的特征。虽然 FN 攻击旨在放大开放集的熟悉特征以导致错过的新颖性,但相比之下,FP 攻击旨在隐藏熟悉的特征以减少封闭集类别的熟悉度。我们记得,制服攻击是在新的和熟悉的图像上进行的。即使 FN 攻击可
我们使用 TinyImageNet 数据集[13]进行实验,该数据集被描述为 OSR 文献 [22] 中使用的最具挑战性的基准之一。在这里,我们使用 Vaze 等人提出的开集分裂。[22] 并遵循其实验设置。TinyImageNet 由 200个 ImageNet 类别 [17] 的子集组成,其中 20 个类用作闭集训练数据集,180 个类用作开集。使用的 CNN 架构是 VGG32 $^{*}$,这是 VGG 架构[21] 的轻量级版本。这导致复制的闭集精度为 84。2 个% 平均超过五个类
$^*$We use the model weights published on: https://github.com/ sgvaze/osr\_closed\_set\_all\_you\_need (accessed2023-05-23).
3 | [
[
"0.1013",
"0.1042",
"0.1259",
"0.1042",
"0.1259",
"0.11554",
"0.1013",
"0.11554"
],
[
"0.527",
"0.1048",
"0.5474",
"0.1048",
"0.5474",
"0.11554",
"0.527",
"0.11554"
],
[
"0.7974",
"0.1016",
"0.8667",
"0.1016",
"0.8667",
"0.113",
"0.7974",
"0.113"
],
[
"0.4968",
"0.11743",
"0.5537",
"0.11426",
"0.5596",
"0.1654",
"0.5024",
"0.1686"
],
[
"0.796",
"0.11554",
"0.8506",
"0.11554",
"0.8506",
"0.127",
"0.796",
"0.127"
],
[
"0.794",
"0.127",
"0.8716",
"0.127",
"0.8716",
"0.1383",
"0.794",
"0.1383"
],
[
"0.076",
"0.1187",
"0.1283",
"0.11554",
"0.134",
"0.1654",
"0.0809",
"0.1686"
],
[
"0.1666",
"0.1477",
"0.2427",
"0.1477",
"0.2427",
"0.159",
"0.1666",
"0.159"
],
[
"0.165",
"0.1604",
"0.2197",
"0.1604",
"0.2197",
"0.1718",
"0.165",
"0.1718"
],
[
"0.524",
"0.1642",
"0.5474",
"0.1642",
"0.5474",
"0.1768",
"0.524",
"0.1768"
],
[
"0.1666",
"0.1724",
"0.2378",
"0.1724",
"0.2378",
"0.1831",
"0.1666",
"0.1831"
],
[
"0.10455",
"0.1654",
"0.1217",
"0.1654",
"0.1217",
"0.1749",
"0.10455",
"0.1749"
],
[
"0.10455",
"0.1849",
"0.11926",
"0.1849",
"0.11926",
"0.1932",
"0.10455",
"0.1932"
],
[
"0.3733",
"0.1895",
"0.3962",
"0.1925",
"0.392",
"0.2058",
"0.3694",
"0.2026"
],
[
"0.527",
"0.1849",
"0.544",
"0.1849",
"0.544",
"0.1945",
"0.527",
"0.1945"
],
[
"0.1323",
"0.1925",
"0.156",
"0.1925",
"0.156",
"0.2052",
"0.1323",
"0.2052"
],
[
"0.1936",
"0.1925",
"0.2157",
"0.1925",
"0.2157",
"0.2052",
"0.1936",
"0.2052"
],
[
"0.2507",
"0.1925",
"0.2754",
"0.1925",
"0.2754",
"0.2052",
"0.2507",
"0.2052"
],
[
"0.312",
"0.1925",
"0.3367",
"0.1925",
"0.3367",
"0.2052",
"0.312",
"0.2052"
],
[
"0.433",
"0.1925",
"0.4558",
"0.1925",
"0.4558",
"0.2052",
"0.433",
"0.2052"
],
[
"0.5557",
"0.1925",
"0.5767",
"0.1925",
"0.5767",
"0.2052",
"0.5557",
"0.2052"
],
[
"0.615",
"0.1925",
"0.638",
"0.1925",
"0.638",
"0.2052",
"0.615",
"0.2052"
],
[
"0.675",
"0.1925",
"0.699",
"0.1925",
"0.699",
"0.2052",
"0.675",
"0.2052"
],
[
"0.7363",
"0.1925",
"0.759",
"0.1925",
"0.759",
"0.2052",
"0.7363",
"0.2052"
],
[
"0.794",
"0.1932",
"0.818",
"0.1932",
"0.818",
"0.2052",
"0.794",
"0.2052"
],
[
"0.8555",
"0.1925",
"0.8784",
"0.1925",
"0.8784",
"0.2052",
"0.8555",
"0.2052"
],
[
"0.1887",
"0.2039",
"0.3962",
"0.2052",
"0.3962",
"0.2166",
"0.1887",
"0.2153"
],
[
"0.6113",
"0.2039",
"0.822",
"0.2039",
"0.822",
"0.2172",
"0.6113",
"0.2172"
],
[
"0.2646",
"0.2229",
"0.2852",
"0.2229",
"0.2852",
"0.2349",
"0.2646",
"0.2349"
],
[
"0.687",
"0.2229",
"0.709",
"0.2229",
"0.709",
"0.2349",
"0.687",
"0.2349"
],
[
"0.3218",
"0.2474",
"0.398",
"0.2474",
"0.398",
"0.2588",
"0.3218",
"0.2588"
],
[
"0.6323",
"0.2488",
"0.7036",
"0.2488",
"0.7036",
"0.2588",
"0.6323",
"0.2588"
],
[
"0.7524",
"0.2474",
"0.831",
"0.2474",
"0.831",
"0.2588",
"0.7524",
"0.2588"
],
[
"0.3203",
"0.26",
"0.3757",
"0.26",
"0.3757",
"0.2715",
"0.3203",
"0.2715"
],
[
"0.1013",
"0.252",
"0.125",
"0.252",
"0.125",
"0.2632",
"0.1013",
"0.2632"
],
[
"0.63",
"0.26",
"0.687",
"0.26",
"0.687",
"0.2715",
"0.63",
"0.2715"
],
[
"0.7485",
"0.26",
"0.8716",
"0.2615",
"0.8716",
"0.2727",
"0.7485",
"0.2715"
],
[
"0.3203",
"0.2727",
"0.392",
"0.2727",
"0.392",
"0.2842",
"0.3203",
"0.2842"
],
[
"0.524",
"0.2632",
"0.5474",
"0.2632",
"0.5474",
"0.2766",
"0.524",
"0.2766"
],
[
"0.08417",
"0.2747",
"0.1274",
"0.2747",
"0.1274",
"0.3018",
"0.08417",
"0.3018"
],
[
"0.3162",
"0.2822",
"0.4534",
"0.2842",
"0.4534",
"0.2986",
"0.3162",
"0.2966"
],
[
"0.509",
"0.2778",
"0.524",
"0.2778",
"0.524",
"0.2986",
"0.509",
"0.2986"
],
[
"0.517",
"0.2935",
"0.5483",
"0.2935",
"0.5483",
"0.3062",
"0.517",
"0.3062"
],
[
"0.10297",
"0.3245",
"0.12335",
"0.3245",
"0.12335",
"0.3352",
"0.10297",
"0.3352"
],
[
"0.5254",
"0.3225",
"0.5474",
"0.3225",
"0.5474",
"0.3352",
"0.5254",
"0.3352"
],
[
"0.1323",
"0.3384",
"0.156",
"0.3384",
"0.156",
"0.351",
"0.1323",
"0.351"
],
[
"0.1929",
"0.3384",
"0.2173",
"0.3384",
"0.2173",
"0.351",
"0.1929",
"0.351"
],
[
"0.2507",
"0.3384",
"0.2769",
"0.3384",
"0.2769",
"0.351",
"0.2507",
"0.351"
],
[
"0.312",
"0.3384",
"0.3367",
"0.3384",
"0.3367",
"0.351",
"0.312",
"0.351"
],
[
"0.3708",
"0.3384",
"0.3945",
"0.3384",
"0.3945",
"0.351",
"0.3708",
"0.351"
],
[
"0.4346",
"0.3384",
"0.4558",
"0.3384",
"0.4558",
"0.351",
"0.4346",
"0.351"
],
[
"0.5557",
"0.3384",
"0.5786",
"0.3384",
"0.5786",
"0.351",
"0.5557",
"0.351"
],
[
"0.615",
"0.3384",
"0.638",
"0.3384",
"0.638",
"0.351",
"0.615",
"0.351"
],
[
"0.675",
"0.3384",
"0.699",
"0.3384",
"0.699",
"0.351",
"0.675",
"0.351"
],
[
"0.7344",
"0.3384",
"0.7607",
"0.3384",
"0.7607",
"0.351",
"0.7344",
"0.351"
],
[
"0.794",
"0.339",
"0.819",
"0.339",
"0.819",
"0.351",
"0.794",
"0.351"
],
[
"0.8555",
"0.3384",
"0.8784",
"0.3384",
"0.8784",
"0.351",
"0.8555",
"0.351"
],
[
"0.1887",
"0.351",
"0.3962",
"0.351",
"0.3962",
"0.361",
"0.1887",
"0.361"
],
[
"0.6094",
"0.3499",
"0.822",
"0.3499",
"0.822",
"0.363",
"0.6094",
"0.363"
],
[
"0.2632",
"0.3674",
"0.2852",
"0.3674",
"0.2852",
"0.3801",
"0.2632",
"0.3801"
],
[
"0.6855",
"0.3674",
"0.709",
"0.3674",
"0.709",
"0.3801",
"0.6855",
"0.3801"
],
[
"0.179",
"0.3833",
"0.2157",
"0.3833",
"0.2157",
"0.3933",
"0.179",
"0.3933"
],
[
"0.2566",
"0.3833",
"0.2932",
"0.3833",
"0.2932",
"0.3933",
"0.2566",
"0.3933"
],
[
"0.335",
"0.3818",
"0.3677",
"0.3818",
"0.3677",
"0.3933",
"0.335",
"0.3933"
],
[
"0.601",
"0.3833",
"0.638",
"0.3833",
"0.638",
"0.3933",
"0.601",
"0.3933"
],
[
"0.411",
"0.3838",
"0.4453",
"0.3838",
"0.4453",
"0.3933",
"0.411",
"0.3933"
],
[
"0.10706",
"0.3838",
"0.1356",
"0.3838",
"0.1356",
"0.3926",
"0.10706",
"0.3926"
],
[
"0.5293",
"0.3838",
"0.558",
"0.3838",
"0.558",
"0.3926",
"0.5293",
"0.3926"
],
[
"0.681",
"0.3838",
"0.716",
"0.3838",
"0.716",
"0.3933",
"0.681",
"0.3933"
],
[
"0.759",
"0.3838",
"0.7876",
"0.3838",
"0.7876",
"0.3926",
"0.759",
"0.3926"
],
[
"0.835",
"0.3838",
"0.869",
"0.3838",
"0.869",
"0.3933",
"0.835",
"0.3933"
],
[
"0.2646",
"0.512",
"0.2852",
"0.512",
"0.2852",
"0.5244",
"0.2646",
"0.5244"
],
[
"0.687",
"0.511",
"0.7075",
"0.511",
"0.7075",
"0.5244",
"0.687",
"0.5244"
],
[
"0.0809",
"0.528",
"0.892",
"0.528",
"0.892",
"0.5415",
"0.0809",
"0.5415"
],
[
"0.0801",
"0.5415",
"0.892",
"0.5435",
"0.892",
"0.558",
"0.0801",
"0.556"
],
[
"0.0801",
"0.558",
"0.892",
"0.558",
"0.892",
"0.5713",
"0.0801",
"0.5713"
],
[
"0.0784",
"0.5737",
"0.2754",
"0.5737",
"0.2754",
"0.587",
"0.0784",
"0.587"
],
[
"0.1013",
"0.601",
"0.4697",
"0.601",
"0.4697",
"0.6143",
"0.1013",
"0.6143"
],
[
"0.5024",
"0.601",
"0.523",
"0.601",
"0.523",
"0.6143",
"0.5024",
"0.6143"
],
[
"0.0809",
"0.6157",
"0.468",
"0.6157",
"0.468",
"0.63",
"0.0809",
"0.63"
],
[
"0.523",
"0.619",
"0.8906",
"0.619",
"0.8906",
"0.6333",
"0.523",
"0.6333"
],
[
"0.0809",
"0.631",
"0.4673",
"0.631",
"0.4673",
"0.6445",
"0.0809",
"0.6445"
],
[
"0.5024",
"0.6353",
"0.888",
"0.6353",
"0.888",
"0.6484",
"0.5024",
"0.6484"
],
[
"0.0809",
"0.646",
"0.4673",
"0.646",
"0.4673",
"0.66",
"0.0809",
"0.66"
],
[
"0.5034",
"0.651",
"0.8906",
"0.651",
"0.8906",
"0.664",
"0.5034",
"0.664"
],
[
"0.0825",
"0.66",
"0.468",
"0.66",
"0.468",
"0.674",
"0.0825",
"0.674"
],
[
"0.5034",
"0.6655",
"0.8906",
"0.664",
"0.8906",
"0.6787",
"0.5034",
"0.6797"
],
[
"0.0809",
"0.6753",
"0.468",
"0.6753",
"0.468",
"0.6895",
"0.0809",
"0.6895"
],
[
"0.5034",
"0.681",
"0.8057",
"0.681",
"0.8057",
"0.6943",
"0.5034",
"0.6943"
],
[
"0.0809",
"0.6895",
"0.1396",
"0.6914",
"0.1381",
"0.7056",
"0.0801",
"0.704"
],
[
"0.505",
"0.7007",
"0.892",
"0.7007",
"0.892",
"0.714",
"0.505",
"0.714"
],
[
"0.1054",
"0.7197",
"0.2852",
"0.7197",
"0.2852",
"0.7344",
"0.1054",
"0.7344"
],
[
"0.5024",
"0.7153",
"0.8896",
"0.714",
"0.8896",
"0.729",
"0.5024",
"0.73"
],
[
"0.0809",
"0.7217",
"0.1111",
"0.7217",
"0.1111",
"0.7344",
"0.0809",
"0.7344"
],
[
"0.505",
"0.731",
"0.8906",
"0.731",
"0.8906",
"0.744",
"0.505",
"0.744"
],
[
"0.10046",
"0.7456",
"0.468",
"0.7456",
"0.468",
"0.759",
"0.10046",
"0.759"
],
[
"0.5024",
"0.7456",
"0.8906",
"0.744",
"0.8906",
"0.759",
"0.5024",
"0.7603"
],
[
"0.0809",
"0.761",
"0.468",
"0.761",
"0.468",
"0.7744",
"0.0809",
"0.7744"
],
[
"0.5034",
"0.761",
"0.8906",
"0.761",
"0.8906",
"0.7744",
"0.5034",
"0.7744"
],
[
"0.0809",
"0.776",
"0.468",
"0.776",
"0.468",
"0.789",
"0.0809",
"0.789"
],
[
"0.505",
"0.776",
"0.8906",
"0.776",
"0.8906",
"0.7905",
"0.505",
"0.7905"
],
[
"0.0809",
"0.789",
"0.468",
"0.7905",
"0.468",
"0.8047",
"0.0809",
"0.8037"
],
[
"0.505",
"0.7915",
"0.8906",
"0.7915",
"0.8906",
"0.8047",
"0.505",
"0.8047"
],
[
"0.0825",
"0.806",
"0.4673",
"0.806",
"0.4673",
"0.8193",
"0.0825",
"0.8193"
],
[
"0.5024",
"0.8066",
"0.6504",
"0.8066",
"0.6504",
"0.821",
"0.5024",
"0.821"
],
[
"0.0809",
"0.821",
"0.468",
"0.821",
"0.468",
"0.834",
"0.0809",
"0.834"
],
[
"0.5034",
"0.8257",
"0.8906",
"0.8257",
"0.8906",
"0.8403",
"0.5034",
"0.8403"
],
[
"0.0825",
"0.836",
"0.468",
"0.836",
"0.468",
"0.8496",
"0.0825",
"0.8496"
],
[
"0.5034",
"0.8413",
"0.8906",
"0.8413",
"0.8906",
"0.855",
"0.5034",
"0.855"
],
[
"0.0801",
"0.851",
"0.468",
"0.8496",
"0.468",
"0.8643",
"0.0801",
"0.8657"
],
[
"0.5034",
"0.857",
"0.8896",
"0.857",
"0.8896",
"0.8706",
"0.5034",
"0.8706"
],
[
"0.09644",
"0.8735",
"0.468",
"0.875",
"0.468",
"0.8896",
"0.09644",
"0.888"
],
[
"0.5034",
"0.872",
"0.8906",
"0.872",
"0.8906",
"0.8853",
"0.5034",
"0.8853"
],
[
"0.0809",
"0.887",
"0.455",
"0.887",
"0.455",
"0.901",
"0.0809",
"0.901"
],
[
"0.5034",
"0.886",
"0.8906",
"0.886",
"0.8906",
"0.901",
"0.5034",
"0.901"
],
[
"0.478",
"0.924",
"0.4944",
"0.924",
"0.4944",
"0.938",
"0.478",
"0.938"
]
] | [
"0.8",
"0.8",
"2-Norm Loss",
"",
"Max Loss",
"Sum-ExpLoss",
"",
"Log-MSPLoss",
"Max Loss",
"0.5",
"2-Norm Loss",
"0.5",
"0.4",
"0.8",
"0.4",
"0.0",
"0.2",
"0.4",
"0.6",
"1.0",
"0.0",
"0.2",
"0.4",
"0.6",
"0.8",
"1.0",
"-Sizeof theAdvesarial Perturbation",
" - Size of the Advesarial Perturbation.",
"(a)",
"(b)",
"Log-MSP Loss",
"2-NormLoss",
"Sum-Exp Loss",
"MaxLoss",
"1.5",
"Max Loss",
"1stPercentileonDtest",
"2-Norm Loss",
"0.4",
"1.0",
"99th Percentile on Dtest",
"STW",
"0.3",
"0.5",
"0.2",
"0.0",
"0.2",
"0.4",
"0.6",
"0.8",
"1.0",
"0.0",
"0.2",
"0.4",
"0.6",
"0.8",
"1.0",
"-Size oftheAdvesarial Perturbation",
" - Size of the Advesarial Perturbation.",
"(c)",
"(d)",
"E=0.04",
"E=0.07",
"E=0.1",
"E=0.04",
"E=0.14",
"E=0.0",
"E=0.0",
"E=0.07",
"E=0.1",
"E=0.14",
"(e)",
"(f)",
"Figure 2: Uninformed FGSM attacks. Fast gradient sign method (FGSM) attacks on TinyImageNet. Left: False",
"Familiarity (false negative, FN) attacks. Right: False Novelty (false positive, FP) attacks. (a,b) The OSR ranking",
"measured by AUROC. (c,d) Median Maximum Logit Score (MLS) w.r.t. original scores. (e,f) Qualitative examples",
"of adversarial perturbation.",
"不知情VS。知情攻击。如果对手可以访问输人的二",
"别",
"进制集标签,我们称之为通知攻击,即。e。闭集vs。",
"我们报告了具有接收器-操作员曲线下面积(AU-",
"open-set,如果该信息不可用,则不知情「10】。在不知",
"ROC)的五个分裂中的第一个的MLS的OSR性能",
"情的设置中,对所有图像应用FP或FN攻击,而不考",
"AUROC是一个无阈值指标,用于评估从开放集到封",
"虑图像是新颖的还是熟悉的。对于知情的对手,FN攻",
"闭集样本的排名。由于更高的AUROC意味着更好的",
"击是在新图像上执行的,而FP攻击仅在熟悉的图像",
"OSR性能,对抗性攻击旨在降低AUROC",
"上执行。",
"什么类型的攻击更有效?它取决于。在不知情的FGSM",
"Experimental results",
"实验中,假新颖性(FalsePositive,FP)攻击在破坏排名",
"3.",
"方面更有效,即。e。降低AUROC,而不是在相同幅度",
"我们使用TinyImageNet数据集[13】进行实验,该",
"的对抗性扰动下的FalseFamiliarity(FalseNegative",
"数据集被描述为OSR文献[22]中使用的最具挑战性",
"FN)攻击(图。2a2b)。然而,我们在知情的设",
"的基准之一。在这里,我们使用Vaze等人提出的开集",
"置中观察到相反的情况(图。3),其中FN攻击的",
"分裂。[22]并遵循其实验设置。TinyImageNet由200",
"AUROC低于FP攻击。为了理解这种行为,我们查看",
"个ImageNet类别「17]的子集组成,其中20个类用作",
"攻击前后的分数分布",
"闭集训练数据集,180个类用作开集。使用的CNN架",
"提高logit分数太容易了。或者换句话说,放大熟悉的",
"构是VGG32*,这是VGG架构[21]的轻量级版本。",
"特征。虽然FN攻击旨在放大开放集的熟悉特征以导",
"这导致复制的闭集精度为84。2个%平均超过五个类",
"致错过的新颖性,但相比之下,FP攻击旨在隐藏熟悉",
"*We use the model weights published on: https:/ /github.com/",
"的特征以减少封闭集类别的熟悉度。我们记得,制服攻",
"sgvaze/osr_closed_set all you _ need (accessed 2023-05-23).",
"击是在新的和熟悉的图像上进行的。即使FN攻击可",
"3"
] | {
"arxiv_id": "2311.05006",
"language": "zh",
"page_idx": 2
} |
||
2311.05006-zh-3 | 2311.05006-zh-3.jpg | <FigureHere>
Figure 3: Informed attacks. False Positive (FP) attacks are performed on familiar samples (2-norm loss) and False Negative (FN) attacks on novel samples (max loss) . ( a) Fast gradient sign method ( FGSM) using $\varepsilon=0.07$ for FN and $\varepsilon=0.06$ for FP.(b) Our iterative method with $\varepsilon=0.07$ for FN and $\varepsilon=0.04$ for FP attacks.
以将中位数 MLS 提高到原始测试数据分数的第 99 个百分点以上 (图。2c ), AUROC 相当保留 (图。2a )。因此,FN 攻击不仅增加了熟悉度(i。e。; MLS),但也包括熟悉的样本,这保留了排名。相反,FP 攻击不能将中位数 MLS 降低到原始测试分数的第一个百分位以下,但是排名(AUROC)被有效地破坏了。这表明FP 攻击倾向于降低闭集的分数,而不是开集的分数。我们的实验证实了 Dietterich&Guyer$\underline{\mathrm{E}}[3]$的预测,即提高 logit 得分非常容易,这只会在知情的设置中导致有效的 FN 攻击。但是,我们的结果表明,对于不知情的攻击,轻松提高 logit 得分的能力并不是攻击基于熟悉度的 OSR 方法排名的关键
SR 分 公 排 名 的 大 键 Whichobjectivefunctionperformancebest? WhilesomeobjectivefungionsareabbeogectivefungionsareabiegertormbothtypesofathaqffefffEEF) ywapingthesig Su. Jun Zhung Su. Jun Zhun Hurentin addvesarial artart arth
2a 、2b )。FGSMFN 攻击使用 Log-MSP 损失实现最低的 AUROC, 使用 Max 损失实现第二低的 AUROC。对于 FP 攻击,$\epsilon<0.1$的最大损失达到最低的AUROC。而在$\epsilon\approx0.3$上,所有目标函数都达到了??? 的 AUROC。5, 对于$\epsilon>0.3,2$范数实现了更低的$\operatorname{AUROC}$
FGSMvs。迭代攻击。与使用相同甚至更小的$\varepsilon$的知情 FGSM 攻击相比,知情迭代攻击能够将 AUROC 降低一个数量级(图。3)。FP 攻击的 AUROC 从 0降低。34(FGSM)到0。06(迭代)和FN 攻击从0. 12(FGSM) 到 0。01(迭代)
知情攻击几乎完美地扭转了排名。知情的 FGSM 攻击可以大大改善不知情的攻击。InformedFGSManditerativeattacksareabletoreversether- distribution detection foreal- world settings. In Ka- ankingofnovelandfamiliarimagesalmostperfectlywhenusingbothFPiattRa' esonfamihia; rendaFilettgekssanngevessignrplsastø gether( Fig. ankingofnoveland
3 )。
# 4.Conclusion
我们已经研究了基于熟悉度的 OSR 方法对对抗性攻击的脆弱性。我们的 MLS 实验证实了 Diet-
terich&Guyer 的$\boxed{\mathrm{E}}[3]$ 预测,即可以通过对抗性扰动轻松提高 logit 得分。然而,这种能力只会导致在知情设置中有效的错误熟悉 (FN) 攻击。在不知情的情况下,FN 攻击不如 FP 攻击有效,相反,FP 攻击能够通过隐藏封闭集类别的熟悉特征来成功破坏排名。不知情的设置可能有助于制定新的评分规则。如果观察到的对抗性稳健性适用于其他熟悉度分数,例如 MSP, 则仍需测试。我们希望我们的发现可以为将来设计更好的评分规则做出贡献,并使熟悉度评分对对抗性攻击具有鲁棒性。。
5.
Acknowledgement P。E。和 C。G。感谢丹麦数据科学学院 (DDSA) 的旅行资助。N。L。,S。B。, 和 C。$\mathcal{I}$。感谢先锋中心对 AI 的支持,DNRF 授予编号 P1
## $\operatorname{References}$
[1] Abhijit Bendale and Terrance E Boult. Towards open
set deep networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1563-1572, 2016. 1
[2] Guangyao Chen, Peixi Peng, Xiangqian Wang, and
Yonghong Tian. Adversarial reciprocal points learning for open set recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(11):8065- 8081,2021. 1
[3] Thomas G. Dietterich and Alex Guyer. The familiarity
hypothesis: Explaining the behavior of deep open set methods. Pattern Recognition, 132:108931, 2022. 1, 2, 4
[4] Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang
Conference on Computer Vision and Pattern Recogni-
tion (CVPR), pages 9185-9193. IEEE, 2018. 2
[5] Ciprian Florescu and Christian Igel. Resilient back-
propagation (Rprop) for batch-learning in TensorFlow. In International Conference on Learning Representations (ICLR) Workshop, 2018. 2
[6] Ian J. Goodfellow, Jonathon Shlens, and Christian
Szegedy. Explaining and harnessing adversarial examples. In Yoshua Bengio and Yann LeCun, editors, 3rd International Conference on Learning Representations (ICLR$),2015.\color{red}{1,2}$
[7] Dan Hendrycks, Steven Basart, Mantas Mazeika,
Andy Zou, Joseph Kwon, Mohammadreza Mostajabi, Jacob Steinhardt, and Dawn Song. Scaling out-ofSzepesvari, Gang Niu, and Sivan Sabato, editors, Proceedings of the 39th International Conference on Machine Learning (ICML), volume 162, pages $8759–8773$, 17-23 Jul 2022. 1
[8] Dan Hendrycks and Kevin Gimpel. A baseline for de-
tecting misclassified and out-of-distribution examples
4 | [
[
"0.5024",
"0.09216",
"0.8906",
"0.09216",
"0.8906",
"0.1061",
"0.5024",
"0.1061"
],
[
"0.4019",
"0.108",
"0.4592",
"0.108",
"0.4592",
"0.1187",
"0.4019",
"0.1187"
],
[
"0.5024",
"0.108",
"0.8896",
"0.108",
"0.8896",
"0.1218",
"0.5024",
"0.1218"
],
[
"0.2091",
"0.10986",
"0.2632",
"0.10986",
"0.2632",
"0.11743",
"0.2091",
"0.11743"
],
[
"0.1478",
"0.10986",
"0.1871",
"0.10986",
"0.1871",
"0.11743",
"0.1478",
"0.11743"
],
[
"0.3423",
"0.10986",
"0.3816",
"0.10986",
"0.3816",
"0.11743",
"0.3423",
"0.11743"
],
[
"0.1462",
"0.1187",
"0.2051",
"0.1187",
"0.2051",
"0.1256",
"0.1462",
"0.1256"
],
[
"0.2035",
"0.1187",
"0.2632",
"0.1187",
"0.2632",
"0.1256",
"0.2035",
"0.1256"
],
[
"0.273",
"0.11615",
"0.3228",
"0.11615",
"0.3228",
"0.1963",
"0.273",
"0.1963"
],
[
"0.3406",
"0.1187",
"0.4575",
"0.1187",
"0.4575",
"0.1256",
"0.3406",
"0.1256"
],
[
"0.5024",
"0.1218",
"0.8906",
"0.1225",
"0.8906",
"0.137",
"0.5024",
"0.1364"
],
[
"0.339",
"0.1225",
"0.3857",
"0.125",
"0.384",
"0.1364",
"0.3381",
"0.1338"
],
[
"0.1438",
"0.125",
"0.1896",
"0.125",
"0.1896",
"0.1351",
"0.1438",
"0.1351"
],
[
"0.2075",
"0.125",
"0.2646",
"0.125",
"0.2646",
"0.1351",
"0.2075",
"0.1351"
],
[
"0.4019",
"0.125",
"0.4592",
"0.125",
"0.4592",
"0.1351",
"0.4019",
"0.1351"
],
[
"0.3367",
"0.132",
"0.384",
"0.1338",
"0.384",
"0.1445",
"0.3367",
"0.1427"
],
[
"0.0809",
"0.1256",
"0.1136",
"0.1193",
"0.11926",
"0.1364",
"0.0866",
"0.1427"
],
[
"0.2075",
"0.1332",
"0.2632",
"0.1332",
"0.2632",
"0.1433",
"0.2075",
"0.1433"
],
[
"0.4019",
"0.1332",
"0.4592",
"0.1332",
"0.4592",
"0.1433",
"0.4019",
"0.1433"
],
[
"0.1447",
"0.1351",
"0.1887",
"0.1351",
"0.1887",
"0.1427",
"0.1447",
"0.1427"
],
[
"0.08826",
"0.1364",
"0.10455",
"0.1364",
"0.10455",
"0.1515",
"0.08826",
"0.1515"
],
[
"0.505",
"0.137",
"0.892",
"0.137",
"0.892",
"0.1515",
"0.505",
"0.1515"
],
[
"0.0809",
"0.1509",
"0.1095",
"0.1395",
"0.11926",
"0.1547",
"0.0907",
"0.1666"
],
[
"0.5034",
"0.1528",
"0.892",
"0.1528",
"0.892",
"0.1666",
"0.5034",
"0.1666"
],
[
"0.09235",
"0.161",
"0.0972",
"0.161",
"0.0972",
"0.1749",
"0.09235",
"0.1749"
],
[
"0.5034",
"0.1674",
"0.8906",
"0.1674",
"0.8906",
"0.1812",
"0.5034",
"0.1812"
],
[
"0.09235",
"0.1736",
"0.0972",
"0.1736",
"0.0972",
"0.1831",
"0.09235",
"0.1831"
],
[
"0.2834",
"0.1849",
"0.3145",
"0.1849",
"0.3145",
"0.202",
"0.2834",
"0.202"
],
[
"0.5034",
"0.1831",
"0.888",
"0.1831",
"0.888",
"0.1963",
"0.5034",
"0.1963"
],
[
"0.10046",
"0.1895",
"0.1168",
"0.1895",
"0.1168",
"0.1963",
"0.10046",
"0.1963"
],
[
"0.5034",
"0.1963",
"0.8906",
"0.1976",
"0.8906",
"0.2122",
"0.5034",
"0.2108"
],
[
"0.3022",
"0.2108",
"0.3096",
"0.2108",
"0.3096",
"0.214",
"0.3022",
"0.214"
],
[
"0.5034",
"0.2134",
"0.892",
"0.2134",
"0.892",
"0.2267",
"0.5034",
"0.2267"
],
[
"0.1929",
"0.2197",
"0.2181",
"0.2197",
"0.2181",
"0.2279",
"0.1929",
"0.2279"
],
[
"0.259",
"0.2197",
"0.267",
"0.2247",
"0.2607",
"0.2291",
"0.2532",
"0.2235"
],
[
"0.2255",
"0.2203",
"0.2402",
"0.2203",
"0.2402",
"0.2291",
"0.2255",
"0.2291"
],
[
"0.1708",
"0.2203",
"0.1936",
"0.2203",
"0.1936",
"0.2279",
"0.1708",
"0.2279"
],
[
"0.3882",
"0.2203",
"0.4143",
"0.2203",
"0.4143",
"0.2279",
"0.3882",
"0.2279"
],
[
"0.3179",
"0.2216",
"0.326",
"0.2216",
"0.326",
"0.226",
"0.3179",
"0.226"
],
[
"0.1503",
"0.2216",
"0.1569",
"0.2216",
"0.1569",
"0.226",
"0.1503",
"0.226"
],
[
"0.3423",
"0.2216",
"0.3545",
"0.2216",
"0.3545",
"0.2279",
"0.3423",
"0.2279"
],
[
"0.455",
"0.2216",
"0.4592",
"0.2216",
"0.4592",
"0.2267",
"0.455",
"0.2267"
],
[
"0.423",
"0.2229",
"0.4307",
"0.2229",
"0.4307",
"0.2267",
"0.423",
"0.2267"
],
[
"0.1217",
"0.2229",
"0.1316",
"0.2197",
"0.134",
"0.2247",
"0.125",
"0.2279"
],
[
"0.1422",
"0.2279",
"0.2443",
"0.2311",
"0.2443",
"0.2424",
"0.1422",
"0.2393"
],
[
"0.3367",
"0.2291",
"0.4387",
"0.2311",
"0.4387",
"0.2412",
"0.3367",
"0.2393"
],
[
"0.5034",
"0.2291",
"0.619",
"0.2291",
"0.619",
"0.2424",
"0.5034",
"0.2424"
],
[
"0.1462",
"0.25",
"0.21",
"0.25",
"0.21",
"0.2615",
"0.1462",
"0.2615"
],
[
"0.3137",
"0.2488",
"0.433",
"0.2488",
"0.433",
"0.262",
"0.3137",
"0.262"
],
[
"0.5024",
"0.2568",
"0.5195",
"0.2568",
"0.5195",
"0.2727",
"0.5024",
"0.2727"
],
[
"0.0825",
"0.276",
"0.468",
"0.276",
"0.468",
"0.286",
"0.0825",
"0.286"
],
[
"0.523",
"0.2827",
"0.8906",
"0.2827",
"0.8906",
"0.2966",
"0.523",
"0.2966"
],
[
"0.0784",
"0.2903",
"0.4697",
"0.289",
"0.4697",
"0.303",
"0.0784",
"0.3037"
],
[
"0.5034",
"0.2974",
"0.892",
"0.2974",
"0.892",
"0.3113",
"0.5034",
"0.3113"
],
[
"0.0801",
"0.305",
"0.4697",
"0.305",
"0.4697",
"0.318",
"0.0801",
"0.318"
],
[
"0.0784",
"0.318",
"0.4697",
"0.3193",
"0.4697",
"0.334",
"0.0784",
"0.3333"
],
[
"0.501",
"0.3125",
"0.876",
"0.3125",
"0.876",
"0.3257",
"0.501",
"0.3257"
],
[
"0.0784",
"0.334",
"0.4697",
"0.3352",
"0.4697",
"0.3484",
"0.0784",
"0.348"
],
[
"0.5024",
"0.3403",
"0.5947",
"0.3423",
"0.5947",
"0.3567",
"0.5024",
"0.3547"
],
[
"0.0768",
"0.3499",
"0.468",
"0.3484",
"0.468",
"0.3623",
"0.0768",
"0.363"
],
[
"0.0801",
"0.3662",
"0.1365",
"0.3662",
"0.1365",
"0.3774",
"0.0801",
"0.3774"
],
[
"0.5107",
"0.3662",
"0.892",
"0.3662",
"0.892",
"0.3801",
"0.5107",
"0.3801"
],
[
"0.5337",
"0.3801",
"0.892",
"0.3801",
"0.892",
"0.3933",
"0.5337",
"0.3933"
],
[
"0.0809",
"0.3901",
"0.4673",
"0.3901",
"0.4673",
"0.404",
"0.0809",
"0.404"
],
[
"0.535",
"0.3945",
"0.892",
"0.3945",
"0.892",
"0.4077",
"0.535",
"0.4077"
],
[
"0.0809",
"0.4048",
"0.468",
"0.4048",
"0.468",
"0.4185",
"0.0809",
"0.4185"
],
[
"0.5317",
"0.4077",
"0.706",
"0.406",
"0.706",
"0.4192",
"0.5317",
"0.4216"
],
[
"0.0801",
"0.4192",
"0.468",
"0.4192",
"0.468",
"0.433",
"0.0801",
"0.433"
],
[
"0.5107",
"0.4224",
"0.8936",
"0.4224",
"0.8936",
"0.4363",
"0.5107",
"0.4363"
],
[
"0.0809",
"0.435",
"0.468",
"0.435",
"0.468",
"0.449",
"0.0809",
"0.449"
],
[
"0.5337",
"0.435",
"0.892",
"0.4363",
"0.892",
"0.4507",
"0.5337",
"0.4495"
],
[
"0.0809",
"0.4507",
"0.468",
"0.4507",
"0.468",
"0.464",
"0.0809",
"0.464"
],
[
"0.5337",
"0.4495",
"0.892",
"0.449",
"0.892",
"0.4634",
"0.5337",
"0.464"
],
[
"0.0801",
"0.464",
"0.468",
"0.4653",
"0.468",
"0.4797",
"0.0801",
"0.4792"
],
[
"0.5337",
"0.464",
"0.888",
"0.464",
"0.888",
"0.4778",
"0.5337",
"0.4778"
],
[
"0.0801",
"0.4792",
"0.4673",
"0.4797",
"0.4673",
"0.4944",
"0.0801",
"0.4937"
],
[
"0.536",
"0.4792",
"0.625",
"0.4792",
"0.625",
"0.4905",
"0.536",
"0.4905"
],
[
"0.0801",
"0.4944",
"0.468",
"0.4937",
"0.468",
"0.5083",
"0.0801",
"0.509"
],
[
"0.5107",
"0.4937",
"0.8906",
"0.4937",
"0.8906",
"0.507",
"0.5107",
"0.507"
],
[
"0.0809",
"0.5103",
"0.468",
"0.5103",
"0.468",
"0.5234",
"0.0809",
"0.5234"
],
[
"0.5337",
"0.507",
"0.892",
"0.507",
"0.892",
"0.521",
"0.5337",
"0.521"
],
[
"0.0809",
"0.526",
"0.468",
"0.526",
"0.468",
"0.539",
"0.0809",
"0.539"
],
[
"0.5337",
"0.5215",
"0.892",
"0.5215",
"0.892",
"0.535",
"0.5337",
"0.535"
],
[
"0.0801",
"0.539",
"0.468",
"0.5405",
"0.468",
"0.5547",
"0.0801",
"0.5537"
],
[
"0.536",
"0.5386",
"0.544",
"0.5386",
"0.544",
"0.5435",
"0.536",
"0.5435"
],
[
"0.509",
"0.549",
"0.8936",
"0.55",
"0.8936",
"0.5645",
"0.509",
"0.563"
],
[
"0.0809",
"0.556",
"0.29",
"0.556",
"0.29",
"0.5693",
"0.0809",
"0.5693"
],
[
"0.07434",
"0.5674",
"0.999",
"0.5684",
"0.999",
"0.5933",
"0.07434",
"0.5923"
],
[
"0.5317",
"0.5645",
"0.8906",
"0.5645",
"0.8906",
"0.5776",
"0.5317",
"0.5776"
],
[
"0.0784",
"0.5854",
"0.468",
"0.586",
"0.468",
"0.601",
"0.0784",
"0.5996"
],
[
"0.535",
"0.5913",
"0.892",
"0.5913",
"0.892",
"0.605",
"0.535",
"0.605"
],
[
"0.0809",
"0.6016",
"0.468",
"0.6016",
"0.468",
"0.6157",
"0.0809",
"0.6157"
],
[
"0.535",
"0.605",
"0.846",
"0.605",
"0.846",
"0.619",
"0.535",
"0.619"
],
[
"0.0809",
"0.616",
"0.468",
"0.616",
"0.468",
"0.631",
"0.0809",
"0.631"
],
[
"0.511",
"0.622",
"0.8896",
"0.622",
"0.8896",
"0.632",
"0.511",
"0.632"
],
[
"0.0809",
"0.632",
"0.468",
"0.632",
"0.468",
"0.646",
"0.0809",
"0.646"
],
[
"0.535",
"0.634",
"0.8896",
"0.634",
"0.8896",
"0.648",
"0.535",
"0.648"
],
[
"0.0809",
"0.648",
"0.468",
"0.648",
"0.468",
"0.661",
"0.0809",
"0.661"
],
[
"0.535",
"0.648",
"0.8906",
"0.648",
"0.8906",
"0.661",
"0.535",
"0.661"
],
[
"0.0825",
"0.6636",
"0.1438",
"0.6636",
"0.1438",
"0.675",
"0.0825",
"0.675"
],
[
"0.535",
"0.662",
"0.7534",
"0.662",
"0.7534",
"0.6753",
"0.535",
"0.6753"
],
[
"0.0801",
"0.678",
"0.468",
"0.678",
"0.468",
"0.6914",
"0.0801",
"0.6914"
],
[
"0.5107",
"0.677",
"0.892",
"0.677",
"0.892",
"0.69",
"0.5107",
"0.69"
],
[
"0.0809",
"0.6934",
"0.468",
"0.6934",
"0.468",
"0.707",
"0.0809",
"0.707"
],
[
"0.535",
"0.6924",
"0.8896",
"0.6924",
"0.8896",
"0.7026",
"0.535",
"0.7026"
],
[
"0.0809",
"0.7085",
"0.468",
"0.7085",
"0.468",
"0.7217",
"0.0809",
"0.7217"
],
[
"0.535",
"0.705",
"0.892",
"0.705",
"0.892",
"0.7183",
"0.535",
"0.7183"
],
[
"0.0784",
"0.7217",
"0.4697",
"0.7227",
"0.4697",
"0.7373",
"0.0784",
"0.7363"
],
[
"0.535",
"0.7183",
"0.892",
"0.7183",
"0.892",
"0.732",
"0.535",
"0.732"
],
[
"0.535",
"0.732",
"0.6626",
"0.732",
"0.6626",
"0.7456",
"0.535",
"0.7456"
],
[
"0.0809",
"0.738",
"0.273",
"0.738",
"0.273",
"0.752",
"0.0809",
"0.752"
],
[
"0.5107",
"0.7476",
"0.8906",
"0.7476",
"0.8906",
"0.761",
"0.5107",
"0.761"
],
[
"0.0809",
"0.754",
"0.4697",
"0.754",
"0.4697",
"0.7676",
"0.0809",
"0.7676"
],
[
"0.535",
"0.7603",
"0.8906",
"0.7603",
"0.8906",
"0.7734",
"0.535",
"0.7734"
],
[
"0.0809",
"0.7695",
"0.4673",
"0.7695",
"0.4673",
"0.7827",
"0.0809",
"0.7827"
],
[
"0.535",
"0.7744",
"0.892",
"0.7744",
"0.892",
"0.7886",
"0.535",
"0.7886"
],
[
"0.0801",
"0.784",
"0.4126",
"0.784",
"0.4126",
"0.7974",
"0.0801",
"0.7974"
],
[
"0.5317",
"0.789",
"0.8906",
"0.789",
"0.8906",
"0.803",
"0.5317",
"0.803"
],
[
"0.0768",
"0.7974",
"0.971",
"0.8",
"0.971",
"0.8164",
"0.0768",
"0.8145"
],
[
"0.0784",
"0.813",
"0.1136",
"0.8164",
"0.1111",
"0.83",
"0.076",
"0.827"
],
[
"0.535",
"0.8164",
"0.892",
"0.8164",
"0.892",
"0.83",
"0.535",
"0.83"
],
[
"0.5337",
"0.83",
"0.892",
"0.83",
"0.892",
"0.8447",
"0.5337",
"0.8447"
],
[
"0.10455",
"0.845",
"0.2051",
"0.845",
"0.2051",
"0.86",
"0.10455",
"0.86"
],
[
"0.535",
"0.8447",
"0.8906",
"0.8447",
"0.8906",
"0.858",
"0.535",
"0.858"
],
[
"0.536",
"0.8594",
"0.653",
"0.8594",
"0.653",
"0.869",
"0.536",
"0.869"
],
[
"0.0809",
"0.8467",
"0.1111",
"0.8467",
"0.1111",
"0.8594",
"0.0809",
"0.8594"
],
[
"0.10046",
"0.872",
"0.468",
"0.872",
"0.468",
"0.8853",
"0.10046",
"0.8853"
],
[
"0.5107",
"0.8735",
"0.8906",
"0.8735",
"0.8906",
"0.887",
"0.5107",
"0.887"
],
[
"0.0809",
"0.886",
"0.4673",
"0.886",
"0.4673",
"0.901",
"0.0809",
"0.901"
],
[
"0.5337",
"0.887",
"0.8936",
"0.887",
"0.8936",
"0.901",
"0.5337",
"0.901"
],
[
"0.4795",
"0.9253",
"0.4927",
"0.9253",
"0.4927",
"0.936",
"0.4795",
"0.936"
]
] | [
"terich&Guyer的[3预测,即可以通过对抗性扰动",
"AUROC:0.835",
"轻松提高logit得分。然而,这种能力只会导致在知情",
"AUR0C:0.835",
"No Attack",
"NoAttack",
"FP&FNAttack",
"AUR0C:0.807",
"",
"FP&FNAttackAUR0C:0.00",
"设置中有效的错误熟悉(FN)攻击。在不知情的情况",
"FPAttack",
"FPAttack",
"AUROC:8.340",
"AUROC;0.064",
"FNAttack",
"A0.8",
"AUROC; 8.126",
"AUROC;0.813",
"FN Attack",
"F",
"下,FN攻击不如FP攻击有效,相反,FP攻击能够",
"O",
"通过隐藏封闭集类别的熟悉特征来成功破坏排名。不",
"aA",
"知情的设置可能有助于制定新的评分规则。如果观察",
"SO",
"0.2",
"到的对抗性稳健性适用于其他熟悉度分数,例如MSP",
"0.2",
"则仍需测试。我们希望我们的发现可以为将来设计更",
"",
"好的评分规则做出贡献,并使熟悉度评分对对抗性攻",
"0.6",
"20",
"0.8",
"0.4",
"0.6",
"n",
"1",
"0.2",
"L",
"0",
"20",
"False Positive Rate; FpPTN",
"False Positive Rate; FPFPTN",
"击具有鲁棒性。。",
"(a) FGSM",
"(b) Iterative attack",
"5.",
"Figure3:Informedattacks.FalsePositive(FP)attacks",
"AcknowledgementP。E。和C。G。感谢丹麦数据",
"are performed on familiar samples (2-normloss)and",
"科学学院(DDSA)的旅行资助。N。L。,S。B。,和 C。",
"False Negative (FN) attacks on novel samples (max",
"loss). (a) Fast gradient sign method (FGSM) using",
"I。感谢先锋中心对AI的支持,DNRF授予编号P1",
"e=0.07forFNand=0.06forFP.(b)Ouriterative",
"References",
"methodwith=0.07forFNand=0.04forFP",
"attacks.",
"[1] Abhijit Bendale and Terrance E Boult. Towards open",
"set deep networks. In Proceedings of the IEEE con-",
"以将中位数MLS提高到原始测试数据分数的第99个",
"ference on computer vision and pattern recognition,",
"百分点以上(图。2c),AUROC相当保留(图。2a",
"pages1563-1572,2016.1",
")。因此,FN攻击不仅增加了熟悉度(i。e。;MLS),但",
"[2] Guangyao Chen, Peixi Peng, Xiangqian Wang, and",
"也包括熟悉的样本,这保留了排名。相反,FP攻击不",
"Yonghong Tian. Adversarial reciprocal points learning",
"能将中位数MLS降低到原始测试分数的第一个百分位",
"for open set recognition. IEEE Transactions on Pat-",
"以下,但是排名(AUROC)被有效地破坏了。这表明",
"tern Analysis and Machine Intelligence, 44(11):8065",
"FP攻击倾向于降低闭集的分数,而不是开集的分数。",
"8081,2021.1",
"我们的实验证实了Dietterich&GuyerE[3]的预测,即",
"[3] Thomas G. Dietterich and Alex Guyer. The familiarity",
"提高logit得分非常容易,这只会在知情的设置中导致",
"hypothesis: Explaining the behavior of deep open set",
"有效的FN攻击。但是,我们的结果表明,对于不知情",
"methods. Pattern Recognition, 132:108931, 2022. 1, 2,",
"的攻击,轻松提高logit得分的能力并不是攻击基于熟",
"4",
"[4] Yinpeng Dong, Fangzhou Liao, Tianyu Pang, Hang",
"悉度的OSR方法排名的关键",
"Whichobjectivefunctionperformancebest?Whilesomeobjectivefungdiepsariaraletonghmfatasbewingthesign,noob",
"Su, Jun Zhu Xiaolin Hu, and Jianguo Li, Boosting",
"2a、2b)。FGSMFN攻击使用Log-MSP损失实现最",
"Conference on Computer Vision and Pattern Recogni-",
"低的AUROC,使用Max损失实现第二低的AUROC。",
"tion (CVPR), pages 9185-9193. IEEE, 2018. 2",
"对于FP攻击,<0.1的最大损失达到最低的",
"[5] Ciprian Florescuand Christian Igel.Resilient back-",
"AUROC。而在E~0.3上,所有目标函数都达到了???",
"propagation (Rprop) for batch-learning in TensorFlow.",
"的AUROC。5,对于E>0.3,2范数实现了更低的",
"In International Conference on Learning Representa-",
"AUROC",
"tions (ICLR) Workshop, 2018. 2",
"FGSMvS。迭代攻击。与使用相同甚至更小的ε的知",
"[6] Ian J. Goodfellow, Jonathon Shlens, and Christian",
"情FGSM攻击相比,知情迭代攻击能够将AUROC降",
"Szegedy.Explainingand harnessingadversarial exam-",
"低一个数量级(图。3)。FP攻击的AUROC从0",
"ples. In Yoshua Bengio and Yann LeCun, editors, 3rd",
"降低。34(FGSM)到0。06(迭代)和FN攻击从0。",
"International Conference on Learning Representations",
"(ICLR), 2015. 1, 2",
"12(FGSM)到0。01(迭代)",
"[7] Dan Hendrycks, Steven Basart, Mantas Mazeika,",
"知情攻击几乎完美地扭转了排名。知情的FGSM",
"Andy Zou, Joseph Kwon, Mohammadreza Mostajabi.",
"攻击可以大大改善不知情的攻击。Informed-",
"Jacob Steinhardt, and Dawn Song. Scaling out-of-",
"FGSManditerativeattacksareabletoreversether-",
"distribution detection for real-world settings. In Ka-",
"ankingofnovelandfamiliarimagesalmostperfectlywhenusingbothFPattrsksanfamiliargetFNattgehs@nnevsJrgmplestagether(Fig",
"3)。",
"Szepesvari, Gang Niu, and Sivan Sabato, editors, Pro-",
"ceedings of the 39th International Conference on Ma-",
"Conclusion",
"chine Learning (ICML), volume 162, pages 8759-8773,",
"17-23Jul2022.1",
"4.",
"我们已经研究了基于熟悉度的OSR方法对对抗",
"[8] Dan Hendrycks and Kevin Gimpel. A baseline for de-",
"性攻击的脆弱性。我们的 MLS实验证实了Diet-",
"tecting misclassified and out-of-distribution examples",
"4"
] | {
"arxiv_id": "2311.05006",
"language": "zh",
"page_idx": 3
} |
||
2310.00280-zh-0 | 2310.00280-zh-0.jpg | push0 g 0 G$\underline {\mathrm{Preprint}}$
$\therefore$pop
=1
MATHX\_THMAXXMAX\_2
$\_$THMAX\_3\_Corex\_Corex-Review$_Code$
$Corex:$通过多模型协作推动复杂推理的边界
$\underset{\sim}{\operatorname*{\operatorname*{\operatorname*{Qiushi~Sun}}}}^{\circ\circ\circ*},\overset{\circ\circ}{\operatorname*{Zhangyue~Yin}}^{\bullet},\overset{\bullet}{\operatorname*{Xiang~Li}}^{\bullet},\overset{\circ}{\operatorname*{Zhiyong~Wu}}_{\circ}^{\circ\otimes},\overset{\circ}{\operatorname*{Xipeng~Qiu}}^{\bullet},\overset{\bullet}{\operatorname*{Lingpeng~Kong}}^{\bullet}$
Shark-NLP, Shanghai AI Laboratory $^{\bullet}$Fudan University$^{\circ}$National University of Singapore
$^{\bullet}$East China Normal University$^{\bullet}$The University of Hong Kong
[email protected], [email protected], [email protected]
[email protected], [email protected], [email protected]
# ABSTRACT
'push0 g 0 G pop Large Language Models (LLMs) are evolving at an unprecedented
pace and have exhibited considerable capability in the realm of natural language processing (NLP) with world knowledge. Benefiting from ultra-large-scale training corpora, a single LLM can manage typical NLP tasks competently. However, its performance in executing complex tasks is still confined by the limitations of its internal representation. To push this boundary further, we introduce X, a suite of novel general-purpose strategies that transform LLMs into autonomous agents, pioneering multi-agent collaborations for task-solving. Inspired by human behaviors, Xis constituted by diverse collaboration paradigms including Discuss, Review, and Retrieve modes, which collectively work towards enhancing the reasoning process. These paradigms foster task-agnostic approaches that enable LLM-based agents to “think outside the box,” thereby overcoming common errors and providing better solutions. Through extensive experiments across four different types of reasoning tasks, we demonstrate that orchestrating multiple agents to work in concert yields better results compared to existing strong methods. Further analysis reveals the cost-effectiveness $\hat{\text{of hile also exploring synergies between}}$ models of various scales and promoting annotation efficiency.
push0 g 0 G pop “A problem shared is a problem
$\bar{\text{halved."}}$
-English Proverb
1 INTRODUCTION
大型语言模型 (LLM) 已经成功地推进了一系列自然语言处理 (NLP) 任务的最新技术E ( pushrgb 00.0.5Brown et al. 'pop, 'pushrgb 00.0.52020 pop; 'pushrgb 0.0.5Chowdhery et al.'pop, pushrgb 00.0.52022 pop; 'pushrgb 00.0.5OpenAI pop, 'pushrgb 00.0.52023 pop; 'pushrgb 0.0 $\hat{0.5\text{Touvron et al.'pop, 'pushrgb }00}0.52023$ pop; $?,\hat\text{尤其是)。最近的研究( pushrgb }00.5$Wei et al. 'pop, 'pushrgb 000.52022 à pop) 表明 ,扩展模型 ( pushrgb 00.0.5Kaplan et al.'pop, 'pushrgb 00.0.52020 pop)可以在广泛的下游任务中提高性能和样本效率。尽管他们在( Pushrgb 00.0.5Ouyang et al.'pop, 'pushrgb 00.0.52022'pop)之后对语言理解和教学的精通,LLM $\tilde{\text{的推}}$ 理能力,通常被视为评估其潜力的标志,仍然存在挑战( Pushrgb 0 0.5Suzgun et al.'pop, pushrgb 0.0.52023 pop; 'pushrgb 0.0.5Huang& Chang pop, 'pushrgb 0.0.52023 pop)。同时,有一种普遍的观点认为,仅仅增加大小可能无法充分解决它们在解决推理任务中的固有局限性(pushrgb 00.0.5Rae et al.'pop, 'pushrgb 0.0.52022 pop)
为响应此挑战,'pushrgb 0 0 0.5Wei et al. 'pop ( pushrgb 0 0 0.52022b pop) 提出了思想链 (CoT), 提示 LLM 生成一系列针对最终答案的中间步骤,与使用“仅答案”提示形成对比。随后,提出了各种方法,例如自一致性解码$\overline{\mathrm{E}}($'pushrgb 0 0 0.5Wang et al.'pop, 'pushrgb 0 0 0.52023è pop) ,它利用多数投票机制来确定最终答案,以及利用代码生成来减少计算错误的程序辅助语言模型 (PAL; 'pushrgb 0 0 0.5Gao et al.'pop, 'pushrgb 0 0 0.52022'pop; 'pushrgb 0 0 0.5Chen et al. pop, 'pushrgb 0 0 0.52022a'pop )。此外,策划的提示需要特定于任务的设计 ( pushrgb 0
1
${^{\prime}}$push0 g 0 G
pop | [
[
"0.1732",
"0.03726",
"0.3137",
"0.03093",
"0.3145",
"0.0486",
"0.1748",
"0.05493"
],
[
"0.903",
"0.03915",
"0.9395",
"0.03915",
"0.9395",
"0.05493",
"0.903",
"0.05493"
],
[
"0.1748",
"0.1061",
"0.1978",
"0.1061",
"0.1978",
"0.1187",
"0.1748",
"0.1187"
],
[
"0.1748",
"0.127",
"0.3694",
"0.127",
"0.3694",
"0.1401",
"0.1748",
"0.1401"
],
[
"0.1772",
"0.1465",
"0.335",
"0.1477",
"0.335",
"0.1622",
"0.1772",
"0.161"
],
[
"0.33",
"0.1465",
"0.4478",
"0.1497",
"0.4478",
"0.1642",
"0.33",
"0.161"
],
[
"0.1732",
"0.1622",
"0.7295",
"0.161",
"0.7295",
"0.1818",
"0.1732",
"0.1831"
],
[
"0.568",
"0.1718",
"0.5786",
"0.1718",
"0.5786",
"0.1755",
"0.568",
"0.1755"
],
[
"0.183",
"0.207",
"0.822",
"0.207",
"0.822",
"0.2279",
"0.183",
"0.2279"
],
[
"0.1887",
"0.2279",
"0.7915",
"0.2279",
"0.7915",
"0.2424",
"0.1887",
"0.2424"
],
[
"0.1847",
"0.2437",
"0.601",
"0.2456",
"0.601",
"0.26",
"0.1847",
"0.2583"
],
[
"0.1854",
"0.26",
"0.7417",
"0.26",
"0.7417",
"0.2734",
"0.1854",
"0.2734"
],
[
"0.1847",
"0.2747",
"0.675",
"0.2747",
"0.675",
"0.2886",
"0.1847",
"0.2886"
],
[
"0.4534",
"0.3125",
"0.546",
"0.3125",
"0.546",
"0.327",
"0.4534",
"0.327"
],
[
"0.1953",
"0.3447",
"0.7656",
"0.3447",
"0.7656",
"0.358",
"0.1953",
"0.358"
],
[
"0.2336",
"0.3591",
"0.7656",
"0.3591",
"0.7656",
"0.3726",
"0.2336",
"0.3726"
],
[
"0.2336",
"0.3718",
"0.767",
"0.3718",
"0.767",
"0.3865",
"0.2336",
"0.3865"
],
[
"0.2336",
"0.3865",
"0.7656",
"0.3865",
"0.7656",
"0.401",
"0.2336",
"0.401"
],
[
"0.2336",
"0.401",
"0.7656",
"0.401",
"0.7656",
"0.414",
"0.2336",
"0.414"
],
[
"0.2336",
"0.414",
"0.7656",
"0.414",
"0.7656",
"0.428",
"0.2336",
"0.428"
],
[
"0.2345",
"0.428",
"0.7656",
"0.428",
"0.7656",
"0.4414",
"0.2345",
"0.4414"
],
[
"0.2336",
"0.4426",
"0.7656",
"0.4426",
"0.7656",
"0.4558",
"0.2336",
"0.4558"
],
[
"0.2336",
"0.4558",
"0.767",
"0.4558",
"0.767",
"0.4697",
"0.2336",
"0.4697"
],
[
"0.2345",
"0.4702",
"0.7646",
"0.4702",
"0.7646",
"0.481",
"0.2345",
"0.481"
],
[
"0.2336",
"0.483",
"0.7656",
"0.483",
"0.7656",
"0.4976",
"0.2336",
"0.4976"
],
[
"0.2336",
"0.4968",
"0.7656",
"0.4968",
"0.7656",
"0.5103",
"0.2336",
"0.5103"
],
[
"0.2361",
"0.512",
"0.7646",
"0.512",
"0.7646",
"0.523",
"0.2361",
"0.523"
],
[
"0.2345",
"0.5244",
"0.7656",
"0.5244",
"0.7656",
"0.5386",
"0.2345",
"0.5386"
],
[
"0.2336",
"0.5386",
"0.7656",
"0.5386",
"0.7656",
"0.553",
"0.2336",
"0.553"
],
[
"0.2336",
"0.552",
"0.7646",
"0.552",
"0.7646",
"0.565",
"0.2336",
"0.565"
],
[
"0.232",
"0.565",
"0.636",
"0.5664",
"0.636",
"0.5806",
"0.232",
"0.58"
],
[
"0.1691",
"0.5933",
"0.501",
"0.5947",
"0.501",
"0.6094",
"0.1691",
"0.608"
],
[
"0.4436",
"0.61",
"0.4983",
"0.61",
"0.4983",
"0.622",
"0.4436",
"0.622"
],
[
"0.6406",
"0.6255",
"0.7646",
"0.6255",
"0.7646",
"0.6396",
"0.6406",
"0.6396"
],
[
"0.1765",
"0.653",
"0.1936",
"0.653",
"0.1936",
"0.662",
"0.1765",
"0.662"
],
[
"0.2059",
"0.6494",
"0.3423",
"0.651",
"0.3423",
"0.6655",
"0.2059",
"0.664"
],
[
"0.1765",
"0.6816",
"0.824",
"0.6816",
"0.824",
"0.696",
"0.1765",
"0.696"
],
[
"0.1732",
"0.6943",
"0.8228",
"0.6943",
"0.8228",
"0.712",
"0.1732",
"0.712"
],
[
"0.1765",
"0.709",
"0.8228",
"0.709",
"0.8228",
"0.7227",
"0.1765",
"0.7227"
],
[
"0.1732",
"0.7236",
"0.824",
"0.7227",
"0.824",
"0.7373",
"0.1732",
"0.738"
],
[
"0.1765",
"0.738",
"0.8228",
"0.738",
"0.8228",
"0.752",
"0.1765",
"0.752"
],
[
"0.1732",
"0.7505",
"0.8228",
"0.7505",
"0.8228",
"0.7646",
"0.1732",
"0.7646"
],
[
"0.1748",
"0.765",
"0.824",
"0.765",
"0.824",
"0.78",
"0.1748",
"0.78"
],
[
"0.1732",
"0.778",
"0.822",
"0.78",
"0.822",
"0.7944",
"0.1732",
"0.7925"
],
[
"0.1772",
"0.7925",
"0.8228",
"0.7925",
"0.8228",
"0.8066",
"0.1772",
"0.8066"
],
[
"0.1748",
"0.8066",
"0.8228",
"0.8066",
"0.8228",
"0.821",
"0.1748",
"0.821"
],
[
"0.1765",
"0.821",
"0.636",
"0.821",
"0.636",
"0.8354",
"0.1765",
"0.8354"
],
[
"0.1765",
"0.8413",
"0.8203",
"0.8413",
"0.8203",
"0.855",
"0.1765",
"0.855"
],
[
"0.1732",
"0.854",
"0.822",
"0.855",
"0.822",
"0.869",
"0.1732",
"0.8687"
],
[
"0.1748",
"0.8687",
"0.822",
"0.869",
"0.822",
"0.884",
"0.1748",
"0.8833"
],
[
"0.183",
"0.882",
"0.8228",
"0.884",
"0.8228",
"0.898",
"0.183",
"0.896"
],
[
"0.1765",
"0.898",
"0.8228",
"0.898",
"0.8228",
"0.912",
"0.1765",
"0.912"
],
[
"0.1732",
"0.911",
"0.824",
"0.91",
"0.824",
"0.925",
"0.1732",
"0.9253"
],
[
"0.1748",
"0.9487",
"0.2615",
"0.9487",
"0.2615",
"0.9634",
"0.1748",
"0.9634"
],
[
"0.5786",
"0.9487",
"0.591",
"0.9487",
"0.591",
"0.961",
"0.5786",
"0.961"
],
[
"0.9062",
"0.9497",
"0.9414",
"0.9497",
"0.9414",
"0.9653",
"0.9062",
"0.9653"
]
] | [
"'pushO g O GPreprint",
"-pop",
"=1",
"MATHX_THMAXXMAX_2",
"THMAX_3_Corex-",
"Corex-ReviewCod",
"Corex:通过多模型协作推动复杂推理的边界",
"",
"Qiushi Sun *, Zhangyue Yint, Xiang Li*, Zhiyong Wu, Xipeng Qiut, Lingpeng Kong",
"Shark-NLP, Shanghai AI Laboratory Fudan University National University of Singapore",
"*East China Normal UniversityThe University of Hong Kong",
"[email protected],[email protected],[email protected]",
"[email protected], [email protected], [email protected]",
"ABSTRACT",
"pushO g O G pop Large Language Models (LLMs) are evolving at an unprecedented",
"pace and have exhibited considerable capability in the realm of natural language",
"processing (NLP) with world knowledge. Benefiting from ultra-large-scale train-",
"ing corpora, a single LLM can manage typical NLP tasks competently. However,",
"its performance in executing complex tasks is still confined by the limitations",
"of its internal representation. To push this boundary further, we introduce X, a",
"suite of novel general-purpose strategies that transform LLMs into autonomous",
"agents, pioneering multi-agent collaborations for task-solving. Inspired by hu-",
"man behaviors, Xis constituted by diverse collaboration paradigms including Dis-",
"cuss,Review,andRetrievemodes,whichcollectivelyworktowards enhancingthe",
"reasoning process. These paradigms foster task-agnostic approaches that enable",
"LLM-based agents to think outside the box,\"thereby overcoming common errors",
"andprovidingbettersolutions.Throughextensiveexperimentsacrossfourdiffer",
"ent types of reasoning tasks, we demonstrate that orchestrating multiple agents to",
"work in concert yields better results compared to existing strong methods. Further",
"analysis reveals the cost-effectiveness of hile also exploring synergies between",
"models of various scales and promoting annotation efficiency",
"pushOgOGpop“Aproblemshared isaproblem",
"halved.\"",
" English Proverb",
"1.",
"INTRODUCTION",
"大型语言模型(LLM)已经成功地推进了一系列自然语言处理(NLP)任务的最新技术E",
"Cpushrgb 000.5Brown et al.pop,pushrgb 0 0 0.52020 pop;pushrgb 00 0.5Chowdhery et al.pop.",
"pushrgb000.52022pop;pushrgb 000.5OpenArpop,pushrgb 000.52023pop;pushrgb00",
"0.5Touvronetal.pop,pushrgb000.52023pop;?,尤其是)。最近的研究(pushrgb000.5Wei",
"etal.pop,pushrgb000.52022apop)表明,扩展模型(pushrgb000.5Kaplanetal.pop,pushrgb",
"000.52020pop)可以在广泛的下游任务中提高性能和样本效率。尽管他们在(pushrgb0",
"00.5Ouyangetal.pop,pushrgb000.52022pop)之后对语言理解和教学的精通,LLM的推",
"理能力,通常被视为评估其潜力的标志,仍然存在挑战(pushrgb0o0.5Suzgunetal.pop",
"pushrgb000.52023pop:pushrgb000.5Huang&Changpop,pushrgb000.52023pop)。同",
"时,有一种普遍的观点认为,仅仅增加大小可能无法充分解决它们在解决推理任务中的固",
"有局限性(pushrgb000.5Raeetal.pop,pushrgb000.52022pop)",
"为响应此挑战,pushrgb000.5Weietal.pop(pushrgb000.52022bpop)提出了思想链(CoT)",
"提示LLM生成一系列针对最终答案的中间步骤,与使用“仅答案”提示形成对比。随后,提出",
"了各种方法,例如自一致性解码ECpushrgb000.5Wangetal.pop,pushrgb000.52023epop",
"它利用多数投票机制来确定最终答案,以及利用代码生成来减少计算错误的程序辅助语",
"言模型(PAL;pushrgb000.5Gao et al.pop,pushrgb000.52022pop;pushrgb000.5Chen",
"etal.pop,pushrgb000.52022apop)。此外,策划的提示需要特定于任务的设计(pushrgb0",
" pushO g 0 G",
"1",
"'pop"
] | {
"arxiv_id": "2310.00280",
"language": "zh",
"page_idx": 0
} |
||
2310.00280-zh-1 | 2310.00280-zh-1.jpg | ${\mathrm{~push0~g~0~G}}\underline{{\mathrm{Preprint}}}$
$\therefore$pop
0.0.5Zheng et al.ˋpop, 'pushrgb 00.0.52023à pop)也被用来引出更准确的预测。然而,这些方法被限制在一个静态黑盒$\mathbb{E}($ pushrgb 0.0.5Yao et al.'pop, 'pushrgb 0.0.52023b'pop)中,其中 LLM 仅依赖于其内部表示来生成响应,并且容易生成不可靠的答案$\overline{\mathrm{E}(\text{pushrgb}00.5}$Ji et al. 'pop, 'pushrgb 0 0 0.52023'pop; 'pushrgb 0 0 0.5Yin et al.'pop, 'pushrgb 0 0 0.52023b'pop) 。这些缺点强调,仅仅依靠制作解码策略和专门的提示可能不能作为解决复杂推理任务的灵丹妙药( pushrgb 0.0.5Qiao et al. 'pop, 'pushrgb 0.0.52023'pop)。此外,最近的研究( pushrgb 0.0.5Huang et al.'pop, 'pushrgb 0.0.0.52023 'pop; 'pushrgb 0.0.5Valmeekam et al.'pop, 'pushrgb 0.0.52023 pop; 'pushrgb 0.0.0.5Stechly et al.'pop, 'pushrgb 0.0.52023 pop)表明,LLM 努力通过自我纠正达到更好的反应。或者,将LLM 转变为自主代理并使他们能够“跳出框框思考”, 这是一条很有前途但尚未开发的途径
在完善的社会学概念领域内,多个认知过程相互作用和合作将产生大于其个人贡献总和的综合效果$\overline{\mathbb{E}}($pushrgb 00.0.5Luppi et al. 'pop, 'pushrgb 0.0.52022 pop)。这个原理在人工智能中得到了呼应 (pushrgb 00.0.5Li et al.'pop, 'pushrgb 00.0.52023à pop)。尽管对智能代理的研究已经探索了数十年$\boxed{\mathrm{E}}($ pushrgb 0.0.5Minsky pop, 'pushrgb 0.0.51988 pop; 'pushrgb 0.00.52007pop),但 LLM 的出现激发了人们的兴趣,并在该领域引人了新的挑战。一个新兴的观点是,鼓励模型之间的协作和交流可能会为增强复杂推理能力的新阶段铺平道路
在这项研究中,我们提出了 X, 这是一套受人类启发的策略,它利用多模型 co 解决方案来引发 re asoning 以解决 x 任务。为了促进模型之间的协同作用,我们首先将不同的角色分配给不同的模型,然后设计各种协作范式。这种基于集体智能的方法旨在克服当前推理环境中普遍存在的障碍,如图??所示。它还努力缓解在基于多数投票的方法中观察到的常见问题,例如自洽,在这种情况下,准确的响应可能会被不正确的响应和高昂的成本所淹没。具体来说,X 将 LLM 配置为一组自治代理,采用图$\overline{\mathrm{E}}??$ 中所示的范例进行多模型协作:(1) 讨论,利用模型之间基于组的讨论来有效地增强事实性和合理性的多样性,从而减少谬误和幻觉;(2)审查,使模型能够从对应的模型中仔细审查推理链或合成代码,以确保生成的内容的正确性。。一起,讨论的批判性分析,审查的重点是可靠性,并检索与忠实的回应对齐-创建一个复杂的推理任务的综合方法
我们针对四种类型的任务进行了广泛的实验:数学推理,符号推理,常识推理和半结构化推理。结果表明,与以前的强基线相比,我们的方法实现了实质性的性能提升。此外,每种模式在不同类别的任务中都有明显的优势,展示了其特定的优势。进一步的分析表明,与基于多数投票和策划提示的现有方案相比,X 显著降低了模型的推理开销,实现了多方面的成本效益。
# 2 RELATED WORKS
Chain-of-Thought Prompting Elicits LLM Reasoning. 思维链 (CoT; 'pushrgb 00.5Wei et al. pop, 'pushrgb 0 0 0.52022b'pop)提示作为最近 LLM 的著名功能之一,是在提供有限示例时执行复杂的多步骤推理的关键突破。进一步的变体表明,可以通过添加某些“魔术短语”$\operatorname{E}$( pushrgb 0 0.5Kojima et al.'pop, 'pushrgb 000.52022 pop) ,自动演示构建$\operatorname{E}$ ( pushrgb 000.5Zhang et al. 'pop, 'pushrgb 000.52023à pop),以不同方式进行推理$\boxed{\mathrm{E}}$( pushrgb 00.5Zhang et al.'pop, 'pushrgb 000.52023b'pop; 'pushrgb 00.0.5Yang et al.'pop, 'pushrgb 00.0.52023 pop; 'pushrgb $\hat{0}0.0.5$Yao et al.'pop, 'pushrgb 0.0.52023c'pop)以及应用模块化方法$\boxed{\mathrm{E}}($ pushrgb 0.0.5Khot et al.'pop, 'pushrgb 0.0.52023 pop) 来改善 CoT。为了提高鲁棒性,研究人员将问题转换为交错的推理链$\overline{\mathrm{E}}$( pushrgb 000.5Zhou et al.'pop, 'pushrgb 0 00.52023 pop; ' pushrgb 0 0 0.5Lyu et al. ' pop, ' pushrgb 0 0 0.52023 pop) 或 采 用 集 成 $\underline {\mathbb{E} }($ pushrgb 0 0 0.5Wang et al. ' pop, ' pushrgb 0 0 0.52022 pop) 。值 得 注 意 的 是 , 自 治 方 法 [ E( pushrgb 0 0 0 0 0 0 0. 52022 pop) 。值 得 注 意 的 是 , 自 治 方 法 [ E( pushrgb 0 0 0 0 0 0 0 0 0 0 0 00.5Wang et al.'pop, 'pushrgb 00.0.52023e'pop) 通过多数投票从多个推理路径中选择答案, 大大提高了 LLM 在复杂推理中的性能。通过使用具有更高复杂性的提示来进一步优化此方法( pushrgb 000.5Fu et al.'pop, 'pushrgb 00.0.52023c'pop)。最近,'pushrgb 0.0.5Yao et al. pop( pushrgb 0 0 0.52023a pop) 对思想构建的“树”进行启发式引导搜索,以帮助 LLM 导航问题空间
External Knowledge & Tool Utilization for LLM Reasoning. 虽然 LLM 具有重要的功能, 但由于缺乏实际经验$\overline{\mathrm{E}}$( pushrgb 00.0.5Petroni et al.'pop, 'pushrgb $0.0.52020^{\circ}$pop)以及无法掌握复杂的算术推理,因此它们受到限制,因为它们的培训仅基于书面文本。因此,研究人员开始利用外部知识来帮助模型完成推理任务 ( pushrgb 00.0.5Nakano et al.'pop, 'pushrgb 000.52022 pop; 'pushrgb 000.5Schick et al.'pop, 'pushrgb 000.52023 pop)。为了增强真实
$\underline{\text{push}0\:\text{g }0\:\text{G}}$
$^*$ Work done during an internship at Shanghai AI Laboratory.
$puph0g0G$
2
pop | [
[
"0.1748",
"0.03726",
"0.3137",
"0.03093",
"0.3145",
"0.0486",
"0.1765",
"0.05493"
],
[
"0.9043",
"0.0404",
"0.939",
"0.0404",
"0.939",
"0.05304",
"0.9043",
"0.05304"
],
[
"0.1732",
"0.1061",
"0.822",
"0.1061",
"0.822",
"0.1193",
"0.1732",
"0.1193"
],
[
"0.1765",
"0.1187",
"0.8228",
"0.1187",
"0.8228",
"0.1332",
"0.1765",
"0.1332"
],
[
"0.179",
"0.1338",
"0.8228",
"0.1338",
"0.8228",
"0.1445",
"0.179",
"0.1445"
],
[
"0.1748",
"0.1465",
"0.8228",
"0.1465",
"0.8228",
"0.161",
"0.1748",
"0.161"
],
[
"0.1765",
"0.1604",
"0.8228",
"0.1604",
"0.8228",
"0.1736",
"0.1765",
"0.1736"
],
[
"0.1765",
"0.1749",
"0.8228",
"0.1749",
"0.8228",
"0.1881",
"0.1765",
"0.1881"
],
[
"0.1732",
"0.1875",
"0.822",
"0.1875",
"0.822",
"0.202",
"0.1732",
"0.202"
],
[
"0.1748",
"0.202",
"0.822",
"0.202",
"0.822",
"0.2166",
"0.1748",
"0.2166"
],
[
"0.1765",
"0.2153",
"0.822",
"0.2153",
"0.822",
"0.2291",
"0.1765",
"0.2291"
],
[
"0.1748",
"0.2299",
"0.478",
"0.2299",
"0.478",
"0.2437",
"0.1748",
"0.2437"
],
[
"0.1765",
"0.2507",
"0.8228",
"0.2507",
"0.8228",
"0.2644",
"0.1765",
"0.2644"
],
[
"0.1765",
"0.2651",
"0.8228",
"0.2651",
"0.8228",
"0.279",
"0.1765",
"0.279"
],
[
"0.1772",
"0.279",
"0.822",
"0.279",
"0.822",
"0.2922",
"0.1772",
"0.2922"
],
[
"0.1765",
"0.2922",
"0.824",
"0.2922",
"0.824",
"0.307",
"0.1765",
"0.307"
],
[
"0.1748",
"0.3062",
"0.7524",
"0.3062",
"0.7524",
"0.3208",
"0.1748",
"0.3208"
],
[
"0.763",
"0.308",
"0.8228",
"0.308",
"0.8228",
"0.318",
"0.763",
"0.318"
],
[
"0.1765",
"0.3208",
"0.778",
"0.3208",
"0.778",
"0.334",
"0.1765",
"0.334"
],
[
"0.1765",
"0.3416",
"0.8228",
"0.3416",
"0.8228",
"0.3547",
"0.1765",
"0.3547"
],
[
"0.1765",
"0.3547",
"0.8228",
"0.3547",
"0.8228",
"0.3687",
"0.1765",
"0.3687"
],
[
"0.1748",
"0.3694",
"0.8228",
"0.3694",
"0.8228",
"0.3833",
"0.1748",
"0.3833"
],
[
"0.1765",
"0.3818",
"0.822",
"0.3818",
"0.822",
"0.3958",
"0.1765",
"0.3958"
],
[
"0.1765",
"0.3977",
"0.812",
"0.3977",
"0.812",
"0.411",
"0.1765",
"0.411"
],
[
"0.1765",
"0.411",
"0.8228",
"0.411",
"0.8228",
"0.4248",
"0.1765",
"0.4248"
],
[
"0.1765",
"0.4248",
"0.822",
"0.4248",
"0.822",
"0.4382",
"0.1765",
"0.4382"
],
[
"0.1772",
"0.44",
"0.822",
"0.44",
"0.822",
"0.4507",
"0.1772",
"0.4507"
],
[
"0.1765",
"0.4526",
"0.8228",
"0.4526",
"0.8228",
"0.4666",
"0.1765",
"0.4666"
],
[
"0.1765",
"0.4653",
"0.4575",
"0.4666",
"0.4575",
"0.4797",
"0.1765",
"0.4792"
],
[
"0.1748",
"0.4873",
"0.822",
"0.4873",
"0.822",
"0.5005",
"0.1748",
"0.5005"
],
[
"0.1765",
"0.5005",
"0.8228",
"0.5005",
"0.8228",
"0.5146",
"0.1765",
"0.5146"
],
[
"0.1765",
"0.515",
"0.822",
"0.515",
"0.822",
"0.529",
"0.1765",
"0.529"
],
[
"0.1748",
"0.528",
"0.822",
"0.529",
"0.822",
"0.5435",
"0.1748",
"0.5425"
],
[
"0.1732",
"0.5415",
"0.2173",
"0.5435",
"0.2157",
"0.558",
"0.1724",
"0.556"
],
[
"0.1724",
"0.5757",
"0.357",
"0.577",
"0.357",
"0.5913",
"0.1724",
"0.5903"
],
[
"0.179",
"0.607",
"0.585",
"0.608",
"0.585",
"0.622",
"0.179",
"0.6206"
],
[
"0.5767",
"0.607",
"0.8228",
"0.607",
"0.8228",
"0.6206",
"0.5767",
"0.6206"
],
[
"0.1732",
"0.6206",
"0.6978",
"0.619",
"0.6978",
"0.634",
"0.1732",
"0.6353"
],
[
"0.709",
"0.619",
"0.822",
"0.619",
"0.822",
"0.6333",
"0.709",
"0.6333"
],
[
"0.1765",
"0.6333",
"0.822",
"0.6333",
"0.822",
"0.6465",
"0.1765",
"0.6465"
],
[
"0.1765",
"0.6484",
"0.824",
"0.6484",
"0.824",
"0.662",
"0.1765",
"0.662"
],
[
"0.1748",
"0.662",
"0.8228",
"0.662",
"0.8228",
"0.677",
"0.1748",
"0.677"
],
[
"0.1748",
"0.6753",
"0.824",
"0.6753",
"0.824",
"0.69",
"0.1748",
"0.69"
],
[
"0.1748",
"0.69",
"0.8228",
"0.69",
"0.8228",
"0.704",
"0.1748",
"0.704"
],
[
"0.1765",
"0.704",
"0.822",
"0.704",
"0.822",
"0.7183",
"0.1765",
"0.7183"
],
[
"0.1765",
"0.7173",
"0.824",
"0.7173",
"0.824",
"0.732",
"0.1765",
"0.732"
],
[
"0.1748",
"0.732",
"0.8228",
"0.732",
"0.8228",
"0.7456",
"0.1748",
"0.7456"
],
[
"0.1748",
"0.7456",
"0.824",
"0.7456",
"0.824",
"0.7603",
"0.1748",
"0.7603"
],
[
"0.1748",
"0.759",
"0.822",
"0.759",
"0.822",
"0.7734",
"0.1748",
"0.7734"
],
[
"0.1772",
"0.7734",
"0.8228",
"0.7734",
"0.8228",
"0.787",
"0.1772",
"0.787"
],
[
"0.1772",
"0.787",
"0.8228",
"0.787",
"0.8228",
"0.802",
"0.1772",
"0.802"
],
[
"0.1732",
"0.8003",
"0.8228",
"0.8003",
"0.8228",
"0.8145",
"0.1732",
"0.8145"
],
[
"0.179",
"0.815",
"0.273",
"0.815",
"0.273",
"0.827",
"0.179",
"0.827"
],
[
"0.1772",
"0.8306",
"0.8203",
"0.8306",
"0.8203",
"0.845",
"0.1772",
"0.845"
],
[
"0.1765",
"0.845",
"0.8228",
"0.845",
"0.8228",
"0.8594",
"0.1765",
"0.8594"
],
[
"0.1765",
"0.8594",
"0.8228",
"0.8594",
"0.8228",
"0.8726",
"0.1765",
"0.8726"
],
[
"0.1772",
"0.8735",
"0.8228",
"0.8735",
"0.8228",
"0.888",
"0.1772",
"0.888"
],
[
"0.1748",
"0.887",
"0.824",
"0.887",
"0.824",
"0.9014",
"0.1748",
"0.9014"
],
[
"0.1732",
"0.914",
"0.2632",
"0.912",
"0.2632",
"0.927",
"0.1732",
"0.9287"
],
[
"0.1936",
"0.9287",
"0.558",
"0.931",
"0.558",
"0.946",
"0.1936",
"0.9434"
],
[
"0.1748",
"0.9497",
"0.2615",
"0.9478",
"0.2615",
"0.962",
"0.1748",
"0.964"
],
[
"0.5786",
"0.9497",
"0.591",
"0.9497",
"0.591",
"0.9604",
"0.5786",
"0.9604"
],
[
"0.9067",
"0.9507",
"0.939",
"0.9507",
"0.939",
"0.9634",
"0.9067",
"0.9634"
]
] | [
"pushO g O GPreprint",
"pop",
"00.5Zhengetal.pop,pushrgb000.52023apop)也被用来引出更准确的预测。然而,这些方",
"法被限制在一个静态黑盒E(pushrgb000.5Yaoetal.pop,pushrgb000.52023bpop)中,其",
"中LLM仅依赖于其内部表示来生成响应,并且容易生成不可靠的答案ElCpushrgb000.5Ji",
"et al. pop, pushrgb 0 0 0.52023 pop; pushrgb 0 0 0.5Yin et al. pop,pushrgb 0 0 0.52023b'pop)",
"这些缺点强调,仅仅依靠制作解码策略和专门的提示可能不能作为解决复杂推理任务的灵丹",
"妙药(pushrgb000.5Qiaoetal.pop,pushrgb000.52023pop)。此外,最近的研究(pushrgb",
"0 0 0.5Huang et al. pop, pushrgb 0 0 0.52023'pop:pushrgb 00 0.5Valmeekam et al.pop,pushrgb",
"000.52023pop;pushrgb000.5Stechlyetal.pop,pushrgb000.52023pop)表明,LLM努力",
"通过自我纠正达到更好的反应。或者,将LLM转变为自主代理并使他们能够“跳出框框思",
"考”,这是一条很有前途但尚未开发的途径",
"在完善的社会学概念领域内,多个认知过程相互作用和合作将产生大于其个人贡献总和的",
"综合效果E(pushrgb000.5Luppietal.pop,pushrgb000.52022pop)。这个原理在人工智能",
"中得到了呼应(pushrgb000.5Lietal.pop,pushrgb000.52023apop)。尽管对智能代理的",
"研究已经探索了数十年ECpushrgb000.5Minskypop,pushrgb000.51988pop;pushrgb00",
"0.52007pop),但LLM的出现激发了人们的兴趣,并在该领域引人了新的挑战。",
"一今新兴",
"的观点是,鼓励模型之间的协作和交流可能会为增强复杂推理能力的新阶段铺平道路",
"在这项研究中,我们提出了X,这是一套受人类启发的策略,它利用多模型co解决方案来",
"引发reasoning以解决x任务。为了促进模型之间的协同作用,我们首先将不同的角色分配",
"给不同的模型,然后设计各种协作范式。这种基于集体智能的方法旨在克服当前推理环境",
"中普遍存在的障碍,如图??所示。它还努力缓解在基于多数投票的方法中观察到的常见问",
"题,例如自洽,在这种情况下,准确的响应可能会被不正确的响应和高昂的成本所没。",
"具体来说,X将LLM配置为一组自治代理,采用图E??中所示的范例进行多模型协作:(1)",
"讨论,利用模型之间基于组的讨论来有效地增强事实性和合理性的多样性,从而减少谬误",
"和幻觉:(2)审查,使模型能够从对应的模型中仔细审查推理链或合成代码,以确保生成的",
"内容的正确性。。一起,讨论的批判性分析,审查的重点是可靠性,并检索与忠实的回应对",
"齐-创建一个复杂的推理任务的综合方法",
"我们针对四种类型的任务进行了广泛的实验:数学推理,符号推理,常识推理和半结构化推",
"理。结果表明,与以前的强基线相比,我们的方法实现了实质性的性能提升。此外,每种模",
"式在不同类别的任务中都有明显的优势,展示了其特定的优势。进一步的分析表明,与基于",
"多数投票和策划提示的现有方案相比,X显著降低了模型的推理开销,实现了多方面的成本",
"效益。",
"2RELATEDWORKS",
"Chain-of-ThoughtPromptingElicits LLMReasoning.",
"思维链(CoT:pushrgb000.5Wei",
"etal.pop,pushrgb000.52022bpop)提示作为最近LLM的著名功能之",
",是在提供有限",
"示例时执行复杂的多步骤推理的关键突破。进一步的变体表明,可以通过添加某些“魔",
"术短语”ECpushrgb000.5Kojimaetal.pop,pushrgb000.52022pop),自动演示构建E",
"(pushrgb000.5Zhangetal.pop,pushrgb000.52023apop),以不同方式进行推理ECpushrgb",
"0 0 0.5Zhang et al. pop, pushrgb 0 0 0.52023b pop: pushrgb 0 0 0.5Yang et al. pop, 'pushrgb 0",
"00.52023pop;pushrgb000.5Yaoetal.pop,pushrgb000.52023cpop)以及应用模块化方",
"法Epushrgb000.5Khotetal.pop,pushrgb000.52023pop)来改善CoT。为了提高鲁棒",
"性,研究人员将问题转换为交错的推理链ECpushrgb000.5Zhouetal.pop,pushrgb00",
"0.52023pop;pushrgb000.5Lyuetal.pop,pushrgb000.52023pop)或采用集成ECpushrgb",
"000.5Wangetal.pop,pushrgb000.52022pop)。值得注意的是,自洽方法ECpushrgb0",
"00.5Wangetal.pop,pushrgb000.52023epop)通过多数投票从多个推理路径中选择答案",
"大大提高了LLM在复杂推理中的性能。通过使用具有更高复杂性的提示来进一步优化此",
"方法(pushrgb000.5Fuet al.pop,pushrgb000.52023cpop)。最近,pushrgb000.5Yao",
"etal.pop(pushrgb000.52023apop)对思想构建的“树”进行启发式引导搜索,以帮助LLM",
"导航问题空间",
"ExternalKnowledge&ToolUtilizationforLLMReasoning.,虽然LLM具有重要的功能",
"但由于缺乏实际经验E(pushrgb000.5Petronietal.pop,pushrgb000.52020pop)以及无法",
"掌握复杂的算术推理,因此它们受到限制,因为它们的培训仅基于书面文本。因此,研究",
"人员开始利用外部知识来帮助模型完成推理任务(pushrgb000.5Nakanoetal.pop,pushrgb",
"000.52022pop;pushrgb000.5Schicketal.pop,pushrgb000.52023pop)。为了增强真实",
"pushOgOG",
"*Work done during an internship at Shanghai AI Laboratory.",
"pushO g O G",
"2",
"pop"
] | {
"arxiv_id": "2310.00280",
"language": "zh",
"page_idx": 1
} |
||
2310.00280-zh-2 | 2310.00280-zh-2.jpg | ${\mathrm{~push0~g~0~G}}\underline{{\mathrm{Preprint}}}$
$\therefore$pop
性和忠诚度,'pushrgb 0 0 0.5He et al.'pop( pushrgb 0 0 0.52022 pop) 和'pushrgb 0 0 0.5Wang et al. pop( pushrgb 0 0 0.52023c'pop) 利用外部知识库。最近,'pushrgb 0.0.5Gao et al.'pop ( pushrgô $\hat{0}$ 0 0.52023 pop) 通过提供引用的段落来确保生成文本的事实正确性和可验证性
另一行是将推理任务委托给外部工具$\operatorname{E}($pushrgb 000.5Qin et al.'pop, 'pushrgb 0.00.52023 pop), 这些工具通常用于解决数值问题。其中一个代表是程序辅助语言模型( pushrgb 000.5Gao et al.'pop, 'pushrgb 00.52022 pop), 称为 PAL 'pushrgb 0.92941 $0.10980.14119^{1}$pop。这种方法利用 LLM 来解释 NL 问题,生成程序作为中间推理步骤$\overline{\Gamma}$ ( pushrgb 00.0.5Chen et al.'pop, 'pushrgb 0.0.52022à pop),这些步骤将被卸载到 Python 解释器中执行以获得最终解决方案$\overline{\mathrm{E}}$('pushrgb 00.5Ni et al.'pop, 'pushrgb 00.52023 pop) 。此方法将推理转换为 NL2Code$\boxed{\mathrm{F}}($ pushrgb 0.0.5Zan et al. 'pop, 'pushrgb 0.0.52023 pop) 任务,并且在处理较大的非整数数字并启用错误更正时已被证明是出色的$\color{red}{\mathrm{E}}$( pushrgb 0 00.5Olausson et al.'pop, 'pushrgb 0.0.52023'pop)。除了合成程序之外,'pushrgb 0.0.5Liu et al. pop( pushrgb 0 0 0.52023a pop) 还将计算物理引擎集成到语言建模过程中以进行仿真。此外,变色龙$\mathbb{E}$( pushrgb 00.0.5Lu et al. 'pop, 'pushrgb 0.0.52023 pop) 通过整合工具和知识资源(如 Web 引擎和图像捕获器)来增强 LLM
Multi-Model Synergy for Task Solving. 利用多个 LLM 共同解决问题仍处于初步阶段, 有大量机会等待探索。协作的基石是为不同环境下的 LLM 构建一个类似人类的推理架构(pushrgb 000.5Zhu et al.'pop, 'pushrgb 00.0.52023 pop) ('pushrgb 0.0.0.5Liu et al.'pop, pushrgb 00.0.52023b'pop)。'pushrgb 0.0.5Fu et al.'pop ( pushrgb 0.0.52023b'pop)调查多$\bar{\text{个 LLM 是否可以通过相互交互自主提高其性能。'pushrgb }00.0.5\text{Du et al.'pop( Pushrgb }0}$ 0.0.52023'pop)和'pushrgb 0.0.5Liang et al.'pop('pushrgb 0.0.52023'pop) 探索增强特定任务的真实性,例如。g。、翻译和算术推理,通过促进多个模型之间的“辩论”。通过将身份分配给模型以模拟开发过程,LLM 的合作也已应用于软件开发E( pushrgb 00.0.5Qian et al.'pop, 'pushrgb 0 0 0.52023'pop) 和文本评估$\boxed{\mathrm{E}}($ pushrgb 0 0 0.5Chan et al.'pop, 'pushrgb 0 00.52023 pop)。此外,从社会智能的角度来看,诱导认知协同并让它们在任务执行过程中扮演不同的角色$\mathbb{E}($ pushrgb 00.0.5Wang et al.'pop, 'pushrgb 0.0.52023f pop) 已被证明具有显着的潜力$\boxed{\mathrm{E}}($ pushrgb 0.0.5Sclar et al'pop, 'pushrgb 0.0.52023 pop)。最近,对人工社会的新生探索('pushrgb 0 0 0.5Park et al.'pop, 'pushrgb 0 0 0.52023'pop) 也试图利用集体智慧来模拟人类社会结构的效率( pushrgb 00.0.5Li et al. pop, 'pushrgb 0.0.52023à pop; 'pushrgb 0.00.5Webb et al. pop, 'pushrgb 0.0.52023 pop)。最近,'pushrgb 0.0.5Yin et al.'pop( pushrgb 00.0.52023a'pop) 提出了基于网络拓扑结构的跨模型交换。
3
我们提出了 X, 这是一套受人类社会互动启发的协作推理方法。以下部分介绍了三个主要组件:讨论、查看和检索模式。让我们假设一组基于 LLM 的代理$\{A_1,A_2,\ldots,A_n\}$参与多模型协作。当面对查询$q$时,每个代理$A_i$生成相应的推理链$c_i$及其预测$p_i$
# 3.1 DISCUSS 3.1 Discuss
模型之间的信息交换有助于增强真实性( Cpushrgb 00.05Wang et al.'pop, 'pushrgb 000.52023a'pop)。在讨论模式下,我们基于 LLM 的代理被随机分为两组,蓝队和绿队,其中一个保留为法官,表示为 $A_j$ 。一个团队中的讨论涉及几轮,最多可进行$T$ 轮通信。在每轮$t$ $( t= 1, 2, \ldots , T)$中,代理进行迭代讨论 'pushrgb $0.929410.10980.14119^2$'pop 以完善其推理链和预测。这种动态交互允许对$q$的视点进行持续修改,如$c_i^t$和预测$p_i^t$所示
然后,每个团队在每轮结束时展示他们的精细预测$p_\mathrm{blue}^t$和$p_\mathrm{green}^t$。如果两个团队在整个互动过程中一致同意,我。e。$,p_\mathrm{blue}^t=p_\mathrm{grcen}^t,\bar{\text{讨论顺利结束。但是,在团队预测之间存在差异}}$ 的情况下,每轮的每个输出都将呈现给$\bar{A_j\text{。法官采用决策过程 }h\text{ 来评估每轮讨论的推理链}}$
$\underline{\text{push}0\mathrm{~g~0~G}}$
figures/discuss-
The idea of integrating LLMs with external PL interface was proposed by $^{[\text{pushrgb}00.5\text{Gaoetal}]}$pop ( pushrgb 0.0.52022 pop) and 'pushrgb 0.0.5Chen et al.'pop( pushrgb 0.00.052022a pop) within the same timeframe. We refer to this approach as “PAL”in this paper.
$^{2}$Due to the context length limit of , only information from the previous round $\begin{cases}\text{s stored during the discussion.}\\\text{Due to the context length limit of , only information from the previous round }\end{cases}$
pop
3
${^{\prime}}$push0 g 0 G
$\left | \mathrm{figures/ discuss- illustration. p}\right |$d$f^{op}$ | [
[
"0.1748",
"0.03726",
"0.312",
"0.0322",
"0.3137",
"0.04987",
"0.1765",
"0.05493"
],
[
"0.9043",
"0.03726",
"0.9395",
"0.0404",
"0.937",
"0.05493",
"0.902",
"0.05176"
],
[
"0.1765",
"0.1048",
"0.822",
"0.1048",
"0.822",
"0.1193",
"0.1765",
"0.1193"
],
[
"0.1765",
"0.1193",
"0.822",
"0.1193",
"0.822",
"0.1338",
"0.1765",
"0.1338"
],
[
"0.1765",
"0.1332",
"0.8",
"0.1332",
"0.8",
"0.1465",
"0.1765",
"0.1465"
],
[
"0.179",
"0.1547",
"0.8228",
"0.1547",
"0.8228",
"0.1654",
"0.179",
"0.1654"
],
[
"0.1748",
"0.1674",
"0.8228",
"0.1666",
"0.8228",
"0.1812",
"0.1748",
"0.1818"
],
[
"0.1748",
"0.1818",
"0.822",
"0.1818",
"0.822",
"0.1957",
"0.1748",
"0.1957"
],
[
"0.1732",
"0.1963",
"0.824",
"0.1976",
"0.824",
"0.2122",
"0.1732",
"0.2108"
],
[
"0.1748",
"0.2122",
"0.822",
"0.2122",
"0.822",
"0.226",
"0.1748",
"0.226"
],
[
"0.1765",
"0.226",
"0.822",
"0.226",
"0.822",
"0.2405",
"0.1765",
"0.2405"
],
[
"0.1912",
"0.2405",
"0.822",
"0.2405",
"0.822",
"0.254",
"0.1912",
"0.254"
],
[
"0.1765",
"0.254",
"0.822",
"0.254",
"0.822",
"0.2676",
"0.1765",
"0.2676"
],
[
"0.1765",
"0.2676",
"0.8228",
"0.2676",
"0.8228",
"0.2822",
"0.1765",
"0.2822"
],
[
"0.1772",
"0.2822",
"0.822",
"0.2822",
"0.822",
"0.2954",
"0.1772",
"0.2954"
],
[
"0.1765",
"0.2942",
"0.824",
"0.2954",
"0.824",
"0.31",
"0.1765",
"0.3093"
],
[
"0.1765",
"0.3093",
"0.513",
"0.3093",
"0.513",
"0.3225",
"0.1765",
"0.3225"
],
[
"0.1805",
"0.3257",
"0.822",
"0.3257",
"0.822",
"0.339",
"0.1805",
"0.339"
],
[
"0.1772",
"0.3416",
"0.822",
"0.3416",
"0.822",
"0.3516",
"0.1772",
"0.3516"
],
[
"0.1748",
"0.3528",
"0.822",
"0.3542",
"0.822",
"0.3687",
"0.1748",
"0.3674"
],
[
"0.1805",
"0.3674",
"0.822",
"0.3674",
"0.822",
"0.3806",
"0.1805",
"0.3806"
],
[
"0.1772",
"0.3801",
"0.8228",
"0.3806",
"0.8228",
"0.3958",
"0.1772",
"0.3945"
],
[
"0.1765",
"0.3958",
"0.822",
"0.3958",
"0.822",
"0.4092",
"0.1765",
"0.4092"
],
[
"0.1765",
"0.4092",
"0.822",
"0.4092",
"0.822",
"0.4224",
"0.1765",
"0.4224"
],
[
"0.1765",
"0.4224",
"0.822",
"0.4224",
"0.822",
"0.4363",
"0.1765",
"0.4363"
],
[
"0.1748",
"0.4375",
"0.8203",
"0.4375",
"0.8203",
"0.4507",
"0.1748",
"0.4507"
],
[
"0.1765",
"0.4507",
"0.822",
"0.4507",
"0.822",
"0.4653",
"0.1765",
"0.4653"
],
[
"0.1765",
"0.464",
"0.822",
"0.464",
"0.822",
"0.4778",
"0.1765",
"0.4778"
],
[
"0.1765",
"0.4778",
"0.822",
"0.4778",
"0.822",
"0.4924",
"0.1765",
"0.4924"
],
[
"0.1772",
"0.4924",
"0.822",
"0.4924",
"0.822",
"0.506",
"0.1772",
"0.506"
],
[
"0.1765",
"0.506",
"0.8228",
"0.506",
"0.8228",
"0.521",
"0.1765",
"0.521"
],
[
"0.1732",
"0.518",
"0.8228",
"0.5195",
"0.8228",
"0.534",
"0.1732",
"0.5327"
],
[
"0.1748",
"0.534",
"0.5728",
"0.534",
"0.5728",
"0.5474",
"0.1748",
"0.5474"
],
[
"0.1724",
"0.5674",
"0.1896",
"0.5674",
"0.1896",
"0.582",
"0.1724",
"0.582"
],
[
"0.1772",
"0.5977",
"0.822",
"0.5977",
"0.822",
"0.6113",
"0.1772",
"0.6113"
],
[
"0.1772",
"0.613",
"0.8203",
"0.613",
"0.8203",
"0.6235",
"0.1772",
"0.6235"
],
[
"0.1748",
"0.6255",
"0.697",
"0.6255",
"0.697",
"0.6396",
"0.1748",
"0.6396"
],
[
"0.1732",
"0.656",
"0.282",
"0.656",
"0.282",
"0.6694",
"0.1732",
"0.6694"
],
[
"0.1708",
"0.675",
"0.2688",
"0.677",
"0.2688",
"0.6914",
"0.1708",
"0.6895"
],
[
"0.1765",
"0.704",
"0.8228",
"0.704",
"0.8228",
"0.7173",
"0.1765",
"0.7173"
],
[
"0.1748",
"0.7173",
"0.822",
"0.7173",
"0.822",
"0.731",
"0.1748",
"0.731"
],
[
"0.179",
"0.731",
"0.822",
"0.731",
"0.822",
"0.744",
"0.179",
"0.744"
],
[
"0.1732",
"0.7476",
"0.8228",
"0.7476",
"0.8228",
"0.762",
"0.1732",
"0.762"
],
[
"0.1748",
"0.765",
"0.739",
"0.765",
"0.739",
"0.779",
"0.1748",
"0.779"
],
[
"0.1765",
"0.7886",
"0.8228",
"0.7886",
"0.8228",
"0.802",
"0.1765",
"0.802"
],
[
"0.1748",
"0.8037",
"0.8228",
"0.8037",
"0.8228",
"0.8213",
"0.1748",
"0.8213"
],
[
"0.1765",
"0.8213",
"0.8228",
"0.8213",
"0.8228",
"0.8354",
"0.1765",
"0.8354"
],
[
"0.1765",
"0.851",
"0.2607",
"0.851",
"0.2607",
"0.8623",
"0.1765",
"0.8623"
],
[
"0.55",
"0.8486",
"0.6504",
"0.8486",
"0.6504",
"0.86",
"0.55",
"0.86"
],
[
"0.1936",
"0.8643",
"0.824",
"0.8657",
"0.824",
"0.8833",
"0.1936",
"0.882"
],
[
"0.1748",
"0.88",
"0.8203",
"0.88",
"0.8203",
"0.8945",
"0.1748",
"0.8945"
],
[
"0.1732",
"0.8926",
"0.528",
"0.8945",
"0.528",
"0.9077",
"0.1732",
"0.906"
],
[
"0.1953",
"0.906",
"0.8203",
"0.9077",
"0.8203",
"0.9224",
"0.1953",
"0.9204"
],
[
"0.1748",
"0.928",
"0.2075",
"0.928",
"0.2075",
"0.9434",
"0.1748",
"0.9434"
],
[
"0.1732",
"0.9497",
"0.2615",
"0.9478",
"0.2615",
"0.962",
"0.1732",
"0.964"
],
[
"0.5786",
"0.9497",
"0.5923",
"0.9497",
"0.5923",
"0.9604",
"0.5786",
"0.9604"
],
[
"0.652",
"0.955",
"0.9355",
"0.9526",
"0.9355",
"0.9673",
"0.652",
"0.9697"
]
] | [
"pushO g OGPreprint",
"pop",
"性和忠诚度,pushrgb000.5Heetal.pop(pushrgb000.52022pop)和pushrgb000.5Wang",
"etal.pop(pushrgb000.52023cpop)利用外部知识库。最近,pushrgb000.5Gaoetal.pop",
"(pushrgb000.52023pop)通过提供引用的段落来确保生成文本的事实正确性和可验证性",
"另一行是将推理任务委托给外部工具FCpushrgb000.5Oinetal.poppushrgb00",
"0.52023°pop),这些工具通常用于解决数值问题。其中一个代表是程序辅助语言模",
"型(pushrgb000.5Gaoetal.pop,pushrgb000.52022pop),称为PALpushrgb0.92941",
"0.10980.14119pop。这种方法利用LLM来解释NL问题,生成程序作为中间推理步骤E",
"(pushrgb000.5Chenetal.pop,pushrgb000.52022apop),这些步骤将被卸载到Python解",
"释器中执行以获得最终解决方案E(pushrgb000.5Nietal.pop,pushrgb000.52023pop)",
"此方法将推理转换为NL2CodeECpushrgb000.5Zanetal.pop,pushrgb000.52023pop)",
"任务,并且在处理较大的非整数数字并启用错误更正时已被证明是出色的ECpushrgb00",
"0.5Olaussonetal.pop,pushrgb000.52023pop)。除了合成程序之外,pushrgb000.5Liu",
"etal.pop(pushrgb000.52023apop)还将计算物理引擎集成到语言建模过程中以进行仿真。",
"此外,变色龙ECpushrgb000.5Luetal.pop,pushrgb000.52023pop)通过整合工具和知识",
"资源(如Web引擎和图像捕获器)来增强LLM",
"Multi-ModelSynergyforTaskSolving利用多个LLM共同解决问题仍处于初步阶段",
"有大量机会等待探索。协作的基石是为不同环境下的LLM构建一个类似人类的推理架",
"构(pushrgb0 0 0.5Zhu et al.pop,pushrgb 0 0 0.52023pop)(pushrgb 0 0 0.5Liu et al.pop",
"pushrgb 00 0.52023bpop)。pushrgb 00 0.5Fu et al.pop(pushrgb00 0.52023bpop)调查多",
"个LLM是否可以通过相互交互自主提高其性能。pushrgb000.5Duetal.popCpushrgb0",
"00.52023pop)和pushrgb000.5Liangetal.pop(pushrgb000.52023pop)探索增强特定任",
"务的真实性,例如。g。、翻译和算术推理,通过促进多个模型之间的“辩论”。通过将身",
"份分配给模型以模拟开发过程,LLM的合作也已应用于软件开发ECpushrgb000.5Qian",
"etal.pop,pushrgb000.52023pop)和文本评估Epushrgb000.5Chanetal.pop,pushrgb0(",
"0.52023'pop)。此外,从社会智能的角度来看,诱导认知协同并让它们在任务执行过程中扮",
"演不同的角色ECpushrgb000.5Wangetal.pop,pushrgb000.52023fpop)已被证明具有显",
"着的潜力E(pushrgb000.5Sclaretal.pop,pushrgb000.52023pop)。最近,对人工社会的",
"新生探索(pushrgb000.5Parketal.pop,pushrgb000.52023pop)也试图利用集体智慧来模",
"拟人类社会结构的效率(pushrgb000.5Lietal.pop,pushrgb000.52023apop;pushrgb00",
"0.5Webb et al.pop,pushrgb000.52023pop)。最近,pushrgb000.5Yin et al.poppushrgb 0",
"00.52023apop)提出了基于网络拓扑结构的跨模型交换。",
"3",
"我们提出了X,这是一套受人类社会互动启发的协作推理方法。以下部分介绍了三个主要组",
"件:讨论、查看和检索模式。让我们假设一组基于LLM的代理A1,A2,·..,An参与多模",
"型协作。当面对查询q时,每个代理A,生成相应的推理链c,及其预测pi",
"3.1DISCUSS",
"3.1Discuss",
"模型之间的信息交换有助于增强真实性(pushrgb000.5Wangetal.pop,pushrgb00",
"0.52023apop)。在讨论模式下,我们基于LLM的代理被随机分为两组,蓝队和绿队,其中",
"一个保留为法官,表示为A,。一个团队中的讨论涉及几轮,最多可进行T轮通信。在每轮",
"t(t=1,2,::,T)中,代理进行选代讨论pushrgb0.929410.10980.141192~pop以完善其推",
"理链和预测。这种动态交互允许对q的视点进行持续修改,如c,和预测p,所示",
"然后,每个团队在每轮结束时展示他们的精细预测Pblue和Pgren。如果两个团队在整个互动",
"过程中一致同意,我。e。,Pblue=Pgreen,讨论顺利结束。但是,在团队预测之间存在差异",
"的情况下,每轮的每个输出都将呈现给A;。法官采用决策过程h来评估每轮讨论的推理链",
"pushog0G",
"figures/discuss-",
"'The idea of integrating LLMs with external PL interface was proposed by pushrgb O O 0.5Gao et al. pop",
"(pushrgb 0 0 0.52022 pop) and pushrgb 0 0 0.5Chen et al. pop (pushrgb 0 0 o|52022a' pop) within the sam",
"timeframe.We refer to this approach as“PAL\"in this paper",
"2Due to the context length limit of,only information from the previous round is stored during the discussion",
"'pop",
"pushO g O G",
"3",
"figures/discuss-illustration.pdop"
] | {
"arxiv_id": "2310.00280",
"language": "zh",
"page_idx": 2
} |
||
2310.00280-zh-3 | 2310.00280-zh-3.jpg | push0 g 0 G$\underline {\mathrm{Preprint}}$
$\therefore$pop
和预测的质量。结论由$h(c_{\mathrm{blue}}^t,p_{\mathrm{blue}}^t,c_{\mathrm{green}}^t,p_{\mathrm{green}}^t)$在所有回合中确定,确保全面评估和更明智
的最终决定
与以前的作品不同$\mathbb{E}($ pushrgb 00.5Du et al.'pop, pushrgb 000.52023 pop; 'pushrgb 000.5Liang et al.'pop, 'pushrgb 0000.52023 pop; 'pushrgb 0000.5Xiong et al.'pop, 'pushrgb 000.52023'pop)在LLM 之间采用“辩论”,我们的方法采用小组讨论的概念。由于以下几个原因,我们选择不促进模型共同交换其推理过程以收敛于单个通用答案:(1) 有限的上下文长度抑制了保持通信过程的能力,(2) 单个最终答案并不总是正确的,因为模型之间可能会出现错误的共识或偏见$\boxed{\mathrm{E}}($ pushrgb 00.5Wang et al.'pop, 'pushrgb 000.52023d'pop),(3)鉴于各种 LLM之间的性能差距,存在强大的模型“垄断” 协作的风险,从而使其他模型黯然失色。因此,我们的目标是保持代理人之间思想的真实性和多样性
## 3.2 REVIEW
## 3.2 Review
在推理范围内,CoT 和 PAL 都是有效的方法,具有明显的优势。以自然语言为基础,基于 CoT 的方法因其一般性和解释的清晰度而脱颖而出。相反, 在程序的帮助下,PAL 保证了计算精度( pushrgb 000.0.5Zhao et al.'pop, 'pushrgb 00.0.52023 pop)。然而,由于对 LLM 内部表示的依赖,它们都表现出缺点。。对于 CoT 及其变体,问题是双重的:(1)累积错误,其中错误倾向于在整个推理链中放大和传播;(2)文本质量的平稳期无法通过提示$\mathbb{E}($pushrgb 00.0.5Xu et al.'pop, 'pushrgb 000.52022 pop; ' pushrgb 00.0.5Li et al.'pop, 'pushrgb 0 $0.5202\hat{3}$b'pop)得到实质性改善。另外,PAL 也面临着自己的挑战:(1)LLM可能会误解问题,从而无意中导致技术上正确但被误导的程序;(2) 生成的代码并不总是没有错误的:LLM 可能会编写错误的代码,例如引用未定义的变量或进行“零除法”操作。受 LLM 同行评级$\color{red}{\boxed{\Gamma}}$ ( pushrgb 00.0.5Zheng et al. pop, 'pushrgb 0.0.52023b pop) 和软件工程中流行的协作编码实践的启发,我们引人了 Review 模式以通过多代理协作解决上述问题。具体而言,随机选择单个代理$A_p$作为主要代理。最初,$A_p$负责为$q$制定相应的推理链,以及预测, 和制作代码(如果需要)。解决方案的初始集合表示为$S_p^{( 0) }= \{ a_p, c_p, m_p\}$ ,其中$a_p$ , $c_p$和$m_p$分别表示答案,推理链和代码然后,$S_p^{(0)}$由其他代理以顺序方式作为审阅者进行迭代审阅,严格审查推理链和$A_p$制定或由先前审阅者修改的代码。至关重要的是要强调,每位审阅者都会收到其前任的意见, 这意味着随后的每次审阅都基于先前审阅的结果和反馈,从而形成了逐步完善的解决方案
审核过程被形式化为$S_p^{(i+1)}=R_i(S_p^{(i)},F_i)$ ,其中$R_i$封装了$i^{th}$ 迭代时的审核结果,$F_i$ 表示收到的反馈。本质上,解决方案集$S_p^{(i+1)}$源自其先前版本$S_p^{(i)}$的增强,并由反馈$F_i$通知。在完成所有审查迭代之后,结果由解决方案集$S_p^{(n-1)}$的最终迭代确定。具体来说,最终的预测$a_p^{(n-1)}$被选为 $q$ 的答案,在涉及代码的情况下,最后修订的版本$m_p^{(n-1)}$由 Python 解释器执行以产生结果
'push0 g 0 G
figures/review-
<FigureHere> | [
[
"0.1748",
"0.03726",
"0.3137",
"0.03093",
"0.3145",
"0.0486",
"0.1765",
"0.05493"
],
[
"0.9043",
"0.03726",
"0.9414",
"0.0404",
"0.939",
"0.05493",
"0.903",
"0.05304"
],
[
"0.1765",
"0.1061",
"0.822",
"0.1061",
"0.822",
"0.1206",
"0.1765",
"0.1206"
],
[
"0.1772",
"0.1218",
"0.2573",
"0.1218",
"0.2573",
"0.1332",
"0.1772",
"0.1332"
],
[
"0.1765",
"0.1401",
"0.5337",
"0.1427",
"0.5337",
"0.1572",
"0.1765",
"0.1547"
],
[
"0.1772",
"0.1559",
"0.536",
"0.1559",
"0.536",
"0.1692",
"0.1772",
"0.1692"
],
[
"0.1748",
"0.1692",
"0.536",
"0.1692",
"0.536",
"0.1843",
"0.1748",
"0.1843"
],
[
"0.1748",
"0.1843",
"0.535",
"0.1843",
"0.535",
"0.1976",
"0.1748",
"0.1976"
],
[
"0.1765",
"0.1976",
"0.535",
"0.1976",
"0.535",
"0.2108",
"0.1765",
"0.2108"
],
[
"0.1772",
"0.2108",
"0.535",
"0.2108",
"0.535",
"0.2247",
"0.1772",
"0.2247"
],
[
"0.1765",
"0.2247",
"0.536",
"0.2247",
"0.536",
"0.238",
"0.1765",
"0.238"
],
[
"0.1765",
"0.238",
"0.536",
"0.238",
"0.536",
"0.252",
"0.1765",
"0.252"
],
[
"0.1772",
"0.254",
"0.5337",
"0.254",
"0.5337",
"0.2644",
"0.1772",
"0.2644"
],
[
"0.1748",
"0.2644",
"0.535",
"0.2664",
"0.535",
"0.281",
"0.1748",
"0.279"
],
[
"0.1748",
"0.2798",
"0.5337",
"0.2798",
"0.5337",
"0.2942",
"0.1748",
"0.2942"
],
[
"0.1765",
"0.2922",
"0.5337",
"0.2935",
"0.5337",
"0.307",
"0.1765",
"0.3062"
],
[
"0.1772",
"0.308",
"0.535",
"0.308",
"0.535",
"0.3213",
"0.1772",
"0.3213"
],
[
"0.1772",
"0.324",
"0.5337",
"0.324",
"0.5337",
"0.334",
"0.1772",
"0.334"
],
[
"0.1748",
"0.3591",
"0.2769",
"0.3591",
"0.2769",
"0.3738",
"0.1748",
"0.3738"
],
[
"0.1748",
"0.3818",
"0.2646",
"0.3818",
"0.2646",
"0.3933",
"0.1748",
"0.3933"
],
[
"0.1765",
"0.4104",
"0.535",
"0.4104",
"0.535",
"0.4236",
"0.1765",
"0.4236"
],
[
"0.1765",
"0.4248",
"0.5337",
"0.4248",
"0.5337",
"0.4382",
"0.1765",
"0.4382"
],
[
"0.1732",
"0.4363",
"0.535",
"0.4375",
"0.535",
"0.452",
"0.1732",
"0.4507"
],
[
"0.1765",
"0.452",
"0.536",
"0.452",
"0.536",
"0.4653",
"0.1765",
"0.4653"
],
[
"0.1732",
"0.4634",
"0.536",
"0.4653",
"0.536",
"0.4797",
"0.1732",
"0.4778"
],
[
"0.1765",
"0.4792",
"0.536",
"0.4792",
"0.536",
"0.4924",
"0.1765",
"0.4924"
],
[
"0.1772",
"0.4944",
"0.5337",
"0.4944",
"0.5337",
"0.505",
"0.1772",
"0.505"
],
[
"0.1765",
"0.507",
"0.535",
"0.507",
"0.535",
"0.521",
"0.1765",
"0.521"
],
[
"0.1765",
"0.521",
"0.535",
"0.521",
"0.535",
"0.534",
"0.1765",
"0.534"
],
[
"0.1765",
"0.535",
"0.536",
"0.535",
"0.536",
"0.549",
"0.1765",
"0.549"
],
[
"0.1748",
"0.549",
"0.536",
"0.549",
"0.536",
"0.5625",
"0.1748",
"0.5625"
],
[
"0.1765",
"0.5625",
"0.535",
"0.5625",
"0.535",
"0.5757",
"0.1765",
"0.5757"
],
[
"0.1772",
"0.5776",
"0.5317",
"0.5776",
"0.5317",
"0.5884",
"0.1772",
"0.5884"
],
[
"0.1765",
"0.5903",
"0.536",
"0.5903",
"0.536",
"0.604",
"0.1765",
"0.604"
],
[
"0.1765",
"0.603",
"0.535",
"0.603",
"0.535",
"0.616",
"0.1765",
"0.616"
],
[
"0.1765",
"0.617",
"0.824",
"0.617",
"0.824",
"0.631",
"0.1765",
"0.631"
],
[
"0.1765",
"0.631",
"0.8228",
"0.631",
"0.8228",
"0.646",
"0.1765",
"0.646"
],
[
"0.1772",
"0.646",
"0.822",
"0.646",
"0.822",
"0.659",
"0.1772",
"0.659"
],
[
"0.1748",
"0.6577",
"0.8228",
"0.659",
"0.8228",
"0.674",
"0.1748",
"0.6724"
],
[
"0.1748",
"0.674",
"0.536",
"0.675",
"0.536",
"0.688",
"0.1748",
"0.6875"
],
[
"0.1772",
"0.6914",
"0.535",
"0.6914",
"0.535",
"0.7056",
"0.1772",
"0.7056"
],
[
"0.1748",
"0.7056",
"0.535",
"0.7056",
"0.535",
"0.7236",
"0.1748",
"0.7236"
],
[
"0.179",
"0.7266",
"0.5337",
"0.7266",
"0.5337",
"0.7373",
"0.179",
"0.7373"
],
[
"0.1765",
"0.7393",
"0.535",
"0.7393",
"0.535",
"0.7524",
"0.1765",
"0.7524"
],
[
"0.1772",
"0.756",
"0.5317",
"0.756",
"0.5317",
"0.7666",
"0.1772",
"0.7666"
],
[
"0.1765",
"0.768",
"0.535",
"0.768",
"0.535",
"0.782",
"0.1765",
"0.782"
],
[
"0.1765",
"0.782",
"0.4534",
"0.782",
"0.4534",
"0.7954",
"0.1765",
"0.7954"
],
[
"0.1765",
"0.8047",
"0.5703",
"0.8047",
"0.5703",
"0.8193",
"0.1765",
"0.8193"
],
[
"0.6567",
"0.8164",
"0.751",
"0.8164",
"0.751",
"0.8276",
"0.6567",
"0.8276"
],
[
"0.1765",
"0.8237",
"0.5703",
"0.8237",
"0.5703",
"0.8384",
"0.1765",
"0.8384"
],
[
"0.1772",
"0.8384",
"0.5703",
"0.8384",
"0.5703",
"0.856",
"0.1772",
"0.856"
],
[
"0.1765",
"0.857",
"0.569",
"0.857",
"0.569",
"0.8706",
"0.1765",
"0.8706"
],
[
"0.1748",
"0.8706",
"0.5703",
"0.8706",
"0.5703",
"0.888",
"0.1748",
"0.888"
],
[
"0.1748",
"0.8896",
"0.5703",
"0.8896",
"0.5703",
"0.907",
"0.1748",
"0.907"
],
[
"0.2615",
"0.906",
"0.5312",
"0.909",
"0.5312",
"0.928",
"0.2615",
"0.925"
],
[
"0.1765",
"0.912",
"0.2695",
"0.912",
"0.2695",
"0.924",
"0.1765",
"0.924"
],
[
"0.6846",
"0.914",
"0.951",
"0.914",
"0.951",
"0.928",
"0.6846",
"0.928"
],
[
"0.1772",
"0.9497",
"0.2607",
"0.9497",
"0.2607",
"0.961",
"0.1772",
"0.961"
],
[
"0.5767",
"0.9487",
"0.591",
"0.9487",
"0.591",
"0.9604",
"0.5767",
"0.9604"
],
[
"0.9087",
"0.9507",
"0.939",
"0.9507",
"0.939",
"0.9634",
"0.9087",
"0.9634"
]
] | [
"pushO g O GPreprint",
"pop",
"和预测的质量。结论由h(CbluePblue,Cgreen,Pgreen)在所有回合中确定,确保全面评估和更明智",
"的最终决定",
"与以前的作品不同pushrgb000.5Duetal.pop",
"pushrgb 0 0 0.52023pop;pushrgb 0 0 0.5Liang",
"et al.pop, pushrgb 0 0 0.52023pop; pushrgb 0 0",
"0.5Xiong et al. pop,pushrgb 0 0 0.52023 pop)在",
"LLM之间采用“辩论”,我们的方法采用小组讨",
"论的概念。由于以下几个原因,我们选择不促进模",
"型共同交换其推理过程以收敛于单个通用答案:(1)",
"有限的上下文长度抑制了保持通信过程的能力,(2)",
"单个最终答案并不总是正确的,因为模型之间可能",
"会出现错误的共识或偏见ECpushrgb000.5Wang",
"etal.pop,pushrgb000.52023dpop),(3)鉴于各",
"种LLM之间的性能差距,存在强大的模型“断”",
"协作的风险,从而使其他模型黯然失色。因此,我",
"们的自标是保持代理人之间思想的真实性和多样性",
"3.2REVIEW",
"3.2.Review",
"在推理范围内,CoT和PAL都是有效的方法,具",
"有明显的优势。以自然语言为基础,基于CoT的方",
"法因其一般性和解释的清晰度而脱颖而出。相反,",
"在程序的帮助下,PAL保证了计算精度(pushrgb",
"0 0 0.5Zhao et al. pop, pushrgb 0 0 0.52023 pop)",
"然而,由于对LLM内部表示的依赖,它们都表",
"现出缺点。。对于CoT及其变体,问题是双重",
"的:(1)累积错误,其中错误倾向于在整个推理",
"链中放大和传播;(2)文本质量的平稳期无法通",
"过提示E(pushrgb000.5Xuetal.pop,pushrgb00",
"0.52022 pop; pushrgb 0 0 0.5Li et al. pop, pushrgb 0",
"00.52023bpop)得到实质性改善。另外,PAL也面",
"临着自已的挑战:(1)LLM可能会误解问题,从",
"而无意中导致技术上正确但被误导的程序;(2)",
"生成的代码并不总是没有错误的:LLM可能会",
"编写错误的代码,例如引用未定义的变量或进行“零除法”操作。受LLM同行评级E",
"(pushrgb000.5Zhengetal.pop,pushrgb000.52023bpop)和软件工程中流行的协作编码",
"实践的启发,我们引人了Review模式以通过多代理协作解决上述问题。具体而言,随",
"机选择单个代理A,作为主要代理。最初,A,负责为q制定相应的推理链,以及预测,",
"和制作代码(如果需要)。解决方案的初始集合表示",
"为Spo)=(ap,Cp,mp},其中ap,Cp和mp分别表",
"示答案,推理链和代码然后,S(O)由其他代理以顺",
"序方式作为审阅者进行送代审阅,严格审查推理链",
"和A,制定或由先前审阅者修改的代码。至关重要",
"的是要强调,每位审阅者都会收到其前任的意见",
"这意味着随后的每次审阅都基于先前审阅的结果和",
"反馈,从而形成了逐步完善的解决方案",
"审核过程被形式化为S+1)=R(s),F),其中R;封",
"figures/review",
"装了ith迭代时的审核结果,F,表示收到的反馈。本质",
"上,解决方案集s(i+1)源自其先前版本s)的增强,并",
"由反馈F,通知。在完成所有审查迭代之后,结果由解决",
"方案集Sn-1)的最终选代确定。具体来说,最终的预测",
"an-1)被选为α的答案,在涉及代码的情况下,最后修",
"(n-1)由Python解释器执行以产生结果",
"订的版本m",
"figures/review-illustrationpdf",
"push0g0G",
"4",
"pop"
] | {
"arxiv_id": "2310.00280",
"language": "zh",
"page_idx": 3
} |
||
2310.00280-zh-4 | 2310.00280-zh-4.jpg | push0 g 0 G$\underline {\mathrm{Preprint}}$
-pop
## 3.3 RETRIEVE
3.3 Retrieve
在最后的工作线程中,我们深人研究了检索模式,以通过协作确定最忠实的答案。虽然以前基于多数投票机制$\mathbb{E}($pushrgb 00.5Wang et al.'pop, 'pushrgb 000.52023e' pop; ' pushrgb 000.5Fu et al. pop, 'pushrgb 000.52023c'pop) 的策略可以缓解诸如波束搜索$\textcircled{\mathrm{E}}($ pushrgb 000.5Li & Jurafsky pop, 'pushrgb 00.0.52016 pop) 之类的技术的低多样性问题,但它们仍然存在以下两个重大挑战:(1)正确答案可能会被不正确的答案所左右。(2) 尽管促进了性能的显着提高,但随着采样链的增加,它呈指数级增加了计算负担,并趋于达到性能“饱和点”。我们将这些缺点归因于多数投票技术的范围有限,这些技术在忽略推理链的忠实性的同时,对预测进行了单独的优先排序$\overline{\mathbb{E}}($pushrgb 0.0.5Li et al.'pop, 'pushrgb 0.0.52023c'pop)。作为回应,我们提出了检索模式,这是一种专门设计的范例,用于评估答案是否可以由推理过程中生成的内容(解释)来表达$\mathbb{E}($ pushrgb 00.0.5Jacovi& Goldberg pop, 'pushrgb 00.0.52020 pop; 'pushrgb 00.0.5Lanham et al. 'pop, 'pushrgb 0.0.52023'pop)
具体地,给定一个查询$q$,我们从$n$代理池中随机选择一个代理$A_r$作为检索器。其余代理$\{A_1,A_2,\ldots,A_{n-1}\}$ 独立执行关于$q$ 的 CoT 推理。这些代理中的每一个都导出了自己的推理链$c_i$和相应的预测$p_i$ 。它们一起形成一个候选池,用$\mathcal{P}=\{(c_i,p_i)\}_i=1^{n-1}$表示
检索器$A_r$然后仔细检查$\mathcal{P}$中的候选。对于$( c_i, p_i)$ $, A_r$ 评估$c_i$和$p_i$之间的忠诚度。根据此评估,检索器在[0,1] 范围内分配置信度分数$s_i$ ,表示为$: s_i= f_r( c_i, p_i)$ ,其中$f_r$表示检索器的评估过程。之后,对问题$q$的最忠实响应由最高置信度确定:
$$(c^*,p^*)=\mathop{\mathrm{argmax}}\limits_{(c_i,p_i)\in\mathcal{P}}s_i$$
figures/retrieve-
figures/retrieve-illustratibn.pdf
illustration.pdfL
检索模式允许从多样化的候选池中选择推理链和答案的$\begin{array}{ll}\text{'push0g0G}\\\text{Figure 5: Illustration of retrieving}\\\text{最对齐组合。与以前的文本质量评估方法不同,后者依赖}\end{array}$
取 对 广 组 口 。可 以 用 可 又 平 贝 里 引 旧 分 下 问 ,加 省 体 网 $\text{于 序 列 E( pushrgb 0 0 0. 5Adiwardana et al. \` {pop}, \` {pushrgb}}$ faithful chains with answers. $\text{于 序 列 E( pushrgb 0 0 0. 5Adiwardana et al. \` {pop}, \` {pushrgb}}$ faithful chains with answers.
pop
这里,$(c^*,p^*)$表示检索者认为最忠实的链预测对,它将
作为查询$q$的最终答案
000.52020 pop) 的对数概率,该对数概率在计算上效率低下,并且通常不适用于商业 LLM,我们的方法完全基于模型到模型的交互$\underline{\mathrm{E}}($ pushrgb 00.0.5Chen et al.'pop, pushrgb 0 0 0. 52023 pop) , 并且是无参考的
### 4 EXPERIMENT
## 4.1 EXPERIMENTAL SETUP
Tasks and Datasets.
我们在四种类型的任务中评估 X: (1) 跨越各种困难的算术推
理,例如 GSM8K$\boxed{\mathrm{F}}($ pushrgb 00.0.5Cobbe et al.'pop, 'pushrgb $00.0.52021^{\prime}$ pop) 和 GSM 硬XMA。(2)覆盖四个数据集的常识推理,以 StrategyQA Cpushrgb 00.5Geva et al.'pop, pushrgb 000.52021 pop)为例。(3)结合从 BigBench ( pushrgb 00.0.5bench authors'pop, $\hat{\text{pushrgb }00.0.52023\text{ pop) 导出的四个任务的符号推理。(4)半结构化理解,如 FinQA 和 Con-}}$ $\hat{\text{vFinQA( Pushrgb00.5Chen et al.'pop, 'pushrgb }00.0.52021\text{b'pop;'pushrgb }0.0.52022\text{b'pop)}}$ 。附录 'pushrgb $0.92941~0.1098~0.14119$D pop 中列出了任务的详细说明和统计信息。
Baselines.
我们将我们的方法与几种广泛使用的强基线进行比较。(1)思维链提示 (CoT;
'pushrgb 00.0.5Wei et al.'pop, 'pushrgb 0.0.52022b'pop)。(2)自洽性(CoT-SC; 'pushrgb 0 $\hat{0}\bar{0.5\text{Wang et al.'pop,'pushrgb }0}\bar{0}\bar{0}\bar{0.52023}$e'pop),它采用多数投票机制,从几个推理链中选择最一致的答案作为最终答案。(3) 基于复杂性的一致性 (ComplexCoT; ेpushrgb 00.5Fu
5
${^{\prime}}$push0 g 0 G
pop | [
[
"0.1748",
"0.03726",
"0.3137",
"0.03093",
"0.3145",
"0.0486",
"0.1765",
"0.05493"
],
[
"0.903",
"0.03726",
"0.9395",
"0.03915",
"0.939",
"0.05493",
"0.902",
"0.05304"
],
[
"0.1748",
"0.1061",
"0.2018",
"0.1061",
"0.2018",
"0.1187",
"0.1748",
"0.1187"
],
[
"0.1978",
"0.108",
"0.2181",
"0.108",
"0.2181",
"0.11554",
"0.1978",
"0.11554"
],
[
"0.2141",
"0.1067",
"0.2917",
"0.1067",
"0.2917",
"0.1187",
"0.2141",
"0.1187"
],
[
"0.1732",
"0.1256",
"0.2737",
"0.1256",
"0.2737",
"0.1401",
"0.1732",
"0.1401"
],
[
"0.1765",
"0.1528",
"0.5703",
"0.1528",
"0.5703",
"0.1666",
"0.1765",
"0.1666"
],
[
"0.1732",
"0.1654",
"0.568",
"0.1654",
"0.568",
"0.1787",
"0.1732",
"0.1787"
],
[
"0.1765",
"0.1799",
"0.572",
"0.1799",
"0.572",
"0.1945",
"0.1765",
"0.1945"
],
[
"0.1748",
"0.1945",
"0.572",
"0.1945",
"0.572",
"0.209",
"0.1748",
"0.209"
],
[
"0.1748",
"0.2084",
"0.5703",
"0.2084",
"0.5703",
"0.2216",
"0.1748",
"0.2216"
],
[
"0.1748",
"0.2216",
"0.5703",
"0.2216",
"0.5703",
"0.2361",
"0.1748",
"0.2361"
],
[
"0.1765",
"0.2349",
"0.569",
"0.2349",
"0.569",
"0.2488",
"0.1765",
"0.2488"
],
[
"0.1765",
"0.25",
"0.5703",
"0.25",
"0.5703",
"0.2632",
"0.1765",
"0.2632"
],
[
"0.1765",
"0.2632",
"0.569",
"0.2632",
"0.569",
"0.2778",
"0.1765",
"0.2778"
],
[
"0.1772",
"0.2766",
"0.568",
"0.2766",
"0.568",
"0.2903",
"0.1772",
"0.2903"
],
[
"0.1765",
"0.2903",
"0.5703",
"0.2903",
"0.5703",
"0.305",
"0.1765",
"0.305"
],
[
"0.1765",
"0.305",
"0.5703",
"0.305",
"0.5703",
"0.318",
"0.1765",
"0.318"
],
[
"0.1748",
"0.3176",
"0.822",
"0.318",
"0.822",
"0.3333",
"0.1748",
"0.332"
],
[
"0.179",
"0.3333",
"0.822",
"0.3333",
"0.822",
"0.3467",
"0.179",
"0.3467"
],
[
"0.1748",
"0.3452",
"0.8228",
"0.3452",
"0.8228",
"0.3599",
"0.1748",
"0.3599"
],
[
"0.1748",
"0.3599",
"0.5107",
"0.3599",
"0.5107",
"0.375",
"0.1748",
"0.375"
],
[
"0.1765",
"0.3806",
"0.5703",
"0.3806",
"0.5703",
"0.3958",
"0.1765",
"0.3958"
],
[
"0.1871",
"0.3958",
"0.569",
"0.3958",
"0.569",
"0.4092",
"0.1871",
"0.4092"
],
[
"0.6543",
"0.3984",
"0.755",
"0.3984",
"0.755",
"0.4104",
"0.6543",
"0.4104"
],
[
"0.1765",
"0.4092",
"0.569",
"0.4092",
"0.569",
"0.4224",
"0.1765",
"0.4224"
],
[
"0.1765",
"0.4236",
"0.5703",
"0.4236",
"0.5703",
"0.4375",
"0.1765",
"0.4375"
],
[
"0.1765",
"0.4395",
"0.4495",
"0.4395",
"0.4495",
"0.4526",
"0.1765",
"0.4526"
],
[
"0.1748",
"0.4583",
"0.568",
"0.4602",
"0.568",
"0.4749",
"0.1748",
"0.473"
],
[
"0.1765",
"0.4749",
"0.569",
"0.4749",
"0.569",
"0.488",
"0.1765",
"0.488"
],
[
"0.1765",
"0.488",
"0.5703",
"0.488",
"0.5703",
"0.5024",
"0.1765",
"0.5024"
],
[
"0.1765",
"0.502",
"0.5703",
"0.502",
"0.5703",
"0.515",
"0.1765",
"0.515"
],
[
"0.6855",
"0.4968",
"0.9683",
"0.4968",
"0.9683",
"0.5103",
"0.6855",
"0.5103"
],
[
"0.1748",
"0.5166",
"0.3464",
"0.5166",
"0.3464",
"0.53",
"0.1748",
"0.53"
],
[
"0.298",
"0.534",
"0.4453",
"0.536",
"0.4453",
"0.553",
"0.298",
"0.5503"
],
[
"0.3718",
"0.5503",
"0.429",
"0.549",
"0.429",
"0.56",
"0.3718",
"0.5625"
],
[
"0.1748",
"0.571",
"0.569",
"0.571",
"0.569",
"0.584",
"0.1748",
"0.584"
],
[
"0.1748",
"0.584",
"0.3381",
"0.584",
"0.3381",
"0.5977",
"0.1748",
"0.5977"
],
[
"0.5825",
"0.5835",
"0.6846",
"0.5854",
"0.6846",
"0.5996",
"0.5825",
"0.5977"
],
[
"0.5884",
"0.5996",
"0.671",
"0.5996",
"0.671",
"0.6113",
"0.5884",
"0.6113"
],
[
"0.1765",
"0.607",
"0.5703",
"0.607",
"0.5703",
"0.6206",
"0.1765",
"0.6206"
],
[
"0.581",
"0.6143",
"0.8228",
"0.6157",
"0.8228",
"0.63",
"0.581",
"0.629"
],
[
"0.1765",
"0.6206",
"0.5703",
"0.6206",
"0.5703",
"0.634",
"0.1765",
"0.634"
],
[
"0.1772",
"0.634",
"0.572",
"0.634",
"0.572",
"0.648",
"0.1772",
"0.648"
],
[
"0.585",
"0.631",
"0.7715",
"0.631",
"0.7715",
"0.6416",
"0.585",
"0.6416"
],
[
"0.1748",
"0.648",
"0.5703",
"0.648",
"0.5703",
"0.662",
"0.1748",
"0.662"
],
[
"0.689",
"0.646",
"0.7183",
"0.646",
"0.7183",
"0.6577",
"0.689",
"0.6577"
],
[
"0.1772",
"0.662",
"0.569",
"0.662",
"0.569",
"0.6753",
"0.1772",
"0.6753"
],
[
"0.1748",
"0.675",
"0.569",
"0.6753",
"0.569",
"0.69",
"0.1748",
"0.6895"
],
[
"0.1772",
"0.6895",
"0.4844",
"0.6895",
"0.4844",
"0.704",
"0.1772",
"0.704"
],
[
"0.1765",
"0.726",
"0.1896",
"0.726",
"0.1896",
"0.735",
"0.1765",
"0.735"
],
[
"0.1871",
"0.7266",
"0.2075",
"0.7266",
"0.2075",
"0.735",
"0.1871",
"0.735"
],
[
"0.2091",
"0.7236",
"0.3228",
"0.726",
"0.3228",
"0.7393",
"0.2091",
"0.7373"
],
[
"0.1732",
"0.7485",
"0.38",
"0.7485",
"0.38",
"0.762",
"0.1732",
"0.762"
],
[
"0.1805",
"0.768",
"0.8228",
"0.768",
"0.8228",
"0.782",
"0.1805",
"0.782"
],
[
"0.1748",
"0.782",
"0.8228",
"0.782",
"0.8228",
"0.797",
"0.1748",
"0.797"
],
[
"0.1732",
"0.7944",
"0.8228",
"0.797",
"0.8228",
"0.811",
"0.1732",
"0.8096"
],
[
"0.1772",
"0.8096",
"0.8228",
"0.81",
"0.8228",
"0.8247",
"0.1772",
"0.8237"
],
[
"0.1772",
"0.8237",
"0.826",
"0.8237",
"0.826",
"0.8384",
"0.1772",
"0.8384"
],
[
"0.1748",
"0.8384",
"0.824",
"0.8384",
"0.824",
"0.853",
"0.1748",
"0.853"
],
[
"0.1765",
"0.8516",
"0.763",
"0.8516",
"0.763",
"0.8657",
"0.1765",
"0.8657"
],
[
"0.179",
"0.869",
"0.8228",
"0.869",
"0.8228",
"0.8833",
"0.179",
"0.8833"
],
[
"0.1765",
"0.8833",
"0.8228",
"0.8833",
"0.8228",
"0.898",
"0.1765",
"0.898"
],
[
"0.1732",
"0.896",
"0.8228",
"0.8965",
"0.8228",
"0.911",
"0.1732",
"0.91"
],
[
"0.1748",
"0.911",
"0.824",
"0.911",
"0.824",
"0.925",
"0.1748",
"0.925"
],
[
"0.5786",
"0.9487",
"0.591",
"0.9487",
"0.591",
"0.961",
"0.5786",
"0.961"
],
[
"0.9062",
"0.9478",
"0.943",
"0.9497",
"0.9395",
"0.9653",
"0.9043",
"0.962"
],
[
"0.1748",
"0.9497",
"0.2615",
"0.9478",
"0.2615",
"0.962",
"0.1748",
"0.964"
]
] | [
"pushO g 0 GPreprint",
"pop",
"3.3",
"",
"RETRIEVE",
"3.3Retrieve",
"在最后的工作线程中,我们深人研究了检索模式,以",
"通过协作确定最忠实的答案。虽然以前基于多数投",
"票机制E(pushrgb000.5Wangetal.pop,pushrgb00",
"0.52023e'pop; pushrgb 0 0 0.5Fu et al. pop, pushrgb 0 0",
"0.52023cpop)的策略可以缓解诸如波束搜索ECpushrgb",
"000.5Li& Jurafskypop,pushrgb 000.52016pop)之类",
"的技术的低多样性问题,但它们仍然存在以下两个重大",
"挑战:(1)正确答案可能会被不正确的答案所左右。(2)",
"尽管促进了性能的显着提高,但随着采样链的增加,它",
"呈指数级增加了计算负担,并趋于达到性能“饱和点”",
"我们将这些缺点归因于多数投票技术的范围有限,这些",
"技术在忽略推理链的忠实性的同时,对预测进行了单独",
"的优先排序ECpushrgb000.5Lietal.pop,pushrgb000.52023cpop)。作为回应,我们提出",
"了检索模式,这是一种专门设计的范例,用于评估答案是否可以由推理过程中生成的内容",
"(解释)来表达E(pushrgb000.5Jacovi&Goldbergpop,pushrgb000.52020pop;pushrgb0",
"0 0.5Lanham et al. pop, pushrgb 0 0 0.52023 pop)",
"具体地,给定一个查询q,我们从n代理池中随机选择",
"个代理A作为检索器。其余代理(A1,A2,...,An-1]",
"figures/retrieve",
"独立执行关于g的CoT推理。这些代理中的每一个都导",
"出了自已的推理链c,和相应的预测Pi。它们一起形成",
"一个候选池,用P=((ci,P))-1表示",
"检索器A,然后仔细检查P中的候选。对于(ci,Pi),A,",
"评估c,和pi之间的忠诚度。根据此评估,检索器在[0,1]",
"范围内分配置信度分数si,表示为:si=f-(ci,pi),其",
"中f表示检索器的评估过程。之后,对问题的最忠实",
"figures/retrieve-illustratipn.pdf",
"响应由最高置信度确定:",
"(c*, p*) = argmax si",
"(cipi)ep",
"这里,(c*,p*)表示检索者认为最忠实的链预测对,它将",
"作为查询q的最终答案",
"illustration.pdfl",
"pushog0G",
"检索模式允许从多样化的候选池中选择推理链和答案的",
"Figure 5: Illustration of retrieving",
"最对齐组合。与以前的文本质量评估方法不同,后者依赖",
"于序列ECpushrgb000.5Adiwardana et al.pop,pushrgb",
"faithful chains withanswers.",
"000.52020pop)的对数概率,该对数概率在计算上效率",
"pop",
"低下,并且通常不适用于商业LLM,我们的方法完全",
"基于模型到模型的交互ECpushrgb000.5Chenetal.pop,",
"pushrgb000.52023pop),并且是无参考的",
"4",
"",
"EXPERIMENT",
"4.1EXPERIMENTALSETUP",
"Tasksand Datasets.我们在四种类型的任务中评估X:(1)跨越各种困难的算术推",
"理,例如GSM8KEpushrgb 000.5Cobbe etal.pop,pushrgb000.52021 pop)和GSM硬",
"XMA。(2)覆盖四个数据集的常识推理,以StrategyQA(pushrgb000.5Gevaetal.pop,",
"pushrgb000.52021'pop)为例。(3)结合从BigBench(pushrgb 000.5benchauthorspop,",
"pushrgb000.52023pop)导出的四个任务的符号推理。(4)半结构化理解,如FinQA和Con-",
"vFinQA (pushrgb 0 0 0.5Chen et al.pop,pushrgb 0 0 0.52021b pop:pushrgb 0 0 0.52022b pop)",
"。附录pushrgb0.929410.10980.14119Dpop中列出了任务的详细说明和统计信息,",
"Baselines。我们将我们的方法与几种广泛使用的强基线进行比较。(1)思维链提示(CoT:",
"pushrgb000.5Weietal.pop,pushrgb000.52022bpop)。(2)自洽性(CoT-SC;pushrgb 0",
"00.5Wangetal.pop,pushrgb000.52023epop),它采用多数投票机制,从几个推理链中选",
"择最一致的答案作为最终答案。(3)基于复杂性的一致性(ComplexCoT;pushrgb000.5Fu",
"5",
"pop",
"pushO g O G"
] | {
"arxiv_id": "2310.00280",
"language": "zh",
"page_idx": 4
} |
||
2203.08383-zh-2 | 2203.08383-zh-2.jpg | 法,如提示(Liu et al.,2021),使 PLM 的参数保持不变,对于我们获取知识的目的是可取的。但是,我们发现,无论是进行微调还是提示一次生成一系列知识,PLM 都倾向于在此过程中失去其“思想链”,从而产生无关的事实或遭受幻觉
受多步推理问题的迭代性质的启发,我们在本文中探索了一种迭代提示框架,该框架针对给定的推理任务逐步从 PLM 中获取知识。我们在迭代提示中有两个需求:(1)在不同的推理步骤中,提示需要关注复杂查询的不同组件。(2)提示应将先前步骤中收集的知识适当地集成到当前步骤中;例如,在图 1 中示例的第 2 步期间,提示需要将实体“DavidLloydGeorge”(来自第1步中回顾的知识)与查询中未解决的部分“出生地是什么” 结合在一起
一种自然的想法是以迭代的方式直接应用现有的提示方法。不幸的是,他们的提示要么仅限于具有单个可识别关系/谓词 (Jiang et al., 2020;Petroni et al.,2019;Zhong et al.,2021; Shin et al., 2020; Qin and Eisner, 2021) 的查询,要么对逐步输人 (Lester et al., 2021; Li and Liang, 2021; Brown et al., 2020) 不可知且不敏感,因此对于我们的 desiderata 来说并不理想
我们为此设计了一种新颖的迭代提示方法。我们使用迭代的上下文感知提示器来增强PLM, 该模型学习根据当前步骤上下文动态合成提示。在每个步骤中,Prompter 学习处理查询和先前收集的证据,并编写一个提示,引导 PLM 调用下一条知识。与其他提示方法一样,PLM 在整个学习过程中保持固定。此外, 随着 PLM 大小的增加 , 我们的方法中可训练参数的数量与以前的提示方法相比可缩放或较慢
我们在三个涉及多步推理的数据集上进行实验,包括两个最近的多跳问答数据集: 2WikiMultiHopQA (Ho et al., 2020) 和 R4C (Inoue et al.,2020), 以及用于推理分类关系的科学数据集 (Talmor et al., 2020b)。我们的实验结果表明:(1)选代方案的有效性;(2)我们提出的上下文感知提示器设计以明显的优势优于现有的提示方法;(3)定量和定性分析,揭示了我们学习的提示器的真实性
# 2 Methodology
在本节中,我们首先形式化我们的问题设置$(\S2.1),然后介绍我们的迭代提示框架(§2.2)$, 然后介绍我们的上下文感知提示器设计(§2.3 ), 该设计解决了以前的提示方法在此迭代方案中
# 2.1 Problem Setup
给定一个复杂的查询$q$ ,我们的目标是驱动PLM $\mathcal{M}$调用一系列简单的知识语句$C_q=$ $[ c_1, . . . , c_{n_q}]$ ,足以决定对$q$的响应。特别是,我们专注于开发提示方法,其中$\mathcal{M}$的参数是固定的,我们的目标是构造提示$T$,引导$\mathcal{M}$调用$C_q$ 。请注意,这里我们将$T$视为一个变量, 它可能依赖于也可能不依赖于基于不同建模的其他变量。将$\mathcal{M}(T)$编写为$\mathcal{M}$,并增加了提示$T$ ,我们的培训目标是学习如何找到可以最大化对数似然的$T$
$$\begin{aligned}\mathcal{L}(T)=\sum_{i=1}^N\log P(C_{q_i}|q_i;\mathcal{M}(T))\end{aligned}$$
带有一组训练数据$\{q_i,C_{q_i}\}_{i=1}^N$的
我们在这里的表述是通用的,适用于所有基于提示的方法,其中先前工作中的设置(例如(Zhong et al., 2021; Shin et al., 2020; Lester et al., 2021; Li and Liang, 2021; Qin and Eisner, 2021) ) 对应于任何查询$q$的$|C_q|=1$的简化情况。在我们的实验中,我们还考虑了 PLM 微调,在这种情况下,在管道中没有提示$T$,而是对$\mathcal{M}$的参数进行了优化
## 2.2 Iterative Prompting Framework
受多步推理任务的顺序性质的启发,我们以迭
代的方式解决该问题:
$$P(C_q|q;\mathcal{M}(T))=\prod_{j=1}^{n_q}P(c_j|q,c_1,...,c_{j-1};\mathcal{M}(T))$$
其中在每个步骤$j,\mathcal{M}(T)$都会调用下一个
知识$c_j$ ,这些知识都以查询 MAX
# 2.3 Context-Aware Prompter
由于输入上下文$q,c_1,...,c_{j-1}$的复杂性,以前采用单关系输入的提示方法显然无法应用于此迭代设置。任务级提示方法(如 PromptTuning (Lester et al., 2021) 和 Prefix-Tuning (Li and Liang, 2021) )在这里适用,其中$T$被视为静态参数。但是,如前所述,这种建模对于$T$ 完全捕获不同推理步骤中的可变性并不理想。在这项工作中,我们将$T$建模为 Prompter 的输出,Prompter 是一个可学习的函数映射$f_W$ , 它动态合成$T$ w。r。t。当前步骤输入上下文:
$$T=f_W(q,c_1,...,c_{j-1}),\forall j$$
提示器实例化。虽然 Prompter $f_W$有许多合理的设计选择,但在这里我们使用基于转换器的语言模型对其进行实例化(如图 2 所 | [
[
"0.12006",
"0.0885",
"0.4878",
"0.0885",
"0.4878",
"0.0986",
"0.12006",
"0.0986"
],
[
"0.5073",
"0.0849",
"0.677",
"0.0873",
"0.677",
"0.10156",
"0.5073",
"0.0998"
],
[
"0.492",
"0.09143",
"0.5054",
"0.09143",
"0.5054",
"0.0944",
"0.492",
"0.0944"
],
[
"0.1184",
"0.1027",
"0.4937",
"0.1027",
"0.4937",
"0.1164",
"0.1184",
"0.1164"
],
[
"0.511",
"0.1057",
"0.879",
"0.1069",
"0.879",
"0.1217",
"0.511",
"0.12054"
],
[
"0.12006",
"0.12054",
"0.4802",
"0.12054",
"0.4802",
"0.1312",
"0.12006",
"0.1312"
],
[
"0.51",
"0.1223",
"0.8657",
"0.12354",
"0.8657",
"0.1383",
"0.51",
"0.1372"
],
[
"0.1184",
"0.1354",
"0.4878",
"0.1354",
"0.4878",
"0.1484",
"0.1184",
"0.1484"
],
[
"0.8613",
"0.13",
"0.873",
"0.13",
"0.873",
"0.1342",
"0.8613",
"0.1342"
],
[
"0.511",
"0.1401",
"0.881",
"0.1395",
"0.881",
"0.1526",
"0.511",
"0.1538"
],
[
"0.1184",
"0.1497",
"0.4844",
"0.1497",
"0.4844",
"0.1633",
"0.1184",
"0.1633"
],
[
"0.513",
"0.1561",
"0.881",
"0.1561",
"0.881",
"0.1692",
"0.513",
"0.1692"
],
[
"0.12006",
"0.1687",
"0.1914",
"0.1687",
"0.1914",
"0.1799",
"0.12006",
"0.1799"
],
[
"0.5146",
"0.1716",
"0.882",
"0.1716",
"0.882",
"0.1853",
"0.5146",
"0.1853"
],
[
"0.1351",
"0.1829",
"0.486",
"0.1841",
"0.486",
"0.199",
"0.1351",
"0.1978"
],
[
"0.511",
"0.187",
"0.881",
"0.1859",
"0.881",
"0.2007",
"0.511",
"0.2019"
],
[
"0.1184",
"0.2007",
"0.4878",
"0.2007",
"0.4878",
"0.2144",
"0.1184",
"0.2144"
],
[
"0.511",
"0.2019",
"0.881",
"0.2031",
"0.881",
"0.2173",
"0.511",
"0.2162"
],
[
"0.1184",
"0.2162",
"0.4878",
"0.2162",
"0.4878",
"0.2299",
"0.1184",
"0.2299"
],
[
"0.511",
"0.2197",
"0.881",
"0.2197",
"0.881",
"0.2328",
"0.511",
"0.2328"
],
[
"0.11755",
"0.2322",
"0.4844",
"0.2322",
"0.4844",
"0.2452",
"0.11755",
"0.2452"
],
[
"0.511",
"0.2363",
"0.879",
"0.2363",
"0.879",
"0.2494",
"0.511",
"0.2494"
],
[
"0.1184",
"0.2488",
"0.4878",
"0.2488",
"0.4878",
"0.2625",
"0.1184",
"0.2625"
],
[
"0.5146",
"0.2542",
"0.66",
"0.2542",
"0.66",
"0.2642",
"0.5146",
"0.2642"
],
[
"0.1184",
"0.2642",
"0.4844",
"0.2642",
"0.4844",
"0.2778",
"0.1184",
"0.2778"
],
[
"0.1184",
"0.2808",
"0.4836",
"0.2808",
"0.4836",
"0.2915",
"0.1184",
"0.2915"
],
[
"0.6396",
"0.2778",
"0.66",
"0.2778",
"0.66",
"0.2915",
"0.6396",
"0.2915"
],
[
"0.1184",
"0.2964",
"0.4844",
"0.2964",
"0.4844",
"0.31",
"0.1184",
"0.31"
],
[
"0.571",
"0.2915",
"0.8228",
"0.2915",
"0.8228",
"0.3088",
"0.571",
"0.3088"
],
[
"0.635",
"0.306",
"0.663",
"0.306",
"0.663",
"0.3237",
"0.635",
"0.3237"
],
[
"0.11755",
"0.3123",
"0.4844",
"0.3123",
"0.4844",
"0.3267",
"0.11755",
"0.3267"
],
[
"0.1184",
"0.3289",
"0.4878",
"0.3289",
"0.4878",
"0.3425",
"0.1184",
"0.3425"
],
[
"0.532",
"0.3308",
"0.796",
"0.3308",
"0.796",
"0.3457",
"0.532",
"0.3457"
],
[
"0.11755",
"0.3445",
"0.2107",
"0.3445",
"0.2107",
"0.3594",
"0.11755",
"0.3594"
],
[
"0.531",
"0.3474",
"0.881",
"0.3474",
"0.881",
"0.361",
"0.531",
"0.361"
],
[
"0.1394",
"0.3635",
"0.4836",
"0.3635",
"0.4836",
"0.3735",
"0.1394",
"0.3735"
],
[
"0.513",
"0.3635",
"0.881",
"0.3635",
"0.881",
"0.3772",
"0.513",
"0.3772"
],
[
"0.11755",
"0.3772",
"0.4836",
"0.3772",
"0.4836",
"0.3901",
"0.11755",
"0.3901"
],
[
"0.511",
"0.3777",
"0.879",
"0.3777",
"0.879",
"0.3914",
"0.511",
"0.3914"
],
[
"0.1184",
"0.3943",
"0.4878",
"0.3943",
"0.4878",
"0.408",
"0.1184",
"0.408"
],
[
"0.513",
"0.3943",
"0.882",
"0.3943",
"0.882",
"0.408",
"0.513",
"0.408"
],
[
"0.11755",
"0.4104",
"0.486",
"0.4104",
"0.486",
"0.4233",
"0.11755",
"0.4233"
],
[
"0.513",
"0.411",
"0.882",
"0.411",
"0.882",
"0.4246",
"0.513",
"0.4246"
],
[
"0.11755",
"0.427",
"0.4844",
"0.427",
"0.4844",
"0.4407",
"0.11755",
"0.4407"
],
[
"0.513",
"0.427",
"0.881",
"0.427",
"0.881",
"0.4407",
"0.513",
"0.4407"
],
[
"0.11755",
"0.4412",
"0.4844",
"0.4424",
"0.4844",
"0.4573",
"0.11755",
"0.456"
],
[
"0.513",
"0.4436",
"0.882",
"0.4436",
"0.882",
"0.4573",
"0.513",
"0.4573"
],
[
"0.1184",
"0.4602",
"0.4836",
"0.4602",
"0.4836",
"0.4702",
"0.1184",
"0.4702"
],
[
"0.51",
"0.4602",
"0.6885",
"0.4602",
"0.6885",
"0.4739",
"0.51",
"0.4739"
],
[
"0.1184",
"0.4744",
"0.4224",
"0.4744",
"0.4224",
"0.488",
"0.1184",
"0.488"
],
[
"0.511",
"0.4863",
"0.812",
"0.4863",
"0.812",
"0.4995",
"0.511",
"0.4995"
],
[
"0.1377",
"0.4934",
"0.486",
"0.4934",
"0.486",
"0.5044",
"0.1377",
"0.5044"
],
[
"0.1184",
"0.5083",
"0.486",
"0.5083",
"0.486",
"0.5215",
"0.1184",
"0.5215"
],
[
"0.511",
"0.5073",
"0.8774",
"0.5073",
"0.8774",
"0.521",
"0.511",
"0.521"
],
[
"0.11584",
"0.5225",
"0.4878",
"0.524",
"0.4878",
"0.5376",
"0.11584",
"0.536"
],
[
"0.5146",
"0.525",
"0.687",
"0.525",
"0.687",
"0.535",
"0.5146",
"0.535"
],
[
"0.1184",
"0.5405",
"0.486",
"0.5405",
"0.486",
"0.554",
"0.1184",
"0.554"
],
[
"0.11755",
"0.5547",
"0.4836",
"0.5547",
"0.4836",
"0.5684",
"0.11755",
"0.5684"
],
[
"0.6616",
"0.5503",
"0.678",
"0.5503",
"0.678",
"0.5586",
"0.6616",
"0.5586"
],
[
"0.511",
"0.56",
"0.8906",
"0.561",
"0.8906",
"0.579",
"0.511",
"0.5776"
],
[
"0.1184",
"0.572",
"0.4802",
"0.572",
"0.4802",
"0.585",
"0.1184",
"0.585"
],
[
"0.657",
"0.58",
"0.686",
"0.58",
"0.686",
"0.593",
"0.657",
"0.593"
],
[
"0.1184",
"0.5874",
"0.4844",
"0.5874",
"0.4844",
"0.601",
"0.1184",
"0.601"
],
[
"0.1184",
"0.604",
"0.486",
"0.604",
"0.486",
"0.6177",
"0.1184",
"0.6177"
],
[
"0.517",
"0.61",
"0.531",
"0.61",
"0.531",
"0.616",
"0.517",
"0.616"
],
[
"0.5283",
"0.6055",
"0.879",
"0.6055",
"0.879",
"0.619",
"0.5283",
"0.619"
],
[
"0.11755",
"0.619",
"0.486",
"0.619",
"0.486",
"0.633",
"0.11755",
"0.633"
],
[
"0.511",
"0.6216",
"0.7886",
"0.6216",
"0.7886",
"0.6357",
"0.511",
"0.6357"
],
[
"0.1184",
"0.6357",
"0.1377",
"0.6357",
"0.1377",
"0.6494",
"0.1184",
"0.6494"
],
[
"0.513",
"0.6494",
"0.5615",
"0.6494",
"0.5615",
"0.661",
"0.513",
"0.661"
],
[
"0.555",
"0.6465",
"0.7583",
"0.6484",
"0.7583",
"0.663",
"0.555",
"0.661"
],
[
"0.1368",
"0.653",
"0.4878",
"0.653",
"0.4878",
"0.6665",
"0.1368",
"0.6665"
],
[
"0.11755",
"0.6694",
"0.4895",
"0.6694",
"0.4895",
"0.683",
"0.11755",
"0.683"
],
[
"0.513",
"0.6694",
"0.881",
"0.6694",
"0.881",
"0.684",
"0.513",
"0.684"
],
[
"0.11755",
"0.685",
"0.4895",
"0.685",
"0.4895",
"0.6987",
"0.11755",
"0.6987"
],
[
"0.513",
"0.686",
"0.879",
"0.686",
"0.879",
"0.6997",
"0.513",
"0.6997"
],
[
"0.12006",
"0.7036",
"0.4836",
"0.7036",
"0.4836",
"0.7144",
"0.12006",
"0.7144"
],
[
"0.513",
"0.703",
"0.881",
"0.703",
"0.881",
"0.7163",
"0.513",
"0.7163"
],
[
"0.1184",
"0.7188",
"0.4844",
"0.7188",
"0.4844",
"0.7285",
"0.1184",
"0.7285"
],
[
"0.511",
"0.7188",
"0.881",
"0.7188",
"0.881",
"0.7324",
"0.511",
"0.7324"
],
[
"0.1184",
"0.734",
"0.486",
"0.734",
"0.486",
"0.7476",
"0.1184",
"0.7476"
],
[
"0.513",
"0.734",
"0.881",
"0.734",
"0.881",
"0.7476",
"0.513",
"0.7476"
],
[
"0.1184",
"0.7505",
"0.486",
"0.7505",
"0.486",
"0.764",
"0.1184",
"0.764"
],
[
"0.513",
"0.75",
"0.879",
"0.75",
"0.879",
"0.763",
"0.513",
"0.763"
],
[
"0.1184",
"0.7666",
"0.4878",
"0.7666",
"0.4878",
"0.78",
"0.1184",
"0.78"
],
[
"0.513",
"0.7666",
"0.881",
"0.7666",
"0.881",
"0.78",
"0.513",
"0.78"
],
[
"0.1184",
"0.781",
"0.357",
"0.782",
"0.357",
"0.7964",
"0.1184",
"0.796"
],
[
"0.511",
"0.781",
"0.879",
"0.781",
"0.879",
"0.7944",
"0.511",
"0.7944"
],
[
"0.511",
"0.7974",
"0.882",
"0.799",
"0.882",
"0.8135",
"0.511",
"0.8125"
],
[
"0.1142",
"0.8086",
"0.2644",
"0.8135",
"0.2644",
"0.829",
"0.1142",
"0.8247"
],
[
"0.513",
"0.814",
"0.879",
"0.8135",
"0.879",
"0.8276",
"0.513",
"0.829"
],
[
"0.1184",
"0.8413",
"0.4844",
"0.8413",
"0.4844",
"0.855",
"0.1184",
"0.855"
],
[
"0.592",
"0.8433",
"0.797",
"0.844",
"0.797",
"0.8594",
"0.592",
"0.858"
],
[
"0.1184",
"0.857",
"0.4878",
"0.857",
"0.4878",
"0.8706",
"0.1184",
"0.8706"
],
[
"0.12006",
"0.8745",
"0.4878",
"0.8745",
"0.4878",
"0.8853",
"0.12006",
"0.8853"
],
[
"0.492",
"0.8774",
"0.4995",
"0.8774",
"0.4995",
"0.882",
"0.492",
"0.882"
],
[
"0.511",
"0.8735",
"0.881",
"0.8735",
"0.881",
"0.887",
"0.511",
"0.887"
],
[
"0.1184",
"0.8896",
"0.4878",
"0.8896",
"0.4878",
"0.903",
"0.1184",
"0.903"
],
[
"0.513",
"0.8896",
"0.881",
"0.8896",
"0.881",
"0.903",
"0.513",
"0.903"
],
[
"0.12006",
"0.9062",
"0.1545",
"0.9062",
"0.1545",
"0.9175",
"0.12006",
"0.9175"
],
[
"0.5146",
"0.9067",
"0.879",
"0.9067",
"0.879",
"0.9175",
"0.5146",
"0.9175"
]
] | [
"法,如提示(Liuetal..2021),使PLM的参数保",
"2.1Problem Setup",
"",
"持不变,对于我们获取知识的目的是可取的。",
"给定一个复杂的查询9,我们的目标是驱动",
"但是,我们发现,无论是进行微调还是提示一",
"PLMM调用一系列简单的知识语句Cg",
"次生成一系列知识,PLM都倾向于在此过程",
"-",
"[c1,……,Cna],足以决定对q的响应。特别是,我",
"中失去其“思想链”,从而产生无关的事实或",
"们专注于开发提示方法,其中M的参数是固",
"遭受幻觉",
"定的,我们的目标是构造提示T,引导M调",
"受多步推理问题的送代性质的启发,我们",
"用Cg。请注意,这里我们将T视为一个变量,",
"在本文中探索了一种选代提示框架,该框架",
"它可能依赖于也可能不依赖于基于不同建模的",
"针对给定的推理任务逐步从PLM中获取知",
"其他变量。将M(T)编写为M,并增加了提",
"识。我们在迭代提示中有两个需求:(1)在",
"示T,我们的培训目标是学习如何找到可以最",
"不同的推理步骤中,提示需要关注复杂查询",
"大化对数似然的工",
"的不同组件。(2)提示应将先前步骤中收集",
"的知识适当地集成到当前步骤中;例如,在",
"N",
"图1中示例的第2步期间,提示需要将实体",
"C(T) = log P(Cq:lqi; M(T))",
"1=1",
"“DavidLloydGeorge”(来自第1步中回顾的知",
"识)与查询中未解决的部分“出生地是什么”",
"带有一组训练数据{qi,Ca]=1的",
"结合在一起",
"我们在这里的表述是通用的,适用于所有基",
"一种自然的想法是以选代的方式直接应用",
"于提示的方法,其中先前工作中的设置(例如",
"现有的提示方法。不幸的是,他们的提示要么",
"(Zhong et al., 2021; Shin et al., 2020; Lester et al.",
"仅限于具有单个可识别关系/谓词(Jiangetal.,",
"2021; Li and Liang, 2021; Qin and Eisner, 2021))",
"2020; Petroni et al., 2019; Zhong et al., 2021; Shin",
"对应于任何查询q的Cl=1的简化情况。在",
"etal.,2020;QinandEisner,2021)的查询,要么",
"我们的实验中,我们还考虑了PLM微调,在",
"对逐步输人(Lester et al.,2021;Li and Liang,",
"这种情况下,在管道中没有提示T,而是对",
"2021Brownetal.2020)不可知且不敏感,因",
"M的参数进行了优化",
"此对于我们的desiderata来说并不理想",
"2.2IterativePromptingFramework",
"我们为此设计了一种新颖的送代提示方法。",
"我们使用选代的上下文感知提示器来增强",
"受多步推理任务的顺序性质的启发,我们以迭",
"PLM,该模型学习根据当前步骤上下文动态",
"代的方式解决该问题:",
"合成提示。在每个步骤中,Prompter学习处理",
"查询和先前收集的证据,并编写一个提示,引",
"nq",
"P(Cqlq; M(T) = II P(cilq, C1, ., Cj--1; M(T)",
"导PLM调用下一条知识。与其他提示方法一",
"j=1",
"样,PLM在整个学习过程中保持固定。此外",
"随着PLM大小的增加,我们的方法中可训练",
"",
"其中在每个步骤j,M(T)都会调用下一个",
"参数的数量与以前的提示方法相比可缩放或较",
"知识ci,这些知识都以查询MAX",
"慢",
"2.3",
"Context-Aware Prompter",
"我们在三个涉及多步推理的数据集上进",
"行实验,包括两个最近的多跳问答数据集:",
"由于输入上下文q,C1.….,Ci-1的复杂性,以",
"2WikiMultiHopQA (Ho et al., 2020) 和 R4C (In-",
"前采用单关系输人的提示方法显然无法应用",
"oueetal.,2020),以及用于推理分类关系的科",
"于此送代设置。任务级提示方法(如Prompt",
"学数据集(Talmoretal.2020b)。我们的实验结",
"Tuning (Lester et al., 2021) 和 Prefix-Tuning (Li",
"果表明:(1)迭代方案的有效性;(2)我们提",
"andLiang,2021))在这里适用,其中T被视为",
"出的上下文感知提示器设计以明显的优势优于",
"静态参数。但是,如前所述,这种建模对于T",
"现有的提示方法;(3)定量和定性分析,揭示",
"完全捕获不同推理步骤中的可变性并不理想。",
"了我们学习的提示器的真实性",
"在这项工作中,我们将T建模为Prompter的",
"输出,Prompter是一个可学习的函数映射fw,",
"2Methodology",
"它动态合成Tw。r。t。当前步骤输人上下文:",
"在本节中,我们首先形式化我们的问题设置",
"T= fw(q,C1,., Cj-1), Vj",
"(82.1),然后介绍我们的送代提示框架(82.2),",
"然后介绍我们的上下文感知提示器设计(82.3",
"",
"提示器实例化。虽然Prompterfw有许多合",
"),该设计解决了以前的提示方法在此选代方",
"理的设计选择,但在这里我们使用基于转换",
"案中",
"器的语言模型对其进行实例化(如图2所"
] | {
"arxiv_id": "2203.08383",
"language": "zh",
"page_idx": 2
} |
||
2203.08383-zh-3 | 2203.08383-zh-3.jpg | <FigureHere>
Figure 2: Our context-aware prompter design. The prompter contextualizes a set of special tokens w.r.t. the current step context $q,c_1,...,c_{j-1}$ to get the resulting prompts, which steers the PLM to recall the next piece of knowledge $c_j$ .
示)。提示被设计为一组特殊令牌的上下文(由 Prompter)。r。t。当前步骤输入上下文,通过可训练矩阵线性投影到 PLM 的嵌入空间中(由于空间限制而在图中省略)。在这项工作中,我们采用了编码器-解码器 PLM,并在实现中使用了前缀提示;因此,我们在 PLM 的编码器输人和解码器输入之前都有提示。请注意,我们的设计可以很容易地适应其他类型的PLM(例如。g。、仅编码器/仅解码器型号)和不同的提示位置(e。g。,中缀,后缀)
与提示/前缀调整的比较。Prompt-Tuning(Lester et al., 2021) 和 Prefix-Tuning (Li and Liang, 2021) 都将 prompt $T$建模为与上下文无关的参数。在提示调整中,$T$与我们的方法具有相同的标识, 这是一组虚拟输入令牌 (编码器提示 &解码器提示在图 2 中)。在前缀调整中,$T$被建模为跨所有 PLM 层的虚拟提示令牌的激活集(转换器注意块中的键 &值)。令$D$为 PLM 的嵌人维度,$h$为 PLM 中的层数,$d$为 Prompter( $d\leq D$ )的嵌人维度,$l$为提示标记的长度(两个编码器&解码器均提示)。然后,对于我们提出的方法,可训练参数的数量为$\Theta(d\cdot(D+l))$ , 用于提示调整的$\Theta(l\cdot D)$和用于前缀调整的$\Theta(l\cdot h\cdot D)$。因此可以看出,我们提出的方法与Prompt-Tuning 相比,比 Prefix-Tuning 慢,并且随着 PLM 的扩展,总体上保持了可管理的训练参数数量(这会增加$D$ 和 $h)$
连续 v。s。离散提示。虽然将$T$建模为 PLM 词汇表中的离散标记可以提高提示的可读性, 但离散空间的表现力要比连续空间小得多,并且在离散空间上进行优化可能效率很低。此外,尽管在词汇表中,搜索的离散提示仍然可能具有较低的可解释性,如(Shin et al., 2020)
中的给定示例所示。因此,我们遵循先前的工作 (Zhong et al., 2021; Li and Liang, 2021; Lester et al., 2021; Qin and Eisner, 2021) , 并将提示建模为连续的虚拟令牌,而不是离散的令牌
# 2.4 Learning and Inference
我们使用老师强迫进行模型训练,即,在每个步骤中,将该步骤的地面实况上下文(查询和以前的知识片段)呈现给模型。我们使用标准的序列到序列(seq2seq)目标最大化$\mathcal{L}(T)$。在推理过程中,我们通过将步骤$t-1$中的召回知识作为步骤 $t$ 中的附加上下文进行自回归, 并执行一些预定义的步骤数。我们还探索了用“塞子”联合训练提示器,当它决定召回的证据足够充分时,它学会停止知识召回过程;详细信息包含在附录 A.4 中
# 3 Experimental Setup
我们的研究问题是如何引导 PLM 回忆一系列知识并得出用于多步骤推理的“思维链”。为此,我们在需要复杂的多步骤推理的几个数据集上进行实验,并比较不同的方法,以通过提示/前缀调整,微调和我们的提示器设计来指导 PLM。我们使用内在和外在指标来评估召回知识的质量,同时考虑最终答案的准确性和中间证据的覆盖率。
# 3.1 Datasets &Preprocessing
我们在三个涉及多步推理的数据集上进行实验,其中包括与查询相关的知识语句的注释: 2WikiMultiHopQA (缩写为 2Wiki) (Ho et al., 2020), R4C (Inoue et al., 2020) 和由 (Talmor et al., 2020b) 构造的科学常识推理数据集(缩写为 LoT $^{2}$ )
???WikiMultiHopQA (Ho et al.,2020) 。2Wiki 是最近的一个大规模多跳 QA 数据集,它总共包含超过 192k(167k 列车,12。5k 开发和 12。5k 测试) 由维基百科和维基数据联合构建的样本。由于测试集是私有的,因此我们将原始开发集随机拆分为我们的开发 &测试集(每个6k 个样本)。数据集格式在很大程度上遵循HotpotQA (Yang et al.,2018),但包括更多不同的问题推理类型和每个问题的证据路径的详细注释。在这里,证据路径是(主题实体,关系, 对象实体)知识库三元组的有序列表。我们将问题用作查询$q$,并使用简单的模板将证据路径中的每个三元组转换为自然语言语句,形成$C_q$ 。由于训练集的大小和有限的计算预算, 我们对训练数据的 10% 进行随机抽样以形成
$^2$The abbreviation here comes from the phrase“Leap-of-
Thought" in the paper title of (Talmor et al., 2020b) . | [
[
"0.5156",
"0.0885",
"0.879",
"0.0885",
"0.879",
"0.0986",
"0.5156",
"0.0986"
],
[
"0.511",
"0.1027",
"0.879",
"0.1027",
"0.879",
"0.1164",
"0.511",
"0.1164"
],
[
"0.3208",
"0.1217",
"0.4517",
"0.1217",
"0.4517",
"0.1318",
"0.3208",
"0.1318"
],
[
"0.513",
"0.12054",
"0.8774",
"0.12054",
"0.8774",
"0.1312",
"0.513",
"0.1312"
],
[
"0.513",
"0.1354",
"0.843",
"0.1354",
"0.843",
"0.1484",
"0.513",
"0.1484"
],
[
"0.1511",
"0.1223",
"0.2761",
"0.1223",
"0.2761",
"0.13",
"0.1511",
"0.13"
],
[
"0.3376",
"0.1567",
"0.345",
"0.1567",
"0.345",
"0.1609",
"0.3376",
"0.1609"
],
[
"0.511",
"0.1609",
"0.7446",
"0.1621",
"0.7446",
"0.177",
"0.511",
"0.1758"
],
[
"0.2603",
"0.1733",
"0.2703",
"0.1733",
"0.2703",
"0.177",
"0.2603",
"0.177"
],
[
"0.3225",
"0.1733",
"0.3333",
"0.1733",
"0.3333",
"0.177",
"0.3225",
"0.177"
],
[
"0.3552",
"0.1733",
"0.3745",
"0.1733",
"0.3745",
"0.177",
"0.3552",
"0.177"
],
[
"0.511",
"0.1829",
"0.879",
"0.1829",
"0.879",
"0.1965",
"0.511",
"0.1965"
],
[
"0.511",
"0.2007",
"0.8774",
"0.2007",
"0.8774",
"0.2144",
"0.511",
"0.2144"
],
[
"0.5146",
"0.2173",
"0.879",
"0.2173",
"0.879",
"0.231",
"0.5146",
"0.231"
],
[
"0.5146",
"0.2328",
"0.881",
"0.2328",
"0.881",
"0.2465",
"0.5146",
"0.2465"
],
[
"0.378",
"0.2411",
"0.3938",
"0.2411",
"0.3938",
"0.2488",
"0.378",
"0.2488"
],
[
"0.513",
"0.2488",
"0.879",
"0.2488",
"0.879",
"0.2625",
"0.513",
"0.2625"
],
[
"0.215",
"0.2642",
"0.2737",
"0.2642",
"0.2737",
"0.2756",
"0.215",
"0.2756"
],
[
"0.2747",
"0.2642",
"0.33",
"0.2642",
"0.33",
"0.2756",
"0.2747",
"0.2756"
],
[
"0.3594",
"0.2612",
"0.398",
"0.2612",
"0.398",
"0.2683",
"0.3594",
"0.2683"
],
[
"0.513",
"0.2654",
"0.881",
"0.2654",
"0.881",
"0.279",
"0.513",
"0.279"
],
[
"0.513",
"0.2808",
"0.881",
"0.2808",
"0.881",
"0.2944",
"0.513",
"0.2944"
],
[
"0.1184",
"0.288",
"0.4878",
"0.288",
"0.4878",
"0.3018",
"0.1184",
"0.3018"
],
[
"0.511",
"0.2976",
"0.881",
"0.2976",
"0.881",
"0.3113",
"0.511",
"0.3113"
],
[
"0.1184",
"0.304",
"0.4836",
"0.3027",
"0.4836",
"0.3164",
"0.1184",
"0.3176"
],
[
"0.1184",
"0.3176",
"0.4895",
"0.3176",
"0.4895",
"0.332",
"0.1184",
"0.332"
],
[
"0.513",
"0.3135",
"0.882",
"0.3135",
"0.882",
"0.3267",
"0.513",
"0.3267"
],
[
"0.11584",
"0.332",
"0.4895",
"0.3308",
"0.4895",
"0.3457",
"0.11584",
"0.3467"
],
[
"0.511",
"0.3289",
"0.7153",
"0.328",
"0.7153",
"0.3425",
"0.511",
"0.3433"
],
[
"0.11755",
"0.3467",
"0.272",
"0.3474",
"0.272",
"0.361",
"0.11755",
"0.3599"
],
[
"0.509",
"0.3557",
"0.723",
"0.357",
"0.723",
"0.3748",
"0.509",
"0.3735"
],
[
"0.1184",
"0.3884",
"0.4878",
"0.3884",
"0.4878",
"0.402",
"0.1184",
"0.402"
],
[
"0.51",
"0.3843",
"0.8774",
"0.3843",
"0.8774",
"0.398",
"0.51",
"0.398"
],
[
"0.11755",
"0.405",
"0.4844",
"0.405",
"0.4844",
"0.4187",
"0.11755",
"0.4187"
],
[
"0.51",
"0.3997",
"0.881",
"0.402",
"0.881",
"0.415",
"0.51",
"0.4133"
],
[
"0.1184",
"0.4204",
"0.4844",
"0.4204",
"0.4844",
"0.434",
"0.1184",
"0.434"
],
[
"0.511",
"0.4175",
"0.8774",
"0.4175",
"0.8774",
"0.4312",
"0.511",
"0.4312"
],
[
"0.1184",
"0.4358",
"0.4844",
"0.4358",
"0.4844",
"0.4495",
"0.1184",
"0.4495"
],
[
"0.511",
"0.4329",
"0.8774",
"0.4329",
"0.8774",
"0.4465",
"0.511",
"0.4465"
],
[
"0.12177",
"0.4536",
"0.4836",
"0.4536",
"0.4836",
"0.4644",
"0.12177",
"0.4644"
],
[
"0.513",
"0.4507",
"0.876",
"0.4507",
"0.876",
"0.4614",
"0.513",
"0.4614"
],
[
"0.1184",
"0.4685",
"0.486",
"0.4685",
"0.486",
"0.4822",
"0.1184",
"0.4822"
],
[
"0.511",
"0.4631",
"0.881",
"0.4644",
"0.881",
"0.4785",
"0.511",
"0.478"
],
[
"0.1184",
"0.4863",
"0.4836",
"0.4863",
"0.4836",
"0.4963",
"0.1184",
"0.4963"
],
[
"0.51",
"0.481",
"0.879",
"0.481",
"0.879",
"0.4946",
"0.51",
"0.4946"
],
[
"0.1184",
"0.502",
"0.4844",
"0.502",
"0.4844",
"0.5156",
"0.1184",
"0.5156"
],
[
"0.511",
"0.4963",
"0.671",
"0.4976",
"0.671",
"0.5127",
"0.511",
"0.511"
],
[
"0.11755",
"0.5166",
"0.4844",
"0.517",
"0.4844",
"0.532",
"0.11755",
"0.531"
],
[
"0.511",
"0.524",
"0.76",
"0.5254",
"0.76",
"0.5405",
"0.511",
"0.538"
],
[
"0.1184",
"0.5337",
"0.3914",
"0.5337",
"0.3914",
"0.549",
"0.1184",
"0.549"
],
[
"0.12006",
"0.5503",
"0.4878",
"0.5503",
"0.4878",
"0.564",
"0.12006",
"0.564"
],
[
"0.513",
"0.546",
"0.881",
"0.5464",
"0.881",
"0.561",
"0.513",
"0.56"
],
[
"0.1184",
"0.5664",
"0.4878",
"0.5664",
"0.4878",
"0.58",
"0.1184",
"0.58"
],
[
"0.513",
"0.5635",
"0.8833",
"0.5635",
"0.8833",
"0.5767",
"0.513",
"0.5767"
],
[
"0.1184",
"0.583",
"0.4878",
"0.583",
"0.4878",
"0.5967",
"0.1184",
"0.5967"
],
[
"0.513",
"0.579",
"0.881",
"0.579",
"0.881",
"0.593",
"0.513",
"0.593"
],
[
"0.1184",
"0.5986",
"0.4895",
"0.5986",
"0.4895",
"0.6123",
"0.1184",
"0.6123"
],
[
"0.511",
"0.594",
"0.881",
"0.594",
"0.881",
"0.608",
"0.511",
"0.608"
],
[
"0.11755",
"0.6133",
"0.4878",
"0.6143",
"0.4878",
"0.629",
"0.11755",
"0.6274"
],
[
"0.513",
"0.61",
"0.881",
"0.61",
"0.881",
"0.6245",
"0.513",
"0.6245"
],
[
"0.11755",
"0.63",
"0.4844",
"0.63",
"0.4844",
"0.6436",
"0.11755",
"0.6436"
],
[
"0.51",
"0.627",
"0.613",
"0.6245",
"0.613",
"0.6396",
"0.51",
"0.641"
],
[
"0.1184",
"0.6465",
"0.4844",
"0.6465",
"0.4844",
"0.66",
"0.1184",
"0.66"
],
[
"0.531",
"0.6436",
"0.882",
"0.6436",
"0.882",
"0.6567",
"0.531",
"0.6567"
],
[
"0.11755",
"0.661",
"0.486",
"0.662",
"0.486",
"0.677",
"0.11755",
"0.676"
],
[
"0.511",
"0.659",
"0.881",
"0.659",
"0.881",
"0.673",
"0.511",
"0.673"
],
[
"0.12006",
"0.6787",
"0.4844",
"0.6787",
"0.4844",
"0.6924",
"0.12006",
"0.6924"
],
[
"0.513",
"0.677",
"0.882",
"0.677",
"0.882",
"0.6904",
"0.513",
"0.6904"
],
[
"0.11755",
"0.695",
"0.4844",
"0.695",
"0.4844",
"0.708",
"0.11755",
"0.708"
],
[
"0.511",
"0.6934",
"0.8774",
"0.6934",
"0.8774",
"0.7036",
"0.511",
"0.7036"
],
[
"0.12006",
"0.7114",
"0.4844",
"0.7114",
"0.4844",
"0.7246",
"0.12006",
"0.7246"
],
[
"0.513",
"0.709",
"0.879",
"0.709",
"0.879",
"0.7227",
"0.513",
"0.7227"
],
[
"0.1184",
"0.727",
"0.4878",
"0.727",
"0.4878",
"0.7407",
"0.1184",
"0.7407"
],
[
"0.511",
"0.7236",
"0.879",
"0.7236",
"0.879",
"0.737",
"0.511",
"0.737"
],
[
"0.1368",
"0.7437",
"0.4844",
"0.7437",
"0.4844",
"0.7573",
"0.1368",
"0.7573"
],
[
"0.513",
"0.7407",
"0.881",
"0.7407",
"0.881",
"0.7544",
"0.513",
"0.7544"
],
[
"0.126",
"0.749",
"0.1368",
"0.749",
"0.1368",
"0.7544",
"0.126",
"0.7544"
],
[
"0.11755",
"0.759",
"0.4836",
"0.759",
"0.4836",
"0.7725",
"0.11755",
"0.7725"
],
[
"0.513",
"0.7573",
"0.881",
"0.7573",
"0.881",
"0.771",
"0.513",
"0.771"
],
[
"0.1184",
"0.7754",
"0.4844",
"0.7754",
"0.4844",
"0.789",
"0.1184",
"0.789"
],
[
"0.51",
"0.7715",
"0.879",
"0.7715",
"0.879",
"0.785",
"0.51",
"0.785"
],
[
"0.11755",
"0.7905",
"0.4844",
"0.7905",
"0.4844",
"0.804",
"0.11755",
"0.804"
],
[
"0.513",
"0.789",
"0.882",
"0.789",
"0.882",
"0.8027",
"0.513",
"0.8027"
],
[
"0.1184",
"0.808",
"0.3745",
"0.808",
"0.3745",
"0.822",
"0.1184",
"0.822"
],
[
"0.513",
"0.8047",
"0.879",
"0.8047",
"0.879",
"0.8184",
"0.513",
"0.8184"
],
[
"0.1184",
"0.8247",
"0.486",
"0.8247",
"0.486",
"0.8384",
"0.1184",
"0.8384"
],
[
"0.513",
"0.821",
"0.881",
"0.8193",
"0.881",
"0.8345",
"0.513",
"0.835"
],
[
"0.1184",
"0.8413",
"0.486",
"0.8413",
"0.486",
"0.855",
"0.1184",
"0.855"
],
[
"0.513",
"0.8374",
"0.881",
"0.8374",
"0.881",
"0.851",
"0.513",
"0.851"
],
[
"0.11755",
"0.857",
"0.4878",
"0.8555",
"0.4878",
"0.869",
"0.11755",
"0.8706"
],
[
"0.513",
"0.854",
"0.8774",
"0.854",
"0.8774",
"0.8677",
"0.513",
"0.8677"
],
[
"0.12177",
"0.8745",
"0.486",
"0.8745",
"0.486",
"0.8853",
"0.12177",
"0.8853"
],
[
"0.511",
"0.869",
"0.881",
"0.869",
"0.881",
"0.883",
"0.511",
"0.883"
],
[
"0.1184",
"0.8896",
"0.4844",
"0.8896",
"0.4844",
"0.903",
"0.1184",
"0.903"
],
[
"0.531",
"0.891",
"0.882",
"0.8936",
"0.882",
"0.9077",
"0.531",
"0.9062"
],
[
"0.1184",
"0.9067",
"0.4844",
"0.9067",
"0.4844",
"0.9175",
"0.1184",
"0.9175"
],
[
"0.51",
"0.9062",
"0.8296",
"0.9062",
"0.8296",
"0.9194",
"0.51",
"0.9194"
]
] | [
"中的给定示例所示。因此,我们遵循先前的工",
"作 (Zhong et al., 2021; Li and Liang, 2021; Lester",
"PLMDecoderBlock (fixed",
"etal.2021QinandEisner,2021),并将提示建",
"模为连续的虚拟令牌,而不是离散的令牌",
"PLMEncoderBlock(fixed",
"",
"2.4Learning and Inference",
"",
"ec",
"rom",
"我们使用老师强迫进行模型训练,即,在每个",
"步骤中,将该步骤的地面实况上下文(查询和",
"以前的知识片段)呈现给模型。我们使用标准",
"的序列到序列(seq2seq)目标最大化C(T)。在",
".",
"推理过程中,我们通过将步骤t-1中的召回",
"Speclal Tokens",
"Speciaf Token",
",C1,...,",
"知识作为步骤t中的附加上下文进行自回归,",
"并执行一些预定义的步骤数。我们还探索了用",
"Figure 2: Our context-aware prompter design. The",
"“塞子”联合训练提示器,当它决定召回的证",
"prompter contextualizes a set of special tokens w.r.t.",
"the current step context q, Ci, ., Cj-1 to get the result-",
"据足够充分时,它学会停止知识召回过程;详",
"ing prompts, which steers the PLM to recall the next",
"细信息包含在附录A.4中",
"piece of knowledge cj",
"3Experimental Setup",
"示)。提示被设计为一组特殊令牌的上下文",
"我们的研究问题是如何引导PLM回忆一系列",
"(由Prompter)。r。t。当前步骤输入上下文,通",
"知识并得出用于多步骤推理的“思维链”。为",
"过可训练矩阵线性投影到PLM的嵌入空间中",
"此,我们在需要复杂的多步骤推理的几个数据",
"(由于空间限制而在图中省略)。在这项工作",
"集上进行实验,并比较不同的方法,以通过提",
"中,我们采用了编码器-解码器PLM,并在实",
"示/前缀调整,微调和我们的提示器设计来指",
"现中使用了前缀提示;因此,我们在PLM的",
"导PLM。我们使用内在和外在指标来评估召",
"编码器输入和解码器输人之前都有提示。请注",
"回知识的质量,同时考虑最终答案的准确性和",
"意,我们的设计可以很容易地适应其他类型的",
"中间证据的覆盖率。",
"PLM(例如。g。、仅编码器/仅解码器型号)和不",
"3.1Datasets & Preprocessing",
"同的提示位置(e。g。,中缀,后缀)",
"与提示/前缀调整的比较。Prompt-Tuning(Lester",
"我们在三个涉及多步推理的数据集上进行实",
"et al., 2021) 和 Prefix-Tuning (Li and Liang, 2021)",
"验,其中包括与查询相关的知识语句的注释:",
"都将promptT建模为与上下文无关的参数。在",
"2WikiMultiHopQA(缩写为2Wiki)(Hoet al.,",
"提示调整中,T与我们的方法具有相同的标识,",
"2020),R4C(Inoue etal.,2020)和由(Talmor",
"这是一组虚拟输入令牌(编码器提示&解码器",
"etal.,2020b)构造的科学常识推理数据集(缩",
"提示在图2中)。在前缀调整中,T被建模为",
"写为LoT2)",
"跨所有PLM层的虚拟提示令牌的激活集(转",
"???WikiMultiHopQA (Ho et al.,2020)。2Wiki",
"换器注意块中的键&值)。令D为PLM的嵌",
"是最近的一个大规模多跳QA数据集,它总共",
"人维度,h为PLM中的层数,d为Prompter(",
"包含超过192k(167k列车,12。5k开发和12。",
"d<D)的嵌人维度,为提示标记的长度(两",
"5k测试)由维基百科和维基数据联合构建的样",
"个编码器&解码器均提示)。然后,对于我们提",
"本。由于测试集是私有的,因此我们将原始开",
"出的方法,可训练参数的数量为(d·(D+U))",
"发集随机拆分为我们的开发&测试集(每个",
"用于提示调整的O(I·D)和用于前缀调整的",
"6k个样本)。数据集格式在很大程度上遵循",
"",
"①(1.h·D)。因此可以看出,我们提出的方法与",
"HotpotQA(Yangetal.2018),但包括更多不同",
"Prompt-Tuning相比,比Prefix-Tuning慢,并且",
"的问题推理类型和每个问题的证据路径的详细",
"随着PLM的扩展,总体上保持了可管理的训",
"注释。在这里,证据路径是(主题实体,关系,",
"练参数数量(这会增加D和h)",
"对象实体)知识库三元组的有序列表。我们将",
"连续V。S。离散提示。虽然将T建模为PLM",
"问题用作查询q,并使用简单的模板将证据",
"词汇表中的离散标记可以提高提示的可读性,",
"路径中的每个三元组转换为自然语言语句,形",
"但离散空间的表现力要比连续空间小得多,并",
"成Cg。由于训练集的大小和有限的计算预算",
"且在离散空间上进行优化可能效率很低。此",
"我们对训练数据的10%进行随机抽样以形成",
"外,尽管在词汇表中,搜索的离散提示仍然可",
"2The abbreviation here comes from the phraseLeap-of-",
"能具有较低的可解释性,如(Shinetal.,2020)",
"Thought\" in the paper title of (Talmor et al., 2020b)"
] | {
"arxiv_id": "2203.08383",
"language": "zh",
"page_idx": 3
} |
||
2203.08383-zh-4 | 2203.08383-zh-4.jpg | 我们的最终训练集,这在很大程度上减少了测
试/训练重叠(更多细节在 §4.2)
多跳 QA 数据集,其中包含带注释的证据路径。数据集包含4。6k 示例(2。4k列车,2。2k开发)构建在 HotpotQA 之上,作者利用众包的努力,以简单的主语-动词-宾语自然语言句子的形式收集证据路径。同样,我们将开发集(没有给出测试集)随机拆分为我们的开发集和测试集(1。每个 1k 个样品)。我们将问题用作查询$q$,并将带注释的证据句子用作$C_q$
LoT (Talmor et al.,2020b)。数据集涉及从 ConceptNet 和 WordNet 构建的一组分类关系的推理。每个示例都包含一个假设(e。g。,“鲸鱼有一个肚脐”),我们将其视为查询$q$,以及一组简单的事实,包括 hypernym 规则 (e。g。,“鲸鱼是哺乳动物”,“鲸鱼是脊椎动物”)和属性(e。g。,“哺乳动物有肚脐”,“脊椎动物有尾巴”)。通过对事实进行推理并选择正确的 hypernym 规则&属性链(“鲸鱼是哺乳动物”,“哺乳动物有肚脐”),可以验证或否认给定的假设。直接使用黄金 hypernym 规则和属性作为$C_q$ 的一个微妙问题是,在第一步中, 如果不在第二步中查看属性,就很难直接识别正确的对象实体。因此,对于第一步,我们将数据集中出现的所有超 nymic 对象连接 w。r。t。到同一主题以形成$c_1$ 。我们从原始训练集中删除样本,其中相关事实未(或仅部分)提供,并获得 9。4k/1。2K/1。用于培训/开发/测试的 2k 个样本
对于 2Wiki 和 R4C, 推理期间的步数设置为4 , $因 为 超 过 99$ $个$样本具有更少或等于 4 的推理步数。对于 LoT, 我们将推理步骤的数量设置为 2。总体而言,我们将 2Wiki 视为我们的“主要”评估数据集,因为它具有最大的规模(尽管我们进行了下采样)和多样化的查询类型,并使用它来进行 §4.2 中提示的忠实研究。处理后的数据样本的一些示例如附录 A.6所示
## 3.2 Compared Methods
我们在非迭代和迭代设置下比较了我们提出的选代上下文感知提示器 (iCAP) 以及提示调整(Prompt-T),前缀调整(Prefix-T)和PLM微调(PLM-FT)。§2.2 中描述了迭代设置,对于非迭代设置,我们只需将$C_q$中的所有知识语句连接起来,即可为每个查询形成一个单一的知识片段。在外部评估中,我们还与在没有知识召回(PLM-QA)的情况下对(查询,答案)对PLM 进行微调进行了比较,后者测量了 PLM 可以直接解决这些多步推理问题的程度,这是
PLM 的一项技能如先前的工作所示,。我们还在向读者提供地面实况上下文 (Oracle-RD)
R4C (Inoue et al., 2020) 。R4C 是最近的另一个 时报告最终推理结果,作为外部评估的上限。
不包括特定于关系的提示方法,如(Shin et al., 2020; Zhong et al., 2021; Petroni et al., 2019) , 因为它们不直接适用于我们前面讨论的问题设置
我们在这项工作中的重点是 PLM 的知识获取,因此我们不打算与以前的数据集特定方法进行比较,这些方法通常具有与我们不同的问题公式&重点,并利用我们不使用的数据集中的其他属性(例如。g。,黄金&分心证据段落)
## 3.3 $\textbf{Evaluation Metric}$
我们使用内部和外部度量来评估 PLM 召回的
知识
内部评估。在这里,我们直接衡量召回知识的质量。虽然有用于评估文本生成的标准指标, 如 BLEU 和 ROUGE, 但这些指标通常无法捕获我们希望检查的召回知识的以实体为中心的性质(更多详细信息包含在附录 A.3 中)。因此,我们提出了一套更适合我们实验任务的措施。对于 2Wiki 和 R4C, 我们评估召回的知识包含答案实体的比率 (Ans。$R$ );我们还计算仅在答案实体未出现在查询中的那些样本之间的比率 (Ans。$\boldsymbol{R}$)。对于 2Wiki 和 LoT, 我们还通过计算召回上下文中出现的黄金证据的平均比率来评估召回上下文的证据覆盖率 (Evi。$R$ )和召回所有黄金证据的样本比例 (Evi。$R^*$ )作为更严格的措施。对于 2Wiki,我们使用来自带注释的 KB 三元组的实体作为证据。对于 LoT, 我们将 hypernym 规则/属性视为证据, 其中在第 1 步中,如果调用了 gold 对象,则认为 hypernym 规则是正确的,并在第 2 步中为调用的属性使用精确匹配
外部评估。我们还通过测量召回的知识在多大程度上帮助找到对查询的响应来进行外部评估。与阅读理解类似,我们将所有回忆的知识连接为上下文,并使用一个读者试图在给定查询和上下文的情况下推断答案。对于 2Wiki 和R4C,我们首先使用地面实况上下文对阅读器进行预训练,然后在召回的上下文$^3$上对其进行微调;对于 LoT, 我们直接使用基于规则的阅读器$^{4}$。我们报告 2Wiki&R4C 的精确匹配(EM)和答案 F1 分数,以及 LoT 的 EM 分数, 其中答案限制为是/否
${^3}$We found in our preliminary experiments that this ap-
proach gives the best results across different methods.
$^{4}$LoT is constructed using templates, and therefore a rulebased reader can perfectly solve the inference task (100% accuracy when ground truth contexts are given, see Table 2 ). | [
[
"0.1184",
"0.0873",
"0.4878",
"0.0873",
"0.4878",
"0.10095",
"0.1184",
"0.10095"
],
[
"0.4978",
"0.09143",
"0.5054",
"0.09143",
"0.5054",
"0.0944",
"0.4978",
"0.0944"
],
[
"0.511",
"0.0873",
"0.881",
"0.0873",
"0.881",
"0.10095",
"0.511",
"0.10095"
],
[
"0.12006",
"0.1027",
"0.3745",
"0.1027",
"0.3745",
"0.1164",
"0.12006",
"0.1164"
],
[
"0.5146",
"0.1027",
"0.881",
"0.1027",
"0.881",
"0.1164",
"0.5146",
"0.1164"
],
[
"0.1184",
"0.12054",
"0.4844",
"0.12054",
"0.4844",
"0.1342",
"0.1184",
"0.1342"
],
[
"0.5146",
"0.12054",
"0.879",
"0.12054",
"0.879",
"0.1312",
"0.5146",
"0.1312"
],
[
"0.1184",
"0.1354",
"0.4836",
"0.1354",
"0.4836",
"0.1484",
"0.1184",
"0.1484"
],
[
"0.513",
"0.1354",
"0.881",
"0.1354",
"0.881",
"0.1484",
"0.513",
"0.1484"
],
[
"0.1184",
"0.1526",
"0.4844",
"0.1526",
"0.4844",
"0.1663",
"0.1184",
"0.1663"
],
[
"0.511",
"0.152",
"0.881",
"0.152",
"0.881",
"0.165",
"0.511",
"0.165"
],
[
"0.12177",
"0.1704",
"0.4836",
"0.1704",
"0.4836",
"0.1812",
"0.12177",
"0.1812"
],
[
"0.513",
"0.1675",
"0.881",
"0.1675",
"0.881",
"0.1812",
"0.513",
"0.1812"
],
[
"0.11755",
"0.1841",
"0.4836",
"0.1841",
"0.4836",
"0.1978",
"0.11755",
"0.1978"
],
[
"0.531",
"0.1853",
"0.882",
"0.1853",
"0.882",
"0.199",
"0.531",
"0.199"
],
[
"0.1184",
"0.2019",
"0.4844",
"0.2019",
"0.4844",
"0.2156",
"0.1184",
"0.2156"
],
[
"0.513",
"0.2019",
"0.881",
"0.2019",
"0.881",
"0.2156",
"0.513",
"0.2156"
],
[
"0.1184",
"0.2173",
"0.4844",
"0.2173",
"0.4844",
"0.231",
"0.1184",
"0.231"
],
[
"0.513",
"0.2185",
"0.881",
"0.2185",
"0.881",
"0.2322",
"0.513",
"0.2322"
],
[
"0.12006",
"0.2328",
"0.4844",
"0.2328",
"0.4844",
"0.2465",
"0.12006",
"0.2465"
],
[
"0.511",
"0.234",
"0.8774",
"0.234",
"0.8774",
"0.2477",
"0.511",
"0.2477"
],
[
"0.1184",
"0.2488",
"0.4182",
"0.2494",
"0.4182",
"0.2642",
"0.1184",
"0.2632"
],
[
"0.5146",
"0.2494",
"0.881",
"0.2494",
"0.881",
"0.2642",
"0.5146",
"0.2642"
],
[
"0.11755",
"0.2673",
"0.4902",
"0.2673",
"0.4902",
"0.2808",
"0.11755",
"0.2808"
],
[
"0.51",
"0.2666",
"0.538",
"0.2666",
"0.538",
"0.279",
"0.51",
"0.279"
],
[
"0.11755",
"0.2832",
"0.4844",
"0.282",
"0.4844",
"0.2964",
"0.11755",
"0.2976"
],
[
"0.1184",
"0.2998",
"0.4844",
"0.2998",
"0.4844",
"0.3142",
"0.1184",
"0.3142"
],
[
"0.51",
"0.2986",
"0.7036",
"0.2986",
"0.7036",
"0.3123",
"0.51",
"0.3123"
],
[
"0.12006",
"0.3142",
"0.4844",
"0.3154",
"0.4844",
"0.33",
"0.12006",
"0.3289"
],
[
"0.511",
"0.3225",
"0.8774",
"0.3225",
"0.8774",
"0.3362",
"0.511",
"0.3362"
],
[
"0.11755",
"0.33",
"0.4878",
"0.3308",
"0.4878",
"0.3457",
"0.11755",
"0.3445"
],
[
"0.513",
"0.3403",
"0.55",
"0.3403",
"0.55",
"0.3528",
"0.513",
"0.3528"
],
[
"0.1184",
"0.3474",
"0.486",
"0.3474",
"0.486",
"0.361",
"0.1184",
"0.361"
],
[
"0.513",
"0.3582",
"0.879",
"0.3582",
"0.879",
"0.3718",
"0.513",
"0.3718"
],
[
"0.1184",
"0.364",
"0.4844",
"0.364",
"0.4844",
"0.379",
"0.1184",
"0.379"
],
[
"0.1184",
"0.3801",
"0.4844",
"0.3801",
"0.4844",
"0.3938",
"0.1184",
"0.3938"
],
[
"0.513",
"0.3748",
"0.881",
"0.3748",
"0.881",
"0.3884",
"0.513",
"0.3884"
],
[
"0.1184",
"0.3955",
"0.4844",
"0.3955",
"0.4844",
"0.4104",
"0.1184",
"0.4104"
],
[
"0.513",
"0.3901",
"0.881",
"0.3901",
"0.881",
"0.4038",
"0.513",
"0.4038"
],
[
"0.1184",
"0.412",
"0.4836",
"0.412",
"0.4836",
"0.4258",
"0.1184",
"0.4258"
],
[
"0.5146",
"0.408",
"0.879",
"0.408",
"0.879",
"0.4187",
"0.5146",
"0.4187"
],
[
"0.11755",
"0.427",
"0.486",
"0.4275",
"0.486",
"0.4424",
"0.11755",
"0.4412"
],
[
"0.513",
"0.4229",
"0.881",
"0.4229",
"0.881",
"0.4358",
"0.513",
"0.4358"
],
[
"0.513",
"0.4382",
"0.881",
"0.4382",
"0.881",
"0.452",
"0.513",
"0.452"
],
[
"0.11755",
"0.4448",
"0.486",
"0.4448",
"0.486",
"0.4578",
"0.11755",
"0.4578"
],
[
"0.511",
"0.4531",
"0.881",
"0.4536",
"0.881",
"0.4685",
"0.511",
"0.4673"
],
[
"0.1184",
"0.4602",
"0.4878",
"0.4602",
"0.4878",
"0.4739",
"0.1184",
"0.4739"
],
[
"0.5146",
"0.4702",
"0.881",
"0.4702",
"0.881",
"0.484",
"0.5146",
"0.484"
],
[
"0.1184",
"0.4768",
"0.4844",
"0.4768",
"0.4844",
"0.4905",
"0.1184",
"0.4905"
],
[
"0.11755",
"0.4912",
"0.4878",
"0.4922",
"0.4878",
"0.5073",
"0.11755",
"0.506"
],
[
"0.5146",
"0.4863",
"0.879",
"0.4863",
"0.879",
"0.4995",
"0.5146",
"0.4995"
],
[
"0.513",
"0.503",
"0.881",
"0.503",
"0.881",
"0.5166",
"0.513",
"0.5166"
],
[
"0.11755",
"0.509",
"0.486",
"0.509",
"0.486",
"0.5225",
"0.11755",
"0.5225"
],
[
"0.513",
"0.5186",
"0.881",
"0.5186",
"0.881",
"0.532",
"0.513",
"0.532"
],
[
"0.12006",
"0.525",
"0.4844",
"0.525",
"0.4844",
"0.538",
"0.12006",
"0.538"
],
[
"0.511",
"0.5337",
"0.879",
"0.5337",
"0.879",
"0.5474",
"0.511",
"0.5474"
],
[
"0.1184",
"0.5405",
"0.4844",
"0.5405",
"0.4844",
"0.554",
"0.1184",
"0.554"
],
[
"0.12006",
"0.557",
"0.2393",
"0.557",
"0.2393",
"0.571",
"0.12006",
"0.571"
],
[
"0.5146",
"0.552",
"0.8774",
"0.552",
"0.8774",
"0.5654",
"0.5146",
"0.5654"
],
[
"0.513",
"0.568",
"0.879",
"0.568",
"0.879",
"0.582",
"0.513",
"0.582"
],
[
"0.1368",
"0.5747",
"0.4844",
"0.5747",
"0.4844",
"0.5884",
"0.1368",
"0.5884"
],
[
"0.5146",
"0.585",
"0.879",
"0.585",
"0.879",
"0.5957",
"0.5146",
"0.5957"
],
[
"0.11755",
"0.5913",
"0.4844",
"0.5913",
"0.4844",
"0.605",
"0.11755",
"0.605"
],
[
"0.513",
"0.5996",
"0.8774",
"0.5996",
"0.8774",
"0.6133",
"0.513",
"0.6133"
],
[
"0.1184",
"0.607",
"0.4878",
"0.607",
"0.4878",
"0.6206",
"0.1184",
"0.6206"
],
[
"0.513",
"0.615",
"0.879",
"0.615",
"0.879",
"0.63",
"0.513",
"0.63"
],
[
"0.1184",
"0.6235",
"0.4878",
"0.6235",
"0.4878",
"0.637",
"0.1184",
"0.637"
],
[
"0.511",
"0.6313",
"0.879",
"0.6313",
"0.879",
"0.6445",
"0.511",
"0.6445"
],
[
"0.11755",
"0.638",
"0.486",
"0.638",
"0.486",
"0.652",
"0.11755",
"0.652"
],
[
"0.511",
"0.6465",
"0.7153",
"0.6465",
"0.7153",
"0.66",
"0.511",
"0.66"
],
[
"0.11755",
"0.654",
"0.4844",
"0.654",
"0.4844",
"0.6675",
"0.11755",
"0.6675"
],
[
"0.1184",
"0.6704",
"0.486",
"0.6704",
"0.486",
"0.684",
"0.1184",
"0.684"
],
[
"0.513",
"0.6665",
"0.881",
"0.6665",
"0.881",
"0.6797",
"0.513",
"0.6797"
],
[
"0.11755",
"0.686",
"0.486",
"0.686",
"0.486",
"0.6997",
"0.11755",
"0.6997"
],
[
"0.513",
"0.6816",
"0.879",
"0.6816",
"0.879",
"0.6953",
"0.513",
"0.6953"
],
[
"0.11755",
"0.7007",
"0.157",
"0.703",
"0.1561",
"0.7188",
"0.11584",
"0.7163"
],
[
"0.5146",
"0.6987",
"0.879",
"0.6987",
"0.879",
"0.709",
"0.5146",
"0.709"
],
[
"0.5146",
"0.7144",
"0.882",
"0.7144",
"0.882",
"0.728",
"0.5146",
"0.728"
],
[
"0.513",
"0.7285",
"0.879",
"0.7285",
"0.879",
"0.742",
"0.513",
"0.742"
],
[
"0.11584",
"0.7363",
"0.3208",
"0.7363",
"0.3208",
"0.75",
"0.11584",
"0.75"
],
[
"0.5146",
"0.745",
"0.881",
"0.745",
"0.881",
"0.759",
"0.5146",
"0.759"
],
[
"0.12006",
"0.7627",
"0.4836",
"0.7627",
"0.4836",
"0.7725",
"0.12006",
"0.7725"
],
[
"0.511",
"0.761",
"0.881",
"0.7603",
"0.881",
"0.775",
"0.511",
"0.7754"
],
[
"0.1184",
"0.777",
"0.4844",
"0.777",
"0.4844",
"0.7905",
"0.1184",
"0.7905"
],
[
"0.511",
"0.778",
"0.881",
"0.778",
"0.881",
"0.7915",
"0.511",
"0.7915"
],
[
"0.1184",
"0.792",
"0.486",
"0.792",
"0.486",
"0.8057",
"0.1184",
"0.8057"
],
[
"0.5146",
"0.796",
"0.879",
"0.796",
"0.879",
"0.8057",
"0.5146",
"0.8057"
],
[
"0.12006",
"0.81",
"0.4836",
"0.81",
"0.4836",
"0.821",
"0.12006",
"0.821"
],
[
"0.511",
"0.811",
"0.881",
"0.811",
"0.881",
"0.8247",
"0.511",
"0.8247"
],
[
"0.1184",
"0.826",
"0.486",
"0.826",
"0.486",
"0.839",
"0.1184",
"0.839"
],
[
"0.511",
"0.826",
"0.686",
"0.8267",
"0.686",
"0.8413",
"0.511",
"0.8403"
],
[
"0.1184",
"0.8413",
"0.4844",
"0.8413",
"0.4844",
"0.855",
"0.1184",
"0.855"
],
[
"0.1184",
"0.8594",
"0.4802",
"0.8594",
"0.4802",
"0.869",
"0.1184",
"0.869"
],
[
"0.534",
"0.8555",
"0.882",
"0.8594",
"0.882",
"0.8726",
"0.534",
"0.869"
],
[
"0.11755",
"0.8716",
"0.4878",
"0.8726",
"0.4878",
"0.887",
"0.11755",
"0.8857"
],
[
"0.513",
"0.8716",
"0.8364",
"0.8716",
"0.8364",
"0.882",
"0.513",
"0.882"
],
[
"0.532",
"0.88",
"0.881",
"0.882",
"0.881",
"0.8965",
"0.532",
"0.8945"
],
[
"0.1184",
"0.8896",
"0.4878",
"0.8896",
"0.4878",
"0.903",
"0.1184",
"0.903"
],
[
"0.511",
"0.8936",
"0.881",
"0.8926",
"0.881",
"0.9062",
"0.511",
"0.9067"
],
[
"0.12006",
"0.9067",
"0.4844",
"0.9067",
"0.4844",
"0.9175",
"0.12006",
"0.9175"
],
[
"0.511",
"0.9062",
"0.881",
"0.9062",
"0.881",
"0.9194",
"0.511",
"0.9194"
]
] | [
"我们的最终训练集,这在很大程度上减少了测",
"",
"PLM的一项技能如先前的工作所示,。我们",
"试/训练重叠(更多细节在$4.2)",
"还在向读者提供地面实况上下文(Oracle-RD)",
"R4C(Inoueetal.,2020)。R4C是最近的另一个",
"时报告最终推理结果,作为外部评估的上限。",
"多跳QA数据集,其中包含带注释的证据路径。",
"不包括特定于关系的提示方法,如(Shinetal.",
"数据集包含4。6k示例(2。4k列车,2。2k开",
"2020; Zhong et al., 2021; Petroni et al., 2019),因",
"发)构建在HotpotQA之上,作者利用众包的努",
"为它们不直接适用于我们前面讨论的问题设置",
"力,以简单的主语-动词-宾语自然语言句子的",
"我们在这项工作中的重点是PLM的知识获",
"形式收集证据路径。同样,我们将开发集(没",
"取,因此我们不打算与以前的数据集特定方法",
"有给出测试集)随机拆分为我们的开发集和测",
"进行比较,这些方法通常具有与我们不同的问",
"试集(1。每个1k个样品)。我们将问题用作查",
"题公式&重点,并利用我们不使用的数据集",
"询q,并将带注释的证据句子用作Cq",
"中的其他属性(例如。g。,黄金&分心证据段",
"LoT(Talmoretal.,2020b)。数据集涉及从Con-",
"落)",
"ceptNet和WordNet构建的一组分类关系的推",
"理。每个示例都包含一个假设(e。g。,“鲸鱼有",
"3.3Evaluation Metric",
"一个肚脐”),我们将其视为查询9,以及一组",
"我们使用内部和外部度量来评估PLM召回的",
"简单的事实,包括hypernym规则(e。g。,“鲸",
"知识",
"鱼是哺乳动物”,“鲸鱼是脊椎动物”)和属",
"内部评估。在这里,我们直接衡量召回知识的",
"性e。g。,“哺乳动物有肚脐”,“脊椎动物",
"有尾巴”)。通过对事实进行推理并选择正确",
"质量。虽然有用于评估文本生成的标准指标,",
"的hypernym规则&属性链(“鲸鱼是哺乳动",
"如BLEU和ROUGE,但这些指标通常无法捕",
"物”,“哺乳动物有肚脐”),可以验证或否认",
"获我们希望检查的召回知识的以实体为中心的",
"给定的假设。直接使用黄金hypernym规则和",
"性质(更多详细信息包含在附录A.3中)。因",
"此,我们提出了一套更适合我们实验任务的措",
"属性作为Cg的一个微妙问题是,在第一步中,",
"施。对于2Wiki和R4C,我们评估召回的知识",
"如果不在第二步中查看属性,就很难直接识别",
"包含答案实体的比率(Ans。R);我们还计算",
"正确的对象实体。因此,对于第一步,我们将",
"数据集中出现的所有超nymic对象连接w。r。",
"仅在答案实体未出现在查询中的那些样本之间",
"的比率(Ans。R)。对于2Wiki和LoT,我们",
"t。到同一主题以形成c1。我们从原始训练集",
"还通过计算召回上下文中出现的黄金证据的平",
"中删除样本,其中相关事实未(或仅部分)提",
"均比率来评估召回上下文的证据覆盖率(Evi",
"供,并获得9。4k/1。2K/1。用于培训/开发/测",
"试的2k个样本",
"R)和召回所有黄金证据的样本比例(Evi。R*",
")作为更严格的措施。对于2Wiki,我们使用",
"对于2Wiki和R4C,推理期间的步数设置为",
"来自带注释的KB三元组的实体作为证据。对",
"4,因为超过99个%样本具有更少或等于4的",
"于LoT,我们将hypernym规则/属性视为证据",
"推理步数。对于LoT,我们将推理步骤的数量",
"其中在第1步中,如果调用了gold对象,则认",
"设置为2。总体而言,我们将2Wiki视为我们",
"为hypernym规则是正确的,并在第2步中为",
"的“主要”评估数据集,因为它具有最大的规",
"调用的属性使用精确匹配",
"模(尽管我们进行了下采样)和多样化的查询",
"类型,并使用它来进行84.2中提示的忠实研",
"外部评估。我们还通过测量召回的知识在多大",
"究。处理后的数据样本的一些示例如附录A.6",
"程度上帮助找到对查询的响应来进行外部评",
"所示",
"估。与阅读理解类似:我们将所有回忆的知识",
"连接为上下文,并使用一个读者试图在给定查",
"询和上下文的情况下推断答案。对于2Wiki和",
"3.2Compared Methods",
"R4C,我们首先使用地面实况上下文对阅读器",
"我们在非送代和迭代设置下比较了我们提出的",
"进行预训练,然后在召回的上下文3上对其进",
"选代上下文感知提示器(iCAP)以及提示调整",
"行微调;对于LoT,我们直接使用基于规则的",
"(Prompt-T),前缀调整(Prefix-T)和PLM微调",
"阅读器4。我们报告2Wiki&R4C的精确匹配",
"(PLM-FT)。S2.2中描述了选代设置,对于非选",
"(EM)和答案F1分数,以及LoT的EM分数,",
"代设置,我们只需将C中的所有知识语句连",
"其中答案限制为是/否",
"接起来,即可为每个查询形成一个单一的知识",
"片段。在外部评估中,我们还与在没有知识",
"3We found in our preliminary experiments that this ap-",
"回(PLM-QA)的情况下对(查询,答案)对",
"proachgives thebestresults acrossdifferentmethods.",
"4LoT is constructed using templates, and therefore a rule",
"PLM进行微调进行了比较,后者测量了PLM",
"based reader can perfectly solve the inference task (100 %",
"可以直接解决这些多步推理问题的程度,这是",
"accuracy when ground truth contexts are given, see Table 2 )."
] | {
"arxiv_id": "2203.08383",
"language": "zh",
"page_idx": 4
} |
||
2303.04791-zh-4 | 2303.04791-zh-4.jpg | Title Suppressed Due to Excessive Size
时互易晶格的连续极限。由于我们只能用一组有限的数字来表示$s(\cdot)$和$\hat{\Phi}(\|\cdot\|)$,因此我们需要自己施加一个合适的离散化方案。在我们的实现中,我们通过立方体素网格平铺截止区域,并通过每个体素内的平均值集来替换所有连续函数。离散化分辨率由体素旁长$\Delta$控制,这是一个与非周期性情况相关的新的超参数。在我们的主要实验中,我们对每个测试模型使用等分辨率$\Delta=0.2\hat{\mathrm{A}}^{-1}$。App. A.3 中报道了其他分辨率的消融研究。请注意,仅当体素网格位于随输入结构旋转的坐标系中时,此方法才保留旋转不变性。为此, 我们使用从奇异值分解获得的正交基,类似于 Gao $\&$ Günnemann (2022)。在 App. A.6 中,我们概述了用于离散化结构因子的更通用的数学框架,提供了有关我们的体素方法的与实现相关的详细信息,并讨论了其与其他可能的离散化方案的关系
Frequency filters: aperiodic case. 到目前为止,我
们还没有了解如何学习频率滤波器$\Phi(\|\cdot\|)$ 。在非周
期性情况下,我们将滤波器参数化为$S$径向基函数
$\{\hat{\psi}_{i}(\|\cdot\|):\mathbb{R}^{3}\to\mathbb{R}\mid i=1,\ldots,S\}:\hat{\Phi}(\|\boldsymbol{k}\|)=\boldsymbol{W}\hat{\Psi}(\boldsymbol{k})$
与$\hat{\Psi}(\boldsymbol{k})=(\psi_{1}(\|\boldsymbol{k}\|),\ldots\psi_{S}(\|\boldsymbol{k}\|))$和学习的权重矩阵
$\boldsymbol{W}\in\mathbb{R}^{F\times S}$的线性组合。在$k$截止半径$c_k$内支持
所有基函数。我们使用高斯径向基函数(Schütt et al.,
2018)
Frequency filters: periodic case. 在 OC20 上,我们采用非径向滤波策略,该策略允许更自由地使用给定输入结构的 PBC 帧 $(\boldsymbol v_1,\boldsymbol v_2,\boldsymbol{v}_3)\in\mathbb{R}^{3\times3}$提供的信息。此信息可能是有意义的:例如,给定材料表面板,模型应清楚地“知道”哪个方向垂直于表面。当 PBC 框架与结构一起旋转时,这不会破坏旋转不变性
由于互易晶格$\Lambda^{\prime}$根据输入 PBC 帧而变化,因此任何固定截止体积内的频率数也将是可变的。受我们的经验发现(App. A.3)的启发,我们改为固定每个互易基方向$(\boldsymbol w_1,\boldsymbol w_2,\boldsymbol w_3)\in\mathbb{R}^{3\times3}$上的频率数,从而放弃了直接频率截止的概念。形式上,我们定义正整数$N_x,N_y,N_z$ ,并考虑乘积集$I= X_j= x, y, z\{ - N_j, \ldots , N_j\} \subset \mathbb{Z} ^3$ . 我们通过仅在$I$中包含具有互易晶格位置的频率来限制 Eq. (10) 中傅立叶消息和的范围。然后,该模型学习每个$\lambda^\prime\in I$的滤波器权重$\hat{\Phi}_{\boldsymbol{\lambda}^{\prime}}\in\mathbb{R}^F$。由于一般的超单元晶格至少具有点对称性,因此我们还设置了$\hat{\Phi}_{\lambda^{\prime}}\equiv\hat{\Phi}_{-\lambda^{\prime}}$ 。这与前面讨论的频率滤波器的严格概念不同:滤波器权重$\hat{\hat{\Phi}}_{\lambda^{\prime}}$不是分配给傅立叶空间中的固定点$\boldsymbol{k}$,而是分配给倒数晶格上的位置。对应于此位置$\boldsymbol{k}_{\boldsymbol{\lambda}^{\prime}}=\lambda_1^{\prime}\boldsymbol{w}_1+\lambda_2^{\prime}\boldsymbol{w}_2+\lambda_3^{\prime}\boldsymbol{w}_3$的频率随每个输人结构的基本频率而变化。请注意,这种过滤方法在“超级单元对称性”下不是不变的,该对称性将任何超级单元映射到一个或多个晶格方向上的倍数,同时保持原子位置不变。我们发现,这不会影响 OC20 的经验表现。尽管如此,对这种对称性不变的滤波方法(例如。g。径向基滤波)可能适用于超级单元大小变化较大的数据集
Computational complexity. 我们的远程消息传递方案的三部分过程,在 Fig. 3 中进行了说明,其计算复杂度为$\mathcal{O} ( N_{\mathrm{at}}N_{\mathrm{k} }) $,其中$N_\mathrm{at}$是结构中的原子数(或在 PBC 的情况下是超级单元), $N_\mathrm{k}$是包含在远程总和中的频率数。由于可以大致假定空间中原子的密度为常数,因此在周期性情况下,原子计数随超级单元体积$\Omega$线性增加。通过互易基$(\boldsymbol w_1,\boldsymbol w_2,\boldsymbol{w}_3)\in\mathbb{R}^{3\times3}$的定义,固定频率截止体积内包含的频率$k\in\Lambda^{\prime}$的数量因此与原子计数$N_\mathrm{at}$线性成比例。总而言之,如果两个截止值都保持固定,这相当于$\mathcal{O} ( N_\mathrm{at}^2)$缩放。在非周期性情况下,如果我们将体素分辨率$\Delta$调整为$s$的最精细特征,则同样如此,通过傅立叶互易,该特征与结构长度成反比。但是,与标准的 Ewald 求和(Wells $\&$ Chaffee, 2015)相比,EwaldMP 在$c_x$和$c_k$之间没有任何固定的关系。为了实现$\mathcal{O} ( N_\mathrm{at})$的计算复杂性, 我们可以选择修复$N_\mathrm{k}$ ,它有效地改变了$c_k\propto N_\mathrm{at}^{-1}$ 。请注意,这种方法可能会留下一个中程交互的“缺口”,这些“缺口”既不被 EwaldMP 的短程组件覆盖,也不被 EwaldMP 的远程组件覆盖。实现次二次缩放的另一种方法是使更有效的 Ewald 求和变体适应MPNN( 参 见 。Sec. 4 )
## 4. Related Work
Hand-crafted long-range corrections. 通过远程校正增强短程模型的方法在计算化学中经常出现。这通常涉及对密度泛函理论(DFT)的校正,OC20 (Chanussot et al., 2021) , OE62 (Stuke et al., 2020) 和许多其他机器学习基准背后的方法。DFT 遭受与 MPNN 电位相同类型的问题:其标准功能,例如 LDA (Jones $\&$ Gunnarsson, 1989) 或 PBE (Perdew et al., 1996) , 无法正确表达远程效果,例如伦敦色散(Jones,2015) 。存在一个原子间色散校正动物园 (Grimme,2006; Tkatchenko & Scheffler, 2009; Grimme et al., 2010; Caldeweyher et al., 2019) , 它可以与许多 DFT 功能一起使用。从这个历史角度来看,EwaldMP 在 MPNN 环境中满足了对廉价,开箱即用的校正的相同需求。其他人将各种基于物理的功能形式的远程项与短程模型相结合,包括完全手工制作的项 (Staacke et al., 2021) 和具有 MPNN 预测的部分电荷 (Unke et al., 2021)的静电项。相比之下,我们的方法仍然完全在 MPNN 范式内,专注于完全数据驱动的远程效应建模
Non-local learning schemes. Ewald 消息传递属于针对结构中非局部交互的更广泛的学习方法类别。超越量子化学的突出例子是注意(Vaswani et al.,2017) 。尽管图域中的早期方法仅将注意力机制应用于局部节点邻域 (Veličković et al., 2018; Dwivedi & Bresson, 2021) ,但其他人很快将其扩展到了全连接图 (Ying et al., 2021; Kreuzer et al., 2021; Mialon et al., 2021) 。这种标准的全连接图的一个缺点是其$\mathcal{O}(N^2)$在结构大小上的缩放。但是,已经提出了使用标准注意力的次二次改变的模型,包括$\mathcal{O}(N\log(N))$非局部聚合方案(Liu et al., 2022), 以及用于化学 (Unke et al., 2021;
5 | [
[
"0.3586",
"0.05807",
"0.615",
"0.05807",
"0.615",
"0.07135",
"0.3586",
"0.07135"
],
[
"0.09235",
"0.0884",
"0.4722",
"0.0884",
"0.4722",
"0.0985",
"0.09235",
"0.0985"
],
[
"0.501",
"0.0884",
"0.8813",
"0.0884",
"0.8813",
"0.0985",
"0.501",
"0.0985"
],
[
"0.0907",
"0.1016",
"0.4592",
"0.1016",
"0.4592",
"0.11554",
"0.0907",
"0.11554"
],
[
"0.46",
"0.1061",
"0.4673",
"0.1061",
"0.4673",
"0.1111",
"0.46",
"0.1111"
],
[
"0.501",
"0.1016",
"0.8823",
"0.1016",
"0.8823",
"0.11554",
"0.501",
"0.11554"
],
[
"0.09314",
"0.11743",
"0.4739",
"0.11743",
"0.4739",
"0.1307",
"0.09314",
"0.1307"
],
[
"0.5024",
"0.11743",
"0.884",
"0.11743",
"0.884",
"0.1307",
"0.5024",
"0.1307"
],
[
"0.09235",
"0.1307",
"0.4714",
"0.1307",
"0.4714",
"0.1445",
"0.09235",
"0.1445"
],
[
"0.5",
"0.1307",
"0.884",
"0.132",
"0.884",
"0.1459",
"0.5",
"0.1445"
],
[
"0.0907",
"0.1477",
"0.4739",
"0.1477",
"0.4739",
"0.161",
"0.0907",
"0.161"
],
[
"0.501",
"0.1465",
"0.8823",
"0.1465",
"0.8823",
"0.1604",
"0.501",
"0.1604"
],
[
"0.08905",
"0.1622",
"0.4739",
"0.1622",
"0.4739",
"0.1755",
"0.08905",
"0.1755"
],
[
"0.5024",
"0.1622",
"0.8823",
"0.1622",
"0.8823",
"0.1755",
"0.5024",
"0.1755"
],
[
"0.0907",
"0.178",
"0.4722",
"0.178",
"0.4722",
"0.1913",
"0.0907",
"0.1913"
],
[
"0.501",
"0.1768",
"0.884",
"0.1755",
"0.884",
"0.1901",
"0.501",
"0.1913"
],
[
"0.08905",
"0.1901",
"0.4739",
"0.1913",
"0.4739",
"0.2058",
"0.08905",
"0.2052"
],
[
"0.5024",
"0.1925",
"0.8857",
"0.1925",
"0.8857",
"0.2058",
"0.5024",
"0.2058"
],
[
"0.09314",
"0.209",
"0.4714",
"0.209",
"0.4714",
"0.2197",
"0.09314",
"0.2197"
],
[
"0.5034",
"0.209",
"0.8823",
"0.209",
"0.8823",
"0.2197",
"0.5034",
"0.2197"
],
[
"0.0907",
"0.2229",
"0.4756",
"0.2229",
"0.4756",
"0.2361",
"0.0907",
"0.2361"
],
[
"0.5024",
"0.2229",
"0.8823",
"0.2229",
"0.8823",
"0.2361",
"0.5024",
"0.2361"
],
[
"0.0907",
"0.2374",
"0.4739",
"0.2374",
"0.4739",
"0.2507",
"0.0907",
"0.2507"
],
[
"0.5024",
"0.2374",
"0.884",
"0.2374",
"0.884",
"0.252",
"0.5024",
"0.252"
],
[
"0.0907",
"0.2524",
"0.4722",
"0.2524",
"0.4722",
"0.2664",
"0.0907",
"0.2664"
],
[
"0.5024",
"0.2524",
"0.8823",
"0.2524",
"0.8823",
"0.2664",
"0.5024",
"0.2664"
],
[
"0.09235",
"0.2683",
"0.4739",
"0.2683",
"0.4739",
"0.2822",
"0.09235",
"0.2822"
],
[
"0.501",
"0.2683",
"0.884",
"0.2683",
"0.884",
"0.2822",
"0.501",
"0.2822"
],
[
"0.0907",
"0.2827",
"0.4697",
"0.2827",
"0.4697",
"0.2966",
"0.0907",
"0.2966"
],
[
"0.501",
"0.2827",
"0.8823",
"0.2827",
"0.8823",
"0.2966",
"0.501",
"0.2966"
],
[
"0.08905",
"0.2966",
"0.3342",
"0.2974",
"0.3342",
"0.3125",
"0.08905",
"0.3113"
],
[
"0.501",
"0.2974",
"0.8823",
"0.2986",
"0.8823",
"0.3125",
"0.501",
"0.3113"
],
[
"0.5024",
"0.3132",
"0.8774",
"0.3132",
"0.8774",
"0.3276",
"0.5024",
"0.3276"
],
[
"0.505",
"0.3289",
"0.8823",
"0.3289",
"0.8823",
"0.3423",
"0.505",
"0.3423"
],
[
"0.08905",
"0.339",
"0.4739",
"0.3403",
"0.4739",
"0.3547",
"0.08905",
"0.3542"
],
[
"0.5034",
"0.3435",
"0.8823",
"0.3435",
"0.8823",
"0.3567",
"0.5034",
"0.3567"
],
[
"0.0907",
"0.3547",
"0.4722",
"0.3547",
"0.4722",
"0.3687",
"0.0907",
"0.3687"
],
[
"0.5024",
"0.358",
"0.8823",
"0.358",
"0.8823",
"0.3718",
"0.5024",
"0.3718"
],
[
"0.09235",
"0.3706",
"0.4739",
"0.3706",
"0.4739",
"0.3838",
"0.09235",
"0.3838"
],
[
"0.5024",
"0.375",
"0.8823",
"0.375",
"0.8823",
"0.385",
"0.5024",
"0.385"
],
[
"0.09314",
"0.385",
"0.4722",
"0.385",
"0.4722",
"0.3997",
"0.09314",
"0.3997"
],
[
"0.5",
"0.3865",
"0.6626",
"0.3882",
"0.6626",
"0.4028",
"0.5",
"0.401"
],
[
"0.09314",
"0.401",
"0.4722",
"0.401",
"0.4722",
"0.414",
"0.09314",
"0.414"
],
[
"0.08905",
"0.4136",
"0.4722",
"0.4153",
"0.4722",
"0.43",
"0.08905",
"0.428"
],
[
"0.501",
"0.4236",
"0.6445",
"0.4236",
"0.6445",
"0.4375",
"0.501",
"0.4375"
],
[
"0.0907",
"0.4312",
"0.4722",
"0.4312",
"0.4722",
"0.4443",
"0.0907",
"0.4443"
],
[
"0.0907",
"0.4458",
"0.1283",
"0.4475",
"0.1274",
"0.459",
"0.08905",
"0.457"
],
[
"0.501",
"0.4475",
"0.884",
"0.449",
"0.884",
"0.4634",
"0.501",
"0.4622"
],
[
"0.501",
"0.464",
"0.8857",
"0.464",
"0.8857",
"0.4778",
"0.501",
"0.4778"
],
[
"0.501",
"0.4792",
"0.8823",
"0.4792",
"0.8823",
"0.4924",
"0.501",
"0.4924"
],
[
"0.08905",
"0.4873",
"0.4722",
"0.4873",
"0.4722",
"0.502",
"0.08905",
"0.502"
],
[
"0.5024",
"0.4956",
"0.884",
"0.4956",
"0.884",
"0.506",
"0.5024",
"0.506"
],
[
"0.09314",
"0.505",
"0.4714",
"0.505",
"0.4714",
"0.515",
"0.09314",
"0.515"
],
[
"0.501",
"0.5103",
"0.8857",
"0.5103",
"0.8857",
"0.5234",
"0.501",
"0.5234"
],
[
"0.08826",
"0.5166",
"0.4756",
"0.515",
"0.4756",
"0.5327",
"0.08826",
"0.534"
],
[
"0.5024",
"0.5244",
"0.884",
"0.5244",
"0.884",
"0.5386",
"0.5024",
"0.5386"
],
[
"0.09235",
"0.534",
"0.4739",
"0.534",
"0.4739",
"0.5474",
"0.09235",
"0.5474"
],
[
"0.5",
"0.539",
"0.8813",
"0.539",
"0.8813",
"0.553",
"0.5",
"0.553"
],
[
"0.0907",
"0.549",
"0.4722",
"0.549",
"0.4722",
"0.5625",
"0.0907",
"0.5625"
],
[
"0.5024",
"0.5547",
"0.884",
"0.5547",
"0.884",
"0.5684",
"0.5024",
"0.5684"
],
[
"0.0907",
"0.5645",
"0.415",
"0.5645",
"0.415",
"0.5776",
"0.0907",
"0.5776"
],
[
"0.517",
"0.5693",
"0.8823",
"0.5693",
"0.8823",
"0.5835",
"0.517",
"0.5835"
],
[
"0.09235",
"0.586",
"0.4722",
"0.586",
"0.4722",
"0.5996",
"0.09235",
"0.5996"
],
[
"0.501",
"0.584",
"0.8823",
"0.5854",
"0.8823",
"0.5986",
"0.501",
"0.5977"
],
[
"0.09235",
"0.6016",
"0.4739",
"0.6016",
"0.4739",
"0.6157",
"0.09235",
"0.6157"
],
[
"0.501",
"0.5996",
"0.8823",
"0.5996",
"0.8823",
"0.613",
"0.501",
"0.613"
],
[
"0.09235",
"0.616",
"0.4714",
"0.616",
"0.4714",
"0.63",
"0.09235",
"0.63"
],
[
"0.5063",
"0.619",
"0.5156",
"0.619",
"0.5156",
"0.6235",
"0.5063",
"0.6235"
],
[
"0.511",
"0.6157",
"0.8813",
"0.6157",
"0.8813",
"0.6255",
"0.511",
"0.6255"
],
[
"0.0907",
"0.631",
"0.4739",
"0.63",
"0.4739",
"0.6445",
"0.0907",
"0.646"
],
[
"0.501",
"0.63",
"0.8857",
"0.63",
"0.8857",
"0.643",
"0.501",
"0.643"
],
[
"0.08905",
"0.6465",
"0.4739",
"0.6465",
"0.4739",
"0.66",
"0.08905",
"0.66"
],
[
"0.501",
"0.646",
"0.8823",
"0.646",
"0.8823",
"0.659",
"0.501",
"0.659"
],
[
"0.08905",
"0.659",
"0.478",
"0.6577",
"0.478",
"0.6797",
"0.08905",
"0.681"
],
[
"0.5024",
"0.662",
"0.8813",
"0.662",
"0.8813",
"0.6724",
"0.5024",
"0.6724"
],
[
"0.09235",
"0.6787",
"0.4722",
"0.6787",
"0.4722",
"0.6924",
"0.09235",
"0.6924"
],
[
"0.5024",
"0.6753",
"0.8857",
"0.6753",
"0.8857",
"0.6895",
"0.5024",
"0.6895"
],
[
"0.09235",
"0.6943",
"0.4722",
"0.6943",
"0.4722",
"0.709",
"0.09235",
"0.709"
],
[
"0.501",
"0.69",
"0.8857",
"0.6895",
"0.8857",
"0.704",
"0.501",
"0.705"
],
[
"0.09235",
"0.709",
"0.4739",
"0.709",
"0.4739",
"0.7227",
"0.09235",
"0.7227"
],
[
"0.4983",
"0.705",
"0.8096",
"0.705",
"0.8096",
"0.7183",
"0.4983",
"0.7183"
],
[
"0.09314",
"0.7246",
"0.4697",
"0.7246",
"0.4697",
"0.738",
"0.09314",
"0.738"
],
[
"0.0907",
"0.7407",
"0.4722",
"0.7407",
"0.4722",
"0.754",
"0.0907",
"0.754"
],
[
"0.5",
"0.7407",
"0.8813",
"0.7407",
"0.8813",
"0.754",
"0.5",
"0.754"
],
[
"0.09314",
"0.7583",
"0.4722",
"0.7583",
"0.4722",
"0.768",
"0.09314",
"0.768"
],
[
"0.5024",
"0.7583",
"0.884",
"0.7583",
"0.884",
"0.768",
"0.5024",
"0.768"
],
[
"0.09235",
"0.7715",
"0.4739",
"0.7715",
"0.4739",
"0.785",
"0.09235",
"0.785"
],
[
"0.5024",
"0.7715",
"0.8735",
"0.7715",
"0.8735",
"0.785",
"0.5024",
"0.785"
],
[
"0.09235",
"0.787",
"0.4722",
"0.787",
"0.4722",
"0.8003",
"0.09235",
"0.8003"
],
[
"0.5034",
"0.7886",
"0.884",
"0.7886",
"0.884",
"0.799",
"0.5034",
"0.799"
],
[
"0.09235",
"0.802",
"0.4722",
"0.802",
"0.4722",
"0.815",
"0.09235",
"0.815"
],
[
"0.5024",
"0.802",
"0.8813",
"0.802",
"0.8813",
"0.815",
"0.5024",
"0.815"
],
[
"0.09235",
"0.8174",
"0.4722",
"0.8174",
"0.4722",
"0.8306",
"0.09235",
"0.8306"
],
[
"0.5",
"0.8174",
"0.884",
"0.8174",
"0.884",
"0.8306",
"0.5",
"0.8306"
],
[
"0.09314",
"0.8335",
"0.4722",
"0.8335",
"0.4722",
"0.8433",
"0.09314",
"0.8433"
],
[
"0.501",
"0.8335",
"0.8823",
"0.8335",
"0.8823",
"0.8433",
"0.501",
"0.8433"
],
[
"0.09314",
"0.8467",
"0.4739",
"0.8467",
"0.4739",
"0.86",
"0.09314",
"0.86"
],
[
"0.501",
"0.8467",
"0.8857",
"0.8467",
"0.8857",
"0.86",
"0.501",
"0.86"
],
[
"0.0907",
"0.8623",
"0.4739",
"0.8623",
"0.4739",
"0.8755",
"0.0907",
"0.8755"
],
[
"0.501",
"0.8623",
"0.8823",
"0.8623",
"0.8823",
"0.8755",
"0.501",
"0.8755"
],
[
"0.08826",
"0.8774",
"0.4722",
"0.877",
"0.4722",
"0.89",
"0.08826",
"0.8916"
],
[
"0.5034",
"0.877",
"0.8823",
"0.877",
"0.8823",
"0.89",
"0.5034",
"0.89"
],
[
"0.08905",
"0.89",
"0.1405",
"0.8926",
"0.1396",
"0.907",
"0.08826",
"0.905"
],
[
"0.5024",
"0.8926",
"0.8857",
"0.8926",
"0.8857",
"0.906",
"0.5024",
"0.906"
],
[
"0.4805",
"0.925",
"0.4944",
"0.925",
"0.4944",
"0.936",
"0.4805",
"0.936"
]
] | [
"Title Suppressed Due to Excessive Size",
"时互易晶格的连续极限。由于我们只能用一组有限的",
"Computationalcomplexity:我们的远程消息传递方",
"数字来表示s()和d(II-),因此我们需要自已施加",
"一",
"案的三部分过程,在Fig.3中进行了说明,其计算复",
"个合适的离散化方案。在我们的实现中,我们通过立",
"杂度为ONatNk),其中Nat是结构中的原子数(或",
"方体素网格平铺截止区域,并通过每个体素内的平均",
"在PBC的情况下是超级单元),Nk是包含在远程总和",
"值集来替换所有连续函数。离散化分辨率由体素旁长",
"中的频率数。由于可以大致假定空间中原子的密度为",
"△控制,这是一个与非周期性情况相关的新的超参数。",
"常数,因此在周期性情况下,原子计数随超级单元体",
"在我们的主要实验中,我们对每个测试模型使用等分",
"积2线性增加。通过互易基(w1w2,w3)ER3x3的",
"辨率△=0.2A-1。App:A.3中报道了其他分辨率",
"定义,固定频率截止体积内包含的频率kEA'的数量",
"的消融研究。请注意,仅当体素网格位于随输入结构",
"因此与原子计数Nat线性成比例。总而言之,如果两",
"旋转的坐标系中时,此方法才保留旋转不变性。为此,",
"个截止值都保持固定,这相当于O(N2t)缩放。在非周",
"我们使用从奇异值分解获得的正交基,类似于Gao&",
"期性情况下,如果我们将体素分辨率△调整为s的最",
"Ginnemann(2022)。在App:A.6中,我们概述了用",
"精细特征,则同样如此,通过傅立叶互易,该特征与",
"于离散化结构因子的更通用的数学框架,提供了有关",
"结构长度成反比。但是,与标准的Ewald求和(Wells",
"我们的体素方法的与实现相关的详细信息,并讨论了",
"&Chaffee,2015)相比,EwaldMP在ca和ck之间没",
"其与其他可能的离散化方案的关系",
"有任何固定的关系。为了实现O(Nat)的计算复杂性",
"我们可以选择修复Nk,它有效地改变了CkαNat",
"。请注意,这种方法可能会留下一个中程交互的“缺",
"Frequencyfilters:aperiodiccase.到目前为止,我",
"口”,这些“缺口”既不被EwaldMP的短程组件覆",
"们还没有了解如何学习频率滤波器(I-ID)。在非周",
"盖,也不被EwaldMP的远程组件覆盖。。实现次二次",
"期性情况下,我们将滤波器参数化为S径向基函数",
"缩放的另一种方法是使更有效的Ewald求和变体适应",
"[;(ll-I): R3 → R [i= 1,...,S) : Φ(k = W(k)",
"MPNN(参见。Sec.4)",
"与亚(k)=(iklD),.s(klD)和学习的权重矩阵",
"WERFxS的线性组合。在k截止半径Ck内支持",
"4. Related Work",
"所有基函数。我们使用高斯径向基函数(Schittetal.",
"2018)",
"Hand-crafted long-rangecorrections.通过远程校正",
"增强短程模型的方法在计算化学中经常出现。这通常",
"涉及对密度泛函理论(DFT)的校正,OC20(Chanussot",
"Frequencyfilters:periodic case.在OC20上,我们",
"etal..2021)OE62(Stukeetal..2020)和许多其他",
"采用非径向滤波策略,该策略充许更自由地使用给定",
"机器学习基准背后的方法。DFT遭受与MPNN电",
"输人结构的PBC顿(u1,U2,U3)ER3×3提供的信息。",
"位相同类型的问题:其标准功能,例如LDA(Jones",
"此信息可能是有意义的:例如,给定材料表面板,模",
"& Gunnarsson, 1989)或 PBE (Perdew et al., 1996)",
"型应清楚地“知道”哪个方向垂直于表面。当PBC框",
"无法正确表达远程效果,例如伦敦色散(Jones,2015)",
"架与结构一起旋转时,这不会破坏旋转不变性",
"存在一个原子间色散校正动物园(Grimme,2006",
"由于互易晶格A'根据输入PBC顿而变化,因此任何固",
"Tkatchenko & Scheffler, 2009; Grimme et al., 2010",
"定截止体积内的频率数也将是可变的。受我们的经验",
"Caldeweyheretal.,2019),它可以与许多DFT功能",
"发现(App.A.3)的启发,我们改为固定每个互易基方",
"-",
"一起使用。从这个历史角度来看,EWaldMP在MPNN",
"向(W1,W2,W3)ER3x3上的频率数,从而放弃了直接",
"环境中满足了对廉价,开箱即用的校正的相同需求。其",
"频率截止的概念。形式上,我们定义正整数Nr,Nu,Nz",
"他人将各种基于物理的功能形式的远程项与短程模型",
",并考虑乘积集【=×j-,(-N,.,N)Cz3。",
"相结合,包括完全手工制作的项(Staackeetal.,2021",
"我们通过仅在I中包含具有互易晶格位置的频率来限",
"和具有MPNN预测的部分电荷(Unkeetal.,2021)的",
"制Eq(10)中傅立叶消息和的范围。然后,该模型学",
"静电项。相比之下,我们的方法仍然完全在MPNN范",
"习每个EI的滤波器权重ERF。由于一般",
"式内,专注于完全数据驱动的远程效应建模",
"的超单元晶格至少具有点对称性,因此我们还设置了",
"Φ三重_入。这与前面讨论的频率滤波器的严格概念",
"Non-locallearning schemes.Ewald消息传递属于针",
"不同:滤波器权重Φ不是分配给傅立叶空间中的固",
"对结构中非局部交互的更广泛的学习方法类别。超越",
"定点k,而是分配给倒数晶格上的位置。对应于此位",
"量子化学的突出例子是注意(Vaswanietal.,2017)",
"置k=i1+2+入w3的频率随每个输人结构",
"尽管图域中的早期方法仅将注意力机制应用于局部",
"的基本频率而变化。请注意,这种过滤方法在“超级",
"节点邻域(Velickovicetal.,2018Dwivedi&Bresson",
"单元对称性”下不是不变的,该对称性将任何超级单",
"2021),但其他人很快将其扩展到了全连接图(Ying",
"元映射到一个或多个晶格方向上的倍数,同时保持原",
"et al..2021:Kreuzer et al..202l:Mialon et al.,2021",
"子位置不变。我们发现,这不会影响OC20的经验表",
"。这种标准的全连接图的一个缺点是其O(N2)在结构",
"现。尽管如此,对这种对称性不变的滤波方法(例如。",
"大小上的缩放。但是,已经提出了使用标准注意力的次",
"g。径向基滤波)可能适用于超级单元大小变化较大的",
"二次改变的模型,包括O(Nlog(N))非局部聚合方案",
"数据集",
"(Liuetal.,2022),以及用于化学(Unkeetal.,2021;",
"5"
] | {
"arxiv_id": "2303.04791",
"language": "zh",
"page_idx": 4
} |
||
2205.02959-zh-1 | 2205.02959-zh-1.jpg | # 来自次优演示的团队策略的半监督模仿学习
Sangwon Seo and Vaibhav V. Unhelkar
Rice University
$\{{\mathrm{~sangwon.seo,~vaibhav.unhelkar~}}\}{\mathrm{[email protected]}}$
# Abstract
We present Bayesian Team Imitation Learner $({\mathrm{BTIL}}),{\mathrm{an~imitation~learning~algorithm~to}}$ model the behavior of teams performing sequential tasks in Markovian domains. In contrast to existing multi-agent imitation learning techniques, BTIL explicitly models and infers the time-varying mental states of team members, thereby enabling learning of decentralized team policies from demonstrations of suboptimal teamwork. Further, to allow for sampleand label-efficient policy learning from small datasets, BTIL employs a Bayesian perspective and is capable of learning from semi-supervised demonstrations. We demonstrate and benchmark the performance of BTIL on synthetic multi-agent tasks as well as a novel dataset of human-agent teamwork. Our experiments show that BTIL can successfully learn team policies from demonstrations despite the influence of team members' (time-varying and potentially misaligned) mental states on their behavior.
## 1 Introduction
团队合作对于人类企业的成功至关重要。随着人工代理越来越成为人类生活的一部分,因此,他们也被期望对人类团队进行推理和贡献。同时,团队合作是非常具有挑战性的完善。成功的人类团队采用各种培训技术来改善协调和团队合作 [Tannenbaum and Salas, 2020] 。类似地,在实现和增强人与代理协作的需求的刺激下,开发用于训练人工代理以支持人类团队[Thomaz et al., 2016] 的计算技术的工作越来越多。这些技术建立在各种 AI 范式之上,例如不确定性下的计划,强化学习和模仿学习
在这项工作中,我们考虑了模仿学习[Argall et al. 2009; Osa et al., 2018] 的范例,其中代理从演示中学习(与强化学习相反),从而可以学习团队合作的策略,而
This article is an extended version of an identically-titled paper accepted at the International Joint Conference on Artificial Intelligence (IJCAI) 2022.
无需进行不安全的探索。通过提供新颖的多代理模仿学习技术,这些技术受到现实世界的团队合作考虑因素的启发,这项工作旨在使代理能够在顺序任务中建模,评估和改进人与人之间的团队合作。从数学上讲,模仿学习技术旨在学习单代理行为策略$(\pi)$ ,这是一个随机函数,在给定$(s,a)$数据集的情况下,在特定于任务的上下文$(s)$中对选择动作$(a)$的概率进行编码由演示者提供的元组。通常,假定上下文特征(s)和动作(a)可以使用传感器完全观察和测量
通过寻求学习一组行为策略$\left\{\pi_i|i=1:n\right\}$, 模仿学习已扩展到对多代理系统进行建模,该行为策略对应于来自团队合作 [Le et al., 2017; Bhattacharyya et al., 2019; Song et al., 2018; Lin et al., 2019] 演示的多代理系统的每个成员$(i=1{:}n)$ 。我们简要介绍了?? 中的相关多主体模仿学习(MAIL)技术。。MAIL 是一个新兴的研究领域,其中现有的工作要么集中在与多代理系统的博弈论均衡相对应的学习策略上,要么假设代理能力的同质性, 要么假设最佳团队行为的数据作为训练输入。然而,与现有技术中考虑的大多数设置相比,在实践中观察到的团队合作 [Salas et al., 2018; Seo et al., 2021] 通常在三个关键方面有所不同:(1)它可能不符合博弈论均衡,(2) 由于它依赖于潜在的性能塑造因素(如团队成员的心理模型),它可能是次优的,以及(3)它可能涉及具有不同能力的团队成员
根据在现实世界中观察到的团队合作的这三个考虑因素,在 Sec. 3.3 中,我们为协作任务提供了 MAIL 的替代问题公式。特别是,我们认为团队成员的行为($\pi_i)不$ 仅取决于上下文功能$(s)$ ,还取决于他们与团队合作有关的(时变)心理模型$(x_i)$ 。由于无法轻松感知心理模型,并且手动注释它们是资源密集型的,因此它们被建模为模仿学习者可以部分观察到的模型。此外,在心理模型错位的团队场景中(i。e。,团队成员没有保持共同的理解),可用于学习的演示可能不是最优的。因此,除了挑战之外,在我们的问题表述中,模仿学习者还需要推断团队演示的哪些部分是(次)最优的,并在动态状态$(s,x)$的部分可观察性下执行学习
Summary of Contributions. 针对此问题设置,我们介绍了贝叶斯团队模仿学习器 (BTIL ,发音为“bee-tul”), 这是一种模仿学习算法,可以从最优和次优演示中学习分散的团队策略。为了有效地学习团队策略,BTIL 显式地对每个团队成员$(x_i)$的时变心理状态进行建模,并共同学习他们的过渡模型$(T_x)$ 。为了实现样本和标签高效的策略学习,BTIL 利用贝叶斯视角,能够从对心理状态的部分监督中学习。我们针对两种现有技术[Pomerleau,
2 | [
[
"0.3743",
"0.11554",
"0.625",
"0.11554",
"0.625",
"0.13",
"0.3743",
"0.13"
],
[
"0.406",
"0.1332",
"0.5923",
"0.1332",
"0.5923",
"0.1509",
"0.406",
"0.1509"
],
[
"0.3284",
"0.1755",
"0.665",
"0.1755",
"0.665",
"0.1901",
"0.3284",
"0.1901"
],
[
"0.429",
"0.1925",
"0.5596",
"0.1945",
"0.5596",
"0.209",
"0.429",
"0.207"
],
[
"0.312",
"0.214",
"0.687",
"0.2134",
"0.687",
"0.2279",
"0.312",
"0.2291"
],
[
"0.5156",
"0.2747",
"0.9126",
"0.2747",
"0.9126",
"0.2886",
"0.5156",
"0.2886"
],
[
"0.2507",
"0.2874",
"0.3245",
"0.2874",
"0.3245",
"0.3018",
"0.2507",
"0.3018"
],
[
"0.5156",
"0.2886",
"0.911",
"0.2886",
"0.911",
"0.3018",
"0.5156",
"0.3018"
],
[
"0.5146",
"0.3018",
"0.9126",
"0.3018",
"0.9126",
"0.315",
"0.5146",
"0.315"
],
[
"0.11926",
"0.3125",
"0.4534",
"0.3125",
"0.4534",
"0.3257",
"0.11926",
"0.3257"
],
[
"0.5146",
"0.3164",
"0.9126",
"0.3164",
"0.9126",
"0.33",
"0.5146",
"0.33"
],
[
"0.1209",
"0.3257",
"0.4534",
"0.3257",
"0.4534",
"0.339",
"0.1209",
"0.339"
],
[
"0.5156",
"0.33",
"0.911",
"0.33",
"0.911",
"0.3447",
"0.5156",
"0.3447"
],
[
"0.11926",
"0.3403",
"0.452",
"0.3403",
"0.452",
"0.3542",
"0.11926",
"0.3542"
],
[
"0.513",
"0.3435",
"0.911",
"0.3423",
"0.911",
"0.3567",
"0.513",
"0.358"
],
[
"0.11926",
"0.3542",
"0.452",
"0.3542",
"0.452",
"0.3674",
"0.11926",
"0.3674"
],
[
"0.5156",
"0.356",
"0.911",
"0.3567",
"0.911",
"0.3718",
"0.5156",
"0.3706"
],
[
"0.1177",
"0.3655",
"0.4534",
"0.3674",
"0.4534",
"0.3818",
"0.1177",
"0.3801"
],
[
"0.513",
"0.3694",
"0.9126",
"0.3706",
"0.9126",
"0.385",
"0.513",
"0.3838"
],
[
"0.1209",
"0.3833",
"0.452",
"0.3833",
"0.452",
"0.3933",
"0.1209",
"0.3933"
],
[
"0.513",
"0.3833",
"0.71",
"0.3838",
"0.71",
"0.3984",
"0.513",
"0.3977"
],
[
"0.11926",
"0.3958",
"0.451",
"0.3958",
"0.451",
"0.4092",
"0.11926",
"0.4092"
],
[
"0.5312",
"0.3997",
"0.91",
"0.3997",
"0.91",
"0.4136",
"0.5312",
"0.4136"
],
[
"0.1177",
"0.4092",
"0.451",
"0.4092",
"0.451",
"0.4224",
"0.1177",
"0.4224"
],
[
"0.5156",
"0.4136",
"0.911",
"0.4136",
"0.911",
"0.4268",
"0.5156",
"0.4268"
],
[
"0.1177",
"0.4224",
"0.452",
"0.4224",
"0.452",
"0.4363",
"0.1177",
"0.4363"
],
[
"0.5156",
"0.4268",
"0.9126",
"0.4268",
"0.9126",
"0.44",
"0.5156",
"0.44"
],
[
"0.11926",
"0.4375",
"0.452",
"0.4375",
"0.452",
"0.4507",
"0.11926",
"0.4507"
],
[
"0.513",
"0.44",
"0.911",
"0.44",
"0.911",
"0.4539",
"0.513",
"0.4539"
],
[
"0.11926",
"0.4507",
"0.452",
"0.4507",
"0.452",
"0.464",
"0.11926",
"0.464"
],
[
"0.513",
"0.4526",
"0.911",
"0.4539",
"0.911",
"0.4685",
"0.513",
"0.4673"
],
[
"0.11926",
"0.464",
"0.452",
"0.464",
"0.452",
"0.4778",
"0.11926",
"0.4778"
],
[
"0.513",
"0.4673",
"0.9126",
"0.4673",
"0.9126",
"0.481",
"0.513",
"0.481"
],
[
"0.11926",
"0.4778",
"0.452",
"0.4778",
"0.452",
"0.4912",
"0.11926",
"0.4912"
],
[
"0.513",
"0.4817",
"0.91",
"0.4817",
"0.91",
"0.4956",
"0.513",
"0.4956"
],
[
"0.11926",
"0.4912",
"0.452",
"0.4912",
"0.452",
"0.505",
"0.11926",
"0.505"
],
[
"0.513",
"0.4944",
"0.911",
"0.4956",
"0.911",
"0.5103",
"0.513",
"0.509"
],
[
"0.1177",
"0.506",
"0.4534",
"0.506",
"0.4534",
"0.5195",
"0.1177",
"0.5195"
],
[
"0.513",
"0.509",
"0.9004",
"0.5103",
"0.9004",
"0.5234",
"0.513",
"0.523"
],
[
"0.8945",
"0.512",
"0.9087",
"0.512",
"0.9087",
"0.521",
"0.8945",
"0.521"
],
[
"0.11926",
"0.5195",
"0.4534",
"0.5195",
"0.4534",
"0.5327",
"0.11926",
"0.5327"
],
[
"0.5146",
"0.5234",
"0.911",
"0.5234",
"0.911",
"0.537",
"0.5146",
"0.537"
],
[
"0.11926",
"0.534",
"0.452",
"0.534",
"0.452",
"0.5474",
"0.11926",
"0.5474"
],
[
"0.5156",
"0.537",
"0.91",
"0.537",
"0.91",
"0.5503",
"0.5156",
"0.5503"
],
[
"0.1168",
"0.5454",
"0.4534",
"0.5474",
"0.4534",
"0.5625",
"0.1168",
"0.56"
],
[
"0.517",
"0.553",
"0.911",
"0.553",
"0.911",
"0.563",
"0.517",
"0.563"
],
[
"0.11926",
"0.561",
"0.451",
"0.561",
"0.451",
"0.5747",
"0.11926",
"0.5747"
],
[
"0.5156",
"0.565",
"0.911",
"0.565",
"0.911",
"0.579",
"0.5156",
"0.579"
],
[
"0.11926",
"0.5757",
"0.452",
"0.5757",
"0.452",
"0.589",
"0.11926",
"0.589"
],
[
"0.5146",
"0.579",
"0.9126",
"0.579",
"0.9126",
"0.5923",
"0.5146",
"0.5923"
],
[
"0.1177",
"0.5884",
"0.451",
"0.5884",
"0.451",
"0.6016",
"0.1177",
"0.6016"
],
[
"0.5146",
"0.5913",
"0.6436",
"0.5913",
"0.6436",
"0.605",
"0.5146",
"0.605"
],
[
"0.11926",
"0.604",
"0.1708",
"0.604",
"0.1708",
"0.6157",
"0.11926",
"0.6157"
],
[
"0.5312",
"0.607",
"0.91",
"0.607",
"0.91",
"0.6206",
"0.5312",
"0.6206"
],
[
"0.5146",
"0.619",
"0.911",
"0.6206",
"0.911",
"0.6353",
"0.5146",
"0.634"
],
[
"0.11926",
"0.638",
"0.2279",
"0.6396",
"0.2279",
"0.654",
"0.11926",
"0.653"
],
[
"0.5156",
"0.634",
"0.9126",
"0.634",
"0.9126",
"0.648",
"0.5156",
"0.648"
],
[
"0.08826",
"0.6416",
"0.10455",
"0.6416",
"0.10455",
"0.651",
"0.08826",
"0.651"
],
[
"0.5156",
"0.6484",
"0.911",
"0.6484",
"0.911",
"0.662",
"0.5156",
"0.662"
],
[
"0.08826",
"0.66",
"0.486",
"0.66",
"0.486",
"0.674",
"0.08826",
"0.674"
],
[
"0.5146",
"0.662",
"0.911",
"0.662",
"0.911",
"0.6753",
"0.5146",
"0.6753"
],
[
"0.08826",
"0.6724",
"0.4844",
"0.6724",
"0.4844",
"0.686",
"0.08826",
"0.686"
],
[
"0.511",
"0.674",
"0.9126",
"0.675",
"0.9126",
"0.6895",
"0.511",
"0.688"
],
[
"0.08905",
"0.688",
"0.4844",
"0.688",
"0.4844",
"0.702",
"0.08905",
"0.702"
],
[
"0.511",
"0.688",
"0.9126",
"0.6895",
"0.9126",
"0.704",
"0.511",
"0.7026"
],
[
"0.0866",
"0.702",
"0.4844",
"0.702",
"0.4844",
"0.7153",
"0.0866",
"0.7153"
],
[
"0.511",
"0.704",
"0.7485",
"0.704",
"0.7485",
"0.7173",
"0.511",
"0.7173"
],
[
"0.7427",
"0.704",
"0.911",
"0.704",
"0.911",
"0.7173",
"0.7427",
"0.7173"
],
[
"0.0866",
"0.7153",
"0.4844",
"0.714",
"0.4844",
"0.729",
"0.0866",
"0.73"
],
[
"0.513",
"0.7173",
"0.911",
"0.7173",
"0.911",
"0.731",
"0.513",
"0.731"
],
[
"0.08826",
"0.73",
"0.4844",
"0.73",
"0.4844",
"0.7437",
"0.08826",
"0.7437"
],
[
"0.5156",
"0.732",
"0.911",
"0.732",
"0.911",
"0.7456",
"0.5156",
"0.7456"
],
[
"0.08826",
"0.742",
"0.4844",
"0.741",
"0.4844",
"0.756",
"0.08826",
"0.757"
],
[
"0.513",
"0.7456",
"0.911",
"0.7456",
"0.911",
"0.759",
"0.513",
"0.759"
],
[
"0.0866",
"0.757",
"0.486",
"0.756",
"0.486",
"0.771",
"0.0866",
"0.7715"
],
[
"0.513",
"0.759",
"0.774",
"0.759",
"0.774",
"0.7734",
"0.513",
"0.7734"
],
[
"0.08826",
"0.7715",
"0.486",
"0.7715",
"0.486",
"0.785",
"0.08826",
"0.785"
],
[
"0.5186",
"0.779",
"0.911",
"0.779",
"0.911",
"0.7925",
"0.5186",
"0.7925"
],
[
"0.08905",
"0.787",
"0.10297",
"0.787",
"0.10297",
"0.797",
"0.08905",
"0.797"
],
[
"0.5146",
"0.7925",
"0.91",
"0.7925",
"0.91",
"0.806",
"0.5146",
"0.806"
],
[
"0.10297",
"0.799",
"0.4844",
"0.799",
"0.4844",
"0.8125",
"0.10297",
"0.8125"
],
[
"0.511",
"0.8037",
"0.91",
"0.8047",
"0.91",
"0.8193",
"0.511",
"0.8184"
],
[
"0.08496",
"0.8125",
"0.4844",
"0.811",
"0.4844",
"0.8257",
"0.08496",
"0.827"
],
[
"0.513",
"0.8193",
"0.91",
"0.8193",
"0.91",
"0.8335",
"0.513",
"0.8335"
],
[
"0.0866",
"0.827",
"0.486",
"0.827",
"0.486",
"0.8403",
"0.0866",
"0.8403"
],
[
"0.513",
"0.834",
"0.911",
"0.834",
"0.911",
"0.8477",
"0.513",
"0.8477"
],
[
"0.1152",
"0.8516",
"0.4844",
"0.8516",
"0.4844",
"0.8623",
"0.1152",
"0.8623"
],
[
"0.5156",
"0.8477",
"0.911",
"0.8477",
"0.911",
"0.8613",
"0.5156",
"0.8613"
],
[
"0.0866",
"0.863",
"0.486",
"0.863",
"0.486",
"0.877",
"0.0866",
"0.877"
],
[
"0.5156",
"0.8613",
"0.9126",
"0.8613",
"0.9126",
"0.8755",
"0.5156",
"0.8755"
],
[
"0.0866",
"0.8755",
"0.3057",
"0.8755",
"0.3057",
"0.8896",
"0.0866",
"0.8896"
],
[
"0.5146",
"0.8755",
"0.911",
"0.8755",
"0.911",
"0.8896",
"0.5146",
"0.8896"
],
[
"0.4902",
"0.9136",
"0.505",
"0.911",
"0.5063",
"0.925",
"0.492",
"0.927"
]
] | [
"来自次优演示的团队策略",
"的半监督模仿学习",
"Sangwon Seo and Vaibhav V. Unhelkar",
"Rice University",
"[ sangwon.seo, vaibhav.unhelkar @rice.edu",
"无需进行不安全的探索。通过提供新颖的多代理模仿学",
"Abstract",
"习技术,这些技术受到现实世界的团队合作考虑因素的",
"启发,这项工作旨在使代理能够在顺序任务中建模,评",
"We present Bayesian Team Imitation Learner",
"估和改进人与人之间的团队合作。从数学上讲,模仿学",
"(BTIL), an imitation learning algorithm to",
"习技术旨在学习单代理行为策略(元),这是一个随机函",
"model the behavior of teams performing se-",
"数,在给定(s,a)数据集的情况下,在特定于任务的上",
"quential tasks in Markovian domains. In con-",
"下文(s)中对选择动作(a)的概率进行编码由演示者提",
"trast to existing multi-agent imitation learning",
"供的元组。通常,假定上下文特征(s)和动作(a)可以",
"techniques,BTIL explicitlymodels and infers",
"使用传感器完全观察和测量",
"the time-varying mental states of team mem-",
"通过寻求学习一组行为策略【元i=1:n】,模仿学习",
"bers, thereby enabling learning of decentralized",
"已扩展到对多代理系统进行建模,该行为策略对应于来",
"team policies from demonstrations of subopti-",
"自团队合作[Le et al.,2017;Bhattacharyya et al.,2019;",
"mal teamwork. Further, to allow for sample-",
"Songetal.,2018;Linetal.,2019]演示的多代理系统的",
"and label-efficient policy learning from small",
"每个成员(i=1:n)。我们简要介绍了??中的相关多主体",
"datasets, BTIL employs a Bayesian perspective",
"模仿学习(MAIL)技术。。MAIL是一个新兴的研究领",
"and is capable of learning from semi-supervised",
"域,其中现有的工作要么集中在与多代理系统的博奔论",
"demonstrations. We demonstrate and bench-",
"均衡相对应的学习策略上,要么假设代理能力的同质性",
"mark the performance of BTIL on synthetic",
"要么假设最佳团队行为的数据作为训练输人。然而,",
"与",
"multi-agent tasks as well as a novel dataset",
"现有技术中考虑的大多数设置相比,在实践中观察到的",
"of human-agent teamwork..Our experiments",
"团队合作[Salasetal.,2018;Seoetal.,2021]通常在三个",
"show that BTIL can successfully learn team",
"关键方面有所不同:(1)它可能不符合博奔论均衡,(2)",
"policies from demonstrations despite the influ-",
"由于它依赖于潜在的性能塑造因素(如团队成员的心理",
"ence of team members’ (time-varying and po-",
"模型),它可能是次优的,以及(3)它可能涉及具有不",
"tentially misaligned) mental states on their be",
"同能力的团队成员",
"havior.",
"根据在现实世界中观察到的团队合作的这三个考虑因",
"素,在Sec.3.3中,我们为协作任务提供了MAIL的替",
"Introduction",
"代问题公式。特别是,我们认为团队成员的行为(元)不",
"1",
"仅取决于上下文功能(s),还取决于他们与团队合作有",
"团队合作对于人类企业的成功至关重要。随着人工代理",
"关的(时变)心理模型(α)。由于无法轻松感知心理模",
"越来越成为人类生活的一部分,因此,他们也被期望对",
"型,并且手动注释它们是资源密集型的,因此它们被建",
"人类团队进行推理和贡献。同时,团队合作是非常具有",
"模为模仿学习者可以部分观察到的模型。。此外,在心理",
"挑战性的完善。成功的人类团队采用各种培训技术来改",
"模型错位的团队场景中(i。e。,",
"团队成员没有保持共同",
"善协调和团队合作[Tannenbaumand Salas,2020]。类似",
"的理解),可用于学习的演示可能不是最优的。因此,除",
"地,在实现和增强人与代理协作的需求的刺激下,开发",
"了挑战之外,在我们的问题表述中,模仿学习者还需要",
"用于训练人工代理以支持人类团队[Thomazetal.,2016]",
"推断团队演示的哪些部分是(次)最优的,并在动态状",
"的计算技术的工作越来越多。。这些技术建立在各种AI",
"态(s,a)的部分可观察性下执行学习",
"范式之上,例如不确定性下的计划,强化学习和模仿学",
"SummaryofContributions.针对此问题设置,我们介",
"习",
"绍了贝叶斯团队模仿学习器(BTIL,发音为“bee-tul\")",
"在这项工作中,我们考虑了模仿学习[Argall etal.",
"这是一种模仿学习算法,可以从最优和次优演示中学习",
"2009;Osaetal.,2018]的范例,其中代理从演示中学习",
"分散的团队策略。为了有效地学习团队策略,BTIL显式",
"(与强化学习相反),从而可以学习团队合作的策略,而",
"地对每个团队成员(α)的时变心理状态进行建模,并共",
"This articleisan extended version ofan identically-titled",
"同学习他们的过渡模型(T)。为了实现样本和标签高效",
"paper accepted at the International Joint Conference on Ar-",
"的策略学习,BTIL利用贝叶斯视角,能够从对心理状态",
"tificial Intelligence (IJCAI) 2022.",
"的部分监督中学习。我们针对两种现有技术[Pomerleau,",
"2"
] | {
"arxiv_id": "2205.02959",
"language": "zh",
"page_idx": 1
} |
||
2205.02959-zh-2 | 2205.02959-zh-2.jpg | <FigureHere>
Figure 1: Movers domain. The human-robot team needs to $\bar{\text{move the boxes to the flag. Each box can be moved if and}}$ only if both agents pick it up and move it along the same $\operatorname{direction}.$
1991; Song et al., 2018] 对我们的解决方案进行基准测试。在我们的评估中,我们强调了收集团队演示的挑战, 方法是收集一个新的人-代理团队合作数据集,用于(a) 心理模型的标签只有部分可用,以及(b)演示的数量相对于任务状态空间的大小来说很小。我们的实验表明, BTIL 可以从次优团队合作的小型半监督数据集中学习团队策略,并在相关指标上优于基线
Running Example.
为了帮助描述我们的方法,我们
使用 Fig. 1 中显示的协作场景作为运行示例。在这种情况下,由 Alice 和 Rob 组成的两人团队的任务是在最短的时间内将所有箱子一起移动到旗帜上。在每个时间步, 每个代理可以选择在四个基本方向中的任何一个上移动, 尝试拿起或放下一个盒子,或者不执行任何操作。由于每个箱子都很重,因此无法单独由一个代理商提起。为了有效地将所有框移动到目标位置,团队需要协调下一个要选择的框以及移动框的路径。因此,在这种情况下, 相关的潜在状态$(x)$对应于团队的下一个目标位置(i. e。,其中一个框或标志),而可观察状态(s)对应于代理和框的位置
在任务执行期间,团队成员的心理模型(x)可能未对齐。例如,Alice 可能会将目标对准左上方的框,而 Rob 则将目标对准左下方的框,从而证明了次优的团队合作。此外,为了改善协作,团队成员可能会也可能不会根据其他队友的行为选择在任务期间的任何时候改变他们的目标。因此,如前所述,团队合作的表现可能不符合博弈论的均衡,并且由于依赖于部分可观察的动态心理模型而可能是次优的。。模仿学习者的目标是学习团队的心理模型相关策略,因为这些(可能是次优的)部分可观察到的团队合作演示
# 2 Related Work
我们的工作涉及模仿学习的以下三个子领域:多主体模仿学习,从次优演示中学习以及从部分可观察的演示中学习。在这里,我们总结了这些子领域的研究,并将其与我们的方法联系起来。有关 MAIL 技术的更详细讨论, 请参见??
Multi-agent Imitation Learning (MAIL). 尽管存在多种 MAIL 算法,但现有技术中考虑的问题设置与本文考虑的问题设置不同。从 Sec.1 开始,先前的 MAIL 技术要么学习与多代理系统 [Song et al., 2018; Lin et al., 2019]的博弈论均衡相对应的行为,要么假设代理能力[Bhattacharyya et al.,2019] 具有同质性,要么不考虑潜在的性能塑造因素(例如心理模型或认知状态)。对潜在状态进行建模的方法假设潜在状态在成员[Wang et al., 2021; Ivanovic et al., 2018] 或时间不变的 [Le et al., 2017]之间共享。相比之下,受现实世界团队考虑的启发,我们寻求开发 MAIL 算法,该算法既可以识别每个成员的个体和动态变化的潜在状态,又可以从对潜在状态的不同监督级别学习多代理策略
Learning from Partially Observable Demonstrations. 具有遮挡或缺失特征的模仿学习在过去十年中也受到越来越多的关注。这些技术虽然对于本工作中考虑的多代理设置不直接有效,但为我们的工作提供了信息。|Torabi et al., 2018; Sun and Ma, 2019] 考虑从可能不包含演示者操作数据的演示中学习代理策略。同样,[Choi and Kim, 2011; Gangwani et al., 2020] 通过利用信念状态允许不完整的状态说明。[Unhelkar and Shah, 2019] 显式建模代理的潜在决策因素 (e。g。,精神状态),可以在一集中动态变化。虽然与我们的工作相关,但这些技术仅考虑单代理任务,而不对多个代理之间的交互进行建模。[Bogert and Doshi, 2018] 提供了一种从部分可观察的演示中进行多机器人逆强化学习的方法。与我们的方法相反,他们的工作并没有模拟代理人的心理状态,也没有试图从次优团队合作的演示中学习
Learning from Suboptimal Demonstrations. 虽然经典的模仿学习假设演示是由行为最佳的专家生成的,但一些方法承认演示在实践中可能是次优的。例如,假设大多数演示都是最佳的,[Choi et al., 2019; Zheng et al., 2014]专注于模仿学习,该模仿学习对次优异常值具有鲁棒性。同时,[Brown et al., 2019; Chen et al., 2021; Zhang et al., 2021] 的目标是将来自专业水平未知的示威者的示威活动纳人其中,以克服稀缺的专家示威活动的挑战。[Yang et al.,2021] 利用潜在的动作表示,同时从潜在的次优演示中学习最佳策略。虽然与我们的方法有关,但这些从次优演示中进行模仿学习的解决方案既不考虑示威者的心理状态,也不考虑多主体任务。相反, 我们的目标是开发一种可以从 partially observable 和suboptimal 演示中学习随机多代理策略的方法
### 3 Problem Formulation
为了形式化从次优和部分可观察的演示中学习团队策略的问题,我们首先为团队任务和团队成员的行为提供模型
# 3.1 Task Model
由于我们专注于学习面向任务的团队策略,因此我们需要一个模型来表示团队任务。借鉴先前在多代理系统[Oliehoek and Amato, 2016] 中的研究,我们以多代理马尔可夫决策过程(MMDP)的框架为基础来描述感兴趣的任务。MMDP 对顺序协作任务进行建模,并由元组$M_{\mathrm{task}}\doteq(n,S,A,T,R,\gamma)$指定,其中
$\bullet$ $n$ , is the number of agents $i$ indexed $1: n$ ;
$\bullet$ $s\in S$ ,denotes the set of task states;
3 | [
[
"0.517",
"0.0682",
"0.911",
"0.06946",
"0.911",
"0.0833",
"0.517",
"0.0821"
],
[
"0.5146",
"0.0821",
"0.91",
"0.0833",
"0.91",
"0.09784",
"0.5146",
"0.0966"
],
[
"0.5146",
"0.09784",
"0.911",
"0.09784",
"0.911",
"0.1111",
"0.5146",
"0.1111"
],
[
"0.5146",
"0.10986",
"0.911",
"0.1111",
"0.911",
"0.1256",
"0.5146",
"0.125"
],
[
"0.513",
"0.1237",
"0.911",
"0.125",
"0.911",
"0.1395",
"0.513",
"0.1383"
],
[
"0.5146",
"0.137",
"0.91",
"0.1383",
"0.91",
"0.1528",
"0.5146",
"0.1515"
],
[
"0.5146",
"0.1515",
"0.91",
"0.1528",
"0.91",
"0.1666",
"0.5146",
"0.1654"
],
[
"0.5146",
"0.1666",
"0.911",
"0.1666",
"0.911",
"0.1799",
"0.5146",
"0.1799"
],
[
"0.513",
"0.1799",
"0.911",
"0.1799",
"0.911",
"0.1932",
"0.513",
"0.1932"
],
[
"0.513",
"0.1925",
"0.9126",
"0.1932",
"0.9126",
"0.2084",
"0.513",
"0.207"
],
[
"0.5156",
"0.2084",
"0.911",
"0.2084",
"0.911",
"0.2216",
"0.5156",
"0.2216"
],
[
"0.513",
"0.2203",
"0.9126",
"0.2216",
"0.9126",
"0.2361",
"0.513",
"0.2349"
],
[
"0.513",
"0.2361",
"0.759",
"0.2349",
"0.759",
"0.2488",
"0.513",
"0.25"
],
[
"0.5215",
"0.2556",
"0.899",
"0.2556",
"0.899",
"0.2695",
"0.5215",
"0.2695"
],
[
"0.5156",
"0.2695",
"0.911",
"0.2695",
"0.911",
"0.2827",
"0.5156",
"0.2827"
],
[
"0.08826",
"0.2842",
"0.4844",
"0.2842",
"0.4844",
"0.2942",
"0.08826",
"0.2942"
],
[
"0.5156",
"0.2842",
"0.911",
"0.2842",
"0.911",
"0.2974",
"0.5156",
"0.2974"
],
[
"0.08826",
"0.2966",
"0.486",
"0.2966",
"0.486",
"0.31",
"0.08826",
"0.31"
],
[
"0.513",
"0.2974",
"0.911",
"0.2974",
"0.911",
"0.3113",
"0.513",
"0.3113"
],
[
"0.0866",
"0.3093",
"0.486",
"0.3093",
"0.486",
"0.3225",
"0.0866",
"0.3225"
],
[
"0.511",
"0.31",
"0.91",
"0.31",
"0.91",
"0.324",
"0.511",
"0.324"
],
[
"0.08826",
"0.3225",
"0.1487",
"0.3225",
"0.1487",
"0.334",
"0.08826",
"0.334"
],
[
"0.517",
"0.327",
"0.911",
"0.327",
"0.911",
"0.3372",
"0.517",
"0.3372"
],
[
"0.513",
"0.3384",
"0.91",
"0.3384",
"0.91",
"0.3516",
"0.513",
"0.3516"
],
[
"0.5146",
"0.3516",
"0.911",
"0.3516",
"0.911",
"0.3662",
"0.5146",
"0.3662"
],
[
"0.08905",
"0.3623",
"0.4836",
"0.3623",
"0.4836",
"0.3726",
"0.08905",
"0.3726"
],
[
"0.5146",
"0.3662",
"0.9043",
"0.3662",
"0.9043",
"0.3806",
"0.5146",
"0.3806"
],
[
"0.08826",
"0.375",
"0.4844",
"0.375",
"0.4844",
"0.3882",
"0.08826",
"0.3882"
],
[
"0.5156",
"0.3818",
"0.91",
"0.3818",
"0.91",
"0.3926",
"0.5156",
"0.3926"
],
[
"0.08826",
"0.3882",
"0.4844",
"0.3882",
"0.4844",
"0.4016",
"0.08826",
"0.4016"
],
[
"0.513",
"0.3945",
"0.9087",
"0.3945",
"0.9087",
"0.4077",
"0.513",
"0.4077"
],
[
"0.08826",
"0.4028",
"0.4844",
"0.4028",
"0.4844",
"0.4167",
"0.08826",
"0.4167"
],
[
"0.5156",
"0.4077",
"0.911",
"0.4077",
"0.911",
"0.4216",
"0.5156",
"0.4216"
],
[
"0.08826",
"0.4167",
"0.4844",
"0.4167",
"0.4844",
"0.43",
"0.08826",
"0.43"
],
[
"0.513",
"0.4216",
"0.91",
"0.4216",
"0.91",
"0.435",
"0.513",
"0.435"
],
[
"0.08826",
"0.43",
"0.4844",
"0.43",
"0.4844",
"0.443",
"0.08826",
"0.443"
],
[
"0.5146",
"0.4363",
"0.911",
"0.4363",
"0.911",
"0.4495",
"0.5146",
"0.4495"
],
[
"0.08826",
"0.4443",
"0.3489",
"0.4443",
"0.3489",
"0.4583",
"0.08826",
"0.4583"
],
[
"0.5156",
"0.4495",
"0.759",
"0.4495",
"0.759",
"0.4634",
"0.5156",
"0.4634"
],
[
"0.09314",
"0.4673",
"0.4844",
"0.4673",
"0.4844",
"0.481",
"0.09314",
"0.481"
],
[
"0.5195",
"0.4717",
"0.835",
"0.4717",
"0.835",
"0.4817",
"0.5195",
"0.4817"
],
[
"0.863",
"0.4717",
"0.911",
"0.4717",
"0.911",
"0.4817",
"0.863",
"0.4817"
],
[
"0.08905",
"0.481",
"0.4844",
"0.481",
"0.4844",
"0.4956",
"0.08905",
"0.4956"
],
[
"0.5146",
"0.4841",
"0.911",
"0.4841",
"0.911",
"0.4976",
"0.5146",
"0.4976"
],
[
"0.08826",
"0.4956",
"0.486",
"0.4956",
"0.486",
"0.509",
"0.08826",
"0.509"
],
[
"0.523",
"0.4976",
"0.911",
"0.4976",
"0.911",
"0.511",
"0.523",
"0.511"
],
[
"0.08826",
"0.509",
"0.4885",
"0.509",
"0.4885",
"0.523",
"0.08826",
"0.523"
],
[
"0.513",
"0.5103",
"0.91",
"0.512",
"0.91",
"0.526",
"0.513",
"0.5234"
],
[
"0.08905",
"0.5244",
"0.482",
"0.5244",
"0.482",
"0.535",
"0.08905",
"0.535"
],
[
"0.511",
"0.5234",
"0.91",
"0.526",
"0.91",
"0.5405",
"0.511",
"0.5386"
],
[
"0.08905",
"0.537",
"0.4844",
"0.537",
"0.4844",
"0.5503",
"0.08905",
"0.5503"
],
[
"0.5146",
"0.539",
"0.911",
"0.539",
"0.911",
"0.553",
"0.5146",
"0.553"
],
[
"0.08826",
"0.5503",
"0.486",
"0.5503",
"0.486",
"0.5645",
"0.08826",
"0.5645"
],
[
"0.513",
"0.553",
"0.911",
"0.553",
"0.911",
"0.5664",
"0.513",
"0.5664"
],
[
"0.08905",
"0.563",
"0.4795",
"0.5625",
"0.4795",
"0.577",
"0.08905",
"0.5776"
],
[
"0.5156",
"0.5664",
"0.911",
"0.5664",
"0.911",
"0.58",
"0.5156",
"0.58"
],
[
"0.0907",
"0.58",
"0.4844",
"0.58",
"0.4844",
"0.5903",
"0.0907",
"0.5903"
],
[
"0.5146",
"0.5806",
"0.911",
"0.5806",
"0.911",
"0.5947",
"0.5146",
"0.5947"
],
[
"0.08826",
"0.5913",
"0.486",
"0.5913",
"0.486",
"0.605",
"0.08826",
"0.605"
],
[
"0.5146",
"0.5947",
"0.911",
"0.5947",
"0.911",
"0.608",
"0.5146",
"0.608"
],
[
"0.1136",
"0.604",
"0.486",
"0.605",
"0.486",
"0.619",
"0.1136",
"0.6187"
],
[
"0.09235",
"0.6113",
"0.1013",
"0.6113",
"0.1013",
"0.616",
"0.09235",
"0.616"
],
[
"0.5156",
"0.61",
"0.9087",
"0.61",
"0.9087",
"0.6206",
"0.5156",
"0.6206"
],
[
"0.08905",
"0.6206",
"0.1691",
"0.6206",
"0.1691",
"0.632",
"0.08905",
"0.632"
],
[
"0.5146",
"0.6206",
"0.9087",
"0.6226",
"0.9087",
"0.636",
"0.5146",
"0.634"
],
[
"0.1054",
"0.637",
"0.4836",
"0.637",
"0.4836",
"0.648",
"0.1054",
"0.648"
],
[
"0.5146",
"0.636",
"0.9126",
"0.636",
"0.9126",
"0.6494",
"0.5146",
"0.6494"
],
[
"0.08826",
"0.6494",
"0.4844",
"0.6494",
"0.4844",
"0.6636",
"0.08826",
"0.6636"
],
[
"0.5107",
"0.6494",
"0.8486",
"0.651",
"0.8486",
"0.664",
"0.5107",
"0.6636"
],
[
"0.0907",
"0.664",
"0.4805",
"0.664",
"0.4805",
"0.675",
"0.0907",
"0.675"
],
[
"0.08826",
"0.6753",
"0.4844",
"0.677",
"0.4844",
"0.69",
"0.08826",
"0.6895"
],
[
"0.5107",
"0.681",
"0.7295",
"0.6816",
"0.7295",
"0.696",
"0.5107",
"0.6943"
],
[
"0.0866",
"0.6895",
"0.4844",
"0.69",
"0.4844",
"0.704",
"0.0866",
"0.7026"
],
[
"0.0907",
"0.7056",
"0.4836",
"0.7056",
"0.4836",
"0.7163",
"0.0907",
"0.7163"
],
[
"0.5146",
"0.7026",
"0.911",
"0.7026",
"0.911",
"0.7163",
"0.5146",
"0.7163"
],
[
"0.0866",
"0.7163",
"0.486",
"0.7173",
"0.486",
"0.732",
"0.0866",
"0.731"
],
[
"0.5146",
"0.7163",
"0.91",
"0.7163",
"0.91",
"0.73",
"0.5146",
"0.73"
],
[
"0.08826",
"0.732",
"0.4844",
"0.732",
"0.4844",
"0.7456",
"0.08826",
"0.7456"
],
[
"0.511",
"0.73",
"0.5317",
"0.73",
"0.5317",
"0.7437",
"0.511",
"0.7437"
],
[
"0.08826",
"0.747",
"0.486",
"0.747",
"0.486",
"0.7603",
"0.08826",
"0.7603"
],
[
"0.08826",
"0.7603",
"0.2361",
"0.7603",
"0.2361",
"0.7734",
"0.08826",
"0.7734"
],
[
"0.511",
"0.756",
"0.653",
"0.756",
"0.653",
"0.7695",
"0.511",
"0.7695"
],
[
"0.5146",
"0.7744",
"0.91",
"0.7744",
"0.91",
"0.7886",
"0.5146",
"0.7886"
],
[
"0.08417",
"0.7935",
"0.2402",
"0.7944",
"0.2402",
"0.8096",
"0.08417",
"0.808"
],
[
"0.5156",
"0.789",
"0.911",
"0.789",
"0.911",
"0.803",
"0.5156",
"0.803"
],
[
"0.5156",
"0.803",
"0.911",
"0.803",
"0.911",
"0.8164",
"0.5156",
"0.8164"
],
[
"0.08905",
"0.8213",
"0.4836",
"0.8213",
"0.4836",
"0.832",
"0.08905",
"0.832"
],
[
"0.5156",
"0.8174",
"0.911",
"0.8174",
"0.911",
"0.8306",
"0.5156",
"0.8306"
],
[
"0.08905",
"0.8335",
"0.4844",
"0.8335",
"0.4844",
"0.8477",
"0.08905",
"0.8477"
],
[
"0.513",
"0.8306",
"0.911",
"0.8306",
"0.911",
"0.8447",
"0.513",
"0.8447"
],
[
"0.08826",
"0.8477",
"0.486",
"0.8477",
"0.486",
"0.8613",
"0.08826",
"0.8613"
],
[
"0.513",
"0.8447",
"0.7754",
"0.8447",
"0.7754",
"0.8594",
"0.513",
"0.8594"
],
[
"0.08905",
"0.8623",
"0.486",
"0.8623",
"0.486",
"0.8755",
"0.08905",
"0.8755"
],
[
"0.5146",
"0.8623",
"0.846",
"0.8623",
"0.846",
"0.8755",
"0.5146",
"0.8755"
],
[
"0.08905",
"0.877",
"0.1503",
"0.877",
"0.1503",
"0.888",
"0.08905",
"0.888"
],
[
"0.5146",
"0.875",
"0.8013",
"0.8755",
"0.8013",
"0.8896",
"0.5146",
"0.888"
],
[
"0.4944",
"0.914",
"0.5063",
"0.914",
"0.5063",
"0.9253",
"0.4944",
"0.9253"
]
] | [
"Multi-agentImitationLearning(MAIL):尽管存在多",
"种MAIL算法,但现有技术中考虑的问题设置与本文考",
"虑的问题设置不同。从Sec.1开始,先前的MAIL技",
"术要么学习与多代理系统[Songetal.,2018;Linetal.",
"2019]的博奔论均衡相对应的行为,要么假设代理能力",
"[Bhattacharyyaetal.,2019]具有同质性,要么不考虑潜",
"在的性能塑造因素(例如心理模型或认知状态)。对潜",
"在状态进行建模的方法假设潜在状态在成员[Wang et",
"al.,2021;Ivanovicetal.,2018]或时间不变的[Leetal.",
"2017之间共享。相比之下,受现实世界团队考虑的启",
"发,我们寻求开发MAIL算法,该算法既可以识别每个",
"成员的个体和动态变化的潜在状态,又可以从对潜在状",
"态的不同监督级别学习多代理策略",
"Learning from Partially Observable Demonstrations.",
"具有遮挡或缺失特征的模仿学习在过去十年中也受到越",
"Figure I:Movers domain. The human-robot team needs to",
"来越多的关注。这些技术虽然对于本工作中考虑的多代",
"move the boxes to the flag. Each box can be moved if and",
"理设置不直接有效,但为我们的工作提供了信息。[Torabi",
"only if both agents pick it up and move it along the same",
"etal.,2018:SunandMa.2019l考虑从可能不包含演示",
"direction.",
"者操作数据的演示中学寸代理策略。同样,lChoiand",
"Kim,2011:Gangwanietal.,2020l通过利用信念状态允",
"许不完整的状态说明。[Unhelkar and Shah,2019]显式",
"1991:Songetal.2018l对我们的解决方案进行基准测",
"建模代理的潜在决策因素(e。g。,精神状态),可以在",
"试。在我们的评估中,我们强调了收集团队演示的挑战",
"集中动态变化。然与我们的工作相关,但这些技术仅",
"方法是收集一个新的人-代理团队合作数据集,用于(a)",
"考虑单代理任务,而不对多个代理之间的交互进行建模",
"心理模型的标签只有部分可用,以及(b)演示的数量相",
"[Bogertand Doshi,2018] 提供了一种从部分可观察的演",
"对于任务状态空间的大小来说很小。我们的实验表明",
"示中进行多机器人逆强化学习的方法。与我们的方法相",
"BTIL可以从次优团队合作的小型半监督数据集中学习",
"反,他们的工作并没有模拟代理人的心理状态,也没有",
"团队策略,并在相关指标上优于基线",
"试图从次优团队合作的演示中学习",
"RunningExample.为了帮助描述我们的方法,我们",
"Learning from SuboptimalDemonstrations.",
"虽然经",
"使用Fig.1中显示的协作场景作为运行示例。在这种情",
"典的模仿学习假设演示是由行为最佳的专家生成的,但",
"况下,由Alice和Rob组成的两人团队的任务是在最短",
"一些方法承认演示在实践中可能是次优的。例如,假设",
"的时间内将所有箱子一起移动到旗帜上。在每个时间步,",
"大多数演示都是最佳的,[Choietal.,2019;Zhengetal.",
"每个代理可以选择在四个基本方向中的任何一个上移动",
"2014专注于模仿学习,该模仿学习对次优异常值具有",
"尝试拿起或放下一个盒子,或者不执行任何操作。由于",
"鲁棒性。同时,[Brown et al.,2019;Chen et al.,2021",
"每个箱子都很重,因此无法单独由一个代理商提起。为",
"Zhangetal.,2021]的目标是将来自专业水平未知的示",
"了有效地将所有框移动到目标位置,团队需要协调下一",
"威者的示威活动纳入其中,以克服稀缺的专家示威活动",
"个要选择的框以及移动框的路径。因此,在这种情况下",
"的挑战。[Yangetal.,2021]利用潜在的动作表示,同时",
"相关的潜在状态(a)对应于团队的下一个目标位置(i。",
"从潜在的次优演示中学习最佳策略。虽然与我们的方法",
"其中一个框或标志),而可观察状态(s)对应于代理",
"",
"有关,但这些从次优演示中进行模仿学习的解决方案既",
"和框的位置",
"不考虑示威者的心理状态,也不考虑多主体任务。相反",
"在任务执行期间,团队成员的心理模型()可能未对",
"我们的目标是开发一种可以从partiallyobservable和",
"齐。例如,Alice可能会将目标对准左上方的框,而Rob",
"suboptimal演示中学习随机多代理策略的方法",
"则将目标对准左下方的框,从而证明了次优的团队合作",
"此外,为了改善协作,团队成员可能会也可能不会根据",
"3ProblemFormulation",
"其他队友的行为选择在任务期间的任何时候改变他们的",
"目标。因此,如前所述,团队合作的表现可能不符合博",
"为了形式化从次优和部分可观察的演示中学习团队策略",
"奔论的均衡,并且由于依赖于部分可观察的动态心理模",
"的问题,我们首先为团队任务和团队成员的行为提供模",
"型而可能是次优的。。模仿学习者的目标是学习团队的心",
"型",
"理模型相关策略,因为这些(可能是次优的)部分可观",
"察到的团队合作演示",
"3.1Task Model",
"由于我们专注于学习面向任务的团队策略,因此我们",
"2Related Work",
"需要一个模型来表示团队任务。借鉴先前在多代理系统",
"[OliehoekandAmato,2016]中的研究,我们以多代理马",
"我们的工作涉及模仿学习的以下三个子领域:多主体模",
"尔可夫决策过程(MMDP)的框架为基础来描述感兴",
"仿学习,从次优演示中学习以及从部分可观察的演示中",
"趣的任务。MMDP对顺序协作任务进行建模,并由元组",
"学习。在这里,我们总结了这些子领域的研究,并将其",
"Mtask =(n,S,A,T,R,)指定,其中",
"与我们的方法联系起来。有关MAIL技术的更详细讨论,",
": n , is the number of agents i indexed 1 : n ;",
"请参见??",
": s ES,denotes the set of task states;",
"3"
] | {
"arxiv_id": "2205.02959",
"language": "zh",
"page_idx": 2
} |
||
2205.02959-zh-3 | 2205.02959-zh-3.jpg | $\bullet$ $a_i\in A_i$ , is the set of actions $a_i$ available to the $i$-th
agent;
$\bullet$ $A=$ $\times _{i}$ $A_{i}$ is the set of joint actions, where
$a=[a_1,\cdots,a_n]$ denotes the joint action;
$\bullet$ $T_{s}( s^{\prime }| s, a) : S\times A\times S\to [ 0, 1]$denotes the state transi-
tion probabilities, i.e., the probability of the next task
state being $s^\prime$ after the team agents executed action
$a$ in state $s$
$\bullet$ $R( s, a) : S\times A\to \mathbb{R}$ is the joint reward that the team
receives after execution action $a$ in state $s.$
$\bullet$ $\gamma$ is the discount factor.
MMDP 模型假设所有代理都有一个共享目标,并且每个代理都具有任务状态和奖励的完全可观察性。我们共同称为团队的一组$n$代理的共同目标是最大化其预期的累积折扣奖励 E$[\Sigma_t\gamma^tR(s_t,a_t)]$。在这项工作中,我们专注于可以建模为 MMDP 的团队任务,其中状态集$S$ 和动作集$A$是有限的。可以使用 MMDP 对多个实际任务进行建模。例如,运行示例中描述的场景可以描述为MMDP ,其中$n= 2$ , $S$对任务相关功能 (即代理和框位置)进行建模,而$A$对代理可用的操作进行建模
MMDP 的解决方案是一组$n$分散代理策略$\pi_1:n$,其中$\pi_i$是第$i$个代理的策略。在运行示例中,这对应于Alice 和 Rob 的策略。从数学上讲,$\pi_i(a_i|s)$是$i$代理的行为$a_i$在 MMDP 状态下的概率分布。由于每个代理都具有完全的状态可观察性,因此从理论上讲,在任务开始之前,团队可以使用 MDP 求解器[Puterman,1990] 以集中的方式最优地求解 MMDP 。如果每个团队成员都忠实地遵循此最佳策略,则在任务执行期间可以保证MMDP 任务中团队成员之间的协调
### 3.2 Agent Mode
然而,在实践中,人们很少观察到团队成员之间的完美协调,包括在代理对任务状态具有完全或接近完全的可观察性并完全了解团队目标的任务中(e。g。,手术室里的医疗团队,或者篮球或足球运动员团队)。这种不完善的协调的潜在原因是多种多样的。例如,由于无法计算联合策略,缺乏事先协调,执行不完善以及个人偏好不同,可能会发生不完善的协调。为了设计一种可以有效恢复团队策略的模仿学习算法,必须明确考虑这些缺陷和次优团队合作的潜在原因
因此,为了对实践中观察到的团队合作进行建模,我们为每个团队成员的(可能是次优的)行为提供了一个潜在变量模型。我们的模型扩展了代理马尔可夫模型(AMM),该模型明确地对单个代理行为[Unhelkar and Shah,2019] 的潜在状态进行建模,以对团队合作进行建模。特别是,我们将每个团队成员的行为建模为元组$( \bar{X} _{i}, b_{x_{i}}, T_{x_{i}}, \pi _{i})$ ,其中
$\bullet$ $x_{i}\in X_{i}$ denotes the latent states that influence the
$i$ -th agent's behavior during the task. These may include mental models, methods to tie-break if multiple optimal policies exist, or preferences over different $\tilde{\text{task components.}}$
$\begin{array}{l}{b_{x_{i}}(x_{i})\in X_{i}\to[0,1]\text{ denotes the probability distri-}}\\{\mathrm{bution~of~the~latent~state~at~the~start~of~the~task.}}\end{array}$ $\bullet$ $T_{x_{i}}( x_{i}^{\prime }| s, x_{i}, a, s^{\prime })$ $\in$ $S\times$ $X_{i}\times A\times S\times$ $X_{i}$ $\to$ [0,1] denotes the transition model of the latent state.
$\bullet$ $\pi _{i}( a_{i}| s, x_{i}) \in S\times X_{i}\times A_{i}\to [ 0, 1]$ denotes the team
member's policy, a probability distribution of each
member's decision $a_i$ conditioned on their decision
factors $( s, x_i)$ .
参考运行示例,Alice 和 Rob 的行为不仅取决于任务上下文(MMDP 状态),还取决于他们对下一个目标位置的潜在偏好。对于每个团队成员,代理模型有助于对这种潜在偏好(如$x_i\in X_i$ ),其潜在的状态相关策略(如$\pi_i$ ) 以及其潜在偏好的演变进行建模(通过$b_x_i$和$T_{x_i}$ )。虽然上述模型具有表现力,可以代表各种团队行为 (例如。g。,次优策略,基于过去行为的潜在偏好的演变),我们假设过渡动力学$T_x$是马尔可夫的,用于计算可处理性。$\begin{array}{l}{\text{通常,我们将整个团队的行为模型统称为}}\left(X,b_{x},T_{x},\pi\right)\\{\text{世}+\mathbf{v}}\end{array}$ 其中$X= \times _iX_i$ , $T_x= \{ T_{x_1}, \cdots , T_{x_n}\}$ 和$\pi=[\pi_1,\cdots,\pi_n]$ 。整个团队的潜在状态表示为$x=[x_1,\cdots,x_n]$
### 3.3 Problem Statement
$\begin{array}{ll}\text{在经典的 MAIL 设置中,目标是从一组团队合作演示中}\\\text{学习团队策略 }^{1}\tau\doteq(s^{0:h},a^{0:h}),\text{其中 }h\text{ 表示演示。然}\end{array}$ 而,在我们的环境中,团队行为还受到团队成员潜在状态$\chi\doteq(x^{0:h})$的轨迹的影响,这些轨迹是部分可观察到的,并且需要大量资源来注释。因此,我们专注于团队策略的半监督学习,其中$x$标签仅可用于演示的子集
从形式上讲,我们的问题对应于学习团队策略$\pi$ ,给定 MMDP 任务模型$(n,S,A,T,R,\gamma)$ ,一组$d$可观察到于恢复两个代理团队( Alice 和 Rob) 的行为策略,给定代理和盒子位置$\tau_{1:d}$的$d$可观察到的轨迹以及每个代理的首选目标位置的标签轨迹$\chi_{1:l}$的子集
# 4 Solution: Static Latent States
为了便于说明,我们首先针对团队成员在任务执行期间不更改其潜在心理模型$(x)$的情况得出策略学习算法; 从数学上讲$,T_x\doteq1(x=x^{\prime})$ 。在下一节中,我们将基于针对此特殊情况得出的解决方案来解决 Sec. 3.3 的整体问题。我们注意到,尽管简化了静态潜在状态,但学习者需要在部分状态可观察性下进行推理以学习团队策略Generative Model. MATHX
为了能够从少量演示中学习策略,我们利用贝叶斯方法并提供团队行为的生成模型。在 Fig.2 中为两个代理团队显示的生成模型对生成团队演示的过程进行了建模。每个代理(由下标表示)根据当前任务状态$s^t$ 她的精神状态$x_i$和策略$\pi_i$,在时间步$t$选择其动作$a_{i}^{t}\sim\pi_{i}(\cdot|s^{t},x_{i})$ 。在这种特殊情况下,潜在状态$x_i$在任务执行期间不会更改,因此没有上标表示。任务状态$s^{t+1}$的动力学依赖于 MMDP 模型$T_s(\cdot|s^t,a^t)$
为了完成生成过程,该模型还包括潜在状态和策略的先验 (Fig.2 中未显示)。在没有任何其他领域知识的情况下,我们假设策略是作为分类分布给出的。因此,我们将策略的先验定义为其共轭先验 Dirichlet 分布$:\pi_{i,sx}\sim$Dir$(u^{\pi})~,~$其中$u^{\pi}=(u_1^{\pi},\cdots,u_{|A|}^{\pi})~$是超参数。同样,我们假设潜在状态是从均匀分布中得出的,
${\overline{{^{1}\text{Notation}:}}}$We use superscript to denote the time step. The subscript is overloaded and, based on the context, is used to denote the $i$ -th agent, $m$ -th demonstration, task state $s$, agent's latent state $x$, or action $a.$ Finally, $\begin{array}{l}\text{for notational convenience, we use 1}_{abc}(a^{\prime},b^{\prime},c^{\prime})\\1(a^{\prime}=a,b^{\prime}=b,c^{\prime}=c)\:.\end{array}$
4 | [
[
"0.09314",
"0.07135",
"0.4844",
"0.07135",
"0.4844",
"0.0821",
"0.09314",
"0.0821"
],
[
"0.5337",
"0.0707",
"0.9126",
"0.0707",
"0.9126",
"0.084",
"0.5337",
"0.084"
],
[
"0.1054",
"0.0852",
"0.1544",
"0.0852",
"0.1544",
"0.0966",
"0.1054",
"0.0966"
],
[
"0.5337",
"0.0833",
"0.6357",
"0.0859",
"0.6357",
"0.09784",
"0.5337",
"0.0947"
],
[
"0.08826",
"0.09784",
"0.4429",
"0.09784",
"0.4429",
"0.1111",
"0.08826",
"0.1111"
],
[
"0.437",
"0.09973",
"0.486",
"0.09973",
"0.486",
"0.10986",
"0.437",
"0.10986"
],
[
"0.513",
"0.09973",
"0.9126",
"0.1016",
"0.9126",
"0.11554",
"0.513",
"0.113"
],
[
"0.1054",
"0.11237",
"0.3938",
"0.11237",
"0.3938",
"0.1256",
"0.1054",
"0.1256"
],
[
"0.5146",
"0.113",
"0.911",
"0.11426",
"0.911",
"0.1288",
"0.5146",
"0.1276"
],
[
"0.08905",
"0.1256",
"0.4844",
"0.1256",
"0.4844",
"0.1395",
"0.08905",
"0.1395"
],
[
"0.5146",
"0.1288",
"0.911",
"0.1288",
"0.911",
"0.1427",
"0.5146",
"0.1427"
],
[
"0.1054",
"0.1383",
"0.4878",
"0.1383",
"0.4878",
"0.1515",
"0.1054",
"0.1515"
],
[
"0.511",
"0.1427",
"0.911",
"0.1433",
"0.911",
"0.1572",
"0.511",
"0.1559"
],
[
"0.10706",
"0.1528",
"0.4878",
"0.1528",
"0.4878",
"0.1666",
"0.10706",
"0.1666"
],
[
"0.5146",
"0.1572",
"0.911",
"0.1572",
"0.911",
"0.1704",
"0.5146",
"0.1704"
],
[
"0.10864",
"0.1686",
"0.1896",
"0.1686",
"0.1896",
"0.1787",
"0.10864",
"0.1787"
],
[
"0.5146",
"0.1704",
"0.91",
"0.1704",
"0.91",
"0.1843",
"0.5146",
"0.1843"
],
[
"0.08826",
"0.1799",
"0.4878",
"0.1787",
"0.4878",
"0.1932",
"0.08826",
"0.1945"
],
[
"0.5146",
"0.1849",
"0.911",
"0.1849",
"0.911",
"0.1989",
"0.5146",
"0.1989"
],
[
"0.10297",
"0.1932",
"0.4207",
"0.1945",
"0.4207",
"0.2084",
"0.10297",
"0.207"
],
[
"0.5146",
"0.1989",
"0.91",
"0.1989",
"0.91",
"0.2122",
"0.5146",
"0.2122"
],
[
"0.0907",
"0.2102",
"0.2769",
"0.2102",
"0.2769",
"0.2203",
"0.0907",
"0.2203"
],
[
"0.5146",
"0.2134",
"0.9043",
"0.2134",
"0.9043",
"0.2267",
"0.5146",
"0.2267"
],
[
"0.1013",
"0.2247",
"0.4844",
"0.2247",
"0.4844",
"0.238",
"0.1013",
"0.238"
],
[
"0.513",
"0.2247",
"0.911",
"0.2267",
"0.911",
"0.2412",
"0.513",
"0.2393"
],
[
"0.08826",
"0.2393",
"0.4844",
"0.2393",
"0.4844",
"0.2524",
"0.08826",
"0.2524"
],
[
"0.511",
"0.2405",
"0.839",
"0.2405",
"0.839",
"0.254",
"0.511",
"0.254"
],
[
"0.08826",
"0.2524",
"0.482",
"0.2524",
"0.482",
"0.2664",
"0.08826",
"0.2664"
],
[
"0.08826",
"0.2664",
"0.4844",
"0.2664",
"0.4844",
"0.2798",
"0.08826",
"0.2798"
],
[
"0.511",
"0.2651",
"0.7134",
"0.2651",
"0.7134",
"0.279",
"0.511",
"0.279"
],
[
"0.0907",
"0.2798",
"0.486",
"0.2798",
"0.486",
"0.2942",
"0.0907",
"0.2942"
],
[
"0.511",
"0.2827",
"0.91",
"0.2827",
"0.91",
"0.2966",
"0.511",
"0.2966"
],
[
"0.08905",
"0.2942",
"0.486",
"0.2942",
"0.486",
"0.308",
"0.08905",
"0.308"
],
[
"0.511",
"0.2974",
"0.7466",
"0.2942",
"0.7466",
"0.3093",
"0.511",
"0.3125"
],
[
"0.738",
"0.2966",
"0.9004",
"0.2986",
"0.9004",
"0.3125",
"0.738",
"0.31"
],
[
"0.8965",
"0.2998",
"0.91",
"0.2998",
"0.91",
"0.31",
"0.8965",
"0.31"
],
[
"0.0907",
"0.31",
"0.4836",
"0.31",
"0.4836",
"0.3208",
"0.0907",
"0.3208"
],
[
"0.511",
"0.31",
"0.9126",
"0.3113",
"0.9126",
"0.3257",
"0.511",
"0.3245"
],
[
"0.08826",
"0.3213",
"0.486",
"0.3213",
"0.486",
"0.3352",
"0.08826",
"0.3352"
],
[
"0.513",
"0.3245",
"0.911",
"0.3245",
"0.911",
"0.339",
"0.513",
"0.339"
],
[
"0.08826",
"0.336",
"0.4534",
"0.336",
"0.4534",
"0.3499",
"0.08826",
"0.3499"
],
[
"0.5146",
"0.339",
"0.911",
"0.339",
"0.911",
"0.3528",
"0.5146",
"0.3528"
],
[
"0.1013",
"0.3484",
"0.4714",
"0.351",
"0.4714",
"0.3655",
"0.1013",
"0.363"
],
[
"0.4656",
"0.3528",
"0.4844",
"0.3528",
"0.4844",
"0.361",
"0.4656",
"0.361"
],
[
"0.513",
"0.3528",
"0.892",
"0.3528",
"0.892",
"0.3662",
"0.513",
"0.3662"
],
[
"0.08905",
"0.3643",
"0.486",
"0.3643",
"0.486",
"0.3774",
"0.08905",
"0.3774"
],
[
"0.5293",
"0.3674",
"0.911",
"0.3674",
"0.911",
"0.3806",
"0.5293",
"0.3806"
],
[
"0.0866",
"0.377",
"0.4844",
"0.3774",
"0.4844",
"0.3926",
"0.0866",
"0.3914"
],
[
"0.5146",
"0.3806",
"0.91",
"0.3806",
"0.91",
"0.3958",
"0.5146",
"0.3958"
],
[
"0.08826",
"0.3926",
"0.486",
"0.3926",
"0.486",
"0.406",
"0.08826",
"0.406"
],
[
"0.511",
"0.3926",
"0.914",
"0.3914",
"0.914",
"0.4124",
"0.511",
"0.4136"
],
[
"0.0907",
"0.4077",
"0.4836",
"0.4077",
"0.4836",
"0.4185",
"0.0907",
"0.4185"
],
[
"0.5156",
"0.4072",
"0.5474",
"0.4092",
"0.546",
"0.4216",
"0.5146",
"0.4192"
],
[
"0.54",
"0.4077",
"0.648",
"0.4092",
"0.648",
"0.4236",
"0.54",
"0.4224"
],
[
"0.6733",
"0.4092",
"0.911",
"0.4092",
"0.911",
"0.4224",
"0.6733",
"0.4224"
],
[
"0.08826",
"0.4192",
"0.4836",
"0.4192",
"0.4836",
"0.433",
"0.08826",
"0.433"
],
[
"0.513",
"0.4192",
"0.911",
"0.4204",
"0.911",
"0.4382",
"0.513",
"0.4375"
],
[
"0.08826",
"0.4343",
"0.4844",
"0.4343",
"0.4844",
"0.4475",
"0.08826",
"0.4475"
],
[
"0.513",
"0.4363",
"0.91",
"0.4363",
"0.91",
"0.4507",
"0.513",
"0.4507"
],
[
"0.08826",
"0.4475",
"0.4878",
"0.4475",
"0.4878",
"0.461",
"0.08826",
"0.461"
],
[
"0.5146",
"0.4507",
"0.796",
"0.4507",
"0.796",
"0.4653",
"0.5146",
"0.4653"
],
[
"0.08496",
"0.4602",
"0.343",
"0.461",
"0.343",
"0.4749",
"0.08496",
"0.4734"
],
[
"0.511",
"0.481",
"0.8022",
"0.481",
"0.8022",
"0.4944",
"0.511",
"0.4944"
],
[
"0.08496",
"0.4893",
"0.2361",
"0.4893",
"0.2361",
"0.5024",
"0.08496",
"0.5024"
],
[
"0.5156",
"0.502",
"0.911",
"0.502",
"0.911",
"0.515",
"0.5156",
"0.515"
],
[
"0.0866",
"0.5083",
"0.486",
"0.509",
"0.486",
"0.5234",
"0.0866",
"0.523"
],
[
"0.513",
"0.515",
"0.91",
"0.515",
"0.91",
"0.529",
"0.513",
"0.529"
],
[
"0.08905",
"0.5244",
"0.1381",
"0.5244",
"0.1381",
"0.536",
"0.08905",
"0.536"
],
[
"0.1316",
"0.5234",
"0.4844",
"0.5234",
"0.4844",
"0.537",
"0.1316",
"0.537"
],
[
"0.5146",
"0.529",
"0.91",
"0.529",
"0.91",
"0.5425",
"0.5146",
"0.5425"
],
[
"0.0866",
"0.536",
"0.4224",
"0.537",
"0.4224",
"0.552",
"0.0866",
"0.5503"
],
[
"0.4182",
"0.5386",
"0.4836",
"0.5386",
"0.4836",
"0.549",
"0.4182",
"0.549"
],
[
"0.513",
"0.5425",
"0.911",
"0.5425",
"0.911",
"0.556",
"0.513",
"0.556"
],
[
"0.08826",
"0.5503",
"0.4844",
"0.5503",
"0.4844",
"0.5645",
"0.08826",
"0.5645"
],
[
"0.5156",
"0.5566",
"0.91",
"0.5566",
"0.91",
"0.571",
"0.5156",
"0.571"
],
[
"0.08826",
"0.5645",
"0.4836",
"0.5645",
"0.4836",
"0.5776",
"0.08826",
"0.5776"
],
[
"0.5146",
"0.571",
"0.9062",
"0.571",
"0.9062",
"0.584",
"0.5146",
"0.584"
],
[
"0.08826",
"0.579",
"0.486",
"0.579",
"0.486",
"0.5923",
"0.08826",
"0.5923"
],
[
"0.5195",
"0.5913",
"0.6567",
"0.5913",
"0.6567",
"0.6016",
"0.5195",
"0.6016"
],
[
"0.6685",
"0.5903",
"0.7363",
"0.5903",
"0.7363",
"0.6016",
"0.6685",
"0.6016"
],
[
"0.5317",
"0.604",
"0.911",
"0.604",
"0.911",
"0.617",
"0.5317",
"0.617"
],
[
"0.08826",
"0.5923",
"0.486",
"0.5923",
"0.486",
"0.606",
"0.08826",
"0.606"
],
[
"0.08826",
"0.605",
"0.4836",
"0.605",
"0.4836",
"0.6187",
"0.08826",
"0.6187"
],
[
"0.0866",
"0.619",
"0.282",
"0.619",
"0.282",
"0.6333",
"0.0866",
"0.6333"
],
[
"0.5156",
"0.617",
"0.911",
"0.617",
"0.911",
"0.631",
"0.5156",
"0.631"
],
[
"0.10297",
"0.6333",
"0.486",
"0.6353",
"0.486",
"0.6484",
"0.10297",
"0.6465"
],
[
"0.511",
"0.63",
"0.9087",
"0.631",
"0.9087",
"0.646",
"0.511",
"0.6445"
],
[
"0.0866",
"0.648",
"0.4844",
"0.6465",
"0.4844",
"0.661",
"0.0866",
"0.662"
],
[
"0.5146",
"0.646",
"0.902",
"0.646",
"0.902",
"0.659",
"0.5146",
"0.659"
],
[
"0.5146",
"0.659",
"0.7295",
"0.66",
"0.7295",
"0.674",
"0.5146",
"0.6724"
],
[
"0.7236",
"0.661",
"0.91",
"0.661",
"0.91",
"0.672",
"0.7236",
"0.672"
],
[
"0.513",
"0.674",
"0.9126",
"0.674",
"0.9126",
"0.6875",
"0.513",
"0.6875"
],
[
"0.08905",
"0.664",
"0.4836",
"0.664",
"0.4836",
"0.675",
"0.08905",
"0.675"
],
[
"0.08826",
"0.6753",
"0.486",
"0.6753",
"0.486",
"0.6895",
"0.08826",
"0.6895"
],
[
"0.0866",
"0.69",
"0.4844",
"0.69",
"0.4844",
"0.704",
"0.0866",
"0.704"
],
[
"0.5146",
"0.6875",
"0.9126",
"0.6875",
"0.9126",
"0.7007",
"0.5146",
"0.7007"
],
[
"0.5107",
"0.6987",
"0.8384",
"0.7007",
"0.8384",
"0.7153",
"0.5107",
"0.7134"
],
[
"0.08905",
"0.705",
"0.4844",
"0.705",
"0.4844",
"0.7183",
"0.08905",
"0.7183"
],
[
"0.0866",
"0.7173",
"0.2532",
"0.7163",
"0.2532",
"0.731",
"0.0866",
"0.732"
],
[
"0.5317",
"0.7153",
"0.911",
"0.7153",
"0.911",
"0.729",
"0.5317",
"0.729"
],
[
"0.5156",
"0.729",
"0.911",
"0.729",
"0.911",
"0.742",
"0.5156",
"0.742"
],
[
"0.0907",
"0.7373",
"0.4844",
"0.7363",
"0.4844",
"0.75",
"0.0907",
"0.7505"
],
[
"0.5156",
"0.742",
"0.911",
"0.742",
"0.911",
"0.756",
"0.5156",
"0.756"
],
[
"0.10455",
"0.75",
"0.4844",
"0.7505",
"0.4844",
"0.765",
"0.10455",
"0.7646"
],
[
"0.5146",
"0.757",
"0.911",
"0.757",
"0.911",
"0.771",
"0.5146",
"0.771"
],
[
"0.10864",
"0.7666",
"0.482",
"0.7666",
"0.482",
"0.7764",
"0.10864",
"0.7764"
],
[
"0.5107",
"0.768",
"0.9126",
"0.7695",
"0.9126",
"0.787",
"0.5107",
"0.786"
],
[
"0.10864",
"0.781",
"0.4836",
"0.781",
"0.4836",
"0.7915",
"0.10864",
"0.7915"
],
[
"0.5146",
"0.787",
"0.91",
"0.787",
"0.91",
"0.802",
"0.5146",
"0.802"
],
[
"0.10864",
"0.7935",
"0.2345",
"0.7935",
"0.2345",
"0.8037",
"0.10864",
"0.8037"
],
[
"0.08905",
"0.806",
"0.4844",
"0.806",
"0.4844",
"0.8193",
"0.08905",
"0.8193"
],
[
"0.5312",
"0.811",
"0.91",
"0.8125",
"0.91",
"0.827",
"0.5312",
"0.8257"
],
[
"0.10706",
"0.8213",
"0.46",
"0.8213",
"0.46",
"0.832",
"0.10706",
"0.832"
],
[
"0.511",
"0.8237",
"0.9126",
"0.8257",
"0.9126",
"0.839",
"0.511",
"0.837"
],
[
"0.08905",
"0.834",
"0.4844",
"0.834",
"0.4844",
"0.8477",
"0.08905",
"0.8477"
],
[
"0.513",
"0.8384",
"0.914",
"0.8384",
"0.914",
"0.8516",
"0.513",
"0.8516"
],
[
"0.10455",
"0.8477",
"0.451",
"0.8477",
"0.451",
"0.8613",
"0.10455",
"0.8613"
],
[
"0.511",
"0.8496",
"0.863",
"0.851",
"0.863",
"0.8657",
"0.511",
"0.8643"
],
[
"0.859",
"0.8496",
"0.91",
"0.8516",
"0.91",
"0.863",
"0.859",
"0.8613"
],
[
"0.0907",
"0.8623",
"0.486",
"0.8623",
"0.486",
"0.8755",
"0.0907",
"0.8755"
],
[
"0.513",
"0.863",
"0.9126",
"0.863",
"0.9126",
"0.877",
"0.513",
"0.877"
],
[
"0.1054",
"0.8755",
"0.4885",
"0.8755",
"0.4885",
"0.8896",
"0.1054",
"0.8896"
],
[
"0.513",
"0.8755",
"0.6567",
"0.8755",
"0.6567",
"0.8896",
"0.513",
"0.8896"
],
[
"0.4944",
"0.914",
"0.5063",
"0.914",
"0.5063",
"0.925",
"0.4944",
"0.925"
]
] | [
"aEA;istheset of actionsa,availabletothei-th",
"member's decision a conditioned on their decision",
"agent;",
"factors (s,ri)",
": A= Xi A, is the set of joint actions,",
"where",
"参考运行示例,Alice和Rob的行为不仅取决于任务上",
"a=-[ai,.., an] denotes the joint action;",
"下文(MMDP状态),还取决于他们对下一个目标位置的",
". T,(s'|s, a) : SxAx S →[0, 1] denotes the state transi-",
"潜在偏好。对于每个团队成员,代理模型有助于对这种",
"tion probabilities, i.e., the probability of the next task",
"潜在偏好(如ciEX,),其潜在的状态相关策略(如元)",
"state being s' after the team agents executed action",
"以及其潜在偏好的演变进行建模(通过ba,和T)。虽",
"a in state s",
"然上述模型具有表现力,可以代表各种团队行为(例如。",
". R(s, a) : S × A → Ris the joint reward that the team",
"g。,次优策略,基于过去行为的潜在偏好的演变),我们",
"receives after execution action a in state s.",
"假设过渡动力学T,是马尔可夫的,用于计算可处理性",
":is the discountfactor.",
"通常,我们将整个团队的行为模型统称为(X,b,T,元)",
"MMDP模型假设所有代理都有一个共享目标,并且",
"其中X=×,X,,T={T1,.··,T和元=[元1,.·,元]",
"每个代理都具有任务状态和奖励的完全可观察性。我们",
"。整个团队的潜在状态表示为a=1,.·,an",
"共同称为团队的一组n代理的共同目标是最大化其预期",
"的累积折扣奖励E[t>tR(st,at)l。在这项工作中,我们",
"3.3Problem Statement",
"专注于可以建模为MMDP的团队任务,其中状态集S",
"在经典的MAIL设置中,目标是从一组团队合作演示中",
"和动作集A是有限的。可以使用MMDP对多个实际任",
"学习团队策略1—兰(s0:h,ao:h)",
",其中h表示演示。",
"然",
"务进行建模。例如,运行示例中描述的场景可以描述为",
"而,在我们的环境中,团队行为还受到团队成员潜在状",
"MMDP,其中n=2,S对任务相关功能(即代理和框",
"态×=(r0:h)的轨迹的影响,这些轨迹是部分可观察到",
"位置)进行建模,而A对代理可用的操作进行建模",
"的,并且需要大量资源来注释。因此,我们专注于团队",
"MMDP的解决方案是一组n分散代理策略元1:n,",
"其",
"策略的半监督学习,其中&标签仅可用于演示的子集",
"中元;是第个代理的策略。在运行示例中,这对应于",
"从形式上讲,我们的问题对应于学习团队策略元,给",
"Alice和Rob的策略。从数学上讲,元i(ais)是i代理的",
"定 MMDP任务模型(n,S,A,T,R,),一组 d可观察到",
"行为ai在MMDP状态下的概率分布。由于每个代理都",
"的演示,T1id={Tm)m-1以及演示子集(≤d)的a标",
"具有完全的状态可观察性,因此从理论上讲,在任务开",
"签,",
"X1:l=(Xm)m",
"对于我们的运行示例,问题对应",
"始之前,团队可以使用MDP求解器[Puterman,1990]",
"于恢复两个代理团欧(Alice和Rob)的行为策略,给定",
"以集中的方式最优地求解MMDP。如果每个团队成员",
"代理和盒子位置T1:d的d可观察到的轨迹以及每个代理",
"都忠实地遵循此最佳策略,则在任务执行期间可以保证",
"的首选目标位置的标签轨迹X1:的子集",
"MMDP任务中团队成员之间的协调",
"4Solution:Static Latent States",
"3.2 Agent Model",
"为了便于说明,我们首先针对团队成员在任务执行期间",
"然而,在实践中,人们很少观察到团队成员之间的完美",
"不更改其潜在心理模型(a)的情况得出策略学习算法",
"协调,",
"包括在代理对任务状态具有完全或接近完全的可",
"从数学上讲,T=1(α=r)。在下一节中,我们将基于",
"观察性并完全了解团队目标的任务中(e。g。,",
"手术室单",
"针对此特殊情况得出的解决方案来解决Sec.3.3的整体",
"的医疗团队,或者篮球或足球运动员团队)。这种不完善",
"问题。我们注意到,尽管简化了静态潜在状态,但学习",
"的协调的潜在原因是多种多样的。例如,由于无法计算",
"者需要在部分状态可观察性下进行推理以学习团队策略",
"联合策略,缺乏事先协调,执行不完善以及个人偏好不",
"GenerativeModel",
"MATHX",
"为了能够从少量演示中学习策略,我们利用贝叶斯方",
"同,可能会发生不完善的协调。为了设计一种可以有效",
"恢复团队策略的模仿学习算法,必须明确考虑这些缺陷",
"和次优团队合作的潜在原因",
"法并提供团队行为的生成模型。在Fig.2中为两个代",
"因此,为了对实践中观察到的团队合作进行建模,我",
"理团队显示的生成模型对生成团队演示的过程进行了",
"们为每个团队成员的(可能是次优的)行为提供了二个",
"建模。每个代理(由下标表示)根据当前任务状态st",
"她的精神状态,和策略元,",
"在时间步t选择其动作",
"a~πi(st,ai)。在这种特殊情况下,潜在状态i在",
"潜在变量模型。我们的模型扩展了代理马尔可夫模型",
"(AMM),该模型明确地对单个代理行为[Unhelkarand",
"Shah,2019]的潜在状态进行建模,以对团队合作进行",
"任务执行期间不会更改,因此没有上标表示。任务状态",
"st+i的动力学依赖于MMDP模型T(Ist,at)",
"建模。特别是,我们将每个团队成员的行为建模为元组",
"(X,b,T,元),其中",
"为了完成生成过程,该模型还包括潜在状态和策略",
"的先验(Fig.2中未显示)。在没有任何其他领域知识",
".i E X, denotes the latent states that influence the",
"的情况下,我们假设策略是作为分类分布给出的。因",
"i -th agent's behavior during the task. These may",
"此,我们将策略的先验定义为其共轭先验Dirichlet分",
"includementalmodels,methods totie-breakifmulti",
"布:s~Dir(u\"),其中u\"=(u,A)是超参",
"ple optimal policies exist,orpreferences over different",
"数。同样,我们假设潜在状态是从均匀分布中得出的",
"task components.",
": br (ai) E X -→ [o, 1] denotes the probability distri-",
"INotation : We use superscript to denote the time step.",
"bution of the latent state at the start of the task.",
"The subscript is overloaded and, based on the context, is",
": Tr(c,ls,ai,a,s) E S × X, × A × S × X, -→ [0,1]",
"used to denote the i -th agent, m -th demonstration, task",
"denotes the transition model of the latent state.",
"state s , agent's latent state x , or action a.",
"Finally",
". i(ails, ri) E S x X, × A → [0,1l denotes the team",
"for notational convenience, we use labe(a',b',c') to denote",
"member's policy, a probability distribution of each",
"1(a'=a, b'=b,c'=c) .",
"4"
] | {
"arxiv_id": "2205.02959",
"language": "zh",
"page_idx": 3
} |
||
1904.10638-zh-2 | 1904.10638-zh-2.jpg | 它实现了更好的结果,特别是对于大的重定向角度
# 3. Gaze Adaptation approach
我们用于用户特定注视自适应的总体方法如图。1 。它包括使用标记的训练样本微调通用神经网络。然而, 我们建议使用视线重定向模型生成额外的样本,而不是只使用很少 (少于 10) 的参考样本。由于此重定向模型是我们方法的主要组成部分,因此我们在$\color{red}{\mathrm{E3.1~}}$到E 3.4部分中对其进行了更详细的描述。然后在$\color{red}{3.5}$节中描述注视自适应部分
## 3.1. Gaze Redirection Overview
我们的凝视重定向框架如图所示。2。它由重定向网络本身和域自适应模块组成。图的左侧部分。2 说明了将眼睛图像、用户定义的重定向角度和头部姿势作为输入的重定向网络。它被设计为编码器-解码器方式,其中解码器的输出是反向扭曲场。然后,通过使用预测的反向扭曲场(通过可微分采样器)扭曲输入的眼睛图像来生成视线重定向样本。。图的右侧部分。2 是通过循环一致性损失和注视重定向损失以自监督方式进行的域自适应模块
3.2. Synthetic Data for Gaze Redirection Learning
原则上,视线重定向网络的训练需要良好对齐的图像对,其中两个图像(输入图像和用于监督的重定向基础)共享相同的总体照明条件,相同的人特定属性(皮肤颜色,眼睛形状,虹膜颜色,瞳孔颜色)和相同的头部姿势。唯一的区别应该是与注视相关的特征,例如眼球方向和眼睑状态。这种严格的要求使得收集真实数据变得困难。在本文中,我们建议使用合成样本来代替。具体来说,我们使用 UnityEyesEngine [38]生成3K 个眼睛图像组,每个包含 10 个图像,这些图像是用相同的照明、相同的人特定参数、相同的头部姿势但不同的注视参数生成的,如图。3。因此,可以从每组中绘制$10^*$9 个图像对的总数。在我们的工作中,我们使用 10K 图像对进行训练。
# 3.3. Gaze Redirection Network
Architecture. 如图所示。2 。网络将三个变量作为输人,眼睛图像$I$ ,头部姿势$h$和用户定义的重定向角度$\Delta g$ 。其中,$I$由图像分支处理并编码为语义特征, 而$h$和$\Delta g$由另外两个分支处理并编码为将引导与注视相关的视觉变化的特征。请注意,头部姿势输入是必须的,因为它是确定眼睛图像外观的元素之一。然后将三个输出特征堆叠在瓶颈层中,并进一步解码为两个反向扭曲图$m_x$和$m_y:$
(1)
$$m_{x,y}=R_\theta(I,\Delta g,h)$$
,其中$R$是重定向网络,$\theta$是网络参数。与$\mathbb{E}[12]$类似,我们然后使用可微分网格采样器$s$ $\mathbb{E}[11]$来扭曲输入图像并生成凝视重定向的图像$I_{\Delta g}$ ,其凝视地面真值为$g+ \Delta g$ $( \bar {g\text{ 是 原 始 图 像 }I\text{ 的 凝 视 ) , 其 中 : }}$
<NEXMATHWELIN5。与直接合成相比,该策略将输人的像素投影到输出,这保证了输人和输出将共享相似的颜色和照明分布
对于训练,我们使用 L1 损耗来测量重定向输出$I_{\Delta g}$ 和地面实况$G_I$之间的差异。因此,以间接监督的方式学习生成重定向所需的逆翘曲场
Semantic consistency. 到目前为止,可以通过测量预测的注视重定向的眼睛图像$I$与相应的地面实况$G_I$之间的重建损失来评估网络。如果预测的反向翘曲场是准确的,那么眼睛的不同语义部分(瞳孔,巩膜和背景) 也应该很好地重定向。因此,我们建议在语义层面强制执行扭曲一致性。为此,对于每个合成图像$I$ ,我们提取语义图如下:我们首先将凸形状拟合到眼睑标志和虹膜标志(由 UnityEyes 提供),以获取虹膜+ 瞳孔区域,巩膜区域和背景区域。然后,我们将这三个图合并成一个分割图$S_I$ ,如图。4 a。重要的是要注意此步骤是确定性的,不是网络的一部分。然后,任何分割图$S_I$都可以用反向扭曲场$R_{\boldsymbol{\theta}}(I,\Delta g,h)$ (从原始图像$I$预测) 重定向,并与目标重定向眼睛$G_I$的分割图$S_{G_I}$进行比较
Overall loss. 根据前面的段落,我们的总体重定向损失$L_R$ (对于合成数据)可以定义为重建损失和语义损失的总和,在每种情况下都使用 L1 规范。因此,它被定义为:
$$L_R=||\boldsymbol{I}\circ\boldsymbol{R}_\boldsymbol{\theta}(\boldsymbol{I},\Delta\boldsymbol{g},\boldsymbol{h})-\boldsymbol{G}_\boldsymbol{I}||_1+||\boldsymbol{S}_\boldsymbol{I}\circ\boldsymbol{R}_\boldsymbol{\theta}(\boldsymbol{I},\Delta\boldsymbol{g},\boldsymbol{h})-\boldsymbol{S}_\boldsymbol{G}_\boldsymbol{I}||_1$$
请注意,分割图不是由网络处理的(参见图。4 b),并
且在用户注视自适应时间内不需要生成重定向样本
3.4. Gaze Redirection Domain Adaptation
由于合成数据和真实数据之间的域差异,仅从合成数据学习的网络$R_\mathrm{\theta}$的性能在应用于真实数据时会下降。解决此问题的一个简单解决方案是使用真实图像对微调$R_\mathrm{\theta}$ 。然而,如上所述 ,为视线重定向收集真实图像对是困难的。在本节中,我们介绍一种依赖于两个原理的自监督域自适应方法。第一个是视线重定向周期一致性,第二个是基于从视线重定向图像估计的视线的一致性
Cycle consistency loss. 它已用于域自适应$\mathbb{E}[46]$ 和身份保留$\mathbb{E}[25]$ 等应用。主要思想是,当将样本转移到新域,然后转换回原始域时,循环输出应与输入相同。同样,在我们的例子中,如果视线重定向样本$I_{\Delta g}$进一步重定向为反向重定向角度- $\Delta g$ , 则循环输出应接近原始图像$I$
在本文中,我们将这种循环一致性方案应用于真实
图像集,并将循环损失定义为:
(3)
$$L_{cycle}=||\boldsymbol{I}_{\Delta\boldsymbol{g}}\circ\boldsymbol{R}_\theta(\boldsymbol{I}_{\Delta\boldsymbol{g}},-\Delta\boldsymbol{g},\boldsymbol{h})-\boldsymbol{I}||_1$$
其中$I_{\Delta\boldsymbol{g}}=I\circ\boldsymbol{R}_{\theta}(\boldsymbol{I},\Delta\boldsymbol{g},\boldsymbol{h})$
Gaze redirection loss. 作为一个弱点,单独的周期损耗可能会推动重定向网络崩溃为标识映射(重定向网络的输出始终等于输入)。为了防止这种崩溃,我们建议
3 | [
[
"0.08417",
"0.0947",
"0.4395",
"0.0947",
"0.4395",
"0.1048",
"0.08417",
"0.1048"
],
[
"0.5034",
"0.09155",
"0.8896",
"0.09216",
"0.8896",
"0.1067",
"0.5034",
"0.1061"
],
[
"0.5063",
"0.108",
"0.8906",
"0.108",
"0.8906",
"0.1218",
"0.5063",
"0.1218"
],
[
"0.0768",
"0.11743",
"0.3381",
"0.11615",
"0.3381",
"0.1338",
"0.0768",
"0.1351"
],
[
"0.505",
"0.1237",
"0.652",
"0.1237",
"0.652",
"0.137",
"0.505",
"0.137"
],
[
"0.1013",
"0.1427",
"0.4673",
"0.1427",
"0.4673",
"0.1528",
"0.1013",
"0.1528"
],
[
"0.523",
"0.1383",
"0.888",
"0.1383",
"0.888",
"0.1528",
"0.523",
"0.1528"
],
[
"0.0809",
"0.1559",
"0.4697",
"0.1559",
"0.4697",
"0.1692",
"0.0809",
"0.1692"
],
[
"0.5034",
"0.154",
"0.8906",
"0.154",
"0.8906",
"0.1674",
"0.5034",
"0.1674"
],
[
"0.0825",
"0.1704",
"0.468",
"0.1704",
"0.468",
"0.1843",
"0.0825",
"0.1843"
],
[
"0.5024",
"0.1674",
"0.732",
"0.1674",
"0.732",
"0.1812",
"0.5024",
"0.1812"
],
[
"0.08417",
"0.1875",
"0.4673",
"0.1875",
"0.4673",
"0.1976",
"0.08417",
"0.1976"
],
[
"0.5024",
"0.1849",
"0.8906",
"0.1849",
"0.8906",
"0.1989",
"0.5024",
"0.1989"
],
[
"0.08417",
"0.2026",
"0.4673",
"0.2026",
"0.4673",
"0.2134",
"0.08417",
"0.2134"
],
[
"0.5034",
"0.2008",
"0.8896",
"0.2008",
"0.8896",
"0.214",
"0.5034",
"0.214"
],
[
"0.0809",
"0.2166",
"0.4673",
"0.2166",
"0.4673",
"0.2299",
"0.0809",
"0.2299"
],
[
"0.5063",
"0.2172",
"0.8896",
"0.2172",
"0.8896",
"0.2279",
"0.5063",
"0.2279"
],
[
"0.0801",
"0.2317",
"0.2279",
"0.2317",
"0.2279",
"0.2456",
"0.0801",
"0.2456"
],
[
"0.505",
"0.2311",
"0.8906",
"0.2311",
"0.8906",
"0.2443",
"0.505",
"0.2443"
],
[
"0.5063",
"0.2474",
"0.8896",
"0.2474",
"0.8896",
"0.2583",
"0.5063",
"0.2583"
],
[
"0.0801",
"0.2556",
"0.33",
"0.2556",
"0.33",
"0.2695",
"0.0801",
"0.2695"
],
[
"0.5034",
"0.2615",
"0.8906",
"0.2615",
"0.8906",
"0.2747",
"0.5034",
"0.2747"
],
[
"0.1013",
"0.2798",
"0.468",
"0.2798",
"0.468",
"0.2935",
"0.1013",
"0.2935"
],
[
"0.5034",
"0.2766",
"0.8906",
"0.2766",
"0.8906",
"0.2903",
"0.5034",
"0.2903"
],
[
"0.0809",
"0.2942",
"0.468",
"0.2942",
"0.468",
"0.308",
"0.0809",
"0.308"
],
[
"0.505",
"0.2935",
"0.8896",
"0.2935",
"0.8896",
"0.3037",
"0.505",
"0.3037"
],
[
"0.5024",
"0.305",
"0.8896",
"0.3062",
"0.8896",
"0.3208",
"0.5024",
"0.3193"
],
[
"0.0825",
"0.3113",
"0.4673",
"0.3113",
"0.4673",
"0.3213",
"0.0825",
"0.3213"
],
[
"0.5034",
"0.3208",
"0.8906",
"0.3213",
"0.8906",
"0.3352",
"0.5034",
"0.334"
],
[
"0.0825",
"0.327",
"0.4673",
"0.327",
"0.4673",
"0.3372",
"0.0825",
"0.3372"
],
[
"0.0825",
"0.3416",
"0.4656",
"0.3416",
"0.4656",
"0.3516",
"0.0825",
"0.3516"
],
[
"0.5034",
"0.336",
"0.888",
"0.336",
"0.888",
"0.3499",
"0.5034",
"0.3499"
],
[
"0.0825",
"0.3567",
"0.4673",
"0.3567",
"0.4673",
"0.3674",
"0.0825",
"0.3674"
],
[
"0.5034",
"0.3516",
"0.888",
"0.3516",
"0.888",
"0.3655",
"0.5034",
"0.3655"
],
[
"0.0825",
"0.3718",
"0.4673",
"0.3718",
"0.4673",
"0.3818",
"0.0825",
"0.3818"
],
[
"0.5034",
"0.3662",
"0.8896",
"0.3662",
"0.8896",
"0.3801",
"0.5034",
"0.3801"
],
[
"0.0825",
"0.387",
"0.4673",
"0.387",
"0.4673",
"0.3977",
"0.0825",
"0.3977"
],
[
"0.505",
"0.3818",
"0.6045",
"0.3818",
"0.6045",
"0.3933",
"0.505",
"0.3933"
],
[
"0.0809",
"0.401",
"0.2279",
"0.401",
"0.2279",
"0.414",
"0.0809",
"0.414"
],
[
"0.505",
"0.3984",
"0.8906",
"0.3984",
"0.8906",
"0.4124",
"0.505",
"0.4124"
],
[
"0.505",
"0.414",
"0.8906",
"0.414",
"0.8906",
"0.428",
"0.505",
"0.428"
],
[
"0.0784",
"0.4236",
"0.468",
"0.4255",
"0.468",
"0.44",
"0.0784",
"0.4382"
],
[
"0.5034",
"0.4287",
"0.8906",
"0.4287",
"0.8906",
"0.4426",
"0.5034",
"0.4426"
],
[
"0.10297",
"0.4507",
"0.4656",
"0.4507",
"0.4656",
"0.461",
"0.10297",
"0.461"
],
[
"0.505",
"0.4458",
"0.5415",
"0.4458",
"0.5415",
"0.457",
"0.505",
"0.457"
],
[
"0.0825",
"0.464",
"0.468",
"0.464",
"0.468",
"0.4778",
"0.0825",
"0.4778"
],
[
"0.5186",
"0.473",
"0.888",
"0.473",
"0.888",
"0.483",
"0.5186",
"0.483"
],
[
"0.0825",
"0.4792",
"0.468",
"0.4792",
"0.468",
"0.4924",
"0.0825",
"0.4924"
],
[
"0.0825",
"0.4956",
"0.4673",
"0.4956",
"0.4673",
"0.506",
"0.0825",
"0.506"
],
[
"0.5034",
"0.4968",
"0.8906",
"0.4968",
"0.8906",
"0.5103",
"0.5034",
"0.5103"
],
[
"0.0825",
"0.511",
"0.4673",
"0.511",
"0.4673",
"0.5215",
"0.0825",
"0.5215"
],
[
"0.5034",
"0.512",
"0.864",
"0.512",
"0.864",
"0.526",
"0.5034",
"0.526"
],
[
"0.0809",
"0.5244",
"0.468",
"0.5244",
"0.468",
"0.5386",
"0.0809",
"0.5386"
],
[
"0.0825",
"0.5415",
"0.4673",
"0.5415",
"0.4673",
"0.552",
"0.0825",
"0.552"
],
[
"0.5024",
"0.536",
"0.83",
"0.536",
"0.83",
"0.55",
"0.5024",
"0.55"
],
[
"0.0809",
"0.5547",
"0.468",
"0.5547",
"0.468",
"0.5684",
"0.0809",
"0.5684"
],
[
"0.524",
"0.5596",
"0.892",
"0.5596",
"0.892",
"0.5728",
"0.524",
"0.5728"
],
[
"0.0809",
"0.5693",
"0.468",
"0.5693",
"0.468",
"0.5835",
"0.0809",
"0.5835"
],
[
"0.5034",
"0.5747",
"0.8896",
"0.5747",
"0.8896",
"0.5884",
"0.5034",
"0.5884"
],
[
"0.0825",
"0.5854",
"0.468",
"0.5854",
"0.468",
"0.5986",
"0.0825",
"0.5986"
],
[
"0.5024",
"0.5884",
"0.8906",
"0.589",
"0.8906",
"0.603",
"0.5024",
"0.6016"
],
[
"0.08417",
"0.6016",
"0.4673",
"0.6016",
"0.4673",
"0.6123",
"0.08417",
"0.6123"
],
[
"0.505",
"0.606",
"0.8906",
"0.606",
"0.8906",
"0.616",
"0.505",
"0.616"
],
[
"0.0825",
"0.616",
"0.4673",
"0.616",
"0.4673",
"0.627",
"0.0825",
"0.627"
],
[
"0.5034",
"0.6187",
"0.888",
"0.619",
"0.888",
"0.6333",
"0.5034",
"0.632"
],
[
"0.0809",
"0.631",
"0.2917",
"0.631",
"0.2917",
"0.6445",
"0.0809",
"0.6445"
],
[
"0.5034",
"0.634",
"0.888",
"0.634",
"0.888",
"0.648",
"0.5034",
"0.648"
],
[
"0.0809",
"0.655",
"0.3228",
"0.655",
"0.3228",
"0.6685",
"0.0809",
"0.6685"
],
[
"0.505",
"0.6494",
"0.8906",
"0.6494",
"0.8906",
"0.6636",
"0.505",
"0.6636"
],
[
"0.505",
"0.6665",
"0.5864",
"0.6665",
"0.5864",
"0.677",
"0.505",
"0.677"
],
[
"0.0809",
"0.6797",
"0.468",
"0.6797",
"0.468",
"0.6934",
"0.0809",
"0.6934"
],
[
"0.5034",
"0.6797",
"0.8896",
"0.681",
"0.8896",
"0.696",
"0.5034",
"0.6943"
],
[
"0.0825",
"0.696",
"0.468",
"0.696",
"0.468",
"0.709",
"0.0825",
"0.709"
],
[
"0.505",
"0.6963",
"0.8896",
"0.6963",
"0.8896",
"0.7104",
"0.505",
"0.7104"
],
[
"0.0801",
"0.7104",
"0.468",
"0.709",
"0.468",
"0.7236",
"0.0801",
"0.7246"
],
[
"0.505",
"0.7134",
"0.8896",
"0.7134",
"0.8896",
"0.7236",
"0.505",
"0.7236"
],
[
"0.0809",
"0.726",
"0.468",
"0.726",
"0.468",
"0.7393",
"0.0809",
"0.7393"
],
[
"0.5024",
"0.726",
"0.8774",
"0.7266",
"0.8774",
"0.741",
"0.5024",
"0.7407"
],
[
"0.8716",
"0.73",
"0.888",
"0.73",
"0.888",
"0.7373",
"0.8716",
"0.7373"
],
[
"0.08417",
"0.742",
"0.4673",
"0.742",
"0.4673",
"0.7524",
"0.08417",
"0.7524"
],
[
"0.5034",
"0.742",
"0.8906",
"0.742",
"0.8906",
"0.757",
"0.5034",
"0.757"
],
[
"0.0825",
"0.7583",
"0.4673",
"0.7583",
"0.4673",
"0.768",
"0.0825",
"0.768"
],
[
"0.505",
"0.759",
"0.585",
"0.759",
"0.585",
"0.7695",
"0.505",
"0.7695"
],
[
"0.0825",
"0.7715",
"0.468",
"0.7715",
"0.468",
"0.785",
"0.0825",
"0.785"
],
[
"0.523",
"0.773",
"0.8906",
"0.773",
"0.8906",
"0.786",
"0.523",
"0.786"
],
[
"0.0809",
"0.785",
"0.259",
"0.787",
"0.259",
"0.802",
"0.0809",
"0.8"
],
[
"0.505",
"0.7886",
"0.726",
"0.7886",
"0.726",
"0.802",
"0.505",
"0.802"
],
[
"0.4453",
"0.8145",
"0.468",
"0.8145",
"0.468",
"0.829",
"0.4453",
"0.829"
],
[
"0.5557",
"0.8145",
"0.8906",
"0.8145",
"0.8906",
"0.829",
"0.5557",
"0.829"
],
[
"0.5034",
"0.8403",
"0.7114",
"0.8403",
"0.7114",
"0.854",
"0.5034",
"0.854"
],
[
"0.1969",
"0.815",
"0.3506",
"0.813",
"0.3506",
"0.827",
"0.1969",
"0.829"
],
[
"0.08496",
"0.8433",
"0.4673",
"0.8433",
"0.4673",
"0.854",
"0.08496",
"0.854"
],
[
"0.0809",
"0.857",
"0.4673",
"0.857",
"0.4673",
"0.8706",
"0.0809",
"0.8706"
],
[
"0.5034",
"0.857",
"0.8906",
"0.857",
"0.8906",
"0.8706",
"0.5034",
"0.8706"
],
[
"0.0809",
"0.8726",
"0.468",
"0.8726",
"0.468",
"0.886",
"0.0809",
"0.886"
],
[
"0.5034",
"0.8726",
"0.8896",
"0.8726",
"0.8896",
"0.886",
"0.5034",
"0.886"
],
[
"0.0809",
"0.888",
"0.4722",
"0.888",
"0.4722",
"0.9014",
"0.0809",
"0.9014"
],
[
"0.5034",
"0.888",
"0.8906",
"0.888",
"0.8906",
"0.9014",
"0.5034",
"0.9014"
],
[
"0.4795",
"0.9253",
"0.4927",
"0.9253",
"0.4927",
"0.9375",
"0.4795",
"0.9375"
]
] | [
"它实现了更好的结果,特别是对于大的重定向角度",
"<NEXMATHWELIN5。与直接合成相比,该策略将输",
"入的像素投影到输出,这保证了输人和输出将共享相",
"3. Gaze Adaptation approach",
"似的颜色和照明分布",
"我们用于用户特定注视自适应的总体方法如图。1。",
"对于训练,我们使用L1损耗来测量重定向输出I△g",
"它包括使用标记的训练样本微调通用神经网络。然而,",
"和地面实况GI之间的差异。因此,以间接监督的方式",
"我们建议使用视线重定向模型生成额外的样本,而不",
"学习生成重定向所需的逆翘曲场",
"是只使用很少(少于10)的参考样本。由于此重定向模",
"Semanticconsistency.到目前为止,可以通过测量预测",
"型是我们方法的主要组成部分,因此我们在F3.1到F",
"的注视重定向的眼睛图像I与相应的地面实况G1之",
"3.4部分中对其进行了更详细的描述。然后在3.5节中",
"间的重建损失来评估网络。如果预测的反向翘曲场是",
"描述注视自适应部分",
"准确的,那么眼睛的不同语义部分(瞳孔,巩膜和背",
"景)也应该很好地重定向。因此,我们建议在语义层面",
"3.1. Gaze Redirection Overview",
"强制执行扭曲一致性。为此,对于每个合成图像I,我",
"我们的凝视重定向框架如图所示。2。它由重定向",
"们提取语义图如下:我们首先将凸形状拟合到眼脸标",
"网络本身和域自适应模块组成。图的左侧部分。2说",
"志和虹膜标志(由UnityEyes提供):以获取虹膜+瞳",
"孔区域,巩膜区域和背景区域。然后,我们将这三个图",
"明了将眼睛图像、用户定义的重定向角度和头部姿势",
"合并成一个分割图S1,如图。4a。重要的是要注意",
"作为输入的重定向网络。它被设计为编码器-解码器方",
"式,其中解码器的输出是反向扭曲场。然后,通过使用",
"此步骤是确定性的,不是网络的一部分。然后,任何分",
"预测的反向扭曲场(通过可微分采样器)扭曲输入的眼",
"割图S1都可以用反向扭曲场Re(I,△g,h)(从原始图",
"晴图像来生成视线重定向样本。。图的右侧部分。2是",
"像I预测)重定向,并与目标重定向眼睛GI的分割图",
"通过循环一致性损失和注视重定向损失以自监督方式",
"SGL进行比较",
"进行的域自适应模块",
"Overallloss.根据前面的段落,我们的总体重定向损失",
"LR(对于合成数据)可以定义为重建损失和语义损失",
"3.2. Synthetic Data for Gaze Redirection Learning",
"的总和,在每种情况下都使用L1规范。因此,它被定",
"原则上,视线重定向网络的训练需要良好对齐的图",
"义为:",
"像对,其中两个图像(输人图像和用于监督的重定向基",
"LR=IoRe(I,Ag.h)-Grlli+l/SroRe(I,Ag,h)-SG,lli(2",
"础)共享相同的总体照明条件,相同的人特定属性(皮",
"肤颜色,眼晴形状,虹膜颜色,瞳孔颜色和相同的头",
"请注意,分割图不是由网络处理的(参见图。4b),并",
"部姿势。唯一的区别应该是与注视相关的特征,例如眼",
"且在用户注视自适应时间内不需要生成重定向样本",
"球方向和眼脸状态。这种严格的要求使得收集真实数",
"据变得困难。在本文中,我们建议使用合成样本来代",
"3.4. Gaze Redirection Domain Adaptation",
"替。具体来说,我们使用UnityEyesEngine[38】生成",
"由于合成数据和真实数据之间的域差异,仅从合成",
"3K个眼睛图像组,每个包含10个图像,这些图像是",
"数据学习的网络Re的性能在应用于真实数据时会下",
"用相同的照明、相同的人特定参数、相同的头部姿势但",
"降。解决此问题的一个简单解决方案是使用真实图像",
"不同的注视参数生成的,如图。3。因此,可以从每",
"对微调Re。然而:如上所述,为视线重定向收集真实",
"组中绘制10*9个图像对的总数。在我们的工作中,我",
"图像对是困难的。在本节中,我们介绍一种依赖于两个",
"们使用10K图像对进行训练。",
"原理的自监督域自适应方法。第一个是视线重定向周",
"3.3. Gaze Redirection Network",
"期一致性,第二个是基于从视线重定向图像估计的视",
"线的一致性",
"Architecture.如图所示。2。网络将三个变量作为输",
"Cycleconsistencyloss.它已用于域自适应E[46]和身",
"入,眼睛图像I,头部姿势h和用户定义的重定向角",
"份保留E[25]等应用。主要思想是,当将样本转移到新",
"度△g。其中,I由图像分支处理并编码为语义特征,",
"域,然后转换回原始域时,循环输出应与输人相同。同",
"而h和△g由另外两个分支处理并编码为将引导与注",
"样,在我们的例子中,如果视线重定向样本Ig进",
"",
"视相关的视觉变化的特征。请注意,头部姿势输入是必",
"步重定向为反向重定向角度-△g,则循环输出应接近",
"须的,因为它是确定眼晴图像外观的元素之一。然后将",
"原始图像I",
"三个输出特征堆叠在瓶颈层中,并进一步解码为两个",
"在本文中,我们将这种循环一致性方案应用于真实",
"反向扭曲图ma和my:",
"图像集,并将循环损失定义为:",
"(1)",
"Lcycle =lI△g oRe(I△g,-△g,h)-Ili(3)",
"其中 Ig =I oRe(I,△g,h)",
"ma,y = Re(I,Ag, h)",
"其中R是重定向网络,θ是网络参数。与E12类",
"似,我们然后使用可微分网格采样器sE[11]来扭曲",
"Gazeredirectionloss.作为一个弱点,单独的周期损耗",
"输入图像并生成凝视重定向的图像IAg,其凝视地",
"可能会推动重定向网络崩溃为标识映射(重定向网络",
"面真值为g+△g(g是原始图像I的凝视),其中:",
"的输出始终等于输入)。为了防止这种崩溃,我们建议",
"3"
] | {
"arxiv_id": "1904.10638",
"language": "zh",
"page_idx": 2
} |
||
1904.10638-zh-4 | 1904.10638-zh-4.jpg | 说足够真实。请注意,在本文中,我们只针对单眼图像凝视状态(以及重定向和自适应),而将全脸情况作为未来的工作
# 4.1. Experimental Setting
Datasets. 我们使用 ColumbiaGaze 数据集$\overline{\mathbb{E}}[28]$ 和MPIIGaze 数据集$\mathbb{E}[43]$ 进行实验。前者包含 56 人的注视样本,而后者包含 15 人的眼睛图像
Generic gaze estimator.作为我们的注视估计器,我们使用 GazeNet$\mathbb{E}[45]$ 。它基于 vgg16 架构。为了训练它,我们遵循 ColumbiaGaze 和 MPIIGaze 数据集的协议(i。e。至于交叉实验),分别使用 5 倍和 15 倍的训练方案。我们的通用注视估计器在 ColumbiaGaze 上的误差为$3. 54^\circ$ $( \mathbb{E} [ 23]$中的$3.9^\circ)$,而在 MPIIGaze 上的误差为 5.35° ($\mathbb{E}[45]$中的 5.5°),显示出比最新结果更好的性能。请注意,通用注视估计器$^{1}$也被用作$E_\phi$来定义注视重定向损失,如第 3.4 节中所定义Evaluated models. 从通用的注视估计器开始,我们开发了一系列自适应方法,以与我们的方法形成对比。前两种方法是线性 (LinAdap ,[16])和 SVR (SVRAdap , 使用最后第二层$\mathbb{E}[14,16]$ 的特征)注视自适应方法, 它们从注视估计器输出(LinAdap)或特征(SVRAdap ),因此不会更改(或适应)通用注视估计器。相反,第三种和第四种方法仅使用参考样本 (用于微调的 FTAdap , FT ) 或注视重定向样本 (用于重定向的 RedFTAdap , Red )直接微调通用估计器。
此外,我们还实现了差分注视估计器 DiffNet $\mathsf{E}[16]$ 进行比较。DiffNet 经过训练可预测注视差异,并利用参考样本来预测新眼睛图像的注视。为了进行公平的比较,我们将$\mathbb{E}[16]$ 中用作特征提取器的三个卷积层替换为 vgg16 特征提取器。请注意,DiffNet 方法可以被视为特定于人的网络,因为需要特定于人的样本(至少一个) 来估计新眼睛图像的注视
Gaze redirection parameters. 对于每个人,我们随机抽取$n$ $( n$ $t\cdot n$ 、5 或 9) 人特定的样本,并生成$t\cdot n$ 凝视重定向的样本,其中$t$的默认值为 10。对于注视地面实况连续的 MPIIGaze 数据集,重定向角度$\Delta g$ 的偏航和俯仰分量$(\Delta\boldsymbol{g}_p,\Delta\boldsymbol{g}_y)$是随机选择的,范围为$[ - 10, 10] \times [ - 15, 15]$ ([-10,10]表示俯仰,[-15,15]表示偏航)。对于 ColumbiaGaze 数据集,其中注释的注视是离散的,从相同的范围中选择$\Delta g$ ,但具有离散值( $\pm 5^{\circ }, \pm 10^{\circ }, \pm 15^{\circ }$ )。在结果部分进一步研究了$t$ 和重定向范围的影响
Performance measurement.我们使用预测的注视向量和地面实况注视向量之间的角度(以度为单位)作为误差测量。请注意,注视向量是从俯仰角和偏航角构造的3D 单位向量。为了消除随机因素,我们进行了10 轮特定于人的样本选择、视线重定向和视线适应,并报告了平均估计误差
$^{1}$A generic estimator is trained for each fold. In none of the experiments, data from the test subject is used in either part of the training phase.
Table 1. ColumbiaGaze dataset: gaze adaptation perfor-
<table>
<tbody>
<tr>
<th rowspan="2">$\#$ sample $\overline{1}$</th>
<th rowspan="2">Cross Subject</th>
<th colspan="3">$\operatorname{LinAdapSVRAda\boldsymbol{F}TAdap}$</th>
<th colspan="2">DiffNetRedFTAdap</th>
</tr>
<tr>
<th> </th>
<th> </th>
<th>5.53</th>
<th>4.64</th>
<th>3.92</th>
</tr>
<tr>
<td>5</td>
<td>3.54</td>
<td>4.65</td>
<td>7.67</td>
<td>3.11</td>
<td>3.63</td>
<td>2.88</td>
</tr>
<tr>
<td>9</td>
<td> </td>
<td>3.78</td>
<td>5.39</td>
<td>2.79</td>
<td>3.50</td>
<td>2.60</td>
</tr>
<tr>
<td>Table 2. $M$</td>
<td>PIIGaze dat</td>
<td>$aset:$</td>
<td>$ad\varepsilon$ $\operatorname{raze}$</td>
<td>$\operatorname{aptation}$ $P$</td>
<td>erforn ,</td>
<td>mance</td>
</tr>
<tr>
<td>apF error $\#$ sample</td>
<td>roadh Cross Subject</td>
<td>LinA</td>
<td>$\operatorname{dapSVR}$A</td>
<td>$\operatorname{da\boldsymbol{F}TAdap}$</td>
<td>DiffN</td>
<td>${\mathsf{VetRedFTAdap}}$</td>
</tr>
<tr>
<td>1</td>
<td> </td>
<td> </td>
<td> </td>
<td>5.28</td>
<td>$\overline{5.93}$</td>
<td>4.97</td>
</tr>
<tr>
<td>5</td>
<td>5.35</td>
<td>5.43</td>
<td>7.68</td>
<td>4.64</td>
<td>4.42</td>
<td>4.20</td>
</tr>
<tr>
<td>9</td>
<td> </td>
<td>4.61</td>
<td>5.79</td>
<td>4.31</td>
<td>4.20</td>
<td>4.01</td>
</tr>
</tbody>
</table>
# $4. 2. \textbf{ Results}$
Gaze redirection qualitative results.我们在图中显示了重定向网络的一些定性结果。5(a) 和(b)。可以看出,我们的重定向网络为具有不同皮肤或虹膜颜色的样本进行了逼真的合成。此外,我们还发现,重定向模型在处理嘈杂的眼睛图像时很健壮,如图中的几行所$\vec{\text{示 。}} 5$ (b)
Gaze adaptation performance. 它们在表中报告。1 (ColumbiaGaze 数据集)和表。2(MPIIGaze 数据集)。从表中,我们观察到所提出的方法 RedFTAdap 取得了最好的结果,而 LinAdap 和 SVRAdap 方法获得了最差的结果,有时甚至降低了通用的注视估计器。后一种模型 (LinAdap 和 SVRAdap ) 的性能不令人满意, 可能是由于线性和 SVR 回归器没有对通用注视估计器进行更改,因此注视自适应的能力受到限制。我们还发现 DiffNet 并不总是优于更简单的 FTAdap 方法。这是令人惊讶的,表明在少量数据(小于 10)的情况下直接进行网络微调的能力在文献中经常被忽视,甚至没有尝试过。据我们所知,我们是第一个报告这一结果的人,这可以激发对用户特定视线估计的新研究。
将 RedFTAdap 与 DiffNet 和 FTAdap 的最佳结果进行比较时,我们注意到我们的方法将性能领先于$0.2^{\circ}$左右。虽然这似乎是一个微不足道的改进,但对结果的更详细的分析表明,我们的方法改善了 84 的结果。2 来自 ColumbiaGaze 数据集的受试者的% 和来自MPIIGaze 数据集的受试者的 80%(与 both DiffNet 和 FTAdap 的最佳结果相比),这意味着 RedFTAdap 带来的改进是稳定且相当系统的
从两个表中,我们注意到所有方法的性能都随着参考样本数量的增加而提高。我们还可以注意到,当参考样本数量较少时,我们的方法似乎具有更大的优势,这表明当提供较少的特定于人的注视信息时,重定向样本引入的多样性更为重要
最后,虽然在一般的自适应方法中可以改善结果,但我们在 ColumbiaGaze 数据集上观察到,当仅使用一个参考样本时,它们的性能都比通用估计器(跨主题结果)差。这很可能是由于该数据集中头部姿势的方差很大,这使得仅从一个样本中学习(通过适应)特定于人的特征变得困难
5 | [
[
"0.0825",
"0.09216",
"0.468",
"0.09216",
"0.468",
"0.1061",
"0.0825",
"0.1061"
],
[
"0.5024",
"0.0871",
"0.886",
"0.0884",
"0.886",
"0.1016",
"0.5024",
"0.101"
],
[
"0.0825",
"0.108",
"0.4673",
"0.108",
"0.4673",
"0.1218",
"0.0825",
"0.1218"
],
[
"0.5034",
"0.1048",
"0.5376",
"0.1067",
"0.5376",
"0.11426",
"0.5034",
"0.11237"
],
[
"0.501",
"0.11615",
"0.535",
"0.11615",
"0.535",
"0.1256",
"0.501",
"0.1256"
],
[
"0.5483",
"0.11426",
"0.6094",
"0.113",
"0.6094",
"0.1237",
"0.5483",
"0.125"
],
[
"0.0825",
"0.1237",
"0.1642",
"0.1237",
"0.1642",
"0.1351",
"0.0825",
"0.1351"
],
[
"0.614",
"0.1218",
"0.649",
"0.1237",
"0.648",
"0.1351",
"0.613",
"0.1332"
],
[
"0.669",
"0.1256",
"0.9346",
"0.1276",
"0.9346",
"0.1414",
"0.669",
"0.1395"
],
[
"0.5024",
"0.1332",
"0.558",
"0.1307",
"0.558",
"0.1427",
"0.5024",
"0.1445"
],
[
"0.615",
"0.1332",
"0.6562",
"0.1332",
"0.6562",
"0.1445",
"0.615",
"0.1445"
],
[
"0.767",
"0.1445",
"0.7935",
"0.1445",
"0.7935",
"0.1528",
"0.767",
"0.1528"
],
[
"0.8203",
"0.1445",
"0.847",
"0.1445",
"0.847",
"0.1528",
"0.8203",
"0.1528"
],
[
"0.847",
"0.1433",
"0.8857",
"0.1433",
"0.8857",
"0.154",
"0.847",
"0.154"
],
[
"0.55",
"0.1459",
"0.556",
"0.1459",
"0.556",
"0.1528",
"0.55",
"0.1528"
],
[
"0.0801",
"0.1483",
"0.2834",
"0.1509",
"0.2834",
"0.1642",
"0.0801",
"0.1622"
],
[
"0.544",
"0.1528",
"0.5605",
"0.1528",
"0.5605",
"0.1749",
"0.544",
"0.1749"
],
[
"0.614",
"0.1528",
"0.642",
"0.1528",
"0.642",
"0.1642",
"0.614",
"0.1642"
],
[
"0.6685",
"0.1528",
"0.6953",
"0.1528",
"0.6953",
"0.1642",
"0.6685",
"0.1642"
],
[
"0.7134",
"0.1528",
"0.7427",
"0.1528",
"0.7427",
"0.1642",
"0.7134",
"0.1642"
],
[
"0.7656",
"0.1528",
"0.794",
"0.1528",
"0.794",
"0.1642",
"0.7656",
"0.1642"
],
[
"0.819",
"0.1547",
"0.846",
"0.1547",
"0.846",
"0.1635",
"0.819",
"0.1635"
],
[
"0.859",
"0.1547",
"0.884",
"0.1547",
"0.884",
"0.1635",
"0.859",
"0.1635"
],
[
"0.6665",
"0.1635",
"0.6953",
"0.1635",
"0.6953",
"0.1749",
"0.6665",
"0.1749"
],
[
"0.7134",
"0.1635",
"0.7417",
"0.1635",
"0.7417",
"0.1749",
"0.7134",
"0.1749"
],
[
"0.7646",
"0.1635",
"0.796",
"0.1635",
"0.796",
"0.1749",
"0.7646",
"0.1749"
],
[
"0.818",
"0.1635",
"0.851",
"0.1635",
"0.851",
"0.1749",
"0.818",
"0.1749"
],
[
"0.857",
"0.1635",
"0.8857",
"0.1635",
"0.8857",
"0.1749",
"0.857",
"0.1749"
],
[
"0.0809",
"0.1755",
"0.468",
"0.1755",
"0.468",
"0.1895",
"0.0809",
"0.1895"
],
[
"0.0809",
"0.1913",
"0.468",
"0.1913",
"0.468",
"0.2052",
"0.0809",
"0.2052"
],
[
"0.5034",
"0.1901",
"0.8906",
"0.1913",
"0.8906",
"0.2052",
"0.5034",
"0.2039"
],
[
"0.0809",
"0.2058",
"0.3694",
"0.2058",
"0.3694",
"0.2197",
"0.0809",
"0.2197"
],
[
"0.5024",
"0.2039",
"0.615",
"0.2039",
"0.615",
"0.2172",
"0.5024",
"0.2172"
],
[
"0.615",
"0.2153",
"0.649",
"0.2153",
"0.649",
"0.2247",
"0.615",
"0.2247"
],
[
"0.0801",
"0.2229",
"0.468",
"0.2235",
"0.468",
"0.2374",
"0.0801",
"0.2361"
],
[
"0.5024",
"0.2229",
"0.558",
"0.2203",
"0.5596",
"0.2349",
"0.5034",
"0.2374"
],
[
"0.671",
"0.2184",
"0.9346",
"0.2184",
"0.9346",
"0.2317",
"0.671",
"0.2317"
],
[
"0.613",
"0.2247",
"0.66",
"0.2247",
"0.66",
"0.2361",
"0.613",
"0.2361"
],
[
"0.5474",
"0.2374",
"0.558",
"0.2374",
"0.558",
"0.2468",
"0.5474",
"0.2468"
],
[
"0.7656",
"0.2329",
"0.794",
"0.2349",
"0.7935",
"0.2474",
"0.7646",
"0.2456"
],
[
"0.819",
"0.2374",
"0.846",
"0.2374",
"0.846",
"0.2456",
"0.819",
"0.2456"
],
[
"0.8594",
"0.2374",
"0.884",
"0.2374",
"0.884",
"0.2456",
"0.8594",
"0.2456"
],
[
"0.544",
"0.2437",
"0.5605",
"0.2437",
"0.5605",
"0.2664",
"0.544",
"0.2664"
],
[
"0.613",
"0.2443",
"0.642",
"0.2443",
"0.642",
"0.2556",
"0.613",
"0.2556"
],
[
"0.0809",
"0.238",
"0.468",
"0.238",
"0.468",
"0.2524",
"0.0809",
"0.2524"
],
[
"0.6665",
"0.2443",
"0.6953",
"0.2443",
"0.6953",
"0.2556",
"0.6665",
"0.2556"
],
[
"0.7134",
"0.2443",
"0.7427",
"0.2443",
"0.7427",
"0.2556",
"0.7134",
"0.2556"
],
[
"0.7656",
"0.2443",
"0.794",
"0.2443",
"0.794",
"0.2556",
"0.7656",
"0.2556"
],
[
"0.819",
"0.2468",
"0.846",
"0.2468",
"0.846",
"0.2551",
"0.819",
"0.2551"
],
[
"0.859",
"0.2468",
"0.884",
"0.2468",
"0.884",
"0.2551",
"0.859",
"0.2551"
],
[
"0.0825",
"0.254",
"0.468",
"0.254",
"0.468",
"0.2676",
"0.0825",
"0.2676"
],
[
"0.6685",
"0.2551",
"0.6953",
"0.2551",
"0.6953",
"0.2664",
"0.6685",
"0.2664"
],
[
"0.7114",
"0.2551",
"0.7417",
"0.2551",
"0.7417",
"0.2664",
"0.7114",
"0.2664"
],
[
"0.767",
"0.2551",
"0.7935",
"0.2551",
"0.7935",
"0.2664",
"0.767",
"0.2664"
],
[
"0.818",
"0.2551",
"0.847",
"0.2551",
"0.847",
"0.2664",
"0.818",
"0.2664"
],
[
"0.859",
"0.2551",
"0.8857",
"0.2551",
"0.8857",
"0.2664",
"0.859",
"0.2664"
],
[
"0.0825",
"0.2695",
"0.4673",
"0.2695",
"0.4673",
"0.2827",
"0.0825",
"0.2827"
],
[
"0.0825",
"0.2842",
"0.4673",
"0.2842",
"0.4673",
"0.2974",
"0.0825",
"0.2974"
],
[
"0.0809",
"0.2998",
"0.468",
"0.2998",
"0.468",
"0.3132",
"0.0809",
"0.3132"
],
[
"0.5034",
"0.2966",
"0.5986",
"0.2966",
"0.5986",
"0.3113",
"0.5034",
"0.3113"
],
[
"0.08417",
"0.3132",
"0.4673",
"0.3145",
"0.4673",
"0.3289",
"0.08417",
"0.3276"
],
[
"0.5024",
"0.3225",
"0.8906",
"0.324",
"0.8906",
"0.3372",
"0.5024",
"0.336"
],
[
"0.0809",
"0.33",
"0.468",
"0.33",
"0.468",
"0.3435",
"0.0809",
"0.3435"
],
[
"0.5073",
"0.3384",
"0.8906",
"0.3384",
"0.8906",
"0.3516",
"0.5073",
"0.3516"
],
[
"0.0809",
"0.3452",
"0.4631",
"0.3452",
"0.4631",
"0.3591",
"0.0809",
"0.3591"
],
[
"0.505",
"0.3547",
"0.8896",
"0.3547",
"0.8896",
"0.3655",
"0.505",
"0.3655"
],
[
"0.0784",
"0.361",
"0.468",
"0.3623",
"0.468",
"0.377",
"0.0784",
"0.3757"
],
[
"0.5034",
"0.3662",
"0.8906",
"0.3674",
"0.8906",
"0.3818",
"0.5034",
"0.3806"
],
[
"0.0825",
"0.3774",
"0.468",
"0.3774",
"0.468",
"0.3914",
"0.0825",
"0.3914"
],
[
"0.505",
"0.3833",
"0.8906",
"0.3833",
"0.8906",
"0.3965",
"0.505",
"0.3965"
],
[
"0.0809",
"0.3933",
"0.468",
"0.3933",
"0.468",
"0.4072",
"0.0809",
"0.4072"
],
[
"0.505",
"0.3997",
"0.581",
"0.3997",
"0.581",
"0.411",
"0.505",
"0.411"
],
[
"0.0948",
"0.4072",
"0.468",
"0.4077",
"0.468",
"0.4224",
"0.0948",
"0.4216"
],
[
"0.5024",
"0.414",
"0.892",
"0.4153",
"0.892",
"0.43",
"0.5024",
"0.4287"
],
[
"0.0809",
"0.4216",
"0.4673",
"0.4224",
"0.4673",
"0.4375",
"0.0809",
"0.4363"
],
[
"0.5034",
"0.4287",
"0.892",
"0.4312",
"0.892",
"0.4458",
"0.5034",
"0.443"
],
[
"0.0825",
"0.4382",
"0.468",
"0.4382",
"0.468",
"0.452",
"0.0825",
"0.452"
],
[
"0.505",
"0.4458",
"0.8906",
"0.4458",
"0.8906",
"0.4602",
"0.505",
"0.4602"
],
[
"0.0801",
"0.452",
"0.468",
"0.4526",
"0.468",
"0.4673",
"0.0801",
"0.4666"
],
[
"0.5063",
"0.461",
"0.888",
"0.461",
"0.888",
"0.4749",
"0.5063",
"0.4749"
],
[
"0.0809",
"0.4685",
"0.468",
"0.4685",
"0.468",
"0.4817",
"0.0809",
"0.4817"
],
[
"0.505",
"0.4766",
"0.8774",
"0.4766",
"0.8774",
"0.4905",
"0.505",
"0.4905"
],
[
"0.0809",
"0.4841",
"0.298",
"0.4841",
"0.298",
"0.4976",
"0.0809",
"0.4976"
],
[
"0.5063",
"0.4937",
"0.8896",
"0.4937",
"0.8896",
"0.504",
"0.5063",
"0.504"
],
[
"0.10046",
"0.5",
"0.4673",
"0.5",
"0.4673",
"0.513",
"0.10046",
"0.513"
],
[
"0.505",
"0.507",
"0.8906",
"0.507",
"0.8906",
"0.521",
"0.505",
"0.521"
],
[
"0.0809",
"0.5146",
"0.4673",
"0.5146",
"0.4673",
"0.528",
"0.0809",
"0.528"
],
[
"0.5034",
"0.523",
"0.892",
"0.523",
"0.892",
"0.536",
"0.5034",
"0.536"
],
[
"0.0825",
"0.53",
"0.468",
"0.53",
"0.468",
"0.5435",
"0.0825",
"0.5435"
],
[
"0.5024",
"0.535",
"0.8906",
"0.537",
"0.8906",
"0.552",
"0.5024",
"0.55"
],
[
"0.0825",
"0.5444",
"0.4673",
"0.5444",
"0.4673",
"0.558",
"0.0825",
"0.558"
],
[
"0.505",
"0.552",
"0.8896",
"0.552",
"0.8896",
"0.565",
"0.505",
"0.565"
],
[
"0.0809",
"0.56",
"0.468",
"0.56",
"0.468",
"0.5737",
"0.0809",
"0.5737"
],
[
"0.505",
"0.5674",
"0.8906",
"0.5674",
"0.8906",
"0.5806",
"0.505",
"0.5806"
],
[
"0.0809",
"0.5747",
"0.4673",
"0.5747",
"0.4673",
"0.5884",
"0.0809",
"0.5884"
],
[
"0.5024",
"0.5806",
"0.8896",
"0.582",
"0.8896",
"0.5967",
"0.5024",
"0.595"
],
[
"0.0907",
"0.5903",
"0.3096",
"0.5903",
"0.3096",
"0.604",
"0.0907",
"0.604"
],
[
"0.5034",
"0.5977",
"0.851",
"0.5977",
"0.851",
"0.6113",
"0.5034",
"0.6113"
],
[
"0.0809",
"0.608",
"0.4673",
"0.608",
"0.4673",
"0.622",
"0.0809",
"0.622"
],
[
"0.523",
"0.613",
"0.8896",
"0.613",
"0.8896",
"0.627",
"0.523",
"0.627"
],
[
"0.0809",
"0.6226",
"0.468",
"0.6226",
"0.468",
"0.636",
"0.0809",
"0.636"
],
[
"0.505",
"0.629",
"0.8906",
"0.629",
"0.8906",
"0.6426",
"0.505",
"0.6426"
],
[
"0.0809",
"0.638",
"0.468",
"0.638",
"0.468",
"0.6514",
"0.0809",
"0.6514"
],
[
"0.5034",
"0.643",
"0.8906",
"0.643",
"0.8906",
"0.657",
"0.5034",
"0.657"
],
[
"0.0801",
"0.6514",
"0.468",
"0.653",
"0.468",
"0.6675",
"0.0801",
"0.6665"
],
[
"0.5034",
"0.6577",
"0.8906",
"0.6577",
"0.8906",
"0.672",
"0.5034",
"0.672"
],
[
"0.0809",
"0.6685",
"0.468",
"0.6685",
"0.468",
"0.6816",
"0.0809",
"0.6816"
],
[
"0.5034",
"0.674",
"0.8896",
"0.674",
"0.8896",
"0.6875",
"0.5034",
"0.6875"
],
[
"0.0825",
"0.6846",
"0.468",
"0.6846",
"0.468",
"0.6978",
"0.0825",
"0.6978"
],
[
"0.5034",
"0.688",
"0.892",
"0.688",
"0.892",
"0.7026",
"0.5034",
"0.7026"
],
[
"0.0825",
"0.6987",
"0.4673",
"0.6987",
"0.4673",
"0.712",
"0.0825",
"0.712"
],
[
"0.505",
"0.704",
"0.892",
"0.704",
"0.892",
"0.7173",
"0.505",
"0.7173"
],
[
"0.0809",
"0.714",
"0.4673",
"0.714",
"0.4673",
"0.728",
"0.0809",
"0.728"
],
[
"0.5034",
"0.7183",
"0.734",
"0.7183",
"0.734",
"0.732",
"0.5034",
"0.732"
],
[
"0.0809",
"0.729",
"0.468",
"0.729",
"0.468",
"0.7437",
"0.0809",
"0.7437"
],
[
"0.523",
"0.735",
"0.892",
"0.735",
"0.892",
"0.7485",
"0.523",
"0.7485"
],
[
"0.0809",
"0.7437",
"0.1969",
"0.7437",
"0.1969",
"0.757",
"0.0809",
"0.757"
],
[
"0.505",
"0.75",
"0.8906",
"0.75",
"0.8906",
"0.763",
"0.505",
"0.763"
],
[
"0.0784",
"0.7603",
"0.468",
"0.761",
"0.468",
"0.776",
"0.0784",
"0.7744"
],
[
"0.5034",
"0.765",
"0.8906",
"0.765",
"0.8906",
"0.779",
"0.5034",
"0.779"
],
[
"0.0809",
"0.7764",
"0.468",
"0.7764",
"0.468",
"0.7905",
"0.0809",
"0.7905"
],
[
"0.5034",
"0.78",
"0.892",
"0.78",
"0.892",
"0.7935",
"0.5034",
"0.7935"
],
[
"0.0825",
"0.7935",
"0.4673",
"0.7935",
"0.4673",
"0.8037",
"0.0825",
"0.8037"
],
[
"0.5034",
"0.7954",
"0.6846",
"0.7954",
"0.6846",
"0.8096",
"0.5034",
"0.8096"
],
[
"0.0784",
"0.8047",
"0.468",
"0.806",
"0.468",
"0.821",
"0.0784",
"0.8193"
],
[
"0.523",
"0.811",
"0.892",
"0.811",
"0.892",
"0.8247",
"0.523",
"0.8247"
],
[
"0.0809",
"0.8228",
"0.468",
"0.8228",
"0.468",
"0.836",
"0.0809",
"0.836"
],
[
"0.5034",
"0.8247",
"0.876",
"0.827",
"0.876",
"0.8403",
"0.5034",
"0.8384"
],
[
"0.0825",
"0.837",
"0.1969",
"0.837",
"0.1969",
"0.851",
"0.0825",
"0.851"
],
[
"0.505",
"0.8413",
"0.8906",
"0.8413",
"0.8906",
"0.855",
"0.505",
"0.855"
],
[
"0.5034",
"0.857",
"0.8906",
"0.857",
"0.8906",
"0.8706",
"0.5034",
"0.8706"
],
[
"0.0948",
"0.863",
"0.4673",
"0.863",
"0.4673",
"0.877",
"0.0948",
"0.877"
],
[
"0.0809",
"0.8755",
"0.468",
"0.8755",
"0.468",
"0.8896",
"0.0809",
"0.8896"
],
[
"0.5034",
"0.872",
"0.8906",
"0.872",
"0.8906",
"0.8853",
"0.5034",
"0.8853"
],
[
"0.0801",
"0.886",
"0.1969",
"0.887",
"0.1969",
"0.9014",
"0.0801",
"0.901"
],
[
"0.5034",
"0.887",
"0.619",
"0.887",
"0.619",
"0.901",
"0.5034",
"0.901"
],
[
"0.478",
"0.924",
"0.4944",
"0.924",
"0.4944",
"0.938",
"0.478",
"0.938"
]
] | [
"说足够真实。请注意,在本文中,我们只针对单眼图像",
"Table 1.ColumbiaGaze dataset:gaze adaptation perfor",
"凝视状态(以及重定向和自适应),而将全脸情况作为",
"manc",
"error",
"approad",
"未来的工作",
"Cross",
"LinAdapSVRAdaFTAdap DiffNetRedFTAdap",
"#sample",
"Subjec",
"5.53",
"4.64",
"3.92",
"1",
"4.1.Experimental Setting",
"59",
"3.54",
"4.65",
"7.67",
"3.11",
"3.63",
"2.88",
"3.78",
"5.39",
"2.79",
"3.50",
"2.60",
"Datasets:我们使用ColumbiaGaze数据集E[28]和",
"MPIIGaze数据集E[43]进行实验。前者包含56人的",
"Table 2. MPIIGaze dataset: gaze adaptation performance",
"注视样本,而后者包含15人的眼睛图像",
"errorapproadh",
"Cross",
"Genericgazeestimator.作为我们的注视估计器,我们",
"# sample",
"LinAdapSVRAdaFTAdap DiffNetRedFTAdap",
"Subject",
"1",
"5.28",
"5.93",
"4.97",
"59",
"5.35",
"使用GazeNetE[45]。它基于vgg16架构。为了训练",
"5.43",
"7.68",
"4.64",
"4.42",
"4.20",
"它,我们遵循ColumbiaGaze和MPIIGaze数据集的",
"4.61",
"5.79",
"4.31",
"4.20",
"4.01",
"协议(i。e。至于交叉实验),分别使用5倍和15倍的",
"训练方案。我们的通用注视估计器在ColumbiaGaze上",
"的误差为3.54°(E23中的3.9°),而在MPIIGaze",
"4.2. Results",
"上的误差为5.35°451中的5.5°),显示出比最新",
"Gazeredirectionqualitativeresults.我们在图中显示",
"结果更好的性能。请注意,通用注视估计器1也被用",
"了重定向网络的一些定性结果。5(a)和(b)。可以看",
"作E。来定义注视重定向损失,如第3.4节中所定义",
"出,我们的重定向网络为具有不同皮肤或虹膜颜色的",
"Evaluatedmodels.从通用的注视估计器开始,我们开",
"样本进行了逼真的合成。此外,我们还发现,重定向模",
"发了一系列自适应方法,以与我们的方法形成对比。前",
"型在处理噜杂的眼睛图像时很健壮,如图中的儿行所",
"两种方法是线性(LinAdap,【16])和SVR(SVRAdap",
"示。5 (b)",
"使用最后第二层E[14,16]的特征)注视自适应方法,",
"Gazeadaptationperformance.它们在表中报告。1",
"它们从注视估计器输出(LinAdap)或特征(SVRAdap",
"(ColumbiaGaze数据集)和表。2(MPIIGaze数据集)。",
"),因此不会更改(或适应)通用注视估计器。相反,第三",
"从表中,我们观察到所提出的方法RedFTAdap取得",
"种和第四种方法仅使用参考样本(用于微调的FTAdap",
"了最好的结果,而LinAdap和SVRAdap方法获得了",
",FT)或注视重定向样本(用于重定向的RedFTAdap",
"最差的结果,有时甚至降低了通用的注视估计器。后",
",Red)直接微调通用估计器。",
"种模型(LinAdap和SVRAdap)的性能不今人满意",
"此外,我们还实现了差分注视估计器DiffNetE[16]",
"可能是由于线性和SVR回归器没有对通用注视估计器",
"进行比较。DiffNet经过训练可预测注视差异,并利用",
"进行更改,因此注视自适应的能力受到限制。我们还发",
"参考样本来预测新眼晴图像的注视。为了进行公平的",
"现DiffNet并不总是优于更简单的FTAdap方法。这",
"比较,我们将E[16]中用作特征提取器的三个卷积层替",
"是令人惊牙的,表明在少量数据(小于10)的情况下",
"换为vgg16特征提取器。请注意,DiffNet方法可以被",
"直接进行网络微调的能力在文献中经常被忽视,甚至",
"视为特定于人的网络,因为需要特定于人的样本(至少",
"没有尝试过。据我们所知,我们是第一个报告这一结果",
"一个)来估计新眼睛图像的注视",
"的人,这可以激发对用户特定视线估计的新研究。",
"Gazeredirectionparameters.对于每个人,我们随机",
"将RedFTAdap与DiffNet和FTAdap的最佳结果",
"抽取n(nt·n、5或9)人特定的样本,并生成t·n",
"进行比较时,我们注意到我们的方法将性能领先于",
"凝视重定向的样本,其中t的默认值为10。对于注视",
"0.2°左右。虽然这似乎是一个微不足道的改进,但对",
"地面实况连续的MPIIGaze数据集,重定向角度Ag",
"结果的更详细的分析表明,我们的方法改善了84的结",
"的偏航和俯仰分量(△gn,△gu)是随机选择的,范围为",
"果。2来自ColumbiaGaze数据集的受试者的%和来自",
"[-10,10]×[-15,15]([-10,10]表示俯仰,[-15,15]表",
"MPIGaze数据集的受试者的80%(与bothDiffNet",
"示偏航)。对于ColumbiaGaze数据集,其中注释的注",
"和FTAdap的最佳结果相比),这意味着RedFTAdap",
"视是离散的,从相同的范围中选择△g,但具有离散值",
"带来的改进是稳定且相当系统的",
"(±5,±10°,±15°)。在结果部分进一步研究了t和重",
"从两个表中,我们注意到所有方法的性能都随着参",
"定向范围的影响",
"考样本数量的增加而提高。我们还可以注意到,当参考",
"Performancemeasurement.我们使用预测的注视向量",
"样本数量较少时,我们的方法似乎具有更大的优势,这",
"和地面实况注视向量之间的角度(以度为单位)作为误",
"表明当提供较少的特定于人的注视信息时,重定向样",
"差测量。请注意,注视向量是从俯仰角和偏航角构造的",
"本引人的多样性更为重要",
"3D单位向量。为了消除随机因素,我们进行了10轮",
"最后,虽然在一般的自适应方法中可以改善结果,但",
"特定于人的样本选择、视线重定向和视线适应,并报告",
"我们在ColumbiaGaze数据集上观察到,当仅使用",
"了平均估计误差",
"个参考样本时,它们的性能都比通用估计器(跨主题结",
"果)差。这很可能是由于该数据集中头部姿势的方差很",
"1A generic estimator is trained for each fold. In none of the",
"experiments, data from the test subject is used in either part of",
"大,这使得仅从一个样本中学习(通过适应)特定于人",
"the training phase.",
"的特征变得困难",
"5"
] | {
"arxiv_id": "1904.10638",
"language": "zh",
"page_idx": 4
} |
||
2203.15793-zh-0 | 2203.15793-zh-0.jpg | Instance Relation Graph Guided
Source-Free Domain Adaptive Object Detection
Vibashan VS, Poojan Oza, and Vishal M. Patel Johns Hopkins University, Baltimore, MD, USA
$\{$ vvishnu2,poza2,vpatel$36\}$ @jhu.edu
Abstract
Unsupervised Domain Adaptation (UDA) is an effective approach to tackle the issue of domain shift. Specifically, UDA methods try to align the source and target representations to improve generalization on the ${\mathrm{target~domain.~Further,~UDA~methods~work~under~the}}$ assumption that the source data is accessible during the adaptation process. However, in real-world scenarios, the labelled source data is often restricted due to privacy regulations, data transmission constraints, or proprietary data concerns. The Source-Free Domain Adaptation (SFDA) setting aims to alleviate these concerns by adapting a source-trained model for the target domain without requiring access to the source data. In this paper, we explore the SFDA setting for the task of adaptive object detection. To this end, we propose a novel training strategy for adapting a sourcetrained object detector to the target domain without source data. More precisely, we design a novel contrastive loss to enhance the target representations by exploiting the objects relations for a given target domain input. These object instance relations are modelled using an Instance Relation Graph (IRG) network, which are then used to guide the contrastive representation learning. In addition, we utilize a studentteacher to effectively distill knowledge from sourcetrained model to target domain. Extensive experiments on multiple object detection benchmark datasets show that the proposed approach is able to efficiently adapt source-trained object detectors to the target domain, outperforming state- of- the- art domain adaptive detection methods. Code and models are provided in https://viudomain.github.io/irg-sfda-web/
# 1. $\underset {\mathrm{。0pt}}{\operatorname* { \operatorname* { Introduction} } }$
近年来,由于深度网络[13,43,45,46,55,81]的兴起对象检测取得了巨大的进步。这一成功的主要贡献者是大规模带注释的检测数据集[11,14,16,44,75]的可用性,因为它可以对深度对象检测器模型进行有监督的
<FigureHere>
Figure 1. Left: Supervised training of detection model on
the source domain. Right: Source-Free Domain Adaptation (SFDA) setup, i.e., the source-trained model is adapted to the target domain in the absence of source data with pseudo-label self-training and proposed Instance Relation Graph (IRG) network guided contrastive loss.
训练。但是,当部署在训练期间未遇到的可视域中时, 这些模型通常具有较差的泛化能力。在这种情况下,文献中的大多数作品都遵循无监督域自适应(UDA)设置来改进泛化[7,15,24,25,50,59,64] 。具体来说,UDA 方法旨在通过对齐源域和目标域[9,20,29,58,61]之间检测器模型的特征分布来最小化域差异。要执行特征对齐,UDA 方法需要同时访问标记的源数据和未标记的目标数据。然而,在实际情况下,由于与隐私/安全, 数据传输,数据专有等相关的问题,对源数据的访问通常受到限制。例如,考虑在大规模源数据上训练的检测模型,当部署在具有不同可视域的数据的新设备中时,该模型的性能很差。在这种情况下,传输源训练的检测器模型(???-1000MB)以进行自适应比将源数据(???-100GB) 传输到这些新设备[28,38]要有效得多。此外,仅传输源训练的模型减轻了许多隐私/安全,数据专有问题以及[42,48,72] 。因此,在实际部署检测模型的情况下,使源训练模型适应目标域而无需访问源数据至关重要。这促使我们研究用于适配对象检测器的无源域适配(SFDA)设置(如图。1)
SFDA 比 UDA 更具挑战性。具体来说,除了目标数据没有标签之外,源数据在自适应期间是不可访问的。因此,大多数 SFDA 检测方法都考虑使用源训练模型[28,41]生成的伪标签进行训练。但是,由于域移动,这些伪标签会产生噪声,并且对噪声伪标签的训练是次优解[12,47] 。为了避免这种情况,我们需要考虑SFDA 训练的两个挑战:1) 有效地将目标域信息提取到源训练模型中;2) 增强目标域特征表示
一个关键的挑战是改进目标域数据的功能。考虑无 | [
[
"0.3218",
"0.1332",
"0.649",
"0.1338",
"0.649",
"0.1483",
"0.3218",
"0.1477"
],
[
"0.2427",
"0.1547",
"0.726",
"0.1559",
"0.726",
"0.1736",
"0.2427",
"0.1724"
],
[
"0.2852",
"0.2039",
"0.6855",
"0.2052",
"0.6855",
"0.2197",
"0.2852",
"0.2184"
],
[
"0.2834",
"0.2235",
"0.687",
"0.2235",
"0.687",
"0.238",
"0.2834",
"0.238"
],
[
"0.357",
"0.2424",
"0.6094",
"0.2424",
"0.6094",
"0.2556",
"0.357",
"0.2556"
],
[
"0.2378",
"0.2922",
"0.3137",
"0.2922",
"0.3137",
"0.307",
"0.2378",
"0.307"
],
[
"0.10046",
"0.324",
"0.4673",
"0.324",
"0.4673",
"0.3372",
"0.10046",
"0.3372"
],
[
"0.0809",
"0.339",
"0.4673",
"0.339",
"0.4673",
"0.3542",
"0.0809",
"0.3542"
],
[
"0.0809",
"0.3547",
"0.4697",
"0.3547",
"0.4697",
"0.3687",
"0.0809",
"0.3687"
],
[
"0.524",
"0.3599",
"0.5557",
"0.3599",
"0.5557",
"0.3674",
"0.524",
"0.3674"
],
[
"0.7915",
"0.3547",
"0.818",
"0.361",
"0.8145",
"0.3694",
"0.789",
"0.363"
],
[
"0.0825",
"0.3718",
"0.468",
"0.3718",
"0.468",
"0.3818",
"0.0825",
"0.3818"
],
[
"0.544",
"0.375",
"0.621",
"0.375",
"0.621",
"0.385",
"0.544",
"0.385"
],
[
"0.709",
"0.3726",
"0.751",
"0.3726",
"0.751",
"0.3801",
"0.709",
"0.3801"
],
[
"0.7974",
"0.3774",
"0.8105",
"0.3774",
"0.8105",
"0.3806",
"0.7974",
"0.3806"
],
[
"0.0809",
"0.385",
"0.468",
"0.385",
"0.468",
"0.3984",
"0.0809",
"0.3984"
],
[
"0.5034",
"0.3882",
"0.892",
"0.3882",
"0.892",
"0.4028",
"0.5034",
"0.4028"
],
[
"0.0809",
"0.401",
"0.468",
"0.401",
"0.468",
"0.414",
"0.0809",
"0.414"
],
[
"0.505",
"0.404",
"0.8906",
"0.404",
"0.8906",
"0.414",
"0.505",
"0.414"
],
[
"0.0809",
"0.4153",
"0.4673",
"0.4153",
"0.4673",
"0.4287",
"0.0809",
"0.4287"
],
[
"0.5034",
"0.4172",
"0.8906",
"0.4172",
"0.8906",
"0.4312",
"0.5034",
"0.4312"
],
[
"0.0801",
"0.43",
"0.4697",
"0.43",
"0.4697",
"0.443",
"0.0801",
"0.443"
],
[
"0.5024",
"0.4312",
"0.892",
"0.4312",
"0.892",
"0.4443",
"0.5024",
"0.4443"
],
[
"0.0801",
"0.4458",
"0.4673",
"0.4443",
"0.4673",
"0.4583",
"0.0801",
"0.459"
],
[
"0.5034",
"0.4443",
"0.892",
"0.4443",
"0.892",
"0.4583",
"0.5034",
"0.4583"
],
[
"0.0801",
"0.4602",
"0.468",
"0.4602",
"0.468",
"0.4734",
"0.0801",
"0.4734"
],
[
"0.5034",
"0.459",
"0.806",
"0.459",
"0.806",
"0.473",
"0.5034",
"0.473"
],
[
"0.0809",
"0.4749",
"0.4673",
"0.4749",
"0.4673",
"0.488",
"0.0809",
"0.488"
],
[
"0.505",
"0.4766",
"0.8906",
"0.4766",
"0.8906",
"0.4905",
"0.505",
"0.4905"
],
[
"0.0809",
"0.4905",
"0.4673",
"0.4905",
"0.4673",
"0.504",
"0.0809",
"0.504"
],
[
"0.5034",
"0.4905",
"0.8906",
"0.4912",
"0.8906",
"0.506",
"0.5034",
"0.505"
],
[
"0.0801",
"0.506",
"0.468",
"0.506",
"0.468",
"0.5195",
"0.0801",
"0.5195"
],
[
"0.5034",
"0.507",
"0.892",
"0.507",
"0.892",
"0.521",
"0.5034",
"0.521"
],
[
"0.0801",
"0.521",
"0.468",
"0.521",
"0.468",
"0.534",
"0.0801",
"0.534"
],
[
"0.5034",
"0.521",
"0.8906",
"0.5215",
"0.8906",
"0.536",
"0.5034",
"0.535"
],
[
"0.0784",
"0.534",
"0.4673",
"0.535",
"0.4673",
"0.55",
"0.0784",
"0.549"
],
[
"0.505",
"0.537",
"0.8906",
"0.537",
"0.8906",
"0.5503",
"0.505",
"0.5503"
],
[
"0.0801",
"0.552",
"0.4673",
"0.552",
"0.4673",
"0.565",
"0.0801",
"0.565"
],
[
"0.505",
"0.552",
"0.8906",
"0.552",
"0.8906",
"0.565",
"0.505",
"0.565"
],
[
"0.0801",
"0.5664",
"0.468",
"0.5664",
"0.468",
"0.58",
"0.0801",
"0.58"
],
[
"0.505",
"0.5674",
"0.8906",
"0.5674",
"0.8906",
"0.5806",
"0.505",
"0.5806"
],
[
"0.0784",
"0.58",
"0.4673",
"0.5806",
"0.4673",
"0.595",
"0.0784",
"0.5947"
],
[
"0.505",
"0.5835",
"0.888",
"0.5835",
"0.888",
"0.5967",
"0.505",
"0.5967"
],
[
"0.0809",
"0.5967",
"0.468",
"0.5967",
"0.468",
"0.61",
"0.0809",
"0.61"
],
[
"0.5034",
"0.5977",
"0.8906",
"0.5977",
"0.8906",
"0.6113",
"0.5034",
"0.6113"
],
[
"0.0801",
"0.6113",
"0.4673",
"0.6113",
"0.4673",
"0.625",
"0.0801",
"0.625"
],
[
"0.505",
"0.6143",
"0.8906",
"0.6143",
"0.8906",
"0.625",
"0.505",
"0.625"
],
[
"0.0801",
"0.6255",
"0.4673",
"0.625",
"0.4673",
"0.6396",
"0.0801",
"0.64"
],
[
"0.5034",
"0.6274",
"0.8896",
"0.6274",
"0.8896",
"0.6416",
"0.5034",
"0.6416"
],
[
"0.0809",
"0.6416",
"0.468",
"0.6416",
"0.468",
"0.655",
"0.0809",
"0.655"
],
[
"0.505",
"0.6426",
"0.8906",
"0.6426",
"0.8906",
"0.657",
"0.505",
"0.657"
],
[
"0.0825",
"0.6577",
"0.4656",
"0.6577",
"0.4656",
"0.6685",
"0.0825",
"0.6685"
],
[
"0.5034",
"0.6577",
"0.8906",
"0.6577",
"0.8906",
"0.672",
"0.5034",
"0.672"
],
[
"0.0809",
"0.672",
"0.468",
"0.672",
"0.468",
"0.685",
"0.0809",
"0.685"
],
[
"0.5024",
"0.674",
"0.888",
"0.674",
"0.888",
"0.6875",
"0.5024",
"0.6875"
],
[
"0.0801",
"0.686",
"0.4673",
"0.686",
"0.4673",
"0.6997",
"0.0801",
"0.6997"
],
[
"0.5034",
"0.6875",
"0.892",
"0.688",
"0.892",
"0.7026",
"0.5034",
"0.702"
],
[
"0.0801",
"0.702",
"0.468",
"0.702",
"0.468",
"0.7153",
"0.0801",
"0.7153"
],
[
"0.5024",
"0.702",
"0.8906",
"0.7026",
"0.8906",
"0.7163",
"0.5024",
"0.7153"
],
[
"0.0809",
"0.7183",
"0.4673",
"0.7183",
"0.4673",
"0.729",
"0.0809",
"0.729"
],
[
"0.505",
"0.7183",
"0.8906",
"0.7183",
"0.8906",
"0.732",
"0.505",
"0.732"
],
[
"0.0809",
"0.733",
"0.4673",
"0.733",
"0.4673",
"0.747",
"0.0809",
"0.747"
],
[
"0.5063",
"0.735",
"0.8896",
"0.735",
"0.8896",
"0.7456",
"0.5063",
"0.7456"
],
[
"0.0801",
"0.747",
"0.4656",
"0.747",
"0.4656",
"0.7603",
"0.0801",
"0.7603"
],
[
"0.5034",
"0.7485",
"0.794",
"0.7485",
"0.794",
"0.762",
"0.5034",
"0.762"
],
[
"0.0809",
"0.763",
"0.468",
"0.763",
"0.468",
"0.7764",
"0.0809",
"0.7764"
],
[
"0.5195",
"0.763",
"0.8906",
"0.7646",
"0.8906",
"0.779",
"0.5195",
"0.778"
],
[
"0.0801",
"0.7764",
"0.468",
"0.7764",
"0.468",
"0.7905",
"0.0801",
"0.7905"
],
[
"0.505",
"0.78",
"0.8906",
"0.78",
"0.8906",
"0.7935",
"0.505",
"0.7935"
],
[
"0.0801",
"0.7925",
"0.3896",
"0.7925",
"0.3896",
"0.806",
"0.0801",
"0.806"
],
[
"0.505",
"0.7954",
"0.892",
"0.7954",
"0.892",
"0.8096",
"0.505",
"0.8096"
],
[
"0.10455",
"0.813",
"0.2157",
"0.813",
"0.2157",
"0.8276",
"0.10455",
"0.8276"
],
[
"0.505",
"0.81",
"0.8906",
"0.81",
"0.8906",
"0.8237",
"0.505",
"0.8237"
],
[
"0.505",
"0.8247",
"0.892",
"0.8247",
"0.892",
"0.839",
"0.505",
"0.839"
],
[
"0.0809",
"0.8145",
"0.1111",
"0.8145",
"0.1111",
"0.8257",
"0.0809",
"0.8257"
],
[
"0.10455",
"0.8276",
"0.1422",
"0.8276",
"0.1422",
"0.839",
"0.10455",
"0.839"
],
[
"0.10046",
"0.8403",
"0.468",
"0.8403",
"0.468",
"0.855",
"0.10046",
"0.855"
],
[
"0.505",
"0.8403",
"0.892",
"0.8403",
"0.892",
"0.854",
"0.505",
"0.854"
],
[
"0.0809",
"0.857",
"0.4673",
"0.857",
"0.4673",
"0.8706",
"0.0809",
"0.8706"
],
[
"0.5034",
"0.855",
"0.892",
"0.855",
"0.892",
"0.8687",
"0.5034",
"0.8687"
],
[
"0.0825",
"0.872",
"0.4673",
"0.872",
"0.4673",
"0.8853",
"0.0825",
"0.8853"
],
[
"0.5034",
"0.8706",
"0.806",
"0.8706",
"0.806",
"0.884",
"0.5034",
"0.884"
],
[
"0.0809",
"0.887",
"0.468",
"0.887",
"0.468",
"0.901",
"0.0809",
"0.901"
],
[
"0.5337",
"0.887",
"0.892",
"0.887",
"0.892",
"0.901",
"0.5337",
"0.901"
]
] | [
"Instance Relation Graph Guided",
"Source-Free Domain Adaptive Object Detection",
"Vibashan VS. Poojan Oza, and Vishal M. Patel",
"Johns Hopkins University, Baltimore, MD, USA",
"[ vvishnu2,poza2,vpatel36 @jhu.edu",
"Abstract",
"Unsupervised Domain Adaptation (UDA) is an ef-",
"fective approach to tackle the issue of domain shift.",
"Specifically, UDA methods try to align the source and",
"abeked souc",
"",
"targetrepresentationstoimprovegeneralizationonthe",
"Sourcemodelirainting",
"Source-free",
"aml",
"target domain. Further, UDA methods work under the",
"Figure 1. Left: Supervised training of detection model on",
"assumption that the source data is accessible during",
"the source domain. Right:Source-Free Domain Adaptation",
"the adaptation process. However, in real-world scenar-",
"(SFDA) setup, i.e., the source-trained model is adapted",
"ios, the labelled source data is often restricted due to",
"to the target domain in the absence of source data with",
"privacy regulations, data transmission constraints, or",
"pseudo-label self-training and proposed Instance Relation",
"proprietary data concerns. The Source-Free Domain",
"Graph (IRG) network guided contrastive loss.",
"Adaptation (SFDA) setting aims to alleviate these con-",
"训练。但是,当部署在训练期间未遇到的可视域中时,",
"cerns by adapting a source-trained model for the target",
"这些模型通常具有较差的泛化能力。在这种情况下,文",
"domain without requiring access to the source data.",
"献中的大多数作品都遵循无监督域自适应(UDA)设",
"In this paper, we explore the SFDA setting for the",
"置来改进泛化「7,15,24,25,50,59,64]。具体来说,UDA",
"task of adaptive object detection. To this end, we pro-",
"方法旨在通过对齐源域和目标域[9,20,29,58,61]之间",
"pose a novel training strategy for adapting a source-",
"检测器模型的特征分布来最小化域差异。要执行特征",
"trained object detector to the target domain without",
"对齐,UDA方法需要同时访问标记的源数据和未标记",
"source data. More precisely, we design a novel con-",
"的目标数据。然而,在实际情况下,由于与隐私/安全",
"trastive loss to enhance the target representations by",
"数据传输,数据专有等相关的问题,对源数据的访问通",
"exploiting the objects relations for a given target do-",
"常受到限制。例如,考虑在大规模源数据上训练的检",
"main input. These object instance relations are mod-",
"测模型,当部署在具有不同可视域的数据的新设备中",
"elled using an Instance Relation Graph (IRG) network,",
"时,该模型的性能很差。在这种情况下,传输源训练的",
"whichare then used to guide thecontrastiverepre",
"检测器模型(???-1000MB)以进行自适应比将源数据",
"sentation learning. In addition, we utilize a student-",
"(???-100GB)传输到这些新设备[28,38】要有效得多。",
"teacher to effectively distill knowledge from source-",
"此外,仅传输源训练的模型减轻了许多隐私/安全,数",
"trained model to target domain. Extensive experi-",
"据专有问题以及[42,48,72]。因此,在实际部署检测模",
"mentsonmultipleobjectdetectionbenchmarkdatasets",
"型的情况下,使源训练模型适应目标域而无需访问源",
"show that the proposed approach is able to efficiently",
"数据至关重要。这促使我们研究用于适配对象检测器",
"adapt source-trained object detectors to the target do-",
"的无源域适配(SFDA)设置(如图。1)",
"main, outperforming state-of-the-art domain adaptive",
"SFDA比UDA更具挑战性。具体来说,除了目标",
"detection methods. Code and models are provided in",
"数据没有标签之外,源数据在自适应期间是不可访问",
"https://viudomain.github.io/irg-sfda-web/",
"的。因此,大多数SFDA检测方法都考虑使用源训练",
"Introduction",
"模型28,411生成的伪标签进行训练。但是,由于域移",
"动,这些伪标签会产生噪声,并且对噪声伪标签的训练",
"1.",
"Opt",
"近年来,由于深度网络「13,4345,46,55,811的兴起,",
"是次优解【12,47]。为了避免这种情况,我们需要考虑",
"对象检测取得了巨大的进步。这一成功的主要贡献者",
"SFDA训练的两个挑战:1)有效地将目标域信息提取",
"是大规模带注释的检测数据集[11,14,16,44,75]的可用",
"到源训练模型中;2)增强目标域特征表示",
"性,因为它可以对深度对象检测器模型进行有监督的",
"一个关键的挑战是改进目标域数据的功能。考虑无"
] | {
"arxiv_id": "2203.15793",
"language": "zh",
"page_idx": 0
} |
||
2203.15793-zh-2 | 2203.15793-zh-2.jpg | 标签训练和信息最大化进行对齐。继分段任务 Liu et al.[48]之后,提出了一种基于自监督和知识转移的目标域自适应策略。对于目标检测任务,[41]提出了一种伪标签自训练策略,[28] 提出了通过以前的模型方法进行自监督特征表示学习
对比学习。无监督特征学习的巨大成功是由于对比学习,这归因于许多无监督任务[5,28,54]的巨大改进。对比学习通常通过最大化正对之间的一致性并最小化与负对的一致性来学习判别式特征嵌人。在[5,18,54] 中。在图像的批次中,锚图像经历不同的增强,并且该锚的这些增强形成正对和负对从给定批次中的其他图像中采样。后来,在利用特定于任务的语义信息的[32] 中,类内特征嵌人被拉在一起,并被排斥在跨类特征嵌人之外。通过这种方式,[32] 学习了更多类别的判别特征表示。所有这些工作都是针对分类任务执行的,这些方法对于大批量任务[5,32]效果很好。将其扩展到对象检测任务通常会失败,因为检测模型在计算上很昂贵。为了克服这个问题,我们利用图卷积网络来指导对比学习进行对象检测
Graph Convolution Neural Networks (GNNs). 图形卷积神经网络由 Gori [17]首次引人,用于使用神经网络处理具有图形结构的数据。关键思想是构建一个节点和边相互关联的图,并更新节点/边特征,即。e。— 个称为节点特征聚合的过程。近年来,已经提出了不同的 GNN(e。g。, GraphConv[51] , GCN[36] ,每个都有一个独特的功能聚合规则,该规则显示出对各种任务有效。最近的作品在图像字幕[53,78] ,场景图解析[74] 等。尝试通过基于 IoU 的图生成对实例间关系进行建模。对于这些应用,基于 IoU 的图是有效的, 因为对对象之间的交互进行建模是必不可少的,并且可以通过简单地基于对象重叠构造图来实现。然而,当两个对象没有重叠时,基于 IoU 的图生成会出现问题, 在这种情况下,它会忽略对象关系。例如,请参见图。$\begin{array}{cc}3&(\mathrm{a}),\text{ 其中左侧边车和右侧边车的建议没有重叠;因}\end{array}$ 此,基于 IoU 的图将不输出它们之间的关系。与 CRL 情况相反,它们需要被视为正对。为了克服这些问题, 我们提出了一种可学习的图卷积网络来对图像中存在的实例间关系进行建模
$$\begin{array}{ll}3.&\text{Proposed method}\\&\text{。0pt}\end{array}$$
# 3.1. Preliminaries
背景。UDA [9,25,64]考虑标记的源和未标记的目标域数据集进行自适应。让我们将标记的源域数据集正式表示为$D_s=\{x_s^n,y_s^n\}_{n=1}^{N_s}$,其中$x_s^n$表示$n^th$源图像, $y_\mathrm{s}^n$表示相应的地面实况,未标记的目标域数据集表示为$D_t=\left\{x_t^n\right\}_{n=1}^{N_t}$,其中$x_t^n$表示$n^{th}$目标图像,而没有地面实况注释。相反,SFDA 设置[35,41,42,48]考虑了一个更实际的场景,其中对源数据集的访问受到限制,并且在适应期间只有源训练模型$\Theta$和未标记的目标数据$D_t$可用
基于平均教师的自我培训。自训练自适应策略使用源
训练模型生成的伪标签在未标记的目标数据上更新模型。通过置信度阈值过滤伪标签,并使用可靠的伪标签来监督检测器训练 [31] 。更正式地说,对象检测模型的伪标签监督损失可以给出为:
$$\begin{aligned}\mathcal{L}_{SL}&=\mathcal{L}_{cls}^{rpn}(x_{t}^{n},\tilde{y}_{t}^{n})+\mathcal{L}_{reg}^{rpn}(x_{t}^{n},\tilde{y}_{t}^{n})\\&+\mathcal{L}_{cls}^{roi}(x_{t}^{n},\tilde{y}_{t}^{n})+\mathcal{L}_{reg}^{roi}(x_{t}^{n},\tilde{y}_{t}^{n}),\end{aligned}$$
其中$\tilde{y}_t^n$是过滤低置信度预测后获得的伪标签。即使在过滤掉低置信度预测之后,由源训练模型生成的伪标签仍然由于域移动而产生噪声。因此,为了有效地从源训练的模型中提取知识,需要提高伪标签的质量[12,47]
为此,我们利用平均教师[63] ,它由分别具有参数$\Theta_s$和$\Theta_t$的学生和教师网络组成。在平均教师中,学生使用教师生成的伪标签进行培训,并且教师通过学生权重的指数移动平均值(EMA)逐步更新。此外,在半监督技术[12,47]的激励下,分别为学生和教师网络提供了强增强和弱增强,并且其预测之间的一致性提高了对目标数据的检测。因此,基于整体师生自我训练的对象检测框架更新可以表示为:
(2)
$$\Theta_{s}\leftarrow\Theta_{s}+\gamma\frac{\partial(\mathcal{L}_{SL}^{st})}{\partial\Theta_{s}},$$
$$\Theta_t\leftarrow\alpha\Theta_t+(1-\alpha)\Theta_s,$$
(3)
其中$\mathcal{L}_{SL}^{st}$是使用教师网络生成的伪标签计算的学生损失。超参数$\gamma$和$\alpha$分别是学生学习率和教师 EMA 率。尽管学生-教师框架可以使用嘈杂的伪标签进行知识提炼,但如前所述,这不足以学习高质量的目标特征。因此,为了增强目标域中的特征,我们利用对比表示学习。对比表示学习(CRL)。SimCLR[5] 是一个常用的CRL 框架,它通过对比损失最大化同一样本的不同增强视图之间的一致性来学习图像的表示。更正式地说,
$$\mathcal{L}_{\mathrm{SimCLR}}=-\log\left(\frac{\exp(\sin(r_{i},r_{j}))}{\sum_{k=1,\exists k\neq i}^{2N}\exp(\sin(r_{i},r_{k}))}\right),$$
, (4)
,其中$N$是批处理大小$,r_i$和$r_j$是同一样本$x_i$的两个不同增强的功能,而$r_k$表示$k^th$批处理样本$x_k$的功能,其中$k\neq i$ 。此外,sim$(\cdot,\cdot)$表示相似性函数 e。g。余弦相似度。请注意,一般来说,CRL 框架假设每个图像包含一个类别[5]。此外,它需要大批量,可以为训练[6]提供多个正/负对
# 3.2. Graph-guided contrastive learning
为了克服前面讨论的挑战,我们利用 Faster-RCNN 的体系结构来设计一种新颖的对比学习策略,如图。4 。正如我们在 SEC 中讨论的那样。1 ,默认为 RPN, 为映像中的每个实例提供增强。如图所示。3 ,裁剪出RPN 建议将在图像中的每个实例周围提供多个不同的视图。通过最大化同一实例的提案特征与不同实例的提案特征之间的一致性,可以利用此属性来学习对比表示。但是,RPN 预测与类别无关,并且目标域的地面实况框不可用,因此很难知道哪些建议属于哪个实例。因此,对于作为锚点的给定提案,采样正/负对成为一项具有挑战性的任务。为此,我们引人了一个实例 | [
[
"0.0825",
"0.0947",
"0.4673",
"0.0947",
"0.4673",
"0.1048",
"0.0825",
"0.1048"
],
[
"0.5034",
"0.09216",
"0.8906",
"0.09216",
"0.8906",
"0.1061",
"0.5034",
"0.1061"
],
[
"0.0809",
"0.108",
"0.4673",
"0.108",
"0.4673",
"0.1218",
"0.0809",
"0.1218"
],
[
"0.5034",
"0.108",
"0.8896",
"0.108",
"0.8896",
"0.1218",
"0.5034",
"0.1218"
],
[
"0.0825",
"0.125",
"0.4673",
"0.125",
"0.4673",
"0.1351",
"0.0825",
"0.1351"
],
[
"0.5034",
"0.1225",
"0.8896",
"0.1225",
"0.8896",
"0.1364",
"0.5034",
"0.1364"
],
[
"0.0825",
"0.1383",
"0.468",
"0.1383",
"0.468",
"0.1515",
"0.0825",
"0.1515"
],
[
"0.5034",
"0.1383",
"0.726",
"0.1383",
"0.726",
"0.1515",
"0.5034",
"0.1515"
],
[
"0.0809",
"0.1528",
"0.2443",
"0.1528",
"0.2443",
"0.1666",
"0.0809",
"0.1666"
],
[
"0.5215",
"0.159",
"0.7695",
"0.159",
"0.7695",
"0.1724",
"0.5215",
"0.1724"
],
[
"0.0809",
"0.1692",
"0.468",
"0.1692",
"0.468",
"0.1831",
"0.0809",
"0.1831"
],
[
"0.0825",
"0.1843",
"0.468",
"0.1843",
"0.468",
"0.1976",
"0.0825",
"0.1976"
],
[
"0.642",
"0.1787",
"0.8906",
"0.1787",
"0.8906",
"0.1932",
"0.642",
"0.1932"
],
[
"0.0809",
"0.1989",
"0.468",
"0.1989",
"0.468",
"0.2122",
"0.0809",
"0.2122"
],
[
"0.5034",
"0.1957",
"0.8906",
"0.1957",
"0.8906",
"0.209",
"0.5034",
"0.209"
],
[
"0.0825",
"0.214",
"0.4673",
"0.214",
"0.4673",
"0.2279",
"0.0825",
"0.2279"
],
[
"0.505",
"0.2102",
"0.8906",
"0.2102",
"0.8906",
"0.2235",
"0.505",
"0.2235"
],
[
"0.0825",
"0.2291",
"0.468",
"0.2291",
"0.468",
"0.2424",
"0.0825",
"0.2424"
],
[
"0.505",
"0.226",
"0.8896",
"0.226",
"0.8896",
"0.2393",
"0.505",
"0.2393"
],
[
"0.0825",
"0.2443",
"0.4673",
"0.2443",
"0.4673",
"0.2583",
"0.0825",
"0.2583"
],
[
"0.5034",
"0.2405",
"0.884",
"0.2405",
"0.884",
"0.254",
"0.5034",
"0.254"
],
[
"0.0809",
"0.2583",
"0.4673",
"0.2588",
"0.4673",
"0.2734",
"0.0809",
"0.2727"
],
[
"0.524",
"0.2583",
"0.8906",
"0.2583",
"0.8906",
"0.2715",
"0.524",
"0.2715"
],
[
"0.0825",
"0.2734",
"0.4656",
"0.2734",
"0.4656",
"0.2874",
"0.0825",
"0.2874"
],
[
"0.5024",
"0.2715",
"0.8896",
"0.2715",
"0.8896",
"0.2854",
"0.5024",
"0.2854"
],
[
"0.08417",
"0.2917",
"0.4673",
"0.2917",
"0.4673",
"0.3018",
"0.08417",
"0.3018"
],
[
"0.5024",
"0.286",
"0.8906",
"0.2874",
"0.8906",
"0.3018",
"0.5024",
"0.3005"
],
[
"0.0809",
"0.305",
"0.468",
"0.305",
"0.468",
"0.318",
"0.0809",
"0.318"
],
[
"0.5024",
"0.3005",
"0.892",
"0.3018",
"0.892",
"0.315",
"0.5024",
"0.3145"
],
[
"0.08417",
"0.3213",
"0.4673",
"0.3213",
"0.4673",
"0.332",
"0.08417",
"0.332"
],
[
"0.5024",
"0.3164",
"0.8906",
"0.318",
"0.8906",
"0.332",
"0.5024",
"0.33"
],
[
"0.0825",
"0.3352",
"0.4673",
"0.3352",
"0.4673",
"0.3484",
"0.0825",
"0.3484"
],
[
"0.5034",
"0.3333",
"0.8896",
"0.3333",
"0.8896",
"0.3467",
"0.5034",
"0.3467"
],
[
"0.0825",
"0.351",
"0.4673",
"0.351",
"0.4673",
"0.3643",
"0.0825",
"0.3643"
],
[
"0.505",
"0.348",
"0.8906",
"0.348",
"0.8906",
"0.361",
"0.505",
"0.361"
],
[
"0.08417",
"0.3662",
"0.2263",
"0.3662",
"0.2263",
"0.377",
"0.08417",
"0.377"
],
[
"0.5034",
"0.363",
"0.738",
"0.363",
"0.738",
"0.377",
"0.5034",
"0.377"
],
[
"0.0801",
"0.3801",
"0.4673",
"0.3806",
"0.4673",
"0.3958",
"0.0801",
"0.3945"
],
[
"0.6113",
"0.3833",
"0.709",
"0.3865",
"0.709",
"0.4016",
"0.6113",
"0.3984"
],
[
"0.706",
"0.379",
"0.761",
"0.379",
"0.761",
"0.3933",
"0.706",
"0.3933"
],
[
"0.706",
"0.3901",
"0.722",
"0.3965",
"0.7173",
"0.4048",
"0.701",
"0.3984"
],
[
"0.716",
"0.3926",
"0.7524",
"0.3945",
"0.751",
"0.4104",
"0.714",
"0.4077"
],
[
"0.8677",
"0.387",
"0.8906",
"0.387",
"0.8906",
"0.401",
"0.8677",
"0.401"
],
[
"0.0825",
"0.3945",
"0.4656",
"0.3945",
"0.4656",
"0.4077",
"0.0825",
"0.4077"
],
[
"0.0825",
"0.411",
"0.468",
"0.411",
"0.468",
"0.4248",
"0.0825",
"0.4248"
],
[
"0.614",
"0.4124",
"0.7812",
"0.4124",
"0.7812",
"0.4255",
"0.614",
"0.4255"
],
[
"0.869",
"0.4124",
"0.8906",
"0.4124",
"0.8906",
"0.4255",
"0.869",
"0.4255"
],
[
"0.0809",
"0.4255",
"0.452",
"0.4268",
"0.452",
"0.44",
"0.0809",
"0.4395"
],
[
"0.505",
"0.4287",
"0.8906",
"0.4287",
"0.8906",
"0.4426",
"0.505",
"0.4426"
],
[
"0.08417",
"0.4414",
"0.468",
"0.4414",
"0.468",
"0.455",
"0.08417",
"0.455"
],
[
"0.5034",
"0.443",
"0.8896",
"0.443",
"0.8896",
"0.457",
"0.5034",
"0.457"
],
[
"0.0809",
"0.4558",
"0.468",
"0.455",
"0.468",
"0.4697",
"0.0809",
"0.4702"
],
[
"0.5034",
"0.459",
"0.8896",
"0.459",
"0.8896",
"0.473",
"0.5034",
"0.473"
],
[
"0.0825",
"0.4717",
"0.4673",
"0.4717",
"0.4673",
"0.4849",
"0.0825",
"0.4849"
],
[
"0.505",
"0.476",
"0.888",
"0.476",
"0.888",
"0.486",
"0.505",
"0.486"
],
[
"0.0825",
"0.486",
"0.468",
"0.486",
"0.468",
"0.5",
"0.0825",
"0.5"
],
[
"0.5034",
"0.4893",
"0.8896",
"0.4893",
"0.8896",
"0.5024",
"0.5034",
"0.5024"
],
[
"0.0809",
"0.502",
"0.468",
"0.502",
"0.468",
"0.515",
"0.0809",
"0.515"
],
[
"0.505",
"0.504",
"0.8896",
"0.504",
"0.8896",
"0.5176",
"0.505",
"0.5176"
],
[
"0.0825",
"0.5176",
"0.468",
"0.5176",
"0.468",
"0.531",
"0.0825",
"0.531"
],
[
"0.5024",
"0.5176",
"0.8896",
"0.5195",
"0.8896",
"0.5327",
"0.5024",
"0.531"
],
[
"0.0825",
"0.534",
"0.4656",
"0.534",
"0.4656",
"0.5444",
"0.0825",
"0.5444"
],
[
"0.5034",
"0.535",
"0.8906",
"0.535",
"0.8906",
"0.549",
"0.5034",
"0.549"
],
[
"0.0825",
"0.5474",
"0.468",
"0.5474",
"0.468",
"0.561",
"0.0825",
"0.561"
],
[
"0.5034",
"0.5503",
"0.831",
"0.5503",
"0.831",
"0.5645",
"0.5034",
"0.5645"
],
[
"0.0825",
"0.5625",
"0.468",
"0.5625",
"0.468",
"0.5757",
"0.0825",
"0.5757"
],
[
"0.6763",
"0.5664",
"0.8013",
"0.5684",
"0.8013",
"0.5835",
"0.6763",
"0.5806"
],
[
"0.7974",
"0.5737",
"0.8022",
"0.5737",
"0.8022",
"0.579",
"0.7974",
"0.579"
],
[
"0.808",
"0.5728",
"0.814",
"0.5728",
"0.814",
"0.5776",
"0.808",
"0.5776"
],
[
"0.0825",
"0.579",
"0.4673",
"0.579",
"0.4673",
"0.589",
"0.0825",
"0.589"
],
[
"0.5156",
"0.577",
"0.638",
"0.577",
"0.638",
"0.5913",
"0.5156",
"0.5913"
],
[
"0.638",
"0.586",
"0.853",
"0.586",
"0.853",
"0.607",
"0.638",
"0.607"
],
[
"0.851",
"0.5806",
"0.888",
"0.577",
"0.8906",
"0.587",
"0.8545",
"0.5913"
],
[
"0.0809",
"0.5923",
"0.4673",
"0.5923",
"0.4673",
"0.606",
"0.0809",
"0.606"
],
[
"0.0825",
"0.6094",
"0.4656",
"0.6094",
"0.4656",
"0.619",
"0.0825",
"0.619"
],
[
"0.5156",
"0.605",
"0.8906",
"0.606",
"0.8906",
"0.6206",
"0.5156",
"0.619"
],
[
"0.0809",
"0.6226",
"0.468",
"0.6226",
"0.468",
"0.636",
"0.0809",
"0.636"
],
[
"0.505",
"0.6206",
"0.8906",
"0.6206",
"0.8906",
"0.6353",
"0.505",
"0.6353"
],
[
"0.0809",
"0.637",
"0.468",
"0.637",
"0.468",
"0.651",
"0.0809",
"0.651"
],
[
"0.5034",
"0.636",
"0.8906",
"0.636",
"0.8906",
"0.6494",
"0.5034",
"0.6494"
],
[
"0.0809",
"0.653",
"0.246",
"0.653",
"0.246",
"0.6665",
"0.0809",
"0.6665"
],
[
"0.5034",
"0.6514",
"0.8896",
"0.6514",
"0.8896",
"0.6655",
"0.5034",
"0.6655"
],
[
"0.5034",
"0.6655",
"0.8896",
"0.6665",
"0.8896",
"0.681",
"0.5034",
"0.6797"
],
[
"0.0801",
"0.6846",
"0.259",
"0.6846",
"0.259",
"0.6978",
"0.0801",
"0.6978"
],
[
"0.505",
"0.6816",
"0.7036",
"0.6816",
"0.7036",
"0.696",
"0.505",
"0.696"
],
[
"0.0972",
"0.6997",
"0.1438",
"0.6997",
"0.1438",
"0.714",
"0.0972",
"0.714"
],
[
"0.5034",
"0.711",
"0.808",
"0.711",
"0.808",
"0.726",
"0.5034",
"0.726"
],
[
"0.0801",
"0.726",
"0.2222",
"0.726",
"0.2222",
"0.7393",
"0.0801",
"0.7393"
],
[
"0.524",
"0.7363",
"0.8906",
"0.735",
"0.8906",
"0.7485",
"0.524",
"0.75"
],
[
"0.0825",
"0.7505",
"0.4697",
"0.7505",
"0.4697",
"0.7646",
"0.0825",
"0.7646"
],
[
"0.5034",
"0.752",
"0.8906",
"0.752",
"0.8906",
"0.765",
"0.5034",
"0.765"
],
[
"0.08417",
"0.7676",
"0.4656",
"0.7676",
"0.4656",
"0.778",
"0.08417",
"0.778"
],
[
"0.5034",
"0.765",
"0.886",
"0.765",
"0.886",
"0.779",
"0.5034",
"0.779"
],
[
"0.0801",
"0.779",
"0.4714",
"0.779",
"0.4714",
"0.797",
"0.0801",
"0.797"
],
[
"0.5063",
"0.7827",
"0.888",
"0.7827",
"0.888",
"0.7935",
"0.5063",
"0.7935"
],
[
"0.0801",
"0.7954",
"0.468",
"0.7944",
"0.468",
"0.8096",
"0.0801",
"0.81"
],
[
"0.5024",
"0.7944",
"0.8906",
"0.7954",
"0.8906",
"0.81",
"0.5024",
"0.8096"
],
[
"0.0809",
"0.81",
"0.468",
"0.81",
"0.468",
"0.8247",
"0.0809",
"0.8247"
],
[
"0.5034",
"0.811",
"0.8896",
"0.811",
"0.8896",
"0.8247",
"0.5034",
"0.8247"
],
[
"0.0825",
"0.8257",
"0.4673",
"0.8257",
"0.4673",
"0.839",
"0.0825",
"0.839"
],
[
"0.5034",
"0.827",
"0.8906",
"0.827",
"0.8906",
"0.8403",
"0.5034",
"0.8403"
],
[
"0.08417",
"0.8423",
"0.4656",
"0.8423",
"0.4656",
"0.853",
"0.08417",
"0.853"
],
[
"0.5024",
"0.8403",
"0.8906",
"0.8413",
"0.8906",
"0.856",
"0.5024",
"0.855"
],
[
"0.0809",
"0.856",
"0.4673",
"0.856",
"0.4673",
"0.869",
"0.0809",
"0.869"
],
[
"0.505",
"0.857",
"0.8906",
"0.857",
"0.8906",
"0.8706",
"0.505",
"0.8706"
],
[
"0.08417",
"0.872",
"0.21",
"0.872",
"0.21",
"0.8853",
"0.08417",
"0.8853"
],
[
"0.5063",
"0.8735",
"0.8896",
"0.8735",
"0.8896",
"0.884",
"0.5063",
"0.884"
],
[
"0.0809",
"0.887",
"0.468",
"0.887",
"0.468",
"0.901",
"0.0809",
"0.901"
],
[
"0.505",
"0.887",
"0.8896",
"0.887",
"0.8896",
"0.901",
"0.505",
"0.901"
]
] | [
"标签训练和信息最大化进行对齐。继分段任务Liuet",
"训练模型生成的伪标签在未标记的目标数据上更新模",
"al.【48]】之后,提出了一种基于自监督和知识转移的目",
"型。通过置信度阈值过滤伪标签,并使用可靠的伪标签",
"标域自适应策略。对于目标检测任务,41提出了一种",
"来监督检测器训练31]。更正式地说,对象检测模型",
"伪标签自训练策略,281提出了通过以前的模型方法进",
"的伪标签监督损失可以给出为:",
"行自监督特征表示学习",
"CsL=Cepn(at,yt)+ren(ct,t)",
"对比学习。无监督特征学习的巨大成功是由于对比学",
"习,这归因于许多无监督任务[5,28,541的巨大改进。",
"+ Croi(an,yr)+ Cre(rn,yn),(1)",
"对比学习通常通过最大化正对之间的一致性并最小化",
"其中是过滤低置信度预测后获得的伪标签。即使在",
"与负对的一致性来学习判别式特征嵌人。在[5,18,54]",
"过滤掉低置信度预测之后,由源训练模型生成的伪标签",
"中。在图像的批次中,锚图像经历不同的增强,并且该",
"仍然由于域移动而产生噪声。因此,为了有效地从源训",
"锚的这些增强形成正对和负对从给定批次中的其他图",
"练的模型中提取知识,需要提高伪标签的质量「12,47]",
"像中采样。后来,在利用特定于任务的语义信息的[32]",
"为此,我们利用平均教师【63,它由分别具有参数",
"中,类内特征嵌人被拉在一起,并被排斥在跨类特征嵌",
"①。和①t的学生和教师网络组成。在平均教师中,学",
"入之外。通过这种方式,32学习了更多类别的判别特",
"生使用教师生成的伪标签进行培训,并且教师通过学",
"征表示。所有这些工作都是针对分类任务执行的,这些",
"生权重的指数移动平均值(EMA)逐步更新。此外,在",
"方法对于天批量任务5,321效果很好。将其扩展到对",
"半监督技术「12,47]的激励下,分别为学生和教师网络",
"象检测任务通常会失败,因为检测模型在计算上很昂",
"提供了强增强和弱增强,并且其预测之间的一致性提",
"贵。为了克服这个问题,我们利用图卷积网络来指导对",
"高了对目标数据的检测。因此,基于整体师生自我训练",
"比学习进行对象检测",
"的对象检测框架更新可以表示为:",
"Graph Convolution Neural Networks(GNNs).图形卷",
"00+",
"O(CSL)",
"",
"00.",
"(2)",
"积神经网络由Gori[17]首次引入,用于使用神经网络",
"处理具有图形结构的数据。关键思想是构建一个节点",
"Ot ← Q0t +(1 -a)0s",
"(3)",
"和边相互关联的图,并更新节点/边特征,即。e。,",
"其中CstL是使用教师网络生成的伪标签计算的学生损",
"个称为节点特征聚合的过程。近年来,已经提出了不",
"失。超参数和α分别是学生学习率和教师EMA率。",
"同的GNN(e。g。,GraphConv[51],GCN[36],每",
"尽管学生-教师框架可以使用噜杂的伪标签进行知识提",
"个都有一个独特的功能聚合规则,该规则显示出对各",
"炼,但如前所述,这不足以学习高质量的自标特征。因",
"种任务有效。最近的作品在图像字幕[53,781,场景图",
"此,为了增强目标域中的特征,我们利用对比表示学",
"解析[74]等。尝试通过基于IoU的图生成对实例间关",
"习。对比表示学习(CRL)。SimCLR[5]是一个常用的",
"系进行建模。对于这些应用,基于IoU的图是有效的,",
"CRL框架,它通过对比损失最大化同一样本的不同增",
"因为对对象之间的交互进行建模是必不可少的,并",
"强视图之间的一致性来学习图像的表示。更正式地说",
"可以通过简单地基于对象重叠构造图来实现。然而,当",
"给定一个锚映像ai,SimCLR损失可以写成:",
"两个对象没有重叠时,基于IoU的图生成会出现问题,",
"exp(sim(ri, r;))",
"",
"",
"在这种情况下,它会忽略对象关系。例如,请参见图。",
"CsimCLR =-log",
"(E2=1,3k± exp(sim(ri,rk) )",
"1(4)",
"3(a),其中左侧边车和右侧边车的建议没有重叠;因",
"此,基于IoU的图将不输出它们之间的关系。与CRL",
"其中N是批处理大小,ri和ri是同一样本a的两",
"情况相反,它们需要被视为正对。为了克服这些问题,",
"个不同增强的功能,而rk表示kth批处理样本a的",
"我们提出了一种可学习的图卷积网络来对图像中存在",
"功能,其中k丰i。此外,sim()表示相似性函数e。",
"的实例间关系进行建模",
"g。余弦相似度。请注意,一般来说,CRL框架假设每",
"个图像包含一个类别5]。此外,它需要大批量,可以",
"3.Proposed method",
"为训练【6]提供多个正/负对",
"。Opt",
"3.2. Graph-guided contrastive learning",
"3.1. Preliminaries",
"为了克服前面讨论的挑战,我们利用Faster-RCNN",
"背景。UDA[9,25,64]考虑标记的源和未标记的目标域",
"的体系结构来设计一种新颖的对比学习策略,如图。4",
"数据集进行自适应。让我们将标记的源域数据集正式",
"。正如我们在 SEC中讨论的那样。1,默认为RPN",
"表示为D,=(a\",y\")-1,其中an表示nth源图像,",
"为映像中的每个实例提供增强。如图所示。3,裁剪出",
"y”表示相应的地面实况,未标记的目标域数据集表示",
"RPN建议将在图像中的每个实例周围提供多个不同的",
"为Dt=(an)Nl,其中an表示nth目标图像,而没",
"视图。通过最大化同一实例的提案特征与不同实例的",
"有地面实况注释。相反,SFDA设置35,41,42,48]考",
"提案特征之间的一致性,可以利用此属性来学习对比",
"虑了一个更实际的场景,其中对源数据集的访问受到",
"表示。但是,RPN预测与类别无关,并且目标域的地",
"限制,并且在适应期间只有源训练模型?和未标记的",
"面实况框不可用,因此很难知道哪些建议属于哪个实",
"目标数据Dt可用",
"例。因此,对于作为铺点的给定提案,采样正/负对成",
"基于平均教师的自我培训。自训练自适应策略使用源",
"为一项具有挑战性的任务。为此,我们引人了一个实例"
] | {
"arxiv_id": "2203.15793",
"language": "zh",
"page_idx": 2
} |
||
2203.15793-zh-4 | 2203.15793-zh-4.jpg | 异表示为 GDL, 可以正式写成:
$\mathcal{L}_{GDL}=$KL$(\sigma(Z_{st}),\sigma(\tilde{Z}_{st}))$
+KL$(\sigma(Z_{te}),\sigma(\tilde{Z}_{te}))+$KL$(\sigma(Z_{st}),\sigma(Z_{te}))$,
其中 KL 表示 Kullback-Leibler 散度,$\sigma$表示 softmax 运算符。因此,最小化$\mathcal{L}_GDL$会监督 IRG 网络,进而学习实例关系矩阵({$\mathcal{E} )$
3.2.2 Graph Contrastive Loss (GCL)
实例成对标签。为了利用对比损失,我们需要了解给定锚建议与其他 RPN 建议的关系,以形成正/负对。如前所述,此关系矩阵($\mathcal{E}$)是从 IRG 网络获得的,该网络学习了提案之间的相互关系。例如成对标签生成, 让我们考虑提案实例$i$和$j$,以及它们之间的相应学习关系$e_{ij}\in\mathcal{E}$ 。现在,可以通过简单地在归一化$\varepsilon$上设置阈值 $\epsilon$ 来获得正/负对,其中 $e_ij>\epsilon$ 将指示它们高度相关,形成正对,反之亦然。$i^th$和$j^{th}$建议实例之间的成对标签,表示为$M_{ij}$ ,可以给出为:
$$M_{ij}=\begin{cases}0,&e_{ij}<\epsilon\\1,&e_{ij}\:\ge\epsilon,\end{cases}$$
(7)
其中$\epsilon$是超参数。因此,对于给定的锚建议,我们从
$M_{ij}$获得其相应的正负建议对
实例成对日志。如图所示。5,将 RoI 特征$v_i$投影为键$k_i$并查询$q_i$ ,以便对 RoI 特征 [65]之间的更好相关性进行建模。对于给定的$i^{th}$ RoI 功能,我们获得密钥,查询和成对日志,如下所示:
$$\begin{aligned}k_{i}&=W_{k}\cdot v_{i},\\q_{i}&=W_{q}\cdot v_{i},\\R_{ij}&=q_{i}(k_{j})^{T},\end{aligned}$$
其中$W_k$ 和$W_q$ 是线性层权重 $,k_i,q_i$ 和 $R_ij$ 是密钥, 查询和实例成对日志。为此,可以根据实例对 logits( $R_{ij}$)和实例对标签($M_ij$)计算对比损失
对比损失。考虑任何$i^{th}$建议作为锚,其中$i\in I\equiv$ $\{ 1, 2, . . . , m\}$ ,让我们定义一个由不包括锚的所有样本组成的集合为$A(i)\equiv I\setminus\{i\}$ 。此外,使用$M$ $\begin{array}{ll}\text{中的成对标签,我们可以创建一个定义为}P(i)&\equiv\\\{p\in I:M_{ij}=1\}\setminus\{i\}&\text{的正对集。对于给定的}i^{th}&\text{建}\end{array}$ 议,图形对比损失(GCL)可以计算为:
$$\mathcal{L}_{GCL}=\sum_{i\in I}-\log\left\{\frac{1}{|P(i)|}\sum_{p\in P(i)}\frac{\exp\left(q_i(k_p)^T\right)}{\sum_{a\in A(i)}\exp\left(q_i(k_a)^T\right)}\right\},$$
通过使用建议的损失$\mathcal{L}_GCL$进行训练,鼓励学生网络学习目标域上的高质量特征表示。我们通过在 Sec 中进行实验分析来证明它提高了检测器的性能。4。请注意,GCL 仅用于更新学生网络参数,而教师网络参数通过 EMA 进行更新3.3.0verall objective
到目前为止,我们已经引人了实例关系图(IRG),图蒸馏损失(GDL)和图对比损失(GCL),以有效地解决检测的无源域自适应问题。然后,我们提出的 SFDA 方法的总体目标表述为:
$$\mathcal L_{SFDA}=\mathcal L_{SL}^{st}+\mathcal L_{GDL}+\mathcal L_{GCL},$$
(9)
Table 1. Quantitative results (mAP) for Cityscapes $\to$ FoggyCityscapes. S: Source only, O: Oracle, UDA: Unsupervised Domain Adaptation, SFDA: Source-Free Domain $\operatorname{Adaptation}.$
<table>
<tbody>
<tr>
<th>$\overline{\text{Type}}$</th>
<th>Method</th>
<th>prsti</th>
<th>rider</th>
<th>car</th>
<th>$\overline{bus}$</th>
<th>train</th>
<th>mcycle</th>
<th>$\overline{\text{bicycle}}$</th>
<th>tuAP</th>
</tr>
<tr>
<td>$\overline{S}$</td>
<td>$\overline{\text{Source Only}}$</td>
<td>$\overline{29.3}$</td>
<td>34.1</td>
<td>35.8</td>
<td>$\overline{26.0}$</td>
<td>$\overline{9.09}$</td>
<td>$\overline{22.4}$</td>
<td>$\overline{29.7}$</td>
<td>$\overline{25.2}$</td>
</tr>
<tr>
<td> </td>
<td>DA Faster</td>
<td>$\overline{25.0}$</td>
<td>$\overline{31.0}$</td>
<td>$\overline{40.5}$</td>
<td>35.3</td>
<td>$\overline{20.2}$</td>
<td>$\overline{20.0}$</td>
<td>$\overline{27.1}$</td>
<td>27.6</td>
</tr>
<tr>
<td> </td>
<td>D $\&$ Match [3,1]</td>
<td>30.8</td>
<td>40.5</td>
<td>44.3</td>
<td>38.4</td>
<td>34.5</td>
<td>28.4</td>
<td>32.2</td>
<td>34.6</td>
</tr>
<tr>
<td> </td>
<td>MAF |20| (ICCV 2019)</td>
<td>28.2</td>
<td>39.5</td>
<td>43.9</td>
<td>39.9</td>
<td>33.3</td>
<td>29.2</td>
<td>33.9</td>
<td>34.0</td>
</tr>
<tr>
<td> </td>
<td>Robust tDA $\left[31\right]$ $(\mathrm{ICCV}^{\circ}$ 2019</td>
<td>35.1</td>
<td>42.1</td>
<td>49.1</td>
<td>45.2</td>
<td>26.9</td>
<td>26.8</td>
<td>36.0</td>
<td>36.4</td>
</tr>
<tr>
<td rowspan="11">$UDA$</td>
<td>MTOR</td>
<td>30.6</td>
<td>41.4</td>
<td>44.0</td>
<td>38.6</td>
<td>40.6</td>
<td>28.3</td>
<td>35.6</td>
<td>35.1</td>
</tr>
<tr>
<td>SWDA 1581</td>
<td>29.9</td>
<td>42.3</td>
<td>43.5</td>
<td>36.2</td>
<td>32.6</td>
<td>30.0</td>
<td>35.3</td>
<td>34.3</td>
</tr>
<tr>
<td>CDN [62</td>
<td>35.8</td>
<td>45.7</td>
<td>50.9</td>
<td>42.5</td>
<td>29.8</td>
<td>30.8</td>
<td>36.5</td>
<td>36.6</td>
</tr>
<tr>
<td>Collaborative DA 177</td>
<td>32.7</td>
<td>44.4</td>
<td>50.1</td>
<td>45.6</td>
<td>25.4</td>
<td>30.1</td>
<td>36.8</td>
<td>35.9</td>
</tr>
<tr>
<td>iFAN DA $\left[80\right]$</td>
<td>32.6</td>
<td>48.5</td>
<td>22.8</td>
<td>33.0</td>
<td>45.5</td>
<td>31.7</td>
<td>27.9</td>
<td>35.3</td>
</tr>
<tr>
<td>Instarice $:DA$ Ten</td>
<td>33.1</td>
<td>43.4</td>
<td>49.6</td>
<td>45.7</td>
<td>32.0</td>
<td>29.5</td>
<td>37.0</td>
<td>36.5</td>
</tr>
<tr>
<td>Progressive DA $\left[27\right]$</td>
<td>36.0</td>
<td>45.5</td>
<td>54.4</td>
<td>44.1</td>
<td>25.8</td>
<td>29.1</td>
<td>35.9</td>
<td>36.9</td>
</tr>
<tr>
<td>Categorical DA [7:3]</td>
<td>32.9</td>
<td>43.8</td>
<td>49.2</td>
<td>45.1</td>
<td>36.4</td>
<td>30.3</td>
<td>34.6</td>
<td>37.4</td>
</tr>
<tr>
<td>[27] MeGA CDA</td>
<td>37.7</td>
<td>49.0</td>
<td>52.4</td>
<td>49.2</td>
<td>46.9</td>
<td>34.5</td>
<td>39.0</td>
<td>41.8</td>
</tr>
<tr>
<td>Unbiased DA $\left|12\right|$</td>
<td>33.8</td>
<td>47.3</td>
<td>49.8</td>
<td>48.2</td>
<td>42.1</td>
<td>33.0</td>
<td>37.3</td>
<td>40.4</td>
</tr>
<tr>
<td>SFOD 141</td>
<td>$\overline{21.7}$</td>
<td>$\overline{44.0}$</td>
<td>$\overline{40.4}$</td>
<td>$\overline{11.8}$</td>
<td>$\overline{25.3}$</td>
<td>$\overline{34.5}$</td>
<td>34.3</td>
<td>$\overline{30.6}$</td>
</tr>
<tr>
<td rowspan="5">SFDA</td>
<td>SFOD-Mosaic 41</td>
<td>25.5</td>
<td>44.5</td>
<td>40.7</td>
<td>22.2</td>
<td>28.4</td>
<td>34.1</td>
<td>39.0</td>
<td>33.5</td>
</tr>
<tr>
<td>$HCL$ |28|</td>
<td>26.9</td>
<td>46.0</td>
<td>41.3</td>
<td>25.0</td>
<td>28.1</td>
<td>35.9</td>
<td>40.7</td>
<td>34.6</td>
</tr>
<tr>
<td>LODS 40</td>
<td>34.0</td>
<td>45.7</td>
<td>48.8</td>
<td>39.7</td>
<td>19.6</td>
<td>33.2</td>
<td>37.8</td>
<td>35.8</td>
</tr>
<tr>
<td>|63| Mean-Teacher</td>
<td>33.9</td>
<td>43.0</td>
<td>45.0</td>
<td>37.2</td>
<td>25.1</td>
<td>25.6</td>
<td>38.2</td>
<td>34.3</td>
</tr>
<tr>
<td>IRG (0urs)</td>
<td>37.4</td>
<td>45.2</td>
<td>51.9</td>
<td>39.6</td>
<td>25.2</td>
<td>31.5</td>
<td>41.6</td>
<td>37.1</td>
</tr>
<tr>
<td>$\overline{0}$</td>
<td>$\overline{\text{Oracle}}$</td>
<td>38.7</td>
<td>46.9</td>
<td>56.7</td>
<td>49.4</td>
<td>$\overline{44.7}$</td>
<td>35.9</td>
<td>38.8</td>
<td>$\overline{43.1}$</td>
</tr>
</tbody>
</table>
4. Experiments and Results
为了验证我们方法的有效性,我们将我们的模型性能与现有的最先进的 UDA 和 SFDA 方法在四种不同的领域转移情况下进行了比较;1) 适应恶劣天气,2) 真实到艺术,3) 合成到真实,以及 4) 交叉相机。请注意,在 UDA 中,我们可以访问源域和目标域数据。但是,在 SFDA 中,我们只能访问源训练模型,而不能访问源域数据以进行自适应
## 4.1. Implementation details
在 SFDA 设置[35,41]之后,我们采用具有 ImageNet [37]预训练的 ResNet50 [19] 的 Faster-RCNN [56] 作为骨干。在我们所有的实验中,输入图像的尺寸较短边为 600, 同时保持宽高比和批量大小为 1。使用 SGD 优化器训练源模型,学习率为 0。001 和 0 的动量。9代表 10 个纪元。对于建议的框架,教师网络 EMA 动量率$\alpha$设置为等于0。9。此外,教师网络生成的置信度大于阈值$T=0$的伪标签。9 个被选中用于学生培训。我们利用 SGD 优化器训练学生网络,学习率为0。001 和0的动量。9 代表 10 个纪元。我们报告 IoU 阈值为 0 的平均平均精度 (mAP)。5 为教师网对目标域期间的评价
# 4.2. Quantitative comparison
4.2.1 Adaptation to adverse weather
说明。给定一个在晴朗天气条件下训练的模型,我们的目标是在雾/霾等恶劣天气条件下适应图像。Cityscapes [11]包含 2,975 个训练图像和 500 个验证图像,具有 8个对象类别:人,骑手,汽车,卡车,公共汽车,火车,摩托车和自行车。FoggyCityscapes [60]由通过集成雾和深度信息从 Cityscapes 数据集渲染的图像组成。为此, 在 Cityscapes 上训练的模型适用于 FoggyCityscapes, 而无需访问 Cityscapes 数据集
结果。表 1 提供了与现有 UDA 和 SFDA 方法对城市景观$\to$FoggyCityscapes 适应场景的定量比较。从表$\mathbb{E}$1 中,我们可以推断出所提出的方法优于大多数现有的 UDA 方法,例如 SWDA [58] , InstanceDA [69] | [
[
"0.505",
"0.0903",
"0.5728",
"0.0903",
"0.5728",
"0.1016",
"0.505",
"0.1016"
],
[
"0.5728",
"0.09155",
"0.8813",
"0.09155",
"0.8813",
"0.1016",
"0.5728",
"0.1016"
],
[
"0.5034",
"0.1042",
"0.892",
"0.1042",
"0.892",
"0.11743",
"0.5034",
"0.11743"
],
[
"0.0825",
"0.09216",
"0.3057",
"0.09216",
"0.3057",
"0.1061",
"0.0825",
"0.1061"
],
[
"0.09644",
"0.1092",
"0.2957",
"0.108",
"0.2957",
"0.1225",
"0.09644",
"0.1237"
],
[
"0.5034",
"0.11743",
"0.892",
"0.11743",
"0.892",
"0.1307",
"0.5034",
"0.1307"
],
[
"0.1422",
"0.13",
"0.451",
"0.13",
"0.451",
"0.1433",
"0.1422",
"0.1433"
],
[
"0.501",
"0.13",
"0.584",
"0.132",
"0.584",
"0.1465",
"0.501",
"0.1445"
],
[
"0.0809",
"0.1445",
"0.468",
"0.1459",
"0.468",
"0.1604",
"0.0809",
"0.159"
],
[
"0.505",
"0.1578",
"0.568",
"0.1578",
"0.568",
"0.1686",
"0.505",
"0.1686"
],
[
"0.653",
"0.159",
"0.694",
"0.159",
"0.694",
"0.1666",
"0.653",
"0.1666"
],
[
"0.7256",
"0.159",
"0.7935",
"0.159",
"0.7935",
"0.1666",
"0.7256",
"0.1666"
],
[
"0.831",
"0.1572",
"0.8896",
"0.1578",
"0.8896",
"0.1686",
"0.831",
"0.1674"
],
[
"0.7915",
"0.161",
"0.824",
"0.161",
"0.824",
"0.1654",
"0.7915",
"0.1654"
],
[
"0.0809",
"0.161",
"0.468",
"0.161",
"0.468",
"0.1755",
"0.0809",
"0.1755"
],
[
"0.694",
"0.1635",
"0.721",
"0.1635",
"0.721",
"0.276",
"0.694",
"0.276"
],
[
"0.7485",
"0.1642",
"0.7715",
"0.1642",
"0.7715",
"0.2374",
"0.7485",
"0.2374"
],
[
"0.7715",
"0.1642",
"0.796",
"0.1642",
"0.796",
"0.2374",
"0.7715",
"0.2374"
],
[
"0.8022",
"0.1642",
"0.826",
"0.1642",
"0.826",
"0.3245",
"0.8022",
"0.3245"
],
[
"0.835",
"0.1642",
"0.859",
"0.1642",
"0.859",
"0.2374",
"0.835",
"0.2374"
],
[
"0.863",
"0.1622",
"0.8896",
"0.1622",
"0.8896",
"0.3245",
"0.863",
"0.3245"
],
[
"0.669",
"0.1654",
"0.694",
"0.1654",
"0.694",
"0.1849",
"0.669",
"0.1849"
],
[
"0.649",
"0.1654",
"0.669",
"0.1654",
"0.669",
"0.1989",
"0.649",
"0.1989"
],
[
"0.7236",
"0.1654",
"0.7466",
"0.1654",
"0.7466",
"0.1995",
"0.7236",
"0.1995"
],
[
"0.694",
"0.1692",
"0.701",
"0.1692",
"0.701",
"0.1736",
"0.694",
"0.1736"
],
[
"0.539",
"0.1704",
"0.585",
"0.1736",
"0.584",
"0.1849",
"0.5376",
"0.1818"
],
[
"0.5513",
"0.1674",
"0.58",
"0.1674",
"0.58",
"0.1749",
"0.5513",
"0.1749"
],
[
"0.7695",
"0.1704",
"0.777",
"0.1704",
"0.777",
"0.1736",
"0.7695",
"0.1736"
],
[
"0.0809",
"0.1768",
"0.2532",
"0.1768",
"0.2532",
"0.1901",
"0.0809",
"0.1901"
],
[
"0.536",
"0.178",
"0.625",
"0.1863",
"0.6216",
"0.2052",
"0.5337",
"0.1963"
],
[
"0.6724",
"0.178",
"0.6953",
"0.178",
"0.6953",
"0.2874",
"0.6724",
"0.2874"
],
[
"0.5605",
"0.1843",
"0.576",
"0.1843",
"0.576",
"0.1875",
"0.5605",
"0.1875"
],
[
"0.648",
"0.1925",
"0.671",
"0.1925",
"0.671",
"0.3245",
"0.648",
"0.3245"
],
[
"0.722",
"0.1913",
"0.7417",
"0.1913",
"0.7417",
"0.3018",
"0.722",
"0.3018"
],
[
"0.5415",
"0.1963",
"0.6396",
"0.1963",
"0.6396",
"0.2039",
"0.5415",
"0.2039"
],
[
"0.0801",
"0.1963",
"0.3586",
"0.1963",
"0.3586",
"0.2102",
"0.0801",
"0.2102"
],
[
"0.511",
"0.2102",
"0.527",
"0.2102",
"0.527",
"0.2172",
"0.511",
"0.2172"
],
[
"0.536",
"0.2122",
"0.621",
"0.2153",
"0.619",
"0.238",
"0.535",
"0.2349"
],
[
"0.54",
"0.2102",
"0.5786",
"0.2102",
"0.5786",
"0.2172",
"0.54",
"0.2172"
],
[
"0.0809",
"0.2166",
"0.468",
"0.2166",
"0.468",
"0.2299",
"0.0809",
"0.2299"
],
[
"0.539",
"0.226",
"0.589",
"0.2329",
"0.585",
"0.2488",
"0.535",
"0.2412"
],
[
"0.7485",
"0.2291",
"0.7715",
"0.2291",
"0.7715",
"0.303",
"0.7485",
"0.303"
],
[
"0.835",
"0.2291",
"0.859",
"0.2291",
"0.859",
"0.2874",
"0.835",
"0.2874"
],
[
"0.7715",
"0.2299",
"0.7915",
"0.2291",
"0.794",
"0.2727",
"0.774",
"0.2734"
],
[
"0.0809",
"0.2299",
"0.468",
"0.2299",
"0.468",
"0.2437",
"0.0809",
"0.2437"
],
[
"0.0825",
"0.2456",
"0.468",
"0.2456",
"0.468",
"0.2588",
"0.0825",
"0.2588"
],
[
"0.5435",
"0.2488",
"0.5537",
"0.2488",
"0.5537",
"0.2524",
"0.5435",
"0.2524"
],
[
"0.569",
"0.2474",
"0.6055",
"0.2474",
"0.6055",
"0.2551",
"0.569",
"0.2551"
],
[
"0.0809",
"0.26",
"0.4673",
"0.26",
"0.4673",
"0.2734",
"0.0809",
"0.2734"
],
[
"0.5376",
"0.252",
"0.607",
"0.2524",
"0.607",
"0.2644",
"0.5376",
"0.2632"
],
[
"0.54",
"0.2615",
"0.5864",
"0.2615",
"0.5864",
"0.2715",
"0.54",
"0.2715"
],
[
"0.699",
"0.2676",
"0.7183",
"0.2676",
"0.7183",
"0.3018",
"0.699",
"0.3018"
],
[
"0.778",
"0.2695",
"0.7915",
"0.2695",
"0.7915",
"0.2854",
"0.778",
"0.2854"
],
[
"0.576",
"0.2715",
"0.596",
"0.2715",
"0.596",
"0.276",
"0.576",
"0.276"
],
[
"0.0809",
"0.2747",
"0.4673",
"0.2747",
"0.4673",
"0.2886",
"0.0809",
"0.2886"
],
[
"0.5435",
"0.2778",
"0.556",
"0.2778",
"0.556",
"0.2822",
"0.5435",
"0.2822"
],
[
"0.671",
"0.279",
"0.697",
"0.279",
"0.697",
"0.3245",
"0.671",
"0.3245"
],
[
"0.777",
"0.281",
"0.7915",
"0.281",
"0.7915",
"0.3005",
"0.777",
"0.3005"
],
[
"0.8325",
"0.279",
"0.857",
"0.2778",
"0.8594",
"0.324",
"0.835",
"0.3245"
],
[
"0.0801",
"0.289",
"0.468",
"0.2903",
"0.468",
"0.305",
"0.0801",
"0.3037"
],
[
"0.539",
"0.2827",
"0.6045",
"0.2827",
"0.6045",
"0.2935",
"0.539",
"0.2935"
],
[
"0.509",
"0.2903",
"0.539",
"0.2903",
"0.539",
"0.2986",
"0.509",
"0.2986"
],
[
"0.536",
"0.2922",
"0.5596",
"0.2922",
"0.5596",
"0.2998",
"0.536",
"0.2998"
],
[
"0.6978",
"0.2966",
"0.7183",
"0.2966",
"0.7183",
"0.324",
"0.6978",
"0.324"
],
[
"0.7236",
"0.2966",
"0.746",
"0.2966",
"0.746",
"0.324",
"0.7236",
"0.324"
],
[
"0.749",
"0.2954",
"0.7695",
"0.2954",
"0.7695",
"0.324",
"0.749",
"0.324"
],
[
"0.7754",
"0.2974",
"0.7915",
"0.2974",
"0.7915",
"0.3145",
"0.7754",
"0.3145"
],
[
"0.0809",
"0.3062",
"0.468",
"0.3062",
"0.468",
"0.3193",
"0.0809",
"0.3193"
],
[
"0.535",
"0.2986",
"0.574",
"0.2917",
"0.58",
"0.308",
"0.54",
"0.315"
],
[
"0.539",
"0.3093",
"0.5825",
"0.3113",
"0.581",
"0.3225",
"0.5376",
"0.3208"
],
[
"0.5864",
"0.3062",
"0.603",
"0.3062",
"0.603",
"0.3145",
"0.5864",
"0.3145"
],
[
"0.694",
"0.315",
"0.701",
"0.315",
"0.701",
"0.318",
"0.694",
"0.318"
],
[
"0.7715",
"0.3164",
"0.7837",
"0.308",
"0.794",
"0.3164",
"0.7817",
"0.3245"
],
[
"0.652",
"0.3176",
"0.6685",
"0.3213",
"0.664",
"0.3308",
"0.648",
"0.3257"
],
[
"0.0801",
"0.318",
"0.4697",
"0.318",
"0.4697",
"0.336",
"0.0801",
"0.336"
],
[
"0.5073",
"0.3208",
"0.562",
"0.3208",
"0.562",
"0.3276",
"0.5073",
"0.3276"
],
[
"0.665",
"0.3208",
"0.716",
"0.3208",
"0.716",
"0.3276",
"0.665",
"0.3276"
],
[
"0.726",
"0.3208",
"0.7427",
"0.3208",
"0.7427",
"0.3276",
"0.726",
"0.3276"
],
[
"0.751",
"0.3208",
"0.7686",
"0.3208",
"0.7686",
"0.3276",
"0.751",
"0.3276"
],
[
"0.7686",
"0.3208",
"0.789",
"0.3208",
"0.789",
"0.3276",
"0.7686",
"0.3276"
],
[
"0.841",
"0.3193",
"0.8545",
"0.3193",
"0.8545",
"0.3276",
"0.841",
"0.3276"
],
[
"0.869",
"0.3208",
"0.888",
"0.3208",
"0.888",
"0.3289",
"0.869",
"0.3289"
],
[
"0.0801",
"0.3352",
"0.4028",
"0.336",
"0.4028",
"0.351",
"0.0801",
"0.3499"
],
[
"0.8057",
"0.324",
"0.8145",
"0.318",
"0.8203",
"0.324",
"0.8105",
"0.3289"
],
[
"0.5034",
"0.3372",
"0.744",
"0.3372",
"0.744",
"0.351",
"0.5034",
"0.351"
],
[
"0.246",
"0.3547",
"0.33",
"0.3567",
"0.33",
"0.3718",
"0.246",
"0.3694"
],
[
"0.524",
"0.3547",
"0.8906",
"0.3547",
"0.8906",
"0.3687",
"0.524",
"0.3687"
],
[
"0.1912",
"0.3623",
"0.2402",
"0.3662",
"0.2378",
"0.3801",
"0.1896",
"0.377"
],
[
"0.4468",
"0.3643",
"0.4697",
"0.3643",
"0.4697",
"0.3774",
"0.4468",
"0.3774"
],
[
"0.246",
"0.3726",
"0.3406",
"0.375",
"0.3406",
"0.3894",
"0.246",
"0.387"
],
[
"0.505",
"0.3694",
"0.8896",
"0.3694",
"0.8896",
"0.3833",
"0.505",
"0.3833"
],
[
"0.0809",
"0.3926",
"0.468",
"0.3926",
"0.468",
"0.406",
"0.0809",
"0.406"
],
[
"0.505",
"0.387",
"0.8896",
"0.387",
"0.8896",
"0.3977",
"0.505",
"0.3977"
],
[
"0.505",
"0.401",
"0.8896",
"0.401",
"0.8896",
"0.414",
"0.505",
"0.414"
],
[
"0.0809",
"0.4077",
"0.2942",
"0.4077",
"0.2942",
"0.4216",
"0.0809",
"0.4216"
],
[
"0.505",
"0.4153",
"0.8906",
"0.4153",
"0.8906",
"0.43",
"0.505",
"0.43"
],
[
"0.0809",
"0.4224",
"0.468",
"0.4224",
"0.468",
"0.4363",
"0.0809",
"0.4363"
],
[
"0.5034",
"0.43",
"0.892",
"0.43",
"0.892",
"0.4443",
"0.5034",
"0.4443"
],
[
"0.0809",
"0.4375",
"0.468",
"0.4375",
"0.468",
"0.452",
"0.0809",
"0.452"
],
[
"0.0825",
"0.452",
"0.468",
"0.452",
"0.468",
"0.4666",
"0.0825",
"0.4666"
],
[
"0.5034",
"0.4463",
"0.701",
"0.4463",
"0.701",
"0.4602",
"0.5034",
"0.4602"
],
[
"0.0809",
"0.4673",
"0.3179",
"0.4673",
"0.3179",
"0.481",
"0.0809",
"0.481"
],
[
"0.5034",
"0.4653",
"0.7197",
"0.4653",
"0.7197",
"0.4792",
"0.5034",
"0.4792"
],
[
"0.232",
"0.483",
"0.3228",
"0.483",
"0.3228",
"0.4976",
"0.232",
"0.4976"
],
[
"0.523",
"0.488",
"0.892",
"0.488",
"0.892",
"0.502",
"0.523",
"0.502"
],
[
"0.2336",
"0.5024",
"0.3218",
"0.5024",
"0.3218",
"0.5176",
"0.2336",
"0.5176"
],
[
"0.505",
"0.5024",
"0.8906",
"0.5024",
"0.8906",
"0.5176",
"0.505",
"0.5176"
],
[
"0.2197",
"0.5215",
"0.3245",
"0.5195",
"0.3245",
"0.537",
"0.2197",
"0.539"
],
[
"0.505",
"0.518",
"0.8906",
"0.518",
"0.8906",
"0.532",
"0.505",
"0.532"
],
[
"0.0809",
"0.539",
"0.468",
"0.5405",
"0.468",
"0.5547",
"0.0809",
"0.5537"
],
[
"0.505",
"0.534",
"0.8906",
"0.534",
"0.8906",
"0.5474",
"0.505",
"0.5474"
],
[
"0.0809",
"0.5537",
"0.468",
"0.5537",
"0.468",
"0.5674",
"0.0809",
"0.5674"
],
[
"0.505",
"0.5503",
"0.8906",
"0.5503",
"0.8906",
"0.561",
"0.505",
"0.561"
],
[
"0.505",
"0.563",
"0.8906",
"0.563",
"0.8906",
"0.577",
"0.505",
"0.577"
],
[
"0.0825",
"0.5693",
"0.38",
"0.5693",
"0.38",
"0.5835",
"0.0825",
"0.5835"
],
[
"0.505",
"0.579",
"0.8906",
"0.579",
"0.8906",
"0.5923",
"0.505",
"0.5923"
],
[
"0.0825",
"0.5854",
"0.468",
"0.5854",
"0.468",
"0.5986",
"0.0825",
"0.5986"
],
[
"0.505",
"0.5933",
"0.8906",
"0.5933",
"0.8906",
"0.607",
"0.505",
"0.607"
],
[
"0.0825",
"0.5996",
"0.4673",
"0.5996",
"0.4673",
"0.613",
"0.0825",
"0.613"
],
[
"0.0809",
"0.613",
"0.468",
"0.613",
"0.468",
"0.6274",
"0.0809",
"0.6274"
],
[
"0.5034",
"0.6094",
"0.892",
"0.6094",
"0.892",
"0.6226",
"0.5034",
"0.6226"
],
[
"0.0825",
"0.627",
"0.4468",
"0.627",
"0.4468",
"0.6416",
"0.0825",
"0.6416"
],
[
"0.5024",
"0.6226",
"0.8906",
"0.6235",
"0.8906",
"0.638",
"0.5024",
"0.637"
],
[
"0.4478",
"0.631",
"0.4656",
"0.631",
"0.4656",
"0.638",
"0.4478",
"0.638"
],
[
"0.0809",
"0.6416",
"0.468",
"0.6396",
"0.468",
"0.654",
"0.0809",
"0.656"
],
[
"0.505",
"0.6396",
"0.892",
"0.6396",
"0.892",
"0.653",
"0.505",
"0.653"
],
[
"0.0809",
"0.655",
"0.3677",
"0.655",
"0.3677",
"0.6685",
"0.0809",
"0.6685"
],
[
"0.505",
"0.656",
"0.585",
"0.656",
"0.585",
"0.6675",
"0.505",
"0.6675"
],
[
"0.07434",
"0.677",
"0.46",
"0.69",
"0.4575",
"0.73",
"0.0719",
"0.7163"
],
[
"0.5034",
"0.674",
"0.732",
"0.674",
"0.732",
"0.688",
"0.5034",
"0.688"
],
[
"0.2239",
"0.6816",
"0.2507",
"0.6816",
"0.2507",
"0.6943",
"0.2239",
"0.6943"
],
[
"0.2656",
"0.685",
"0.29",
"0.688",
"0.2876",
"0.7026",
"0.2632",
"0.6997"
],
[
"0.326",
"0.681",
"0.4167",
"0.681",
"0.4167",
"0.696",
"0.326",
"0.696"
],
[
"0.5024",
"0.696",
"0.7793",
"0.696",
"0.7793",
"0.709",
"0.5024",
"0.709"
],
[
"0.1405",
"0.704",
"0.1732",
"0.704",
"0.1732",
"0.7153",
"0.1405",
"0.7153"
],
[
"0.1724",
"0.707",
"0.1814",
"0.707",
"0.1814",
"0.7104",
"0.1724",
"0.7104"
],
[
"0.4468",
"0.7173",
"0.468",
"0.7173",
"0.468",
"0.73",
"0.4468",
"0.73"
],
[
"0.5024",
"0.7197",
"0.8906",
"0.72",
"0.8906",
"0.735",
"0.5024",
"0.7344"
],
[
"0.0866",
"0.732",
"0.468",
"0.732",
"0.468",
"0.7456",
"0.0866",
"0.7456"
],
[
"0.5063",
"0.7363",
"0.8906",
"0.7363",
"0.8906",
"0.75",
"0.5063",
"0.75"
],
[
"0.0809",
"0.747",
"0.468",
"0.747",
"0.468",
"0.7603",
"0.0809",
"0.7603"
],
[
"0.505",
"0.7505",
"0.892",
"0.7505",
"0.892",
"0.7646",
"0.505",
"0.7646"
],
[
"0.0809",
"0.762",
"0.468",
"0.762",
"0.468",
"0.776",
"0.0809",
"0.776"
],
[
"0.5034",
"0.765",
"0.8906",
"0.765",
"0.8906",
"0.779",
"0.5034",
"0.779"
],
[
"0.0809",
"0.7764",
"0.468",
"0.7764",
"0.468",
"0.7905",
"0.0809",
"0.7905"
],
[
"0.5034",
"0.781",
"0.8906",
"0.781",
"0.8906",
"0.7944",
"0.5034",
"0.7944"
],
[
"0.0801",
"0.7905",
"0.246",
"0.7915",
"0.246",
"0.806",
"0.0801",
"0.8047"
],
[
"0.5024",
"0.797",
"0.8906",
"0.797",
"0.8906",
"0.81",
"0.5024",
"0.81"
],
[
"0.0801",
"0.808",
"0.2507",
"0.808",
"0.2507",
"0.8213",
"0.0801",
"0.8213"
],
[
"0.5034",
"0.81",
"0.8936",
"0.811",
"0.8936",
"0.8257",
"0.5034",
"0.8247"
],
[
"0.10046",
"0.8247",
"0.468",
"0.8247",
"0.468",
"0.8384",
"0.10046",
"0.8384"
],
[
"0.5034",
"0.827",
"0.721",
"0.827",
"0.721",
"0.8403",
"0.5034",
"0.8403"
],
[
"0.0809",
"0.8403",
"0.468",
"0.8403",
"0.468",
"0.854",
"0.0809",
"0.854"
],
[
"0.5034",
"0.8413",
"0.892",
"0.8413",
"0.892",
"0.855",
"0.5034",
"0.855"
],
[
"0.0801",
"0.854",
"0.468",
"0.855",
"0.468",
"0.869",
"0.0801",
"0.8687"
],
[
"0.5034",
"0.857",
"0.8906",
"0.857",
"0.8906",
"0.8706",
"0.5034",
"0.8706"
],
[
"0.0809",
"0.8706",
"0.2532",
"0.8706",
"0.2532",
"0.884",
"0.0809",
"0.884"
],
[
"0.5034",
"0.8706",
"0.8906",
"0.872",
"0.8906",
"0.886",
"0.5034",
"0.8853"
],
[
"0.1569",
"0.8853",
"0.392",
"0.886",
"0.392",
"0.904",
"0.1569",
"0.903"
],
[
"0.4468",
"0.887",
"0.468",
"0.887",
"0.468",
"0.901",
"0.4468",
"0.901"
],
[
"0.5034",
"0.887",
"0.8896",
"0.887",
"0.8896",
"0.901",
"0.5034",
"0.901"
]
] | [
"Table 1.",
"Quantitativeresults(mAP)for Cityscapes-",
"FoggyCityscapes. S: Source only, O: Oracle, UDA: Unsu-",
"异表示为GDL,可以正式写成",
"LGDL = KL(α(Zst),o(Zst))",
"pervised Domain Adaptation, SFDA: Source-Free Domain",
"+ KL(α(Zte), α(Zte)) + KL(α(Zst), α(Zte));",
"Adaptation.",
"其中KL表示Kullback-Leibler散度,表示softmax",
"TypeMethod",
"orsnrider",
"truckbustrain",
"bicyclemAP",
"mcycR",
"运算符。因此,最小化CGDL会监督IRG网络,进而",
"公公公",
"#####5",
"",
"上有有有公",
"",
"武",
"3",
"",
"",
"",
"DA Faster",
"reeOnl",
"",
"学习实例关系矩阵(8)",
"RAMEUc C",
"135838434359899",
"Tale",
"上有公",
"理院",
"RobustDA[31](ICCV2019",
"3.2.2Graph Contrastive Loss (GCL)",
"UDA",
"CINeDA ",
"SWDAGS",
"实例成对标签。为了利用对比损失,我们需要了解给定",
"IFAN DADA",
"",
"###商#司",
"####",
"锚建议与其他RPN建议的关系,以形成正/负对。如",
"前所述,此关系矩阵()是从IRG网络获得的,该",
"vo",
"iveDA121",
"网络学习了提案之间的相互关系。例如成对标签生成",
"Categorical DA",
"MeGA CDA",
"",
"23.3",
"DA1",
"让我们考虑提案实例i和i,以及它们之间的相应学",
"EOY",
"995590",
"",
"0",
"习关系eiiEε。现在,可以通过简单地在归一化&上",
"SFOD-Mosaic []",
"SFDA",
"HCL",
"3",
"",
"",
"29.6",
"设置值e来获得正/负对,其中eii>ε将指示它们",
"LOsTi",
"IRG (Ours)",
"JG3",
"",
"",
".T",
"高度相关,形成正对,反之亦然。ith和jth建议实例",
"0Orack",
"46.956.7",
"35.5",
"49.4",
"44.",
"38.8",
"43.1",
"之间的成对标签,表示为Mii,可以给出为:",
"",
"4. Experiments and Results",
"[o, eij <e",
"为了验证我们方法的有效性,我们将我们的模型性",
"Mij=",
"(7)",
"[1, eii ≥e,",
"能与现有的最先进的UDA和SFDA方法在四种不同",
"其中E是超参数。因此,对于给定的锚建议,我们从",
"的领域转移情况下进行了比较;1)适应恶劣天气,2",
"真实到艺术,3)合成到真实,以及4)交叉相机。请注",
"Mii获得其相应的正负建议对",
"意,在UDA中,我们可以访问源域和目标域数据。但",
"实例成对日志。如图所示。5,将RoI特征投影为",
"是,在SFDA中,我们只能访问源训练模型,而不能",
"键ki并查询qi,以便对RoI特征65]之间的更好相",
"关性进行建模。对于给定的ithRoI功能,我们获得密",
"访问源域数据以进行自适应",
"钥,查询和成对日志,如下所示:",
"4.1. Implementation details",
"ki = Wh - Vi,",
"在SFDA设置35,41]之后,我们采用具有ImageNet",
"qi = Wq- Vi,",
"[37]预训练的ResNet50[19]的Faster-RCNN[56]作",
"Rij = q(kj)T",
"为骨干。在我们所有的实验中,输人图像的尺寸较短边",
"其中W和W。是线性层权重,ki,qi和Ri是密钥,",
"为600,同时保持宽高比和批量大小为1。使用SGD",
"查询和实例成对日志。为此,可以根据实例对logits(",
"优化器训练源模型,学习率为0。001和0的动量。9",
"代表10个纪元。对于建议的框架,教师网络EMA动",
"Rii)和实例对标签(Mii)计算对比损失",
"量率α设置为等于0。9。此外,教师网络生成的置信",
"对比损失。考虑任何ith建议作为锚,其中iEI=",
"度大于阈值T=0的伪标签。9个被选中用于学生培",
"[1,2...,m},让我们定义一个由不包括锚的所有样",
"本组成的集合为A()=I()。此外,使用M",
"训。我们利用SGD优化器训练学生网络,学习率为0。",
"中的成对标签,我们可以创建一个定义为P()",
"001和0的动量。9代表10个纪元。我们报告IoU阈",
"三",
"(pEI:Mi=1]|(i的正对集。对于给定的th建",
"值为0的平均平均精度(mAP)。5为教师网对目标域",
"议,图形对比损失(GCL)可以计算为:",
"期间的评价",
"Lec-- oe o bapa(k ",
"4.2. Quantitative comparison",
"1",
"",
"exp (qi(kp)T)",
"4.2.1Adaptation to adverse weather",
"iel",
"",
"(8)",
"说明。给定一个在晴朗天气条件下训练的模型,我们的",
"通过使用建议的损失LGCL进行训练,鼓励学生网络",
"目标是在雾/霾等恶劣天气条件下适应图像。Cityscapes",
"学习目标域上的高质量特征表示。我们通过在Sec中",
"[11]包含2,975个训练图像和500个验证图像,具有8",
"进行实验分析来证明它提高了检测器的性能。4。请",
"个对象类别:人,骑手,汽车,卡车,公共汽车,火车,摩",
"注意,GCL仅用于更新学生网络参数,而教师网络参",
"托车和自行车。FoggyCityscapes6ol由通过集成雾和",
"数通过EMA进行更新",
"深度信息从Cityscapes数据集染的图像组成。为此,",
"3.3.Overall objective",
"在Cityscapes上训练的模型适用于FoggyCityscapes,",
"到目前为止,我们已经引入了实例关系图(IRG),图",
"而无需访问Cityscapes数据集",
"蒸馏损失(GDL)和图对比损失(GCL),以有效地解",
"结果。表1提供了与现有UDA和SFDA方法对城",
"决检测的无源域自适应问题。然后,我们提出的SFDA",
"市景观→FoggyCityscapes适应场景的定量比较。从",
"方法的总体目标表述为:",
"表E1中,我们可以推断出所提出的方法优于大多数现",
"CSFDA=CSL+LGDL+LGCL,",
"(9)",
"有的UDA方法,例如SWDA[58]],InstanceDA[69]"
] | {
"arxiv_id": "2203.15793",
"language": "zh",
"page_idx": 4
} |
||
2212.03019-zh-0 | 2212.03019-zh-0.jpg | Style transfer and classification in hebrew news items
Nir Weingarten
Reichman university, Israel nir. weingarten@ post. idc. ac. il
# 1 Introduction
Tsarfaty 等人将希伯来语归类为形态丰富语言(MRL)。(2010)。因此,前缀和后缀会附加到单词上以更改其语法含义。Tsarfaty 等人 (2019) 已经证明了这种结构会导致语言中固有的形态歧义。因此,除其他外,希伯来语 NLP 算法落后于其他非 MRL 语言
NLP 的最新发展以及希伯来语 NLP 领域的新研究带来了广阔的前景。在这项工作中,我们为两个希伯来语 NLP 任务实现,修改和检查两个不同的基于 Transformer 的架构。我们使用类似 VanillaBert 的转换器和经过微调的 HeBert 版本 (Chirqui 和 Yahav) 2020) 对新闻项目进行了样式转换增强的文本生成和分类。。这两种情况下的学习都是通过从在线新闻档案中抓取的数据完成的
# 2 Related Works
这项工作中提出的文本生成器和分类器都是基于自我关注的转换器,使用 Vaswani Shazeer, Parmar, Uszkoreit, Jones, Gomez, Kaiser 和 Polosukhin 在他们的论文中描述的相同架构注意就是你所需要的(2017)。Transformers 是一种神经网络架构,旨在利用注意力 (仅注意力) 在序列转换任务中获取上下文信息。较旧的递归神经网络模型利用交叉注意力来推断序列到序列转换任务中的上下文。递归神经网络(RNN),长短期记忆神经网络(LSTM) 和门控 RNN (GRU) 都会生成一系列隐藏状态- $h_t$ -作为时间$t$和先前隐藏状态$h_{t-1}$的输入的函数。虽然这允许神经网络在每次$t$时学习和利用上下文, 但由于相同的隐藏状态向量过载了信息,因此来自遥远位置的上下文会减少。为了解决这个问题,开发了一种交叉注意力机制-交叉注意力使用每个位置的不同隐藏状态的加权平均值,而不是一个重载的隐藏向量。该加权平均值的权重被学习,允许网络决定何时对序列的不同部分给予更多的“关注”,从而永远不会使隐藏向量过载变形金刚引人了一种新型的注意力——自我注意力——它抛弃了所有的重复现象,转而支持一种新的注意力模式。变压器是由注意力头构建的,其中每个输入$x$被嵌人到某个$k$维向量中,然后经历三个线性层(分别)以产生三个新向量-$Q$(查询),$K$(键)和$V$(值)。我们继
1 | [
[
"0.1528",
"0.1768",
"0.755",
"0.178",
"0.755",
"0.1957",
"0.1528",
"0.1945"
],
[
"0.3882",
"0.2216",
"0.517",
"0.2216",
"0.517",
"0.2361",
"0.3882",
"0.2361"
],
[
"0.339",
"0.2437",
"0.5664",
"0.2437",
"0.5664",
"0.2583",
"0.339",
"0.2583"
],
[
"0.3308",
"0.2644",
"0.574",
"0.2632",
"0.574",
"0.281",
"0.3308",
"0.2822"
],
[
"0.1356",
"0.3164",
"0.3308",
"0.3164",
"0.3308",
"0.3308",
"0.1356",
"0.3308"
],
[
"0.1365",
"0.3484",
"0.767",
"0.3499",
"0.767",
"0.3643",
"0.1365",
"0.363"
],
[
"0.1396",
"0.3706",
"0.7656",
"0.3706",
"0.7656",
"0.3806",
"0.1396",
"0.3806"
],
[
"0.1381",
"0.3882",
"0.7183",
"0.3882",
"0.7183",
"0.4016",
"0.1381",
"0.4016"
],
[
"0.1609",
"0.406",
"0.767",
"0.406",
"0.767",
"0.4192",
"0.1609",
"0.4192"
],
[
"0.1396",
"0.4255",
"0.7686",
"0.4255",
"0.7686",
"0.4395",
"0.1396",
"0.4395"
],
[
"0.1381",
"0.4443",
"0.7695",
"0.4443",
"0.7695",
"0.4583",
"0.1381",
"0.4583"
],
[
"0.1381",
"0.4634",
"0.767",
"0.4634",
"0.767",
"0.4766",
"0.1381",
"0.4766"
],
[
"0.1381",
"0.4817",
"0.4143",
"0.4817",
"0.4143",
"0.4956",
"0.1381",
"0.4956"
],
[
"0.1365",
"0.5264",
"0.357",
"0.5264",
"0.357",
"0.5415",
"0.1365",
"0.5415"
],
[
"0.1381",
"0.56",
"0.7686",
"0.56",
"0.7686",
"0.5737",
"0.1381",
"0.5737"
],
[
"0.1381",
"0.579",
"0.767",
"0.579",
"0.767",
"0.5923",
"0.1381",
"0.5923"
],
[
"0.1365",
"0.5967",
"0.767",
"0.5977",
"0.767",
"0.6123",
"0.1365",
"0.6113"
],
[
"0.1381",
"0.617",
"0.767",
"0.617",
"0.767",
"0.631",
"0.1381",
"0.631"
],
[
"0.1381",
"0.636",
"0.7686",
"0.636",
"0.7686",
"0.6494",
"0.1381",
"0.6494"
],
[
"0.1381",
"0.654",
"0.767",
"0.654",
"0.767",
"0.6675",
"0.1381",
"0.6675"
],
[
"0.1381",
"0.675",
"0.7686",
"0.675",
"0.7686",
"0.688",
"0.1381",
"0.688"
],
[
"0.1381",
"0.6934",
"0.7686",
"0.6934",
"0.7686",
"0.707",
"0.1381",
"0.707"
],
[
"0.1381",
"0.712",
"0.767",
"0.712",
"0.767",
"0.726",
"0.1381",
"0.726"
],
[
"0.1381",
"0.73",
"0.7686",
"0.73",
"0.7686",
"0.7437",
"0.1381",
"0.7437"
],
[
"0.1381",
"0.75",
"0.763",
"0.75",
"0.763",
"0.763",
"0.1381",
"0.763"
],
[
"0.1381",
"0.768",
"0.767",
"0.768",
"0.767",
"0.782",
"0.1381",
"0.782"
],
[
"0.1405",
"0.787",
"0.767",
"0.787",
"0.767",
"0.8003",
"0.1405",
"0.8003"
],
[
"0.1381",
"0.806",
"0.7686",
"0.806",
"0.7686",
"0.8193",
"0.1381",
"0.8193"
],
[
"0.4478",
"0.8486",
"0.46",
"0.8486",
"0.46",
"0.86",
"0.4478",
"0.86"
]
] | [
"Style transfer and classification in hebrew news items",
"Nir Weingarten",
"Reichman university, Israel",
"[email protected]",
"1Introduction",
"Tsarfaty等人将希伯来语归类为形态丰富语言(MRL)。(2010)。因此,前缀和后缀会附",
"加到单词上以更改其语法含义。Tsarfaty等人(2019)已经证明了这种结构会导致语言中",
"固有的形态歧义。因此,除其他外,希伯来语NLP算法落后于其他非MRL语言",
"NLP的最新发展以及希伯来语NLP领域的新研究带来了广阔的前景。在这项工作",
"中,我们为两个希伯来语NLP任务实现,修改和检查两个不同的基于Transformer的架",
"构。我们使用类似VanillaBert的转换器和经过微调的HeBert版本(Chirqui和Yahav,",
"2020)对新闻项目进行了样式转换增强的文本生成和分类。。这两种情况下的学习都是通",
"过从在线新闻档案中抓取的数据完成的",
"2 Related Works",
"这项工作中提出的文本生成器和分类器都是基于自我关注的转换器,使用Vaswani,",
"Shazeer,Parmar,Uszkoreit,Jones,Gomez,Kaiser和Polosukhin在他们的论文中描",
"述的相同架构注意就是你所需要的(2017)。Transformers是一种神经网络架构,旨在利",
"用注意力(仅注意力)在序列转换任务中获取上下文信息。较旧的递归神经网络模型利",
"用交叉注意力来推断序列到序列转换任务中的上下文。递归神经网络(RNN),长短期记",
"忆神经网络(LSTM)和门控RNN(GRU)都会生成一系列隐藏状态-ht-作为时间t和",
"先前隐藏状态ht-1的输入的函数。虽然这允许神经网络在每次t时学习和利用上下文,",
"但由于相同的隐藏状态向量过载了信息,因此来自遥远位置的上下文会减少。为了解决",
"这个问题,开发了一种交叉注意力机制-交叉注意力使用每个位置的不同隐藏状态的加权",
"平均值,而不是一个重载的隐藏向量。该加权平均值的权重被学习,允许网络决定何时",
"对序列的不同部分给予更多的“关注”,从而永远不会使隐藏向量过载变形金刚引入了一",
"种新型的注意力一一自我注意力它抛弃了所有的重复现象,转而支持一种新的注意",
"力模式。变压器是由注意力头构建的,其中每个输人被嵌人到某个k维向量中,然后",
"经历三个线性层(分别)以产生三个新向量-Q(查询),K(键)和V(值)。我们继",
"1"
] | {
"arxiv_id": "2212.03019",
"language": "zh",
"page_idx": 0
} |
||
2212.03019-zh-1 | 2212.03019-zh-1.jpg | 续计算每个输入$x$的查询向量与序列中所有其他输入的键向量的点积。这产生了一个新的向量$A$输入序列的长度。$A$用作权重向量,以与交叉注意相同的方式计算上下文向量$M$ 。因此,转换器可以轻松快速地从序列的任何部分维护上下文。堆叠许多注意力可以产生更强大的学习,并且该架构非常适合迁移学习
最近在 NLP 中非常流行的变压器改编是 BERT-用于语言理解的双向变压器 (Devlin, Chang, Lee, Toutanova2018)。在这项工作中,BERT 既用于分类器,也部分用于文本生成器。BERT 是一种体系结构,旨在允许在未标记的文本上双向预训练强大而健壮的语言模型 (即在所有层中对左右上下文进行条件调节)。这种预先训练的 BERT 模型稍后可以针对特定的 NLP 任务和特定的文本语料库 (同一语言)进行微调。。微调 BERT 模型是非常快的,并在最先进的性能的结果。BERT 预训练网络由许多“块”组成,其中每个块由几个自注意头组成,一个剩余连接,层归一化和前馈层
希伯来语 NLP 领域最近的一项重大发展是引人了 HeBERT (Chirqui 和 Yahav, 2020)。HeBert 是希伯来语的一种新的功能强大的预训练 BERT 变体,在各种语言任务(如情感检测,填空,NER,POS 和情感分析)上表现优于所有其他希伯来语 NLP 模型。希伯来语被认为是一种 MRL 语言,因此需要更多的处理来消除文本的歧义。为了解决这个任务,HeBERT 的创建者在他们的论文中测试了各种方法来标记希伯来语文本。对不同的方法进行了实证检验:char 标记化,基于不同子单词的标记化,基于词素的标记化, 最后基于单词的标记化。他们观察到无监督任务的基于不同子单词的变体之间的性能相似,其中基于 char 的标记化优于填空任务中的其他方法。对于有监督的任务,使用了基于 YAP 解析器的 30K 长子字标记器,并显示出最佳结果
YAP ('YetAnotherParser’) -用于处理现代希伯来语文本的联合词法句法分析框架(More 和 Tsarfaty, 2016)。{YAP}是Zhang 和 Clarks 的结构预测框架(2011)的扩展。YAP 以格图结构的形式接收一些输人文本的完整形态分析 (MA)。格结构包含输入文本序列的所有可能的形态分析,图中的每个相邻路径表示序列的可能的形态分割。每个形态学分割用于构建依赖树。因此,有许多依赖树(指数可能的路径数)。YAP 继续处理MA,它有两个并行的依赖任务:形态消歧和依赖解析:形态消歧(MD)的任务是从形态分析(MA)中产生最有可能的晶格路径。任务 pf 依赖解析 (DEP) 是为给定路径选择mpst 可能的依赖关系树。对于某些文本输入$x$ YAP 联合预测元组$(MD(x),DEP(x))$ 。预测的 MD 和 DEP 相互对应,是对概率最高的句子的分析
被认为是分类任务基础的原始变压器模型的另一个变体是多语言 Bert-mBert (Devlin, 2018)。mBert 接受了来自不同家庭的 104 种不同语言的培训,Wu 和 Dredze(2019) 证明了 mBert 作为零起点语言迁移任务具有很高的性能。如 HeBert 论文所示,HeBert 在分类任务中的表现优于 mBert
均匀流形近似和投影 (UMAP) Leland, McInnes, Healy 和 Melville (2018) 是一种非线性降维技术,用于分析和表示任何类型的高维数据。我们已经使用 UMAP 可视化文章标题的嵌入。UMAP 通过构建表示数据的高维图来工作,然后优化低维图,使其在结构上尽可能相似。这个问题以前由 T-SNE 解决。UMAP 算法有两个阶段:1。在节点
2 | [
[
"0.1365",
"0.1218",
"0.767",
"0.1225",
"0.767",
"0.1364",
"0.1365",
"0.1351"
],
[
"0.1381",
"0.1414",
"0.7686",
"0.1414",
"0.7686",
"0.1547",
"0.1381",
"0.1547"
],
[
"0.1381",
"0.159",
"0.767",
"0.159",
"0.767",
"0.1724",
"0.1381",
"0.1724"
],
[
"0.1381",
"0.1787",
"0.4958",
"0.1787",
"0.4958",
"0.1925",
"0.1381",
"0.1925"
],
[
"0.1626",
"0.1963",
"0.7686",
"0.1976",
"0.7686",
"0.2122",
"0.1626",
"0.2108"
],
[
"0.1365",
"0.2166",
"0.7686",
"0.2153",
"0.7686",
"0.2299",
"0.1365",
"0.2311"
],
[
"0.1381",
"0.2349",
"0.767",
"0.2349",
"0.767",
"0.2488",
"0.1381",
"0.2488"
],
[
"0.1381",
"0.254",
"0.7686",
"0.254",
"0.7686",
"0.2676",
"0.1381",
"0.2676"
],
[
"0.1381",
"0.2734",
"0.7686",
"0.2734",
"0.7686",
"0.2874",
"0.1381",
"0.2874"
],
[
"0.1381",
"0.2922",
"0.7686",
"0.2922",
"0.7686",
"0.3062",
"0.1381",
"0.3062"
],
[
"0.1381",
"0.3113",
"0.5933",
"0.3113",
"0.5933",
"0.3245",
"0.1381",
"0.3245"
],
[
"0.1626",
"0.3289",
"0.7715",
"0.33",
"0.7715",
"0.3447",
"0.1626",
"0.3435"
],
[
"0.1381",
"0.3484",
"0.767",
"0.3484",
"0.767",
"0.3623",
"0.1381",
"0.3623"
],
[
"0.1381",
"0.3694",
"0.767",
"0.3694",
"0.767",
"0.3801",
"0.1381",
"0.3801"
],
[
"0.1396",
"0.3865",
"0.767",
"0.3865",
"0.767",
"0.3997",
"0.1396",
"0.3997"
],
[
"0.1396",
"0.4048",
"0.7686",
"0.4048",
"0.7686",
"0.4185",
"0.1396",
"0.4185"
],
[
"0.1381",
"0.4248",
"0.7686",
"0.4248",
"0.7686",
"0.4382",
"0.1381",
"0.4382"
],
[
"0.1396",
"0.4443",
"0.767",
"0.4443",
"0.767",
"0.455",
"0.1396",
"0.455"
],
[
"0.1381",
"0.4622",
"0.7686",
"0.4622",
"0.7686",
"0.476",
"0.1381",
"0.476"
],
[
"0.1381",
"0.481",
"0.55",
"0.481",
"0.55",
"0.4944",
"0.1381",
"0.4944"
],
[
"0.1626",
"0.5",
"0.7686",
"0.5",
"0.7686",
"0.513",
"0.1626",
"0.513"
],
[
"0.1381",
"0.518",
"0.767",
"0.518",
"0.767",
"0.532",
"0.1381",
"0.532"
],
[
"0.1381",
"0.536",
"0.7686",
"0.537",
"0.7686",
"0.5503",
"0.1381",
"0.55"
],
[
"0.1381",
"0.556",
"0.7686",
"0.556",
"0.7686",
"0.5693",
"0.1381",
"0.5693"
],
[
"0.1381",
"0.5747",
"0.7686",
"0.5747",
"0.7686",
"0.5884",
"0.1381",
"0.5884"
],
[
"0.1381",
"0.5933",
"0.7686",
"0.5933",
"0.7686",
"0.607",
"0.1381",
"0.607"
],
[
"0.1381",
"0.613",
"0.7686",
"0.613",
"0.7686",
"0.627",
"0.1381",
"0.627"
],
[
"0.1381",
"0.632",
"0.7715",
"0.632",
"0.7715",
"0.6465",
"0.1381",
"0.6465"
],
[
"0.1381",
"0.651",
"0.5645",
"0.651",
"0.5645",
"0.664",
"0.1381",
"0.664"
],
[
"0.1642",
"0.6694",
"0.7695",
"0.6694",
"0.7695",
"0.683",
"0.1642",
"0.683"
],
[
"0.1381",
"0.688",
"0.7695",
"0.688",
"0.7695",
"0.702",
"0.1381",
"0.702"
],
[
"0.1381",
"0.7085",
"0.7686",
"0.7085",
"0.7686",
"0.7217",
"0.1381",
"0.7217"
],
[
"0.1381",
"0.726",
"0.353",
"0.726",
"0.353",
"0.7393",
"0.1381",
"0.7393"
],
[
"0.1626",
"0.7437",
"0.767",
"0.7437",
"0.767",
"0.757",
"0.1626",
"0.757"
],
[
"0.1381",
"0.762",
"0.7686",
"0.763",
"0.7686",
"0.778",
"0.1381",
"0.7764"
],
[
"0.1396",
"0.7827",
"0.7686",
"0.7827",
"0.7686",
"0.797",
"0.1396",
"0.797"
],
[
"0.1381",
"0.802",
"0.767",
"0.802",
"0.767",
"0.815",
"0.1381",
"0.815"
],
[
"0.4453",
"0.8477",
"0.4617",
"0.8477",
"0.4617",
"0.8623",
"0.4453",
"0.8623"
]
] | [
"续计算每个输入的查询向量与序列中所有其他输入的键向量的点积。这产生了一个新",
"的向量A输入序列的长度。A用作权重向量,以与交叉注意相同的方式计算上下文向量",
"M。因此,转换器可以轻松快速地从序列的任何部分维护上下文。堆叠许多注意力可以",
"产生更强大的学习,并且该架构非常适合迁移学习",
"最近在NLP中非常流行的变压器改编是BERT-用于语言理解的双向变压器(Devlin,",
"Chang,Lee,Toutanova2018)。在这项工作中,BERT既用于分类器,也部分用于文本",
"生成器。BERT是一种体系结构,旨在允许在未标记的文本上双向预训练强大而健壮的",
"语言模型(即在所有层中对左右上下文进行条件调节)。这种预先训练的BERT模型稍",
"后可以针对特定的NLP任务和特定的文本语料库(同一语言)进行微调。。微调BERT",
"模型是非常快的,并在最先进的性能的结果。BERT预训练网络由许多“块”组成,其中",
"每个块由几个自注意头组成,一个剩余连接,层归一化和前馈层",
"希伯来语NLP领域最近的一项重大发展是引入了HeBERT(Chirqui和Yahav,",
"2020)。HeBert是希伯来语的一种新的功能强大的预训练BERT变体,在各种语言任务",
"(如情感检测,填空,NER,POS和情感分析)上表现优于所有其他希伯来语NLP模型。",
"希伯来语被认为是一种MRL语言,因此需要更多的处理来消除文本的歧义。为了解决这",
"个任务,HeBERT的创建者在他们的论文中测试了各种方法来标记希伯来语文本。对不",
"同的方法进行了实证检验:char标记化,基于不同子单词的标记化,基于词素的标记化,",
"最后基于单词的标记化。他们观察到无监督任务的基于不同子单词的变体之间的性能相",
"似,其中基于char的标记化优于填空任务中的其他方法。对于有监督的任务,使用了基",
"于YAP解析器的30K长子字标记器,并显示出最佳结果",
"YAP(YetAnotherParser)-用于处理现代希伯来语文本的联合词法句法分析框架",
"(More和Tsarfaty,2016)。YAP是Zhang和Clarks的结构预测框架(2011)的扩展。",
"YAP以格图结构的形式接收一些输人文本的完整形态分析(MA)。格结构包含输人文本",
"序列的所有可能的形态分析,图中的每个相邻路径表示序列的可能的形态分割。每个形",
"态学分割用于构建依赖树。因此,有许多依赖树(指数可能的路径数)。YAP继续处理",
"MA,它有两个并行的依赖任务:形态消歧和依赖解析:形态消歧(MD)的任务是从形",
"态分析(MA)中产生最有可能的晶格路径。任务pf依赖解析(DEP)是为给定路径选择",
"mpst可能的依赖关系树。对于某些文本输人αYAP联合预测元组(MD(c),DEP(a))。",
"预测的MD和DEP相互对应,是对概率最高的句子的分析",
"被认为是分类任务基础的原始变压器模型的另一个变体是多语言Bert-mBert(Devlin,",
"2018)。mBert接受了来自不同家庭的104种不同语言的培训,Wu和Dredze(2019)证",
"明了mBert作为零起点语言迁移任务具有很高的性能。如HeBert论文所示,HeBert在",
"分类任务中的表现优于mBert",
"均匀流形近似和投影(UMAP)Leland,McInnes,Healy和Melville(2018)是一种",
"非线性降维技术,用于分析和表示任何类型的高维数据。我们已经使用UMAP可视化",
"文章标题的嵌入。UMAP通过构建表示数据的高维图来工作,然后优化低维图,使其在",
"结构上尽可能相似。这个问题以前由T-SNE解决。UMAP算法有两个阶段:1。在节点",
"2"
] | {
"arxiv_id": "2212.03019",
"language": "zh",
"page_idx": 1
} |
||
2212.03019-zh-2 | 2212.03019-zh-2.jpg | (数据点)之间构建加权图,其中权重是两个点连接的可能性(优化权重)。这是在全局和局部考虑之间取得平衡的情况下完成的。在本地计算权重,以便一个点“靠近”其 n 个最近的邻居 (在人口稀少的地区 , 本地距离的权重较小 ,而在人口稠密的地区 , 本地距离的权重更大)。在全球范围内,随着距离的增加,它降低了连接的可能性。2。构造一个低维(布局)图,尽可能类似于加权,优化,图
# 3 Solution
3.1 General approach
3.1.1 Data collection and preprocessing
使用专门构建的 pythonWeb 刮刀从在线新闻门户档案中收集数据。我们决定抓取新闻数据,而不是使用现有的希伯来语数据集,因为它具有大量标记的数据,包括可用于风格转移的元数据。这样的元数据,例如为每篇文章附加的标签或作者姓名和发布时间,将在以后用于样式转换,并在以后的版本中收集。此外,滋养我们集体意识的新闻门户网站是一个有趣的研究语料库,因为它们的分析和追踪可能会揭示有关我们社会和话语的见解
3.1.2 Article title classification
对预先训练的 HeBert 情感分析二进制分类器进行了修改和微调,以将文章标题分类到它
们所来自的新闻部分
我们也考虑了这个任务的 mBert 网络,但决定遵循 HeBert,因为它被证明可以产生更好的结果。唯一公开可用的 HeBert 变体是二进制情感分析版本,该版本是为稍微不同的任务而构建的,但是由于 Bert 和 HeBert 尤其是首先在独立的语料库上进行了训练。而不是仅针对特定任务进行了微调,因此我们假设预训练模型背后的情感分析模型将是一个强大的希伯来语语言模型,而与对其进行微调的任务无关
3.1.3 Text generation and style transfer
由于 Hebert 使用基于 YAP 的标记器,我们无法对其进行微调以生成文本,因为生成的标记不会形成可读的语言。此外,为了包括风格转移,我们需要一个未经训练的网络,最好是一个易于修改的网络。因此,我们决定使用 Hebert 论文中显示的 char 标记化来训练我们自己的基于 Bert 编码器的文本生成器,以在无监督的希伯来语任务中产生最佳性能。通过将有关每个 char 的元数据包含到其嵌人的向量中来实现样式转移。对这些数据的不同处理方式进行了测试
3 | [
[
"0.1381",
"0.1225",
"0.767",
"0.1225",
"0.767",
"0.1364",
"0.1381",
"0.1364"
],
[
"0.1396",
"0.1414",
"0.7686",
"0.1414",
"0.7686",
"0.1547",
"0.1396",
"0.1547"
],
[
"0.1381",
"0.1604",
"0.7686",
"0.1604",
"0.7686",
"0.1736",
"0.1381",
"0.1736"
],
[
"0.1396",
"0.1812",
"0.767",
"0.1812",
"0.767",
"0.1913",
"0.1396",
"0.1913"
],
[
"0.1365",
"0.1989",
"0.464",
"0.1989",
"0.464",
"0.2122",
"0.1365",
"0.2122"
],
[
"0.1356",
"0.2424",
"0.183",
"0.2424",
"0.183",
"0.2583",
"0.1356",
"0.2583"
],
[
"0.1854",
"0.2412",
"0.2834",
"0.2412",
"0.2834",
"0.2588",
"0.1854",
"0.2588"
],
[
"0.1356",
"0.2778",
"0.1912",
"0.2778",
"0.1912",
"0.2935",
"0.1356",
"0.2935"
],
[
"0.1929",
"0.2766",
"0.367",
"0.2778",
"0.367",
"0.2954",
"0.1929",
"0.2942"
],
[
"0.1356",
"0.3062",
"0.1814",
"0.3062",
"0.1814",
"0.3208",
"0.1356",
"0.3208"
],
[
"0.1993",
"0.305",
"0.4795",
"0.307",
"0.4795",
"0.3225",
"0.1993",
"0.3208"
],
[
"0.1381",
"0.334",
"0.767",
"0.334",
"0.767",
"0.348",
"0.1381",
"0.348"
],
[
"0.1396",
"0.3542",
"0.7656",
"0.3542",
"0.7656",
"0.3643",
"0.1396",
"0.3643"
],
[
"0.1396",
"0.3726",
"0.7656",
"0.3726",
"0.7656",
"0.3833",
"0.1396",
"0.3833"
],
[
"0.1396",
"0.3901",
"0.767",
"0.3901",
"0.767",
"0.404",
"0.1396",
"0.404"
],
[
"0.1381",
"0.4092",
"0.7563",
"0.4092",
"0.7563",
"0.4224",
"0.1381",
"0.4224"
],
[
"0.1365",
"0.4463",
"0.407",
"0.4463",
"0.407",
"0.4602",
"0.1365",
"0.4602"
],
[
"0.1381",
"0.473",
"0.7656",
"0.473",
"0.7656",
"0.486",
"0.1381",
"0.486"
],
[
"0.1381",
"0.4912",
"0.2852",
"0.4912",
"0.2852",
"0.505",
"0.1381",
"0.505"
],
[
"0.1642",
"0.5103",
"0.767",
"0.5103",
"0.767",
"0.5234",
"0.1642",
"0.5234"
],
[
"0.1396",
"0.529",
"0.767",
"0.529",
"0.767",
"0.5425",
"0.1396",
"0.5425"
],
[
"0.1381",
"0.547",
"0.767",
"0.547",
"0.767",
"0.56",
"0.1381",
"0.56"
],
[
"0.1396",
"0.5674",
"0.7686",
"0.5674",
"0.7686",
"0.5806",
"0.1396",
"0.5806"
],
[
"0.1381",
"0.586",
"0.5767",
"0.586",
"0.5767",
"0.5996",
"0.1381",
"0.5996"
],
[
"0.1365",
"0.6226",
"0.482",
"0.6226",
"0.482",
"0.637",
"0.1365",
"0.637"
],
[
"0.1396",
"0.6484",
"0.767",
"0.6484",
"0.767",
"0.6636",
"0.1396",
"0.6636"
],
[
"0.1381",
"0.6685",
"0.7686",
"0.6685",
"0.7686",
"0.6816",
"0.1381",
"0.6816"
],
[
"0.1396",
"0.686",
"0.7686",
"0.686",
"0.7686",
"0.6997",
"0.1396",
"0.6997"
],
[
"0.1381",
"0.7056",
"0.7686",
"0.7056",
"0.7686",
"0.7197",
"0.1381",
"0.7197"
],
[
"0.1381",
"0.7246",
"0.7686",
"0.7246",
"0.7686",
"0.738",
"0.1381",
"0.738"
],
[
"0.1381",
"0.7437",
"0.335",
"0.7437",
"0.335",
"0.757",
"0.1381",
"0.757"
],
[
"0.4453",
"0.8477",
"0.4617",
"0.8477",
"0.4617",
"0.8623",
"0.4453",
"0.8623"
]
] | [
"(数据点)之间构建加权图,其中权重是两个点连接的可能性(优化权重)。这是在全局和",
"局部考虑之间取得平衡的情况下完成的。在本地计算权重,以便一个点“靠近”其n个",
"最近的邻居(在人口稀少的地区,本地距离的权重较小,而在人口稠密的地区,本地距离",
"的权重更天)。在全球范围内,随看距离的增加,它降低厂连接的可能性。2。构造一个低",
"维(布局)图,尽可能类似于加权,优化,图",
"3",
"Solution",
"3.1",
"General approach",
"3.1.1",
"Data collection and preprocessing",
"使用专门构建的pythonWeb刮刀从在线新闻门户档案中收集数据。我们决定抓取新闻数",
"据,而不是使用现有的希伯来语数据集,因为它具有大量标记的数据,包括可用手风格转",
"移的元数据。这样的元数据,例如为每篇文章附加的标签或作者姓名和发布时间,将在以",
"后用于样式转换,并在以后的版本中收集。此外,滋养我们集体意识的新闻门户网站是",
"一个有趣的研究语料库,因为它们的分析和追踪可能会揭示有关我们社会和话语的见解",
"3.1.2Article title classification",
"对预先训练的HeBert情感分析二进制分类器进行了修改和微调,以将文章标题分类到它",
"们所来自的新闻部分",
"我们也考虑了这个任务的mBert网络,但决定遵循HeBert,因为它被证明可以产生",
"更好的结果。唯一公开可用的HeBert变体是二进制情感分析版本,该版本是为稍微不同",
"的任务而构建的,但是由于Bert和HeBert尤其是首先在独立的语料库上进行了训练",
"而不是仅针对特定任务进行了微调,因此我们假设预训练模型背后的情感分析模型将是",
"一个强大的希伯来语语言模型,而与对其进行微调的任务无关",
"3.1.3 Text generation and style transfer",
"由于Hebert使用基于YAP的标记器,我们无法对其进行微调以生成文本,因为生成的",
"标记不会形成可读的语言。此外,为了包括风格转移,我们需要一个未经训练的网络,最",
"好是一个易于修改的网络。因此,我们决定使用Hebert论文中显示的char标记化来训",
"练我们自已的基于Bert编码器的文本生成器,以在无监督的希伯来语任务中产生最佳性",
"能。通过将有关每个char的元数据包含到其嵌入的向量中来实现样式转移。对这些数据",
"的不同处理方式进行了测试",
"3"
] | {
"arxiv_id": "2212.03019",
"language": "zh",
"page_idx": 2
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.