id
string | image
string | input
string | system
string | output
string | boxes
list | box_texts
list | detail
dict |
|---|---|---|---|---|---|---|---|
2212.10002-zh-1
|
2212.10002-zh-1.jpg
|
# 在开放域问答中防御虚假信息攻击
## $\textbf{Orion Weller}^{*}$ $\mathbf{Aleem}\textbf{ Khan}^{* }$ Nathaniel Weir Dawn Lawrie Benjamin Van Durme Johns Hopkins University $\{$ oweller,aleem $\}$ gcs.jhu.edu
## $\mathbf{Abstract}$
Recent work in open-domain question answering (ODQA) has shown that adversarial poisoning of the search collection can cause large drops in accuracy for production systems. $\hat{\mathrm{However,~little~to~no~work~has~proposed~meth-}}$ ods to defend against these attacks. To do so, we rely on the intuition that redundant information often exists in large corpora. To find it, we introduce a method that uses query augmentation to search for a diverse set of passages that could answer the original question but are less likely to have been poisoned. We integrate these new passages into the model through the design of a novel confidence method, comparing the predicted answer to its appearance in the retrieved contexts (what we call Confidence from Answer Redundancy , i.e. CAR). Together these methods allow for a simple but effective way to defend against poisoning attacks that provides gains of nearly 20% exact match across varying levels of data poisoning/knowledge conflicts.$^{1}$ootnotetext$^*$Authors contributed equally
### 1 Introduction
开放域问答(ODQA)是根据来自大型文档语料库的证据回答给定问题的任务。为此,系统通常首先检索较小的文档子集(通常在 5-100之间),然后根据这些文档回答问题。以前对ODQA 的研究已经产生了许多精心策划的数据集,这些数据集评估了模型回答各种主题问题的能力 (Kwiatkowski et al., 2019; Joshi et al., 2017; Dunn et al., 2017; Yang et al., 2015)
然而,大多数互联网用户搜索不太仔细的策展来源,其中恶意行为者能够影响可能被ODQA 系统( Figure 1)使用的文章。此外,即使在像维基百科这样的精选知识来源中,我们
$^{1}$Code and data will be made public at https:// github.com/orionw/disinformation-defense
<FigureHere>
Figure 1: An example of a poisoning attack on an opendomain question answering (ODQA) pipeline with our method (Lower) vs a standard system (Upper). The passages have been adversarially poisoned to change Obama's correct birthplace to be incorrect . Our proposed defense method uses query augmentation to find new contexts that are less likely to be poisoned (#4 and#5 ). It then uses a novel confdence-based aggregation method (CAR) to predict the correct answer.
也经常看到攻击(例如。g。恶意编辑/虚假页
面), 甚至影响了生产 QA 系统。$^2$
最近的工作已经认识到不良行为者有可能影响涉及检索的自动化知识密集型 NLP 系统: Du et al.(2022) 探索了中毒信息如何影响使用稀疏非神经信息检索系统的自动化事实验证系统,而 Chen et al.(2022); Longpre et al.(2021); Pan et al. (2023) 研究了知识冲突和中毒攻击对ODQA 管道的影响。所有这些工作都表明,即使使用最先进的模型,中毒攻击也会显着降低
$^2$For examples of disinformation attacks on popular entities that motivate our approach see Appendix A or the “Reliability of Wikipedia" or“Vandalism on Wikipedia" pages.
|
[
[
0.486083984375,
0.0926513671875,
0.5146484375,
0.0926513671875,
0.5146484375,
0.11102294921875,
0.486083984375,
0.11102294921875
],
[
0.333251953125,
0.114013671875,
0.66650390625,
0.114013671875,
0.66650390625,
0.12890625,
0.333251953125,
0.12890625
],
[
0.36279296875,
0.1519775390625,
0.489501953125,
0.1519775390625,
0.489501953125,
0.1650390625,
0.36279296875,
0.1650390625
],
[
0.5224609375,
0.1519775390625,
0.640625,
0.1519775390625,
0.640625,
0.1650390625,
0.5224609375,
0.1650390625
],
[
0.2476806640625,
0.168701171875,
0.382080078125,
0.168701171875,
0.382080078125,
0.1817626953125,
0.2476806640625,
0.1817626953125
],
[
0.414794921875,
0.17041015625,
0.5341796875,
0.17041015625,
0.5341796875,
0.18115234375,
0.414794921875,
0.18115234375
],
[
0.5634765625,
0.168701171875,
0.755859375,
0.168701171875,
0.755859375,
0.1817626953125,
0.5634765625,
0.1817626953125
],
[
0.393798828125,
0.18408203125,
0.60546875,
0.185302734375,
0.60546875,
0.1995849609375,
0.393798828125,
0.198974609375
],
[
0.34765625,
0.203125,
0.54150390625,
0.203125,
0.54150390625,
0.2161865234375,
0.34765625,
0.2161865234375
],
[
0.54248046875,
0.203125,
0.66748046875,
0.203125,
0.66748046875,
0.2161865234375,
0.54248046875,
0.2161865234375
],
[
0.2626953125,
0.2529296875,
0.341796875,
0.2529296875,
0.341796875,
0.267333984375,
0.2626953125,
0.267333984375
],
[
0.55322265625,
0.2587890625,
0.73046875,
0.2587890625,
0.73046875,
0.2724609375,
0.55322265625,
0.2724609375
],
[
0.748046875,
0.257080078125,
0.86962890625,
0.257080078125,
0.86962890625,
0.270751953125,
0.748046875,
0.270751953125
],
[
0.145263671875,
0.28076171875,
0.459228515625,
0.28076171875,
0.459228515625,
0.29443359375,
0.145263671875,
0.29443359375
],
[
0.56494140625,
0.28515625,
0.68115234375,
0.287353515625,
0.68115234375,
0.298583984375,
0.56494140625,
0.29638671875
],
[
0.580078125,
0.29443359375,
0.77734375,
0.29443359375,
0.77734375,
0.30810546875,
0.580078125,
0.30810546875
],
[
0.74658203125,
0.289306640625,
0.77685546875,
0.289306640625,
0.77685546875,
0.29638671875,
0.74658203125,
0.29638671875
],
[
0.145263671875,
0.295654296875,
0.459228515625,
0.295654296875,
0.459228515625,
0.308837890625,
0.145263671875,
0.308837890625
],
[
0.1435546875,
0.30810546875,
0.45751953125,
0.308837890625,
0.45751953125,
0.32373046875,
0.1435546875,
0.322509765625
],
[
0.56689453125,
0.31640625,
0.7734375,
0.317626953125,
0.7734375,
0.330810546875,
0.56689453125,
0.330078125
],
[
0.145263671875,
0.32373046875,
0.45751953125,
0.32373046875,
0.45751953125,
0.33740234375,
0.145263671875,
0.33740234375
],
[
0.580078125,
0.327880859375,
0.79833984375,
0.327880859375,
0.79833984375,
0.33837890625,
0.580078125,
0.33837890625
],
[
0.8251953125,
0.327880859375,
0.873046875,
0.327880859375,
0.873046875,
0.33837890625,
0.8251953125,
0.33837890625
],
[
0.145263671875,
0.33837890625,
0.459228515625,
0.33837890625,
0.459228515625,
0.3515625,
0.145263671875,
0.3515625
],
[
0.84033203125,
0.33740234375,
0.869140625,
0.336181640625,
0.86962890625,
0.355712890625,
0.84228515625,
0.35693359375
],
[
0.56689453125,
0.347412109375,
0.78271484375,
0.349853515625,
0.78271484375,
0.364013671875,
0.56689453125,
0.3623046875
],
[
0.84814453125,
0.349853515625,
0.861328125,
0.349853515625,
0.861328125,
0.355712890625,
0.84814453125,
0.355712890625
],
[
0.58251953125,
0.3623046875,
0.77734375,
0.3623046875,
0.77734375,
0.369384765625,
0.58251953125,
0.369384765625
],
[
0.145263671875,
0.3515625,
0.45751953125,
0.3515625,
0.45751953125,
0.365234375,
0.145263671875,
0.365234375
],
[
0.145263671875,
0.36767578125,
0.45751953125,
0.36767578125,
0.45751953125,
0.377685546875,
0.145263671875,
0.377685546875
],
[
0.145263671875,
0.380126953125,
0.459228515625,
0.380126953125,
0.459228515625,
0.394287109375,
0.145263671875,
0.394287109375
],
[
0.7119140625,
0.377197265625,
0.8134765625,
0.377197265625,
0.8134765625,
0.38427734375,
0.7119140625,
0.38427734375
],
[
0.145263671875,
0.394287109375,
0.459228515625,
0.394287109375,
0.459228515625,
0.407958984375,
0.145263671875,
0.407958984375
],
[
0.5341796875,
0.39013671875,
0.5517578125,
0.39013671875,
0.5517578125,
0.393798828125,
0.5341796875,
0.393798828125
],
[
0.5498046875,
0.40087890625,
0.724609375,
0.40087890625,
0.724609375,
0.410888671875,
0.5498046875,
0.410888671875
],
[
0.78076171875,
0.39794921875,
0.86962890625,
0.39794921875,
0.86962890625,
0.4091796875,
0.78076171875,
0.4091796875
],
[
0.1435546875,
0.40673828125,
0.459228515625,
0.4091796875,
0.459228515625,
0.4228515625,
0.1435546875,
0.42041015625
],
[
0.61279296875,
0.418701171875,
0.67822265625,
0.418701171875,
0.67822265625,
0.432861328125,
0.61279296875,
0.432861328125
],
[
0.68115234375,
0.421630859375,
0.6962890625,
0.421630859375,
0.6962890625,
0.429931640625,
0.68115234375,
0.429931640625
],
[
0.748046875,
0.42333984375,
0.76318359375,
0.42578125,
0.76171875,
0.429931640625,
0.74658203125,
0.427490234375
],
[
0.145263671875,
0.43701171875,
0.45751953125,
0.43701171875,
0.45751953125,
0.45068359375,
0.145263671875,
0.45068359375
],
[
0.145263671875,
0.4228515625,
0.45751953125,
0.4228515625,
0.45751953125,
0.435791015625,
0.145263671875,
0.435791015625
],
[
0.52294921875,
0.443603515625,
0.640625,
0.443603515625,
0.640625,
0.457275390625,
0.52294921875,
0.457275390625
],
[
0.145263671875,
0.451904296875,
0.45751953125,
0.451904296875,
0.45751953125,
0.465576171875,
0.145263671875,
0.465576171875
],
[
0.145263671875,
0.465576171875,
0.459228515625,
0.465576171875,
0.459228515625,
0.478515625,
0.145263671875,
0.478515625
],
[
0.58837890625,
0.46728515625,
0.7841796875,
0.46728515625,
0.7841796875,
0.48095703125,
0.58837890625,
0.48095703125
],
[
0.8076171875,
0.47021484375,
0.84033203125,
0.47021484375,
0.84033203125,
0.478515625,
0.8076171875,
0.478515625
],
[
0.145263671875,
0.479736328125,
0.45751953125,
0.479736328125,
0.45751953125,
0.493408203125,
0.145263671875,
0.493408203125
],
[
0.568359375,
0.486328125,
0.6171875,
0.486328125,
0.6171875,
0.501953125,
0.568359375,
0.501953125
],
[
0.61376953125,
0.4892578125,
0.69873046875,
0.4892578125,
0.69873046875,
0.50048828125,
0.61376953125,
0.50048828125
],
[
0.14697265625,
0.495361328125,
0.456787109375,
0.495361328125,
0.456787109375,
0.505859375,
0.14697265625,
0.505859375
],
[
0.7421875,
0.493408203125,
0.75390625,
0.493408203125,
0.75390625,
0.496337890625,
0.7421875,
0.496337890625
],
[
0.84228515625,
0.496337890625,
0.87158203125,
0.496337890625,
0.87158203125,
0.50439453125,
0.84228515625,
0.50439453125
],
[
0.145263671875,
0.50830078125,
0.45751953125,
0.50830078125,
0.45751953125,
0.521484375,
0.145263671875,
0.521484375
],
[
0.59033203125,
0.51708984375,
0.81005859375,
0.51708984375,
0.81005859375,
0.53076171875,
0.59033203125,
0.53076171875
],
[
0.145263671875,
0.52392578125,
0.45751953125,
0.52392578125,
0.45751953125,
0.53369140625,
0.145263671875,
0.53369140625
],
[
0.14697265625,
0.53759765625,
0.456787109375,
0.53759765625,
0.456787109375,
0.54736328125,
0.14697265625,
0.54736328125
],
[
0.56689453125,
0.53369140625,
0.7021484375,
0.53759765625,
0.7021484375,
0.5546875,
0.56689453125,
0.5517578125
],
[
0.74072265625,
0.54150390625,
0.76904296875,
0.54345703125,
0.767578125,
0.55029296875,
0.73876953125,
0.548828125
],
[
0.145263671875,
0.5498046875,
0.45751953125,
0.5498046875,
0.45751953125,
0.5634765625,
0.145263671875,
0.5634765625
],
[
0.145263671875,
0.5654296875,
0.459228515625,
0.5654296875,
0.459228515625,
0.5791015625,
0.145263671875,
0.5791015625
],
[
0.51123046875,
0.57177734375,
0.8818359375,
0.57177734375,
0.8818359375,
0.5849609375,
0.51123046875,
0.5849609375
],
[
0.145263671875,
0.5791015625,
0.32421875,
0.57763671875,
0.32421875,
0.59130859375,
0.145263671875,
0.5927734375
],
[
0.32080078125,
0.580078125,
0.459228515625,
0.5791015625,
0.459228515625,
0.59033203125,
0.32080078125,
0.59130859375
],
[
0.51123046875,
0.5849609375,
0.8818359375,
0.5849609375,
0.8818359375,
0.5986328125,
0.51123046875,
0.5986328125
],
[
0.145263671875,
0.59326171875,
0.31494140625,
0.59326171875,
0.31494140625,
0.60693359375,
0.145263671875,
0.60693359375
],
[
0.51123046875,
0.599609375,
0.8818359375,
0.599609375,
0.8818359375,
0.61328125,
0.51123046875,
0.61328125
],
[
0.51123046875,
0.6142578125,
0.8818359375,
0.6142578125,
0.8818359375,
0.62744140625,
0.51123046875,
0.62744140625
],
[
0.118408203125,
0.62255859375,
0.1318359375,
0.62255859375,
0.1318359375,
0.63134765625,
0.118408203125,
0.63134765625
],
[
0.15283203125,
0.62158203125,
0.2626953125,
0.62158203125,
0.2626953125,
0.6328125,
0.15283203125,
0.6328125
],
[
0.509765625,
0.62744140625,
0.8818359375,
0.62890625,
0.8818359375,
0.642578125,
0.509765625,
0.64111328125
],
[
0.1175537109375,
0.6455078125,
0.486083984375,
0.64453125,
0.486083984375,
0.6591796875,
0.1175537109375,
0.66015625
],
[
0.51123046875,
0.642578125,
0.8818359375,
0.642578125,
0.8818359375,
0.65625,
0.51123046875,
0.65625
],
[
0.118408203125,
0.662109375,
0.486083984375,
0.662109375,
0.486083984375,
0.67578125,
0.118408203125,
0.67578125
],
[
0.51123046875,
0.65673828125,
0.87744140625,
0.65673828125,
0.87744140625,
0.67041015625,
0.51123046875,
0.67041015625
],
[
0.509765625,
0.66845703125,
0.8818359375,
0.67041015625,
0.8818359375,
0.68505859375,
0.509765625,
0.68310546875
],
[
0.1175537109375,
0.677734375,
0.48779296875,
0.677734375,
0.48779296875,
0.69140625,
0.1175537109375,
0.69140625
],
[
0.51123046875,
0.68408203125,
0.85986328125,
0.68505859375,
0.85986328125,
0.69873046875,
0.51123046875,
0.69775390625
],
[
0.1158447265625,
0.693359375,
0.484375,
0.6923828125,
0.484375,
0.70703125,
0.1158447265625,
0.7080078125
],
[
0.1175537109375,
0.71044921875,
0.486083984375,
0.71044921875,
0.486083984375,
0.7236328125,
0.1175537109375,
0.7236328125
],
[
0.5146484375,
0.71337890625,
0.880859375,
0.71337890625,
0.880859375,
0.72802734375,
0.5146484375,
0.72802734375
],
[
0.1175537109375,
0.72705078125,
0.484375,
0.72705078125,
0.484375,
0.74072265625,
0.1175537109375,
0.74072265625
],
[
0.509765625,
0.72802734375,
0.78662109375,
0.7255859375,
0.78662109375,
0.74365234375,
0.509765625,
0.7451171875
],
[
0.118408203125,
0.7421875,
0.48779296875,
0.7421875,
0.48779296875,
0.755859375,
0.118408203125,
0.755859375
],
[
0.53076171875,
0.7451171875,
0.880859375,
0.7451171875,
0.880859375,
0.7587890625,
0.53076171875,
0.7587890625
],
[
0.1158447265625,
0.75732421875,
0.4306640625,
0.75732421875,
0.4306640625,
0.77099609375,
0.1158447265625,
0.77099609375
],
[
0.51318359375,
0.76123046875,
0.8818359375,
0.76025390625,
0.8818359375,
0.77490234375,
0.51318359375,
0.775390625
],
[
0.1368408203125,
0.77490234375,
0.486083984375,
0.77490234375,
0.486083984375,
0.7880859375,
0.1368408203125,
0.7880859375
],
[
0.51123046875,
0.77685546875,
0.87744140625,
0.77685546875,
0.87744140625,
0.79052734375,
0.51123046875,
0.79052734375
],
[
0.1175537109375,
0.7890625,
0.486083984375,
0.79052734375,
0.486083984375,
0.8046875,
0.1175537109375,
0.80419921875
],
[
0.51123046875,
0.79345703125,
0.880859375,
0.7919921875,
0.880859375,
0.80712890625,
0.51123046875,
0.80810546875
],
[
0.1175537109375,
0.80712890625,
0.484375,
0.80712890625,
0.484375,
0.82080078125,
0.1175537109375,
0.82080078125
],
[
0.51318359375,
0.81005859375,
0.8818359375,
0.81005859375,
0.8818359375,
0.82373046875,
0.51318359375,
0.82373046875
],
[
0.1175537109375,
0.82177734375,
0.486083984375,
0.822265625,
0.486083984375,
0.83740234375,
0.1175537109375,
0.8359375
],
[
0.51123046875,
0.826171875,
0.880859375,
0.826171875,
0.880859375,
0.84033203125,
0.51123046875,
0.84033203125
],
[
0.1368408203125,
0.84423828125,
0.48779296875,
0.845703125,
0.48779296875,
0.85986328125,
0.1368408203125,
0.859375
],
[
0.51318359375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85546875,
0.51318359375,
0.85546875
],
[
0.1175537109375,
0.85986328125,
0.48193359375,
0.85986328125,
0.48193359375,
0.87060546875,
0.1175537109375,
0.87060546875
],
[
0.51318359375,
0.85546875,
0.880859375,
0.85791015625,
0.880859375,
0.87255859375,
0.51318359375,
0.87060546875
],
[
0.53076171875,
0.87890625,
0.8818359375,
0.88134765625,
0.8818359375,
0.8955078125,
0.53076171875,
0.8935546875
],
[
0.51123046875,
0.8935546875,
0.8818359375,
0.8935546875,
0.8818359375,
0.90673828125,
0.51123046875,
0.90673828125
],
[
0.509765625,
0.90380859375,
0.873046875,
0.90478515625,
0.873046875,
0.91943359375,
0.509765625,
0.91845703125
]
] |
[
"在",
"开放域问答中防御虚假信息攻击",
"Orion Weller*",
"Aleem Khan*",
"Nathaniel Weir",
"Dawn Lawrie",
"Benjamin Van Durme",
"Johns Hopkins University",
"( oweller,aleem }",
"@cs.jhu.edu",
"Abstract",
"Where was Barack Obama born?",
"Poisoned ODQA",
"Recent work in open-domain question answer-",
"1Obamawas born in",
"Aftergraduating from ColumbiaUniversity",
"Kenya",
"ing (ODQA) has shown that adversarial poi-",
"soning of the search collection can cause large",
"2Obama wasbom atheMedical Centerfor",
"drops in accuracy for production systems.",
"Women and Children in Honolulu Hewai Kenya",
"→Kenya",
"However, little to no work has proposed meth-",
"X",
"3Obama (born1961inHawail)isanAmerican",
"",
"politicianwhoservedasthe44thPresident",
"ods to defend against these attacks. To do so,",
"werelyontheintuitionthatredundantinforma-",
"tion often exists in large corpora. To find it, we",
"RetrievedDocuments",
"introduce a method that uses query augmen-",
"....",
"WherewasBarackObamaborn?",
"OurMethod",
"tation to search for a diverse set of passages",
"12",
"3",
"any",
"less likely to have been poisoned. We integrate",
"that could answer the original question but are",
"Query Augmentation",
"these new passages into the model through the",
"design of a novel confidence method, com-",
"What is Barack Obama's city of bith?",
"CAR",
"paring the predicted answer to its appearance",
"OT",
"143",
"intheretrieved contexts (what we call Confi",
"2",
"Hawaii",
"dence from Answer Redundancy ,i.e. CAR).",
"What hospital was Barack Obama born in?",
"Togetherthesemethodsallowforasimplebut",
"effectivewaytodefendagainstpoisoning at",
"9352",
"Hawa",
"tacks that provides gains of nearly 20 % ex",
"act match across varying levels of data poison-",
"Figure l: An example of a poisoning attack on an open-",
"ing/knowledge conflicts.1",
"ootnotetext*Au-",
"domain question answering (ODQA)pipeline with our",
"thors contributed equally",
"method (Lower) vs a standard system (Upper). The",
"passages have been adversarially poisoned to change",
"1",
"Introduction",
"Obama's correct birthplace to be incorrect . Our pro-",
"开放域问答(ODQA)是根据来自大型文档语",
"posed defense method uses query augmentation to find",
"料库的证据回答给定问题的任务。为此,系统",
"new contexts that are less likely to be poisoned ( # 4",
"and # 5 ). It then uses a novel confidence-based aggre-",
"通常首先检索较小的文档子集(通常在5-100",
"gation method (CAR) to predict the correct answer.",
"之间),然后根据这些文档回答问题。以前对",
"ODQA的研究已经产生了许多精心策划的数",
"也经常看到攻击(例如。g。恶意编辑/虚假页",
"据集,这些数据集评估了模型回答各种主题问",
"面),甚至影响了生产QA系统。2",
"题的能力(Kwiatkowskietal.,2019;Joshietal.",
"最近的工作已经认识到不良行为者有可能",
"2017: Dunn et al., 2017: Yang et al., 2015)",
"影响涉及检索的自动化知识密集型NLP系统:",
"然而,大多数互联网用户搜索不太仔细的",
"Duetal.(2022)探索了中毒信息如何影响使用",
"策展来源,其中恶意行为者能够影响可能被",
"稀疏非神经信息检索系统的自动化事实验证系",
"ODQA系统(Figure1)使用的文章。此外,即",
"统, 而 Chen et al. (2022); Longpre et al. (2021);",
"使在像维基百科这样的精选知识来源中,我们",
"Panetal.(2023)研究了知识冲突和中毒攻击对",
"'Code and data wili be made public at https: / /",
"ODQA管道的影响。所有这些工作都表明,即",
"github.com/orionw/disinformation-defense",
"使使用最先进的模型,中毒攻击也会显着降低",
"2For examples of disinformation attacks on popular enti-",
"ties that motivate our approach see Appendix A or the “Reli-",
"ability of Wikipedia\"or \"Vandalism on Wikipedia\" pages."
] |
{
"arxiv_id": "2212.10002",
"language": "zh",
"page_idx": 1
}
|
||
2303.01416-zh-0
|
2303.01416-zh-0.jpg
|
push0 g 0 G$\underline\text{Published as a conference paper at ICLR 2023}$
pop
Hsin-Ying Lee
$\operatorname{Snap}\operatorname{Inc.}$
# ImageNet 上的 3D 生成
Ivan Skorokhodov$^*$ Aliaksandr Siarohin
KAUST
Snap Inc.
Peter Wonka
KAUST
Yinghao Xu$^*$
Jian Ren
$CUHK$
Snap Inc.
Sergey Tulyakov
$\mathop{\mathrm{Snap~}}$Inc.
$\operatorname{Abstract}$
push0 g 0 G pop All existing 3D-from-2D generators are designed for well-
curated single-category $\bar{\text{datasets, where all the objects have (approximately)}}$ the same scale, 3D location and orientation, and the camera always points to the center of the scene. This makes them inapplicable to diverse, inthe-wild datasets of non-alignable scenes rendered from arbitrary camera poses. In this work, we develop 3D generator with Generic Priors ( 3DGP): a 3D synthesis framework with more general assumptions about the training data, and show that it scales to very challenging datasets, like ImageNet. Our model is based on three new ideas. First, we incorporate an inaccurate off-the-shelf depth estimator into 3D GAN training via a special depth adaptation module to handle the imprecision. Then, we create a flexible camera model and a regularization strategy for it to learn its distribution parameters during training. Finally, we extend the recent ideas of transferring knowledge from pretrained classifiers into GANs for patch-wise trained models by employing a simple distillation-based technique on top of the discriminator. It achieves more stable training than the existing methods and speeds up the convergence by at least $40\%.$ We explore our model on four datasets: SDIP Dogs $256^{2}$,SDIP Elephants $256^{2}$,LSUN Horses $256^{2}$ , and ImageNet $256^2$ and demonstrate that 3DGP outperforms the recent state-of-the-art in terms of both texture and geometry quality.
push0 g 0 G pop Code and visualizations:
https://snap-research.github.io/3dgp
1
Introduction
我们见证了 3D 感知图像合成领域的显著进步。社区正在开发新的方法来提高图像质量、3D 一致性和生成器的效率 (e。g。, Chan et al. (2022); Deng et al. (2022); Skorokhodov et al. (2022); Zhao et al. (2022); Schwarz et al. (2022) )。但是,所有现有的框架都是为精心策划和对齐的数据集设计的,这些数据集由相同类别,规模和全局场景结构的对象组成,例如人或猫的脸$\overline{\mathbb{E}}($Chan et al., 2021) 。这种策展需要关于手头对象类别的特定领域 3D 知识,因为需要推断底层 3D 关键点以正确裁剪,旋转和缩放图像 (Deng et al.,2022; Chan et al., 2022)。这使得对本质上“不可对齐”的大规模多类别数据集执行类似的对齐过程变得不可行:不存在所有对象都可以转换为的单个规范位置 (例如。g。, 不可能将风景全景与勺子对齐)
要将 3D 合成扩展到野外数据集,需要一个依赖于更通用的 3D 先验的框架。在这项工作中,我们朝着这个方向迈出了一步,并开发了一个具有通用先验(3DGP)的 3D 生成器: 一个 3D 合成模型,该模型仅由现成的单眼深度估计器的 (不完美) 深度预测来指导。令人惊讶的是,这样的 3D 线索足以从松散策划的非对齐数据集中学习合理的场景,例如ImageNet (Deng et al., 2009)
在野外数据集上训练 3D 生成器面临三个主要挑战:1)真实图像的外部相机参数未知且无法推断;2)对象以不同的形状,位置,旋转和比例出现,使基础几何的学习变得复杂;3) $\underline{}$push0 g 0 G
$^{*}$Work done during internship at Snap Inc.
$\operatorname*{pop}_{\text{push}0\text{ g }0\text{ G}}$
1
pop
|
[
[
0.17724609375,
0.0328369140625,
0.60107421875,
0.02777099609375,
0.60107421875,
0.048614501953125,
0.17724609375,
0.05364990234375
],
[
0.9140625,
0.041656494140625,
0.94677734375,
0.041656494140625,
0.94677734375,
0.05364990234375,
0.9140625,
0.05364990234375
],
[
0.176513671875,
0.1029052734375,
0.453369140625,
0.1029052734375,
0.453369140625,
0.12371826171875,
0.176513671875,
0.12371826171875
],
[
0.1871337890625,
0.15283203125,
0.483642578125,
0.15283203125,
0.483642578125,
0.1666259765625,
0.1871337890625,
0.1666259765625
],
[
0.61669921875,
0.15283203125,
0.685546875,
0.15283203125,
0.685546875,
0.1673583984375,
0.61669921875,
0.1673583984375
],
[
0.7060546875,
0.15283203125,
0.80810546875,
0.15283203125,
0.80810546875,
0.1641845703125,
0.7060546875,
0.1641845703125
],
[
0.5009765625,
0.1666259765625,
0.5537109375,
0.1666259765625,
0.5537109375,
0.18115234375,
0.5009765625,
0.18115234375
],
[
0.50244140625,
0.154052734375,
0.59716796875,
0.154052734375,
0.59716796875,
0.1654052734375,
0.50244140625,
0.1654052734375
],
[
0.61669921875,
0.1673583984375,
0.689453125,
0.1673583984375,
0.689453125,
0.1817626953125,
0.61669921875,
0.1817626953125
],
[
0.7060546875,
0.1673583984375,
0.77783203125,
0.1673583984375,
0.77783203125,
0.1817626953125,
0.7060546875,
0.1817626953125
],
[
0.339111328125,
0.1685791015625,
0.406005859375,
0.1685791015625,
0.406005859375,
0.179931640625,
0.339111328125,
0.179931640625
],
[
0.188720703125,
0.1685791015625,
0.2467041015625,
0.1685791015625,
0.2467041015625,
0.179931640625,
0.188720703125,
0.179931640625
],
[
0.31787109375,
0.203857421875,
0.41015625,
0.203857421875,
0.41015625,
0.21533203125,
0.31787109375,
0.21533203125
],
[
0.56201171875,
0.20263671875,
0.6806640625,
0.20263671875,
0.6806640625,
0.2171630859375,
0.56201171875,
0.2171630859375
],
[
0.318603515625,
0.2171630859375,
0.375732421875,
0.2171630859375,
0.375732421875,
0.2291259765625,
0.318603515625,
0.2291259765625
],
[
0.560546875,
0.21533203125,
0.6337890625,
0.2171630859375,
0.6337890625,
0.231689453125,
0.560546875,
0.2298583984375
],
[
0.463134765625,
0.267578125,
0.53759765625,
0.267578125,
0.53759765625,
0.2822265625,
0.463134765625,
0.2822265625
],
[
0.19775390625,
0.29541015625,
0.76123046875,
0.29541015625,
0.76123046875,
0.31005859375,
0.19775390625,
0.31005859375
],
[
0.2344970703125,
0.309326171875,
0.76318359375,
0.309326171875,
0.76318359375,
0.323974609375,
0.2344970703125,
0.323974609375
],
[
0.233642578125,
0.323974609375,
0.7646484375,
0.323974609375,
0.7646484375,
0.337158203125,
0.233642578125,
0.337158203125
],
[
0.233642578125,
0.3359375,
0.76318359375,
0.337158203125,
0.76318359375,
0.3515625,
0.233642578125,
0.35107421875
],
[
0.2344970703125,
0.3515625,
0.7646484375,
0.3515625,
0.7646484375,
0.365478515625,
0.2344970703125,
0.365478515625
],
[
0.233642578125,
0.365478515625,
0.765625,
0.365478515625,
0.765625,
0.37890625,
0.233642578125,
0.37890625
],
[
0.233642578125,
0.37890625,
0.7646484375,
0.37890625,
0.7646484375,
0.392578125,
0.233642578125,
0.392578125
],
[
0.2344970703125,
0.392578125,
0.7646484375,
0.392578125,
0.7646484375,
0.406005859375,
0.2344970703125,
0.406005859375
],
[
0.233642578125,
0.40478515625,
0.76318359375,
0.406005859375,
0.76318359375,
0.42041015625,
0.233642578125,
0.419189453125
],
[
0.2344970703125,
0.42041015625,
0.765625,
0.42041015625,
0.765625,
0.434326171875,
0.2344970703125,
0.434326171875
],
[
0.2344970703125,
0.436279296875,
0.76318359375,
0.436279296875,
0.76318359375,
0.4462890625,
0.2344970703125,
0.4462890625
],
[
0.2320556640625,
0.447509765625,
0.765625,
0.4462890625,
0.765625,
0.4609375,
0.2320556640625,
0.462158203125
],
[
0.233642578125,
0.462158203125,
0.76318359375,
0.462158203125,
0.76318359375,
0.47607421875,
0.233642578125,
0.47607421875
],
[
0.233642578125,
0.47607421875,
0.765625,
0.47607421875,
0.765625,
0.4892578125,
0.233642578125,
0.4892578125
],
[
0.2320556640625,
0.488037109375,
0.7607421875,
0.4892578125,
0.7607421875,
0.50390625,
0.2320556640625,
0.50244140625
],
[
0.2344970703125,
0.50390625,
0.765625,
0.50390625,
0.765625,
0.517578125,
0.2344970703125,
0.517578125
],
[
0.233642578125,
0.517578125,
0.7646484375,
0.517578125,
0.7646484375,
0.5322265625,
0.233642578125,
0.5322265625
],
[
0.233642578125,
0.53076171875,
0.76318359375,
0.53076171875,
0.76318359375,
0.54443359375,
0.233642578125,
0.54443359375
],
[
0.23779296875,
0.54541015625,
0.7646484375,
0.54541015625,
0.7646484375,
0.5595703125,
0.23779296875,
0.5595703125
],
[
0.2320556640625,
0.5595703125,
0.6806640625,
0.56005859375,
0.6806640625,
0.57373046875,
0.2320556640625,
0.57275390625
],
[
0.346435546875,
0.5771484375,
0.646484375,
0.5771484375,
0.646484375,
0.59130859375,
0.346435546875,
0.59130859375
],
[
0.363525390625,
0.59033203125,
0.63134765625,
0.59228515625,
0.63134765625,
0.60595703125,
0.363525390625,
0.60400390625
],
[
0.1707763671875,
0.626953125,
0.316162109375,
0.62744140625,
0.316162109375,
0.642578125,
0.1707763671875,
0.6416015625
],
[
0.1748046875,
0.65771484375,
0.82275390625,
0.65771484375,
0.82275390625,
0.671875,
0.1748046875,
0.671875
],
[
0.1871337890625,
0.67041015625,
0.82275390625,
0.67041015625,
0.82275390625,
0.68798828125,
0.1871337890625,
0.68798828125
],
[
0.17724609375,
0.68505859375,
0.82275390625,
0.68505859375,
0.82275390625,
0.69873046875,
0.17724609375,
0.69873046875
],
[
0.176513671875,
0.69873046875,
0.82177734375,
0.69873046875,
0.82177734375,
0.7119140625,
0.176513671875,
0.7119140625
],
[
0.1748046875,
0.7119140625,
0.82275390625,
0.71337890625,
0.82275390625,
0.7265625,
0.1748046875,
0.72607421875
],
[
0.17724609375,
0.7265625,
0.82177734375,
0.7265625,
0.82177734375,
0.74072265625,
0.17724609375,
0.74072265625
],
[
0.17724609375,
0.7421875,
0.8203125,
0.7421875,
0.8203125,
0.75244140625,
0.17724609375,
0.75244140625
],
[
0.1748046875,
0.7548828125,
0.82275390625,
0.7548828125,
0.82275390625,
0.76953125,
0.1748046875,
0.76953125
],
[
0.176513671875,
0.76806640625,
0.1993408203125,
0.771484375,
0.1968994140625,
0.78271484375,
0.1732177734375,
0.77978515625
],
[
0.17724609375,
0.79150390625,
0.82275390625,
0.79150390625,
0.82275390625,
0.8017578125,
0.17724609375,
0.8017578125
],
[
0.176513671875,
0.8037109375,
0.82421875,
0.8037109375,
0.82421875,
0.8173828125,
0.176513671875,
0.8173828125
],
[
0.188720703125,
0.81640625,
0.82177734375,
0.8173828125,
0.82177734375,
0.83056640625,
0.188720703125,
0.830078125
],
[
0.17724609375,
0.83203125,
0.82275390625,
0.83203125,
0.82275390625,
0.84521484375,
0.17724609375,
0.84521484375
],
[
0.1732177734375,
0.8447265625,
0.3896484375,
0.84521484375,
0.3896484375,
0.859375,
0.1732177734375,
0.85791015625
],
[
0.176513671875,
0.8662109375,
0.82275390625,
0.8662109375,
0.82275390625,
0.8798828125,
0.176513671875,
0.8798828125
],
[
0.176513671875,
0.8818359375,
0.82275390625,
0.8818359375,
0.82275390625,
0.892578125,
0.176513671875,
0.892578125
],
[
0.176513671875,
0.90771484375,
0.268798828125,
0.90576171875,
0.268798828125,
0.92041015625,
0.176513671875,
0.92236328125
],
[
0.193603515625,
0.921875,
0.476318359375,
0.923828125,
0.476318359375,
0.93798828125,
0.193603515625,
0.93603515625
],
[
0.1732177734375,
0.939453125,
0.271240234375,
0.939453125,
0.271240234375,
0.96630859375,
0.1732177734375,
0.96630859375
],
[
0.5810546875,
0.94873046875,
0.6005859375,
0.94873046875,
0.6005859375,
0.9619140625,
0.5810546875,
0.9619140625
],
[
0.91650390625,
0.9521484375,
0.94775390625,
0.9521484375,
0.94775390625,
0.9638671875,
0.91650390625,
0.9638671875
]
] |
[
"pusho g 0 GPublished as a conference paper at ICLR 2023",
"pop",
"ImageNet上的3D生成",
"Ivan Skorokhodov*Aliaksandr Siarohin",
"Jian Ren",
"Hsin-Ying Lee",
"CUHK",
"Yinghao Xu*",
"Snap Inc.",
"Snap Inc.",
"Snap Inc.",
"KAUST",
"Peter Wonka",
"Sergey Tulyakov",
"KAUST",
"Snap Inc.",
"Abstract",
"push0 g 0 G pop All existing 3D-from-2D generators are designed for well",
"curated single-category datasets, where all the objects have (approximately)",
"the same scale, 3D location and orientation, and the camera always points",
"to the center of the scene. This makes them inapplicable to diverse, in-",
"the-wild datasets of non-alignable scenes rendered from arbitrary camera",
"poses. In this work, we develop 3D generator with Generic Priors (3DGP) :",
"a 3D synthesis framework with more general assumptions about the training",
"data, and show that it scales to very challenging datasets, like ImageNet.",
"Our model is based on three new ideas. First, we incorporate an inaccu-",
"rate off-the-shelf depth estimator into 3D GAN training via a special depth",
"adaptationmoduletohandletheimprecision.Then,wecreateaflexible",
"camera model and a regularization strategy for it to learn its distribution",
"parameters during training. Finally, we extend the recent ideas of transfer-",
"ring knowledge from pretrained classifiers into GANs for patch-wise trained",
"models by employing a simple distillation-based technique on top of the dis",
"criminator. It achieves more stable training than the existing methods and",
"speeds up the convergence by at least 40 % . We explore our model on",
"four datasets: SDIP Dogs 2562, SDIP Elephants 2562 , LSUN Horses 2562",
" and ImageNet 256? and demonstrate that 3DGP outperforms the recent",
"state-of-the-art in terms of both texture and geometry quality.",
"pusho g O G pop Code and visualizations:",
"https://snap-research.github.io/3dgp",
"1Introduction",
"我们见证了3D感知图像合成领域的显著进步。社区正在开发新的方法来提高图像质量、3D",
"-致性和生成器的效率(e。g:,Chan etal.(2022);Dengetal.(2022);Skorokhodovet al.",
"(2022);Zhaoetal.(2022);Schwarzetal.(2022))。但是,所有现有的框架都是为精心策划",
"和对齐的数据集设计的,这些数据集由相同类别,规模和全局场景结构的对象组成,例如人",
"或猫的脸E(Chanetal.,2021)。这种策展需要关于手头对象类别的特定领域3D知识,因",
"为需要推断底层3D关键点以正确裁剪,旋转和缩放图像(Dengetal.,2022;Chanetal.",
"2022)。这使得对本质上“不可对齐”的大规模多类别数据集执行类似的对齐过程变得不可",
"行:不存在所有对象都可以转换为的单个规范位置(例如。g。,不可能将风景全景与勺子对",
"齐)",
"要将3D合成扩展到野外数据集,需要一个依赖于更通用的3D先验的框架。在这项工作",
"中,我们朝着这个方向迈出了一步,并开发了一个具有通用先验(3DGP)的3D生成器:",
"个3D合成模型,该模型仅由现成的单眼深度估计器的(不完美)深度预测来指导。令",
"人惊的是,这样的3D线索足以从松散策划的非对齐数据集中学习合理的场景,例如",
"ImageNet (Deng et al., 2009)",
"在野外数据集上训练3D生成器面临三个主要挑战:1)真实图像的外部相机参数未知且无",
"法推断:2)对象以不同的形状,位置,旋转和比例出现,使基础儿何的学习变得复杂;3",
"pusho g 0 G",
"*Work done during internship at Snap Inc",
"Puho g O G",
"1",
"pop"
] |
{
"arxiv_id": "2303.01416",
"language": "zh",
"page_idx": 0
}
|
||
2303.01416-zh-1
|
2303.01416-zh-1.jpg
|
push0 g 0 G$\underline\text{Published as a conference paper at ICLR 2023}$
-pop
数据集通常在纹理和结构方面包含很多变化,即使对于 2D 生成器也很难适应。如图$\boxed{\mathrm{E}}??$ (左)所示,最先进的 3D 感知生成器,例如 EG3D$\boxed{\mathrm{F}}($Chan et al.,2022),在这种具有挑战时间, 性的场景中难以学习适当的几何形状。在这项工作中,我们开发了三种新技术来解决这些问题
可学习的“球形球” 摄像机分布。大多数现有方法利用受限的摄像机模型(例如。g。,$\boxed{\mathrm{E}}$ (Schwarz et al., 2020; Niemeyer & Geiger, 2021b; Chan et al., 2021) ): 相机定位在半径恒定的球体上,始终指向世界中心并具有固定的内在函数。但是多样化的、非对齐的数据集违反了这些假设:e。g。, 狗数据集有鼻子的特写照片和全身狗的照片的图像,这意味着焦距和观察位置的可变性。因此,我们引人了一种具有 6 个自由度的新型相机模型来解决这种可变性。我们在训练期间优化其分布参数,并为其开发有效的梯度惩罚,以防止其崩溃为delta 分布
对抗性深度监督 (ADS)。通用图像数据集具有各种形状和姿势不同的对象。这就是为什么学习有意义的 3D 几何形状以及相机分布是一个不适的问题,因为不正确的比例可以通过不正确的相机模型$\mathbb{E}($Hartley & Zisserman, 2003) 或平面几何形状$\mathbb{E}(\mathbb{Z}$hao et al., 2022; Chan et al., 2022) 得到很好的补偿。为了灌输 3D 偏差,我们通过将场景的深度图连接为其 RGB 输入的第 4 个通道,向鉴别器提供场景几何信息。对于真实图像,我们使用来自通用现成的单目深度预测器$\mathbb{E}($Miangoleh et al.,2021)的(不完美)估计。对于假图像,我们从合成的辐射场渲染深度,并使用浅深度适配器模块对其进行处理,从而弥合估计和渲染的深度图之间的分布差距。这最终会引导生成器学习正确的 3D 几何图形
将知识提炼为鉴别器。先前的工作发现将知识从现成的 2D 图像编码器转移到合成模型$\color{red}{\mathrm{E}}$ (Sauer et al., 2022) 中是有益的。。他们通常利用预先训练的图像分类器作为鉴别器主干,并在顶部E(Sauer et al., 2021; Kumari et al., 2022) 上使用其他正则化策略。但是,这种技术仅适用于鉴别器的输人分布与编码器的训练相似的情况。这不适合补丁式训练 (Schwarz et al.,2020) 的设置,或者允许通过第 4 个通道向鉴别器提供深度图。这就是为什么我们在知识提炼的基础上制定了更通用、更有效的知识转移策略。它包括强制鉴别器预测预先训练的 ResNet50 (He et al.,2016) 模型的特征,有效地将知识转移到我们的模型中。与标准训练相比,该技术仅具有 1 个% 的计算开销,但允许将 2D 和 3D 生成器的 FID 提高至少40 个$\%$
首先,我们探索我们对非对齐单类别图像数据集的想法:SDIP Dogs$\boxed{\mathrm{F}}256^2\boxed{\mathrm{E}}($Mokady et al., 2022) , SDIP Elephants$\boxed{\mathrm{F} }256^2$ $\boxed{\mathrm{F} }($Mokady et al., 2022) 和 LSUN Horses$\boxed{\mathrm{F} }256^2$ $\boxed{\mathrm{F} }($Yu et al. 2015)。在这些数据集上,我们的生成器比现代最先进的 3D 感知生成器实现了更好的图像外观(由 FIDEHeusel et al.(2017)测量)和几何质量。然后,我们在 ImageNet$\boxed{\mathrm{E}}($Deng et al., 2009) 的所有1,000类上训练模型,表明对于不可对齐的数据可以进行多类别 3D 合成(请参阅 Fig. ?? )
# 2 Related work
3D 感知图像合成。Mildenhall et al. (2020)引人了神经辐射场 (NeRF): 基于神经网络的 3D 体积表示,只能从 RGB 监督中学习。它点燃了许多 3D 感知的图像/视频生成器E(Schwarz et al., 2020; Niemeyer & Geiger, 2021b; Chan et al., 2021; Xue et al., 2022; Zhou et al., 2021; Wang et al., 2022; Gu et al., 2022; Or-El et al., 2021; Chan et al., 2022; Skorokhodov et al., 2022; Zhang et al., 2022; Xu et al., 2021; Bahmani et al., 2022),它们都是基于 GAN 的$\underline{\mathrm{E}}($Goodfellow et al., 2014) 。他们中的许多人探索降低高分辨率数据的 3D 感知生成成本的技术,如补丁式训练(例如。g。, Schwarz et al. (2020); Meng et al. (2021); Skorokhodov et al. (2022) ), 基于 MPI 的渲染 (e。g。, Zhao et al. (2022) ) 或训练单独的 2D 上采样器(e。g。,Gu et al.(2022))
学习相机姿势。NeRF 需要已知的相机姿势,从多视角立体E$( \text{Sch\" onbergeretal. , 2016) }$或从运动$\boxed{\mathrm{E}}($Schönberger &Frahm, 2016) 的结构获得。或者,引人了一组工作来自动估计相机姿势$\overline{\mathrm{E}}($Wang et al., 2021) 或在训练期间对其进行微调$\underline{\mathrm{E}}($Lin et al. 2021; Kuang et al. 2022) 。我们在这项工作中解决的问题是根本不同的,因为它需要学习的不是来自多视图观测的相机姿态,而是姿态的分布,同时可以访问不同对象类别的稀疏单视图数据。在这方面,最接近我们的工作是 CAMPARI$\boxed{\mathrm{E}}($Niemeyer &Geiger,2021a),因为它还学习了相机分布
具有外部知识的 GAN。当使用现有的通用基于图像的模型E(Kumari et al., 2022; Sauer et al., 2021; 2022; Mo et al., 2020) 时,有几项工作观察到 GAN 的收敛性和保真度得到了改
2
push0g0G
pop
|
[
[
0.178955078125,
0.03533935546875,
0.6005859375,
0.0296783447265625,
0.6005859375,
0.04736328125,
0.178955078125,
0.05303955078125
],
[
0.9150390625,
0.04229736328125,
0.9453125,
0.04229736328125,
0.9453125,
0.05364990234375,
0.9150390625,
0.05364990234375
],
[
0.17724609375,
0.1060791015625,
0.82275390625,
0.1060791015625,
0.82275390625,
0.11932373046875,
0.17724609375,
0.11932373046875
],
[
0.17724609375,
0.11932373046875,
0.82177734375,
0.11932373046875,
0.82177734375,
0.1337890625,
0.17724609375,
0.1337890625
],
[
0.176513671875,
0.1331787109375,
0.82177734375,
0.1331787109375,
0.82177734375,
0.146484375,
0.176513671875,
0.146484375
],
[
0.176513671875,
0.146484375,
0.2091064453125,
0.1483154296875,
0.20751953125,
0.1610107421875,
0.1748046875,
0.1590576171875
],
[
0.17724609375,
0.1685791015625,
0.82421875,
0.1685791015625,
0.82421875,
0.1817626953125,
0.17724609375,
0.1817626953125
],
[
0.17724609375,
0.1817626953125,
0.82177734375,
0.1817626953125,
0.82177734375,
0.1956787109375,
0.17724609375,
0.1956787109375
],
[
0.178955078125,
0.1976318359375,
0.8203125,
0.1976318359375,
0.8203125,
0.2083740234375,
0.178955078125,
0.2083740234375
],
[
0.17724609375,
0.210205078125,
0.82177734375,
0.210205078125,
0.82177734375,
0.2247314453125,
0.17724609375,
0.2247314453125
],
[
0.17724609375,
0.2259521484375,
0.8203125,
0.2259521484375,
0.8203125,
0.236083984375,
0.17724609375,
0.236083984375
],
[
0.176513671875,
0.236083984375,
0.82275390625,
0.2374267578125,
0.82275390625,
0.251953125,
0.176513671875,
0.250732421875
],
[
0.176513671875,
0.25244140625,
0.2484130859375,
0.25244140625,
0.2484130859375,
0.26318359375,
0.176513671875,
0.26318359375
],
[
0.17724609375,
0.274658203125,
0.8203125,
0.274658203125,
0.8203125,
0.285400390625,
0.17724609375,
0.285400390625
],
[
0.176513671875,
0.287353515625,
0.82177734375,
0.287353515625,
0.82177734375,
0.300537109375,
0.176513671875,
0.300537109375
],
[
0.17724609375,
0.2998046875,
0.8203125,
0.2998046875,
0.8203125,
0.313232421875,
0.17724609375,
0.313232421875
],
[
0.176513671875,
0.314453125,
0.82275390625,
0.314453125,
0.82275390625,
0.32763671875,
0.176513671875,
0.32763671875
],
[
0.1748046875,
0.326904296875,
0.82177734375,
0.32763671875,
0.82177734375,
0.341552734375,
0.1748046875,
0.34033203125
],
[
0.178955078125,
0.343505859375,
0.8203125,
0.343505859375,
0.8203125,
0.354248046875,
0.178955078125,
0.354248046875
],
[
0.176513671875,
0.35595703125,
0.82177734375,
0.35595703125,
0.82177734375,
0.369384765625,
0.176513671875,
0.369384765625
],
[
0.176513671875,
0.369384765625,
0.63134765625,
0.369384765625,
0.63134765625,
0.38330078125,
0.176513671875,
0.38330078125
],
[
0.17724609375,
0.392578125,
0.82275390625,
0.392578125,
0.82275390625,
0.40283203125,
0.17724609375,
0.40283203125
],
[
0.17724609375,
0.40478515625,
0.82177734375,
0.40478515625,
0.82177734375,
0.41845703125,
0.17724609375,
0.41845703125
],
[
0.1748046875,
0.417236328125,
0.82275390625,
0.41845703125,
0.82275390625,
0.431884765625,
0.1748046875,
0.43115234375
],
[
0.17724609375,
0.43310546875,
0.82177734375,
0.43310546875,
0.82177734375,
0.4462890625,
0.17724609375,
0.4462890625
],
[
0.176513671875,
0.44580078125,
0.82177734375,
0.4462890625,
0.82177734375,
0.460205078125,
0.176513671875,
0.458984375
],
[
0.17724609375,
0.460205078125,
0.82177734375,
0.460205078125,
0.82177734375,
0.473388671875,
0.17724609375,
0.473388671875
],
[
0.1748046875,
0.472900390625,
0.82177734375,
0.473388671875,
0.82177734375,
0.488037109375,
0.1748046875,
0.4873046875
],
[
0.176513671875,
0.488037109375,
0.82177734375,
0.488037109375,
0.82177734375,
0.501953125,
0.176513671875,
0.501953125
],
[
0.176513671875,
0.50244140625,
0.2279052734375,
0.50244140625,
0.2279052734375,
0.51318359375,
0.176513671875,
0.51318359375
],
[
0.17724609375,
0.52294921875,
0.82177734375,
0.52294921875,
0.82177734375,
0.5361328125,
0.17724609375,
0.5361328125
],
[
0.1748046875,
0.53515625,
0.8203125,
0.5361328125,
0.8203125,
0.55029296875,
0.1748046875,
0.5498046875
],
[
0.1748046875,
0.5498046875,
0.8203125,
0.5498046875,
0.8203125,
0.56298828125,
0.1748046875,
0.56298828125
],
[
0.176513671875,
0.564453125,
0.82177734375,
0.564453125,
0.82177734375,
0.5791015625,
0.176513671875,
0.5791015625
],
[
0.176513671875,
0.5791015625,
0.82177734375,
0.5791015625,
0.82177734375,
0.59228515625,
0.176513671875,
0.59228515625
],
[
0.176513671875,
0.59228515625,
0.328369140625,
0.59228515625,
0.328369140625,
0.60595703125,
0.176513671875,
0.60595703125
],
[
0.1732177734375,
0.62744140625,
0.32275390625,
0.62744140625,
0.32275390625,
0.642578125,
0.1732177734375,
0.642578125
],
[
0.1748046875,
0.66015625,
0.82275390625,
0.66015625,
0.82275390625,
0.673828125,
0.1748046875,
0.673828125
],
[
0.176513671875,
0.6748046875,
0.82177734375,
0.6748046875,
0.82177734375,
0.68798828125,
0.176513671875,
0.68798828125
],
[
0.176513671875,
0.68798828125,
0.82177734375,
0.68798828125,
0.82177734375,
0.7021484375,
0.176513671875,
0.7021484375
],
[
0.176513671875,
0.7021484375,
0.82177734375,
0.7021484375,
0.82177734375,
0.71533203125,
0.176513671875,
0.71533203125
],
[
0.17724609375,
0.71630859375,
0.82177734375,
0.71630859375,
0.82177734375,
0.72998046875,
0.17724609375,
0.72998046875
],
[
0.176513671875,
0.72900390625,
0.82177734375,
0.72998046875,
0.82177734375,
0.74365234375,
0.176513671875,
0.7421875
],
[
0.176513671875,
0.744140625,
0.82177734375,
0.744140625,
0.82177734375,
0.75830078125,
0.176513671875,
0.75830078125
],
[
0.176513671875,
0.75830078125,
0.82275390625,
0.75830078125,
0.82275390625,
0.77294921875,
0.176513671875,
0.77294921875
],
[
0.1732177734375,
0.771484375,
0.374267578125,
0.77099609375,
0.374267578125,
0.78515625,
0.1732177734375,
0.7861328125
],
[
0.176513671875,
0.79248046875,
0.82275390625,
0.79248046875,
0.82275390625,
0.80615234375,
0.176513671875,
0.80615234375
],
[
0.17724609375,
0.80615234375,
0.82275390625,
0.80615234375,
0.82275390625,
0.8193359375,
0.17724609375,
0.8193359375
],
[
0.176513671875,
0.82080078125,
0.8203125,
0.82080078125,
0.8203125,
0.833984375,
0.176513671875,
0.833984375
],
[
0.17724609375,
0.8359375,
0.82177734375,
0.8359375,
0.82177734375,
0.8466796875,
0.17724609375,
0.8466796875
],
[
0.17724609375,
0.8486328125,
0.82177734375,
0.8486328125,
0.82177734375,
0.8623046875,
0.17724609375,
0.8623046875
],
[
0.176513671875,
0.861328125,
0.82177734375,
0.8623046875,
0.82177734375,
0.876953125,
0.176513671875,
0.87548828125
],
[
0.176513671875,
0.87744140625,
0.2091064453125,
0.87744140625,
0.2091064453125,
0.8896484375,
0.176513671875,
0.8896484375
],
[
0.176513671875,
0.896484375,
0.8203125,
0.896484375,
0.8203125,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.17724609375,
0.91357421875,
0.8203125,
0.91357421875,
0.8203125,
0.923828125,
0.17724609375,
0.923828125
],
[
0.17724609375,
0.94970703125,
0.268798828125,
0.94775390625,
0.268798828125,
0.9619140625,
0.17724609375,
0.9638671875
],
[
0.583984375,
0.94970703125,
0.59716796875,
0.94970703125,
0.59716796875,
0.9609375,
0.583984375,
0.9609375
],
[
0.91650390625,
0.95263671875,
0.94677734375,
0.95263671875,
0.94677734375,
0.9638671875,
0.91650390625,
0.9638671875
]
] |
[
"push0 g 0 GPublished as a conference paper at ICLR 2023",
"pop",
"数据集通常在纹理和结构方面包含很多变化,即使对于2D生成器也很难适应。如图E??",
"(左)所示,最先进的3D感知生成器,例如EG3DE(Chanetal.,2022),在这种具有挑战",
"性的场景中难以学习适当的几何形状。在这项工作中,我们开发了三种新技术来解决这些",
"问题",
"可学习的“球形球”摄像机分布。大多数现有方法利用受限的摄像机模型(例如。g。,E",
"(Schwarzetal.,2020;Niemeyer&Geiger,2021b;Chanetal.,2021)):相机定位在半径恒",
"定的球体上,始终指向世界中心并具有固定的内在函数。但是多样化的、非对齐的数据集违",
"反了这些假设:e。g。,狗数据集有鼻子的特写照片和全身狗的照片的图像,这意味着焦距",
"和观察位置的可变性。因此,我们引入厂一种具有6个自由度的新型相机模型来解决这种",
"可变性。我们在训练期间优化其分布参数,并为其开发有效的梯度惩罚,以防止其崩溃为",
"delta分布",
"对抗性深度监督(ADS)。通用图像数据集具有各种形状和姿势不同的对象。这就是为什么",
"学习有意义的3D几何形状以及相机分布是一个不适的问题,因为不正确的比例可以通过不",
"正确的相机模型E(Hartley&Zisserman,2003)或平面几何形状E(Zhaoetal.,2022;Char",
"etal.,2022)得到很好的补偿。为了灌输3D偏差,我们通过将场景的深度图连接为其RGB",
"输人的第4个通道,向鉴别器提供场景几何信息。对于真实图像,我们使用来自通用现成的",
"单自深度预测器F(Miangolehetal.,2021)的(不完美)估计。对于假图像,我们从合成的",
"辐射场染深度,并使用浅深度适配器模块对其进行处理,从而弥合估计和谊染的深度图",
"之间的分布差距。这最终会引导生成器学习正确的3D几何图形",
"将知识提炼为鉴别器。先前的工作发现将知识从现成的2D图像编码器转移到合成模型F",
"(Saueretal.,2022)中是有益的。。他们通常利用预先训练的图像分类器作为鉴别器主干,并",
"在顶部E(Saueretal.,2021;Kumarietal.,2022)上使用其他正则化策略。但是,这种技术",
"仅适用于鉴别器的输人分布与编码器的训练相似的情况。。这不适合补丁式训练(Schwarz",
"etal.,2020)的设置,或者允许通过第4个通道向鉴别器提供深度图。这就是为什么我们在",
"知识提炼的基础上制定了更通用、更有效的知识转移策略。它包括强制鉴别器预测预先训",
"练的ResNet50(Heetal.,2016)模型的特征,有效地将知识转移到我们的模型中。与标准",
"训练相比,该技术仅具有1个%的计算开销,但允许将2D和3D生成器的FID提高至少",
"40个%",
"首先,我们探索我们对非对齐单类别图像数据集的想法:SDIPDogsE2562E(Mokadyetal.",
"2022),SDIP ElephantsE2562E(Mokady et al., 2022)和 LSUNHorsesE2562E(Yu et al.",
"2015)。在这些数据集上,我们的生成器比现代最先进的3D感知生成器实现了更好的图像",
"外观(由FIDEHeuseletal.(2017)测量)和几何质量。然后,我们在ImageNetE(Deng",
"etal.,2009)的所有1,000类上训练模型,表明对于不可对齐的数据可以进行多类别3D合",
"成(请参阅Fig.??)",
"2 Related work",
"3D感知图像合成。Mildenhalletal.(2020)引人了神经辐射场(NeRF):基于神经网络的3D",
"体积表示,只能从RGB监督中学习。它点燃了许多3D感知的图像/视频生成器E(Schwarz",
"et al., 2020; Niemeyer & Geiger, 2021b; Chan et al., 2021; Xue et al., 2022; Zhou et al..",
"2021; Wang et al., 2022; Gu et al., 2022; Or-El et al., 2021; Chan et al., 2022; Skorokhodov",
"et al.,2022Zhang etal.,2022;Xuet al.,2021;Bahmani etal.,2022),它们都是基于GAN",
"的E(Goodfellowetal.,2014)。他们中的许多人探索降低高分辨率数据的3D感知生成成本",
"的技术,如补丁式训练(例如。g。,Schwarzetal.(2020);Mengetal.(2021);Skorokhodov",
"etal.(2022)),基于MPI的渣染(e。g。,Zhaoetal.(2022))或训练单独的2D上采样器",
"(e。g。,Guet al. (2022))",
"学习相机姿势。NeRF需要已知的相机姿势,从多视角立体E(Schonbergeretal.,2016)或",
"从运动E(Schonberger&Frahm,2016)的结构获得。或者,引人了一组工作来自动估计相",
"机姿势E(Wangetal.,2021)或在训练期间对其进行微调E(Linetal.,2021;Kuangetal.",
"2022)。我们在这项工作中解决的问题是根本不同的,因为它需要学习的不是来自多视图观",
"测的相机姿态,而是姿态的分布,同时可以访问不同对象类别的稀疏单视图数据。在这方",
"面,最接近我们的工作是CAMPARIE(Niemeyer&Geiger,202la),因为它还学习了相机",
"分布",
"具有外部知识的GAN。当使用现有的通用基于图像的模型E(Kumarietal.,2022;Saue)",
"etal.,2021:2022:Moetal,2020)时,有几项工作观察到GAN的收敛性和保真度得到改",
"pusho g o G",
"2",
"pop"
] |
{
"arxiv_id": "2303.01416",
"language": "zh",
"page_idx": 1
}
|
||
2303.01416-zh-2
|
2303.01416-zh-2.jpg
|
push0 g 0 G$\underline\text{Published as a conference paper at ICLR 2023}$
pop
善,其中最著名的是 StyleGAN-XLE(Sauer et al., 2022) ,它使用预训练的 EfficientNet[E] (Tan &Le, 2019) ,然后是几个鉴别器层。类似的技术不适用于我们的情况,因为由于缺乏数据,在大规模 RGB-D 数据集上预训练通用 RGB-D 网络是有问题的。另一个值得注意的例子是 FreezeD$\boxed{\mathrm{E}}$Mo et al.(2020) ,它建议提取用于 GAN 微调的鉴别器功能。另一方面, 我们的工作依赖于现有的图像分类模型
现成的深度指导。GSN (DeVries et al., 2021) 还将深度图连接为鉴别器输人的第 4 个通道, 但它们利用地面实况深度,这不适用于大规模数据集。DepthGAN (Shi et al.,2022) 使用深度估计器的预测来指导 2DGAN 的训练。在并行工作E(Yu et al., 2022) 中也探索了利用单眼深度估计器来改善神经渲染的方法,但是,他们的目标只是几何重建。我们方法的核心特征是通过训练深度适配器模块来减轻深度估计器的不精确性(请参见 §3.2 )
# 3 Method
我们将生成器构建在 EpiGRAF$\boxed{\mathrm{E}}($Skorokhodov et al.,2022) 之上,因为它可以快速训练,实现合理的图像质量并且不需要 2D 上采样器,而是依靠补丁式训练$\overline{\mathrm{E}}($Schwarz et al., 2020) 。给定一个随机潜在代码$z$ ,我们的生成器 G 为场景生成一个三平面表示。然后,浅层2层 MLP 从 3D 坐标处的插值特征向量预测 RGB 颜色和密度$\sigma$值。然后,在任何给定的相机位置以体积方式渲染图像和深度$\mathbb{E}($Mildenhall et al., 2020) 。与使用固定相机分布的先前作品$\boxed{\mathrm{E}}($Chan et al., 2021; Niemeyer $\&$ Geiger, 2021b) 不同,我们从可训练的相机生成器 C 采样相机(请参阅$\S3.1$ )。我们渲染深度并通过深度适配器处理它(参见 §3.2 ),桥接渲染和估计深度图的域 (Miangoleh et al., 2021) 。我们的鉴别器 D 遵循 StyleGAN2$\underline{\mathrm{E}}($Karras et al., 2020a) 的体系结构,另外还采用自适应或估计的深度作为第 4 个通道。为了进一步提高图像的保真度,我们提出了一种简单的知识蒸馏技术,该技术通过从 ResNet$\boxed{\mathrm{F}}($He et al., 2016)获得的外部知识丰富了 D (请参见 §3.3 )。整体模型架构如 Fig. ?? 所示
3.1 Learnable“Ball-in-Sphere”camera distribution
现有相机参数化的限制。现有 3D 生成器的摄像机参数化遵循过于简化的分布一其位置在具有固定内在函数的固定半径球体上进行采样,并且摄像机始终指向(0,0,0) 。这种参数化只有两个自由度:俯仰和偏航(Fig.3(a)中的$\varphi_\mathrm{pos}$),隐含地假设所有对象都可以相对于某些规范对齐居中,旋转和缩放。然而,自然的野外 3D 场景本质上是不可对齐的:它们可以由多个对象组成,对象可能具有截然不同的形状和清晰度,或者它们甚至可以仅表示为体积 (如烟雾)。。这使得传统的相机惯例不适用于此类数据
可学习的“球形球”摄像机分布。我们引人了一种新的相机参数化,我们称之为“球形球”。与标准的相反,它具有四个额外的自由度:视场$\varphi_\mathrm{fov}$ ,以及内球面的俯仰,偏航和半径,指定外球面内的观察点 (Fig. 3 中的$\varphi_{\mathrm{lookat}}$ (b))。结合外球上的标准参数,我们的相机参数化有六个自由度 $\varphi=[\varphi_\mathrm{pos}\parallel\varphi_\mathrm{fov}\parallel\varphi_\mathrm{lookat}]$ ,其中 $\parallel$表示级联。我们不是手动定义摄像机分布,而是在每个数据集的训练过程中学习摄像机分布。特别是,我们训练摄像机生成器网络 C ,该网络从$\varphi^{\prime}$之前的足够宽的摄像机中采样摄像机参数,并生成新的摄像机参数$\varphi$ 。对于类条件数据集,例如 ImageNet, 其中场景具有明显不同的几何形状,我们还将此网络设置为类标签$c$和潜在代码$z$, i。e。$\varphi=\mathbb{C}(\boldsymbol{\varphi}^\prime,\boldsymbol{z},c)$ 。对于单个类别数据集,我们使用$\varphi=\operatorname{C}(\varphi^{\prime},z)$
Camera Gradient Penalty 。据我们所知,CAMPARI$\boxed{\mathrm{E}}($Niemeyer &Geiger, 2021a) 是唯一还学习相机分布的作品。它从宽分布中采样一组相超参数nd新将其传递给浅神经网络,该神经网络为这些参数产生残差$\Delta\varphi=\varphi-\varphi^{\prime}$。然而,我们观察到这种正则的a对于Golifies et al. (2022)也做了类似的观察
为了防止相机生成器产生塌陷的相机参数, 我们寻求一种新的正则化策略。理想情况
<FigureHere>
( a) Standarḍ camera
下,它应该防止常数解,同时降低 C 的Lipschitz 常数,这对于稳定训练生成器$\overline{\mathrm{E}}$ (Odena et al., 2018) 至关重要。如果我们将预测的摄像机参数相对于先前摄像机参数的导数推至 1 或减一,则可以实现这两个
push0 g 0 G
pop
(b) Our camera model
model
pop
pop
push0 g $\overset{\bullet}{\operatorname*{0}}\overset{\bullet}{\operatorname*{G}}$
|
[
[
0.17724609375,
0.03533935546875,
0.60107421875,
0.0290374755859375,
0.60107421875,
0.046722412109375,
0.17724609375,
0.05303955078125
],
[
0.9150390625,
0.041656494140625,
0.9453125,
0.041656494140625,
0.9453125,
0.05303955078125,
0.9150390625,
0.05303955078125
],
[
0.17724609375,
0.10479736328125,
0.82421875,
0.10479736328125,
0.82421875,
0.11871337890625,
0.17724609375,
0.11871337890625
],
[
0.176513671875,
0.11871337890625,
0.82275390625,
0.117431640625,
0.82275390625,
0.1319580078125,
0.176513671875,
0.1331787109375
],
[
0.17724609375,
0.1319580078125,
0.82177734375,
0.1319580078125,
0.82177734375,
0.1458740234375,
0.17724609375,
0.1458740234375
],
[
0.176513671875,
0.1458740234375,
0.82275390625,
0.146484375,
0.82275390625,
0.1610107421875,
0.176513671875,
0.160400390625
],
[
0.176513671875,
0.160400390625,
0.453369140625,
0.160400390625,
0.453369140625,
0.173583984375,
0.176513671875,
0.173583984375
],
[
0.176513671875,
0.1817626953125,
0.82177734375,
0.1817626953125,
0.82177734375,
0.1956787109375,
0.176513671875,
0.1956787109375
],
[
0.17724609375,
0.1956787109375,
0.82177734375,
0.1956787109375,
0.82177734375,
0.208984375,
0.17724609375,
0.208984375
],
[
0.176513671875,
0.208984375,
0.82177734375,
0.208984375,
0.82177734375,
0.222900390625,
0.176513671875,
0.222900390625
],
[
0.176513671875,
0.2235107421875,
0.8203125,
0.2235107421875,
0.8203125,
0.2374267578125,
0.176513671875,
0.2374267578125
],
[
0.1748046875,
0.236083984375,
0.72802734375,
0.238037109375,
0.72802734375,
0.251953125,
0.1748046875,
0.25
],
[
0.1707763671875,
0.281005859375,
0.27685546875,
0.2822265625,
0.27685546875,
0.296630859375,
0.1707763671875,
0.29541015625
],
[
0.17724609375,
0.32080078125,
0.82177734375,
0.32080078125,
0.82177734375,
0.330810546875,
0.17724609375,
0.330810546875
],
[
0.17724609375,
0.333984375,
0.8203125,
0.333984375,
0.8203125,
0.3447265625,
0.17724609375,
0.3447265625
],
[
0.1871337890625,
0.34521484375,
0.82275390625,
0.34521484375,
0.82275390625,
0.359130859375,
0.1871337890625,
0.359130859375
],
[
0.176513671875,
0.35986328125,
0.82275390625,
0.35986328125,
0.82275390625,
0.373779296875,
0.176513671875,
0.373779296875
],
[
0.1748046875,
0.373779296875,
0.82177734375,
0.375,
0.82177734375,
0.38818359375,
0.1748046875,
0.386962890625
],
[
0.17724609375,
0.38818359375,
0.82275390625,
0.38818359375,
0.82275390625,
0.401611328125,
0.17724609375,
0.401611328125
],
[
0.17724609375,
0.401611328125,
0.82177734375,
0.401611328125,
0.82177734375,
0.415283203125,
0.17724609375,
0.415283203125
],
[
0.176513671875,
0.416748046875,
0.82275390625,
0.416748046875,
0.82275390625,
0.429931640625,
0.176513671875,
0.429931640625
],
[
0.176513671875,
0.429931640625,
0.82177734375,
0.429931640625,
0.82177734375,
0.443115234375,
0.176513671875,
0.443115234375
],
[
0.17724609375,
0.443115234375,
0.82275390625,
0.443115234375,
0.82275390625,
0.45703125,
0.17724609375,
0.45703125
],
[
0.176513671875,
0.45703125,
0.74267578125,
0.45703125,
0.74267578125,
0.47021484375,
0.176513671875,
0.47021484375
],
[
0.1732177734375,
0.498779296875,
0.5556640625,
0.498779296875,
0.5556640625,
0.51220703125,
0.1732177734375,
0.51220703125
],
[
0.17724609375,
0.52978515625,
0.82177734375,
0.52978515625,
0.82177734375,
0.54052734375,
0.17724609375,
0.54052734375
],
[
0.176513671875,
0.54150390625,
0.8203125,
0.54150390625,
0.8203125,
0.5546875,
0.176513671875,
0.5546875
],
[
0.1748046875,
0.5546875,
0.82275390625,
0.556640625,
0.82275390625,
0.57080078125,
0.1748046875,
0.568359375
],
[
0.176513671875,
0.5693359375,
0.82177734375,
0.5693359375,
0.82177734375,
0.58349609375,
0.176513671875,
0.58349609375
],
[
0.17724609375,
0.583984375,
0.82275390625,
0.583984375,
0.82275390625,
0.59765625,
0.17724609375,
0.59765625
],
[
0.176513671875,
0.59765625,
0.60107421875,
0.59765625,
0.60107421875,
0.611328125,
0.176513671875,
0.611328125
],
[
0.17724609375,
0.61865234375,
0.82177734375,
0.61865234375,
0.82177734375,
0.6318359375,
0.17724609375,
0.6318359375
],
[
0.1748046875,
0.6298828125,
0.82421875,
0.6318359375,
0.82421875,
0.6484375,
0.1748046875,
0.646484375
],
[
0.17724609375,
0.646484375,
0.82275390625,
0.646484375,
0.82275390625,
0.6611328125,
0.17724609375,
0.6611328125
],
[
0.17724609375,
0.6611328125,
0.5087890625,
0.6611328125,
0.5087890625,
0.6748046875,
0.17724609375,
0.6748046875
],
[
0.5009765625,
0.6591796875,
0.82177734375,
0.6591796875,
0.82177734375,
0.67236328125,
0.5009765625,
0.67236328125
],
[
0.178955078125,
0.67529296875,
0.8203125,
0.67529296875,
0.8203125,
0.68603515625,
0.178955078125,
0.68603515625
],
[
0.176513671875,
0.68798828125,
0.82275390625,
0.68798828125,
0.82275390625,
0.7021484375,
0.176513671875,
0.7021484375
],
[
0.191162109375,
0.7021484375,
0.82177734375,
0.7021484375,
0.82177734375,
0.71533203125,
0.191162109375,
0.71533203125
],
[
0.1748046875,
0.7138671875,
0.82177734375,
0.71533203125,
0.82177734375,
0.72998046875,
0.1748046875,
0.72900390625
],
[
0.176513671875,
0.73193359375,
0.26708984375,
0.73193359375,
0.26708984375,
0.74365234375,
0.176513671875,
0.74365234375
],
[
0.176513671875,
0.75244140625,
0.8203125,
0.75244140625,
0.8203125,
0.76318359375,
0.176513671875,
0.76318359375
],
[
0.17724609375,
0.76513671875,
0.82275390625,
0.76513671875,
0.82275390625,
0.77978515625,
0.17724609375,
0.77978515625
],
[
0.1748046875,
0.77783203125,
0.82275390625,
0.77880859375,
0.82275390625,
0.79345703125,
0.1748046875,
0.79248046875
],
[
0.1748046875,
0.79052734375,
0.82421875,
0.79248046875,
0.82421875,
0.806640625,
0.1748046875,
0.8046875
],
[
0.1748046875,
0.80615234375,
0.398681640625,
0.80615234375,
0.398681640625,
0.8193359375,
0.1748046875,
0.8193359375
],
[
0.17724609375,
0.82763671875,
0.4794921875,
0.82763671875,
0.4794921875,
0.84130859375,
0.17724609375,
0.84130859375
],
[
0.176513671875,
0.84130859375,
0.48046875,
0.84130859375,
0.48046875,
0.85498046875,
0.176513671875,
0.85498046875
],
[
0.5810546875,
0.8369140625,
0.78759765625,
0.83544921875,
0.78759765625,
0.849609375,
0.5810546875,
0.8515625
],
[
0.7490234375,
0.849609375,
0.9140625,
0.8486328125,
0.9140625,
0.8623046875,
0.7490234375,
0.86279296875
],
[
0.17724609375,
0.85595703125,
0.48193359375,
0.85595703125,
0.48193359375,
0.869140625,
0.17724609375,
0.869140625
],
[
0.176513671875,
0.869140625,
0.483642578125,
0.869140625,
0.483642578125,
0.88330078125,
0.176513671875,
0.88330078125
],
[
0.176513671875,
0.88330078125,
0.48193359375,
0.88330078125,
0.48193359375,
0.896484375,
0.176513671875,
0.896484375
],
[
0.17724609375,
0.89794921875,
0.484375,
0.89794921875,
0.484375,
0.9111328125,
0.17724609375,
0.9111328125
],
[
0.494384765625,
0.89453125,
0.57861328125,
0.892578125,
0.57861328125,
0.9072265625,
0.494384765625,
0.9091796875
],
[
0.176513671875,
0.9111328125,
0.48193359375,
0.9111328125,
0.48193359375,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.6650390625,
0.90771484375,
0.74267578125,
0.90771484375,
0.74267578125,
0.91943359375,
0.6650390625,
0.91943359375
],
[
0.50341796875,
0.92236328125,
0.5908203125,
0.92236328125,
0.5908203125,
0.9345703125,
0.50341796875,
0.9345703125
],
[
0.498291015625,
0.939453125,
0.59619140625,
0.94140625,
0.59619140625,
0.95556640625,
0.498291015625,
0.9541015625
],
[
0.66259765625,
0.93505859375,
0.75732421875,
0.93310546875,
0.75732421875,
0.94775390625,
0.66259765625,
0.94970703125
],
[
0.6044921875,
0.94140625,
0.6708984375,
0.9375,
0.67333984375,
0.9521484375,
0.60546875,
0.95556640625
],
[
0.17724609375,
0.94873046875,
0.268798828125,
0.9462890625,
0.268798828125,
0.9609375,
0.17724609375,
0.96337890625
],
[
0.6650390625,
0.9541015625,
0.814453125,
0.9541015625,
0.814453125,
0.96728515625,
0.6650390625,
0.96728515625
],
[
0.91650390625,
0.95068359375,
0.94677734375,
0.95068359375,
0.94677734375,
0.96337890625,
0.91650390625,
0.96337890625
],
[
0.56396484375,
0.9697265625,
0.59228515625,
0.9697265625,
0.59228515625,
0.98095703125,
0.56396484375,
0.98095703125
],
[
0.5,
0.955078125,
0.5400390625,
0.955078125,
0.5400390625,
0.96630859375,
0.5,
0.96630859375
],
[
0.7294921875,
0.9697265625,
0.7587890625,
0.9697265625,
0.7587890625,
0.98193359375,
0.7294921875,
0.98193359375
],
[
0.5,
0.98095703125,
0.59228515625,
0.97900390625,
0.59228515625,
0.99365234375,
0.5,
0.99560546875
]
] |
[
"push0 g 0 GPublished as a conference paper at ICLR 2023",
"pop",
"善,其中最著名的是StyleGAN-XLE(Saueretal.,2022),它使用预训练的EfficientNetE",
"(Tan&Le,2019),然后是几个鉴别器层。类似的技术不适用于我们的情况,因为由于缺乏",
"数据,在大规模RGB-D数据集上预训练通用RGB-D网络是有问题的。另一个值得注意的",
"例子是FreezeDEMoetal.(2020),它建议提取用于GAN微调的鉴别器功能。另一方面,",
"我们的工作依赖于现有的图像分类模型",
"现成的深度指导。GSN(DeVriesetal.,2021)还将深度图连接为鉴别器输人的第4个通道",
"但它们利用地面实况深度,这不适用于大规模数据集。DepthGAN(Shietal.,2022)使用",
"深度估计器的预测来指导2DGAN的训练。在并行工作E(Yuetal.,2022)中也探索了利用",
"单眼深度估计器来改善神经染的方法,但是,他们的目标只是几何重建。我们方法的核心",
"特征是通过训练深度适配器模块来减轻深度估计器的不精确性(请参见S3.2)",
"3Method",
"我们将生成器构建在EpiGRAFF(Skorokhodovetal..2022)之上,因为它可以快速训练,实",
"现合理的图像质量并且不需要2D上采样器,而是依靠补丁式训练E(Schwarzetal.,2020)",
"给定一个随机潜在代码z,我们的生成器G为场景生成一个三平面表示。然后,浅层2",
"层MLP从3D坐标处的插值特征向量预测RGB颜色和密度α值。然后,在任何给定的相",
"机位置以体积方式染图像和深度E(Mildenhalletal.,2020)。与使用固定相机分布的先前",
"作品E(Chanetal.,2021;Niemeyer&Geiger,2021b)不同,我们从可训练的相机生成器C",
"采样相机(请参阅S3.1)。我们染深度并通过深度适配器处理它(参见S3.2),桥接染",
"和估计深度图的域(Miangolehetal.,2021)。我们的鉴别器D遵循StyleGAN2E(Karras",
"etal.,2020a)的体系结构,另外还采用自适应或估计的深度作为第4个通道。为了进一步提",
"高图像的保真度,我们提出了一种简单的知识蒸馏技术,该技术通过从ResNetE(Heetal.,",
"2016)获得的外部知识丰富了D(请参见S3.3)。整体模型架构如Fig.??所示",
"3.1Learnable“Ball-in-Sphere\" camera distribution",
"现有相机参数化的限制。现有3D生成器的摄像机参数化遵循过于简化的分布一其位置在具",
"有固定内在函数的固定半径球体上进行采样,并且摄像机始终指向(00.0)。这种参数化只",
"有两个自由度:俯仰和偏航(Fig.3(a)中的pos),隐含地假设所有对象都可以相对于",
"某些规范对齐居中,旋转和缩放。然而,自然的野外3D场景本质上是不可对齐的:它们可",
"以由多个对象组成,对象可能具有截然不同的形状和清晰度,或者它们甚至可以仅表示为",
"体积(如烟雾)。。这使得传统的相机惯例不适用于此类数据",
"可学习的“球形球”摄像机分布。我们引人了一种新的相机参数化,我们称之为“球形球”。",
"与标准的相反,它具有四个额外的自由度:视场fov,以及内球面的俯仰,偏航和半径,指",
"定外球面内的观察点(Fig.3中的Plookat(b))。结合外球上的标准参数,我们的相机参数",
"化有六个自由度=[PposlPfovllPlookat],",
"其中Ⅱ表示级联。我们不是手动定义摄像机",
"分布,而是在每个数据集的训练过程中学习摄像机分布。特别是,我们训练摄像机生成器网",
"络C,该网络从β'之前的足够宽的摄像机中采样摄像机参数,并生成新的摄像机参数4",
"对于类条件数据集,例如ImageNet,其中场景具有明显不同的几何形状,我们还将此网",
"络设置为类标签c和潜在代码z,i。e。=C(g,z,c)。对于单个类别数据集,我们使用",
"p =C(p,z)",
"CameraGradientPenalty。据我们所知,CAMPARIE(Niemeyer&Geiger202la)是唯一",
"还学习相机分布的作品。它从宽分布中采样一组想参数nd商将其传递给浅神经网络,该",
"神经网络为这些参数产生残差=-°。然而,我们观察到这种正账化于我们在这",
"项工作中探索的复杂数据集来说太弱了,并导致分布崩溃(参见Fig.??)。请注意,Gu",
"etal.(2022)也做了类似的观察",
"为了防止相机生成器产生塌陷的相机参数",
"我们寻求一种新的正则化策略。理想情况",
"images/standard-camera.pdf",
"images/our-camera.pdf",
"下,它应该防止常数解,同时降低C的",
"Lipschitz常数,这对于稳定训练生成器E",
"(Odenaetal.,2018)至关重要。如果我们将",
"预测的摄像机参数相对于先前摄像机参数",
"camera.pdf",
"的导数推至1或减一,则可以实现这两个",
"camera.pdi",
"push0 g 0 G",
"(a)Standard",
" pusho g 0 G",
"camera",
"pusho g 0 G",
"(b) Our camera model",
"pop",
"pop",
"model",
"pop",
"push0 g 0 G"
] |
{
"arxiv_id": "2303.01416",
"language": "zh",
"page_idx": 2
}
|
||
2303.01416-zh-4
|
2303.01416-zh-4.jpg
|
push0 g 0 G$\underline\text{Published as a conference paper at ICLR 2023}$
.pop
而 G 将无法学习几何形状。这就是为什么我们将 A 构造为一个 3 层卷积网络(参见Fig. ?? )。每一层都会产生一个具有不同适应级别的单独深度图$:\boldsymbol d_a^{(1)},\boldsymbol d_a^{(2)}$and $\boldsymbol d_a^{(3)}.$ 最终的适应深度$d_a$ 是从 $\{\bar{d},d_a^{(1)},d_a^{(2)},\bar{d}_a^{(3)}\}$ 的集合中随机选择的。这样的设计可以有效地学习良好的几何形状,同时减轻过拟合。例如,当 D 接收原始深度图$\bar{d}$作为输入时, 它会向 G 提供一个用于学习几何的强信号。并且将适应的深度图$d_a^{(i)}$传递给 D 允许 G 模拟深度估计器的不精确伪影,而不会降低其原始深度图$\bar{d}$
3.3
Knowledge distillation for Discriminator
来自预训练分类网络的知识被证明可以提et al., 2022; Sauer et al., 2022; Casanova et al., 2021) 中的训练稳定性和生成质量。Sauer et al. (2021;2022)提出的一种流行的解决方案是使用现成的模型作为鉴别器,同时冻结其大部分权重。不幸的是,这种技术不适用于我们的场景,因为我们通过添加额外的深度输入(请参阅 83.2)和补丁参数的条件来修改鉴别器的架构,类似于 EpiGRAF$\boxed{\mathrm{E}}($Skorokhodov et al.,2022)。因此, 我们设计了一种替代技术,可以与任意结构的鉴别器一起使用。具体来说,对于每个真实样本,we obtain two feature representations: $e$ from the pretrained ResNet (He et al., 2016) network and $\hat{e}$ extracted from the final representation of our discriminator D . , 我们的损失只是将$\hat{e}$推送到$e$,如下所示:
$$\mathcal{L}_{\mathrm{dist}}=\left\|e-\hat{e}\right\|_{2}^{2}.$$
(4)
$\mathcal{L}_{\mathrm{dist}}$可以有效地将知识从预训练的
ResNet$\underline{\mathrm{E}}($He et al.,2016)中提取到我们的
X
### 3.4 Training
生成器 G 的总损耗由两部分组成:对抗性
损耗和 Camera Gradient Penalty :
(5)
$$\mathcal{L}_{\mathrm{G}}=\mathcal{L}_{\mathrm{adv}}+\sum_{\varphi_{i}\in\varphi}\lambda_{\varphi_{i}}\mathcal{L}_{\varphi_{i}},$$
其中 $\mathcal{L}_\mathrm{adv}$ 是 the 非饱和损耗$\mathbb{E}($Goodfellow et al., 2014)。我们观察到,相机原点的不同分布对于倾斜有意义的几何形状最重要, 但它也最容易退化为恒定解。因此,我们为 $\varphi_{\mathrm{pos}}$ 设置 $\lambda_{\varphi_i}=0.3$,而为$\varphi_\mathrm{fov}$ 设置$\begin{array}{l}{\lambda_{\varphi_{i}}=0.03\:,\:\text{为 }\varphi_{\mathrm{lookat}}\:\text{设置 }\lambda_{\varphi_{i}}=0.003\:。}\\{\text{另一方面 },\:\text{鉴别器 D 的损失由三部分组成}:}\\\end{array}$ 对抗性损失,知识提炼和 $\mathcal{R}_1$ 梯度惩罚$\mathbb{E}$ (Mescheder et al., 2018):
$$\mathcal{L}_{\mathrm{D}}=\mathcal{L}_{\mathrm{adv}}+\lambda_{\mathrm{dist}}\mathcal{L}_{\mathrm{dist}}+\lambda_{r}\mathcal{R}_{1}.$$
push0g0G
pop
|
[
[
0.176513671875,
0.0328369140625,
0.60302734375,
0.026519775390625,
0.60302734375,
0.04736328125,
0.176513671875,
0.05364990234375
],
[
0.9150390625,
0.041656494140625,
0.94677734375,
0.041656494140625,
0.94677734375,
0.05364990234375,
0.9150390625,
0.05364990234375
],
[
0.17724609375,
0.106689453125,
0.48046875,
0.106689453125,
0.48046875,
0.117431640625,
0.17724609375,
0.117431640625
],
[
0.1748046875,
0.11871337890625,
0.48046875,
0.11871337890625,
0.48046875,
0.1331787109375,
0.1748046875,
0.1331787109375
],
[
0.1748046875,
0.1319580078125,
0.483642578125,
0.1319580078125,
0.483642578125,
0.146484375,
0.1748046875,
0.146484375
],
[
0.1748046875,
0.149658203125,
0.473876953125,
0.147705078125,
0.473876953125,
0.1622314453125,
0.1748046875,
0.1641845703125
],
[
0.1748046875,
0.1654052734375,
0.483642578125,
0.1641845703125,
0.483642578125,
0.1787109375,
0.1748046875,
0.179931640625
],
[
0.17724609375,
0.1817626953125,
0.48193359375,
0.1817626953125,
0.48193359375,
0.1925048828125,
0.17724609375,
0.1925048828125
],
[
0.1748046875,
0.1925048828125,
0.483642578125,
0.1944580078125,
0.483642578125,
0.208984375,
0.1748046875,
0.20703125
],
[
0.176513671875,
0.2083740234375,
0.483642578125,
0.2083740234375,
0.483642578125,
0.2215576171875,
0.176513671875,
0.2215576171875
],
[
0.176513671875,
0.222900390625,
0.483642578125,
0.222900390625,
0.483642578125,
0.236083984375,
0.176513671875,
0.236083984375
],
[
0.176513671875,
0.2374267578125,
0.484375,
0.2374267578125,
0.484375,
0.251953125,
0.176513671875,
0.251953125
],
[
0.176513671875,
0.25244140625,
0.483642578125,
0.25244140625,
0.483642578125,
0.266357421875,
0.176513671875,
0.266357421875
],
[
0.1748046875,
0.266357421875,
0.291748046875,
0.266357421875,
0.291748046875,
0.27978515625,
0.1748046875,
0.27978515625
],
[
0.1748046875,
0.29736328125,
0.1993408203125,
0.29736328125,
0.1993408203125,
0.31005859375,
0.1748046875,
0.31005859375
],
[
0.1732177734375,
0.311279296875,
0.464111328125,
0.311279296875,
0.464111328125,
0.324462890625,
0.1732177734375,
0.324462890625
],
[
0.1748046875,
0.3359375,
0.48193359375,
0.3359375,
0.48193359375,
0.349853515625,
0.1748046875,
0.349853515625
],
[
0.1732177734375,
0.35107421875,
0.484375,
0.349853515625,
0.484375,
0.3642578125,
0.1732177734375,
0.365478515625
],
[
0.1748046875,
0.3642578125,
0.48193359375,
0.3642578125,
0.48193359375,
0.37744140625,
0.1748046875,
0.37744140625
],
[
0.1732177734375,
0.376953125,
0.48193359375,
0.376953125,
0.48193359375,
0.39013671875,
0.1732177734375,
0.39013671875
],
[
0.1732177734375,
0.391357421875,
0.483642578125,
0.392578125,
0.483642578125,
0.406005859375,
0.1732177734375,
0.40478515625
],
[
0.1748046875,
0.406005859375,
0.48193359375,
0.406005859375,
0.48193359375,
0.419189453125,
0.1748046875,
0.419189453125
],
[
0.1748046875,
0.419189453125,
0.483642578125,
0.419189453125,
0.483642578125,
0.43310546875,
0.1748046875,
0.43310546875
],
[
0.178955078125,
0.43505859375,
0.48193359375,
0.43505859375,
0.48193359375,
0.44580078125,
0.178955078125,
0.44580078125
],
[
0.176513671875,
0.447509765625,
0.483642578125,
0.447509765625,
0.483642578125,
0.4609375,
0.176513671875,
0.4609375
],
[
0.176513671875,
0.4609375,
0.48193359375,
0.4609375,
0.48193359375,
0.474853515625,
0.176513671875,
0.474853515625
],
[
0.1748046875,
0.473388671875,
0.48046875,
0.47607421875,
0.48046875,
0.4892578125,
0.1748046875,
0.4873046875
],
[
0.176513671875,
0.4892578125,
0.483642578125,
0.4892578125,
0.483642578125,
0.50244140625,
0.176513671875,
0.50244140625
],
[
0.1748046875,
0.501953125,
0.483642578125,
0.50244140625,
0.483642578125,
0.517578125,
0.1748046875,
0.5166015625
],
[
0.176513671875,
0.5166015625,
0.48046875,
0.517578125,
0.48046875,
0.53076171875,
0.176513671875,
0.52978515625
],
[
0.1748046875,
0.53076171875,
0.483642578125,
0.53076171875,
0.483642578125,
0.54443359375,
0.1748046875,
0.54443359375
],
[
0.1748046875,
0.54443359375,
0.483642578125,
0.54443359375,
0.483642578125,
0.55810546875,
0.1748046875,
0.55810546875
],
[
0.176513671875,
0.556640625,
0.48193359375,
0.55810546875,
0.48193359375,
0.5712890625,
0.176513671875,
0.57080078125
],
[
0.176513671875,
0.57275390625,
0.2017822265625,
0.57275390625,
0.2017822265625,
0.583984375,
0.176513671875,
0.583984375
],
[
0.214111328125,
0.57568359375,
0.2296142578125,
0.57568359375,
0.2296142578125,
0.58349609375,
0.214111328125,
0.58349609375
],
[
0.2279052734375,
0.57373046875,
0.48193359375,
0.57373046875,
0.48193359375,
0.583984375,
0.2279052734375,
0.583984375
],
[
0.178955078125,
0.5869140625,
0.2303466796875,
0.5869140625,
0.2303466796875,
0.5986328125,
0.178955078125,
0.5986328125
],
[
0.26708984375,
0.6015625,
0.386474609375,
0.599609375,
0.386474609375,
0.6142578125,
0.26708984375,
0.6162109375
],
[
0.4599609375,
0.6015625,
0.483642578125,
0.6015625,
0.483642578125,
0.61572265625,
0.4599609375,
0.61572265625
],
[
0.176513671875,
0.619140625,
0.48193359375,
0.619140625,
0.48193359375,
0.63330078125,
0.176513671875,
0.63330078125
],
[
0.1748046875,
0.63330078125,
0.483642578125,
0.63330078125,
0.483642578125,
0.646484375,
0.1748046875,
0.646484375
],
[
0.176513671875,
0.64599609375,
0.191162109375,
0.6484375,
0.1871337890625,
0.6611328125,
0.17236328125,
0.65771484375
],
[
0.17236328125,
0.6748046875,
0.281005859375,
0.67822265625,
0.281005859375,
0.6923828125,
0.17236328125,
0.689453125
],
[
0.176513671875,
0.7041015625,
0.483642578125,
0.7041015625,
0.483642578125,
0.71728515625,
0.176513671875,
0.71728515625
],
[
0.1748046875,
0.71728515625,
0.42724609375,
0.71728515625,
0.42724609375,
0.73095703125,
0.1748046875,
0.73095703125
],
[
0.233642578125,
0.73486328125,
0.44677734375,
0.73779296875,
0.44677734375,
0.76025390625,
0.233642578125,
0.7568359375
],
[
0.4599609375,
0.74365234375,
0.483642578125,
0.74365234375,
0.483642578125,
0.755859375,
0.4599609375,
0.755859375
],
[
0.334228515625,
0.7587890625,
0.365234375,
0.7587890625,
0.365234375,
0.771484375,
0.334228515625,
0.771484375
],
[
0.176513671875,
0.77880859375,
0.483642578125,
0.77880859375,
0.483642578125,
0.79248046875,
0.176513671875,
0.79248046875
],
[
0.1732177734375,
0.79052734375,
0.48193359375,
0.79150390625,
0.48193359375,
0.80615234375,
0.1732177734375,
0.8046875
],
[
0.1748046875,
0.80615234375,
0.4794921875,
0.80615234375,
0.4794921875,
0.8193359375,
0.1748046875,
0.8193359375
],
[
0.176513671875,
0.82080078125,
0.48193359375,
0.82080078125,
0.48193359375,
0.833984375,
0.176513671875,
0.833984375
],
[
0.1732177734375,
0.83349609375,
0.484375,
0.83056640625,
0.484375,
0.8486328125,
0.1732177734375,
0.85107421875
],
[
0.17724609375,
0.84765625,
0.4248046875,
0.84765625,
0.4248046875,
0.8623046875,
0.17724609375,
0.8623046875
],
[
0.418212890625,
0.8486328125,
0.48193359375,
0.8486328125,
0.48193359375,
0.85986328125,
0.418212890625,
0.85986328125
],
[
0.1748046875,
0.85986328125,
0.483642578125,
0.861328125,
0.483642578125,
0.87548828125,
0.1748046875,
0.875
],
[
0.176513671875,
0.87548828125,
0.484375,
0.87548828125,
0.484375,
0.8896484375,
0.176513671875,
0.8896484375
],
[
0.1748046875,
0.8896484375,
0.36279296875,
0.8896484375,
0.36279296875,
0.90283203125,
0.1748046875,
0.90283203125
],
[
0.2181396484375,
0.9111328125,
0.465576171875,
0.9111328125,
0.465576171875,
0.9248046875,
0.2181396484375,
0.9248046875
],
[
0.459228515625,
0.912109375,
0.48193359375,
0.912109375,
0.48193359375,
0.923828125,
0.459228515625,
0.923828125
],
[
0.17724609375,
0.94970703125,
0.26953125,
0.94775390625,
0.26953125,
0.9619140625,
0.17724609375,
0.9638671875
],
[
0.5849609375,
0.94970703125,
0.59716796875,
0.94970703125,
0.59716796875,
0.9609375,
0.5849609375,
0.9609375
],
[
0.91650390625,
0.9521484375,
0.94775390625,
0.9521484375,
0.94775390625,
0.9638671875,
0.91650390625,
0.9638671875
]
] |
[
"pusho g 0 GPublished as a conference paper at ICLR 2023",
"pop",
"而G将无法学习几何形状。这就是为什么",
"我们将A构造为一个3层卷积网络(参见",
"Fig.??)。每一层都会产生一个具有不同",
"适应级别的单独深度图:da),d2andd(3)",
"最终的适应深度da是从{d,da),d2)d(3)",
"的集合中随机选择的。这样的设计可以有效",
"地学习良好的几何形状,同时减轻过拟合。",
"例如,当D接收原始深度图d作为输入时,",
"它会向G提供一个用于学习几何的强信号。",
"并且将适应的深度图da传递给D允许G",
"模拟深度估计器的不精确伪影,而不会降低",
"其原始深度图d",
"3.3",
"Knowledge distillation for Discriminator",
"来自预训练分类网络的知识被证明可以提",
"高 2DGAN(Sauer et al., 2021;Kumari",
"et al., 2022: Sauer et al., 2022; Casanova",
"etal..2021)中的训练稳定性和生成质量。",
"Saueretal.(2021;2022)提出的一种流行的",
"解决方案是使用现成的模型作为鉴别器,同",
"时冻结其大部分权重。不幸的是,这种技术",
"不适用于我们的场景,因为我们通过添加额",
"外的深度输人(请参阅S3.2)和补丁参数",
"的条件来修改鉴别器的架构,类似于Epi-",
"GRAFE(Skorokhodovetal.,2022)。因此",
"我们设计了一种替代技术,可以与任意结构",
"的鉴别器一起使用。具体来说,对于每个真",
"实样本,weobtaintwo featurerepresen-",
"tations: e from the pretrained ResNet (He",
"et al., 2016) network and é extracted from",
"the final representation of our discriminator",
"D.",
"1",
"我们的损失只是将é推送到e:如",
"下所示:",
"Cdist = lle-ell?",
"(4)",
"Ldist,可以有效地将知识从预训练的",
"ResNetE(Heetal.,2016)中提取到我们的",
"X",
"3.4Training",
"生成器G的总损耗由两部分组成:对抗性",
"损耗和CameraGradientPenalty:",
"CG = Cadv+ Ao,Co,",
"(5)",
"piEs",
"其中Cady是the非饱和损耗E(Goodfellow",
"etal.,2014)。我们观察到,相机原点的不",
"同分布对于倾斜有意义的几何形状最重要",
"但它也最容易退化为恒定解。因此,我们",
"为Ppos设置入:=0.3,而为fov设置",
"入p=0.03,为1ookat设置pt",
"=0.003",
"另一方面,鉴别器D的损失由三部分组成",
"对抗性损失,知识提炼和R1梯度惩罚E",
"(Mescheder et al., 2018) :",
"CD=Cady+AdistCdist +A,Ri",
"(6)",
"pusho g 0 G",
"5",
"pop"
] |
{
"arxiv_id": "2303.01416",
"language": "zh",
"page_idx": 4
}
|
||
2404.03561-zh-1
|
2404.03561-zh-1.jpg
|
选择并总结:电影剧本总结的场景显著性
Rohit Saxena Frank Keller
Institute for Language, Cognition and Computation
School of Informatics, University of Edinburg
10 Crichton Street, Edinburgh EH8 9AB
rohit.saxena@ed.ac.uk kellerêinf.ed.ac.uk
# Abstract
Abstractive summarization for long-form narrative texts such as movie scripts is challenging due to the computational and memory constraints of current language models. A movie script typically comprises a large number of scenes; however, only a fraction of these scenes are salient, i.e., important for understanding the overall narrative. The salience of a scene can be operationalized by considering it as salient if it is mentioned in the summary. Automatically identifying salient scenes is difficult due to the lack of suitable datasets. In this work, we introduce a scene saliency dataset that consists of humanannotated salient scenes for 100 movies. We propose a two-stage abstractive summarization approach which first identifies the salient scenes in script and then generates a summary using only those scenes. Using QA-based evaluation, we show that our model outperforms previous state-of-the-art summarization methods and reflects the information content of a movie more accurately than a model that takes the whole movie script as input. $^{\mathrm{l}}$
## 1 Introduction
抽象摘要是通过生成连贯的摘要将信息源减少到其最重要内容的过程。以前的工作主要集中在新闻 (Cheng and Lapata, 2016; Gehrmann et al., 2018), 会议 (Zhong et al., 2021)和对话(Zhong et al., 2022; Zhu et al., 2021a) 上,但是在总结诸如电影脚本 (Gorinski and Lapata, 2015; Chen et al., 2022) 之类的长形式叙事文本方面, 以前的工作有限
长形式的叙述性摘要在内存复杂性和关注文本中的重要信息方面都给大型语言模型 (Beltagy et al., 2020; Zhang et al., 2020a; Huang et al., 2021)带来了挑战。与微调模型 (Shaham et al., 2023)相比,大型语言模型在零拍设置下的长序列长度表现不佳。最近,Liu et al.(2024) 表
$^{1}$Our dataset and code
is released at
https://github.com/saxenarohit/select_summ~.
明,当相关信息出现在长文档中间时,这些模型的性能会下降。电影脚本的平均长度为 110页,因此很难总结
以前有几种方法依赖于内容选择进行摘要。以通过使用神经网络注意(Chen and Bansal, 2018; You et al., 2019; Zhong et al., 2021) 隐式执行内容选择或通过使用 ROUGE (Lin, 2004) 等度量将源文档与摘要对齐来显式执行(Lad-) hak et al., 2020; Manakul and Gales, 2021; Zhang et al., 2022) 来减少输人大小。与新闻文章不同, 基于隐式注意力的方法对于电影脚本是有问题的,因为当前的方法无法可靠地处理这种长度的文本。另一方面,当前的显式方法既没有优化,也没有评估使用黄金标准标签的内容选择。此外,考虑到电影中的大量句子包含对字符和位置的重复提及,基于诸如 ROUGE 之类的词汇重叠度量的方法会产生许多误报。至关重要的是,所有这些方法都使用 source-summary 对齐作为辅助任务,而无需实际优化或评估此任务
对于新闻摘要,Ernst et al.(2021)创建了用于评估命题级一致性的众包开发和测试集。但是,新闻文本在长度和新闻文章典型的刚性倒金字塔结构方面都与电影剧本不同。对于电影脚本,Mirza et al. (2021) 提出了一种专门的对齐方法,他们对一组 10 部电影进行了评估。但是,它们不执行电影剧本摘要
电影脚本是根据场景构建的,其中每个场景都描述了一个不同的情节元素,并在固定的地点和时间进行了变形,并涉及一组固定的字符。因此,将电影摘要形式化为电影中最突出的场景的标识是有意义的,然后生成这些场景的抽象摘要 (Gorinski and Lapata, 2015)。因此, 我们根据摘要 i 中是否提到场景来定义电影场景显著性。e。,如果在摘要中提到该场景,则认为该场景很突出。因此,使用场景显著性进行摘要是一种显式内容选择的方法
在本文中,我们首先介绍 MENSA,这是一个 MovieScENeSAliency 数据集,其中包括电影剧本中重要场景的人类注释。我们的注释器将维基百科摘要句子与 100 部电影的电影场景
|
[
[
0.285400390625,
0.09442138671875,
0.7119140625,
0.09442138671875,
0.7119140625,
0.1092529296875,
0.285400390625,
0.1092529296875
],
[
0.365234375,
0.1383056640625,
0.483642578125,
0.1383056640625,
0.483642578125,
0.1519775390625,
0.365234375,
0.1519775390625
],
[
0.52490234375,
0.1395263671875,
0.63623046875,
0.1395263671875,
0.63623046875,
0.15087890625,
0.52490234375,
0.15087890625
],
[
0.29296875,
0.155029296875,
0.70947265625,
0.155029296875,
0.70947265625,
0.169189453125,
0.29296875,
0.169189453125
],
[
0.313232421875,
0.16748046875,
0.6884765625,
0.169189453125,
0.6884765625,
0.18701171875,
0.313232421875,
0.185302734375
],
[
0.341796875,
0.18701171875,
0.66650390625,
0.18701171875,
0.66650390625,
0.20068359375,
0.341796875,
0.20068359375
],
[
0.2880859375,
0.2037353515625,
0.71533203125,
0.2037353515625,
0.71533203125,
0.21728515625,
0.2880859375,
0.21728515625
],
[
0.264404296875,
0.26416015625,
0.340087890625,
0.26416015625,
0.340087890625,
0.275634765625,
0.264404296875,
0.275634765625
],
[
0.5146484375,
0.26318359375,
0.880859375,
0.26318359375,
0.880859375,
0.276611328125,
0.5146484375,
0.276611328125
],
[
0.51318359375,
0.27978515625,
0.8818359375,
0.27978515625,
0.8818359375,
0.29345703125,
0.51318359375,
0.29345703125
],
[
0.14697265625,
0.2880859375,
0.459228515625,
0.2880859375,
0.459228515625,
0.3017578125,
0.14697265625,
0.3017578125
],
[
0.51318359375,
0.295654296875,
0.66015625,
0.295654296875,
0.66015625,
0.308837890625,
0.51318359375,
0.308837890625
],
[
0.1435546875,
0.3017578125,
0.459228515625,
0.302734375,
0.459228515625,
0.31640625,
0.1435546875,
0.3154296875
],
[
0.145263671875,
0.317626953125,
0.455078125,
0.317626953125,
0.455078125,
0.330810546875,
0.145263671875,
0.330810546875
],
[
0.53076171875,
0.312255859375,
0.87744140625,
0.312255859375,
0.87744140625,
0.325927734375,
0.53076171875,
0.325927734375
],
[
0.145263671875,
0.330078125,
0.456787109375,
0.330078125,
0.456787109375,
0.34326171875,
0.145263671875,
0.34326171875
],
[
0.51318359375,
0.327880859375,
0.880859375,
0.327880859375,
0.880859375,
0.341552734375,
0.51318359375,
0.341552734375
],
[
0.145263671875,
0.345703125,
0.459228515625,
0.345703125,
0.459228515625,
0.359375,
0.145263671875,
0.359375
],
[
0.51123046875,
0.342529296875,
0.8818359375,
0.34326171875,
0.8818359375,
0.358154296875,
0.51123046875,
0.35693359375
],
[
0.145263671875,
0.359375,
0.45751953125,
0.359375,
0.45751953125,
0.372314453125,
0.145263671875,
0.372314453125
],
[
0.51318359375,
0.35986328125,
0.880859375,
0.35986328125,
0.880859375,
0.37353515625,
0.51318359375,
0.37353515625
],
[
0.14697265625,
0.374755859375,
0.45751953125,
0.374755859375,
0.45751953125,
0.385498046875,
0.14697265625,
0.385498046875
],
[
0.51123046875,
0.374755859375,
0.880859375,
0.374755859375,
0.880859375,
0.388427734375,
0.51123046875,
0.388427734375
],
[
0.14697265625,
0.38720703125,
0.45751953125,
0.38720703125,
0.45751953125,
0.40087890625,
0.14697265625,
0.40087890625
],
[
0.509765625,
0.391357421875,
0.880859375,
0.392578125,
0.880859375,
0.40673828125,
0.509765625,
0.40625
],
[
0.145263671875,
0.402099609375,
0.459228515625,
0.402099609375,
0.459228515625,
0.4150390625,
0.145263671875,
0.4150390625
],
[
0.5146484375,
0.410400390625,
0.87890625,
0.410400390625,
0.87890625,
0.42041015625,
0.5146484375,
0.42041015625
],
[
0.14697265625,
0.41748046875,
0.456787109375,
0.41748046875,
0.456787109375,
0.427490234375,
0.14697265625,
0.427490234375
],
[
0.145263671875,
0.429931640625,
0.45751953125,
0.429931640625,
0.45751953125,
0.44482421875,
0.145263671875,
0.44482421875
],
[
0.51318359375,
0.427001953125,
0.87744140625,
0.427001953125,
0.87744140625,
0.43701171875,
0.51318359375,
0.43701171875
],
[
0.1485595703125,
0.4453125,
0.45751953125,
0.4453125,
0.45751953125,
0.4560546875,
0.1485595703125,
0.4560546875
],
[
0.51318359375,
0.441162109375,
0.880859375,
0.441162109375,
0.880859375,
0.454833984375,
0.51318359375,
0.454833984375
],
[
0.1485595703125,
0.460205078125,
0.456787109375,
0.460205078125,
0.456787109375,
0.47021484375,
0.1485595703125,
0.47021484375
],
[
0.51318359375,
0.457275390625,
0.8818359375,
0.457275390625,
0.8818359375,
0.47021484375,
0.51318359375,
0.47021484375
],
[
0.145263671875,
0.47265625,
0.45751953125,
0.47265625,
0.45751953125,
0.486328125,
0.145263671875,
0.486328125
],
[
0.51123046875,
0.47265625,
0.880859375,
0.47265625,
0.880859375,
0.486328125,
0.51123046875,
0.486328125
],
[
0.14697265625,
0.48681640625,
0.45751953125,
0.48681640625,
0.45751953125,
0.50048828125,
0.14697265625,
0.50048828125
],
[
0.51318359375,
0.4892578125,
0.880859375,
0.4892578125,
0.880859375,
0.5029296875,
0.51318359375,
0.5029296875
],
[
0.145263671875,
0.5029296875,
0.456787109375,
0.50048828125,
0.456787109375,
0.5126953125,
0.145263671875,
0.51416015625
],
[
0.51318359375,
0.5048828125,
0.8818359375,
0.5048828125,
0.8818359375,
0.5185546875,
0.51318359375,
0.5185546875
],
[
0.145263671875,
0.515625,
0.45751953125,
0.515625,
0.45751953125,
0.529296875,
0.145263671875,
0.529296875
],
[
0.51318359375,
0.52099609375,
0.880859375,
0.52099609375,
0.880859375,
0.53369140625,
0.51318359375,
0.53369140625
],
[
0.14697265625,
0.52978515625,
0.456787109375,
0.52978515625,
0.456787109375,
0.54345703125,
0.14697265625,
0.54345703125
],
[
0.51318359375,
0.53759765625,
0.880859375,
0.53759765625,
0.880859375,
0.55029296875,
0.51318359375,
0.55029296875
],
[
0.14697265625,
0.54345703125,
0.45751953125,
0.54345703125,
0.45751953125,
0.55712890625,
0.14697265625,
0.55712890625
],
[
0.14697265625,
0.55810546875,
0.456787109375,
0.55810546875,
0.456787109375,
0.57177734375,
0.14697265625,
0.57177734375
],
[
0.51123046875,
0.552734375,
0.87890625,
0.552734375,
0.87890625,
0.56640625,
0.51123046875,
0.56640625
],
[
0.1435546875,
0.572265625,
0.45751953125,
0.57177734375,
0.45751953125,
0.5849609375,
0.1435546875,
0.5859375
],
[
0.51318359375,
0.5693359375,
0.5322265625,
0.5693359375,
0.5322265625,
0.5830078125,
0.51318359375,
0.5830078125
],
[
0.145263671875,
0.5859375,
0.45751953125,
0.5859375,
0.45751953125,
0.599609375,
0.145263671875,
0.599609375
],
[
0.5322265625,
0.58740234375,
0.87890625,
0.58740234375,
0.87890625,
0.59716796875,
0.5322265625,
0.59716796875
],
[
0.14697265625,
0.60107421875,
0.45751953125,
0.60107421875,
0.45751953125,
0.6142578125,
0.14697265625,
0.6142578125
],
[
0.51123046875,
0.60107421875,
0.87890625,
0.60107421875,
0.87890625,
0.6142578125,
0.51123046875,
0.6142578125
],
[
0.145263671875,
0.615234375,
0.372802734375,
0.615234375,
0.372802734375,
0.62890625,
0.145263671875,
0.62890625
],
[
0.5146484375,
0.6181640625,
0.880859375,
0.6181640625,
0.880859375,
0.6318359375,
0.5146484375,
0.6318359375
],
[
0.1502685546875,
0.63818359375,
0.2626953125,
0.6396484375,
0.2626953125,
0.65380859375,
0.1502685546875,
0.65283203125
],
[
0.5146484375,
0.63427734375,
0.87890625,
0.63427734375,
0.87890625,
0.64794921875,
0.5146484375,
0.64794921875
],
[
0.1175537109375,
0.64013671875,
0.145263671875,
0.64013671875,
0.145263671875,
0.65185546875,
0.1175537109375,
0.65185546875
],
[
0.5146484375,
0.6494140625,
0.880859375,
0.6494140625,
0.880859375,
0.6630859375,
0.5146484375,
0.6630859375
],
[
0.118408203125,
0.6650390625,
0.484375,
0.6650390625,
0.484375,
0.67578125,
0.118408203125,
0.67578125
],
[
0.51123046875,
0.66455078125,
0.87890625,
0.66455078125,
0.87890625,
0.677734375,
0.51123046875,
0.677734375
],
[
0.118408203125,
0.68115234375,
0.48779296875,
0.68115234375,
0.48779296875,
0.69482421875,
0.118408203125,
0.69482421875
],
[
0.51123046875,
0.681640625,
0.75146484375,
0.681640625,
0.75146484375,
0.6953125,
0.51123046875,
0.6953125
],
[
0.118408203125,
0.69677734375,
0.486083984375,
0.69677734375,
0.486083984375,
0.71044921875,
0.118408203125,
0.71044921875
],
[
0.5283203125,
0.69677734375,
0.880859375,
0.69775390625,
0.880859375,
0.7119140625,
0.5283203125,
0.71142578125
],
[
0.1175537109375,
0.7119140625,
0.486083984375,
0.71142578125,
0.486083984375,
0.7255859375,
0.1175537109375,
0.72705078125
],
[
0.51318359375,
0.71435546875,
0.880859375,
0.71435546875,
0.880859375,
0.72802734375,
0.51318359375,
0.72802734375
],
[
0.1175537109375,
0.72802734375,
0.48779296875,
0.72705078125,
0.48779296875,
0.7412109375,
0.1175537109375,
0.7421875
],
[
0.51123046875,
0.73095703125,
0.880859375,
0.73095703125,
0.880859375,
0.74462890625,
0.51123046875,
0.74462890625
],
[
0.12005615234375,
0.74462890625,
0.489501953125,
0.74462890625,
0.489501953125,
0.75830078125,
0.12005615234375,
0.75830078125
],
[
0.51318359375,
0.74658203125,
0.880859375,
0.74658203125,
0.880859375,
0.76025390625,
0.51318359375,
0.76025390625
],
[
0.1158447265625,
0.76025390625,
0.49365234375,
0.76025390625,
0.49365234375,
0.77392578125,
0.1158447265625,
0.77392578125
],
[
0.51123046875,
0.76123046875,
0.87890625,
0.76123046875,
0.87890625,
0.77490234375,
0.51123046875,
0.77490234375
],
[
0.118408203125,
0.77685546875,
0.246826171875,
0.77685546875,
0.246826171875,
0.79052734375,
0.118408203125,
0.79052734375
],
[
0.5146484375,
0.779296875,
0.880859375,
0.779296875,
0.880859375,
0.7919921875,
0.5146484375,
0.7919921875
],
[
0.1368408203125,
0.79345703125,
0.48779296875,
0.79345703125,
0.48779296875,
0.80712890625,
0.1368408203125,
0.80712890625
],
[
0.51318359375,
0.79443359375,
0.87890625,
0.79443359375,
0.87890625,
0.80810546875,
0.51318359375,
0.80810546875
],
[
0.118408203125,
0.81005859375,
0.489501953125,
0.81005859375,
0.489501953125,
0.82373046875,
0.118408203125,
0.82373046875
],
[
0.51123046875,
0.81005859375,
0.880859375,
0.80859375,
0.880859375,
0.82373046875,
0.51123046875,
0.82470703125
],
[
0.1158447265625,
0.826171875,
0.486083984375,
0.826171875,
0.486083984375,
0.8388671875,
0.1158447265625,
0.8388671875
],
[
0.51318359375,
0.82666015625,
0.880859375,
0.82666015625,
0.880859375,
0.84033203125,
0.51318359375,
0.84033203125
],
[
0.118408203125,
0.84130859375,
0.48779296875,
0.84130859375,
0.48779296875,
0.85498046875,
0.118408203125,
0.85498046875
],
[
0.51318359375,
0.84326171875,
0.78857421875,
0.84326171875,
0.78857421875,
0.85693359375,
0.51318359375,
0.85693359375
],
[
0.118408203125,
0.85791015625,
0.484375,
0.85791015625,
0.484375,
0.87158203125,
0.118408203125,
0.87158203125
],
[
0.53076171875,
0.859375,
0.86572265625,
0.859375,
0.86572265625,
0.87255859375,
0.53076171875,
0.87255859375
],
[
0.8671875,
0.8642578125,
0.8759765625,
0.8642578125,
0.8759765625,
0.8681640625,
0.8671875,
0.8681640625
],
[
0.118408203125,
0.87353515625,
0.48779296875,
0.87353515625,
0.48779296875,
0.88720703125,
0.118408203125,
0.88720703125
],
[
0.51123046875,
0.87451171875,
0.87890625,
0.87451171875,
0.87890625,
0.88818359375,
0.51123046875,
0.88818359375
],
[
0.33154296875,
0.8935546875,
0.455078125,
0.8955078125,
0.455078125,
0.91015625,
0.33154296875,
0.90771484375
],
[
0.51123046875,
0.89111328125,
0.87890625,
0.89111328125,
0.87890625,
0.90478515625,
0.51123046875,
0.90478515625
],
[
0.18896484375,
0.896484375,
0.307373046875,
0.896484375,
0.307373046875,
0.91015625,
0.18896484375,
0.91015625
],
[
0.14111328125,
0.896484375,
0.177978515625,
0.896484375,
0.177978515625,
0.90771484375,
0.14111328125,
0.90771484375
],
[
0.301513671875,
0.89794921875,
0.340087890625,
0.89794921875,
0.340087890625,
0.9091796875,
0.301513671875,
0.9091796875
],
[
0.447509765625,
0.89794921875,
0.48779296875,
0.89794921875,
0.48779296875,
0.90771484375,
0.447509765625,
0.90771484375
],
[
0.11419677734375,
0.90673828125,
0.3896484375,
0.9091796875,
0.3896484375,
0.9228515625,
0.11419677734375,
0.92041015625
],
[
0.175537109375,
0.8984375,
0.19140625,
0.8984375,
0.19140625,
0.90625,
0.175537109375,
0.90625
],
[
0.5146484375,
0.9091796875,
0.87890625,
0.9091796875,
0.87890625,
0.91943359375,
0.5146484375,
0.91943359375
]
] |
[
"选择并总结:电影剧本总结的场景显著性",
"Rohit Saxena",
"FrankKeller",
"Institute for Language, Cognition and Computation",
"School of Informatics, University of Edinburg",
"10 Crichton Street, Edinburgh EH8 9AB",
"rohit.saxena@ed.ac.ukkeller@inf.ed.ac.uk",
"Abstract",
"明,当相关信息出现在长文档中间时,这些模",
"型的性能会下降。电影脚本的平均长度为110",
"Abstractive summarization for long-form nar-",
"页,因此很难总结",
"rative texts such as movie scripts is challeng-",
"ing due to the computational and memory",
"以前有几种方法依赖于内容选择进行摘要",
"constraints of current language models.A",
"以通过使用神经网络注意(Chen andBansal,",
"movie script typically comprises a large num-",
"2018;You et al.,2019; Zhong et al., 2021)隐式",
"ber of scenes; however, only a fraction of these",
"执行内容选择或通过使用ROUGE(Lin,2004)",
"scenes are salient, i.e., important for under-",
"等度量将源文档与摘要对齐来显式执行(Lad-",
"standing the overall narrative. The salience",
"hak et al., 2020; Manakul and Gales, 2021; Zhang",
"of a scene can be operationalized by consid-",
"etal..2022)来减少输人大小。与新闻文章不同",
"ering it as salient if it is mentioned in the",
"summary.Automatically identifying salient",
"基子隐式注意力的方法对于电影脚本是有问题",
"scenes is difficult due to the lack of suit-",
"的,因为当前的方法无法可靠地处理这种长度",
"able datasets.In this work,we introduce a",
"的文本。另一方面,当前的显式方法既没有优",
"scene saliency dataset that consists of human-",
"化,也没有评估使用黄金标准标签的内容选择。",
"annotated salient scenes for 100 movies. We",
"此外,考虑到电影中的大量句子包含对字符和",
"propose a two-stage abstractive summariza",
"位置的重复提及,基于诸如ROUGE之类的词",
"tion approach which first identifies the salient",
"汇重叠度量的方法会产生许多误报。至关重要",
"scenes in script and then generates a summary",
"的是,所有这些方法都使用source-summary对",
"using only those scenes. Using QA-based eval-",
"uation, we show that our model outperforms",
"齐作为辅助任务,而无需实际优化或评估此任",
"previous state-of-the-art summarization meth-",
"务",
"ods and reflects the information content of a",
"对于新闻摘要,Ernstetal.(2021)创建了用",
"movie more accurately than a model that takes",
"于评估命题级一致性的众包开发和测试集。但",
"the whole movie script as input.",
"是,新闻文本在长度和新闻文章典型的刚性倒",
"Introduction",
"金字塔结构方面都与电影剧本不同。对于电影",
"1",
"脚本,Mirza etal.(2021)提出了一种专门的对",
"抽象摘要是通过生成连贯的摘要将信息源减",
"齐方法,他们对一组10部电影进行了评估。但",
"少到其最重要内容的过程。以前的工作主要",
"是,它们不执行电影剧本摘要",
"集中在新闻(Cheng andLapata,2016;Gehrmann",
"电影脚本是根据场景构建的,其中每个场景",
"etal.,2018),会议(Zhongetal.,2021)和对话",
"都描述了一个不同的情节元素,并在固定的",
"(Zhong et al.,2022;Zhu etal.,2021a)上,但是在",
"地点和时间进行了变形,并涉及一组固定的字",
"总结诸如电影脚本(GorinskiandLapata,2015;",
"符。因此,将电影摘要形式化为电影中最突出",
"Chenetal.2022)之类的长形式叙事文本方面,",
"的场景的标识是有意义的,然后生成这些场景",
"以前的工作有限",
"的抽象摘要(GorinskiandLapata,2015)。因此,",
"长形式的叙述性摘要在内存复杂性和关注文",
"我们根据摘要i中是否提到场景来定义电影场",
"本中的重要信息方面都给大型语言模型(Belt-",
"景显著性。e。,如果在摘要中提到该场景,则",
"agy et al., 2020; Zhang et al., 2020a; Huang et al.,",
"认为该场景很突出。因此,使用场景显著性进",
"2021)带来了挑战。与微调模型(Shahametal.,",
"行摘要是一种显式内容选择的方法",
"2023)相比,大型语言模型在零拍设置下的长",
"在本文中,我们首先介绍MENSA,这是",
"",
"序列长度表现不佳。最近,Liuetal.(2024)表",
"个MovieScENeSAliency数据集,其中包括电",
"eisreleased",
"影剧本中重要场景的人类注释。我们的注释器",
"datasetand",
"'Our",
"code",
"at",
"https://github.com/saxenarohit/select_summ",
"",
"将维基百科摘要句子与100部电影的电影场景"
] |
{
"arxiv_id": "2404.03561",
"language": "zh",
"page_idx": 1
}
|
||
2404.03561-zh-4
|
2404.03561-zh-4.jpg
|
<FigureHere>
Figure 1: The architecture of the scene saliency detection and summarization models. The models are trained in a
pipeline where salient scene detection is trained separately.
齐电影场景和摘要句子而提出的。$^{3}$因此,我们使用此对齐方法为完整的 Scriptbase 语料库生成银标准场景显著性标签
我们的数据集将来可用于评估长文档中的内容选择策略。黄金标准的突出场景也可用于评估提取摘要方法
现在介绍我们的选择和总结(SELECT & SUMM )模型,该模型首先使用分类模型 (E 4 节)来预测突出场景,然后仅利用突出场景使用预训练的抽象摘要模型 (E5 节)生成电影摘要。这些模型在两阶段管道中进行训练
## 4 Scene Saliency Classification Model
使用生成的场景显著性银标准标签集,我们训练基于神经网络的分类模型来预测场景显著性。我们将此任务表述为序列标记任务,其中模型将场景序列$M=\left\{S_1,S_2,...,S_N\right\}$作为输人,并预测表示场景是否突出的二进制标签序列$Y=\{y_1,y_2,...,y_N\}$
该模型由两个组件组成,如图$\overline{\mathrm{E}}$1 所示。第一个组件是场景编码器,它通过连接场景中的句子来计算场景表示,并使用预先训练的语言模型对它们进行编码。接下来,为了学习整个电影中的上下文场景表示,我们进一步使用转换器 (Vaswani et al.,2017)块 (堆叠的$L$层)对场景编码器生成的场景嵌入进行编码,并使用随机权重 (Liu and Lapata, 2019) 初始化未屏蔽的自我关注。为了保留场景的顺序,我们将位置编码添加到从第一个组件获得的场景表示中。然后使用场景的最终上下文化表示来分类场景是否突出。使用二进制交叉熵损失训练模型以进行二进制序列标记
$^3$It was also used to generate the default alignment that our human annotators had to correct, which biases our evaluation towards the method of Mirza et al.(2021). However, our results are still a good measure of how many errors human annotators find in the alignment generated by this method.
### 4.1 Dataset
为了训练显著性模型,我们使用了 ScriptBase 语料库 (Gorinski and Lapata, 2015) ,其中包含带有维基百科摘要的电影的预处理脚本。我们从训练集中删除了 Scriptbase 中的黄金标准MENSA 数据集中使用的电影。这导致了一个包含 824 个电影脚本的训练集,为此,我们使用 Mirza et al.(2021) 的模型生成了银标准的场景显著性标签,如前所述。我们随机分割了100 部电影的黄金标准场景显著性数据集,其中一半用于验证,另一半用于测试
# 4.2 Baselines
多数类:我们使用预测多数类作为分类的简单基线。数据集是高度不平衡的,非显著的是多数类。
无监督 TextRank: 我们使用了 TextRank (Mihalcea and Tarau, 2004; Zheng and Lapata, 2019) 的扩展,这是一种基于图的算法,用于无监督提取摘要。与 Papalampidi et al.(2020)类似,我们构建了一个电影剧本图,而不是基于句子的图,使得图中的节点对应于电影中的场景$M$ 。任意两个场景节点$S_i$和$S_j$之间的边$e_{ij}$表示其相似度,边权为相似度得分。节点$S_i$的中心性衡量该节点的重要性(在我们的例子中,该节点表示场景),并计算如下:
$$\text{centrality}(S_i)=\lambda_1\sum_{j<i}e_{ij}+\lambda_2\sum_{j>i}e_{ij}$$
其中$\lambda_{1}$和$\lambda_{2}$是向前看 (边缘到后续场景节点)和向后看(边缘到前面的场景节点)的权重,总和为 1。在我们的实验中,我们通过使用预先训练的语言模型计算场景表示来表示场景 (见下文)。我们使用场景表示之间的余弦相似性来计算两个节点之间的边的权重,并根据其中心度得分选择前 K 个节点作为显着场景。监督 Bi-LSTM: 对于监督基线,我们使用双向LSTM (Bi-LSTM) 来学习场景显著性分类的
|
[
[
0.1796875,
0.0789794921875,
0.2376708984375,
0.0789794921875,
0.2376708984375,
0.08905029296875,
0.1796875,
0.08905029296875
],
[
0.32421875,
0.0736083984375,
0.36865234375,
0.0736083984375,
0.36865234375,
0.0843505859375,
0.32421875,
0.0843505859375
],
[
0.316650390625,
0.08013916015625,
0.37451171875,
0.08197021484375,
0.37451171875,
0.09320068359375,
0.316650390625,
0.0914306640625
],
[
0.341796875,
0.0926513671875,
0.355224609375,
0.0926513671875,
0.355224609375,
0.1009521484375,
0.341796875,
0.1009521484375
],
[
0.2880859375,
0.1015625,
0.316650390625,
0.1015625,
0.316650390625,
0.1092529296875,
0.2880859375,
0.1092529296875
],
[
0.55517578125,
0.1009521484375,
0.60107421875,
0.10272216796875,
0.60107421875,
0.10986328125,
0.55517578125,
0.10809326171875
],
[
0.28369140625,
0.10986328125,
0.32568359375,
0.10986328125,
0.32568359375,
0.1175537109375,
0.28369140625,
0.1175537109375
],
[
0.4375,
0.114013671875,
0.447509765625,
0.114013671875,
0.447509765625,
0.133056640625,
0.4375,
0.133056640625
],
[
0.193115234375,
0.1051025390625,
0.2275390625,
0.1051025390625,
0.2275390625,
0.1134033203125,
0.193115234375,
0.1134033203125
],
[
0.66748046875,
0.114013671875,
0.68603515625,
0.114013671875,
0.68603515625,
0.1217041015625,
0.66748046875,
0.1217041015625
],
[
0.7255859375,
0.114013671875,
0.76171875,
0.114013671875,
0.76171875,
0.1217041015625,
0.7255859375,
0.1217041015625
],
[
0.3779296875,
0.1181640625,
0.39208984375,
0.1181640625,
0.39208984375,
0.1728515625,
0.3779296875,
0.1728515625
],
[
0.341796875,
0.1181640625,
0.353515625,
0.1181640625,
0.353515625,
0.127685546875,
0.341796875,
0.127685546875
],
[
0.5693359375,
0.1181640625,
0.609375,
0.1181640625,
0.609375,
0.1300048828125,
0.5693359375,
0.1300048828125
],
[
0.189697265625,
0.12890625,
0.235107421875,
0.1312255859375,
0.2333984375,
0.142578125,
0.18896484375,
0.14013671875
],
[
0.291259765625,
0.1258544921875,
0.32421875,
0.127685546875,
0.322509765625,
0.135986328125,
0.28955078125,
0.1341552734375
],
[
0.480224609375,
0.1300048828125,
0.490234375,
0.1300048828125,
0.490234375,
0.1353759765625,
0.480224609375,
0.1353759765625
],
[
0.5693359375,
0.1341552734375,
0.611328125,
0.135986328125,
0.609375,
0.1478271484375,
0.568359375,
0.1455078125
],
[
0.435791015625,
0.13720703125,
0.443359375,
0.135986328125,
0.44580078125,
0.144287109375,
0.438232421875,
0.1455078125
],
[
0.280517578125,
0.1353759765625,
0.330078125,
0.1353759765625,
0.330078125,
0.1455078125,
0.280517578125,
0.1455078125
],
[
0.6826171875,
0.1395263671875,
0.74658203125,
0.1395263671875,
0.74658203125,
0.15087890625,
0.6826171875,
0.15087890625
],
[
0.69189453125,
0.1484375,
0.73779296875,
0.1484375,
0.73779296875,
0.1591796875,
0.69189453125,
0.1591796875
],
[
0.344970703125,
0.160888671875,
0.353515625,
0.160888671875,
0.353515625,
0.166259765625,
0.344970703125,
0.166259765625
],
[
0.4375,
0.157958984375,
0.447509765625,
0.157958984375,
0.447509765625,
0.171630859375,
0.4375,
0.171630859375
],
[
0.568359375,
0.163330078125,
0.611328125,
0.1650390625,
0.609375,
0.177001953125,
0.56689453125,
0.174560546875
],
[
0.7119140625,
0.1644287109375,
0.71875,
0.1644287109375,
0.71875,
0.169189453125,
0.7119140625,
0.169189453125
],
[
0.187255859375,
0.17041015625,
0.2359619140625,
0.17041015625,
0.2359619140625,
0.1817626953125,
0.187255859375,
0.1817626953125
],
[
0.28369140625,
0.168701171875,
0.312255859375,
0.168701171875,
0.312255859375,
0.17578125,
0.28369140625,
0.17578125
],
[
0.68115234375,
0.1728515625,
0.74658203125,
0.174560546875,
0.74658203125,
0.1859130859375,
0.68115234375,
0.18408203125
],
[
0.79443359375,
0.17578125,
0.8310546875,
0.17578125,
0.8310546875,
0.185302734375,
0.79443359375,
0.185302734375
],
[
0.341796875,
0.18115234375,
0.353515625,
0.18115234375,
0.353515625,
0.190673828125,
0.341796875,
0.190673828125
],
[
0.285400390625,
0.177001953125,
0.328369140625,
0.177001953125,
0.328369140625,
0.18408203125,
0.285400390625,
0.18408203125
],
[
0.68994140625,
0.18408203125,
0.73779296875,
0.18408203125,
0.73779296875,
0.19482421875,
0.68994140625,
0.19482421875
],
[
0.78662109375,
0.18408203125,
0.8369140625,
0.18408203125,
0.8369140625,
0.19482421875,
0.78662109375,
0.19482421875
],
[
0.189697265625,
0.191162109375,
0.235107421875,
0.193603515625,
0.2333984375,
0.204833984375,
0.18896484375,
0.203125
],
[
0.287109375,
0.190673828125,
0.32666015625,
0.190673828125,
0.32666015625,
0.20068359375,
0.287109375,
0.20068359375
],
[
0.2822265625,
0.1995849609375,
0.32666015625,
0.1995849609375,
0.32666015625,
0.207275390625,
0.2822265625,
0.207275390625
],
[
0.300537109375,
0.2197265625,
0.39794921875,
0.2197265625,
0.39794921875,
0.2298583984375,
0.300537109375,
0.2298583984375
],
[
0.1175537109375,
0.2327880859375,
0.8818359375,
0.2327880859375,
0.8818359375,
0.2464599609375,
0.1175537109375,
0.2464599609375
],
[
0.1158447265625,
0.2476806640625,
0.51318359375,
0.2476806640625,
0.51318359375,
0.26123046875,
0.1158447265625,
0.26123046875
],
[
0.1175537109375,
0.287353515625,
0.48779296875,
0.2861328125,
0.48779296875,
0.300537109375,
0.1175537109375,
0.3017578125
],
[
0.5087890625,
0.2861328125,
0.62060546875,
0.2880859375,
0.62060546875,
0.2998046875,
0.5087890625,
0.297607421875
],
[
0.118408203125,
0.303955078125,
0.486083984375,
0.303955078125,
0.486083984375,
0.317626953125,
0.118408203125,
0.317626953125
],
[
0.5146484375,
0.308837890625,
0.8818359375,
0.308837890625,
0.8818359375,
0.322509765625,
0.5146484375,
0.322509765625
],
[
0.118408203125,
0.319580078125,
0.339111328125,
0.319580078125,
0.339111328125,
0.333251953125,
0.118408203125,
0.333251953125
],
[
0.515625,
0.32666015625,
0.87744140625,
0.32666015625,
0.87744140625,
0.33740234375,
0.515625,
0.33740234375
],
[
0.1368408203125,
0.339111328125,
0.486083984375,
0.339111328125,
0.486083984375,
0.352783203125,
0.1368408203125,
0.352783203125
],
[
0.5146484375,
0.34326171875,
0.87890625,
0.34326171875,
0.87890625,
0.35400390625,
0.5146484375,
0.35400390625
],
[
0.118408203125,
0.355712890625,
0.48779296875,
0.355712890625,
0.48779296875,
0.369384765625,
0.118408203125,
0.369384765625
],
[
0.51123046875,
0.35693359375,
0.87890625,
0.35693359375,
0.87890625,
0.37060546875,
0.51123046875,
0.37060546875
],
[
0.118408203125,
0.371826171875,
0.2476806640625,
0.371826171875,
0.2476806640625,
0.385498046875,
0.118408203125,
0.385498046875
],
[
0.51318359375,
0.37353515625,
0.880859375,
0.37353515625,
0.880859375,
0.38720703125,
0.51318359375,
0.38720703125
],
[
0.1368408203125,
0.391357421875,
0.486083984375,
0.391357421875,
0.486083984375,
0.405029296875,
0.1368408203125,
0.405029296875
],
[
0.5146484375,
0.39013671875,
0.880859375,
0.39013671875,
0.880859375,
0.40380859375,
0.5146484375,
0.40380859375
],
[
0.118408203125,
0.40673828125,
0.48779296875,
0.40673828125,
0.48779296875,
0.42041015625,
0.118408203125,
0.42041015625
],
[
0.51318359375,
0.40625,
0.880859375,
0.40625,
0.880859375,
0.419189453125,
0.51318359375,
0.419189453125
],
[
0.12005615234375,
0.424560546875,
0.484375,
0.424560546875,
0.484375,
0.435302734375,
0.12005615234375,
0.435302734375
],
[
0.51123046875,
0.4228515625,
0.87890625,
0.4228515625,
0.87890625,
0.435791015625,
0.51123046875,
0.435791015625
],
[
0.118408203125,
0.439453125,
0.486083984375,
0.439453125,
0.486083984375,
0.453125,
0.118408203125,
0.453125
],
[
0.509765625,
0.435791015625,
0.8818359375,
0.43701171875,
0.8818359375,
0.451904296875,
0.509765625,
0.45068359375
],
[
0.118408203125,
0.4560546875,
0.466796875,
0.4560546875,
0.466796875,
0.4697265625,
0.118408203125,
0.4697265625
],
[
0.51123046875,
0.451904296875,
0.7900390625,
0.45361328125,
0.7900390625,
0.468505859375,
0.51123046875,
0.466064453125
],
[
0.509765625,
0.48095703125,
0.634765625,
0.482177734375,
0.634765625,
0.496337890625,
0.509765625,
0.495361328125
],
[
0.118408203125,
0.49755859375,
0.1502685546875,
0.49755859375,
0.1502685546875,
0.505859375,
0.118408203125,
0.505859375
],
[
0.1502685546875,
0.495361328125,
0.459228515625,
0.495361328125,
0.459228515625,
0.51025390625,
0.1502685546875,
0.51025390625
],
[
0.5146484375,
0.50439453125,
0.87890625,
0.50439453125,
0.87890625,
0.51708984375,
0.5146484375,
0.51708984375
],
[
0.5146484375,
0.52099609375,
0.880859375,
0.52099609375,
0.880859375,
0.53369140625,
0.5146484375,
0.53369140625
],
[
0.118408203125,
0.52978515625,
0.486083984375,
0.52978515625,
0.486083984375,
0.54345703125,
0.118408203125,
0.54345703125
],
[
0.5146484375,
0.53759765625,
0.5576171875,
0.53759765625,
0.5576171875,
0.548828125,
0.5146484375,
0.548828125
],
[
0.1175537109375,
0.54443359375,
0.484375,
0.5458984375,
0.484375,
0.56005859375,
0.1175537109375,
0.55859375
],
[
0.5146484375,
0.55419921875,
0.880859375,
0.55419921875,
0.880859375,
0.56396484375,
0.5146484375,
0.56396484375
],
[
0.1175537109375,
0.56103515625,
0.484375,
0.56005859375,
0.484375,
0.57470703125,
0.1175537109375,
0.576171875
],
[
0.51318359375,
0.568359375,
0.880859375,
0.568359375,
0.880859375,
0.58203125,
0.51318359375,
0.58203125
],
[
0.1175537109375,
0.57666015625,
0.483642578125,
0.57666015625,
0.483642578125,
0.59033203125,
0.1175537109375,
0.59033203125
],
[
0.51318359375,
0.5849609375,
0.880859375,
0.5849609375,
0.880859375,
0.5986328125,
0.51318359375,
0.5986328125
],
[
0.12005615234375,
0.59423828125,
0.484375,
0.59423828125,
0.484375,
0.60791015625,
0.12005615234375,
0.60791015625
],
[
0.51318359375,
0.60107421875,
0.8818359375,
0.60107421875,
0.8818359375,
0.6142578125,
0.51318359375,
0.6142578125
],
[
0.1175537109375,
0.609375,
0.295654296875,
0.60986328125,
0.295654296875,
0.62451171875,
0.1175537109375,
0.62353515625
],
[
0.515625,
0.6181640625,
0.87744140625,
0.6181640625,
0.87744140625,
0.62890625,
0.515625,
0.62890625
],
[
0.1376953125,
0.62890625,
0.486083984375,
0.62890625,
0.486083984375,
0.6435546875,
0.1376953125,
0.6435546875
],
[
0.5146484375,
0.6328125,
0.880859375,
0.6328125,
0.880859375,
0.646484375,
0.5146484375,
0.646484375
],
[
0.1351318359375,
0.64453125,
0.484375,
0.64453125,
0.484375,
0.65771484375,
0.1351318359375,
0.65771484375
],
[
0.51318359375,
0.6494140625,
0.880859375,
0.6494140625,
0.880859375,
0.6630859375,
0.51318359375,
0.6630859375
],
[
0.12005615234375,
0.6611328125,
0.484375,
0.6611328125,
0.484375,
0.6748046875,
0.12005615234375,
0.6748046875
],
[
0.509765625,
0.66455078125,
0.87890625,
0.66455078125,
0.87890625,
0.677734375,
0.509765625,
0.677734375
],
[
0.118408203125,
0.677734375,
0.48779296875,
0.677734375,
0.48779296875,
0.69140625,
0.118408203125,
0.69140625
],
[
0.51123046875,
0.6796875,
0.880859375,
0.6796875,
0.880859375,
0.693359375,
0.51123046875,
0.693359375
],
[
0.118408203125,
0.69482421875,
0.486083984375,
0.69482421875,
0.486083984375,
0.7080078125,
0.118408203125,
0.7080078125
],
[
0.51318359375,
0.69775390625,
0.75,
0.69775390625,
0.75,
0.71142578125,
0.51318359375,
0.71142578125
],
[
0.118408203125,
0.71044921875,
0.484375,
0.71044921875,
0.484375,
0.7236328125,
0.118408203125,
0.7236328125
],
[
0.1175537109375,
0.7255859375,
0.483642578125,
0.7255859375,
0.483642578125,
0.7392578125,
0.1175537109375,
0.7392578125
],
[
0.5458984375,
0.732421875,
0.84619140625,
0.732421875,
0.84619140625,
0.75,
0.5458984375,
0.75
],
[
0.118408203125,
0.7421875,
0.486083984375,
0.7421875,
0.486083984375,
0.755859375,
0.118408203125,
0.755859375
],
[
0.7021484375,
0.75048828125,
0.7314453125,
0.75048828125,
0.7314453125,
0.76318359375,
0.7021484375,
0.76318359375
],
[
0.79443359375,
0.75,
0.82275390625,
0.75,
0.82275390625,
0.7626953125,
0.79443359375,
0.7626953125
],
[
0.118408203125,
0.7587890625,
0.486083984375,
0.7587890625,
0.486083984375,
0.7724609375,
0.118408203125,
0.7724609375
],
[
0.118408203125,
0.77490234375,
0.486083984375,
0.77490234375,
0.486083984375,
0.7880859375,
0.118408203125,
0.7880859375
],
[
0.51318359375,
0.77783203125,
0.880859375,
0.77783203125,
0.880859375,
0.79150390625,
0.51318359375,
0.79150390625
],
[
0.118408203125,
0.7890625,
0.486083984375,
0.79052734375,
0.486083984375,
0.80419921875,
0.118408203125,
0.802734375
],
[
0.5146484375,
0.79443359375,
0.880859375,
0.79443359375,
0.880859375,
0.80810546875,
0.5146484375,
0.80810546875
],
[
0.118408203125,
0.80712890625,
0.48779296875,
0.80712890625,
0.48779296875,
0.82080078125,
0.118408203125,
0.82080078125
],
[
0.51318359375,
0.81005859375,
0.880859375,
0.81005859375,
0.880859375,
0.82373046875,
0.51318359375,
0.82373046875
],
[
0.1158447265625,
0.82080078125,
0.322509765625,
0.822265625,
0.322509765625,
0.83740234375,
0.1158447265625,
0.8349609375
],
[
0.5146484375,
0.82666015625,
0.880859375,
0.82666015625,
0.880859375,
0.84033203125,
0.5146484375,
0.84033203125
],
[
0.51123046875,
0.8427734375,
0.87890625,
0.8427734375,
0.87890625,
0.85546875,
0.51123046875,
0.85546875
],
[
0.139404296875,
0.85791015625,
0.48779296875,
0.85986328125,
0.48779296875,
0.87451171875,
0.139404296875,
0.87255859375
],
[
0.5146484375,
0.859375,
0.880859375,
0.859375,
0.880859375,
0.87255859375,
0.5146484375,
0.87255859375
],
[
0.1175537109375,
0.87158203125,
0.489501953125,
0.87158203125,
0.489501953125,
0.88525390625,
0.1175537109375,
0.88525390625
],
[
0.51318359375,
0.87451171875,
0.873046875,
0.87451171875,
0.873046875,
0.88818359375,
0.51318359375,
0.88818359375
],
[
0.1175537109375,
0.88427734375,
0.484375,
0.88427734375,
0.484375,
0.89794921875,
0.1175537109375,
0.89794921875
],
[
0.51318359375,
0.89111328125,
0.87890625,
0.89111328125,
0.87890625,
0.90478515625,
0.51318359375,
0.90478515625
],
[
0.118408203125,
0.89794921875,
0.484375,
0.89794921875,
0.484375,
0.90771484375,
0.118408203125,
0.90771484375
],
[
0.1175537109375,
0.90771484375,
0.470947265625,
0.90771484375,
0.470947265625,
0.92138671875,
0.1175537109375,
0.92138671875
],
[
0.509765625,
0.90673828125,
0.87890625,
0.90673828125,
0.87890625,
0.92041015625,
0.509765625,
0.92041015625
]
] |
[
"Movie Script",
"Positional",
"Embeddings",
"O",
"Scen",
"SalientSc",
"Encoder",
"Salien",
"Scene1",
"Sum",
"onModel",
"TransformerLaye",
"C",
"Scene1",
"Scene2",
"Scene",
"0",
"Scene2",
"D",
"Encoder",
"Transformer",
"Encoder",
"2",
"Clas",
"Scenek",
"L",
"Scenen-1",
"Sce",
"Transformer",
"Movie",
"C",
"Encoder",
"Decoder",
"Summary",
"SceneN",
"Scene",
"Encoder",
"Scene Saliency Model",
"Figure I: The architecture of the scene saliency detection and summarization models. The models are trained in a",
"pipeline where salient scene detection is trained separately.",
"齐电影场景和摘要句子而提出的。3因此,我",
"4.1Dataset",
"们使用此对齐方法为完整的Scriptbase语料库",
"为了训练显著性模型,我们使用了ScriptBase",
"生成银标准场景显著性标签",
"语料库(GorinskiandLapata,2015)其中包含",
"我们的数据集将来可用于评估长文档中的内",
"带有维基百科摘要的电影的预处理脚本。我",
"容选择策略。黄金标准的突出场景也可用于评",
"们从训练集中删除了Scriptbase中的黄金标准",
"估提取摘要方法",
"MENSA数据集中使用的电影。这导致了一个",
"现在介绍我们的选择和总结(SELECT&",
"包含824个电影脚本的训练集,为此,我们使",
"SUMM)模型,该模型首先使用分类模型(E",
"用Mirzaetal.(2021)的模型生成了银标准的",
"4节)来预测突出场景,然后仅利用突出场景",
"场景显著性标签,如前所述。我们随机分割了",
"使用预训练的抽象摘要模型(E5节)生成电",
"100部电影的黄金标准场景显著性数据集,其",
"影摘要。这些模型在两阶段管道中进行训练",
"中一半用于验证,另一半用于测试",
"4.2Baselines",
"4",
"Scene Saliency Classification Model",
"多数类:我们使用预测多数类作为分类的简单",
"基线。数据集是高度不平衡的,非显著的是多",
"使用生成的场景显著性银标准标签集,我们训",
"数类。",
"练基于神经网络的分类模型来预测场景显著",
"无监督TextRank:我们使用了TextRankMihal-",
"性。我们将此任务表述为序列标记任务,其中",
"cea and Tarau, 2004; Zheng and Lapata, 2019) 的",
"模型将场景序列M={S1.S2....Sv作为输",
"扩展,这是一种基于图的算法,用于无监督提",
"入,并预测表示场景是否突出的二进制标签序",
"取摘要。与Papalampidietal.(2020)类似,我",
"列Y = (y1, y2,.,yn)",
"们构建了一个电影剧本图,而不是基于句子的",
"该模型由两个组件组成,如图E1所示。第",
"图,使得图中的节点对应于电影中的场景M。",
"个组件是场景编码器,它通过连接场景中的",
"任意两个场景节点S和S,之间的边eii表示",
"句子来计算场景表示,并使用预先训练的语言",
"其相似度,边权为相似度得分。节点S;的中心",
"模型对它们进行编码。接下来,为了学习整个",
"性衡量该节点的重要性(在我们的例子中,该",
"电影中的上下文场景表示,我们进一步使用转",
"节点表示场景),并计算如下:",
"换器(Vaswanietal.,2017)块(堆叠的L层)对",
"场景编码器生成的场景嵌入进行编码,并使用",
"centrality(S) = 入 eij + 2 eij",
"随机权重(LiuandLapata,2019)初始化未屏蔽",
"j<i",
"j>i",
"的自我关注。为了保留场景的顺序,我们将位",
"置编码添加到从第一个组件获得的场景表示",
"其中入1和入2是向前看(边缘到后续场景节",
"中。然后使用场景的最终上下文化表示来分类",
"点)和向后看(边缘到前面的场景节点)的权",
"场景是否突出。使用二进制交叉炳损失训练模",
"重,总和为1。在我们的实验中,我们通过使",
"型以进行二进制序列标记",
"用预先训练的语言模型计算场景表示来表示场",
"景(见下文)。我们使用场景表示之间的余弦相",
"'It was also used to generate the default alignment that our",
"似性来计算两个节点之间的边的权重,并根据",
"human annotators had to correct, which biases our evaluation",
"其中心度得分选择前K个节点作为显着场景。",
"towards the method of Mirza et al. (2021) . However, our",
"监督Bi-LSTM:对于监督基线,我们使用双向",
"resultsarestill agood measureofhowmanyerrorshuman",
"annotators find in the alignment generated by this method.",
"LSTM(Bi-LSTM)来学习场景显著性分类的"
] |
{
"arxiv_id": "2404.03561",
"language": "zh",
"page_idx": 4
}
|
||
2104.09496-zh-2
|
2104.09496-zh-2.jpg
|
## $2. 1. \textbf{ Temporal Query Networks}$
Temporal Query Network ( TQN) 识别未修剪视频中快速发生的判别事件 (仅跨越几帧),并且可以在只有弱监督的情况下进行训练,i.e. ,没有事件的时间位置或持续时间信息。它通过学习一组置换不变的 query vectors 来实现这一点,这些 query vectors 对应于关于事件及其属性的预定义查询,这些查询使用 Transformer [59] 解码器层转换为 response vectors ,这些解码器层关注从 3DConvNet 主干中提取的视觉特征。Figure 2 给出了模型的概述。下面介绍可视主干和 TQN 解码器。$\varnothing$。例如,在潜水视频中,查询可能是 number of turns ,其属性设置为可能的计数$\{0.5,1.0,2.5\}$;或者在体操中,查询可能是 event type ,其属性为$\{$vault, foor-exercise, balanced beam $\}$ 。
Visual backbone. 给定未修剪的视频,使用 3DConvNet: $= ( \Phi _1, \Phi _2, \ldots , \Phi _t)$提取 8 帧的连续非重叠剪辑的第一个视觉特征,其中$t$是剪辑的总数,$\Phi_i\in\mathbb{R}^d$ 是 MAX6 级剪辑。请注意,从视频的 entire 长度中提取特征 densely 很重要,因为:(i)E它避免了引起时间混叠,也避免了丢失快速事件(仅跨几帧),e.g. ,翻筋斗,以及(ii)$\operatorname{E}$从完整视频中选择剪辑的子集以进行最佳分类E$r_i$。
TQN Decoder. 给定剪辑级功能和标签查询,TQN 解码器为每个查询输出 response 。具体而言,对于每个标签查询$q_i$ ,学习一个向量$\mathfrak{q}_i\in\mathbb{R}^d_q$ ,通过关注视觉特征 为其生成响应向量 r$_i\in\mathbb{R}^d_q$ 。然后将每个响应向量 r$_i$独立地线性分类到相应的属性集$\mathcal{A}_i$中。更详细地说,我们使用 parallel non-autoregressive 转换器解码器的多个层,也用于$\mathbb{E}[5]$ 。每个解码器层首先在查询之间进行自我关注,然后在更新的查询和视觉特征之间进行多头关注。在每个关注头中,视觉特征用于线性回归 keys $\Gamma\cdot$和 values $\Lambda\cdot$,其中$\Gamma$和$\Lambda$ 是线性键和值头。使用键和查询之间的 Softmaxed 点积作为权重来收集值。最后,前馈网络从多个头摄取值并输出响应向量。来自一个解码器层的响应向量充当下一层的查询,但第一层除外,其中输入了学习的查询$\mathfrak{q}$ 。因此,每个解码器层细化先前生成的响应向量。从数学上讲,如果 的$a_i^j$是$j$ th 解码器层的 $a_i^j$,则 $a_i^j$ 的$a_i^j$是$j=(\Phi_1,\Phi_2,\ldots,\Phi_t)$的$a_i$ 参考 Figure 2 这个过程的可视化表示和 Appendix D 变压器解码器的详细信息。
Training. 视觉编码器和 TQN 解码器的模型参数i.e. 通过反向传播与属性分类器$\Psi_i$进行端到端联合训练。训练损失是单个分类器损失的多任务组合,这些损失是属性集$\mathcal{A}_i$上的 logits $\Psi_i\cdot\mathrm{r}_i^{(}$ 熵$\mathcal{L}_{CE}$损失:
$$\mathcal{L}_{\mathrm{total}}=\sum_{i=1}^{K}\mathcal{L}_{CE}^{(i)}(a^{i},\Psi_{i}\cdot\mathrm{r}_{i}^{(M)}),$$
(1)
其中$a^i$是标签查询 MA4 的真实属性 THX5。本质上,
<FigureHere>
Figure 3: Stochastically updated featu ture banks cache visual encoder features $\Phi$ to circumvent GPU memory constraints which prevent forwarding densely sampled video frames from the entire length of the video at each training iteration. Randomly sampled contiguous video clips are forwarded online in each iteration and cached immediately; the rest of the clip features are retrieved from the feature bank. The features are then input into the TQN for joint training of both the TQN and the visual encoder. This joint training over dense temporal context is critical for finegrained performance ( Section 4.2 ).
TQN 解码器学习在查询向量和相关视觉特征之间建立
时间对应关系,以生成响应。由于查询向量是自己学习
的,因此它们被优化为“专家”,可以在未修剪的时间
特征流中定位相应的事件。Figures 4 and 5 说明了这
种时间对应关系
DETR$\mathbb{E}[5]$是最近
Discussion: TQN and DETR.
提出的基于 Transformer 的对象检测模型,它也类似地采用非自回归并行解码来一次输出对象检测。但是,有三个关键的区别:(i)EDETR 对象查询都是等效的-因为它们的输出都指定相同的“标签空间”(对象类及其RoI),本质上查询是 learnt 位置编码。相反,TQN 查询彼此不同,并具有与事件类型和属性相对应的语义含义;它们的输出响应向量分别指定一组不同的属性, 并且属性的数量取决于查询。(ii)这导致了第二个区别:由于 TQN 响应与这些查询相关联,因此可以通过直接监督属性标签对其进行训练,从而避免了训练时间匈牙利匹配$\mathbb{E}[36]$ 在 DETR 中采用的预测和地面实况。(iii) 最后,TQN 没有可用的时间定位监督,而为DETR 训练提供了(空间)位置。因此,尽管 TQN 的任务是 (隐式)检测事件,但它的监督要弱得多。
2.2. Stochastically Updated Feature Bank
整个未修剪视频输人的帧的密集时间采样是检测时间位置未知的快速判别事件的关键。然而,这在实践中是具有挑战性的,因为 GPU 内存限制会阻止在每次训练迭代中转发密集采样的帧。我们使用一个特征
3
|
[
[
0.08087158203125,
0.0921630859375,
0.325927734375,
0.0921630859375,
0.325927734375,
0.1060791015625,
0.08087158203125,
0.1060791015625
],
[
0.54736328125,
0.0985107421875,
0.564453125,
0.0985107421875,
0.564453125,
0.1029052734375,
0.54736328125,
0.1029052734375
],
[
0.7587890625,
0.09661865234375,
0.76318359375,
0.09661865234375,
0.76318359375,
0.10162353515625,
0.7587890625,
0.10162353515625
],
[
0.6953125,
0.10986328125,
0.701171875,
0.10986328125,
0.701171875,
0.11553955078125,
0.6953125,
0.11553955078125
],
[
0.52392578125,
0.10162353515625,
0.583984375,
0.10479736328125,
0.58251953125,
0.11614990234375,
0.52294921875,
0.11297607421875
],
[
0.08087158203125,
0.11553955078125,
0.46728515625,
0.11553955078125,
0.46728515625,
0.1287841796875,
0.08087158203125,
0.1287841796875
],
[
0.08087158203125,
0.1307373046875,
0.46728515625,
0.1307373046875,
0.46728515625,
0.14453125,
0.08087158203125,
0.14453125
],
[
0.68310546875,
0.126953125,
0.71142578125,
0.126953125,
0.71142578125,
0.1383056640625,
0.68310546875,
0.1383056640625
],
[
0.08251953125,
0.1458740234375,
0.46728515625,
0.1458740234375,
0.46728515625,
0.1590576171875,
0.08251953125,
0.1590576171875
],
[
0.080078125,
0.160400390625,
0.468017578125,
0.1610107421875,
0.468017578125,
0.1749267578125,
0.080078125,
0.173583984375
],
[
0.609375,
0.1634521484375,
0.63623046875,
0.1634521484375,
0.63623046875,
0.1749267578125,
0.609375,
0.1749267578125
],
[
0.68310546875,
0.1654052734375,
0.7138671875,
0.1685791015625,
0.7099609375,
0.1875,
0.6787109375,
0.184326171875
],
[
0.08251953125,
0.173583984375,
0.465576171875,
0.173583984375,
0.465576171875,
0.1881103515625,
0.08251953125,
0.1881103515625
],
[
0.60107421875,
0.1685791015625,
0.6435546875,
0.1685791015625,
0.6435546875,
0.1932373046875,
0.60107421875,
0.1932373046875
],
[
0.52783203125,
0.18115234375,
0.57275390625,
0.18115234375,
0.57275390625,
0.1912841796875,
0.52783203125,
0.1912841796875
],
[
0.53125,
0.1767578125,
0.53759765625,
0.1767578125,
0.53759765625,
0.1817626953125,
0.53125,
0.1817626953125
],
[
0.7509765625,
0.1817626953125,
0.78369140625,
0.1817626953125,
0.78369140625,
0.189453125,
0.7509765625,
0.189453125
],
[
0.08087158203125,
0.1900634765625,
0.46728515625,
0.1900634765625,
0.46728515625,
0.203857421875,
0.08087158203125,
0.203857421875
],
[
0.8203125,
0.184326171875,
0.8408203125,
0.184326171875,
0.8408203125,
0.1881103515625,
0.8203125,
0.1881103515625
],
[
0.08087158203125,
0.205810546875,
0.330810546875,
0.205810546875,
0.330810546875,
0.2197265625,
0.08087158203125,
0.2197265625
],
[
0.336669921875,
0.2108154296875,
0.34716796875,
0.2108154296875,
0.34716796875,
0.21533203125,
0.336669921875,
0.21533203125
],
[
0.343017578125,
0.205810546875,
0.46728515625,
0.205810546875,
0.46728515625,
0.2197265625,
0.343017578125,
0.2197265625
],
[
0.60888671875,
0.2171630859375,
0.6396484375,
0.2171630859375,
0.6396484375,
0.2342529296875,
0.60888671875,
0.2342529296875
],
[
0.64794921875,
0.2183837890625,
0.6708984375,
0.2183837890625,
0.6708984375,
0.2298583984375,
0.64794921875,
0.2298583984375
],
[
0.08087158203125,
0.236083984375,
0.461669921875,
0.236083984375,
0.461669921875,
0.25,
0.08087158203125,
0.25
],
[
0.08087158203125,
0.2203369140625,
0.46728515625,
0.2203369140625,
0.46728515625,
0.2342529296875,
0.08087158203125,
0.2342529296875
],
[
0.53125,
0.251953125,
0.53759765625,
0.251953125,
0.53759765625,
0.2568359375,
0.53125,
0.2568359375
],
[
0.080078125,
0.261474609375,
0.468017578125,
0.261474609375,
0.468017578125,
0.274658203125,
0.080078125,
0.274658203125
],
[
0.5703125,
0.264404296875,
0.6650390625,
0.264404296875,
0.6650390625,
0.27587890625,
0.5703125,
0.27587890625
],
[
0.7490234375,
0.26513671875,
0.8408203125,
0.26513671875,
0.8408203125,
0.276611328125,
0.7490234375,
0.276611328125
],
[
0.56884765625,
0.272705078125,
0.6640625,
0.2734375,
0.6640625,
0.2841796875,
0.56884765625,
0.28271484375
],
[
0.50634765625,
0.266357421875,
0.5361328125,
0.266357421875,
0.5361328125,
0.2841796875,
0.50634765625,
0.2841796875
],
[
0.0931396484375,
0.276611328125,
0.46728515625,
0.276611328125,
0.46728515625,
0.290283203125,
0.0931396484375,
0.290283203125
],
[
0.7607421875,
0.27587890625,
0.8310546875,
0.27587890625,
0.8310546875,
0.28271484375,
0.7607421875,
0.28271484375
],
[
0.0882568359375,
0.2822265625,
0.09722900390625,
0.2822265625,
0.09722900390625,
0.285888671875,
0.0882568359375,
0.285888671875
],
[
0.08087158203125,
0.291748046875,
0.468017578125,
0.291748046875,
0.468017578125,
0.30615234375,
0.08087158203125,
0.30615234375
],
[
0.50341796875,
0.298583984375,
0.8896484375,
0.298583984375,
0.8896484375,
0.3125,
0.50341796875,
0.3125
],
[
0.080078125,
0.30615234375,
0.32177734375,
0.30615234375,
0.32177734375,
0.3193359375,
0.080078125,
0.3193359375
],
[
0.5009765625,
0.313232421875,
0.8896484375,
0.314453125,
0.8896484375,
0.32763671875,
0.5009765625,
0.326904296875
],
[
0.0849609375,
0.330810546875,
0.23779296875,
0.330810546875,
0.23779296875,
0.3447265625,
0.0849609375,
0.3447265625
],
[
0.2296142578125,
0.330810546875,
0.46728515625,
0.330810546875,
0.46728515625,
0.3447265625,
0.2296142578125,
0.3447265625
],
[
0.50244140625,
0.32763671875,
0.8896484375,
0.328857421875,
0.8896484375,
0.343505859375,
0.50244140625,
0.34228515625
],
[
0.080078125,
0.3447265625,
0.46728515625,
0.34521484375,
0.46728515625,
0.35986328125,
0.080078125,
0.359130859375
],
[
0.50341796875,
0.3447265625,
0.89208984375,
0.3447265625,
0.89208984375,
0.35791015625,
0.50341796875,
0.35791015625
],
[
0.08087158203125,
0.361083984375,
0.46728515625,
0.361083984375,
0.46728515625,
0.375,
0.08087158203125,
0.375
],
[
0.50244140625,
0.35986328125,
0.88818359375,
0.35986328125,
0.88818359375,
0.373779296875,
0.50244140625,
0.373779296875
],
[
0.08251953125,
0.376953125,
0.46728515625,
0.376953125,
0.46728515625,
0.39013671875,
0.08251953125,
0.39013671875
],
[
0.50341796875,
0.375,
0.890625,
0.375,
0.890625,
0.38818359375,
0.50341796875,
0.38818359375
],
[
0.08087158203125,
0.392578125,
0.46728515625,
0.392578125,
0.46728515625,
0.406005859375,
0.08087158203125,
0.406005859375
],
[
0.50244140625,
0.389404296875,
0.890625,
0.389404296875,
0.890625,
0.40283203125,
0.50244140625,
0.40283203125
],
[
0.08087158203125,
0.4072265625,
0.46728515625,
0.4072265625,
0.46728515625,
0.42041015625,
0.08087158203125,
0.42041015625
],
[
0.50341796875,
0.406005859375,
0.8896484375,
0.406005859375,
0.8896484375,
0.416748046875,
0.50341796875,
0.416748046875
],
[
0.08087158203125,
0.421630859375,
0.468017578125,
0.421630859375,
0.468017578125,
0.436279296875,
0.08087158203125,
0.436279296875
],
[
0.50244140625,
0.41845703125,
0.89208984375,
0.419189453125,
0.89208984375,
0.434326171875,
0.50244140625,
0.43310546875
],
[
0.08087158203125,
0.4375,
0.2034912109375,
0.4375,
0.2034912109375,
0.45068359375,
0.08087158203125,
0.45068359375
],
[
0.50341796875,
0.43505859375,
0.890625,
0.43505859375,
0.890625,
0.448974609375,
0.50341796875,
0.448974609375
],
[
0.50341796875,
0.45068359375,
0.8896484375,
0.45068359375,
0.8896484375,
0.464111328125,
0.50341796875,
0.464111328125
],
[
0.08660888671875,
0.4609375,
0.2034912109375,
0.4609375,
0.2034912109375,
0.474853515625,
0.08660888671875,
0.474853515625
],
[
0.21728515625,
0.4609375,
0.46728515625,
0.460205078125,
0.46728515625,
0.474853515625,
0.21728515625,
0.47607421875
],
[
0.50341796875,
0.464111328125,
0.7607421875,
0.464111328125,
0.7607421875,
0.479248046875,
0.50341796875,
0.479248046875
],
[
0.08087158203125,
0.4765625,
0.46728515625,
0.4765625,
0.46728515625,
0.490478515625,
0.08087158203125,
0.490478515625
],
[
0.08251953125,
0.4912109375,
0.468017578125,
0.4912109375,
0.468017578125,
0.505859375,
0.08251953125,
0.505859375
],
[
0.5048828125,
0.494384765625,
0.8896484375,
0.494384765625,
0.8896484375,
0.5048828125,
0.5048828125,
0.5048828125
],
[
0.08251953125,
0.5068359375,
0.468017578125,
0.5068359375,
0.468017578125,
0.52099609375,
0.08251953125,
0.52099609375
],
[
0.50341796875,
0.50830078125,
0.8896484375,
0.50830078125,
0.8896484375,
0.521484375,
0.50341796875,
0.521484375
],
[
0.08087158203125,
0.52294921875,
0.468017578125,
0.52294921875,
0.468017578125,
0.5361328125,
0.08087158203125,
0.5361328125
],
[
0.50341796875,
0.5234375,
0.890625,
0.5234375,
0.890625,
0.537109375,
0.50341796875,
0.537109375
],
[
0.08087158203125,
0.537109375,
0.468017578125,
0.537109375,
0.468017578125,
0.5517578125,
0.08087158203125,
0.5517578125
],
[
0.50341796875,
0.53857421875,
0.890625,
0.53857421875,
0.890625,
0.55322265625,
0.50341796875,
0.55322265625
],
[
0.08087158203125,
0.55322265625,
0.468017578125,
0.55322265625,
0.468017578125,
0.56640625,
0.08087158203125,
0.56640625
],
[
0.50341796875,
0.5537109375,
0.619140625,
0.5537109375,
0.619140625,
0.5673828125,
0.50341796875,
0.5673828125
],
[
0.08251953125,
0.568359375,
0.468017578125,
0.568359375,
0.468017578125,
0.58203125,
0.08251953125,
0.58203125
],
[
0.5087890625,
0.5791015625,
0.7255859375,
0.5791015625,
0.7255859375,
0.59228515625,
0.5087890625,
0.59228515625
],
[
0.7490234375,
0.5791015625,
0.890625,
0.5791015625,
0.890625,
0.59228515625,
0.7490234375,
0.59228515625
],
[
0.50341796875,
0.5947265625,
0.890625,
0.5947265625,
0.890625,
0.60791015625,
0.50341796875,
0.60791015625
],
[
0.08087158203125,
0.58349609375,
0.459228515625,
0.58349609375,
0.459228515625,
0.5966796875,
0.08087158203125,
0.5966796875
],
[
0.08251953125,
0.5966796875,
0.468017578125,
0.5966796875,
0.468017578125,
0.611328125,
0.08251953125,
0.611328125
],
[
0.08251953125,
0.6123046875,
0.468017578125,
0.6123046875,
0.468017578125,
0.62548828125,
0.08251953125,
0.62548828125
],
[
0.5048828125,
0.60986328125,
0.8896484375,
0.60986328125,
0.8896484375,
0.62353515625,
0.5048828125,
0.62353515625
],
[
0.08087158203125,
0.626953125,
0.465576171875,
0.626953125,
0.465576171875,
0.64013671875,
0.08087158203125,
0.64013671875
],
[
0.5048828125,
0.62255859375,
0.8896484375,
0.62353515625,
0.8896484375,
0.63818359375,
0.5048828125,
0.63720703125
],
[
0.08087158203125,
0.64306640625,
0.468017578125,
0.64306640625,
0.468017578125,
0.6572265625,
0.08087158203125,
0.6572265625
],
[
0.5048828125,
0.6396484375,
0.890625,
0.6396484375,
0.890625,
0.65283203125,
0.5048828125,
0.65283203125
],
[
0.08416748046875,
0.65771484375,
0.468017578125,
0.65771484375,
0.468017578125,
0.671875,
0.08416748046875,
0.671875
],
[
0.50341796875,
0.65380859375,
0.890625,
0.65380859375,
0.890625,
0.66748046875,
0.50341796875,
0.66748046875
],
[
0.080078125,
0.673828125,
0.46728515625,
0.67236328125,
0.46728515625,
0.6875,
0.080078125,
0.68798828125
],
[
0.50341796875,
0.66943359375,
0.8896484375,
0.66943359375,
0.8896484375,
0.68310546875,
0.50341796875,
0.68310546875
],
[
0.08087158203125,
0.68798828125,
0.465576171875,
0.68798828125,
0.465576171875,
0.7021484375,
0.08087158203125,
0.7021484375
],
[
0.5048828125,
0.68505859375,
0.88818359375,
0.68505859375,
0.88818359375,
0.69873046875,
0.5048828125,
0.69873046875
],
[
0.08087158203125,
0.705078125,
0.468017578125,
0.705078125,
0.468017578125,
0.71826171875,
0.08087158203125,
0.71826171875
],
[
0.5048828125,
0.69970703125,
0.88818359375,
0.69970703125,
0.88818359375,
0.71337890625,
0.5048828125,
0.71337890625
],
[
0.080078125,
0.71826171875,
0.4697265625,
0.7197265625,
0.4697265625,
0.734375,
0.080078125,
0.73291015625
],
[
0.50341796875,
0.71533203125,
0.890625,
0.71533203125,
0.890625,
0.72900390625,
0.50341796875,
0.72900390625
],
[
0.08087158203125,
0.734375,
0.26953125,
0.734375,
0.26953125,
0.74755859375,
0.08087158203125,
0.74755859375
],
[
0.50634765625,
0.73095703125,
0.890625,
0.73095703125,
0.890625,
0.744140625,
0.50634765625,
0.744140625
],
[
0.5048828125,
0.744140625,
0.890625,
0.744140625,
0.890625,
0.7587890625,
0.5048828125,
0.7587890625
],
[
0.08416748046875,
0.75830078125,
0.1568603515625,
0.76025390625,
0.1568603515625,
0.7744140625,
0.08416748046875,
0.77294921875
],
[
0.1846923828125,
0.76025390625,
0.468017578125,
0.76025390625,
0.468017578125,
0.7734375,
0.1846923828125,
0.7734375
],
[
0.5048828125,
0.76220703125,
0.8896484375,
0.76220703125,
0.8896484375,
0.77294921875,
0.5048828125,
0.77294921875
],
[
0.080078125,
0.77587890625,
0.46728515625,
0.77587890625,
0.46728515625,
0.7890625,
0.080078125,
0.7890625
],
[
0.50244140625,
0.7734375,
0.890625,
0.7744140625,
0.890625,
0.7890625,
0.50244140625,
0.78857421875
],
[
0.080078125,
0.7890625,
0.46728515625,
0.79052734375,
0.46728515625,
0.8046875,
0.080078125,
0.8037109375
],
[
0.50341796875,
0.79052734375,
0.85546875,
0.79052734375,
0.85546875,
0.8037109375,
0.50341796875,
0.8037109375
],
[
0.08087158203125,
0.806640625,
0.310546875,
0.806640625,
0.310546875,
0.82080078125,
0.08087158203125,
0.82080078125
],
[
0.310546875,
0.80322265625,
0.468017578125,
0.806640625,
0.468017578125,
0.82470703125,
0.310546875,
0.82080078125
],
[
0.50341796875,
0.81640625,
0.82666015625,
0.8173828125,
0.82666015625,
0.83203125,
0.50341796875,
0.83056640625
],
[
0.08251953125,
0.82373046875,
0.181396484375,
0.82373046875,
0.181396484375,
0.83544921875,
0.08251953125,
0.83544921875
],
[
0.2303466796875,
0.84130859375,
0.2442626953125,
0.84130859375,
0.2442626953125,
0.85107421875,
0.2303466796875,
0.85107421875
],
[
0.5048828125,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.16259765625,
0.849609375,
0.365234375,
0.849609375,
0.365234375,
0.8720703125,
0.16259765625,
0.8720703125
],
[
0.3544921875,
0.85107421875,
0.3798828125,
0.85595703125,
0.37744140625,
0.8642578125,
0.351318359375,
0.859375
],
[
0.44677734375,
0.85498046875,
0.468017578125,
0.85498046875,
0.468017578125,
0.86865234375,
0.44677734375,
0.86865234375
],
[
0.50341796875,
0.85693359375,
0.8896484375,
0.85693359375,
0.8896484375,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.226318359375,
0.8720703125,
0.2467041015625,
0.8720703125,
0.2467041015625,
0.8798828125,
0.226318359375,
0.8798828125
],
[
0.5048828125,
0.8720703125,
0.8896484375,
0.8720703125,
0.8896484375,
0.88525390625,
0.5048828125,
0.88525390625
],
[
0.08087158203125,
0.88720703125,
0.47216796875,
0.88720703125,
0.47216796875,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.47802734375,
0.923828125,
0.494384765625,
0.923828125,
0.494384765625,
0.93798828125,
0.47802734375,
0.93798828125
]
] |
[
"2.1. Temporal Query Networks",
"foru",
"",
"4",
"backprop",
"TemporalQueryNetwork(TQN)识别未修剪视频中",
"快速发生的判别事件(仅跨越几顿),并且可以在只有弱",
"TQN",
"监督的情况下进行训练,i.e.,没有事件的时间位置或持",
"续时间信息。它通过学习一组置换不变的queryvectors",
"online",
"Fesane",
"来实现这一点,这些queryvectors 对应于关于事件及",
"",
"cached",
"",
"cached",
"其属性的预定义查询,这些查询使用Transformer[59]",
"acha",
"解码器层转换为responsevectors",
"",
"这些解码器层关",
"evisuder",
"中",
"出了模型的概述。下面介绍可视主干和TQN解码器。",
"注从3DConvNet主干中提取的视觉特征。Figure2给",
"",
"①。例如,在潜水视频中,查询可能是number ofturns",
"Randomlyselected clips",
"Clips for which cached",
"for online computation",
"Vidres",
"其属性设置为可能的计数0.5,1.0,2.5];或者在体",
"features areused",
"",
"操中,查询可能是eventtype,其属性为【vault,",
"Figure 3: Stochastically updated feature bank.Fea-",
"floor-exercise, balanced beam 。",
"ture banks cache visual encoder features to circum-",
"Visual backbone.",
"给定未修剪的视频,使用3DCon-",
"vent GPU memory constraints which prevent forward-",
"vNet:=(Φ1,Φ2....,Φt)提取8顿的连续非重叠剪",
"ing densely sampled video frames from the entire length",
"辑的第一个视觉特征,其中t是剪辑的总数,d;ERd",
"of the video at each training iteration. Randomly sam-",
"是MAX6级剪辑。请注意,从视频的entire长度中提",
"pled contiguous video clips are forwarded online in each",
"取特征densely很重要,因为:(i)E它避免了引起时",
"iteration and cached immediately; the rest of the clip",
"间混叠,也避免了丢失快速事件(仅跨几顿),e.g:,翻",
"features are retrieved from the feature bank. The fea-",
"筋斗,以及(ii)E从完整视频中选择剪辑的子集以进",
"tures are then input into the TQN for joint training",
"行最佳分类Er",
"of both the TQN and the visual encoder. This joint",
"training over dense temporal context is critical for fine-",
"TQN Decoder.",
"给定剪辑级功能和标签查询,TQN",
"grained performance (Section 4.2).",
"解码器为每个查询输出response。具体而言,对于每",
"个标签查询9i,学习一个向量9iERda,通过关注视",
"TQN解码器学习在查询向量和相关视觉特征之间建立",
"觉特征为其生成响应向量riERda。然后将每个响",
"时间对应关系,以生成响应。由于查询向量是自己已学习",
"应向量ri独立地线性分类到相应的属性集A,中。更",
"的,因此它们被优化为“专家”,可以在未修剪的时间",
"详细地说,我们使用parallelnon-autoregressive转换",
"特征流中定位相应的事件。Figures 4 and 5说明了这",
"器解码器的多个层,也用于E5]。每个解码器层首先",
"种时间对应关系",
"在查询之间进行自我关注,然后在更新的查询和视觉",
"Discussion: TQN and DETR.",
"DETRE5是最近",
"提出的基于Transformer的对象检测模型,它也类似地",
"特征之间进行多头关注。在每个关注头中,视觉特征",
"用于线性回归keysT:和valuesA:,其中和A",
"是线性键和值头。使用键和查询之间的Softmaxed点",
"采用非自回归并行解码来一次输出对象检测。但是,有",
"积作为权重来收集值。最后,前馈网络从多个头摄取值",
"三个关键的区别:(i)EDETR对象查询都是等效的-因",
"并输出响应向量。来自一个解码器层的响应向量充当",
"为它们的输出都指定相同的“标签空间”(对象类及其",
"下一层的查询,但第一层除外,其中输入了学习的查询",
"RoI),本质上查询是learnt位置编码。相反,TQN查",
"9。因此,每个解码器层细化先前生成的响应向量。从",
"询彼此不同,并具有与事件类型和属性相对应的语义",
"数学上讲,如果的a是jth解码器层的a,则a",
"含义;它们的输出响应向量分别指定一组不同的属性",
"的α是j=(Φ1,Φ2,,Φt)的α对应于查询的。请",
"并且属性的数量取决于查询。(i)这导致了第二个区",
"参考Figure2这个过程的可视化表示和AppendixD",
"别:由于TQN响应与这些查询相关联,因此可以通过",
"变压器解码器的详细信息。",
"直接监督属性标签对其进行训练,从而避免了训练时",
"间匈牙利匹配E[36]在DETR中采用的预测和地面实",
"Training.",
"视觉编码器和TQN解码器的模型参数",
"况。(ii)最后,TQN没有可用的时间定位监督,而为",
"i.e.通过反向传播与属性分类器亚;进行端到端联合训",
"DETR训练提供了(空间)位置。因此,尽管TQN的",
"练。训练损失是单个分类器损失的多任务组合,这些损",
"任务是(隐式)检测事件,但它的监督要弱得多。",
"失是属性集A,上的logits亚,r",
"M)上的Softmax交叉",
"2.2. Stochastically Updated Feature Bank",
"摘CcE损失:",
"K",
"整个未修剪视频输人的顿的密集时间采样是检测时",
"Ctotal -Ece(a', ; r(M",
"M)Y",
"(1)",
"间位置未知的快速判别事件的关键。然而,这在实践",
"=1",
"中是具有挑战性的,因为GPU内存限制会阻止在每",
"其中α是标签查询MA4的真实属性THX5。本质上,",
"次训练迭代中转发密集采样的顿。我们使用一个特征",
"3"
] |
{
"arxiv_id": "2104.09496",
"language": "zh",
"page_idx": 2
}
|
||
2104.09496-zh-3
|
2104.09496-zh-3.jpg
|
<FigureHere>
Figure 4: TQN attention alignment. For a given query, the TQN attends over the clip-level features to generate the responses. We visualize the central frame from the clip with the highest attention score for six different queryattributes from the FineGym [49] dataset. The same queries (but different attributes) are highlighted with a common color. The TQN detects and aligns semantically relevant events under variations in appearance and pose without any temporal localization supervision. More visualizations in .
是突出的[2,18,67]策略,用于扩展视频模型的时间支持。但是,所有这些工作都保留了 frozen 的功能, 而我们 continuously update 是训练期间的内存库。在Section $\color{red}{4.2}$中,我们演示了这些更新对于性能至关重要。
2.3. Factorizing Categories into Attribute Queries
在本节中,我们将说明如何将预定义的$N$类别$\mathcal{C}$ = $\{ c_1, c_2, \ldots , c_N\}$属性转换为。在这样的数据集中,类别在细微的细节上有所不同 e.g. ,特定类型,持续时间或特定事件序列的计数。这些可能是快速发生的 (持续时间短)事件,其时间位置和持续时间未知(请参阅 Figure 1)。类别 $\mathcal{C}$ 的文字描述是由与事件类型和属性(子标签类别)相对应的不同数量的子标签(或从有限集中提取的令牌)组成的字符串。我们利用此字符串结构来形成与子标签类别相对应的查询$\{q_i\}_{i=1}^K$,每个查询都具有由子标签组成的关联属性集$\mathcal{A}_i$ ,因此类别$\mathcal{C}$可以表示为属性集的笛卡尔积的子集: $\mathcal{C}\subseteq\mathcal{A}_1\times\mathcal{A}_2\times\ldots\times\mathcal{A}_K$ 。Table 1 中给出了四个类别的示例标签分解,其中四个动作类别表示为分别包含两个和三个属性的两个属性集的乘积。本文使用的评估数据集的分解细节在 Section 3和 Appendix J 中给
内存库[68,69]来克服这些限制内存库缓存剪辑级3DConvNet 视觉特征。请注意,对于给定的视频,剪辑功能$= ( \Phi _i, \Phi _2, \ldots , \Phi _t)$ ,其中$t$ 是剪辑的总数,可以彼此独立地提取。使用从预训练的 3DConvNet 中提取的所有训练视频的剪辑功能初始化内存库(详细信息在 Section $\color{red}{2.4}$中)。然后在每次训练迭代中,通过可视编码器转发固定数量的随机采样的连续剪辑$n_\mathrm{online}$, i. e. , $n_{\mathrm{online~}}$剪辑特征计算 online 。其余的$\left(t-n_{\mathrm{online}}\right)$ 剪辑特征从内存库中检索。然后将两组视觉特征组合并输人到 TQN 解码器中进行最终预测和反向传播,以更新模型参数。最后,将内存库中与在线计算的剪辑特征相对应的剪辑特征替换为在线特征。在推理过程中,所有特征都是在没有内存库的情况下在线计算的。Figure $\color{#C00}{3}$直观地总结了该函数。
Advantages. 使用固定数量的剪辑在线解耦视频长度和 GPU 内存预算。结果,我们的内存库使得 TQN 解码器能够(i)E与视觉编码器一起训练,(ii)E具有扩展的时间上下文,这两者都大大提高了性能(请参阅Section $\color{red}{4.2}$ )。此外,它促进了每个小批量的多样性, 因为可以包含多个不同的视频,而不仅仅是一个长视频。
Discussion: relations with prior memory bank methods. 特征存储库已用于单个图像的紧凑向量表示E [56,68,69] ,而我们为每个视频存储不同数量的时间向量。MoCo [23]和相关的自监督方法[61,72]使用辅助网络更新内存库功能 slowly e.g. ,以防止表示崩溃,而直接监督查询,我们可以立即从单个在线网络更新功能。上述工作将内存库应用于从大型语料库中检索图像/特征,用于对比训练中的硬底片,而我们使用内存库扩展每个视频的时间上下文。使用预先计算的
[66]
特征[37,47,55]或 Long-term Feature Banks
<table>
<tbody>
<tr>
<th rowspan="2">Category 1.</th>
<th rowspan="2">query $\rightarrow$ attribute $\rightarrow$</th>
<th colspan="2">$1:\operatorname*{leap}$ $ff1$ and jump type</th>
<th>$q_2$</th>
<th colspan="2">turns mum</th>
</tr>
<tr>
<th>switch $\operatorname*{leap}$</th>
<th>split $\operatorname*{jump}$</th>
<th>$\overline{0.5}$</th>
<th>$\overline{1.0}$</th>
<th>$ZJ$</th>
</tr>
<tr>
<td>switch $\operatorname*{leap}$ $W$ switch $\operatorname*{leap}$ $W$ split $\operatorname*{jump}$ T $W$ split jump</td>
<td>0.5 turn /1 turn 1 turn</td>
<td>$\overline{J}$</td>
<td>$Y$</td>
<td>$√$</td>
<td>$Y$</td>
<td>$√$</td>
</tr>
</tbody>
</table>
Table 1: Illustration of query-attribute factorizatiom of fine-grained action categories. Four categories are factored into two queries $q_1,q_2$ with two and three attributes respectively.
4
|
[
[
0.2607421875,
0.09027099609375,
0.29736328125,
0.09027099609375,
0.29736328125,
0.10101318359375,
0.2607421875,
0.10101318359375
],
[
0.32275390625,
0.09027099609375,
0.361083984375,
0.09027099609375,
0.361083984375,
0.10101318359375,
0.32275390625,
0.10101318359375
],
[
0.384033203125,
0.09027099609375,
0.426513671875,
0.09027099609375,
0.426513671875,
0.10101318359375,
0.384033203125,
0.10101318359375
],
[
0.44775390625,
0.09027099609375,
0.488525390625,
0.09027099609375,
0.488525390625,
0.10101318359375,
0.44775390625,
0.10101318359375
],
[
0.521484375,
0.09027099609375,
0.5595703125,
0.09027099609375,
0.5595703125,
0.10101318359375,
0.521484375,
0.10101318359375
],
[
0.5849609375,
0.09027099609375,
0.6259765625,
0.09027099609375,
0.6259765625,
0.10101318359375,
0.5849609375,
0.10101318359375
],
[
0.63623046875,
0.0889892578125,
0.76123046875,
0.0889892578125,
0.76123046875,
0.0997314453125,
0.63623046875,
0.0997314453125
],
[
0.77294921875,
0.09027099609375,
0.814453125,
0.09027099609375,
0.814453125,
0.10101318359375,
0.77294921875,
0.10101318359375
],
[
0.2034912109375,
0.091552734375,
0.2296142578125,
0.091552734375,
0.2296142578125,
0.0997314453125,
0.2034912109375,
0.0997314453125
],
[
0.08416748046875,
0.0921630859375,
0.108642578125,
0.0921630859375,
0.108642578125,
0.10101318359375,
0.08416748046875,
0.10101318359375
],
[
0.1380615234375,
0.091552734375,
0.1650390625,
0.091552734375,
0.1650390625,
0.0997314453125,
0.1380615234375,
0.0997314453125
],
[
0.8388671875,
0.0921630859375,
0.8759765625,
0.0921630859375,
0.8759765625,
0.0997314453125,
0.8388671875,
0.0997314453125
],
[
0.08416748046875,
0.106689453125,
0.188720703125,
0.106689453125,
0.188720703125,
0.11932373046875,
0.08416748046875,
0.11932373046875
],
[
0.1805419921875,
0.1029052734375,
0.238525390625,
0.1029052734375,
0.238525390625,
0.12249755859375,
0.1805419921875,
0.12249755859375
],
[
0.2607421875,
0.106689453125,
0.29736328125,
0.106689453125,
0.29736328125,
0.117431640625,
0.2607421875,
0.117431640625
],
[
0.381591796875,
0.106689453125,
0.431396484375,
0.106689453125,
0.431396484375,
0.117431640625,
0.381591796875,
0.117431640625
],
[
0.439453125,
0.106689453125,
0.498291015625,
0.106689453125,
0.498291015625,
0.117431640625,
0.439453125,
0.117431640625
],
[
0.5888671875,
0.106689453125,
0.61767578125,
0.106689453125,
0.61767578125,
0.11871337890625,
0.5888671875,
0.11871337890625
],
[
0.71826171875,
0.106689453125,
0.74267578125,
0.106689453125,
0.74267578125,
0.11871337890625,
0.71826171875,
0.11871337890625
],
[
0.65869140625,
0.10797119140625,
0.67626953125,
0.10797119140625,
0.67626953125,
0.117431640625,
0.65869140625,
0.117431640625
],
[
0.330078125,
0.10797119140625,
0.35693359375,
0.10797119140625,
0.35693359375,
0.11614990234375,
0.330078125,
0.11614990234375
],
[
0.525390625,
0.10919189453125,
0.5556640625,
0.10919189453125,
0.5556640625,
0.11614990234375,
0.525390625,
0.11614990234375
],
[
0.779296875,
0.10919189453125,
0.810546875,
0.10919189453125,
0.810546875,
0.11614990234375,
0.779296875,
0.11614990234375
],
[
0.83251953125,
0.10919189453125,
0.88232421875,
0.10919189453125,
0.88232421875,
0.11614990234375,
0.83251953125,
0.11614990234375
],
[
0.2099609375,
0.10986328125,
0.2296142578125,
0.10986328125,
0.2296142578125,
0.1142578125,
0.2099609375,
0.1142578125
],
[
0.17724609375,
0.11236572265625,
0.1846923828125,
0.11236572265625,
0.1846923828125,
0.11614990234375,
0.17724609375,
0.11614990234375
],
[
0.265625,
0.141357421875,
0.275390625,
0.1383056640625,
0.279296875,
0.14453125,
0.26953125,
0.147705078125
],
[
0.334228515625,
0.1395263671875,
0.348876953125,
0.1337890625,
0.3544921875,
0.143310546875,
0.339111328125,
0.1483154296875
],
[
0.775390625,
0.149658203125,
0.78759765625,
0.149658203125,
0.78759765625,
0.154052734375,
0.775390625,
0.154052734375
],
[
0.396240234375,
0.15283203125,
0.426513671875,
0.15283203125,
0.426513671875,
0.1558837890625,
0.396240234375,
0.1558837890625
],
[
0.1666259765625,
0.177978515625,
0.17724609375,
0.177978515625,
0.17724609375,
0.18115234375,
0.1666259765625,
0.18115234375
],
[
0.0849609375,
0.179931640625,
0.1094970703125,
0.179931640625,
0.1094970703125,
0.1881103515625,
0.0849609375,
0.1881103515625
],
[
0.1446533203125,
0.14453125,
0.1650390625,
0.14453125,
0.1650390625,
0.1572265625,
0.1446533203125,
0.1572265625
],
[
0.080078125,
0.18310546875,
0.1192626953125,
0.18310546875,
0.1192626953125,
0.21337890625,
0.080078125,
0.21337890625
],
[
0.1568603515625,
0.1817626953125,
0.181396484375,
0.186279296875,
0.178955078125,
0.1932373046875,
0.1544189453125,
0.189453125
],
[
0.1422119140625,
0.1976318359375,
0.1568603515625,
0.1976318359375,
0.1568603515625,
0.2052001953125,
0.1422119140625,
0.2052001953125
],
[
0.1217041015625,
0.2197265625,
0.1805419921875,
0.2171630859375,
0.181396484375,
0.236083984375,
0.12335205078125,
0.238037109375
],
[
0.404296875,
0.236083984375,
0.41259765625,
0.236083984375,
0.41259765625,
0.2392578125,
0.404296875,
0.2392578125
],
[
0.73779296875,
0.261474609375,
0.7548828125,
0.261474609375,
0.7548828125,
0.264404296875,
0.73779296875,
0.264404296875
],
[
0.291748046875,
0.26953125,
0.33251953125,
0.26953125,
0.33251953125,
0.27978515625,
0.291748046875,
0.27978515625
],
[
0.6806640625,
0.268310546875,
0.7197265625,
0.268310546875,
0.7197265625,
0.279052734375,
0.6806640625,
0.279052734375
],
[
0.08087158203125,
0.3037109375,
0.890625,
0.3037109375,
0.890625,
0.318115234375,
0.08087158203125,
0.318115234375
],
[
0.080078125,
0.318115234375,
0.890625,
0.3193359375,
0.890625,
0.333984375,
0.080078125,
0.333251953125
],
[
0.08087158203125,
0.333984375,
0.890625,
0.333984375,
0.890625,
0.347900390625,
0.08087158203125,
0.347900390625
],
[
0.080078125,
0.348388671875,
0.89208984375,
0.35107421875,
0.89208984375,
0.3642578125,
0.080078125,
0.3623046875
],
[
0.080078125,
0.365478515625,
0.583984375,
0.365478515625,
0.583984375,
0.37890625,
0.080078125,
0.37890625
],
[
0.08251953125,
0.40771484375,
0.46728515625,
0.40771484375,
0.46728515625,
0.421630859375,
0.08251953125,
0.421630859375
],
[
0.5048828125,
0.40771484375,
0.8896484375,
0.40771484375,
0.8896484375,
0.421630859375,
0.5048828125,
0.421630859375
],
[
0.080078125,
0.42236328125,
0.46728515625,
0.42236328125,
0.46728515625,
0.436279296875,
0.080078125,
0.436279296875
],
[
0.5048828125,
0.42236328125,
0.890625,
0.42236328125,
0.890625,
0.436279296875,
0.5048828125,
0.436279296875
],
[
0.08087158203125,
0.438232421875,
0.468017578125,
0.438232421875,
0.468017578125,
0.451904296875,
0.08087158203125,
0.451904296875
],
[
0.50341796875,
0.4375,
0.89208984375,
0.4375,
0.89208984375,
0.451904296875,
0.50341796875,
0.451904296875
],
[
0.08251953125,
0.45263671875,
0.46728515625,
0.45263671875,
0.46728515625,
0.466552734375,
0.08251953125,
0.466552734375
],
[
0.50244140625,
0.45263671875,
0.890625,
0.45263671875,
0.890625,
0.466552734375,
0.50244140625,
0.466552734375
],
[
0.08087158203125,
0.46728515625,
0.468017578125,
0.46728515625,
0.468017578125,
0.48095703125,
0.08087158203125,
0.48095703125
],
[
0.50341796875,
0.4697265625,
0.529296875,
0.4697265625,
0.529296875,
0.48095703125,
0.50341796875,
0.48095703125
],
[
0.08251953125,
0.48291015625,
0.46728515625,
0.48291015625,
0.46728515625,
0.496826171875,
0.08251953125,
0.496826171875
],
[
0.08087158203125,
0.496826171875,
0.4697265625,
0.49755859375,
0.4697265625,
0.51220703125,
0.08087158203125,
0.51123046875
],
[
0.50341796875,
0.4912109375,
0.890625,
0.4912109375,
0.890625,
0.505859375,
0.50341796875,
0.505859375
],
[
0.080078125,
0.51318359375,
0.46728515625,
0.51318359375,
0.46728515625,
0.52783203125,
0.080078125,
0.52783203125
],
[
0.5048828125,
0.51513671875,
0.890625,
0.51513671875,
0.890625,
0.52880859375,
0.5048828125,
0.52880859375
],
[
0.08087158203125,
0.52783203125,
0.46728515625,
0.52783203125,
0.46728515625,
0.54150390625,
0.08087158203125,
0.54150390625
],
[
0.50244140625,
0.52978515625,
0.890625,
0.52978515625,
0.890625,
0.54443359375,
0.50244140625,
0.54443359375
],
[
0.08251953125,
0.54345703125,
0.468017578125,
0.54345703125,
0.468017578125,
0.556640625,
0.08251953125,
0.556640625
],
[
0.5048828125,
0.54443359375,
0.890625,
0.54443359375,
0.890625,
0.5595703125,
0.5048828125,
0.5595703125
],
[
0.08416748046875,
0.56005859375,
0.46728515625,
0.56005859375,
0.46728515625,
0.57080078125,
0.08416748046875,
0.57080078125
],
[
0.50341796875,
0.56005859375,
0.890625,
0.56005859375,
0.890625,
0.57373046875,
0.50341796875,
0.57373046875
],
[
0.08087158203125,
0.57373046875,
0.468017578125,
0.57373046875,
0.468017578125,
0.5869140625,
0.08087158203125,
0.5869140625
],
[
0.50341796875,
0.57568359375,
0.890625,
0.57568359375,
0.890625,
0.5888671875,
0.50341796875,
0.5888671875
],
[
0.08251953125,
0.5888671875,
0.471435546875,
0.5888671875,
0.471435546875,
0.60302734375,
0.08251953125,
0.60302734375
],
[
0.5048828125,
0.59228515625,
0.88818359375,
0.59228515625,
0.88818359375,
0.60302734375,
0.5048828125,
0.60302734375
],
[
0.07843017578125,
0.60302734375,
0.2998046875,
0.60498046875,
0.2998046875,
0.61865234375,
0.07843017578125,
0.6162109375
],
[
0.50341796875,
0.60400390625,
0.890625,
0.60498046875,
0.890625,
0.619140625,
0.50341796875,
0.61865234375
],
[
0.5048828125,
0.62060546875,
0.890625,
0.62060546875,
0.890625,
0.6337890625,
0.5048828125,
0.6337890625
],
[
0.0849609375,
0.630859375,
0.1748046875,
0.63330078125,
0.1748046875,
0.646484375,
0.0849609375,
0.64453125
],
[
0.205078125,
0.6318359375,
0.46728515625,
0.6318359375,
0.46728515625,
0.64599609375,
0.205078125,
0.64599609375
],
[
0.5048828125,
0.63525390625,
0.8896484375,
0.63525390625,
0.8896484375,
0.6484375,
0.5048828125,
0.6484375
],
[
0.08087158203125,
0.646484375,
0.468017578125,
0.646484375,
0.468017578125,
0.6611328125,
0.08087158203125,
0.6611328125
],
[
0.50341796875,
0.65087890625,
0.8896484375,
0.6494140625,
0.8896484375,
0.6640625,
0.50341796875,
0.66552734375
],
[
0.080078125,
0.6611328125,
0.46728515625,
0.66015625,
0.46728515625,
0.6748046875,
0.080078125,
0.67529296875
],
[
0.50341796875,
0.6640625,
0.8896484375,
0.6640625,
0.8896484375,
0.6787109375,
0.50341796875,
0.6787109375
],
[
0.08087158203125,
0.6767578125,
0.468017578125,
0.6767578125,
0.468017578125,
0.68994140625,
0.08087158203125,
0.68994140625
],
[
0.50244140625,
0.6796875,
0.890625,
0.6796875,
0.890625,
0.6943359375,
0.50244140625,
0.6943359375
],
[
0.08087158203125,
0.6923828125,
0.46728515625,
0.6923828125,
0.46728515625,
0.70556640625,
0.08087158203125,
0.70556640625
],
[
0.50244140625,
0.6943359375,
0.8896484375,
0.69580078125,
0.8896484375,
0.71044921875,
0.50244140625,
0.708984375
],
[
0.08087158203125,
0.70849609375,
0.468017578125,
0.70849609375,
0.468017578125,
0.7216796875,
0.08087158203125,
0.7216796875
],
[
0.5048828125,
0.7109375,
0.890625,
0.7109375,
0.890625,
0.724609375,
0.5048828125,
0.724609375
],
[
0.08087158203125,
0.7236328125,
0.10540771484375,
0.7236328125,
0.10540771484375,
0.736328125,
0.08087158203125,
0.736328125
],
[
0.5048828125,
0.7265625,
0.890625,
0.7265625,
0.890625,
0.74072265625,
0.5048828125,
0.74072265625
],
[
0.08660888671875,
0.75048828125,
0.46728515625,
0.75048828125,
0.46728515625,
0.7646484375,
0.08660888671875,
0.7646484375
],
[
0.515625,
0.755859375,
0.57861328125,
0.755859375,
0.57861328125,
0.767578125,
0.515625,
0.767578125
],
[
0.60546875,
0.75048828125,
0.88818359375,
0.75,
0.88818359375,
0.76123046875,
0.60546875,
0.76220703125
],
[
0.5849609375,
0.76123046875,
0.640625,
0.76123046875,
0.640625,
0.771484375,
0.5849609375,
0.771484375
],
[
0.6357421875,
0.76025390625,
0.88232421875,
0.76025390625,
0.88232421875,
0.7734375,
0.6357421875,
0.7734375
],
[
0.08087158203125,
0.767578125,
0.13232421875,
0.767578125,
0.13232421875,
0.77783203125,
0.08087158203125,
0.77783203125
],
[
0.1380615234375,
0.76513671875,
0.46728515625,
0.76513671875,
0.46728515625,
0.77880859375,
0.1380615234375,
0.77880859375
],
[
0.5087890625,
0.771484375,
0.640625,
0.771484375,
0.640625,
0.78515625,
0.5087890625,
0.78515625
],
[
0.69140625,
0.77099609375,
0.70361328125,
0.77587890625,
0.69677734375,
0.78515625,
0.6845703125,
0.77978515625
],
[
0.8037109375,
0.7734375,
0.81640625,
0.77099609375,
0.8203125,
0.77978515625,
0.80810546875,
0.78271484375
],
[
0.08087158203125,
0.7822265625,
0.468017578125,
0.7822265625,
0.468017578125,
0.79541015625,
0.08087158203125,
0.79541015625
],
[
0.5087890625,
0.7822265625,
0.63232421875,
0.78271484375,
0.63232421875,
0.79736328125,
0.5087890625,
0.796875
],
[
0.8349609375,
0.7841796875,
0.84619140625,
0.7861328125,
0.84228515625,
0.796875,
0.8310546875,
0.79345703125
],
[
0.08087158203125,
0.79443359375,
0.46728515625,
0.79541015625,
0.46728515625,
0.81005859375,
0.08087158203125,
0.8095703125
],
[
0.51123046875,
0.796875,
0.62744140625,
0.796875,
0.62744140625,
0.806640625,
0.51123046875,
0.806640625
],
[
0.75732421875,
0.79443359375,
0.77294921875,
0.79443359375,
0.77294921875,
0.8173828125,
0.75732421875,
0.8173828125
],
[
0.08251953125,
0.81103515625,
0.46728515625,
0.81103515625,
0.46728515625,
0.82470703125,
0.08251953125,
0.82470703125
],
[
0.5107421875,
0.80810546875,
0.56884765625,
0.80810546875,
0.56884765625,
0.818359375,
0.5107421875,
0.818359375
],
[
0.08087158203125,
0.82568359375,
0.468017578125,
0.82568359375,
0.468017578125,
0.8388671875,
0.08087158203125,
0.8388671875
],
[
0.08251953125,
0.84130859375,
0.465576171875,
0.84130859375,
0.465576171875,
0.85498046875,
0.08251953125,
0.85498046875
],
[
0.50341796875,
0.8359375,
0.890625,
0.8359375,
0.890625,
0.849609375,
0.50341796875,
0.849609375
],
[
0.50244140625,
0.8515625,
0.74609375,
0.8515625,
0.74609375,
0.86572265625,
0.50244140625,
0.86572265625
],
[
0.74267578125,
0.85595703125,
0.7490234375,
0.85595703125,
0.7490234375,
0.85986328125,
0.74267578125,
0.85986328125
],
[
0.74658203125,
0.85107421875,
0.890625,
0.8515625,
0.890625,
0.86572265625,
0.74658203125,
0.8642578125
],
[
0.50244140625,
0.8671875,
0.890625,
0.8671875,
0.890625,
0.8818359375,
0.50244140625,
0.8818359375
],
[
0.08251953125,
0.85693359375,
0.46728515625,
0.85693359375,
0.46728515625,
0.87060546875,
0.08251953125,
0.87060546875
],
[
0.08251953125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08251953125,
0.88525390625
],
[
0.08087158203125,
0.88720703125,
0.420654296875,
0.88720703125,
0.420654296875,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.4248046875,
0.88818359375,
0.46728515625,
0.88818359375,
0.46728515625,
0.8994140625,
0.4248046875,
0.8994140625
],
[
0.50341796875,
0.8837890625,
0.64892578125,
0.8837890625,
0.64892578125,
0.89453125,
0.50341796875,
0.89453125
],
[
0.48193359375,
0.92236328125,
0.495849609375,
0.92822265625,
0.488525390625,
0.93798828125,
0.4755859375,
0.93310546875
]
] |
[
"Position",
"Position",
"Tumbling",
"Tumbling",
"Take-off",
"Take-off",
"Flight-position Flight-position",
"Twist",
"Stand",
"Query",
"Stand",
"Turn",
"Attribute hlegfeutraight",
"aa",
"Stretched",
"Salto forward",
" Salto backward",
" Inward",
"Piked",
"Free",
"Tucked",
"Forward",
"2.5 twist",
"2.5 somersault",
"orizo",
"",
"M",
"X",
"A",
"",
"",
"Clip @",
"美",
"I",
"",
"R",
"IONSHI",
"",
"",
"FineGym",
"Diving48",
"Figure 4:TQN attention alignment. For a given query, the TQN attends over the clip-level features to generate",
"the responses.We visualize the central frame from the clip with the highest attention score for six different query-",
"attributes from the FineGym [49 dataset. The same queries (but different attributes) are highlighted with a",
"common color.The TQN detects and aligns semantically relevant events under variations in appearance and pose",
"without any temporal localization supervision. More visualizations in",
"内存库[68,69]】来克服这些限制内存库缓存剪辑级",
"是突出的[2,18,67策略,用于扩展视频模型的时间",
"3DConvNet视觉特征。请注意,对于给定的视频,剪",
"支持。但是,所有这些工作都保留了frozen的功能,",
"辑功能=(Φ,Φ2,.,Φt),其中t是剪辑的总数,可",
"而我们continuouslyupdate是训练期间的内存库。在",
"以彼被此独立地提取。使用从预训练的3DConvNet中提",
"Section4.2中,我们演示了这些更新对于性能至关重",
"取的所有训练视频的剪辑功能初始化内存库(详细信",
"要。",
"息在Section2.4中)。然后在每次训练迭代中,通过可",
"视编码器转发固定数量的随机采样的连续剪辑nonline",
"2.3. Factorizing Categories into Attribute Queries",
"i.e.,nonline剪辑特征计算online。其余的(t一nonline)",
"在本节中,我们将说明如何将预定义的N类别",
"剪辑特征从内存库中检索。然后将两组视觉特征组合",
"C=c1,C2,...,CN}属性转换为。在这样的数据集",
"并输入到TQN解码器中进行最终预测和反向传播,以",
"中,类别在细微的细节上有所不同e.g:,特定类型,持",
"更新模型参数。最后,将内存库中与在线计算的剪辑",
"续时间或特定事件序列的计数。这些可能是快速发生",
"特征相对应的剪辑特征替换为在线特征。在推理过程",
"的(持续时间短)事件,其时间位置和持续时间未知",
"中,所有特征都是在没有内存库的情况下在线计算的。",
"请参阅Figure1)。类别C的文字描述是由与事件",
"Figure3直观地总结了该函数。",
"类型和属性(子标签类别)相对应的不同数量的子标",
"签(或从有限集中提取的令牌)组成的字符串。我们",
"Advantages.",
"使用固定数量的剪辑在线解耦视频长",
"利用此字符串结构来形成与子标签类别相对应的查询",
"度和GPU内存预算。结果,我们的内存库使得TQN",
"q1,每个查询都具有由子标签组成的关联属性集",
"解码器能够(i)E与视觉编码器一起训练,(i)E具有",
"A,因此类别C可以表示为属性集的笛卡尔积的子集",
"扩展的时间上下文,这两者都大大提高了性能(请参阅",
"C CAi×A2×..×Ak。Table1中给出了四个类别",
"Section4.2)。此外,它促进了每个小批量的多样性,",
"的示例标签分解,其中四个动作类别表示为分别包含",
"因为可以包含多个不同的视频,而不仅仅是一个长视",
"两个和三个属性的两个属性集的乘积。本文使用的评",
"频。",
"估数据集的分解细节在Section3和AppendixJ中给",
"Discussion: relations with prior memory bank meth-",
"Category↓",
"query-→qi:leapand jumptypeq2:numturns",
"attribute",
"e-→switchleapsplitjump0.51.0",
"ods.",
"特征存储库已用于单个图像的紧凑向量表示E",
"switch leap w/0.5 turn",
"T",
"",
"[56,68,69],而我们为每个视频存储不同数量的时间",
"switch leap w/ 1 turn",
"",
"向量。MoCo[23]和相关的自监督方法[61,72]使用",
"split jump w/I turn",
">",
"辅助网络更新内存库功能slowlye.g.,以防止表示崩",
"split jump",
"溃,而直接监督查询,我们可以立即从单个在线网络更",
"新功能。上述工作将内存库应用于从大型语料库中检",
"Table 1: Illustration of query-attribute factorization",
"of fine-grained action categories.",
"",
"Four categories are",
"factored into two queries qi, q2 with two and three at-",
"索图像/特征,用于对比训练中的硬底片,而我们使用",
"内存库扩展每个视频的时间上下文。使用预先计算的",
"特征[37,47,55] 或 Long-term Feature Banks",
"66]",
"tributes respectively",
"4"
] |
{
"arxiv_id": "2104.09496",
"language": "zh",
"page_idx": 3
}
|
||
2104.09496-zh-4
|
2104.09496-zh-4.jpg
|
<FigureHere>
$\begin{array}{c}\frac{5}{5}\\\frac{5}{5}\\\frac{5}{5}\\\frac{5}{3}\\\stackrel{7}{2}\end{array}$
Figure 5: TQN temporal attention. Blue colored maps visualize the attention averaged over all queries predicted by TQN for two clips from the Diving48 dataset [40]. The peaks in these maps correspond to temporal location of diving $i$flight’highlighted in orange .TQN rejects non-informative frames at the start and end of untrimmed videos to localize discriminative frames relevant for fne-grained recognition.
出。此分解将整体类别标签分解为其语义成分(查询和属性)。它通过跨公共子标签(而不是不相交的类别特定数据)共享视频数据来提高数据效率,并引人 TQN 风格的基于查询的时间定位和分类视频解析模型。
## $2. 4. \textbf{Implementation Details}$
我们在下面描述关键模型和训练细节,进一步的细节
在 Appendix D 。
Model architecture.
我们使用 S3D$\mathbb{E}[70]$作为视觉
骨干,对 8 帧的非重叠连续视频片段进行操作,每个视频片段的大小为 224$\times224$像素,具有一致的时间步长$s$ (FineGym 中$s=1$, Diving48中$s=2)$。解码器由四个标准的后归一化$\mathbb{E}[71]$ Transformer 解码器层$\boxed{\mathrm{E}}[59]$ 组成,每个层都有四个注意头,以及 1024-dim 键,(learnt-) 查询和值。辍学率为0。解码器中的 1 和0。5用于输出功能。
Training. 视觉编码器在 Kinetics-400 [30] 上进行了预训练。然后,我们通过两个阶段的课程进行。首先, 在包含少于$K$帧的 short 视频上训练模型 end-to-end (FineGym:$K=48$,Diving$48\colon K=128;$因为后者包含约。$3\times$更长的视频),这样它们就可以安装在两个 NvidiaRTX6000GPU 上,批量大小为 16。其次,使用随机更新的内存库(Section 2.2)在整个训练集上训练模型,以适应长视频。我们使用 Adam 优化器 [33] ,并在第一阶段训练 50 个历元,然后在第二阶段再训练 30 个历元。
中指定的两个设置下评估分类:(1)☑Gym99: 具有26k 训练/8 的 99 个类别的相对平衡数据。5k 测试视频;以及(2) Gym288: 采用 29k 训练的 288 个类别的长尾数据/9。6k 测试视频。视频长度有很大的变化: 最小:13 帧,最大:877 帧,平均:47 帧。
Diving48. Diving48包含来自 48 个班级的竞技潜水视频剪辑。它类似地通过具有共同的潜水设置来评估细粒度的视频识别,其中潜水序列的微妙细节定义了各种类别,而不是粗糙的物体或场景。我们使用包含16k 训练/2k 测试视频的标准分割。视频长度范围很广: 最小:24 帧,最大:822 帧,平均:158 帧。我们使用2020年 10 月发布的已清理标签 (表示为“v2”)。嘈杂版本 (Diving48-v1) 的结果可以在 Appendix H 中找到。
Diving48-v2 SotA comparison.
我们在 v2 标签上
$\bar{\text{训练了公开可用的 SotA 动作识别模型,即:(i)E}}$ TSM[E[43] , (ii) ETSNE[62] , (ii) ETRNms[E] ? ? ? , ( iv) EI。请注意,在使用 ResNet-50 主干的方法中,GST-50 是 Diving48-v1 上性能最高的方法(请参阅 Appendix H 中的 v1 比较)。原始数据集论文$\mathbb{E}$ [40]仅报告 TSN 和 C3D$\overline{\mathbb{E}}[27]$的结果;省略了 C3D (2013),因为它的性能优于最近的方法 e.g.,I3D 和S3D。我们无法针对 v1 报告的其他重要方法进行基准测试,即 Corr.1Net [60] 和 AttnLSTM [28],因为它们的实现不是公开的。Baseline methods.
由于我们使用 S3D$\underline{\mathrm{E}}[70]$作
为 TQN 的视觉骨干网,因此以下两种方法形成了基线:(i)$\operatorname{E}$短期 S3D(ST-S3D):遵循原始数据集论文$\mathbb{E}[40,49]$ ,它是在固定数量的单个剪辑上训练的(如果未指定,则为 8 个最终分类,则为多个预测的帧。(ii) 长期 S3D(LT-S3D=S3D+FeatureBank):在训练时间, 使用我们的 stochastically updated feature bank ,以便从整个视频中收集信息。具体来说,LT-S3D 在训练时复制 ST-S3D 的多剪辑评估设置,i.e. ,从跨越整个视频的多个剪辑获得的类概率被平均并用于预测和反向传播。注意在训练时 ST-S3D 错误地将其决策基于individual 剪辑,这些剪辑可能不包含与分类相关的信
3. Datasets, Baselines, Label Sets, and Met-
# rics
我们评估 TQN 在两个视频数据集上的细粒度动作识别,即 FineGym$\boxed{\mathrm{F}}[49]$和 Diving$48\boxed{\mathrm{F}}[40]$ 。我们介绍数据集,列出我们比较的基线方法,详细说明基于查询属性的标签集,并在下面说明评估措施。
FineGym. FineGym 是最近推出的用于精细动作理解的数据集 (2020),由具有细微运动细节的高清体育馆类组成。我们使用标准的 train/evalsplit 在数据集
5
|
[
[
0.1282958984375,
0.216552734375,
0.1405029296875,
0.216552734375,
0.1405029296875,
0.2203369140625,
0.1282958984375,
0.2203369140625
],
[
0.08087158203125,
0.242431640625,
0.343017578125,
0.242431640625,
0.343017578125,
0.255615234375,
0.08087158203125,
0.255615234375
],
[
0.34228515625,
0.242431640625,
0.8896484375,
0.242431640625,
0.8896484375,
0.2568359375,
0.34228515625,
0.2568359375
],
[
0.08087158203125,
0.25830078125,
0.88623046875,
0.25830078125,
0.88623046875,
0.271484375,
0.08087158203125,
0.271484375
],
[
0.08087158203125,
0.272705078125,
0.3447265625,
0.272705078125,
0.3447265625,
0.285888671875,
0.08087158203125,
0.285888671875
],
[
0.338134765625,
0.274658203125,
0.8896484375,
0.274658203125,
0.8896484375,
0.285400390625,
0.338134765625,
0.285400390625
],
[
0.08087158203125,
0.28857421875,
0.619140625,
0.28857421875,
0.619140625,
0.302978515625,
0.08087158203125,
0.302978515625
],
[
0.08416748046875,
0.3212890625,
0.46728515625,
0.3212890625,
0.46728515625,
0.33203125,
0.08416748046875,
0.33203125
],
[
0.50341796875,
0.3193359375,
0.88818359375,
0.3193359375,
0.88818359375,
0.333251953125,
0.50341796875,
0.333251953125
],
[
0.08251953125,
0.335205078125,
0.468017578125,
0.335205078125,
0.468017578125,
0.348388671875,
0.08251953125,
0.348388671875
],
[
0.50244140625,
0.335205078125,
0.88818359375,
0.335205078125,
0.88818359375,
0.348388671875,
0.50244140625,
0.348388671875
],
[
0.08251953125,
0.35107421875,
0.468017578125,
0.35107421875,
0.468017578125,
0.3642578125,
0.08251953125,
0.3642578125
],
[
0.50341796875,
0.349853515625,
0.8896484375,
0.348388671875,
0.8896484375,
0.363037109375,
0.50341796875,
0.3642578125
],
[
0.08087158203125,
0.3642578125,
0.431396484375,
0.365478515625,
0.431396484375,
0.37890625,
0.08087158203125,
0.37744140625
],
[
0.5048828125,
0.365478515625,
0.890625,
0.365478515625,
0.890625,
0.37890625,
0.5048828125,
0.37890625
],
[
0.5048828125,
0.380126953125,
0.81201171875,
0.380126953125,
0.81201171875,
0.39453125,
0.5048828125,
0.39453125
],
[
0.08087158203125,
0.389404296875,
0.29736328125,
0.389404296875,
0.29736328125,
0.40283203125,
0.08087158203125,
0.40283203125
],
[
0.5107421875,
0.404052734375,
0.58642578125,
0.404052734375,
0.58642578125,
0.415283203125,
0.5107421875,
0.415283203125
],
[
0.6044921875,
0.40283203125,
0.890625,
0.40283203125,
0.890625,
0.416748046875,
0.6044921875,
0.416748046875
],
[
0.08087158203125,
0.41357421875,
0.46728515625,
0.41357421875,
0.46728515625,
0.427978515625,
0.08087158203125,
0.427978515625
],
[
0.5048828125,
0.41845703125,
0.8896484375,
0.41845703125,
0.8896484375,
0.431884765625,
0.5048828125,
0.431884765625
],
[
0.08087158203125,
0.4287109375,
0.2091064453125,
0.4287109375,
0.2091064453125,
0.443115234375,
0.08087158203125,
0.443115234375
],
[
0.5048828125,
0.434326171875,
0.8896484375,
0.434326171875,
0.8896484375,
0.447509765625,
0.5048828125,
0.447509765625
],
[
0.0849609375,
0.45068359375,
0.233642578125,
0.45068359375,
0.233642578125,
0.464111328125,
0.0849609375,
0.464111328125
],
[
0.2548828125,
0.451904296875,
0.468017578125,
0.451904296875,
0.468017578125,
0.46533203125,
0.2548828125,
0.46533203125
],
[
0.50732421875,
0.45068359375,
0.8896484375,
0.45068359375,
0.8896484375,
0.4609375,
0.50732421875,
0.4609375
],
[
0.08251953125,
0.466552734375,
0.465576171875,
0.466552734375,
0.465576171875,
0.479736328125,
0.08251953125,
0.479736328125
],
[
0.50341796875,
0.462158203125,
0.890625,
0.46337890625,
0.890625,
0.477783203125,
0.50341796875,
0.4765625
],
[
0.08087158203125,
0.481689453125,
0.468017578125,
0.481689453125,
0.468017578125,
0.49560546875,
0.08087158203125,
0.49560546875
],
[
0.50634765625,
0.479736328125,
0.88818359375,
0.479736328125,
0.88818359375,
0.490478515625,
0.50634765625,
0.490478515625
],
[
0.08087158203125,
0.494384765625,
0.468017578125,
0.49560546875,
0.468017578125,
0.51025390625,
0.08087158203125,
0.5087890625
],
[
0.50341796875,
0.49365234375,
0.890625,
0.49365234375,
0.890625,
0.5068359375,
0.50341796875,
0.5068359375
],
[
0.08087158203125,
0.51123046875,
0.468017578125,
0.51123046875,
0.468017578125,
0.5244140625,
0.08087158203125,
0.5244140625
],
[
0.5048828125,
0.5087890625,
0.89208984375,
0.5087890625,
0.89208984375,
0.52294921875,
0.5048828125,
0.52294921875
],
[
0.08087158203125,
0.5263671875,
0.46728515625,
0.5263671875,
0.46728515625,
0.54052734375,
0.08087158203125,
0.54052734375
],
[
0.5048828125,
0.5244140625,
0.529296875,
0.5244140625,
0.529296875,
0.5361328125,
0.5048828125,
0.5361328125
],
[
0.08087158203125,
0.54248046875,
0.46728515625,
0.54248046875,
0.46728515625,
0.55615234375,
0.08087158203125,
0.55615234375
],
[
0.5087890625,
0.546875,
0.73779296875,
0.546875,
0.73779296875,
0.56103515625,
0.5087890625,
0.56103515625
],
[
0.7548828125,
0.54541015625,
0.890625,
0.546875,
0.890625,
0.56103515625,
0.7548828125,
0.56005859375
],
[
0.75341796875,
0.5517578125,
0.7607421875,
0.5517578125,
0.7607421875,
0.5546875,
0.75341796875,
0.5546875
],
[
0.08087158203125,
0.5595703125,
0.223876953125,
0.5595703125,
0.223876953125,
0.5693359375,
0.08087158203125,
0.5693359375
],
[
0.5048828125,
0.56103515625,
0.890625,
0.56103515625,
0.890625,
0.57568359375,
0.5048828125,
0.57568359375
],
[
0.08416748046875,
0.5771484375,
0.156005859375,
0.58056640625,
0.1544189453125,
0.59521484375,
0.08251953125,
0.59130859375
],
[
0.1829833984375,
0.57763671875,
0.465576171875,
0.57763671875,
0.465576171875,
0.59228515625,
0.1829833984375,
0.59228515625
],
[
0.5048828125,
0.5771484375,
0.890625,
0.5771484375,
0.890625,
0.59033203125,
0.5048828125,
0.59033203125
],
[
0.08251953125,
0.59521484375,
0.46728515625,
0.59521484375,
0.46728515625,
0.609375,
0.08251953125,
0.609375
],
[
0.50341796875,
0.59033203125,
0.890625,
0.59130859375,
0.890625,
0.60595703125,
0.50341796875,
0.60498046875
],
[
0.08087158203125,
0.60986328125,
0.46728515625,
0.60986328125,
0.46728515625,
0.62353515625,
0.08087158203125,
0.62353515625
],
[
0.50341796875,
0.60595703125,
0.890625,
0.60693359375,
0.890625,
0.62060546875,
0.50341796875,
0.619140625
],
[
0.08087158203125,
0.62548828125,
0.46728515625,
0.62548828125,
0.46728515625,
0.6396484375,
0.08087158203125,
0.6396484375
],
[
0.5048828125,
0.6220703125,
0.890625,
0.6220703125,
0.890625,
0.63623046875,
0.5048828125,
0.63623046875
],
[
0.08251953125,
0.6416015625,
0.468017578125,
0.6416015625,
0.468017578125,
0.65478515625,
0.08251953125,
0.65478515625
],
[
0.50634765625,
0.63720703125,
0.890625,
0.63720703125,
0.890625,
0.6513671875,
0.50634765625,
0.6513671875
],
[
0.08087158203125,
0.65380859375,
0.468017578125,
0.65478515625,
0.468017578125,
0.66943359375,
0.08087158203125,
0.66845703125
],
[
0.50341796875,
0.6513671875,
0.890625,
0.6513671875,
0.890625,
0.66650390625,
0.50341796875,
0.66650390625
],
[
0.08251953125,
0.67041015625,
0.46728515625,
0.67041015625,
0.46728515625,
0.6845703125,
0.08251953125,
0.6845703125
],
[
0.50341796875,
0.66650390625,
0.88818359375,
0.66748046875,
0.88818359375,
0.681640625,
0.50341796875,
0.68115234375
],
[
0.08251953125,
0.6875,
0.465576171875,
0.6875,
0.465576171875,
0.69775390625,
0.08251953125,
0.69775390625
],
[
0.5048828125,
0.68310546875,
0.890625,
0.68310546875,
0.890625,
0.6962890625,
0.5048828125,
0.6962890625
],
[
0.0931396484375,
0.70068359375,
0.46728515625,
0.70068359375,
0.46728515625,
0.71533203125,
0.0931396484375,
0.71533203125
],
[
0.5048828125,
0.69873046875,
0.65869140625,
0.69873046875,
0.65869140625,
0.7119140625,
0.5048828125,
0.7119140625
],
[
0.08905029296875,
0.70703125,
0.09722900390625,
0.70703125,
0.09722900390625,
0.7109375,
0.08905029296875,
0.7109375
],
[
0.080078125,
0.71533203125,
0.1829833984375,
0.71630859375,
0.1829833984375,
0.73095703125,
0.080078125,
0.72998046875
],
[
0.5107421875,
0.72021484375,
0.646484375,
0.72021484375,
0.646484375,
0.734375,
0.5107421875,
0.734375
],
[
0.6845703125,
0.72021484375,
0.89208984375,
0.72021484375,
0.89208984375,
0.734375,
0.6845703125,
0.734375
],
[
0.5048828125,
0.736328125,
0.890625,
0.736328125,
0.890625,
0.75,
0.5048828125,
0.75
],
[
0.080078125,
0.74560546875,
0.46728515625,
0.74560546875,
0.46728515625,
0.76025390625,
0.080078125,
0.76025390625
],
[
0.5048828125,
0.75048828125,
0.890625,
0.75048828125,
0.890625,
0.7646484375,
0.5048828125,
0.7646484375
],
[
0.108642578125,
0.76318359375,
0.1422119140625,
0.76318359375,
0.1422119140625,
0.77880859375,
0.108642578125,
0.77880859375
],
[
0.5048828125,
0.7666015625,
0.8896484375,
0.7666015625,
0.8896484375,
0.77978515625,
0.5048828125,
0.77978515625
],
[
0.08251953125,
0.78857421875,
0.468017578125,
0.78857421875,
0.468017578125,
0.8017578125,
0.08251953125,
0.8017578125
],
[
0.5048828125,
0.78271484375,
0.8896484375,
0.78271484375,
0.8896484375,
0.79345703125,
0.5048828125,
0.79345703125
],
[
0.5048828125,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.08251953125,
0.8037109375,
0.468017578125,
0.8037109375,
0.468017578125,
0.8173828125,
0.08251953125,
0.8173828125
],
[
0.5048828125,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.5048828125,
0.82470703125
],
[
0.08087158203125,
0.818359375,
0.468017578125,
0.818359375,
0.468017578125,
0.83203125,
0.08087158203125,
0.83203125
],
[
0.50341796875,
0.82470703125,
0.890625,
0.82568359375,
0.890625,
0.84033203125,
0.50341796875,
0.8388671875
],
[
0.08251953125,
0.833984375,
0.36279296875,
0.833984375,
0.36279296875,
0.84765625,
0.08251953125,
0.84765625
],
[
0.50634765625,
0.84130859375,
0.8896484375,
0.84130859375,
0.8896484375,
0.85498046875,
0.50634765625,
0.85498046875
],
[
0.08660888671875,
0.85693359375,
0.158447265625,
0.85791015625,
0.158447265625,
0.869140625,
0.08660888671875,
0.86865234375
],
[
0.1854248046875,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.1854248046875,
0.87060546875
],
[
0.50634765625,
0.85791015625,
0.8896484375,
0.85791015625,
0.8896484375,
0.86865234375,
0.50634765625,
0.86865234375
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.50341796875,
0.8720703125,
0.88818359375,
0.87060546875,
0.88818359375,
0.88525390625,
0.50341796875,
0.88623046875
],
[
0.08251953125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08251953125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.47802734375,
0.923828125,
0.494384765625,
0.923828125,
0.494384765625,
0.93798828125,
0.47802734375,
0.93798828125
]
] |
[
"",
"Figure 5: TQN temporal attention.",
"Blue colored maps visualize the attention averaged over all queries predicted",
"by TQN for two clips from the Diving48 dataset [40l . The peaks in these maps correspond to temporal locatior",
"of diving ‘flight' highlighted in orang",
"ge.TQNrejectsnon-informativeframesatthestartandendofuntrimmed",
"videos to localize discriminative frames relevant for fine-grained recognition",
"出。此分解将整体类别标签分解为其语义成分(查询和",
"中指定的两个设置下评估分类:(1)EGym99:具有",
"属性)。它通过跨公共子标签(而不是不相交的类别特",
"26k训练/8的99个类别的相对平衡数据。5k测试视",
"定数据)共享视频数据来提高数据效率,并引入TQN",
"频;以及(2)Gym288:采用29k训练的288个类别",
"风格的基于查询的时间定位和分类视频解析模型。",
"的长尾数据/9。6k测试视频。视频长度有很大的变化:",
"最小:13顿,最大:877顿,平均:47顿。",
"2.4.Implementation Details",
"Diving48.",
"Diving48包含来自48个班级的竞技潜",
"我们在下面描述关键模型和训练细节,进一步的细节",
"水视频剪辑。它类似地通过具有共同的潜水设置来评",
"在AppendixD",
"估细粒度的视频识别,其中潜水序列的微妙细节定义",
"Model architecture.",
"我们使用S3DE[70]作为视觉",
"了各种类别,而不是粗糙的物体或场景。我们使用包含",
"骨干,对8顿的非重叠连续视频片段进行操作,每个",
"16k训练/2k测试视频的标准分割。视频长度范围很广",
"视频片段的大小为224×224像素,具有一致的时间",
"最小:24顿,最大:822顿,平均:158顿。我们使用",
"步长s(FineGym中s=1,Diving48中s=2)。解",
"2020年10月发布的已清理标签(表示为“v2”)。噜杂",
"码器由四个标准的后归一化E[71]Transformer解码器",
"版本(Diving48-vl)的结果可以在AppendixH中找",
"层E[59]组成,每个层都有四个注意头,以及1024-dim",
"到。",
"键,(learnt-)查询和值。学率为0。解码器中的1和",
"Diving48-v2 SotA comparison.",
"我们在v2标签上",
"",
"0。5用于输出功能。",
"训练了公开可用的SotA动作识别模型,即:(i)E",
"Training.",
"视觉编码器在Kinetics-400[30]上进行",
"TSME[43],(ii)ETSNE[62],(ii)ETRNmsE",
"了预训练。然后,我们通过两个阶段的课程进行。首先,",
"???,(iv)EI。请注意,在使用ResNet-50主千的方法",
"在包含少于K顿的short视频上训练模型end-to-end",
"中,GST-50是Diving48-v1上性能最高的方法(请参",
"(FineGym:K=48,Diving48:K=128;因为后者",
"阅AppendixH中的vl比较)。原始数据集论文E",
"包含约。3×更长的视频),这样它们就可以安装在两",
"[40]仅报告TSN和C3DE[27]的结果;省略了C3D",
"个NvidiaRTX6000GPU上,批量大小为16。其次,使",
"(2013),因为它的性能优于最近的方法e.g:,I3D和",
"用随机更新的内存库(Section2.2)在整个训练集上训",
"S3D。我们无法针对v1报告的其他重要方法进行基准",
"练模型,以适应长视频。我们使用Adam优化器33",
"测试,即Corr.1Net「60]和AttnLSTM「28],因为它",
"并在第一阶段训练50个历元,然后在第二阶段再训",
"们的实现不是公开的。",
"",
"练30个历元。",
"Baseline methods.",
"由于我们使用S3DE[70]作",
"为TQN的视觉骨干网,因此以下两种方法形成了基",
"3. Datasets, Baselines, Label Sets, and Met-",
"线:(i)E短期S3D(ST-S3D):遵循原始数据集论",
"rics",
"文E[40,49],它是在固定数量的单个剪辑上训练的",
"我们评估TQN在两个视频数据集上的细粒度动作识",
"(如果未指定,则为8个最终分类,则为多个预测的顿。",
"(i)长期S3D(LT-S3D=S3D+FeatureBank):在训练时",
"别,即FineGymE[49]和Diving48E[40]。我们介绍",
"使用我们的stochasticallyupdatedfeaturebank,以",
"数据集,列出我们比较的基线方法,详细说明基于查询",
"便从整个视频中收集信息。具体来说,LT-S3D在训练",
"属性的标签集,并在下面说明评估措施",
"时复制ST-S3D的多剪辑评估设置,i.e.,从跨越整个",
"FineGym.",
"FineGym是最近推出的用于精细动作",
"视频的多个剪辑获得的类概率被平均并用于预测和反",
"理解的数据集(2020),由具有细微运动细节的高清体",
"向传播。注意在训练时ST-S3D错误地将其决策基于",
"育馆类组成。我们使用标准的train/evalsplit在数据集",
"individual剪辑,这些剪辑可能不包含与分类相关的信",
"5"
] |
{
"arxiv_id": "2104.09496",
"language": "zh",
"page_idx": 4
}
|
||
1110.4672-zh-0
|
1110.4672-zh-0.jpg
|
/burl@stx null def /BU.S /burl@stx null def def /BU.SS currentpoint /burl@lly exch def /burl@llx exch def b
# 进行简单虚拟机管理程序的验证
Mike Dahlin, Ryan Johnson, Robert Bellarmine Krug, Michael McCoyd, William Young
$\mathop{\mathrm{Department~of~Computer~Sciences}}$
University of Texas at Austin
$\{$dahlin, rjohnson, rkrug, mccoyd, byoung $\}$ @cs.utexas.edu
Virtualization promises significant benefits in security, efficiency, dependability, and cost. Achieving these benefits depends upon the reliability of the underlying virtual machine monitors (hypervisors). This paper describes an ongoing project to develop and verify MinVisor, a simple but functional Type-I x86 hypervisor, proving protection properties at the assembly level using ACL2. Originally based on an existing research hypervisor, MinVisor provides protection of its own memory from a malicious guest. Our long-term goal is to fully verify MinVisor, providing a vehicle to investigate the modeling and verification of hypervisors at the implementation level, and also a basis for further systems research. Functional segments of the MinVisor C code base are translated into Y86 assembly, and verified with respect to the Y86 model. The inductive assertions (also known as“compositional cutpoints”) methodology is used to prove the correctness of the code. The proof of the code that sets up the nested page tables is described. We compare this project to related efforts in systems code verification and outline some useful steps forward.
# 1 $\textbf{Introduction}$
平台虚拟化是指在计算机系统和利用它们的操作系统之间提供抽象层的技术。它已经存在多年, 并以各种形式出现,但最近已成为对商业和政府计算系统具有巨大潜在影响的关键技术。。平台虚拟化可在安全性、效率、可靠性和成本方面带来显著优势[?] 。实现这些优势取决于提供这些优势的虚拟机监视器(虚拟机管理程序)的可靠性
我们认为,为像虚拟机管理程序一样复杂的系统的属性提供高度保证需要严格的形式分析, 从顶部的所需安全属性延伸到底部的物理硬件和实现代码。该项目旨在开发一个简单但有用的虚拟机管理程序,并通过使用 ACL2 [?]验证虚拟机管理程序的实现,为其属性提供非常高的保证
就本文而言,虚拟机管理程序(也称为虚拟机监视器(VMM))是一种软件系统,可虚拟化主机计算机的某些系统资源,并使其可供一个或多个来宾使用。虚拟机管理程序提供一系列功能[?]和多种保证。我们之所以选择验证虚拟机管理程序,是因为虚拟机管理程序对商业和政府系统的影响越来越大。但是,现有的商品虚拟机管理程序具有庞大,复杂且不断变化的代码库,并且似乎超出了当前建模和验证技术的范围。相反,我们专注于一个小型研究虚拟机管理程序的验证,我们可以设想用项目可用的有限资源来解决这个问题,希望开发的工具和技术可以扩展到更大的系统软件验证工作
尽管我们名为 MinVisor 的目标虚拟机管理程序仅运行一个来宾,但其功能提供了典型虚拟机管理程序的一些最低要求,并提供了 CMU 的 SecVisor$[\mathbb{E}[?]$的一些保证,这是一个简单的研究虚拟机管理程序,我们将其用作初始起点。因此,MinVisor 提供了一个简化但有用的平台, 可以在该平台上进行我们的初步验证工作
本文报告了 MinVisor 的开发及其建模和验证的进展。虽然很早,但该项目在使用正式验证
开发具有很高保证的简单虚拟机管理程序方面取得了一些重大成功
Submitted to:
$\odot$M. Dahlin, R. Johnson, R.B. Krug, M. McCoyd, W. Young
ACL2 2011
|
[
[
0.11767578125,
0.0802001953125,
0.99609375,
0.07891845703125,
0.99609375,
0.09344482421875,
0.11767578125,
0.0947265625
],
[
0.3056640625,
0.111083984375,
0.69677734375,
0.111083984375,
0.69677734375,
0.1287841796875,
0.3056640625,
0.1287841796875
],
[
0.1356201171875,
0.1578369140625,
0.87841796875,
0.160400390625,
0.87841796875,
0.177978515625,
0.1356201171875,
0.175537109375
],
[
0.393798828125,
0.179931640625,
0.62109375,
0.179931640625,
0.62109375,
0.1944580078125,
0.393798828125,
0.1944580078125
],
[
0.41015625,
0.1925048828125,
0.60888671875,
0.1925048828125,
0.60888671875,
0.205810546875,
0.41015625,
0.205810546875
],
[
0.289306640625,
0.208984375,
0.73388671875,
0.208984375,
0.73388671875,
0.222900390625,
0.289306640625,
0.222900390625
],
[
0.1748046875,
0.2568359375,
0.82275390625,
0.2568359375,
0.82275390625,
0.271484375,
0.1748046875,
0.271484375
],
[
0.1732177734375,
0.271484375,
0.82177734375,
0.271484375,
0.82177734375,
0.285888671875,
0.1732177734375,
0.285888671875
],
[
0.17236328125,
0.287353515625,
0.826171875,
0.287353515625,
0.826171875,
0.3017578125,
0.17236328125,
0.3017578125
],
[
0.17236328125,
0.3017578125,
0.82421875,
0.3017578125,
0.82421875,
0.31494140625,
0.17236328125,
0.31494140625
],
[
0.17236328125,
0.31640625,
0.826171875,
0.317626953125,
0.826171875,
0.33203125,
0.17236328125,
0.330810546875
],
[
0.1732177734375,
0.333251953125,
0.82275390625,
0.333251953125,
0.82275390625,
0.3466796875,
0.1732177734375,
0.3466796875
],
[
0.17236328125,
0.347900390625,
0.826171875,
0.347900390625,
0.826171875,
0.3623046875,
0.17236328125,
0.3623046875
],
[
0.1732177734375,
0.363037109375,
0.826171875,
0.363037109375,
0.826171875,
0.376953125,
0.1732177734375,
0.376953125
],
[
0.17236328125,
0.37744140625,
0.826171875,
0.37744140625,
0.826171875,
0.391357421875,
0.17236328125,
0.391357421875
],
[
0.1707763671875,
0.392578125,
0.82421875,
0.392578125,
0.82421875,
0.406005859375,
0.1707763671875,
0.406005859375
],
[
0.1732177734375,
0.4091796875,
0.82666015625,
0.4091796875,
0.82666015625,
0.42236328125,
0.1732177734375,
0.42236328125
],
[
0.17236328125,
0.423583984375,
0.82421875,
0.423583984375,
0.82421875,
0.438232421875,
0.17236328125,
0.438232421875
],
[
0.17236328125,
0.438232421875,
0.53173828125,
0.4375,
0.53173828125,
0.451904296875,
0.17236328125,
0.45263671875
],
[
0.12744140625,
0.484130859375,
0.318603515625,
0.484130859375,
0.318603515625,
0.498779296875,
0.12744140625,
0.498779296875
],
[
0.12744140625,
0.5166015625,
0.87109375,
0.517578125,
0.87109375,
0.5322265625,
0.12744140625,
0.53076171875
],
[
0.1298828125,
0.53515625,
0.869140625,
0.53515625,
0.869140625,
0.548828125,
0.1298828125,
0.548828125
],
[
0.1282958984375,
0.5517578125,
0.869140625,
0.55029296875,
0.869140625,
0.56494140625,
0.1282958984375,
0.56640625
],
[
0.1282958984375,
0.5673828125,
0.5390625,
0.568359375,
0.5390625,
0.58349609375,
0.1282958984375,
0.58203125
],
[
0.156005859375,
0.58544921875,
0.869140625,
0.5859375,
0.869140625,
0.60107421875,
0.156005859375,
0.599609375
],
[
0.1298828125,
0.60400390625,
0.869140625,
0.60400390625,
0.869140625,
0.6171875,
0.1298828125,
0.6171875
],
[
0.1298828125,
0.619140625,
0.869140625,
0.62060546875,
0.869140625,
0.63525390625,
0.1298828125,
0.6337890625
],
[
0.1282958984375,
0.63720703125,
0.1666259765625,
0.63720703125,
0.1666259765625,
0.65283203125,
0.1282958984375,
0.65283203125
],
[
0.156005859375,
0.65478515625,
0.87109375,
0.65576171875,
0.87109375,
0.67041015625,
0.156005859375,
0.66943359375
],
[
0.1282958984375,
0.671875,
0.87109375,
0.67236328125,
0.87109375,
0.6875,
0.1282958984375,
0.68603515625
],
[
0.1298828125,
0.68994140625,
0.87109375,
0.68994140625,
0.87109375,
0.7041015625,
0.1298828125,
0.7041015625
],
[
0.1298828125,
0.70703125,
0.869140625,
0.70703125,
0.869140625,
0.72021484375,
0.1298828125,
0.72021484375
],
[
0.1298828125,
0.724609375,
0.869140625,
0.724609375,
0.869140625,
0.73779296875,
0.1298828125,
0.73779296875
],
[
0.1298828125,
0.7412109375,
0.869140625,
0.7412109375,
0.869140625,
0.7548828125,
0.1298828125,
0.7548828125
],
[
0.131591796875,
0.7587890625,
0.39794921875,
0.7587890625,
0.39794921875,
0.77294921875,
0.131591796875,
0.77294921875
],
[
0.1568603515625,
0.77587890625,
0.87109375,
0.77587890625,
0.87109375,
0.79052734375,
0.1568603515625,
0.79052734375
],
[
0.1298828125,
0.79345703125,
0.87109375,
0.79345703125,
0.87109375,
0.806640625,
0.1298828125,
0.806640625
],
[
0.1298828125,
0.81103515625,
0.87158203125,
0.81103515625,
0.87158203125,
0.82470703125,
0.1298828125,
0.82470703125
],
[
0.1298828125,
0.82763671875,
0.449462890625,
0.82763671875,
0.449462890625,
0.84130859375,
0.1298828125,
0.84130859375
],
[
0.158447265625,
0.84521484375,
0.869140625,
0.84521484375,
0.869140625,
0.859375,
0.158447265625,
0.859375
],
[
0.1282958984375,
0.86279296875,
0.646484375,
0.86279296875,
0.646484375,
0.876953125,
0.1282958984375,
0.876953125
],
[
0.1258544921875,
0.8994140625,
0.2197265625,
0.9013671875,
0.2197265625,
0.91650390625,
0.1258544921875,
0.9140625
],
[
0.455810546875,
0.90771484375,
0.865234375,
0.9091796875,
0.865234375,
0.923828125,
0.455810546875,
0.92236328125
],
[
0.1298828125,
0.91748046875,
0.200927734375,
0.91748046875,
0.200927734375,
0.9287109375,
0.1298828125,
0.9287109375
]
] |
[
"/burl@stx null def /BU.S/burl@stx null def def /BU.SS currentpoint /burl@lly exch def /burl@llx exch def b",
"进行简单虚拟机管理程序的验证",
"Mike Dahlin, Ryan Johnson, Robert Bellarmine Krug, Michael McCoyd, William Young",
"Department of Computer Sciences",
"University of Texas at Austin",
"( dahlin, rjohnson, rkrug, mccoyd, byoung @cs.utexas.edu",
"Virtualization promises significant benefits in security, efficiency, dependability, and cost",
"Achieving these benefits depends upon the reliability of the underlying virtual machine mon",
"itors (hypervisors). This paper describes an ongoing project to develop and verify MinVisor,",
"a simple but functional Type-I x86 hypervisor, proving protection properties at the assembly",
"level using ACL2. Originally based on an existing research hypervisor, MinVisor provides",
"protection of its own memory from a malicious guest. Our long-term goal is to fully verify",
"MinVisor, providing a vehicle to investigate the modeling and verification of hypervisors at",
"the implementation level, and also a basis for further systems research. Functional segments",
"of the MinVisor C code base are translated into Y86 assembly, and verified with respect to",
"the Y86 model. The inductive assertions (also known as “compositional cutpoints\") method",
"ology is used to prove the correctness of the code. The proof of the code that sets up the",
"nested page tables is described. We compare this project to related efforts in systems code",
"verification and outline some useful steps forward.",
"1 Introduction",
"平台虚拟化是指在计算机系统和利用它们的操作系统之间提供抽象层的技术。它已经存在多年,",
"并以各种形式出现,但最近已成为对商业和政府计算系统具有巨大潜在影响的关键技术。。平台",
"虚拟化可在安全性、效率、可靠性和成本方面带来显著优势[?]。实现这些优势取决于提供这",
"些优势的虚拟机监视器(虚拟机管理程序)的可靠性",
"我们认为,为像虚拟机管理程序一样复杂的系统的属性提供高度保证需要严格的形式分析",
"从顶部的所需安全属性延伸到底部的物理硬件和实现代码。该项目旨在开发一个简单但有用的",
"虚拟机管理程序,并通过使用ACL2[?]验证虚拟机管理程序的实现,为其属性提供非常高的",
"保证",
"就本文而言,虚拟机管理程序(也称为虚拟机监视器(VMM))是一种软件系统,可虚拟化",
"主机计算机的某些系统资源,并使其可供一个或多个来宾使用。虚拟机管理程序提供一系列功",
"能?和多种保证。我们之所以选择验证虚拟机管理程序,是因为虚拟机管理程序对商业和政",
"府系统的影响越来越大。但是,现有的商品虚拟机管理程序具有庞大,复杂且不断变化的代码",
"库,并且似乎超出了当前建模和验证技术的范围。相反,我们专注于一个小型研究虚拟机管理",
"程序的验证,我们可以设想用项目可用的有限资源来解决这个问题,希望开发的工具和技术可",
"以扩展到更大的系统软件验证工作",
"尽管我们名为MinVisor的目标虚拟机管理程序仅运行一个来宾,但其功能提供了典型虚拟",
"机管理程序的一些最低要求,并提供了CMU的SecVisorE[?l的一些保证,这是一个简单的研",
"究虚拟机管理程序,我们将其用作初始起点。因此,MinVisor提供了二个简化但有用的平台,",
"可以在该平台上进行我们的初步验证工作",
"本文报告了MinVisor的开发及其建模和验证的进展。虽然很早,但该项目在使用正式验证",
"开发具有很高保证的简单虚拟机管理程序方面取得了一些重大成功",
"Submitted to:",
" M. Dahlin, R. Johnson, R.B. Krug, M. McCoyd, W. Young",
"ACL2 2011"
] |
{
"arxiv_id": "1110.4672",
"language": "zh",
"page_idx": 0
}
|
||
1110.4672-zh-1
|
1110.4672-zh-1.jpg
|
Verification of a Simple Hypervison
2
在 2 节中,我们描述了项目的总体策略。3 节概述了我们正在构建的虚拟机管理程序工件。4 节描述了 Y86++ 模型,我们的证明是在该模型上构建的。在??节中,我们概述了我们的证明策略,并描述了特定关键 MinVisor 功能的证明。??节列出了一些相关的工作。最后,在 ?? 节中,我们概述了扩展此工作的计划。附录包含特定 MinVisor 函数的 C 源代码和 Y86++ 汇编级代码
# 2 High Level Strategy
该项目的总体目标是研究建模和验证简单虚拟机管理程序的技术。在一天结束时,我们希望证
明:
1. We can carry out the verification of a hypervisor at a very low level of abstraction to
provide high assurance of correctness.
2. The resulting verifed artifact is a credible piece of system software displaying useful hy-
pervisor functionality.
3. The tools and techniques we develop will scale to apply to more realistic and full featured
hypervisors.
复杂工件的建模和验证可能遵循自上而下的方法-采用域的抽象模型(在本例中为虚拟机管理程序)并将其细化为兼容的实现。或者,它可能遵循自下而上的方法-提取和证明实现级模块的属性,目的是将它们组合成完整工件的连贯验证模型。混合方法可能是最好的,以确保两者“在中间相遇”。”
到目前为止,我们主要是自下而上地工作,专注于开发验证组成 MinVisor 代码库的多行机器代码所需的技术。我们认为,定义一个合理的机器模型并构建库和基础架构以有效地证明重要的代码片段可能是我们最大的障碍。因此,下面对建模和验证的描述集中在低级。我们描述了设置 MinVisor 嵌套页表的代码的验证。此功能对于允许 MinVisor 保护自己免受恶意来宾的攻击至关重要,并且似乎代表了我们将遇到的代码复杂性。我们相信任何虚拟机管理程序都需要这个或非常相似的代码
我们的初始代码库是从 CMU 的 SecVisor 代码中提取的[?] 。但是,我们进行了各种简化, 以消除与我们关注的问题正交的功能,并简化我们的初始证明目标。例如,SecVisor 与其修改后的 Linux 来宾紧密耦合,使 Linux 成为可信计算基础的一部分。通过进行各种修改,我们能够消除这种依赖性,从而产生更简单的代码库进行验证和更广泛适用的虚拟机管理程序。MinVisor 像通过 BIOS 一样加载来宾,并通过嵌套分页保护虚拟机管理程序状态
保护核心系统和软件对于任何提出安全声明的系统都至关重要,并且是该项目的主要初始目标。但是,为了有用,虚拟机管理程序还必须向来宾提供合理的操作环境。我们当前的工作不执行任何类型的校正仿真,也不执行任何半虚拟化以提供备用资源访问。未修改的来宾可以自由运行,只要它只执行“安全”操作。危险操作被拦截和阻止,但 MinVisor 的操作在这样做时可能会被客人检测到。为物理机器提供合理透明和准确的模拟是未来的工作
# 3 MinVisor
MinVisor 的开发是为了检查保护虚拟机管理程序和机器免受恶意来宾攻击的证据,并作为进一步系统工作的基础。这是一个最小的 I 型/裸机虚拟机管理程序的 x86 利用 AMD 的硬件辅助 AMD-V 嵌套页表虚拟化。硬件 BIOS 使用标准 BIOS 预引导执行环境 (PXE) [?] 从网络加载 MinVisor。MinVisor 加载第一个硬盘驱动器扇区,就像通过 BIOS 一样,作为来宾。在QEMUx86 模拟器上,它运行一个真实的保护模式来宾,尝试在每个 2MiB 机器页面中探测内
|
[
[
0.1258544921875,
0.046722412109375,
0.1422119140625,
0.046722412109375,
0.1422119140625,
0.0625,
0.1258544921875,
0.0625
],
[
0.5986328125,
0.04736328125,
0.869140625,
0.04736328125,
0.869140625,
0.061248779296875,
0.5986328125,
0.061248779296875
],
[
0.1568603515625,
0.09344482421875,
0.87109375,
0.09344482421875,
0.87109375,
0.106689453125,
0.1568603515625,
0.106689453125
],
[
0.1282958984375,
0.10986328125,
0.87109375,
0.10986328125,
0.87109375,
0.12371826171875,
0.1282958984375,
0.12371826171875
],
[
0.1298828125,
0.126953125,
0.87109375,
0.126953125,
0.87109375,
0.141357421875,
0.1298828125,
0.141357421875
],
[
0.1298828125,
0.14453125,
0.87109375,
0.14453125,
0.87109375,
0.1578369140625,
0.1298828125,
0.1578369140625
],
[
0.1282958984375,
0.1610107421875,
0.200927734375,
0.1610107421875,
0.200927734375,
0.175537109375,
0.1282958984375,
0.175537109375
],
[
0.125,
0.199462890625,
0.404296875,
0.20263671875,
0.404296875,
0.2215576171875,
0.125,
0.2183837890625
],
[
0.1298828125,
0.23486328125,
0.87109375,
0.23486328125,
0.87109375,
0.248779296875,
0.1298828125,
0.248779296875
],
[
0.1298828125,
0.25244140625,
0.156005859375,
0.25244140625,
0.156005859375,
0.26513671875,
0.1298828125,
0.26513671875
],
[
0.148681640625,
0.27587890625,
0.869140625,
0.27587890625,
0.869140625,
0.2890625,
0.148681640625,
0.2890625
],
[
0.17236328125,
0.292236328125,
0.46728515625,
0.292236328125,
0.46728515625,
0.306884765625,
0.17236328125,
0.306884765625
],
[
0.148681640625,
0.31494140625,
0.86669921875,
0.31494140625,
0.86669921875,
0.330078125,
0.148681640625,
0.330078125
],
[
0.17236328125,
0.333251953125,
0.343017578125,
0.33203125,
0.343017578125,
0.3466796875,
0.17236328125,
0.347900390625
],
[
0.148681640625,
0.35595703125,
0.869140625,
0.35595703125,
0.869140625,
0.37060546875,
0.148681640625,
0.37060546875
],
[
0.1748046875,
0.375,
0.265625,
0.375,
0.265625,
0.386474609375,
0.1748046875,
0.386474609375
],
[
0.1568603515625,
0.395751953125,
0.869140625,
0.395751953125,
0.869140625,
0.4091796875,
0.1568603515625,
0.4091796875
],
[
0.1298828125,
0.412353515625,
0.869140625,
0.412353515625,
0.869140625,
0.425537109375,
0.1298828125,
0.425537109375
],
[
0.1298828125,
0.429931640625,
0.869140625,
0.429931640625,
0.869140625,
0.443115234375,
0.1298828125,
0.443115234375
],
[
0.12744140625,
0.44580078125,
0.253173828125,
0.4443359375,
0.253173828125,
0.458984375,
0.12744140625,
0.460205078125
],
[
0.1568603515625,
0.46337890625,
0.869140625,
0.46337890625,
0.869140625,
0.477783203125,
0.1568603515625,
0.477783203125
],
[
0.1298828125,
0.48095703125,
0.87109375,
0.48095703125,
0.87109375,
0.494384765625,
0.1298828125,
0.494384765625
],
[
0.1298828125,
0.49755859375,
0.87109375,
0.49755859375,
0.87109375,
0.51123046875,
0.1298828125,
0.51123046875
],
[
0.1298828125,
0.51318359375,
0.869140625,
0.5146484375,
0.869140625,
0.52880859375,
0.1298828125,
0.52783203125
],
[
0.1298828125,
0.5322265625,
0.87109375,
0.5322265625,
0.87109375,
0.54541015625,
0.1298828125,
0.54541015625
],
[
0.1298828125,
0.548828125,
0.325927734375,
0.548828125,
0.325927734375,
0.5625,
0.1298828125,
0.5625
],
[
0.156005859375,
0.56494140625,
0.87109375,
0.56640625,
0.87109375,
0.58056640625,
0.156005859375,
0.580078125
],
[
0.131591796875,
0.58349609375,
0.869140625,
0.58349609375,
0.869140625,
0.59765625,
0.131591796875,
0.59765625
],
[
0.1298828125,
0.60107421875,
0.869140625,
0.60107421875,
0.869140625,
0.6142578125,
0.1298828125,
0.6142578125
],
[
0.1282958984375,
0.6171875,
0.869140625,
0.6162109375,
0.869140625,
0.630859375,
0.1282958984375,
0.6318359375
],
[
0.1298828125,
0.63525390625,
0.455078125,
0.63525390625,
0.455078125,
0.6484375,
0.1298828125,
0.6484375
],
[
0.4599609375,
0.64013671875,
0.483642578125,
0.64013671875,
0.483642578125,
0.64453125,
0.4599609375,
0.64453125
],
[
0.515625,
0.63525390625,
0.68115234375,
0.63525390625,
0.68115234375,
0.6484375,
0.515625,
0.6484375
],
[
0.158447265625,
0.6513671875,
0.384033203125,
0.6513671875,
0.384033203125,
0.66552734375,
0.158447265625,
0.66552734375
],
[
0.471435546875,
0.6572265625,
0.488525390625,
0.6572265625,
0.488525390625,
0.66015625,
0.471435546875,
0.66015625
],
[
0.5146484375,
0.65380859375,
0.86767578125,
0.65380859375,
0.86767578125,
0.6640625,
0.5146484375,
0.6640625
],
[
0.1298828125,
0.66943359375,
0.35693359375,
0.66943359375,
0.35693359375,
0.68310546875,
0.1298828125,
0.68310546875
],
[
0.50341796875,
0.67041015625,
0.86767578125,
0.67041015625,
0.86767578125,
0.68115234375,
0.50341796875,
0.68115234375
],
[
0.1298828125,
0.68603515625,
0.35693359375,
0.68603515625,
0.35693359375,
0.69970703125,
0.1298828125,
0.69970703125
],
[
0.346435546875,
0.68798828125,
0.41015625,
0.68798828125,
0.41015625,
0.69873046875,
0.346435546875,
0.69873046875
],
[
0.496826171875,
0.68603515625,
0.86767578125,
0.68603515625,
0.86767578125,
0.69970703125,
0.496826171875,
0.69970703125
],
[
0.131591796875,
0.70263671875,
0.869140625,
0.70263671875,
0.869140625,
0.71630859375,
0.131591796875,
0.71630859375
],
[
0.13232421875,
0.7216796875,
0.71728515625,
0.7216796875,
0.71728515625,
0.73193359375,
0.13232421875,
0.73193359375
],
[
0.125,
0.7587890625,
0.281982421875,
0.76025390625,
0.281982421875,
0.77783203125,
0.125,
0.7763671875
],
[
0.1282958984375,
0.79443359375,
0.87109375,
0.79443359375,
0.87109375,
0.80810546875,
0.1282958984375,
0.80810546875
],
[
0.131591796875,
0.81103515625,
0.869140625,
0.81103515625,
0.869140625,
0.82470703125,
0.131591796875,
0.82470703125
],
[
0.1298828125,
0.82763671875,
0.87109375,
0.82763671875,
0.87109375,
0.84228515625,
0.1298828125,
0.84228515625
],
[
0.131591796875,
0.84521484375,
0.869140625,
0.84521484375,
0.869140625,
0.859375,
0.131591796875,
0.859375
],
[
0.1298828125,
0.8623046875,
0.86767578125,
0.8623046875,
0.86767578125,
0.876953125,
0.1298828125,
0.876953125
]
] |
[
"2",
"Verification of a Simple Hypervisor",
"在2节中,我们描述了项目的总体策略。3节概述了我们正在构建的虚拟机管理程序工件。",
"4节描述了Y86+十模型,我们的证明是在该模型上构建的。在??节中,我们概述了我们的证",
"明策略,并描述了特定关键MinVisor功能的证明。??节列出了一些相关的工作。最后,在??",
"节中,我们概述了扩展此工作的计划。附录包含特定MinVisor函数的C源代码和Y86++汇",
"编级代码",
"2 High Level Strategy",
"该项目的总体目标是研究建模和验证简单虚拟机管理程序的技术。在一天结束时,我们希望证",
"明:",
"l.We can carry out the verification of a hypervisor at a very low level of abstraction to",
"provide high assurance of correctness.",
"2. The resulting verified artifact is a credible piece of system software displaying useful hy",
"pervisor functionality.",
"3. The tools and techniques we develop will scale to apply to more realistic and full featured",
"hypervisors.",
"复杂工件的建模和验证可能遵循自上而下的方法-采用域的抽象模型(在本例中为虚拟机管",
"理程序)并将其细化为兼容的实现。或者,它可能遵循自下而上的方法-提取和证明实现级模块",
"的属性,目的是将它们组合成完整工件的连贯验证模型。混合方法可能是最好的,以确保两者",
"“在中间相遇”。”",
"到目前为止,我们主要是自下而上地工作,专注于开发验证组成MinVisor代码库的多行机",
"器代码所需的技术。我们认为,定义一个合理的机器模型并构建库和基础架构以有效地证明重",
"要的代码片段可能是我们最大的障碍。因此,下面对建模和验证的描述集中在低级。我们描述",
"了设置MinVisor嵌套页表的代码的验证。此功能对于允许MinVisor保护自已免受恶意来宾的",
"攻击至关重要,并且似乎代表了我们将遇到的代码复杂性。我们相信任何虚拟机管理程序都需",
"要这个或非常相似的代码",
"我们的初始代码库是从CMU的SecVisor代码中提取的[?]。但是,我们进行了各种简化,",
"以消除与我们关注的问题正交的功能,并简化我们的初始证明目标。例如,SecVisor与其修改后",
"的Linux来宾紧密耦合,使Linux成为可信计算基础的一部分。通过进行各种修改,我们能够",
"消除这种依赖性,从而产生更简单的代码库进行验证和更广泛适用的虚拟机管理程序。MinVisor",
"像通过BIOS一样加载来宾,并通过嵌套",
"11",
"户虚拟机管理程序状态",
"保护核心系统和软件对于任何",
"H",
"系统都至关重要,开且是该项自的主要初始目",
"标。但是,为了有用,虚拟机",
"来宾提供合理的操作环境。我们当前的工作不",
"执行任何类型的校正仿真,也",
"也不执",
"以化以提供备用资源访问。未修改的来宾可以自",
"由运行,只要它只执行“安全”操作。危险操作被拦截和阻止,但MinVisor的操作在这样做时",
"可能会被客人检测到。为物理机器提供合理透明和准确的模拟是未来的工作",
"3MinVisor",
"MinVisor的开发是为了检查保护虚拟机管理程序和机器免受恶意来宾攻击的证据,并作为进",
"一步系统工作的基础。这是一个最小的I型/裸机虚拟机管理程序的x86利用AMD的硬件辅",
"助AMD-V嵌套页表虚拟化。硬件BIOS使用标准BIOS预引导执行环境(PXE)[?]从网络",
"加载MinVisor。MinVisor加载第一个硬盘驱动器扇区,就像通过BIOS一样,作为来宾。在",
"QEMUx86模拟器上,它运行一个真实的保护模式来宾,尝试在每个2MiB机器页面中探测内"
] |
{
"arxiv_id": "1110.4672",
"language": "zh",
"page_idx": 1
}
|
||
1110.4672-zh-2
|
1110.4672-zh-2.jpg
|
3
$M. Dahlin$, $R.$ $Johnson$, $R. B.$ $Krug$, $M.$ $McCoyd$, $W.$ Young
存。它尚未在真正的硬件上进行测试。MinVisor 是用汇编和 C 混合编写的,仅限于 32 位指令,
并从 SecVisor, JOS$\overline{\mathrm{E}}|?|$和 Xen$\overline{\mathrm{E}}|?|$中的代码中提取
MinVisor 被设计为一个真正的硬件、微型虚拟机管理程序,它尽可能简单地完成任何
AMD-V 嵌套分页虚拟机管理程序的基本任务。这些基本任务是:
$\bullet$ Create host save area and VMCB,
$\bullet$ Create IO and MSR permission bit maps,
$\bullet$ Set guest actions to intercept,
$\bullet$ Populate nested page tables,
$\bullet$ Set starting guest state in VMCB,
$\bullet$ Load guest code,
$\bullet$ Populate and activate host page tables,
$\bullet$ Start the guest, and
$\bullet$ Handle intercepts (for nested page faults)
除了状态消息和内存读取值(如下) MinVisor 当前只做这些事情
虽然 MinVisor 从 SecVisor 开始,但我们已经进行了许多简化,并且代码现在更接近组织中的 KVME[?] 。我们专注于为主机和硬件提供绝对保护,防止任意和潜在的恶意访客。其次,我们通过 PXE 引导为客户提供一些透明度,这不会留下我们存在的硬盘证据。我们的初始阶段旨在保护 MinVisor 的记忆。如果 MinVisor 的内存不受保护,则无法保证其操作
MinVisor 是 BIOS 之后运行的第一个代码,其 PXEtftp 代码将 MinVisor 下载到物理地址0x7C00。在实模式下,控制被转移到 MinVisor, 并且 MinVisor 不再使用 BIOSPXEtftp 功能将自己重新定位到最高可用的 2MiB 对齐内存块并建立保护后,MinVisor 会模拟未调用 PXE 的 BIOS 行为,并将第一个扇区从硬盘复制到 0x7C00, 充当实模式引导加载程序。我们假设引导路径的信任的静态根。来宾当前限制为 4GiB 的 RAM
MinVisor 模拟了一个正常的系统启动,其硬盘驱动器的引导扇区的实模式启动作为来宾。这最大限度地减少了 MinVisor 和来宾之间的相互依赖性。MinVisor 不需要从来宾接收任何信息, 并且来宾不需要知道 MinVisor 正在运行。它应该允许运行任何硬盘驱动器可引导来宾,并且它允许 MinVisor 在具有 PXE 的任何计算机上运行,PXE 在消费者和企业硬件中都很普遍。使用PXE 引导 MinVisor 可以向来宾提供整个硬盘驱动器,从而无需对其进行虚拟化
对来宾的大多数控制是通过正确配置虚拟机控制块 (VMCB) 来实现的,VMCB 是由虚拟机管理程序和虚拟化硬件维护的每个来宾内存区域,其中包含通过 AMD-V 机制启动来宾所需的设置和信息。VMCB 指向嵌套的页表,该表提供了防止直接访问 MinVisor 自己的内存的保护
通常,过程有效地址通过分段或带有分页的分段转换为物理地址。首先,将地址与适当的段寄存器组合以创建线性地址。如果使用页表,则此线性 (或虚拟)地址将用作页表的索引,并获得物理地址。硬件使用的是这个物理地址
但是,如果硬件虚拟化正在使用嵌套分页,则涉及来宾地址的第三次转换。通过第一次查找获得的来宾物理地址用于索引嵌套页表,并获得真实的系统物理地址。MinVisor 使用这些嵌套页表来保护其内存区域,并在 Sec 中进行了更全面的描述。4.1
除了几个区域,MinVisor 的嵌套页表建立了从来宾“物理”到系统物理内存的标识映射;来宾中的大多数地址将解析到与来宾在裸机上运行时相同的位置。为了简单起见,选择了身份映射,尽管更复杂的映射只会稍微更难实现和验证。映射的例外是物理内存的前 2MiB 中的地址具有来自来宾的空“不存在”映射。因此,没有访客地址将被转换为 MinVisor 所在的物理内存
如果访客由于无知或恶意而试图访问嵌套页表中标记为“不存在”的地址,AMD-V 硬件将生成一个拦截并返回到主机模式,其中包含有关访客操作的信息。在这种情况下,MinVisor 挡
|
[
[
0.1282958984375,
0.045440673828125,
0.5908203125,
0.04736328125,
0.5908203125,
0.0625,
0.1282958984375,
0.059967041015625
],
[
0.85693359375,
0.046722412109375,
0.875,
0.046722412109375,
0.875,
0.061248779296875,
0.85693359375,
0.061248779296875
],
[
0.1298828125,
0.0921630859375,
0.87158203125,
0.0921630859375,
0.87158203125,
0.106689453125,
0.1298828125,
0.106689453125
],
[
0.1298828125,
0.10986328125,
0.5556640625,
0.10986328125,
0.5556640625,
0.12371826171875,
0.1298828125,
0.12371826171875
],
[
0.156005859375,
0.126953125,
0.869140625,
0.126953125,
0.869140625,
0.14013671875,
0.156005859375,
0.14013671875
],
[
0.1282958984375,
0.1427001953125,
0.63232421875,
0.14453125,
0.63232421875,
0.1578369140625,
0.1282958984375,
0.1558837890625
],
[
0.1519775390625,
0.1641845703125,
0.439453125,
0.1641845703125,
0.439453125,
0.1787109375,
0.1519775390625,
0.1787109375
],
[
0.148681640625,
0.184326171875,
0.5009765625,
0.1875,
0.5009765625,
0.2052001953125,
0.148681640625,
0.2020263671875
],
[
0.1478271484375,
0.2083740234375,
0.408447265625,
0.208984375,
0.408447265625,
0.2266845703125,
0.1478271484375,
0.2259521484375
],
[
0.1478271484375,
0.23291015625,
0.396240234375,
0.23291015625,
0.396240234375,
0.2474365234375,
0.1478271484375,
0.2474365234375
],
[
0.1502685546875,
0.255126953125,
0.441162109375,
0.255126953125,
0.441162109375,
0.26953125,
0.1502685546875,
0.26953125
],
[
0.1502685546875,
0.27783203125,
0.3056640625,
0.27783203125,
0.3056640625,
0.292236328125,
0.1502685546875,
0.292236328125
],
[
0.1478271484375,
0.298583984375,
0.4794921875,
0.2998046875,
0.4794921875,
0.314453125,
0.1478271484375,
0.313232421875
],
[
0.1502685546875,
0.3212890625,
0.330810546875,
0.3212890625,
0.330810546875,
0.335205078125,
0.1502685546875,
0.335205078125
],
[
0.1519775390625,
0.3447265625,
0.498291015625,
0.3447265625,
0.498291015625,
0.359130859375,
0.1519775390625,
0.359130859375
],
[
0.1298828125,
0.3662109375,
0.63232421875,
0.3662109375,
0.63232421875,
0.380126953125,
0.1298828125,
0.380126953125
],
[
0.158447265625,
0.38330078125,
0.869140625,
0.38330078125,
0.869140625,
0.396484375,
0.158447265625,
0.396484375
],
[
0.1298828125,
0.40087890625,
0.87109375,
0.40087890625,
0.87109375,
0.4140625,
0.1298828125,
0.4140625
],
[
0.1298828125,
0.41845703125,
0.366943359375,
0.41845703125,
0.366943359375,
0.431884765625,
0.1298828125,
0.431884765625
],
[
0.37744140625,
0.421630859375,
0.44677734375,
0.421630859375,
0.44677734375,
0.4287109375,
0.37744140625,
0.4287109375
],
[
0.455810546875,
0.41845703125,
0.869140625,
0.41845703125,
0.869140625,
0.431884765625,
0.455810546875,
0.431884765625
],
[
0.1298828125,
0.43505859375,
0.42724609375,
0.43505859375,
0.42724609375,
0.448974609375,
0.1298828125,
0.448974609375
],
[
0.486083984375,
0.43505859375,
0.740234375,
0.43505859375,
0.740234375,
0.448974609375,
0.486083984375,
0.448974609375
],
[
0.1568603515625,
0.451904296875,
0.400390625,
0.451904296875,
0.400390625,
0.46533203125,
0.1568603515625,
0.46533203125
],
[
0.52783203125,
0.453857421875,
0.869140625,
0.453857421875,
0.869140625,
0.464111328125,
0.52783203125,
0.464111328125
],
[
0.1282958984375,
0.4697265625,
0.373291015625,
0.4697265625,
0.373291015625,
0.48291015625,
0.1282958984375,
0.48291015625
],
[
0.4150390625,
0.4716796875,
0.435546875,
0.4716796875,
0.435546875,
0.479248046875,
0.4150390625,
0.479248046875
],
[
0.5556640625,
0.4697265625,
0.86669921875,
0.4697265625,
0.86669921875,
0.48291015625,
0.5556640625,
0.48291015625
],
[
0.86279296875,
0.473388671875,
0.86669921875,
0.473388671875,
0.86669921875,
0.479248046875,
0.86279296875,
0.479248046875
],
[
0.1298828125,
0.486083984375,
0.346435546875,
0.486083984375,
0.346435546875,
0.5,
0.1298828125,
0.5
],
[
0.370849609375,
0.4912109375,
0.3857421875,
0.4912109375,
0.3857421875,
0.494384765625,
0.370849609375,
0.494384765625
],
[
0.55615234375,
0.486083984375,
0.87109375,
0.486083984375,
0.87109375,
0.5,
0.55615234375,
0.5
],
[
0.1298828125,
0.50244140625,
0.330078125,
0.50244140625,
0.330078125,
0.5166015625,
0.1298828125,
0.5166015625
],
[
0.34228515625,
0.505859375,
0.35546875,
0.51025390625,
0.351318359375,
0.5166015625,
0.339111328125,
0.51220703125
],
[
0.52685546875,
0.5068359375,
0.5498046875,
0.5068359375,
0.5498046875,
0.5146484375,
0.52685546875,
0.5146484375
],
[
0.5458984375,
0.50390625,
0.86767578125,
0.50390625,
0.86767578125,
0.517578125,
0.5458984375,
0.517578125
],
[
0.365234375,
0.50830078125,
0.374267578125,
0.50830078125,
0.374267578125,
0.51318359375,
0.365234375,
0.51318359375
],
[
0.326904296875,
0.50830078125,
0.34228515625,
0.50830078125,
0.34228515625,
0.51220703125,
0.326904296875,
0.51220703125
],
[
0.374267578125,
0.50830078125,
0.3798828125,
0.50830078125,
0.3798828125,
0.51318359375,
0.374267578125,
0.51318359375
],
[
0.51123046875,
0.50830078125,
0.515625,
0.50830078125,
0.515625,
0.51318359375,
0.51123046875,
0.51318359375
],
[
0.131591796875,
0.52099609375,
0.374267578125,
0.52099609375,
0.374267578125,
0.5341796875,
0.131591796875,
0.5341796875
],
[
0.494384765625,
0.5234375,
0.51318359375,
0.5234375,
0.51318359375,
0.53076171875,
0.494384765625,
0.53076171875
],
[
0.5107421875,
0.5234375,
0.56201171875,
0.5234375,
0.56201171875,
0.53076171875,
0.5107421875,
0.53076171875
],
[
0.451904296875,
0.5361328125,
0.869140625,
0.5361328125,
0.869140625,
0.5498046875,
0.451904296875,
0.5498046875
],
[
0.370849609375,
0.5263671875,
0.4453125,
0.5263671875,
0.4453125,
0.52978515625,
0.370849609375,
0.52978515625
],
[
0.156005859375,
0.537109375,
0.461669921875,
0.537109375,
0.461669921875,
0.55029296875,
0.156005859375,
0.55029296875
],
[
0.1298828125,
0.5537109375,
0.87109375,
0.5537109375,
0.87109375,
0.568359375,
0.1298828125,
0.568359375
],
[
0.1298828125,
0.5712890625,
0.869140625,
0.5712890625,
0.869140625,
0.58544921875,
0.1298828125,
0.58544921875
],
[
0.1298828125,
0.5888671875,
0.869140625,
0.5888671875,
0.869140625,
0.60302734375,
0.1298828125,
0.60302734375
],
[
0.1258544921875,
0.60498046875,
0.75634765625,
0.60693359375,
0.75634765625,
0.62060546875,
0.1258544921875,
0.61865234375
],
[
0.1568603515625,
0.62353515625,
0.87109375,
0.62353515625,
0.87109375,
0.63720703125,
0.1568603515625,
0.63720703125
],
[
0.131591796875,
0.64013671875,
0.869140625,
0.64013671875,
0.869140625,
0.65380859375,
0.131591796875,
0.65380859375
],
[
0.1298828125,
0.6572265625,
0.861328125,
0.6572265625,
0.861328125,
0.671875,
0.1298828125,
0.671875
],
[
0.1568603515625,
0.6748046875,
0.87109375,
0.6748046875,
0.87109375,
0.68798828125,
0.1568603515625,
0.68798828125
],
[
0.131591796875,
0.69140625,
0.87109375,
0.69140625,
0.87109375,
0.705078125,
0.131591796875,
0.705078125
],
[
0.1298828125,
0.70703125,
0.449462890625,
0.70703125,
0.449462890625,
0.7216796875,
0.1298828125,
0.7216796875
],
[
0.156005859375,
0.7236328125,
0.87109375,
0.72607421875,
0.87109375,
0.74072265625,
0.156005859375,
0.73779296875
],
[
0.1298828125,
0.7421875,
0.87109375,
0.7421875,
0.87109375,
0.755859375,
0.1298828125,
0.755859375
],
[
0.131591796875,
0.76220703125,
0.61767578125,
0.76220703125,
0.61767578125,
0.77294921875,
0.131591796875,
0.77294921875
],
[
0.1568603515625,
0.77783203125,
0.87109375,
0.77783203125,
0.87109375,
0.79150390625,
0.1568603515625,
0.79150390625
],
[
0.1298828125,
0.79443359375,
0.87109375,
0.79443359375,
0.87109375,
0.80810546875,
0.1298828125,
0.80810546875
],
[
0.1298828125,
0.81103515625,
0.87109375,
0.81103515625,
0.87109375,
0.82470703125,
0.1298828125,
0.82470703125
],
[
0.1298828125,
0.830078125,
0.869140625,
0.830078125,
0.869140625,
0.84033203125,
0.1298828125,
0.84033203125
],
[
0.1568603515625,
0.84521484375,
0.869140625,
0.84521484375,
0.869140625,
0.859375,
0.1568603515625,
0.859375
],
[
0.1298828125,
0.8623046875,
0.87109375,
0.8623046875,
0.87109375,
0.87548828125,
0.1298828125,
0.87548828125
]
] |
[
"M.Dahlin, R.Johnson, R.B.Krug, M. McCoyd, W.Young",
"3",
"存。它尚未在真正的硬件上进行测试。MinVisor是用汇编和C混合编写的,仅限于32位指令,",
"并从SecVisor,JOSE[?]和XenE[?]中的代码中提取",
"MinVisor被设计为一个真正的硬件、微型虚拟机管理程序,它尽可能简单地完成任何",
"AMD-V嵌套分页虚拟机管理程序的基本任务。这些基本任务是:",
": Create host save area and VMCB",
". Create IO and MSR permission bit maps,",
". Set guest actions to intercept,",
". Populate nested page tables,",
": Set starting guest state in VMCB,",
": Load guest code,",
": Populate and activate host page tables.",
". Start the guest, and",
". Handle intercepts (for nested page faults)",
"除了状态消息和内存读取值(如下)MinVisor当前只做这些事情",
"虽然MinVisor从SecVisor开始,但我们已经进行了许多简化,并且代码现在更接近组织中",
"的KVME?。我们专注于为主机和硬件提供绝对保护,防止任意和潜在的恶意访客。其次,我",
"们通过PXE引导为客户提供",
"比透明度",
"这不会留下我们存在的硬盘证据。我们的初始阶段旨",
"在保护MinVisor的记忆。如果MinVi",
"存不受保护,则无法保证其操作",
"MinVisor是BIOS之后运行的",
"PXEtftp代码将MinVisor下载到物理地址",
"0x7C00。在实模式下,控制被车",
"T",
"MinVisor不再使用BIOSPXEtftp功能",
"",
"将自己重新定位到最高可用",
"",
"立保护后,MinVisor会模拟未调用PXE",
"的BIOS行为,并将第一",
"B",
"00",
"),充当实模式引导加载程序。我们假设引",
"X",
"",
"",
"",
"导路径的信任的静态根。来宾当",
"用",
"RAN",
",其硬盘驱动器的引导扇区的实模式启动作为来宾。这",
"",
"MinVisor模拟了一个正常的系统启动,",
"最大限度地减少了MinVisor和来宾之间的相互依赖性。MinVisor不需要从来宾接收任何信息,",
"并且来宾不需要知道MinVisor正在运行。它应该允许运行任何硬盘驱动器可引导来宾,并且它",
"允许MinVisor在具有PXE的任何计算机上运行,PXE在消费者和企业硬件中都很普遍。使用",
"PXE引导MinVisor可以向来宾提供整个硬盘驱动器,从而无需对其进行虚拟化",
"对来宾的大多数控制是通过正确配置虚拟机控制块(VMCB)来实现的,VMCB是由虚拟机",
"管理程序和虚拟化硬件维护的每个来宾内存区域,其中包含通过AMD-V机制启动来宾所需的",
"设置和信息。VMCB指向嵌套的页表,该表提供了防止直接访问MinVisor自已的内存的保护",
"通常,过程有效地址通过分段或带有分页的分段转换为物理地址。首先,将地址与适当的段",
"寄存器组合以创建线性地址。如果使用页表,则此线性(或虚拟)地址将用作页表的索引,并获",
"得物理地址。硬件使用的是这个物理地址",
"但是,如果硬件虚拟化正在使用嵌套分页,则涉及来宾地址的第三次转换。通过第一次查找",
"获得的来宾物理地址用于索引嵌套页表,并获得真实的系统物理地址。MinVisor使用这些嵌套",
"页表来保护其内存区域,并在Sec中进行厂更全面的描述。4.1",
"除了几个区域,MinVisor的嵌套页表建立了从来宾“物理”到系统物理内存的标识映射;来",
"宾中的大多数地址将解析到与来宾在裸机上运行时相同的位置。为了简单起见,选择了身份映",
"射,尽管更复杂的映射只会稍微更难实现和验证。映射的例外是物理内存的前2MiB中的地址",
"具有来自来宾的空“不存在”,映射。因此,没有访客地址将被转换为MimVisor所在的物理内存",
"如果访客由于无知或恶意而试图访问嵌套页表中标记为“不存在”的地址,AMD-V硬件将",
"生成一个拦截并返回到主机模式,其中包含有关访客操作的信息。在这种情况下,MinVisor拦"
] |
{
"arxiv_id": "1110.4672",
"language": "zh",
"page_idx": 2
}
|
||
1110.4672-zh-3
|
1110.4672-zh-3.jpg
|
Verification of a Simple Hypervisor
4
截处理程序会导致对受保护区域的写人为 no-ops, 并从 16 字节字符串“ThEyesofTexas”中读取返回字节。。使用硬件架构的嵌套页表大大简化了 MinVisor 及其证明,并允许来宾在大多数时间内不间断运行。为了帮助客户使用可靠的内存,我们虚拟化 BIOS 内存映射,将物理内存的顶部报告为比实际低 2MiB
通过 VMCB 中引用的表限制对硬件 I/O 的来宾访问的拦截。我们目前不拦截任何硬件端口,但计划默认拦截所有这些端口。此拦截需要对拦截例程中的功能进行一些仿真,以便向来宾提供所需的 I/O 服务
VMCB 还包含一个位图,允许选择性拦截各种操作。我们目前拦截与中断、控制寄存器和虚拟化相关的所有操作,并将其转换为无操作。为了向非平凡的来宾提供合理的操作环境,我们将需要模拟或转发基本中断处理和一些系统控制事件
最初,我们正在从启用 DMA 的设备实施偏执保护。而不是智能地图和警戒线设备,所有设备都被阻止写人 MinVisor 的位置或内存映射的 I/O 区域。这满足了我们最初的保护和代码简化目标,性能和功能问题将在以后解决
尽管 MinVisor 在设计和早期开发阶段的结合方面很少见,但我们认为它仍然是实现证明的合理虚拟机管理程序目标。它通过硬件初始化和软件例程提供的核心内存保护机制是任何虚拟机管理程序的必要功能。其他特性和功能将建立在初始代码和证明之上,而不是取代它
# 4 The Y86++ Model
该项目的目标是在实现级别验证的简单虚拟机管理程序。这需要实现语言的正式模型,以及它运行的机器。几个相关的努力[?,?]选择形式化 C/C++ 的子集。我们选择在机器代码级别进行证明。这种选择消除了对任何形式的 C/C++ 模型的依赖,并利用了 ACL2 的优势。但理想情况下,这意味着根据 x86 指令集架构的 ACL2 中的形式化来验证代码。虽然同事们正在研究这样一个模型,但它还没有达到稳定和可用的状态
为了在这个项目上取得进展,我们开始在 Bryant 和 O'Hallaron 的 Y86 模型[E[?] 的修改版本上进行证明。为教学目的而设计的 Y86 是 x86 指令集体系结构的简化版本。Y86 最初是由 SandipRay$\mathbb{E}[?]$在 ACL2 中形式化的,用于他的论文工作。ACL2 中的另一个形式化是由WarrenHunt 开发的 , 用于他在德克萨斯大学奥斯汀分校的计算机体系结构课程中使用
在此项目过程中,我们修改了 Hunt 的 Y86 模型,方法是在处理器状态中添加了几个组件, 几个新指令,一个来宾/主管模式标志以及嵌套的页表。在本文中,我们将 Y86 模型的扩展称为 Y86++, 以防止与 Bryant 和 O'Hallaron 的 Y86 或 Hunt 在 ACL2 中的实现相混淆。由于Y86++ 与 x86 的相似性,我们相信我们迄今为止所做的验证工作将在可用时直接转换为 x86模型。证明技术和不变量通常与 Y86++ 的细节无关
# 4.1 Changes from Y86
Y86 是 x86 风格的指令集架构。有关详细信息,我们请感兴趣的读者参考[?] 。我们对科比和
奥哈拉隆的 Y86 做了以下补充:
$\bullet$ Two new registers IMME1 , VALU1 : used as “scratch registers”to more closely emulate
specific complex x86 instructions as a series of Y86++ instructions. Examples of their use
will be given in Section ??.
$\bullet$ A register CR3 : points to the base of the page table hierarchy.
$\bullet$ A carry flag: used in several of the new instructions.
$\bullet$ A 1-bit Guest/Supervisor Mode flag, and four 32-bit registers: these allow mode switching
and preservation of ESP and EIP when switching modes.
|
[
[
0.1258544921875,
0.046722412109375,
0.143798828125,
0.046722412109375,
0.143798828125,
0.0625,
0.1258544921875,
0.0625
],
[
0.59716796875,
0.046722412109375,
0.869140625,
0.04736328125,
0.869140625,
0.0625,
0.59716796875,
0.061248779296875
],
[
0.1298828125,
0.09344482421875,
0.87109375,
0.09344482421875,
0.87109375,
0.106689453125,
0.1298828125,
0.106689453125
],
[
0.1298828125,
0.10986328125,
0.87109375,
0.10986328125,
0.87109375,
0.12371826171875,
0.1298828125,
0.12371826171875
],
[
0.1298828125,
0.1275634765625,
0.869140625,
0.1275634765625,
0.869140625,
0.141357421875,
0.1298828125,
0.141357421875
],
[
0.1298828125,
0.14453125,
0.35693359375,
0.14453125,
0.35693359375,
0.1578369140625,
0.1298828125,
0.1578369140625
],
[
0.158447265625,
0.1610107421875,
0.869140625,
0.1610107421875,
0.869140625,
0.1749267578125,
0.158447265625,
0.1749267578125
],
[
0.131591796875,
0.1767578125,
0.86767578125,
0.1767578125,
0.86767578125,
0.1912841796875,
0.131591796875,
0.1912841796875
],
[
0.1298828125,
0.1956787109375,
0.31201171875,
0.1956787109375,
0.31201171875,
0.208984375,
0.1298828125,
0.208984375
],
[
0.1568603515625,
0.212158203125,
0.86669921875,
0.212158203125,
0.86669921875,
0.2259521484375,
0.1568603515625,
0.2259521484375
],
[
0.131591796875,
0.2298583984375,
0.87109375,
0.2298583984375,
0.87109375,
0.24365234375,
0.131591796875,
0.24365234375
],
[
0.1298828125,
0.24560546875,
0.55615234375,
0.246826171875,
0.55615234375,
0.261474609375,
0.1298828125,
0.260009765625
],
[
0.1568603515625,
0.264404296875,
0.869140625,
0.264404296875,
0.869140625,
0.27783203125,
0.1568603515625,
0.27783203125
],
[
0.1298828125,
0.281005859375,
0.869140625,
0.281005859375,
0.869140625,
0.29541015625,
0.1298828125,
0.29541015625
],
[
0.1298828125,
0.298583984375,
0.4306640625,
0.298583984375,
0.4306640625,
0.3125,
0.1298828125,
0.3125
],
[
0.1568603515625,
0.31494140625,
0.86767578125,
0.31494140625,
0.86767578125,
0.328857421875,
0.1568603515625,
0.328857421875
],
[
0.1298828125,
0.330810546875,
0.869140625,
0.33203125,
0.869140625,
0.3466796875,
0.1298828125,
0.34521484375
],
[
0.1298828125,
0.349853515625,
0.8056640625,
0.349853515625,
0.8056640625,
0.363037109375,
0.1298828125,
0.363037109375
],
[
0.1282958984375,
0.39013671875,
0.396240234375,
0.39013671875,
0.396240234375,
0.40478515625,
0.1282958984375,
0.40478515625
],
[
0.131591796875,
0.42236328125,
0.869140625,
0.42236328125,
0.869140625,
0.436279296875,
0.131591796875,
0.436279296875
],
[
0.1298828125,
0.43994140625,
0.87109375,
0.43994140625,
0.87109375,
0.453857421875,
0.1298828125,
0.453857421875
],
[
0.1298828125,
0.458251953125,
0.869140625,
0.458251953125,
0.869140625,
0.4716796875,
0.1298828125,
0.4716796875
],
[
0.1298828125,
0.474853515625,
0.87109375,
0.474853515625,
0.87109375,
0.488037109375,
0.1298828125,
0.488037109375
],
[
0.1298828125,
0.4912109375,
0.521484375,
0.4912109375,
0.521484375,
0.5048828125,
0.1298828125,
0.5048828125
],
[
0.1568603515625,
0.50830078125,
0.87109375,
0.50830078125,
0.87109375,
0.52294921875,
0.1568603515625,
0.52294921875
],
[
0.1298828125,
0.52587890625,
0.869140625,
0.52587890625,
0.869140625,
0.5390625,
0.1298828125,
0.5390625
],
[
0.1282958984375,
0.54248046875,
0.869140625,
0.54150390625,
0.869140625,
0.55615234375,
0.1282958984375,
0.556640625
],
[
0.1298828125,
0.56005859375,
0.80126953125,
0.56005859375,
0.80126953125,
0.57373046875,
0.1298828125,
0.57373046875
],
[
0.156005859375,
0.57568359375,
0.87109375,
0.5771484375,
0.87109375,
0.59130859375,
0.156005859375,
0.59033203125
],
[
0.1282958984375,
0.59228515625,
0.87109375,
0.59326171875,
0.87109375,
0.60791015625,
0.1282958984375,
0.60693359375
],
[
0.1298828125,
0.611328125,
0.869140625,
0.611328125,
0.869140625,
0.625,
0.1298828125,
0.625
],
[
0.12744140625,
0.626953125,
0.87109375,
0.62744140625,
0.87109375,
0.642578125,
0.12744140625,
0.6416015625
],
[
0.12744140625,
0.64453125,
0.53759765625,
0.64599609375,
0.53759765625,
0.66015625,
0.12744140625,
0.6591796875
],
[
0.1282958984375,
0.68115234375,
0.363525390625,
0.68115234375,
0.363525390625,
0.69580078125,
0.1282958984375,
0.69580078125
],
[
0.12744140625,
0.70556640625,
0.869140625,
0.70703125,
0.869140625,
0.7216796875,
0.12744140625,
0.72021484375
],
[
0.1298828125,
0.7236328125,
0.378173828125,
0.7236328125,
0.378173828125,
0.7373046875,
0.1298828125,
0.7373046875
],
[
0.15283203125,
0.74560546875,
0.869140625,
0.74560546875,
0.869140625,
0.76025390625,
0.15283203125,
0.76025390625
],
[
0.1732177734375,
0.7646484375,
0.87109375,
0.7646484375,
0.87109375,
0.77783203125,
0.1732177734375,
0.77783203125
],
[
0.17236328125,
0.78076171875,
0.393798828125,
0.78076171875,
0.393798828125,
0.79443359375,
0.17236328125,
0.79443359375
],
[
0.1502685546875,
0.80029296875,
0.67333984375,
0.8017578125,
0.67333984375,
0.81640625,
0.1502685546875,
0.81494140625
],
[
0.1519775390625,
0.82470703125,
0.58251953125,
0.82470703125,
0.58251953125,
0.83837890625,
0.1519775390625,
0.83837890625
],
[
0.148681640625,
0.84326171875,
0.87109375,
0.8447265625,
0.87109375,
0.8623046875,
0.148681640625,
0.861328125
],
[
0.1707763671875,
0.86279296875,
0.64208984375,
0.86279296875,
0.64208984375,
0.876953125,
0.1707763671875,
0.876953125
]
] |
[
"4",
"VerificationofaSimpleHypervisor",
"截处理程序会导致对受保护区域的写人为no-ops,并从16字节字符串“ThEyesofTexas”中读",
"取返回字节。。使用硬件架构的嵌套页表大大简化了MinVisor及其证明,并允许来宾在大多数",
"时间内不间断运行。为了帮助客户使用可靠的内存,我们虚拟化BIOS内存映射,将物理内存",
"的顶部报告为比实际低2MiB",
"通过VMCB中引用的表限制对硬件I/O的来宾访问的拦截。我们目前不拦截任何硬件端",
"口,但计划默认拦截所有这些端口。此拦截需要对拦截例程中的功能进行一些仿真,以便向来",
"宾提供所需的I/O服务",
"VMCB还包含一个位图,允许选择性拦截各种操作。我们目前拦截与中断、控制寄存器和",
"虚拟化相关的所有操作,并将其转换为无操作。为了向非平凡的来宾提供合理的操作环境,我",
"们将需要模拟或转发基本中断处理和一些系统控制事件",
"最初,我们正在从启用DMA的设备实施偏执保护。而不是智能地图和警戒线设备,所有设",
"备都被阻止写入MinVisor的位置或内存映射的I/O区域。这满足了我们最初的保护和代码简",
"化目标,性能和功能问题将在以后解决",
"尽管MinVisor在设计和早期开发阶段的结合方面很少见,但我们认为它仍然是实现证明的",
"合理虚拟机管理程序目标。它通过硬件初始化和软件例程提供的核心内存保护机制是任何虚拟",
"机管理程序的必要功能。其他特性和功能将建立在初始代码和证明之上,而不是取代它",
"4The Y86++ Model",
"该项目的目标是在实现级别验证的简单虚拟机管理程序。这需要实现语言的正式模型,以及它",
"运行的机器。几个相关的努力[?,?]选择形式化C/C++的子集。我们选择在机器代码级别进",
"行证明。这种选择消除了对任何形式的C/C+模型的依赖,并利用了ACL2的优势。但理想",
"情况下,这意味着根据x86指令集架构的ACL2中的形式化来验证代码。虽然同事们正在研究",
"这样一个模型,但它还没有达到稳定和可用的状态",
"为了在这个项目上取得进展,我们开始在Bryant和O'Hallaron的Y86模型E[?]的修改",
"版本上进行证明。为教学目的而设计的Y86是x86指令集体系结构的简化版本。Y86最初是",
"由SandipRayE[?]在ACL2中形式化的,用于他的论文工作。ACL2中的另一个形式化是由",
"WarrenHunt开发的,用于他在德克萨斯大学奥斯汀分校的计算机体系结构课程中使用",
"在此项目过程中,我们修改了Hunt的Y86模型,方法是在处理器状态中添加了几个组件,",
"几个新指令,一个来宾/主管模式标志以及嵌套的页表。在本文中,我们将Y86模型的扩展称",
"为Y86++,以防止与Bryant和O\"Hallaron的Y86或Hunt在ACL2中的实现相混淆。由于",
"Y86++与x86的相似性,我们相信我们迄今为止所做的验证工作将在可用时直接转换为x86",
"模型。证明技术和不变量通常与Y86+十的细节无关",
"4.1 Changes from Y86",
"Y86是x86风格的指令集架构。有关详细信息,我们请感兴趣的读者参考[?]。我们对科比和",
"奥哈拉隆的Y86做了以下补充:",
". Two new registers IMME1 , VALU1 : used as “scratch registers\" to more closely emulate",
"specific complex x86 instructions as a series of Y86++ instructions. Examples of their use",
"will be given in Section ??.",
". A register cR3 : points to the base of the page table hierarchy",
". A carry flag: used in several of the new instructions.",
": A 1-bit Guest/Supervisor Mode flag, and four 32-bit registers: these allow mode switching",
"and preservation of EsP and EIP when switching modes."
] |
{
"arxiv_id": "1110.4672",
"language": "zh",
"page_idx": 3
}
|
||
1904.02343-zh-0
|
1904.02343-zh-0.jpg
|
## 双语单词嵌人的密度匹配
Chunting Zhou, Xuezhe Ma, Di Wang, Graham Neubig
Language Technologies Institute
Carnegie Mellon University
ctzhou,xuezhem,diwang,gneubig@cs.cmu.edu
<FigureHere>
Figure 1: An illustration of our method. Thicker lines represent higher mixture weights, linked to word frequency. The pink point is a continuous training sample in the Japanese embedding space while the blue point is a mapped point in the English space.
# $\operatorname{Abstract}$
Recent approaches to cross-lingual word embedding have generally been based on linear transformations between the sets of embedding vectors in the two languages. In this paper, we propose an approach that instead expresses the two monolingual embedding spaces as probability densities defined by a Gaussian mixture model, and matches the two densities using a method called normalizing flow. The method requires no explicit supervision, and can be learned with only a seed dictionary of words that have identical strings. We argue that this formulation has several intuitively attractive properties, particularly with the respect to improving robustness and generalization to mappings between difficult language pairs or word pairs. On a benchmark data set of bilingual lexicon induction and cross-lingual word similarity, our approach can achieve competitive or superior performance compared to stateof-the-art published results, with particularly strong results being found on etymologically distant and/or morphologically rich languages.$^{1}$
## 1 Introduction
跨语言单词嵌入在单个向量空间中表示不同语言的单词,以有利于在计算模型 (Upadhyay et al., 2016; Ruder et al., 2017) 中使用的方式捕获跨语言单词的语法和语义相似性。这些嵌人已被证明是跨语言 NLP 的有效工具,例如。g。将用高资源语言训练的模型转移到低资源语 言 ( Klementiev et al. , 2012; Guo et al. , 2015; Zoph et al. , 2016; Zhang et al. , 2018; Gu et al. , 2018)或无监督学习 (Artetxe et al., 2018c)
跨语言单词嵌入的学习有两种主要范式:“在线”和“离线”。“在线”方法直接从并行语料库
${{^{1}\text{Code/scrip}}}$ts can be found at https://github.com/
violet-zct$^{^{\prime}}/$De$\hat{\mathrm{Ma-BWE}}.$
(Hermann and Blunsom, 2014) 学习跨语言嵌人,可以选择使用单语语料库 (Gouws et al., 2015)进行增强。相反,“离线”方法从预训练的单语单词嵌入或特征向量 (Haghighi et al., 2008; Mikolov et al., 2013; Faruqui and Dyer, 2014)中学习双语映射函数或多语言投影。在这项工作中,我们专注于后一种离线方法
双语嵌入的目标是学习一个共享的嵌入空间,其中具有相似含义的单词被投影到附近的点。根据某些相似性度量(Mikolov et al., 2013; Faruqui and Dyer, 2014; Jawanpuria et al., 2018; Joulin et al., 2018), 早期的工作集中在监督方法上,可以最大程度地提高手动创建的字典中存在的单词嵌入的相似性。相反,最近提出的无监督方法将此问题框定为所选词汇表中整组离散单词向量之间某种形式的距离最小化,例如。g。Wasserstein 距离或 JensenShannon 散度 (Xu et al., 2018; Conneau et al., 2017; Zhang et al., 2017; Grave et al., 2018) 。尽管缺乏监督,但这些方法在某些语言对中显示出令人印象深刻的结果,但将嵌入空间视为一组离散点有一些局限性。首先,将嵌入表示为空间中的单个点没有考虑到学习嵌入所涉及的固有不确定性,这可能导致嵌人空间在训练运行 (Wendlandt et al., 2018) 之间存在显着差异。其次,即使在固定的嵌入空间中,预先
|
[
[
0.3720703125,
0.08612060546875,
0.63232421875,
0.08612060546875,
0.63232421875,
0.1009521484375,
0.3720703125,
0.1009521484375
],
[
0.267822265625,
0.13720703125,
0.744140625,
0.13720703125,
0.744140625,
0.1519775390625,
0.267822265625,
0.1519775390625
],
[
0.364501953125,
0.15380859375,
0.6455078125,
0.15380859375,
0.6455078125,
0.168701171875,
0.364501953125,
0.168701171875
],
[
0.385498046875,
0.169189453125,
0.62451171875,
0.169189453125,
0.62451171875,
0.18408203125,
0.385498046875,
0.18408203125
],
[
0.310546875,
0.1859130859375,
0.69775390625,
0.1859130859375,
0.69775390625,
0.2037353515625,
0.310546875,
0.2037353515625
],
[
0.5458984375,
0.262451171875,
0.6484375,
0.262451171875,
0.6484375,
0.273681640625,
0.5458984375,
0.273681640625
],
[
0.77099609375,
0.262451171875,
0.85791015625,
0.262451171875,
0.85791015625,
0.273681640625,
0.77099609375,
0.273681640625
],
[
0.744140625,
0.2880859375,
0.76416015625,
0.2880859375,
0.76416015625,
0.295654296875,
0.744140625,
0.295654296875
],
[
0.2626953125,
0.26318359375,
0.343505859375,
0.265380859375,
0.343505859375,
0.28076171875,
0.2626953125,
0.279052734375
],
[
0.14697265625,
0.292236328125,
0.4609375,
0.292236328125,
0.4609375,
0.30712890625,
0.14697265625,
0.30712890625
],
[
0.52294921875,
0.298583984375,
0.5341796875,
0.298583984375,
0.5341796875,
0.302734375,
0.52294921875,
0.302734375
],
[
0.64208984375,
0.2998046875,
0.64990234375,
0.3046875,
0.64208984375,
0.31005859375,
0.634765625,
0.3046875
],
[
0.84033203125,
0.300537109375,
0.86962890625,
0.300537109375,
0.86962890625,
0.308837890625,
0.84033203125,
0.308837890625
],
[
0.14697265625,
0.30712890625,
0.459228515625,
0.30712890625,
0.459228515625,
0.320556640625,
0.14697265625,
0.320556640625
],
[
0.1485595703125,
0.322509765625,
0.4609375,
0.322509765625,
0.4609375,
0.333251953125,
0.1485595703125,
0.333251953125
],
[
0.68408203125,
0.32373046875,
0.73486328125,
0.32373046875,
0.73486328125,
0.327880859375,
0.68408203125,
0.327880859375
],
[
0.736328125,
0.32373046875,
0.74462890625,
0.32373046875,
0.74462890625,
0.327880859375,
0.736328125,
0.327880859375
],
[
0.1485595703125,
0.33740234375,
0.45751953125,
0.33740234375,
0.45751953125,
0.347412109375,
0.1485595703125,
0.347412109375
],
[
0.57421875,
0.339111328125,
0.60205078125,
0.339111328125,
0.60205078125,
0.3515625,
0.57421875,
0.3515625
],
[
0.14697265625,
0.349853515625,
0.459228515625,
0.349853515625,
0.459228515625,
0.363525390625,
0.14697265625,
0.363525390625
],
[
0.84033203125,
0.347412109375,
0.86572265625,
0.347412109375,
0.86572265625,
0.359375,
0.84033203125,
0.359375
],
[
0.74658203125,
0.35693359375,
0.755859375,
0.35693359375,
0.755859375,
0.361083984375,
0.74658203125,
0.361083984375
],
[
0.14697265625,
0.363525390625,
0.459228515625,
0.363525390625,
0.459228515625,
0.377197265625,
0.14697265625,
0.377197265625
],
[
0.14697265625,
0.377685546875,
0.459228515625,
0.377685546875,
0.459228515625,
0.391357421875,
0.14697265625,
0.391357421875
],
[
0.515625,
0.3759765625,
0.8818359375,
0.3759765625,
0.8818359375,
0.385986328125,
0.515625,
0.385986328125
],
[
0.51123046875,
0.38720703125,
0.88330078125,
0.38720703125,
0.88330078125,
0.40087890625,
0.51123046875,
0.40087890625
],
[
0.1485595703125,
0.393798828125,
0.45751953125,
0.393798828125,
0.45751953125,
0.40380859375,
0.1485595703125,
0.40380859375
],
[
0.14697265625,
0.40625,
0.4609375,
0.40625,
0.4609375,
0.419189453125,
0.14697265625,
0.419189453125
],
[
0.5146484375,
0.402587890625,
0.88330078125,
0.402587890625,
0.88330078125,
0.416259765625,
0.5146484375,
0.416259765625
],
[
0.14697265625,
0.42041015625,
0.456787109375,
0.42041015625,
0.456787109375,
0.43408203125,
0.14697265625,
0.43408203125
],
[
0.5146484375,
0.41748046875,
0.88330078125,
0.41748046875,
0.88330078125,
0.43115234375,
0.5146484375,
0.43115234375
],
[
0.14697265625,
0.435302734375,
0.459228515625,
0.435302734375,
0.459228515625,
0.448974609375,
0.14697265625,
0.448974609375
],
[
0.5146484375,
0.43115234375,
0.88330078125,
0.43115234375,
0.88330078125,
0.4453125,
0.5146484375,
0.4453125
],
[
0.14697265625,
0.448974609375,
0.4609375,
0.448974609375,
0.4609375,
0.4619140625,
0.14697265625,
0.4619140625
],
[
0.515625,
0.44775390625,
0.59765625,
0.44775390625,
0.59765625,
0.458984375,
0.515625,
0.458984375
],
[
0.1485595703125,
0.463134765625,
0.45751953125,
0.463134765625,
0.45751953125,
0.476806640625,
0.1485595703125,
0.476806640625
],
[
0.1502685546875,
0.478515625,
0.456787109375,
0.478515625,
0.456787109375,
0.4892578125,
0.1502685546875,
0.4892578125
],
[
0.145263671875,
0.490478515625,
0.459228515625,
0.4912109375,
0.459228515625,
0.505859375,
0.145263671875,
0.5048828125
],
[
0.515625,
0.4892578125,
0.8818359375,
0.490478515625,
0.8818359375,
0.5048828125,
0.515625,
0.50439453125
],
[
0.145263671875,
0.50439453125,
0.4609375,
0.5048828125,
0.4609375,
0.51953125,
0.145263671875,
0.5185546875
],
[
0.515625,
0.50732421875,
0.8818359375,
0.50732421875,
0.8818359375,
0.52099609375,
0.515625,
0.52099609375
],
[
0.1485595703125,
0.521484375,
0.45751953125,
0.521484375,
0.45751953125,
0.5322265625,
0.1485595703125,
0.5322265625
],
[
0.51318359375,
0.5224609375,
0.8818359375,
0.5224609375,
0.8818359375,
0.5361328125,
0.51318359375,
0.5361328125
],
[
0.14697265625,
0.53369140625,
0.459228515625,
0.53369140625,
0.459228515625,
0.54736328125,
0.14697265625,
0.54736328125
],
[
0.5146484375,
0.5390625,
0.88330078125,
0.5390625,
0.88330078125,
0.552734375,
0.5146484375,
0.552734375
],
[
0.1485595703125,
0.5498046875,
0.456787109375,
0.5498046875,
0.456787109375,
0.56005859375,
0.1485595703125,
0.56005859375
],
[
0.51318359375,
0.552734375,
0.8818359375,
0.5546875,
0.8818359375,
0.5693359375,
0.51318359375,
0.56787109375
],
[
0.14697265625,
0.5625,
0.459228515625,
0.5625,
0.459228515625,
0.576171875,
0.14697265625,
0.576171875
],
[
0.51318359375,
0.5693359375,
0.88330078125,
0.57080078125,
0.88330078125,
0.5849609375,
0.51318359375,
0.58447265625
],
[
0.14697265625,
0.57666015625,
0.459228515625,
0.57666015625,
0.459228515625,
0.59033203125,
0.14697265625,
0.59033203125
],
[
0.14697265625,
0.59130859375,
0.45751953125,
0.59130859375,
0.45751953125,
0.60498046875,
0.14697265625,
0.60498046875
],
[
0.5146484375,
0.58740234375,
0.84619140625,
0.58740234375,
0.84619140625,
0.60107421875,
0.5146484375,
0.60107421875
],
[
0.14697265625,
0.60498046875,
0.459228515625,
0.60498046875,
0.459228515625,
0.619140625,
0.14697265625,
0.619140625
],
[
0.5322265625,
0.60400390625,
0.8818359375,
0.60400390625,
0.8818359375,
0.6181640625,
0.5322265625,
0.6181640625
],
[
0.14697265625,
0.619140625,
0.459228515625,
0.619140625,
0.459228515625,
0.6328125,
0.14697265625,
0.6328125
],
[
0.515625,
0.62158203125,
0.88330078125,
0.62158203125,
0.88330078125,
0.63525390625,
0.515625,
0.63525390625
],
[
0.14697265625,
0.63427734375,
0.45751953125,
0.63427734375,
0.45751953125,
0.64794921875,
0.14697265625,
0.64794921875
],
[
0.5146484375,
0.63720703125,
0.88330078125,
0.6357421875,
0.88330078125,
0.65087890625,
0.5146484375,
0.65185546875
],
[
0.145263671875,
0.646484375,
0.306396484375,
0.64794921875,
0.306396484375,
0.662109375,
0.145263671875,
0.6611328125
],
[
0.5146484375,
0.65283203125,
0.8818359375,
0.65283203125,
0.8818359375,
0.66650390625,
0.5146484375,
0.66650390625
],
[
0.15283203125,
0.6748046875,
0.267822265625,
0.6748046875,
0.267822265625,
0.689453125,
0.15283203125,
0.689453125
],
[
0.5146484375,
0.66943359375,
0.8818359375,
0.66943359375,
0.8818359375,
0.68310546875,
0.5146484375,
0.68310546875
],
[
0.12005615234375,
0.6767578125,
0.1318359375,
0.6767578125,
0.1318359375,
0.68603515625,
0.12005615234375,
0.68603515625
],
[
0.515625,
0.68603515625,
0.8818359375,
0.68603515625,
0.8818359375,
0.69970703125,
0.515625,
0.69970703125
],
[
0.12005615234375,
0.70068359375,
0.489501953125,
0.70068359375,
0.489501953125,
0.71435546875,
0.12005615234375,
0.71435546875
],
[
0.5146484375,
0.70068359375,
0.88330078125,
0.70166015625,
0.88330078125,
0.71630859375,
0.5146484375,
0.71533203125
],
[
0.12005615234375,
0.71630859375,
0.48779296875,
0.71630859375,
0.48779296875,
0.72998046875,
0.12005615234375,
0.72998046875
],
[
0.515625,
0.71875,
0.880859375,
0.71875,
0.880859375,
0.732421875,
0.515625,
0.732421875
],
[
0.12005615234375,
0.732421875,
0.48779296875,
0.732421875,
0.48779296875,
0.7451171875,
0.12005615234375,
0.7451171875
],
[
0.515625,
0.73388671875,
0.8818359375,
0.73388671875,
0.8818359375,
0.74755859375,
0.515625,
0.74755859375
],
[
0.12005615234375,
0.74755859375,
0.48779296875,
0.74755859375,
0.48779296875,
0.76123046875,
0.12005615234375,
0.76123046875
],
[
0.515625,
0.75048828125,
0.8759765625,
0.75048828125,
0.8759765625,
0.765625,
0.515625,
0.765625
],
[
0.12005615234375,
0.76318359375,
0.48779296875,
0.76318359375,
0.48779296875,
0.77685546875,
0.12005615234375,
0.77685546875
],
[
0.5146484375,
0.7666015625,
0.88330078125,
0.7666015625,
0.88330078125,
0.77978515625,
0.5146484375,
0.77978515625
],
[
0.118408203125,
0.78076171875,
0.489501953125,
0.77978515625,
0.489501953125,
0.79443359375,
0.118408203125,
0.7958984375
],
[
0.515625,
0.7822265625,
0.88330078125,
0.7822265625,
0.88330078125,
0.79638671875,
0.515625,
0.79638671875
],
[
0.118408203125,
0.79638671875,
0.489501953125,
0.7958984375,
0.489501953125,
0.81005859375,
0.118408203125,
0.81103515625
],
[
0.515625,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.515625,
0.8125
],
[
0.12005615234375,
0.8125,
0.490234375,
0.8125,
0.490234375,
0.82666015625,
0.12005615234375,
0.82666015625
],
[
0.5146484375,
0.81396484375,
0.8818359375,
0.8134765625,
0.8818359375,
0.82763671875,
0.5146484375,
0.8291015625
],
[
0.12176513671875,
0.830078125,
0.462646484375,
0.830078125,
0.462646484375,
0.84033203125,
0.12176513671875,
0.84033203125
],
[
0.5283203125,
0.830078125,
0.8818359375,
0.83056640625,
0.8818359375,
0.845703125,
0.5283203125,
0.84423828125
],
[
0.1376953125,
0.84423828125,
0.48779296875,
0.84423828125,
0.48779296875,
0.85791015625,
0.1376953125,
0.85791015625
],
[
0.515625,
0.84716796875,
0.8818359375,
0.84716796875,
0.8818359375,
0.86083984375,
0.515625,
0.86083984375
],
[
0.12005615234375,
0.86083984375,
0.489501953125,
0.86083984375,
0.489501953125,
0.87451171875,
0.12005615234375,
0.87451171875
],
[
0.515625,
0.86328125,
0.8818359375,
0.86328125,
0.8818359375,
0.876953125,
0.515625,
0.876953125
],
[
0.139404296875,
0.8818359375,
0.48779296875,
0.8828125,
0.48779296875,
0.89794921875,
0.139404296875,
0.896484375
],
[
0.5146484375,
0.87890625,
0.8818359375,
0.87890625,
0.8818359375,
0.8935546875,
0.5146484375,
0.8935546875
],
[
0.12005615234375,
0.8955078125,
0.280517578125,
0.8955078125,
0.280517578125,
0.9091796875,
0.12005615234375,
0.9091796875
],
[
0.515625,
0.8955078125,
0.88330078125,
0.8955078125,
0.88330078125,
0.9091796875,
0.515625,
0.9091796875
]
] |
[
"双语单词嵌人的密度匹配",
"Chunting Zhou, Xuezhe Ma, Di Wang, Graham Neubig",
"Language Technologies Institute",
"Carnegie Mellon University",
"ctzhou,xuezhem,diwang.gneubig@cs.cmu.edu",
"JapaneseSpace",
"EnglishSpace",
"dog",
"Abstract",
"Recent approaches to cross-lingual word",
"O",
"",
"canine",
"embedding have generally been based on",
"linear transformations between the sets of",
"pnotunot",
"0",
"embedding vectors in thetwo languages.",
"O",
"In this paper, we propose an approach that",
"bird",
"1",
"instead expresses the two monolingual em-",
"bedding spaces as probability densities de-",
"Figure l: An illustration of our method. Thicker",
"lines represent higher mixture weights, linked to",
"fined by a Gaussian mixture model and",
"matches the two densities using a method",
"word frequency. The pink point is a continuous",
"called normalizing flow. The method re-",
"training sample in the Japanese embedding space",
"quires no explicit supervision, and can",
"while the blue point is a mapped point in the En-",
"be learned with only a seed dictionary of",
"glish space.",
"words that have identical strings. We ar-",
"gue that this formulation has several in-",
"tuitively attractive properties, particularly",
"(HermannandBlunsom,2014)学习跨语言嵌",
"with the respect to improving robustness",
"人,可以选择使用单语语料库(Gouws etal.,",
"and generalization to mappings between",
"2015)进行增强。相反,“离线”方法从预训练",
"dificult language pairs or word pairs. On a",
"的单语单词嵌人或特征向量(Haghighi et al.,",
"benchmarkdataset of bilingual lexicon in-",
"2008; Mikolov et al., 2013; Faruqui and Dyer,",
"duction and cross-lingual word similarity,",
"2014)中学习双语映射函数或多语言投影。在",
"our approach can achieve competitive or",
"superior performance compared to state-",
"这项工作中,我们专注于后一种离线方法",
"of-the-art published results, with partic-",
"双语嵌入的目标是学习一个共享的嵌入空",
"ularly strong results being found on et-",
"间,其中具有相似含义的单词被投影到附近的",
"ymologically distant and/or morphologi-",
"点。根据某些相似性度量(Mikolovetal.,2013;",
"cally rich languages.",
"Faruqui and Dyer, 2014; Jawanpuria et al..",
"Introduction",
"2018Joulinetal,2018),早期的工作集中",
"1",
"在监督方法上,可以最大程度地提高手动创建",
"跨语言单词嵌入在单个向量空间中表示不同",
"的字典中存在的单词嵌入的相似性。。相反,最",
"语言的单词,以有利于在计算模型(Upadhyay",
"近提出的无监督方法将此问题框定为所选词汇",
"etal.,2016;Ruderetal.,2017)中使用的方式",
"表中整组离散单词向量之间某种形式的距离最",
"捕获跨语言单词的语法和语义相似性。这些嵌",
"小化,例如。g。Wasserstein距离或Jensen-",
"人已被证明是跨语言NLP的有效工具,例如。",
"Shannon散度(Xuet al.,2018;Conneau et al.,",
"g。将用高资源语言训练的模型转移到低资源",
"2017; Zhang et al., 2017; Grave et al., 2018)。",
"语言 (Klementiev et al., 2012; Guo et al., 2015;",
"尽管缺乏监督,但这些方法在某些语言对中显",
"Zoph et al., 2016; Zhang et al., 2018; Gu et al..",
"示出令人印象深刻的结果,但将嵌人空间视为",
"2018)或无监督学寸(Artetxeetal..2018c)",
"组离散点有一些局限性。首先,将嵌入表示",
"跨语言单词嵌人的学习有两种主要范式:“在",
"为空间中的单个点没有考虑到学习嵌人所涉及",
"线”和“离线”。“在线”方法直接从并行语料库",
"的固有不确定性,这可能导致嵌入空间在训练",
"ICode/scripts can be found at https:/ /github.com/",
"运行(Wendlandtetal.,2018)之间存在显着",
"violet-zct/DeMa-BWE",
"差异。其次,即使在固定的嵌入空间中,预先"
] |
{
"arxiv_id": "1904.02343",
"language": "zh",
"page_idx": 0
}
|
||
1904.02343-zh-1
|
1904.02343-zh-1.jpg
|
训练的词汇中实际存在的单词周围的点通常也
是嵌入空间中的连贯点
在这项工作中,我们提出了一种用于双语单词嵌入的密度匹配方法(DeMa-BWE)。我们不是将嵌入空间视为离散点的集合,而是将其表示为单词向量上整个连续空间上的概率密度函数。我们假设单语嵌入空间中的每个向量都是从高斯混合模型生成的,其组件以预训练的单词嵌入为中心(图。1),然后我们的方法学习双语映射,该映射最有效地匹配两个单语嵌人空间的两个概率密度
要在此范例中学习,而不是将预训练的单词嵌入用作固定的训练样本,在每个训练步骤中,我们都从高斯混合空间获得样本。因此, 我们的方法是探索整个嵌人空间,而不仅仅是为观察到的单词分配的特定点。为了计算变换后的样本的密度,我们在目标词嵌入上使用体积保持可逆变换,这使得有可能以原则和有效的方式执行密度匹配 (Rezende and Mohamed, 2015; Papamakarios et al. , 2017; He et al.,2018)。在模型中,我们还有三个额外的成分被证明对稳定训练很有用:(1)反向翻译损失,使模型可以在两个方向上共同学习映射;(2)相同单词匹配损失,通过鼓励模型将具有相同拼写的单词映射到空间中的相似位置来提供弱监督;(3)基于频率匹配的高斯混合权重,该权重考虑了对齐单词的近似频率
经验结果很强;我们的方法能够有效地学习双语嵌入,这些双语嵌人在 MUSE 数据集(Conneau et al., 2017) 上比在双语单词翻译和跨语言单词相似性任务上的最新发布结果具有竞争力或更优的结果。对于词源遥远或形态丰富的语言,结果尤其令人鼓舞,因为我们的模型能够通过将空间视为连续空间来探索嵌入空间上的集成。此外,与以前的无监督方法通常对初始化敏感或需要复杂的优化过程不同,我们的方法是健壮的,不需要特殊的初始化
2 Background: Normalizing Flows
在本节中,我们将简要描述标准化流-DeMa-
BWE 的主干
如引言中所述并在后面详细介绍,我们的模型基于匹配两个概率密度函数,一个表示源嵌入空间,一个表示目标嵌入空间。要在这个框架中学习,我们将使用规范流(Rezende and Mohamed, 2015) 的 概 念 。我 们 将 在 这 里 3.2 Density Estimation in Monolingual 简 要 解 释 它 们 , 但 由 于 空 间 限 制 , 请 读 者 参 考 Space
Rezende and Mohamed (2015)以获取详细信
息
具体地,令$u$ 表示高维随机向量 (e。g。表示源嵌入空间中的点),并且$z$是与$u$ (e。g
标嵌入空间中的一个点)。基于流的生成模型(Kingma et al., 2016; Kingma and Dhariwal, 2018)学习$f_{\boldsymbol{\theta}}(\boldsymbol{z})$从布的可逆变换。模型的生成故事定义为:
(1)
$$z\sim p_{\theta(z),\quad u=f_{\theta(z)}}$$
其中$p_{\boldsymbol{\theta}(\boldsymbol{z})}$是先验分布。此先验可以是任何分布,我们可以为其可追踪地计算样本点的密度$z$ 。这种分布的常见选择是球面多元高斯分布: $p_{\boldsymbol{\theta}(\boldsymbol{z})=\mathcal{N}(\boldsymbol{z};0,\boldsymbol$ 函数$f_{\boldsymbol{\theta}(\cdot)}$是可逆的,则使用变量变化规则,$\boldsymbol{u}$ 的概率密度可以计算为:
$$p_{\boldsymbol{\theta}}(\boldsymbol{u})=p_{\boldsymbol{\theta}(\boldsymbol{z})|\det(J(f^{-1}(\boldsymbol{u})))|}$$
(2)
其中$\det(J(f^{-1}(\boldsymbol{u})))$是函数逆的雅可比矩阵的行列式。该术语解释了$f$ 局部扩展或收缩 $z$ 区域的方式,并强制了函数的可逆性。“归一化流”是这种可逆变换的级联序列,它是通过在观察到的数据点$u$上最大化方程(2)中的密度来学习的。这些模型的一个计算问题在于计算雅可比矩阵,这在一般情况下是昂贵的。一种常见的方法是选择其 Jacobian 为三角矩阵的变换,从而使该计算易于处理$\overline{\mathrm{E}}($Dinh et al., 2016; Papamakarios et al., 2017) 。
# 3 Proposed Method
在本节中,我们将介绍我们的方法中使用的符号,描述我们为单语嵌人空间定义的先验,然后详细说明我们的密度匹配方法
3.1 Notation
给定两组独立训练的单语嵌人,双语嵌入映射的问题是学习一个映射函数,该函数将两个集合在共享空间中对齐。令$x\in\mathbb{R}^d,\boldsymbol{y}\in\mathbb{R}^d$分别表示源语言和目标语言嵌入空间中的向量。令$x_i$和$y_j$分别表示预训练的源和目标词汇表中的实际单词。单词按其在单语语料库中的出现次数进行排序,单词的索引表示其排名。我们使用$x_i$和$y_j$分别表示源语言中单词$x_i$和目标语言中单词$y_j$的预训练单词嵌入。给定一对语言$s$ 和 $t$ ,我们的方法学习两个映射函数:将源嵌人映射到目标空间的$f_xy$和在相反方向上给出映射的$f_{yx}$
为了学习映射,我们将源嵌入空间中的向量$x$ 投影到目标空间$y$中。我们通过最大化源空间中数据点的密度来学习这种映射。可以使用上述归一化流的思想来计算密度。因此,对于单
|
[
[
0.12005615234375,
0.07598876953125,
0.489501953125,
0.07598876953125,
0.489501953125,
0.08905029296875,
0.12005615234375,
0.08905029296875
],
[
0.486083984375,
0.08074951171875,
0.490234375,
0.08074951171875,
0.490234375,
0.08612060546875,
0.486083984375,
0.08612060546875
],
[
0.490234375,
0.08074951171875,
0.509765625,
0.0789794921875,
0.51123046875,
0.08612060546875,
0.491943359375,
0.0885009765625
],
[
0.515625,
0.0789794921875,
0.880859375,
0.0789794921875,
0.880859375,
0.08905029296875,
0.515625,
0.08905029296875
],
[
0.118408203125,
0.0926513671875,
0.30322265625,
0.09320068359375,
0.30322265625,
0.10809326171875,
0.118408203125,
0.10687255859375
],
[
0.515625,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.515625,
0.10687255859375
],
[
0.1376953125,
0.10986328125,
0.48779296875,
0.10986328125,
0.48779296875,
0.12353515625,
0.1376953125,
0.12353515625
],
[
0.51318359375,
0.1092529296875,
0.880859375,
0.1092529296875,
0.880859375,
0.122314453125,
0.51318359375,
0.122314453125
],
[
0.118408203125,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.118408203125,
0.1395263671875
],
[
0.51318359375,
0.1258544921875,
0.8330078125,
0.1258544921875,
0.8330078125,
0.1395263671875,
0.51318359375,
0.1395263671875
],
[
0.12005615234375,
0.142578125,
0.48779296875,
0.142578125,
0.48779296875,
0.1561279296875,
0.12005615234375,
0.1561279296875
],
[
0.62060546875,
0.155029296875,
0.77685546875,
0.1602783203125,
0.77490234375,
0.17578125,
0.61865234375,
0.17041015625
],
[
0.85791015625,
0.1561279296875,
0.8818359375,
0.1561279296875,
0.8818359375,
0.169189453125,
0.85791015625,
0.169189453125
],
[
0.12176513671875,
0.174560546875,
0.48779296875,
0.174560546875,
0.48779296875,
0.188232421875,
0.12176513671875,
0.188232421875
],
[
0.12005615234375,
0.1591796875,
0.48779296875,
0.1591796875,
0.48779296875,
0.1728515625,
0.12005615234375,
0.1728515625
],
[
0.12176513671875,
0.1923828125,
0.486083984375,
0.1923828125,
0.486083984375,
0.203125,
0.12176513671875,
0.203125
],
[
0.5146484375,
0.18701171875,
0.8818359375,
0.18701171875,
0.8818359375,
0.201904296875,
0.5146484375,
0.201904296875
],
[
0.118408203125,
0.207275390625,
0.48779296875,
0.207275390625,
0.48779296875,
0.2203369140625,
0.118408203125,
0.2203369140625
],
[
0.51318359375,
0.203125,
0.880859375,
0.203125,
0.880859375,
0.2161865234375,
0.51318359375,
0.2161865234375
],
[
0.12005615234375,
0.22265625,
0.490234375,
0.22265625,
0.490234375,
0.236328125,
0.12005615234375,
0.236328125
],
[
0.5146484375,
0.2197265625,
0.88330078125,
0.2197265625,
0.88330078125,
0.2327880859375,
0.5146484375,
0.2327880859375
],
[
0.12005615234375,
0.2392578125,
0.3046875,
0.2392578125,
0.3046875,
0.2529296875,
0.12005615234375,
0.2529296875
],
[
0.51123046875,
0.236328125,
0.88330078125,
0.232177734375,
0.88330078125,
0.248779296875,
0.51123046875,
0.2529296875
],
[
0.515625,
0.251708984375,
0.88330078125,
0.251708984375,
0.88330078125,
0.2666015625,
0.515625,
0.2666015625
],
[
0.1376953125,
0.25830078125,
0.48779296875,
0.25830078125,
0.48779296875,
0.268310546875,
0.1376953125,
0.268310546875
],
[
0.51318359375,
0.2666015625,
0.7060546875,
0.2666015625,
0.7060546875,
0.27978515625,
0.51318359375,
0.27978515625
],
[
0.12005615234375,
0.2724609375,
0.489501953125,
0.2724609375,
0.489501953125,
0.2861328125,
0.12005615234375,
0.2861328125
],
[
0.12005615234375,
0.287353515625,
0.48779296875,
0.287353515625,
0.48779296875,
0.300537109375,
0.12005615234375,
0.300537109375
],
[
0.59033203125,
0.297607421875,
0.80419921875,
0.300537109375,
0.80419921875,
0.3154296875,
0.59033203125,
0.312255859375
],
[
0.8564453125,
0.297607421875,
0.8818359375,
0.297607421875,
0.8818359375,
0.311279296875,
0.8564453125,
0.311279296875
],
[
0.12005615234375,
0.320556640625,
0.48779296875,
0.320556640625,
0.48779296875,
0.334228515625,
0.12005615234375,
0.334228515625
],
[
0.118408203125,
0.302734375,
0.486083984375,
0.302734375,
0.486083984375,
0.31640625,
0.118408203125,
0.31640625
],
[
0.5146484375,
0.32666015625,
0.8818359375,
0.32666015625,
0.8818359375,
0.34033203125,
0.5146484375,
0.34033203125
],
[
0.118408203125,
0.3349609375,
0.48779296875,
0.3349609375,
0.48779296875,
0.3486328125,
0.118408203125,
0.3486328125
],
[
0.5146484375,
0.342529296875,
0.8818359375,
0.342529296875,
0.8818359375,
0.355712890625,
0.5146484375,
0.355712890625
],
[
0.12005615234375,
0.350830078125,
0.48779296875,
0.350830078125,
0.48779296875,
0.364013671875,
0.12005615234375,
0.364013671875
],
[
0.51708984375,
0.361083984375,
0.8818359375,
0.361083984375,
0.8818359375,
0.371826171875,
0.51708984375,
0.371826171875
],
[
0.12005615234375,
0.3681640625,
0.489501953125,
0.3681640625,
0.489501953125,
0.3818359375,
0.12005615234375,
0.3818359375
],
[
0.515625,
0.3759765625,
0.88330078125,
0.3759765625,
0.88330078125,
0.3896484375,
0.515625,
0.3896484375
],
[
0.12005615234375,
0.385498046875,
0.48779296875,
0.385498046875,
0.48779296875,
0.3984375,
0.12005615234375,
0.3984375
],
[
0.515625,
0.392578125,
0.87890625,
0.392578125,
0.87890625,
0.402587890625,
0.515625,
0.402587890625
],
[
0.12176513671875,
0.402587890625,
0.486083984375,
0.402587890625,
0.486083984375,
0.413330078125,
0.12176513671875,
0.413330078125
],
[
0.5146484375,
0.407958984375,
0.8818359375,
0.407958984375,
0.8818359375,
0.421630859375,
0.5146484375,
0.421630859375
],
[
0.12005615234375,
0.41748046875,
0.48779296875,
0.41748046875,
0.48779296875,
0.43115234375,
0.12005615234375,
0.43115234375
],
[
0.51318359375,
0.42333984375,
0.85791015625,
0.42333984375,
0.85791015625,
0.43701171875,
0.51318359375,
0.43701171875
],
[
0.118408203125,
0.432861328125,
0.486083984375,
0.432861328125,
0.486083984375,
0.446533203125,
0.118408203125,
0.446533203125
],
[
0.5146484375,
0.439453125,
0.8818359375,
0.439453125,
0.8818359375,
0.453125,
0.5146484375,
0.453125
],
[
0.118408203125,
0.448974609375,
0.486083984375,
0.448974609375,
0.486083984375,
0.4619140625,
0.118408203125,
0.4619140625
],
[
0.5146484375,
0.4560546875,
0.88330078125,
0.4560546875,
0.88330078125,
0.4697265625,
0.5146484375,
0.4697265625
],
[
0.12005615234375,
0.465576171875,
0.489501953125,
0.465576171875,
0.489501953125,
0.478515625,
0.12005615234375,
0.478515625
],
[
0.51123046875,
0.471435546875,
0.79443359375,
0.47265625,
0.79443359375,
0.48681640625,
0.51123046875,
0.486328125
],
[
0.12005615234375,
0.48095703125,
0.48779296875,
0.48095703125,
0.48779296875,
0.49462890625,
0.12005615234375,
0.49462890625
],
[
0.12005615234375,
0.49755859375,
0.450927734375,
0.49755859375,
0.450927734375,
0.51123046875,
0.12005615234375,
0.51123046875
],
[
0.515625,
0.5029296875,
0.54833984375,
0.5029296875,
0.54833984375,
0.51123046875,
0.515625,
0.51123046875
],
[
0.54736328125,
0.49951171875,
0.7060546875,
0.498779296875,
0.7060546875,
0.51318359375,
0.54736328125,
0.51416015625
],
[
0.1368408203125,
0.515625,
0.48779296875,
0.515625,
0.48779296875,
0.529296875,
0.1368408203125,
0.529296875
],
[
0.12005615234375,
0.52978515625,
0.489501953125,
0.52978515625,
0.489501953125,
0.54443359375,
0.12005615234375,
0.54443359375
],
[
0.5146484375,
0.525390625,
0.8818359375,
0.525390625,
0.8818359375,
0.5390625,
0.5146484375,
0.5390625
],
[
0.12176513671875,
0.5458984375,
0.48779296875,
0.5458984375,
0.48779296875,
0.55859375,
0.12176513671875,
0.55859375
],
[
0.515625,
0.54150390625,
0.8818359375,
0.54150390625,
0.8818359375,
0.5546875,
0.515625,
0.5546875
],
[
0.12005615234375,
0.5625,
0.48779296875,
0.5625,
0.48779296875,
0.576171875,
0.12005615234375,
0.576171875
],
[
0.515625,
0.55810546875,
0.7734375,
0.55810546875,
0.7734375,
0.57177734375,
0.515625,
0.57177734375
],
[
0.12005615234375,
0.5791015625,
0.484375,
0.5791015625,
0.484375,
0.5888671875,
0.12005615234375,
0.5888671875
],
[
0.51318359375,
0.5849609375,
0.634765625,
0.5849609375,
0.634765625,
0.5986328125,
0.51318359375,
0.5986328125
],
[
0.12005615234375,
0.59423828125,
0.48779296875,
0.59423828125,
0.48779296875,
0.60791015625,
0.12005615234375,
0.60791015625
],
[
0.51318359375,
0.60498046875,
0.880859375,
0.60498046875,
0.880859375,
0.6181640625,
0.51318359375,
0.6181640625
],
[
0.12176513671875,
0.6123046875,
0.48779296875,
0.6123046875,
0.48779296875,
0.62255859375,
0.12176513671875,
0.62255859375
],
[
0.51318359375,
0.62060546875,
0.880859375,
0.62060546875,
0.880859375,
0.63525390625,
0.51318359375,
0.63525390625
],
[
0.12176513671875,
0.62890625,
0.486083984375,
0.62890625,
0.486083984375,
0.6396484375,
0.12176513671875,
0.6396484375
],
[
0.5146484375,
0.63720703125,
0.8818359375,
0.63720703125,
0.8818359375,
0.65087890625,
0.5146484375,
0.65087890625
],
[
0.12005615234375,
0.6435546875,
0.489501953125,
0.6435546875,
0.489501953125,
0.65673828125,
0.12005615234375,
0.65673828125
],
[
0.5146484375,
0.65283203125,
0.880859375,
0.65283203125,
0.880859375,
0.66748046875,
0.5146484375,
0.66748046875
],
[
0.12005615234375,
0.66015625,
0.45166015625,
0.66015625,
0.45166015625,
0.67333984375,
0.12005615234375,
0.67333984375
],
[
0.5146484375,
0.67041015625,
0.8818359375,
0.67041015625,
0.8818359375,
0.68408203125,
0.5146484375,
0.68408203125
],
[
0.151123046875,
0.6884765625,
0.43408203125,
0.6904296875,
0.43408203125,
0.705078125,
0.151123046875,
0.703125
],
[
0.515625,
0.68603515625,
0.8818359375,
0.68603515625,
0.8818359375,
0.69970703125,
0.515625,
0.69970703125
],
[
0.515625,
0.703125,
0.880859375,
0.703125,
0.880859375,
0.71630859375,
0.515625,
0.71630859375
],
[
0.12005615234375,
0.69140625,
0.156982421875,
0.69140625,
0.156982421875,
0.703125,
0.12005615234375,
0.703125
],
[
0.12005615234375,
0.71728515625,
0.489501953125,
0.71728515625,
0.489501953125,
0.73095703125,
0.12005615234375,
0.73095703125
],
[
0.5146484375,
0.71728515625,
0.880859375,
0.71875,
0.880859375,
0.73291015625,
0.5146484375,
0.732421875
],
[
0.12005615234375,
0.73291015625,
0.2225341796875,
0.73291015625,
0.2225341796875,
0.74462890625,
0.12005615234375,
0.74462890625
],
[
0.515625,
0.7353515625,
0.86376953125,
0.7353515625,
0.86376953125,
0.7490234375,
0.515625,
0.7490234375
],
[
0.1376953125,
0.7490234375,
0.486083984375,
0.7490234375,
0.486083984375,
0.7626953125,
0.1376953125,
0.7626953125
],
[
0.5146484375,
0.751953125,
0.87744140625,
0.751953125,
0.87744140625,
0.7626953125,
0.5146484375,
0.7626953125
],
[
0.12005615234375,
0.7666015625,
0.489501953125,
0.7666015625,
0.489501953125,
0.77978515625,
0.12005615234375,
0.77978515625
],
[
0.5146484375,
0.76708984375,
0.8818359375,
0.76708984375,
0.8818359375,
0.78076171875,
0.5146484375,
0.78076171875
],
[
0.12005615234375,
0.783203125,
0.484375,
0.783203125,
0.484375,
0.79345703125,
0.12005615234375,
0.79345703125
],
[
0.51123046875,
0.7822265625,
0.69287109375,
0.783203125,
0.69287109375,
0.79736328125,
0.51123046875,
0.79638671875
],
[
0.118408203125,
0.79638671875,
0.48779296875,
0.79736328125,
0.48779296875,
0.81103515625,
0.118408203125,
0.81005859375
],
[
0.12005615234375,
0.81396484375,
0.489501953125,
0.81396484375,
0.489501953125,
0.82763671875,
0.12005615234375,
0.82763671875
],
[
0.51123046875,
0.81005859375,
0.84619140625,
0.81005859375,
0.84619140625,
0.82373046875,
0.51123046875,
0.82373046875
],
[
0.12005615234375,
0.83056640625,
0.48779296875,
0.83056640625,
0.48779296875,
0.84423828125,
0.12005615234375,
0.84423828125
],
[
0.55517578125,
0.826171875,
0.60546875,
0.826171875,
0.60546875,
0.84033203125,
0.55517578125,
0.84033203125
],
[
0.12005615234375,
0.8466796875,
0.489501953125,
0.8466796875,
0.489501953125,
0.85986328125,
0.12005615234375,
0.85986328125
],
[
0.495361328125,
0.8515625,
0.5087890625,
0.8515625,
0.5087890625,
0.85498046875,
0.495361328125,
0.85498046875
],
[
0.5146484375,
0.84716796875,
0.88330078125,
0.84716796875,
0.88330078125,
0.86083984375,
0.5146484375,
0.86083984375
],
[
0.12176513671875,
0.8642578125,
0.1376953125,
0.8642578125,
0.1376953125,
0.87451171875,
0.12176513671875,
0.87451171875
],
[
0.5146484375,
0.8642578125,
0.8818359375,
0.8642578125,
0.8818359375,
0.87744140625,
0.5146484375,
0.87744140625
],
[
0.139404296875,
0.8798828125,
0.486083984375,
0.8798828125,
0.486083984375,
0.8935546875,
0.139404296875,
0.8935546875
],
[
0.515625,
0.8798828125,
0.8818359375,
0.8798828125,
0.8818359375,
0.8935546875,
0.515625,
0.8935546875
],
[
0.12005615234375,
0.896484375,
0.48779296875,
0.896484375,
0.48779296875,
0.91015625,
0.12005615234375,
0.91015625
],
[
0.497802734375,
0.8994140625,
0.50537109375,
0.8994140625,
0.50537109375,
0.90380859375,
0.497802734375,
0.90380859375
],
[
0.51318359375,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.51318359375,
0.9091796875
]
] |
[
"训练的词汇中实际存在的单词周围的点通常也",
"",
"",
"标嵌入空间中的一个点)。基于流的生成模型",
"是嵌入空间中的连贯点",
"(Kingma et al., 2016; Kingma and Dhariwal,",
"在这项工作中,我们提出了一种用于双语单",
"2018)学习fe(z)从z上的分布到u上的分",
"词嵌入的密度匹配方法(DeMa-BWE)。我们",
"布的可逆变换。模型的生成故事定义为",
"不是将嵌人空间视为离散点的集合,而是将其",
"z ~ Pe(z),u=fe(z)",
"(1)",
"函数。我们假设单语嵌入空间中的每个向量都",
"表示为单词向量上整个连续空间上的概率密度",
"是从高斯混合模型生成的,其组件以预训练的",
"其中Pe(z)是先验分布。此先验可以是任何分",
"单词嵌入为中心(图。1),然后我们的方法学",
"布,我们可以为其可追踪地计算样本点的密度",
"习双语映射,该映射最有效地匹配两个单语嵌",
"2。这种分布的常见选择是球面多元高斯分布",
"入空间的两个概率密度",
"pe(z)=N(z;0,I)(Dinh et al.,2016)假设变换",
"函数fe()是可逆的,则使用变量变化规则,u",
"要在此范例中学习,而不是将预训练的单词",
"的概率密度可以计算为:",
"嵌人用作固定的训练样本,在每个训练步骤",
"中,我们都从高斯混合空间获得样本。因此,",
"pe(u) = Pe(z)det(J(f-1(u)I",
"(2)",
"是为观察到的单词分配的特定点。为了计算",
"我们的方法是探索整个嵌人空间,而不仅仅",
"其中det(J(f-1(u)))是函数逆的雅可比矩阵",
"变换后的样本的密度,我们在目标词嵌入上",
"的行列式。该术语解释了局部扩展或收缩z",
"使用体积保持可逆变换,这使得有可能以原",
"区域的方式,并强制了函数的可逆性。“归一化",
"则和有效的方式执行密度匹配(Rezendeand",
"流”是这种可逆变换的级联序列,它是通过在",
"Mohamed, 2015; Papamakarios et al., 2017; He",
"观察到的数据点u上最大化方程(2)中的密",
"etal.,2018)。在模型中,我们还有三个额外",
"度来学习的。这些模型的一个计算问题在于计",
"的成分被证明对稳定训练很有用:(1)反向翻",
"算雅可比矩阵,这在一般情况下是昂贵的。",
"译损失,使模型可以在两个方向上共同学习映",
"种常见的方法是选择其Jacobian为三角矩阵",
"射;(2)相同单词匹配损失,通过鼓励模型将",
"的变换,从而使该计算易于处理E(Dinhetal.,",
"具有相同拼写的单词映射到空间中的相似位置",
"2016; Papamakarios et al.,2017)。",
"来提供弱监督;(3)基于频率匹配的高斯混合",
"权重,该权重考虑了对齐单词的近似频率",
"3",
"Proposed Method",
"经验结果很强;我们的方法能够有效地学",
"习双语嵌人,这些双语嵌入在MUSE数据集",
"在本节中,我们将介绍我们的方法中使用的符",
"(Conneauetal.,2017)上比在双语单词翻译和",
"号,描述我们为单语嵌人空间定义的先验,然",
"跨语言单词相似性任务上的最新发布结果具有",
"后详细说明我们的密度匹配方法",
"竞争力或更优的结果。对于词源遥远或形态丰",
"3.1 Notation",
"富的语言,结果尤其令人鼓舞,因为我们的模",
"给定两组独立训练的单语嵌入,双语嵌入映射",
"型能够通过将空间视为连续空间来探索嵌入空",
"的问题是学习一个映射函数,该函数将两个集",
"间上的集成。此外,与以前的无监督方法通常",
"合在共享空间中对齐。令ERd,yERd分别",
"对初始化敏感或需要复杂的优化过程不同,我",
"表示源语言和目标语言嵌人空间中的向量。令",
"们的方法是健壮的,不需要特殊的初始化",
"ci和yi分别表示预训练的源和目标词汇表中",
"Background:Normalizing Flows",
"的实际单词。单词按其在单语语料库中的出现",
"次数进行排序,单词的索引表示其排名。我们",
"2",
"在本节中,我们将简要描述标准化流-DeMa-",
"使用ai和yi分别表示源语言中单词ci和目",
"BWE的主干",
"标语言中单词9i的预训练单词嵌入。给定",
"如引言中所述并在后面详细介绍,我们的",
"对语言s和t:我们的方法学习两个映射函",
"模型基于匹配两个概率密度函数,一个表示",
"数:将源嵌人映射到目标空间的fay和在相反",
"源嵌入空间,一个表示目标嵌入空间。要在这",
"方向上给出映射的fyr",
"个框架中学习,我们将使用规范流(Rezende",
"andMohamed,2015)的概念。我们将在这里",
"3.2Density Estimation in Monolingual",
"简要解释它们,但由于空间限制,请读者参考",
"Space",
"RezendeandMohamed(2015)以获取详细信",
"",
"为了学习映射,我们将源嵌人空间中的向量",
"息",
"投影到目标空间y中。我们通过最大化源空间",
"具体地,令u表示高维随机向量(e。g。表示",
"中数据点的密度来学习这种映射。可以使用上",
"源嵌入空间中的点),并且z是与u(e。g。目",
"",
"述归一化流的思想来计算密度。因此,对于单"
] |
{
"arxiv_id": "1904.02343",
"language": "zh",
"page_idx": 1
}
|
||
1904.02343-zh-2
|
1904.02343-zh-2.jpg
|
语嵌人空间,我们需要定义易处理的密度函数
$p(x)$和$p(\boldsymbol{y})$
虽然可以设想任何数量的函数来计算这些密度,但在当前方法中,我们选择使用高斯混合模型 (GMM), 其中高斯分量以每个预训练单词嵌人为中心。这是由以下假设引起的:嵌入很可能出现在其他嵌入的邻域中,其中我们将“邻域”定义为欧几里得空间中的紧密度,并且每个邻域的不确定性为高斯。具体来说,令$N_x$和$N_y$分别表示在源语言和目标语言训练期间用作高斯分量中心的预训练单词嵌入的数量。然后,我们可以将源嵌入空间中任何点的密度表示为:
(3)
$$p(\boldsymbol{x})=\sum_{i\in\{1,...,N_x\}}\pi(x_i)\tilde{p}(\boldsymbol{x}|x_i)$$
其中$\pi(x_i)$是在$N_x$组成词内归一化的单词$x_i$ 的频率,而$\tilde{p}(\boldsymbol{x}|x_i)$是以单词$x_i$的嵌入为中心的高斯分布。我们只需为所有高斯分量使用固定方差$\sigma_x^2:$
$$\tilde{p}(\boldsymbol{x}|x_i)=\mathcal{N}(\boldsymbol{x}|\boldsymbol{x}_i,\sigma_x^2\boldsymbol{I})$$
(4)
同样,目标嵌入空间中任何点的密度可以写为:
(5)
$$p(\boldsymbol y)=\sum_{j\in\{1,...,N_y\}}\pi(y_j)\tilde{p}(\boldsymbol y|y_j)$$
其中$\tilde{p}(\boldsymbol{y}|y_{j})=\mathcal{N}(\boldsymbol{y}|\boldsymbol{y}_{j},\sigma_{y}^{2}\boldsymbol{I})$
# 3.3 Density Matching
使用高斯混合模型作为单语空间中的先验分布,我们的目标是学习从一个嵌入空间到另一个嵌人空间的映射函数,以使对数概率密度在源空间中最大化
虽然我们同时共同学习两个映射函数$f_{xy}$和$f_{yx}$ ,但为了简洁起见,我们将使用源到目标映射$f_{xy}$来说明我们的方法。首先,通过采样$x_i\sim\pi(x_i)$ ,然后采样$x\sim\tilde{p}(\boldsymbol{x}|x_i)$ (4),从高斯混合模型(方程(3) )中采样连续向量$x$ 。接下来,我们应用映射函数$f_{xy}$来获得目标空间中的变换向量$y$ 。具体来说,我们在这项工作中使用的映射函数是两个线性变换: $f_{xy}(\cdot)=\boldsymbol{W}_{xy}$·和$f_yx=\boldsymbol{W}_{yx}$·。连接到 Sec 中的转换函数。2 ,我们看到$x=f(\boldsymbol{y})=\boldsymbol{W}_xy^{-1}\boldsymbol{y}$ , $\boldsymbol{y}= f^{- 1}( \boldsymbol{x}) = \boldsymbol{W}_{xy}\boldsymbol{x}$和$J(f^{-1}(\boldsymbol{x}))=\boldsymbol{W}_{xy}$ 。然后,我们可以将样本$x$的对数密度表示为:
$$\log p(\boldsymbol{x};\boldsymbol{W}_{xy})=\log p(\boldsymbol{y})+\log\left|\det(\boldsymbol{W}_{xy})\right|$$
(6)
,其中雅可比正则化项说明了投影矩阵$W_xy$
引起的体积膨胀或收缩
我们最大化似然函数,该似然函数等效于最小化$x$的先验分布和模型分布之间的 KL-散度的期望。这为优化提供了一个自然的目标:
$$\text{minimize: KL}(p(\boldsymbol{x})||p(\boldsymbol{x};\boldsymbol{W}_{xy}))$$
(7)
通过将$W_xyx$替换为$y$ ,这等效于最大化目标空间中转换后的源样本的对数密度(请参见公式(6):
$$\mathcal{L}_{xy}=\operatorname{E}_{\boldsymbol{x}\sim p(\boldsymbol{x})}[\log p(\boldsymbol{y})+\log\left|\det(\boldsymbol{W}_{xy})\right|]$$
目标$\mathcal{L}_xy$包含两个部分:对数密度函数XMTH。同样,对于目标到源映射$W_{yx}$,我们有密度匹配目标$\mathcal{L}_{yx}$
Conditional Density Matching 上述边际密度匹配方法未考虑两个单语空间中嵌入之间的依赖性。为了解决此问题,我们将密度匹配方法扩展到定义的条件密度函数:
$$\log p(\boldsymbol{x}|x_i;\boldsymbol{W}_{xy})=\log p(\boldsymbol{y}|x_i)+\log\left|\det(\boldsymbol{W}_{xy})\right|$$
条件密度$p(\boldsymbol{y}|x_i)$是此简单归一化流中的先验分布,为此,我们在目标单语空间中使用高斯混合模型:
$$\begin{aligned}p(\boldsymbol{y}|x_{i})&=\sum_{j\in\{1,\ldots,N_{y}\}}p(\boldsymbol{y},y_{j}|x_{i})\\&=\sum_{j\in\{1,\ldots,N_{y}\}}\tilde{p}(\boldsymbol{y}|y_{j})\pi(y_{j}|x_{i})\end{aligned}$$
(9)
混合高斯模型中的 MAX。$\pi(y_j|x_i)$允许我们合并关于两个单词是否可能匹配的先验假设。实际上,通过采用朴素先验$\pi(y_j|x_i):=\pi(y_j)$ ,可以将方程$\overline{\mathrm{E}}(6)$ 中的密度匹配方法视为条件密度匹配方法的特例。然而,以前的工作(Zhang et al., 2017) 已经注意到单词频率信息是一个强信号-具有相似频率的单词很可能被匹配-因此我们使用$\pi(y_j|x_i)$来整合此先验知识
在这项工作中,我们假设单个单语语料库中对齐的双语单词的频率应该是相关的,并且为了匹配排名相似的单词,我们将高斯混合权重建模为对数标度单词排名之间的负绝对差,并通过具有温度$\tau$的 softmax 函数对所有目标高斯分量单词进行归一化:XMATHMAX\_7。尽管这一假设并不总是成立 (e。g。对于具有不同形态复杂度水平的语言),直观上我们期望使用该信号将在整体上有所帮助,而不是受到伤害,并且从经验上我们发现这种加权对语言变化并不敏感,并且在实践中效果很好
|
[
[
0.12005615234375,
0.07659912109375,
0.489501953125,
0.07659912109375,
0.489501953125,
0.09027099609375,
0.12005615234375,
0.09027099609375
],
[
0.5322265625,
0.07659912109375,
0.8818359375,
0.07659912109375,
0.8818359375,
0.09027099609375,
0.5322265625,
0.09027099609375
],
[
0.118408203125,
0.09320068359375,
0.219970703125,
0.09320068359375,
0.219970703125,
0.10809326171875,
0.118408203125,
0.10809326171875
],
[
0.515625,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.515625,
0.10687255859375
],
[
0.1376953125,
0.1092529296875,
0.489501953125,
0.1092529296875,
0.489501953125,
0.122314453125,
0.1376953125,
0.122314453125
],
[
0.497802734375,
0.114013671875,
0.5087890625,
0.114013671875,
0.5087890625,
0.1175537109375,
0.497802734375,
0.1175537109375
],
[
0.5146484375,
0.11102294921875,
0.86962890625,
0.11102294921875,
0.86962890625,
0.1217041015625,
0.5146484375,
0.1217041015625
],
[
0.12176513671875,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.12176513671875,
0.1395263671875
],
[
0.12005615234375,
0.141357421875,
0.48779296875,
0.141357421875,
0.48779296875,
0.155029296875,
0.12005615234375,
0.155029296875
],
[
0.5693359375,
0.141357421875,
0.8818359375,
0.141357421875,
0.8818359375,
0.155029296875,
0.5693359375,
0.155029296875
],
[
0.12176513671875,
0.157958984375,
0.483642578125,
0.157958984375,
0.483642578125,
0.168701171875,
0.12176513671875,
0.168701171875
],
[
0.12005615234375,
0.17333984375,
0.48779296875,
0.17333984375,
0.48779296875,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.5146484375,
0.1728515625,
0.880859375,
0.1728515625,
0.880859375,
0.18701171875,
0.5146484375,
0.18701171875
],
[
0.1175537109375,
0.188232421875,
0.489501953125,
0.189453125,
0.489501953125,
0.203125,
0.1175537109375,
0.201904296875
],
[
0.51123046875,
0.188232421875,
0.880859375,
0.188232421875,
0.880859375,
0.201904296875,
0.51123046875,
0.201904296875
],
[
0.12176513671875,
0.2060546875,
0.489501953125,
0.2060546875,
0.489501953125,
0.2197265625,
0.12176513671875,
0.2197265625
],
[
0.515625,
0.2060546875,
0.603515625,
0.2060546875,
0.603515625,
0.21728515625,
0.515625,
0.21728515625
],
[
0.118408203125,
0.221435546875,
0.486083984375,
0.221435546875,
0.486083984375,
0.235107421875,
0.118408203125,
0.235107421875
],
[
0.12005615234375,
0.2381591796875,
0.489501953125,
0.2381591796875,
0.489501953125,
0.251708984375,
0.12005615234375,
0.251708984375
],
[
0.52490234375,
0.2369384765625,
0.87890625,
0.2369384765625,
0.87890625,
0.251708984375,
0.52490234375,
0.251708984375
],
[
0.12005615234375,
0.254150390625,
0.48779296875,
0.254150390625,
0.48779296875,
0.267333984375,
0.12005615234375,
0.267333984375
],
[
0.12176513671875,
0.271484375,
0.2216796875,
0.271484375,
0.2216796875,
0.283203125,
0.12176513671875,
0.283203125
],
[
0.51708984375,
0.268310546875,
0.8818359375,
0.268310546875,
0.8818359375,
0.281982421875,
0.51708984375,
0.281982421875
],
[
0.51123046875,
0.27978515625,
0.88330078125,
0.283203125,
0.88330078125,
0.300537109375,
0.51123046875,
0.297607421875
],
[
0.181396484375,
0.295654296875,
0.426513671875,
0.29443359375,
0.426513671875,
0.312255859375,
0.181396484375,
0.3134765625
],
[
0.462646484375,
0.298583984375,
0.48779296875,
0.298583984375,
0.48779296875,
0.311279296875,
0.462646484375,
0.311279296875
],
[
0.491943359375,
0.303955078125,
0.50537109375,
0.303955078125,
0.50537109375,
0.30810546875,
0.491943359375,
0.30810546875
],
[
0.51318359375,
0.2998046875,
0.6962890625,
0.300537109375,
0.6962890625,
0.3154296875,
0.51318359375,
0.314208984375
],
[
0.2451171875,
0.31640625,
0.31982421875,
0.31640625,
0.31982421875,
0.327880859375,
0.2451171875,
0.327880859375
],
[
0.52294921875,
0.327880859375,
0.8818359375,
0.327880859375,
0.8818359375,
0.341552734375,
0.52294921875,
0.341552734375
],
[
0.118408203125,
0.339111328125,
0.486083984375,
0.339111328125,
0.486083984375,
0.352783203125,
0.118408203125,
0.352783203125
],
[
0.515625,
0.34326171875,
0.8818359375,
0.34326171875,
0.8818359375,
0.35693359375,
0.515625,
0.35693359375
],
[
0.12005615234375,
0.35693359375,
0.489501953125,
0.35693359375,
0.489501953125,
0.37060546875,
0.12005615234375,
0.37060546875
],
[
0.5146484375,
0.35986328125,
0.880859375,
0.35986328125,
0.880859375,
0.37353515625,
0.5146484375,
0.37353515625
],
[
0.12005615234375,
0.372314453125,
0.48779296875,
0.372314453125,
0.48779296875,
0.385986328125,
0.12005615234375,
0.385986328125
],
[
0.5146484375,
0.377197265625,
0.76171875,
0.377197265625,
0.76171875,
0.39013671875,
0.5146484375,
0.39013671875
],
[
0.12176513671875,
0.3896484375,
0.2166748046875,
0.3896484375,
0.2166748046875,
0.40087890625,
0.12176513671875,
0.40087890625
],
[
0.515625,
0.407958984375,
0.8818359375,
0.407958984375,
0.8818359375,
0.4228515625,
0.515625,
0.4228515625
],
[
0.208251953125,
0.416259765625,
0.397216796875,
0.41455078125,
0.397216796875,
0.4287109375,
0.208251953125,
0.43115234375
],
[
0.462646484375,
0.416259765625,
0.48779296875,
0.416259765625,
0.48779296875,
0.429931640625,
0.462646484375,
0.429931640625
],
[
0.12005615234375,
0.443603515625,
0.48779296875,
0.443603515625,
0.48779296875,
0.457275390625,
0.12005615234375,
0.457275390625
],
[
0.515625,
0.440673828125,
0.8818359375,
0.440673828125,
0.8818359375,
0.45361328125,
0.515625,
0.45361328125
],
[
0.515625,
0.4560546875,
0.8818359375,
0.4560546875,
0.8818359375,
0.4697265625,
0.515625,
0.4697265625
],
[
0.1822509765625,
0.471435546875,
0.27197265625,
0.4697265625,
0.27197265625,
0.485107421875,
0.1822509765625,
0.48681640625
],
[
0.26025390625,
0.46728515625,
0.4248046875,
0.47021484375,
0.4248046875,
0.488037109375,
0.26025390625,
0.485107421875
],
[
0.462646484375,
0.47265625,
0.489501953125,
0.47265625,
0.489501953125,
0.485107421875,
0.462646484375,
0.485107421875
],
[
0.515625,
0.47265625,
0.59765625,
0.47265625,
0.59765625,
0.48388671875,
0.515625,
0.48388671875
],
[
0.2418212890625,
0.4892578125,
0.322509765625,
0.4892578125,
0.322509765625,
0.50439453125,
0.2418212890625,
0.50439453125
],
[
0.654296875,
0.49755859375,
0.796875,
0.49951171875,
0.796875,
0.52099609375,
0.654296875,
0.5185546875
],
[
0.56103515625,
0.50439453125,
0.6591796875,
0.50048828125,
0.6591796875,
0.515625,
0.56103515625,
0.5185546875
],
[
0.12005615234375,
0.5166015625,
0.349365234375,
0.5166015625,
0.349365234375,
0.53076171875,
0.12005615234375,
0.53076171875
],
[
0.63232421875,
0.51708984375,
0.7138671875,
0.51953125,
0.7138671875,
0.53515625,
0.63232421875,
0.533203125
],
[
0.118408203125,
0.5390625,
0.312255859375,
0.54150390625,
0.312255859375,
0.5556640625,
0.118408203125,
0.55419921875
],
[
0.65576171875,
0.53759765625,
0.884765625,
0.53759765625,
0.884765625,
0.55859375,
0.65576171875,
0.55859375
],
[
0.6171875,
0.54443359375,
0.63818359375,
0.54443359375,
0.63818359375,
0.552734375,
0.6171875,
0.552734375
],
[
0.12005615234375,
0.5625,
0.486083984375,
0.5625,
0.486083984375,
0.576171875,
0.12005615234375,
0.576171875
],
[
0.63232421875,
0.55859375,
0.7119140625,
0.55859375,
0.7119140625,
0.57373046875,
0.63232421875,
0.57373046875
],
[
0.12005615234375,
0.57763671875,
0.47265625,
0.57763671875,
0.47265625,
0.59130859375,
0.12005615234375,
0.59130859375
],
[
0.5146484375,
0.58837890625,
0.8818359375,
0.5888671875,
0.8818359375,
0.60400390625,
0.5146484375,
0.6025390625
],
[
0.12005615234375,
0.59423828125,
0.48779296875,
0.59423828125,
0.48779296875,
0.60791015625,
0.12005615234375,
0.60791015625
],
[
0.12005615234375,
0.60986328125,
0.2493896484375,
0.60986328125,
0.2493896484375,
0.62353515625,
0.12005615234375,
0.62353515625
],
[
0.515625,
0.60498046875,
0.8818359375,
0.60400390625,
0.8818359375,
0.6181640625,
0.515625,
0.619140625
],
[
0.51318359375,
0.62060546875,
0.8818359375,
0.62158203125,
0.8818359375,
0.6357421875,
0.51318359375,
0.63525390625
],
[
0.1376953125,
0.626953125,
0.489501953125,
0.626953125,
0.489501953125,
0.64013671875,
0.1376953125,
0.64013671875
],
[
0.5341796875,
0.63720703125,
0.8818359375,
0.63720703125,
0.8818359375,
0.65087890625,
0.5341796875,
0.65087890625
],
[
0.12005615234375,
0.6435546875,
0.489501953125,
0.64111328125,
0.489501953125,
0.65625,
0.12005615234375,
0.65771484375
],
[
0.5146484375,
0.65283203125,
0.8818359375,
0.65283203125,
0.8818359375,
0.66650390625,
0.5146484375,
0.66650390625
],
[
0.12005615234375,
0.6591796875,
0.489501953125,
0.6591796875,
0.489501953125,
0.6728515625,
0.12005615234375,
0.6728515625
],
[
0.118408203125,
0.6748046875,
0.48779296875,
0.67333984375,
0.48779296875,
0.6884765625,
0.118408203125,
0.689453125
],
[
0.515625,
0.66943359375,
0.8818359375,
0.66943359375,
0.8818359375,
0.68310546875,
0.515625,
0.68310546875
],
[
0.5146484375,
0.68408203125,
0.880859375,
0.68408203125,
0.880859375,
0.69775390625,
0.5146484375,
0.69775390625
],
[
0.12005615234375,
0.69140625,
0.489501953125,
0.69140625,
0.489501953125,
0.705078125,
0.12005615234375,
0.705078125
],
[
0.515625,
0.70166015625,
0.88330078125,
0.70166015625,
0.88330078125,
0.71533203125,
0.515625,
0.71533203125
],
[
0.12176513671875,
0.7080078125,
0.486083984375,
0.7080078125,
0.486083984375,
0.7216796875,
0.12176513671875,
0.7216796875
],
[
0.12005615234375,
0.7236328125,
0.489501953125,
0.7236328125,
0.489501953125,
0.73828125,
0.12005615234375,
0.73828125
],
[
0.5146484375,
0.71875,
0.53662109375,
0.71875,
0.53662109375,
0.73095703125,
0.5146484375,
0.73095703125
],
[
0.12005615234375,
0.7392578125,
0.490234375,
0.7392578125,
0.490234375,
0.7529296875,
0.12005615234375,
0.7529296875
],
[
0.5322265625,
0.7353515625,
0.8818359375,
0.7353515625,
0.8818359375,
0.7490234375,
0.5322265625,
0.7490234375
],
[
0.12176513671875,
0.755859375,
0.48779296875,
0.755859375,
0.48779296875,
0.76953125,
0.12176513671875,
0.76953125
],
[
0.5146484375,
0.75048828125,
0.8818359375,
0.75048828125,
0.8818359375,
0.76416015625,
0.5146484375,
0.76416015625
],
[
0.118408203125,
0.76953125,
0.48779296875,
0.771484375,
0.48779296875,
0.7861328125,
0.118408203125,
0.78369140625
],
[
0.51904296875,
0.76708984375,
0.8818359375,
0.76708984375,
0.8818359375,
0.78076171875,
0.51904296875,
0.78076171875
],
[
0.1175537109375,
0.7861328125,
0.486083984375,
0.78369140625,
0.486083984375,
0.8017578125,
0.1175537109375,
0.80419921875
],
[
0.515625,
0.783203125,
0.8818359375,
0.783203125,
0.8818359375,
0.79638671875,
0.515625,
0.79638671875
],
[
0.1318359375,
0.80419921875,
0.48779296875,
0.80419921875,
0.48779296875,
0.81787109375,
0.1318359375,
0.81787109375
],
[
0.5146484375,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.5146484375,
0.8125
],
[
0.1259765625,
0.80810546875,
0.130126953125,
0.80810546875,
0.130126953125,
0.8134765625,
0.1259765625,
0.8134765625
],
[
0.515625,
0.81396484375,
0.8818359375,
0.81396484375,
0.8818359375,
0.82763671875,
0.515625,
0.82763671875
],
[
0.12005615234375,
0.82080078125,
0.1502685546875,
0.82080078125,
0.1502685546875,
0.83203125,
0.12005615234375,
0.83203125
],
[
0.5146484375,
0.830078125,
0.8818359375,
0.83056640625,
0.8818359375,
0.845703125,
0.5146484375,
0.84423828125
],
[
0.1351318359375,
0.84716796875,
0.47021484375,
0.84716796875,
0.47021484375,
0.8623046875,
0.1351318359375,
0.8623046875
],
[
0.5146484375,
0.84716796875,
0.880859375,
0.84716796875,
0.880859375,
0.86083984375,
0.5146484375,
0.86083984375
],
[
0.462646484375,
0.8642578125,
0.48779296875,
0.8642578125,
0.48779296875,
0.876953125,
0.462646484375,
0.876953125
],
[
0.515625,
0.86328125,
0.8818359375,
0.86328125,
0.8818359375,
0.876953125,
0.515625,
0.876953125
],
[
0.1318359375,
0.876953125,
0.490234375,
0.87744140625,
0.490234375,
0.8955078125,
0.1318359375,
0.89453125
],
[
0.1259765625,
0.88525390625,
0.1368408203125,
0.88525390625,
0.1368408203125,
0.89013671875,
0.1259765625,
0.89013671875
],
[
0.515625,
0.8798828125,
0.8818359375,
0.8798828125,
0.8818359375,
0.8935546875,
0.515625,
0.8935546875
],
[
0.118408203125,
0.8955078125,
0.301513671875,
0.8955078125,
0.301513671875,
0.9091796875,
0.118408203125,
0.9091796875
],
[
0.51708984375,
0.8955078125,
0.8447265625,
0.8955078125,
0.8447265625,
0.9091796875,
0.51708984375,
0.9091796875
]
] |
[
"语嵌入空间,我们需要定义易处理的密度函数",
"我们最大化似然函数,该似然函数等效于最",
"p(ac) 和p(y)",
"小化α的先验分布和模型分布之间的KL-散",
"虽然可以设想任何数量的函数来计算这些密",
"",
"度的期望。这为优化提供了一个自然的目标:",
"度,但在当前方法中,我们选择使用高斯混合",
"模型(GMM),其中高斯分量以每个预训练单",
"minimize: KL(p(α)lp(c; Wry))(7)",
"词嵌入为中心。这是由以下假设引起的:欺入",
"很可能出现在其他嵌入的邻域中,其中我们将",
"通过将Wayc替换为y,这等效于最大化目",
"“邻域”定义为欧几里得空间中的紧密度,并",
"标空间中转换后的源样本的对数密度(请参见",
"且每个邻域的不确定性为高斯。具体来说,令",
"公式(6):",
"N和Nu分别表示在源语言和目标语言训练",
"期间用作高斯分量中心的预训练单词嵌入的数",
"Lry = Ea~p(a)[logp(y) +log det(Wry)l] (8)",
"量。然后,我们可以将源嵌人空间中任何点的",
"密度表示为:",
"目标Ly包含两个部分:对数密度函数",
"XMTH。同样,对于目标到源映射Wya,我",
"p(α)= (ci)p(αli)",
"(3)",
"",
"们有密度匹配目标Cya",
"ie[,...N.]",
"ConditionalDensityMatching上述边际密",
"其中元(ci)是在N组成词内归一化的单词ci",
"度匹配方法未考虑两个单语空间中嵌人之间的",
"的频率,而p(aαci)是以单词i的嵌人为中心",
"依赖性。为了解决此问题,我们将密度匹配方",
"的高斯分布。我们只需为所有高斯分量使用固",
"法扩展到定义的条件密度函数:",
"定方差:",
"logp(aci; Wry) = logp(ylri)+logdet(Wry)",
"p(αi) =N(i,2)",
"(4)",
"同样,目标嵌入空间中任何点的密度可以写为:",
"条件密度p(ya)是此简单归一化流中的先验",
"分布,为此,我们在目标单语空间中使用高斯",
"p(y) =",
"π(yi)p(ylyi)",
"(5)",
"混合模型:",
"je[1.,Ny)",
" p(y,yjlri)",
"p(yr) =",
"其中p(ylyi)=N(yly,o)",
"je(1...Ny)",
"3.3Density Matching",
"Z p(ylyji)r(yilri) (9)",
"=",
"使用高斯混合模型作为单语空间中的先验分",
"je(1...Ny)",
"布,我们的目标是学习从一个嵌人空间到另",
"混合高斯模型中的MAX。元(yilci)允许我们",
"个嵌人空间的映射函数,以使对数概率密度在",
"源空间中最大化",
"合并关于两个单词是否可能匹配的先验假设。",
"实际上,通过采用朴素先验元(yilci):=元(yi)",
"虽然我们同时共同学习两个映射函数fry和",
"可以将方程E(6)中的密度匹配方法视为条",
"fya,但为了简洁起见,我们将使用源到目标",
"件密度匹配方法的特例。然而,以前的工作",
"映射fty来说明我们的方法。首先,通过采样",
"i~(ci),然后采样~p(αi)(4),从",
"(Zhangetal.,2017)已经注意到单词频率信息",
"是一个强信号-具有相似频率的单词很可能被",
"高斯混合模型(方程(3))中采样连续向量α",
"匹配-因此我们使用元(y,li)来整合此先验知",
"。接下来,我们应用映射函数fry来获得目",
"标空间中的变换向量9。具体来说,我们在",
"识",
"这项工作中使用的映射函数是两个线性变换:",
"在这项工作中,我们假设单个单语语料库中",
"fary)=Wry·和fyr=Wyr'。连接到Sec中",
"对齐的双语单词的频率应该是相关的,并且为",
"的转换函数。2,我们看到a=f(y)=Wuy",
"了匹配排名相似的单词,我们将高斯混合权重",
", y = f-1(α) = Wryac 和 J(f-1(α)) = Wry",
"建模为对数标度单词排名之间的负绝对差,并",
"然后,我们可以将样本α的对数密度表示",
"通过具有温度T的softmax函数对所有目标",
"",
"高斯分量单词进行归一化:XMATHMAX_7。",
"为:",
"尽管这一假设并不总是成立(e。g。对于具有",
"log p(ac; W ry) = log p(y) + log det(Wry)|",
"不同形态复杂度水平的语言),直观上我们期",
"(6)",
"望使用该信号将在整体上有所帮助,而不是受",
"其中雅可比正则化项说明了投影矩阵Wry",
"",
"到伤害,并且从经验上我们发现这种加权对语",
"引起的体积膨胀或收缩",
"言变化并不敏感,并且在实践中效果很好"
] |
{
"arxiv_id": "1904.02343",
"language": "zh",
"page_idx": 2
}
|
||
1904.02343-zh-4
|
1904.02343-zh-4.jpg
|
较,我们还报告了改进过程的结果,该过程为 不同的方差。有关差异设置的详细信息,请检大多数语言对带来了准确性的微小提高。请注 查我们代码库中的脚本。我们根据经验发现, 意,对于细化过程中的双语词典归纳,我们使 对于一个语言对,具有相对更复杂的形态属性用 CSLS 作为所有实验的检索指标,以便与先 的语言的方差需要设置得比另一种语言更大, 前工作中的细化步骤进行公平比较。
## 5 Experiments
5.1 Dataset and Task
我们对双语词典归纳(BLI)任务进行了广泛的评估,该任务与黄金标准相比衡量了单词翻译的准确性。我们报告了广泛使用的 MUSE 数据集 (Conneau et al., 2017) 的结果,该数据集包括在 Wikipedia (Bojanowski et al., 2017) 上预先训练的 FastText 单语嵌入,以及用于许多语言对的字典,这些语言对分为训练集和测试集。我们遵循 (Conneau et al., 2017) 的评估设置。我们通过在英语和包括相关语言在内的不同语言之间引入词典来评估 DeMa-BWE。g。西班牙语;词源上遥远的语言,例如。g。日语;以及形态丰富的语言,例如。g。芬兰语
# 5.2 Implementation Details
Embedding Normalization 在 (Artetxe et al., 2018b) 之后,我们通过首先应用长度归一化,然后在每个维度上平均居中,然后再次进行长度归一化来预处理单语言嵌入,以确保最终嵌入具有单位长度。我们观察到这种归一化方法有助于稳定训练并加速收敛
Other Experimental Details 我们从 MUSE 数据集中的训练集中随机抽取了 1000 个翻译对作为我们的验证数据。我们还尝试了(Conneau et al., 2017) 中提出的无监督验证准则作为模型选择方法,该方法计算模型诱导字典对上的平均余弦相似性,并发现该无监督准则可以选择实现与监督验证准则相似性能的模型。所有超参数都在验证集上进行了调整,并包括以下内容:对于在 GMM 中用作高斯分量的基本单词的数量,我们通常为所有语言对选择最频繁的 20,000 个单词,但使用 10,000 的 en-ja 可以实现更好的性能。我们对所有语言使用2048的批处理大小,但使用 1024 的 en-ja。我们使用 Adam (Kingma and Ba, 2014) 进行具有默认超参数的优化
我们根据经验将高斯方差设置为 0。在 enes, en-de, en-fr, en-ru 中的源语言和目标语言中均为 01; 在形态学丰富的语言的实验中不同的映射方向上为源语言和目标语言设置了
这表明该模型需要在形态更丰富的语言的嵌人
空间中进行更多的探索
我们用随机正交矩阵初始化映射矩阵$W_{xy}$ 和$W_yx$ 。对于弱正交约束损失$\mathcal{L}_bt$ ,我们将权重$\lambda$设置为0。5个贯穿所有语言对。对于弱监督损失$\mathcal{L} _sup$ , 我 们 将 所 有 语 言 的 权 重 $\alpha$设置为 10, 除了 en-zh, 我们发现 5 表现更好。在所有语言中,我们将高斯混合权重的softmax 函数中使用的温度$\tau$设置为 2。
### 5.3 Main Results on BLI
在选项卡中。1 , 我们将 DeMa-BME 的性能与常用基准语言对上性能最好的无监督和监督方法进行了广泛的比较
我们的无监督基线是:(1)MUSE(U+R) (Conneau et al.,2017),一种基于GAN的无监督方法,具有细化。(2)基于(Artetxe et al., 2018b)的一种强而鲁棒的无监督自学习方法SL-unsup。我们还使用与初始字典相同的单词运行他们发布的代码,以便与我们的方法进行公平比较,表示为 SL-unsup-ID。(3)最小化源和目标词向量之间的 Sinkhorn 距离的Sinkhorn (Xu et al.,2018)。(4)来自(Hoshen and Wolf, 2018) )的迭代匹配方法:具有细化的非 Adv 和非 Adv (R)。(5)WS-Procrustes(R) 使用 (Grave et al., 2018) 细化。我们的监督方法包括:(1)迭代 Procrustes 方法 Procrustes (R) ( Smith et al. , 2017) 。( 2) 一个多步框架 MSF-ISF (Artetxe et al.,2018a) 及其变体 MSF, 它使用 CSLS 进行检索,其结果来自 (Jawanpuria et al., 2018) 。(3) (Joulin et al., 2018) 的 CSLS-Sp 优化了 CSLS 分数, 以及(4)(Jawanpuria et al., 2018) 的几何方法GeoMM。为了公平比较,所有监督结果都使用 MUSE 数据集中的训练字典进行训练。除Sinkhorn 方法外,所有基线方法均采用 CSLS 进行检索
对于 DeMa-BME, 我们提供有和没有改进的结果,并以 CSLS 和 CSLS-D 作为检索方法。从选项卡。1 ,我们可以看到 DeMa-BME 的整体性能与其他无监督方法相比是显着的, 并且与强监督方法相比也具有竞争力。没有迭代细化 CSLS(w/oR) 的结果在几乎所有语言
(Sec。5.4 ), 我们将方差设置为0。015 适用 对上都很强,在 DeMa-BME 优于或与最佳方于所有这些语言,但方差设置为 0 的 et 除外。法相当的 es-en、en-de 和 en-fr 上观察到特别02,同时保持英语的方差为0。01。在词源上遥 强的性能。将改进应用于 DeMa-BME 会在大远的语言对 en-ja 和 en-zh 的实验中,我们在 多数语言对上带来更好的性能,但会降低某些
语言对的性能,例如 es-en, zh-en, DeMa-BME
|
[
[
0.118408203125,
0.07598876953125,
0.48779296875,
0.07598876953125,
0.48779296875,
0.08905029296875,
0.118408203125,
0.08905029296875
],
[
0.496337890625,
0.08013916015625,
0.515625,
0.08013916015625,
0.515625,
0.0872802734375,
0.496337890625,
0.0872802734375
],
[
0.51123046875,
0.07598876953125,
0.880859375,
0.07598876953125,
0.880859375,
0.08905029296875,
0.51123046875,
0.08905029296875
],
[
0.118408203125,
0.0926513671875,
0.48779296875,
0.0926513671875,
0.48779296875,
0.105712890625,
0.118408203125,
0.105712890625
],
[
0.5146484375,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.5146484375,
0.10687255859375
],
[
0.12005615234375,
0.10986328125,
0.48779296875,
0.10986328125,
0.48779296875,
0.12353515625,
0.12005615234375,
0.12353515625
],
[
0.51318359375,
0.10809326171875,
0.8818359375,
0.10986328125,
0.8818359375,
0.12353515625,
0.51318359375,
0.1217041015625
],
[
0.12176513671875,
0.1258544921875,
0.489501953125,
0.1258544921875,
0.489501953125,
0.1395263671875,
0.12176513671875,
0.1395263671875
],
[
0.5146484375,
0.1258544921875,
0.88330078125,
0.1258544921875,
0.88330078125,
0.1395263671875,
0.5146484375,
0.1395263671875
],
[
0.12005615234375,
0.141357421875,
0.403076171875,
0.141357421875,
0.403076171875,
0.155029296875,
0.12005615234375,
0.155029296875
],
[
0.5146484375,
0.14013671875,
0.880859375,
0.14013671875,
0.880859375,
0.15380859375,
0.5146484375,
0.15380859375
],
[
0.515625,
0.157958984375,
0.7001953125,
0.157958984375,
0.7001953125,
0.171630859375,
0.515625,
0.171630859375
],
[
0.118408203125,
0.16748046875,
0.26611328125,
0.16748046875,
0.26611328125,
0.1817626953125,
0.118408203125,
0.1817626953125
],
[
0.53076171875,
0.17041015625,
0.88330078125,
0.1728515625,
0.88330078125,
0.190673828125,
0.53076171875,
0.188232421875
],
[
0.12005615234375,
0.1923828125,
0.312255859375,
0.1923828125,
0.312255859375,
0.207275390625,
0.12005615234375,
0.207275390625
],
[
0.5146484375,
0.188232421875,
0.8818359375,
0.189453125,
0.8818359375,
0.2037353515625,
0.5146484375,
0.203125
],
[
0.5146484375,
0.2060546875,
0.8818359375,
0.2060546875,
0.8818359375,
0.2197265625,
0.5146484375,
0.2197265625
],
[
0.12176513671875,
0.2120361328125,
0.486083984375,
0.2120361328125,
0.486083984375,
0.226806640625,
0.12176513671875,
0.226806640625
],
[
0.5146484375,
0.22265625,
0.8818359375,
0.22265625,
0.8818359375,
0.236328125,
0.5146484375,
0.236328125
],
[
0.118408203125,
0.2286376953125,
0.484375,
0.2286376953125,
0.484375,
0.2423095703125,
0.118408203125,
0.2423095703125
],
[
0.51318359375,
0.2381591796875,
0.8818359375,
0.2381591796875,
0.8818359375,
0.251708984375,
0.51318359375,
0.251708984375
],
[
0.12176513671875,
0.2452392578125,
0.489501953125,
0.2452392578125,
0.489501953125,
0.2587890625,
0.12176513671875,
0.2587890625
],
[
0.515625,
0.254150390625,
0.8818359375,
0.254150390625,
0.8818359375,
0.267333984375,
0.515625,
0.267333984375
],
[
0.12176513671875,
0.262451171875,
0.48779296875,
0.262451171875,
0.48779296875,
0.275634765625,
0.12176513671875,
0.275634765625
],
[
0.5146484375,
0.270751953125,
0.8330078125,
0.270751953125,
0.8330078125,
0.283935546875,
0.5146484375,
0.283935546875
],
[
0.118408203125,
0.276611328125,
0.486083984375,
0.276611328125,
0.486083984375,
0.290283203125,
0.118408203125,
0.290283203125
],
[
0.12176513671875,
0.29443359375,
0.489501953125,
0.29443359375,
0.489501953125,
0.30810546875,
0.12176513671875,
0.30810546875
],
[
0.51318359375,
0.295654296875,
0.73291015625,
0.295654296875,
0.73291015625,
0.308837890625,
0.51318359375,
0.308837890625
],
[
0.118408203125,
0.308837890625,
0.486083984375,
0.308837890625,
0.486083984375,
0.322509765625,
0.118408203125,
0.322509765625
],
[
0.5146484375,
0.31640625,
0.88330078125,
0.31640625,
0.88330078125,
0.330078125,
0.5146484375,
0.330078125
],
[
0.12005615234375,
0.32666015625,
0.48779296875,
0.32666015625,
0.48779296875,
0.34033203125,
0.12005615234375,
0.34033203125
],
[
0.5146484375,
0.330810546875,
0.880859375,
0.330810546875,
0.880859375,
0.344482421875,
0.5146484375,
0.344482421875
],
[
0.12005615234375,
0.342529296875,
0.48779296875,
0.342529296875,
0.48779296875,
0.355712890625,
0.12005615234375,
0.355712890625
],
[
0.5146484375,
0.3486328125,
0.7001953125,
0.3486328125,
0.7001953125,
0.3623046875,
0.5146484375,
0.3623046875
],
[
0.118408203125,
0.35693359375,
0.486083984375,
0.35693359375,
0.486083984375,
0.37060546875,
0.118408203125,
0.37060546875
],
[
0.5322265625,
0.364013671875,
0.884765625,
0.364013671875,
0.884765625,
0.377685546875,
0.5322265625,
0.377685546875
],
[
0.118408203125,
0.374755859375,
0.486083984375,
0.37353515625,
0.486083984375,
0.388427734375,
0.118408203125,
0.3896484375
],
[
0.515625,
0.37890625,
0.88330078125,
0.38134765625,
0.88330078125,
0.3955078125,
0.515625,
0.393798828125
],
[
0.12005615234375,
0.3896484375,
0.476806640625,
0.3896484375,
0.476806640625,
0.402587890625,
0.12005615234375,
0.402587890625
],
[
0.51708984375,
0.396728515625,
0.8818359375,
0.396728515625,
0.8818359375,
0.410400390625,
0.51708984375,
0.410400390625
],
[
0.12005615234375,
0.416259765625,
0.35693359375,
0.416259765625,
0.35693359375,
0.429931640625,
0.12005615234375,
0.429931640625
],
[
0.515625,
0.413330078125,
0.8818359375,
0.413330078125,
0.8818359375,
0.427001953125,
0.515625,
0.427001953125
],
[
0.515625,
0.4287109375,
0.8818359375,
0.4287109375,
0.8818359375,
0.4423828125,
0.515625,
0.4423828125
],
[
0.1376953125,
0.43701171875,
0.48779296875,
0.43701171875,
0.48779296875,
0.45068359375,
0.1376953125,
0.45068359375
],
[
0.51708984375,
0.44482421875,
0.8818359375,
0.44482421875,
0.8818359375,
0.457763671875,
0.51708984375,
0.457763671875
],
[
0.118408203125,
0.451904296875,
0.48779296875,
0.453125,
0.48779296875,
0.46728515625,
0.118408203125,
0.466064453125
],
[
0.5146484375,
0.46142578125,
0.88330078125,
0.46142578125,
0.88330078125,
0.474365234375,
0.5146484375,
0.474365234375
],
[
0.12005615234375,
0.4697265625,
0.48779296875,
0.4697265625,
0.48779296875,
0.482666015625,
0.12005615234375,
0.482666015625
],
[
0.5146484375,
0.476806640625,
0.8818359375,
0.476806640625,
0.8818359375,
0.490478515625,
0.5146484375,
0.490478515625
],
[
0.12005615234375,
0.485107421875,
0.48779296875,
0.485107421875,
0.48779296875,
0.498779296875,
0.12005615234375,
0.498779296875
],
[
0.51123046875,
0.4921875,
0.8818359375,
0.493408203125,
0.8818359375,
0.50732421875,
0.51123046875,
0.505859375
],
[
0.12176513671875,
0.501953125,
0.48779296875,
0.501953125,
0.48779296875,
0.515625,
0.12176513671875,
0.515625
],
[
0.5146484375,
0.51025390625,
0.8818359375,
0.51025390625,
0.8818359375,
0.52392578125,
0.5146484375,
0.52392578125
],
[
0.133544921875,
0.51953125,
0.4130859375,
0.51953125,
0.4130859375,
0.52978515625,
0.133544921875,
0.52978515625
],
[
0.51708984375,
0.525390625,
0.880859375,
0.525390625,
0.880859375,
0.5390625,
0.51708984375,
0.5390625
],
[
0.1259765625,
0.54150390625,
0.489501953125,
0.54150390625,
0.489501953125,
0.5556640625,
0.1259765625,
0.5556640625
],
[
0.5146484375,
0.54150390625,
0.8818359375,
0.54052734375,
0.8818359375,
0.5546875,
0.5146484375,
0.5556640625
],
[
0.12005615234375,
0.55810546875,
0.48779296875,
0.55810546875,
0.48779296875,
0.57177734375,
0.12005615234375,
0.57177734375
],
[
0.5146484375,
0.55810546875,
0.880859375,
0.55810546875,
0.880859375,
0.57177734375,
0.5146484375,
0.57177734375
],
[
0.12005615234375,
0.57373046875,
0.484375,
0.57373046875,
0.484375,
0.58740234375,
0.12005615234375,
0.58740234375
],
[
0.5146484375,
0.57373046875,
0.8818359375,
0.57373046875,
0.8818359375,
0.58740234375,
0.5146484375,
0.58740234375
],
[
0.12005615234375,
0.59033203125,
0.48779296875,
0.59033203125,
0.48779296875,
0.60400390625,
0.12005615234375,
0.60400390625
],
[
0.5146484375,
0.5888671875,
0.88330078125,
0.5888671875,
0.88330078125,
0.6025390625,
0.5146484375,
0.6025390625
],
[
0.118408203125,
0.60498046875,
0.486083984375,
0.60498046875,
0.486083984375,
0.6181640625,
0.118408203125,
0.6181640625
],
[
0.515625,
0.60546875,
0.8818359375,
0.60546875,
0.8818359375,
0.619140625,
0.515625,
0.619140625
],
[
0.12176513671875,
0.62255859375,
0.48779296875,
0.62255859375,
0.48779296875,
0.6357421875,
0.12176513671875,
0.6357421875
],
[
0.5146484375,
0.62158203125,
0.8818359375,
0.62158203125,
0.8818359375,
0.6357421875,
0.5146484375,
0.6357421875
],
[
0.12176513671875,
0.6396484375,
0.486083984375,
0.6396484375,
0.486083984375,
0.6494140625,
0.12176513671875,
0.6494140625
],
[
0.51318359375,
0.6357421875,
0.8818359375,
0.63720703125,
0.8818359375,
0.65185546875,
0.51318359375,
0.65087890625
],
[
0.12176513671875,
0.65380859375,
0.48779296875,
0.65380859375,
0.48779296875,
0.66748046875,
0.12176513671875,
0.66748046875
],
[
0.515625,
0.65380859375,
0.8818359375,
0.65380859375,
0.8818359375,
0.66748046875,
0.515625,
0.66748046875
],
[
0.12176513671875,
0.67041015625,
0.48779296875,
0.67041015625,
0.48779296875,
0.68408203125,
0.12176513671875,
0.68408203125
],
[
0.5146484375,
0.67041015625,
0.8818359375,
0.67041015625,
0.8818359375,
0.68408203125,
0.5146484375,
0.68408203125
],
[
0.12176513671875,
0.6884765625,
0.486083984375,
0.6884765625,
0.486083984375,
0.69873046875,
0.12176513671875,
0.69873046875
],
[
0.5146484375,
0.68505859375,
0.880859375,
0.68505859375,
0.880859375,
0.69873046875,
0.5146484375,
0.69873046875
],
[
0.12005615234375,
0.703125,
0.48779296875,
0.703125,
0.48779296875,
0.71630859375,
0.12005615234375,
0.71630859375
],
[
0.51318359375,
0.703125,
0.88330078125,
0.703125,
0.88330078125,
0.71630859375,
0.51318359375,
0.71630859375
],
[
0.12005615234375,
0.71728515625,
0.486083984375,
0.71728515625,
0.486083984375,
0.73095703125,
0.12005615234375,
0.73095703125
],
[
0.515625,
0.7197265625,
0.587890625,
0.7197265625,
0.587890625,
0.73095703125,
0.515625,
0.73095703125
],
[
0.12005615234375,
0.7353515625,
0.489501953125,
0.7353515625,
0.489501953125,
0.7490234375,
0.12005615234375,
0.7490234375
],
[
0.5341796875,
0.7353515625,
0.88330078125,
0.7353515625,
0.88330078125,
0.7490234375,
0.5341796875,
0.7490234375
],
[
0.12005615234375,
0.75048828125,
0.489501953125,
0.75048828125,
0.489501953125,
0.76416015625,
0.12005615234375,
0.76416015625
],
[
0.5146484375,
0.75,
0.8818359375,
0.75048828125,
0.8818359375,
0.765625,
0.5146484375,
0.76416015625
],
[
0.12176513671875,
0.7685546875,
0.28369140625,
0.7685546875,
0.28369140625,
0.779296875,
0.12176513671875,
0.779296875
],
[
0.51708984375,
0.7685546875,
0.880859375,
0.7685546875,
0.880859375,
0.779296875,
0.51708984375,
0.779296875
],
[
0.1376953125,
0.783203125,
0.48779296875,
0.783203125,
0.48779296875,
0.79638671875,
0.1376953125,
0.79638671875
],
[
0.5146484375,
0.7822265625,
0.880859375,
0.7822265625,
0.880859375,
0.7958984375,
0.5146484375,
0.7958984375
],
[
0.118408203125,
0.7998046875,
0.489501953125,
0.798828125,
0.489501953125,
0.8125,
0.118408203125,
0.8134765625
],
[
0.51318359375,
0.79736328125,
0.8818359375,
0.798828125,
0.8818359375,
0.8134765625,
0.51318359375,
0.8125
],
[
0.12176513671875,
0.8154296875,
0.489501953125,
0.8154296875,
0.489501953125,
0.8291015625,
0.12176513671875,
0.8291015625
],
[
0.5146484375,
0.8154296875,
0.8818359375,
0.8154296875,
0.8818359375,
0.8291015625,
0.5146484375,
0.8291015625
],
[
0.1175537109375,
0.830078125,
0.489501953125,
0.83203125,
0.489501953125,
0.845703125,
0.1175537109375,
0.84326171875
],
[
0.51318359375,
0.830078125,
0.8818359375,
0.83056640625,
0.8818359375,
0.845703125,
0.51318359375,
0.84423828125
],
[
0.118408203125,
0.84716796875,
0.489501953125,
0.84716796875,
0.489501953125,
0.86083984375,
0.118408203125,
0.86083984375
],
[
0.5146484375,
0.84716796875,
0.88330078125,
0.84716796875,
0.88330078125,
0.86083984375,
0.5146484375,
0.86083984375
],
[
0.12005615234375,
0.86328125,
0.489501953125,
0.86328125,
0.489501953125,
0.87744140625,
0.12005615234375,
0.87744140625
],
[
0.51318359375,
0.86328125,
0.880859375,
0.86328125,
0.880859375,
0.876953125,
0.51318359375,
0.876953125
],
[
0.118408203125,
0.87890625,
0.48779296875,
0.87890625,
0.48779296875,
0.8935546875,
0.118408203125,
0.8935546875
],
[
0.515625,
0.8798828125,
0.8818359375,
0.8798828125,
0.8818359375,
0.8935546875,
0.515625,
0.8935546875
],
[
0.12176513671875,
0.89794921875,
0.486083984375,
0.89794921875,
0.486083984375,
0.90771484375,
0.12176513671875,
0.90771484375
],
[
0.5146484375,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.5146484375,
0.9091796875
]
] |
[
"较,我们还报告了改进过程的结果,该过程为",
"",
"不同的方差。有关差异设置的详细信息,请检",
"大多数语言对带来了准确性的微小提高。请注",
"查我们代码库中的脚本。我们根据经验发现,",
"意,对于细化过程中的双语词典归纳,我们使",
"对于一个语言对,具有相对更复杂的形态属性",
"用CSLS作为所有实验的检索指标,以便与先",
"的语言的方差需要设置得比另一种语言更大,",
"前工作中的细化步骤进行公平比较。",
"这表明该模型需要在形态更丰富的语言的嵌人",
"空间中进行更多的探索",
"5Experiments",
"我们用随机正交矩阵初始化映射矩阵Wary",
"5.1 Dataset and Task",
"和Wyr。对于弱正交约束损失Lbt,我们将",
"权重入设置为0。5个贯穿所有语言对。对",
"我们对双语词典归纳(BLI)任务进行了广泛",
"于弱监督损失Lsup;我们将所有语言的权重",
"的评估,该任务与黄金标准相比衡量了单词翻",
"α设置为10,除了en-zh,我们发现5表现",
"译的准确性。我们报告了广泛使用的MUSE",
"更好。在所有语言中,我们将高斯混合权重的",
"数据集(Conneauetal.,2017)的结果,该数据",
"softmax函数中使用的温度T设置为2。",
"集包括在Wikipedia(Bojanowskietal.2017)",
"上预先训练的FastText单语嵌入,以及用于",
"5.3MainResults on BLI",
"许多语言对的字典,这些语言对分为训练集和",
"在选项卡中。1,我们将DeMa-BME的性能",
"测试集。我们遵循(Conneauetal.,2017)的评",
"与常用基准语言对上性能最好的无监督和监督",
"估设置。我们通过在英语和包括相关语言在内",
"方法进行了广泛的比较",
"的不同语言之间引人词典来评估DeMa-BWE",
"我们的无监督基线是:(1)MUSE(U+R)",
"g。西班牙语;词源上遥远的语言,例如。g。日",
"(Conneauetal.,2017),一种基于GAN的无",
"语;以及形态丰富的语言,例如。g。芬兰语",
"监督方法,具有细化。(2)基于(Artetxeetal.,",
"5.2Implementation Details",
"2018b)的一种强而鲁棒的无监督自学习方法",
"SL-unsup。我们还使用与初始字典相同的单",
"EmbeddingNormalization在(Artetxe",
"词运行他们发布的代码,以便与我们的方法",
"etal.,2018b)之后,我们通过首先应用长度",
"进行公平比较,表示为SL-unsup-ID。(3)最",
"归一化,然后在每个维度上平均居中,然后再",
"小化源和目标词向量之间的Sinkhorn距离的",
"次进行长度归一化来预处理单语言嵌入,以确",
"Sinkhorn (Xu et al., 2018)。(4)来自 (Hoshen",
"保最终嵌入具有单位长度。我们观察到这种归",
"andWolf,2018))的选代匹配方法:具有细化的",
"化方法有助于稳定训练并加速收敛",
"非Adv和非Adv(R)。(5)WS-Procrustes(R)",
"OtherExperimentalDetails我们从MUSE",
"使用(Graveetal.,2018)细化。我们的监督",
"数据集中的训练集中随机抽取了1000个翻译",
"方法包括:(1)送代Procrustes方法Pro-",
"对作为我们的验证数据。我们还尝试了(Con",
"crustes (R)(Smith et al., 2017)。(2)一个多",
"neauetal,2017)中提出的无监督验证准则作",
"步框架MSF-ISF(Artetxeetal.,2018a)及其",
"为模型选择方法,该方法计算模型诱导字典对",
"变体MSF,它使用CSLS进行检索,其结果",
"上的平均余弦相似性,并发现该无监督准则可",
"来自(Jawanpuria et al.,2018)。(3)(Joulin",
"以选择实现与监督验证准则相似性能的模型。",
"etal.,2018)的CSLS-Sp优化了CSLS分数",
"所有超参数都在验证集上进行了调整,并包括",
"以及(4)(Jawanpuriaetal.,2018)的几何方法",
"以下内容:对于在GMM中用作高斯分量的基",
"GeoMM。为了公平比较,所有监督结果都使",
"本单词的数量,我们通常为所有语言对选择最",
"用MUSE数据集中的训练字典进行训练。除",
"频繁的20,000个单词,但使用10,000的en-ja",
"Sinkhorn方法外,所有基线方法均采用CSLS",
"可以实现更好的性能。我们对所有语言使用",
"进行检索",
"2048的批处理大小,但使用1024的en-ja。我",
"对于DeMa-BME,我们提供有和没有改进",
"们使用Adam(KingmaandBa,2014)进行具",
"的结果,并以CSLS和 CSLS-D作为检索方",
"有默认超参数的优化",
"法。从选项卡。1,我们可以看到DeMa-BME",
"我们根据经验将高斯方差设置为0。在en-",
"的整体性能与其他无监督方法相比是显着的",
"es,en-de,en-fr,en-ru中的源语言和目标语",
"并且与强监督方法相比也具有竞争力。没有选",
"言中均为01;在形态学丰富的语言的实验中",
"代细化CSLS(w/oR)的结果在几乎所有语言",
"(Sec。5.4),我们将方差设置为0。015适用",
"对上都很强,在DeMa-BME优于或与最佳方",
"于所有这些语言,但方差设置为0的et除外。",
"法相当的 es-en、en-de 和 en-fr上观察到特别",
"02,同时保持英语的方差为0。01。在词源上遥",
"强的性能。将改进应用于DeMa-BME会在大",
"远的语言对en-ja和 en-zh的实验中,我们在",
"多数语言对上带来更好的性能,但会降低某些",
"不同的映射方向上为源语言和自标语言设置了",
"语言对的性能,例如es-en,zh-en,DeMa-BME"
] |
{
"arxiv_id": "1904.02343",
"language": "zh",
"page_idx": 4
}
|
||
2206.11218-zh-2
|
2206.11218-zh-2.jpg
|
# 用于重写话语的分层上下文标记
Lisa Jin$^1*$,Linfeng Song$^2{\ddagger}$,Lifeng Jin$^2$,Dong Yu$^2$,Daniel Gildea$^1$
$^{1}$University of Rochester, Rochester, NY, USA
$^{2}$Tencent AI Lab, Bellevue, WA, USA
$\operatorname*{ljin14@cs.rochester.edu,~}$
## $\operatorname{Abstract}$
Utterance rewriting aims to recover coreferences and omitted information from the latest turn of a multiturn dialogue. Recently, methods that tag rather than linearly generate sequences have proven stronger in both in- and out-of-domain rewriting settings. This is due to a tagger's smaller se copy tokens from the dialogu methods may suffer from low coverage when phrases that must be added to a source utterance cannot be covered by a single context span. This can occur in languages like English that introduce tokens such as prepositions into the rewrite for grammaticality. We propose a hierarchical conte igates this issue by predicting slotted rules (e.g.,“besides\_") whose slots are later filled with context spans.$\overline {HC}$T( i) tags the source string with token- level $\hat{\mathrm{edit~actions~and~slotted~rules~and~(~ii~)~fills~in~the~re-}}$ sulting rule slots with span This rule tagging allows HCT to add out-of-context tokens and multiple spans at once; we further cluster the rules to truncate the long tail of the rule distribution. Experiments on several benchmarks show that HCT can outperform state-of-the-art rewriting systems by $\sim2$ BLEU points.
# 1 Introduction
人与机器之间的建模对话长期以来一直是重要的研究方向,具有很高的商业价值。这些任务包括对话响应计划 (?) , 间答 (?) 和会话设置 (?) 中的语义解析。深度学习和语言模型预训练的最新进展大大提高了许多句子级任务的性能。但是,机器经常受到较长形式对话中常见的共指,回指和省略号的挑战。已提议重写(???) ,以通过逐个编辑对话以包括过去的上下文来在本地解决这些引用。这样,模型只需要关注最后一个重写的对话回合。自包含的话语还使模型可以利用句子级语义解析器(?)进行对话理解
过去在此任务上的许多工作 (??) 将其视为标准的序列到序列(seq-to-seq)问题,应用 RNN 或 Transformers。这种方法需要重新预测源和目标话语之间共享的令牌。为了减轻冗余,模型可能包括一个复制机制(??),除
${^*\mathrm{Work~done~during~an~internship~at~Tencent~AI~Lab.}}$
$^{\dagger}$Corresponding author.
Copyright $\bar{\otimes}2022,\bar{\text{Assoc}}$
tificial Intelligence (www.a
<table>
<tbody>
<tr>
<th>Turn</th>
<th>Utterance</th>
</tr>
<tr>
<td>1</td>
<td>$Wh$ $\mathbf{n}+^{\prime}$</td>
</tr>
<tr>
<td>2</td>
<td>$H_{\mathrm{e}}$ 1 his stardar match hark</td>
</tr>
<tr>
<td>3</td>
<td>Did he ha iniuries? 1 other </td>
</tr>
<tr>
<td>3 海</td>
<td>$\Pi_{\mathrm{ic}}$</td>
</tr>
</tbody>
</table>
Table 1: Sample dialogue for utterance rewriting. Turns 1-2 are the context, 3 is the source, and $3^*$ is the target. The target is a context-independent rewrite of the source.
如,?报告在两个中文重写数据集(??)之间传输后下降
# $\stackrel{'}{\operatorname*{\operatorname*{J}}}28\ddot{\mathrm{BLEU}}$
了从单独的词汇表中提取外,还支持复制源令牌。然而, 从头开始生成所有目标令牌仍然是一个负担。也许结果是,这些早期的努力在数据域之间不能很好地推广。例
为了利用源和目标话语之间的重叠,以后的工作通过序列标记将重写生成转换为源编辑。这种标记大大简化了学习问题:预测几个固定长度的标记序列,每个序列都有一个小词汇量。?提出了一个系统,该系统可以预测编辑操作,以(i)保留或删除源令牌,以及(ii)可选地在令牌之前添加上下文跨度。他们重写中文数据集, 其中大多数目标可以通过每个源令牌最多添加一个上下文跨度来覆盖。不幸的是,他们的单跨距标记器太脆, 无法插人上下文之外的标记或一系列不连续的跨距,导致目标短语覆盖率低
?预测上下文源对之间的单词级编辑矩阵,而不是将编辑操作标记与跨度插入分开。与?相比,此方法可以在每个源令牌之前添加任意非连续的上下文短语。尽管它可能涵盖更多的目标短语,但编辑矩阵涉及的$\mathcal{O}($ 标记比$m$上下文标记的序列多一倍。它的灵活性也使得它更容易产生非语法输出,因为上下文令牌的任何子集都可以添加到源。最后,?将源序列标记器与基于LSTM 的解码器结合在一起。但是,恢复到 seq 到 seq 方法会引人与序列标记旨在避免的相同的大搜索空间问题
为了预测添加的短语,我们希望保持跨度预测器的小搜索空间,同时将其扩展到(i)非连续上下文跨度和(ii)上下文中完全缺少的令牌。对于(i),我们首先构建一个多跨度标记器 (MST), 它可以自动回归预测每个源令牌的几个上下文跨度。我们使用语法引导的方法来自动提取每个目标短语的多跨标签。我们进一步提出了
|
[
[
0.339111328125,
0.126953125,
0.6611328125,
0.126953125,
0.6611328125,
0.141357421875,
0.339111328125,
0.141357421875
],
[
0.2279052734375,
0.1622314453125,
0.775390625,
0.1622314453125,
0.775390625,
0.179931640625,
0.2279052734375,
0.179931640625
],
[
0.334228515625,
0.1849365234375,
0.6650390625,
0.1849365234375,
0.6650390625,
0.1988525390625,
0.334228515625,
0.1988525390625
],
[
0.36279296875,
0.1976318359375,
0.6337890625,
0.1988525390625,
0.6337890625,
0.21337890625,
0.36279296875,
0.212158203125
],
[
0.1846923828125,
0.21337890625,
0.814453125,
0.21337890625,
0.814453125,
0.2279052734375,
0.1846923828125,
0.2279052734375
],
[
0.25,
0.2734375,
0.314453125,
0.2734375,
0.314453125,
0.28857421875,
0.25,
0.28857421875
],
[
0.52685546875,
0.274658203125,
0.5849609375,
0.274658203125,
0.5849609375,
0.2890625,
0.52685546875,
0.2890625
],
[
0.576171875,
0.2734375,
0.650390625,
0.27587890625,
0.650390625,
0.290283203125,
0.576171875,
0.28857421875
],
[
0.54150390625,
0.29541015625,
0.5537109375,
0.29541015625,
0.5537109375,
0.306884765625,
0.54150390625,
0.306884765625
],
[
0.580078125,
0.29345703125,
0.91259765625,
0.294189453125,
0.91259765625,
0.30810546875,
0.580078125,
0.306884765625
],
[
0.54150390625,
0.306884765625,
0.5537109375,
0.306884765625,
0.5537109375,
0.32080078125,
0.54150390625,
0.32080078125
],
[
0.10455322265625,
0.296630859375,
0.4599609375,
0.296630859375,
0.4599609375,
0.306884765625,
0.10455322265625,
0.306884765625
],
[
0.10455322265625,
0.31005859375,
0.4599609375,
0.31005859375,
0.4599609375,
0.32080078125,
0.10455322265625,
0.32080078125
],
[
0.5810546875,
0.306884765625,
0.85546875,
0.306884765625,
0.85546875,
0.32080078125,
0.5810546875,
0.32080078125
],
[
0.5400390625,
0.3193359375,
0.55615234375,
0.3193359375,
0.55615234375,
0.333984375,
0.5400390625,
0.333984375
],
[
0.58251953125,
0.32080078125,
0.79150390625,
0.32080078125,
0.79150390625,
0.333984375,
0.58251953125,
0.333984375
],
[
0.10296630859375,
0.333984375,
0.463134765625,
0.333984375,
0.463134765625,
0.347900390625,
0.10296630859375,
0.347900390625
],
[
0.10296630859375,
0.3212890625,
0.461669921875,
0.3212890625,
0.461669921875,
0.335205078125,
0.10296630859375,
0.335205078125
],
[
0.5390625,
0.339111328125,
0.5537109375,
0.339111328125,
0.5537109375,
0.349853515625,
0.5390625,
0.349853515625
],
[
0.58251953125,
0.33837890625,
0.93701171875,
0.33837890625,
0.93701171875,
0.3515625,
0.58251953125,
0.3515625
],
[
0.10455322265625,
0.347900390625,
0.461669921875,
0.347900390625,
0.461669921875,
0.35791015625,
0.10455322265625,
0.35791015625
],
[
0.10296630859375,
0.359130859375,
0.461669921875,
0.359130859375,
0.461669921875,
0.37255859375,
0.10296630859375,
0.37255859375
],
[
0.10296630859375,
0.371826171875,
0.461669921875,
0.371826171875,
0.461669921875,
0.385009765625,
0.10296630859375,
0.385009765625
],
[
0.521484375,
0.367431640625,
0.9111328125,
0.367431640625,
0.9111328125,
0.380615234375,
0.521484375,
0.380615234375
],
[
0.10296630859375,
0.3837890625,
0.461669921875,
0.3837890625,
0.461669921875,
0.397705078125,
0.10296630859375,
0.397705078125
],
[
0.52294921875,
0.3837890625,
0.5498046875,
0.3837890625,
0.5498046875,
0.392578125,
0.52294921875,
0.392578125
],
[
0.5439453125,
0.3818359375,
0.91015625,
0.3818359375,
0.91015625,
0.395751953125,
0.5439453125,
0.395751953125
],
[
0.10296630859375,
0.396484375,
0.463134765625,
0.396484375,
0.463134765625,
0.410400390625,
0.10296630859375,
0.410400390625
],
[
0.51953125,
0.395751953125,
0.9140625,
0.395751953125,
0.9140625,
0.410400390625,
0.51953125,
0.410400390625
],
[
0.10296630859375,
0.4091796875,
0.463134765625,
0.4091796875,
0.463134765625,
0.42236328125,
0.10296630859375,
0.42236328125
],
[
0.51953125,
0.4091796875,
0.5986328125,
0.410888671875,
0.5986328125,
0.42236328125,
0.51953125,
0.42041015625
],
[
0.10296630859375,
0.421630859375,
0.461669921875,
0.421630859375,
0.461669921875,
0.43505859375,
0.10296630859375,
0.43505859375
],
[
0.101318359375,
0.43505859375,
0.463134765625,
0.43310546875,
0.463134765625,
0.4462890625,
0.101318359375,
0.448974609375
],
[
0.10296630859375,
0.447509765625,
0.461669921875,
0.447509765625,
0.461669921875,
0.4609375,
0.10296630859375,
0.4609375
],
[
0.10296630859375,
0.460205078125,
0.4599609375,
0.460205078125,
0.4599609375,
0.473388671875,
0.10296630859375,
0.473388671875
],
[
0.52392578125,
0.455078125,
0.91015625,
0.455078125,
0.91015625,
0.468505859375,
0.52392578125,
0.468505859375
],
[
0.160888671875,
0.4716796875,
0.461669921875,
0.4716796875,
0.461669921875,
0.48486328125,
0.160888671875,
0.48486328125
],
[
0.52294921875,
0.46728515625,
0.9111328125,
0.46728515625,
0.9111328125,
0.481689453125,
0.52294921875,
0.481689453125
],
[
0.10540771484375,
0.474853515625,
0.136474609375,
0.474853515625,
0.136474609375,
0.48291015625,
0.10540771484375,
0.48291015625
],
[
0.101318359375,
0.484130859375,
0.4599609375,
0.484130859375,
0.4599609375,
0.49755859375,
0.101318359375,
0.49755859375
],
[
0.521484375,
0.481689453125,
0.9111328125,
0.481689453125,
0.9111328125,
0.49560546875,
0.521484375,
0.49560546875
],
[
0.10296630859375,
0.496826171875,
0.459228515625,
0.496826171875,
0.459228515625,
0.51025390625,
0.10296630859375,
0.51025390625
],
[
0.52294921875,
0.496826171875,
0.9111328125,
0.496826171875,
0.9111328125,
0.51025390625,
0.52294921875,
0.51025390625
],
[
0.101318359375,
0.5087890625,
0.459228515625,
0.5087890625,
0.459228515625,
0.52294921875,
0.101318359375,
0.52294921875
],
[
0.52392578125,
0.51123046875,
0.60546875,
0.51123046875,
0.60546875,
0.52294921875,
0.52392578125,
0.52294921875
],
[
0.10455322265625,
0.521484375,
0.4599609375,
0.521484375,
0.4599609375,
0.5361328125,
0.10455322265625,
0.5361328125
],
[
0.53759765625,
0.52587890625,
0.9111328125,
0.52587890625,
0.9111328125,
0.5390625,
0.53759765625,
0.5390625
],
[
0.10455322265625,
0.5361328125,
0.4599609375,
0.5361328125,
0.4599609375,
0.546875,
0.10455322265625,
0.546875
],
[
0.521484375,
0.5390625,
0.9111328125,
0.5390625,
0.9111328125,
0.55322265625,
0.521484375,
0.55322265625
],
[
0.10296630859375,
0.54736328125,
0.455810546875,
0.54736328125,
0.455810546875,
0.55810546875,
0.10296630859375,
0.55810546875
],
[
0.52392578125,
0.5537109375,
0.9111328125,
0.5537109375,
0.9111328125,
0.5673828125,
0.52392578125,
0.5673828125
],
[
0.10296630859375,
0.56005859375,
0.461669921875,
0.56005859375,
0.461669921875,
0.57373046875,
0.10296630859375,
0.57373046875
],
[
0.10296630859375,
0.57275390625,
0.461669921875,
0.57275390625,
0.461669921875,
0.5859375,
0.10296630859375,
0.5859375
],
[
0.521484375,
0.5673828125,
0.9111328125,
0.5673828125,
0.9111328125,
0.58056640625,
0.521484375,
0.58056640625
],
[
0.10296630859375,
0.58544921875,
0.2254638671875,
0.58544921875,
0.2254638671875,
0.5986328125,
0.10296630859375,
0.5986328125
],
[
0.52294921875,
0.58349609375,
0.9111328125,
0.58349609375,
0.9111328125,
0.59326171875,
0.52294921875,
0.59326171875
],
[
0.52294921875,
0.59521484375,
0.91259765625,
0.59521484375,
0.91259765625,
0.609375,
0.52294921875,
0.609375
],
[
0.51953125,
0.60693359375,
0.91259765625,
0.60791015625,
0.91259765625,
0.62255859375,
0.51953125,
0.6220703125
],
[
0.2099609375,
0.6171875,
0.2467041015625,
0.6171875,
0.2467041015625,
0.62890625,
0.2099609375,
0.62890625
],
[
0.240234375,
0.6171875,
0.3544921875,
0.6171875,
0.3544921875,
0.630859375,
0.240234375,
0.630859375
],
[
0.52294921875,
0.62255859375,
0.91015625,
0.62255859375,
0.91015625,
0.63623046875,
0.52294921875,
0.63623046875
],
[
0.08905029296875,
0.63525390625,
0.47802734375,
0.63525390625,
0.47802734375,
0.6484375,
0.08905029296875,
0.6484375
],
[
0.521484375,
0.63623046875,
0.91259765625,
0.63623046875,
0.91259765625,
0.6494140625,
0.521484375,
0.6494140625
],
[
0.08905029296875,
0.6484375,
0.476318359375,
0.6484375,
0.476318359375,
0.66357421875,
0.08905029296875,
0.66357421875
],
[
0.521484375,
0.65087890625,
0.6689453125,
0.65087890625,
0.6689453125,
0.6640625,
0.521484375,
0.6640625
],
[
0.0882568359375,
0.66357421875,
0.476318359375,
0.66357421875,
0.476318359375,
0.6767578125,
0.0882568359375,
0.6767578125
],
[
0.5361328125,
0.66650390625,
0.9111328125,
0.66650390625,
0.9111328125,
0.6796875,
0.5361328125,
0.6796875
],
[
0.0882568359375,
0.67529296875,
0.476318359375,
0.67529296875,
0.476318359375,
0.689453125,
0.0882568359375,
0.689453125
],
[
0.521484375,
0.6796875,
0.9111328125,
0.6796875,
0.9111328125,
0.693359375,
0.521484375,
0.693359375
],
[
0.0906982421875,
0.6923828125,
0.4755859375,
0.6923828125,
0.4755859375,
0.70263671875,
0.0906982421875,
0.70263671875
],
[
0.521484375,
0.693359375,
0.9111328125,
0.693359375,
0.9111328125,
0.70703125,
0.521484375,
0.70703125
],
[
0.08660888671875,
0.705078125,
0.47802734375,
0.705078125,
0.47802734375,
0.71826171875,
0.08660888671875,
0.71826171875
],
[
0.521484375,
0.70703125,
0.9111328125,
0.70703125,
0.9111328125,
0.72021484375,
0.521484375,
0.72021484375
],
[
0.10296630859375,
0.71826171875,
0.476318359375,
0.71826171875,
0.476318359375,
0.73193359375,
0.10296630859375,
0.73193359375
],
[
0.521484375,
0.7216796875,
0.91259765625,
0.7216796875,
0.91259765625,
0.73486328125,
0.521484375,
0.73486328125
],
[
0.0882568359375,
0.73193359375,
0.47802734375,
0.73193359375,
0.47802734375,
0.7470703125,
0.0882568359375,
0.7470703125
],
[
0.521484375,
0.73486328125,
0.9111328125,
0.73486328125,
0.9111328125,
0.74853515625,
0.521484375,
0.74853515625
],
[
0.0882568359375,
0.7470703125,
0.47802734375,
0.7470703125,
0.47802734375,
0.76025390625,
0.0882568359375,
0.76025390625
],
[
0.52294921875,
0.74853515625,
0.9111328125,
0.74853515625,
0.9111328125,
0.76220703125,
0.52294921875,
0.76220703125
],
[
0.0882568359375,
0.76025390625,
0.25,
0.76025390625,
0.25,
0.7734375,
0.0882568359375,
0.7734375
],
[
0.51953125,
0.76220703125,
0.91259765625,
0.76318359375,
0.91259765625,
0.77783203125,
0.51953125,
0.7763671875
],
[
0.10455322265625,
0.7734375,
0.47802734375,
0.7734375,
0.47802734375,
0.787109375,
0.10455322265625,
0.787109375
],
[
0.52294921875,
0.7763671875,
0.91259765625,
0.7763671875,
0.91259765625,
0.79052734375,
0.52294921875,
0.79052734375
],
[
0.0882568359375,
0.787109375,
0.47802734375,
0.787109375,
0.47802734375,
0.80029296875,
0.0882568359375,
0.80029296875
],
[
0.52294921875,
0.79150390625,
0.5537109375,
0.79150390625,
0.5537109375,
0.80322265625,
0.52294921875,
0.80322265625
],
[
0.08660888671875,
0.80029296875,
0.47802734375,
0.80029296875,
0.47802734375,
0.814453125,
0.08660888671875,
0.814453125
],
[
0.53759765625,
0.80615234375,
0.9111328125,
0.80615234375,
0.9111328125,
0.8193359375,
0.53759765625,
0.8193359375
],
[
0.0882568359375,
0.81494140625,
0.4794921875,
0.81494140625,
0.4794921875,
0.8291015625,
0.0882568359375,
0.8291015625
],
[
0.521484375,
0.82080078125,
0.91259765625,
0.82080078125,
0.91259765625,
0.833984375,
0.521484375,
0.833984375
],
[
0.11273193359375,
0.8369140625,
0.45751953125,
0.8369140625,
0.45751953125,
0.85107421875,
0.11273193359375,
0.85107421875
],
[
0.521484375,
0.833984375,
0.91259765625,
0.833984375,
0.91259765625,
0.84765625,
0.521484375,
0.84765625
],
[
0.1094970703125,
0.849609375,
0.265625,
0.85107421875,
0.265625,
0.86572265625,
0.1094970703125,
0.8642578125
],
[
0.53173828125,
0.84765625,
0.9111328125,
0.84765625,
0.9111328125,
0.861328125,
0.53173828125,
0.861328125
],
[
0.08660888671875,
0.86279296875,
0.4755859375,
0.86279296875,
0.4755859375,
0.876953125,
0.08660888671875,
0.876953125
],
[
0.52294921875,
0.8623046875,
0.9111328125,
0.8623046875,
0.9111328125,
0.87548828125,
0.52294921875,
0.87548828125
],
[
0.0849609375,
0.875,
0.44775390625,
0.87548828125,
0.44775390625,
0.89013671875,
0.0849609375,
0.8896484375
],
[
0.52392578125,
0.87744140625,
0.90869140625,
0.87744140625,
0.90869140625,
0.88818359375,
0.52392578125,
0.88818359375
]
] |
[
"用于重写话语的分层上下文标记",
"Lisa Jinl*, Linfeng Song2t, Lifeng Jin?, Dong Yu?, Daniel Gildea'",
"1University of Rochester, Rochester, NY, USA",
"2Tencent AI Lab, Bellevue, WA, USA",
"ljin14@cs.rochester.edu, [ lfsong, lifengjin, dyu } @tencent.com, gildea@cs.rochester.edu",
"Abstract",
"Turn",
"Utterance",
"1",
"Why did Federer withdraw from the tournament?",
"2",
"Utterance rewriting aims to recover coreferences and",
"omitted informationfrom thelatestturn of a multi-",
"He injured his back in yesterday's match.",
"3",
"Did he have any other injuries?",
"linearly generate sequences have proven stronger in",
"turn dialogue. Recently, methods that tag rather than",
"3*",
"Did Federer have any other injuries besides his back?",
"both in-and out-of-domain rewriting settings.This is",
"due to a tagger's smaller search space as it can only",
"copy tokens from the dialogue context. However, these",
"Table l: Sample dialogue for utterance rewriting. Turns",
"methods may suffer from low coverage when phrases",
"1=",
"2 are the context, 3 is the source, and 3* is the",
"that must be added to a source utterance cannot be",
"target. The target is a context-independent rewrite of",
"covered by a single context span. This can occur in",
"the source.",
"languages like English that introduce tokens such as",
"prepositions into the rewrite for grammaticality.We",
"propose a hierarchical context tagger (HCT) that mit-",
"igates this issue by predicting slotted rules (e.g., \"be-",
"了从单独的词汇表中提取外,还支持复制源令牌。然而",
"\") whose slots are later filled with context",
"从头开始生成所有目标令牌仍然是一个负担。也许结果",
"sides",
"spans. HCT (i) tags the source string with token-leve",
"是,这些早期的努力在数据域之间不能很好地推广。例",
"edit actions and slotted rules and (ii ) flls in the re",
"如,?报告在两个中文重写数据集(??)之间传输后下降",
"sulting rule slots with spans from the dialogue context",
"了28BLEU",
"This rule tagging allows HCT to add out-of-context to-",
"为了利用源和目标话语之间的重叠,以后的工作通过",
"kens and multiple spans at once; we further cluster the",
"序列标记将重写生成转换为源编辑。这种标记大大简化",
"rules to truncate the long tail of the rule distribution",
"了学习问题:预测几个固定长度的标记序列,每个序列",
"Experiments on several benchmarks show that HCT",
"can outperform state-of-the-art rewriting systems by",
"都有一个小词汇量。?提出了一个系统,该系统可以预",
"~ 2 BLEU points.",
"测编辑操作,以(i)保留或删除源今牌,以及(i)可选",
"地在令牌之前添加上下文跨度。他们重写中文数据集,",
"其中大多数目标可以通过每个源令牌最多添加一个上",
"1",
"Introduction",
"下文跨度来覆盖。不幸的是,他们的单跨距标记器太脆",
"人与机器之间的建模对话长期以来一直是重要的研究",
"无法插人上下文之外的标记或一系列不连续的跨距,导",
"方向,具有很高的商业价值。这些任务包括对话响应计",
"致目标短语覆盖率低",
"划(?),问答(?)和会话设置(?)中的语义解析。深度",
"?预测上下文源对之间的单词级编辑矩阵,而不是将",
"学习和语言模型预训练的最新进展大大提高了许多句",
"编辑操作标记与跨度插人分开。与?相比,此方法可以",
"子级任务的性能。但是,机器经常受到较长形式对话中",
"在每个源令牌之前添加任意非连续的上下文短语。尽管",
"常见的共指,回指和省略号的挑战。。已提议重写(???)",
"它可能涵盖更多的目标短语,但编辑矩阵涉及的O(m)",
"以通过逐个编辑对话以包括过去的上下文来在本地解",
"标记比㎡上下文标记的序列多一倍。它的灵活性也使",
"决这些引用。这样,模型只需要关注最后一个重写的对",
"得它更容易产生非语法输出,因为上下文令牌的任何",
"话回合。自包含的话语还使模型可以利用句子级语义解",
"子集都可以添加到源。最后,?将源序列标记器与基于",
"析器(?)进行对话理解",
"LSTM的解码器结合在一起。但是,恢复到seq到seq",
"过去在此任务上的许多工作(??)将其视为标准的序",
"方法会引人与序列标记旨在避免的相同的大搜索空间",
"列到序列(seq-to-seq)问题,应用RNN或Transformers。",
"问题",
"这种方法需要重新预测源和目标话语之间共享的令牌。",
"为了预测添加的短语,我们希望保持跨度预测器的小",
"为了减轻穴余,模型可能包括一个复制机制(??),除",
"搜索空间,同时将其扩展到(i)非连续上下文跨度和",
"*Work done during an internship at Tencent AI Lab",
"(i)上下文中完全缺少的令牌。对于(i),我们首先构建",
"+Corresponding author.",
"个多跨度标记器(MST),它可以自动回归预测每个",
"Copyright 2022, Association for the Advancement of Ar-",
"源令牌的几个上下文跨度。我们使用语法引导的方法来",
"tificial Intelligence (www.aaai.org). All rights reserved.",
"自动提取每个目标短语的多跨标签。我们进一步提出了"
] |
{
"arxiv_id": "2206.11218",
"language": "zh",
"page_idx": 2
}
|
||
2205.10577-zh-1
|
2205.10577-zh-1.jpg
|
非自回归神经机器翻译:对清晰度的呼唤
Robin M.Schmidt Telmo Pessoa Pires Stephan Peitz Jonas Lööt
$\{$ robin\_schmidt, telmo, speitz, jloof $\}$ @apple.com
## $\mathbf{Abstract}$
Non-autoregressive approaches aim to improve the inference speed of translation models by only requiring a single forward pass to generate the output sequence instead of iteratively producing each predicted token. Consequently, their translation quality still tends to be inferior to their autoregressive counterparts due to several issues involving output token interdependence. In this work, we take a step back and revisit several techniques that have been proposed for improving nonautoregressive translation models and compare their combined translation quality and speed implications under third-party testing environments. We provide novel insights for establishing strong baselines using length prediction or CTC-based architecture variants and contribute standardized , and scores using on four translation tasks, which crucially have been missing as inconsistencies in the use of tokenized lead to deviations of up to 1.7 points. Our open-sourced code is integrated into for reproducibility. $^{\mathrm{l}}$
# 1 Introduction
传统的序列到序列模型旨在预测长度为$I$ 的目标序列$e_1^I=e_1,\ldots,e_i,\ldots,e_I$ ,给定长度为$J$ 的输入序列$f_1^J=f_1,\ldots,f_j,\ldots,f_J$ 。在自回归情况下,这是逐个令牌完成的,并且在时间步长$i$处输出的概率分布以源句子$f_1^J$以及模型$e_1^{i-1}$ 的先前输出为条件,并由$\theta$参数化:
$$p_\theta(e_1^I|f_1^J)=\prod_{i=1}^Ip_\theta(e_i|e_1^{i-1},f_1^J).$$
(1)
即使广泛部署了这些类型的模型,但主要缺点之一是固有的从左到右分解,需要迭代生成输出令牌,这在现代硬件(例如GPU或TPU)上无法有效地并行化。另一方面,非自回归翻译假设输出令牌之间具有条件独立性,从而允许
$^{1}$https: //gi thub. com/facebookresearch/fairseq/
pull/4431
并行生成所有令牌。实际上,它消除了对生成
解码历史的依赖:
(2)
$$p_\theta(e_1^I|f_1^J)=\prod_{i=1}^Ip_\theta(e_i|f_1^J).$$
尽管具有计算优势,但该建模假设往往更具限制性,并引入了多模态问题(?),其中重复了连续的输出令牌或未能正确合并前面的信息以形成有意义的翻译。克服这个问题是在各种任务和体系结构上实现与自回归翻译同等的关键挑战之一
最接近本作品的是?的一项研究,该研究还分析了有关其有效性的最新作品,并成功地将它们结合起来以实现卓越的翻译质量。在这项工作中,我们还解决了文献中的几个缺点:1) 使用并附带开源代码的标准化,和分数;2)通过与更快的基线进行比较,实现更现实的非自回归加速期望;3)呼吁社区明确数据预处理和评估设置
评估
## 2 Experimental setup
Datasets & knowledge distillation 上的方向我们在两个数据集上进行实验:WMT’14 英语$\leftrightarrow$德语(,4M 句子对)和 WMT'16XMATHXX。作为非自回归文献中的常见做法,我们使用序列级知识蒸馏(KD,?)来训练我们的模型, 该模型是从 Transformer 基础教师模型(?)获得的,其光束尺寸为5。我们使用 Moses 标记器对所有数据进行标记,并应用 Moses 脚本(?)进行标点规范化。字节对编码 (BPE,?)与40,000合并操作一起使用
对于,我们使用 WMT’16 提供的脚本来规范化 侧,并仅删除的变音符号。保留变音符号以产生准确的翻译,这解释了我们的数字与以前的作品(??) 中声称的数字之间的差距,后者除了在标记化文本上计算之外,还在无变音符号的文本上进行了比较。更多细节总结在app:dataset$_details$
|
[
[
0.285400390625,
0.0955810546875,
0.7138671875,
0.0955810546875,
0.7138671875,
0.10986328125,
0.285400390625,
0.10986328125
],
[
0.197265625,
0.1455078125,
0.80615234375,
0.1455078125,
0.80615234375,
0.1591796875,
0.197265625,
0.1591796875
],
[
0.47607421875,
0.162109375,
0.5283203125,
0.162109375,
0.5283203125,
0.1776123046875,
0.47607421875,
0.1776123046875
],
[
0.255126953125,
0.1787109375,
0.759765625,
0.1787109375,
0.759765625,
0.193603515625,
0.255126953125,
0.193603515625
],
[
0.264404296875,
0.254638671875,
0.340087890625,
0.254638671875,
0.340087890625,
0.2666015625,
0.264404296875,
0.2666015625
],
[
0.5146484375,
0.254638671875,
0.880859375,
0.254638671875,
0.880859375,
0.268310546875,
0.5146484375,
0.268310546875
],
[
0.51318359375,
0.270751953125,
0.6513671875,
0.270751953125,
0.6513671875,
0.283935546875,
0.51318359375,
0.283935546875
],
[
0.145263671875,
0.281982421875,
0.459228515625,
0.281982421875,
0.459228515625,
0.295654296875,
0.145263671875,
0.295654296875
],
[
0.145263671875,
0.29638671875,
0.459228515625,
0.29638671875,
0.459228515625,
0.31005859375,
0.145263671875,
0.31005859375
],
[
0.70361328125,
0.302734375,
0.7109375,
0.302734375,
0.7109375,
0.30810546875,
0.70361328125,
0.30810546875
],
[
0.145263671875,
0.31005859375,
0.45751953125,
0.31005859375,
0.45751953125,
0.32373046875,
0.145263671875,
0.32373046875
],
[
0.59375,
0.311279296875,
0.79833984375,
0.312255859375,
0.79833984375,
0.330810546875,
0.59375,
0.330078125
],
[
0.85791015625,
0.3154296875,
0.8818359375,
0.3154296875,
0.8818359375,
0.328857421875,
0.85791015625,
0.328857421875
],
[
0.1485595703125,
0.325927734375,
0.45751953125,
0.325927734375,
0.45751953125,
0.336181640625,
0.1485595703125,
0.336181640625
],
[
0.69287109375,
0.330810546875,
0.7197265625,
0.330810546875,
0.7197265625,
0.34326171875,
0.69287109375,
0.34326171875
],
[
0.145263671875,
0.33837890625,
0.459228515625,
0.33837890625,
0.459228515625,
0.3515625,
0.145263671875,
0.3515625
],
[
0.145263671875,
0.352783203125,
0.456787109375,
0.3515625,
0.456787109375,
0.365234375,
0.145263671875,
0.366455078125
],
[
0.5146484375,
0.359375,
0.880859375,
0.359375,
0.880859375,
0.372314453125,
0.5146484375,
0.372314453125
],
[
0.14697265625,
0.3681640625,
0.45751953125,
0.3681640625,
0.45751953125,
0.37890625,
0.14697265625,
0.37890625
],
[
0.51318359375,
0.37353515625,
0.87890625,
0.374755859375,
0.87890625,
0.3896484375,
0.51318359375,
0.388427734375
],
[
0.145263671875,
0.38134765625,
0.45751953125,
0.38134765625,
0.45751953125,
0.394287109375,
0.145263671875,
0.394287109375
],
[
0.145263671875,
0.3955078125,
0.456787109375,
0.394287109375,
0.456787109375,
0.407958984375,
0.145263671875,
0.4091796875
],
[
0.51318359375,
0.391357421875,
0.87890625,
0.391357421875,
0.87890625,
0.405029296875,
0.51318359375,
0.405029296875
],
[
0.14697265625,
0.410888671875,
0.455078125,
0.410888671875,
0.455078125,
0.421630859375,
0.14697265625,
0.421630859375
],
[
0.51318359375,
0.4091796875,
0.87744140625,
0.4091796875,
0.87744140625,
0.419189453125,
0.51318359375,
0.419189453125
],
[
0.145263671875,
0.42333984375,
0.45751953125,
0.42333984375,
0.45751953125,
0.43701171875,
0.145263671875,
0.43701171875
],
[
0.5146484375,
0.42333984375,
0.880859375,
0.42333984375,
0.880859375,
0.43701171875,
0.5146484375,
0.43701171875
],
[
0.145263671875,
0.438232421875,
0.455078125,
0.438232421875,
0.455078125,
0.451904296875,
0.145263671875,
0.451904296875
],
[
0.51318359375,
0.439453125,
0.57080078125,
0.439453125,
0.57080078125,
0.45361328125,
0.51318359375,
0.45361328125
],
[
0.14697265625,
0.45361328125,
0.456787109375,
0.45361328125,
0.456787109375,
0.46435546875,
0.14697265625,
0.46435546875
],
[
0.53076171875,
0.457275390625,
0.880859375,
0.457275390625,
0.880859375,
0.47021484375,
0.53076171875,
0.47021484375
],
[
0.14697265625,
0.468505859375,
0.456787109375,
0.468505859375,
0.456787109375,
0.478515625,
0.14697265625,
0.478515625
],
[
0.5146484375,
0.473876953125,
0.880859375,
0.473876953125,
0.880859375,
0.48681640625,
0.5146484375,
0.48681640625
],
[
0.145263671875,
0.479736328125,
0.459228515625,
0.479736328125,
0.459228515625,
0.493408203125,
0.145263671875,
0.493408203125
],
[
0.145263671875,
0.49462890625,
0.456787109375,
0.49462890625,
0.456787109375,
0.50830078125,
0.145263671875,
0.50830078125
],
[
0.51318359375,
0.4892578125,
0.87890625,
0.4892578125,
0.87890625,
0.5029296875,
0.51318359375,
0.5029296875
],
[
0.5146484375,
0.50439453125,
0.8818359375,
0.5048828125,
0.8818359375,
0.51953125,
0.5146484375,
0.5185546875
],
[
0.14697265625,
0.51025390625,
0.455078125,
0.51025390625,
0.455078125,
0.52099609375,
0.14697265625,
0.52099609375
],
[
0.1435546875,
0.521484375,
0.45751953125,
0.5224609375,
0.45751953125,
0.53759765625,
0.1435546875,
0.5361328125
],
[
0.51318359375,
0.51953125,
0.880859375,
0.52099609375,
0.880859375,
0.53515625,
0.51318359375,
0.53369140625
],
[
0.145263671875,
0.53759765625,
0.45751953125,
0.53759765625,
0.45751953125,
0.55029296875,
0.145263671875,
0.55029296875
],
[
0.5146484375,
0.53759765625,
0.87890625,
0.53759765625,
0.87890625,
0.55029296875,
0.5146484375,
0.55029296875
],
[
0.145263671875,
0.5517578125,
0.45751953125,
0.5517578125,
0.45751953125,
0.5654296875,
0.145263671875,
0.5654296875
],
[
0.5146484375,
0.552734375,
0.880859375,
0.552734375,
0.880859375,
0.56640625,
0.5146484375,
0.56640625
],
[
0.1485595703125,
0.56787109375,
0.455078125,
0.56787109375,
0.455078125,
0.57763671875,
0.1485595703125,
0.57763671875
],
[
0.5146484375,
0.57080078125,
0.60546875,
0.57080078125,
0.60546875,
0.58203125,
0.5146484375,
0.58203125
],
[
0.145263671875,
0.580078125,
0.45751953125,
0.580078125,
0.45751953125,
0.59326171875,
0.145263671875,
0.59326171875
],
[
0.53076171875,
0.5859375,
0.57080078125,
0.5859375,
0.57080078125,
0.6015625,
0.53076171875,
0.6015625
],
[
0.1435546875,
0.59326171875,
0.26123046875,
0.5927734375,
0.26123046875,
0.60693359375,
0.1435546875,
0.60791015625
],
[
0.1485595703125,
0.62060546875,
0.264404296875,
0.62158203125,
0.264404296875,
0.6357421875,
0.1485595703125,
0.63525390625
],
[
0.509765625,
0.6162109375,
0.71728515625,
0.6181640625,
0.71728515625,
0.6328125,
0.509765625,
0.63134765625
],
[
0.1158447265625,
0.62255859375,
0.145263671875,
0.62255859375,
0.145263671875,
0.63427734375,
0.1158447265625,
0.63427734375
],
[
0.118408203125,
0.64794921875,
0.483642578125,
0.64794921875,
0.483642578125,
0.6611328125,
0.118408203125,
0.6611328125
],
[
0.5146484375,
0.6435546875,
0.8818359375,
0.64453125,
0.8818359375,
0.662109375,
0.5146484375,
0.6611328125
],
[
0.1158447265625,
0.6611328125,
0.489501953125,
0.662109375,
0.489501953125,
0.6796875,
0.1158447265625,
0.6787109375
],
[
0.51318359375,
0.662109375,
0.8818359375,
0.662109375,
0.8818359375,
0.67578125,
0.51318359375,
0.67578125
],
[
0.118408203125,
0.6796875,
0.486083984375,
0.6796875,
0.486083984375,
0.69482421875,
0.118408203125,
0.69482421875
],
[
0.509765625,
0.6767578125,
0.87890625,
0.6767578125,
0.87890625,
0.6904296875,
0.509765625,
0.6904296875
],
[
0.118408203125,
0.6953125,
0.484375,
0.6953125,
0.484375,
0.708984375,
0.118408203125,
0.708984375
],
[
0.51318359375,
0.69482421875,
0.880859375,
0.69482421875,
0.880859375,
0.7080078125,
0.51318359375,
0.7080078125
],
[
0.118408203125,
0.71142578125,
0.486083984375,
0.71142578125,
0.486083984375,
0.724609375,
0.118408203125,
0.724609375
],
[
0.51318359375,
0.71044921875,
0.87744140625,
0.71044921875,
0.87744140625,
0.7236328125,
0.51318359375,
0.7236328125
],
[
0.1175537109375,
0.72802734375,
0.438232421875,
0.72802734375,
0.438232421875,
0.7412109375,
0.1175537109375,
0.7412109375
],
[
0.5146484375,
0.72705078125,
0.8818359375,
0.72705078125,
0.8818359375,
0.74072265625,
0.5146484375,
0.74072265625
],
[
0.51318359375,
0.7421875,
0.880859375,
0.7421875,
0.880859375,
0.755859375,
0.51318359375,
0.755859375
],
[
0.285400390625,
0.7529296875,
0.300537109375,
0.75732421875,
0.2939453125,
0.76708984375,
0.279541015625,
0.76318359375
],
[
0.5146484375,
0.7587890625,
0.880859375,
0.7587890625,
0.880859375,
0.7724609375,
0.5146484375,
0.7724609375
],
[
0.1796875,
0.76708984375,
0.426513671875,
0.76708984375,
0.426513671875,
0.78515625,
0.1796875,
0.78515625
],
[
0.46337890625,
0.771484375,
0.486083984375,
0.771484375,
0.486083984375,
0.7822265625,
0.46337890625,
0.7822265625
],
[
0.51123046875,
0.77490234375,
0.880859375,
0.77490234375,
0.880859375,
0.7880859375,
0.51123046875,
0.7880859375
],
[
0.27783203125,
0.7861328125,
0.3046875,
0.7861328125,
0.3046875,
0.798828125,
0.27783203125,
0.798828125
],
[
0.51318359375,
0.79150390625,
0.71875,
0.79150390625,
0.71875,
0.8046875,
0.51318359375,
0.8046875
],
[
0.118408203125,
0.8056640625,
0.484375,
0.8056640625,
0.484375,
0.8193359375,
0.118408203125,
0.8193359375
],
[
0.52880859375,
0.80810546875,
0.8818359375,
0.80810546875,
0.8818359375,
0.82177734375,
0.52880859375,
0.82177734375
],
[
0.1175537109375,
0.82177734375,
0.484375,
0.82177734375,
0.484375,
0.8349609375,
0.1175537109375,
0.8349609375
],
[
0.51318359375,
0.82470703125,
0.880859375,
0.82470703125,
0.880859375,
0.83837890625,
0.51318359375,
0.83837890625
],
[
0.12005615234375,
0.8388671875,
0.486083984375,
0.8388671875,
0.486083984375,
0.849609375,
0.12005615234375,
0.849609375
],
[
0.51123046875,
0.84033203125,
0.87744140625,
0.84033203125,
0.87744140625,
0.85400390625,
0.51123046875,
0.85400390625
],
[
0.118408203125,
0.85400390625,
0.486083984375,
0.85400390625,
0.486083984375,
0.86767578125,
0.118408203125,
0.86767578125
],
[
0.51318359375,
0.85693359375,
0.87890625,
0.85693359375,
0.87890625,
0.87060546875,
0.51318359375,
0.87060546875
],
[
0.118408203125,
0.87060546875,
0.486083984375,
0.87060546875,
0.486083984375,
0.88427734375,
0.118408203125,
0.88427734375
],
[
0.51318359375,
0.87451171875,
0.87744140625,
0.87451171875,
0.87744140625,
0.88525390625,
0.51318359375,
0.88525390625
],
[
0.139404296875,
0.8935546875,
0.47607421875,
0.8935546875,
0.47607421875,
0.90673828125,
0.139404296875,
0.90673828125
],
[
0.51318359375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.51318359375,
0.90283203125
],
[
0.1175537109375,
0.90625,
0.185546875,
0.90625,
0.185546875,
0.91748046875,
0.1175537109375,
0.91748046875
],
[
0.51123046875,
0.90478515625,
0.6533203125,
0.90380859375,
0.6533203125,
0.91845703125,
0.51123046875,
0.91943359375
]
] |
[
"非自回归神经机器翻译:对清晰度的呼唤",
"Robin M. SchmidtTelmo Pessoa PiresStephan PeitzJonas Loof",
"Apple",
" robin_schmidt, telmo, speitz, jloof } @apple.com",
"Abstract",
"并行生成所有令牌。实际上,它消除了对生成",
"解码历史的依赖:",
"Non-autoregressive approaches aim to im-",
"prove the inference speed of translation mod-",
"1",
"els by only requiring a single forward pass to",
"pe(eilf) =IIpe(eilff).",
"(2)",
"generatetheoutputsequenceinsteadofitera-",
"i=1",
"tively producing each predicted token.Con-",
"sequently, their translation quality still tends",
"尽管具有计算优势,但该建模假设往往更具限",
"to be inferior to their autoregressive coun",
"制性,并引入了多模态问题(?),其中重复了",
"terparts due to several issues involving out-",
"put token interdependence. In this work, we",
"连续的输出令牌或未能正确合并前面的信息以",
"take a step back and revisit several techniques",
"形成有意义的翻译。克服这个问题是在各种任",
"that have been proposed for improving non-",
"务和体系结构上实现与自回归翻译同等的关键",
"autoregressive translation models and compare",
"挑战之",
"their combined translation quality and speed",
"最接近本作品的是?的一项研究,该研究还",
"implicationsunderthird-partytestingenviron",
"分析了有关其有效性的最新作品,并成功地将",
"ments.We provide novel insights for estab-",
"lishing strong baselines using length predic-",
"它们结合起来以实现卓越的翻译质量。在这项",
"工作中,我们还解决了文献中的几个缺点:1)",
"tion or CTC-based architecture variants and",
"contribute standardized ,, and scores using",
"使用并附带开源代码的标准化,和分数;2)通",
"on four translation tasks, which crucially have",
"过与更快的基线进行比较,实现更现实的非自",
"been missing as inconsistencies in the use of",
"回归加速期望;3)呼吁社区明确数据预处理",
"tokenizedleadtodeviationsofuptol.7points.",
"和评估设置",
"Our open-sourced code is integrated into for",
"评估",
"reproducibility.",
"Introduction",
"2Experimental setup",
"1",
"传统的序列到序列模型旨在预测长度为I的目",
"Datasets&knowledgedistillation上的方向",
"标序列ei=ei.,ei,el,给定长度为J",
"我们在两个数据集上进行实验:WMT14英语",
"的输入序列 f=fi,.,fj·,fJ。在自回归",
"台德语(4M句子对)和WMT\"16XMATHXX。",
"情况下,这是逐个令牌完成的,并且在时间步",
"作为非自回归文献中的常见做法,我们使用序",
"长i处输出的概率分布以源句子fi以及模型",
"列级知识蒸馏(KD,?)来训练我们的模型",
"e-1的先前输出为条件,并由θ参数化:",
"该模型是从Transformer基础教师模型(?)获",
"得的,其光束尺寸为5。我们使用Moses标",
"1",
"记器对所有数据进行标记,并应用Moses脚本",
"pe(eilfi) = IIpe(eilei-1, fi).",
"(1)",
"(?)进行标点规范化。字节对编码(BPE,?)与",
"i=1",
"40,000合并操作一起使用",
"即使广泛部署了这些类型的模型,但主要缺点",
"对于,我们使用WMT'16提供的脚本来规",
"之一是固有的从左到右分解,需要迭代生成输",
"范化侧,并仅删除的变音符号。保留变音符号",
"出今牌,这在现代硬件(例如GPU或TPU)上",
"以产生准确的翻译,这解释了我们的数字与以",
"无法有效地并行化。另一方面,非自回归翻译",
"前的作品(??)中声称的数字之间的差距,后",
"假设输出令牌之间具有条件独立性,从而允许",
"者除了在标记化文本上计算之外,还在无变",
"\"https://github.com/facebookresearch/fairseq/",
"音符号的文本上进行了比较。更多细节总结在",
"pul1/4431",
"app:datasetaetails"
] |
{
"arxiv_id": "2205.10577",
"language": "zh",
"page_idx": 1
}
|
||
2210.02875-zh-0
|
2210.02875-zh-0.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2023}}$
# 绑定 语言 模型 在 符号 语言
Zhoujun Cheng$^{*\spadesuit\heartsuit}$ Tianbao Xie$^{*\spadesuit}$ Peng Shi$^{\triangle}$ Chengzu Li$^{\spadesuit}$ Rahul Nadkarni$^{\clubsuit}$
Yushi Hu* Caiming Xiong" Dragomir Radev* Mari Ostendorf"
Luke Zettlemoyer$^{a+}$ Noah A. Smith$^{a+\diamond}$ Tao Yu$^{a+}$
$^{\spadesuit}$The University of Hong Kong $^{\heartsuit}$Shanghai Jiao Tong University$^{\clubsuit}$University of Washington
$^{\textcircled{\circ}}$Allen Institute for AI $^{\textcircled{\Delta}}$University of Waterloo $^{\bullet}$Salesforce Research $^{\star}$Yale University $^{\bullet}$Meta AI
ABSTRACT
Though end-to-end neural approaches have recently been dominating NLP tasks in both performance and ease-of-use, they lack interpretability and robustness. We propose BINDER, a training-free neural-symbolic framework that maps the task input to a program, which (1) allows binding a unified API of language model (LM) functionalities to a programming language( e.g. , SQL, Python) to extend its grammar coverage and thus tackle more diverse questions, (2) adopts an LM as both the program parser and the underlying model called by the API during execution, and (3) requires only a few in-context exemplar annotations. Specifically, we employ GPT-3 Codex as the LM. In the parsing stage, with only à few in-context exemplars, Codex is able to identify the part of the task input that cannot be answerable by the original programming language, correctly generate API calls to prompt Codex to solve the unanswerable part, and identify where to place the API calls while being compatible with the original grammar. In the execution stage, Codex can perform versatile functionalities ( e.g. , commonsense QA, information extraction) given proper prompts in the API calls. BINDER achieves state-of-the-art results on WIKITABLEQUESTIONS and TABFACT datasets, with explicit output programs that benefit human debugging. Note that previous best systems are all finetuned on tens of thousands of task-specific samples, while BINDER only uses dozens of annotations as in-context exemplars without any training. Our code is available at https://github.com/hkunlp/binder^1.
1 INTRODUCTION
自然语言处理任务的性能由神经端到端系统主导,该系统将输入直接映射到输出(Devlin et al., 2019; Liu et al., 2019; Lewis et al., 2020; 2, i。a。)。这些端到端方法灵活且易于使用,同时缺乏可解释性和鲁棒性。这与产生显式中间表示(例如逻辑形式,推理路径或程序代码) 的符号方法形成对比,然后可以执行这些方法以得出最终输出(Zettlemoyer&Collins,2005; Gulwani et al., 2017; ?, i。a。)。这些结果执行产生的中间形式使它们对输入更改更加健壮。然而,它们的语义覆盖范围受到所选符号语言语法的可获得性的限制(e。g。,无法处理图中的“North America?”。1), 导致现实世界中各种问题的失败,中间形式的注释需要专家知识和研究人员的劳动
一些作品$\mathbb{E} ( 2$,i。a。)提出 andreas2016neural, gupta2019neural, khot2021text, zhu20222neural 将神经模块和符号语言(神经符号)结合起来,以利用两种方法的优势。但是,它们需要对符号语言进行精心设计,并校准相应的神经模块,以解决具有大量训练数据的特定领域的问题。。更具体地说,这些作品中的大多数都提出了一种特定于任务的符号语言和相应的模块,这些模块仅涵盖特定任务和领域中的有限语义现象。因此,在适应新的任务和领域时,必须引人新的语言和神经模块。它们的覆盖范围仍然受到定制符号语言和神经模块的限制。此外,他们需要各种和大量的培训数据,以确保所有模块都经过良好的培训。因此,我们期望一个支持灵活的神经模块调用的神经符号系统,这将为符号语言提供更高的覆盖率,同时只需要很少的注释
我们提出了 BINDER , 这是一个无需训练的神经符号框架,它将任务输人映射到编程语言中的可执行程序$\mathbb{E}($e。g。, SQL, Python) 与统一的 API 绑定以调用语言模型$\mathbb{E}($LM;EBrown et al., 2020; Chen et al., 2021 ) 以执行通用功能,i。e。一个 BINDER 程序 (e。g。, 图中的 Binder-SQL, Binder-Python 。1
${^{*}\text{Equal contribution. Authors in alp}}$habetical order. Work mainly done at the University of Hong Kong.
$^{1}$More resources at https:// lm-code-binder.github.io/ .
1
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.1732177734375,
0.10101318359375,
0.5185546875,
0.1029052734375,
0.5185546875,
0.1275634765625,
0.1732177734375,
0.1256103515625
],
[
0.1829833984375,
0.149658203125,
0.765625,
0.149658203125,
0.765625,
0.1673583984375,
0.1829833984375,
0.1673583984375
],
[
0.181396484375,
0.1654052734375,
0.6650390625,
0.1641845703125,
0.6650390625,
0.1817626953125,
0.181396484375,
0.18310546875
],
[
0.181396484375,
0.18115234375,
0.55615234375,
0.1787109375,
0.55615234375,
0.1962890625,
0.181396484375,
0.1988525390625
],
[
0.1829833984375,
0.1944580078125,
0.62841796875,
0.1956787109375,
0.62841796875,
0.21337890625,
0.1829833984375,
0.212158203125
],
[
0.61767578125,
0.1956787109375,
0.82275390625,
0.1976318359375,
0.82275390625,
0.212158203125,
0.61767578125,
0.210205078125
],
[
0.1846923828125,
0.2108154296875,
0.833984375,
0.212158203125,
0.833984375,
0.2266845703125,
0.1846923828125,
0.2259521484375
],
[
0.453369140625,
0.26318359375,
0.5458984375,
0.26513671875,
0.5458984375,
0.27978515625,
0.453369140625,
0.27783203125
],
[
0.233642578125,
0.296630859375,
0.7646484375,
0.296630859375,
0.7646484375,
0.311279296875,
0.233642578125,
0.311279296875
],
[
0.2344970703125,
0.3125,
0.7646484375,
0.3125,
0.7646484375,
0.322509765625,
0.2344970703125,
0.322509765625
],
[
0.233642578125,
0.324462890625,
0.76708984375,
0.324462890625,
0.76708984375,
0.33837890625,
0.233642578125,
0.33837890625
],
[
0.2320556640625,
0.337158203125,
0.765625,
0.33837890625,
0.765625,
0.352783203125,
0.2320556640625,
0.3515625
],
[
0.2320556640625,
0.35107421875,
0.7646484375,
0.35107421875,
0.7646484375,
0.3642578125,
0.2320556640625,
0.3642578125
],
[
0.2320556640625,
0.365478515625,
0.7646484375,
0.365478515625,
0.7646484375,
0.37890625,
0.2320556640625,
0.37890625
],
[
0.233642578125,
0.380126953125,
0.76708984375,
0.380126953125,
0.76708984375,
0.393310546875,
0.233642578125,
0.393310546875
],
[
0.233642578125,
0.393310546875,
0.7646484375,
0.393310546875,
0.7646484375,
0.4072265625,
0.233642578125,
0.4072265625
],
[
0.2320556640625,
0.4072265625,
0.7646484375,
0.4072265625,
0.7646484375,
0.421630859375,
0.2320556640625,
0.421630859375
],
[
0.2344970703125,
0.42236328125,
0.7646484375,
0.42236328125,
0.7646484375,
0.43310546875,
0.2344970703125,
0.43310546875
],
[
0.233642578125,
0.43505859375,
0.765625,
0.43505859375,
0.765625,
0.448974609375,
0.233642578125,
0.448974609375
],
[
0.233642578125,
0.448974609375,
0.765625,
0.448974609375,
0.765625,
0.46337890625,
0.233642578125,
0.46337890625
],
[
0.233642578125,
0.46337890625,
0.765625,
0.46337890625,
0.765625,
0.4765625,
0.233642578125,
0.4765625
],
[
0.233642578125,
0.4765625,
0.765625,
0.4765625,
0.765625,
0.490478515625,
0.233642578125,
0.490478515625
],
[
0.2320556640625,
0.490478515625,
0.765625,
0.4892578125,
0.765625,
0.50390625,
0.2320556640625,
0.5048828125
],
[
0.2344970703125,
0.505859375,
0.7646484375,
0.505859375,
0.7646484375,
0.5166015625,
0.2344970703125,
0.5166015625
],
[
0.2320556640625,
0.517578125,
0.765625,
0.5166015625,
0.765625,
0.53076171875,
0.2320556640625,
0.5322265625
],
[
0.2320556640625,
0.53076171875,
0.76318359375,
0.53076171875,
0.76318359375,
0.54443359375,
0.2320556640625,
0.54443359375
],
[
0.2320556640625,
0.54443359375,
0.765625,
0.54541015625,
0.765625,
0.5595703125,
0.2320556640625,
0.55810546875
],
[
0.2320556640625,
0.5595703125,
0.6435546875,
0.55810546875,
0.6435546875,
0.5712890625,
0.2320556640625,
0.57275390625
],
[
0.176513671875,
0.6015625,
0.2091064453125,
0.6015625,
0.2091064453125,
0.61279296875,
0.176513671875,
0.61279296875
],
[
0.2017822265625,
0.60107421875,
0.340576171875,
0.6015625,
0.340576171875,
0.61572265625,
0.2017822265625,
0.6142578125
],
[
0.17724609375,
0.630859375,
0.82275390625,
0.630859375,
0.82275390625,
0.64453125,
0.17724609375,
0.64453125
],
[
0.1748046875,
0.64306640625,
0.82177734375,
0.64306640625,
0.82177734375,
0.65771484375,
0.1748046875,
0.65771484375
],
[
0.1732177734375,
0.65478515625,
0.82275390625,
0.65576171875,
0.82275390625,
0.67041015625,
0.1732177734375,
0.66943359375
],
[
0.176513671875,
0.66943359375,
0.82421875,
0.66943359375,
0.82421875,
0.68310546875,
0.176513671875,
0.68310546875
],
[
0.176513671875,
0.68310546875,
0.82275390625,
0.68310546875,
0.82275390625,
0.69775390625,
0.176513671875,
0.69775390625
],
[
0.1748046875,
0.6943359375,
0.82421875,
0.69580078125,
0.82421875,
0.71044921875,
0.1748046875,
0.708984375
],
[
0.1732177734375,
0.70849609375,
0.82275390625,
0.70849609375,
0.82275390625,
0.7216796875,
0.1732177734375,
0.7216796875
],
[
0.176513671875,
0.7216796875,
0.25,
0.7216796875,
0.25,
0.73291015625,
0.176513671875,
0.73291015625
],
[
0.1854248046875,
0.7392578125,
0.82275390625,
0.74072265625,
0.82275390625,
0.7548828125,
0.1854248046875,
0.75390625
],
[
0.176513671875,
0.75390625,
0.82275390625,
0.75390625,
0.82275390625,
0.767578125,
0.176513671875,
0.767578125
],
[
0.176513671875,
0.7666015625,
0.82275390625,
0.7666015625,
0.82275390625,
0.77978515625,
0.176513671875,
0.77978515625
],
[
0.1748046875,
0.77978515625,
0.82275390625,
0.77978515625,
0.82275390625,
0.79345703125,
0.1748046875,
0.79345703125
],
[
0.176513671875,
0.79248046875,
0.82275390625,
0.79248046875,
0.82275390625,
0.80615234375,
0.176513671875,
0.80615234375
],
[
0.176513671875,
0.8046875,
0.82275390625,
0.8046875,
0.82275390625,
0.818359375,
0.176513671875,
0.818359375
],
[
0.1732177734375,
0.8173828125,
0.82177734375,
0.8173828125,
0.82177734375,
0.83056640625,
0.1732177734375,
0.83056640625
],
[
0.176513671875,
0.830078125,
0.426513671875,
0.830078125,
0.426513671875,
0.84326171875,
0.176513671875,
0.84326171875
],
[
0.176513671875,
0.849609375,
0.82275390625,
0.849609375,
0.82275390625,
0.86279296875,
0.176513671875,
0.86279296875
],
[
0.1732177734375,
0.861328125,
0.82275390625,
0.8623046875,
0.82275390625,
0.876953125,
0.1732177734375,
0.87548828125
],
[
0.1748046875,
0.87548828125,
0.82421875,
0.87548828125,
0.82421875,
0.8896484375,
0.1748046875,
0.8896484375
],
[
0.200927734375,
0.896484375,
0.8056640625,
0.89794921875,
0.8056640625,
0.912109375,
0.200927734375,
0.9111328125
],
[
0.19775390625,
0.9111328125,
0.611328125,
0.912109375,
0.611328125,
0.92529296875,
0.19775390625,
0.9248046875
],
[
0.491943359375,
0.94970703125,
0.5048828125,
0.94970703125,
0.5048828125,
0.96044921875,
0.491943359375,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2023",
"绑定语言模型在符号语言",
"Zhoujun Cheng* Tianbao Xie* Peng Shi^ Chengzu Li+ Rahul Nadkarni*",
"Yushi Hu* Caiming Xiong' Dragomir Radev* Mari Ostendorf*",
"Luke Zettlemoyer*. Noah A. Smith*→ Tao Yu*$",
"*The University of Hong Kong Shanghai Jiao Tong University",
"y*UniversityofWashington",
"Allen Institute for AI University of WaterlooSalesforce Research *Yale UniversityMeta AI",
"ABSTRACT",
"Though end-to-end neural approaches have recently been dominating NLP tasks",
"inbothperformanceandease-of-use,theylackinterpretabilityandrobustness.We",
"propose BINDER, a training-free neural-symbolic framework that maps the task in-",
"put to a program, which (1) allows binding a unified API of language model (LM)",
"functionalities to a programming language (e.g. , SQL, Python)to extend its gram",
"mar coverage and thus tackle more diverse questions, (2) adopts an LM as both the",
"program parser and the underlying model called by the API during execution, and",
"(3) requires only a few in-context exemplar annotations. Specifically, we employ",
"GPT-3 Codex as the LM. In the parsing stage, with only a few in-context exem",
"plars,Codexisabletoidentifythepartofthetaskinputthatcannotbeanswerable",
"by the original programming language, correctly generate API calls to prompt",
"Codex to solve the unanswerable part, and identify where to place the API calls",
"while being compatible with the original grammar. In the execution stage, Codex",
"can perform versatile functionalities (e.g. , commonsense QA, information ex",
"traction) given proper prompts in the API calls. BINDER achieves state-of-the-art",
"resultson WIKITABLEQUESTIONS andTABFACTdatasets,withexplicitoutput",
"programs that benefit human debugging. Note that previous best systems are all",
"finetuned on tens of thousands of task-specific samples, while BINDER only uses",
"dozens of annotations as in-context exemplars without any training. Our code is",
"availableathttps://github.com/hkunlp/binderl.",
"1.",
"INTRODUCTION",
"自然语言处理任务的性能由神经端到端系统主导,该系统将输人直接映射到输出(Devlin",
"etal.,2019;Liuetal,2019;Lewisetal.2020;?i。a。)。这些端到端方法灵活且易于使用,同",
"时缺乏可解释性和鲁棒性。这与产生显式中间表示(例如逻辑形式,推理路径或程序代码)",
"的符号方法形成对比,然后可以执行这些方法以得出最终输出(Zettlemoyer&Collins,2005;",
"Gulwanietal.,2017:?,i。a。)。这些结果执行产生的中间形式使它们对输人更改更加健壮",
"然而,它们的语义覆盖范围受到所选符号语言语法的可获得性的限制(e。g。,无法处理图中",
"的“NorthAmerica?”。1),导致现实世界中各种问题的失败,中间形式的注释需要专家知识和研究",
"人员的劳动",
"一些作品(?,i。a。)提出andreas2016neural,gupta2019neural,khot2021text,zhu2022neural将神经模块",
"和符号语言(神经符号)结合起来,以利用两种方法的优势。但是,它们需要对符号语言进行精心设",
"计,并校准相应的神经模块,以解决具有大量训练数据的特定领域的问题。。更具体地说,这些作品中",
"的大多数都提出了一种特定于任务的符号语言和相应的模块,这些模块仅涵盖特定任务和领域中的有",
"限语义现象。因此,在适应新的任务和领域时,必须引入新的语言和神经模块。它们的覆盖范围仍然",
"受到定制符号语言和神经模块的限制。此外,他们需要各种和大量的培训数据,以确保所有模块都经",
"过良好的培训。因此,我们期望一个支持灵活的神经模块调用的神经符号系统,这将为符号语言提供",
"更高的覆盖率,同时只需要很少的注释",
"我们提出了BINDER,这是一个无需训练的神经符号框架,它将任务输入映射到编程语言中的可执行",
"程序(e。g。,SQL,Python)与统一的API绑定以调用语言模型E(LM;EBrownetal.,2020;Chen",
"etal.,2021)以执行通用功能,i。e。一个BINDER程序(e。g。,图中的Binder-SQL,Binder-Python。1",
"Equal contribution. Authors in alphabetical order. Work mainly done at the University of Hong Kong.",
"'Moreresourcesathttps://lm-code-binder.github.io/.",
"1"
] |
{
"arxiv_id": "2210.02875",
"language": "zh",
"page_idx": 0
}
|
||
2210.02875-zh-1
|
2210.02875-zh-1.jpg
|
Published as a conference paper at ICLR 2023
<FigureHere>
Figure 1: An overview of the BINDER pipeline of two stages: parsing and execution.(1) In the parsing stage, the language model (LM) maps the input to a BINDER program given the question and (optional) knowledge sources. The expressions with blue background in the program are API calls to acquire external results. (2) In the execution stage, an LM serves to realize the API calls given the prompt and the return values feed back into the original programming language. A deterministic program interpreter executes the program without API calls to derive the final answer.
),只有几个输人- BINDER 程序注释作为上下文样本。更具体地说,BINDER 首先提示 Codex, GPT-3的代码预训练,将问题输人解析到 BINDER 程序中,在该程序中,Codex 必须决定(1)输人中的哪些部分可以转换为目标编程语言$\operatorname{E}($在图中以灰色突出显示的问题部分。1), (2)相应的任务 API 调用(e。g。, $f(``North~America?^{\prime\prime};Made\_in)$提示 Codex 解析其他部分,以及(3)在 BINDER 程序中的何处插入 API 调用。接下来,BINDER 再次提示 Codex 生成任务 API 调用的答案(给定生成的任务提示),将生成的结果集成回编程语言。具体如图。1,提示(e。g。,“北美?”)和数据(e。g。API 调用中的列 $Made\_in$ )被馈送到 Codex 中,输出是根据输入数据回答提示的新列$\overline{\mathrm{E}}($i。e。,是$\bar{\mathrm{J}}$否$Made\_in$列中的国家是否来自北美)。最后,用标准编程语言执行程序,得出最终答案
总而言之,BINDER 可以灵活地将功能集成到编程语言中,以提高其覆盖范围,并且只需要几个注释。BINDER 程序分别使用对 Codex 和通用编程语言的统一提示 API 调用来替换自定义神经模块和特定于任务的语言,以在没有复杂语言和神经模块设计的情况下在开放域中处理更多样化的任务输人。BINDER 建立在使用语言模型进行上下文学习的基础上,不需要任何培训和大规模注释
我们演示了 BINDER 框架在 WIKITABLEQUESTIONS( WIKITQ; Pasupat & Liang, 2015 ) TABFACT (Chen et al., 2019a) 上的有效性,这两个结构化的知识基础数据集需要在表上进行复杂的推理。使用 Codex (Chen et al, 2021)作为 LM, BINDER 在 WIKITQ 和 TABFACT 上实现了最先进的结果。请注意,以前最先进的方法都需要对超过 10 K 个带注释的训练示例甚至大量与任务相关的预训练数据进行微调,而我们的方法只需要十几个左右的注释就可以进行训练。在进一步的分析中,我们发现BINDER 在原始语言语法$\overline{\mathrm{E}}($SQL 和 Python) 无法支持的问题上提供了最大的性能增益,表明 BINDER 有效地提高了编程语言的覆盖率。我们还演示了 BINDER 可以应用于多模态知识源$\overline{\mathrm{E}}($文本,表格,图像和组合)与 MuLTIMODALQA 数据集$\overline{\mathrm{E}}($Talmor et al.,2021)。此外,我们表明,与端到端方法相比, BINDER 在调试模型时更具可解释性,对非常大的输入更具可扩展性,并且对嘈杂的输入更具鲁棒性。
## 2 APPROACH
Task Defnition 给定一个接受自然语言问题$\iota$语句$Q$ 和可选上下文 $D$ (e。g。,段落,表格,图像或上述的组合)作为输入,目标是根据输入输出答案$A$,以正确响应$Q$。例如,在段落问答中,$Q$ 是关于段落$D$的问题;在表事实验证中,$Q$是关于表$D$的声明
2.1 BINDER FRAMEWORK
Overview 解决 NLP 任务的 BINDER 框架定义如下:给定自然语言输人$Q$和可选上下文$D$作为输
人,可执行的 BINDER 程序$Z$ 。最后,通过使用 BINDER 解释器执行$Z$来导出输出答案$A$
BINDER Parsing 在解析阶段,将输人的自然语言$Q$ 解析为 BINDER 程序 $Z$ 。BINDER 程序是一种符号语言的表达式,可以选择包括 API 调用,其中核心符号语言无法提供所需的功能。我们将程序中的 API 调用定义为函数$f(\hat{Q};\hat{D})$ ,它接受要回答的问题$\hat{Q}$和要查询的上下文$\hat{D}$ 。这里$\hat{Q}$是$Q$的无法回答的部分,只有编程语言和$\hat{D}$是$D$中的相关上下文来回答$\hat{Q}$。例如,图 1 中的“North America?” 是一个$\hat{Q}$ ,其对应的用于回答$\hat{Q}$的上下文$\hat{D}$是列 Made\_in。注意$\hat{Q}=Q$或$\hat{D}=D$也是有效的(如果是$\hat{Q}=Q$ 和 $\hat{D}=D$ ,程序相当于以端到端的方式用 LM 解决问题)。API 调用 $f(\hat{Q};\hat{D})$ 的输出是$\hat{Q}$ 的答案,它表示为与符号语言语法兼容的变量,以便可以执行程序
2
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.515625,
0.1029052734375,
0.6806640625,
0.1029052734375,
0.6806640625,
0.11297607421875,
0.515625,
0.11297607421875
],
[
0.51318359375,
0.117431640625,
0.560546875,
0.117431640625,
0.560546875,
0.1275634765625,
0.51318359375,
0.1275634765625
],
[
0.226318359375,
0.1256103515625,
0.366943359375,
0.1256103515625,
0.366943359375,
0.1363525390625,
0.226318359375,
0.1363525390625
],
[
0.453369140625,
0.125,
0.4697265625,
0.1275634765625,
0.46728515625,
0.1351318359375,
0.450927734375,
0.1307373046875
],
[
0.55810546875,
0.126953125,
0.63134765625,
0.126953125,
0.63134765625,
0.1337890625,
0.55810546875,
0.1337890625
],
[
0.650390625,
0.1287841796875,
0.6708984375,
0.1300048828125,
0.6708984375,
0.1337890625,
0.650390625,
0.1331787109375
],
[
0.48193359375,
0.1331787109375,
0.5048828125,
0.1331787109375,
0.5048828125,
0.141357421875,
0.48193359375,
0.141357421875
],
[
0.44775390625,
0.1307373046875,
0.468017578125,
0.1307373046875,
0.468017578125,
0.1395263671875,
0.44775390625,
0.1395263671875
],
[
0.51318359375,
0.1331787109375,
0.67236328125,
0.1337890625,
0.67236328125,
0.14453125,
0.51318359375,
0.143310546875
],
[
0.73046875,
0.1331787109375,
0.7490234375,
0.1331787109375,
0.7490234375,
0.1363525390625,
0.73046875,
0.1363525390625
],
[
0.76123046875,
0.1331787109375,
0.8056640625,
0.1351318359375,
0.8037109375,
0.146484375,
0.7607421875,
0.14453125
],
[
0.449462890625,
0.141357421875,
0.46728515625,
0.1483154296875,
0.4599609375,
0.1578369140625,
0.44287109375,
0.15087890625
],
[
0.2279052734375,
0.1351318359375,
0.374267578125,
0.1351318359375,
0.374267578125,
0.1458740234375,
0.2279052734375,
0.1458740234375
],
[
0.47802734375,
0.15087890625,
0.50244140625,
0.146484375,
0.5048828125,
0.1558837890625,
0.48046875,
0.160400390625
],
[
0.50634765625,
0.147705078125,
0.5439453125,
0.147705078125,
0.5439453125,
0.1610107421875,
0.50634765625,
0.1610107421875
],
[
0.449462890625,
0.1546630859375,
0.461669921875,
0.1546630859375,
0.461669921875,
0.1578369140625,
0.449462890625,
0.1578369140625
],
[
0.51953125,
0.1572265625,
0.583984375,
0.1572265625,
0.583984375,
0.1610107421875,
0.51953125,
0.1610107421875
],
[
0.74267578125,
0.1546630859375,
0.7490234375,
0.1546630859375,
0.7490234375,
0.1578369140625,
0.74267578125,
0.1578369140625
],
[
0.51953125,
0.1641845703125,
0.646484375,
0.1641845703125,
0.646484375,
0.1717529296875,
0.51953125,
0.1717529296875
],
[
0.20751953125,
0.1578369140625,
0.261474609375,
0.160400390625,
0.261474609375,
0.1717529296875,
0.20751953125,
0.169189453125
],
[
0.2197265625,
0.1685791015625,
0.240234375,
0.17041015625,
0.238525390625,
0.1787109375,
0.2181396484375,
0.1767578125
],
[
0.301513671875,
0.1685791015625,
0.39453125,
0.1685791015625,
0.39453125,
0.175537109375,
0.301513671875,
0.175537109375
],
[
0.51318359375,
0.1717529296875,
0.65869140625,
0.1717529296875,
0.65869140625,
0.1817626953125,
0.51318359375,
0.1817626953125
],
[
0.70361328125,
0.1767578125,
0.78515625,
0.1767578125,
0.78515625,
0.1944580078125,
0.70361328125,
0.1944580078125
],
[
0.708984375,
0.173583984375,
0.76123046875,
0.173583984375,
0.76123046875,
0.177978515625,
0.708984375,
0.177978515625
],
[
0.336669921875,
0.177978515625,
0.358642578125,
0.177978515625,
0.358642578125,
0.1817626953125,
0.336669921875,
0.1817626953125
],
[
0.306396484375,
0.177978515625,
0.3203125,
0.177978515625,
0.3203125,
0.18115234375,
0.306396484375,
0.18115234375
],
[
0.358642578125,
0.177978515625,
0.39208984375,
0.177978515625,
0.39208984375,
0.1817626953125,
0.358642578125,
0.1817626953125
],
[
0.298095703125,
0.184326171875,
0.39453125,
0.184326171875,
0.39453125,
0.1912841796875,
0.298095703125,
0.1912841796875
],
[
0.5048828125,
0.179931640625,
0.62158203125,
0.18115234375,
0.62158203125,
0.1912841796875,
0.5048828125,
0.1900634765625
],
[
0.295654296875,
0.1912841796875,
0.39453125,
0.1900634765625,
0.39453125,
0.2008056640625,
0.295654296875,
0.2020263671875
],
[
0.70751953125,
0.1912841796875,
0.7900390625,
0.1912841796875,
0.7900390625,
0.1988525390625,
0.70751953125,
0.1988525390625
],
[
0.576171875,
0.199462890625,
0.609375,
0.199462890625,
0.609375,
0.222900390625,
0.576171875,
0.222900390625
],
[
0.63818359375,
0.2020263671875,
0.67724609375,
0.203857421875,
0.67626953125,
0.2139892578125,
0.63623046875,
0.212158203125
],
[
0.35693359375,
0.20263671875,
0.393798828125,
0.20263671875,
0.393798828125,
0.20703125,
0.35693359375,
0.20703125
],
[
0.30810546875,
0.203857421875,
0.3203125,
0.203857421875,
0.3203125,
0.2083740234375,
0.30810546875,
0.2083740234375
],
[
0.5087890625,
0.2052001953125,
0.54345703125,
0.2052001953125,
0.54345703125,
0.2139892578125,
0.5087890625,
0.2139892578125
],
[
0.5458984375,
0.21337890625,
0.57177734375,
0.21337890625,
0.57177734375,
0.2247314453125,
0.5458984375,
0.2247314453125
],
[
0.64892578125,
0.2139892578125,
0.66259765625,
0.2139892578125,
0.66259765625,
0.2247314453125,
0.64892578125,
0.2247314453125
],
[
0.62841796875,
0.21533203125,
0.63818359375,
0.216552734375,
0.63623046875,
0.222900390625,
0.62744140625,
0.2215576171875
],
[
0.44677734375,
0.216552734375,
0.50634765625,
0.2139892578125,
0.50634765625,
0.2259521484375,
0.44677734375,
0.2279052734375
],
[
0.5185546875,
0.21533203125,
0.53173828125,
0.21533203125,
0.53173828125,
0.2247314453125,
0.5185546875,
0.2247314453125
],
[
0.51123046875,
0.222900390625,
0.54345703125,
0.222900390625,
0.54345703125,
0.24560546875,
0.51123046875,
0.24560546875
],
[
0.57861328125,
0.2203369140625,
0.6044921875,
0.2203369140625,
0.6044921875,
0.240478515625,
0.57861328125,
0.240478515625
],
[
0.236083984375,
0.2310791015625,
0.253173828125,
0.2310791015625,
0.253173828125,
0.238037109375,
0.236083984375,
0.238037109375
],
[
0.6435546875,
0.23291015625,
0.66259765625,
0.2279052734375,
0.66845703125,
0.240478515625,
0.64892578125,
0.24560546875
],
[
0.2059326171875,
0.2412109375,
0.271240234375,
0.2412109375,
0.271240234375,
0.24560546875,
0.2059326171875,
0.24560546875
],
[
0.298095703125,
0.2412109375,
0.3349609375,
0.2412109375,
0.3349609375,
0.24560546875,
0.298095703125,
0.24560546875
],
[
0.53173828125,
0.246826171875,
0.59619140625,
0.246826171875,
0.59619140625,
0.25,
0.53173828125,
0.25
],
[
0.62353515625,
0.246826171875,
0.654296875,
0.246826171875,
0.654296875,
0.25,
0.62353515625,
0.25
],
[
0.176513671875,
0.274658203125,
0.82275390625,
0.274658203125,
0.82275390625,
0.285400390625,
0.176513671875,
0.285400390625
],
[
0.1732177734375,
0.285888671875,
0.82177734375,
0.285888671875,
0.82177734375,
0.2998046875,
0.1732177734375,
0.2998046875
],
[
0.1748046875,
0.300537109375,
0.82275390625,
0.300537109375,
0.82275390625,
0.314453125,
0.1748046875,
0.314453125
],
[
0.1732177734375,
0.314453125,
0.82421875,
0.314453125,
0.82421875,
0.328857421875,
0.1732177734375,
0.328857421875
],
[
0.176513671875,
0.328857421875,
0.82421875,
0.328857421875,
0.82421875,
0.34228515625,
0.176513671875,
0.34228515625
],
[
0.1748046875,
0.34228515625,
0.736328125,
0.34228515625,
0.736328125,
0.35595703125,
0.1748046875,
0.35595703125
],
[
0.1748046875,
0.367431640625,
0.82275390625,
0.367431640625,
0.82275390625,
0.37744140625,
0.1748046875,
0.37744140625
],
[
0.1748046875,
0.37890625,
0.82421875,
0.37890625,
0.82421875,
0.392578125,
0.1748046875,
0.392578125
],
[
0.1748046875,
0.391357421875,
0.82421875,
0.391357421875,
0.82421875,
0.40478515625,
0.1748046875,
0.40478515625
],
[
0.176513671875,
0.404052734375,
0.82275390625,
0.404052734375,
0.82275390625,
0.41845703125,
0.176513671875,
0.41845703125
],
[
0.1732177734375,
0.416748046875,
0.82177734375,
0.416748046875,
0.82177734375,
0.429931640625,
0.1732177734375,
0.429931640625
],
[
0.176513671875,
0.429931640625,
0.82421875,
0.429931640625,
0.82421875,
0.443115234375,
0.176513671875,
0.443115234375
],
[
0.176513671875,
0.443115234375,
0.82275390625,
0.443115234375,
0.82275390625,
0.453857421875,
0.176513671875,
0.453857421875
],
[
0.176513671875,
0.455810546875,
0.73046875,
0.455810546875,
0.73046875,
0.466552734375,
0.176513671875,
0.466552734375
],
[
0.17724609375,
0.47607421875,
0.82275390625,
0.47607421875,
0.82275390625,
0.486083984375,
0.17724609375,
0.486083984375
],
[
0.1748046875,
0.486083984375,
0.82421875,
0.486083984375,
0.82421875,
0.5,
0.1748046875,
0.5
],
[
0.1748046875,
0.5,
0.826171875,
0.5,
0.826171875,
0.51318359375,
0.1748046875,
0.51318359375
],
[
0.1748046875,
0.51220703125,
0.7294921875,
0.51220703125,
0.7294921875,
0.52587890625,
0.1748046875,
0.52587890625
],
[
0.1748046875,
0.5322265625,
0.82421875,
0.5322265625,
0.82421875,
0.54541015625,
0.1748046875,
0.54541015625
],
[
0.1748046875,
0.54443359375,
0.82421875,
0.54443359375,
0.82421875,
0.55810546875,
0.1748046875,
0.55810546875
],
[
0.176513671875,
0.556640625,
0.82421875,
0.556640625,
0.82421875,
0.57080078125,
0.176513671875,
0.57080078125
],
[
0.1732177734375,
0.5693359375,
0.82421875,
0.568359375,
0.82421875,
0.58349609375,
0.1732177734375,
0.583984375
],
[
0.1732177734375,
0.58203125,
0.82421875,
0.58056640625,
0.82421875,
0.59521484375,
0.1732177734375,
0.5966796875
],
[
0.1748046875,
0.59521484375,
0.82421875,
0.59521484375,
0.82421875,
0.609375,
0.1748046875,
0.609375
],
[
0.176513671875,
0.60791015625,
0.82275390625,
0.60791015625,
0.82275390625,
0.6220703125,
0.176513671875,
0.6220703125
],
[
0.1748046875,
0.62060546875,
0.826171875,
0.62060546875,
0.826171875,
0.6337890625,
0.1748046875,
0.6337890625
],
[
0.176513671875,
0.6337890625,
0.82177734375,
0.6337890625,
0.82177734375,
0.64453125,
0.176513671875,
0.64453125
],
[
0.176513671875,
0.67041015625,
0.1895751953125,
0.67041015625,
0.1895751953125,
0.68115234375,
0.176513671875,
0.68115234375
],
[
0.193603515625,
0.673828125,
0.2059326171875,
0.673828125,
0.2059326171875,
0.67822265625,
0.193603515625,
0.67822265625
],
[
0.20751953125,
0.66943359375,
0.303955078125,
0.67041015625,
0.303955078125,
0.681640625,
0.20751953125,
0.68115234375
],
[
0.176513671875,
0.69970703125,
0.82177734375,
0.69970703125,
0.82177734375,
0.71337890625,
0.176513671875,
0.71337890625
],
[
0.176513671875,
0.71337890625,
0.82275390625,
0.71337890625,
0.82275390625,
0.7265625,
0.176513671875,
0.7265625
],
[
0.1748046875,
0.72607421875,
0.57177734375,
0.724609375,
0.57177734375,
0.73779296875,
0.1748046875,
0.7392578125
],
[
0.1748046875,
0.76025390625,
0.2197265625,
0.76025390625,
0.2197265625,
0.771484375,
0.1748046875,
0.771484375
],
[
0.21728515625,
0.76123046875,
0.371826171875,
0.76123046875,
0.371826171875,
0.771484375,
0.21728515625,
0.771484375
],
[
0.17724609375,
0.7841796875,
0.82177734375,
0.7841796875,
0.82177734375,
0.79736328125,
0.17724609375,
0.79736328125
],
[
0.1748046875,
0.79736328125,
0.75634765625,
0.79736328125,
0.75634765625,
0.81103515625,
0.1748046875,
0.81103515625
],
[
0.178955078125,
0.8291015625,
0.82421875,
0.8291015625,
0.82421875,
0.84228515625,
0.178955078125,
0.84228515625
],
[
0.1748046875,
0.84130859375,
0.82275390625,
0.84130859375,
0.82275390625,
0.85498046875,
0.1748046875,
0.85498046875
],
[
0.1748046875,
0.85498046875,
0.82421875,
0.85498046875,
0.82421875,
0.86865234375,
0.1748046875,
0.86865234375
],
[
0.17724609375,
0.8720703125,
0.8203125,
0.8720703125,
0.8203125,
0.8818359375,
0.17724609375,
0.8818359375
],
[
0.176513671875,
0.8837890625,
0.82275390625,
0.8837890625,
0.82275390625,
0.89794921875,
0.176513671875,
0.89794921875
],
[
0.176513671875,
0.8984375,
0.82421875,
0.8984375,
0.82421875,
0.912109375,
0.176513671875,
0.912109375
],
[
0.1748046875,
0.912109375,
0.60107421875,
0.912109375,
0.60107421875,
0.92529296875,
0.1748046875,
0.92529296875
],
[
0.49267578125,
0.94873046875,
0.50634765625,
0.94873046875,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2023",
"Binder program: SQL/Python binding LM API ca",
"Binder-Python",
"Which is the best-seling shirtmade",
"PT-3",
"values('salesasc",
"Fals",
"orompt",
"Codex",
"df df[(NorthAmerica?; Hade_iayyes]",
"1080",
"→Polo",
"",
"NorthAmericaandwithnochemicalis?",
"Persing",
"Binder-sol",
"",
"FCTChErtFROM",
"",
"RE-f(Nochemicais?:Shirt)=yes",
":1200c0650z",
"aturals",
"ShirtMade_in SalesPrice",
"-AND-f(NorthAmerica?:Made_in)yes",
"na",
"ELECT Shirt FRON",
"US",
"Po",
"500$29",
"uckdandus900$19.8",
"ORDER BY Sales DESC LIMIT1",
"limiter BayMesio0400s25.",
"ORDER BY SalesDESCLIRIT",
"CoTe",
"wenth.merie,",
"6003318",
"nic",
"Tde_in",
"prompt",
"yes",
"Bict",
"OitNorth+",
"Us.",
"三",
"",
",",
"1o",
"etnehireknodeda",
"etnetieadk",
"iDTaFnNwe",
"asfahicaia",
"Figurel:AnoverviewoftheBINDERpipelineof two stages:parsingandexecution:(1)Inthe",
"parsing stage, the language model (LM) maps the input to a BINDER program given the question and",
"(optional) knowledge sources. The expressions with blue background in the program are API calls",
"to acquire external results. (2) In the execution stage, an LM serves to realize the API calls given",
"the prompt and the return values feed back into the original programming language. A deterministic",
"program interpreter executes the program without API calls to derive the final answer.",
"),只有几个输入-BINDER程序注释作为上下文样本。更具体地说,BINDER首先提示Codex,GPT-3",
"的代码预训练,将问题输人解析到BINDER程序中,在该程序中,Codex必须决定(1)输人中的哪",
"些部分可以转换为目标编程语言国(在图中以灰色突出显示的问题部分。1),(2)相应的任务API调",
"用(e。g。,f(NorthAmerica?\";Made_in))提示Codex解析其他部分,以及(3)在BINDER程序",
"中的何处插人API调用。接下来,BINDER再次提示Codex生成任务API调用的答案(给定生成的任",
"务提示),将生成的结果集成回编程语言。具体如图。1,提示(e。g。,“北美?”)和数据(e。g。",
"API调用中的列Made_in)被馈送到Codex中,输出是根据输入数据回答提示的新列E(i。e。,是/否",
"Made_in列中的国家是否来自北美)。最后,用标准编程语言执行程序,得出最终答案",
"总而言之,BINDER可以灵活地将功能集成到编程语言中,以提高其覆盖范围,并且只需要儿个注",
"释。BINDER程序分别使用对Codex和通用编程语言的统一提示API调用来替换自定义神经模块和特",
"定于任务的语言,以在没有复杂语言和神经模块设计的情况下在开放域中处理更多样化的任务输人。",
"BINDER建立在使用语言模型进行上下文学习的基础上,不需要任何培训和大规模注释",
"我们演示了BINDER框架在WIKITABLEQUESTIONS(WIKITQ;Pasupat&Liang,2015)TABFACT",
"(Chenetal.,2019a)上的有效性,这两个结构化的知识基础数据集需要在表上进行复杂的推理。使",
"用Codex(Chenetal.,2021)作为LM,BINDER在WIKITQ和TABFACT上实现了最先进的结果。请",
"注意,以前最先进的方法都需要对超过10K个带注释的训练示例甚至大量与任务相关的预训练数据",
"进行微调,而我们的方法只需要十几个左右的注释就可以进行训练。在进一步的分析中,我们发现",
"BINDER在原始语言语法E(SQL和Python)无法支持的问题上提供了最大的性能增益,表明BINDER",
"有效地提高了编程语言的覆盖率。我们还演示了BINDER可以应用于多模态知识源E(文本,表格,图",
"像和组合)与MULTIMODALQA数据集E(Talmoretal.,2021)。此外,我们表明,与端到端方法相比,",
"BINDER在调试模型时更具可解释性,对非常大的输入更具可扩展性,并且对噜杂的输入更具鲁棒性。",
"2",
"",
"APPROACH",
"TaskDefinition给定一个接受自然语言问题/语句Q和可选上下文D(e。g。,段落,表格,图像",
"或上述的组合)作为输入,目标是根据输入输出答案A,以正确响应Q。例如,在段落问答中,Q是",
"关于段落D的问题;在表事实验证中,Q是关于表D的声明",
"2.1",
"BINDERFRAMEWORK",
"Overview解决NLP任务的BINDER框架定义如下:给定自然语言输入Q和可选上下文D作为输",
"人,可执行的BINDER程序Z。最后,通过使用BINDER解释器执行Z来导出输出答案A",
"BINDERParsing在解析阶段,将输人的自然语言Q解析为BINDER程序Z。BINDER程序是一种",
"符号语言的表达式,可以选择包括API调用,其中核心符号语言无法提供所需的功能。我们将程序中",
"的API调用定义为函数f(Q;D),它接受要回答的问题Q和要查询的上下文D。这里Q是Q的无法",
"回答的部分,只有编程语言和D是D中的相关上下文来回答Q。例如,图1中的“NorthAmerica?",
"是一个Q,其对应的用于回答Q的上下文D是列Made_in。注意Q=Q或D=D也是有效的(如",
"果是Q=Q和D=D,程序相当于以端到端的方式用LM解决问题)。API调用f(Q;D)的输出是Q",
"的答案,它表示为与符号语言语法兼容的变量,以便可以执行程序",
"2"
] |
{
"arxiv_id": "2210.02875",
"language": "zh",
"page_idx": 1
}
|
||
2210.02875-zh-2
|
2210.02875-zh-2.jpg
|
Published as a conference paper at ICLR 2023
BINDER Execution 在执行阶段,程序$Z$由 BINDER 解释器执行,以得出答案$A$ 。BINDER 解释器由标准的符号语言解释器和实现 API 调用的模型组成。执行阶段包括词法分析、语法分析和程序评估。在词法和语法分析中,在语法中添加$f(\hat{Q};\hat{D})$作为新的标识符,并基于此扩展语法将程序解析为抽象语法树$\mathbb{E}($AST)。在程序评估中,通过调用底层神经模型来评估 API 调用。API 调用输出被保存为与标准符号语言语法兼容的变量,因此程序最终可以由现成的符号语言解释器执行以导出输出。具体来说,BINDER 扩展了符号语言生成规则,以方便解析 BINDER 程序的 AST。AST 按自下而上的顺序进行评估,以便也支持嵌套的 API 调用,这允许对复杂问题进行不同程度的分解和语言模型的自由组合。我们在附录 A.4 中提供了有关语法扩展和 BINDER 程序 AST 的更多详细信息
2.2 IN-CONTEXT LEARNING FOR BINDER
最近的许多工作都使用大型语言模型进行上下文学习 (Brown et al., 2020; Chen et al., 2021; Chowdhery et al., 2022b)。与微调相比,上下文学习 (1)仅将一些注释$\prime$演示作为提示,并且(2)在不训练模型参数的情况下进行推理,这都是常规语义解析的长期问题。我们将 BINDER 的实验基于 Codex, 这是GPT-3 的代码预训练版本,已被证明可以熟练地执行代码生成任务$\overline{\mathrm{E}}($Rajkumar et al., 2022; Chen et al., 2022),甚至可以执行一些弱相关的任务,例如对话状态跟踪$\overline{\mathrm{E}}($Hu et al.,2022)。我们使用 Codex 作为语义解析器和模型来执行 API 调用功能
在解析阶段,生成 BINDER 程序具有挑战性,因为由于插人的 API 调用,它们的语法与原始编程语言语法不同。因此,我们利用 Codex 的少量泛化能力,发现它只需少量上下文示例就可以有效地学习修改后的语法。在执行阶段,作为底层 LM 的 Codex 通过连接 API 调用输入,$\hat{Q}$和$\hat{D}$作为语言模型提示来为 API 调用提供输出$\mathbb{E}($提示样式在E3.1 节中进行了描述)。Codex 输出结果存储为标准编程语言中的变量,以便编程语言解释器可以在这些变量和程序其余部分的组合上执行
具体来说,我们以以下方式为 BINDER 应用上下文学习:输入是$\{(Q_i,D_i,Z_i)\}_{i=1}^k$的$k$上下文中的样例和推理示例$(Q,D)$ 。$k$示例应在问题类型的多样性和模型的最大输人容量之间进行权衡,可以根据推理示例手动选择$\mathbb{E}($固定)或自动检索$\mathbb{E}($动态)。模型输出是 $n$ 候选 BINDER 程序 $Z=\{Z_1,...,Z_n\}$
${\mathcal{Z}}\mid$
$iQ$。
后,输出答案$A$是通过对生成的答案集$\mathcal{A}$ E的多数投票策略得出的 (投票方法类似于 MBR-EXECE (Shi et al.,2022)所使用的方法,我们在附录EA.3 中对此进行了详细说明)。$k$和$n$的值是上述过程中的超参数
2.3 BINDER IMPLEMENTATION
在本节中,我们将通过结构化知识描述使用 SQL 和 Python 实现 BINDER 的示例。由于 BINDER 被设计为可扩展到各种编程语言和 API 调用功能,因此我们在附录 D 中引人了一个管道,供用户快速将BINDER适应新的域
我们实现了两个 API— $f_{\mathrm{col}}(\hat{Q};\hat{D})$和$f_\mathrm{val}( \hat{Q} ; \hat{D} )$ ,其中$\hat{D}=\{c_1,...,c_{|\hat{D}|}\}$是一组表列的 (子)表,而$c=\left\{v_i,...,v_{|c|}\right\}$是填充有单元格值的列。基于$\hat{Q}$ ,$f_\text{col 将 }\hat{D}$ 映射为列$,f_\text{val 将 }\hat{D}$ 映射为值。由于这两种返回类型,我。e。,列和值,与 SQL 和 Python 的语法兼容$\operatorname{E}($带有 Pandas 包), 插人 $f_\mathrm{col}$ 和 $f_\mathrm{val}$ API 以替换列和值以形成有效的 BINDER 程序
以 Fig 1 中的问题“哪种衬衫是北美最畅销且不含化学物质?”为例。Made\_in 列中的国家/地区名称本身没有提供足够的信息来指示其大洲,因此纯 SQL 无法解决它(使用该表的数据) 。但是,(大型) 语言模型很容易回答一个国家是否来自北美,这在标准 SQL 中的列名位置由$f_{\mathrm{col}}(``North~America?"Made\_in)$ 表达式表示。同样,表达式 $f_\mathrm{col}(``Nochemicals?"Shirt)$调用(大)语言模型来识别衬衫是否不含化学物质$\mathbb{E}($i。e。,本例中为纯棉)基于 Shirt 列中的文本详细信息当 (子-) 问题太复杂或不可行而无法通过使用$f_\mathrm{col}$创建中间新列来解决时,我们转向$f_\mathrm{val}$直接得出答案。例如,在图 1 中的表格上,给定“哪种衬衫最适合正式活动?”的问题,很难将 Shirt 映射到“形式值”的新列,后跟 SQL“ORDERBY”子句。因此,表达式将是$f_\mathrm{val}( ` Themostformal? ^{\prime \prime }; Shirt)$ , 它输出一个值作为答案。$f_\mathrm{val}$看起来更像端到端 QA,有两个重要的区别:(1)它可以使用其结果作为值集成到更多的组合 SQL 查询中,(2) 它输人子表而不是整个表可以减轻输人容量的挑战。
# 3 EXPERIMENTS
3.1 EXPERIMENT SETUP
Datasets 我们在三个知识基础数据集上评估了我们的方法,这些数据集以前都是由端到端方法主导的:WIKITQ $|\mathbb{E}|$Pasupat & Liang, 2015) 和 TABFACT $|\mathbb{E}|($Chen et al., 2019a)。WIKITQ 需要复杂的表推理技能来回答问题。此外,根据 SQUALL(Shi et al.,2020b),关于 WIKITQ 的 20% 问题不能由纯SQL 回答,因为需要额外的知识或 SQL 语法的覆盖范围有限,这两个问题都是 BINDER 旨在解决的问
3
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.178955078125,
0.1060791015625,
0.82421875,
0.1060791015625,
0.82421875,
0.11932373046875,
0.178955078125,
0.11932373046875
],
[
0.176513671875,
0.11871337890625,
0.82275390625,
0.11871337890625,
0.82275390625,
0.1319580078125,
0.176513671875,
0.1319580078125
],
[
0.1748046875,
0.1319580078125,
0.82275390625,
0.1331787109375,
0.82275390625,
0.146484375,
0.1748046875,
0.1458740234375
],
[
0.1748046875,
0.1458740234375,
0.82275390625,
0.1458740234375,
0.82275390625,
0.1590576171875,
0.1748046875,
0.1590576171875
],
[
0.176513671875,
0.1572265625,
0.82275390625,
0.1572265625,
0.82275390625,
0.17041015625,
0.176513671875,
0.17041015625
],
[
0.1748046875,
0.169189453125,
0.82421875,
0.17041015625,
0.82421875,
0.184326171875,
0.1748046875,
0.18310546875
],
[
0.176513671875,
0.18310546875,
0.82275390625,
0.18310546875,
0.82275390625,
0.1962890625,
0.176513671875,
0.1962890625
],
[
0.1748046875,
0.1962890625,
0.71142578125,
0.1962890625,
0.71142578125,
0.210205078125,
0.1748046875,
0.210205078125
],
[
0.1732177734375,
0.2279052734375,
0.47802734375,
0.2291259765625,
0.47802734375,
0.242431640625,
0.1732177734375,
0.2412109375
],
[
0.1732177734375,
0.255126953125,
0.82275390625,
0.255615234375,
0.82275390625,
0.26953125,
0.1732177734375,
0.268310546875
],
[
0.1732177734375,
0.266357421875,
0.82275390625,
0.267578125,
0.82275390625,
0.2822265625,
0.1732177734375,
0.281005859375
],
[
0.176513671875,
0.281005859375,
0.82421875,
0.281005859375,
0.82421875,
0.294189453125,
0.176513671875,
0.294189453125
],
[
0.1748046875,
0.292236328125,
0.82275390625,
0.292236328125,
0.82275390625,
0.30615234375,
0.1748046875,
0.30615234375
],
[
0.1748046875,
0.304931640625,
0.82421875,
0.304931640625,
0.82421875,
0.318115234375,
0.1748046875,
0.318115234375
],
[
0.176513671875,
0.3193359375,
0.42724609375,
0.3193359375,
0.42724609375,
0.330078125,
0.176513671875,
0.330078125
],
[
0.176513671875,
0.33837890625,
0.82275390625,
0.33837890625,
0.82275390625,
0.3515625,
0.176513671875,
0.3515625
],
[
0.176513671875,
0.35107421875,
0.82275390625,
0.35107421875,
0.82275390625,
0.3642578125,
0.176513671875,
0.3642578125
],
[
0.1748046875,
0.365478515625,
0.82275390625,
0.365478515625,
0.82275390625,
0.37890625,
0.1748046875,
0.37890625
],
[
0.176513671875,
0.376953125,
0.82275390625,
0.376953125,
0.82275390625,
0.391357421875,
0.176513671875,
0.391357421875
],
[
0.178955078125,
0.391357421875,
0.68896484375,
0.391357421875,
0.68896484375,
0.401611328125,
0.178955078125,
0.401611328125
],
[
0.176513671875,
0.410400390625,
0.82275390625,
0.410400390625,
0.82275390625,
0.423583984375,
0.176513671875,
0.423583984375
],
[
0.176513671875,
0.42236328125,
0.82275390625,
0.42236328125,
0.82275390625,
0.436279296875,
0.176513671875,
0.436279296875
],
[
0.1748046875,
0.434326171875,
0.82177734375,
0.43505859375,
0.82177734375,
0.449462890625,
0.1748046875,
0.448974609375
],
[
0.1846923828125,
0.447509765625,
0.82177734375,
0.447509765625,
0.82177734375,
0.462158203125,
0.1846923828125,
0.462158203125
],
[
0.176513671875,
0.4609375,
0.82421875,
0.4609375,
0.82421875,
0.474853515625,
0.176513671875,
0.474853515625
],
[
0.1748046875,
0.473388671875,
0.82275390625,
0.473388671875,
0.82275390625,
0.4873046875,
0.1748046875,
0.4873046875
],
[
0.176513671875,
0.4873046875,
0.2344970703125,
0.4873046875,
0.2344970703125,
0.49755859375,
0.176513671875,
0.49755859375
],
[
0.176513671875,
0.52099609375,
0.404296875,
0.52099609375,
0.404296875,
0.53076171875,
0.176513671875,
0.53076171875
],
[
0.176513671875,
0.54736328125,
0.82177734375,
0.54736328125,
0.82177734375,
0.55810546875,
0.176513671875,
0.55810546875
],
[
0.1748046875,
0.5595703125,
0.82421875,
0.5595703125,
0.82421875,
0.57275390625,
0.1748046875,
0.57275390625
],
[
0.176513671875,
0.57275390625,
0.3056640625,
0.57275390625,
0.3056640625,
0.58349609375,
0.176513671875,
0.58349609375
],
[
0.1732177734375,
0.59130859375,
0.82275390625,
0.59228515625,
0.82275390625,
0.60693359375,
0.1732177734375,
0.60595703125
],
[
0.1732177734375,
0.609375,
0.82275390625,
0.60791015625,
0.82275390625,
0.62255859375,
0.1732177734375,
0.62353515625
],
[
0.176513671875,
0.625,
0.82275390625,
0.625,
0.82275390625,
0.63818359375,
0.176513671875,
0.63818359375
],
[
0.176513671875,
0.63818359375,
0.464111328125,
0.63818359375,
0.464111328125,
0.6484375,
0.176513671875,
0.6484375
],
[
0.1748046875,
0.65576171875,
0.82421875,
0.65576171875,
0.82421875,
0.66943359375,
0.1748046875,
0.66943359375
],
[
0.1748046875,
0.66748046875,
0.80810546875,
0.66748046875,
0.80810546875,
0.68115234375,
0.1748046875,
0.68115234375
],
[
0.1732177734375,
0.6796875,
0.82275390625,
0.68115234375,
0.82275390625,
0.69580078125,
0.1732177734375,
0.6943359375
],
[
0.176513671875,
0.6943359375,
0.82275390625,
0.6943359375,
0.82275390625,
0.708984375,
0.176513671875,
0.708984375
],
[
0.1748046875,
0.70556640625,
0.8203125,
0.70556640625,
0.8203125,
0.7197265625,
0.1748046875,
0.7197265625
],
[
0.17724609375,
0.72900390625,
0.82275390625,
0.72900390625,
0.82275390625,
0.7392578125,
0.17724609375,
0.7392578125
],
[
0.176513671875,
0.7392578125,
0.82421875,
0.7392578125,
0.82421875,
0.75244140625,
0.176513671875,
0.75244140625
],
[
0.176513671875,
0.751953125,
0.82275390625,
0.751953125,
0.82275390625,
0.7666015625,
0.176513671875,
0.7666015625
],
[
0.1748046875,
0.7646484375,
0.82275390625,
0.7646484375,
0.82275390625,
0.77783203125,
0.1748046875,
0.77783203125
],
[
0.1748046875,
0.7763671875,
0.771484375,
0.7763671875,
0.771484375,
0.79052734375,
0.1748046875,
0.79052734375
],
[
0.176513671875,
0.81640625,
0.1895751953125,
0.81640625,
0.1895751953125,
0.8271484375,
0.176513671875,
0.8271484375
],
[
0.1871337890625,
0.818359375,
0.20751953125,
0.818359375,
0.20751953125,
0.82568359375,
0.1871337890625,
0.82568359375
],
[
0.2091064453125,
0.8173828125,
0.330810546875,
0.8173828125,
0.330810546875,
0.82763671875,
0.2091064453125,
0.82763671875
],
[
0.1732177734375,
0.84765625,
0.363525390625,
0.84765625,
0.363525390625,
0.861328125,
0.1732177734375,
0.861328125
],
[
0.17724609375,
0.87353515625,
0.82275390625,
0.87353515625,
0.82275390625,
0.88720703125,
0.17724609375,
0.88720703125
],
[
0.176513671875,
0.88623046875,
0.82421875,
0.88623046875,
0.82421875,
0.90087890625,
0.176513671875,
0.90087890625
],
[
0.1748046875,
0.89794921875,
0.82421875,
0.8984375,
0.82421875,
0.91357421875,
0.1748046875,
0.912109375
],
[
0.1732177734375,
0.912109375,
0.82275390625,
0.912109375,
0.82275390625,
0.92529296875,
0.1732177734375,
0.92529296875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2023",
"BINDERExecution在执行阶段,程序Z由BINDER解释器执行,以得出答案A。BINDER解释",
"器由标准的符号语言解释器和实现API调用的模型组成。执行阶段包括词法分析、语法分析和程序评",
"估。在词法和语法分析中,在语法中添加f(Q;D)作为新的标识符,并基于此扩展语法将程序解析为",
"抽象语法树E(AST)。在程序评估中,通过调用底层神经模型来评估API调用。API调用输出被保存",
"为与标准符号语言语法兼容的变量,因此程序最终可以由现成的符号语言解释器执行以导出输出。具",
"体来说,BINDER扩展了符号语言生成规则,以方便解析BINDER程序的AST。AST按自下而上的顺",
"序进行评估,以便也支持嵌套的API调用,这允许对复杂问题进行不同程度的分解和语言模型的自由",
"组合。我们在附录A.4中提供了有关语法扩展和BINDER程序AST的更多详细信息",
"2.2IN-CONTEXTLEARNINGFORBINDER",
"最近的许多工作都使用大型语言模型进行上下文学习(Brownetal.,2020;Chenetal,2021;Chowdhery",
"etal.,2022b)。与微调相比,上下文学习(1)仅将一些注释/演示作为提示,并且(2)在不训练模型",
"参数的情况下进行推理,这都是常规语义解析的长期问题。我们将BINDER的实验基于Codex,这是",
"GPT-3的代码预训练版本,已被证明可以熟练地执行代码生成任务E(Rajkumaretal.,2022;Chenetal.,",
"2022),甚至可以执行一些弱相关的任务,例如对话状态跟踪E(Huetal.2022)。我们使用Codex作为",
"语义解析器和模型来执行API调用功能",
"在解析阶段,生成BINDER程序具有挑战性,因为由于插人的API调用,它们的语法与原始编程语言",
"语法不同。因此,我们利用Codex的少量泛化能力,发现它只需少量上下文示例就可以有效地学习修",
"改后的语法。在执行阶段,作为底层LM的Codex通过连接API调用输,Q和D作为语言模型提",
"示来为API调用提供输出国(提示样式在E3.1节中进行了描述)。Codex输出结果存储为标准编程语",
"言中的变量,以便编程语言解释器可以在这些变量和程序其余部分的组合上执行",
"具体来说,我们以以下方式为BINDER应用上下文学习:输入是【(Qi,D,Z.)=i的k上下文中的样",
"例和推理示例(Q,D)。k示例应在问题类型的多样性和模型的最大输人容量之间进行权衡,可以根据",
"推理示例手动选择E(固定)或自动检索E(动态。模型输出是n候选BINDER程序Z=Z1..Zn",
"旨在解决推理问题Q。接下来,程序Z由BINDER解释器执行,产生n答案A=(A1,.,An)。最",
"后,输出答案A是通过对生成的答案集AE的多数投票策略得出的(投票方法类似于MBR-EXECE",
"(Shietal.,2022)所使用的方法,我们在附录EA.3中对此进行了详细说明)。k和n的值是上述过程中",
"的超参数",
"2.3BINDERIMPLEMENTATION",
"在本节中,我们将通过结构化知识描述使用SQL和Python实现BINDER的示例。由于BINDER被设",
"计为可扩展到各种编程语言和API调用功能,因此我们在附录D中引入了一个管道,供用户快速将",
"BINDER适应新的域",
"我们实现了两个API一fcol(Q;D)和fval(Q;D),其中D={ci,…,CiD}是一组表列的(子)表,而",
"c=ui,uje}是填充有单元格值的列。基于Q,fcol将D映射为列,fval将D映射为值。由于这",
"两种返回类型,我。e。,列和值,与SQL和Python的语法兼容E(带有Pandas包),插人feol和fval",
"API以替换列和值以形成有效的BINDER程序",
"以Fig1中的问题“哪种衬衫是北美最畅销且不含化学物质?”为例。Made_in列中的国家/地",
"区名称本身没有提供足够的信息来指示其大洲,因此纯SQL无法解决它(使用该表的数据)",
"但是,(大型)语言模型很容易回答一个国家是否来自北美,这在标准SQL中的列名位置由",
"fcol(\"NorthAmerica?\";Made_in)表达式表示。同样,表达式fcol(“Nochemicals?\";Shirt)调用",
"(大)语言模型来识别衬衫是否不含化学物质国(i。e。,本例中为纯棉)基于Shirt列中的文本详细信息",
"当(子-)问题太复杂或不可行而无法通过使用feol创建中间新列来解决时,我们转向fval直接得出答",
"案。例如,在图1中的表格上,给定“哪种衬衫最适合正式活动?”的问题,很难将Shirt映射到“形",
"式值”的新列,后跟SQL“ORDERBY”子句。因此,表达式将是fval(“Themostformal?\";Shirt)",
"它输出一个值作为答案。fval看起来更像端到端QA,有两个重要的区别:(1)它可以使用其结果作",
"为值集成到更多的组合SQL查询中,(2)它输人子表而不是整个表可以减轻输人容量的挑战",
"3",
"",
"EXPERIMENTS",
"3.1EXPERIMENTSETUP",
"Datasets我们在三个知识基础数据集上评估了我们的方法,这些数据集以前都是由端到端方法主",
"导的:WIKITQE(Pasupat&Liang,2015)和TABFACTE(Chenetal.,2019a)。WIKITQ需要复杂的表",
"推理技能来回答问题。此外,根据SQUALL(Shietal.,2020b),关于WIKITQ的20%问题不能由纯",
"SQL回答,因为需要额外的知识或SQL语法的覆盖范围有限,这两个问题都是BINDER旨在解决的问",
"3"
] |
{
"arxiv_id": "2210.02875",
"language": "zh",
"page_idx": 2
}
|
||
2210.02875-zh-3
|
2210.02875-zh-3.jpg
|
Published as a conference paper at ICLR 2023
<table>
<tbody>
<tr>
<th>Method</th>
<th>$PV$</th>
<th>Test</th>
<th>Method</th>
<th>Test</th>
</tr>
<tr>
<td>$\mathop{\mathrm{Finetuned}}$</td>
<td>$\mathbf{D}\boldsymbol{v}\boldsymbol{1}\boldsymbol{b}$</td>
<td>$\mathbf{V}$ 1</td>
<td>Finetuned</td>
<td> </td>
</tr>
<tr>
<td>W $\cdot al$ $20\gamma\gamma$ 210</td>
<td>51 0</td>
<td>T</td>
<td>$SASP$ (Ou&Liu,2022)</td>
<td>77.0</td>
</tr>
<tr>
<td>$\textbf{f al}$ 2071</td>
<td>${\boldsymbol{L}}\cdot{\boldsymbol{V}}$</td>
<td>591</td>
<td>BART- Large ( Lewis et al. , 2020) </td>
<td>82.5</td>
</tr>
<tr>
<td>$1/r$ 2077 $a$</td>
<td>$\psi\psi_{1}$ 1 7 </td>
<td> </td>
<td>T5- 3B ( Xie et al. , 2022) </td>
<td>85.4</td>
</tr>
<tr>
<td>.ube$\left ( \angle \mathrm{hou}\right )$ ${\mathrm{~et~al.,~}}\angle0\angle\angle)$</td>
<td>$\mathbf{0}\mathbf{1}.\bot$</td>
<td>1 9</td>
<td>Tapex ( Liu et al. 2021) </td>
<td>85.9</td>
</tr>
<tr>
<td>${\mathrm{nnilab}}({\mathrm{Jlang~et~al.,2}}$ $\angle0\angle\angle A$</td>
<td> </td>
<td>63.3</td>
<td>$\textbf{W}$</td>
<td>$\psi\cdot\psi$</td>
</tr>
<tr>
<td>Without Finetuni</td>
<td>ng</td>
<td> </td>
<td>etummg Codex end- to- end OA</td>
<td> </td>
</tr>
<tr>
<td>Codex end-to-end $JA$</td>
<td>50.5</td>
<td>48.7</td>
<td>rodev SOI</td>
<td> </td>
</tr>
<tr>
<td>Codex SQL</td>
<td>60.2</td>
<td>61.1</td>
<td>CodexBINDER $\dagger(0_{\mathrm{urs}})$</td>
<td>1 1</td>
</tr>
<tr>
<td>Codex BINDER (0urs)</td>
<td>65.0</td>
<td>64.6</td>
<td>with few-shot retriever</td>
<td>$\psi\psi\Gamma d$ 86.0</td>
</tr>
</tbody>
</table>
Table l: WIKITQ execution accuracy on de- Table 2: TABFACT accuracy on the officia velopment and test sets. $\dagger$ denotes a symbolic small test set. $\dagger$ denotes a symbolic method that method that outputs intermediate languages.
outputs intermediate languages.
题。TABFACT 是小型表的二进制事实验证基准,在这种情况下,端到端方法具有很大的优势,但没有
可解释性
Evaluation 评估指标是 WIKITQ 和 TABFACT 的执行准确性$\overline{\mathrm{E}}(EA)$, 遵循这些数据集的通用做法。程序执行可能在语义上是正确的,但无法完全匹配黄金答案-例如,SQL 为 yes/no 问题输出 100。尽管根据人类评估认为这是正确的,但精确匹配评估器认为这是不正确的。因此,我们将 WIKITQ 中这些语义正确的案例的预匹配检查添加到官方评估程序中。为了公平比较,我们计算所有基线方法的输出. 并使用相同的评估器重新评估它们。我们在附录$\operatorname{EA.5}$ 中提供了有关评估器的更多详细信息,并在$\operatorname{E}$ C.2 中列出了所有基线和我们的方法的官方评估器的结果
Baselines 我们将我们的方法与这些数据集上一系列强大的已发布方法进行了比较,包括 Tapex$\boxed{\mathrm{E}}$ Raffelet al., 2020) 和 SASP$\boxed{\mathrm{F}}($Ou &Liu, 2022)。这些基线在全尺寸训练集上进行了微调,其中许多( Liu et al., 2021; Zhou et al., 2022) 甚至在特定于目标域和任务的额外数据的域相关语料库上进行了进一步的预训练,而 BINDER 是无训练的,只需要几个上下文样本注释
为了进一步证明 BINDER 的有效性,我们还使用其他推理模式对 Codex 进行了评估,包括:(1)端到端 QA, i。e。, 根据输人的问题和表格直接输出答案;(2)用标准的 SQL 语言进行语义解析。由于页面限制,我们将对这些基线感兴趣的读者推荐给他们各自的论文以获取详细信息$\overline{\mathrm{E}}($Liu et al., 2021; Jiang et al., 2022; Zhou et al., 2022; Xie et al., 2022; Raffel et al., 2020; Ou& Liu, 2022) , 我们在附录$\overline{\mathrm{EC.1}}$ 中提供了这些数据集上更多以前系统的完整列表和评估结果
Implementation Details 在我们的实验中,我们使用 OpenAICodex$\boxed{\mathrm{F}}($code-davinci-002) API$^{2}$模型既作为生成程序的解析器,又作为每个程序执行过程中 API 调用的基础模型。我们为每个数据集使用 BINDER 程序注释 14 上下文中的样本,这些样本的选择考虑了演示中问题类型的多样性以及Codex[E](8,000令牌) 的最大令牌限制。提示格式主要遵循 (Rajkumar et al.,2022),输人表 schema 和前三个表行。我们为每个数据集使用的详细提示模板在附录$\dot{\mathrm{A.1}}$中列出。在 TABFACT上,我们进一步使用 vote-k 选择性注释$\overline{\mathrm{E}}($Su et al., 2022) , 使用训练集中的 BINDER 程序对 200 示例池进行注释,并通过问题的 SentenceBert$\boxed{\mathrm{E}}($Clark et al., 2019) 嵌人的最大内积相似性,通过为每个推理示例检索相关的少量示例来使用它们。附录 A.2 中提供了用于解析和执行的 Codex 超参数。根据经验,平均需要大约 6 小时来评估 1,000 示例E(i。e。,每个示例生成并执行 20 程序),因为 Codex 允许每分钟进行 200次查询。我们在考虑时间成本的情况下对 TABFACT 的官方小测试集( 2,000样本)进行了评估
# 3.2 MAIN RESULTS
WIKITQ WIKITQ 数据集上的所有结果如表 1 所示。我们的 Codex BINDER 的性能大大优于上市的强基线系统,绝对 1.3% 超过了以前的最新技术。请注意,所有基线方法都需要访问完整的训练数据集并进行进一步的微调,而我们的方法仅使用 14 示例注释即可实现最先进的性能。Codex BINDER 通过测试集上的 3.5% 改进了标准 SQL 的语义解析,表明 BINDER 确实减轻了原始语言的覆盖范围限制此外,与端到端 QA 相比 , Codex BINDER 和 CodexSQL 都具有显着的优势E$( 15. 9\%$ 和 12.4% ), 表明在结构化知识基础和代码相关任务方面,使用 Codex 进行语义解析是更好的默认选择。关于 BINDER 为什么优于端到端 QA 和纯 SQL 的细粒度分析在 4.1 节中提供
TABFACT 表 2在 TABFACT 官方小测试集上展示结果。Codex BINDER 通过 8.1% 大大超过了以前
的最佳符号方法 SASP。请注意,由于答案空间很小,因此符号方法通常在实际验证中落后于端到端方
$^2$https://beta.openai.com/
4
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.53515625,
0.106689453125,
0.58251953125,
0.106689453125,
0.58251953125,
0.11871337890625,
0.53515625,
0.11871337890625
],
[
0.740234375,
0.106689453125,
0.7685546875,
0.106689453125,
0.7685546875,
0.11932373046875,
0.740234375,
0.11932373046875
],
[
0.386474609375,
0.10919189453125,
0.416748046875,
0.111083984375,
0.4150390625,
0.12371826171875,
0.3857421875,
0.121826171875
],
[
0.19775390625,
0.111083984375,
0.2467041015625,
0.111083984375,
0.2467041015625,
0.12249755859375,
0.19775390625,
0.12249755859375
],
[
0.4345703125,
0.111083984375,
0.464111328125,
0.111083984375,
0.464111328125,
0.12371826171875,
0.4345703125,
0.12371826171875
],
[
0.298095703125,
0.121826171875,
0.363525390625,
0.12371826171875,
0.363525390625,
0.1383056640625,
0.298095703125,
0.1363525390625
],
[
0.62158203125,
0.12060546875,
0.68310546875,
0.12060546875,
0.68310546875,
0.1319580078125,
0.62158203125,
0.1319580078125
],
[
0.5361328125,
0.1307373046875,
0.68701171875,
0.1307373046875,
0.68701171875,
0.14453125,
0.5361328125,
0.14453125
],
[
0.73876953125,
0.1307373046875,
0.7685546875,
0.1331787109375,
0.76708984375,
0.1458740234375,
0.73779296875,
0.143310546875
],
[
0.386474609375,
0.1351318359375,
0.418212890625,
0.136962890625,
0.416748046875,
0.1483154296875,
0.3857421875,
0.146484375
],
[
0.19775390625,
0.1363525390625,
0.3447265625,
0.1363525390625,
0.3447265625,
0.149658203125,
0.19775390625,
0.149658203125
],
[
0.43310546875,
0.1363525390625,
0.464111328125,
0.1363525390625,
0.464111328125,
0.1483154296875,
0.43310546875,
0.1483154296875
],
[
0.5361328125,
0.14453125,
0.7255859375,
0.14453125,
0.7255859375,
0.1578369140625,
0.5361328125,
0.1578369140625
],
[
0.73876953125,
0.14453125,
0.7685546875,
0.14453125,
0.7685546875,
0.1572265625,
0.73876953125,
0.1572265625
],
[
0.3857421875,
0.1483154296875,
0.419189453125,
0.1483154296875,
0.419189453125,
0.1610107421875,
0.3857421875,
0.1610107421875
],
[
0.1993408203125,
0.1483154296875,
0.340576171875,
0.1483154296875,
0.340576171875,
0.1622314453125,
0.1993408203125,
0.1622314453125
],
[
0.43310546875,
0.1483154296875,
0.463134765625,
0.1483154296875,
0.463134765625,
0.1610107421875,
0.43310546875,
0.1610107421875
],
[
0.53759765625,
0.1558837890625,
0.67626953125,
0.1558837890625,
0.67626953125,
0.169189453125,
0.53759765625,
0.169189453125
],
[
0.73779296875,
0.1546630859375,
0.76953125,
0.1546630859375,
0.76953125,
0.17041015625,
0.73779296875,
0.17041015625
],
[
0.1993408203125,
0.1610107421875,
0.361083984375,
0.1610107421875,
0.361083984375,
0.1749267578125,
0.1993408203125,
0.1749267578125
],
[
0.3857421875,
0.160400390625,
0.419189453125,
0.1622314453125,
0.418212890625,
0.1749267578125,
0.384033203125,
0.17236328125
],
[
0.43310546875,
0.1610107421875,
0.464111328125,
0.1610107421875,
0.464111328125,
0.173583984375,
0.43310546875,
0.173583984375
],
[
0.5361328125,
0.1685791015625,
0.67236328125,
0.1685791015625,
0.67236328125,
0.1817626953125,
0.5361328125,
0.1817626953125
],
[
0.73876953125,
0.1685791015625,
0.76953125,
0.1685791015625,
0.76953125,
0.18115234375,
0.73876953125,
0.18115234375
],
[
0.431396484375,
0.17236328125,
0.46728515625,
0.17236328125,
0.46728515625,
0.1881103515625,
0.431396484375,
0.1881103515625
],
[
0.1993408203125,
0.173583984375,
0.369384765625,
0.173583984375,
0.369384765625,
0.1881103515625,
0.1993408203125,
0.1881103515625
],
[
0.59716796875,
0.1849365234375,
0.7060546875,
0.1875,
0.7060546875,
0.2008056640625,
0.59716796875,
0.1988525390625
],
[
0.26953125,
0.1912841796875,
0.390625,
0.1912841796875,
0.390625,
0.2052001953125,
0.26953125,
0.2052001953125
],
[
0.5361328125,
0.1988525390625,
0.6640625,
0.1988525390625,
0.6640625,
0.212158203125,
0.5361328125,
0.212158203125
],
[
0.73779296875,
0.1976318359375,
0.76953125,
0.1976318359375,
0.76953125,
0.21337890625,
0.73779296875,
0.21337890625
],
[
0.1993408203125,
0.2052001953125,
0.33251953125,
0.2052001953125,
0.33251953125,
0.2183837890625,
0.1993408203125,
0.2183837890625
],
[
0.384033203125,
0.205810546875,
0.418212890625,
0.205810546875,
0.418212890625,
0.2171630859375,
0.384033203125,
0.2171630859375
],
[
0.43310546875,
0.205810546875,
0.463134765625,
0.205810546875,
0.463134765625,
0.2183837890625,
0.43310546875,
0.2183837890625
],
[
0.53759765625,
0.21337890625,
0.60693359375,
0.21337890625,
0.60693359375,
0.2247314453125,
0.53759765625,
0.2247314453125
],
[
0.73779296875,
0.2108154296875,
0.76953125,
0.2108154296875,
0.76953125,
0.2266845703125,
0.73779296875,
0.2266845703125
],
[
0.38818359375,
0.2197265625,
0.419189453125,
0.2197265625,
0.419189453125,
0.231689453125,
0.38818359375,
0.231689453125
],
[
0.431396484375,
0.2197265625,
0.463134765625,
0.2197265625,
0.463134765625,
0.231689453125,
0.431396484375,
0.231689453125
],
[
0.5361328125,
0.2235107421875,
0.67626953125,
0.2247314453125,
0.67626953125,
0.238037109375,
0.5361328125,
0.2374267578125
],
[
0.73876953125,
0.2247314453125,
0.76708984375,
0.2247314453125,
0.76708984375,
0.2374267578125,
0.73876953125,
0.2374267578125
],
[
0.1993408203125,
0.23291015625,
0.3505859375,
0.23291015625,
0.3505859375,
0.246826171875,
0.1993408203125,
0.246826171875
],
[
0.200927734375,
0.2203369140625,
0.279296875,
0.2203369140625,
0.279296875,
0.2310791015625,
0.200927734375,
0.2310791015625
],
[
0.386474609375,
0.23291015625,
0.418212890625,
0.23291015625,
0.418212890625,
0.24560546875,
0.386474609375,
0.24560546875
],
[
0.431396484375,
0.2342529296875,
0.465576171875,
0.2342529296875,
0.465576171875,
0.24560546875,
0.431396484375,
0.24560546875
],
[
0.5810546875,
0.238037109375,
0.708984375,
0.238037109375,
0.708984375,
0.248779296875,
0.5810546875,
0.248779296875
],
[
0.73876953125,
0.2374267578125,
0.76953125,
0.2374267578125,
0.76953125,
0.25,
0.73876953125,
0.25
],
[
0.17236328125,
0.2587890625,
0.810546875,
0.26513671875,
0.810546875,
0.2822265625,
0.17236328125,
0.27587890625
],
[
0.17236328125,
0.272705078125,
0.810546875,
0.279052734375,
0.810546875,
0.296630859375,
0.17236328125,
0.290283203125
],
[
0.1732177734375,
0.2890625,
0.464111328125,
0.290283203125,
0.464111328125,
0.304931640625,
0.1732177734375,
0.3037109375
],
[
0.494384765625,
0.29345703125,
0.70361328125,
0.294189453125,
0.70361328125,
0.30810546875,
0.494384765625,
0.306884765625
],
[
0.1748046875,
0.324462890625,
0.82275390625,
0.324462890625,
0.82275390625,
0.33837890625,
0.1748046875,
0.33837890625
],
[
0.176513671875,
0.33837890625,
0.236083984375,
0.33837890625,
0.236083984375,
0.349853515625,
0.176513671875,
0.349853515625
],
[
0.178955078125,
0.3642578125,
0.82177734375,
0.3642578125,
0.82177734375,
0.37744140625,
0.178955078125,
0.37744140625
],
[
0.1732177734375,
0.375732421875,
0.82421875,
0.376953125,
0.82421875,
0.391357421875,
0.1732177734375,
0.39013671875
],
[
0.1748046875,
0.39013671875,
0.82421875,
0.39013671875,
0.82421875,
0.404052734375,
0.1748046875,
0.404052734375
],
[
0.1748046875,
0.40283203125,
0.82275390625,
0.40283203125,
0.82275390625,
0.416748046875,
0.1748046875,
0.416748046875
],
[
0.176513671875,
0.415283203125,
0.82421875,
0.415283203125,
0.82421875,
0.4287109375,
0.176513671875,
0.4287109375
],
[
0.1732177734375,
0.4267578125,
0.5390625,
0.427978515625,
0.5390625,
0.442626953125,
0.1732177734375,
0.44140625
],
[
0.178955078125,
0.455810546875,
0.826171875,
0.455810546875,
0.826171875,
0.4697265625,
0.178955078125,
0.4697265625
],
[
0.1748046875,
0.468505859375,
0.82421875,
0.468505859375,
0.82421875,
0.481689453125,
0.1748046875,
0.481689453125
],
[
0.1748046875,
0.48095703125,
0.82421875,
0.48095703125,
0.82421875,
0.494384765625,
0.1748046875,
0.494384765625
],
[
0.1748046875,
0.49365234375,
0.82421875,
0.49365234375,
0.82421875,
0.5068359375,
0.1748046875,
0.5068359375
],
[
0.1748046875,
0.505859375,
0.58837890625,
0.505859375,
0.58837890625,
0.51953125,
0.1748046875,
0.51953125
],
[
0.176513671875,
0.52587890625,
0.82421875,
0.52587890625,
0.82421875,
0.5390625,
0.176513671875,
0.5390625
],
[
0.176513671875,
0.53857421875,
0.82275390625,
0.53857421875,
0.82275390625,
0.5517578125,
0.176513671875,
0.5517578125
],
[
0.1748046875,
0.55029296875,
0.82421875,
0.55029296875,
0.82421875,
0.564453125,
0.1748046875,
0.564453125
],
[
0.1732177734375,
0.56298828125,
0.82421875,
0.5625,
0.82421875,
0.5771484375,
0.1732177734375,
0.57763671875
],
[
0.176513671875,
0.57763671875,
0.55615234375,
0.57763671875,
0.55615234375,
0.58837890625,
0.176513671875,
0.58837890625
],
[
0.178955078125,
0.60400390625,
0.82275390625,
0.60400390625,
0.82275390625,
0.6171875,
0.178955078125,
0.6171875
],
[
0.1732177734375,
0.61572265625,
0.82275390625,
0.6171875,
0.82275390625,
0.630859375,
0.1732177734375,
0.62890625
],
[
0.1748046875,
0.6298828125,
0.82275390625,
0.6298828125,
0.82275390625,
0.64306640625,
0.1748046875,
0.64306640625
],
[
0.1748046875,
0.642578125,
0.82275390625,
0.642578125,
0.82275390625,
0.65576171875,
0.1748046875,
0.65576171875
],
[
0.176513671875,
0.65478515625,
0.810546875,
0.65478515625,
0.810546875,
0.66845703125,
0.176513671875,
0.66845703125
],
[
0.1748046875,
0.66748046875,
0.82275390625,
0.66748046875,
0.82275390625,
0.68115234375,
0.1748046875,
0.68115234375
],
[
0.1748046875,
0.6796875,
0.82275390625,
0.6796875,
0.82275390625,
0.693359375,
0.1748046875,
0.693359375
],
[
0.1748046875,
0.6923828125,
0.82275390625,
0.6923828125,
0.82275390625,
0.70556640625,
0.1748046875,
0.70556640625
],
[
0.1748046875,
0.705078125,
0.826171875,
0.705078125,
0.826171875,
0.71826171875,
0.1748046875,
0.71826171875
],
[
0.1748046875,
0.71728515625,
0.77392578125,
0.71728515625,
0.77392578125,
0.73095703125,
0.1748046875,
0.73095703125
],
[
0.1748046875,
0.74755859375,
0.326904296875,
0.74853515625,
0.326904296875,
0.76025390625,
0.1748046875,
0.7587890625
],
[
0.178955078125,
0.771484375,
0.82275390625,
0.771484375,
0.82275390625,
0.78515625,
0.178955078125,
0.78515625
],
[
0.1732177734375,
0.78271484375,
0.82275390625,
0.7841796875,
0.82275390625,
0.798828125,
0.1732177734375,
0.79736328125
],
[
0.1748046875,
0.796875,
0.82275390625,
0.796875,
0.82275390625,
0.81005859375,
0.1748046875,
0.81005859375
],
[
0.1748046875,
0.81005859375,
0.82275390625,
0.81005859375,
0.82275390625,
0.82373046875,
0.1748046875,
0.82373046875
],
[
0.176513671875,
0.82275390625,
0.82275390625,
0.82275390625,
0.82275390625,
0.8359375,
0.176513671875,
0.8359375
],
[
0.1748046875,
0.83544921875,
0.82421875,
0.83544921875,
0.82421875,
0.8486328125,
0.1748046875,
0.8486328125
],
[
0.176513671875,
0.84765625,
0.580078125,
0.84765625,
0.580078125,
0.861328125,
0.176513671875,
0.861328125
],
[
0.17724609375,
0.87548828125,
0.82177734375,
0.87548828125,
0.82177734375,
0.8896484375,
0.17724609375,
0.8896484375
],
[
0.1748046875,
0.88818359375,
0.82275390625,
0.88818359375,
0.82275390625,
0.9013671875,
0.1748046875,
0.9013671875
],
[
0.193603515625,
0.91015625,
0.410888671875,
0.9111328125,
0.410888671875,
0.92529296875,
0.193603515625,
0.9248046875
],
[
0.491943359375,
0.94970703125,
0.5048828125,
0.94970703125,
0.5048828125,
0.96044921875,
0.491943359375,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2023",
"Method",
"Test",
"Dev.",
"Method",
"Test",
"Finetuned",
"Finetuned",
"SASPt (Ou & Liu, 2022)",
"77.0",
"51.9",
"T5-3B (Xie et al., 2022)",
"50.6",
"BART-Large (Lewis et al., 2020)",
"82.5",
"60.4",
"Tapex (Liu et al., 2021)",
"59.1",
"T5-3B (Xie et al., 2022)",
"85.4",
"TaCube (Zhou et al., 2022)",
"61.1",
"61.3",
"Tapex (Liu et al., 2021)",
"85.9",
"63.3",
"OmniTab (Jiang et al., 2022)",
"Without Finetuning",
"Without Finetuning",
"Codex end-to-end QA",
"72.6",
"Codex end-to-end QA",
"50.5",
"48.7",
"Codex SQL",
"80.7",
"60.2",
"61.1",
"Codex BINDER (Ours)",
"85.1",
"Codex BINDER (Ours)",
"CodexSQL",
"65.0",
"64.6",
"withfew-shotretriever",
"86.0",
"Table I:WIKITQ execution accuracy on de- Table 2: TABFACT accuracy on the official",
"velopment and test sets. t denotes a symbolic small test set. t denotes a symbolic method that",
"method that outputs intermediate languages.",
"outputsintermediatelanguages.",
"题。TABFACT是小型表的二进制事实验证基准,在这种情况下,端到端方法具有很大的优势,但没有",
"可解释性",
"Evaluation评估指标是WIKITQ和TABFACT的执行准确性E(EA),遵循这些数据集的通用做法。",
"程序执行可能在语义上是正确的,但无法完全匹配黄金答案-例如,SQL为yes/no问题输出1/0。尽管",
"根据人类评估认为这是正确的,但精确匹配评估器认为这是不正确的。因此,我们将WIKITQ中这些",
"语义正确的案例的预匹配检查添加到官方评估程序中。为了公平比较,我们计算所有基线方法的输出!",
"并使用相同的评估器重新评估它们。我们在附录EA.5中提供了有关评估器的更多详细信息,并在E",
"C.2中列出了所有基线和我们的方法的官方评估器的结果",
"Baselines我们将我们的方法与这些数据集上一系列强大的已发布方法进行了比较,包括TapexE",
"(Liu et al., 2021) , OmniTabE(Jiang et al., 2022) , TaCubeE(Zhou et al., 2022) , T5-3BE(Xie et al., 2022;",
"Raffeletal.,2020)和SASPE(Ou&Liu,2022)。这些基线在全尺寸训练集上进行了微调,其中许多(Liu",
"etal.,2021;Zhouetal.2022)甚至在特定于目标域和任务的额外数据的域相关语料库上进行了进一步",
"的预训练,而BINDER是无训练的,只需要几个上下文样本注释",
"为了进一步证明BINDER的有效性,我们还使用其他推理模式对Codex进行了评估,包括:(1)端到",
"端QA,i。e。,根据输人的问题和表格直接输出答案;(2)用标准的SQL语言进行语义解析。由于",
"页面限制,我们将对这些基线感兴趣的读者推荐给他们各自的论文以获取详细信息(Liuetal.,2021;",
"Jiang et al.,2022;Zhou et al.,2022;Xie et al.,2022Raffel et al.,2020;Ou & Liu,2022),我们在附录Ec.1",
"中提供了这些数据集上更多以前系统的完整列表和评估结果",
"ImplementationDetails在我们的实验中,我们使用OpenAICodex(code-davinci-002)API?模",
"型既作为生成程序的解析器,又作为每个程序执行过程中API调用的基础模型。我们为每个数据集",
"使用BINDER程序注释14上下文中的样本,这些样本的选择考虑了演示中问题类型的多样性以及",
"CodexE(8,000令牌)的最大令牌限制。提示格式主要遵循(Rajkumaretal.,2022),输人表schema和",
"前三个表行。我们为每个数据集使用的详细提示模板在附录A.1中列出。在TABFACT上,我们进",
"步使用vote-k选择性注释E(Suetal.,2022),使用训练集中的BINDER程序对200示例池进行注释,并",
"通过问题的SentenceBertE(Clarketal.,2019)嵌人的最大内积相似性,通过为每个推理示例检索相关",
"的少量示例来使用它们。附录A.2中提供了用于解析和执行的Codex超参数。根据经验,平均需要大",
"约6小时来评估1,000示例E(i。e。,每个示例生成并执行20程序),因为Codex允许每分钟进行200",
"次查询。我们在考虑时间成本的情况下对TABFACT的官方小测试集(2,000样本)进行了评估",
"3.2MAINRESULTS",
"WIKITQWIKITQ数据集上的所有结果如表1所示。我们的CodexBINDER的性能大大优于上市",
"的强基线系统,绝对1.3%超过了以前的最新技术。请注意,所有基线方法都需要访问完整的训练数据",
"集并进行进一步的微调,而我们的方法仅使用14示例注释即可实现最先进的性能。CodexBINDER通",
"过测试集上的3.5%改进了标准SQL的语义解析,表明BINDER确实减轻了原始语言的覆盖范围限制。",
"此外,与端到端QA相比,CodexBINDER和CodexSQL都具有显着的优势E(15.9%和12.4%),表明",
"在结构化知识基础和代码相关任务方面,使用Codex进行语义解析是更好的默认选择。关于BINDER",
"为什么优于端到端QA和纯SQL的细粒度分析在4.1节中提供",
"TABFACT表2在TABFACT官方小测试集上展示结果。CodexBINDER通过8.1%大大超过了以前",
"的最佳符号方法SASP。请注意,由于答案空间很小,因此符号方法通常在实际验证中落后于端到端方",
"2https://beta.openai.com/",
"4"
] |
{
"arxiv_id": "2210.02875",
"language": "zh",
"page_idx": 3
}
|
||
2210.02875-zh-4
|
2210.02875-zh-4.jpg
|
Published as a conference paper at ICLR 2023
<table>
<tbody>
<tr>
<th>Method</th>
<th>Program-unsolvable</th>
<th>Program-solvable</th>
<th>Overall</th>
</tr>
<tr>
<td>T5-3B $\overline{(\text{Xie et al., 2022)}}$</td>
<td>37.6</td>
<td>56.0</td>
<td>$\overline{51.9}$</td>
</tr>
<tr>
<td>(Liu et al., 2021) Tapex</td>
<td>33.6</td>
<td>68.0</td>
<td>60.4</td>
</tr>
<tr>
<td>TaCube (Zhou et al., 2022)</td>
<td>34.9</td>
<td>68.5</td>
<td>61.1</td>
</tr>
<tr>
<td>Codex end- to- end OA</td>
<td>40.3</td>
<td>53.4</td>
<td>50.5</td>
</tr>
<tr>
<td>w/o table inputs</td>
<td>14.2</td>
<td>11.9</td>
<td>12.4</td>
</tr>
<tr>
<td>Codex SQL</td>
<td>31.2</td>
<td>68.4</td>
<td>60.2</td>
</tr>
<tr>
<td>Codex BINDER (0urs)</td>
<td>41.3</td>
<td>71.8</td>
<td>65.0</td>
</tr>
</tbody>
</table>
Table 3: Decomposition of execution accuracy on WIKITQ development set. The questions annotated with SQL by SQUAL (Shi et al.,2020b) dataset are denoted program-solvable , and the rest are program-unsolvable. OmniTab (Jiang et al., 2022) didn't provide its result on the development set.
<table>
<tbody>
<tr>
<th>Error T Type</th>
<th>Description</th>
<th>Proportion( $\%$</th>
</tr>
<tr>
<td>Syntax error</td>
<td>Incorrect ( invalid grammar 2170 ntax</td>
<td>$\overline{5\%}$</td>
</tr>
<tr>
<td>Semantic e error</td>
<td>Incorrect emantics</td>
<td>$64\%$</td>
</tr>
<tr>
<td>Token</td>
<td>Incorrect o /value/operaton</td>
<td>$10\%$</td>
</tr>
<tr>
<td>Structure</td>
<td>Incorrect Valin prammar</td>
<td>22 $\%$</td>
</tr>
<tr>
<td>$\mathbf{BINDER}$ usage 1</td>
<td>Missing $4PI$ BINDER lisage</td>
<td>32 $\%$</td>
</tr>
<tr>
<td>Incorrect execution</td>
<td>Incorrec the 1人 ssstth 11 correct Tan</td>
<td>$15\%$</td>
</tr>
<tr>
<td>False negative</td>
<td>10m</td>
<td>$16\%$</td>
</tr>
</tbody>
</table>
Table 4: Error types of 100 samples from WIKITQ development set of BINDER (SQL).
式$\mathbb{E}($二进制分类)。当从 200 示例的注释池中检索一些相关问题时,我们的方法获得了新的最新结果, 优于以前的最佳微调方法。然而,通过检索一些类似的例子提供的改进是比较小的E$( 0. 9\% )$。用于上下文学习的有效样本选择方法仍然是一个开放的挑战。在 Codexfew-shot 设置(没有 few-shotretriever) 中,BINDER 比标准 SQL( 4.4% )和端到端 QA( 12.5% )显示出很大的优势,表明 BINDER 框架的必要性
除了性能增益之外,BINDER 还具有以下优点:(1)可解释性,有利于人为调试;(2)鲁棒性,使其对
大型或嘈杂的输入稳定。我们在 4.2 和 4.3 节中详细说明了这些。
## 4 ANALYSIS
4.1 ABLATION STUDY
将神经模块 API 调用绑定到编程语言中可以帮助解决仅用该语言无法解决的查询。因此,我们对BINDER 在无法解决的问题上的性能特别感兴趣。根据 SQUALL [E](Shi et al.,2020b) , 关于 WIKITQ 问题的 20% 不能在 SQL 中注释;我们称这些为程序不可解决,并将注释的称为程序可解决。如表$\overline{\mathrm{E}}$ 3 所示,在程序无法解决的问题上,Codex BINDER 的性能明显优于 10.1% 的 CodexSQL, 与我们设计的动机保持一致。我们的方法甚至比程序不可解部分的所有端到端 QA 方法都表现得更好,这些方法应该对示例的这个子集更健壮。我们注意到,虽然 SQL 在关于 31.2% 的无法解决的问题上表现良好,但许多是虚假的程序,偶然得出正确的答案。BINDER 在很大程度上缓解了这种现象。我们在SQL 和 BINDER 共享的程序不可解集中随机选择 100 正确的预测,发现 BINDER 的杂散率比 SQL 低得多$\mathbb{E}(12\%$ vs。33% )。需要注意的一点是,BINDER 在程序可解决方面也比 SQL 获得了更高的分数。我们发现这是因为有些表是人工清理的(e。g。,从文本中提取数字部分)以通过 SQUALL 运行带注释的 SQL, 这意味着即使在程序可解决的子集中也存在无法解决的问题。我们在附录 C.4 中详细说明了可以用 SQL 解决的 WIKITQ 的比例的手动统计。我们还介绍了 Codex 本身仅使用其内部知识就可以在多大程度上回答这个问题。。Codex 只能正确回答几个 WIKITQ 问题( 12.4%),说明它没有预先训练过,以过度适应下游数据集问题
## 4.2 INTERPRETABIILITY
BINDER 提供的一个重要优势是,与端到端方法相比,可解释性得到了改善,其中显式程序可以帮助人类调试和错误分析。我们从 Codex BINDER $\mathbb{E}($在 SQL 上) 的 WIKITQ 开发集 (所有不正确的示例中大约为 10% )中采样 100 错误案例,以进行错误分析。我们将错误分为语法错误,语义错误,不正确执行和错误否定,如表$\mathbb{E}$4 所示。有关分类和示例演示的更多详细信息,请参见附录 Е。对于 WIKITQ , 错误主要在于语义错误的 BINDER 用法$\boxed{\mathrm{E}}(32\%)$ 和结构错误$\boxed{\mathrm{E}}(22\%),以及错误的执行回(15\%)$。这表明,如果使用 BINDER ,则可以进一步纠正不正确示例的 32% ,并且可以通过更好的执行来纠正$15\%$, e。g。, 通过利用更强大的 LM,使用更好的上下文学习方法,并注释更多的样本
5
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.4345703125,
0.106689453125,
0.55615234375,
0.106689453125,
0.55615234375,
0.12060546875,
0.4345703125,
0.12060546875
],
[
0.5703125,
0.106689453125,
0.6806640625,
0.106689453125,
0.6806640625,
0.12060546875,
0.5703125,
0.12060546875
],
[
0.69677734375,
0.10797119140625,
0.74267578125,
0.10797119140625,
0.74267578125,
0.11932373046875,
0.69677734375,
0.11932373046875
],
[
0.253173828125,
0.12060546875,
0.400390625,
0.12060546875,
0.400390625,
0.1337890625,
0.253173828125,
0.1337890625
],
[
0.256591796875,
0.10797119140625,
0.303955078125,
0.10797119140625,
0.303955078125,
0.11932373046875,
0.256591796875,
0.11932373046875
],
[
0.4794921875,
0.121826171875,
0.5107421875,
0.121826171875,
0.5107421875,
0.1337890625,
0.4794921875,
0.1337890625
],
[
0.611328125,
0.121826171875,
0.640625,
0.121826171875,
0.640625,
0.1337890625,
0.611328125,
0.1337890625
],
[
0.705078125,
0.121826171875,
0.734375,
0.121826171875,
0.734375,
0.1337890625,
0.705078125,
0.1337890625
],
[
0.2548828125,
0.1319580078125,
0.396240234375,
0.1319580078125,
0.396240234375,
0.1458740234375,
0.2548828125,
0.1458740234375
],
[
0.4794921875,
0.1337890625,
0.5107421875,
0.1337890625,
0.5107421875,
0.146484375,
0.4794921875,
0.146484375
],
[
0.611328125,
0.1337890625,
0.64208984375,
0.1337890625,
0.64208984375,
0.146484375,
0.611328125,
0.146484375
],
[
0.705078125,
0.1337890625,
0.736328125,
0.1337890625,
0.736328125,
0.146484375,
0.705078125,
0.146484375
],
[
0.256591796875,
0.1458740234375,
0.418212890625,
0.1458740234375,
0.418212890625,
0.1590576171875,
0.256591796875,
0.1590576171875
],
[
0.4794921875,
0.146484375,
0.5107421875,
0.146484375,
0.5107421875,
0.1590576171875,
0.4794921875,
0.1590576171875
],
[
0.611328125,
0.146484375,
0.64208984375,
0.146484375,
0.64208984375,
0.1590576171875,
0.611328125,
0.1590576171875
],
[
0.705078125,
0.146484375,
0.734375,
0.146484375,
0.734375,
0.1590576171875,
0.705078125,
0.1590576171875
],
[
0.2548828125,
0.1578369140625,
0.38818359375,
0.1590576171875,
0.38818359375,
0.17041015625,
0.2548828125,
0.169189453125
],
[
0.4794921875,
0.1572265625,
0.51123046875,
0.1590576171875,
0.5107421875,
0.1717529296875,
0.47802734375,
0.169189453125
],
[
0.611328125,
0.1590576171875,
0.64208984375,
0.1590576171875,
0.64208984375,
0.1717529296875,
0.611328125,
0.1717529296875
],
[
0.705078125,
0.1590576171875,
0.734375,
0.1590576171875,
0.734375,
0.1717529296875,
0.705078125,
0.1717529296875
],
[
0.48046875,
0.1717529296875,
0.5107421875,
0.1717529296875,
0.5107421875,
0.184326171875,
0.48046875,
0.184326171875
],
[
0.611328125,
0.1717529296875,
0.64208984375,
0.1717529296875,
0.64208984375,
0.184326171875,
0.611328125,
0.184326171875
],
[
0.705078125,
0.1717529296875,
0.736328125,
0.1717529296875,
0.736328125,
0.184326171875,
0.705078125,
0.184326171875
],
[
0.2548828125,
0.1817626953125,
0.326904296875,
0.184326171875,
0.326904296875,
0.1962890625,
0.2548828125,
0.1944580078125
],
[
0.2998046875,
0.17236328125,
0.396240234375,
0.17236328125,
0.396240234375,
0.18310546875,
0.2998046875,
0.18310546875
],
[
0.47802734375,
0.1817626953125,
0.51123046875,
0.1817626953125,
0.51123046875,
0.1976318359375,
0.47802734375,
0.1976318359375
],
[
0.609375,
0.184326171875,
0.64208984375,
0.184326171875,
0.64208984375,
0.1962890625,
0.609375,
0.1962890625
],
[
0.705078125,
0.184326171875,
0.736328125,
0.184326171875,
0.736328125,
0.1962890625,
0.705078125,
0.1962890625
],
[
0.256591796875,
0.20263671875,
0.39208984375,
0.20263671875,
0.39208984375,
0.216552734375,
0.256591796875,
0.216552734375
],
[
0.4794921875,
0.20263671875,
0.5107421875,
0.20263671875,
0.5107421875,
0.21533203125,
0.4794921875,
0.21533203125
],
[
0.609375,
0.2008056640625,
0.64208984375,
0.2008056640625,
0.64208984375,
0.216552734375,
0.609375,
0.216552734375
],
[
0.705078125,
0.20263671875,
0.734375,
0.20263671875,
0.734375,
0.21533203125,
0.705078125,
0.21533203125
],
[
0.1748046875,
0.231689453125,
0.82275390625,
0.231689453125,
0.82275390625,
0.24560546875,
0.1748046875,
0.24560546875
],
[
0.1748046875,
0.246826171875,
0.82421875,
0.246826171875,
0.82421875,
0.260009765625,
0.1748046875,
0.260009765625
],
[
0.1732177734375,
0.260009765625,
0.82421875,
0.260009765625,
0.82421875,
0.2734375,
0.1732177734375,
0.2734375
],
[
0.176513671875,
0.276611328125,
0.1968994140625,
0.276611328125,
0.1968994140625,
0.285400390625,
0.176513671875,
0.285400390625
],
[
0.240234375,
0.292236328125,
0.301513671875,
0.292236328125,
0.301513671875,
0.3037109375,
0.240234375,
0.3037109375
],
[
0.378173828125,
0.292236328125,
0.441162109375,
0.292236328125,
0.441162109375,
0.3037109375,
0.378173828125,
0.3037109375
],
[
0.67236328125,
0.292236328125,
0.7587890625,
0.292236328125,
0.7587890625,
0.3037109375,
0.67236328125,
0.3037109375
],
[
0.2418212890625,
0.3037109375,
0.3095703125,
0.3037109375,
0.3095703125,
0.31494140625,
0.2418212890625,
0.31494140625
],
[
0.378173828125,
0.304931640625,
0.611328125,
0.304931640625,
0.611328125,
0.31494140625,
0.378173828125,
0.31494140625
],
[
0.69921875,
0.302978515625,
0.72607421875,
0.302978515625,
0.72607421875,
0.31494140625,
0.69921875,
0.31494140625
],
[
0.375732421875,
0.314453125,
0.53125,
0.314453125,
0.53125,
0.32763671875,
0.375732421875,
0.32763671875
],
[
0.69921875,
0.314453125,
0.73046875,
0.314453125,
0.73046875,
0.326904296875,
0.69921875,
0.326904296875
],
[
0.279296875,
0.324462890625,
0.3203125,
0.324462890625,
0.3203125,
0.339111328125,
0.279296875,
0.339111328125
],
[
0.24267578125,
0.31494140625,
0.32275390625,
0.31494140625,
0.32275390625,
0.326904296875,
0.24267578125,
0.326904296875
],
[
0.375732421875,
0.32568359375,
0.609375,
0.32568359375,
0.609375,
0.339111328125,
0.375732421875,
0.339111328125
],
[
0.71142578125,
0.32568359375,
0.74267578125,
0.32568359375,
0.74267578125,
0.33837890625,
0.71142578125,
0.33837890625
],
[
0.281982421875,
0.33837890625,
0.33251953125,
0.33837890625,
0.33251953125,
0.349853515625,
0.281982421875,
0.349853515625
],
[
0.37744140625,
0.337158203125,
0.615234375,
0.337158203125,
0.615234375,
0.35107421875,
0.37744140625,
0.35107421875
],
[
0.71142578125,
0.33837890625,
0.744140625,
0.33837890625,
0.744140625,
0.35107421875,
0.71142578125,
0.35107421875
],
[
0.281005859375,
0.348388671875,
0.363525390625,
0.349853515625,
0.363525390625,
0.361083984375,
0.281005859375,
0.35986328125
],
[
0.375732421875,
0.348388671875,
0.529296875,
0.348388671875,
0.529296875,
0.3623046875,
0.375732421875,
0.3623046875
],
[
0.71142578125,
0.348388671875,
0.74267578125,
0.348388671875,
0.74267578125,
0.361083984375,
0.71142578125,
0.361083984375
],
[
0.2418212890625,
0.35986328125,
0.348876953125,
0.35986328125,
0.348876953125,
0.373779296875,
0.2418212890625,
0.373779296875
],
[
0.37744140625,
0.35986328125,
0.65869140625,
0.35986328125,
0.65869140625,
0.373779296875,
0.37744140625,
0.373779296875
],
[
0.69921875,
0.35986328125,
0.7294921875,
0.35986328125,
0.7294921875,
0.371826171875,
0.69921875,
0.371826171875
],
[
0.2418212890625,
0.37060546875,
0.3203125,
0.37255859375,
0.3203125,
0.3837890625,
0.2418212890625,
0.3818359375
],
[
0.378173828125,
0.37255859375,
0.625,
0.37255859375,
0.625,
0.38330078125,
0.378173828125,
0.38330078125
],
[
0.69921875,
0.371826171875,
0.7294921875,
0.371826171875,
0.7294921875,
0.3837890625,
0.69921875,
0.3837890625
],
[
0.2132568359375,
0.397705078125,
0.78173828125,
0.3984375,
0.78173828125,
0.41357421875,
0.2132568359375,
0.412353515625
],
[
0.1748046875,
0.43505859375,
0.82177734375,
0.43505859375,
0.82177734375,
0.448974609375,
0.1748046875,
0.448974609375
],
[
0.1748046875,
0.447509765625,
0.82275390625,
0.447509765625,
0.82275390625,
0.4609375,
0.1748046875,
0.4609375
],
[
0.176513671875,
0.4609375,
0.82421875,
0.4609375,
0.82421875,
0.474853515625,
0.176513671875,
0.474853515625
],
[
0.1732177734375,
0.473388671875,
0.82275390625,
0.473388671875,
0.82275390625,
0.4873046875,
0.1732177734375,
0.4873046875
],
[
0.176513671875,
0.4873046875,
0.2059326171875,
0.4873046875,
0.2059326171875,
0.498779296875,
0.176513671875,
0.498779296875
],
[
0.1748046875,
0.5048828125,
0.82421875,
0.5048828125,
0.82421875,
0.51806640625,
0.1748046875,
0.51806640625
],
[
0.17724609375,
0.51953125,
0.5888671875,
0.51953125,
0.5888671875,
0.52978515625,
0.17724609375,
0.52978515625
],
[
0.176513671875,
0.55615234375,
0.1895751953125,
0.55615234375,
0.1895751953125,
0.56640625,
0.176513671875,
0.56640625
],
[
0.2115478515625,
0.556640625,
0.29736328125,
0.556640625,
0.29736328125,
0.568359375,
0.2115478515625,
0.568359375
],
[
0.176513671875,
0.5888671875,
0.200927734375,
0.5888671875,
0.200927734375,
0.59765625,
0.176513671875,
0.59765625
],
[
0.205078125,
0.59130859375,
0.2115478515625,
0.59130859375,
0.2115478515625,
0.59521484375,
0.205078125,
0.59521484375
],
[
0.21728515625,
0.5888671875,
0.3447265625,
0.5888671875,
0.3447265625,
0.599609375,
0.21728515625,
0.599609375
],
[
0.1748046875,
0.61279296875,
0.82275390625,
0.61279296875,
0.82275390625,
0.626953125,
0.1748046875,
0.626953125
],
[
0.1748046875,
0.62548828125,
0.82275390625,
0.62548828125,
0.82275390625,
0.6396484375,
0.1748046875,
0.6396484375
],
[
0.1748046875,
0.63818359375,
0.82421875,
0.63818359375,
0.82421875,
0.6513671875,
0.1748046875,
0.6513671875
],
[
0.17236328125,
0.6494140625,
0.82275390625,
0.6494140625,
0.82275390625,
0.66357421875,
0.17236328125,
0.66357421875
],
[
0.1732177734375,
0.66357421875,
0.82421875,
0.662109375,
0.82421875,
0.67529296875,
0.1732177734375,
0.6767578125
],
[
0.176513671875,
0.67529296875,
0.82421875,
0.67529296875,
0.82421875,
0.689453125,
0.176513671875,
0.689453125
],
[
0.176513671875,
0.68798828125,
0.82421875,
0.68798828125,
0.82421875,
0.7021484375,
0.176513671875,
0.7021484375
],
[
0.1748046875,
0.70068359375,
0.82421875,
0.70068359375,
0.82421875,
0.7138671875,
0.1748046875,
0.7138671875
],
[
0.1748046875,
0.7119140625,
0.82275390625,
0.71337890625,
0.82275390625,
0.72802734375,
0.1748046875,
0.7265625
],
[
0.1748046875,
0.7265625,
0.82275390625,
0.7265625,
0.82275390625,
0.7412109375,
0.1748046875,
0.7412109375
],
[
0.1748046875,
0.7392578125,
0.82421875,
0.7392578125,
0.82421875,
0.75244140625,
0.1748046875,
0.75244140625
],
[
0.17724609375,
0.751953125,
0.82275390625,
0.751953125,
0.82275390625,
0.76513671875,
0.17724609375,
0.76513671875
],
[
0.1732177734375,
0.76318359375,
0.82275390625,
0.76318359375,
0.82275390625,
0.7763671875,
0.1732177734375,
0.7763671875
],
[
0.176513671875,
0.77880859375,
0.41015625,
0.77880859375,
0.41015625,
0.7890625,
0.176513671875,
0.7890625
],
[
0.176513671875,
0.81005859375,
0.200927734375,
0.81005859375,
0.200927734375,
0.8212890625,
0.176513671875,
0.8212890625
],
[
0.214111328125,
0.8125,
0.351318359375,
0.8125,
0.351318359375,
0.82275390625,
0.214111328125,
0.82275390625
],
[
0.1732177734375,
0.83544921875,
0.82275390625,
0.83544921875,
0.82275390625,
0.8486328125,
0.1732177734375,
0.8486328125
],
[
0.1748046875,
0.84765625,
0.82421875,
0.84765625,
0.82421875,
0.8623046875,
0.1748046875,
0.8623046875
],
[
0.1748046875,
0.861328125,
0.82421875,
0.861328125,
0.82421875,
0.875,
0.1748046875,
0.875
],
[
0.1748046875,
0.87353515625,
0.82421875,
0.87353515625,
0.82421875,
0.88720703125,
0.1748046875,
0.88720703125
],
[
0.1871337890625,
0.88525390625,
0.82421875,
0.88623046875,
0.82421875,
0.90087890625,
0.1871337890625,
0.8994140625
],
[
0.1748046875,
0.8984375,
0.82421875,
0.8984375,
0.82421875,
0.912109375,
0.1748046875,
0.912109375
],
[
0.1732177734375,
0.912109375,
0.73779296875,
0.912109375,
0.73779296875,
0.92529296875,
0.1732177734375,
0.92529296875
],
[
0.49267578125,
0.94873046875,
0.50634765625,
0.94873046875,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2023",
"Program-unsolvable",
"Program-solvable",
"Overall",
"T5-3B (Xie et al., 2022)",
"Method",
"37.6",
"56.0",
"51.9",
"Tapex (Liu et al., 2021)",
"33.6",
"68.0",
"60.4",
"TaCube (Zhou et al., 2022)",
"34.9",
"68.5",
"61.1",
"Codexend-to-end QA",
"40.3",
"53.4",
"50.5",
"14.2",
"11.9",
"12.4",
"CodexSQL",
"w/otableinputs",
"31.2",
"68.4",
"60.2",
"Codex BINDER (Ours)",
"41.3",
"71.8",
"65.0",
"Table 3: Decomposition of execution accuracy on WIkiTQ development set. The questions anno",
"tated with SQL by SQUALL (Shi et al., 202Ob)dataset are denoted program-solvable, and therest",
"are program-unsolvable. OmniTab (Jiang et al., 2022) didn't provide its result on the development",
"set.",
"Error Type",
"Description",
"Proportion(%)",
"Syntax error",
"Incorrectprogram syntax (invalidgrammar)",
"5%",
"Incorrect program semantics",
"64 %",
"Token",
"Semantic error",
"Incorrect ormissing column/value/operator",
"10 %",
"Structure",
"Incorrect program structure (valid grammar)",
"22 %",
"BINDER usage",
"Missing BINDER API usage",
"32%",
"Incorrect execution",
"Incorrect execution answer with the correct program",
"15%",
"False negative",
"Incorrect annotations or misjudge in evaluator",
"16 %",
"Table4:Errortypes of 100 samples from WIKITQ development set of BINDER(SQL)",
"式E(二进制分类)。当从200示例的注释池中检索一些相关问题时,我们的方法获得了新的最新结果",
"优于以前的最佳微调方法。然而,通过检索一些类似的例子提供的改进是比较小的国(0.9%)。用于上",
"下文学习的有效样本选择方法仍然是一个开放的挑战。在Codexfew-shot设置(没有few-shotretriever)",
"中,BINDER比标准SQL(4.4%)和端到端QA(12.5%)显示出很大的优势,表明BINDER框架的必",
"要性",
"除了性能增益之外,BINDER还具有以下优点:(1)可解释性,有利于人为调试;(2)鲁棒性,使其对",
"大型或噜杂的输入稳定。我们在4.2和4.3节中详细说明了这些。",
"4",
"ANALYSIS",
"4.1",
"",
"ABLATIONSTUDY",
"将神经模块API调用绑定到编程语言中可以帮助解决仅用该语言无法解决的查询。因此,我们对",
"BINDER在无法解决的问题上的性能特别感兴趣。根据SQUALLE(Shietal,2020b),关于WIKITQ",
"问题的20%不能在SQL中注释;我们称这些为程序不可解决,并将注释的称为程序可解决。如表E",
"3所示,在程序无法解决的问题上,CodexBINDER的性能明显优于10.1%的CodexSQL,与我们设",
"计的动机保持一致。我们的方法甚至比程序不可解部分的所有端到端QA方法都表现得更好,这些",
"方法应该对示例的这个子集更健壮。我们注意到,虽然SQL在关于31.2%的无法解决的问题上表现",
"良好,但许多是虚假的程序,偶然得出正确的答案。BINDER在很大程度上缓解了这种现象。我们在",
"SQL和BINDER共享的程序不可解集中随机选择10O正确的预测,发现BINDER的杂散率比SQL低得",
"多E(12%vS。33%)。需要注意的一点是,BINDER在程序可解决方面也比SQL获得了更高的分数。",
"我们发现这是因为有些表是人工清理的(e。g。,从文本中提取数字部分)以通过SQUALL运行带注",
"释的SQL,这意味着即使在程序可解决的子集中也存在无法解决的问题。我们在附录C.4中详细说明",
"了可以用SQL解决的WIKITQ的比例的手动统计。我们还介绍了Codex本身仅使用其内部知识就可",
"以在多大程度上回答这个问题。。Codex只能正确回答几个WIKITQ问题(12.4%),说明它没有预先",
"训练过,以过度适应下游数据集问题",
"4.2",
"INTERPRETABILITY",
"BINDER提供的一个重要优势是,与端到端方法相比,可解释性得到了改善,其中显式程序可以帮助人",
"类调试和错误分析。我们从CodexBINDERE(在SQL上)的WIKITQ开发集(所有不正确的示例中大",
"约为10%)中采样100错误案例,以进行错误分析。我们将错误分为语法错误,语义错误,不正确执",
"行和错误否定,如表E4所示。有关分类和示例演示的更多详细信息,请参见附录E。对于WIKITQ",
"错误主要在于语义错误的BINDER用法E(32%)和结构错误E(22%),以及错误的执行E(15%)。",
"这表明,如果使用BINDER,则可以进一步纠正不正确示例的32%,并且可以通过更好的执行来纠正",
"15%,e。g。,通过利用更强大的LM,使用更好的上下文学习方法,并注释更多的样本",
"5"
] |
{
"arxiv_id": "2210.02875",
"language": "zh",
"page_idx": 4
}
|
||
2311.15564-zh-1
|
2311.15564-zh-1.jpg
|
引导和切换:交替蒸馏以进行零射密集检索
Fan Jiang, Qiongkai Xu, Tom Drummond and Trevor Cohn$^{*}$
School of Computing and Information Systems The University of Melbourne, Victoria, Australia
fan. jiang1@student. unimelb. edu. au
$\{$ qiongkai.xu, tom.drummond, trevor.cohn $\}$ @unimelb.edu.au
# Abstract
Neural 'dense’ retrieval models are state of the art for many datasets, however these models often exhibit limited domain transfer ability. Existing approaches to adaptation are unwieldy, such as requiring explicit supervision, complex model architectures, or massive external models. We present ABEL, a simple but effective unsupervised method to enhance passage retrieval in zero-shot settings. Our technique follows a straightforward loop: a dense retriever learns from supervision signals provided by a reranker, and subsequently, the reranker is updated based on feedback from the improved retriever. By iterating this loop, the two components mutually enhance one another's performance. Experimental results demonstrate that our unsupervised ABEL model outperforms both leading supervised and unsupervised retrievers on the BEIR benchmark. Meanwhile, it exhibits strong adaptation abilities to tasks and domains that were unseen during training. By either fine-tuning ABEL on labelled data or integrating it with existing supervised dense retrievers, we achieve state-of-theart results. 1
### 1 $\textbf{Introduction}$
通过采用双编码器范式$\overline{\mathrm{E}}($Gillick et al., 2018) , 在神经信息检索方面取得了显着进展,该范式通过分解模型以使查询和段落的编码分离,从而可以有效地搜索大量段落,并使用点积计算查询-段落相似性。然而,训练双编码器的效率在很大程度上依赖于标记数据的质量,这些模型很难在专用训练数据稀缺的检索任务上保持竞争力 (Thakur et al., 2021)
已经提出了各种方法来增强零拍设置中的密集检索器$\overline{\mathrm{E}}($Karpukhin et al.,2020),同时保持因式分解的双编码器结构,例如网络规模语料库$\overline{\mathrm{E}}($Izacard et al., 2022)上的预训练模型
$^{*}$ Now at Google DeepMind
$^{1}$Source code is available at https://github.com/
Fantabulous- J/BootSwitch .
以及通过蒸馏$\overline{\mathrm{E}}$(Qu et al., 2021) 向交叉编码器学习。其他替代方案试图通过使用复杂的模型体系结构来换取性能,例如细粒度的令牌交互以获得更具表现力的表示形式$\overline{\mathbb{E}}$(Santhanam et al., 2022), 并扩大模型大小以获得更好的模型容量$\overline{\mathrm{E}}($Ni et al.,2022)。另一条工作线通过查询生成在目标域上训练定制的密集检索器 (Wang et al., 2022; Dai et al., 2023)。这种训练模式通常是缓慢和昂贵的,因为它采用大型语言模型来合成大量高质量的查询。在本文中,我们提出了 ABEL , 一个用于无监督的密集 rEtrievaL 的 A 迭代 B 训练框架。我们的方法通过在迭代中切换教师和学生的角色,在密集的回收器和重新排列器之间交替蒸馏过程。一方面,密集检索器由于其因式分解编码而允许高效检索,伴随着受损的模型性能。另一方面,排名者没有因式分解约束,可以进行更细粒度和更准确的评分,但代价是难以处理的搜索。我们的工作旨在利用这两所学校的优势, 在保持搜索效率的同时,为密集的寻回犬配备排名器的准确评分。具体来说,i) 功能更强大但速度更慢的重新排名器用于帮助训练能力较弱但效率更高的检索器;ii) 密集的检索器用于通过在以后的迭代中提供精细的训练信号来提高重新排名器的性能。重复此交替学习过程以迭代地增强两个模块
与传统的自举方法$\overline{\mathrm{E}}($Alberti et al., 2019; Zelikman et al., 2022) 相比,其中训练有素的模型本身用于发现后续训练迭代的其他解决方案, 我们的方法将一个模型(i.e.,老师)视为训练数据生成器,以监督另一个模型(i.e.,学生), 并且在接下来的每个步骤中都会切换其作为老师和学生的角色。这种机制自然会创建一个相互学习的范例,以实现检索器和重新排序器之间的迭代双向知识流,与典型的单步和单向蒸馏相反,学生从固定的老师那里学习$\overline{\mathrm{E}}($Miech et al.,2021)。通过对各种数据集进行广泛的实验,我们观察到 ABEL 仅通过使用基本的 BM25模型作为启动就在零拍设置中表现出出色的性能。此外,我们的方法中涉及的检索器和重新排序器组件都可以通过引导学习过程逐步增
|
[
[
0.273681640625,
0.0955810546875,
0.7255859375,
0.0955810546875,
0.7255859375,
0.10986328125,
0.273681640625,
0.10986328125
],
[
0.2435302734375,
0.1353759765625,
0.765625,
0.1353759765625,
0.765625,
0.1484375,
0.2435302734375,
0.1484375
],
[
0.310546875,
0.1519775390625,
0.69189453125,
0.1519775390625,
0.69189453125,
0.1650390625,
0.310546875,
0.1650390625
],
[
0.3046875,
0.168701171875,
0.69775390625,
0.168701171875,
0.69775390625,
0.1817626953125,
0.3046875,
0.1817626953125
],
[
0.3359375,
0.185302734375,
0.66650390625,
0.185302734375,
0.66650390625,
0.198974609375,
0.3359375,
0.198974609375
],
[
0.2149658203125,
0.201904296875,
0.79833984375,
0.201904296875,
0.79833984375,
0.215576171875,
0.2149658203125,
0.215576171875
],
[
0.2626953125,
0.254150390625,
0.340087890625,
0.254150390625,
0.340087890625,
0.268310546875,
0.2626953125,
0.268310546875
],
[
0.51318359375,
0.254638671875,
0.87744140625,
0.254638671875,
0.87744140625,
0.268310546875,
0.51318359375,
0.268310546875
],
[
0.51123046875,
0.26953125,
0.87890625,
0.26953125,
0.87890625,
0.283203125,
0.51123046875,
0.283203125
],
[
0.145263671875,
0.283203125,
0.459228515625,
0.283203125,
0.459228515625,
0.29638671875,
0.145263671875,
0.29638671875
],
[
0.51318359375,
0.287353515625,
0.880859375,
0.287353515625,
0.880859375,
0.300537109375,
0.51318359375,
0.300537109375
],
[
0.145263671875,
0.29638671875,
0.45751953125,
0.29638671875,
0.45751953125,
0.31005859375,
0.145263671875,
0.31005859375
],
[
0.51318359375,
0.302734375,
0.87744140625,
0.302734375,
0.87744140625,
0.31640625,
0.51318359375,
0.31640625
],
[
0.14697265625,
0.3134765625,
0.45751953125,
0.3134765625,
0.45751953125,
0.32373046875,
0.14697265625,
0.32373046875
],
[
0.51123046875,
0.318359375,
0.87890625,
0.318359375,
0.87890625,
0.33203125,
0.51123046875,
0.33203125
],
[
0.14697265625,
0.32666015625,
0.45751953125,
0.32666015625,
0.45751953125,
0.34033203125,
0.14697265625,
0.34033203125
],
[
0.14697265625,
0.341552734375,
0.453369140625,
0.341552734375,
0.453369140625,
0.3515625,
0.14697265625,
0.3515625
],
[
0.5146484375,
0.33740234375,
0.87890625,
0.33740234375,
0.87890625,
0.347412109375,
0.5146484375,
0.347412109375
],
[
0.14697265625,
0.355224609375,
0.45751953125,
0.355224609375,
0.45751953125,
0.3681640625,
0.14697265625,
0.3681640625
],
[
0.51123046875,
0.350830078125,
0.87890625,
0.350830078125,
0.87890625,
0.364013671875,
0.51123046875,
0.364013671875
],
[
0.1485595703125,
0.37060546875,
0.45751953125,
0.37060546875,
0.45751953125,
0.38134765625,
0.1485595703125,
0.38134765625
],
[
0.51123046875,
0.366455078125,
0.87890625,
0.366455078125,
0.87890625,
0.380126953125,
0.51123046875,
0.380126953125
],
[
0.14697265625,
0.385498046875,
0.456787109375,
0.385498046875,
0.456787109375,
0.3955078125,
0.14697265625,
0.3955078125
],
[
0.5146484375,
0.38427734375,
0.880859375,
0.38427734375,
0.880859375,
0.39794921875,
0.5146484375,
0.39794921875
],
[
0.145263671875,
0.396728515625,
0.459228515625,
0.3955078125,
0.459228515625,
0.410400390625,
0.145263671875,
0.410888671875
],
[
0.51318359375,
0.3984375,
0.880859375,
0.40087890625,
0.880859375,
0.41455078125,
0.51318359375,
0.412109375
],
[
0.1485595703125,
0.413330078125,
0.456787109375,
0.413330078125,
0.456787109375,
0.42333984375,
0.1485595703125,
0.42333984375
],
[
0.51318359375,
0.416259765625,
0.880859375,
0.416259765625,
0.880859375,
0.429931640625,
0.51318359375,
0.429931640625
],
[
0.1485595703125,
0.427490234375,
0.456787109375,
0.427490234375,
0.456787109375,
0.438232421875,
0.1485595703125,
0.438232421875
],
[
0.51318359375,
0.431640625,
0.87890625,
0.431640625,
0.87890625,
0.4453125,
0.51318359375,
0.4453125
],
[
0.1435546875,
0.438232421875,
0.45751953125,
0.439453125,
0.45751953125,
0.453125,
0.1435546875,
0.451904296875
],
[
0.51318359375,
0.448974609375,
0.880859375,
0.448974609375,
0.880859375,
0.4619140625,
0.51318359375,
0.4619140625
],
[
0.14697265625,
0.454833984375,
0.455078125,
0.45361328125,
0.455078125,
0.465576171875,
0.14697265625,
0.466064453125
],
[
0.1435546875,
0.46728515625,
0.455078125,
0.468505859375,
0.455078125,
0.482177734375,
0.1435546875,
0.48095703125
],
[
0.51318359375,
0.46435546875,
0.8818359375,
0.46435546875,
0.8818359375,
0.47802734375,
0.51318359375,
0.47802734375
],
[
0.14697265625,
0.48388671875,
0.453369140625,
0.48388671875,
0.453369140625,
0.49462890625,
0.14697265625,
0.49462890625
],
[
0.5263671875,
0.482177734375,
0.87890625,
0.482177734375,
0.87890625,
0.4921875,
0.5263671875,
0.4921875
],
[
0.14697265625,
0.496337890625,
0.456787109375,
0.496337890625,
0.456787109375,
0.51025390625,
0.14697265625,
0.51025390625
],
[
0.5146484375,
0.496337890625,
0.880859375,
0.496337890625,
0.880859375,
0.51025390625,
0.5146484375,
0.51025390625
],
[
0.145263671875,
0.51123046875,
0.45751953125,
0.51123046875,
0.45751953125,
0.52490234375,
0.145263671875,
0.52490234375
],
[
0.5146484375,
0.51416015625,
0.87744140625,
0.51416015625,
0.87744140625,
0.52490234375,
0.5146484375,
0.52490234375
],
[
0.145263671875,
0.525390625,
0.456787109375,
0.52490234375,
0.456787109375,
0.5380859375,
0.145263671875,
0.5390625
],
[
0.51318359375,
0.52978515625,
0.87744140625,
0.52978515625,
0.87744140625,
0.54052734375,
0.51318359375,
0.54052734375
],
[
0.14697265625,
0.5390625,
0.456787109375,
0.5390625,
0.456787109375,
0.552734375,
0.14697265625,
0.552734375
],
[
0.51318359375,
0.54443359375,
0.880859375,
0.54443359375,
0.880859375,
0.55810546875,
0.51318359375,
0.55810546875
],
[
0.14697265625,
0.5546875,
0.456787109375,
0.5546875,
0.456787109375,
0.5654296875,
0.14697265625,
0.5654296875
],
[
0.51123046875,
0.56005859375,
0.880859375,
0.56103515625,
0.880859375,
0.57470703125,
0.51123046875,
0.57373046875
],
[
0.1485595703125,
0.5693359375,
0.456787109375,
0.5693359375,
0.456787109375,
0.580078125,
0.1485595703125,
0.580078125
],
[
0.51318359375,
0.57666015625,
0.880859375,
0.57666015625,
0.880859375,
0.59033203125,
0.51318359375,
0.59033203125
],
[
0.1485595703125,
0.58447265625,
0.45751953125,
0.58447265625,
0.45751953125,
0.59423828125,
0.1485595703125,
0.59423828125
],
[
0.145263671875,
0.5966796875,
0.45751953125,
0.5966796875,
0.45751953125,
0.60986328125,
0.145263671875,
0.60986328125
],
[
0.51123046875,
0.5927734375,
0.87890625,
0.5927734375,
0.87890625,
0.60546875,
0.51123046875,
0.60546875
],
[
0.145263671875,
0.60986328125,
0.459228515625,
0.60986328125,
0.459228515625,
0.62353515625,
0.145263671875,
0.62353515625
],
[
0.51318359375,
0.609375,
0.87890625,
0.609375,
0.87890625,
0.62255859375,
0.51318359375,
0.62255859375
],
[
0.14697265625,
0.6259765625,
0.2275390625,
0.6259765625,
0.2275390625,
0.63720703125,
0.14697265625,
0.63720703125
],
[
0.515625,
0.626953125,
0.87890625,
0.626953125,
0.87890625,
0.63720703125,
0.515625,
0.63720703125
],
[
0.51318359375,
0.64111328125,
0.880859375,
0.64111328125,
0.880859375,
0.65478515625,
0.51318359375,
0.65478515625
],
[
0.1158447265625,
0.65478515625,
0.151123046875,
0.65478515625,
0.151123046875,
0.66650390625,
0.1158447265625,
0.66650390625
],
[
0.1485595703125,
0.65478515625,
0.2626953125,
0.65478515625,
0.2626953125,
0.66748046875,
0.1485595703125,
0.66748046875
],
[
0.51318359375,
0.65771484375,
0.69775390625,
0.65771484375,
0.69775390625,
0.67138671875,
0.51318359375,
0.67138671875
],
[
0.118408203125,
0.6796875,
0.478515625,
0.6796875,
0.478515625,
0.693359375,
0.118408203125,
0.693359375
],
[
0.5322265625,
0.6796875,
0.880859375,
0.677734375,
0.880859375,
0.69140625,
0.5322265625,
0.693359375
],
[
0.474365234375,
0.68603515625,
0.484375,
0.68603515625,
0.484375,
0.689453125,
0.474365234375,
0.689453125
],
[
0.1175537109375,
0.6953125,
0.48779296875,
0.69482421875,
0.48779296875,
0.708984375,
0.1175537109375,
0.71044921875
],
[
0.51318359375,
0.6953125,
0.880859375,
0.6953125,
0.880859375,
0.708984375,
0.51318359375,
0.708984375
],
[
0.118408203125,
0.7119140625,
0.484375,
0.7119140625,
0.484375,
0.7255859375,
0.118408203125,
0.7255859375
],
[
0.51123046875,
0.71142578125,
0.87744140625,
0.7119140625,
0.87744140625,
0.7255859375,
0.51123046875,
0.724609375
],
[
0.118408203125,
0.728515625,
0.484375,
0.728515625,
0.484375,
0.7421875,
0.118408203125,
0.7421875
],
[
0.51123046875,
0.72705078125,
0.880859375,
0.72705078125,
0.880859375,
0.74072265625,
0.51123046875,
0.74072265625
],
[
0.118408203125,
0.74462890625,
0.486083984375,
0.74462890625,
0.486083984375,
0.75830078125,
0.118408203125,
0.75830078125
],
[
0.51318359375,
0.74462890625,
0.8818359375,
0.74462890625,
0.8818359375,
0.75830078125,
0.51318359375,
0.75830078125
],
[
0.12005615234375,
0.7626953125,
0.486083984375,
0.7626953125,
0.486083984375,
0.7724609375,
0.12005615234375,
0.7724609375
],
[
0.51318359375,
0.76025390625,
0.880859375,
0.76025390625,
0.880859375,
0.77392578125,
0.51318359375,
0.77392578125
],
[
0.118408203125,
0.77685546875,
0.48779296875,
0.77685546875,
0.48779296875,
0.79052734375,
0.118408203125,
0.79052734375
],
[
0.51318359375,
0.77685546875,
0.880859375,
0.77685546875,
0.880859375,
0.79052734375,
0.51318359375,
0.79052734375
],
[
0.12005615234375,
0.79443359375,
0.333251953125,
0.79443359375,
0.333251953125,
0.8046875,
0.12005615234375,
0.8046875
],
[
0.5146484375,
0.7919921875,
0.87890625,
0.7919921875,
0.87890625,
0.8056640625,
0.5146484375,
0.8056640625
],
[
0.1376953125,
0.81103515625,
0.483642578125,
0.81103515625,
0.483642578125,
0.82177734375,
0.1376953125,
0.82177734375
],
[
0.5146484375,
0.80859375,
0.880859375,
0.80859375,
0.880859375,
0.822265625,
0.5146484375,
0.822265625
],
[
0.118408203125,
0.826171875,
0.486083984375,
0.826171875,
0.486083984375,
0.8388671875,
0.118408203125,
0.8388671875
],
[
0.51318359375,
0.82470703125,
0.880859375,
0.82470703125,
0.880859375,
0.83837890625,
0.51318359375,
0.83837890625
],
[
0.118408203125,
0.84130859375,
0.48779296875,
0.84130859375,
0.48779296875,
0.85498046875,
0.118408203125,
0.85498046875
],
[
0.51318359375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.118408203125,
0.85791015625,
0.486083984375,
0.85791015625,
0.486083984375,
0.87158203125,
0.118408203125,
0.87158203125
],
[
0.51318359375,
0.859375,
0.87744140625,
0.859375,
0.87744140625,
0.869140625,
0.51318359375,
0.869140625
],
[
0.51123046875,
0.87158203125,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.51123046875,
0.8857421875
],
[
0.145263671875,
0.88134765625,
0.318115234375,
0.88134765625,
0.318115234375,
0.89453125,
0.145263671875,
0.89453125
],
[
0.139404296875,
0.892578125,
0.486083984375,
0.8935546875,
0.486083984375,
0.90771484375,
0.139404296875,
0.90673828125
],
[
0.51318359375,
0.8896484375,
0.87890625,
0.8896484375,
0.87890625,
0.90283203125,
0.51318359375,
0.90283203125
],
[
0.118408203125,
0.90673828125,
0.306396484375,
0.90673828125,
0.306396484375,
0.91748046875,
0.118408203125,
0.91748046875
],
[
0.51318359375,
0.90673828125,
0.87744140625,
0.90673828125,
0.87744140625,
0.91748046875,
0.51318359375,
0.91748046875
]
] |
[
"引导和切换:交替蒸馏以进行零射密集检索",
"Fan Jiang, Qiongkai Xu, Tom Drummond and Trevor Cohn",
"School of Computing and Information Systems",
"The University of Melbourne, Victoria, Australia",
"fan.jiang1@student.unimelb.edu.au",
"( qiongkai.xu,tom.drummond,trevor.cohn @unimelb.edu.au",
"Abstract",
"以及通过蒸馏E(Quetal.,2021)向交叉编码器",
"学习。其他替代方案试图通过使用复杂的模",
"Neural dense' retrieval models are state of",
"型体系结构来换取性能,例如细粒度的令牌交",
"the art for many datasets, however these mod",
"互以获得更具表现力的表示形式E(Santhanam",
"els often exhibit limited domain transfer abil-",
"etal.,2022),并扩大模型大小以获得更好的",
"ity. Existing approaches to adaptation are un-",
"wieldy, such as requiring explicit supervision",
"模型容量E(Nietal2022)。另一条工作线通",
"complex model architectures, or massive exter-",
"过查询生成在目标域上训练定制的密集检索",
"nal models.Wepresent ABEL, a simplebut ef-",
"器(Wangetal.2022;Daietal.,2023)。这种",
"fective unsupervised method to enhance pas",
"训练模式通常是缓慢和昂贵的,因为它采用大",
"sage retrieval in zero-shot settings. Our tech-",
"型语言模型来合成大量高质量的查询。在本文",
"nique follows a straightforward loop: a dense",
"中,我们提出了ABEL,一个用于无监督的密",
"retrieverlearns from supervision signals pro.",
"集rEtrievaL的A送代B训练框架。我们的方",
"vided by a reranker, and subsequently, the",
"法通过在选代中切换教师和学生的角色,在密",
"reranker is updatedbasedonfeedbackfrom",
"the improved retriever. By iterating this loop",
"集的回收器和重新排列器之间交替蒸馏过程。",
"the two components mutually enhance one",
"方面,密集检索器由于其因式分解编码而充",
"another's performance.Experimental results",
"许高效检索,伴随着受损的模型性能。另一方",
"demonstrate that our unsupervised ABEL model",
"面,排名者没有因式分解约束,可以进行更细",
"outperforms both leading supervised and un",
"粒度和更准确的评分,但代价是难以处理的搜",
"supervised retrievers on the BEIR benchmark.",
"索。我们的工作旨在利用这两所学校的优势,",
"Meanwhile,it exhibits strong adaptation abili",
"在保持搜索效率的同时,为密集的寻回犬配备",
"tiestotasksanddomainsthat wereunseendur",
"排名器的准确评分。具体来说,i)功能更强大",
"ingtraining.Byeitherfine-tuningABELonla-",
"belled data or integrating it with existing super",
"但速度更慢的重新排名器用于帮助训练能力较",
"vised dense retrievers, we achieve state-of-the-",
"弱但效率更高的检索器;i)密集的检索器用",
"artresults.",
"于通过在以后的选代中提供精细的训练信号来",
"提高重新排名器的性能。重复此交替学习过程",
"1",
"Introduction",
"以送代地增强两个模块",
"通过采用双编码器范式E(Gillicketal.,2018)",
"与传统的自举方法E(Albertietal,2019:Ze",
"",
"在神经信息检索方面取得了显着进展,该范式",
"likmanetal.,2022)相比,其中训练有素的模型",
"通过分解模型以使查询和段落的编码分离,从",
"本身用于发现后续训练送代的其他解决方案",
"而可以有效地搜索大量段落,并使用点积计算",
"我们的方法将一个模型(i.e.,老师)视为训练",
"查询-段落相似性。然而,训练双编码器的效率",
"数据生成器,以监督另一个模型(i.e.,学生),",
"在很大程度上依赖于标记数据的质量,这些模",
"并且在接下来的每个步骤中都会切换其作为老",
"型很难在专用训练数据稀缺的检索任务上保持",
"师和学生的角色。这种机制自然会创建一个相",
"竞争力(Thakuretal.,2021)",
"互学习的范例,以实现检索器和重新排序器之",
"已经提出了各种方法来增强零拍设置中的",
"间的迭代双向知识流,与典型的单步和单向蒸",
"密集检索器E(Karpukhinetal.2020),同时保",
"馏相反,学生从固定的老师那里学习E(Miech",
"持因式分解的双编码器结构,例如网络规模",
"etal.,2021)。通过对各种数据集进行广泛的实",
"语料库E(Izacardetal.,2022)上的预训练模型",
"验,我们观察到ABEL仅通过使用基本的BM25",
"模型作为启动就在零拍设置中表现出出色的",
"* Now at Google DeepMind",
"ISource code is available at https://github.com/",
"性能。此外,我们的方法中涉及的检索器和重",
"Fantabulous-J/BootSwitch",
"新排序器组件都可以通过引导学习过程逐步增"
] |
{
"arxiv_id": "2311.15564",
"language": "zh",
"page_idx": 1
}
|
||
2311.15564-zh-2
|
2311.15564-zh-2.jpg
|
索器,并实现了最先进的性能。同时,ABEL 在训练过程中非常有效,它只使用原始文本中的句子作为查询,而不是从大型语言模型中生成查询。使用简单的双编码器架构进一步有助于其高效运行。总之,我们的贡献是:
1. We propose an iterative approach to bootstrap
the ability of a dense retriever and a reranker
without relying on manually-created data.
2. The empirical results on the BEIR benchmark
show that the unsupervised ABEL outperforms a variety of prominent sparse and supervised dense retrievers. After fine-tuning ABEL using supervised data or integrating it with off-theshelf supervised dense retrievers, our model achieves new state-of-the-art performance.
3. When applying ABEL on tasks that are unseen
in training, we observe it demonstrates remarkable generalisation capabilities in comparison to other more sophisticated unsupervised dense retrieval methods.
4. To the best of our knowledge, we are the
first to show the results that both dense retriever and cross-encoder reranker can be mutually improved in a closed-form learning loop, without the need for human-annotated labels.
# 2 $\textbf{Preliminary}$
给定一个简短的文本作为查询,段落检索任务旨在检索一组包含必要信息的段落。从作为语料库的段落集合$\mathcal{P}=\{p_1,p_2,\cdots,p_n\}$中,检索器$\mathcal{D}$从$\mathcal{P}$中获取与特定查询$q$最相关的顶部$k$段落$\mathcal{P}_{\mathcal{D}}^k(q)=\{p_1,p_2,\cdots,p_k\}$ 。可选地, 还采用重新排名器$\bar{\mathcal{R}}$来细化这些检索到的段落的相关性得分
## 2.1 Dense Retrieval Model
密集检索模型(检索器)使用双编码器架构将查询和通道编码为密集向量 (Karpukhin et al., 2020)。分别应用两个不同的编码器来转换查询和段落,然后通过点积
$$\mathcal{D}(q,p;\theta)=\boldsymbol{E}(q;\theta_q)^\top\cdot\boldsymbol{E}(p;\theta_p),$$
(1)
计算相关性得分,其中$\boldsymbol E(\cdot;\theta)$是由$\theta_p$为段落和$\theta_q$为查询参数化的编码器。在我们的初步研究中,非对称双编码器比共享编码器架构更好。为了提高效率,$\mathcal{P}$中的所有段落都是离线编码的,并且采用了有效的最近邻搜索(Johnson et al., 2021) 来获取顶部$k$相关段落
## 强,融合模型的性能优于十多个突出的监督检 2.2 Reranking Model
重新排名模型 (ranker)采用了跨编码器架构, 该架构通过将查询和段落与交叉注意力联合编码来计算查询和段落之间的相关性得分。联合编码机制在部署用于大规模检索应用程序时非常昂贵。在实践中,联合编码模型通常用作重新排名器,以细化检索器对结果的相关性得分。重新排序器的相关性分数被形式化为
$$\mathcal{R}(q,p;\phi)=\mathrm{FFN}(\boldsymbol{E}(q,p;\phi)),$$
(2)
,其中$E(\cdot,\cdot;\phi)$ 是由 $\phi$ 参数化的预训练语言模型。在这项工作中,我们采用 T5(EncT5)$\boxed{\mathrm{E}}$ (Liu et al., 2021) 的编码器作为$E$ 。序列起始令牌被附加到每个序列,其嵌人被馈送到随机初始化的单层前馈网络 (FFN) 以计算相关性分数
### 3 Alternating Distillation
我们提出了一种无监督的交替蒸馏方法,该方法可以迭代地提高回收器和再循环器的能力,如图 3 所示。1 。阿尔格。1 用三个主要步骤概述了所提出的方法。我们的方法从模仿 BM25 来预热猎犬开始。随后,进行了由两个步骤组成的递归学习范例:(1)基于最后一次迭代从检索器提取的标签来训练重新排序器;(2) 使用最后一步从重新排序器得出的训练信号来细化密集检索器
# 3.1 Retriever Warm-up
训练从原始文本构建查询(第1行)开始,并通过模仿无监督的 BM25 模型来训练热身密集检索器 $\mathcal{D} _\theta ^0$ (第 3-5 行)
Query Construction 我们使用句子拆分器将所有段落分成多个句子,然后我们将这些句子视为裁剪句子查询(Chen et al.,2022)。与从微调的查询生成器$\overline{\mathrm{E}}($Wang et al.,2022) 或大型语言模型$\overline{\mathbb{E}}($Dai et al., 2023) 合成的查询相比裁剪句子查询 i)可以廉价地扩展,而无需依赖监督数据或语言模型,并且 ii) 已在预训练密集检索器中显示出有效性$\overline{\mathrm{E}}($Gao and Callan, 2022; Izacard et al., 2022)
Training Data Initialisation 我们的无监督方法的第一个挑战是如何为每个裁剪句子查询提取有效的监督信号以启动训练。BM25 (Robertson and Zaragoza, 2009) 是一个无监督的稀疏检索模型,它在低资源和域外设置中表现出了出色的性能 (Thakur et al.,2021)。具体来说,对于给定的查询$q\in\mathcal{Q}$ ,我们使用 BM25 检索顶部$k$预测$\mathcal{P}_\text{BM25}^k(q)$,其中排名最高的$k^+\in\mathbb{Z}^+$ 段落被视为正$\mathcal{P} ^+ ( q)$ ,而底部$k^-\in\mathbb{Z}^+$段落被视为硬阴性 $\mathcal{P}^-(q)$, 在$\overline{\mathrm{E}}$Chen et al.(2022)
|
[
[
0.12005615234375,
0.0885009765625,
0.486083984375,
0.0885009765625,
0.486083984375,
0.09857177734375,
0.12005615234375,
0.09857177734375
],
[
0.5087890625,
0.0872802734375,
0.69775390625,
0.0872802734375,
0.69775390625,
0.1009521484375,
0.5087890625,
0.1009521484375
],
[
0.118408203125,
0.10272216796875,
0.486083984375,
0.10272216796875,
0.486083984375,
0.11639404296875,
0.118408203125,
0.11639404296875
],
[
0.51318359375,
0.10809326171875,
0.880859375,
0.10809326171875,
0.880859375,
0.1217041015625,
0.51318359375,
0.1217041015625
],
[
0.12005615234375,
0.1181640625,
0.484375,
0.1181640625,
0.484375,
0.1318359375,
0.12005615234375,
0.1318359375
],
[
0.51123046875,
0.12353515625,
0.87890625,
0.12353515625,
0.87890625,
0.13720703125,
0.51123046875,
0.13720703125
],
[
0.12005615234375,
0.1353759765625,
0.486083984375,
0.1353759765625,
0.486083984375,
0.1484375,
0.12005615234375,
0.1484375
],
[
0.51318359375,
0.14013671875,
0.87890625,
0.14013671875,
0.87890625,
0.15087890625,
0.51318359375,
0.15087890625
],
[
0.118408203125,
0.1519775390625,
0.484375,
0.1519775390625,
0.484375,
0.1650390625,
0.118408203125,
0.1650390625
],
[
0.51318359375,
0.1561279296875,
0.8818359375,
0.1561279296875,
0.8818359375,
0.169189453125,
0.51318359375,
0.169189453125
],
[
0.118408203125,
0.16748046875,
0.4013671875,
0.16748046875,
0.4013671875,
0.18115234375,
0.118408203125,
0.18115234375
],
[
0.5146484375,
0.17333984375,
0.880859375,
0.17333984375,
0.880859375,
0.18408203125,
0.5146484375,
0.18408203125
],
[
0.130126953125,
0.182861328125,
0.486083984375,
0.18408203125,
0.486083984375,
0.198974609375,
0.130126953125,
0.19775390625
],
[
0.5146484375,
0.188232421875,
0.880859375,
0.188232421875,
0.880859375,
0.201904296875,
0.5146484375,
0.201904296875
],
[
0.154541015625,
0.20068359375,
0.48779296875,
0.20068359375,
0.48779296875,
0.21435546875,
0.154541015625,
0.21435546875
],
[
0.5146484375,
0.2060546875,
0.8427734375,
0.2060546875,
0.8427734375,
0.2161865234375,
0.5146484375,
0.2161865234375
],
[
0.154541015625,
0.215576171875,
0.45751953125,
0.21728515625,
0.45751953125,
0.23095703125,
0.154541015625,
0.2286376953125
],
[
0.130126953125,
0.232177734375,
0.486083984375,
0.232177734375,
0.486083984375,
0.2452392578125,
0.130126953125,
0.2452392578125
],
[
0.580078125,
0.23095703125,
0.8818359375,
0.23095703125,
0.8818359375,
0.2452392578125,
0.580078125,
0.2452392578125
],
[
0.154541015625,
0.2493896484375,
0.486083984375,
0.2493896484375,
0.486083984375,
0.26318359375,
0.154541015625,
0.26318359375
],
[
0.515625,
0.25830078125,
0.87890625,
0.25830078125,
0.87890625,
0.271484375,
0.515625,
0.271484375
],
[
0.15283203125,
0.265380859375,
0.48779296875,
0.265380859375,
0.48779296875,
0.279052734375,
0.15283203125,
0.279052734375
],
[
0.51318359375,
0.273681640625,
0.8818359375,
0.273681640625,
0.8818359375,
0.287353515625,
0.51318359375,
0.287353515625
],
[
0.15283203125,
0.28076171875,
0.48779296875,
0.28076171875,
0.48779296875,
0.29443359375,
0.15283203125,
0.29443359375
],
[
0.154541015625,
0.295654296875,
0.48779296875,
0.295654296875,
0.48779296875,
0.308837890625,
0.154541015625,
0.308837890625
],
[
0.51123046875,
0.290283203125,
0.880859375,
0.290283203125,
0.880859375,
0.303955078125,
0.51123046875,
0.303955078125
],
[
0.51318359375,
0.305908203125,
0.880859375,
0.305908203125,
0.880859375,
0.319580078125,
0.51318359375,
0.319580078125
],
[
0.154541015625,
0.3134765625,
0.48779296875,
0.3134765625,
0.48779296875,
0.32666015625,
0.154541015625,
0.32666015625
],
[
0.51123046875,
0.32177734375,
0.880859375,
0.32177734375,
0.880859375,
0.3349609375,
0.51123046875,
0.3349609375
],
[
0.15283203125,
0.328857421875,
0.466796875,
0.330078125,
0.466796875,
0.34326171875,
0.15283203125,
0.342529296875
],
[
0.130126953125,
0.345703125,
0.489501953125,
0.345703125,
0.489501953125,
0.35986328125,
0.130126953125,
0.35986328125
],
[
0.5087890625,
0.349853515625,
0.74658203125,
0.349853515625,
0.74658203125,
0.364013671875,
0.5087890625,
0.364013671875
],
[
0.15283203125,
0.3623046875,
0.486083984375,
0.3623046875,
0.486083984375,
0.3759765625,
0.15283203125,
0.3759765625
],
[
0.154541015625,
0.377197265625,
0.489501953125,
0.377197265625,
0.489501953125,
0.39013671875,
0.154541015625,
0.39013671875
],
[
0.51123046875,
0.37353515625,
0.87890625,
0.37353515625,
0.87890625,
0.38720703125,
0.51123046875,
0.38720703125
],
[
0.15283203125,
0.393798828125,
0.489501953125,
0.392578125,
0.489501953125,
0.40673828125,
0.15283203125,
0.407958984375
],
[
0.51318359375,
0.391357421875,
0.880859375,
0.391357421875,
0.880859375,
0.405029296875,
0.51318359375,
0.405029296875
],
[
0.154541015625,
0.4091796875,
0.37451171875,
0.4091796875,
0.37451171875,
0.4228515625,
0.154541015625,
0.4228515625
],
[
0.51318359375,
0.40673828125,
0.87890625,
0.40673828125,
0.87890625,
0.42041015625,
0.51318359375,
0.42041015625
],
[
0.130126953125,
0.42578125,
0.48779296875,
0.42578125,
0.48779296875,
0.439453125,
0.130126953125,
0.439453125
],
[
0.5146484375,
0.424560546875,
0.87890625,
0.424560546875,
0.87890625,
0.435302734375,
0.5146484375,
0.435302734375
],
[
0.1561279296875,
0.443603515625,
0.48779296875,
0.443603515625,
0.48779296875,
0.45361328125,
0.1561279296875,
0.45361328125
],
[
0.51318359375,
0.439453125,
0.880859375,
0.439453125,
0.880859375,
0.453125,
0.51318359375,
0.453125
],
[
0.1561279296875,
0.458984375,
0.48779296875,
0.458984375,
0.48779296875,
0.4697265625,
0.1561279296875,
0.4697265625
],
[
0.509765625,
0.45361328125,
0.880859375,
0.454833984375,
0.880859375,
0.4697265625,
0.509765625,
0.468505859375
],
[
0.15283203125,
0.47265625,
0.486083984375,
0.473876953125,
0.486083984375,
0.488037109375,
0.15283203125,
0.48681640625
],
[
0.5146484375,
0.473876953125,
0.53076171875,
0.473876953125,
0.53076171875,
0.48095703125,
0.5146484375,
0.48095703125
],
[
0.52490234375,
0.47021484375,
0.880859375,
0.47021484375,
0.880859375,
0.48388671875,
0.52490234375,
0.48388671875
],
[
0.151123046875,
0.490478515625,
0.48779296875,
0.490478515625,
0.48779296875,
0.50439453125,
0.151123046875,
0.50439453125
],
[
0.51318359375,
0.48681640625,
0.880859375,
0.48681640625,
0.880859375,
0.50048828125,
0.51318359375,
0.50048828125
],
[
0.151123046875,
0.50439453125,
0.2032470703125,
0.505859375,
0.202392578125,
0.52099609375,
0.1502685546875,
0.5185546875
],
[
0.51318359375,
0.50439453125,
0.71728515625,
0.50439453125,
0.71728515625,
0.51708984375,
0.51318359375,
0.51708984375
],
[
0.51123046875,
0.52783203125,
0.71533203125,
0.52978515625,
0.71533203125,
0.54443359375,
0.51123046875,
0.5419921875
],
[
0.11248779296875,
0.53515625,
0.2568359375,
0.53759765625,
0.2568359375,
0.5517578125,
0.11248779296875,
0.5498046875
],
[
0.5146484375,
0.55029296875,
0.880859375,
0.55029296875,
0.880859375,
0.56396484375,
0.5146484375,
0.56396484375
],
[
0.1175537109375,
0.5634765625,
0.48193359375,
0.5634765625,
0.48193359375,
0.57666015625,
0.1175537109375,
0.57666015625
],
[
0.509765625,
0.5654296875,
0.87890625,
0.5654296875,
0.87890625,
0.5791015625,
0.509765625,
0.5791015625
],
[
0.12176513671875,
0.58203125,
0.486083984375,
0.58203125,
0.486083984375,
0.5927734375,
0.12176513671875,
0.5927734375
],
[
0.51123046875,
0.5830078125,
0.69775390625,
0.5830078125,
0.69775390625,
0.5966796875,
0.51123046875,
0.5966796875
],
[
0.118408203125,
0.5966796875,
0.486083984375,
0.5966796875,
0.486083984375,
0.61083984375,
0.118408203125,
0.61083984375
],
[
0.1175537109375,
0.61083984375,
0.484375,
0.61083984375,
0.484375,
0.62451171875,
0.1175537109375,
0.62451171875
],
[
0.51708984375,
0.60693359375,
0.880859375,
0.60693359375,
0.880859375,
0.62060546875,
0.51708984375,
0.62060546875
],
[
0.118408203125,
0.62890625,
0.484375,
0.62890625,
0.484375,
0.6435546875,
0.118408203125,
0.6435546875
],
[
0.51318359375,
0.62353515625,
0.87744140625,
0.62353515625,
0.87744140625,
0.63427734375,
0.51318359375,
0.63427734375
],
[
0.118408203125,
0.64453125,
0.486083984375,
0.64453125,
0.486083984375,
0.65771484375,
0.118408203125,
0.65771484375
],
[
0.51318359375,
0.6396484375,
0.880859375,
0.6396484375,
0.880859375,
0.65283203125,
0.51318359375,
0.65283203125
],
[
0.51318359375,
0.65478515625,
0.880859375,
0.65478515625,
0.880859375,
0.66845703125,
0.51318359375,
0.66845703125
],
[
0.1175537109375,
0.6611328125,
0.246826171875,
0.6611328125,
0.246826171875,
0.6748046875,
0.1175537109375,
0.6748046875
],
[
0.5146484375,
0.67138671875,
0.8818359375,
0.67138671875,
0.8818359375,
0.68505859375,
0.5146484375,
0.68505859375
],
[
0.1158447265625,
0.6904296875,
0.343505859375,
0.6904296875,
0.343505859375,
0.70361328125,
0.1158447265625,
0.70361328125
],
[
0.51123046875,
0.68603515625,
0.8818359375,
0.68701171875,
0.8818359375,
0.70166015625,
0.51123046875,
0.70068359375
],
[
0.51318359375,
0.70361328125,
0.8818359375,
0.70361328125,
0.8818359375,
0.71728515625,
0.51318359375,
0.71728515625
],
[
0.118408203125,
0.7119140625,
0.484375,
0.7119140625,
0.484375,
0.7255859375,
0.118408203125,
0.7255859375
],
[
0.51318359375,
0.72021484375,
0.87744140625,
0.72021484375,
0.87744140625,
0.73095703125,
0.51318359375,
0.73095703125
],
[
0.118408203125,
0.728515625,
0.48779296875,
0.728515625,
0.48779296875,
0.7421875,
0.118408203125,
0.7421875
],
[
0.51318359375,
0.736328125,
0.7080078125,
0.736328125,
0.7080078125,
0.75,
0.51318359375,
0.75
],
[
0.118408203125,
0.7451171875,
0.486083984375,
0.7451171875,
0.486083984375,
0.7587890625,
0.118408203125,
0.7587890625
],
[
0.118408203125,
0.76123046875,
0.322509765625,
0.76123046875,
0.322509765625,
0.77490234375,
0.118408203125,
0.77490234375
],
[
0.51708984375,
0.76025390625,
0.880859375,
0.76025390625,
0.880859375,
0.77392578125,
0.51708984375,
0.77392578125
],
[
0.51318359375,
0.77685546875,
0.880859375,
0.77685546875,
0.880859375,
0.79052734375,
0.51318359375,
0.79052734375
],
[
0.173828125,
0.79150390625,
0.490234375,
0.79150390625,
0.490234375,
0.80859375,
0.173828125,
0.80859375
],
[
0.51123046875,
0.79150390625,
0.880859375,
0.79150390625,
0.880859375,
0.8046875,
0.51123046875,
0.8046875
],
[
0.486083984375,
0.79736328125,
0.491943359375,
0.79736328125,
0.491943359375,
0.802734375,
0.486083984375,
0.802734375
],
[
0.491943359375,
0.79736328125,
0.49951171875,
0.79736328125,
0.49951171875,
0.802734375,
0.491943359375,
0.802734375
],
[
0.5146484375,
0.80859375,
0.880859375,
0.80859375,
0.880859375,
0.822265625,
0.5146484375,
0.822265625
],
[
0.118408203125,
0.82470703125,
0.486083984375,
0.82373046875,
0.486083984375,
0.83837890625,
0.118408203125,
0.8388671875
],
[
0.51123046875,
0.82470703125,
0.87890625,
0.82470703125,
0.87890625,
0.83837890625,
0.51123046875,
0.83837890625
],
[
0.118408203125,
0.84130859375,
0.486083984375,
0.84130859375,
0.486083984375,
0.85498046875,
0.118408203125,
0.85498046875
],
[
0.51318359375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.12005615234375,
0.859375,
0.484375,
0.859375,
0.484375,
0.869140625,
0.12005615234375,
0.869140625
],
[
0.51123046875,
0.85693359375,
0.87890625,
0.85693359375,
0.87890625,
0.87060546875,
0.51123046875,
0.87060546875
],
[
0.118408203125,
0.87353515625,
0.48779296875,
0.87353515625,
0.48779296875,
0.88720703125,
0.118408203125,
0.88720703125
],
[
0.509765625,
0.87158203125,
0.8818359375,
0.87060546875,
0.8818359375,
0.88818359375,
0.509765625,
0.8896484375
],
[
0.118408203125,
0.8896484375,
0.486083984375,
0.8896484375,
0.486083984375,
0.90283203125,
0.118408203125,
0.90283203125
],
[
0.51318359375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.51318359375,
0.90283203125
],
[
0.12005615234375,
0.90673828125,
0.46337890625,
0.90673828125,
0.46337890625,
0.91748046875,
0.12005615234375,
0.91748046875
],
[
0.51123046875,
0.90478515625,
0.880859375,
0.90380859375,
0.880859375,
0.91845703125,
0.51123046875,
0.91943359375
]
] |
[
"强,融合模型的性能优于十多个突出的监督检",
"2.2Reranking Model",
"索器,并实现了最先进的性能。同时,ABEL在",
"重新排名模型(ranker)采用了跨编码器架构,",
"训练过程中非常有效,它只使用原始文本中的",
"该架构通过将查询和段落与交叉注意力联合",
"句子作为查询,而不是从大型语言模型中生成",
"编码来计算查询和段落之间的相关性得分。联",
"查询。使用简单的双编码器架构进一步有助于",
"合编码机制在部署用于大规模检索应用程序时",
"其高效运行。总之,我们的贡献是:",
"非常昂贵。在实践中,联合编码模型通常用作",
"1. We propose an iterative approach to bootstrap",
"重新排名器,以细化检索器对结果的相关性得",
"the ability of a dense retriever and a reranker",
"分。重新排序器的相关性分数被形式化为",
"without relying on manually-created data",
"2. The empirical results on the BEIR benchmark",
"R(q,p; Φ) =FFN(E(q,p; Φ)), (2)",
"show that the unsupervised ABEL outperforms",
",其中E,;Φ)是由Φ参数化的预训练语言模",
"a variety of prominent sparse and supervised",
"型。在这项工作中,我们采用T5(EncT5)E",
"dense retrievers. After fine-tuning ABEL using",
"supervised data or integrating it with off-the-",
"(Liuetal.,2021)的编码器作为E。序列起始令",
"牌被附加到每个序列,其嵌入被馈送到随机初",
"shelf supervised dense retrievers, our model",
"始化的单层前馈网络(FFN)以计算相关性分数",
"achieves new state-of-the-art performance.",
"3. When applying ABEL on tasks that are unseen",
"3Alternating Distillation",
"in training, we observe it demonstrates re-",
"markable generalisation capabilities in com-",
"我们提出了一种无监督的交替蒸馏方法,该",
"parison to other more sophisticated unsuper-",
"方法可以迭代地提高回收器和再循环器的能",
"vised dense retrieval methods.",
"力,如图3所示。1。阿尔格。1用三个主",
"4. To the best of our knowledge, we are the",
"要步骤概述了所提出的方法。我们的方法从模",
"first to show theresults thatbothdensere-",
"仿BM25来预热猎犬开始。随后,进行了由两",
"trieverandcross-encoderrerankercanbemu-",
"个步骤组成的递归学习范例:(1)基于最后",
"tually improved in a closed-form learning",
"",
"一次代从检索器提取的标签来训练重新排序",
"loop, without the need for human-annotated",
"器;(2)使用最后一步从重新排序器得出的训",
"labels.",
"练信号来细化密集检索器",
"3.1 RetrieverWarm-up",
"2Preliminary",
"训练从原始文本构建查询(第1行)开始,并",
"给定一个简短的文本作为查询,段落检索任务",
"通过模仿无监督的BM25模型来训练热身密集",
"旨在检索一组包含必要信息的段落。从作为语",
"检索器Dg(第3-5行)",
"料库的段落集合P={p1,p2,.·,Pn】中,检",
"索器D从P中获取与特定查询 9最相关的顶",
"QueryConstruction我们使用句子拆分器将",
"部k段落PB(q)=(pi,P2,.,Pk)。可选地",
"所有段落分成多个句子,然后我们将这些句子",
"还采用重新排名器R来细化这些检索到的段",
"视为裁剪句子查询(Chenetal.,2022)。与从",
"微调的查询生成器E(Wangetal.,2022)或大型",
"落的相关性得分",
"语言模型E(Daietal.,2023)合成的查询相比,",
"2.1DenseRetrieval Model",
"裁剪句子查询i)可以廉价地扩展,而无需依",
"赖监督数据或语言模型,并且i)已在预训练",
"密集检索模型(检索器)使用双编码器架构将",
"密集检索器中显示出有效性F(GaoandCallan",
"查询和通道编码为密集向量(Karpukhinetal.,",
"2022; Izacard et al., 2022)",
"2020)。分别应用两个不同的编码器来转换查",
"询和段落,然后通过点积",
"TrainingDataInitialisation我们的无监督方",
"法的第一个挑战是如何为每个裁剪句子查询提",
"D(q,p; 0) =E(g;a)T.E(p; p),(1)",
"取有效的监督信号以启动训练。BM25(Robert-",
"0",
"",
"sonandZaragoza,2009)是一个无监督的稀疏检",
"计算相关性得分,其中E(;の)是由p为段落",
"索模型,它在低资源和域外设置中表现出了出",
"和g为查询参数化的编码器。在我们的初步",
"色的性能(Thakuretal.,2021)。具体来说,对",
"研究中,非对称双编码器比共享编码器架构",
"于给定的查询qEQ,我们使用BM25检索顶",
"更好。为了提高效率,P中的所有段落都是",
"部k预测PBM25(q),其中排名最高的k+EZ+",
"离线编码的,并且采用了有效的最近邻搜索",
"段落被视为正P+(),而底部k-EZ+段落",
"Johnsonetal.2021)来获取顶部k相关段落",
"被视为硬阴性P-(q),在EChenetal.(2022)"
] |
{
"arxiv_id": "2311.15564",
"language": "zh",
"page_idx": 2
}
|
||
2311.15564-zh-4
|
2311.15564-zh-4.jpg
|
名器的分布。我们的初步实验表明,在重新排序器的输入中添加噪声( e.g.,字删除)可以进一步增强性能。有关更多详细信息,请参见附录 B 中的表 4
# 3.3.2 Retriever Training
对于每个查询 $q$ ,我们分别从 $\mathcal{P}^+(q)$ (等式$\mathbb{E}$ ??)和$\mathcal{P}^-(q)$(等式$\mathbb{E}??$)中随机抽取一个正$p^+$和一个硬负$p^-$。在实践中,我们使用批内底片 (Karpukhin et al., 2020) 进行高效训练。通过使用对比学习 (CL)$\overline{\mathrm{E}}($Hadsell et al.,2006)
$$\mathcal{L}_{\mathrm{CL}}=-\log\frac{\exp(s(q_i,p_i^+;\theta))}{\sum_{j=1}^{|\mathcal{B}|}\sum_{p\in\{p_j^+,p_j^-\}}\exp(s(q_i,p;\theta))}.$$
最小化正通道的负对数似然来训练密集检索器$\mathcal{D}_\theta$ ,其中$|\mathcal{B}|$是批次$\mathcal{B}$的大小。同样,我们发现在训练期间将噪声注人到检索器的输入中会提高性能,如附录 B 中的表 4 所示。我们认为,可以将查询和段落中的单词操作视为一种平滑方法,以促进对通用匹配信号$\overline{\mathrm{E}}($He et al., 2020) 的学习 , 因此 , 可以防止检索者简单地回复检查裁剪句子查询和段落之间的文本重叠。此外,添加噪声会调整文本的语义,这鼓励密集的检索器除了语义相似性之外,还基于词汇重叠来获取匹配模式
# 3.4 Discussion
我们方法的新颖之处在于两个方面:i) 我们为训练标签细化引人了单独的重新排名器模型。这使寻回者训练可以从高级重新排名器中受益,该排名器具有更复杂的交叉编码体系结构。与在从自己的预测中提取的标签上训练检索器相比,此设计是有效的(请参见图E5(a) 中的蓝线); ii) 我们通过迭代交替蒸馏创建了相互学习的范例。在我们的例子中,我们将检索器视为提案分布生成器,它选择相对较好的候选人,将重新排名器视为奖励评分模型, 它将示例的质量衡量为一个好的答案。在每次迭代中,改进的重新排序器可用于纠正检索器的预测,从而减少检索器训练数据中不准确标签的数量。同时,改进的检索器更有可能在其 top- $k$预测中包含更多相关的段落,并提供更细微的软标签,这可以增强重新排名器的训练,从而增加重新排名器在下一次迭代中找到正确标签的机会。随着训练的继续,(1)正确答案的候选人可以通过检索器缩小 (i.e.,更好 粒度令牌交互 (ColBERTv2),使用稀疏表示
的建议分布),如图。$\overline{\mathbb{E}}$4 和(2)可以通过重新
,其中$\mathcal{P}_q$是检索到的有关查询$q$的段落集,这 排名器提高从此类集合中找到正确答案的准确些段落是从$\mathcal{P}_{D_\theta^{t-1}(q)\text{ 采样的。}T(\cdot|q,\mathcal{P}_q,\theta)\text{ 和 性,如图。2(b)。总的来说,我们的框架(i.e.,})}$ $S(\cdot|q,\mathcal{P}_q,\phi)$分别是教师检索器和学生重新排 ABEL )促进了两个组件的协同进步,最终提高
了检索系统的整体效率。
### 4 $\textbf{Experiments}$
## 4.1 Dataset
我们的方法是在 BEIR 基准$\overline{\mathrm{E}}$(Thakur et al., 2021)上进行评估的,该基准包含 Wikipedia 和生物医学等多个领域的 18 个数据集,并具有包括问题回答,事实验证和释义检索在内的多种任务格式。我们使用 nDCG@10 (Järvelin and Kekäläinen, 2002) 作为我们的主要指标,所有 18 个数据集的 nDCG@ 10 平均得分用于模型之间的综合比较。BEIR-13$\overline{\mathrm{E}}($Formal et al., 2021)和 PTR-11$\boxed{\mathrm{F}}($Dai et al., 2023) 是任务的两个子集,其中 BEIR-13 从平均得分的计算中排除了 CQADupStack, Robust04, Signal-1M, TREC-NEWS 和 BioASQ, 而 PTR-11 进一步删除了 NQ 和 Quora。我们还将数据集划分为查询搜索(e.g.,自然问题)和语义相关性(e.g., 验证)任务,根据$\mathrm E^{|}$Santhanam et al.(2022),
### 4.2 $\textbf{Experimental Settings}$
我们使用 Contriever 初始化密集检索器。BEIR 中所有任务的段落都被分块为裁剪句子查询,在该查询上训练单个检索器 ABEL。我们从 t5-base-lm-adapt (Raffel et al.,2020)初始化重排序器,并以类似的方式训练单个重排序器 ABEL-Rerank。我们进行三次迭代的交替蒸馏循环,并观察到回收器和再排名器的性能都收敛,我们在迭代 2 中采用 ABEL ,在迭代 3中采用 ABEL-Rerank 进行评估和模型比较。我们按照 Izacard et al.(2022) 中概述的相同训练配方,在 MS-MARCO (Bajaj et al.,2016)上进一步微调 ABEL ,以获得 ABEL-FT 。此外,我们还在训练期间看不见的各种数据集上评估ABEL 和 ABEL-Rerank, 以测试泛化能力。更多细节见附录 A 。
### 4.3 Experimental Results
Retriever Results 我们的模型的无监督和监督版本都与表$\overline{\mathbb{E}}$1 中的一系列相应基线模型进行了比较。无监督 ABEL 优于各种领先的密集模型,包括由 MS-MARCO 训练查询监督的模型。监督模型 ABEL-FT 实现了 1。0% 的整体性能优于 ABEL 。ABEL-FT 还超越了使用目标语料库进行预训练(COCO-DR),采用细(SPLADE++),更大尺寸(GTR-XXL)以及使
|
[
[
0.1275634765625,
0.0872802734375,
0.489501953125,
0.0872802734375,
0.489501953125,
0.1009521484375,
0.1275634765625,
0.1009521484375
],
[
0.486083984375,
0.0914306640625,
0.496337890625,
0.0914306640625,
0.496337890625,
0.0955810546875,
0.486083984375,
0.0955810546875
],
[
0.5087890625,
0.08612060546875,
0.87890625,
0.0872802734375,
0.87890625,
0.1009521484375,
0.5087890625,
0.09979248046875
],
[
0.1158447265625,
0.09979248046875,
0.489501953125,
0.1015625,
0.489501953125,
0.119384765625,
0.1158447265625,
0.1175537109375
],
[
0.51123046875,
0.10272216796875,
0.87744140625,
0.10272216796875,
0.87744140625,
0.11639404296875,
0.51123046875,
0.11639404296875
],
[
0.1175537109375,
0.12353515625,
0.489501953125,
0.122314453125,
0.489501953125,
0.13720703125,
0.1175537109375,
0.1383056640625
],
[
0.51318359375,
0.12054443359375,
0.87744140625,
0.12054443359375,
0.87744140625,
0.1312255859375,
0.51318359375,
0.1312255859375
],
[
0.118408203125,
0.14013671875,
0.48779296875,
0.14013671875,
0.48779296875,
0.15380859375,
0.118408203125,
0.15380859375
],
[
0.51318359375,
0.1353759765625,
0.7060546875,
0.1353759765625,
0.7060546875,
0.1484375,
0.51318359375,
0.1484375
],
[
0.118408203125,
0.1561279296875,
0.486083984375,
0.1561279296875,
0.486083984375,
0.17041015625,
0.118408203125,
0.17041015625
],
[
0.118408203125,
0.17041015625,
0.48779296875,
0.171630859375,
0.48779296875,
0.1859130859375,
0.118408203125,
0.185302734375
],
[
0.50537109375,
0.1650390625,
0.66015625,
0.166259765625,
0.66015625,
0.18115234375,
0.50537109375,
0.179931640625
],
[
0.12005615234375,
0.189453125,
0.2392578125,
0.189453125,
0.2392578125,
0.1995849609375,
0.12005615234375,
0.1995849609375
],
[
0.51123046875,
0.19482421875,
0.62060546875,
0.19482421875,
0.62060546875,
0.208984375,
0.51123046875,
0.208984375
],
[
0.1158447265625,
0.21142578125,
0.32568359375,
0.213134765625,
0.32568359375,
0.22802734375,
0.1158447265625,
0.2257080078125
],
[
0.51123046875,
0.218505859375,
0.87890625,
0.218505859375,
0.87890625,
0.232177734375,
0.51123046875,
0.232177734375
],
[
0.118408203125,
0.232177734375,
0.486083984375,
0.232177734375,
0.486083984375,
0.2452392578125,
0.118408203125,
0.2452392578125
],
[
0.51123046875,
0.2340087890625,
0.880859375,
0.2340087890625,
0.880859375,
0.2476806640625,
0.51123046875,
0.2476806640625
],
[
0.118408203125,
0.2476806640625,
0.48779296875,
0.2476806640625,
0.48779296875,
0.26123046875,
0.118408203125,
0.26123046875
],
[
0.5146484375,
0.251708984375,
0.87744140625,
0.251708984375,
0.87744140625,
0.262451171875,
0.5146484375,
0.262451171875
],
[
0.118408203125,
0.26416015625,
0.489501953125,
0.26416015625,
0.489501953125,
0.27783203125,
0.118408203125,
0.27783203125
],
[
0.51123046875,
0.2666015625,
0.87890625,
0.2666015625,
0.87890625,
0.27978515625,
0.51123046875,
0.27978515625
],
[
0.118408203125,
0.27978515625,
0.489501953125,
0.27978515625,
0.489501953125,
0.29345703125,
0.118408203125,
0.29345703125
],
[
0.51318359375,
0.283203125,
0.880859375,
0.283203125,
0.880859375,
0.29638671875,
0.51318359375,
0.29638671875
],
[
0.1175537109375,
0.29443359375,
0.486083984375,
0.29443359375,
0.486083984375,
0.30810546875,
0.1175537109375,
0.30810546875
],
[
0.51318359375,
0.298583984375,
0.880859375,
0.298583984375,
0.880859375,
0.312255859375,
0.51318359375,
0.312255859375
],
[
0.1175537109375,
0.319580078125,
0.1292724609375,
0.319580078125,
0.1292724609375,
0.328857421875,
0.1175537109375,
0.328857421875
],
[
0.51318359375,
0.3154296875,
0.87744140625,
0.3154296875,
0.87744140625,
0.325927734375,
0.51318359375,
0.325927734375
],
[
0.1099853515625,
0.3349609375,
0.489501953125,
0.352783203125,
0.484375,
0.396728515625,
0.10498046875,
0.37890625
],
[
0.51318359375,
0.330810546875,
0.880859375,
0.330810546875,
0.880859375,
0.344482421875,
0.51318359375,
0.344482421875
],
[
0.285400390625,
0.33837890625,
0.41064453125,
0.33837890625,
0.41064453125,
0.352783203125,
0.285400390625,
0.352783203125
],
[
0.51123046875,
0.3466796875,
0.880859375,
0.3466796875,
0.880859375,
0.35986328125,
0.51123046875,
0.35986328125
],
[
0.51318359375,
0.3623046875,
0.87890625,
0.3623046875,
0.87890625,
0.377197265625,
0.51318359375,
0.377197265625
],
[
0.51123046875,
0.377685546875,
0.87890625,
0.377685546875,
0.87890625,
0.391357421875,
0.51123046875,
0.391357421875
],
[
0.118408203125,
0.391357421875,
0.486083984375,
0.391357421875,
0.486083984375,
0.405029296875,
0.118408203125,
0.405029296875
],
[
0.51123046875,
0.394287109375,
0.880859375,
0.394287109375,
0.880859375,
0.407958984375,
0.51123046875,
0.407958984375
],
[
0.118408203125,
0.4091796875,
0.483642578125,
0.4091796875,
0.483642578125,
0.419189453125,
0.118408203125,
0.419189453125
],
[
0.51318359375,
0.410888671875,
0.880859375,
0.410888671875,
0.880859375,
0.424560546875,
0.51318359375,
0.424560546875
],
[
0.118408203125,
0.42333984375,
0.484375,
0.42333984375,
0.484375,
0.43701171875,
0.118408203125,
0.43701171875
],
[
0.51123046875,
0.42578125,
0.87890625,
0.427490234375,
0.87890625,
0.4423828125,
0.51123046875,
0.440673828125
],
[
0.118408203125,
0.439453125,
0.484375,
0.439453125,
0.484375,
0.453125,
0.118408203125,
0.453125
],
[
0.51123046875,
0.4423828125,
0.8671875,
0.443603515625,
0.8671875,
0.457763671875,
0.51123046875,
0.457275390625
],
[
0.118408203125,
0.4560546875,
0.48779296875,
0.4560546875,
0.48779296875,
0.4697265625,
0.118408203125,
0.4697265625
],
[
0.118408203125,
0.471435546875,
0.48779296875,
0.471435546875,
0.48779296875,
0.485107421875,
0.118408203125,
0.485107421875
],
[
0.51318359375,
0.474365234375,
0.5615234375,
0.474365234375,
0.5615234375,
0.486328125,
0.51318359375,
0.486328125
],
[
0.5556640625,
0.474365234375,
0.73291015625,
0.474365234375,
0.73291015625,
0.488037109375,
0.5556640625,
0.488037109375
],
[
0.1175537109375,
0.48681640625,
0.484375,
0.48681640625,
0.484375,
0.50048828125,
0.1175537109375,
0.50048828125
],
[
0.51123046875,
0.495361328125,
0.880859375,
0.496337890625,
0.880859375,
0.51123046875,
0.51123046875,
0.51025390625
],
[
0.12005615234375,
0.50439453125,
0.484375,
0.50439453125,
0.484375,
0.51708984375,
0.12005615234375,
0.51708984375
],
[
0.51123046875,
0.51318359375,
0.87890625,
0.51318359375,
0.87890625,
0.52685546875,
0.51123046875,
0.52685546875
],
[
0.118408203125,
0.52099609375,
0.484375,
0.52099609375,
0.484375,
0.53369140625,
0.118408203125,
0.53369140625
],
[
0.5146484375,
0.529296875,
0.8818359375,
0.529296875,
0.8818359375,
0.5419921875,
0.5146484375,
0.5419921875
],
[
0.1175537109375,
0.53515625,
0.486083984375,
0.53515625,
0.486083984375,
0.548828125,
0.1175537109375,
0.548828125
],
[
0.1175537109375,
0.55029296875,
0.28369140625,
0.5517578125,
0.28369140625,
0.56640625,
0.1175537109375,
0.5654296875
],
[
0.5146484375,
0.5458984375,
0.880859375,
0.5458984375,
0.880859375,
0.55859375,
0.5146484375,
0.55859375
],
[
0.515625,
0.5634765625,
0.87890625,
0.5634765625,
0.87890625,
0.57373046875,
0.515625,
0.57373046875
],
[
0.11419677734375,
0.57666015625,
0.2476806640625,
0.57763671875,
0.2476806640625,
0.5927734375,
0.11419677734375,
0.59130859375
],
[
0.51123046875,
0.57666015625,
0.87890625,
0.57666015625,
0.87890625,
0.59033203125,
0.51123046875,
0.59033203125
],
[
0.118408203125,
0.599609375,
0.48779296875,
0.599609375,
0.48779296875,
0.61328125,
0.118408203125,
0.61328125
],
[
0.51318359375,
0.595703125,
0.87890625,
0.595703125,
0.87890625,
0.60546875,
0.51318359375,
0.60546875
],
[
0.118408203125,
0.615234375,
0.489501953125,
0.615234375,
0.489501953125,
0.62890625,
0.118408203125,
0.62890625
],
[
0.51123046875,
0.60986328125,
0.880859375,
0.60986328125,
0.880859375,
0.62353515625,
0.51123046875,
0.62353515625
],
[
0.1175537109375,
0.6298828125,
0.486083984375,
0.63134765625,
0.486083984375,
0.64453125,
0.1175537109375,
0.6435546875
],
[
0.51123046875,
0.62451171875,
0.880859375,
0.6259765625,
0.880859375,
0.64013671875,
0.51123046875,
0.6396484375
],
[
0.1175537109375,
0.646484375,
0.486083984375,
0.646484375,
0.486083984375,
0.66015625,
0.1175537109375,
0.66015625
],
[
0.51318359375,
0.642578125,
0.880859375,
0.642578125,
0.880859375,
0.65625,
0.51318359375,
0.65625
],
[
0.51123046875,
0.65673828125,
0.87890625,
0.65673828125,
0.87890625,
0.67041015625,
0.51123046875,
0.67041015625
],
[
0.118408203125,
0.66455078125,
0.48779296875,
0.66455078125,
0.48779296875,
0.677734375,
0.118408203125,
0.677734375
],
[
0.118408203125,
0.6796875,
0.486083984375,
0.6796875,
0.486083984375,
0.693359375,
0.118408203125,
0.693359375
],
[
0.5263671875,
0.6748046875,
0.880859375,
0.6748046875,
0.880859375,
0.6884765625,
0.5263671875,
0.6884765625
],
[
0.51318359375,
0.6904296875,
0.880859375,
0.6904296875,
0.880859375,
0.70361328125,
0.51318359375,
0.70361328125
],
[
0.12176513671875,
0.69775390625,
0.484375,
0.69775390625,
0.484375,
0.7080078125,
0.12176513671875,
0.7080078125
],
[
0.509765625,
0.705078125,
0.880859375,
0.7060546875,
0.880859375,
0.7197265625,
0.509765625,
0.71875
],
[
0.12005615234375,
0.7119140625,
0.484375,
0.7119140625,
0.484375,
0.7255859375,
0.12005615234375,
0.7255859375
],
[
0.118408203125,
0.72802734375,
0.484375,
0.72802734375,
0.484375,
0.7412109375,
0.118408203125,
0.7412109375
],
[
0.51123046875,
0.72265625,
0.64208984375,
0.72265625,
0.64208984375,
0.736328125,
0.51123046875,
0.736328125
],
[
0.118408203125,
0.74462890625,
0.484375,
0.74462890625,
0.484375,
0.75830078125,
0.118408203125,
0.75830078125
],
[
0.51123046875,
0.7529296875,
0.72900390625,
0.7529296875,
0.72900390625,
0.7666015625,
0.51123046875,
0.7666015625
],
[
0.118408203125,
0.76025390625,
0.486083984375,
0.76025390625,
0.486083984375,
0.77392578125,
0.118408203125,
0.77392578125
],
[
0.1175537109375,
0.775390625,
0.484375,
0.775390625,
0.484375,
0.7890625,
0.1175537109375,
0.7890625
],
[
0.515625,
0.77490234375,
0.880859375,
0.775390625,
0.880859375,
0.79052734375,
0.515625,
0.7890625
],
[
0.118408203125,
0.79345703125,
0.483642578125,
0.79345703125,
0.483642578125,
0.80419921875,
0.118408203125,
0.80419921875
],
[
0.51318359375,
0.7919921875,
0.880859375,
0.7919921875,
0.880859375,
0.8056640625,
0.51318359375,
0.8056640625
],
[
0.118408203125,
0.81005859375,
0.484375,
0.81005859375,
0.484375,
0.82080078125,
0.118408203125,
0.82080078125
],
[
0.51318359375,
0.80810546875,
0.880859375,
0.80810546875,
0.880859375,
0.82177734375,
0.51318359375,
0.82177734375
],
[
0.118408203125,
0.82666015625,
0.484375,
0.82666015625,
0.484375,
0.83740234375,
0.118408203125,
0.83740234375
],
[
0.51318359375,
0.82470703125,
0.87890625,
0.82470703125,
0.87890625,
0.83837890625,
0.51318359375,
0.83837890625
],
[
0.12005615234375,
0.84130859375,
0.486083984375,
0.84130859375,
0.486083984375,
0.85498046875,
0.12005615234375,
0.85498046875
],
[
0.51318359375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.118408203125,
0.85693359375,
0.484375,
0.85693359375,
0.484375,
0.87060546875,
0.118408203125,
0.87060546875
],
[
0.51318359375,
0.85693359375,
0.87890625,
0.85693359375,
0.87890625,
0.87060546875,
0.51318359375,
0.87060546875
],
[
0.12005615234375,
0.87451171875,
0.484375,
0.87451171875,
0.484375,
0.88525390625,
0.12005615234375,
0.88525390625
],
[
0.509765625,
0.87158203125,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.509765625,
0.8857421875
],
[
0.12005615234375,
0.8896484375,
0.48779296875,
0.8896484375,
0.48779296875,
0.90283203125,
0.12005615234375,
0.90283203125
],
[
0.51123046875,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.51123046875,
0.90283203125
],
[
0.1175537109375,
0.90478515625,
0.486083984375,
0.90478515625,
0.486083984375,
0.91845703125,
0.1175537109375,
0.91845703125
],
[
0.51123046875,
0.90478515625,
0.8818359375,
0.90478515625,
0.8818359375,
0.91845703125,
0.51123046875,
0.91845703125
]
] |
[
"其中Pg是检索到的有关查询q的段落集,这",
"",
"排名器提高从此类集合中找到正确答案的准确",
"些段落是从Pbt-1(q)采样的。T(lq,Pa,)和",
"性,如图。2(b)。总的来说,我们的框架(i.e.",
"S(lq,Pq,Φ)分别是教师检索器和学生重新排",
"ABEL)促进了两个组件的协同进步,最终提高",
"名器的分布。我们的初步实验表明,在重新排",
"了检索系统的整体效率。",
"序器的输人中添加噪声(e.g,字删除)可以进",
"一步增强性能。有关更多详细信息,请参见附",
"4Experiments",
"录B中的表4",
"4.1 Dataset",
"3.3.2Retriever Training",
"我们的方法是在BEIR基准E(Thakur et al.",
"对于每个查询q,我们分别从P+()(等式E",
"2021)上进行评估的,该基准包含Wikipedia",
"??)和P-(q)(等式E??)中随机抽取一个",
"和生物医学等多个领域的18个数据集,并具",
"正p+和一个硬负p-。在实践中,我们使用批",
"有包括问题回答,事实验证和释义检索在内的",
"内底片(Karpukhinetal,2020)进行高效训练。",
"多种任务格式。我们使用nDCG@10(Jarvelin",
"通过使用对比学习(CL)E(Hadselletal.,2006)",
"andKekalainen,2002)作为我们的主要指标,所",
"2",
"有18个数据集的nDCG@10平均得分用于模",
"Le -o)ep()",
"型之间的综合比较。BEIR-13E(Formaletal.,",
"exp(s(qi, pt; 0))",
"2021)和PTR-11E(Daietal.,2023)是任务的两",
"个子集,其中BEIR-13从平均得分的计算中",
"排除了CQADupStack,Robust04,Signal-1M",
"最小化正通道的负对数似然来训练密集检索器",
"TREC-NEWS和BioASQ,而PTR-11进一步删",
"De,其中B是批次B的大小。同样,我们发",
"除了NQ和Quora。我们还将数据集划分为查",
"现在训练期间将噪声注人到检索器的输入中会",
"询搜索(e.g.,自然问题)和语义相关性(e.g.",
"提高性能,如附录B中的表4所示。我们认",
"验证)任务,根据ESanthanametal.(2022),",
"为,可以将查询和段落中的单词操作视为一种",
"平滑方法,以促进对通用匹配信号E(Heetal.,",
"4.2",
"Experimental Settings",
"2020)的学习,因此,可以防止检索者简单地回",
"我们使用Contriever初始化密集检索器。",
"复检查裁剪句子查询和段落之间的文本重叠。",
"BEIR中所有任务的段落都被分块为裁剪句",
"此外,添加噪声会调整文本的语义,这鼓励密",
"子查询,在该查询上训练单个检索器ABEL。我",
"集的检索器除了语义相似性之外,还基于词汇",
"重叠来获取匹配模式",
"们从t5-base-1m-adapt(Raffel et al.,2020)初",
"始化重排序器,并以类似的方式训练单个重排",
"3.4Discussion",
"序器ABEL-Rerank。我们进行三次选代的交替",
"我们方法的新颖之处在于两个方面:i)我们",
"蒸留循环,并观察到回收器和再排名器的性能",
"为训练标签细化引人了单独的重新排名器模",
"都收敛,我们在迭代2中采用ABEL,在送代3",
"型。这使寻回者训练可以从高级重新排名器中",
"中采用ABEL-Rerank进行评估和模型比较。我",
"受益,该排名器具有更复杂的交叉编码体系结",
"们按照Izacardetal.(2022)中概述的相同训练",
"配方,在MS-MARCO(Bajajetal,2016)上进",
"构。与在从自己的预测中提取的标签上训练检",
"索器相比,此设计是有效的(请参见图E5(a)",
"步微调ABEL,以获得ABEL-FT。此外,我",
"们还在训练期间看不见的各种数据集上评估",
"中的蓝线);)我们通过迭代交替蒸留创建",
"ABEL和ABEL-Rerank,以测试泛化能力。更多",
"了相互学习的范例。在我们的例子中,我们将",
"检索器视为提案分布生成器,它选择相对较好",
"细节见附录A。",
"的候选人,将重新排名器视为奖励评分模型,",
"4.3ExperimentalResults",
"它将示例的质量衡量为一个好的答案。在每",
"次迭代中,改进的重新排序器可用于纠正检索",
"RetrieverResults我们的模型的无监督和监",
"器的预测,从而减少检索器训练数据中不准确",
"督版本都与表E1中的一系列相应基线模型",
"标签的数量。同时,改进的检索器更有可能在",
"进行了比较。无监督ABEL优于各种领先的密",
"其top-k预测中包含更多相关的段落,并提供",
"集模型,包括由MS-MARCO训练查询监督的",
"更细微的软标签,这可以增强重新排名器的训",
"模型。监督模型ABEL-FT实现了1。0%的整",
"练,从而增加重新排名器在下一次迭代中找到",
"体性能优于ABEL。ABEL-FT还超越了使用目",
"正确标签的机会。随着训练的继续,(1)正确",
"标语料库进行预训练(COCO-DR),采用细",
"答案的候选人可以通过检索器缩小(i.e.,更好",
"粒度令牌交互(ColBERTv2),使用稀疏表示",
"的建议分布),如图。E4和(2)可以通过重新",
"(SPLADE++),更大尺寸(GTR-XXL)以及使"
] |
{
"arxiv_id": "2311.15564",
"language": "zh",
"page_idx": 4
}
|
||
1908.03884-zh-0
|
1908.03884-zh-0.jpg
|
UM-Adapt: Unsupervised Multi-Task Adaptation Using Adversarial Cross-Task
# Distillation
Jogendra Nath Kundu
Nishank Lakkakula
R. Venkatesh Babu
Video Analytics Lab, Indian Institute of Science, Bangalore, India
jogendrak@ iisc. ac. in, nishank974@ gmail. com, venky@ iisc. ac. in
## 1. Introduction
深度网络已被证明在广泛的计算机视觉问题中非常成功。它们不仅在基于分类或识别的任务方面表现出色,而且还为复杂的空间结构预测任务$\mathbb{E}[8]$ 提供了可比的性能改进,例如语义分割,单眼深度估计等。但是, 在将这些模型部署到目标环境中之前,这些模型的通用性是主要问题之一,因为这些模型表现出惊人的数
Abstract
Aiming towards human-level generalization, there is a need to explore adaptable representation learning methods with greater transferability. Most existing approaches independently address task-transferability and cross-domain adaptation, resulting in limited generalization. In this paper, we propose UM-Adapt - a unified framework to effectively perform unsupervised domain adaptation for spatially-structured prediction tasks, simultaneously maintaining a balanced performance across individual tasks in a multi-task set- ${\mathrm{ting.~To~realize~this,~we~propose~two~novel~regulariza-}}$ tion strategies; a) Contour-based content regulariza- $\operatorname{tion}($CCR) and b) exploitation of inter-task coherency using a cross-task distillation module. Furthermore, avoiding a conventional ad-hoc domain discriminator, we re-utilize the cross-task distillation loss as output of an energy function to adversarially minimize the input domain discrepancy. Through extensive experiments, we demonstrate superior generalizability of the learned representations simultaneously for multiple tasks under domain-shifts from synthetic to natural environments. UM-Adapt yields state-of-the-art transfer learning results on ImageNet classification and comparable performance on PASCAL VOC 2007 detection task, even with a smaller backbone-net. Moreover, the result- $\operatorname{ing}$semi-supervised framework outperforms the current fully-supervised multi-task learning state-of-the-art on $\bar{\text{both NYUD and Cityscapes dataset}}.$
<FigureHere>
Figure 1. A schematic diagram to understand the implica-
tions of cross-task distillation. The green arrows show consistency in cross-task transfer for a source sample. Whereas, the red and purple arrows show a discrepancy (yellow arrows) in cross-task transfer for a target sample as a result of input domain-shift. UM-Adapt aims to minimize this discrepancy as a proxy to achieve adaptation at a spatiallystructured common latent representation.
据集或域偏差[4,28] 。为了有效地解决这个问题,研究人员已经开始关注无监督域适应方法[6]。在没有目标注释的完全无监督的设置中,有效的方法之一$\mathbb{E}$ [12,57]是在潜在特征级别上最小化域差异,以便模型提取域不可知和特定于任务的表示。尽管这种方法在基于分类或识别的任务$\mathbb{E}[56]$ 中非常有效,但它们为适应全卷积体系结构提供了次优的性能,这对于空间预测任务$\overline{\mathbb{E}}[62]$ 尤其重要。与矢量化形式$\mathbb{E}[29]$ 相比,在这种情况下遇到的主要问题之一归因于空间结构的高维潜在表示。此外,保持空间规律性,避免模式崩溃E [49]成为一个重大挑战,同时旨在适应完全无监督的环境。
虽然我们的目标是实现人类水平的性能,但仍需要探索可扩展的学习方法,这些方法可以产生通用的图像表示,并提高跨任务和数据域的可传递性。多任务学习$\mathbb{E}[38,24]$ 是该方向的新兴研究领域,其目标是通过在多个互补任务上联合训练模型来实现与任务无关的视觉表示$\mathbb{E}[17,36]$ 。通常,这样的网络很难训练,因为它们需要明确的注意力来平衡每个单独任务的性能。此外,这样的方法只解决最终目标的一个方面(i。e。跨
|
[
[
0.08416748046875,
0.1319580078125,
0.88623046875,
0.1331787109375,
0.88623046875,
0.15087890625,
0.08416748046875,
0.149658203125
],
[
0.42724609375,
0.1558837890625,
0.5439453125,
0.1578369140625,
0.5439453125,
0.17236328125,
0.42724609375,
0.17041015625
],
[
0.1854248046875,
0.2052001953125,
0.37744140625,
0.2052001953125,
0.37744140625,
0.2197265625,
0.1854248046875,
0.2197265625
],
[
0.4150390625,
0.20703125,
0.5849609375,
0.20703125,
0.5849609375,
0.2171630859375,
0.4150390625,
0.2171630859375
],
[
0.62109375,
0.205810546875,
0.78759765625,
0.205810546875,
0.78759765625,
0.2197265625,
0.62109375,
0.2197265625
],
[
0.20751953125,
0.2215576171875,
0.76318359375,
0.2235107421875,
0.76318359375,
0.238037109375,
0.20751953125,
0.236083984375
],
[
0.27685546875,
0.242431640625,
0.69140625,
0.2412109375,
0.69140625,
0.255615234375,
0.27685546875,
0.2568359375
],
[
0.23779296875,
0.292236328125,
0.313720703125,
0.292236328125,
0.313720703125,
0.306884765625,
0.23779296875,
0.306884765625
],
[
0.7890625,
0.292236328125,
0.8505859375,
0.294189453125,
0.8505859375,
0.3017578125,
0.7890625,
0.2998046875
],
[
0.79345703125,
0.3017578125,
0.84716796875,
0.3017578125,
0.84716796875,
0.313232421875,
0.79345703125,
0.313232421875
],
[
0.65185546875,
0.3125,
0.6748046875,
0.3125,
0.6748046875,
0.31640625,
0.65185546875,
0.31640625
],
[
0.52685546875,
0.323974609375,
0.609375,
0.323974609375,
0.609375,
0.330810546875,
0.52685546875,
0.330810546875
],
[
0.65185546875,
0.3193359375,
0.73046875,
0.3193359375,
0.73046875,
0.326904296875,
0.65185546875,
0.326904296875
],
[
0.1004638671875,
0.32568359375,
0.471435546875,
0.32568359375,
0.471435546875,
0.34033203125,
0.1004638671875,
0.34033203125
],
[
0.5458984375,
0.333251953125,
0.5888671875,
0.333251953125,
0.5888671875,
0.343505859375,
0.5458984375,
0.343505859375
],
[
0.080078125,
0.341552734375,
0.468017578125,
0.341552734375,
0.468017578125,
0.354736328125,
0.080078125,
0.354736328125
],
[
0.080078125,
0.35595703125,
0.46728515625,
0.35595703125,
0.46728515625,
0.369384765625,
0.080078125,
0.369384765625
],
[
0.07843017578125,
0.371826171875,
0.468017578125,
0.37060546875,
0.468017578125,
0.385009765625,
0.07843017578125,
0.386474609375
],
[
0.708984375,
0.36865234375,
0.7138671875,
0.37255859375,
0.7099609375,
0.375732421875,
0.705078125,
0.371826171875
],
[
0.86376953125,
0.37890625,
0.869140625,
0.37890625,
0.869140625,
0.385009765625,
0.86376953125,
0.385009765625
],
[
0.080078125,
0.386962890625,
0.468017578125,
0.386962890625,
0.468017578125,
0.40087890625,
0.080078125,
0.40087890625
],
[
0.529296875,
0.39013671875,
0.580078125,
0.39013671875,
0.580078125,
0.397705078125,
0.529296875,
0.397705078125
],
[
0.68115234375,
0.386474609375,
0.69287109375,
0.386474609375,
0.69287109375,
0.395751953125,
0.68115234375,
0.395751953125
],
[
0.54345703125,
0.399658203125,
0.5888671875,
0.399658203125,
0.5888671875,
0.410400390625,
0.54345703125,
0.410400390625
],
[
0.65625,
0.399658203125,
0.71826171875,
0.401611328125,
0.71826171875,
0.416748046875,
0.65625,
0.4140625
],
[
0.080078125,
0.417236328125,
0.468017578125,
0.417236328125,
0.468017578125,
0.43115234375,
0.080078125,
0.43115234375
],
[
0.080078125,
0.401611328125,
0.468017578125,
0.401611328125,
0.468017578125,
0.415283203125,
0.080078125,
0.415283203125
],
[
0.68310546875,
0.423583984375,
0.69287109375,
0.423583984375,
0.69287109375,
0.43115234375,
0.68310546875,
0.43115234375
],
[
0.08251953125,
0.434326171875,
0.465576171875,
0.434326171875,
0.465576171875,
0.4443359375,
0.08251953125,
0.4443359375
],
[
0.080078125,
0.447509765625,
0.4697265625,
0.447509765625,
0.4697265625,
0.4609375,
0.080078125,
0.4609375
],
[
0.78369140625,
0.4443359375,
0.8486328125,
0.4443359375,
0.8486328125,
0.455810546875,
0.78369140625,
0.455810546875
],
[
0.7900390625,
0.455078125,
0.8447265625,
0.455078125,
0.8447265625,
0.46533203125,
0.7900390625,
0.46533203125
],
[
0.08087158203125,
0.464111328125,
0.46728515625,
0.464111328125,
0.46728515625,
0.474853515625,
0.08087158203125,
0.474853515625
],
[
0.50341796875,
0.4697265625,
0.88818359375,
0.4697265625,
0.88818359375,
0.48291015625,
0.50341796875,
0.48291015625
],
[
0.080078125,
0.477783203125,
0.468017578125,
0.477783203125,
0.468017578125,
0.4912109375,
0.080078125,
0.4912109375
],
[
0.50341796875,
0.484130859375,
0.890625,
0.484130859375,
0.890625,
0.49755859375,
0.50341796875,
0.49755859375
],
[
0.080078125,
0.492431640625,
0.468017578125,
0.492431640625,
0.468017578125,
0.505859375,
0.080078125,
0.505859375
],
[
0.50244140625,
0.49755859375,
0.890625,
0.49755859375,
0.890625,
0.51123046875,
0.50244140625,
0.51123046875
],
[
0.08087158203125,
0.5087890625,
0.46728515625,
0.5087890625,
0.46728515625,
0.51953125,
0.08087158203125,
0.51953125
],
[
0.50341796875,
0.51220703125,
0.88623046875,
0.51220703125,
0.88623046875,
0.52587890625,
0.50341796875,
0.52587890625
],
[
0.080078125,
0.52294921875,
0.468017578125,
0.52294921875,
0.468017578125,
0.5361328125,
0.080078125,
0.5361328125
],
[
0.50244140625,
0.52587890625,
0.890625,
0.52587890625,
0.890625,
0.5390625,
0.50244140625,
0.5390625
],
[
0.07843017578125,
0.537109375,
0.468017578125,
0.53857421875,
0.468017578125,
0.5517578125,
0.07843017578125,
0.55029296875
],
[
0.50244140625,
0.5390625,
0.89208984375,
0.5390625,
0.89208984375,
0.55322265625,
0.50244140625,
0.55322265625
],
[
0.08087158203125,
0.55322265625,
0.4697265625,
0.55322265625,
0.4697265625,
0.56640625,
0.08087158203125,
0.56640625
],
[
0.50341796875,
0.5546875,
0.8896484375,
0.5546875,
0.8896484375,
0.56494140625,
0.50341796875,
0.56494140625
],
[
0.08251953125,
0.5693359375,
0.46728515625,
0.5693359375,
0.46728515625,
0.580078125,
0.08251953125,
0.580078125
],
[
0.50244140625,
0.5673828125,
0.779296875,
0.5673828125,
0.779296875,
0.58056640625,
0.50244140625,
0.58056640625
],
[
0.08087158203125,
0.583984375,
0.46728515625,
0.583984375,
0.46728515625,
0.59765625,
0.08087158203125,
0.59765625
],
[
0.07843017578125,
0.59765625,
0.4697265625,
0.5966796875,
0.4697265625,
0.611328125,
0.07843017578125,
0.6123046875
],
[
0.50341796875,
0.5947265625,
0.8896484375,
0.5947265625,
0.8896484375,
0.609375,
0.50341796875,
0.609375
],
[
0.08087158203125,
0.61279296875,
0.4697265625,
0.61279296875,
0.4697265625,
0.626953125,
0.08087158203125,
0.626953125
],
[
0.50341796875,
0.611328125,
0.8896484375,
0.611328125,
0.8896484375,
0.625,
0.50341796875,
0.625
],
[
0.08087158203125,
0.62890625,
0.46728515625,
0.62890625,
0.46728515625,
0.642578125,
0.08087158203125,
0.642578125
],
[
0.50341796875,
0.62548828125,
0.890625,
0.625,
0.890625,
0.6396484375,
0.50341796875,
0.64013671875
],
[
0.08087158203125,
0.642578125,
0.465576171875,
0.642578125,
0.465576171875,
0.65576171875,
0.08087158203125,
0.65576171875
],
[
0.5048828125,
0.6416015625,
0.890625,
0.6416015625,
0.890625,
0.65478515625,
0.5048828125,
0.65478515625
],
[
0.08087158203125,
0.65771484375,
0.468017578125,
0.65771484375,
0.468017578125,
0.671875,
0.08087158203125,
0.671875
],
[
0.50341796875,
0.65576171875,
0.890625,
0.65576171875,
0.890625,
0.66943359375,
0.50341796875,
0.66943359375
],
[
0.080078125,
0.673828125,
0.468017578125,
0.673828125,
0.468017578125,
0.6875,
0.080078125,
0.6875
],
[
0.50341796875,
0.671875,
0.890625,
0.671875,
0.890625,
0.68505859375,
0.50341796875,
0.68505859375
],
[
0.080078125,
0.6875,
0.468017578125,
0.68798828125,
0.468017578125,
0.70263671875,
0.080078125,
0.7021484375
],
[
0.50341796875,
0.68603515625,
0.890625,
0.68603515625,
0.890625,
0.69970703125,
0.50341796875,
0.69970703125
],
[
0.080078125,
0.7041015625,
0.468017578125,
0.7041015625,
0.468017578125,
0.71728515625,
0.080078125,
0.71728515625
],
[
0.5048828125,
0.7021484375,
0.89208984375,
0.7021484375,
0.89208984375,
0.71533203125,
0.5048828125,
0.71533203125
],
[
0.080078125,
0.71826171875,
0.468017578125,
0.71826171875,
0.468017578125,
0.73193359375,
0.080078125,
0.73193359375
],
[
0.5048828125,
0.71728515625,
0.8896484375,
0.71728515625,
0.8896484375,
0.73095703125,
0.5048828125,
0.73095703125
],
[
0.080078125,
0.734375,
0.343017578125,
0.734375,
0.343017578125,
0.74755859375,
0.080078125,
0.74755859375
],
[
0.50341796875,
0.73193359375,
0.890625,
0.73193359375,
0.890625,
0.74560546875,
0.50341796875,
0.74560546875
],
[
0.50634765625,
0.74755859375,
0.89208984375,
0.74755859375,
0.89208984375,
0.76123046875,
0.50634765625,
0.76123046875
],
[
0.50341796875,
0.76220703125,
0.52783203125,
0.76220703125,
0.52783203125,
0.77587890625,
0.50341796875,
0.77587890625
],
[
0.08087158203125,
0.7841796875,
0.21728515625,
0.7841796875,
0.21728515625,
0.79736328125,
0.08087158203125,
0.79736328125
],
[
0.52392578125,
0.7822265625,
0.890625,
0.7822265625,
0.890625,
0.79541015625,
0.52392578125,
0.79541015625
],
[
0.5048828125,
0.796875,
0.8896484375,
0.796875,
0.8896484375,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.101318359375,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.101318359375,
0.82470703125
],
[
0.5048828125,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.5048828125,
0.82470703125
],
[
0.08251953125,
0.8271484375,
0.465576171875,
0.8271484375,
0.465576171875,
0.84033203125,
0.08251953125,
0.84033203125
],
[
0.50341796875,
0.82470703125,
0.890625,
0.82568359375,
0.890625,
0.84033203125,
0.50341796875,
0.8388671875
],
[
0.08251953125,
0.84130859375,
0.46728515625,
0.84130859375,
0.46728515625,
0.85498046875,
0.08251953125,
0.85498046875
],
[
0.5048828125,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.08251953125,
0.85693359375,
0.46728515625,
0.85693359375,
0.46728515625,
0.87060546875,
0.08251953125,
0.87060546875
],
[
0.5048828125,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08087158203125,
0.8720703125,
0.46728515625,
0.8720703125,
0.46728515625,
0.88623046875,
0.08087158203125,
0.88623046875
],
[
0.5048828125,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.5048828125,
0.88525390625
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.89208984375,
0.88720703125,
0.89208984375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"UM-Adapt: Unsupervised Multi-Task Adaptation Using Adversarial Cross-Task",
"Distillation",
"Jogendra Nath Kundu",
"NishankLakkakula",
"R. Venkatesh Babu",
"Video Analytics Lab,Indian Institute of Science,Bangalore, India",
"jogendrak@isc.ac.in,nishank974@gmail.com, venky@iisc.ac.in",
"Abstract",
"Task-1Output",
"Distribution",
"Snatir",
"Svntheticdomai",
"Latent Distribution",
"Aiming towards human-level generalization, there",
"(source",
"is a need to explore adaptable representation learn-",
"ing methods with greater transferability. Most existing",
"approaches independently address task-transferability",
"-",
"?",
"and cross-domain adaptation, resulting in limited gen-",
"Natural do",
"具",
"(Target)",
"UM-Adapt",
"a unified framework to effectively perform unsuper-",
"eralization. In this paper, we propose UM-Adapt -",
"",
"vised domain adaptation for spatially-structured pre-",
"diction tasks, simultaneously maintaining a balanced",
"Task-2Output",
"Distribution",
"performance across individualtasks ina multi-task set-",
"Figure 1. A schematic diagram to understand the implica",
"ting. To realize this, we propose two novel regulariza-",
"tions of cross-task distillation. The green arrows show con-",
"tion strategies; a) Contour-based content regulariza-",
"sistency in cross-task transfer for a source sample. Whereas",
"tion (CCR)andb)exploitationofinter-taskcoherency",
"the red and purple arrows show a discrepancy (yellow ar",
"using a cross-task distillation module. Furthermore,",
"rows) in cross-task transfer for a target sample as a result",
"avoiding a conventional ad-hoc domain discriminator,",
"of input domain-shift. UM-Adapt aims to minimize this",
"we re-utilize the cross-task distillation loss as output of",
"discrepancy as a proxy to achieve adaptation at a spatially-",
"an energyfunction to adversariallyminimizetheinput",
"structured common latent representation.",
"domain discrepancy. Through extensive experiments,",
"we demonstrate superior generalizability of the learned",
"据集或域偏差「4,281。为了有效地解决这个问题,研",
"representations simultaneously for multiple tasks under",
"究人员已经开始关注无监督域适应方法6]。在没有",
"domain-shifts from synthetic to natural environments.",
"目标注释的完全无监督的设置中,有效的方法之一E",
"UM-Adapt yields state-of-the-art transfer learning re-",
"[12,57]是在潜在特征级别上最小化域差异,以便模型",
"sults on ImageNet classification and comparable per-",
"提取域不可知和特定于任务的表示。尽管这种方法在",
"formance on PASCAL VOC 2007 detection task, even",
"基于分类或识别的任务E561中非常有效,但它们为适",
"with a smaller backbone-net.Moreover, the result-",
"应全卷积体系结构提供了次优的性能,这对于空间预",
"ing semi-supervised framework outperforms the current",
"测任务E[62]尤其重要。与失量化形式E[29]相比,在",
"fully-supervised multi-task learning state-of-the-art on",
"这种情况下遇到的主要问题之一归因于空间结构的高",
"both NYUD and Cityscapes dataset.",
"维潜在表示。此外,保持空间规律性,避免模式崩溃E",
"[49]成为一个重大挑战,同时旨在适应完全无监督的环",
"境。",
"1.Introduction",
"虽然我们的目标是实现人类水平的性能,但仍需要",
"探索可扩展的学习方法,这些方法可以产生通用的图",
"深度网络已被证明在广泛的计算机视觉问题中非常",
"像表示,并提高跨任务和数据域的可传递性。多任务学",
"成功。它们不仅在基于分类或识别的任务方面表现出",
"习E[38,241是该方向的新兴研究领域,其目标是通过",
"色,而且还为复杂的空间结构预测任务E81提供了可",
"在多个互补任务上联合训练模型来实现与任务无关的",
"比的性能改进,例如语义分割,单眼深度估计等。但是",
"视觉表示E[17,36]。通常,这样的网络很难训练,因",
"在将这些模型部署到目标环境中之前,这些模型的通",
"为它们需要明确的注意力来平衡每个单独任务的性能。",
"用性是主要问题之一,因为这些模型表现出惊人的数",
"此外,这样的方法只解决最终目标的一个方面(i。e。跨"
] |
{
"arxiv_id": "1908.03884",
"language": "zh",
"page_idx": 0
}
|
||
1908.03884-zh-1
|
1908.03884-zh-1.jpg
|
任务泛化) 忽略跨数据域泛化的另一个重要方面
在本文中,我们专注于空间预测任务的多任务自适应,针对上述特定困难提出了有效的解决方案。为了有效地提供跨任务泛化和输入域移动的最佳性能,我们制定了一个名为 UM-Adapt 的多任务自适应框架。为了在未标记的对抗适应$\mathbb{E}[56]$ 过程中有效地保留空间规律性信息,我们提出了两种新颖的正则化技术。由于输出表示相对于输人图像具有共同的空间结构,因此我们首先介绍了一种新颖的基于轮廓的内容正则化过程。此外,我们正式提出了利用跨任务一致性作为进一步规范多任务适应过程的重要线索的新想法。
考虑在两个不同任务(任务 A 和任务 B) 上训练的基本模型。我们可以使用任务 A 的监督来学习任务 B 的输出表示,反之亦然吗?这种方法是可行的,特别是当所考虑的任务具有一些共同特征时 (i。e。跨任务输出的空间结构一致性)。根据这个推理,我们引人了一个跨任务蒸馏模块(见图 1)。该模块本质上由多个称为任务传输网络的编码器-解码器架构组成,这些网络经过训练,可以从其余任务的组合中获取某个任务的表示形式作为输出,作为输入。这种框架背后的首要动机是有效地平衡所考虑的所有任务的性能,从而避免在培训期间控制较容易的任务。为了直观地了解跨任务蒸馏的有效性,让我们考虑基本模型的特定训练状态,其中任务 A 的性能比任务 B 的性能要好得多。在这里,由于主要的基本任务 A 性能,任务转移网络(经过训练以使用基本模型任务 A 预测作为输人来输出任务 B 表示) 将提高任务 B 的性能。这导致基本任务 B 性能与通过任务转移网络获得的任务 B 性能之间存在明显差异。我们的目标是尽量减少这种差异,这反过来又是一种正则化,鼓励所有任务之间的平衡学习
在单任务域自适应方法$\mathbb{E}[56,29]$ 中,通常采用 ad- $\operatorname{hoc}$鉴别器来最小化域差异。然而,在存在跨任务蒸馏模块的情况下,这种方法使整个培训管道高度复杂化。因此,避免这样的方向,我们建议设计一个统一的框架,以有效地解决这两个不同的目标。e。a)在所有任务中实现平衡的性能,b) 在无监督的环境中执行域自适应。从基于能量的 GANE[64]中汲取灵感,我们重新利用了任务转移网络,将转移差异视为能量函数的输出,以在完全无监督的环境中最大程度地减少域差异
我们在本文中的贡献如下:
$\cdot$ We propose a simplified, yet effective unsuper-
vised multi-task adaptation framework, utilizing two novel regularization strategies; a) Contourbased content regularization (CCR) and b) exploitation of inter-task coherency using a crosstask distillation module.
$\bullet$ Further, we adopt a novel direction by effectively
utilizing cross-task distillation loss as an energyfunction to adversarially minimize the input domain discrepancy in a fully-unsupervised setting.
$\bullet$ UM-Adapt yields state-of-the-art transfer learning
results on ImageNet classification, and compara-
ble performance on PASCAL VOC 2007 detection task, even with a smaller backbone-net. The resulting semi-supervised framework outperforms the current fully-supervised multi-task learning state-of-the-art on both NYUD and Cityscapes dataset.
## 2. Related work
域适配。最近的深度网络自适应方法侧重于通过优化与高阶统计分布相关的一些距离函数来最小化域差异 [6] 。遵循对抗性判别方法工作$\mathbb{E}[55,56,10,11]$ 利用生成对抗网络$\mathbb{E}[14]$ 的动机来弥合领域差距。最近的域自适应方法,特别是针对空间结构的预测任务,可以大致分为两个子分支,即。a)像素空间自适应和 b) 特征空间自适应。在像素空间自适应$\mathbb{E}[1,19,2]$ 中,目标是训练图像转换网络$\mathbb{E}[67]$ ,该网络可以将来自目标域的图像转换为类似于来自源域的图像。另一方面,特征空间自适应方法侧重于在某些潜在特征级别上最小化各种统计距离度量$[\mathbb{E}[15,36,53,21]$ ,主要是在完全共享的源和目标域参数设置$\mathbb{E}[45]$ 中。但是,由于学习了两个域的专用滤波器参数,未共享的设置显示出改进的自适应性能$\mathbb{E}[56,29]$ 。但是,完全非共享的设置会带来其他困难,例如在没有配对监督的情况下由于输出不一致而导致模式崩溃[22,67] 。因此,最佳策略是在部分共享的体系结构设置$\overline{\mathbb{E}}[29]$ 中为目标域分别调整最小可能的参数
多任务学习。多任务学习[3]已经在计算机视觉文献[38]中应用了相当长的时间,用于考虑[27,8,9, 16,43]的各种任务。为了实现这一点,一个简单的方向是制定一个多任务损失函数,该函数权衡每个任务的相对贡献,从而使单个任务的性能同等重要。期望制定技术,该技术根据当前学习状态或迭代自适应地修改各个任务的相对权重。Kendall et al.[24] 提出了一种原则性方法,该方法利用联合似然公式根据单个任务的内在不确定性得出任务权重。Chen et al.[65]提出了一种梯度归一化 (GradNorm)算法,该算法通过动态调整梯度大小来自动平衡深度多任务模型中的训练。另一组工作重点是利用多任务学习技术的进步来学习与任务无关的广义视觉表示[61,45] 。
# 3. Approach
在这里,我们定义了无监督多任务自适应的符号和问题设置。考虑源输入图像样本$x_s\in X_s$ ,对于一组三个互补任务,即单眼深度,语义分割和表面法线,不同任务的相应输出分别为$y_s^{depth}\in Y_s^{depth},y_s^{seg}\in Y_s^{seg}$ 和$y_s^{normal}\in Y_s^{normal}$。我们可以完全访问源图像和输出对,因为它是从合成图形环境中提取的。UM-Adapt 的目标是估计未知目标域输人$x_t\in X_t$的最可靠的基于任务的预测。将自然图像视为来自目标域$P(X_t)$ 的样本,以模拟无监督设置,我们限制对相应任务特定输出的访问,即。$y_t^{depth}\in Y_t^{depth},y_t^{seg}\in Y_t^{seg}$和$y_t^{normal}\in Y_t^{normal}$。请注意,考虑到目标域中只有少
|
[
[
0.08087158203125,
0.0921630859375,
0.419189453125,
0.0921630859375,
0.419189453125,
0.1060791015625,
0.08087158203125,
0.1060791015625
],
[
0.5361328125,
0.0921630859375,
0.88818359375,
0.0921630859375,
0.88818359375,
0.1060791015625,
0.5361328125,
0.1060791015625
],
[
0.1004638671875,
0.10986328125,
0.46728515625,
0.10986328125,
0.46728515625,
0.12371826171875,
0.1004638671875,
0.12371826171875
],
[
0.53759765625,
0.10797119140625,
0.88818359375,
0.10797119140625,
0.88818359375,
0.121826171875,
0.53759765625,
0.121826171875
],
[
0.08251953125,
0.1256103515625,
0.46728515625,
0.1256103515625,
0.46728515625,
0.1395263671875,
0.08251953125,
0.1395263671875
],
[
0.5390625,
0.1256103515625,
0.88818359375,
0.1256103515625,
0.88818359375,
0.1363525390625,
0.5390625,
0.1363525390625
],
[
0.08087158203125,
0.1395263671875,
0.46728515625,
0.14013671875,
0.46728515625,
0.154052734375,
0.08087158203125,
0.15283203125
],
[
0.53515625,
0.136962890625,
0.89208984375,
0.1383056640625,
0.89208984375,
0.15283203125,
0.53515625,
0.1514892578125
],
[
0.08251953125,
0.1546630859375,
0.468017578125,
0.1546630859375,
0.468017578125,
0.1685791015625,
0.08251953125,
0.1685791015625
],
[
0.5361328125,
0.154052734375,
0.890625,
0.154052734375,
0.890625,
0.1673583984375,
0.5361328125,
0.1673583984375
],
[
0.08660888671875,
0.1717529296875,
0.465576171875,
0.1717529296875,
0.465576171875,
0.1817626953125,
0.08660888671875,
0.1817626953125
],
[
0.5361328125,
0.169189453125,
0.59326171875,
0.169189453125,
0.59326171875,
0.18115234375,
0.5361328125,
0.18115234375
],
[
0.08251953125,
0.1849365234375,
0.465576171875,
0.1849365234375,
0.465576171875,
0.1988525390625,
0.08251953125,
0.1988525390625
],
[
0.08251953125,
0.2008056640625,
0.468017578125,
0.2008056640625,
0.468017578125,
0.2139892578125,
0.08251953125,
0.2139892578125
],
[
0.50244140625,
0.1988525390625,
0.64453125,
0.1988525390625,
0.64453125,
0.212158203125,
0.50244140625,
0.212158203125
],
[
0.08416748046875,
0.2171630859375,
0.465576171875,
0.2171630859375,
0.465576171875,
0.2279052734375,
0.08416748046875,
0.2279052734375
],
[
0.50341796875,
0.222900390625,
0.8896484375,
0.2235107421875,
0.8896484375,
0.2374267578125,
0.50341796875,
0.236083984375
],
[
0.08251953125,
0.2310791015625,
0.468017578125,
0.2310791015625,
0.468017578125,
0.2442626953125,
0.08251953125,
0.2442626953125
],
[
0.5048828125,
0.238037109375,
0.88818359375,
0.238037109375,
0.88818359375,
0.25244140625,
0.5048828125,
0.25244140625
],
[
0.08087158203125,
0.24560546875,
0.393798828125,
0.24560546875,
0.393798828125,
0.2587890625,
0.08087158203125,
0.2587890625
],
[
0.51708984375,
0.25390625,
0.890625,
0.25390625,
0.890625,
0.267578125,
0.51708984375,
0.267578125
],
[
0.101318359375,
0.261962890625,
0.46728515625,
0.261962890625,
0.46728515625,
0.27587890625,
0.101318359375,
0.27587890625
],
[
0.50634765625,
0.270751953125,
0.8896484375,
0.270751953125,
0.8896484375,
0.281005859375,
0.50634765625,
0.281005859375
],
[
0.08251953125,
0.27783203125,
0.468017578125,
0.276611328125,
0.468017578125,
0.290283203125,
0.08251953125,
0.291748046875
],
[
0.50341796875,
0.2841796875,
0.88623046875,
0.2841796875,
0.88623046875,
0.29736328125,
0.50341796875,
0.29736328125
],
[
0.08087158203125,
0.29345703125,
0.468017578125,
0.29345703125,
0.468017578125,
0.306884765625,
0.08087158203125,
0.306884765625
],
[
0.5048828125,
0.2998046875,
0.88818359375,
0.2998046875,
0.88818359375,
0.313232421875,
0.5048828125,
0.313232421875
],
[
0.08251953125,
0.30810546875,
0.46728515625,
0.30810546875,
0.46728515625,
0.3212890625,
0.08251953125,
0.3212890625
],
[
0.5048828125,
0.314453125,
0.89208984375,
0.314453125,
0.89208984375,
0.32763671875,
0.5048828125,
0.32763671875
],
[
0.08087158203125,
0.3212890625,
0.461669921875,
0.322509765625,
0.461669921875,
0.3359375,
0.08087158203125,
0.335205078125
],
[
0.5048828125,
0.330078125,
0.890625,
0.330078125,
0.890625,
0.343505859375,
0.5048828125,
0.343505859375
],
[
0.08416748046875,
0.339111328125,
0.46728515625,
0.339111328125,
0.46728515625,
0.349853515625,
0.08416748046875,
0.349853515625
],
[
0.50341796875,
0.3447265625,
0.88623046875,
0.34521484375,
0.88623046875,
0.356689453125,
0.50341796875,
0.35595703125
],
[
0.08251953125,
0.352783203125,
0.468017578125,
0.352783203125,
0.468017578125,
0.3662109375,
0.08251953125,
0.3662109375
],
[
0.50244140625,
0.35791015625,
0.890625,
0.359130859375,
0.890625,
0.373779296875,
0.50244140625,
0.37255859375
],
[
0.08087158203125,
0.36865234375,
0.468017578125,
0.36865234375,
0.468017578125,
0.3818359375,
0.08087158203125,
0.3818359375
],
[
0.50341796875,
0.375,
0.890625,
0.375,
0.890625,
0.38818359375,
0.50341796875,
0.38818359375
],
[
0.08251953125,
0.3837890625,
0.46728515625,
0.3837890625,
0.46728515625,
0.397705078125,
0.08251953125,
0.397705078125
],
[
0.50634765625,
0.391357421875,
0.890625,
0.391357421875,
0.890625,
0.401611328125,
0.50634765625,
0.401611328125
],
[
0.08087158203125,
0.3984375,
0.465576171875,
0.399658203125,
0.465576171875,
0.410888671875,
0.08087158203125,
0.410400390625
],
[
0.50341796875,
0.40478515625,
0.890625,
0.40478515625,
0.890625,
0.41845703125,
0.50341796875,
0.41845703125
],
[
0.08251953125,
0.415283203125,
0.46728515625,
0.415283203125,
0.46728515625,
0.425537109375,
0.08251953125,
0.425537109375
],
[
0.5048828125,
0.419189453125,
0.890625,
0.419189453125,
0.890625,
0.43310546875,
0.5048828125,
0.43310546875
],
[
0.08251953125,
0.4287109375,
0.468017578125,
0.4287109375,
0.468017578125,
0.442626953125,
0.08251953125,
0.442626953125
],
[
0.5048828125,
0.43505859375,
0.8759765625,
0.43505859375,
0.8759765625,
0.448974609375,
0.5048828125,
0.448974609375
],
[
0.08251953125,
0.44580078125,
0.46728515625,
0.44580078125,
0.46728515625,
0.455810546875,
0.08251953125,
0.455810546875
],
[
0.50341796875,
0.45068359375,
0.89208984375,
0.45068359375,
0.89208984375,
0.464111328125,
0.50341796875,
0.464111328125
],
[
0.08251953125,
0.458984375,
0.468017578125,
0.458984375,
0.468017578125,
0.472900390625,
0.08251953125,
0.472900390625
],
[
0.50341796875,
0.46533203125,
0.890625,
0.46533203125,
0.890625,
0.479248046875,
0.50341796875,
0.479248046875
],
[
0.08416748046875,
0.47607421875,
0.464111328125,
0.47607421875,
0.464111328125,
0.486083984375,
0.08416748046875,
0.486083984375
],
[
0.50341796875,
0.479248046875,
0.6044921875,
0.48095703125,
0.6044921875,
0.49560546875,
0.50341796875,
0.49365234375
],
[
0.08087158203125,
0.4892578125,
0.468017578125,
0.4892578125,
0.468017578125,
0.50244140625,
0.08087158203125,
0.50244140625
],
[
0.08251953125,
0.50390625,
0.468017578125,
0.50390625,
0.468017578125,
0.517578125,
0.08251953125,
0.517578125
],
[
0.5048828125,
0.5,
0.890625,
0.5,
0.890625,
0.51318359375,
0.5048828125,
0.51318359375
],
[
0.08251953125,
0.52099609375,
0.46728515625,
0.52099609375,
0.46728515625,
0.53076171875,
0.08251953125,
0.53076171875
],
[
0.5048828125,
0.5166015625,
0.88818359375,
0.5166015625,
0.88818359375,
0.5263671875,
0.5048828125,
0.5263671875
],
[
0.08251953125,
0.53515625,
0.42236328125,
0.53515625,
0.42236328125,
0.548828125,
0.08251953125,
0.548828125
],
[
0.50634765625,
0.52978515625,
0.8896484375,
0.52978515625,
0.8896484375,
0.54443359375,
0.50634765625,
0.54443359375
],
[
0.5048828125,
0.54443359375,
0.88818359375,
0.54443359375,
0.88818359375,
0.55810546875,
0.5048828125,
0.55810546875
],
[
0.101318359375,
0.5517578125,
0.46728515625,
0.5517578125,
0.46728515625,
0.56494140625,
0.101318359375,
0.56494140625
],
[
0.080078125,
0.56494140625,
0.465576171875,
0.56640625,
0.465576171875,
0.580078125,
0.080078125,
0.5791015625
],
[
0.50341796875,
0.56005859375,
0.890625,
0.56005859375,
0.890625,
0.57373046875,
0.50341796875,
0.57373046875
],
[
0.5048828125,
0.57568359375,
0.890625,
0.57568359375,
0.890625,
0.5888671875,
0.5048828125,
0.5888671875
],
[
0.08251953125,
0.58349609375,
0.46728515625,
0.58349609375,
0.46728515625,
0.59326171875,
0.08251953125,
0.59326171875
],
[
0.08087158203125,
0.59521484375,
0.468017578125,
0.5966796875,
0.468017578125,
0.611328125,
0.08087158203125,
0.60986328125
],
[
0.50341796875,
0.59033203125,
0.8759765625,
0.59033203125,
0.8759765625,
0.60400390625,
0.50341796875,
0.60400390625
],
[
0.50341796875,
0.60498046875,
0.8896484375,
0.60498046875,
0.8896484375,
0.61865234375,
0.50341796875,
0.61865234375
],
[
0.08251953125,
0.6123046875,
0.468017578125,
0.6123046875,
0.468017578125,
0.62548828125,
0.08251953125,
0.62548828125
],
[
0.5048828125,
0.62060546875,
0.890625,
0.62060546875,
0.890625,
0.6337890625,
0.5048828125,
0.6337890625
],
[
0.08251953125,
0.626953125,
0.46728515625,
0.626953125,
0.46728515625,
0.64013671875,
0.08251953125,
0.64013671875
],
[
0.08087158203125,
0.64013671875,
0.468017578125,
0.6416015625,
0.468017578125,
0.65576171875,
0.08087158203125,
0.65478515625
],
[
0.5048828125,
0.63623046875,
0.890625,
0.63623046875,
0.890625,
0.6494140625,
0.5048828125,
0.6494140625
],
[
0.50341796875,
0.65087890625,
0.88818359375,
0.65087890625,
0.88818359375,
0.6640625,
0.50341796875,
0.6640625
],
[
0.08087158203125,
0.6572265625,
0.468017578125,
0.6572265625,
0.468017578125,
0.67041015625,
0.08087158203125,
0.67041015625
],
[
0.08087158203125,
0.671875,
0.468017578125,
0.671875,
0.468017578125,
0.68505859375,
0.08087158203125,
0.68505859375
],
[
0.5048828125,
0.66748046875,
0.8896484375,
0.66748046875,
0.8896484375,
0.67822265625,
0.5048828125,
0.67822265625
],
[
0.50341796875,
0.6796875,
0.80810546875,
0.68115234375,
0.80810546875,
0.69580078125,
0.50341796875,
0.6943359375
],
[
0.08416748046875,
0.689453125,
0.096435546875,
0.689453125,
0.096435546875,
0.69873046875,
0.08416748046875,
0.69873046875
],
[
0.1004638671875,
0.70263671875,
0.28759765625,
0.70263671875,
0.28759765625,
0.71630859375,
0.1004638671875,
0.71630859375
],
[
0.5009765625,
0.708984375,
0.615234375,
0.7109375,
0.615234375,
0.72900390625,
0.5009765625,
0.7265625
],
[
0.0931396484375,
0.7216796875,
0.46728515625,
0.7216796875,
0.46728515625,
0.73486328125,
0.0931396484375,
0.73486328125
],
[
0.111083984375,
0.73486328125,
0.468017578125,
0.736328125,
0.468017578125,
0.75048828125,
0.111083984375,
0.75
],
[
0.52392578125,
0.736328125,
0.8896484375,
0.736328125,
0.8896484375,
0.75,
0.52392578125,
0.75
],
[
0.11273193359375,
0.75048828125,
0.465576171875,
0.751953125,
0.465576171875,
0.76513671875,
0.11273193359375,
0.7646484375
],
[
0.5048828125,
0.75048828125,
0.8896484375,
0.75048828125,
0.8896484375,
0.7646484375,
0.5048828125,
0.7646484375
],
[
0.11517333984375,
0.76806640625,
0.465576171875,
0.76806640625,
0.465576171875,
0.77880859375,
0.11517333984375,
0.77880859375
],
[
0.50341796875,
0.7666015625,
0.88818359375,
0.76513671875,
0.88818359375,
0.77978515625,
0.50341796875,
0.78076171875
],
[
0.11273193359375,
0.78076171875,
0.46728515625,
0.7822265625,
0.46728515625,
0.79541015625,
0.11273193359375,
0.79443359375
],
[
0.5009765625,
0.77587890625,
0.890625,
0.7763671875,
0.890625,
0.79736328125,
0.5009765625,
0.796875
],
[
0.11273193359375,
0.796875,
0.28515625,
0.79736328125,
0.28515625,
0.8095703125,
0.11273193359375,
0.80810546875
],
[
0.5009765625,
0.79150390625,
0.8935546875,
0.79052734375,
0.8935546875,
0.8125,
0.5009765625,
0.81298828125
],
[
0.09478759765625,
0.81103515625,
0.46728515625,
0.81103515625,
0.46728515625,
0.82568359375,
0.09478759765625,
0.82568359375
],
[
0.50341796875,
0.81103515625,
0.8896484375,
0.81103515625,
0.8896484375,
0.82470703125,
0.50341796875,
0.82470703125
],
[
0.111083984375,
0.82568359375,
0.465576171875,
0.8271484375,
0.465576171875,
0.84130859375,
0.111083984375,
0.84033203125
],
[
0.5048828125,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.5048828125,
0.84033203125
],
[
0.11358642578125,
0.84130859375,
0.46728515625,
0.84130859375,
0.46728515625,
0.85498046875,
0.11358642578125,
0.85498046875
],
[
0.50634765625,
0.84326171875,
0.88818359375,
0.84326171875,
0.88818359375,
0.85400390625,
0.50634765625,
0.85400390625
],
[
0.11358642578125,
0.859375,
0.4599609375,
0.859375,
0.4599609375,
0.869140625,
0.11358642578125,
0.869140625
],
[
0.50634765625,
0.859375,
0.8896484375,
0.859375,
0.8896484375,
0.869140625,
0.50634765625,
0.869140625
],
[
0.0931396484375,
0.87060546875,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.0931396484375,
0.88525390625
],
[
0.5,
0.86572265625,
0.89453125,
0.86572265625,
0.89453125,
0.8896484375,
0.5,
0.8896484375
],
[
0.1094970703125,
0.88720703125,
0.46728515625,
0.88818359375,
0.46728515625,
0.9013671875,
0.1094970703125,
0.90087890625
],
[
0.498291015625,
0.88330078125,
0.89208984375,
0.880859375,
0.89208984375,
0.90283203125,
0.498291015625,
0.90478515625
]
] |
[
"任务泛化)忽略跨数据域泛化的另一个重要方面",
"ble performance onPASCAL VOC 2007 detec-",
"在本文中,我们专注于空间预测任务的多任务自适",
"tion task, even with a smaller backbone-net. The",
"应,针对上述特定困难提出了有效的解决方案。为了有",
"resultingsemi-supervisedframeworkoutperforms",
"效地提供跨任务泛化和输人域移动的最佳性能,我们",
"the current fully-supervised multi-task learning",
"制定了一个名为UM-Adapt的多任务自适应框架。为",
"state-of-the-art on both NYUD and Cityscapes",
"了在未标记的对抗适应F56过程中有效地保留空间",
"dataset.",
"规律性信息,我们提出了两种新颖的正则化技术。由于",
"输出表示相对于输入图像具有共同的空间结构,因此",
"2. Related work",
"我们首先介绍了一种新颖的基于轮廓的内容正则化过",
"域适配。最近的深度网络自适应方法侧重于通过优化与",
"程。此外,我们正式提出了利用跨任务一致性作为进一",
"高阶统计分布相关的一些距离函数来最小化域差异[6",
"步规范多任务适应过程的重要线索的新想法",
"遵循对抗性判别方法工作E[55,56,10,111利用生成",
"考虑在两个不同任务(任务A和任务B)上训练的",
"对抗网络E14的动机来弥合领域差距。最近的域自适",
"基本模型。我们可以使用任务A的监督来学习任务B",
"应方法,特别是针对空间结构的预测任务,可以大致分",
"的输出表示,反之亦然吗?这种方法是可行的,特别是",
"为两个子分支,即。a)像素空间自适应和b)特征空间",
"当所考虑的任务具有一些共同特征时(i。e。跨任务输",
"自适应。在像素空间自适应E[1,19,21中,目标是训练",
"出的空间结构一致性)。根据这个推理,我们引人了一",
"图像转换网络E[67],该网络可以将来自目标域的图像",
"个跨任务蒸馏模块(见图1)。该模块本质上由多个称",
"转换为类似于来自源域的图像。另一方面,特征空间自",
"为任务传输网络的编码器-解码器架构组成,这些网络",
"适应方法侧重于在某些潜在特征级别上最小化各种统",
"经过训练,可以从其余任务的组合中获取某个任务的",
"计距离度量E[15,36,53,21],主要是在完全共享的源",
"表示形式作为输出,作为输人。这种框架背后的首要动",
"和目标域参数设置E45中。但是,由于学习了两个域",
"机是有效地平衡所考虑的所有任务的性能,从而避免",
"的专用滤波器参数,未共享的设置显示出改进的自适",
"在培训期间控制较容易的任务。为了直观地了解跨任",
"应性能E[56,29]。但是,完全非共享的设置会带来其",
"务蒸馏的有效性,让我们考虑基本模型的特定训练状",
"他困难,例如在没有配对监督的情况下由于输出不",
"态,其中任务A的性能比任务B的性能要好得多。在",
"致而导致模式崩溃22,67]。因此,最佳策略是在部",
"这里,由于主要的基本任务A性能,任务转移网络(经",
"分共享的体系结构设置E[29]中为目标域分别调整最",
"过训练以使用基本模型任务A预测作为输人来输出任",
"小可能的参数",
"务B表示)将提高任务B的性能。这导致基本任务B",
"性能与通过任务转移网络获得的任务B性能之间存在",
"多任务学习。多任务学习3已经在计算机视觉文",
"明显差异。我们的自标是尽量减少这种差异,这反过来",
"献138中应用了相当长的时间,用于考虑127,8,9",
"又是一种正则化,鼓励所有任务之间的平衡学习",
"16,43]的各种任务。为了实现这一点,一个简单的方",
"向是制定一个多任务损失函数,该函数权衡每个任务",
"在单任务域自适应方法E[56,29]中,通常采用ad-",
"hoc鉴别器来最小化域差异。然而,在存在跨任务蒸馏",
"的相对贡献,从而使单个任务的性能同等重要。期望制",
"定技术,该技术根据当前学习状态或送代自适应地修",
"模块的情况下,这种方法使整个培训管道高度复杂化。",
"因此,避免这样的方向,我们建议设计一个统一的框",
"改各个任务的相对权重。Kendalletal.[24]提出了",
"种原则性方法,该方法利用联合似然公式根据单个任",
"架,以有效地解决这两个不同的目标。e。a)在所有任",
"务的内在不确定性得出任务权重。Chenetal.[65]提",
"务中实现平衡的性能,b)在无监督的环境中执行域自",
"适应。从基于能量的GANE[64中汲取灵感,我们重",
"出了一种梯度归一化(GradNorm)算法,该算法通过",
"动态调整梯度大小来自动平衡深度多任务模型中的训",
"新利用了任务转移网络,将转移差异视为能量函数的",
"输出,以在完全无监督的环境中最大程度地减少域差",
"练。另一组工作重点是利用多任务学习技术的进步来",
"学习与任务无关的广义视觉表示[61,45]。",
"异",
"我们在本文中的贡献如下:",
"3.Approach",
". We propose a simplified, yet effective unsuper-",
"vised multi-task adaptation framework, utilizing",
"在这里,我们定义了无监督多任务自适应的符号和",
"two novel regularization strategies; a) Contour-",
"问题设置。考虑源输入图像样本aEX。,对于一组三",
"based contentregularization (CCR)and b)ex-",
"个互补任务,即单眼深度,语义分割和表面法线,不同",
"ploitation of inter-task coherency using a cross-",
"任务的相应输出分别为 ydeptheYdepth,yeg EYseg",
"task distillationmodule",
"和ynormaleYnormal。我们可以完全访问源图像和输",
": Further, we adopt a novel direction by effectively",
"出对,因为它是从合成图形环境中提取的。UM-Adapt",
"utilizing cross-task distillation loss as an energy",
"的目标是估计未知目标域输人atEXt的最可靠的",
"function to adversarially minimize the input do-",
"基于任务的预测。将自然图像视为来自自标域P(Xt)",
"main discrepancy inafully-unsupervised setting",
"的样本,以模拟无监督设置,我们限制对相应任务特",
": UM-Adapt yields state-of-the-art transfer learning",
"定输出的访间,即。yleptheyriepihuiegeee和",
"results on ImageNet classification, and compara-",
"yrormalEYnormal。请注意,考虑到目标域中只有少"
] |
{
"arxiv_id": "1908.03884",
"language": "zh",
"page_idx": 1
}
|
||
1908.03884-zh-2
|
1908.03884-zh-2.jpg
|
<FigureHere>
Figure 2. An overview of the proposed UM-Adapt architecture for multi-task adaptation. The blue and pink background wide-channel indicates data flow for synthetic and natural domain respectively. On the right we show an illustration of the proposed cross-task distillation module, which is later utilized as an energy-function for adversarial adaptation (Section $\color{red}3.3.2$ ).
数输入样本的输出注释的可用性,目标可以很容易地
扩展到半监督设置。
## 3.1. UM-Adapt architecture
如图 2 所示 , 基本的多任务自适应体系结构是由标准 CNN 编码器-解码器框架激发的。从源域$X_\mathrm{s}$到空间结构化潜在表示的映射函数表示为$M_s(X_s)$ 。在此之后,三个不同的解码器与上卷积层[30]被用于考虑的$\hat{Y}_{s}^{seg}=C_{seg}\circ M_{s}(X_{s})$和$\hat{Y}_{s}^{normal}=C_{normal}\circ M_{s}(X_{s})$ 。最初,整个体系结构是在对源域数据进行全面监督的情况下进行培训的。为了有效地平衡所有任务的性能, 我们引人了跨任务蒸馏模块,如下所示。
3.1.1 Cross-task Distillation module
此模块旨在通过传递函数获取某个任务的表示形式, 该传递函数将所有其他任务的组合表示形式作为输人。将$T$视为所有任务的集合,即。e。$T= \{ t_1, t_2, . . . , t_k\}$ , 其中$k$是考虑的任务总数。对于特定任务$t_i$ ,我们将$\hat{Y}_{s}^{t_{i}}$表示为$t_i$输出头的基本模型的预测。在本文的其他部分中,我们将任务特定的损失函数表示为$\mathcal{L}^{t_i}(.,.)$ 。这里,任务转移网络表示为$N^\to t_i$ ,它采用组合集$O_{s}^{t_i}=\{Y_{s}^{t_j}\mid t_{j}\in T-\{t_{i}\}\}$作为输入表示,相应的输出表示为$Y_{s}^{\rightarrow t_{i}}= N^{\rightarrow t_{i}}( O_{s}^{t_{i}})$ $。N^{\rightarrow t_{i}}$ , $\theta _{N^{s}\rightarrow t_{i}}^{s}$的参数是通过优化任务转移损失函数获得的,用$\mathcal{L}^t_i(Y_s^{\rightarrow t_i},Y_s^{t_i})$ 表示,并在进一步的训练阶段保持冻结。但是,可以通过任务转移网络提供基本模型的预测,以实现表示为$\hat{Y}_{s}^{\rightarrow t_{i}}=N^{\rightarrow t_{i}}(\hat{O}_{s}^{t_{i}})$的任务$t_{i}$的另一个估计,其中$\hat{O}_{s}^{t_i}=\{\hat{Y}_{s}^{t_j}\mid t_{j}\in T-\{t_{i}\}\}$。在此之后,我们将任务$t_i$的蒸馏损失定义为$\mathcal{L}^t_i(\hat{Y}_s^{\rightarrow t_i},Y_s^{t_i})$。在优化基础模型的参数时,该蒸馏损失被用作重要的损失成分之一, 以实现所有任务目标之间的有效平衡(请参见算法$\color{red}{\mathrm{E}}\color{blue}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\mathrm{E}}\color{red}{\operatorname*{E}}\color{red}{\mathrm{$ )。在这里,我们的目标是最小化单个任务的直接和间
a) Contour-based Content Regularization (CCR)
<FigureHere>
Figure 3. An overview of the (a) proposed CCR framework with (b) evidence of consistency in contour-map computed on the output-map of each task to that of the input RGB image.
接预测(通过其他任务)之间的差异。所提出的学习算法不允许任何单个任务主导训练过程,因为性能最低的任务将表现出更高的差异,因此在进一步的训练迭代中将被赋予更多的重要性
与一般知识蒸馏框架$\mathbb{E}[18]$ 相比,可以将 $Y_s^\to t_i=$ $N^{\rightarrow t_{i}}(O_{\hat{s}}^{t_{i}})$视为类似于教师网络的输出,而将$\hat{Y}_{s}^{\rightarrow t_{i}}=$ $N^{\rightarrow t_i}(\hat{O}_s^{t_i})$视为学生网络的输出。这里的目标是通过有效利用蒸馏损失来优化基础模型的参数,这反过来又加强了各个任务性能之间的一致性。
3.1.2 Architecture for target domain adaptation
在部分共享的自适应设置之后,专门为目标域样本引人了一个单独的潜在映射网络,即。e。$M_t(X_t)$(见图 2 )。与 AdaDepth$\underline{\mathrm{E}}[29]$一致,我们使用源域对应物$M_s$ (Resnet-50 编码器)的预训练参数初始化$M_t$ ,以便从
|
[
[
0.11767578125,
0.09027099609375,
0.273681640625,
0.091552734375,
0.273681640625,
0.10479736328125,
0.11767578125,
0.10418701171875
],
[
0.463134765625,
0.0921630859375,
0.5009765625,
0.085205078125,
0.50634765625,
0.0997314453125,
0.468017578125,
0.106689453125
],
[
0.54833984375,
0.09027099609375,
0.88134765625,
0.091552734375,
0.88134765625,
0.1029052734375,
0.54833984375,
0.10162353515625
],
[
0.68701171875,
0.1060791015625,
0.72119140625,
0.10162353515625,
0.7236328125,
0.1142578125,
0.689453125,
0.11871337890625
],
[
0.7607421875,
0.117431640625,
0.79833984375,
0.1142578125,
0.7998046875,
0.1256103515625,
0.76123046875,
0.1287841796875
],
[
0.83837890625,
0.11614990234375,
0.890625,
0.11932373046875,
0.8896484375,
0.1337890625,
0.83642578125,
0.1307373046875
],
[
0.68701171875,
0.11932373046875,
0.71826171875,
0.11932373046875,
0.71826171875,
0.1363525390625,
0.68701171875,
0.1363525390625
],
[
0.330810546875,
0.11932373046875,
0.36767578125,
0.121826171875,
0.366943359375,
0.1331787109375,
0.330078125,
0.1307373046875
],
[
0.64453125,
0.12371826171875,
0.65625,
0.12371826171875,
0.65625,
0.126953125,
0.64453125,
0.126953125
],
[
0.6748046875,
0.12371826171875,
0.6845703125,
0.12371826171875,
0.6845703125,
0.1275634765625,
0.6748046875,
0.1275634765625
],
[
0.59619140625,
0.1256103515625,
0.60302734375,
0.1256103515625,
0.60302734375,
0.1287841796875,
0.59619140625,
0.1287841796875
],
[
0.3798828125,
0.1256103515625,
0.396240234375,
0.12249755859375,
0.398681640625,
0.1287841796875,
0.38232421875,
0.1319580078125
],
[
0.61669921875,
0.1256103515625,
0.6298828125,
0.1256103515625,
0.6298828125,
0.1287841796875,
0.61669921875,
0.1287841796875
],
[
0.408447265625,
0.1307373046875,
0.4345703125,
0.1307373046875,
0.4345703125,
0.1383056640625,
0.408447265625,
0.1383056640625
],
[
0.371826171875,
0.126953125,
0.38232421875,
0.1256103515625,
0.38232421875,
0.1300048828125,
0.371826171875,
0.1307373046875
],
[
0.69140625,
0.14013671875,
0.73779296875,
0.1383056640625,
0.73876953125,
0.154052734375,
0.69287109375,
0.1558837890625
],
[
0.78125,
0.1395263671875,
0.78515625,
0.1395263671875,
0.78515625,
0.1458740234375,
0.78125,
0.1458740234375
],
[
0.303955078125,
0.1427001953125,
0.3447265625,
0.1427001953125,
0.3447265625,
0.15283203125,
0.303955078125,
0.15283203125
],
[
0.1732177734375,
0.1427001953125,
0.1854248046875,
0.1427001953125,
0.1854248046875,
0.1483154296875,
0.1732177734375,
0.1483154296875
],
[
0.221435546875,
0.146484375,
0.233642578125,
0.146484375,
0.233642578125,
0.15087890625,
0.221435546875,
0.15087890625
],
[
0.281005859375,
0.15283203125,
0.289306640625,
0.15283203125,
0.289306640625,
0.1558837890625,
0.281005859375,
0.1558837890625
],
[
0.3505859375,
0.149658203125,
0.36767578125,
0.149658203125,
0.36767578125,
0.1578369140625,
0.3505859375,
0.1578369140625
],
[
0.21728515625,
0.1558837890625,
0.250732421875,
0.1558837890625,
0.250732421875,
0.1634521484375,
0.21728515625,
0.1634521484375
],
[
0.3056640625,
0.1558837890625,
0.3447265625,
0.1558837890625,
0.3447265625,
0.1666259765625,
0.3056640625,
0.1666259765625
],
[
0.465576171875,
0.1641845703125,
0.5087890625,
0.15283203125,
0.515625,
0.1685791015625,
0.471435546875,
0.1787109375
],
[
0.685546875,
0.17236328125,
0.7294921875,
0.1673583984375,
0.73193359375,
0.179931640625,
0.68896484375,
0.1849365234375
],
[
0.125,
0.1817626953125,
0.200927734375,
0.1817626953125,
0.200927734375,
0.1962890625,
0.125,
0.1962890625
],
[
0.63232421875,
0.1849365234375,
0.6640625,
0.1849365234375,
0.6640625,
0.1932373046875,
0.63232421875,
0.1932373046875
],
[
0.83251953125,
0.184326171875,
0.890625,
0.1875,
0.8896484375,
0.2020263671875,
0.8310546875,
0.1988525390625
],
[
0.75244140625,
0.186279296875,
0.80810546875,
0.18115234375,
0.810546875,
0.1932373046875,
0.7548828125,
0.1988525390625
],
[
0.45751953125,
0.186279296875,
0.486083984375,
0.186279296875,
0.486083984375,
0.1976318359375,
0.45751953125,
0.1976318359375
],
[
0.67333984375,
0.1900634765625,
0.685546875,
0.1900634765625,
0.685546875,
0.1962890625,
0.67333984375,
0.1962890625
],
[
0.69921875,
0.1925048828125,
0.71142578125,
0.1925048828125,
0.71142578125,
0.1956787109375,
0.69921875,
0.1956787109375
],
[
0.2254638671875,
0.1988525390625,
0.233642578125,
0.1988525390625,
0.233642578125,
0.2083740234375,
0.2254638671875,
0.2083740234375
],
[
0.38232421875,
0.1956787109375,
0.39794921875,
0.1956787109375,
0.39794921875,
0.20263671875,
0.38232421875,
0.20263671875
],
[
0.68896484375,
0.20703125,
0.73876953125,
0.2020263671875,
0.74267578125,
0.2215576171875,
0.69140625,
0.2259521484375
],
[
0.779296875,
0.20703125,
0.7861328125,
0.20703125,
0.7861328125,
0.21337890625,
0.779296875,
0.21337890625
],
[
0.334228515625,
0.21533203125,
0.369384765625,
0.2183837890625,
0.366943359375,
0.2342529296875,
0.33251953125,
0.2310791015625
],
[
0.468017578125,
0.23291015625,
0.5009765625,
0.2291259765625,
0.5048828125,
0.2474365234375,
0.47216796875,
0.250732421875
],
[
0.30224609375,
0.240478515625,
0.339111328125,
0.240478515625,
0.339111328125,
0.251953125,
0.30224609375,
0.251953125
],
[
0.7099609375,
0.240478515625,
0.73193359375,
0.240478515625,
0.73193359375,
0.2474365234375,
0.7099609375,
0.2474365234375
],
[
0.69140625,
0.24560546875,
0.70166015625,
0.242431640625,
0.70361328125,
0.246826171875,
0.69384765625,
0.25
],
[
0.13232421875,
0.2412109375,
0.156005859375,
0.2412109375,
0.156005859375,
0.248779296875,
0.13232421875,
0.248779296875
],
[
0.2132568359375,
0.250732421875,
0.25244140625,
0.250732421875,
0.25244140625,
0.261474609375,
0.2132568359375,
0.261474609375
],
[
0.281982421875,
0.248779296875,
0.28759765625,
0.248779296875,
0.28759765625,
0.25390625,
0.281982421875,
0.25390625
],
[
0.303955078125,
0.251953125,
0.339111328125,
0.251953125,
0.339111328125,
0.26318359375,
0.303955078125,
0.26318359375
],
[
0.75244140625,
0.25244140625,
0.810546875,
0.250732421875,
0.810546875,
0.261962890625,
0.75244140625,
0.264404296875
],
[
0.82861328125,
0.25244140625,
0.890625,
0.255615234375,
0.8896484375,
0.26953125,
0.82666015625,
0.266357421875
],
[
0.70166015625,
0.25830078125,
0.7099609375,
0.25830078125,
0.7099609375,
0.261962890625,
0.70166015625,
0.261962890625
],
[
0.450927734375,
0.25830078125,
0.455810546875,
0.25830078125,
0.455810546875,
0.26513671875,
0.450927734375,
0.26513671875
],
[
0.295654296875,
0.266357421875,
0.34716796875,
0.266357421875,
0.34716796875,
0.27783203125,
0.295654296875,
0.27783203125
],
[
0.12744140625,
0.274658203125,
0.193603515625,
0.276611328125,
0.193603515625,
0.291748046875,
0.12744140625,
0.2890625
],
[
0.295654296875,
0.27783203125,
0.3447265625,
0.27587890625,
0.3447265625,
0.285888671875,
0.295654296875,
0.28857421875
],
[
0.410888671875,
0.27783203125,
0.418212890625,
0.27783203125,
0.418212890625,
0.281005859375,
0.410888671875,
0.281005859375
],
[
0.68896484375,
0.27587890625,
0.73779296875,
0.272705078125,
0.73876953125,
0.28857421875,
0.689453125,
0.291748046875
],
[
0.293212890625,
0.28857421875,
0.3505859375,
0.285888671875,
0.3505859375,
0.29736328125,
0.293212890625,
0.2998046875
],
[
0.080078125,
0.30615234375,
0.89208984375,
0.30615234375,
0.89208984375,
0.3193359375,
0.080078125,
0.3193359375
],
[
0.08087158203125,
0.32080078125,
0.89208984375,
0.32080078125,
0.89208984375,
0.333984375,
0.08087158203125,
0.333984375
],
[
0.080078125,
0.333984375,
0.89208984375,
0.333984375,
0.89208984375,
0.347900390625,
0.080078125,
0.347900390625
],
[
0.08087158203125,
0.35107421875,
0.0931396484375,
0.35107421875,
0.0931396484375,
0.359130859375,
0.08087158203125,
0.359130859375
],
[
0.08087158203125,
0.380615234375,
0.468017578125,
0.380615234375,
0.468017578125,
0.39453125,
0.08087158203125,
0.39453125
],
[
0.521484375,
0.37744140625,
0.8203125,
0.37744140625,
0.8203125,
0.391357421875,
0.521484375,
0.391357421875
],
[
0.08087158203125,
0.395751953125,
0.2197265625,
0.395751953125,
0.2197265625,
0.4091796875,
0.08087158203125,
0.4091796875
],
[
0.5595703125,
0.397705078125,
0.5703125,
0.39453125,
0.576171875,
0.40478515625,
0.564453125,
0.40771484375
],
[
0.7138671875,
0.399658203125,
0.7509765625,
0.401611328125,
0.7490234375,
0.417236328125,
0.71337890625,
0.415283203125
],
[
0.57177734375,
0.4091796875,
0.60546875,
0.410400390625,
0.6044921875,
0.43505859375,
0.5703125,
0.434326171875
],
[
0.080078125,
0.421630859375,
0.301513671875,
0.421630859375,
0.301513671875,
0.43505859375,
0.080078125,
0.43505859375
],
[
0.68896484375,
0.42236328125,
0.71337890625,
0.42236328125,
0.71337890625,
0.429931640625,
0.68896484375,
0.429931640625
],
[
0.73193359375,
0.427978515625,
0.7490234375,
0.427978515625,
0.7490234375,
0.431884765625,
0.73193359375,
0.431884765625
],
[
0.79736328125,
0.4267578125,
0.82666015625,
0.4267578125,
0.82666015625,
0.43505859375,
0.79736328125,
0.43505859375
],
[
0.6259765625,
0.43310546875,
0.6357421875,
0.43310546875,
0.6357421875,
0.436279296875,
0.6259765625,
0.436279296875
],
[
0.55126953125,
0.439453125,
0.583984375,
0.44140625,
0.58251953125,
0.451904296875,
0.5498046875,
0.449462890625
],
[
0.101318359375,
0.44580078125,
0.468017578125,
0.44580078125,
0.468017578125,
0.458984375,
0.101318359375,
0.458984375
],
[
0.08087158203125,
0.460205078125,
0.468017578125,
0.460205078125,
0.468017578125,
0.473388671875,
0.08087158203125,
0.473388671875
],
[
0.64794921875,
0.46337890625,
0.7490234375,
0.46337890625,
0.7490234375,
0.474853515625,
0.64794921875,
0.474853515625
],
[
0.08087158203125,
0.47607421875,
0.46728515625,
0.47607421875,
0.46728515625,
0.4892578125,
0.08087158203125,
0.4892578125
],
[
0.67236328125,
0.47607421875,
0.72607421875,
0.47607421875,
0.72607421875,
0.4873046875,
0.67236328125,
0.4873046875
],
[
0.7890625,
0.47021484375,
0.83642578125,
0.47021484375,
0.83642578125,
0.48095703125,
0.7890625,
0.48095703125
],
[
0.08087158203125,
0.4912109375,
0.46728515625,
0.4912109375,
0.46728515625,
0.5048828125,
0.08087158203125,
0.5048828125
],
[
0.07843017578125,
0.5,
0.47216796875,
0.50048828125,
0.47216796875,
0.52294921875,
0.07843017578125,
0.521484375
],
[
0.52294921875,
0.501953125,
0.66845703125,
0.50244140625,
0.66845703125,
0.5166015625,
0.52294921875,
0.51513671875
],
[
0.0767822265625,
0.5146484375,
0.47216796875,
0.5166015625,
0.47216796875,
0.54150390625,
0.0767822265625,
0.5390625
],
[
0.55615234375,
0.521484375,
0.61279296875,
0.521484375,
0.61279296875,
0.52880859375,
0.55615234375,
0.52880859375
],
[
0.63232421875,
0.521484375,
0.689453125,
0.521484375,
0.689453125,
0.52880859375,
0.63232421875,
0.52880859375
],
[
0.705078125,
0.51953125,
0.86669921875,
0.51953125,
0.86669921875,
0.52978515625,
0.705078125,
0.52978515625
],
[
0.08905029296875,
0.537109375,
0.468017578125,
0.537109375,
0.468017578125,
0.55029296875,
0.08905029296875,
0.55029296875
],
[
0.59619140625,
0.5361328125,
0.60302734375,
0.5361328125,
0.60302734375,
0.54052734375,
0.59619140625,
0.54052734375
],
[
0.54736328125,
0.546875,
0.55615234375,
0.54345703125,
0.560546875,
0.5498046875,
0.55126953125,
0.55322265625
],
[
0.08087158203125,
0.55322265625,
0.46728515625,
0.55322265625,
0.46728515625,
0.56640625,
0.08087158203125,
0.56640625
],
[
0.080078125,
0.56640625,
0.365234375,
0.5673828125,
0.365234375,
0.58203125,
0.080078125,
0.58056640625
],
[
0.50341796875,
0.58349609375,
0.890625,
0.58349609375,
0.890625,
0.5966796875,
0.50341796875,
0.5966796875
],
[
0.50244140625,
0.59521484375,
0.890625,
0.59521484375,
0.890625,
0.609375,
0.50244140625,
0.609375
],
[
0.080078125,
0.60302734375,
0.13232421875,
0.60302734375,
0.13232421875,
0.6142578125,
0.080078125,
0.6142578125
],
[
0.1298828125,
0.60595703125,
0.1356201171875,
0.60595703125,
0.1356201171875,
0.611328125,
0.1298828125,
0.611328125
],
[
0.131591796875,
0.6015625,
0.3544921875,
0.6015625,
0.3544921875,
0.61572265625,
0.131591796875,
0.61572265625
],
[
0.5009765625,
0.60986328125,
0.89208984375,
0.609375,
0.89208984375,
0.62353515625,
0.5009765625,
0.625
],
[
0.08087158203125,
0.626953125,
0.468017578125,
0.626953125,
0.468017578125,
0.64013671875,
0.08087158203125,
0.64013671875
],
[
0.50244140625,
0.626953125,
0.54736328125,
0.626953125,
0.54736328125,
0.63818359375,
0.50244140625,
0.63818359375
],
[
0.08087158203125,
0.642578125,
0.468017578125,
0.642578125,
0.468017578125,
0.65576171875,
0.08087158203125,
0.65576171875
],
[
0.080078125,
0.65478515625,
0.468017578125,
0.6572265625,
0.468017578125,
0.671875,
0.080078125,
0.66943359375
],
[
0.50341796875,
0.65771484375,
0.890625,
0.65771484375,
0.890625,
0.671875,
0.50341796875,
0.671875
],
[
0.08251953125,
0.67236328125,
0.468017578125,
0.67236328125,
0.468017578125,
0.68603515625,
0.08251953125,
0.68603515625
],
[
0.50341796875,
0.673828125,
0.890625,
0.673828125,
0.890625,
0.6875,
0.50341796875,
0.6875
],
[
0.080078125,
0.68505859375,
0.468017578125,
0.68603515625,
0.468017578125,
0.70068359375,
0.080078125,
0.69970703125
],
[
0.50341796875,
0.68798828125,
0.89208984375,
0.68798828125,
0.89208984375,
0.7021484375,
0.50341796875,
0.7021484375
],
[
0.08087158203125,
0.7021484375,
0.46728515625,
0.7021484375,
0.46728515625,
0.71533203125,
0.08087158203125,
0.71533203125
],
[
0.50341796875,
0.7021484375,
0.701171875,
0.70263671875,
0.701171875,
0.71728515625,
0.50341796875,
0.71630859375
],
[
0.08416748046875,
0.71630859375,
0.46728515625,
0.71630859375,
0.46728515625,
0.73095703125,
0.08416748046875,
0.73095703125
],
[
0.52392578125,
0.71826171875,
0.88818359375,
0.71728515625,
0.88818359375,
0.73193359375,
0.52392578125,
0.73291015625
],
[
0.080078125,
0.73095703125,
0.468017578125,
0.73193359375,
0.468017578125,
0.7470703125,
0.080078125,
0.74560546875
],
[
0.5,
0.72998046875,
0.88134765625,
0.72900390625,
0.88134765625,
0.75,
0.5,
0.75048828125
],
[
0.08416748046875,
0.74755859375,
0.1650390625,
0.74755859375,
0.1650390625,
0.7587890625,
0.08416748046875,
0.7587890625
],
[
0.156005859375,
0.7421875,
0.4697265625,
0.744140625,
0.4697265625,
0.76513671875,
0.156005859375,
0.76318359375
],
[
0.50244140625,
0.74755859375,
0.8896484375,
0.75,
0.8896484375,
0.7646484375,
0.50244140625,
0.76220703125
],
[
0.07843017578125,
0.76025390625,
0.468017578125,
0.7587890625,
0.468017578125,
0.7763671875,
0.07843017578125,
0.77783203125
],
[
0.50341796875,
0.76513671875,
0.890625,
0.76513671875,
0.890625,
0.77880859375,
0.50341796875,
0.77880859375
],
[
0.08251953125,
0.77783203125,
0.46728515625,
0.77783203125,
0.46728515625,
0.79150390625,
0.08251953125,
0.79150390625
],
[
0.50244140625,
0.77880859375,
0.75634765625,
0.77978515625,
0.75634765625,
0.79443359375,
0.50244140625,
0.79345703125
],
[
0.08087158203125,
0.79248046875,
0.46728515625,
0.79248046875,
0.46728515625,
0.80615234375,
0.08087158203125,
0.80615234375
],
[
0.08251953125,
0.806640625,
0.46728515625,
0.806640625,
0.46728515625,
0.8212890625,
0.08251953125,
0.8212890625
],
[
0.50341796875,
0.8173828125,
0.56201171875,
0.8173828125,
0.56201171875,
0.8291015625,
0.50341796875,
0.8291015625
],
[
0.55615234375,
0.818359375,
0.861328125,
0.818359375,
0.861328125,
0.8291015625,
0.55615234375,
0.8291015625
],
[
0.080078125,
0.84033203125,
0.468017578125,
0.84033203125,
0.468017578125,
0.85498046875,
0.080078125,
0.85498046875
],
[
0.07843017578125,
0.8212890625,
0.468017578125,
0.82275390625,
0.468017578125,
0.84033203125,
0.07843017578125,
0.8388671875
],
[
0.5048828125,
0.84130859375,
0.8896484375,
0.84130859375,
0.8896484375,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.08087158203125,
0.85595703125,
0.44775390625,
0.85595703125,
0.44775390625,
0.869140625,
0.08087158203125,
0.869140625
],
[
0.5048828125,
0.85693359375,
0.89208984375,
0.85693359375,
0.89208984375,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08087158203125,
0.8720703125,
0.46728515625,
0.8720703125,
0.46728515625,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.5048828125,
0.8720703125,
0.88818359375,
0.8720703125,
0.88818359375,
0.88525390625,
0.5048828125,
0.88525390625
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.5009765625,
0.88525390625,
0.890625,
0.88623046875,
0.890625,
0.90087890625,
0.5009765625,
0.8994140625
]
] |
[
"Base-model Architecture:",
"y,depth",
"Cross-taskdistillationmoduleusedasenergyfunction:",
"yseg",
"Cseg",
"Energy",
"",
"M.(x)",
"",
"",
"",
"0",
"",
"epth",
"",
"y.sog",
"-",
"Res-5",
"",
"PS",
"",
"",
"ill Res",
"block",
"normal",
"y,-depth",
"Synthetic (xg)",
"denth",
"Energy",
"depth",
"",
"",
"",
"iP",
"C",
"y.depih",
"T",
"M(x)",
"y,seg",
"Res-5",
"orma",
"",
"",
"till Res",
".",
"block",
"Cnormal",
">Energy",
"",
"",
"eress:only",
"Natural (x)",
"trainable",
"",
"y.nomal",
"parameter",
"Figure 2. An overview of the proposed UM-Adapt architecture for multi-task adaptation. The blue and pink background",
"wide-channel indicates data flow for synthetic and natural domain respectively. On the right we show an illustration of the",
"proposed cross-task distillation module, which is later utilized as an energy-function for adversarial adaptation (Section 3.3.2",
"):",
"数输入样本的输出注释的可用性,目标可以很容易地",
"a)Contour-based Content Regularization (CCR)",
"扩展到半监督设置。",
"七",
"M(x)",
"田",
"3.1. UM-Adapt architecture",
"Res-5",
"",
"yco",
"IE",
"",
"如图2所示,基本的多任务自适应体系结构是由标",
"准CNN编码器-解码器框架激发的。从源域X。到空间",
"Contourprediction",
"结构化潜在表示的映射函数表示为Ms(X)。在此之",
"Algorithm",
">GTcor",
"后,三个不同的解码器与上卷积层「30】被用于考虑的",
"三个任务,(见图2)i.e。Ydepth=CdepthoM,(X.)、",
"b)Contour-map obtained from",
"Yseg = CsegoM.(X)和 Ynormal = Cnormal oM,(X)",
"Inputimage",
"Depth-map",
"Normal-mapSegmentation-map",
"最初,整个体系结构是在对源域数据进行全面监督的",
"",
"福",
"情况下进行培训的。为了有效地平衡所有任务的性能",
"我们引人了跨任务蒸馏模块,如下所示。",
"Figure 3. An overview of the (a) proposed CCR framework",
"with (b) evidence of consistency in contour-map computed",
"3.1.1",
"",
"Cross-task Distillation module",
"on the output-map of each task to that of the input RGB",
"此模块旨在通过传递函数获取某个任务的表示形式,",
"image.",
"该传递函数将所有其他任务的组合表示形式作为输人。",
"将T视为所有任务的集合,即。e。T={t1,t2,,tk}",
"接预测(通过其他任务)之间的差异。所提出的学习算",
"其中k是考虑的任务总数。对于特定任务t,我们将",
"法不允许任何单个任务主导训练过程,因为性能最低",
"Yt表示为t,输出头的基本模型的预测。在本文的其",
"的任务将表现出更高的差异,因此在进一步的训练迭",
"他部分中,我们将任务特定的损失函数表示为Ct(..)",
"代中将被赋予更多的重要性",
"。这里,任务转移网络表示为N→t。,它采用组合集",
"与一般知识蒸馏框架E[18]相比,可以将Y→t",
"Ot={Yti|t,ET{t}作为输人表示,相应的输出",
"N-t(O5)视为类似于教师网络的输出,而将Y→t:",
"表示为Y→",
"t=N-(O5)。N-+,0%-的参数是",
"N→ti(Ot)视为学生网络的输出。这里的目标是通过有",
"通过优化任务转移损失函数获得的,用t(y-t,yt)",
"效利用蒸馏损失来优化基础模型的参数,这反过来又",
"表示,并在进一步的训练阶段保持冻结。但是,可以",
"加强了各个任务性能之间的一致性。",
"通过任务转移网络提供基本模型的预测,以实现表示",
"为Y→tu=N→ti(Ot)的任务t的另一个估计,其中",
"3.1.2",
"Architecturefor target domain adaptation",
"t,的蒸馏损失定义为Cti(Y→ts,Yti)。在优化基础模",
"Ot={ttET-{ti})。在此之后,我们将任务",
"在部分共享的自适应设置之后,专门为目标域样本引",
"型的参数时,该蒸馏损失被用作重要的损失成分之",
"人了一个单独的潜在映射网络,即。e。Mt(Xt)(见图2",
"以实现所有任务目标之间的有效平衡(请参见算法E1",
")。与AdaDepthE[29]一致,我们使用源域对应物M",
")。在这里,我们的目标是最小化单个任务的直接和间",
"(Resnet-50编码器)的预训练参数初始化Mt,以便从"
] |
{
"arxiv_id": "1908.03884",
"language": "zh",
"page_idx": 2
}
|
||
1908.03884-zh-4
|
1908.03884-zh-4.jpg
|
$M_t$的可训练参数被更新,以将低能量分配给预测的目标预测元组,如 $\mathcal{L}_G^{t_i}$ 所强制的(参见算法$\mathsf{E}\color{red}{2}$ )。连同先前介绍的 CCR 正则化,$\theta_{res5}$的最终更新方程表示为$\mathcal{L}_G^{t_i}+\lambda\mathcal{L}_{CCR}$。我们为每个任务的能量函数使用不同的优化器,$t_i$。因此$,\theta_res5$ 经过优化,即使在完全无监督的环境中,也能在所有任务中获得平衡的性能。我们将此框架表示为 UM-Adapt-(Adv。)在本文的其他章节中
请注意,由于编码器-解码器设置的结果,由于压缩的潜在表示,任务转移网络仅在充分正则化的情况下在地面实况输出图上进行训练。这使得$N^\to t_i$能够学习预期的跨任务能量流形的更好的近似,即使在没有负面例子(目标样本)的情况下 [64]。此类比在算法$\boxed{\mathrm{E}}1$ 中用于有效地将冻结的任务转移网络视为能量函数,以在完全监督的源域样本上实现所有任务之间的平衡性能。在此之后,我们计划制定一个消融的 UM-Adapt, 在那里我们抑制参数更新的$N^\to t_i$算法 2。我们将此框架表示为 UM-Adapt-(noAdv。)在本文的其他章节中。此修改优雅地简化了无监督自适应算法,因为它最终仅保留$\theta_{res5}$作为可训练参数的最小集合(将$N^\to t_i$ 的冻结参数作为$\theta_{N^{\rightarrow t_i}}^\mathrm{s})$
# 4. Experiments
为了证明所提出框架的有效性,我们分别针对室内和室外场景对三个不同的公开可用基准数据集进行了评估。此外,在本节中,我们将详细讨论我们的适应性设置以及对标准评估指标的结果分析,以便与现有技术进行公平比较
# 4.1. Experimental Setting
我们完全按照 Liana et al. $\operatorname{E}[30]$提出的编码器-解码器体系结构。解码器架构被复制三次,分别形成$C_{depth}$ 、$C_{normal}$和$C_{seg}$ 。然而,根据标准要求,最终基于任务的预测层的特征图和非线性的数量被采用。我们使用 BerHu 损失 [30] 作为深度估计任务的损失函数,i。e。$\mathcal{L}^{depth}(.,.)$ 。遵循 Eigen et al. $\mathbb{E}[8]$ ,将每个像素位置的单位法线向量上的元素点积的倒数视为表面法线估计$\mathcal{L}^{normal}(.,.)$的损失函数。类似地,对于分段,i。e $\mathcal{L}^{seg}(.,.)$ , 通过加权方案实现了基于分类的交叉熵损失,以根据其覆盖范围平衡来自不同类别的梯度
我们还考虑了半监督设置(UM-Adapt-S),其中训练从训练的无监督版本 UM-Adapt-(Adv。)。为了更好的泛化,使用标记(优化监督损失,$\mathcal{L}_dist.$)和未标记(优化无监督损失,$\mathcal{L}_G^{t_i}+\lambda\mathcal{L}_{CCR}$)目标样本的交替批次来更新网络参数(i。e。$\theta_res5)$。
数据集。对于室内场景的表示学习,我们使用公开可用的 NYUD-v2$\mathbb{E}[52]$数据集,该数据集已广泛用于深度估计,语义分割和表面法线估计的有监督多任务预测。数据集的处理版本由 1449 个样本图像组成,标准分割为 795 个用于训练,654 个用于测试。在半监督设置中进行调整时,我们使用所有 3 个任务 (795 个训练图像)的相应地面实况图进行监督损失。CNN 采用大小
Table 1. Quantitative comparison of different ablations of UM-Adapt framework with comparison against prior arts for depth estimation on NYUD-v2. The second column indicates amount of supervised target samples used during $\underline{\text{training.}}$
<table>
<tbody>
<tr>
<th rowspan="2">Method</th>
<th rowspan="2">$\sup.$</th>
<th colspan="3">Error J</th>
<th colspan="3">$\operatorname{Accuracy}$ 个( $\gamma=1.25$</th>
</tr>
<tr>
<th>rel</th>
<th>$\boxed{\log10}$</th>
<th>rms</th>
<th>$\overline{\delta}$ < $\gamma^{\prime}$</th>
<th>W $\overline{\delta}$ <</th>
<th>$\overline{\delta}$ $\overline{<\gamma^3}$</th>
</tr>
<tr>
<td>$\overline{\mathrm{Saxena~et~al.~}[51]}$</td>
<td>795</td>
<td>0.349</td>
<td> </td>
<td>1.214</td>
<td>0.447</td>
<td>0.745</td>
<td>0.897</td>
</tr>
<tr>
<td>Liu et al. $\begin{bmatrix}3.3\\3.3\end{bmatrix}$</td>
<td>795</td>
<td>0.230</td>
<td>0.095</td>
<td>0.824</td>
<td>0.614</td>
<td>0.883</td>
<td>0.975</td>
</tr>
<tr>
<td>Eigen et al. [9]</td>
<td>120K</td>
<td>0.215</td>
<td>-</td>
<td>0.907</td>
<td>0.611</td>
<td>0.887</td>
<td>0.971</td>
</tr>
<tr>
<td>Rov et al. [47]</td>
<td>795</td>
<td>0.187</td>
<td>0.078</td>
<td>0.744</td>
<td> </td>
<td>-</td>
<td> </td>
</tr>
<tr>
<td>Laina et al. [30]</td>
<td>96K</td>
<td>0.129</td>
<td>0.056</td>
<td>0.583</td>
<td>0.801</td>
<td>0.950</td>
<td>0.986</td>
</tr>
<tr>
<td>$\overline{\mathrm{Sir}}$</td>
<td>nultan</td>
<td>eous 111</td>
<td>$ulti-ta$</td>
<td>sklearr</td>
<td>$\overline{\mathrm{ning}}$</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Multi-task baseline</td>
<td>0</td>
<td>0.27</td>
<td>0.095</td>
<td>0.862</td>
<td>0.559</td>
<td>0.852</td>
<td>0.942</td>
</tr>
<tr>
<td>UM- Adapt- B( FCF</td>
<td>0</td>
<td>0.218</td>
<td>0.091</td>
<td>0.679</td>
<td>0.67</td>
<td>0.898</td>
<td>0.974</td>
</tr>
<tr>
<td>UM- Adapt- B(CCR)</td>
<td>0</td>
<td>0.192</td>
<td>0.081</td>
<td>0.754</td>
<td>0.601</td>
<td>0.877</td>
<td>0.971</td>
</tr>
<tr>
<td>UM- Adapt- ( noAdv. ) - 1</td>
<td>0</td>
<td>0.181</td>
<td>0.077</td>
<td>0.743</td>
<td>0.623</td>
<td>0.889</td>
<td>0.978</td>
</tr>
<tr>
<td>UM- Adapt- ( noAdv. ) </td>
<td>0</td>
<td>0.178</td>
<td>0.063</td>
<td>0.712</td>
<td>0.781</td>
<td>0.917</td>
<td>0.984</td>
</tr>
<tr>
<td>UM- Adapt- ( Adv. ) </td>
<td>0</td>
<td>0.175</td>
<td>0.065</td>
<td>0.673</td>
<td>0.783</td>
<td>0.92</td>
<td>0.984</td>
</tr>
<tr>
<td>Wang et al. [58]</td>
<td>795</td>
<td>0.220</td>
<td>0.094</td>
<td>0.745</td>
<td>0.605</td>
<td>0.890</td>
<td>0.970</td>
</tr>
<tr>
<td>Eigen et al.</td>
<td>795</td>
<td>0.158</td>
<td>-</td>
<td>0.641</td>
<td>0.769</td>
<td>0.950</td>
<td>0.988</td>
</tr>
<tr>
<td>Jafari et al. [23]</td>
<td>795</td>
<td>0.157</td>
<td>0.068</td>
<td>0.673</td>
<td>0.762</td>
<td>0.948</td>
<td>0.988</td>
</tr>
<tr>
<td>UM- Adapt- S</td>
<td>795</td>
<td>0.149</td>
<td>0.067</td>
<td>0.637</td>
<td>0.793</td>
<td>0.938</td>
<td>0.983</td>
</tr>
</tbody>
</table>
Table 2. Quantitative comparison of different ablations of UM-Adapt framework with comparison against prior arts for Surface-normal estimation on the standard test-set of NYUD- V2
<table>
<tbody>
<tr>
<th rowspan="2">Method</th>
<th rowspan="2">$\sup.$</th>
<th colspan="2">Error 1</th>
<th colspan="3">$\operatorname{Accuracy}$ $\uparrow$</th>
</tr>
<tr>
<th>mean</th>
<th>${\mathrm{median}}$</th>
<th>$\overline{11.25^{\circ}}$</th>
<th>$\overline{22.5^\circ}$</th>
<th>$\overline{30^\circ}$</th>
</tr>
<tr>
<td>Eigen et al.</td>
<td>120k</td>
<td>$\overline{22.2}$</td>
<td>15.3</td>
<td>38.6</td>
<td>64</td>
<td>$\overline{73.9}$</td>
</tr>
<tr>
<td>PBRS 63</td>
<td>795</td>
<td>21.74</td>
<td>14.75</td>
<td>39.37</td>
<td>66.25</td>
<td>76.06</td>
</tr>
<tr>
<td>SURGE 59</td>
<td>795</td>
<td>20.7</td>
<td>12.2</td>
<td>47.3</td>
<td>68.9</td>
<td>76.6</td>
</tr>
<tr>
<td>GeoNet $[42^{*}$</td>
<td>$30k$</td>
<td>19.0</td>
<td>11.8</td>
<td>48.4</td>
<td>71.5</td>
<td>79.5</td>
</tr>
<tr>
<td>Simulta</td>
<td>aneous</td>
<td>multi-</td>
<td>task lear</td>
<td>$\operatorname{ning}$</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Multi Task Baseline</td>
<td>0</td>
<td>$\overline{25.8}$</td>
<td>18.73</td>
<td>29.65</td>
<td>61.69</td>
<td>$\overline{69.83}$</td>
</tr>
<tr>
<td>UM- Adapt- B( FCF</td>
<td>0</td>
<td>24.6</td>
<td>16.49</td>
<td>37.53</td>
<td>65.73</td>
<td>75.51</td>
</tr>
<tr>
<td>UM- Adapt- B(CCR)</td>
<td>0</td>
<td>23.8</td>
<td>14.67</td>
<td>42.08</td>
<td>69.13</td>
<td>77.28</td>
</tr>
<tr>
<td>UM- Adapt- ( noAdv. ) - 1</td>
<td>0</td>
<td>22.3</td>
<td>15.56</td>
<td>43.17</td>
<td>69.11</td>
<td>78.36</td>
</tr>
<tr>
<td>UM- Adapt- ( noAdv. ) </td>
<td>0</td>
<td>22.2</td>
<td>15.31</td>
<td>43.74</td>
<td>70.18</td>
<td>78.83</td>
</tr>
<tr>
<td>UM- Adapt- ( Adv. ) </td>
<td>0</td>
<td>22.2</td>
<td>15.23</td>
<td>43.68</td>
<td>70.45</td>
<td>78.95</td>
</tr>
<tr>
<td>UM- Adapt- S</td>
<td>795</td>
<td>21.2</td>
<td>13.98</td>
<td>44.66</td>
<td>72.11</td>
<td>81.08</td>
</tr>
</tbody>
</table>
为 228??? 的输入,并在$\mathbb{E}[9]$ 之后进行各种缩放和翻转放大,并输出三个特定于任务的地图,每个地图的大小为 128???。对于合成对应物,我们使用来自 PBRSE [63]数据集的 100,000 个随机抽样的合成渲染以及相应的干净的地面实况图(对于所有三个任务)作为源域样本
为了演示 UM-Adapt 的通用性,我们考虑了两个不同任务的室外场景数据集,即语义分割和深度估计。对于合成源域,我们使用公开可用的 GTA5E[46]数据集,该数据集由 24966 张具有相应深度和分割地面实况的图像组成。然而,对于真实的户外场景,广泛使用的 KITTI 数据集没有与合成对应物兼容的语义标签。另一方面,自然图像 Cityscapes 数据集$\overline{\mathbb{E}[5]}$ 不包含地面实况深度图。因此,为了制定同时的多任务学习问题并与现有技术进行公平的比较,我们考虑在 KITTIE [8]上进行 Eigen 测试拆分,以比较深度估计结果和Cityscapes 验证集,以在单个 UM-Adapt 框架中对我们的室外分割结果进行基准测试。对于半监督设置,我们为备用的 KITTI 和 Cityscapes 迷你批次提供相应
|
[
[
0.08251953125,
0.0921630859375,
0.46728515625,
0.0921630859375,
0.46728515625,
0.1060791015625,
0.08251953125,
0.1060791015625
],
[
0.50341796875,
0.08837890625,
0.89208984375,
0.08837890625,
0.89208984375,
0.10162353515625,
0.50341796875,
0.10162353515625
],
[
0.50244140625,
0.10162353515625,
0.890625,
0.1029052734375,
0.890625,
0.11614990234375,
0.50244140625,
0.11553955078125
],
[
0.08087158203125,
0.10797119140625,
0.468017578125,
0.10797119140625,
0.468017578125,
0.121826171875,
0.08087158203125,
0.121826171875
],
[
0.50244140625,
0.11553955078125,
0.890625,
0.11553955078125,
0.890625,
0.1287841796875,
0.50244140625,
0.1287841796875
],
[
0.08087158203125,
0.12371826171875,
0.468017578125,
0.12371826171875,
0.468017578125,
0.136962890625,
0.08087158203125,
0.136962890625
],
[
0.5009765625,
0.1287841796875,
0.89208984375,
0.1307373046875,
0.89208984375,
0.14453125,
0.5009765625,
0.1427001953125
],
[
0.08251953125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.15283203125,
0.08251953125,
0.15283203125
],
[
0.50341796875,
0.1458740234375,
0.5595703125,
0.1458740234375,
0.5595703125,
0.1572265625,
0.50341796875,
0.1572265625
],
[
0.080078125,
0.15283203125,
0.468017578125,
0.1514892578125,
0.468017578125,
0.1666259765625,
0.080078125,
0.1673583984375
],
[
0.69287109375,
0.1572265625,
0.73193359375,
0.1572265625,
0.73193359375,
0.1685791015625,
0.69287109375,
0.1685791015625
],
[
0.7607421875,
0.1558837890625,
0.890625,
0.1558837890625,
0.890625,
0.169189453125,
0.7607421875,
0.169189453125
],
[
0.6337890625,
0.1622314453125,
0.654296875,
0.1641845703125,
0.65283203125,
0.173583984375,
0.63232421875,
0.1717529296875
],
[
0.08251953125,
0.1673583984375,
0.468017578125,
0.1673583984375,
0.468017578125,
0.18115234375,
0.08251953125,
0.18115234375
],
[
0.6640625,
0.1673583984375,
0.8408203125,
0.1673583984375,
0.8408203125,
0.177978515625,
0.6640625,
0.177978515625
],
[
0.8388671875,
0.1685791015625,
0.88232421875,
0.1685791015625,
0.88232421875,
0.1787109375,
0.8388671875,
0.1787109375
],
[
0.50732421875,
0.1787109375,
0.5986328125,
0.1817626953125,
0.5986328125,
0.1932373046875,
0.50732421875,
0.1900634765625
],
[
0.7294921875,
0.179931640625,
0.83642578125,
0.179931640625,
0.83642578125,
0.1932373046875,
0.7294921875,
0.1932373046875
],
[
0.6337890625,
0.18115234375,
0.69677734375,
0.18115234375,
0.69677734375,
0.1925048828125,
0.6337890625,
0.1925048828125
],
[
0.5087890625,
0.160400390625,
0.5537109375,
0.1622314453125,
0.55224609375,
0.173583984375,
0.50732421875,
0.1717529296875
],
[
0.08087158203125,
0.18310546875,
0.468017578125,
0.18310546875,
0.468017578125,
0.1962890625,
0.08087158203125,
0.1962890625
],
[
0.84619140625,
0.18115234375,
0.8798828125,
0.18115234375,
0.8798828125,
0.1925048828125,
0.84619140625,
0.1925048828125
],
[
0.63232421875,
0.1900634765625,
0.8349609375,
0.1900634765625,
0.8349609375,
0.203857421875,
0.63232421875,
0.203857421875
],
[
0.84716796875,
0.189453125,
0.8798828125,
0.1912841796875,
0.87841796875,
0.203857421875,
0.84619140625,
0.2020263671875
],
[
0.080078125,
0.1962890625,
0.1478271484375,
0.1988525390625,
0.1478271484375,
0.21337890625,
0.080078125,
0.2108154296875
],
[
0.5107421875,
0.1925048828125,
0.5810546875,
0.1925048828125,
0.5810546875,
0.20263671875,
0.5107421875,
0.20263671875
],
[
0.5107421875,
0.20263671875,
0.58642578125,
0.20263671875,
0.58642578125,
0.21337890625,
0.5107421875,
0.21337890625
],
[
0.6337890625,
0.2020263671875,
0.6953125,
0.2020263671875,
0.6953125,
0.21337890625,
0.6337890625,
0.21337890625
],
[
0.73046875,
0.20263671875,
0.833984375,
0.20263671875,
0.833984375,
0.21337890625,
0.73046875,
0.21337890625
],
[
0.84716796875,
0.20263671875,
0.87841796875,
0.20263671875,
0.87841796875,
0.2139892578125,
0.84716796875,
0.2139892578125
],
[
0.5087890625,
0.212158203125,
0.5849609375,
0.2139892578125,
0.5849609375,
0.2259521484375,
0.5087890625,
0.2235107421875
],
[
0.63232421875,
0.212158203125,
0.76123046875,
0.212158203125,
0.76123046875,
0.2259521484375,
0.63232421875,
0.2259521484375
],
[
0.62841796875,
0.2215576171875,
0.79736328125,
0.222900390625,
0.79736328125,
0.236083984375,
0.62841796875,
0.23486328125
],
[
0.1004638671875,
0.2139892578125,
0.468017578125,
0.2139892578125,
0.468017578125,
0.2279052734375,
0.1004638671875,
0.2279052734375
],
[
0.5087890625,
0.2247314453125,
0.5888671875,
0.2247314453125,
0.5888671875,
0.23486328125,
0.5087890625,
0.23486328125
],
[
0.79150390625,
0.2247314453125,
0.833984375,
0.2247314453125,
0.833984375,
0.23486328125,
0.79150390625,
0.23486328125
],
[
0.84716796875,
0.2235107421875,
0.88232421875,
0.2235107421875,
0.88232421875,
0.23486328125,
0.84716796875,
0.23486328125
],
[
0.611328125,
0.2342529296875,
0.7861328125,
0.2342529296875,
0.7861328125,
0.2474365234375,
0.611328125,
0.2474365234375
],
[
0.080078125,
0.24365234375,
0.46728515625,
0.242431640625,
0.46728515625,
0.2568359375,
0.080078125,
0.25830078125
],
[
0.08087158203125,
0.2291259765625,
0.46728515625,
0.2291259765625,
0.46728515625,
0.242431640625,
0.08087158203125,
0.242431640625
],
[
0.5087890625,
0.246826171875,
0.609375,
0.246826171875,
0.609375,
0.2568359375,
0.5087890625,
0.2568359375
],
[
0.6611328125,
0.246826171875,
0.8349609375,
0.246826171875,
0.8349609375,
0.2568359375,
0.6611328125,
0.2568359375
],
[
0.84619140625,
0.246826171875,
0.88232421875,
0.246826171875,
0.88232421875,
0.2568359375,
0.84619140625,
0.2568359375
],
[
0.84716796875,
0.255126953125,
0.8798828125,
0.2568359375,
0.87841796875,
0.26953125,
0.84619140625,
0.267578125
],
[
0.5107421875,
0.2568359375,
0.609375,
0.2568359375,
0.609375,
0.267578125,
0.5107421875,
0.267578125
],
[
0.6640625,
0.2568359375,
0.7939453125,
0.2568359375,
0.7939453125,
0.267578125,
0.6640625,
0.267578125
],
[
0.80126953125,
0.25830078125,
0.83251953125,
0.25830078125,
0.83251953125,
0.266357421875,
0.80126953125,
0.266357421875
],
[
0.08087158203125,
0.2587890625,
0.468017578125,
0.2587890625,
0.468017578125,
0.272705078125,
0.08087158203125,
0.272705078125
],
[
0.6435546875,
0.25,
0.65185546875,
0.25,
0.65185546875,
0.255126953125,
0.6435546875,
0.255126953125
],
[
0.6435546875,
0.2587890625,
0.650390625,
0.2587890625,
0.650390625,
0.26513671875,
0.6435546875,
0.26513671875
],
[
0.5087890625,
0.266357421875,
0.61279296875,
0.267578125,
0.61279296875,
0.279052734375,
0.5087890625,
0.27783203125
],
[
0.66259765625,
0.266357421875,
0.765625,
0.267578125,
0.765625,
0.279052734375,
0.66259765625,
0.27783203125
],
[
0.80126953125,
0.266357421875,
0.83251953125,
0.268310546875,
0.8310546875,
0.27978515625,
0.7998046875,
0.27783203125
],
[
0.84716796875,
0.264404296875,
0.8798828125,
0.268310546875,
0.87744140625,
0.281005859375,
0.8447265625,
0.276611328125
],
[
0.64453125,
0.270751953125,
0.650390625,
0.270751953125,
0.650390625,
0.27587890625,
0.64453125,
0.27587890625
],
[
0.76123046875,
0.26953125,
0.7958984375,
0.26953125,
0.7958984375,
0.279052734375,
0.76123046875,
0.279052734375
],
[
0.66259765625,
0.27587890625,
0.79736328125,
0.276611328125,
0.79736328125,
0.290283203125,
0.66259765625,
0.2890625
],
[
0.8486328125,
0.27783203125,
0.8798828125,
0.27783203125,
0.8798828125,
0.2890625,
0.8486328125,
0.2890625
],
[
0.5107421875,
0.279052734375,
0.62841796875,
0.279052734375,
0.62841796875,
0.2890625,
0.5107421875,
0.2890625
],
[
0.08087158203125,
0.274658203125,
0.46728515625,
0.274658203125,
0.46728515625,
0.28857421875,
0.08087158203125,
0.28857421875
],
[
0.64208984375,
0.281005859375,
0.650390625,
0.281005859375,
0.650390625,
0.285888671875,
0.64208984375,
0.285888671875
],
[
0.79736328125,
0.2822265625,
0.8037109375,
0.2822265625,
0.8037109375,
0.285888671875,
0.79736328125,
0.285888671875
],
[
0.80224609375,
0.27978515625,
0.83251953125,
0.27978515625,
0.83251953125,
0.28857421875,
0.80224609375,
0.28857421875
],
[
0.5087890625,
0.28857421875,
0.61767578125,
0.28857421875,
0.61767578125,
0.3017578125,
0.5087890625,
0.3017578125
],
[
0.6611328125,
0.28857421875,
0.80810546875,
0.28857421875,
0.80810546875,
0.3017578125,
0.6611328125,
0.3017578125
],
[
0.80126953125,
0.2890625,
0.83251953125,
0.2890625,
0.83251953125,
0.300537109375,
0.80126953125,
0.300537109375
],
[
0.84716796875,
0.2890625,
0.8798828125,
0.2890625,
0.8798828125,
0.300537109375,
0.84716796875,
0.300537109375
],
[
0.6435546875,
0.291748046875,
0.65283203125,
0.291748046875,
0.65283203125,
0.298583984375,
0.6435546875,
0.298583984375
],
[
0.08416748046875,
0.291748046875,
0.46728515625,
0.291748046875,
0.46728515625,
0.3017578125,
0.08416748046875,
0.3017578125
],
[
0.5087890625,
0.298583984375,
0.60107421875,
0.2998046875,
0.60107421875,
0.311279296875,
0.5087890625,
0.31005859375
],
[
0.6611328125,
0.298583984375,
0.79736328125,
0.2998046875,
0.79736328125,
0.311279296875,
0.6611328125,
0.31005859375
],
[
0.8486328125,
0.2998046875,
0.8798828125,
0.2998046875,
0.8798828125,
0.311279296875,
0.8486328125,
0.311279296875
],
[
0.80224609375,
0.300537109375,
0.82861328125,
0.300537109375,
0.82861328125,
0.309326171875,
0.80224609375,
0.309326171875
],
[
0.08087158203125,
0.304931640625,
0.468017578125,
0.304931640625,
0.468017578125,
0.318115234375,
0.08087158203125,
0.318115234375
],
[
0.64794921875,
0.300537109375,
0.65283203125,
0.304931640625,
0.64794921875,
0.309326171875,
0.64208984375,
0.304931640625
],
[
0.50732421875,
0.31005859375,
0.57177734375,
0.3125,
0.57177734375,
0.323974609375,
0.50732421875,
0.3212890625
],
[
0.6337890625,
0.311279296875,
0.833984375,
0.311279296875,
0.833984375,
0.3212890625,
0.6337890625,
0.3212890625
],
[
0.84716796875,
0.311279296875,
0.88134765625,
0.311279296875,
0.88134765625,
0.322509765625,
0.84716796875,
0.322509765625
],
[
0.080078125,
0.318115234375,
0.468017578125,
0.3193359375,
0.468017578125,
0.333984375,
0.080078125,
0.333251953125
],
[
0.56787109375,
0.313232421875,
0.5908203125,
0.313232421875,
0.5908203125,
0.32080078125,
0.56787109375,
0.32080078125
],
[
0.6337890625,
0.3193359375,
0.69384765625,
0.3212890625,
0.69384765625,
0.333984375,
0.6337890625,
0.33203125
],
[
0.73046875,
0.3212890625,
0.8349609375,
0.3212890625,
0.8349609375,
0.333984375,
0.73046875,
0.333984375
],
[
0.84716796875,
0.32080078125,
0.8798828125,
0.322509765625,
0.87841796875,
0.333984375,
0.84619140625,
0.33203125
],
[
0.63134765625,
0.330078125,
0.79833984375,
0.330810546875,
0.79833984375,
0.3447265625,
0.63134765625,
0.343505859375
],
[
0.5107421875,
0.322509765625,
0.58837890625,
0.322509765625,
0.58837890625,
0.333984375,
0.5107421875,
0.333984375
],
[
0.08087158203125,
0.333251953125,
0.46728515625,
0.333251953125,
0.46728515625,
0.347900390625,
0.08087158203125,
0.347900390625
],
[
0.5107421875,
0.333251953125,
0.59228515625,
0.333251953125,
0.59228515625,
0.3447265625,
0.5107421875,
0.3447265625
],
[
0.7939453125,
0.333251953125,
0.833984375,
0.333251953125,
0.833984375,
0.343505859375,
0.7939453125,
0.343505859375
],
[
0.84716796875,
0.33203125,
0.8798828125,
0.33203125,
0.8798828125,
0.343505859375,
0.84716796875,
0.343505859375
],
[
0.5107421875,
0.343505859375,
0.580078125,
0.343505859375,
0.580078125,
0.354248046875,
0.5107421875,
0.354248046875
],
[
0.63232421875,
0.34228515625,
0.8349609375,
0.34228515625,
0.8349609375,
0.35595703125,
0.63232421875,
0.35595703125
],
[
0.84716796875,
0.343505859375,
0.88134765625,
0.343505859375,
0.88134765625,
0.354736328125,
0.84716796875,
0.354736328125
],
[
0.08087158203125,
0.35107421875,
0.46728515625,
0.35107421875,
0.46728515625,
0.3642578125,
0.08087158203125,
0.3642578125
],
[
0.08251953125,
0.365478515625,
0.468017578125,
0.365478515625,
0.468017578125,
0.37890625,
0.08251953125,
0.37890625
],
[
0.50341796875,
0.363037109375,
0.8935546875,
0.363037109375,
0.8935546875,
0.37744140625,
0.50341796875,
0.37744140625
],
[
0.07843017578125,
0.37744140625,
0.468017578125,
0.376953125,
0.468017578125,
0.39453125,
0.07843017578125,
0.395751953125
],
[
0.50341796875,
0.37744140625,
0.89208984375,
0.37744140625,
0.89208984375,
0.391357421875,
0.50341796875,
0.391357421875
],
[
0.07843017578125,
0.392578125,
0.256591796875,
0.395751953125,
0.256591796875,
0.412353515625,
0.07843017578125,
0.4091796875
],
[
0.50244140625,
0.39013671875,
0.8935546875,
0.391357421875,
0.8935546875,
0.40478515625,
0.50244140625,
0.404052734375
],
[
0.5009765625,
0.404052734375,
0.576171875,
0.406005859375,
0.576171875,
0.42041015625,
0.5009765625,
0.41845703125
],
[
0.701171875,
0.4140625,
0.7490234375,
0.416748046875,
0.74853515625,
0.43115234375,
0.69921875,
0.4287109375
],
[
0.5107421875,
0.42236328125,
0.5595703125,
0.42236328125,
0.5595703125,
0.434326171875,
0.5107421875,
0.434326171875
],
[
0.64892578125,
0.42236328125,
0.67724609375,
0.425537109375,
0.6748046875,
0.436279296875,
0.64794921875,
0.434326171875
],
[
0.7939453125,
0.417236328125,
0.86376953125,
0.417236328125,
0.86376953125,
0.4287109375,
0.7939453125,
0.4287109375
],
[
0.08087158203125,
0.4267578125,
0.2181396484375,
0.4267578125,
0.2181396484375,
0.43994140625,
0.08087158203125,
0.43994140625
],
[
0.6806640625,
0.4287109375,
0.8505859375,
0.4287109375,
0.8505859375,
0.442626953125,
0.6806640625,
0.442626953125
],
[
0.8486328125,
0.4287109375,
0.88232421875,
0.4287109375,
0.88232421875,
0.43994140625,
0.8486328125,
0.43994140625
],
[
0.50732421875,
0.442626953125,
0.5986328125,
0.4443359375,
0.5986328125,
0.458251953125,
0.50732421875,
0.455810546875
],
[
0.64794921875,
0.4443359375,
0.68701171875,
0.4443359375,
0.68701171875,
0.455810546875,
0.64794921875,
0.455810546875
],
[
0.68115234375,
0.4443359375,
0.7158203125,
0.4443359375,
0.7158203125,
0.455810546875,
0.68115234375,
0.455810546875
],
[
0.7294921875,
0.4443359375,
0.7587890625,
0.4443359375,
0.7587890625,
0.455810546875,
0.7294921875,
0.455810546875
],
[
0.77392578125,
0.4443359375,
0.80615234375,
0.4443359375,
0.80615234375,
0.455810546875,
0.77392578125,
0.455810546875
],
[
0.82275390625,
0.44580078125,
0.84326171875,
0.44580078125,
0.84326171875,
0.455810546875,
0.82275390625,
0.455810546875
],
[
0.85546875,
0.4443359375,
0.88818359375,
0.4443359375,
0.88818359375,
0.455810546875,
0.85546875,
0.455810546875
],
[
0.101318359375,
0.451904296875,
0.46728515625,
0.451904296875,
0.46728515625,
0.46533203125,
0.101318359375,
0.46533203125
],
[
0.68310546875,
0.453857421875,
0.71826171875,
0.455810546875,
0.71728515625,
0.468505859375,
0.68115234375,
0.466552734375
],
[
0.7255859375,
0.455078125,
0.76123046875,
0.45703125,
0.7607421875,
0.468505859375,
0.7236328125,
0.466552734375
],
[
0.8095703125,
0.45263671875,
0.8896484375,
0.455078125,
0.8896484375,
0.4697265625,
0.8095703125,
0.46728515625
],
[
0.650390625,
0.455810546875,
0.6806640625,
0.455810546875,
0.6806640625,
0.468505859375,
0.650390625,
0.468505859375
],
[
0.51123046875,
0.455810546875,
0.576171875,
0.455810546875,
0.576171875,
0.46728515625,
0.51123046875,
0.46728515625
],
[
0.77294921875,
0.455810546875,
0.81787109375,
0.455810546875,
0.81787109375,
0.46728515625,
0.77294921875,
0.46728515625
],
[
0.08251953125,
0.46728515625,
0.465576171875,
0.46728515625,
0.465576171875,
0.48095703125,
0.08251953125,
0.48095703125
],
[
0.5087890625,
0.466552734375,
0.5849609375,
0.468505859375,
0.5849609375,
0.481689453125,
0.5087890625,
0.479736328125
],
[
0.650390625,
0.468505859375,
0.67626953125,
0.468505859375,
0.67626953125,
0.48095703125,
0.650390625,
0.48095703125
],
[
0.685546875,
0.468505859375,
0.7138671875,
0.468505859375,
0.7138671875,
0.48095703125,
0.685546875,
0.48095703125
],
[
0.73046875,
0.468505859375,
0.75732421875,
0.468505859375,
0.75732421875,
0.48095703125,
0.73046875,
0.48095703125
],
[
0.77783203125,
0.468505859375,
0.80615234375,
0.468505859375,
0.80615234375,
0.48095703125,
0.77783203125,
0.48095703125
],
[
0.81787109375,
0.468505859375,
0.8486328125,
0.468505859375,
0.8486328125,
0.48095703125,
0.81787109375,
0.48095703125
],
[
0.85546875,
0.468505859375,
0.8857421875,
0.468505859375,
0.8857421875,
0.48095703125,
0.85546875,
0.48095703125
],
[
0.5107421875,
0.48095703125,
0.5810546875,
0.48095703125,
0.5810546875,
0.492431640625,
0.5107421875,
0.492431640625
],
[
0.64892578125,
0.48095703125,
0.67724609375,
0.48095703125,
0.67724609375,
0.49365234375,
0.64892578125,
0.49365234375
],
[
0.685546875,
0.48095703125,
0.7138671875,
0.48095703125,
0.7138671875,
0.492431640625,
0.685546875,
0.492431640625
],
[
0.73046875,
0.48095703125,
0.7607421875,
0.48095703125,
0.7607421875,
0.49365234375,
0.73046875,
0.49365234375
],
[
0.77783203125,
0.48095703125,
0.80615234375,
0.48095703125,
0.80615234375,
0.49365234375,
0.77783203125,
0.49365234375
],
[
0.81787109375,
0.48095703125,
0.8486328125,
0.48095703125,
0.8486328125,
0.49365234375,
0.81787109375,
0.49365234375
],
[
0.8544921875,
0.48095703125,
0.88623046875,
0.48095703125,
0.88623046875,
0.49365234375,
0.8544921875,
0.49365234375
],
[
0.6005859375,
0.492431640625,
0.79833984375,
0.492431640625,
0.79833984375,
0.5068359375,
0.6005859375,
0.5068359375
],
[
0.08087158203125,
0.481689453125,
0.468017578125,
0.481689453125,
0.468017578125,
0.49560546875,
0.08087158203125,
0.49560546875
],
[
0.08087158203125,
0.49755859375,
0.468017578125,
0.49755859375,
0.468017578125,
0.51123046875,
0.08087158203125,
0.51123046875
],
[
0.5087890625,
0.5048828125,
0.63134765625,
0.5048828125,
0.63134765625,
0.51806640625,
0.5087890625,
0.51806640625
],
[
0.6845703125,
0.505859375,
0.7158203125,
0.505859375,
0.7158203125,
0.517578125,
0.6845703125,
0.517578125
],
[
0.72607421875,
0.505859375,
0.76318359375,
0.505859375,
0.76318359375,
0.517578125,
0.72607421875,
0.517578125
],
[
0.76953125,
0.5048828125,
0.890625,
0.5048828125,
0.890625,
0.51806640625,
0.76953125,
0.51806640625
],
[
0.08087158203125,
0.51318359375,
0.1953125,
0.51318359375,
0.1953125,
0.5263671875,
0.08087158203125,
0.5263671875
],
[
0.66015625,
0.5087890625,
0.6689453125,
0.5087890625,
0.6689453125,
0.5166015625,
0.66015625,
0.5166015625
],
[
0.5107421875,
0.517578125,
0.6259765625,
0.517578125,
0.6259765625,
0.53076171875,
0.5107421875,
0.53076171875
],
[
0.685546875,
0.517578125,
0.71728515625,
0.517578125,
0.71728515625,
0.52978515625,
0.685546875,
0.52978515625
],
[
0.72607421875,
0.51806640625,
0.76318359375,
0.51806640625,
0.76318359375,
0.52978515625,
0.72607421875,
0.52978515625
],
[
0.77294921875,
0.517578125,
0.88818359375,
0.517578125,
0.88818359375,
0.53076171875,
0.77294921875,
0.53076171875
],
[
0.5107421875,
0.52978515625,
0.62744140625,
0.52978515625,
0.62744140625,
0.54345703125,
0.5107421875,
0.54345703125
],
[
0.65869140625,
0.51953125,
0.6689453125,
0.51953125,
0.6689453125,
0.52978515625,
0.65869140625,
0.52978515625
],
[
0.685546875,
0.52978515625,
0.7158203125,
0.52978515625,
0.7158203125,
0.54248046875,
0.685546875,
0.54248046875
],
[
0.72607421875,
0.53076171875,
0.7607421875,
0.53076171875,
0.7607421875,
0.54248046875,
0.72607421875,
0.54248046875
],
[
0.77392578125,
0.52978515625,
0.8896484375,
0.52978515625,
0.8896484375,
0.54345703125,
0.77392578125,
0.54345703125
],
[
0.080078125,
0.53857421875,
0.283447265625,
0.5390625,
0.283447265625,
0.5537109375,
0.080078125,
0.55322265625
],
[
0.65869140625,
0.5322265625,
0.6689453125,
0.5322265625,
0.6689453125,
0.54248046875,
0.65869140625,
0.54248046875
],
[
0.5107421875,
0.54248046875,
0.6435546875,
0.54248046875,
0.6435546875,
0.55615234375,
0.5107421875,
0.55615234375
],
[
0.685546875,
0.54248046875,
0.7158203125,
0.54248046875,
0.7158203125,
0.5546875,
0.685546875,
0.5546875
],
[
0.72607421875,
0.54345703125,
0.76123046875,
0.54345703125,
0.76123046875,
0.5546875,
0.72607421875,
0.5546875
],
[
0.77392578125,
0.54248046875,
0.8896484375,
0.54248046875,
0.8896484375,
0.55615234375,
0.77392578125,
0.55615234375
],
[
0.5107421875,
0.55322265625,
0.6298828125,
0.5546875,
0.6298828125,
0.568359375,
0.5107421875,
0.56640625
],
[
0.6611328125,
0.54541015625,
0.66845703125,
0.54541015625,
0.66845703125,
0.55322265625,
0.6611328125,
0.55322265625
],
[
0.68701171875,
0.5537109375,
0.7138671875,
0.5537109375,
0.7138671875,
0.56640625,
0.68701171875,
0.56640625
],
[
0.72802734375,
0.5546875,
0.7607421875,
0.5546875,
0.7607421875,
0.5673828125,
0.72802734375,
0.5673828125
],
[
0.77392578125,
0.5537109375,
0.8896484375,
0.5537109375,
0.8896484375,
0.5673828125,
0.77392578125,
0.5673828125
],
[
0.1004638671875,
0.5625,
0.468017578125,
0.5625,
0.468017578125,
0.5771484375,
0.1004638671875,
0.5771484375
],
[
0.6611328125,
0.55810546875,
0.66845703125,
0.55810546875,
0.66845703125,
0.56494140625,
0.6611328125,
0.56494140625
],
[
0.5087890625,
0.56494140625,
0.619140625,
0.56640625,
0.619140625,
0.58056640625,
0.5087890625,
0.580078125
],
[
0.685546875,
0.56640625,
0.7138671875,
0.56640625,
0.7138671875,
0.5791015625,
0.685546875,
0.5791015625
],
[
0.72802734375,
0.5673828125,
0.76123046875,
0.5673828125,
0.76123046875,
0.580078125,
0.72802734375,
0.580078125
],
[
0.77392578125,
0.56640625,
0.8896484375,
0.56640625,
0.8896484375,
0.58056640625,
0.77392578125,
0.58056640625
],
[
0.080078125,
0.57470703125,
0.46728515625,
0.5771484375,
0.46728515625,
0.5947265625,
0.080078125,
0.59228515625
],
[
0.65869140625,
0.568359375,
0.6689453125,
0.568359375,
0.6689453125,
0.5791015625,
0.65869140625,
0.5791015625
],
[
0.50732421875,
0.57763671875,
0.5908203125,
0.580078125,
0.5908203125,
0.5947265625,
0.50732421875,
0.59228515625
],
[
0.646484375,
0.5791015625,
0.71728515625,
0.5791015625,
0.71728515625,
0.59326171875,
0.646484375,
0.59326171875
],
[
0.72607421875,
0.580078125,
0.890625,
0.580078125,
0.890625,
0.59326171875,
0.72607421875,
0.59326171875
],
[
0.0931396484375,
0.59326171875,
0.46728515625,
0.59326171875,
0.46728515625,
0.60791015625,
0.0931396484375,
0.60791015625
],
[
0.08251953125,
0.609375,
0.468017578125,
0.609375,
0.468017578125,
0.62255859375,
0.08251953125,
0.62255859375
],
[
0.50341796875,
0.61279296875,
0.8896484375,
0.61279296875,
0.8896484375,
0.62744140625,
0.50341796875,
0.62744140625
],
[
0.08087158203125,
0.62353515625,
0.4697265625,
0.62353515625,
0.4697265625,
0.63720703125,
0.08087158203125,
0.63720703125
],
[
0.07598876953125,
0.63330078125,
0.4697265625,
0.63623046875,
0.4697265625,
0.6572265625,
0.07598876953125,
0.65380859375
],
[
0.50341796875,
0.6298828125,
0.890625,
0.6298828125,
0.890625,
0.64306640625,
0.50341796875,
0.64306640625
],
[
0.50341796875,
0.64453125,
0.890625,
0.64306640625,
0.890625,
0.65771484375,
0.50341796875,
0.6591796875
],
[
0.08251953125,
0.65380859375,
0.468017578125,
0.65380859375,
0.468017578125,
0.66748046875,
0.08251953125,
0.66748046875
],
[
0.080078125,
0.6640625,
0.4697265625,
0.66552734375,
0.4697265625,
0.6845703125,
0.080078125,
0.68310546875
],
[
0.5048828125,
0.66015625,
0.890625,
0.66015625,
0.890625,
0.673828125,
0.5048828125,
0.673828125
],
[
0.50244140625,
0.673828125,
0.890625,
0.6748046875,
0.890625,
0.689453125,
0.50244140625,
0.68798828125
],
[
0.080078125,
0.681640625,
0.468017578125,
0.68310546875,
0.468017578125,
0.69775390625,
0.080078125,
0.6962890625
],
[
0.50341796875,
0.68994140625,
0.52294921875,
0.68994140625,
0.52294921875,
0.70263671875,
0.50341796875,
0.70263671875
],
[
0.08087158203125,
0.69873046875,
0.423095703125,
0.69873046875,
0.423095703125,
0.7119140625,
0.08087158203125,
0.7119140625
],
[
0.52392578125,
0.70556640625,
0.890625,
0.70556640625,
0.890625,
0.7197265625,
0.52392578125,
0.7197265625
],
[
0.101318359375,
0.7138671875,
0.468017578125,
0.7138671875,
0.468017578125,
0.72802734375,
0.101318359375,
0.72802734375
],
[
0.5048828125,
0.72021484375,
0.89208984375,
0.72021484375,
0.89208984375,
0.734375,
0.5048828125,
0.734375
],
[
0.08087158203125,
0.72998046875,
0.468017578125,
0.72998046875,
0.468017578125,
0.74365234375,
0.08087158203125,
0.74365234375
],
[
0.5048828125,
0.736328125,
0.890625,
0.736328125,
0.890625,
0.75,
0.5048828125,
0.75
],
[
0.080078125,
0.74365234375,
0.4697265625,
0.74365234375,
0.4697265625,
0.76123046875,
0.080078125,
0.76123046875
],
[
0.5048828125,
0.75244140625,
0.8896484375,
0.75244140625,
0.8896484375,
0.76318359375,
0.5048828125,
0.76318359375
],
[
0.08087158203125,
0.76025390625,
0.468017578125,
0.76025390625,
0.468017578125,
0.7744140625,
0.08087158203125,
0.7744140625
],
[
0.50341796875,
0.7666015625,
0.8896484375,
0.7666015625,
0.8896484375,
0.77978515625,
0.50341796875,
0.77978515625
],
[
0.08087158203125,
0.7734375,
0.291748046875,
0.77587890625,
0.291748046875,
0.79052734375,
0.08087158203125,
0.78857421875
],
[
0.50244140625,
0.77978515625,
0.88818359375,
0.78076171875,
0.88818359375,
0.79541015625,
0.50244140625,
0.79443359375
],
[
0.08087158203125,
0.796875,
0.46728515625,
0.796875,
0.46728515625,
0.81005859375,
0.08087158203125,
0.81005859375
],
[
0.50341796875,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.50341796875,
0.81005859375
],
[
0.08087158203125,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.50341796875,
0.81103515625,
0.8896484375,
0.81103515625,
0.8896484375,
0.82470703125,
0.50341796875,
0.82470703125
],
[
0.08251953125,
0.82763671875,
0.468017578125,
0.82763671875,
0.468017578125,
0.83837890625,
0.08251953125,
0.83837890625
],
[
0.50244140625,
0.82470703125,
0.890625,
0.82568359375,
0.890625,
0.84033203125,
0.50244140625,
0.8388671875
],
[
0.08251953125,
0.84130859375,
0.468017578125,
0.84130859375,
0.468017578125,
0.85498046875,
0.08251953125,
0.85498046875
],
[
0.5048828125,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.08087158203125,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.08087158203125,
0.87060546875
],
[
0.50341796875,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.5048828125,
0.87255859375,
0.89208984375,
0.87255859375,
0.89208984375,
0.88623046875,
0.5048828125,
0.88623046875
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"Mt的可训练参数被更新,以将低能量分配给预测的目",
"Table 1.Quantitative comparison of different ablations of",
"UM-Adapt framework with comparison against prior arts",
"标预测元组,如Ct所强制的(参见算法E2)。连同",
"for depth estimation on NYUD-v2.The second column",
"先前介绍的CCR正则化,Ores5的最终更新方程表示",
"indicates amount of supervised target samples used during",
"为CG+入CcCR。我们为每个任务的能量函数使用不",
"training.",
"同的优化器,ti。因此,Ores5经过优化,即使在完全",
"Error ",
"Accuracyt(-1.25)",
"sup",
"无监督的环境中,也能在所有任务中获得平衡的性能。",
"rellog10rms<8<?",
"d<",
"Saxena et al. [5]",
"1.2140.4470.745",
"7950.349",
"Method",
"我们将此框架表示为UM-Adapt-(Adv。)在本文的其",
"0.897",
"7950.230 0.095 0.8240.6140.883",
"0.975",
"他章节中",
"Liu et al. 33]",
"Eigen et al. 9]",
"120K0.215",
"0.9070.6110.887",
"0.971",
"Roy et al. [47]",
"7950.187 0.078 0.744",
"96K0.1290.0560.5830.801",
"请注意,由于编码器-解码器设置的结果,由于压缩",
"Laina et al. [30",
"10.950",
"0.986",
"Simultaneous multi-task learning",
"在地面实况输出图上进行训练。这使得N→能够学习",
"的潜在表示,任务转移网络仅在充分正则化的情况下",
"Multi-task baseline",
"0.270.0950.8620.5590.852",
"0.942",
"0.974",
"UM-Adapt-B(FCF)",
"0.2180.0910.6790.67",
"0.898",
"预期的跨任务能量流形的更好的近似,即使在没有负",
"",
"0",
"UM-Adapt-B(CCR)",
"0.1920.081 0.754",
"0.877",
"0.971",
"0",
"0.601",
"0.1810.0770.7430.623",
"0.978",
"UM-Adapt-(noAdv.)-1",
"面例子(目标样本)的情况下【64]。此类比在算法E1",
"0",
"",
"0.889",
"UM-Adapt-(noAdv.)",
"0.1780.063 0.7120.781",
"0.917",
"0.984",
"0",
"中用于有效地将冻结的任务转移网络视为能量函数,以",
"UM-Adapt-(Adv.",
"0.1750.0650.6730.783",
"0.984",
"0.92",
"在完全监督的源域样本上实现所有任务之间的平衡性",
"1",
"Wang et al.",
"7950.2200.0940.7450.6050.890",
"0.970",
"能。在此之后,我们计划制定一个消融的UM-Adapt,",
".58",
"7950.158",
"0.6410.7690.950",
"0.988",
"7950.1570.0680.6730.762",
"Eigen et al. [8]",
"在那里我们抑制参数更新的N→算法2。我们将此",
"Jafari et al. [23]",
"0.948",
"0.988",
"UM-Adapt-S",
"7950.149 0.067 0.6370.7930.938",
"0.983",
"框架表示为UM-Adapt-(noAdv。)在本文的其他章节",
"中。此修改优雅地简化了无监督自适应算法,因为它最",
"Table 2. Quantitative comparison of different ablations of",
"终仅保留Qres5作为可训练参数的最小集合(将N→t",
"UM-Adapt framework with comparison against prior arts",
"的冻结参数作为0%→)",
"for Surface-normal estimation on the standard test-set of",
"NYUD-v2.",
"Error!",
"Method",
"sup.",
"Accuracy↑",
"4.Experiments",
"meanmedian11.25°22.5°",
"30°",
"Eigen et al. [8]",
"120k",
"22.2",
"15.3",
"38.6",
"64",
"73.9",
"为了证明所提出框架的有效性,我们分别针对室内",
"21.74",
"14.75",
"66.2576.06",
"795",
"PBRS [63]",
"39.37",
"和室外场景对三个不同的公开可用基准数据集进行了",
"SURGE [59]",
"795",
"20.7",
"12.2",
"47.3",
"68.9",
"76.6",
"GeoNet[12]",
"30k",
"19.0",
"11.8",
"48.4",
"71.5",
"79.5",
"Simultaneous multi-task learning",
"评估。此外,在本节中,我们将详细讨论我们的适应性",
"设置以及对标准评估指标的结果分析,以便与现有技",
"Multi Task Baseline",
"25.8",
"18.73",
"29.6561.6969.83",
"术进行公平比较",
"0",
"UM-Adapt-B(FCF)",
"24.6",
"16.49",
"37.53 65.73 75.51",
"UM-Adapt-B(CCR)",
"0",
"23.8",
"14.67",
"42.08 69.13 77.28",
"4.1.Experimental Setting",
"0",
"UM-Adapt-(noAdv.)-1",
"22.3",
"15.56",
"43.17 69.11 78.36",
"UM-Adapt-(noAdv.)",
"0",
"22.2",
"15.31",
"43.74 70.18 78.83",
"我们完全按照Lianaetal.E[30]提出的编码器-解码",
"0",
"UM-Adapt-(Adv.)",
"22.2",
"15.23",
"43.68 70.45 78.95",
"器体系结构。解码器架构被复制三次,分别形成Cdepth",
"0",
"UM-Adapt-S",
"79521.2",
"13.9844.6672.1181.08",
"Cnormal和Cseg。然而,根据标准要求,最终基于任",
"务的预测层的特征图和非线性的数量被采用。我们使",
"为228???的输入,并在E[9]之后进行各种缩放和翻转",
"用BerHu损失[30]作为深度估计任务的损失函数,i。",
"e。Cdepth(,)。遵循 Eigen et al.回[8],将每个像素位",
"放大,并输出三个特定于任务的地图,每个地图的大小",
"为128???。对于合成对应物,我们使用来自PBRSE",
"置的单位法线向量上的元素点积的倒数视为表面法线",
"估计Cnormal(,)的损失函数。类似地,对于分段,i。",
"[63]数据集的100,000个随机抽样的合成染以及相应",
"的干净的地面实况图(对于所有三个任务)作为源域样",
"eCseg(),通过加权方案实现了基于分类的交叉摘损",
"本",
"失,以根据其覆盖范围平衡来自不同类别的梯度",
"为了演示UM-Adapt的通用性,我们考虑了两个不",
"我们还考虑了半监督设置(UM-Adapt-S),其中训练",
"同任务的室外场景数据集,即语义分割和深度估计。对",
"从训练的无监督版本UM-Adapt-(Adv。)。为了更好的",
"于合成源域,我们使用公开可用的GTA5E[46]数据",
"泛化,使用标记(优化监督损失,Ctlist.)和未标记(优",
"集,该数据集由24966张具有相应深度和分割地面实",
"化无监督损失,C+入CcCR)目标样本的交替批次来",
"况的图像组成。然而,对于真实的户外场景,广泛使用",
"更新网络参数(i。e。Ores5)。",
"的KITTI数据集没有与合成对应物兼容的语义标签",
"数据集。对于室内场景的表示学习,我们使用公开可用",
"另一方面,自然图像Cityscapes数据集E[5]不包含地",
"的NYUD-v2E[52数据集,该数据集已广泛用于深度",
"面实况深度图。因此,为了制定同时的多任务学习问题",
"估计,语义分割和表面法线估计的有监督多任务预测。",
"并与现有技术进行公平的比较,我们考虑在KITTIE",
"数据集的处理版本由1449个样本图像组成,标准分割",
"[8]上进行Eigen测试拆分,以比较深度估计结果和",
"为795个用于训练,654个用于测试。在半监督设置中",
"Cityscapes验证集,以在单个UM-Adapt框架中对我",
"进行调整时,我们使用所有3个任务(795个训练图",
"们的室外分割结果进行基准测试。对于半监督设置,我",
"像)的相应地面实况图进行监督损失。CNN采用大小",
"们为备用的KITTI和Cityscapes迷你批次提供相应"
] |
{
"arxiv_id": "1908.03884",
"language": "zh",
"page_idx": 4
}
|
||
2111.04190-zh-2
|
2111.04190-zh-2.jpg
|
VizAl: Selecting Accurate Visualizations of Numerical Data
的表现。换句话说,VizAl 明确地建立在 Tufte 的两个经典之上,以实现良好的可视化$\underline{\mathrm{E}}[22]$ ,即。, (a)“a good visualization should be a distortion-free representation of the underlying data" and (b)“be closely integrated with the statistical description of the dataset". VizAl 会自动为给定数据集生成许多替代可视化,评估它们 (在统计上) 表示基础数据的程度,然后选择性能最好的一个。可视化本身的评估是使用基于标准 ConvNets 集合的深度卷积神经网络完成的,该网络从可视化中提取特征,可用于预测数据的汇总统计信息。例如,在图 1中,底层数据是使用散点图、线图和密度图绘制的 (我们使用了 Plotly 的ChartStudio 来绘制这些图,尽管我们的工作可以很容易地与任何其他绘图软件一起使用)。其中,VizAl 将密度图列为最佳, 这一点得到了我们众包评估的进一步证实(详情见6节)
Note that our focus in this paper is on generating visualizations of numerical datasets rather than datasets with varied data types, such as textual, categorical, temporal, etc., across data fields. Often these data types are transformed as part of data preprocessing into an appropriate numerical representation before their visualization [5,17] .VizAl can be adapted to incorporate these preprocessing steps as well. With numerical data, commonly used visualizations are line, scatter, area, bar and pie charts, and more sophisticated settings require density plots. 除了开发可视化推荐框架外,我们的工作还包括开发各种可视化的系统性能评估措施。事实上,它是可视化研究人员的一个重要课题[2]。我们相信, 我们提取底层数据的统计特征的方法模仿了人类对这些可视化的感知,并提供了一个框架,可以扩展到考虑到像图的配色方案选择等方面
## 1.1 Contributions
总而言之,我们在本文中做出了以下主要贡献:
(1) We present a novel framework for automatically evaluating the“goodness” of a visualization in terms of the accuracy of extracting various statistics of the underlying data, just from the visualization alone. Our approach does not rely on axis or key labels in the plot, or any other numerical/textual content that may be embedded in the plot.
(2) Based on the above, we present VizAl, an intelligent visualization recommendation system based on generative-discriminative framework. It uses a deep convolutional neural network for generating various statistical features from the plot, and a discriminator that selects the plot with the lowest error in predicting aggregate statistics of the underlying data.
(3) We conduct a detailed evaluation, using real-world (from Plot.ly) visualizations along with a visualization learning and benchmarking repository, VizNet [12] and the results show that VizAl offers high quality recommendations nearly as good as human evaluators.
# 1.2 Organization
本文的其余部分组织如下:在$\overline{\mathrm{E}}$2 节中,我们讨论了与本文所追求的思想相关的工作。这些范围包括人类对可视化的感知, 机器对可视化的感知以及各种自动化可视化推荐系统的研究。接下来,在3节中,我们提出了关于如何评估可视化质量的关键假设,并提出了我们的问题陈述。VizAl 系统的各个方面, 包括统计特征和用于从可视化中提取这些特征的 CNN, 将在 4节中详细描述。接下来是$\overline{\mathbb{E}}$6 节中我们的实验框架的详细信息,
CODS-COMAD 2022, January 8-10, 2022, Bangalore, India
以及$\overline{\mathrm{E}}$7 节中实际数据集的结果。最后,我们在 8 节中总结并
概述了未来的研究方向
## 2 $\textbf{RELATED WORK}$
我们的工作重点是利用经过训练的深度卷积神经网络来模拟人类对可视化的感知,以自动选择最佳可视化。在本节中,我们将回顾这些领域的先前工作
2.1 Human Perception of Visualizations
早期的工作通过实验证明,数据,均值和相关性的汇总统计数据可以分别被人类从数据可视化中高精度地感知并进行跨类别比较$\mathbb{E}[7,9]$。随后通过广泛的人类研究对图表感知进行的分析发现,可以从良好的可视化效果中推断出个人特征以及数据汇总$\boxed{\mathbb{E}}[14]$ 。他们改变了列数和数据的熵,表明对于少量的列,人类可以感知到差异,甚至可以感知到总体的单个值, 例如错误率低的平均值
使用大规模众包研究,[21]证明了人类在寻找数据聚合(例如总和)和极值等任务中的表现(准确性和花费的时间)受到可视化类型的高度影响(散点,条,表等)
我们的工作建立在这些见解的基础上,以对聚合和极值的感知进行建模,以帮助确定给定数据的最合适的可视化形式
## 2.2 $\textbf{CNNs for Data Visualization}$ Understanding
DeepCNN 对于图像上的各种学习任务非常受欢迎[10,20] 。将数据可视化视为图像,它们已应用于视觉 QA,焦点跟踪等任务。例如,[13] 使用 CNN 和 OCR 输出的组合来回答可视化问题。作为自动学习视觉重要性问题的解决方案,我。e。用户可能关注的信息图中的位置,[4] 使用完全卷积网络来创建重要性图
最近[8] 对应用于可视化的 CNN 进行了评估。他们试图从呈现给网络的可视化图像中回归位置,长度和面积等基本定量特征。他们认为,尽管 CNN 可以为约束良好的问题回归数量,但它们需要广泛的培训才能跨任务进行概括
2.3 Visualization recommendatior
最近有许多努力使给定数据集的可视化推荐过程自动化。我们简要调查了四部在这个方向上显示出重大希望的最新作品
Data2Vis [5] tackles the visualization generation problem as a language translation problem where data specifications are mapped to visualization specifications. It uses an LSTM based neural translation model to learn a mapping between JSON encoded data and a Vega-lite visualization specification. The model is trained using 4,300 Vega-lite examples. Their model was in an elementary way able to learn the vocabulary and syntax for a valid visualization specification, appropriate transformations (count, bins, mean) and how to use common data selection patterns that occur within data visualizations.
VizML[11] formulates visualization recommendation as making design choices. It learns these choices from a large corpus of one million dataset-visualization pairs collected from Plot.ly public studio of visualizations. They use 841 hand-coded features to train their recommendation networks to make encoding-level and visualization-level design choices. VizML verified that certain steps in a visualization generation pipeline can be learned well using neural networks
|
[
[
0.0849609375,
0.07452392578125,
0.366943359375,
0.07574462890625,
0.366943359375,
0.0889892578125,
0.0849609375,
0.08837890625
],
[
0.6357421875,
0.07574462890625,
0.91259765625,
0.0770263671875,
0.91259765625,
0.08837890625,
0.6357421875,
0.08709716796875
],
[
0.08660888671875,
0.10797119140625,
0.4794921875,
0.10797119140625,
0.4794921875,
0.121826171875,
0.08660888671875,
0.121826171875
],
[
0.5185546875,
0.10797119140625,
0.9111328125,
0.10797119140625,
0.9111328125,
0.121826171875,
0.5185546875,
0.121826171875
],
[
0.08660888671875,
0.121826171875,
0.48046875,
0.121826171875,
0.48046875,
0.1351318359375,
0.08660888671875,
0.1351318359375
],
[
0.5185546875,
0.12249755859375,
0.66650390625,
0.12249755859375,
0.66650390625,
0.1363525390625,
0.5185546875,
0.1363525390625
],
[
0.0849609375,
0.1351318359375,
0.47802734375,
0.1351318359375,
0.47802734375,
0.1483154296875,
0.0849609375,
0.1483154296875
],
[
0.51708984375,
0.149658203125,
0.5458984375,
0.149658203125,
0.5458984375,
0.1610107421875,
0.51708984375,
0.1610107421875
],
[
0.54736328125,
0.1483154296875,
0.6953125,
0.1483154296875,
0.6953125,
0.1622314453125,
0.54736328125,
0.1622314453125
],
[
0.08660888671875,
0.1634521484375,
0.48193359375,
0.1634521484375,
0.48193359375,
0.1767578125,
0.08660888671875,
0.1767578125
],
[
0.0882568359375,
0.1514892578125,
0.4794921875,
0.1514892578125,
0.4794921875,
0.1622314453125,
0.0882568359375,
0.1622314453125
],
[
0.5185546875,
0.1666259765625,
0.91259765625,
0.1666259765625,
0.91259765625,
0.179931640625,
0.5185546875,
0.179931640625
],
[
0.0882568359375,
0.1787109375,
0.48046875,
0.1787109375,
0.48046875,
0.189453125,
0.0882568359375,
0.189453125
],
[
0.51953125,
0.179931640625,
0.9140625,
0.179931640625,
0.9140625,
0.1932373046875,
0.51953125,
0.1932373046875
],
[
0.08660888671875,
0.1912841796875,
0.48046875,
0.1912841796875,
0.48046875,
0.2052001953125,
0.08660888671875,
0.2052001953125
],
[
0.51953125,
0.1956787109375,
0.708984375,
0.1956787109375,
0.708984375,
0.205810546875,
0.51953125,
0.205810546875
],
[
0.0849609375,
0.2052001953125,
0.48046875,
0.203857421875,
0.48046875,
0.2171630859375,
0.0849609375,
0.2183837890625
],
[
0.08905029296875,
0.2203369140625,
0.4794921875,
0.2203369140625,
0.4794921875,
0.2310791015625,
0.08905029296875,
0.2310791015625
],
[
0.51708984375,
0.2203369140625,
0.85693359375,
0.2203369140625,
0.85693359375,
0.2342529296875,
0.51708984375,
0.2342529296875
],
[
0.0882568359375,
0.23291015625,
0.48193359375,
0.23291015625,
0.48193359375,
0.246826171875,
0.0882568359375,
0.246826171875
],
[
0.51953125,
0.238037109375,
0.91259765625,
0.238037109375,
0.91259765625,
0.251953125,
0.51953125,
0.251953125
],
[
0.0882568359375,
0.246826171875,
0.48046875,
0.246826171875,
0.48046875,
0.260009765625,
0.0882568359375,
0.260009765625
],
[
0.51708984375,
0.251953125,
0.91259765625,
0.251953125,
0.91259765625,
0.26513671875,
0.51708984375,
0.26513671875
],
[
0.08660888671875,
0.260009765625,
0.4794921875,
0.260009765625,
0.4794921875,
0.2734375,
0.08660888671875,
0.2734375
],
[
0.5185546875,
0.26513671875,
0.91259765625,
0.26513671875,
0.91259765625,
0.279052734375,
0.5185546875,
0.279052734375
],
[
0.08660888671875,
0.274658203125,
0.4453125,
0.274658203125,
0.4453125,
0.28857421875,
0.08660888671875,
0.28857421875
],
[
0.51953125,
0.27978515625,
0.91259765625,
0.27978515625,
0.91259765625,
0.29345703125,
0.51953125,
0.29345703125
],
[
0.101318359375,
0.287353515625,
0.48046875,
0.287353515625,
0.48046875,
0.300537109375,
0.101318359375,
0.300537109375
],
[
0.5185546875,
0.29345703125,
0.91259765625,
0.29345703125,
0.91259765625,
0.306884765625,
0.5185546875,
0.306884765625
],
[
0.08416748046875,
0.300537109375,
0.4794921875,
0.3017578125,
0.4794921875,
0.31640625,
0.08416748046875,
0.31494140625
],
[
0.5185546875,
0.30810546875,
0.91259765625,
0.30810546875,
0.91259765625,
0.3212890625,
0.5185546875,
0.3212890625
],
[
0.0849609375,
0.31640625,
0.48193359375,
0.31640625,
0.48193359375,
0.330078125,
0.0849609375,
0.330078125
],
[
0.5185546875,
0.3212890625,
0.66845703125,
0.3212890625,
0.66845703125,
0.335205078125,
0.5185546875,
0.335205078125
],
[
0.0849609375,
0.330078125,
0.48193359375,
0.330078125,
0.48193359375,
0.343505859375,
0.0849609375,
0.343505859375
],
[
0.53369140625,
0.335205078125,
0.91259765625,
0.335205078125,
0.91259765625,
0.348388671875,
0.53369140625,
0.348388671875
],
[
0.0849609375,
0.3447265625,
0.48193359375,
0.34228515625,
0.48193359375,
0.35595703125,
0.0849609375,
0.35791015625
],
[
0.51953125,
0.349853515625,
0.91259765625,
0.349853515625,
0.91259765625,
0.363037109375,
0.51953125,
0.363037109375
],
[
0.0849609375,
0.35791015625,
0.48046875,
0.35791015625,
0.48046875,
0.371826171875,
0.0849609375,
0.371826171875
],
[
0.51953125,
0.363037109375,
0.79150390625,
0.363037109375,
0.79150390625,
0.376953125,
0.51953125,
0.376953125
],
[
0.0849609375,
0.371826171875,
0.483642578125,
0.37060546875,
0.483642578125,
0.385009765625,
0.0849609375,
0.386474609375
],
[
0.53369140625,
0.376953125,
0.91259765625,
0.376953125,
0.91259765625,
0.39013671875,
0.53369140625,
0.39013671875
],
[
0.0882568359375,
0.386962890625,
0.4794921875,
0.386962890625,
0.4794921875,
0.397705078125,
0.0882568359375,
0.397705078125
],
[
0.5185546875,
0.391357421875,
0.90185546875,
0.391357421875,
0.90185546875,
0.40478515625,
0.5185546875,
0.40478515625
],
[
0.08660888671875,
0.399658203125,
0.48046875,
0.399658203125,
0.48046875,
0.41357421875,
0.08660888671875,
0.41357421875
],
[
0.0882568359375,
0.4140625,
0.4794921875,
0.4140625,
0.4794921875,
0.4248046875,
0.0882568359375,
0.4248046875
],
[
0.51953125,
0.419189453125,
0.54150390625,
0.419189453125,
0.54150390625,
0.427978515625,
0.51953125,
0.427978515625
],
[
0.5458984375,
0.419189453125,
0.560546875,
0.419189453125,
0.560546875,
0.4267578125,
0.5458984375,
0.4267578125
],
[
0.560546875,
0.417236328125,
0.7939453125,
0.417236328125,
0.7939453125,
0.43115234375,
0.560546875,
0.43115234375
],
[
0.08660888671875,
0.4267578125,
0.4794921875,
0.4267578125,
0.4794921875,
0.43994140625,
0.08660888671875,
0.43994140625
],
[
0.55810546875,
0.43115234375,
0.68115234375,
0.434326171875,
0.68115234375,
0.448974609375,
0.55810546875,
0.44580078125
],
[
0.08660888671875,
0.43994140625,
0.48046875,
0.43994140625,
0.48046875,
0.453857421875,
0.08660888671875,
0.453857421875
],
[
0.0882568359375,
0.455810546875,
0.47802734375,
0.455810546875,
0.47802734375,
0.466552734375,
0.0882568359375,
0.466552734375
],
[
0.5185546875,
0.45263671875,
0.9111328125,
0.45263671875,
0.9111328125,
0.46337890625,
0.5185546875,
0.46337890625
],
[
0.08660888671875,
0.4697265625,
0.191162109375,
0.4697265625,
0.191162109375,
0.479736328125,
0.08660888671875,
0.479736328125
],
[
0.5185546875,
0.46533203125,
0.91259765625,
0.46533203125,
0.91259765625,
0.479248046875,
0.5185546875,
0.479248046875
],
[
0.521484375,
0.48095703125,
0.91259765625,
0.48095703125,
0.91259765625,
0.4912109375,
0.521484375,
0.4912109375
],
[
0.51708984375,
0.4912109375,
0.9140625,
0.492431640625,
0.9140625,
0.5068359375,
0.51708984375,
0.505859375
],
[
0.0882568359375,
0.5,
0.13232421875,
0.5,
0.13232421875,
0.51123046875,
0.0882568359375,
0.51123046875
],
[
0.1282958984375,
0.498779296875,
0.2467041015625,
0.498779296875,
0.2467041015625,
0.51220703125,
0.1282958984375,
0.51220703125
],
[
0.51953125,
0.505859375,
0.91259765625,
0.505859375,
0.91259765625,
0.51953125,
0.51953125,
0.51953125
],
[
0.08660888671875,
0.5166015625,
0.386474609375,
0.5166015625,
0.386474609375,
0.52978515625,
0.08660888671875,
0.52978515625
],
[
0.51953125,
0.521484375,
0.56201171875,
0.521484375,
0.56201171875,
0.53271484375,
0.51953125,
0.53271484375
],
[
0.101318359375,
0.53076171875,
0.48193359375,
0.53076171875,
0.48193359375,
0.54443359375,
0.101318359375,
0.54443359375
],
[
0.53369140625,
0.5341796875,
0.91259765625,
0.5341796875,
0.91259765625,
0.54736328125,
0.53369140625,
0.54736328125
],
[
0.0849609375,
0.54443359375,
0.483642578125,
0.54443359375,
0.483642578125,
0.55810546875,
0.0849609375,
0.55810546875
],
[
0.51708984375,
0.546875,
0.91259765625,
0.548828125,
0.91259765625,
0.5625,
0.51708984375,
0.56005859375
],
[
0.0849609375,
0.5595703125,
0.483642578125,
0.5595703125,
0.483642578125,
0.57275390625,
0.0849609375,
0.57275390625
],
[
0.5185546875,
0.5625,
0.9140625,
0.5625,
0.9140625,
0.57568359375,
0.5185546875,
0.57568359375
],
[
0.08660888671875,
0.57275390625,
0.48193359375,
0.57275390625,
0.48193359375,
0.5859375,
0.08660888671875,
0.5859375
],
[
0.5185546875,
0.5771484375,
0.826171875,
0.5771484375,
0.826171875,
0.5869140625,
0.5185546875,
0.5869140625
],
[
0.08660888671875,
0.5869140625,
0.48046875,
0.5869140625,
0.48046875,
0.59765625,
0.08660888671875,
0.59765625
],
[
0.0849609375,
0.599609375,
0.2181396484375,
0.599609375,
0.2181396484375,
0.61279296875,
0.0849609375,
0.61279296875
],
[
0.5185546875,
0.60400390625,
0.5439453125,
0.60400390625,
0.5439453125,
0.61572265625,
0.5185546875,
0.61572265625
],
[
0.5400390625,
0.60498046875,
0.560546875,
0.60498046875,
0.560546875,
0.6123046875,
0.5400390625,
0.6123046875
],
[
0.5556640625,
0.60302734375,
0.81396484375,
0.60302734375,
0.81396484375,
0.6162109375,
0.5556640625,
0.6162109375
],
[
0.10296630859375,
0.6123046875,
0.48193359375,
0.6123046875,
0.48193359375,
0.62548828125,
0.10296630859375,
0.62548828125
],
[
0.521484375,
0.6220703125,
0.91259765625,
0.6220703125,
0.91259765625,
0.6318359375,
0.521484375,
0.6318359375
],
[
0.0882568359375,
0.62890625,
0.486083984375,
0.62890625,
0.486083984375,
0.6396484375,
0.0882568359375,
0.6396484375
],
[
0.5185546875,
0.6337890625,
0.90185546875,
0.6337890625,
0.90185546875,
0.64794921875,
0.5185546875,
0.64794921875
],
[
0.0849609375,
0.6416015625,
0.48193359375,
0.6416015625,
0.48193359375,
0.65478515625,
0.0849609375,
0.65478515625
],
[
0.53369140625,
0.6484375,
0.91259765625,
0.6484375,
0.91259765625,
0.662109375,
0.53369140625,
0.662109375
],
[
0.08660888671875,
0.65478515625,
0.48193359375,
0.65478515625,
0.48193359375,
0.66845703125,
0.08660888671875,
0.66845703125
],
[
0.51708984375,
0.662109375,
0.91650390625,
0.662109375,
0.91650390625,
0.67529296875,
0.51708984375,
0.67529296875
],
[
0.08416748046875,
0.66845703125,
0.48046875,
0.66943359375,
0.48046875,
0.68310546875,
0.08416748046875,
0.681640625
],
[
0.51708984375,
0.67529296875,
0.9140625,
0.67529296875,
0.9140625,
0.689453125,
0.51708984375,
0.689453125
],
[
0.0849609375,
0.68310546875,
0.279296875,
0.68310546875,
0.279296875,
0.6962890625,
0.0849609375,
0.6962890625
],
[
0.10296630859375,
0.69580078125,
0.4794921875,
0.69580078125,
0.4794921875,
0.708984375,
0.10296630859375,
0.708984375
],
[
0.51708984375,
0.68994140625,
0.9140625,
0.68994140625,
0.9140625,
0.7041015625,
0.51708984375,
0.7041015625
],
[
0.08416748046875,
0.708984375,
0.486083984375,
0.71044921875,
0.486083984375,
0.7236328125,
0.08416748046875,
0.72265625
],
[
0.5185546875,
0.7041015625,
0.91259765625,
0.7041015625,
0.91259765625,
0.71728515625,
0.5185546875,
0.71728515625
],
[
0.515625,
0.71630859375,
0.91259765625,
0.71728515625,
0.91259765625,
0.73193359375,
0.515625,
0.73095703125
],
[
0.0849609375,
0.724609375,
0.48193359375,
0.724609375,
0.48193359375,
0.73779296875,
0.0849609375,
0.73779296875
],
[
0.51708984375,
0.73095703125,
0.91259765625,
0.73095703125,
0.91259765625,
0.744140625,
0.51708984375,
0.744140625
],
[
0.08416748046875,
0.7373046875,
0.483642578125,
0.73779296875,
0.483642578125,
0.75244140625,
0.08416748046875,
0.751953125
],
[
0.5185546875,
0.74560546875,
0.91259765625,
0.74560546875,
0.91259765625,
0.7587890625,
0.5185546875,
0.7587890625
],
[
0.08660888671875,
0.75244140625,
0.1282958984375,
0.75244140625,
0.1282958984375,
0.7646484375,
0.08660888671875,
0.7646484375
],
[
0.51708984375,
0.7587890625,
0.9140625,
0.7587890625,
0.9140625,
0.77294921875,
0.51708984375,
0.77294921875
],
[
0.51708984375,
0.77294921875,
0.60302734375,
0.7734375,
0.60302734375,
0.78515625,
0.51708984375,
0.7841796875
],
[
0.0882568359375,
0.78271484375,
0.13232421875,
0.78271484375,
0.13232421875,
0.79443359375,
0.0882568359375,
0.79443359375
],
[
0.1258544921875,
0.78271484375,
0.240234375,
0.78271484375,
0.240234375,
0.796875,
0.1258544921875,
0.796875
],
[
0.53515625,
0.7861328125,
0.91259765625,
0.787109375,
0.91259765625,
0.798828125,
0.53515625,
0.79736328125
],
[
0.08660888671875,
0.7998046875,
0.48046875,
0.7998046875,
0.48046875,
0.81298828125,
0.08660888671875,
0.81298828125
],
[
0.51708984375,
0.80029296875,
0.9140625,
0.80029296875,
0.9140625,
0.814453125,
0.51708984375,
0.814453125
],
[
0.0849609375,
0.81298828125,
0.48046875,
0.814453125,
0.48046875,
0.82763671875,
0.0849609375,
0.8271484375
],
[
0.5185546875,
0.814453125,
0.9140625,
0.814453125,
0.9140625,
0.82763671875,
0.5185546875,
0.82763671875
],
[
0.0882568359375,
0.8291015625,
0.4794921875,
0.8291015625,
0.4794921875,
0.8388671875,
0.0882568359375,
0.8388671875
],
[
0.51708984375,
0.82763671875,
0.91259765625,
0.82763671875,
0.91259765625,
0.84130859375,
0.51708984375,
0.84130859375
],
[
0.0882568359375,
0.84326171875,
0.4794921875,
0.84326171875,
0.4794921875,
0.85400390625,
0.0882568359375,
0.85400390625
],
[
0.51708984375,
0.84228515625,
0.91259765625,
0.84228515625,
0.91259765625,
0.85595703125,
0.51708984375,
0.85595703125
],
[
0.0882568359375,
0.85595703125,
0.48046875,
0.85595703125,
0.48046875,
0.869140625,
0.0882568359375,
0.869140625
],
[
0.51708984375,
0.85595703125,
0.91259765625,
0.85595703125,
0.91259765625,
0.869140625,
0.51708984375,
0.869140625
],
[
0.08660888671875,
0.86865234375,
0.48193359375,
0.869140625,
0.48193359375,
0.88330078125,
0.08660888671875,
0.8818359375
],
[
0.515625,
0.86865234375,
0.9140625,
0.869140625,
0.9140625,
0.8837890625,
0.515625,
0.88330078125
],
[
0.08905029296875,
0.88525390625,
0.4794921875,
0.88525390625,
0.4794921875,
0.89599609375,
0.08905029296875,
0.89599609375
],
[
0.51708984375,
0.8837890625,
0.619140625,
0.88525390625,
0.619140625,
0.896484375,
0.51708984375,
0.89599609375
]
] |
[
"VizAl : Selecting Accurate Visualizations of Numerical Data",
"CODS-COMAD 2022,January8-10, 2022, Bangalore, India",
"的表现。换句话说,VizAI明确地建立在Tufte的两个经典之",
"以及国7节中实际数据集的结果。最后,我们在8节中总结并",
"上,以实现良好的可视化E[22],即。,(a)“agoodvisualization",
"概述了未来的研究方向",
"should be a distortion-free representation of the underlying data",
"2",
"RELATED WORK",
"dataset\"VizAI会自动为给定数据集生成许多替代可视化,评",
"and (b)\"becloselyintegratedwiththestatisticaldescriptionofthe",
"我们的工作重点是利用经过训练的深度卷积神经网络来模拟",
"估它们(在统计上)表示基础数据的程度,然后选择性能最好",
"人类对可视化的感知,以自动选择最佳可视化。在本节中,我",
"的一个。可视化本身的评估是使用基于标准ConvNets集合的",
"们将回顾这些领域的先前工作",
"深度卷积神经网络完成的,该网络从可视化中提取特征,可",
"用于预测数据的汇总统计信息。例如,在图1中,底层数据",
"2.1HumanPerception of Visualizations",
"是使用散点图、线图和密度图绘制的(我们使用了Plotly的",
"早期的工作通过实验证明,数据,均值和相关性的汇总统计数",
"ChartStudio来绘制这些图,尽管我们的工作可以很容易地与",
"据可以分别被人类从数据可视化中高精度地感知并进行跨类",
"任何其他绘图软件一起使用)。其中,VizAI将密度图列为最佳",
"别比较E[7,9]。随后通过广泛的人类研究对图表感知进行的",
"这一点得到了我们众包评估的进一步证实(详情见6节)",
"分析发现,可以从良好的可视化效果中推断出个人特征以及",
"Note that our focus in this paper is on generating visualizations",
"数据汇总E[14]。他们改变了列数和数据的嫡,表明对于少量",
"of numerical datasets rather than datasets with varied data types",
"的列,人类可以感知到差异,甚至可以感知到总体的单个值,",
"such as textual, categorical, temporal, etc., across data fields. Of",
"例如错误率低的平均值",
"ten these data types are transformed as part of data preprocessing",
"使用大规模众包研究,[21]证明了人类在寻找数据聚合(例",
"into an appropriate numerical representation before their visual-",
"如总和)和极值等任务中的表现(准确性和花费的时间)受到",
"ization [5, 17] . VizAl can be adapted to incorporate these prepro-",
"可视化类型的高度影响(散点,条,表等)",
"cessing steps as well. With numerical data, commonly used visual-",
"我们的工作建立在这些见解的基础上,以对聚合和极值的",
"izations areline,scatter, area, bar andpie charts,and more sophis",
"感知进行建模,以帮助确定给定数据的最合适的可视化形式",
"ticated settingsrequiredensityplots.除了开发可视化推荐框架",
"外,我们的工作还包括开发各种可视化的系统性能评估措施。",
"2.2",
"",
"CNNs for Data Visualization",
"事实上,它是可视化研究人员的一个重要课题[2]。我们相信,",
"Understanding",
"我们提取底层数据的统计特征的方法模仿了人类对这些可视",
"化的感知,并提供了一个框架,可以扩展到考虑到像图的配色",
"DeepCNN对于图像上的各种学习任务非常受欢迎【10,20]。将",
"方案选择等方面",
"数据可视化视为图像,它们已应用于视觉QA,焦点跟踪等任",
"务。例如,[13]使用CNN和OCR输出的组合来回答可视化问",
"题。作为自动学习视觉重要性问题的解决方案,我。e。,用户",
"1.1",
"Contributions",
"可能关注的信息图中的位置,[4]使用完全卷积网络来创建重",
"总而言之,我们在本文中做出了以下主要贡献:",
"要性图",
"(1)We present a novelframeworkfor automatically evaluating",
"最近[8]对应用于可视化的CNN进行了评估。他们试图从",
"the \"goodness\" of a visualization in terms of the accuracy of ex-",
"呈现给网络的可视化图像中回归位置,长度和面积等基本定",
"tracting various statistics of the underlying data, just from the vi-",
"量特征。他们认为,尽管CNN可以为约束良好的问题回归数",
"sualization alone. Our approach does not rely on axis or key labels",
"量,但它们需要广泛的培训才能跨任务进行概括",
"intheplot, or any othernumerical/textual contentthat maybe",
"embedded in the plot.",
"2.3",
"",
"Visualizationrecommendation",
"(2) Based on the above, we present VizAl, an intelligent visual-",
"最近有许多努力使给定数据集的可视化推荐过程自动化。我",
"izationrecommendationsystembasedongenerative-discriminative",
"们简要调查了四部在这个方向上显示出重大希望的最新作品",
"framework. It uses a deep convolutional neural network for gener-",
"Data2Vis [5] tackles the visualization generation problem as a",
"ating various statistical features from the plot, and a discriminator",
"languagetranslationproblemwheredata specificationsaremapped",
"that selects the plot with the lowest error in predicting aggregate",
"to visualization specifications. It uses an LSTM based neural trans-",
"statistics of the underlying data.",
"(3) We conduct a detailed evaluation, using real-world (from",
"lation model to learn a mapping between JSON encoded data and",
"Plot.ly)visualizations along with a visualization learning and bench",
"a Vega-lite visualization specification. The model is trained using",
"4, 300 Vega-lite examples. Their model was in an elementary way",
"marking repository, VizNet [12] and the results show that VizAl of-",
"able to learn the vocabulary and syntax for a valid visualization",
"fers high quality recommendations nearly as good as human eval-",
"specification,appropriatetransformations (count,bins,mean)and",
"uators.",
"how to use common data selection patterns that occur within data",
"visualizations.",
"1.2",
"Organization",
"VizML[11]formulatesvisualizationrecommendationasmak-",
"本文的其余部分组织如下:在E2节中,我们讨论了与本文所",
"ing design choices. It learns these choices from a large corpus of",
"追求的思想相关的工作。这些范围包括人类对可视化的感知,",
"one million dataset-visualization pairs collected from Plot.ly pub-",
"机器对可视化的感知以及各种自动化可视化推荐系统的研究。",
"lic studio of visualizations. They use 841 hand-coded features to",
"接下来,在3节中,我们提出了关于如何评估可视化质量的",
"train their recommendation networks to make encoding-level and",
"关键假设,并提出了我们的问题陈述。VizAI系统的各个方面,",
"visualization-level design choices. VizMLverified that certain steps",
"包括统计特征和用于从可视化中提取这些特征的CNN,将在4",
"in a visualization generation pipeline can be learned well using",
"节中详细描述。接下来是E6节中我们的实验框架的详细信息,",
"neuralnetworks"
] |
{
"arxiv_id": "2111.04190",
"language": "zh",
"page_idx": 2
}
|
||
2111.04190-zh-3
|
2111.04190-zh-3.jpg
|
Ritvik Vij
<table>
<tbody>
<tr>
<th>Min</th>
<th>Min</th>
</tr>
<tr>
<td>Max</td>
<td>Max</td>
</tr>
<tr>
<td>Mean</td>
<td>Mean</td>
</tr>
<tr>
<td>Std</td>
<td>Std</td>
</tr>
<tr>
<td>Skew</td>
<td>$MAD$</td>
</tr>
</tbody>
</table>
Table $\overline1{:\text{Aggregation metrics used to get data features}}.$ We
also use the correlation feature along with this.
CODS-COMAD 2022, January 8-10, 2022, Bangalore, India
DeepEye [17] combines rule based visualization generation with models trained to 1) classify a visualization 'good’or‘bad’using a decision tree classifier and 2) rank lists of visualizations using a ranking neural network. The DeepEye corpus consists visualizations drawn from 42 public datasets. 100 students annotated these visualizations as good/bad. These annotations, combined with 14 features for each column pair and rule based heuristics are used to $\tan$their models.
Draco [18] tackles the visualization recommendation in a more formal framework. It uses Answer Set Programming (ASP), a contraint logic programming to specify and generate visualizations with soft weights for constraints learnt from training data.
# 3 РROВLEМ FORMULATION
数据集的可视化是用于以无失真方式传递数据的视觉元素的集合。虽然在视觉上传达数据集的内容有很多方面,包括颜色的选择,特定领域的图像,如地图,叠加层等。,我们的工作基于一个相当简单和基本的前提,即人们应该能够从可视化[22,23] 中准确地得出底层数据集的核心统计特征。由于找到最佳可视化是一个规范问题,因此我们做出以下假设,然后通过用户研究对其进行验证:
$\bullet$ Humans prefer visualizations from which they can perceive
features about the underlying data accurately
$\bullet$ The modern neural network based models, trained to predict data features from plots, naturally emulate human perception to some extent. That is, if the model makes larger errors in estimating statistical features from one visualization over from another visualization of the same data, we expect that humans when asked to perceive the same statistics end up making corresponding scale of errors $^2.$
有了这些假设,我们找到最佳可视化的问题就简化为设计和
训练满足上述标准并找到一组特征的模型的任务
# 4 VIZAI FRAMEWORK
VizAl 由以下三个阶段组成:
(1) True Statistics Computation and Candidate Generation: We
compute a set of statistics from the underlying data tables and use them as features that need to be estimated by our model from the given visualizations. We keep these statistics to be easily computable and, more importantly, easily interpretable by our users. Next, we programmatically generate a number of visualizations of each data table using a visualization generator such as Plotly, gnuplot, Vegalite etc.
(2) Statistical-Feature Regression: This is the core model build-
ing stage where visualizations are input as images to a su-
pervised Convolution Neural Network (CNN) regression model
that extracts (regresses) the statistical features from these images, and trains to minimize the loss between the true statistics and the extracted statistical features. Note that during training, we optimize the statistics regression for each visualization type separately. Thus, adding another visualization type has no impact on the models built on earlier visualization types.
$^{2}$It should be noted that we do not expect the same exact amount of statistical errors
between human and our model, but rather their relative scale.
(3) Visualization Selection: Finally, we compute the loss between
the true statistics computed in the first stage and the extracted statistics by the model trained the second stage. The visualization that is considered to be performing best in terms of this loss is recommended for the given data table.
整体模型体系结构如图 2 所示。在本节的其余部分中,我们将
详细讨论 VizAl 的每个部分。
## 4.1 True Statistics Computation and Candidate Visualization Generation
我们尝试了几种选择一组统计信息作为从数据表中提取特征的方法。我们最初尝试了表嵌人[6] 和其他神经特征提取方法, 但它们的主要缺点是最终用户无法理解或解释这些特征。由于理解为什么一个特定的可视化是好的各个方面是相关的数据分析师,对我们来说,可解释性是一个基本要求[16]。因此, 最后我们确定了一组简单且常用的功能,大多数处理数据的人都对这些功能有所了解。这些在 1 中列出。请注意,这些与关注极端,中位数和关系的建议是一致的 [23]。请注意,这些核心统计数据可以根据特定应用程序设置的要求进一步丰富
虽然我们目前试验的数据表只包含要可视化的两列,但在一般设置中,我们将不得不处理具有可变列数的表。如果仅使用单个列级统计信息作为特征,则每个数据表可能导致不同的特征维度。为了克服这个问题,我们引人了 2阶段特征聚合的使用。首先,为每列计算列统计信息(在1的第一列中提到)。然后使用 1 第二列中提到的指标进行数据表级聚合。因此,我们使用两个级别的功能,例如。g。,'maxofmean'是每列平均值的最大值。除此之外,我们还在表的任意两列 X 和 Y 之间使用皮尔逊相关系数$r$,写为:
$$r=\frac{\sum_{i=1}^{n}(x_{i}-\bar{x})(y_{i}-\bar{y})}{\sqrt{\sum_{i=1}^{n}(x_{i}-\bar{x})^{2}}\sqrt{\sum_{i=1}^{n}(y_{i}-\bar{y})^{2}}},$$
其中$x_i$和$y_i$是每列的$i^th$行,$\bar{x}$和$\bar{y}$表示每列的平均值。生成的相关系数对于每个表都是唯一的,因为我们在数据集中的当前表设置中只有 2 列。这可以很容易地修改为执行相关系数的表级聚合,以适应具有可变列数的表。因此,在当前设置中,每个数据表都使用与下一阶段模型构建相同的 26 个统计特征来表示可视化候选生成。接下来,我们为每个数据表生成许多不同的可视化,并将它们馈送到卷积神经网络(CNN)层。该卷积神经网络层与从每个可视化中提取统计数据的回归器耦合。正如我们已经提到的,我们使用 Plot。lyChartStudio$^{3}$ 用于生成表的可视化,以使我们的可视化与 VizNet 存储库中的公开可用数据集保持一致(详细信息在 5 节中)。这些可视
${\overline{^3}\text{https://plotly.com/chart-studio/}}$
|
[
[
0.08660888671875,
0.07574462890625,
0.363525390625,
0.07574462890625,
0.363525390625,
0.0889892578125,
0.08660888671875,
0.0889892578125
],
[
0.86767578125,
0.0770263671875,
0.91259765625,
0.0770263671875,
0.91259765625,
0.08837890625,
0.86767578125,
0.08837890625
],
[
0.101318359375,
0.10797119140625,
0.495849609375,
0.10797119140625,
0.495849609375,
0.121826171875,
0.101318359375,
0.121826171875
],
[
0.5556640625,
0.10797119140625,
0.87353515625,
0.10919189453125,
0.87353515625,
0.12371826171875,
0.5556640625,
0.12249755859375
],
[
0.0849609375,
0.12060546875,
0.48193359375,
0.121826171875,
0.48193359375,
0.1363525390625,
0.0849609375,
0.1351318359375
],
[
0.62158203125,
0.1256103515625,
0.65283203125,
0.1256103515625,
0.65283203125,
0.141357421875,
0.62158203125,
0.141357421875
],
[
0.78515625,
0.1256103515625,
0.81787109375,
0.1256103515625,
0.81787109375,
0.141357421875,
0.78515625,
0.141357421875
],
[
0.0849609375,
0.1351318359375,
0.48193359375,
0.1363525390625,
0.48193359375,
0.149658203125,
0.0849609375,
0.1483154296875
],
[
0.62158203125,
0.1395263671875,
0.65625,
0.1395263671875,
0.65625,
0.1546630859375,
0.62158203125,
0.1546630859375
],
[
0.78369140625,
0.1395263671875,
0.81884765625,
0.1395263671875,
0.81884765625,
0.1546630859375,
0.78369140625,
0.1546630859375
],
[
0.0849609375,
0.1483154296875,
0.48046875,
0.1483154296875,
0.48046875,
0.1622314453125,
0.0849609375,
0.1622314453125
],
[
0.61767578125,
0.1514892578125,
0.65673828125,
0.154052734375,
0.65625,
0.169189453125,
0.61669921875,
0.1673583984375
],
[
0.78125,
0.1514892578125,
0.8203125,
0.154052734375,
0.81884765625,
0.169189453125,
0.779296875,
0.1673583984375
],
[
0.08660888671875,
0.1654052734375,
0.4794921875,
0.1654052734375,
0.4794921875,
0.175537109375,
0.08660888671875,
0.175537109375
],
[
0.625,
0.1673583984375,
0.65283203125,
0.1673583984375,
0.65283203125,
0.1817626953125,
0.625,
0.1817626953125
],
[
0.78759765625,
0.1673583984375,
0.81640625,
0.1673583984375,
0.81640625,
0.1817626953125,
0.78759765625,
0.1817626953125
],
[
0.0849609375,
0.177978515625,
0.48193359375,
0.177978515625,
0.48193359375,
0.1912841796875,
0.0849609375,
0.1912841796875
],
[
0.61767578125,
0.179931640625,
0.65625,
0.179931640625,
0.65625,
0.1956787109375,
0.61767578125,
0.1956787109375
],
[
0.78173828125,
0.1817626953125,
0.8203125,
0.1817626953125,
0.8203125,
0.1956787109375,
0.78173828125,
0.1956787109375
],
[
0.0849609375,
0.1912841796875,
0.48046875,
0.1912841796875,
0.48046875,
0.2052001953125,
0.0849609375,
0.2052001953125
],
[
0.5146484375,
0.1962890625,
0.9140625,
0.1976318359375,
0.9140625,
0.21533203125,
0.5146484375,
0.2139892578125
],
[
0.08660888671875,
0.20703125,
0.19775390625,
0.20703125,
0.19775390625,
0.2171630859375,
0.08660888671875,
0.2171630859375
],
[
0.51708984375,
0.2139892578125,
0.83251953125,
0.2139892578125,
0.83251953125,
0.2279052734375,
0.51708984375,
0.2279052734375
],
[
0.10296630859375,
0.2203369140625,
0.48193359375,
0.2203369140625,
0.48193359375,
0.2310791015625,
0.10296630859375,
0.2310791015625
],
[
0.0849609375,
0.23291015625,
0.483642578125,
0.23291015625,
0.483642578125,
0.246826171875,
0.0849609375,
0.246826171875
],
[
0.0849609375,
0.246826171875,
0.48193359375,
0.246826171875,
0.48193359375,
0.260009765625,
0.0849609375,
0.260009765625
],
[
0.0849609375,
0.260009765625,
0.43701171875,
0.260009765625,
0.43701171875,
0.2734375,
0.0849609375,
0.2734375
],
[
0.53759765625,
0.270751953125,
0.91650390625,
0.270751953125,
0.91650390625,
0.281005859375,
0.53759765625,
0.281005859375
],
[
0.11517333984375,
0.287353515625,
0.340576171875,
0.287353515625,
0.340576171875,
0.300537109375,
0.11517333984375,
0.300537109375
],
[
0.55615234375,
0.2822265625,
0.91259765625,
0.2822265625,
0.91259765625,
0.29541015625,
0.55615234375,
0.29541015625
],
[
0.0882568359375,
0.290283203125,
0.108642578125,
0.290283203125,
0.108642578125,
0.298583984375,
0.0882568359375,
0.298583984375
],
[
0.55810546875,
0.296630859375,
0.91259765625,
0.296630859375,
0.91259765625,
0.31005859375,
0.55810546875,
0.31005859375
],
[
0.0882568359375,
0.304931640625,
0.48046875,
0.304931640625,
0.48046875,
0.318115234375,
0.0882568359375,
0.318115234375
],
[
0.55810546875,
0.309326171875,
0.9208984375,
0.309326171875,
0.9208984375,
0.322509765625,
0.55810546875,
0.322509765625
],
[
0.08660888671875,
0.3193359375,
0.48046875,
0.3193359375,
0.48046875,
0.333251953125,
0.08660888671875,
0.333251953125
],
[
0.55810546875,
0.324462890625,
0.87109375,
0.324462890625,
0.87109375,
0.33837890625,
0.55810546875,
0.33837890625
],
[
0.08905029296875,
0.335205078125,
0.4794921875,
0.335205078125,
0.4794921875,
0.34521484375,
0.08905029296875,
0.34521484375
],
[
0.51953125,
0.341552734375,
0.91259765625,
0.341552734375,
0.91259765625,
0.354736328125,
0.51953125,
0.354736328125
],
[
0.08905029296875,
0.348388671875,
0.4794921875,
0.348388671875,
0.4794921875,
0.359130859375,
0.08905029296875,
0.359130859375
],
[
0.08660888671875,
0.361083984375,
0.48193359375,
0.361083984375,
0.48193359375,
0.375,
0.08660888671875,
0.375
],
[
0.5185546875,
0.35595703125,
0.69921875,
0.35595703125,
0.69921875,
0.369384765625,
0.5185546875,
0.369384765625
],
[
0.08660888671875,
0.375732421875,
0.48046875,
0.375732421875,
0.48046875,
0.389404296875,
0.08660888671875,
0.389404296875
],
[
0.521484375,
0.385009765625,
0.54345703125,
0.385009765625,
0.54345703125,
0.393310546875,
0.521484375,
0.393310546875
],
[
0.5400390625,
0.385009765625,
0.5556640625,
0.385009765625,
0.5556640625,
0.392578125,
0.5400390625,
0.392578125
],
[
0.560546875,
0.38330078125,
0.91259765625,
0.38330078125,
0.91259765625,
0.396484375,
0.560546875,
0.396484375
],
[
0.55810546875,
0.397705078125,
0.76123046875,
0.3984375,
0.76123046875,
0.41357421875,
0.55810546875,
0.412353515625
],
[
0.0849609375,
0.38818359375,
0.268798828125,
0.38818359375,
0.268798828125,
0.401611328125,
0.0849609375,
0.401611328125
],
[
0.111083984375,
0.406005859375,
0.4794921875,
0.406005859375,
0.4794921875,
0.419189453125,
0.111083984375,
0.419189453125
],
[
0.125,
0.42041015625,
0.40283203125,
0.42041015625,
0.40283203125,
0.434326171875,
0.125,
0.434326171875
],
[
0.5185546875,
0.416748046875,
0.9140625,
0.416748046875,
0.9140625,
0.429931640625,
0.5185546875,
0.429931640625
],
[
0.11273193359375,
0.434326171875,
0.48193359375,
0.434326171875,
0.48193359375,
0.447509765625,
0.11273193359375,
0.447509765625
],
[
0.5185546875,
0.43115234375,
0.91259765625,
0.43115234375,
0.91259765625,
0.4443359375,
0.5185546875,
0.4443359375
],
[
0.12335205078125,
0.4462890625,
0.48193359375,
0.448974609375,
0.48193359375,
0.462158203125,
0.12335205078125,
0.460205078125
],
[
0.51708984375,
0.443115234375,
0.91259765625,
0.4443359375,
0.91259765625,
0.458251953125,
0.51708984375,
0.45703125
],
[
0.125,
0.4609375,
0.48193359375,
0.462158203125,
0.48193359375,
0.47607421875,
0.125,
0.474853515625
],
[
0.5185546875,
0.458984375,
0.9140625,
0.458984375,
0.9140625,
0.472900390625,
0.5185546875,
0.472900390625
],
[
0.1258544921875,
0.47607421875,
0.48046875,
0.47607421875,
0.48046875,
0.4892578125,
0.1258544921875,
0.4892578125
],
[
0.5185546875,
0.472900390625,
0.91015625,
0.472900390625,
0.91015625,
0.486083984375,
0.5185546875,
0.486083984375
],
[
0.1258544921875,
0.4892578125,
0.48193359375,
0.4892578125,
0.48193359375,
0.50244140625,
0.1258544921875,
0.50244140625
],
[
0.51953125,
0.4873046875,
0.9111328125,
0.4873046875,
0.9111328125,
0.49755859375,
0.51953125,
0.49755859375
],
[
0.1258544921875,
0.50390625,
0.48046875,
0.50390625,
0.48046875,
0.517578125,
0.1258544921875,
0.517578125
],
[
0.521484375,
0.501953125,
0.9111328125,
0.501953125,
0.9111328125,
0.51220703125,
0.521484375,
0.51220703125
],
[
0.125,
0.517578125,
0.36767578125,
0.517578125,
0.36767578125,
0.53076171875,
0.125,
0.53076171875
],
[
0.521484375,
0.51513671875,
0.91259765625,
0.51513671875,
0.91259765625,
0.52587890625,
0.521484375,
0.52587890625
],
[
0.5185546875,
0.52783203125,
0.89892578125,
0.52783203125,
0.89892578125,
0.54150390625,
0.5185546875,
0.54150390625
],
[
0.08660888671875,
0.5341796875,
0.48046875,
0.5341796875,
0.48046875,
0.54736328125,
0.08660888671875,
0.54736328125
],
[
0.53515625,
0.54150390625,
0.9140625,
0.54150390625,
0.9140625,
0.5546875,
0.53515625,
0.5546875
],
[
0.0882568359375,
0.5498046875,
0.393798828125,
0.5498046875,
0.393798828125,
0.56005859375,
0.0882568359375,
0.56005859375
],
[
0.53125,
0.5546875,
0.91259765625,
0.5546875,
0.91259765625,
0.568359375,
0.53125,
0.568359375
],
[
0.51953125,
0.568359375,
0.91259765625,
0.568359375,
0.91259765625,
0.58203125,
0.51953125,
0.58203125
],
[
0.0882568359375,
0.57763671875,
0.098876953125,
0.57763671875,
0.098876953125,
0.5869140625,
0.0882568359375,
0.5869140625
],
[
0.1168212890625,
0.57568359375,
0.2900390625,
0.57568359375,
0.2900390625,
0.5888671875,
0.1168212890625,
0.5888671875
],
[
0.51953125,
0.58349609375,
0.91259765625,
0.58349609375,
0.91259765625,
0.5966796875,
0.51953125,
0.5966796875
],
[
0.0849609375,
0.59326171875,
0.259033203125,
0.59326171875,
0.259033203125,
0.60693359375,
0.0849609375,
0.60693359375
],
[
0.51953125,
0.5966796875,
0.91259765625,
0.5966796875,
0.91259765625,
0.60986328125,
0.51953125,
0.60986328125
],
[
0.10455322265625,
0.611328125,
0.48046875,
0.611328125,
0.48046875,
0.625,
0.10455322265625,
0.625
],
[
0.5185546875,
0.60986328125,
0.91259765625,
0.60986328125,
0.91259765625,
0.62353515625,
0.5185546875,
0.62353515625
],
[
0.1258544921875,
0.62548828125,
0.48193359375,
0.62548828125,
0.48193359375,
0.6396484375,
0.1258544921875,
0.6396484375
],
[
0.5185546875,
0.625,
0.91259765625,
0.625,
0.91259765625,
0.6396484375,
0.5185546875,
0.6396484375
],
[
0.125,
0.6396484375,
0.48193359375,
0.6396484375,
0.48193359375,
0.65283203125,
0.125,
0.65283203125
],
[
0.5185546875,
0.63818359375,
0.9140625,
0.63818359375,
0.9140625,
0.6513671875,
0.5185546875,
0.6513671875
],
[
0.1258544921875,
0.6513671875,
0.48046875,
0.6513671875,
0.48046875,
0.66552734375,
0.1258544921875,
0.66552734375
],
[
0.51953125,
0.6513671875,
0.74267578125,
0.6513671875,
0.74267578125,
0.66552734375,
0.51953125,
0.66552734375
],
[
0.1258544921875,
0.66748046875,
0.4794921875,
0.66748046875,
0.4794921875,
0.68115234375,
0.1258544921875,
0.68115234375
],
[
0.66259765625,
0.671875,
0.7890625,
0.671875,
0.7890625,
0.68603515625,
0.66259765625,
0.68603515625
],
[
0.125,
0.6796875,
0.48193359375,
0.68115234375,
0.48193359375,
0.69580078125,
0.125,
0.6943359375
],
[
0.60546875,
0.68310546875,
0.62109375,
0.68310546875,
0.62109375,
0.69140625,
0.60546875,
0.69140625
],
[
0.125,
0.6943359375,
0.48193359375,
0.69580078125,
0.48193359375,
0.708984375,
0.125,
0.70849609375
],
[
0.62841796875,
0.68994140625,
0.82275390625,
0.68798828125,
0.82275390625,
0.71044921875,
0.62841796875,
0.7119140625
],
[
0.125,
0.70849609375,
0.4794921875,
0.70849609375,
0.4794921875,
0.7216796875,
0.125,
0.7216796875
],
[
0.10455322265625,
0.7216796875,
0.483642578125,
0.7216796875,
0.483642578125,
0.73486328125,
0.10455322265625,
0.73486328125
],
[
0.5185546875,
0.71826171875,
0.9140625,
0.71826171875,
0.9140625,
0.73291015625,
0.5185546875,
0.73291015625
],
[
0.1258544921875,
0.736328125,
0.48193359375,
0.736328125,
0.48193359375,
0.75,
0.1258544921875,
0.75
],
[
0.5185546875,
0.73291015625,
0.91259765625,
0.73291015625,
0.91259765625,
0.7470703125,
0.5185546875,
0.7470703125
],
[
0.1258544921875,
0.75,
0.5009765625,
0.75,
0.5009765625,
0.76318359375,
0.1258544921875,
0.76318359375
],
[
0.5185546875,
0.7470703125,
0.91259765625,
0.7470703125,
0.91259765625,
0.76025390625,
0.5185546875,
0.76025390625
],
[
0.125,
0.76318359375,
0.48193359375,
0.76220703125,
0.48193359375,
0.7763671875,
0.125,
0.77783203125
],
[
0.51953125,
0.76220703125,
0.9111328125,
0.76220703125,
0.9111328125,
0.77294921875,
0.51953125,
0.77294921875
],
[
0.125,
0.77783203125,
0.48046875,
0.7763671875,
0.48046875,
0.79052734375,
0.125,
0.79150390625
],
[
0.5185546875,
0.7734375,
0.91259765625,
0.7734375,
0.91259765625,
0.787109375,
0.5185546875,
0.787109375
],
[
0.1258544921875,
0.79150390625,
0.48193359375,
0.79150390625,
0.48193359375,
0.8046875,
0.1258544921875,
0.8046875
],
[
0.51953125,
0.79052734375,
0.91259765625,
0.79052734375,
0.91259765625,
0.80029296875,
0.51953125,
0.80029296875
],
[
0.1258544921875,
0.80615234375,
0.48193359375,
0.80615234375,
0.48193359375,
0.8193359375,
0.1258544921875,
0.8193359375
],
[
0.51953125,
0.8037109375,
0.9111328125,
0.8037109375,
0.9111328125,
0.814453125,
0.51953125,
0.814453125
],
[
0.1258544921875,
0.8193359375,
0.48193359375,
0.8193359375,
0.48193359375,
0.83349609375,
0.1258544921875,
0.83349609375
],
[
0.5185546875,
0.81640625,
0.9140625,
0.81640625,
0.9140625,
0.830078125,
0.5185546875,
0.830078125
],
[
0.125,
0.83349609375,
0.48046875,
0.83349609375,
0.48046875,
0.8466796875,
0.125,
0.8466796875
],
[
0.51953125,
0.83203125,
0.90625,
0.83203125,
0.90625,
0.84228515625,
0.51953125,
0.84228515625
],
[
0.125,
0.84521484375,
0.2442626953125,
0.84765625,
0.2442626953125,
0.861328125,
0.125,
0.859375
],
[
0.521484375,
0.84521484375,
0.9111328125,
0.84521484375,
0.9111328125,
0.85595703125,
0.521484375,
0.85595703125
],
[
0.5185546875,
0.85791015625,
0.9140625,
0.85791015625,
0.9140625,
0.8720703125,
0.5185546875,
0.8720703125
],
[
0.08416748046875,
0.87060546875,
0.48193359375,
0.87255859375,
0.48193359375,
0.88720703125,
0.08416748046875,
0.88525390625
],
[
0.0849609375,
0.88623046875,
0.373291015625,
0.88623046875,
0.373291015625,
0.896484375,
0.0849609375,
0.896484375
],
[
0.51708984375,
0.8818359375,
0.67236328125,
0.88330078125,
0.67236328125,
0.89794921875,
0.51708984375,
0.896484375
]
] |
[
"CODS-COMAD 2022, January 8-10, 2022, Bangalore, India",
"Ritvik Vij",
"DeepEye [17] combines rule based visualization generation with",
"Column level aggregation Table level aggregation",
"models trained to 1) classify a visualization 'good' or\"bad'using",
"Min",
"Min",
"a decision tree classifier and 2) rank lists of visualizations using",
"Max",
"Max",
"a ranking neural network. The DeepEye corpus consists visualiza",
"Mean",
"Mean",
"tions drawnfrom42publicdatasets.100studentsannotatedthese",
"Std",
"Std",
"visualizations as good/bad.These annotations, combined with 14",
"Skew",
"MAD",
"features for each column pair and rule based heuristics are used to",
"Table 1: Aggregation metrics used to get data features. We",
"train their models.",
"also use the correlation feature along with this.",
"Draco[18] tacklesthevisualizationrecommendationinamore",
"formal framework. It uses Answer Set Programming (ASP), a con-",
"traint logic programming to specify and generate visualizations",
"with soft weights for constraints learnt from training data.",
"(3)VisualizationSelection:Finally,wecomputethelossbetween",
"PROBLEMFORMULATION",
"the true statistics computed in the first stage and the ex",
"3",
"tracted statistics by the model trained the second stage.The",
"数据集的可视化是用于以无失真方式传递数据的视觉元素的",
"visualization that is considered to be performing best in terms",
"集合。虽然在视觉上传达数据集的内容有很多方面,包括颜",
"of this loss is recommended for the given data table.",
"色的选择,特定领域的图像,如地图,叠加层等。,我们的工",
"整体模型体系结构如图2所示。在本节的其余部分中,我们将",
"作基于一个相当简单和基本的前提,即人们应该能够从可视",
"化[22,23]】中准确地得出底层数据集的核心统计特征。由于找",
"详细讨论VizAI的每个部分。",
"到最佳可视化是一个规范问题,因此我们做出以下假设,然后",
"4.1",
"",
"True Statistics Computation and Candidate",
"VisualizationGeneration",
"通过用户研究对其进行验证:",
".Humans prefer visualizations from which they can perceive",
"features about the underlying data accurately.",
"我们尝试了几种选择一组统计信息作为从数据表中提取特征",
".The modern neural network based models, trained to predict",
"的方法。我们最初尝试了表嵌入[6]和其他神经特征提取方法,",
"data features from plots, naturally emulate human percep-",
"但它们的主要缺点是最终用户无法理解或解释这些特征。由于",
"tion to some extent. That is, if the model makes larger errors",
"理解为什么一个特定的可视化是好的各个方面是相关的数据",
"in estimating statistical features from one visualization over",
"分析师,对我们来说,可解释性是一个基本要求[16]。因此",
"from another visualization of the same data, we expect that",
"最后我们确定了一组简单且常用的功能,大多数处理数据的",
"humans when asked to perceive the same statistics end up",
"人都对这些功能有所了解。这些在1中列出。请注意,这些与",
"making corresponding scale of errors ?",
"关注极端,中位数和关系的建议是一致的[23]。请注意,这些",
"核心统计数据可以根据特定应用程序设置的要求进一步丰富",
"有了这些假设,我们找到最佳可视化的问题就简化为设计和",
"虽然我们目前试验的数据表只包含要可视化的两列,但在",
"训练满足上述标准并找到一组特征的模型的任务",
"般设置中,我们将不得不处理具有可变列数的表。如果仅",
"使用单个列级统计信息作为特征,则每个数据表可能导致不",
"4",
"VIZAIFRAMEWORK",
"同的特征维度。为了克服这个问题,我们引人了2阶段特征聚",
"VizAI由以下三个阶段组成",
"合的使用。首先,为每列计算列统计信息(在1的第一列中提",
"(1) True Statistics Computation and Candidate Generation: We",
"到)。然后使用1第二列中提到的指标进行数据表级聚合。因",
"compute a set of statistics from the underlying data tables",
"此,我们使用两个级别的功能,例如。g。,\"maxofmean'是每",
"and use them as features that need to be estimated by our",
"列平均值的最大值。除此之外,我们还在表的任意两列X和Y",
"model from the given visualizations. We keep these statis",
"之间使用皮尔逊相关系数r,写为:",
"tics to be easily computable and, more importantly, easily",
"Z-I(xi -x)(yi - g)",
"interpretable by our users. Next, we programmatically gen-",
"r:",
"erate a number of visualizations of each data table using a",
"z-1(xi - x)2 /z-1(ui - 9)2",
"visualization generator such as Plotly,gnuplot, Vegalite etc",
"(2) Statistical-Feature Regression: This is the core model build-",
"其中 xi和yi是每列的ith行,x和g表示每列的平均值。生成",
"ing stage where visualizations are input as images to a su-",
"的相关系数对于每个表都是唯一的,因为我们在数据集中的",
"pervised Convolution Neural Network (CNN)regression model",
"当前表设置中只有2列。这可以很容易地修改为执行相关系",
"that extracts (regresses) the statistical features from these",
"数的表级聚合,以适应具有可变列数的表。因此,在当前设置",
"images, and trains to minimize the loss between the true",
"中,每个数据表都使用与下一阶段模型构建相同的26个统计",
"statistics and the extracted statistical features.Note that dur-",
"特征来表示可视化候选生成。接下来,我们为每个数据表生成",
"ing training, we optimize the statistics regression for each",
"许多不同的可视化,并将它们馈送到卷积神经网络(CNN)层",
"visualization type separately. Thus, adding another visual-",
"该卷积神经网络层与从每个可视化中提取统计数据的回归器",
"ization type has no impact on the models built on earlier",
"耦合。正如我们已经提到的,我们使用Plot。lyChartStudio3",
"visualization types.",
"用于生成表的可视化,以使我们的可视化与VizNet存储库中",
"的公开可用数据集保持一致(详细信息在5节中)。这些可视",
"2it should be noted that we donot expect the same exact amount of statisticalerrors",
"between human and our model, but rather their relative scale",
"3https://plotly.com/chart-studio/"
] |
{
"arxiv_id": "2111.04190",
"language": "zh",
"page_idx": 3
}
|
||
1810.12546-zh-0
|
1810.12546-zh-0.jpg
|
用加减法双门递归网络简化神经机器翻译
Biao Zhang$^1$, Deyi Xiong$^2$, Jinsong Su$^1*$,Qian Lin$^1$ and Huiji Zhang$^3$
Xiamen University, Xiamen, China$^1$ Soochow University, Suzhou, China$^2$
Xiamen Meiya Pico information Co.,Ltd. Xiamen, China$^3$
$\{$ zb,qianl $\}$ @stu.xmu.edu.cn, dyxiong@suda.edu.cn, jssu@xmu.edu.cn
zhanghj@300188.cn
## $\operatorname{Abstract}$
In this paper, we propose an additionsubtraction twin-gated recurrent network (ATR) to simplify neural machine translation. The recurrent units of ATR are heavily simplified to have the smallest number of weight matrices among units of all existing gated RNNs. With the simple addition and subtraction operation, we introduce a twin-gated mechanism to build input and forget gates which are highly correlated. Despite this simplification, the essential non-linearities and capability of modeling long-distance dependencies are preserved. Additionally the proposed ATR is more transparent than LSTM/GRU due to the simplification. Forward self-attention can be easily established in ATR, which makes the proposed network interpretable. Experiments on WMT14 translation tasks demonstrate that ATR-based neural machine translation can yield competitive performance on English-German and English-French language pairs in terms of both translation quality and speed. Further experiments on NIST Chinese-English translation, natural language inference and Chinese word segmentation verify the generality and applicability of ATR on different natural language processing tasks.$^1$
et al.,2014) ,被广泛用作 NMT 的编码器和解码器。为了缓解简单递归神经网络(SRNN)E (Elman, 1990) 中发现的梯度消失问题,LSTM 或 GRU 中的递归单元通常会引入不同的门来创建剪切,以使梯度信息通过
尽管这些门控递归网络具有学习长距离依赖关系的能力,但它们使用的矩阵变换明显更多(i。e。,更多参数)比 SRNN。由于许多非线性函数对输入、隐藏状态和输出进行建模,它们的透明度也不如 SRNN。这些使得基于这些门控 RNN 的 NMT 不仅由于递归和递归单元$\overline{\mathrm{E}}$ (Vaswani et al.,2017)的大量计算而导致训练和推理效率低下,而且还难以生成可解释的模型$\boxed{\mathrm{F}}($Lee et al.,2017)。这些也阻碍了 NMT 模型的部署,特别是在内存和计算受限的设备上
在本文中,我们的主要兴趣是简化基于 RNN 的 NMT 中的递归单元。在这样做的过程中,我们想研究如何进一步推进基于 RNN 的 NMT 在参数数量方面(i。e。内存消耗)、运行速度和可解释性。这种简化将保留在 LSTM/GRU 中对长距离依赖关系进行建模的能力以及SRNN 中递归非线性的表达能力。简化还将一方面减少循环单元中的计算负载和物理内存消耗,另一方面使我们能够很好地了解 RNN 的内部工作
为了实现这一目标,我们提出了一种用于NMT 的加减双门循环网络(ATR)。在 ATR 的循环单元中,我们只保留非常重要的权重矩阵:一个在输入上,另一个在历史上(类似于 SRNN)。与以前的 RNN 变体相比 (e。g。, LSTM 或 GRU), 我们有最小数量的权重矩阵。这将减少矩阵乘法的计算负荷。ATR 还使用门来绕过消失的梯度问题,以捕获远程依赖关系。具体来说,我们使用加权历史和输入之间的加法和减法运算来分别估计输入和遗忘门。这些 add-sub 操作不仅区分了两个门,因此我们不需要为它们提供不同的权重矩阵,而且还使两个门彼此动态相关。最后,我们去除递归单元中的一些非线性
## 1 Introduction
神经机器翻译 (NMT) 通常具有基于注意力的编码器-解码器框架$\boxed{\mathrm{F}}($Bahdanau et al., 2015) , 最近已成为机器翻译的主要方法,并且已经部署用于在线翻译服务$\overline{\mathrm{E}}($Wu et al.,2016)。递归神经网络 (RNN), e。g。, LSTMs (Hochreiter and Schmidhuber, 1997) 或 GRUs (Chung
${\mathrm{Corresponding~author}}.$
$^{1}$Source
is
available
code
at: and
https://github.com/bzhangGo/ATR https://github.com/bzhangGo/zero
|
[
[
0.2880859375,
0.08612060546875,
0.71533203125,
0.08612060546875,
0.71533203125,
0.1009521484375,
0.2880859375,
0.1009521484375
],
[
0.2091064453125,
0.1258544921875,
0.796875,
0.1258544921875,
0.796875,
0.14013671875,
0.2091064453125,
0.14013671875
],
[
0.349365234375,
0.142578125,
0.66015625,
0.142578125,
0.66015625,
0.15673828125,
0.349365234375,
0.15673828125
],
[
0.345947265625,
0.1591796875,
0.66015625,
0.1591796875,
0.66015625,
0.17333984375,
0.345947265625,
0.17333984375
],
[
0.25439453125,
0.174560546875,
0.75390625,
0.17333984375,
0.75390625,
0.188232421875,
0.25439453125,
0.189453125
],
[
0.202392578125,
0.1923828125,
0.8095703125,
0.1923828125,
0.8095703125,
0.207275390625,
0.202392578125,
0.207275390625
],
[
0.4189453125,
0.2078857421875,
0.59033203125,
0.208984375,
0.59033203125,
0.223876953125,
0.4189453125,
0.22265625
],
[
0.264404296875,
0.26318359375,
0.343505859375,
0.265380859375,
0.343505859375,
0.28076171875,
0.264404296875,
0.279052734375
],
[
0.5146484375,
0.2666015625,
0.8818359375,
0.2666015625,
0.8818359375,
0.27978515625,
0.5146484375,
0.27978515625
],
[
0.515625,
0.281982421875,
0.88330078125,
0.281982421875,
0.88330078125,
0.295654296875,
0.515625,
0.295654296875
],
[
0.14697265625,
0.29150390625,
0.456787109375,
0.29150390625,
0.456787109375,
0.3046875,
0.14697265625,
0.3046875
],
[
0.5146484375,
0.29638671875,
0.88330078125,
0.297607421875,
0.88330078125,
0.312255859375,
0.5146484375,
0.311279296875
],
[
0.1485595703125,
0.30810546875,
0.459228515625,
0.30810546875,
0.459228515625,
0.318359375,
0.1485595703125,
0.318359375
],
[
0.515625,
0.314208984375,
0.8818359375,
0.314208984375,
0.8818359375,
0.327880859375,
0.515625,
0.327880859375
],
[
0.1485595703125,
0.320556640625,
0.459228515625,
0.320556640625,
0.459228515625,
0.334228515625,
0.1485595703125,
0.334228515625
],
[
0.5146484375,
0.328857421875,
0.75390625,
0.330078125,
0.75390625,
0.344482421875,
0.5146484375,
0.34326171875
],
[
0.14697265625,
0.3349609375,
0.45751953125,
0.3349609375,
0.45751953125,
0.3486328125,
0.14697265625,
0.3486328125
],
[
0.1485595703125,
0.350830078125,
0.456787109375,
0.350830078125,
0.456787109375,
0.361083984375,
0.1485595703125,
0.361083984375
],
[
0.5341796875,
0.3466796875,
0.8818359375,
0.3466796875,
0.8818359375,
0.361083984375,
0.5341796875,
0.361083984375
],
[
0.14697265625,
0.363525390625,
0.4609375,
0.363525390625,
0.4609375,
0.377685546875,
0.14697265625,
0.377685546875
],
[
0.51708984375,
0.363525390625,
0.8818359375,
0.363525390625,
0.8818359375,
0.377197265625,
0.51708984375,
0.377197265625
],
[
0.14697265625,
0.377685546875,
0.45751953125,
0.377685546875,
0.45751953125,
0.391357421875,
0.14697265625,
0.391357421875
],
[
0.5146484375,
0.37890625,
0.8818359375,
0.37890625,
0.8818359375,
0.392578125,
0.5146484375,
0.392578125
],
[
0.14697265625,
0.392578125,
0.459228515625,
0.392578125,
0.459228515625,
0.40625,
0.14697265625,
0.40625
],
[
0.51708984375,
0.3955078125,
0.8818359375,
0.3955078125,
0.8818359375,
0.4091796875,
0.51708984375,
0.4091796875
],
[
0.1485595703125,
0.40625,
0.4609375,
0.40625,
0.4609375,
0.419189453125,
0.1485595703125,
0.419189453125
],
[
0.5146484375,
0.410400390625,
0.8818359375,
0.410888671875,
0.8818359375,
0.42578125,
0.5146484375,
0.424560546875
],
[
0.14697265625,
0.42041015625,
0.459228515625,
0.42041015625,
0.459228515625,
0.43408203125,
0.14697265625,
0.43408203125
],
[
0.5146484375,
0.427490234375,
0.88330078125,
0.427490234375,
0.88330078125,
0.441162109375,
0.5146484375,
0.441162109375
],
[
0.14697265625,
0.43408203125,
0.45751953125,
0.43408203125,
0.45751953125,
0.448974609375,
0.14697265625,
0.448974609375
],
[
0.145263671875,
0.44775390625,
0.459228515625,
0.448974609375,
0.459228515625,
0.4619140625,
0.145263671875,
0.46142578125
],
[
0.515625,
0.443603515625,
0.8818359375,
0.443603515625,
0.8818359375,
0.457275390625,
0.515625,
0.457275390625
],
[
0.14697265625,
0.463134765625,
0.459228515625,
0.463134765625,
0.459228515625,
0.476806640625,
0.14697265625,
0.476806640625
],
[
0.51708984375,
0.460205078125,
0.8818359375,
0.460205078125,
0.8818359375,
0.473876953125,
0.51708984375,
0.473876953125
],
[
0.1485595703125,
0.476806640625,
0.459228515625,
0.476806640625,
0.459228515625,
0.490478515625,
0.1485595703125,
0.490478515625
],
[
0.5146484375,
0.4755859375,
0.880859375,
0.4755859375,
0.880859375,
0.4892578125,
0.5146484375,
0.4892578125
],
[
0.1485595703125,
0.4912109375,
0.459228515625,
0.4912109375,
0.459228515625,
0.5048828125,
0.1485595703125,
0.5048828125
],
[
0.5146484375,
0.490478515625,
0.8818359375,
0.4912109375,
0.8818359375,
0.505859375,
0.5146484375,
0.5048828125
],
[
0.1485595703125,
0.5048828125,
0.45751953125,
0.5048828125,
0.45751953125,
0.5185546875,
0.1485595703125,
0.5185546875
],
[
0.51318359375,
0.5126953125,
0.52880859375,
0.505859375,
0.53662109375,
0.5166015625,
0.5205078125,
0.5224609375
],
[
0.14697265625,
0.51953125,
0.45751953125,
0.52099609375,
0.45751953125,
0.5322265625,
0.14697265625,
0.53076171875
],
[
0.5341796875,
0.52490234375,
0.88330078125,
0.52490234375,
0.88330078125,
0.5380859375,
0.5341796875,
0.5380859375
],
[
0.1485595703125,
0.53369140625,
0.45751953125,
0.53369140625,
0.45751953125,
0.54736328125,
0.1485595703125,
0.54736328125
],
[
0.5146484375,
0.5390625,
0.880859375,
0.5390625,
0.880859375,
0.552734375,
0.5146484375,
0.552734375
],
[
0.145263671875,
0.548828125,
0.459228515625,
0.54736328125,
0.459228515625,
0.56103515625,
0.145263671875,
0.5625
],
[
0.1485595703125,
0.5625,
0.459228515625,
0.5625,
0.459228515625,
0.576171875,
0.1485595703125,
0.576171875
],
[
0.515625,
0.55712890625,
0.8818359375,
0.55712890625,
0.8818359375,
0.57080078125,
0.515625,
0.57080078125
],
[
0.1485595703125,
0.57666015625,
0.45751953125,
0.57666015625,
0.45751953125,
0.59033203125,
0.1485595703125,
0.59033203125
],
[
0.5146484375,
0.57177734375,
0.88330078125,
0.572265625,
0.88330078125,
0.58740234375,
0.5146484375,
0.5859375
],
[
0.1485595703125,
0.5927734375,
0.45751953125,
0.5927734375,
0.45751953125,
0.6025390625,
0.1485595703125,
0.6025390625
],
[
0.5146484375,
0.58837890625,
0.8818359375,
0.58740234375,
0.8818359375,
0.6015625,
0.5146484375,
0.6025390625
],
[
0.14697265625,
0.60498046875,
0.459228515625,
0.60498046875,
0.459228515625,
0.6181640625,
0.14697265625,
0.6181640625
],
[
0.515625,
0.60498046875,
0.8818359375,
0.60498046875,
0.8818359375,
0.6181640625,
0.515625,
0.6181640625
],
[
0.145263671875,
0.6181640625,
0.459228515625,
0.61767578125,
0.459228515625,
0.6318359375,
0.145263671875,
0.6328125
],
[
0.51318359375,
0.619140625,
0.8818359375,
0.62060546875,
0.8818359375,
0.63525390625,
0.51318359375,
0.63427734375
],
[
0.1485595703125,
0.6328125,
0.459228515625,
0.6328125,
0.459228515625,
0.646484375,
0.1485595703125,
0.646484375
],
[
0.53076171875,
0.63720703125,
0.8818359375,
0.63720703125,
0.8818359375,
0.65087890625,
0.53076171875,
0.65087890625
],
[
0.14697265625,
0.6455078125,
0.4609375,
0.646484375,
0.4609375,
0.6611328125,
0.14697265625,
0.66015625
],
[
0.515625,
0.65283203125,
0.88330078125,
0.65283203125,
0.88330078125,
0.66748046875,
0.515625,
0.66748046875
],
[
0.14697265625,
0.6611328125,
0.45751953125,
0.6611328125,
0.45751953125,
0.6748046875,
0.14697265625,
0.6748046875
],
[
0.1485595703125,
0.67578125,
0.459228515625,
0.67578125,
0.459228515625,
0.689453125,
0.1485595703125,
0.689453125
],
[
0.515625,
0.67041015625,
0.60693359375,
0.67041015625,
0.60693359375,
0.681640625,
0.515625,
0.681640625
],
[
0.14697265625,
0.6904296875,
0.45751953125,
0.6904296875,
0.45751953125,
0.70361328125,
0.14697265625,
0.70361328125
],
[
0.53564453125,
0.68603515625,
0.8818359375,
0.68603515625,
0.8818359375,
0.69970703125,
0.53564453125,
0.69970703125
],
[
0.145263671875,
0.705078125,
0.333251953125,
0.703125,
0.333251953125,
0.71728515625,
0.145263671875,
0.7197265625
],
[
0.51318359375,
0.70068359375,
0.880859375,
0.70068359375,
0.880859375,
0.71435546875,
0.51318359375,
0.71435546875
],
[
0.515625,
0.71875,
0.8818359375,
0.71875,
0.8818359375,
0.732421875,
0.515625,
0.732421875
],
[
0.118408203125,
0.732421875,
0.151123046875,
0.732421875,
0.151123046875,
0.74365234375,
0.118408203125,
0.74365234375
],
[
0.151123046875,
0.72998046875,
0.26611328125,
0.73095703125,
0.26611328125,
0.7451171875,
0.151123046875,
0.74462890625
],
[
0.5146484375,
0.73291015625,
0.8818359375,
0.73388671875,
0.8818359375,
0.7490234375,
0.5146484375,
0.74755859375
],
[
0.515625,
0.7490234375,
0.87744140625,
0.75048828125,
0.87744140625,
0.765625,
0.515625,
0.76318359375
],
[
0.1502685546875,
0.7353515625,
0.154541015625,
0.7353515625,
0.154541015625,
0.74072265625,
0.1502685546875,
0.74072265625
],
[
0.12005615234375,
0.7548828125,
0.486083984375,
0.7548828125,
0.486083984375,
0.76953125,
0.12005615234375,
0.76953125
],
[
0.51318359375,
0.76416015625,
0.8818359375,
0.765625,
0.8818359375,
0.77978515625,
0.51318359375,
0.779296875
],
[
0.118408203125,
0.771484375,
0.490234375,
0.7724609375,
0.490234375,
0.78759765625,
0.118408203125,
0.7861328125
],
[
0.5146484375,
0.78076171875,
0.8818359375,
0.7822265625,
0.8818359375,
0.79638671875,
0.5146484375,
0.7958984375
],
[
0.12176513671875,
0.7890625,
0.489501953125,
0.7890625,
0.489501953125,
0.802734375,
0.12176513671875,
0.802734375
],
[
0.515625,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.515625,
0.8125
],
[
0.12005615234375,
0.8046875,
0.489501953125,
0.8046875,
0.489501953125,
0.818359375,
0.12005615234375,
0.818359375
],
[
0.5146484375,
0.81396484375,
0.880859375,
0.81396484375,
0.880859375,
0.82763671875,
0.5146484375,
0.82763671875
],
[
0.12005615234375,
0.82080078125,
0.48779296875,
0.82080078125,
0.48779296875,
0.8349609375,
0.12005615234375,
0.8349609375
],
[
0.515625,
0.83056640625,
0.8818359375,
0.83056640625,
0.8818359375,
0.84423828125,
0.515625,
0.84423828125
],
[
0.118408203125,
0.83740234375,
0.489501953125,
0.83740234375,
0.489501953125,
0.85107421875,
0.118408203125,
0.85107421875
],
[
0.515625,
0.845703125,
0.8818359375,
0.8466796875,
0.8818359375,
0.86083984375,
0.515625,
0.85986328125
],
[
0.145263671875,
0.859375,
0.30322265625,
0.859375,
0.30322265625,
0.87353515625,
0.145263671875,
0.87353515625
],
[
0.515625,
0.86328125,
0.880859375,
0.86328125,
0.880859375,
0.876953125,
0.515625,
0.876953125
],
[
0.1435546875,
0.87255859375,
0.193115234375,
0.87255859375,
0.193115234375,
0.8828125,
0.1435546875,
0.8828125
],
[
0.2333984375,
0.87255859375,
0.27197265625,
0.87255859375,
0.27197265625,
0.88427734375,
0.2333984375,
0.88427734375
],
[
0.306396484375,
0.87353515625,
0.32421875,
0.87353515625,
0.32421875,
0.8818359375,
0.306396484375,
0.8818359375
],
[
0.36279296875,
0.87353515625,
0.424072265625,
0.87353515625,
0.424072265625,
0.88427734375,
0.36279296875,
0.88427734375
],
[
0.468505859375,
0.87451171875,
0.48779296875,
0.87451171875,
0.48779296875,
0.8828125,
0.468505859375,
0.8828125
],
[
0.515625,
0.87744140625,
0.88330078125,
0.87890625,
0.88330078125,
0.8935546875,
0.515625,
0.892578125
],
[
0.118408203125,
0.88427734375,
0.370361328125,
0.88427734375,
0.370361328125,
0.89794921875,
0.118408203125,
0.89794921875
],
[
0.459228515625,
0.88525390625,
0.490234375,
0.88525390625,
0.490234375,
0.896484375,
0.459228515625,
0.896484375
],
[
0.118408203125,
0.896484375,
0.364501953125,
0.896484375,
0.364501953125,
0.91015625,
0.118408203125,
0.91015625
],
[
0.5146484375,
0.89453125,
0.71533203125,
0.89453125,
0.71533203125,
0.9091796875,
0.5146484375,
0.9091796875
]
] |
[
"用加减法双门递归网络简化神经机器翻译",
"Biao Zhangl, Deyi Xiong?, Jinsong Sul* Qian Linl and Huiji Zhang3",
"Xiamen University, Xiamen, Chinal",
"Soochow University, Suzhou, China?",
"Xiamen Meiya Pico information Co..Ltd. Xiamen. China3",
"[ zb,qianl I @stu.xmu.edu.cn, dyxiong@suda.edu.cn, jssu@xmu.edu.cn",
"zhanghj@300188.cn",
"Abstract",
"etal.,2014),被广泛用作NMT的编码器和解",
"码器。为了缓解简单递归神经网络(SRNN)E",
"In this paper, we propose an addition-",
"(Elman,1990)中发现的梯度消失问题,LSTM",
"subtraction twin-gated recurrent network",
"或GRU中的递归单元通常会引人不同的门来",
"(ATR) to simplify neural machine transla-",
"创建剪切,以使梯度信息通过",
"tion. The recurrent units of ATR are heav",
"ily simplified to have the smallest num-",
"尽管这些门控递归网络具有学习长距离依赖",
"ber of weight matrices among units of",
"关系的能力,但它们使用的矩阵变换明显更多",
"all existing gated RNNs. With the sim-",
"(i。e。,更多参数)比SRNN。由于许多非线性",
"ple addition and subtraction operation,",
"函数对输入、隐藏状态和输出进行建模,它们",
"we introduce a twin-gated mechanism to",
"的透明度也不如SRNN。这些使得基于这些门",
"build input and forget gates which are",
"控RNN的NMT不仅由于递归和递归单元E",
"highly correlated. Despite this simpli-",
"fication, the essential non-linearities and",
"(Vaswanietal.,2017)的大量计算而导致训练",
"capability of modeling long-distance de-",
"和推理效率低下,而且还难以生成可解释的模",
"pendencies are preserved.Additionally,",
"型E(Leeetal.,2017)。这些也阻碍了NMT",
"the proposed ATR is more transparent",
"模型的部署,特别是在内存和计算受限的设备",
"than LSTM/GRU due to the simplifica-",
"卜",
"tion. Forward self-attention can be easily",
"在本文中,我们的主要兴趣是简化基于RNN",
"established in ATR, which makes the pro-",
"的NMT中的递归单元。在这样做的过程中我",
"posed network interpretable.Experiments",
"on WMT14 translation tasks demonstrate",
"们想研究如何进一步推进基于RNN的NMT",
"that ATR-based neural machine transla-",
"在参数数量方面(i。e。、内存消耗)、运行速度",
"tion canyield competitiveperformanceon",
"和可解释性。这种简化将保留在LSTM/GRU",
"English-German and English-French lan-",
"中对长距离依赖关系进行建模的能力以及",
"guage pairs in terms of both translation",
"SRNN中递归非线性的表达能力。简化还将",
"quality and speed. Further experiments on",
"方面减少循环单元中的计算负载和物理内存",
"NIST Chinese-English translation, natural",
"消耗,另一方面使我们能够很好地了解RNN",
"language inference and Chinese word seg",
"mentation verify the generality and appli-",
"的内部工作",
"cability of ATR on different natural lan-",
"为了实现这一目标,我们提出了一种用于",
"guage processing tasks. 1",
"NMT 的加减双门循环网络(ATR)。在ATR",
"的循环单元中,我们只保留非常重要的权重",
"1",
"Introduction",
"矩阵:一个在输入上,另一个在历史上(类似",
"于 SRNN)。与以前的RNN变体相比(e。g。",
"",
"神经机器翻译(NMT)通常具有基于注意力的",
"LSTM或GRU),我们有最小数量的权重矩",
"编码器-解码器框架E(Bahdanauetal.,2015),",
"阵。这将减少矩阵乘法的计算负荷。ATR还",
"最近已成为机器翻译的主要方法,并且已经部",
"使用门来绕过消失的梯度问题,以捕获远程依",
"署用于在线翻译服务E(Wuetal.,2016)。递",
"赖关系。具体来说,我们使用加权历史和输入",
"归神经网络(RNN),e。g。,LSTMs (Hochre-",
"之间的加法和减法运算来分别估计输人和遗忘",
"iter and Schmidhuber,1997)或 GRUs (Chung",
"门。这些add-sub操作不仅区分了两个门,因",
"Corresponding author.",
"此我们不需要为它们提供不同的权重矩阵,而",
"Source",
"code",
"is",
"available",
"at:",
"且还使两个门彼此动态相关。最后,我们去除",
"https://github.com/bzhangGo/ATR",
"and",
"https://github.com/bzhangGo/zero",
"递归单元中的一些非线性"
] |
{
"arxiv_id": "1810.12546",
"language": "zh",
"page_idx": 0
}
|
||
1810.12546-zh-1
|
1810.12546-zh-1.jpg
|
由于这些简化,我们可以很容易地表明 ATR 中的每个新状态都是先前输入的未归一化加权和,类似于递归加法网络E(Lee et al.,2017) 。此属性不仅使我们能够将每个状态追溯到贡献更大的那些输入,而且还可以在当前状态及其所有先前输入之间建立非规范化的前向自我关注。自我注意机制已经被证明在非复发性NMT (Vaswani et al., 2017) 中非常有用。
我们使用单层编码器和解码器在建议的ATR 上构建 NMT 系统。在 WMT14 英德和英法翻译任务上的实验表明,与基于GRU/LSTM 的 NMT 相比,我们的模型产生了有竞争力的结果。当我们将正交上下文感知编码器(仍然是单层)集成到基于 ATR 的 NMT 中时,我们的模型 (产生 24。97 和39。06BLEU 分别在英语-德语和英语-法语翻译中) 甚至可以与深度 RNN 和非 RNNNMT 模型相媲美,这些模型都具有多个编码器/解码器层。深人分析表明,在 NMT 训练和解码速度方面,ATR 比 LSTM/GRU 更有效
我们使我们的模型适应其他语言翻译和自然语言处理任务,包括 NIST 汉英翻译,自然语言推理和中文分词。我们的结论仍然适用于所有这些任务
## 2 Related Work
最广泛使用的 RNN 模型是 LSTM$\mathbb{E}($Hochreiter and Schmidhuber, 1997) 和 GRUE (Chung et al., 2014), 它们都擅长处理梯度消失问题,这是简单 RNN$\underline{\mathrm{E}}($Elman,1990)的臭名昭著的瓶颈。我们模型中的闸门设计遵循LSTM/GRU 中的闸门原理
我们的工作与 Lee et al. (2017) 提出的递归加法网络(RAN)密切相关。他们通过经验证明,可以消除 RNN 过渡动力学中常用的许多非线性,并且仅将输入向量的加权和计算为递归隐藏状态在语言建模中可以非常有效。我们的工作遵循与简化经常性单位相同的精神。但是我们提出的 ATR 在三个方面与 RAN 有很大的不同。首先,ATR 比 RAN 更简单,参数更少。ATR 中只有两个权重矩阵,而最简单的 RAN 版本中有四个不同的权重矩阵 (RAN 中每个门两个)。其次,由于 ATR 中的输入和遗忘门之间的唯一区别是历史和输入之间的加法/减法运算,因此可以学习到两个门是高度相关的,如我们的分析所示。最后,尽管 RAN 在语言建模中被证明是有效的,但我们的实验表明,在速度和翻译质量方面,ATR 在机器翻译方面都优于 RAN
为了加快 RNN 模型的速度,一系列工作试图删除重复连接。例如,Bradbury et al. (2016)
提出了准递归神经网络(QRNN),该网络使用卷积层和极简递归池函数来提高并行性。最近, Lei and Zhang (2017) 提出了一个简单的循环单元(SRU)。通过 cuDNN 优化,他们的 RNN 模型可以像 CNN 一样快速训练。然而,为了获得有希望的结果,QRNN 和 SRU 必须使用深度架构。在实践中,4 层 QRNN 编码器和解码器用于获得与单层 LSTM/GRUNMT 相当的翻译质量。特别是,我们的单层模型实现了比 10 层 SRU 系统高得多的性能
最后,我们的工作还与为 NMT 模型开发替代体系结构的工作有关。Zhou et al.(2016) 在相邻堆叠的 RNN 层之间引入快进连接,以缓解梯度传播。Wang et al. (2017a)提出了一种线性关联单元,以减少深层 NMT 中沿层的梯度传播长度。Gehring et al. (2017b) 和Vaswani et al. (2017) 探索纯卷积和注意力架构作为神经翻译 RNN 的替代方案。通过精心配置,他们的深度模型在各种数据集上实现了最先进的性能
3 Addition-Subtraction Twin-Gated
Recurrent Network
给定一个序列$x=\{x_1,x_2,\ldots,x_T\}$ , RNN 循
环更新隐藏状态$h_t$ ,如下所示:
$$h_t=\phi(h_{t-1},x_t)$$
(1)
其中$h_{t-1}$是先前的隐藏状态,被认为是存储来自所有先前输入的信息,而$x_t$是当前输入。函数$\phi(\cdot)$是一个非线性递归函数,以递归单位从细节中抽象出来
GRU 可视为 LSTM 的简化版本。在本文中, 从理论上讲,我们使用 GRU 作为基准,并提出了一个新的递归单元来进一步简化它。GRU 函数定义如下(参见图 1b):
(2)
(3)
$$\boldsymbol{z}_{t}=\sigma(\boldsymbol{W}_{z}\boldsymbol{x}_{t}+\boldsymbol{U}_{z}\boldsymbol{h}_{t-1})\\\boldsymbol{r}_{t}=\sigma(\boldsymbol{W}_{r}\boldsymbol{x}_{t}+\boldsymbol{U}_{r}\boldsymbol{h}_{t-1})\\\tilde{\boldsymbol{h}}_{t}=\mathrm{tanh}(\boldsymbol{W}_{h}\boldsymbol{x}_{t}+\boldsymbol{U}_{h}(\boldsymbol{r}_{t}\odot\boldsymbol{h}_{t-1}))\\\boldsymbol{h}_{t}=\boldsymbol{z}_{t}\odot\boldsymbol{h}_{t-1}+(1-\boldsymbol{z}_{t})\odot\tilde{\boldsymbol{h}}_{t}$$
(4)
(5)
其中$\odot$表示逐元素乘法。reset 门$r_t$ 和 update 门$z_t$ 分别启用从历史和当前输入到新状态的可管理信息流。尽管这两个门在处理梯度流方面取得了成功,但它们消耗了大量的矩阵变换和权重参数
我们认为这些矩阵变换中的许多都不是必需的。因此,我们提出了一种加减双门循环单元
|
[
[
0.139404296875,
0.07781982421875,
0.490234375,
0.07781982421875,
0.490234375,
0.0914306640625,
0.139404296875,
0.0914306640625
],
[
0.51318359375,
0.07598876953125,
0.880859375,
0.07598876953125,
0.880859375,
0.08905029296875,
0.51318359375,
0.08905029296875
],
[
0.12005615234375,
0.09320068359375,
0.489501953125,
0.09320068359375,
0.489501953125,
0.10687255859375,
0.12005615234375,
0.10687255859375
],
[
0.515625,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.515625,
0.10687255859375
],
[
0.12176513671875,
0.11102294921875,
0.486083984375,
0.11102294921875,
0.486083984375,
0.1217041015625,
0.12176513671875,
0.1217041015625
],
[
0.51318359375,
0.10809326171875,
0.8818359375,
0.1092529296875,
0.8818359375,
0.12353515625,
0.51318359375,
0.122314453125
],
[
0.1376953125,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.1376953125,
0.1395263671875
],
[
0.515625,
0.1258544921875,
0.8818359375,
0.1258544921875,
0.8818359375,
0.1395263671875,
0.515625,
0.1395263671875
],
[
0.118408203125,
0.14013671875,
0.48779296875,
0.14013671875,
0.48779296875,
0.15380859375,
0.118408203125,
0.15380859375
],
[
0.5146484375,
0.141357421875,
0.880859375,
0.141357421875,
0.880859375,
0.155029296875,
0.5146484375,
0.155029296875
],
[
0.12176513671875,
0.157958984375,
0.484375,
0.157958984375,
0.484375,
0.171630859375,
0.12176513671875,
0.171630859375
],
[
0.515625,
0.157958984375,
0.8818359375,
0.157958984375,
0.8818359375,
0.171630859375,
0.515625,
0.171630859375
],
[
0.12005615234375,
0.17333984375,
0.489501953125,
0.17333984375,
0.489501953125,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.515625,
0.17333984375,
0.88330078125,
0.17333984375,
0.88330078125,
0.18701171875,
0.515625,
0.18701171875
],
[
0.118408203125,
0.188232421875,
0.45751953125,
0.189453125,
0.45751953125,
0.2037353515625,
0.118408203125,
0.203125
],
[
0.51318359375,
0.189453125,
0.88330078125,
0.188232421875,
0.88330078125,
0.203125,
0.51318359375,
0.2037353515625
],
[
0.1376953125,
0.207275390625,
0.48779296875,
0.207275390625,
0.48779296875,
0.2203369140625,
0.1376953125,
0.2203369140625
],
[
0.5146484375,
0.2060546875,
0.8818359375,
0.2060546875,
0.8818359375,
0.2197265625,
0.5146484375,
0.2197265625
],
[
0.12176513671875,
0.22265625,
0.489501953125,
0.22265625,
0.489501953125,
0.236328125,
0.12176513671875,
0.236328125
],
[
0.515625,
0.221435546875,
0.79833984375,
0.221435546875,
0.79833984375,
0.235107421875,
0.515625,
0.235107421875
],
[
0.12005615234375,
0.2392578125,
0.48779296875,
0.2392578125,
0.48779296875,
0.2529296875,
0.12005615234375,
0.2529296875
],
[
0.5322265625,
0.240478515625,
0.8818359375,
0.240478515625,
0.8818359375,
0.254150390625,
0.5322265625,
0.254150390625
],
[
0.12005615234375,
0.254638671875,
0.489501953125,
0.254638671875,
0.489501953125,
0.268310546875,
0.12005615234375,
0.268310546875
],
[
0.5146484375,
0.255859375,
0.8818359375,
0.255859375,
0.8818359375,
0.270751953125,
0.5146484375,
0.270751953125
],
[
0.12176513671875,
0.271484375,
0.486083984375,
0.271484375,
0.486083984375,
0.281982421875,
0.12176513671875,
0.281982421875
],
[
0.5146484375,
0.271484375,
0.8818359375,
0.271484375,
0.8818359375,
0.2861328125,
0.5146484375,
0.2861328125
],
[
0.12176513671875,
0.287353515625,
0.489501953125,
0.287353515625,
0.489501953125,
0.300537109375,
0.12176513671875,
0.300537109375
],
[
0.5146484375,
0.2880859375,
0.8818359375,
0.2880859375,
0.8818359375,
0.3017578125,
0.5146484375,
0.3017578125
],
[
0.12005615234375,
0.303955078125,
0.484375,
0.303955078125,
0.484375,
0.314208984375,
0.12005615234375,
0.314208984375
],
[
0.52490234375,
0.303955078125,
0.8818359375,
0.303955078125,
0.8818359375,
0.317626953125,
0.52490234375,
0.317626953125
],
[
0.12005615234375,
0.319580078125,
0.48779296875,
0.319580078125,
0.48779296875,
0.333251953125,
0.12005615234375,
0.333251953125
],
[
0.51318359375,
0.319580078125,
0.8818359375,
0.318359375,
0.8818359375,
0.333251953125,
0.51318359375,
0.334228515625
],
[
0.12176513671875,
0.33740234375,
0.486083984375,
0.33740234375,
0.486083984375,
0.347412109375,
0.12176513671875,
0.347412109375
],
[
0.5146484375,
0.336181640625,
0.8818359375,
0.336181640625,
0.8818359375,
0.349853515625,
0.5146484375,
0.349853515625
],
[
0.12005615234375,
0.3515625,
0.48779296875,
0.3515625,
0.48779296875,
0.365234375,
0.12005615234375,
0.365234375
],
[
0.51318359375,
0.350830078125,
0.8818359375,
0.3515625,
0.8818359375,
0.366455078125,
0.51318359375,
0.365234375
],
[
0.118408203125,
0.36767578125,
0.48779296875,
0.366455078125,
0.48779296875,
0.38134765625,
0.118408203125,
0.3818359375
],
[
0.5146484375,
0.3681640625,
0.880859375,
0.3681640625,
0.880859375,
0.3818359375,
0.5146484375,
0.3818359375
],
[
0.12005615234375,
0.38427734375,
0.444091796875,
0.38427734375,
0.444091796875,
0.39794921875,
0.12005615234375,
0.39794921875
],
[
0.51708984375,
0.385986328125,
0.62451171875,
0.385986328125,
0.62451171875,
0.39794921875,
0.51708984375,
0.39794921875
],
[
0.1368408203125,
0.399658203125,
0.48779296875,
0.40087890625,
0.48779296875,
0.4150390625,
0.1368408203125,
0.41455078125
],
[
0.118408203125,
0.41748046875,
0.48779296875,
0.41748046875,
0.48779296875,
0.43115234375,
0.118408203125,
0.43115234375
],
[
0.515625,
0.4228515625,
0.52880859375,
0.4228515625,
0.52880859375,
0.4287109375,
0.515625,
0.4287109375
],
[
0.52294921875,
0.418701171875,
0.8427734375,
0.418701171875,
0.8427734375,
0.431640625,
0.52294921875,
0.431640625
],
[
0.12176513671875,
0.432861328125,
0.48779296875,
0.432861328125,
0.48779296875,
0.446533203125,
0.12176513671875,
0.446533203125
],
[
0.5439453125,
0.435302734375,
0.7109375,
0.435302734375,
0.7109375,
0.448974609375,
0.5439453125,
0.448974609375
],
[
0.1175537109375,
0.446533203125,
0.21240234375,
0.448974609375,
0.21240234375,
0.463134765625,
0.1175537109375,
0.46142578125
],
[
0.515625,
0.46435546875,
0.8818359375,
0.46435546875,
0.8818359375,
0.478515625,
0.515625,
0.478515625
],
[
0.1175537109375,
0.479736328125,
0.276123046875,
0.479736328125,
0.276123046875,
0.49462890625,
0.1175537109375,
0.49462890625
],
[
0.5146484375,
0.48095703125,
0.7734375,
0.48095703125,
0.7734375,
0.49462890625,
0.5146484375,
0.49462890625
],
[
0.118408203125,
0.50732421875,
0.483642578125,
0.505859375,
0.483642578125,
0.52099609375,
0.118408203125,
0.521484375
],
[
0.63232421875,
0.5166015625,
0.76416015625,
0.5166015625,
0.76416015625,
0.52978515625,
0.63232421875,
0.52978515625
],
[
0.85791015625,
0.515625,
0.8818359375,
0.515625,
0.8818359375,
0.52978515625,
0.85791015625,
0.52978515625
],
[
0.12005615234375,
0.5224609375,
0.489501953125,
0.5224609375,
0.489501953125,
0.5361328125,
0.12005615234375,
0.5361328125
],
[
0.12176513671875,
0.5390625,
0.48779296875,
0.5390625,
0.48779296875,
0.552734375,
0.12176513671875,
0.552734375
],
[
0.5146484375,
0.548828125,
0.88330078125,
0.5498046875,
0.88330078125,
0.56396484375,
0.5146484375,
0.5634765625
],
[
0.12005615234375,
0.5546875,
0.489501953125,
0.5546875,
0.489501953125,
0.568359375,
0.12005615234375,
0.568359375
],
[
0.515625,
0.56640625,
0.8818359375,
0.56640625,
0.8818359375,
0.580078125,
0.515625,
0.580078125
],
[
0.12005615234375,
0.572265625,
0.489501953125,
0.572265625,
0.489501953125,
0.5859375,
0.12005615234375,
0.5859375
],
[
0.515625,
0.58056640625,
0.880859375,
0.58056640625,
0.880859375,
0.59423828125,
0.515625,
0.59423828125
],
[
0.118408203125,
0.58837890625,
0.339111328125,
0.58837890625,
0.339111328125,
0.6015625,
0.118408203125,
0.6015625
],
[
0.515625,
0.5986328125,
0.68115234375,
0.5986328125,
0.68115234375,
0.6123046875,
0.515625,
0.6123046875
],
[
0.1376953125,
0.60498046875,
0.489501953125,
0.60498046875,
0.489501953125,
0.6181640625,
0.1376953125,
0.6181640625
],
[
0.12005615234375,
0.62158203125,
0.48779296875,
0.62158203125,
0.48779296875,
0.63525390625,
0.12005615234375,
0.63525390625
],
[
0.5322265625,
0.6162109375,
0.8818359375,
0.6162109375,
0.8818359375,
0.6298828125,
0.5322265625,
0.6298828125
],
[
0.12005615234375,
0.63720703125,
0.489501953125,
0.63720703125,
0.489501953125,
0.65087890625,
0.12005615234375,
0.65087890625
],
[
0.5146484375,
0.6328125,
0.8818359375,
0.6328125,
0.8818359375,
0.646484375,
0.5146484375,
0.646484375
],
[
0.118408203125,
0.65185546875,
0.48779296875,
0.65283203125,
0.48779296875,
0.66650390625,
0.118408203125,
0.6650390625
],
[
0.515625,
0.6484375,
0.8818359375,
0.6484375,
0.8818359375,
0.662109375,
0.515625,
0.662109375
],
[
0.118408203125,
0.66845703125,
0.486083984375,
0.66845703125,
0.486083984375,
0.681640625,
0.118408203125,
0.681640625
],
[
0.515625,
0.66455078125,
0.74658203125,
0.66455078125,
0.74658203125,
0.677734375,
0.515625,
0.677734375
],
[
0.12005615234375,
0.68505859375,
0.486083984375,
0.68505859375,
0.486083984375,
0.69873046875,
0.12005615234375,
0.69873046875
],
[
0.62744140625,
0.69970703125,
0.82861328125,
0.69970703125,
0.82861328125,
0.71435546875,
0.62744140625,
0.71435546875
],
[
0.85400390625,
0.69970703125,
0.88330078125,
0.69970703125,
0.88330078125,
0.71630859375,
0.85400390625,
0.71630859375
],
[
0.12005615234375,
0.71728515625,
0.48779296875,
0.71630859375,
0.48779296875,
0.73095703125,
0.12005615234375,
0.732421875
],
[
0.118408203125,
0.70068359375,
0.486083984375,
0.70068359375,
0.486083984375,
0.71435546875,
0.118408203125,
0.71435546875
],
[
0.62890625,
0.7197265625,
0.82861328125,
0.7197265625,
0.82861328125,
0.73291015625,
0.62890625,
0.73291015625
],
[
0.8564453125,
0.7197265625,
0.8818359375,
0.7197265625,
0.8818359375,
0.73388671875,
0.8564453125,
0.73388671875
],
[
0.12176513671875,
0.73388671875,
0.486083984375,
0.73388671875,
0.486083984375,
0.74755859375,
0.12176513671875,
0.74755859375
],
[
0.5458984375,
0.73681640625,
0.82861328125,
0.7392578125,
0.82861328125,
0.75732421875,
0.5458984375,
0.7548828125
],
[
0.85546875,
0.7412109375,
0.88330078125,
0.7412109375,
0.88330078125,
0.7548828125,
0.85546875,
0.7548828125
],
[
0.12005615234375,
0.75,
0.48779296875,
0.75,
0.48779296875,
0.76318359375,
0.12005615234375,
0.76318359375
],
[
0.5810546875,
0.7626953125,
0.82958984375,
0.76123046875,
0.82958984375,
0.775390625,
0.5810546875,
0.77685546875
],
[
0.85546875,
0.76318359375,
0.8818359375,
0.76318359375,
0.8818359375,
0.77685546875,
0.85546875,
0.77685546875
],
[
0.8310546875,
0.76708984375,
0.8505859375,
0.76708984375,
0.8505859375,
0.771484375,
0.8310546875,
0.771484375
],
[
0.118408203125,
0.765625,
0.48779296875,
0.76416015625,
0.48779296875,
0.779296875,
0.118408203125,
0.77978515625
],
[
0.12005615234375,
0.783203125,
0.484375,
0.783203125,
0.484375,
0.79345703125,
0.12005615234375,
0.79345703125
],
[
0.118408203125,
0.798828125,
0.489501953125,
0.798828125,
0.489501953125,
0.8125,
0.118408203125,
0.8125
],
[
0.51123046875,
0.79345703125,
0.8818359375,
0.7958984375,
0.8818359375,
0.8134765625,
0.51123046875,
0.81103515625
],
[
0.12005615234375,
0.81396484375,
0.489501953125,
0.81396484375,
0.489501953125,
0.82763671875,
0.12005615234375,
0.82763671875
],
[
0.51318359375,
0.8134765625,
0.88330078125,
0.8134765625,
0.88330078125,
0.82666015625,
0.51318359375,
0.82666015625
],
[
0.12005615234375,
0.83056640625,
0.489501953125,
0.83056640625,
0.489501953125,
0.84423828125,
0.12005615234375,
0.84423828125
],
[
0.5146484375,
0.8291015625,
0.8818359375,
0.8291015625,
0.8818359375,
0.8427734375,
0.5146484375,
0.8427734375
],
[
0.12005615234375,
0.8466796875,
0.489501953125,
0.8466796875,
0.489501953125,
0.85986328125,
0.12005615234375,
0.85986328125
],
[
0.515625,
0.845703125,
0.8818359375,
0.845703125,
0.8818359375,
0.859375,
0.515625,
0.859375
],
[
0.12005615234375,
0.8623046875,
0.297119140625,
0.8623046875,
0.297119140625,
0.8759765625,
0.12005615234375,
0.8759765625
],
[
0.515625,
0.8623046875,
0.64404296875,
0.8623046875,
0.64404296875,
0.8759765625,
0.515625,
0.8759765625
],
[
0.139404296875,
0.87890625,
0.489501953125,
0.87890625,
0.489501953125,
0.8935546875,
0.139404296875,
0.8935546875
],
[
0.5322265625,
0.87890625,
0.880859375,
0.87890625,
0.880859375,
0.8935546875,
0.5322265625,
0.8935546875
],
[
0.12005615234375,
0.89453125,
0.489501953125,
0.8955078125,
0.489501953125,
0.91015625,
0.12005615234375,
0.9091796875
],
[
0.5146484375,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.5146484375,
0.9091796875
]
] |
[
"由于这些简化,我们可以很容易地表明ATR",
"提出了准递归神经网络(QRNN),该网络使用",
"中的每个新状态都是先前输入的未归一化加权",
"卷积层和极简递归池函数来提高并行性。最近",
"和,类似于递归加法网络E(Leeetal.,2017)",
"LeiandZhang(2017)提出了一个简单的循环",
"此属性不仅使我们能够将每个状态追溯到",
"单元(SRU)。通过cuDNN优化,他们的RNN",
"贡献更大的那些输入,而且还可以在当前状态",
"模型可以像CNN一样快速训练。然而,为了",
"及其所有先前输入之间建立非规范化的前向自",
"获得有希望的结果,QRNN和SRU必须使用",
"我关注。自我注意机制已经被证明在非复发性",
"深度架构。在实践中,4层QRNN编码器和",
"NMT(Vaswanietal.,2017)中非常有用。",
"解码器用于获得与单层LSTM/GRUNMT相",
"我们使用单层编码器和解码器在建议的",
"当的翻译质量。特别是,我们的单层模型实现",
"ATR上构建NMT系统。在WMT14英",
"了比10层SRU系统高得多的性能",
"德和英法翻译任务上的实验表明,与基于",
"最后,我们的工作还与为NMT模型开发",
"GRU/LSTM的NMT相比,我们的模型产",
"替代体系结构的工作有关。Zhouetal.(2016)",
"生了有竞争力的结果。当我们将正交上下文",
"在相邻堆叠的RNN层之间引入快进连接,以",
"感知编码器(仍然是单层)集成到基于ATR",
"缓解梯度传播。Wangetal.(2017a)提出了",
"的NMT中时:我们的模型(产生24。97和",
"种线性关联单元,以减少深层NMT中沿",
"39。06BLEU分别在英语-德语和英语-法语翻",
"层的梯度传播长度。Gehringetal.(2017b)和",
"译中)其至可以与深度RNN和非RNNNMT",
"Vaswanietal.(2017)探索纯卷积和注意力架",
"模型相媲美,这些模型都具有多个编码器/解",
"构作为神经翻译RNN的替代方案。通过精心",
"码器层。深入分析表明,在NMT训练和解码",
"配置,他们的深度模型在各种数据集上实现了",
"速度方面,ATR比LSTM/GRU更有效",
"最先进的性能",
"我们使我们的模型适应其他语言翻译和自然",
"语言处理任务,包括NIST汉英翻译,自然语",
"3",
"Addition-SubtractionTwin-Gated",
"言推理和中文分词。我们的结论仍然适用于所",
"Recurrent Network",
"有这些任务",
"给定一个序列={α12,·.,αT},RNN循",
"2 Related Work",
"环更新隐藏状态ht,如下所示:",
"最广泛使用的RNN模型是LSTME(Hochre",
"ht = Φ(ht-1, &t)",
"(1)",
"iter and Schmidhuber,1997)和GRUE",
"(Chungetal.,2014),它们都擅长处理梯度",
"其中ht-1是先前的隐藏状态,被认为是存储",
"消失问题,这是简单RNNE(Elman,1990)的",
"来自所有先前输入的信息,而αt是当前输人。",
"臭名昭著的瓶颈。我们模型中的闸门设计遵循",
"函数Φ()是一个非线性递归函数,以递归单",
"LSTM/GRU中的闸门原理",
"位从细节中抽象出来",
"我们的工作与Leeetal.(2017)提出的递归",
"加法网络(RAN)密切相关。他们通过经验证",
"GRU可视为LSTM的简化版本。在本文中",
"明,可以消除RNN过渡动力学中常用的许多",
"从理论上讲,我们使用GRU作为基准,并提",
"非线性,并且仅将输入向量的加权和计算为递",
"出了一个新的递归单元来进一步简化它。GRU",
"归隐藏状态在语言建模中可以非常有效。我们",
"函数定义如下(参见图1b):",
"的工作遵循与简化经常性单位相同的精神。但",
"Zt = o(Wzat +U,ht-1)",
"(2)",
"大的不同。首先,ATR比RAN更简单,参数",
"是我们提出的ATR在三个方面与RAN有很",
"rt = o(Wrat +U.ht-1)",
"(3)",
"更少。ATR中只有两个权重矩阵,而最简单",
"ht = tanh(What +Un(rt o ht-1))",
"(4)",
"的RAN版本中有四个不同的权重矩阵(RAN",
"ht = zt ht-1+ (1 -zt) oht",
"(5)",
"",
"中每个门两个)。其次,由于ATR中的输入和",
"遗忘门之间的唯一区别是历史和输入之间的加",
"法/减法运算,因此可以学习到两个门是高度",
"其中表示逐元素乘法。reset门rt和up-",
"相关的,如我们的分析所示。最后,尽管RAN",
"date门zt分别启用从历史和当前输人到新状",
"在语言建模中被证明是有效的,但我们的实验",
"态的可管理信息流。尽管这两个门在处理梯度",
"表明,在速度和翻译质量方面,ATR在机器",
"流方面取得了成功,但它们消耗了大量的矩阵",
"翻译方面都优于RAN",
"变换和权重参数",
"为了加快RNN模型的速度,一系列工作试",
"我们认为这些矩阵变换中的许多都不是必需",
"图删除重复连接。例如,Bradburyetal.(2016)",
"的。因此,我们提出了一种加减双门循环单元"
] |
{
"arxiv_id": "1810.12546",
"language": "zh",
"page_idx": 1
}
|
||
1810.12546-zh-3
|
1810.12546-zh-3.jpg
|
$$\begin{array}{c|c|c}\text{Model}&\#\text{WM}&\#\text{MT}\\\hline\text{LSTM}&8&8\\\text{GRU}&6&6\\\text{RAN}&4&4\\\text{ATR}&2&2\end{array}$$
Table 1: Comparison of LSTM, GRU, RAN and ATR in terms of the number of weight matrices (WM) and matrix transformations (MT).
3.2 Computation Analysis
在这里,我们就权重矩阵和矩阵变换的数量对LSTM, GRU, RAN 和我们的 ATR 中的计算进行了系统的比较。请注意,所有这些单元都是 RNN 的构建块,因此总的计算复杂性和所需的最小顺序操作数量不变,即。e。分别为$\mathcal{O}(n\cdot d^{2})$和$\mathcal{O}(n)$ ,其中$n$是序列长度,$d$是隐藏状态的维数。然而,单元中实际的矩阵变换次数确实显著影响了 RNN 在实际中的运行速度
我们在表 1 中总结了结果。LSTM 包含三个不同的门和一个单元状态,包括 4 个不同的神经层,具有 8 个权重矩阵和转换。GRU 通过删除一个门来简化 LSTM, 但仍然涉及两个门和一个候选隐藏状态。它包括 3 个不同的神经层,具有 6 个权重矩阵和变换。RAN 通过消除状态转换中的非线性进一步简化了 GRU, 因此在其最简单的版本中包含 4 个权重矩阵。尽管我们的 ATR 也有两个门,但是只有 2 个权重矩阵和变换,分别只占 GRU 和 LSTM 的三分之一和四分之一。据我们所知,ATR 在现有的门控 RNN 单元中具有最小数量的权重转换。我们在 5.2 节中对速度进行了详细的实证分析
3.3 Interpretability Analysis of Hidden
States
建议的 ATR 的一个吸引人的特性是其可解释性。这可以通过展开方程(9)来证明,如下$\overline{\text{所示:}}$
$$\begin{aligned}\boldsymbol{h}_{t}&=\boldsymbol{i}_t\odot\boldsymbol{p}_t+\boldsymbol{f}_t\odot\boldsymbol{h}_{t-1}\\&=\boldsymbol{i}_t\odot\boldsymbol{W}_x\boldsymbol{x}_t+\sum_{k=1}^{t-1}\boldsymbol{i}_k\odot\left(\prod_{l=1}^{t-k}\boldsymbol{f}_{k+l}\right)\odot\boldsymbol{W}_x\boldsymbol{x}_k\\&\approx\sum_{k=1}^t\boldsymbol{g}_k\odot\boldsymbol{W}_x\boldsymbol{x}_k\end{aligned}$$
似权重。与 RAN 模型E(Lee et al., 2017) 类
似,ATR 中的隐藏状态是输入的按分量加权和。这不仅使 ATR 能够在先前的输入和当前隐藏状态之间建立必要的依赖关系,而且还使我们能够轻松检测哪些先前的单词对当前状态具有有希望的影响。这种理想的属性显然使ATR 具有很高的可解释性
此外,这种形式的加权和也与自我关注有关$\overline{\mathrm{E}}($Vaswani et al.,2017)。它可以被认为是一个向前的非规范化的自我关注,其中每个隐藏的状态都关注其先前的所有位置。由于自我注意机制在 NMTE(Vaswani et al., 2017) 中被证明非常有用,因此我们推测 ATR 的这种特性部分有助于其在机器翻译中的成功,如我们的实验所示。我们在 5.3 节中可视化方程 ( 10 )捕获的依赖关系
### 4 Experiments
4.1 Setup
我们在 WMT14 英德和英法翻译任务上进行了主要实验。用区分大小写的 BLEU-4 度量 (Papineni et al.,2002) 度量翻译质量。每个数据集的详细信息如下:
English-German To compare with previous re-
ported results (Luong et al., 2015b; Jean et al., 2015; Zhou et al., 2016; Wang et al., 2017a) , we used the same training data of WMT 2014, which consist of 4.5M sentence pairs. We used the newstest2013 as our dev set, and the newstest2014 as our test set.
English-French We used the WMT 2014 train-
ing data. This corpora contain 12M selected sentence pairs. We used the concatenation of newstest2012 and newstest2013 as our dev set, and the newstest2014 as our test set.
所使用的 NMT 系统是基于注意力的编码器-解码器系统,它采用双向递归网络作为其编码器,并采用两层分层单向递归网络作为其解码器,并带有附加注意力机制$\overline{\mathrm{E}}($Bahdanau
我们还进行了汉英翻译,自然语言推理和中文分词的实验。详情和实验结果见附录 A.2
## 4.2 Training
对于英语-德语和英语-法语任务,我们将训练
其中$g_k$可以被视为分配给第$k$个输入的近 实例的最大长度设置为 80 个单词。我们使用
byte pair encoding 压缩算法 (Sennrich et al.,
|
[
[
0.214111328125,
0.07244873046875,
0.339111328125,
0.07244873046875,
0.339111328125,
0.08612060546875,
0.214111328125,
0.08612060546875
],
[
0.340087890625,
0.0736083984375,
0.393798828125,
0.0736083984375,
0.393798828125,
0.08489990234375,
0.340087890625,
0.08489990234375
],
[
0.515625,
0.07659912109375,
0.8818359375,
0.07659912109375,
0.8818359375,
0.09027099609375,
0.515625,
0.09027099609375
],
[
0.210693359375,
0.08612060546875,
0.2626953125,
0.08612060546875,
0.2626953125,
0.1009521484375,
0.210693359375,
0.1009521484375
],
[
0.297119140625,
0.08905029296875,
0.310546875,
0.08905029296875,
0.310546875,
0.1015625,
0.297119140625,
0.1015625
],
[
0.36279296875,
0.08905029296875,
0.376220703125,
0.08905029296875,
0.376220703125,
0.09979248046875,
0.36279296875,
0.09979248046875
],
[
0.515625,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.515625,
0.10687255859375
],
[
0.21826171875,
0.09979248046875,
0.255126953125,
0.09979248046875,
0.255126953125,
0.11224365234375,
0.21826171875,
0.11224365234375
],
[
0.297119140625,
0.1015625,
0.310546875,
0.1015625,
0.310546875,
0.11224365234375,
0.297119140625,
0.11224365234375
],
[
0.36279296875,
0.1015625,
0.376220703125,
0.1015625,
0.376220703125,
0.11224365234375,
0.36279296875,
0.11224365234375
],
[
0.370361328125,
0.10986328125,
0.382080078125,
0.1181640625,
0.370361328125,
0.1270751953125,
0.358642578125,
0.1181640625
],
[
0.51708984375,
0.1092529296875,
0.88330078125,
0.1092529296875,
0.88330078125,
0.122314453125,
0.51708984375,
0.122314453125
],
[
0.297119140625,
0.1134033203125,
0.310546875,
0.1134033203125,
0.310546875,
0.12469482421875,
0.297119140625,
0.12469482421875
],
[
0.21826171875,
0.11102294921875,
0.255126953125,
0.1134033203125,
0.25439453125,
0.12469482421875,
0.2166748046875,
0.122314453125
],
[
0.301513671875,
0.12054443359375,
0.31494140625,
0.1258544921875,
0.306396484375,
0.135986328125,
0.2939453125,
0.1312255859375
],
[
0.36279296875,
0.122314453125,
0.376220703125,
0.122314453125,
0.376220703125,
0.1353759765625,
0.36279296875,
0.1353759765625
],
[
0.515625,
0.1258544921875,
0.88330078125,
0.1258544921875,
0.88330078125,
0.1395263671875,
0.515625,
0.1395263671875
],
[
0.515625,
0.141357421875,
0.88330078125,
0.141357421875,
0.88330078125,
0.155029296875,
0.515625,
0.155029296875
],
[
0.219970703125,
0.12353515625,
0.2568359375,
0.12353515625,
0.2568359375,
0.135986328125,
0.219970703125,
0.135986328125
],
[
0.197265625,
0.155029296875,
0.489501953125,
0.15380859375,
0.489501953125,
0.168701171875,
0.197265625,
0.169189453125
],
[
0.51318359375,
0.1561279296875,
0.7255859375,
0.15673828125,
0.7255859375,
0.171630859375,
0.51318359375,
0.17041015625
],
[
0.118408203125,
0.171630859375,
0.48779296875,
0.171630859375,
0.48779296875,
0.185302734375,
0.118408203125,
0.185302734375
],
[
0.12176513671875,
0.15673828125,
0.183837890625,
0.15673828125,
0.183837890625,
0.16748046875,
0.12176513671875,
0.16748046875
],
[
0.5322265625,
0.1728515625,
0.8818359375,
0.17333984375,
0.8818359375,
0.188232421875,
0.5322265625,
0.18701171875
],
[
0.118408203125,
0.188232421875,
0.489501953125,
0.188232421875,
0.489501953125,
0.201904296875,
0.118408203125,
0.201904296875
],
[
0.515625,
0.188232421875,
0.88330078125,
0.189453125,
0.88330078125,
0.2037353515625,
0.515625,
0.203125
],
[
0.12005615234375,
0.201904296875,
0.172119140625,
0.2037353515625,
0.17041015625,
0.2197265625,
0.118408203125,
0.21728515625
],
[
0.52880859375,
0.2060546875,
0.880859375,
0.2060546875,
0.880859375,
0.2197265625,
0.52880859375,
0.2197265625
],
[
0.515625,
0.22265625,
0.88330078125,
0.22265625,
0.88330078125,
0.236328125,
0.515625,
0.236328125
],
[
0.5146484375,
0.2381591796875,
0.880859375,
0.2381591796875,
0.880859375,
0.251708984375,
0.5146484375,
0.251708984375
],
[
0.12005615234375,
0.2452392578125,
0.1695556640625,
0.2452392578125,
0.1695556640625,
0.257080078125,
0.12005615234375,
0.257080078125
],
[
0.162109375,
0.2452392578125,
0.349365234375,
0.2452392578125,
0.349365234375,
0.2587890625,
0.162109375,
0.2587890625
],
[
0.5146484375,
0.254150390625,
0.880859375,
0.254150390625,
0.880859375,
0.267333984375,
0.5146484375,
0.267333984375
],
[
0.118408203125,
0.26416015625,
0.486083984375,
0.26416015625,
0.486083984375,
0.27783203125,
0.118408203125,
0.27783203125
],
[
0.5146484375,
0.270751953125,
0.8818359375,
0.270751953125,
0.8818359375,
0.283935546875,
0.5146484375,
0.283935546875
],
[
0.12005615234375,
0.28076171875,
0.48779296875,
0.28076171875,
0.48779296875,
0.29443359375,
0.12005615234375,
0.29443359375
],
[
0.5146484375,
0.2861328125,
0.88330078125,
0.2861328125,
0.88330078125,
0.2998046875,
0.5146484375,
0.2998046875
],
[
0.118408203125,
0.29638671875,
0.48779296875,
0.297607421875,
0.48779296875,
0.312255859375,
0.118408203125,
0.311279296875
],
[
0.5146484375,
0.3017578125,
0.6826171875,
0.3017578125,
0.6826171875,
0.3154296875,
0.5146484375,
0.3154296875
],
[
0.12005615234375,
0.314208984375,
0.48779296875,
0.314208984375,
0.48779296875,
0.327880859375,
0.12005615234375,
0.327880859375
],
[
0.12176513671875,
0.330078125,
0.48779296875,
0.330078125,
0.48779296875,
0.34326171875,
0.12176513671875,
0.34326171875
],
[
0.51318359375,
0.333251953125,
0.5283203125,
0.333251953125,
0.5283203125,
0.341552734375,
0.51318359375,
0.341552734375
],
[
0.54833984375,
0.330810546875,
0.66162109375,
0.330810546875,
0.66162109375,
0.345703125,
0.54833984375,
0.345703125
],
[
0.118408203125,
0.344482421875,
0.486083984375,
0.345703125,
0.486083984375,
0.35986328125,
0.118408203125,
0.359375
],
[
0.51318359375,
0.358154296875,
0.5380859375,
0.355224609375,
0.54150390625,
0.366455078125,
0.515625,
0.369384765625
],
[
0.55908203125,
0.355224609375,
0.609375,
0.35693359375,
0.60791015625,
0.371826171875,
0.5576171875,
0.369384765625
],
[
0.12176513671875,
0.3623046875,
0.484375,
0.3623046875,
0.484375,
0.372314453125,
0.12176513671875,
0.372314453125
],
[
0.12005615234375,
0.377685546875,
0.48779296875,
0.377685546875,
0.48779296875,
0.391357421875,
0.12005615234375,
0.391357421875
],
[
0.51318359375,
0.3759765625,
0.880859375,
0.3759765625,
0.880859375,
0.3896484375,
0.51318359375,
0.3896484375
],
[
0.12176513671875,
0.394287109375,
0.156982421875,
0.394287109375,
0.156982421875,
0.40673828125,
0.12176513671875,
0.40673828125
],
[
0.51318359375,
0.393798828125,
0.8818359375,
0.392578125,
0.8818359375,
0.40673828125,
0.51318359375,
0.407958984375
],
[
0.1376953125,
0.410400390625,
0.489501953125,
0.410400390625,
0.489501953125,
0.42333984375,
0.1376953125,
0.42333984375
],
[
0.515625,
0.410400390625,
0.8818359375,
0.410400390625,
0.8818359375,
0.42333984375,
0.515625,
0.42333984375
],
[
0.12005615234375,
0.427001953125,
0.48779296875,
0.427001953125,
0.48779296875,
0.440673828125,
0.12005615234375,
0.440673828125
],
[
0.51318359375,
0.42578125,
0.7255859375,
0.42578125,
0.7255859375,
0.439453125,
0.51318359375,
0.439453125
],
[
0.12005615234375,
0.4423828125,
0.48779296875,
0.4423828125,
0.48779296875,
0.4560546875,
0.12005615234375,
0.4560546875
],
[
0.12005615234375,
0.458984375,
0.48779296875,
0.458984375,
0.48779296875,
0.47265625,
0.12005615234375,
0.47265625
],
[
0.5146484375,
0.45361328125,
0.880859375,
0.45361328125,
0.880859375,
0.46728515625,
0.5146484375,
0.46728515625
],
[
0.12005615234375,
0.474365234375,
0.484375,
0.474365234375,
0.484375,
0.488037109375,
0.12005615234375,
0.488037109375
],
[
0.5498046875,
0.4697265625,
0.8818359375,
0.468505859375,
0.8818359375,
0.482666015625,
0.5498046875,
0.48388671875
],
[
0.12005615234375,
0.4912109375,
0.48779296875,
0.4912109375,
0.48779296875,
0.5048828125,
0.12005615234375,
0.5048828125
],
[
0.5517578125,
0.486328125,
0.8818359375,
0.486328125,
0.8818359375,
0.49951171875,
0.5517578125,
0.49951171875
],
[
0.5498046875,
0.50048828125,
0.88330078125,
0.501953125,
0.88330078125,
0.515625,
0.5498046875,
0.51416015625
],
[
0.12005615234375,
0.50732421875,
0.48779296875,
0.50732421875,
0.48779296875,
0.52099609375,
0.12005615234375,
0.52099609375
],
[
0.5517578125,
0.51708984375,
0.880859375,
0.51708984375,
0.880859375,
0.53076171875,
0.5517578125,
0.53076171875
],
[
0.12005615234375,
0.52490234375,
0.486083984375,
0.52490234375,
0.486083984375,
0.53515625,
0.12005615234375,
0.53515625
],
[
0.12005615234375,
0.5390625,
0.48779296875,
0.5390625,
0.48779296875,
0.552734375,
0.12005615234375,
0.552734375
],
[
0.5517578125,
0.53369140625,
0.8818359375,
0.53369140625,
0.8818359375,
0.54736328125,
0.5517578125,
0.54736328125
],
[
0.12005615234375,
0.55419921875,
0.48779296875,
0.55419921875,
0.48779296875,
0.56787109375,
0.12005615234375,
0.56787109375
],
[
0.55322265625,
0.5517578125,
0.880859375,
0.5517578125,
0.880859375,
0.5625,
0.55322265625,
0.5625
],
[
0.12176513671875,
0.57080078125,
0.489501953125,
0.57080078125,
0.489501953125,
0.58447265625,
0.12176513671875,
0.58447265625
],
[
0.5517578125,
0.56787109375,
0.615234375,
0.56787109375,
0.615234375,
0.5791015625,
0.5517578125,
0.5791015625
],
[
0.12005615234375,
0.5859375,
0.48779296875,
0.5859375,
0.48779296875,
0.60107421875,
0.12005615234375,
0.60107421875
],
[
0.51318359375,
0.59326171875,
0.8818359375,
0.59326171875,
0.8818359375,
0.60693359375,
0.51318359375,
0.60693359375
],
[
0.118408203125,
0.6015625,
0.48779296875,
0.6015625,
0.48779296875,
0.615234375,
0.118408203125,
0.615234375
],
[
0.5517578125,
0.61083984375,
0.6455078125,
0.61083984375,
0.6455078125,
0.62255859375,
0.5517578125,
0.62255859375
],
[
0.64990234375,
0.60986328125,
0.884765625,
0.60986328125,
0.884765625,
0.62353515625,
0.64990234375,
0.62353515625
],
[
0.12005615234375,
0.619140625,
0.17626953125,
0.619140625,
0.17626953125,
0.63427734375,
0.12005615234375,
0.63427734375
],
[
0.5517578125,
0.6259765625,
0.755859375,
0.6259765625,
0.755859375,
0.6396484375,
0.5517578125,
0.6396484375
],
[
0.77099609375,
0.6259765625,
0.8818359375,
0.626953125,
0.8818359375,
0.63818359375,
0.77099609375,
0.63720703125
],
[
0.1175537109375,
0.64453125,
0.44921875,
0.646484375,
0.44921875,
0.6611328125,
0.1175537109375,
0.6591796875
],
[
0.5498046875,
0.642578125,
0.8818359375,
0.642578125,
0.8818359375,
0.65625,
0.5498046875,
0.65625
],
[
0.162109375,
0.6630859375,
0.21240234375,
0.6630859375,
0.21240234375,
0.6748046875,
0.162109375,
0.6748046875
],
[
0.5517578125,
0.6591796875,
0.8818359375,
0.6591796875,
0.8818359375,
0.6728515625,
0.5517578125,
0.6728515625
],
[
0.118408203125,
0.68115234375,
0.486083984375,
0.68115234375,
0.486083984375,
0.69482421875,
0.118408203125,
0.69482421875
],
[
0.55322265625,
0.67578125,
0.75,
0.67578125,
0.75,
0.68603515625,
0.55322265625,
0.68603515625
],
[
0.12176513671875,
0.69970703125,
0.484375,
0.69970703125,
0.484375,
0.71044921875,
0.12176513671875,
0.71044921875
],
[
0.5322265625,
0.70068359375,
0.8818359375,
0.703125,
0.8818359375,
0.71630859375,
0.5322265625,
0.71435546875
],
[
0.118408203125,
0.71435546875,
0.166259765625,
0.71435546875,
0.166259765625,
0.728515625,
0.118408203125,
0.728515625
],
[
0.515625,
0.71875,
0.88330078125,
0.71875,
0.88330078125,
0.732421875,
0.515625,
0.732421875
],
[
0.118408203125,
0.74072265625,
0.31494140625,
0.7412109375,
0.31494140625,
0.755859375,
0.118408203125,
0.7548828125
],
[
0.515625,
0.7353515625,
0.88330078125,
0.7353515625,
0.88330078125,
0.7490234375,
0.515625,
0.7490234375
],
[
0.515625,
0.75048828125,
0.8818359375,
0.75048828125,
0.8818359375,
0.76416015625,
0.515625,
0.76416015625
],
[
0.27197265625,
0.76123046875,
0.298828125,
0.76123046875,
0.298828125,
0.77392578125,
0.27197265625,
0.77392578125
],
[
0.34765625,
0.76318359375,
0.3779296875,
0.76318359375,
0.3779296875,
0.771484375,
0.34765625,
0.771484375
],
[
0.14111328125,
0.77099609375,
0.339111328125,
0.77099609375,
0.339111328125,
0.7919921875,
0.14111328125,
0.7919921875
],
[
0.34765625,
0.77099609375,
0.418212890625,
0.77099609375,
0.418212890625,
0.79345703125,
0.34765625,
0.79345703125
],
[
0.4306640625,
0.771484375,
0.81787109375,
0.77978515625,
0.81689453125,
0.8046875,
0.429931640625,
0.79638671875
],
[
0.5146484375,
0.7666015625,
0.8818359375,
0.7666015625,
0.8818359375,
0.77978515625,
0.5146484375,
0.77978515625
],
[
0.268798828125,
0.79052734375,
0.300537109375,
0.79052734375,
0.300537109375,
0.8046875,
0.268798828125,
0.8046875
],
[
0.345947265625,
0.7919921875,
0.378662109375,
0.7919921875,
0.378662109375,
0.80419921875,
0.345947265625,
0.80419921875
],
[
0.5341796875,
0.7998046875,
0.8818359375,
0.7998046875,
0.8818359375,
0.8134765625,
0.5341796875,
0.8134765625
],
[
0.1695556640625,
0.80810546875,
0.183837890625,
0.80810546875,
0.183837890625,
0.81787109375,
0.1695556640625,
0.81787109375
],
[
0.139404296875,
0.81640625,
0.291259765625,
0.81640625,
0.291259765625,
0.83837890625,
0.139404296875,
0.83837890625
],
[
0.51708984375,
0.8154296875,
0.86962890625,
0.8154296875,
0.86962890625,
0.8291015625,
0.51708984375,
0.8291015625
],
[
0.162109375,
0.83837890625,
0.189697265625,
0.83837890625,
0.189697265625,
0.849609375,
0.162109375,
0.849609375
],
[
0.51318359375,
0.83740234375,
0.634765625,
0.84033203125,
0.6337890625,
0.859375,
0.51123046875,
0.85546875
],
[
0.45166015625,
0.849609375,
0.489501953125,
0.849609375,
0.489501953125,
0.865234375,
0.45166015625,
0.865234375
],
[
0.515625,
0.86328125,
0.8818359375,
0.86328125,
0.8818359375,
0.876953125,
0.515625,
0.876953125
],
[
0.12005615234375,
0.87744140625,
0.489501953125,
0.87890625,
0.489501953125,
0.8935546875,
0.12005615234375,
0.892578125
],
[
0.5146484375,
0.8798828125,
0.8818359375,
0.8798828125,
0.8818359375,
0.8935546875,
0.5146484375,
0.8935546875
],
[
0.12005615234375,
0.8955078125,
0.489501953125,
0.8955078125,
0.489501953125,
0.9091796875,
0.12005615234375,
0.9091796875
],
[
0.51318359375,
0.8955078125,
0.88330078125,
0.8955078125,
0.88330078125,
0.9091796875,
0.51318359375,
0.9091796875
]
] |
[
"Model |#WM",
"#MT",
"似,ATR中的隐藏状态是输入的按分量加权",
"LSTM",
"8",
"8",
"和。这不仅使ATR能够在先前的输入和当前",
"GRU",
"6",
"6",
"N",
"隐藏状态之间建立必要的依赖关系,而且还使",
"4",
"RAN",
"2",
"2",
"我们能够轻松检测哪些先前的单词对当前状",
"态具有有希望的影响。这种理想的属性显然使",
"ATR",
"Comparison of LSTM, GRU, RAN",
"ATR具有很高的可解释性",
"and ATR in terms of the number of weight",
"Table 1:",
"此外,这种形式的加权和也与自我关注有",
"matrices (WM) and matrix transformations",
"关日(Vaswanietal.,2017)。它可以被认为是",
"(MT).",
"个向前的非规范化的自我关注,其中每个隐",
"藏的状态都关注其先前的所有位置。由于自我",
"注意机制在NMTE(Vaswanietal.,2017)中",
"3.2",
" Computation Analysis",
"被证明非常有用,因此我们推测ATR的这种",
"在这里,我们就权重矩阵和矩阵变换的数量对",
"特性部分有助于其在机器翻译中的成功,如我",
"LSTM,GRU,RAN和我们的ATR中的计算",
"们的实验所示。我们在5.3节中可视化方程(",
"进行了系统的比较。请注意,所有这些单元都",
"10)捕获的依赖关系",
"是RNN的构建块,因此总的计算复杂性和所",
"需的最小顺序操作数量不变,即。e。分别为",
"4",
"Experiments",
"O(n·d)和O(n),其中n是序列长度,d是",
"4.1",
"Setup",
"隐藏状态的维数。然而,单元中实际的矩阵变",
"换次数确实显著影响了RNN在实际中的运行",
"我们在WMT14英德和英法翻译任务上进",
"速度",
"行了主要实验。用区分大小写的BLEU-4度",
"我们在表1中总结了结果。LSTM包含三",
"量(Papinenietal.,2002)度量翻译质量。每",
"个不同的门和一个单元状态,包括4个不同的",
"个数据集的详细信息如下:",
"神经层,具有8个权重矩阵和转换。GRU通",
"过删除一个门来简化LSTM,但仍然涉及两个",
"English-German To compare with previous re-",
"门和一个候选隐藏状态。它包括3个不同的神",
"ported results (Luong et al., 2015b; Jean",
"经层,具有6个权重矩阵和变换。RAN通过",
"et al., 2015; Zhou et al., 2016; Wang et al.,",
"2017a) , we used the same training data",
"消除状态转换中的非线性进一步简化了GRU,",
"of WMT 2014, which consist of 4.5M sen-",
"因此在其最简单的版本中包含4个权重矩阵。",
"尽管我们的ATR也有两个门,但是只有2个",
"tence pairs. We used the newstest2013 as",
"权重矩阵和变换,分别只占GRU和LSTM的",
"ourdevset,andthenewstest2014asour",
"三分之一和四分之一。据我们所知,ATR在",
"test set.",
"现有的门控RNN单元中具有最小数量的权重",
"English-French We used the WMT 2014 train-",
"转换。我们在5.2节中对速度进行了详细的实",
"ing data.",
"This corpora contain 12M",
"证分析",
"selected sentence pairs.",
"We used the",
"3.3Interpretability Analysis of Hidden",
"concatenation of newstest2012 and new-",
"States",
"stest2013 as our dev set, and the new-",
"建议的ATR的一个吸引人的特性是其可解释",
"stest2014asourtest set.",
"性。这可以通过展开方程(9)来证明,如下",
"所使用的NMT系统是基于注意力的编码",
"所示:",
"器-解码器系统,它采用双向递归网络作为其",
"ht=itoPt+foht-1",
"编码器,并采用两层分层单向递归网络作为其",
"解码器,并带有附加注意力机制E(Bahdanau",
"t-1",
"/t-k",
"=itoWeat+io",
"II fk+",
"Waak换了循环单元。更多细节见附录A.1",
"etal.,2015)。我们用我们提出的ATR模型替",
"k=1",
"(l=1",
"我们还进行了汉英翻译,自然语言推理和中",
"t",
"~ghoWaak",
"文分词的实验。详情和实验结果见附录A.2",
"k=1",
"4.2Training",
"(10)",
"对于英语-德语和英语-法语任务,我们将训练",
"其中9k可以被视为分配给第k个输入的近",
"实例的最大长度设置为80个单词。我们使用",
"似权重。与RAN模型E(Leeetal.,2017)类",
"byte pairencoding压缩算法(Sennrich et al.,"
] |
{
"arxiv_id": "1810.12546",
"language": "zh",
"page_idx": 3
}
|
||
1810.12546-zh-4
|
1810.12546-zh-4.jpg
|
<table>
<tbody>
<tr>
<th>System</th>
<th>$\operatorname{Architecture}$</th>
<th>Vocab</th>
<th>tok BLEU</th>
<th>detok BLEU</th>
</tr>
<tr>
<td>Buck et al. $\overline{(2014}$</td>
<td>WMT14 winner system phrase-based + large LM</td>
<td> </td>
<td>-</td>
<td>20.70</td>
</tr>
<tr>
<td>$Z_{\mathrm{hol}}$ et al $\overline{2016}$</td>
<td> </td>
<td>VIL 160K 、</td>
<td>20.60</td>
<td> </td>
</tr>
<tr>
<td>Lei and Zhang (2017)</td>
<td>$SRJ$ $x\dot{r}_{1}$ $\|\|$ avers</td>
<td>50K</td>
<td>20.70</td>
<td> </td>
</tr>
<tr>
<td>ntr 1 and Federico (2018)</td>
<td>$\mathrm{sp}_{-}$N</td>
<td>32K</td>
<td>23.32</td>
<td> </td>
</tr>
<tr>
<td>$\mathrm{Wang~}_{\Theta}$ et al. (2017a)</td>
<td>osTInk</td>
<td>$x(1)$ $1k$</td>
<td>23.80</td>
<td> </td>
</tr>
<tr>
<td>Wang et al. (2017a</td>
<td> </td>
<td>$80K$ 1</td>
<td>26.10</td>
<td> </td>
</tr>
<tr>
<td>et al (2016)</td>
<td>DM</td>
<td>$\gimel K$ 1. 1 1 $“2$ - 1</td>
<td>24.61</td>
<td> </td>
</tr>
<tr>
<td>et a '2016</td>
<td> </td>
<td>$1K$</td>
<td>26.30</td>
<td> </td>
</tr>
<tr>
<td>Vaswan 1 et. al. (2017)</td>
<td>$a$</td>
<td>37K</td>
<td>27.30</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td>$E$ T 111</td>
<td>0 T</td>
<td> </td>
</tr>
<tr>
<td>Zhang et al (2017a</td>
<td>$2pH$</td>
<td>40 $1K$</td>
<td>23.84</td>
<td> </td>
</tr>
<tr>
<td>Gehring et al. (2017b</td>
<td>RPF</td>
<td>40 $1K$</td>
<td>25.16</td>
<td> </td>
</tr>
<tr>
<td>Gehring et al. 2017b</td>
<td>$CNN$ $R$ ensemble 1</td>
<td>40K</td>
<td>26.43</td>
<td> </td>
</tr>
<tr>
<td>Zhang et al. 2018a</td>
<td>Tral sfo mode 77 hase</td>
<td>32K</td>
<td>26.31</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>( 0ur end- to- end 112 NMT svstems</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="7">this work</td>
<td>RNNSearct ${\mathcal{I}}+{\mathrm{BPE}}$ $(-R)$</td>
<td>$\overline{40\text{K}}$</td>
<td>22.54</td>
<td>22.06</td>
</tr>
<tr>
<td>RNNSear rol $|S|^{\prime}M$ 1 +BPF</td>
<td>40K</td>
<td>22.96</td>
<td>22.39</td>
</tr>
<tr>
<td>RNNSe RAN+BPE</td>
<td>40K</td>
<td>22.14</td>
<td>21.40</td>
</tr>
<tr>
<td>RNNSe aar ror ATR+BPE</td>
<td>40K</td>
<td>22.48</td>
<td>21.99</td>
</tr>
<tr>
<td>RNNSearch $\mathbf{A}^{\prime}\mathbf{I}^{\prime}\mathbf{R}$ -CA+BPE</td>
<td>40K</td>
<td>23.31</td>
<td>22.70</td>
</tr>
<tr>
<td>GNMT+ ATR+BPE</td>
<td>40K</td>
<td>24.16</td>
<td>23.59</td>
</tr>
<tr>
<td>RNNSearch $\mathbf{A}^{\prime}|\mathbf{R}$ $RP$H ansemhle</td>
<td>40K</td>
<td>24.97</td>
<td>24.33</td>
</tr>
</tbody>
</table>
Table 2: Tokenized ( tok ) and detokenized (detok) case-sensitive BLEU scores on the WMT14 English-German translation task.“ unk replace’" and“ PosUnk” denotes the approach of handling rare words in Jean et al.(2015) and Luong et al.(2015a) respectively.“RL” and“ WPM”is the reinforcement learning optimization and word piece model used in Wu et al.(2016).“CA”is the context-aware recurrent encoder (Zhang et al.,2017b).“LAU " and“F-F” denote the linear associative unit and the fast-forward architecture proposed by Wang et al.(2017a) and Zhou et al.(2016) respectively.“aan"denotes the average attention network proposed by Zhang et al. (2018a) .
## 维度,我们将其设置为 512
4.3 Results on English-German Translation
2016)来减少词汇量,并处理丰富的形态学问题。我们将所有翻译任务的源语言和目标语言的词汇量都设置为 40K。所有词汇外的单词都被替换为令牌“unk”
我们为编码器和解码器使用了 1000 个隐藏单元。所有单词嵌入都具有维度 620。我们根据-0 范围内的均匀分布随机初始化所有模型参数。08 至 0。08。然后使用 Adam 算法$\mathbb{E}$ (Kingma and Ba, 2015)优化这些可调参数, 将两个动量参数设置为 0。9 和 0。999 分别。梯度限幅 5。0 用于避免梯度爆炸问题。我们用学习率$5e^-4$和批量大小 80 训练了所有模型。我们以 0 的因子衰减了学习率。5 在每个训练时期之间。翻译是由光束搜索算法生成的,该算法基于按句子长度归一化的对数似然得分。在所有实验中,我们使用的光束尺寸为10。我们还在输出层上对英语-德语和英语-法语任务应用了 dropout,以避免过度拟合,并且将 dropout 率设置为 0。2
为了训练深度 NMT 模型,我们采用了GNMT 架构 (Wu et al., 2016) 。我们保留了上述所有设置,除了单词嵌入和隐藏状态的
翻译结果如表 2 所示。我们还提供了几个现有系统的结果,这些系统经过了与我们类似的实验设置的训练。特别是,我们的单个模型产生的去令牌化 BLEU 得分为 21。99。为了表明所提出的模型可以与改进基于 LSTM/GRU 的 NMT 的先前方法正交,我们将单层上下文感知(CA)编码器E(Zhang et al.,2017b)集成到我们的系统中。ATR+CA 系统进一步达到 22。7 个 BLEU, 以 2 个 BLEU 点的大幅提升优于获胜者系统(Buck et al.,2014)。通过深层 GNMT 架构增强,GNMT+ATR 系统产生的增益为 0。RNNSearch+ATR+CA 上的89个 BLEU 点和 1 个。RNNSearch+ATR 上的 6 个 BLEU 点。请注意,与仅在并行语料库上训练的系统不同,获胜者系统使用了巨大的单语文本来增强其语言模型
与现有的基于 LSTM 的E(Luong et al., 2015a) 深度 NMT 系统相比,我们的浅/深模型实现了 2 的增益。41/3。分别有 26 个标
|
[
[
0.1292724609375,
0.0748291015625,
0.181396484375,
0.0748291015625,
0.181396484375,
0.08612060546875,
0.1292724609375,
0.08612060546875
],
[
0.345947265625,
0.0736083984375,
0.43994140625,
0.0748291015625,
0.43994140625,
0.08612060546875,
0.345947265625,
0.08489990234375
],
[
0.7060546875,
0.0748291015625,
0.85546875,
0.0748291015625,
0.85546875,
0.08489990234375,
0.7060546875,
0.08489990234375
],
[
0.85986328125,
0.0748291015625,
0.9521484375,
0.0748291015625,
0.9521484375,
0.08612060546875,
0.85986328125,
0.08612060546875
],
[
0.34765625,
0.0872802734375,
0.6943359375,
0.0872802734375,
0.6943359375,
0.1009521484375,
0.34765625,
0.1009521484375
],
[
0.88818359375,
0.0872802734375,
0.9326171875,
0.0872802734375,
0.9326171875,
0.1015625,
0.88818359375,
0.1015625
],
[
0.333251953125,
0.1009521484375,
0.74462890625,
0.1009521484375,
0.74462890625,
0.114013671875,
0.333251953125,
0.114013671875
],
[
0.12176513671875,
0.0885009765625,
0.255126953125,
0.0885009765625,
0.255126953125,
0.1015625,
0.12176513671875,
0.1015625
],
[
0.1259765625,
0.1134033203125,
0.255126953125,
0.1134033203125,
0.255126953125,
0.1270751953125,
0.1259765625,
0.1270751953125
],
[
0.349365234375,
0.1134033203125,
0.63232421875,
0.1134033203125,
0.63232421875,
0.1270751953125,
0.349365234375,
0.1270751953125
],
[
0.7119140625,
0.114013671875,
0.75146484375,
0.114013671875,
0.75146484375,
0.1258544921875,
0.7119140625,
0.1258544921875
],
[
0.791015625,
0.114013671875,
0.8310546875,
0.114013671875,
0.8310546875,
0.1258544921875,
0.791015625,
0.1258544921875
],
[
0.791015625,
0.122314453125,
0.82958984375,
0.12469482421875,
0.82861328125,
0.1395263671875,
0.7900390625,
0.13720703125
],
[
0.904296875,
0.119384765625,
0.91162109375,
0.119384765625,
0.91162109375,
0.12353515625,
0.904296875,
0.12353515625
],
[
0.35107421875,
0.12469482421875,
0.486083984375,
0.1258544921875,
0.486083984375,
0.13720703125,
0.35107421875,
0.135986328125
],
[
0.1275634765625,
0.12469482421875,
0.27783203125,
0.12469482421875,
0.27783203125,
0.1383056640625,
0.1275634765625,
0.1383056640625
],
[
0.71728515625,
0.1258544921875,
0.75,
0.1258544921875,
0.75,
0.1383056640625,
0.71728515625,
0.1383056640625
],
[
0.904296875,
0.127685546875,
0.91357421875,
0.127685546875,
0.91357421875,
0.13720703125,
0.904296875,
0.13720703125
],
[
0.1292724609375,
0.13720703125,
0.3359375,
0.13720703125,
0.3359375,
0.15087890625,
0.1292724609375,
0.15087890625
],
[
0.349365234375,
0.1353759765625,
0.5087890625,
0.13720703125,
0.5087890625,
0.15087890625,
0.349365234375,
0.1484375
],
[
0.71875,
0.13720703125,
0.75,
0.13720703125,
0.75,
0.149658203125,
0.71875,
0.149658203125
],
[
0.791015625,
0.13720703125,
0.82958984375,
0.13720703125,
0.82958984375,
0.149658203125,
0.791015625,
0.149658203125
],
[
0.904296875,
0.14013671875,
0.91357421875,
0.14013671875,
0.91357421875,
0.149658203125,
0.904296875,
0.149658203125
],
[
0.1275634765625,
0.1484375,
0.26611328125,
0.1484375,
0.26611328125,
0.162109375,
0.1275634765625,
0.162109375
],
[
0.349365234375,
0.1484375,
0.61279296875,
0.1484375,
0.61279296875,
0.162109375,
0.349365234375,
0.162109375
],
[
0.71875,
0.1484375,
0.75,
0.1484375,
0.75,
0.160888671875,
0.71875,
0.160888671875
],
[
0.791015625,
0.1478271484375,
0.8310546875,
0.149658203125,
0.82958984375,
0.162109375,
0.7900390625,
0.1602783203125
],
[
0.1292724609375,
0.1602783203125,
0.264404296875,
0.1602783203125,
0.264404296875,
0.17333984375,
0.1292724609375,
0.17333984375
],
[
0.35107421875,
0.1602783203125,
0.6962890625,
0.1602783203125,
0.6962890625,
0.17333984375,
0.35107421875,
0.17333984375
],
[
0.71875,
0.160888671875,
0.75,
0.160888671875,
0.75,
0.1728515625,
0.71875,
0.1728515625
],
[
0.791015625,
0.160888671875,
0.8330078125,
0.160888671875,
0.8330078125,
0.174560546875,
0.791015625,
0.174560546875
],
[
0.90185546875,
0.1561279296875,
0.90869140625,
0.15087890625,
0.91455078125,
0.155029296875,
0.90771484375,
0.1602783203125
],
[
0.1259765625,
0.17041015625,
0.2451171875,
0.171630859375,
0.2451171875,
0.1859130859375,
0.1259765625,
0.185302734375
],
[
0.349365234375,
0.17041015625,
0.63232421875,
0.171630859375,
0.63232421875,
0.1859130859375,
0.349365234375,
0.185302734375
],
[
0.90576171875,
0.1650390625,
0.91162109375,
0.1650390625,
0.91162109375,
0.171630859375,
0.90576171875,
0.171630859375
],
[
0.71875,
0.1728515625,
0.75,
0.1728515625,
0.75,
0.185302734375,
0.71875,
0.185302734375
],
[
0.7900390625,
0.1728515625,
0.8310546875,
0.1728515625,
0.8310546875,
0.1859130859375,
0.7900390625,
0.1859130859375
],
[
0.90576171875,
0.177001953125,
0.91162109375,
0.177001953125,
0.91162109375,
0.18408203125,
0.90576171875,
0.18408203125
],
[
0.1292724609375,
0.18408203125,
0.240966796875,
0.18408203125,
0.240966796875,
0.1953125,
0.1292724609375,
0.1953125
],
[
0.35107421875,
0.18408203125,
0.64990234375,
0.18408203125,
0.64990234375,
0.19775390625,
0.35107421875,
0.19775390625
],
[
0.71728515625,
0.182861328125,
0.75,
0.185302734375,
0.748046875,
0.19775390625,
0.71533203125,
0.1953125
],
[
0.791015625,
0.185302734375,
0.82958984375,
0.185302734375,
0.82958984375,
0.196533203125,
0.791015625,
0.196533203125
],
[
0.89990234375,
0.188232421875,
0.91162109375,
0.185302734375,
0.91748046875,
0.1953125,
0.90576171875,
0.198974609375
],
[
0.1275634765625,
0.19482421875,
0.273681640625,
0.196533203125,
0.273681640625,
0.210205078125,
0.1275634765625,
0.2078857421875
],
[
0.349365234375,
0.19482421875,
0.62890625,
0.1953125,
0.62890625,
0.210205078125,
0.349365234375,
0.208984375
],
[
0.71728515625,
0.196533203125,
0.75,
0.196533203125,
0.75,
0.208984375,
0.71728515625,
0.208984375
],
[
0.791015625,
0.196533203125,
0.82958984375,
0.196533203125,
0.82958984375,
0.208984375,
0.791015625,
0.208984375
],
[
0.90283203125,
0.19775390625,
0.91357421875,
0.19775390625,
0.91357421875,
0.208984375,
0.90283203125,
0.208984375
],
[
0.364501953125,
0.207275390625,
0.7138671875,
0.2078857421875,
0.7138671875,
0.22265625,
0.364501953125,
0.221435546875
],
[
0.124267578125,
0.2203369140625,
0.268798828125,
0.2203369140625,
0.268798828125,
0.2340087890625,
0.124267578125,
0.2340087890625
],
[
0.35107421875,
0.2203369140625,
0.6767578125,
0.2203369140625,
0.6767578125,
0.2340087890625,
0.35107421875,
0.2340087890625
],
[
0.71728515625,
0.221435546875,
0.75,
0.221435546875,
0.75,
0.2327880859375,
0.71728515625,
0.2327880859375
],
[
0.791015625,
0.221435546875,
0.82958984375,
0.221435546875,
0.82958984375,
0.2327880859375,
0.791015625,
0.2327880859375
],
[
0.7900390625,
0.2298583984375,
0.8330078125,
0.232177734375,
0.8310546875,
0.2464599609375,
0.78857421875,
0.24462890625
],
[
0.90771484375,
0.2257080078125,
0.91162109375,
0.2257080078125,
0.91162109375,
0.23095703125,
0.90771484375,
0.23095703125
],
[
0.1275634765625,
0.232177734375,
0.268798828125,
0.232177734375,
0.268798828125,
0.2452392578125,
0.1275634765625,
0.2452392578125
],
[
0.349365234375,
0.232177734375,
0.59033203125,
0.232177734375,
0.59033203125,
0.2452392578125,
0.349365234375,
0.2452392578125
],
[
0.71875,
0.232177734375,
0.75,
0.232177734375,
0.75,
0.24462890625,
0.71875,
0.24462890625
],
[
0.90283203125,
0.235107421875,
0.91455078125,
0.235107421875,
0.91455078125,
0.24462890625,
0.90283203125,
0.24462890625
],
[
0.1259765625,
0.2423095703125,
0.280517578125,
0.243408203125,
0.280517578125,
0.25830078125,
0.1259765625,
0.257080078125
],
[
0.349365234375,
0.24462890625,
0.5458984375,
0.24462890625,
0.5458984375,
0.25830078125,
0.349365234375,
0.25830078125
],
[
0.71875,
0.24462890625,
0.75,
0.24462890625,
0.75,
0.257080078125,
0.71875,
0.257080078125
],
[
0.791015625,
0.24462890625,
0.8330078125,
0.24462890625,
0.8330078125,
0.25830078125,
0.791015625,
0.25830078125
],
[
0.7900390625,
0.254150390625,
0.8330078125,
0.255859375,
0.8310546875,
0.270751953125,
0.78857421875,
0.268310546875
],
[
0.904296875,
0.248779296875,
0.91357421875,
0.248779296875,
0.91357421875,
0.25830078125,
0.904296875,
0.25830078125
],
[
0.1275634765625,
0.255859375,
0.2822265625,
0.255859375,
0.2822265625,
0.270751953125,
0.1275634765625,
0.270751953125
],
[
0.349365234375,
0.255859375,
0.62890625,
0.255859375,
0.62890625,
0.26953125,
0.349365234375,
0.26953125
],
[
0.71875,
0.255859375,
0.75,
0.255859375,
0.75,
0.268310546875,
0.71875,
0.268310546875
],
[
0.904296875,
0.260009765625,
0.91357421875,
0.260009765625,
0.91357421875,
0.26953125,
0.904296875,
0.26953125
],
[
0.1275634765625,
0.268310546875,
0.270263671875,
0.268310546875,
0.270263671875,
0.281982421875,
0.1275634765625,
0.281982421875
],
[
0.345947265625,
0.2666015625,
0.67333984375,
0.267333984375,
0.67333984375,
0.281982421875,
0.345947265625,
0.28076171875
],
[
0.71728515625,
0.268310546875,
0.75,
0.268310546875,
0.75,
0.28076171875,
0.71728515625,
0.28076171875
],
[
0.791015625,
0.268310546875,
0.82958984375,
0.268310546875,
0.82958984375,
0.28076171875,
0.791015625,
0.28076171875
],
[
0.904296875,
0.271484375,
0.91162109375,
0.271484375,
0.91162109375,
0.279052734375,
0.904296875,
0.279052734375
],
[
0.4375,
0.27978515625,
0.6455078125,
0.27978515625,
0.6455078125,
0.29345703125,
0.4375,
0.29345703125
],
[
0.349365234375,
0.292236328125,
0.54736328125,
0.292236328125,
0.54736328125,
0.305908203125,
0.349365234375,
0.305908203125
],
[
0.71728515625,
0.29150390625,
0.75,
0.29345703125,
0.748046875,
0.305908203125,
0.71533203125,
0.303955078125
],
[
0.791015625,
0.29345703125,
0.8310546875,
0.29345703125,
0.8310546875,
0.3046875,
0.791015625,
0.3046875
],
[
0.890625,
0.29345703125,
0.927734375,
0.29345703125,
0.927734375,
0.3046875,
0.890625,
0.3046875
],
[
0.791015625,
0.3017578125,
0.82958984375,
0.303955078125,
0.82861328125,
0.31640625,
0.7900390625,
0.314208984375
],
[
0.890625,
0.302734375,
0.927734375,
0.3046875,
0.9267578125,
0.317626953125,
0.88916015625,
0.3154296875
],
[
0.71875,
0.3046875,
0.75,
0.3046875,
0.75,
0.317626953125,
0.71875,
0.317626953125
],
[
0.35107421875,
0.303955078125,
0.55517578125,
0.303955078125,
0.55517578125,
0.317626953125,
0.35107421875,
0.317626953125
],
[
0.35107421875,
0.31640625,
0.54736328125,
0.31640625,
0.54736328125,
0.330078125,
0.35107421875,
0.330078125
],
[
0.71875,
0.31640625,
0.75,
0.31640625,
0.75,
0.328857421875,
0.71875,
0.328857421875
],
[
0.791015625,
0.31640625,
0.8330078125,
0.31640625,
0.8330078125,
0.330078125,
0.791015625,
0.330078125
],
[
0.88916015625,
0.3154296875,
0.927734375,
0.317626953125,
0.9267578125,
0.330078125,
0.88818359375,
0.327880859375
],
[
0.349365234375,
0.327880859375,
0.5439453125,
0.327880859375,
0.5439453125,
0.341552734375,
0.349365234375,
0.341552734375
],
[
0.71875,
0.327880859375,
0.75,
0.327880859375,
0.75,
0.34033203125,
0.71875,
0.34033203125
],
[
0.791015625,
0.32666015625,
0.8310546875,
0.328857421875,
0.82958984375,
0.341552734375,
0.7900390625,
0.339111328125
],
[
0.88916015625,
0.328857421875,
0.927734375,
0.328857421875,
0.927734375,
0.34033203125,
0.88916015625,
0.34033203125
],
[
0.35107421875,
0.339111328125,
0.59033203125,
0.339111328125,
0.59033203125,
0.352783203125,
0.35107421875,
0.352783203125
],
[
0.1275634765625,
0.328857421875,
0.1956787109375,
0.328857421875,
0.1956787109375,
0.34033203125,
0.1275634765625,
0.34033203125
],
[
0.71875,
0.34033203125,
0.75,
0.34033203125,
0.75,
0.352783203125,
0.71875,
0.352783203125
],
[
0.791015625,
0.34033203125,
0.82958984375,
0.34033203125,
0.82958984375,
0.352783203125,
0.791015625,
0.352783203125
],
[
0.88916015625,
0.34033203125,
0.93115234375,
0.34033203125,
0.93115234375,
0.35400390625,
0.88916015625,
0.35400390625
],
[
0.35107421875,
0.3515625,
0.515625,
0.3515625,
0.515625,
0.365234375,
0.35107421875,
0.365234375
],
[
0.71875,
0.3515625,
0.75,
0.3515625,
0.75,
0.364013671875,
0.71875,
0.364013671875
],
[
0.791015625,
0.3515625,
0.8330078125,
0.3515625,
0.8330078125,
0.365234375,
0.791015625,
0.365234375
],
[
0.88916015625,
0.3515625,
0.927734375,
0.3515625,
0.927734375,
0.364013671875,
0.88916015625,
0.364013671875
],
[
0.345947265625,
0.363525390625,
0.67236328125,
0.363525390625,
0.67236328125,
0.377197265625,
0.345947265625,
0.377197265625
],
[
0.791015625,
0.363525390625,
0.82958984375,
0.363525390625,
0.82958984375,
0.3759765625,
0.791015625,
0.3759765625
],
[
0.88916015625,
0.361083984375,
0.9296875,
0.363525390625,
0.927734375,
0.377685546875,
0.88818359375,
0.3759765625
],
[
0.12005615234375,
0.3955078125,
0.88330078125,
0.3955078125,
0.88330078125,
0.4091796875,
0.12005615234375,
0.4091796875
],
[
0.71875,
0.364013671875,
0.75,
0.364013671875,
0.75,
0.3759765625,
0.71875,
0.3759765625
],
[
0.12005615234375,
0.410888671875,
0.52880859375,
0.410888671875,
0.52880859375,
0.424560546875,
0.12005615234375,
0.424560546875
],
[
0.5224609375,
0.4091796875,
0.8818359375,
0.410888671875,
0.8818359375,
0.42578125,
0.5224609375,
0.42333984375
],
[
0.1175537109375,
0.427001953125,
0.8671875,
0.42578125,
0.8671875,
0.440673828125,
0.1175537109375,
0.441162109375
],
[
0.118408203125,
0.443603515625,
0.88330078125,
0.443603515625,
0.88330078125,
0.457763671875,
0.118408203125,
0.457763671875
],
[
0.118408203125,
0.458984375,
0.8818359375,
0.458984375,
0.8818359375,
0.473876953125,
0.118408203125,
0.473876953125
],
[
0.1158447265625,
0.47265625,
0.88330078125,
0.473876953125,
0.88330078125,
0.4912109375,
0.1158447265625,
0.490478515625
],
[
0.118408203125,
0.4921875,
0.7001953125,
0.4921875,
0.7001953125,
0.505859375,
0.118408203125,
0.505859375
],
[
0.69287109375,
0.4912109375,
0.88330078125,
0.4921875,
0.88330078125,
0.50732421875,
0.69287109375,
0.505859375
],
[
0.118408203125,
0.50830078125,
0.5576171875,
0.50830078125,
0.5576171875,
0.5224609375,
0.118408203125,
0.5224609375
],
[
0.118408203125,
0.548828125,
0.48779296875,
0.5498046875,
0.48779296875,
0.56396484375,
0.118408203125,
0.5634765625
],
[
0.5146484375,
0.5498046875,
0.73291015625,
0.5498046875,
0.73291015625,
0.56396484375,
0.5146484375,
0.56396484375
],
[
0.12005615234375,
0.56640625,
0.486083984375,
0.56640625,
0.486083984375,
0.580078125,
0.12005615234375,
0.580078125
],
[
0.118408203125,
0.58056640625,
0.48779296875,
0.58056640625,
0.48779296875,
0.59423828125,
0.118408203125,
0.59423828125
],
[
0.5146484375,
0.58203125,
0.54248046875,
0.58203125,
0.54248046875,
0.59326171875,
0.5146484375,
0.59326171875
],
[
0.5576171875,
0.580078125,
0.8818359375,
0.580078125,
0.8818359375,
0.59326171875,
0.5576171875,
0.59326171875
],
[
0.12005615234375,
0.59716796875,
0.301513671875,
0.59716796875,
0.301513671875,
0.6123046875,
0.12005615234375,
0.6123046875
],
[
0.515625,
0.60400390625,
0.8818359375,
0.60400390625,
0.8818359375,
0.61767578125,
0.515625,
0.61767578125
],
[
0.1376953125,
0.61767578125,
0.489501953125,
0.61767578125,
0.489501953125,
0.63134765625,
0.1376953125,
0.63134765625
],
[
0.5146484375,
0.619140625,
0.8818359375,
0.6181640625,
0.8818359375,
0.6328125,
0.5146484375,
0.63427734375
],
[
0.12005615234375,
0.63427734375,
0.48779296875,
0.63427734375,
0.48779296875,
0.64794921875,
0.12005615234375,
0.64794921875
],
[
0.51318359375,
0.63525390625,
0.88330078125,
0.63427734375,
0.88330078125,
0.6484375,
0.51318359375,
0.6494140625
],
[
0.118408203125,
0.6484375,
0.484375,
0.6484375,
0.484375,
0.662109375,
0.118408203125,
0.662109375
],
[
0.51318359375,
0.65087890625,
0.880859375,
0.65087890625,
0.880859375,
0.66455078125,
0.51318359375,
0.66455078125
],
[
0.12005615234375,
0.6650390625,
0.48779296875,
0.6650390625,
0.48779296875,
0.6796875,
0.12005615234375,
0.6796875
],
[
0.5146484375,
0.66650390625,
0.8818359375,
0.66748046875,
0.8818359375,
0.68115234375,
0.5146484375,
0.6796875
],
[
0.12176513671875,
0.68115234375,
0.484375,
0.68115234375,
0.484375,
0.6953125,
0.12176513671875,
0.6953125
],
[
0.5146484375,
0.68408203125,
0.8818359375,
0.68408203125,
0.8818359375,
0.69775390625,
0.5146484375,
0.69775390625
],
[
0.12005615234375,
0.69873046875,
0.489501953125,
0.69873046875,
0.489501953125,
0.7119140625,
0.12005615234375,
0.7119140625
],
[
0.51318359375,
0.69970703125,
0.8818359375,
0.69873046875,
0.8818359375,
0.71337890625,
0.51318359375,
0.71435546875
],
[
0.12005615234375,
0.71337890625,
0.48779296875,
0.71435546875,
0.48779296875,
0.728515625,
0.12005615234375,
0.72802734375
],
[
0.515625,
0.71630859375,
0.8818359375,
0.71630859375,
0.8818359375,
0.72998046875,
0.515625,
0.72998046875
],
[
0.12176513671875,
0.72998046875,
0.48779296875,
0.72998046875,
0.48779296875,
0.74462890625,
0.12176513671875,
0.74462890625
],
[
0.51318359375,
0.73095703125,
0.880859375,
0.73095703125,
0.880859375,
0.7451171875,
0.51318359375,
0.7451171875
],
[
0.12005615234375,
0.74658203125,
0.48779296875,
0.74658203125,
0.48779296875,
0.76025390625,
0.12005615234375,
0.76025390625
],
[
0.5146484375,
0.7490234375,
0.8818359375,
0.7490234375,
0.8818359375,
0.7626953125,
0.5146484375,
0.7626953125
],
[
0.118408203125,
0.76123046875,
0.489501953125,
0.7626953125,
0.489501953125,
0.77685546875,
0.118408203125,
0.775390625
],
[
0.5146484375,
0.76416015625,
0.8818359375,
0.76416015625,
0.8818359375,
0.779296875,
0.5146484375,
0.779296875
],
[
0.12005615234375,
0.779296875,
0.48779296875,
0.779296875,
0.48779296875,
0.7919921875,
0.12005615234375,
0.7919921875
],
[
0.51318359375,
0.779296875,
0.8818359375,
0.77978515625,
0.8818359375,
0.79443359375,
0.51318359375,
0.79345703125
],
[
0.118408203125,
0.79345703125,
0.486083984375,
0.79345703125,
0.486083984375,
0.80712890625,
0.118408203125,
0.80712890625
],
[
0.51318359375,
0.79638671875,
0.8818359375,
0.79638671875,
0.8818359375,
0.81103515625,
0.51318359375,
0.81103515625
],
[
0.12005615234375,
0.81103515625,
0.48779296875,
0.81103515625,
0.48779296875,
0.82470703125,
0.12005615234375,
0.82470703125
],
[
0.51123046875,
0.81005859375,
0.884765625,
0.81103515625,
0.884765625,
0.8291015625,
0.51123046875,
0.82763671875
],
[
0.12005615234375,
0.82666015625,
0.48779296875,
0.82666015625,
0.48779296875,
0.84033203125,
0.12005615234375,
0.84033203125
],
[
0.5146484375,
0.82763671875,
0.88330078125,
0.8291015625,
0.88330078125,
0.84326171875,
0.5146484375,
0.8427734375
],
[
0.12176513671875,
0.84326171875,
0.3525390625,
0.84326171875,
0.3525390625,
0.85693359375,
0.12176513671875,
0.85693359375
],
[
0.515625,
0.845703125,
0.75390625,
0.845703125,
0.75390625,
0.859375,
0.515625,
0.859375
],
[
0.139404296875,
0.8623046875,
0.486083984375,
0.8623046875,
0.486083984375,
0.876953125,
0.139404296875,
0.876953125
],
[
0.5341796875,
0.8623046875,
0.8818359375,
0.8623046875,
0.8818359375,
0.876953125,
0.5341796875,
0.876953125
],
[
0.12005615234375,
0.87890625,
0.48779296875,
0.87890625,
0.48779296875,
0.892578125,
0.12005615234375,
0.892578125
],
[
0.51318359375,
0.87890625,
0.8818359375,
0.87890625,
0.8818359375,
0.892578125,
0.51318359375,
0.892578125
],
[
0.12176513671875,
0.8935546875,
0.48779296875,
0.89453125,
0.48779296875,
0.9091796875,
0.12176513671875,
0.90771484375
],
[
0.5146484375,
0.89453125,
0.88330078125,
0.89453125,
0.88330078125,
0.9091796875,
0.5146484375,
0.9091796875
]
] |
[
"System",
"Architecture",
"VocabtokBLEU",
"detok BLEU",
"WMT14 winner system phrase-based + large LM",
"20.70",
"ExistingdeepNMTsystems (perhapsdifferenttokenization)",
"Buck et al. (2014)",
"Zhou et al. (2016)",
"LSTM with 16 layers +F-F connections",
"160K",
"20.60",
"20.70",
"=",
"SRU with 10 layers",
"Lei and Zhang (2017)",
"50K",
"-",
"Antonino and Federico (2018)",
"SR-NMT with 4 layers",
"32K",
"23.32",
"-",
"Wang et al. (2017a)",
"GRU with 4 layers + LAU + PosUnk",
"80K",
"23.80",
"Wang et al. (2017a)",
"GRU with 4 layers + LAU + PosUnk + ensemble",
"80K",
"26.10",
"I",
"Wu et al. (2016)",
"LSTM with 8 layers + RL-refined WPM",
"1",
"32K",
"24.61",
"1",
"Wu et al. (2016)",
"LSTM with 8 layers + RL-refined ensemble",
"80K",
"26.30",
".",
"Vaswani et al. (2017)",
"Transformer with 6 layers + base model",
"37K",
"27.30",
"-",
"Comparable NMT systems (the same tokenization)",
"Luong et al. (2015a)",
"LSTM with 4 layers + local att. + unk replace",
"50K",
"20.90",
"23.84",
"1",
"Zhang et al. (2017a)",
"GRU with gated attention +BPE",
"40K",
"-",
"Gehring et al. (2017b)",
"CNN with i5 layers + BPE",
"40K",
"25.16",
"26.43",
"-",
"Gehring et al. (2017b)",
"CNN with 15 layers + BPE + ensemble",
"40K",
"-",
"Zhang et al. (2018a)",
"Transformer with 6 layers + aan + base model",
"32K",
"26.31",
"-",
"Our end-to-end NMT systems",
"RNNSearch+ GRU +BPE",
"40K",
"22.54",
"22.06",
"22.96",
"22.39",
"40K",
"RNNSearch + LSTM + BPE",
"RNNSearch + RAN + BPE",
"40K",
"22.14",
"21.40",
"RNNSearch + ATR + BPE",
"40K",
"22.48",
"21.99",
"RNNSearch + ATR + CA + BPE",
"this work",
"40K",
"23.31",
"22.70",
"GNMT + ATR + BPE",
"40K",
"24.16",
"23.59",
"RNNSearch + ATR + CA + BPE + ensemble",
"24.97",
"24.33",
"Table 2: Tokenized (tok ) and detokenized (detok) case-sensitive BLEU scores on the WMT14",
"40K",
"English-German translation task. \" unk replace",
"\"”and“PosUnk \"denotes the approach",
"of handling rare words in Jean et al. (2015) and Luong et al. (2015a) respectively.\" RL",
"and \" WPM \" is the reinforcement learning optimization and word piece model used in Wu",
"et al. (2016).“ CA \" is the context-aware recurrent encoder (Zhang et al., 2017b).“ LAU",
"\" and “F-F \" denote the linear associative unit and the fast-forward architecture proposed",
"by Wang et al. (2017a) and Zhou et al. (2016) respectively. \" aan",
"\" denotes the average",
"attention network proposed byZhang et al. (2018a)",
"2016)来减少词汇量,并处理丰富的形态学问",
"维度,我们将其设置为512",
"题。我们将所有翻译任务的源语言和目标语言",
"的词汇量都设置为40K。所有词汇外的单词都",
"4.3",
"Results on English-German Translation",
"被替换为令牌“unk“",
"翻译结果如表2所示。我们还提供了几个现",
"我们为编码器和解码器使用了1000个隐藏",
"有系统的结果,这些系统经过了与我们类似的",
"单元。所有单词嵌入都具有维度620。我们根",
"实验设置的训练。特别是,我们的单个模型产",
"据-0范围内的均匀分布随机初始化所有模型",
"生的去令牌化BLEU得分为21。99。为了表",
"参数。08至0。08。然后使用Adam算法E",
"明所提出的模型可以与改进基于LSTM/GRU",
"(KingmaandBa,2015)优化这些可调参数",
"的NMT的先前方法正交,我们将单层上下文",
"将两个动量参数设置为0。9和0。999分别。",
"感知(CA)编码器E(Zhangetal.,2017b)集",
"梯度限幅5。0用于避免梯度爆炸问题。我们",
"成到我们的系统中。ATR+CA系统进一步达",
"用学习率5e-4和批量大小80训练了所有模",
"到 22。7个 BLEU以 2个 BLEU 点的大幅",
"型。我们以0的因子衰减了学习率。5在每",
"提升优于获胜者系统(Bucketal.,2014)。通",
"个训练时期之间。翻译是由光束搜索算法生成",
"过深层GNMT架构增强,GNMT+ATR系统",
"的,该算法基于按句子长度归一化的对数似然",
"产生的增益为0。RNNSearch+ATR+CA上的",
"得分。在所有实验中,我们使用的光束尺寸为",
"89个 BLEU点和1个。RNNSearch+ATR 上",
"10。我们还在输出层上对英语-德语和英语-法",
"的6个BLEU点。请注意,与仅在并行语料",
"语任务应用了dropout,以避免过度拟合,并",
"库上训练的系统不同,获胜者系统使用了巨大",
"且将dropout率设置为0。2",
"的单语文本来增强其语言模型",
"为了训练深度NMT模型,我们采用了",
"与现有的基于 LSTM 的E(Luong et al.,",
"GNMT架构(Wuetal.,2016)。我们保留",
"2015a)深度NMT系统相比,我们的浅/深",
"了上述所有设置,除了单词嵌入和隐藏状态的",
"模型实现了2的增益。41/3。分别有26个标"
] |
{
"arxiv_id": "1810.12546",
"language": "zh",
"page_idx": 4
}
|
||
2106.04489-zh-0
|
2106.04489-zh-0.jpg
|
# 通过共享超网络对变压器进行参数高效的多任务微调
Rabeeh Karimi Mahabadi$^*$
EPFL University, Idiap Research Institute
rabeeh.karimimahabadi@epft.ch
Mostafa Dehghani
Google Brain
dehghani@google.com
$\operatorname{Abstract}$
State-of-the-art parameter-efficient finetuning methods rely on introducing adapter modules between the layers of a pretrained language model. However, such modules are trained separately for each task and thus do not enable sharing information across tasks. In this paper, we show that we can learn adapter parameters for all layers and tasks by generating them using shared hypernetworks, which condition on task, adapter position, and layer id in a trans- ${\mathrm{former~model. }}$ ${\mathrm{This~parameter- efficient}}$ multi-task learning framework allows us to achieve the best of both worlds by sharing knowledge across tasks via hypernetworks while enabling the model to adapt to each individual task through task-specific adapters. Experiments on the well-known GLUE benchmark show improved performance in multi-task learning while adding only $0.29\%$ parameters per task. We additionally demonstrate substantial performance improvements in few-shot domain generalization across a variety of tasks. Our code is publicly available in https://github.com/rabeehk/hyperformer.
## 1 Introduction
从预训练的大规模语言模型中进行迁移学习可在各种任务中产生最先进的结果 (Devlinetal., 2019;Radfordetal.,2018;Liuetal.,2019b)。作为一个高度表达和抽象的框架,$\operatorname{\overline{E}Raffel}$et al. (2020)通过将基于文本的自然语言处理(NLP) 问题转换为序列到序列格式来同时训练多个任务的统一模型,从而探索了迁移学习的前景。使用预训练的语言模型(Ruder,2017)进行多任务学习有多种原因:1)每个任务训练单个模型会导致更高的计算成本,从而阻碍部署和维护。通过训练单个模型可以大大降低这些成本。2) 跨多个任务微调模型允许在不同任务
${^{*}\text{Work don}}$e while the author was at Google
Sebastian Ruder
DeepMind
ruder@google.com
James Henderson
Idiap Research Institute james. henderson@ idiap. ch
<FigureHere>
Figure 1: Left: Adapter integration in the T5 model. Right: Our HyperFormer adapter architecture. Following Houlsbyetal. ( 2019) , we include adapter modules after the two feed-forward layers. The $\begin{array}{l}{\mathrm{Adapter~hypernetwork~}h_{A}^{l}~produces~the~weights~(}\\{U_{\tau}^{l}~and~D_{\tau}^{l}~)~for~task-specific~adapter~modules~con-}\end{array}$ ditioned on an input task embedding$\boldsymbol{I}_{\boldsymbol{\tau }\cdot \:\mathrm{Similarly}, }$ thelayer normalization hypernetwork$h_{LN}^{l}$generates the conditional layer normalization parameters ( $\beta_{\tau}$ and $\gamma_{\tau}).$ During training, we only update layer normalizations in T5, hypernetworks, and task embeddings. The compact HyperFormer++ shares the same hypernetworks across all layers and tasks andcomputesthetaskembeddingbasedontask,layer id,andposition ofthe adapter module(§2.4).
之间共享信息,并积极转移到其他相关任务。具体来说,当目标数据集具有有限的训练数据时,与单独训练的模型相比,多任务学习提高了性能 (Liuetal.,2019a;Ratneretal.,2018)。但是,由于容量受限,多任务微调可能会导致模型在高资源任务上表现不佳 (Arivazhagan et al.,2019; McCann et al.,2018)。多任务微调的另一个问题是任务干扰或负转移的可能性, 在一个任务上实现良好的性能可能会阻碍另一个任务的性能 (Wang et al.,2019c)
作为微调 (Howard and Ruder, 2018) 的替代方法,适配器层$\operatorname{E}($Houlsby et al.,2019)将每
|
[
[
0.36865234375,
0.07659912109375,
0.63232421875,
0.0789794921875,
0.63232421875,
0.0968017578125,
0.36865234375,
0.09442138671875
],
[
0.358642578125,
0.09857177734375,
0.64404296875,
0.09857177734375,
0.64404296875,
0.1134033203125,
0.358642578125,
0.1134033203125
],
[
0.2275390625,
0.127685546875,
0.453369140625,
0.127685546875,
0.453369140625,
0.141357421875,
0.2275390625,
0.141357421875
],
[
0.59765625,
0.1270751953125,
0.73779296875,
0.1270751953125,
0.73779296875,
0.141357421875,
0.59765625,
0.141357421875
],
[
0.15869140625,
0.144287109375,
0.515625,
0.144287109375,
0.515625,
0.157958984375,
0.15869140625,
0.157958984375
],
[
0.62109375,
0.1436767578125,
0.71533203125,
0.142578125,
0.71533203125,
0.157958984375,
0.62109375,
0.1591796875
],
[
0.198974609375,
0.160888671875,
0.474365234375,
0.160888671875,
0.474365234375,
0.174560546875,
0.198974609375,
0.174560546875
],
[
0.58837890625,
0.1602783203125,
0.748046875,
0.1602783203125,
0.748046875,
0.174560546875,
0.58837890625,
0.174560546875
],
[
0.2568359375,
0.193603515625,
0.4130859375,
0.193603515625,
0.4130859375,
0.2078857421875,
0.2568359375,
0.2078857421875
],
[
0.59423828125,
0.193603515625,
0.7421875,
0.193603515625,
0.7421875,
0.2078857421875,
0.59423828125,
0.2078857421875
],
[
0.27783203125,
0.210205078125,
0.391357421875,
0.210205078125,
0.391357421875,
0.2244873046875,
0.27783203125,
0.2244873046875
],
[
0.568359375,
0.210205078125,
0.77099609375,
0.210205078125,
0.77099609375,
0.223876953125,
0.568359375,
0.223876953125
],
[
0.2376708984375,
0.2257080078125,
0.429931640625,
0.226806640625,
0.429931640625,
0.2410888671875,
0.2376708984375,
0.240478515625
],
[
0.55517578125,
0.22802734375,
0.78076171875,
0.22802734375,
0.78076171875,
0.2410888671875,
0.55517578125,
0.2410888671875
],
[
0.26611328125,
0.265380859375,
0.343505859375,
0.265380859375,
0.343505859375,
0.27978515625,
0.26611328125,
0.27978515625
],
[
0.5576171875,
0.268310546875,
0.5693359375,
0.268310546875,
0.5693359375,
0.283935546875,
0.5576171875,
0.283935546875
],
[
0.7021484375,
0.2724609375,
0.70947265625,
0.2724609375,
0.70947265625,
0.279052734375,
0.7021484375,
0.279052734375
],
[
0.55322265625,
0.283203125,
0.58251953125,
0.283203125,
0.58251953125,
0.2998046875,
0.55322265625,
0.2998046875
],
[
0.6962890625,
0.283935546875,
0.71875,
0.283935546875,
0.71875,
0.29638671875,
0.6962890625,
0.29638671875
],
[
0.14697265625,
0.29150390625,
0.4609375,
0.29150390625,
0.4609375,
0.3046875,
0.14697265625,
0.3046875
],
[
0.53662109375,
0.298583984375,
0.59033203125,
0.3017578125,
0.58837890625,
0.317626953125,
0.53564453125,
0.314208984375
],
[
0.14697265625,
0.305908203125,
0.4609375,
0.305908203125,
0.4609375,
0.319580078125,
0.14697265625,
0.319580078125
],
[
0.6708984375,
0.30712890625,
0.74072265625,
0.30712890625,
0.74072265625,
0.318359375,
0.6708984375,
0.318359375
],
[
0.75146484375,
0.3017578125,
0.77490234375,
0.3017578125,
0.77490234375,
0.308837890625,
0.75146484375,
0.308837890625
],
[
0.80029296875,
0.31005859375,
0.82275390625,
0.31005859375,
0.82275390625,
0.318359375,
0.80029296875,
0.318359375
],
[
0.14697265625,
0.320556640625,
0.4609375,
0.320556640625,
0.4609375,
0.334228515625,
0.14697265625,
0.334228515625
],
[
0.5205078125,
0.320556640625,
0.60693359375,
0.322509765625,
0.60693359375,
0.33740234375,
0.5205078125,
0.3349609375
],
[
0.64208984375,
0.32666015625,
0.77734375,
0.32666015625,
0.77734375,
0.34033203125,
0.64208984375,
0.34033203125
],
[
0.14697265625,
0.333251953125,
0.459228515625,
0.333251953125,
0.459228515625,
0.3466796875,
0.14697265625,
0.3466796875
],
[
0.8271484375,
0.327880859375,
0.85400390625,
0.327880859375,
0.85400390625,
0.345703125,
0.8271484375,
0.345703125
],
[
0.5263671875,
0.344482421875,
0.59765625,
0.344482421875,
0.59765625,
0.355712890625,
0.5263671875,
0.355712890625
],
[
0.66748046875,
0.3486328125,
0.74658203125,
0.3486328125,
0.74658203125,
0.359375,
0.66748046875,
0.359375
],
[
0.76171875,
0.347412109375,
0.779296875,
0.347412109375,
0.779296875,
0.355224609375,
0.76171875,
0.355224609375
],
[
0.79248046875,
0.350830078125,
0.84619140625,
0.345703125,
0.8486328125,
0.366455078125,
0.7958984375,
0.371826171875
],
[
0.6826171875,
0.359375,
0.73291015625,
0.359375,
0.73291015625,
0.369384765625,
0.6826171875,
0.369384765625
],
[
0.1485595703125,
0.349853515625,
0.459228515625,
0.349853515625,
0.459228515625,
0.35986328125,
0.1485595703125,
0.35986328125
],
[
0.145263671875,
0.361083984375,
0.45751953125,
0.3623046875,
0.45751953125,
0.3759765625,
0.145263671875,
0.374755859375
],
[
0.5517578125,
0.3681640625,
0.5810546875,
0.3681640625,
0.5810546875,
0.385986328125,
0.5517578125,
0.385986328125
],
[
0.14697265625,
0.377197265625,
0.4609375,
0.377197265625,
0.4609375,
0.39013671875,
0.14697265625,
0.39013671875
],
[
0.6689453125,
0.37890625,
0.74658203125,
0.37890625,
0.74658203125,
0.393798828125,
0.6689453125,
0.393798828125
],
[
0.53564453125,
0.385498046875,
0.591796875,
0.38720703125,
0.59033203125,
0.402099609375,
0.5341796875,
0.399658203125
],
[
0.14697265625,
0.391357421875,
0.459228515625,
0.391357421875,
0.459228515625,
0.405029296875,
0.14697265625,
0.405029296875
],
[
0.6689453125,
0.39794921875,
0.75,
0.399658203125,
0.75,
0.41455078125,
0.6689453125,
0.412109375
],
[
0.145263671875,
0.40380859375,
0.4609375,
0.405029296875,
0.4609375,
0.419189453125,
0.145263671875,
0.418701171875
],
[
0.52294921875,
0.4091796875,
0.60546875,
0.4091796875,
0.60546875,
0.42041015625,
0.52294921875,
0.42041015625
],
[
0.14697265625,
0.419189453125,
0.459228515625,
0.419189453125,
0.459228515625,
0.432861328125,
0.14697265625,
0.432861328125
],
[
0.65576171875,
0.4228515625,
0.75244140625,
0.4228515625,
0.75244140625,
0.43408203125,
0.65576171875,
0.43408203125
],
[
0.75830078125,
0.4228515625,
0.77685546875,
0.4228515625,
0.77685546875,
0.429931640625,
0.75830078125,
0.429931640625
],
[
0.14697265625,
0.43408203125,
0.459228515625,
0.43408203125,
0.459228515625,
0.44775390625,
0.14697265625,
0.44775390625
],
[
0.51123046875,
0.43115234375,
0.6171875,
0.43115234375,
0.6171875,
0.4423828125,
0.51123046875,
0.4423828125
],
[
0.67919921875,
0.43408203125,
0.73046875,
0.43408203125,
0.73046875,
0.44482421875,
0.67919921875,
0.44482421875
],
[
0.14697265625,
0.44775390625,
0.459228515625,
0.44775390625,
0.459228515625,
0.46142578125,
0.14697265625,
0.46142578125
],
[
0.52294921875,
0.45068359375,
0.599609375,
0.45068359375,
0.599609375,
0.465576171875,
0.52294921875,
0.465576171875
],
[
0.64208984375,
0.45068359375,
0.779296875,
0.45068359375,
0.779296875,
0.46435546875,
0.64208984375,
0.46435546875
],
[
0.14697265625,
0.4619140625,
0.4609375,
0.4619140625,
0.4609375,
0.4755859375,
0.14697265625,
0.4755859375
],
[
0.7060546875,
0.466064453125,
0.7138671875,
0.466064453125,
0.7138671875,
0.47021484375,
0.7060546875,
0.47021484375
],
[
0.145263671875,
0.474365234375,
0.4609375,
0.4755859375,
0.4609375,
0.490478515625,
0.145263671875,
0.4892578125
],
[
0.52490234375,
0.4755859375,
0.6171875,
0.47802734375,
0.6171875,
0.4921875,
0.52490234375,
0.490478515625
],
[
0.68408203125,
0.482177734375,
0.75244140625,
0.482177734375,
0.75244140625,
0.4921875,
0.68408203125,
0.4921875
],
[
0.14697265625,
0.490478515625,
0.4609375,
0.490478515625,
0.4609375,
0.50439453125,
0.14697265625,
0.50439453125
],
[
0.5146484375,
0.496337890625,
0.8818359375,
0.496337890625,
0.8818359375,
0.51025390625,
0.5146484375,
0.51025390625
],
[
0.14697265625,
0.50439453125,
0.4609375,
0.50439453125,
0.4609375,
0.51708984375,
0.14697265625,
0.51708984375
],
[
0.5146484375,
0.51123046875,
0.8818359375,
0.51123046875,
0.8818359375,
0.52490234375,
0.5146484375,
0.52490234375
],
[
0.14697265625,
0.5185546875,
0.459228515625,
0.5185546875,
0.459228515625,
0.5322265625,
0.14697265625,
0.5322265625
],
[
0.5146484375,
0.52490234375,
0.8818359375,
0.52490234375,
0.8818359375,
0.5380859375,
0.5146484375,
0.5380859375
],
[
0.14697265625,
0.533203125,
0.459228515625,
0.533203125,
0.459228515625,
0.54638671875,
0.14697265625,
0.54638671875
],
[
0.5146484375,
0.5390625,
0.84228515625,
0.5390625,
0.84228515625,
0.552734375,
0.5146484375,
0.552734375
],
[
0.14697265625,
0.5458984375,
0.4609375,
0.54638671875,
0.4609375,
0.56103515625,
0.14697265625,
0.56005859375
],
[
0.84814453125,
0.54052734375,
0.8818359375,
0.54052734375,
0.8818359375,
0.5517578125,
0.84814453125,
0.5517578125
],
[
0.5146484375,
0.552734375,
0.88330078125,
0.552734375,
0.88330078125,
0.56787109375,
0.5146484375,
0.56787109375
],
[
0.14697265625,
0.56103515625,
0.459228515625,
0.56103515625,
0.459228515625,
0.57470703125,
0.14697265625,
0.57470703125
],
[
0.51318359375,
0.56640625,
0.8818359375,
0.56640625,
0.8818359375,
0.580078125,
0.51318359375,
0.580078125
],
[
0.14697265625,
0.576171875,
0.459228515625,
0.576171875,
0.459228515625,
0.5888671875,
0.14697265625,
0.5888671875
],
[
0.51318359375,
0.58203125,
0.8818359375,
0.58203125,
0.8818359375,
0.595703125,
0.51318359375,
0.595703125
],
[
0.14697265625,
0.5888671875,
0.4609375,
0.5888671875,
0.4609375,
0.6025390625,
0.14697265625,
0.6025390625
],
[
0.5146484375,
0.5966796875,
0.88330078125,
0.5966796875,
0.88330078125,
0.61083984375,
0.5146484375,
0.61083984375
],
[
0.1485595703125,
0.60546875,
0.45751953125,
0.60546875,
0.45751953125,
0.6162109375,
0.1485595703125,
0.6162109375
],
[
0.51318359375,
0.609375,
0.88330078125,
0.61083984375,
0.88330078125,
0.62451171875,
0.51318359375,
0.62255859375
],
[
0.14697265625,
0.6181640625,
0.459228515625,
0.6181640625,
0.459228515625,
0.6318359375,
0.14697265625,
0.6318359375
],
[
0.5146484375,
0.6259765625,
0.880859375,
0.6259765625,
0.880859375,
0.6357421875,
0.5146484375,
0.6357421875
],
[
0.1485595703125,
0.63427734375,
0.2283935546875,
0.63427734375,
0.2283935546875,
0.64453125,
0.1485595703125,
0.64453125
],
[
0.22412109375,
0.63427734375,
0.45751953125,
0.63427734375,
0.45751953125,
0.64453125,
0.22412109375,
0.64453125
],
[
0.51318359375,
0.6396484375,
0.884765625,
0.6396484375,
0.884765625,
0.65283203125,
0.51318359375,
0.65283203125
],
[
0.14697265625,
0.646484375,
0.459228515625,
0.646484375,
0.459228515625,
0.66015625,
0.14697265625,
0.66015625
],
[
0.5146484375,
0.65380859375,
0.884765625,
0.65380859375,
0.884765625,
0.66748046875,
0.5146484375,
0.66748046875
],
[
0.1502685546875,
0.67041015625,
0.2626953125,
0.67138671875,
0.2626953125,
0.68603515625,
0.1502685546875,
0.68505859375
],
[
0.51123046875,
0.66650390625,
0.8818359375,
0.66650390625,
0.8818359375,
0.6796875,
0.51123046875,
0.6796875
],
[
0.12005615234375,
0.6748046875,
0.1427001953125,
0.6748046875,
0.1427001953125,
0.68505859375,
0.12005615234375,
0.68505859375
],
[
0.51318359375,
0.6796875,
0.8818359375,
0.6796875,
0.8818359375,
0.693359375,
0.51318359375,
0.693359375
],
[
0.12176513671875,
0.69775390625,
0.489501953125,
0.69775390625,
0.489501953125,
0.71142578125,
0.12176513671875,
0.71142578125
],
[
0.51123046875,
0.69482421875,
0.82958984375,
0.69677734375,
0.82958984375,
0.71044921875,
0.51123046875,
0.7080078125
],
[
0.12005615234375,
0.71337890625,
0.48779296875,
0.71337890625,
0.48779296875,
0.72705078125,
0.12005615234375,
0.72705078125
],
[
0.515625,
0.71728515625,
0.8818359375,
0.71728515625,
0.8818359375,
0.732421875,
0.515625,
0.732421875
],
[
0.12005615234375,
0.728515625,
0.489501953125,
0.728515625,
0.489501953125,
0.7421875,
0.12005615234375,
0.7421875
],
[
0.515625,
0.73388671875,
0.8818359375,
0.73388671875,
0.8818359375,
0.74755859375,
0.515625,
0.74755859375
],
[
0.12176513671875,
0.7451171875,
0.489501953125,
0.7451171875,
0.489501953125,
0.7587890625,
0.12176513671875,
0.7587890625
],
[
0.5146484375,
0.75,
0.8818359375,
0.75,
0.8818359375,
0.76416015625,
0.5146484375,
0.76416015625
],
[
0.118408203125,
0.76123046875,
0.489501953125,
0.76123046875,
0.489501953125,
0.77490234375,
0.118408203125,
0.77490234375
],
[
0.515625,
0.765625,
0.8818359375,
0.765625,
0.8818359375,
0.77978515625,
0.515625,
0.77978515625
],
[
0.12176513671875,
0.77783203125,
0.489501953125,
0.77783203125,
0.489501953125,
0.79150390625,
0.12176513671875,
0.79150390625
],
[
0.5146484375,
0.7822265625,
0.8818359375,
0.7822265625,
0.8818359375,
0.7958984375,
0.5146484375,
0.7958984375
],
[
0.12005615234375,
0.79345703125,
0.490234375,
0.79345703125,
0.490234375,
0.80712890625,
0.12005615234375,
0.80712890625
],
[
0.5146484375,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.5146484375,
0.8125
],
[
0.12176513671875,
0.81005859375,
0.48779296875,
0.81005859375,
0.48779296875,
0.82373046875,
0.12176513671875,
0.82373046875
],
[
0.51318359375,
0.81396484375,
0.8818359375,
0.81396484375,
0.8818359375,
0.82763671875,
0.51318359375,
0.82763671875
],
[
0.12176513671875,
0.82666015625,
0.48779296875,
0.82666015625,
0.48779296875,
0.84033203125,
0.12176513671875,
0.84033203125
],
[
0.51318359375,
0.8291015625,
0.88330078125,
0.83056640625,
0.88330078125,
0.845703125,
0.51318359375,
0.84326171875
],
[
0.12005615234375,
0.8427734375,
0.489501953125,
0.8427734375,
0.489501953125,
0.85546875,
0.12005615234375,
0.85546875
],
[
0.51318359375,
0.8466796875,
0.8818359375,
0.8466796875,
0.8818359375,
0.85986328125,
0.51318359375,
0.85986328125
],
[
0.12176513671875,
0.85791015625,
0.489501953125,
0.85791015625,
0.489501953125,
0.87158203125,
0.12176513671875,
0.87158203125
],
[
0.515625,
0.8623046875,
0.7841796875,
0.8623046875,
0.7841796875,
0.8759765625,
0.515625,
0.8759765625
],
[
0.12005615234375,
0.87451171875,
0.486083984375,
0.87451171875,
0.486083984375,
0.88818359375,
0.12005615234375,
0.88818359375
],
[
0.5341796875,
0.87890625,
0.8818359375,
0.87890625,
0.8818359375,
0.892578125,
0.5341796875,
0.892578125
],
[
0.14697265625,
0.8955078125,
0.443359375,
0.8955078125,
0.443359375,
0.9091796875,
0.14697265625,
0.9091796875
],
[
0.515625,
0.89453125,
0.8818359375,
0.89453125,
0.8818359375,
0.9091796875,
0.515625,
0.9091796875
]
] |
[
"通过共享超网络对变压器",
"进行参数高效的多任务微调",
"Rabeeh Karimi Mahabadi*",
"Sebastian Ruder",
"EPFL University,Idiap Research Institute",
"DeepMind",
"rabeeh.karimimahabadi@epfl.ch",
"ruder@google.com",
"Mostafa Dehghani",
"James Henderson",
"Google Brain",
"IdiapResearchInstitute",
"dehghani@google.com",
"james.henderson@idiap.ch",
"Abstract",
"↑",
"A",
"?",
"+",
"State-of-the-art parameter-efficient fine-",
"Adapter",
"tuning methods rely on introducing adapter",
"Layer norm",
"9+",
"hN",
"modules between the layers of a pretrained",
"Feed forward",
"00000",
"language model. However, such modules",
".",
"Layer norm",
"Feed forward up",
"U!",
"",
"projection",
"are trained separately for each task and",
"thus do not enable sharing information",
"?",
"across tasks. In this paper, we show that we",
"",
"Adapter",
"can learn adapter parameters for all layers",
"Nonlinearity",
"and tasks by generating them using shared",
"Feed forward",
"hypernetworks, which condition on task,",
"Feed forward down",
"D",
"adapter position, and layer id in a trans-",
"Multi-head attention",
"projection",
"former model.This parameter-efficient",
"Layer norm",
"00000000",
"multi-task learning framework allows us to",
"",
"achieve the best of both worlds by sharing",
"Transformer Layer",
"Adapter Layer",
"knowledge across tasks via hypernetworks",
"Figure 1: Left: Adapter integration in the T5 model.",
"while enabling the model to adapt to",
"Right: Our HyperFormer adapter architecture.",
"each individual task through task-specific",
"Following Houlsby et al. (2019), we include adapter",
"adapters. Experiments on the well-known",
"modules after the two feed-forward layers.",
"GLUE benchmark show improved per-",
"The",
"Adapter hypernetwork h' produces the weights (",
"formance in multi-task learning while",
"Ui and D ) for task-specific adapter modules con",
"adding only 0.29% parameters per task.",
"ditioned on an input task embedding I : Similarly",
"We additionally demonstrate substantial",
"thelayer normalization hypernetwork hL generates",
"performanceimprovementsinfew-shot",
"the conditional layer normalization parameters (",
"domain generalization across a variety",
"Band -.During training,we only updatelaver",
"of tasks.",
"Our code is publicly available",
"normalizations in T5, hypernetworks, and task",
"in https://github.com/rabeehk/hyperformer.",
"embeddings. The compact HyperFormer++ shares",
"Introduction",
"the same hypernetworks across all layers and tasks",
"1 ",
"andcomputesthetaskembeddingbasedontask,layer",
"从预训练的大规模语言模型中进行迁移学习可",
"id,andpositionoftheadaptermodule($2.4).",
"在各种任务中产生最先进的结果(Devlinetal.",
"之间共享信息,并积极转移到其他相关任务。",
"2019:Radfordetal.,2018;Liuetal.,2019b)。作",
"具体来说,当目标数据集具有有限的训练数",
"为一个高度表达和抽象的框架,ERaffeletal.",
"据时,与单独训练的模型相比,多任务学习提",
"(2020)通过将基于文本的自然语言处理(NLP)",
"高了性能(Liuetal.,2019a;Ratneretal.,2018)",
"问题转换为序列到序列格式来同时训练多个任",
"但是,由于容量受限,多任务微调可能会导致",
"务的统一模型,从而探索了迁移学习的前景。。",
"模型在高资源任务上表现不佳(Arivazhagan",
"使用预训练的语言模型(Ruder,2017)进行多",
"etal.,2019;McCannetal.,2018)。多任务微调",
"任务学习有多种原因:1)每个任务训练单个",
"的另一个问题是任务干扰或负转移的可能性,",
"模型会导致更高的计算成本,从而阻碍部署和",
"在一个任务上实现良好的性能可能会阻碍另一",
"维护。通过训练单个模型可以大大降低这些成",
"个任务的性能(Wangetal.,2019c)",
"本。2)跨多个任务微调模型允许在不同任务",
"作为微调(HowardandRuder,2018)的替代",
"*Work done while the author was at Google.",
"方法,适配器层E(Houlsbyetal.,2019)将每"
] |
{
"arxiv_id": "2106.04489",
"language": "zh",
"page_idx": 0
}
|
||
2106.04489-zh-2
|
2106.04489-zh-2.jpg
|
基于输入任务嵌人来生成适配器权重,它捕获跨任务的信息,这些信息可用于积极地转移到其他相关任务
变压器模型的每一层都由一个注意块和一个前馈块组成,每个块后面都有一个跳过连接。在$\boxed{\mathrm{E}}$Houlsbyetal.(2019)之后,如图$\boxed{\mathrm{E}}1$所示,我们在跳过连接之前的每个块之后引入了条件适配器层。$l$层的条件适配器层$A_\tau^l$是$l$中定义的条件适配器层$A_\tau^l$,该状态由向下投影$D_\tau^l\in\mathbb{R}^h\times d$ , GeLU非线性$\overline{\mathrm{E}}($HendrycksandGimpel,2016) $d$是适配器层的瓶颈尺寸,在数学上。我们通过$\S2.3$中描述的超网络生成适配器权重$(U_\tau^l,D_\tau^l)$
2.2 TaskConditionalLayerNormalization
常规层归一化$\overline{\mathrm{E}}($Baetal.,2016)定义为:
(3)
$$LN_\tau^l(x_\tau^i)=\gamma_\tau^l\odot\frac{x_\tau^i-\mu_\tau}{\sigma_\tau}+\beta_\tau^l,$$
其中$\odot$是两个向量之间的元素乘法,$\gamma_\tau^l$ 和$\beta_\tau^l$ 是可学习的参数,其尺寸与MAXXTHX。$\mu_\mathrm{\tau}$ 和$\sigma_{\tau}$的值显示第$\tau$个任务的训练数据的平均值和标准偏差
为了允许适配器内部的层规范化适应每个任务,受$\overline{\mathrm{EPerezetal.(2018);DeVriesetal.(2017)}}$ 的启发,我们通过超网络生成$\gamma_\tau^l,\beta_\tau^l$作为任务嵌入的函数(§2.3)
2.3 TaskConditionedHypernetworks
为了拥有一个可以共享信息同时能够适应每个单独任务的模型,我们使用超网络生成任务条件适配器层和层归一化的参数。超网络是生成另一个网络的权重的网络(Haetal.,2017)
超网络捕获共享信息,而生成的任务条件适配器和层规范化允许模型适应每个单独的任务,以减少负面的任务干扰
Learned task embedding: 我们首先使用任务投影仪网络$h_I(.)$为每个单独的任务计算一个嵌入$I_\tau\in\mathbb{R}^t$的任务,该任务是由两个前馈层和一个ReLU非线性组成的多层感知器:
(4)
$$\begin{matrix}I_\tau=h_I(z_\tau),\\[-4.4ex]\end{matrix}$$
可以是 MAXTHX\_。在这项工作中,我们考虑了一个参数化的$z_\tau$,以允许在实践中方便的端到端训练。1
$^{1}$We ran some pilot experiments with pretrained task embeddings (Vu et al., 2020) , but did not observe extra benefits.
Removing task prefixes: T5 模 型 将 特 定 于 任 务的前缀前置到输入序列以进行调节。例如, 当在 CoLA (Warstadt et al.,2019) 上训练时, cola句子:被添加到每个样本之前。相反,我们删除任务前缀并使用任务嵌入进行调节
Taskconditionedhypernetworks: 我们将简单的线性层视为超网络,它们是输入任务嵌入$I_{\tau}$的函数。我们在变压器的每一层引入这些超网络。我们定义了生成任务条件适配器权重
, GeLU非 线 性 E( HendrycksandGimpel, 2016) 和 向 上 投 影 $U_{\boldsymbol{\tau }}^{l}\in \mathbb{R} ^{d\times h}$组 成 , 其 中 $h$是 输 人 尺 寸 , $( U_{\boldsymbol{\tau }}^{l}$, $D_{\boldsymbol{\tau }}^{l})$ 的 超 网 络 $h_{A}^{l}( . ) :$
$$(U_\tau^l,D_\tau^l):=h_A^l(I_\tau)=\left(W^{U^l},W^{D^l}\right)I_\tau,$$
, (5)
$[-4.4ex]$
,其中$W^{\boldsymbol{U}^l}\in\mathbb{R}^{(d\times h)\times t}$和$\boldsymbol W^{D^l}\in\mathbb{R}^{(h\times d)\times t}$是各自的超网络参数。我们还定义了计算层归一化参数的超网络$h_LN^l(.):$
(6.
$$(\gamma_\tau^l,\beta_\tau^l):=h_{LN}^l(\boldsymbol{I}_\tau)=\left(\boldsymbol{W}^{\boldsymbol{\gamma}^l},\boldsymbol{W}^{\boldsymbol{\beta}^l}\right)\boldsymbol{I}_\tau,$$
$[-4.4ex]$
,其中$W^{\gamma^l}\in\mathbb{R}^{h\times t}$和$W^\beta^l\in\mathbb{R}^{h\times t}$
2.4 HyperFormer++
在Transformer的每一层中引入单独的超网络的缺点是它增加了参数的总数。因此,我们建议跨变压器层共享超网络。通过具有可重用的共享超网络,此策略可大幅减少参数数量。然而,在所有层上重新应用相同的超网络会引入跨目标参数的权重共享,这可能是不可取的。为了允许对任务条件适配器/层归一化进行灵活的参数化,对于$L$层的转换器,我们引人了一组层$\operatorname{id}$嵌入$\mathcal{I}=\{\boldsymbol l_i\}_i=1^L$和适配器位置嵌入$\mathcal{P}=\{\boldsymbol{p_j}\}_{j=1}^2$,它们指定每个转换器块中适配器层的位置 (在注意层或前馈层之后),用作超网络的附加输入。为简单起见,我们考虑$l_i\in\mathbb{R}^t$、 $p_j\in\mathbb{R}^t$和$z_\tau\in\mathbb{R}^t$。我们将$(z_\tau,l_i,p_j)$的级联馈送到与等式$\overline{\mathbb{E}}(4)$中类似的任务投影仪网络$h_I^\prime:$
(7)
$$I_{\tau}=h_{I}^{\prime}(z_{\tau},l_{i},p_{j}),\\[-4.4ex]$$
,然后进行共享层归一化以计算最终任务嵌入$I_{\tau}\in\mathbb{R}^t$到超网络。这样,超网络能够为每个任务、适配器位置和变压器层产生不同的权重。此外,层ID和适配器位置嵌入是通过反向传播学习的参数,使我们能够方便地端到端训练整个模型。
## 3 Experiments
Datasets: 在Raffeletal.(2020)之后,我们评估了GLUE基准模型$0.74\%$。该基准测试涵盖复
|
[
[
0.12005615234375,
0.07659912109375,
0.489501953125,
0.07659912109375,
0.489501953125,
0.09027099609375,
0.12005615234375,
0.09027099609375
],
[
0.5146484375,
0.07598876953125,
0.880859375,
0.07598876953125,
0.880859375,
0.08905029296875,
0.5146484375,
0.08905029296875
],
[
0.118408203125,
0.0926513671875,
0.486083984375,
0.0926513671875,
0.486083984375,
0.105712890625,
0.118408203125,
0.105712890625
],
[
0.5146484375,
0.09320068359375,
0.88330078125,
0.09320068359375,
0.88330078125,
0.10687255859375,
0.5146484375,
0.10687255859375
],
[
0.12005615234375,
0.11102294921875,
0.2283935546875,
0.11102294921875,
0.2283935546875,
0.122314453125,
0.12005615234375,
0.122314453125
],
[
0.51708984375,
0.1092529296875,
0.8818359375,
0.1092529296875,
0.8818359375,
0.122314453125,
0.51708984375,
0.122314453125
],
[
0.1376953125,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.1376953125,
0.1395263671875
],
[
0.5146484375,
0.1258544921875,
0.88330078125,
0.1258544921875,
0.88330078125,
0.1395263671875,
0.5146484375,
0.1395263671875
],
[
0.12176513671875,
0.141357421875,
0.490234375,
0.141357421875,
0.490234375,
0.155029296875,
0.12176513671875,
0.155029296875
],
[
0.5146484375,
0.141357421875,
0.84619140625,
0.141357421875,
0.84619140625,
0.155029296875,
0.5146484375,
0.155029296875
],
[
0.118408203125,
0.1561279296875,
0.489501953125,
0.15673828125,
0.489501953125,
0.171630859375,
0.118408203125,
0.17041015625
],
[
0.515625,
0.1644287109375,
0.8818359375,
0.1650390625,
0.8818359375,
0.179931640625,
0.515625,
0.1787109375
],
[
0.12005615234375,
0.174560546875,
0.484375,
0.174560546875,
0.484375,
0.185302734375,
0.12005615234375,
0.185302734375
],
[
0.5146484375,
0.1817626953125,
0.8818359375,
0.1817626953125,
0.8818359375,
0.1953125,
0.5146484375,
0.1953125
],
[
0.12005615234375,
0.190673828125,
0.48779296875,
0.190673828125,
0.48779296875,
0.2037353515625,
0.12005615234375,
0.2037353515625
],
[
0.5146484375,
0.19775390625,
0.8818359375,
0.19775390625,
0.8818359375,
0.21142578125,
0.5146484375,
0.21142578125
],
[
0.1175537109375,
0.204833984375,
0.490234375,
0.201904296875,
0.490234375,
0.2197265625,
0.1175537109375,
0.22265625
],
[
0.515625,
0.21435546875,
0.8818359375,
0.21435546875,
0.8818359375,
0.22802734375,
0.515625,
0.22802734375
],
[
0.1318359375,
0.2203369140625,
0.48779296875,
0.221435546875,
0.48779296875,
0.236328125,
0.1318359375,
0.235107421875
],
[
0.1292724609375,
0.22802734375,
0.1368408203125,
0.22802734375,
0.1368408203125,
0.23095703125,
0.1292724609375,
0.23095703125
],
[
0.118408203125,
0.235107421875,
0.489501953125,
0.235107421875,
0.489501953125,
0.2529296875,
0.118408203125,
0.2529296875
],
[
0.5146484375,
0.2298583984375,
0.73876953125,
0.2298583984375,
0.73876953125,
0.24462890625,
0.5146484375,
0.24462890625
],
[
0.12176513671875,
0.254150390625,
0.48779296875,
0.254150390625,
0.48779296875,
0.267333984375,
0.12176513671875,
0.267333984375
],
[
0.5322265625,
0.2529296875,
0.8818359375,
0.2529296875,
0.8818359375,
0.273681640625,
0.5322265625,
0.273681640625
],
[
0.118408203125,
0.26953125,
0.48779296875,
0.268310546875,
0.48779296875,
0.283203125,
0.118408203125,
0.283935546875
],
[
0.767578125,
0.27978515625,
0.8388671875,
0.27978515625,
0.8388671875,
0.295654296875,
0.767578125,
0.295654296875
],
[
0.12005615234375,
0.297607421875,
0.456787109375,
0.297607421875,
0.456787109375,
0.311279296875,
0.12005615234375,
0.311279296875
],
[
0.52490234375,
0.30712890625,
0.88330078125,
0.30712890625,
0.88330078125,
0.327880859375,
0.52490234375,
0.327880859375
],
[
0.12005615234375,
0.318359375,
0.426513671875,
0.318359375,
0.426513671875,
0.33203125,
0.12005615234375,
0.33203125
],
[
0.51708984375,
0.319580078125,
0.5263671875,
0.314208984375,
0.5341796875,
0.320556640625,
0.52490234375,
0.325927734375
],
[
0.515625,
0.32666015625,
0.880859375,
0.32666015625,
0.880859375,
0.34033203125,
0.515625,
0.34033203125
],
[
0.306396484375,
0.339111328125,
0.4609375,
0.3515625,
0.45751953125,
0.37060546875,
0.30322265625,
0.359375
],
[
0.515625,
0.344482421875,
0.68994140625,
0.344482421875,
0.68994140625,
0.359375,
0.515625,
0.359375
],
[
0.183837890625,
0.350830078125,
0.316650390625,
0.3486328125,
0.316650390625,
0.364013671875,
0.183837890625,
0.366455078125
],
[
0.462646484375,
0.352783203125,
0.486083984375,
0.352783203125,
0.486083984375,
0.365234375,
0.462646484375,
0.365234375
],
[
0.334228515625,
0.363525390625,
0.359375,
0.363525390625,
0.359375,
0.3759765625,
0.334228515625,
0.3759765625
],
[
0.53564453125,
0.365234375,
0.8818359375,
0.366455078125,
0.8818359375,
0.388427734375,
0.53564453125,
0.38720703125
],
[
0.3525390625,
0.377685546875,
0.424072265625,
0.377685546875,
0.424072265625,
0.393798828125,
0.3525390625,
0.393798828125
],
[
0.767578125,
0.394287109375,
0.8388671875,
0.394287109375,
0.8388671875,
0.4091796875,
0.767578125,
0.4091796875
],
[
0.12005615234375,
0.4091796875,
0.486083984375,
0.4091796875,
0.486083984375,
0.42333984375,
0.12005615234375,
0.42333984375
],
[
0.118408203125,
0.424560546875,
0.48779296875,
0.427001953125,
0.48779296875,
0.441162109375,
0.118408203125,
0.439453125
],
[
0.509765625,
0.4228515625,
0.78076171875,
0.42041015625,
0.78076171875,
0.438232421875,
0.509765625,
0.440673828125
],
[
0.12005615234375,
0.4423828125,
0.48779296875,
0.4423828125,
0.48779296875,
0.4560546875,
0.12005615234375,
0.4560546875
],
[
0.51318359375,
0.449462890625,
0.69287109375,
0.45068359375,
0.69287109375,
0.465576171875,
0.51318359375,
0.46435546875
],
[
0.12176513671875,
0.460205078125,
0.21240234375,
0.460205078125,
0.21240234375,
0.47021484375,
0.12176513671875,
0.47021484375
],
[
0.1376953125,
0.474365234375,
0.489501953125,
0.474365234375,
0.489501953125,
0.488037109375,
0.1376953125,
0.488037109375
],
[
0.51318359375,
0.471435546875,
0.880859375,
0.471435546875,
0.880859375,
0.485107421875,
0.51318359375,
0.485107421875
],
[
0.12176513671875,
0.490478515625,
0.48779296875,
0.490478515625,
0.48779296875,
0.50439453125,
0.12176513671875,
0.50439453125
],
[
0.5146484375,
0.488037109375,
0.8818359375,
0.488037109375,
0.8818359375,
0.5029296875,
0.5146484375,
0.5029296875
],
[
0.118408203125,
0.50732421875,
0.48779296875,
0.50732421875,
0.48779296875,
0.52099609375,
0.118408203125,
0.52099609375
],
[
0.5146484375,
0.50439453125,
0.8818359375,
0.50439453125,
0.8818359375,
0.51708984375,
0.5146484375,
0.51708984375
],
[
0.12005615234375,
0.52392578125,
0.291259765625,
0.52392578125,
0.291259765625,
0.53759765625,
0.12005615234375,
0.53759765625
],
[
0.515625,
0.52099609375,
0.8818359375,
0.52099609375,
0.8818359375,
0.53369140625,
0.515625,
0.53369140625
],
[
0.515625,
0.53515625,
0.880859375,
0.53515625,
0.880859375,
0.548828125,
0.515625,
0.548828125
],
[
0.12005615234375,
0.5498046875,
0.42236328125,
0.5498046875,
0.42236328125,
0.5634765625,
0.12005615234375,
0.5634765625
],
[
0.5146484375,
0.552734375,
0.87890625,
0.552734375,
0.87890625,
0.5634765625,
0.5146484375,
0.5634765625
],
[
0.12176513671875,
0.57177734375,
0.489501953125,
0.57177734375,
0.489501953125,
0.5849609375,
0.12176513671875,
0.5849609375
],
[
0.515625,
0.568359375,
0.8818359375,
0.568359375,
0.8818359375,
0.58203125,
0.515625,
0.58203125
],
[
0.12005615234375,
0.5859375,
0.48779296875,
0.5859375,
0.48779296875,
0.599609375,
0.12005615234375,
0.599609375
],
[
0.515625,
0.5849609375,
0.880859375,
0.5849609375,
0.880859375,
0.5986328125,
0.515625,
0.5986328125
],
[
0.12176513671875,
0.60498046875,
0.48779296875,
0.60498046875,
0.48779296875,
0.615234375,
0.12176513671875,
0.615234375
],
[
0.5146484375,
0.60107421875,
0.8818359375,
0.60107421875,
0.8818359375,
0.615234375,
0.5146484375,
0.615234375
],
[
0.12005615234375,
0.619140625,
0.441650390625,
0.619140625,
0.441650390625,
0.6328125,
0.12005615234375,
0.6328125
],
[
0.5146484375,
0.615234375,
0.8818359375,
0.6162109375,
0.8818359375,
0.63134765625,
0.5146484375,
0.6298828125
],
[
0.1376953125,
0.63525390625,
0.48779296875,
0.63427734375,
0.48779296875,
0.64794921875,
0.1376953125,
0.6484375
],
[
0.5146484375,
0.63134765625,
0.87890625,
0.63134765625,
0.87890625,
0.64453125,
0.5146484375,
0.64453125
],
[
0.51318359375,
0.64794921875,
0.880859375,
0.6484375,
0.880859375,
0.6630859375,
0.51318359375,
0.662109375
],
[
0.12176513671875,
0.65380859375,
0.48779296875,
0.65380859375,
0.48779296875,
0.66455078125,
0.12176513671875,
0.66455078125
],
[
0.12005615234375,
0.66845703125,
0.341796875,
0.66845703125,
0.341796875,
0.681640625,
0.12005615234375,
0.681640625
],
[
0.515625,
0.6650390625,
0.8818359375,
0.6650390625,
0.8818359375,
0.6796875,
0.515625,
0.6796875
],
[
0.5146484375,
0.6796875,
0.85791015625,
0.68115234375,
0.85791015625,
0.6953125,
0.5146484375,
0.69482421875
],
[
0.12176513671875,
0.693359375,
0.484375,
0.693359375,
0.484375,
0.70703125,
0.12176513671875,
0.70703125
],
[
0.62890625,
0.70361328125,
0.767578125,
0.70361328125,
0.767578125,
0.71875,
0.62890625,
0.71875
],
[
0.85791015625,
0.70361328125,
0.8818359375,
0.70361328125,
0.8818359375,
0.71875,
0.85791015625,
0.71875
],
[
0.69775390625,
0.7236328125,
0.765625,
0.7216796875,
0.767578125,
0.73681640625,
0.69873046875,
0.7392578125
],
[
0.12005615234375,
0.708984375,
0.486083984375,
0.708984375,
0.486083984375,
0.72265625,
0.12005615234375,
0.72265625
],
[
0.12005615234375,
0.7255859375,
0.48779296875,
0.7255859375,
0.48779296875,
0.7392578125,
0.12005615234375,
0.7392578125
],
[
0.12005615234375,
0.7412109375,
0.43408203125,
0.7412109375,
0.43408203125,
0.7548828125,
0.12005615234375,
0.7548828125
],
[
0.5224609375,
0.75732421875,
0.53564453125,
0.75732421875,
0.53564453125,
0.76123046875,
0.5224609375,
0.76123046875
],
[
0.53076171875,
0.751953125,
0.8818359375,
0.751953125,
0.8818359375,
0.765625,
0.53076171875,
0.765625
],
[
0.25439453125,
0.76318359375,
0.3525390625,
0.765625,
0.3525390625,
0.783203125,
0.25439453125,
0.78076171875
],
[
0.465087890625,
0.76953125,
0.48779296875,
0.76953125,
0.48779296875,
0.77978515625,
0.465087890625,
0.77978515625
],
[
0.5146484375,
0.76708984375,
0.8818359375,
0.76708984375,
0.8818359375,
0.78076171875,
0.5146484375,
0.78076171875
],
[
0.280517578125,
0.7861328125,
0.3525390625,
0.7861328125,
0.3525390625,
0.80029296875,
0.280517578125,
0.80029296875
],
[
0.515625,
0.78369140625,
0.87890625,
0.78369140625,
0.87890625,
0.79443359375,
0.515625,
0.79443359375
],
[
0.515625,
0.7998046875,
0.8818359375,
0.7998046875,
0.8818359375,
0.8134765625,
0.515625,
0.8134765625
],
[
0.12005615234375,
0.81640625,
0.48779296875,
0.81640625,
0.48779296875,
0.830078125,
0.12005615234375,
0.830078125
],
[
0.51318359375,
0.8154296875,
0.88330078125,
0.8154296875,
0.88330078125,
0.8291015625,
0.51318359375,
0.8291015625
],
[
0.12005615234375,
0.8330078125,
0.489501953125,
0.8330078125,
0.489501953125,
0.8466796875,
0.12005615234375,
0.8466796875
],
[
0.51318359375,
0.83056640625,
0.599609375,
0.83056640625,
0.599609375,
0.845703125,
0.51318359375,
0.845703125
],
[
0.118408203125,
0.84716796875,
0.255126953125,
0.8466796875,
0.255126953125,
0.86083984375,
0.118408203125,
0.8623046875
],
[
0.51318359375,
0.85498046875,
0.6572265625,
0.85498046875,
0.6572265625,
0.8681640625,
0.51318359375,
0.8681640625
],
[
0.14111328125,
0.87060546875,
0.486083984375,
0.87158203125,
0.486083984375,
0.8857421875,
0.14111328125,
0.88525390625
],
[
0.5146484375,
0.88134765625,
0.609375,
0.88134765625,
0.609375,
0.892578125,
0.5146484375,
0.892578125
],
[
0.603515625,
0.87744140625,
0.8818359375,
0.87890625,
0.8818359375,
0.8935546875,
0.603515625,
0.892578125
],
[
0.12005615234375,
0.8857421875,
0.484375,
0.8857421875,
0.484375,
0.896484375,
0.12005615234375,
0.896484375
],
[
0.12176513671875,
0.89794921875,
0.175537109375,
0.89794921875,
0.175537109375,
0.90771484375,
0.12176513671875,
0.90771484375
],
[
0.51708984375,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.51708984375,
0.9091796875
]
] |
[
"基于输入任务嵌入来生成适配器权重,它捕获",
"Removingtaskprefixes:T5模型将特定于任",
"跨任务的信息,这些信息可用于积极地转移到",
"务的前缀前置到输入序列以进行调节。例如,",
"其他相关任务",
"当在CoLA(Warstadtetal.,2019)上训练时,",
"变压器模型的每一层都由一个注意块和一个",
"cola句子:被添加到每个样本之前。相反,我",
"前馈块组成,每个块后面都有一个跳过连接。",
"们删除任务前缀并使用任务嵌入进行调节",
"在EHoulsbyetal.(2019)之后,如图E1所示,我",
"Taskconditionedhypernetworks:我们将简单",
"们在跳过连接之前的每个块之后引入了条件适",
"的线性层视为超网络,它们是输人任务嵌入",
"配器层。l层的条件适配器层A是1中定义的条",
"I-的函数。我们在变压器的每一层引入这些",
"件适配器层A,该状态由向下投影DIeRhxd",
"超网络。我们定义了生成任务条件适配器权重",
"GeLU非线性E(HendrycksandGimpel,2016)",
"",
"和向上投影U!eRdxh组成,其中h是输人尺寸,",
"(U,D)的超网络hA():",
"d是适配器层的瓶颈尺寸,在数学上。我们通过",
"(UI,D'):=hA(I)=(wU',WD')I, (5)",
"$2.3中描述的超网络生成适配器权重(UI,D!)",
"[-4.4ec",
"2.2TaskConditionalLayer Normalization",
"其中WU\"eR(dxh)xt和WD’R(hxd)×t是各",
"常规层归一化E(Baetal.2016)定义为:",
"",
"自的超网络参数。我们还定义了计算层归一化",
"-+,",
"参数的超网络hLN():",
"LNI(ci)=%0",
"(3)",
"OT",
"(+,β4):=hLn(I+)=(w,WB)I+, (6)",
"[-4.4ea]",
"[-4.4ea]",
"其中是两个向量之间的元素乘法,和β",
"是可学习的参数,其尺寸与MAXXTHX。μ",
",其中WeRhxt和Wβ'eRhxt",
"和α-的值显示第↑个任务的训练数据的平均值",
"2.4 HyperFormer++",
"和标准偏差",
"为了允许适配器内部的层规范化适应每个任",
"在Transformer的每一层中引人单独的超网络",
"务,受EPerezetal.(2018);DeVriesetal.(2017)",
"的缺点是它增加了参数的总数。因此,我们建",
"的启发,我们通过超网络生成,β作为任",
"议跨变压器层共享超网络。通过具有可重用的",
"务嵌人的函数(S2.3)",
"共享超网络,此策略可大幅减少参数数量。然",
"而,在所有层上重新应用相同的超网络会引人",
"2.3TaskConditionedHypernetworks",
"跨目标参数的权重共享,这可能是不可取的",
"为了拥有一个可以共享信息同时能够适应每个",
"为了允许对任务条件适配器/层归一化进行灵",
"单独任务的模型,我们使用超网络生成任务条",
"活的参数化,对于L层的转换器,我们引人了",
"件适配器层和层归一化的参数。超网络是生成",
"一组层id嵌入工=[l=1和适配器位置嵌入",
"另一个网络的权重的网络(Haetal.,2017)",
"P={pi-1,它们指定每个转换器块中适配器",
"超网络捕获共享信息,而生成的任务条件",
"层的位置(在注意层或前馈层之后),用作超网",
"络的附加输入。为简单起见,我们考虑l;ERt",
"适配器和层规范化充许模型适应每个单独的任",
"务,以减少负面的任务干扰",
"PjERt和zERt。我们将(z,li,Pi)的级联馈送",
"到与等式E(4)中类似的任务投影仪网络h",
"Learnedtaskembedding:我们首先使用任务",
"I=hr(z-,li,Pj),",
"(7)",
"[-4.4er",
"投影仪网络hr()为每个单独的任务计算一个",
"嵌人I-ERt的任务,该任务是由两个前馈层",
"和一个ReLU非线性组成的多层感知器:",
"",
"然后进行共享层归一化以计算最终任务嵌入",
"I=h(z),",
"(4)",
"I.ERt到超网络。这样,超网络能够为每个任",
"[-4.4er]",
"务、适配器位置和变压器层产生不同的权重",
"此外,层ID和适配器位置嵌入是通过反向传",
"可以是MAXTHX_。在这项工作中,我们考",
"播学习的参数,使我们能够方便地端到端训练",
"虑了一个参数化的,以允许在实践中方便",
"整个模型。",
"的端到端训练。1",
"3Experiments",
"IWe ran some pilot experiments with pretrained task",
"Datasets:",
"在Raffeletal.(2020)之后,我们评估",
"embeddings (Vuet al.,2020),but did not observe extra",
"benefits.",
"了GLUE基准模型0.74%。该基准测试涵盖复"
] |
{
"arxiv_id": "2106.04489",
"language": "zh",
"page_idx": 2
}
|
||
2106.04489-zh-3
|
2106.04489-zh-3.jpg
|
<table>
<tbody>
<tr>
<th>Model</th>
<th>$\#$Total params</th>
<th>$\#$Trained params/ pertask</th>
<th>CoLA</th>
<th>SST-2</th>
<th>MRPC</th>
<th>$QQP$</th>
<th>STS- B</th>
<th>MNLI</th>
<th>$QNLI$</th>
<th>$RTE$</th>
<th>Avg</th>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td>Single</td>
<td>${\mathrm{TaskTraining}}$</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>$T5_{\varsigma}$ $\mathbf{sMALL}$</td>
<td>$8.0\times$</td>
<td>$100\%$</td>
<td>46.81</td>
<td>90.47</td>
<td>86.21/90.67</td>
<td>91.02/87.96</td>
<td>89.11/88.70</td>
<td>82.09</td>
<td>90.21</td>
<td>59.42</td>
<td>82.06</td>
</tr>
<tr>
<td>$\mathrm{Adapters}_{\mathrm{SM\Lambda LL}}$</td>
<td>$1+8\times0.01$</td>
<td>$0.74\%$</td>
<td>40.12</td>
<td>89.44</td>
<td>85.22/89.29</td>
<td>90.04/86.68</td>
<td>83.93/83.62</td>
<td>81.58</td>
<td>89.11</td>
<td>55.80</td>
<td>79.53</td>
</tr>
<tr>
<td>$T5_{\mathrm{BASE}}$</td>
<td>$8.0\times$</td>
<td>$100\%$</td>
<td>54.85</td>
<td>92.19</td>
<td>88.18/91.61</td>
<td>91.46/88.61</td>
<td>89.55/89.41</td>
<td>86.49</td>
<td>91.60</td>
<td>67.39</td>
<td>84.67</td>
</tr>
<tr>
<td rowspan="2">$\mathrm{Adapters}_{\mathrm{BASE}}$</td>
<td>$1+8\times0.01$</td>
<td>$0.87\%$</td>
<td>59.49</td>
<td>93.46</td>
<td>88.18/91.55</td>
<td>90.94/88.01</td>
<td>87.44/87.18</td>
<td>86.38</td>
<td>92.26</td>
<td>68.84</td>
<td>84.88</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td>$Multi-$</td>
<td>TaskTraining</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>$T5$ $2X$</td>
<td>$1.0\times$</td>
<td>$12.5\%$</td>
<td>50.67</td>
<td>91.39</td>
<td>84.73/88.89</td>
<td>89.53/86.31</td>
<td>88.70/88.27</td>
<td>81.04</td>
<td>89.67</td>
<td>59.42</td>
<td>81.63</td>
</tr>
<tr>
<td>Adapterst SMALL</td>
<td>$1.05\times$</td>
<td>$0.68\%$</td>
<td>39.87</td>
<td>90.01</td>
<td>88.67/91.81</td>
<td>88.51/84.77</td>
<td>88.15/87.89</td>
<td>79.95</td>
<td>89.60</td>
<td>60.14</td>
<td>80.85</td>
</tr>
<tr>
<td>$\mathrm{HyperFormer}_{\mathrm{SMALL}}$</td>
<td>$1.45\times$</td>
<td>$5.80\%$</td>
<td>47.64</td>
<td>91.39</td>
<td>90.15/92.96</td>
<td>88.68/85.08</td>
<td>87.49/86.96</td>
<td>81.24</td>
<td>90.39</td>
<td>65.22</td>
<td>82.47</td>
</tr>
<tr>
<td>$\mathrm{HyperFormer++}_{\mathrm{SMALL}}$</td>
<td>$1.04\times$</td>
<td>$0.50\%$</td>
<td>53.96</td>
<td>90.59</td>
<td>84.24/88.81</td>
<td>88.44/84.46</td>
<td>87.73/87.26</td>
<td>80.69</td>
<td>90.39</td>
<td>71.01</td>
<td>82.51</td>
</tr>
<tr>
<td>$\mathrm{T5}_{\mathrm{BASE}}$</td>
<td>$1.0\times$</td>
<td>$12.5\%$</td>
<td>54.88</td>
<td>92.54</td>
<td>90.15/93.01</td>
<td>91.13/88.07</td>
<td>88.84/88.53</td>
<td>85.66</td>
<td>92.04</td>
<td>75.36</td>
<td>85.47</td>
</tr>
<tr>
<td>$\mathrm{Adapters}^{\dagger}$ $\dagger_{B\Lambda SE}$</td>
<td>$1.07\times$</td>
<td>$0.82\%$</td>
<td>61.53</td>
<td>93.00</td>
<td>90.15/92.91</td>
<td>90.47/87.26</td>
<td>89.86/89.44</td>
<td>86.09</td>
<td>93.17</td>
<td>70.29</td>
<td>85.83</td>
</tr>
<tr>
<td>$\mathrm{HyperFormer}_{\mathrm{BASE}}$</td>
<td>$1.54\times$</td>
<td>$6.86\%$</td>
<td>61.32</td>
<td>93.80</td>
<td>90.64/93.33</td>
<td>90.13/87.18</td>
<td>89.55/89.03</td>
<td>86.33</td>
<td>92.79</td>
<td>78.26</td>
<td>86.58</td>
</tr>
<tr>
<td>$\mathrm{HyperFormer++}_{\mathrm{BASE}}$</td>
<td>$1.02\times$</td>
<td>$0.29\%$</td>
<td>63.73</td>
<td>94.03</td>
<td>89.66/92.63</td>
<td>90.28/87.20</td>
<td>90.00/89.66</td>
<td>85.74</td>
<td>93.02</td>
<td>75.36</td>
<td>86.48</td>
</tr>
</tbody>
</table>
Table 1: Performance of all models on the GLUE tasks. For each method, we report the total number of
parameters across all tasks and the number of parameters that are trained for each task as a multiple and proportion respectively of the corresponding single-task T5 model. For MNLI, we report accuracy on the matched validation set. For MRPC and QQP, we report accuracy and F1. For STS-B, we report Pearson and Spearman correlation coefficients. For CoLA, we report Matthews correlation. For all other tasks, we report accuracy. Adapters¦ refers to our proposed variant of adapters with shared layer normalizations. Our HyperFormer++obtainsa betterscoreon averagecompared tofull fine- tuning and Adapterst, while being more parameter-efficient. 全:Our re-implementation of Raffelet al. $(2020),\bullet:$ Applying method of Houlsby et al. (2019)on T5. Boldfonts indicate the best results in each block.
Baselines: 我们比较强适配器基线 (Houlsby etal.,2019)。在$\boxed{\mathrm{F}}$Houlsbyetal.(2019)之后,我们在T5模型的每个变压器块中的两个前馈模块之后为每个任务添加适配器模块。正如Houlsby etal.(2019)所建议的,我们在T5模型中训练层归一化参数,每个任务。我们将此方法称为适配器。我们还提出了该模型的一个变体 ,其中我们在所有任务中共享所有层归一化参数(T5和适配器)。我们将此模型称为Adapters$\dagger。我们将我$ 们的模型与最先进的T5模型进行比较,在该模型中,我们在所有任务上微调模型的所有参数。在实验中我们将这种方法称为T5$_\mathrm{sMALL}/\mathrm{T5}_\mathrm{BASE}$ Samplingtasks: 在训练过程中,我们使用常规的基于温度的采样对任务进行采样,所有方
的每个1000步骤保存一个检查点(另请参见§A 法的温度均为$T=10$。我们对与$p_{\tau_{N_{\tau}}}^{1/T}$成比例的
不同任务进行采样,其中$p_\tau=\frac{N_{\tau}}{\sum_{i=1}^{T}N_{\tau}}$和$N_\tau$是第$\tau$个任务的训练样本数。我们没有试验更复杂的采样策略(Raffeletal.,2020)或调整$T$
述检测(MRPC,QQP),情感分类(SST-2), 自然语言推理 (MNLI, RTE, QNLI) 和语言可接受性(CoLA)的多个任务。$^2$原始测试集不是公开的,在Zhangetal.(2021)之后,对于少于10K样本的数据集 (RTE、MRPC、STS-B、 CoLA),我们将原始验证集分成两半,使用一半进行验证,另一半进行测试。对于其他较大的数据集,我们从训练集中分割1k个样本作为我们的验证数据,并在原始验证集上进行测试。Experimentaldetails: 我们使用T5模型(Raffel etal.,2020)的HuggingFace实现(Wolfetal.,2020a) 。我们以0.0003的恒定学习速率对所有模型进行微调,并遵循$\overline{\mathrm{E}}$Raffeletal.(2020),我们在所有实验中使用$2^18=262144$步骤。我们为所有模型)。Raffeletal.(2020)根据每个任务的最佳检查点独立报告结果。相比之下,我们专注于更现实的设置,我们在所有任务中报告具有最高平均验证性能的单个检查点上的结果。以相同的方式选择超参数。与以前的工作$\mathbb{E}($Houlsbyetal., 2019)相比,我们不为每个任务学习单独的输出层,而是为所有任务共享一个冻结的输出层, 这使得我们的设置比以前的工作更有效,并且是编码器-解码器模型的多任务学习的优势。$^{3}$
## 3.1 ResultsontheGLUEBenchmark
表1显示了GLUE单任务和多任务训练的结果。我们对所有基于适配器的方法的$r=\{8,16,32\}$ 的缩减因子进行了实验,其中$r=\frac hd$。我们报告了T$5_\mathrm{SMALL}{\boxed{\mathrm{E}}}(6$层和60M参数)和T$5_\mathrm{BASE}{\boxed{\mathrm{E}}}$ 模型(12层和222M参数)的结果
总的来说,我们提出的HyperFormer++获得了超过适配器的强劲收益(82。51对79。53
$^{2}$Following Raffel et al.(2020); Devlin et al.(2019) , as a common practice, due to the adversarial nature of WNLI with respect to the training set, we do not experiment with WNLI.
$^{3}$According to our initial experiments, fne-tuning the final output layer did not improve performance for
adapter-based methods.
|
[
[
0.258544921875,
0.08013916015625,
0.30322265625,
0.08013916015625,
0.30322265625,
0.0914306640625,
0.258544921875,
0.0914306640625
],
[
0.328369140625,
0.0748291015625,
0.385498046875,
0.0748291015625,
0.385498046875,
0.08612060546875,
0.328369140625,
0.08612060546875
],
[
0.124267578125,
0.08489990234375,
0.162841796875,
0.08489990234375,
0.162841796875,
0.097412109375,
0.124267578125,
0.097412109375
],
[
0.3896484375,
0.08489990234375,
0.5263671875,
0.08489990234375,
0.5263671875,
0.0955810546875,
0.3896484375,
0.0955810546875
],
[
0.63623046875,
0.08489990234375,
0.67822265625,
0.08489990234375,
0.67822265625,
0.0968017578125,
0.63623046875,
0.0968017578125
],
[
0.56103515625,
0.08612060546875,
0.59375,
0.08612060546875,
0.59375,
0.097412109375,
0.56103515625,
0.097412109375
],
[
0.328369140625,
0.08612060546875,
0.376220703125,
0.08612060546875,
0.376220703125,
0.097412109375,
0.328369140625,
0.097412109375
],
[
0.7138671875,
0.08612060546875,
0.83642578125,
0.08612060546875,
0.83642578125,
0.0968017578125,
0.7138671875,
0.0968017578125
],
[
0.255126953125,
0.0926513671875,
0.301513671875,
0.0926513671875,
0.301513671875,
0.10394287109375,
0.255126953125,
0.10394287109375
],
[
0.8427734375,
0.0872802734375,
0.87158203125,
0.0872802734375,
0.87158203125,
0.09857177734375,
0.8427734375,
0.09857177734375
],
[
0.32568359375,
0.0955810546875,
0.3720703125,
0.09320068359375,
0.372802734375,
0.10809326171875,
0.32666015625,
0.10986328125
],
[
0.444091796875,
0.10986328125,
0.55908203125,
0.10986328125,
0.55908203125,
0.122314453125,
0.444091796875,
0.122314453125
],
[
0.1234130859375,
0.122314453125,
0.175537109375,
0.1270751953125,
0.173828125,
0.1383056640625,
0.12176513671875,
0.1341552734375
],
[
0.252685546875,
0.122314453125,
0.287109375,
0.12469482421875,
0.285400390625,
0.13720703125,
0.2509765625,
0.1353759765625
],
[
0.328369140625,
0.122314453125,
0.36279296875,
0.12469482421875,
0.361083984375,
0.135986328125,
0.32666015625,
0.1341552734375
],
[
0.391357421875,
0.122314453125,
0.42822265625,
0.12469482421875,
0.426513671875,
0.13720703125,
0.3896484375,
0.1353759765625
],
[
0.486083984375,
0.12353515625,
0.55322265625,
0.12353515625,
0.55322265625,
0.1353759765625,
0.486083984375,
0.1353759765625
],
[
0.75732421875,
0.12353515625,
0.791015625,
0.12353515625,
0.791015625,
0.1353759765625,
0.75732421875,
0.1353759765625
],
[
0.8037109375,
0.12353515625,
0.87890625,
0.12353515625,
0.87890625,
0.1353759765625,
0.8037109375,
0.1353759765625
],
[
0.56103515625,
0.12469482421875,
0.62890625,
0.12469482421875,
0.62890625,
0.1353759765625,
0.56103515625,
0.1353759765625
],
[
0.4375,
0.12469482421875,
0.474365234375,
0.12469482421875,
0.474365234375,
0.135986328125,
0.4375,
0.135986328125
],
[
0.63623046875,
0.12469482421875,
0.70361328125,
0.12469482421875,
0.70361328125,
0.135986328125,
0.63623046875,
0.135986328125
],
[
0.70361328125,
0.12469482421875,
0.74658203125,
0.12469482421875,
0.74658203125,
0.1353759765625,
0.70361328125,
0.1353759765625
],
[
0.32666015625,
0.1341552734375,
0.366943359375,
0.135986328125,
0.365234375,
0.1484375,
0.32568359375,
0.146728515625
],
[
0.7080078125,
0.133056640625,
0.74658203125,
0.1353759765625,
0.74462890625,
0.1478271484375,
0.7060546875,
0.1455078125
],
[
0.80029296875,
0.1341552734375,
0.8818359375,
0.1341552734375,
0.8818359375,
0.1484375,
0.80029296875,
0.1484375
],
[
0.39208984375,
0.1353759765625,
0.429931640625,
0.1353759765625,
0.429931640625,
0.1478271484375,
0.39208984375,
0.1478271484375
],
[
0.255126953125,
0.1353759765625,
0.32080078125,
0.1353759765625,
0.32080078125,
0.146728515625,
0.255126953125,
0.146728515625
],
[
0.75732421875,
0.1353759765625,
0.79248046875,
0.1353759765625,
0.79248046875,
0.1478271484375,
0.75732421875,
0.1478271484375
],
[
0.4375,
0.135986328125,
0.474365234375,
0.135986328125,
0.474365234375,
0.1478271484375,
0.4375,
0.1478271484375
],
[
0.1259765625,
0.135986328125,
0.21240234375,
0.135986328125,
0.21240234375,
0.1478271484375,
0.1259765625,
0.1478271484375
],
[
0.484375,
0.135986328125,
0.55322265625,
0.135986328125,
0.55322265625,
0.146728515625,
0.484375,
0.146728515625
],
[
0.56103515625,
0.135986328125,
0.62744140625,
0.135986328125,
0.62744140625,
0.1478271484375,
0.56103515625,
0.1478271484375
],
[
0.63818359375,
0.135986328125,
0.705078125,
0.135986328125,
0.705078125,
0.1478271484375,
0.63818359375,
0.1478271484375
],
[
0.1259765625,
0.1484375,
0.16796875,
0.1519775390625,
0.166259765625,
0.1644287109375,
0.124267578125,
0.160888671875
],
[
0.255126953125,
0.15087890625,
0.287109375,
0.15087890625,
0.287109375,
0.163330078125,
0.255126953125,
0.163330078125
],
[
0.328369140625,
0.149658203125,
0.36279296875,
0.149658203125,
0.36279296875,
0.162109375,
0.328369140625,
0.162109375
],
[
0.39208984375,
0.15087890625,
0.42822265625,
0.15087890625,
0.42822265625,
0.162109375,
0.39208984375,
0.162109375
],
[
0.4375,
0.15087890625,
0.47265625,
0.15087890625,
0.47265625,
0.162109375,
0.4375,
0.162109375
],
[
0.486083984375,
0.15087890625,
0.5517578125,
0.15087890625,
0.5517578125,
0.162109375,
0.486083984375,
0.162109375
],
[
0.56103515625,
0.15087890625,
0.62451171875,
0.15087890625,
0.62451171875,
0.162109375,
0.56103515625,
0.162109375
],
[
0.63818359375,
0.15087890625,
0.70361328125,
0.15087890625,
0.70361328125,
0.162109375,
0.63818359375,
0.162109375
],
[
0.7109375,
0.15087890625,
0.74658203125,
0.15087890625,
0.74658203125,
0.162109375,
0.7109375,
0.162109375
],
[
0.75732421875,
0.15087890625,
0.79248046875,
0.15087890625,
0.79248046875,
0.162109375,
0.75732421875,
0.162109375
],
[
0.8017578125,
0.15087890625,
0.8447265625,
0.15087890625,
0.8447265625,
0.162109375,
0.8017578125,
0.162109375
],
[
0.84228515625,
0.15087890625,
0.87890625,
0.15087890625,
0.87890625,
0.162109375,
0.84228515625,
0.162109375
],
[
0.25439453125,
0.1602783203125,
0.31982421875,
0.1602783203125,
0.31982421875,
0.174560546875,
0.25439453125,
0.174560546875
],
[
0.391357421875,
0.1602783203125,
0.42822265625,
0.162109375,
0.426513671875,
0.17333984375,
0.3896484375,
0.171630859375
],
[
0.32568359375,
0.162109375,
0.366943359375,
0.162109375,
0.366943359375,
0.17333984375,
0.32568359375,
0.17333984375
],
[
0.1259765625,
0.162109375,
0.20654296875,
0.162109375,
0.20654296875,
0.17333984375,
0.1259765625,
0.17333984375
],
[
0.438232421875,
0.162109375,
0.47265625,
0.162109375,
0.47265625,
0.17333984375,
0.438232421875,
0.17333984375
],
[
0.484375,
0.162109375,
0.55322265625,
0.162109375,
0.55322265625,
0.1728515625,
0.484375,
0.1728515625
],
[
0.56103515625,
0.162109375,
0.62646484375,
0.162109375,
0.62646484375,
0.17333984375,
0.56103515625,
0.17333984375
],
[
0.63818359375,
0.162109375,
0.70361328125,
0.162109375,
0.70361328125,
0.17333984375,
0.63818359375,
0.17333984375
],
[
0.7060546875,
0.162109375,
0.74462890625,
0.162109375,
0.74462890625,
0.17333984375,
0.7060546875,
0.17333984375
],
[
0.75732421875,
0.162109375,
0.79248046875,
0.162109375,
0.79248046875,
0.17333984375,
0.75732421875,
0.17333984375
],
[
0.8037109375,
0.162109375,
0.87890625,
0.162109375,
0.87890625,
0.17333984375,
0.8037109375,
0.17333984375
],
[
0.444091796875,
0.17333984375,
0.5556640625,
0.17578125,
0.5556640625,
0.190673828125,
0.444091796875,
0.188232421875
],
[
0.124267578125,
0.1923828125,
0.1822509765625,
0.1923828125,
0.1822509765625,
0.2037353515625,
0.124267578125,
0.2037353515625
],
[
0.25439453125,
0.1923828125,
0.287109375,
0.1923828125,
0.287109375,
0.2037353515625,
0.25439453125,
0.2037353515625
],
[
0.328369140625,
0.1923828125,
0.364501953125,
0.1923828125,
0.364501953125,
0.2037353515625,
0.328369140625,
0.2037353515625
],
[
0.39208984375,
0.1923828125,
0.426513671875,
0.1923828125,
0.426513671875,
0.2037353515625,
0.39208984375,
0.2037353515625
],
[
0.486083984375,
0.1923828125,
0.55322265625,
0.1923828125,
0.55322265625,
0.203125,
0.486083984375,
0.203125
],
[
0.56103515625,
0.1923828125,
0.62646484375,
0.1923828125,
0.62646484375,
0.203125,
0.56103515625,
0.203125
],
[
0.63818359375,
0.1923828125,
0.70361328125,
0.1923828125,
0.70361328125,
0.203125,
0.63818359375,
0.203125
],
[
0.8037109375,
0.1923828125,
0.87890625,
0.1923828125,
0.87890625,
0.203125,
0.8037109375,
0.203125
],
[
0.70947265625,
0.193603515625,
0.744140625,
0.193603515625,
0.744140625,
0.201904296875,
0.70947265625,
0.201904296875
],
[
0.43994140625,
0.193603515625,
0.470947265625,
0.193603515625,
0.470947265625,
0.201904296875,
0.43994140625,
0.201904296875
],
[
0.759765625,
0.193603515625,
0.7900390625,
0.193603515625,
0.7900390625,
0.201904296875,
0.759765625,
0.201904296875
],
[
0.124267578125,
0.203125,
0.210693359375,
0.2037353515625,
0.210693359375,
0.215576171875,
0.124267578125,
0.21435546875
],
[
0.255126953125,
0.203125,
0.29296875,
0.203125,
0.29296875,
0.21435546875,
0.255126953125,
0.21435546875
],
[
0.32666015625,
0.203125,
0.364501953125,
0.203125,
0.364501953125,
0.21435546875,
0.32666015625,
0.21435546875
],
[
0.39208984375,
0.203125,
0.42822265625,
0.203125,
0.42822265625,
0.21435546875,
0.39208984375,
0.21435546875
],
[
0.4375,
0.203125,
0.47265625,
0.203125,
0.47265625,
0.21435546875,
0.4375,
0.21435546875
],
[
0.7109375,
0.203125,
0.74658203125,
0.203125,
0.74658203125,
0.21435546875,
0.7109375,
0.21435546875
],
[
0.75732421875,
0.203125,
0.79248046875,
0.203125,
0.79248046875,
0.21435546875,
0.75732421875,
0.21435546875
],
[
0.8037109375,
0.203125,
0.8388671875,
0.203125,
0.8388671875,
0.21435546875,
0.8037109375,
0.21435546875
],
[
0.8427734375,
0.203125,
0.87890625,
0.203125,
0.87890625,
0.21435546875,
0.8427734375,
0.21435546875
],
[
0.56103515625,
0.2037353515625,
0.62744140625,
0.2037353515625,
0.62744140625,
0.21435546875,
0.56103515625,
0.21435546875
],
[
0.484375,
0.2037353515625,
0.5517578125,
0.2037353515625,
0.5517578125,
0.21435546875,
0.484375,
0.21435546875
],
[
0.63818359375,
0.2037353515625,
0.70361328125,
0.2037353515625,
0.70361328125,
0.21435546875,
0.63818359375,
0.21435546875
],
[
0.2568359375,
0.213134765625,
0.29296875,
0.213134765625,
0.29296875,
0.2257080078125,
0.2568359375,
0.2257080078125
],
[
0.32666015625,
0.213134765625,
0.365234375,
0.213134765625,
0.365234375,
0.2257080078125,
0.32666015625,
0.2257080078125
],
[
0.39208984375,
0.213134765625,
0.429931640625,
0.213134765625,
0.429931640625,
0.2257080078125,
0.39208984375,
0.2257080078125
],
[
0.75830078125,
0.2120361328125,
0.79443359375,
0.21435546875,
0.79248046875,
0.2257080078125,
0.75732421875,
0.223876953125
],
[
0.4375,
0.21435546875,
0.474365234375,
0.21435546875,
0.474365234375,
0.2257080078125,
0.4375,
0.2257080078125
],
[
0.124267578125,
0.21435546875,
0.2283935546875,
0.21435546875,
0.2283935546875,
0.2257080078125,
0.124267578125,
0.2257080078125
],
[
0.484375,
0.21435546875,
0.55517578125,
0.21435546875,
0.55517578125,
0.2244873046875,
0.484375,
0.2244873046875
],
[
0.56103515625,
0.21435546875,
0.62890625,
0.21435546875,
0.62890625,
0.2257080078125,
0.56103515625,
0.2257080078125
],
[
0.63818359375,
0.21435546875,
0.705078125,
0.21435546875,
0.705078125,
0.2257080078125,
0.63818359375,
0.2257080078125
],
[
0.7060546875,
0.21435546875,
0.74658203125,
0.21435546875,
0.74658203125,
0.2257080078125,
0.7060546875,
0.2257080078125
],
[
0.8017578125,
0.21435546875,
0.84033203125,
0.21435546875,
0.84033203125,
0.2257080078125,
0.8017578125,
0.2257080078125
],
[
0.8427734375,
0.21435546875,
0.87890625,
0.21435546875,
0.87890625,
0.2257080078125,
0.8427734375,
0.2257080078125
],
[
0.1234130859375,
0.223876953125,
0.2509765625,
0.223876953125,
0.2509765625,
0.2369384765625,
0.1234130859375,
0.2369384765625
],
[
0.255126953125,
0.2244873046875,
0.291259765625,
0.2244873046875,
0.291259765625,
0.236328125,
0.255126953125,
0.236328125
],
[
0.32666015625,
0.2244873046875,
0.366943359375,
0.2244873046875,
0.366943359375,
0.236328125,
0.32666015625,
0.236328125
],
[
0.391357421875,
0.2244873046875,
0.42822265625,
0.2244873046875,
0.42822265625,
0.236328125,
0.391357421875,
0.236328125
],
[
0.4375,
0.2244873046875,
0.47265625,
0.2244873046875,
0.47265625,
0.236328125,
0.4375,
0.236328125
],
[
0.484375,
0.2244873046875,
0.5517578125,
0.2244873046875,
0.5517578125,
0.236328125,
0.484375,
0.236328125
],
[
0.56103515625,
0.2244873046875,
0.62744140625,
0.2244873046875,
0.62744140625,
0.235107421875,
0.56103515625,
0.235107421875
],
[
0.63623046875,
0.2244873046875,
0.70361328125,
0.2244873046875,
0.70361328125,
0.236328125,
0.63623046875,
0.236328125
],
[
0.7080078125,
0.2244873046875,
0.74658203125,
0.2244873046875,
0.74658203125,
0.236328125,
0.7080078125,
0.236328125
],
[
0.75732421875,
0.2244873046875,
0.79248046875,
0.2244873046875,
0.79248046875,
0.236328125,
0.75732421875,
0.236328125
],
[
0.8017578125,
0.2244873046875,
0.84228515625,
0.2244873046875,
0.84228515625,
0.236328125,
0.8017578125,
0.236328125
],
[
0.84228515625,
0.2244873046875,
0.87744140625,
0.2244873046875,
0.87744140625,
0.236328125,
0.84228515625,
0.236328125
],
[
0.124267578125,
0.2392578125,
0.175537109375,
0.2392578125,
0.175537109375,
0.25048828125,
0.124267578125,
0.25048828125
],
[
0.255126953125,
0.2392578125,
0.2880859375,
0.2392578125,
0.2880859375,
0.251708984375,
0.255126953125,
0.251708984375
],
[
0.328369140625,
0.2392578125,
0.364501953125,
0.2392578125,
0.364501953125,
0.25048828125,
0.328369140625,
0.25048828125
],
[
0.391357421875,
0.2392578125,
0.429931640625,
0.2392578125,
0.429931640625,
0.25048828125,
0.391357421875,
0.25048828125
],
[
0.4375,
0.2392578125,
0.47265625,
0.2392578125,
0.47265625,
0.25048828125,
0.4375,
0.25048828125
],
[
0.484375,
0.2392578125,
0.5517578125,
0.2392578125,
0.5517578125,
0.2493896484375,
0.484375,
0.2493896484375
],
[
0.56103515625,
0.2392578125,
0.62744140625,
0.2392578125,
0.62744140625,
0.25048828125,
0.56103515625,
0.25048828125
],
[
0.63818359375,
0.2392578125,
0.705078125,
0.2392578125,
0.705078125,
0.25048828125,
0.63818359375,
0.25048828125
],
[
0.70361328125,
0.2392578125,
0.74658203125,
0.2392578125,
0.74658203125,
0.25048828125,
0.70361328125,
0.25048828125
],
[
0.75830078125,
0.2392578125,
0.79248046875,
0.2392578125,
0.79248046875,
0.25048828125,
0.75830078125,
0.25048828125
],
[
0.8037109375,
0.2392578125,
0.87890625,
0.2392578125,
0.87890625,
0.25048828125,
0.8037109375,
0.25048828125
],
[
0.4375,
0.248779296875,
0.47265625,
0.25048828125,
0.470947265625,
0.262451171875,
0.435791015625,
0.260009765625
],
[
0.63623046875,
0.248779296875,
0.705078125,
0.25048828125,
0.705078125,
0.262451171875,
0.63623046875,
0.260009765625
],
[
0.2568359375,
0.2493896484375,
0.29296875,
0.2493896484375,
0.29296875,
0.262451171875,
0.2568359375,
0.262451171875
],
[
0.124267578125,
0.2493896484375,
0.204833984375,
0.251708984375,
0.204833984375,
0.26318359375,
0.124267578125,
0.26123046875
],
[
0.32666015625,
0.2493896484375,
0.364501953125,
0.2493896484375,
0.364501953125,
0.262451171875,
0.32666015625,
0.262451171875
],
[
0.39208984375,
0.2493896484375,
0.42822265625,
0.2493896484375,
0.42822265625,
0.262451171875,
0.39208984375,
0.262451171875
],
[
0.8037109375,
0.2493896484375,
0.84814453125,
0.2493896484375,
0.84814453125,
0.26123046875,
0.8037109375,
0.26123046875
],
[
0.8427734375,
0.2493896484375,
0.87890625,
0.2493896484375,
0.87890625,
0.262451171875,
0.8427734375,
0.262451171875
],
[
0.55908203125,
0.25048828125,
0.62744140625,
0.25048828125,
0.62744140625,
0.26123046875,
0.55908203125,
0.26123046875
],
[
0.484375,
0.25048828125,
0.5517578125,
0.25048828125,
0.5517578125,
0.26123046875,
0.484375,
0.26123046875
],
[
0.7109375,
0.25048828125,
0.74658203125,
0.25048828125,
0.74658203125,
0.262451171875,
0.7109375,
0.262451171875
],
[
0.75830078125,
0.25048828125,
0.79248046875,
0.25048828125,
0.79248046875,
0.262451171875,
0.75830078125,
0.262451171875
],
[
0.124267578125,
0.260009765625,
0.2225341796875,
0.262451171875,
0.2225341796875,
0.273681640625,
0.124267578125,
0.271484375
],
[
0.2568359375,
0.26123046875,
0.29296875,
0.26123046875,
0.29296875,
0.2724609375,
0.2568359375,
0.2724609375
],
[
0.32666015625,
0.26123046875,
0.365234375,
0.26123046875,
0.365234375,
0.2724609375,
0.32666015625,
0.2724609375
],
[
0.391357421875,
0.26123046875,
0.429931640625,
0.26123046875,
0.429931640625,
0.2724609375,
0.391357421875,
0.2724609375
],
[
0.4375,
0.26123046875,
0.474365234375,
0.26123046875,
0.474365234375,
0.2724609375,
0.4375,
0.2724609375
],
[
0.55908203125,
0.260009765625,
0.62890625,
0.262451171875,
0.62890625,
0.273681640625,
0.55908203125,
0.271484375
],
[
0.63818359375,
0.26123046875,
0.7060546875,
0.26123046875,
0.7060546875,
0.2724609375,
0.63818359375,
0.2724609375
],
[
0.7109375,
0.26123046875,
0.748046875,
0.26123046875,
0.748046875,
0.2724609375,
0.7109375,
0.2724609375
],
[
0.75830078125,
0.26123046875,
0.79248046875,
0.26123046875,
0.79248046875,
0.2724609375,
0.75830078125,
0.2724609375
],
[
0.8037109375,
0.26123046875,
0.87890625,
0.26123046875,
0.87890625,
0.2724609375,
0.8037109375,
0.2724609375
],
[
0.12176513671875,
0.271484375,
0.2435302734375,
0.271484375,
0.2435302734375,
0.28515625,
0.12176513671875,
0.28515625
],
[
0.484375,
0.262451171875,
0.55517578125,
0.262451171875,
0.55517578125,
0.2724609375,
0.484375,
0.2724609375
],
[
0.255126953125,
0.2724609375,
0.291259765625,
0.2724609375,
0.291259765625,
0.283935546875,
0.255126953125,
0.283935546875
],
[
0.32666015625,
0.271484375,
0.36865234375,
0.271484375,
0.36865234375,
0.28515625,
0.32666015625,
0.28515625
],
[
0.39208984375,
0.2724609375,
0.42822265625,
0.2724609375,
0.42822265625,
0.283935546875,
0.39208984375,
0.283935546875
],
[
0.4375,
0.2724609375,
0.47265625,
0.2724609375,
0.47265625,
0.283935546875,
0.4375,
0.283935546875
],
[
0.484375,
0.2724609375,
0.55517578125,
0.2724609375,
0.55517578125,
0.283935546875,
0.484375,
0.283935546875
],
[
0.55908203125,
0.2724609375,
0.62744140625,
0.2724609375,
0.62744140625,
0.283935546875,
0.55908203125,
0.283935546875
],
[
0.63623046875,
0.2724609375,
0.7060546875,
0.2724609375,
0.7060546875,
0.283935546875,
0.63623046875,
0.283935546875
],
[
0.7021484375,
0.2724609375,
0.74658203125,
0.2724609375,
0.74658203125,
0.283935546875,
0.7021484375,
0.283935546875
],
[
0.759765625,
0.273681640625,
0.79248046875,
0.273681640625,
0.79248046875,
0.281982421875,
0.759765625,
0.281982421875
],
[
0.8037109375,
0.2724609375,
0.87890625,
0.2724609375,
0.87890625,
0.283935546875,
0.8037109375,
0.283935546875
],
[
0.12005615234375,
0.29345703125,
0.88330078125,
0.29345703125,
0.88330078125,
0.303955078125,
0.12005615234375,
0.303955078125
],
[
0.1175537109375,
0.30712890625,
0.884765625,
0.305908203125,
0.884765625,
0.319580078125,
0.1175537109375,
0.320556640625
],
[
0.1175537109375,
0.320556640625,
0.88330078125,
0.319580078125,
0.88330078125,
0.334228515625,
0.1175537109375,
0.3349609375
],
[
0.118408203125,
0.334228515625,
0.88330078125,
0.334228515625,
0.88330078125,
0.347412109375,
0.118408203125,
0.347412109375
],
[
0.118408203125,
0.3486328125,
0.88330078125,
0.3486328125,
0.88330078125,
0.3623046875,
0.118408203125,
0.3623046875
],
[
0.118408203125,
0.363525390625,
0.884765625,
0.363525390625,
0.884765625,
0.377685546875,
0.118408203125,
0.377685546875
],
[
0.118408203125,
0.377197265625,
0.88330078125,
0.377197265625,
0.88330078125,
0.39013671875,
0.118408203125,
0.39013671875
],
[
0.118408203125,
0.39013671875,
0.880859375,
0.39013671875,
0.880859375,
0.40380859375,
0.118408203125,
0.40380859375
],
[
0.12176513671875,
0.40673828125,
0.5498046875,
0.40673828125,
0.5498046875,
0.41748046875,
0.12176513671875,
0.41748046875
],
[
0.12005615234375,
0.432861328125,
0.490234375,
0.432861328125,
0.490234375,
0.446533203125,
0.12005615234375,
0.446533203125
],
[
0.515625,
0.432861328125,
0.8818359375,
0.432861328125,
0.8818359375,
0.446533203125,
0.515625,
0.446533203125
],
[
0.12176513671875,
0.448974609375,
0.489501953125,
0.448974609375,
0.489501953125,
0.463134765625,
0.12176513671875,
0.463134765625
],
[
0.51123046875,
0.448974609375,
0.880859375,
0.448974609375,
0.880859375,
0.463134765625,
0.51123046875,
0.463134765625
],
[
0.118408203125,
0.46435546875,
0.48779296875,
0.465576171875,
0.48779296875,
0.479736328125,
0.118408203125,
0.478515625
],
[
0.5146484375,
0.465576171875,
0.8818359375,
0.465576171875,
0.8818359375,
0.478515625,
0.5146484375,
0.478515625
],
[
0.12176513671875,
0.482177734375,
0.489501953125,
0.482177734375,
0.489501953125,
0.495361328125,
0.12176513671875,
0.495361328125
],
[
0.51123046875,
0.482177734375,
0.880859375,
0.482177734375,
0.880859375,
0.495361328125,
0.51123046875,
0.495361328125
],
[
0.118408203125,
0.49755859375,
0.489501953125,
0.49755859375,
0.489501953125,
0.51123046875,
0.118408203125,
0.51123046875
],
[
0.51123046875,
0.49755859375,
0.880859375,
0.49755859375,
0.880859375,
0.51123046875,
0.51123046875,
0.51123046875
],
[
0.118408203125,
0.5126953125,
0.491943359375,
0.51318359375,
0.491943359375,
0.52783203125,
0.118408203125,
0.52685546875
],
[
0.51708984375,
0.51416015625,
0.88330078125,
0.51416015625,
0.88330078125,
0.52783203125,
0.51708984375,
0.52783203125
],
[
0.12176513671875,
0.52978515625,
0.489501953125,
0.52978515625,
0.489501953125,
0.54345703125,
0.12176513671875,
0.54345703125
],
[
0.5146484375,
0.529296875,
0.880859375,
0.529296875,
0.880859375,
0.5419921875,
0.5146484375,
0.5419921875
],
[
0.118408203125,
0.54443359375,
0.489501953125,
0.5458984375,
0.489501953125,
0.56005859375,
0.118408203125,
0.55859375
],
[
0.5146484375,
0.5458984375,
0.8818359375,
0.5458984375,
0.8818359375,
0.55859375,
0.5146484375,
0.55859375
],
[
0.118408203125,
0.56103515625,
0.48779296875,
0.56103515625,
0.48779296875,
0.57470703125,
0.118408203125,
0.57470703125
],
[
0.515625,
0.5625,
0.8818359375,
0.5625,
0.8818359375,
0.576171875,
0.515625,
0.576171875
],
[
0.515625,
0.57763671875,
0.8818359375,
0.57763671875,
0.8818359375,
0.59130859375,
0.515625,
0.59130859375
],
[
0.118408203125,
0.5859375,
0.489501953125,
0.5849609375,
0.489501953125,
0.599609375,
0.118408203125,
0.60107421875
],
[
0.515625,
0.59326171875,
0.8818359375,
0.59326171875,
0.8818359375,
0.60791015625,
0.515625,
0.60791015625
],
[
0.1175537109375,
0.6015625,
0.484375,
0.6015625,
0.484375,
0.615234375,
0.1175537109375,
0.615234375
],
[
0.51123046875,
0.60498046875,
0.88671875,
0.60791015625,
0.88671875,
0.62890625,
0.51123046875,
0.6259765625
],
[
0.1368408203125,
0.6181640625,
0.48779296875,
0.6181640625,
0.48779296875,
0.6318359375,
0.1368408203125,
0.6318359375
],
[
0.118408203125,
0.63427734375,
0.486083984375,
0.63427734375,
0.486083984375,
0.64794921875,
0.118408203125,
0.64794921875
],
[
0.5146484375,
0.63525390625,
0.8818359375,
0.6357421875,
0.8818359375,
0.65087890625,
0.5146484375,
0.6494140625
],
[
0.12005615234375,
0.65087890625,
0.48779296875,
0.65087890625,
0.48779296875,
0.66455078125,
0.12005615234375,
0.66455078125
],
[
0.515625,
0.65283203125,
0.8818359375,
0.65283203125,
0.8818359375,
0.66650390625,
0.515625,
0.66650390625
],
[
0.12005615234375,
0.66748046875,
0.48779296875,
0.66748046875,
0.48779296875,
0.68115234375,
0.12005615234375,
0.68115234375
],
[
0.515625,
0.67041015625,
0.7958984375,
0.67041015625,
0.7958984375,
0.68408203125,
0.515625,
0.68408203125
],
[
0.7841796875,
0.6650390625,
0.88330078125,
0.66943359375,
0.8818359375,
0.68701171875,
0.78271484375,
0.68310546875
],
[
0.51123046875,
0.6796875,
0.7841796875,
0.68505859375,
0.7841796875,
0.7060546875,
0.51123046875,
0.70068359375
],
[
0.77734375,
0.68310546875,
0.8818359375,
0.68603515625,
0.8818359375,
0.70068359375,
0.77734375,
0.69775390625
],
[
0.765625,
0.69775390625,
0.81689453125,
0.69140625,
0.8193359375,
0.703125,
0.76904296875,
0.708984375
],
[
0.12176513671875,
0.68408203125,
0.48779296875,
0.68408203125,
0.48779296875,
0.69775390625,
0.12176513671875,
0.69775390625
],
[
0.12005615234375,
0.69873046875,
0.486083984375,
0.69873046875,
0.486083984375,
0.7119140625,
0.12005615234375,
0.7119140625
],
[
0.51318359375,
0.7060546875,
0.880859375,
0.7060546875,
0.880859375,
0.72021484375,
0.51318359375,
0.72021484375
],
[
0.118408203125,
0.71533203125,
0.48779296875,
0.71435546875,
0.48779296875,
0.728515625,
0.118408203125,
0.72998046875
],
[
0.5146484375,
0.7236328125,
0.83447265625,
0.7236328125,
0.83447265625,
0.73681640625,
0.5146484375,
0.73681640625
],
[
0.12005615234375,
0.732421875,
0.486083984375,
0.732421875,
0.486083984375,
0.7451171875,
0.12005615234375,
0.7451171875
],
[
0.118408203125,
0.74658203125,
0.489501953125,
0.74755859375,
0.489501953125,
0.7626953125,
0.118408203125,
0.76123046875
],
[
0.51318359375,
0.751953125,
0.80615234375,
0.751953125,
0.80615234375,
0.765625,
0.51318359375,
0.765625
],
[
0.118408203125,
0.76318359375,
0.486083984375,
0.76318359375,
0.486083984375,
0.77685546875,
0.118408203125,
0.77685546875
],
[
0.51318359375,
0.7724609375,
0.8818359375,
0.7724609375,
0.8818359375,
0.7861328125,
0.51318359375,
0.7861328125
],
[
0.118408203125,
0.779296875,
0.489501953125,
0.779296875,
0.489501953125,
0.7919921875,
0.118408203125,
0.7919921875
],
[
0.118408203125,
0.79443359375,
0.486083984375,
0.7958984375,
0.486083984375,
0.81005859375,
0.118408203125,
0.80859375
],
[
0.5146484375,
0.79052734375,
0.880859375,
0.79052734375,
0.880859375,
0.80419921875,
0.5146484375,
0.80419921875
],
[
0.1175537109375,
0.81005859375,
0.486083984375,
0.80810546875,
0.486083984375,
0.826171875,
0.1175537109375,
0.82763671875
],
[
0.515625,
0.8056640625,
0.8818359375,
0.8056640625,
0.8818359375,
0.82080078125,
0.515625,
0.82080078125
],
[
0.51318359375,
0.82080078125,
0.88330078125,
0.8193359375,
0.88330078125,
0.83740234375,
0.51318359375,
0.83837890625
],
[
0.1376953125,
0.8349609375,
0.48779296875,
0.8349609375,
0.48779296875,
0.849609375,
0.1376953125,
0.849609375
],
[
0.5146484375,
0.83837890625,
0.78271484375,
0.83837890625,
0.78271484375,
0.8515625,
0.5146484375,
0.8515625
],
[
0.1234130859375,
0.84716796875,
0.48779296875,
0.84716796875,
0.48779296875,
0.86083984375,
0.1234130859375,
0.86083984375
],
[
0.1175537109375,
0.85791015625,
0.489501953125,
0.859375,
0.489501953125,
0.87353515625,
0.1175537109375,
0.87255859375
],
[
0.5341796875,
0.85498046875,
0.88330078125,
0.85498046875,
0.88330078125,
0.8681640625,
0.5341796875,
0.8681640625
],
[
0.118408203125,
0.87158203125,
0.280517578125,
0.87060546875,
0.280517578125,
0.8818359375,
0.118408203125,
0.8828125
],
[
0.515625,
0.87255859375,
0.8818359375,
0.87255859375,
0.8818359375,
0.8828125,
0.515625,
0.8828125
],
[
0.1376953125,
0.8818359375,
0.48779296875,
0.88427734375,
0.48779296875,
0.8984375,
0.1376953125,
0.896484375
],
[
0.118408203125,
0.896484375,
0.489501953125,
0.896484375,
0.489501953125,
0.91015625,
0.118408203125,
0.91015625
],
[
0.51318359375,
0.8955078125,
0.67529296875,
0.8955078125,
0.67529296875,
0.9091796875,
0.51318359375,
0.9091796875
]
] |
[
"#Total",
"#Trained",
"Model",
"CoLA SST-2MRPC",
"STS-B",
"QQP",
"params/",
"MNLI QNLI RTE",
"params",
"Avg",
"pertask",
"Single-TaskTraining",
"T5MALL",
"8.0×",
"100%",
"46.81",
"86.21/90.67",
"90.21",
"59.4282.06",
"91.02/87.96",
"90.47",
"89.11/88.70",
"82.09",
"0.74%",
"81.58",
"55.8079.53",
"40.12",
"1+8×0.01",
"89.11",
"89.44",
"AdapterssMALL:",
"85.22/89.29",
"90.04/86.68",
"83.93/83.62",
"T5BASE",
"8.0x",
"100%",
"54.85",
"92.19",
"88.18/91.61",
"91.46/88.61",
"89.55/89.41",
"86.49",
"91.60",
"67.39",
"84.67",
"1+8×0.01",
"59.49",
"0.87%",
"AdaptersBAse:",
"93.46",
"88.18/91.55",
"90.94/88.01",
"87.44/87.18",
"86.38",
"92.26",
"68.8484.88",
"Multi-TaskTraining",
"T5sMALL?",
"1.0x",
"12.5%",
"50.67",
"84.73/88.89",
"89.53/86.31",
"88.70/88.27",
"59.4281.69",
"81.04",
"91.39",
"89.67",
"AdapterstsMALL",
"1.05x",
"0.68%",
"39.87",
"90.01",
"79.95",
"89.60",
"60.14",
"80.85",
"88.51/84.77",
"88.67/91.81",
"88.15/87.89",
"1.45x",
"5.80%",
"47.64",
"90.39",
"91.39",
"HyperFormersMALL",
"90.15/92.96",
"88.68/85.08",
"87.49/86.96",
"81.24",
"65.22",
"82.47",
"HyperFormer++sMALL",
"1.04×",
"0.50%",
"53.96",
"90.59",
"84.24/88.81",
"88.44/84.46",
"87.73/87.26",
"80.69",
"90.39",
"71.01",
"82.51",
"T5BASE?",
"1.0x",
"12.5%",
"54.88",
"92.54",
"90.15/93.01",
"91.13/88.07",
"88.84/88.53",
"85.66",
"92.04",
"75.3685.47",
"93.00",
"89.86/89.44",
"1.07x",
"AdapterstBASE",
"0.82%",
"61.53",
"70.29",
"85.83",
"90.47/87.26",
"90.15/92.91",
"86.09",
"93.17",
"HyperFormerBASE",
"1.54x",
"6.86%",
"61.32",
"93.80",
"90.13/87.18",
"89.55/89.03",
"86.33",
"92.79",
"78.2686.58",
"HyperFormer++BAsE",
"90.64/93.33",
"1.02x",
"0.29%",
"63.73",
"94.03",
"89.66/92.63",
"90.28/87.20",
"90.00/89.66",
"85.74",
"93.02",
"75.3686.48",
"Table l: Performance of all models on the GLUE tasks.For each method, wereport thetotal number of",
"parameters across all tasks and the number of parameters that are trained for each task as a multiple and",
"proportion respectively of the corresponding single-task T5 model. For MNLI, we report accuracy on the",
"matched validation set. For MRPC and QQP, we report accuracy and F1. For STS-B, we report Pearson",
"and Spearman correlation coeficients. For CoLA, we report Matthews correlation. For all other tasks, we",
"report accuracy. Adapterst refers to our proposed variant of adapters with shared layer normalizations. Our",
"HyperFormer++obtainsabetterscoreonaveragecomparedtofullfine-tuningandAdapterstwhilebeingmore",
"parameter-efficient. : Our re-implementation of Raffel et al. (2020),: : Applying method of Houlsby et al.",
"(2019)onT5.Boldfontsindicatethebestresultsineachblock.",
"述检测(MRPC,QQP),情感分类(SST-2),",
"Baselines:我们比较强适配器基线(Houlsby",
"自然语言推理(MNLI,RTE,QNLI)和语言",
"etal.,2019)。在EHoulsbyetal.(2019)之后,我们",
"可接受性(CoLA)的多个任务。2原始测试集",
"在T5模型的每个变压器块中的两个前馈模块",
"不是公开的,在Zhangetal.(2021)之后,对于少",
"之后为每个任务添加适配器模块。正如Houlsby",
"于10K样本的数据集(RTE、MRPC、STS-B、",
"etal.(2019)所建议的,我们在T5模型中训练层归",
"CoLA),我们将原始验证集分成两半,使用一",
"一化参数,每个任务。我们将此方法称为适配",
"半进行验证,另一半进行测试。对于其他较大",
"器。我们还提出了该模型的一个变体,其中我们",
"的数据集,我们从训练集中分割1k个样本作为",
"在所有任务中共享所有层归一化参数(T5和适",
"我们的验证数据,并在原始验证集上进行测试。",
"配器)。我们将此模型称为Adapterst。我们将我",
"们的模型与最先进的T5模型进行比较,在该模",
"Experimentaldetails:我们使用T5模型(Raffel",
"型中,我们在所有任务上微调模型的所有参数。",
"etal.2020)的HuggingFace实现(Wolfetal.,2020a)",
"在实验中我们将这种方法称为T5sMALL/T5BASE",
"我们以0.0003的恒定学习速率对所有模型进",
"行微调,并遵循ERaffeletal.(2020),我们在所有",
"Samplingtasks:在训练过程中,我们使用常",
"实验中使用218=262144步骤。我们为所有模型",
"规的基于温度的采样对任务进行采样,所有方",
"的每个1000步骤保存一个检查点(另请参见SA",
"法的温度均为T=10。我们对与p",
"1/成比例的",
"不同任务进行采样,其中p=",
"N和N是",
"CisiNT",
")。Raffeletal.(2020)根据每个任务的最佳检查点",
"独立报告结果。相比之下,我们专注于更现实",
"第个任务的训练样本数。我们没有试验更复",
"的设置,我们在所有任务中报告具有最高平均",
"杂的采样策略(Raffeletal.,2020)或调整T",
"验证性能的单个检查点上的结果。以相同的方",
"式选择超参数。与以前的工作(Houlsbyetal.,",
"3.1ResultsontheGLUEBenchmark",
"2019)相比,我们不为每个任务学习单独的输",
"表1显示了GLUE单任务和多任务训练的结果。",
"出层,而是为所有任务共享一个冻结的输出层,",
"这使得我们的设置比以前的工作更有效,并且",
"我们对所有基于适配器的方法的r=[8,16,32]",
"是编码器-解码器模型的多任务学习的优势。3",
"的缩减因子进行了实验,其中r=号。我们报",
"告了T5sMALLE(6层和60M参数)和T5BASEE",
"2Following Raffel et al. (2020); Devlin et al. (2019)",
"模型(12层和222M参数)的结果",
" as a common practice, due to the adversarial nature",
"of WNLI with respect to the training set, we do not",
"总的来说,我们提出的HyperFormer++获",
"experiment with WNLI.",
"得了超过适配器的强劲收益(82。51对79。53",
"3According to our initial experiments, fine-tuning",
"the final output layer did not improve performance for",
"adapter-based methods."
] |
{
"arxiv_id": "2106.04489",
"language": "zh",
"page_idx": 3
}
|
||
2106.04489-zh-4
|
2106.04489-zh-4.jpg
|
用于T$5_\mathrm{SMALL}$和86。48对84。T$5_\mathrm{BASE}$为88),同
时提高了参数效率
我们的适配器十变体在任务之间共享层规范, 其性能优于先前的工作(Houlsbyet al.,2019) ,后者不共享此类信息(80。85对79。53for T$5_\mathrm{SMALL}$and85。83对84。88forT$5_\mathrm{BASE})$。这表明在诸如T5之类的编码器-解码器模型中,跨任务共享更多信息是有益的
我们提出的 HyperFormer 比我们提出的Adapters$\dagger$方法获得了一致的改进。我们将这种改进归因于通过我们的超网络学习跨任务共享信息的能力。有趣的是,HyperFormer++ 获得与HyperFormer相似的性能,同时具有超过一个数量级的参数效率。因此,适配器模块似乎足够相似,因此它们的大部分信息可以通过一个适当条件的网络进行建模
与所有参数的单任务微调相比,我们的方法平均将结果提高了0。45forT$5_\mathrm{SMALL}$和1。81for T$5_\mathrm{BASE}$,对CoLA等低资源数据集进行了实质性改进(63。73对54。85) 和RTE (75。36对67。39)由于共享超网络捕获共享信息并实现积极的传输效果
我们还报告了表$\overline{\mathbb{E}}$1中所有方法的参数和可训练参数的总数。对于基于适配器的方法,参数的数量根据适配器的大小而变化(我们使用$r=32$报告所有数字)。HyperFormer++$_\text{BASE}$相对于T$5_\mathrm{BASE}$的参数数量的倍数是1.02×,每个任务只有$0.29\%$可训练参数。请注意,通过保持$\mathrm{Adapters}_{\mathrm{SMALL}}$和$\mathrm{Adapters}_\mathrm{BASE}$的输出层冻结, 与直接应用先前的工作(Houlsbyetal.,2019)相比,它们分别需要$5.51\times$和$2.53\times$更少的参数。尽管使用更有效的基线,与Adapters_{BASE$相 比 $, $\mathrm{HyperFormer++}_{\mathrm{BASE}}$需要3×更少的可训练参数
## 3.2 Few-shotDomainTransfer
最后,我们评估经过训练的HyperFormer 如何推广到新任务。我们评估5个任务和7个数据集的性能。特别是,我们考虑1)来自SuperGLUEE(Wang et al., 2019a) 的自然语言推理(NLI)数据集 SciTail$\underline{\mathrm{E}}($Khot et al., 2018)和 CB$\boxed{\mathrm{E}}???)$ 问题回答(QA)数据集BoolQ$\underline{\mathrm{E}}($Clarketal.,2019a);3)情绪分析数据集IMDB$\boxed{\mathrm{E}}($Maasetal.,2011)和YelpPolarity$\boxed{\mathrm{E}}$ (Zhangetal.,2015)分类数据集
对于CB和BoolQ,由于测试集不可用,因此我们将验证集分成两半,将一半用于验证,将另一半用于测试。对于Yelp极性、TREC和IMDB, 由于验证集不可用,我们同样将测试集划分为验证集。对于其余部分,我们报告原始测试集
我们考虑在表$\overline{\mathrm{E}}$1 中报告的GLUE上训练的模型,并在对每个目标训练数据进行几次微调
Table 2: Few-shot domain transfer results of the models trained on GLUE averaged across 5 seeds. We compute accuracy for all datasets.
|
[
[
0.12176513671875,
0.07659912109375,
0.489501953125,
0.07659912109375,
0.489501953125,
0.0914306640625,
0.12176513671875,
0.0914306640625
],
[
0.12005615234375,
0.0926513671875,
0.268798828125,
0.0926513671875,
0.268798828125,
0.10687255859375,
0.12005615234375,
0.10687255859375
],
[
0.1368408203125,
0.1092529296875,
0.484375,
0.1092529296875,
0.484375,
0.122314453125,
0.1368408203125,
0.122314453125
],
[
0.12005615234375,
0.12469482421875,
0.48779296875,
0.12469482421875,
0.48779296875,
0.1395263671875,
0.12005615234375,
0.1395263671875
],
[
0.1351318359375,
0.141357421875,
0.489501953125,
0.141357421875,
0.489501953125,
0.155029296875,
0.1351318359375,
0.155029296875
],
[
0.118408203125,
0.15673828125,
0.489501953125,
0.15673828125,
0.489501953125,
0.171630859375,
0.118408203125,
0.171630859375
],
[
0.5224609375,
0.1602783203125,
0.55517578125,
0.1602783203125,
0.55517578125,
0.168701171875,
0.5224609375,
0.168701171875
],
[
0.12005615234375,
0.1728515625,
0.489501953125,
0.1728515625,
0.489501953125,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.62646484375,
0.171630859375,
0.78515625,
0.1728515625,
0.78515625,
0.1859130859375,
0.62646484375,
0.185302734375
],
[
0.12005615234375,
0.189453125,
0.341796875,
0.189453125,
0.341796875,
0.203125,
0.12005615234375,
0.203125
],
[
0.60791015625,
0.189453125,
0.62109375,
0.189453125,
0.62109375,
0.20068359375,
0.60791015625,
0.20068359375
],
[
0.6689453125,
0.189453125,
0.724609375,
0.189453125,
0.724609375,
0.20068359375,
0.6689453125,
0.20068359375
],
[
0.73876953125,
0.189453125,
0.79443359375,
0.189453125,
0.79443359375,
0.20068359375,
0.73876953125,
0.20068359375
],
[
0.8095703125,
0.189453125,
0.86572265625,
0.189453125,
0.86572265625,
0.20068359375,
0.8095703125,
0.20068359375
],
[
0.66748046875,
0.1995849609375,
0.7255859375,
0.201904296875,
0.7255859375,
0.213134765625,
0.66748046875,
0.21142578125
],
[
0.73779296875,
0.1995849609375,
0.79443359375,
0.201904296875,
0.79443359375,
0.213134765625,
0.73779296875,
0.21142578125
],
[
0.8076171875,
0.19775390625,
0.869140625,
0.1995849609375,
0.8671875,
0.21435546875,
0.80615234375,
0.2120361328125
],
[
0.1351318359375,
0.204833984375,
0.48779296875,
0.204833984375,
0.48779296875,
0.218505859375,
0.1351318359375,
0.218505859375
],
[
0.60693359375,
0.20068359375,
0.62744140625,
0.20068359375,
0.62744140625,
0.213134765625,
0.60693359375,
0.213134765625
],
[
0.66748046875,
0.21142578125,
0.7255859375,
0.213134765625,
0.7255859375,
0.2244873046875,
0.66748046875,
0.22265625
],
[
0.73779296875,
0.21142578125,
0.79443359375,
0.213134765625,
0.79443359375,
0.2244873046875,
0.73779296875,
0.22265625
],
[
0.8095703125,
0.213134765625,
0.86572265625,
0.213134765625,
0.86572265625,
0.2244873046875,
0.8095703125,
0.2244873046875
],
[
0.5224609375,
0.218505859375,
0.56494140625,
0.218505859375,
0.56494140625,
0.2298583984375,
0.5224609375,
0.2298583984375
],
[
0.118408203125,
0.2197265625,
0.48779296875,
0.2203369140625,
0.48779296875,
0.235107421875,
0.118408203125,
0.2340087890625
],
[
0.60693359375,
0.2120361328125,
0.62744140625,
0.2120361328125,
0.62744140625,
0.2244873046875,
0.60693359375,
0.2244873046875
],
[
0.60791015625,
0.223876953125,
0.6337890625,
0.223876953125,
0.6337890625,
0.236328125,
0.60791015625,
0.236328125
],
[
0.6689453125,
0.2244873046875,
0.724609375,
0.2244873046875,
0.724609375,
0.236328125,
0.6689453125,
0.236328125
],
[
0.73876953125,
0.2244873046875,
0.79443359375,
0.2244873046875,
0.79443359375,
0.236328125,
0.73876953125,
0.236328125
],
[
0.8095703125,
0.2244873046875,
0.86572265625,
0.2244873046875,
0.86572265625,
0.236328125,
0.8095703125,
0.236328125
],
[
0.60791015625,
0.235107421875,
0.634765625,
0.235107421875,
0.634765625,
0.2476806640625,
0.60791015625,
0.2476806640625
],
[
0.6689453125,
0.236328125,
0.724609375,
0.236328125,
0.724609375,
0.2476806640625,
0.6689453125,
0.2476806640625
],
[
0.73779296875,
0.236328125,
0.79443359375,
0.236328125,
0.79443359375,
0.2476806640625,
0.73779296875,
0.2476806640625
],
[
0.8076171875,
0.236328125,
0.86572265625,
0.236328125,
0.86572265625,
0.2476806640625,
0.8076171875,
0.2476806640625
],
[
0.60693359375,
0.2452392578125,
0.6396484375,
0.2476806640625,
0.63818359375,
0.260009765625,
0.60546875,
0.25830078125
],
[
0.12005615234375,
0.2369384765625,
0.489501953125,
0.2369384765625,
0.489501953125,
0.251708984375,
0.12005615234375,
0.251708984375
],
[
0.66748046875,
0.2476806640625,
0.724609375,
0.2476806640625,
0.724609375,
0.2587890625,
0.66748046875,
0.2587890625
],
[
0.73779296875,
0.2476806640625,
0.7958984375,
0.2476806640625,
0.7958984375,
0.2587890625,
0.73779296875,
0.2587890625
],
[
0.8095703125,
0.2452392578125,
0.86572265625,
0.2476806640625,
0.86376953125,
0.260009765625,
0.8076171875,
0.25830078125
],
[
0.12005615234375,
0.254150390625,
0.48779296875,
0.254150390625,
0.48779296875,
0.267333984375,
0.12005615234375,
0.267333984375
],
[
0.60693359375,
0.257080078125,
0.6396484375,
0.2587890625,
0.63818359375,
0.2724609375,
0.60546875,
0.270751953125
],
[
0.6689453125,
0.260009765625,
0.724609375,
0.260009765625,
0.724609375,
0.271484375,
0.6689453125,
0.271484375
],
[
0.73876953125,
0.260009765625,
0.79443359375,
0.260009765625,
0.79443359375,
0.271484375,
0.73876953125,
0.271484375
],
[
0.8095703125,
0.260009765625,
0.86572265625,
0.260009765625,
0.86572265625,
0.271484375,
0.8095703125,
0.271484375
],
[
0.12005615234375,
0.26953125,
0.489501953125,
0.26953125,
0.489501953125,
0.283203125,
0.12005615234375,
0.283203125
],
[
0.60791015625,
0.276611328125,
0.62109375,
0.276611328125,
0.62109375,
0.2880859375,
0.60791015625,
0.2880859375
],
[
0.66748046875,
0.273681640625,
0.73046875,
0.275634765625,
0.72900390625,
0.290283203125,
0.66650390625,
0.2880859375
],
[
0.73876953125,
0.276611328125,
0.79443359375,
0.276611328125,
0.79443359375,
0.2880859375,
0.73876953125,
0.2880859375
],
[
0.8095703125,
0.276611328125,
0.873046875,
0.276611328125,
0.873046875,
0.2880859375,
0.8095703125,
0.2880859375
],
[
0.12176513671875,
0.28515625,
0.48779296875,
0.28515625,
0.48779296875,
0.2998046875,
0.12176513671875,
0.2998046875
],
[
0.73779296875,
0.287353515625,
0.7958984375,
0.289306640625,
0.7958984375,
0.300537109375,
0.73779296875,
0.298583984375
],
[
0.8076171875,
0.287353515625,
0.86962890625,
0.289306640625,
0.86962890625,
0.300537109375,
0.8076171875,
0.298583984375
],
[
0.6689453125,
0.2880859375,
0.7255859375,
0.2880859375,
0.7255859375,
0.2998046875,
0.6689453125,
0.2998046875
],
[
0.60693359375,
0.2880859375,
0.62744140625,
0.2880859375,
0.62744140625,
0.300537109375,
0.60693359375,
0.300537109375
],
[
0.6689453125,
0.298583984375,
0.71875,
0.300537109375,
0.71728515625,
0.312255859375,
0.66748046875,
0.31005859375
],
[
0.8076171875,
0.298583984375,
0.86572265625,
0.300537109375,
0.86572265625,
0.312255859375,
0.8076171875,
0.31005859375
],
[
0.73876953125,
0.300537109375,
0.7958984375,
0.300537109375,
0.7958984375,
0.312255859375,
0.73876953125,
0.312255859375
],
[
0.12176513671875,
0.3017578125,
0.48779296875,
0.3017578125,
0.48779296875,
0.3154296875,
0.12176513671875,
0.3154296875
],
[
0.5205078125,
0.3046875,
0.5458984375,
0.3046875,
0.5458984375,
0.317626953125,
0.5205078125,
0.317626953125
],
[
0.60693359375,
0.2998046875,
0.62744140625,
0.2998046875,
0.62744140625,
0.312255859375,
0.60693359375,
0.312255859375
],
[
0.60791015625,
0.311279296875,
0.6337890625,
0.311279296875,
0.6337890625,
0.32373046875,
0.60791015625,
0.32373046875
],
[
0.66748046875,
0.31005859375,
0.724609375,
0.312255859375,
0.724609375,
0.32373046875,
0.66748046875,
0.32177734375
],
[
0.73876953125,
0.312255859375,
0.7958984375,
0.312255859375,
0.7958984375,
0.32373046875,
0.73876953125,
0.32373046875
],
[
0.8095703125,
0.312255859375,
0.86962890625,
0.312255859375,
0.86962890625,
0.32373046875,
0.8095703125,
0.32373046875
],
[
0.60693359375,
0.322509765625,
0.6337890625,
0.322509765625,
0.6337890625,
0.3349609375,
0.60693359375,
0.3349609375
],
[
0.118408203125,
0.31640625,
0.378662109375,
0.317626953125,
0.378662109375,
0.33203125,
0.118408203125,
0.330810546875
],
[
0.6689453125,
0.32373046875,
0.724609375,
0.32373046875,
0.724609375,
0.334228515625,
0.6689453125,
0.334228515625
],
[
0.73876953125,
0.32373046875,
0.79443359375,
0.32373046875,
0.79443359375,
0.3349609375,
0.73876953125,
0.3349609375
],
[
0.8095703125,
0.32373046875,
0.86962890625,
0.32373046875,
0.86962890625,
0.3349609375,
0.8095703125,
0.3349609375
],
[
0.139404296875,
0.334228515625,
0.48779296875,
0.334228515625,
0.48779296875,
0.347412109375,
0.139404296875,
0.347412109375
],
[
0.63818359375,
0.339111328125,
0.77490234375,
0.339111328125,
0.77490234375,
0.352783203125,
0.63818359375,
0.352783203125
],
[
0.12005615234375,
0.3486328125,
0.486083984375,
0.3486328125,
0.486083984375,
0.363525390625,
0.12005615234375,
0.363525390625
],
[
0.6689453125,
0.355712890625,
0.7255859375,
0.355712890625,
0.7255859375,
0.36767578125,
0.6689453125,
0.36767578125
],
[
0.73876953125,
0.355712890625,
0.79443359375,
0.355712890625,
0.79443359375,
0.36767578125,
0.73876953125,
0.36767578125
],
[
0.8095703125,
0.355712890625,
0.86572265625,
0.355712890625,
0.86572265625,
0.36767578125,
0.8095703125,
0.36767578125
],
[
0.8095703125,
0.365234375,
0.8671875,
0.36767578125,
0.86572265625,
0.3818359375,
0.8076171875,
0.380126953125
],
[
0.60791015625,
0.35693359375,
0.62109375,
0.35693359375,
0.62109375,
0.36767578125,
0.60791015625,
0.36767578125
],
[
0.118408203125,
0.366455078125,
0.48779296875,
0.366455078125,
0.48779296875,
0.38134765625,
0.118408203125,
0.38134765625
],
[
0.60693359375,
0.36767578125,
0.62744140625,
0.36767578125,
0.62744140625,
0.38134765625,
0.60693359375,
0.38134765625
],
[
0.6689453125,
0.3681640625,
0.72900390625,
0.3681640625,
0.72900390625,
0.380126953125,
0.6689453125,
0.380126953125
],
[
0.73876953125,
0.3681640625,
0.80029296875,
0.3681640625,
0.80029296875,
0.380126953125,
0.73876953125,
0.380126953125
],
[
0.60693359375,
0.380126953125,
0.62744140625,
0.380126953125,
0.62744140625,
0.392578125,
0.60693359375,
0.392578125
],
[
0.66748046875,
0.37890625,
0.7255859375,
0.38134765625,
0.7255859375,
0.392578125,
0.66748046875,
0.39013671875
],
[
0.73779296875,
0.38134765625,
0.78857421875,
0.38134765625,
0.78857421875,
0.392578125,
0.73779296875,
0.392578125
],
[
0.8095703125,
0.38134765625,
0.86572265625,
0.38134765625,
0.86572265625,
0.392578125,
0.8095703125,
0.392578125
],
[
0.5224609375,
0.385986328125,
0.5634765625,
0.385986328125,
0.5634765625,
0.39794921875,
0.5224609375,
0.39794921875
],
[
0.12005615234375,
0.3818359375,
0.48779296875,
0.3818359375,
0.48779296875,
0.3955078125,
0.12005615234375,
0.3955078125
],
[
0.60791015625,
0.391357421875,
0.6337890625,
0.391357421875,
0.6337890625,
0.40380859375,
0.60791015625,
0.40380859375
],
[
0.6689453125,
0.392578125,
0.724609375,
0.392578125,
0.724609375,
0.40380859375,
0.6689453125,
0.40380859375
],
[
0.73876953125,
0.392578125,
0.79443359375,
0.392578125,
0.79443359375,
0.40380859375,
0.73876953125,
0.40380859375
],
[
0.8095703125,
0.392578125,
0.86572265625,
0.392578125,
0.86572265625,
0.40380859375,
0.8095703125,
0.40380859375
],
[
0.12005615234375,
0.3984375,
0.489501953125,
0.3984375,
0.489501953125,
0.412109375,
0.12005615234375,
0.412109375
],
[
0.73779296875,
0.402587890625,
0.7958984375,
0.405029296875,
0.7958984375,
0.416259765625,
0.73779296875,
0.41455078125
],
[
0.8076171875,
0.402587890625,
0.86572265625,
0.405029296875,
0.86572265625,
0.416259765625,
0.8076171875,
0.41455078125
],
[
0.66748046875,
0.40380859375,
0.7255859375,
0.40380859375,
0.7255859375,
0.4150390625,
0.66748046875,
0.4150390625
],
[
0.60693359375,
0.40380859375,
0.634765625,
0.40380859375,
0.634765625,
0.4150390625,
0.60693359375,
0.4150390625
],
[
0.118408203125,
0.413330078125,
0.2493896484375,
0.41455078125,
0.2493896484375,
0.4287109375,
0.118408203125,
0.427490234375
],
[
0.60791015625,
0.4150390625,
0.640625,
0.4150390625,
0.640625,
0.427001953125,
0.60791015625,
0.427001953125
],
[
0.66748046875,
0.4150390625,
0.71875,
0.4150390625,
0.71875,
0.427001953125,
0.66748046875,
0.427001953125
],
[
0.73876953125,
0.4150390625,
0.7958984375,
0.4150390625,
0.7958984375,
0.427001953125,
0.73876953125,
0.427001953125
],
[
0.8095703125,
0.4150390625,
0.86572265625,
0.4150390625,
0.86572265625,
0.427001953125,
0.8095703125,
0.427001953125
],
[
0.66748046875,
0.424560546875,
0.724609375,
0.427001953125,
0.72314453125,
0.441162109375,
0.66650390625,
0.439453125
],
[
0.73779296875,
0.424560546875,
0.7958984375,
0.427001953125,
0.79443359375,
0.441162109375,
0.736328125,
0.439453125
],
[
0.8076171875,
0.424560546875,
0.8671875,
0.427001953125,
0.86572265625,
0.441162109375,
0.80615234375,
0.439453125
],
[
0.1368408203125,
0.43115234375,
0.486083984375,
0.43115234375,
0.486083984375,
0.44482421875,
0.1368408203125,
0.44482421875
],
[
0.60791015625,
0.427001953125,
0.6396484375,
0.427001953125,
0.6396484375,
0.439453125,
0.60791015625,
0.439453125
],
[
0.12176513671875,
0.446533203125,
0.48779296875,
0.446533203125,
0.48779296875,
0.46142578125,
0.12176513671875,
0.46142578125
],
[
0.646484375,
0.443603515625,
0.767578125,
0.443603515625,
0.767578125,
0.457275390625,
0.646484375,
0.457275390625
],
[
0.6689453125,
0.460205078125,
0.72900390625,
0.460205078125,
0.72900390625,
0.471435546875,
0.6689453125,
0.471435546875
],
[
0.73876953125,
0.460205078125,
0.79443359375,
0.460205078125,
0.79443359375,
0.471435546875,
0.73876953125,
0.471435546875
],
[
0.8095703125,
0.457275390625,
0.8671875,
0.458984375,
0.86572265625,
0.473876953125,
0.8076171875,
0.471435546875
],
[
0.12005615234375,
0.463134765625,
0.486083984375,
0.463134765625,
0.486083984375,
0.476806640625,
0.12005615234375,
0.476806640625
],
[
0.60791015625,
0.46142578125,
0.62109375,
0.46142578125,
0.62109375,
0.471435546875,
0.60791015625,
0.471435546875
],
[
0.60791015625,
0.471435546875,
0.62744140625,
0.471435546875,
0.62744140625,
0.485107421875,
0.60791015625,
0.485107421875
],
[
0.6689453125,
0.47265625,
0.724609375,
0.47265625,
0.724609375,
0.48388671875,
0.6689453125,
0.48388671875
],
[
0.73876953125,
0.47265625,
0.7958984375,
0.47265625,
0.7958984375,
0.48388671875,
0.73876953125,
0.48388671875
],
[
0.8095703125,
0.47265625,
0.86572265625,
0.47265625,
0.86572265625,
0.48388671875,
0.8095703125,
0.48388671875
],
[
0.12005615234375,
0.478515625,
0.48779296875,
0.478515625,
0.48779296875,
0.493408203125,
0.12005615234375,
0.493408203125
],
[
0.6689453125,
0.482177734375,
0.724609375,
0.48388671875,
0.72314453125,
0.496337890625,
0.66748046875,
0.49462890625
],
[
0.8095703125,
0.48095703125,
0.86572265625,
0.482666015625,
0.86376953125,
0.49755859375,
0.8076171875,
0.495361328125
],
[
0.73876953125,
0.48388671875,
0.79443359375,
0.48388671875,
0.79443359375,
0.495361328125,
0.73876953125,
0.495361328125
],
[
0.60693359375,
0.482666015625,
0.62744140625,
0.482666015625,
0.62744140625,
0.496337890625,
0.60693359375,
0.496337890625
],
[
0.12176513671875,
0.49462890625,
0.48779296875,
0.49462890625,
0.48779296875,
0.5087890625,
0.12176513671875,
0.5087890625
],
[
0.5205078125,
0.490478515625,
0.5634765625,
0.490478515625,
0.5634765625,
0.501953125,
0.5205078125,
0.501953125
],
[
0.60791015625,
0.495361328125,
0.6337890625,
0.495361328125,
0.6337890625,
0.50830078125,
0.60791015625,
0.50830078125
],
[
0.6689453125,
0.496337890625,
0.724609375,
0.496337890625,
0.724609375,
0.50830078125,
0.6689453125,
0.50830078125
],
[
0.73876953125,
0.49462890625,
0.7958984375,
0.496337890625,
0.79443359375,
0.5087890625,
0.73779296875,
0.50732421875
],
[
0.8095703125,
0.496337890625,
0.86572265625,
0.496337890625,
0.86572265625,
0.50830078125,
0.8095703125,
0.50830078125
],
[
0.60693359375,
0.50732421875,
0.634765625,
0.50732421875,
0.634765625,
0.5185546875,
0.60693359375,
0.5185546875
],
[
0.66748046875,
0.50732421875,
0.724609375,
0.50732421875,
0.724609375,
0.5185546875,
0.66748046875,
0.5185546875
],
[
0.73876953125,
0.50732421875,
0.79443359375,
0.50732421875,
0.79443359375,
0.5185546875,
0.73876953125,
0.5185546875
],
[
0.8095703125,
0.5048828125,
0.86572265625,
0.50732421875,
0.86376953125,
0.51953125,
0.8076171875,
0.51708984375
],
[
0.12176513671875,
0.51123046875,
0.48779296875,
0.51123046875,
0.48779296875,
0.52490234375,
0.12176513671875,
0.52490234375
],
[
0.6689453125,
0.51708984375,
0.72119140625,
0.51953125,
0.7197265625,
0.5322265625,
0.66748046875,
0.52978515625
],
[
0.8076171875,
0.5166015625,
0.8671875,
0.5185546875,
0.86572265625,
0.533203125,
0.80615234375,
0.53076171875
],
[
0.73876953125,
0.51953125,
0.79443359375,
0.51953125,
0.79443359375,
0.53076171875,
0.73876953125,
0.53076171875
],
[
0.60791015625,
0.5185546875,
0.6396484375,
0.5185546875,
0.6396484375,
0.53076171875,
0.60791015625,
0.53076171875
],
[
0.118408203125,
0.525390625,
0.489501953125,
0.525390625,
0.489501953125,
0.54345703125,
0.118408203125,
0.54345703125
],
[
0.60693359375,
0.53076171875,
0.6396484375,
0.53076171875,
0.6396484375,
0.54345703125,
0.60693359375,
0.54345703125
],
[
0.6689453125,
0.53076171875,
0.724609375,
0.53076171875,
0.724609375,
0.5419921875,
0.6689453125,
0.5419921875
],
[
0.73876953125,
0.53076171875,
0.79443359375,
0.53076171875,
0.79443359375,
0.5419921875,
0.73876953125,
0.5419921875
],
[
0.8095703125,
0.529296875,
0.86572265625,
0.53076171875,
0.86376953125,
0.54345703125,
0.8076171875,
0.54150390625
],
[
0.12176513671875,
0.5419921875,
0.48779296875,
0.5419921875,
0.48779296875,
0.55712890625,
0.12176513671875,
0.55712890625
],
[
0.646484375,
0.54638671875,
0.76416015625,
0.54638671875,
0.76416015625,
0.56005859375,
0.646484375,
0.56005859375
],
[
0.12176513671875,
0.55859375,
0.48779296875,
0.55859375,
0.48779296875,
0.572265625,
0.12176513671875,
0.572265625
],
[
0.6689453125,
0.56396484375,
0.7255859375,
0.56396484375,
0.7255859375,
0.576171875,
0.6689453125,
0.576171875
],
[
0.73876953125,
0.56396484375,
0.79443359375,
0.56396484375,
0.79443359375,
0.576171875,
0.73876953125,
0.576171875
],
[
0.8095703125,
0.56396484375,
0.86572265625,
0.56396484375,
0.86572265625,
0.576171875,
0.8095703125,
0.576171875
],
[
0.6689453125,
0.57373046875,
0.724609375,
0.576171875,
0.72314453125,
0.5888671875,
0.66748046875,
0.58740234375
],
[
0.60791015625,
0.5654296875,
0.62109375,
0.5654296875,
0.62109375,
0.576171875,
0.60791015625,
0.576171875
],
[
0.12176513671875,
0.576171875,
0.489501953125,
0.576171875,
0.489501953125,
0.59033203125,
0.12176513671875,
0.59033203125
],
[
0.609375,
0.57666015625,
0.62646484375,
0.57666015625,
0.62646484375,
0.58740234375,
0.609375,
0.58740234375
],
[
0.73876953125,
0.57666015625,
0.7958984375,
0.57666015625,
0.7958984375,
0.58837890625,
0.73876953125,
0.58837890625
],
[
0.8095703125,
0.57666015625,
0.86572265625,
0.57666015625,
0.86572265625,
0.58837890625,
0.8095703125,
0.58837890625
],
[
0.60693359375,
0.58740234375,
0.62890625,
0.58740234375,
0.62890625,
0.599609375,
0.60693359375,
0.599609375
],
[
0.6689453125,
0.58837890625,
0.7255859375,
0.58837890625,
0.7255859375,
0.599609375,
0.6689453125,
0.599609375
],
[
0.73876953125,
0.58837890625,
0.7958984375,
0.58837890625,
0.7958984375,
0.599609375,
0.73876953125,
0.599609375
],
[
0.8095703125,
0.58837890625,
0.8671875,
0.58837890625,
0.8671875,
0.599609375,
0.8095703125,
0.599609375
],
[
0.5205078125,
0.59326171875,
0.5634765625,
0.59326171875,
0.5634765625,
0.60498046875,
0.5205078125,
0.60498046875
],
[
0.1175537109375,
0.59130859375,
0.48779296875,
0.59033203125,
0.48779296875,
0.60498046875,
0.1175537109375,
0.60546875
],
[
0.60791015625,
0.5986328125,
0.6337890625,
0.5986328125,
0.6337890625,
0.61083984375,
0.60791015625,
0.61083984375
],
[
0.66748046875,
0.59716796875,
0.724609375,
0.599609375,
0.724609375,
0.61083984375,
0.66748046875,
0.609375
],
[
0.73876953125,
0.599609375,
0.7958984375,
0.599609375,
0.7958984375,
0.61083984375,
0.73876953125,
0.61083984375
],
[
0.8095703125,
0.599609375,
0.86572265625,
0.599609375,
0.86572265625,
0.61083984375,
0.8095703125,
0.61083984375
],
[
0.12005615234375,
0.60791015625,
0.14111328125,
0.60791015625,
0.14111328125,
0.62158203125,
0.12005615234375,
0.62158203125
],
[
0.60693359375,
0.61083984375,
0.634765625,
0.61083984375,
0.634765625,
0.62255859375,
0.60693359375,
0.62255859375
],
[
0.6689453125,
0.61083984375,
0.724609375,
0.61083984375,
0.724609375,
0.62255859375,
0.6689453125,
0.62255859375
],
[
0.73876953125,
0.61083984375,
0.79443359375,
0.61083984375,
0.79443359375,
0.62255859375,
0.73876953125,
0.62255859375
],
[
0.81005859375,
0.61083984375,
0.8671875,
0.61083984375,
0.8671875,
0.62255859375,
0.81005859375,
0.62255859375
],
[
0.6689453125,
0.62060546875,
0.72314453125,
0.62255859375,
0.72119140625,
0.6357421875,
0.66748046875,
0.63427734375
],
[
0.73876953125,
0.62158203125,
0.79443359375,
0.62353515625,
0.79248046875,
0.6357421875,
0.73779296875,
0.63427734375
],
[
0.81005859375,
0.62158203125,
0.86572265625,
0.62353515625,
0.86376953125,
0.6357421875,
0.8095703125,
0.63427734375
],
[
0.12005615234375,
0.63525390625,
0.36279296875,
0.63525390625,
0.36279296875,
0.6455078125,
0.12005615234375,
0.6455078125
],
[
0.60791015625,
0.62255859375,
0.6396484375,
0.62255859375,
0.6396484375,
0.63525390625,
0.60791015625,
0.63525390625
],
[
0.60693359375,
0.63525390625,
0.6396484375,
0.63525390625,
0.6396484375,
0.64794921875,
0.60693359375,
0.64794921875
],
[
0.6689453125,
0.63525390625,
0.724609375,
0.63525390625,
0.724609375,
0.646484375,
0.6689453125,
0.646484375
],
[
0.73876953125,
0.63525390625,
0.79443359375,
0.63525390625,
0.79443359375,
0.646484375,
0.73876953125,
0.646484375
],
[
0.81005859375,
0.63525390625,
0.86572265625,
0.63525390625,
0.86572265625,
0.646484375,
0.81005859375,
0.646484375
],
[
0.60791015625,
0.65185546875,
0.62109375,
0.65185546875,
0.62109375,
0.6630859375,
0.60791015625,
0.6630859375
],
[
0.6689453125,
0.65185546875,
0.72900390625,
0.65185546875,
0.72900390625,
0.6630859375,
0.6689453125,
0.6630859375
],
[
0.73876953125,
0.65185546875,
0.796875,
0.65185546875,
0.796875,
0.6630859375,
0.73876953125,
0.6630859375
],
[
0.8076171875,
0.6484375,
0.8671875,
0.65087890625,
0.86572265625,
0.6650390625,
0.80615234375,
0.6630859375
],
[
0.8095703125,
0.6611328125,
0.86572265625,
0.6630859375,
0.86376953125,
0.6767578125,
0.8076171875,
0.6748046875
],
[
0.12005615234375,
0.65283203125,
0.489501953125,
0.65283203125,
0.489501953125,
0.66650390625,
0.12005615234375,
0.66650390625
],
[
0.60693359375,
0.6630859375,
0.62744140625,
0.6630859375,
0.62744140625,
0.67578125,
0.60693359375,
0.67578125
],
[
0.6689453125,
0.662109375,
0.7255859375,
0.66455078125,
0.724609375,
0.6767578125,
0.66748046875,
0.6748046875
],
[
0.12005615234375,
0.66943359375,
0.486083984375,
0.66943359375,
0.486083984375,
0.68310546875,
0.12005615234375,
0.68310546875
],
[
0.73779296875,
0.66455078125,
0.7958984375,
0.66455078125,
0.7958984375,
0.67578125,
0.73779296875,
0.67578125
],
[
0.66748046875,
0.67333984375,
0.724609375,
0.67578125,
0.724609375,
0.68701171875,
0.66748046875,
0.68505859375
],
[
0.736328125,
0.67333984375,
0.7958984375,
0.67578125,
0.7958984375,
0.68701171875,
0.736328125,
0.68505859375
],
[
0.8095703125,
0.67578125,
0.86572265625,
0.67578125,
0.86572265625,
0.68701171875,
0.8095703125,
0.68701171875
],
[
0.5224609375,
0.68115234375,
0.59619140625,
0.68115234375,
0.59619140625,
0.69140625,
0.5224609375,
0.69140625
],
[
0.609375,
0.68408203125,
0.634765625,
0.68701171875,
0.63037109375,
0.69970703125,
0.60546875,
0.69677734375
],
[
0.12176513671875,
0.68505859375,
0.484375,
0.68505859375,
0.484375,
0.69873046875,
0.12176513671875,
0.69873046875
],
[
0.60693359375,
0.6748046875,
0.62744140625,
0.6748046875,
0.62744140625,
0.68701171875,
0.60693359375,
0.68701171875
],
[
0.73779296875,
0.68505859375,
0.7958984375,
0.68701171875,
0.7958984375,
0.69873046875,
0.73779296875,
0.69677734375
],
[
0.8076171875,
0.68505859375,
0.86572265625,
0.68701171875,
0.86572265625,
0.69873046875,
0.8076171875,
0.69677734375
],
[
0.66748046875,
0.69677734375,
0.724609375,
0.69873046875,
0.724609375,
0.71044921875,
0.66748046875,
0.7080078125
],
[
0.6689453125,
0.68603515625,
0.724609375,
0.68603515625,
0.724609375,
0.69775390625,
0.6689453125,
0.69775390625
],
[
0.60693359375,
0.69775390625,
0.6337890625,
0.69775390625,
0.6337890625,
0.71044921875,
0.60693359375,
0.71044921875
],
[
0.73779296875,
0.69873046875,
0.7958984375,
0.69873046875,
0.7958984375,
0.71044921875,
0.73779296875,
0.71044921875
],
[
0.8095703125,
0.69873046875,
0.86572265625,
0.69873046875,
0.86572265625,
0.71044921875,
0.8095703125,
0.71044921875
],
[
0.8095703125,
0.7080078125,
0.86572265625,
0.71044921875,
0.86376953125,
0.72265625,
0.8076171875,
0.72021484375
],
[
0.118408203125,
0.70068359375,
0.48779296875,
0.70166015625,
0.48779296875,
0.71630859375,
0.118408203125,
0.71533203125
],
[
0.60791015625,
0.71044921875,
0.6396484375,
0.71044921875,
0.6396484375,
0.72265625,
0.60791015625,
0.72265625
],
[
0.6689453125,
0.71044921875,
0.724609375,
0.71044921875,
0.724609375,
0.7216796875,
0.6689453125,
0.7216796875
],
[
0.73779296875,
0.708984375,
0.79443359375,
0.71142578125,
0.79443359375,
0.72265625,
0.73779296875,
0.72021484375
],
[
0.12176513671875,
0.71728515625,
0.48779296875,
0.71728515625,
0.48779296875,
0.73095703125,
0.12176513671875,
0.73095703125
],
[
0.60693359375,
0.7216796875,
0.6396484375,
0.7216796875,
0.6396484375,
0.73388671875,
0.60693359375,
0.73388671875
],
[
0.66748046875,
0.72265625,
0.72314453125,
0.72265625,
0.72314453125,
0.73388671875,
0.66748046875,
0.73388671875
],
[
0.73779296875,
0.72265625,
0.79443359375,
0.72265625,
0.79443359375,
0.73388671875,
0.73779296875,
0.73388671875
],
[
0.8095703125,
0.72265625,
0.86572265625,
0.72265625,
0.86572265625,
0.73388671875,
0.8095703125,
0.73388671875
],
[
0.12005615234375,
0.73388671875,
0.48779296875,
0.73388671875,
0.48779296875,
0.74755859375,
0.12005615234375,
0.74755859375
],
[
0.64208984375,
0.73828125,
0.77099609375,
0.73828125,
0.77099609375,
0.751953125,
0.64208984375,
0.751953125
],
[
0.118408203125,
0.7490234375,
0.48779296875,
0.75,
0.48779296875,
0.76416015625,
0.118408203125,
0.76318359375
],
[
0.60791015625,
0.755859375,
0.62109375,
0.755859375,
0.62109375,
0.76708984375,
0.60791015625,
0.76708984375
],
[
0.6689453125,
0.755859375,
0.724609375,
0.755859375,
0.724609375,
0.76708984375,
0.6689453125,
0.76708984375
],
[
0.73876953125,
0.755859375,
0.7958984375,
0.755859375,
0.7958984375,
0.76708984375,
0.73876953125,
0.76708984375
],
[
0.8076171875,
0.7529296875,
0.8671875,
0.7548828125,
0.86572265625,
0.76953125,
0.80615234375,
0.76708984375
],
[
0.12005615234375,
0.76416015625,
0.489501953125,
0.765625,
0.489501953125,
0.77978515625,
0.12005615234375,
0.779296875
],
[
0.60693359375,
0.76708984375,
0.62744140625,
0.76708984375,
0.62744140625,
0.77978515625,
0.60693359375,
0.77978515625
],
[
0.6689453125,
0.76708984375,
0.7255859375,
0.76708984375,
0.7255859375,
0.779296875,
0.6689453125,
0.779296875
],
[
0.73876953125,
0.76708984375,
0.7958984375,
0.76708984375,
0.7958984375,
0.779296875,
0.73876953125,
0.779296875
],
[
0.81005859375,
0.76416015625,
0.86572265625,
0.7666015625,
0.86376953125,
0.78076171875,
0.8095703125,
0.779296875
],
[
0.60693359375,
0.77783203125,
0.62744140625,
0.77783203125,
0.62744140625,
0.79150390625,
0.60693359375,
0.79150390625
],
[
0.6689453125,
0.779296875,
0.724609375,
0.779296875,
0.724609375,
0.79052734375,
0.6689453125,
0.79052734375
],
[
0.73779296875,
0.779296875,
0.7958984375,
0.779296875,
0.7958984375,
0.79052734375,
0.73779296875,
0.79052734375
],
[
0.8095703125,
0.779296875,
0.86572265625,
0.779296875,
0.86572265625,
0.79052734375,
0.8095703125,
0.79052734375
],
[
0.5224609375,
0.78369140625,
0.5634765625,
0.78369140625,
0.5634765625,
0.7958984375,
0.5224609375,
0.7958984375
],
[
0.118408203125,
0.7822265625,
0.355224609375,
0.78076171875,
0.355224609375,
0.7958984375,
0.118408203125,
0.79638671875
],
[
0.60791015625,
0.79052734375,
0.634765625,
0.79052734375,
0.634765625,
0.802734375,
0.60791015625,
0.802734375
],
[
0.6689453125,
0.79052734375,
0.724609375,
0.79052734375,
0.724609375,
0.8017578125,
0.6689453125,
0.8017578125
],
[
0.73876953125,
0.79052734375,
0.79443359375,
0.79052734375,
0.79443359375,
0.8017578125,
0.73876953125,
0.8017578125
],
[
0.8076171875,
0.7890625,
0.86572265625,
0.79150390625,
0.86572265625,
0.802734375,
0.8076171875,
0.80029296875
],
[
0.1376953125,
0.79736328125,
0.486083984375,
0.79736328125,
0.486083984375,
0.8125,
0.1376953125,
0.8125
],
[
0.60693359375,
0.8017578125,
0.634765625,
0.8017578125,
0.634765625,
0.81396484375,
0.60693359375,
0.81396484375
],
[
0.66748046875,
0.802734375,
0.7255859375,
0.802734375,
0.7255859375,
0.81396484375,
0.66748046875,
0.81396484375
],
[
0.73876953125,
0.802734375,
0.79443359375,
0.802734375,
0.79443359375,
0.81396484375,
0.73876953125,
0.81396484375
],
[
0.8095703125,
0.802734375,
0.85986328125,
0.802734375,
0.85986328125,
0.81396484375,
0.8095703125,
0.81396484375
],
[
0.118408203125,
0.81396484375,
0.484375,
0.81396484375,
0.484375,
0.82763671875,
0.118408203125,
0.82763671875
],
[
0.60693359375,
0.81396484375,
0.6396484375,
0.81396484375,
0.6396484375,
0.82666015625,
0.60693359375,
0.82666015625
],
[
0.6689453125,
0.81396484375,
0.724609375,
0.81396484375,
0.724609375,
0.826171875,
0.6689453125,
0.826171875
],
[
0.73876953125,
0.81396484375,
0.79443359375,
0.81396484375,
0.79443359375,
0.826171875,
0.73876953125,
0.826171875
],
[
0.8095703125,
0.81396484375,
0.86572265625,
0.81396484375,
0.86572265625,
0.826171875,
0.8095703125,
0.826171875
],
[
0.73779296875,
0.82470703125,
0.79443359375,
0.82666015625,
0.79443359375,
0.83837890625,
0.73779296875,
0.8359375
],
[
0.8095703125,
0.82470703125,
0.86376953125,
0.82666015625,
0.8623046875,
0.8388671875,
0.8076171875,
0.83740234375
],
[
0.6689453125,
0.82666015625,
0.72314453125,
0.82666015625,
0.72314453125,
0.83740234375,
0.6689453125,
0.83740234375
],
[
0.1376953125,
0.83056640625,
0.486083984375,
0.83056640625,
0.486083984375,
0.84423828125,
0.1376953125,
0.84423828125
],
[
0.60791015625,
0.826171875,
0.6396484375,
0.826171875,
0.6396484375,
0.83837890625,
0.60791015625,
0.83837890625
],
[
0.12005615234375,
0.84716796875,
0.48779296875,
0.84716796875,
0.48779296875,
0.86083984375,
0.12005615234375,
0.86083984375
],
[
0.51123046875,
0.84716796875,
0.884765625,
0.84716796875,
0.884765625,
0.86083984375,
0.51123046875,
0.86083984375
],
[
0.12005615234375,
0.86328125,
0.48779296875,
0.86328125,
0.48779296875,
0.876953125,
0.12005615234375,
0.876953125
],
[
0.51123046875,
0.8623046875,
0.884765625,
0.8623046875,
0.884765625,
0.8759765625,
0.51123046875,
0.8759765625
],
[
0.1376953125,
0.87890625,
0.48779296875,
0.87890625,
0.48779296875,
0.892578125,
0.1376953125,
0.892578125
],
[
0.51318359375,
0.876953125,
0.75244140625,
0.876953125,
0.75244140625,
0.89013671875,
0.51318359375,
0.89013671875
],
[
0.12005615234375,
0.89453125,
0.48779296875,
0.89453125,
0.48779296875,
0.9091796875,
0.12005615234375,
0.9091796875
]
] |
[
"用于T5sMALL和86。48对84。T5BASE为88),同",
"时提高了参数效率",
"我们的适配器+变体在任务之间共享层规范",
"其性能优于先前的工作(Houlsbyetal.,2019)",
"后者不共享此类信息(80。85对79。53for",
"T5sMALLand85。83对84。88forT5BAsE)。这表",
"Datase",
"明在诸如T5之类的编码器-解码器模型中,跨",
"NaturalLanguageInference",
"任务共享更多信息是有益的",
"4",
"79.60±3.3",
"79.54±2.8",
"82.00±4.9",
"80.03±2.3",
"83.25±1.7",
"86.55±1.4",
"我们提出的HyperFormer比我们提出的",
"16",
"81.97±1.3",
"85.06±1.1",
"85.85±1.4",
"SciTail",
"Adapterst方法获得了一致的改进。我们将这",
"32",
"100",
"84.04±0.7",
"88.22±1.3",
"88.52±0.7",
"500",
"88.07±0.7",
"91.27±0.8",
"91.44±0.6",
"1000",
"种改进归因于通过我们的超网络学习跨任务共",
"88.77±1.0",
"91.75±0.8",
"92.34±0.5",
"享信息的能力。有趣的是,HyperFormer++",
"2000",
"91.01±1.0",
"92.72±0.5",
"93.40±0.2",
"获得与HyperFormer相似的性能,同时具有超",
"4",
"57.78±10.9",
"51.11±9.2",
"60.74±16.66",
"过一个数量级的参数效率。因此,适配器模块",
"74.81±5.4",
"76.29±4.45",
"77.04±7.2",
"16",
"80.0±7.6",
"81.48±6.2",
"74.81±5.9",
"似乎足够相似,因此它们的大部分信息可以通",
"CB",
"32",
"100",
"85.93±5.4",
"80.74±7.6",
"87.41±2.96",
"250",
"过一个适当条件的网络进行建模",
"85.19±4.7",
"86.67±5.0",
"89.63±4.32",
"与所有参数的单任务微调相比,我们的方法",
"QuestionClassification",
"平均将结果提高了0。45forT5sMALL和1。81fon",
"28.11±5.9",
"23.61±7.7",
"28.85±6.9",
"49.40±9.5",
"4",
"T5BASE,对CoLA等低资源数据集进行了实质",
"16",
"40.08±12.6",
"43.45±14.0",
"32",
"62.49±6.2",
"59.6±7.0",
"68.94±7.5",
"TREC",
"性改进(63。73对54。85)和RTE(75。36对",
"100",
"87.79±0.7",
"78.07±3.8",
"88.42±1.7",
"67。39)由于共享超网络捕获共享信息并实现",
"93.65±1.7",
"94.78±1.4",
"93.57±1.3",
"500",
"积极的传输效果",
"1000",
"95.5±0.9",
"96.06±0.4",
"96.72±1.3",
"96.87±1.3",
"97.03±0.7",
"96.92±0.9",
"我们还报告了表E1中所有方法的参数和可",
"2000",
"训练参数的总数。对于基于适配器的方法,参",
"QuestionAnswering",
"50.49±11.1",
"53.48±2.8",
"48.03±4.8",
"数的数量根据适配器的大小而变化(我们使用",
"4",
"16",
"56.50±7.1",
"51.37±6.5",
"50.21±7.9",
"r=32报告所有数字)。HyperFormer+十BAsE相",
"58.43±4.9",
"58.37±3.7",
"54.52±5.1",
"32",
"对于T5BASE的参数数量的倍数是1.02×,每个",
"BoolQ",
"100",
"60.10±2.4",
"58.60±1.6",
"62.03±2.0",
"500",
"66.49±1.2",
"66.72±0.7",
"70.04±1.4",
"任务只有0.29%可训练参数。请注意,通过保持",
"69.01±1.1",
"72.35±1.7",
"70.21±1.3",
"1000",
"AdapterssMALL和AdaptersBAsE的输出层冻结,",
"2000",
"71.58±0.8",
"73.60±0.8",
"74.94±0.6",
"与直接应用先前的工作(Houlsbyetal.,2019)相",
"Sentiment Analysis",
"比,它们分别需要5.51×和2.53×更少的参数。",
"77.23±3.0",
"81.55±1.9",
"81.77±1.8",
"82.74±1.7",
"4",
"尽管使用更有效的基线,与AdapterSBAsE相比,",
"16",
"82.54±1.0",
"84.06±0.7",
"32",
"83.42±1.0",
"83.39±0.8",
"84.64±0.4",
"IMDB",
"HyperFormer++BAse需要3x更少的可训练参",
"100",
"84.58±0.6",
"83.35±0.8",
"84.74±0.4",
"数",
"500",
"84.99±0.3",
"85.37±0.5",
"86.00±0.2",
"85.50±0.1",
"86.27±0.4",
"86.37±0.4",
"3.2Few-shotDomainTransfer",
"1000",
"2000",
"86.01±0.2",
"86.57±0.2",
"86.60±0.1",
"4",
"76.85±14.3",
"81.37±13.1",
"90.25±1.0",
"90.36±1.2",
"最后,我们评估经过训练的HyperFormer如",
"16",
"87.84±1.5",
"何推广到新任务。我们评估5个任务和7个",
"91.08±0.2",
"89.22±0.7",
"91.09±0.5",
"91.15±0.5",
"Yelppolarity",
"100",
"数据集的性能。特别是,我们考虑1)来自",
"32",
"90.15±0.7",
"91.06±0.6",
"90.92±0.2",
"90.19±0.7",
"500",
"91.52±0.2",
"92.09±0.4",
"92.50±0.2",
"SuperGLUEE(Wangetal.,2019a)的自然语",
"1000",
"91.32±0.2",
"92.26±0.6",
"言推理(NLI)数据集SciTailE(Khotetal.,",
"2000",
"91.68±0.1",
"92.36±0.4",
"92.70±0.1",
"2018)和CBE???)问题回答(QA)数据集",
"ParaphraseDetection",
"BoolQE(Clarketal.,2019a);3)情绪分析数据",
"4",
"53.89±3.6",
"55.69±9.0",
"55.58±7.5",
"集IMDBE(Maasetal.,2011)和YelpPolarityE",
"16",
"54.18±1.0",
"63.38±5.3",
"72.71±1.1",
"32",
"55.23±3.2",
"68.78±1.5",
"73.39±2.1",
"PAWS",
"(Zhangetal.,2015)分类数据集",
"100",
"71.51±2.4",
"73.82±1.6",
"78.24±2.1",
"对于CB和BoolQ,由于测试集不可用,因此我",
"500",
"82.81±1.0",
"85.36±0.6",
"86.3±1.1",
"们将验证集分成两半,将一半用于验证,将另",
"1000",
"85.67±0.7",
"87.89±0.6",
"89.12±0.5",
"90.41±0.6",
"90.87±0.3",
"88.33±0.6",
"半用于测试。对于Yelp极性、TREC和IMDB",
"2000",
"由于验证集不可用,我们同样将测试集划分为",
"Table 2: Few-shot domain transfer results of the",
"验证集。对于其余部分,我们报告原始测试集",
"models trained on GLUE averaged across 5 seeds. We",
"我们考虑在表E1中报告的GLUE上训练的",
"compute accuracyforall datasets.",
"模型,并在对每个目标训练数据进行几次微调"
] |
{
"arxiv_id": "2106.04489",
"language": "zh",
"page_idx": 4
}
|
||
2306.06510-zh-1
|
2306.06510-zh-1.jpg
|
这保证了$z$ 具有关于 $y$ (Ganin &Lempitsky,2014; Ben-David et al., 2010; Zhao et al., 2018) 的预测信息。这可能仍然意味着联合分布$p_{\boldsymbol{z},\boldsymbol{y}|\boldsymbol{u}}$可能在域$u_1$之间不同,。,$\boldsymbol{u}_M$,导致目标域的预测性能可能较差。已尝试使用深度生成模型并强制解开潜在表示 (Lu et al., 2020; Cai et al., 2019) 来解决问题。然而,这些努力都没有建立$p_{\boldsymbol{x},\boldsymbol{y}|\boldsymbol{u}^\mathrm{\tau}}$的可识别性
由于深度架构是在高维数据集上实现强大性能的必要条件,因此将其表示能力与跨域联合分布的最小变化概念相结合已变得至关重要。实际上,可以对数据生成过程做出合理的假设,并表示$p_{\boldsymbol{x},\boldsymbol{y}|\boldsymbol{u}}$跨域的最小变化,以便$z$和$p_{\boldsymbol{x},\boldsymbol{y}|\boldsymbol{u}}$在目标域中都是可识别的。
在本文中,我们根据数据生成过程假设来表示变量$x$ $,y$和$z$。为了使跨域的联合分布$p_\boldsymbol{x},\boldsymbol{y},\boldsymbol{z}|\boldsymbol{u}$的变化最小,我们只允许潜在空间的分区在域上变化,并限制域变化影响的灵活性。(1)在此生成过程下,我们表明生成过程中的变化部分和不变部分都是(部分)可识别的,这产生了一种将源域和目标域对齐的原则性方法。(2)利用可识别性结果,我们提出了一种识别潜在表示并利用该表示对目标域进行最佳预测的算法。(3) 我们证明了我们的算法在基准数据集上超过了最先进的 UDA 算法
## 2. Related Work
域自适应 (Cai et al., 2019; Courty et al., 2017; Deng et al., 2019; Tzeng et al., 2017; Wang et al., 2019; Xu et al., 2019; Zhang et al., 2017a; 2013; 2018; 2019; Mao et al., 2021; Stojanov et al., 2021; Wu et al., 2022; Eastwood et al., 2022; Tong et al., 2022; Zhu et al., 2022; Xu et al., 2022; Berthelot et al., 2022; Kirchmeyer et al., 2022)是机器学习和计算机视觉中一个积极研究的研究领域。一个流行的方向是不变表示学习,由(Ganin $\&$ Lempitsky,2014)引人。具体来说,已经以几种不同的方式对其进行了连续改进,以确保不变表示$z$包含有关目标域的有意义的信息。例如,在 (Bousmalis et al.,2016)中,$\boldsymbol{z}$被分为变化部分和不变部分,并且除了预测$y$ (来自共享部分)之外,还添加了$z$必须能够重建原始数据的约束。此外,还使用伪标签来匹配跨域的联合分布$p_{\boldsymbol{z},\boldsymbol{y}}$,使用内核方法 (Long et al., 2017a;b)。在$z$中确保更多结构的另一种方法是假设类条件分布$p_{\boldsymbol{x}\mid\boldsymbol{y}}$具有聚类结构 ,并正则化神经网络算法以防止决策边界越过高密度区域 (Shu et al., 2018; Xie et al., 2018)。在这些研究中,$p_{\boldsymbol{y}}$通常被认为在不同领域保持不变。放弃这个假设已经在 (Wu et al., 2019; Guo et al., 2020) 中进行了研究。此外,还研究了标签集不完全匹配的设置 (Saito et al., 2020) 。尽管研究用于域自适应的表示学习的工作体量庞大而广泛, 但即使在无限样本情况下,仍然无法保证学习的表示将有助于学习目标域中的最佳预测器。此外,不变表示学习还揭示了多个源的自适应 (Xu et al., 2018; Peng et al., 2019; Wang et al., 2020; Li et al., 2021; Park & Lee, 2021)
<FigureHere>
Figure 1. The generating process: The gray shade of nodes
indicates that the variable is observable.
沿着生成模型的工作线,对生成模型和无监督学习的研究已经取得了进展,以更好地理解潜在表示的可识别性的特性,这意味着捕获生成数据的一些潜在变化因素。也就是说,独立成分分析(ICA)是学习具有可识别性结果的潜在表示的经典方法,其中假设生成过程由线性混合函数 (Comon, 1994; Bell & Sejnowski, $1995; \text{ Hyv\" {a}rinen et al. , 2001) 组 成 。非 线 性 ICA 中 的 }$ 一个主要问题是,在不假设源分布或生成过程的情况下,该模型是严重不可识别的 (Hyvärinen &Pajunen, 1999) 。最近的突破引人了辅助变量 ,e.g.,域索引 ,提高(Hyvarinen et al., 2019; Sorrenson et al., 2020; Hälvä & Hyvarinen, 2020; Lachapelle et al., 2021; Khemakhem et al., 2020a; von Kügelgen et al., 2021; Lu et al., 2020) 的可识别性结果。这些作品旨在识别和解开潜在表示的组成部分,同时假设所有这些组成部分都在跨域变化
在具有数据增强的自监督学习的上下文中,von Kügelgen et al. (2021)考虑了共享部分的可识别性, 该部分在视图之间保持不变。但是,此工作线假定两个域中的成对实例的可用性。在分布外泛化的上下文中,Lu et al. (2020) 将 iVAE$\underline{\mathrm{E}}($Khemakhem et al., 2020a) 的可识别性结果扩展到不一定被分解的一般指数族。然而,这项研究没有利用这样一个事实,即潜在的表示应该包含不变的信息,这些信息可以从对应于跨域变化的部分中分离出来。最重要的是,本研究求助于找到$z$的条件不变子部分,即使$z$的某些部分可能不是条件不变的,但仍与预测$y$相关。
在本文中,我们利用有关数据生成过程的现实假设,以可证明地识别源域和目标域中潜在表示的变化和不变方面。在此过程中,我们放弃了有关$z$的任何参数假设,并且我们允许变化和不变部分都具有有关$y$的预测信息。我们证明了我们可以以有原则的方式对齐域并进行预测,并且我们提出了一种自动编码器算法来解决实践中的问题
## 3. High-level Invariance for Domain Adaptation
在本节中,我们将在图$\boxed{\mathrm{E}}1$ 和公式$\boxed{\mathrm{E}}1$ 中介绍我们的数据生成过程,并讨论如何利用此潜在变量模型来处理UDA
|
[
[
0.08905029296875,
0.08709716796875,
0.473876953125,
0.08709716796875,
0.473876953125,
0.10101318359375,
0.08905029296875,
0.10101318359375
],
[
0.0906982421875,
0.10162353515625,
0.47216796875,
0.10162353515625,
0.47216796875,
0.11553955078125,
0.0906982421875,
0.11553955078125
],
[
0.0906982421875,
0.117431640625,
0.47216796875,
0.117431640625,
0.47216796875,
0.1319580078125,
0.0906982421875,
0.1319580078125
],
[
0.08905029296875,
0.1300048828125,
0.473876953125,
0.1307373046875,
0.473876953125,
0.1483154296875,
0.08905029296875,
0.147705078125
],
[
0.08905029296875,
0.146484375,
0.471435546875,
0.1458740234375,
0.471435546875,
0.160400390625,
0.08905029296875,
0.1610107421875
],
[
0.08905029296875,
0.1610107421875,
0.47216796875,
0.1622314453125,
0.47216796875,
0.1767578125,
0.08905029296875,
0.175537109375
],
[
0.08905029296875,
0.177978515625,
0.316162109375,
0.177978515625,
0.316162109375,
0.1925048828125,
0.08905029296875,
0.1925048828125
],
[
0.09234619140625,
0.199462890625,
0.47216796875,
0.199462890625,
0.47216796875,
0.21337890625,
0.09234619140625,
0.21337890625
],
[
0.0906982421875,
0.2139892578125,
0.473876953125,
0.2139892578125,
0.473876953125,
0.2279052734375,
0.0906982421875,
0.2279052734375
],
[
0.5009765625,
0.21337890625,
0.8857421875,
0.21337890625,
0.8857421875,
0.2279052734375,
0.5009765625,
0.2279052734375
],
[
0.08905029296875,
0.2291259765625,
0.473876953125,
0.2298583984375,
0.473876953125,
0.2442626953125,
0.08905029296875,
0.24365234375
],
[
0.5,
0.2279052734375,
0.76708984375,
0.2279052734375,
0.76708984375,
0.2412109375,
0.5,
0.2412109375
],
[
0.09234619140625,
0.24560546875,
0.473876953125,
0.24560546875,
0.473876953125,
0.260009765625,
0.09234619140625,
0.260009765625
],
[
0.08905029296875,
0.2587890625,
0.43310546875,
0.2587890625,
0.43310546875,
0.276611328125,
0.08905029296875,
0.276611328125
],
[
0.50244140625,
0.270751953125,
0.88232421875,
0.270751953125,
0.88232421875,
0.2841796875,
0.50244140625,
0.2841796875
],
[
0.08905029296875,
0.28271484375,
0.473876953125,
0.28271484375,
0.473876953125,
0.296630859375,
0.08905029296875,
0.296630859375
],
[
0.50244140625,
0.287353515625,
0.8837890625,
0.287353515625,
0.8837890625,
0.29736328125,
0.50244140625,
0.29736328125
],
[
0.0906982421875,
0.29736328125,
0.4755859375,
0.29736328125,
0.4755859375,
0.31494140625,
0.0906982421875,
0.31494140625
],
[
0.50341796875,
0.302978515625,
0.88232421875,
0.302978515625,
0.88232421875,
0.313232421875,
0.50341796875,
0.313232421875
],
[
0.09234619140625,
0.313232421875,
0.473876953125,
0.313232421875,
0.473876953125,
0.326904296875,
0.09234619140625,
0.326904296875
],
[
0.50244140625,
0.31640625,
0.88232421875,
0.31640625,
0.88232421875,
0.330078125,
0.50244140625,
0.330078125
],
[
0.09234619140625,
0.330078125,
0.471435546875,
0.330078125,
0.471435546875,
0.34033203125,
0.09234619140625,
0.34033203125
],
[
0.50341796875,
0.333251953125,
0.8837890625,
0.333251953125,
0.8837890625,
0.343505859375,
0.50341796875,
0.343505859375
],
[
0.09234619140625,
0.34521484375,
0.47216796875,
0.34521484375,
0.47216796875,
0.35595703125,
0.09234619140625,
0.35595703125
],
[
0.5009765625,
0.3466796875,
0.88232421875,
0.3466796875,
0.88232421875,
0.35986328125,
0.5009765625,
0.35986328125
],
[
0.0931396484375,
0.35986328125,
0.471435546875,
0.35986328125,
0.471435546875,
0.37060546875,
0.0931396484375,
0.37060546875
],
[
0.50244140625,
0.361083984375,
0.8837890625,
0.361083984375,
0.8837890625,
0.375,
0.50244140625,
0.375
],
[
0.0906982421875,
0.373779296875,
0.47216796875,
0.373779296875,
0.47216796875,
0.386962890625,
0.0906982421875,
0.386962890625
],
[
0.50634765625,
0.376953125,
0.8837890625,
0.376953125,
0.8837890625,
0.39013671875,
0.50634765625,
0.39013671875
],
[
0.09234619140625,
0.39013671875,
0.47216796875,
0.39013671875,
0.47216796875,
0.40087890625,
0.09234619140625,
0.40087890625
],
[
0.5009765625,
0.39013671875,
0.88232421875,
0.391357421875,
0.88232421875,
0.406005859375,
0.5009765625,
0.40478515625
],
[
0.08905029296875,
0.404052734375,
0.473876953125,
0.404052734375,
0.473876953125,
0.417236328125,
0.08905029296875,
0.417236328125
],
[
0.50244140625,
0.4072265625,
0.8837890625,
0.40771484375,
0.8837890625,
0.419189453125,
0.50244140625,
0.41845703125
],
[
0.08905029296875,
0.416748046875,
0.1871337890625,
0.41845703125,
0.1871337890625,
0.43310546875,
0.08905029296875,
0.43115234375
],
[
0.50341796875,
0.421630859375,
0.8857421875,
0.421630859375,
0.8857421875,
0.43505859375,
0.50341796875,
0.43505859375
],
[
0.50244140625,
0.4375,
0.8837890625,
0.4375,
0.8837890625,
0.45068359375,
0.50244140625,
0.45068359375
],
[
0.0882568359375,
0.453857421875,
0.2344970703125,
0.453857421875,
0.2344970703125,
0.46728515625,
0.0882568359375,
0.46728515625
],
[
0.50341796875,
0.453857421875,
0.88232421875,
0.453857421875,
0.88232421875,
0.464111328125,
0.50341796875,
0.464111328125
],
[
0.50341796875,
0.468505859375,
0.88232421875,
0.468505859375,
0.88232421875,
0.479248046875,
0.50341796875,
0.479248046875
],
[
0.0882568359375,
0.477783203125,
0.473876953125,
0.479248046875,
0.473876953125,
0.49365234375,
0.0882568359375,
0.492431640625
],
[
0.5,
0.48095703125,
0.8857421875,
0.481689453125,
0.8857421875,
0.49560546875,
0.5,
0.494384765625
],
[
0.08905029296875,
0.494384765625,
0.473876953125,
0.494384765625,
0.473876953125,
0.50830078125,
0.08905029296875,
0.50830078125
],
[
0.5009765625,
0.49755859375,
0.51953125,
0.49755859375,
0.51953125,
0.51025390625,
0.5009765625,
0.51025390625
],
[
0.0882568359375,
0.51025390625,
0.47216796875,
0.51025390625,
0.47216796875,
0.5234375,
0.0882568359375,
0.5234375
],
[
0.08905029296875,
0.5244140625,
0.473876953125,
0.5244140625,
0.473876953125,
0.53857421875,
0.08905029296875,
0.53857421875
],
[
0.50244140625,
0.521484375,
0.88134765625,
0.521484375,
0.88134765625,
0.5322265625,
0.50244140625,
0.5322265625
],
[
0.5009765625,
0.53515625,
0.88232421875,
0.53515625,
0.88232421875,
0.548828125,
0.5009765625,
0.548828125
],
[
0.0906982421875,
0.54150390625,
0.471435546875,
0.54150390625,
0.471435546875,
0.5517578125,
0.0906982421875,
0.5517578125
],
[
0.08905029296875,
0.5546875,
0.47216796875,
0.5546875,
0.47216796875,
0.568359375,
0.08905029296875,
0.568359375
],
[
0.5009765625,
0.5498046875,
0.8837890625,
0.55029296875,
0.8837890625,
0.564453125,
0.5009765625,
0.56298828125
],
[
0.08905029296875,
0.568359375,
0.471435546875,
0.568359375,
0.471435546875,
0.58203125,
0.08905029296875,
0.58203125
],
[
0.50244140625,
0.56640625,
0.88232421875,
0.56640625,
0.88232421875,
0.5771484375,
0.50244140625,
0.5771484375
],
[
0.0906982421875,
0.58544921875,
0.47216796875,
0.58544921875,
0.47216796875,
0.5986328125,
0.0906982421875,
0.5986328125
],
[
0.50341796875,
0.580078125,
0.88232421875,
0.580078125,
0.88232421875,
0.59326171875,
0.50341796875,
0.59326171875
],
[
0.50244140625,
0.59521484375,
0.8837890625,
0.59521484375,
0.8837890625,
0.609375,
0.50244140625,
0.609375
],
[
0.09234619140625,
0.6015625,
0.47216796875,
0.6015625,
0.47216796875,
0.6123046875,
0.09234619140625,
0.6123046875
],
[
0.09234619140625,
0.61572265625,
0.473876953125,
0.61572265625,
0.473876953125,
0.62890625,
0.09234619140625,
0.62890625
],
[
0.5009765625,
0.60986328125,
0.8837890625,
0.611328125,
0.8837890625,
0.625,
0.5009765625,
0.62353515625
],
[
0.08905029296875,
0.630859375,
0.473876953125,
0.62890625,
0.473876953125,
0.642578125,
0.08905029296875,
0.64453125
],
[
0.50244140625,
0.62548828125,
0.8857421875,
0.62548828125,
0.8857421875,
0.6396484375,
0.50244140625,
0.6396484375
],
[
0.0906982421875,
0.64599609375,
0.47216796875,
0.64599609375,
0.47216796875,
0.6591796875,
0.0906982421875,
0.6591796875
],
[
0.50244140625,
0.6416015625,
0.8857421875,
0.6416015625,
0.8857421875,
0.65478515625,
0.50244140625,
0.65478515625
],
[
0.09234619140625,
0.6611328125,
0.47216796875,
0.6611328125,
0.47216796875,
0.6748046875,
0.09234619140625,
0.6748046875
],
[
0.50244140625,
0.65576171875,
0.8837890625,
0.65576171875,
0.8837890625,
0.66943359375,
0.50244140625,
0.66943359375
],
[
0.0906982421875,
0.67529296875,
0.473876953125,
0.67529296875,
0.473876953125,
0.689453125,
0.0906982421875,
0.689453125
],
[
0.50341796875,
0.67236328125,
0.80615234375,
0.67236328125,
0.80615234375,
0.68310546875,
0.50341796875,
0.68310546875
],
[
0.09234619140625,
0.69140625,
0.47216796875,
0.69140625,
0.47216796875,
0.70556640625,
0.09234619140625,
0.70556640625
],
[
0.50244140625,
0.693359375,
0.8837890625,
0.693359375,
0.8837890625,
0.70703125,
0.50244140625,
0.70703125
],
[
0.08905029296875,
0.70556640625,
0.473876953125,
0.70556640625,
0.473876953125,
0.7197265625,
0.08905029296875,
0.7197265625
],
[
0.50244140625,
0.708984375,
0.8837890625,
0.708984375,
0.8837890625,
0.72265625,
0.50244140625,
0.72265625
],
[
0.08905029296875,
0.7197265625,
0.473876953125,
0.72021484375,
0.473876953125,
0.73486328125,
0.08905029296875,
0.734375
],
[
0.50244140625,
0.72607421875,
0.8837890625,
0.72607421875,
0.8837890625,
0.736328125,
0.50244140625,
0.736328125
],
[
0.0906982421875,
0.73486328125,
0.473876953125,
0.73486328125,
0.473876953125,
0.74853515625,
0.0906982421875,
0.74853515625
],
[
0.5009765625,
0.7392578125,
0.8837890625,
0.7392578125,
0.8837890625,
0.75244140625,
0.5009765625,
0.75244140625
],
[
0.0882568359375,
0.74853515625,
0.4755859375,
0.75,
0.4755859375,
0.767578125,
0.0882568359375,
0.7666015625
],
[
0.5009765625,
0.75390625,
0.8857421875,
0.75390625,
0.8857421875,
0.767578125,
0.5009765625,
0.767578125
],
[
0.0931396484375,
0.767578125,
0.471435546875,
0.767578125,
0.471435546875,
0.77783203125,
0.0931396484375,
0.77783203125
],
[
0.5009765625,
0.76953125,
0.8837890625,
0.76953125,
0.8837890625,
0.78271484375,
0.5009765625,
0.78271484375
],
[
0.08905029296875,
0.78076171875,
0.473876953125,
0.78076171875,
0.473876953125,
0.79443359375,
0.08905029296875,
0.79443359375
],
[
0.50244140625,
0.7861328125,
0.63134765625,
0.7861328125,
0.63134765625,
0.796875,
0.50244140625,
0.796875
],
[
0.0931396484375,
0.796875,
0.473876953125,
0.796875,
0.473876953125,
0.81005859375,
0.0931396484375,
0.81005859375
],
[
0.09234619140625,
0.81298828125,
0.468017578125,
0.81298828125,
0.468017578125,
0.82373046875,
0.09234619140625,
0.82373046875
],
[
0.496826171875,
0.8193359375,
0.8037109375,
0.8193359375,
0.8037109375,
0.83349609375,
0.496826171875,
0.83349609375
],
[
0.0906982421875,
0.8271484375,
0.47216796875,
0.8271484375,
0.47216796875,
0.84033203125,
0.0906982421875,
0.84033203125
],
[
0.521484375,
0.8359375,
0.62109375,
0.83837890625,
0.62109375,
0.85302734375,
0.521484375,
0.85107421875
],
[
0.09234619140625,
0.84326171875,
0.471435546875,
0.84326171875,
0.471435546875,
0.85400390625,
0.09234619140625,
0.85400390625
],
[
0.0882568359375,
0.85595703125,
0.47216796875,
0.85791015625,
0.47216796875,
0.8720703125,
0.0882568359375,
0.869140625
],
[
0.50244140625,
0.861328125,
0.8837890625,
0.861328125,
0.8837890625,
0.87548828125,
0.50244140625,
0.87548828125
],
[
0.08905029296875,
0.87255859375,
0.473876953125,
0.87255859375,
0.473876953125,
0.88623046875,
0.08905029296875,
0.88623046875
],
[
0.50244140625,
0.876953125,
0.8857421875,
0.876953125,
0.8857421875,
0.89013671875,
0.50244140625,
0.89013671875
],
[
0.08905029296875,
0.88818359375,
0.16259765625,
0.88818359375,
0.16259765625,
0.8994140625,
0.08905029296875,
0.8994140625
],
[
0.50244140625,
0.89306640625,
0.53759765625,
0.89306640625,
0.53759765625,
0.90478515625,
0.50244140625,
0.90478515625
]
] |
[
"这保证了z具有关于y(Ganin&Lempitsky,2014;",
"Ben-Davidetal.,2010;Zhaoetal.,2018)的预测信息。",
"这可能仍然意味着联合分布pz,ulu可能在域ui之间",
"不同,。,uM,导致目标域的预测性能可能较差。已尝",
"试使用深度生成模型并强制解开潜在表示(Luetal.",
"2020;Caietal.,2019)来解决问题。然而,这些努力",
"都没有建立pa,uluT的可识别性",
"由于深度架构是在高维数据集上实现强大性能的必要",
"条件,因此将其表示能力与跨域联合分布的最小变化",
"Figure 1. The generating process : The gray shade of nodes",
"概念相结合已变得至关重要。实际上,可以对数据生",
"indicates that the variable is observable.",
"成过程做出合理的假设,并表示Pa,yu跨域的最小变",
"化,以便≥和Pa,ulu在目标域中都是可识别的。",
"沿着生成模型的工作线,对生成模型和无监督学习的",
"在本文中,我们根据数据生成过程假设来表示变量",
"研究已经取得了进展,以更好地理解潜在表示的可识",
",y和z。为了使跨域的联合分布 Pa.y,zlu的变化最",
"别性的特性,这意味着捕获生成数据的一些潜在变化",
"小,我们只允许潜在空间的分区在域上变化,并限制",
"因素。也就是说,独立成分分析(ICA)是学习具有可",
"域变化影响的灵活性。(1)在此生成过程下,我们表明",
"识别性结果的潜在表示的经典方法,其中假设生成过",
"生成过程中的变化部分和不变部分都是(部分)可识",
"程由线性混合函数(Comon,1994;Bell&Sejnowski",
"别的,这产生了一种将源域和目标域对齐的原则性方",
"1995;Hyvarinenetal.,2001)组成。非线性ICA中的",
"法。(2)利用可识别性结果,我们提出了一种识别潜在",
"一个主要问题是,在不假设源分布或生成过程的情况",
"表示并利用该表示对目标域进行最佳预测的算法。(3)",
"下,该模型是严重不可识别的(Hyvarinen&Pajunen",
"我们证明了我们的算法在基准数据集上超过了最先进",
"1999)。最近的突破引入了辅助变量,e。g。域索引,提高",
"的UDA算法",
"(Hyvarinen et al., 2019; Sorrenson et al., 2020; Halva &",
"Hyvarinen, 2020; Lachapelle et al.,2021; Khemakhem",
"2. Related Work",
"et al.,2020a:von Kiigelgen et al.,2021Lu et al.,2020)",
"的可识别性结果。这些作品旨在识别和解开潜在表示",
"域自适应(Cai et al.,2019;Courty et al.,2017;Deng",
"的组成部分,同时假设所有这些组成部分都在跨域变",
"et al., 2019; Tzeng et al., 2017; Wang et al., 2019; Xu",
"化",
"et al., 2019; Zhang et al., 2017a; 2013; 2018; 2019; Ma0",
"et al., 2021; Stojanov et al., 2021; Wu et al., 2022; East",
"在具有数据增强的自监督学习的上下文中,vo1",
"Kigelgenetal.(2021)考虑了共享部分的可识别性",
"woodet al.,2022:Tong etal.,2022:Zhuet al.,2022:Xu",
"et al., 2022; Berthelot et al., 2022; Kirchmeyer et al.,",
"该部分在视图之间保持不变。但是,此工作线假定两",
"2022)是机器学习和计算机视觉中一个积极研究的研",
"个域中的成对实例的可用性。在分布外泛化的上下",
"究领域。一个流行的方向是不变表示学习,由(Ganin",
"文中,Lu et al.(2020)将iVAEE(Khemakhem et al.",
"2020a)的可识别性结果扩展到不一定被分解的一般指",
"&Lempitsky,2014)引人。具体来说,已经以几种不",
"同的方式对其进行了连续改进,以确保不变表示之包",
"数族。然而,这项研究没有利用这样一个事实,即潜",
"含有关目标域的有意义的信息。例如,在(Bousmalis",
"在的表示应该包含不变的信息,这些信息可以从对应",
"etal.,2016)中,之被分为变化部分和不变部分,并且",
"于跨域变化的部分中分离出来。最重要的是,本研究",
"除了预测9(来自共享部分)之外,还添加了必须",
"求助于找到z的条件不变子部分,即使z的某些部分",
"能够重建原始数据的约束。此外,还使用伪标签来匹",
"可能不是条件不变的,但仍与预测y相关。",
"配跨域的联合分布pz.y,使用内核方法(Longetal.,",
"在本文中,我们利用有关数据生成过程的现实假设,以",
"2017ab)。在z中确保更多结构的另一种方法是假设",
"可证明地识别源域和目标域中潜在表示的变化和不变",
"类条件分布Palu具有聚类结构,并正则化神经网络算",
"方面。在此过程中,我们放弃有关之的任何参数假",
"法以防止决策边界越过高密度区域(Shuetal,2018",
"设,并且我们允许变化和不变部分都具有有关9的预",
"Xie et al.,2018)。在这些研究中,Py通常被认为在",
"测信息。我们证明了我们可以以有原则的方式对齐域",
"不同领域保持不变。放弃这个假设已经在(wuetal.",
"并进行预测,并且我们提出了一种自动编码器算法来",
"2019;Guoetal.,2020)中进行了研究。此外,还研究",
"解决实践中的问题",
"了标签集不完全匹配的设置(Saitoetal.,2020)。尽管",
"研究用于域自适应的表示学习的工作体量庞大而广泛",
"3. High-level Invariance for Domain",
"但即使在无限样本情况下,仍然无法保证学习的表示",
"Adaptation",
"将有助于学习自标域中的最佳预测器。此外,不变表示",
"学习还揭示了多个源的自适应(Xuetal.,2018;Peng",
"在本节中,我们将在图E1和公式E1中介绍我们的数",
"et al., 2019; Wang et al., 2020; Li et al., 2021; Park &",
"据生成过程,并讨论如何利用此潜在变量模型来处理",
"Lee,2021",
"UDA"
] |
{
"arxiv_id": "2306.06510",
"language": "zh",
"page_idx": 1
}
|
||
2306.06510-zh-3
|
2306.06510-zh-3.jpg
|
where $q_i$ is the log density of the conditional dis-
${\mathrm{tribution, ~i. e. , ~}q_{i}: = \log p_{z_{i}| \boldsymbol{u}}}$ .
$\bullet$ A3 $\underline{(\mathrm{Linear~independence})}:$For any $z_s\in\mathcal{Z}_s\subseteq$ $\mathbb{R}^{n_s}{\frac{\mathrm{~,~there~exist~}2n_s+1}}$values of $\boldsymbol u$,i.e.$,\boldsymbol u_j$ with $j=0,1,\ldots,2n_{s}$ , such that the $2n_{s}$ vectors $w(\boldsymbol{z}_{s},\boldsymbol{u}_{j})-\boldsymbol{w}(\boldsymbol{z}_{s},\boldsymbol{u}_{0})$with$j=1,...,2n_{s}$,are linearly independent, where vector $w(\boldsymbol z_s,\boldsymbol{u})$ is defined as follows:
$$\boldsymbol{w}(\boldsymbol{z}_{s},\boldsymbol{u})=\Big(\frac{\partial q_{n_{c}+1}\left(z_{n_{c}+1},\boldsymbol{u}\right)}{\partial z_{n_{c}+1}},\ldots,\frac{\partial q_{n}\left(z_{n},\boldsymbol{u}\right)}{\partial z_{n}},\\\frac{\partial^{2}q_{n_{c}+1}\left(z_{n_{c}+1},\boldsymbol{u}\right)}{\partial z_{n_{c}+1}^{2}},\ldots,\frac{\partial^{2}q_{n}\left(z_{n},\boldsymbol{u}\right)}{\partial z_{n}^{2}}\Big).\quad(2$$
$\begin{array}{c}\mathrm{By~learning~(\hat{g},p_{\hat{\boldsymbol{z}}_{c}},p_{\hat{\boldsymbol{z}}_{s}|\boldsymbol{u})}~to~achieve~Equation~??,~z_{s}}\end{array}$
is component-wise identifiable.
可以在附录 A.1 中找到证明。我们注意到这三个假设都是非线性 ICA 文献中的标准 (Hyvarinen et al., 2019; Khemakhem et al., 2020a)。特别是,假设 A3的直觉是$p_{\boldsymbol{z}_s|\boldsymbol{u}}$在域$\boldsymbol u$的。我们在 6节中证明,这种可识别性可以在很大程度上通过不同均值和方差的高斯分布来实现
值得注意的是,定理$\overline{\mathrm{E}}$4.1 体现了最小变化的好处- $n_s$ 越小,线性独立条件越容易成立,因为我们只需要具有足够可变性的$2n_s+1$域,而先前的工作通常需要$2n+1$足够可变的域。我们注意到,在许多 DA 问题中,域之间的关系是显式的,因此内在变化的维数很小。我们的结果提供了有关固定数量的域是否足以满足具有不同变化水平的 DA 的见解
变化部分的可识别性对于我们的方法至关重要。只有恢复变化的组件$z_\mathrm{s}$和相应的域影响$f_{\boldsymbol{u}}$,我们才能正确地将各个域与$\tilde{z}_s$对齐并学习分类器
4.2. Identifability of the Invariant Subspace
在本节中,我们证明了不变子空间是以块方式可识别的。我们的目标是表明估计的不变部分保留了有关真实不变部分的信息,并且没有信息从变化的组件中混人。正式地,我们想证明在估计的不变部分$\hat{z}_c$和真正的不变部分$z_c$之间存在可逆映射$h_c^\prime:\mathcal{Z}_c\to\mathcal{Z}_c.$ s。t。$\hat{\boldsymbol{z}}_c=h_c^{\prime}(\boldsymbol{z}_c)$。分块可辨识性的思想出现在独立子空间分析 (Casey &Westner, 2000; Hyvärinen & Hoyer, 2000; Le et al., 2011; Theis, 2006) 中,最近的工作 (von Kügelgen et al., 2021)在非线性 ICA 场景中解决了它
在以下定理中,我们证明了可以通过估计的数据生成过程来实现不变子空间的逐块可识别性。请注意,与针对不断变化的组件实现的组件式可识别性相比,块式可识别性是一种较弱的可识别性概念。因此,我们只要求不变潜变量的部分可辨识性。
Theorem 4.2. We follow the data generation process
in Equation 1 and make Assumption A1-A2.
In addition, we make the following assumption:
$\bullet$ A4 $\underline {( }$Domain Variability):For any set $A_{\boldsymbol{z}}\subseteq\mathcal{Z}$ with
the following two properties:
-a$)A_{\boldsymbol{z}}$has nonzero probability measure, i.e.
$\mathbb{P}^{\prime}\left[\{\boldsymbol{z}\in A_{\boldsymbol{z}}\}|\{\boldsymbol{u}=\boldsymbol{u}^{\prime}\}\right]>0$ for any $\boldsymbol u^\prime\in\mathcal{U}.$
- b) $A_{\boldsymbol{z}}$cannot be expressed as $B_{\boldsymbol{z}_c}\times\mathcal{Z}_{\mathrm{s}}$ for any
$B_{z_c}\subset \mathcal{Z} _c$ .
$\exists \boldsymbol{u}_1, \boldsymbol{u}_2\in \mathcal{U}$ ,such that
$$\int_{\boldsymbol{z}\in A_{\boldsymbol{z}}}p_{\boldsymbol{z}|\boldsymbol{u}}(\boldsymbol{z}|\boldsymbol{u}_{1})d\boldsymbol{z}\neq\int_{\boldsymbol{z}\in A_{\boldsymbol{z}}}p_{\boldsymbol{z}|\boldsymbol{u}}(\boldsymbol{z}|\boldsymbol{u}_{2})d\boldsymbol{z}.$$
$\mathop{\mathrm{With~the~model~}}(\hat{g},p_{\hat{\boldsymbol{z}}_{c}},p_{\hat{\boldsymbol{z}}_{s}|\boldsymbol{u}})\mathop{\mathrm{estimated~by~observing}}$
Equation ? ? , the $\boldsymbol{z}_{c}$ is block-wise identiffable.
### 证明被推迟到附录 A.2
节中,我们验证了具有均值和方差变化的高斯分布的
### 定理4.2
与假设 A3 一样,假设 A4 也要求分布$p_{\boldsymbol{z}|\boldsymbol{u}}$在域上充分更改。从直觉上讲,当域的数量很大并且域的分布差异很大时,拥有一个这样的子集$A_{\boldsymbol{z}}$的机会非常小,在该子集上所有域的分布都具有相等的概率度量。在 6我们注意到,与最近的工作$\mathbb{E}($von Kügelgen et al., 2021) 中的可识别性理论相比,我们的设置更具挑战性,因为 von Kügelgen et al. (2021) 中的理论依赖于增强数据的配对,而我们的不是-我们仅假设$p_{\boldsymbol{z}_c}$的不变边际分布在域上没有变化
## 4.3. Identifiability of the Joint Distribution in the Shared Space
配备了变化的组件和不变子空间的可识别性,我们现在讨论这些如何通过在源域标签上训练的分类器来导致目标域$u^{T}$的联合分布$p_{\boldsymbol{x},\boldsymbol{y}|\boldsymbol{u}^{\tau}}$的可识别性
由于$g$是部分可逆且部分可识别的(定理$\boxed{\mathrm{F}}4.1$和定理$\boxed{\mathrm{F4.2}}$),因此我们可以从任何域中的观测 $x$ 中恢复$z_c, z_s$ ,即我们可以部分识别联合分布$p_{\boldsymbol{x},\boldsymbol{z}_c,\boldsymbol{z}_s|\boldsymbol{u}}$。由于$z_s=f_{\boldsymbol{u}}(\tilde{z}_s)$和$f_\boldsymbol{u}$被约束为按分量单调且可逆, 因此我们可以进一步识别$p_{\boldsymbol{x},\boldsymbol{z}_c,\tilde{\boldsymbol{z}}_s|\boldsymbol{u}}$。还要注意,标签$y$有条件地独立于$x$ ,尤其是给定$z_c$和$\tilde{z}_s$的$u$
如图$\mathbb{E}$1 所示,这意味着$z_c$和$\tilde{z}_s$捕获了$x$中与MAXXXXTHX。因此,给定$z_c,\tilde{z}_s$,我们可以使用预测器$p_{\boldsymbol{y}|\boldsymbol{z}_c,\tilde{\boldsymbol{z}}_s}$在目标域中进行预测 ,并且可以在源域上学习该预测器,因为$p_{\boldsymbol{x},\boldsymbol{z}_c,\boldsymbol{z}_s|\boldsymbol{u}}$如上所述是可识别的。这正是 UDA 的目标。事实上,我们可以识别联合分布
-以识别的$p_{\boldsymbol{x},\boldsymbol{z}_c,\tilde{\boldsymbol{z}}_s|\boldsymbol{u}^T}$为目标域,我们可以
$p_{\boldsymbol{x},\boldsymbol{y}|\boldsymbol{u}^T}$
推导出$p_{\boldsymbol{x},\boldsymbol{y}|\boldsymbol{u}^{\tau}}=\int_{\boldsymbol{z}_{c}}\int_{\tilde{\boldsymbol{z}}_{s}}p_{\boldsymbol{x},\boldsymbol{z}_{c},\tilde{\boldsymbol{z}}_{s}|\boldsymbol{u}^{T}}\cdot p_{\boldsymbol{y}|\boldsymbol{z}_{c},\tilde{\boldsymbol{z}}_{s}}d\boldsymbol{z}_{c}d\tilde{\boldsymbol{z}}_{s}$ 直觉是,通过求助于高级不变部分$\tilde{z}_s$ ,我们能够考虑域的影响,从而获得对参与估计器学习的所有域都有
|
[
[
0.1217041015625,
0.08709716796875,
0.4755859375,
0.08709716796875,
0.4755859375,
0.10101318359375,
0.1217041015625,
0.10101318359375
],
[
0.471435546875,
0.09027099609375,
0.4755859375,
0.09027099609375,
0.4755859375,
0.0953369140625,
0.471435546875,
0.0953369140625
],
[
0.496826171875,
0.085205078125,
0.81640625,
0.085205078125,
0.81640625,
0.0985107421875,
0.496826171875,
0.0985107421875
],
[
0.12091064453125,
0.0985107421875,
0.33251953125,
0.1029052734375,
0.33251953125,
0.11932373046875,
0.12091064453125,
0.11553955078125
],
[
0.5,
0.10101318359375,
0.8388671875,
0.10162353515625,
0.8388671875,
0.11553955078125,
0.5,
0.1142578125
],
[
0.10296630859375,
0.1275634765625,
0.473876953125,
0.1275634765625,
0.473876953125,
0.141357421875,
0.10296630859375,
0.141357421875
],
[
0.5,
0.1307373046875,
0.8837890625,
0.1319580078125,
0.8837890625,
0.146484375,
0.5,
0.1458740234375
],
[
0.11767578125,
0.1395263671875,
0.473876953125,
0.141357421875,
0.473876953125,
0.1590576171875,
0.11767578125,
0.1572265625
],
[
0.51953125,
0.146484375,
0.72802734375,
0.147705078125,
0.72802734375,
0.1622314453125,
0.51953125,
0.1610107421875
],
[
0.1217041015625,
0.1578369140625,
0.47216796875,
0.1578369140625,
0.47216796875,
0.1717529296875,
0.1217041015625,
0.1717529296875
],
[
0.5400390625,
0.1717529296875,
0.5556640625,
0.1717529296875,
0.5556640625,
0.1787109375,
0.5400390625,
0.1787109375
],
[
0.5498046875,
0.1685791015625,
0.88232421875,
0.1685791015625,
0.88232421875,
0.1817626953125,
0.5498046875,
0.1817626953125
],
[
0.5537109375,
0.184326171875,
0.85546875,
0.184326171875,
0.85546875,
0.1976318359375,
0.5537109375,
0.1976318359375
],
[
0.1217041015625,
0.17236328125,
0.471435546875,
0.17236328125,
0.471435546875,
0.186279296875,
0.1217041015625,
0.186279296875
],
[
0.12091064453125,
0.1881103515625,
0.47216796875,
0.1881103515625,
0.47216796875,
0.20263671875,
0.12091064453125,
0.20263671875
],
[
0.12091064453125,
0.203857421875,
0.238525390625,
0.203857421875,
0.238525390625,
0.2171630859375,
0.12091064453125,
0.2171630859375
],
[
0.53759765625,
0.2008056640625,
0.88232421875,
0.2008056640625,
0.88232421875,
0.21533203125,
0.53759765625,
0.21533203125
],
[
0.55615234375,
0.2183837890625,
0.6337890625,
0.2183837890625,
0.6337890625,
0.2298583984375,
0.55615234375,
0.2298583984375
],
[
0.2115478515625,
0.2279052734375,
0.3447265625,
0.2279052734375,
0.3447265625,
0.242431640625,
0.2115478515625,
0.242431640625
],
[
0.374267578125,
0.2259521484375,
0.45751953125,
0.2259521484375,
0.45751953125,
0.24365234375,
0.374267578125,
0.24365234375
],
[
0.1217041015625,
0.23486328125,
0.205078125,
0.23486328125,
0.205078125,
0.25,
0.1217041015625,
0.25
],
[
0.40283203125,
0.242431640625,
0.4306640625,
0.2442626953125,
0.428955078125,
0.25830078125,
0.400390625,
0.255126953125
],
[
0.52294921875,
0.238037109375,
0.689453125,
0.238037109375,
0.689453125,
0.25244140625,
0.52294921875,
0.25244140625
],
[
0.1380615234375,
0.260009765625,
0.27294921875,
0.261962890625,
0.27294921875,
0.281005859375,
0.1380615234375,
0.279052734375
],
[
0.250732421875,
0.24365234375,
0.30224609375,
0.24560546875,
0.301513671875,
0.260009765625,
0.25,
0.25830078125
],
[
0.303955078125,
0.260009765625,
0.40185546875,
0.261962890625,
0.40185546875,
0.27978515625,
0.303955078125,
0.27783203125
],
[
0.5849609375,
0.267578125,
0.71728515625,
0.266357421875,
0.71728515625,
0.285400390625,
0.5849609375,
0.285888671875
],
[
0.74853515625,
0.268310546875,
0.85302734375,
0.268310546875,
0.85302734375,
0.285888671875,
0.74853515625,
0.285888671875
],
[
0.17724609375,
0.276611328125,
0.2303466796875,
0.2822265625,
0.2279052734375,
0.298583984375,
0.1748046875,
0.29345703125
],
[
0.449462890625,
0.26953125,
0.4755859375,
0.26953125,
0.4755859375,
0.287353515625,
0.449462890625,
0.287353515625
],
[
0.336669921875,
0.27783203125,
0.36767578125,
0.281005859375,
0.365234375,
0.296630859375,
0.334228515625,
0.29345703125
],
[
0.0882568359375,
0.3125,
0.47216796875,
0.3125,
0.47216796875,
0.330078125,
0.0882568359375,
0.330078125
],
[
0.08905029296875,
0.328857421875,
0.30810546875,
0.328857421875,
0.30810546875,
0.34228515625,
0.08905029296875,
0.34228515625
],
[
0.5009765625,
0.323974609375,
0.88623046875,
0.323974609375,
0.88623046875,
0.341552734375,
0.5009765625,
0.341552734375
],
[
0.5009765625,
0.34033203125,
0.82421875,
0.34033203125,
0.82421875,
0.354248046875,
0.5009765625,
0.354248046875
],
[
0.09234619140625,
0.35595703125,
0.47216796875,
0.35595703125,
0.47216796875,
0.369384765625,
0.09234619140625,
0.369384765625
],
[
0.0906982421875,
0.371826171875,
0.471435546875,
0.371826171875,
0.471435546875,
0.385009765625,
0.0906982421875,
0.385009765625
],
[
0.50244140625,
0.3662109375,
0.6689453125,
0.3662109375,
0.6689453125,
0.380126953125,
0.50244140625,
0.380126953125
],
[
0.08905029296875,
0.386474609375,
0.473876953125,
0.386474609375,
0.473876953125,
0.399658203125,
0.08905029296875,
0.399658203125
],
[
0.5009765625,
0.38818359375,
0.8857421875,
0.389404296875,
0.8857421875,
0.404052734375,
0.5009765625,
0.40283203125
],
[
0.0906982421875,
0.401611328125,
0.473876953125,
0.401611328125,
0.473876953125,
0.416748046875,
0.0906982421875,
0.416748046875
],
[
0.50244140625,
0.40478515625,
0.8857421875,
0.40478515625,
0.8857421875,
0.41845703125,
0.50244140625,
0.41845703125
],
[
0.0906982421875,
0.417236328125,
0.473876953125,
0.417236328125,
0.473876953125,
0.43115234375,
0.0906982421875,
0.43115234375
],
[
0.50244140625,
0.419189453125,
0.8857421875,
0.419189453125,
0.8857421875,
0.43310546875,
0.50244140625,
0.43310546875
],
[
0.08905029296875,
0.43310546875,
0.1871337890625,
0.43310546875,
0.1871337890625,
0.4443359375,
0.08905029296875,
0.4443359375
],
[
0.50244140625,
0.43505859375,
0.88623046875,
0.43505859375,
0.88623046875,
0.448974609375,
0.50244140625,
0.448974609375
],
[
0.0906982421875,
0.455078125,
0.471435546875,
0.455078125,
0.471435546875,
0.468505859375,
0.0906982421875,
0.468505859375
],
[
0.50244140625,
0.45068359375,
0.8837890625,
0.45068359375,
0.8837890625,
0.464111328125,
0.50244140625,
0.464111328125
],
[
0.0906982421875,
0.47021484375,
0.471435546875,
0.47021484375,
0.471435546875,
0.48095703125,
0.0906982421875,
0.48095703125
],
[
0.5009765625,
0.466552734375,
0.56787109375,
0.466552734375,
0.56787109375,
0.477783203125,
0.5009765625,
0.477783203125
],
[
0.08905029296875,
0.48291015625,
0.47216796875,
0.48486328125,
0.47216796875,
0.498779296875,
0.08905029296875,
0.496826171875
],
[
0.5009765625,
0.4873046875,
0.88134765625,
0.4873046875,
0.88134765625,
0.501953125,
0.5009765625,
0.501953125
],
[
0.08905029296875,
0.5,
0.473876953125,
0.5,
0.473876953125,
0.51318359375,
0.08905029296875,
0.51318359375
],
[
0.5009765625,
0.50244140625,
0.8857421875,
0.50244140625,
0.8857421875,
0.5166015625,
0.5009765625,
0.5166015625
],
[
0.0931396484375,
0.5166015625,
0.47216796875,
0.5166015625,
0.47216796875,
0.5263671875,
0.0931396484375,
0.5263671875
],
[
0.5009765625,
0.51806640625,
0.88232421875,
0.51806640625,
0.88232421875,
0.5322265625,
0.5009765625,
0.5322265625
],
[
0.0906982421875,
0.52880859375,
0.47216796875,
0.52880859375,
0.47216796875,
0.54248046875,
0.0906982421875,
0.54248046875
],
[
0.5,
0.5322265625,
0.8857421875,
0.53271484375,
0.8857421875,
0.54736328125,
0.5,
0.546875
],
[
0.0906982421875,
0.54541015625,
0.336669921875,
0.54541015625,
0.336669921875,
0.5595703125,
0.0906982421875,
0.5595703125
],
[
0.5009765625,
0.546875,
0.69921875,
0.54736328125,
0.69921875,
0.5625,
0.5009765625,
0.56103515625
],
[
0.0906982421875,
0.5673828125,
0.47216796875,
0.5673828125,
0.47216796875,
0.58056640625,
0.0906982421875,
0.58056640625
],
[
0.08660888671875,
0.580078125,
0.473876953125,
0.58056640625,
0.473876953125,
0.5986328125,
0.08660888671875,
0.59765625
],
[
0.5,
0.5791015625,
0.861328125,
0.5791015625,
0.861328125,
0.59228515625,
0.5,
0.59228515625
],
[
0.0906982421875,
0.59765625,
0.363525390625,
0.59765625,
0.363525390625,
0.611328125,
0.0906982421875,
0.611328125
],
[
0.53369140625,
0.59521484375,
0.62744140625,
0.59521484375,
0.62744140625,
0.60693359375,
0.53369140625,
0.60693359375
],
[
0.50341796875,
0.62060546875,
0.8837890625,
0.62060546875,
0.8837890625,
0.630859375,
0.50341796875,
0.630859375
],
[
0.0906982421875,
0.6298828125,
0.41015625,
0.6298828125,
0.41015625,
0.64306640625,
0.0906982421875,
0.64306640625
],
[
0.50244140625,
0.6337890625,
0.8837890625,
0.6337890625,
0.8837890625,
0.64794921875,
0.50244140625,
0.64794921875
],
[
0.498291015625,
0.646484375,
0.82666015625,
0.64794921875,
0.82666015625,
0.66552734375,
0.498291015625,
0.6640625
],
[
0.0906982421875,
0.65283203125,
0.473876953125,
0.65283203125,
0.473876953125,
0.66650390625,
0.0906982421875,
0.66650390625
],
[
0.0906982421875,
0.66845703125,
0.473876953125,
0.66845703125,
0.473876953125,
0.681640625,
0.0906982421875,
0.681640625
],
[
0.5009765625,
0.671875,
0.88232421875,
0.67041015625,
0.88232421875,
0.68505859375,
0.5009765625,
0.68603515625
],
[
0.09234619140625,
0.68505859375,
0.47216796875,
0.68505859375,
0.47216796875,
0.69580078125,
0.09234619140625,
0.69580078125
],
[
0.5,
0.68505859375,
0.8837890625,
0.68505859375,
0.8837890625,
0.69873046875,
0.5,
0.69873046875
],
[
0.0906982421875,
0.69873046875,
0.473876953125,
0.69873046875,
0.473876953125,
0.7119140625,
0.0906982421875,
0.7119140625
],
[
0.5,
0.70068359375,
0.8447265625,
0.70068359375,
0.8447265625,
0.71533203125,
0.5,
0.71533203125
],
[
0.0906982421875,
0.71337890625,
0.464111328125,
0.71337890625,
0.464111328125,
0.7265625,
0.0906982421875,
0.7265625
],
[
0.5009765625,
0.71630859375,
0.88232421875,
0.71533203125,
0.88232421875,
0.72998046875,
0.5009765625,
0.73095703125
],
[
0.0882568359375,
0.72900390625,
0.473876953125,
0.72900390625,
0.473876953125,
0.7421875,
0.0882568359375,
0.7421875
],
[
0.498291015625,
0.72900390625,
0.88818359375,
0.73095703125,
0.88818359375,
0.75048828125,
0.498291015625,
0.74853515625
],
[
0.0906982421875,
0.74365234375,
0.473876953125,
0.74365234375,
0.473876953125,
0.7568359375,
0.0906982421875,
0.7568359375
],
[
0.5009765625,
0.74755859375,
0.8837890625,
0.74755859375,
0.8837890625,
0.76123046875,
0.5009765625,
0.76123046875
],
[
0.08905029296875,
0.7587890625,
0.47216796875,
0.7587890625,
0.47216796875,
0.77294921875,
0.08905029296875,
0.77294921875
],
[
0.50634765625,
0.7666015625,
0.515625,
0.7666015625,
0.515625,
0.771484375,
0.50634765625,
0.771484375
],
[
0.51708984375,
0.76220703125,
0.8857421875,
0.76220703125,
0.8857421875,
0.77587890625,
0.51708984375,
0.77587890625
],
[
0.08905029296875,
0.7734375,
0.473876953125,
0.77294921875,
0.473876953125,
0.787109375,
0.08905029296875,
0.78857421875
],
[
0.50244140625,
0.7763671875,
0.8857421875,
0.7763671875,
0.8857421875,
0.79052734375,
0.50244140625,
0.79052734375
],
[
0.08905029296875,
0.787109375,
0.17236328125,
0.7890625,
0.17236328125,
0.8037109375,
0.08905029296875,
0.8017578125
],
[
0.5009765625,
0.79150390625,
0.88623046875,
0.79150390625,
0.88623046875,
0.8095703125,
0.5009765625,
0.8095703125
],
[
0.0906982421875,
0.81103515625,
0.473876953125,
0.81103515625,
0.473876953125,
0.82470703125,
0.0906982421875,
0.82470703125
],
[
0.50244140625,
0.80810546875,
0.8837890625,
0.80810546875,
0.8837890625,
0.82275390625,
0.50244140625,
0.82275390625
],
[
0.08905029296875,
0.8271484375,
0.47216796875,
0.8271484375,
0.47216796875,
0.84033203125,
0.08905029296875,
0.84033203125
],
[
0.5,
0.8212890625,
0.8837890625,
0.82275390625,
0.8837890625,
0.8369140625,
0.5,
0.8359375
],
[
0.50244140625,
0.84130859375,
0.5595703125,
0.84130859375,
0.5595703125,
0.85302734375,
0.50244140625,
0.85302734375
],
[
0.5703125,
0.8369140625,
0.88623046875,
0.8369140625,
0.88623046875,
0.85498046875,
0.5703125,
0.85498046875
],
[
0.09234619140625,
0.84326171875,
0.47216796875,
0.84326171875,
0.47216796875,
0.85400390625,
0.09234619140625,
0.85400390625
],
[
0.08905029296875,
0.85693359375,
0.473876953125,
0.85693359375,
0.473876953125,
0.87060546875,
0.08905029296875,
0.87060546875
],
[
0.498291015625,
0.8515625,
0.86767578125,
0.8515625,
0.86767578125,
0.869140625,
0.498291015625,
0.869140625
],
[
0.0906982421875,
0.87255859375,
0.343017578125,
0.87255859375,
0.343017578125,
0.88623046875,
0.0906982421875,
0.88623046875
],
[
0.50244140625,
0.876953125,
0.8857421875,
0.876953125,
0.8857421875,
0.89013671875,
0.50244140625,
0.89013671875
],
[
0.0882568359375,
0.8916015625,
0.473876953125,
0.892578125,
0.473876953125,
0.90576171875,
0.0882568359375,
0.90478515625
],
[
0.5009765625,
0.892578125,
0.8837890625,
0.892578125,
0.8837890625,
0.90576171875,
0.5009765625,
0.90576171875
]
] |
[
"where qi is the log density of the conditional dis-",
".1",
"in Equation 1 and make Assumption A1-A2",
"tribution, i.e., qi := log Pzilu ",
"In addition, we make the following assumption:",
": A3 (Linear independence) : For any zs E Zs ",
": A4 (Domain Variability) : For any set Az C Z with",
"Rns , there exist 2ng + i values of u, i.e., uj",
"the following two properties:",
"with j = 0,1,...,2ns , such that the 2ng vectors",
"",
"a)Az has nonzero probability measure, i.e",
"P[z E Azllu = u'll > O for any u' eu",
"w(zs,u,) - w(zs,uo) with j = 1,..,2ns , are",
"linearly independent, where vector w(zs, u) is de",
"fined as follows:",
"- b) Az cannot be expressed as Bz. × Zs for any",
"Bz. C Ze.",
"(Oqne+1(zne+1,u)",
"Oqn (2n,u)",
"w(zs,u) =",
"zm",
"Fui,u2 eu, such that",
"0qne+1 (zne+1, u)",
"Ozne+1",
"aqn (zn,u))",
"Pz|u(z|u1)dz ",
"Pz|u(z/u2)dz",
"azne+1",
"(2)",
"az",
"By learning (9, Pze, Pzlu) to achieve Equation ??, zs",
"is component-wise identifiable.",
"With the model (9, Pze, Pz./u) estimated by observing",
"Equation ??, the zc is block-wise identifiable.",
"可以在附录A.1中找到证明。我们注意到这三个假",
"设都是非线性ICA文献中的标准(Hyvarinenetal.",
"证明被推迟到附录A.2",
"2019;Khemakhemetal.,2020a)。特别是,假设A3",
"与假设A3一样,假设A4也要求分布Pzu在域上充",
"的直觉是pzslu在域u的。我们在6节中证明,这种",
"分更改。从直觉上讲,当域的数量很大并且域的分布差",
"可识别性可以在很大程度上通过不同均值和方差的高",
"异很大时,拥有一个这样的子集Az的机会非常小,在",
"斯分布来实现",
"该子集上所有域的分布都具有相等的概率度量。。在6",
"值得注意的是,定理E4.1体现了最小变化的好处-ns",
"节中,我们验证了具有均值和方差变化的高斯分布的",
"越小,线性独立条件越容易成立,因为我们只需要具",
"定理4.2",
"有足够可变性的2ns+1域,而先前的工作通常需要",
"我们注意到,与最近的工作E(vonKigelgen et al.",
"2n+1足够可变的域。我们注意到,在许多DA问题",
"2021)中的可识别性理论相比,我们的设置更具挑战",
"中,域之间的关系是显式的,因此内在变化的维数很",
"性,因为vonKigelgenetal.(2021)中的理论依赖于",
"小。我们的结果提供了有关固定数量的域是否足以满",
"增强数据的配对,而我们的不是-我们仅假设pz。的不",
"足具有不同变化水平的DA的见解",
"变边际分布在域上没有变化",
"变化部分的可识别性对于我们的方法至关重要。只有",
"恢复变化的组件之。和相应的域影响fu,我们才能正",
"4.3. Identifiability of the Joint Distribution in the",
"确地将各个域与。对齐并学习分类器",
"Shared Space",
"配备了变化的组件和不变子空间的可识别性,我们现",
"4.2.Identifiability of the Invariant Subspace",
"在讨论这些如何通过在源域标签上训练的分类器来导",
"致目标域u的联合分布Pa,ulu的可识别性",
"在本节中,我们证明了不变子空间是以块方式可识别",
"的。我们的目标是表明估计的不变部分保留了有关真",
"由于9是部分可逆且部分可识别的(定理E4.1和定",
"实不变部分的信息,并且没有信息从变化的组件中混",
"理4.2),因此我们可以从任何域中的观测中恢",
"人。正式地,我们想证明在估计的不变部分之。和真",
"复zc,zs,即我们可以部分识别联合分布pa,zc",
"正的不变部分zc之间存在可逆映射h°:zc→zc",
"由于zs=fu()和fu被约束为按分量单调且可逆",
"S。t。之c=h(zc)。分块可辨识性的思想出现在独",
"因此我们可以进一步识别Paenlu。还要注意,标",
"立子空间分析(Casey&Westner,2000;Hyvarinen&",
"签y有条件地独立于&,尤其是给定z和s的u",
"Hoyer,2000;Leetal.,2011;Theis,2006)中,最近的",
"",
"如图E1所示,这意味着z和。捕获了&中与",
"工作(vonKigelgenetal.,2021)在非线性ICA场景",
"MAXXXXTHX。因此,给定zc,之。,我们可以使用预",
"中解决了它",
"测器 pulze。在目标域中进行预测,并且可以在源域上",
"在以下定理中,我们证明了可以通过估计的数据生成",
"学习该预测器,因为pa,ze,z。u如上所述是可识别的。",
"过程来实现不变子空间的逐块可识别性。请注意,与",
"这正是UDA的目标。事实上,我们可以识别联合分布",
"Pae,yluT",
"以识别的Pa,ze,。luT为目标域,我们可以",
"针对不断变化的组件实现的组件式可识别性相比,块",
"式可识别性是一种较弱的可识别性概念。因此,我们",
"推导出 Pa,yluT = Jz。Jz,Pa,ze,zaluT·Pulze,z dzedz",
"只要求不变潜变量的部分可辨识性。",
"直觉是,通过求助于高级不变部分艺。,我们能够考虑",
"Theorem 4.2. We follow the data generation process",
"域的影响,从而获得对参与估计器学习的所有域都有"
] |
{
"arxiv_id": "2306.06510",
"language": "zh",
"page_idx": 3
}
|
||
2109.07296-zh-2
|
2109.07296-zh-2.jpg
|
预测 COVID-19 期间 Twitter 上的反亚洲仇恨用户
### $\mathbf{Abstract}$
We investigate predictors of anti-Asian hate among Twitter users throughout COVID-19. With the rise of xenophobia and polarization that has accompanied widespread social media usage in many nations, online hate has become a major social issue, attracting many researchers. Here, we apply natural language processing techniques to characterize social media users who began to post anti-Asian hate messages during COVID-19. We compare two user groups—those who posted anti-Asian slurs and those who did not—with respect to a rich set of features measured with data prior to COVID-19 and show that it is possible to predict who later publicly posted anti-Asian slurs. Our analysis of predictive features underlines the potential impact of news media and information sources that report on online hate and calls for further investigation into the role of polarized communication networks and news media.
### 1 Introduction
新型冠状病毒大流行(COVID-19)提供了一个独特的机会,可以以前所未有的规模研究有针对性的种族敌意的发展。自从中国武汉报道了第一例已知的 COVID-19 病例(?)以来,亚洲人一直是线上和线下仇恨的目标。多项调查显示,美国人的反亚洲态度有所增加,这表现在仇外行为上,从不去亚洲餐馆或更换座位到在公共场所避开亚洲人$\mathbb{E}(???)$ 到口头和身体骚扰$\mathbb{E}(??)$
在线平台,尤其是社交媒体,一直是反亚洲仇恨的典范,而不是例外,托管了大量仇恨内容。最近的工作报告了 Twitter$\boxed{\mathrm{F}}(?)$上反亚洲言论的惊人增加,以及 Twitter 和 Reddit$\boxed{\mathrm{E}}(?)$ 上对中国的负面言论。许多亚洲人表示,由于最近的种族 animus (?)的发展,焦虑和抑郁的程度增加。为了调查 COVID-19 期间对亚洲人的在线仇恨,一些研究引入了新的数据集和方法来检测对亚洲人的仇恨(??)
虽然大多数研究都集中在内容上—e。g。, 给定的文本是否是仇恨言论,用户级分析—e。g。, 给定用户是否会发布可恶的内容---令人惊讶的是,尽管这个问题可以带来有用且重要的见解。首先,考虑到只有少数用户产生绝大多数错误信息$\mathbb{E}(?)$ 和仇恨内容(§4.2.1)的事实,专注于用户可能是解决在线仇恨的有效方法。例如,识别倾向于产生大量此类内容并有能力成为讨论中心的“有影响力的”用户可以比识别仇恨言论的个体实例更好地进行干预。其次,了解仇恨言论的风险因素也可能提供一个机会来推动用户并防止他们变得激进。只有当我们检查个体水平的风险因素时,这种途径才有可能。最后,由于与个人推文或帖子相比, 有关个人用户的可用数据往往要多得多$\mathbb{E}(?)$ ,因此我们也许能够开发出更准确的模型,并深人了解在线仇恨的发展途径。同时,我们强调在采用基于用户的方法时必须小心,因为对未来犯罪和不当行为的预测可能会导致算法偏差,如累犯预测$\overline{\mathrm{E}}(?)$ 所示。因此,我们的工作应被视为了解在线仇恨的早期步骤,我们警告说,将我们的结果转化为实践将需要更细微的调查和决策
在本文中,我们通过关注用户来解决对亚洲人的在线仇恨,特别是关注对亚洲人仇恨的风险指标。我们检查用户在社交媒体上关注的推文和信息源中的语言使用情况。由于在社交媒体$\overline{\mathbb{E}}(??)$ 上经常观察到极化和回声室,因此可以合理地期望用户会选择他们听的人,通常是为了加强他们的偏见。因此,我们期望从用户的身份中看到信号。尽管我们的回顾性病例对照设计不允许强有力的因果推断(i。e。,我们无法辨别用户是否受到他们关注的对象的影响,或者他们的关注是他们现有偏见的表现), 我们的研究可能会揭示潜在的机制和导致在线仇恨的途径。此外,虽然我们的工作重点是在线仇恨,但它也将为离线仇恨犯罪建模提供有益的见解(?)
我们的贡献可以概括为两个方面。首先,我们分析了针对亚洲人的仇恨言论的用户级预测因素。我们研究语言和信息源的影响,即(i)
|
[
[
0.240966796875,
0.0955810546875,
0.759765625,
0.0955810546875,
0.759765625,
0.1092529296875,
0.240966796875,
0.1092529296875
],
[
0.2626953125,
0.254150390625,
0.341796875,
0.254150390625,
0.341796875,
0.268310546875,
0.2626953125,
0.268310546875
],
[
0.53076171875,
0.251708984375,
0.873046875,
0.254150390625,
0.873046875,
0.271484375,
0.53076171875,
0.26953125
],
[
0.5146484375,
0.2724609375,
0.8759765625,
0.2724609375,
0.8759765625,
0.283203125,
0.5146484375,
0.283203125
],
[
0.145263671875,
0.2861328125,
0.456787109375,
0.2861328125,
0.456787109375,
0.2998046875,
0.145263671875,
0.2998046875
],
[
0.51123046875,
0.287353515625,
0.880859375,
0.28515625,
0.880859375,
0.2998046875,
0.51123046875,
0.3017578125
],
[
0.1485595703125,
0.300537109375,
0.455078125,
0.300537109375,
0.455078125,
0.314208984375,
0.1485595703125,
0.314208984375
],
[
0.51318359375,
0.3017578125,
0.87890625,
0.3017578125,
0.87890625,
0.3154296875,
0.51318359375,
0.3154296875
],
[
0.1435546875,
0.3134765625,
0.455078125,
0.314208984375,
0.455078125,
0.327880859375,
0.1435546875,
0.32666015625
],
[
0.5146484375,
0.319580078125,
0.880859375,
0.319580078125,
0.880859375,
0.333251953125,
0.5146484375,
0.333251953125
],
[
0.14697265625,
0.330078125,
0.45751953125,
0.330078125,
0.45751953125,
0.34326171875,
0.14697265625,
0.34326171875
],
[
0.51123046875,
0.334228515625,
0.880859375,
0.3349609375,
0.880859375,
0.349853515625,
0.51123046875,
0.3486328125
],
[
0.145263671875,
0.34326171875,
0.45751953125,
0.34326171875,
0.45751953125,
0.35693359375,
0.145263671875,
0.35693359375
],
[
0.51318359375,
0.3515625,
0.880859375,
0.3515625,
0.880859375,
0.365234375,
0.51318359375,
0.365234375
],
[
0.1485595703125,
0.358154296875,
0.456787109375,
0.359375,
0.456787109375,
0.37060546875,
0.1485595703125,
0.369384765625
],
[
0.14697265625,
0.371826171875,
0.456787109375,
0.371826171875,
0.456787109375,
0.385986328125,
0.14697265625,
0.385986328125
],
[
0.51318359375,
0.3681640625,
0.87890625,
0.3681640625,
0.87890625,
0.3818359375,
0.51318359375,
0.3818359375
],
[
0.14697265625,
0.385986328125,
0.45751953125,
0.385986328125,
0.45751953125,
0.399658203125,
0.14697265625,
0.399658203125
],
[
0.5146484375,
0.38427734375,
0.880859375,
0.38427734375,
0.880859375,
0.39794921875,
0.5146484375,
0.39794921875
],
[
0.14697265625,
0.399658203125,
0.456787109375,
0.399658203125,
0.456787109375,
0.413330078125,
0.14697265625,
0.413330078125
],
[
0.5146484375,
0.399658203125,
0.880859375,
0.399658203125,
0.880859375,
0.413330078125,
0.5146484375,
0.413330078125
],
[
0.14697265625,
0.413330078125,
0.456787109375,
0.413330078125,
0.456787109375,
0.427490234375,
0.14697265625,
0.427490234375
],
[
0.51318359375,
0.416259765625,
0.86572265625,
0.416259765625,
0.86572265625,
0.429931640625,
0.51318359375,
0.429931640625
],
[
0.145263671875,
0.4287109375,
0.455078125,
0.427490234375,
0.455078125,
0.441162109375,
0.145263671875,
0.4423828125
],
[
0.51318359375,
0.431640625,
0.87890625,
0.431640625,
0.87890625,
0.4453125,
0.51318359375,
0.4453125
],
[
0.14697265625,
0.4423828125,
0.45751953125,
0.4423828125,
0.45751953125,
0.4560546875,
0.14697265625,
0.4560546875
],
[
0.5146484375,
0.446533203125,
0.880859375,
0.44775390625,
0.880859375,
0.46142578125,
0.5146484375,
0.460205078125
],
[
0.1485595703125,
0.457763671875,
0.455078125,
0.457763671875,
0.455078125,
0.468505859375,
0.1485595703125,
0.468505859375
],
[
0.51318359375,
0.46435546875,
0.880859375,
0.46435546875,
0.880859375,
0.47802734375,
0.51318359375,
0.47802734375
],
[
0.145263671875,
0.47021484375,
0.45751953125,
0.471435546875,
0.45751953125,
0.485107421875,
0.145263671875,
0.48388671875
],
[
0.145263671875,
0.485107421875,
0.453369140625,
0.485107421875,
0.453369140625,
0.498779296875,
0.145263671875,
0.498779296875
],
[
0.51123046875,
0.479736328125,
0.87890625,
0.479736328125,
0.87890625,
0.493408203125,
0.51123046875,
0.493408203125
],
[
0.1485595703125,
0.50048828125,
0.3837890625,
0.50048828125,
0.3837890625,
0.51123046875,
0.1485595703125,
0.51123046875
],
[
0.387939453125,
0.50048828125,
0.455078125,
0.50048828125,
0.455078125,
0.51123046875,
0.387939453125,
0.51123046875
],
[
0.5283203125,
0.496337890625,
0.87890625,
0.496337890625,
0.87890625,
0.51025390625,
0.5283203125,
0.51025390625
],
[
0.14697265625,
0.51416015625,
0.456787109375,
0.51416015625,
0.456787109375,
0.52783203125,
0.14697265625,
0.52783203125
],
[
0.51318359375,
0.5126953125,
0.8818359375,
0.5126953125,
0.8818359375,
0.525390625,
0.51318359375,
0.525390625
],
[
0.14697265625,
0.52978515625,
0.456787109375,
0.52978515625,
0.456787109375,
0.54052734375,
0.14697265625,
0.54052734375
],
[
0.515625,
0.52978515625,
0.87890625,
0.52978515625,
0.87890625,
0.54052734375,
0.515625,
0.54052734375
],
[
0.1485595703125,
0.54345703125,
0.456787109375,
0.54345703125,
0.456787109375,
0.55419921875,
0.1485595703125,
0.55419921875
],
[
0.51318359375,
0.54345703125,
0.87890625,
0.54345703125,
0.87890625,
0.55712890625,
0.51318359375,
0.55712890625
],
[
0.145263671875,
0.5556640625,
0.456787109375,
0.5556640625,
0.456787109375,
0.5693359375,
0.145263671875,
0.5693359375
],
[
0.5146484375,
0.5625,
0.87890625,
0.5625,
0.87890625,
0.572265625,
0.5146484375,
0.572265625
],
[
0.145263671875,
0.5693359375,
0.19482421875,
0.5693359375,
0.19482421875,
0.58447265625,
0.145263671875,
0.58447265625
],
[
0.5146484375,
0.57666015625,
0.880859375,
0.57666015625,
0.880859375,
0.59033203125,
0.5146484375,
0.59033203125
],
[
0.51318359375,
0.59326171875,
0.880859375,
0.59326171875,
0.880859375,
0.60693359375,
0.51318359375,
0.60693359375
],
[
0.1158447265625,
0.6025390625,
0.154541015625,
0.6025390625,
0.154541015625,
0.6142578125,
0.1158447265625,
0.6142578125
],
[
0.1485595703125,
0.60400390625,
0.2626953125,
0.60400390625,
0.2626953125,
0.6162109375,
0.1485595703125,
0.6162109375
],
[
0.5146484375,
0.60986328125,
0.60546875,
0.60986328125,
0.60546875,
0.62158203125,
0.5146484375,
0.62158203125
],
[
0.118408203125,
0.6298828125,
0.484375,
0.6298828125,
0.484375,
0.64453125,
0.118408203125,
0.64453125
],
[
0.5322265625,
0.62744140625,
0.880859375,
0.62744140625,
0.880859375,
0.64111328125,
0.5322265625,
0.64111328125
],
[
0.118408203125,
0.6455078125,
0.484375,
0.6455078125,
0.484375,
0.6591796875,
0.118408203125,
0.6591796875
],
[
0.51318359375,
0.64453125,
0.8818359375,
0.64453125,
0.8818359375,
0.65771484375,
0.51318359375,
0.65771484375
],
[
0.118408203125,
0.6630859375,
0.483642578125,
0.6630859375,
0.483642578125,
0.67333984375,
0.118408203125,
0.67333984375
],
[
0.5146484375,
0.662109375,
0.87890625,
0.662109375,
0.87890625,
0.6728515625,
0.5146484375,
0.6728515625
],
[
0.12005615234375,
0.6787109375,
0.486083984375,
0.6787109375,
0.486083984375,
0.6923828125,
0.12005615234375,
0.6923828125
],
[
0.51318359375,
0.67578125,
0.880859375,
0.67578125,
0.880859375,
0.689453125,
0.51318359375,
0.689453125
],
[
0.118408203125,
0.693359375,
0.484375,
0.693359375,
0.484375,
0.70703125,
0.118408203125,
0.70703125
],
[
0.51123046875,
0.69140625,
0.8818359375,
0.693359375,
0.8818359375,
0.70703125,
0.51123046875,
0.705078125
],
[
0.118408203125,
0.71142578125,
0.486083984375,
0.71142578125,
0.486083984375,
0.724609375,
0.118408203125,
0.724609375
],
[
0.51318359375,
0.7080078125,
0.87890625,
0.7080078125,
0.87890625,
0.7216796875,
0.51318359375,
0.7216796875
],
[
0.118408203125,
0.72705078125,
0.484375,
0.72705078125,
0.484375,
0.74072265625,
0.118408203125,
0.74072265625
],
[
0.5146484375,
0.724609375,
0.87890625,
0.724609375,
0.87890625,
0.73828125,
0.5146484375,
0.73828125
],
[
0.118408203125,
0.74365234375,
0.484375,
0.74365234375,
0.484375,
0.75732421875,
0.118408203125,
0.75732421875
],
[
0.51318359375,
0.74072265625,
0.87744140625,
0.74072265625,
0.87744140625,
0.75439453125,
0.51318359375,
0.75439453125
],
[
0.12005615234375,
0.76025390625,
0.2032470703125,
0.76025390625,
0.2032470703125,
0.771484375,
0.12005615234375,
0.771484375
],
[
0.51318359375,
0.75830078125,
0.880859375,
0.75830078125,
0.880859375,
0.771484375,
0.51318359375,
0.771484375
],
[
0.1351318359375,
0.77685546875,
0.486083984375,
0.77685546875,
0.486083984375,
0.79052734375,
0.1351318359375,
0.79052734375
],
[
0.51318359375,
0.77392578125,
0.87890625,
0.77392578125,
0.87890625,
0.78759765625,
0.51318359375,
0.78759765625
],
[
0.1175537109375,
0.79150390625,
0.483642578125,
0.79150390625,
0.483642578125,
0.8046875,
0.1175537109375,
0.8046875
],
[
0.509765625,
0.7880859375,
0.87890625,
0.7880859375,
0.87890625,
0.8017578125,
0.509765625,
0.8017578125
],
[
0.118408203125,
0.80810546875,
0.486083984375,
0.80810546875,
0.486083984375,
0.82177734375,
0.118408203125,
0.82177734375
],
[
0.51318359375,
0.8056640625,
0.8818359375,
0.8056640625,
0.8818359375,
0.8193359375,
0.51318359375,
0.8193359375
],
[
0.1175537109375,
0.82470703125,
0.483642578125,
0.82470703125,
0.483642578125,
0.83837890625,
0.1175537109375,
0.83837890625
],
[
0.51123046875,
0.82177734375,
0.87890625,
0.82177734375,
0.87890625,
0.8349609375,
0.51123046875,
0.8349609375
],
[
0.12005615234375,
0.84130859375,
0.484375,
0.84130859375,
0.484375,
0.85498046875,
0.12005615234375,
0.85498046875
],
[
0.51123046875,
0.83740234375,
0.87890625,
0.83740234375,
0.87890625,
0.85107421875,
0.51123046875,
0.85107421875
],
[
0.118408203125,
0.85693359375,
0.484375,
0.85693359375,
0.484375,
0.87060546875,
0.118408203125,
0.87060546875
],
[
0.515625,
0.85498046875,
0.6171875,
0.85498046875,
0.6171875,
0.8662109375,
0.515625,
0.8662109375
],
[
0.1175537109375,
0.87255859375,
0.486083984375,
0.87158203125,
0.486083984375,
0.8857421875,
0.1175537109375,
0.88720703125
],
[
0.53076171875,
0.87353515625,
0.8818359375,
0.87353515625,
0.8818359375,
0.88720703125,
0.53076171875,
0.88720703125
],
[
0.118408203125,
0.8896484375,
0.484375,
0.8896484375,
0.484375,
0.90283203125,
0.118408203125,
0.90283203125
],
[
0.51318359375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.51318359375,
0.90283203125
],
[
0.118408203125,
0.90625,
0.361083984375,
0.90625,
0.361083984375,
0.91943359375,
0.118408203125,
0.91943359375
],
[
0.5146484375,
0.90625,
0.8818359375,
0.90625,
0.8818359375,
0.91943359375,
0.5146484375,
0.91943359375
]
] |
[
"预测COVID-19期间Twitter上的反亚洲优恨用户",
"Abstract",
"虽然大多数研究都集中在内容上一e。g。",
"给定的文本是否是优恨言论,用户级分析一e",
"We investigate predictors of anti-Asian hate",
"g。,给定用户是否会发布可恶的内容---令人惊",
"among Twitter users throughout COVID-19",
"的是,尽管这个问题可以带来有用且重要的",
"With the rise of xenophobia and polarization",
"见解。首先,考虑到只有少数用户产生绝大多",
"that has accompanied widespread social me",
"数错误信息国(?)和仇恨内容(84.2.1)的事",
"dia usage in many nations, online hate has be-",
"实,专注于用户可能是解决在线仇恨的有效方",
"come amajor social issue,attracting many re",
"searchers. Here, we apply natural language",
"法。例如,识别倾向于产生大量此类内容并有",
"processing techniques to characterize social",
"能力成为讨论中心的“有影响力的”用户可以",
"media users who began to post anti-Asian hate",
"比识别仇恨言论的个体实例更好地进行干预。",
"messages during COVID-19. We compare",
"其次,了解仇恨言论的风险因素也可能提供",
"two user groups-those who posted anti-Asian",
"个机会来推动用户并防止他们变得激进。只有",
"slurs and those who did notwith respect to a",
"当我们检查个体水平的风险因素时,这种途径",
"richsetoffeaturesmeasuredwithdatapriorto",
"才有可能。最后,由于与个人推文或帖子相比,",
"COVID-19 and show that it is possible to pre-",
"dict who later publicly posted anti-Asian slurs",
"有关个人用户的可用数据往往要多得多E(?)",
"Ouranalysis of predictivefeatures",
"underlines",
"因此我们也许能够开发出更准确的模型,并",
"the potential impact of news media and infor",
"深人了解在线仇恨的发展途径。同时,我们强",
"mation sourcesthatreport on onlinehate and",
"调在采用基于用户的方法时必须小心,因为对",
"callsforfurther investigation into therole of",
"未来犯罪和不当行为的预测可能会导致算法偏",
"polarized communication networks and news",
"差,如累犯预测E(?)所示。因此,我们的工作",
"media.",
"应被视为了解在线仇恨的早期步骤,我们警告",
"说,将我们的结果转化为实践将需要更细微的",
"1",
"Introduction",
"调查和决策",
"新型冠状病毒大流行(COVID-19)提供了一",
"在本文中,我们通过关注用户来解决对亚洲",
"个独特的机会,可以以前所未有的规模研究有",
"人的在线仇恨,特别是关注对亚洲人仇恨的风",
"针对性的种族敌意的发展。自从中国武汉报道",
"险指标。我们检查用户在社交媒体上关注的推",
"了第一例已知的COVID-19病例(?)以来,亚",
"文和信息源中的语言使用情况。由于在社交媒",
"洲人一直是线上和线下优恨的目标。多项调查",
"体E(??)上经常观察到极化和回声室,因此",
"显示,美国人的反亚洲态度有所增加,这表现",
"可以合理地期望用户会选择他们听的人,通常",
"在仇外行为上,从不去亚洲餐馆或更换座位到",
"是为了加强他们的偏见。因此,我们期望从用",
"在公共场所避开亚洲人E(???)到口头和身体",
"户的身份中看到信号。尽管我们的回顾性病例",
"骚扰E(??)",
"对照设计不允许强有力的因果推断i。e。,我",
"在线平台,尤其是社交媒体,一直是反亚洲",
"们无法辨别用户是否受到他们关注的对象的影",
"仇恨的典范,而不是例外,托管了大量仇恨内",
"响,或者他们的关注是他们现有偏见的表现)",
"容。最近的工作报告了TwitterE?)上反亚洲",
"我们的研究可能会揭示潜在的机制和导致在线",
"言论的惊人增加,以及Twitter和RedditE(?)",
"仇恨的途径。此外,虽然我们的工作重点是在",
"上对中国的负面言论。许多亚洲人表示,由于",
"线仇恨,但它也将为离线仇恨犯罪建模提供有",
"最近的种族animus(?)的发展,焦虑和抑郁的",
"益的见解(?)",
"程度增加。为了调查COVID-19期间对亚洲人",
"我们的贡献可以概括为两个方面。首先,我",
"的在线仇恨,一些研究引人了新的数据集和方",
"们分析了针对亚洲人的仇恨言论的用户级预测",
"法来检测对亚洲人的仇恨(??)",
"因素。我们研究语言和信息源的影响,即(i)"
] |
{
"arxiv_id": "2109.07296",
"language": "zh",
"page_idx": 2
}
|
||
2109.07296-zh-4
|
2109.07296-zh-4.jpg
|
<table>
<tbody>
<tr>
<th> </th>
<th>Ref</th>
<th>Hate</th>
<th>Low H</th>
<th>High H</th>
<th>Total</th>
</tr>
<tr>
<td>Users</td>
<td>2,443</td>
<td>1,899</td>
<td>1,316</td>
<td>583</td>
<td>4,342</td>
</tr>
<tr>
<td>Tweets</td>
<td>$250k$</td>
<td>$8.2M$</td>
<td>$4.8M$</td>
<td>$3.4M$</td>
<td>$10.1\mathbf{M}$</td>
</tr>
</tbody>
</table>
Table 1: Dataset overview
Refining reference users. 如上所述,我们的
参考用户是从大量与 COVID-19 相关的推文中随机选择的。我们发现 19 个参考用户(0。6%) 在 COVID-19 之前使用了反亚洲的诽谤。我们将这些用户排除在研究的其余部分之外
Refining hateful users. 在COVID-19 之前 ,一些可恶的用户使用了反亚洲的诽谤。通过人工检查,我们注意到他们中的大多数是香港的积极分子,通过针对中国的污言秽语表达负面情绪。我们将这些用户排除在进一步分析之外
相比之下,从 2020年3月9日开始,“wuflu” 和“kungflu”等诽谤词的使用开始增加,这一天是意大利在全国范围内扩大紧急措施的日子(?),并在2020年3月16日出现了急剧上升,当时美国前总统唐纳德·特朗普在 Twitter 上将 COVID-19 称为“中国病毒”。从那时起, 所有反亚洲的诽谤都被广泛使用。我们关注的是这些在新冠肺炎之后变得可恨的用户
Low- vs High-level Hateful users. 我们根据对亚洲人表达的仇恨程度将仇恨用户进一步分为两组。在我们的数据收集中,有 8,769 条推文至少包含一个诽谤词。每个用户带有诽谤词的推文的平均数量为4(最小值:1,中位数: 3,最大值:126)。因此,我们根据平均带有诽谤的推文将用户进一步分为两组:少于或等于三个带有反亚洲诽谤的推文的低级仇恨用户和至少四个带有反亚洲诽谤的推文的高级仇恨用户
Bot detection. 我们进一步删除了“bot”帐户,以更好地捕获真实的人类行为。我们使用 BotometerAPIE$( ? ) , 这 是 一 种 流 行 的 监 督$ 式机器学习工具,可通过使用内容,网络结构和配置文件等功能来检查 Twitter 帐户是否有可能的自动化活动。给定一个 Twitter 帐户, BotometerAPI 返回从 0 到 1 的分数,其中 1 最有可能是机器人。我们使用 50% 的阈值 (底部计分=0。5),这在之前的研究(?)中被证明是有效的,可以删除潜在的机器人账户
Data summary. 因此,我们用于进一步分析的数据集合包含分别由 1,899 个仇恨用户和 2,443 个参考用户发布的 8,201,510 和2,498,246 条推文。我们还收集他们的网络信 (可能是伊尔汗·奥马尔),希夫 (可能是亚当$\cdot$
息-他们使用 TwitterRESTAPI 跟踪谁。详情见
表 1
### 4 Comparative Exploration of Hatefu and Reference Users
在预测用户未来的仇恨行为之前,我们首先在仇恨用户和参考用户之间进行比较探索,以更好地了解他们的区别特征
4.1 How much and what they write
## 4.1.1 Twitter Activity
仇恨用户和参考用户之间的第一个明显区别是,就 COVID-19 之后的书面推文数量而言, 他们的活动水平。平均而言,两个用户组都增加了他们的活动,而对于仇恨用户来说,这种增长更为可观。我们通过 1,000 个自举样本评估了统计意义。仇恨用户中的引导平均百分比增加远高于参考用户:$90.12\%(\pm0.419\%$, $95\%$CI)与。24.52%($\pm0.107\%,95\%$CI)。此外, 我们观察到,COVID-19 之后活动的增加更多地是由那些高级仇恨用户驱动的,而不是低级用户。高级和低级仇恨用户中的引导平均百分比增加分别是 118.97% $( \pm 0. 977\% , 95\%$CI) 和$77.22\%(\pm0.381\%,95\%$CI)
4.1.2 Representative Words of User Groups
作为探索性分析,我们通过使用(?)中提出的对数赔率比来识别用户组的代表词。对于每个小组,我们分别汇总了他们所有的 COVID-19之前和 COVID-19 之后的推文,创建了四个语料库。为了删除罕见的行话,我们消除了出现少于 10 次的术语。然后,我们提取所有unigram 并计算它们的对数比值比。如前所述, 我们在两个单独的随机 Twitter 数据集上计算COVID-19 之前和 COVID-19 之后的背景词频率,这些数据集从 TwitterDecahose 数据中采样。然后,将 unigram 按其估计的$z$分数进行排名
图 1显示了每个语料库中 100 个过度表示的单字。对于 COVID-19 之前的仇恨用户(图 l(a) ),美国政治相关词汇(e。g。、奥巴马、拜登、 克林顿、保守派和民主党人)和国际政治问题相关的词语(e。g。、伊朗、边境、战争和乌克兰)。有些话表明这些用户很可能是右翼:1) maga (“使美国再次伟大”) 是唐纳德·特朗普在美国政治中推广的竞选口号,2)左派和社会主义者等术语,以及 3) 右翼新闻媒体,包括breitbartnews, gatewaypundit 和 dailycaller。另一个有趣的词组包含名称:反对唐纳德·特朗普的索罗斯 (可能是乔治·索罗斯),奥马尔希夫)和南希(可能是南希·佩洛西)。此外,
|
[
[
0.1956787109375,
0.08905029296875,
0.287109375,
0.08905029296875,
0.287109375,
0.1009521484375,
0.1956787109375,
0.1009521484375
],
[
0.300537109375,
0.08905029296875,
0.35693359375,
0.08905029296875,
0.35693359375,
0.09979248046875,
0.300537109375,
0.09979248046875
],
[
0.36279296875,
0.08905029296875,
0.468505859375,
0.08905029296875,
0.468505859375,
0.1009521484375,
0.36279296875,
0.1009521484375
],
[
0.509765625,
0.08612060546875,
0.55322265625,
0.0843505859375,
0.55517578125,
0.09979248046875,
0.51123046875,
0.1015625
],
[
0.310546875,
0.10394287109375,
0.349365234375,
0.10394287109375,
0.349365234375,
0.119384765625,
0.310546875,
0.119384765625
],
[
0.426513671875,
0.10394287109375,
0.47265625,
0.10394287109375,
0.47265625,
0.1181640625,
0.426513671875,
0.1181640625
],
[
0.193115234375,
0.105712890625,
0.235107421875,
0.105712890625,
0.235107421875,
0.119384765625,
0.193115234375,
0.119384765625
],
[
0.1292724609375,
0.105712890625,
0.17041015625,
0.105712890625,
0.17041015625,
0.1175537109375,
0.1292724609375,
0.1175537109375
],
[
0.246826171875,
0.105712890625,
0.285400390625,
0.105712890625,
0.285400390625,
0.1181640625,
0.246826171875,
0.1181640625
],
[
0.387939453125,
0.105712890625,
0.41650390625,
0.105712890625,
0.41650390625,
0.1181640625,
0.387939453125,
0.1181640625
],
[
0.424072265625,
0.11517333984375,
0.474365234375,
0.1175537109375,
0.47265625,
0.1318359375,
0.42236328125,
0.1300048828125
],
[
0.51318359375,
0.11639404296875,
0.5498046875,
0.11639404296875,
0.5498046875,
0.127685546875,
0.51318359375,
0.127685546875
],
[
0.54248046875,
0.11639404296875,
0.85986328125,
0.11639404296875,
0.85986328125,
0.1300048828125,
0.54248046875,
0.1300048828125
],
[
0.193115234375,
0.1181640625,
0.235107421875,
0.1181640625,
0.235107421875,
0.1300048828125,
0.193115234375,
0.1300048828125
],
[
0.1318359375,
0.1181640625,
0.17626953125,
0.1181640625,
0.17626953125,
0.1300048828125,
0.1318359375,
0.1300048828125
],
[
0.2418212890625,
0.1181640625,
0.285400390625,
0.1181640625,
0.285400390625,
0.1300048828125,
0.2418212890625,
0.1300048828125
],
[
0.312255859375,
0.1181640625,
0.34765625,
0.1181640625,
0.34765625,
0.1300048828125,
0.312255859375,
0.1300048828125
],
[
0.376220703125,
0.1181640625,
0.418212890625,
0.1181640625,
0.418212890625,
0.1300048828125,
0.376220703125,
0.1300048828125
],
[
0.54150390625,
0.1318359375,
0.71875,
0.1318359375,
0.71875,
0.1455078125,
0.54150390625,
0.1455078125
],
[
0.214111328125,
0.1455078125,
0.38623046875,
0.146728515625,
0.38623046875,
0.1602783203125,
0.214111328125,
0.1591796875
],
[
0.51318359375,
0.1602783203125,
0.87890625,
0.1602783203125,
0.87890625,
0.17333984375,
0.51318359375,
0.17333984375
],
[
0.5146484375,
0.17578125,
0.880859375,
0.17578125,
0.880859375,
0.189453125,
0.5146484375,
0.189453125
],
[
0.1234130859375,
0.18701171875,
0.486083984375,
0.18701171875,
0.486083984375,
0.20068359375,
0.1234130859375,
0.20068359375
],
[
0.51318359375,
0.1923828125,
0.71728515625,
0.1923828125,
0.71728515625,
0.2060546875,
0.51318359375,
0.2060546875
],
[
0.1175537109375,
0.201904296875,
0.483642578125,
0.203125,
0.483642578125,
0.21728515625,
0.1175537109375,
0.2161865234375
],
[
0.1175537109375,
0.2197265625,
0.486083984375,
0.2197265625,
0.486083984375,
0.2327880859375,
0.1175537109375,
0.2327880859375
],
[
0.51318359375,
0.221435546875,
0.5615234375,
0.221435546875,
0.5615234375,
0.232177734375,
0.51318359375,
0.232177734375
],
[
0.55517578125,
0.2203369140625,
0.80419921875,
0.2203369140625,
0.80419921875,
0.2340087890625,
0.55517578125,
0.2340087890625
],
[
0.118408203125,
0.236328125,
0.48779296875,
0.236328125,
0.48779296875,
0.2493896484375,
0.118408203125,
0.2493896484375
],
[
0.51123046875,
0.240478515625,
0.69775390625,
0.2410888671875,
0.69775390625,
0.255859375,
0.51123046875,
0.254638671875
],
[
0.118408203125,
0.251708984375,
0.4306640625,
0.251708984375,
0.4306640625,
0.265380859375,
0.118408203125,
0.265380859375
],
[
0.51318359375,
0.262451171875,
0.880859375,
0.262451171875,
0.880859375,
0.275634765625,
0.51318359375,
0.275634765625
],
[
0.12176513671875,
0.27783203125,
0.490234375,
0.27783203125,
0.490234375,
0.292236328125,
0.12176513671875,
0.292236328125
],
[
0.5146484375,
0.279052734375,
0.880859375,
0.279052734375,
0.880859375,
0.292236328125,
0.5146484375,
0.292236328125
],
[
0.118408203125,
0.29443359375,
0.489501953125,
0.29443359375,
0.489501953125,
0.30810546875,
0.118408203125,
0.30810546875
],
[
0.51123046875,
0.29345703125,
0.87744140625,
0.29345703125,
0.87744140625,
0.30712890625,
0.51123046875,
0.30712890625
],
[
0.12005615234375,
0.312255859375,
0.486083984375,
0.312255859375,
0.486083984375,
0.322509765625,
0.12005615234375,
0.322509765625
],
[
0.51318359375,
0.311279296875,
0.87744140625,
0.311279296875,
0.87744140625,
0.32177734375,
0.51318359375,
0.32177734375
],
[
0.118408203125,
0.32666015625,
0.48779296875,
0.32666015625,
0.48779296875,
0.34033203125,
0.118408203125,
0.34033203125
],
[
0.51123046875,
0.32666015625,
0.880859375,
0.32666015625,
0.880859375,
0.34033203125,
0.51123046875,
0.34033203125
],
[
0.118408203125,
0.344482421875,
0.46337890625,
0.344482421875,
0.46337890625,
0.355224609375,
0.118408203125,
0.355224609375
],
[
0.51318359375,
0.34326171875,
0.880859375,
0.34326171875,
0.880859375,
0.35693359375,
0.51318359375,
0.35693359375
],
[
0.1368408203125,
0.359375,
0.489501953125,
0.359375,
0.489501953125,
0.37353515625,
0.1368408203125,
0.37353515625
],
[
0.5146484375,
0.359375,
0.88330078125,
0.359375,
0.88330078125,
0.372314453125,
0.5146484375,
0.372314453125
],
[
0.118408203125,
0.3759765625,
0.484375,
0.3759765625,
0.484375,
0.3896484375,
0.118408203125,
0.3896484375
],
[
0.51318359375,
0.374755859375,
0.8818359375,
0.374755859375,
0.8818359375,
0.388427734375,
0.51318359375,
0.388427734375
],
[
0.118408203125,
0.391357421875,
0.483642578125,
0.391357421875,
0.483642578125,
0.405029296875,
0.118408203125,
0.405029296875
],
[
0.51318359375,
0.391357421875,
0.880859375,
0.391357421875,
0.880859375,
0.405029296875,
0.51318359375,
0.405029296875
],
[
0.118408203125,
0.407958984375,
0.486083984375,
0.407958984375,
0.486083984375,
0.421630859375,
0.118408203125,
0.421630859375
],
[
0.51318359375,
0.40673828125,
0.880859375,
0.40673828125,
0.880859375,
0.42041015625,
0.51318359375,
0.42041015625
],
[
0.118408203125,
0.42333984375,
0.48779296875,
0.42333984375,
0.48779296875,
0.43701171875,
0.118408203125,
0.43701171875
],
[
0.5146484375,
0.42333984375,
0.87890625,
0.42333984375,
0.87890625,
0.43701171875,
0.5146484375,
0.43701171875
],
[
0.12005615234375,
0.439453125,
0.484375,
0.439453125,
0.484375,
0.453125,
0.12005615234375,
0.453125
],
[
0.5146484375,
0.439453125,
0.880859375,
0.439453125,
0.880859375,
0.453125,
0.5146484375,
0.453125
],
[
0.118408203125,
0.4560546875,
0.48779296875,
0.4560546875,
0.48779296875,
0.4697265625,
0.118408203125,
0.4697265625
],
[
0.51123046875,
0.4560546875,
0.779296875,
0.4560546875,
0.779296875,
0.4697265625,
0.51123046875,
0.4697265625
],
[
0.118408203125,
0.47265625,
0.4306640625,
0.47265625,
0.4306640625,
0.486328125,
0.118408203125,
0.486328125
],
[
0.509765625,
0.48095703125,
0.86962890625,
0.482177734375,
0.86962890625,
0.496337890625,
0.509765625,
0.495361328125
],
[
0.12176513671875,
0.498779296875,
0.486083984375,
0.498779296875,
0.486083984375,
0.5126953125,
0.12176513671875,
0.5126953125
],
[
0.51318359375,
0.5029296875,
0.880859375,
0.5029296875,
0.880859375,
0.5166015625,
0.51318359375,
0.5166015625
],
[
0.118408203125,
0.5166015625,
0.484375,
0.5166015625,
0.484375,
0.52685546875,
0.118408203125,
0.52685546875
],
[
0.51318359375,
0.5185546875,
0.880859375,
0.5185546875,
0.880859375,
0.5322265625,
0.51318359375,
0.5322265625
],
[
0.1175537109375,
0.52978515625,
0.48779296875,
0.529296875,
0.48779296875,
0.54345703125,
0.1175537109375,
0.54443359375
],
[
0.51123046875,
0.53515625,
0.880859375,
0.53515625,
0.880859375,
0.548828125,
0.51123046875,
0.548828125
],
[
0.118408203125,
0.54638671875,
0.48779296875,
0.54638671875,
0.48779296875,
0.56005859375,
0.118408203125,
0.56005859375
],
[
0.51318359375,
0.55029296875,
0.880859375,
0.55029296875,
0.880859375,
0.5654296875,
0.51318359375,
0.5654296875
],
[
0.118408203125,
0.5625,
0.490234375,
0.5625,
0.490234375,
0.576171875,
0.118408203125,
0.576171875
],
[
0.51123046875,
0.5654296875,
0.880859375,
0.56787109375,
0.880859375,
0.58056640625,
0.51123046875,
0.5791015625
],
[
0.1175537109375,
0.5791015625,
0.48779296875,
0.5791015625,
0.48779296875,
0.5927734375,
0.1175537109375,
0.5927734375
],
[
0.51123046875,
0.58203125,
0.87890625,
0.58203125,
0.87890625,
0.595703125,
0.51123046875,
0.595703125
],
[
0.12005615234375,
0.5966796875,
0.484375,
0.5966796875,
0.484375,
0.60693359375,
0.12005615234375,
0.60693359375
],
[
0.509765625,
0.59716796875,
0.8759765625,
0.59716796875,
0.8759765625,
0.61083984375,
0.509765625,
0.61083984375
],
[
0.118408203125,
0.61083984375,
0.48779296875,
0.61083984375,
0.48779296875,
0.62451171875,
0.118408203125,
0.62451171875
],
[
0.5146484375,
0.6162109375,
0.87890625,
0.6162109375,
0.87890625,
0.626953125,
0.5146484375,
0.626953125
],
[
0.12005615234375,
0.626953125,
0.484375,
0.626953125,
0.484375,
0.64013671875,
0.12005615234375,
0.64013671875
],
[
0.51123046875,
0.62890625,
0.880859375,
0.6298828125,
0.880859375,
0.64453125,
0.51123046875,
0.6435546875
],
[
0.1175537109375,
0.6435546875,
0.139404296875,
0.6435546875,
0.139404296875,
0.65625,
0.1175537109375,
0.65625
],
[
0.51318359375,
0.646484375,
0.8818359375,
0.646484375,
0.8818359375,
0.6611328125,
0.51318359375,
0.6611328125
],
[
0.51123046875,
0.662109375,
0.8818359375,
0.6630859375,
0.8818359375,
0.677734375,
0.51123046875,
0.6767578125
],
[
0.1234130859375,
0.66943359375,
0.489501953125,
0.66943359375,
0.489501953125,
0.68310546875,
0.1234130859375,
0.68310546875
],
[
0.50732421875,
0.6787109375,
0.5517578125,
0.6787109375,
0.5517578125,
0.693359375,
0.50732421875,
0.693359375
],
[
0.12005615234375,
0.68505859375,
0.48779296875,
0.68505859375,
0.48779296875,
0.69873046875,
0.12005615234375,
0.69873046875
],
[
0.53076171875,
0.69482421875,
0.87890625,
0.6953125,
0.87890625,
0.71044921875,
0.53076171875,
0.708984375
],
[
0.118408203125,
0.70166015625,
0.484375,
0.70166015625,
0.484375,
0.71533203125,
0.118408203125,
0.71533203125
],
[
0.51123046875,
0.71044921875,
0.880859375,
0.71142578125,
0.880859375,
0.7255859375,
0.51123046875,
0.724609375
],
[
0.1175537109375,
0.71728515625,
0.484375,
0.71728515625,
0.484375,
0.73095703125,
0.1175537109375,
0.73095703125
],
[
0.118408203125,
0.73388671875,
0.484375,
0.73388671875,
0.484375,
0.74755859375,
0.118408203125,
0.74755859375
],
[
0.51123046875,
0.728515625,
0.880859375,
0.728515625,
0.880859375,
0.7421875,
0.51123046875,
0.7421875
],
[
0.1175537109375,
0.75,
0.486083984375,
0.7490234375,
0.486083984375,
0.76318359375,
0.1175537109375,
0.76416015625
],
[
0.51318359375,
0.74462890625,
0.880859375,
0.74462890625,
0.880859375,
0.75830078125,
0.51318359375,
0.75830078125
],
[
0.118408203125,
0.7666015625,
0.486083984375,
0.7666015625,
0.486083984375,
0.77978515625,
0.118408203125,
0.77978515625
],
[
0.51318359375,
0.76123046875,
0.87890625,
0.76123046875,
0.87890625,
0.775390625,
0.51318359375,
0.775390625
],
[
0.1175537109375,
0.78076171875,
0.486083984375,
0.78076171875,
0.486083984375,
0.79443359375,
0.1175537109375,
0.79443359375
],
[
0.51318359375,
0.77685546875,
0.8818359375,
0.77685546875,
0.8818359375,
0.79052734375,
0.51318359375,
0.79052734375
],
[
0.51318359375,
0.7919921875,
0.87890625,
0.7919921875,
0.87890625,
0.8056640625,
0.51318359375,
0.8056640625
],
[
0.118408203125,
0.7998046875,
0.484375,
0.7998046875,
0.484375,
0.81005859375,
0.118408203125,
0.81005859375
],
[
0.51318359375,
0.80712890625,
0.87890625,
0.80859375,
0.87890625,
0.822265625,
0.51318359375,
0.82080078125
],
[
0.1175537109375,
0.81396484375,
0.411376953125,
0.81396484375,
0.411376953125,
0.82763671875,
0.1175537109375,
0.82763671875
],
[
0.51318359375,
0.82470703125,
0.87744140625,
0.82470703125,
0.87744140625,
0.83837890625,
0.51318359375,
0.83837890625
],
[
0.124267578125,
0.84130859375,
0.484375,
0.84130859375,
0.484375,
0.85498046875,
0.124267578125,
0.85498046875
],
[
0.51318359375,
0.84130859375,
0.87890625,
0.84130859375,
0.87890625,
0.85546875,
0.51318359375,
0.85546875
],
[
0.1175537109375,
0.85693359375,
0.483642578125,
0.85693359375,
0.483642578125,
0.87060546875,
0.1175537109375,
0.87060546875
],
[
0.51123046875,
0.85693359375,
0.87890625,
0.85693359375,
0.87890625,
0.87060546875,
0.51123046875,
0.87060546875
],
[
0.118408203125,
0.87255859375,
0.48779296875,
0.87255859375,
0.48779296875,
0.8857421875,
0.118408203125,
0.8857421875
],
[
0.51318359375,
0.87353515625,
0.880859375,
0.87353515625,
0.880859375,
0.88720703125,
0.51318359375,
0.88720703125
],
[
0.1175537109375,
0.8896484375,
0.48779296875,
0.8896484375,
0.48779296875,
0.90283203125,
0.1175537109375,
0.90283203125
],
[
0.51123046875,
0.8896484375,
0.8818359375,
0.8896484375,
0.8818359375,
0.90283203125,
0.51123046875,
0.90283203125
],
[
0.118408203125,
0.90380859375,
0.484375,
0.90478515625,
0.484375,
0.91943359375,
0.118408203125,
0.91845703125
],
[
0.51318359375,
0.90625,
0.88330078125,
0.90625,
0.88330078125,
0.91943359375,
0.51318359375,
0.91943359375
]
] |
[
"Ref/Hate",
"LowH",
"High H Total",
"表 1",
"1,316",
"4,342",
"2,443",
"Users",
"1,899",
"583",
"10.1M",
"4",
" Comparative Exploration of Hateful",
"250k",
"Tweets",
"8.2M",
"4.8M",
"3.4M ",
"and Reference Users",
"Table I: Dataset overview",
"在预测用户未来的仇恨行为之前,我们首先在",
"仇恨用户和参考用户之间进行比较探索,以更",
"Refiningreferenceusers.如上所述,我们的",
"好地了解他们的区别特征",
"参考用户是从大量与COVID-19相关的推文中",
"随机选择的。我们发现19个参考用户(0。6%)",
"4.1",
"How much and what they write",
"在COVID-19之前使用了反亚洲的诽谤。我们",
"4.1.1Twitter Activity",
"将这些用户排除在研究的其余部分之外",
"仇恨用户和参考用户之间的第一个明显区别",
"Refining hateful users.在COVID-19之前,一",
"是,就COVID-19之后的书面推文数量而言,",
"些可恶的用户使用了反亚洲的排谤。通过人工",
"他们的活动水平。平均而言,两个用户组都增",
"检香,我们注意到他们中的大多数是香港的积",
"加了他们的活动,而对于恨用户来说,这种",
"极分子,通过针对中国的污言语表达负面情",
"增长更为可观。我们通过1,000个自举样本评",
"绪。我们将这些用户排除在进一步分析之列",
"估了统计意义。仇恨用户中的引导平均百分",
"相比之下,从2020年3月9日开始,“wuflu”",
"比增加远高于参考用户:90.12%(土0.419%,",
"和“kungflu”等排谤词的使用开始增加,这一",
"95%CI)与。24.52%(±0.107%,95%CI)。此外",
"天是意大利在全国范围内扩大紧急措施的日",
"我们观察到,COVID-19之后活动的增加更多",
"子(?),并在2020年3月16日出现了急剧上",
"地是由那些高级仇恨用户驱动的,而不是低级",
"升,当时美国前总统唐纳德·特朗普在Twitter",
"用户。高级和低级仇恨用户中的引导平均百分",
"上将COVID-19称为“中国病毒”。从那时起,",
"比增加分别是118.97%(±0.977%,95%CI)",
"所有反亚洲的诽谤都被广泛使用。我们关注的",
"和77.22%(±0.381%,95%CI)",
"是这些在新冠肺炎之后变得可恨的用户",
"4.1.2Representative Words of User Groups",
"Low-vsHigh-levelHateful users.我们根据",
"作为探索性分析,我们通过使用(?)中提出的",
"对亚洲人表达的仇恨程度将优恨用户进一步分",
"对数赔率比来识别用户组的代表词。对于每个",
"为两组。在我们的数据收集中,有8,769条推",
"小组,我们分别汇总了他们所有的COVID-19",
"文至少包含一个谤词。每个用户带有谤词",
"之前和COVID-19之后的推文,创建了四个",
"的推文的平均数量为4(最小值:1,中位数:",
"语料库。为了删除罕见的行话,我们消除了",
"3,最大值:126)。因此,我们根据平均带有",
"出现少于10次的术语。然后,我们提取所有",
"谤的推文将用户进一步分为两组:少于或等于",
"unigram并计算它们的对数比值比。如前所述",
"三个带有反亚洲谤的推文的低级仇恨用户和",
"我们在两个单独的随机Twitter数据集上计算",
"至少四个带有反亚洲啡谤的推文的高级仇恨用",
"COVID-19之前和COVID-19之后的背景词频",
"户",
"率,这些数据集从TwitterDecahose数据中采",
"样。然后,将unigram按其估计的分数进行",
"Botdetection。我们进一步删除了“bot”帐",
"排名",
"户,以更好地捕获真实的人类行为。我们使",
"图1显示了每个语料库中100个过度表示的",
"用BotometerAPIE(?),这是一种流行的监督",
"单字。对于COVID-19之前的仇恨用户(图1(a)",
"式机器学习工具,可通过使用内容,网络结",
"构和配置文件等功能来检查Twitter帐户是否",
"),美国政治相关词汇(e。g。、奥巴马、拜登、",
"有可能的自动化活动。给定一个Twitter帐户,",
"克林顿、保守派和民主党人)和国际政治问题",
"BotometerAPI返回从0到1的分数,其中1最",
"相关的词语(e。g。、伊朗、边境、战争和乌",
"有可能是机器人。我们使用50%的值(底部",
"克兰)。有些话表明这些用户很可能是右翼:1)",
"maga(“使美国再次伟大\")是唐纳德·特朗普",
"计分=0。5),这在之前的研究(?)中被证明是",
"在美国政治中推广的竞选口号,2)左派和社会",
"有效的,可以删除潜在的机器人账户",
"主义者等术语,以及3)右翼新闻媒体,包括",
"Datasummary.因此,我们用于进一步分",
"breitbartnews,gatewaypundit和dailycaller。另",
"析的数据集合包含分别由1,899个仇恨用",
"一个有趣的词组包含名称:反对唐纳德·特朗",
"户和2,443个参考用户发布的8,201,510和",
"普的索罗斯(可能是乔治·索罗斯),奥马尔",
"2,498,246条推文。我们还收集他们的网络信",
"(可能是伊尔汗·奥马尔),希夫(可能是亚当·",
"息-他们使用TwitterRESTAPI跟踪谁。详情见",
"希夫)和南希(可能是南希:佩洛西)。此外,"
] |
{
"arxiv_id": "2109.07296",
"language": "zh",
"page_idx": 4
}
|
||
2308.13510-zh-2
|
2308.13510-zh-2.jpg
|
# 2. Preliminaries
2.1. Differential Privacy (DP)
令$n$为数据集中的行数,令$x$为表示每行值域的(任意)集。我们区分两种类型的列( $a。k。a。属 性 ) :$ known 和 unknown 。我们还假设知道每个未知属性可以采用的可能值的集合
Definition 1(DP[13]). For $\varepsilon\geq0,an$ algorithm $\mathscr{A}$ is $\varepsilon$ -DP iffor every pair X,X' of datasets that differ on the unknown attributes of one row $^{1},and$ for every possible $outputo,itholdsthat\Pr[\mathscr{A}(X)=o]\leq e^{\varepsilon}\cdot\Pr[\mathscr{A}(X^{\prime})=o]$ Lemma 2 (Basic Composition). Let $\mathscr{A}$ be an algorithm that runsk algorithms $\mathscr{A}_1,\ldots,\mathscr{A}_k$ on the same dataset such $that~\mathcal{A}_{i}~is~\varepsilon_{i}~-DP~with~\varepsilon_{i}\geq0~for~each~i\in[k]~.~Then,~\mathscr{A}~is$ $( \sum _{i= 1}^{k}\varepsilon _{i})$ $- DP.$
$\textbf{Lemma 3}\left ( \text{Post- processing}\right ) .$ Let $\varepsilon > 0$ , and $R$ and $R^{\prime }$ $be$ any two sets. If $\hat{\mathscr{A}}:\mathcal{X}^n\to R$ is an $\varepsilon-DP$ algorithm, and $f:R\to R^{\prime}$ is any randomized mapping, then$\left(f\circ\mathscr{A}\right):$ $X^{n}\to R^{\prime }$ $is$ $\varepsilon$ $- DP.$
有关 DP 的广泛概述,我们请读者参阅专着 [18] DP 中常用的方法是离散拉普拉斯机制。为了定义它, 我们回顾了$\ell_1$ -sensitivity 的概念。
Definition $4(\ell_1$ -sensitivity). Let $\mathscr{X}$ be any set, and $f$ : ${\mathcal{X} }^{n}$ $\to$ ${\dot{\mathbb{R} } }^{d}$ $be$ $a$ $d$ $- dimensional$ $function.$ Its $\ell _{1}$ - $sensitivityisdefinedas\Delta_{1}f:=\max_{X,X^{\prime}}\left\|f(X)-f(X^{\prime})\right\|_{1}$ , where X and X' are two datasets that differ on the un- · Histogram contributions generation: The API en-
known attributes of a single row.
Definition 5(Discrete Laplace Mechanism). The discrete Laplace distribution centered at 0 and with parameter a> 0 , denoted by DLap(a) , is the distribution whose proba- $bilitymassfunctionatintegerkis\frac{e^a-1}{e^a+1}\cdot e^{-a|k|}.Thed$ -dimensional discrete Laplace mechanism with parameter $a$ applied to a function $\hat{f}:\mathcal{X}^n\to\mathbb{Z}^d,on$ input a dataset $X\in\mathscr{X}^n$ , returns $f(X)+Z$ where Z is a d -dimensional noise random variable whose coordinates are sampled i.i.d. from DLap$(a)$
$\textbf{Lemma 6. For every }\varepsilon > 0, thed- dimensional$ discrete Laplace mechanism with parameter a s / 1 f is ε -DP.
## 2.2. Attribution Reporting API
可聚合报告[10]的构造如下:
$^{1}$We note that this instantiation of the DP definition is related to the label DP setting in machine learning [14,15,16,17] ,where the features of an example are considered known and only its label is deemed unknown and sensitive. In our use case, there might be multiple unknown attributes, whose concatenation is treated in a they are not essential to the focus of this paper. We refer the inter-
conceptually similar way to the label in the label DP setting.
$\cdot$ Impression (a.k.a. source) registration: The API
provides a mechanism for the ad-tech to register an impression (e.g., a click or view) on the publisher site or app. During registration, the ad-tech can specify impression-side aggregation keys (e.g., one corresponding to the campaign or geo location).
Conversion (a.k.a. trigger) registration: The API also provides a mechanism for the ad-tech to register a conversion on the advertiser site or app. As it does so, the ad-tech can specify conversion-side key pieces along with aggregatable values corresponding to each setting of the impression-side aggregation keys. E.g., a conversion-side key piece could capture the conversion type or (a discretization of) the conversion timestamp. The combined aggregation key (which can be thought of as the concatenation of the impression-side aggregation key and the conversion-side key piece) is restricted to be at most 128 bits. The aggregatable value is required to be an integer between 1 and the $L_{1}$ parameter of the API, which is set to $2^16=65,536.$
$\cdot$ Attribution: The API supports last-touch attribution where the conversion is attributed to the last (unexpired) impression registered by the same ad-tech. (The API supports a broader family of single-touch attribution schemes allowing more flexible prioritization over impressions and conversions; we do not discuss this aspect any further as it is orthogonal to our algorithms. $^2)$
forces that the sum of contributions across all aggregatable reports generated by different conversions attributed to the same impression is capped to at most the $L_1=2^{16}$ parameter. An example construction of histogram contributions is in Figure 2. While in this example the conversion key piece depends only on conversion information (the conversion day), it can be replaced by an attribute that depends on both impression and conversion information (e.g., a discretization of the difference between impression time and conversion time); this can be done using filters [20]
在查询时,ad-tech [21] 请求一组直方图键。(可以将查询的密钥集设置为印象侧特征的所有已知值与转换侧特征的所有可能值的集合的笛卡尔乘积。) 可聚合报告在聚合服务中组合在一起,以通过将带有参数$\varepsilon/L_1$的离散拉普拉斯机制 (Definition 5)应用于请求的聚合键来生成摘要报告。此报告满足$\varepsilon$ -DP, 其中数据集的每一行对应于一个印象及其属性
$^2$The API moreover enforces a set of rate limits on registered impressions, and attributed conversions; we omit discussing these since ested reader to the documentation [19] .
|
[
[
0.1485595703125,
0.1015625,
0.181396484375,
0.1015625,
0.181396484375,
0.114013671875,
0.1485595703125,
0.114013671875
],
[
0.172119140625,
0.09979248046875,
0.31494140625,
0.1009521484375,
0.31494140625,
0.11517333984375,
0.172119140625,
0.114013671875
],
[
0.51904296875,
0.10272216796875,
0.85205078125,
0.10272216796875,
0.85205078125,
0.11639404296875,
0.51904296875,
0.11639404296875
],
[
0.5205078125,
0.11639404296875,
0.85205078125,
0.11639404296875,
0.85205078125,
0.1300048828125,
0.5205078125,
0.1300048828125
],
[
0.14697265625,
0.127685546875,
0.393798828125,
0.127685546875,
0.393798828125,
0.142578125,
0.14697265625,
0.142578125
],
[
0.5205078125,
0.12890625,
0.85205078125,
0.12890625,
0.85205078125,
0.142578125,
0.5205078125,
0.142578125
],
[
0.1485595703125,
0.1478271484375,
0.49365234375,
0.1478271484375,
0.49365234375,
0.162109375,
0.1485595703125,
0.162109375
],
[
0.51904296875,
0.142578125,
0.85205078125,
0.142578125,
0.85205078125,
0.1561279296875,
0.51904296875,
0.1561279296875
],
[
0.14697265625,
0.1602783203125,
0.490234375,
0.1602783203125,
0.490234375,
0.17333984375,
0.14697265625,
0.17333984375
],
[
0.5205078125,
0.155029296875,
0.85791015625,
0.155029296875,
0.85791015625,
0.168701171875,
0.5205078125,
0.168701171875
],
[
0.51904296875,
0.16748046875,
0.75146484375,
0.16748046875,
0.75146484375,
0.18115234375,
0.51904296875,
0.18115234375
],
[
0.14697265625,
0.17333984375,
0.491943359375,
0.17333984375,
0.491943359375,
0.18701171875,
0.14697265625,
0.18701171875
],
[
0.1485595703125,
0.1859130859375,
0.31494140625,
0.18701171875,
0.31494140625,
0.20068359375,
0.1485595703125,
0.1995849609375
],
[
0.50537109375,
0.188232421875,
0.85205078125,
0.188232421875,
0.85205078125,
0.201904296875,
0.50537109375,
0.201904296875
],
[
0.14697265625,
0.2078857421875,
0.495361328125,
0.2078857421875,
0.495361328125,
0.221435546875,
0.14697265625,
0.221435546875
],
[
0.5205078125,
0.203125,
0.8486328125,
0.203125,
0.8486328125,
0.213134765625,
0.5205078125,
0.213134765625
],
[
0.51904296875,
0.21435546875,
0.8505859375,
0.21435546875,
0.8505859375,
0.22802734375,
0.51904296875,
0.22802734375
],
[
0.145263671875,
0.221435546875,
0.495361328125,
0.221435546875,
0.495361328125,
0.235107421875,
0.145263671875,
0.235107421875
],
[
0.51904296875,
0.226806640625,
0.8505859375,
0.226806640625,
0.8505859375,
0.240478515625,
0.51904296875,
0.240478515625
],
[
0.14697265625,
0.2340087890625,
0.495361328125,
0.2340087890625,
0.495361328125,
0.2476806640625,
0.14697265625,
0.2476806640625
],
[
0.5205078125,
0.240478515625,
0.85205078125,
0.240478515625,
0.85205078125,
0.254150390625,
0.5205078125,
0.254150390625
],
[
0.14697265625,
0.2464599609375,
0.49365234375,
0.2464599609375,
0.49365234375,
0.260009765625,
0.14697265625,
0.260009765625
],
[
0.5205078125,
0.2529296875,
0.85205078125,
0.2529296875,
0.85205078125,
0.2666015625,
0.5205078125,
0.2666015625
],
[
0.51904296875,
0.265380859375,
0.85205078125,
0.265380859375,
0.85205078125,
0.279052734375,
0.51904296875,
0.279052734375
],
[
0.14697265625,
0.27978515625,
0.495361328125,
0.27978515625,
0.495361328125,
0.29345703125,
0.14697265625,
0.29345703125
],
[
0.5205078125,
0.27783203125,
0.85205078125,
0.27783203125,
0.85205078125,
0.29150390625,
0.5205078125,
0.29150390625
],
[
0.14697265625,
0.292236328125,
0.49365234375,
0.292236328125,
0.49365234375,
0.305908203125,
0.14697265625,
0.305908203125
],
[
0.5205078125,
0.29150390625,
0.85205078125,
0.29150390625,
0.85205078125,
0.3046875,
0.5205078125,
0.3046875
],
[
0.14697265625,
0.305908203125,
0.495361328125,
0.305908203125,
0.495361328125,
0.320556640625,
0.14697265625,
0.320556640625
],
[
0.5224609375,
0.3046875,
0.8505859375,
0.3046875,
0.8505859375,
0.3154296875,
0.5224609375,
0.3154296875
],
[
0.51904296875,
0.3154296875,
0.8505859375,
0.3154296875,
0.8505859375,
0.328857421875,
0.51904296875,
0.328857421875
],
[
0.1485595703125,
0.32177734375,
0.2333984375,
0.32177734375,
0.2333984375,
0.336181640625,
0.1485595703125,
0.336181640625
],
[
0.5205078125,
0.328857421875,
0.85205078125,
0.328857421875,
0.85205078125,
0.342529296875,
0.5205078125,
0.342529296875
],
[
0.145263671875,
0.342529296875,
0.495361328125,
0.342529296875,
0.495361328125,
0.355712890625,
0.145263671875,
0.355712890625
],
[
0.51904296875,
0.342529296875,
0.85205078125,
0.342529296875,
0.85205078125,
0.355712890625,
0.51904296875,
0.355712890625
],
[
0.14697265625,
0.355224609375,
0.495361328125,
0.355224609375,
0.495361328125,
0.3681640625,
0.14697265625,
0.3681640625
],
[
0.51904296875,
0.35400390625,
0.85205078125,
0.352783203125,
0.85205078125,
0.36767578125,
0.51904296875,
0.3681640625
],
[
0.14697265625,
0.3681640625,
0.491943359375,
0.3681640625,
0.491943359375,
0.3818359375,
0.14697265625,
0.3818359375
],
[
0.515625,
0.37890625,
0.52294921875,
0.37890625,
0.52294921875,
0.383056640625,
0.515625,
0.383056640625
],
[
0.51904296875,
0.3759765625,
0.8486328125,
0.3759765625,
0.8486328125,
0.385986328125,
0.51904296875,
0.385986328125
],
[
0.1485595703125,
0.3818359375,
0.26025390625,
0.3818359375,
0.26025390625,
0.393798828125,
0.1485595703125,
0.393798828125
],
[
0.5205078125,
0.388427734375,
0.85205078125,
0.388427734375,
0.85205078125,
0.402099609375,
0.5205078125,
0.402099609375
],
[
0.162841796875,
0.402099609375,
0.495361328125,
0.402099609375,
0.495361328125,
0.4150390625,
0.162841796875,
0.4150390625
],
[
0.5205078125,
0.402587890625,
0.8505859375,
0.402587890625,
0.8505859375,
0.413330078125,
0.5205078125,
0.413330078125
],
[
0.145263671875,
0.413330078125,
0.49365234375,
0.4150390625,
0.49365234375,
0.429931640625,
0.145263671875,
0.427490234375
],
[
0.51904296875,
0.41455078125,
0.85205078125,
0.41455078125,
0.85205078125,
0.427490234375,
0.51904296875,
0.427490234375
],
[
0.14697265625,
0.4287109375,
0.36865234375,
0.4287109375,
0.36865234375,
0.4423828125,
0.14697265625,
0.4423828125
],
[
0.51904296875,
0.427001953125,
0.85205078125,
0.427001953125,
0.85205078125,
0.440673828125,
0.51904296875,
0.440673828125
],
[
0.5205078125,
0.441162109375,
0.8486328125,
0.441162109375,
0.8486328125,
0.451904296875,
0.5205078125,
0.451904296875
],
[
0.1485595703125,
0.45068359375,
0.49365234375,
0.45068359375,
0.49365234375,
0.46142578125,
0.1485595703125,
0.46142578125
],
[
0.51904296875,
0.45068359375,
0.85205078125,
0.451904296875,
0.85205078125,
0.466064453125,
0.51904296875,
0.465576171875
],
[
0.14697265625,
0.4619140625,
0.497802734375,
0.4619140625,
0.497802734375,
0.4755859375,
0.14697265625,
0.4755859375
],
[
0.5205078125,
0.466064453125,
0.58837890625,
0.466064453125,
0.58837890625,
0.47802734375,
0.5205078125,
0.47802734375
],
[
0.14697265625,
0.4755859375,
0.491943359375,
0.4755859375,
0.491943359375,
0.4892578125,
0.14697265625,
0.4892578125
],
[
0.14697265625,
0.488037109375,
0.496337890625,
0.488037109375,
0.496337890625,
0.501953125,
0.14697265625,
0.501953125
],
[
0.51318359375,
0.490478515625,
0.52294921875,
0.490478515625,
0.52294921875,
0.49462890625,
0.51318359375,
0.49462890625
],
[
0.51904296875,
0.486328125,
0.8505859375,
0.486328125,
0.8505859375,
0.49951171875,
0.51904296875,
0.49951171875
],
[
0.1485595703125,
0.5029296875,
0.344970703125,
0.5029296875,
0.344970703125,
0.51318359375,
0.1485595703125,
0.51318359375
],
[
0.51708984375,
0.498779296875,
0.85205078125,
0.49951171875,
0.85205078125,
0.51318359375,
0.51708984375,
0.5126953125
],
[
0.5205078125,
0.5126953125,
0.85205078125,
0.5126953125,
0.85205078125,
0.525390625,
0.5205078125,
0.525390625
],
[
0.14697265625,
0.521484375,
0.496337890625,
0.521484375,
0.496337890625,
0.53515625,
0.14697265625,
0.53515625
],
[
0.5205078125,
0.52490234375,
0.85205078125,
0.52490234375,
0.85205078125,
0.5380859375,
0.5205078125,
0.5380859375
],
[
0.14697265625,
0.53515625,
0.495361328125,
0.53515625,
0.495361328125,
0.548828125,
0.14697265625,
0.548828125
],
[
0.51904296875,
0.5361328125,
0.85400390625,
0.53759765625,
0.85400390625,
0.5517578125,
0.51904296875,
0.55029296875
],
[
0.14697265625,
0.54736328125,
0.495361328125,
0.54736328125,
0.495361328125,
0.56103515625,
0.14697265625,
0.56103515625
],
[
0.145263671875,
0.5556640625,
0.496337890625,
0.5556640625,
0.496337890625,
0.57666015625,
0.145263671875,
0.57666015625
],
[
0.51904296875,
0.55029296875,
0.85205078125,
0.55029296875,
0.85205078125,
0.56396484375,
0.51904296875,
0.56396484375
],
[
0.51904296875,
0.5634765625,
0.85205078125,
0.5634765625,
0.85205078125,
0.57666015625,
0.51904296875,
0.57666015625
],
[
0.1502685546875,
0.57666015625,
0.49365234375,
0.57666015625,
0.49365234375,
0.58740234375,
0.1502685546875,
0.58740234375
],
[
0.51708984375,
0.57666015625,
0.8505859375,
0.576171875,
0.8505859375,
0.5888671875,
0.51708984375,
0.59033203125
],
[
0.14697265625,
0.58740234375,
0.495361328125,
0.58740234375,
0.495361328125,
0.6015625,
0.14697265625,
0.6015625
],
[
0.51904296875,
0.5888671875,
0.8505859375,
0.5888671875,
0.8505859375,
0.6025390625,
0.51904296875,
0.6025390625
],
[
0.14697265625,
0.60107421875,
0.495361328125,
0.60107421875,
0.495361328125,
0.6142578125,
0.14697265625,
0.6142578125
],
[
0.51904296875,
0.6015625,
0.85205078125,
0.6015625,
0.85205078125,
0.615234375,
0.51904296875,
0.615234375
],
[
0.1485595703125,
0.6142578125,
0.491943359375,
0.6142578125,
0.491943359375,
0.62744140625,
0.1485595703125,
0.62744140625
],
[
0.51904296875,
0.6142578125,
0.85400390625,
0.6142578125,
0.85400390625,
0.62744140625,
0.51904296875,
0.62744140625
],
[
0.1485595703125,
0.62744140625,
0.2392578125,
0.62744140625,
0.2392578125,
0.6396484375,
0.1485595703125,
0.6396484375
],
[
0.5205078125,
0.62744140625,
0.8037109375,
0.62744140625,
0.8037109375,
0.64111328125,
0.5205078125,
0.64111328125
],
[
0.14697265625,
0.646484375,
0.49365234375,
0.646484375,
0.49365234375,
0.66015625,
0.14697265625,
0.66015625
],
[
0.5224609375,
0.64794921875,
0.8212890625,
0.64794921875,
0.8212890625,
0.6611328125,
0.5224609375,
0.6611328125
],
[
0.81689453125,
0.6484375,
0.8505859375,
0.6484375,
0.8505859375,
0.66015625,
0.81689453125,
0.66015625
],
[
0.1485595703125,
0.662109375,
0.483642578125,
0.662109375,
0.483642578125,
0.6728515625,
0.1485595703125,
0.6728515625
],
[
0.50537109375,
0.6611328125,
0.8505859375,
0.6611328125,
0.8505859375,
0.6748046875,
0.50537109375,
0.6748046875
],
[
0.50537109375,
0.6728515625,
0.8505859375,
0.6728515625,
0.8505859375,
0.68603515625,
0.50537109375,
0.68603515625
],
[
0.14697265625,
0.6904296875,
0.4072265625,
0.6904296875,
0.4072265625,
0.70361328125,
0.14697265625,
0.70361328125
],
[
0.50732421875,
0.68701171875,
0.8505859375,
0.68701171875,
0.8505859375,
0.70068359375,
0.50732421875,
0.70068359375
],
[
0.50537109375,
0.69873046875,
0.8505859375,
0.69873046875,
0.8505859375,
0.7119140625,
0.50537109375,
0.7119140625
],
[
0.1485595703125,
0.71044921875,
0.337646484375,
0.71044921875,
0.337646484375,
0.7236328125,
0.1485595703125,
0.7236328125
],
[
0.50732421875,
0.7119140625,
0.85205078125,
0.7119140625,
0.85205078125,
0.7255859375,
0.50732421875,
0.7255859375
],
[
0.50537109375,
0.7255859375,
0.8505859375,
0.7255859375,
0.8505859375,
0.7392578125,
0.50537109375,
0.7392578125
],
[
0.1485595703125,
0.7421875,
0.495361328125,
0.7421875,
0.495361328125,
0.755859375,
0.1485595703125,
0.755859375
],
[
0.15283203125,
0.7548828125,
0.49365234375,
0.7548828125,
0.49365234375,
0.765625,
0.15283203125,
0.765625
],
[
0.15283203125,
0.765625,
0.495361328125,
0.765625,
0.495361328125,
0.775390625,
0.15283203125,
0.775390625
],
[
0.50146484375,
0.7626953125,
0.85205078125,
0.76318359375,
0.85205078125,
0.77685546875,
0.50146484375,
0.775390625
],
[
0.15283203125,
0.77490234375,
0.495361328125,
0.77490234375,
0.495361328125,
0.7880859375,
0.15283203125,
0.7880859375
],
[
0.5087890625,
0.77490234375,
0.85205078125,
0.77490234375,
0.85205078125,
0.7880859375,
0.5087890625,
0.7880859375
],
[
0.151123046875,
0.78515625,
0.496337890625,
0.78515625,
0.496337890625,
0.798828125,
0.151123046875,
0.798828125
],
[
0.50732421875,
0.78369140625,
0.85205078125,
0.78515625,
0.85205078125,
0.798828125,
0.50732421875,
0.79736328125
],
[
0.154541015625,
0.79736328125,
0.468505859375,
0.79736328125,
0.468505859375,
0.80810546875,
0.154541015625,
0.80810546875
],
[
0.51123046875,
0.79736328125,
0.71728515625,
0.79736328125,
0.71728515625,
0.80810546875,
0.51123046875,
0.80810546875
]
] |
[
"2.",
"Preliminaries",
"Impression (a.k.a. source) registration: The API",
"provides a mechanism for the ad-tech to register an",
"2.1. Differential Privacy (DP)",
"impression (e.g., a click or view) on the publisher site",
"令n为数据集中的行数,令α为表示每行值域的",
"or app. During registration, the ad-tech can specify",
"(任意)集。我们区分两种类型的列(a。k。a。属性)",
"impression-side aggregation keys (e.g.,one correspond-",
"ing to the campaign or geo location).",
"known 和unknown 。我们还假设知道每个未知属性",
"可以采用的可能值的集合",
". Conversion (a.k.a. trigger) registration: The API",
"Definition 1 (DP [13]). For ≥ 0 , an algorithm is",
"alsoprovides amechanismfor thead-tech toregister",
"a conversion on the advertiser site or app. As it does",
"e -DP if for every pair X,X' of datasets that differ on the",
"so, the ad-tech can specify conversion-side key pieces",
"unknown attributes of one row I, and for every possible",
"along with aggregatable values corresponding to each",
"output o, it holds that Pr[α(X) = o] ≤ee .Pr[α(X') = o]",
"setting of the impression-side aggregation keys. E.g..",
"a conversion-side key piece could capture the conver-",
"Lemma 2 (Basic Composition). Let α be an algorithm",
"sion type or (a discretization of) the conversion times-",
"that runsk algorithms ..., d, on the same dataset such",
"tamp. The combined aggregation key (which can be",
"that d, is e, -DP withe ≥ o for eachie [K]. Then, d is",
"thought of as theconcatenation oftheimpression-side",
"aggregation key and the conversion-side key piece)",
"(E-1e) -DP.",
"is restricted to be at most 128 bits. The aggregatable",
"Lemma 3 (Post-processing). Lete > O , and R and R' be",
"value is required to be an integer between 1 and the",
"any two sets. If d : arn → R is an e -DPalgorithm, and",
"Li parameter of the API, which is set to 216 = 65,536 .",
"f : R - R' is any randomized mapping, then (f oα) :",
":",
"Attribution:TheAPI supports last-touch attribution",
"arn→R' ise-DP.",
"where the conversion is attributed to the last (unex-",
"有关DP的广泛概述,我们请读者参阅专着[18]。",
"pired)impression registered bythe same ad-tech. (The",
"DP中常用的方法是离散拉普拉斯机制。为了定义它,",
"API supports a broader family of single-touch attri-",
"我们回顾了-sensitivity的概念。",
" bution schemes allowing more flexible prioritization",
"over impressions and conversions; we do not discuss",
"Definition 4 (ly -sensitivity). Let be any set, and",
"this aspect any further as it is orthogonal to our algo-",
"f : an -→ Rd be a d -dimensional function. Its li -",
"rithms.2)",
"sensitivity is defined asAif := maxx,x If(X)-f(X')lli",
", where X and X' are two datasets that differ on the un-",
"",
"Histogram contributions generation: The API en-",
"known attributes of a single row.",
"forces that the sum of contributions across all aggre-",
"gatable reports generated by different conversions at-",
"Definition 5 (Discrete Laplace Mechanism). The discrete",
"tributed to the same impression is capped to at most",
"Laplace distribution centered at O and with parameter a >",
"the Ly =216 parameter. An example construction of",
"O, denoted by DLap(a), is the distribution whose proba-",
"biltymass function at integerk isealklThed",
"histogram contributions is in Figure 2. While in this",
"example the conversion key piece depends only on",
"-dimensional discreteLaplacemechanism withparameter",
"conversion information (the conversion day),it can be",
"a applied to a function f : arn - zd , on input a dataset",
"replaced by an attribute that depends on both impres-",
"X e arn , returns f(X) + Z where Z is a d -dimensional",
"sion and conversion information (e.g., a discretization",
"noise random variable whose coordinates are sampled i.i.d.",
"of the difference between impression time and conver-",
"from DLap(a)",
"sion time); this can be done using filters [20] .",
"Lemma 6. For every > 0, the d -dimensional discrete",
"在查询时,ad-tech[21]请求一组直方图键。",
"(可",
"Laplacemechanismwithparametera≤e/if is-DP.",
"以将查询的密钥集设置为印象侧特征的所有已知值",
"与转换侧特征的所有可能值的集合的笛卡尔乘积。)",
"2.2.Attribution Reporting API",
"可聚合报告在聚合服务中组合在一起,以通过将带",
"有参数e/L的离散拉普拉斯机制(Definition5)应",
"可聚合报告[10]的构造如下:",
"用于请求的聚合键来生成摘要报告。此报告满足",
"-DP,其中数据集的每一行对应于一个印象及其属性",
"Wenote that this instantiationofthe DP definitionisrelatedtothe",
"label DP setting in machine learning [14, 15, 16, 17] , where the",
"features of an example are considered known and only its label is",
"2The APImoreover enforces a set ofratelimits on registered impres-",
"deemed unknown and sensitive. In our use case, there might be",
"sions, and attributed conversions, we omit discussing these since",
"multiple unknown attributes,whose concatenation is treated ina",
"they arenotessentialtothefocusofthispaper.Werefertheinter-",
"conceptually similar wayto the label in thelabel DP setting",
"ested reader to the documentation [19]"
] |
{
"arxiv_id": "2308.13510",
"language": "zh",
"page_idx": 2
}
|
||
2308.13510-zh-4
|
2308.13510-zh-4.jpg
|
<table>
<tbody>
<tr>
<td>$\mathbf{Al}$ - -</td>
<td>rithm 1 CombineEstimates</td>
</tr>
<tr>
<td> </td>
<td>$\mathbf{tput:}(z;\mathbf{b})$ estımate and varıance. $\operatorname{rar}_{z}):$</td>
</tr>
<tr>
<td> </td>
<td>$\operatorname{var}_{x}\cdot\operatorname{var}_{y}$ $z$ $\operatorname{var}_x+\operatorname{var}_\nu$</td>
</tr>
<tr>
<td> </td>
<td>Va $X$</td>
</tr>
<tr>
<td> </td>
<td>urn $(z;$var$z)$</td>
</tr>
</tbody>
</table>
对于具有级别$L_0,\ldots,L_d$的树$T$,其中$L_i$是级别 计算$z_\nu^{\hat{\iota}}$,这是$c_\nu$的最佳线性无偏估计,仅使用以$\nu$,
$i$上的节点集,并且每个节点$\nu$上的计数$c_\nu$的估计器
<NEXT\_LINXMTHX\_6>
分层查询估计问题的目标是以最小可能的树错误私下估计每个节点的计数,其中估计应该是一致的。为了实现这一目标,我们将采用后处理和隐私预算策略
# 4. Post-processing Algorithms
直接应用离散拉普拉斯机制向每个节点添加独立噪声不会导致一致的估计。可以通过仅估计叶子的计数并通过添加其叶后代的计数来推断每个非叶节点的计数来实现一致性,但这可能会导致树中较高节点的较大误差。或者,可以通过后处理独立的每节点估计来实现一致性。由于 DP 是在后处理(Lemma 3 )下保留的,因此这不会影响隐私保证,并且可以大大提高准确性
由于任何节点的计数必须等于其子节点的计数之们可以将这两个估计结合起来,以获得较低方差的单个估计。扩展这一观察,Hay 等人。[11]和 Cormode 等人。[12]为常规(每个非叶具有相同数量的子代) 和平衡 (每个叶处于相同深度) 的树提供了高效的后处理算法,实现了一致性,并大大提高了准确性。特别是,估计每个节点的计数可以表示为线性回归间题,并且这些算法计算最小二乘解,已知该最小二乘解可以在所有无偏线性估计器中实现最佳误差方差。间内解决
我们将此算法推广到 Algorithm 2 中的任意树。这使我们能够在不同级别甚至在同一级别的不同节点上处理具有不同扇出和噪声的树,这就是我们研究的转换报告树的情况。该算法的输入是$T$中所有节点$\nu$的独立噪声计数$x_\nu$,具有 E $x_\nu=c_\nu$和方差$\operatorname{Var}(x_{\nu})=\operatorname{var}_{\nu}$
关键思想是一个简单的方法( Algorithm 1 ), 即分别将 independent 和 unbiased 两个相同数量的 unbiased 估计相结合,以得到方差减小的估计,如下所示:
子到根部自下而上。对于每个非叶节点$\nu$,它递归地
<FigureHere>
Figure 3: Intermediate variables in Algorithm 2.
excluding $\nu$为根的子树中所有$u$ 的噪声计数 $x_u$ 。将其与噪声计数$x_\nu$结合使用 , 以计算$z_v^{\hat{1}}$,这是$c_\nu$的最佳线性无偏估计,仅使用以$\nu,including\nu$为根的子树中所有$u$的噪声计数$x_u$
第二遍从上到下进行,并为每个非根节点$\nu$计算一个估计值$z_\nu^{\downarrow}$,该估计值是$c_\nu$的最佳线性无偏估计值,仅使用所有$u$的噪声计数$x_u$在以$\nu$为根的子树中为not 。然后将估计$z_\nu^{\uparrow}$和$z_\nu^{\downarrow}$组合以获得$\hat{x}_\nu$,这是使用$T$中所有$u$的所有估计$x_u$的$c_\nu$的最佳线性无偏估计。为了协助递归过程,它还计算了一个估计$z_\nu^{\downarrow}$, 该估计是仅使用所有$u$的噪声计数$x_u$的$c_\nu$的最佳线性无偏估计,这些$u$不严格在$v$下的子树中(i。e。, 包括$x_\nu$ )。请参见 Figure 3
Algorithm 2 不仅降低了每个估计的方差,而且在所有无偏线性估计器中同时实现了所有节点的最小可能方差
Theorem 8 (Optimality of Post-Processing). For every
和,因此我们可以通过对其子节点的估计值求和来 $\nu \in T, \hat{x} _\nu$ is the best linear unbiased estimator (BLUE) of 获得任何非叶节点的计数的第二个独立估计值。我 the count c$_vand\text{ has variance vâr}_{\nu}.In\textit{ particular, (\hat{x}}_{\nu})_{\nu\in T}$
$minimizes\text{ RMSRE}_{\tau}(c_{\nu},\hat{x}_{\nu})$ among all linear unbiased esti-
$mators, forall$ $v\in T$ .
这将仅适用于常规树的[11,12]的结果扩展到任意树。与他们的证明类似,一旦我们证明了(适当缩放的) 估计$(\hat{x}_\nu)_{\nu\in T}$是计数$(c_\nu)_{\nu\in T}$的普通最小二乘估计器 (OLS),就遵循上面的定理。证明后者可以归结为表明估计满足以下引理中的两个条件:
此 外 , 最 小 二 乘 回 归 的 这 种 特 殊 情 况 可 以 在 线 性 时 间 内 解 决Lemma 9. For any T and (x$_v;\mathrm{var}_v)_{v\in T},let\left(\hat{x}_v;\widehat{\mathrm{var}}_v\right)_{v\in T}$
be the output of Algorithm 2. Then, the following hold: $\cdot$ $( Consistency)$ For all internal $v: \hat{x} _{\nu }= \sum _{u\in \mathrm{child}( \nu ) }$ $\hat{x} _{u}$ . $\cdot(WeightedRoot-to-LeafSumPreservation)Foreachleaf$ $\nu$ , $\sum _{u\in \mathrm{anc}( v) }\frac {x_{u}}{\mathrm{var}_{u}}$ = $\sum _{u\in \mathrm{anc}( v) }\frac {\hat{x} _{u}}{\mathrm{var}_{u}}$ , where anc$( v)$ $de-$ $notesthenodesonthepathfromvtor(inclusive)$
Lemma 9 的证明是通过对树中节点数的归纳。归纳步骤是通过选择其子节点都是叶子并“合并”节点
Algorithm 2 包含两个线性时间通道。第一遍从叶 的所有子节点来完成的。我们在 Appendix A 中提供
完整的证明
|
[
[
0.14697265625,
0.1009521484375,
0.353515625,
0.1009521484375,
0.353515625,
0.114013671875,
0.14697265625,
0.114013671875
],
[
0.162841796875,
0.1181640625,
0.491943359375,
0.1181640625,
0.491943359375,
0.12890625,
0.162841796875,
0.12890625
],
[
0.162109375,
0.1300048828125,
0.49365234375,
0.1300048828125,
0.49365234375,
0.1436767578125,
0.162109375,
0.1436767578125
],
[
0.162109375,
0.141357421875,
0.4375,
0.141357421875,
0.4375,
0.155029296875,
0.162109375,
0.155029296875
],
[
0.654296875,
0.149658203125,
0.66748046875,
0.1591796875,
0.65576171875,
0.16748046875,
0.64208984375,
0.157958984375
],
[
0.69287109375,
0.1455078125,
0.705078125,
0.1484375,
0.69873046875,
0.1591796875,
0.68701171875,
0.1561279296875
],
[
0.60791015625,
0.15380859375,
0.62060546875,
0.15380859375,
0.62060546875,
0.157958984375,
0.60791015625,
0.157958984375
],
[
0.736328125,
0.152587890625,
0.744140625,
0.152587890625,
0.744140625,
0.1561279296875,
0.736328125,
0.1561279296875
],
[
0.2149658203125,
0.17333984375,
0.2626953125,
0.17578125,
0.26123046875,
0.18701171875,
0.214111328125,
0.185302734375
],
[
0.162109375,
0.155029296875,
0.486083984375,
0.155029296875,
0.486083984375,
0.168701171875,
0.162109375,
0.168701171875
],
[
0.611328125,
0.174560546875,
0.61865234375,
0.174560546875,
0.61865234375,
0.1787109375,
0.611328125,
0.1787109375
],
[
0.162841796875,
0.182861328125,
0.2032470703125,
0.182861328125,
0.2032470703125,
0.193603515625,
0.162841796875,
0.193603515625
],
[
0.21240234375,
0.18408203125,
0.26611328125,
0.1859130859375,
0.264404296875,
0.20068359375,
0.210693359375,
0.198974609375
],
[
0.2359619140625,
0.201904296875,
0.300537109375,
0.201904296875,
0.300537109375,
0.213134765625,
0.2359619140625,
0.213134765625
],
[
0.59765625,
0.19775390625,
0.61376953125,
0.190673828125,
0.62109375,
0.1995849609375,
0.60546875,
0.2060546875
],
[
0.16455078125,
0.2060546875,
0.225830078125,
0.2060546875,
0.225830078125,
0.2161865234375,
0.16455078125,
0.2161865234375
],
[
0.2225341796875,
0.2120361328125,
0.2568359375,
0.2120361328125,
0.2568359375,
0.2197265625,
0.2225341796875,
0.2197265625
],
[
0.267822265625,
0.210205078125,
0.306396484375,
0.213134765625,
0.3046875,
0.221435546875,
0.26611328125,
0.218505859375
],
[
0.162841796875,
0.22265625,
0.267822265625,
0.22265625,
0.267822265625,
0.2340087890625,
0.162841796875,
0.2340087890625
],
[
0.50732421875,
0.2257080078125,
0.78662109375,
0.2257080078125,
0.78662109375,
0.236328125,
0.50732421875,
0.236328125
],
[
0.162841796875,
0.26318359375,
0.2939453125,
0.26318359375,
0.2939453125,
0.276611328125,
0.162841796875,
0.276611328125
],
[
0.287109375,
0.26416015625,
0.491943359375,
0.26416015625,
0.491943359375,
0.27490234375,
0.287109375,
0.27490234375
],
[
0.50390625,
0.2666015625,
0.8505859375,
0.268310546875,
0.8505859375,
0.281982421875,
0.50390625,
0.27978515625
],
[
0.14697265625,
0.275634765625,
0.49365234375,
0.275634765625,
0.49365234375,
0.289306640625,
0.14697265625,
0.289306640625
],
[
0.50537109375,
0.28076171875,
0.8486328125,
0.28076171875,
0.8486328125,
0.295654296875,
0.50537109375,
0.295654296875
],
[
0.1485595703125,
0.2880859375,
0.301513671875,
0.2880859375,
0.301513671875,
0.3017578125,
0.1485595703125,
0.3017578125
],
[
0.50732421875,
0.295654296875,
0.8505859375,
0.295654296875,
0.8505859375,
0.308837890625,
0.50732421875,
0.308837890625
],
[
0.16455078125,
0.3017578125,
0.491943359375,
0.3017578125,
0.491943359375,
0.312255859375,
0.16455078125,
0.312255859375
],
[
0.50390625,
0.30712890625,
0.85205078125,
0.30810546875,
0.85205078125,
0.322509765625,
0.50390625,
0.32177734375
],
[
0.1485595703125,
0.314208984375,
0.49365234375,
0.314208984375,
0.49365234375,
0.327880859375,
0.1485595703125,
0.327880859375
],
[
0.1485595703125,
0.32666015625,
0.49365234375,
0.32666015625,
0.49365234375,
0.34033203125,
0.1485595703125,
0.34033203125
],
[
0.497802734375,
0.32177734375,
0.69189453125,
0.32177734375,
0.69189453125,
0.3349609375,
0.497802734375,
0.3349609375
],
[
0.1485595703125,
0.339111328125,
0.181396484375,
0.341552734375,
0.1796875,
0.352783203125,
0.14697265625,
0.350830078125
],
[
0.5205078125,
0.334228515625,
0.8505859375,
0.334228515625,
0.8505859375,
0.347412109375,
0.5205078125,
0.347412109375
],
[
0.52294921875,
0.349853515625,
0.84814453125,
0.349853515625,
0.84814453125,
0.35986328125,
0.52294921875,
0.35986328125
],
[
0.50732421875,
0.361083984375,
0.8505859375,
0.361083984375,
0.8505859375,
0.374755859375,
0.50732421875,
0.374755859375
],
[
0.1485595703125,
0.372314453125,
0.455078125,
0.372314453125,
0.455078125,
0.38720703125,
0.1485595703125,
0.38720703125
],
[
0.50732421875,
0.3759765625,
0.84814453125,
0.3759765625,
0.84814453125,
0.385986328125,
0.50732421875,
0.385986328125
],
[
0.50537109375,
0.388427734375,
0.8505859375,
0.388427734375,
0.8505859375,
0.402099609375,
0.50537109375,
0.402099609375
],
[
0.151123046875,
0.3984375,
0.489501953125,
0.3984375,
0.489501953125,
0.4091796875,
0.151123046875,
0.4091796875
],
[
0.14697265625,
0.407958984375,
0.491943359375,
0.4091796875,
0.491943359375,
0.4228515625,
0.14697265625,
0.421630859375
],
[
0.50732421875,
0.40380859375,
0.8427734375,
0.40380859375,
0.8427734375,
0.41455078125,
0.50732421875,
0.41455078125
],
[
0.50390625,
0.41455078125,
0.8505859375,
0.416259765625,
0.8505859375,
0.429931640625,
0.50390625,
0.427490234375
],
[
0.1485595703125,
0.4228515625,
0.49365234375,
0.4228515625,
0.49365234375,
0.435791015625,
0.1485595703125,
0.435791015625
],
[
0.50537109375,
0.4287109375,
0.85205078125,
0.4287109375,
0.85205078125,
0.4423828125,
0.50537109375,
0.4423828125
],
[
0.14697265625,
0.435302734375,
0.49365234375,
0.435302734375,
0.49365234375,
0.448974609375,
0.14697265625,
0.448974609375
],
[
0.1485595703125,
0.448974609375,
0.49365234375,
0.448974609375,
0.49365234375,
0.4619140625,
0.1485595703125,
0.4619140625
],
[
0.5087890625,
0.443603515625,
0.67822265625,
0.443603515625,
0.67822265625,
0.45361328125,
0.5087890625,
0.45361328125
],
[
0.5224609375,
0.45361328125,
0.8505859375,
0.45361328125,
0.8505859375,
0.46728515625,
0.5224609375,
0.46728515625
],
[
0.1485595703125,
0.46142578125,
0.49365234375,
0.46142578125,
0.49365234375,
0.474365234375,
0.1485595703125,
0.474365234375
],
[
0.1485595703125,
0.473876953125,
0.49365234375,
0.473876953125,
0.49365234375,
0.48681640625,
0.1485595703125,
0.48681640625
],
[
0.50732421875,
0.468505859375,
0.8486328125,
0.468505859375,
0.8486328125,
0.478515625,
0.50732421875,
0.478515625
],
[
0.50537109375,
0.47802734375,
0.57080078125,
0.479736328125,
0.5693359375,
0.49462890625,
0.50390625,
0.4921875
],
[
0.1502685546875,
0.488037109375,
0.240966796875,
0.488037109375,
0.240966796875,
0.49951171875,
0.1502685546875,
0.49951171875
],
[
0.162841796875,
0.49951171875,
0.49365234375,
0.49951171875,
0.49365234375,
0.51318359375,
0.162841796875,
0.51318359375
],
[
0.50390625,
0.498779296875,
0.85205078125,
0.50048828125,
0.85205078125,
0.515625,
0.50390625,
0.51318359375
],
[
0.1502685546875,
0.51416015625,
0.491943359375,
0.51416015625,
0.491943359375,
0.52490234375,
0.1502685546875,
0.52490234375
],
[
0.50146484375,
0.5126953125,
0.85205078125,
0.51416015625,
0.85205078125,
0.52783203125,
0.50146484375,
0.525390625
],
[
0.1502685546875,
0.52685546875,
0.491943359375,
0.52685546875,
0.491943359375,
0.53759765625,
0.1502685546875,
0.53759765625
],
[
0.50390625,
0.52490234375,
0.8505859375,
0.52685546875,
0.8505859375,
0.54150390625,
0.50390625,
0.5390625
],
[
0.1485595703125,
0.5380859375,
0.49365234375,
0.5380859375,
0.49365234375,
0.5517578125,
0.1485595703125,
0.5517578125
],
[
0.50537109375,
0.5390625,
0.85205078125,
0.5390625,
0.85205078125,
0.552734375,
0.50537109375,
0.552734375
],
[
0.1485595703125,
0.55029296875,
0.495361328125,
0.55029296875,
0.495361328125,
0.56396484375,
0.1485595703125,
0.56396484375
],
[
0.50732421875,
0.552734375,
0.634765625,
0.5517578125,
0.634765625,
0.5634765625,
0.50732421875,
0.56396484375
],
[
0.1502685546875,
0.56396484375,
0.490234375,
0.56396484375,
0.490234375,
0.57470703125,
0.1502685546875,
0.57470703125
],
[
0.1485595703125,
0.576171875,
0.491943359375,
0.576171875,
0.491943359375,
0.5888671875,
0.1485595703125,
0.5888671875
],
[
0.5205078125,
0.572265625,
0.8505859375,
0.57373046875,
0.8505859375,
0.58740234375,
0.5205078125,
0.5859375
],
[
0.151123046875,
0.5888671875,
0.490234375,
0.5888671875,
0.490234375,
0.599609375,
0.151123046875,
0.599609375
],
[
0.50537109375,
0.5859375,
0.8505859375,
0.5859375,
0.8505859375,
0.599609375,
0.50537109375,
0.599609375
],
[
0.1485595703125,
0.6015625,
0.495361328125,
0.6015625,
0.495361328125,
0.615234375,
0.1485595703125,
0.615234375
],
[
0.5029296875,
0.5986328125,
0.8486328125,
0.59716796875,
0.8486328125,
0.6123046875,
0.5029296875,
0.61328125
],
[
0.1485595703125,
0.6142578125,
0.49365234375,
0.6142578125,
0.49365234375,
0.62744140625,
0.1485595703125,
0.62744140625
],
[
0.5029296875,
0.61083984375,
0.8486328125,
0.61083984375,
0.8486328125,
0.62451171875,
0.5029296875,
0.62451171875
],
[
0.145263671875,
0.6259765625,
0.49365234375,
0.626953125,
0.49365234375,
0.64013671875,
0.145263671875,
0.6396484375
],
[
0.50732421875,
0.62451171875,
0.771484375,
0.62451171875,
0.771484375,
0.63818359375,
0.50732421875,
0.63818359375
],
[
0.14697265625,
0.6396484375,
0.490234375,
0.6396484375,
0.490234375,
0.65283203125,
0.14697265625,
0.65283203125
],
[
0.5029296875,
0.64111328125,
0.8505859375,
0.64453125,
0.8505859375,
0.662109375,
0.5029296875,
0.6591796875
],
[
0.1485595703125,
0.65380859375,
0.2091064453125,
0.65380859375,
0.2091064453125,
0.6650390625,
0.1485595703125,
0.6650390625
],
[
0.50537109375,
0.6591796875,
0.8369140625,
0.6591796875,
0.8369140625,
0.6728515625,
0.50537109375,
0.6728515625
],
[
0.16455078125,
0.66748046875,
0.491943359375,
0.66748046875,
0.491943359375,
0.677734375,
0.16455078125,
0.677734375
],
[
0.14697265625,
0.6767578125,
0.491943359375,
0.677734375,
0.491943359375,
0.69140625,
0.14697265625,
0.6904296875
],
[
0.50390625,
0.67578125,
0.8369140625,
0.6787109375,
0.8369140625,
0.69677734375,
0.50390625,
0.693359375
],
[
0.151123046875,
0.69140625,
0.491943359375,
0.6923828125,
0.491943359375,
0.70361328125,
0.151123046875,
0.703125
],
[
0.14697265625,
0.70361328125,
0.491943359375,
0.70361328125,
0.491943359375,
0.71728515625,
0.14697265625,
0.71728515625
],
[
0.50732421875,
0.70068359375,
0.85205078125,
0.70068359375,
0.85205078125,
0.71435546875,
0.50732421875,
0.71435546875
],
[
0.52490234375,
0.71435546875,
0.623046875,
0.7197265625,
0.62109375,
0.73388671875,
0.52294921875,
0.728515625
],
[
0.603515625,
0.71337890625,
0.72900390625,
0.7197265625,
0.72705078125,
0.73388671875,
0.60205078125,
0.72802734375
],
[
0.7138671875,
0.71435546875,
0.8505859375,
0.71533203125,
0.8505859375,
0.728515625,
0.7138671875,
0.72802734375
],
[
0.1485595703125,
0.73095703125,
0.2392578125,
0.73095703125,
0.2392578125,
0.7421875,
0.1485595703125,
0.7421875
],
[
0.1485595703125,
0.71728515625,
0.49365234375,
0.71728515625,
0.49365234375,
0.73095703125,
0.1485595703125,
0.73095703125
],
[
0.5283203125,
0.73388671875,
0.82373046875,
0.73388671875,
0.82373046875,
0.74462890625,
0.5283203125,
0.74462890625
],
[
0.162841796875,
0.7412109375,
0.491943359375,
0.7412109375,
0.491943359375,
0.7548828125,
0.162841796875,
0.7548828125
],
[
0.1485595703125,
0.75439453125,
0.49365234375,
0.75439453125,
0.49365234375,
0.76708984375,
0.1485595703125,
0.76708984375
],
[
0.5205078125,
0.75439453125,
0.85205078125,
0.75439453125,
0.85205078125,
0.76708984375,
0.5205078125,
0.76708984375
],
[
0.14697265625,
0.7666015625,
0.47265625,
0.76708984375,
0.47265625,
0.78076171875,
0.14697265625,
0.77978515625
],
[
0.50732421875,
0.7666015625,
0.8505859375,
0.7666015625,
0.8505859375,
0.77978515625,
0.50732421875,
0.77978515625
],
[
0.162841796875,
0.78076171875,
0.491943359375,
0.78076171875,
0.491943359375,
0.79150390625,
0.162841796875,
0.79150390625
],
[
0.50390625,
0.77978515625,
0.8505859375,
0.77978515625,
0.8505859375,
0.79345703125,
0.50390625,
0.79345703125
],
[
0.1502685546875,
0.79345703125,
0.495361328125,
0.79345703125,
0.495361328125,
0.80712890625,
0.1502685546875,
0.80712890625
],
[
0.495361328125,
0.79345703125,
0.58251953125,
0.79345703125,
0.58251953125,
0.80419921875,
0.495361328125,
0.80419921875
]
] |
[
"Algorithm 1CombineEstimates",
"Input:(x;varx), (y;vary):x,y are samples from",
"random variables X,Y resp. such that EX = EY and",
"variances Var(X) = varx and Var(Y) = vary",
"",
"2",
"",
"",
"varx-vary",
"Output: (z; var,) : combined estimate and variance.",
"",
"varz",
"vary+vary",
"x+y",
"2",
"zvar",
"var",
"vary",
"return (z;varz)",
"Figure 3:Intermediate variables in Algorithm 2",
"对于具有级别 Lo、",
"Ld的树T,其中Li是级别",
"计算zt,这是c的最佳线性无偏估计,仅使用以v,",
"i上的节点集,并且每个节点v上的计数c,的估计器",
"excluding v为根的子树中所有u的噪声计数xu。将",
"<NEXT_LINXMTHX_6>",
"其与噪声计数x,结合使用,以计算z,这是c,的最",
"分层查询估计问题的目标是以最小可能的树错误",
"佳线性无偏估计,仅使用以v,includingv为根的",
"私下估计每个节点的计数,其中估计应该是一致的。",
"为了实现这一目标,我们将采用后处理和隐私预算",
"子树中所有u的噪声计数xu",
"策略",
"第二遍从上到下进行,并为每个非根节点v计算",
"个估计值z,该估计值是cy的最佳线性无偏估计",
"值,仅使用所有u的噪声计数xu在以为根的子树",
"4. Post-processing Algorithms",
"中为not。然后将估计z和z组合以获得:这是",
"使用T中所有u的所有估计xu的c的最佳线性无偏",
"直接应用离散拉普拉斯机制向每个节点添加独立噪",
"声不会导致一致的估计。可以通过仅估计叶子的计",
"估计。为了协助递归过程,它还计算了一个估计z",
"该估计是仅使用所有u的噪声计数xu的c的最佳线",
"数并通过添加其叶后代的计数来推断每个非叶节点",
"性无偏估计,这些u不严格在v下的子树中(i。e。,",
"的计数来实现一致性,但这可能会导致树中较高节",
"点的较大误差。或者,可以通过后处理独立的每节点",
"包括xy)。请参见Figure3",
"Algorithm2不仅降低了每个估计的方差,而且在",
"估计来实现一致性。由于DP是在后处理(Lemma 3",
")下保留的,因此这不会影响隐私保证,并且可以大",
"所有无偏线性估计器中同时实现了所有节点的最小",
"可能方差",
"大提高准确性",
"由于任何节点的计数必须等于其子节点的计数之",
"Theorem 8 (Optimality of Post-Processing).For every",
"和,因此我们可以通过对其子节点的估计值求和来",
"vT,x, isthebest linearunbiased estimator (BLUE)of",
"获得任何非叶节点的计数的第二个独立估计值。我",
"the countc, and has variance vary.In particular, ()veT",
"们可以将这两个估计结合起来,以获得较低方差的单",
"minimizes RMSRE(cy,x)among all linear unbiased esti-",
"个估计。扩展这一观察,Hay等人。[11]和Cormode",
"mators,forallveT.",
"等人。「121为常规(每个非叶具有相同数量的子代)",
"和平衡(每个叶处于相同深度)的树提供了高效的后",
"这将仅适用于常规树的[11,12]的结果扩展到任意",
"处理算法,实现了一致性,并大大提高了准确性。特",
"树。与他们的证明类似,一旦我们证明了(适当缩放",
"别是,估计每个节点的计数可以表示为线性回归问",
"的)估计(,)veT是计数(c,)veT的普通最小二乘估计",
"题,并且这些算法计算最小二乘解,已知该最小二乘",
"器(OLS),就遵循上面的定理。证明后者可以归结",
"解可以在所有无偏线性估计器中实现最佳误差方差。",
"为表明估计满足以下引理中的两个条件:",
"此外,最小二乘回归的这种特殊情况可以在线性时",
"Lemma 9. For any T and (xv; varv)veT , let(xy: var)veT",
"间内解决",
"be the output of Algorithm 2. Then, the following hold:",
"我们将此算法推广到Algorithm2中的任意树。这",
"使我们能够在不同级别甚至在同一级别的不同节点",
" (Consistency) For all internal : , =Zuechild(v)u",
"上处理具有不同扇出和噪声的树,这就是我们研究",
"的转换报告树的情况。该算法的输入是T中所有",
":(Weighted Root-to-Leaf Sum Preservation)For each leaf",
"v,Zueanc(v) va",
"=Zueanc(v)val",
", where anc(v) de",
"Var(x) = vary",
"节点的独立噪声计数x,具有Ex,=C和方差",
"notesthenodes onthepath fromvtor (inclusive)",
"关键思想是一个简单的方法(Algorithm1),即分别",
"将independent和unbiased两个相同数量的unbiased",
"Lemma 9的证明是通过对树中节点数的归纳。归",
"估计相结合,以得到方差减小的估计,如下所示:",
"纳步骤是通过选择其子节点都是叶子并“合并”节点",
"Algorithm2包含两个线性时间通道。第一遍从叶",
"的所有子节点来完成的。我们在AppendixA中提供",
"子到根部自下而上。对于每个非叶节点V,它递归地",
"、完整的证明"
] |
{
"arxiv_id": "2308.13510",
"language": "zh",
"page_idx": 4
}
|
||
2306.03853-zh-1
|
2306.03853-zh-1.jpg
|
从关键点到关键点层次: 结构化和表达性意见总结
Arie Cattan$^{1*}$ Lilach Eden$^{2*}$ Yoav Kantor$^2$ Roy Bar-Haim$^2$
$^{1}$Computer Science Department, Bar Ilan University
$^{2}$IBM Research
arie.cattan@gmail.com { lilache,yoavka,roybar}@il.ibm.com
## 1 Introduction
许多组织面临着从大量文本评论中提取见解的挑战,例如用户评论,调查回复以及客户或员工的反馈。当前的文本分析工具通过词云 (Heimerl et al., 2014) 或关键短语 (Hasan and Ng, 2014; Merrouni et al., 2019) 汇总此类数据集,这些数据通常太粗糙,无法捕获细粒度的见解。另一方面,多文档摘要方法 (Chu and Liu, $2019; \text{ Bra\v {z}inskasetal. , 2020a, b; Angelidisetal. , }$
$^{*}$Equal contribution. Work done while the first author
was an intern at IBM Research.
# Abstract
Key Point Analysis (KPA) has been recently proposed for deriving fine-grained insights from collections of textual comments. KPA extracts the main points in the data as a list of concise sentences or phrases, termed key points , and quantifies their prevalence. While key points are more expressive than word clouds and key phrases, making sense of a long, flat list of key points, which often express related ideas in varying levels of granularity, may still be challenging. To address this limitation of KPA, we introduce the task of organizing a given set of key points into a hierarchy, according to their specificity. Such hierarchies may be viewed as a novel type of Textual Entailment Graph . We develop THINKP , a high quality benchmark dataset of key point hierarchies for business and product reviews, obtained by consolidating multiple annotations. We compare different methods for predicting pairwise relations between key points, and for inferring a hierarchy from these pairwise predictions. In particular, for the task of computing pairwise key point relations, we achieve significant gains over existing strong baselines by applying directional distributional similarity methods to a novel distributional representation of key points, and further boost performance via weak supervision.
$\textcircled{7}$ https://github.com/IBM/kpa-hierarchy
2021; Louis and Maynez, 2022) 不能量化摘要中每个点的普遍性,并且不适合表示冲突的视图(Bar-Haim et al.,2021)。
关键点分析(KPA)是最近的意见总结框架,旨在解决上述限制 (Bar-Haim et al., 2020b) 。KPA 提取简洁的句子和短语,称为关键点(KPs),代表数据中最突出的点,并将每个 KP 的流行度量化为其匹配的输入句子的数量。但是,KPA 的一个剩余缺点是它生成了一个平面列表,该列表无法捕获关键点之间的关系。例如,考虑图$\overline {\mathrm{E} }1$ (左)中的关键点样本集,该样本集是从 YelpOpenDataset $^{1}$中的一家酒店的评论中自动提取的。结果没有提供对评论中表达的主要主题的高层次看法。很难说哪些关键点传达了类似的想法,哪些关键点支持和阐述了一个更一般的关键点。随着摘要中关键点数量的增加,这样的输出变得更难消耗
在这项工作中,我们引入了关键点层次结构(KPH)作为意见摘要的新颖结构化表示。将关键点组织在一个层次结构中,如图 1(右)所示,允许用户快速掌握摘要中的高级主题(酒店很漂亮,节目很棒,房间很舒适,服务很棒),并深入了解每个主题,以获得更细粒度的见解,e。g。,从“The personnel were great" 到“check-in was quick and easy”。此外,(几乎) 传达相同含义的关键点(e。g。,“Housekeeping was fantastic”和“The cleaning crew is great" ) 聚集在一起,并表示为层次结构中的单个节点。此结构化输出使 KPA 结果更易于使用、信息丰富且更易于导航。KPH 可以看作是一种新型的文本蕴涵图(ğ2)
我们开发了 THINKP ( N 个实际出现的 KeyPoints 的 TreeHIhisy), 这是关键点层次结构的第一个基准数据集,它是根据多个域中用户评论的 KPA 摘要创建的 (ğ4)。由于 KPH 注释的复杂性,THINKP 是通过合并多个注释创建的,以确保其高质量
我们从一组给定的关键点探索自动 KPH 构造的不同方法 (ğ5)。在之前关于蕴涵图的工作(ğ2)之后,这被公式化为两步方法。我们
$^{\mathrm{l}}$https://www.yelp.com/dataset
|
[
[
0.3779296875,
0.0955810546875,
0.62451171875,
0.0955810546875,
0.62451171875,
0.10986328125,
0.3779296875,
0.10986328125
],
[
0.36865234375,
0.114013671875,
0.62890625,
0.114013671875,
0.62890625,
0.12890625,
0.36865234375,
0.12890625
],
[
0.2283935546875,
0.1519775390625,
0.77490234375,
0.1519775390625,
0.77490234375,
0.1650390625,
0.2283935546875,
0.1650390625
],
[
0.291259765625,
0.168701171875,
0.7109375,
0.169189453125,
0.7109375,
0.18408203125,
0.291259765625,
0.182861328125
],
[
0.4375,
0.18408203125,
0.56494140625,
0.185302734375,
0.56494140625,
0.1995849609375,
0.4375,
0.198974609375
],
[
0.204833984375,
0.203125,
0.4248046875,
0.203125,
0.4248046875,
0.2161865234375,
0.204833984375,
0.2161865234375
],
[
0.432373046875,
0.2078857421875,
0.43994140625,
0.2078857421875,
0.43994140625,
0.2120361328125,
0.432373046875,
0.2120361328125
],
[
0.4375,
0.203125,
0.796875,
0.203125,
0.796875,
0.2161865234375,
0.4375,
0.2161865234375
],
[
0.2626953125,
0.2529296875,
0.341796875,
0.2529296875,
0.341796875,
0.267333984375,
0.2626953125,
0.267333984375
],
[
0.51318359375,
0.254150390625,
0.87890625,
0.254150390625,
0.87890625,
0.267333984375,
0.51318359375,
0.267333984375
],
[
0.51318359375,
0.26953125,
0.87890625,
0.26953125,
0.87890625,
0.283203125,
0.51318359375,
0.283203125
],
[
0.1435546875,
0.279052734375,
0.456787109375,
0.27978515625,
0.456787109375,
0.29443359375,
0.1435546875,
0.29345703125
],
[
0.51318359375,
0.2861328125,
0.69775390625,
0.2861328125,
0.69775390625,
0.2998046875,
0.51318359375,
0.2998046875
],
[
0.14697265625,
0.29443359375,
0.456787109375,
0.29443359375,
0.456787109375,
0.30810546875,
0.14697265625,
0.30810546875
],
[
0.5322265625,
0.302734375,
0.8818359375,
0.302734375,
0.8818359375,
0.31640625,
0.5322265625,
0.31640625
],
[
0.14697265625,
0.31005859375,
0.455078125,
0.31005859375,
0.455078125,
0.320556640625,
0.14697265625,
0.320556640625
],
[
0.145263671875,
0.322509765625,
0.45751953125,
0.322509765625,
0.45751953125,
0.336181640625,
0.145263671875,
0.336181640625
],
[
0.51318359375,
0.320556640625,
0.87890625,
0.320556640625,
0.87890625,
0.330810546875,
0.51318359375,
0.330810546875
],
[
0.145263671875,
0.336181640625,
0.455078125,
0.336181640625,
0.455078125,
0.349853515625,
0.145263671875,
0.349853515625
],
[
0.5205078125,
0.339111328125,
0.52880859375,
0.339111328125,
0.52880859375,
0.344482421875,
0.5205078125,
0.344482421875
],
[
0.5283203125,
0.3349609375,
0.880859375,
0.3349609375,
0.880859375,
0.3486328125,
0.5283203125,
0.3486328125
],
[
0.145263671875,
0.350830078125,
0.45751953125,
0.350830078125,
0.45751953125,
0.364013671875,
0.145263671875,
0.364013671875
],
[
0.509765625,
0.350830078125,
0.87890625,
0.350830078125,
0.87890625,
0.364013671875,
0.509765625,
0.364013671875
],
[
0.1435546875,
0.365234375,
0.45751953125,
0.364013671875,
0.45751953125,
0.377685546875,
0.1435546875,
0.37890625
],
[
0.5146484375,
0.36767578125,
0.880859375,
0.36767578125,
0.880859375,
0.38134765625,
0.5146484375,
0.38134765625
],
[
0.145263671875,
0.380126953125,
0.45751953125,
0.380126953125,
0.45751953125,
0.393798828125,
0.145263671875,
0.393798828125
],
[
0.51318359375,
0.3818359375,
0.880859375,
0.383056640625,
0.880859375,
0.39794921875,
0.51318359375,
0.396728515625
],
[
0.145263671875,
0.393798828125,
0.45751953125,
0.393798828125,
0.45751953125,
0.40673828125,
0.145263671875,
0.40673828125
],
[
0.51318359375,
0.399658203125,
0.880859375,
0.399658203125,
0.880859375,
0.413330078125,
0.51318359375,
0.413330078125
],
[
0.145263671875,
0.407958984375,
0.45751953125,
0.407958984375,
0.45751953125,
0.421630859375,
0.145263671875,
0.421630859375
],
[
0.5146484375,
0.4150390625,
0.8818359375,
0.4150390625,
0.8818359375,
0.4287109375,
0.5146484375,
0.4287109375
],
[
0.145263671875,
0.4228515625,
0.45751953125,
0.4228515625,
0.45751953125,
0.435791015625,
0.145263671875,
0.435791015625
],
[
0.51318359375,
0.431640625,
0.880859375,
0.431640625,
0.880859375,
0.4453125,
0.51318359375,
0.4453125
],
[
0.14697265625,
0.438232421875,
0.456787109375,
0.438232421875,
0.456787109375,
0.448974609375,
0.14697265625,
0.448974609375
],
[
0.1485595703125,
0.453125,
0.456787109375,
0.453125,
0.456787109375,
0.463134765625,
0.1485595703125,
0.463134765625
],
[
0.51318359375,
0.44775390625,
0.87890625,
0.44775390625,
0.87890625,
0.46142578125,
0.51318359375,
0.46142578125
],
[
0.145263671875,
0.46435546875,
0.456787109375,
0.46435546875,
0.456787109375,
0.47802734375,
0.145263671875,
0.47802734375
],
[
0.51318359375,
0.463134765625,
0.87890625,
0.4619140625,
0.87890625,
0.476806640625,
0.51318359375,
0.47802734375
],
[
0.145263671875,
0.478515625,
0.45751953125,
0.47802734375,
0.45751953125,
0.4912109375,
0.145263671875,
0.4921875
],
[
0.5146484375,
0.479736328125,
0.87890625,
0.479736328125,
0.87890625,
0.493408203125,
0.5146484375,
0.493408203125
],
[
0.145263671875,
0.493408203125,
0.45751953125,
0.493408203125,
0.45751953125,
0.50732421875,
0.145263671875,
0.50732421875
],
[
0.51318359375,
0.496337890625,
0.880859375,
0.496337890625,
0.880859375,
0.51025390625,
0.51318359375,
0.51025390625
],
[
0.145263671875,
0.50732421875,
0.459228515625,
0.50732421875,
0.459228515625,
0.52099609375,
0.145263671875,
0.52099609375
],
[
0.51318359375,
0.5126953125,
0.8251953125,
0.5126953125,
0.8251953125,
0.525390625,
0.51318359375,
0.525390625
],
[
0.145263671875,
0.521484375,
0.45751953125,
0.521484375,
0.45751953125,
0.53515625,
0.145263671875,
0.53515625
],
[
0.5322265625,
0.52783203125,
0.880859375,
0.52783203125,
0.880859375,
0.54150390625,
0.5322265625,
0.54150390625
],
[
0.145263671875,
0.5361328125,
0.456787109375,
0.5361328125,
0.456787109375,
0.5498046875,
0.145263671875,
0.5498046875
],
[
0.509765625,
0.5419921875,
0.880859375,
0.54345703125,
0.880859375,
0.55810546875,
0.509765625,
0.55712890625
],
[
0.1435546875,
0.548828125,
0.45751953125,
0.55029296875,
0.45751953125,
0.56396484375,
0.1435546875,
0.5625
],
[
0.14697265625,
0.56396484375,
0.456787109375,
0.56396484375,
0.456787109375,
0.57763671875,
0.14697265625,
0.57763671875
],
[
0.5146484375,
0.56005859375,
0.880859375,
0.56005859375,
0.880859375,
0.57373046875,
0.5146484375,
0.57373046875
],
[
0.145263671875,
0.57763671875,
0.45751953125,
0.580078125,
0.45751953125,
0.59326171875,
0.145263671875,
0.59130859375
],
[
0.51318359375,
0.576171875,
0.87890625,
0.576171875,
0.87890625,
0.5888671875,
0.51318359375,
0.5888671875
],
[
0.145263671875,
0.59130859375,
0.45751953125,
0.59130859375,
0.45751953125,
0.60498046875,
0.145263671875,
0.60498046875
],
[
0.51318359375,
0.59130859375,
0.880859375,
0.5927734375,
0.880859375,
0.60693359375,
0.51318359375,
0.60546875
],
[
0.14697265625,
0.609375,
0.456787109375,
0.609375,
0.456787109375,
0.619140625,
0.14697265625,
0.619140625
],
[
0.5146484375,
0.609375,
0.880859375,
0.609375,
0.880859375,
0.62255859375,
0.5146484375,
0.62255859375
],
[
0.1485595703125,
0.62255859375,
0.455078125,
0.62255859375,
0.455078125,
0.6328125,
0.1485595703125,
0.6328125
],
[
0.5146484375,
0.62451171875,
0.87890625,
0.62451171875,
0.87890625,
0.6396484375,
0.5146484375,
0.6396484375
],
[
0.145263671875,
0.63525390625,
0.45751953125,
0.63525390625,
0.45751953125,
0.6484375,
0.145263671875,
0.6484375
],
[
0.51318359375,
0.64013671875,
0.880859375,
0.64013671875,
0.880859375,
0.65380859375,
0.51318359375,
0.65380859375
],
[
0.145263671875,
0.6484375,
0.45751953125,
0.6494140625,
0.45751953125,
0.6630859375,
0.145263671875,
0.662109375
],
[
0.5146484375,
0.65673828125,
0.880859375,
0.65673828125,
0.880859375,
0.67138671875,
0.5146484375,
0.67138671875
],
[
0.145263671875,
0.6630859375,
0.45751953125,
0.6630859375,
0.45751953125,
0.677734375,
0.145263671875,
0.677734375
],
[
0.51318359375,
0.67333984375,
0.8818359375,
0.67333984375,
0.8818359375,
0.68701171875,
0.51318359375,
0.68701171875
],
[
0.14697265625,
0.6796875,
0.339111328125,
0.6796875,
0.339111328125,
0.6904296875,
0.14697265625,
0.6904296875
],
[
0.51123046875,
0.6884765625,
0.87890625,
0.6884765625,
0.87890625,
0.70166015625,
0.51123046875,
0.70166015625
],
[
0.14697265625,
0.70361328125,
0.483642578125,
0.70361328125,
0.483642578125,
0.71728515625,
0.14697265625,
0.71728515625
],
[
0.51318359375,
0.70361328125,
0.87890625,
0.70361328125,
0.87890625,
0.71875,
0.51318359375,
0.71875
],
[
0.51318359375,
0.7197265625,
0.880859375,
0.7197265625,
0.880859375,
0.73388671875,
0.51318359375,
0.73388671875
],
[
0.11248779296875,
0.7353515625,
0.1435546875,
0.732421875,
0.145263671875,
0.74462890625,
0.1158447265625,
0.74658203125
],
[
0.1502685546875,
0.7353515625,
0.264404296875,
0.7353515625,
0.264404296875,
0.74755859375,
0.1502685546875,
0.74755859375
],
[
0.51123046875,
0.736328125,
0.6884765625,
0.73681640625,
0.6884765625,
0.751953125,
0.51123046875,
0.75048828125
],
[
0.52880859375,
0.7529296875,
0.7119140625,
0.751953125,
0.7119140625,
0.7666015625,
0.52880859375,
0.76708984375
],
[
0.7021484375,
0.751953125,
0.8818359375,
0.7529296875,
0.8818359375,
0.76708984375,
0.7021484375,
0.7666015625
],
[
0.118408203125,
0.7587890625,
0.486083984375,
0.7587890625,
0.486083984375,
0.7724609375,
0.118408203125,
0.7724609375
],
[
0.509765625,
0.76708984375,
0.880859375,
0.7685546875,
0.880859375,
0.783203125,
0.509765625,
0.7822265625
],
[
0.118408203125,
0.775390625,
0.486083984375,
0.775390625,
0.486083984375,
0.7890625,
0.118408203125,
0.7890625
],
[
0.51123046875,
0.78369140625,
0.87890625,
0.78369140625,
0.87890625,
0.79736328125,
0.51123046875,
0.79736328125
],
[
0.118408203125,
0.79150390625,
0.486083984375,
0.79150390625,
0.486083984375,
0.8046875,
0.118408203125,
0.8046875
],
[
0.5146484375,
0.8017578125,
0.880859375,
0.8017578125,
0.880859375,
0.8154296875,
0.5146484375,
0.8154296875
],
[
0.118408203125,
0.80859375,
0.483642578125,
0.80859375,
0.483642578125,
0.8193359375,
0.118408203125,
0.8193359375
],
[
0.51318359375,
0.81787109375,
0.880859375,
0.81787109375,
0.880859375,
0.83203125,
0.51318359375,
0.83203125
],
[
0.1175537109375,
0.82373046875,
0.486083984375,
0.82373046875,
0.486083984375,
0.83740234375,
0.1175537109375,
0.83740234375
],
[
0.51318359375,
0.83447265625,
0.67822265625,
0.83447265625,
0.67822265625,
0.84716796875,
0.51318359375,
0.84716796875
],
[
0.118408203125,
0.84033203125,
0.486083984375,
0.84033203125,
0.486083984375,
0.85400390625,
0.118408203125,
0.85400390625
],
[
0.12005615234375,
0.85546875,
0.484375,
0.85546875,
0.484375,
0.869140625,
0.12005615234375,
0.869140625
],
[
0.52880859375,
0.85107421875,
0.87890625,
0.85107421875,
0.87890625,
0.8642578125,
0.52880859375,
0.8642578125
],
[
0.51318359375,
0.8662109375,
0.87890625,
0.8662109375,
0.87890625,
0.8798828125,
0.51318359375,
0.8798828125
],
[
0.1175537109375,
0.87255859375,
0.48779296875,
0.87255859375,
0.48779296875,
0.8857421875,
0.1175537109375,
0.8857421875
],
[
0.5146484375,
0.8818359375,
0.880859375,
0.8818359375,
0.880859375,
0.896484375,
0.5146484375,
0.896484375
],
[
0.14697265625,
0.8935546875,
0.486083984375,
0.8935546875,
0.486083984375,
0.90673828125,
0.14697265625,
0.90673828125
],
[
0.118408203125,
0.90673828125,
0.307373046875,
0.90673828125,
0.307373046875,
0.91748046875,
0.118408203125,
0.91748046875
],
[
0.5341796875,
0.90380859375,
0.75244140625,
0.90478515625,
0.75244140625,
0.91943359375,
0.5341796875,
0.91845703125
]
] |
[
"从关键点到关键点层次:",
"结构化和表达性意见总结",
"Arie Cattanl*Lilach Eden?*YoavKantor?RoyBar-Haim?",
"1Computer Science Department, Bar Ilan University",
"2IBM Research",
"arie.cattan@gmail.com",
"",
"( lilache, yoavka, roybar ) @il.ibm.com",
"Abstract",
"2021;LouisandMaynez,2022)不能量化摘要中",
"每个点的普遍性,并且不适合表示冲突的视图",
"Key Point Analysis (KPA) has been recently",
"(Bar-Haim et al., 2021) .",
"proposed for deriving fine-grained insights",
"关键点分析(KPA)是最近的意见总结框",
"from collectionsof textualcomments.KPA",
"extracts the main points in the data as a list",
"架,旨在解决上述限制(Bar-Haimetal..2020b)",
"of concise sentences or phrases, termed key",
"",
"KPA提取简洁的句子和短语,称为关键点",
"points , and quantifies their prevalence. While",
"(KPs),代表数据中最突出的点,并将每个KP",
"key points are more expressive than word",
"的流行度量化为其匹配的输入句子的数量。但",
"clouds and key phrases, making sense of a",
"是,KPA的一个剩余缺点是它生成了一个平面",
"long, flat list of key points, which often ex-",
"列表,该列表无法捕获关键点之间的关系。例",
"press related ideas in varying levels of granu",
"如,考虑图E1(左)中的关键点样本集,该",
"larity, may still be challenging. To address this",
"样本集是从YelpOpenDataset!中的一家酒店",
"limitationofKPA,weintroducethetaskofor",
"ganizingagivensetofkeypointsintoahierar",
"的评论中自动提取的。结果没有提供对评论中",
"chy, according to their specificity. Such hierar",
"表达的主要主题的高层次看法。很难说哪些关",
"chies may be viewed as a novel type of Textual",
"键点传达了类似的想法,哪些关键点支持和阐",
"Entailment Graph : We develop THINKP, a",
"述了一个更一般的关键点。随着摘要中关键点",
"high quality benchmark dataset of key point hi-",
"数量的增加,这样的输出变得更难消耗",
"erarchies for business and product reviews, ob-",
"在这项工作中,我们引人了关键点层次结构",
"tained by consolidating multiple annotations.",
"(KPH)作为意见摘要的新颖结构化表示。将",
"We compare different methods for predicting",
"pairwise relations between key points, and for",
"关键点组织在一个层次结构中,如图1(右)所",
"inferring a hierarchy from these pairwise pre-",
"示,允许用户快速掌握摘要中的高级主题(酒",
"dictions. In particular, for the task of comput-",
"店很漂亮,节目很棒,房间很舒适,服务很",
"ingpairwise keypointrelations,we achieve",
"棒),并深人了解每个主题,以获得更细粒度",
"significantgains overexisting strongbaselines",
"的见解,e。g。,从“Thepersonnelweregreat\"",
"by applying directional distributional similar-",
"到“check-inwasquickandeasy”。此外,(几乎)",
"ity methods to a novel distributional represen-",
"传达相同含义的关键点(e。g。,“Housekeeping",
"tation of key points, and further boost perfor-",
"was fantastic”和“The cleaning crew is great\"”",
"mance via weak supervision.",
"聚集在一起,并表示为层次结构中的单个节",
"https://github.com/IBM/kpa-hierarchy",
"点。此结构化输出使KPA结果更易于使用、信",
"息丰富且更易于导航。KPH可以看作是一种新",
"1",
"Introduction",
"型的文本蕴涵图(g2)",
"我们开发了THINKP(",
"(N个实际出现的Key",
"许多组织面临着从大量文本评论中提取见解",
"Points的TreeHIhisy),这是关键点层次结构的",
"的挑战,例如用户评论,调查回复以及客户",
"第一个基准数据集,它是根据多个域中用户评",
"或员工的反馈。当前的文本分析工具通过词",
"论的KPA摘要创建的(g4)。由于KPH注释",
"云(Heimerletal.2014)或关键短语(Hasanand",
"的复杂性,THINKP是通过合并多个注释创建",
"Ng,2014;Merrounietal.,2019)汇总此类数据",
"的,以确保其高质量",
"集,这些数据通常太粗糙,无法捕获细粒度的",
"见解。另一方面,多文档摘要方法(ChuandLiu,",
"我们从一组给定的关键点探索自动KPH构",
"造的不同方法(g5)。在之前关于蕴涵图的工",
"2019; Brazinskas et al., 2020a,b; Angelidis et al.,",
"作(2)之后,这被公式化为两步方法。我们",
"* Equal contribution..Work done while the first author",
"was an intern at IBM Research.",
"'https://www.yelp.com/dataset"
] |
{
"arxiv_id": "2306.03853",
"language": "zh",
"page_idx": 1
}
|
||
2306.03853-zh-2
|
2306.03853-zh-2.jpg
|
<FigureHere>
Figure 1: From a flat list of key points to a key point hierarchy (KPH). Nodes group together key points that roughly express the same idea and directed edges connect specific key points to more general ones. The number of matches for each key point is omitted.
首先计算局部分数,预测每对关键点之间的方向关系。然后,我们构建一个由这些局部成对预测指导的层次结构
我们为上述每个子任务提供了新颖的方法和算法改进。特别是,对于预测成对关键点关系的任务,我们通过将方向分布相似性方法应用于关键点的新颖分布表示,在现有的强基线上取得了显着收益,并通过弱监督进一步提高了性能。我们发布了 THINKP 数据集,以鼓励对这一具有挑战性的任务进行进一步研究
总的来说,我们的工作有助于几个研究领域,包括关键点分析,观点总结,蕴涵图和自然语言推理的分布方法。此外,正如我们在 ğ 4.3中演示的那样,我们新颖的 THINKP 数据集捕获了自然发生的文本对之间的各种类型的推论,使其成为 NLI 研究的有趣资源。
关于蕴涵图的大多数先前工作都集中在学习谓词之间的蕴涵关系,同时满足一些全局约束,例如传递性(Berant et al.,2010),软传递性 (Chen et al., 2022) 和其他类型的软约束(Hosseini et al., 2018)。Levy et al.(2014)将蕴涵图的概念扩展到实例化谓词
与我们的关键点层次结构最相似的是由Kotlerman et al.(2015) 引入的文本片段上的蕴涵图。他们的激励方案是总结客户反馈,为此他们开发了一个基准数据集。但是,此数据集中的文本片段是手动提取的。当前工作中提出的方法,首先使用 KPA 找到数据中最突出的点,然后从提取的关键点构建层次结构,允许为大量意见,视图或参数集合全自动生成结构化摘要。在自动提取的关键点上构建层次结构,这些关键点通常是嘈杂和不完美的,代表了一个更现实的场景,并使 KPH 的手动注释及其自动构建更具挑战性
## 2 Background
### 3 $\textbf{Key Point Hierarchies}$
Key Point Analysis. Bar-Haim et al. (2020a,b) 建议的关键点分析(KPA)作为摘要框架,提供了文本和定量的要点摘要在评论的集合。KPA 提取一组简洁,高质量的句子或短语,称为关键点,并将每个输入句子映射到其相应的关键点。每个关键点的流行程度被量化为其匹配句子的数量。KPA 摘要比常用的单词云和关键短语更具表现力,同时增加了纯文本摘要中缺少的重要定量维度
KPA 算法旨在提取一组提供高数据覆盖率的关键点,同时消除冗余。它采用两个监督模型:一个用于评估关键点候选项的质量,另一个用于计算句子和候选关键点之间的匹配分数。Bar-Haim et al.(2021) 通过引入对原始算法的几种扩展,使 KPA 适应业务评论。特别是他们将情感分析集成到 KPA 中,为正面和负面句子创建单独的摘要。他们还为业务评论领域开发了专门的关键点质量模型。
图 1 说明了平面关键点列表到关键点层次结构 (KPH) 的转换。形式上,给定一个关键点列表$\mathcal{K} = \{ k_1, k_2, . . . , k_n\}$ ,我们将 KPH $H=$ $(\mathcal{V},\mathcal{E})$定义为有向森林,也就是说,$H$是一个有向无环图(DAG),其中每个节点的父级不超过一个。顶点$\mathcal{V}$是传达类似思想的关键点$\{C_{1},...,C_{m}\}$的簇 , 有向边$\epsilon_ij\in\mathcal{E}$表示簇$C_i$和$C_j$之间的层次关系。与 Kotlerman et al.(2015) 类似,有向边$C_i\to C_j$表示$C_i$中的关键点为$C_j$中的关键点提供了阐述和支持。通过传递性,此关系扩展到任何两个簇$C_i$ 和$C_k$ ,使得在$H$中存在从$C_i$到$C_k$的有向路径,我们将其表示为$C_i\leadsto C_k$。因此,我们将 $\mathcal{R}(H)$ 定义为可以从$H$导出的成对关键点$(x,y)$之间的方向关系集:
Entailment Graphs
$$\mathcal{R}(H)=\{(x,y))\mid C_x=C_y\vee C_x\leadsto C_y\}$$
|
[
[
0.130126953125,
0.09027099609375,
0.25439453125,
0.09027099609375,
0.25439453125,
0.09320068359375,
0.130126953125,
0.09320068359375
],
[
0.46337890625,
0.09027099609375,
0.54736328125,
0.09027099609375,
0.54736328125,
0.1009521484375,
0.46337890625,
0.1009521484375
],
[
0.73876953125,
0.0872802734375,
0.873046875,
0.0872802734375,
0.873046875,
0.097412109375,
0.73876953125,
0.097412109375
],
[
0.59375,
0.0914306640625,
0.7001953125,
0.0914306640625,
0.7001953125,
0.1015625,
0.59375,
0.1015625
],
[
0.31982421875,
0.0914306640625,
0.443359375,
0.0914306640625,
0.443359375,
0.1015625,
0.31982421875,
0.1015625
],
[
0.75830078125,
0.0955810546875,
0.85205078125,
0.0955810546875,
0.85205078125,
0.105712890625,
0.75830078125,
0.105712890625
],
[
0.12176513671875,
0.1051025390625,
0.2216796875,
0.1051025390625,
0.2216796875,
0.11224365234375,
0.12176513671875,
0.11224365234375
],
[
0.1234130859375,
0.0968017578125,
0.25439453125,
0.0968017578125,
0.25439453125,
0.10394287109375,
0.1234130859375,
0.10394287109375
],
[
0.133544921875,
0.1134033203125,
0.258544921875,
0.1134033203125,
0.258544921875,
0.12054443359375,
0.133544921875,
0.12054443359375
],
[
0.1275634765625,
0.1217041015625,
0.2301025390625,
0.1217041015625,
0.2301025390625,
0.12890625,
0.1275634765625,
0.12890625
],
[
0.56494140625,
0.12054443359375,
0.64208984375,
0.12054443359375,
0.64208984375,
0.1312255859375,
0.56494140625,
0.1312255859375
],
[
0.20654296875,
0.1318359375,
0.2376708984375,
0.1318359375,
0.2376708984375,
0.1353759765625,
0.20654296875,
0.1353759765625
],
[
0.47265625,
0.1353759765625,
0.54150390625,
0.13720703125,
0.54150390625,
0.1484375,
0.47265625,
0.146728515625
],
[
0.58251953125,
0.1312255859375,
0.62109375,
0.1312255859375,
0.62109375,
0.1383056640625,
0.58251953125,
0.1383056640625
],
[
0.387939453125,
0.14013671875,
0.44580078125,
0.14013671875,
0.44580078125,
0.1519775390625,
0.387939453125,
0.1519775390625
],
[
0.478515625,
0.1436767578125,
0.5400390625,
0.1436767578125,
0.5400390625,
0.15380859375,
0.478515625,
0.15380859375
],
[
0.73486328125,
0.141357421875,
0.8564453125,
0.141357421875,
0.8564453125,
0.1519775390625,
0.73486328125,
0.1519775390625
],
[
0.62890625,
0.1478271484375,
0.70361328125,
0.1484375,
0.70361328125,
0.1602783203125,
0.62890625,
0.1591796875
],
[
0.73876953125,
0.1478271484375,
0.8564453125,
0.1484375,
0.8564453125,
0.1591796875,
0.73876953125,
0.157958984375
],
[
0.646484375,
0.1602783203125,
0.69287109375,
0.1602783203125,
0.69287109375,
0.1644287109375,
0.646484375,
0.1644287109375
],
[
0.3955078125,
0.149658203125,
0.438232421875,
0.149658203125,
0.438232421875,
0.15673828125,
0.3955078125,
0.15673828125
],
[
0.318115234375,
0.1776123046875,
0.408935546875,
0.177001953125,
0.408935546875,
0.188232421875,
0.318115234375,
0.189453125
],
[
0.67236328125,
0.174560546875,
0.75732421875,
0.177001953125,
0.75732421875,
0.191162109375,
0.67236328125,
0.189453125
],
[
0.340087890625,
0.18408203125,
0.387939453125,
0.1859130859375,
0.387939453125,
0.1953125,
0.340087890625,
0.193603515625
],
[
0.68994140625,
0.189453125,
0.73779296875,
0.189453125,
0.73779296875,
0.193603515625,
0.68994140625,
0.193603515625
],
[
0.580078125,
0.1953125,
0.66748046875,
0.19775390625,
0.66650390625,
0.2244873046875,
0.57861328125,
0.22265625
],
[
0.779296875,
0.1953125,
0.8671875,
0.1953125,
0.8671875,
0.2060546875,
0.779296875,
0.2060546875
],
[
0.8037109375,
0.2037353515625,
0.84619140625,
0.2037353515625,
0.84619140625,
0.21142578125,
0.8037109375,
0.21142578125
],
[
0.6533203125,
0.21142578125,
0.6572265625,
0.21142578125,
0.6572265625,
0.2161865234375,
0.6533203125,
0.2161865234375
],
[
0.1175537109375,
0.235107421875,
0.880859375,
0.235107421875,
0.880859375,
0.248779296875,
0.1175537109375,
0.248779296875
],
[
0.1175537109375,
0.2493896484375,
0.8818359375,
0.2493896484375,
0.8818359375,
0.26318359375,
0.1175537109375,
0.26318359375
],
[
0.1175537109375,
0.26416015625,
0.39208984375,
0.26416015625,
0.39208984375,
0.27783203125,
0.1175537109375,
0.27783203125
],
[
0.118408203125,
0.303955078125,
0.483642578125,
0.303955078125,
0.483642578125,
0.317626953125,
0.118408203125,
0.317626953125
],
[
0.5341796875,
0.305908203125,
0.87890625,
0.305908203125,
0.87890625,
0.31640625,
0.5341796875,
0.31640625
],
[
0.118408203125,
0.320556640625,
0.486083984375,
0.320556640625,
0.486083984375,
0.334228515625,
0.118408203125,
0.334228515625
],
[
0.51123046875,
0.319580078125,
0.880859375,
0.318359375,
0.880859375,
0.333251953125,
0.51123046875,
0.334228515625
],
[
0.118408203125,
0.336181640625,
0.28369140625,
0.336181640625,
0.28369140625,
0.349853515625,
0.118408203125,
0.349853515625
],
[
0.51318359375,
0.336181640625,
0.87890625,
0.336181640625,
0.87890625,
0.349853515625,
0.51318359375,
0.349853515625
],
[
0.1368408203125,
0.352783203125,
0.486083984375,
0.352783203125,
0.486083984375,
0.366455078125,
0.1368408203125,
0.366455078125
],
[
0.51318359375,
0.3515625,
0.87890625,
0.3515625,
0.87890625,
0.365234375,
0.51318359375,
0.365234375
],
[
0.118408203125,
0.3681640625,
0.484375,
0.3681640625,
0.484375,
0.3818359375,
0.118408203125,
0.3818359375
],
[
0.51318359375,
0.3681640625,
0.880859375,
0.3681640625,
0.880859375,
0.3818359375,
0.51318359375,
0.3818359375
],
[
0.118408203125,
0.385498046875,
0.483642578125,
0.385498046875,
0.483642578125,
0.3984375,
0.118408203125,
0.3984375
],
[
0.5146484375,
0.385986328125,
0.75146484375,
0.385986328125,
0.75146484375,
0.396728515625,
0.5146484375,
0.396728515625
],
[
0.12005615234375,
0.402099609375,
0.484375,
0.402099609375,
0.484375,
0.4150390625,
0.12005615234375,
0.4150390625
],
[
0.5341796875,
0.402587890625,
0.87890625,
0.402587890625,
0.87890625,
0.416259765625,
0.5341796875,
0.416259765625
],
[
0.118408203125,
0.418701171875,
0.478515625,
0.418701171875,
0.478515625,
0.431640625,
0.118408203125,
0.431640625
],
[
0.5146484375,
0.42041015625,
0.87890625,
0.42041015625,
0.87890625,
0.43115234375,
0.5146484375,
0.43115234375
],
[
0.118408203125,
0.43408203125,
0.484375,
0.43408203125,
0.484375,
0.44775390625,
0.118408203125,
0.44775390625
],
[
0.51318359375,
0.435302734375,
0.880859375,
0.435302734375,
0.880859375,
0.448974609375,
0.51318359375,
0.448974609375
],
[
0.118408203125,
0.449462890625,
0.4306640625,
0.449462890625,
0.4306640625,
0.463134765625,
0.118408203125,
0.463134765625
],
[
0.515625,
0.453125,
0.87890625,
0.453125,
0.87890625,
0.463134765625,
0.515625,
0.463134765625
],
[
0.1368408203125,
0.466064453125,
0.486083984375,
0.466064453125,
0.486083984375,
0.479736328125,
0.1368408203125,
0.479736328125
],
[
0.5146484375,
0.46728515625,
0.880859375,
0.46728515625,
0.880859375,
0.48095703125,
0.5146484375,
0.48095703125
],
[
0.118408203125,
0.482666015625,
0.483642578125,
0.482666015625,
0.483642578125,
0.496337890625,
0.118408203125,
0.496337890625
],
[
0.5146484375,
0.482666015625,
0.87890625,
0.482666015625,
0.87890625,
0.496337890625,
0.5146484375,
0.496337890625
],
[
0.1175537109375,
0.498779296875,
0.484375,
0.498779296875,
0.484375,
0.5126953125,
0.1175537109375,
0.5126953125
],
[
0.51318359375,
0.49951171875,
0.880859375,
0.49951171875,
0.880859375,
0.51318359375,
0.51318359375,
0.51318359375
],
[
0.118408203125,
0.51416015625,
0.48779296875,
0.51416015625,
0.48779296875,
0.52783203125,
0.118408203125,
0.52783203125
],
[
0.51318359375,
0.515625,
0.880859375,
0.515625,
0.880859375,
0.529296875,
0.51318359375,
0.529296875
],
[
0.118408203125,
0.53076171875,
0.48779296875,
0.53076171875,
0.48779296875,
0.54443359375,
0.118408203125,
0.54443359375
],
[
0.51318359375,
0.5322265625,
0.87890625,
0.5322265625,
0.87890625,
0.5458984375,
0.51318359375,
0.5458984375
],
[
0.1175537109375,
0.54638671875,
0.424072265625,
0.54638671875,
0.424072265625,
0.56103515625,
0.1175537109375,
0.56103515625
],
[
0.51318359375,
0.54736328125,
0.880859375,
0.54638671875,
0.880859375,
0.56103515625,
0.51318359375,
0.5625
],
[
0.515625,
0.56396484375,
0.880859375,
0.56396484375,
0.880859375,
0.57763671875,
0.515625,
0.57763671875
],
[
0.1175537109375,
0.57666015625,
0.145263671875,
0.57666015625,
0.145263671875,
0.5888671875,
0.1175537109375,
0.5888671875
],
[
0.1502685546875,
0.57666015625,
0.26025390625,
0.57666015625,
0.26025390625,
0.59130859375,
0.1502685546875,
0.59130859375
],
[
0.51318359375,
0.5791015625,
0.71728515625,
0.580078125,
0.71728515625,
0.59423828125,
0.51318359375,
0.59326171875
],
[
0.1368408203125,
0.6025390625,
0.484375,
0.6025390625,
0.484375,
0.6162109375,
0.1368408203125,
0.6162109375
],
[
0.51318359375,
0.6162109375,
0.5498046875,
0.6162109375,
0.5498046875,
0.6259765625,
0.51318359375,
0.6259765625
],
[
0.54248046875,
0.6142578125,
0.73876953125,
0.6142578125,
0.73876953125,
0.62744140625,
0.54248046875,
0.62744140625
],
[
0.12176513671875,
0.63525390625,
0.486083984375,
0.63525390625,
0.486083984375,
0.6484375,
0.12176513671875,
0.6484375
],
[
0.118408203125,
0.619140625,
0.486083984375,
0.619140625,
0.486083984375,
0.6328125,
0.118408203125,
0.6328125
],
[
0.51123046875,
0.6435546875,
0.87890625,
0.6435546875,
0.87890625,
0.65673828125,
0.51123046875,
0.65673828125
],
[
0.1175537109375,
0.65087890625,
0.484375,
0.65087890625,
0.484375,
0.66455078125,
0.1175537109375,
0.66455078125
],
[
0.51318359375,
0.66015625,
0.880859375,
0.66015625,
0.880859375,
0.67333984375,
0.51318359375,
0.67333984375
],
[
0.12005615234375,
0.66845703125,
0.483642578125,
0.66845703125,
0.483642578125,
0.6787109375,
0.12005615234375,
0.6787109375
],
[
0.51123046875,
0.67578125,
0.8759765625,
0.6748046875,
0.8759765625,
0.689453125,
0.51123046875,
0.6904296875
],
[
0.118408203125,
0.68408203125,
0.486083984375,
0.68408203125,
0.486083984375,
0.69775390625,
0.118408203125,
0.69775390625
],
[
0.51318359375,
0.69482421875,
0.87744140625,
0.69482421875,
0.87744140625,
0.705078125,
0.51318359375,
0.705078125
],
[
0.12005615234375,
0.70068359375,
0.486083984375,
0.70068359375,
0.486083984375,
0.71435546875,
0.12005615234375,
0.71435546875
],
[
0.5146484375,
0.708984375,
0.880859375,
0.708984375,
0.880859375,
0.72265625,
0.5146484375,
0.72265625
],
[
0.118408203125,
0.71630859375,
0.484375,
0.71630859375,
0.484375,
0.72998046875,
0.118408203125,
0.72998046875
],
[
0.51123046875,
0.7236328125,
0.880859375,
0.724609375,
0.880859375,
0.7392578125,
0.51123046875,
0.73828125
],
[
0.118408203125,
0.732421875,
0.2476806640625,
0.732421875,
0.2476806640625,
0.74658203125,
0.118408203125,
0.74658203125
],
[
0.5146484375,
0.7412109375,
0.880859375,
0.7412109375,
0.880859375,
0.7548828125,
0.5146484375,
0.7548828125
],
[
0.133544921875,
0.74755859375,
0.486083984375,
0.7490234375,
0.486083984375,
0.76318359375,
0.133544921875,
0.7626953125
],
[
0.51318359375,
0.75732421875,
0.880859375,
0.75732421875,
0.880859375,
0.77099609375,
0.51318359375,
0.77099609375
],
[
0.118408203125,
0.765625,
0.486083984375,
0.765625,
0.486083984375,
0.779296875,
0.118408203125,
0.779296875
],
[
0.51318359375,
0.77392578125,
0.880859375,
0.77392578125,
0.880859375,
0.78759765625,
0.51318359375,
0.78759765625
],
[
0.118408203125,
0.78076171875,
0.47265625,
0.78076171875,
0.47265625,
0.79443359375,
0.118408203125,
0.79443359375
],
[
0.468505859375,
0.78515625,
0.474365234375,
0.78515625,
0.474365234375,
0.79052734375,
0.468505859375,
0.79052734375
],
[
0.51123046875,
0.7880859375,
0.87890625,
0.7880859375,
0.87890625,
0.8017578125,
0.51123046875,
0.8017578125
],
[
0.118408203125,
0.79736328125,
0.484375,
0.79736328125,
0.484375,
0.81103515625,
0.118408203125,
0.81103515625
],
[
0.51318359375,
0.8056640625,
0.880859375,
0.8056640625,
0.880859375,
0.8193359375,
0.51318359375,
0.8193359375
],
[
0.118408203125,
0.8134765625,
0.48779296875,
0.8134765625,
0.48779296875,
0.82666015625,
0.118408203125,
0.82666015625
],
[
0.51318359375,
0.82177734375,
0.880859375,
0.82177734375,
0.880859375,
0.8349609375,
0.51318359375,
0.8349609375
],
[
0.118408203125,
0.8291015625,
0.484375,
0.8291015625,
0.484375,
0.8427734375,
0.118408203125,
0.8427734375
],
[
0.51123046875,
0.8359375,
0.880859375,
0.83740234375,
0.880859375,
0.8515625,
0.51123046875,
0.85107421875
],
[
0.118408203125,
0.84423828125,
0.484375,
0.84423828125,
0.484375,
0.859375,
0.118408203125,
0.859375
],
[
0.51123046875,
0.85107421875,
0.8818359375,
0.8525390625,
0.8818359375,
0.869140625,
0.51123046875,
0.86767578125
],
[
0.1175537109375,
0.8623046875,
0.484375,
0.8623046875,
0.484375,
0.8759765625,
0.1175537109375,
0.8759765625
],
[
0.515625,
0.87060546875,
0.61279296875,
0.87060546875,
0.61279296875,
0.8818359375,
0.515625,
0.8818359375
],
[
0.1175537109375,
0.87744140625,
0.38037109375,
0.87744140625,
0.38037109375,
0.89111328125,
0.1175537109375,
0.89111328125
],
[
0.133544921875,
0.90283203125,
0.279541015625,
0.90380859375,
0.279541015625,
0.91845703125,
0.133544921875,
0.91748046875
],
[
0.53076171875,
0.90478515625,
0.880859375,
0.90478515625,
0.880859375,
0.91943359375,
0.53076171875,
0.91943359375
]
] |
[
"Tohnoeaaeaa",
"The shows are grea",
"Friendly service all around; The",
"he roomsarecomfortab!",
"The hotel itself was beautifu",
"personnel were great",
".The shows are great",
"Theroomsarecomfortable",
"Check-inwasquickandeasy",
"Thepilowsweregreat",
"Beautiful roomy",
"reond",
"The dancers are",
"showers",
"The view is",
"professional",
"Housekeeping was fantastic",
"The beds were",
"The cleaning crew is great",
"awesome",
"fantastic",
"Unique architecture",
"The suite layout is",
"anddecor",
"awesomel",
"",
"Check-in was quick",
"andeasy",
"",
"Figure 1: From a flat list of key points to a key point hierarchy (KPH). Nodes group together key points that",
"roughly express the same idea and directed edges connect specific key points to more general ones. The number",
"of matches for each key point is omitted.",
"首先计算局部分数,预测每对关键点之间的方",
"关于蕴涵图的大多数先前工作都集中在学",
"向关系。然后,我们构建一个由这些局部成对",
"习谓词之间的蕴涵关系,同时满足一些全局",
"预测指导的层次结构",
"约束,例如传递性(Berantetal.,2010),软传",
"我们为上述每个子任务提供了新颖的方法和",
"递性(Chenetal.,2022)和其他类型的软约束",
"算法改进。特别是,对于预测成对关键点关系",
"(Hosseini et al., 2018)Levy et al. (2014)将蕴",
"的任务,我们通过将方向分布相似性方法应用",
"涵图的概念扩展到实例化谓词",
"于关键点的新颖分布表示,在现有的强基线上",
"与我们的关键点层次结构最相似的是由",
"取得了显着收益,并通过弱监督进一步提高了",
"Kotlermanetal.(2015)引入的文本片段上的蕴",
"性能。我们发布了THINKP数据集,以鼓励对",
"涵图。他们的激励方案是总结客户反馈,为此",
"这一具有挑战性的任务进行进一步研究",
"他们开发了一个基准数据集。但是,此数据集",
"总的来说,我们的工作有助于几个研究领",
"中的文本片段是手动提取的。当前工作中提",
"域,包括关键点分析,观点总结,蕴涵图和自",
"出的方法,首先使用KPA找到数据中最突出",
"然语言推理的分布方法。此外,正如我们在9",
"的点,然后从提取的关键点构建层次结构,允",
"4.3中演示的那样,我们新颖的THINKP数据",
"许为大量意见,视图或参数集合全自动生成结",
"集捕获了自然发生的文本对之间的各种类型的",
"构化摘要。在自动提取的关键点上构建层次结",
"推论,使其成为NLI研究的有趣资源。",
"构,这些关键点通常是噜杂和不完美的,代表",
"了一个更现实的场景,并使KPH的手动注释",
"2",
"Background",
"及其自动构建更具挑战性",
"Key Point Analysis. Bar-Haim et al. (2020a,b)",
"3",
"Key Point Hierarchies",
"了文本和定量的要点摘要在评论的集合。KPA",
"建议的关键点分析(KPA)作为摘要框架,提供",
"图1说明了平面关键点列表到关键点层次结",
"提取一组简洁,高质量的句子或短语,称为关",
"构(KPH)的转换。形式上,给定一个关键点",
"键点,并将每个输入句子映射到其相应的关键",
"列表K=ki,k2,.,knl,我们将KPHH=",
"点。每个关键点的流行程度被量化为其匹配句",
"V,8)定义为有向森林,也就是说,H是一个",
"子的数量。KPA摘要比常用的单词云和关键短",
"有向无环图(DAG),其中每个节点的父级不",
"语更具表现力,同时增加了纯文本摘要中缺少",
"超过一个。顶点V是传达类似思想的关键点",
"的重要定量维度",
"[C1...Cm]的簇,有向边EiiE&表示簇C,和",
"KPA算法旨在提取一组提供高数据覆盖率",
"C之间的层次关系。与Kotlermanetal.(2015)",
"的关键点,同时消除穴余。它采用两个监督模",
"类似,有向边Ci→C表示C,中的关键点为",
"型:一个用于评估关键点候选项的质量,另",
"",
"C,中的关键点提供了阐述和支持。通过传递",
"个用于计算句子和候选关键点之间的匹配分",
"性,此关系扩展到任何两个C,和Ck,使得",
"数。Bar-Haimetal.(2021)通过引人对原始算法",
"在H中存在从Ci到Ck的有向路径,我们将",
"的几种扩展,使KPA适应业务评论。特别是,",
"其表示为C~Ck。因此,我们将R(H)定义",
"他们将情感分析集成到KPA中,为正面和负",
"为可以从H导出的成对关键点(α,y)之间的",
"面句子创建单独的摘要。他们还为业务评论领",
"方向关系集:",
"域开发了专门的关键点质量模型。",
"Entailment Graphs.",
"R(H) ={(c,y)) C = Cy V C ~ Cy) (1)"
] |
{
"arxiv_id": "2306.03853",
"language": "zh",
"page_idx": 2
}
|
||
2306.03853-zh-3
|
2306.03853-zh-3.jpg
|
图 1 中的示例,$\mathcal{R}(H)$包括“Housekeeping $was\textit{ fantastic" “ The personnel were great" . }$ ${“}Housekeeping~was~fantastic”“Friendly~service$ all around" 、“Housekeeping was fantastic” → “The cleaning crew is great"等关系,
我们选择了更一般的图结构的分层表示,因为它导致更简单的输出,更容易使用。此外,这大大简化了注释过程。我们发现分层表示在实践中效果很好,因为我们数据集中的绝大多数节点没有多个潜在的父级。这与以前的工作一致,这表明蕴涵图倾向于具有树状结构 (Berant et al.,2012)。
# 4 THINKP: A Dataset for Key Point Hierarchies
在本节中,我们将介绍 THINKP,这是关键点层次结构的基准数据集。为了构建 THINKP 我们首先将关键点分析应用于来自多个领域的企业和产品的评论(ğ4.1 )。然后从为每个业务或产品提取的关键点集手动构建 KPH(ğ 4.2 )。我们提供有关结果数据集的统计信息,以及对其包含的推论类型的定性分析E( $\v g4. 3)$
# 4.1 Key Point Set Generation
创建数据集的第一步是对选定业务和产品的评论运行 KPA。我们的实现遵循 (Bar-Haim et al., 2021),他建议使用 KPA 的几个扩展来分析业务评论。$^{2}$对于每个业务,将创建正面和负面关键点的两个单独摘要
为了获得多样化的数据集,我们考虑了来自
两个数据源的三个不同域:
Yelp. 此数据集包括 7M 个书面业务评论, 其中每个业务都可以按不同的粒度级别分为多个类别。我们将 KPA 应用于至少包括以下类别之一的企业样本:RESTAURANTS , HOTELS 和 ART & ENTERTAINMENT ,并且至少有 1,000条评论。对于 KPH 注释,我们选择了四家餐厅(我们称为 RESTAURANTS 域)和四家归类为 ART & ENTERTAINMENT 的企业,其中三家是酒店(以下简称为酒店&娱乐域或 HoTELS )。每个域包括两个正面和两个负面的 KPA 摘要。
Amazon $^{3}.$此数据集包含 Amazon.com 中各种领域的大量产品的 130M 客户评论。在这
$^2$Specifically, our implementation follows their RKPA-FT configuration, except that we extract the key points for each business independently, and allow each sentence to match ${\mathrm{multiple~key~points.}}$
$^{3}$https://s3.amazonaws.com/amazon-reviews-pds/
tsv/index.txt
其中$C_x,C_y\in\mathcal{V}$分别是 $x$ 和 $y$ 的簇。考虑 里,我们专注于 PC 领域的笔记本电脑和平板
电脑,为此我们可以期待一组丰富多样的关键点,讨论尺寸,易用性,设计等各个方面。最终,我们为三个正面和一个负面的 KPA 摘要注释了一个 KPH
# 4.2 KPH Annotation
注释 KPH 等复杂结构是一项具有挑战性的任务,因为它涉及全局,相互依存的决策。此外, 注释器需要考虑关键点之间可能存在的不同类型的层次关系,正如我们在 4.3 节中进一步讨论的那样。最后,用户评论广泛使用非正式和比喻性语言。例如,“The food is outrageous!” 应被解释为美味的食物;“Elevators should go up and down, not diagonal" 表示电梯很吓人,而“Internet was a joke to get to work”表示 WiFi 信号不佳
为了克服这些挑战并获得高质量的数据集, 三个注释者分别为每个 KPA 摘要构建了一个KPH $(\check{\mathrm{g}}4.2.1);$然后,注释者开会解决他们的分歧并达成合并的 KPH (ğ4.2.2)
## 4.2.1 Creating an Initial KPH
为了构建初始 KPH,根据匹配句子的数量,以降序顺序向注释者显示关键点。对于每个关键点,他们首先决定它是否传达了与以前看到的任何关键点相同的想法,在这种情况下,它被添加到现有的集群中。如果没有,则将一个新节点添加到 KPH 中,注释器将其拖动到层次结构中的正确位置。由于具有许多匹配项的关键点往往更通用,因此关键点排序有助于KPH 的自上而下构建。在注释过程中的任何时候,注释者都可以完整地查看到目前为止构建的 KPH, 并且可以通过修改以前的决策来调整它,包括聚类和层次关系。每个 KPH 由三位作者分别注释,每个注释者大约需要一个小时才能完成。我们的注释指南详见附录 A.1
由于关键点是自动提取的,因此其中一些不满足关键点的所需属性-简洁且自包含的句子或短语,讨论具有某种极性的单个点$\overline{\mathbb{E}}($BarHaim et al., 2021)。为了避免 THINKP 中的噪声,注释者可以将这些坏的关键点标记为从最终 KPH 中删除的候选者
作为我们的注释工具,我们使用了 CoRefi$\boxed{\mathrm{E}}$ (Bornstein et al.,2020),这是一个用于跨文档共引用注释的接口,带有 Cattan et al.(2021)的扩展,用于注释集群森林,我们将其用于处理关键点(请参阅附录EA.2)
## 4.2.2 KPH Consolidation
为了获得最终的 KPH, 三个注释者会面讨论并解决各自 KPH 注释中的差异。这是一个复杂
|
[
[
0.12005615234375,
0.0885009765625,
0.489501953125,
0.0885009765625,
0.489501953125,
0.09857177734375,
0.12005615234375,
0.09857177734375
],
[
0.486083984375,
0.0914306640625,
0.51123046875,
0.0914306640625,
0.51123046875,
0.0955810546875,
0.486083984375,
0.0955810546875
],
[
0.51123046875,
0.0872802734375,
0.87744140625,
0.0872802734375,
0.87744140625,
0.097412109375,
0.51123046875,
0.097412109375
],
[
0.1175537109375,
0.1015625,
0.489501953125,
0.10272216796875,
0.489501953125,
0.1175537109375,
0.1175537109375,
0.11639404296875
],
[
0.51123046875,
0.10272216796875,
0.87890625,
0.10272216796875,
0.87890625,
0.11639404296875,
0.51123046875,
0.11639404296875
],
[
0.118408203125,
0.119384765625,
0.495361328125,
0.119384765625,
0.495361328125,
0.133056640625,
0.118408203125,
0.133056640625
],
[
0.515625,
0.12054443359375,
0.87890625,
0.12054443359375,
0.87890625,
0.1312255859375,
0.515625,
0.1312255859375
],
[
0.11248779296875,
0.1341552734375,
0.486083984375,
0.1341552734375,
0.486083984375,
0.1478271484375,
0.11248779296875,
0.1478271484375
],
[
0.51318359375,
0.1353759765625,
0.880859375,
0.1353759765625,
0.880859375,
0.1484375,
0.51318359375,
0.1484375
],
[
0.118408203125,
0.15087890625,
0.486083984375,
0.15087890625,
0.486083984375,
0.1644287109375,
0.118408203125,
0.1644287109375
],
[
0.51123046875,
0.15087890625,
0.64990234375,
0.149658203125,
0.64990234375,
0.1644287109375,
0.51123046875,
0.1650390625
],
[
0.11083984375,
0.166259765625,
0.387939453125,
0.166259765625,
0.387939453125,
0.179931640625,
0.11083984375,
0.179931640625
],
[
0.1368408203125,
0.18408203125,
0.48779296875,
0.18408203125,
0.48779296875,
0.19775390625,
0.1368408203125,
0.19775390625
],
[
0.51318359375,
0.1787109375,
0.69287109375,
0.1787109375,
0.69287109375,
0.1923828125,
0.51318359375,
0.1923828125
],
[
0.1175537109375,
0.1995849609375,
0.486083984375,
0.1995849609375,
0.486083984375,
0.213134765625,
0.1175537109375,
0.213134765625
],
[
0.51123046875,
0.201904296875,
0.87744140625,
0.201904296875,
0.87744140625,
0.2120361328125,
0.51123046875,
0.2120361328125
],
[
0.12005615234375,
0.21728515625,
0.484375,
0.21728515625,
0.484375,
0.22802734375,
0.12005615234375,
0.22802734375
],
[
0.51318359375,
0.2161865234375,
0.880859375,
0.2161865234375,
0.880859375,
0.2298583984375,
0.51318359375,
0.2298583984375
],
[
0.118408203125,
0.232177734375,
0.48779296875,
0.232177734375,
0.48779296875,
0.2452392578125,
0.118408203125,
0.2452392578125
],
[
0.51318359375,
0.2327880859375,
0.880859375,
0.2327880859375,
0.880859375,
0.2464599609375,
0.51318359375,
0.2464599609375
],
[
0.118408203125,
0.2476806640625,
0.489501953125,
0.2476806640625,
0.489501953125,
0.26123046875,
0.118408203125,
0.26123046875
],
[
0.51123046875,
0.248779296875,
0.87890625,
0.248779296875,
0.87890625,
0.262451171875,
0.51123046875,
0.262451171875
],
[
0.1175537109375,
0.26416015625,
0.489501953125,
0.26416015625,
0.489501953125,
0.27783203125,
0.1175537109375,
0.27783203125
],
[
0.51318359375,
0.265380859375,
0.880859375,
0.265380859375,
0.880859375,
0.279052734375,
0.51318359375,
0.279052734375
],
[
0.1158447265625,
0.27783203125,
0.219970703125,
0.27978515625,
0.219970703125,
0.29443359375,
0.1158447265625,
0.292236328125
],
[
0.5146484375,
0.28076171875,
0.880859375,
0.28076171875,
0.880859375,
0.295654296875,
0.5146484375,
0.295654296875
],
[
0.51318359375,
0.295654296875,
0.880859375,
0.29638671875,
0.880859375,
0.311279296875,
0.51318359375,
0.31005859375
],
[
0.1175537109375,
0.308837890625,
0.151123046875,
0.308837890625,
0.151123046875,
0.320556640625,
0.1175537109375,
0.320556640625
],
[
0.1502685546875,
0.30712890625,
0.444091796875,
0.30810546875,
0.444091796875,
0.322509765625,
0.1502685546875,
0.32177734375
],
[
0.509765625,
0.3134765625,
0.880859375,
0.312255859375,
0.880859375,
0.32666015625,
0.509765625,
0.327880859375
],
[
0.14697265625,
0.32373046875,
0.2493896484375,
0.325927734375,
0.2493896484375,
0.34033203125,
0.14697265625,
0.33837890625
],
[
0.50732421875,
0.327880859375,
0.8818359375,
0.328857421875,
0.8818359375,
0.34326171875,
0.50732421875,
0.342529296875
],
[
0.118408203125,
0.350830078125,
0.48779296875,
0.350830078125,
0.48779296875,
0.365234375,
0.118408203125,
0.365234375
],
[
0.51318359375,
0.3466796875,
0.568359375,
0.3466796875,
0.568359375,
0.358154296875,
0.51318359375,
0.358154296875
],
[
0.53076171875,
0.35986328125,
0.880859375,
0.35986328125,
0.880859375,
0.374755859375,
0.53076171875,
0.374755859375
],
[
0.118408203125,
0.36767578125,
0.489501953125,
0.36767578125,
0.489501953125,
0.38134765625,
0.118408203125,
0.38134765625
],
[
0.118408203125,
0.383056640625,
0.486083984375,
0.383056640625,
0.486083984375,
0.396728515625,
0.118408203125,
0.396728515625
],
[
0.51123046875,
0.377685546875,
0.87890625,
0.377685546875,
0.87890625,
0.391357421875,
0.51123046875,
0.391357421875
],
[
0.51318359375,
0.393798828125,
0.880859375,
0.393798828125,
0.880859375,
0.40673828125,
0.51318359375,
0.40673828125
],
[
0.118408203125,
0.399658203125,
0.484375,
0.399658203125,
0.484375,
0.413330078125,
0.118408203125,
0.413330078125
],
[
0.118408203125,
0.4150390625,
0.48779296875,
0.4150390625,
0.48779296875,
0.4287109375,
0.118408203125,
0.4287109375
],
[
0.51318359375,
0.410400390625,
0.78662109375,
0.410400390625,
0.78662109375,
0.42333984375,
0.51318359375,
0.42333984375
],
[
0.118408203125,
0.431640625,
0.48779296875,
0.431640625,
0.48779296875,
0.4453125,
0.118408203125,
0.4453125
],
[
0.5087890625,
0.43408203125,
0.76318359375,
0.435302734375,
0.76318359375,
0.449462890625,
0.5087890625,
0.448974609375
],
[
0.1175537109375,
0.44775390625,
0.43408203125,
0.44775390625,
0.43408203125,
0.46142578125,
0.1175537109375,
0.46142578125
],
[
0.5146484375,
0.457275390625,
0.880859375,
0.457275390625,
0.880859375,
0.47021484375,
0.5146484375,
0.47021484375
],
[
0.1175537109375,
0.4755859375,
0.364501953125,
0.4755859375,
0.364501953125,
0.4892578125,
0.1175537109375,
0.4892578125
],
[
0.51318359375,
0.47265625,
0.880859375,
0.47265625,
0.880859375,
0.486328125,
0.51318359375,
0.486328125
],
[
0.51318359375,
0.488037109375,
0.87744140625,
0.488037109375,
0.87744140625,
0.501953125,
0.51318359375,
0.501953125
],
[
0.118408203125,
0.496337890625,
0.486083984375,
0.496337890625,
0.486083984375,
0.51025390625,
0.118408203125,
0.51025390625
],
[
0.51123046875,
0.5029296875,
0.880859375,
0.50439453125,
0.880859375,
0.5185546875,
0.51123046875,
0.51708984375
],
[
0.1175537109375,
0.5126953125,
0.484375,
0.51025390625,
0.484375,
0.52490234375,
0.1175537109375,
0.52685546875
],
[
0.5146484375,
0.521484375,
0.87890625,
0.521484375,
0.87890625,
0.5322265625,
0.5146484375,
0.5322265625
],
[
0.118408203125,
0.529296875,
0.484375,
0.529296875,
0.484375,
0.5419921875,
0.118408203125,
0.5419921875
],
[
0.51123046875,
0.53515625,
0.87890625,
0.53515625,
0.87890625,
0.548828125,
0.51123046875,
0.548828125
],
[
0.118408203125,
0.54345703125,
0.483642578125,
0.54345703125,
0.483642578125,
0.55712890625,
0.118408203125,
0.55712890625
],
[
0.51318359375,
0.552734375,
0.880859375,
0.552734375,
0.880859375,
0.56640625,
0.51318359375,
0.56640625
],
[
0.12005615234375,
0.5625,
0.300537109375,
0.5625,
0.300537109375,
0.572265625,
0.12005615234375,
0.572265625
],
[
0.51318359375,
0.568359375,
0.87890625,
0.568359375,
0.87890625,
0.58203125,
0.51318359375,
0.58203125
],
[
0.139404296875,
0.5791015625,
0.48193359375,
0.5791015625,
0.48193359375,
0.5888671875,
0.139404296875,
0.5888671875
],
[
0.51123046875,
0.58447265625,
0.87890625,
0.58447265625,
0.87890625,
0.59716796875,
0.51123046875,
0.59716796875
],
[
0.118408203125,
0.59326171875,
0.328369140625,
0.59326171875,
0.328369140625,
0.60693359375,
0.118408203125,
0.60693359375
],
[
0.5146484375,
0.6015625,
0.880859375,
0.6015625,
0.880859375,
0.615234375,
0.5146484375,
0.615234375
],
[
0.1368408203125,
0.619140625,
0.490234375,
0.619140625,
0.490234375,
0.6328125,
0.1368408203125,
0.6328125
],
[
0.51318359375,
0.61767578125,
0.880859375,
0.61767578125,
0.880859375,
0.63134765625,
0.51318359375,
0.63134765625
],
[
0.118408203125,
0.63525390625,
0.48779296875,
0.63525390625,
0.48779296875,
0.6484375,
0.118408203125,
0.6484375
],
[
0.51123046875,
0.6318359375,
0.87890625,
0.6318359375,
0.87890625,
0.6455078125,
0.51123046875,
0.6455078125
],
[
0.118408203125,
0.6494140625,
0.486083984375,
0.6494140625,
0.486083984375,
0.6630859375,
0.118408203125,
0.6630859375
],
[
0.51318359375,
0.6494140625,
0.880859375,
0.6494140625,
0.880859375,
0.6630859375,
0.51318359375,
0.6630859375
],
[
0.1175537109375,
0.6650390625,
0.484375,
0.66650390625,
0.484375,
0.68115234375,
0.1175537109375,
0.6796875
],
[
0.51318359375,
0.6650390625,
0.8447265625,
0.6650390625,
0.8447265625,
0.6787109375,
0.51318359375,
0.6787109375
],
[
0.118408203125,
0.68310546875,
0.486083984375,
0.68310546875,
0.486083984375,
0.69677734375,
0.118408203125,
0.69677734375
],
[
0.52880859375,
0.68115234375,
0.880859375,
0.6796875,
0.880859375,
0.69482421875,
0.52880859375,
0.6953125
],
[
0.118408203125,
0.69775390625,
0.486083984375,
0.69775390625,
0.486083984375,
0.71142578125,
0.118408203125,
0.71142578125
],
[
0.51123046875,
0.69873046875,
0.880859375,
0.69873046875,
0.880859375,
0.7119140625,
0.51123046875,
0.7119140625
],
[
0.1175537109375,
0.71435546875,
0.486083984375,
0.71435546875,
0.486083984375,
0.72802734375,
0.1175537109375,
0.72802734375
],
[
0.51318359375,
0.71435546875,
0.880859375,
0.71435546875,
0.880859375,
0.72802734375,
0.51318359375,
0.72802734375
],
[
0.118408203125,
0.732421875,
0.48779296875,
0.732421875,
0.48779296875,
0.7451171875,
0.118408203125,
0.7451171875
],
[
0.51123046875,
0.72998046875,
0.880859375,
0.72998046875,
0.880859375,
0.74365234375,
0.51123046875,
0.74365234375
],
[
0.118408203125,
0.74755859375,
0.486083984375,
0.74755859375,
0.486083984375,
0.76123046875,
0.118408203125,
0.76123046875
],
[
0.51318359375,
0.7451171875,
0.8818359375,
0.7451171875,
0.8818359375,
0.7587890625,
0.51318359375,
0.7587890625
],
[
0.118408203125,
0.76416015625,
0.48779296875,
0.76416015625,
0.48779296875,
0.77783203125,
0.118408203125,
0.77783203125
],
[
0.51123046875,
0.76123046875,
0.7060546875,
0.76123046875,
0.7060546875,
0.77490234375,
0.51123046875,
0.77490234375
],
[
0.118408203125,
0.78076171875,
0.1485595703125,
0.78076171875,
0.1485595703125,
0.79345703125,
0.118408203125,
0.79345703125
],
[
0.5322265625,
0.779296875,
0.880859375,
0.779296875,
0.880859375,
0.7919921875,
0.5322265625,
0.7919921875
],
[
0.51318359375,
0.79443359375,
0.880859375,
0.79443359375,
0.880859375,
0.80810546875,
0.51318359375,
0.80810546875
],
[
0.1368408203125,
0.80419921875,
0.486083984375,
0.80419921875,
0.486083984375,
0.818359375,
0.1368408203125,
0.818359375
],
[
0.5146484375,
0.8125,
0.87890625,
0.8125,
0.87890625,
0.822265625,
0.5146484375,
0.822265625
],
[
0.12005615234375,
0.82177734375,
0.48779296875,
0.82177734375,
0.48779296875,
0.8349609375,
0.12005615234375,
0.8349609375
],
[
0.51123046875,
0.82666015625,
0.880859375,
0.82666015625,
0.880859375,
0.84033203125,
0.51123046875,
0.84033203125
],
[
0.1376953125,
0.84423828125,
0.48779296875,
0.845703125,
0.48779296875,
0.859375,
0.1376953125,
0.85791015625
],
[
0.51123046875,
0.8427734375,
0.73876953125,
0.84130859375,
0.73876953125,
0.85546875,
0.51123046875,
0.85693359375
],
[
0.12005615234375,
0.85986328125,
0.483642578125,
0.85986328125,
0.483642578125,
0.87060546875,
0.12005615234375,
0.87060546875
],
[
0.1502685546875,
0.87158203125,
0.486083984375,
0.87158203125,
0.486083984375,
0.8818359375,
0.1502685546875,
0.8818359375
],
[
0.51123046875,
0.869140625,
0.72705078125,
0.869140625,
0.72705078125,
0.8828125,
0.51123046875,
0.8828125
],
[
0.1351318359375,
0.87353515625,
0.151123046875,
0.87353515625,
0.151123046875,
0.87744140625,
0.1351318359375,
0.87744140625
],
[
0.124267578125,
0.87353515625,
0.133544921875,
0.87353515625,
0.133544921875,
0.876953125,
0.124267578125,
0.876953125
],
[
0.1175537109375,
0.88134765625,
0.2359619140625,
0.8828125,
0.2359619140625,
0.89453125,
0.1175537109375,
0.892578125
],
[
0.14111328125,
0.89453125,
0.476806640625,
0.89453125,
0.476806640625,
0.90771484375,
0.14111328125,
0.90771484375
],
[
0.5146484375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.5146484375,
0.90283203125
],
[
0.1175537109375,
0.90625,
0.2149658203125,
0.90771484375,
0.2149658203125,
0.91845703125,
0.1175537109375,
0.91650390625
],
[
0.51318359375,
0.90625,
0.880859375,
0.90625,
0.880859375,
0.91943359375,
0.51318359375,
0.91943359375
]
] |
[
"其中CTuEV分别是和y的族。考虑",
"",
"里,我们专注于PC领域的笔记本电脑和平板",
"图1中的示例,R(H)包括“Housekeeping",
"电脑,为此我们可以期待一组丰富多样的关键",
"was fantastic\"→\"The personnel were great\"、",
"点,讨论尺寸,易用性,设计等各个方面。最",
"\"Housekeeping was fantastic\"“Friendly service",
"终,我们为三个正面和一个负面的KPA摘要",
"all around\"、“Housekeeping was fantastic”-→",
"注释了一个KPH",
"\"Thecleaningcrewisgreat”等关系",
"我们选择了更一般的图结构的分层表示,因",
"4.2 KPHAnnotation",
"为它导致更简单的输出,更容易使用。此外,这",
"注释KPH等复杂结构是一项具有挑战性的任",
"大大简化了注释过程。我们发现分层表示在实",
"务,因为它涉及全局,相互依存的决策。此外,",
"践中效果很好,因为我们数据集中的绝大多数",
"注释器需要考虑关键点之间可能存在的不同类",
"节点没有多个潜在的父级。这与以前的工作一",
"型的层次关系,正如我们在4.3节中进一步讨",
"致,这表明蕴涵图倾向于具有树状结构(Berant",
"论的那样。最后,用户评论广泛使用非正式和",
"et al., 2012)。",
"比喻性语言。例如,“The foodis outrageous!”",
"应被解释为美味的食物;“Elevatorsshouldgo",
"4",
"THINKP: A Dataset for Key Point",
"upanddown,notdiagonal”表示电梯很吓人,而",
"Hierarchies",
"“Internetwasajoketogettowork”表示WiFi信",
"在本节中,我们将介绍THINKP,这是关键点",
"号不佳",
"为了克服这些挑战并获得高质量的数据集,",
"层次结构的基准数据集。为了构建THINKP,",
"我们首先将关键点分析应用于来自多个领域的",
"三个注释者分别为每个KPA摘要构建了一个",
"KPH(g4.2.1);然后,注释者开会解决他们的",
"企业和产品的评论(g4.1)。然后从为每个业务",
"或产品提取的关键点集手动构建KPH(g4.2)。",
"分歧并达成合并的KPH(g4.2.2)",
"我们提供有关结果数据集的统计信息,以及对",
"4.2.1Creating an Initial KPH",
"其包含的推论类型的定性分析E(g4.3)",
"为了构建初始KPH,根据匹配句子的数量,以",
"4.1Key Point Set Generation",
"降序顺序向注释者显示关键点。对于每个关",
"键点,他们首先决定它是否传达了与以前看到",
"创建数据集的第一步是对选定业务和产品的评",
"的任何关键点相同的想法,在这种情况下,它",
"论运行KPA。我们的实现遵循(Bar-Haim etal.",
"被添加到现有的集群中。如果没有,则将一个",
"2021),他建议使用KPA的几个扩展来分析业",
"新节点添加到KPH中,注释器将其拖动到层",
"务评论。2对于每个业务,将创建正面和负面",
"次结构中的正确位置。由于具有许多匹配项",
"关键点的两个单独摘要",
"的关键点往往更通用,因此关键点排序有助于",
"为了获得多样化的数据集,我们考虑了来自",
"KPH的自上而下构建。在注释过程中的任何时",
"两个数据源的三个不同域:",
"候,注释者都可以完整地查看到目前为止构建",
"Yelp.此数据集包括7M个书面业务评论,",
"的KPH,并且可以通过修改以前的决策来调整",
"其中每个业务都可以按不同的粒度级别分为多",
"它,包括聚类和层次关系。每个KPH由三位",
"个类别。我们将KPA应用于至少包括以下类",
"作者分别注释,每个注释者大约需要一个小时",
"别之一的企业样本:RESTAURANTS,HOTELS",
"才能完成。我们的注释指南详见附录A.1",
"和ART&ENTERTAINMENT,并且至少有1,000",
"由于关键点是自动提取的,因此其中一些",
"条评论。对于KPH注释,我们选择了四家餐",
"不满足关键点的所需属性-简洁且自包含的句",
"厅(我们称为RESTAURANTS域)和四家归类",
"子或短语,讨论具有某种极性的单个点E(Bar",
"为ART&ENTERTAINMENT的企业,其中三家",
"Haimetal.,2021)。为了避免THINKP中的噪",
"是酒店(以下简称为酒店&娱乐域或HOTELS",
"声,注释者可以将这些坏的关键点标记为从最",
")。每个域包括两个正面和两个负面的KPA摘",
"终KPH中删除的候选者",
"要。",
"作为我们的注释工具,我们使用了CoRefiE",
"(Bornsteinetal.,2020),这是一个用于跨文档",
"Amazon3,此数据集包含Amazon.com中",
"共引l用注释的接口:带有Cattanetal.(2021)的",
"各种领域的大量产品的130M客户评论。在这",
"扩展,用于注释集群森林,我们将其用于处理",
"2Specifically, our implementation follows their RKPA-FT",
"关键点(请参阅附录EA.2)",
"configuration, except that we extract the key points for each",
"ess independently,and allow each sentencetomatch",
"4.2.2KPH Consolidation",
"Sin",
"11",
"multiplekeypoints",
"https://s3.amazonaws.com/amazon-reviews-pds/",
"为了获得最终的KPH,三个注释者会面讨论并",
"tsv/index.txt",
"解决各自KPH注释中的差异。这是一个复杂"
] |
{
"arxiv_id": "2306.03853",
"language": "zh",
"page_idx": 3
}
|
||
2306.03853-zh-4
|
2306.03853-zh-4.jpg
|
<table>
<tbody>
<tr>
<th> </th>
<th>$REST$</th>
<th>HoTEL</th>
<th>$PC$</th>
<th>Total</th>
</tr>
<tr>
<td>$\#$KPHs</td>
<td>4</td>
<td>4</td>
<td>4</td>
<td>12</td>
</tr>
<tr>
<td>井 Key points</td>
<td>181</td>
<td>208</td>
<td>128</td>
<td>517</td>
</tr>
<tr>
<td>FilteredKPs $\#$I</td>
<td>21</td>
<td>17</td>
<td>48</td>
<td>86</td>
</tr>
<tr>
<td>$\#\mathcal{R}(H)$</td>
<td>850</td>
<td>302</td>
<td>266</td>
<td>1,418</td>
</tr>
</tbody>
</table>
Table 1: Statistics of THINKP. $\mathcal{R}(H)$ is the set of key point relations that can be derived from a KPH $H$ (ğ 3 ).
的过程,因为两个群集及其之间的关系可能不同。因此,我们将整合过程分为两个后续阶段: 集群和层次结构
在第一阶段,在 CoRefi$\underline{\mathrm{E}}$(Bornstein et al., 2020) 中的审阅者模式之后,注释者一次显示一个关键点,其原始聚类决策。Incaseofdis修改为包括完全相同的节点。在第二阶段,由于每个关键点都有一个父级,因此我们可以通过比较不同注释者中每个节点的父级来轻松识别剩余的分歧。为了支持此整合阶段,我们增强了 CoRefi, 使其能够识别和突出显示任意数量的注释者之间的聚类和层次结构不一致(有关更多详细信息,请参见附录 A.3 )
由于 KPH 的层次结构,合并多个注释也很
有效,每个 KPH 大约需要一个小时
## 4.2.3 Dataset Quality Assessment
为了验证结果数据集的质量,我们要求另外两个注释器注释和合并 THINKP 的一部分(3 个RESTAURANTS 、2个 HOTEL 和 2个 PC )。4然后,我们根据我们的合并注释评估了他们的个人和合并的 KPH, 如下所示。在每个域中, 我们比较了两组带注释的 KPH, 方法是将每个组中的 KPH 诱导的 KP 关系合并 (方程式$\overline{\mathrm{E}}$1 ),并在两组结果关系上计算 F1 得分。最终的F1 是通过对三个域进行宏观平均而获得的
合并后注释器的性能达到 0 的 F1。756, 表示基本同意。$^{5}$此外,合并显示可将个人绩效提高 5-6 点
# 4.3 Dataset Properties
表 1显示了 THINKP 数据集的一些统计信息。总体而言,THINKP 包括总共 24,430 个关键点对中的 12个 KPH, 517 个关键点和 1,418 个关键点关系($\mathcal{R}(H)$)。由于其大小,我们没有将 THINKP 拆分为开发集和测试集,而是使用
${}^{4}$See Appendix A.4 for more details about annotators
training.
$^{5}$We do not report Kappa because decisions are mutually
dependent.
整个数据集进行评估。如$\overline{\mathrm{E}}4.2.1$ 节中所述,在注释期间,我们过滤了相对较少的关键点(14个$\mathscr{O}_0)$, 大部分来自 PC 域。这主要是因为我们使用的关键点质量模型没有在这个领域上训练
从定性的角度来看,THINKP 具有几个吸引人的属性,使其成为 NLI 的有价值的基准。首先,回想一下,KPA 算法旨在删除相似的关键点,以避免摘要中的冗余$\overline{\mathrm{E}}($Bar-Haim et al., 2020b)。因此,THINKP 中剩余的等效关键点大多是非平凡的释义,难以检测(例如。g。“Took forever to get our room” ' ' Lines to check in are ridiculous")。此外,关键点之间的层次关系代表了不同类型的推论。表$\overline{\mathrm{E}}$2 显示了我们通过分析数据集中的样本观察到的常见关系的一些示例。最后,THINKP 包含来自现实世界数据的自然发生的文本和关系
agree, theannotatorsdiscussedandreachedajointdecision$\mathbf{5^\mathrm{whi}} \mathbf{A} ^\mathrm{hatomatic}\mathbf{k} \mathbf{P} \mathbf{P} \mathbf{P} ^\mathrm{difiedtheiroginalKP}$Haccordingly。在 此 阶 段 结 束 时 , 每 个 注 释 器 的 初 始 KPH 被
我们使用两步方法从一组关键点自动构建KPH。在第一步中,我们预测所有关键点对之间的方向分数(ğ5.1)。在第二步中,我们根据本地分数$\mathbb{E}($ğ 5.2)构建层次结构
5.1 Scoring Pairwise Key Point Relations
给定一对关键点$(i,j)$ ,我们旨在通过计算分数可能性$s(i,j)\in[0,1]$来预测$i$和$j$之间是否存在方向关系$i\to j$ 。我们尝试了现有的基线和为此任务开发的新方法。由于 THINKP 的大小,它没有用于微调评分模型 (ğ 4.3 )
Baselines. 确定两个关键点之间的方向关系与两个现有任务密切相关:文本结尾,也称为自然语言推理(NLI) (Dagan et al.,2007) 和将参数匹配到关键点$\overline{\mathrm{E}}$(Bar-Haim et al., 2020a) 。因此,我们实现了两个基线:(1)NLI,在MNLI 数据集$\overline{\mathrm{E}}($Williams et al., 2018) 上微调的RoBERTa 模型$\overline{\mathrm{E}}$(Liu et al.,2019),以预测 $i$ 是否需要$\underline{j}^6$,以及(2)KPA\_Match,在 ArgKP 数据集$\overline{\mathbb{E}}($Bar-Haim et al., 2020a) 实现上训练的RoBERTA 模 型
Directional Distributional Similarity. Geffet and Dagan (2005)引人了词汇蕴涵$\overline{\mathrm{E}}($Geffet and Dagan, 2004) 的分布包含假设,这表明围绕蕴涵词$w_1$的上下文自然也会与蕴涵词$w_2$一起出现。具体来说,对于每个单词$w$ ,他们构建了一个稀疏特征向量,其中第 i 条目的值是带有$w$的字典中第 i 个单词的 PMI。已经提出了许多分布相似性度量,以根据它们的分布特征向量来预测一对单词之间的方向关系,例如同义词。这些方法包括 WeedsPrec$\underline{\mathrm{E}}($Weeds and
$^{6}$https://huggingface.co/roberta-large-mnli
|
[
[
0.264404296875,
0.0885009765625,
0.310546875,
0.0885009765625,
0.310546875,
0.10272216796875,
0.264404296875,
0.10272216796875
],
[
0.32080078125,
0.0885009765625,
0.378662109375,
0.0885009765625,
0.378662109375,
0.10272216796875,
0.32080078125,
0.10272216796875
],
[
0.39208984375,
0.08905029296875,
0.42236328125,
0.08905029296875,
0.42236328125,
0.1015625,
0.39208984375,
0.1015625
],
[
0.4375,
0.08905029296875,
0.478515625,
0.08905029296875,
0.478515625,
0.10272216796875,
0.4375,
0.10272216796875
],
[
0.51123046875,
0.08489990234375,
0.880859375,
0.08612060546875,
0.880859375,
0.1009521484375,
0.51123046875,
0.09979248046875
],
[
0.1292724609375,
0.105712890625,
0.187255859375,
0.10809326171875,
0.185546875,
0.12353515625,
0.1275634765625,
0.1217041015625
],
[
0.27783203125,
0.10809326171875,
0.295654296875,
0.10809326171875,
0.295654296875,
0.122314453125,
0.27783203125,
0.122314453125
],
[
0.340087890625,
0.10809326171875,
0.358642578125,
0.10809326171875,
0.358642578125,
0.122314453125,
0.340087890625,
0.122314453125
],
[
0.397216796875,
0.10809326171875,
0.41650390625,
0.10809326171875,
0.41650390625,
0.122314453125,
0.397216796875,
0.122314453125
],
[
0.444091796875,
0.10809326171875,
0.468505859375,
0.10809326171875,
0.468505859375,
0.122314453125,
0.444091796875,
0.122314453125
],
[
0.51123046875,
0.10272216796875,
0.87890625,
0.10272216796875,
0.87890625,
0.11639404296875,
0.51123046875,
0.11639404296875
],
[
0.334228515625,
0.12353515625,
0.365234375,
0.12353515625,
0.365234375,
0.1383056640625,
0.334228515625,
0.1383056640625
],
[
0.39208984375,
0.12353515625,
0.420654296875,
0.12353515625,
0.420654296875,
0.13720703125,
0.39208984375,
0.13720703125
],
[
0.5146484375,
0.1181640625,
0.880859375,
0.1181640625,
0.880859375,
0.1318359375,
0.5146484375,
0.1318359375
],
[
0.1292724609375,
0.12469482421875,
0.2216796875,
0.12469482421875,
0.2216796875,
0.1395263671875,
0.1292724609375,
0.1395263671875
],
[
0.274658203125,
0.12469482421875,
0.300537109375,
0.12469482421875,
0.300537109375,
0.1383056640625,
0.274658203125,
0.1383056640625
],
[
0.441650390625,
0.12469482421875,
0.47021484375,
0.12469482421875,
0.47021484375,
0.1383056640625,
0.441650390625,
0.1383056640625
],
[
0.3955078125,
0.13720703125,
0.4189453125,
0.1395263671875,
0.418212890625,
0.15380859375,
0.393798828125,
0.1519775390625
],
[
0.5146484375,
0.1353759765625,
0.880859375,
0.1353759765625,
0.880859375,
0.1484375,
0.5146484375,
0.1484375
],
[
0.337646484375,
0.1395263671875,
0.361083984375,
0.1395263671875,
0.361083984375,
0.152587890625,
0.337646484375,
0.152587890625
],
[
0.274658203125,
0.1395263671875,
0.297119140625,
0.1395263671875,
0.297119140625,
0.152587890625,
0.274658203125,
0.152587890625
],
[
0.443359375,
0.1395263671875,
0.466796875,
0.1395263671875,
0.466796875,
0.152587890625,
0.443359375,
0.152587890625
],
[
0.5322265625,
0.15087890625,
0.87744140625,
0.15087890625,
0.87744140625,
0.1650390625,
0.5322265625,
0.1650390625
],
[
0.130126953125,
0.14013671875,
0.231689453125,
0.14013671875,
0.231689453125,
0.1519775390625,
0.130126953125,
0.1519775390625
],
[
0.1292724609375,
0.15380859375,
0.189697265625,
0.15380859375,
0.189697265625,
0.168701171875,
0.1292724609375,
0.168701171875
],
[
0.273681640625,
0.15380859375,
0.301513671875,
0.15380859375,
0.301513671875,
0.166259765625,
0.273681640625,
0.166259765625
],
[
0.334228515625,
0.15380859375,
0.364501953125,
0.15380859375,
0.364501953125,
0.166259765625,
0.334228515625,
0.166259765625
],
[
0.39208984375,
0.155029296875,
0.424072265625,
0.155029296875,
0.424072265625,
0.16748046875,
0.39208984375,
0.16748046875
],
[
0.432373046875,
0.15380859375,
0.478515625,
0.15380859375,
0.478515625,
0.168701171875,
0.432373046875,
0.168701171875
],
[
0.51708984375,
0.16748046875,
0.87890625,
0.16748046875,
0.87890625,
0.18115234375,
0.51708984375,
0.18115234375
],
[
0.1158447265625,
0.1817626953125,
0.486083984375,
0.182861328125,
0.486083984375,
0.19775390625,
0.1158447265625,
0.196533203125
],
[
0.51318359375,
0.1817626953125,
0.87890625,
0.1817626953125,
0.87890625,
0.1953125,
0.51318359375,
0.1953125
],
[
0.1158447265625,
0.19775390625,
0.48779296875,
0.196533203125,
0.48779296875,
0.21142578125,
0.1158447265625,
0.2120361328125
],
[
0.5146484375,
0.1995849609375,
0.880859375,
0.1995849609375,
0.880859375,
0.213134765625,
0.5146484375,
0.213134765625
],
[
0.1175537109375,
0.21435546875,
0.130126953125,
0.21435546875,
0.130126953125,
0.2244873046875,
0.1175537109375,
0.2244873046875
],
[
0.51318359375,
0.215576171875,
0.880859375,
0.215576171875,
0.880859375,
0.2286376953125,
0.51318359375,
0.2286376953125
],
[
0.51123046875,
0.2298583984375,
0.880859375,
0.232177734375,
0.880859375,
0.2464599609375,
0.51123046875,
0.24462890625
],
[
0.118408203125,
0.2529296875,
0.486083984375,
0.2529296875,
0.486083984375,
0.2666015625,
0.118408203125,
0.2666015625
],
[
0.50732421875,
0.2476806640625,
0.8818359375,
0.2476806640625,
0.8818359375,
0.26123046875,
0.50732421875,
0.26123046875
],
[
0.51123046875,
0.262451171875,
0.880859375,
0.26318359375,
0.880859375,
0.27783203125,
0.51123046875,
0.276611328125
],
[
0.118408203125,
0.268310546875,
0.48779296875,
0.268310546875,
0.48779296875,
0.281982421875,
0.118408203125,
0.281982421875
],
[
0.118408203125,
0.28515625,
0.2476806640625,
0.28515625,
0.2476806640625,
0.298583984375,
0.118408203125,
0.298583984375
],
[
0.5146484375,
0.27978515625,
0.880859375,
0.27978515625,
0.880859375,
0.29345703125,
0.5146484375,
0.29345703125
],
[
0.51318359375,
0.29443359375,
0.87744140625,
0.29443359375,
0.87744140625,
0.30810546875,
0.51318359375,
0.30810546875
],
[
0.133544921875,
0.300537109375,
0.484375,
0.2998046875,
0.484375,
0.314208984375,
0.133544921875,
0.3154296875
],
[
0.51123046875,
0.31005859375,
0.880859375,
0.311279296875,
0.880859375,
0.325927734375,
0.51123046875,
0.32470703125
],
[
0.118408203125,
0.317626953125,
0.484375,
0.317626953125,
0.484375,
0.330810546875,
0.118408203125,
0.330810546875
],
[
0.51123046875,
0.32666015625,
0.77099609375,
0.327880859375,
0.77099609375,
0.342529296875,
0.51123046875,
0.341552734375
],
[
0.1259765625,
0.333251953125,
0.489501953125,
0.333251953125,
0.489501953125,
0.3466796875,
0.1259765625,
0.3466796875
],
[
0.11419677734375,
0.3466796875,
0.95458984375,
0.347412109375,
0.95458984375,
0.369384765625,
0.11419677734375,
0.3681640625
],
[
0.118408203125,
0.365234375,
0.486083984375,
0.365234375,
0.486083984375,
0.37890625,
0.118408203125,
0.37890625
],
[
0.118408203125,
0.3818359375,
0.48779296875,
0.3818359375,
0.48779296875,
0.3955078125,
0.118408203125,
0.3955078125
],
[
0.51123046875,
0.38134765625,
0.87890625,
0.38134765625,
0.87890625,
0.394287109375,
0.51123046875,
0.394287109375
],
[
0.12005615234375,
0.3984375,
0.484375,
0.3984375,
0.484375,
0.412109375,
0.12005615234375,
0.412109375
],
[
0.509765625,
0.396728515625,
0.87890625,
0.39794921875,
0.87890625,
0.410888671875,
0.509765625,
0.410400390625
],
[
0.118408203125,
0.41455078125,
0.48779296875,
0.41455078125,
0.48779296875,
0.427490234375,
0.118408203125,
0.427490234375
],
[
0.51123046875,
0.41455078125,
0.880859375,
0.41455078125,
0.880859375,
0.427490234375,
0.51123046875,
0.427490234375
],
[
0.118408203125,
0.429931640625,
0.486083984375,
0.429931640625,
0.486083984375,
0.443603515625,
0.118408203125,
0.443603515625
],
[
0.51123046875,
0.429931640625,
0.8037109375,
0.429931640625,
0.8037109375,
0.443603515625,
0.51123046875,
0.443603515625
],
[
0.118408203125,
0.4453125,
0.484375,
0.4453125,
0.484375,
0.458984375,
0.118408203125,
0.458984375
],
[
0.51318359375,
0.457763671875,
0.5615234375,
0.457763671875,
0.5615234375,
0.4697265625,
0.51318359375,
0.4697265625
],
[
0.55517578125,
0.457275390625,
0.8505859375,
0.457275390625,
0.8505859375,
0.47021484375,
0.55517578125,
0.47021484375
],
[
0.118408203125,
0.47802734375,
0.405517578125,
0.47802734375,
0.405517578125,
0.4912109375,
0.118408203125,
0.4912109375
],
[
0.12005615234375,
0.4619140625,
0.484375,
0.4619140625,
0.484375,
0.4755859375,
0.12005615234375,
0.4755859375
],
[
0.51123046875,
0.47802734375,
0.87744140625,
0.47802734375,
0.87744140625,
0.4912109375,
0.51123046875,
0.4912109375
],
[
0.1368408203125,
0.49462890625,
0.48779296875,
0.49462890625,
0.48779296875,
0.50830078125,
0.1368408203125,
0.50830078125
],
[
0.51318359375,
0.49462890625,
0.880859375,
0.49462890625,
0.880859375,
0.50830078125,
0.51318359375,
0.50830078125
],
[
0.118408203125,
0.51123046875,
0.403076171875,
0.51123046875,
0.403076171875,
0.52490234375,
0.118408203125,
0.52490234375
],
[
0.5146484375,
0.5126953125,
0.87890625,
0.5126953125,
0.87890625,
0.5224609375,
0.5146484375,
0.5224609375
],
[
0.51318359375,
0.525390625,
0.880859375,
0.52490234375,
0.880859375,
0.5390625,
0.51318359375,
0.54052734375
],
[
0.1158447265625,
0.53369140625,
0.3955078125,
0.53515625,
0.3955078125,
0.5498046875,
0.1158447265625,
0.548828125
],
[
0.5146484375,
0.5419921875,
0.81005859375,
0.5419921875,
0.81005859375,
0.5556640625,
0.5146484375,
0.5556640625
],
[
0.118408203125,
0.5546875,
0.484375,
0.5546875,
0.484375,
0.568359375,
0.118408203125,
0.568359375
],
[
0.1175537109375,
0.57080078125,
0.483642578125,
0.57080078125,
0.483642578125,
0.58447265625,
0.1175537109375,
0.58447265625
],
[
0.5283203125,
0.56640625,
0.880859375,
0.56787109375,
0.880859375,
0.58203125,
0.5283203125,
0.58056640625
],
[
0.118408203125,
0.58740234375,
0.470947265625,
0.58740234375,
0.470947265625,
0.60107421875,
0.118408203125,
0.60107421875
],
[
0.466796875,
0.5888671875,
0.483642578125,
0.5888671875,
0.483642578125,
0.59326171875,
0.466796875,
0.59326171875
],
[
0.5146484375,
0.58447265625,
0.880859375,
0.58447265625,
0.880859375,
0.59716796875,
0.5146484375,
0.59716796875
],
[
0.1175537109375,
0.6015625,
0.483642578125,
0.6015625,
0.483642578125,
0.615234375,
0.1175537109375,
0.615234375
],
[
0.51318359375,
0.5986328125,
0.87744140625,
0.5986328125,
0.87744140625,
0.6123046875,
0.51318359375,
0.6123046875
],
[
0.118408203125,
0.619140625,
0.484375,
0.619140625,
0.484375,
0.6328125,
0.118408203125,
0.6328125
],
[
0.51123046875,
0.615234375,
0.880859375,
0.6162109375,
0.880859375,
0.6298828125,
0.51123046875,
0.62890625
],
[
0.118408203125,
0.6357421875,
0.483642578125,
0.6357421875,
0.483642578125,
0.6494140625,
0.118408203125,
0.6494140625
],
[
0.51904296875,
0.6357421875,
0.52880859375,
0.6357421875,
0.52880859375,
0.64013671875,
0.51904296875,
0.64013671875
],
[
0.52294921875,
0.63134765625,
0.880859375,
0.63134765625,
0.880859375,
0.64453125,
0.52294921875,
0.64453125
],
[
0.118408203125,
0.65185546875,
0.484375,
0.65185546875,
0.484375,
0.6650390625,
0.118408203125,
0.6650390625
],
[
0.51318359375,
0.64794921875,
0.880859375,
0.64794921875,
0.880859375,
0.6611328125,
0.51318359375,
0.6611328125
],
[
0.51123046875,
0.662109375,
0.880859375,
0.6630859375,
0.880859375,
0.677734375,
0.51123046875,
0.6767578125
],
[
0.118408203125,
0.66845703125,
0.486083984375,
0.66845703125,
0.486083984375,
0.681640625,
0.118408203125,
0.681640625
],
[
0.1158447265625,
0.68310546875,
0.453369140625,
0.68408203125,
0.453369140625,
0.69775390625,
0.1158447265625,
0.69677734375
],
[
0.51318359375,
0.6787109375,
0.880859375,
0.6787109375,
0.880859375,
0.6923828125,
0.51318359375,
0.6923828125
],
[
0.51123046875,
0.69482421875,
0.880859375,
0.6953125,
0.880859375,
0.71044921875,
0.51123046875,
0.708984375
],
[
0.1376953125,
0.70068359375,
0.48779296875,
0.70068359375,
0.48779296875,
0.71435546875,
0.1376953125,
0.71435546875
],
[
0.118408203125,
0.71630859375,
0.48779296875,
0.71630859375,
0.48779296875,
0.72998046875,
0.118408203125,
0.72998046875
],
[
0.51123046875,
0.7119140625,
0.6337890625,
0.7119140625,
0.6337890625,
0.7255859375,
0.51123046875,
0.7255859375
],
[
0.1175537109375,
0.732421875,
0.2091064453125,
0.732421875,
0.2091064453125,
0.74658203125,
0.1175537109375,
0.74658203125
],
[
0.53076171875,
0.73681640625,
0.8310546875,
0.73681640625,
0.8310546875,
0.75048828125,
0.53076171875,
0.75048828125
],
[
0.82373046875,
0.7392578125,
0.87890625,
0.7392578125,
0.87890625,
0.75,
0.82373046875,
0.75
],
[
0.51318359375,
0.7529296875,
0.87890625,
0.7529296875,
0.87890625,
0.7666015625,
0.51318359375,
0.7666015625
],
[
0.1175537109375,
0.7587890625,
0.30908203125,
0.7587890625,
0.30908203125,
0.7724609375,
0.1175537109375,
0.7724609375
],
[
0.51123046875,
0.7685546875,
0.87890625,
0.7685546875,
0.87890625,
0.7822265625,
0.51123046875,
0.7822265625
],
[
0.118408203125,
0.78076171875,
0.489501953125,
0.78076171875,
0.489501953125,
0.79443359375,
0.118408203125,
0.79443359375
],
[
0.51318359375,
0.7861328125,
0.880859375,
0.7861328125,
0.880859375,
0.7998046875,
0.51318359375,
0.7998046875
],
[
0.118408203125,
0.79638671875,
0.48779296875,
0.79638671875,
0.48779296875,
0.81103515625,
0.118408203125,
0.81103515625
],
[
0.51318359375,
0.8017578125,
0.880859375,
0.8017578125,
0.880859375,
0.8154296875,
0.51318359375,
0.8154296875
],
[
0.1175537109375,
0.81103515625,
0.48779296875,
0.8125,
0.48779296875,
0.82666015625,
0.1175537109375,
0.826171875
],
[
0.51318359375,
0.818359375,
0.880859375,
0.818359375,
0.880859375,
0.83203125,
0.51318359375,
0.83203125
],
[
0.12005615234375,
0.8291015625,
0.486083984375,
0.8291015625,
0.486083984375,
0.8427734375,
0.12005615234375,
0.8427734375
],
[
0.51318359375,
0.83447265625,
0.880859375,
0.83447265625,
0.880859375,
0.84716796875,
0.51318359375,
0.84716796875
],
[
0.118408203125,
0.845703125,
0.484375,
0.845703125,
0.484375,
0.859375,
0.118408203125,
0.859375
],
[
0.5146484375,
0.85107421875,
0.87890625,
0.85107421875,
0.87890625,
0.8642578125,
0.5146484375,
0.8642578125
],
[
0.139404296875,
0.8681640625,
0.484375,
0.8681640625,
0.484375,
0.8818359375,
0.139404296875,
0.8818359375
],
[
0.51318359375,
0.8662109375,
0.87744140625,
0.8662109375,
0.87744140625,
0.8798828125,
0.51318359375,
0.8798828125
],
[
0.1175537109375,
0.8798828125,
0.166259765625,
0.8818359375,
0.16455078125,
0.89453125,
0.1158447265625,
0.892578125
],
[
0.5146484375,
0.8828125,
0.880859375,
0.8828125,
0.880859375,
0.896484375,
0.5146484375,
0.896484375
],
[
0.1376953125,
0.892578125,
0.486083984375,
0.8935546875,
0.486083984375,
0.90771484375,
0.1376953125,
0.90673828125
],
[
0.118408203125,
0.90673828125,
0.1822509765625,
0.90673828125,
0.1822509765625,
0.91845703125,
0.118408203125,
0.91845703125
],
[
0.5341796875,
0.90625,
0.8505859375,
0.90625,
0.8505859375,
0.91943359375,
0.5341796875,
0.91943359375
]
] |
[
"REST",
"HOTEL",
"PC",
"Total",
"整个数据集进行评估。如E4.2.1节中所述,在",
"# KPHs",
"4",
"4",
"4",
"12",
"注释期间,我们过滤了相对较少的关键点(14",
"208",
"128",
"个%),大部分来自PC域。这主要是因为我们",
"# Key points",
"181",
"517",
"48",
"使用的关键点质量模型没有在这个领域上训练",
"17",
"21",
"86",
"从定性的角度来看,THINKP具有几个吸引",
"#FilteredKPs",
"#R(H)",
"850",
"302",
"266",
"1,418",
"人的属性,使其成为NLI的有价值的基准。首",
"Table 1: Statistics of THINKP . R(H) is the set of key",
"先,回想一下,KPA算法旨在删除相似的关",
"point relations that can be derived from a KPH H (g 3",
"键点,以避免摘要中的允余E(Bar-Haimetal.,",
").",
"2020b)。因此,THINKP中剩余的等效关键点",
"大多是非平凡的释义,难以检测(例如。g。",
"的过程,因为两个群集及其之间的关系可能不",
"\"Took forever to get our room\"\"Lines to check",
"inareridiculous”)。此外,关键点之间的层次",
"同。因此,我们将整合过程分为两个后续阶段:",
"集群和层次结构",
"关系代表了不同类型的推论。表E2显示了我",
"们通过分析数据集中的样本观察到的常见关系",
"在第一阶段,在CoRefiE(Bornsteinetal.,",
"的一些示例。最后,THINKP包含来自现实世",
"2020)中的审阅者模式之后,注释者一次显示",
"界数据的自然发生的文本和关系",
"个关键点,其原始聚类决策。Incaseofdis-",
"agree,theannotatorsdiscussedandreachedajointdecisiongwhishamatipdeheiriinalKPHaccordingly",
"在此阶段结束时,每个注释器的初始KPH被",
"修改为包括完全相同的节点。在第二阶段,由",
"我们使用两步方法从一组关键点自动构建",
"于每个关键点都有一个父级,因此我们可以通",
"KPH。在第一步中,我们预测所有关键点对",
"过比较不同注释者中每个节点的父级来轻松识",
"之间的方向分数(g5.1)。在第二步中,我们根",
"别剩余的分歧。为了支持此整合阶段,我们增",
"据本地分数E(g5.2)构建层次结构",
"强了CoRefi,使其能够识别和突出显示任意数",
"5.1",
"Scoring Pairwise Key Point Relations",
"关更多详细信息,请参见附录A.3)",
"量的注释者之间的聚类和层次结构不一致(有",
"给定一对关键点(i,),我们旨在通过计算分",
"由于KPH的层次结构,合并多个注释也很",
"数可能性s(i,j)E[0,1]来预测i和j之间是否",
"有效,每个KPH大约需要一个小时",
"存在方向关系一。我们尝试了现有的基线",
"和为此任务开发的新方法。由于THINKP的大",
"4.2.3Dataset Quality Assessment",
"小,它没有用于微调评分模型(g4.3)",
"为了验证结果数据集的质量,我们要求另外两",
"个注释器注释和合并THINKP的一部分(3个",
"Baselines.确定两个关键点之间的方向关",
"RESTAURANTS、2个HOTEL和2个PC)。",
"4",
"系与两个现有任务密切相关:文本结尾,也称",
"然后,我们根据我们的合并注释评估了他们的",
"为自然语言推理(NLI)(Daganetal.,2007)和",
"个人和合并的KPH,如下所示。在每个域中,",
"将参数匹配到关键点E(Bar-Haimetal.,2020a)",
"我们比较了两组带注释的KPH,方法是将每个",
"",
"因此,我们实现了两个基线:(1)NLI,在",
"组中的KPH诱导的KP关系合并(方程式E1",
"MNLI数据集E(Williamsetal.,2018)上微调的",
"RoBERTa模型E(Liuetal.,2019),以预测i是",
"),并在两组结果关系上计算F1得分。最终的",
"F1是通过对三个域进行宏观平均而获得的",
"否需要j6,以及(2)KPAMatch,在ArgKP",
"数据集E(Bar-Haimetal.,2020a)实现上训练的",
"合并后注释器的性能达到0的F1。756,表",
"示基本同意。5此外,合并显示可将个人绩效",
"RoBERTA模型",
"提高5-6点",
"Directional Distributional Similarity.",
"Geffet",
"andDagan(2005)引人了词汇蕴涵E(Geffetand",
"4.3DatasetProperties",
"Dagan,2004)的分布包含假设,这表明围绕蕴",
"表1显示了THINKP数据集的一些统计信息。",
"涵词wi的上下文自然也会与蕴涵词W2一起",
"总体而言,THINKP包括总共24,430个关键点",
"出现。具体来说,对于每个单词w,他们构",
"对中的12个KPH,517个关键点和1,418个关",
"建了一个稀疏特征向量,其中第i条目的值是",
"键点关系(R(H))。由于其大小,我们没有",
"带有w的字典中第i个单词的PMI。已经提出",
"将THINKP拆分为开发集和测试集,而是使用",
"了许多分布相似性度量,以根据它们的分布特",
"4See Appendix A.4 for more details about annotators",
"征向量来预测一对单词之间的方向关系,例如",
"training",
"同义词。这些方法包括WeedsPrecE(Weedsand",
"5we do not report Kappa because decisions are mutually",
"dependent",
"\"https://huggingface.co/roberta-large-mnli"
] |
{
"arxiv_id": "2306.03853",
"language": "zh",
"page_idx": 4
}
|
||
2307.09613-zh-0
|
2307.09613-zh-0.jpg
|
# Retrieving Continuous Time Event Sequences using Neural Temporal Point Processes with Learnable Hashing
VINAYAK GUPTA, University of Washington Seattle, United States
SRIKANTA BEDATHUR, Indian Institute of Technology Delhi, India
ABIR DE, Indian Institute of Technology Bombay, India
Temporal sequences have become pervasive in various real-world applications such as finance, spatial mobility, health records, etc. Consequently, the volume of data generated in the form of continuous time-event sequence(s) or CTES(s) has increased exponentially in the past few years. Thus, a significant fraction of the ongoing research on CTES datasets involves designing models to address downstream tasks such as nextevent prediction, long-term forecasting, sequence classification $etc.$ The recent developments in predictive modeling using marked temporal point processes (MTPP) have enabled an accurate characterization of several real-world applications involving the CTESs. However, due to the complex nature of these CTES datasets, the task of large-scale retrieval of temporal sequences has been overlooked by the past literature. In detail, by CTES retrieval we mean that for an input query sequence, a retrieval system must return a ranked list of relevant sequences from a large corpus. To tackle this, we propose NEURoSEQRET, a first-of-its-kind framework designed specifically for end-to-end CTES retrieval. Specifically, NEURoSEQRET introduces multiple enhancements over standard retrieval frameworks and first applies a trainable unwarping function on the query sequence which makes it comparable with corpus sequences, especially when a relevant query-corpus pair has individually different attributes. Next, it feeds the unwarped query sequence and the corpus sequence into MTPP-guided neural relevance models. We develop four variants of the relevance model for different kinds of applications based on the trade-off between accuracy and efficiency. We also propose an optimization framework to learn binary sequence embeddings from the relevance scores, suitable for the locality-sensitive hashing leading to a significant speedup in returning top-K results for a given query sequence. Our experiments with several datasets show the significant accuracy boost of NEunoSEQRET beyond several baselines, as well as the efficacy of our hashing mechanism.
CCS Concepts: ·Information systems $\to$Data stream mining.
Additional Key Words and Phrases: Marked Temporal Point Processes, Sequence Retrieval, Learnable Hashing
ACM Reference Format:
Vinayak Gupta, Srikanta Bedathur, and Abir De. 2023. Retrieving Continuous Time Event Sequences using Neural Temporal Point Processes with Learnable Hashing. ACM Trans.Intell. Syst. Technol.1, 1, Article 1 (July 2023), 20 pages. https://doi.org/10.1145/1122445.1122456
# 1 INTRODUCTION
标记时间点过程 (MTPP) 的最新发展通过使用连续时间事件序列 (CTES)对其进行表征,极大地改善了从社交网络中的信息传播到医疗保健等多个实际应用中的预测分析区"This is a substantially refined and expanded version of Gupta et al.[18] that appeared in the Proc. of AAAI 2022
Authors’addresses: Vinayak Gupta, University of Washington Seattle, Seattle, Washington, United States, vinayak@cs washington.edu; Srikanta Bedathur, Indian Institute of Technology Delhi, New Delhi, India, srikanta@cse.iitd.ac.in; Abir De, Indian Institute of Technology Bombay, Mumbai, Maharashtra, India, abir@cse.iitb.ac.in.
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org
$\odot$ 2023 Association for Computing Machinery.
2157-6904/2023/7-ART1 $15.00
https://doi.org/10.1145/1122445.1122456
ACM Trans. Intell. Syst. Technol., Vol. 1, No. 1, Article 1. Publication date: July 2023
|
[
[
0.1029052734375,
0.11663818359375,
0.89306640625,
0.11663818359375,
0.89306640625,
0.134033203125,
0.1029052734375,
0.134033203125
],
[
0.09466552734375,
0.1402587890625,
0.76318359375,
0.1402587890625,
0.76318359375,
0.1583251953125,
0.09466552734375,
0.1583251953125
],
[
0.091552734375,
0.1729736328125,
0.62744140625,
0.1756591796875,
0.62744140625,
0.1923828125,
0.091552734375,
0.1895751953125
],
[
0.0936279296875,
0.1937255859375,
0.64501953125,
0.1937255859375,
0.64501953125,
0.2083740234375,
0.0936279296875,
0.2083740234375
],
[
0.091552734375,
0.21044921875,
0.52880859375,
0.2110595703125,
0.52880859375,
0.2257080078125,
0.091552734375,
0.2249755859375
],
[
0.0936279296875,
0.237548828125,
0.9052734375,
0.237548828125,
0.9052734375,
0.250732421875,
0.0936279296875,
0.250732421875
],
[
0.0936279296875,
0.254150390625,
0.9052734375,
0.254150390625,
0.9052734375,
0.2646484375,
0.0936279296875,
0.2646484375
],
[
0.091552734375,
0.267333984375,
0.9072265625,
0.267333984375,
0.9072265625,
0.28125,
0.091552734375,
0.28125
],
[
0.09466552734375,
0.283935546875,
0.9052734375,
0.283935546875,
0.9052734375,
0.29443359375,
0.09466552734375,
0.29443359375
],
[
0.091552734375,
0.2978515625,
0.9052734375,
0.2978515625,
0.9052734375,
0.31103515625,
0.091552734375,
0.31103515625
],
[
0.091552734375,
0.313232421875,
0.9072265625,
0.313232421875,
0.9072265625,
0.3271484375,
0.091552734375,
0.3271484375
],
[
0.091552734375,
0.327880859375,
0.9052734375,
0.327880859375,
0.9052734375,
0.341552734375,
0.091552734375,
0.341552734375
],
[
0.091552734375,
0.34375,
0.9052734375,
0.34375,
0.9052734375,
0.35693359375,
0.091552734375,
0.35693359375
],
[
0.09051513671875,
0.35693359375,
0.9072265625,
0.3583984375,
0.9072265625,
0.372802734375,
0.09051513671875,
0.37158203125
],
[
0.091552734375,
0.372802734375,
0.9052734375,
0.37353515625,
0.9052734375,
0.38818359375,
0.091552734375,
0.387451171875
],
[
0.091552734375,
0.3896484375,
0.9052734375,
0.3896484375,
0.9052734375,
0.40283203125,
0.091552734375,
0.40283203125
],
[
0.091552734375,
0.40478515625,
0.9072265625,
0.40478515625,
0.9072265625,
0.418701171875,
0.091552734375,
0.418701171875
],
[
0.09051513671875,
0.418701171875,
0.9052734375,
0.41943359375,
0.9052734375,
0.43408203125,
0.09051513671875,
0.433349609375
],
[
0.091552734375,
0.435302734375,
0.9052734375,
0.435302734375,
0.9052734375,
0.44873046875,
0.091552734375,
0.44873046875
],
[
0.091552734375,
0.449951171875,
0.9052734375,
0.449951171875,
0.9052734375,
0.463134765625,
0.091552734375,
0.463134765625
],
[
0.091552734375,
0.46533203125,
0.9052734375,
0.46533203125,
0.9052734375,
0.479248046875,
0.091552734375,
0.479248046875
],
[
0.091552734375,
0.47998046875,
0.9052734375,
0.47998046875,
0.9052734375,
0.494384765625,
0.091552734375,
0.494384765625
],
[
0.09051513671875,
0.49365234375,
0.9072265625,
0.495849609375,
0.9072265625,
0.51025390625,
0.09051513671875,
0.50830078125
],
[
0.091552734375,
0.51123046875,
0.9072265625,
0.51123046875,
0.9072265625,
0.52490234375,
0.091552734375,
0.52490234375
],
[
0.09051513671875,
0.52490234375,
0.47021484375,
0.52587890625,
0.47021484375,
0.5400390625,
0.09051513671875,
0.53955078125
],
[
0.09051513671875,
0.54443359375,
0.5966796875,
0.5458984375,
0.5966796875,
0.56298828125,
0.09051513671875,
0.5625
],
[
0.09051513671875,
0.5673828125,
0.9052734375,
0.56884765625,
0.9052734375,
0.58349609375,
0.09051513671875,
0.58203125
],
[
0.0936279296875,
0.59033203125,
0.301513671875,
0.59033203125,
0.301513671875,
0.60400390625,
0.0936279296875,
0.60400390625
],
[
0.0936279296875,
0.60400390625,
0.904296875,
0.60400390625,
0.904296875,
0.61865234375,
0.0936279296875,
0.61865234375
],
[
0.091552734375,
0.62158203125,
0.9052734375,
0.62158203125,
0.9052734375,
0.63525390625,
0.091552734375,
0.63525390625
],
[
0.09051513671875,
0.63525390625,
0.560546875,
0.63623046875,
0.560546875,
0.65087890625,
0.09051513671875,
0.64990234375
],
[
0.09771728515625,
0.66943359375,
0.10595703125,
0.66943359375,
0.10595703125,
0.6748046875,
0.09771728515625,
0.6748046875
],
[
0.1265869140625,
0.66455078125,
0.293212890625,
0.66455078125,
0.293212890625,
0.677734375,
0.1265869140625,
0.677734375
],
[
0.09466552734375,
0.685546875,
0.9052734375,
0.685546875,
0.9052734375,
0.7001953125,
0.09466552734375,
0.7001953125
],
[
0.09466552734375,
0.70263671875,
0.904296875,
0.70263671875,
0.904296875,
0.716796875,
0.09466552734375,
0.716796875
],
[
0.0936279296875,
0.7255859375,
0.85302734375,
0.7255859375,
0.85302734375,
0.73974609375,
0.0936279296875,
0.73974609375
],
[
0.091552734375,
0.75048828125,
0.9072265625,
0.75048828125,
0.9072265625,
0.7646484375,
0.091552734375,
0.7646484375
],
[
0.0936279296875,
0.76318359375,
0.9052734375,
0.76318359375,
0.9052734375,
0.77685546875,
0.0936279296875,
0.77685546875
],
[
0.091552734375,
0.779296875,
0.71728515625,
0.779296875,
0.71728515625,
0.79248046875,
0.091552734375,
0.79248046875
],
[
0.091552734375,
0.802734375,
0.9052734375,
0.802734375,
0.9052734375,
0.81689453125,
0.091552734375,
0.81689453125
],
[
0.091552734375,
0.81689453125,
0.9052734375,
0.81689453125,
0.9052734375,
0.830078125,
0.091552734375,
0.830078125
],
[
0.091552734375,
0.8310546875,
0.9052734375,
0.8310546875,
0.9052734375,
0.84423828125,
0.091552734375,
0.84423828125
],
[
0.0936279296875,
0.8466796875,
0.904296875,
0.8466796875,
0.904296875,
0.85693359375,
0.0936279296875,
0.85693359375
],
[
0.09051513671875,
0.85888671875,
0.68505859375,
0.85888671875,
0.68505859375,
0.873046875,
0.09051513671875,
0.873046875
],
[
0.0936279296875,
0.87353515625,
0.407470703125,
0.87353515625,
0.407470703125,
0.8876953125,
0.0936279296875,
0.8876953125
],
[
0.09466552734375,
0.89013671875,
0.29931640625,
0.89013671875,
0.29931640625,
0.89794921875,
0.09466552734375,
0.89794921875
],
[
0.091552734375,
0.90087890625,
0.362060546875,
0.90087890625,
0.362060546875,
0.91455078125,
0.091552734375,
0.91455078125
],
[
0.332275390625,
0.93408203125,
0.9052734375,
0.93408203125,
0.9052734375,
0.94775390625,
0.332275390625,
0.94775390625
]
] |
[
"RetrievingContinuous TimeEvent Sequencesusing Neural",
"Temporal Point Processes with Learnable Hashing",
"VINAYAK GUPTA, University of Washington Seattle, United States",
"SRIKANTA BEDATHUR, Indian Institute of Technology Delhi, India",
"ABIRDE, IndianInstituteof TechnologyBombay,India",
"Temporal sequences have become pervasive in various real-world applications such as finance, spatial mo",
"bility,healthrecords,etc.Consequently,thevolumeof datagenerated in theformof continuoustime-event",
"sequence(s)or CTES(s)has increased exponentially in thepast few years.Thus, a significantfraction ofthe",
"ongoingresearchonCTESdatasets involvesdesigningmodelstoaddressdownstreamtaskssuchasnext",
"event prediction, long-term forecasting,sequence classification etc.The recent developments in predictive",
"modeling using marked temporal point processes (MTPP) have enabled an accurate characterization of sev-",
"eral real-world applications involving the CTESs.However,due tothecomplex natureof these CTES datasets,",
"the task of large-scale retrieval of temporal sequences has been overlooked by the past literature. In detail,",
"by CTES retrieval we mean that for an input query sequence, a retrieval system must return a ranked list of",
"relevant sequences from a large corpus.To tackle this, we propose NEURoSEQRET,a first-of-its-kind frame",
"Workdesigned specificallyforend-to-endCTESretrieval.Specifically,NEuRoSEQRETintroducesmultiple",
"enhancements over standard retrieval frameworks and first applies a trainable unwarping function on the",
"query sequence which makes it comparable with corpus sequences, especially when a relevant query-corpus",
"pair has individually different attributes. Next, itfeeds the unwarped query sequence and the corpus sequence",
"into MTPP-guided neural relevance models. We develop four variants of the relevance model for different",
"kinds ofapplications based on the trade-off between accuracy and efficiency.We also propose an optimization",
"framework to learn binary sequence embeddings from the relevance scores, suitablefor the locality-sensitive",
"hashing leading to a significant speedup in returning top-K results for a given query sequence. Our experi-",
"ments with several datasets show the significant accuracy boost of NEuRoSEQRET beyond several baselines,",
"as well as the efficacy of our hashing mechanism.",
"CCS Concepts: · Information systems Data stream mining.",
"Additional Key Words and Phrases:Marked Temporal Point Processes,Sequence Retrieval, Learnable Hashing",
"ACMReferenceFormat:",
"Vinayak Gupta, Srikanta Bedathur, and Abir De. 2023. Retrieving Continuous Time Event Sequences using",
"Neural Temporal Point Processes with Learnable Hashing . ACM Trans. Intell. Syst. Technol. 1, 1, Article 1",
"(July2023),20pages.https:/doi.org/10.1145/1122445.1122456",
"",
"INTRODUCTION",
"标记时间点过程(MTPP)的最新发展通过使用连续时间事件序列(CTES)对其进行表",
"征,极大地改善了从社交网络中的信息传播到医疗保健等多个实际应用中的预测分析E",
"*This is a substantially refined and expanded version of Gupta et al. [18] that appeared in the Proc. of AAAI 2022.",
"Authors\"addresses: Vinayak Gupta,University of Washington Seattle, Seattle, Washington, United States, vinayak@cs.",
"washington.edu; Srikanta Bedathur, Indian Institute of Technology Delhi, New Delhi, India, srikanta@cse.itdac.in; Abir",
"De, Indian Institute of Technology Bombay, Mumbai, Maharashtra, India, abir@cse.itb.ac.in.",
"Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee",
"provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and",
"the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored.",
"Abstracting with credit ispermitted.To copy otherwise,orrepublish, to poston servers or toredistributeto lists,requires",
"prior specific permission and/or a fee.Request permissionsfrom permissions@acm.org.",
"2023Associationfor Computing Machinery.",
"2157-6904/2023/7-ART1$15.00",
"https://doi.org/10.1145/1122445.1122456",
"ACM Trans. Intell. Syst. Technol., Vol. 1, No. 1, Article 1. Publication date: July 2023."
] |
{
"arxiv_id": "2307.09613",
"language": "zh",
"page_idx": 0
}
|
||
2307.09613-zh-1
|
2307.09613-zh-1.jpg
|
1:2
Gupta et al.
[7-11,14,16,22,26,40,48,50]。尽管 MTPP 在对 CTES 数据集的动态进行建模方面表现出令人难以置信的能力,但在过去的文献中却忽略了从大量 CTES 数据语料库中检索相关序列的任务。因此,在这种情况下,给定查询序列,从序列语料库中检索相关的 CTES 是一个具有挑战性的问题,具有多种基于搜索的应用程序。例如,在音频或音乐检索中,人们可能希望搜索具有不同音频或音乐签名的序列;检索与一个病理查询 ECG 序列相关的 ECG 序列可以帮助及早发现心脏病;在社交网络中,检索与给定轨迹相关的信息扩散轨迹可以帮助进行病毒营销,假新闻检测,$etc.$尽管在过去的检索模型中已经专门针对类似的时间序列进行了丰富的文献,但尚未解决 XMATH。此外,如我们的实验所示,现有的时间序列搜索方法对于 CTES 检索任务在很大程度上是无效的,因为序列的基本表征在这两个域中有所不同。
1.1 Our Contribution
在本文中,我们首先介绍了 NEunoSeoRer , 这是一系列用于连续时间事件序列的有监督检索模型,然后开发了一种可训练的基于位置敏感哈希 (LSH)的方法,用于在非常大的数据集上进行高效检索。具体而言,我们的贡献如下:
$\textcircled{\text{uery Unwarping.两个序列之间的相关性概念因应用程序而异。相关的序列对可以共享非}}$ 常不同的单个属性,如果按原样比较序列,则可能会误导检索模型。换句话说,观察到的序列可能是隐藏序列的扭曲变换$\mathbb{E}[12,54]$。为了解决这个问题,NeunoSegRer 首先在计算相关性分数之前对查询序列应用可训练的展开函数。这样的解扭曲函数是单调变换,它确保了观察到的和未扭曲的序列中事件的时间顺序保持相同$\mathbb{E}[54]$
Neural Relevance Scoring Model.原则上,两个序列之间的相关性得分取决于它们的潜在相似性。我们通过比较查询-语料库序列对之间的生成分布来衡量这种相似性。详细地说我们将未变形的查询序列和语料库序列馈送到基于神经 MTPP 的相关性评分模型中,该模型使用两种方法计算语料库和未变形的查询序列之间的相关性得分,即(i) Fisher 内核[E] [21]和(i)基于 KL 发散度的相似性度量。我们强调,基于内核的方法比其他分布相似性度量$e$g., KL 散度或 Wasserstein 距离具有两个关键优势:(i) 它根据基础生成分布计算查询-语料库序列对之间的自然相似性得分;(ü)它计算序列对的对数似然梯度之间的点积, 这使其与某些设计选择的位置敏感哈希兼容,并促进了有效的检索。在这种情况下,我们提供了 NeunoSegRer 的两个变体,然后提出了HAsн-CROssATTN-NEUROSEQRET ,它允许在准确性和效率之间进行很好的权衡
SELFATTN-NEUROSEQRET:在这里,我们使用转换器 Hawkes 过程[E[58] ,它独立于查询序列计算语料库序列的可能性。这样的设计允许预先计算语料库似然性,这反过来又允许在观察看不见的查询之前对语料库序列进行预先索引。此设置使我们能够在经过训练的嵌人上应用对位置敏感的哈希,以进行有效的检索
CRossArrn-NEUROSEQRET:在这里,我们提出了一种新的基于交叉注意力的神经 MTPP 模型来计算序列似然。这种交叉注意机制使得语料库序列的似然性依赖于查询序列,使其成为更强大的检索模型。虽然 CRossArrw-NEUROSEQRET 与这种基于哈希的检索不直接兼容, 但它可以以伸缩方式使用-首先使用在 SELFATTN-NEUROSEQRET 之上应用的 LSH 检索较小的相关候选集,然后使用 CRossATTN-NEUROSEQRET 重新排名。因此,从设计的角度来看,这两个模型提供了准确性和效率之间的权衡
HAsн-CROssATTN-NEUROSEQRET: 这是本文的新颖贡献,由基于交叉注意力的神经 MTPP 模型组成,该模型与基于哈希的检索兼容。与 SELFATTN-NEUROSEQRET 和 CROSSATTNNeunoSeQRer 依靠 Fisher 内核来计算序列之间的相似性不同,该方法使用基于 KL 散度的分布相似性方法。由于 Fisher 内核具有更好的建模能力,因此这种方法会导致检索性能的重大损失,但是,它在交叉关注 MTPP 模型的准确性和效率之间起着权衡作用
对于所有这些模型,我们计算相关性得分,然后通过最小化成对排名损失来学习展开函数
和 MTPP 模型。这样的排名损失是从地面实况相关性标签中得出的
ACM Trans. Intell. Syst. Technol., Vol. 1, No. 1, Article 1. Publication date: July 2023
|
[
[
0.091552734375,
0.08404541015625,
0.115234375,
0.08404541015625,
0.115234375,
0.097900390625,
0.091552734375,
0.097900390625
],
[
0.81982421875,
0.08404541015625,
0.9013671875,
0.08404541015625,
0.9013671875,
0.0986328125,
0.81982421875,
0.0986328125
],
[
0.091552734375,
0.120849609375,
0.904296875,
0.11944580078125,
0.904296875,
0.134033203125,
0.091552734375,
0.1353759765625
],
[
0.09466552734375,
0.137451171875,
0.47119140625,
0.137451171875,
0.47119140625,
0.150634765625,
0.09466552734375,
0.150634765625
],
[
0.62744140625,
0.137451171875,
0.904296875,
0.137451171875,
0.904296875,
0.150634765625,
0.62744140625,
0.150634765625
],
[
0.0936279296875,
0.1541748046875,
0.45263671875,
0.1541748046875,
0.45263671875,
0.1673583984375,
0.0936279296875,
0.1673583984375
],
[
0.63671875,
0.1541748046875,
0.90234375,
0.1541748046875,
0.90234375,
0.1673583984375,
0.63671875,
0.1673583984375
],
[
0.09466552734375,
0.1707763671875,
0.379638671875,
0.1707763671875,
0.379638671875,
0.18408203125,
0.09466552734375,
0.18408203125
],
[
0.377685546875,
0.173583984375,
0.4619140625,
0.173583984375,
0.4619140625,
0.1812744140625,
0.377685546875,
0.1812744140625
],
[
0.68701171875,
0.1707763671875,
0.90234375,
0.1707763671875,
0.90234375,
0.18408203125,
0.68701171875,
0.18408203125
],
[
0.09466552734375,
0.1875,
0.50927734375,
0.1875,
0.50927734375,
0.20068359375,
0.09466552734375,
0.20068359375
],
[
0.64306640625,
0.1861572265625,
0.9013671875,
0.1875,
0.9013671875,
0.20068359375,
0.64306640625,
0.199951171875
],
[
0.09466552734375,
0.2042236328125,
0.455810546875,
0.2042236328125,
0.455810546875,
0.2174072265625,
0.09466552734375,
0.2174072265625
],
[
0.61328125,
0.204833984375,
0.904296875,
0.204833984375,
0.904296875,
0.21533203125,
0.61328125,
0.21533203125
],
[
0.09466552734375,
0.2208251953125,
0.5546875,
0.2208251953125,
0.5546875,
0.2340087890625,
0.09466552734375,
0.2340087890625
],
[
0.60888671875,
0.2208251953125,
0.90234375,
0.2208251953125,
0.90234375,
0.2340087890625,
0.60888671875,
0.2340087890625
],
[
0.09771728515625,
0.237548828125,
0.9052734375,
0.237548828125,
0.9052734375,
0.250732421875,
0.09771728515625,
0.250732421875
],
[
0.09466552734375,
0.254150390625,
0.89501953125,
0.254150390625,
0.89501953125,
0.267333984375,
0.09466552734375,
0.267333984375
],
[
0.09466552734375,
0.296630859375,
0.3076171875,
0.296630859375,
0.3076171875,
0.310302734375,
0.09466552734375,
0.310302734375
],
[
0.09466552734375,
0.316650390625,
0.904296875,
0.316650390625,
0.904296875,
0.329833984375,
0.09466552734375,
0.329833984375
],
[
0.0936279296875,
0.333251953125,
0.904296875,
0.333251953125,
0.904296875,
0.346435546875,
0.0936279296875,
0.346435546875
],
[
0.0936279296875,
0.35009765625,
0.52880859375,
0.35009765625,
0.52880859375,
0.36328125,
0.0936279296875,
0.36328125
],
[
0.0936279296875,
0.370849609375,
0.9052734375,
0.369384765625,
0.9052734375,
0.384033203125,
0.0936279296875,
0.385498046875
],
[
0.09466552734375,
0.387451171875,
0.9052734375,
0.387451171875,
0.9052734375,
0.400634765625,
0.09466552734375,
0.400634765625
],
[
0.09466552734375,
0.404052734375,
0.904296875,
0.404052734375,
0.904296875,
0.41748046875,
0.09466552734375,
0.41748046875
],
[
0.09466552734375,
0.4208984375,
0.9052734375,
0.4208984375,
0.9052734375,
0.43408203125,
0.09466552734375,
0.43408203125
],
[
0.09771728515625,
0.4375,
0.64208984375,
0.4375,
0.64208984375,
0.45068359375,
0.09771728515625,
0.45068359375
],
[
0.0936279296875,
0.458251953125,
0.9052734375,
0.458251953125,
0.9052734375,
0.471435546875,
0.0936279296875,
0.471435546875
],
[
0.0936279296875,
0.47509765625,
0.90234375,
0.47509765625,
0.90234375,
0.48828125,
0.0936279296875,
0.48828125
],
[
0.0936279296875,
0.490234375,
0.9052734375,
0.490234375,
0.9052734375,
0.50439453125,
0.0936279296875,
0.50439453125
],
[
0.0936279296875,
0.50634765625,
0.9052734375,
0.5068359375,
0.9052734375,
0.521484375,
0.0936279296875,
0.52099609375
],
[
0.09466552734375,
0.5234375,
0.9052734375,
0.5234375,
0.9052734375,
0.5380859375,
0.09466552734375,
0.5380859375
],
[
0.09466552734375,
0.5400390625,
0.9052734375,
0.5400390625,
0.9052734375,
0.5546875,
0.09466552734375,
0.5546875
],
[
0.09466552734375,
0.55810546875,
0.90234375,
0.55810546875,
0.90234375,
0.5712890625,
0.09466552734375,
0.5712890625
],
[
0.0936279296875,
0.57373046875,
0.9052734375,
0.57373046875,
0.9052734375,
0.58740234375,
0.0936279296875,
0.58740234375
],
[
0.0936279296875,
0.59033203125,
0.9052734375,
0.59033203125,
0.9052734375,
0.60400390625,
0.0936279296875,
0.60400390625
],
[
0.0936279296875,
0.60693359375,
0.40234375,
0.60693359375,
0.40234375,
0.62060546875,
0.0936279296875,
0.62060546875
],
[
0.0936279296875,
0.62353515625,
0.904296875,
0.62353515625,
0.904296875,
0.63818359375,
0.0936279296875,
0.63818359375
],
[
0.09466552734375,
0.6416015625,
0.904296875,
0.6416015625,
0.904296875,
0.65478515625,
0.09466552734375,
0.65478515625
],
[
0.09466552734375,
0.6591796875,
0.9052734375,
0.6591796875,
0.9052734375,
0.6728515625,
0.09466552734375,
0.6728515625
],
[
0.09466552734375,
0.6748046875,
0.5029296875,
0.6748046875,
0.5029296875,
0.68798828125,
0.09466552734375,
0.68798828125
],
[
0.0936279296875,
0.69189453125,
0.9052734375,
0.6904296875,
0.9052734375,
0.705078125,
0.0936279296875,
0.7060546875
],
[
0.0936279296875,
0.708984375,
0.904296875,
0.708984375,
0.904296875,
0.72314453125,
0.0936279296875,
0.72314453125
],
[
0.09466552734375,
0.72705078125,
0.90234375,
0.72705078125,
0.90234375,
0.740234375,
0.09466552734375,
0.740234375
],
[
0.0936279296875,
0.74365234375,
0.904296875,
0.74365234375,
0.904296875,
0.7568359375,
0.0936279296875,
0.7568359375
],
[
0.091552734375,
0.7587890625,
0.904296875,
0.76025390625,
0.904296875,
0.77490234375,
0.091552734375,
0.7734375
],
[
0.0936279296875,
0.77685546875,
0.464111328125,
0.77685546875,
0.464111328125,
0.7900390625,
0.0936279296875,
0.7900390625
],
[
0.0936279296875,
0.7939453125,
0.904296875,
0.7939453125,
0.904296875,
0.80712890625,
0.0936279296875,
0.80712890625
],
[
0.0936279296875,
0.810546875,
0.9013671875,
0.81103515625,
0.9013671875,
0.82568359375,
0.0936279296875,
0.8251953125
],
[
0.0936279296875,
0.82763671875,
0.904296875,
0.82763671875,
0.904296875,
0.841796875,
0.0936279296875,
0.841796875
],
[
0.0936279296875,
0.845703125,
0.904296875,
0.845703125,
0.904296875,
0.85888671875,
0.0936279296875,
0.85888671875
],
[
0.0936279296875,
0.861328125,
0.810546875,
0.861328125,
0.810546875,
0.875,
0.0936279296875,
0.875
],
[
0.091552734375,
0.876953125,
0.9052734375,
0.8779296875,
0.9052734375,
0.892578125,
0.091552734375,
0.8916015625
],
[
0.0936279296875,
0.89453125,
0.68701171875,
0.89453125,
0.68701171875,
0.908203125,
0.0936279296875,
0.908203125
],
[
0.09466552734375,
0.9375,
0.66064453125,
0.9375,
0.66064453125,
0.94775390625,
0.09466552734375,
0.94775390625
]
] |
[
"1:2",
"Gupta et al.",
"[7-11,14,16,22,26,40,48,50】。尽管MTPP在对CTES数据集的动态进行建模方面表现出令",
"人难以置信的能力,但在过去的文献中却",
"ES数据语料库中检索相关序列",
"的任务。因此,在这种情况下,给定查谁",
"中检索相关的CTES是一个具",
"有挑战性的问题,具有多种基于",
"搜系的以",
"音乐检索中,人们可能希",
"望搜索具有不同音频或音乐签名的序列;检索",
"ECG序列相关的ECG序列可",
"以帮助及早发现心脏病;在社交网络中,",
"相关的信息扩散轨迹可以帮助进",
"行病毒营销,假新闻检测,etc.尽管在过去的检索模",
"起经专门针对类似的时间序列进行",
"了丰富的文献,但尚未解决XMATH。此外,如我们的实验所示,现有的时间序列搜索方法",
"对于CTES检索任务在很大程度上是无效的,因为序列的基本表征在这两个域中有所不同。",
"1.1 OurContribution",
"在本文中,我们首先介绍了NEUROSEQRET,这是一系列用于连续时间事件序列的有监督检",
"索模型,然后开发了一种可训练的基于位置敏感哈希(LSH)的方法,用于在非常大的数据",
"集上进行高效检索。具体而言,我们的贡献如下",
"QueryUnwarping.两个序列之间的相关性概念因应用程序而异。相关的序列对可以共享非",
"常不同的单个属性,如果按原样比较序列,则可能会误导检索模型。换句话说,观察到的序",
"列可能是隐藏序列的扭曲变换E[12,54]。为了解决这个问题,NEUROSEQRET首先在计算相",
"关性分数之前对查询序列应用可训练的展开函数。这样的解扭曲函数是单调变换,它确保",
"了观察到的和未扭曲的序列中事件的时间顺序保持相同E[54]",
"NeuralRelevanceScoringModel.原则上,两个序列之间的相关性得分取决于它们的潜在",
"相似性。我们通过比较查询-语料库序列对之间的生成分布来衡量这种相似性。详细地说",
"我们将未变形的查询序列和语料库序列馈送到基于神经MTPP的相关性评分模型中,该模",
"型使用两种方法计算语料库和未变形的查询序列之间的相关性得分,即(i)Fisher内核E",
"[21]和(i)基于KL发散度的相似性度量。我们强调,基于内核的方法比其他分布相似性",
"度量e.g,KL散度或Wasserstein距离具有两个关键优势:(i)它根据基础生成分布计算查",
"询-语料库序列对之间的自然相似性得分;(i)它计算序列对的对数似然梯度之间的点积",
"这使其与某些设计选择的位置敏感哈希兼容,并促进了有效的检索。在这种情况下,我们",
"提供了NEUROSEQRET的两个变体,然后提出了HASH-CROSSATTN-NEUROSEQRET,它允许在",
"准确性和效率之间进行很好的权衡",
"SELFATTN-NEUROSEQRET:在这里,我们使用转换器HaWkes过程E[58],它独立于查询序",
"列计算语料库序列的可能性。这样的设计允许预先计算语料库似然性,这反过来又允许在",
"观察看不见的查询之前对语料库序列进行预先索引。此设置使我们能够在经过训练的嵌入",
"上应用对位置敏感的哈希,以进行有效的检索",
"CROSSATTN-NEUROSEQRET:在这里,我们提出了一种新的基于交叉注意力的神经MTPP模",
"型来计算序列似然。这种交叉注意机制使得语料库序列的似然性依赖于查询序列,使其成",
"为更强大的检索模型。虽然CROSSATTN-NEUROSEQRET与这种基于哈希的检索不直接兼容",
"但它可以以伸缩方式使用-首先使用在SELFATTN-NEUROSEQRET之上应用的LSH检索较小的",
"相关候选集,然后使用CROSSATTN-NEUROSEQRET重新排名。因此,从设计的角度来看,这",
"两个模型提供了准确性和效率之间的权衡",
"HASH-CROSSATTN-NEUROSEQRET:这是本文的新颖贡献,由基于交叉注意力的神经MTPP",
"模型组成,该模型与基于哈希的检索兼容。与SELFATTN-NEUROSEQRET和CROSSATTN",
"NEURoSEQRET依靠Fisher内核来计算序列之间的相似性不同,该方法使用基于KL散度",
"的分布相似性方法。由于Fisher内核具有更好的建模能力,因此这种方法会导致检索性能",
"的重大损失,但是,它在交叉关注MTPP模型的准确性和效率之间起着权衡作用",
"对于所有这些模型,我们计算相关性得分,然后通过最小化成对排名损失来学习展开函数",
"和MTPP模型。这样的排名损失是从地面实况相关性标签中得出的",
"ACMTrans.Intell.Syst.Technol.,Vol.1,No.1,Article1.Publication date:July2023"
] |
{
"arxiv_id": "2307.09613",
"language": "zh",
"page_idx": 1
}
|
||
2307.09613-zh-2
|
2307.09613-zh-2.jpg
|
1:3
CTES Retrieval using Point Processes
Scalable Retrieval.接下来,我们使用 SELFATTN-NEUROSEQRET 和 HAsH-CROSSATTN-NEUROSEQRET
做出的预测来开发一种新颖的哈希方法,该方法可以实现高效的序列检索。更具体地说,我们提出了一个优化框架,该框架将学习到的序列嵌入压缩为二进制哈希向量,同时限制了由于压缩而造成的损失。然后,我们使用局部性敏感的哈希$\overline{\mathbb{E}}[13]$ 将序列存储到哈希桶中, 以便具有相似哈希表示的序列共享同一个桶。最后,给定一个查询序列,我们考虑仅使用其桶内的序列计算相关性分数。这种哈希机制与高质量的序列嵌人相结合,实现了快速的序列检索,而性能没有明显的损失。最后,我们对来自不同领域的真实数据集进行的实验表明,NEuRoSEQRET 的两种变体都优于包括连续时间序列检索方法在内的几种基线。此外, 我们观察到,我们的哈希方法可以比基于随机超平面和穷举枚举的基线更有效地在检索准确性和效率之间进行权衡
# 1.2 Organization
本文的其余部分组织如下。我们回顾了 2 节中的相关工作,并在 4 节中提出了一个正式的问题表述。第 5 节详细介绍了 NEUROSEQRET 中所有组件的开发,第 8 节包含对所有数据集的深入实验分析,定性和估算研究,然后在第 9节中总结
# 2 RELATED WORK
我们的工作与 (i)标记的时间点过程和 (ii)检索时间序列的文献广泛相关
# 2.1 Marked Temporal Point Process
标记的时间点过程是我们工作的核心。近年来,它们成为对连续时间$\mathbb{E}[7,19]$ 中本地化的异步事件进行建模的强大工具,该工具具有广泛的应用$e$.g., 信息扩散,疾病建模,金融等。在这些动机的推动下,近年来,MTPP[10,11,15,17,28,39,40]。他们主要遵循两种方法。包括Hawkes 过程,自校正过程$etc.$的第一种方法考虑了时间点过程的固定参数化。在这里,不同的参数化表征了感兴趣的现象。特别是,霍克斯过程模拟了自我兴奋的事件到达过程,这通常由在线社交网络展示。然而,固定参数化方法通常会限制基础模型的表达能力,这通常反映在次优的预测性能上。第二种方法旨在通过使用深度神经网络$\mathbb{E}[9,20,29,53]$ 对 MTPP 进行建模来克服这些挑战。例如,Du et al.[9]提出了递归标记时间点过程 (RMTPP) -RNN 驱动的模型-来封装序列动力学并获得事件历史的低维嵌人。这导致了进一步的发展,其中包括神经霍克斯过程,该过程用连续时间 LSTM$\boxed{\mathrm{E}}[29]$和 MTPP e.g.$,\boxed{\mathrm{E}}[20,36,53]$的其他几个神经模型来制定点过程。然而,这些方法不适用于序列检索,也不适用于大规模应用
2.2 Retrieving Temporal Event Sequences
时间序列检索是指有效检索时间序列的过程,可为各种应用(包括金融,传感器数据分析和医疗保健)实现相似性搜索和模式识别等任务。这个问题已经在广泛的研究工作中得到了解决[1,2,25,31,32,38,46] 。但是,这些技术仅限于相似性搜索和标准时间序列$i.e.$,忽略了序列与 CTES 中相应标记之间的相关性概念。Agrawal et al.[1] 在时间序列数据库中引人了相似性搜索的概念,并提出了一种基于相似性度量的高效相似时间序列检索算法,同时 Keogh and Kasetty [25] 对时间序列数据挖掘中基准的需求,并对不同的时间序列检索和分类算法进行了实证评价。E[Rakthanmanon et al.[38] 提出了一种有效的索引结构,用于使用动态时间规整 (DTW) 距离度量对时间序列数据执行快速相似性搜索。[46] 提出了高维时间序列数据的索引技术,并提出了一种高维空间中最近邻搜索的方法。虽然$\boxed{\mathrm{E}}$Bagnall et al [2]专注于分类,但它提供了对时间序列数据分析的各种算法和技术的全面审查和评估,包括检索。因此,关于检索与查询相关的 CTES 序列的全面研究被过去的文献所忽视。详细地说,所提出的模型 NEUROSEQRET 旨在处理与每个事件相关的标记,并根据它们的相关性而不是相似性来识别序列
ACM Trans. Intell. Syst. Technol., Vol. 1, No. 1, Article 1. Publication date: July 2023
|
[
[
0.09466552734375,
0.08404541015625,
0.3447265625,
0.08404541015625,
0.3447265625,
0.097900390625,
0.09466552734375,
0.097900390625
],
[
0.8857421875,
0.08538818359375,
0.9072265625,
0.08538818359375,
0.9072265625,
0.097900390625,
0.8857421875,
0.097900390625
],
[
0.091552734375,
0.11944580078125,
0.94775390625,
0.120849609375,
0.94775390625,
0.1353759765625,
0.091552734375,
0.134033203125
],
[
0.09466552734375,
0.137451171875,
0.44970703125,
0.137451171875,
0.44970703125,
0.150634765625,
0.09466552734375,
0.150634765625
],
[
0.5380859375,
0.1395263671875,
0.904296875,
0.1395263671875,
0.904296875,
0.1500244140625,
0.5380859375,
0.1500244140625
],
[
0.09466552734375,
0.1541748046875,
0.41162109375,
0.1541748046875,
0.41162109375,
0.1673583984375,
0.09466552734375,
0.1673583984375
],
[
0.56982421875,
0.15625,
0.6494140625,
0.15625,
0.6494140625,
0.1632080078125,
0.56982421875,
0.1632080078125
],
[
0.65234375,
0.1541748046875,
0.90234375,
0.1541748046875,
0.90234375,
0.1673583984375,
0.65234375,
0.1673583984375
],
[
0.0966796875,
0.1707763671875,
0.438232421875,
0.1707763671875,
0.438232421875,
0.18408203125,
0.0966796875,
0.18408203125
],
[
0.599609375,
0.1707763671875,
0.90234375,
0.1707763671875,
0.90234375,
0.18408203125,
0.599609375,
0.18408203125
],
[
0.09466552734375,
0.1875,
0.40234375,
0.1875,
0.40234375,
0.20068359375,
0.09466552734375,
0.20068359375
],
[
0.64306640625,
0.1875,
0.90234375,
0.1875,
0.90234375,
0.20068359375,
0.64306640625,
0.20068359375
],
[
0.09466552734375,
0.2042236328125,
0.4248046875,
0.2042236328125,
0.4248046875,
0.2174072265625,
0.09466552734375,
0.2174072265625
],
[
0.421875,
0.2069091796875,
0.467041015625,
0.2069091796875,
0.467041015625,
0.214599609375,
0.421875,
0.214599609375
],
[
0.60595703125,
0.2042236328125,
0.904296875,
0.2042236328125,
0.904296875,
0.2174072265625,
0.60595703125,
0.2174072265625
],
[
0.09466552734375,
0.2208251953125,
0.421875,
0.2208251953125,
0.421875,
0.2340087890625,
0.09466552734375,
0.2340087890625
],
[
0.59375,
0.2208251953125,
0.904296875,
0.2208251953125,
0.904296875,
0.2340087890625,
0.59375,
0.2340087890625
],
[
0.09466552734375,
0.237548828125,
0.90234375,
0.237548828125,
0.90234375,
0.250732421875,
0.09466552734375,
0.250732421875
],
[
0.0936279296875,
0.254150390625,
0.904296875,
0.254150390625,
0.904296875,
0.267333984375,
0.0936279296875,
0.267333984375
],
[
0.0936279296875,
0.26953125,
0.31689453125,
0.26953125,
0.31689453125,
0.283447265625,
0.0936279296875,
0.283447265625
],
[
0.0936279296875,
0.306884765625,
0.266357421875,
0.306884765625,
0.266357421875,
0.321533203125,
0.0936279296875,
0.321533203125
],
[
0.0936279296875,
0.327880859375,
0.90234375,
0.327880859375,
0.90234375,
0.341552734375,
0.0936279296875,
0.341552734375
],
[
0.0966796875,
0.344482421875,
0.904296875,
0.344482421875,
0.904296875,
0.3583984375,
0.0966796875,
0.3583984375
],
[
0.0936279296875,
0.361083984375,
0.60595703125,
0.361083984375,
0.60595703125,
0.375,
0.0936279296875,
0.375
],
[
0.091552734375,
0.396484375,
0.293212890625,
0.396484375,
0.293212890625,
0.410400390625,
0.091552734375,
0.410400390625
],
[
0.09466552734375,
0.418701171875,
0.765625,
0.418701171875,
0.765625,
0.431884765625,
0.09466552734375,
0.431884765625
],
[
0.0936279296875,
0.4541015625,
0.4404296875,
0.4541015625,
0.4404296875,
0.46875,
0.0936279296875,
0.46875
],
[
0.09466552734375,
0.47509765625,
0.904296875,
0.47509765625,
0.904296875,
0.48828125,
0.09466552734375,
0.48828125
],
[
0.09466552734375,
0.49169921875,
0.9052734375,
0.49169921875,
0.9052734375,
0.50634765625,
0.09466552734375,
0.50634765625
],
[
0.0936279296875,
0.50830078125,
0.904296875,
0.50830078125,
0.904296875,
0.521484375,
0.0936279296875,
0.521484375
],
[
0.0936279296875,
0.52490234375,
0.9052734375,
0.52490234375,
0.9052734375,
0.5380859375,
0.0936279296875,
0.5380859375
],
[
0.09466552734375,
0.54150390625,
0.904296875,
0.54150390625,
0.904296875,
0.5546875,
0.09466552734375,
0.5546875
],
[
0.09466552734375,
0.55810546875,
0.904296875,
0.55810546875,
0.904296875,
0.5712890625,
0.09466552734375,
0.5712890625
],
[
0.0966796875,
0.57373046875,
0.9013671875,
0.57373046875,
0.9013671875,
0.58740234375,
0.0966796875,
0.58740234375
],
[
0.0936279296875,
0.591796875,
0.904296875,
0.591796875,
0.904296875,
0.60498046875,
0.0936279296875,
0.60498046875
],
[
0.09466552734375,
0.6083984375,
0.90234375,
0.6083984375,
0.90234375,
0.62158203125,
0.09466552734375,
0.62158203125
],
[
0.0966796875,
0.625,
0.9052734375,
0.625,
0.9052734375,
0.6396484375,
0.0966796875,
0.6396484375
],
[
0.091552734375,
0.6396484375,
0.87158203125,
0.64013671875,
0.87158203125,
0.65478515625,
0.091552734375,
0.654296875
],
[
0.091552734375,
0.677734375,
0.498046875,
0.677734375,
0.498046875,
0.69189453125,
0.091552734375,
0.69189453125
],
[
0.0936279296875,
0.69873046875,
0.904296875,
0.69873046875,
0.904296875,
0.71240234375,
0.0936279296875,
0.71240234375
],
[
0.0936279296875,
0.71533203125,
0.904296875,
0.71533203125,
0.904296875,
0.72900390625,
0.0936279296875,
0.72900390625
],
[
0.0966796875,
0.73193359375,
0.9052734375,
0.73193359375,
0.9052734375,
0.74560546875,
0.0966796875,
0.74560546875
],
[
0.0936279296875,
0.748046875,
0.9013671875,
0.748046875,
0.9013671875,
0.76123046875,
0.0936279296875,
0.76123046875
],
[
0.0966796875,
0.7666015625,
0.904296875,
0.7666015625,
0.904296875,
0.77685546875,
0.0966796875,
0.77685546875
],
[
0.0936279296875,
0.78125,
0.9052734375,
0.78125,
0.9052734375,
0.79443359375,
0.0936279296875,
0.79443359375
],
[
0.09466552734375,
0.7978515625,
0.9052734375,
0.7978515625,
0.9052734375,
0.81103515625,
0.09466552734375,
0.81103515625
],
[
0.09466552734375,
0.814453125,
0.9052734375,
0.814453125,
0.9052734375,
0.82763671875,
0.09466552734375,
0.82763671875
],
[
0.09466552734375,
0.8310546875,
0.9013671875,
0.8310546875,
0.9013671875,
0.84423828125,
0.09466552734375,
0.84423828125
],
[
0.09466552734375,
0.84814453125,
0.9052734375,
0.84814453125,
0.9052734375,
0.861328125,
0.09466552734375,
0.861328125
],
[
0.0936279296875,
0.86474609375,
0.904296875,
0.86474609375,
0.904296875,
0.8779296875,
0.0936279296875,
0.8779296875
],
[
0.091552734375,
0.88134765625,
0.904296875,
0.8798828125,
0.904296875,
0.89453125,
0.091552734375,
0.89599609375
],
[
0.0936279296875,
0.89794921875,
0.29833984375,
0.89794921875,
0.29833984375,
0.9111328125,
0.0936279296875,
0.9111328125
],
[
0.33544921875,
0.9375,
0.8994140625,
0.9375,
0.8994140625,
0.94775390625,
0.33544921875,
0.94775390625
]
] |
[
"CTES Retrieval using Point Processes",
"1:3",
"ScalableRetrieval.接下来,我们使用SELFATTN-NEUROSEQRET和HASH-CROSSATTN-NEUROSEQRET",
"做出的预测来开发一种新颖的哈希方法,",
"以实现高效的序列检索。更具体地说,我",
"们提出了一个优化框架,该框架将",
"乐缩",
"进制哈希向量,同时限制了",
"由于压缩而造成的损失。然后,我们使",
"合希E[13]将序列存储到哈希桶中",
"以便具有相似哈希表示的序列共享",
"个查询序列,我们考虑仅使用",
"其桶内的序列计算相关性分数。这种",
"哈布",
"为序列嵌入相结合,实现了快速的",
"序列检索,而性能没有明显的损失。",
"不同领域的真实数据集进行的实验",
"表明,NEUROSEQRET的两种变体都优于包括连续时间序列检索方法在内的几种基线。此外",
"我们观察到,我们的哈希方法可以比基于随机超平面和穷举枚举的基线更有效地在检索准",
"确性和效率之间进行权衡",
"1.2Organization",
"本文的其余部分组织如下。我们回顾了2节中的相关工作,并在4节中提出了一个正式的",
"问题表述。第5节详细介绍了NEUROSEQRET中所有组件的开发,第8节包含对所有数据集",
"的深入实验分析,定性和估算研究,然后在第9节中总结",
"2RELATEDWORK",
"我们的工作与(i)标记的时间点过程和(i)检索时间序列的文献广泛相关",
"2.1 Marked Temporal PointProcess",
"标记的时间点过程是我们工作的核心。近年来,它们成为对连续时间E[7,19]中本地化的异",
"步事件进行建模的强大工具,该工具具有广泛的应用e.g-,信息扩散,疾病建模,金融等。在",
"这些动机的推动下,近年来,MTPP[10,11,15,17,28,39,40]。他们主要遵循两种方法。包括",
"Hawkes过程,自校正过程etc.的第一种方法考虑了时间点过程的固定参数化。在这里,不",
"同的参数化表征了感兴趣的现象。特别是,霍克斯过程模拟了自我兴奋的事件到达过程,这",
"通常由在线社交网络展示。然而,固定参数化方法通常会限制基础模型的表达能力,这通常",
"反映在次优的预测性能上。第二种方法旨在通过使用深度神经网络E[9,20,29,53]对MTPI",
"进行建模来克服这些挑战。例如,Duetal.[9]提出了递归标记时间点过程(RMTPP)-RNN",
"驱动的模型一来封装序列动力学并获得事件历史的低维嵌入。这导致了进一步的发展,其中",
"包括神经霍克斯过程,该过程用连续时间LSTME[29]和MTPPe.g.,E[20,36,53]的其他几",
"个神经模型来制定点过程。然而,这些方法不适用于序列检索,也不适用于大规模应用",
"2.2RetrievingTemporalEventSequences",
"时间序列检索是指有效检索时间序列的过程,可为各种应用(包括金融,传感器数据分析",
"和医疗保健)实现相似性搜索和模式识别等任务。这个问题已经在广泛的研究工作中得到",
"了解决[12,25,31,32,38,46]。但是,这些技术仅限于相似性搜索和标准时间序列i.e.,忽",
"略了序列与CTES中相应标记之间的相关性概念。Agrawaletal.[1]在时间序列数据库中引",
"入厂相似性搜索的概念,并提出了一种基于相似性度量的高效相似时间序列检索算法,同",
"时KeoghandKasetty[25]对时间序列数据挖掘中基准的需求,并对不同的时间序列检索和",
"分类算法进行了实证评价。ERakthanmanonetal.[38]提出了一种有效的索引结构,用于使",
"用动态时间规整(DTW)距离度量对时间序列数据执行快速相似性搜索。[46]提出了高维时",
"间序列数据的索引技术,并提出了一种高维空间中最近邻搜索的方法。虽然EBagnalletal",
"[2]专注于分类,但它提供了对时间序列数据分析的各种算法和技术的全面审查和评估,包",
"括检索。因此,关于检索与查询相关的CTES序列的全面研究被过去的文献所忽视。详细地",
"说,所提出的模型NEUROSEQRET旨在处理与每个事件相关的标记,并根据它们的相关性而",
"不是相似性来识别序列",
"ACMTrans.Intell.Syst.Technol.,Vol.1,No.1,Article1.Publicationdate:July2023"
] |
{
"arxiv_id": "2307.09613",
"language": "zh",
"page_idx": 2
}
|
||
2307.09613-zh-3
|
2307.09613-zh-3.jpg
|
1:4
Gupta et al.
3 PRELIMINARIES
## 3.1 Notations and MTPP
标记的时间点过程 (MTPP) 是随机过程,可捕获连续时间内离散事件序列的生成机制。这里,使用元组$(t,x)$实现事件$e$,其中$t\in\mathbb{R}_+$和$x\in X$是到达时间和事件$e$的标记。然后, 我们使用$\mathcal{H}(t)$表示一个连续的时间事件序列 (CTES),其中每个事件都到达了,但不包括时间$t$ , $ie. $, ${\mathcal{H} }( t) : = \{ e_i= ( t_i, x_i) \mid t_{i- 1}< t_i< t\}$。此外,我们使用$\mathcal{T}(t)$和$\mathcal{M}(t)$表示到达时间$\{t_i\mid e_i\in\mathcal{H}(t)\}$和标记$\{x_i\mid e_i\in\mathcal{H}(t)\}$的顺序。最后,我们将计数过程$N(t)$表示为直到发生的事件数的计数,不包括时间$t$ ,封装了到达时间的生成机制
Generative model for CTES.基础 MTPP 模型由两个部分组成- (i) 到达时间的动态和 (ii) 标记分布的动态。大多数现有作品$\mathbb{E}[9,29,30,45,57,58]$ 使用强度函数对第一分量进行建模该强度函数明确地对无穷小时间窗口$[ t, t+ dt)$ , $i. e. $, $\lambda ( t) = \Pr ( dN( t) = 1| \mathcal{H} ( t) )$ 中的事件的可能性进行建模。相反,我们遵循$\boxed{\mathrm{E}}$Shchur et al.[44]的建议使用无强度方法,其中我们明确地对下一个事件$e$的到达时间$t$的分布进行建模。具体来说,我们将到达时间的密度$\rho$和下一个事件的标记的分布$m$表示为:
$$\begin{aligned}\rho(t)dt&=\Pr(e\text{in}[t,t+dt)\mid\mathcal{H}(t)),\\m(x)&=\Pr(x\mid\mathcal{H}(t))\end{aligned}$$
(1) (2)
正如$\overline{\mathrm{E}}$Shchur et al.[44] 所讨论的那样,这种无强度的 MTPP 模型在促进有效训练,可扩展
预测,给定 XMATHX 序列的计算方面比基于强度的模型具有许多好处。
# 4 PROBLEM SETUP
接下来,我们设置了从与给定查询 CTES 相关的连续时间事件序列 (CTES)语料库中检索
序列排名列表的问题
Query and corpus sequences, relevance labels. 我们对序列$\left\{\mathcal{H}_c(T_c)|c\in C\right\}$的大型语料库进行操作,其中$\hat{\mathcal{H}}_c(T_c)=\{(t_i^{(c)},x_i^{(c)})|t_i^{(c)}<T_c\}$。我们给出了一组带有$\mathcal{H}_q(T_q)=$ $\{(t_i^{(q)},x_i^{(q)})\mid t_i^{(q)}<T_q\}$的查询序列$\{\mathcal{H}_q(T_q)\mid q\in\boldsymbol{Q}\}$,以及一组语料库序列的查询特定的相关性标签。也就是说,对于给定的查询序列$\mathcal{H}_q$ ,我们有:$y(\mathcal{H}_q,\mathcal{H}_c)=+1$如果$\mathcal{H}_c$被标记为与$\mathcal{H}_q$相关,否则$y(\mathcal{H}_q,\mathcal{H}_c)=-1$
我们用$C=C_{q+}\cup C_{q-}$定义$C_q+=\{c\in C\mid y(\mathcal{H}_q,\mathcal{H}_c)=+1\}$,and$,C_q-=\{c\in C\mid y(\mathcal{H}_q,\mathcal{H}_c)=$
$-1\}$。最后,我们将 $\hat{T}=\max\{\hat{T_{q}},T_{c}\mid q\in Q,c\in C\}$ 表示为数据收集的最大时间
Our Goal.我们旨在设计一个有效的 CTES 检索系统,该系统将从已知的序列语料库中返回与给定查询序列$\mathcal{H}_q$相关的序列列表。因此,我们可以将序列检索任务视为排序问题的一个实例。与其他信息检索算法类似,CTES 检索算法首先计算给定查询序列$\mathcal{H}_q$的语料库序列$\mathcal{H}_c$的估计相关性 s$(\mathcal{H}_q,\mathcal{H}_c)$,然后按得分的降序提供$C$的排名
# 5 NEUROSEQRET MODEL
在本节中,我们将描述 NEUROSEQRET 系列基于 MTPP 的模型,这些模型用于检索连续时间
事件序列 (CTES)。我们首先概述它的两个关键组成部分
5.1 Components of NEUROSEQRET
NeunoSeQRer 对查询和语料库序列对之间的相关性评分函数进行建模。但是,语料库序列与查询的相关性是潜在的,并且在应用程序之间差异很大。为了准确表征这种相关性度量, NeunoSeQRer 分两步工作。首先,它展开查询序列,使它们与语料库序列兼容。然后,它使用神经 MTPP 模型计算查询和语料库序列之间的成对相关性得分
Unwarping Query Sequences. 查询和语料库序列之间的直接比较可能会产生误导性结果因为它们除了共享一些共同属性外,还包含自己的独特因素。事实上,语料库序列可能与
ACM Trans. Intell. Syst. Technol., Vol. 1, No. 1, Article 1. Publication date: July 2023
|
[
[
0.091552734375,
0.08404541015625,
0.115234375,
0.08404541015625,
0.115234375,
0.097900390625,
0.091552734375,
0.097900390625
],
[
0.81787109375,
0.08404541015625,
0.9013671875,
0.08404541015625,
0.9013671875,
0.0986328125,
0.81787109375,
0.0986328125
],
[
0.0885009765625,
0.120849609375,
0.287109375,
0.11944580078125,
0.287109375,
0.134033203125,
0.0885009765625,
0.1353759765625
],
[
0.0936279296875,
0.1402587890625,
0.33544921875,
0.1402587890625,
0.33544921875,
0.1541748046875,
0.0936279296875,
0.1541748046875
],
[
0.09466552734375,
0.1624755859375,
0.904296875,
0.1624755859375,
0.904296875,
0.1756591796875,
0.09466552734375,
0.1756591796875
],
[
0.09466552734375,
0.17919921875,
0.904296875,
0.17919921875,
0.904296875,
0.1923828125,
0.09466552734375,
0.1923828125
],
[
0.0936279296875,
0.19580078125,
0.904296875,
0.19580078125,
0.904296875,
0.208984375,
0.0936279296875,
0.208984375
],
[
0.09466552734375,
0.2125244140625,
0.904296875,
0.2125244140625,
0.904296875,
0.22705078125,
0.09466552734375,
0.22705078125
],
[
0.0936279296875,
0.227783203125,
0.904296875,
0.2291259765625,
0.904296875,
0.2437744140625,
0.0936279296875,
0.2423095703125
],
[
0.09466552734375,
0.245849609375,
0.66455078125,
0.245849609375,
0.66455078125,
0.259033203125,
0.09466552734375,
0.259033203125
],
[
0.09466552734375,
0.265380859375,
0.9052734375,
0.265380859375,
0.9052734375,
0.27978515625,
0.09466552734375,
0.27978515625
],
[
0.0936279296875,
0.283447265625,
0.90234375,
0.283447265625,
0.90234375,
0.296630859375,
0.0936279296875,
0.296630859375
],
[
0.0936279296875,
0.2978515625,
0.904296875,
0.298583984375,
0.904296875,
0.313232421875,
0.0936279296875,
0.3125
],
[
0.09466552734375,
0.315185546875,
0.904296875,
0.315185546875,
0.904296875,
0.3291015625,
0.09466552734375,
0.3291015625
],
[
0.0936279296875,
0.331298828125,
0.904296875,
0.33203125,
0.904296875,
0.346435546875,
0.0936279296875,
0.345947265625
],
[
0.0936279296875,
0.347900390625,
0.41455078125,
0.3486328125,
0.41455078125,
0.36328125,
0.0936279296875,
0.362548828125
],
[
0.35595703125,
0.372802734375,
0.64306640625,
0.372802734375,
0.64306640625,
0.387451171875,
0.35595703125,
0.387451171875
],
[
0.880859375,
0.37158203125,
0.908203125,
0.37158203125,
0.908203125,
0.3896484375,
0.880859375,
0.3896484375
],
[
0.365234375,
0.393798828125,
0.53515625,
0.393798828125,
0.53515625,
0.406982421875,
0.365234375,
0.406982421875
],
[
0.8828125,
0.393798828125,
0.9072265625,
0.393798828125,
0.9072265625,
0.408447265625,
0.8828125,
0.408447265625
],
[
0.0936279296875,
0.416748046875,
0.9052734375,
0.41748046875,
0.9052734375,
0.431884765625,
0.0936279296875,
0.43115234375
],
[
0.0936279296875,
0.435302734375,
0.73046875,
0.435302734375,
0.73046875,
0.44873046875,
0.0936279296875,
0.44873046875
],
[
0.091552734375,
0.463134765625,
0.29833984375,
0.463134765625,
0.29833984375,
0.47705078125,
0.091552734375,
0.47705078125
],
[
0.0936279296875,
0.4853515625,
0.904296875,
0.4853515625,
0.904296875,
0.49853515625,
0.0936279296875,
0.49853515625
],
[
0.09466552734375,
0.501953125,
0.27783203125,
0.501953125,
0.27783203125,
0.51513671875,
0.09466552734375,
0.51513671875
],
[
0.091552734375,
0.51953125,
0.9052734375,
0.5185546875,
0.9052734375,
0.5361328125,
0.091552734375,
0.53759765625
],
[
0.09051513671875,
0.53759765625,
0.9072265625,
0.5380859375,
0.9072265625,
0.55615234375,
0.09051513671875,
0.5546875
],
[
0.091552734375,
0.55712890625,
0.9052734375,
0.55810546875,
0.9052734375,
0.57568359375,
0.091552734375,
0.5751953125
],
[
0.0936279296875,
0.57568359375,
0.9052734375,
0.5771484375,
0.9052734375,
0.591796875,
0.0936279296875,
0.59033203125
],
[
0.09466552734375,
0.59423828125,
0.408447265625,
0.59423828125,
0.408447265625,
0.60498046875,
0.09466552734375,
0.60498046875
],
[
0.1131591796875,
0.60888671875,
0.90234375,
0.60888671875,
0.90234375,
0.62353515625,
0.1131591796875,
0.62353515625
],
[
0.0936279296875,
0.626953125,
0.77880859375,
0.626953125,
0.77880859375,
0.6416015625,
0.0936279296875,
0.6416015625
],
[
0.09466552734375,
0.64794921875,
0.904296875,
0.64794921875,
0.904296875,
0.6611328125,
0.09466552734375,
0.6611328125
],
[
0.0966796875,
0.66259765625,
0.9052734375,
0.6630859375,
0.9052734375,
0.677734375,
0.0966796875,
0.67724609375
],
[
0.0936279296875,
0.68115234375,
0.9052734375,
0.68115234375,
0.9052734375,
0.6943359375,
0.0936279296875,
0.6943359375
],
[
0.091552734375,
0.6962890625,
0.65234375,
0.69775390625,
0.65234375,
0.71240234375,
0.091552734375,
0.7109375
],
[
0.09051513671875,
0.7255859375,
0.359130859375,
0.7255859375,
0.359130859375,
0.740234375,
0.09051513671875,
0.740234375
],
[
0.0936279296875,
0.748046875,
0.904296875,
0.748046875,
0.904296875,
0.76123046875,
0.0936279296875,
0.76123046875
],
[
0.091552734375,
0.76318359375,
0.6005859375,
0.7646484375,
0.6005859375,
0.779296875,
0.091552734375,
0.77783203125
],
[
0.0936279296875,
0.7939453125,
0.4248046875,
0.7939453125,
0.4248046875,
0.80712890625,
0.0936279296875,
0.80712890625
],
[
0.0936279296875,
0.814453125,
0.904296875,
0.814453125,
0.904296875,
0.82763671875,
0.0936279296875,
0.82763671875
],
[
0.09466552734375,
0.8310546875,
0.9072265625,
0.8310546875,
0.9072265625,
0.84423828125,
0.09466552734375,
0.84423828125
],
[
0.091552734375,
0.8466796875,
0.9052734375,
0.84814453125,
0.9052734375,
0.8623046875,
0.091552734375,
0.861328125
],
[
0.0936279296875,
0.8623046875,
0.6884765625,
0.86474609375,
0.6884765625,
0.8779296875,
0.0936279296875,
0.87548828125
],
[
0.09466552734375,
0.8837890625,
0.90234375,
0.8837890625,
0.90234375,
0.8984375,
0.09466552734375,
0.8984375
],
[
0.09466552734375,
0.90087890625,
0.904296875,
0.90087890625,
0.904296875,
0.9150390625,
0.09466552734375,
0.9150390625
],
[
0.0936279296875,
0.935546875,
0.66357421875,
0.935546875,
0.66357421875,
0.94873046875,
0.0936279296875,
0.94873046875
]
] |
[
"1:4",
"Gupta et al.",
"3PRELIMINARIES",
"3.1NotationsandMTPP",
"标记的时间点过程(MTPP)是随机过程,可捕获连续时间内离散事件序列的生成机制。这",
"里,使用元组(t,x)实现事件e,其中tER,和xEX是到达时间和事件e的标记。然后",
"我们使用H(t)表示一个连续的时间事件序列(CTES),其中每个事件都到达了,但不包括",
"时间t,i.e.,H(t):=(ei=(ti,xi)Iti-1<ti<t)。此外,我们使用T(t)和M(t)表示到达时",
"间(tileiEH(t))和标记(xileiEH(t))的顺序。最后,我们将计数过程N(t)表示为直到发",
"生的事件数的计数,不包括时间t,封装了到达时间的生成机制",
"GenerativemodelforCTES.基础MTPP模型由两个部分组成-(i)到达时间的动态和(i)",
"标记分布的动态。大多数现有作品E[9,29,30,45,57,58]使用强度函数对第一分量进行建模",
"该强度函数明确地对无穷小时间窗口t,t+dt),i.e.,^(t)=Pr(dN(t)=1|H(t))中的事件的",
"可能性进行建模。相反,我们遵循EShchuretal.[44]的建议使用无强度方法,其中我们明",
"确地对下一个事件e的到达时间t的分布进行建模。具体来说,我们将到达时间的密度p和",
"下一个事件的标记的分布m表示为",
"p(t)dt = Pr(e in [t,t + dt) /H(t)),",
"(1)",
"m(x) =Pr(x [H(t))",
"(2)",
"正如EShchuretal.[44]所讨论的那样,这种无强度的MTPP模型在促进有效训练,可扩展",
"预测,给定XMATHX序列的计算方面比基于强度的模型具有许多好处。",
"4PROBLEMSETUP",
"接下来,我们设置了从与给定查询CTES相关的连续时间事件序列(CTES)语料库中检索",
"序列排名列表的问题",
"Queryandcorpus sequences,relevancelabels.我们对序列(H(T)/cEC)的大型语",
"料库进行操作,其中H(T)=((t),x)It)<T)。我们给出了一组带有Hg(T)=",
"((t(,x()It(Tg)的查询序列(Hg(Tg)IqEQ),以及一组语料库序列的查询特定的相",
"关性标签。也就是说,对于给定的查询序列Hg,我们有:y(Hg,He)=+1如果H。被标记",
"为与Ha相关,否则uHa.Hc)=一1",
"我们用 C= Cq+ UCq- 定义 Cg+ =(c E Cly(Hg,H)=+1),and, Cq-= (c E C|y(Hg,H)=",
"-1)。最后,我们将T=max(Tg,TIqEQ,cEC)表示为数据收集的最大时间",
"OurGoal.我们旨在设计一个有效的CTES检索系统,该系统将从已知的序列语料库中返回",
"与给定查询序列H。相关的序列列表。因此,我们可以将序列检索任务视为排序问题的一个",
"实例。与其他信息检索算法类似,CTES检索算法首先计算给定查询序列Hg的语料库序列",
"H的估计相关性s(Hg,H),然后按得分的降序提供C的排名",
"5NEUROSEQRETMODEL",
"在本节中,我们将描述NEUROSEQRET系列基于MTPP的模型,这些模型用于检索连续时间",
"事件序列(CTES)。我们首先概述它的两个关键组成部分",
"5.1ComponentsofNEURoSEQRET",
"NEUROSEQRET对查询和语料库序列对之间的相关性评分函数进行建模。但是,语料库序列",
"与查询的相关性是潜在的,并且在应用程序之间差异很大。为了准确表征这种相关性度量",
"NEUROSEQRET分两步工作。首先,它展开查询序列,使它们与语料库序列兼容。然后,它",
"使用神经MTPP模型计算查询和语料库序列之间的成对相关性得分",
"UnwarpingQuerySequences.查询和语料库序列之间的直接比较可能会产生误导性结果",
"因为它们除了共享一些共同属性外,还包含自已的独特因素。事实上,语料库序列可能与",
"ACM Trans. Intell. Syst. Technol., Vol. 1, No. 1, Article 1. Publication date: July 2023"
] |
{
"arxiv_id": "2307.09613",
"language": "zh",
"page_idx": 3
}
|
||
1907.02423-zh-0
|
1907.02423-zh-0.jpg
|
Appeared in the proceedings of NAACL 2015 (Denver, June). This version was
prepared in June 2019 and fixes a few typos.
# 词形嵌人
Ryan Cotterell$^{1,2}$
Department of Computer Science$^{1}$ Johns Hopkins University, USA ryan.cotterell@jhu.edu
$\textbf{Hinrich Schütze}^{2}$
Center for Information and Language Processing$^{2}$
University of Munich, Germany inquiries@cislmu.org
cold 是局部相关的,ice 和 fire 是语法相关的,因为它们都是名词,而ice和icy是形态学相关的,因为它们都来自同一个根。在这项工作中,我们有兴趣区分这些不同的轴,并指导嵌人,使类似的嵌入在形态上相关。
TOPIC: informal overview of the formal details
# Abstract
Linguistic similarity is multi-faceted. For instance, two words may be similar with respect to semantics, syntax, or morphology inter alia . Continuous word-embeddings have been shown to capture most of these shades of similarity to some degree. This work considers guiding word-embeddings with morphologically annotated data, a form of semisupervised learning, encouraging the vectors to encode a word's morphology, i.e., words close in the embedded space share morphological features. We extend the log-bilinear model to this end and show that indeed our learned embeddings achieve this, using German as a case study.
1 Introduction
我们使用多任务目标扩展 Mnih and Hinton (2007)的对数双线性模型 (LBL)。除了原始文本外,我们的模型还在带有形态标签注释的语料库上进行了训练,鼓励向量对单词的形态进行编码。具体来说,第一个任务是语言建模-LBL 的传统使用-第二个任务类似于 unigram 形态标记。在3节中描述的 LBL 基本上是一种语言模型 (LM) -单词嵌入作为用于预测下一个单词的上下文的低维表示。我们扩展模型以共同预测下一个形态标签和下一个单词,鼓励生成的嵌入对
TOPIC: broad-brush-stroke attack on bag of words fro形 态n进和h编$d$gica I我们提出了一种新颖的度量标
准,并在德语上进行了实验,作为案例研究,证明了我们的方法产生的单词嵌入可以更好地保留形态关系
TOPIC : Review of morphology in language models
单词表示是 NLP 的基础。最近,连续词嵌入作为一种通用的表示框架受到了关注。虽然这种嵌入已被证明是有用的,但它们通常会整体地对待单词,而忽略其内部结构。对于形态贫乏的语言,我。e。, 语素/词比率较低的语言,如英语, 这通常不是问题。但是,为了处理形态丰富的语言,必须利用单词内部结构
TOPIC : bird's eye view of our approach
Word 嵌人通常经过训练以生成捕获语言相似
近的单词应该在意义上接近。然而,一个关键问 形态结构先前已集成到 LM 中。最值得注意题是,意义是一个多方面的概念,因此有多个轴,的是,Bilmes and Kirchhoff (2003)引人了 fac沿着这些轴两个词可以是相似的。例如,ice 和 tored LMs ,它可以有效地添加层,从而可以
### 2 $\textbf{Related Work}$
在这里,我们讨论了形态在语言建模中所扮演的角色,并简要概述了处理计算形态这一更大任务的各种方法
性的表示形式。一般的想法是,在嵌人空间中接 2.1 $\textbf{Morphologyin Language Modeling}$
|
[
[
0.378173828125,
0.061248779296875,
0.88818359375,
0.061248779296875,
0.88818359375,
0.07452392578125,
0.378173828125,
0.07452392578125
],
[
0.59716796875,
0.07574462890625,
0.88623046875,
0.07574462890625,
0.88623046875,
0.0889892578125,
0.59716796875,
0.0889892578125
],
[
0.451904296875,
0.1029052734375,
0.54736328125,
0.1029052734375,
0.54736328125,
0.12060546875,
0.451904296875,
0.12060546875
],
[
0.2418212890625,
0.1590576171875,
0.384033203125,
0.1572265625,
0.384033203125,
0.1717529296875,
0.2418212890625,
0.173583984375
],
[
0.615234375,
0.1578369140625,
0.7548828125,
0.1578369140625,
0.7548828125,
0.17236328125,
0.615234375,
0.17236328125
],
[
0.1748046875,
0.175537109375,
0.44775390625,
0.173583984375,
0.44775390625,
0.1912841796875,
0.1748046875,
0.1932373046875
],
[
0.488525390625,
0.175537109375,
0.88134765625,
0.175537109375,
0.88134765625,
0.1932373046875,
0.488525390625,
0.1932373046875
],
[
0.1871337890625,
0.1944580078125,
0.43701171875,
0.1944580078125,
0.43701171875,
0.208984375,
0.1871337890625,
0.208984375
],
[
0.55810546875,
0.1925048828125,
0.81201171875,
0.1932373046875,
0.81201171875,
0.2108154296875,
0.55810546875,
0.210205078125
],
[
0.1829833984375,
0.21337890625,
0.441162109375,
0.212158203125,
0.441162109375,
0.2266845703125,
0.1829833984375,
0.2279052734375
],
[
0.56640625,
0.210205078125,
0.8056640625,
0.212158203125,
0.8056640625,
0.2298583984375,
0.56640625,
0.2279052734375
],
[
0.2646484375,
0.29541015625,
0.340576171875,
0.29736328125,
0.340576171875,
0.313232421875,
0.2646484375,
0.311279296875
],
[
0.51123046875,
0.298583984375,
0.88134765625,
0.298583984375,
0.88134765625,
0.3125,
0.51123046875,
0.3125
],
[
0.51123046875,
0.31494140625,
0.88134765625,
0.31494140625,
0.88134765625,
0.328857421875,
0.51123046875,
0.328857421875
],
[
0.1519775390625,
0.330078125,
0.451904296875,
0.330078125,
0.451904296875,
0.343505859375,
0.1519775390625,
0.343505859375
],
[
0.51123046875,
0.333251953125,
0.88134765625,
0.333251953125,
0.88134765625,
0.3466796875,
0.51123046875,
0.3466796875
],
[
0.1519775390625,
0.34521484375,
0.450927734375,
0.34521484375,
0.450927734375,
0.359130859375,
0.1519775390625,
0.359130859375
],
[
0.51123046875,
0.349853515625,
0.88134765625,
0.349853515625,
0.88134765625,
0.363037109375,
0.51123046875,
0.363037109375
],
[
0.1502685546875,
0.361083984375,
0.451904296875,
0.35986328125,
0.451904296875,
0.375,
0.1502685546875,
0.375732421875
],
[
0.51123046875,
0.3662109375,
0.76708984375,
0.3662109375,
0.76708984375,
0.380615234375,
0.51123046875,
0.380615234375
],
[
0.1519775390625,
0.375732421875,
0.451904296875,
0.375732421875,
0.451904296875,
0.389404296875,
0.1519775390625,
0.389404296875
],
[
0.1519775390625,
0.391357421875,
0.451904296875,
0.391357421875,
0.451904296875,
0.40478515625,
0.1519775390625,
0.40478515625
],
[
0.53173828125,
0.392578125,
0.87158203125,
0.392578125,
0.87158203125,
0.406005859375,
0.53173828125,
0.406005859375
],
[
0.86767578125,
0.396484375,
0.875,
0.396484375,
0.875,
0.401611328125,
0.86767578125,
0.401611328125
],
[
0.1519775390625,
0.406005859375,
0.449462890625,
0.406005859375,
0.449462890625,
0.419189453125,
0.1519775390625,
0.419189453125
],
[
0.1519775390625,
0.421630859375,
0.450927734375,
0.421630859375,
0.450927734375,
0.43505859375,
0.1519775390625,
0.43505859375
],
[
0.1519775390625,
0.436279296875,
0.450927734375,
0.436279296875,
0.450927734375,
0.449462890625,
0.1519775390625,
0.449462890625
],
[
0.529296875,
0.443115234375,
0.88134765625,
0.443115234375,
0.88134765625,
0.45703125,
0.529296875,
0.45703125
],
[
0.1519775390625,
0.449462890625,
0.451904296875,
0.45068359375,
0.451904296875,
0.46533203125,
0.1519775390625,
0.464111328125
],
[
0.5087890625,
0.458984375,
0.88134765625,
0.460205078125,
0.88134765625,
0.474853515625,
0.5087890625,
0.473388671875
],
[
0.15283203125,
0.468505859375,
0.451904296875,
0.468505859375,
0.451904296875,
0.479248046875,
0.15283203125,
0.479248046875
],
[
0.15283203125,
0.48291015625,
0.450927734375,
0.48291015625,
0.450927734375,
0.49365234375,
0.15283203125,
0.49365234375
],
[
0.51318359375,
0.477783203125,
0.88134765625,
0.477783203125,
0.88134765625,
0.4912109375,
0.51318359375,
0.4912109375
],
[
0.1519775390625,
0.496826171875,
0.450927734375,
0.496826171875,
0.450927734375,
0.51025390625,
0.1519775390625,
0.51025390625
],
[
0.51123046875,
0.494384765625,
0.88134765625,
0.494384765625,
0.88134765625,
0.50830078125,
0.51123046875,
0.50830078125
],
[
0.15283203125,
0.51318359375,
0.450927734375,
0.51318359375,
0.450927734375,
0.5234375,
0.15283203125,
0.5234375
],
[
0.51123046875,
0.51123046875,
0.8798828125,
0.51123046875,
0.8798828125,
0.52587890625,
0.51123046875,
0.52587890625
],
[
0.1519775390625,
0.5263671875,
0.451904296875,
0.5263671875,
0.451904296875,
0.54052734375,
0.1519775390625,
0.54052734375
],
[
0.51123046875,
0.52880859375,
0.88134765625,
0.52880859375,
0.88134765625,
0.54248046875,
0.51123046875,
0.54248046875
],
[
0.1519775390625,
0.54248046875,
0.283447265625,
0.54248046875,
0.283447265625,
0.55615234375,
0.1519775390625,
0.55615234375
],
[
0.51318359375,
0.546875,
0.88134765625,
0.546875,
0.88134765625,
0.56005859375,
0.51318359375,
0.56005859375
],
[
0.51123046875,
0.56298828125,
0.88134765625,
0.56298828125,
0.88134765625,
0.57763671875,
0.51123046875,
0.57763671875
],
[
0.1446533203125,
0.583984375,
0.25732421875,
0.583984375,
0.25732421875,
0.5986328125,
0.1446533203125,
0.5986328125
],
[
0.51123046875,
0.58056640625,
0.88134765625,
0.58056640625,
0.88134765625,
0.5947265625,
0.51123046875,
0.5947265625
],
[
0.11767578125,
0.5869140625,
0.1422119140625,
0.5869140625,
0.1422119140625,
0.59521484375,
0.11767578125,
0.59521484375
],
[
0.51708984375,
0.59765625,
0.88134765625,
0.59765625,
0.88134765625,
0.611328125,
0.51708984375,
0.611328125
],
[
0.1298828125,
0.61279296875,
0.88134765625,
0.6142578125,
0.88134765625,
0.62890625,
0.1298828125,
0.62744140625
],
[
0.5107421875,
0.6318359375,
0.88232421875,
0.630859375,
0.88232421875,
0.64599609375,
0.5107421875,
0.646484375
],
[
0.51123046875,
0.6484375,
0.88134765625,
0.6484375,
0.88134765625,
0.662109375,
0.51123046875,
0.662109375
],
[
0.134033203125,
0.6640625,
0.490234375,
0.66552734375,
0.490234375,
0.6796875,
0.134033203125,
0.6787109375
],
[
0.51318359375,
0.66748046875,
0.5986328125,
0.66748046875,
0.5986328125,
0.6787109375,
0.51318359375,
0.6787109375
],
[
0.1192626953125,
0.68310546875,
0.48779296875,
0.68310546875,
0.48779296875,
0.6962890625,
0.1192626953125,
0.6962890625
],
[
0.5185546875,
0.6923828125,
0.8857421875,
0.6923828125,
0.8857421875,
0.70556640625,
0.5185546875,
0.70556640625
],
[
0.11767578125,
0.69970703125,
0.48779296875,
0.69970703125,
0.48779296875,
0.71337890625,
0.11767578125,
0.71337890625
],
[
0.11767578125,
0.71728515625,
0.48779296875,
0.71728515625,
0.48779296875,
0.73095703125,
0.11767578125,
0.73095703125
],
[
0.11767578125,
0.734375,
0.486083984375,
0.734375,
0.486083984375,
0.74853515625,
0.11767578125,
0.74853515625
],
[
0.11767578125,
0.751953125,
0.490234375,
0.751953125,
0.490234375,
0.76513671875,
0.11767578125,
0.76513671875
],
[
0.491943359375,
0.755859375,
0.50634765625,
0.755859375,
0.50634765625,
0.76318359375,
0.491943359375,
0.76318359375
],
[
0.50634765625,
0.75390625,
0.66259765625,
0.75390625,
0.66259765625,
0.767578125,
0.50634765625,
0.767578125
],
[
0.1192626953125,
0.76806640625,
0.330810546875,
0.76806640625,
0.330810546875,
0.7822265625,
0.1192626953125,
0.7822265625
],
[
0.5107421875,
0.77880859375,
0.88134765625,
0.77978515625,
0.88134765625,
0.79443359375,
0.5107421875,
0.79345703125
],
[
0.12335205078125,
0.79443359375,
0.4150390625,
0.79541015625,
0.4150390625,
0.81005859375,
0.12335205078125,
0.8095703125
],
[
0.51123046875,
0.79736328125,
0.88134765625,
0.79736328125,
0.88134765625,
0.81103515625,
0.51123046875,
0.81103515625
],
[
0.5107421875,
0.81494140625,
0.60107421875,
0.81494140625,
0.60107421875,
0.830078125,
0.5107421875,
0.830078125
],
[
0.1356201171875,
0.830078125,
0.48779296875,
0.830078125,
0.48779296875,
0.84326171875,
0.1356201171875,
0.84326171875
],
[
0.11767578125,
0.84765625,
0.488525390625,
0.84765625,
0.488525390625,
0.861328125,
0.11767578125,
0.861328125
],
[
0.5087890625,
0.84228515625,
0.82666015625,
0.84228515625,
0.82666015625,
0.85595703125,
0.5087890625,
0.85595703125
],
[
0.11767578125,
0.8642578125,
0.488525390625,
0.8642578125,
0.488525390625,
0.87744140625,
0.11767578125,
0.87744140625
],
[
0.5107421875,
0.8642578125,
0.88134765625,
0.8642578125,
0.88134765625,
0.87744140625,
0.5107421875,
0.87744140625
],
[
0.11767578125,
0.880859375,
0.494384765625,
0.880859375,
0.494384765625,
0.89453125,
0.11767578125,
0.89453125
],
[
0.5107421875,
0.880859375,
0.8798828125,
0.880859375,
0.8798828125,
0.89453125,
0.5107421875,
0.89453125
],
[
0.11767578125,
0.8984375,
0.490234375,
0.8984375,
0.490234375,
0.912109375,
0.11767578125,
0.912109375
],
[
0.50634765625,
0.8984375,
0.8798828125,
0.8984375,
0.8798828125,
0.912109375,
0.50634765625,
0.912109375
]
] |
[
"Appeared in theproceedingsof NAACL2015(Denver,June).Thisversion was",
"prepared in June 2019 and fixes a few typos",
"词形嵌入",
"Ryan Cotterelll,2",
"Hinrich Schutze2",
"Department of Computer Sciencel",
"Center for Information and Language Processing?",
"Johns Hopkins University, USA",
"University of Munich, Germany",
"ryan.cotterell@jhu.edu",
"inquiries@cislmu.org",
"Abstract",
"cold是局部相关的,ice和fire是语法相关",
"的,因为它们都是名词,而ice和icy是形态",
"Linguistic similarity is multi-faceted. For in-",
"学相关的,因为它们都来自同一个根。在这项工",
"stance, two words may be similar with re-",
"作中,我们有兴趣区分这些不同的轴,并指导嵌",
"spect to semantics, syntax,or morphology in-",
"入,使类似的嵌入在形态上相关。",
"ter alia . Continuous word-embeddings have",
"been shown to capture most of these shades",
"ToPIC : informal overview of the formal details",
"",
"of similarity to some degree. This work con",
"siders guiding word-embeddings with mor",
"phologically annotated data, a form of semi",
"我们使用多任务目标扩展MnihandHinton",
"supervised learning, encouraging the vectors",
"(2007)的对数双线性模型(LBL)。除了原始",
"to encode a word's morphology,i.e.,words",
"close in the embedded space share morpho-",
"文本外,我们的模型还在带有形态标签注释的语",
"logical features.We extend the log-bilinear",
"料库上进行了训练,鼓励向量对单词的形态进行",
"model to this end and showthat indeed our",
"编码。具体来说,第一个任务是语言建模-LBL",
"learned embeddings achieve this, using Ger-",
"的传统使用-第二个任务类似于unigram形态标",
"man as a case study.",
"记。在3节中描述的LBL基本上是一种语言模",
"型(LM)-单词嵌入作为用于预测下一个单词的",
"Introduction",
"上下文的低维表示。我们扩展模型以共同预测下",
"",
"一个形态标签和下一个单词,鼓励生成的嵌入对",
"Topic:broad-brush-strokeattackonbagofwordsfro形nph编gicalgl提出了一种新颖的度量标",
"准,并在德语上进行了实验,作为案例研究,证",
"明了我们的方法产生的单词嵌入可以更好地保",
"单词表示是NLP的基础。最近,连续词嵌人",
"留形态关系",
"作为一种通用的表示框架受到了关注。虽然这种",
"ToPiC:Review of morphology in language models",
"嵌人已被证明是有用的,但它们通常会整体地对",
"待单词,而忽略其内部结构。对于形态贫乏的语",
"言,我。e。,语素/词比率较低的语言,如英语",
"这通常不是问题。但是,为了处理形态丰富的语",
"",
"2Related Work",
"言,必须利用单词内部结构",
"在这里,我们讨论了形态在语言建模中所扮演的",
"TopIc : bird's eye view of our approach",
"角色,并简要概述了处理计算形态这一更大任务",
"的各种方法",
"Word嵌入通常经过训练以生成捕获语言相似",
"性的表示形式。一般的想法是,在嵌入空间中接",
"2.1Morphology in Language Modeling",
"近的单词应该在意义上接近。然而,一个关键问",
"形态结构先前已集成到LM中。最值得注意",
"题是,意义是一个多方面的概念,因此有多个轴,",
"的是,BilmesandKirchhoff(2003)引人了fac",
"沿着这些轴两个词可以是相似的。例如,ice和",
"toredLMs,它可以有效地添加层,从而可以"
] |
{
"arxiv_id": "1907.02423",
"language": "zh",
"page_idx": 0
}
|
||
1907.02423-zh-1
|
1907.02423-zh-1.jpg
|
<table>
<tbody>
<tr>
<th rowspan="2">ARTICLE ART.DEF.NOM.SG.FEM</th>
<th rowspan="2">ADJECTIVE ADJ.NOM.SG.FEM</th>
<th rowspan="2">$NOUN$ N.NOM.SG.FEM</th>
</tr>
<tr>
<td>die</td>
<td>$qr\ddot{o}Bte$</td>
<td>Stadt</td>
</tr>
<tr>
<td>the</td>
<td>biggest</td>
<td>city</td>
</tr>
</tbody>
</table>
Table l: A sample German phrase in TIGER (Brants et al., 2004) annotation with an accompanying English translation. Each word is annotated with a complex morphological tag and its corresponding coarsegrained POS tag. For instance, Stadt is annotated with N.NOM.SG.FEM indicating that it is a noun in the nominative case and also both singular and feminine . Each tag is composed of meaningful sub-tag units that are shared across whole tags, e.g., the feature NoM fires on both adjectives and nouns.
轻松合并形态结构以及词性(POS)标签。最近,Müller and Schütze (2011) 使用通用后缀训练了一个基于类的 LM-通常表示形态学-在使用Kneser-NeyLM 进行插值时实现了最新的结果。在神经概率建模中,Luong et al.(2013) 描述了一个递归神经网络 LM,其拓扑来自 MORFESson 的输出,这是一种无监督的形态分割工具(Creutz and Lagus, 2005)。同样,Qiu et al.(2014) 增强了 WORD2VEC (Mikolov et al., 2013) 以嵌入变体和整个单词-也利用了 MoRFESSOR 。LM 由dos Santos and Zadrozny (2014)使用具有$k$ -best 最大池化层的卷积神经网络解决,以提取字符级别$n$ -gram, 从而有效地将正交特征插入 LM 中-在下游 POS 标记中使用向量在葡萄牙语中取得了最先进的结果。最后,与我们的模型最相似的是,Botha and Blunsom (2014)引入了加性对数双线性模型 (LBL++)。最好概括为神经因子LM, LBL++ 为单词的每个组成语素创建了单独的嵌人,将它们求和以获得单个单词嵌入
## 2.2 Computational Morphology
TOPIC : Introduce morphological tagging.
我们的工作也与形态学标记有关,可以将其视为超细粒度的 POS 标记。对于形态贫乏的语言,如英语,很自然地考虑一个小的标记集。例如,在其通用 POS 标记集中,Petrov et al.(2011) 建议使用粗标记 NouN。在屈折丰富的语言中,如德语,考虑到其他名义属性,e。g。,case,genderandnumber,isalsoimportant。在表 1 中可以找到带注释的德语短语的示例。这通常会导致一个大的标签集;e。g。, 在 Haji (2000) 的形态标签集中,英语有 137 个标签,而形态丰富的
捷克语有 970 个标签!
TOPIC : discuss distributional morphology
显然,确定单词的形态标记所需的许多信息都编码在单词本身中。例如,后缀 ed 通常表示英语中的过去时态。然而,分布相似性也被证明是形态学 (Yarowsky and Wicentowski, 2000; Schone and Jurafsky, 2001) 的重要线索。就像上下文签名被可靠地利用到词典 (Harris, 1954)- you shall know the meaning of the word by the company $it$ keeps (Firth,1957)--的语义的近似值一样,它们也可以被类似地用于形态分析。这不是一个意外的结果——在德语中,e。g。, 我们希望在属格情况下形容词后面的名词本身也在属格情况下。我们的模型旨在完成的大部分工作是隔离确实可以预测形态的上下文签名的组成部分
### 3 $\textbf{Log- Bilinear Model}$
LBL 是著名的对数线性模型的推广。关键的区别在于它如何处理功能-而不是使用手工制作的功能,LBL learns 的功能以及权重。在语言建模设置中,我们定义以下模型
(1)
$$p(w\mid h)\stackrel{\text{def}}{=}\frac{\exp\left(s_\theta(w,h)\right)}{\sum_{w'}\exp\left(s_\theta(w',h)\right)},$$
其中$w$是一个单词,$h$是一个历史,$s_\theta$是一个能量函数。遵循 Mnih and Teh (2012) 的表示法, 在LBL 中定义
$$s_\theta(w,h)\stackrel{\text{def}}{=}\left(\sum_{i=1}^{n-1}C_ir_{h_i}\right)^Tq_w+b_w,$$
(2)
,其中 $n-1$ 是历史长度,参数 $\theta$ 由$C$,上下文特定权重的矩阵$R$,上下文词嵌入,$Q$,。请注意,下标矩阵表示向量 e。g。$,q_w$表示单词$w$ 的目标单词嵌入,$r_h_i$是历史中第$i$个单词的嵌入。与所有基于能量的模型一样,梯度的形式为两个期望值之间的差 (LeCun et al., 2006)
TOPIC : Overview of the model
### 4 $\textbf{Morph- LBL}$
我们提出了一个多任务目标,该目标在给定历史$h$的情况下共同预测下一个单词$w$及其形态标签$t$ 。因此,我们对定义为
$$p(w,t\mid h)\propto\exp((f_t^TS+\sum_{i=1}^{n-1}C_ir_{h_i})^Tq_w+b_w)$$
|
[
[
0.158447265625,
0.0921630859375,
0.22216796875,
0.0921630859375,
0.22216796875,
0.10418701171875,
0.158447265625,
0.10418701171875
],
[
0.281982421875,
0.0921630859375,
0.36279296875,
0.0921630859375,
0.36279296875,
0.10418701171875,
0.281982421875,
0.10418701171875
],
[
0.410888671875,
0.0921630859375,
0.455810546875,
0.0921630859375,
0.455810546875,
0.10418701171875,
0.410888671875,
0.10418701171875
],
[
0.5107421875,
0.09344482421875,
0.6806640625,
0.09344482421875,
0.6806640625,
0.106689453125,
0.5107421875,
0.106689453125
],
[
0.1217041015625,
0.106689453125,
0.2607421875,
0.106689453125,
0.2607421875,
0.12060546875,
0.1217041015625,
0.12060546875
],
[
0.265625,
0.106689453125,
0.378173828125,
0.106689453125,
0.378173828125,
0.12060546875,
0.265625,
0.12060546875
],
[
0.38232421875,
0.10479736328125,
0.483642578125,
0.106689453125,
0.483642578125,
0.121826171875,
0.38232421875,
0.11932373046875
],
[
0.1748046875,
0.12371826171875,
0.2059326171875,
0.12371826171875,
0.2059326171875,
0.1351318359375,
0.1748046875,
0.1351318359375
],
[
0.293212890625,
0.12371826171875,
0.351318359375,
0.12371826171875,
0.351318359375,
0.1351318359375,
0.293212890625,
0.1351318359375
],
[
0.408447265625,
0.12371826171875,
0.45751953125,
0.12371826171875,
0.45751953125,
0.1351318359375,
0.408447265625,
0.1351318359375
],
[
0.525390625,
0.11932373046875,
0.82275390625,
0.11932373046875,
0.82275390625,
0.1331787109375,
0.525390625,
0.1331787109375
],
[
0.17724609375,
0.1383056640625,
0.2034912109375,
0.1383056640625,
0.2034912109375,
0.1514892578125,
0.17724609375,
0.1514892578125
],
[
0.295654296875,
0.1383056640625,
0.34716796875,
0.1383056640625,
0.34716796875,
0.15283203125,
0.295654296875,
0.15283203125
],
[
0.418212890625,
0.1395263671875,
0.44775390625,
0.1395263671875,
0.44775390625,
0.1514892578125,
0.418212890625,
0.1514892578125
],
[
0.51123046875,
0.1351318359375,
0.88232421875,
0.1351318359375,
0.88232421875,
0.1483154296875,
0.51123046875,
0.1483154296875
],
[
0.51123046875,
0.15283203125,
0.88134765625,
0.15283203125,
0.88134765625,
0.1666259765625,
0.51123046875,
0.1666259765625
],
[
0.1168212890625,
0.1673583984375,
0.488525390625,
0.1673583984375,
0.488525390625,
0.18115234375,
0.1168212890625,
0.18115234375
],
[
0.5107421875,
0.169189453125,
0.88134765625,
0.1685791015625,
0.88134765625,
0.18310546875,
0.5107421875,
0.184326171875
],
[
0.11358642578125,
0.18115234375,
0.486083984375,
0.1817626953125,
0.486083984375,
0.1962890625,
0.11358642578125,
0.1956787109375
],
[
0.5107421875,
0.186279296875,
0.88134765625,
0.186279296875,
0.88134765625,
0.2008056640625,
0.5107421875,
0.2008056640625
],
[
0.1168212890625,
0.1976318359375,
0.48779296875,
0.1976318359375,
0.48779296875,
0.2108154296875,
0.1168212890625,
0.2108154296875
],
[
0.5107421875,
0.203857421875,
0.88134765625,
0.203857421875,
0.88134765625,
0.2171630859375,
0.5107421875,
0.2171630859375
],
[
0.1168212890625,
0.21337890625,
0.48779296875,
0.21337890625,
0.48779296875,
0.2266845703125,
0.1168212890625,
0.2266845703125
],
[
0.11517333984375,
0.2266845703125,
0.488525390625,
0.2259521484375,
0.488525390625,
0.240478515625,
0.11517333984375,
0.2412109375
],
[
0.51123046875,
0.2215576171875,
0.88232421875,
0.2215576171875,
0.88232421875,
0.23486328125,
0.51123046875,
0.23486328125
],
[
0.11517333984375,
0.24365234375,
0.488525390625,
0.24365234375,
0.488525390625,
0.2568359375,
0.11517333984375,
0.2568359375
],
[
0.5087890625,
0.238037109375,
0.8798828125,
0.238037109375,
0.8798828125,
0.25244140625,
0.5087890625,
0.25244140625
],
[
0.11517333984375,
0.25830078125,
0.48046875,
0.25830078125,
0.48046875,
0.271484375,
0.11517333984375,
0.271484375
],
[
0.5107421875,
0.255615234375,
0.88134765625,
0.255615234375,
0.88134765625,
0.26953125,
0.5107421875,
0.26953125
],
[
0.11517333984375,
0.2734375,
0.491943359375,
0.2734375,
0.491943359375,
0.287353515625,
0.11517333984375,
0.287353515625
],
[
0.5087890625,
0.271484375,
0.88134765625,
0.272705078125,
0.88134765625,
0.287353515625,
0.5087890625,
0.285888671875
],
[
0.11517333984375,
0.287353515625,
0.488525390625,
0.287353515625,
0.488525390625,
0.3017578125,
0.11517333984375,
0.3017578125
],
[
0.51318359375,
0.2890625,
0.6044921875,
0.2890625,
0.6044921875,
0.300537109375,
0.51318359375,
0.300537109375
],
[
0.59716796875,
0.290283203125,
0.88134765625,
0.290283203125,
0.88134765625,
0.304931640625,
0.59716796875,
0.304931640625
],
[
0.11517333984375,
0.3017578125,
0.3095703125,
0.3017578125,
0.3095703125,
0.31494140625,
0.11517333984375,
0.31494140625
],
[
0.51123046875,
0.306884765625,
0.88134765625,
0.306884765625,
0.88134765625,
0.32080078125,
0.51123046875,
0.32080078125
],
[
0.51123046875,
0.323974609375,
0.88232421875,
0.323974609375,
0.88232421875,
0.337158203125,
0.51123046875,
0.337158203125
],
[
0.1168212890625,
0.3466796875,
0.488525390625,
0.3466796875,
0.488525390625,
0.361083984375,
0.1168212890625,
0.361083984375
],
[
0.51123046875,
0.341552734375,
0.81396484375,
0.341552734375,
0.81396484375,
0.354736328125,
0.51123046875,
0.354736328125
],
[
0.1168212890625,
0.3642578125,
0.488525390625,
0.3642578125,
0.488525390625,
0.37744140625,
0.1168212890625,
0.37744140625
],
[
0.50732421875,
0.37060546875,
0.5458984375,
0.37060546875,
0.5458984375,
0.380615234375,
0.50732421875,
0.380615234375
],
[
0.53759765625,
0.369384765625,
0.71142578125,
0.36865234375,
0.71142578125,
0.38330078125,
0.53759765625,
0.3837890625
],
[
0.1168212890625,
0.380615234375,
0.48779296875,
0.380615234375,
0.48779296875,
0.395751953125,
0.1168212890625,
0.395751953125
],
[
0.1168212890625,
0.3984375,
0.49267578125,
0.3984375,
0.49267578125,
0.412353515625,
0.1168212890625,
0.412353515625
],
[
0.50732421875,
0.393310546875,
0.8798828125,
0.393310546875,
0.8798828125,
0.40771484375,
0.50732421875,
0.40771484375
],
[
0.11767578125,
0.415283203125,
0.488525390625,
0.415283203125,
0.488525390625,
0.429931640625,
0.11767578125,
0.429931640625
],
[
0.51123046875,
0.412353515625,
0.8798828125,
0.412353515625,
0.8798828125,
0.425537109375,
0.51123046875,
0.425537109375
],
[
0.1298828125,
0.43115234375,
0.488525390625,
0.43310546875,
0.488525390625,
0.4462890625,
0.1298828125,
0.4443359375
],
[
0.5107421875,
0.4287109375,
0.88232421875,
0.4287109375,
0.88232421875,
0.443115234375,
0.5107421875,
0.443115234375
],
[
0.1168212890625,
0.449462890625,
0.488525390625,
0.449462890625,
0.488525390625,
0.46337890625,
0.1168212890625,
0.46337890625
],
[
0.5107421875,
0.4462890625,
0.744140625,
0.4462890625,
0.744140625,
0.460205078125,
0.5107421875,
0.460205078125
],
[
0.11767578125,
0.466552734375,
0.48779296875,
0.466552734375,
0.48779296875,
0.48095703125,
0.11767578125,
0.48095703125
],
[
0.67626953125,
0.46728515625,
0.7890625,
0.46728515625,
0.7890625,
0.481689453125,
0.67626953125,
0.481689453125
],
[
0.57177734375,
0.477783203125,
0.68310546875,
0.46728515625,
0.685546875,
0.48486328125,
0.57421875,
0.49560546875
],
[
0.859375,
0.477783203125,
0.8837890625,
0.477783203125,
0.8837890625,
0.490478515625,
0.859375,
0.490478515625
],
[
0.66259765625,
0.4873046875,
0.81787109375,
0.48486328125,
0.81787109375,
0.5,
0.66259765625,
0.501953125
],
[
0.1168212890625,
0.5,
0.48779296875,
0.50048828125,
0.48779296875,
0.51513671875,
0.1168212890625,
0.5146484375
],
[
0.1168212890625,
0.48291015625,
0.48779296875,
0.48291015625,
0.48779296875,
0.49755859375,
0.1168212890625,
0.49755859375
],
[
0.5185546875,
0.5146484375,
0.52685546875,
0.51513671875,
0.525390625,
0.51806640625,
0.5185546875,
0.517578125
],
[
0.52294921875,
0.5087890625,
0.88134765625,
0.5087890625,
0.88134765625,
0.52294921875,
0.52294921875,
0.52294921875
],
[
0.11517333984375,
0.51806640625,
0.488525390625,
0.51806640625,
0.488525390625,
0.5322265625,
0.11517333984375,
0.5322265625
],
[
0.51123046875,
0.52587890625,
0.88232421875,
0.52587890625,
0.88232421875,
0.5390625,
0.51123046875,
0.5390625
],
[
0.1168212890625,
0.53515625,
0.486083984375,
0.53515625,
0.486083984375,
0.548828125,
0.1168212890625,
0.548828125
],
[
0.51123046875,
0.54345703125,
0.6259765625,
0.54345703125,
0.6259765625,
0.556640625,
0.51123046875,
0.556640625
],
[
0.11517333984375,
0.5517578125,
0.488525390625,
0.55029296875,
0.488525390625,
0.56494140625,
0.11517333984375,
0.56640625
],
[
0.11767578125,
0.568359375,
0.484375,
0.568359375,
0.484375,
0.58203125,
0.11767578125,
0.58203125
],
[
0.74658203125,
0.5625,
0.7587890625,
0.5625,
0.7587890625,
0.57275390625,
0.74658203125,
0.57275390625
],
[
0.56396484375,
0.580078125,
0.64892578125,
0.57568359375,
0.650390625,
0.59326171875,
0.564453125,
0.59765625
],
[
0.6640625,
0.57763671875,
0.73779296875,
0.58349609375,
0.736328125,
0.59765625,
0.66259765625,
0.59228515625
],
[
0.7587890625,
0.58056640625,
0.83642578125,
0.580078125,
0.83642578125,
0.59521484375,
0.7587890625,
0.5966796875
],
[
0.85888671875,
0.58203125,
0.88232421875,
0.58203125,
0.88232421875,
0.5947265625,
0.85888671875,
0.5947265625
],
[
0.6708984375,
0.58837890625,
0.6806640625,
0.59130859375,
0.67724609375,
0.5966796875,
0.66845703125,
0.59326171875
],
[
0.66015625,
0.5986328125,
0.69140625,
0.5986328125,
0.69140625,
0.611328125,
0.66015625,
0.611328125
],
[
0.11517333984375,
0.5859375,
0.48779296875,
0.58544921875,
0.48779296875,
0.599609375,
0.11517333984375,
0.60107421875
],
[
0.11767578125,
0.60302734375,
0.488525390625,
0.60302734375,
0.488525390625,
0.6171875,
0.11767578125,
0.6171875
],
[
0.1168212890625,
0.62060546875,
0.488525390625,
0.62060546875,
0.488525390625,
0.6337890625,
0.1168212890625,
0.6337890625
],
[
0.525390625,
0.6162109375,
0.88134765625,
0.6162109375,
0.88134765625,
0.630859375,
0.525390625,
0.630859375
],
[
0.515625,
0.62255859375,
0.52783203125,
0.62255859375,
0.52783203125,
0.62890625,
0.515625,
0.62890625
],
[
0.11517333984375,
0.63623046875,
0.490234375,
0.63720703125,
0.490234375,
0.6513671875,
0.11517333984375,
0.65087890625
],
[
0.51123046875,
0.63525390625,
0.88134765625,
0.63525390625,
0.88134765625,
0.6484375,
0.51123046875,
0.6484375
],
[
0.11767578125,
0.65478515625,
0.438720703125,
0.65478515625,
0.438720703125,
0.66845703125,
0.11767578125,
0.66845703125
],
[
0.5107421875,
0.65087890625,
0.8798828125,
0.65087890625,
0.8798828125,
0.66552734375,
0.5107421875,
0.66552734375
],
[
0.51123046875,
0.66845703125,
0.88134765625,
0.66845703125,
0.88134765625,
0.68310546875,
0.51123046875,
0.68310546875
],
[
0.1168212890625,
0.68505859375,
0.16015625,
0.68505859375,
0.16015625,
0.6962890625,
0.1168212890625,
0.6962890625
],
[
0.156005859375,
0.681640625,
0.375732421875,
0.68310546875,
0.375732421875,
0.70068359375,
0.156005859375,
0.69970703125
],
[
0.51318359375,
0.68603515625,
0.88134765625,
0.68603515625,
0.88134765625,
0.69970703125,
0.51318359375,
0.69970703125
],
[
0.12335205078125,
0.70849609375,
0.435546875,
0.71044921875,
0.435546875,
0.724609375,
0.12335205078125,
0.72265625
],
[
0.51123046875,
0.7041015625,
0.8203125,
0.7041015625,
0.8203125,
0.71728515625,
0.51123046875,
0.71728515625
],
[
0.52294921875,
0.72900390625,
0.7548828125,
0.72900390625,
0.7548828125,
0.7421875,
0.52294921875,
0.7421875
],
[
0.1356201171875,
0.74365234375,
0.488525390625,
0.74365234375,
0.488525390625,
0.7568359375,
0.1356201171875,
0.7568359375
],
[
0.11767578125,
0.76025390625,
0.48779296875,
0.76025390625,
0.48779296875,
0.7744140625,
0.11767578125,
0.7744140625
],
[
0.5087890625,
0.77587890625,
0.5458984375,
0.77587890625,
0.5458984375,
0.7861328125,
0.5087890625,
0.7861328125
],
[
0.54150390625,
0.7734375,
0.64892578125,
0.7734375,
0.64892578125,
0.787109375,
0.54150390625,
0.787109375
],
[
0.1168212890625,
0.79443359375,
0.490234375,
0.79443359375,
0.490234375,
0.8095703125,
0.1168212890625,
0.8095703125
],
[
0.11767578125,
0.77783203125,
0.488525390625,
0.77783203125,
0.488525390625,
0.79150390625,
0.11767578125,
0.79150390625
],
[
0.5087890625,
0.79736328125,
0.88134765625,
0.798828125,
0.88134765625,
0.81298828125,
0.5087890625,
0.8125
],
[
0.1168212890625,
0.8125,
0.488525390625,
0.8125,
0.488525390625,
0.8271484375,
0.1168212890625,
0.8271484375
],
[
0.5107421875,
0.81640625,
0.8798828125,
0.81640625,
0.8798828125,
0.830078125,
0.5107421875,
0.830078125
],
[
0.11517333984375,
0.8291015625,
0.490234375,
0.830078125,
0.490234375,
0.8447265625,
0.11517333984375,
0.84326171875
],
[
0.5107421875,
0.83203125,
0.74169921875,
0.83349609375,
0.74169921875,
0.84765625,
0.5107421875,
0.8466796875
],
[
0.11517333984375,
0.84765625,
0.48779296875,
0.84521484375,
0.48779296875,
0.85986328125,
0.11517333984375,
0.8623046875
],
[
0.11767578125,
0.8623046875,
0.48779296875,
0.86279296875,
0.48779296875,
0.87744140625,
0.11767578125,
0.876953125
],
[
0.51708984375,
0.86572265625,
0.8759765625,
0.86572265625,
0.8759765625,
0.8896484375,
0.51708984375,
0.8896484375
],
[
0.1168212890625,
0.880859375,
0.48779296875,
0.880859375,
0.48779296875,
0.89599609375,
0.1168212890625,
0.89599609375
],
[
0.71826171875,
0.88623046875,
0.74267578125,
0.88623046875,
0.74267578125,
0.8984375,
0.71826171875,
0.8984375
],
[
0.1168212890625,
0.896484375,
0.48779296875,
0.89794921875,
0.48779296875,
0.912109375,
0.1168212890625,
0.9111328125
],
[
0.85888671875,
0.896484375,
0.8857421875,
0.896484375,
0.8857421875,
0.91357421875,
0.85888671875,
0.91357421875
]
] |
[
"ARTICLE",
"ADJECTIVE",
"NOUN",
"捷克语有970个标签!",
"ART.DEF.NOM.SG.FEM",
"ADJ.NOM.SG.FEM",
"N.NOM.SG.FEM",
"die",
"groBte",
"Stadt",
"ToPIC : discuss distributional morphology",
"the",
"biggest",
"city",
"显然,确定单词的形态标记所需的许多信息都",
"编码在单词本身中。例如,后缀ed通常表示英",
"Table I: A sample German phrase in TIGER (Brants",
"语中的过去时态。然而,分布相似性也被证明是",
"et al., 2004) annotation with an accompanying En-",
"形态学(YarowskyandWicentowski,2000Schone",
"glish translation. Each word is annotated with a com-",
"andJurafsky,2001)的重要线索。就像上下文签",
"plex morphological tag and its corresponding coarse-",
"grained POS tag. For instance, St adt is annotated with",
"名被可靠地利用到词典(Harris,1954)一you",
"N.NoM.SG.FEM indicating that it is a noun in the nom-",
"shall know the meaning of the word by the company",
"inative case and also both singular and feminine",
"itkeeps(Firth,1957)---的语义的近似值一样,它",
"Each tag is composed of meaningful sub-tag units that",
"们也可以被类似地用于形态分析。这不是一个意",
"are shared across whole tags, e.g., the feature NoM fires",
"外的结果一",
"一在德语中,e。g。,我们希望在属格",
"on both adjectives and nouns.",
"情况下形容词后面的名词本身也在属格情况下",
"我们的模型旨在完成的大部分工作是隔离确实",
"轻松合并形态结构以及词性(POS)标签。最",
"可以预测形态的上下文签名的组成部分",
"近,MillerandSchitze(2011)使用通用后缀训",
"3",
"Log-Bilinear Model",
"练了一个基于类的LM-通常表示形态学-在使用",
"Kneser-NeyLM进行插值时实现了最新的结果。",
"LBL是著名的对数线性模型的推广。关键的区",
"在神经概率建模中,Luongetal.(2013)描述了",
"别在于它如何处理功能-而不是使用手工制作的",
"个递归神经网络LM:其拓扑来自MORFES-",
"功能,LBLlearns的功能以及权重。在语言建",
"SOR的输出,这是一种无监督的形态分割工具",
"模设置中,我们定义以下模型",
"(Creutz andLagus,2005)。同样,Qiuetal.(2014)",
"exp(se(w, h)",
"p(w /h) _",
"(1)",
"Zwexp (se(w', h))\"",
"变体和整个单词-也利用了MORFESSOR。LM由",
"增强了WORD2vEC(Mikolovetal.,2013)以嵌人",
"",
"其中w是一个单词,h是一个历史,se是一个",
"dos SantosandZadrozny(2014)使用具有k-best",
"能量函数。遵循MnihandTeh(2012)的表示法,",
"最大池化层的卷积神经网络解决,以提取字符",
"在LBL中定义",
"级别n-gram,从而有效地将正交特征插入LM",
"中-在下游POS标记中使用向量在葡萄牙语中取",
"T",
"Se(w, h) f",
"Cirhi",
"qw+bw,",
"(2)",
"/",
"(i-1",
"得了最先进的结果。最后,与我们的模型最相",
"似的是,BothaandBlunsom(2014)引人了加性对",
"数双线性模型(LBL++)。最好概括为神经因子",
"其中n-1是历史长度,参数θ由℃,上下",
"",
"LM,LBL++为单词的每个组成语素创建了单独",
"文特定权重的矩阵R,上下文词嵌入,Q,。请",
"的嵌入,将它们求和以获得单个单词嵌入",
"注意,下标矩阵表示向量e。g。,qw表示单词u",
"的目标单词嵌人,rh,是历史中第i个单词的嵌",
"2.2",
" Computational Morphology",
"入。与所有基于能量的模型一样,梯度的形式为",
"ToPI :Introduce morphological tagging.",
"两个期望值之间的差(LeCunetal.,2006)",
"TOPIC :Overview of the model",
"我们的工作也与形态学标记有关,可以将其",
"视为超细粒度的POS标记。对于形态贫乏的",
"4",
"Morph-LBL",
"集。例如,在其通用POS标记集中,Petrovet",
"语言,如英语,很自然地考虑一个小的标记",
"我们提出了一个多任务目标,该目标在给定历",
"al.(2011)建议使用粗标记NoUN。在屈折丰富的",
"史h的情况下共同预测下一个单词及其形态",
"语言中,如德语,考虑到其他名义属性,e。g。",
"标签t。因此,我们对定义为",
",case,genderandnumber,isalsoimportant。在表1中",
"可以找到带注释的德语短语的示例。这通常会导",
"p(w,t I h) α exp(fT s+ECirh.) qu +bu)",
"致一个大的标签集;e。g。,在Haji(2000)的形",
"i-1",
"态标签集中,英语有137个标签,而形态丰富的",
"(3)"
] |
{
"arxiv_id": "1907.02423",
"language": "zh",
"page_idx": 1
}
|
||
1907.02423-zh-2
|
1907.02423-zh-2.jpg
|
的联合概率分布感兴趣,其中$f_t$是形态标签的手工特征向量$t$和$S$是附加权重矩阵。经过检查,我们看到
(4)
$$p(t\mid w,h)\propto\exp(S^Tf_tq_w)$$
因此,给定单词$w$的固定嵌入$q_w$ ,我们可以将$S$解释为用于预测标签$t$的条件对数线性模型的权重
TOPIC: Describe feature function.
形态标记易于特征化。如表 1 所示,形态标记 ADJ.NOM.SG.FEM 分解为子标记单元 ADJ , NOM , SG 和 FEM 。我们的模型包括标记集中每个子标记单元的二进制特征,并且仅包含给定标记火灾中存在的那些特征;e。g。$,F_\mathrm{ADJ.NOM.SG.FEM}$ 是一个恰好有四个非零分量的向量
# 4.1 Semi-Supervised Learning
在完全监督的情况下,我们上面提出的方法需要一个用形态学标签注释的语料库来训练。这与单词嵌入的关键用例相冲突-它们允许将大型,未注释的语料库轻松合并到有监督的任务 (Turian et al., 2010) 中。为了解决这个问题,我们在部分注释的语料库上训练我们的模型。这里的关键思想是,我们只需要部分标记数据集来引导嵌人, 以确保它们捕获单词的形态属性。我们将没有注释的数据子集 的标签边缘化
## 5 $\textbf{Evaluation}$
在我们的评估中,我们尝试从本质上确定嵌入空间中相似的单词在形态上是否确实是相关的。定性评估,如图1所示,表明情况是这样的
## 5.1 MorphoSim
我们为形态学驱动的嵌人引人了一种新的评估指标,以对模型进行定量评分。粗略地说,我们要评估的问题是:在嵌入空间中相似的单词是否也在形态上相关?给定一个单词$w$及其嵌入$q_w$ , $令$ ${\mathcal{M} }_w$ $为 与$ $w$ $相 关 的 形 态 标 记 集 , 由 位 向 量$ 表示。这是一个集合,因为单词可能有几个词法解析。然后我们的度量定义如下,
$$\text{MORPHOSIM}(w)\stackrel{\text{def}}{=}-\sum_{w'\in\mathcal{K}_w}\min_{m_w,m_{w'}}d_h(m_w,m_{w'})$$
其中$m_w\in \mathcal{M} _w$ , $m_{w^{\prime }}\in \mathcal{M} _{w^{\prime }}$ , $d_h$ 是汉明距离, $\mathcal{K}_w$是嵌入空间中接近$w$的一组单词。在选择集合$\mathcal{K}_w$ 时,我们有一定的自由度-在我们的实验
50
<FigureHere>
Figure 1: Projections of our 100 dimensional embeddings onto $\mathbb{R}^2$ through t-SNE (Van der Maaten and Hinton, 2008). Each word is given a distinct color determined by its morphological tag. We see clear clusters reflecting morphological tags and coarse-grained POS—verbs are in various shades of green, adjectives in blue, adverbs in grey and nouns in red and orange. Moreover, we see similarity across coarse-grained POS tags, e.g., the genitive adjective sozialen lives near the genitive noun Friedens , reflecting the fact that“sozialen Friedens” social peace' is a frequently used German phrase.
中,我们使用余弦距离将$\mathcal{K}_w$作为嵌人空间中的$k$ -最近邻居 ($k$ -NN)。我们报告了各种$k$在此评估指标下的性能。请注意,MORPHOSIM 可以被视为$k$ -NN 的软版本-我们不仅测量一个单词是否具有与其邻居相同的形态标签,而且还具有similar 形态标签
类似于 MoRPHOSIM 的指标已应用于语音识别社区。例如,Levin et al.(2013) 对保持语言相似性的固定长度声学嵌人的评估具有类似的动机
### 6 $\textbf{Experiments and Results}$
为了展示我们的方法的潜力,我们选择对形态丰富的语言德语进行案例研究。我们在报纸德语 (Brants et al., 2004)的 TIGER 语料库上进行了实验。据我们所知,以前没有任何单词嵌入技术试图以监督的方式将 morphological tags 合并到嵌入中。我们再次注意到,最近有关于将morphological segmentations 合并到嵌入中的工作-通常是使用分割器的流水线方法,例如。g。, MORFESSOR , 作为预处理步骤,但我们通过使用不同的形态学观点来区分我们的模型
|
[
[
0.1192626953125,
0.09344482421875,
0.48779296875,
0.09344482421875,
0.48779296875,
0.106689453125,
0.1192626953125,
0.106689453125
],
[
0.11767578125,
0.10986328125,
0.48779296875,
0.10986328125,
0.48779296875,
0.12371826171875,
0.11767578125,
0.12371826171875
],
[
0.521484375,
0.1142578125,
0.53515625,
0.1142578125,
0.53515625,
0.12249755859375,
0.521484375,
0.12249755859375
],
[
0.69140625,
0.11614990234375,
0.73193359375,
0.11614990234375,
0.73193359375,
0.126953125,
0.69140625,
0.126953125
],
[
0.11517333984375,
0.126953125,
0.223876953125,
0.126953125,
0.223876953125,
0.141357421875,
0.11517333984375,
0.141357421875
],
[
0.68896484375,
0.126953125,
0.74609375,
0.126953125,
0.74609375,
0.1383056640625,
0.68896484375,
0.1383056640625
],
[
0.51953125,
0.1337890625,
0.53759765625,
0.1337890625,
0.53759765625,
0.1483154296875,
0.51953125,
0.1483154296875
],
[
0.59326171875,
0.1363525390625,
0.64453125,
0.1363525390625,
0.64453125,
0.146484375,
0.59326171875,
0.146484375
],
[
0.67724609375,
0.1383056640625,
0.7548828125,
0.1363525390625,
0.7548828125,
0.15087890625,
0.67724609375,
0.15283203125
],
[
0.6044921875,
0.147705078125,
0.654296875,
0.147705078125,
0.654296875,
0.1578369140625,
0.6044921875,
0.1578369140625
],
[
0.78125,
0.146484375,
0.8486328125,
0.1458740234375,
0.8486328125,
0.1572265625,
0.78125,
0.1578369140625
],
[
0.56396484375,
0.1558837890625,
0.5888671875,
0.1558837890625,
0.5888671875,
0.1634521484375,
0.56396484375,
0.1634521484375
],
[
0.71826171875,
0.1546630859375,
0.81884765625,
0.1546630859375,
0.81884765625,
0.177978515625,
0.71826171875,
0.177978515625
],
[
0.465576171875,
0.1578369140625,
0.488525390625,
0.1578369140625,
0.488525390625,
0.17236328125,
0.465576171875,
0.17236328125
],
[
0.200927734375,
0.1572265625,
0.40283203125,
0.1558837890625,
0.40283203125,
0.173583984375,
0.200927734375,
0.1749267578125
],
[
0.521484375,
0.160400390625,
0.53515625,
0.160400390625,
0.53515625,
0.17041015625,
0.521484375,
0.17041015625
],
[
0.6337890625,
0.1610107421875,
0.65673828125,
0.1610107421875,
0.65673828125,
0.1654052734375,
0.6337890625,
0.1654052734375
],
[
0.66015625,
0.1578369140625,
0.70166015625,
0.1590576171875,
0.70166015625,
0.1666259765625,
0.66015625,
0.1654052734375
],
[
0.56640625,
0.1654052734375,
0.619140625,
0.1654052734375,
0.619140625,
0.175537109375,
0.56640625,
0.175537109375
],
[
0.625,
0.17236328125,
0.76123046875,
0.17041015625,
0.76123046875,
0.1817626953125,
0.625,
0.184326171875
],
[
0.7548828125,
0.17236328125,
0.81201171875,
0.1749267578125,
0.81201171875,
0.1849365234375,
0.7548828125,
0.18310546875
],
[
0.52392578125,
0.1817626953125,
0.53759765625,
0.186279296875,
0.53173828125,
0.1956787109375,
0.51953125,
0.1912841796875
],
[
0.82275390625,
0.1787109375,
0.86767578125,
0.1787109375,
0.86767578125,
0.189453125,
0.82275390625,
0.189453125
],
[
0.11767578125,
0.189453125,
0.400390625,
0.1900634765625,
0.400390625,
0.2052001953125,
0.11767578125,
0.203857421875
],
[
0.6044921875,
0.189453125,
0.6435546875,
0.189453125,
0.6435546875,
0.1962890625,
0.6044921875,
0.1962890625
],
[
0.81640625,
0.189453125,
0.875,
0.189453125,
0.875,
0.2008056640625,
0.81640625,
0.2008056640625
],
[
0.58642578125,
0.1956787109375,
0.6689453125,
0.1962890625,
0.6689453125,
0.20703125,
0.58642578125,
0.205810546875
],
[
0.8349609375,
0.199462890625,
0.875,
0.199462890625,
0.875,
0.2108154296875,
0.8349609375,
0.2108154296875
],
[
0.39453125,
0.1912841796875,
0.486083984375,
0.1912841796875,
0.486083984375,
0.20263671875,
0.39453125,
0.20263671875
],
[
0.1168212890625,
0.20703125,
0.48779296875,
0.20703125,
0.48779296875,
0.2215576171875,
0.1168212890625,
0.2215576171875
],
[
0.52685546875,
0.208984375,
0.53125,
0.208984375,
0.53125,
0.2139892578125,
0.52685546875,
0.2139892578125
],
[
0.61279296875,
0.203857421875,
0.69677734375,
0.210205078125,
0.6953125,
0.2215576171875,
0.611328125,
0.21533203125
],
[
0.5556640625,
0.21337890625,
0.58837890625,
0.21337890625,
0.58837890625,
0.2259521484375,
0.5556640625,
0.2259521484375
],
[
0.63818359375,
0.21533203125,
0.69921875,
0.2203369140625,
0.69775390625,
0.231689453125,
0.63623046875,
0.2266845703125
],
[
0.81640625,
0.2171630859375,
0.87841796875,
0.2171630859375,
0.87841796875,
0.2279052734375,
0.81640625,
0.2279052734375
],
[
0.1168212890625,
0.2259521484375,
0.15283203125,
0.2259521484375,
0.15283203125,
0.2374267578125,
0.1168212890625,
0.2374267578125
],
[
0.53125,
0.2235107421875,
0.6396484375,
0.2279052734375,
0.63818359375,
0.242431640625,
0.529296875,
0.238037109375
],
[
0.5185546875,
0.2310791015625,
0.5361328125,
0.2310791015625,
0.5361328125,
0.238037109375,
0.5185546875,
0.238037109375
],
[
0.7998046875,
0.2279052734375,
0.8486328125,
0.2259521484375,
0.8486328125,
0.236083984375,
0.7998046875,
0.238037109375
],
[
0.54345703125,
0.238037109375,
0.5703125,
0.238037109375,
0.5703125,
0.250732421875,
0.54345703125,
0.250732421875
],
[
0.62744140625,
0.238037109375,
0.6650390625,
0.238037109375,
0.6650390625,
0.24560546875,
0.62744140625,
0.24560546875
],
[
0.80224609375,
0.2374267578125,
0.875,
0.236083984375,
0.875,
0.2474365234375,
0.80224609375,
0.248779296875
],
[
0.77783203125,
0.246826171875,
0.80126953125,
0.2442626953125,
0.80224609375,
0.251953125,
0.779296875,
0.25390625
],
[
0.12335205078125,
0.250732421875,
0.38232421875,
0.250732421875,
0.38232421875,
0.264404296875,
0.12335205078125,
0.264404296875
],
[
0.51708984375,
0.255126953125,
0.53515625,
0.255126953125,
0.53515625,
0.264404296875,
0.51708984375,
0.264404296875
],
[
0.74853515625,
0.255126953125,
0.826171875,
0.255126953125,
0.826171875,
0.26513671875,
0.74853515625,
0.26513671875
],
[
0.58251953125,
0.264404296875,
0.6640625,
0.264404296875,
0.6640625,
0.274658203125,
0.58251953125,
0.274658203125
],
[
0.77783203125,
0.267578125,
0.81396484375,
0.267578125,
0.81396484375,
0.274658203125,
0.77783203125,
0.274658203125
],
[
0.11767578125,
0.268310546875,
0.488525390625,
0.268310546875,
0.488525390625,
0.2822265625,
0.11767578125,
0.2822265625
],
[
0.611328125,
0.242431640625,
0.66015625,
0.2442626953125,
0.65869140625,
0.2587890625,
0.609375,
0.2568359375
],
[
0.5849609375,
0.271484375,
0.66259765625,
0.274658203125,
0.66259765625,
0.285400390625,
0.5849609375,
0.2822265625
],
[
0.7294921875,
0.272705078125,
0.771484375,
0.272705078125,
0.771484375,
0.2841796875,
0.7294921875,
0.2841796875
],
[
0.51953125,
0.279052734375,
0.53515625,
0.279052734375,
0.53515625,
0.285888671875,
0.51953125,
0.285888671875
],
[
0.7255859375,
0.2822265625,
0.77392578125,
0.2841796875,
0.77294921875,
0.296630859375,
0.7236328125,
0.294189453125
],
[
0.476318359375,
0.290283203125,
0.486083984375,
0.290283203125,
0.486083984375,
0.294189453125,
0.476318359375,
0.294189453125
],
[
0.11767578125,
0.2841796875,
0.48046875,
0.2841796875,
0.48046875,
0.298583984375,
0.11767578125,
0.298583984375
],
[
0.1168212890625,
0.3017578125,
0.48779296875,
0.3017578125,
0.48779296875,
0.31494140625,
0.1168212890625,
0.31494140625
],
[
0.57275390625,
0.309326171875,
0.580078125,
0.309326171875,
0.580078125,
0.313232421875,
0.57275390625,
0.313232421875
],
[
0.64794921875,
0.31005859375,
0.66015625,
0.31005859375,
0.66015625,
0.314453125,
0.64794921875,
0.314453125
],
[
0.7646484375,
0.309326171875,
0.77294921875,
0.309326171875,
0.77294921875,
0.314453125,
0.7646484375,
0.314453125
],
[
0.80224609375,
0.31005859375,
0.81201171875,
0.31005859375,
0.81201171875,
0.314453125,
0.80224609375,
0.314453125
],
[
0.11767578125,
0.318115234375,
0.48779296875,
0.318115234375,
0.48779296875,
0.33203125,
0.11767578125,
0.33203125
],
[
0.60693359375,
0.3125,
0.615234375,
0.30615234375,
0.62158203125,
0.311279296875,
0.61376953125,
0.317626953125
],
[
0.11517333984375,
0.333251953125,
0.49267578125,
0.3359375,
0.49267578125,
0.354248046875,
0.11517333984375,
0.35107421875
],
[
0.5087890625,
0.33203125,
0.88232421875,
0.333251953125,
0.88232421875,
0.3466796875,
0.5087890625,
0.34521484375
],
[
0.5107421875,
0.347900390625,
0.88232421875,
0.347900390625,
0.88232421875,
0.361083984375,
0.5107421875,
0.361083984375
],
[
0.11767578125,
0.354248046875,
0.3857421875,
0.354248046875,
0.3857421875,
0.367431640625,
0.11767578125,
0.367431640625
],
[
0.5107421875,
0.3623046875,
0.88232421875,
0.3623046875,
0.88232421875,
0.375732421875,
0.5107421875,
0.375732421875
],
[
0.1519775390625,
0.380615234375,
0.365234375,
0.3818359375,
0.365234375,
0.396484375,
0.1519775390625,
0.395751953125
],
[
0.5107421875,
0.37744140625,
0.88134765625,
0.37744140625,
0.88134765625,
0.391357421875,
0.5107421875,
0.391357421875
],
[
0.5107421875,
0.393310546875,
0.88232421875,
0.393310546875,
0.88232421875,
0.4072265625,
0.5107421875,
0.4072265625
],
[
0.1168212890625,
0.38330078125,
0.16015625,
0.38330078125,
0.16015625,
0.39453125,
0.1168212890625,
0.39453125
],
[
0.1168212890625,
0.40478515625,
0.488525390625,
0.40478515625,
0.488525390625,
0.41845703125,
0.1168212890625,
0.41845703125
],
[
0.5107421875,
0.4091796875,
0.88134765625,
0.4091796875,
0.88134765625,
0.419189453125,
0.5107421875,
0.419189453125
],
[
0.12744140625,
0.421630859375,
0.488525390625,
0.421630859375,
0.488525390625,
0.43505859375,
0.12744140625,
0.43505859375
],
[
0.5087890625,
0.423583984375,
0.88232421875,
0.423583984375,
0.88232421875,
0.4375,
0.5087890625,
0.4375
],
[
0.11767578125,
0.438232421875,
0.490234375,
0.438232421875,
0.490234375,
0.45263671875,
0.11767578125,
0.45263671875
],
[
0.5087890625,
0.438232421875,
0.8798828125,
0.438232421875,
0.8798828125,
0.451904296875,
0.5087890625,
0.451904296875
],
[
0.1168212890625,
0.455810546875,
0.491943359375,
0.455810546875,
0.491943359375,
0.4697265625,
0.1168212890625,
0.4697265625
],
[
0.50732421875,
0.451904296875,
0.88134765625,
0.45263671875,
0.88134765625,
0.46728515625,
0.50732421875,
0.466552734375
],
[
0.11358642578125,
0.4716796875,
0.48779296875,
0.472900390625,
0.48779296875,
0.4873046875,
0.11358642578125,
0.486083984375
],
[
0.5087890625,
0.468505859375,
0.8798828125,
0.468505859375,
0.8798828125,
0.481689453125,
0.5087890625,
0.481689453125
],
[
0.1168212890625,
0.490478515625,
0.48779296875,
0.490478515625,
0.48779296875,
0.50390625,
0.1168212890625,
0.50390625
],
[
0.51318359375,
0.48486328125,
0.83642578125,
0.48486328125,
0.83642578125,
0.49560546875,
0.51318359375,
0.49560546875
],
[
0.11767578125,
0.5068359375,
0.488525390625,
0.5068359375,
0.488525390625,
0.52099609375,
0.11767578125,
0.52099609375
],
[
0.11767578125,
0.5244140625,
0.490234375,
0.5244140625,
0.490234375,
0.53857421875,
0.11767578125,
0.53857421875
],
[
0.495849609375,
0.53076171875,
0.5107421875,
0.53076171875,
0.5107421875,
0.53515625,
0.495849609375,
0.53515625
],
[
0.50634765625,
0.52783203125,
0.88134765625,
0.52783203125,
0.88134765625,
0.54150390625,
0.50634765625,
0.54150390625
],
[
0.1168212890625,
0.54150390625,
0.340576171875,
0.54150390625,
0.340576171875,
0.5546875,
0.1168212890625,
0.5546875
],
[
0.5087890625,
0.54345703125,
0.88134765625,
0.54443359375,
0.88134765625,
0.5595703125,
0.5087890625,
0.55810546875
],
[
0.1217041015625,
0.568359375,
0.134033203125,
0.57763671875,
0.12335205078125,
0.5859375,
0.111083984375,
0.5771484375
],
[
0.51318359375,
0.5625,
0.88134765625,
0.5625,
0.88134765625,
0.5771484375,
0.51318359375,
0.5771484375
],
[
0.1298828125,
0.57373046875,
0.1478271484375,
0.57373046875,
0.1478271484375,
0.58056640625,
0.1298828125,
0.58056640625
],
[
0.1478271484375,
0.57080078125,
0.24267578125,
0.57080078125,
0.24267578125,
0.58544921875,
0.1478271484375,
0.58544921875
],
[
0.51123046875,
0.5791015625,
0.88134765625,
0.5791015625,
0.88134765625,
0.59326171875,
0.51123046875,
0.59326171875
],
[
0.11767578125,
0.59765625,
0.490234375,
0.59765625,
0.490234375,
0.611328125,
0.11767578125,
0.611328125
],
[
0.5107421875,
0.5966796875,
0.88134765625,
0.5966796875,
0.88134765625,
0.60986328125,
0.5107421875,
0.60986328125
],
[
0.11767578125,
0.61572265625,
0.494384765625,
0.61572265625,
0.494384765625,
0.62890625,
0.11767578125,
0.62890625
],
[
0.50634765625,
0.6123046875,
0.64208984375,
0.61279296875,
0.64208984375,
0.62744140625,
0.50634765625,
0.626953125
],
[
0.11767578125,
0.6318359375,
0.455078125,
0.6318359375,
0.455078125,
0.64599609375,
0.11767578125,
0.64599609375
],
[
0.52783203125,
0.6298828125,
0.88134765625,
0.630859375,
0.88134765625,
0.64599609375,
0.52783203125,
0.64453125
],
[
0.51123046875,
0.6484375,
0.88134765625,
0.6484375,
0.88134765625,
0.662109375,
0.51123046875,
0.662109375
],
[
0.11517333984375,
0.66015625,
0.2548828125,
0.66015625,
0.2548828125,
0.673828125,
0.11517333984375,
0.673828125
],
[
0.51123046875,
0.66552734375,
0.88134765625,
0.66552734375,
0.88134765625,
0.6787109375,
0.51123046875,
0.6787109375
],
[
0.11767578125,
0.68310546875,
0.488525390625,
0.68310546875,
0.488525390625,
0.6962890625,
0.11767578125,
0.6962890625
],
[
0.5087890625,
0.6845703125,
0.529296875,
0.6845703125,
0.529296875,
0.6962890625,
0.5087890625,
0.6962890625
],
[
0.11767578125,
0.70068359375,
0.488525390625,
0.70068359375,
0.488525390625,
0.7138671875,
0.11767578125,
0.7138671875
],
[
0.51708984375,
0.71533203125,
0.52685546875,
0.72265625,
0.5185546875,
0.72802734375,
0.5107421875,
0.7216796875
],
[
0.54345703125,
0.7138671875,
0.7548828125,
0.7138671875,
0.7548828125,
0.72900390625,
0.54345703125,
0.72900390625
],
[
0.11517333984375,
0.73095703125,
0.48779296875,
0.73291015625,
0.48779296875,
0.75048828125,
0.11517333984375,
0.74853515625
],
[
0.11767578125,
0.71728515625,
0.48779296875,
0.71728515625,
0.48779296875,
0.73095703125,
0.11767578125,
0.73095703125
],
[
0.51123046875,
0.74365234375,
0.88134765625,
0.74365234375,
0.88134765625,
0.7568359375,
0.51123046875,
0.7568359375
],
[
0.1356201171875,
0.75048828125,
0.486083984375,
0.75048828125,
0.486083984375,
0.7646484375,
0.1356201171875,
0.7646484375
],
[
0.125,
0.7568359375,
0.1356201171875,
0.7568359375,
0.1356201171875,
0.76123046875,
0.125,
0.76123046875
],
[
0.51123046875,
0.76123046875,
0.88134765625,
0.76123046875,
0.88134765625,
0.7744140625,
0.51123046875,
0.7744140625
],
[
0.11767578125,
0.76806640625,
0.488525390625,
0.76806640625,
0.488525390625,
0.7822265625,
0.11767578125,
0.7822265625
],
[
0.51123046875,
0.77783203125,
0.88134765625,
0.77783203125,
0.88134765625,
0.79150390625,
0.51123046875,
0.79150390625
],
[
0.1168212890625,
0.7841796875,
0.371826171875,
0.78515625,
0.371826171875,
0.7998046875,
0.1168212890625,
0.798828125
],
[
0.5146484375,
0.79443359375,
0.88134765625,
0.79443359375,
0.88134765625,
0.8095703125,
0.5146484375,
0.8095703125
],
[
0.11517333984375,
0.81640625,
0.289306640625,
0.81298828125,
0.289306640625,
0.83056640625,
0.11517333984375,
0.833984375
],
[
0.294189453125,
0.81640625,
0.3203125,
0.81640625,
0.3203125,
0.830078125,
0.294189453125,
0.830078125
],
[
0.330078125,
0.81640625,
0.486083984375,
0.818359375,
0.486083984375,
0.83349609375,
0.330078125,
0.83056640625
],
[
0.5107421875,
0.81103515625,
0.88134765625,
0.8125,
0.88134765625,
0.8271484375,
0.5107421875,
0.82568359375
],
[
0.32177734375,
0.830078125,
0.384033203125,
0.830078125,
0.384033203125,
0.84033203125,
0.32177734375,
0.84033203125
],
[
0.51123046875,
0.830078125,
0.88134765625,
0.830078125,
0.88134765625,
0.84326171875,
0.51123046875,
0.84326171875
],
[
0.5087890625,
0.8466796875,
0.88134765625,
0.84521484375,
0.88134765625,
0.85986328125,
0.5087890625,
0.861328125
],
[
0.28515625,
0.8359375,
0.330810546875,
0.8359375,
0.330810546875,
0.84765625,
0.28515625,
0.84765625
],
[
0.11767578125,
0.86279296875,
0.494384765625,
0.86279296875,
0.494384765625,
0.87744140625,
0.11767578125,
0.87744140625
],
[
0.5087890625,
0.85986328125,
0.8857421875,
0.86279296875,
0.8857421875,
0.880859375,
0.5087890625,
0.87744140625
],
[
0.1168212890625,
0.880859375,
0.488525390625,
0.880859375,
0.488525390625,
0.89453125,
0.1168212890625,
0.89453125
],
[
0.5087890625,
0.880859375,
0.88134765625,
0.880859375,
0.88134765625,
0.89453125,
0.5087890625,
0.89453125
],
[
0.11767578125,
0.89794921875,
0.488525390625,
0.89794921875,
0.488525390625,
0.9111328125,
0.11767578125,
0.9111328125
],
[
0.5087890625,
0.89794921875,
0.81396484375,
0.89794921875,
0.81396484375,
0.9111328125,
0.5087890625,
0.9111328125
]
] |
[
"的联合概率分布感兴趣,其中ft是形态标签的",
"手工特征向量t和S是附加权重矩阵。经过检",
"40",
"Stunde",
"查,我们看到",
"Krankheit",
"30",
"Konflikts",
"Frau Familie",
"Friedens",
"erfolgreiche",
"Haus",
"Familinoailie",
"(4)",
"p(t | w, h) α exp(sT ftqw)",
"20",
"ET",
"reichen",
"Landess",
"kalten StundenFrauen",
"schwere",
"10",
"schrieb",
"因此,给定单词w的固定嵌入qw,",
"kontk",
"ging blieb",
"Zweck Frieder",
"sprach",
"我们可以将",
"S解释为用于预测标签t的条件对数线性模型的",
"-",
"Klangzweiter",
"Kind",
"alter neuer",
"gesprochen",
"权重",
"LandHaus altes",
"-10",
"geganger",
"Ziel",
"eweites",
"geschrieben",
"geht",
"TopIC :Describe feature function.",
"20",
"bleibtschreibt",
"NasdagHarald",
"spricht",
"形态标记易于特征化。如表1所示,形态标",
"billiges",
"Andreas Paul",
"wieder",
"30",
"dorthier",
"",
"记ADJ.NOM.SG.FEM分解为子标记单元ADJ",
"NOM,SG和FEM。我们的模型包括标记集中每",
"31",
"10",
"20",
"30",
"个子标记单元的二进制特征,并且仅包含给定标",
"3",
"记火灾中存在的那些特征;e。g。,FADJ.NOM.SG.FEM",
"Figure 1:Projections of our 100 dimensional embeddings",
"onto R2 through t-SNE (Van der Maaten and Hinton,",
"是一个恰好有四个非零分量的向量",
"2008) : Each word is given a distinct color determined",
"Semi-Supervised Learning",
"by its morphological tag. We see clear clusters reflect-",
"ing morphological tags and coarse-grained POS-verbs",
"4.1",
"在完全监督的情况下,我们上面提出的方法需要",
"are in various shades of green,adjectives inblue.adverbs",
"一个用形态学标签注释的语料库来训练。这与单",
"in grey and nouns in red and orange. Moreover, we see",
"词嵌人的关键用例相冲突-它们允许将大型,未",
"similarity across coarse-grained POS tags, e.g., the gen-",
"注释的语料库轻松合并到有监督的任务(Turian",
"itive adjective sozialen lives near the genitive noun",
"etal.,2010)中。为了解决这个问题,我们在部分",
"Friedens , reflecting the fact that \"sozialen Friedens\"",
"注释的语料库上训练我们的模型。这里的关键思",
"social peace'is afrequentlyusedGermanphrase",
"想是,我们只需要部分标记数据集来引导嵌入,",
"以确保它们捕获单词的形态属性。我们将没有注",
"",
"中,我们使用余弦距离将w作为嵌人空间中的",
"释的数据子集的标签边缘化",
"k-最近邻居(k-NN)。我们报告了各种k在此",
"5",
"评估指标下的性能。请注意,MORPHOSIM可以",
"",
"Evaluation",
"被视为k-NN的软版本-我们不仅测量一个单词",
"在我们的评估中,我们尝试从本质上确定嵌入",
"是否具有与其邻居相同的形态标签,而且还具有",
"空间中相似的单词在形态上是否确实是相关的。",
"similar形态标签",
"定性评估,如图1所示,表明情况是这样的",
"类似于MORPHOSIM的指标已应用于语音识",
"别社区。例如,Levinetal.(2013)对保持语言相",
"5.1 MorphoSim",
"似性的固定长度声学嵌入的评估具有类似的动",
"我们为形态学驱动的嵌人引入了一种新的评估",
"机",
"指标,以对模型进行定量评分。粗略地说,我们",
"6",
"Experiments and Results",
"也在形态上相关?给定一个单词w及其嵌入qw",
"要评估的问题是:在嵌入空间中相似的单词是否",
"为了展示我们的方法的潜力,我们选择对形态",
"令Mw为与w相关的形态标记集,由位向量",
"",
"丰富的语言德语进行案例研究。我们在报纸德",
"表示。这是一个集合,因为单词可能有几个词法",
"语(Brantsetal,2004)的TIGER语料库上进行",
"解析。然后我们的度量定义如下,",
"了实验。据我们所知,以前没有任何单词嵌入",
"MORPHOSIM(w)",
"",
"min dh(mw,mw)",
"技术试图以监督的方式将morphologicaltags合",
"mw,mw",
"并到嵌人中。我们再次注意到,最近有关于将",
"morphological segmentations合并到嵌人中的工",
"w'eKw",
"其中mwEMw,mwrEMw,dh是汉明距离,",
"作-通常是使用分割器的流水线方法,例如。g。,",
"Kw是嵌入空间中接近W的一组单词。在选择集",
"MORFESSOR,作为预处理步骤,但我们通过使",
"合K时,我们有一定的自由度-在我们的实验",
"用不同的形态学观点来区分我们的模型"
] |
{
"arxiv_id": "1907.02423",
"language": "zh",
"page_idx": 2
}
|
||
1907.02423-zh-4
|
1907.02423-zh-4.jpg
|
7 Conclusion and Future Work
我们描述了一种新模型 Morph-LBL, 用于形态学引导嵌入的半监督归纳。形态学注释数据与原始文本的结合使我们能够训练保留单词之间形态关系的嵌人。我们的模型轻松地优于在同一语料库上训练的两个基线
虽然上下文签名为形态接近提供了强有力的线索,但正交特征也是强大模型所必需的。考虑单词 loving 和 eating 。两者都可能发生在is/are之后,因此它们的本地上下文签名可能相似。然而,也许一个同样强烈的信号是,这两个词以同一个子字符串 ing 结尾。未来的工作将处理这种字符级功能的集成
我们对将嵌入应用于形态标记和其他任务感兴趣。Word 嵌入已被证明是 NLP 管道中各种任务中的有用功能。形态驱动的嵌人有可能以最先进的形态标记器无法利用的方式利用原始文本,Keith Levin, Katharine Henry, Aren Jansen, and Karen
从而提高下游的标记性能
## 8
Acknowledgements 本材料基于德国-美国富布赖特委员会和国家科学基金会授予第一作者的富布赖特奖学金支持的工作。1423276。第二作者得到了 DeutscheForschungsgemeinschaft 的支持(授予 DFGSCHU2246/10-1)。我们感谢 ThomasM ü ller 对形态学标记进行了一些有见地的讨论,并感谢 JasonEisner 对实验设计进行了讨论。最后, 我们感谢匿名审稿人的许多有用的评论
Mathias Creutz and Krista Lagus. 2005. Unsupervised
Morpheme Segmentation and Morphology Induction from Text Corpora using Morfessor. Publications in Computer and Information Science, Report A, 81.
Cıcero Nogueira dos Santos and Bianca Zadrozny. 2014.
Learning character-level representations for part-of-
speech tagging. In ICML.
John Rupert Firth. 1957. Papers in linguistics, 1934-
$195l.$ Oxford University Press.
Jan Haji. 2000. Morphological tagging: Data vs. dictio-
naries. In $HLT-NAACL.$
Zellig Harris. 1954. Distributional Structure. Word.
Philipp Koehn. 2005. Europarl: A parallel corpus for sta-
tistical machine translation. In $MT\textit{Summit, volume 5}$,
pages 79-86.
Yann LeCun, Sumit Chopra, Raia Hadsell, M Ranzato,
and F Huang. 2006. A Tutorial on Energy-based
Learning. Predicting Structured Data.
Livescu. 2013. Fixed-dimensional acoustic embeddings of variable-length segments in low-resource settings. In Automatic Speech Recognition and Understanding (ASRU), pages 410-415. IEEE.
Minh-Thang Luong, Richard Socher, and C Manning.
2013. Better word representations with recursive neural networks for morphology. In $CoNLL$, volume 104.
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey
Dean. 2013. Efficient estimation of word represen-
tations in vector space. In $ICRL.$
Andriy Mnih and Geoffrey Hinton. 2007. Three new graphical models for statistical language modelling. In $IC\dot{ML}.$
Andriy Mnih and Yee Whye Teh. 2012. A fast and sim-
ple algorithm for training neural probabilistic language
${\mathrm{models.~In~}}ICML.$
Thomas Müller and Hinrich Schütze. 2011. Improved modeling of out-of-vocabularly words using morphological classes. In $ACL.$
Fabian Pedregosa, Gaël Varoquaux, Alexandre Gram-
fort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, et al. 2011. Scikit-learn: Machine learning in Python. The Journal of Machine Learning $Research,12:2825-2830.$
Slav Petrov, Dipanjan Das, and Ryan McDonald. 2011.
A universal part-of-speech tagset. In $LREC.$
Siyu Qiu, Qing Cui, Jiang Bian, Bin Gao, and Tie-Yan
Liu. 2014. Co-learning of word representations and
morpheme representations. In $COLING.$
Herbert Robbins and Sutton Monro. 1951. A Stochastic
Approximation Method. The Annals of Mathematical
Statistics, pages 400-407.
## References
Frédéric Bastien, Pascal Lamblin, Razvan Pascanu,
James Bergstra, Ian J.Goodfellow, Arnaud Bergeron, Nicolas Bouchard, and Yoshua Bengio. 2012. Theano: new features and speed improvements. Deep Learning and Unsupervised Feature Learning NIPS 2012 Workshop.
Jeff A/ Bilmes and Katrin Kirchhoff. 2003. Factored
language models and generalized parallel backoff. In
$HLT-NAACL.$
Jan A. Botha and Phil Blunsom. 2014. Compositional
Morphology for Word Representations and Language
Modelling. In $ICML.$
Sabine Brants, Stefanie Dipper, Peter Eisenberg, Sil-
via Hansen-Schirra, Esther König, Wolfgang Lezius, Christian Rohrer, George Smith, and Hans Uszkoreit. 2004. TIGER: Linguistic interpretation of a German corpus. Research on Language and Computation, 2(4){:}597{-}620.
|
[
[
0.1478271484375,
0.0921630859375,
0.396240234375,
0.0921630859375,
0.396240234375,
0.1060791015625,
0.1478271484375,
0.1060791015625
],
[
0.11517333984375,
0.0985107421875,
0.125,
0.09344482421875,
0.1298828125,
0.0985107421875,
0.12091064453125,
0.10418701171875
],
[
0.5087890625,
0.09344482421875,
0.8837890625,
0.09344482421875,
0.8837890625,
0.106689453125,
0.5087890625,
0.106689453125
],
[
0.52685546875,
0.10919189453125,
0.88232421875,
0.10919189453125,
0.88232421875,
0.12249755859375,
0.52685546875,
0.12249755859375
],
[
0.1168212890625,
0.11932373046875,
0.48779296875,
0.11932373046875,
0.48779296875,
0.1337890625,
0.1168212890625,
0.1337890625
],
[
0.52783203125,
0.12371826171875,
0.88232421875,
0.12371826171875,
0.88232421875,
0.136962890625,
0.52783203125,
0.136962890625
],
[
0.1168212890625,
0.1351318359375,
0.486083984375,
0.1351318359375,
0.486083984375,
0.149658203125,
0.1168212890625,
0.149658203125
],
[
0.52685546875,
0.1395263671875,
0.8544921875,
0.1395263671875,
0.8544921875,
0.15283203125,
0.52685546875,
0.15283203125
],
[
0.11767578125,
0.154052734375,
0.488525390625,
0.154052734375,
0.488525390625,
0.1673583984375,
0.11767578125,
0.1673583984375
],
[
0.5087890625,
0.1558837890625,
0.88134765625,
0.1558837890625,
0.88134765625,
0.169189453125,
0.5087890625,
0.169189453125
],
[
0.11767578125,
0.1717529296875,
0.490234375,
0.1717529296875,
0.490234375,
0.1849365234375,
0.11767578125,
0.1849365234375
],
[
0.52685546875,
0.17041015625,
0.88232421875,
0.17041015625,
0.88232421875,
0.184326171875,
0.52685546875,
0.184326171875
],
[
0.11767578125,
0.1881103515625,
0.29736328125,
0.1881103515625,
0.29736328125,
0.20263671875,
0.11767578125,
0.20263671875
],
[
0.52685546875,
0.1875,
0.69921875,
0.1875,
0.69921875,
0.2008056640625,
0.52685546875,
0.2008056640625
],
[
0.134033203125,
0.2052001953125,
0.490234375,
0.203857421875,
0.490234375,
0.2183837890625,
0.134033203125,
0.2197265625
],
[
0.5087890625,
0.20263671875,
0.8798828125,
0.20263671875,
0.8798828125,
0.2171630859375,
0.5087890625,
0.2171630859375
],
[
0.11767578125,
0.222900390625,
0.488525390625,
0.222900390625,
0.488525390625,
0.236083984375,
0.11767578125,
0.236083984375
],
[
0.52783203125,
0.2183837890625,
0.736328125,
0.2183837890625,
0.736328125,
0.231689453125,
0.52783203125,
0.231689453125
],
[
0.11767578125,
0.2392578125,
0.490234375,
0.2392578125,
0.490234375,
0.25390625,
0.11767578125,
0.25390625
],
[
0.5048828125,
0.2342529296875,
0.88134765625,
0.23486328125,
0.88134765625,
0.25,
0.5048828125,
0.248779296875
],
[
0.11767578125,
0.255615234375,
0.488525390625,
0.255615234375,
0.488525390625,
0.270751953125,
0.11767578125,
0.270751953125
],
[
0.52685546875,
0.250732421875,
0.6845703125,
0.250732421875,
0.6845703125,
0.264404296875,
0.52685546875,
0.264404296875
],
[
0.1168212890625,
0.272705078125,
0.48779296875,
0.272705078125,
0.48779296875,
0.285888671875,
0.1168212890625,
0.285888671875
],
[
0.5087890625,
0.268310546875,
0.8505859375,
0.268310546875,
0.8505859375,
0.2822265625,
0.5087890625,
0.2822265625
],
[
0.11767578125,
0.2890625,
0.48779296875,
0.2890625,
0.48779296875,
0.3037109375,
0.11767578125,
0.3037109375
],
[
0.5087890625,
0.285400390625,
0.88134765625,
0.285400390625,
0.88134765625,
0.298583984375,
0.5087890625,
0.298583984375
],
[
0.52685546875,
0.300537109375,
0.88232421875,
0.300537109375,
0.88232421875,
0.314453125,
0.52685546875,
0.314453125
],
[
0.1168212890625,
0.30810546875,
0.348876953125,
0.30810546875,
0.348876953125,
0.3212890625,
0.1168212890625,
0.3212890625
],
[
0.525390625,
0.317626953125,
0.615234375,
0.314453125,
0.615234375,
0.32763671875,
0.525390625,
0.330810546875
],
[
0.1356201171875,
0.324462890625,
0.488525390625,
0.324462890625,
0.488525390625,
0.339111328125,
0.1356201171875,
0.339111328125
],
[
0.5107421875,
0.333251953125,
0.88134765625,
0.333251953125,
0.88134765625,
0.3466796875,
0.5107421875,
0.3466796875
],
[
0.11767578125,
0.34228515625,
0.488525390625,
0.34228515625,
0.488525390625,
0.35595703125,
0.11767578125,
0.35595703125
],
[
0.52685546875,
0.347900390625,
0.8837890625,
0.347900390625,
0.8837890625,
0.3623046875,
0.52685546875,
0.3623046875
],
[
0.1168212890625,
0.35791015625,
0.488525390625,
0.359130859375,
0.488525390625,
0.373779296875,
0.1168212890625,
0.37255859375
],
[
0.525390625,
0.3623046875,
0.78125,
0.363037109375,
0.78125,
0.37744140625,
0.525390625,
0.376953125
],
[
0.11517333984375,
0.375,
0.494384765625,
0.375732421875,
0.494384765625,
0.39013671875,
0.11517333984375,
0.389404296875
],
[
0.50732421875,
0.37890625,
0.8837890625,
0.380126953125,
0.8837890625,
0.39453125,
0.50732421875,
0.393310546875
],
[
0.1168212890625,
0.393310546875,
0.314453125,
0.393310546875,
0.314453125,
0.40771484375,
0.1168212890625,
0.40771484375
],
[
0.52783203125,
0.395751953125,
0.88134765625,
0.395751953125,
0.88134765625,
0.4091796875,
0.52783203125,
0.4091796875
],
[
0.529296875,
0.412353515625,
0.8798828125,
0.412353515625,
0.8798828125,
0.42236328125,
0.529296875,
0.42236328125
],
[
0.11358642578125,
0.421630859375,
0.1298828125,
0.421630859375,
0.1298828125,
0.4375,
0.11358642578125,
0.4375
],
[
0.525390625,
0.425537109375,
0.88232421875,
0.4248046875,
0.88232421875,
0.439453125,
0.525390625,
0.43994140625
],
[
0.525390625,
0.43994140625,
0.79345703125,
0.439453125,
0.79345703125,
0.453857421875,
0.525390625,
0.455078125
],
[
0.1168212890625,
0.449462890625,
0.48779296875,
0.449462890625,
0.48779296875,
0.46337890625,
0.1168212890625,
0.46337890625
],
[
0.50732421875,
0.455810546875,
0.88134765625,
0.458251953125,
0.88134765625,
0.472900390625,
0.50732421875,
0.47021484375
],
[
0.11517333984375,
0.46533203125,
0.48779296875,
0.466552734375,
0.48779296875,
0.48095703125,
0.11517333984375,
0.479736328125
],
[
0.52783203125,
0.472900390625,
0.88134765625,
0.472900390625,
0.88134765625,
0.486083984375,
0.52783203125,
0.486083984375
],
[
0.1168212890625,
0.48291015625,
0.48779296875,
0.48291015625,
0.48779296875,
0.49755859375,
0.1168212890625,
0.49755859375
],
[
0.525390625,
0.488037109375,
0.88134765625,
0.4873046875,
0.88134765625,
0.501953125,
0.525390625,
0.50244140625
],
[
0.1168212890625,
0.50048828125,
0.48779296875,
0.50048828125,
0.48779296875,
0.51513671875,
0.1168212890625,
0.51513671875
],
[
0.50732421875,
0.50390625,
0.88232421875,
0.5048828125,
0.88232421875,
0.51953125,
0.50732421875,
0.51806640625
],
[
0.1168212890625,
0.5166015625,
0.490234375,
0.517578125,
0.490234375,
0.5322265625,
0.1168212890625,
0.53076171875
],
[
0.52685546875,
0.51953125,
0.88134765625,
0.52099609375,
0.88134765625,
0.53515625,
0.52685546875,
0.5341796875
],
[
0.1168212890625,
0.5341796875,
0.486083984375,
0.5341796875,
0.486083984375,
0.54736328125,
0.1168212890625,
0.54736328125
],
[
0.52783203125,
0.537109375,
0.740234375,
0.537109375,
0.740234375,
0.54736328125,
0.52783203125,
0.54736328125
],
[
0.11767578125,
0.5517578125,
0.486083984375,
0.5517578125,
0.486083984375,
0.56640625,
0.11767578125,
0.56640625
],
[
0.48193359375,
0.556640625,
0.486083984375,
0.556640625,
0.486083984375,
0.56298828125,
0.48193359375,
0.56298828125
],
[
0.5087890625,
0.5517578125,
0.88232421875,
0.55322265625,
0.88232421875,
0.56640625,
0.5087890625,
0.56494140625
],
[
0.1168212890625,
0.5693359375,
0.419189453125,
0.5693359375,
0.419189453125,
0.58349609375,
0.1168212890625,
0.58349609375
],
[
0.52783203125,
0.568359375,
0.8837890625,
0.568359375,
0.8837890625,
0.58203125,
0.52783203125,
0.58203125
],
[
0.52685546875,
0.58203125,
0.57275390625,
0.58203125,
0.57275390625,
0.5966796875,
0.52685546875,
0.5966796875
],
[
0.5087890625,
0.599609375,
0.8798828125,
0.599609375,
0.8798828125,
0.61279296875,
0.5087890625,
0.61279296875
],
[
0.11517333984375,
0.611328125,
0.2115478515625,
0.61279296875,
0.2115478515625,
0.62890625,
0.11517333984375,
0.626953125
],
[
0.52783203125,
0.6162109375,
0.88232421875,
0.6162109375,
0.88232421875,
0.6298828125,
0.52783203125,
0.6298828125
],
[
0.52685546875,
0.630859375,
0.646484375,
0.630859375,
0.646484375,
0.64453125,
0.52685546875,
0.64453125
],
[
0.11517333984375,
0.6396484375,
0.490234375,
0.6396484375,
0.490234375,
0.65283203125,
0.11517333984375,
0.65283203125
],
[
0.13232421875,
0.65283203125,
0.48779296875,
0.65283203125,
0.48779296875,
0.66650390625,
0.13232421875,
0.66650390625
],
[
0.5087890625,
0.64794921875,
0.8837890625,
0.64794921875,
0.8837890625,
0.6611328125,
0.5087890625,
0.6611328125
],
[
0.525390625,
0.662109375,
0.88134765625,
0.66357421875,
0.88134765625,
0.67822265625,
0.525390625,
0.6767578125
],
[
0.134033203125,
0.66845703125,
0.488525390625,
0.66845703125,
0.488525390625,
0.681640625,
0.134033203125,
0.681640625
],
[
0.134033203125,
0.68310546875,
0.48779296875,
0.68310546875,
0.48779296875,
0.6962890625,
0.134033203125,
0.6962890625
],
[
0.52685546875,
0.6787109375,
0.685546875,
0.6787109375,
0.685546875,
0.6923828125,
0.52685546875,
0.6923828125
],
[
0.13232421875,
0.69873046875,
0.488525390625,
0.69873046875,
0.488525390625,
0.7119140625,
0.13232421875,
0.7119140625
],
[
0.50732421875,
0.69580078125,
0.88134765625,
0.69580078125,
0.88134765625,
0.708984375,
0.50732421875,
0.708984375
],
[
0.131591796875,
0.7119140625,
0.24267578125,
0.7138671875,
0.24267578125,
0.72900390625,
0.131591796875,
0.7265625
],
[
0.52685546875,
0.71044921875,
0.88232421875,
0.71044921875,
0.88232421875,
0.7236328125,
0.52685546875,
0.7236328125
],
[
0.11358642578125,
0.72998046875,
0.490234375,
0.72998046875,
0.490234375,
0.74365234375,
0.11358642578125,
0.74365234375
],
[
0.52685546875,
0.724609375,
0.88134765625,
0.724609375,
0.88134765625,
0.73779296875,
0.52685546875,
0.73779296875
],
[
0.131591796875,
0.74560546875,
0.490234375,
0.74560546875,
0.490234375,
0.7587890625,
0.131591796875,
0.7587890625
],
[
0.52685546875,
0.74072265625,
0.88232421875,
0.7392578125,
0.88232421875,
0.75390625,
0.52685546875,
0.7548828125
],
[
0.52685546875,
0.7548828125,
0.88232421875,
0.755859375,
0.88232421875,
0.77099609375,
0.52685546875,
0.76953125
],
[
0.134033203125,
0.76123046875,
0.221435546875,
0.76123046875,
0.221435546875,
0.77294921875,
0.134033203125,
0.77294921875
],
[
0.11358642578125,
0.77587890625,
0.488525390625,
0.77587890625,
0.488525390625,
0.79052734375,
0.11358642578125,
0.79052734375
],
[
0.52685546875,
0.77099609375,
0.701171875,
0.77099609375,
0.701171875,
0.7841796875,
0.52685546875,
0.7841796875
],
[
0.13232421875,
0.79150390625,
0.490234375,
0.79150390625,
0.490234375,
0.80615234375,
0.13232421875,
0.80615234375
],
[
0.5087890625,
0.78857421875,
0.88134765625,
0.78857421875,
0.88134765625,
0.8017578125,
0.5087890625,
0.8017578125
],
[
0.131591796875,
0.8046875,
0.275390625,
0.80615234375,
0.275390625,
0.82080078125,
0.131591796875,
0.8193359375
],
[
0.52783203125,
0.8037109375,
0.81787109375,
0.8037109375,
0.81787109375,
0.8173828125,
0.52783203125,
0.8173828125
],
[
0.11517333984375,
0.8212890625,
0.490234375,
0.8212890625,
0.490234375,
0.8359375,
0.11517333984375,
0.8359375
],
[
0.5087890625,
0.82080078125,
0.88232421875,
0.82080078125,
0.88232421875,
0.833984375,
0.5087890625,
0.833984375
],
[
0.134033203125,
0.8369140625,
0.490234375,
0.8369140625,
0.490234375,
0.8515625,
0.134033203125,
0.8515625
],
[
0.52685546875,
0.83544921875,
0.8837890625,
0.83544921875,
0.8837890625,
0.8486328125,
0.52685546875,
0.8486328125
],
[
0.134033203125,
0.8515625,
0.488525390625,
0.8515625,
0.488525390625,
0.86572265625,
0.134033203125,
0.86572265625
],
[
0.52783203125,
0.85107421875,
0.79345703125,
0.85107421875,
0.79345703125,
0.8642578125,
0.52783203125,
0.8642578125
],
[
0.131591796875,
0.8662109375,
0.490234375,
0.8671875,
0.490234375,
0.8818359375,
0.131591796875,
0.880859375
],
[
0.5087890625,
0.8671875,
0.88232421875,
0.8671875,
0.88232421875,
0.880859375,
0.5087890625,
0.880859375
],
[
0.134033203125,
0.88330078125,
0.490234375,
0.88330078125,
0.490234375,
0.896484375,
0.134033203125,
0.896484375
],
[
0.52783203125,
0.88330078125,
0.8837890625,
0.88330078125,
0.8837890625,
0.896484375,
0.52783203125,
0.896484375
],
[
0.134033203125,
0.8984375,
0.2279052734375,
0.8984375,
0.2279052734375,
0.91015625,
0.134033203125,
0.91015625
],
[
0.525390625,
0.89794921875,
0.701171875,
0.896484375,
0.701171875,
0.9111328125,
0.525390625,
0.912109375
]
] |
[
"Conclusion and Future Work",
">",
"Mathias Creutz and Krista Lagus. 2005.Unsupervised",
"Morpheme Segmentation and Morphology Induction",
"我们描述了一种新模型Morph-LBL,用于形态",
"from Text Corpora using Morfessor. Publications in",
"学引导嵌入的半监督归纳。形态学注释数据与原",
"Computer and Information Science, Report A, 81.",
"始文本的结合使我们能够训练保留单词之间形",
"Cicero Nogueira dos Santos and Bianca Zadrozny.2014.",
"态关系的嵌入。我们的模型轻松地优于在同一语",
"Learning character-level representations for part-of-",
"料库上训练的两个基线",
"speech tagging. In ICML.",
"虽然上下文签名为形态接近提供了强有力的",
"John Rupert Firth.1957.Papers in linguistics,1934",
"线索,但正交特征也是强大模型所必需的。考虑",
"1951.Oxford UniversityPress.",
"单词loving和eating。两者都可能发生在",
"Jan Haji. 2000. Morphological tagging: Data vs. dictio-",
"is/are之后,因此它们的本地上下文签名可能",
"naries. In HLT-NAACL.",
"相似。然而,也许一个同样强烈的信号是,这两",
"Zellig Harris. 1954. Distributional Structure. Word.",
"个词以同一个子字符串ing结尾。未来的工作",
"Philipp Koehn. 2005.Europarl: A parallel corpus for sta-",
"tistical machine translation. In MT Summit, volume 5,",
"将处理这种字符级功能的集成",
"pages 79-86.",
"我们对将嵌入应用于形态标记和其他任务感",
"Yann LeCun, Sumit Chopra, Raia Hadsell, M Ranzato,",
"兴趣。Word嵌人已被证明是NLP管道中各种任",
"and F Huang.2006.A Tutorial on Energy-based",
"务中的有用功能。形态驱动的嵌入有可能以最先",
"Learning. Predicting Structured Data.",
"进的形态标记器无法利用的方式利用原始文本,",
"Keith Levin, Katharine Henry, Aren Jansen, and Karen",
"从而提高下游的标记性能",
"Livescu. 2013. Fixed-dimensional acoustic embed-",
"dings of variable-length segments in low-resource set-",
"8",
"tings.In Automatic Speech Recognition and Under-",
"standing (ASRU),pages 410-415.IEEE.",
"Acknowledgements本材料基于德国-美国富布赖",
"Minh-Thang Luong, Richard Socher, and C Manning",
"特委员会和国家科学基金会授予第一作者的富",
"2013. Better word representations with recursive neu-",
"布赖特奖学金支持的工作。1423276。第二作者得",
"ral networks for morphology. In CoNLL, volume 104.",
"到了DeutscheForschungsgemeinschaft的支持(授",
"Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey",
"予DFGSCHU2246/10-1)。我们感谢ThomasMü",
"Dean.2013. Efficient estimation of word represen-",
"ller对形态学标记进行了一些有见地的讨论:并",
"tationsinvectorspace.InICRL.",
"感谢JasonEisner对实验设计进行了讨论。。最后",
".",
"AndriyMnih and GeoffreyHinton.2007.Threenew",
"我们感谢匿名审稿人的许多有用的评论",
"graphical models for statistical language modelling. In",
"ICML.",
"Andriy Mnih and Yee Whye Teh. 2012. A fast and sim-",
"References",
"ple algorithm for training neural probabilistic language",
"models. In ICML.",
"Fredéric Bastien, Pascal Lamblin, Razvan Pascanu,",
"James Bergstra, Ian J. Goodfellow, Arnaud Berg-",
"Thomas Mullerand Hinrich Schutze.2011.Improved",
"modeling of out-of-vocabularly words using morpho-",
"eron, Nicolas Bouchard, and Yoshua Bengio. 2012.",
"Theano: new features and speed improvements. Deep",
"logical classes. In ACL.",
"Learning and Unsupervised Feature Learning NIPS",
"Fabian Pedregosa, Gael Varoquaux, Alexandre Gram-",
"2012Workshop.",
"fort, Vincent Michel, Bertrand Thirion, Olivier Grisel.",
"Jeff A/Bilmes and Katrin Kirchhoff.2003.Factored",
"Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vin-",
"language models and generalized parallel backoff. In",
"cent Dubourg, et al. 201l. Scikit-learn: Machine",
"learning in Python. The Journal of Machine Learning",
"HLT-NAACL",
"Jan A. Botha and Phil Blunsom. 2014. Compositional",
"Research, 12:2825-2830.",
"Morphology for Word Representations and Language",
"Slav Petrov, Dipanjan Das, and Ryan McDonald. 2011.",
"Modelling. In ICML.",
"A universal part-of-speech tagset. In LREC.",
"Sabine Brants, Stefanie Dipper, Peter Eisenberg, Sil-",
"Siyu Qiu, Qing Cui, Jiang Bian, Bin Gao, and Tie-Yan",
"via Hansen-Schirra, Esther Konig, Wolfgang Lezius,",
"Liu. 2014. Co-learning of word representations and",
"Christian Rohrer, George Smith, and Hans Uszkor-",
"morpheme representations. In COLING.",
"eit. 2004. TIGER: Linguistic interpretation of a Ger-",
"Herbert Robbins and Sutton Monro. 1951. A Stochastic",
"man corpus. Research on Language and Computation,",
"Approximation Method. The Annals of Mathematical",
"2(4):597-620.",
"Statistics, pages 400-407."
] |
{
"arxiv_id": "1907.02423",
"language": "zh",
"page_idx": 4
}
|
||
2403.01400-zh-0
|
2403.01400-zh-0.jpg
|
Published as a conference paper at ICLR 2024
# 解耦加权和选择集成多个图预训练任务
$\textbf{Tianyu Fan}^{1,2,*},\textbf{Lirong Wu}^{1,2,*},\textbf{Yufei Huang}^{1,2},\textbf{Haitao Lin}^{1,2}$,
$\mathbf{Cheng~Tan^{1,2},Zhangyang~Gao^{1,2},Stan~Z.~Li^{1,\dagger}}$
$^{1}$Westlake University,$^2$Zhejiang University
$\{$fantianyu,wulirong,huangyufei,linhaitao$\}$@westlake.edu.cn;
$\{$tancheng, gaozhangyang, stan.zq.li$\}$gwestlake.edu.cn
ABSTRACT
Recent years have witnessed the great success of graph pre-training for graph representation learning. With hundreds of graph pre-training tasks proposed, integrating knowledge acquired from multiple pre-training tasks has become a popular research topic. In this paper, we identify two important collaborative processes for this topic:(1) select: how to select an optimal task combination from a given task pool based on their compatibility, and $(\hat{2})$ weigh: how to weigh the selected tasks based on their importance. While there currently has been a lot of work focused on weighing, comparatively little effort has been devoted to selecting. This paper proposes a novel instance-level framework for integrating multiple graph pre-training $\hat{\text{tasks, W eigh A nd S elect (WAS), where the two collaborative processes, weigh-}}$ ing and selecting , are combined by decoupled siamese networks. Specifically, it first adaptively learns an optimal combination of tasks for each instance from a given task pool, based on which a customized instance-level task weighing strategy is learned. Extensive experiments on 16 graph datasets across node-level and graph-level downstream tasks have demonstrated that by combining a few simple but classical tasks, WAS can achieve comparable performance to other leading counterparts. The code is available at https:$\hat{\prime}/g$ithub.com/TianyuFan0504/WAS .
## INTRODUCTION
1
在各种现实世界的应用程序 (例如社交媒体,分子和运输)中,实体之间的关系可以自然地建模为图形。图神经网络 (GNNs) (Hamilton et al., 2017; Veličković et al., 2017; Wu et al., 2023a;e; 2022c) 已经展示了它们处理关系相关任务的强大功能。但是,GNN 中的大多数现有工作都集中在监督或半监督设置上,这些设置需要标记数据,因此价格昂贵且有限。图预训练 (Wu et al., 2021; Xie et al., 2021; Liu et al., 2021c) 的最新进展旨在减少对注释标签的需求,并实现对大量未标记数据的训练。图预训练的主要目的是从大量未标记的数据中提取信息知识,然后将学到的知识转移到一些特定的下游任务中。虽然在这方面已经提出了数百个图形预训练任务 (Sun et al., 2019; Hu et al., 2020b; Zhu et al., 2020b; You et al., 2020a; Zhang et al., 2020; Wu et al., 2023d) , 如图。$\color{red}{1(a)}$,没有一个预训练任务对所有数据集执行得最好因此,集成或更具体地线性加权多个任务已成为比设计更复杂的任务更有效的方法。例如, AutoSSL (Jin et al., 2021) 基于伪同构测度组合任务损失的权重,ParetoGNN (Ju et al., 2022) 通过动态分配提升帕累托最优的权重来协调预训练任务。另一个相关的工作是 AUX-TSE (Han et al., 2021), 它也自适应地组合了不同的任务,但是这种组合出现在微调阶段。然而, 所有这三个作品都以全局方式执行任务加权,忽略了不同实例(e。g。,社交网络中的节点或分子数据集中的图形)可能有自己的特异性。为了解决这个问题,已经提出了 AGSSLE(Wu et al., 2022a) 来在微调阶段学习实例级任务加权策略。尽管如此,这些权衡所有任务的工作只关注重要性问题,而忽略了兼容性问题,即。e。,不同任务之间可能存在的冲突,不能通过简单地权衡所有任务来解决。更严重的是,随着任务池的扩展,兼容性问题变得更加严重,这剥夺了现有方法保持性能增长的能力。因此,有必要选择一些任务来解决它。此外, 以前的工作只评估了节点级任务的有效性,而忽略了图形级任务。我们在表中总结了这些方法的属性。1 并与 WAS 进行比较
我们想通过对几个经典图预训练任务的研究提出几个问题,包括 AttrMask (AM) , ContextPred(CP) (Hu et al, 2020b) , EdgePred (EP) (Hamilton et al., 2017) , (Hu et al., 2020b)(Hu et al., 2020c) , GraphCL (You et al., 2020a) , <NEXT\_TH (Hu et al., 2020c)。1。让我们首
$^*:$Equal Contribution. $\dagger:$ Corresponding Author.
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.048614501953125,
0.1748046875,
0.048614501953125
],
[
0.176513671875,
0.07891845703125,
0.370849609375,
0.07891845703125,
0.370849609375,
0.09661865234375,
0.176513671875,
0.09661865234375
],
[
0.17724609375,
0.10479736328125,
0.451904296875,
0.10479736328125,
0.451904296875,
0.12249755859375,
0.17724609375,
0.12249755859375
],
[
0.181396484375,
0.1483154296875,
0.6259765625,
0.1483154296875,
0.6259765625,
0.1666259765625,
0.181396484375,
0.1666259765625
],
[
0.1846923828125,
0.1654052734375,
0.51318359375,
0.1654052734375,
0.51318359375,
0.18310546875,
0.1846923828125,
0.18310546875
],
[
0.1854248046875,
0.1817626953125,
0.468017578125,
0.1817626953125,
0.468017578125,
0.1956787109375,
0.1854248046875,
0.1956787109375
],
[
0.1846923828125,
0.1956787109375,
0.74609375,
0.1944580078125,
0.74609375,
0.208984375,
0.1846923828125,
0.210205078125
],
[
0.1846923828125,
0.2108154296875,
0.6689453125,
0.2108154296875,
0.6689453125,
0.2247314453125,
0.1846923828125,
0.2247314453125
],
[
0.455810546875,
0.261962890625,
0.5439453125,
0.261962890625,
0.5439453125,
0.2734375,
0.455810546875,
0.2734375
],
[
0.2320556640625,
0.276611328125,
0.7646484375,
0.276611328125,
0.7646484375,
0.290283203125,
0.2320556640625,
0.290283203125
],
[
0.2344970703125,
0.292236328125,
0.765625,
0.292236328125,
0.765625,
0.30615234375,
0.2344970703125,
0.30615234375
],
[
0.2344970703125,
0.30615234375,
0.765625,
0.30615234375,
0.765625,
0.3193359375,
0.2344970703125,
0.3193359375
],
[
0.233642578125,
0.32080078125,
0.765625,
0.32080078125,
0.765625,
0.333984375,
0.233642578125,
0.333984375
],
[
0.233642578125,
0.333984375,
0.765625,
0.333984375,
0.765625,
0.347900390625,
0.233642578125,
0.347900390625
],
[
0.233642578125,
0.347900390625,
0.765625,
0.347900390625,
0.765625,
0.361083984375,
0.233642578125,
0.361083984375
],
[
0.2344970703125,
0.363037109375,
0.7646484375,
0.363037109375,
0.7646484375,
0.373779296875,
0.2344970703125,
0.373779296875
],
[
0.2320556640625,
0.375,
0.765625,
0.375732421875,
0.765625,
0.39013671875,
0.2320556640625,
0.389404296875
],
[
0.2320556640625,
0.38818359375,
0.765625,
0.389404296875,
0.765625,
0.404052734375,
0.2320556640625,
0.40283203125
],
[
0.2344970703125,
0.40283203125,
0.765625,
0.404052734375,
0.765625,
0.415283203125,
0.2344970703125,
0.4140625
],
[
0.2344970703125,
0.417236328125,
0.765625,
0.417236328125,
0.765625,
0.43115234375,
0.2344970703125,
0.43115234375
],
[
0.233642578125,
0.43115234375,
0.765625,
0.43115234375,
0.765625,
0.4443359375,
0.233642578125,
0.4443359375
],
[
0.2344970703125,
0.4443359375,
0.765625,
0.4443359375,
0.765625,
0.458251953125,
0.2344970703125,
0.458251953125
],
[
0.233642578125,
0.458984375,
0.765625,
0.458251953125,
0.765625,
0.4716796875,
0.233642578125,
0.472900390625
],
[
0.2344970703125,
0.4716796875,
0.765625,
0.4716796875,
0.765625,
0.486083984375,
0.2344970703125,
0.486083984375
],
[
0.233642578125,
0.48486328125,
0.765625,
0.4873046875,
0.765625,
0.50048828125,
0.233642578125,
0.498779296875
],
[
0.2344970703125,
0.50048828125,
0.74658203125,
0.50048828125,
0.74658203125,
0.5146484375,
0.2344970703125,
0.5146484375
],
[
0.17236328125,
0.53076171875,
0.34228515625,
0.53271484375,
0.34228515625,
0.54736328125,
0.17236328125,
0.54541015625
],
[
0.176513671875,
0.55615234375,
0.82275390625,
0.55615234375,
0.82275390625,
0.5693359375,
0.176513671875,
0.5693359375
],
[
0.176513671875,
0.57080078125,
0.82177734375,
0.57080078125,
0.82177734375,
0.583984375,
0.176513671875,
0.583984375
],
[
0.1748046875,
0.583984375,
0.82275390625,
0.583984375,
0.82275390625,
0.59765625,
0.1748046875,
0.59765625
],
[
0.1748046875,
0.5966796875,
0.82275390625,
0.59765625,
0.82275390625,
0.611328125,
0.1748046875,
0.60986328125
],
[
0.1748046875,
0.611328125,
0.82177734375,
0.611328125,
0.82177734375,
0.625,
0.1748046875,
0.625
],
[
0.1732177734375,
0.625,
0.82275390625,
0.62548828125,
0.82275390625,
0.64013671875,
0.1732177734375,
0.6396484375
],
[
0.17724609375,
0.6416015625,
0.8203125,
0.6416015625,
0.8203125,
0.6513671875,
0.17724609375,
0.6513671875
],
[
0.1748046875,
0.6513671875,
0.82177734375,
0.65283203125,
0.82177734375,
0.66748046875,
0.1748046875,
0.66650390625
],
[
0.176513671875,
0.66845703125,
0.81884765625,
0.66845703125,
0.81884765625,
0.6787109375,
0.176513671875,
0.6787109375
],
[
0.178955078125,
0.68994140625,
0.8203125,
0.68994140625,
0.8203125,
0.70068359375,
0.178955078125,
0.70068359375
],
[
0.176513671875,
0.7021484375,
0.82177734375,
0.7021484375,
0.82177734375,
0.71533203125,
0.176513671875,
0.71533203125
],
[
0.176513671875,
0.71630859375,
0.82275390625,
0.71630859375,
0.82275390625,
0.72998046875,
0.176513671875,
0.72998046875
],
[
0.1748046875,
0.72900390625,
0.82177734375,
0.72998046875,
0.82177734375,
0.744140625,
0.1748046875,
0.74365234375
],
[
0.1748046875,
0.7421875,
0.82421875,
0.7421875,
0.82421875,
0.76025390625,
0.1748046875,
0.76025390625
],
[
0.176513671875,
0.75830078125,
0.82177734375,
0.75830078125,
0.82177734375,
0.771484375,
0.176513671875,
0.771484375
],
[
0.1748046875,
0.77099609375,
0.82177734375,
0.77099609375,
0.82177734375,
0.7841796875,
0.1748046875,
0.7841796875
],
[
0.176513671875,
0.78515625,
0.82275390625,
0.78515625,
0.82275390625,
0.798828125,
0.176513671875,
0.798828125
],
[
0.1748046875,
0.7998046875,
0.82177734375,
0.7998046875,
0.82177734375,
0.81298828125,
0.1748046875,
0.81298828125
],
[
0.1748046875,
0.81298828125,
0.82177734375,
0.8125,
0.82177734375,
0.8271484375,
0.1748046875,
0.82763671875
],
[
0.176513671875,
0.8271484375,
0.82275390625,
0.8271484375,
0.82275390625,
0.84033203125,
0.176513671875,
0.84033203125
],
[
0.176513671875,
0.84033203125,
0.435546875,
0.84033203125,
0.435546875,
0.85400390625,
0.176513671875,
0.85400390625
],
[
0.176513671875,
0.8623046875,
0.79150390625,
0.8623046875,
0.79150390625,
0.87548828125,
0.176513671875,
0.87548828125
],
[
0.78759765625,
0.8623046875,
0.82421875,
0.8642578125,
0.82275390625,
0.87548828125,
0.7861328125,
0.87353515625
],
[
0.1748046875,
0.87548828125,
0.82275390625,
0.87548828125,
0.82275390625,
0.8896484375,
0.1748046875,
0.8896484375
],
[
0.1732177734375,
0.8896484375,
0.82177734375,
0.88818359375,
0.82177734375,
0.90283203125,
0.1732177734375,
0.90380859375
],
[
0.193603515625,
0.91015625,
0.483642578125,
0.9111328125,
0.483642578125,
0.92529296875,
0.193603515625,
0.9248046875
],
[
0.491943359375,
0.94970703125,
0.5048828125,
0.94970703125,
0.5048828125,
0.96044921875,
0.491943359375,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2024",
"解耦加权和选择",
"集成多个图预训练任务",
"Tianyu Fan1,2,*, Lirong Wu,2,*, Yufei Huangl,2, Haitao Lin,?",
"Cheng Tanl,2, Zhangyang Gaol,2, Stan Z. Lil.t",
"1 Westlake University, 2Zhejiang University",
"[fantianyu,wulirong,huangyufei,linhaitao)@westlake.edu.cn;",
"(tancheng,gaozhangyang,stan.zq.li]@westlake.edu.cn",
"ABSTRACT",
"Recent years have witnessed the great success of graph pre-training for graph",
"representation learning. With hundreds of graph pre-training tasks proposed, inte",
"grating knowledge acquired from multiple pre-training tasks has become a popular",
"research topic. In this paper, we identify two important collaborative processes for",
"this topic: (l) select : how to select an optimal task combination from a given task",
"pool based on their compatibility, and (2) weigh : how to weigh the selected tasks",
"basedontheirimportance.Whiletherecurrentlyhasbeenalotofworkfocusedon",
"weighing,comparatively little effort has been devoted to selecting.This paper pro-",
"poses a novel instance-level framework for integrating multiple graph pre-training",
"tasks,W eigh A nd S elect (WAS),where thetwo collaborative processes, weigh-",
"ing and selecting,are combined by decoupled siamese networks.Specifically, it",
"first adaptively learns an optimal combination of tasks for each instance from a",
"given task pool, based on which a customized instance-level task weighing strat",
"egy is learned.Extensive experiments on 16 graph datasets across node-level and",
"graph-level downstream tasks have demonstrated that by combining a few simple",
"but classical tasks, WAS can achieve comparable performance to other leading",
"counterparts. The code is available at https://github.com/TianyuFan0504/WAS",
"1INTRODUCTION",
"在各种现实世界的应用程序(例如社交媒体,分子和运输)中,实体之间的关系可以自然",
"地建模为图形。图神经网络(GNNs)(Hamiltonetal.,2017;Velickovicetal.2017:Wuetal.",
"2023a;e;2022)已经展示了它们处理关系相关任务的强大功能。但是,GNN中的大多数现",
"有工作都集中在监督或半监督设置上,这些设置需要标记数据,因此价格昂贵且有限。图预",
"训练(Wuetal.,2021;Xieetal,2021;Liuetal.,2021e)的最新进展旨在减少对注释标签的需",
"求,并实现对大量未标记数据的训练。图预训练的主要目的是从大量未标记的数据中提取信",
"息知识,然后将学到的知识转移到一些特定的下游任务中。虽然在这方面已经提出了数百",
"个图形预训练任务(Sun et al.,2019Huetal.,2020b;Zhuetal.,2020bYouetal.,2020a;Zhang",
"etal.,2020:Wuetal2023d),如图。1(a),没有一个预训练任务对所有数据集执行得最好",
"因此,集成或更具体地线性加权多个任务已成为比设计更复杂的任务更有效的方法。例如",
"AutoSSL(Jinetal.,2021)基于伪同构测度组合任务损失的权重,ParetoGNN(Juetal.,2022)",
"通过动态分配提升帕累托最优的权重来协调预训练任务。另一个相关的工作是AUX-TSF",
"(Hanetal.,2021),它也自适应地组合了不同的任务,但是这种组合出现在微调阶段。然而",
"所有这三个作品都以全局方式执行任务加权,忽略了不同实例(e。g。,社交网络中的节点或",
"分子数据集中的图形)可能有自已的特异性。为了解决这个问题,已经提出了AGSSLE(Wu",
"etal.,2022a)来在微调阶段学习实例级任务加权策略。尽管如此,这些权衡所有任务的工作",
"只关注重要性问题,而忽略了兼容性问题,即。e。,不同任务之间可能存在的冲突,不能通",
"过简单地权衡所有任务来解决。更严重的是,随着任务池的扩展,兼容性问题变得更加严",
"重,这剥夺了现有方法保持性能增长的能力。因此,有必要选择一些任务来解决它。此外",
"以前的工作只评估了节点级任务的有效性,而忽略了图形级任务。我们在表中总结了这些",
"方法的属性。1并与WAS进行比较",
"我们想通过对几个经典图预训练任务的研究提出几个问题,包括AttrMask(AM),",
"Con-",
"textPred (CP)(Hu et al., 2020b),EdgePred (EP)(Hamilton et al., 2017),(Hu et al.,2020b)(Hu",
"etal.,2020c),GraphCL(Youetal.,2020a),<NEXT_TH(Huetal.,2020e)。1。让我们首",
"*: Equal Contribution.: Corresponding Author.",
"1"
] |
{
"arxiv_id": "2403.01400",
"language": "zh",
"page_idx": 0
}
|
||
2403.01400-zh-1
|
2403.01400-zh-1.jpg
|
Published as a conference paper at ICLR 2024
<FigureHere>
(a) Dataset Performance
(b) Task Importance
(c) Task Compatibility
Figure l: (a)Performance ranking (1:best,7: poorest) of seven pre-training tasks (rows) on eight datasets (columns). (b) Performance fluctuation on Bace (molecule dataset) when combining two tasks, AM and CP , with different task weight $\lambda.$ (c) Performance gains or drops over that without pre-training when combining two tasks (diagonal represents only a single task) on Bace .
Table l: A comprehensive comparison between previous methods and ours. Stage indicates at what
stage the method is applied. Task Type represents the levels of tasks that the method can handle.
<table>
<tbody>
<tr>
<th> </th>
<th>Instance-level</th>
<th>Weighing</th>
<th>Selecting</th>
<th>Task <Type $\because$</th>
<th>Stage</th>
</tr>
<tr>
<td>AutoSSL(Jin et al., 2021)</td>
<td>$X$</td>
<td>$√$</td>
<td>$X$</td>
<td>Node</td>
<td>pre-training</td>
</tr>
<tr>
<td>ParetoGNN ${\mathsf{V}}($Ju et al., 2022</td>
<td>$X$</td>
<td></td>
<td>$X$</td>
<td>Node</td>
<td>pre-training</td>
</tr>
<tr>
<td>AUX- TS Han et al., 2021)</td>
<td>$X$</td>
<td>1</td>
<td>$X$</td>
<td>Node</td>
<td>fine-tuning</td>
</tr>
<tr>
<td>AGSSL (Wu et al., 2022a)</td>
<td></td>
<td>1</td>
<td>$X$</td>
<td> Graph</td>
<td>fine-tuning</td>
</tr>
<tr>
<td>$WAS$ 1 (ours)</td>
<td> </td>
<td> </td>
<td> </td>
<td>Node & Graph</td>
<td>fine-tunin 15</td>
</tr>
</tbody>
</table>
先得出一个有趣的结论:任务的重要性权衡和任务选择都相当重要,前者解决的是任务重
要性问题,而后者解决的是任务兼容性问题
图。1(b)比较了 AM 和 CP 组合时在不同重要性权重$\lambda$下的性能。我们可以看到,在$\lambda=0.4$ 上实现了最佳性能。虽然任务加权侧重于每个任务的重要性,但它忽略了不同任务之间的兼容性,这限制了现有方法无法实现更高的性能。图中的结果。1(c)说明了集成多个任务时兼容性问题的巨大影响。可以看出,并非所有组合都能带来性能提升,其中一些甚至会降低性能( AM 和 GraphCL 的组合带来了-7。08 下降),这凸显了选择合适任务组合的必要性。请注意,图。1(c)仅显示两个任务之间的组合。随着任务池的扩展,这种组合变得更加复杂, 不同任务之间的冲突可能会变得更加严重
基于上述调查,这里我们想问一下:在微调阶段进行集成时,如何解决不同任务之间的重要性和兼容性问题?我们确定了组合过程中的两个关键问题:(1)任务选择-如何根据任务兼容性从给定的任务池中选择最佳组合,(2)重要性权衡-如何权衡所选任务的重要性。这两个显然是相关的或协作的。更重要的任务应该选择得更多,但是仅根据重要性选择任务会导致严重的任务冲突。虽然以前的作品 AutoSSL, ParetogNN, AUX-TS 和 AGSSL 都专注于重要性权衡,但它们都忽略了任务选择,这使得它们无法随着任务池的扩大而保持性能增长在本文中,我们提出了一个新颖的框架 Weigh A 和 S elect ( WAS), 用于任务选择和重要性加权。两个协作过程在解耦的连体网络中组合,其中(1)根据任务兼容性计算的抽样分布为每个实例选择最佳任务组合,(2)然后根据所选任务的重要性为其计算任务权重。据我们所知,这项工作是首次尝试使用加权&选择策略来集成多个图预训练任务。在 16 个数据集上进行的广泛实验表明,WAS 可以在节点级和图形级任务上实现与其他领先同行相当的性能。我们的贡献总结如下:(1)我们展示了当前仅称重方案的局限性,并证明了任务选择过程的重要性。(2)据我们所知,我们是第一个确定两个重要的协作过程的人:选择和称重; 我们提供了广泛的实验来详细解释为什么两者的协作很重要,它与仅基于称重的方法有何不同以及为什么需要将两个过程解耦。(3)我们提出了一种新颖的框架,可以分别为每个实例自适应,动态,兼容地选择和权衡多个预训练任务
# 2 RELATEDWORKS
图预训练。图神经网络(GNNs) 是从图数据中捕获有用信息的强大工具 (Zügner & Günnemann, 2019; Wu et al, 2022d;b; Hu et al., 2020a)。最近,在预训练 GNNs 方面已经做了很多努力来减轻对昂贵的标记数据的需求并提高泛化能力。这些方法通常使用各种精心设计的预训练任务来在大型未标记数据集上预训练 GNN。通常,主流的预训练任务可以分为三类:生成性,对比性和预测性。EdgePred (Hamilton et al.,2017)、AttrMask (Hu et al., 2020b)和 GPT-GNN (Hu et al., 2020c) 等生成方法专注于在数据内部级别重建每个图的重要信息。此外,对比方法,如 ContextPred (Hu et al.,2020b)、GraphLoG (Xu et al.,2021) 、 GraphCL (You et al., 2020a)和 JOAO (You et al.,2021) , 应用数据转换为每个图构造不同
2
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.406005859375,
0.0738525390625,
0.4306640625,
0.0738525390625,
0.4306640625,
0.08587646484375,
0.406005859375,
0.08587646484375
],
[
0.65283203125,
0.0738525390625,
0.72802734375,
0.0738525390625,
0.72802734375,
0.083984375,
0.65283203125,
0.083984375
],
[
0.734375,
0.0738525390625,
0.771484375,
0.0706787109375,
0.77294921875,
0.080810546875,
0.736328125,
0.083984375
],
[
0.5458984375,
0.07574462890625,
0.5908203125,
0.07574462890625,
0.5908203125,
0.08331298828125,
0.5458984375,
0.08331298828125
],
[
0.223876953125,
0.0770263671875,
0.2607421875,
0.0770263671875,
0.2607421875,
0.08709716796875,
0.223876953125,
0.08709716796875
],
[
0.318603515625,
0.07891845703125,
0.343017578125,
0.07891845703125,
0.343017578125,
0.08209228515625,
0.318603515625,
0.08209228515625
],
[
0.346435546875,
0.08331298828125,
0.35302734375,
0.07763671875,
0.35693359375,
0.080810546875,
0.3505859375,
0.08587646484375
],
[
0.5400390625,
0.07891845703125,
0.57177734375,
0.080810546875,
0.5703125,
0.0889892578125,
0.5390625,
0.08709716796875
],
[
0.240234375,
0.0889892578125,
0.340576171875,
0.0889892578125,
0.340576171875,
0.10101318359375,
0.240234375,
0.10101318359375
],
[
0.6396484375,
0.085205078125,
0.779296875,
0.085205078125,
0.779296875,
0.0985107421875,
0.6396484375,
0.0985107421875
],
[
0.70361328125,
0.0889892578125,
0.71337890625,
0.0889892578125,
0.71337890625,
0.09344482421875,
0.70361328125,
0.09344482421875
],
[
0.7197265625,
0.0889892578125,
0.73046875,
0.0889892578125,
0.73046875,
0.09344482421875,
0.7197265625,
0.09344482421875
],
[
0.408447265625,
0.09027099609375,
0.4248046875,
0.08837890625,
0.42724609375,
0.09783935546875,
0.410888671875,
0.0997314453125
],
[
0.2132568359375,
0.09027099609375,
0.24267578125,
0.09027099609375,
0.24267578125,
0.0985107421875,
0.2132568359375,
0.0985107421875
],
[
0.65283203125,
0.10101318359375,
0.6845703125,
0.0985107421875,
0.685546875,
0.106689453125,
0.65283203125,
0.10919189453125
],
[
0.744140625,
0.10101318359375,
0.775390625,
0.0985107421875,
0.77685546875,
0.111083984375,
0.74609375,
0.11297607421875
],
[
0.64453125,
0.10162353515625,
0.65185546875,
0.10162353515625,
0.65185546875,
0.106689453125,
0.64453125,
0.106689453125
],
[
0.240234375,
0.1029052734375,
0.358642578125,
0.1029052734375,
0.358642578125,
0.11297607421875,
0.240234375,
0.11297607421875
],
[
0.40185546875,
0.1029052734375,
0.406982421875,
0.1029052734375,
0.406982421875,
0.111083984375,
0.40185546875,
0.111083984375
],
[
0.619140625,
0.1142578125,
0.6806640625,
0.11553955078125,
0.6806640625,
0.12371826171875,
0.619140625,
0.12249755859375
],
[
0.2254638671875,
0.10418701171875,
0.240234375,
0.10418701171875,
0.240234375,
0.11236572265625,
0.2254638671875,
0.11236572265625
],
[
0.1854248046875,
0.11553955078125,
0.2418212890625,
0.11553955078125,
0.2418212890625,
0.1256103515625,
0.1854248046875,
0.1256103515625
],
[
0.24267578125,
0.11553955078125,
0.358642578125,
0.11553955078125,
0.358642578125,
0.1256103515625,
0.24267578125,
0.1256103515625
],
[
0.396240234375,
0.11614990234375,
0.426513671875,
0.11871337890625,
0.4248046875,
0.1300048828125,
0.39453125,
0.1275634765625
],
[
0.6787109375,
0.117431640625,
0.71728515625,
0.117431640625,
0.71728515625,
0.121826171875,
0.6787109375,
0.121826171875
],
[
0.74267578125,
0.117431640625,
0.76123046875,
0.117431640625,
0.76123046875,
0.121826171875,
0.74267578125,
0.121826171875
],
[
0.7646484375,
0.117431640625,
0.77685546875,
0.117431640625,
0.77685546875,
0.12371826171875,
0.7646484375,
0.12371826171875
],
[
0.79736328125,
0.117431640625,
0.80224609375,
0.117431640625,
0.80224609375,
0.12371826171875,
0.79736328125,
0.12371826171875
],
[
0.1871337890625,
0.1287841796875,
0.2467041015625,
0.1287841796875,
0.2467041015625,
0.1395263671875,
0.1871337890625,
0.1395263671875
],
[
0.26708984375,
0.1287841796875,
0.35693359375,
0.1287841796875,
0.35693359375,
0.1395263671875,
0.26708984375,
0.1395263671875
],
[
0.61669921875,
0.1287841796875,
0.67626953125,
0.1287841796875,
0.67626953125,
0.1395263671875,
0.61669921875,
0.1395263671875
],
[
0.71728515625,
0.1300048828125,
0.744140625,
0.1300048828125,
0.744140625,
0.136962890625,
0.71728515625,
0.136962890625
],
[
0.74169921875,
0.1300048828125,
0.765625,
0.1300048828125,
0.765625,
0.136962890625,
0.74169921875,
0.136962890625
],
[
0.7646484375,
0.1319580078125,
0.77392578125,
0.1319580078125,
0.77392578125,
0.1363525390625,
0.7646484375,
0.1363525390625
],
[
0.701171875,
0.136962890625,
0.779296875,
0.14013671875,
0.77783203125,
0.1546630859375,
0.69921875,
0.1514892578125
],
[
0.240234375,
0.1427001953125,
0.34228515625,
0.1427001953125,
0.34228515625,
0.154052734375,
0.240234375,
0.154052734375
],
[
0.398681640625,
0.1307373046875,
0.41015625,
0.1383056640625,
0.404296875,
0.143310546875,
0.393798828125,
0.1363525390625
],
[
0.1829833984375,
0.143310546875,
0.2197265625,
0.143310546875,
0.2197265625,
0.15087890625,
0.1829833984375,
0.15087890625
],
[
0.61279296875,
0.1427001953125,
0.705078125,
0.141357421875,
0.705078125,
0.149658203125,
0.61279296875,
0.15087890625
],
[
0.2132568359375,
0.1546630859375,
0.2607421875,
0.1546630859375,
0.2607421875,
0.1666259765625,
0.2132568359375,
0.1666259765625
],
[
0.256591796875,
0.1558837890625,
0.358642578125,
0.1558837890625,
0.358642578125,
0.1673583984375,
0.256591796875,
0.1673583984375
],
[
0.406982421875,
0.1514892578125,
0.42724609375,
0.1514892578125,
0.42724609375,
0.160400390625,
0.406982421875,
0.160400390625
],
[
0.65185546875,
0.1558837890625,
0.74169921875,
0.1558837890625,
0.74169921875,
0.1666259765625,
0.65185546875,
0.1666259765625
],
[
0.76318359375,
0.1572265625,
0.77783203125,
0.1572265625,
0.77783203125,
0.1654052734375,
0.76318359375,
0.1654052734375
],
[
0.74267578125,
0.1578369140625,
0.7548828125,
0.1578369140625,
0.7548828125,
0.1622314453125,
0.74267578125,
0.1622314453125
],
[
0.646484375,
0.1578369140625,
0.65185546875,
0.1578369140625,
0.65185546875,
0.1634521484375,
0.646484375,
0.1634521484375
],
[
0.226318359375,
0.1666259765625,
0.365234375,
0.1673583984375,
0.365234375,
0.1817626953125,
0.226318359375,
0.18115234375
],
[
0.428955078125,
0.1666259765625,
0.490234375,
0.169189453125,
0.488525390625,
0.18115234375,
0.42724609375,
0.177978515625
],
[
0.5439453125,
0.1685791015625,
0.59716796875,
0.1666259765625,
0.59716796875,
0.1767578125,
0.5439453125,
0.1787109375
],
[
0.66015625,
0.1634521484375,
0.7890625,
0.17041015625,
0.78759765625,
0.186279296875,
0.65869140625,
0.1787109375
],
[
0.49267578125,
0.1717529296875,
0.50732421875,
0.1717529296875,
0.50732421875,
0.1749267578125,
0.49267578125,
0.1749267578125
],
[
0.521484375,
0.1717529296875,
0.5361328125,
0.1717529296875,
0.5361328125,
0.179931640625,
0.521484375,
0.179931640625
],
[
0.5361328125,
0.17236328125,
0.54833984375,
0.17236328125,
0.54833984375,
0.1767578125,
0.5361328125,
0.1767578125
],
[
0.496826171875,
0.1749267578125,
0.515625,
0.1749267578125,
0.515625,
0.1787109375,
0.496826171875,
0.1787109375
],
[
0.4794921875,
0.173583984375,
0.5458984375,
0.1767578125,
0.5439453125,
0.1881103515625,
0.47802734375,
0.1849365234375
],
[
0.2115478515625,
0.1925048828125,
0.358642578125,
0.1925048828125,
0.358642578125,
0.205810546875,
0.2115478515625,
0.205810546875
],
[
0.438720703125,
0.1925048828125,
0.5595703125,
0.1932373046875,
0.5595703125,
0.20703125,
0.438720703125,
0.205810546875
],
[
0.64794921875,
0.1944580078125,
0.78125,
0.1944580078125,
0.78125,
0.2052001953125,
0.64794921875,
0.2052001953125
],
[
0.1748046875,
0.2139892578125,
0.82421875,
0.2139892578125,
0.82421875,
0.2279052734375,
0.1748046875,
0.2279052734375
],
[
0.1732177734375,
0.2266845703125,
0.82421875,
0.2279052734375,
0.82421875,
0.2412109375,
0.1732177734375,
0.240478515625
],
[
0.1748046875,
0.2412109375,
0.82421875,
0.2412109375,
0.82421875,
0.255126953125,
0.1748046875,
0.255126953125
],
[
0.1732177734375,
0.255126953125,
0.7587890625,
0.255126953125,
0.7587890625,
0.26953125,
0.1732177734375,
0.26953125
],
[
0.1748046875,
0.281005859375,
0.82421875,
0.281005859375,
0.82421875,
0.294189453125,
0.1748046875,
0.294189453125
],
[
0.1748046875,
0.29541015625,
0.80224609375,
0.29541015625,
0.80224609375,
0.309326171875,
0.1748046875,
0.309326171875
],
[
0.390625,
0.31005859375,
0.54736328125,
0.3125,
0.54736328125,
0.32568359375,
0.390625,
0.323974609375
],
[
0.62158203125,
0.309326171875,
0.67626953125,
0.3125,
0.6748046875,
0.326904296875,
0.62109375,
0.323974609375
],
[
0.71728515625,
0.3125,
0.7509765625,
0.3125,
0.7509765625,
0.324462890625,
0.71728515625,
0.324462890625
],
[
0.498291015625,
0.326904296875,
0.5146484375,
0.326904296875,
0.5146484375,
0.34228515625,
0.498291015625,
0.34228515625
],
[
0.54345703125,
0.313232421875,
0.59716796875,
0.313232421875,
0.59716796875,
0.324462890625,
0.54345703125,
0.324462890625
],
[
0.423095703125,
0.32763671875,
0.43701171875,
0.32763671875,
0.43701171875,
0.339111328125,
0.423095703125,
0.339111328125
],
[
0.56396484375,
0.326904296875,
0.580078125,
0.326904296875,
0.580078125,
0.341552734375,
0.56396484375,
0.341552734375
],
[
0.63232421875,
0.330078125,
0.6650390625,
0.330078125,
0.6650390625,
0.341552734375,
0.63232421875,
0.341552734375
],
[
0.69921875,
0.32763671875,
0.76708984375,
0.330078125,
0.76708984375,
0.3447265625,
0.69921875,
0.34228515625
],
[
0.42236328125,
0.34033203125,
0.439453125,
0.34033203125,
0.439453125,
0.354736328125,
0.42236328125,
0.354736328125
],
[
0.233642578125,
0.330810546875,
0.370849609375,
0.330810546875,
0.370849609375,
0.341552734375,
0.233642578125,
0.341552734375
],
[
0.2320556640625,
0.34228515625,
0.381591796875,
0.34228515625,
0.381591796875,
0.35595703125,
0.2320556640625,
0.35595703125
],
[
0.56201171875,
0.34033203125,
0.5810546875,
0.34033203125,
0.5810546875,
0.354736328125,
0.56201171875,
0.354736328125
],
[
0.63232421875,
0.34228515625,
0.66650390625,
0.34228515625,
0.66650390625,
0.354736328125,
0.63232421875,
0.354736328125
],
[
0.701171875,
0.34228515625,
0.76708984375,
0.34228515625,
0.76708984375,
0.356689453125,
0.701171875,
0.356689453125
],
[
0.70166015625,
0.354248046875,
0.7646484375,
0.35595703125,
0.7646484375,
0.37060546875,
0.70166015625,
0.36865234375
],
[
0.49267578125,
0.343505859375,
0.51123046875,
0.33837890625,
0.5185546875,
0.35107421875,
0.5,
0.356689453125
],
[
0.423095703125,
0.354736328125,
0.43701171875,
0.354736328125,
0.43701171875,
0.3662109375,
0.423095703125,
0.3662109375
],
[
0.564453125,
0.354736328125,
0.57861328125,
0.354736328125,
0.57861328125,
0.3662109375,
0.564453125,
0.3662109375
],
[
0.498291015625,
0.35595703125,
0.51318359375,
0.35595703125,
0.51318359375,
0.3662109375,
0.498291015625,
0.3662109375
],
[
0.2320556640625,
0.35595703125,
0.37744140625,
0.35595703125,
0.37744140625,
0.369384765625,
0.2320556640625,
0.369384765625
],
[
0.63232421875,
0.35595703125,
0.6650390625,
0.35595703125,
0.6650390625,
0.36865234375,
0.63232421875,
0.36865234375
],
[
0.564453125,
0.36865234375,
0.57861328125,
0.36865234375,
0.57861328125,
0.37890625,
0.564453125,
0.37890625
],
[
0.705078125,
0.367431640625,
0.76318359375,
0.37060546875,
0.76123046875,
0.38330078125,
0.70361328125,
0.380126953125
],
[
0.60888671875,
0.369384765625,
0.69140625,
0.37060546875,
0.69140625,
0.3818359375,
0.60888671875,
0.380615234375
],
[
0.233642578125,
0.37060546875,
0.371826171875,
0.37060546875,
0.371826171875,
0.380615234375,
0.233642578125,
0.380615234375
],
[
0.423095703125,
0.369384765625,
0.43701171875,
0.369384765625,
0.43701171875,
0.380126953125,
0.423095703125,
0.380126953125
],
[
0.2296142578125,
0.380615234375,
0.29736328125,
0.38330078125,
0.29736328125,
0.397705078125,
0.2296142578125,
0.395751953125
],
[
0.494384765625,
0.375,
0.50634765625,
0.365478515625,
0.51708984375,
0.373779296875,
0.5048828125,
0.38330078125
],
[
0.496826171875,
0.380615234375,
0.5146484375,
0.380615234375,
0.5146484375,
0.39453125,
0.496826171875,
0.39453125
],
[
0.560546875,
0.380615234375,
0.57861328125,
0.380615234375,
0.57861328125,
0.39453125,
0.560546875,
0.39453125
],
[
0.60888671875,
0.3818359375,
0.689453125,
0.3837890625,
0.689453125,
0.395751953125,
0.60888671875,
0.393310546875
],
[
0.705078125,
0.3837890625,
0.7646484375,
0.3837890625,
0.7646484375,
0.395751953125,
0.705078125,
0.395751953125
],
[
0.17724609375,
0.412353515625,
0.82275390625,
0.412353515625,
0.82275390625,
0.425537109375,
0.17724609375,
0.425537109375
],
[
0.42236328125,
0.3818359375,
0.435546875,
0.3818359375,
0.435546875,
0.393310546875,
0.42236328125,
0.393310546875
],
[
0.176513671875,
0.425537109375,
0.48779296875,
0.425537109375,
0.48779296875,
0.439453125,
0.176513671875,
0.439453125
],
[
0.176513671875,
0.4462890625,
0.826171875,
0.4462890625,
0.826171875,
0.460205078125,
0.176513671875,
0.460205078125
],
[
0.178955078125,
0.4609375,
0.82275390625,
0.4609375,
0.82275390625,
0.474853515625,
0.178955078125,
0.474853515625
],
[
0.1748046875,
0.474853515625,
0.82275390625,
0.473388671875,
0.82275390625,
0.488037109375,
0.1748046875,
0.4892578125
],
[
0.176513671875,
0.4873046875,
0.82275390625,
0.4873046875,
0.82275390625,
0.501953125,
0.176513671875,
0.501953125
],
[
0.17724609375,
0.50244140625,
0.82275390625,
0.50244140625,
0.82275390625,
0.5166015625,
0.17724609375,
0.5166015625
],
[
0.176513671875,
0.5166015625,
0.82421875,
0.5166015625,
0.82421875,
0.52978515625,
0.176513671875,
0.52978515625
],
[
0.17724609375,
0.5322265625,
0.468017578125,
0.5322265625,
0.468017578125,
0.54248046875,
0.17724609375,
0.54248046875
],
[
0.176513671875,
0.5517578125,
0.82421875,
0.5517578125,
0.82421875,
0.56494140625,
0.176513671875,
0.56494140625
],
[
0.176513671875,
0.56494140625,
0.82275390625,
0.56494140625,
0.82275390625,
0.5791015625,
0.176513671875,
0.5791015625
],
[
0.176513671875,
0.580078125,
0.82275390625,
0.580078125,
0.82275390625,
0.59326171875,
0.176513671875,
0.59326171875
],
[
0.178955078125,
0.5947265625,
0.8203125,
0.5947265625,
0.8203125,
0.60498046875,
0.178955078125,
0.60498046875
],
[
0.1748046875,
0.60693359375,
0.82275390625,
0.60693359375,
0.82275390625,
0.62060546875,
0.1748046875,
0.62060546875
],
[
0.176513671875,
0.6220703125,
0.81201171875,
0.6220703125,
0.81201171875,
0.63525390625,
0.176513671875,
0.63525390625
],
[
0.176513671875,
0.642578125,
0.82275390625,
0.642578125,
0.82275390625,
0.65576171875,
0.176513671875,
0.65576171875
],
[
0.1748046875,
0.65478515625,
0.82177734375,
0.65478515625,
0.82177734375,
0.66845703125,
0.1748046875,
0.66845703125
],
[
0.17724609375,
0.66943359375,
0.82275390625,
0.66943359375,
0.82275390625,
0.68310546875,
0.17724609375,
0.68310546875
],
[
0.176513671875,
0.6845703125,
0.82275390625,
0.6845703125,
0.82275390625,
0.69775390625,
0.176513671875,
0.69775390625
],
[
0.17724609375,
0.69580078125,
0.82275390625,
0.6962890625,
0.82275390625,
0.7109375,
0.17724609375,
0.71044921875
],
[
0.176513671875,
0.7109375,
0.82275390625,
0.7109375,
0.82275390625,
0.724609375,
0.176513671875,
0.724609375
],
[
0.178955078125,
0.7265625,
0.82275390625,
0.7265625,
0.82275390625,
0.7373046875,
0.178955078125,
0.7373046875
],
[
0.176513671875,
0.7392578125,
0.82275390625,
0.7392578125,
0.82275390625,
0.75390625,
0.176513671875,
0.75390625
],
[
0.176513671875,
0.75244140625,
0.82421875,
0.75244140625,
0.82421875,
0.7666015625,
0.176513671875,
0.7666015625
],
[
0.176513671875,
0.767578125,
0.5498046875,
0.767578125,
0.5498046875,
0.78076171875,
0.176513671875,
0.78076171875
],
[
0.1732177734375,
0.787109375,
0.359375,
0.78857421875,
0.359375,
0.80322265625,
0.1732177734375,
0.8017578125
],
[
0.176513671875,
0.81298828125,
0.82275390625,
0.81298828125,
0.82275390625,
0.8271484375,
0.176513671875,
0.8271484375
],
[
0.1748046875,
0.82763671875,
0.82275390625,
0.82763671875,
0.82275390625,
0.84130859375,
0.1748046875,
0.84130859375
],
[
0.176513671875,
0.84130859375,
0.82275390625,
0.84130859375,
0.82275390625,
0.85498046875,
0.176513671875,
0.85498046875
],
[
0.1748046875,
0.85400390625,
0.82275390625,
0.85595703125,
0.82275390625,
0.869140625,
0.1748046875,
0.8671875
],
[
0.176513671875,
0.869140625,
0.82275390625,
0.869140625,
0.82275390625,
0.88330078125,
0.176513671875,
0.88330078125
],
[
0.176513671875,
0.88330078125,
0.82275390625,
0.88330078125,
0.82275390625,
0.896484375,
0.176513671875,
0.896484375
],
[
0.176513671875,
0.89794921875,
0.81787109375,
0.89794921875,
0.81787109375,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.1732177734375,
0.9111328125,
0.82177734375,
0.9111328125,
0.82177734375,
0.9248046875,
0.1732177734375,
0.9248046875
],
[
0.49267578125,
0.94873046875,
0.50634765625,
0.94873046875,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2024",
"0.79",
"5.910.72-0.753.35",
"0B0.42-4",
"AM +(1-A)CF",
"46",
"",
"2",
"OOlXAM",
"34",
"CP-22035624",
"",
"",
"0.78",
"CP.",
"-0.7553",
"0.3665",
"口",
"3437767",
"",
"GPTGNN-3.751",
"",
"GPTGNN-1",
"6114",
"20.76",
"319327",
"-9.15",
"4.17",
"",
"GraphCL-3",
"111235",
"GraphCL--7.08",
"666.01",
"1.39",
"22",
"电话:915119001058",
"462545",
"",
"GraphLoG",
"GraphLoG-0.42-6.26-0.1",
"IG65",
"25676",
"0.74",
"4406746.57412247",
"0.09",
"15:5",
"G",
"BacBBBCinSideoxforMun",
"0.00.2",
"0.810",
"AM Cp Ep GPTGNRphepLOC",
"AA",
"0.6",
"",
"..",
"AM'sweight入",
"(a) Dataset Performance",
"(b) Task Importance",
"(c)TaskCompatibility",
"Figure l: (a) Performance ranking (1: best, 7: poorest) of seven pre-training tasks (rows) on eight",
"datasets (columns).(b)Performance fluctuation on Bace(molecule dataset)when combiningtwo",
"tasks, AM and cP , with different task weight > . (c) Performance gains or drops over that without",
"pre-training when combining two tasks (diagonal represents only a single task) on Bace",
"Table l: A comprehensive comparison between previous methods and ours. Stage indicates at what",
"stage the method is applied. Task Type represents the levels of tasks that the method can handle.",
"Instance-level Weighing",
"TaskType",
"Stage",
"V",
"Selecting",
"X",
"x",
"Node",
"pre-training",
"x",
"AutoSSL(Jinetal.,2021)",
"ParetoGNN (Ju et al., 2022)",
"x",
"Node",
"pre-training",
"fine-tuning",
"V",
"x",
"X",
"V",
"AUX-TS (Han et al., 2021)",
"Node",
"X",
"fine-tuning",
"Node & Graph",
"AGSSL(Wuetal.,2022a)",
"V",
"WAS (ours)",
"L",
"V",
"V",
"Node& Graph",
"fine-tuning",
"先得出一个有趣的结论:任务的重要性权衡和任务选择都相当重要,前者解决的是任务重",
"V",
"要性问题,而后者解决的是任务兼容性问题",
"图。1(b)比较了AM和CP组合时在不同重要性权重入下的性能。我们可以看到,在入=0.4",
"上实现了最佳性能。虽然任务加权侧重于每个任务的重要性,但它忽略了不同任务之间的",
"兼容性,这限制了现有方法无法实现更高的性能。图中的结果。1()说明了集成多个任务时",
"兼容性问题的巨大影响。可以看出,并非所有组合都能带来性能提升,其中一些甚至会降低",
"性能(AM和GraphCL的组合带来了-7。08下降),这凸显了选择合适任务组合的必要性。",
"请注意,图。1(c)仅显示两个任务之间的组合。随着任务池的扩展,这种组合变得更加复杂,",
"不同任务之间的冲突可能会变得更加严重",
"基于上述调查,这里我们想问一下:在微调阶段进行集成时,如何解决不同任务之间的重要",
"性和兼容性问题?我们确定了组合过程中的两个关键问题:(1)任务选择-如何根据任务兼",
"容性从给定的任务池中选择最佳组合,(2)重要性权衡-如何权衡所选任务的重要性。这两",
"个显然是相关的或协作的。更重要的任务应该选择得更多,但是仅根据重要性选择任务会导",
"致严重的任务冲突。虽然以前的作品AutoSSL,ParetogNN,AUX-TS和AGSSL都专注于重",
"要性权衡,但它们都忽略了任务选择,这使得它们无法随着任务池的扩大而保持性能增长",
"在本文中,我们提出了一个新颖的框架WeighA和Select(WAS),用于任务选择和重要性",
"加权。两个协作过程在解耦的连体网络中组合,其中(1)根据任务兼容性计算的抽样分布",
"为每个实例选择最佳任务组合,(2)然后根据所选任务的重要性为其计算任务权重。据我们",
"所知,这项工作是首次尝试使用加权&选择策略来集成多个图预训练任务。在16个数据集",
"上进行的广泛实验表明,WAS可以在节点级和图形级任务上实现与其他领先同行相当的性",
"能。我们的贡献总结如下:(1)我们展示了当前仅称重方案的局限性,并证明了任务选择过",
"程的重要性。(2)据我们所知,我们是第一个确定两个重要的协作过程的人:选择和称重",
"我们提供了广泛的实验来详细解释为什么两者的协作很重要,它与仅基于称重的方法有何",
"不同以及为什么需要将两个过程解耦。(3)我们提出了一种新颖的框架,可以分别为每个实",
"例自适应,动态,兼容地选择和权衡多个预训练任务",
"2RELATEDWORKS",
"图预训练。图神经网络(GNNs)是从图数据中捕获有用信息的强大工具(Zuigner&",
"Ginnemann,2019;Wuetal.,2022d;b;Huetal.,2020a)。最近,在预训练GNNs方面已经",
"做了很多努力来减轻对昂贵的标记数据的需求并提高泛化能力。这些方法通常使用各种精",
"心设计的预训练任务来在大型未标记数据集上预训练GNN。通常,主流的预训练任务可以",
"分为三类:生成性,对比性和预测性。EdgePred(Hamiltonetal,2017)、AttrMask(Huetal,",
"2020b)和GPT-GNN(Huetal,2020c)等生成方法专注于在数据内部级别重建每个图的重",
"要信息。此外,对比方法,如ContextPred(Huetal.,2020b)、GraphLoG(Xuetal.,2021)",
"GraphCL(Youetal.,2020a)和JOAO(Youetal.,2021),应用数据转换为每个图构造不同",
"2"
] |
{
"arxiv_id": "2403.01400",
"language": "zh",
"page_idx": 1
}
|
||
2403.01400-zh-2
|
2403.01400-zh-2.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2024}}$
的视图,旨在学习表示以区分正面视图和负面视图。预测方法,例如 G-Motif[$\overline{\mathrm{E}}$(Rong et al., 2020), CLU$\overline{\mathrm{E}}($You et al., 2020b) 和 PAIRDIS$\underline{\mathrm{E}}($Jin et al, 2020) , 通常通过一些简单的统计分析自生成标签,然后执行预测式任务。更多细节可以在附录 A 中找到
多任务学习。关于 CV 或 NLP 域的多任务学习有很多工作$\overline{\mathrm{E}}($Doersch & Zisserman, 2017; Ren & Lee, 2017; Zamir et al., 2018; Wu et al., 2020; Yu et al., 2020; Wang et al., 2022)。由于Transformer (Vaswani et al.,2017)的巨大成功,许多来自非图域的方法仅适用于 Transformer 架构 (He et al., 2022; Zhu et al., 2023; Wang et al., 2022)。此外,许多任务都集中在设计组合损失的方法上 (Yu et al.,2020; Liu et al.,202la) ,而忽略了实例级设计的强大潜力。图的现有方法可以大致分为两类,全局级和实例级。对于全局级,AUX-TS (Han et al.,2021) 结合不同的任务来提升目标预训练任务的性能。AutoSSL (Jinet al.,2021)通过测量伪同质性来组合任务损失的权重,而 ParetoGNN (Ju et al., 2022) 通过动态分配提升帕累托最优性的权重来协调任务。他们通过组合损失来训练模型,忽略了不同实例的不同需求。对于实例级,离我们最近的 AGSSL$\underline{\mathrm{E}}($Wu et al.,2022a)设计了其加权函数,以针对每个实例接近理想的贝叶斯老师。尽管取得了巨大的成功,但上述所有方法都只关注重要性权衡,而忽略了任务选择。
## 3 PRELIMINARY
符号。令$\mathcal{G}=(\mathcal{V},\mathcal{E})$ 表示一个图,其中$\mathcal{V}=\{v_1,v_2,\cdots,v_N\}$ 和$\mathcal{E}\subseteq\mathcal{V}\times\mathcal{V}$表示$|\mathcal{V}|=N$ 节点$\begin{array}{c}\text{的节点集和边缘集。给定一组图 }G=\left\{\mathcal{G}_1,\dot{\mathcal{G}}_2,\cdots,\mathcal{G}_M\right\},&\text{图分类旨在学习一个 GNN 编码器}\\h_\theta(\cdot):\mathcal{G}\to\mathbb{R}^F\text{和一个额外的投影头 }g_\omega(\cdot):\mathbb{R}^F\to\mathbb{R}^C\text{ 以适应下游任务,其中 }C\text{ 是类别数。}\end{array}$ 图的预训练和微调。图预训练的目的是通过预训练任务$\mathcal{L}_\mathrm{pre}(\theta)$从大量未标记数据$\mathcal{D}_\mathrm{pre}$中提取信息性知识,然后将学习到的知识转移到标记数据$\mathcal{D}_\mathrm{down}$上的下游任务$\mathcal{L}_\mathrm{down}(\theta,\omega)$中, 包括两个步骤:
(1)在未标记的数据集$\mathcal{D}_\mathrm{pre}$上预先训练 GNN 编码器$h_\theta(\cdot)$,目标格式为
(1)
$\theta_{\mathrm{pre}}=\arg\min_{\theta}\mathcal{L}_{\mathrm{pre}}(h_{\theta};\mathcal{D}_{\mathrm{pre}}).$
(2)微调预先训练的 GNN 编码器$h_\theta_\mathrm{pre}(\cdot)$上的 MATHX<XLINXXMAX。给定$K$教师模型$f_{1}^{\mathcal{T}}(\cdot),f_{2}^{\mathcal{T}}(\cdot),\cdots,f_{K}^{\mathcal{T}}(\cdot)$和学生模型$f^\dot{\dot{S}}(\cdot)$ ,多教师知识提炼从多个教师中提取知识,然后将$\bar{\text{提取的知识提炼到一个学生中,可以用以下公式表示}}$
$$\mathcal{L}_{MKD}=\mathcal{L}_{KL}\left(\sum_{k=1}^{K}\lambda_{k}f_{k}^{\mathcal{T}}(\mathcal{G}),f^{\mathcal{S}}(\mathcal{G})\right),$$
(2)
其中$\lambda_k$是$k$的权重-满足$\mathcal{D}_\mathrm{pre}$ -KulX 的第 9 个
# 4 METHODOLOGY
图形预训练任务旨在在预训练期间为模型提供更多信息,从这个意义上讲,使用更多任务可以提供更丰富的信息。但是,在组合任务时需要解决两个问题,即每个任务的重要性以及任务之间的兼容性。由于不同的任务在不同的数据上表现出不同的重要性和兼容性,在本文中,我们提出了一个新的实例级框架 $\underline{\mathrm{Weigh~A~}}$和 S elect (WAS),如图。2,可以分为两个步骤:知识提取和知识转移。在知识提取步骤中,我们培训了多名不同任务的教师,以提取不同程度的知识。在知识转移步骤中,我们通过权衡和选择来整合每个实例的知识,然后将整合的知识提炼到学生模型中。为了解决重要性和兼容性问题,我们设计了具有停止梯度和动量更新的解耦连体网络,该网络为每位老师分配不同的权重并确定是否应选择他们, 然后仅对那些选定的老师进行加权,即。e。,称重并选择。
在本节中,我们通过回答以下问题来深人研究我们的框架 WAS$\boxed{\mathrm{E}}$的详细信息:
$\mathbb{Q}1$。(实例):如何设计一个框架,使每个实例的定制方案?
$\mathbb{Q}$2。(重要性):如何设计称重模块以解决重要性问题?
$\mathbb{Q}$3。(解耦): 如何将选择与称重分离以防止其结果重叠?
$\mathbb{Q}$4。(兼容性):如何设计选择模块来解决兼容性问题?
4.1 INSTANCE-LEVEL MULTI-TEACHER KNOWLEDGE DISTILLATION
为了回答 Q1(实例),我们采用了多教师知识蒸馏(MKD)来实现我们框架中的知识转移。
MKD 最初是为了获得一个参数较少的模型,即。e。,模型压缩(Wu et al.,2023b;c),但这里我们用它来把不同老师的知识提炼成一个学生模型。与 AutoSSLE(Jin et al., 2021) 和
3
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.048614501953125,
0.1748046875,
0.048614501953125
],
[
0.176513671875,
0.1060791015625,
0.8203125,
0.1060791015625,
0.8203125,
0.11932373046875,
0.176513671875,
0.11932373046875
],
[
0.176513671875,
0.11932373046875,
0.82177734375,
0.11932373046875,
0.82177734375,
0.1331787109375,
0.176513671875,
0.1331787109375
],
[
0.17724609375,
0.1337890625,
0.66845703125,
0.1337890625,
0.66845703125,
0.14453125,
0.17724609375,
0.14453125
],
[
0.178955078125,
0.1558837890625,
0.82177734375,
0.1558837890625,
0.82177734375,
0.1666259765625,
0.178955078125,
0.1666259765625
],
[
0.1748046875,
0.1666259765625,
0.82177734375,
0.1673583984375,
0.82177734375,
0.1817626953125,
0.1748046875,
0.18115234375
],
[
0.1732177734375,
0.18115234375,
0.82177734375,
0.18115234375,
0.82177734375,
0.1944580078125,
0.1732177734375,
0.1944580078125
],
[
0.176513671875,
0.1962890625,
0.82177734375,
0.1962890625,
0.82177734375,
0.210205078125,
0.176513671875,
0.210205078125
],
[
0.1748046875,
0.2083740234375,
0.82275390625,
0.208984375,
0.82275390625,
0.2235107421875,
0.1748046875,
0.222900390625
],
[
0.1748046875,
0.222900390625,
0.82275390625,
0.2235107421875,
0.82275390625,
0.238037109375,
0.1748046875,
0.2374267578125
],
[
0.17724609375,
0.2392578125,
0.8203125,
0.2392578125,
0.8203125,
0.25,
0.17724609375,
0.25
],
[
0.178955078125,
0.25244140625,
0.82177734375,
0.25244140625,
0.82177734375,
0.26318359375,
0.178955078125,
0.26318359375
],
[
0.1748046875,
0.264404296875,
0.82275390625,
0.26513671875,
0.82275390625,
0.27978515625,
0.1748046875,
0.279052734375
],
[
0.176513671875,
0.27783203125,
0.82177734375,
0.279052734375,
0.82177734375,
0.29345703125,
0.176513671875,
0.292236328125
],
[
0.176513671875,
0.29345703125,
0.81640625,
0.29345703125,
0.81640625,
0.306884765625,
0.176513671875,
0.306884765625
],
[
0.1748046875,
0.31494140625,
0.328369140625,
0.31494140625,
0.328369140625,
0.328857421875,
0.1748046875,
0.328857421875
],
[
0.1748046875,
0.33837890625,
0.82177734375,
0.339111328125,
0.82177734375,
0.354248046875,
0.1748046875,
0.352783203125
],
[
0.176513671875,
0.354248046875,
0.82275390625,
0.354248046875,
0.82275390625,
0.367431640625,
0.176513671875,
0.367431640625
],
[
0.1748046875,
0.3662109375,
0.814453125,
0.3662109375,
0.814453125,
0.380615234375,
0.1748046875,
0.380615234375
],
[
0.1748046875,
0.3837890625,
0.82275390625,
0.385009765625,
0.82275390625,
0.399658203125,
0.1748046875,
0.3984375
],
[
0.176513671875,
0.399658203125,
0.82275390625,
0.399658203125,
0.82275390625,
0.41357421875,
0.176513671875,
0.41357421875
],
[
0.17724609375,
0.4140625,
0.279296875,
0.4140625,
0.279296875,
0.425537109375,
0.17724609375,
0.425537109375
],
[
0.1748046875,
0.43115234375,
0.689453125,
0.43115234375,
0.689453125,
0.4443359375,
0.1748046875,
0.4443359375
],
[
0.393798828125,
0.448974609375,
0.6044921875,
0.447509765625,
0.6044921875,
0.462158203125,
0.393798828125,
0.46337890625
],
[
0.80224609375,
0.448974609375,
0.826171875,
0.448974609375,
0.826171875,
0.462158203125,
0.80224609375,
0.462158203125
],
[
0.1748046875,
0.4765625,
0.82275390625,
0.47607421875,
0.82275390625,
0.490478515625,
0.1748046875,
0.4912109375
],
[
0.176513671875,
0.4912109375,
0.82275390625,
0.4912109375,
0.82275390625,
0.5087890625,
0.176513671875,
0.5087890625
],
[
0.1748046875,
0.505859375,
0.55126953125,
0.5068359375,
0.55126953125,
0.521484375,
0.1748046875,
0.52099609375
],
[
0.36279296875,
0.54248046875,
0.46728515625,
0.54248046875,
0.46728515625,
0.556640625,
0.36279296875,
0.556640625
],
[
0.49267578125,
0.54052734375,
0.62158203125,
0.537109375,
0.62158203125,
0.5546875,
0.49267578125,
0.55810546875
],
[
0.8037109375,
0.54248046875,
0.82421875,
0.54248046875,
0.82421875,
0.55615234375,
0.8037109375,
0.55615234375
],
[
0.476318359375,
0.5595703125,
0.5009765625,
0.5595703125,
0.5009765625,
0.5673828125,
0.476318359375,
0.5673828125
],
[
0.1748046875,
0.57763671875,
0.50341796875,
0.57763671875,
0.50341796875,
0.59130859375,
0.1748046875,
0.59130859375
],
[
0.17236328125,
0.6015625,
0.3447265625,
0.6015625,
0.3447265625,
0.61572265625,
0.17236328125,
0.61572265625
],
[
0.176513671875,
0.625,
0.82177734375,
0.625,
0.82177734375,
0.63818359375,
0.176513671875,
0.63818359375
],
[
0.17724609375,
0.63818359375,
0.82177734375,
0.63818359375,
0.82177734375,
0.6513671875,
0.17724609375,
0.6513671875
],
[
0.176513671875,
0.6513671875,
0.82177734375,
0.6513671875,
0.82177734375,
0.66552734375,
0.176513671875,
0.66552734375
],
[
0.178955078125,
0.66845703125,
0.8203125,
0.66845703125,
0.8203125,
0.6787109375,
0.178955078125,
0.6787109375
],
[
0.17724609375,
0.6796875,
0.82177734375,
0.6796875,
0.82177734375,
0.693359375,
0.17724609375,
0.693359375
],
[
0.176513671875,
0.6943359375,
0.82177734375,
0.6943359375,
0.82177734375,
0.70849609375,
0.176513671875,
0.70849609375
],
[
0.176513671875,
0.70849609375,
0.82177734375,
0.70849609375,
0.82177734375,
0.7216796875,
0.176513671875,
0.7216796875
],
[
0.178955078125,
0.7236328125,
0.82177734375,
0.7236328125,
0.82177734375,
0.734375,
0.178955078125,
0.734375
],
[
0.1748046875,
0.734375,
0.58837890625,
0.73486328125,
0.58837890625,
0.75,
0.1748046875,
0.74853515625
],
[
0.176513671875,
0.75244140625,
0.7255859375,
0.75244140625,
0.7255859375,
0.7666015625,
0.176513671875,
0.7666015625
],
[
0.17724609375,
0.77587890625,
0.59326171875,
0.77587890625,
0.59326171875,
0.7861328125,
0.17724609375,
0.7861328125
],
[
0.17724609375,
0.79736328125,
0.5595703125,
0.79736328125,
0.5595703125,
0.80810546875,
0.17724609375,
0.80810546875
],
[
0.176513671875,
0.8173828125,
0.57861328125,
0.8173828125,
0.57861328125,
0.83056640625,
0.176513671875,
0.83056640625
],
[
0.17724609375,
0.84033203125,
0.5595703125,
0.84033203125,
0.5595703125,
0.85107421875,
0.17724609375,
0.85107421875
],
[
0.1748046875,
0.86279296875,
0.6640625,
0.86279296875,
0.6640625,
0.876953125,
0.1748046875,
0.876953125
],
[
0.178955078125,
0.88525390625,
0.8203125,
0.88525390625,
0.8203125,
0.89599609375,
0.178955078125,
0.89599609375
],
[
0.176513671875,
0.89794921875,
0.82275390625,
0.89794921875,
0.82275390625,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.1748046875,
0.9111328125,
0.82275390625,
0.9111328125,
0.82275390625,
0.9248046875,
0.1748046875,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2024",
"的视图,旨在学习表示以区分正面视图和负面视图。预测方法,例如G-MotifE(Rongetal.",
"2020),CLUE(Youetal.,2020b)和PAIRDISE(Jinetal.,2020),通常通过一些简单的统计分",
"析自生成标签,然后执行预测式任务。更多细节可以在附录A中找到",
"多任务学习。关于CV或NLP域的多任务学习有很多工作Fl(Doersch&Zisserman,2017",
"Ren & Lee,2017; Zamir et al., 2018; Wu et al., 2020;Yu et al., 2020; Wang et al., 2022)。由于",
"Transformer(Vaswanietal,2017)的巨大成功,许多来自非图域的方法仅适用于Transformel",
"架构(Heetal,2022:Zhuetal.2023;Wangetal.,2022)。此外,许多任务都集中在设计组合",
"损失的方法上(Yuetal.,2020;Liuetal.,202la),而忽略了实例级设计的强大潜力。图的现",
"有方法可以大致分为两类,全局级和实例级。对于全局级,AUX-TS(Hanetal,2021)结合",
"不同的任务来提升目标预训练任务的性能。AutoSSL(Jinetal.,2021)通过测量伪同质性来组",
"合任务损失的权重,而ParetoGNN(Juetal2022)通过动态分配提升帕累托最优性的权重来",
"协调任务。他们通过组合损失来训练模型,忽略了不同实例的不同需求。对于实例级,离我",
"们最近的AGSSLE(Wuetal,2022a)设计了其加权函数,以针对每个实例接近理想的贝叶斯",
"老师。尽管取得了巨大的成功,但上述所有方法都只关注重要性权衡,而忽略了任务选择。",
"3PRELIMINARY",
"符号。令g=V,)表示一个图,其中V=[1,U2,UN)和&V×V表示V=N节点",
"的节点集和边缘集。给定一组图G=91,G2,·,9M),图分类旨在学习一个GNN编码器",
"he):g→RF和一个额外的投影头9w():RF→RC以适应下游任务,其中C是类别数。",
"图的预训练和微调。图预训练的目的是通过预训练任务Cpre()从大量未标记数据Dpre中",
"提取信息性知识,然后将学习到的知识转移到标记数据Ddown上的下游任务Ldown(O,w)中",
"包括两个步骤:",
"(1)在未标记的数据集Dpre上预先训练GNN编码器he(),目标格式为",
"Opre=argminCpre(he; Dpre).",
"(1)",
"(2)微调预先训练的GNN编码器hepre()上的MATHX<XLINXXMAX。给定K教师模型",
"fT()JT():,K()和学生模型FS(),多教师知识提炼从多个教师中提取知识,然后将",
"提取的知识提炼到一个学生中,可以用以下公式表示",
"CMKD=CKL",
"C AhfT (G), fS(9)",
"(2)",
"k=",
"其中入k是k的权重-满足Dpre-KulX的第9个",
"4METHODOLOGY",
"图形预训练任务旨在在预训练期间为模型提供更多信息,从这个意义上讲,使用更多任务",
"可以提供更丰富的信息。但是,在组合任务时需要解决两个问题,即每个任务的重要性以及",
"任务之间的兼容性。由于不同的任务在不同的数据上表现出不同的重要性和兼容性,在本",
"文中,我们提出厂一个新的实例级框架WeighA和Select(WAS),如图。2,可以分为两",
"个步骤:知识提取和知识转移。在知识提取步骤中,我们培训了多名不同任务的教师,以提",
"取不同程度的知识。在知识转移步骤中,我们通过权衡和选择来整合每个实例的知识,然后",
"将整合的知识提炼到学生模型中。为了解决重要性和兼容性问题,我们设计了具有停止梯",
"度和动量更新的解耦连体网络,该网络为每位老师分配不同的权重并确定是否应选择他们",
"然后仅对那些选定的老师进行加权,即。e。,称重并选择。",
"在本节中,我们通过回答以下问题来深入研究我们的框架WASE的详细信息:",
"Q1。(实例):如何设计一个框架,使每个实例的定制方案?",
"Q2。(重要性):如何设计称重模块以解决重要性问题?",
"Q3。(解耦):如何将选择与称重分离以防止其结果重叠?",
"Q4。(兼容性):如何设计选择模块来解决兼容性问题?",
"4.1 INSTANCE-LEVEL MULTI-TEACHER KNOWLEDGE DISTILLATION",
"为了回答Q1(实例):我们采用了多教师知识蒸留(MKD)来实现我们框架中的知识转移",
"MKD最初是为了获得一个参数较少的模型,即。e。,模型压缩(Wuetal,2023b;),但",
"这里我们用它来把不同老师的知识提炼成一个学生模型。与AutoSSLE(Jinetal.,2021)和",
"3"
] |
{
"arxiv_id": "2403.01400",
"language": "zh",
"page_idx": 2
}
|
||
2403.01400-zh-3
|
2403.01400-zh-3.jpg
|
Published as a conference paper at ICLR 2024
<FigureHere>
Figure 2: Overall workflow of WAS. Firstly, we train multiple teachers with different pre-training tasks. Secondly, we pass the teacher's representations to two modules (Selecting and Weighing) to get the selecting results $\kappa(\cdot,i)$ and initial weights $\omega(\cdot,i)$ for each instance $\mathcal{G}_i.$ Finally, we weigh only those selected teachers to get weights $\lambda(\cdot,i)$ and distill the integrated distributions into the student.
ParetogNN$\underline{\mathrm{E}}($Ju et al., 2022) 中使用的组合不同损耗的方法相反,MKD 可以获得每个老师在每个单独实例上的分布。这意味着教师对学生的影响在实例级别上是独立的,因此我们能够为每个实例学习定制的教师组合,以使学生模型能够学习更好的表示。此外,由于我们直接衡量教师的产出分布而不是任务损失,因此学习的权重可以真实地反映不同教师的重要性,因为对于给定的实例,他们的产出分布几乎处于同一水平。但是,不同的损失可能在不同的数量级上,因此不同损失的权重不能直接反映不同图预训练任务的重要性
要在实例级别组合不同的老师,我们将分别学习针对每个实例的自定义加权和选择策略。具体来说,给定由不同的预训练任务训练的$K$教师模型$f_1^T(\cdot),f_2^T(\cdot),\cdots,f_K^T(\cdot)$,我们的目标是为每个实例$G_i$ 获得它们的理想组合。整个框架可以分为三个关键步骤:(1)在$i$ 实例$\mathcal{G}_i$上获取$k$老师$f_k^T(\cdot)$的标签分布$\mathcal{P}_i^k=f_k^T(\mathcal{G}_i)$。(2)将获得的分布通过两个相互独立的模块 W 和 S , i。e。, 称重 (在 4.2.1 中引入)和选择 (在 4.2.3 中引人),得到初始权重$\omega(k,i)\in(0,1]$和选择结果$\kappa(k,i)\in\{0,1\}$ ,然后通过 softmax 只称重那些被选中的教师,输出教师权重$\lambda(k,i)\in(0,1]$ 。(3) 将不同教师的输出进行积分,得到一个综合教师分布$\mathcal{P}_i^T$ ,如下所示,
$$\mathcal{P}_{i}^{T}=\sum_{k=1}^{K}\kappa(k,i)\lambda(k,i)\mathcal{P}_{i}^{k},$$
(3)
其中$\sum_k\kappa(k,i)\lambda(k,i)=1$ ,然后将综合分布 $\mathcal{P}_i^T$ 提炼成学生 XMATHX<MATHX\_1\_6 通过多
4.2 $\overline {{\text{SIAMESE NETWORKS FOR TASK WEIGHING AND SELECTING}}}$
Sec 中提供了一个实例级框架。4.1 将知识从多个老师转移到一个学生,但它没有告诉我们如何权衡和选择。在本小节中,我们提出了由两个处理重要性和兼容性的模块组成的连体网络。
4.2.1 TASK WEIGHING BY IMPORTANCE MODELING
在这里,为了回答 Q2(重要性),我们设计了一个称重模块 W 来自适应地学习每个实例的合适任务权重。第一个问题是,如何对重要性问题进行建模。在当前的一些多任务学习方法$\overline{\mathbb{E}}($Jin et al., 2021; Ju et al., 2022) 中,它们直接优化不同任务的权重 $\lambda$ (通常以损失系数的形式)。但是,这仅在全局级别有用,因为不同的任务具有不同形式的损失。例如,GraphCL 执行图 (图作为实例) 之间的对比学习,而 AM 屏蔽单个图上的节点属性 (节点作为实例)。为了解决这个问题,我们使用由变量$\{\boldsymbol\mu_k\}_{k=1}^K$描述的潜在空间,并将每个教师与一个潜在因子$\boldsymbol{\mu}_k\in\mathbb{R}^C$相关联,该因子捕获了不同教师的本地重要性。第$k$位老师对图形$\mathcal{G}_i$的重要性权重可以计算如下:
$$\omega(k,i)=\frac{\exp\left(\zeta_{k,i}\right)}{\sum_{k=1}^{K}\exp\left(\zeta_{k,i}\right)},\quad\text{where}\zeta_{k,i}=\boldsymbol{\nu}^{T}\big(\boldsymbol{\mu}_{k}\odot f^{\mathcal{S}}(\mathcal{G}_{i})\big)$$
(4)
其中$\boldsymbol{\nu}\in\mathbb{R}^C$是要学习的全局参数的向量,它确定$(\boldsymbol\mu_k\odot f^S(\mathcal{G}_i))$中每个维度的值是否对重
要性产生积极影响。
在对重要性问题进行建模之后,第二个问题是,如何优化$\omega(\cdot,\cdot)$的学习。受 AGSSLE(Wu et al., 2022a) 的启发,最佳的加权方案应使集成的教师分布$\mathcal{P}^T(\mathcal{G})$接近贝叶斯教师$\mathcal{P} ^* ( \mathcal{G} )$ , 后者提供了真实的班级概率,但通常是未知的。幸运的是,Menon et al.(2021)证明了$\mathcal{P}^*(\mathcal{G})$ 可以使用真实标签$e_y$进行估计。因此,我们近似对待$\mathcal{P} ^* ( \mathcal{G} ) \approx \boldsymbol{e}_y$ , 通过最小化下游标记集
4
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.294189453125,
0.07574462890625,
0.3896484375,
0.07574462890625,
0.3896484375,
0.08587646484375,
0.294189453125,
0.08587646484375
],
[
0.41015625,
0.07574462890625,
0.48193359375,
0.07574462890625,
0.48193359375,
0.08331298828125,
0.41015625,
0.08331298828125
],
[
0.486083984375,
0.07574462890625,
0.59619140625,
0.07574462890625,
0.59619140625,
0.08331298828125,
0.486083984375,
0.08331298828125
],
[
0.640625,
0.07452392578125,
0.69140625,
0.07452392578125,
0.69140625,
0.085205078125,
0.640625,
0.085205078125
],
[
0.42236328125,
0.085205078125,
0.483642578125,
0.085205078125,
0.483642578125,
0.0889892578125,
0.42236328125,
0.0889892578125
],
[
0.5087890625,
0.085205078125,
0.59716796875,
0.085205078125,
0.59716796875,
0.0889892578125,
0.5087890625,
0.0889892578125
],
[
0.63818359375,
0.085205078125,
0.705078125,
0.08709716796875,
0.705078125,
0.10162353515625,
0.63818359375,
0.0997314453125
],
[
0.7197265625,
0.083984375,
0.7861328125,
0.083984375,
0.7861328125,
0.0953369140625,
0.7197265625,
0.0953369140625
],
[
0.29736328125,
0.091552734375,
0.3896484375,
0.091552734375,
0.3896484375,
0.10162353515625,
0.29736328125,
0.10162353515625
],
[
0.26318359375,
0.08837890625,
0.27783203125,
0.08837890625,
0.27783203125,
0.0953369140625,
0.26318359375,
0.0953369140625
],
[
0.22216796875,
0.09344482421875,
0.2344970703125,
0.0985107421875,
0.2303466796875,
0.1060791015625,
0.2181396484375,
0.10101318359375
],
[
0.406005859375,
0.09344482421875,
0.4794921875,
0.09344482421875,
0.4794921875,
0.10101318359375,
0.406005859375,
0.10101318359375
],
[
0.50732421875,
0.09344482421875,
0.5810546875,
0.09344482421875,
0.5810546875,
0.10101318359375,
0.50732421875,
0.10101318359375
],
[
0.73876953125,
0.0953369140625,
0.7685546875,
0.0953369140625,
0.7685546875,
0.106689453125,
0.73876953125,
0.106689453125
],
[
0.4248046875,
0.1029052734375,
0.46728515625,
0.1029052734375,
0.46728515625,
0.11297607421875,
0.4248046875,
0.11297607421875
],
[
0.238525390625,
0.09661865234375,
0.256591796875,
0.09661865234375,
0.256591796875,
0.10418701171875,
0.238525390625,
0.10418701171875
],
[
0.2646484375,
0.106689453125,
0.27685546875,
0.106689453125,
0.27685546875,
0.111083984375,
0.2646484375,
0.111083984375
],
[
0.5185546875,
0.10418701171875,
0.580078125,
0.10418701171875,
0.580078125,
0.111083984375,
0.5185546875,
0.111083984375
],
[
0.2442626953125,
0.111083984375,
0.2484130859375,
0.10986328125,
0.250732421875,
0.117431640625,
0.2467041015625,
0.11871337890625
],
[
0.29736328125,
0.11297607421875,
0.390625,
0.11297607421875,
0.390625,
0.125,
0.29736328125,
0.125
],
[
0.40283203125,
0.11297607421875,
0.4794921875,
0.11553955078125,
0.4794921875,
0.12249755859375,
0.40283203125,
0.12060546875
],
[
0.54150390625,
0.1142578125,
0.5986328125,
0.1142578125,
0.5986328125,
0.121826171875,
0.54150390625,
0.121826171875
],
[
0.6259765625,
0.111083984375,
0.69140625,
0.111083984375,
0.69140625,
0.121826171875,
0.6259765625,
0.121826171875
],
[
0.226318359375,
0.12060546875,
0.268798828125,
0.12060546875,
0.268798828125,
0.1307373046875,
0.226318359375,
0.1307373046875
],
[
0.40283203125,
0.136962890625,
0.453369140625,
0.136962890625,
0.453369140625,
0.147705078125,
0.40283203125,
0.147705078125
],
[
0.261474609375,
0.1483154296875,
0.271240234375,
0.1483154296875,
0.271240234375,
0.154052734375,
0.261474609375,
0.154052734375
],
[
0.450927734375,
0.146484375,
0.495849609375,
0.146484375,
0.495849609375,
0.154052734375,
0.450927734375,
0.154052734375
],
[
0.439453125,
0.160400390625,
0.50341796875,
0.160400390625,
0.50341796875,
0.1717529296875,
0.439453125,
0.1717529296875
],
[
0.5849609375,
0.1546630859375,
0.61279296875,
0.1546630859375,
0.61279296875,
0.1673583984375,
0.5849609375,
0.1673583984375
],
[
0.279296875,
0.1685791015625,
0.29736328125,
0.1685791015625,
0.29736328125,
0.175537109375,
0.279296875,
0.175537109375
],
[
0.67333984375,
0.1641845703125,
0.68310546875,
0.1641845703125,
0.68310546875,
0.1956787109375,
0.67333984375,
0.1956787109375
],
[
0.36279296875,
0.1749267578125,
0.38818359375,
0.1749267578125,
0.38818359375,
0.1817626953125,
0.36279296875,
0.1817626953125
],
[
0.41015625,
0.173583984375,
0.428955078125,
0.173583984375,
0.428955078125,
0.1817626953125,
0.41015625,
0.1817626953125
],
[
0.36767578125,
0.1817626953125,
0.4150390625,
0.18310546875,
0.4150390625,
0.1912841796875,
0.36767578125,
0.1900634765625
],
[
0.6435546875,
0.177978515625,
0.65625,
0.177978515625,
0.65625,
0.184326171875,
0.6435546875,
0.184326171875
],
[
0.50244140625,
0.184326171875,
0.55615234375,
0.184326171875,
0.55615234375,
0.199462890625,
0.50244140625,
0.199462890625
],
[
0.64453125,
0.1881103515625,
0.654296875,
0.1881103515625,
0.654296875,
0.1912841796875,
0.64453125,
0.1912841796875
],
[
0.73193359375,
0.184326171875,
0.77392578125,
0.184326171875,
0.77392578125,
0.1956787109375,
0.73193359375,
0.1956787109375
],
[
0.60546875,
0.1900634765625,
0.62744140625,
0.186279296875,
0.63232421875,
0.2020263671875,
0.609375,
0.205810546875
],
[
0.374267578125,
0.1925048828125,
0.41015625,
0.1925048828125,
0.41015625,
0.199462890625,
0.374267578125,
0.199462890625
],
[
0.56640625,
0.1900634765625,
0.583984375,
0.1900634765625,
0.583984375,
0.199462890625,
0.56640625,
0.199462890625
],
[
0.6689453125,
0.1932373046875,
0.6845703125,
0.1932373046875,
0.6845703125,
0.2197265625,
0.6689453125,
0.2197265625
],
[
0.35546875,
0.199462890625,
0.3857421875,
0.2020263671875,
0.384033203125,
0.212158203125,
0.3544921875,
0.210205078125
],
[
0.57275390625,
0.205810546875,
0.583984375,
0.205810546875,
0.583984375,
0.2171630859375,
0.57275390625,
0.2171630859375
],
[
0.6044921875,
0.2052001953125,
0.6298828125,
0.2052001953125,
0.6298828125,
0.2171630859375,
0.6044921875,
0.2171630859375
],
[
0.56884765625,
0.2139892578125,
0.62744140625,
0.2139892578125,
0.62744140625,
0.2247314453125,
0.56884765625,
0.2247314453125
],
[
0.443603515625,
0.2298583984375,
0.5009765625,
0.2298583984375,
0.5009765625,
0.2412109375,
0.443603515625,
0.2412109375
],
[
0.44287109375,
0.2083740234375,
0.50341796875,
0.2083740234375,
0.50341796875,
0.2266845703125,
0.44287109375,
0.2266845703125
],
[
0.1748046875,
0.2568359375,
0.82421875,
0.25830078125,
0.82421875,
0.272705078125,
0.1748046875,
0.271484375
],
[
0.1748046875,
0.271484375,
0.826171875,
0.271484375,
0.826171875,
0.285888671875,
0.1748046875,
0.285888671875
],
[
0.1748046875,
0.285888671875,
0.82421875,
0.285888671875,
0.82421875,
0.2998046875,
0.1748046875,
0.2998046875
],
[
0.1748046875,
0.2998046875,
0.82421875,
0.2998046875,
0.82421875,
0.313232421875,
0.1748046875,
0.313232421875
],
[
0.1748046875,
0.31494140625,
0.2279052734375,
0.31494140625,
0.2279052734375,
0.326904296875,
0.1748046875,
0.326904296875
],
[
0.1748046875,
0.3447265625,
0.82275390625,
0.3447265625,
0.82275390625,
0.35791015625,
0.1748046875,
0.35791015625
],
[
0.176513671875,
0.359130859375,
0.82421875,
0.359130859375,
0.82421875,
0.37255859375,
0.176513671875,
0.37255859375
],
[
0.1748046875,
0.37060546875,
0.82275390625,
0.371826171875,
0.82275390625,
0.386474609375,
0.1748046875,
0.385009765625
],
[
0.176513671875,
0.386474609375,
0.82275390625,
0.386474609375,
0.82275390625,
0.399658203125,
0.176513671875,
0.399658203125
],
[
0.176513671875,
0.399658203125,
0.82275390625,
0.399658203125,
0.82275390625,
0.41357421875,
0.176513671875,
0.41357421875
],
[
0.176513671875,
0.4140625,
0.73046875,
0.4140625,
0.73046875,
0.427978515625,
0.176513671875,
0.427978515625
],
[
0.17724609375,
0.43505859375,
0.8203125,
0.43505859375,
0.8203125,
0.448974609375,
0.17724609375,
0.448974609375
],
[
0.17724609375,
0.448974609375,
0.82275390625,
0.448974609375,
0.82275390625,
0.46337890625,
0.17724609375,
0.46337890625
],
[
0.17724609375,
0.46337890625,
0.82177734375,
0.46337890625,
0.82177734375,
0.4765625,
0.17724609375,
0.4765625
],
[
0.176513671875,
0.4765625,
0.82275390625,
0.4765625,
0.82275390625,
0.4912109375,
0.176513671875,
0.4912109375
],
[
0.1748046875,
0.4892578125,
0.82275390625,
0.490478515625,
0.82275390625,
0.5048828125,
0.1748046875,
0.50390625
],
[
0.1748046875,
0.5048828125,
0.82275390625,
0.5048828125,
0.82275390625,
0.51806640625,
0.1748046875,
0.51806640625
],
[
0.176513671875,
0.51806640625,
0.82421875,
0.51806640625,
0.82421875,
0.53271484375,
0.176513671875,
0.53271484375
],
[
0.17724609375,
0.53076171875,
0.2303466796875,
0.53271484375,
0.2296142578125,
0.54736328125,
0.176513671875,
0.54541015625
],
[
0.45751953125,
0.54052734375,
0.471435546875,
0.54052734375,
0.471435546875,
0.5498046875,
0.45751953125,
0.5498046875
],
[
0.404296875,
0.54736328125,
0.5947265625,
0.54736328125,
0.5947265625,
0.568359375,
0.404296875,
0.568359375
],
[
0.80224609375,
0.55322265625,
0.82421875,
0.55322265625,
0.82421875,
0.56494140625,
0.80224609375,
0.56494140625
],
[
0.450927734375,
0.5673828125,
0.4755859375,
0.5673828125,
0.4755859375,
0.5791015625,
0.450927734375,
0.5791015625
],
[
0.455810546875,
0.5625,
0.47216796875,
0.5625,
0.47216796875,
0.56640625,
0.455810546875,
0.56640625
],
[
0.176513671875,
0.5791015625,
0.81787109375,
0.5791015625,
0.81787109375,
0.59326171875,
0.176513671875,
0.59326171875
],
[
0.1748046875,
0.59033203125,
0.640625,
0.59130859375,
0.640625,
0.60498046875,
0.1748046875,
0.60400390625
],
[
0.1748046875,
0.60986328125,
0.82177734375,
0.60986328125,
0.82177734375,
0.62353515625,
0.1748046875,
0.62353515625
],
[
0.1748046875,
0.625,
0.82177734375,
0.625,
0.82177734375,
0.63818359375,
0.1748046875,
0.63818359375
],
[
0.176513671875,
0.64013671875,
0.2156982421875,
0.64013671875,
0.2156982421875,
0.6513671875,
0.176513671875,
0.6513671875
],
[
0.176513671875,
0.6611328125,
0.5537109375,
0.6611328125,
0.5537109375,
0.671875,
0.176513671875,
0.671875
],
[
0.176513671875,
0.67822265625,
0.82177734375,
0.67822265625,
0.82177734375,
0.69140625,
0.176513671875,
0.69140625
],
[
0.17724609375,
0.69140625,
0.82177734375,
0.69140625,
0.82177734375,
0.705078125,
0.17724609375,
0.705078125
],
[
0.1748046875,
0.7041015625,
0.82275390625,
0.705078125,
0.82275390625,
0.7197265625,
0.1748046875,
0.71826171875
],
[
0.176513671875,
0.7197265625,
0.82275390625,
0.7197265625,
0.82275390625,
0.73291015625,
0.176513671875,
0.73291015625
],
[
0.1748046875,
0.73193359375,
0.82275390625,
0.73291015625,
0.82275390625,
0.74755859375,
0.1748046875,
0.7470703125
],
[
0.17724609375,
0.74755859375,
0.82275390625,
0.74755859375,
0.82275390625,
0.76123046875,
0.17724609375,
0.76123046875
],
[
0.176513671875,
0.76220703125,
0.82275390625,
0.76220703125,
0.82275390625,
0.7763671875,
0.176513671875,
0.7763671875
],
[
0.17724609375,
0.77783203125,
0.330810546875,
0.77783203125,
0.330810546875,
0.78857421875,
0.17724609375,
0.78857421875
],
[
0.375732421875,
0.79736328125,
0.441162109375,
0.79736328125,
0.441162109375,
0.8095703125,
0.375732421875,
0.8095703125
],
[
0.285888671875,
0.80615234375,
0.35302734375,
0.80615234375,
0.35302734375,
0.8173828125,
0.285888671875,
0.8173828125
],
[
0.486083984375,
0.80322265625,
0.6953125,
0.8017578125,
0.6953125,
0.8193359375,
0.486083984375,
0.82080078125
],
[
0.3544921875,
0.81103515625,
0.390625,
0.81103515625,
0.390625,
0.82275390625,
0.3544921875,
0.82275390625
],
[
0.80224609375,
0.80615234375,
0.826171875,
0.80615234375,
0.826171875,
0.82080078125,
0.80224609375,
0.82080078125
],
[
0.35302734375,
0.814453125,
0.46728515625,
0.8125,
0.46728515625,
0.830078125,
0.35302734375,
0.83203125
],
[
0.176513671875,
0.8359375,
0.82275390625,
0.8359375,
0.82275390625,
0.85107421875,
0.176513671875,
0.85107421875
],
[
0.17724609375,
0.85302734375,
0.31201171875,
0.85302734375,
0.31201171875,
0.86279296875,
0.17724609375,
0.86279296875
],
[
0.176513671875,
0.869140625,
0.82275390625,
0.869140625,
0.82275390625,
0.88330078125,
0.176513671875,
0.88330078125
],
[
0.176513671875,
0.8818359375,
0.82177734375,
0.8818359375,
0.82177734375,
0.896484375,
0.176513671875,
0.896484375
],
[
0.17724609375,
0.896484375,
0.82275390625,
0.896484375,
0.82275390625,
0.91015625,
0.17724609375,
0.91015625
],
[
0.17724609375,
0.9111328125,
0.82275390625,
0.9111328125,
0.82275390625,
0.9248046875,
0.17724609375,
0.9248046875
],
[
0.491943359375,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.96044921875,
0.491943359375,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2024",
"Pre-trainingTask1",
"Encoderhe.)",
"→PredictionHeadg.",
"Teacher1",
"",
"",
"Teacher2",
"Downstream",
"Pre-training Task2",
"O",
"O",
"Encoderh.",
"PredictionHead",
"Task",
".",
"福",
"",
"RRRRREEE",
"",
"Pre-training Task K",
"Ensoderher",
"on Head g(",
"TeacherK",
"Graph g,",
"top-gradient",
"P",
"ectionkf.,",
"1011100",
"(,i)",
"ph",
"",
"lecting",
"MLE",
"AMomentum",
"PT",
"Bl",
"",
"Student",
"",
"updatins",
"",
"AP-TY",
"Weighing",
"+",
"W",
"Dynamic Quit",
"weight w(i)",
"",
"Figure 2:Overall workflow of WAS. Firstly, we train multiple teachers with different pre-training",
"tasks. Secondly, we pass the teacher's representations to two modules (Selecting and Weighing) to",
"get the selecting results k(, i) and initial weights w(,i) for each instance Gi . Finally, we weigh",
"only those selected teachers to get weights X(, i) and distill the integrated distributions into the",
"student.",
"ParetogNNEJuetal.,2022)中使用的组合不同损耗的方法相反,MKD可以获得每个老师在",
"每个单独实例上的分布。这意味着教师对学生的影响在实例级别上是独立的,因此我们能",
"够为每个实例学习定制的教师组合,以使学生模型能够学习更好的表示。此外,由于我们直",
"接衡量教师的产出分布而不是任务损失,因此学习的权重可以真实地反映不同教师的重要",
"性,因为对于给定的实例,他们的产出分布几乎处于同一水平。但是,不同的损失可能在不",
"同的数量级上,因此不同损失的权重不能直接反映不同图预训练任务的重要性",
"要在实例级别组合不同的老师,我们将分别学习针对每个实例的自定义加权和选择策略",
"具体来说,给定由不同的预训练任务训练的K教师模型fT),fT(),·,f(),我们的",
"目标是为每个实例9,获得它们的理想组合。整个框架可以分为三个关键步骤:(1)在i实",
"例Gi上获取k老师fT)的标签分布Pk=fT(.)。(2)将获得的分布通过两个相互独",
"立的模块W和S,i。e。,称重(在4.2.1中引人)和选择(在4.2.3中引人),得到初始权重",
"w(k,i)E(0,1]和选择结果k(k,i)E{0,1),然后通过softmax只称重那些被选中的教师,输",
"出教师权重入(k,i)E(0,1)。(3)将不同教师的输出进行积分,得到一个综合教师分布PT,如",
"下所示,",
"K",
"PT =Zr(k,0)A(k,i)Ph,",
"(3)",
"k=1",
"",
"其中kk(k,i)>(k,)=1,然后将综合分布PT提炼成学生XMATHX<MATHX_1_6通过多",
"4.2SIAMESENETWORKSFORTASKWEIGHINGANDSELECTING",
"Sec中提供了一个实例级框架。4.1将知识从多个老师转移到一个学生,但它没有告诉我们",
"如何权衡和选择。在本小节中,我们提出了由两个处理重要性和兼容性的模块组成的连体",
"网络。",
"4.2.1TASKWEIGHINGBYIMPORTANCEMODELING",
"在这里,为了回答Q2(重要性),我们设计了一个称重模块W来自适应地学习每个实例的",
"合适任务权重。第一个问题是,如何对重要性问题进行建模。在当前的一些多任务学习方",
"法EJinetal.2021;Juetal,2022)中,它们直接优化不同任务的权重入(通常以损失系数的",
"形式。但是,这仅在全局级别有用,因为不同的任务具有不同形式的损失。例如,GraphcL",
"执行图(图作为实例)之间的对比学习,而AM屏蔽单个图上的节点属性(节点作为实例)。",
"为了解决这个问题,我们使用由变量},描述的潜在空间,并将每个教师与一个潜在",
"因子μkERC相关联,该因子捕获了不同教师的本地重要性。第k位老师对图形9,的重要",
"性权重可以计算如下:",
"exp (Sk.i)",
"w(k,i)=",
"whereCh, = DT (uK O fS(G))",
"-K",
"(4)",
"Ek=1 exp(Sh,)",
"其中vER是要学习的全局参数的向量,它确定(ukfS(Gi))中每个维度的值是否对重",
"要性产生积极影响。",
"在对重要性问题进行建模之后,第二个问题是,如何优化w(,)的学习。受AGSSLE(Wu",
"etal.,2022a)的启发,最佳的加权方案应使集成的教师分布PT(9)接近贝叶斯教师P*(9)",
"后者提供了真实的班级概率,但通常是未知的。幸运的是,Menonetal.(2021)证明了P*(G)",
"可以使用真实标签eu进行估计。因此,我们近似对待P*()~eu,通过最小化下游标记集",
"4"
] |
{
"arxiv_id": "2403.01400",
"language": "zh",
"page_idx": 3
}
|
||
2403.01400-zh-4
|
2403.01400-zh-4.jpg
|
Published as a conference paper at ICLR 2024
上的二进制交叉熵损失$\mathcal{L}_W=\frac1{|\mathcal{D}_{\mathrm{down}}|}\sum_{i\in\mathcal{D}_{\mathrm{down}}}\ell(\mathcal{P}^T(\mathcal{G}_i),\mathcal{P}^*(\mathcal{G}_i))$来优化$\omega(\cdot,\cdot)$ ,并为任何
未标记的实例$\mathcal{G}_j$估计权重$\{\omega(\dot{k},j)\}_k=1^{\dot{K}}$
4.2.2 DECOUPLE MODULES BY SIAMESE NETWORKS
<FigureHere>
在深人选择模块之前,我们必须首先澄清一个问题: 我们想要什么样的选择结果?如前所述,每个任务的权重$\omega(k,i)$可以表征。e。, 使用权重作为选择概率。然而,这种方案相当于在重要性方面解释兼容性,并完全混淆了两者,这违背了我们的预期。Fig。3显示了四种数据集上三种选择方法的结果。可以看出, 完全基于重要性的选择方法忽略了兼容性,有时甚至比随机选择还要差。但是,如果将任务重要性完全丢弃,那将是一个遗憾,因为它无疑提供了丰富的信息,可以用来指导任务选择,所以我们想设计一个选择模块来利用这些信息,而不是依赖它。也就是说,three task selecting schemes on four 我们希望选择结果和权重是相关的,但不是相互耦合的da燃酶,这两个模块应该以这样的方
Figure 3: A detailed comparison of
式构建,即选择结果可以利用权重,但不能直接从它们中导出。我们把这个过程称为解耦。
如图所示。3 , 解耦选择实现了最佳性能
要回答 Q3 (解耦), 我们以$\underline{\mathrm{E}}$Nair& Hinton (2010)启发的连体网络的形式构造选择模块和称重模块,以同时获得权重和选择结果,然后仅对那些选择的老师进行称重。这样的构造可以严格区分两个模块,使选择模块专注于解决任务兼容性问题,称重模块专注于任务重要性问题
4.2.3 TASK SELECTING BY QUIT MECHANISM
为了回答 Q4 (兼容性), 我们提出了一种新颖的选择模块$\mathbb{S}$ ,用于自适应地解决任务之间的
, 并分别为每个实例选择最合适的任务组合
$\text{翻 Sec}^\text{5}{\text{中所迷。}4.2.2!}$, T我们饮挫体网络的形式构造了选择模块和称重模块。但是,由于两个模块具有相同的体系结构,因此如果我们以相同的方式更新它们(e。g。,都是通过反向传播),它们的输出很可能被重新耦合在一起。因此,我们切断了选择模块的梯度反向传播, 并采用动量更新来优化选择模块S 的参数。令$\theta_weiohing$ 表示称重模块 W 的参数,$\theta_selectino$ 表示选择模块 S 的参数,动量更新的过程可以写成:
$$\theta_{selecting}=m*\theta_{selecting}+(1-m)*\theta_{weighing},$$
(5)
其中$m$是动量更新率,它控制$\mathbb{S}$和 W 的相似度。此设置使选择模块能够从不同教师的历史
权重中获取足够的知识来指导选择结果,因为$\theta_{selecting}$基于历史$\theta_weighing$
但是,由于$\theta_selecting$在不同的时期都被$\theta_weighing$叠加 ,因此如果 W 收敛得更早,则选择模块的输出仍然有可能接近称重模块。因此,“我们在 S之后添加了一个额外的投影头(实现为 MLP),以增强选择和称重结果之间的差异。这样的组织使$\mathbb{S}$仍然可以利用称重信息,但可以与称重模块完全分离,从而使两个模块可以更独立地完成工作。给定选择模块的输出$\kappa _S( k, i)$ (就像称重模块$\omega(k,i)$的输出一样),我们将$\kappa_S(k,i)$馈送到 MLP 中,然后对结果MLP$(\kappa_S(k,i))$进行归一化,以确保每个实例至少选择一个老师,定义为
$$\kappa_{\mathrm{norm}}(k,i)=\frac{\mathrm{MLP}(\kappa_{S}(k,i))}{\max_{j=1}^{K}\mathrm{MLP}(\kappa_{S}(k,i))}.$$
(6)
注意$\kappa_\mathrm{norm}(k,i)\in[0,1]$ ,因此每个老师都有机会。此外,在前一个时期末对教师进行抽样并不意味着在下一个时期不会对其讲行抽样,这使得我们的模型可以尝试足够数量的任务组合。在收敛阶段,一些教师的概率将接近0,因此他们几乎不参与知识提炼,我们称之为dynamic quit 。它可以帮助我们为每个实例选择最合适的老师,因为该模型可以尝试足够的任务组合,并最终丢弃那些无用的任务。为了根据归一化采样概率$\kappa_\mathrm{norm}(k,i)$有区别地选择$i$实例的$k$老师,我们使用了重新参数化技巧,这在以前的工作中很常用 (Huang et al., 2016a; Liu et al., 2021b) 。具体来说,我们采用 Gumbel-Softmax 抽样 (Maddison et al.$,\bar{2016})$, 它以概率$\kappa_\mathrm{norm}(k,i)$从伯努利分布中抽样$\kappa(k,i)$ ,定义为
(7)
$$\kappa(k,i)=\left\lfloor\frac{1}{1+\exp^{-\left(\log\kappa_{\text{norm}}(k,i)+G\right)/\tau}}+\frac{1}{2}\right\rfloor,$$
, 其中 $\tau=1.0$ 是随机的温度。。最后,我们只通过 re-softmax 来衡量那些被选中的老师,如
下所示
5
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.1732177734375,
0.10162353515625,
0.82666015625,
0.10162353515625,
0.82666015625,
0.126953125,
0.1732177734375,
0.126953125
],
[
0.176513671875,
0.12371826171875,
0.455078125,
0.12371826171875,
0.455078125,
0.1383056640625,
0.176513671875,
0.1383056640625
],
[
0.1748046875,
0.14453125,
0.5595703125,
0.14453125,
0.5595703125,
0.1578369140625,
0.1748046875,
0.1578369140625
],
[
0.176513671875,
0.1622314453125,
0.54833984375,
0.1622314453125,
0.54833984375,
0.175537109375,
0.176513671875,
0.175537109375
],
[
0.5947265625,
0.1654052734375,
0.826171875,
0.1654052734375,
0.826171875,
0.175537109375,
0.5947265625,
0.175537109375
],
[
0.176513671875,
0.175537109375,
0.54736328125,
0.175537109375,
0.54736328125,
0.189453125,
0.176513671875,
0.189453125
],
[
0.583984375,
0.1849365234375,
0.59716796875,
0.1849365234375,
0.59716796875,
0.1944580078125,
0.583984375,
0.1944580078125
],
[
0.7099609375,
0.18115234375,
0.771484375,
0.18115234375,
0.771484375,
0.1912841796875,
0.7099609375,
0.1912841796875
],
[
0.176513671875,
0.1900634765625,
0.54833984375,
0.1900634765625,
0.54833984375,
0.203857421875,
0.176513671875,
0.203857421875
],
[
0.71142578125,
0.1944580078125,
0.72607421875,
0.1944580078125,
0.72607421875,
0.1976318359375,
0.71142578125,
0.1976318359375
],
[
0.7294921875,
0.189453125,
0.81396484375,
0.1900634765625,
0.81396484375,
0.2020263671875,
0.7294921875,
0.2008056640625
],
[
0.56884765625,
0.2008056640625,
0.57861328125,
0.1956787109375,
0.583984375,
0.2008056640625,
0.57421875,
0.205810546875
],
[
0.71337890625,
0.2008056640625,
0.775390625,
0.2008056640625,
0.775390625,
0.2108154296875,
0.71337890625,
0.2108154296875
],
[
0.56640625,
0.203857421875,
0.60302734375,
0.203857421875,
0.60302734375,
0.231689453125,
0.56640625,
0.231689453125
],
[
0.1748046875,
0.203857421875,
0.54736328125,
0.203857421875,
0.54736328125,
0.2171630859375,
0.1748046875,
0.2171630859375
],
[
0.176513671875,
0.2171630859375,
0.5498046875,
0.2171630859375,
0.5498046875,
0.2310791015625,
0.176513671875,
0.2310791015625
],
[
0.176513671875,
0.231689453125,
0.55126953125,
0.231689453125,
0.55126953125,
0.24560546875,
0.176513671875,
0.24560546875
],
[
0.56787109375,
0.2266845703125,
0.60107421875,
0.2266845703125,
0.60107421875,
0.2442626953125,
0.56787109375,
0.2442626953125
],
[
0.176513671875,
0.24560546875,
0.54736328125,
0.24560546875,
0.54736328125,
0.2587890625,
0.176513671875,
0.2587890625
],
[
0.178955078125,
0.260009765625,
0.5458984375,
0.260009765625,
0.5458984375,
0.270751953125,
0.178955078125,
0.270751953125
],
[
0.583984375,
0.2568359375,
0.59619140625,
0.2568359375,
0.59619140625,
0.26513671875,
0.583984375,
0.26513671875
],
[
0.615234375,
0.261474609375,
0.7197265625,
0.26318359375,
0.7197265625,
0.274658203125,
0.615234375,
0.272705078125
],
[
0.7158203125,
0.261962890625,
0.80224609375,
0.261474609375,
0.80224609375,
0.272705078125,
0.7158203125,
0.2734375
],
[
0.176513671875,
0.272705078125,
0.54736328125,
0.272705078125,
0.54736328125,
0.285888671875,
0.176513671875,
0.285888671875
],
[
0.17724609375,
0.28857421875,
0.5498046875,
0.28857421875,
0.5498046875,
0.298583984375,
0.17724609375,
0.298583984375
],
[
0.54345703125,
0.285888671875,
0.826171875,
0.285888671875,
0.826171875,
0.2998046875,
0.54345703125,
0.2998046875
],
[
0.176513671875,
0.300537109375,
0.56396484375,
0.300537109375,
0.56396484375,
0.314453125,
0.176513671875,
0.314453125
],
[
0.5556640625,
0.300537109375,
0.82275390625,
0.300537109375,
0.82275390625,
0.314453125,
0.5556640625,
0.314453125
],
[
0.176513671875,
0.314453125,
0.82177734375,
0.314453125,
0.82177734375,
0.32763671875,
0.176513671875,
0.32763671875
],
[
0.176513671875,
0.328857421875,
0.82177734375,
0.328857421875,
0.82177734375,
0.34228515625,
0.176513671875,
0.34228515625
],
[
0.17724609375,
0.34228515625,
0.473876953125,
0.34228515625,
0.473876953125,
0.35595703125,
0.17724609375,
0.35595703125
],
[
0.17724609375,
0.3623046875,
0.82275390625,
0.3623046875,
0.82275390625,
0.375732421875,
0.17724609375,
0.375732421875
],
[
0.17724609375,
0.375732421875,
0.82177734375,
0.375732421875,
0.82177734375,
0.389404296875,
0.17724609375,
0.389404296875
],
[
0.17724609375,
0.39013671875,
0.82275390625,
0.39013671875,
0.82275390625,
0.404052734375,
0.17724609375,
0.404052734375
],
[
0.17724609375,
0.40478515625,
0.2091064453125,
0.40478515625,
0.2091064453125,
0.417236328125,
0.17724609375,
0.417236328125
],
[
0.17724609375,
0.427978515625,
0.51123046875,
0.427978515625,
0.51123046875,
0.438232421875,
0.17724609375,
0.438232421875
],
[
0.17724609375,
0.44580078125,
0.82275390625,
0.44580078125,
0.82275390625,
0.458984375,
0.17724609375,
0.458984375
],
[
0.17236328125,
0.455078125,
0.82861328125,
0.458251953125,
0.82861328125,
0.48486328125,
0.17236328125,
0.481689453125
],
[
0.1748046875,
0.479248046875,
0.82275390625,
0.479736328125,
0.82275390625,
0.49755859375,
0.1748046875,
0.496826171875
],
[
0.1748046875,
0.494384765625,
0.82275390625,
0.49560546875,
0.82275390625,
0.51025390625,
0.1748046875,
0.5087890625
],
[
0.1732177734375,
0.5048828125,
0.82666015625,
0.5068359375,
0.82666015625,
0.52783203125,
0.1732177734375,
0.52587890625
],
[
0.176513671875,
0.52294921875,
0.54345703125,
0.52294921875,
0.54345703125,
0.5361328125,
0.176513671875,
0.5361328125
],
[
0.330078125,
0.54248046875,
0.66650390625,
0.54345703125,
0.66650390625,
0.56103515625,
0.330078125,
0.56005859375
],
[
0.8037109375,
0.54443359375,
0.82421875,
0.54443359375,
0.82421875,
0.55810546875,
0.8037109375,
0.55810546875
],
[
0.17724609375,
0.56494140625,
0.82275390625,
0.56494140625,
0.82275390625,
0.5791015625,
0.17724609375,
0.5791015625
],
[
0.1732177734375,
0.57568359375,
0.7060546875,
0.5791015625,
0.7060546875,
0.5966796875,
0.1732177734375,
0.59326171875
],
[
0.176513671875,
0.599609375,
0.82275390625,
0.599609375,
0.82275390625,
0.6142578125,
0.176513671875,
0.6142578125
],
[
0.176513671875,
0.61279296875,
0.82275390625,
0.61279296875,
0.82275390625,
0.626953125,
0.176513671875,
0.626953125
],
[
0.17724609375,
0.626953125,
0.82275390625,
0.626953125,
0.82275390625,
0.64013671875,
0.17724609375,
0.64013671875
],
[
0.17724609375,
0.6416015625,
0.82275390625,
0.6416015625,
0.82275390625,
0.65478515625,
0.17724609375,
0.65478515625
],
[
0.176513671875,
0.65478515625,
0.82177734375,
0.65478515625,
0.82177734375,
0.66943359375,
0.176513671875,
0.66943359375
],
[
0.1732177734375,
0.66748046875,
0.689453125,
0.66845703125,
0.689453125,
0.68310546875,
0.1732177734375,
0.681640625
],
[
0.494384765625,
0.69140625,
0.5947265625,
0.69140625,
0.5947265625,
0.70263671875,
0.494384765625,
0.70263671875
],
[
0.36767578125,
0.70068359375,
0.4599609375,
0.69970703125,
0.4599609375,
0.7109375,
0.36767578125,
0.7119140625
],
[
0.80224609375,
0.70068359375,
0.82421875,
0.70068359375,
0.82421875,
0.7138671875,
0.80224609375,
0.7138671875
],
[
0.461669921875,
0.70703125,
0.6259765625,
0.70703125,
0.6259765625,
0.7216796875,
0.461669921875,
0.7216796875
],
[
0.1748046875,
0.73095703125,
0.82275390625,
0.72998046875,
0.82275390625,
0.744140625,
0.1748046875,
0.74560546875
],
[
0.17724609375,
0.744140625,
0.82177734375,
0.744140625,
0.82177734375,
0.75830078125,
0.17724609375,
0.75830078125
],
[
0.176513671875,
0.7587890625,
0.82275390625,
0.7587890625,
0.82275390625,
0.77294921875,
0.176513671875,
0.77294921875
],
[
0.176513671875,
0.77294921875,
0.82275390625,
0.77294921875,
0.82275390625,
0.7861328125,
0.176513671875,
0.7861328125
],
[
0.176513671875,
0.78515625,
0.82275390625,
0.7861328125,
0.82275390625,
0.80029296875,
0.176513671875,
0.7998046875
],
[
0.176513671875,
0.80029296875,
0.82275390625,
0.80029296875,
0.82275390625,
0.814453125,
0.176513671875,
0.814453125
],
[
0.1748046875,
0.8125,
0.826171875,
0.81298828125,
0.826171875,
0.82763671875,
0.1748046875,
0.8271484375
],
[
0.17724609375,
0.82763671875,
0.58837890625,
0.82763671875,
0.58837890625,
0.84228515625,
0.17724609375,
0.84228515625
],
[
0.50732421875,
0.85302734375,
0.521484375,
0.85302734375,
0.521484375,
0.8642578125,
0.50732421875,
0.8642578125
],
[
0.6298828125,
0.85693359375,
0.65673828125,
0.87890625,
0.640625,
0.89013671875,
0.61376953125,
0.86865234375
],
[
0.63232421875,
0.85498046875,
0.646484375,
0.85498046875,
0.646484375,
0.86279296875,
0.63232421875,
0.86279296875
],
[
0.340576171875,
0.8623046875,
0.400390625,
0.8623046875,
0.400390625,
0.87353515625,
0.340576171875,
0.87353515625
],
[
0.80224609375,
0.861328125,
0.826171875,
0.861328125,
0.826171875,
0.875,
0.80224609375,
0.875
],
[
0.41015625,
0.875,
0.48046875,
0.87744140625,
0.48046875,
0.8896484375,
0.41015625,
0.88623046875
],
[
0.476318359375,
0.87060546875,
0.62841796875,
0.869140625,
0.62841796875,
0.8837890625,
0.476318359375,
0.88525390625
],
[
0.1895751953125,
0.8984375,
0.82275390625,
0.8984375,
0.82275390625,
0.9091796875,
0.1895751953125,
0.9091796875
],
[
0.178955078125,
0.912109375,
0.2254638671875,
0.912109375,
0.2254638671875,
0.923828125,
0.178955078125,
0.923828125
],
[
0.49267578125,
0.94873046875,
0.50634765625,
0.94873046875,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2024",
"上的二进制交叉损失Cw二,DaieDawn(PT(G),P*(G)来优化w((,),并为任何",
"未标记的实例G估计权重[w(k,i))K-1",
"4.2.2 DECOUPLEMODULES BYSIAMESENETWORKS",
"在深入选择模块之前,我们必须首先澄清一个问题:",
"Comparisonbetweenthree selectingmethods",
"我们想要什么样的选择结果?如前所述,每个任务的",
"80",
"Random",
"权重w(k,i)可以表征。e。,使用权重作为选择概率。",
"",
"Importance_based",
"lo",
"Decouple",
"70",
"然而,这种方案相当于在重要性方面解释兼容性,并",
"完全混淆了两者,这违背了我们的预期。Fig。3显",
"示了四种数据集上三种选择方法的结果。可以看出,",
"060",
"完全基于重要性的选择方法忽略了兼容性,有时甚",
"至比随机选择还要差。但是,如果将任务重要性完全",
"50",
"BACEHIV",
"SIDERBBBP",
"丢弃,那将是一个遗憾,因为它无疑提供了丰富的信",
"息,可以用来指导任务选择,所以我们想设计一个选",
"Figure 3:A detailed comparison of",
"择模块来利用这些信息,而不是依赖它。也就是说,",
"three task selecting schemes on four",
"我们希望选择结果和权重是相关的,但不是相互耦合的das,这两个模块应该以这样的方",
"式构建,即选择结果可以利用权重,但不能直接从它们中导出。我们把这个过程称为解耦。",
"如图所示。3,解耦选择实现了最佳性能",
"要回答Q3(解耦),我们以ENair&Hinton(2010)启发的连体网络的形式构造选择模块和称",
"重模块,以同时获得权重和选择结果,然后仅对那些选择的老师进行称重。这样的构造可以",
"严格区分两个模块,使选择模块专注于解决任务兼容性问题,称重模块专注于任务重要性",
"问题",
"4.2.3TASKSELECTINGBYOUITMECHANISM",
"为了回答Q4(兼容性),我们提出了一种新颖的选择模块S,用于自适应地解决任务之间的",
"羲串萨途别为每个实秘选揉磐将造了选择模块和称重模块。但是,由于两",
"个模块具有相同的体系结构,因此如果我们以相同的方式更新它们(e。号。,都是通过反向",
"传播),它们的输出很可能被重新耦合在一起。因此,我们切断了选择模块的梯度反向传播,",
"并采用动量更新来优化选择模块S的参数。令Qweighing表示称重模块W的参数,eselecting",
"表示选择模块S的参数,动量更新的过程可以写成:",
"Ogelecting = m* Oselecting +(1 -m) * Qweighing,",
"(5)",
"其中m是动量更新率,它控制S和W的相似度。此设置使选择模块能够从不同教师的历史",
"权重中获取足够的知识来指导选择结果,因为 Oselecting基于历史Qweighing",
"但是,由于selecting在不同的时期都被Qweighing叠加,因此如果W收敛得更早,则选择模",
"块的输出仍然有可能接近称重模块。因此,我们在S之后添加了一个额外的投影头(实现",
"为MLP),以增强选择和称重结果之间的差异。这样的组织使S仍然可以利用称重信息,但",
"可以与称重模块完全分离,从而使两个模块可以更独立地完成工作。给定选择模块的输出",
"ks(k,i)(就像称重模块w(k,i)的输出一样),我们将ks(k,i)馈送到MLP中,然后对结果",
"MLP(hs(k,i))进行归一化,以确保每个实例至少选择一个老师,定义为",
"MLP(Ks(k.))",
"Knorm(k,i)=",
"(6)",
"maxK-, MLP(rs(k,i))",
"注意norm(k,i)E[0,1],因此每个老师都有机会。此外,在前一个时期未对教师进行抽样",
"并不意味着在下一个时期不会对其进行抽样,这使得我们的模型可以尝试足够数量的任务",
"组合。在收敛阶段,一些教师的概率将接近0,因此他们几乎不参与知识提炼,我们称之为",
"dynamicquit。它可以帮助我们为每个实例选择最合适的老师,因为该模型可以尝试足够的",
"任务组合,并最终丢弃那些无用的任务。为了根据归一化采样概率Knorm(k,i)有区别地选",
"择i实例的k老师,我们使用了重新参数化技巧,这在以前的工作中很常用(Huangetal,",
"2016a;Liuetal,2021b)。具体来说,我们采用Gumbel-Softmax抽样(Maddisonetal,2016),",
"它以概率knorm(k,i)从伯努利分布中抽样k(k,i),定义为",
"1",
"X",
"1",
"k(k,i)=",
"(7)",
"L1+exp",
"(log Knorm(k,i)+G) /T1",
"其中T=1.0是随机的温度。。最后:我们只通过re-softmax来衡量那些被选中的老师,如",
"下所示",
"5"
] |
{
"arxiv_id": "2403.01400",
"language": "zh",
"page_idx": 4
}
|
||
2210.14529-zh-1
|
2210.14529-zh-1.jpg
|
$\textbf{MultiWOZ 是 已 解 决 的 任 务 吗 }?$
带有用户模拟器的交互式 TOD 评估框架
Qinyuan Cheng$^1*\text{Linyang Li}^{1*}$Guofeng Quan$^1$,Feng Gao$^2$,Xiaofeng Mou$^2$ and Xipeng Qiu$^1\dagger$
$^{1}$School of Computer Science, Fudan University $^2$AI Innovation Center, Midea Group Co Ltd
$\{$ chengqy21, gfquan21 $\}@$m.fudan.edu.cn{ linyangli}19, xpqiu $\}@$fudan.edu.cn
$\{$ gaofeng14, mouxf $\}@$midea.com
UTF8gbsn
## $\mathbf{Abstract}$
Task-Oriented Dialogue (TOD) systems are drawing more and more attention in recent studies. Current methods focus on constructing pre-trained models or fine-tuning strategies while the evaluation of TOD is limited by a policy mismatch problem. That is, during evaluation, the user utterances are from the annotated dataset while these utterances should interact with previous responses which can have many alternatives besides annotated texts. Therefore, in this work, we propose an interactive evaluation framework for TOD. We first build a goal-oriented user simulator based on pretrained models and then use the user simulator to interact with the dialogue system to generate dialogues. Besides, we introduce a sentencelevel and a session-level score to measure the sentence fluency and session coherence in the interactive evaluation. Experimental results show that RL-based TOD systems trained by our proposed user simulator can achieve nearly 98 % inform and success rates in the interactive evaluation of MultiWOZ dataset and the proposed scores measure the response quality besides the inform and success rates. We are hoping that our work will encourage simulatorbased interactive evaluations in the TOD task 1
et al., 2018; Chen et al., 2019) usually first recognize user's intents and then generate corresponding responses based on an external database containing booking information. Therefore, the key factor in TOD is the interaction between users and dialogue systems.
However, in current TOD system evaluation process, traditional evaluation process uses annotated user utterances in multi-turn dialogue sessions no matter what responses the dialogue system generated, as illustrated in Figure 1. While in realworld dialogues, the user utterances are coherent with responses from the other speaker (which is the service provider). Therefore, in TOD evaluation, using annotated utterances without interaction with the dialogue system will cause a policy mismatch, which would weaken the soundness of the evaluation results. The mismatch might hurt the evaluation process since some responses may be correct and coherent but use a different policy with the annotated responses. Also, incoherent dialogue histories will affect the response generation. With current state-of-the-art models achieving similar performance, it is natural to consider that the bottleneck in the performance of current TOD systems is not the model capability but the evaluation strategy. Since incorporating human interactions during evaluation is costly, a feasible method is to build an automatic interactive evaluation framework that can solve the policy mismatch problem.
In this paper, we propose a complete interactive evaluation framework to evaluate the TOD system. We first build a strong dialogue user simulator based on pre-trained models, and we use the proposed simulator to deploy interactive evaluations.
In simulator learning, we introduce a goalguided user utterance generation model based on sequence-to-sequence pre-trained models. Then we use reinforcement learning to train both the user simulator and the dialogue system to boost interaction performance.
## 1 Introduction
Building intelligent dialogue systems has become a trend in natural language process applications especially with the help of powerful pre-trained models. Specifically, task-oriented dialogue (TOD) systems (Zhang et al.,2020b) are to help users with scenarios such as booking hotels or flights. These TOD systems (Wen et al.,2017; Zhong
$^{\mathrm{l}}$https://github.com/xiami2019/
User-Simulator
These authors contributed equally to this work.
$^{\dagger}$Corresponding author.
|
[
[
0.334228515625,
0.0914306640625,
0.66650390625,
0.0914306640625,
0.66650390625,
0.105712890625,
0.334228515625,
0.105712890625
],
[
0.287109375,
0.11102294921875,
0.7119140625,
0.11102294921875,
0.7119140625,
0.12890625,
0.287109375,
0.12890625
],
[
0.10662841796875,
0.1436767578125,
0.90185546875,
0.141357421875,
0.90185546875,
0.1591796875,
0.10662841796875,
0.160888671875
],
[
0.307373046875,
0.1602783203125,
0.6962890625,
0.162109375,
0.6962890625,
0.177001953125,
0.307373046875,
0.174560546875
],
[
0.32080078125,
0.1776123046875,
0.6826171875,
0.1776123046875,
0.6826171875,
0.1923828125,
0.32080078125,
0.1923828125
],
[
0.173828125,
0.1953125,
0.8330078125,
0.1953125,
0.8330078125,
0.210205078125,
0.173828125,
0.210205078125
],
[
0.35693359375,
0.2120361328125,
0.6484375,
0.210205078125,
0.6484375,
0.2244873046875,
0.35693359375,
0.226806640625
],
[
0.133544921875,
0.251708984375,
0.21826171875,
0.254150390625,
0.21826171875,
0.26953125,
0.133544921875,
0.267333984375
],
[
0.51123046875,
0.2529296875,
0.8818359375,
0.254150390625,
0.8818359375,
0.268310546875,
0.51123046875,
0.267333984375
],
[
0.2626953125,
0.268310546875,
0.343505859375,
0.268310546875,
0.343505859375,
0.283203125,
0.2626953125,
0.283203125
],
[
0.51123046875,
0.270751953125,
0.88330078125,
0.270751953125,
0.88330078125,
0.283935546875,
0.51123046875,
0.283935546875
],
[
0.51318359375,
0.2861328125,
0.88330078125,
0.2861328125,
0.88330078125,
0.2998046875,
0.51318359375,
0.2998046875
],
[
0.1435546875,
0.297607421875,
0.459228515625,
0.297607421875,
0.459228515625,
0.311279296875,
0.1435546875,
0.311279296875
],
[
0.51123046875,
0.3017578125,
0.880859375,
0.3017578125,
0.880859375,
0.3154296875,
0.51123046875,
0.3154296875
],
[
0.1427001953125,
0.311279296875,
0.459228515625,
0.3134765625,
0.459228515625,
0.32666015625,
0.1427001953125,
0.32470703125
],
[
0.5146484375,
0.320556640625,
0.880859375,
0.320556640625,
0.880859375,
0.330810546875,
0.5146484375,
0.330810546875
],
[
0.145263671875,
0.32666015625,
0.459228515625,
0.32666015625,
0.459228515625,
0.34033203125,
0.145263671875,
0.34033203125
],
[
0.51123046875,
0.3349609375,
0.646484375,
0.3349609375,
0.646484375,
0.3486328125,
0.51123046875,
0.3486328125
],
[
0.14697265625,
0.342529296875,
0.45751953125,
0.342529296875,
0.45751953125,
0.352783203125,
0.14697265625,
0.352783203125
],
[
0.145263671875,
0.355224609375,
0.4609375,
0.355224609375,
0.4609375,
0.3681640625,
0.145263671875,
0.3681640625
],
[
0.53076171875,
0.352783203125,
0.8818359375,
0.352783203125,
0.8818359375,
0.366455078125,
0.53076171875,
0.366455078125
],
[
0.14697265625,
0.3681640625,
0.459228515625,
0.3681640625,
0.459228515625,
0.3818359375,
0.14697265625,
0.3818359375
],
[
0.51123046875,
0.369384765625,
0.8818359375,
0.369384765625,
0.8818359375,
0.383056640625,
0.51123046875,
0.383056640625
],
[
0.145263671875,
0.383056640625,
0.459228515625,
0.383056640625,
0.459228515625,
0.396728515625,
0.145263671875,
0.396728515625
],
[
0.51318359375,
0.38720703125,
0.880859375,
0.38720703125,
0.880859375,
0.39794921875,
0.51318359375,
0.39794921875
],
[
0.1435546875,
0.39794921875,
0.459228515625,
0.39794921875,
0.459228515625,
0.410888671875,
0.1435546875,
0.410888671875
],
[
0.51123046875,
0.402099609375,
0.8818359375,
0.402099609375,
0.8818359375,
0.4150390625,
0.51123046875,
0.4150390625
],
[
0.1435546875,
0.410888671875,
0.45751953125,
0.412109375,
0.45751953125,
0.42578125,
0.1435546875,
0.424560546875
],
[
0.509765625,
0.41748046875,
0.880859375,
0.41748046875,
0.880859375,
0.43115234375,
0.509765625,
0.43115234375
],
[
0.145263671875,
0.42578125,
0.459228515625,
0.42578125,
0.459228515625,
0.439453125,
0.145263671875,
0.439453125
],
[
0.51123046875,
0.43408203125,
0.8818359375,
0.43408203125,
0.8818359375,
0.44775390625,
0.51123046875,
0.44775390625
],
[
0.1435546875,
0.440673828125,
0.459228515625,
0.440673828125,
0.459228515625,
0.45361328125,
0.1435546875,
0.45361328125
],
[
0.145263671875,
0.45361328125,
0.459228515625,
0.45361328125,
0.459228515625,
0.46728515625,
0.145263671875,
0.46728515625
],
[
0.51123046875,
0.449462890625,
0.8818359375,
0.449462890625,
0.8818359375,
0.463134765625,
0.51123046875,
0.463134765625
],
[
0.145263671875,
0.468505859375,
0.459228515625,
0.468505859375,
0.459228515625,
0.482177734375,
0.145263671875,
0.482177734375
],
[
0.51123046875,
0.465576171875,
0.8818359375,
0.46435546875,
0.8818359375,
0.478515625,
0.51123046875,
0.479736328125
],
[
0.14697265625,
0.48388671875,
0.45751953125,
0.48388671875,
0.45751953125,
0.49462890625,
0.14697265625,
0.49462890625
],
[
0.51123046875,
0.482177734375,
0.8818359375,
0.482177734375,
0.8818359375,
0.495361328125,
0.51123046875,
0.495361328125
],
[
0.145263671875,
0.49755859375,
0.459228515625,
0.49755859375,
0.459228515625,
0.51123046875,
0.145263671875,
0.51123046875
],
[
0.51123046875,
0.498779296875,
0.880859375,
0.498779296875,
0.880859375,
0.5126953125,
0.51123046875,
0.5126953125
],
[
0.145263671875,
0.51123046875,
0.459228515625,
0.51123046875,
0.459228515625,
0.52490234375,
0.145263671875,
0.52490234375
],
[
0.51123046875,
0.51416015625,
0.88330078125,
0.51416015625,
0.88330078125,
0.52783203125,
0.51123046875,
0.52783203125
],
[
0.145263671875,
0.52490234375,
0.459228515625,
0.52490234375,
0.459228515625,
0.5380859375,
0.145263671875,
0.5380859375
],
[
0.509765625,
0.52978515625,
0.8818359375,
0.52978515625,
0.8818359375,
0.54345703125,
0.509765625,
0.54345703125
],
[
0.145263671875,
0.5380859375,
0.456787109375,
0.5380859375,
0.456787109375,
0.5517578125,
0.145263671875,
0.5517578125
],
[
0.509765625,
0.5458984375,
0.8818359375,
0.54638671875,
0.8818359375,
0.56103515625,
0.509765625,
0.56005859375
],
[
0.145263671875,
0.55419921875,
0.45751953125,
0.55419921875,
0.45751953125,
0.56787109375,
0.145263671875,
0.56787109375
],
[
0.145263671875,
0.56787109375,
0.45751953125,
0.56787109375,
0.45751953125,
0.58056640625,
0.145263671875,
0.58056640625
],
[
0.51123046875,
0.5634765625,
0.8818359375,
0.5634765625,
0.8818359375,
0.57666015625,
0.51123046875,
0.57666015625
],
[
0.14697265625,
0.58447265625,
0.456787109375,
0.58447265625,
0.456787109375,
0.59423828125,
0.14697265625,
0.59423828125
],
[
0.51318359375,
0.5791015625,
0.88330078125,
0.5791015625,
0.88330078125,
0.5927734375,
0.51318359375,
0.5927734375
],
[
0.14697265625,
0.59716796875,
0.45751953125,
0.59716796875,
0.45751953125,
0.60791015625,
0.14697265625,
0.60791015625
],
[
0.51123046875,
0.59326171875,
0.8818359375,
0.59423828125,
0.8818359375,
0.609375,
0.51123046875,
0.60791015625
],
[
0.145263671875,
0.60986328125,
0.45751953125,
0.60986328125,
0.45751953125,
0.62353515625,
0.145263671875,
0.62353515625
],
[
0.51123046875,
0.60986328125,
0.8818359375,
0.60986328125,
0.8818359375,
0.62353515625,
0.51123046875,
0.62353515625
],
[
0.145263671875,
0.62451171875,
0.45751953125,
0.62451171875,
0.45751953125,
0.63818359375,
0.145263671875,
0.63818359375
],
[
0.51123046875,
0.626953125,
0.8818359375,
0.626953125,
0.8818359375,
0.64013671875,
0.51123046875,
0.64013671875
],
[
0.145263671875,
0.6396484375,
0.45751953125,
0.6396484375,
0.45751953125,
0.65283203125,
0.145263671875,
0.65283203125
],
[
0.51123046875,
0.642578125,
0.8818359375,
0.642578125,
0.8818359375,
0.65625,
0.51123046875,
0.65625
],
[
0.14697265625,
0.65478515625,
0.45751953125,
0.65478515625,
0.45751953125,
0.6650390625,
0.14697265625,
0.6650390625
],
[
0.51123046875,
0.6591796875,
0.8818359375,
0.6591796875,
0.8818359375,
0.6728515625,
0.51123046875,
0.6728515625
],
[
0.145263671875,
0.66748046875,
0.459228515625,
0.66748046875,
0.459228515625,
0.68115234375,
0.145263671875,
0.68115234375
],
[
0.51123046875,
0.67578125,
0.8818359375,
0.67578125,
0.8818359375,
0.689453125,
0.51123046875,
0.689453125
],
[
0.51123046875,
0.6904296875,
0.880859375,
0.6904296875,
0.880859375,
0.70361328125,
0.51123046875,
0.70361328125
],
[
0.51318359375,
0.708984375,
0.880859375,
0.708984375,
0.880859375,
0.7197265625,
0.51318359375,
0.7197265625
],
[
0.118408203125,
0.7236328125,
0.1318359375,
0.7236328125,
0.1318359375,
0.73291015625,
0.118408203125,
0.73291015625
],
[
0.151123046875,
0.7216796875,
0.2626953125,
0.7216796875,
0.2626953125,
0.736328125,
0.151123046875,
0.736328125
],
[
0.51123046875,
0.7236328125,
0.880859375,
0.7236328125,
0.880859375,
0.73681640625,
0.51123046875,
0.73681640625
],
[
0.5283203125,
0.74072265625,
0.880859375,
0.74072265625,
0.880859375,
0.75439453125,
0.5283203125,
0.75439453125
],
[
0.1158447265625,
0.74658203125,
0.48779296875,
0.74755859375,
0.48779296875,
0.7626953125,
0.1158447265625,
0.76123046875
],
[
0.51318359375,
0.75732421875,
0.8818359375,
0.75732421875,
0.8818359375,
0.77099609375,
0.51318359375,
0.77099609375
],
[
0.1158447265625,
0.765625,
0.490234375,
0.765625,
0.490234375,
0.779296875,
0.1158447265625,
0.779296875
],
[
0.509765625,
0.7724609375,
0.88330078125,
0.77392578125,
0.88330078125,
0.7880859375,
0.509765625,
0.78759765625
],
[
0.1175537109375,
0.78076171875,
0.489501953125,
0.78076171875,
0.489501953125,
0.79443359375,
0.1175537109375,
0.79443359375
],
[
0.509765625,
0.7890625,
0.8818359375,
0.7890625,
0.8818359375,
0.802734375,
0.509765625,
0.802734375
],
[
0.1175537109375,
0.79638671875,
0.48779296875,
0.79638671875,
0.48779296875,
0.81005859375,
0.1175537109375,
0.81005859375
],
[
0.509765625,
0.8056640625,
0.8759765625,
0.8056640625,
0.8759765625,
0.82080078125,
0.509765625,
0.82080078125
],
[
0.1175537109375,
0.8125,
0.48779296875,
0.8125,
0.48779296875,
0.82666015625,
0.1175537109375,
0.82666015625
],
[
0.1175537109375,
0.8291015625,
0.484375,
0.8291015625,
0.484375,
0.8427734375,
0.1175537109375,
0.8427734375
],
[
0.52880859375,
0.82470703125,
0.88330078125,
0.82470703125,
0.88330078125,
0.83837890625,
0.52880859375,
0.83837890625
],
[
0.1158447265625,
0.84423828125,
0.486083984375,
0.84423828125,
0.486083984375,
0.859375,
0.1158447265625,
0.859375
],
[
0.509765625,
0.84033203125,
0.8818359375,
0.8388671875,
0.8818359375,
0.85400390625,
0.509765625,
0.85498046875
],
[
0.5087890625,
0.85693359375,
0.880859375,
0.85693359375,
0.880859375,
0.87060546875,
0.5087890625,
0.87060546875
],
[
0.139404296875,
0.8681640625,
0.4072265625,
0.8681640625,
0.4072265625,
0.8818359375,
0.139404296875,
0.8818359375
],
[
0.51123046875,
0.87255859375,
0.8818359375,
0.87255859375,
0.8818359375,
0.8857421875,
0.51123046875,
0.8857421875
],
[
0.1175537109375,
0.8818359375,
0.2435302734375,
0.8818359375,
0.2435302734375,
0.892578125,
0.1175537109375,
0.892578125
],
[
0.1368408203125,
0.892578125,
0.429931640625,
0.892578125,
0.429931640625,
0.90625,
0.1368408203125,
0.90625
],
[
0.51123046875,
0.8896484375,
0.88330078125,
0.8896484375,
0.88330078125,
0.90283203125,
0.51123046875,
0.90283203125
],
[
0.1368408203125,
0.90478515625,
0.28369140625,
0.90478515625,
0.28369140625,
0.91845703125,
0.1368408203125,
0.91845703125
],
[
0.509765625,
0.90478515625,
0.6943359375,
0.90478515625,
0.6943359375,
0.91845703125,
0.509765625,
0.91845703125
]
] |
[
"Multiwoz是已解决的任务吗?",
"带有用户模拟器的交互式TOD评估框架",
"Qinyuan Cheng', Linyang Lil', Guofeng Quan', Feng Gao°, Xiaofeng Mou? and Xipeng Qiul t",
"1School of Computer Science,Fudan University",
"2 AI Innovation Center, Midea Group Co Ltd",
"[ chengqy21, gfquan21 1 @m.fudan.edu.cn [ linyangli19, xpqiu ] @fudan.edu.cn",
"( gaofeng14, mouxf } @midea.com",
"UTF8gbsn",
"et al., 2018; Chen et al., 2019) usually first recog",
"Abstract",
"nize user's intents and then generate correspond-",
"ing responses based on an external database con-",
"Task-Oriented Dialogue (TOD) systems are",
"taining booking information. Therefore, the key",
"drawing more and more attention in recent",
"factorinTODistheinteractionbetweenusersand",
"studies. Current methods focus on construct-",
"dialogue systems.",
"ingpre-trainedmodelsorfine-tuningstrategies",
"while the evaluation of TOD is limited by a pol-",
"However, in current TOD system evaluation pro-",
"icy mismatch problem. That is, during evalua-",
"cess, traditional evaluation process uses annotated",
"tion, the user utterances are from the annotated",
"userutterancesinmulti-turndialoguesessionsno",
"dataset while these utterances should interact",
"matter what responses the dialogue system gen-",
"with previous responses which can have many",
"erated, as illustrated in Figure I. While in real",
"alternatives besides annotated texts. There-",
"world dialogues, the user utterances are coherent",
"fore, in this work, we propose an interactive",
"evaluation framework for TOD. We first build",
"with responses from the other speaker (which is",
"a goal-oriented user simulator based on pre-",
"the service provider). Therefore, in TOD evalu-",
"trained models and then use the user simulator",
"ation, using annotated utterances without interac.",
"to interact with the dialogue system to generate",
"tion with the dialogue system will cause a policy",
"dialogues. Besides, we introduce a sentence-",
"mismatch, which would weaken the soundness of",
"level and a session-level score to measure the",
"the evaluation results. The mismatch might hurt",
"sentence fluency and session coherence in the",
"the evaluation process since some responses may",
"interactive evaluation.Experimental results",
"show that RL-based TOD systems trained by",
"be correct and coherent but use a different policy",
"ourproposedusersimulatorcanachievenearly",
"with the annotated responses. Also, incoherent dia-",
"98 % inform and success rates in the interac-",
"logue histories will affect the response generation.",
"tive evaluation of MultiwOZ dataset and the",
"With current state-of-the-art models achieving sim-",
"proposed scores measure the response quality",
"ilar performance, it is natural to consider that the",
"besides the inform and success rates. We are",
"bottleneck in the performance of current TOD sys-",
"hoping that our work will encourage simulator",
"tems is not the model capability but the evaluation",
"based interactive evaluations in the TOD task",
"strategy. Since incorporating human interactions",
"during evaluation is costly, a feasible method is",
"tobuildanautomaticinteractiveevaluationframe",
"1",
"Introduction",
"work that can solve the policy mismatch problem.",
"In this paper, we propose a complete interactive",
"Building intelligent dialogue systems has become",
"evaluation framework to evaluate the TOD system.",
"a trend in natural language process applications es-",
"We first build a strong dialogue user simulator",
"pecially with the help of powerful pre-trained mod-",
"based on pre-trained models, and we use the pro-",
"els. Specifically, task-oriented dialogue (TOD)",
"posed simulator to deploy interactive evaluations.",
"systems (Zhang et al., 2020b) are to help users",
"with scenarios such as booking hotels or flights.",
"In simulator learning, we introduce a goal-",
"These TOD systems (Wen et al., 2017; Zhong",
"guided user utterance generation model based on",
" sequence-to-sequence pre-trained models.Then",
"lhttps://github.com/xiami2019/",
"we use reinforcement learning to train both the",
"User-simulator",
"* These authors contributed equally to this work.",
"user simulator and the dialogue system to boost",
"+ Corresponding author.",
"interaction performance."
] |
{
"arxiv_id": "2210.14529",
"language": "zh",
"page_idx": 1
}
|
||
2210.14529-zh-2
|
2210.14529-zh-2.jpg
|
<FigureHere>
Figure 1: Illustration of interactions between users and systems. Traditional evaluation might face a policy mismatch between utterances annotated with red color.
In interactive evaluations, we use the simulator to generate user utterances based on interactions with the generated responses instead of using static user utterances that have been annotated in advance. Therefore, during evaluation, user utterances will respond to the generated responses, which can avoid the mismatch between stale user utterances and generated responses. Further, in interactive evaluations, the quality of the generated texts cannot be measured since traditional BLEU cannot be calculated without oracle texts. To better evaluate the performance of dialogue systems, we introduce two automatic scores to evaluate the response quality at both sentence-level and session-level. The sentence-level score is to evaluate the sentence fluency and the session-level score is to evaluate the coherence between turns in a dialogue session. Also, these proposed scores can be used in traditional evaluation methods as well as the annotated dataset as a meta-evaluation to explore the importance of using user simulators to construct interactive evaluations.
We construct experiments on MultiWOZ dataset (Budzianowski et al., 2018) based on pretrained models and use our proposed simulator and scores to run interactive evaluations. Experimental results show that interactive evaluations can achieve over 98 % inform and success rates, indicating that the bottleneck of TOD performance is the lack of proper evaluation methods. The proposed scores show that our proposed simulator can help achieve promising evaluation results in the interactive evaluation framework. Also, we explore the performance of RL-based models and we also use proposed scores to find that RL methods might hurt response quality to achieve high success rates.
Therefore, we can summarize our contributions: (A) We construct an evaluation framework that avoids policy mismatch problems in TOD.
(B) We build a strong user simulator for TOD systems that can be used in TOD training and evaluation.
(C) Experimental results show the importance of using our proposed simulator and evaluation framework and provide hints for future TOD system developments with public available codes.
## 2 $\textbf{Related Work}$
2.1 Task-Oriented Dialogue Systems
Task-oriented dialogue systems aim to achieve users' goals such as booking hotels or flights (Wen et al., 2017; Eric et al., 2017). With the widespread use of pre-trained models (Qiu et al., 2020), endto-end TOD systems based on pre-trained models become more and more popular: Hosseini-Asl et al. (2020) fine-tunes all subtasks of TOD using multi-task learning based on a single pre-trained model. Yang et al.(2021) encodes results of intermediate subtasks, such as belief states and system actions, into dialogue history to boost responses generation. Su et al.(2021) and He et al.(2021) use additional dialogue corpus to further pre-train the language model and then fne-tune the model on MultiWOZ dataset. Lee (2021) introduces an auxiliary task based on T5 models (Raffel et al., 2020) and achieves state-of-the-art performance without using further pre-training methods.
## 2.2 $\textbf{Automatic Evaluations}$
Recent trends leverage neural models to automatically evaluate generated texts from different perspectives. Automatic evaluation methods can help evaluate certain aspects in certain tasks such as factuality checking in text summarization (Kryscinski et al., 2020), stronger BLEU score in machine translation (Sellam et al., 2020) and coherence in dialogue systems (Tao et al., 2018; Pang et al., 2020). With pre-trained models, the quality of text generation can be measured by evaluation methods such as BERTScore (Zhang et al., 2020a) and BARTScore (Yuan et al., 2021). With properly designed neural model scores, the performance of dialogue systems can be more accurately evaluated.
# 2.3 User Simulators
User simulators are designed to simulate users' behaviors in dialogue interactions, including rule-
|
[
[
0.235107421875,
0.08197021484375,
0.328369140625,
0.08197021484375,
0.328369140625,
0.0926513671875,
0.235107421875,
0.0926513671875
],
[
0.53076171875,
0.08612060546875,
0.8818359375,
0.08612060546875,
0.8818359375,
0.09979248046875,
0.53076171875,
0.09979248046875
],
[
0.12176513671875,
0.0926513671875,
0.3955078125,
0.0926513671875,
0.3955078125,
0.10272216796875,
0.12176513671875,
0.10272216796875
],
[
0.118408203125,
0.1009521484375,
0.453369140625,
0.09979248046875,
0.453369140625,
0.1134033203125,
0.118408203125,
0.114013671875
],
[
0.51318359375,
0.10394287109375,
0.880859375,
0.10394287109375,
0.880859375,
0.114013671875,
0.51318359375,
0.114013671875
],
[
0.12005615234375,
0.114013671875,
0.273681640625,
0.114013671875,
0.273681640625,
0.12469482421875,
0.12005615234375,
0.12469482421875
],
[
0.51123046875,
0.1181640625,
0.82373046875,
0.1181640625,
0.82373046875,
0.1318359375,
0.51123046875,
0.1318359375
],
[
0.235107421875,
0.1258544921875,
0.3359375,
0.1258544921875,
0.3359375,
0.133056640625,
0.235107421875,
0.133056640625
],
[
0.12005615234375,
0.1318359375,
0.39794921875,
0.1318359375,
0.39794921875,
0.1455078125,
0.12005615234375,
0.1455078125
],
[
0.53076171875,
0.1341552734375,
0.880859375,
0.1341552734375,
0.880859375,
0.1484375,
0.53076171875,
0.1484375
],
[
0.1234130859375,
0.1478271484375,
0.1561279296875,
0.1478271484375,
0.1561279296875,
0.155029296875,
0.1234130859375,
0.155029296875
],
[
0.17041015625,
0.1478271484375,
0.1822509765625,
0.1478271484375,
0.1822509765625,
0.1519775390625,
0.17041015625,
0.1519775390625
],
[
0.204833984375,
0.1478271484375,
0.2451171875,
0.1478271484375,
0.2451171875,
0.155029296875,
0.204833984375,
0.155029296875
],
[
0.297119140625,
0.1484375,
0.32666015625,
0.1484375,
0.32666015625,
0.152587890625,
0.297119140625,
0.152587890625
],
[
0.4189453125,
0.1478271484375,
0.4609375,
0.1478271484375,
0.4609375,
0.155029296875,
0.4189453125,
0.155029296875
],
[
0.51123046875,
0.15087890625,
0.8818359375,
0.15087890625,
0.8818359375,
0.1644287109375,
0.51123046875,
0.1644287109375
],
[
0.12005615234375,
0.162109375,
0.270263671875,
0.1644287109375,
0.270263671875,
0.174560546875,
0.12005615234375,
0.1728515625
],
[
0.51123046875,
0.168701171875,
0.5634765625,
0.168701171875,
0.5634765625,
0.179931640625,
0.51123046875,
0.179931640625
],
[
0.2392578125,
0.177001953125,
0.330078125,
0.177001953125,
0.330078125,
0.18408203125,
0.2392578125,
0.18408203125
],
[
0.12005615234375,
0.18408203125,
0.444091796875,
0.18408203125,
0.444091796875,
0.19482421875,
0.12005615234375,
0.19482421875
],
[
0.52880859375,
0.182861328125,
0.8818359375,
0.182861328125,
0.8818359375,
0.196533203125,
0.52880859375,
0.196533203125
],
[
0.210693359375,
0.19775390625,
0.268798828125,
0.19775390625,
0.268798828125,
0.204833984375,
0.210693359375,
0.204833984375
],
[
0.287109375,
0.196533203125,
0.432373046875,
0.196533203125,
0.432373046875,
0.207275390625,
0.287109375,
0.207275390625
],
[
0.51123046875,
0.1995849609375,
0.8818359375,
0.1995849609375,
0.8818359375,
0.213134765625,
0.51123046875,
0.213134765625
],
[
0.1695556640625,
0.207275390625,
0.2880859375,
0.207275390625,
0.2880859375,
0.21435546875,
0.1695556640625,
0.21435546875
],
[
0.1234130859375,
0.198974609375,
0.2091064453125,
0.198974609375,
0.2091064453125,
0.2060546875,
0.1234130859375,
0.2060546875
],
[
0.12005615234375,
0.213134765625,
0.484375,
0.213134765625,
0.484375,
0.226806640625,
0.12005615234375,
0.226806640625
],
[
0.51123046875,
0.215576171875,
0.88330078125,
0.215576171875,
0.88330078125,
0.2286376953125,
0.51123046875,
0.2286376953125
],
[
0.509765625,
0.232177734375,
0.85546875,
0.232177734375,
0.85546875,
0.2452392578125,
0.509765625,
0.2452392578125
],
[
0.1158447265625,
0.240478515625,
0.48779296875,
0.240478515625,
0.48779296875,
0.254150390625,
0.1158447265625,
0.254150390625
],
[
0.11419677734375,
0.255859375,
0.48779296875,
0.255859375,
0.48779296875,
0.26953125,
0.11419677734375,
0.26953125
],
[
0.51904296875,
0.26123046875,
0.52294921875,
0.267333984375,
0.51904296875,
0.26953125,
0.5146484375,
0.26318359375
],
[
0.5458984375,
0.260009765625,
0.6708984375,
0.260009765625,
0.6708984375,
0.273681640625,
0.5458984375,
0.273681640625
],
[
0.11419677734375,
0.268310546875,
0.462646484375,
0.268310546875,
0.462646484375,
0.281982421875,
0.11419677734375,
0.281982421875
],
[
0.51123046875,
0.2861328125,
0.81689453125,
0.2861328125,
0.81689453125,
0.2998046875,
0.51123046875,
0.2998046875
],
[
0.509765625,
0.305908203125,
0.8818359375,
0.30712890625,
0.8818359375,
0.32177734375,
0.509765625,
0.320556640625
],
[
0.1351318359375,
0.319580078125,
0.491943359375,
0.319580078125,
0.491943359375,
0.333251953125,
0.1351318359375,
0.333251953125
],
[
0.51123046875,
0.325927734375,
0.880859375,
0.325927734375,
0.880859375,
0.336181640625,
0.51123046875,
0.336181640625
],
[
0.1175537109375,
0.336181640625,
0.491943359375,
0.336181640625,
0.491943359375,
0.349853515625,
0.1175537109375,
0.349853515625
],
[
0.51123046875,
0.341552734375,
0.880859375,
0.341552734375,
0.880859375,
0.3515625,
0.51123046875,
0.3515625
],
[
0.118408203125,
0.35400390625,
0.489501953125,
0.35400390625,
0.489501953125,
0.364013671875,
0.118408203125,
0.364013671875
],
[
0.5087890625,
0.355224609375,
0.8818359375,
0.355224609375,
0.8818359375,
0.3681640625,
0.5087890625,
0.3681640625
],
[
0.1175537109375,
0.3681640625,
0.48779296875,
0.3681640625,
0.48779296875,
0.3818359375,
0.1175537109375,
0.3818359375
],
[
0.5087890625,
0.37060546875,
0.88330078125,
0.371826171875,
0.88330078125,
0.385986328125,
0.5087890625,
0.385498046875
],
[
0.1158447265625,
0.383056640625,
0.490234375,
0.38427734375,
0.490234375,
0.3984375,
0.1158447265625,
0.39794921875
],
[
0.5087890625,
0.38720703125,
0.8818359375,
0.385986328125,
0.8818359375,
0.40087890625,
0.5087890625,
0.402099609375
],
[
0.1158447265625,
0.40087890625,
0.48779296875,
0.40087890625,
0.48779296875,
0.41455078125,
0.1158447265625,
0.41455078125
],
[
0.5087890625,
0.402587890625,
0.8818359375,
0.40380859375,
0.8818359375,
0.418701171875,
0.5087890625,
0.41748046875
],
[
0.11419677734375,
0.416259765625,
0.486083984375,
0.416259765625,
0.486083984375,
0.429931640625,
0.11419677734375,
0.429931640625
],
[
0.509765625,
0.42041015625,
0.8818359375,
0.42041015625,
0.8818359375,
0.43408203125,
0.509765625,
0.43408203125
],
[
0.1158447265625,
0.432861328125,
0.48779296875,
0.432861328125,
0.48779296875,
0.446533203125,
0.1158447265625,
0.446533203125
],
[
0.51123046875,
0.435791015625,
0.88330078125,
0.435791015625,
0.88330078125,
0.449462890625,
0.51123046875,
0.449462890625
],
[
0.1175537109375,
0.449462890625,
0.490234375,
0.449462890625,
0.490234375,
0.463134765625,
0.1175537109375,
0.463134765625
],
[
0.51123046875,
0.453125,
0.8818359375,
0.453125,
0.8818359375,
0.466064453125,
0.51123046875,
0.466064453125
],
[
0.1158447265625,
0.465576171875,
0.48779296875,
0.465576171875,
0.48779296875,
0.478515625,
0.1158447265625,
0.478515625
],
[
0.5146484375,
0.47021484375,
0.87890625,
0.47021484375,
0.87890625,
0.48095703125,
0.5146484375,
0.48095703125
],
[
0.1158447265625,
0.479736328125,
0.484375,
0.48095703125,
0.484375,
0.495361328125,
0.1158447265625,
0.49462890625
],
[
0.51123046875,
0.48388671875,
0.880859375,
0.482666015625,
0.880859375,
0.49755859375,
0.51123046875,
0.498779296875
],
[
0.1158447265625,
0.49755859375,
0.490234375,
0.49755859375,
0.490234375,
0.51123046875,
0.1158447265625,
0.51123046875
],
[
0.509765625,
0.50048828125,
0.880859375,
0.50048828125,
0.880859375,
0.51416015625,
0.509765625,
0.51416015625
],
[
0.1158447265625,
0.51318359375,
0.490234375,
0.51318359375,
0.490234375,
0.52685546875,
0.1158447265625,
0.52685546875
],
[
0.51123046875,
0.51708984375,
0.8818359375,
0.51708984375,
0.8818359375,
0.53076171875,
0.51123046875,
0.53076171875
],
[
0.1158447265625,
0.52978515625,
0.48779296875,
0.52978515625,
0.48779296875,
0.54345703125,
0.1158447265625,
0.54345703125
],
[
0.51123046875,
0.53369140625,
0.880859375,
0.53369140625,
0.880859375,
0.54443359375,
0.51123046875,
0.54443359375
],
[
0.11419677734375,
0.54345703125,
0.489501953125,
0.54345703125,
0.489501953125,
0.55810546875,
0.11419677734375,
0.55810546875
],
[
0.509765625,
0.548828125,
0.880859375,
0.548828125,
0.880859375,
0.5625,
0.509765625,
0.5625
],
[
0.1175537109375,
0.56103515625,
0.489501953125,
0.56103515625,
0.489501953125,
0.57470703125,
0.1175537109375,
0.57470703125
],
[
0.509765625,
0.5654296875,
0.88330078125,
0.5654296875,
0.88330078125,
0.5791015625,
0.509765625,
0.5791015625
],
[
0.118408203125,
0.5791015625,
0.489501953125,
0.5791015625,
0.489501953125,
0.5888671875,
0.118408203125,
0.5888671875
],
[
0.509765625,
0.58203125,
0.82958984375,
0.58203125,
0.82958984375,
0.595703125,
0.509765625,
0.595703125
],
[
0.1175537109375,
0.59423828125,
0.48779296875,
0.59423828125,
0.48779296875,
0.60791015625,
0.1175537109375,
0.60791015625
],
[
0.51318359375,
0.609375,
0.54736328125,
0.609375,
0.54736328125,
0.62060546875,
0.51318359375,
0.62060546875
],
[
0.54833984375,
0.60693359375,
0.74072265625,
0.60791015625,
0.74072265625,
0.62255859375,
0.54833984375,
0.62158203125
],
[
0.1175537109375,
0.626953125,
0.490234375,
0.626953125,
0.490234375,
0.64013671875,
0.1175537109375,
0.64013671875
],
[
0.1158447265625,
0.60986328125,
0.489501953125,
0.60986328125,
0.489501953125,
0.62353515625,
0.1158447265625,
0.62353515625
],
[
0.509765625,
0.62890625,
0.8818359375,
0.62890625,
0.8818359375,
0.6435546875,
0.509765625,
0.6435546875
],
[
0.1158447265625,
0.64111328125,
0.48779296875,
0.64111328125,
0.48779296875,
0.65478515625,
0.1158447265625,
0.65478515625
],
[
0.509765625,
0.646484375,
0.88330078125,
0.646484375,
0.88330078125,
0.66015625,
0.509765625,
0.66015625
],
[
0.1158447265625,
0.6591796875,
0.36279296875,
0.6591796875,
0.36279296875,
0.6728515625,
0.1158447265625,
0.6728515625
],
[
0.51123046875,
0.662109375,
0.8818359375,
0.662109375,
0.8818359375,
0.6767578125,
0.51123046875,
0.6767578125
],
[
0.1351318359375,
0.6787109375,
0.48779296875,
0.6787109375,
0.48779296875,
0.693359375,
0.1351318359375,
0.693359375
],
[
0.5087890625,
0.677734375,
0.8818359375,
0.677734375,
0.8818359375,
0.69140625,
0.5087890625,
0.69140625
],
[
0.1175537109375,
0.69482421875,
0.490234375,
0.69482421875,
0.490234375,
0.7080078125,
0.1175537109375,
0.7080078125
],
[
0.509765625,
0.6953125,
0.884765625,
0.6953125,
0.884765625,
0.708984375,
0.509765625,
0.708984375
],
[
0.1175537109375,
0.7119140625,
0.489501953125,
0.7119140625,
0.489501953125,
0.7255859375,
0.1175537109375,
0.7255859375
],
[
0.509765625,
0.71044921875,
0.8818359375,
0.71044921875,
0.8818359375,
0.724609375,
0.509765625,
0.724609375
],
[
0.1158447265625,
0.72802734375,
0.490234375,
0.72802734375,
0.490234375,
0.7412109375,
0.1158447265625,
0.7412109375
],
[
0.509765625,
0.72705078125,
0.8818359375,
0.72705078125,
0.8818359375,
0.74072265625,
0.509765625,
0.74072265625
],
[
0.1158447265625,
0.74365234375,
0.48779296875,
0.74365234375,
0.48779296875,
0.75732421875,
0.1158447265625,
0.75732421875
],
[
0.51318359375,
0.7421875,
0.880859375,
0.7421875,
0.880859375,
0.75732421875,
0.51318359375,
0.75732421875
],
[
0.1158447265625,
0.75830078125,
0.486083984375,
0.75830078125,
0.486083984375,
0.7724609375,
0.1158447265625,
0.7724609375
],
[
0.51318359375,
0.7587890625,
0.8818359375,
0.7587890625,
0.8818359375,
0.7724609375,
0.51318359375,
0.7724609375
],
[
0.1158447265625,
0.775390625,
0.490234375,
0.775390625,
0.490234375,
0.7890625,
0.1158447265625,
0.7890625
],
[
0.51123046875,
0.775390625,
0.88330078125,
0.77490234375,
0.88330078125,
0.7880859375,
0.51123046875,
0.7890625
],
[
0.1158447265625,
0.7919921875,
0.484375,
0.7919921875,
0.484375,
0.8056640625,
0.1158447265625,
0.8056640625
],
[
0.51123046875,
0.79052734375,
0.8818359375,
0.79052734375,
0.8818359375,
0.8046875,
0.51123046875,
0.8046875
],
[
0.11419677734375,
0.80810546875,
0.486083984375,
0.80810546875,
0.486083984375,
0.82177734375,
0.11419677734375,
0.82177734375
],
[
0.51123046875,
0.8056640625,
0.88330078125,
0.80712890625,
0.88330078125,
0.82177734375,
0.51123046875,
0.82080078125
],
[
0.1158447265625,
0.82470703125,
0.489501953125,
0.82470703125,
0.489501953125,
0.83837890625,
0.1158447265625,
0.83837890625
],
[
0.509765625,
0.82373046875,
0.88330078125,
0.82373046875,
0.88330078125,
0.83740234375,
0.509765625,
0.83740234375
],
[
0.1175537109375,
0.8427734375,
0.483642578125,
0.8427734375,
0.483642578125,
0.8525390625,
0.1175537109375,
0.8525390625
],
[
0.51123046875,
0.84033203125,
0.87744140625,
0.84033203125,
0.87744140625,
0.85400390625,
0.51123046875,
0.85400390625
],
[
0.1175537109375,
0.85693359375,
0.48779296875,
0.85693359375,
0.48779296875,
0.87060546875,
0.1175537109375,
0.87060546875
],
[
0.51318359375,
0.86767578125,
0.5556640625,
0.86767578125,
0.5556640625,
0.87890625,
0.51318359375,
0.87890625
],
[
0.55322265625,
0.87060546875,
0.55908203125,
0.87060546875,
0.55908203125,
0.8759765625,
0.55322265625,
0.8759765625
],
[
0.55517578125,
0.86767578125,
0.6884765625,
0.86767578125,
0.6884765625,
0.88134765625,
0.55517578125,
0.88134765625
],
[
0.11419677734375,
0.88720703125,
0.489501953125,
0.88818359375,
0.489501953125,
0.90283203125,
0.11419677734375,
0.90185546875
],
[
0.11419677734375,
0.87255859375,
0.486083984375,
0.87255859375,
0.486083984375,
0.8857421875,
0.11419677734375,
0.8857421875
],
[
0.509765625,
0.88818359375,
0.87890625,
0.88818359375,
0.87890625,
0.90185546875,
0.509765625,
0.90185546875
],
[
0.1158447265625,
0.90478515625,
0.31494140625,
0.90478515625,
0.31494140625,
0.91845703125,
0.1158447265625,
0.91845703125
],
[
0.51123046875,
0.90478515625,
0.8818359375,
0.90478515625,
0.8818359375,
0.91845703125,
0.51123046875,
0.91845703125
]
] |
[
"Annotated Dialogue",
"Therefore, we can summarize our contributions:",
"User:Iamlookingforadining placethatservesIndianfood",
"SystemThereare5IndianrestaurantsWhatpricerangedoyouprefer?",
"(A)We construct an evaluation framework that",
"CUser:Expensivewould begreat",
"avoids policy mismatch problems in TOD",
"TraditionalEvaluation",
"OUser: I am looking for a dining place that serves Indian food.",
"(B) We build a strong user simulator for TOD",
"Syste",
"Th",
"re5India",
"ehs",
"youliket",
"systems that can be used in TOD training and eval-",
"User:Expensivewouldbegreat",
"uation.",
"nteractiveEvaluatio",
"User: I am looking for an Indian restaurant in the expensive price range",
"(C) Experimental results show the importance",
"e5Indianre",
"Irants.Istherea particulararea",
"of using our proposed simulator and evaluation",
"youwould liketo dinein",
"System:Therear",
"UserNoIdoncare.would like tobookatablefor6peopleat13:15onFriday",
"framework and provide hints for future TOD sys-",
"tem developments with public available codes.",
"Figure I: Illustration of interactions between users and",
" systems. Traditional evaluation might face a policy mis-",
"-",
"Related Work",
" match between utterances annotated with red color.",
"2.1 Task-Oriented Dialogue Systems",
"Task-oriented dialogue systems aim to achieve",
"In interactive evaluations, we use the simula-",
"users'goals suchasbookinghotelsorflights(Wen",
"tor to generate user utterances based on interac-",
"et al..2017:Eric etal.,2017).With the widespread",
"tions with the generated responses instead of us-",
"use of pre-trained models (Qiu et al., 2020), end-",
"ing static user utterances that have been annotated",
"to-end TOD systems based on pre-trained mod-",
"in advance. Therefore, during evaluation, user ut-",
"els become more and more popular: Hosseini-Asl",
"terances will respond to the generated responses,",
"et al. (2020) fine-tunes all subtasks of TOD using",
"which can avoid the mismatch between stale user",
"multi-task learning based on a single pre-trained",
"utterances and generated responses. Further, in",
"model. Yang et al. (2021) encodes results of inter-",
"interactive evaluations, the quality of the gener-",
"mediate subtasks, such as belief states and system",
"ated texts cannot be measured since traditional",
"actions, into dialogue history to boost responses",
"BLEU cannot be calculated without oracle texts.",
"generation. Su et al. (2021) and He et al. (2021)",
"To better evaluate the performance of dialogue sys-",
"use additional dialogue corpus to further pre-train",
"tems, we introduce two automatic scores to evalu-",
"the language model and then fine-tune the model",
"ate the response quality at both sentence-level and",
"on MultiwOZ dataset.Lee(2021)introduces an",
" session-level. The sentence-level score is to evalu-",
" auxiliary task based on T5 models (Raffel et al.",
"ate the sentence fluency and the session-level score",
"2020) and achieves state-of-the-art performance",
"is toevaluatethe coherence between turns in a dia-",
"without using further pre-training methods.",
"logue session. Also, these proposed scores can be",
"2.2",
"Automatic Evaluations",
"the annotated dataset as a meta-evaluation to ex-",
"used in traditional evaluation methods as well as",
"Recent trends leverage neural models to automat-",
"plore the importance of using user simulators to",
"ically evaluate generated texts from different per-",
"construct interactive evaluations.",
"spectives. Automatic evaluation methods can help",
"We construct experiments on Multiwoz",
" evaluate certain aspects in certain tasks such as fac-",
"dataset (Budzianowski et al., 2018) based on pre-",
"tuality checking in text summarization (Kryscin-",
"trained models and use our proposed simulator",
"ski et al., 2020), stronger BLEU score in machine",
"and scores to run interactive evaluations. Exper-",
"translation (Sellam et al., 2020) and coherence in",
"imental results show that interactive evaluations",
"dialogue systems (Tao et al., 2018; Pang et al.,",
"can achieve over 98 % inform and success rates,",
"2020). With pre-trained models, the quality of text",
"indicating that the bottleneck of TOD perfor-",
"generation can be measured by evaluation meth-",
"mance is the lack of proper evaluation methods.",
"ods such as BERTScore (Zhang et al., 2020a) and",
"The proposed scores show that our proposed",
"BARTScore (Yuan et al., 2021). With properly de-",
"simulator can help achieve promising evaluation",
" signed neural model scores, the performance of di-",
"results in the interactiveevaluation framework",
"alogue systems can be more accurately evaluated.",
"Also, we explore the performance of RL-based",
"2.3",
"",
"User Simulators",
"that RL methods might hurt response quality to",
"models and we also use proposed scores to find",
"User simulators are designed to simulate users'",
"achieve high success rates.",
"behaviors in dialogue interactions, including rule-"
] |
{
"arxiv_id": "2210.14529",
"language": "zh",
"page_idx": 2
}
|
||
2210.14529-zh-3
|
2210.14529-zh-3.jpg
|
based simulators (Lee et al.,2019) and modelbased simulators (Takanobu et al., 2020; Tseng et al., 2021). Usually, user simulators are introduced along with reinforcement learning strategies to enhance the dialogue policy modeling (Li et al., 2016; Shi et al., 2019), which can help the model learn better policies not included in the annotated data. Takanobu et al.(2020) treats the modelbased simulator as a dialogue agent like the dialogue system and formulate TOD as a multi-agent policy learning problem. Tseng et al.(2021) focuses on using reinforcement learning to jointly train the simulator and the dialogue system to boost the domain adaption capability of the model.
3 Interactive Evaluation Framework
In our proposed interactive evaluation framework, we first build a goal-state guided user simulator to model user policies and generate high-quality user utterances. Then we construct the interactive evaluation framework and introduce two scores to evaluate the interactive inference results.
## 3.1 User Simulator Construction
A user simulator is to generate user utterances for interactions with the dialogue system. Similar to the dialogue system construction, the user simulator also considers dialogue histories and generates utterances via a sequence-to-sequence text generation framework. We propose a goal-state guided simulator that controls the user utterance generation based on the goal-state tracking. Further, we adopt reinforcement learning methods to boost the interaction performance between our proposed goal-state guided simulator and dialogue systems.
## 3.1.1 Goal-State Guided Simulator
We introduce a goal-state guided simulator that generates user utterances based on sequence-tosequence pre-trained models. The basic idea is to use pre-defined user's goals as initial goal states and track goal states based on user and system actions, which is similar with belief state tracking. As seen in Figure 2, we illustrate the interaction process of the user simulator and the dialogue system. We first add current goal states at the front of the user simulator inputs. Plus, the user simulator will encode previous dialogue histories including user utterances and dialogue system responses. The user simulator will predict the user actions and then obtain finished goals by combining both user actions and dialogue system actions. By cutting
Figure 2: Illustration of goal-state guided simulator interaction process, including goal states tracking and utterance generation.
off finished goals from the current goal states, we obtain unfinished goals and the user simulator will generate user utterances based on these unfinished goals at next turn. When the user simulator has finished all the required goals, the unfinished goal slot is empty, the user simulator will cease to generate utterances. Besides, we add two additional terminate signals for the user simulator. When the dialogue session exceeds a certain number of turns and the goal states still cannot be fully finished or when the user simulator or the dialogue system generates definite actions to stop the session like action 'bye' or action'thank', the user simulator will terminate the dialogue session.
# 3.1.2 Simulator Training
The training process of the user simulator includes sequence-to-sequence supervised learning and reinforcement learning.
In supervised learning, the user simulator encodes the goal states at the front of the input texts and considers all dialogue histories including texts of both user utterances and system responses. The generation texts include current user actions and user utterances. Therefore, the entire training process is a standard sequence-to-sequence generation task training process optimized by cross entropy loss.
In addition, we incorporate a reinforcement learning strategy to further boost the interaction performance between user simulators and dialogue systems. It is intuitive to use the inform and success rates as rewards to increase the interaction policies between simulators and dialogue systems. That is, supervised learning methods can only learn policies annotated in the training dataset, while reinforcement learning methods can bring new interaction policies for both simulators and dialogue systems.
Therefore, following policy gradient algorithm (Sutton et al., 1999), we use the success rate to construct rewards to optimize both user simulator $\theta$ and dialogue system $\phi.$ For each turn $t$,we consider the process of generating each token as an action. Therefore, we calculate turn-level RL gradients $J$ based on each generated token $i$ in user simulator and $j$ in dialogue system:
|
[
[
0.1158447265625,
0.08489990234375,
0.48779296875,
0.0843505859375,
0.48779296875,
0.09857177734375,
0.1158447265625,
0.09979248046875
],
[
0.51123046875,
0.09320068359375,
0.880859375,
0.09320068359375,
0.880859375,
0.10687255859375,
0.51123046875,
0.10687255859375
],
[
0.1158447265625,
0.1015625,
0.486083984375,
0.1015625,
0.486083984375,
0.11517333984375,
0.1158447265625,
0.11517333984375
],
[
0.51318359375,
0.11102294921875,
0.8818359375,
0.11102294921875,
0.8818359375,
0.1217041015625,
0.51318359375,
0.1217041015625
],
[
0.1175537109375,
0.1181640625,
0.490234375,
0.1181640625,
0.490234375,
0.1318359375,
0.1175537109375,
0.1318359375
],
[
0.51123046875,
0.1258544921875,
0.64208984375,
0.1258544921875,
0.64208984375,
0.135986328125,
0.51123046875,
0.135986328125
],
[
0.1175537109375,
0.1353759765625,
0.48779296875,
0.1353759765625,
0.48779296875,
0.1484375,
0.1175537109375,
0.1484375
],
[
0.1175537109375,
0.15087890625,
0.484375,
0.15087890625,
0.484375,
0.1644287109375,
0.1175537109375,
0.1644287109375
],
[
0.1175537109375,
0.166259765625,
0.48779296875,
0.166259765625,
0.48779296875,
0.179931640625,
0.1175537109375,
0.179931640625
],
[
0.51123046875,
0.1650390625,
0.8818359375,
0.1650390625,
0.8818359375,
0.1787109375,
0.51123046875,
0.1787109375
],
[
0.118408203125,
0.182861328125,
0.486083984375,
0.182861328125,
0.486083984375,
0.193603515625,
0.118408203125,
0.193603515625
],
[
0.509765625,
0.1817626953125,
0.87890625,
0.1817626953125,
0.87890625,
0.1923828125,
0.509765625,
0.1923828125
],
[
0.1175537109375,
0.198974609375,
0.49365234375,
0.198974609375,
0.49365234375,
0.2120361328125,
0.1175537109375,
0.2120361328125
],
[
0.509765625,
0.19775390625,
0.8818359375,
0.1953125,
0.8818359375,
0.210205078125,
0.509765625,
0.2120361328125
],
[
0.1158447265625,
0.215576171875,
0.49365234375,
0.215576171875,
0.49365234375,
0.2286376953125,
0.1158447265625,
0.2286376953125
],
[
0.509765625,
0.213134765625,
0.8818359375,
0.2120361328125,
0.8818359375,
0.226806640625,
0.509765625,
0.22802734375
],
[
0.1158447265625,
0.23095703125,
0.490234375,
0.2298583984375,
0.490234375,
0.24462890625,
0.1158447265625,
0.2452392578125
],
[
0.509765625,
0.2298583984375,
0.8818359375,
0.2298583984375,
0.8818359375,
0.243408203125,
0.509765625,
0.243408203125
],
[
0.1158447265625,
0.2476806640625,
0.491943359375,
0.2476806640625,
0.491943359375,
0.26123046875,
0.1158447265625,
0.26123046875
],
[
0.51123046875,
0.2452392578125,
0.8818359375,
0.2452392578125,
0.8818359375,
0.2587890625,
0.51123046875,
0.2587890625
],
[
0.1158447265625,
0.26318359375,
0.489501953125,
0.26318359375,
0.489501953125,
0.27783203125,
0.1158447265625,
0.27783203125
],
[
0.51123046875,
0.26123046875,
0.880859375,
0.26123046875,
0.880859375,
0.27490234375,
0.51123046875,
0.27490234375
],
[
0.1158447265625,
0.27978515625,
0.48779296875,
0.27978515625,
0.48779296875,
0.29345703125,
0.1158447265625,
0.29345703125
],
[
0.51123046875,
0.27783203125,
0.8818359375,
0.27783203125,
0.8818359375,
0.29150390625,
0.51123046875,
0.29150390625
],
[
0.1158447265625,
0.295654296875,
0.484375,
0.295654296875,
0.484375,
0.308837890625,
0.1158447265625,
0.308837890625
],
[
0.51318359375,
0.29345703125,
0.880859375,
0.29345703125,
0.880859375,
0.30712890625,
0.51318359375,
0.30712890625
],
[
0.51318359375,
0.31005859375,
0.880859375,
0.31005859375,
0.880859375,
0.32373046875,
0.51318359375,
0.32373046875
],
[
0.1175537109375,
0.32373046875,
0.1318359375,
0.32373046875,
0.1318359375,
0.334228515625,
0.1175537109375,
0.334228515625
],
[
0.1502685546875,
0.322509765625,
0.45166015625,
0.322509765625,
0.45166015625,
0.336181640625,
0.1502685546875,
0.336181640625
],
[
0.51123046875,
0.32666015625,
0.8818359375,
0.32666015625,
0.8818359375,
0.34033203125,
0.51123046875,
0.34033203125
],
[
0.1158447265625,
0.3466796875,
0.486083984375,
0.3466796875,
0.486083984375,
0.35986328125,
0.1158447265625,
0.35986328125
],
[
0.51318359375,
0.342529296875,
0.8818359375,
0.342529296875,
0.8818359375,
0.355712890625,
0.51318359375,
0.355712890625
],
[
0.51123046875,
0.358154296875,
0.8818359375,
0.358154296875,
0.8818359375,
0.371826171875,
0.51123046875,
0.371826171875
],
[
0.1158447265625,
0.364013671875,
0.489501953125,
0.364013671875,
0.489501953125,
0.377685546875,
0.1158447265625,
0.377685546875
],
[
0.1158447265625,
0.37890625,
0.486083984375,
0.37890625,
0.486083984375,
0.392578125,
0.1158447265625,
0.392578125
],
[
0.51123046875,
0.374755859375,
0.77490234375,
0.374755859375,
0.77490234375,
0.388427734375,
0.51123046875,
0.388427734375
],
[
0.1158447265625,
0.3955078125,
0.489501953125,
0.3955078125,
0.489501953125,
0.4091796875,
0.1158447265625,
0.4091796875
],
[
0.5087890625,
0.39794921875,
0.72705078125,
0.399658203125,
0.72705078125,
0.41455078125,
0.5087890625,
0.412109375
],
[
0.11419677734375,
0.410888671875,
0.489501953125,
0.412109375,
0.489501953125,
0.42578125,
0.11419677734375,
0.424560546875
],
[
0.509765625,
0.42041015625,
0.8818359375,
0.42041015625,
0.8818359375,
0.435302734375,
0.509765625,
0.435302734375
],
[
0.1158447265625,
0.427490234375,
0.41650390625,
0.427490234375,
0.41650390625,
0.441162109375,
0.1158447265625,
0.441162109375
],
[
0.509765625,
0.43701171875,
0.8818359375,
0.43701171875,
0.8818359375,
0.45068359375,
0.509765625,
0.45068359375
],
[
0.1561279296875,
0.45361328125,
0.39208984375,
0.45361328125,
0.39208984375,
0.46728515625,
0.1561279296875,
0.46728515625
],
[
0.51123046875,
0.453125,
0.6767578125,
0.453125,
0.6767578125,
0.466064453125,
0.51123046875,
0.466064453125
],
[
0.52880859375,
0.4697265625,
0.8818359375,
0.4697265625,
0.8818359375,
0.482666015625,
0.52880859375,
0.482666015625
],
[
0.1175537109375,
0.454833984375,
0.162841796875,
0.454833984375,
0.162841796875,
0.466064453125,
0.1175537109375,
0.466064453125
],
[
0.1158447265625,
0.474365234375,
0.486083984375,
0.474365234375,
0.486083984375,
0.488037109375,
0.1158447265625,
0.488037109375
],
[
0.1158447265625,
0.4912109375,
0.489501953125,
0.4912109375,
0.489501953125,
0.5048828125,
0.1158447265625,
0.5048828125
],
[
0.51318359375,
0.48681640625,
0.87890625,
0.48681640625,
0.87890625,
0.49755859375,
0.51318359375,
0.49755859375
],
[
0.1175537109375,
0.50732421875,
0.491943359375,
0.50732421875,
0.491943359375,
0.52099609375,
0.1175537109375,
0.52099609375
],
[
0.509765625,
0.501953125,
0.880859375,
0.501953125,
0.880859375,
0.515625,
0.509765625,
0.515625
],
[
0.509765625,
0.51708984375,
0.8818359375,
0.51708984375,
0.8818359375,
0.53076171875,
0.509765625,
0.53076171875
],
[
0.1158447265625,
0.52392578125,
0.489501953125,
0.52392578125,
0.489501953125,
0.53759765625,
0.1158447265625,
0.53759765625
],
[
0.51318359375,
0.53369140625,
0.8818359375,
0.53369140625,
0.8818359375,
0.54736328125,
0.51318359375,
0.54736328125
],
[
0.1158447265625,
0.54052734375,
0.490234375,
0.54052734375,
0.490234375,
0.55419921875,
0.1158447265625,
0.55419921875
],
[
0.5087890625,
0.548828125,
0.88330078125,
0.5498046875,
0.88330078125,
0.5634765625,
0.5087890625,
0.5625
],
[
0.1158447265625,
0.5556640625,
0.489501953125,
0.5556640625,
0.489501953125,
0.5693359375,
0.1158447265625,
0.5693359375
],
[
0.1158447265625,
0.57177734375,
0.491943359375,
0.57177734375,
0.491943359375,
0.5849609375,
0.1158447265625,
0.5849609375
],
[
0.509765625,
0.56640625,
0.8818359375,
0.56640625,
0.8818359375,
0.580078125,
0.509765625,
0.580078125
],
[
0.1158447265625,
0.58740234375,
0.489501953125,
0.58740234375,
0.489501953125,
0.60107421875,
0.1158447265625,
0.60107421875
],
[
0.5087890625,
0.58203125,
0.88330078125,
0.58056640625,
0.88330078125,
0.595703125,
0.5087890625,
0.5966796875
],
[
0.1158447265625,
0.6025390625,
0.486083984375,
0.6025390625,
0.486083984375,
0.6162109375,
0.1158447265625,
0.6162109375
],
[
0.51123046875,
0.599609375,
0.59033203125,
0.599609375,
0.59033203125,
0.61083984375,
0.51123046875,
0.61083984375
],
[
0.1158447265625,
0.6181640625,
0.486083984375,
0.619140625,
0.486083984375,
0.63427734375,
0.1158447265625,
0.6328125
],
[
0.5283203125,
0.61328125,
0.88330078125,
0.6142578125,
0.88330078125,
0.62890625,
0.5283203125,
0.62744140625
],
[
0.509765625,
0.6298828125,
0.8818359375,
0.6298828125,
0.8818359375,
0.6435546875,
0.509765625,
0.6435546875
],
[
0.1175537109375,
0.6357421875,
0.484375,
0.6357421875,
0.484375,
0.65087890625,
0.1175537109375,
0.65087890625
],
[
0.51318359375,
0.646484375,
0.88330078125,
0.646484375,
0.88330078125,
0.6611328125,
0.51318359375,
0.6611328125
],
[
0.1175537109375,
0.66015625,
0.41064453125,
0.66015625,
0.41064453125,
0.67333984375,
0.1175537109375,
0.67333984375
],
[
0.509765625,
0.6630859375,
0.88330078125,
0.6630859375,
0.88330078125,
0.6767578125,
0.509765625,
0.6767578125
],
[
0.1158447265625,
0.6787109375,
0.49365234375,
0.6787109375,
0.49365234375,
0.693359375,
0.1158447265625,
0.693359375
],
[
0.509765625,
0.6787109375,
0.884765625,
0.6787109375,
0.884765625,
0.6923828125,
0.509765625,
0.6923828125
],
[
0.1158447265625,
0.6953125,
0.49365234375,
0.69482421875,
0.49365234375,
0.708984375,
0.1158447265625,
0.71044921875
],
[
0.509765625,
0.6953125,
0.8818359375,
0.6953125,
0.8818359375,
0.708984375,
0.509765625,
0.708984375
],
[
0.11419677734375,
0.71142578125,
0.489501953125,
0.71044921875,
0.489501953125,
0.724609375,
0.11419677734375,
0.7255859375
],
[
0.509765625,
0.71142578125,
0.880859375,
0.71142578125,
0.880859375,
0.724609375,
0.509765625,
0.724609375
],
[
0.1175537109375,
0.72802734375,
0.489501953125,
0.72802734375,
0.489501953125,
0.7412109375,
0.1175537109375,
0.7412109375
],
[
0.509765625,
0.7255859375,
0.880859375,
0.72705078125,
0.880859375,
0.7412109375,
0.509765625,
0.74072265625
],
[
0.1175537109375,
0.74365234375,
0.490234375,
0.74365234375,
0.490234375,
0.75732421875,
0.1175537109375,
0.75732421875
],
[
0.51123046875,
0.74365234375,
0.8818359375,
0.74365234375,
0.8818359375,
0.75732421875,
0.51123046875,
0.75732421875
],
[
0.1175537109375,
0.7587890625,
0.484375,
0.7587890625,
0.484375,
0.77392578125,
0.1175537109375,
0.77392578125
],
[
0.51123046875,
0.7587890625,
0.8818359375,
0.7587890625,
0.8818359375,
0.7724609375,
0.51123046875,
0.7724609375
],
[
0.1175537109375,
0.77490234375,
0.48779296875,
0.77490234375,
0.48779296875,
0.7880859375,
0.1175537109375,
0.7880859375
],
[
0.51123046875,
0.775390625,
0.6767578125,
0.775390625,
0.6767578125,
0.7890625,
0.51123046875,
0.7890625
],
[
0.1158447265625,
0.79150390625,
0.490234375,
0.79052734375,
0.490234375,
0.8046875,
0.1158447265625,
0.8056640625
],
[
0.52880859375,
0.79150390625,
0.8818359375,
0.79150390625,
0.8818359375,
0.8056640625,
0.52880859375,
0.8056640625
],
[
0.1175537109375,
0.80810546875,
0.489501953125,
0.80810546875,
0.489501953125,
0.82177734375,
0.1175537109375,
0.82177734375
],
[
0.509765625,
0.80810546875,
0.8818359375,
0.80810546875,
0.8818359375,
0.82177734375,
0.509765625,
0.82177734375
],
[
0.1158447265625,
0.82470703125,
0.490234375,
0.82470703125,
0.490234375,
0.83837890625,
0.1158447265625,
0.83837890625
],
[
0.51123046875,
0.82470703125,
0.880859375,
0.82470703125,
0.880859375,
0.83837890625,
0.51123046875,
0.83837890625
],
[
0.1175537109375,
0.84033203125,
0.49365234375,
0.84033203125,
0.49365234375,
0.85498046875,
0.1175537109375,
0.85498046875
],
[
0.509765625,
0.84033203125,
0.880859375,
0.84033203125,
0.880859375,
0.85400390625,
0.509765625,
0.85400390625
],
[
0.1158447265625,
0.85693359375,
0.489501953125,
0.85693359375,
0.489501953125,
0.87060546875,
0.1158447265625,
0.87060546875
],
[
0.509765625,
0.85693359375,
0.8818359375,
0.85693359375,
0.8818359375,
0.87060546875,
0.509765625,
0.87060546875
],
[
0.1158447265625,
0.87255859375,
0.489501953125,
0.87255859375,
0.489501953125,
0.8857421875,
0.1158447265625,
0.8857421875
],
[
0.509765625,
0.87255859375,
0.8818359375,
0.87255859375,
0.8818359375,
0.8857421875,
0.509765625,
0.8857421875
],
[
0.1158447265625,
0.88720703125,
0.489501953125,
0.88818359375,
0.489501953125,
0.90283203125,
0.1158447265625,
0.90185546875
],
[
0.509765625,
0.88818359375,
0.88330078125,
0.88720703125,
0.88330078125,
0.90185546875,
0.509765625,
0.90283203125
],
[
0.1158447265625,
0.90478515625,
0.489501953125,
0.90478515625,
0.489501953125,
0.91845703125,
0.1158447265625,
0.91845703125
],
[
0.509765625,
0.90478515625,
0.81201171875,
0.90478515625,
0.81201171875,
0.91845703125,
0.509765625,
0.91845703125
]
] |
[
"based simulators (Lee et al., 2019) and model-",
"Figure 2: Ilustration of goal-state guided simulator in",
"based simulators (Takanobu et al., 2020; Tseng",
"teraction process,including goal states tracking and ut-",
"et al., 2021). Usually, user simulators are intro-",
"terance generation.",
"duced along with reinforcement learning strategies",
"to enhance the dialogue policy modeling (Li et al..",
"2016; Shi et al., 2019), which can help the model",
"off finished goals from the current goal states, we",
"learn better policies not included in the annotated",
"obtain unfinished goals and the user simulator will",
"data. Takanobu et al. (2020) treats the model-",
"generate user utterances based on these unfinished",
"based simulator as a dialogue agent like the dia-",
"goals at next turn. When the user simulator has",
"logue system and formulate TOD as a multi-agent",
"finished all the required goals, the unfinished goal",
"policy learning problem. Tseng et al. (2021) fo-",
"slot is empty, the user simulator will cease to gen-",
"cuses on using reinforcement learning to jointly",
"erate utterances. Besides, we add two additional",
"train the simulator and the dialogue system to",
"terminate signals for the user simulator. When the",
"boost the domain adaption capability of the model.",
"dialogue session exceeds a certain number of turns",
"and the goal states still cannot be fully finished or",
"3",
"Interactive Evaluation Framework",
"when the user simulator or the dialogue system",
"In our proposed interactiveevaluationframework,",
"generates definite actions to stop the session like",
"action 'bye' or action 'thank', the user simulator",
"we first build a goal-state guided user simulator",
"to model user policies and generate high-quality",
"will terminate the dialogue session.",
"user utterances. Then we construct the interactive",
"3.1.2SimulatorTraining",
"evaluation framework and introduce two scores to",
"The training process of the user simulator includes",
"evaluate the interactive inference results.",
" sequence-to-sequence supervised learning and re",
" User Simulator Construction",
"inforcement learning.",
"In supervised learning, the user simulator en-",
"3.1",
"A user simulator is to generate user utterances for",
"interactions with the dialogue system, Similar to",
"codes thegoal states at thefront of the input texts",
"the dialogue system construction, the user simula-",
" and considers all dialogue histories including texts",
"of both user utterances and system responses. The",
"tor also considers dialogue histories and generates",
"generation texts include current user actions and",
"utterances via a sequence-to-sequence text genera-",
"user utterances. Therefore, the entire training pro-",
"tion framework. We propose a goal-state guided",
"simulator that controls the user utterance gener-",
"cess is a standard sequence-to-sequence genera-",
"ation based on the goal-state tracking. Further, ",
"tion task training process optimized by cross en-",
"we adopt reinforcement learning methods to boost",
"tropy loss.",
"the interaction performance between our proposed",
"In addition,we incorporate a reinforcement",
"learning strategy to further boost the interaction",
"goal-state guided simulator and dialogue systems.",
"performance between user simulators and dia-",
"3.1.1Goal-State Guided Simulator",
"logue systems. It is intuitive to use the inform",
"We introduce a goal-state guided simulator that",
"and success rates as rewards to increase the inter-",
"generates user utterances based on sequence-to-",
"action policies between simulators and dialogue",
"sequence pre-trained models. The basic idea is to",
"systems. That is, supervised learning methods",
"use pre-defined user's goals as initial goal states",
"can only learn policies annotated in the training",
"and track goal states based on user and system ac-",
"dataset, while reinforcement learning methods can",
"tions, which is similar with belief state tracking.",
"bring new interaction policies for both simulators",
"As seen in Figure 2, we illustrate the interaction",
"and dialogue systems.",
"process of the user simulator and the dialogue sys-",
"Therefore, following policy gradient algorithm",
"tem. We first add current goal states at the front",
"(Sutton et al., 1999), we use the success rate to",
"of the user simulator inputs. Plus, the user simula-",
"construct rewards to optimize both user simulator",
"tor will encode previous dialogue histories includ-",
" and dialogue system β. For each turn t , we",
"ing user utterances and dialogue system responses.",
"consider the process of generating each token as",
"The user simulator will predict the user actions and",
"an action. Therefore, we calculate turn-level RL",
"then obtain finished goals by combining both user",
"gradients J based on each generated token i in",
"actions and dialogue system actions. By cutting",
" user simulator and j in dialogue system:"
] |
{
"arxiv_id": "2210.14529",
"language": "zh",
"page_idx": 3
}
|
||
2210.14529-zh-4
|
2210.14529-zh-4.jpg
|
(1)
$$\nabla_{\theta}\mathcal{J}(\theta)=\sum_{i=1}\gamma^{|A_{t}|-i}R_{t}\nabla_{\theta}\pi(\theta,i)\\\nabla_{\phi}\mathcal{J}(\phi)=\sum_{j=1}\gamma^{|A_{t}|-j}R_{t}\nabla_{\phi}\pi(\phi,j)$$
(2)
Here, $\gamma$ is the discounting factor and $|A_t|$ is the policy sequence length of turn t, $\pi(\cdot)$ is the forward strategy of corresponding simulator $\theta$ and dialogue system $\phi.$ The reward $R_t$ is 1 when the generated session from simulator and dialogue system interaction successfully achieves user's goals and 0 otherwise.
3.2 Evaluation Framework Construction
Current TOD evaluation strategies will face a policy mismatch between users and dialogue systems. Therefore it is necessary to construct a complete evaluation framework based on simulator interactions to avoid the policy mismatch when evaluating TOD systems. Based on the proposed simulator, we evaluate TOD systems interactively. Further, we propose sentence-level and session-level scores in the interactive evaluation process to measure the quality of generated responses. Plus, we apply the introduced scores for RL training to further explore the dialogue system performance.
### 3.2.1 Traditional Evaluation
Traditional evaluation process to test TOD systems is to use inform and success rates to measure whether the responses achieve user's goals in the given session. During the evaluation process, the responses are generated from the dialogue systems but the user utterances are from the annotated dataset regardless of the interactions between responses and the following user utterances. Therefore, the whole session can be unnatural due to the policy mismatch problem. Further, BLEU score is used to measure the quality of the generated responses compared with the annotated oracle responses. The annotated responses may be entirely different from the generated responses when there is a policy mismatch. For instance, in the MultiWOZ dataset, responses generated by MTTOD (Lee, 2021) model achieve an average BLEU score of 19.47, yet 4686 of 7372 responses obtain BLEU scores below 1. Such a phenomenon that the responses can achieve either high or nearly zero BLEU scores indicates that the evaluation process might suffer from policy mismatch problems. Therefore, we believe that the bottleneck of
current TOD systems is the stale evaluation pro-
cess with policy mismatches.
### 3.2.2 Interactive Evaluation
Interactive evaluation is used to evaluate the dialogue responses based on interactions between users and systems. Therefore, the user utterances can interact with the dialogue responses, which can avoid evaluation errors when the responses are reasonable but do not match the following utterances. During interactive evaluation, we suppose that the user simulator can produce high-quality user utterances based on the pre-defined goals the user aimed to achieve. The evaluation metrics inform and success rates are the same with traditional evaluation.
### 3.2.3 Sentence-Level Score
During the interactive evaluation, the quality of the generated response cannot be measured by BLEU score. To properly evaluate the quality of the responses generated during interactions with the user simulator, we use an automatic score to evaluate the quality of the generated responses.
Specifically, similar to text perplexity and BARTScore evaluation (Yuan et al.,2021), we measure the sentence fluency by using the score calculated as:
(3)
$$S=-\sum\limits_{i=1}^{L}\frac{1}{L}logp(\boldsymbol{y}_{i}|\boldsymbol{y}_{<i},\theta)$$
Here, $y_i$ denotes the $i^th$ token in the generated response; $\theta$ represents the language model, which is a fine-tuned GPT-2(Radford et al., 2019) in our experiments; $L$ is the sequence length.
With such a score, we can properly measure the response quality when the BLEU score is no longer applicable as the metric for dialogue response quality evaluation.
### 3.2.4 Session-Level Score
Besides sentence-level response quality, it is also important to evaluate the coherence between the dialogue system and the user simulator. Therefore, we propose a session-level score to explore the coherence between user utterances and dialogue responses.
Inspired by the sentence-relation tasks such as natural language inference task (MacCartney and Manning, 2008) and next sentence prediction task
|
[
[
0.51123046875,
0.08489990234375,
0.8818359375,
0.08612060546875,
0.8818359375,
0.1009521484375,
0.51123046875,
0.09979248046875
],
[
0.173828125,
0.10687255859375,
0.444091796875,
0.10687255859375,
0.444091796875,
0.127685546875,
0.173828125,
0.127685546875
],
[
0.51318359375,
0.10394287109375,
0.72705078125,
0.10394287109375,
0.72705078125,
0.114013671875,
0.51318359375,
0.114013671875
],
[
0.443359375,
0.11517333984375,
0.459228515625,
0.11517333984375,
0.459228515625,
0.122314453125,
0.443359375,
0.122314453125
],
[
0.4609375,
0.1134033203125,
0.486083984375,
0.1134033203125,
0.486083984375,
0.12469482421875,
0.4609375,
0.12469482421875
],
[
0.2626953125,
0.1300048828125,
0.28955078125,
0.1300048828125,
0.28955078125,
0.141357421875,
0.2626953125,
0.141357421875
],
[
0.51318359375,
0.1270751953125,
0.75146484375,
0.1270751953125,
0.75146484375,
0.141357421875,
0.51318359375,
0.141357421875
],
[
0.16455078125,
0.141357421875,
0.443359375,
0.141357421875,
0.443359375,
0.163330078125,
0.16455078125,
0.163330078125
],
[
0.4609375,
0.1484375,
0.486083984375,
0.1484375,
0.486083984375,
0.1602783203125,
0.4609375,
0.1602783203125
],
[
0.51123046875,
0.1478271484375,
0.8818359375,
0.1478271484375,
0.8818359375,
0.160888671875,
0.51123046875,
0.160888671875
],
[
0.25439453125,
0.163330078125,
0.28369140625,
0.163330078125,
0.28369140625,
0.17578125,
0.25439453125,
0.17578125
],
[
0.5087890625,
0.1644287109375,
0.88330078125,
0.163330078125,
0.88330078125,
0.1776123046875,
0.5087890625,
0.1787109375
],
[
0.509765625,
0.179931640625,
0.8818359375,
0.179931640625,
0.8818359375,
0.19482421875,
0.509765625,
0.19482421875
],
[
0.1368408203125,
0.1859130859375,
0.48779296875,
0.1859130859375,
0.48779296875,
0.1995849609375,
0.1368408203125,
0.1995849609375
],
[
0.5087890625,
0.1953125,
0.88330078125,
0.196533203125,
0.88330078125,
0.21142578125,
0.5087890625,
0.210205078125
],
[
0.1175537109375,
0.203125,
0.490234375,
0.203125,
0.490234375,
0.2161865234375,
0.1175537109375,
0.2161865234375
],
[
0.1158447265625,
0.218505859375,
0.489501953125,
0.21728515625,
0.489501953125,
0.232177734375,
0.1158447265625,
0.2327880859375
],
[
0.51123046875,
0.213134765625,
0.8818359375,
0.213134765625,
0.8818359375,
0.226806640625,
0.51123046875,
0.226806640625
],
[
0.51123046875,
0.2286376953125,
0.88330078125,
0.2286376953125,
0.88330078125,
0.2423095703125,
0.51123046875,
0.2423095703125
],
[
0.1175537109375,
0.235107421875,
0.48779296875,
0.235107421875,
0.48779296875,
0.248779296875,
0.1175537109375,
0.248779296875
],
[
0.51123046875,
0.24462890625,
0.8818359375,
0.2452392578125,
0.8818359375,
0.2587890625,
0.51123046875,
0.25830078125
],
[
0.1175537109375,
0.251708984375,
0.489501953125,
0.251708984375,
0.489501953125,
0.265380859375,
0.1175537109375,
0.265380859375
],
[
0.509765625,
0.26123046875,
0.87890625,
0.26123046875,
0.87890625,
0.27490234375,
0.509765625,
0.27490234375
],
[
0.1158447265625,
0.267333984375,
0.48779296875,
0.267333984375,
0.48779296875,
0.28076171875,
0.1158447265625,
0.28076171875
],
[
0.51123046875,
0.275634765625,
0.880859375,
0.275634765625,
0.880859375,
0.289306640625,
0.51123046875,
0.289306640625
],
[
0.11419677734375,
0.281982421875,
0.2418212890625,
0.283203125,
0.2418212890625,
0.297607421875,
0.11419677734375,
0.29638671875
],
[
0.51123046875,
0.292236328125,
0.8818359375,
0.292236328125,
0.8818359375,
0.305908203125,
0.51123046875,
0.305908203125
],
[
0.1175537109375,
0.30810546875,
0.456787109375,
0.30810546875,
0.456787109375,
0.322509765625,
0.1175537109375,
0.322509765625
],
[
0.51123046875,
0.308837890625,
0.8818359375,
0.308837890625,
0.8818359375,
0.322509765625,
0.51123046875,
0.322509765625
],
[
0.1175537109375,
0.330078125,
0.490234375,
0.330078125,
0.490234375,
0.34326171875,
0.1175537109375,
0.34326171875
],
[
0.509765625,
0.325927734375,
0.64208984375,
0.325927734375,
0.64208984375,
0.339111328125,
0.509765625,
0.339111328125
],
[
0.1175537109375,
0.3466796875,
0.48779296875,
0.3466796875,
0.48779296875,
0.35986328125,
0.1175537109375,
0.35986328125
],
[
0.51318359375,
0.350830078125,
0.5556640625,
0.352783203125,
0.55517578125,
0.364013671875,
0.51123046875,
0.3623046875
],
[
0.56103515625,
0.3515625,
0.7421875,
0.3515625,
0.7421875,
0.365234375,
0.56103515625,
0.365234375
],
[
0.11419677734375,
0.361083984375,
0.48779296875,
0.3623046875,
0.48779296875,
0.377197265625,
0.11419677734375,
0.3759765625
],
[
0.51318359375,
0.37060546875,
0.880859375,
0.37060546875,
0.880859375,
0.38427734375,
0.51318359375,
0.38427734375
],
[
0.1175537109375,
0.37890625,
0.48779296875,
0.37890625,
0.48779296875,
0.3896484375,
0.1175537109375,
0.3896484375
],
[
0.509765625,
0.38720703125,
0.8818359375,
0.385986328125,
0.8818359375,
0.40087890625,
0.509765625,
0.402099609375
],
[
0.1175537109375,
0.394287109375,
0.490234375,
0.394287109375,
0.490234375,
0.407958984375,
0.1175537109375,
0.407958984375
],
[
0.51123046875,
0.40380859375,
0.8818359375,
0.40380859375,
0.8818359375,
0.41748046875,
0.51123046875,
0.41748046875
],
[
0.1175537109375,
0.410400390625,
0.490234375,
0.410400390625,
0.490234375,
0.424560546875,
0.1175537109375,
0.424560546875
],
[
0.509765625,
0.42041015625,
0.8818359375,
0.42041015625,
0.8818359375,
0.43408203125,
0.509765625,
0.43408203125
],
[
0.1175537109375,
0.427001953125,
0.490234375,
0.427001953125,
0.490234375,
0.440673828125,
0.1175537109375,
0.440673828125
],
[
0.51123046875,
0.435791015625,
0.88330078125,
0.435791015625,
0.88330078125,
0.449462890625,
0.51123046875,
0.449462890625
],
[
0.1158447265625,
0.4423828125,
0.48779296875,
0.441162109375,
0.48779296875,
0.4560546875,
0.1158447265625,
0.457275390625
],
[
0.1175537109375,
0.458984375,
0.490234375,
0.458984375,
0.490234375,
0.47265625,
0.1175537109375,
0.47265625
],
[
0.5146484375,
0.45361328125,
0.82861328125,
0.45361328125,
0.82861328125,
0.46435546875,
0.5146484375,
0.46435546875
],
[
0.52880859375,
0.468505859375,
0.8818359375,
0.468505859375,
0.8818359375,
0.482666015625,
0.52880859375,
0.482666015625
],
[
0.1158447265625,
0.474365234375,
0.48779296875,
0.474365234375,
0.48779296875,
0.488037109375,
0.1158447265625,
0.488037109375
],
[
0.51123046875,
0.482666015625,
0.8818359375,
0.48388671875,
0.8818359375,
0.498779296875,
0.51123046875,
0.49755859375
],
[
0.1158447265625,
0.4912109375,
0.490234375,
0.4912109375,
0.490234375,
0.5048828125,
0.1158447265625,
0.5048828125
],
[
0.51318359375,
0.50048828125,
0.8818359375,
0.50048828125,
0.8818359375,
0.51416015625,
0.51318359375,
0.51416015625
],
[
0.1175537109375,
0.50830078125,
0.459228515625,
0.50830078125,
0.459228515625,
0.521484375,
0.1175537109375,
0.521484375
],
[
0.5146484375,
0.51708984375,
0.61376953125,
0.51708984375,
0.61376953125,
0.529296875,
0.5146484375,
0.529296875
],
[
0.1175537109375,
0.53076171875,
0.358642578125,
0.53076171875,
0.358642578125,
0.54443359375,
0.1175537109375,
0.54443359375
],
[
0.1158447265625,
0.55029296875,
0.489501953125,
0.55029296875,
0.489501953125,
0.56396484375,
0.1158447265625,
0.56396484375
],
[
0.65576171875,
0.55859375,
0.6689453125,
0.5654296875,
0.6650390625,
0.57177734375,
0.64990234375,
0.56396484375
],
[
0.1175537109375,
0.56787109375,
0.486083984375,
0.56787109375,
0.486083984375,
0.57763671875,
0.1175537109375,
0.57763671875
],
[
0.58837890625,
0.572265625,
0.62060546875,
0.572265625,
0.62060546875,
0.58447265625,
0.58837890625,
0.58447265625
],
[
0.6708984375,
0.56787109375,
0.68408203125,
0.56787109375,
0.68408203125,
0.57373046875,
0.6708984375,
0.57373046875
],
[
0.6826171875,
0.57373046875,
0.80419921875,
0.57177734375,
0.80419921875,
0.5859375,
0.6826171875,
0.58837890625
],
[
0.8564453125,
0.572265625,
0.8818359375,
0.572265625,
0.8818359375,
0.5859375,
0.8564453125,
0.5859375
],
[
0.1175537109375,
0.5830078125,
0.48779296875,
0.5830078125,
0.48779296875,
0.5966796875,
0.1175537109375,
0.5966796875
],
[
0.64404296875,
0.58837890625,
0.6708984375,
0.59130859375,
0.66748046875,
0.6015625,
0.640625,
0.5986328125
],
[
0.6630859375,
0.58447265625,
0.68701171875,
0.58447265625,
0.68701171875,
0.5927734375,
0.6630859375,
0.5927734375
],
[
0.1158447265625,
0.5986328125,
0.489501953125,
0.5986328125,
0.489501953125,
0.6123046875,
0.1158447265625,
0.6123046875
],
[
0.1175537109375,
0.615234375,
0.49365234375,
0.615234375,
0.49365234375,
0.62890625,
0.1175537109375,
0.62890625
],
[
0.509765625,
0.61328125,
0.88330078125,
0.6123046875,
0.88330078125,
0.6298828125,
0.509765625,
0.63134765625
],
[
0.1158447265625,
0.63134765625,
0.489501953125,
0.63134765625,
0.489501953125,
0.64453125,
0.1158447265625,
0.64453125
],
[
0.5087890625,
0.6318359375,
0.880859375,
0.63134765625,
0.880859375,
0.6455078125,
0.5087890625,
0.646484375
],
[
0.11419677734375,
0.64794921875,
0.491943359375,
0.6455078125,
0.491943359375,
0.6591796875,
0.11419677734375,
0.6611328125
],
[
0.509765625,
0.6484375,
0.8818359375,
0.6484375,
0.8818359375,
0.662109375,
0.509765625,
0.662109375
],
[
0.11419677734375,
0.6630859375,
0.48779296875,
0.662109375,
0.48779296875,
0.6767578125,
0.11419677734375,
0.677734375
],
[
0.509765625,
0.6650390625,
0.796875,
0.6650390625,
0.796875,
0.6787109375,
0.509765625,
0.6787109375
],
[
0.1175537109375,
0.6787109375,
0.48779296875,
0.6787109375,
0.48779296875,
0.6923828125,
0.1175537109375,
0.6923828125
],
[
0.5283203125,
0.6796875,
0.880859375,
0.6796875,
0.880859375,
0.693359375,
0.5283203125,
0.693359375
],
[
0.11419677734375,
0.69482421875,
0.486083984375,
0.69482421875,
0.486083984375,
0.7080078125,
0.11419677734375,
0.7080078125
],
[
0.5087890625,
0.69677734375,
0.8818359375,
0.6953125,
0.8818359375,
0.71044921875,
0.5087890625,
0.71142578125
],
[
0.1175537109375,
0.7119140625,
0.491943359375,
0.7119140625,
0.491943359375,
0.7255859375,
0.1175537109375,
0.7255859375
],
[
0.509765625,
0.71337890625,
0.8818359375,
0.71337890625,
0.8818359375,
0.72802734375,
0.509765625,
0.72802734375
],
[
0.11419677734375,
0.72705078125,
0.490234375,
0.72705078125,
0.490234375,
0.74072265625,
0.11419677734375,
0.74072265625
],
[
0.509765625,
0.72998046875,
0.7060546875,
0.72998046875,
0.7060546875,
0.74365234375,
0.509765625,
0.74365234375
],
[
0.1175537109375,
0.74365234375,
0.489501953125,
0.74365234375,
0.489501953125,
0.75732421875,
0.1175537109375,
0.75732421875
],
[
0.1158447265625,
0.75830078125,
0.489501953125,
0.7587890625,
0.489501953125,
0.77392578125,
0.1158447265625,
0.7724609375
],
[
0.51318359375,
0.7548828125,
0.72900390625,
0.7548828125,
0.72900390625,
0.7685546875,
0.51318359375,
0.7685546875
],
[
0.1175537109375,
0.775390625,
0.489501953125,
0.775390625,
0.489501953125,
0.7890625,
0.1175537109375,
0.7890625
],
[
0.509765625,
0.775390625,
0.8818359375,
0.775390625,
0.8818359375,
0.7890625,
0.509765625,
0.7890625
],
[
0.1158447265625,
0.79150390625,
0.490234375,
0.79150390625,
0.490234375,
0.8056640625,
0.1158447265625,
0.8056640625
],
[
0.5087890625,
0.79150390625,
0.8818359375,
0.79052734375,
0.8818359375,
0.8046875,
0.5087890625,
0.8056640625
],
[
0.1175537109375,
0.80712890625,
0.489501953125,
0.80712890625,
0.489501953125,
0.82177734375,
0.1175537109375,
0.82177734375
],
[
0.51123046875,
0.80810546875,
0.880859375,
0.80810546875,
0.880859375,
0.82177734375,
0.51123046875,
0.82177734375
],
[
0.1175537109375,
0.82373046875,
0.48779296875,
0.82373046875,
0.48779296875,
0.83740234375,
0.1175537109375,
0.83740234375
],
[
0.5087890625,
0.82373046875,
0.8818359375,
0.822265625,
0.8818359375,
0.83740234375,
0.5087890625,
0.83837890625
],
[
0.118408203125,
0.84033203125,
0.489501953125,
0.84033203125,
0.489501953125,
0.85400390625,
0.118408203125,
0.85400390625
],
[
0.509765625,
0.84033203125,
0.880859375,
0.84033203125,
0.880859375,
0.85400390625,
0.509765625,
0.85400390625
],
[
0.11419677734375,
0.85498046875,
0.48779296875,
0.85546875,
0.48779296875,
0.87060546875,
0.11419677734375,
0.869140625
],
[
0.51123046875,
0.85791015625,
0.57861328125,
0.85791015625,
0.57861328125,
0.869140625,
0.51123046875,
0.869140625
],
[
0.1158447265625,
0.87255859375,
0.48779296875,
0.87255859375,
0.48779296875,
0.8857421875,
0.1158447265625,
0.8857421875
],
[
0.52880859375,
0.87255859375,
0.880859375,
0.87255859375,
0.880859375,
0.8857421875,
0.52880859375,
0.8857421875
],
[
0.1158447265625,
0.88818359375,
0.489501953125,
0.88818359375,
0.489501953125,
0.90283203125,
0.1158447265625,
0.90283203125
],
[
0.509765625,
0.8896484375,
0.8818359375,
0.88720703125,
0.8818359375,
0.90087890625,
0.509765625,
0.90283203125
],
[
0.1175537109375,
0.90380859375,
0.490234375,
0.90380859375,
0.490234375,
0.91748046875,
0.1175537109375,
0.91748046875
],
[
0.51123046875,
0.90478515625,
0.8818359375,
0.90478515625,
0.8818359375,
0.91845703125,
0.51123046875,
0.91845703125
]
] |
[
"current TOD systems is the stale evaluation pro-",
"VeJ(0) =/Aal-iRtV(0, )",
"cess withpolicymismatches.",
"",
"(1)",
"i=1",
"3.2.2Interactive Evaluation",
"VJ(g) =lAl-iRV(0,5)",
"(2)",
"Interactive evaluation is used to evaluate the di-",
"j=1",
"alogue responses based on interactions between",
"users and systems. Therefore, the user utterances",
"Here, is the discounting factor and Atis the",
"can interact with the dialogue responses, which",
"policy sequence length of turn t, π() is the for-",
"ward strategy of corresponding simulator and di-",
"can avoid evaluation errors when the responses are",
"reasonable but do not match the following utter-",
"alogue system β . The reward Rt is 1 when the",
"ances. During interactive evaluation, we suppose",
"generated session from simulator and dialogue sys-",
"that the user simulator can produce high-quality",
"tem interaction successfully achieves user's goals",
"user utterances based on the pre-defined goals the",
"and 0 otherwise.",
"user aimed to achieve. The evaluation metrics in-",
"3.2Evaluation Framework Construction",
"form and success rates are the same with tradi-",
"Current TOD evaluation strategies will face a pol-",
" tional evaluation.",
"icy mismatch between users and dialogue systems.",
"3.2.3",
"Sentence-Level Score",
"Therefore it is necessary to construct a complete",
"During the interactive evaluation, the quality of the",
"evaluation framework based on simulator interac-",
"generated response cannot be measured by BLEU",
"tions to avoid the policy mismatch when evaluat-",
"score.To properly evaluate the quality of the",
"ing TOD systems. Based on the proposed simula-",
"responses generated during interactions with the",
"tor, we evaluate TOD systems interactively. Fur-",
"user simulator, we use an automatic score to eval-",
"ther, we propose sentence-level and session-level",
"scores in the interactive evaluation process to mea-",
"uatethequalityofthegeneratedresponses.",
"Specifically, similar to text perplexity and",
"sure the quality of generated responses. Plus, we",
"BARTScore evaluation (Yuan et al., 2021), we",
"apply the introduced scores for RL training to fur-",
"measure the sentence fluency by using the score",
"ther explore the dialogue system performance.",
"calculated as:",
"3.2.1Traditional Evaluation",
"Traditional evaluation process to test TOD sys-",
"L",
"tems is to use inform and success rates to mea-",
"S=",
"",
"logp(yily<i,0)",
"(3)",
"sure whether the responses achieve user's goals",
"i=1",
"L",
"in the given session. During the evaluation pro-",
"cess, the responses are generated from the dia-",
"Here, y; denotes the ith token in the generated re-",
"logue systems but the user utterances are from the",
"sponse; represents the language model, which",
"annotated datasetregardless ofthe interactions be-",
"is a fine-tuned GPT-2(Radford et al., 2019) in our",
"tween responses and the following user utterances.",
"experiments; L is the sequence length.",
"Therefore, the whole session can be unnatural due",
"With such a score, we can properly measure",
"to the policy mismatch problem. Further, BLEU",
"the response quality when the BLEU score is no",
"score is used to measure the quality of the gener-",
"longer applicable as the metric for dialogue re-",
"ated responses compared with the annotated ora-",
" sponse quality evaluation.",
"cle responses. The annotated responses may be en-",
"tirely different from the generated responses when",
"3.2.4 Session-Level Score",
"there is a policy mismatch. For instance, in the",
"Besides sentence-level response quality, it is also",
"MultiWOZ dataset, responses generated by MT-",
"important to evaluate the coherence between the",
"TOD (Lee, 2021) model achieve an average BLEU",
"dialogue system and the user simulator. Therefore,",
"score of 19.47, yet 4686 of 7372 responses obtain",
"we propose a session-level score to explore the co-",
"BLEU scores below 1. Such a phenomenon that",
"herence between user utterances and dialogue re",
"the responses can achieve either high or nearly",
"sponses.",
"zero BLEU scores indicates that the evaluation",
"Inspired by the sentence-relation tasks such as",
"process might suffer from policy mismatch prob-",
"natural language inference task (MacCartney and",
"lems. Therefore, we believe that the bottleneck of",
"Manning, 2008) and next sentence prediction task"
] |
{
"arxiv_id": "2210.14529",
"language": "zh",
"page_idx": 4
}
|
||
2008.01059-zh-0
|
2008.01059-zh-0.jpg
|
1
# 1 Introduction
Visualgrounding 旨在将自然语言查询基于图像的某个区域。视觉接地主要有两个工作线程:两阶段方法[41,40,32,3,50,48] 和一阶段方法$\mathbb{E}[47,5,37]$ 。两阶段方法首先提取区域提案,然后根据其与查询的相似性对提案进行排名。最近提出的一阶段方法采用了不同的范式,但很快就会流行。一阶段方法在图像级别融合视觉文本特征,并直接预测边界框以使所引用的对象接地。通过密集采样可能的对象位置并减少区域建议上的冗余计算,单阶段方法$\mathbb{E}[47,5,37]$ 简单,快速且准确
在本文中,我们通过解决最先进的一阶段方法在建模长而复杂的查询方面的弱点来改进它们。我们方法的总体优势如图 1 所示。与当前最先进的一阶段方法[E[47] 相比,该方法在较长的查询上的性能急剧下降,我们的方法实现了非常出色的性能
我们分析当前一阶段方法的局限性如下。现有的单阶段方法 [47,5,37] 将整个查询编码为单个嵌人向量,例如直接采用来自 BERT [8,47]的第一个令牌的嵌入([CLS])或从 LSTM [12,47,5,37] 聚合隐藏状态。然后将单个向量在所有空间位置与视觉特征连接,以获得用于接地盒预测的融合特征。将整个语言查询建模为单个嵌人向量往往会增加表示歧义,例如专注于某些单词,而忽略其他重要的单词。这样的问题可能会导致参考信息的丢失,尤其是在那些漫长而复杂的查询中。例如在图 2(a)中,该模型似乎忽略了诸如“坐在沙发上”或“看电视”之类的详细描述,并用头部名词“man。“至于图E2(b),该模型似乎看错了单词“mountain”,并在没有充分考虑“water”修饰符的情况下将目标接地。“因此,忽略查询建模问题会导致单阶段方法的长查询性能下降
几个两阶段可视化基础作品[42,45,46,24,48,27]研究了一个类似的查询建模问题。这些工作的主要思想是将对象区域与已解析的子查询链接起来,以全面了解引用。其中,MattNet[E]48] 将查询解析为主题,位置和关系短语,并将每个短语与相关的对象区域链接起来以进行匹配分数计算。NMTREE [24] 使用依赖关系树解析器 [2] 解析查询,并将每个树节点与可视区域链接。DGA [46] 解析带有文本自关注的查询,并通过动态图关注将文本与区域链接起来。虽然足够优雅,但这些方法是针对两阶段方法直观设计的,需要在第一阶段提取候选区域特征。由于进行单阶段可视化接地的主要好处是避免为了计算成本而显式提取候选区域特征,因此两阶段方法中的查询建模不能直接应用于单阶段框架E [47,5,37] 。因此,本文针对统一的一阶段框架下的查询建模问题,提出了递归子查询构造框架 当遇到诸如图E2 (a)之类的参考问题时,人类倾向于通过在图像和查询之间进行多轮推理来解决它,并递归地减少参考歧义$i.e.$,包含被引用对象的可能区域。受此启发,我们建议将每个回合中对引用的中间理解表示为文本条件视觉特征,该特征从图像特征开始,并在多个回合后更新,最终作为融合的视觉文本特征准备用于框预测。在每一轮中,该模型构建一个新的子查询,作为一组有分数的单词,以优化文本条件视觉特征。逐渐地,通过多轮,我们的模型减少了引用的歧义。这样的多轮解决方案与以前的一阶段方法形成对比,后者试图记住整个查询并在单轮中建立区域。我们的框架递归地构造子查询来细化接地预测。每一轮都面临两个便于递归推理的核心问题,即 1)如何构造子查询;2) 如何用子查询细化文本条件视觉特征。我们提出了一个子查询学习器和子查询调制网络来分别解决上述两个问题。它们交替和递归地工作,以减少引用的歧义。使用最后一轮中的文本条件视觉特征,最终输出阶段预测边界框以使引用的对象接地
|
[
[
0.77783203125,
0.11932373046875,
0.78369140625,
0.11932373046875,
0.78369140625,
0.125,
0.77783203125,
0.125
],
[
0.2181396484375,
0.147705078125,
0.378173828125,
0.147705078125,
0.378173828125,
0.1622314453125,
0.2181396484375,
0.1622314453125
],
[
0.2197265625,
0.177978515625,
0.78369140625,
0.177978515625,
0.78369140625,
0.1912841796875,
0.2197265625,
0.1912841796875
],
[
0.2197265625,
0.1932373046875,
0.78369140625,
0.1932373046875,
0.78369140625,
0.20703125,
0.2197265625,
0.20703125
],
[
0.221435546875,
0.2083740234375,
0.78369140625,
0.2083740234375,
0.78369140625,
0.2215576171875,
0.221435546875,
0.2215576171875
],
[
0.221435546875,
0.222900390625,
0.78515625,
0.222900390625,
0.78515625,
0.236083984375,
0.221435546875,
0.236083984375
],
[
0.2197265625,
0.238037109375,
0.78369140625,
0.238037109375,
0.78369140625,
0.251953125,
0.2197265625,
0.251953125
],
[
0.2197265625,
0.25244140625,
0.78369140625,
0.25244140625,
0.78369140625,
0.266357421875,
0.2197265625,
0.266357421875
],
[
0.2197265625,
0.26953125,
0.283447265625,
0.26953125,
0.283447265625,
0.281005859375,
0.2197265625,
0.281005859375
],
[
0.2442626953125,
0.28271484375,
0.78515625,
0.28271484375,
0.78515625,
0.296630859375,
0.2442626953125,
0.296630859375
],
[
0.2197265625,
0.298583984375,
0.78369140625,
0.298583984375,
0.78369140625,
0.3125,
0.2197265625,
0.3125
],
[
0.2197265625,
0.313232421875,
0.78515625,
0.313232421875,
0.78515625,
0.326904296875,
0.2197265625,
0.326904296875
],
[
0.2181396484375,
0.32568359375,
0.301513671875,
0.32763671875,
0.301513671875,
0.34228515625,
0.2181396484375,
0.34033203125
],
[
0.2442626953125,
0.3447265625,
0.78369140625,
0.3447265625,
0.78369140625,
0.35791015625,
0.2442626953125,
0.35791015625
],
[
0.221435546875,
0.359130859375,
0.78369140625,
0.359130859375,
0.78369140625,
0.37255859375,
0.221435546875,
0.37255859375
],
[
0.2197265625,
0.373779296875,
0.78369140625,
0.373779296875,
0.78369140625,
0.386962890625,
0.2197265625,
0.386962890625
],
[
0.221435546875,
0.38818359375,
0.78515625,
0.38818359375,
0.78515625,
0.401611328125,
0.221435546875,
0.401611328125
],
[
0.2197265625,
0.40283203125,
0.78515625,
0.401611328125,
0.78515625,
0.416748046875,
0.2197265625,
0.417236328125
],
[
0.2197265625,
0.417236328125,
0.78369140625,
0.41845703125,
0.78369140625,
0.431884765625,
0.2197265625,
0.43115234375
],
[
0.2197265625,
0.434326171875,
0.78515625,
0.434326171875,
0.78515625,
0.447509765625,
0.2197265625,
0.447509765625
],
[
0.221435546875,
0.448974609375,
0.78369140625,
0.448974609375,
0.78369140625,
0.462158203125,
0.221435546875,
0.462158203125
],
[
0.221435546875,
0.464111328125,
0.78515625,
0.464111328125,
0.78515625,
0.477783203125,
0.221435546875,
0.477783203125
],
[
0.2181396484375,
0.479736328125,
0.7158203125,
0.479736328125,
0.7158203125,
0.49365234375,
0.2181396484375,
0.49365234375
],
[
0.2459716796875,
0.494384765625,
0.78369140625,
0.494384765625,
0.78369140625,
0.50830078125,
0.2459716796875,
0.50830078125
],
[
0.2197265625,
0.5087890625,
0.78173828125,
0.51025390625,
0.78173828125,
0.5234375,
0.2197265625,
0.52294921875
],
[
0.22216796875,
0.5263671875,
0.78173828125,
0.5263671875,
0.78173828125,
0.537109375,
0.22216796875,
0.537109375
],
[
0.2181396484375,
0.5390625,
0.78173828125,
0.5390625,
0.78173828125,
0.55322265625,
0.2181396484375,
0.55322265625
],
[
0.2197265625,
0.5546875,
0.78515625,
0.5546875,
0.78515625,
0.568359375,
0.2197265625,
0.568359375
],
[
0.2197265625,
0.5693359375,
0.78369140625,
0.5693359375,
0.78369140625,
0.58349609375,
0.2197265625,
0.58349609375
],
[
0.221435546875,
0.58544921875,
0.78369140625,
0.58544921875,
0.78369140625,
0.5986328125,
0.221435546875,
0.5986328125
],
[
0.221435546875,
0.6015625,
0.78173828125,
0.6015625,
0.78173828125,
0.6123046875,
0.221435546875,
0.6123046875
],
[
0.2197265625,
0.61572265625,
0.7861328125,
0.61572265625,
0.7861328125,
0.62890625,
0.2197265625,
0.62890625
],
[
0.221435546875,
0.630859375,
0.78369140625,
0.630859375,
0.78369140625,
0.64453125,
0.221435546875,
0.64453125
],
[
0.221435546875,
0.64599609375,
0.78369140625,
0.64599609375,
0.78369140625,
0.6591796875,
0.221435546875,
0.6591796875
],
[
0.22216796875,
0.662109375,
0.78173828125,
0.662109375,
0.78173828125,
0.67236328125,
0.22216796875,
0.67236328125
],
[
0.221435546875,
0.67822265625,
0.78173828125,
0.67822265625,
0.78173828125,
0.68798828125,
0.221435546875,
0.68798828125
],
[
0.22216796875,
0.69140625,
0.78369140625,
0.69140625,
0.78369140625,
0.705078125,
0.22216796875,
0.705078125
],
[
0.221435546875,
0.70849609375,
0.78369140625,
0.70849609375,
0.78369140625,
0.71826171875,
0.221435546875,
0.71826171875
],
[
0.2197265625,
0.72021484375,
0.78369140625,
0.72021484375,
0.78369140625,
0.734375,
0.2197265625,
0.734375
],
[
0.22216796875,
0.7373046875,
0.78173828125,
0.7373046875,
0.78173828125,
0.74755859375,
0.22216796875,
0.74755859375
],
[
0.221435546875,
0.751953125,
0.78369140625,
0.751953125,
0.78369140625,
0.76513671875,
0.221435546875,
0.76513671875
],
[
0.221435546875,
0.7666015625,
0.78369140625,
0.7666015625,
0.78369140625,
0.77978515625,
0.221435546875,
0.77978515625
],
[
0.221435546875,
0.78271484375,
0.78173828125,
0.78271484375,
0.78173828125,
0.79345703125,
0.221435546875,
0.79345703125
],
[
0.221435546875,
0.796875,
0.78369140625,
0.796875,
0.78369140625,
0.81005859375,
0.221435546875,
0.81005859375
],
[
0.2181396484375,
0.81005859375,
0.78369140625,
0.81103515625,
0.78369140625,
0.82568359375,
0.2181396484375,
0.82470703125
],
[
0.2197265625,
0.8271484375,
0.398681640625,
0.8271484375,
0.398681640625,
0.84033203125,
0.2197265625,
0.84033203125
]
] |
[
"7",
"1Introduction",
"Visualgrounding旨在将自然语言查询基于图像的某个区域。视觉接地主要有两",
"个工作线程:两阶段方法E[41,40,32,3,50,48]和一阶段方法[47,5,37]。两阶段",
"方法首先提取区域提案,然后根据其与查询的相似性对提案进行排名。最近提",
"出的一阶段方法采用了不同的范式,但很快就会流行。一阶段方法在图像级别",
"融合视觉文本特征,并直接预测边界框以使所引用的对象接地。通过密集采样",
"可能的对象位置并减少区域建议上的穴余计算,单阶段方法E[47,5,37]简单,快",
"速且准确",
"在本文中,我们通过解决最先进的一阶段方法在建模长而复杂的查询方面的",
"弱点来改进它们。我们方法的总体优势如图1所示。与当前最先进的一阶段方",
"法E47]相比,该方法在较长的查询上的性能急剧下降,我们的方法实现了非常",
"出色的性能",
"我们分析当前一阶段方法的局限性如下。现有的单阶段方法47,5,37]将整",
"个查询编码为单个嵌入向量,例如直接采用来自BERT[8,47]的第一个令牌的",
"嵌入([CLSI)或从LSTM「12,47,5,37]聚合隐藏状态。然后将单个向量在所有",
"空间位置与视觉特征连接,以获得用于接地盒预测的融合特征。将整个语言查",
"询建模为单个嵌入向量往往会增加表示歧义,例如专注于某些单词,而忽略其",
"他重要的单词。这样的问题可能会导致参考信息的丢失,尤其是在那些漫长而",
"复杂的查询中。例如在图2(a)中,该模型似乎忽略了诸如“坐在沙发上”或",
"“看电视”之类的详细描述,并用头部名词“man。“至于图E2(b),该模型似",
"乎看错了单词“mountain”,并在没有充分考虑“water”修饰符的情况下将目标",
"接地。“因此,忽略查询建模问题会导致单阶段方法的长查询性能下降",
"几个两阶段可视化基础作品【42,45,46,24,48,27]研究了一个类似的查询建模",
"问题。这些工作的主要思想是将对象区域与已解析的子查询链接起来,以全面了",
"解引用。其中,MattNetE48将查询解析为主题,位置和关系短语,并将每个",
"短语与相关的对象区域链接起来以进行匹配分数计算。NMTREE24]使用依",
"赖关系树解析器[2]解析查询,并将每个树节点与可视区域链接。DGA【46]解",
"析带有文本自关注的查询,并通过动态图关注将文本与区域链接起来。虽然足够",
"优雅,但这些方法是针对两阶段方法直观设计的,需要在第一阶段提取候选区",
"域特征。由于进行单阶段可视化接地的主要好处是避免为了计算成本而显式提",
"取候选区域特征,因此两阶段方法中的查询建模不能直接应用于单阶段框架E",
"[47,5,37]。因此,本文针对统一的一阶段框架下的查询建模问题,提出了递归子",
"查询构造框架当遇到诸如图E2(a)之类的参考问题时,人类倾向于通过在图",
"像和查询之间进行多轮推理来解决它,并递归地减少参考歧义.e.,包含被引用",
"对象的可能区域。受此启发,我们建议将每个回合中对引用的中间理解表示为",
"文本条件视觉特征,该特征从图像特征开始,并在多个回合后更新,最终作为",
"融合的视觉文本特征准备用于框预测。在每一轮中,该模型构建一个新的子香",
"询,作为一组有分数的单词,以优化文本条件视觉特征。逐渐地,通过多轮,我",
"们的模型减少了弓用的歧义。这样的多轮解决方案与以前的一阶段方法形成对",
"比,后者试图记住整个查询并在单轮中建立区域。我们的框架递归地构造子查",
"询来细化接地预测。每一轮都面临两个便于递归推理的核心问题,即1)如何构",
"造子查询:2)如何用子查询细化文本条件视觉特征。我们提出了一个子查询学",
"习器和子查询调制网络来分别解决上述两个问题。它们交替和递归地工作,以",
"减少引用的歧义。使用最后一轮中的文本条件视觉特征,最终输出阶段预测边",
"界框以使引用的对象接地"
] |
{
"arxiv_id": "2008.01059",
"language": "zh",
"page_idx": 0
}
|
||
2008.01059-zh-1
|
2008.01059-zh-1.jpg
|
2
RefCOCOg-test
<FigureHere>
Fig.1. The accuracy of previous one-stage methods (blue column) decreases on longer queries.
<FigureHere>
Fig.2. Previous one-stage methods' representative failure cases of (a) overlooking detailed descriptions, (b) misinterpreting the query by keywords. Blue/ yellow boxes are the predicted regions [47]/ ground truths.
我们在 ReferItGame [17]、RefCOCO [49]、RefCOCO+ [49]、RefCOCOg [29] 数据集上对我们的框架进行了基准测试,5.0%,4.5%,7.5%,12.8% 绝对优于最先进的单级方法 [47]。同时,我们的方法以 38FPS( 26ms )的速度快速运行。此外,图 1 中根据查询长度变化的相对增益曲线显示了我们的方法在解决上述查询建模问题方面的有效性
我们的主要贡献是:
- We improve one-stage visual grounding by addressing previous one-stage
methods' limitations on grounding long and complex queries.
- We propose a recursive sub-query construction framework that recursively
reduces the referring ambiguity with different constructed sub-queries.
- Our proposed method shows significantly improved results on multiple datasets
and meanwhile maintains the real-time inference speed. Extensive experi-
ments and ablations validate the effectiveness of our method.
## 2 Related Work
视觉接地方法有两大类:短语本地化$\mathbb{E}[17,33,40]$ 和参考表达理解$\mathbb{E}[29,49,48,15,18]$ 。大多数以前的视觉接地方法由两个阶段组成。在第一阶段,由离线模块生成许多区域建议,例如 EdgeBox$\boxed{\mathrm{F}}[53]$ ,选择性搜索$\boxed{\mathrm{E}}[39]$ 或预先训练的检测器E [26,35,13] 。在第二阶段,将每个区域与输人查询进行比较,并输出相似性得分。在推理过程中,具有最高相似性得分的区域将作为最终预测输出。在两阶段框架下,各种作品探索不同的方面以改善视觉基础,例如更好地利用属性$\overline{\mathbb{E}}[25,48,27]$ , 对象关系$\mathbb{E}[42,45,46,24]$ ,短语共现$\mathbb{E}[4,9,1],etc.$
最近,几部作品$\boxed{\mathrm{E}}|47,5,37,20,28|$ 提出了一种不同的一阶段视觉接地范式。主要动机是解决两阶段方法$i.e.$的两个局限性,即稀疏采样区域建议引起的性能上限以及区域特征计算引起的推理速度慢。一阶段方法不是显式提取所有建议区域的特征,而是在所有空间位置密集地融合视觉文本特征,并直接预测边界框以使目标接地。以前的一阶段方法通常将查询编码为单个语言向量,并沿着视觉特征的通道维度连接特征。尽管单阶段方法是有效的,但将语言查询建模为单个向量可能会导致引用信息的丢失,尤其是在漫长而复杂的查询中。尽管
|
[
[
0.2181396484375,
0.11614990234375,
0.2296142578125,
0.11614990234375,
0.2296142578125,
0.126953125,
0.2181396484375,
0.126953125
],
[
0.30224609375,
0.147705078125,
0.3505859375,
0.147705078125,
0.3505859375,
0.1546630859375,
0.30224609375,
0.1546630859375
],
[
0.238525390625,
0.1572265625,
0.4248046875,
0.1558837890625,
0.4248046875,
0.1666259765625,
0.238525390625,
0.1673583984375
],
[
0.428955078125,
0.186279296875,
0.435546875,
0.186279296875,
0.435546875,
0.1900634765625,
0.428955078125,
0.1900634765625
],
[
0.58251953125,
0.1875,
0.58642578125,
0.1875,
0.58642578125,
0.1956787109375,
0.58251953125,
0.1956787109375
],
[
0.58642578125,
0.189453125,
0.6298828125,
0.189453125,
0.6298828125,
0.1932373046875,
0.58642578125,
0.1932373046875
],
[
0.740234375,
0.1875,
0.80126953125,
0.1849365234375,
0.80126953125,
0.1956787109375,
0.740234375,
0.1976318359375
],
[
0.233642578125,
0.1956787109375,
0.23779296875,
0.1956787109375,
0.23779296875,
0.2008056640625,
0.233642578125,
0.2008056640625
],
[
0.580078125,
0.1932373046875,
0.62353515625,
0.1944580078125,
0.62353515625,
0.2020263671875,
0.580078125,
0.2008056640625
],
[
0.2296142578125,
0.2020263671875,
0.240234375,
0.2020263671875,
0.240234375,
0.2215576171875,
0.2296142578125,
0.2215576171875
],
[
0.5009765625,
0.20263671875,
0.5498046875,
0.20263671875,
0.5498046875,
0.21337890625,
0.5009765625,
0.21337890625
],
[
0.64208984375,
0.208984375,
0.65283203125,
0.20703125,
0.654296875,
0.212158203125,
0.6435546875,
0.2139892578125
],
[
0.69921875,
0.2083740234375,
0.71142578125,
0.2083740234375,
0.71142578125,
0.212158203125,
0.69921875,
0.212158203125
],
[
0.47802734375,
0.2374267578125,
0.7861328125,
0.2374267578125,
0.7861328125,
0.250732421875,
0.47802734375,
0.250732421875
],
[
0.30810546875,
0.25390625,
0.359375,
0.25390625,
0.359375,
0.264404296875,
0.30810546875,
0.264404296875
],
[
0.47802734375,
0.250732421875,
0.7890625,
0.250732421875,
0.7890625,
0.264404296875,
0.47802734375,
0.264404296875
],
[
0.476318359375,
0.26318359375,
0.78759765625,
0.26318359375,
0.78759765625,
0.276611328125,
0.476318359375,
0.276611328125
],
[
0.21728515625,
0.28271484375,
0.4453125,
0.28271484375,
0.4453125,
0.296630859375,
0.21728515625,
0.296630859375
],
[
0.476318359375,
0.27783203125,
0.78759765625,
0.27783203125,
0.78759765625,
0.291748046875,
0.476318359375,
0.291748046875
],
[
0.21728515625,
0.29736328125,
0.4453125,
0.296630859375,
0.4453125,
0.311279296875,
0.21728515625,
0.3125
],
[
0.4755859375,
0.292236328125,
0.67236328125,
0.291748046875,
0.67236328125,
0.30615234375,
0.4755859375,
0.306884765625
],
[
0.2181396484375,
0.313232421875,
0.40283203125,
0.313232421875,
0.40283203125,
0.326904296875,
0.2181396484375,
0.326904296875
],
[
0.24267578125,
0.354736328125,
0.78173828125,
0.354736328125,
0.78173828125,
0.36865234375,
0.24267578125,
0.36865234375
],
[
0.2181396484375,
0.37060546875,
0.78173828125,
0.37060546875,
0.78173828125,
0.3837890625,
0.2181396484375,
0.3837890625
],
[
0.2197265625,
0.386474609375,
0.78369140625,
0.386474609375,
0.78369140625,
0.399658203125,
0.2197265625,
0.399658203125
],
[
0.2197265625,
0.401611328125,
0.78515625,
0.401611328125,
0.78515625,
0.415283203125,
0.2197265625,
0.415283203125
],
[
0.2197265625,
0.417236328125,
0.496826171875,
0.417236328125,
0.496826171875,
0.43115234375,
0.2197265625,
0.43115234375
],
[
0.2442626953125,
0.43310546875,
0.381591796875,
0.43310546875,
0.381591796875,
0.4462890625,
0.2442626953125,
0.4462890625
],
[
0.2296142578125,
0.4609375,
0.78515625,
0.4609375,
0.78515625,
0.474853515625,
0.2296142578125,
0.474853515625
],
[
0.2442626953125,
0.474853515625,
0.68310546875,
0.47607421875,
0.68310546875,
0.490478515625,
0.2442626953125,
0.4892578125
],
[
0.2296142578125,
0.4912109375,
0.78369140625,
0.4912109375,
0.78369140625,
0.5048828125,
0.2296142578125,
0.5048828125
],
[
0.2442626953125,
0.505859375,
0.74853515625,
0.5048828125,
0.74853515625,
0.51953125,
0.2442626953125,
0.52099609375
],
[
0.236083984375,
0.52587890625,
0.2467041015625,
0.52587890625,
0.2467041015625,
0.52978515625,
0.236083984375,
0.52978515625
],
[
0.24267578125,
0.52294921875,
0.7998046875,
0.52294921875,
0.7998046875,
0.5361328125,
0.24267578125,
0.5361328125
],
[
0.2459716796875,
0.537109375,
0.78515625,
0.537109375,
0.78515625,
0.55029296875,
0.2459716796875,
0.55029296875
],
[
0.2467041015625,
0.5537109375,
0.68115234375,
0.5537109375,
0.68115234375,
0.564453125,
0.2467041015625,
0.564453125
],
[
0.21728515625,
0.5947265625,
0.259033203125,
0.5947265625,
0.259033203125,
0.609375,
0.21728515625,
0.609375
],
[
0.250732421875,
0.59521484375,
0.3896484375,
0.59521484375,
0.3896484375,
0.60595703125,
0.250732421875,
0.60595703125
],
[
0.2197265625,
0.62890625,
0.79736328125,
0.62890625,
0.79736328125,
0.642578125,
0.2197265625,
0.642578125
],
[
0.2303466796875,
0.64453125,
0.78515625,
0.64453125,
0.78515625,
0.65771484375,
0.2303466796875,
0.65771484375
],
[
0.221435546875,
0.6591796875,
0.7861328125,
0.6591796875,
0.7861328125,
0.673828125,
0.221435546875,
0.673828125
],
[
0.221435546875,
0.6748046875,
0.78369140625,
0.6748046875,
0.78369140625,
0.68798828125,
0.221435546875,
0.68798828125
],
[
0.2197265625,
0.68994140625,
0.78515625,
0.68994140625,
0.78515625,
0.7041015625,
0.2197265625,
0.7041015625
],
[
0.221435546875,
0.705078125,
0.7861328125,
0.705078125,
0.7861328125,
0.71826171875,
0.221435546875,
0.71826171875
],
[
0.22216796875,
0.7197265625,
0.59716796875,
0.7197265625,
0.59716796875,
0.73291015625,
0.22216796875,
0.73291015625
],
[
0.2442626953125,
0.73486328125,
0.78515625,
0.73486328125,
0.78515625,
0.74853515625,
0.2442626953125,
0.74853515625
],
[
0.2197265625,
0.75048828125,
0.78515625,
0.75048828125,
0.78515625,
0.7646484375,
0.2197265625,
0.7646484375
],
[
0.223876953125,
0.767578125,
0.78173828125,
0.767578125,
0.78173828125,
0.77783203125,
0.223876953125,
0.77783203125
],
[
0.2197265625,
0.78076171875,
0.78369140625,
0.78076171875,
0.78369140625,
0.79443359375,
0.2197265625,
0.79443359375
],
[
0.22216796875,
0.79736328125,
0.78173828125,
0.79736328125,
0.78173828125,
0.80810546875,
0.22216796875,
0.80810546875
],
[
0.2197265625,
0.81103515625,
0.78515625,
0.81103515625,
0.78515625,
0.82470703125,
0.2197265625,
0.82470703125
],
[
0.2197265625,
0.82568359375,
0.78369140625,
0.82568359375,
0.78369140625,
0.8388671875,
0.2197265625,
0.8388671875
]
] |
[
"2",
"RefcOcOo-",
"One-Stage-Bert [47] OursRelative Gain",
"",
"=",
"thecouch.a",
"background below",
"",
"lookingonth",
"g0",
"",
"",
"",
"Fig.2. Previous one-stage methods' represen",
"Query length",
"tative failure cases of (a) overlooking detailed",
"descriptions, (b) misinterpreting the query by",
"Fig.l. The accuracy of previous",
"keywords. Blue/yellow boxes are the predicted",
"one-stage methods (blue column)",
"regions [47] / ground truths.",
"decreases on longer queries.",
"我们在ReferItGame「17]RefCOCO[49]、RefCOCO+「49]、Ref",
"COCOg[291数据集上对我们的框架进行了基准测试:5.0%4.5%.7.5%12.8%",
"绝对优于最先进的单级方法「47l。同时,我们的方法以38FPS(26ms)的速度",
"快速运行。此外,图1中根据查询长度变化的相对增益曲线显示了我们的方法",
"在解决上述查询建模问题方面的有效性",
"我们的主要贡献是:",
"- We improve one-stage visual grounding by addressing previous one-stage",
"methods' limitations on grounding long and complex queries.",
"- We propose a recursive sub-query construction framework that recursively",
"reduces the referring ambiguity with different constructed sub-queries.",
"",
"Our proposed method shows significantly improved results on multiple datasets",
"and meanwhile maintains the real-time inference speed. Extensive experi-",
"ments and ablations validate the effectiveness of our method.",
"2",
"Related Work",
"视觉接地方法有两大类:短语本地化17,33,40]和参考表达理解E[29,49,48,15,18]",
"大多数以前的视觉接地方法由两个阶段组成。在第一阶段,由离线模块生成",
"许多区域建议,例如EdgeBoxE[53],选择性搜索E[39]或预先训练的检测器E",
"26,35,131。在第二阶段,将每个区域与输入查询进行比较,并输出相似性得分。",
"在推理过程中,具有最高相似性得分的区域将作为最终预测输出。在两阶段框架",
"下,各种作品探索不同的方面以改善视觉基础,例如更好地利用属性E[25,48,27]",
",对象关系[42,45,46,241,短语共现E[4,9,1],etc.",
"最近,几部作品E[47,537,20,281提出了一种不同的一阶段视觉接地范式。主",
"要动机是解决两阶段方法i.e.的两个局限性,即稀疏采样区域建议引起的性能",
"上限以及区域特征计算引起的推理速度慢。一阶段方法不是显式提取所有建议",
"区域的特征,而是在所有空间位置密集地融合视觉文本特征,并直接预测边界",
"框以使目标接地。以前的一阶段方法通常将查询编码为单个语言向量,并沿着",
"视觉特征的通道维度连接特征。尽管单阶段方法是有效的,但将语言查询建模",
"为单个向量可能会导致引用信息的丢失,尤其是在漫长而复杂的查询中。尽管"
] |
{
"arxiv_id": "2008.01059",
"language": "zh",
"page_idx": 1
}
|
||
2008.01059-zh-2
|
2008.01059-zh-2.jpg
|
3
两阶段方法$\mathsf{E}[42,45,46,24,48,27]$ 已经研究了语言查询建模的类似问题,但鉴于
两种范式之间的内在差异,这些探索不能直接应用于一阶段方法
此外,一个直观的替代方法是通过注意力机制对查询短语进行建模。Lin $et$ $al.$ [22]提出用自我注意提取句子嵌人。在各种视觉语言任务中也探索了具有注意力机制的建模查询[19,48] 。在实验中,我们观察到我们提出的多轮解决方案比简单的查询注意方法 (表EB 中的$cf.$“单/多头注意”和“子查询学习者(我们的)”) 表现更好。
# $\begin{array}{cc}3&\mathrm{Approach}\end{array}$
在本节中,我们将在统一的一阶段基础框架中介绍我们的查询建模。以前的单级接 地 方 法 将 语 言 查 询 编 码 为 $C_{l}$ 维 语 言 特 征 , 并 将 所 有 空 间 位 置 的 文 本 特 征 与 视 觉 特 征 $v\in R^{H\times W\times C_{v}}$ 连 接 起 来 。$H, W, C_{v}$ 是 视 觉 特 征 的 高 度 、 宽 度 和 尺 寸 。视觉特征和文本特征通常在连接之前映射到相同的维度$C$ 。然后,额外的卷积层进一步细化融合特征$f\in R^{H\times W\times2C}$ ,并预测每个空间位置$H\times W$处的边界框以使目标接地。这样的单轮查询建模往往会忽略重要的查询细节,并导致错误的预测 。在更长和更复杂的查询中,问题变得越来越严重,如图El1 中定量所示
为了在统一的单级接地系统中解决此问题,我们提出了一个递归子查询构造框架,该框架逐步细化了视觉文本功能$v^{(k)}$以获得更好的预测。如图 3 所示,初始特征$v^{(0)}$是视觉编码器编码的图像特征$v\in R^H\times W\times C$ $\boxed{\mathrm{E}}[34]$ 。在每轮$k$中, 框架将一个新的子查询构造为一组带有得分向量$\vec{\alpha}^{(k)}$的单词,并获得子查询嵌人$q^{(k)}$以细化视觉文本特征。该框架在$K$轮之后最终具有改进的功能$v^{(K)}$ 并预测$v^{(K)}$的每个空间位置上的边界框以使目标接地。我们将$v^{(k)}$命名为文本条件视觉功能
在每一轮中,我们都会讨论如何构造子查询以及如何使用子查询嵌人来优化功能$v^{(k)}$,以更好地定位目标。对于第一个问题,我们在 3.1 节中提出了一个子查询学习器。目标是构造可以最好地解决当前引用歧义的子查询。我们发现在每一轮中引用文本条件视觉功能$v^{(k)}$很重要。对于第二个问题,我们提出了一个子查询调制网络,该网络通过子查询特征缩放和移动特征$v^{(k)}$ 。我们在 3.2节中介绍细节。子查询学习器和调制网络交替运行多轮,并递归地减少引用歧义。最后一轮的特征$v^{(K)}$包含完整的对象引用信息,用于目标框预测。
3.1 Sub-query Learner
我们的方法将视觉接地问题作为多轮推理过程来解决。在每一轮中,子查询学
习器引用文本条件视觉特征$v^{(k)}$,并构造可以逐渐减少引用歧义的子查询
给定$N$单词的语言查询,语言编码器提取每个单词的查询表示$S=\{s_n\}_n=1^N$ ,每个查询表示的维度为$C$ 。如图 3 所示,子查询学习器在每一轮 $k$ 中构造一个子查询,作为一组以长度为$N$的分数向量$\vec{\alpha}^{(k)}=\{\alpha_n^{(k)}\}_{n=1}^N$参与的单词。除了查询词特征$S$之外,我们发现在子查询构造中引用当前的文本条件视觉特征$v^{(k-1)}\in R^{H\times W\times C}$尤为重要,因此将维度$C$的平均池特征$\bar{v}^(k-1)$作为学习者的附加输入。此外,以前的子查询的历史可以帮助避免过分强调某些关键字。给定先前子查询$\{\vec{\alpha}^{(i)}\}_{i=1}^{k-1}$的历史记录,历史向量$\vec{h}^{(k)}$表示先前参与的单词,并
|
[
[
0.775390625,
0.11871337890625,
0.7861328125,
0.11871337890625,
0.7861328125,
0.1275634765625,
0.775390625,
0.1275634765625
],
[
0.221435546875,
0.1483154296875,
0.78515625,
0.1483154296875,
0.78515625,
0.1622314453125,
0.221435546875,
0.1622314453125
],
[
0.2181396484375,
0.1622314453125,
0.67626953125,
0.1641845703125,
0.67626953125,
0.177978515625,
0.2181396484375,
0.175537109375
],
[
0.2442626953125,
0.1787109375,
0.78759765625,
0.1787109375,
0.78759765625,
0.1925048828125,
0.2442626953125,
0.1925048828125
],
[
0.221435546875,
0.1962890625,
0.78173828125,
0.1962890625,
0.78173828125,
0.20703125,
0.221435546875,
0.20703125
],
[
0.2197265625,
0.208984375,
0.78369140625,
0.210205078125,
0.78369140625,
0.2235107421875,
0.2197265625,
0.222900390625
],
[
0.2197265625,
0.2235107421875,
0.78515625,
0.2247314453125,
0.78515625,
0.2392578125,
0.2197265625,
0.238037109375
],
[
0.221435546875,
0.242431640625,
0.35693359375,
0.242431640625,
0.35693359375,
0.25244140625,
0.221435546875,
0.25244140625
],
[
0.21728515625,
0.285888671875,
0.3505859375,
0.285888671875,
0.3505859375,
0.300537109375,
0.21728515625,
0.300537109375
],
[
0.2197265625,
0.324462890625,
0.78369140625,
0.324462890625,
0.78369140625,
0.335205078125,
0.2197265625,
0.335205078125
],
[
0.2197265625,
0.33837890625,
0.78515625,
0.33837890625,
0.78515625,
0.3515625,
0.2197265625,
0.3515625
],
[
0.2197265625,
0.349853515625,
0.78515625,
0.349853515625,
0.78515625,
0.367431640625,
0.2197265625,
0.367431640625
],
[
0.2197265625,
0.36865234375,
0.78369140625,
0.36865234375,
0.78369140625,
0.3818359375,
0.2197265625,
0.3818359375
],
[
0.21728515625,
0.37890625,
0.7861328125,
0.37744140625,
0.7861328125,
0.3984375,
0.21728515625,
0.399658203125
],
[
0.221435546875,
0.3984375,
0.78369140625,
0.3984375,
0.78369140625,
0.412353515625,
0.221435546875,
0.412353515625
],
[
0.221435546875,
0.415283203125,
0.78125,
0.415283203125,
0.78125,
0.425537109375,
0.221435546875,
0.425537109375
],
[
0.2459716796875,
0.431884765625,
0.78173828125,
0.431884765625,
0.78173828125,
0.442626953125,
0.2459716796875,
0.442626953125
],
[
0.221435546875,
0.4443359375,
0.78515625,
0.4443359375,
0.78515625,
0.458984375,
0.221435546875,
0.458984375
],
[
0.2181396484375,
0.455078125,
0.78759765625,
0.455078125,
0.78759765625,
0.47607421875,
0.2181396484375,
0.47607421875
],
[
0.2181396484375,
0.473388671875,
0.78515625,
0.474853515625,
0.78515625,
0.4892578125,
0.2181396484375,
0.488037109375
],
[
0.2181396484375,
0.490478515625,
0.77685546875,
0.488037109375,
0.77685546875,
0.50244140625,
0.2181396484375,
0.5048828125
],
[
0.2181396484375,
0.501953125,
0.78515625,
0.50390625,
0.78515625,
0.52099609375,
0.2181396484375,
0.51806640625
],
[
0.2197265625,
0.51953125,
0.318603515625,
0.517578125,
0.318603515625,
0.5322265625,
0.2197265625,
0.5341796875
],
[
0.2442626953125,
0.537109375,
0.78369140625,
0.537109375,
0.78369140625,
0.55029296875,
0.2442626953125,
0.55029296875
],
[
0.2197265625,
0.55029296875,
0.78369140625,
0.55029296875,
0.78369140625,
0.56494140625,
0.2197265625,
0.56494140625
],
[
0.221435546875,
0.5673828125,
0.78369140625,
0.5673828125,
0.78369140625,
0.58056640625,
0.221435546875,
0.58056640625
],
[
0.2181396484375,
0.58056640625,
0.77294921875,
0.58203125,
0.77294921875,
0.5966796875,
0.2181396484375,
0.59521484375
],
[
0.2197265625,
0.5947265625,
0.78515625,
0.5947265625,
0.78515625,
0.6123046875,
0.2197265625,
0.6123046875
],
[
0.221435546875,
0.61279296875,
0.78515625,
0.61279296875,
0.78515625,
0.626953125,
0.221435546875,
0.626953125
],
[
0.221435546875,
0.626953125,
0.72607421875,
0.626953125,
0.72607421875,
0.64013671875,
0.221435546875,
0.64013671875
],
[
0.2181396484375,
0.671875,
0.419189453125,
0.671875,
0.419189453125,
0.68505859375,
0.2181396484375,
0.68505859375
],
[
0.221435546875,
0.705078125,
0.78173828125,
0.705078125,
0.78173828125,
0.71533203125,
0.221435546875,
0.71533203125
],
[
0.2197265625,
0.71630859375,
0.74609375,
0.71728515625,
0.74609375,
0.73193359375,
0.2197265625,
0.73095703125
],
[
0.2442626953125,
0.73486328125,
0.78125,
0.73486328125,
0.78125,
0.74853515625,
0.2442626953125,
0.74853515625
],
[
0.22216796875,
0.75,
0.77685546875,
0.75,
0.77685546875,
0.76318359375,
0.22216796875,
0.76318359375
],
[
0.2197265625,
0.76513671875,
0.78515625,
0.76513671875,
0.78515625,
0.77978515625,
0.2197265625,
0.77978515625
],
[
0.223876953125,
0.78271484375,
0.78173828125,
0.78271484375,
0.78173828125,
0.79345703125,
0.223876953125,
0.79345703125
],
[
0.21728515625,
0.79052734375,
0.7861328125,
0.79345703125,
0.7861328125,
0.814453125,
0.21728515625,
0.81103515625
],
[
0.2181396484375,
0.81103515625,
0.78369140625,
0.81005859375,
0.78369140625,
0.82470703125,
0.2181396484375,
0.82568359375
],
[
0.2197265625,
0.8271484375,
0.78369140625,
0.8271484375,
0.78369140625,
0.84033203125,
0.2197265625,
0.84033203125
]
] |
[
"3",
"两阶段方法[42,45,46,24,48,27]已经研究了语言查询建模的类似问题,但鉴于",
"两种范式之间的内在差异,这些探索不能直接应用于一阶段方法",
"此外,一个直观的替代方法是通过注意力机制对查询短语进行建模。Linet",
"al.22提出用自我注意提取句子嵌入。在各种视觉语言任务中也探索了具有注",
"意力机制的建模查询[19,48]。在实验中,我们观察到我们提出的多轮解决方案",
"比简单的查询注意方法(表E3中的cf“单/多头注意”和“子查询学习者(我",
"们的)表现更好。",
"3Approach",
"在本节中,我们将在统一的一阶段基础框架中介绍我们的查询建模。以前的单级",
"接地方法将语言查询编码为C维语言特征,并将所有空间位置的文本特征与视",
"觉特征ERH×WxC连接起来。H,W,C,是视觉特征的高度、宽度和尺寸。视",
"觉特征和文本特征通常在连接之前映射到相同的维度C。然后,额外的卷积层",
"进一步细化融合特征fERHxW×2C,并预测每个空间位置H×W处的边界框",
"以使目标接地。这样的单轮查询建模往往会忽略重要的查询细节,并导致错误的",
"预测。在更长和更复杂的查询中,问题变得越来越严重,如图E1中定量所示",
"为了在统一的单级接地系统中解决此问题,我们提出了一个递归子查询构造",
"框架,该框架逐步细化了视觉文本功能()以获得更好的预测。如图3所示,初",
"始特征(O)是视觉编码器编码的图像特征ERHxWxCE[34]:在每轮k中,",
"框架将一个新的子查询构造为一组带有得分向量α()的单词,并获得子查询嵌",
"人q(k)以细化视觉文本特征。该框架在K轮之后最终具有改进的功能(K)",
"并预测(K)的每个空间位置上的边界框以使目标接地。我们将()命名为文本",
"条件视觉功能",
"在每一轮中,我们都会讨论如何构造子查询以及如何使用子查询嵌入来优化",
"功能α(k),以更好地定位目标。对于第一个问题,我们在3.1节中提出了一个",
"子查询学习器。目标是构造可以最好地解决当前引用歧义的子查询。我们发现在",
"每一轮中引用文本条件视觉功能α(s)很重要。对于第二个问题,我们提出了",
"个子查询调制网络,该网络通过子查询特征缩放和移动特征(k)。我们在3.2",
"节中介绍细节。子查询学习器和调制网络交替运行多轮,并递归地减少引用歧",
"义。最后一轮的特征(K)包含完整的对象引用信息,用于目标框预测。",
"3.1Sub-query Learner",
"我们的方法将视觉接地问题作为多轮推理过程来解决。在每一轮中,子查询学",
"习器引用文本条件视觉特征(),并构造可以逐渐减少引用歧义的子查询",
"给定N单词的语言查询,语言编码器提取每个单词的查询表示S=【sn]n=】",
",每个查询表示的维度为C。如图3所示,子查询学习器在每一轮k中构造",
"个子查询,作为一组以长度为N的分数向量α(k)=(αnn=1参与的单词。除",
"了查询词特征S之外,我们发现在子查询构造中引用当前的文本条件视觉特征",
"u(k=1)ERHxWxC尤为重要,因此将维度C的平均池特征(k-i)作为学习者",
"的附加输入。此外,以前的子查询的历史可以帮助避免过分强调某些关键字。给",
"定先前子查询【α())-1的历史记录,历史向量h()表示先前参与的单词,并"
] |
{
"arxiv_id": "2008.01059",
"language": "zh",
"page_idx": 2
}
|
||
2008.01059-zh-3
|
2008.01059-zh-3.jpg
|
4
<FigureHere>
Fig.3. The architecture for the recursive sub-query construction framework.In each round, the framework constructs a new sub-query to refine the text-conditional visual feature $v^(k)$ (shown in purple). $q^(k)$ is the feature for the constructed sub-query.
计算为
$$\vec h^{(k)}=\vec1-\min\left(\sum_{i=1}^{k-1}\vec\alpha^{(i)},\vec1\right),$$
,其中$\vec{1}$是全 1 向量。$\vec{h}^{(k)}$和$\vec{\alpha}^{(i)}$都是$N$维向量,其值范围从 0 到 1。子查询学习器取查询词特征$\{s_n\}_{n=1}^N$、文本条件视觉特征$\bar{v}^{(k-1)}$和历史向量$\vec{h}^{(k)}=\{h_{n}^{(k)}\}_{n=1}^{N}$,通过预测得分向量$\vec{\alpha}^{(k)}$来构造用于轮$k$的子查询:
$$\alpha_n^{(k)}=softmax\left[W_{a1}^{(k)}\tanh\left(W_{a0}^{(k)}h_n^{(k)}(\bar{v}^{(k-1)}\odot s_n)+b_{a0}^{(k)}\right)+b_{a1}^{(k)}\right],$$
其中 <NEXTHX\_ MALINE>X1。我们计算$N$注意力得分上的 softmax
为了指导多轮推理,对单词注意力得分进行了显式正则化。直观上,每一轮构造的子查询应该关注查询的不同元素,最后,查询中的大多数单词应该已经被查看。因此,我们添加了两个正则化项:
$$L_{div}=\left\|A^TA\odot(11-I)\right\|_F^2,\quad L_{cover}=\left\|\vec1-\min\left(\sum_{i=1}^K\vec{\alpha}^{(i)},\vec1\right)\right\|_1,$$
(2
其中矩阵$A$是预测的注意力得分矩阵$A=\{\alpha_n^{(k)}\}_{n,k=1,1}^{N,K},1$是 1 的矩阵,$I$是单位矩阵。$L_{div}$避免了在多个回合中关注任何单词,从而增强了多样性。$L_{cover}$ 帮助模型查看查询中的所有单词,从而提高覆盖率
所采用的基于注意力的子查询学习技术与以前的组合推理研究有关$\overline{\mathbb{E}}[16,46]$ 。主要区别在于,我们的方法引用了文本条件视觉特征$v^{(k)}$来递归地构造每轮中的子查询。相比之下,先前研究中的子查询学习$\mathbb{E}[16,46]$ 纯粹基于单词特征$\{s_n\}_{n=1}^N$,并在视觉-文本融合之前生成所有子查询。
|
[
[
0.221435546875,
0.11871337890625,
0.226318359375,
0.11871337890625,
0.226318359375,
0.125,
0.221435546875,
0.125
],
[
0.5185546875,
0.15087890625,
0.5595703125,
0.15087890625,
0.5595703125,
0.1673583984375,
0.5185546875,
0.1673583984375
],
[
0.51123046875,
0.1900634765625,
0.54833984375,
0.1900634765625,
0.54833984375,
0.1944580078125,
0.51123046875,
0.1944580078125
],
[
0.455078125,
0.290283203125,
0.461669921875,
0.290283203125,
0.461669921875,
0.29345703125,
0.455078125,
0.29345703125
],
[
0.26953125,
0.298583984375,
0.28759765625,
0.298583984375,
0.28759765625,
0.302978515625,
0.26953125,
0.302978515625
],
[
0.233642578125,
0.306884765625,
0.25244140625,
0.306884765625,
0.25244140625,
0.31005859375,
0.233642578125,
0.31005859375
],
[
0.25244140625,
0.304931640625,
0.289306640625,
0.3037109375,
0.289306640625,
0.311279296875,
0.25244140625,
0.3125
],
[
0.384033203125,
0.3125,
0.431396484375,
0.3125,
0.431396484375,
0.323974609375,
0.384033203125,
0.323974609375
],
[
0.2181396484375,
0.35107421875,
0.78515625,
0.35107421875,
0.78515625,
0.3642578125,
0.2181396484375,
0.3642578125
],
[
0.2181396484375,
0.3642578125,
0.7861328125,
0.3642578125,
0.7861328125,
0.37744140625,
0.2181396484375,
0.37744140625
],
[
0.2156982421875,
0.375,
0.74658203125,
0.376953125,
0.74658203125,
0.39453125,
0.2156982421875,
0.392578125
],
[
0.2181396484375,
0.423583984375,
0.271240234375,
0.423583984375,
0.271240234375,
0.439453125,
0.2181396484375,
0.439453125
],
[
0.39453125,
0.449462890625,
0.5107421875,
0.451904296875,
0.5107421875,
0.4697265625,
0.39453125,
0.46728515625
],
[
0.53173828125,
0.458251953125,
0.5703125,
0.451904296875,
0.57275390625,
0.46337890625,
0.53515625,
0.4697265625
],
[
0.515625,
0.47607421875,
0.53173828125,
0.47607421875,
0.53173828125,
0.479248046875,
0.515625,
0.479248046875
],
[
0.2320556640625,
0.49365234375,
0.7861328125,
0.49365234375,
0.7861328125,
0.51123046875,
0.2320556640625,
0.51123046875
],
[
0.226318359375,
0.50244140625,
0.233642578125,
0.50244140625,
0.233642578125,
0.5068359375,
0.226318359375,
0.5068359375
],
[
0.2181396484375,
0.51025390625,
0.7861328125,
0.50830078125,
0.7861328125,
0.5244140625,
0.2181396484375,
0.5263671875
],
[
0.2156982421875,
0.5234375,
0.71337890625,
0.5263671875,
0.71337890625,
0.54736328125,
0.2156982421875,
0.54443359375
],
[
0.259033203125,
0.55810546875,
0.78515625,
0.5595703125,
0.78515625,
0.58056640625,
0.259033203125,
0.580078125
],
[
0.2197265625,
0.59765625,
0.73779296875,
0.59765625,
0.73779296875,
0.611328125,
0.2197265625,
0.611328125
],
[
0.2459716796875,
0.6142578125,
0.78369140625,
0.6142578125,
0.78369140625,
0.62744140625,
0.2459716796875,
0.62744140625
],
[
0.2197265625,
0.62744140625,
0.78515625,
0.62890625,
0.78515625,
0.64306640625,
0.2197265625,
0.642578125
],
[
0.2197265625,
0.64306640625,
0.51953125,
0.64306640625,
0.51953125,
0.6572265625,
0.2197265625,
0.6572265625
],
[
0.26953125,
0.6845703125,
0.55126953125,
0.68505859375,
0.55126953125,
0.70263671875,
0.26953125,
0.7021484375
],
[
0.5537109375,
0.6845703125,
0.61767578125,
0.68603515625,
0.61767578125,
0.70068359375,
0.5537109375,
0.69873046875
],
[
0.7685546875,
0.689453125,
0.78173828125,
0.689453125,
0.78173828125,
0.69970703125,
0.7685546875,
0.69970703125
],
[
0.625,
0.705078125,
0.650390625,
0.705078125,
0.650390625,
0.7119140625,
0.625,
0.7119140625
],
[
0.2132568359375,
0.72265625,
0.79150390625,
0.72265625,
0.79150390625,
0.7548828125,
0.2132568359375,
0.7548828125
],
[
0.2197265625,
0.74755859375,
0.78369140625,
0.75,
0.78369140625,
0.7646484375,
0.2197265625,
0.76220703125
],
[
0.2197265625,
0.7646484375,
0.580078125,
0.7646484375,
0.580078125,
0.77783203125,
0.2197265625,
0.77783203125
],
[
0.2442626953125,
0.78076171875,
0.78515625,
0.78076171875,
0.78515625,
0.79443359375,
0.2442626953125,
0.79443359375
],
[
0.2344970703125,
0.79443359375,
0.78369140625,
0.79443359375,
0.78369140625,
0.8095703125,
0.2344970703125,
0.8095703125
],
[
0.2197265625,
0.8095703125,
0.78515625,
0.81005859375,
0.78515625,
0.82470703125,
0.2197265625,
0.82373046875
],
[
0.2181396484375,
0.82470703125,
0.5908203125,
0.82470703125,
0.5908203125,
0.84228515625,
0.2181396484375,
0.84228515625
]
] |
[
"4",
"Mubaven",
"Gonu-fiN-Bel",
"a0",
"Suen",
"VRnS",
"ittingon th",
"S=(onN-)",
"Fig.3. The architecture for the recursive sub-query construction framework. In each",
"round, the framework constructs a new sub-query to refine the text-conditional visual",
"feature v() (shown in purple). q(c) is the feature for the constructed sub-query.",
"计算为",
"h(k)=i-min",
"Q(i)",
"",
"其中1是全1向量。h(h)和α()都是N维向量,其值范围从0到1。子",
"",
"查询学习器取查询词特征sn)N=1、文本条件视觉特征(k-1)和历史向量",
"()=(h(k)n-1,通过预测得分向量a(k)来构造用于轮h的子查询:",
"a(k) = softmar w() tanh (w(6)h()(s(k-1) o sn) +ba0) +ba)| , (1)",
"其中<NEXTHX_MALINE>X1。我们计算N注意力得分上的softmax",
"为了指导多轮推理,对单词注意力得分进行了显式正则化。直观上,每一轮",
"构造的子查询应该关注查询的不同元素,最后,查询中的大多数单词应该已经",
"被查看。因此,我们添加了两个正则化项:",
"Ldi =lATAO(-I)lF, Lcover =",
"i-min",
"2",
"3=1",
"其中矩阵A是预测的注意力得分矩阵A={a)1是1的矩阵,「是",
"单位矩阵。Ldiu避免了在多个回合中关注任何单词,从而增强了多样性。Leover",
"帮助模型查看查询中的所有单词,从而提高覆盖率",
"所采用的基于注意力的子查询学习技术与以前的组合推理研究有关E[16,46]",
"主要区别在于,我们的方法引用了文本条件视觉特征(K)来递归地构造每轮",
"中的子查询。相比之下,先前研究中的子查询学习[16,46]纯粹基于单词特征",
"[sn)n=1,并在视觉-文本融合之前生成所有子查询。"
] |
{
"arxiv_id": "2008.01059",
"language": "zh",
"page_idx": 3
}
|
||
2008.01059-zh-4
|
2008.01059-zh-4.jpg
|
5
# 3.2 Sub-query Modulation
在每一轮中,子查询基础学习者将一个子查询构造为一组由分数向量$\vec{\alpha}^{(k)}$参与
的单词,并生成子查询特征$q^{(k)}$作为
$$q^{(k)}=\sum_{n=1}^N\alpha_n^{(k)}s_n.$$
子查询调制的目标是在文本条件视觉特征$v^{(k-1)}$中更好地执行新的子查询特征
XMTHXMAX3,
受图像级任务E[7,10,31]的条件规范化的启发,我们对子查询表示$q^{(k)}$进行编码,以通过缩放和移位来调制先前的视觉文本表示$v^{(k-1)}$。具体来说,将$q^{(k)}$ 分别投影到具有两个 MLP 的缩放向量$\gamma^{(k)}$和移位向量$\beta^{(k)}$中:
$$\gamma^{(k)}=\tanh\left(W_{\gamma}^{(k)}q^{(k)}+b_{\gamma}^{(k)}\right),\quad\beta^{(k)}=\tanh\left(W_{\beta}^{(k)}q^{(k)}+b_{\beta}^{(k)}\right).$$
然后,使用两个调制向量和额外的可学习参数从$v^{(k-1)}$细化文本条件视觉特征$v^{(k)}:v^{(k-1)}$。$f_1$由一个$1\times1$卷积后跟一个实例规范化层组成。$f_2$由 3$\times3$卷积组成,然后是批处理归一化层和 ReLU 激活。接地模块将最后一轮$v^{(K)}$中的文本条件视觉特征作为输人,并预测边界框将被引用的对象接地。通过每个子查询$q^{(k)}$中的额外参考信息,我们期望每轮中的调制都能增强被参考对象的特征,同时抑制分散对象和背景的特征
我们在公式$\mathbb{E}??$中提出的子查询调制在所有空间位置$(i,j)$上共享调制向量$\gamma^{(k)},\beta^{(k)}$。一种直观的替代方法是预测每个空间位置的不同调制向量$\gamma^{(k)}(i,j),\beta^{(k)}(i,j)$ 。这可以通过使用相应的文本条件视觉功能$v^{(k-1)}(i,j)$为每个位置构造子查询$\vec{\alpha}^{(k)}(i,j)$来完成。尽管在不同的空间位置使用不同的调制参数似乎更直观,但我们表明沿通道维度的调制实现了相同的目标,同时在计算上也很有效$( cf.$“ 空 间 独 立 的 子 查 询 ” 和 “ 子 查 询 学 习 者 ( 我 们 的 ) ” 在 表 E3 中 )
## 3.3 Framework Details
视觉和文本功能编码器。我们将输入图像的大小调整为$3\times256\times256$,并使用在 COCO 对象检测$\boxed{\mathbb{E}[21]}$ 上预训练的 Darknet-53$\boxed{\mathbb{E}[34]}$ 作为视觉编码器。我们采用第 102 个卷积层的视觉特征,其维度为$32\times32\times256$ 。我们将原始视觉特征映射到具有批量归一化和 ReLU 的 1$\times1$卷积层的视觉输人$v^{(0)}$中。我们设置了共享维度$C=512$
我们将查询中的每个单词编码为具有 BERT$\mathbb{E}[8,43]$的无大小写基本版本的768$D$向量。我们将最后四层中每个单词的表示形式相加,并将特征与两个完全连接的层进行映射,以获得表示形式$S=\{s_n\}_{n=1}^N$。$N$是查询字数,不包括特殊标记,如[CLS]、[SEP]和
接地模块。接地模块将视觉文本特征$v^{(K)}$作为输入,并在每个空间位置生成对象预测以将目标接地。我们使用与单级 BERTE[47]中相同的两个 1$\times1$卷积层进行盒预测。有 32$\times32=1024$空间位置,我们预测每个位置的 9 锚箱。我们按照以前的一阶段接地方法 [47]中的锚选择步骤,使用相同的错盒。对于每个$1024\times9=9216$锚框,我们预测相对偏移和置信度得分。使用所有 9216 盒上的softmax 与单热目标中心向量之间的交叉熵损失,相对位置和大小偏移的回归损失以及公式$\color{red}{\mathrm{E2}}$ 中的正则化来训练模型。我们使用与单级 BERT [47]相同的分类和回归损失。
|
[
[
0.77392578125,
0.11871337890625,
0.7861328125,
0.11871337890625,
0.7861328125,
0.1287841796875,
0.77392578125,
0.1287841796875
],
[
0.2181396484375,
0.1483154296875,
0.450927734375,
0.1483154296875,
0.450927734375,
0.1622314453125,
0.2181396484375,
0.1622314453125
],
[
0.2197265625,
0.1685791015625,
0.78369140625,
0.1685791015625,
0.78369140625,
0.1817626953125,
0.2197265625,
0.1817626953125
],
[
0.2197265625,
0.184326171875,
0.484375,
0.184326171875,
0.484375,
0.1976318359375,
0.2197265625,
0.1976318359375
],
[
0.49267578125,
0.203857421875,
0.50732421875,
0.203857421875,
0.50732421875,
0.2139892578125,
0.49267578125,
0.2139892578125
],
[
0.441162109375,
0.2171630859375,
0.491943359375,
0.2171630859375,
0.491943359375,
0.2291259765625,
0.441162109375,
0.2291259765625
],
[
0.484375,
0.21533203125,
0.56640625,
0.21533203125,
0.56640625,
0.23291015625,
0.484375,
0.23291015625
],
[
0.48779296875,
0.2310791015625,
0.515625,
0.2310791015625,
0.515625,
0.24560546875,
0.48779296875,
0.24560546875
],
[
0.221435546875,
0.25244140625,
0.78369140625,
0.25244140625,
0.78369140625,
0.266357421875,
0.221435546875,
0.266357421875
],
[
0.2197265625,
0.267578125,
0.334228515625,
0.267578125,
0.334228515625,
0.281005859375,
0.2197265625,
0.281005859375
],
[
0.2442626953125,
0.2822265625,
0.78369140625,
0.2822265625,
0.78369140625,
0.296630859375,
0.2442626953125,
0.296630859375
],
[
0.2197265625,
0.294189453125,
0.78369140625,
0.294189453125,
0.78369140625,
0.3125,
0.2197265625,
0.3125
],
[
0.2181396484375,
0.3125,
0.67724609375,
0.311279296875,
0.67724609375,
0.32568359375,
0.2181396484375,
0.326904296875
],
[
0.275390625,
0.335205078125,
0.72216796875,
0.3359375,
0.72216796875,
0.354248046875,
0.275390625,
0.352783203125
],
[
0.2181396484375,
0.3623046875,
0.78515625,
0.3623046875,
0.78515625,
0.380126953125,
0.2181396484375,
0.380126953125
],
[
0.21728515625,
0.376953125,
0.78515625,
0.37890625,
0.78515625,
0.395751953125,
0.21728515625,
0.393310546875
],
[
0.2181396484375,
0.391357421875,
0.78515625,
0.392578125,
0.78515625,
0.410400390625,
0.2181396484375,
0.4091796875
],
[
0.2197265625,
0.410400390625,
0.78369140625,
0.4091796875,
0.78369140625,
0.423583984375,
0.2197265625,
0.4248046875
],
[
0.221435546875,
0.4248046875,
0.78515625,
0.4248046875,
0.78515625,
0.439453125,
0.221435546875,
0.439453125
],
[
0.2181396484375,
0.43994140625,
0.48046875,
0.44140625,
0.48046875,
0.455078125,
0.2181396484375,
0.453857421875
],
[
0.2418212890625,
0.455810546875,
0.78369140625,
0.455810546875,
0.78369140625,
0.4697265625,
0.2418212890625,
0.4697265625
],
[
0.2197265625,
0.46728515625,
0.78515625,
0.46728515625,
0.78515625,
0.48486328125,
0.2197265625,
0.48486328125
],
[
0.2197265625,
0.48486328125,
0.78369140625,
0.48486328125,
0.78369140625,
0.5,
0.2197265625,
0.5
],
[
0.2181396484375,
0.5,
0.78369140625,
0.50048828125,
0.78369140625,
0.51513671875,
0.2181396484375,
0.5146484375
],
[
0.2197265625,
0.5166015625,
0.78369140625,
0.5166015625,
0.78369140625,
0.52978515625,
0.2197265625,
0.52978515625
],
[
0.221435546875,
0.53076171875,
0.7861328125,
0.53076171875,
0.7861328125,
0.54443359375,
0.221435546875,
0.54443359375
],
[
0.2181396484375,
0.564453125,
0.420654296875,
0.564453125,
0.420654296875,
0.57763671875,
0.2181396484375,
0.57763671875
],
[
0.2197265625,
0.58544921875,
0.78369140625,
0.58544921875,
0.78369140625,
0.5986328125,
0.2197265625,
0.5986328125
],
[
0.2181396484375,
0.599609375,
0.78369140625,
0.60107421875,
0.78369140625,
0.6142578125,
0.2181396484375,
0.61279296875
],
[
0.2197265625,
0.61572265625,
0.78369140625,
0.61572265625,
0.78369140625,
0.62890625,
0.2197265625,
0.62890625
],
[
0.2181396484375,
0.62890625,
0.78515625,
0.6298828125,
0.78515625,
0.64453125,
0.2181396484375,
0.64306640625
],
[
0.221435546875,
0.646484375,
0.38232421875,
0.646484375,
0.38232421875,
0.6572265625,
0.221435546875,
0.6572265625
],
[
0.2442626953125,
0.6611328125,
0.78125,
0.6611328125,
0.78125,
0.671875,
0.2442626953125,
0.671875
],
[
0.2181396484375,
0.6748046875,
0.78369140625,
0.67529296875,
0.78369140625,
0.689453125,
0.2181396484375,
0.68798828125
],
[
0.221435546875,
0.69140625,
0.78515625,
0.69140625,
0.78515625,
0.705078125,
0.221435546875,
0.705078125
],
[
0.2197265625,
0.70556640625,
0.4794921875,
0.70556640625,
0.4794921875,
0.7197265625,
0.2197265625,
0.7197265625
],
[
0.2181396484375,
0.71826171875,
0.78369140625,
0.7197265625,
0.78369140625,
0.734375,
0.2181396484375,
0.73291015625
],
[
0.221435546875,
0.7373046875,
0.78173828125,
0.7373046875,
0.78173828125,
0.74755859375,
0.221435546875,
0.74755859375
],
[
0.2197265625,
0.751953125,
0.78369140625,
0.751953125,
0.78369140625,
0.76513671875,
0.2197265625,
0.76513671875
],
[
0.2197265625,
0.7666015625,
0.78173828125,
0.7666015625,
0.78173828125,
0.77978515625,
0.2197265625,
0.77978515625
],
[
0.2197265625,
0.78076171875,
0.78369140625,
0.78076171875,
0.78369140625,
0.79443359375,
0.2197265625,
0.79443359375
],
[
0.2197265625,
0.796875,
0.78369140625,
0.796875,
0.78369140625,
0.81005859375,
0.2197265625,
0.81005859375
],
[
0.221435546875,
0.81103515625,
0.78369140625,
0.81103515625,
0.78369140625,
0.82470703125,
0.221435546875,
0.82470703125
],
[
0.2181396484375,
0.8271484375,
0.325927734375,
0.8271484375,
0.325927734375,
0.84033203125,
0.2181396484375,
0.84033203125
]
] |
[
"5",
"3.2Sub-query Modulation",
"在每一轮中,子查询基础学习者将一个子查询构造为一组由分数向量()参与",
"的单词,并生成子查询特征q(k)作为",
"N",
"q(k)=",
"La(k)sn.",
"n=1",
"子查询调制的目标是在文本条件视觉特征(k-1)中更好地执行新的子查询特征",
"XMTHXMAX3",
"受图像级任务[7,10,31]的条件规范化的启发,我们对子查询表示q)进行",
"编码,以通过缩放和移位来调制先前的视觉文本表示u(k-1)。具体来说,将q()",
"分别投影到具有两个MLP的缩放向量()和移位向量β(k)中:",
"(k) = tanh (W(k)g(k) +b(k)), β(k) = tanh (wk)g(k) +bg)",
"然后,使用两个调制向量和额外的可学习参数从(h-1)细化文本条件视觉特征",
"(k):(k-1)。f1由一个1×1卷积后跟一个实例规范化层组成。f2由3×3卷",
"积组成,然后是批处理归一化层和ReLU激活。接地模块将最后一轮(K)中的",
"文本条件视觉特征作为输入,并预测边界框将被引用的对象接地。通过每个子",
"查询q(k)中的额外参考信息,我们期望每轮中的调制都能增强被参考对象的特",
"征,同时抑制分散对象和背景的特征",
"我们在公式E??中提出的子查询调制在所有空间位置(i,)上共享调制",
"向量(),β()。一种直观的替代方法是预测每个空间位置的不同调制向量",
"()(i,j),β(h)(i,)。这可以通过使用相应的文本条件视觉功能(k-1)(i,)为每",
"个位置构造子查询α()(i,)来完成。尽管在不同的空间位置使用不同的调制参",
"数似乎更直观,但我们表明沿通道维度的调制实现了相同的目标,同时在计算上",
"也很有效(cf.“空间独立的子查询”和“子查询学习者(我们的)”在表E3中)",
"3.3Framework Details",
"视觉和文本功能编码器。我们将输入图像的大小调整为3×256×256,并使用",
"在COCO对象检测E[21]上预训练的Darknet-53E[34]作为视觉编码器。我们",
"采用第102个卷积层的视觉特征,其维度为32×32×256。我们将原始视觉特",
"征映射到具有批量归一化和ReLU的1×1卷积层的视觉输入u(O)中。我们设",
"置了共享维度C=512",
"我们将查询中的每个单词编码为具有BERTF[8.431的无大小写基本版本的",
"768D向量。我们将最后四层中每个单词的表示形式相加,并将特征与两个完全",
"连接的层进行映射,以获得表示形式S=【sn)n=1。N是查询字数,不包括特",
"殊标记,如[CLS]、[SEP]和[PAD]",
"接地模块。接地模块将视觉文本特征(K)作为输入,并在每个空间位置生成对",
"象预测以将自标接地。我们使用与单级BERTE47中相同的两个1×1卷积层",
"进行盒预测。有32×32=1024空间位置,我们预测每个位置的9锚箱。我们",
"按照以前的一阶段接地方法【47]中的锚选择步骤,使用相同的锚盒。对于每个",
"1024×9=9216锚框,我们预测相对偏移和置信度得分。使用所有9216盒上的",
"softmax与单热目标中心向量之间的交叉摘损失,相对位置和大小偏移的回归损",
"失以及公式E2中的正则化来训练模型。我们使用与单级BERT【47]相同的分",
"类和回归损失。"
] |
{
"arxiv_id": "2008.01059",
"language": "zh",
"page_idx": 4
}
|
||
1709.01140-zh-0
|
1709.01140-zh-0.jpg
|
A Multilayer-Based Framework for Online Background Subtraction
with Freely Moving Cameras
${\mathrm{Ahmed~Elgammal}}$
Yizhe Zhu
Department of Computer Science, Rutgers University, Piscataway, NJ 08854
yizhe.zhu@rutgers.edu
elgammal@cs.rutgers.edu
Abstract
The exponentially increasing use of moving platforms for video capture introduces the urgent need to develop the general background subtraction algorithms with the capability to deal with the moving background. In this paper, we propose a multilayerbased framework for online background subtraction for videos captured by moving cameras. Unlike the previous treatments of the problem, the proposed method is not restricted to binary segmentation of background and foreground, but formulates it as a multi-label segmentation problem by modeling multiple foreground objects in different layers when they appear simultaneously in the scene. We assign an independent processing layer to each foreground object, as well as the background, where both motion and appearance models are estimated, and a probability map is inferred using a Bayesian filtering framework. Finally, Multi-label Graph-cut on Markov Random Field is employed to perform pixel-wise labeling. Extensive evaluation results show that the proposed method outperforms state-of-the-art methods on challenging video sequences.
的此类视频。移动平台在视频捕获中的使用呈指数级增长,这对开发通用背景减除算法提出了很高的要求这些算法不仅与传统背景减除一样有效,而且适用于移动摄像机视频。与大多数视频分割方法类似,一些作品[26,5]诉诸于离线处理整个视频。离线方法通常可以在短序列上产生良好的结果,因为后一帧中的信息可以显着有益于前一帧中的分割。但是,由于它需要存储和处理整个视频上的信息,因此随着要处理的帧数的增加,内存和计算成本呈指数级增长$\mathbb{E}[7]$ 此外,在各种情况下,如视频监控和安全监控,视频需要分析, 因为他们正在实时流,在一个有效的在线背景减法的方法是非常需要
以在线方式处理长序列的关键是学习和维护背景和前景层的模型。这样的模型在大量帧上积累和更新证据,并为高级视觉任务提供有价值的知识基础。最近, 已经提出了一些具有移动摄像机的在线背景减除方法[31,20,9,22,41]。大多数方法将其表述为二进制分割问题,假设只有一个前景对象,当场景中出现多个移动对象时,自然会导致分割不良。特别是在对象相互交叉的情况下,对象的运动估计会遭受很大的混乱,这进一步降低了背景减法的性能
为了弥补这一缺点,我们提出了一种通用的基于多层的框架,该框架具有处理场景中多个前景对象的能力。可以根据运动不一致性自动检测对象,并为每个前景对象以及背景分配一个独立的处理层。在每一层中, 我们希望在“处理块”内部同时执行相同的过程,该过程将累积的信息和每一层的新证据作为输入,并输出指示属于每一层的像素的置信度的概率图。在本文中, 我们精心设计了这样一个“处理块”,其三个步骤如下。( A) 首先基于高斯置信传播[1]进行运动模型估计,以相应轨迹的运动矢量为证据。(b) 通过用估计的运动模型传播前一个模型来预测外观模型和先验概率。(C) 给定当前帧作为新的证据,采用核密度估计[8]来推断概率图作为输出。最后,基于每个“处理块”产生的概率图的集合,通过多标签 Graph-cut 生成当前帧的像素级分割
此外,由于它是在移动相机场景中解决多标签背景减除问题的第一项工作,据我们所知,我们还设计了一种方法来评估性能,并显示我们的方法优于最先进的方法
## 1. Introduction
感兴趣区域的识别通常是各种高级计算机视觉应用的关键预处理步骤,包括事件检测,视频监控等,人体运动。背景减法是一种广泛使用的技术,用于对背景场景中的前景区域进行逐像素分割。与前景对象检测算法不同,背景减除方法通常会产生更准确的前景区域分割,而不仅仅是检测边界框,而无需训练单个对象检测器。大量的各种传统的背景减除方法和算法已经被提出[34,8,21,32,12,28] 。这些方法大多集中在假设摄像机是静止的情况下对背景进行建模。但是,越来越多的视频是从移动平台上捕获的,例如照相手机,以及安装在地面车辆,机器人,ariel 无人机等上的摄像机。传统的背景减除算法不再适用于从非固定平台 [7]捕获
4321
|
[
[
0.148681640625,
0.1351318359375,
0.8203125,
0.1351318359375,
0.8203125,
0.149658203125,
0.148681640625,
0.149658203125
],
[
0.338134765625,
0.1558837890625,
0.63134765625,
0.1572265625,
0.63134765625,
0.1749267578125,
0.338134765625,
0.173583984375
],
[
0.265625,
0.203857421875,
0.35302734375,
0.205810546875,
0.35302734375,
0.2203369140625,
0.265625,
0.2183837890625
],
[
0.5556640625,
0.205810546875,
0.705078125,
0.205810546875,
0.705078125,
0.2203369140625,
0.5556640625,
0.2203369140625
],
[
0.1650390625,
0.2235107421875,
0.8056640625,
0.2235107421875,
0.8056640625,
0.238037109375,
0.1650390625,
0.238037109375
],
[
0.26708984375,
0.24365234375,
0.4150390625,
0.24365234375,
0.4150390625,
0.2568359375,
0.26708984375,
0.2568359375
],
[
0.53515625,
0.242431640625,
0.705078125,
0.2412109375,
0.705078125,
0.255615234375,
0.53515625,
0.2568359375
],
[
0.238525390625,
0.29345703125,
0.31201171875,
0.29345703125,
0.31201171875,
0.30810546875,
0.238525390625,
0.30810546875
],
[
0.5048828125,
0.294189453125,
0.890625,
0.294189453125,
0.890625,
0.30810546875,
0.5048828125,
0.30810546875
],
[
0.50341796875,
0.31005859375,
0.890625,
0.31005859375,
0.890625,
0.323974609375,
0.50341796875,
0.323974609375
],
[
0.1004638671875,
0.326904296875,
0.46728515625,
0.326904296875,
0.46728515625,
0.34033203125,
0.1004638671875,
0.34033203125
],
[
0.50341796875,
0.324462890625,
0.890625,
0.324462890625,
0.890625,
0.33837890625,
0.50341796875,
0.33837890625
],
[
0.08087158203125,
0.34228515625,
0.468017578125,
0.34228515625,
0.468017578125,
0.35595703125,
0.08087158203125,
0.35595703125
],
[
0.5048828125,
0.341552734375,
0.890625,
0.341552734375,
0.890625,
0.3515625,
0.5048828125,
0.3515625
],
[
0.08087158203125,
0.359130859375,
0.464111328125,
0.359130859375,
0.464111328125,
0.369384765625,
0.08087158203125,
0.369384765625
],
[
0.5048828125,
0.354736328125,
0.8896484375,
0.354736328125,
0.8896484375,
0.36865234375,
0.5048828125,
0.36865234375
],
[
0.080078125,
0.37060546875,
0.468017578125,
0.37255859375,
0.468017578125,
0.386962890625,
0.080078125,
0.385009765625
],
[
0.50244140625,
0.369384765625,
0.890625,
0.37060546875,
0.890625,
0.3837890625,
0.50244140625,
0.38330078125
],
[
0.07843017578125,
0.386474609375,
0.46728515625,
0.386962890625,
0.46728515625,
0.401611328125,
0.07843017578125,
0.40087890625
],
[
0.50341796875,
0.3837890625,
0.890625,
0.385009765625,
0.890625,
0.3984375,
0.50341796875,
0.397705078125
],
[
0.080078125,
0.40283203125,
0.468017578125,
0.40283203125,
0.468017578125,
0.416748046875,
0.080078125,
0.416748046875
],
[
0.5048828125,
0.40087890625,
0.890625,
0.40087890625,
0.890625,
0.4140625,
0.5048828125,
0.4140625
],
[
0.08251953125,
0.419189453125,
0.465576171875,
0.419189453125,
0.465576171875,
0.429931640625,
0.08251953125,
0.429931640625
],
[
0.50341796875,
0.416748046875,
0.89208984375,
0.416748046875,
0.89208984375,
0.429931640625,
0.50341796875,
0.429931640625
],
[
0.08251953125,
0.43310546875,
0.468017578125,
0.43310546875,
0.468017578125,
0.4462890625,
0.08251953125,
0.4462890625
],
[
0.50341796875,
0.43115234375,
0.890625,
0.43115234375,
0.890625,
0.4443359375,
0.50341796875,
0.4443359375
],
[
0.07843017578125,
0.447509765625,
0.468017578125,
0.4462890625,
0.468017578125,
0.4609375,
0.07843017578125,
0.462158203125
],
[
0.5048828125,
0.44580078125,
0.89208984375,
0.44580078125,
0.89208984375,
0.458984375,
0.5048828125,
0.458984375
],
[
0.080078125,
0.462158203125,
0.46728515625,
0.46337890625,
0.46728515625,
0.477783203125,
0.080078125,
0.4765625
],
[
0.5048828125,
0.462158203125,
0.61767578125,
0.462158203125,
0.61767578125,
0.472900390625,
0.5048828125,
0.472900390625
],
[
0.08087158203125,
0.477783203125,
0.468017578125,
0.477783203125,
0.468017578125,
0.4912109375,
0.08087158203125,
0.4912109375
],
[
0.52392578125,
0.4765625,
0.890625,
0.4765625,
0.890625,
0.490478515625,
0.52392578125,
0.490478515625
],
[
0.080078125,
0.4912109375,
0.46728515625,
0.492431640625,
0.46728515625,
0.5068359375,
0.080078125,
0.505859375
],
[
0.50341796875,
0.492431640625,
0.89208984375,
0.492431640625,
0.89208984375,
0.505859375,
0.50341796875,
0.505859375
],
[
0.08087158203125,
0.50830078125,
0.46728515625,
0.50830078125,
0.46728515625,
0.521484375,
0.08087158203125,
0.521484375
],
[
0.5048828125,
0.5087890625,
0.88623046875,
0.5087890625,
0.88623046875,
0.51953125,
0.5048828125,
0.51953125
],
[
0.08087158203125,
0.5234375,
0.468017578125,
0.5234375,
0.468017578125,
0.537109375,
0.08087158203125,
0.537109375
],
[
0.5048828125,
0.52294921875,
0.890625,
0.52294921875,
0.890625,
0.5361328125,
0.5048828125,
0.5361328125
],
[
0.080078125,
0.537109375,
0.468017578125,
0.53857421875,
0.468017578125,
0.55322265625,
0.080078125,
0.5517578125
],
[
0.5048828125,
0.537109375,
0.890625,
0.537109375,
0.890625,
0.55029296875,
0.5048828125,
0.55029296875
],
[
0.08416748046875,
0.5546875,
0.465576171875,
0.5546875,
0.465576171875,
0.56494140625,
0.08416748046875,
0.56494140625
],
[
0.5048828125,
0.55322265625,
0.8896484375,
0.55322265625,
0.8896484375,
0.56640625,
0.5048828125,
0.56640625
],
[
0.080078125,
0.568359375,
0.468017578125,
0.568359375,
0.468017578125,
0.58203125,
0.080078125,
0.58203125
],
[
0.50341796875,
0.568359375,
0.890625,
0.568359375,
0.890625,
0.58203125,
0.50341796875,
0.58203125
],
[
0.08087158203125,
0.583984375,
0.46728515625,
0.583984375,
0.46728515625,
0.59765625,
0.08087158203125,
0.59765625
],
[
0.50341796875,
0.58349609375,
0.87744140625,
0.58349609375,
0.87744140625,
0.5966796875,
0.50341796875,
0.5966796875
],
[
0.87353515625,
0.5869140625,
0.87841796875,
0.5869140625,
0.87841796875,
0.59228515625,
0.87353515625,
0.59228515625
],
[
0.08251953125,
0.60107421875,
0.465576171875,
0.60107421875,
0.465576171875,
0.611328125,
0.08251953125,
0.611328125
],
[
0.50244140625,
0.5986328125,
0.68115234375,
0.5986328125,
0.68115234375,
0.609375,
0.50244140625,
0.609375
],
[
0.08087158203125,
0.6142578125,
0.46728515625,
0.6142578125,
0.46728515625,
0.62890625,
0.08087158203125,
0.62890625
],
[
0.52392578125,
0.6142578125,
0.890625,
0.6142578125,
0.890625,
0.62744140625,
0.52392578125,
0.62744140625
],
[
0.080078125,
0.6298828125,
0.46728515625,
0.6298828125,
0.46728515625,
0.64306640625,
0.080078125,
0.64306640625
],
[
0.50341796875,
0.62890625,
0.890625,
0.62890625,
0.890625,
0.642578125,
0.50341796875,
0.642578125
],
[
0.08087158203125,
0.646484375,
0.1396484375,
0.646484375,
0.1396484375,
0.6572265625,
0.08087158203125,
0.6572265625
],
[
0.5048828125,
0.64453125,
0.890625,
0.64453125,
0.890625,
0.65771484375,
0.5048828125,
0.65771484375
],
[
0.5048828125,
0.66015625,
0.88818359375,
0.66015625,
0.88818359375,
0.673828125,
0.5048828125,
0.673828125
],
[
0.5048828125,
0.6748046875,
0.890625,
0.6748046875,
0.890625,
0.68798828125,
0.5048828125,
0.68798828125
],
[
0.0767822265625,
0.693359375,
0.2156982421875,
0.6943359375,
0.2156982421875,
0.708984375,
0.0767822265625,
0.70849609375
],
[
0.50244140625,
0.68798828125,
0.890625,
0.68994140625,
0.890625,
0.7041015625,
0.50244140625,
0.7021484375
],
[
0.5048828125,
0.705078125,
0.89208984375,
0.705078125,
0.89208984375,
0.71826171875,
0.5048828125,
0.71826171875
],
[
0.10296630859375,
0.72265625,
0.465576171875,
0.72265625,
0.465576171875,
0.73291015625,
0.10296630859375,
0.73291015625
],
[
0.50341796875,
0.7197265625,
0.890625,
0.71826171875,
0.890625,
0.73291015625,
0.50341796875,
0.734375
],
[
0.08251953125,
0.73779296875,
0.46728515625,
0.73779296875,
0.46728515625,
0.74853515625,
0.08251953125,
0.74853515625
],
[
0.50341796875,
0.73486328125,
0.890625,
0.73486328125,
0.890625,
0.74853515625,
0.50341796875,
0.74853515625
],
[
0.08087158203125,
0.751953125,
0.46728515625,
0.751953125,
0.46728515625,
0.76513671875,
0.08087158203125,
0.76513671875
],
[
0.50244140625,
0.75,
0.8896484375,
0.75,
0.8896484375,
0.76318359375,
0.50244140625,
0.76318359375
],
[
0.08251953125,
0.767578125,
0.46728515625,
0.767578125,
0.46728515625,
0.78076171875,
0.08251953125,
0.78076171875
],
[
0.5048828125,
0.767578125,
0.8896484375,
0.767578125,
0.8896484375,
0.77783203125,
0.5048828125,
0.77783203125
],
[
0.08087158203125,
0.7822265625,
0.468017578125,
0.7822265625,
0.468017578125,
0.79541015625,
0.08087158203125,
0.79541015625
],
[
0.50341796875,
0.78076171875,
0.89208984375,
0.78076171875,
0.89208984375,
0.79443359375,
0.50341796875,
0.79443359375
],
[
0.08416748046875,
0.798828125,
0.46728515625,
0.798828125,
0.46728515625,
0.8095703125,
0.08416748046875,
0.8095703125
],
[
0.50341796875,
0.79443359375,
0.89208984375,
0.79443359375,
0.89208984375,
0.80810546875,
0.50341796875,
0.80810546875
],
[
0.08251953125,
0.81298828125,
0.46728515625,
0.81298828125,
0.46728515625,
0.82373046875,
0.08251953125,
0.82373046875
],
[
0.5048828125,
0.81005859375,
0.890625,
0.81005859375,
0.890625,
0.82373046875,
0.5048828125,
0.82373046875
],
[
0.08087158203125,
0.8271484375,
0.468017578125,
0.8271484375,
0.468017578125,
0.84033203125,
0.08087158203125,
0.84033203125
],
[
0.50341796875,
0.8271484375,
0.5537109375,
0.8271484375,
0.5537109375,
0.83837890625,
0.50341796875,
0.83837890625
],
[
0.08087158203125,
0.84228515625,
0.468017578125,
0.84228515625,
0.468017578125,
0.85595703125,
0.08087158203125,
0.85595703125
],
[
0.52294921875,
0.84033203125,
0.890625,
0.84130859375,
0.890625,
0.85595703125,
0.52294921875,
0.85498046875
],
[
0.08251953125,
0.859375,
0.46728515625,
0.859375,
0.46728515625,
0.869140625,
0.08251953125,
0.869140625
],
[
0.5048828125,
0.85693359375,
0.8759765625,
0.85693359375,
0.8759765625,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08087158203125,
0.87255859375,
0.46728515625,
0.87255859375,
0.46728515625,
0.88623046875,
0.08087158203125,
0.88623046875
],
[
0.50341796875,
0.87255859375,
0.890625,
0.87255859375,
0.890625,
0.88623046875,
0.50341796875,
0.88623046875
],
[
0.08416748046875,
0.8896484375,
0.46728515625,
0.8896484375,
0.46728515625,
0.8994140625,
0.08416748046875,
0.8994140625
],
[
0.50341796875,
0.88818359375,
0.53759765625,
0.88818359375,
0.53759765625,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.468017578125,
0.92529296875,
0.50244140625,
0.92529296875,
0.50244140625,
0.93798828125,
0.468017578125,
0.93798828125
]
] |
[
"A Multilayer-Based Framework for Online Background Subtraction",
"with Freely Moving Cameras",
"Yizhe Zhu",
"Ahmed Elgammal",
"Department of Computer Science, Rutgers University, Piscataway, NJ 08854",
"yizhe.zhu@rutgers.edu",
"elgammal@cs.rutgers.edu",
"Abstract",
"的此类视频。移动平台在视频捕获中的使用呈指数级",
"增长,这对开发通用背景减除算法提出了很高的要求,",
"The exponentially increasing use of moving plat-",
"这些算法不仅与传统背景减除一样有效,而且适用于",
"forms for video capture introduces the urgent need",
"移动摄像机视频。与大多数视频分割方法类似,一些作",
"todevelopthegeneral background subtraction algo",
"品[26,5]诉诸于离线处理整个视频。离线方法通常可",
"rithms with the capability to deal with the moving",
"以在短序列上产生良好的结果,因为后一顿中的信息",
"background. In this paper, we propose a multilayer-",
"可以显着有益于前一顿中的分割。但是,由于它需要存",
"based framework for online background subtraction for",
"储和处理整个视频上的信息,因此随着要处理的顿数",
"videos captured bymoving cameras.Unlike the previ",
"的增加,内存和计算成本呈指数级增长E[7]此外,在",
"ous treatments of the problem, the proposed method",
"各种情况下,如视频监控和安全监控,视频需要分析",
"is not restricted to binary segmentation of background",
"因为他们正在实时流,在一个有效的在线背景减法的",
"and foreground, but formulates it as a multi-label seg-",
"方法是非常需要",
"mentation problem by modeling multiple foreground",
"以在线方式处理长序列的关键是学习和维护背景和",
"objects in different layers when they appear simul-",
"前景层的模型。这样的模型在大量顿上积累和更新证",
"taneously in the scene.We assign an independent",
"据,并为高级视觉任务提供有价值的知识基础。最近",
"processing layer to each foreground object, as well as",
"已经提出了一些具有移动摄像机的在线背景减除方法",
"the background, where both motion and appearance",
"[31,20,9,22,41]。大多数方法将其表述为二进制分割",
"models are estimated, and a probability map is in-",
"问题,假设只有一个前景对象,当场景中出现多个移动",
"ferred using a Bayesian filtering framework. Finally,",
"对象时,自然会导致分割不良。特别是在对象相互交叉",
"Multi-label Graph-cut on Markov Random Field is em-",
"的情况下,对象的运动估计会遭受很大的混乱,这进",
"-",
"ployedtoperformpixel-wiselabeling.Extensiveeval-",
"步降低了背景减法的性能",
"uation results show that the proposed method outper-",
"为了弥补这一缺点,我们提出了一种通用的基于多",
"forms state-of-the-art methods on challenging video se-",
"层的框架,该框架具有处理场景中多个前景对象的能",
"quences.",
"力。可以根据运动不一致性自动检测对象,并为每个前",
"景对象以及背景分配一个独立的处理层。在每一层中",
"我们希望在“处理块”内部同时执行相同的过程,该过",
"1.Introduction",
"程将累积的信息和每一层的新证据作为输入,并输出",
"指示属于每一层的像素的置信度的概率图。在本文中,",
"感兴趣区域的识别通常是各种高级计算机视觉应用",
"我们精心设计了这样一个“处理块”,其三个步骤如下。",
"的关键预处理步骤,包括事件检测,视频监控等,人体",
"(A)首先基于高斯置信传播[1]进行运动模型估计,以",
"运动。背景减法是一种广泛使用的技术,用于对背景场",
"相应轨迹的运动矢量为证据。(b)通过用估计的运动模",
"景中的前景区域进行逐像素分割。与前景对象检测算",
"型传播前一个模型来预测外观模型和先验概率。(C)给",
"法不同,背景减除方法通常会产生更准确的前景区域",
"定当前帧作为新的证据,采用核密度估计[8]来推断概",
"分割,而不仅仅是检测边界框,而无需训练单个对象检",
"率图作为输出。最后,基于每个“处理块”产生的概率",
"测器。大量的各种传统的背景减除方法和算法已经被",
"图的集合,通过多标签Graph-cut生成当前顿的像素",
"提出[34,8,21,32,12,28]。这些方法大多集中在假设",
"级分割",
"摄像机是静止的情况下对背景进行建模。但是,越来越",
"此外,由于它是在移动相机场景中解决多标签背景",
"多的视频是从移动平台上捕获的,例如照相手机,以及",
"减除问题的第一项工作,据我们所知,我们还设计了",
"安装在地面车辆,机器人,ariel无人机等上的摄像机。",
"种方法来评估性能,并显示我们的方法优于最先进的",
"传统的背景减除算法不再适用于从非固定平台7捕获",
"方法",
"4321"
] |
{
"arxiv_id": "1709.01140",
"language": "zh",
"page_idx": 0
}
|
||
1709.01140-zh-1
|
1709.01140-zh-1.jpg
|
<FigureHere>
Figure 1: The framework of our proposed approach
# 2. Related Work
运动估计和补偿:自由移动的相机在投影的背景场景中引人了运动,从而使背景减除问题变得复杂。解决这个问题的一个直观的想法是补偿相机的运动。一些开创性的作品求助于估计单应性[13],该单应性表征了连续帧之间背景场景的几何变换。通常,RANSAC [11]及其变体 MLESAC [36] 用于使用许多特征点匹配来实现鲁棒估计。Jin et al.[15] 将场景建模为一组平面区域,其中假定每个背景像素属于这些区域之一。同构关系用于将每个区域校正为模型中相应的平面表示。Zamalieva et al. [41] 利用几何信息开发多个转换模型, 并选择一个最能描述连续帧之间关系的模型
最近,运动估计已被广泛用于全面指定每个像素[25, 2, 20, 22]的运动。这些作品[20, 22]使用光流作为证据。Kwak et al.[20] 将图像以网格模式分为小块, 并采用非参数置信传播根据每个块的平均光流来估计运动场。其后续工作[22]通过用超像素替换块作为模型单元来提高运动估计的质量。另一方面,在[25,2] 中,声称光流方向与场景中的对象深度无关,并用于对具有相似现实世界运动的像素进行聚类,而与它们在场景中的深度无关。然而,对光流的高度依赖性使得这些方法在估计光流时容易受到噪声的影响。相反,我们的方法通过使用稀疏特征点的运动矢量作为更稳健的证据,采用高斯置信传播[1]来改进运动模型估计
外观建模:传统上,已经提出了背景场景的统计表示来估计空间可扩展的背景模型。Hayman et al.[14] 构建了混合高斯马赛克背景模型。任 et al.[29] 使用运动补偿来预测背景图中每个像素的位置,并通过空间高斯分布对该预测的不确定性进行建模。与传统混合高斯背景模型相关的图像马赛克的构建也被认为在[23,30] 中是有效的。然而,这种参数模型所需的超参数限制了其适应性和应用。相反,我们采用非参数 Kernal 密度估计方法[8]来建立前景和背景区域的外观模型,使我们的方法更加稳定和适用
分层表示:分层表示是指将场景建模为一组移动层的方法,已用于前景检测[27,16],运动分割[39,37,19] 。在[27] 中,背景被建模为非参数层模型的联合,以便于在静态或动态背景下检测前景。Kim et al.[16] 提出了一种分层背景模型,其中除了使用多个短期背景模型外,还使用了一个长期背景模型。王 et al.[39] 采用迭代方法实现分层运动分割。Torr et al.[37] 将图层建模为 3D 平面,并在贝叶斯框架中集成先验。[19] 对空间连续性进行建模,同时将每个层表示为由一组段组成。这些分层模型的一个共同主题是假设视频事先可用[7]。这种假设阻止了使用这种方法来处理来自流媒体源的视频。一些动态纹理方法[3,4,24]也采用分层模型来处理复杂的动态背景,但使用固定的相机。据我们所知,所提出的方法是第一个应用于移动摄像机场景的分层模型
本文的组织如下。我们提出的框架的概述在 3 节中介绍。4 节描述了轨迹标记。“处理块”内部的组件在5$\&6 节中进行了描述,最终的逐像素多标记在 7 节中$
进行了介绍。最后,8节说明了基于两个标准的定量和
定性实验结果
# 3. Framework Overview
建议的框架如图 1 所示。首先,我们采用 [35] 中提出的特征点跟踪方法来生成特征轨迹。然后根据运动不一致性将生成的轨迹聚类到不同的层中,并使用动态标签传播[42]在帧上连续传播轨迹的标签。将每个轨迹簇分配给相应的层,并根据出现在每个帧中的前景对象的层数来调整层数
每一层都有一个独立的“处理块”,它产生一个后验概率图。令$k$和$t$分别表示层和帧的索引。在“处理块”内部,我们有两个输入源:外观模型$\mathcal{A}_t-1^k$和从上一帧产生的标签$P(\mathcal{L}_t-1^k)$ 的先验概率图,以及一组相应的稀疏轨迹$\mathcal{P}_t^k$ 。第一步是使用高斯置信传播以相应轨迹的运动矢量为证据来推断每层中的运动模型。然后,通过根据估计的运动模型$\mathcal{M}_t^k$移动先前的外观模型$\mathcal{A}_t-1^k$来获得新的外观模型$\mathcal{A}_t^k$,并且可以以相同的方式从前一个中推断出新的先验概率图$P_prior(\mathcal{L}_t^k|\mathcal{P}_t^k)$
给定当前帧$\mathcal{I}_t$作为新的观察值,似然性$P(\mathcal{I}_t|\mathcal{L}_t^k)$ 由 Kernal 密度估计 (KDE) [8] 使用每层中的传播外观模型进行估计。然后将每个层的后验概率图推断为
$$P_{post}(\mathcal{L}_{t}^{k}|\mathcal{I}_{t},\mathcal{P}_{t}^{k})=\frac{1}{Z}P(\mathcal{I}_{t}|\mathcal{L}_{t}^{k})P_{prior}(\mathcal{L}_{t}^{k}|\mathcal{P}_{t}^{k}),$$
,其中$Z=\sum_kP_{post}(\mathcal{L}_t^k|\mathcal{I}_t,\mathcal{P}_t^k)$是分区函数。通过收集来自每个层的后验概率图,我们通过以最小切割能量优化多标签图上的切割来实现最终的逐像素标记。在整个过程结束时,将使用当前框架和标签更新外观模型。在以下各节中,我们将详细描述流程步骤
4. Trajectory Labeling and Propagation
我们采用的特征点跟踪方法$\mathbb{E}[35]$ 在特征轨迹生成方面取得了良好的性能。为了对轨迹进行聚类,几种运动分割方法[26,40]提供了很好的解决方案,但是当视频不满足仿射相机模型的假设时,可能会失败。为了摆脱这种假设,Elqursh et al. [10]提出的一种在线方法
|
[
[
0.07843017578125,
0.091552734375,
0.2279052734375,
0.09027099609375,
0.2279052734375,
0.10479736328125,
0.07843017578125,
0.1060791015625
],
[
0.5048828125,
0.10101318359375,
0.5458984375,
0.10101318359375,
0.5458984375,
0.111083984375,
0.5048828125,
0.111083984375
],
[
0.08087158203125,
0.11871337890625,
0.468017578125,
0.11871337890625,
0.468017578125,
0.1319580078125,
0.08087158203125,
0.1319580078125
],
[
0.63818359375,
0.1142578125,
0.65869140625,
0.1142578125,
0.65869140625,
0.11871337890625,
0.63818359375,
0.11871337890625
],
[
0.7099609375,
0.12060546875,
0.73876953125,
0.12060546875,
0.73876953125,
0.125,
0.7099609375,
0.125
],
[
0.8056640625,
0.12060546875,
0.85107421875,
0.12060546875,
0.85107421875,
0.1307373046875,
0.8056640625,
0.1307373046875
],
[
0.64794921875,
0.12371826171875,
0.66650390625,
0.12371826171875,
0.66650390625,
0.126953125,
0.64794921875,
0.126953125
],
[
0.53369140625,
0.12371826171875,
0.560546875,
0.12371826171875,
0.560546875,
0.1307373046875,
0.53369140625,
0.1307373046875
],
[
0.865234375,
0.12371826171875,
0.8857421875,
0.12371826171875,
0.8857421875,
0.1275634765625,
0.865234375,
0.1275634765625
],
[
0.08251953125,
0.1319580078125,
0.46728515625,
0.1337890625,
0.46728515625,
0.147705078125,
0.08251953125,
0.1458740234375
],
[
0.71142578125,
0.1307373046875,
0.72802734375,
0.1307373046875,
0.72802734375,
0.1337890625,
0.71142578125,
0.1337890625
],
[
0.53173828125,
0.136962890625,
0.54345703125,
0.136962890625,
0.54345703125,
0.141357421875,
0.53173828125,
0.141357421875
],
[
0.080078125,
0.147705078125,
0.46728515625,
0.146484375,
0.46728515625,
0.160400390625,
0.080078125,
0.1610107421875
],
[
0.5048828125,
0.146484375,
0.5390625,
0.146484375,
0.5390625,
0.1558837890625,
0.5048828125,
0.1558837890625
],
[
0.646484375,
0.1546630859375,
0.6611328125,
0.1546630859375,
0.6611328125,
0.1578369140625,
0.646484375,
0.1578369140625
],
[
0.08251953125,
0.1634521484375,
0.46728515625,
0.1634521484375,
0.46728515625,
0.1767578125,
0.08251953125,
0.1767578125
],
[
0.08251953125,
0.177978515625,
0.46728515625,
0.1767578125,
0.46728515625,
0.1912841796875,
0.08251953125,
0.1925048828125
],
[
0.65625,
0.17236328125,
0.66845703125,
0.175537109375,
0.66650390625,
0.1787109375,
0.654296875,
0.1767578125
],
[
0.08087158203125,
0.1932373046875,
0.468017578125,
0.1932373046875,
0.468017578125,
0.20703125,
0.08087158203125,
0.20703125
],
[
0.08251953125,
0.208984375,
0.46728515625,
0.208984375,
0.46728515625,
0.222900390625,
0.08251953125,
0.222900390625
],
[
0.52392578125,
0.205810546875,
0.56884765625,
0.2052001953125,
0.56884765625,
0.212158203125,
0.52392578125,
0.21337890625
],
[
0.5185546875,
0.2139892578125,
0.56201171875,
0.2139892578125,
0.56201171875,
0.2247314453125,
0.5185546875,
0.2247314453125
],
[
0.8310546875,
0.212158203125,
0.861328125,
0.212158203125,
0.861328125,
0.2197265625,
0.8310546875,
0.2197265625
],
[
0.08251953125,
0.2235107421875,
0.46728515625,
0.2235107421875,
0.46728515625,
0.2374267578125,
0.08251953125,
0.2374267578125
],
[
0.5185546875,
0.2259521484375,
0.5556640625,
0.2259521484375,
0.5556640625,
0.23291015625,
0.5185546875,
0.23291015625
],
[
0.08087158203125,
0.2392578125,
0.46728515625,
0.2392578125,
0.46728515625,
0.25244140625,
0.08087158203125,
0.25244140625
],
[
0.6806640625,
0.2392578125,
0.71826171875,
0.2412109375,
0.71728515625,
0.25244140625,
0.6787109375,
0.250732421875
],
[
0.08087158203125,
0.25390625,
0.468017578125,
0.25390625,
0.468017578125,
0.267578125,
0.08087158203125,
0.267578125
],
[
0.6845703125,
0.250732421875,
0.71337890625,
0.250732421875,
0.71337890625,
0.255126953125,
0.6845703125,
0.255126953125
],
[
0.08251953125,
0.26953125,
0.390625,
0.26953125,
0.390625,
0.28271484375,
0.08251953125,
0.28271484375
],
[
0.5107421875,
0.27783203125,
0.87841796875,
0.27783203125,
0.87841796875,
0.291748046875,
0.5107421875,
0.291748046875
],
[
0.101318359375,
0.285888671875,
0.468017578125,
0.285888671875,
0.468017578125,
0.2998046875,
0.101318359375,
0.2998046875
],
[
0.08087158203125,
0.3017578125,
0.46728515625,
0.3017578125,
0.46728515625,
0.31494140625,
0.08087158203125,
0.31494140625
],
[
0.08416748046875,
0.31494140625,
0.46728515625,
0.31494140625,
0.46728515625,
0.328857421875,
0.08416748046875,
0.328857421875
],
[
0.5048828125,
0.32080078125,
0.8896484375,
0.32080078125,
0.8896484375,
0.333984375,
0.5048828125,
0.333984375
],
[
0.08416748046875,
0.333251953125,
0.465576171875,
0.333251953125,
0.465576171875,
0.343505859375,
0.08416748046875,
0.343505859375
],
[
0.5048828125,
0.337158203125,
0.60107421875,
0.337158203125,
0.60107421875,
0.348388671875,
0.5048828125,
0.348388671875
],
[
0.08087158203125,
0.3466796875,
0.468017578125,
0.3466796875,
0.468017578125,
0.35986328125,
0.08087158203125,
0.35986328125
],
[
0.080078125,
0.35986328125,
0.46728515625,
0.361083984375,
0.46728515625,
0.375732421875,
0.080078125,
0.375
],
[
0.5009765625,
0.363037109375,
0.71142578125,
0.3642578125,
0.71142578125,
0.37890625,
0.5009765625,
0.37744140625
],
[
0.08251953125,
0.376953125,
0.46728515625,
0.376953125,
0.46728515625,
0.39013671875,
0.08251953125,
0.39013671875
],
[
0.08251953125,
0.392578125,
0.468017578125,
0.392578125,
0.468017578125,
0.406005859375,
0.08251953125,
0.406005859375
],
[
0.52294921875,
0.389404296875,
0.8896484375,
0.389404296875,
0.8896484375,
0.40283203125,
0.52294921875,
0.40283203125
],
[
0.080078125,
0.40478515625,
0.468017578125,
0.406005859375,
0.468017578125,
0.419189453125,
0.080078125,
0.41845703125
],
[
0.50244140625,
0.40478515625,
0.88818359375,
0.40478515625,
0.88818359375,
0.41845703125,
0.50244140625,
0.41845703125
],
[
0.08251953125,
0.421630859375,
0.468017578125,
0.421630859375,
0.468017578125,
0.43505859375,
0.08251953125,
0.43505859375
],
[
0.50341796875,
0.419189453125,
0.890625,
0.419189453125,
0.890625,
0.43310546875,
0.50341796875,
0.43310546875
],
[
0.08251953125,
0.438232421875,
0.465576171875,
0.438232421875,
0.465576171875,
0.448974609375,
0.08251953125,
0.448974609375
],
[
0.5048828125,
0.43505859375,
0.890625,
0.43505859375,
0.890625,
0.448974609375,
0.5048828125,
0.448974609375
],
[
0.08251953125,
0.451904296875,
0.4345703125,
0.451904296875,
0.4345703125,
0.46533203125,
0.08251953125,
0.46533203125
],
[
0.5048828125,
0.449462890625,
0.890625,
0.449462890625,
0.890625,
0.46337890625,
0.5048828125,
0.46337890625
],
[
0.50341796875,
0.46533203125,
0.68310546875,
0.46533203125,
0.68310546875,
0.479248046875,
0.50341796875,
0.479248046875
],
[
0.08251953125,
0.472900390625,
0.468017578125,
0.472900390625,
0.468017578125,
0.486083984375,
0.08251953125,
0.486083984375
],
[
0.52294921875,
0.479736328125,
0.890625,
0.479736328125,
0.890625,
0.494384765625,
0.52294921875,
0.494384765625
],
[
0.08251953125,
0.4873046875,
0.468017578125,
0.4873046875,
0.468017578125,
0.50048828125,
0.08251953125,
0.50048828125
],
[
0.5048828125,
0.49560546875,
0.8896484375,
0.49560546875,
0.8896484375,
0.5087890625,
0.5048828125,
0.5087890625
],
[
0.0849609375,
0.50244140625,
0.46728515625,
0.50244140625,
0.46728515625,
0.5166015625,
0.0849609375,
0.5166015625
],
[
0.50341796875,
0.51025390625,
0.890625,
0.51025390625,
0.890625,
0.5234375,
0.50341796875,
0.5234375
],
[
0.08251953125,
0.517578125,
0.46728515625,
0.517578125,
0.46728515625,
0.53076171875,
0.08251953125,
0.53076171875
],
[
0.5146484375,
0.5234375,
0.890625,
0.5244140625,
0.890625,
0.5390625,
0.5146484375,
0.53857421875
],
[
0.08251953125,
0.53271484375,
0.46728515625,
0.53271484375,
0.46728515625,
0.546875,
0.08251953125,
0.546875
],
[
0.5048828125,
0.54052734375,
0.890625,
0.54052734375,
0.890625,
0.5537109375,
0.5048828125,
0.5537109375
],
[
0.08251953125,
0.54736328125,
0.465576171875,
0.54736328125,
0.465576171875,
0.56103515625,
0.08251953125,
0.56103515625
],
[
0.5048828125,
0.55615234375,
0.890625,
0.55615234375,
0.890625,
0.5693359375,
0.5048828125,
0.5693359375
],
[
0.08416748046875,
0.56298828125,
0.465576171875,
0.56298828125,
0.465576171875,
0.5771484375,
0.08416748046875,
0.5771484375
],
[
0.5048828125,
0.57080078125,
0.890625,
0.57080078125,
0.890625,
0.583984375,
0.5048828125,
0.583984375
],
[
0.08087158203125,
0.57763671875,
0.46728515625,
0.57763671875,
0.46728515625,
0.59130859375,
0.08087158203125,
0.59130859375
],
[
0.50244140625,
0.583984375,
0.8896484375,
0.58544921875,
0.8896484375,
0.599609375,
0.50244140625,
0.5986328125
],
[
0.08251953125,
0.59228515625,
0.46728515625,
0.59228515625,
0.46728515625,
0.60595703125,
0.08251953125,
0.60595703125
],
[
0.50341796875,
0.599609375,
0.8857421875,
0.60107421875,
0.8857421875,
0.61572265625,
0.50341796875,
0.6142578125
],
[
0.08251953125,
0.609375,
0.25732421875,
0.609375,
0.25732421875,
0.619140625,
0.08251953125,
0.619140625
],
[
0.52392578125,
0.61572265625,
0.88623046875,
0.61572265625,
0.88623046875,
0.62890625,
0.52392578125,
0.62890625
],
[
0.08251953125,
0.62890625,
0.46728515625,
0.62890625,
0.46728515625,
0.642578125,
0.08251953125,
0.642578125
],
[
0.50341796875,
0.630859375,
0.8896484375,
0.630859375,
0.8896484375,
0.64453125,
0.50341796875,
0.64453125
],
[
0.08416748046875,
0.64599609375,
0.464111328125,
0.64599609375,
0.464111328125,
0.65576171875,
0.08416748046875,
0.65576171875
],
[
0.50341796875,
0.646484375,
0.8798828125,
0.646484375,
0.8798828125,
0.66015625,
0.50341796875,
0.66015625
],
[
0.0931396484375,
0.6591796875,
0.46728515625,
0.6591796875,
0.46728515625,
0.67236328125,
0.0931396484375,
0.67236328125
],
[
0.0882568359375,
0.66552734375,
0.09722900390625,
0.66552734375,
0.09722900390625,
0.66845703125,
0.0882568359375,
0.66845703125
],
[
0.08251953125,
0.673828125,
0.465576171875,
0.673828125,
0.465576171875,
0.6875,
0.08251953125,
0.6875
],
[
0.52783203125,
0.6787109375,
0.6611328125,
0.6787109375,
0.6611328125,
0.693359375,
0.52783203125,
0.693359375
],
[
0.6787109375,
0.6787109375,
0.8896484375,
0.6787109375,
0.8896484375,
0.693359375,
0.6787109375,
0.693359375
],
[
0.08251953125,
0.689453125,
0.468017578125,
0.689453125,
0.468017578125,
0.70263671875,
0.08251953125,
0.70263671875
],
[
0.64892578125,
0.68603515625,
0.68701171875,
0.68603515625,
0.68701171875,
0.69775390625,
0.64892578125,
0.69775390625
],
[
0.08087158203125,
0.7041015625,
0.468017578125,
0.7041015625,
0.468017578125,
0.71728515625,
0.08087158203125,
0.71728515625
],
[
0.51708984375,
0.7119140625,
0.890625,
0.7119140625,
0.890625,
0.72607421875,
0.51708984375,
0.72607421875
],
[
0.08416748046875,
0.72021484375,
0.46728515625,
0.72021484375,
0.46728515625,
0.73095703125,
0.08416748046875,
0.73095703125
],
[
0.5048828125,
0.7265625,
0.890625,
0.7265625,
0.890625,
0.74072265625,
0.5048828125,
0.74072265625
],
[
0.08087158203125,
0.734375,
0.468017578125,
0.734375,
0.468017578125,
0.74755859375,
0.08087158203125,
0.74755859375
],
[
0.5048828125,
0.7421875,
0.890625,
0.7421875,
0.890625,
0.755859375,
0.5048828125,
0.755859375
],
[
0.08251953125,
0.75,
0.468017578125,
0.75,
0.468017578125,
0.76318359375,
0.08251953125,
0.76318359375
],
[
0.08087158203125,
0.7646484375,
0.468017578125,
0.7646484375,
0.468017578125,
0.77783203125,
0.08087158203125,
0.77783203125
],
[
0.50634765625,
0.7587890625,
0.8896484375,
0.7587890625,
0.8896484375,
0.76953125,
0.50634765625,
0.76953125
],
[
0.50341796875,
0.77294921875,
0.8310546875,
0.77294921875,
0.8310546875,
0.7861328125,
0.50341796875,
0.7861328125
],
[
0.08416748046875,
0.77978515625,
0.468017578125,
0.77978515625,
0.468017578125,
0.79345703125,
0.08416748046875,
0.79345703125
],
[
0.08251953125,
0.79443359375,
0.46728515625,
0.79443359375,
0.46728515625,
0.80810546875,
0.08251953125,
0.80810546875
],
[
0.5009765625,
0.80029296875,
0.8447265625,
0.8017578125,
0.8447265625,
0.81640625,
0.5009765625,
0.81494140625
],
[
0.08251953125,
0.81005859375,
0.468017578125,
0.81005859375,
0.468017578125,
0.82373046875,
0.08251953125,
0.82373046875
],
[
0.08416748046875,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.8369140625,
0.08416748046875,
0.8369140625
],
[
0.52392578125,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.52392578125,
0.84033203125
],
[
0.08087158203125,
0.84033203125,
0.1953125,
0.84033203125,
0.1953125,
0.85400390625,
0.08087158203125,
0.85400390625
],
[
0.50634765625,
0.84326171875,
0.8896484375,
0.84326171875,
0.8896484375,
0.85400390625,
0.50634765625,
0.85400390625
],
[
0.1004638671875,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.1004638671875,
0.87060546875
],
[
0.50341796875,
0.85693359375,
0.8896484375,
0.85595703125,
0.8896484375,
0.869140625,
0.50341796875,
0.87060546875
],
[
0.08251953125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08251953125,
0.88525390625
],
[
0.50244140625,
0.87060546875,
0.890625,
0.87255859375,
0.890625,
0.88623046875,
0.50244140625,
0.8837890625
],
[
0.080078125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.080078125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"2.Related Work",
"I App.Model",
"运动估计和补偿:自由移动的相机在投影的背景场景",
"Laver",
"Pnefari",
"Multilabel Se",
"",
"",
"e",
"中引入了运动,从而使背景减除问题变得复杂。解决",
"PrAR",
"",
"这个问题的一个直观的想法是补偿相机的运动。一些",
"Prop.Ma",
"--.",
"开创性的作品求助于估计单应性[13],该单应性表征",
"了连续顿之间背景场景的几何变换。通常,RANSAC",
"eB",
"[11]及其变体MLESAC[36]用于使用许多特征点匹配",
"来实现鲁棒估计。Jinetal.[15]将场景建模为一组平",
"ProcessingBlo",
"Feature-",
"Posterio",
"面区域,其中假定每个背景像素属于这些区域之一。同",
"Trajectorie:",
"构关系用于将每个区域校正为模型中相应的平面表示。",
"Prop.Map",
"Zamalievaetal.[41]利用几何信息开发多个转换模型",
"redirtin",
"并选择一个最能描述连续顿之间关系的模型",
"Figure 1: The framework of our proposed approach",
"最近,运动估计已被广泛用于全面指定每个像素",
"[25,2,20,22]的运动。这些作品[20,22]使用光流作",
"为证据。Kwaketal.[20]将图像以网格模式分为小块,",
"进行了介绍。最后,8节说明了基于两个标准的定量和",
"并采用非参数置信传播根据每个块的平均光流来估计",
"定性实验结果",
"运动场。其后续工作[22]通过用超像素替换块作为模",
"型单元来提高运动估计的质量。另一方面,在[25,2]",
"3.FrameworkOverview",
"中,声称光流方向与场景中的对象深度无关,并用于对",
"具有相似现实世界运动的像素进行聚类,而与它们在",
"建议的框架如图1所示。首先,我们采用[35]中提",
"场景中的深度无关。然而,对光流的高度依赖性使得这",
"出的特征点跟踪方法来生成特征轨迹。然后根据运动",
"些方法在估计光流时容易受到噪声的影响。相反,我们",
"不一致性将生成的轨迹聚类到不同的层中,并使用动",
"的方法通过使用稀疏特征点的运动失量作为更稳健的",
"态标签传播[42]在顿上连续传播轨迹的标签。将每个",
"证据,采用高斯置信传播[1]来改进运动模型估计",
"轨迹簇分配给相应的层,并根据出现在每个顿中的前",
"景对象的层数来调整层数",
"外观建模:传统上,已经提出了背景场景的统计表示来",
"每一层都有一个独立的“处理块”,它产生一个后验",
"估计空间可扩展的背景模型。Haymanetal.[14]构建",
"概率图。令k和t分别表示层和顿的索引。在“处理",
"了混合高斯马赛克背景模型。任etal.[29]使用运动补",
"块”内部,我们有两个输入源:外观模型A-,和从上",
"偿来预测背景图中每个像素的位置,并通过空间高斯",
"-顿产生的标签P(Ck-1)的先验概率图,以及一组相",
"分布对该预测的不确定性进行建模。与传统混合高斯",
"应的稀疏轨迹Pk。第一步是使用高斯置信传播以相应",
"背景模型相关的图像马赛克的构建也被认为在[23,30]",
"轨迹的运动量为证据来推断每层中的运动模型。然",
"中是有效的。然而,这种参数模型所需的超参数限制了",
"后,通过根据估计的运动模型M移动先前的外观模",
"其适应性和应用。相反,我们采用非参数Kernal密度",
"型A-1来获得新的外观模型A,并且可以以相同的",
"估计方法[8]来建立前景和背景区域的外观模型,使我",
"方式从前一个中推断出新的先验概率图Pprior(CklPt)",
"们的方法更加稳定和适用",
"给定当前顿工作为新的观察值,似然性P(ZCk",
"分层表示:分层表示是指将场景建模为一组移动层的",
"由Kernal密度估计(KDE)[8]使用每层中的传播外",
"方法,已用于前景检测27.16,运动分割39.37,19",
"观模型进行估计。然后将每个层的后验概率图推断为",
"在[27]中,背景被建模为非参数层模型的联合,以",
"",
"便于在静态或动态背景下检测前景。Kimetal.[16]提",
"Ppost(Ct/Lt, Pk) =",
"P(Lt|ct)Pprior(ct|Pk),(1)",
"出了一种分层背景模型,其中除了使用多个短期背景",
"-Z1",
"模型外,还使用了一个长期背景模型。王etal.[39]采",
"其中Z=kPpost(Ckt,Pt)是分区函数。通过收",
"用迭代方法实现分层运动分割。Torretal.[37将图层",
"集来自每个层的后验概率图,我们通过以最小切割能",
"建模为3D平面,并在贝叶斯框架中集成先验。[19]对",
"量优化多标签图上的切割来实现最终的逐像素标记。在",
"空间连续性进行建模,同时将每个层表示为由一组段",
"组成。这些分层模型的一个共同主题是假设视频事先",
"整个过程结束时,将使用当前框架和标签更新外观模",
"型。在以下各节中,我们将详细描述流程步骤",
"可用[7]。这种假设阻止了使用这种方法来处理来自流",
"媒体源的视频。一些动态纹理方法[3,4,24]也采用分",
"4.Trajectory Labeling and Propagation",
"层模型来处理复杂的动态背景,但使用固定的相机。据",
"我们所知,所提出的方法是第一个应用于移动摄像机",
"我们采用的特征点跟踪方法E[35]在特征轨迹生成",
"场景的分层模型",
"方面取得了良好的性能。为了对轨迹进行聚类,儿种运",
"本文的组织如下。我们提出的框架的概述在3节中",
"动分割方法[26,40]提供了很好的解决方案,但是当视",
"介绍。4节描述了轨迹标记。“处理块”内部的组件在",
"频不满足仿射相机模型的假设时,可能会失败。为了摆",
"5&6节中进行了描述,最终的逐像素多标记在7节中",
"脱这种假设,Elqurshetal.[10]提出的一种在线方法"
] |
{
"arxiv_id": "1709.01140",
"language": "zh",
"page_idx": 1
}
|
||
1709.01140-zh-2
|
1709.01140-zh-2.jpg
|
将稀疏轨迹聚类视为流形分离的问题,并在帧上动态传播标签。受$\operatorname{E}[10]$ 的启发,我们首先在初始化帧中对轨迹进行聚类,并使用动态标签传播[42]在帧上连续传播轨迹的标签。我们在这里简要描述算法
# 4.1. Trajectory Clustering
给定$n$轨迹,定义了两个距离矩阵$D_M^t$和$D_S^t$来表示运动轨迹和空间位置之间的差异。条目$D_ij^{\tilde{M}}=$ $d_{M}^{1:t}(T_{i},T_{j})$和$D_ij^{S}=d_{S}^{1:t}(T_{i},T_{j})$是 i-th 和 j-th trajoctory 之间在直到$t$的帧上的距离。详细定义请参考[26]。然后将$n$轨迹上的亲和力矩阵表示为
$$A=\exp(-(\lambda D_M^t+(1-\lambda)D_S^t)),$$
(2)
,其中$\lambda$是平衡两个距离的参数
将每个轨迹视为一个节点,并将亲和度矩阵视为边缘权重,我们将轨迹聚类转换为图割问题。从包含所有轨迹的初始簇开始,采用归一化切割$\mathbb{E}[33]$ 对初始簇执行最佳二进制切割,然后再次对生成的簇执行最佳二进制切割。这个递归过程一直持续到集群上评估的归一化切割成本高于阈值 (我们工作中的$10^-4$ ),这表明这个 trajoctory 集群属于同一个组件 (i。e。对象或背景),并且不需要进一步拆分。所有轨迹都根据它们所属的群集分配有标签
# 4.2. Label Propagation
利用初始帧中的轨迹标签,采用标签传播作为半监督学习方法来推断后续帧中的轨迹标签。我们首先构造一个图$G$ ,其中预览和当前帧中的轨迹分别作为标记和未标记的节点。计算涉及标记和未标记轨迹的亲和矩阵$A$ , 并将其用作相应节点之间的边权重。令$Y_l$ 和$Y_u$分别表示标记节点和未标记节点对应的标记概率矩阵。$Y_l$的每一行都是一个独热向量,其中一个位于与节点标签对应的位置,否则为零。为了估计标记概率矩阵$Y_u$ ,我们在图[43]上应用马尔可夫随机游走。转换矩阵$P$定义为$[p_ij=A_{ij}/\sum_kA_{ik}]$ ,其中条目$p_{ij}$是从ith节点到jth节点的转换概率。给定节点划分为标记和未标记的节点,矩阵 P 可以分为 4 个块:
$$P=\begin{bmatrix}P_{ll}&&P_{lu}\\P_{ul}&&P_{uu}\end{bmatrix}.$$
(3)
未标记节点的标记概率矩阵的闭式解为$Y_u=(I-$
$P_{uu})^{-1}P_{ul}Y_l$ 。节点$i$的标签可以通过
(4)
$$l_i=\arg\max_jy_{ij},$$
获得,其中$y_ij$是对应于节点$i$的行中的条目
值得注意的是,标签传播算法只能分配具有已知标签的轨迹。但是,当新对象移入场景时,应及时引人新标签。为了实现它,在每个帧中预测标签之后,评估每个集群中的归一化切割成本。较小的成本表示集群内部的集群内差异很大。如果成本低于阈值(我们工作中的$10^{-4}$ ),则应进一步拆分群集,并为群集分配一个
<FigureHere>
Figure 2: Visualization of labeled trajectories and motion models of three layers. The first figure is the original image covered with labeled trajectories: the trajectories are clustered into three layers: background layer(Red) , car1 layer(Blue) and car2 layer(Green) . The following three figures show the estimated motion models for the three layers, where the arrow and length indicate the direction and magnitude of motion.
新标签,该标签的外观与前一个更多不同。当对象移出场景时,将为几个 trajetories 分配相应的标签,并删除相应的群集。这样,簇的数量根据场景中出现多少个运动物体而自适应地变化。完成聚类过程后,每个簇中的所有轨迹将进一步分配给每个层
## 5. Motion Model Estimation
尽管仅在稀疏像素处提供运动信息,但与光流相比特征点的轨迹更准确且噪声更小。有了这些准确的轨迹运动矢量作为证据,我们可以估计整个帧的运动场模型 (i。e。来估计每层中每个像素的运动矢量)。为了实现逐像素运动估计,我们在网格结构上构造成对MRF,其中每个顶点表示一个像素,边缘集$\varepsilon 表示该$ 结构上的成对邻域关系。涉及两组电位:边缘电位$\Psi_{ij}$ 测量邻域顶点之间的相似性,而自身电位$\Phi_i$测量证据的可能性。如果将这些潜力定义为 Guassion 分布,则该任务因此被表述为高斯信念传播(GaBP)问题[1]。给定 k-th 层中轨迹的运动向量,可以将运动模型的条件联合概率分布推断为:
$$P(\mathcal{M}_{t}^{k}|\mathcal{P}_{t}^{k})\propto\prod_{(i,j)\in\varepsilon}\Psi(m_{k,t}^{i},m_{k,t}^{j})\prod_{i\in S_{k,t}}\Phi(m_{k,t}^{i}),$$
其中$\mathcal{P}_{k,t}$将特征点集与聚集到 k-th 层的轨迹一起贡献。边缘和自电位定义为$\Psi(m_{k,t}^i,m_{k,t}^j)=$ $\mathcal{N}(m_{k,t}^{i}|m_{k,t}^{j},\Sigma_{m})$ 和$\Phi ( m_{k, t}^{i}) = \mathcal{N} ( m_{k, t}^{i}| m_{p, t}^{i}, \Sigma _{p})$ ,其中$m_{p,t}^i$表示与 i-th 像素相关的相应轨迹的运动矢量。我们的公式鼓励了邻域点的运动矢量之间的相似性,以及特征点的估计运动矢量与证据之间的相似性(i。e。轨迹的运动)。根据 GaBP,这个方程可以重写为
(6)
$$P(\mathcal{M}_t^k|\mathcal{P}_t^k)\propto\exp(-\frac{1}{2}m^TAm+m^Tb),$$
|
[
[
0.08251953125,
0.0921630859375,
0.468017578125,
0.0921630859375,
0.468017578125,
0.1060791015625,
0.08251953125,
0.1060791015625
],
[
0.08416748046875,
0.10797119140625,
0.465576171875,
0.10797119140625,
0.465576171875,
0.121826171875,
0.08416748046875,
0.121826171875
],
[
0.08251953125,
0.125,
0.46728515625,
0.125,
0.46728515625,
0.1351318359375,
0.08251953125,
0.1351318359375
],
[
0.08251953125,
0.1395263671875,
0.38818359375,
0.1395263671875,
0.38818359375,
0.149658203125,
0.08251953125,
0.149658203125
],
[
0.080078125,
0.1610107421875,
0.285888671875,
0.1634521484375,
0.285888671875,
0.177978515625,
0.080078125,
0.175537109375
],
[
0.1004638671875,
0.186279296875,
0.468017578125,
0.186279296875,
0.468017578125,
0.199462890625,
0.1004638671875,
0.199462890625
],
[
0.08251953125,
0.2008056640625,
0.4453125,
0.2008056640625,
0.4453125,
0.2139892578125,
0.08251953125,
0.2139892578125
],
[
0.08251953125,
0.2171630859375,
0.46728515625,
0.2171630859375,
0.46728515625,
0.231689453125,
0.08251953125,
0.231689453125
],
[
0.080078125,
0.231689453125,
0.46728515625,
0.2310791015625,
0.46728515625,
0.24560546875,
0.080078125,
0.246826171875
],
[
0.08087158203125,
0.2474365234375,
0.419189453125,
0.2474365234375,
0.419189453125,
0.261474609375,
0.08087158203125,
0.261474609375
],
[
0.16015625,
0.274658203125,
0.393798828125,
0.274658203125,
0.393798828125,
0.28857421875,
0.16015625,
0.28857421875
],
[
0.44677734375,
0.27587890625,
0.468017578125,
0.27587890625,
0.468017578125,
0.28857421875,
0.44677734375,
0.28857421875
],
[
0.50341796875,
0.27783203125,
0.88818359375,
0.27783203125,
0.88818359375,
0.291748046875,
0.50341796875,
0.291748046875
],
[
0.50244140625,
0.292236328125,
0.8896484375,
0.29345703125,
0.8896484375,
0.306884765625,
0.50244140625,
0.30615234375
],
[
0.08087158203125,
0.3017578125,
0.313720703125,
0.3017578125,
0.313720703125,
0.31494140625,
0.08087158203125,
0.31494140625
],
[
0.50244140625,
0.306884765625,
0.88623046875,
0.306884765625,
0.88623046875,
0.32080078125,
0.50244140625,
0.32080078125
],
[
0.098876953125,
0.31494140625,
0.468017578125,
0.31640625,
0.468017578125,
0.330810546875,
0.098876953125,
0.330078125
],
[
0.50244140625,
0.323974609375,
0.890625,
0.323974609375,
0.890625,
0.337158203125,
0.50244140625,
0.337158203125
],
[
0.08087158203125,
0.33203125,
0.46728515625,
0.33203125,
0.46728515625,
0.34521484375,
0.08087158203125,
0.34521484375
],
[
0.5048828125,
0.33837890625,
0.88134765625,
0.33837890625,
0.88134765625,
0.3515625,
0.5048828125,
0.3515625
],
[
0.08087158203125,
0.347900390625,
0.468017578125,
0.347900390625,
0.468017578125,
0.361083984375,
0.08087158203125,
0.361083984375
],
[
0.50244140625,
0.3515625,
0.89208984375,
0.352783203125,
0.89208984375,
0.367431640625,
0.50244140625,
0.3662109375
],
[
0.08087158203125,
0.3623046875,
0.46728515625,
0.3623046875,
0.46728515625,
0.375732421875,
0.08087158203125,
0.375732421875
],
[
0.50244140625,
0.367431640625,
0.8896484375,
0.36865234375,
0.8896484375,
0.3818359375,
0.50244140625,
0.380615234375
],
[
0.08251953125,
0.37890625,
0.465576171875,
0.37890625,
0.465576171875,
0.389404296875,
0.08251953125,
0.389404296875
],
[
0.50341796875,
0.3837890625,
0.84619140625,
0.3837890625,
0.84619140625,
0.397705078125,
0.50341796875,
0.397705078125
],
[
0.0931396484375,
0.392578125,
0.468017578125,
0.392578125,
0.468017578125,
0.4072265625,
0.0931396484375,
0.4072265625
],
[
0.08087158203125,
0.40771484375,
0.465576171875,
0.40771484375,
0.465576171875,
0.421630859375,
0.08087158203125,
0.421630859375
],
[
0.08251953125,
0.42236328125,
0.468017578125,
0.42236328125,
0.468017578125,
0.436279296875,
0.08251953125,
0.436279296875
],
[
0.5048828125,
0.42236328125,
0.8896484375,
0.42236328125,
0.8896484375,
0.436279296875,
0.5048828125,
0.436279296875
],
[
0.080078125,
0.436279296875,
0.2303466796875,
0.4375,
0.2303466796875,
0.451904296875,
0.080078125,
0.45068359375
],
[
0.5048828125,
0.4375,
0.8896484375,
0.4375,
0.8896484375,
0.45068359375,
0.5048828125,
0.45068359375
],
[
0.50341796875,
0.451904296875,
0.8896484375,
0.45263671875,
0.8896484375,
0.466552734375,
0.50341796875,
0.46533203125
],
[
0.080078125,
0.460205078125,
0.261474609375,
0.462158203125,
0.261474609375,
0.4765625,
0.080078125,
0.474853515625
],
[
0.5048828125,
0.468505859375,
0.890625,
0.468505859375,
0.890625,
0.481689453125,
0.5048828125,
0.481689453125
],
[
0.101318359375,
0.48486328125,
0.468017578125,
0.48486328125,
0.468017578125,
0.498779296875,
0.101318359375,
0.498779296875
],
[
0.50341796875,
0.48291015625,
0.73193359375,
0.48291015625,
0.73193359375,
0.496826171875,
0.50341796875,
0.496826171875
],
[
0.08087158203125,
0.50048828125,
0.46728515625,
0.50048828125,
0.46728515625,
0.5146484375,
0.08087158203125,
0.5146484375
],
[
0.080078125,
0.5146484375,
0.468017578125,
0.51513671875,
0.468017578125,
0.52978515625,
0.080078125,
0.52880859375
],
[
0.50244140625,
0.51025390625,
0.7509765625,
0.51025390625,
0.7509765625,
0.5234375,
0.50244140625,
0.5234375
],
[
0.08251953125,
0.52978515625,
0.468017578125,
0.52978515625,
0.468017578125,
0.54345703125,
0.08251953125,
0.54345703125
],
[
0.52392578125,
0.53515625,
0.88818359375,
0.53515625,
0.88818359375,
0.548828125,
0.52392578125,
0.548828125
],
[
0.08251953125,
0.54443359375,
0.46728515625,
0.54443359375,
0.46728515625,
0.55810546875,
0.08251953125,
0.55810546875
],
[
0.50341796875,
0.55029296875,
0.890625,
0.55029296875,
0.890625,
0.564453125,
0.50341796875,
0.564453125
],
[
0.08251953125,
0.5625,
0.46728515625,
0.5625,
0.46728515625,
0.57275390625,
0.08251953125,
0.57275390625
],
[
0.5048828125,
0.56640625,
0.88818359375,
0.56640625,
0.88818359375,
0.5771484375,
0.5048828125,
0.5771484375
],
[
0.08087158203125,
0.57568359375,
0.468017578125,
0.57568359375,
0.468017578125,
0.5888671875,
0.08087158203125,
0.5888671875
],
[
0.5048828125,
0.580078125,
0.890625,
0.580078125,
0.890625,
0.59326171875,
0.5048828125,
0.59326171875
],
[
0.08416748046875,
0.59130859375,
0.468017578125,
0.59130859375,
0.468017578125,
0.60498046875,
0.08416748046875,
0.60498046875
],
[
0.5048828125,
0.5947265625,
0.8896484375,
0.5947265625,
0.8896484375,
0.60791015625,
0.5048828125,
0.60791015625
],
[
0.08087158203125,
0.60595703125,
0.468017578125,
0.60595703125,
0.468017578125,
0.619140625,
0.08087158203125,
0.619140625
],
[
0.50341796875,
0.60986328125,
0.890625,
0.60986328125,
0.890625,
0.62353515625,
0.50341796875,
0.62353515625
],
[
0.080078125,
0.619140625,
0.4697265625,
0.61865234375,
0.4697265625,
0.63623046875,
0.080078125,
0.63720703125
],
[
0.50341796875,
0.62548828125,
0.88818359375,
0.62548828125,
0.88818359375,
0.6396484375,
0.50341796875,
0.6396484375
],
[
0.08087158203125,
0.63623046875,
0.468017578125,
0.63525390625,
0.468017578125,
0.6494140625,
0.08087158203125,
0.65087890625
],
[
0.5048828125,
0.642578125,
0.8896484375,
0.642578125,
0.8896484375,
0.65283203125,
0.5048828125,
0.65283203125
],
[
0.08087158203125,
0.65087890625,
0.46728515625,
0.65087890625,
0.46728515625,
0.6640625,
0.08087158203125,
0.6640625
],
[
0.50341796875,
0.65576171875,
0.890625,
0.65576171875,
0.890625,
0.66943359375,
0.50341796875,
0.66943359375
],
[
0.5048828125,
0.67041015625,
0.890625,
0.67041015625,
0.890625,
0.6845703125,
0.5048828125,
0.6845703125
],
[
0.2115478515625,
0.681640625,
0.2459716796875,
0.681640625,
0.2459716796875,
0.69775390625,
0.2115478515625,
0.69775390625
],
[
0.240234375,
0.681640625,
0.25,
0.681640625,
0.25,
0.6875,
0.240234375,
0.6875
],
[
0.2459716796875,
0.67822265625,
0.326904296875,
0.67822265625,
0.326904296875,
0.6923828125,
0.2459716796875,
0.6923828125
],
[
0.44677734375,
0.68603515625,
0.468017578125,
0.68603515625,
0.468017578125,
0.69873046875,
0.44677734375,
0.69873046875
],
[
0.5048828125,
0.68603515625,
0.890625,
0.68603515625,
0.890625,
0.69970703125,
0.5048828125,
0.69970703125
],
[
0.2467041015625,
0.6923828125,
0.328369140625,
0.6923828125,
0.328369140625,
0.70703125,
0.2467041015625,
0.70703125
],
[
0.5048828125,
0.7021484375,
0.6748046875,
0.7021484375,
0.6748046875,
0.71533203125,
0.5048828125,
0.71533203125
],
[
0.101318359375,
0.7197265625,
0.465576171875,
0.7197265625,
0.465576171875,
0.73291015625,
0.101318359375,
0.73291015625
],
[
0.515625,
0.7216796875,
0.890625,
0.7216796875,
0.890625,
0.7392578125,
0.515625,
0.7392578125
],
[
0.08087158203125,
0.73486328125,
0.3544921875,
0.734375,
0.3544921875,
0.74853515625,
0.08087158203125,
0.75
],
[
0.615234375,
0.74072265625,
0.65869140625,
0.74072265625,
0.65869140625,
0.751953125,
0.615234375,
0.751953125
],
[
0.7548828125,
0.74072265625,
0.7958984375,
0.74072265625,
0.7958984375,
0.751953125,
0.7548828125,
0.751953125
],
[
0.2132568359375,
0.76220703125,
0.330810546875,
0.7646484375,
0.330810546875,
0.77880859375,
0.2132568359375,
0.7763671875
],
[
0.44677734375,
0.7666015625,
0.468017578125,
0.7666015625,
0.468017578125,
0.77978515625,
0.44677734375,
0.77978515625
],
[
0.50341796875,
0.76123046875,
0.890625,
0.76123046875,
0.890625,
0.7744140625,
0.50341796875,
0.7744140625
],
[
0.515625,
0.77587890625,
0.890625,
0.77783203125,
0.890625,
0.79248046875,
0.515625,
0.79052734375
],
[
0.08087158203125,
0.796875,
0.40283203125,
0.796875,
0.40283203125,
0.81005859375,
0.08087158203125,
0.81005859375
],
[
0.50341796875,
0.796875,
0.89208984375,
0.796875,
0.89208984375,
0.81005859375,
0.50341796875,
0.81005859375
],
[
0.101318359375,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.101318359375,
0.82470703125
],
[
0.50341796875,
0.81298828125,
0.890625,
0.81298828125,
0.890625,
0.82763671875,
0.50341796875,
0.82763671875
],
[
0.08251953125,
0.8271484375,
0.468017578125,
0.8271484375,
0.468017578125,
0.84033203125,
0.08251953125,
0.84033203125
],
[
0.50341796875,
0.8291015625,
0.890625,
0.8291015625,
0.890625,
0.84228515625,
0.50341796875,
0.84228515625
],
[
0.08251953125,
0.84130859375,
0.46728515625,
0.84130859375,
0.46728515625,
0.85498046875,
0.08251953125,
0.85498046875
],
[
0.50634765625,
0.84521484375,
0.890625,
0.84521484375,
0.890625,
0.85595703125,
0.50634765625,
0.85595703125
],
[
0.08251953125,
0.85693359375,
0.46728515625,
0.85693359375,
0.46728515625,
0.87060546875,
0.08251953125,
0.87060546875
],
[
0.50244140625,
0.859375,
0.85107421875,
0.859375,
0.85107421875,
0.87255859375,
0.50244140625,
0.87255859375
],
[
0.08416748046875,
0.87353515625,
0.465576171875,
0.87353515625,
0.465576171875,
0.8837890625,
0.08416748046875,
0.8837890625
],
[
0.5595703125,
0.880859375,
0.89453125,
0.87890625,
0.89453125,
0.90283203125,
0.5595703125,
0.90478515625
],
[
0.71142578125,
0.87890625,
0.7294921875,
0.88330078125,
0.72607421875,
0.88818359375,
0.708984375,
0.8837890625
],
[
0.080078125,
0.88525390625,
0.46728515625,
0.88623046875,
0.46728515625,
0.90087890625,
0.080078125,
0.8994140625
],
[
0.705078125,
0.89599609375,
0.71826171875,
0.89599609375,
0.71826171875,
0.90380859375,
0.705078125,
0.90380859375
]
] |
[
"将稀疏轨迹聚类视为流形分离的问题,并在顿上动态",
"传播标签。受E[10]的启发,我们首先在初始化顿中对",
"轨迹进行聚类,并使用动态标签传播42在顿上连续",
"传播轨迹的标签。我们在这单简要描述算法",
"4.1. Trajectory Clustering",
"给定n轨迹,定义了两个距离矩阵DM和Ds来",
"表示运动轨迹和空间位置之间的差异。条目DM",
"dl(T,T)和 D = dt(T,T)是 i-th 和 j-th tra-",
"joctory之间在直到t的顿上的距离。详细定义请参",
"考[26]。然后将n轨迹上的亲和力矩阵表示为",
"A = exp(-(>DM + (1 - >)Ds)),",
"(2)",
"Figure 2: Visualization of labeled trajectories and mo",
"tion models of three layers. The first figure is the orig-",
",其中入是平衡两个距离的参数",
"inal image covered with labeled trajectories: the tra",
"将每个轨迹视为一个节点,并将亲和度矩阵视为边",
"jectories are clustered into three layers:background",
"缘权重,我们将轨迹聚类转换为图割问题。从包含所有",
"layer(Red) , carl layer(Blue) and car2 layer(Green)",
"轨迹的初始簇开始,采用归一化切割E[33]对初始簇执",
"The following three figures show the estimated motion",
"行最佳二进制切割,然后再次对生成的执行最佳二",
"modelsfor thethreelayers,wherethe arrowand length",
"进制切割。这个递归过程一直持续到集群上评估的归",
"indicate the direction and magnitude of motion.",
"-化切割成本高于阈值(我们工作中的10-4),这表明",
"这个trajoctory集群属于同一个组件(i。e。对象或背",
"景),并且不需要进一步拆分。所有轨迹都根据它们所",
"新标签,该标签的外观与前一个更多不同。当对象移出",
"属的群集分配有标签",
"场景时,将为几个trajetories分配相应的标签,并删除",
"相应的群集。这样,簇的数量根据场景中出现多少个运",
"4.2.LabelPropagation",
"动物体而自适应地变化。完成聚类过程后,每个簇中的",
"利用初始顿中的轨迹标签,采用标签传播作为半监",
"所有轨迹将进一步分配给每个层",
"督学习方法来推断后续帧中的轨迹标签。我们首先构",
"造一个图G,其中预览和当前顿中的轨迹分别作为标",
"5.Motion ModelEstimation",
"记和未标记的节点。计算涉及标记和未标记轨迹的亲",
"尽管仅在稀疏像素处提供运动信息,但与光流相比",
"和矩阵A,并将其用作相应节点之间的边权重。令Y",
"特征点的轨迹更准确且噪声更小。有了这些准确的轨",
"和Y分别表示标记节点和未标记节点对应的标记概",
"迹运动量作为证据,我们可以估计整个顿的运动场",
"率矩阵。Y的每一行都是一个独热向量,其中一个位",
"模型(i。e。来估计每层中每个像素的运动矢量)。为",
"于与节点标签对应的位置,否则为零。为了估计标记",
"了实现逐像素运动估计,我们在网格结构上构造成对",
"概率矩阵Yu,我们在图[43]上应用马尔可夫随机游",
"MRF,其中每个顶点表示一个像素,边缘集ε表示该",
"走。转换矩阵P定义为[pi=Aii/kAi],其中条",
"结构上的成对邻域关系。涉及两组电位:边缘电位亚请",
"目Pi是从ith节点到ith节点的转换概率。给定节点",
"测量邻域顶点之间的相似性,而自身电位重测量证据",
"划分为标记和未标记的节点,矩阵P可以分为4个块",
"的可能性。如果将这些潜力定义为Guassion分布,则",
"该任务因此被表述为高斯信念传播(GaBP)问题[1]。",
"P=",
"",
"PuPiu",
"(3)",
"给定k-th层中轨迹的运动向量,可以将运动模型的条",
"PulPuu",
"件联合概率分布推断为:",
"未标记节点的标记概率矩阵的闭式解为Yu=(I-",
"P(M*IPk) α II (mk,t,mk,t) II (ms,t), (5)",
"Puu)-1PuiYi。节点i的标签可以通过",
"(i,j)",
"ieSk,t",
"l, = argmax yij,",
"(4)",
"其中Pk,t将特征点集与聚集到k-th层的轨迹",
"起贡献。边缘和自电位定义为亚(mt,mzt)=",
"获得,其中9ii是对应于节点i的行中的条目",
"N(mitmt,Em)和 d(mit)=N(mitlmnt,Ep) ,其",
"值得注意的是,标签传播算法只能分配具有已知标",
"中mst表示与i-th像素相关的相应轨迹的运动失量。",
"签的轨迹。但是,当新对象移入场景时,应及时引入新",
"我们的公式鼓励了邻域点的运动矢量之间的相似性,以",
"标签。为了实现它,在每个顿中预测标签之后,评估每",
"及特征点的估计运动失量与证据之间的相似性(i。e。",
"个集群中的归一化切割成本。较小的成本表示集群内",
"轨迹的运动)。根据GaBP,这个方程可以重写为",
"部的集群内差异很大。如果成本低于值(我们工作中",
"P(MIPt) α exp(-mTAm+mTb),(6)",
"",
"的10-4),则应进一步拆分群集,并为群集分配一个",
"2"
] |
{
"arxiv_id": "1709.01140",
"language": "zh",
"page_idx": 2
}
|
||
1709.01140-zh-3
|
1709.01140-zh-3.jpg
|
,其中逆协方差矩阵$A$被定义为显示每对节点的连接并且移位向量$b$由轨迹的运动定义。边际后验概率的封闭形式解为$p( m_{k, t}^{i}| \mathcal{P} _{t}^{k}) = \mathcal{N} ( \mu _{k, t}^{i}, \Sigma _{k, t}^{i})$ ,其中$\mu_k,t^{i}$ 是$A^{-1}b$ 的 i-th 条目,而 $\Sigma_k,t^i$ 是$\{A^{-1}\}_{ii}$ 条目。估计的运动场如图 2 所示
# 6. Bayesian Filtering
概率图的推断可以作为隐马尔可夫模型上的顺序贝叶斯滤波来执行。在本节中,我们首先预测给定运动模型的每一层的外观模型和先验概率,然后用当前帧中的新观察值推断后验概率。为了简化表达式,我们删除了论文其余部分中的下标$k$ 。请注意,在每一层的过程是相同的
# 6.1. Model Propogation
给定估计的运动模型$P(\mathcal{M}_t|\mathcal{P}_t)$的概率分布,我们可以通过传播来自前一帧的相应模型和地图来估计当前帧中的外观模型和概率图。具体来说,运动矢量准确地描述了像素在连续帧之间的移动方式。因此,借助当前帧中像素的运动信息,我们可以通过传播前一帧中相应像素的外观来轻松获得该像素的外观。然而,每个像素的运动矢量在二维空间上具有高斯分布。在整个高斯分布上边缘化外观是不切实际的。如果我们丢弃运动矢量中的不确定性并将方差设置为 0,则将高斯分布简化为 Diracdelta 函数$P(m_{t}^{i}|\mathcal{P}_{t})=\delta(m_{t}^{i}-\mu_{k,t}^{i})$ 。然后,将整个外观模型的边缘化简化为特定像素的参与。i-th 像素的外观模型可以通过
(7)
$$a_t^i=a_{t-1}^{\phi(i,\mu_t^i)},$$
轻松获得,其中函数$\phi(i,\mu_t^i)$是通过根据关联的运动矢量$\mu_t^i$反向移动 i-th 像素来获得前一帧中的相应索引。在实践中,我们发现这种近似几乎没有性能下降,同时节省了大量的计算成本
同样,通过
(8)
$$P_{prior}(l_t^i|\mathcal{P}_t)=P(l_{t-1}^{\phi(i,\mu_t^j)}).$$
获得每层中 i-th 像素的先验概率
## $6. 2. \textbf{Probability Map Update}$
一旦从上一帧传播了外观模型和概率图,就可以以当前帧$\mathcal{I}_t$作为新的观察值来推断每层的后验概率图。在假设像素之间独立的情况下,通过等式(9)计算i-th 像素的后验概率。
$$P_{post}(l_t^i|I_t^i,\mathcal{P}_t)\propto P(I_t^i|l_t^i)P_{prior}(l_t^i|\mathcal{P}_t),$$
(9)
i-th 像素$P(I_t^i|l_t^i)$中观察到的可能性本质上是描述外观$I_t^i$在每个层中与外观模型的拟合程度。核密度估计 (KDE) 作为一种非参数方法,可以有效地对背景或前景进行建模,而不受超参数估计的限制。由于其简单性和有效性,我们采用 KDE 技术进行外观建模。
<FigureHere>
Figure 3: Inside the dotted box, three probability maps are demonstrated: the background layer, foreground1 layer(woman on the right), foreground2 layer(woman on the left). Note that the lighter color represents the high confidence. Two images in the bottom show the input image and the result of Multilabel Segmentation. i-th 像素$a_t^i$的外观模型涉及从预览帧累积的颜色特征$\{I_f\}_N^i$池。观测值$P(I_t^i|l_t^i)$的似然估计为:
(10)
$$P(I_t^i|l_t^i)=\dfrac{1}{N}\sum_{f=1}^NK_G(I_t^i-I_f^i),$$
其中$K_G(\cdot)$是高斯核函数,$I_f^i$是为 KDE 建模而存储的$f$帧中的颜色特征,$N=20$是存储的先前帧的数量。每层产生的后验概率图通过分割函数归一化,然后用作多标签分割的知识
## 7. Multilabel Segmentation
随着手头所有层的归一化概率图的收集,我们对前景对象分割的最终任务是对整个帧执行逐像素标记。此分段问题可以转换为成对 MRF 上的能量最小化问题, 该问题可以通过图切割[17]进行多项式求解。由于分割问题的不适定性,总是需要正则化。对于我们的问题,我们设计了两个正则化:平滑成本和标签成本,分别优先于标签的平滑度和分配的较少的唯一标签。全局能量函数表示为:<NEXT\_LINXNEXE> mathfonts $(\mathrm{l}_t^i|I_t^i)$的ith像素的负对数概率。平滑成本定义为两个相邻像素$E(I_i,I_j)=-\log\mathcal{N}(I_i|I_j,\Sigma_a)$的相似度,如果$l_i,l_j$具有相同的标签,则$q_ij$作为符号函数等于+1 ;否则-1 。此外,在标签成本方面$,h_k$是标签$k$ 的非负标签成本。如果$\exists i:l_i=k;$和0否则,$\delta_k(f)$ 是定义为$\delta_k(\mathcal{L})=1$的相应指标函数。$\lambda_1,\lambda_2$是非负参数,用于平衡数据成本与这两个正则化(在我们的工作中都是 1)。使用 [6] 中提出的方法可以有效地求解能量最小化函数
值得注意的是,当场景中出现新的前景对象或处理初始帧时,用于构建外观模型的特征样本通常不足以进行内核密度估计。在 KDE 无效的这些情况下,概率图不再可用作多标签分割的数据成本。在能量函数中定义数据成本项的另一种方法是基于标记的轨迹。$E(I_{i})=c$如果$l_i=l_p$和$-c$否则,其中$c$是负常数,
|
[
[
0.096435546875,
0.0921630859375,
0.46728515625,
0.0921630859375,
0.46728515625,
0.1060791015625,
0.096435546875,
0.1060791015625
],
[
0.08905029296875,
0.0985107421875,
0.09722900390625,
0.0985107421875,
0.09722900390625,
0.1029052734375,
0.08905029296875,
0.1029052734375
],
[
0.5595703125,
0.0947265625,
0.59716796875,
0.0947265625,
0.59716796875,
0.0985107421875,
0.5595703125,
0.0985107421875
],
[
0.08087158203125,
0.106689453125,
0.46728515625,
0.10797119140625,
0.46728515625,
0.121826171875,
0.08087158203125,
0.12060546875
],
[
0.56396484375,
0.12249755859375,
0.5849609375,
0.12249755859375,
0.5849609375,
0.1351318359375,
0.56396484375,
0.1351318359375
],
[
0.75634765625,
0.121826171875,
0.77685546875,
0.121826171875,
0.77685546875,
0.1363525390625,
0.75634765625,
0.1363525390625
],
[
0.75732421875,
0.1383056640625,
0.775390625,
0.1383056640625,
0.775390625,
0.147705078125,
0.75732421875,
0.147705078125
],
[
0.08087158203125,
0.12371826171875,
0.468017578125,
0.12371826171875,
0.468017578125,
0.1383056640625,
0.08087158203125,
0.1383056640625
],
[
0.08087158203125,
0.14013671875,
0.46728515625,
0.14013671875,
0.46728515625,
0.154052734375,
0.08087158203125,
0.154052734375
],
[
0.08087158203125,
0.1546630859375,
0.233642578125,
0.1546630859375,
0.233642578125,
0.1685791015625,
0.08087158203125,
0.1685791015625
],
[
0.07843017578125,
0.18310546875,
0.2646484375,
0.184326171875,
0.2646484375,
0.1988525390625,
0.07843017578125,
0.1976318359375
],
[
0.1004638671875,
0.208984375,
0.46728515625,
0.208984375,
0.46728515625,
0.222900390625,
0.1004638671875,
0.222900390625
],
[
0.08087158203125,
0.2247314453125,
0.46728515625,
0.2247314453125,
0.46728515625,
0.238037109375,
0.08087158203125,
0.238037109375
],
[
0.08087158203125,
0.2392578125,
0.46728515625,
0.2392578125,
0.46728515625,
0.25244140625,
0.08087158203125,
0.25244140625
],
[
0.50341796875,
0.246826171875,
0.890625,
0.246826171875,
0.890625,
0.261474609375,
0.50341796875,
0.261474609375
],
[
0.08087158203125,
0.255126953125,
0.468017578125,
0.255126953125,
0.468017578125,
0.268310546875,
0.08087158203125,
0.268310546875
],
[
0.50244140625,
0.261474609375,
0.8896484375,
0.261962890625,
0.8896484375,
0.276611328125,
0.50244140625,
0.27587890625
],
[
0.08416748046875,
0.26953125,
0.468017578125,
0.26953125,
0.468017578125,
0.28271484375,
0.08416748046875,
0.28271484375
],
[
0.080078125,
0.2822265625,
0.1641845703125,
0.2841796875,
0.1641845703125,
0.298583984375,
0.080078125,
0.296630859375
],
[
0.50341796875,
0.27783203125,
0.890625,
0.27783203125,
0.890625,
0.291748046875,
0.50341796875,
0.291748046875
],
[
0.50341796875,
0.29345703125,
0.890625,
0.29345703125,
0.890625,
0.306884765625,
0.50341796875,
0.306884765625
],
[
0.080078125,
0.30810546875,
0.26708984375,
0.31005859375,
0.26708984375,
0.323974609375,
0.080078125,
0.3212890625
],
[
0.50341796875,
0.30810546875,
0.890625,
0.30810546875,
0.890625,
0.3212890625,
0.50341796875,
0.3212890625
],
[
0.50341796875,
0.323974609375,
0.8896484375,
0.323974609375,
0.8896484375,
0.337158203125,
0.50341796875,
0.337158203125
],
[
0.1004638671875,
0.33203125,
0.468017578125,
0.33203125,
0.468017578125,
0.34521484375,
0.1004638671875,
0.34521484375
],
[
0.080078125,
0.34521484375,
0.46728515625,
0.3466796875,
0.46728515625,
0.361083984375,
0.080078125,
0.35986328125
],
[
0.50341796875,
0.354248046875,
0.890625,
0.354248046875,
0.890625,
0.367431640625,
0.50341796875,
0.367431640625
],
[
0.08251953125,
0.3623046875,
0.468017578125,
0.3623046875,
0.468017578125,
0.375732421875,
0.08251953125,
0.375732421875
],
[
0.50341796875,
0.36865234375,
0.8037109375,
0.367431640625,
0.8037109375,
0.3818359375,
0.50341796875,
0.38330078125
],
[
0.08087158203125,
0.37744140625,
0.468017578125,
0.37744140625,
0.468017578125,
0.391357421875,
0.08087158203125,
0.391357421875
],
[
0.08416748046875,
0.39453125,
0.46728515625,
0.39453125,
0.46728515625,
0.40478515625,
0.08416748046875,
0.40478515625
],
[
0.5849609375,
0.4072265625,
0.810546875,
0.4072265625,
0.810546875,
0.43505859375,
0.5849609375,
0.43505859375
],
[
0.66015625,
0.40283203125,
0.7060546875,
0.393310546875,
0.71337890625,
0.41357421875,
0.66650390625,
0.42236328125
],
[
0.85888671875,
0.410400390625,
0.89208984375,
0.410400390625,
0.89208984375,
0.425537109375,
0.85888671875,
0.425537109375
],
[
0.08416748046875,
0.4248046875,
0.46728515625,
0.4248046875,
0.46728515625,
0.43505859375,
0.08416748046875,
0.43505859375
],
[
0.08251953125,
0.40771484375,
0.468017578125,
0.40771484375,
0.468017578125,
0.421630859375,
0.08251953125,
0.421630859375
],
[
0.68310546875,
0.425537109375,
0.71142578125,
0.427978515625,
0.7099609375,
0.439453125,
0.68115234375,
0.4375
],
[
0.08251953125,
0.438232421875,
0.468017578125,
0.438232421875,
0.468017578125,
0.451904296875,
0.08251953125,
0.451904296875
],
[
0.08251953125,
0.45263671875,
0.468017578125,
0.45263671875,
0.468017578125,
0.466552734375,
0.08251953125,
0.466552734375
],
[
0.50341796875,
0.45068359375,
0.890625,
0.45068359375,
0.890625,
0.46533203125,
0.50341796875,
0.46533203125
],
[
0.080078125,
0.46728515625,
0.46728515625,
0.468505859375,
0.46728515625,
0.48291015625,
0.080078125,
0.481689453125
],
[
0.50341796875,
0.466552734375,
0.8896484375,
0.466552734375,
0.8896484375,
0.479736328125,
0.50341796875,
0.479736328125
],
[
0.08416748046875,
0.48291015625,
0.46728515625,
0.48291015625,
0.46728515625,
0.496826171875,
0.08416748046875,
0.496826171875
],
[
0.50341796875,
0.481689453125,
0.890625,
0.481689453125,
0.890625,
0.49560546875,
0.50341796875,
0.49560546875
],
[
0.08416748046875,
0.5,
0.33251953125,
0.5,
0.33251953125,
0.51025390625,
0.08416748046875,
0.51025390625
],
[
0.50244140625,
0.49755859375,
0.66650390625,
0.49755859375,
0.66650390625,
0.51123046875,
0.50244140625,
0.51123046875
],
[
0.223876953125,
0.52294921875,
0.3203125,
0.52294921875,
0.3203125,
0.548828125,
0.223876953125,
0.548828125
],
[
0.44677734375,
0.52783203125,
0.4697265625,
0.52783203125,
0.4697265625,
0.54150390625,
0.44677734375,
0.54150390625
],
[
0.50244140625,
0.52880859375,
0.740234375,
0.52880859375,
0.740234375,
0.54345703125,
0.50244140625,
0.54345703125
],
[
0.08087158203125,
0.55810546875,
0.468017578125,
0.55810546875,
0.468017578125,
0.5712890625,
0.08087158203125,
0.5712890625
],
[
0.52392578125,
0.5537109375,
0.890625,
0.5537109375,
0.890625,
0.5673828125,
0.52392578125,
0.5673828125
],
[
0.08087158203125,
0.57275390625,
0.46728515625,
0.57275390625,
0.46728515625,
0.5859375,
0.08087158203125,
0.5859375
],
[
0.50341796875,
0.5693359375,
0.890625,
0.5693359375,
0.890625,
0.58349609375,
0.50341796875,
0.58349609375
],
[
0.08087158203125,
0.58837890625,
0.468017578125,
0.58837890625,
0.468017578125,
0.6015625,
0.08087158203125,
0.6015625
],
[
0.5048828125,
0.58544921875,
0.88818359375,
0.58544921875,
0.88818359375,
0.5986328125,
0.5048828125,
0.5986328125
],
[
0.08251953125,
0.60302734375,
0.2442626953125,
0.60302734375,
0.2442626953125,
0.6171875,
0.08251953125,
0.6171875
],
[
0.50634765625,
0.60107421875,
0.88818359375,
0.60107421875,
0.88818359375,
0.611328125,
0.50634765625,
0.611328125
],
[
0.10296630859375,
0.619140625,
0.181396484375,
0.619140625,
0.181396484375,
0.630859375,
0.10296630859375,
0.630859375
],
[
0.5048828125,
0.6142578125,
0.890625,
0.6142578125,
0.890625,
0.62744140625,
0.5048828125,
0.62744140625
],
[
0.50634765625,
0.630859375,
0.88818359375,
0.630859375,
0.88818359375,
0.6416015625,
0.50634765625,
0.6416015625
],
[
0.17724609375,
0.64599609375,
0.365234375,
0.64306640625,
0.365234375,
0.66552734375,
0.17724609375,
0.66748046875
],
[
0.44677734375,
0.6484375,
0.468017578125,
0.6484375,
0.468017578125,
0.6611328125,
0.44677734375,
0.6611328125
],
[
0.5048828125,
0.64453125,
0.890625,
0.64453125,
0.890625,
0.65771484375,
0.5048828125,
0.65771484375
],
[
0.5048828125,
0.66015625,
0.890625,
0.66015625,
0.890625,
0.673828125,
0.5048828125,
0.673828125
],
[
0.08087158203125,
0.67822265625,
0.318603515625,
0.67822265625,
0.318603515625,
0.69140625,
0.08087158203125,
0.69140625
],
[
0.5048828125,
0.6748046875,
0.8896484375,
0.6748046875,
0.8896484375,
0.68798828125,
0.5048828125,
0.68798828125
],
[
0.50341796875,
0.689453125,
0.8896484375,
0.68994140625,
0.8896484375,
0.7041015625,
0.50341796875,
0.70263671875
],
[
0.080078125,
0.7021484375,
0.3056640625,
0.70263671875,
0.3056640625,
0.71728515625,
0.080078125,
0.71630859375
],
[
0.50341796875,
0.70556640625,
0.8896484375,
0.70556640625,
0.8896484375,
0.7197265625,
0.50341796875,
0.7197265625
],
[
0.5048828125,
0.72021484375,
0.89208984375,
0.72021484375,
0.89208984375,
0.734375,
0.5048828125,
0.734375
],
[
0.10540771484375,
0.7265625,
0.465576171875,
0.7265625,
0.465576171875,
0.7373046875,
0.10540771484375,
0.7373046875
],
[
0.50244140625,
0.734375,
0.890625,
0.73486328125,
0.890625,
0.75,
0.50244140625,
0.74853515625
],
[
0.08251953125,
0.7412109375,
0.468017578125,
0.7412109375,
0.468017578125,
0.7548828125,
0.08251953125,
0.7548828125
],
[
0.50341796875,
0.75048828125,
0.890625,
0.75048828125,
0.890625,
0.7646484375,
0.50341796875,
0.7646484375
],
[
0.08087158203125,
0.7568359375,
0.468017578125,
0.7568359375,
0.468017578125,
0.77099609375,
0.08087158203125,
0.77099609375
],
[
0.080078125,
0.771484375,
0.238525390625,
0.771484375,
0.238525390625,
0.78515625,
0.080078125,
0.78515625
],
[
0.50634765625,
0.767578125,
0.8896484375,
0.767578125,
0.8896484375,
0.77783203125,
0.50634765625,
0.77783203125
],
[
0.50341796875,
0.77880859375,
0.89208984375,
0.77978515625,
0.89208984375,
0.79443359375,
0.50341796875,
0.79345703125
],
[
0.1405029296875,
0.7998046875,
0.46728515625,
0.7998046875,
0.46728515625,
0.81298828125,
0.1405029296875,
0.81298828125
],
[
0.5048828125,
0.796875,
0.60107421875,
0.796875,
0.60107421875,
0.80810546875,
0.5048828125,
0.80810546875
],
[
0.52392578125,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.52392578125,
0.82470703125
],
[
0.098876953125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.098876953125,
0.84033203125
],
[
0.50341796875,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.50341796875,
0.84033203125
],
[
0.08251953125,
0.84130859375,
0.468017578125,
0.84130859375,
0.468017578125,
0.85498046875,
0.08251953125,
0.85498046875
],
[
0.50341796875,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.50341796875,
0.85498046875
],
[
0.080078125,
0.85595703125,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.080078125,
0.869140625
],
[
0.50244140625,
0.85693359375,
0.8896484375,
0.85693359375,
0.8896484375,
0.87060546875,
0.50244140625,
0.87060546875
],
[
0.08251953125,
0.87353515625,
0.46728515625,
0.87353515625,
0.46728515625,
0.8837890625,
0.08251953125,
0.8837890625
],
[
0.50341796875,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.50341796875,
0.88525390625
],
[
0.08251953125,
0.88720703125,
0.4697265625,
0.88720703125,
0.4697265625,
0.90087890625,
0.08251953125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.89208984375,
0.88720703125,
0.89208984375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"其中逆协方差矩阵A被定义为显示每对节点的连接,",
"",
"ProhabiliuM",
"并且移位向量6由轨迹的运动定义。边际后验概率的",
"福",
"福",
"",
"封闭形式解为p(mtPk)=N(t),其中t",
"是A-1b的i-th条目,而%t是(A-1)i条目。估计",
"的运动场如图2所示",
"6.Bayesian Filtering",
"概率图的推断可以作为隐马尔可夫模型上的顺序贝",
"叶斯滤波来执行。在本节中,我们首先预测给定运动模",
"型的每一层的外观模型和先验概率,然后用当前顿中",
"Figure 3: Inside the dotted box, three probability maps",
"的新观察值推断后验概率。为了简化表达式,我们删除",
"are demonstrated: the background layer, foregroundi",
"了论文其余部分中的下标k。请注意,在每一层的过",
"程是相同的",
"layer(woman on the right), foreground2 layer(woman",
"on the left). Note that the lighter color represents the",
"6.1.ModelPropogation",
"high confidence. Two images in the bottom show the",
"input image and the result of Multilabel Segmentation.",
"给定估计的运动模型P(MtPt)的概率分布,我们",
"可以通过传播来自前一顿的相应模型和地图来估计当",
"i-th像素a的外观模型涉及从预览顿累积的颜色特征",
"前顿中的外观模型和概率图。具体来说,运动矢量准确",
"(I池。观测值P(I)的似然估计为:",
"地描述了像素在连续顿之间的移动方式。因此,借助当",
"前顿中像素的运动信息,我们可以通过传播前一顿中",
"P(1i) =Ke(f - ),",
"1",
"(10)",
"个像素的运动失量在二维空间上具有高斯分布。在整",
"相应像素的外观来轻松获得该像素的外观。然而,每",
"f=1",
"个高斯分布上边缘化外观是不切实际的。如果我们丢",
"弃运动矢量中的不确定性并将方差设置为0,则将高斯",
"其中KG()是高斯核函数,I是为KDE建模而存储",
"分布简化为Diracdelta函数P(miPt)=(mt一.t)",
"的f中的颜色特征,N=20是存储的先前的数",
"。然后,将整个外观模型的边缘化简化为特定像素的参",
"量。每层产生的后验概率图通过分割函数归一化,然后",
"与。i-th像素的外观模型可以通过",
"用作多标签分割的知识",
"at = a(ini,",
"(7)",
"7:Multilabel Segmentation",
"轻松获得,其中函数Φ(i,)是通过根据关联的运动失",
"随着手头所有层的归一化概率图的收集,我们对前",
"量反向移动i-th像素来获得前一顿中的相应索引。",
"景对象分割的最终任务是对整个顿执行逐像素标记。此",
"在实践中,我们发现这种近似几乎没有性能下降,同时",
"分段问题可以转换为成对MRF上的能量最小化问题",
"节省了大量的计算成本",
"该问题可以通过图切割17进行多项式求解。由于分",
"同样,通过",
"割问题的不适定性,总是需要正则化。对于我们的问",
"题,我们设计了两个正则化:平滑成本和标签成本,分",
"Pprior(Pt) = P(()",
"(8)",
"别优先于标签的平滑度和分配的较少的唯一标签。全局",
"能量函数表示为:<NEXTLINXNEXE>mathfonts",
"获得每层中i-th像素的先验概率",
"(1i)的ith像素的负对数概率。平滑成本定义为两个",
"相邻像素E(Ii,I)=-logN(IiIj,a)的相似度,如",
"6.2. Probability Map Update",
"果li,l具有相同的标签,则qi作为符号函数等于",
"+1;否则-1。此外,在标签成本方面,hk是标签k",
"日从上一顿传播了外观模型和概率图,就可以以",
"的非负标签成本。如果3i:li=k;和0否则,S%(f)",
"当前顿工作为新的观察值来推断每层的后验概率图。",
"是定义为8k(C)=1的相应指标函数。^1,2是非负参",
"在假设像素之间独立的情况下,通过等式(9)计算",
"i-th像素的后验概率。",
"数,用于平衡数据成本与这两个正则化(在我们的工作",
"中都是1)。使用[6]中提出的方法可以有效地求解能",
"Ppost(l/It, Pt) α P(I)Pprior(/Pt),(9)",
"量最小化函数",
"值得注意的是,当场景中出现新的前景对象或处理",
"i-th像素P(I)中观察到的可能性本质上是描述",
"初始顿时,用于构建外观模型的特征样本通常不足以",
"外观在每个层中与外观模型的拟合程度。核密度估",
"进行内核密度估计。在KDE无效的这些情况下,概",
"计(KDE)作为一种非参数方法,可以有效地对背景",
"率图不再可用作多标签分割的数据成本。在能量函数",
"或前景进行建模,而不受超参数估计的限制。由于其",
"中定义数据成本项的另一种方法是基于标记的轨迹。",
"简单性和有效性,我们采用KDE技术进行外观建模。",
"E(I)=c如果l,=lp和-c否则,其中c是负常数,"
] |
{
"arxiv_id": "1709.01140",
"language": "zh",
"page_idx": 3
}
|
||
1709.01140-zh-4
|
1709.01140-zh-4.jpg
|
$l_p$是与 i-th 像素相关联的轨迹的标签。此定义只是简
化了运动性能,而不是外观模型
最后,根据像素的标签,通过将当前帧中的颜色特
征$I_t^i$添加到相应的外观模型中来更新外观模型$\mathcal{A}_t$
# 8. Experiments
我们基于两个标准定性和定量地评估我们的算法: 一个是正常的双标签背景减法,一个是多标签背景分割。前者使用 F 分数进行评估,这是常见的衡量标准。对于后者,由于据我们所知,以前没有人做过这样的工作,因此我们精心设计了合理的测量。结果表明,我们的方法在两种设置中都优于最先进的方法。数据集:在两个公共数据集上运行实验。霍普金斯数据集$\mathbb{E}[38]$ 中的一组序列 (cars1-8, people1-2) 通常用于对该主题进行定量评估,其中一些包含多个前景对象。为了定量评估性能,我们为所有帧手动生成了地面实况蒙版,包括前景对象的判别。另一个是复杂背景数据集 (CBD)☑ [25] , 其中复杂的背景和相机旋转带来了巨大的挑战
<table>
<tbody>
<tr>
<th> </th>
<th>MLBS</th>
<th>GBSSP</th>
<th>$FOF$</th>
<th>OMCBS</th>
<th>$GBS$</th>
<th>BSFMC</th>
</tr>
<tr>
<td>Carsl</td>
<td>92.04</td>
<td>87.14</td>
<td>50.84</td>
<td>91.77</td>
<td>80.30</td>
<td>73.13</td>
</tr>
<tr>
<td>Cars2</td>
<td>90.16</td>
<td>82.17</td>
<td>56.60</td>
<td>69.13</td>
<td>68.45</td>
<td>55.68</td>
</tr>
<tr>
<td>$cars3$</td>
<td>93.16</td>
<td>72.94</td>
<td>73.57</td>
<td>41.27</td>
<td>79.22</td>
<td>60.91</td>
</tr>
<tr>
<td>cars4</td>
<td>91.55</td>
<td>88.24</td>
<td>47.96</td>
<td>73.65</td>
<td>66.63</td>
<td>54.81</td>
</tr>
<tr>
<td>$cars5$</td>
<td>86.62</td>
<td>81.66</td>
<td>70.94</td>
<td>60.44</td>
<td>74.56</td>
<td>51.97</td>
</tr>
<tr>
<td>$cars6$</td>
<td>92.23</td>
<td>81.44</td>
<td>84.34</td>
<td>90.31</td>
<td>73.34</td>
<td>37.56</td>
</tr>
<tr>
<td>$\operatorname{cars7}$</td>
<td>91.17</td>
<td>90.86</td>
<td>42.92</td>
<td>89.87</td>
<td>69.10</td>
<td>40.35</td>
</tr>
<tr>
<td>cars8</td>
<td>85.93</td>
<td>86.85</td>
<td>87.61</td>
<td>83.84</td>
<td>80.29</td>
<td>62.42</td>
</tr>
<tr>
<td>peoplel</td>
<td>81.38</td>
<td>81.21</td>
<td>69.59</td>
<td>64.04</td>
<td>80.19</td>
<td>34.25</td>
</tr>
<tr>
<td>people2</td>
<td>94.34</td>
<td>84.74</td>
<td>88.40</td>
<td>89.32</td>
<td>81.40</td>
<td>64.92</td>
</tr>
<tr>
<td>drive</td>
<td>65.95</td>
<td>53.55</td>
<td>61.80</td>
<td>13.68</td>
<td>5.18</td>
<td>2.02</td>
</tr>
<tr>
<td>forest</td>
<td>72.20</td>
<td>91.44</td>
<td>31.44</td>
<td>42.99</td>
<td>23.19</td>
<td>16.76</td>
</tr>
<tr>
<td>$\operatorname{parking}$</td>
<td>83.66</td>
<td>68.97</td>
<td>73.19</td>
<td>11.47</td>
<td>11.02</td>
<td>13.05</td>
</tr>
<tr>
<td>store</td>
<td>86.28</td>
<td>83.44</td>
<td>70.74</td>
<td>10.18</td>
<td>21.42</td>
<td>8.83</td>
</tr>
<tr>
<td>traffc</td>
<td>48.19</td>
<td>31.31</td>
<td>71.24</td>
<td>41.49</td>
<td>24.14</td>
<td>27.49</td>
</tr>
<tr>
<td>Overall</td>
<td>83.66</td>
<td>77.73</td>
<td>65.45</td>
<td>58.23</td>
<td>55.90</td>
<td>40.28</td>
</tr>
</tbody>
</table>
Table 1: Two-label background subtraction performance comparison with the F-score( $\%)$ on Hopkins and CBD Dataset. Best performance scores are high- $\operatorname{lighted}$ in bold.
# 8.1. Two-label Background Subtraction
将我们的框架的性能(表示为 MLBS(多层背景减法) ) 与五种最先进的算法进行比较:GBSSP $|22|~$, FOF[25],OMCBS[9],GBS[20]和BMCSF[31]。GBS 需要每个帧的初始化标签作为附加输入,GBSSP 需要第一帧的地面实况作为初始化。为了公平比较,我们向 GBS 提供 BSFMC 的标记结果 , 并向 GBSSP 提供由我们的方法生成的第一帧的标记结果。请注意,我
们的 MLBS 方法不需要这些附加信息,而是自动完成自初始化。此外,我们使用作者在外部方法中提供的参数,并在所有实验中为每个算法固定它们
两个数据集的定量比较如表 1 所示。可以看出,在大多数测试序列上,所提出的方法优于文献中的其他方法。特别是在对象被遮挡然后分离的情况下,例如cars3 和 people2, 多层策略通过 F 得分的大幅提升来提升性能。这是因为我们的方法可以准确地估计前景物体的单独运动模型,而不是整个前景只有一个模糊模型,并且单独的外观模型全面地提供了概率推理的证据。我们方法的总体 F 得分明显高于现有技术的最佳得分 (83。66%vs77。73%)
为了评估所提出的方法处理多个对象的能力,我们根据场景中移动对象的数量将 suquences 分为三个场景,并在表$\overline{\mathbb{E}}$2 中报告每个场景的平均 F 得分。在单对象场景中,我们的方法比第二好的方法表现出很小的幅度(84。05%vs80。70%)。但是随着对象数量的增加,边距也会增加(3。4%vs8。0$\%vs8。7%)。它清楚地$ 表明了我们的方法在复杂场景中的出色能力
<table>
<tbody>
<tr>
<th> </th>
<th>MLBS</th>
<th>GBSSP</th>
<th>$FOF$</th>
<th>OMCBS</th>
<th>$GBS$</th>
<th>BSFMC</th>
</tr>
<tr>
<td>1</td>
<td>84.05</td>
<td>80.70</td>
<td>59.20</td>
<td>54.22</td>
<td>47.82</td>
<td>31.20</td>
</tr>
<tr>
<td>2</td>
<td>91.14</td>
<td>81.51</td>
<td>83.19</td>
<td>71.48</td>
<td>80.30</td>
<td>62.75</td>
</tr>
<tr>
<td>3</td>
<td>74.99</td>
<td>65.05</td>
<td>66.26</td>
<td>57.02</td>
<td>55.72</td>
<td>45.05</td>
</tr>
</tbody>
</table>
Table 2: Two-label background subtraction performance comparison on the videos with different numbers of moving objects. Best performance scores are highlighted in bold.
图 4 中说明了与三种算法的定性比较。我们选择两个代表性的序列 (cars5 和 people2),其中至少两个前景对象出现在场景中,来自霍普金斯数据集,一个序列 (森林) 来自 CBD。值得注意的是,当背景场景复杂并且对象的运动不是简单地在同一方向上时,我们的 MLBS 算法可以准确地分离运动对象和背景。例如, 在 people2 的序列中,两个朝不同方向行走,被遮挡然后分开的女人被精确地分开,而其他方法错误地标记了新出现的背景区域(例如。g。黑色垃圾桶)作为前景。
8.2. Multilabel Background Subtraction
我们还评估了分离不同前景对象的能力。据我们所知,由于以前没有人做过这样的工作,我们设计了一个基线来比较性能。补充材料中显示了有关基线的详细信息。此外,[26]提出了一种离线方法(SLT)来解决基于长期视频分析的视频分割问题,并取得了先进的性能。由于该方法没有前景和背景的区分,因此我们通过将背景标签手动分配给最佳拟合的分割区域来对其进行修改,并与之进行比较
为了进行定量比较,我们通过修改[26]中使用的度量来设计度量。令$g_i$表示地面实况中的前景区域,$c_i$ 表示算法生成的掩码中的相应区域,|.|表示区域内的
|
[
[
0.08087158203125,
0.09344482421875,
0.468017578125,
0.09344482421875,
0.468017578125,
0.106689453125,
0.08087158203125,
0.106689453125
],
[
0.50341796875,
0.09344482421875,
0.890625,
0.09344482421875,
0.890625,
0.106689453125,
0.50341796875,
0.106689453125
],
[
0.08416748046875,
0.10986328125,
0.30810546875,
0.10986328125,
0.30810546875,
0.12060546875,
0.08416748046875,
0.12060546875
],
[
0.50732421875,
0.10986328125,
0.8896484375,
0.10986328125,
0.8896484375,
0.12060546875,
0.50732421875,
0.12060546875
],
[
0.101318359375,
0.12371826171875,
0.468017578125,
0.12371826171875,
0.468017578125,
0.136962890625,
0.101318359375,
0.136962890625
],
[
0.50341796875,
0.12371826171875,
0.7998046875,
0.12371826171875,
0.7998046875,
0.136962890625,
0.50341796875,
0.136962890625
],
[
0.08251953125,
0.14013671875,
0.438720703125,
0.14013671875,
0.438720703125,
0.15087890625,
0.08251953125,
0.15087890625
],
[
0.52392578125,
0.14013671875,
0.890625,
0.14013671875,
0.890625,
0.15087890625,
0.52392578125,
0.15087890625
],
[
0.50341796875,
0.154052734375,
0.890625,
0.154052734375,
0.890625,
0.1673583984375,
0.50341796875,
0.1673583984375
],
[
0.080078125,
0.1666259765625,
0.21728515625,
0.1666259765625,
0.21728515625,
0.179931640625,
0.080078125,
0.179931640625
],
[
0.50341796875,
0.1673583984375,
0.8896484375,
0.1673583984375,
0.8896484375,
0.18115234375,
0.50341796875,
0.18115234375
],
[
0.50341796875,
0.184326171875,
0.890625,
0.184326171875,
0.890625,
0.1976318359375,
0.50341796875,
0.1976318359375
],
[
0.1004638671875,
0.1912841796875,
0.468017578125,
0.1912841796875,
0.468017578125,
0.2052001953125,
0.1004638671875,
0.2052001953125
],
[
0.50341796875,
0.1988525390625,
0.890625,
0.1988525390625,
0.890625,
0.212158203125,
0.50341796875,
0.212158203125
],
[
0.08660888671875,
0.2052001953125,
0.46728515625,
0.205810546875,
0.46728515625,
0.2197265625,
0.08660888671875,
0.2183837890625
],
[
0.50341796875,
0.21337890625,
0.890625,
0.21337890625,
0.890625,
0.2266845703125,
0.50341796875,
0.2266845703125
],
[
0.08087158203125,
0.2215576171875,
0.4697265625,
0.2215576171875,
0.4697265625,
0.23486328125,
0.08087158203125,
0.23486328125
],
[
0.50341796875,
0.2291259765625,
0.890625,
0.2291259765625,
0.890625,
0.242431640625,
0.50341796875,
0.242431640625
],
[
0.08087158203125,
0.236083984375,
0.468017578125,
0.23486328125,
0.468017578125,
0.248779296875,
0.08087158203125,
0.25
],
[
0.5048828125,
0.24560546875,
0.8896484375,
0.24560546875,
0.8896484375,
0.255615234375,
0.5048828125,
0.255615234375
],
[
0.08087158203125,
0.251953125,
0.468017578125,
0.251953125,
0.468017578125,
0.26513671875,
0.08087158203125,
0.26513671875
],
[
0.50341796875,
0.2587890625,
0.71337890625,
0.2587890625,
0.71337890625,
0.272705078125,
0.50341796875,
0.272705078125
],
[
0.08251953125,
0.268310546875,
0.46728515625,
0.268310546875,
0.46728515625,
0.279052734375,
0.08251953125,
0.279052734375
],
[
0.52392578125,
0.274658203125,
0.890625,
0.274658203125,
0.890625,
0.28857421875,
0.52392578125,
0.28857421875
],
[
0.08251953125,
0.285888671875,
0.468017578125,
0.285888671875,
0.468017578125,
0.2998046875,
0.08251953125,
0.2998046875
],
[
0.5048828125,
0.2890625,
0.890625,
0.2890625,
0.890625,
0.302978515625,
0.5048828125,
0.302978515625
],
[
0.08087158203125,
0.300537109375,
0.468017578125,
0.300537109375,
0.468017578125,
0.314453125,
0.08087158203125,
0.314453125
],
[
0.5048828125,
0.30615234375,
0.8896484375,
0.30615234375,
0.8896484375,
0.31640625,
0.5048828125,
0.31640625
],
[
0.08087158203125,
0.31494140625,
0.468017578125,
0.31494140625,
0.468017578125,
0.330078125,
0.08087158203125,
0.330078125
],
[
0.5048828125,
0.3212890625,
0.8896484375,
0.3212890625,
0.8896484375,
0.33203125,
0.5048828125,
0.33203125
],
[
0.08087158203125,
0.330810546875,
0.468017578125,
0.330810546875,
0.468017578125,
0.3447265625,
0.08087158203125,
0.3447265625
],
[
0.50341796875,
0.333984375,
0.890625,
0.333984375,
0.890625,
0.347900390625,
0.50341796875,
0.347900390625
],
[
0.08416748046875,
0.347900390625,
0.468017578125,
0.347900390625,
0.468017578125,
0.35791015625,
0.08416748046875,
0.35791015625
],
[
0.50341796875,
0.349853515625,
0.890625,
0.349853515625,
0.890625,
0.363037109375,
0.50341796875,
0.363037109375
],
[
0.08251953125,
0.363037109375,
0.453369140625,
0.363037109375,
0.453369140625,
0.373779296875,
0.08251953125,
0.373779296875
],
[
0.50244140625,
0.363037109375,
0.81201171875,
0.363037109375,
0.81201171875,
0.376953125,
0.50244140625,
0.376953125
],
[
0.1478271484375,
0.393310546875,
0.2017822265625,
0.393310546875,
0.2017822265625,
0.40771484375,
0.1478271484375,
0.40771484375
],
[
0.1895751953125,
0.393310546875,
0.261474609375,
0.393310546875,
0.261474609375,
0.40771484375,
0.1895751953125,
0.40771484375
],
[
0.2607421875,
0.393310546875,
0.306396484375,
0.393310546875,
0.306396484375,
0.40771484375,
0.2607421875,
0.40771484375
],
[
0.313720703125,
0.393310546875,
0.378173828125,
0.393310546875,
0.378173828125,
0.40771484375,
0.313720703125,
0.40771484375
],
[
0.384033203125,
0.393310546875,
0.4248046875,
0.393310546875,
0.4248046875,
0.40771484375,
0.384033203125,
0.40771484375
],
[
0.4306640625,
0.393310546875,
0.49267578125,
0.393310546875,
0.49267578125,
0.40771484375,
0.4306640625,
0.40771484375
],
[
0.54150390625,
0.395751953125,
0.65625,
0.395751953125,
0.65625,
0.410400390625,
0.54150390625,
0.410400390625
],
[
0.6611328125,
0.395751953125,
0.70166015625,
0.395751953125,
0.70166015625,
0.410400390625,
0.6611328125,
0.410400390625
],
[
0.708984375,
0.397705078125,
0.77294921875,
0.397705078125,
0.77294921875,
0.4091796875,
0.708984375,
0.4091796875
],
[
0.775390625,
0.399658203125,
0.78173828125,
0.399658203125,
0.78173828125,
0.404052734375,
0.775390625,
0.404052734375
],
[
0.77783203125,
0.396484375,
0.88623046875,
0.396484375,
0.88623046875,
0.410400390625,
0.77783203125,
0.410400390625
],
[
0.148681640625,
0.417236328125,
0.193603515625,
0.417236328125,
0.193603515625,
0.43310546875,
0.148681640625,
0.43310546875
],
[
0.324462890625,
0.417236328125,
0.366943359375,
0.417236328125,
0.366943359375,
0.43310546875,
0.324462890625,
0.43310546875
],
[
0.38232421875,
0.417236328125,
0.426513671875,
0.417236328125,
0.426513671875,
0.43310546875,
0.38232421875,
0.43310546875
],
[
0.439453125,
0.415283203125,
0.483642578125,
0.417236328125,
0.48193359375,
0.43310546875,
0.438720703125,
0.43115234375
],
[
0.2099609375,
0.41845703125,
0.2548828125,
0.41845703125,
0.2548828125,
0.43310546875,
0.2099609375,
0.43310546875
],
[
0.09234619140625,
0.41845703125,
0.13232421875,
0.41845703125,
0.13232421875,
0.43310546875,
0.09234619140625,
0.43310546875
],
[
0.265625,
0.41845703125,
0.3095703125,
0.41845703125,
0.3095703125,
0.43310546875,
0.265625,
0.43310546875
],
[
0.5439453125,
0.41845703125,
0.5888671875,
0.41845703125,
0.5888671875,
0.434326171875,
0.5439453125,
0.434326171875
],
[
0.60546875,
0.419189453125,
0.64892578125,
0.419189453125,
0.64892578125,
0.434326171875,
0.60546875,
0.434326171875
],
[
0.66015625,
0.419189453125,
0.70361328125,
0.419189453125,
0.70361328125,
0.434326171875,
0.66015625,
0.434326171875
],
[
0.71826171875,
0.419189453125,
0.76123046875,
0.419189453125,
0.76123046875,
0.434326171875,
0.71826171875,
0.434326171875
],
[
0.77783203125,
0.419189453125,
0.8203125,
0.419189453125,
0.8203125,
0.434326171875,
0.77783203125,
0.434326171875
],
[
0.833984375,
0.419189453125,
0.87744140625,
0.419189453125,
0.87744140625,
0.434326171875,
0.833984375,
0.434326171875
],
[
0.1502685546875,
0.43310546875,
0.1953125,
0.43310546875,
0.1953125,
0.447509765625,
0.1502685546875,
0.447509765625
],
[
0.2115478515625,
0.43310546875,
0.253173828125,
0.43310546875,
0.253173828125,
0.447509765625,
0.2115478515625,
0.447509765625
],
[
0.265625,
0.43310546875,
0.3095703125,
0.43310546875,
0.3095703125,
0.447509765625,
0.265625,
0.447509765625
],
[
0.325927734375,
0.43310546875,
0.36767578125,
0.43310546875,
0.36767578125,
0.447509765625,
0.325927734375,
0.447509765625
],
[
0.38232421875,
0.43310546875,
0.426513671875,
0.43310546875,
0.426513671875,
0.447509765625,
0.38232421875,
0.447509765625
],
[
0.439453125,
0.43310546875,
0.483642578125,
0.43310546875,
0.483642578125,
0.447509765625,
0.439453125,
0.447509765625
],
[
0.5146484375,
0.427978515625,
0.52294921875,
0.421630859375,
0.529296875,
0.4267578125,
0.521484375,
0.43310546875
],
[
0.5439453125,
0.434326171875,
0.5888671875,
0.434326171875,
0.5888671875,
0.449462890625,
0.5439453125,
0.449462890625
],
[
0.60546875,
0.434326171875,
0.64892578125,
0.434326171875,
0.64892578125,
0.449462890625,
0.60546875,
0.449462890625
],
[
0.66015625,
0.434326171875,
0.70361328125,
0.434326171875,
0.70361328125,
0.449462890625,
0.66015625,
0.449462890625
],
[
0.77685546875,
0.434326171875,
0.82177734375,
0.434326171875,
0.82177734375,
0.449462890625,
0.77685546875,
0.449462890625
],
[
0.833984375,
0.434326171875,
0.87744140625,
0.434326171875,
0.87744140625,
0.449462890625,
0.833984375,
0.449462890625
],
[
0.7197265625,
0.43505859375,
0.76318359375,
0.43505859375,
0.76318359375,
0.449462890625,
0.7197265625,
0.449462890625
],
[
0.0931396484375,
0.43505859375,
0.134033203125,
0.43505859375,
0.134033203125,
0.4462890625,
0.0931396484375,
0.4462890625
],
[
0.515625,
0.436279296875,
0.52783203125,
0.436279296875,
0.52783203125,
0.447509765625,
0.515625,
0.447509765625
],
[
0.324462890625,
0.44580078125,
0.36767578125,
0.447509765625,
0.366943359375,
0.46337890625,
0.32275390625,
0.4609375
],
[
0.38232421875,
0.4462890625,
0.426513671875,
0.448974609375,
0.4248046875,
0.46337890625,
0.381591796875,
0.4609375
],
[
0.265625,
0.447509765625,
0.3095703125,
0.447509765625,
0.3095703125,
0.46337890625,
0.265625,
0.46337890625
],
[
0.2115478515625,
0.447509765625,
0.2548828125,
0.447509765625,
0.2548828125,
0.462158203125,
0.2115478515625,
0.462158203125
],
[
0.439453125,
0.447509765625,
0.48193359375,
0.447509765625,
0.48193359375,
0.462158203125,
0.439453125,
0.462158203125
],
[
0.1519775390625,
0.449462890625,
0.193603515625,
0.449462890625,
0.193603515625,
0.4609375,
0.1519775390625,
0.4609375
],
[
0.09234619140625,
0.448974609375,
0.1356201171875,
0.448974609375,
0.1356201171875,
0.46337890625,
0.09234619140625,
0.46337890625
],
[
0.5390625,
0.449462890625,
0.5888671875,
0.449462890625,
0.5888671875,
0.464111328125,
0.5390625,
0.464111328125
],
[
0.60546875,
0.449462890625,
0.64892578125,
0.449462890625,
0.64892578125,
0.464111328125,
0.60546875,
0.464111328125
],
[
0.6611328125,
0.449462890625,
0.70361328125,
0.449462890625,
0.70361328125,
0.464111328125,
0.6611328125,
0.464111328125
],
[
0.71826171875,
0.449462890625,
0.76318359375,
0.449462890625,
0.76318359375,
0.464111328125,
0.71826171875,
0.464111328125
],
[
0.775390625,
0.449462890625,
0.82177734375,
0.449462890625,
0.82177734375,
0.464111328125,
0.775390625,
0.464111328125
],
[
0.8349609375,
0.449462890625,
0.87841796875,
0.449462890625,
0.87841796875,
0.464111328125,
0.8349609375,
0.464111328125
],
[
0.09234619140625,
0.46337890625,
0.1356201171875,
0.46337890625,
0.1356201171875,
0.477783203125,
0.09234619140625,
0.477783203125
],
[
0.50634765625,
0.45068359375,
0.54150390625,
0.45068359375,
0.54150390625,
0.46337890625,
0.50634765625,
0.46337890625
],
[
0.1502685546875,
0.46337890625,
0.1953125,
0.46337890625,
0.1953125,
0.477783203125,
0.1502685546875,
0.477783203125
],
[
0.2115478515625,
0.46337890625,
0.253173828125,
0.46337890625,
0.253173828125,
0.477783203125,
0.2115478515625,
0.477783203125
],
[
0.265625,
0.46337890625,
0.3095703125,
0.46337890625,
0.3095703125,
0.477783203125,
0.265625,
0.477783203125
],
[
0.324462890625,
0.46337890625,
0.36767578125,
0.46337890625,
0.36767578125,
0.477783203125,
0.324462890625,
0.477783203125
],
[
0.38232421875,
0.46337890625,
0.426513671875,
0.46337890625,
0.426513671875,
0.477783203125,
0.38232421875,
0.477783203125
],
[
0.439453125,
0.46337890625,
0.48193359375,
0.46337890625,
0.48193359375,
0.477783203125,
0.439453125,
0.477783203125
],
[
0.265625,
0.47607421875,
0.3095703125,
0.477783203125,
0.30810546875,
0.49365234375,
0.2646484375,
0.4912109375
],
[
0.38232421875,
0.47607421875,
0.426513671875,
0.477783203125,
0.4248046875,
0.49365234375,
0.381591796875,
0.4912109375
],
[
0.439453125,
0.47607421875,
0.483642578125,
0.477783203125,
0.48193359375,
0.49365234375,
0.438720703125,
0.4912109375
],
[
0.576171875,
0.4765625,
0.890625,
0.477783203125,
0.890625,
0.492431640625,
0.576171875,
0.4912109375
],
[
0.1519775390625,
0.477783203125,
0.1953125,
0.477783203125,
0.1953125,
0.492431640625,
0.1519775390625,
0.492431640625
],
[
0.09234619140625,
0.477783203125,
0.1356201171875,
0.477783203125,
0.1356201171875,
0.492431640625,
0.09234619140625,
0.492431640625
],
[
0.2115478515625,
0.477783203125,
0.2548828125,
0.477783203125,
0.2548828125,
0.492431640625,
0.2115478515625,
0.492431640625
],
[
0.325927734375,
0.477783203125,
0.36767578125,
0.477783203125,
0.36767578125,
0.492431640625,
0.325927734375,
0.492431640625
],
[
0.50341796875,
0.479248046875,
0.57421875,
0.479248046875,
0.57421875,
0.490478515625,
0.50341796875,
0.490478515625
],
[
0.57421875,
0.481689453125,
0.5810546875,
0.481689453125,
0.5810546875,
0.4873046875,
0.57421875,
0.4873046875
],
[
0.1502685546875,
0.49365234375,
0.1953125,
0.49365234375,
0.1953125,
0.50830078125,
0.1502685546875,
0.50830078125
],
[
0.2099609375,
0.49365234375,
0.2548828125,
0.49365234375,
0.2548828125,
0.50830078125,
0.2099609375,
0.50830078125
],
[
0.265625,
0.49365234375,
0.310546875,
0.49365234375,
0.310546875,
0.50830078125,
0.265625,
0.50830078125
],
[
0.324462890625,
0.49365234375,
0.366943359375,
0.49365234375,
0.366943359375,
0.50830078125,
0.324462890625,
0.50830078125
],
[
0.38232421875,
0.49365234375,
0.426513671875,
0.49365234375,
0.426513671875,
0.50830078125,
0.38232421875,
0.50830078125
],
[
0.438720703125,
0.49365234375,
0.483642578125,
0.49365234375,
0.483642578125,
0.50830078125,
0.438720703125,
0.50830078125
],
[
0.50244140625,
0.49365234375,
0.8896484375,
0.49365234375,
0.8896484375,
0.5068359375,
0.50244140625,
0.5068359375
],
[
0.1502685546875,
0.50830078125,
0.193603515625,
0.50830078125,
0.193603515625,
0.52294921875,
0.1502685546875,
0.52294921875
],
[
0.09234619140625,
0.49560546875,
0.134033203125,
0.49560546875,
0.134033203125,
0.5068359375,
0.09234619140625,
0.5068359375
],
[
0.2099609375,
0.50830078125,
0.253173828125,
0.50830078125,
0.253173828125,
0.52294921875,
0.2099609375,
0.52294921875
],
[
0.26708984375,
0.50830078125,
0.3095703125,
0.50830078125,
0.3095703125,
0.52294921875,
0.26708984375,
0.52294921875
],
[
0.325927734375,
0.50830078125,
0.366943359375,
0.50830078125,
0.366943359375,
0.52294921875,
0.325927734375,
0.52294921875
],
[
0.38232421875,
0.50830078125,
0.426513671875,
0.50830078125,
0.426513671875,
0.52294921875,
0.38232421875,
0.52294921875
],
[
0.439453125,
0.50830078125,
0.483642578125,
0.50830078125,
0.483642578125,
0.52294921875,
0.439453125,
0.52294921875
],
[
0.50244140625,
0.5087890625,
0.890625,
0.5087890625,
0.890625,
0.52294921875,
0.50244140625,
0.52294921875
],
[
0.09234619140625,
0.5234375,
0.1356201171875,
0.5234375,
0.1356201171875,
0.53857421875,
0.09234619140625,
0.53857421875
],
[
0.09234619140625,
0.5087890625,
0.134033203125,
0.5087890625,
0.134033203125,
0.5234375,
0.09234619140625,
0.5234375
],
[
0.1519775390625,
0.5234375,
0.1953125,
0.5234375,
0.1953125,
0.53857421875,
0.1519775390625,
0.53857421875
],
[
0.2115478515625,
0.5234375,
0.2548828125,
0.5234375,
0.2548828125,
0.53857421875,
0.2115478515625,
0.53857421875
],
[
0.265625,
0.5234375,
0.30810546875,
0.5234375,
0.30810546875,
0.53857421875,
0.265625,
0.53857421875
],
[
0.325927734375,
0.5234375,
0.36767578125,
0.5234375,
0.36767578125,
0.53857421875,
0.325927734375,
0.53857421875
],
[
0.439453125,
0.5234375,
0.483642578125,
0.5234375,
0.483642578125,
0.53857421875,
0.439453125,
0.53857421875
],
[
0.50244140625,
0.5234375,
0.6435546875,
0.5234375,
0.6435546875,
0.537109375,
0.50244140625,
0.537109375
],
[
0.1519775390625,
0.53857421875,
0.1953125,
0.53857421875,
0.1953125,
0.55322265625,
0.1519775390625,
0.55322265625
],
[
0.384033203125,
0.5244140625,
0.4248046875,
0.5244140625,
0.4248046875,
0.5361328125,
0.384033203125,
0.5361328125
],
[
0.2115478515625,
0.53857421875,
0.253173828125,
0.53857421875,
0.253173828125,
0.55322265625,
0.2115478515625,
0.55322265625
],
[
0.2646484375,
0.53857421875,
0.3095703125,
0.53857421875,
0.3095703125,
0.55322265625,
0.2646484375,
0.55322265625
],
[
0.325927734375,
0.53857421875,
0.36767578125,
0.53857421875,
0.36767578125,
0.55322265625,
0.325927734375,
0.55322265625
],
[
0.38232421875,
0.53857421875,
0.426513671875,
0.53857421875,
0.426513671875,
0.55322265625,
0.38232421875,
0.55322265625
],
[
0.438720703125,
0.53857421875,
0.483642578125,
0.53857421875,
0.483642578125,
0.55322265625,
0.438720703125,
0.55322265625
],
[
0.521484375,
0.55322265625,
0.890625,
0.5537109375,
0.890625,
0.568359375,
0.521484375,
0.5673828125
],
[
0.08416748046875,
0.5390625,
0.1405029296875,
0.5390625,
0.1405029296875,
0.5537109375,
0.08416748046875,
0.5537109375
],
[
0.1502685546875,
0.5537109375,
0.1953125,
0.5537109375,
0.1953125,
0.568359375,
0.1502685546875,
0.568359375
],
[
0.2115478515625,
0.5537109375,
0.2548828125,
0.5537109375,
0.2548828125,
0.568359375,
0.2115478515625,
0.568359375
],
[
0.265625,
0.5537109375,
0.3095703125,
0.5537109375,
0.3095703125,
0.568359375,
0.265625,
0.568359375
],
[
0.325927734375,
0.5537109375,
0.36767578125,
0.5537109375,
0.36767578125,
0.568359375,
0.325927734375,
0.568359375
],
[
0.38232421875,
0.5537109375,
0.426513671875,
0.5537109375,
0.426513671875,
0.568359375,
0.38232421875,
0.568359375
],
[
0.438720703125,
0.5537109375,
0.48193359375,
0.5537109375,
0.48193359375,
0.568359375,
0.438720703125,
0.568359375
],
[
0.50341796875,
0.568359375,
0.890625,
0.5693359375,
0.890625,
0.583984375,
0.50341796875,
0.58349609375
],
[
0.08087158203125,
0.5546875,
0.1446533203125,
0.55322265625,
0.1446533203125,
0.5673828125,
0.08087158203125,
0.5693359375
],
[
0.1502685546875,
0.57568359375,
0.193603515625,
0.57568359375,
0.193603515625,
0.59130859375,
0.1502685546875,
0.59130859375
],
[
0.324462890625,
0.57568359375,
0.36767578125,
0.57568359375,
0.36767578125,
0.59130859375,
0.324462890625,
0.59130859375
],
[
0.3857421875,
0.57568359375,
0.42236328125,
0.57568359375,
0.42236328125,
0.59130859375,
0.3857421875,
0.59130859375
],
[
0.443603515625,
0.57568359375,
0.4794921875,
0.57568359375,
0.4794921875,
0.59130859375,
0.443603515625,
0.59130859375
],
[
0.2099609375,
0.5771484375,
0.253173828125,
0.5771484375,
0.253173828125,
0.59130859375,
0.2099609375,
0.59130859375
],
[
0.09234619140625,
0.5771484375,
0.13232421875,
0.5771484375,
0.13232421875,
0.59130859375,
0.09234619140625,
0.59130859375
],
[
0.2646484375,
0.5771484375,
0.3095703125,
0.5771484375,
0.3095703125,
0.59130859375,
0.2646484375,
0.59130859375
],
[
0.5048828125,
0.58544921875,
0.890625,
0.58544921875,
0.890625,
0.5986328125,
0.5048828125,
0.5986328125
],
[
0.08905029296875,
0.59228515625,
0.1356201171875,
0.59228515625,
0.1356201171875,
0.60693359375,
0.08905029296875,
0.60693359375
],
[
0.15283203125,
0.59228515625,
0.1953125,
0.59228515625,
0.1953125,
0.60693359375,
0.15283203125,
0.60693359375
],
[
0.2646484375,
0.59228515625,
0.310546875,
0.59228515625,
0.310546875,
0.60693359375,
0.2646484375,
0.60693359375
],
[
0.325927734375,
0.59228515625,
0.36767578125,
0.59228515625,
0.36767578125,
0.60693359375,
0.325927734375,
0.60693359375
],
[
0.38232421875,
0.59228515625,
0.426513671875,
0.59228515625,
0.426513671875,
0.60693359375,
0.38232421875,
0.60693359375
],
[
0.441162109375,
0.59228515625,
0.483642578125,
0.59228515625,
0.483642578125,
0.60693359375,
0.441162109375,
0.60693359375
],
[
0.50244140625,
0.599609375,
0.8896484375,
0.60107421875,
0.8896484375,
0.6142578125,
0.50244140625,
0.61279296875
],
[
0.2115478515625,
0.59326171875,
0.253173828125,
0.59326171875,
0.253173828125,
0.60498046875,
0.2115478515625,
0.60498046875
],
[
0.1519775390625,
0.60693359375,
0.1953125,
0.60693359375,
0.1953125,
0.6220703125,
0.1519775390625,
0.6220703125
],
[
0.2099609375,
0.60693359375,
0.253173828125,
0.60693359375,
0.253173828125,
0.6220703125,
0.2099609375,
0.6220703125
],
[
0.265625,
0.60693359375,
0.3095703125,
0.60693359375,
0.3095703125,
0.6220703125,
0.265625,
0.6220703125
],
[
0.324462890625,
0.60693359375,
0.36767578125,
0.60693359375,
0.36767578125,
0.6220703125,
0.324462890625,
0.6220703125
],
[
0.38232421875,
0.60693359375,
0.4248046875,
0.60693359375,
0.4248046875,
0.6220703125,
0.38232421875,
0.6220703125
],
[
0.439453125,
0.60693359375,
0.483642578125,
0.60693359375,
0.483642578125,
0.6220703125,
0.439453125,
0.6220703125
],
[
0.50341796875,
0.61572265625,
0.890625,
0.61572265625,
0.890625,
0.62890625,
0.50341796875,
0.62890625
],
[
0.08416748046875,
0.60791015625,
0.143798828125,
0.60791015625,
0.143798828125,
0.62255859375,
0.08416748046875,
0.62255859375
],
[
0.1519775390625,
0.62255859375,
0.1953125,
0.62255859375,
0.1953125,
0.63720703125,
0.1519775390625,
0.63720703125
],
[
0.265625,
0.62255859375,
0.3095703125,
0.62255859375,
0.3095703125,
0.63720703125,
0.265625,
0.63720703125
],
[
0.44287109375,
0.6220703125,
0.48046875,
0.6220703125,
0.48046875,
0.63720703125,
0.44287109375,
0.63720703125
],
[
0.2132568359375,
0.62353515625,
0.253173828125,
0.62353515625,
0.253173828125,
0.63525390625,
0.2132568359375,
0.63525390625
],
[
0.09234619140625,
0.62353515625,
0.134033203125,
0.62353515625,
0.134033203125,
0.63818359375,
0.09234619140625,
0.63818359375
],
[
0.326904296875,
0.62353515625,
0.366943359375,
0.62353515625,
0.366943359375,
0.63525390625,
0.326904296875,
0.63525390625
],
[
0.384033203125,
0.62353515625,
0.4248046875,
0.62353515625,
0.4248046875,
0.63525390625,
0.384033203125,
0.63525390625
],
[
0.50341796875,
0.6298828125,
0.890625,
0.6298828125,
0.890625,
0.64306640625,
0.50341796875,
0.64306640625
],
[
0.1502685546875,
0.63720703125,
0.1953125,
0.63720703125,
0.1953125,
0.6513671875,
0.1502685546875,
0.6513671875
],
[
0.265625,
0.63720703125,
0.3095703125,
0.63720703125,
0.3095703125,
0.6513671875,
0.265625,
0.6513671875
],
[
0.324462890625,
0.63720703125,
0.36767578125,
0.63720703125,
0.36767578125,
0.6513671875,
0.324462890625,
0.6513671875
],
[
0.38232421875,
0.63720703125,
0.42724609375,
0.63720703125,
0.42724609375,
0.6513671875,
0.38232421875,
0.6513671875
],
[
0.2115478515625,
0.6396484375,
0.25244140625,
0.6396484375,
0.25244140625,
0.65087890625,
0.2115478515625,
0.65087890625
],
[
0.0882568359375,
0.63818359375,
0.136474609375,
0.63818359375,
0.136474609375,
0.65283203125,
0.0882568359375,
0.65283203125
],
[
0.439453125,
0.6396484375,
0.48046875,
0.6396484375,
0.48046875,
0.65087890625,
0.439453125,
0.65087890625
],
[
0.5048828125,
0.646484375,
0.8896484375,
0.646484375,
0.8896484375,
0.6572265625,
0.5048828125,
0.6572265625
],
[
0.08416748046875,
0.6611328125,
0.1446533203125,
0.6611328125,
0.1446533203125,
0.67529296875,
0.08416748046875,
0.67529296875
],
[
0.1502685546875,
0.6611328125,
0.1953125,
0.6611328125,
0.1953125,
0.67529296875,
0.1502685546875,
0.67529296875
],
[
0.2115478515625,
0.6611328125,
0.256591796875,
0.6611328125,
0.256591796875,
0.67529296875,
0.2115478515625,
0.67529296875
],
[
0.2646484375,
0.6611328125,
0.3095703125,
0.6611328125,
0.3095703125,
0.67529296875,
0.2646484375,
0.67529296875
],
[
0.324462890625,
0.6611328125,
0.36767578125,
0.6611328125,
0.36767578125,
0.67529296875,
0.324462890625,
0.67529296875
],
[
0.38232421875,
0.6611328125,
0.4306640625,
0.6611328125,
0.4306640625,
0.67529296875,
0.38232421875,
0.67529296875
],
[
0.439453125,
0.6611328125,
0.483642578125,
0.6611328125,
0.483642578125,
0.67529296875,
0.439453125,
0.67529296875
],
[
0.5048828125,
0.66015625,
0.890625,
0.66015625,
0.890625,
0.673828125,
0.5048828125,
0.673828125
],
[
0.256591796875,
0.66650390625,
0.265625,
0.66650390625,
0.265625,
0.67041015625,
0.256591796875,
0.67041015625
],
[
0.50732421875,
0.67529296875,
0.890625,
0.67529296875,
0.890625,
0.689453125,
0.50732421875,
0.689453125
],
[
0.08087158203125,
0.68994140625,
0.148681640625,
0.68994140625,
0.148681640625,
0.7021484375,
0.08087158203125,
0.7021484375
],
[
0.1519775390625,
0.68798828125,
0.46728515625,
0.689453125,
0.46728515625,
0.7041015625,
0.1519775390625,
0.70263671875
],
[
0.5048828125,
0.68994140625,
0.529296875,
0.68994140625,
0.529296875,
0.7041015625,
0.5048828125,
0.7041015625
],
[
0.080078125,
0.705078125,
0.468017578125,
0.705078125,
0.468017578125,
0.71826171875,
0.080078125,
0.71826171875
],
[
0.080078125,
0.71826171875,
0.46728515625,
0.7197265625,
0.46728515625,
0.734375,
0.080078125,
0.73291015625
],
[
0.50341796875,
0.71337890625,
0.81640625,
0.71337890625,
0.81640625,
0.72802734375,
0.50341796875,
0.72802734375
],
[
0.080078125,
0.73486328125,
0.1895751953125,
0.73486328125,
0.1895751953125,
0.74853515625,
0.080078125,
0.74853515625
],
[
0.525390625,
0.73779296875,
0.8896484375,
0.73779296875,
0.8896484375,
0.74853515625,
0.525390625,
0.74853515625
],
[
0.5048828125,
0.75048828125,
0.8896484375,
0.75048828125,
0.8896484375,
0.7646484375,
0.5048828125,
0.7646484375
],
[
0.08087158203125,
0.7734375,
0.38818359375,
0.7734375,
0.38818359375,
0.78857421875,
0.08087158203125,
0.78857421875
],
[
0.50634765625,
0.76806640625,
0.8896484375,
0.76806640625,
0.8896484375,
0.77880859375,
0.50634765625,
0.77880859375
],
[
0.5048828125,
0.7822265625,
0.890625,
0.7822265625,
0.890625,
0.79541015625,
0.5048828125,
0.79541015625
],
[
0.1004638671875,
0.796875,
0.468017578125,
0.796875,
0.468017578125,
0.81005859375,
0.1004638671875,
0.81005859375
],
[
0.5048828125,
0.798828125,
0.8896484375,
0.798828125,
0.8896484375,
0.8095703125,
0.5048828125,
0.8095703125
],
[
0.080078125,
0.81103515625,
0.471435546875,
0.81005859375,
0.471435546875,
0.82470703125,
0.080078125,
0.82568359375
],
[
0.5048828125,
0.81298828125,
0.8896484375,
0.81298828125,
0.8896484375,
0.82373046875,
0.5048828125,
0.82373046875
],
[
0.08087158203125,
0.8271484375,
0.471435546875,
0.8271484375,
0.471435546875,
0.84033203125,
0.08087158203125,
0.84033203125
],
[
0.50341796875,
0.8271484375,
0.89208984375,
0.8271484375,
0.89208984375,
0.84033203125,
0.50341796875,
0.84033203125
],
[
0.080078125,
0.84130859375,
0.46728515625,
0.84033203125,
0.46728515625,
0.85400390625,
0.080078125,
0.85498046875
],
[
0.50341796875,
0.84228515625,
0.69921875,
0.84228515625,
0.69921875,
0.85595703125,
0.50341796875,
0.85595703125
],
[
0.08251953125,
0.859375,
0.46728515625,
0.859375,
0.46728515625,
0.869140625,
0.08251953125,
0.869140625
],
[
0.52392578125,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.52392578125,
0.87060546875
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.08087158203125,
0.88623046875
],
[
0.5048828125,
0.87255859375,
0.88818359375,
0.87255859375,
0.88818359375,
0.88623046875,
0.5048828125,
0.88623046875
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"lp是与i-th像素相关联的轨迹的标签。此定义只是简",
"们的MLBS方法不需要这些附加信息,而是自动完成",
"化了运动性能,而不是外观模型",
"自初始化。此外,我们使用作者在外部方法中提供的参",
"最后,根据像素的标签,通过将当前顿中的颜色特",
"数,并在所有实验中为每个算法固定它们",
"征添加到相应的外观模型中来更新外观模型At",
"两个数据集的定量比较如表1所示。可以看出,在",
"大多数测试序列上,所提出的方法优于文献中的其他",
"8.Experiments",
"方法。特别是在对象被遮挡然后分离的情况下,例如",
"cars3和people2,多层策略通过F得分的大幅提升来",
"我们基于两个标准定性和定量地评估我们的算法:",
"提升性能。这是因为我们的方法可以准确地估计前景",
"一个是正常的双标签背景减法,一个是多标签背景分",
"物体的单独运动模型,而不是整个前景只有一个模糊",
"割。前者使用F分数进行评估,这是常见的衡量标准。",
"模型,并且单独的外观模型全面地提供了概率推理的",
"对于后者,由于据我们所知,以前没有人做过这样的工",
"证据。我们方法的总体F得分明显高于现有技术的最",
"作,因此我们精心设计了合理的测量。结果表明,我们",
"佳得分(83。66%vs77。73%)",
"的方法在两种设置中都优于最先进的方法。数据集:在",
"为了评估所提出的方法处理多个对象的能力,我们",
"两个公共数据集上运行实验。霍普金斯数据集E[38]中",
"根据场景中移动对象的数量将suquences分为三个场",
"的一组序列(cars1-8,peoplel-2)通常用于对该主题进",
"景,并在表F2中报告每个场景的平均F得分。在单",
"行定量评估,其中一些包含多个前景对象。为了定量评",
"对象场景中,我们的方法比第二好的方法表现出很小",
"估性能,我们为所有顿手动生成了地面实况蒙版,包括",
"的幅度(84。05%vs80。70%)。但是随着对象数量的增",
"前景对象的判别。另一个是复杂背景数据集(CBD)E",
"加,边距也会增加(3。4%vs8。0%vs8。7%)。它清楚地",
"25,其中复杂的背景和相机旋转带来了巨大的挑战",
"表明了我们的方法在复杂场景中的出色能力",
"MLBS",
"S GBSSP",
"FOF",
"OMCBS",
"GBS",
"BSFMC",
"MLBS GBSSP",
"FOF",
"OMCBS",
"",
"GBS BSFMC",
"92.04",
"91.77",
"80.30",
"73.13",
"87.14",
"cars1",
"50.84",
"84.05",
"80.70",
"59.20",
"54.22",
"47.82",
"31.20",
"90.16",
"82.17",
"56.60",
"69.13",
"68.45",
"55.68",
"Y",
"91.14",
"81.51",
"83.19",
"80.30",
"62.75",
"71.48",
"cars2",
"2",
"41.27",
"79.22",
"73.57",
"72.94",
"60.91",
"93.16",
"cars3",
"74.99",
"65.05",
"66.26",
"57.02",
"55.72",
"45.05",
"cars4",
"≥3",
"91.55",
"88.24",
"47.96",
"73.65",
"66.63",
"54.81",
"70.94",
"74.56",
"51.97",
"Two-label background subtraction perfor-",
"86.62",
"cars5",
"81.66",
"60.44",
"Table 2:",
"",
"92.23",
"81.44",
"84.34",
"90.31",
"73.34",
"37.56",
"mance comparison on the videos with different num-",
"91.17",
"cars6",
"90.86",
"42.92",
"89.87",
"69.10",
"40.35",
"bers of moving objects. Best performance scores are",
"cars8",
"cars7",
"85.93",
"86.85",
"87.61",
"83.84",
"62.42",
"highlighted in bold.",
"81.38",
"80.29",
"81.21",
"69.59",
"64.04",
"80.19",
"34.25",
"图4中说明了与三种算法的定性比较。我们选择两",
"peoplel",
"94.34",
"84.74",
"88.40",
"89.32",
"81.40",
"64.92",
"个代表性的序列(cars5和people2),其中至少两个前",
"people2",
"65.95",
"13.68",
"5.18",
"2.02",
"53.55",
"drive",
"61.80",
"景对象出现在场景中,来自霍普金斯数据集,一个序",
"forest",
"72.20",
"31.44",
"42.99",
"23.19",
"16.76",
"列(森林)来自CBD。值得注意的是,当背景场景复",
"91.44",
"83.66",
"68.97",
"73.19",
"11.47",
"11.02",
"13.05",
"杂并且对象的运动不是简单地在同一方向上时,我们",
"parking",
"86.28",
"70.74",
"8.83",
"83.44",
"store",
"10.18",
"21.42",
"的MLBS算法可以准确地分离运动对象和背景。例如",
"48.19",
"71.24",
"41.49",
"24.14",
"31.31",
"traffic",
"27.49",
"在people2的序列中,两个朝不同方向行走,被遮挡然",
"Overall ",
"83.66",
"77.73",
"65.45",
"58.23",
"55.90",
"40.28",
"后分开的女人被精确地分开,而其他方法错误地标记",
"",
"了新出现的背景区域(例如。g。黑色垃圾桶)作为前",
"Table 1:",
"Two-label background subtraction perfor-",
"景。",
"mance comparison with the F-score( % ) on Hopkins",
"and CBD Dataset. Best performance scores are high-",
"8.2.Multilabel Background Subtraction",
"lighted in bold.",
"我们还评估了分离不同前景对象的能力。据我们所",
"知,由于以前没有人做过这样的工作,我们设计了一个",
"8.1. Two-label Background Subtraction",
"基线来比较性能。补充材料中显示了有关基线的详细",
"信息。此外,[26]提出了一种离线方法(SLT)来解决",
"将我们的框架的性能(表示为MLBS(多层背景减",
"基于长期视频分析的视频分割问题,并取得了先进的",
"法))与五种最先进的算法进行比较:GBSSP[22],",
"性能。由于该方法没有前景和背景的区分,因此我们通",
"FOF[25],OMCBS[9],GBS[20]和BMCSF[31]。",
"过将背景标签手动分配给最佳拟合的分割区域来对其",
"GBS需要每个顿的初始化标签作为附加输人,GBSSP",
"进行修改,并与之进行比较",
"需要第一顿的地面实况作为初始化。为了公平比较,我",
"为了进行定量比较,我们通过修改[26]中使用的度",
"们向GBS提供BSFMC的标记结果,并向GBSSP提",
"量来设计度量。令9表示地面实况中的前景区域,C",
"供由我们的方法生成的第一帧的标记结果。请注意,我",
"表示算法生成的掩码中的相应区域,表示区域内的"
] |
{
"arxiv_id": "1709.01140",
"language": "zh",
"page_idx": 4
}
|
||
1709.04609-zh-0
|
1709.04609-zh-0.jpg
|
Learning to Segment Instances in Videos with Spatial Propagation Network
$\begin{array}{c}{\mathrm{Jingchun~Cheng~}^{1,2}}&{\mathrm{Sifei~Liu~}^{2}}&{\mathrm{Yi-Hsuan~Tsai~}^{2}}&{\mathrm{Wei-Chih~Hung~}^{2}}&{\mathrm{Shalini~De~Mello}}\\{\mathrm{Jinwei~Gu~}^{3}}&{\mathrm{Jan~Kautz~}^{3}}&{\mathrm{Shengjin~Wang~}^{1}}&{\mathrm{Ming-Hsuan~Yang~}^{2}}\end{array}$
$^{1}$Tsinghua University$\:^2$University of California, Merced$\:^3$NVIDIA Research
$\operatorname{Abstract}$
对齐。为了解决这个问题,许多现有的图像级语义分割任务方法都将条件随机场 (CRF)作为后处理模块来细化对象边界$\mathbb{E}[3,33]$ 。然而 ,密集连接的 CRF 需要潜在功能和微调超参数的复杂设计。有端到端可训练的CRF,如[33] ,但它们通常会引人大量内存和计算开销。为了解决这个问题,我们将边界细化任务建模为具有逐像素亲和力预测的空间传播问题。具体来说,我们提出了一种空间传播网络(SPN),该网络使用学习的逐像素亲和力作为线性 2D 传播模块的指导来传播分割概率。为了进一步细化时域中不一致的片段,我们提出了连通区域感知滤波器 (CRAF) 来消除不一致的标签。图 1 说明了所提出的算法的概述。为了评估所提出的方法,我们对 DAVIS2017 挑战数据集$\overline{\mathrm{E}}[23]$ 进行了广泛的实验和消融研究。我们证明了所提出的 SPN 改善了对象边界,而所提出的 CRAF 消除了具有不一致实例标签的段。这项工作的贡献总结如下:
$\bullet$ We extend the segmentation network to handle
multiple instances simultaneously by decomposing the task into foreground segmentation and instance recognition.
$\bullet$ We propose the spatial propagation network to refine object segments through learning the spatial affinity.
$\bullet$ We develop the connected region-aware filter to
eliminate inconsistent segments.
We propose a deep learning-based framework for instance-level object segmentation. Our method mainly consists of three steps. First, We train a generic model based on ResNet-101 for foreground/background segmentations. Second, based on this generic model, we fine-tune it to learn instance-level models and segment individual objects by using augmented object annotations in frst frames of test videos. To distinguish different instances in the same video, we compute a pixellevel score map for each object from these instance-level models. Each score map indicates the objectness likelihood and is only computed within the foreground mask obtained in the frst step. To further refne this per frame score map, we learn a spatial propagation network. This network aims to learn how to propagate a coarse segmentation mask spatially based on the pairwise similarities in each frame. In addition, we apply a filter on the refined score map that aims to recognize the best connected region using spatial and temporal consistencies in the video. Finally, we decide the instancelevel object segmentation in each video by comparing score maps of different instances. <NEXLINE。具体来说,给定第一帧中的每个对象掩码,我们试图在整个视频序列中预测此实例的分割。在处理非刚性物体时, 这项任务具有挑战性(例如。g。,人,动物),因为这些物体通常有不同视角的个体运动,姿势。遮挡也可能给基于跟踪的方法带来重大挑战,因为前景对象可能在某些帧中被完全遮挡。使用多实例设置,不同实例之间的遮挡也会进一步增加单独跟踪每个实例的困难。最先进的方法解决了卷积神经网络(CNN)$\mathbb{E}[13,2]$的问题。直观地,CNN 被训练为输出前景/背景分割图,遵循视频序列中每一帧的全卷积网络 (FCN) [17] 的结构。在无监督设置中,使用训练集学习通用前景模型。在半监督设置下,可以使用测试视频第一帧中的分割掩码进一步微调模型,以聚焦在特定的前景区域上。为了将此管道扩展到多实例设置,我们将此任务分解为前景分割和实例识别。虽然可以针对所有前景对象在训练集上训练前景分割,但可以在每个特定实例上训练实例识别,以将前景掩模分为多个实例我们观察到,与大多数基于FCN 的分割方法$\mathbb{E}[17,3,33]$ 相似,由于前向传播过程中的池化操作,网络生成的分段通常不与实际对象边界
## 1. Related Work
Video Object Segmentation. 视频对象分割有两个问题设置:无监督和半监督。无监督方法旨在在测试期间在不了解对象的情况下分割前景对象(例如。g。,初始对象遮罩)。已经提出了几种方法来通过超像素[10,30,8] 显著性[24,7,28]或光流[1,20]生成对象分割。为了结合更高层次的信息,如客观性,对象建议被用来跟踪对象段,并通过视频生成一致的区域[14,15] 。但是,这些方法通常需要大量计算才能生成区域建议并关联数千个段,从而使此类方法仅适用于离线应用程序。半监督方法[9,31,19]假设第一帧中的对象掩码是已知的,并且目标是在整个视频中跟踪对象掩码。为了实现这一目标,现有方法的重点是传播超像素[12] ,构建图形模型[18,27]或利用对象建议[22] 。最近 ,基于 CNN 的方法[13,2]结合了静态图像的离线和在线训练。
Instance Segmentation. 我们的工作还与图像级别的实例分割有关,尤其是与包括遮挡处理和边界细化在内
|
[
[
0.11767578125,
0.1142578125,
0.8798828125,
0.1142578125,
0.8798828125,
0.1319580078125,
0.11767578125,
0.1319580078125
],
[
0.10296630859375,
0.1610107421875,
0.89794921875,
0.1610107421875,
0.89794921875,
0.1787109375,
0.10296630859375,
0.1787109375
],
[
0.2099609375,
0.18115234375,
0.8056640625,
0.18115234375,
0.8056640625,
0.1956787109375,
0.2099609375,
0.1956787109375
],
[
0.16259765625,
0.199462890625,
0.35693359375,
0.2020263671875,
0.35693359375,
0.2197265625,
0.16259765625,
0.2171630859375
],
[
0.351318359375,
0.2020263671875,
0.85888671875,
0.20263671875,
0.85888671875,
0.2171630859375,
0.351318359375,
0.216552734375
],
[
0.2484130859375,
0.251953125,
0.325927734375,
0.25390625,
0.325927734375,
0.271484375,
0.2484130859375,
0.26953125
],
[
0.51953125,
0.25830078125,
0.90625,
0.25830078125,
0.90625,
0.268310546875,
0.51953125,
0.268310546875
],
[
0.5185546875,
0.270751953125,
0.90673828125,
0.270751953125,
0.90673828125,
0.2841796875,
0.5185546875,
0.2841796875
],
[
0.5185546875,
0.287353515625,
0.90625,
0.287353515625,
0.90625,
0.29736328125,
0.5185546875,
0.29736328125
],
[
0.111083984375,
0.298583984375,
0.48046875,
0.298583984375,
0.48046875,
0.3125,
0.111083984375,
0.3125
],
[
0.51708984375,
0.3017578125,
0.90625,
0.3017578125,
0.90625,
0.31494140625,
0.51708984375,
0.31494140625
],
[
0.09234619140625,
0.313232421875,
0.4794921875,
0.313232421875,
0.4794921875,
0.326904296875,
0.09234619140625,
0.326904296875
],
[
0.5185546875,
0.31640625,
0.904296875,
0.31640625,
0.904296875,
0.330078125,
0.5185546875,
0.330078125
],
[
0.09234619140625,
0.328857421875,
0.483642578125,
0.328857421875,
0.483642578125,
0.34228515625,
0.09234619140625,
0.34228515625
],
[
0.51953125,
0.333251953125,
0.90625,
0.333251953125,
0.90625,
0.343505859375,
0.51953125,
0.343505859375
],
[
0.0906982421875,
0.3447265625,
0.4794921875,
0.3447265625,
0.4794921875,
0.35791015625,
0.0906982421875,
0.35791015625
],
[
0.51953125,
0.3466796875,
0.90673828125,
0.3466796875,
0.90673828125,
0.35986328125,
0.51953125,
0.35986328125
],
[
0.09234619140625,
0.359130859375,
0.48046875,
0.359130859375,
0.48046875,
0.37255859375,
0.09234619140625,
0.37255859375
],
[
0.5185546875,
0.3623046875,
0.90625,
0.3623046875,
0.90625,
0.375732421875,
0.5185546875,
0.375732421875
],
[
0.09234619140625,
0.373779296875,
0.47802734375,
0.373779296875,
0.47802734375,
0.386962890625,
0.09234619140625,
0.386962890625
],
[
0.51953125,
0.376953125,
0.90673828125,
0.376953125,
0.90673828125,
0.39013671875,
0.51953125,
0.39013671875
],
[
0.09234619140625,
0.389404296875,
0.4755859375,
0.389404296875,
0.4755859375,
0.404052734375,
0.09234619140625,
0.404052734375
],
[
0.51953125,
0.392578125,
0.90673828125,
0.392578125,
0.90673828125,
0.406005859375,
0.51953125,
0.406005859375
],
[
0.09234619140625,
0.40478515625,
0.4794921875,
0.40478515625,
0.4794921875,
0.41845703125,
0.09234619140625,
0.41845703125
],
[
0.52392578125,
0.4091796875,
0.90283203125,
0.4091796875,
0.90283203125,
0.419189453125,
0.52392578125,
0.419189453125
],
[
0.09234619140625,
0.42041015625,
0.4794921875,
0.42041015625,
0.4794921875,
0.434326171875,
0.09234619140625,
0.434326171875
],
[
0.5185546875,
0.42236328125,
0.90673828125,
0.42236328125,
0.90673828125,
0.436279296875,
0.5185546875,
0.436279296875
],
[
0.0906982421875,
0.434326171875,
0.48046875,
0.43310546875,
0.48046875,
0.447509765625,
0.0906982421875,
0.448974609375
],
[
0.51708984375,
0.436279296875,
0.90283203125,
0.4375,
0.90283203125,
0.45068359375,
0.51708984375,
0.449462890625
],
[
0.09234619140625,
0.449462890625,
0.47802734375,
0.449462890625,
0.47802734375,
0.46337890625,
0.09234619140625,
0.46337890625
],
[
0.51708984375,
0.451904296875,
0.90673828125,
0.451904296875,
0.90673828125,
0.46533203125,
0.51708984375,
0.46533203125
],
[
0.0906982421875,
0.46533203125,
0.48046875,
0.46533203125,
0.48046875,
0.479248046875,
0.0906982421875,
0.479248046875
],
[
0.521484375,
0.46728515625,
0.90869140625,
0.46728515625,
0.90869140625,
0.48095703125,
0.521484375,
0.48095703125
],
[
0.09234619140625,
0.479736328125,
0.48046875,
0.479736328125,
0.48046875,
0.494384765625,
0.09234619140625,
0.494384765625
],
[
0.51953125,
0.484130859375,
0.79736328125,
0.484130859375,
0.79736328125,
0.494384765625,
0.51953125,
0.494384765625
],
[
0.0906982421875,
0.494384765625,
0.47802734375,
0.49560546875,
0.47802734375,
0.51025390625,
0.0906982421875,
0.5087890625
],
[
0.53369140625,
0.498779296875,
0.90673828125,
0.498779296875,
0.90673828125,
0.51220703125,
0.53369140625,
0.51220703125
],
[
0.09234619140625,
0.51025390625,
0.48193359375,
0.51025390625,
0.48193359375,
0.5234375,
0.09234619140625,
0.5234375
],
[
0.54833984375,
0.51220703125,
0.90869140625,
0.51318359375,
0.90869140625,
0.52783203125,
0.54833984375,
0.5263671875
],
[
0.09234619140625,
0.52587890625,
0.4794921875,
0.52587890625,
0.4794921875,
0.5390625,
0.09234619140625,
0.5390625
],
[
0.54833984375,
0.52880859375,
0.90673828125,
0.52880859375,
0.90673828125,
0.54248046875,
0.54833984375,
0.54248046875
],
[
0.09234619140625,
0.54052734375,
0.48046875,
0.54150390625,
0.48046875,
0.5546875,
0.09234619140625,
0.5537109375
],
[
0.5498046875,
0.54541015625,
0.6298828125,
0.54541015625,
0.6298828125,
0.556640625,
0.5498046875,
0.556640625
],
[
0.09234619140625,
0.55615234375,
0.483642578125,
0.55615234375,
0.483642578125,
0.5693359375,
0.09234619140625,
0.5693359375
],
[
0.53173828125,
0.5595703125,
0.904296875,
0.5595703125,
0.904296875,
0.57275390625,
0.53173828125,
0.57275390625
],
[
0.0906982421875,
0.5712890625,
0.4794921875,
0.5712890625,
0.4794921875,
0.58544921875,
0.0906982421875,
0.58544921875
],
[
0.54736328125,
0.57275390625,
0.90673828125,
0.57373046875,
0.90673828125,
0.58837890625,
0.54736328125,
0.5869140625
],
[
0.0906982421875,
0.58544921875,
0.47802734375,
0.5859375,
0.47802734375,
0.599609375,
0.0906982421875,
0.5986328125
],
[
0.55126953125,
0.59033203125,
0.60302734375,
0.59033203125,
0.60302734375,
0.6015625,
0.55126953125,
0.6015625
],
[
0.09234619140625,
0.60107421875,
0.48046875,
0.60107421875,
0.48046875,
0.6142578125,
0.09234619140625,
0.6142578125
],
[
0.53125,
0.60400390625,
0.90869140625,
0.60400390625,
0.90869140625,
0.6171875,
0.53125,
0.6171875
],
[
0.0906982421875,
0.61572265625,
0.48046875,
0.61572265625,
0.48046875,
0.62890625,
0.0906982421875,
0.62890625
],
[
0.54736328125,
0.6171875,
0.779296875,
0.61865234375,
0.779296875,
0.63330078125,
0.54736328125,
0.6318359375
],
[
0.09234619140625,
0.64599609375,
0.48046875,
0.64599609375,
0.48046875,
0.6591796875,
0.09234619140625,
0.6591796875
],
[
0.515625,
0.6494140625,
0.6650390625,
0.6494140625,
0.6650390625,
0.66357421875,
0.515625,
0.66357421875
],
[
0.09234619140625,
0.6611328125,
0.48046875,
0.6611328125,
0.48046875,
0.6748046875,
0.09234619140625,
0.6748046875
],
[
0.09234619140625,
0.6767578125,
0.48046875,
0.6767578125,
0.48046875,
0.68994140625,
0.09234619140625,
0.68994140625
],
[
0.51708984375,
0.673828125,
0.90673828125,
0.67529296875,
0.90673828125,
0.68994140625,
0.51708984375,
0.68798828125
],
[
0.09234619140625,
0.69140625,
0.48046875,
0.69140625,
0.48046875,
0.705078125,
0.09234619140625,
0.705078125
],
[
0.5185546875,
0.69140625,
0.904296875,
0.69140625,
0.904296875,
0.705078125,
0.5185546875,
0.705078125
],
[
0.0931396484375,
0.70849609375,
0.4794921875,
0.70849609375,
0.4794921875,
0.71826171875,
0.0931396484375,
0.71826171875
],
[
0.51708984375,
0.70703125,
0.90673828125,
0.70703125,
0.90673828125,
0.72021484375,
0.51708984375,
0.72021484375
],
[
0.09234619140625,
0.72021484375,
0.4794921875,
0.72021484375,
0.4794921875,
0.734375,
0.09234619140625,
0.734375
],
[
0.5185546875,
0.72265625,
0.90625,
0.72265625,
0.90625,
0.73291015625,
0.5185546875,
0.73291015625
],
[
0.09234619140625,
0.7373046875,
0.48046875,
0.7373046875,
0.48046875,
0.75048828125,
0.09234619140625,
0.75048828125
],
[
0.53369140625,
0.736328125,
0.90673828125,
0.736328125,
0.90673828125,
0.75,
0.53369140625,
0.75
],
[
0.09234619140625,
0.751953125,
0.48046875,
0.751953125,
0.48046875,
0.76513671875,
0.09234619140625,
0.76513671875
],
[
0.51953125,
0.751953125,
0.90673828125,
0.751953125,
0.90673828125,
0.76513671875,
0.51953125,
0.76513671875
],
[
0.09478759765625,
0.767578125,
0.48046875,
0.767578125,
0.48046875,
0.78076171875,
0.09478759765625,
0.78076171875
],
[
0.5185546875,
0.76806640625,
0.90625,
0.76806640625,
0.90625,
0.77880859375,
0.5185546875,
0.77880859375
],
[
0.0931396484375,
0.78271484375,
0.4794921875,
0.78271484375,
0.4794921875,
0.79345703125,
0.0931396484375,
0.79345703125
],
[
0.51708984375,
0.78076171875,
0.90673828125,
0.78076171875,
0.90673828125,
0.79443359375,
0.51708984375,
0.79443359375
],
[
0.0931396484375,
0.796875,
0.48046875,
0.796875,
0.48046875,
0.81005859375,
0.0931396484375,
0.81005859375
],
[
0.51708984375,
0.79541015625,
0.90673828125,
0.79541015625,
0.90673828125,
0.8095703125,
0.51708984375,
0.8095703125
],
[
0.09234619140625,
0.8125,
0.468017578125,
0.8125,
0.468017578125,
0.82568359375,
0.09234619140625,
0.82568359375
],
[
0.5185546875,
0.81103515625,
0.90673828125,
0.81103515625,
0.90673828125,
0.82470703125,
0.5185546875,
0.82470703125
],
[
0.09234619140625,
0.8271484375,
0.48046875,
0.8271484375,
0.48046875,
0.84033203125,
0.09234619140625,
0.84033203125
],
[
0.515625,
0.8271484375,
0.90673828125,
0.8271484375,
0.90673828125,
0.84033203125,
0.515625,
0.84033203125
],
[
0.09234619140625,
0.84228515625,
0.48046875,
0.84228515625,
0.48046875,
0.85595703125,
0.09234619140625,
0.85595703125
],
[
0.51708984375,
0.84130859375,
0.904296875,
0.84130859375,
0.904296875,
0.85498046875,
0.51708984375,
0.85498046875
],
[
0.09234619140625,
0.85791015625,
0.48046875,
0.85791015625,
0.48046875,
0.8720703125,
0.09234619140625,
0.8720703125
],
[
0.5185546875,
0.85693359375,
0.90673828125,
0.85693359375,
0.90673828125,
0.87060546875,
0.5185546875,
0.87060546875
],
[
0.0931396484375,
0.87255859375,
0.48046875,
0.87255859375,
0.48046875,
0.88623046875,
0.0931396484375,
0.88623046875
],
[
0.51708984375,
0.87255859375,
0.87109375,
0.87255859375,
0.87109375,
0.88623046875,
0.51708984375,
0.88623046875
],
[
0.09478759765625,
0.8896484375,
0.47802734375,
0.8896484375,
0.47802734375,
0.8994140625,
0.09478759765625,
0.8994140625
],
[
0.09234619140625,
0.9013671875,
0.4794921875,
0.90283203125,
0.4794921875,
0.91650390625,
0.09234619140625,
0.91552734375
],
[
0.5185546875,
0.90380859375,
0.68896484375,
0.90380859375,
0.68896484375,
0.9140625,
0.5185546875,
0.9140625
],
[
0.70361328125,
0.90283203125,
0.90283203125,
0.90478515625,
0.90283203125,
0.91552734375,
0.70361328125,
0.91357421875
],
[
0.0931396484375,
0.91845703125,
0.47802734375,
0.91845703125,
0.47802734375,
0.931640625,
0.0931396484375,
0.931640625
],
[
0.51708984375,
0.91845703125,
0.90625,
0.91845703125,
0.90625,
0.931640625,
0.51708984375,
0.931640625
],
[
0.494384765625,
0.95556640625,
0.50634765625,
0.95556640625,
0.50634765625,
0.96728515625,
0.494384765625,
0.96728515625
]
] |
[
"Learning to Segment Instances in Videos with Spatial Propagation Network",
"Jingchun Cheng 1,2 Sifei Liu 2 Yi-Hsuan Tsai 2Wei-Chih Hung 2 Shalini De Mello 3",
"JinweiGu3JanKautz3ShengjinWang1Ming-HsuanYang2",
"1 Tsinghua University",
"2UniversityofCalifornia,Merced3NVIDIAResearch",
"Abstract",
"对齐。为了解决这个问题,许多现有的图像级语义分割",
"任务方法都将条件随机场(CRF)作为后处理模块来",
"细化对象边界FI3.33。然而:密集连接的CRF需要",
"We propose a deep learning-based framework for",
"潜在功能和微调超参数的复杂设计。有端到端可训练的",
"instance-level object segmentation. Our method mainly",
"CRF,如[33],但它们通常会引人大量内存和计算开",
"consists of three steps. First, We train a generic model",
"销。为了解决这问题,我们将边界细化任务建模为具",
"based on ResNet-10l for foreground/background seg-",
"有逐像素亲和力预测的空间传播问题。具体来说,我们",
"mentations. Second, based on this generic model, we",
"提出了一种空间传播网络(SPN),该网络使用学习的",
"fine-tune it to learn instance-level models and segment",
"逐像素亲和力作为线性2D传播模块的指导来传播分割",
"individual objects by using augmented object annota",
"概率。为了进一步细化时域中不一致的片段,我们提出",
"tions in first frames of test videos. To distinguish dif",
"了连通区域感知滤波器(CRAF)来消除不一致的标签",
"ferent instances in the same video, we compute a pixel-",
"图1说明了所提出的算法的概述。为了评估所提出的",
"level score map for each object from these instance-leve",
"方法,我们对DAVIS2017挑战数据集E[23]进行了广",
"models. Each score map indicates the objectness likeli",
"泛的实验和消融研究。我们证明了所提出的SPN改善",
"hood and is only computed within the foreground mask",
"了对象边界,而所提出的CRAF消除了具有不一致实",
"obtained in the first step: To further refine this per",
"例标签的段。这项工作的责献总结如下",
"frame score map, we learn a spatial propagation net",
". We extend the segmentation network to handle",
"work. This network aims to learn how to propagate a",
"multiple instances simultaneously by decomposing",
"coarse segmentation mask spatially based on the pair-",
"the task into foreground segmentation and instance",
"wise similarities in each frame. In addition, we apply a",
"recognition",
"filter on therefined score map that aims to recognize the",
". We propose the spatial propagation network to re",
"best connected region using spatial and temporal con-",
"fine object segments through learning the spatial",
"sistencies in the video. Finally, we decide the instance",
"affinity.",
"level object segmentation in each video by comparing",
"· We develop the connected region-aware filter to",
"score maps of different instances.<NEXLINE。具体",
"eliminate inconsistent segments.",
"来说,给定第一顿中的每个对象掩码,我们试图在整个",
"1: Related Work",
"视频序列中预测此实例的分割。在处理非刚性物体时",
"这项任务具有挑战性(例如。g。,人,动物),因为这",
"VideoObjectSegmentation.视频对象分割有两个间",
"些物体通常有不同视角的个体运动,姿势。遮挡也可能",
"题设置:无监督和半监督。无监督方法旨在在测试期间",
"给基于跟踪的方法带来重大挑战:因为前景对象可能在",
"在不了解对象的情况下分割前景对象(例如。g。,初始对",
"某些顿中被完全遮挡。使用多实例设置,不同实例之间",
"象遮罩)。已经提出了儿种方法来通过超像素10.30.8",
"的遮挡也会进一步增加单独跟踪每个实例的困难。最先",
"显著性[24,7,28]或光流[1,20]生成对象分割。为",
"进的方法解决了卷积神经网络(CNN)E[13,2]的问题。",
"了结合更高层次的信息,如客观性,对象建议被用来跟",
"直观地,CNN被训练为输出前景/背景分割图,遵循视",
"踪对象段,并通过视频生成一致的区域14,15。但",
"频序列中每一顿的全卷积网络(FCN)17的结构。在",
"是,这些方法通常需要大量计算才能生成区域建议并关",
"无监督设置中,使用训练集学习通用前景模型。在半监",
"联数千个段,从而使此类方法仅适用于离线应用程序。",
"督设置下,可以使用测试视频第一顿中的分割掩码进",
"半监督方法[9,31,19]假设第一顿中的对象掩码是已知",
"步微调模型,以聚焦在特定的前景区域上。为了将此管",
"的,并且目标是在整个视频中跟踪对象掩码。为了实现",
"道扩展到多实例设置,我们将此任务分解为前景分割和",
"这一目标,现有方法的重点是传播超像素[12],构建图",
"实例识别。虽然可以针对所有前景对象在训练集上训练",
"形模型[18,27]或利用对象建议[22]。最近,基于CNN",
"前景分割,但可以在每个特定实例上训练实例识别,以",
"的方法[13,2]结合了静态图像的离线和在线训练。",
"将前景掩模分为多个实例我们观察到,与大多数基于",
"FCN的分割方法E[17,3,33]相似,由于前向传播过程",
"InstanceSegmentation.",
"我们的工作还与图像级别的",
"中的池化操作,网络生成的分段通常不与实际对象边界",
"实例分割有关,尤其是与包括遮挡处理和边界细化在内",
"1"
] |
{
"arxiv_id": "1709.04609",
"language": "zh",
"page_idx": 0
}
|
||
1709.04609-zh-3
|
1709.04609-zh-3.jpg
|
Table 1. Comparisons of instance segmentation models.
<table>
<tbody>
<tr>
<th>Method</th>
<th>Global Mean</th>
<th>J Mean</th>
<th>${\mathrm{J~Recall}}$</th>
<th>$F$ mean</th>
<th>$F$ $\operatorname{Recall}$</th>
</tr>
<tr>
<th>Per-video model</th>
<th>0.460</th>
<th>0.442</th>
<th>0.513</th>
<th>0.478</th>
<th>0.501</th>
</tr>
<tr>
<td>Per- object r model</td>
<td>0.481</td>
<td>0.457</td>
<td>0.536</td>
<td>0.504</td>
<td>0.526</td>
</tr>
</tbody>
</table>
Table 2. Ablation study on the DAVIS validation set. We show comparisons of our results with different components removed, i.e., foreground model fne-tuning (FT), spatial propagation network (SPN), connected region-aware filter ${\tilde{(}{\tilde{\mathrm{CDAF}}}).}$
<table>
<tbody>
<tr>
<th>Method</th>
<th>$(0)_{1}$ urs</th>
<th>-CRAF</th>
<th>-CRAF- SPN</th>
<th>-CRAF- SPN- FT</th>
</tr>
<tr>
<td> Mean $J$</td>
<td>0.540</td>
<td>0.506</td>
<td>0.457</td>
<td>0.442</td>
</tr>
<tr>
<td>$JI$ Recall</td>
<td>0.601</td>
<td>0.582</td>
<td>0.536</td>
<td>0.528</td>
</tr>
<tr>
<td>F Mean</td>
<td>0.611</td>
<td>0.568</td>
<td>0.504</td>
<td>0.453</td>
</tr>
<tr>
<td>$F$ $\operatorname{Recall}$</td>
<td>0.683</td>
<td>0.602</td>
<td>0.526</td>
<td>0.501</td>
</tr>
<tr>
<td>Global Mean</td>
<td>0.576</td>
<td>0.537</td>
<td>0.481</td>
<td>0.448</td>
</tr>
</tbody>
</table>
有助于纠正一些实例混淆(请参阅图 3 中的(b)和(c) 列,以获取说明)。在 CRAF 中,我们使用以下条件为每个对象选择一个最佳连接区域。
Step 1. 对于对象$i$ ,我们在应用 SPN 后在其分数图上提取连接区域$(CR_1,CR_2,\ldots)$。然后,计算每个连接区域与前一帧中的区域相比的 jaccard 相似性$(J_1,J_2,...)$,以及每个区域的面积$(A_1,A_2,...)$。如果$J_{m}=max(J_{1},J_{2},...)$和$A_m/max(A_{1},A_{2},...)>\alpha$我们选择$CR_m$作为对象$i$的最佳连接区域,用$CRS_i$表示。如果有多个 jaccard 相似性等于最大值,我们选择面积最大的连接区域为$CRS_i$ 。
Step 2. 我们使用以下公式计算每两个对象的$CRS$之
间的覆盖率:
$$Coverage(i,j)=\:|CRS_{i}\cap CRS_{j}|\:/|CRS_{j}|.$$
(5)
如果$Coverage(i,j)>\beta$ ,我们将删除$CRS_j$在$CRS_i$
内的区域,i。e。$, CRS_{i}= CRS_{i}- CRS_{j}$ .
Step 3. 对于对象$i$ ,如果$CRS_i<\gamma$的区域,我们检查所有未选择为$CRS$的连接区域。然后,如果其中个区域的 jaccard 相似性大于$\delta$ ,我们将这个连接的区域选择为$CRS_i$,并重复步骤 2。
在这项工作中,$\alpha,\beta,\gamma,\delta$根据经验设置为 0。2、0。$9、0。1、0。4$分别。请注意,我们将每个选定连接区域之外的分数设置为零。为了获得最终的实例分割,我们通过考虑所有实例的最大分数来确定每个像素的标签。
4. Experiments
4.1. Dataset and Evaluation Metrics
DAVIS 基准[23,21]是最近发布的高质量视频对象分割数据集。它由具有多个对象和实例级像素级注释的视频组成。总共有 150 个序列 (训练集中有 60 个,验证,测试开发和测试挑战集中有 30 个), 有 10459 个注释帧和 376 个对象。我们首先使用训练集来训练我们的模型并在验证集上进行评估。然后在训练和验证集上训练最佳模型,并在 2017 年 DAVIS 挑战赛中进行测试。该挑战使用所有对象实例的区域相似性平均值(J 平均值)和轮廓精度(F平均值)作为性能指标。在验证集中使用相同的算法(来自 DAVIS 网站的评估代码)来验证我们的方法。
4.2. Comparisons of Instance-level Recognition
我们比较了两种不同的实例级分割模型:每视频和每对象设置。从前景模型的权重初始化,每个视频对象识别网络具有一个 softmax 层,其中 N+1 维分数图作为输出,其中 N 表示视频中的对象数量,另外一个用于背景。每个分数图表示一个对象的概率。在预测中, 具有最大分数的像素被视为该像素的标签。对于每对象模型,每次仅将一个对象视为前景。每个对象模型的网络都有一个二维输出,其中包含背景和一个对象实例。在预测中,不同对象的得分图串联在一起,如果最高分低于 0。5, 像素属于背景。否则,每个像素的对象标签由具有最大分数的实例确定。这两种方法的比较如表 1所示,其中模型在训练集上训练并在验证集上测试。结
果表明,每对象模型的性能比每视频模型高出 2。1% 全球平均值。因此,我们选择在以下实验中使用每对象模型。
## 4.3. Ablation Study
为了分析我们提出的方法中每个步骤的必要性和重要性,我们对验证集进行了广泛的消融研究。结果汇总于表 2。我们通过将我们的最终结果与没有微调(-FT ),空间传播网络(-SPN)和连接区域感知滤波器$({\mathrm{~-CRAF~)~}}$的结果进行比较来验证我们的方法。详细设置如下:
-FT : 训练前景分割模型,而无需在第一帧上进行微
调。
-CRAF:在实例分段后应用 SPN,而不使用连接的
区域感知过滤器。
-SPN :实例分割网络的结果 ,而不使用空间传播网络进行细化。表 2 表明,SPN 和 CRAF 后处理步骤在产生更好的结果方面起着重要作用,并将全局均值提高了$5。6\%$和 3。9% 分别。它还表明,前景掩模预测网络需要在第一帧上进行微调步骤,以便在特定对象上进行更准确的分割(-CRAF-SPNvs。-CRAF-SPN-FT)。应用不同步骤后的一些示例结果如图 3 所示。
XMATHX。在具有 12GB 内存的 TitanXGPU 上, 每帧每个对象 78 秒。每个步骤的详细分析见表 ??。考虑到微调时间,我们的系统在 DAVIS 验证集上每帧每个对象运行约 10 秒。该表显示,SPN 和 CRAF 步骤在不增加太多计算成本的情况下显著提高了性能。
# 4.4. Results in DAVIS 2017 Challenge
在 DAVIS2017 挑战中,我们在测试挑战集上测试了没有和有 CRAF 的方法。如果没有 CRAF, J 平均值和 F 平均值为 51。6% 和 57。9 个%, 并通过 2 个% 和
|
[
[
0.0931396484375,
0.07257080078125,
0.48193359375,
0.07257080078125,
0.48193359375,
0.08587646484375,
0.0931396484375,
0.08587646484375
],
[
0.515625,
0.0694580078125,
0.88818359375,
0.0694580078125,
0.88818359375,
0.08331298828125,
0.515625,
0.08331298828125
],
[
0.09234619140625,
0.08837890625,
0.48046875,
0.08837890625,
0.48046875,
0.10162353515625,
0.09234619140625,
0.10162353515625
],
[
0.09234619140625,
0.10418701171875,
0.325927734375,
0.10418701171875,
0.325927734375,
0.117431640625,
0.09234619140625,
0.117431640625
],
[
0.5185546875,
0.10797119140625,
0.57421875,
0.10797119140625,
0.57421875,
0.12371826171875,
0.5185546875,
0.12371826171875
],
[
0.63623046875,
0.10919189453125,
0.95751953125,
0.10919189453125,
0.95751953125,
0.12249755859375,
0.63623046875,
0.12249755859375
],
[
0.5185546875,
0.12371826171875,
0.6298828125,
0.125,
0.6298828125,
0.1395263671875,
0.5185546875,
0.1383056640625
],
[
0.6611328125,
0.12249755859375,
0.701171875,
0.125,
0.69921875,
0.14013671875,
0.66015625,
0.1383056640625
],
[
0.734375,
0.125,
0.77685546875,
0.125,
0.77685546875,
0.1395263671875,
0.734375,
0.1395263671875
],
[
0.7900390625,
0.125,
0.833984375,
0.125,
0.833984375,
0.1395263671875,
0.7900390625,
0.1395263671875
],
[
0.84619140625,
0.125,
0.890625,
0.125,
0.890625,
0.1395263671875,
0.84619140625,
0.1395263671875
],
[
0.90283203125,
0.125,
0.94677734375,
0.125,
0.94677734375,
0.1395263671875,
0.90283203125,
0.1395263671875
],
[
0.66015625,
0.141357421875,
0.70166015625,
0.141357421875,
0.70166015625,
0.1558837890625,
0.66015625,
0.1558837890625
],
[
0.0906982421875,
0.1300048828125,
0.48046875,
0.1300048828125,
0.48046875,
0.143310546875,
0.0906982421875,
0.143310546875
],
[
0.73388671875,
0.141357421875,
0.779296875,
0.141357421875,
0.779296875,
0.1558837890625,
0.73388671875,
0.1558837890625
],
[
0.7890625,
0.141357421875,
0.83837890625,
0.141357421875,
0.83837890625,
0.1558837890625,
0.7890625,
0.1558837890625
],
[
0.84619140625,
0.141357421875,
0.8935546875,
0.141357421875,
0.8935546875,
0.1558837890625,
0.84619140625,
0.1558837890625
],
[
0.88623046875,
0.143310546875,
0.94921875,
0.143310546875,
0.94921875,
0.1546630859375,
0.88623046875,
0.1546630859375
],
[
0.5185546875,
0.1427001953125,
0.63623046875,
0.1427001953125,
0.63623046875,
0.1558837890625,
0.5185546875,
0.1558837890625
],
[
0.0931396484375,
0.1458740234375,
0.48046875,
0.1458740234375,
0.48046875,
0.1590576171875,
0.0931396484375,
0.1590576171875
],
[
0.0931396484375,
0.160400390625,
0.48046875,
0.160400390625,
0.48046875,
0.173583984375,
0.0931396484375,
0.173583984375
],
[
0.09234619140625,
0.175537109375,
0.48046875,
0.175537109375,
0.48046875,
0.189453125,
0.09234619140625,
0.189453125
],
[
0.51708984375,
0.1749267578125,
0.90673828125,
0.1749267578125,
0.90673828125,
0.1881103515625,
0.51708984375,
0.1881103515625
],
[
0.09234619140625,
0.1912841796875,
0.48193359375,
0.1912841796875,
0.48193359375,
0.2052001953125,
0.09234619140625,
0.2052001953125
],
[
0.5185546875,
0.1900634765625,
0.90625,
0.1900634765625,
0.90625,
0.2008056640625,
0.5185546875,
0.2008056640625
],
[
0.09234619140625,
0.205810546875,
0.48193359375,
0.205810546875,
0.48193359375,
0.2197265625,
0.09234619140625,
0.2197265625
],
[
0.51708984375,
0.20263671875,
0.90673828125,
0.20263671875,
0.90673828125,
0.216552734375,
0.51708984375,
0.216552734375
],
[
0.09234619140625,
0.2203369140625,
0.48046875,
0.2203369140625,
0.48046875,
0.2342529296875,
0.09234619140625,
0.2342529296875
],
[
0.515625,
0.2171630859375,
0.90673828125,
0.216552734375,
0.90673828125,
0.2298583984375,
0.515625,
0.2310791015625
],
[
0.51708984375,
0.2279052734375,
0.57861328125,
0.2310791015625,
0.57666015625,
0.24560546875,
0.515625,
0.242431640625
],
[
0.0906982421875,
0.23486328125,
0.316162109375,
0.236083984375,
0.316162109375,
0.25,
0.0906982421875,
0.248779296875
],
[
0.09234619140625,
0.261962890625,
0.4794921875,
0.261962890625,
0.4794921875,
0.27587890625,
0.09234619140625,
0.27587890625
],
[
0.51953125,
0.270751953125,
0.576171875,
0.270751953125,
0.576171875,
0.285888671875,
0.51953125,
0.285888671875
],
[
0.61376953125,
0.270751953125,
0.9111328125,
0.270751953125,
0.9111328125,
0.285400390625,
0.61376953125,
0.285400390625
],
[
0.0931396484375,
0.279052734375,
0.1805419921875,
0.279052734375,
0.1805419921875,
0.2890625,
0.0931396484375,
0.2890625
],
[
0.51953125,
0.29345703125,
0.57421875,
0.29345703125,
0.57421875,
0.30810546875,
0.51953125,
0.30810546875
],
[
0.61279296875,
0.29345703125,
0.654296875,
0.29345703125,
0.654296875,
0.30810546875,
0.61279296875,
0.30810546875
],
[
0.646484375,
0.29345703125,
0.701171875,
0.29345703125,
0.701171875,
0.30810546875,
0.646484375,
0.30810546875
],
[
0.73193359375,
0.29345703125,
0.77294921875,
0.29345703125,
0.77294921875,
0.30810546875,
0.73193359375,
0.30810546875
],
[
0.83642578125,
0.29345703125,
0.87744140625,
0.29345703125,
0.87744140625,
0.30810546875,
0.83642578125,
0.30810546875
],
[
0.12335205078125,
0.3037109375,
0.48193359375,
0.3037109375,
0.48193359375,
0.318115234375,
0.12335205078125,
0.318115234375
],
[
0.51953125,
0.314453125,
0.57666015625,
0.314453125,
0.57666015625,
0.328857421875,
0.51953125,
0.328857421875
],
[
0.61279296875,
0.313232421875,
0.701171875,
0.313232421875,
0.701171875,
0.32763671875,
0.61279296875,
0.32763671875
],
[
0.734375,
0.31494140625,
0.77294921875,
0.31494140625,
0.77294921875,
0.328857421875,
0.734375,
0.328857421875
],
[
0.83837890625,
0.31494140625,
0.8759765625,
0.31494140625,
0.8759765625,
0.328857421875,
0.83837890625,
0.328857421875
],
[
0.0931396484375,
0.330078125,
0.48046875,
0.330078125,
0.48046875,
0.3447265625,
0.0931396484375,
0.3447265625
],
[
0.51953125,
0.333984375,
0.576171875,
0.3359375,
0.57421875,
0.3515625,
0.5185546875,
0.349853515625
],
[
0.61279296875,
0.3359375,
0.69921875,
0.3359375,
0.69921875,
0.35107421875,
0.61279296875,
0.35107421875
],
[
0.73388671875,
0.3359375,
0.77392578125,
0.3359375,
0.77392578125,
0.35107421875,
0.73388671875,
0.35107421875
],
[
0.8349609375,
0.3359375,
0.87744140625,
0.3359375,
0.87744140625,
0.35107421875,
0.8349609375,
0.35107421875
],
[
0.0906982421875,
0.3447265625,
0.406005859375,
0.34521484375,
0.406005859375,
0.35986328125,
0.0906982421875,
0.359130859375
],
[
0.51953125,
0.35595703125,
0.57861328125,
0.35595703125,
0.57861328125,
0.37060546875,
0.51953125,
0.37060546875
],
[
0.61279296875,
0.35595703125,
0.65283203125,
0.35595703125,
0.65283203125,
0.37060546875,
0.61279296875,
0.37060546875
],
[
0.650390625,
0.354248046875,
0.69921875,
0.35595703125,
0.69775390625,
0.371826171875,
0.64892578125,
0.369384765625
],
[
0.734375,
0.356689453125,
0.77294921875,
0.356689453125,
0.77294921875,
0.37060546875,
0.734375,
0.37060546875
],
[
0.83837890625,
0.356689453125,
0.8759765625,
0.356689453125,
0.8759765625,
0.37060546875,
0.83837890625,
0.37060546875
],
[
0.09234619140625,
0.371826171875,
0.48046875,
0.371826171875,
0.48046875,
0.385009765625,
0.09234619140625,
0.385009765625
],
[
0.521484375,
0.37744140625,
0.654296875,
0.37744140625,
0.654296875,
0.391357421875,
0.521484375,
0.391357421875
],
[
0.73193359375,
0.37744140625,
0.77294921875,
0.37744140625,
0.77294921875,
0.392578125,
0.73193359375,
0.392578125
],
[
0.83642578125,
0.375732421875,
0.87744140625,
0.37744140625,
0.8759765625,
0.393310546875,
0.8349609375,
0.391357421875
],
[
0.09234619140625,
0.386474609375,
0.468017578125,
0.386474609375,
0.468017578125,
0.399658203125,
0.09234619140625,
0.399658203125
],
[
0.64794921875,
0.37890625,
0.69775390625,
0.37890625,
0.69775390625,
0.39013671875,
0.64794921875,
0.39013671875
],
[
0.09234619140625,
0.401611328125,
0.48046875,
0.401611328125,
0.48046875,
0.415283203125,
0.09234619140625,
0.415283203125
],
[
0.09234619140625,
0.417236328125,
0.325927734375,
0.417236328125,
0.325927734375,
0.43115234375,
0.09234619140625,
0.43115234375
],
[
0.111083984375,
0.431884765625,
0.48046875,
0.431884765625,
0.48046875,
0.44580078125,
0.111083984375,
0.44580078125
],
[
0.51708984375,
0.4375,
0.90673828125,
0.4375,
0.90673828125,
0.45068359375,
0.51708984375,
0.45068359375
],
[
0.09234619140625,
0.4462890625,
0.483642578125,
0.4462890625,
0.483642578125,
0.460205078125,
0.09234619140625,
0.460205078125
],
[
0.51953125,
0.45263671875,
0.90625,
0.45263671875,
0.90625,
0.46337890625,
0.51953125,
0.46337890625
],
[
0.09234619140625,
0.462158203125,
0.48046875,
0.462158203125,
0.48046875,
0.47607421875,
0.09234619140625,
0.47607421875
],
[
0.51708984375,
0.46337890625,
0.5595703125,
0.46533203125,
0.55810546875,
0.48095703125,
0.515625,
0.479248046875
],
[
0.09234619140625,
0.477783203125,
0.473876953125,
0.477783203125,
0.473876953125,
0.4912109375,
0.09234619140625,
0.4912109375
],
[
0.515625,
0.4912109375,
0.6708984375,
0.492431640625,
0.6708984375,
0.5068359375,
0.515625,
0.505859375
],
[
0.08905029296875,
0.5048828125,
0.226318359375,
0.505859375,
0.226318359375,
0.52099609375,
0.08905029296875,
0.51953125
],
[
0.5361328125,
0.517578125,
0.90673828125,
0.517578125,
0.90673828125,
0.53076171875,
0.5361328125,
0.53076171875
],
[
0.09234619140625,
0.53076171875,
0.373291015625,
0.53076171875,
0.373291015625,
0.54443359375,
0.09234619140625,
0.54443359375
],
[
0.51953125,
0.53271484375,
0.90673828125,
0.53271484375,
0.90673828125,
0.546875,
0.51953125,
0.546875
],
[
0.5185546875,
0.546875,
0.90673828125,
0.546875,
0.90673828125,
0.56005859375,
0.5185546875,
0.56005859375
],
[
0.1094970703125,
0.5537109375,
0.48046875,
0.5537109375,
0.48046875,
0.5673828125,
0.1094970703125,
0.5673828125
],
[
0.515625,
0.56103515625,
0.90673828125,
0.5625,
0.90673828125,
0.5771484375,
0.515625,
0.57568359375
],
[
0.09234619140625,
0.568359375,
0.48046875,
0.568359375,
0.48046875,
0.58203125,
0.09234619140625,
0.58203125
],
[
0.5146484375,
0.57568359375,
0.90673828125,
0.57763671875,
0.90673828125,
0.59228515625,
0.5146484375,
0.59033203125
],
[
0.09234619140625,
0.583984375,
0.48046875,
0.583984375,
0.48046875,
0.59765625,
0.09234619140625,
0.59765625
],
[
0.09234619140625,
0.5986328125,
0.48193359375,
0.5986328125,
0.48193359375,
0.6123046875,
0.09234619140625,
0.6123046875
],
[
0.5185546875,
0.5947265625,
0.59228515625,
0.5947265625,
0.59228515625,
0.60498046875,
0.5185546875,
0.60498046875
],
[
0.0906982421875,
0.6123046875,
0.48046875,
0.61279296875,
0.48046875,
0.62744140625,
0.0906982421875,
0.626953125
],
[
0.51953125,
0.60693359375,
0.90869140625,
0.60791015625,
0.90869140625,
0.62255859375,
0.51953125,
0.6220703125
],
[
0.09234619140625,
0.62890625,
0.48046875,
0.62890625,
0.48046875,
0.642578125,
0.09234619140625,
0.642578125
],
[
0.5185546875,
0.625,
0.54150390625,
0.625,
0.54150390625,
0.63623046875,
0.5185546875,
0.63623046875
],
[
0.521484375,
0.6396484375,
0.90673828125,
0.6396484375,
0.90673828125,
0.65283203125,
0.521484375,
0.65283203125
],
[
0.0931396484375,
0.64599609375,
0.4794921875,
0.64599609375,
0.4794921875,
0.65576171875,
0.0931396484375,
0.65576171875
],
[
0.51708984375,
0.65478515625,
0.640625,
0.65478515625,
0.640625,
0.66845703125,
0.51708984375,
0.66845703125
],
[
0.09478759765625,
0.6611328125,
0.4794921875,
0.6611328125,
0.4794921875,
0.671875,
0.09478759765625,
0.671875
],
[
0.09234619140625,
0.6748046875,
0.48046875,
0.6748046875,
0.48046875,
0.68798828125,
0.09234619140625,
0.68798828125
],
[
0.52294921875,
0.67041015625,
0.90673828125,
0.67041015625,
0.90673828125,
0.6845703125,
0.52294921875,
0.6845703125
],
[
0.09234619140625,
0.689453125,
0.48193359375,
0.689453125,
0.48193359375,
0.70263671875,
0.09234619140625,
0.70263671875
],
[
0.51708984375,
0.68603515625,
0.90625,
0.68603515625,
0.90625,
0.69970703125,
0.51708984375,
0.69970703125
],
[
0.0931396484375,
0.70703125,
0.2132568359375,
0.70703125,
0.2132568359375,
0.71728515625,
0.0931396484375,
0.71728515625
],
[
0.51953125,
0.70263671875,
0.904296875,
0.70263671875,
0.904296875,
0.71337890625,
0.51953125,
0.71337890625
],
[
0.51708984375,
0.71630859375,
0.90673828125,
0.71630859375,
0.90673828125,
0.72998046875,
0.51708984375,
0.72998046875
],
[
0.09234619140625,
0.72900390625,
0.455078125,
0.72900390625,
0.455078125,
0.74365234375,
0.09234619140625,
0.74365234375
],
[
0.5185546875,
0.73095703125,
0.90673828125,
0.73095703125,
0.90673828125,
0.744140625,
0.5185546875,
0.744140625
],
[
0.1094970703125,
0.75048828125,
0.48046875,
0.751953125,
0.48046875,
0.7666015625,
0.1094970703125,
0.76513671875
],
[
0.51953125,
0.74560546875,
0.90869140625,
0.74560546875,
0.90869140625,
0.7587890625,
0.51953125,
0.7587890625
],
[
0.51708984375,
0.76123046875,
0.8203125,
0.76123046875,
0.8203125,
0.7744140625,
0.51708984375,
0.7744140625
],
[
0.09234619140625,
0.767578125,
0.48046875,
0.767578125,
0.48046875,
0.78076171875,
0.09234619140625,
0.78076171875
],
[
0.09234619140625,
0.7822265625,
0.48046875,
0.7822265625,
0.48046875,
0.79541015625,
0.09234619140625,
0.79541015625
],
[
0.5361328125,
0.7763671875,
0.90673828125,
0.7763671875,
0.90673828125,
0.79052734375,
0.5361328125,
0.79052734375
],
[
0.51708984375,
0.79052734375,
0.90673828125,
0.79150390625,
0.90673828125,
0.80615234375,
0.51708984375,
0.8046875
],
[
0.0906982421875,
0.796875,
0.48046875,
0.79541015625,
0.48046875,
0.81005859375,
0.0906982421875,
0.81103515625
],
[
0.0931396484375,
0.8125,
0.48046875,
0.8125,
0.48046875,
0.82568359375,
0.0931396484375,
0.82568359375
],
[
0.5185546875,
0.806640625,
0.90673828125,
0.806640625,
0.90673828125,
0.82080078125,
0.5185546875,
0.82080078125
],
[
0.515625,
0.82080078125,
0.90869140625,
0.8212890625,
0.90869140625,
0.8359375,
0.515625,
0.83544921875
],
[
0.0931396484375,
0.8291015625,
0.4794921875,
0.8291015625,
0.4794921875,
0.8388671875,
0.0931396484375,
0.8388671875
],
[
0.09234619140625,
0.84228515625,
0.48046875,
0.84228515625,
0.48046875,
0.85595703125,
0.09234619140625,
0.85595703125
],
[
0.5185546875,
0.8388671875,
0.86376953125,
0.8388671875,
0.86376953125,
0.849609375,
0.5185546875,
0.849609375
],
[
0.09234619140625,
0.85791015625,
0.48046875,
0.85791015625,
0.48046875,
0.8720703125,
0.09234619140625,
0.8720703125
],
[
0.51708984375,
0.8623046875,
0.810546875,
0.8642578125,
0.810546875,
0.87890625,
0.51708984375,
0.876953125
],
[
0.09234619140625,
0.87255859375,
0.48046875,
0.87255859375,
0.48046875,
0.88623046875,
0.09234619140625,
0.88623046875
],
[
0.09234619140625,
0.88818359375,
0.48046875,
0.88818359375,
0.48046875,
0.9013671875,
0.09234619140625,
0.9013671875
],
[
0.5361328125,
0.88623046875,
0.90625,
0.88818359375,
0.90625,
0.9013671875,
0.5361328125,
0.8994140625
],
[
0.09478759765625,
0.90478515625,
0.48046875,
0.90478515625,
0.48046875,
0.91552734375,
0.09478759765625,
0.91552734375
],
[
0.51708984375,
0.90283203125,
0.90673828125,
0.90283203125,
0.90673828125,
0.91650390625,
0.51708984375,
0.91650390625
],
[
0.09234619140625,
0.91845703125,
0.48193359375,
0.91845703125,
0.48193359375,
0.931640625,
0.09234619140625,
0.931640625
],
[
0.51708984375,
0.91845703125,
0.90673828125,
0.91845703125,
0.90673828125,
0.931640625,
0.51708984375,
0.931640625
]
] |
[
"有助于纠正一些实例混淆(请参阅图3中的(b)和(c)",
"Table 1. Comparisons of instance segmentation models",
"列,以获取说明)。在CRAF中,我们使用以下条件为",
"每个对象选择一个最佳连接区域。",
"Method",
"Global Mean JMean JRecall FmeanFRecall",
"Per-video model",
"0.460",
"0.442",
"0.513",
"0.478",
"0.501",
"0.481",
"Step1:对于对象i,我们在应用SPN后在其分数",
"0.457",
"0.536",
"0.504",
"0.526",
"Per-object model",
"图上提取连接区域(CR1,CR2,…)。然后,计算每",
"个连接区域与前一顿中的区域相比的jaccard相似性",
"(J1,J2,….),以及每个区域的面积(A1,A2,…)。如果",
"Table 2.Ablation study on the DAVIS validation set.We",
"Jm=mar(Ji,J2,..)和 Am/mar(A1,A2,..)>α,我",
"showcomparisonsof ourresultswithdifferentcomponents",
"们选择CRm作为对象i的最佳连接区域,用CRS;表",
"removed, i.e., foreground model fine-tuning (FT), spatial",
"示。如果有多个jaccard相似性等于最大值,我们选择",
"propagation network (SPN), connected region-aware filter",
"(CDAF).",
"面积最大的连接区域为CRSi。",
"Step2.我们使用以下公式计算每两个对象的CRS之",
"Method",
"Ours -CRAF -CRAF-SPN -CRAF-SPN-FT",
"间的覆盖率:",
"J Mean",
"0.540",
"0.506",
"0.457",
"0.442",
"Coverage(i,j) = CRS,nCRS,l /ICRSil(5)",
"J Recall",
"0.6010.582",
"0.536",
"0.528",
"如果Coverage(i,i)>β,我们将删除CRS,在CRSi",
"F Mean",
"0.611.0.568",
"0.504",
"0.453",
"内的区域,i。e。,CRS,=CRS,-CRS,",
"F Recall",
"0.683",
"0.602",
"0.526",
"0.501",
"Step3.对于对象i,如果CRS<的区域,我们检",
"Global Mean 0.576",
"0.481",
"0.448",
"查所有未选择为CRS的连接区域。然后,如果其中",
"0.537",
"个区域的jaccard相似性大于,我们将这个连接的区",
"域选择为CRS,,并重复步骤2。",
"在这项工作中,α,β,,根据经验设置为0。2、0。",
"果表明,每对象模型的性能比每视频模型高出2。1%",
"9、0。1、0。4分别。请注意,我们将每个选定连接区域",
"全球平均值。因此,我们选择在以下实验中使用每对象",
"之外的分数设置为零。为了获得最终的实例分割,我们",
"模型。",
"通过考虑所有实例的最大分数来确定每个像素的标签。",
"4.3.Ablation Study",
"4.Experiments",
"为了分析我们提出的方法中每个步骤的必要性和重",
"4.1.Dataset and Evaluation Metrics",
"要性,我们对验证集进行了广泛的消融研究。结果汇总",
"于表2。我们通过将我们的最终结果与没有微调(-FT",
"DAVIS基准[23,21]是最近发布的高质量视频对象",
"),空间传播网络(-SPN)和连接区域感知滤波器",
"分割数据集。它由具有多个对象和实例级像素级注释的",
"(-CRAF)的结果进行比较来验证我们的方法。详细",
"视频组成。总共有150个序列(训练集中有60个,验",
"证,测试开发和测试挑战集中有30个),有10459个注",
"设置如下:",
"释帧和376个对象。我们首先使用训练集来训练我们的",
"-FT:训练前景分割模型,而无需在第一顿上进行微",
"模型并在验证集上进行评估。然后在训练和验证集上训",
"调。",
"-CRAF:在实例分段后应用SPN,而不使用连接的",
"练最佳模型,并在2017年DAVIS挑战赛中进行测试",
"区域感知过滤器。",
"该挑战使用所有对象实例的区域相似性平均值(J平均",
"值)和轮廓精度(F平均值)作为性能指标。在验证集",
"-SPN:实例分割网络的结果,而不使用空间传播网络",
"中使用相同的算法(来自DAVIS网站的评估代码)来",
"进行细化。表2表明,SPN和CRAF后处理步骤在产",
"验证我们的方法。",
"生更好的结果方面起着重要作用,并将全局均值提高了",
"5。6%和3。9%分别。它还表明,前景掩模预测网络",
"4.2. Comparisons of Instance-level Recognition",
"需要在第一顿上进行微调步骤,以便在特定对象上进行",
"我们比较了两种不同的实例级分割模型:每视频和",
"更准确的分割(-CRAF-SPNvs。-CRAF-SPN-FT)。应",
"用不同步骤后的一些示例结果如图3所示。",
"每对象设置。从前景模型的权重初始化,每个视频对象",
"识别网络具有一个softmax层,其中N+1维分数图作",
"XMATHX。在具有12GB内存的TitanXGPU上,",
"每顿每个对象78秒。每个步骤的详细分析见表??。考",
"为输出,其中N表示视频中的对象数量,另外一个用",
"于背景。每个分数图表示一个对象的概率。在预测中",
"虑到微调时间,我们的系统在DAVIS验证集上每顿每",
"个对象运行约10秒。该表显示,SPN和CRAF步骤",
"具有最天分数的像素被视为该像素的标签。对于每对象",
"模型,每次仅将一个对象视为前景。每个对象模型的网",
"在不增加太多计算成本的情况下显著提高了性能,",
"络都有一个二维输出,其中包含背景和一个对象实例",
"4.4.Results in DAVIS 2017 Challenge",
"在预测中,不同对象的得分图串联在一起,如果最高分",
"低于0。5,像素属于背景。否则,每个像素的对象标签",
"在DAVIS2017挑战中,我们在测试挑战集上测试了",
"由具有最大分数的实例确定。这两种方法的比较如表1",
"没有和有CRAF的方法。如果没有CRAF,J平均值",
"所示,其中模型在训练集上训练并在验证集上测试。结",
"和F平均值为51。6%和57。9个%,并通过2个%和"
] |
{
"arxiv_id": "1709.04609",
"language": "zh",
"page_idx": 3
}
|
||
1709.04609-zh-4
|
1709.04609-zh-4.jpg
|
2个。3带 CRAF 的%。表 ?? 中列出了前 10 名团队的最终比较。如表所示,我们的方法在比赛中排名第六
# 5. Conclusion
在这项工作中,我们建议使用空间传播网络(SPN) 和连接区域感知过滤器(CRAF)来细化空间和时间域中的实例分割。我们表明,在具有挑战性的 DAVIS2017数据集上,所提出的方法在视频中的多实例分割中实现了具有竞争力的性能。
# References
[1] T. Brox and J. Malik. Object segmentation by long
term analysis of point trajectories. In ECCV, 2010. 1 [2] S. Caelles, K.-K. Maninis, J. Pont-Tuset, L. Leal-Taixé,
D. Cremers, and L. Van Gool. One-shot video object
segmentation. In CVPR, 2017. 1
[3] L.-C. Chen, G. Papandreou, I. Kokkinos, K. Murphy,
and A. L. Yuille. Semantic image segmentation with deep convolutional nets and fully connected crfs. 2015. 1,2
[4] Y.-T. Chen, X. Liu, and M.-H. Yang. Multi-instance
object segmentation with occlusion handling.
In
CVPR, 2015. 2
[5] J.Dai, K. He, and J. Sun. Instance-aware semantic seg-
mentation via multi-task network cascades. In CVPR,
2016.2
[6]M.Everingham,S.A.Eslami,L.V.Gool,C.K.
Williams, J. Winn, and A. Zisserman. The pascal visual object classes challenge: A retrospective. IJCV, 1111(1){:}98-136,2015.3
[7] A. Faktor and M. Irani. Video segmentation by non-
local consensus voting. In BMVC, 2014. 1
[8] F. Galasso, R. Cipolla, and B. Schiele. Video segmen-
tation with superpixels. In ACCV, 2012. 1
[9] F. Galasso, N. Nagaraja, T. Cardenas, T. Brox, and
B. Schiele. A unified video segmentation benchmark: Annotation, metrics and analysis. In ICCV, 2013. 1
[10] M.Grundmann, V. Kwatra, M. Han, and I. Essa. Eff-
cient hierarchical graph-based video segmentation. In
CVPR, 2010. 1
[11] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual
learning for image recognition. In CVPR, 2016. 2
[12] S. D. Jain and K. Grauman. Supervoxel-consistent
foreground propagation in video. In ECCV, 2014. 1 [13] A. Khoreva, F. Perazzi, R. Benenson, B. Schiele, and
A. Sorkine-Hornung. Learning video object segmenta-
tion from static images. In CVPR, 2017. 1
[14] Y. J. Lee, J. Kim, and K. Grauman. Key-segments for
video object segmentation. In ICCV, 2011. 1
[15] F. Li, T. Kim, A. Humayun, D. Tsai, and J. M. Rehg.
Video segmentation by tracking many figure-ground
segments. In ICCV, 2013. 1
[16] S. Liu, J. Pan, and M.-H. Yang. Learning recursive
filters for low-level vision via a hybrid neural network.
In ECCV, 2016. 3
[17] J. Long, E. Shelhamer, and T. Darrell. Fully convolu-
tional networks for semantic segmentation. In CVPR,
2015. 1, 3
[18] N. Märki, F. Perazzi, O. Wang, and A. Sorkine-
Hornung. Bilateral space video segmentation. In
CVPR, 2016. 1
[19] N. S. Nagaraja, F. Schmidt, and T. Brox. Video seg-
mentation with just a few strokes. In ICCV, 2015. 1 [20] A.Papazoglou and V.Ferrari. Fast object segmenta-
tion in unconstrained video. In ICCV, 2013. 1
[21] F. Perazzi, J. Pont-Tuset, B. McWilliams, L. V. Gool,
M. Gross, and A. Sorkine-Hornung. A benchmark dataset and evaluation methodology for video object segmentation. In CVPR, 2016. 4
[22] F. Perazzi, O. Wang, M. Gross, and A. Sorkine-
Hornung. Fully connected object proposals for video
segmentation. In CVPR, 2015. 1
[23]J.Pont-Tuset, F. Perazzi, S. Caelles, P. Arbeláez,
A. Sorkine-Hornung, and L. Van $^{\prime}$Gool
The
2017 davis challenge on video object segmentation.
arXiv:1704.00675,2017. 1, 4
[24] E. Rahtu, J. Kannala, M. Salo, and J. Heikkilä. Seg-
menting salient objects from images and videos. In
ECCV, 2010. 1
[25]S.Ren,K.He,R.Girshick,andJ.Sun.Fasterr-
cnn: Towards real-time object detection with region
proposal networks. In NIPS, 2015. 2
[26] K. Simonyan and A. Zisserman. Very deep convo-
lutional networks for large-scale image recognition.
CoRR, abs/1409.1556:1187-1200, 2014. 3
[27] Y.-H. Tsai, M.-H. Yang, and M. J. Black. Video seg-
mentation via object flow. In CVPR, 2016. 1
[28] W. Wang, J. Shen, and F. Porikli. Saliency-aware
geodesic video object segmentation. In CVPR, 2015. [29] S. Xie and Z. Tu. Holistically-nested edge detection.
In ICCV, 2015. 2
[30] C. Xu, C. Xiong, and J. J. Corso. Streaming hierarchi-
cal video segmentation. In ECCV, 2012. 1
[31] D. Zhang, O. Javed, and M. Shah. Video object seg-
mentation through spatially accurate and temporally dense extraction of primary object regions. In CVPR, 2013.1
[32] Z. Zhang, S. Fidler, and R. Urtasun. Instance-level
segmentation with deep densely connected mrfs. In
CVPR, 2016. 2
[33] S. Zheng, S. Jayasumana, B. Romera-Paredes, V. Vi-
neet, Z. Su, D. Du, C. Huang, and P. H. Torr. Condi- tional random felds as recurrent neural networks. In ICCV, pages 1529-1537,2015.1,2
[34] J.G. Zilly, R. K. Srivastava, J. Koutník, and J. Schmid-
huber. Recurrent highway networks. arXiv:1607.03474,
2016.3
|
[
[
0.09234619140625,
0.07257080078125,
0.48193359375,
0.07257080078125,
0.48193359375,
0.08587646484375,
0.09234619140625,
0.08587646484375
],
[
0.5146484375,
0.07135009765625,
0.90673828125,
0.07257080078125,
0.90673828125,
0.08709716796875,
0.5146484375,
0.08587646484375
],
[
0.0906982421875,
0.08837890625,
0.4697265625,
0.08837890625,
0.4697265625,
0.10162353515625,
0.0906982421875,
0.10162353515625
],
[
0.54833984375,
0.08837890625,
0.62744140625,
0.08837890625,
0.62744140625,
0.0997314453125,
0.54833984375,
0.0997314453125
],
[
0.62158203125,
0.08709716796875,
0.91015625,
0.08709716796875,
0.91015625,
0.10101318359375,
0.62158203125,
0.10101318359375
],
[
0.54833984375,
0.10162353515625,
0.65283203125,
0.10162353515625,
0.65283203125,
0.1142578125,
0.54833984375,
0.1142578125
],
[
0.11358642578125,
0.11614990234375,
0.2156982421875,
0.11871337890625,
0.2156982421875,
0.1331787109375,
0.11358642578125,
0.1307373046875
],
[
0.5146484375,
0.11297607421875,
0.90869140625,
0.1142578125,
0.90869140625,
0.1319580078125,
0.5146484375,
0.1307373046875
],
[
0.5458984375,
0.1287841796875,
0.89892578125,
0.1287841796875,
0.89892578125,
0.1427001953125,
0.5458984375,
0.1427001953125
],
[
0.0906982421875,
0.11871337890625,
0.1217041015625,
0.11871337890625,
0.1217041015625,
0.1307373046875,
0.0906982421875,
0.1307373046875
],
[
0.1094970703125,
0.1427001953125,
0.483642578125,
0.1427001953125,
0.483642578125,
0.1558837890625,
0.1094970703125,
0.1558837890625
],
[
0.51708984375,
0.1458740234375,
0.90869140625,
0.1458740234375,
0.90869140625,
0.1590576171875,
0.51708984375,
0.1590576171875
],
[
0.09234619140625,
0.1578369140625,
0.48193359375,
0.1578369140625,
0.48193359375,
0.1717529296875,
0.09234619140625,
0.1717529296875
],
[
0.54736328125,
0.1590576171875,
0.85888671875,
0.1590576171875,
0.85888671875,
0.17236328125,
0.54736328125,
0.17236328125
],
[
0.09234619140625,
0.173583984375,
0.48193359375,
0.173583984375,
0.48193359375,
0.1875,
0.09234619140625,
0.1875
],
[
0.51708984375,
0.173583984375,
0.90869140625,
0.173583984375,
0.90869140625,
0.1875,
0.51708984375,
0.1875
],
[
0.09234619140625,
0.1881103515625,
0.483642578125,
0.1881103515625,
0.483642578125,
0.20263671875,
0.09234619140625,
0.20263671875
],
[
0.54736328125,
0.1881103515625,
0.90869140625,
0.1881103515625,
0.90869140625,
0.2020263671875,
0.54736328125,
0.2020263671875
],
[
0.09234619140625,
0.20263671875,
0.2484130859375,
0.203857421875,
0.2484130859375,
0.2183837890625,
0.09234619140625,
0.2171630859375
],
[
0.54736328125,
0.2020263671875,
0.91015625,
0.2020263671875,
0.91015625,
0.216552734375,
0.54736328125,
0.216552734375
],
[
0.54736328125,
0.216552734375,
0.7685546875,
0.21533203125,
0.7685546875,
0.2266845703125,
0.54736328125,
0.2279052734375
],
[
0.0906982421875,
0.23291015625,
0.1829833984375,
0.23291015625,
0.1829833984375,
0.2474365234375,
0.0906982421875,
0.2474365234375
],
[
0.51708984375,
0.2298583984375,
0.90869140625,
0.2298583984375,
0.90869140625,
0.2442626953125,
0.51708984375,
0.2442626953125
],
[
0.54736328125,
0.2442626953125,
0.91015625,
0.2442626953125,
0.91015625,
0.25830078125,
0.54736328125,
0.25830078125
],
[
0.09722900390625,
0.2568359375,
0.483642578125,
0.2568359375,
0.483642578125,
0.271484375,
0.09722900390625,
0.271484375
],
[
0.54736328125,
0.25830078125,
0.76953125,
0.25830078125,
0.76953125,
0.271484375,
0.54736328125,
0.271484375
],
[
0.1217041015625,
0.271484375,
0.4794921875,
0.271484375,
0.4794921875,
0.285400390625,
0.1217041015625,
0.285400390625
],
[
0.51708984375,
0.272705078125,
0.90869140625,
0.272705078125,
0.90869140625,
0.287353515625,
0.51708984375,
0.287353515625
],
[
0.098876953125,
0.285888671875,
0.483642578125,
0.285888671875,
0.483642578125,
0.300537109375,
0.098876953125,
0.300537109375
],
[
0.54736328125,
0.287353515625,
0.859375,
0.287353515625,
0.859375,
0.3017578125,
0.54736328125,
0.3017578125
],
[
0.875,
0.28857421875,
0.90869140625,
0.28857421875,
0.90869140625,
0.2998046875,
0.875,
0.2998046875
],
[
0.1217041015625,
0.300537109375,
0.483642578125,
0.300537109375,
0.483642578125,
0.314453125,
0.1217041015625,
0.314453125
],
[
0.54736328125,
0.300537109375,
0.90869140625,
0.300537109375,
0.90869140625,
0.314453125,
0.54736328125,
0.314453125
],
[
0.1217041015625,
0.314453125,
0.343017578125,
0.314453125,
0.343017578125,
0.32763671875,
0.1217041015625,
0.32763671875
],
[
0.54736328125,
0.31494140625,
0.740234375,
0.31494140625,
0.740234375,
0.328857421875,
0.54736328125,
0.328857421875
],
[
0.098876953125,
0.328857421875,
0.483642578125,
0.328857421875,
0.483642578125,
0.343505859375,
0.098876953125,
0.343505859375
],
[
0.515625,
0.328857421875,
0.90673828125,
0.330078125,
0.90673828125,
0.3447265625,
0.515625,
0.343505859375
],
[
0.12091064453125,
0.343505859375,
0.483642578125,
0.343505859375,
0.483642578125,
0.356689453125,
0.12091064453125,
0.356689453125
],
[
0.54736328125,
0.3447265625,
0.90869140625,
0.3447265625,
0.90869140625,
0.35791015625,
0.54736328125,
0.35791015625
],
[
0.1217041015625,
0.356689453125,
0.483642578125,
0.356689453125,
0.483642578125,
0.37060546875,
0.1217041015625,
0.37060546875
],
[
0.54833984375,
0.359130859375,
0.65283203125,
0.359130859375,
0.65283203125,
0.369384765625,
0.54833984375,
0.369384765625
],
[
0.12335205078125,
0.37255859375,
0.1502685546875,
0.37255859375,
0.1502685546875,
0.3837890625,
0.12335205078125,
0.3837890625
],
[
0.51708984375,
0.37255859375,
0.90869140625,
0.37255859375,
0.90869140625,
0.386474609375,
0.51708984375,
0.386474609375
],
[
0.09722900390625,
0.386474609375,
0.483642578125,
0.386474609375,
0.483642578125,
0.399658203125,
0.09722900390625,
0.399658203125
],
[
0.54833984375,
0.38818359375,
0.90673828125,
0.38818359375,
0.90673828125,
0.3984375,
0.54833984375,
0.3984375
],
[
0.1217041015625,
0.40087890625,
0.484375,
0.40087890625,
0.484375,
0.4140625,
0.1217041015625,
0.4140625
],
[
0.54736328125,
0.40087890625,
0.7939453125,
0.40087890625,
0.7939453125,
0.4140625,
0.54736328125,
0.4140625
],
[
0.12335205078125,
0.415283203125,
0.2279052734375,
0.415283203125,
0.2279052734375,
0.425537109375,
0.12335205078125,
0.425537109375
],
[
0.51708984375,
0.415283203125,
0.78515625,
0.415283203125,
0.78515625,
0.4287109375,
0.51708984375,
0.4287109375
],
[
0.77685546875,
0.415283203125,
0.90869140625,
0.415283203125,
0.90869140625,
0.4287109375,
0.77685546875,
0.4287109375
],
[
0.09722900390625,
0.4287109375,
0.48193359375,
0.4287109375,
0.48193359375,
0.443115234375,
0.09722900390625,
0.443115234375
],
[
0.54736328125,
0.429931640625,
0.90869140625,
0.429931640625,
0.90869140625,
0.443115234375,
0.54736328125,
0.443115234375
],
[
0.1217041015625,
0.443115234375,
0.483642578125,
0.443115234375,
0.483642578125,
0.45703125,
0.1217041015625,
0.45703125
],
[
0.54736328125,
0.443115234375,
0.826171875,
0.443115234375,
0.826171875,
0.45703125,
0.54736328125,
0.45703125
],
[
0.12335205078125,
0.458251953125,
0.176513671875,
0.458251953125,
0.176513671875,
0.4697265625,
0.12335205078125,
0.4697265625
],
[
0.51708984375,
0.458251953125,
0.90869140625,
0.458251953125,
0.90869140625,
0.472900390625,
0.51708984375,
0.472900390625
],
[
0.09722900390625,
0.4716796875,
0.48046875,
0.4716796875,
0.48046875,
0.486083984375,
0.09722900390625,
0.486083984375
],
[
0.54736328125,
0.472900390625,
0.85107421875,
0.472900390625,
0.85107421875,
0.486083984375,
0.54736328125,
0.486083984375
],
[
0.12335205078125,
0.486083984375,
0.48046875,
0.486083984375,
0.48046875,
0.5,
0.12335205078125,
0.5
],
[
0.51708984375,
0.4873046875,
0.90869140625,
0.4873046875,
0.90869140625,
0.50048828125,
0.51708984375,
0.50048828125
],
[
0.12091064453125,
0.5,
0.483642578125,
0.498779296875,
0.483642578125,
0.51318359375,
0.12091064453125,
0.5146484375
],
[
0.5458984375,
0.50048828125,
0.90869140625,
0.5,
0.90869140625,
0.5146484375,
0.5458984375,
0.51513671875
],
[
0.12335205078125,
0.51513671875,
0.275390625,
0.51513671875,
0.275390625,
0.52587890625,
0.12335205078125,
0.52587890625
],
[
0.54833984375,
0.517578125,
0.560546875,
0.517578125,
0.560546875,
0.52587890625,
0.54833984375,
0.52587890625
],
[
0.096435546875,
0.52880859375,
0.48193359375,
0.5263671875,
0.48193359375,
0.54150390625,
0.096435546875,
0.54345703125
],
[
0.515625,
0.52880859375,
0.90869140625,
0.52978515625,
0.90869140625,
0.54443359375,
0.515625,
0.54345703125
],
[
0.12091064453125,
0.54345703125,
0.406005859375,
0.54345703125,
0.406005859375,
0.556640625,
0.12091064453125,
0.556640625
],
[
0.54833984375,
0.54541015625,
0.66650390625,
0.54541015625,
0.66650390625,
0.55615234375,
0.54833984375,
0.55615234375
],
[
0.09722900390625,
0.5595703125,
0.483642578125,
0.5595703125,
0.483642578125,
0.57275390625,
0.09722900390625,
0.57275390625
],
[
0.51708984375,
0.5595703125,
0.90869140625,
0.5595703125,
0.90869140625,
0.57275390625,
0.51708984375,
0.57275390625
],
[
0.12091064453125,
0.57275390625,
0.408447265625,
0.57275390625,
0.408447265625,
0.5859375,
0.12091064453125,
0.5859375
],
[
0.54736328125,
0.57275390625,
0.833984375,
0.57275390625,
0.833984375,
0.5859375,
0.54736328125,
0.5859375
],
[
0.096435546875,
0.5869140625,
0.484375,
0.5859375,
0.484375,
0.60107421875,
0.096435546875,
0.6015625
],
[
0.51708984375,
0.5869140625,
0.90673828125,
0.5869140625,
0.90673828125,
0.6015625,
0.51708984375,
0.6015625
],
[
0.1217041015625,
0.6015625,
0.483642578125,
0.6015625,
0.483642578125,
0.61572265625,
0.1217041015625,
0.61572265625
],
[
0.54736328125,
0.6015625,
0.90869140625,
0.6015625,
0.90869140625,
0.61572265625,
0.54736328125,
0.61572265625
],
[
0.1217041015625,
0.61572265625,
0.471435546875,
0.61572265625,
0.471435546875,
0.62890625,
0.1217041015625,
0.62890625
],
[
0.54736328125,
0.61572265625,
0.90869140625,
0.61572265625,
0.90869140625,
0.62890625,
0.54736328125,
0.62890625
],
[
0.0906982421875,
0.630859375,
0.48046875,
0.630859375,
0.48046875,
0.64453125,
0.0906982421875,
0.64453125
],
[
0.54833984375,
0.6298828125,
0.6005859375,
0.6298828125,
0.6005859375,
0.6416015625,
0.54833984375,
0.6416015625
],
[
0.12335205078125,
0.646484375,
0.48193359375,
0.646484375,
0.48193359375,
0.6572265625,
0.12335205078125,
0.6572265625
],
[
0.51708984375,
0.64453125,
0.90869140625,
0.64453125,
0.90869140625,
0.65771484375,
0.51708984375,
0.65771484375
],
[
0.12335205078125,
0.65771484375,
0.226318359375,
0.66015625,
0.226318359375,
0.671875,
0.12335205078125,
0.66943359375
],
[
0.54736328125,
0.6591796875,
0.91015625,
0.6591796875,
0.91015625,
0.67236328125,
0.54736328125,
0.67236328125
],
[
0.0906982421875,
0.67236328125,
0.48193359375,
0.67236328125,
0.48193359375,
0.68603515625,
0.0906982421875,
0.68603515625
],
[
0.54736328125,
0.67041015625,
0.654296875,
0.67236328125,
0.654296875,
0.68603515625,
0.54736328125,
0.6845703125
],
[
0.12091064453125,
0.6875,
0.455810546875,
0.68603515625,
0.455810546875,
0.70068359375,
0.12091064453125,
0.7021484375
],
[
0.515625,
0.6875,
0.90869140625,
0.68603515625,
0.90869140625,
0.70068359375,
0.515625,
0.7021484375
],
[
0.0906982421875,
0.70263671875,
0.48193359375,
0.70263671875,
0.48193359375,
0.71630859375,
0.0906982421875,
0.71630859375
],
[
0.54736328125,
0.7021484375,
0.90673828125,
0.7021484375,
0.90673828125,
0.71533203125,
0.54736328125,
0.71533203125
],
[
0.1217041015625,
0.71533203125,
0.468017578125,
0.71533203125,
0.468017578125,
0.72900390625,
0.1217041015625,
0.72900390625
],
[
0.54736328125,
0.71533203125,
0.90869140625,
0.71533203125,
0.90869140625,
0.72900390625,
0.54736328125,
0.72900390625
],
[
0.0906982421875,
0.73193359375,
0.483642578125,
0.73193359375,
0.483642578125,
0.74560546875,
0.0906982421875,
0.74560546875
],
[
0.54736328125,
0.72900390625,
0.78369140625,
0.72900390625,
0.78369140625,
0.7421875,
0.54736328125,
0.7421875
],
[
0.12335205078125,
0.744140625,
0.48193359375,
0.744140625,
0.48193359375,
0.75830078125,
0.12335205078125,
0.75830078125
],
[
0.51708984375,
0.74365234375,
0.90673828125,
0.74365234375,
0.90673828125,
0.7568359375,
0.51708984375,
0.7568359375
],
[
0.1217041015625,
0.76025390625,
0.408447265625,
0.76025390625,
0.408447265625,
0.7734375,
0.1217041015625,
0.7734375
],
[
0.5458984375,
0.75830078125,
0.90869140625,
0.75830078125,
0.90869140625,
0.771484375,
0.5458984375,
0.771484375
],
[
0.09234619140625,
0.7744140625,
0.483642578125,
0.7744140625,
0.483642578125,
0.78857421875,
0.09234619140625,
0.78857421875
],
[
0.54833984375,
0.77294921875,
0.60107421875,
0.77294921875,
0.60107421875,
0.7841796875,
0.54833984375,
0.7841796875
],
[
0.1217041015625,
0.78857421875,
0.423095703125,
0.78857421875,
0.423095703125,
0.8017578125,
0.1217041015625,
0.8017578125
],
[
0.0906982421875,
0.8037109375,
0.48046875,
0.8037109375,
0.48046875,
0.818359375,
0.0906982421875,
0.818359375
],
[
0.12335205078125,
0.818359375,
0.48193359375,
0.818359375,
0.48193359375,
0.83203125,
0.12335205078125,
0.83203125
],
[
0.12091064453125,
0.83056640625,
0.310546875,
0.830078125,
0.310546875,
0.8447265625,
0.12091064453125,
0.84521484375
],
[
0.0906982421875,
0.84765625,
0.483642578125,
0.84765625,
0.483642578125,
0.861328125,
0.0906982421875,
0.861328125
],
[
0.1217041015625,
0.861328125,
0.483642578125,
0.861328125,
0.483642578125,
0.875,
0.1217041015625,
0.875
],
[
0.1217041015625,
0.875,
0.2484130859375,
0.875,
0.2484130859375,
0.88818359375,
0.1217041015625,
0.88818359375
],
[
0.0906982421875,
0.89013671875,
0.48046875,
0.89013671875,
0.48046875,
0.90380859375,
0.0906982421875,
0.90380859375
],
[
0.1217041015625,
0.90380859375,
0.48193359375,
0.90380859375,
0.48193359375,
0.91748046875,
0.1217041015625,
0.91748046875
],
[
0.12091064453125,
0.91650390625,
0.193603515625,
0.91845703125,
0.193603515625,
0.93310546875,
0.12091064453125,
0.93115234375
]
] |
[
"2个。3带CRAF的%。表??中列出了前10名团队的",
"[18] N.Marki, F.Perazzi, O.Wang,and A. Sorkine-",
"最终比较。如表所示,我们的方法在比赛中排名第六",
"Hornung.",
"Bilateral space video segmentation. In",
"CVPR,2016.1",
"Conclusion",
"[19] N. S. Nagaraja, F. Schmidt, and T. Brox. Video seg-",
"mentation with just a few strokes. In ICCV, 2015. 1",
"5.",
"在这项工作中,我们建议使用空间传播网络(SPN)",
"[20] A. Papazoglou and V. Ferrari. Fast object segmenta-",
"和连接区域感知过滤器(CRAF)来细化空间和时间域",
"tion in unconstrained video. In ICCV, 2013. 1",
"中的实例分割。我们表明,在具有挑战性的DAVIS2017",
"[21] F. Perazzi, J. Pont-Tuset, B. McWilliams, L. V. Gool,",
"数据集上,所提出的方法在视频中的多实例分割中实现",
"M. Gross, and A. Sorkine-Hornung. A benchmark",
"了具有竞争力的性能。",
"dataset and evaluation methodology for video object",
"segmentation.In CVPR.2016.4",
"References",
"[22] F. Perazzi, O. Wang, M. Gross, and A. Sorkine-",
"Hornung.Fully connected object proposals for video",
"[1] T. Brox and J. Malik. Object segmentation by long",
"segmentation. In CVPR, 2015. 1",
"term analysis of point trajectories. In ECCV, 2010. 1",
"[23] J. Pont-Tuset, F. Perazzi, S. Caelles, P. Arbelaez,",
"[2] S. Caelles, K.-K. Maninis, J. Pont-Tuset, L. Leal-Taixe,",
"A. Sorkine-Hornung, and L.Van Gool.",
"The",
"D. Cremers, and L. Van Gool. One-shot video object",
"2017 davis challenge on video object segmentation.",
"segmentation. In CVPR, 2017.1",
"arXiv:1704.00675, 2017.1,4",
"[3] L.-C. Chen, G. Papandreou, I. Kokkinos, K. Murphy,",
"[24] E. Rahtu, J. Kannala, M. Salo, and J. Heikkila. Seg-",
"and A. L. Yuille. Semantic image segmentation with",
"menting salient objects from images and videos.In",
"deep convolutional nets and fully connected crfs. 2015.",
"ECCV2010.1",
"1, 2",
"[25] S. Ren, K. He, R. Girshick, and J. Sun. Faster r-",
"[4] Y.-T. Chen, X. Liu, and M.-H. Yang. Multi-instance",
"cnn:Towards real-time object detection with region",
"objectsegmentationwith occlusion handling.In",
"proposal networks. In NIPS, 2015. 2",
"CVPR.2015.2",
"[26] K. Simonyan and A. Zisserman.",
"Very deep convo-",
"[5] J. Dai, K. He, and J. Sun. Instance-aware semantic seg-",
"lutional networks for large-scale image recognition.",
"mentation via multi-task network cascades. In CVPR,",
"CoRR, abs/1409.1556:1187-1200, 2014. 3",
"2016.2",
"[27] Y-H. Tsai, M.-H. Yang, and M. J. Black. Video seg-",
"[6] M. Everingham, S. A. Eslami, L. V. Gool, C. K.",
"mentation via object fow. In CVPR, 2016. 1",
"Williams, J. Winn, and A. Zisserman. The pascal vi-",
"[28] W. Wang, J. Shen, and F.Porikli. Saliency-aware",
"sual object classes challenge: A retrospective. IJCV,",
"geodesic video object segmentation. In CVPR, 2015.",
"111(1):98-136,2015.3",
"1",
"[7] A. Faktor and M. Irani. Video segmentation by non-",
"[29] S. Xie and Z. Tu. Holistically-nested edge detection.",
"local consensus voting. In BMVC, 2014. 1",
"InICCV,2015.2",
"[8] F. Galasso, R. Cipolla, and B. Schiele. Video segmen-",
"[30] C. Xu, C. Xiong, and J. J. Corso. Streaming hierarchi-",
"tation with superpixels. In ACCV, 2012. 1",
"cal video segmentation. In ECCV, 2012. 1",
"[9] F.Galasso, N.Nagaraja, T.Cardenas, T.Brox, and",
"[31] D. Zhang, O. Javed, and M. Shah. Video object seg-",
"B. Schiele. A unified video segmentation benchmark:",
"mentation through spatially accurate and temporally",
"Annotation, metrics and analysis. In ICCV, 2013. 1",
"dense extraction of primary object regions. In CVPR,",
"[10] M. Grundmann, V. Kwatra, M. Han, and I. Essa. Eff-",
"2013.1",
"cient hierarchical graph-based video segmentation. In",
"[32] Z. Zhang, S. Fidler, and R. Urtasun. Instance-level",
"CVPR,2010.1",
"segmentation with deep densely connected mrfs. In",
"[11] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual",
"CVPR, 2016. 2",
"learning for image recognition.In CVPR, 2016.2",
"[33] S. Zheng, S. Jayasumana, B. Romera-Paredes, V. Vi-",
"[12] S. D. Jain and K. Grauman. Supervoxel-consistent",
"neet, Z. Su, D. Du, C. Huang, and P. H. Torr. Condi-",
"foreground propagation in video. In ECCV, 2014. 1",
"tional random fields as recurrent neural networks. In",
"[13] A. Khoreva, F. Perazzi, R. Benenson, B. Schiele, and",
"ICCV,pages1529-1537,2015.1,2",
"A. Sorkine-Hornung. Learning video object segmenta-",
"[34] J. G. Zilly, R. K. Srivastava, J. Koutnik, and J. Schmid-",
"tion from static images. In CVPR, 2017. 1",
"huber. Recurrent highway networks. arXiv:1607.03474,",
"[14] Y. J. Lee, J. Kim, and K. Grauman. Key-segments for",
"2016.3",
"video object segmentation. In ICCV, 2011. 1",
"[15] F. Li, T. Kim, A. Humayun, D. Tsai, and J. M. Rehg.",
"Video segmentation by tracking many figure-ground",
"segments. In ICCV, 2013. 1",
"[16] S. Liu, J. Pan, and M.-H. Yang. Learning recursive",
"filters for low-level vision via a hybrid neural network.",
"In ECCV, 2016. 3",
"[17] J. Long, E. Shelhamer, and T. Darrell. Fully convolu-",
"tional networks for semantic segmentation. In CVPR,",
"2015.1, 3"
] |
{
"arxiv_id": "1709.04609",
"language": "zh",
"page_idx": 4
}
|
||
2206.11895-zh-0
|
2206.11895-zh-0.jpg
|
# 通过在 3D 空间中恢复令牌来学习与视点无关的视觉表示
Jinghuan Shang$^{1}$ $\textbf{Srijan Das}^{1, 2}$ $\textbf{Michael S. Ryoo}^{1}$
Department of Computer Science
$^{1}$Stony Brook University, $^2$University of North Carolina at Charlotte
$^{1}\{$ jishang, mryoo $\}$ @cs.stonybrook.edu,$^2$sdas24@uncc.edu
## $\mathbf{Abstract}$
Humans are remarkably flexible in understanding viewpoint changes due to visual cortex supporting the perception of 3D structure. In contrast, most of the computer vision models that learn visual representation from a pool of 2D images often fail to generalize over novel camera viewpoints. Recently, the vision architectures have shifted towards convolution-free architectures, visual Transformers, which operate on tokens derived from image patches. However, these Transformers do not perform explicit operations to learn viewpoint-agnostic representation for visual understanding. To this end, we propose a 3D Token Representation Layer( 3DTRL) that estimates the 3D positional information of the visual tokens and leverages it for learning viewpoint-agnostic representations. The key elements of 3DTRL include a pseudo-depth estimator and a learned camera matrix to impose geometric transformations on the tokens, trained in an unsupervised fashion. These enable 3DTRL to recover the 3D positional information of the tokens from 2D patches. In practice, 3DTRL is easily plugged-in into a Transformer. Our experiments demonstrate the effectiveness of 3DTRL in many vision tasks including image classification, multi-view video alignment, and action recognition. The models with 3DTRL outperform their backbone Transformers in all the tasks with minimal added computation. Our code is available at https://github.com/elicassion/3DTRL.
### $\textbf{1}$ $\textbf{Introduction}$
在过去的几年中,计算机视觉模型从 CNN$\overline{\mathbb{E}}[6,26,58]$迅速发展到现在的 Transformers[F] [16,24,59]。通过这些模型,我们现在可以准确地对图像中的对象进行分类,在视频对之间对齐图像帧,对视频中的动作进行分类等等。尽管取得了成功,但许多模型忽略了世界处于3D 状态,并且没有扩展到 XY 图像平面$\mathbb{E}[20]$。虽然人类可以很容易地从图像的 2D 像素估计场景的 3D 结构,但大多数现有的 2D 图像视觉模型都没有考虑世界的 3D 结构。这就是为什么人类能够识别图像中的物体和视频中的动作的原因之一,而不管他们的观点如何, 但是视觉模型往往无法概括新颖的观点[11,20,42]
因此,在本文中,我们开发了一种学习视点不可知表示的方法,以便对视觉数据进行可靠的理解。获得与视点无关的表示的朴素解决方案将是用密集注释的 3D 数据监督模型,或者从包含不同视点的样本的大规模 2D 数据集中学习表示。鉴于这样的高质量数据获取昂贵且难以扩展的事实,因此需要一种在没有 3D 监督的情况下具有更高样本效率的方法
为此,我们提出了一种 3D 令牌表示层 (3DTRL), 将 3D 摄像机转换结合到最近成功的视觉变形金刚$\overline{\mathbb{E}}[7,16,36,59]$ 中。3DTRLE首先通过深度估计恢复每个令牌的以相机为中心的3D 坐标。然后 3DTRL$\operatorname{E}$估计一个相机矩阵,以将这些以相机为中心的坐标转换为 3D 世界空间。在这个世界空间中,标记的 3D 位置是绝对的和视图不变的,其中包含用于学习视点不可知表示的重要信息。因此,3DTRLE以 3D 位置嵌人的形式将此类 3D 位置信息合并到36th Conference on Neural Information Processing Systems (NeurIPS 2022)
|
[
[
0.181396484375,
0.1287841796875,
0.814453125,
0.1287841796875,
0.814453125,
0.146484375,
0.181396484375,
0.146484375
],
[
0.471435546875,
0.154052734375,
0.529296875,
0.154052734375,
0.529296875,
0.173583984375,
0.471435546875,
0.173583984375
],
[
0.3095703125,
0.2279052734375,
0.57421875,
0.2266845703125,
0.57421875,
0.2412109375,
0.3095703125,
0.242431640625
],
[
0.56640625,
0.2291259765625,
0.689453125,
0.2291259765625,
0.689453125,
0.242431640625,
0.56640625,
0.242431640625
],
[
0.38818359375,
0.242431640625,
0.60888671875,
0.242431640625,
0.60888671875,
0.2568359375,
0.38818359375,
0.2568359375
],
[
0.273681640625,
0.255126953125,
0.72216796875,
0.2568359375,
0.72216796875,
0.271484375,
0.273681640625,
0.26953125
],
[
0.250732421875,
0.266357421875,
0.74609375,
0.268310546875,
0.74609375,
0.2890625,
0.250732421875,
0.287353515625
],
[
0.463134765625,
0.322509765625,
0.53759765625,
0.322509765625,
0.53759765625,
0.337158203125,
0.463134765625,
0.337158203125
],
[
0.2344970703125,
0.354248046875,
0.765625,
0.354248046875,
0.765625,
0.3642578125,
0.2344970703125,
0.3642578125
],
[
0.2344970703125,
0.3662109375,
0.765625,
0.3662109375,
0.765625,
0.380126953125,
0.2344970703125,
0.380126953125
],
[
0.233642578125,
0.380126953125,
0.7646484375,
0.380126953125,
0.7646484375,
0.39453125,
0.233642578125,
0.39453125
],
[
0.2344970703125,
0.395751953125,
0.7646484375,
0.395751953125,
0.7646484375,
0.406005859375,
0.2344970703125,
0.406005859375
],
[
0.2320556640625,
0.4072265625,
0.7646484375,
0.40771484375,
0.7646484375,
0.421630859375,
0.2320556640625,
0.42041015625
],
[
0.233642578125,
0.421630859375,
0.765625,
0.421630859375,
0.765625,
0.43505859375,
0.233642578125,
0.43505859375
],
[
0.2344970703125,
0.43505859375,
0.765625,
0.43505859375,
0.765625,
0.448974609375,
0.2344970703125,
0.448974609375
],
[
0.233642578125,
0.449462890625,
0.7646484375,
0.449462890625,
0.7646484375,
0.46337890625,
0.233642578125,
0.46337890625
],
[
0.2320556640625,
0.46337890625,
0.76708984375,
0.462158203125,
0.76708984375,
0.47607421875,
0.2320556640625,
0.4765625
],
[
0.233642578125,
0.4765625,
0.7646484375,
0.4765625,
0.7646484375,
0.490478515625,
0.233642578125,
0.490478515625
],
[
0.233642578125,
0.490478515625,
0.7646484375,
0.490478515625,
0.7646484375,
0.50390625,
0.233642578125,
0.50390625
],
[
0.233642578125,
0.5048828125,
0.76708984375,
0.5048828125,
0.76708984375,
0.51806640625,
0.233642578125,
0.51806640625
],
[
0.2320556640625,
0.5166015625,
0.765625,
0.517578125,
0.765625,
0.5322265625,
0.2320556640625,
0.53076171875
],
[
0.233642578125,
0.5322265625,
0.765625,
0.5322265625,
0.765625,
0.54541015625,
0.233642578125,
0.54541015625
],
[
0.233642578125,
0.54541015625,
0.7646484375,
0.54541015625,
0.7646484375,
0.5595703125,
0.233642578125,
0.5595703125
],
[
0.233642578125,
0.56005859375,
0.765625,
0.56005859375,
0.765625,
0.57373046875,
0.233642578125,
0.57373046875
],
[
0.233642578125,
0.57275390625,
0.765625,
0.57275390625,
0.765625,
0.5859375,
0.233642578125,
0.5859375
],
[
0.233642578125,
0.58544921875,
0.76708984375,
0.5859375,
0.76708984375,
0.60107421875,
0.233642578125,
0.599609375
],
[
0.233642578125,
0.60107421875,
0.54345703125,
0.60107421875,
0.54345703125,
0.6142578125,
0.233642578125,
0.6142578125
],
[
0.1748046875,
0.64013671875,
0.2034912109375,
0.64013671875,
0.2034912109375,
0.6513671875,
0.1748046875,
0.6513671875
],
[
0.2017822265625,
0.64306640625,
0.2059326171875,
0.64306640625,
0.2059326171875,
0.6484375,
0.2017822265625,
0.6484375
],
[
0.205078125,
0.6396484375,
0.314453125,
0.6396484375,
0.314453125,
0.65283203125,
0.205078125,
0.65283203125
],
[
0.1748046875,
0.66845703125,
0.82421875,
0.66748046875,
0.82421875,
0.681640625,
0.1748046875,
0.68310546875
],
[
0.176513671875,
0.68310546875,
0.82177734375,
0.68310546875,
0.82177734375,
0.6962890625,
0.176513671875,
0.6962890625
],
[
0.17724609375,
0.69873046875,
0.8203125,
0.69873046875,
0.8203125,
0.708984375,
0.17724609375,
0.708984375
],
[
0.1748046875,
0.71044921875,
0.82177734375,
0.71044921875,
0.82177734375,
0.7236328125,
0.1748046875,
0.7236328125
],
[
0.176513671875,
0.72607421875,
0.82275390625,
0.72607421875,
0.82275390625,
0.7392578125,
0.176513671875,
0.7392578125
],
[
0.1748046875,
0.7373046875,
0.82421875,
0.73779296875,
0.82421875,
0.75244140625,
0.1748046875,
0.751953125
],
[
0.176513671875,
0.75048828125,
0.5361328125,
0.751953125,
0.5361328125,
0.76513671875,
0.176513671875,
0.7646484375
],
[
0.176513671875,
0.77294921875,
0.82177734375,
0.77294921875,
0.82177734375,
0.7861328125,
0.176513671875,
0.7861328125
],
[
0.1748046875,
0.787109375,
0.82177734375,
0.787109375,
0.82177734375,
0.80029296875,
0.1748046875,
0.80029296875
],
[
0.176513671875,
0.80029296875,
0.82421875,
0.80029296875,
0.82421875,
0.814453125,
0.176513671875,
0.814453125
],
[
0.176513671875,
0.814453125,
0.74169921875,
0.814453125,
0.74169921875,
0.82763671875,
0.176513671875,
0.82763671875
],
[
0.1748046875,
0.83349609375,
0.82275390625,
0.833984375,
0.82275390625,
0.8486328125,
0.1748046875,
0.84765625
],
[
0.1748046875,
0.8486328125,
0.8203125,
0.8486328125,
0.8203125,
0.8623046875,
0.1748046875,
0.8623046875
],
[
0.17724609375,
0.8642578125,
0.8203125,
0.8642578125,
0.8203125,
0.875,
0.17724609375,
0.875
],
[
0.1748046875,
0.876953125,
0.8203125,
0.876953125,
0.8203125,
0.89013671875,
0.1748046875,
0.89013671875
],
[
0.176513671875,
0.8896484375,
0.82177734375,
0.8896484375,
0.82177734375,
0.90283203125,
0.176513671875,
0.90283203125
],
[
0.1748046875,
0.9248046875,
0.62841796875,
0.9248046875,
0.62841796875,
0.93798828125,
0.1748046875,
0.93798828125
]
] |
[
"通过在3D空间中恢复令牌来学习与视点无关的视觉",
"表示",
"Jinghuan ShanglSrijanDasl,2",
"Michael S. Ryoo",
"Department of Computer Science",
"1Stony Brook University, 2University of North Carolina at Charlotte",
"1 { jishang, mryoo } @cs.stonybrook.edu, 2sdas24@uncc.edu",
"Abstract",
"Humans areremarkablyflexibleinunderstandingviewpointchangesduetovi-",
"sual cortex supporting the perception of 3D structure.In contrast, most of the",
"computer vision models that learn visual representation from a pool of 2D images",
"oftenfailtogeneralizeovernovelcameraviewpoints.Recently,thevisionarchi-",
"tectures have shifted towards convolution-free architectures, visual Transformers,",
"which operate on tokens derived from image patches. However, these Transform-",
"ers do not perform explicit operations to learn viewpoint-agnostic representation",
"for visual understanding. To this end, we propose a 3D Token Representation",
"Layer(3DTRL)that estimates the3Dpositional information of thevisual to-",
"kens and leverages it for learning viewpoint-agnostic representations. The key",
"elements of 3DTRL include a pseudo-depth estimator and a learned camera ma-",
"trix to impose geometric transformations on the tokens, trained in an unsuper-",
"vised fashion.These enable 3DTRL to recover the 3D positional information",
"of the tokens from 2D patches. In practice, 3DTRL is easily plugged-in into a",
"Transformer. Our experiments demonstrate the effectiveness of 3DTRL in many",
"vision tasks including image classification, multi-view video alignment, and ac-",
"tion recognition. The models with 3DTRL outperform their backbone Transform-",
"ers in all the tasks with minimal added computation.Our code is available at",
"https://github.com/elicassion/3DTRL.",
"1",
"",
"Introduction",
"在过去的几年中,计算机视觉模型从CNNE[6,26,58]迅速发展到现在的TransformersE",
"[16,24,59]。通过这些模型,我们现在可以准确地对图像中的对象进行分类,在视频对之间",
"对齐图像顿,对视频中的动作进行分类等等。尽管取得了成功,但许多模型忽略了世界处于",
"3D状态,并且没有扩展到XY图像平面E[20]。虽然人类可以很容易地从图像的2D像素",
"估计场景的3D结构,但大多数现有的2D图像视觉模型都没有考虑世界的3D结构。这就",
"是为什么人类能够识别图像中的物体和视频中的动作的原因之一,而不管他们的观点如何,",
"但是视觉模型往往无法概括新颖的观点[11,20,42]",
"因此,在本文中,我们开发了一种学习视点不可知表示的方法,以便对视觉数据进行可靠的",
"理解。获得与视点无关的表示的朴素解决方案将是用密集注释的3D数据监督模型,或者从",
"包含不同视点的样本的大规模2D数据集中学习表示。鉴于这样的高质量数据获取昂贵且难",
"以扩展的事实,因此需要一种在没有3D监督的情况下具有更高样本效率的方法",
"为此,我们提出了一种3D令牌表示层(3DTRL),将3D摄像机转换结合到最近成功的视觉",
"变形金刚E[7,16,36,59]中。3DTRLE首先通过深度估计恢复每个令牌的以相机为中心的",
"3D坐标。然后3DTRLE估计一个相机矩阵,以将这些以相机为中心的坐标转换为3D世界",
"空间。在这个世界空间中,标记的3D位置是绝对的和视图不变的,其中包含用于学习视点",
"不可知表示的重要信息。因此,3DTRLE以3D位置嵌入的形式将此类3D位置信息合并到",
"36th Conference on Neural Information Processing Systems (NeurlPS 2022),"
] |
{
"arxiv_id": "2206.11895",
"language": "zh",
"page_idx": 0
}
|
||
2206.11895-zh-1
|
2206.11895-zh-1.jpg
|
<FigureHere>
Figure 1: Overview of proposed 3DTRL. Left: 3DTRL is a module inserted in between Transformer layers. Right: 3DTRL has three parts, Pseudo-Depth Estimator, Camera Parameter Estimator, and $3\tilde{\text{D Positional Embedding layer. Within Pseudo-Depth Estimator, we first estimate depth of each}}$ token and then calculate 3D coordinates from 2D locations and depth.
Transformer 主干中,并生成具有 3D 信息的输出令牌。与仅依赖于 2D 位置嵌人的视觉变压
器不同,具有 3DTRLE的模型更符合学习视点不可知表示
我们对各种视觉任务进行了广泛的实验,以确认 3DTRL 的有效性。在各自的任务中,我们的 3DTRL 在 3 个图像分类、5 个多视图视频对齐和 2 个多视图动作识别数据集上优于Transformer 主干。此外,3DTRLE是一个轻量级的即插即用模块,以最小的开销(2个%计算和 4 个% 参数) 实现了上述改进
总而言之,我们提出了一个可学习的,可微的层 3DTRL$\overline{\mathbb{E}}$,可以有效地学习与视点无关的表
示
## 2 $\textbf{Background: Pinhole Camera Model}$
3DTRL$\overline{\mathrm{E}}$基于计算机视觉中广泛使用的标准针孔相机模型。因此,我们首先简要回顾针孔相机模型。在齐次坐标系中,给定一个具有世界坐标$p^\mathrm{world}$的点,相机通过以下方式将$p$处的像素投影到图像上:
$$p=K\:[\:R|t\:]\:p^{\mathrm{world}},$$
(1)
其中$K$是内部矩阵,$[\boldsymbol{R}|t]$是外部矩阵。$K$进一步由
$$\boldsymbol K=\begin{bmatrix}c&0&u_0\\0&c&v_0\\0&0&1\end{bmatrix},$$
(2)
表示,其中$c$是焦距,$(u_0,v_0)$是偏移。在这项工作中,我们探索多视图设置中的视觉理解, 从而旨在学习视点不可知的表示。在此设置中,可以使用位于不同位置和视角的不同摄像机捕获场景。在这里,世界坐标$p^\mathrm{world}$在所有相机上都是相同的,而像素投影$p$在相机上是不同的。我们专注于如何从$p$处的相应图像像素估计世界坐标$p^\mathrm{world}$。从$p$估计$p^\mathrm{world}$涉及两个转换,它们对应于$K$ 和$[\boldsymbol{R}|t]$ 的逆,这可能是事先不知道的。因此,我们学习从图像补丁来估计它们,这是 3DTRL 中的一个关键过程。
3 3D Token Representation Layer( 3DTRL)
在本节中,我们将详细介绍 3DTRL$\overline{\text{回如何估算变压器中的 3D 位置信息并进行集成。我们}}$
将引人 3DTRL$\operatorname{E}$进行图像分析,然后将其适应视频模型。
## 3.1 0verview
3DTRLE是一个简单而有效的插件模块,可以插人到可视化变压器的层之间(图E1 左)。给定一组输入令牌$S$ , 3DTRL$\overline{\text{E返回一组带有 3D 信息的令牌。令牌的数量及其维度保持不}}$ 变。在模块内(图$\operatorname{El}$ 右), 3DTRL$\operatorname{E}$首先使用两个估计器执行 3D 估计:(1)伪深度估计器和 (2)相机参数估计器。然后将令牌与其恢复的世界 3D 坐标相关联,这些坐标是从估计的深度和相机矩阵转换而来的。最后,3DTRL$\overline{\mathrm{E}}$从这些世界坐标生成 3D 位置嵌人,并将它们与输入$S$ 组合以生成 3DTRL 的输出
2
|
[
[
0.57275390625,
0.11871337890625,
0.59619140625,
0.11871337890625,
0.59619140625,
0.1307373046875,
0.57275390625,
0.1307373046875
],
[
0.44677734375,
0.14453125,
0.490234375,
0.1458740234375,
0.490234375,
0.154052734375,
0.44677734375,
0.15283203125
],
[
0.5908203125,
0.1458740234375,
0.62841796875,
0.1458740234375,
0.62841796875,
0.1610107421875,
0.5908203125,
0.1610107421875
],
[
0.44775390625,
0.154052734375,
0.48779296875,
0.154052734375,
0.48779296875,
0.1610107421875,
0.44775390625,
0.1610107421875
],
[
0.435546875,
0.1622314453125,
0.495849609375,
0.1622314453125,
0.495849609375,
0.169189453125,
0.435546875,
0.169189453125
],
[
0.5908203125,
0.1749267578125,
0.61669921875,
0.1749267578125,
0.61669921875,
0.1875,
0.5908203125,
0.1875
],
[
0.20751953125,
0.184326171875,
0.2344970703125,
0.1875,
0.2320556640625,
0.1976318359375,
0.205078125,
0.1944580078125
],
[
0.6611328125,
0.20263671875,
0.69140625,
0.20263671875,
0.69140625,
0.2139892578125,
0.6611328125,
0.2139892578125
],
[
0.176513671875,
0.2247314453125,
0.82177734375,
0.2247314453125,
0.82177734375,
0.238037109375,
0.176513671875,
0.238037109375
],
[
0.176513671875,
0.238037109375,
0.82275390625,
0.238037109375,
0.82275390625,
0.251953125,
0.176513671875,
0.251953125
],
[
0.176513671875,
0.250732421875,
0.82275390625,
0.250732421875,
0.82275390625,
0.26513671875,
0.176513671875,
0.26513671875
],
[
0.176513671875,
0.267578125,
0.6298828125,
0.267578125,
0.6298828125,
0.27783203125,
0.176513671875,
0.27783203125
],
[
0.176513671875,
0.306884765625,
0.82275390625,
0.306884765625,
0.82275390625,
0.32080078125,
0.176513671875,
0.32080078125
],
[
0.176513671875,
0.32080078125,
0.5908203125,
0.32080078125,
0.5908203125,
0.333984375,
0.176513671875,
0.333984375
],
[
0.176513671875,
0.341552734375,
0.82275390625,
0.341552734375,
0.82275390625,
0.354736328125,
0.176513671875,
0.354736328125
],
[
0.1748046875,
0.354248046875,
0.8203125,
0.354248046875,
0.8203125,
0.367431640625,
0.1748046875,
0.367431640625
],
[
0.1748046875,
0.36865234375,
0.82275390625,
0.36865234375,
0.82275390625,
0.3818359375,
0.1748046875,
0.3818359375
],
[
0.176513671875,
0.3837890625,
0.42236328125,
0.3837890625,
0.42236328125,
0.39453125,
0.176513671875,
0.39453125
],
[
0.176513671875,
0.404052734375,
0.82177734375,
0.404052734375,
0.82177734375,
0.417236328125,
0.176513671875,
0.417236328125
],
[
0.1748046875,
0.41845703125,
0.193603515625,
0.41845703125,
0.193603515625,
0.43115234375,
0.1748046875,
0.43115234375
],
[
0.1732177734375,
0.451904296875,
0.51708984375,
0.451904296875,
0.51708984375,
0.46533203125,
0.1732177734375,
0.46533203125
],
[
0.1748046875,
0.479736328125,
0.82177734375,
0.48095703125,
0.82177734375,
0.49560546875,
0.1748046875,
0.494384765625
],
[
0.17724609375,
0.49560546875,
0.82275390625,
0.49560546875,
0.82275390625,
0.5087890625,
0.17724609375,
0.5087890625
],
[
0.176513671875,
0.51123046875,
0.328369140625,
0.51123046875,
0.328369140625,
0.521484375,
0.176513671875,
0.521484375
],
[
0.42724609375,
0.53076171875,
0.56787109375,
0.52880859375,
0.56787109375,
0.54345703125,
0.42724609375,
0.54541015625
],
[
0.80224609375,
0.53076171875,
0.826171875,
0.53076171875,
0.826171875,
0.54443359375,
0.80224609375,
0.54443359375
],
[
0.176513671875,
0.5537109375,
0.560546875,
0.5537109375,
0.560546875,
0.5673828125,
0.176513671875,
0.5673828125
],
[
0.476318359375,
0.57763671875,
0.5537109375,
0.57763671875,
0.5537109375,
0.5888671875,
0.476318359375,
0.5888671875
],
[
0.43310546875,
0.5859375,
0.56787109375,
0.5888671875,
0.56787109375,
0.60498046875,
0.43310546875,
0.6015625
],
[
0.80224609375,
0.59033203125,
0.82421875,
0.59033203125,
0.82421875,
0.60400390625,
0.80224609375,
0.60400390625
],
[
0.476318359375,
0.60400390625,
0.5595703125,
0.60400390625,
0.5595703125,
0.61572265625,
0.476318359375,
0.61572265625
],
[
0.1748046875,
0.625,
0.82177734375,
0.62548828125,
0.82177734375,
0.64013671875,
0.1748046875,
0.6396484375
],
[
0.17724609375,
0.64013671875,
0.82177734375,
0.64013671875,
0.82177734375,
0.65478515625,
0.17724609375,
0.65478515625
],
[
0.176513671875,
0.65380859375,
0.4248046875,
0.65380859375,
0.4248046875,
0.66748046875,
0.176513671875,
0.66748046875
],
[
0.423095703125,
0.65087890625,
0.82275390625,
0.6513671875,
0.82275390625,
0.66943359375,
0.423095703125,
0.66845703125
],
[
0.17724609375,
0.66650390625,
0.82275390625,
0.66650390625,
0.82275390625,
0.68115234375,
0.17724609375,
0.68115234375
],
[
0.17724609375,
0.68115234375,
0.82275390625,
0.68115234375,
0.82275390625,
0.6943359375,
0.17724609375,
0.6943359375
],
[
0.1748046875,
0.6943359375,
0.53369140625,
0.6943359375,
0.53369140625,
0.70849609375,
0.1748046875,
0.70849609375
],
[
0.1732177734375,
0.72998046875,
0.56201171875,
0.72998046875,
0.56201171875,
0.744140625,
0.1732177734375,
0.744140625
],
[
0.176513671875,
0.76025390625,
0.82275390625,
0.76025390625,
0.82275390625,
0.7734375,
0.176513671875,
0.7734375
],
[
0.1748046875,
0.771484375,
0.5810546875,
0.77294921875,
0.5810546875,
0.787109375,
0.1748046875,
0.7861328125
],
[
0.17236328125,
0.80322265625,
0.283447265625,
0.8046875,
0.283447265625,
0.818359375,
0.17236328125,
0.81640625
],
[
0.17724609375,
0.83056640625,
0.8203125,
0.83056640625,
0.8203125,
0.84130859375,
0.17724609375,
0.84130859375
],
[
0.176513671875,
0.84326171875,
0.82177734375,
0.84326171875,
0.82177734375,
0.85693359375,
0.176513671875,
0.85693359375
],
[
0.176513671875,
0.85693359375,
0.82177734375,
0.85693359375,
0.82177734375,
0.87060546875,
0.176513671875,
0.87060546875
],
[
0.1748046875,
0.87060546875,
0.8203125,
0.87060546875,
0.8203125,
0.8837890625,
0.1748046875,
0.8837890625
],
[
0.1748046875,
0.88330078125,
0.82275390625,
0.8837890625,
0.82275390625,
0.8984375,
0.1748046875,
0.89794921875
],
[
0.17724609375,
0.8984375,
0.449462890625,
0.8984375,
0.449462890625,
0.912109375,
0.17724609375,
0.912109375
],
[
0.491943359375,
0.93505859375,
0.50732421875,
0.93505859375,
0.50732421875,
0.94970703125,
0.491943359375,
0.94970703125
]
] |
[
"CY",
"Viewpoint",
"Sestm-ter",
"Agnostic",
"Representatio",
"neraPa",
"input",
"3DTRL",
"Figure l: Overview of proposed 3DTRL. Left : 3DTRL is a module inserted in between Transformer",
"layers. Right : 3DTRL has three parts, Pseudo-Depth Estimator, Camera Parameter Estimator, and",
"3D Positional Embedding layer. Within Pseudo-Depth Estimator, we first estimate depth of each",
"tokenandthencalculate3Dcoordinatesfrom2Dlocationsanddepth",
"Transformer主干中,并生成具有3D信息的输出令牌。与仅依赖于2D位置嵌人的视觉变压",
"器不同,具有3DTRLE的模型更符合学习视点不可知表示",
"我们对各种视觉任务进行了广泛的实验,以确认3DTRL的有效性。在各自的任务中,我",
"们的3DTRL在3个图像分类、5个多视图视频对齐和2个多视图动作识别数据集上优于",
"Transformer主干。此外,3DTRLE是一个轻量级的即插即用模块,以最小的开销(2个%计",
"算和4个%参数)实现了上述改进",
"总而言之,我们提出了一个可学习的,可微的层3DTRLE,可以有效地学习与视点无关的表",
"示",
"2Background:Pinhole Camera Model",
"3DTRLE基于计算机视觉中广泛使用的标准针孔相机模型。因此,我们首先简要回顾针孔",
"相机模型。在齐次坐标系中,给定一个具有世界坐标pworld的点,相机通过以下方式将p处",
"的像素投影到图像上:",
"p=K[Rt]pworld",
"(1)",
"其中K是内部矩阵,【Rt]是外部矩阵。K进一步由",
"[couo",
"K=ocvo,",
"(2)",
"L0011",
"表示,其中c是焦距,(uo,vo)是偏移。在这项工作中,我们探索多视图设置中的视觉理解",
"从而旨在学习视点不可知的表示。在此设置中,可以使用位于不同位置和视角的不同摄像",
"机捕获场景。在这里,世界坐标pw",
"orld在所有相机上都是相同的,而像素投影p在相机上是",
"不同的。我们专注于如何从p处的相应图像像素估计世界坐标pworld。从p估计pworld涉及",
"两个转换,它们对应于K和「Rt1的逆,这可能是事先不知道的。因此,我们学习从图像",
"补丁来估计它们,这是3DTRL中的一个关键过程。",
"33D Token Representation Layer (3DTRL)",
"在本节中,我们将详细介绍3DTRLE如何估算变压器中的3D位置信息并进行集成。我们",
"将引人3DTRLE进行图像分析,然后将其适应视频模型。",
"3.1Overview",
"3DTRLE是一个简单而有效的插件模块,可以插入到可视化变压器的层之间(图E1左)",
"给定一组输人令牌S,3DTRLE返回一组带有3D信息的令牌。令牌的数量及其维度保持不",
"变。在模块内(图E1右),3DTRLE首先使用两个估计器执行3D估计:(1)伪深度估计器",
"和(2)相机参数估计器。然后将令牌与其恢复的世界3D坐标相关联,这些坐标是从估计",
"的深度和相机矩阵转换而来的。最后,3DTRLE从这些世界坐标生成3D位置嵌人,并将它",
"们与输入S组合以生成3DTRL的输出",
"2"
] |
{
"arxiv_id": "2206.11895",
"language": "zh",
"page_idx": 1
}
|
||
2206.11895-zh-2
|
2206.11895-zh-2.jpg
|
在我们在 Transformer 模型之间插人 3DTRL 的方面,3DTRL 隐式地利用它之前的 Transformer 层作为 3D 估计器的一部分,之后的层作为实际的 3D 特征编码器 (图 1 左)。这避免了添加大量参数,同时导致合理的估计。我们从经验上发现,将 3DTRL$\operatorname{E}$放置在网络的浅介质层会产生更好的结果 (请参阅第 4.6 节),这是模型估计能力与 3D 特征编码之间的权衡。
3.2 3D Estimation of the Input Tokens
3DTRLE首先使用深度估计和图像的所有令牌共享的相机矩阵来估计每个令牌的以相机为
中心的 3D 坐标。然后,相机矩阵将以相机为中心的 3D 坐标转换为“世界”坐标。
Pseudo-depth Estimation. 给定输人令牌$S=\{s_1,\ldots,s_N\}\in\mathbb{R}^{N\times m}$, 3DTRLE首先对每个令牌$s_n$执行伪深度估计。伪深度估计器是一个函数$f:\acute{\mathbb{R}}^m\to\mathbb{R}$ ,它分别输出每个令牌的深度$d_n=f(s_n)$ 。我们使用 2 层 MLP 实现$f$ 。我们称之为伪深度估计,因为它类似于单眼图像的深度估计,但在非常粗略的尺度上运行,因为每个令牌对应于一个图像补丁,而不是 Transformer 中的单个像素
在伪深度估计之后,3DTRLE将伪深度图转换为以相机为中心的 3D 坐标。回想一下,在ViTE[16]中,图像$X$被分解为$N$补丁$\{X_1,\ldots,X_N\}\in\mathbb{R}^{N\times P\times P\times3}$,其中$P\times P$是每个图像补丁的大小,令牌$S$是从这些图像补丁的线性投影获得的。因此,每个令牌最初与图像平面上的 2D 位置相关联,表示为$(u,v)$ 。通过深度估计,3DTRLE将每个令牌与另一个值$d$相关联。基于 2 节中解释的针孔相机模型,3DTRL$\operatorname{E}$通过以下方式将$u,v,d$转换为以相机为中心的 3D 坐标$(x,y,z):$
$$p_n^{\text{cam}}=\begin{bmatrix}x_n\\y_n\\z_n\end{bmatrix}=\begin{bmatrix}u_nz_n/c\\v_nz_n/c\\z_n\end{bmatrix},\text{where}z_n=d_n.$$
(3)
由于我们仅从单目图像执行上述估计,并且相机固有矩阵未知,因此我们只需将$c$设置为常数超参数。为了定义 2D 图像平面$(u,v)$的坐标系,为了方便起见,我们将原始图像的中心设置为原点(0,0) ,以便图像平面和相机坐标系共享同一原点。我们使用图像补丁的中心来表示其关联的$(u,v)$坐标
我们认为,这种基于深度的 3D 坐标估计最好地利用了已知的 2D 几何形状,这对于以后的表示学习是有益的。我们后来在我们的消融研究中证实了这一点(在E4.6节中),我们将其与直接估计$(x,y,z)$而不是深度的变体进行了比较。
Camera Parameter Estimation. 将估计的以相机为中心的 3D 坐标$p^\mathrm{cam}$转换为世界坐标系需要相机参数。这些相机参数是从所有输入令牌$S$联合估计的。这涉及通过估计器$g$估计两个矩阵,即$3\times 3\textit{旋 转 矩 阵 }\boldsymbol{R}$和 3$\times1$以及平移矩阵$t$ 。我们使用 MLP 实现$g$ 。具体来说, 我们使用共享的 MLP 词干将所有令牌聚合到中间表示中。然后,我们使用两个分离的全连接头分别估计$R$和$t$中的参数。我们注意到相机参数估计器作为一个整体:[ $\boldsymbol{R}|\boldsymbol{t}|=g(S)$ 。为了确保$R$在数学上有效,我们首先估计与相机姿态的偏航角,俯仰角和侧倾角相对应的三个值,然后将其转换为$3\times3$旋转矩阵。研究表明,在旋转表示 [63,69]中,不连续性发生在边界情况下,然而,这种角点情况很少见
在像对象分类这样的通用视觉理解任务的情况下,我们期望相机参数估计相对于类对象的“常见”姿势执行图像的“以对象为中心的规范化”。附录中的图 11 定性地显示了这一点。Transform to World Coordinates. 现在,使用相机参数,3DTRL$\boxed{\mathrm{E}}$将估计的以相机为中心的坐标$p^\mathrm{cam}$转换为世界空间,这是一个 3D 空间,其中令牌的 3D 坐标是绝对的且视点不变的。遵循针孔相机模型,我们恢复$p^\mathrm{world}:$
$$p_{n}^{\mathrm{world}}=[\:R^{T}|R^{T}t\:]\:p_{n}^{\mathrm{cam}}.$$
(4)
3.3 Incorporating 3D Positional Information in Transformers
3DTRL 的最后一步是利用变压器主干中估计的 3D 位置信息。为此,我们选择采用一种典型的合并位置嵌人技术,该技术已在 Transformers$\boxed{\mathrm{F}}[16,60]$中使用。与 ViTs$\boxed[16]$中的 2D 位置嵌人相反,3DTRLE学习了 3D 嵌人函数$h:\mathbb{R}^3\to\mathbb{R}^m$ ,以将估计的世界坐标$p^\mathrm{world}$转
3
|
[
[
0.176513671875,
0.0921630859375,
0.82275390625,
0.0921630859375,
0.82275390625,
0.1060791015625,
0.176513671875,
0.1060791015625
],
[
0.176513671875,
0.106689453125,
0.82275390625,
0.106689453125,
0.82275390625,
0.12060546875,
0.176513671875,
0.12060546875
],
[
0.17724609375,
0.12060546875,
0.82177734375,
0.12060546875,
0.82177734375,
0.1337890625,
0.17724609375,
0.1337890625
],
[
0.176513671875,
0.1337890625,
0.82275390625,
0.1337890625,
0.82275390625,
0.147705078125,
0.176513671875,
0.147705078125
],
[
0.176513671875,
0.1483154296875,
0.1993408203125,
0.1483154296875,
0.1993408203125,
0.1610107421875,
0.176513671875,
0.1610107421875
],
[
0.1732177734375,
0.179931640625,
0.455810546875,
0.18115234375,
0.455810546875,
0.1956787109375,
0.1732177734375,
0.1944580078125
],
[
0.1748046875,
0.205810546875,
0.82177734375,
0.20703125,
0.82177734375,
0.2203369140625,
0.1748046875,
0.2197265625
],
[
0.176513671875,
0.2215576171875,
0.7607421875,
0.2215576171875,
0.7607421875,
0.23486328125,
0.176513671875,
0.23486328125
],
[
0.178955078125,
0.250732421875,
0.82177734375,
0.250732421875,
0.82177734375,
0.26513671875,
0.178955078125,
0.26513671875
],
[
0.176513671875,
0.266357421875,
0.81884765625,
0.266357421875,
0.81884765625,
0.276611328125,
0.176513671875,
0.276611328125
],
[
0.176513671875,
0.27978515625,
0.82177734375,
0.27978515625,
0.82177734375,
0.29345703125,
0.176513671875,
0.29345703125
],
[
0.176513671875,
0.29345703125,
0.82275390625,
0.29345703125,
0.82275390625,
0.306884765625,
0.176513671875,
0.306884765625
],
[
0.176513671875,
0.306884765625,
0.378173828125,
0.30810546875,
0.378173828125,
0.3212890625,
0.176513671875,
0.32080078125
],
[
0.176513671875,
0.32763671875,
0.82275390625,
0.32763671875,
0.82275390625,
0.341552734375,
0.176513671875,
0.341552734375
],
[
0.1748046875,
0.34033203125,
0.50244140625,
0.341552734375,
0.50244140625,
0.354736328125,
0.1748046875,
0.354248046875
],
[
0.5185546875,
0.3359375,
0.82421875,
0.3359375,
0.82421875,
0.356689453125,
0.5185546875,
0.356689453125
],
[
0.176513671875,
0.35595703125,
0.82177734375,
0.35595703125,
0.82177734375,
0.369384765625,
0.176513671875,
0.369384765625
],
[
0.1748046875,
0.36865234375,
0.8203125,
0.36865234375,
0.8203125,
0.3818359375,
0.1748046875,
0.3818359375
],
[
0.176513671875,
0.3818359375,
0.82177734375,
0.3818359375,
0.82177734375,
0.395751953125,
0.176513671875,
0.395751953125
],
[
0.1748046875,
0.396484375,
0.404296875,
0.397705078125,
0.404296875,
0.410888671875,
0.1748046875,
0.410400390625
],
[
0.468017578125,
0.4248046875,
0.52392578125,
0.4248046875,
0.52392578125,
0.43505859375,
0.468017578125,
0.43505859375
],
[
0.3505859375,
0.436279296875,
0.41015625,
0.431884765625,
0.41259765625,
0.4462890625,
0.351318359375,
0.451904296875
],
[
0.46728515625,
0.436279296875,
0.52294921875,
0.434326171875,
0.52392578125,
0.448974609375,
0.468017578125,
0.45068359375
],
[
0.5146484375,
0.434326171875,
0.64453125,
0.43505859375,
0.64453125,
0.449462890625,
0.5146484375,
0.448974609375
],
[
0.8037109375,
0.436279296875,
0.82421875,
0.436279296875,
0.82421875,
0.45068359375,
0.8037109375,
0.45068359375
],
[
0.4599609375,
0.43994140625,
0.46728515625,
0.43994140625,
0.46728515625,
0.44580078125,
0.4599609375,
0.44580078125
],
[
0.406005859375,
0.439453125,
0.4306640625,
0.439453125,
0.4306640625,
0.447509765625,
0.406005859375,
0.447509765625
],
[
0.443603515625,
0.44140625,
0.455810546875,
0.44140625,
0.455810546875,
0.44580078125,
0.443603515625,
0.44580078125
],
[
0.406005859375,
0.451904296875,
0.4306640625,
0.451904296875,
0.4306640625,
0.460205078125,
0.406005859375,
0.460205078125
],
[
0.465576171875,
0.451904296875,
0.51953125,
0.451904296875,
0.51953125,
0.462158203125,
0.465576171875,
0.462158203125
],
[
0.17724609375,
0.47607421875,
0.82275390625,
0.47607421875,
0.82275390625,
0.4892578125,
0.17724609375,
0.4892578125
],
[
0.176513671875,
0.488037109375,
0.82275390625,
0.488037109375,
0.82275390625,
0.50244140625,
0.176513671875,
0.50244140625
],
[
0.176513671875,
0.50244140625,
0.82275390625,
0.50244140625,
0.82275390625,
0.5166015625,
0.176513671875,
0.5166015625
],
[
0.17724609375,
0.51806640625,
0.351318359375,
0.51806640625,
0.351318359375,
0.52880859375,
0.17724609375,
0.52880859375
],
[
0.1748046875,
0.537109375,
0.82177734375,
0.5361328125,
0.82177734375,
0.55029296875,
0.1748046875,
0.5517578125
],
[
0.17724609375,
0.5517578125,
0.82275390625,
0.5517578125,
0.82275390625,
0.56494140625,
0.17724609375,
0.56494140625
],
[
0.17724609375,
0.56494140625,
0.5390625,
0.56494140625,
0.5390625,
0.5791015625,
0.17724609375,
0.5791015625
],
[
0.181396484375,
0.59765625,
0.8203125,
0.59765625,
0.8203125,
0.60791015625,
0.181396484375,
0.60791015625
],
[
0.176513671875,
0.60986328125,
0.82177734375,
0.60986328125,
0.82177734375,
0.62353515625,
0.176513671875,
0.62353515625
],
[
0.17724609375,
0.62353515625,
0.82177734375,
0.62353515625,
0.82177734375,
0.63720703125,
0.17724609375,
0.63720703125
],
[
0.176513671875,
0.63720703125,
0.82275390625,
0.63720703125,
0.82275390625,
0.65087890625,
0.176513671875,
0.65087890625
],
[
0.1748046875,
0.65087890625,
0.82275390625,
0.6513671875,
0.82275390625,
0.66552734375,
0.1748046875,
0.6640625
],
[
0.176513671875,
0.66552734375,
0.82177734375,
0.66552734375,
0.82177734375,
0.6787109375,
0.176513671875,
0.6787109375
],
[
0.178955078125,
0.6787109375,
0.82177734375,
0.6787109375,
0.82177734375,
0.6923828125,
0.178955078125,
0.6923828125
],
[
0.176513671875,
0.69140625,
0.50244140625,
0.693359375,
0.50244140625,
0.70703125,
0.176513671875,
0.705078125
],
[
0.178955078125,
0.71533203125,
0.8203125,
0.71533203125,
0.8203125,
0.72607421875,
0.178955078125,
0.72607421875
],
[
0.176513671875,
0.72607421875,
0.814453125,
0.7265625,
0.814453125,
0.7412109375,
0.176513671875,
0.74072265625
],
[
0.1805419921875,
0.75830078125,
0.82177734375,
0.75830078125,
0.82177734375,
0.771484375,
0.1805419921875,
0.771484375
],
[
0.176513671875,
0.77294921875,
0.82275390625,
0.77294921875,
0.82275390625,
0.7861328125,
0.176513671875,
0.7861328125
],
[
0.176513671875,
0.7861328125,
0.4697265625,
0.78515625,
0.4697265625,
0.798828125,
0.176513671875,
0.7998046875
],
[
0.410888671875,
0.8125,
0.583984375,
0.8125,
0.583984375,
0.8271484375,
0.410888671875,
0.8271484375
],
[
0.8037109375,
0.8125,
0.82421875,
0.8125,
0.82421875,
0.82568359375,
0.8037109375,
0.82568359375
],
[
0.1732177734375,
0.84326171875,
0.61669921875,
0.8447265625,
0.61669921875,
0.859375,
0.1732177734375,
0.85791015625
],
[
0.176513671875,
0.87060546875,
0.82177734375,
0.87060546875,
0.82177734375,
0.88525390625,
0.176513671875,
0.88525390625
],
[
0.176513671875,
0.8837890625,
0.82177734375,
0.8837890625,
0.82177734375,
0.89794921875,
0.176513671875,
0.89794921875
],
[
0.17724609375,
0.8984375,
0.82177734375,
0.8984375,
0.82177734375,
0.912109375,
0.17724609375,
0.912109375
],
[
0.49267578125,
0.9375,
0.50634765625,
0.9375,
0.50634765625,
0.94873046875,
0.49267578125,
0.94873046875
]
] |
[
"在我们在Transformer模型之间插入3DTRL的方面,3DTRL隐式地利用它之前的Trans",
"former层作为3D估计器的一部分,之后的层作为实际的3D特征编码器(图1左)。这避",
"免了添加大量参数,同时导致合理的估计。我们从经验上发现,将3DTRLE放置在网络的",
"浅介质层会产生更好的结果(请参阅第4.6节),这是模型估计能力与3D特征编码之间的权",
"衡。",
"3.23DEstimation of theInputTokens",
"3DTRLE首先使用深度估计和图像的所有令牌共享的相机矩阵来估计每个令牌的以相机为",
"中心的3D坐标。然后,相机矩阵将以相机为中心的3D坐标转换为“世界”坐标。",
"Pseudo-depthEstimation。给定输人令牌S={S1,..,SN)ERNxm,3DTRLE首先对每",
"个今牌S执行伪深度估计。伪深度估计器是一个函数f:Rm一R它分别输出每个今牌",
"的深度dn=f(sn)。我们使用2层MLP实现f。我们称之为伪深度估计,因为它类似于单",
"眼图像的深度估计,但在非常粗略的尺度上运行,因为每个令牌对应于一个图像补丁,而不",
"是Transformer中的单个像素",
"在伪深度估计之后,3DTRLE将伪深度图转换为以相机为中心的3D坐标。回想一下,在",
"ViTE[16]中,图像X被分解为N补丁X1,",
",XNERNXPXPx3,其中PXP是每个",
"图像补丁的大小,令牌S是从这些图像补丁的线性投影获得的。因此,每个令牌最初与图",
"像平面上的2D位置相关联,表示为(u,U)。通过深度估计,3DTRLE将每个令牌与另一个",
"值d相关联。基于2节中解释的针孔相机模型,3DTRLE通过以下方式将u,,d转换为以",
"相机为中心的3D坐标(T,y,2):",
"unzn/c",
"pcam=/",
"Unzn/c",
",wherezn=dn",
"(3)",
"",
"Yn",
"",
"zn",
"zn",
"由于我们仅从单目图像执行上述估计,并且相机固有矩阵未知,因此我们只需将c设置为常",
"数超参数。为了定义2D图像平面(u,)的坐标系,为了方便起见,我们将原始图像的中心",
"设置为原点(0,0),以便图像平面和相机坐标系共享同一原点。我们使用图像补丁的中心来",
"表示其关联的(u,)坐标",
"我们认为,这种基于深度的3D坐标估计最好地利用了已知的2D几何形状,这对于以后的",
"表示学习是有益的。我们后来在我们的消融研究中证实了这一点(在E4.6节中),我们将其",
"与直接估计(,y,2)而不是深度的变体进行了比较。",
"CameraParameterEstimation.将估计的以相机为中心的3D坐标pcam转换为世界坐标系",
"需要相机参数。这些相机参数是从所有输入令牌S联合估计的。这涉及通过估计器9估计",
"两个矩阵,即3×3旋转矩阵R和3×1以及平移矩阵t。我们使用MLP实现g。具体来说",
"我们使用共享的MLP词干将所有令牌聚合到中间表示中。然后,我们使用两个分离的全连",
"接头分别估计R和t中的参数。我们注意到相机参数估计器作为一个整体:【Rt]=g(S)",
"为了确保R在数学上有效,我们首先估计与相机姿态的偏航角,俯仰角和侧倾角相对应的",
"三个值,然后将其转换为3×3旋转矩阵。研究表明,在旋转表示[63,691中,不连续性发",
"生在边界情况下,然而,这种角点情况很少见",
"在像对象分类这样的通用视觉理解任务的情况下,我们期望相机参数估计相对于类对象的",
"“常见”姿势执行图像的“以对象为中心的规范化”。附录中的图11定性地显示了这一点。",
"TransformtoWorldCoordinates现在,使用相机参数,3DTRLE将估计的以相机为中心",
"的坐标pcam转换为世界空间,这是一个3D空间,其中令牌的3D坐标是绝对的且视点不变",
"的。遵循针孔相机模型,我们恢复pworld:",
"pworld =[R'|R't] pcam",
"(4)",
"3.3Incorporating 3D Positional Information in Transformers",
"3DTRL的最后一步是利用变压器主干中估计的3D位置信息。为此,我们选择采用一种典",
"型的合并位置嵌人技术,该技术已在TransformersE[16,60]中使用。与ViTsE[16]中的2D",
"位置嵌人相反,3DTRLE学习了3D嵌人函数h:R3→Rm,以将估计的世界坐标pworld转",
"3"
] |
{
"arxiv_id": "2206.11895",
"language": "zh",
"page_idx": 2
}
|
||
2206.11895-zh-3
|
2206.11895-zh-3.jpg
|
换为位置嵌人$p^\mathrm{3D}$。此 3D 嵌入函数$h$是使用两层 MLP 实现的。然后,通过将获得的 3D 位置嵌人与令牌表示相结合,将其合并到 Transformer 主干中。结果是最终的令牌表示$\{s^\mathrm{3D}\}:$
$$s_n^{3\mathrm{D}}=s_n+p_n^{3\mathrm{D}},\:\mathrm{where}\:p^{3\mathrm{D}}=h(p^{\mathrm{world}}).$$
(5)
在 3D 嵌人之后,所得到的令牌表示与 3D 空间相关联,从而使其余的 Transformer 层能够对与视点无关的令牌表示进行编码。我们讨论了在 4.6 节中合并令牌的 3D 位置信息的其他方法
# 3.4 3DTRL in Video Models
值得注意的是,3DTRL 也可以很容易地推广到视频模型。对于视频模型,3DTRLE的输人是与包含$T$帧的视频剪辑相对应的一组时空令牌$\{S_1,\ldots,S_T\}$,其中$S_t=\{s_{t1},\ldots,s_{tN}\}$是来自$t$帧的$N$令牌。我们只需扩展我们的模块以在附加的时间维度上运行,其中分别为每个时空令牌$s_tn$进行深度估计和 3D 位置嵌入:$d_tn=f(s_{tn}),p_{tn}^\mathrm{3D}=h(p_{tn}^\mathrm{world})$。每个输入帧( $S_t$ )以分离的方式估计摄像机参数,即$[\boldsymbol R|\boldsymbol{t}]_t=g(S_t)$ ,每个视频总共产生 $T$ 个摄像机矩阵。我们在补充中研究了另一种相机估计策略,其中所有帧仅学习一个相机矩阵。然而,我们的研究证实了每帧学习分离相机矩阵的有效性
# 4 Experiments
我们进行了广泛的实验,以证明 3DTRLE在多个视觉任务中学习的视点不可知表示的功效:(i)图像分类,(ii)多视图视频对齐和(iii)视频动作分类。我们还定性地评估了伪深度和相机估计,以确认 3DTRLE作品
# 4.1 Image Classification
为了验证 3DTRL 的强大功能,我们首先使用 3DTRLE评估 ViTE[16] ,以使用 CIFAR-10$\boxed{\mathrm{E}}$
[34] , CIFAR- 100$\underline {{\mathrm{E} }}[ 34]$ 和 ImageNet-1K$\underline {\underline {\mathrm{E} }}[ 15]$ 。
Training 我们使用 DeiT [59] 的训练配方,从头开始在 CIFAR 和 ImageNet 数据集上训练我们的基准视觉转换器模型。我们进行了消融,以在 ViTs 中找到应插人 3DTRLE的最佳位置 (第$\mathbb{E}$4.6 节)。因此,在我们所有的实验中,除非另有说明,否则我们将 3DTRLE放置在4个Transformer 层之后。我们的 DeiT-T, DeiT-S 和 DeiT-B 的配置与$\operatorname{E}[59]$ 中提到的配置相同。我们所有的变压器模型都分别为 CIFAR 和 ImageNet 训练了50 和 300个时期。进一步的训练细节和超参数可以在补充材料中找到。
Table 1: Top 1 classification accuracy(%)on CIFAR-10 and
100, ImageNet-1K (IN-1K), viewpoint-perturbed IN-1K (IN-
1K- p ), and ObjectNet. We also report the number of param-
eters $(\#$ params) and computation (in MACs). Note that the
<FigureHere>
MACs are reported w.r.t. IN-1K samples
<table>
<tbody>
<tr>
<th>Method</th>
<th>井 params</th>
<th>MACs</th>
<th>CIFAR- 10</th>
<th>CIFAR- 100</th>
<th>$IN-1K$</th>
<th>$IN-1K-p$</th>
<th>ObjectNet</th>
</tr>
<tr>
<td rowspan="2">DeiT-T $+3DTRL$</td>
<td>$5.72M$</td>
<td>$1.08G$</td>
<td>74.1</td>
<td>51.3</td>
<td>73.4</td>
<td>61.3</td>
<td>21.3</td>
</tr>
<tr>
<td>$5.95M$</td>
<td>$1.10G$</td>
<td>78.8 (+4.7)</td>
<td>53.7 (+2.4 1</td>
<td>73.6 (+0.2)</td>
<td>64.6 (+3.3)</td>
<td>22.4 (+1.1</td>
</tr>
<tr>
<td rowspan="2">DeiT-S $+3DTRL$</td>
<td>$22.1M$</td>
<td>$4.24G$</td>
<td>77.2</td>
<td>54.6</td>
<td>79.4</td>
<td>71.1</td>
<td>25.8</td>
</tr>
<tr>
<td>$23.0M$</td>
<td>$4.33G$</td>
<td>80.7 (+3.5)</td>
<td>61.5 (+6.9)</td>
<td>79.7 (+0.3)</td>
<td>72.7 (+1.6)</td>
<td>27.1 (+1.3</td>
</tr>
<tr>
<td rowspan="2">DeiT-B $+3DTRL$</td>
<td>$86.6M$</td>
<td>$16.7G$</td>
<td>76.6</td>
<td>51.9</td>
<td>81.0</td>
<td>70.6</td>
<td>27.0</td>
</tr>
<tr>
<td>$90.1M$</td>
<td>$17.2G$</td>
<td>82.8 (+6.2</td>
<td>61.8 (+9.9</td>
<td>81.2 $i+$ +0.2</td>
<td>74.7 1+. 4.1</td>
<td>27.3 $i+$ +0.3</td>
</tr>
</tbody>
</table>
Figure 2: Top : original IN-1K samples. Bottom : viewpointperturbed IN-1K samples.
$\textbf{Results 来 自 表 2, 3DTRL 与 所 有 DeiT 变 体 相 比 , 在 CIFAR 数 据 集 上 显 示 出 一 致 的 性 能 }$ 改进,仅 % 计算开销和 2 % 更多参数。尽管训练样本较少,但 3DTRL 在 CIFAR 中的表现明显优于基线,显示了 3DTRL 在训练数据有限的情况下具有很强的泛化能力。我们认为,多视图数据并不丰富,特别是在数据有限的领域(如医学领域),因此 3DTRL$\overline{\mathrm{E}}$具有学习视点不可知表示的能力在这些领域至关重要。我们还发现 ImageNet 上的性能改进小于 CIFAR 上的性能改进。这是因为 ImageNet 在训练和验证拆分中都具有有限的视点,因此降低了执行几何感知变换以学习视图不可知表示的重要性。相比之下,CIFAR 样本呈现更多样化的相机视点,因此它是一个更适合测试学习的视点不可知表示质量的数据集
4
|
[
[
0.176513671875,
0.0921630859375,
0.82275390625,
0.0921630859375,
0.82275390625,
0.1060791015625,
0.176513671875,
0.1060791015625
],
[
0.1748046875,
0.10479736328125,
0.82275390625,
0.1060791015625,
0.82275390625,
0.12060546875,
0.1748046875,
0.11932373046875
],
[
0.36279296875,
0.1287841796875,
0.6337890625,
0.126953125,
0.6337890625,
0.14453125,
0.36279296875,
0.146484375
],
[
0.8037109375,
0.1307373046875,
0.82421875,
0.1307373046875,
0.82421875,
0.14453125,
0.8037109375,
0.14453125
],
[
0.176513671875,
0.154052734375,
0.82275390625,
0.154052734375,
0.82275390625,
0.1673583984375,
0.176513671875,
0.1673583984375
],
[
0.17724609375,
0.1673583984375,
0.82177734375,
0.1673583984375,
0.82177734375,
0.18115234375,
0.17724609375,
0.18115234375
],
[
0.1748046875,
0.1817626953125,
0.193603515625,
0.1817626953125,
0.193603515625,
0.1944580078125,
0.1748046875,
0.1944580078125
],
[
0.1748046875,
0.2108154296875,
0.386474609375,
0.2108154296875,
0.386474609375,
0.2247314453125,
0.1748046875,
0.2247314453125
],
[
0.176513671875,
0.2374267578125,
0.82177734375,
0.2374267578125,
0.82177734375,
0.250732421875,
0.176513671875,
0.250732421875
],
[
0.176513671875,
0.250732421875,
0.73779296875,
0.250732421875,
0.73779296875,
0.264404296875,
0.176513671875,
0.264404296875
],
[
0.75634765625,
0.25244140625,
0.82177734375,
0.250732421875,
0.82177734375,
0.261962890625,
0.75634765625,
0.264404296875
],
[
0.176513671875,
0.264404296875,
0.82177734375,
0.264404296875,
0.82177734375,
0.27783203125,
0.176513671875,
0.27783203125
],
[
0.176513671875,
0.27587890625,
0.82275390625,
0.27587890625,
0.82275390625,
0.29345703125,
0.176513671875,
0.29345703125
],
[
0.176513671875,
0.291748046875,
0.82177734375,
0.291748046875,
0.82177734375,
0.30615234375,
0.176513671875,
0.30615234375
],
[
0.176513671875,
0.30615234375,
0.82421875,
0.30615234375,
0.82421875,
0.3193359375,
0.176513671875,
0.3193359375
],
[
0.176513671875,
0.32080078125,
0.51953125,
0.32080078125,
0.51953125,
0.333984375,
0.176513671875,
0.333984375
],
[
0.17236328125,
0.352783203125,
0.31787109375,
0.354248046875,
0.31787109375,
0.36865234375,
0.17236328125,
0.367431640625
],
[
0.176513671875,
0.3837890625,
0.82177734375,
0.3837890625,
0.82177734375,
0.397705078125,
0.176513671875,
0.397705078125
],
[
0.176513671875,
0.3984375,
0.82275390625,
0.3984375,
0.82275390625,
0.412353515625,
0.176513671875,
0.412353515625
],
[
0.176513671875,
0.412353515625,
0.443603515625,
0.412353515625,
0.443603515625,
0.425537109375,
0.176513671875,
0.425537109375
],
[
0.1748046875,
0.442626953125,
0.358642578125,
0.442626953125,
0.358642578125,
0.455810546875,
0.1748046875,
0.455810546875
],
[
0.176513671875,
0.46728515625,
0.82421875,
0.466552734375,
0.82421875,
0.479736328125,
0.176513671875,
0.48095703125
],
[
0.1748046875,
0.481689453125,
0.5146484375,
0.481689453125,
0.5146484375,
0.49560546875,
0.1748046875,
0.49560546875
],
[
0.1805419921875,
0.51220703125,
0.82177734375,
0.51220703125,
0.82177734375,
0.52294921875,
0.1805419921875,
0.52294921875
],
[
0.176513671875,
0.5244140625,
0.82275390625,
0.5244140625,
0.82275390625,
0.53857421875,
0.176513671875,
0.53857421875
],
[
0.176513671875,
0.53857421875,
0.82177734375,
0.53857421875,
0.82177734375,
0.5517578125,
0.176513671875,
0.5517578125
],
[
0.1748046875,
0.5517578125,
0.82177734375,
0.5517578125,
0.82177734375,
0.56494140625,
0.1748046875,
0.56494140625
],
[
0.176513671875,
0.56640625,
0.82177734375,
0.56640625,
0.82177734375,
0.580078125,
0.176513671875,
0.580078125
],
[
0.1748046875,
0.5791015625,
0.490234375,
0.5791015625,
0.490234375,
0.59228515625,
0.1748046875,
0.59228515625
],
[
0.1748046875,
0.6123046875,
0.583984375,
0.6123046875,
0.583984375,
0.62548828125,
0.1748046875,
0.62548828125
],
[
0.17724609375,
0.626953125,
0.58251953125,
0.626953125,
0.58251953125,
0.63720703125,
0.17724609375,
0.63720703125
],
[
0.176513671875,
0.6396484375,
0.583984375,
0.6396484375,
0.583984375,
0.65283203125,
0.176513671875,
0.65283203125
],
[
0.1732177734375,
0.6513671875,
0.58251953125,
0.6513671875,
0.58251953125,
0.66552734375,
0.1732177734375,
0.66552734375
],
[
0.1748046875,
0.66748046875,
0.443603515625,
0.66748046875,
0.443603515625,
0.68115234375,
0.1748046875,
0.68115234375
],
[
0.17724609375,
0.689453125,
0.44287109375,
0.689453125,
0.44287109375,
0.70263671875,
0.17724609375,
0.70263671875
],
[
0.4697265625,
0.689453125,
0.529296875,
0.69140625,
0.529296875,
0.70263671875,
0.4697265625,
0.70068359375
],
[
0.52392578125,
0.68994140625,
0.57421875,
0.68994140625,
0.57421875,
0.70068359375,
0.52392578125,
0.70068359375
],
[
0.2646484375,
0.70068359375,
0.325927734375,
0.70068359375,
0.325927734375,
0.724609375,
0.2646484375,
0.724609375
],
[
0.3095703125,
0.69775390625,
0.5849609375,
0.69775390625,
0.5849609375,
0.7265625,
0.3095703125,
0.7265625
],
[
0.221435546875,
0.7021484375,
0.265625,
0.7021484375,
0.265625,
0.724609375,
0.221435546875,
0.724609375
],
[
0.178955078125,
0.7021484375,
0.2156982421875,
0.7041015625,
0.214111328125,
0.71533203125,
0.17724609375,
0.71337890625
],
[
0.1829833984375,
0.71044921875,
0.2254638671875,
0.71044921875,
0.2254638671875,
0.7216796875,
0.1829833984375,
0.7216796875
],
[
0.2646484375,
0.70703125,
0.271240234375,
0.70703125,
0.271240234375,
0.71044921875,
0.2646484375,
0.71044921875
],
[
0.176513671875,
0.72021484375,
0.226318359375,
0.72021484375,
0.226318359375,
0.744140625,
0.176513671875,
0.744140625
],
[
0.35302734375,
0.72021484375,
0.41259765625,
0.72021484375,
0.41259765625,
0.744140625,
0.35302734375,
0.744140625
],
[
0.464111328125,
0.7197265625,
0.59228515625,
0.7197265625,
0.59228515625,
0.74560546875,
0.464111328125,
0.74560546875
],
[
0.398681640625,
0.7216796875,
0.4697265625,
0.7216796875,
0.4697265625,
0.744140625,
0.398681640625,
0.744140625
],
[
0.2296142578125,
0.7236328125,
0.26318359375,
0.7236328125,
0.26318359375,
0.7412109375,
0.2296142578125,
0.7412109375
],
[
0.2646484375,
0.7216796875,
0.365234375,
0.7216796875,
0.365234375,
0.744140625,
0.2646484375,
0.744140625
],
[
0.259033203125,
0.72900390625,
0.271240234375,
0.72900390625,
0.271240234375,
0.73291015625,
0.259033203125,
0.73291015625
],
[
0.2646484375,
0.734375,
0.271240234375,
0.734375,
0.271240234375,
0.7373046875,
0.2646484375,
0.7373046875
],
[
0.5947265625,
0.72900390625,
0.82275390625,
0.72900390625,
0.82275390625,
0.7421875,
0.5947265625,
0.7421875
],
[
0.178955078125,
0.7392578125,
0.221435546875,
0.744140625,
0.2181396484375,
0.75830078125,
0.176513671875,
0.75244140625
],
[
0.25732421875,
0.7421875,
0.35546875,
0.7421875,
0.35546875,
0.7646484375,
0.25732421875,
0.7646484375
],
[
0.463134765625,
0.7412109375,
0.52783203125,
0.7412109375,
0.52783203125,
0.7646484375,
0.463134765625,
0.7646484375
],
[
0.67333984375,
0.7421875,
0.74267578125,
0.7421875,
0.74267578125,
0.75390625,
0.67333984375,
0.75390625
],
[
0.41015625,
0.74365234375,
0.468017578125,
0.74365234375,
0.468017578125,
0.76318359375,
0.41015625,
0.76318359375
],
[
0.35546875,
0.74365234375,
0.38818359375,
0.74365234375,
0.38818359375,
0.76318359375,
0.35546875,
0.76318359375
],
[
0.59716796875,
0.74365234375,
0.65625,
0.74365234375,
0.65625,
0.7548828125,
0.59716796875,
0.7548828125
],
[
0.7548828125,
0.744140625,
0.82421875,
0.744140625,
0.82421875,
0.7548828125,
0.7548828125,
0.7548828125
],
[
0.52392578125,
0.74560546875,
0.55126953125,
0.74560546875,
0.55126953125,
0.76220703125,
0.52392578125,
0.76220703125
],
[
0.2296142578125,
0.744140625,
0.26318359375,
0.744140625,
0.26318359375,
0.76220703125,
0.2296142578125,
0.76220703125
],
[
0.1871337890625,
0.75390625,
0.2181396484375,
0.75390625,
0.2181396484375,
0.76123046875,
0.1871337890625,
0.76123046875
],
[
0.384033203125,
0.75390625,
0.393798828125,
0.75390625,
0.393798828125,
0.7568359375,
0.384033203125,
0.7568359375
],
[
0.5458984375,
0.751953125,
0.57421875,
0.751953125,
0.57421875,
0.7587890625,
0.5458984375,
0.7587890625
],
[
0.59619140625,
0.755859375,
0.765625,
0.755859375,
0.765625,
0.76953125,
0.59619140625,
0.76953125
],
[
0.17724609375,
0.8017578125,
0.82177734375,
0.8017578125,
0.82177734375,
0.81494140625,
0.17724609375,
0.81494140625
],
[
0.176513671875,
0.81494140625,
0.82177734375,
0.81494140625,
0.82177734375,
0.8291015625,
0.176513671875,
0.8291015625
],
[
0.176513671875,
0.830078125,
0.82177734375,
0.830078125,
0.82177734375,
0.84326171875,
0.176513671875,
0.84326171875
],
[
0.176513671875,
0.84326171875,
0.82275390625,
0.84326171875,
0.82275390625,
0.85693359375,
0.176513671875,
0.85693359375
],
[
0.178955078125,
0.859375,
0.8203125,
0.859375,
0.8203125,
0.869140625,
0.178955078125,
0.869140625
],
[
0.176513671875,
0.87060546875,
0.82177734375,
0.87060546875,
0.82177734375,
0.8837890625,
0.176513671875,
0.8837890625
],
[
0.17724609375,
0.8837890625,
0.82275390625,
0.8837890625,
0.82275390625,
0.89794921875,
0.17724609375,
0.89794921875
],
[
0.176513671875,
0.8984375,
0.68115234375,
0.8984375,
0.68115234375,
0.912109375,
0.176513671875,
0.912109375
],
[
0.491943359375,
0.9375,
0.50634765625,
0.9375,
0.50634765625,
0.94775390625,
0.491943359375,
0.94775390625
]
] |
[
"换为位置嵌入p3D。此3D嵌人函数h是使用两层MLP实现的。然后,通过将获得的3D位",
"置嵌人与令牌表示相结合,将其合并到Transformer主干中。结果是最终的令牌表示【s3D}:",
"sD = Sn + p3D, where p3D = h(pworld).",
"(5)",
"在3D嵌人之后,所得到的令牌表示与3D空间相关联,从而使其余的Transformer层能够对",
"与视点无关的令牌表示进行编码。我们讨论了在4.6节中合并令牌的3D位置信息的其他方",
"法",
"3.43DTRL inVideo Models",
"值得注意的是,3DTRL也可以很容易地推广到视频模型。对于视频模型,3DTRLE的输人",
"是与包含T顿的视频剪辑相对应的一组时空令牌S1,..,ST},其中St=(st1;",
":,StNl是",
"来自t帧的N令牌。我们只需扩展我们的模块以在附加的时间维度上运行,其中分别为每",
"个时空令牌stn进行深度估计和3D位置嵌人:dtn=f(stn),ptD=h(pworld)。每个输人顿(",
"St)以分离的方式估计摄像机参数,即【R|t]t=g(St),每个视频总共产生T个摄像机矩",
"阵。我们在补充中研究了另一种相机估计策略,其中所有顿仅学习一个相机矩阵。然而,我",
"们的研究证实了每顿学习分离相机矩阵的有效性",
"4Experiments",
"我们进行了广泛的实验,以证明3DTRLE在多个视觉任务中学习的视点不可知表示的功",
"效:(i)图像分类,(i)多视图视频对齐和(ii)视频动作分类。我们还定性地评估了伪深",
"度和相机估计,以确认3DTRLE作品",
"4.1Image Classification",
"为了验证3DTRL的强大功能,我们首先使用3DTRLE评估ViTE[16],以使用CIFAR-10E",
"[34],CIFAR-100E[34] 和 ImageNet-1KE[15] 。",
"Training我们使用DeiT[59]的训练配方,从头开始在CIFAR和ImageNet数据集上训练",
"我们的基准视觉转换器模型。我们进行了消融,以在ViTs中找到应插入3DTRLE的最佳位",
"置(第E4.6节)。因此,在我们所有的实验中,除非另有说明,否则我们将3DTRLE放置在",
"4个Transformer层之后。我们的DeiT-T,DeiT-S和DeiT-B的配置与E[59]中提到的配置相",
"同。我们所有的变压器模型都分别为CIFAR和ImageNet训练了50和300个时期。进一步",
"的训练细节和超参数可以在补充材料中找到。",
"Table 1: Top 1 classification accuracy (% ) on CIFAR-10 and",
"100,ImageNet-1K(IN-1K),viewpoint-perturbedIN-1K(IN",
"1K- p ), and ObjectNet. We also report the number of param-",
"eters (# params) and computation (in MACs). Note that the",
"MACs are reported w.r.t. IN-1K samples.",
"Method # params MACsCIFAR-10CIFAR-100 IN-1K",
"IN-IK-P",
"ObjectNet",
"1:08074",
"",
"133M",
"DeiT-T",
"+3DTRL",
"",
"DSTRL",
"54.3469)",
"749-16291413",
"734403)",
"23.0M",
"1318773 433,",
".",
"",
"Figure 2: Top : original IN-1K",
"DeiT-B",
"16.28728462)",
"709-41",
"Bottom:",
"81.2 40.2)",
"51.8 ",
"samples.",
"viewpoint-",
"27.3",
"80.0M",
"+3DTR",
"",
"03",
"perturbed IN-1K samples.",
"Results来自表2,3DTRL与所有DeiT变体相比,在CIFAR数据集上显示出一致的性能",
"改进,仅%计算开销和2%更多参数。尽管训练样本较少,但3DTRL在CIFAR中的表现明",
"显优于基线,显示了3DTRL在训练数据有限的情况下具有很强的泛化能力。我们认为,多",
"视图数据并不丰富,特别是在数据有限的领域(如医学领域),因此3DTRLE具有学习视点",
"不可知表示的能力在这些领域至关重要。我们还发现ImageNet上的性能改进小于CIFAR上",
"的性能改进。这是因为ImageNet在训练和验证拆分中都具有有限的视点,因此降低了执行",
"几何感知变换以学习视图不可知表示的重要性。相比之下,CIFAR样本呈现更多样化的相",
"机视点,因此它是一个更适合测试学习的视点不可知表示质量的数据集",
"4"
] |
{
"arxiv_id": "2206.11895",
"language": "zh",
"page_idx": 3
}
|
||
2206.11895-zh-4
|
2206.11895-zh-4.jpg
|
Table 2: Top 1 classification accuracy( %)on CIFAR-10 and 100, ImageNet-1K (IN-1K), viewpoint-perturbed IN-1K (IN- 1K- p ), and ObjectNet. We also report the number of parameters(#params) and computation (in MACs). Note that the MACs are reported w.r.t. IN-1K samples.
<table>
<tbody>
<tr>
<th>Method</th>
<th>井 params</th>
<th>MACs</th>
<th>CIFAR- 10</th>
<th>CIFAR- 100</th>
<th>$IN-1K$</th>
<th>$IN-1K-p$</th>
<th>ObjectNet</th>
</tr>
<tr>
<td rowspan="2">DeiT-T $+3DTRL$</td>
<td>$5.72M$</td>
<td>$1.08G$</td>
<td>74.1</td>
<td>51.3</td>
<td>73.4</td>
<td>61.3</td>
<td>21.3</td>
</tr>
<tr>
<td>$5.95M$</td>
<td>$1.10G$</td>
<td>78.8 (+4.7)</td>
<td>53.7 (+2.4)</td>
<td>73.6 (+0.2)</td>
<td>64.6 (+3.3)</td>
<td>22.4 (+1.1</td>
</tr>
<tr>
<td>DeiT-S</td>
<td>$22.1M$</td>
<td>$4.24G$</td>
<td>77.2</td>
<td>54.6</td>
<td>79.4</td>
<td>71.1</td>
<td>25.8</td>
</tr>
<tr>
<td>$+3DTRL$</td>
<td>$23.0M$</td>
<td>$4.33G$</td>
<td>80.7 (+3.5)</td>
<td>61.5 (+6.9)</td>
<td>79.7 (+0.3)</td>
<td>72.7 (+1.6)</td>
<td>27.1 (+1.3</td>
</tr>
<tr>
<td rowspan="2">DeiT-B $+3DTRL$</td>
<td>$86.6M$</td>
<td>$16.7G$</td>
<td>76.6</td>
<td>51.9</td>
<td>81.0</td>
<td>70.6</td>
<td>27.0</td>
</tr>
<tr>
<td>$90.1M$</td>
<td>$17.2G$</td>
<td>82.8 (+6.2</td>
<td>61.8 (+9.9</td>
<td>81.2 $i+$ +0.2</td>
<td>74.7 1+ +4.1</td>
<td>27.3 $i+$ 0.3</td>
</tr>
</tbody>
</table>
<FigureHere>
Figure 3: Top : original IN-1K
${\tilde{\text{Bottom}} : }$ viewpoint-
samples.
$\hat{\text{perturbed IN-1K samples}}.$
Robustness on Data with Viewpoint Changes 为了强调学习视点不可知表示的需要,我们进一步在两个测试数据集上测试了在 IN-1K 上训练的模型:ObjectNet$\mathbb{E}[2]$和 ImageNet-1K 扰动 (IN-1K-p)。ObjectNet[2]是一个测试集,旨在与 ImageNet 相比,在样本中引人更多的旋转,视点和背景方差。总的来说,ObjectNet 是一个非常具有挑战性的数据集,考虑到现实世界分布的巨大差异。IN-1K-p 是一个视点扰动的 IN-1K 验证集,通过对图像应用随机透视变换,由我们自己构建。示例图像如图 3 所示。我们注意到,这些静态图像上的透视变换并不等同于真实的视点变化。尽管如此,这对于概念验证实验来说是有意义的。表 2 中的结果表明,在这两个测试集中,具有 3DTRL 的模型始终优于其相应的 Transformer 基线, 这表明 3DTRL 经过训练可以概括视点变化
# 4.2 Multi-view Video Alignment
视频对齐$\mathbb{E}[18,23,41]$ 是一项任务,用于学习具有紧密语义嵌人的视频对之间的帧到帧映射。特别是,我们考虑了一个多视图设置,该设置可以对齐从同一事件但不同视点捕获的视频,这可以进一步促进从第三人称视图进行机器人模仿学习$\mathbb{E}[4,49,51,56]$。在这里,来自同一事件的视频对在时间上是同步的。
<FigureHere>
Figure 4: Examples video alignment datasets. Each dataset has synchronized videos of at least 2 viewpoints. All datasets except Pouring have one ego-centric view, highlighted in red boxes. More details are available in supplementary material.
Datasets 我们使用来自各种环境的 5个多视图数据集:Minecraft (MC)-视频游戏,Pick Can 和 Lift 来自机器人模拟器 (PyBullet$\boxed{\mathrm{E}}[9]$和 Robomimic$\boxed{\mathrm{E}}[39]$ )。图 4 中提供了示例视频帧。每个数据集包含来自多个摄像机(视点)的同步视频。除了Pouring之外,每个数据集都有一个以自我为中心的相机,它与受试者一起不断移动。这些以自我为中心的视频使对齐更具挑战性。详细数据集统计信息可在补充。
Training 我们遵循常见的视频对齐方法$\overline{\mathbb{E}}[49]$ 来训练输出逐帧嵌人的编码器。我们仍然使用 DeiT [59] 作为基线模型 (DeiT+TCN),并对其应用 3DTRL(+3DTRL),类似于图像分类。在训练过程中,我们使用时间对比损失[49]来鼓励时间上封闭的嵌人是相似的,而时间上遥远的嵌人是分开的。然后,我们通过最近邻获得对齐,使得来自视频 1 的嵌入$\underline{u_i}$与嵌入空间中视频 2 中的最近邻$v_j$配对。同样,来自视频 2 的$u_j$与视频 1 中最近的邻居$v_k$ 配对。我们使用 ImageNet-1K 预训练权重进行浇筑实验,但考虑到模拟环境不在真实分布范围内,我们从头开始训练其他数据集
5
|
[
[
0.1748046875,
0.0947265625,
0.5849609375,
0.0947265625,
0.5849609375,
0.10797119140625,
0.1748046875,
0.10797119140625
],
[
0.176513671875,
0.10919189453125,
0.583984375,
0.10919189453125,
0.583984375,
0.12249755859375,
0.176513671875,
0.12249755859375
],
[
0.176513671875,
0.12249755859375,
0.583984375,
0.12249755859375,
0.583984375,
0.1363525390625,
0.176513671875,
0.1363525390625
],
[
0.1748046875,
0.1363525390625,
0.583984375,
0.1363525390625,
0.583984375,
0.149658203125,
0.1748046875,
0.149658203125
],
[
0.1748046875,
0.149658203125,
0.4453125,
0.149658203125,
0.4453125,
0.1634521484375,
0.1748046875,
0.1634521484375
],
[
0.176513671875,
0.1717529296875,
0.44287109375,
0.17236328125,
0.44287109375,
0.186279296875,
0.176513671875,
0.1849365234375
],
[
0.471435546875,
0.173583984375,
0.51123046875,
0.173583984375,
0.51123046875,
0.1849365234375,
0.471435546875,
0.1849365234375
],
[
0.5146484375,
0.177978515625,
0.521484375,
0.177978515625,
0.521484375,
0.1817626953125,
0.5146484375,
0.1817626953125
],
[
0.52392578125,
0.1749267578125,
0.57421875,
0.1749267578125,
0.57421875,
0.1849365234375,
0.52392578125,
0.1849365234375
],
[
0.2279052734375,
0.1849365234375,
0.265625,
0.1849365234375,
0.265625,
0.205810546875,
0.2279052734375,
0.205810546875
],
[
0.3505859375,
0.18310546875,
0.5849609375,
0.18310546875,
0.5849609375,
0.2083740234375,
0.3505859375,
0.2083740234375
],
[
0.259033203125,
0.186279296875,
0.3203125,
0.186279296875,
0.3203125,
0.1962890625,
0.259033203125,
0.1962890625
],
[
0.178955078125,
0.186279296875,
0.214111328125,
0.186279296875,
0.214111328125,
0.1976318359375,
0.178955078125,
0.1976318359375
],
[
0.358642578125,
0.1875,
0.37744140625,
0.1875,
0.37744140625,
0.1956787109375,
0.358642578125,
0.1956787109375
],
[
0.416748046875,
0.186279296875,
0.4345703125,
0.1881103515625,
0.431396484375,
0.1976318359375,
0.414306640625,
0.1956787109375
],
[
0.471435546875,
0.1881103515625,
0.490234375,
0.1881103515625,
0.490234375,
0.1956787109375,
0.471435546875,
0.1956787109375
],
[
0.1829833984375,
0.1944580078125,
0.226318359375,
0.1944580078125,
0.226318359375,
0.2052001953125,
0.1829833984375,
0.2052001953125
],
[
0.271240234375,
0.1956787109375,
0.359375,
0.1956787109375,
0.359375,
0.20263671875,
0.271240234375,
0.20263671875
],
[
0.178955078125,
0.205810546875,
0.214111328125,
0.205810546875,
0.214111328125,
0.2171630859375,
0.178955078125,
0.2171630859375
],
[
0.2303466796875,
0.205810546875,
0.273681640625,
0.205810546875,
0.273681640625,
0.2171630859375,
0.2303466796875,
0.2171630859375
],
[
0.268798828125,
0.205810546875,
0.3203125,
0.205810546875,
0.3203125,
0.2171630859375,
0.268798828125,
0.2171630859375
],
[
0.35693359375,
0.205810546875,
0.3798828125,
0.205810546875,
0.3798828125,
0.2171630859375,
0.35693359375,
0.2171630859375
],
[
0.41259765625,
0.205810546875,
0.435546875,
0.205810546875,
0.435546875,
0.2171630859375,
0.41259765625,
0.2171630859375
],
[
0.471435546875,
0.20703125,
0.491943359375,
0.20703125,
0.491943359375,
0.2171630859375,
0.471435546875,
0.2171630859375
],
[
0.52685546875,
0.20703125,
0.54736328125,
0.20703125,
0.54736328125,
0.2171630859375,
0.52685546875,
0.2171630859375
],
[
0.1829833984375,
0.21533203125,
0.2254638671875,
0.21533203125,
0.2254638671875,
0.2259521484375,
0.1829833984375,
0.2259521484375
],
[
0.2320556640625,
0.216552734375,
0.2607421875,
0.216552734375,
0.2607421875,
0.2247314453125,
0.2320556640625,
0.2247314453125
],
[
0.26953125,
0.216552734375,
0.359375,
0.216552734375,
0.359375,
0.2235107421875,
0.26953125,
0.2235107421875
],
[
0.5947265625,
0.212158203125,
0.82275390625,
0.212158203125,
0.82275390625,
0.2259521484375,
0.5947265625,
0.2259521484375
],
[
0.35693359375,
0.2183837890625,
0.525390625,
0.2183837890625,
0.525390625,
0.222900390625,
0.35693359375,
0.222900390625
],
[
0.52685546875,
0.2183837890625,
0.5537109375,
0.2183837890625,
0.5537109375,
0.222900390625,
0.52685546875,
0.222900390625
],
[
0.471435546875,
0.2247314453125,
0.49267578125,
0.2291259765625,
0.488525390625,
0.240478515625,
0.46728515625,
0.2374267578125
],
[
0.67333984375,
0.2259521484375,
0.74169921875,
0.2266845703125,
0.74169921875,
0.238037109375,
0.67333984375,
0.2374267578125
],
[
0.59716796875,
0.2266845703125,
0.654296875,
0.2266845703125,
0.654296875,
0.238037109375,
0.59716796875,
0.238037109375
],
[
0.178955078125,
0.2266845703125,
0.214111328125,
0.2266845703125,
0.214111328125,
0.238037109375,
0.178955078125,
0.238037109375
],
[
0.2303466796875,
0.2279052734375,
0.261474609375,
0.2279052734375,
0.261474609375,
0.2392578125,
0.2303466796875,
0.2392578125
],
[
0.271240234375,
0.2279052734375,
0.32177734375,
0.2279052734375,
0.32177734375,
0.2392578125,
0.271240234375,
0.2392578125
],
[
0.359375,
0.2291259765625,
0.37744140625,
0.2291259765625,
0.37744140625,
0.238037109375,
0.359375,
0.238037109375
],
[
0.4150390625,
0.2291259765625,
0.435546875,
0.2291259765625,
0.435546875,
0.2392578125,
0.4150390625,
0.2392578125
],
[
0.52783203125,
0.2291259765625,
0.5458984375,
0.2291259765625,
0.5458984375,
0.238037109375,
0.52783203125,
0.238037109375
],
[
0.7548828125,
0.2279052734375,
0.82421875,
0.2279052734375,
0.82421875,
0.238037109375,
0.7548828125,
0.238037109375
],
[
0.1871337890625,
0.2374267578125,
0.221435546875,
0.2374267578125,
0.221435546875,
0.2442626953125,
0.1871337890625,
0.2442626953125
],
[
0.2320556640625,
0.236083984375,
0.2607421875,
0.236083984375,
0.2607421875,
0.24365234375,
0.2320556640625,
0.24365234375
],
[
0.275390625,
0.238037109375,
0.3203125,
0.238037109375,
0.3203125,
0.242431640625,
0.275390625,
0.242431640625
],
[
0.359375,
0.238037109375,
0.378173828125,
0.238037109375,
0.378173828125,
0.242431640625,
0.359375,
0.242431640625
],
[
0.4150390625,
0.238037109375,
0.4345703125,
0.238037109375,
0.4345703125,
0.242431640625,
0.4150390625,
0.242431640625
],
[
0.471435546875,
0.238037109375,
0.488525390625,
0.238037109375,
0.488525390625,
0.242431640625,
0.471435546875,
0.242431640625
],
[
0.52685546875,
0.238037109375,
0.5458984375,
0.238037109375,
0.5458984375,
0.242431640625,
0.52685546875,
0.242431640625
],
[
0.59619140625,
0.2392578125,
0.765625,
0.2392578125,
0.765625,
0.25244140625,
0.59619140625,
0.25244140625
],
[
0.17724609375,
0.27978515625,
0.50244140625,
0.281005859375,
0.50244140625,
0.29541015625,
0.17724609375,
0.294189453125
],
[
0.50341796875,
0.285400390625,
0.5107421875,
0.285400390625,
0.5107421875,
0.290283203125,
0.50341796875,
0.290283203125
],
[
0.5087890625,
0.2822265625,
0.82275390625,
0.2822265625,
0.82275390625,
0.29541015625,
0.5087890625,
0.29541015625
],
[
0.1748046875,
0.29345703125,
0.82275390625,
0.294189453125,
0.82275390625,
0.309326171875,
0.1748046875,
0.30810546875
],
[
0.1748046875,
0.30810546875,
0.82177734375,
0.30810546875,
0.82177734375,
0.3212890625,
0.1748046875,
0.3212890625
],
[
0.176513671875,
0.322509765625,
0.82177734375,
0.322509765625,
0.82177734375,
0.3359375,
0.176513671875,
0.3359375
],
[
0.176513671875,
0.335205078125,
0.82177734375,
0.335205078125,
0.82177734375,
0.349853515625,
0.176513671875,
0.349853515625
],
[
0.176513671875,
0.349853515625,
0.82177734375,
0.349853515625,
0.82177734375,
0.3642578125,
0.176513671875,
0.3642578125
],
[
0.1748046875,
0.363037109375,
0.82177734375,
0.3623046875,
0.82177734375,
0.376953125,
0.1748046875,
0.37744140625
],
[
0.1748046875,
0.376953125,
0.8203125,
0.376953125,
0.8203125,
0.39013671875,
0.1748046875,
0.39013671875
],
[
0.1732177734375,
0.391357421875,
0.47802734375,
0.391357421875,
0.47802734375,
0.40478515625,
0.1732177734375,
0.40478515625
],
[
0.1748046875,
0.42236328125,
0.414306640625,
0.42236328125,
0.414306640625,
0.436279296875,
0.1748046875,
0.436279296875
],
[
0.17724609375,
0.449462890625,
0.82177734375,
0.449462890625,
0.82177734375,
0.460205078125,
0.17724609375,
0.460205078125
],
[
0.17724609375,
0.462158203125,
0.82177734375,
0.462158203125,
0.82177734375,
0.47607421875,
0.17724609375,
0.47607421875
],
[
0.176513671875,
0.47607421875,
0.82177734375,
0.47607421875,
0.82177734375,
0.4892578125,
0.176513671875,
0.4892578125
],
[
0.176513671875,
0.490478515625,
0.443603515625,
0.490478515625,
0.443603515625,
0.50390625,
0.176513671875,
0.50390625
],
[
0.253173828125,
0.51806640625,
0.29736328125,
0.52099609375,
0.295654296875,
0.53271484375,
0.25244140625,
0.53076171875
],
[
0.443603515625,
0.51953125,
0.46728515625,
0.51953125,
0.46728515625,
0.5322265625,
0.443603515625,
0.5322265625
],
[
0.6708984375,
0.521484375,
0.69287109375,
0.521484375,
0.69287109375,
0.52978515625,
0.6708984375,
0.52978515625
],
[
0.4453125,
0.6337890625,
0.464111328125,
0.6337890625,
0.464111328125,
0.642578125,
0.4453125,
0.642578125
],
[
0.67236328125,
0.6318359375,
0.69287109375,
0.6318359375,
0.69287109375,
0.64453125,
0.67236328125,
0.64453125
],
[
0.1732177734375,
0.65576171875,
0.82275390625,
0.65576171875,
0.82275390625,
0.66943359375,
0.1732177734375,
0.66943359375
],
[
0.176513671875,
0.67041015625,
0.82275390625,
0.67041015625,
0.82275390625,
0.6845703125,
0.176513671875,
0.6845703125
],
[
0.1748046875,
0.6845703125,
0.484375,
0.6845703125,
0.484375,
0.69775390625,
0.1748046875,
0.69775390625
],
[
0.178955078125,
0.73095703125,
0.82177734375,
0.73095703125,
0.82177734375,
0.744140625,
0.178955078125,
0.744140625
],
[
0.176513671875,
0.744140625,
0.82275390625,
0.744140625,
0.82275390625,
0.75830078125,
0.176513671875,
0.75830078125
],
[
0.176513671875,
0.7587890625,
0.82275390625,
0.7587890625,
0.82275390625,
0.77294921875,
0.176513671875,
0.77294921875
],
[
0.176513671875,
0.771484375,
0.82275390625,
0.771484375,
0.82275390625,
0.7861328125,
0.176513671875,
0.7861328125
],
[
0.1748046875,
0.7861328125,
0.52783203125,
0.7861328125,
0.52783203125,
0.7998046875,
0.1748046875,
0.7998046875
],
[
0.178955078125,
0.81494140625,
0.82275390625,
0.81494140625,
0.82275390625,
0.8291015625,
0.178955078125,
0.8291015625
],
[
0.176513671875,
0.82763671875,
0.82177734375,
0.830078125,
0.82177734375,
0.84326171875,
0.176513671875,
0.84130859375
],
[
0.1748046875,
0.84130859375,
0.82177734375,
0.84228515625,
0.82177734375,
0.85693359375,
0.1748046875,
0.85595703125
],
[
0.1748046875,
0.85595703125,
0.82275390625,
0.85693359375,
0.82275390625,
0.87060546875,
0.1748046875,
0.869140625
],
[
0.1748046875,
0.869140625,
0.82177734375,
0.87060546875,
0.82177734375,
0.88525390625,
0.1748046875,
0.8837890625
],
[
0.176513671875,
0.8837890625,
0.82275390625,
0.8837890625,
0.82275390625,
0.89794921875,
0.176513671875,
0.89794921875
],
[
0.176513671875,
0.8984375,
0.43701171875,
0.8984375,
0.43701171875,
0.912109375,
0.176513671875,
0.912109375
],
[
0.494384765625,
0.93603515625,
0.50634765625,
0.93603515625,
0.50634765625,
0.94775390625,
0.494384765625,
0.94775390625
]
] |
[
"Table 2: Top 1 classification accuracy (% ) on CIFAR-10 and",
"100, ImageNet-1K (IN-1K), viewpoint-perturbed IN-1K (IN-",
"1K- p ), and ObjectNet. We also report the number of param-",
"eters (# params) and computation (in MACs). Note that the",
"MACs are reported w.r.t. IN-1K samples.",
"Method # params MACs CIFAR-10 CIFAR-100 IN-1K",
"IN-1K-p",
"",
"ObjectNet",
"3.73M",
"39424,36 402848433,3441",
"1.08G74.1",
"DeiT-T",
"51.3",
"73.4",
"61.3",
"+3DTRL",
"1.10G78.8(+47)",
"DeiT-S",
"22.1M",
"4.24G|77.2",
"54.6",
"79.4",
"71.1",
"25.8",
"+3DTRL",
"23.0M",
"4.33G807+35",
"Figure 3:Top :original IN-1K",
"615(±6.97977±03)72.7+161",
"27.1:7",
"70.6",
"Bottom:",
"samples.",
"DeiT-B",
"86.6M",
"16.7G76.6",
"51.9",
"81.0",
"27.0",
"viewpoint-",
"+3DTRL",
"90.1M",
"7.2C83.8",
"618",
"81.2",
"747",
"273",
"perturbed IN-1K samples.",
"Robustness on Data with Viewpoint Changes",
"",
"为了强调学习视点不可知表示的需要,我们",
"进一步在两个测试数据集上测试了在IN-iK上训练的模型:ObjectNetE[2]和ImageNet-1K",
"扰动(IN-1K-p)。ObjectNet[2]是一个测试集,旨在与ImageNet相比,在样本中引人更多",
"的旋转,视点和背景方差。总的来说,ObjectNet是一个非常具有挑战性的数据集,考虑到",
"现实世界分布的巨大差异。IN-1K-P是一个视点扰动的IN-1K验证集,通过对图像应用随机",
"透视变换,由我们自己构建。示例图像如图3所示。我们注意到,这些静态图像上的透视变",
"换并不等同于真实的视点变化。尽管如此,这对于概念验证实验来说是有意义的。。表2中",
"的结果表明,在这两个测试集中,具有3DTRL的模型始终优于其相应的Transformer基线",
"这表明3DTRL经过训练可以概括视点变化",
"4.2Multi-view Video Alignment",
"视频对齐[18,23,411是一一项任务,用于学习具有紧密语义嵌入的视频对之间的顿到顿映",
"射。特别是,我们考虑了一个多视图设置,该设置可以对齐从同一事件但不同视点捕获的视",
"频,这可以进一步促进从第三人称视图进行机器人模仿学习E[4,49,51,56]。在这里,来自",
"同一事件的视频对在时间上是同步的。",
"Pouring",
"MC",
"Pick",
"Car",
"Lift",
"Figure 4: Examples video alignment datasets. Each dataset has synchronized videos of at least 2",
"viewpoints. All datasets except Pouring have one ego-centric view, highlighted in red boxes. More",
"details are available in supplementary material.",
"Datasets,我们使用来自各种环境的5个多视图数据集:Minecraft(MC)-视频游戏,Pick",
"Can和Lift来自机器人模拟器(PyBulletE[9]和RobomimicE[39]。图4中提供了示例视",
"频顿。每个数据集包含来自多个摄像机(视点)的同步视频。除了Pouring之外,每个数据",
"集都有一个以自我为中心的相机,它与受试者一起不断移动。这些以自我为中心的视频使",
"对齐更具挑战性。详细数据集统计信息可在补充。",
"Training,我们遵循常见的视频对齐方法E[49]来训练输出逐顿嵌入的编码器。我们仍然",
"使用DeiT[59]作为基线模型(DeiT+TCN),并对其应用3DTRL(+3DTRL),类似于图像分",
"类。在训练过程中,我们使用时间对比损失【49]来鼓励时间上封闭的嵌入是相似的,而时",
"间上遥远的嵌人是分开的。然后,我们通过最近邻获得对齐,使得来自视频1的嵌入u与",
"嵌人空间中视频2中的最近邻配对。同样,来自视频2的ui与视频1中最近的邻居Uh",
"配对。我们使用ImageNet-1K预训练权重进行浇筑实验,但考虑到模拟环境不在真实分布范",
"围内,我们从头开始训练其他数据集",
"5"
] |
{
"arxiv_id": "2206.11895",
"language": "zh",
"page_idx": 4
}
|
||
2310.07449-zh-0
|
2310.07449-zh-0.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2024}}$
PoRF: 用于精确神经表面重建的位姿剩余场
Jia- Wang Bian
Department of Engineering Science
University of Oxford
Victor Adrian Prisacariu
Department of Engineering Science
$\tilde{\text{University of Oxford}}$
Wenjing Bian
Department of Engineering Science
University of Oxford
$\operatorname*{Philip}$Torr
Department of Engineering Science
University of Oxford
$\operatorname{Abstract}$
Neural surface reconstruction is sensitive to the camera pose noise, even if state-of-the-art pose estimators like COLMAP or ARKit are used. More importantly, existing Pose- NeRF joint optimisation methods have struggled to improve pose accuracy in challenging real-world scenarios. To overcome the challenges, we introduce the pose residual field ( PoRF ), a novel implicit representation that uses an MLP for regressing pose updates. This is more robust than the conventional pose parameter optimisation due to parameter sharing that leverages global information over the entire sequence. Furthermore, we propose an epipolar geometry loss to enhance the supervision that leverages the correspondences exported from COLMAP results without the extra computational overhead. Our method yields promising results. On the DTU dataset, we reduce the rotation error by 78 $\tilde{\%}$for COLMAP poses, leading to the decreased reconstruction Chamfer distance from 3.48mm to 0.85mm. On the MobileBrick dataset that contains casually captured unbounded 360-degree videos, our method refines ARKit poses and improves the reconstruction F1 score from 69.18 to 75.67, outperforming that with the dataset provided ground-truth pose (75.14). Moreover, we integrate our method into the Nerfstudio library, consistently improving performance in diverse challenging scenes. These achievements demonstrate the efficacy of our approach in refining camera poses in real-world scenarios.
1
Introduction
从多视图图像重建对象是计算机视觉中的基本问题。最近,神经表面重建(NSR)方法在该领域取得了显着进步$\operatorname{E}$Wang et al. (2021a); Wu et al. (2023)。这些方法从神经辐射场(NeRF)$\boxed{\mathrm{E}}$Mildenhall et al. (2020)中使用的隐式场景表示和体渲染技术中汲取灵感。。在NSR 中,场景几何形状是通过使用带符号的距离函数(SDF)字段来表示的,该字段是通过使用基于图像的渲染损失训练的多层感知器(MLP)网络来学习的。尽管实现了高质量的重建,但这些方法对相机姿态噪声很敏感,这是现实应用中的常见问题,即使使用了COLMAP Schönberger &Frahm (2016)或 ARKit 等最先进的姿态估计方法。这种灵敏度的一个例子在 Fig. 1 中很明显,其中使用 COLMAP 估计姿态的重建结果显示出较差的定量精度和物体表面上的可见噪声。在本文中,我们专注于改进不准确的相机姿态,以改善神经表面重建
最近的研究探索了相机姿态和 NeRF 的联合优化,而它们并不是为现实世界场景中的精确神经表面重建而设计的。如 Fig.1 所示,BARFELin et al.(2021) 和 SPARFETruong et al. (2023) 等现有方法很难通过姿态细化来提高 DTU 数据集$\boxed{\mathrm{E}}$Jensen et al.(2014)的重建精度。我们认为挑战源于独立的姿势代表和薄弱的监督。首先,现有的方法通常为每个图像独立地优化姿态参数。这种方法忽略了整个序列上的全局信息,导致准确性差。其次,联合优化过程中使用的显色性损失表现出模糊性,产生了许多错误的局部最小值。为了克服这些挑战,我们在联合优化框架中引人了一种新的隐式姿态表示和一个强大的对极几何损失
1
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.048614501953125,
0.176513671875,
0.048614501953125
],
[
0.176513671875,
0.10418701171875,
0.71826171875,
0.10418701171875,
0.71826171875,
0.125,
0.176513671875,
0.125
],
[
0.1895751953125,
0.15283203125,
0.29736328125,
0.15283203125,
0.29736328125,
0.1666259765625,
0.1895751953125,
0.1666259765625
],
[
0.560546875,
0.1514892578125,
0.66015625,
0.154052734375,
0.66015625,
0.1685791015625,
0.560546875,
0.1666259765625
],
[
0.1854248046875,
0.1673583984375,
0.43701171875,
0.1673583984375,
0.43701171875,
0.18115234375,
0.1854248046875,
0.18115234375
],
[
0.56396484375,
0.1673583984375,
0.81396484375,
0.1673583984375,
0.81396484375,
0.18115234375,
0.56396484375,
0.18115234375
],
[
0.1846923828125,
0.18115234375,
0.334228515625,
0.18115234375,
0.334228515625,
0.1944580078125,
0.1846923828125,
0.1944580078125
],
[
0.56201171875,
0.18115234375,
0.71142578125,
0.18115234375,
0.71142578125,
0.1944580078125,
0.56201171875,
0.1944580078125
],
[
0.1829833984375,
0.216552734375,
0.36279296875,
0.216552734375,
0.36279296875,
0.2298583984375,
0.1829833984375,
0.2298583984375
],
[
0.5087890625,
0.2171630859375,
0.5888671875,
0.2171630859375,
0.5888671875,
0.2291259765625,
0.5087890625,
0.2291259765625
],
[
0.1846923828125,
0.2298583984375,
0.43701171875,
0.2298583984375,
0.43701171875,
0.2442626953125,
0.1846923828125,
0.2442626953125
],
[
0.50732421875,
0.2298583984375,
0.76123046875,
0.2298583984375,
0.76123046875,
0.2442626953125,
0.50732421875,
0.2442626953125
],
[
0.1846923828125,
0.2442626953125,
0.334228515625,
0.2442626953125,
0.334228515625,
0.25830078125,
0.1846923828125,
0.25830078125
],
[
0.5087890625,
0.2442626953125,
0.65673828125,
0.2442626953125,
0.65673828125,
0.25830078125,
0.5087890625,
0.25830078125
],
[
0.461669921875,
0.29345703125,
0.53759765625,
0.29541015625,
0.53759765625,
0.311279296875,
0.461669921875,
0.309326171875
],
[
0.233642578125,
0.330810546875,
0.76708984375,
0.330810546875,
0.76708984375,
0.3447265625,
0.233642578125,
0.3447265625
],
[
0.2320556640625,
0.3447265625,
0.7646484375,
0.3447265625,
0.7646484375,
0.35791015625,
0.2320556640625,
0.35791015625
],
[
0.233642578125,
0.359130859375,
0.765625,
0.359130859375,
0.765625,
0.37255859375,
0.233642578125,
0.37255859375
],
[
0.2320556640625,
0.37255859375,
0.7646484375,
0.371826171875,
0.7646484375,
0.386474609375,
0.2320556640625,
0.386962890625
],
[
0.2344970703125,
0.386962890625,
0.7646484375,
0.386962890625,
0.7646484375,
0.40087890625,
0.2344970703125,
0.40087890625
],
[
0.233642578125,
0.40087890625,
0.7646484375,
0.40087890625,
0.7646484375,
0.415283203125,
0.233642578125,
0.415283203125
],
[
0.2320556640625,
0.41357421875,
0.765625,
0.4140625,
0.765625,
0.4287109375,
0.2320556640625,
0.427978515625
],
[
0.233642578125,
0.4287109375,
0.7646484375,
0.4287109375,
0.7646484375,
0.442626953125,
0.233642578125,
0.442626953125
],
[
0.233642578125,
0.442626953125,
0.7646484375,
0.442626953125,
0.7646484375,
0.455810546875,
0.233642578125,
0.455810546875
],
[
0.233642578125,
0.455810546875,
0.765625,
0.455810546875,
0.765625,
0.4697265625,
0.233642578125,
0.4697265625
],
[
0.2320556640625,
0.47021484375,
0.7646484375,
0.47021484375,
0.7646484375,
0.484130859375,
0.2320556640625,
0.484130859375
],
[
0.233642578125,
0.48095703125,
0.7646484375,
0.48291015625,
0.7646484375,
0.49755859375,
0.233642578125,
0.49560546875
],
[
0.233642578125,
0.49755859375,
0.765625,
0.49755859375,
0.765625,
0.51123046875,
0.233642578125,
0.51123046875
],
[
0.233642578125,
0.51123046875,
0.76318359375,
0.51123046875,
0.76318359375,
0.5244140625,
0.233642578125,
0.5244140625
],
[
0.2320556640625,
0.52587890625,
0.76318359375,
0.52587890625,
0.76318359375,
0.5390625,
0.2320556640625,
0.5390625
],
[
0.233642578125,
0.5390625,
0.765625,
0.5390625,
0.765625,
0.55322265625,
0.233642578125,
0.55322265625
],
[
0.2320556640625,
0.5517578125,
0.7646484375,
0.55322265625,
0.7646484375,
0.5673828125,
0.2320556640625,
0.56640625
],
[
0.233642578125,
0.56640625,
0.7646484375,
0.56640625,
0.7646484375,
0.580078125,
0.233642578125,
0.580078125
],
[
0.233642578125,
0.58056640625,
0.76708984375,
0.58056640625,
0.76708984375,
0.5947265625,
0.233642578125,
0.5947265625
],
[
0.233642578125,
0.59521484375,
0.67626953125,
0.59521484375,
0.67626953125,
0.609375,
0.233642578125,
0.609375
],
[
0.1748046875,
0.64794921875,
0.2091064453125,
0.64794921875,
0.2091064453125,
0.66015625,
0.1748046875,
0.66015625
],
[
0.200927734375,
0.646484375,
0.316162109375,
0.64794921875,
0.316162109375,
0.662109375,
0.200927734375,
0.6611328125
],
[
0.176513671875,
0.681640625,
0.82275390625,
0.681640625,
0.82275390625,
0.69580078125,
0.176513671875,
0.69580078125
],
[
0.17724609375,
0.69775390625,
0.82177734375,
0.69775390625,
0.82177734375,
0.70849609375,
0.17724609375,
0.70849609375
],
[
0.17724609375,
0.71044921875,
0.82177734375,
0.71044921875,
0.82177734375,
0.72021484375,
0.17724609375,
0.72021484375
],
[
0.1748046875,
0.7236328125,
0.82275390625,
0.7236328125,
0.82275390625,
0.7373046875,
0.1748046875,
0.7373046875
],
[
0.17724609375,
0.7392578125,
0.82177734375,
0.7392578125,
0.82177734375,
0.75,
0.17724609375,
0.75
],
[
0.178955078125,
0.75244140625,
0.8203125,
0.75244140625,
0.8203125,
0.76318359375,
0.178955078125,
0.76318359375
],
[
0.1748046875,
0.76513671875,
0.82275390625,
0.76513671875,
0.82275390625,
0.77880859375,
0.1748046875,
0.77880859375
],
[
0.1748046875,
0.77783203125,
0.82275390625,
0.77880859375,
0.82275390625,
0.79345703125,
0.1748046875,
0.79248046875
],
[
0.176513671875,
0.79248046875,
0.82177734375,
0.79248046875,
0.82177734375,
0.80615234375,
0.176513671875,
0.80615234375
],
[
0.176513671875,
0.806640625,
0.25732421875,
0.806640625,
0.25732421875,
0.818359375,
0.176513671875,
0.818359375
],
[
0.176513671875,
0.82763671875,
0.82275390625,
0.82763671875,
0.82275390625,
0.84130859375,
0.176513671875,
0.84130859375
],
[
0.1748046875,
0.84228515625,
0.82275390625,
0.84228515625,
0.82275390625,
0.85595703125,
0.1748046875,
0.85595703125
],
[
0.176513671875,
0.85693359375,
0.82177734375,
0.85693359375,
0.82177734375,
0.8671875,
0.176513671875,
0.8671875
],
[
0.176513671875,
0.869140625,
0.82177734375,
0.869140625,
0.82177734375,
0.88330078125,
0.176513671875,
0.88330078125
],
[
0.17724609375,
0.88525390625,
0.82177734375,
0.88525390625,
0.82177734375,
0.89599609375,
0.17724609375,
0.89599609375
],
[
0.176513671875,
0.89794921875,
0.82275390625,
0.89794921875,
0.82275390625,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.1748046875,
0.91015625,
0.810546875,
0.9111328125,
0.810546875,
0.9248046875,
0.1748046875,
0.923828125
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"Published as a conference paper at ICLR 2024",
"PoRF:用于精确神经表面重建的位姿剩余场",
"Jia-Wang Bian",
"Wenjing Bian",
"Department of Engineering Science",
"Department of Engineering Science",
"University of Oxford",
"University of Oxford",
"Victor Adrian Prisacariu",
"Philip Torr",
"Department of Engineering Science",
"Department of Engineering Science",
"University of Oxford",
"University of Oxford",
"Abstract",
"Neural surface reconstruction is sensitive to the camera pose noise, even if",
"state-of-the-art pose estimators like COLMAP or ARKit are used. More",
"importantly, existing Pose-NeRF joint optimisation methods have struggled",
"to improve pose accuracy in challenging real-world scenarios. To overcome",
"the challenges, we introduce the pose residual field (PoRF ), a novel implicit",
"representation that uses an MLP for regressing pose updates. This is more",
"robust than the conventional pose parameter optimisation due to parameter",
"sharing that leverages global information over the entire sequence. Further-",
"more, we propose an epipolar geometry loss to enhance the supervision that",
"leverages the correspondences exported from COLMAP results without the",
"extra computational overhead. Our method yields promising results: On",
"the DTU dataset, we reduce the rotation error by 78 % for COLMAP poses,",
"leading to the decreased reconstruction Chamfer distance from 3.48mm to",
"0.85mm. On the MobileBrick dataset that contains casually captured un-",
"bounded 360-degree videos, our method refines ARKit poses and improves",
"the reconstruction F1 score from 69.18 to 75.67, outperforming that with",
"the dataset provided ground-truth pose (75.14). Moreover, we integrate our",
"method into the Nerfstudio library, consistently improving performance in",
"diverse challenging scenes. These achievements demonstrate the efficacy of",
"our approach in refining camera poses in real-world scenarios.",
"1",
"Introduction",
"从多视图图像重建对象是计算机视觉中的基本问题。最近,神经表面重建(NSR)方法在",
"该领域取得了显着进步E/Wangetal.(2021a):Wuetal.(2023)。这些方法从神经辐射场",
"NeRF)FMildenhalletal.(2020)中使用的隐式场景表示和体染技术中级取灵感。。在",
"NSR中,场景几何形状是通过使用带符号的距离函数(SDF)字段来表示的,该字段是",
"通过使用基于图像的染损失训练的多层感知器(MLP)网络来学习的。尽管实现了高质",
"量的重建,但这些方法对相机姿态噪声很敏感,这是现实应用中的常见问题,即使使用了",
"COLMAPSchonberger&Frahm(2016)或ARKit等最先进的姿态估计方法。这种灵敏度",
"的一个例子在Fig:1中很明显,其中使用COLMAP估计姿态的重建结果显示出较差的定",
"量精度和物体表面上的可见噪声。在本文中,我们专注于改进不准确的相机姿态,以改善神",
"经表面重建",
"最近的研究探索了相机姿态和NeRF的联合优化,而它们并不是为现实世界场景中的精",
"确神经表面重建而设计的。如Fig.1所示,BARFELinetal.(2021)和SPARFETruong",
"etal.(2023)等现有方法很难通过姿态细化来提高DTU数据集FJensenetal.(2014)的重",
"建精度。我们认为挑战源于独立的姿势代表和薄弱的监督。首先,现有的方法通常为每个图",
"像独立地优化姿态参数。这种方法忽略了整个序列上的全局信息,导致准确性差。其次,联",
"合优化过程中使用的显色性损失表现出模糊性,产生了许多错误的局部最小值。为了克服这",
"些挑战,我们在联合优化框架中引人了一种新的隐式姿态表示和一个强大的对极几何损失",
"1"
] |
{
"arxiv_id": "2310.07449",
"language": "zh",
"page_idx": 0
}
|
||
2310.07449-zh-1
|
2310.07449-zh-1.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2024}}$
<FigureHere>
Figure 1: Reconstruction results on the DTU dataset ( scan24 ). All meshes were generated by using Voxurf Wu et al. (2023). The Chamfer Distance (mm) is reported. BARF Lin et al. (2021) , SPARF Truong et al. (2023) , and our method all take the COLMAP pose as the initial pose. More results are illustrated in the supplementary material.
建议的隐式姿势表示称为姿势残差场 (PoRF),它采用 MLP 网络来学习姿势残差。MLP 网络将帧索引和初始相机姿态作为输人,如 Fig.2 所示。值得注意的是,由于 MLP 参数在所有帧中共享,因此它能够捕获整个轨迹上的基础全局信息,以提高性能。如 Fig. 3 所示, 与传统的姿态参数优化方法相比,所提出的 PoRF 显示出显着提高的精度和更快的收敛速度
此外,我们在建议的对极几何损失中使用特征对应关系来加强监督。尽管对应关系已在SPARFETruong et al. (2023)中使用,但它取决于昂贵的密集匹配。如 Fig. 3 所示,我们的方法在手工方法的稀疏匹配(SIFTELowe (2004))和深度学习方法的密集匹配(LoFTR[F] Sun et al.(2021) ) 中表现出同样出色的性能。此外,与融合对应关系和 NeRF 渲染深度以计算重投影损失的 SPARF 相比,我们的方法使用仅涉及姿势和对应关系的对极几何损失,而不依赖于 NeRF 渲染的深度,后者可能不准确并限制姿势精度。值得注意的是,由于 NeRF 渲染很耗时,SPARF 在每次迭代中可以使用的对应数量受到限制,而我们的方法允许使用任意数量的匹配
我们对 DTU$\boxed{\mathrm{E}}$Jensen et al.(2014) 和 MobileBrick$\boxed{\mathrm{E}}$Li et al.(2023a) 数据集进行了全面评估。首先,在 DTU 数据集上,我们的方法以 COLMAP 姿势为初始化,并将旋转误差降低了 78%。这将减少重建倒角距离从 3。48 毫米至0。85mm,其中我们使用 Voxurf Wu et al. (2023) 进行重建。其次,在 MobileBrick 数据集上,我们的方法使用 ARKit 姿势进行初始化,并将重建 F1 得分从 69。18 至 75。67。它在重建中略微优于提供的不完美的 GT 姿势 (75。14) 并实现最先进的性能。此外,我们将我们的方法集成到 Nerfstudio 库$\boxed{\mathrm{E}}$Tancik et al. (2023)中,并且所得到的方法在不同的挑战性场景中优于原始的姿势优化方法。这些结果证明了我们的方法在改进相机姿势和提高重建精度方面的有效性,特别是在初始姿势可能不完美的现实场景中总之,我们的贡献如下:
1. We introduce a novel approach that optimises camera pose within neural surface
reconstruction. It utilises the proposed Pose Residual Field (PoRF) and a robust epipolar geometry loss, enabling accurate and efficient refinement of camera poses.
2. The proposed method demonstrates its effectiveness in refining both COLMAP and
ARKit poses, resulting in high-quality reconstructions on the DTU dataset and
achieving state-of-the-art performance on the MobileBrick dataset.
2
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.04736328125,
0.176513671875,
0.04736328125
],
[
0.2254638671875,
0.10162353515625,
0.330078125,
0.10418701171875,
0.330078125,
0.117431640625,
0.2254638671875,
0.11553955078125
],
[
0.44287109375,
0.10418701171875,
0.53125,
0.10418701171875,
0.53125,
0.11553955078125,
0.44287109375,
0.11553955078125
],
[
0.650390625,
0.1029052734375,
0.775390625,
0.1029052734375,
0.775390625,
0.11614990234375,
0.650390625,
0.11614990234375
],
[
0.476318359375,
0.12371826171875,
0.50244140625,
0.12371826171875,
0.50244140625,
0.1319580078125,
0.476318359375,
0.1319580078125
],
[
0.221435546875,
0.173583984375,
0.25,
0.1685791015625,
0.25244140625,
0.1767578125,
0.223876953125,
0.1817626953125
],
[
0.289306640625,
0.1717529296875,
0.334228515625,
0.1749267578125,
0.33251953125,
0.186279296875,
0.28759765625,
0.18310546875
],
[
0.221435546875,
0.179931640625,
0.336669921875,
0.1875,
0.334228515625,
0.210205078125,
0.2181396484375,
0.20263671875
],
[
0.223876953125,
0.208984375,
0.2548828125,
0.2020263671875,
0.259033203125,
0.21337890625,
0.2279052734375,
0.2203369140625
],
[
0.289306640625,
0.20703125,
0.33251953125,
0.21533203125,
0.328369140625,
0.2266845703125,
0.28515625,
0.2183837890625
],
[
0.74853515625,
0.2298583984375,
0.7646484375,
0.2310791015625,
0.7646484375,
0.23486328125,
0.74853515625,
0.2342529296875
],
[
0.2254638671875,
0.2412109375,
0.330078125,
0.242431640625,
0.330078125,
0.2568359375,
0.2254638671875,
0.255615234375
],
[
0.435546875,
0.24365234375,
0.5458984375,
0.24365234375,
0.5458984375,
0.2568359375,
0.435546875,
0.2568359375
],
[
0.66650390625,
0.24365234375,
0.7587890625,
0.24365234375,
0.7587890625,
0.255126953125,
0.66650390625,
0.255126953125
],
[
0.176513671875,
0.396484375,
0.82275390625,
0.396484375,
0.82275390625,
0.410400390625,
0.176513671875,
0.410400390625
],
[
0.176513671875,
0.4091796875,
0.82275390625,
0.4091796875,
0.82275390625,
0.423583984375,
0.176513671875,
0.423583984375
],
[
0.1748046875,
0.423583984375,
0.82275390625,
0.423583984375,
0.82275390625,
0.4375,
0.1748046875,
0.4375
],
[
0.1748046875,
0.438232421875,
0.73388671875,
0.438232421875,
0.73388671875,
0.451904296875,
0.1748046875,
0.451904296875
],
[
0.176513671875,
0.468505859375,
0.82275390625,
0.468505859375,
0.82275390625,
0.481689453125,
0.176513671875,
0.481689453125
],
[
0.176513671875,
0.481689453125,
0.82177734375,
0.481689453125,
0.82177734375,
0.49560546875,
0.176513671875,
0.49560546875
],
[
0.176513671875,
0.496826171875,
0.82177734375,
0.496826171875,
0.82177734375,
0.51025390625,
0.176513671875,
0.51025390625
],
[
0.17724609375,
0.51025390625,
0.82275390625,
0.51025390625,
0.82275390625,
0.5234375,
0.17724609375,
0.5234375
],
[
0.17724609375,
0.5263671875,
0.191162109375,
0.5263671875,
0.191162109375,
0.5361328125,
0.17724609375,
0.5361328125
],
[
0.17724609375,
0.54541015625,
0.82177734375,
0.54541015625,
0.82177734375,
0.5595703125,
0.17724609375,
0.5595703125
],
[
0.176513671875,
0.5595703125,
0.82177734375,
0.5595703125,
0.82177734375,
0.57275390625,
0.176513671875,
0.57275390625
],
[
0.17724609375,
0.57275390625,
0.82275390625,
0.57275390625,
0.82275390625,
0.5859375,
0.17724609375,
0.5859375
],
[
0.176513671875,
0.5869140625,
0.82275390625,
0.5869140625,
0.82275390625,
0.60107421875,
0.176513671875,
0.60107421875
],
[
0.17724609375,
0.60107421875,
0.82177734375,
0.60107421875,
0.82177734375,
0.6142578125,
0.17724609375,
0.6142578125
],
[
0.176513671875,
0.61572265625,
0.82177734375,
0.61572265625,
0.82177734375,
0.62890625,
0.176513671875,
0.62890625
],
[
0.176513671875,
0.62744140625,
0.82177734375,
0.62744140625,
0.82177734375,
0.6416015625,
0.176513671875,
0.6416015625
],
[
0.176513671875,
0.642578125,
0.35693359375,
0.642578125,
0.35693359375,
0.65576171875,
0.176513671875,
0.65576171875
],
[
0.176513671875,
0.66357421875,
0.82177734375,
0.66357421875,
0.82177734375,
0.6767578125,
0.176513671875,
0.6767578125
],
[
0.1748046875,
0.67529296875,
0.82275390625,
0.6767578125,
0.82275390625,
0.69140625,
0.1748046875,
0.68994140625
],
[
0.1805419921875,
0.69140625,
0.82177734375,
0.69140625,
0.82177734375,
0.705078125,
0.1805419921875,
0.705078125
],
[
0.17724609375,
0.705078125,
0.82275390625,
0.705078125,
0.82275390625,
0.71826171875,
0.17724609375,
0.71826171875
],
[
0.17724609375,
0.71826171875,
0.82275390625,
0.71826171875,
0.82275390625,
0.73193359375,
0.17724609375,
0.73193359375
],
[
0.1748046875,
0.73193359375,
0.8203125,
0.73193359375,
0.8203125,
0.74560546875,
0.1748046875,
0.74560546875
],
[
0.176513671875,
0.7470703125,
0.82177734375,
0.7470703125,
0.82177734375,
0.76123046875,
0.176513671875,
0.76123046875
],
[
0.176513671875,
0.76123046875,
0.82177734375,
0.76123046875,
0.82177734375,
0.7744140625,
0.176513671875,
0.7744140625
],
[
0.17724609375,
0.77587890625,
0.35302734375,
0.77587890625,
0.35302734375,
0.7861328125,
0.17724609375,
0.7861328125
],
[
0.176513671875,
0.796875,
0.346435546875,
0.796875,
0.346435546875,
0.81005859375,
0.176513671875,
0.81005859375
],
[
0.2115478515625,
0.8271484375,
0.82177734375,
0.8271484375,
0.82177734375,
0.84033203125,
0.2115478515625,
0.84033203125
],
[
0.2344970703125,
0.84130859375,
0.82275390625,
0.84130859375,
0.82275390625,
0.85498046875,
0.2344970703125,
0.85498046875
],
[
0.2344970703125,
0.85595703125,
0.82177734375,
0.85595703125,
0.82177734375,
0.869140625,
0.2344970703125,
0.869140625
],
[
0.2115478515625,
0.88330078125,
0.82421875,
0.88330078125,
0.82421875,
0.896484375,
0.2115478515625,
0.896484375
],
[
0.2344970703125,
0.89794921875,
0.82275390625,
0.89794921875,
0.82275390625,
0.9111328125,
0.2344970703125,
0.9111328125
],
[
0.233642578125,
0.9111328125,
0.71142578125,
0.9111328125,
0.71142578125,
0.9248046875,
0.233642578125,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"Published as a conference paper at ICLR 2024",
"Reference Image",
"GT Pose (0.65)",
"COLMAPPose(3.60)",
"维",
"龙",
"迎电印品",
"##维康康医所",
"羊",
"佳康康座店",
"",
"BARF Pose (3.95)",
"SPARFPose (3.34)",
"OurPose(0.64)",
"Figure l: Reconstruction results on the DTU dataset (scan24 ). All meshes were generated",
"by using Voxurf Wu et al. (2023) : The Chamfer Distance (mm) is reported. BARF Lin",
"et al. (2021) , SPARF Truong et al. (2023) , and our method all take the COLMAP pose",
"as the initial pose. More results are illustrated in the supplementary material.",
"建议的隐式姿势表示称为姿势残差场(PoRF),它采用MLP网络来学习姿势残差。MLP",
"网络将顿索引和初始相机姿态作为输人,如Fig.2所示。值得注意的是,由于MLP参数在",
"所有顿中共享,因此它能够捕获整个轨迹上的基础全局信息,以提高性能。如Fig.3所示,",
"与传统的姿态参数优化方法相比,所提出的PoRF显示出显着提高的精度和更快的收敛速",
"度",
"此外,我们在建议的对极几何损失中使用特征对应关系来加强监督。尽管对应关系已在",
"SPARFETruongetal.(2023)中使用,但它取决于昂贵的密集匹配。如Fig.3所示,我们的",
"方法在手工方法的稀疏匹配(SIFTELowe(2004))和深度学习方法的密集匹配(LoFTRE",
"Sunetal.(2021))中表现出同样出色的性能。此外,与融合对应关系和NeRF染深度",
"以计算重投影损失的SPARF相比,我们的方法使用仅涉及姿势和对应关系的对极几何损",
"失,而不依赖于NeRF染的深度,后者可能不准确并限制姿势精度。值得注意的是,由",
"于NeRF染很耗时,SPARF在每次选代中可以使用的对应数量受到限制,而我们的方法",
"允许使用任意数量的匹配",
"我们对DTUEJensenetal.(2014)和MobileBrickELietal.(2023a)数据集进行了全面评",
"估。首先,在DTU数据集上,我们的方法以COLMAP姿势为初始化,并将旋转误差降低",
"了78%。这将减少重建倒角距离从3。48毫米至0。85mm,其中我们使用VoxurfWuetal",
"(2023)进行重建。其次,在MobileBrick数据集上,我们的方法使用ARKit姿势进行初始",
"化,并将重建F1得分从69。18至75。67。它在重建中略微优于提供的不完美的GT姿",
"势(75。14)并实现最先进的性能。此外,我们将我们的方法集成到Nerfstudio库ETancik",
"etal.(2023)中,并且所得到的方法在不同的挑战性场景中优于原始的姿势优化方法。这些",
"结果证明了我们的方法在改进相机姿势和提高重建精度方面的有效性,特别是在初始姿势",
"可能不完美的现实场景中",
"总之,我们的贡献如下:",
"1. We introduce a novel approach that optimises camera pose within neural surface",
"reconstruction. It utilises the proposed Pose Residual Field (PoRF) and a robust",
"epipolar geometry loss, enabling accurate and efficient refinement of camera poses.",
"2. The proposed method demonstrates its effectiveness in refining both COLMAP and",
"ARKit poses, resulting in high-quality reconstructions on the DTU dataset and",
"achieving state-of-the-art performance on the MobileBrick dataset.",
"2"
] |
{
"arxiv_id": "2310.07449",
"language": "zh",
"page_idx": 1
}
|
||
2310.07449-zh-2
|
2310.07449-zh-2.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2024}}$
# 2 Related Work
Neural surface reconstruction. 从多视图图像重建对象是计算机视觉中的基本问题。传统的多视图立体 (MVS)方法 Schönberger et al. (2016); Furukawa et al. (2009) 明确地找到图像之间的密集对应关系来计算深度图,这些深度图被融合在一起以获得最终的点云。基于深度学习的方法 Yao et al.(2018;2019); Zhang et al.(2020a)显著提升了对应搜索和深度估计过程。最近,神经辐射场 (NeRF)EMildenhall et al. (2020)已被提出来隐式重建场景几何形状,并且它允许从隐式表示中提取对象表面。为了提高性能,VolSDF Yariv et al. (2021)和 NeuS Wang et al. (2021a) 建议使用隐式 SDF 场进行场景表示。MonoSDF Yu et al.(2022) 和 NeurIS Wang et al.(2022a) 建议利用外部单眼几何结构。HF-NeuS Wang et al. (2022b) 引人了一个额外的位移网络来学习表面细节。NeuralWarp Darmon et al. (2022)使用补丁翘曲来指导表面优化。Geo-NeuS Fu et al.(2022)和 RegSDF Zhang et al. (2022)建议利用 SfM 生成的稀疏点。Neuralangelo Li et al. (2023b) 在哈希网格上提出了一种从粗到精的方法。Voxurf Wu et al.(2023) 提出了一种基于体素的表示,该表示通过有效的训练实现了高精度
Joint NeRF and pose optimisation. NeRFmm Wang et al.(2021b) 演示了与 NeRF 框架 Mildenhall et al. (2020)一起共同学习或改进相机参数的可能性。BARF Lin et al. (2021) 引人了一种涉及粗到细位置编码的解决方案,以增强联合优化的鲁棒性。在 SC-NeRFE Jeong et al. (2021)的情况下,提出了用于改进的内在和外在相机参数。在不同的方法中, SiNeRFEXia et al.(2022) 和 GARF$\boxed{\mathrm{E}}$Chng et al.(2022) 建议在 NeRF 网络中采用不同的激活功能来促进姿态优化。Nope-NeRFEBian et al.(2023) 采用外部单眼深度估计模型来辅助细化相机姿势。L2G Chen et al.(2023) 提出了一种局部到全局的方案,其中图像姿态是根据学习的多个局部姿态计算的。与我们的方法非常相似的是 SPARFETruong et al. (2023) , 它还结合了对应关系并评估了其在具有挑战性的 DTU 数据集EJensen et al. (2014)上的性能。然而,它是为稀疏视图场景量身定制的,当足够数量的图像可用时,它缺乏我们的方法所达到的准确性
# 3 Preliminary
Volume rendering with SDF representation 我们坚持使用 NeuSEWang et al. (2021a) 方法来优化多视图图像的神经表面重建。该方法涉及使用隐式 SDF 字段表示场景,该字段由MLP 参数化。为了渲染图像像素,光线源自相机中心$o$ ,并沿观察方向$v$延伸穿过像素, 称为$\{p(t)=o+tv|t\geq0\}$ 。通过使用体积渲染$\boxed{\mathrm{E}}($Max,1995),通过使用$N$离散采样点$\{p_{i}=o+t_{i}v|i=1,...,N,\dot{t}_{i}<t_{i+1}\}$沿射线积分来计算图像像素的颜色:
$$\hat C(r)=\sum_{i=1}^NT_i\alpha_ic_i,\:T_i=\prod_{j=1}^{i-1}(1-\alpha_j),$$
(1)
在此等式中,$\alpha_i$表示不透明度值,$T_i$表示累积透射率。NeuS 和 NeRF Mildenhall et al.
(2020)之间的主要区别在于$\alpha_i$的制定方式。在 NeuS 中,使用以下表达式计算$\alpha_i:$
(2)
$$\alpha_i=\max\left(\frac{\Phi_s(f(p(t_i)))-\Phi_s(f(p(t_{i+1})))}{\Phi_s(f(p(t_i)))},0\right),$$
在此上下文中,$f(x)$是 SDF 函数,$\Phi_s(x)=(1+e^{-sx})^{-1}$表示 Sigmoid 函数,其中参数$s$
在训练过程中自动学习
Neural surface reconstruction loss. 与 NeuSEWang et al.(2021a)一致,我们的目标是最大程度地减少渲染颜色与真实颜色之间的差异。为此,我们在每次迭代中从图像中随机选择一批像素及其在世界空间$P=\{C_k,o_k,v_k\}$中的相应光线。这里,$C_k$表示像素颜色,$o_k$ 表示摄像机中心,$v_k$表示观看方向。我们将点采样大小设置为$n$ ,将批量大小设置为$m$
神经表面重建损失函数定义如下:
(3)
$$\mathcal{L}_{NSR}=\mathcal{L}_{colour}+\lambda\mathcal{L}_{reg}.$$
3
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.04736328125,
0.176513671875,
0.04736328125
],
[
0.1732177734375,
0.10418701171875,
0.328369140625,
0.10418701171875,
0.328369140625,
0.11871337890625,
0.1732177734375,
0.11871337890625
],
[
0.178955078125,
0.1337890625,
0.40185546875,
0.1351318359375,
0.40185546875,
0.1483154296875,
0.178955078125,
0.147705078125
],
[
0.4150390625,
0.1351318359375,
0.82275390625,
0.1351318359375,
0.82275390625,
0.1483154296875,
0.4150390625,
0.1483154296875
],
[
0.176513671875,
0.1483154296875,
0.82177734375,
0.1483154296875,
0.82177734375,
0.1622314453125,
0.176513671875,
0.1622314453125
],
[
0.176513671875,
0.1622314453125,
0.82177734375,
0.1622314453125,
0.82177734375,
0.175537109375,
0.176513671875,
0.175537109375
],
[
0.17724609375,
0.1767578125,
0.82177734375,
0.1767578125,
0.82177734375,
0.1900634765625,
0.17724609375,
0.1900634765625
],
[
0.1748046875,
0.189453125,
0.82177734375,
0.1881103515625,
0.82177734375,
0.20263671875,
0.1748046875,
0.203857421875
],
[
0.176513671875,
0.203857421875,
0.82177734375,
0.203857421875,
0.82177734375,
0.2171630859375,
0.176513671875,
0.2171630859375
],
[
0.176513671875,
0.2171630859375,
0.82275390625,
0.2171630859375,
0.82275390625,
0.231689453125,
0.176513671875,
0.231689453125
],
[
0.1748046875,
0.2298583984375,
0.82275390625,
0.2310791015625,
0.82275390625,
0.24560546875,
0.1748046875,
0.2442626953125
],
[
0.176513671875,
0.24560546875,
0.8203125,
0.24560546875,
0.8203125,
0.2587890625,
0.176513671875,
0.2587890625
],
[
0.17724609375,
0.2587890625,
0.82177734375,
0.2587890625,
0.82177734375,
0.272705078125,
0.17724609375,
0.272705078125
],
[
0.17724609375,
0.2734375,
0.82177734375,
0.2734375,
0.82177734375,
0.287353515625,
0.17724609375,
0.287353515625
],
[
0.188720703125,
0.285888671875,
0.82177734375,
0.287353515625,
0.82177734375,
0.3017578125,
0.188720703125,
0.300537109375
],
[
0.176513671875,
0.3017578125,
0.339111328125,
0.3017578125,
0.339111328125,
0.31494140625,
0.176513671875,
0.31494140625
],
[
0.181396484375,
0.330810546875,
0.439453125,
0.330810546875,
0.439453125,
0.3447265625,
0.181396484375,
0.3447265625
],
[
0.453369140625,
0.328857421875,
0.82275390625,
0.330078125,
0.82275390625,
0.3447265625,
0.453369140625,
0.343505859375
],
[
0.176513671875,
0.3447265625,
0.82177734375,
0.3447265625,
0.82177734375,
0.35791015625,
0.176513671875,
0.35791015625
],
[
0.176513671875,
0.35791015625,
0.82421875,
0.35791015625,
0.82421875,
0.371826171875,
0.176513671875,
0.371826171875
],
[
0.1748046875,
0.37060546875,
0.82177734375,
0.37255859375,
0.82177734375,
0.386474609375,
0.1748046875,
0.3837890625
],
[
0.1732177734375,
0.3837890625,
0.82177734375,
0.385009765625,
0.82177734375,
0.3984375,
0.1732177734375,
0.397705078125
],
[
0.176513671875,
0.399658203125,
0.82177734375,
0.399658203125,
0.82177734375,
0.41357421875,
0.176513671875,
0.41357421875
],
[
0.176513671875,
0.41357421875,
0.82177734375,
0.41357421875,
0.82177734375,
0.4267578125,
0.176513671875,
0.4267578125
],
[
0.1748046875,
0.4267578125,
0.82275390625,
0.427978515625,
0.82275390625,
0.442626953125,
0.1748046875,
0.44140625
],
[
0.176513671875,
0.44140625,
0.8203125,
0.44140625,
0.8203125,
0.455078125,
0.176513671875,
0.455078125
],
[
0.17724609375,
0.455078125,
0.82275390625,
0.455078125,
0.82275390625,
0.468505859375,
0.17724609375,
0.468505859375
],
[
0.176513671875,
0.4697265625,
0.38818359375,
0.4697265625,
0.38818359375,
0.48291015625,
0.176513671875,
0.48291015625
],
[
0.1707763671875,
0.501953125,
0.310546875,
0.5048828125,
0.310546875,
0.51953125,
0.1707763671875,
0.5166015625
],
[
0.178955078125,
0.53515625,
0.82177734375,
0.53515625,
0.82177734375,
0.548828125,
0.178955078125,
0.548828125
],
[
0.176513671875,
0.548828125,
0.82177734375,
0.548828125,
0.82177734375,
0.5625,
0.176513671875,
0.5625
],
[
0.176513671875,
0.56103515625,
0.82177734375,
0.5625,
0.82177734375,
0.5771484375,
0.176513671875,
0.57568359375
],
[
0.176513671875,
0.5771484375,
0.82275390625,
0.5771484375,
0.82275390625,
0.59033203125,
0.176513671875,
0.59033203125
],
[
0.1748046875,
0.59130859375,
0.68310546875,
0.59033203125,
0.68310546875,
0.60400390625,
0.1748046875,
0.60498046875
],
[
0.4306640625,
0.619140625,
0.443603515625,
0.625,
0.43701171875,
0.63525390625,
0.423095703125,
0.6298828125
],
[
0.54833984375,
0.62353515625,
0.56884765625,
0.62353515625,
0.56884765625,
0.6337890625,
0.54833984375,
0.6337890625
],
[
0.36767578125,
0.63525390625,
0.42724609375,
0.63525390625,
0.42724609375,
0.6494140625,
0.36767578125,
0.6494140625
],
[
0.419189453125,
0.6337890625,
0.63134765625,
0.6337890625,
0.63134765625,
0.6513671875,
0.419189453125,
0.6513671875
],
[
0.80224609375,
0.63623046875,
0.82421875,
0.63623046875,
0.82421875,
0.65087890625,
0.80224609375,
0.65087890625
],
[
0.423095703125,
0.65087890625,
0.4453125,
0.65087890625,
0.4453125,
0.66357421875,
0.423095703125,
0.66357421875
],
[
0.5439453125,
0.65283203125,
0.56884765625,
0.65283203125,
0.56884765625,
0.66552734375,
0.5439453125,
0.66552734375
],
[
0.176513671875,
0.6767578125,
0.82177734375,
0.67529296875,
0.82177734375,
0.68994140625,
0.176513671875,
0.69140625
],
[
0.17724609375,
0.69140625,
0.775390625,
0.69140625,
0.775390625,
0.705078125,
0.17724609375,
0.705078125
],
[
0.408447265625,
0.71533203125,
0.66015625,
0.7236328125,
0.65869140625,
0.74853515625,
0.406982421875,
0.74072265625
],
[
0.3349609375,
0.73486328125,
0.404296875,
0.73486328125,
0.404296875,
0.7470703125,
0.3349609375,
0.7470703125
],
[
0.80224609375,
0.734375,
0.82275390625,
0.734375,
0.82275390625,
0.74755859375,
0.80224609375,
0.74755859375
],
[
0.4794921875,
0.7421875,
0.56396484375,
0.7421875,
0.56396484375,
0.75390625,
0.4794921875,
0.75390625
],
[
0.176513671875,
0.76953125,
0.82421875,
0.76953125,
0.82421875,
0.78271484375,
0.176513671875,
0.78271484375
],
[
0.1748046875,
0.7822265625,
0.338134765625,
0.7822265625,
0.338134765625,
0.79541015625,
0.1748046875,
0.79541015625
],
[
0.1805419921875,
0.8125,
0.82177734375,
0.8125,
0.82177734375,
0.82568359375,
0.1805419921875,
0.82568359375
],
[
0.17724609375,
0.82763671875,
0.82177734375,
0.82763671875,
0.82177734375,
0.83837890625,
0.17724609375,
0.83837890625
],
[
0.1748046875,
0.8388671875,
0.82177734375,
0.84033203125,
0.82177734375,
0.85498046875,
0.1748046875,
0.85400390625
],
[
0.176513671875,
0.85498046875,
0.80810546875,
0.85498046875,
0.80810546875,
0.86865234375,
0.176513671875,
0.86865234375
],
[
0.1748046875,
0.875,
0.41015625,
0.87548828125,
0.41015625,
0.8896484375,
0.1748046875,
0.88818359375
],
[
0.408447265625,
0.9091796875,
0.58642578125,
0.9111328125,
0.58642578125,
0.9287109375,
0.408447265625,
0.9267578125
],
[
0.80224609375,
0.9111328125,
0.82421875,
0.9111328125,
0.82421875,
0.92529296875,
0.80224609375,
0.92529296875
],
[
0.491943359375,
0.94775390625,
0.50732421875,
0.94775390625,
0.50732421875,
0.9619140625,
0.491943359375,
0.9619140625
]
] |
[
"Published as a conference paper at ICLR 2024",
"2Related Work",
"Neural surfacereconstruction.",
"从多视图图像重建对象是计算机视觉中的基本问题。传统",
"的多视图立体(MVS)方法Schonbergeretal.(2016);Furukawaetal.(2009)明确地找到",
"图像之间的密集对应关系来计算深度图,这些深度图被融合在一起以获得最终的点云。基",
"于深度学习的方法Yaoetal.(2018;2019);Zhangetal.(2020a)显著提升了对应搜索和深",
"度估计过程。最近,神经辐射场(NeRF)EMildenhalletal.(2020)已被提出来隐式重建场",
"景几何形状,并且它允许从隐式表示中提取对象表面。为了提高性能,VolSDFYarivetal.",
"(2021)和NeuSWangetal.(2021a)建议使用隐式SDF场进行场景表示。MonoSDFYu",
"etal.(2022)和NeurISWangetal.(2022a)建议利用外部单眼几何结构。HF-NeuSWang",
"etal.(2022b)引人了一个额外的位移网络来学习表面细节。NeuralWarpDarmonetal",
"(2022)使用补丁翘曲来指导表面优化。Geo-NeuSFuetal.(2022)和RegSDFZhangetal",
"(2022)建议利用SfM生成的稀疏点。NeuralangeloLietal.(2023b)在哈希网格上提出了",
"-种从粗到精的方法。VoxurfWuetal.(2023)提出了一种基于体素的表示,该表示通过有",
"效的训练实现了高精度",
"Joint NeRF and pose optimisation.",
"NeRFmmWangetal.(2021b)演示了与NeRF框",
"架Mildenhalletal.(2020)一起共同学习或改进相机参数的可能性。BARFLinetal.(2021)",
"引入了一种涉及粗到细位置编码的解决方案,以增强联合优化的鲁棒性。在SC-NeRFE",
"Jeongetal.(2021)的情况下,提出了用于改进的内在和外在相机参数。在不同的方法中",
"SiNeRFEXiaetal.(2022)和GARFEChngetal.(2022)建议在NeRF网络中采用不同",
"的激活功能来促进姿态优化。Nope-NeRFEBianetal.(2023)采用外部单眼深度估计模",
"型来辅助细化相机姿势。L2GChenetal.(2023)提出了一种局部到全局的方案,其中图",
"像姿态是根据学习的多个局部姿态计算的。与我们的方法非常相似的是SPARFETruong",
"etal.(2023),它还结合了对应关系并评估了其在具有挑战性的DTU数据集EJensenetal",
"(2014)上的性能。然而,它是为稀疏视图场景量身定制的,当足够数量的图像可用时,它缺",
"乏我们的方法所达到的准确性",
"3Preliminary",
"VolumerenderingwithSDFrepresentation我们坚持使用NeuSEWangetal.(202la)方",
"法来优化多视图图像的神经表面重建。该方法涉及使用隐式SDF字段表示场景,该字段由",
"MLP参数化。为了染图像像素,光线源自相机中心o,并沿观察方向延伸穿过像素",
"称为p(t)=0+tut≥0)。通过使用体积染E(Max,1995),通过使用N离散采样点",
"(pi=o+tiui=1...,N,ti<ti+1}沿射线积分来计算图像像素的颜色:",
"N",
"i-1",
"C(r) = ",
"T,Qici, T, = (1-aj),",
"(1)",
"i=1",
"j=1",
"在此等式中,Q表示不透明度值,T,表示累积透射率。NeuS和NeRFMildenhall etal",
"(2020)之间的主要区别在于αi的制定方式。在NeuS中,使用以下表达式计算αi:",
"(重(f(p(t:) -更((p(t+1),0)",
"ai=max",
"(2)",
"s(f(p(t))",
"在此上下文中,f(a)是SDF函数,Φs(a)=(1+e-s)-1表示Sigmoid函数,其中参数s",
"在训练过程中自动学习",
"Neuralsurfacereconstructionloss.与NeuSEWangetal.(2021la)一致,我们的目标是",
"最大程度地减少染颜色与真实颜色之间的差异。为此,我们在每次迭代中从图像中随机选",
"择一批像素及其在世界空间P=CkOkuk)中的相应光线。这里,Ck表示像素颜色,ok",
"表示摄像机中心,k表示观看方向。我们将点采样大小设置为n,将批量大小设置为㎡",
"神经表面重建损失函数定义如下:",
"CNSR = Lcolour + 入Creg",
"(3)",
"3"
] |
{
"arxiv_id": "2310.07449",
"language": "zh",
"page_idx": 2
}
|
||
2310.07449-zh-3
|
2310.07449-zh-3.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2024}}$
<FigureHere>
Figure 2: Joint optimisation pipeline. The proposed model consists of a pose residual $\bar{\mathrm{feld~}F_{\theta}}$ and a neural surface reconstruction module $G_\phi.$ PoRF takes the frame index and the initial camera pose as input and employs an MLP to learn the pose residual, which is composited with the initial pose to obtain the predicted pose. The output pose is used to compute the neural rendering losses with the NSR module and the epipolar geometry loss with pre-computed 2D correspondences. Parameters $\theta$ and $\phi$ are updated during backpropagation.
颜色损失$\mathcal{L}_{colour}$计算如下:
(4)
$$\mathcal{L}_{colour}=\frac{1}{m}\sum_{k}\left\|\hat{C}_{k}-C_{k}\right\|_{1}.$$
术语 $\mathcal{L}_{reg}$ 结合了应用于采样点的 Eikonal 术语$\overline{\mathrm{EGropp~et~al.~(2020)~,~以规范学习的~SDF}}$
可以表示为:
(5)
$$\mathcal{L}_{reg}=\frac{1}{nm}\sum_{k,i}(\|\nabla f(\hat{\boldsymbol{p}}_{k,i})\|_2-1)^2.$$
这里,$f$是学习的 SDF $,\hat{\boldsymbol{p}}_k,i$表示第$i$条射线中第$k$个像素的采样点。$\lambda$控制正则化项在
总体损失函数中的影响
Joint pose optimisation with NSR. 受先前工作EWang et al. ( 2021b) ; Lin et al. ( 2021) 的启发,该工作与 NeRFEMildenhall et al. (2020) 共同优化了姿势参数,我们提出了一种具有神经表面重建的朴素联合姿势优化,并使用 Eqn.3 作为损失函数。这在 Fig. 3 中表示为基线方法,在下一节中,我们将介绍改进性能的建议方法
### 4 Method
Pose residual field (PoRF). 我们使用 MLP 将相机姿态细化作为回归问题。在 Fig.2 中, 我们说明了 MLP 网络的输入是 7D 向量的过程,该向量由 1D 图像索引($i$)和 6D 初始姿态$(r,t$ )组成。MLP 的输出是 6D 位姿残差( $\Delta r,\Delta t$ )。将该残差与初始姿态组合以获得最终的细化姿态$(r^{\prime},t^{\prime})$。在这种情况下,旋转由 3D 轴角度表示
为了在优化开始时鼓励小姿态残差输出,我们将 MLP 输出乘以一个固定的小因子$(\alpha)$。这确保了有效的初始化 (精细的姿势接近初始姿势),并且可以通过优化逐步学习正确的姿势残差。形式上,初始姿势和学习的姿势残差的组成表示如下:
$$\left\{\begin{matrix}\hat{r}=r+\alpha\cdot\Delta r\\\hat{t}=t+\alpha\cdot\Delta t\end{matrix}\right.$$
(6)
所产生的最终姿态$(\hat{r},\hat{t})$用于计算损失,并且梯度可以在优化过程中反向传播到 MLP 参
数。在实践中,我们使用具有 2 个隐藏层的浅 MLP, 我们发现这足以用于对象重建
4
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.04736328125,
0.176513671875,
0.04736328125
],
[
0.2017822265625,
0.10919189453125,
0.2548828125,
0.10919189453125,
0.2548828125,
0.11614990234375,
0.2017822265625,
0.11614990234375
],
[
0.268798828125,
0.10919189453125,
0.328369140625,
0.10919189453125,
0.328369140625,
0.11614990234375,
0.268798828125,
0.11614990234375
],
[
0.5986328125,
0.1060791015625,
0.6396484375,
0.10797119140625,
0.63818359375,
0.11932373046875,
0.59716796875,
0.117431640625
],
[
0.6611328125,
0.111083984375,
0.68310546875,
0.111083984375,
0.68310546875,
0.11553955078125,
0.6611328125,
0.11553955078125
],
[
0.465576171875,
0.1383056640625,
0.48193359375,
0.1383056640625,
0.48193359375,
0.141357421875,
0.465576171875,
0.141357421875
],
[
0.7646484375,
0.1363525390625,
0.79345703125,
0.1383056640625,
0.79150390625,
0.149658203125,
0.76318359375,
0.147705078125
],
[
0.2099609375,
0.15087890625,
0.2279052734375,
0.15087890625,
0.2279052734375,
0.1546630859375,
0.2099609375,
0.1546630859375
],
[
0.39453125,
0.15087890625,
0.40283203125,
0.15087890625,
0.40283203125,
0.1558837890625,
0.39453125,
0.1558837890625
],
[
0.214111328125,
0.1578369140625,
0.2484130859375,
0.1610107421875,
0.2459716796875,
0.175537109375,
0.2115478515625,
0.17236328125
],
[
0.2900390625,
0.160400390625,
0.32177734375,
0.160400390625,
0.32177734375,
0.175537109375,
0.2900390625,
0.175537109375
],
[
0.361083984375,
0.1622314453125,
0.390625,
0.1622314453125,
0.390625,
0.1749267578125,
0.361083984375,
0.1749267578125
],
[
0.4697265625,
0.1622314453125,
0.496826171875,
0.1622314453125,
0.496826171875,
0.173583984375,
0.4697265625,
0.173583984375
],
[
0.398681640625,
0.1875,
0.416748046875,
0.1875,
0.416748046875,
0.1962890625,
0.398681640625,
0.1962890625
],
[
0.1846923828125,
0.1622314453125,
0.2091064453125,
0.1622314453125,
0.2091064453125,
0.17041015625,
0.1846923828125,
0.17041015625
],
[
0.6357421875,
0.1875,
0.65185546875,
0.1875,
0.65185546875,
0.1962890625,
0.6357421875,
0.1962890625
],
[
0.68310546875,
0.1900634765625,
0.68896484375,
0.1900634765625,
0.68896484375,
0.1976318359375,
0.68310546875,
0.1976318359375
],
[
0.486083984375,
0.20263671875,
0.50634765625,
0.20263671875,
0.50634765625,
0.2108154296875,
0.486083984375,
0.2108154296875
],
[
0.57861328125,
0.1976318359375,
0.60302734375,
0.1976318359375,
0.60302734375,
0.2052001953125,
0.57861328125,
0.2052001953125
],
[
0.7685546875,
0.2083740234375,
0.7958984375,
0.210205078125,
0.7939453125,
0.2183837890625,
0.76708984375,
0.216552734375
],
[
0.1953125,
0.2203369140625,
0.23779296875,
0.2203369140625,
0.23779296875,
0.2310791015625,
0.1953125,
0.2310791015625
],
[
0.3505859375,
0.2197265625,
0.39208984375,
0.2197265625,
0.39208984375,
0.2298583984375,
0.3505859375,
0.2298583984375
],
[
0.76123046875,
0.23486328125,
0.79150390625,
0.2374267578125,
0.7900390625,
0.248779296875,
0.7607421875,
0.246826171875
],
[
0.191162109375,
0.25244140625,
0.2197265625,
0.25244140625,
0.2197265625,
0.264404296875,
0.191162109375,
0.264404296875
],
[
0.4755859375,
0.25390625,
0.5009765625,
0.25390625,
0.5009765625,
0.26513671875,
0.4755859375,
0.26513671875
],
[
0.1748046875,
0.3017578125,
0.82421875,
0.3017578125,
0.82421875,
0.31494140625,
0.1748046875,
0.31494140625
],
[
0.17724609375,
0.317626953125,
0.82177734375,
0.317626953125,
0.82177734375,
0.32763671875,
0.17724609375,
0.32763671875
],
[
0.176513671875,
0.330078125,
0.82275390625,
0.330078125,
0.82275390625,
0.3447265625,
0.176513671875,
0.3447265625
],
[
0.1732177734375,
0.343505859375,
0.82275390625,
0.34228515625,
0.82275390625,
0.356689453125,
0.1732177734375,
0.35791015625
],
[
0.1748046875,
0.35791015625,
0.82177734375,
0.35791015625,
0.82177734375,
0.371826171875,
0.1748046875,
0.371826171875
],
[
0.17236328125,
0.37060546875,
0.8203125,
0.37060546875,
0.8203125,
0.3837890625,
0.17236328125,
0.3837890625
],
[
0.176513671875,
0.386962890625,
0.26708984375,
0.386962890625,
0.26708984375,
0.3984375,
0.176513671875,
0.3984375
],
[
0.176513671875,
0.406005859375,
0.373291015625,
0.406005859375,
0.373291015625,
0.42041015625,
0.176513671875,
0.42041015625
],
[
0.396240234375,
0.44580078125,
0.449462890625,
0.44580078125,
0.449462890625,
0.460205078125,
0.396240234375,
0.460205078125
],
[
0.4755859375,
0.43994140625,
0.515625,
0.4443359375,
0.51318359375,
0.4609375,
0.47216796875,
0.45703125
],
[
0.52294921875,
0.4462890625,
0.5537109375,
0.448974609375,
0.55224609375,
0.460205078125,
0.521484375,
0.458251953125
],
[
0.55810546875,
0.451904296875,
0.57177734375,
0.451904296875,
0.57177734375,
0.455078125,
0.55810546875,
0.455078125
],
[
0.80224609375,
0.4462890625,
0.82421875,
0.4462890625,
0.82421875,
0.4609375,
0.80224609375,
0.4609375
],
[
0.465576171875,
0.45703125,
0.484375,
0.45703125,
0.484375,
0.46533203125,
0.465576171875,
0.46533203125
],
[
0.49267578125,
0.46533203125,
0.5009765625,
0.46533203125,
0.5009765625,
0.4697265625,
0.49267578125,
0.4697265625
],
[
0.17724609375,
0.4873046875,
0.82421875,
0.4873046875,
0.82421875,
0.50048828125,
0.17724609375,
0.50048828125
],
[
0.17724609375,
0.501953125,
0.26318359375,
0.501953125,
0.26318359375,
0.51318359375,
0.17724609375,
0.51318359375
],
[
0.428955078125,
0.52783203125,
0.6259765625,
0.53515625,
0.625,
0.56298828125,
0.42724609375,
0.55615234375
],
[
0.378173828125,
0.54052734375,
0.4248046875,
0.54541015625,
0.423095703125,
0.556640625,
0.375732421875,
0.55322265625
],
[
0.80224609375,
0.54052734375,
0.82421875,
0.54052734375,
0.82421875,
0.5546875,
0.80224609375,
0.5546875
],
[
0.41259765625,
0.546875,
0.46728515625,
0.548828125,
0.465576171875,
0.5625,
0.410888671875,
0.56005859375
],
[
0.463134765625,
0.55810546875,
0.48046875,
0.55810546875,
0.48046875,
0.5673828125,
0.463134765625,
0.5673828125
],
[
0.1748046875,
0.58203125,
0.82177734375,
0.58203125,
0.82177734375,
0.59521484375,
0.1748046875,
0.59521484375
],
[
0.176513671875,
0.59521484375,
0.340576171875,
0.59521484375,
0.340576171875,
0.609375,
0.176513671875,
0.609375
],
[
0.1805419921875,
0.625,
0.82275390625,
0.625,
0.82275390625,
0.6396484375,
0.1805419921875,
0.6396484375
],
[
0.176513671875,
0.63818359375,
0.82275390625,
0.63818359375,
0.82275390625,
0.65283203125,
0.176513671875,
0.65283203125
],
[
0.176513671875,
0.6513671875,
0.82275390625,
0.65283203125,
0.82275390625,
0.66748046875,
0.176513671875,
0.66650390625
],
[
0.176513671875,
0.66748046875,
0.60107421875,
0.66748046875,
0.60107421875,
0.68115234375,
0.176513671875,
0.68115234375
],
[
0.1748046875,
0.70263671875,
0.2091064453125,
0.70263671875,
0.2091064453125,
0.71533203125,
0.1748046875,
0.71533203125
],
[
0.2034912109375,
0.70263671875,
0.27685546875,
0.70263671875,
0.27685546875,
0.7138671875,
0.2034912109375,
0.7138671875
],
[
0.178955078125,
0.73291015625,
0.82177734375,
0.73291015625,
0.82177734375,
0.7470703125,
0.178955078125,
0.7470703125
],
[
0.176513671875,
0.7470703125,
0.82177734375,
0.7470703125,
0.82177734375,
0.76025390625,
0.176513671875,
0.76025390625
],
[
0.1748046875,
0.76025390625,
0.82421875,
0.7587890625,
0.82421875,
0.7734375,
0.1748046875,
0.7744140625
],
[
0.176513671875,
0.7744140625,
0.66015625,
0.7744140625,
0.66015625,
0.78857421875,
0.176513671875,
0.78857421875
],
[
0.17724609375,
0.79541015625,
0.82177734375,
0.79541015625,
0.82177734375,
0.8095703125,
0.17724609375,
0.8095703125
],
[
0.176513671875,
0.8095703125,
0.82275390625,
0.8095703125,
0.82275390625,
0.82275390625,
0.176513671875,
0.82275390625
],
[
0.1748046875,
0.82275390625,
0.62158203125,
0.82275390625,
0.62158203125,
0.8359375,
0.1748046875,
0.8359375
],
[
0.438720703125,
0.85791015625,
0.5458984375,
0.85791015625,
0.5458984375,
0.8720703125,
0.438720703125,
0.8720703125
],
[
0.80224609375,
0.8662109375,
0.82421875,
0.8662109375,
0.82421875,
0.880859375,
0.80224609375,
0.880859375
],
[
0.439453125,
0.875,
0.54150390625,
0.875,
0.54150390625,
0.88623046875,
0.439453125,
0.88623046875
],
[
0.17724609375,
0.896484375,
0.82421875,
0.896484375,
0.82421875,
0.91015625,
0.17724609375,
0.91015625
],
[
0.1748046875,
0.9111328125,
0.77294921875,
0.9111328125,
0.77294921875,
0.9248046875,
0.1748046875,
0.9248046875
],
[
0.494384765625,
0.94873046875,
0.50634765625,
0.94873046875,
0.50634765625,
0.96044921875,
0.494384765625,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2024",
"Inputimage",
"ithnoisypose",
"2DCorre",
"denc",
"",
"LEG",
"",
"2",
"0",
"Q",
"Q",
"Q",
"Fa",
"=1",
"Ge",
"OS",
"",
"O",
"Lcolo",
"(i,ri,t)",
"(t)",
"'Lreg",
"PoRF",
"NSR",
"Figure 2:Joint optimisation pipeline. The proposed model consists of a pose residual",
"field Fe and a neural surface reconstruction module G:PoRF takes theframe index and",
"the initial camera pose as input and employs an MLP to learn the pose residual, which",
"is composited with the initial pose to obtain the predicted pose. The output pose is used",
"to compute the neural rendering losses with the NSR module and the epipolar geometry",
"loss with pre-computed 2D correspondences. Parameters and @ are updated during back",
"propagation.",
"颜色损失Ccolour计算如下:",
"Ceolour",
"M",
"Ck-",
"",
"(4)",
"m",
"1",
"术语Creg结合了应用于采样点的Eikonal术语EGroppetal.(2020),以规范学习的SDF,",
"可以表示为:",
"二(I f(Pk,)2 - 1)2",
"Creg",
"(5)",
"=nm4",
"k,i",
"这里,f是学习的SDF,Pk.i表示第i条射线中第k个像素的采样点。入控制正则化项在",
"总体损失函数中的影响",
"Joint pose optimisation with NSR.受先前工作E/Wang et al. (2021b);Lin et al. (2021)",
"的启发,该工作与NeRFEMildenhall etal.(2020)共同优化了姿势参数,我们提出了一种",
"具有神经表面重建的朴素联合姿势优化,并使用Eqn.3作为损失函数。这在Fig.3中表示",
"为基线方法,在下一节中,我们将介绍改进性能的建议方法",
"4",
"Method",
"Poseresidualfield(PoRF)。我们使用MLP将相机姿态细化作为回归问题。在Fig.2中",
"我们说明了MLP网络的输入是7D向量的过程,该向量由1D图像索引(i)和6D初始",
"姿态(r,t)组成。MLP的输出是6D位姿残差(△r,△t)。将该残差与初始姿态组合以获",
"得最终的细化姿态(r,t)。在这种情况下,旋转由3D轴角度表示",
"为了在优化开始时鼓励小姿态残差输出,我们将MLP输出乘以一个固定的小因子(α)。",
"这确保了有效的初始化(精细的姿势接近初始姿势),并且可以通过优化逐步学习正确的姿",
"势残差。形式上,初始姿势和学习的姿势残差的组成表示如下:",
"(=r+α.Ar",
"(6)",
"t=t+a-△t",
"所产生的最终姿态(,t)用于计算损失,并且梯度可以在优化过程中反向传播到MLP参",
"数。在实践中,我们使用具有2个隐藏层的浅MLP,我们发现这足以用于对象重建",
"4"
] |
{
"arxiv_id": "2310.07449",
"language": "zh",
"page_idx": 3
}
|
||
2310.07449-zh-4
|
2310.07449-zh-4.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2024}}$
1.03
3.25
Table 1: Absolute pose accuracy evaluation on the DTU dataset. For all methods, the COLMAP pose is used as the initial pose. The upper section presents rotation errors in degrees, while the lower section displays translation errors in millimetres (mm)
<table>
<tbody>
<tr>
<th>Scan</th>
<th>24</th>
<th>37</th>
<th>40</th>
<th>55</th>
<th>63</th>
<th>65</th>
<th>69</th>
<th>83</th>
<th>3 9</th>
<th>105</th>
<th>106</th>
<th>110</th>
<th>114</th>
<th>118</th>
<th>122</th>
</tr>
<tr>
<td>COLMAP (Initial)</td>
<td>0.68</td>
<td>0.67</td>
<td>0.63</td>
<td>0.62</td>
<td>0.75</td>
<td>0.67</td>
<td>0.64</td>
<td>0.68</td>
<td>58 0.</td>
<td>0.66</td>
<td>0.62</td>
<td>0.69</td>
<td>0.66</td>
<td>0.64</td>
<td>0.63</td>
</tr>
<tr>
<td>BARF Lin et al. (2021) </td>
<td>0.67</td>
<td>0.73</td>
<td>0.67</td>
<td>0.79</td>
<td>0.67</td>
<td>0.83</td>
<td>0.47</td>
<td>0.59</td>
<td>59 0.</td>
<td>0.62</td>
<td>0.75</td>
<td>0.67</td>
<td>0.67</td>
<td>0.70</td>
<td>0.84</td>
</tr>
<tr>
<td>L2G Chen et al. (2023 1.1</td>
<td>0.67</td>
<td>0.65</td>
<td>0.69</td>
<td>32.04</td>
<td>0.80</td>
<td>0.68</td>
<td>0.49</td>
<td>0.66</td>
<td>56 0.</td>
<td>0.61</td>
<td>29.02</td>
<td>6.41</td>
<td>0.69</td>
<td>2.63</td>
<td>2.47</td>
</tr>
<tr>
<td>SPARF Truong et al. (2023)</td>
<td>0.40</td>
<td>0.62</td>
<td>0.43</td>
<td>0.40</td>
<td>0.72</td>
<td>0.39</td>
<td>0.30</td>
<td>0.31</td>
<td>31 0.</td>
<td>0.33</td>
<td>0.36</td>
<td>0.39</td>
<td>0.19</td>
<td>0.24</td>
<td>0.36</td>
</tr>
<tr>
<td>Ours</td>
<td>0.09</td>
<td>0.13</td>
<td>0.10</td>
<td>0.13</td>
<td>0.13</td>
<td>0.16</td>
<td>0.13</td>
<td>0.12</td>
<td>12 0.</td>
<td>0.12</td>
<td>0.12</td>
<td>0.16</td>
<td>0.15</td>
<td>0.11</td>
<td>0.13</td>
</tr>
<tr>
<td>COLMAP (Initial)</td>
<td>0.79</td>
<td>1.06</td>
<td>0.81</td>
<td>0.81</td>
<td>0.80</td>
<td>0.89</td>
<td>0.88</td>
<td>1.07</td>
<td>$j7$ 2.</td>
<td>1.07</td>
<td>1.05</td>
<td>1.22</td>
<td>1.03</td>
<td>0.95</td>
<td>1.02 </td>
</tr>
<tr>
<td>BARF Lin et al. (2021) </td>
<td>1.53</td>
<td>2.19</td>
<td>1.80</td>
<td>2.50</td>
<td>2.32</td>
<td>2.31</td>
<td>2.06</td>
<td>2.65</td>
<td>55 3.</td>
<td>2.27</td>
<td>2.29</td>
<td>2.59</td>
<td>3.29</td>
<td>3.15</td>
<td>3.13</td>
</tr>
<tr>
<td>$L2G$ Chen et al. (2023</td>
<td>1.50</td>
<td>1.90</td>
<td>1.90</td>
<td>115</td>
<td>2.07</td>
<td>2.45</td>
<td>1.89</td>
<td>2.77</td>
<td>777 5.</td>
<td>1.99</td>
<td>172</td>
<td>88.6</td>
<td>2.94</td>
<td>12.3</td>
<td>21.1</td>
</tr>
<tr>
<td>SPARF Truong et al. (2023)</td>
<td>3.66</td>
<td>4.76</td>
<td>3.89</td>
<td>2.22</td>
<td>5.68</td>
<td>2.57</td>
<td>2.32</td>
<td>2.96</td>
<td>96 4.</td>
<td>3.21</td>
<td>2.94</td>
<td>2.85</td>
<td>1.96</td>
<td>2.23</td>
<td>2.65</td>
</tr>
<tr>
<td>Ours</td>
<td>0.76</td>
<td>1. .11</td>
<td>0.77</td>
<td>0.80</td>
<td>0.79</td>
<td>0.81</td>
<td>0.84</td>
<td>1.08</td>
<td>$j8$ 2.</td>
<td>1.02</td>
<td>1.03</td>
<td>1.15</td>
<td>0.99</td>
<td>0.97</td>
<td>1.07</td>
</tr>
</tbody>
</table>
mean 0.655.290.390.14 $\begin{array}{c}{{2.50}}\\{{2.50}}\end{array}$ 28.91.02
Intuition on the PoRF. 我们的方法从坐标 MLP 中汲取灵感。类似于 NeRF$\overline{\mathrm{E}}$Mildenhall et al. (2020) ,其中点的位置和视图方向由 MLP 作为输人以学习其密度和颜色,我们的方法将相机的初始位置(平移)和视图方向(旋转)作为输人以学习相机的姿态残差。此外我们的方法将帧索引作为附加输入,用作时间坐标
MLP 参数在所有帧之间共享,这使我们的方法能够从整个序列中提取全局信息。包含帧索引允许我们的方法学习每个帧的本地信息。总体而言,全局和局部信息的利用使我们的方法能够有效地处理各种挑战并学习准确的相机姿势
我们方法中的参数共享比传统的姿态细化方法具有更好的鲁棒性。具体来说,以前的方法直接将梯度反向传播到每帧姿态参数,因此嘈杂的监督和不适当的学习率可能会使某些姿态参数陷入错误的局部极小值,从而导致优化发散。相反,我们的方法可以利用来自其他帧的信息来防止某些帧被困在错误的局部最小值中。在 Fig. 3 中进行了定量比较,其中 L2 (利用 PoRF)的性能明显优于 L1(不包括 PoRF)
Epipolar geometry loss. 为了改善监督,我们引人了利用特征对应关系的对极几何损失。对应关系可以是稀疏的或密集的,它们可以通过传统的手工描述符(如 SIFTELowe (2004) )或深度学习技术 (如 LoFTRESun et al.(2021))获得。作为默认选项,我们使用从 COLMAP 姿态估计结果导出的 SIFT 匹配,以避免引人额外的计算成本
在每个训练迭代中,我们随机采样$n$匹配的图像对,并计算对应关系的桑普森距离(Eqn.8 )。通过应用阈值$\delta$,我们可以过滤掉异常值并获得$m$内点对应关系。我们将每对的内点率表示为$p_i$ , 将每个内点匹配的 Sampson 误差表示为$e_k$ 。然后将建议的对极几何损失定义为:
$$\mathcal{L}_{EG}=\dfrac{1}{n}\sum_iw_i\left(\dfrac{1}{m}\sum_ke_k\right).$$
(7)
这里,$w_i=p_i^2$是减轻不良匹配对的影响的损失权重。计算两点之间的桑普森距离,表示为
$x$和$x^\prime$,其基本矩阵$F$从 (学习的)相机姿势和已知的内在函数中获得,表示为:
$$d_{\text{Sampson}}(x,x',F)=\frac{(x'^TFx)^2}{(Fx)_1^2+(Fx)_2^2+(F^Tx')_1^2+(F^Tx')_2^2}.$$
(8)
这里,下标 1 和 2 是指相应向量的第一和第二分量
Training objectives. 我们提出的联合优化方法中的总体损失函数结合了 Eqn.3 和 Eqn.7
,如下所示:
$$\mathcal{L}=\mathcal{L}_{NSR}+\beta\mathcal{L}_{EG},$$
(9)
其中$\beta$是控制损失权重的超参数。第一项$\mathcal{L}_NSR$表示与神经表面重建相关的损失,它将梯度反向传播到 PoRF 和渲染网络参数。第二项$\mathcal{L}_{EG}$表示与核极几何损耗相关的损耗,该损耗仅将梯度反向传播到 PoRF
5
0.69
|
[
[
0.1748046875,
0.034088134765625,
0.5087890625,
0.034088134765625,
0.5087890625,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.1748046875,
0.1142578125,
0.82421875,
0.1142578125,
0.82421875,
0.1275634765625,
0.1748046875,
0.1275634765625
],
[
0.1732177734375,
0.126953125,
0.488525390625,
0.1275634765625,
0.488525390625,
0.1427001953125,
0.1732177734375,
0.141357421875
],
[
0.491943359375,
0.1287841796875,
0.82421875,
0.1287841796875,
0.82421875,
0.143310546875,
0.491943359375,
0.143310546875
],
[
0.1732177734375,
0.141357421875,
0.74267578125,
0.1427001953125,
0.74267578125,
0.1572265625,
0.1732177734375,
0.1558837890625
],
[
0.6298828125,
0.1610107421875,
0.650390625,
0.1654052734375,
0.646484375,
0.177978515625,
0.6259765625,
0.173583984375
],
[
0.734375,
0.1622314453125,
0.7587890625,
0.1654052734375,
0.75634765625,
0.1767578125,
0.73193359375,
0.173583984375
],
[
0.346435546875,
0.1641845703125,
0.373291015625,
0.1641845703125,
0.373291015625,
0.175537109375,
0.346435546875,
0.175537109375
],
[
0.17724609375,
0.1641845703125,
0.2091064453125,
0.1641845703125,
0.2091064453125,
0.175537109375,
0.17724609375,
0.175537109375
],
[
0.386474609375,
0.1641845703125,
0.406982421875,
0.1641845703125,
0.406982421875,
0.1767578125,
0.386474609375,
0.1767578125
],
[
0.42236328125,
0.1641845703125,
0.441162109375,
0.1641845703125,
0.441162109375,
0.1767578125,
0.42236328125,
0.1767578125
],
[
0.459228515625,
0.1641845703125,
0.47802734375,
0.1641845703125,
0.47802734375,
0.1767578125,
0.459228515625,
0.1767578125
],
[
0.52783203125,
0.1641845703125,
0.54736328125,
0.1641845703125,
0.54736328125,
0.1767578125,
0.52783203125,
0.1767578125
],
[
0.56396484375,
0.1641845703125,
0.58251953125,
0.1641845703125,
0.58251953125,
0.1767578125,
0.56396484375,
0.1767578125
],
[
0.59619140625,
0.1641845703125,
0.615234375,
0.1641845703125,
0.615234375,
0.1767578125,
0.59619140625,
0.1767578125
],
[
0.6611328125,
0.1641845703125,
0.685546875,
0.1641845703125,
0.685546875,
0.175537109375,
0.6611328125,
0.175537109375
],
[
0.69775390625,
0.1641845703125,
0.72216796875,
0.1641845703125,
0.72216796875,
0.175537109375,
0.69775390625,
0.175537109375
],
[
0.76708984375,
0.1654052734375,
0.79345703125,
0.1654052734375,
0.79345703125,
0.1767578125,
0.76708984375,
0.1767578125
],
[
0.859375,
0.1654052734375,
0.900390625,
0.1673583984375,
0.900390625,
0.175537109375,
0.859375,
0.173583984375
],
[
0.80224609375,
0.1666259765625,
0.826171875,
0.1666259765625,
0.826171875,
0.1749267578125,
0.80224609375,
0.1749267578125
],
[
0.498291015625,
0.1654052734375,
0.51318359375,
0.1654052734375,
0.51318359375,
0.175537109375,
0.498291015625,
0.175537109375
],
[
0.83837890625,
0.1666259765625,
0.859375,
0.1666259765625,
0.859375,
0.1749267578125,
0.83837890625,
0.1749267578125
],
[
0.17724609375,
0.1787109375,
0.289306640625,
0.179931640625,
0.289306640625,
0.1912841796875,
0.17724609375,
0.1900634765625
],
[
0.34716796875,
0.179931640625,
0.37744140625,
0.179931640625,
0.37744140625,
0.1912841796875,
0.34716796875,
0.1912841796875
],
[
0.38232421875,
0.1787109375,
0.41015625,
0.18115234375,
0.408447265625,
0.1925048828125,
0.3798828125,
0.189453125
],
[
0.416748046875,
0.179931640625,
0.44677734375,
0.179931640625,
0.44677734375,
0.1925048828125,
0.416748046875,
0.1925048828125
],
[
0.455078125,
0.179931640625,
0.48193359375,
0.179931640625,
0.48193359375,
0.1925048828125,
0.455078125,
0.1925048828125
],
[
0.491943359375,
0.179931640625,
0.5185546875,
0.179931640625,
0.5185546875,
0.1925048828125,
0.491943359375,
0.1925048828125
],
[
0.52392578125,
0.179931640625,
0.55126953125,
0.179931640625,
0.55126953125,
0.1925048828125,
0.52392578125,
0.1925048828125
],
[
0.5595703125,
0.179931640625,
0.58642578125,
0.179931640625,
0.58642578125,
0.1925048828125,
0.5595703125,
0.1925048828125
],
[
0.59228515625,
0.179931640625,
0.62109375,
0.179931640625,
0.62109375,
0.1912841796875,
0.59228515625,
0.1912841796875
],
[
0.625,
0.179931640625,
0.654296875,
0.179931640625,
0.654296875,
0.1925048828125,
0.625,
0.1925048828125
],
[
0.65673828125,
0.179931640625,
0.68701171875,
0.179931640625,
0.68701171875,
0.1925048828125,
0.65673828125,
0.1925048828125
],
[
0.69677734375,
0.179931640625,
0.7236328125,
0.179931640625,
0.7236328125,
0.1925048828125,
0.69677734375,
0.1925048828125
],
[
0.73388671875,
0.179931640625,
0.765625,
0.179931640625,
0.765625,
0.1912841796875,
0.73388671875,
0.1912841796875
],
[
0.76318359375,
0.179931640625,
0.7958984375,
0.179931640625,
0.7958984375,
0.1912841796875,
0.76318359375,
0.1912841796875
],
[
0.79345703125,
0.179931640625,
0.82861328125,
0.179931640625,
0.82861328125,
0.1912841796875,
0.79345703125,
0.1912841796875
],
[
0.8349609375,
0.1817626953125,
0.861328125,
0.1817626953125,
0.861328125,
0.1900634765625,
0.8349609375,
0.1900634765625
],
[
0.869140625,
0.18115234375,
0.89794921875,
0.18115234375,
0.89794921875,
0.1925048828125,
0.869140625,
0.1925048828125
],
[
0.178955078125,
0.189453125,
0.316162109375,
0.189453125,
0.316162109375,
0.20263671875,
0.178955078125,
0.20263671875
],
[
0.348876953125,
0.1900634765625,
0.37744140625,
0.1900634765625,
0.37744140625,
0.2020263671875,
0.348876953125,
0.2020263671875
],
[
0.38232421875,
0.1900634765625,
0.410888671875,
0.1900634765625,
0.410888671875,
0.2020263671875,
0.38232421875,
0.2020263671875
],
[
0.416748046875,
0.1900634765625,
0.4453125,
0.1900634765625,
0.4453125,
0.2020263671875,
0.416748046875,
0.2020263671875
],
[
0.453369140625,
0.1900634765625,
0.483642578125,
0.1900634765625,
0.483642578125,
0.2020263671875,
0.453369140625,
0.2020263671875
],
[
0.491943359375,
0.1900634765625,
0.5185546875,
0.1900634765625,
0.5185546875,
0.2020263671875,
0.491943359375,
0.2020263671875
],
[
0.52392578125,
0.1900634765625,
0.55224609375,
0.1900634765625,
0.55224609375,
0.2020263671875,
0.52392578125,
0.2020263671875
],
[
0.55810546875,
0.1900634765625,
0.58642578125,
0.1900634765625,
0.58642578125,
0.20263671875,
0.55810546875,
0.20263671875
],
[
0.59228515625,
0.1900634765625,
0.62109375,
0.1900634765625,
0.62109375,
0.2020263671875,
0.59228515625,
0.2020263671875
],
[
0.62353515625,
0.1900634765625,
0.65283203125,
0.1900634765625,
0.65283203125,
0.2020263671875,
0.62353515625,
0.2020263671875
],
[
0.65673828125,
0.1900634765625,
0.68701171875,
0.1900634765625,
0.68701171875,
0.20263671875,
0.65673828125,
0.20263671875
],
[
0.6953125,
0.1900634765625,
0.7236328125,
0.1900634765625,
0.7236328125,
0.2020263671875,
0.6953125,
0.2020263671875
],
[
0.73388671875,
0.1900634765625,
0.76123046875,
0.1900634765625,
0.76123046875,
0.2020263671875,
0.73388671875,
0.2020263671875
],
[
0.7646484375,
0.1900634765625,
0.7939453125,
0.1900634765625,
0.7939453125,
0.2020263671875,
0.7646484375,
0.2020263671875
],
[
0.7939453125,
0.1900634765625,
0.82861328125,
0.1900634765625,
0.82861328125,
0.20263671875,
0.7939453125,
0.20263671875
],
[
0.83251953125,
0.1925048828125,
0.86279296875,
0.1925048828125,
0.86279296875,
0.2008056640625,
0.83251953125,
0.2008056640625
],
[
0.869140625,
0.1900634765625,
0.896484375,
0.1900634765625,
0.896484375,
0.2020263671875,
0.869140625,
0.2020263671875
],
[
0.418212890625,
0.1988525390625,
0.44677734375,
0.2008056640625,
0.443603515625,
0.212158203125,
0.416748046875,
0.208984375
],
[
0.59326171875,
0.1988525390625,
0.619140625,
0.1988525390625,
0.619140625,
0.2108154296875,
0.59326171875,
0.2108154296875
],
[
0.69384765625,
0.1976318359375,
0.7255859375,
0.199462890625,
0.7236328125,
0.2108154296875,
0.69287109375,
0.208984375
],
[
0.38232421875,
0.199462890625,
0.41015625,
0.199462890625,
0.41015625,
0.2108154296875,
0.38232421875,
0.2108154296875
],
[
0.348876953125,
0.199462890625,
0.37744140625,
0.199462890625,
0.37744140625,
0.2108154296875,
0.348876953125,
0.2108154296875
],
[
0.451904296875,
0.199462890625,
0.484375,
0.199462890625,
0.484375,
0.2108154296875,
0.451904296875,
0.2108154296875
],
[
0.491943359375,
0.199462890625,
0.51708984375,
0.199462890625,
0.51708984375,
0.212158203125,
0.491943359375,
0.212158203125
],
[
0.525390625,
0.199462890625,
0.55126953125,
0.199462890625,
0.55126953125,
0.212158203125,
0.525390625,
0.212158203125
],
[
0.5595703125,
0.199462890625,
0.5849609375,
0.199462890625,
0.5849609375,
0.2108154296875,
0.5595703125,
0.2108154296875
],
[
0.6259765625,
0.199462890625,
0.65283203125,
0.199462890625,
0.65283203125,
0.2108154296875,
0.6259765625,
0.2108154296875
],
[
0.66015625,
0.199462890625,
0.685546875,
0.199462890625,
0.685546875,
0.2108154296875,
0.66015625,
0.2108154296875
],
[
0.734375,
0.199462890625,
0.75732421875,
0.199462890625,
0.75732421875,
0.2108154296875,
0.734375,
0.2108154296875
],
[
0.76708984375,
0.199462890625,
0.79345703125,
0.199462890625,
0.79345703125,
0.2108154296875,
0.76708984375,
0.2108154296875
],
[
0.7998046875,
0.199462890625,
0.82666015625,
0.199462890625,
0.82666015625,
0.2108154296875,
0.7998046875,
0.2108154296875
],
[
0.87158203125,
0.199462890625,
0.89453125,
0.2020263671875,
0.8935546875,
0.2108154296875,
0.87109375,
0.208984375
],
[
0.83642578125,
0.2020263671875,
0.859375,
0.2020263671875,
0.859375,
0.210205078125,
0.83642578125,
0.210205078125
],
[
0.1805419921875,
0.2008056640625,
0.313720703125,
0.2008056640625,
0.313720703125,
0.2108154296875,
0.1805419921875,
0.2108154296875
],
[
0.178955078125,
0.208984375,
0.343017578125,
0.210205078125,
0.343017578125,
0.2215576171875,
0.178955078125,
0.2203369140625
],
[
0.343017578125,
0.210205078125,
0.378173828125,
0.210205078125,
0.378173828125,
0.2215576171875,
0.343017578125,
0.2215576171875
],
[
0.375732421875,
0.210205078125,
0.410888671875,
0.210205078125,
0.410888671875,
0.2215576171875,
0.375732421875,
0.2215576171875
],
[
0.416748046875,
0.210205078125,
0.44677734375,
0.210205078125,
0.44677734375,
0.2215576171875,
0.416748046875,
0.2215576171875
],
[
0.451904296875,
0.210205078125,
0.483642578125,
0.210205078125,
0.483642578125,
0.2215576171875,
0.451904296875,
0.2215576171875
],
[
0.491943359375,
0.210205078125,
0.5185546875,
0.210205078125,
0.5185546875,
0.2215576171875,
0.491943359375,
0.2215576171875
],
[
0.525390625,
0.210205078125,
0.55224609375,
0.210205078125,
0.55224609375,
0.2215576171875,
0.525390625,
0.2215576171875
],
[
0.55810546875,
0.210205078125,
0.58642578125,
0.210205078125,
0.58642578125,
0.2215576171875,
0.55810546875,
0.2215576171875
],
[
0.59228515625,
0.210205078125,
0.62109375,
0.210205078125,
0.62109375,
0.2215576171875,
0.59228515625,
0.2215576171875
],
[
0.6259765625,
0.210205078125,
0.65283203125,
0.210205078125,
0.65283203125,
0.2215576171875,
0.6259765625,
0.2215576171875
],
[
0.65869140625,
0.210205078125,
0.68701171875,
0.210205078125,
0.68701171875,
0.2215576171875,
0.65869140625,
0.2215576171875
],
[
0.6953125,
0.210205078125,
0.7255859375,
0.210205078125,
0.7255859375,
0.2215576171875,
0.6953125,
0.2215576171875
],
[
0.73388671875,
0.210205078125,
0.76318359375,
0.210205078125,
0.76318359375,
0.2215576171875,
0.73388671875,
0.2215576171875
],
[
0.765625,
0.210205078125,
0.79736328125,
0.210205078125,
0.79736328125,
0.2215576171875,
0.765625,
0.2215576171875
],
[
0.7939453125,
0.210205078125,
0.82861328125,
0.210205078125,
0.82861328125,
0.2215576171875,
0.7939453125,
0.2215576171875
],
[
0.833984375,
0.210205078125,
0.861328125,
0.210205078125,
0.861328125,
0.2215576171875,
0.833984375,
0.2215576171875
],
[
0.869140625,
0.210205078125,
0.89794921875,
0.210205078125,
0.89794921875,
0.2215576171875,
0.869140625,
0.2215576171875
],
[
0.455078125,
0.2183837890625,
0.483642578125,
0.2203369140625,
0.48193359375,
0.23291015625,
0.453369140625,
0.2310791015625
],
[
0.66015625,
0.2183837890625,
0.68701171875,
0.2203369140625,
0.685546875,
0.23291015625,
0.65673828125,
0.2298583984375
],
[
0.69677734375,
0.2183837890625,
0.7255859375,
0.2203369140625,
0.72216796875,
0.2342529296875,
0.6953125,
0.231689453125
],
[
0.869140625,
0.2183837890625,
0.89794921875,
0.2203369140625,
0.896484375,
0.23291015625,
0.86767578125,
0.2310791015625
],
[
0.3798828125,
0.2197265625,
0.41259765625,
0.2215576171875,
0.410888671875,
0.23291015625,
0.378173828125,
0.2310791015625
],
[
0.178955078125,
0.2203369140625,
0.2099609375,
0.2203369140625,
0.2099609375,
0.231689453125,
0.178955078125,
0.231689453125
],
[
0.348876953125,
0.2203369140625,
0.37744140625,
0.2203369140625,
0.37744140625,
0.231689453125,
0.348876953125,
0.231689453125
],
[
0.416748046875,
0.2203369140625,
0.44677734375,
0.2203369140625,
0.44677734375,
0.23291015625,
0.416748046875,
0.23291015625
],
[
0.491943359375,
0.2203369140625,
0.5185546875,
0.2203369140625,
0.5185546875,
0.23291015625,
0.491943359375,
0.23291015625
],
[
0.525390625,
0.2203369140625,
0.55224609375,
0.2203369140625,
0.55224609375,
0.23291015625,
0.525390625,
0.23291015625
],
[
0.55810546875,
0.2203369140625,
0.58642578125,
0.2203369140625,
0.58642578125,
0.23291015625,
0.55810546875,
0.23291015625
],
[
0.59228515625,
0.2203369140625,
0.62109375,
0.2203369140625,
0.62109375,
0.23291015625,
0.59228515625,
0.23291015625
],
[
0.625,
0.2203369140625,
0.65283203125,
0.2203369140625,
0.65283203125,
0.23291015625,
0.625,
0.23291015625
],
[
0.73388671875,
0.2203369140625,
0.76123046875,
0.2203369140625,
0.76123046875,
0.23291015625,
0.73388671875,
0.23291015625
],
[
0.7646484375,
0.2203369140625,
0.7958984375,
0.2203369140625,
0.7958984375,
0.23291015625,
0.7646484375,
0.23291015625
],
[
0.7939453125,
0.2203369140625,
0.82666015625,
0.2203369140625,
0.82666015625,
0.23291015625,
0.7939453125,
0.23291015625
],
[
0.8349609375,
0.2203369140625,
0.861328125,
0.2203369140625,
0.861328125,
0.231689453125,
0.8349609375,
0.231689453125
],
[
0.525390625,
0.2342529296875,
0.55224609375,
0.236083984375,
0.55126953125,
0.248779296875,
0.52294921875,
0.24560546875
],
[
0.6259765625,
0.2342529296875,
0.654296875,
0.236083984375,
0.65185546875,
0.25,
0.625,
0.2474365234375
],
[
0.491943359375,
0.23486328125,
0.5185546875,
0.23486328125,
0.5185546875,
0.2474365234375,
0.491943359375,
0.2474365234375
],
[
0.17724609375,
0.23486328125,
0.289306640625,
0.236083984375,
0.289306640625,
0.2474365234375,
0.17724609375,
0.246826171875
],
[
0.348876953125,
0.236083984375,
0.378173828125,
0.236083984375,
0.378173828125,
0.2474365234375,
0.348876953125,
0.2474365234375
],
[
0.3798828125,
0.236083984375,
0.41259765625,
0.236083984375,
0.41259765625,
0.2474365234375,
0.3798828125,
0.2474365234375
],
[
0.4150390625,
0.236083984375,
0.4453125,
0.236083984375,
0.4453125,
0.2474365234375,
0.4150390625,
0.2474365234375
],
[
0.453369140625,
0.236083984375,
0.483642578125,
0.236083984375,
0.483642578125,
0.2474365234375,
0.453369140625,
0.2474365234375
],
[
0.5595703125,
0.23486328125,
0.58642578125,
0.23486328125,
0.58642578125,
0.2474365234375,
0.5595703125,
0.2474365234375
],
[
0.59326171875,
0.236083984375,
0.619140625,
0.236083984375,
0.619140625,
0.2474365234375,
0.59326171875,
0.2474365234375
],
[
0.6611328125,
0.236083984375,
0.685546875,
0.236083984375,
0.685546875,
0.248779296875,
0.6611328125,
0.248779296875
],
[
0.69775390625,
0.236083984375,
0.7236328125,
0.236083984375,
0.7236328125,
0.2474365234375,
0.69775390625,
0.2474365234375
],
[
0.734375,
0.236083984375,
0.76123046875,
0.236083984375,
0.76123046875,
0.2474365234375,
0.734375,
0.2474365234375
],
[
0.76708984375,
0.236083984375,
0.79736328125,
0.236083984375,
0.79736328125,
0.2474365234375,
0.76708984375,
0.2474365234375
],
[
0.79833984375,
0.236083984375,
0.82666015625,
0.236083984375,
0.82666015625,
0.2474365234375,
0.79833984375,
0.2474365234375
],
[
0.8349609375,
0.236083984375,
0.861328125,
0.236083984375,
0.861328125,
0.2474365234375,
0.8349609375,
0.2474365234375
],
[
0.87109375,
0.236083984375,
0.89794921875,
0.236083984375,
0.89794921875,
0.2474365234375,
0.87109375,
0.2474365234375
],
[
0.178955078125,
0.24560546875,
0.31787109375,
0.24560546875,
0.31787109375,
0.2587890625,
0.178955078125,
0.2587890625
],
[
0.375732421875,
0.2442626953125,
0.410888671875,
0.246826171875,
0.41015625,
0.2587890625,
0.374267578125,
0.2568359375
],
[
0.52294921875,
0.24560546875,
0.5537109375,
0.24560546875,
0.5537109375,
0.261474609375,
0.52294921875,
0.261474609375
],
[
0.55615234375,
0.24560546875,
0.58837890625,
0.24560546875,
0.58837890625,
0.261474609375,
0.55615234375,
0.261474609375
],
[
0.5908203125,
0.24560546875,
0.62158203125,
0.24560546875,
0.62158203125,
0.261474609375,
0.5908203125,
0.261474609375
],
[
0.73193359375,
0.24560546875,
0.7958984375,
0.24560546875,
0.7958984375,
0.260009765625,
0.73193359375,
0.260009765625
],
[
0.833984375,
0.24560546875,
0.86376953125,
0.2474365234375,
0.86279296875,
0.2587890625,
0.83251953125,
0.2568359375
],
[
0.869140625,
0.24560546875,
0.89794921875,
0.2474365234375,
0.896484375,
0.2587890625,
0.86767578125,
0.2568359375
],
[
0.4150390625,
0.246826171875,
0.44677734375,
0.246826171875,
0.44677734375,
0.2587890625,
0.4150390625,
0.2587890625
],
[
0.3505859375,
0.246826171875,
0.3798828125,
0.246826171875,
0.3798828125,
0.25830078125,
0.3505859375,
0.25830078125
],
[
0.453369140625,
0.246826171875,
0.483642578125,
0.246826171875,
0.483642578125,
0.2587890625,
0.453369140625,
0.2587890625
],
[
0.491943359375,
0.246826171875,
0.51953125,
0.246826171875,
0.51953125,
0.261474609375,
0.491943359375,
0.261474609375
],
[
0.6259765625,
0.246826171875,
0.654296875,
0.246826171875,
0.654296875,
0.261474609375,
0.6259765625,
0.261474609375
],
[
0.66015625,
0.246826171875,
0.68896484375,
0.246826171875,
0.68896484375,
0.261474609375,
0.66015625,
0.261474609375
],
[
0.69677734375,
0.246826171875,
0.72216796875,
0.246826171875,
0.72216796875,
0.260009765625,
0.69677734375,
0.260009765625
],
[
0.79833984375,
0.246826171875,
0.82861328125,
0.246826171875,
0.82861328125,
0.2587890625,
0.79833984375,
0.2587890625
],
[
0.348876953125,
0.255126953125,
0.3798828125,
0.2568359375,
0.378173828125,
0.268310546875,
0.34716796875,
0.266357421875
],
[
0.491943359375,
0.255126953125,
0.5185546875,
0.25830078125,
0.51708984375,
0.26953125,
0.488525390625,
0.266357421875
],
[
0.6259765625,
0.255615234375,
0.65283203125,
0.255615234375,
0.65283203125,
0.268310546875,
0.6259765625,
0.268310546875
],
[
0.65869140625,
0.255126953125,
0.68701171875,
0.2568359375,
0.685546875,
0.26953125,
0.65673828125,
0.267578125
],
[
0.69775390625,
0.255615234375,
0.72216796875,
0.255615234375,
0.72216796875,
0.268310546875,
0.69775390625,
0.268310546875
],
[
0.73388671875,
0.255615234375,
0.765625,
0.255615234375,
0.765625,
0.268310546875,
0.73388671875,
0.268310546875
],
[
0.375732421875,
0.2568359375,
0.410888671875,
0.2568359375,
0.410888671875,
0.268310546875,
0.375732421875,
0.268310546875
],
[
0.1805419921875,
0.2568359375,
0.314453125,
0.2568359375,
0.314453125,
0.267578125,
0.1805419921875,
0.267578125
],
[
0.4150390625,
0.2568359375,
0.4453125,
0.2568359375,
0.4453125,
0.268310546875,
0.4150390625,
0.268310546875
],
[
0.455810546875,
0.2568359375,
0.48193359375,
0.2568359375,
0.48193359375,
0.268310546875,
0.455810546875,
0.268310546875
],
[
0.52392578125,
0.2568359375,
0.55224609375,
0.2568359375,
0.55224609375,
0.26953125,
0.52392578125,
0.26953125
],
[
0.5595703125,
0.2568359375,
0.58642578125,
0.2568359375,
0.58642578125,
0.268310546875,
0.5595703125,
0.268310546875
],
[
0.59228515625,
0.2568359375,
0.62109375,
0.2568359375,
0.62109375,
0.268310546875,
0.59228515625,
0.268310546875
],
[
0.7607421875,
0.2568359375,
0.7939453125,
0.2568359375,
0.7939453125,
0.268310546875,
0.7607421875,
0.268310546875
],
[
0.79833984375,
0.2568359375,
0.82861328125,
0.2568359375,
0.82861328125,
0.268310546875,
0.79833984375,
0.268310546875
],
[
0.833984375,
0.2568359375,
0.861328125,
0.2568359375,
0.861328125,
0.268310546875,
0.833984375,
0.268310546875
],
[
0.87109375,
0.2568359375,
0.896484375,
0.2568359375,
0.896484375,
0.268310546875,
0.87109375,
0.268310546875
],
[
0.69677734375,
0.264404296875,
0.7236328125,
0.267578125,
0.72119140625,
0.279052734375,
0.69384765625,
0.27587890625
],
[
0.79736328125,
0.264404296875,
0.82666015625,
0.266357421875,
0.826171875,
0.27783203125,
0.7958984375,
0.27587890625
],
[
0.52392578125,
0.26513671875,
0.55126953125,
0.267578125,
0.5498046875,
0.279052734375,
0.521484375,
0.27587890625
],
[
0.491943359375,
0.26513671875,
0.5185546875,
0.268310546875,
0.515625,
0.279052734375,
0.488525390625,
0.27587890625
],
[
0.59228515625,
0.26513671875,
0.619140625,
0.26513671875,
0.619140625,
0.27783203125,
0.59228515625,
0.27783203125
],
[
0.5595703125,
0.266357421875,
0.5849609375,
0.266357421875,
0.5849609375,
0.27783203125,
0.5595703125,
0.27783203125
],
[
0.455078125,
0.266357421875,
0.48193359375,
0.266357421875,
0.48193359375,
0.27783203125,
0.455078125,
0.27783203125
],
[
0.6259765625,
0.266357421875,
0.65283203125,
0.266357421875,
0.65283203125,
0.279052734375,
0.6259765625,
0.279052734375
],
[
0.66015625,
0.266357421875,
0.685546875,
0.266357421875,
0.685546875,
0.279052734375,
0.66015625,
0.279052734375
],
[
0.73388671875,
0.266357421875,
0.7607421875,
0.266357421875,
0.7607421875,
0.27783203125,
0.73388671875,
0.27783203125
],
[
0.76708984375,
0.266357421875,
0.7939453125,
0.266357421875,
0.7939453125,
0.27783203125,
0.76708984375,
0.27783203125
],
[
0.833984375,
0.266357421875,
0.86279296875,
0.266357421875,
0.86279296875,
0.27783203125,
0.833984375,
0.27783203125
],
[
0.87109375,
0.266357421875,
0.896484375,
0.266357421875,
0.896484375,
0.27783203125,
0.87109375,
0.27783203125
],
[
0.351318359375,
0.268310546875,
0.375732421875,
0.268310546875,
0.375732421875,
0.276611328125,
0.351318359375,
0.276611328125
],
[
0.1805419921875,
0.267578125,
0.343017578125,
0.267578125,
0.343017578125,
0.27783203125,
0.1805419921875,
0.27783203125
],
[
0.384033203125,
0.268310546875,
0.408447265625,
0.268310546875,
0.408447265625,
0.276611328125,
0.384033203125,
0.276611328125
],
[
0.418212890625,
0.268310546875,
0.443603515625,
0.268310546875,
0.443603515625,
0.276611328125,
0.418212890625,
0.276611328125
],
[
0.178955078125,
0.27587890625,
0.2099609375,
0.27783203125,
0.2091064453125,
0.2890625,
0.17724609375,
0.287353515625
],
[
0.346435546875,
0.270751953125,
0.35302734375,
0.270751953125,
0.35302734375,
0.274658203125,
0.346435546875,
0.274658203125
],
[
0.348876953125,
0.27587890625,
0.378173828125,
0.27783203125,
0.37744140625,
0.28857421875,
0.34716796875,
0.285888671875
],
[
0.491943359375,
0.276611328125,
0.5185546875,
0.276611328125,
0.5185546875,
0.28857421875,
0.491943359375,
0.28857421875
],
[
0.52392578125,
0.276611328125,
0.55126953125,
0.276611328125,
0.55126953125,
0.28857421875,
0.52392578125,
0.28857421875
],
[
0.625,
0.276611328125,
0.65283203125,
0.276611328125,
0.65283203125,
0.28857421875,
0.625,
0.28857421875
],
[
0.66015625,
0.276611328125,
0.68701171875,
0.276611328125,
0.68701171875,
0.28857421875,
0.66015625,
0.28857421875
],
[
0.75634765625,
0.276611328125,
0.7939453125,
0.276611328125,
0.7939453125,
0.287353515625,
0.75634765625,
0.287353515625
],
[
0.7890625,
0.276611328125,
0.82666015625,
0.276611328125,
0.82666015625,
0.287353515625,
0.7890625,
0.287353515625
],
[
0.833984375,
0.276611328125,
0.861328125,
0.276611328125,
0.861328125,
0.28857421875,
0.833984375,
0.28857421875
],
[
0.87109375,
0.27587890625,
0.89794921875,
0.279052734375,
0.89453125,
0.28857421875,
0.86767578125,
0.285400390625
],
[
0.416748046875,
0.27783203125,
0.443603515625,
0.27783203125,
0.443603515625,
0.285888671875,
0.416748046875,
0.285888671875
],
[
0.38232421875,
0.27783203125,
0.41015625,
0.27783203125,
0.41015625,
0.285888671875,
0.38232421875,
0.285888671875
],
[
0.455810546875,
0.27783203125,
0.48046875,
0.27783203125,
0.48046875,
0.285888671875,
0.455810546875,
0.285888671875
],
[
0.5595703125,
0.27783203125,
0.5849609375,
0.27783203125,
0.5849609375,
0.285888671875,
0.5595703125,
0.285888671875
],
[
0.5947265625,
0.27783203125,
0.619140625,
0.27783203125,
0.619140625,
0.285888671875,
0.5947265625,
0.285888671875
],
[
0.69775390625,
0.27783203125,
0.72216796875,
0.27783203125,
0.72216796875,
0.285888671875,
0.69775390625,
0.285888671875
],
[
0.734375,
0.27783203125,
0.7607421875,
0.27783203125,
0.7607421875,
0.285888671875,
0.734375,
0.285888671875
],
[
0.178955078125,
0.306884765625,
0.34716796875,
0.306884765625,
0.34716796875,
0.32080078125,
0.178955078125,
0.32080078125
],
[
0.361083984375,
0.306884765625,
0.82421875,
0.306884765625,
0.82421875,
0.32080078125,
0.361083984375,
0.32080078125
],
[
0.1732177734375,
0.32080078125,
0.82177734375,
0.3193359375,
0.82177734375,
0.333984375,
0.1732177734375,
0.335205078125
],
[
0.1748046875,
0.333984375,
0.82275390625,
0.333984375,
0.82275390625,
0.347900390625,
0.1748046875,
0.347900390625
],
[
0.1748046875,
0.348388671875,
0.53515625,
0.348388671875,
0.53515625,
0.3623046875,
0.1748046875,
0.3623046875
],
[
0.1748046875,
0.369384765625,
0.82275390625,
0.369384765625,
0.82275390625,
0.38330078125,
0.1748046875,
0.38330078125
],
[
0.1748046875,
0.38330078125,
0.82177734375,
0.3818359375,
0.82177734375,
0.396484375,
0.1748046875,
0.397705078125
],
[
0.17724609375,
0.3984375,
0.53369140625,
0.3984375,
0.53369140625,
0.4091796875,
0.17724609375,
0.4091796875
],
[
0.176513671875,
0.419189453125,
0.82275390625,
0.419189453125,
0.82275390625,
0.43310546875,
0.176513671875,
0.43310546875
],
[
0.176513671875,
0.431884765625,
0.82275390625,
0.43115234375,
0.82275390625,
0.44580078125,
0.176513671875,
0.4462890625
],
[
0.176513671875,
0.4462890625,
0.82275390625,
0.4462890625,
0.82275390625,
0.460205078125,
0.176513671875,
0.460205078125
],
[
0.1748046875,
0.460205078125,
0.82421875,
0.458984375,
0.82421875,
0.473388671875,
0.1748046875,
0.474853515625
],
[
0.1748046875,
0.474853515625,
0.5361328125,
0.474853515625,
0.5361328125,
0.488037109375,
0.1748046875,
0.488037109375
],
[
0.181396484375,
0.505859375,
0.366943359375,
0.505859375,
0.366943359375,
0.51953125,
0.181396484375,
0.51953125
],
[
0.363525390625,
0.505859375,
0.82275390625,
0.505859375,
0.82275390625,
0.51953125,
0.363525390625,
0.51953125
],
[
0.1748046875,
0.51806640625,
0.82421875,
0.51953125,
0.82421875,
0.5341796875,
0.1748046875,
0.53271484375
],
[
0.176513671875,
0.5341796875,
0.82421875,
0.5341796875,
0.82421875,
0.54736328125,
0.176513671875,
0.54736328125
],
[
0.176513671875,
0.54736328125,
0.73193359375,
0.54736328125,
0.73193359375,
0.56103515625,
0.176513671875,
0.56103515625
],
[
0.1748046875,
0.5673828125,
0.82421875,
0.568359375,
0.82421875,
0.58349609375,
0.1748046875,
0.58203125
],
[
0.17724609375,
0.58349609375,
0.82275390625,
0.58349609375,
0.82275390625,
0.5966796875,
0.17724609375,
0.5966796875
],
[
0.1748046875,
0.5966796875,
0.82275390625,
0.5966796875,
0.82275390625,
0.611328125,
0.1748046875,
0.611328125
],
[
0.17724609375,
0.609375,
0.214111328125,
0.611328125,
0.2132568359375,
0.62353515625,
0.176513671875,
0.6220703125
],
[
0.396240234375,
0.65771484375,
0.455078125,
0.65771484375,
0.455078125,
0.67236328125,
0.396240234375,
0.67236328125
],
[
0.453369140625,
0.6572265625,
0.46728515625,
0.6572265625,
0.46728515625,
0.66015625,
0.453369140625,
0.66015625
],
[
0.5556640625,
0.65771484375,
0.5888671875,
0.66357421875,
0.5849609375,
0.6748046875,
0.55224609375,
0.66943359375
],
[
0.80224609375,
0.65771484375,
0.82421875,
0.65771484375,
0.82421875,
0.67236328125,
0.80224609375,
0.67236328125
],
[
0.51953125,
0.66552734375,
0.5537109375,
0.67236328125,
0.5498046875,
0.6845703125,
0.515625,
0.6767578125
],
[
0.471435546875,
0.6591796875,
0.5087890625,
0.6572265625,
0.5107421875,
0.66943359375,
0.47216796875,
0.671875
],
[
0.449462890625,
0.66845703125,
0.4697265625,
0.66845703125,
0.4697265625,
0.6787109375,
0.449462890625,
0.6787109375
],
[
0.468017578125,
0.66943359375,
0.48193359375,
0.66943359375,
0.48193359375,
0.67236328125,
0.468017578125,
0.67236328125
],
[
0.54736328125,
0.66943359375,
0.5703125,
0.66943359375,
0.5703125,
0.673828125,
0.54736328125,
0.673828125
],
[
0.47216796875,
0.67822265625,
0.48046875,
0.67822265625,
0.48046875,
0.681640625,
0.47216796875,
0.681640625
],
[
0.54736328125,
0.6767578125,
0.56640625,
0.6767578125,
0.56640625,
0.68505859375,
0.54736328125,
0.68505859375
],
[
0.17236328125,
0.69970703125,
0.82421875,
0.69873046875,
0.82421875,
0.71630859375,
0.17236328125,
0.71728515625
],
[
0.1748046875,
0.71533203125,
0.76708984375,
0.71533203125,
0.76708984375,
0.72900390625,
0.1748046875,
0.72900390625
],
[
0.289306640625,
0.75244140625,
0.705078125,
0.7646484375,
0.70361328125,
0.79248046875,
0.28759765625,
0.78076171875
],
[
0.5361328125,
0.75048828125,
0.60302734375,
0.75048828125,
0.60302734375,
0.76513671875,
0.5361328125,
0.76513671875
],
[
0.80224609375,
0.76025390625,
0.82421875,
0.76025390625,
0.82421875,
0.7744140625,
0.80224609375,
0.7744140625
],
[
0.176513671875,
0.80029296875,
0.5390625,
0.80029296875,
0.5390625,
0.81103515625,
0.176513671875,
0.81103515625
],
[
0.17724609375,
0.8291015625,
0.340576171875,
0.83056640625,
0.340576171875,
0.84521484375,
0.17724609375,
0.84326171875
],
[
0.339111328125,
0.83203125,
0.82275390625,
0.83203125,
0.82275390625,
0.84228515625,
0.339111328125,
0.84228515625
],
[
0.1748046875,
0.84228515625,
0.265625,
0.8447265625,
0.265625,
0.859375,
0.1748046875,
0.85693359375
],
[
0.426513671875,
0.85986328125,
0.5703125,
0.8623046875,
0.5703125,
0.876953125,
0.426513671875,
0.875
],
[
0.80224609375,
0.8623046875,
0.82421875,
0.8623046875,
0.82421875,
0.87548828125,
0.80224609375,
0.87548828125
],
[
0.1732177734375,
0.880859375,
0.826171875,
0.8818359375,
0.826171875,
0.8994140625,
0.1732177734375,
0.8984375
],
[
0.176513671875,
0.89794921875,
0.82275390625,
0.89794921875,
0.82275390625,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.1748046875,
0.9111328125,
0.3857421875,
0.91015625,
0.3857421875,
0.923828125,
0.1748046875,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"Published as a conference paper at ICLR 2024",
"Table l:Absolute pose accuracy evaluation on the DTU dataset. For all methods, the",
"COLMAP pose is used as the initial pose.",
"The upper section presents rotation errors in",
"degrees, while the lower section displays translation errors in millimetres (mm).",
"97",
"110",
"1.24",
"Scan",
"37",
"40",
"55",
"65",
"69",
"83",
"105",
"106",
"114",
"mean",
"118",
"63",
"122",
"COLMAP (Initial)",
"0.68",
"0.67",
"0.63",
"0.62",
"0.75",
"0.67",
"0.64",
"0.68",
"0.56",
"0.66",
"0.62",
"0.69",
"0.66",
"0.64",
"0.63",
"0.65",
"BARF Lin et al. (2021)",
"0.67",
"0.73",
"0.67",
"0.79",
"0.67",
"0.83",
"0.47",
"0.59",
"0.55",
"0.62",
"0.75",
"0.67",
"0.67",
"0.70",
"0.84",
"0.69",
"0.69",
"0.66",
"29.02",
"0.65",
"0.67",
"32.04",
"0.80",
"0.68",
"0.49",
"0.76",
"0.61",
"6.41",
"0.69",
"2.63",
"5.29",
"2.47",
"L2G Chen etal. (2023)",
"SPARF Truong et al. (2023)",
"0.40",
"0.62",
"0.43",
"0.40",
"0.72",
"0.39",
"0.30",
"0.31",
"0.48",
"0.33",
"0.36",
"0.39",
"0.19",
"0.24",
"0.36",
"0.39",
"0.13",
"0.12",
"0.12",
"0.14",
"0.13",
"Ours",
"0.09",
"0.10",
"0.13",
"0.16",
"0.13",
"0.12",
"0.26",
"0.16",
"0.15",
"0.11",
"0.13",
"0.89",
"2.07",
"0.80",
"COLMAP (Initial)",
"0.79",
"1.06",
"0.81",
"0.81",
"0.88",
"1.07",
"1.07",
"1.05",
"1.22",
"1.03",
"0.95",
"1.02",
"1.03",
"BARF Lin et al. (2021)",
"2.19",
"2.31",
"2.06",
"2.65",
"2.593.29",
"3.13",
"2.50",
"1.80",
"1.53",
"2.50",
"2.32",
"3.45",
"2.27",
"2.29",
"3.15",
"1.50",
"2.07",
"5.04",
"1.99",
"172",
"88.6",
"1.90",
"L2G Chen et al. (2023)",
"1.90",
"115",
"2.45",
"1.89",
"2.77",
"2.94",
"12.3",
"21.1",
"28.9",
"2.94",
"2.23",
"2.57",
"5.68",
"2.96",
"2.32",
"2.22",
"4.88",
"3.21",
"2.85",
"1.96",
"2.65",
"3.25",
"3.66",
"SPARF Truong et al. (2023)",
"4.76",
"3.89",
"Ours",
"",
"0.76",
"0.79",
"0.81",
"2.05",
"1.02",
"0.99",
"90.97",
"1.07",
"1.02",
"0.77",
"1.11",
"0.80",
"0.84",
"1.08",
"1.03",
"1.15",
"Intuition on the PoRF.",
"我们的方法从坐标MLP中汲取灵感。类似于NeRFEMildenhall",
"etal.(2020),其中点的位置和视图方向由MLP作为输人以学习其密度和颜色,我们的方",
"法将相机的初始位置(平移)和视图方向(旋转)作为输人以学习相机的姿态残差。此外",
"我们的方法将顿索引作为附加输人,用作时间坐标",
"MLP参数在所有顿之间共享,这使我们的方法能够从整个序列中提取全局信息。包含顿索",
"引允许我们的方法学习每个顿的本地信息。总体而言,全局和局部信息的利用使我们的方",
"法能够有效地处理各种挑战并学习准确的相机姿势",
"我们方法中的参数共享比传统的姿态细化方法具有更好的鲁棒性。具体来说,以前的方法",
"直接将梯度反向传播到每顿姿态参数,因此噜杂的监督和不适当的学习率可能会使某些姿",
"态参数陷人错误的局部极小值,从而导致优化发散。相反,我们的方法可以利用来自其他",
"顿的信息来防止某些顿被困在错误的局部最小值中。在Fig.3中进行了定量比较,其中L2",
"(利用PoRF)的性能明显优于L1(不包括PoRF)",
"Epipolar geometry loss.",
"为了改善监督,我们引入了利用特征对应关系的对极几何损",
"失。对应关系可以是稀疏的或密集的,它们可以通过传统的手工描述符(如SIFTELowe",
"(2004))或深度学习技术(如LoFTRESunetal.(2021))获得。作为默认选项,我们使",
"用从COLMAP姿态估计结果导出的SIFT匹配,以避免引人额外的计算成本",
"在每个训练迭代中,我们随机采样n匹配的图像对,并计算对应关系的桑普森距离(Eqn.8",
")。通过应用阈值。,我们可以过滤掉异常值并获得㎡内点对应关系。我们将每对的内点",
"率表示为pi,将每个内点匹配的Sampson误差表示为ek。然后将建议的对极几何损失定",
"义为",
"CEG=",
"1",
"ek",
"(7)",
"mz",
"wi",
"n4",
"",
"",
"9",
"k",
"这里,wi二p²是减轻不良匹配对的影响的损失权重。计算两点之间的桑普森距离,表示为",
"和,其基本矩阵F从(学习的)相机姿势和已知的内在函数中获得,表示为:",
"dsampon(,\",F) =(Fa) +(Fa) +(FT) +(FT)2",
"(r/TFr)?",
"(8)",
"这里,下标1和2是指相应向量的第一和第二分量",
"Training objectives.",
"我们提出的联合优化方法中的总体损失函数结合了Eqn.3和Eqn.7",
",如下所示:",
"C=CNSR+BCEG,",
"(9)",
"其中β是控制损失权重的超参数。第一项CNSR表示与神经表面重建相关的损失,它将梯",
"度反向传播到PoRF和染网络参数。第二项CEG表示与核极几何损耗相关的损耗,该损",
"耗仅将梯度反向传播到PoRF",
"5"
] |
{
"arxiv_id": "2310.07449",
"language": "zh",
"page_idx": 4
}
|
||
1904.01784-zh-0
|
1904.01784-zh-0.jpg
|
Patchwork: A Patch-wise Attention Network for
Efficient Object Detection and Segmentation in Video Streams
Yuning Chai$^*$ Google Inc. chaiy@google.com
$\operatorname{Abstract}$
Recent advances in single-frame object detection and segmentation techniques have motivated a wide range of works to extend these methods to process video streams. In this paper, we explore the idea of hard attention aimed for latency-sensitive applications. Instead of reasoning about every frame separately, our method selects and only processes a small sub-window of the frame. Our technique then makes predictions for the full frame based on the sub-windows from previous frames and the update from the current sub-window. The latency reduction by this hard attention mechanism comes at the cost of degraded accuracy. We made two contributions to address this. First, we propose a specialized memory cell that recovers lost context when processing sub-windows. Secondly, we adopt a Q-learning-based policy training strategy that enables our approach to intelligently select the sub-windows such that the staleness in the memory hurts the performance the least. Our experiments suggest that our approach reduces the latency by approximately four times without significantly sacrificing the accuracy on the ImageNet VID video object detection dataset and the DAVIS video object segmentation dataset. We further demonstrate that we can reinvest the saved computation into other parts of the network, and thus resulting in an accuracy increase at a comparable computational cost as the original system and beating other recently proposed state-of-the-art methods in the low latency range.
知。正如[4,26]所指出的那样,我们不会一次感知到我们的整个环境,而我们成功的“秘诀”在于我们记住大局的能力与将注意力集中在感兴趣的对象之间的巧妙相互作用
近年来,由于深度卷积网络[15,21,35,38]的出现对象检测[9,11,25,31]和分割[5,6,14]技术取得了巨大进展。将这些强大的方法扩展到需要连续流处理的应用程序是很自然的。然而,我们自己的人类视觉感知经验表明,在没有任何时间背景的情况下,以固定的时间间隔将单帧检测器天真地应用于视频的每一帧是低效的
受人类视觉注意系统 [26] 的启发,我们引人了Patchwork, 该模型探索了记忆和注意力之间的微妙相互作用,以实现高效的视频流处理。Fig. 1a 说明了Patchwork 的概述。在每个时间步,Patchwork 从输入帧中裁剪一个小窗口,并将其馈送到特征提取器网络中,该网络已被修改为包含一组分散在网络主体中的专用存储单元。网络最终预测特定于任务的输出:用于对象检测的一组框或用于分割的掩码。此外,网络预测下一帧的注意力窗口,该窗口最有可能包含任务的有用信息
Patchwork 的主要动机是高效的流处理。换句话说, 我们的目标是实现尽可能高的检测或分割质量,同时减少延迟和计算成本。对于不需要减少延迟的应用程序,我们可以重新投资节省的资源并提高质量。我们在两个基准数据集上演示了这种延迟减少和质量改进: 用于视频对象检测的 ImageNetVID [32] 和用于视频对象分割的 DAVIS [29] 。这种延迟的减少是由一对超参数先验控制的。我们在实验部分解释了一些超参数选择。有些选择可以显着减少延迟,但质量会受到影响, 而另一些则可以节省资源,但可以达到类似的质量。还有一些配置可以在相当的计算量下观察到质量增益
本文的贡献有三个方面:1)我们提出了 Patchwork, 这是一种受人类视觉感知系统启发的递归体系结构, 用于执行高效的视频流处理。我们的方法利用了 2) PatchworkCell 作为存储单元,可以跨时间传递环境信息,以及 3) 注意力模型,可以预测下一帧要注意的最佳位置。我们的方法是通过 Q 学习训练的,具有新颖的对象检测和分割奖励功能
## 1. Introduction
人类视觉系统在恒定的视觉流中面临着大量的信息。幸运的是,我们的大脑有足够的能力从以前的经历中记住我们的环境,并且可以立即找到最佳的视觉注意力决定序列,以实现对我们视觉环境的看似轻松的感
$^{*}$Now at Waymo LLC.
1
|
[
[
0.2442626953125,
0.1351318359375,
0.72802734375,
0.1351318359375,
0.72802734375,
0.1483154296875,
0.2442626953125,
0.1483154296875
],
[
0.17236328125,
0.1578369140625,
0.80126953125,
0.1578369140625,
0.80126953125,
0.17236328125,
0.17236328125,
0.17236328125
],
[
0.431396484375,
0.203857421875,
0.5458984375,
0.203857421875,
0.5458984375,
0.2215576171875,
0.431396484375,
0.2215576171875
],
[
0.43701171875,
0.2235107421875,
0.53515625,
0.2235107421875,
0.53515625,
0.238037109375,
0.43701171875,
0.238037109375
],
[
0.4248046875,
0.242431640625,
0.5439453125,
0.242431640625,
0.5439453125,
0.2568359375,
0.4248046875,
0.2568359375
],
[
0.236083984375,
0.291748046875,
0.31201171875,
0.29345703125,
0.31201171875,
0.309326171875,
0.236083984375,
0.306884765625
],
[
0.5048828125,
0.294189453125,
0.8896484375,
0.294189453125,
0.8896484375,
0.30810546875,
0.5048828125,
0.30810546875
],
[
0.5048828125,
0.311279296875,
0.8896484375,
0.311279296875,
0.8896484375,
0.3212890625,
0.5048828125,
0.3212890625
],
[
0.098876953125,
0.324462890625,
0.468017578125,
0.323974609375,
0.468017578125,
0.33837890625,
0.098876953125,
0.339111328125
],
[
0.50634765625,
0.326904296875,
0.8896484375,
0.326904296875,
0.8896484375,
0.337158203125,
0.50634765625,
0.337158203125
],
[
0.08251953125,
0.34033203125,
0.468017578125,
0.34033203125,
0.468017578125,
0.354248046875,
0.08251953125,
0.354248046875
],
[
0.50244140625,
0.33837890625,
0.58642578125,
0.34033203125,
0.58642578125,
0.354736328125,
0.50244140625,
0.352783203125
],
[
0.08087158203125,
0.35595703125,
0.46728515625,
0.35595703125,
0.46728515625,
0.369384765625,
0.08087158203125,
0.369384765625
],
[
0.52294921875,
0.359130859375,
0.890625,
0.359130859375,
0.890625,
0.373779296875,
0.52294921875,
0.373779296875
],
[
0.08087158203125,
0.37060546875,
0.4697265625,
0.37060546875,
0.4697265625,
0.385009765625,
0.08087158203125,
0.385009765625
],
[
0.5048828125,
0.375,
0.88818359375,
0.375,
0.88818359375,
0.38818359375,
0.5048828125,
0.38818359375
],
[
0.08087158203125,
0.386474609375,
0.463134765625,
0.386474609375,
0.463134765625,
0.396484375,
0.08087158203125,
0.396484375
],
[
0.5048828125,
0.389404296875,
0.890625,
0.389404296875,
0.890625,
0.40283203125,
0.5048828125,
0.40283203125
],
[
0.08087158203125,
0.40283203125,
0.464111328125,
0.40283203125,
0.464111328125,
0.41357421875,
0.08087158203125,
0.41357421875
],
[
0.50341796875,
0.40478515625,
0.890625,
0.40478515625,
0.890625,
0.41845703125,
0.50341796875,
0.41845703125
],
[
0.08416748046875,
0.417236328125,
0.465576171875,
0.417236328125,
0.465576171875,
0.427978515625,
0.08416748046875,
0.427978515625
],
[
0.5048828125,
0.421630859375,
0.8896484375,
0.421630859375,
0.8896484375,
0.431884765625,
0.5048828125,
0.431884765625
],
[
0.08087158203125,
0.43115234375,
0.468017578125,
0.43115234375,
0.468017578125,
0.4443359375,
0.08087158203125,
0.4443359375
],
[
0.5048828125,
0.43505859375,
0.89208984375,
0.43505859375,
0.89208984375,
0.448974609375,
0.5048828125,
0.448974609375
],
[
0.08087158203125,
0.44580078125,
0.468017578125,
0.44580078125,
0.468017578125,
0.458984375,
0.08087158203125,
0.458984375
],
[
0.50341796875,
0.451904296875,
0.53759765625,
0.451904296875,
0.53759765625,
0.464111328125,
0.50341796875,
0.464111328125
],
[
0.080078125,
0.4609375,
0.46728515625,
0.4609375,
0.46728515625,
0.474853515625,
0.080078125,
0.474853515625
],
[
0.52392578125,
0.47021484375,
0.890625,
0.47021484375,
0.890625,
0.484130859375,
0.52392578125,
0.484130859375
],
[
0.08251953125,
0.477783203125,
0.465576171875,
0.477783203125,
0.465576171875,
0.488037109375,
0.08251953125,
0.488037109375
],
[
0.50244140625,
0.48486328125,
0.890625,
0.48486328125,
0.890625,
0.498779296875,
0.50244140625,
0.498779296875
],
[
0.08087158203125,
0.4912109375,
0.468017578125,
0.4912109375,
0.468017578125,
0.5048828125,
0.08087158203125,
0.5048828125
],
[
0.07843017578125,
0.5048828125,
0.46728515625,
0.5068359375,
0.46728515625,
0.521484375,
0.07843017578125,
0.51953125
],
[
0.5048828125,
0.50048828125,
0.88818359375,
0.50048828125,
0.88818359375,
0.5146484375,
0.5048828125,
0.5146484375
],
[
0.50341796875,
0.51513671875,
0.88818359375,
0.51513671875,
0.88818359375,
0.52880859375,
0.50341796875,
0.52880859375
],
[
0.080078125,
0.521484375,
0.468017578125,
0.521484375,
0.468017578125,
0.53515625,
0.080078125,
0.53515625
],
[
0.08087158203125,
0.5361328125,
0.468017578125,
0.5361328125,
0.468017578125,
0.5498046875,
0.08087158203125,
0.5498046875
],
[
0.50634765625,
0.5322265625,
0.8896484375,
0.5322265625,
0.8896484375,
0.54248046875,
0.50634765625,
0.54248046875
],
[
0.5048828125,
0.54541015625,
0.890625,
0.54541015625,
0.890625,
0.5595703125,
0.5048828125,
0.5595703125
],
[
0.08087158203125,
0.5517578125,
0.468017578125,
0.5517578125,
0.468017578125,
0.56494140625,
0.08087158203125,
0.56494140625
],
[
0.5048828125,
0.56103515625,
0.8896484375,
0.56103515625,
0.8896484375,
0.57470703125,
0.5048828125,
0.57470703125
],
[
0.080078125,
0.5673828125,
0.465576171875,
0.56640625,
0.465576171875,
0.580078125,
0.080078125,
0.58056640625
],
[
0.50244140625,
0.57470703125,
0.8896484375,
0.57568359375,
0.8896484375,
0.59033203125,
0.50244140625,
0.5888671875
],
[
0.08087158203125,
0.58203125,
0.465576171875,
0.58203125,
0.465576171875,
0.59521484375,
0.08087158203125,
0.59521484375
],
[
0.080078125,
0.5966796875,
0.46728515625,
0.5966796875,
0.46728515625,
0.611328125,
0.080078125,
0.611328125
],
[
0.5048828125,
0.59130859375,
0.8896484375,
0.59130859375,
0.8896484375,
0.60498046875,
0.5048828125,
0.60498046875
],
[
0.50341796875,
0.60595703125,
0.5537109375,
0.60595703125,
0.5537109375,
0.62060546875,
0.50341796875,
0.62060546875
],
[
0.080078125,
0.6123046875,
0.46728515625,
0.611328125,
0.46728515625,
0.62548828125,
0.080078125,
0.626953125
],
[
0.080078125,
0.62548828125,
0.46728515625,
0.626953125,
0.46728515625,
0.6416015625,
0.080078125,
0.64013671875
],
[
0.51953125,
0.625,
0.88818359375,
0.62548828125,
0.88818359375,
0.64013671875,
0.51953125,
0.6396484375
],
[
0.08087158203125,
0.6416015625,
0.465576171875,
0.6416015625,
0.465576171875,
0.65478515625,
0.08087158203125,
0.65478515625
],
[
0.5048828125,
0.6416015625,
0.890625,
0.6416015625,
0.890625,
0.65478515625,
0.5048828125,
0.65478515625
],
[
0.08087158203125,
0.6572265625,
0.464111328125,
0.6572265625,
0.464111328125,
0.67041015625,
0.08087158203125,
0.67041015625
],
[
0.5048828125,
0.65576171875,
0.890625,
0.65576171875,
0.890625,
0.66943359375,
0.5048828125,
0.66943359375
],
[
0.080078125,
0.67236328125,
0.46728515625,
0.67236328125,
0.46728515625,
0.68603515625,
0.080078125,
0.68603515625
],
[
0.50341796875,
0.671875,
0.890625,
0.671875,
0.890625,
0.68505859375,
0.50341796875,
0.68505859375
],
[
0.080078125,
0.68798828125,
0.46728515625,
0.68798828125,
0.46728515625,
0.7021484375,
0.080078125,
0.7021484375
],
[
0.5048828125,
0.6875,
0.89208984375,
0.6875,
0.89208984375,
0.70068359375,
0.5048828125,
0.70068359375
],
[
0.08087158203125,
0.70263671875,
0.465576171875,
0.70263671875,
0.465576171875,
0.71630859375,
0.08087158203125,
0.71630859375
],
[
0.50341796875,
0.70068359375,
0.8896484375,
0.70068359375,
0.8896484375,
0.7138671875,
0.50341796875,
0.7138671875
],
[
0.080078125,
0.71728515625,
0.468017578125,
0.71728515625,
0.468017578125,
0.73095703125,
0.080078125,
0.73095703125
],
[
0.50341796875,
0.71630859375,
0.890625,
0.71630859375,
0.890625,
0.72998046875,
0.50341796875,
0.72998046875
],
[
0.08087158203125,
0.734375,
0.46728515625,
0.73193359375,
0.46728515625,
0.74560546875,
0.08087158203125,
0.74755859375
],
[
0.5048828125,
0.73095703125,
0.890625,
0.73095703125,
0.890625,
0.744140625,
0.5048828125,
0.744140625
],
[
0.07843017578125,
0.7470703125,
0.1805419921875,
0.75,
0.1805419921875,
0.7646484375,
0.07843017578125,
0.76123046875
],
[
0.50341796875,
0.7470703125,
0.890625,
0.7470703125,
0.890625,
0.76025390625,
0.50341796875,
0.76025390625
],
[
0.5048828125,
0.76123046875,
0.89208984375,
0.76123046875,
0.89208984375,
0.7744140625,
0.5048828125,
0.7744140625
],
[
0.5048828125,
0.7763671875,
0.86376953125,
0.7763671875,
0.86376953125,
0.79052734375,
0.5048828125,
0.79052734375
],
[
0.07843017578125,
0.79248046875,
0.2156982421875,
0.79345703125,
0.2156982421875,
0.80810546875,
0.07843017578125,
0.806640625
],
[
0.52392578125,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.52392578125,
0.81005859375
],
[
0.10296630859375,
0.818359375,
0.468017578125,
0.818359375,
0.468017578125,
0.83203125,
0.10296630859375,
0.83203125
],
[
0.5048828125,
0.81298828125,
0.88623046875,
0.81298828125,
0.88623046875,
0.82373046875,
0.5048828125,
0.82373046875
],
[
0.5048828125,
0.8271484375,
0.89208984375,
0.8271484375,
0.89208984375,
0.84033203125,
0.5048828125,
0.84033203125
],
[
0.08087158203125,
0.833984375,
0.46728515625,
0.833984375,
0.46728515625,
0.84765625,
0.08087158203125,
0.84765625
],
[
0.50341796875,
0.84228515625,
0.890625,
0.84228515625,
0.890625,
0.85595703125,
0.50341796875,
0.85595703125
],
[
0.08087158203125,
0.8486328125,
0.468017578125,
0.8486328125,
0.468017578125,
0.8623046875,
0.08087158203125,
0.8623046875
],
[
0.5048828125,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08251953125,
0.8642578125,
0.468017578125,
0.8642578125,
0.468017578125,
0.87744140625,
0.08251953125,
0.87744140625
],
[
0.50341796875,
0.87060546875,
0.890625,
0.8720703125,
0.890625,
0.88623046875,
0.50341796875,
0.88525390625
],
[
0.098876953125,
0.8896484375,
0.233642578125,
0.8896484375,
0.233642578125,
0.8994140625,
0.098876953125,
0.8994140625
],
[
0.50341796875,
0.88720703125,
0.701171875,
0.88720703125,
0.701171875,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.48046875,
0.9248046875,
0.49267578125,
0.9248046875,
0.49267578125,
0.9375,
0.48046875,
0.9375
]
] |
[
"Patchwork: A Patch-wise Attention Network for",
"Eficient Object Detection and Segmentation in VideoStreams",
"Yuning Chai*",
"Google Inc.",
"chaiy@google.com",
"Abstract",
"知。正如「4,26]所指出的那样,我们不会一次感知到",
"我们的整个环境,而我们成功的“秘决”在于我们记住",
"Recent advances in single-frame object detection",
"大局的能力与将注意力集中在感兴趣的对象之间的巧",
"and segmentation techniques have motivated a wide",
"妙相互作用",
"range of works to extend these methods to process",
"近年来,由于深度卷积网络[15,21,35,38]】的出现,",
"video streams.In this paper, we explore the idea of",
"对象检测[9,1125,31]和分割「5,6,14]技术取得了巨",
"hard attentionaimedforlatency-sensitiveapplications",
"大进展。将这些强大的方法扩展到需要连续流处理的",
"Instead ofreasoningabouteveryframeseparately,ou",
"应用程序是很自然的。然而,我们自己的人类视觉感知",
"method selectsand onlyprocesses a small sub-window",
"经验表明,在没有任何时间背景的情况下,以固定的时",
"of the frame. Our technique then makes predictions for",
"间间隔将单顿检测器天真地应用于视频的每一顿是低",
"the full frame based on the sub-windows from previous",
"效的",
"frames and the update from the current sub-window.",
"受人类视觉注意系统[26]的启发,我们引人了",
"The latency reductionbythis hard attention mecha-",
"Patchwork,该模型探索了记忆和注意力之间的微妙",
"nism comes at the cost of degraded accuracy. We made",
"two contributions to address this. First, we propose",
"相互作用,以实现高效的视频流处理。Fig.1a说明了",
"Patchwork的概述。在每个时间步,Patchwork从输人",
"a specialized memory cell that recovers lost context",
"when processing sub-windows. Secondly, we adopt a",
"顺中裁剪一个小窗口,并将其馈送到特征提取器网络",
"中,该网络已被修改为包含一组分散在网络主体中的",
"Q-learning-based policy training strategy that enables",
"专用存储单元。网络最终预测特定于任务的输出:用于",
"ourapproachtointelligentlyselectthe sub-windows",
"对象检测的一组框或用于分割的掩码。此外,网络预测",
"such that the staleness in the memory hurts the per-",
"formance the least. Our experiments suggest that our",
"下一顿的注意力窗口,该窗口最有可能包含任务的有",
"用信息",
"approach reduces the latency by approximately four",
"times without significantly sacrificing the accuracy on",
"Patchwork的主要动机是高效的流处理。换句话说",
"the ImageNet VID video object detection dataset and",
"我们的目标是实现尽可能高的检测或分割质量,同时",
"the DAVIS video object segmentation dataset. We fur",
"减少延迟和计算成本。对于不需要减少延迟的应用程",
"ther demonstrate that we can reinvest the saved com-",
"序,我们可以重新投资节省的资源并提高质量。我们",
"putation into other parts of the network, and thus re-",
"在两个基准数据集上演示了这种延迟减少和质量改进:",
"sulting in an accuracy increase at a comparable compu",
"用于视频对象检测的ImageNetVID[32]和用于视频对",
"tational cost as the original system and beating other",
"象分割的DAVIS[29]。这种延迟的减少是由一对超参",
"recently proposed state-of-the-art methods in the low",
"数先验控制的。我们在实验部分解释了一些超参数选",
"latency range.",
"择。有些选择可以显着减少延迟,但质量会受到影响,",
"而另一些则可以节省资源,但可以达到类似的质量。还",
"有一些配置可以在相当的计算量下观察到质量增益",
"1.Introduction",
"本文的贡献有三个方面:1)我们提出了Patchwork",
"人类视觉系统在恒定的视觉流中面临着大量的信息。",
"这是一种受人类视觉感知系统启发的递归体系结构",
"用于执行高效的视频流处理。我们的方法利用了2)",
"幸运的是,我们的大脑有足够的能力从以前的经历中",
"PatchworkCell作为存储单元,可以跨时间传递环境信",
"记住我们的环境,并且可以立即找到最佳的视觉注意",
"息,以及3)注意力模型,可以预测下一要注意的最",
"力决定序列,以实现对我们视觉环境的看似轻松的感",
"佳位置。我们的方法是通过Q学习训练的,具有新颖",
"*Now at WaymoLLC",
"的对象检测和分割奖励功能",
"1"
] |
{
"arxiv_id": "1904.01784",
"language": "zh",
"page_idx": 0
}
|
||
1904.01784-zh-2
|
1904.01784-zh-2.jpg
|
<FigureHere>
Figure 3: The attention mechanism. The attention network builds on top of the memory unit of a Patchwork Cell and an action history, and predicts the Qvalues for the next time step. $t$ denotes the time step and $L$ is a fxed layer in the network. See Sec. 3.1 for details.
控制计算成本,因为成本与窗口面积大致成正比。对于特征提取阶段,我们使用从标准骨干网改编的有状态网络 MobileNetV2 [33] 。我们用一个自定义的有状态 PatchworkCell 替换其内核大小大于 1x1 的所有卷积层,它在 Sec. 3.2 中详细显示。最后,注意力和特定于任务的预测因子建立在特征提取之上的适当层上。有关详细信息,请参阅 Sec. A
我们将本节的其余部分组织如下:模型的两个关键部分,即经常性关注模块和 PatchworkCell,在 Sec. 3.1和 Sec. 3.2 中进行了描述。最后两个小节描述了模型训练:Sec. 3.3 描述了对象检测和分割任务的奖励函数, 其余的训练细节在 Sec. 3.4 中总结
拼布有两个含义。首先,它是 PATCH-wise 关注网络的 portmanteau。但是,Patchwork 也是一种针线活形式的英文单词,其中多块织物被缝制在一起形成更大的设计-这类似于推理过程中每个 Patchwork 单元中的内存如何出现(请参见 Fig. 2 )
# 3.1. Recurrent attention
Fig. la 显示了经常性关注网络的概述。在先前的文献中,注意窗口(图中的“注意”)在连续空间$\left[1,12,27\right]$ 中使用其中心和大小进行参数化。至于训练,[12] 使用了边界上带有梯度的平滑注意力窗口,因此可以以监督的方式端到端地训练机制;另一方面,[1,27] 使用了策略梯度,这是一种强化学习(RL)的味道。请注意这些先前工作中的实验仅限于 MNIST 和 CIFAR 等数据集,这解释了为什么我们在复杂的现实世界对象检测和分割任务上的任何一种方法都只能取得有限的成功。我们最好的结果是从离散动作空间上的 Q 学习获得的
此离散动作空间由所有可能的注意力子窗口组成, 并由两个整数$M$和$N$参数化。$M$表示一个维度被切片多少次,而$N$表示有多少个相邻的切片形成一个关注窗口。我们的实验包含三个这样的配置。对于$M=2,N=1$,有 4 个相对大小为$[\frac12,\frac12]$的可能窗口。这些窗口的左上角位于$[\frac i2,\frac j2],\forall i\in0,1;j\in0,1.$ $M=4,N=2$有 9 个相对大小为$[\frac12,\frac12]$的可能窗口, 左上角为$[ \frac i4, \frac j4] , \forall i\in 0, 1, 2; j\in 0, 1, 2$ $。M= 4, N= 1$ 有 16 个可能的相对大小为$[\frac14,\frac14]$的窗口,左上角为$[\frac{i}{4},\frac{j}{4}],\forall i\in0,1,2,3;j\in0,1,2,3$
请注意,$M$和$N$先验控制计算量。例如$,M=$ $2,N=1$配置使每个关注窗口都占帧区域的 25 个%, 因此总计算量减少到大约 25 个%
接下来,我们构建注意力网络,该网络在时间$t$从网络中获取一组特征,并将它们映射到 Q 值$Q(S_t,A_t;\Theta)$ 以进行深度 Q 学习 (DQN [28] )。注意力网络建立在PatchworkCell 的存储单元之上,该单元具有完整框架的视图。此外,我们还希望关注网络了解行动历史,以鼓励行动之间的多样性。为此,我们设计了一个简单的指数衰减动作历史$F_t:$
$$F_t=\min(\alpha\cdot F_{t-1}+onehot(A_t),1.0)$$
(1)
,其中$A_t$是当前时间步的动作 (注意窗口),而$\alpha$是
折扣因子。如 Fig. 3 所示,将 PatchworkCell 内存映射到一维特征向量并与动作历史记录连接,其中应用最终的全连接层来计算 Q 值
## $3. 2. \textbf{Patchwork Cell}$
现代深度卷积网络的感受野通常大于输入图像的大小。这些大的接受域对于提供以后的逻辑(例如。g。, 检测器)具有上下文信息。但是,由于裁剪的输入会丢失超出其自身裁剪视图的任何上下文,因此经常性注意力模块中的硬注意力会切断这些可接受的字段。我们在 Tab. $\color{red}{2}$中的实验表明,如果处理不当,这种上下文丢失会导致准确性显着下降。为了解决这个问题,我们引人了一个构建块,它是本文的核心,即 PatchworkCell (请参见 Fig. 1b)。
PatchworkCell 是在现代深度神经网络中出现的具有相同填充的无状态 2D 卷积层的有状态替换。2D 卷积被定义为映射$SameConv2d(X,\Theta)\to Y$ ,其中$X$ 是输人特征映射,$\Theta$是具有奇数滤波器大小$(2k+1)^2$ 的权重。不失一般性,我们假设步幅为 1。因此,$X_t$和$Y_{t}$ 具有相同的空间分辨率$[H,W]$
PatchworkCell 以存储单元$S_t$和动作$A_t$的形式将两个状态添加到映射中:$Patchwork(X_t,A_t,S_t,\Theta)\to Y_t$ ,其中下标$t$描述了时间步。该单元由三个组件组成: 状态更新,特征传播和带有 VALID 填充的 2D 卷积
State update. 从子窗口$X_t$提取的特征在时间步长$t$ 的初始裁剪窗口指定的位置覆盖内存$S_{t-1}$的一部分,
|
[
[
0.08251953125,
0.0947265625,
0.46728515625,
0.0947265625,
0.46728515625,
0.10479736328125,
0.08251953125,
0.10479736328125
],
[
0.7099609375,
0.09027099609375,
0.77685546875,
0.09344482421875,
0.775390625,
0.10479736328125,
0.708984375,
0.10162353515625
],
[
0.08416748046875,
0.10797119140625,
0.468017578125,
0.10797119140625,
0.468017578125,
0.121826171875,
0.08416748046875,
0.121826171875
],
[
0.72216796875,
0.10797119140625,
0.75732421875,
0.11297607421875,
0.75244140625,
0.1363525390625,
0.71728515625,
0.1307373046875
],
[
0.08251953125,
0.125,
0.46728515625,
0.125,
0.46728515625,
0.1351318359375,
0.08251953125,
0.1351318359375
],
[
0.08087158203125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08087158203125,
0.1514892578125
],
[
0.73876953125,
0.143310546875,
0.744140625,
0.14453125,
0.74169921875,
0.15283203125,
0.736328125,
0.1514892578125
],
[
0.08251953125,
0.1546630859375,
0.46728515625,
0.1546630859375,
0.46728515625,
0.1654052734375,
0.08251953125,
0.1654052734375
],
[
0.6650390625,
0.15087890625,
0.73876953125,
0.15283203125,
0.73876953125,
0.1673583984375,
0.6650390625,
0.1654052734375
],
[
0.08251953125,
0.169189453125,
0.468017578125,
0.169189453125,
0.468017578125,
0.179931640625,
0.08251953125,
0.179931640625
],
[
0.60546875,
0.179931640625,
0.6337890625,
0.179931640625,
0.6337890625,
0.1881103515625,
0.60546875,
0.1881103515625
],
[
0.66259765625,
0.179931640625,
0.6787109375,
0.179931640625,
0.6787109375,
0.1881103515625,
0.66259765625,
0.1881103515625
],
[
0.69775390625,
0.1787109375,
0.83642578125,
0.1787109375,
0.83642578125,
0.189453125,
0.69775390625,
0.189453125
],
[
0.7587890625,
0.1925048828125,
0.8408203125,
0.1925048828125,
0.8408203125,
0.203857421875,
0.7587890625,
0.203857421875
],
[
0.08087158203125,
0.18310546875,
0.2998046875,
0.1817626953125,
0.2998046875,
0.1956787109375,
0.08087158203125,
0.1962890625
],
[
0.101318359375,
0.199462890625,
0.46728515625,
0.199462890625,
0.46728515625,
0.210205078125,
0.101318359375,
0.210205078125
],
[
0.60888671875,
0.199462890625,
0.65869140625,
0.199462890625,
0.65869140625,
0.2108154296875,
0.60888671875,
0.2108154296875
],
[
0.66845703125,
0.1956787109375,
0.67333984375,
0.199462890625,
0.66845703125,
0.203857421875,
0.66259765625,
0.199462890625
],
[
0.08087158203125,
0.21337890625,
0.465576171875,
0.21337890625,
0.465576171875,
0.2266845703125,
0.08087158203125,
0.2266845703125
],
[
0.61376953125,
0.2108154296875,
0.66015625,
0.2108154296875,
0.66015625,
0.2215576171875,
0.61376953125,
0.2215576171875
],
[
0.71728515625,
0.2235107421875,
0.775390625,
0.2291259765625,
0.77294921875,
0.242431640625,
0.7138671875,
0.2374267578125
],
[
0.08251953125,
0.2298583984375,
0.46728515625,
0.2298583984375,
0.46728515625,
0.240478515625,
0.08251953125,
0.240478515625
],
[
0.08251953125,
0.24365234375,
0.4697265625,
0.24365234375,
0.4697265625,
0.2568359375,
0.08251953125,
0.2568359375
],
[
0.56884765625,
0.248779296875,
0.5888671875,
0.248779296875,
0.5888671875,
0.2587890625,
0.56884765625,
0.2587890625
],
[
0.708984375,
0.2442626953125,
0.7158203125,
0.2442626953125,
0.7158203125,
0.25,
0.708984375,
0.25
],
[
0.08087158203125,
0.2587890625,
0.326904296875,
0.2587890625,
0.326904296875,
0.272705078125,
0.08087158203125,
0.272705078125
],
[
0.6435546875,
0.272705078125,
0.650390625,
0.268310546875,
0.65625,
0.2734375,
0.64794921875,
0.27783203125
],
[
0.65625,
0.271484375,
0.66259765625,
0.271484375,
0.66259765625,
0.274658203125,
0.65625,
0.274658203125
],
[
0.5361328125,
0.27587890625,
0.6005859375,
0.27783203125,
0.6005859375,
0.2890625,
0.5361328125,
0.287353515625
],
[
0.101318359375,
0.27587890625,
0.46728515625,
0.27587890625,
0.46728515625,
0.285888671875,
0.101318359375,
0.285888671875
],
[
0.08087158203125,
0.2890625,
0.468017578125,
0.2890625,
0.468017578125,
0.302978515625,
0.08087158203125,
0.302978515625
],
[
0.08087158203125,
0.3037109375,
0.468017578125,
0.3037109375,
0.468017578125,
0.317626953125,
0.08087158203125,
0.317626953125
],
[
0.705078125,
0.306884765625,
0.77392578125,
0.31005859375,
0.77294921875,
0.32568359375,
0.70361328125,
0.322509765625
],
[
0.08087158203125,
0.3193359375,
0.46728515625,
0.3193359375,
0.46728515625,
0.333251953125,
0.08087158203125,
0.333251953125
],
[
0.08087158203125,
0.333251953125,
0.318603515625,
0.333251953125,
0.318603515625,
0.3466796875,
0.08087158203125,
0.3466796875
],
[
0.07843017578125,
0.35595703125,
0.271240234375,
0.356689453125,
0.271240234375,
0.371826171875,
0.07843017578125,
0.37060546875
],
[
0.50341796875,
0.35107421875,
0.890625,
0.35107421875,
0.890625,
0.3642578125,
0.50341796875,
0.3642578125
],
[
0.5048828125,
0.365478515625,
0.8896484375,
0.3662109375,
0.8896484375,
0.380126953125,
0.5048828125,
0.37890625
],
[
0.09722900390625,
0.37890625,
0.468017578125,
0.380126953125,
0.468017578125,
0.39453125,
0.09722900390625,
0.393310546875
],
[
0.5048828125,
0.38330078125,
0.88818359375,
0.38330078125,
0.88818359375,
0.393310546875,
0.5048828125,
0.393310546875
],
[
0.08087158203125,
0.395751953125,
0.46728515625,
0.395751953125,
0.46728515625,
0.4091796875,
0.08087158203125,
0.4091796875
],
[
0.50341796875,
0.396484375,
0.890625,
0.396484375,
0.890625,
0.410400390625,
0.50341796875,
0.410400390625
],
[
0.08416748046875,
0.412353515625,
0.465576171875,
0.412353515625,
0.465576171875,
0.42236328125,
0.08416748046875,
0.42236328125
],
[
0.50244140625,
0.410888671875,
0.890625,
0.410888671875,
0.890625,
0.4248046875,
0.50244140625,
0.4248046875
],
[
0.0849609375,
0.425537109375,
0.46728515625,
0.425537109375,
0.46728515625,
0.439453125,
0.0849609375,
0.439453125
],
[
0.50341796875,
0.4267578125,
0.5556640625,
0.4267578125,
0.5556640625,
0.438232421875,
0.50341796875,
0.438232421875
],
[
0.08087158203125,
0.43994140625,
0.465576171875,
0.44140625,
0.465576171875,
0.455078125,
0.08087158203125,
0.453857421875
],
[
0.08087158203125,
0.455810546875,
0.46728515625,
0.455810546875,
0.46728515625,
0.4697265625,
0.08087158203125,
0.4697265625
],
[
0.08087158203125,
0.47021484375,
0.468017578125,
0.47021484375,
0.468017578125,
0.484130859375,
0.08087158203125,
0.484130859375
],
[
0.5048828125,
0.472900390625,
0.890625,
0.472900390625,
0.890625,
0.486083984375,
0.5048828125,
0.486083984375
],
[
0.08087158203125,
0.486083984375,
0.468017578125,
0.486083984375,
0.468017578125,
0.5,
0.08087158203125,
0.5
],
[
0.50341796875,
0.488037109375,
0.890625,
0.488037109375,
0.890625,
0.501953125,
0.50341796875,
0.501953125
],
[
0.08251953125,
0.50244140625,
0.46728515625,
0.50244140625,
0.46728515625,
0.51318359375,
0.08251953125,
0.51318359375
],
[
0.50244140625,
0.501953125,
0.689453125,
0.50244140625,
0.689453125,
0.5166015625,
0.50244140625,
0.51513671875
],
[
0.08416748046875,
0.51806640625,
0.46728515625,
0.51806640625,
0.46728515625,
0.52880859375,
0.08416748046875,
0.52880859375
],
[
0.08251953125,
0.5322265625,
0.11358642578125,
0.5322265625,
0.11358642578125,
0.54443359375,
0.08251953125,
0.54443359375
],
[
0.101318359375,
0.546875,
0.46728515625,
0.546875,
0.46728515625,
0.56005859375,
0.101318359375,
0.56005859375
],
[
0.50341796875,
0.54345703125,
0.66015625,
0.54345703125,
0.66015625,
0.5537109375,
0.50341796875,
0.5537109375
],
[
0.080078125,
0.56005859375,
0.468017578125,
0.56103515625,
0.468017578125,
0.57568359375,
0.080078125,
0.57470703125
],
[
0.521484375,
0.568359375,
0.890625,
0.5693359375,
0.890625,
0.58349609375,
0.521484375,
0.58203125
],
[
0.08087158203125,
0.5771484375,
0.468017578125,
0.5771484375,
0.468017578125,
0.59033203125,
0.08087158203125,
0.59033203125
],
[
0.50341796875,
0.58349609375,
0.88818359375,
0.58544921875,
0.88818359375,
0.599609375,
0.50341796875,
0.59765625
],
[
0.08251953125,
0.59228515625,
0.468017578125,
0.59228515625,
0.468017578125,
0.60595703125,
0.08251953125,
0.60595703125
],
[
0.50341796875,
0.599609375,
0.8896484375,
0.599609375,
0.8896484375,
0.61279296875,
0.50341796875,
0.61279296875
],
[
0.08087158203125,
0.60693359375,
0.468017578125,
0.60693359375,
0.468017578125,
0.62060546875,
0.08087158203125,
0.62060546875
],
[
0.50341796875,
0.6142578125,
0.8896484375,
0.6142578125,
0.8896484375,
0.62744140625,
0.50341796875,
0.62744140625
],
[
0.08251953125,
0.625,
0.471435546875,
0.625,
0.471435546875,
0.63818359375,
0.08251953125,
0.63818359375
],
[
0.5048828125,
0.6298828125,
0.890625,
0.6298828125,
0.890625,
0.64306640625,
0.5048828125,
0.64306640625
],
[
0.08087158203125,
0.6396484375,
0.471435546875,
0.6396484375,
0.471435546875,
0.65283203125,
0.08087158203125,
0.65283203125
],
[
0.5048828125,
0.646484375,
0.88818359375,
0.646484375,
0.88818359375,
0.6572265625,
0.5048828125,
0.6572265625
],
[
0.080078125,
0.65478515625,
0.4697265625,
0.65380859375,
0.4697265625,
0.66845703125,
0.080078125,
0.66943359375
],
[
0.50341796875,
0.66015625,
0.88818359375,
0.66015625,
0.88818359375,
0.673828125,
0.50341796875,
0.673828125
],
[
0.08087158203125,
0.671875,
0.468017578125,
0.671875,
0.468017578125,
0.68505859375,
0.08087158203125,
0.68505859375
],
[
0.50341796875,
0.6748046875,
0.890625,
0.6748046875,
0.890625,
0.68798828125,
0.50341796875,
0.68798828125
],
[
0.08087158203125,
0.68798828125,
0.3056640625,
0.68798828125,
0.3056640625,
0.70263671875,
0.08087158203125,
0.70263671875
],
[
0.50341796875,
0.6923828125,
0.63818359375,
0.6923828125,
0.63818359375,
0.70263671875,
0.50341796875,
0.70263671875
],
[
0.101318359375,
0.7021484375,
0.46728515625,
0.7021484375,
0.46728515625,
0.71533203125,
0.101318359375,
0.71533203125
],
[
0.52294921875,
0.71044921875,
0.8896484375,
0.71044921875,
0.8896484375,
0.7236328125,
0.52294921875,
0.7236328125
],
[
0.080078125,
0.71826171875,
0.4697265625,
0.71826171875,
0.4697265625,
0.73193359375,
0.080078125,
0.73193359375
],
[
0.5048828125,
0.72607421875,
0.890625,
0.72607421875,
0.890625,
0.7392578125,
0.5048828125,
0.7392578125
],
[
0.08251953125,
0.73486328125,
0.31787109375,
0.73486328125,
0.31787109375,
0.74560546875,
0.08251953125,
0.74560546875
],
[
0.5048828125,
0.7392578125,
0.890625,
0.7392578125,
0.890625,
0.75244140625,
0.5048828125,
0.75244140625
],
[
0.1004638671875,
0.74853515625,
0.468017578125,
0.74853515625,
0.468017578125,
0.76220703125,
0.1004638671875,
0.76220703125
],
[
0.50244140625,
0.7548828125,
0.890625,
0.75390625,
0.890625,
0.76806640625,
0.50244140625,
0.76953125
],
[
0.08087158203125,
0.76318359375,
0.465576171875,
0.76318359375,
0.465576171875,
0.7763671875,
0.08087158203125,
0.7763671875
],
[
0.50341796875,
0.77099609375,
0.890625,
0.77099609375,
0.890625,
0.7841796875,
0.50341796875,
0.7841796875
],
[
0.08251953125,
0.77783203125,
0.46728515625,
0.77783203125,
0.46728515625,
0.79150390625,
0.08251953125,
0.79150390625
],
[
0.5048828125,
0.787109375,
0.7685546875,
0.787109375,
0.7685546875,
0.79736328125,
0.5048828125,
0.79736328125
],
[
0.08087158203125,
0.79443359375,
0.46728515625,
0.79443359375,
0.46728515625,
0.80810546875,
0.08087158203125,
0.80810546875
],
[
0.521484375,
0.8037109375,
0.890625,
0.8046875,
0.890625,
0.8193359375,
0.521484375,
0.818359375
],
[
0.08251953125,
0.81103515625,
0.46728515625,
0.81103515625,
0.46728515625,
0.8212890625,
0.08251953125,
0.8212890625
],
[
0.08087158203125,
0.82373046875,
0.46728515625,
0.82373046875,
0.46728515625,
0.8369140625,
0.08087158203125,
0.8369140625
],
[
0.50244140625,
0.82080078125,
0.8896484375,
0.82080078125,
0.8896484375,
0.833984375,
0.50244140625,
0.833984375
],
[
0.08087158203125,
0.8388671875,
0.2484130859375,
0.8388671875,
0.2484130859375,
0.85302734375,
0.08087158203125,
0.85302734375
],
[
0.521484375,
0.8369140625,
0.890625,
0.8369140625,
0.890625,
0.84765625,
0.521484375,
0.84765625
],
[
0.5048828125,
0.85107421875,
0.8759765625,
0.85107421875,
0.8759765625,
0.8642578125,
0.5048828125,
0.8642578125
],
[
0.143798828125,
0.86279296875,
0.408447265625,
0.86279296875,
0.408447265625,
0.876953125,
0.143798828125,
0.876953125
],
[
0.410888671875,
0.86865234375,
0.42724609375,
0.86865234375,
0.42724609375,
0.87255859375,
0.410888671875,
0.87255859375
],
[
0.42724609375,
0.86865234375,
0.435546875,
0.86865234375,
0.435546875,
0.8720703125,
0.42724609375,
0.8720703125
],
[
0.4453125,
0.8642578125,
0.46728515625,
0.8642578125,
0.46728515625,
0.876953125,
0.4453125,
0.876953125
],
[
0.50244140625,
0.87060546875,
0.89208984375,
0.8720703125,
0.89208984375,
0.88525390625,
0.50244140625,
0.8837890625
],
[
0.080078125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.080078125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.89208984375,
0.88720703125,
0.89208984375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"控制计算成本,因为成本与窗口面积大致成正比。对",
"AttentionAt",
"于特征提取阶段,我们使用从标准骨干网改编的有状",
"口",
"态网络MobileNetV233。我们用一个自定义的有状",
"态PatchworkCell替换其内核大小大于1xl的所有卷",
"",
"积层,它在Sec.3.2中详细显示。最后,注意力和特",
"FC+Argmax",
"定于任务的预测因子建立在特征提取之上的适当层上。",
"",
"...",
"+",
"ActionhistoryF",
"有关详细信息,请参阅Sec.A",
"我们将本节的其余部分组织如下:模型的两个关键",
"Attention",
"W",
"部分,即经常性关注模块和PatchworkCell,在Sec.3.1",
"network",
"StateS",
"和Sec.3.2中进行了描述。最后两个小节描述了模型",
"训练:Sec.3.3描述了对象检测和分割任务的奖励函数,",
"",
"-",
"其余的训练细节在Sec.3.4中总结",
"",
"",
"AttentionA,",
"拼布有两个含义。首先,它是PATCH-wise关注网",
"络的portmanteau。但是,Patchwork也是一种针线活",
"形式的英文单词,其中多块织物被缝制在一起形成更",
"FeatureX,",
"大的设计-这类似于推理过程中每个Patchwork单元中",
"的内存如何出现(请参见Fig.2)",
"3.1. Recurrent attention",
"Figure 3: The attention mechanism. The attention",
"network builds on top of thememory unit of a Patch-",
"Fig:la显示了经常性关注网络的概述。在先前的文",
"work Cell and an action history, and predicts the Q-",
"献中,注意窗口(图中的“注意”)在连续空间「1,12,27",
"values for the next time step. t denotes the time step",
"中使用其中心和大小进行参数化。至于训练:12使用",
"and L is a fixed layer in the network. See Sec. 3.1 for",
"了边界上带有梯度的平滑注意力窗口,因此可以以监",
"details.",
"督的方式端到端地训练机制;另一方面,1,27】使用了",
"策略梯度,这是一种强化学习(RL)的味道。请注意,",
"这些先前工作中的实验仅限于MNIST和CIFAR等数",
"折扣因子。如Fig.3所示,将PatchworkCell内存映射",
"据集,这解释了为什么我们在复杂的现实世界对象检",
"到一维特征向量并与动作历史记录连接,其中应用最",
"测和分割任务上的任何一种方法都只能取得有限的成",
"终的全连接层来计算Q值",
"功。我们最好的结果是从离散动作空间上的Q学习获",
"得的",
"此离散动作空间由所有可能的注意力子窗口组成,",
"3.2.Patchwork Cell",
"并由两个整数M和N参数化。M表示一个维度被",
"现代深度卷积网络的感受野通常大于输人图像的大",
"切片多少次,而N表示有多少个相邻的切片形成一",
"小。这些大的接受域对于提供以后的逻辑(例如。g。",
"个关注窗口。我们的实验包含三个这样的配置。对于",
"检测器)具有上下文信息。但是,由于裁剪的输入会丢",
"M=2,N=1,有4个相对大小为[,引的可能窗",
"失超出其自身裁剪视图的任何上下文,因此经常性注意",
"口。这些窗口的左上角位于[,号],ViE0,1;jE0,1。",
"力模块中的硬注意力会切断这些可接受的字段。。我们",
"M=4,N=2有9个相对大小为[,引的可能窗口,",
"在Tab.2中的实验表明,如果处理不当,这种上下文丢",
"左上角为 [,l,Vie0,1,2;j 0,1,2。M=4,N=1",
"失会导致准确性显着下降。为了解决这个问题,我们引",
"有16个可能的相对大小为[,的窗口,左上角为",
"人了一个构建块,它是本文的核心,即PatchworkCell",
"[4, 4], Vi e 0, 1, 2, 3; j E 0, 1, 2, 3",
"(请参见Fig.1b)。",
"请注意,M和N先验控制计算量。例如,M=",
"PatchworkCell是在现代深度神经网络中出现的具",
"2,N=1配置使每个关注窗口都占顿区域的25个%,",
"有相同填充的无状态2D卷积层的有状态替换。2D卷",
"因此总计算量减少到大约25个%",
"积被定义为映射SameConv2d(X,)→Y,其中X",
"接下来,我们构建注意力网络,该网络在时间t从网",
"是输人特征映射,①是具有奇数滤波器大小(2k+1)2",
"络中获取一组特征,并将它们映射到Q值QSt,At;)",
"的权重。不失一般性,我们假设步幅为1。因此,X,和",
"以进行深度Q学习(DQN[28)。注意力网络建立在",
"Y具有相同的空间分辨率「H:W",
"PatchworkCell的存储单元之上,该单元具有完整框架",
"PatchworkCell以存储单元St和动作At的形式将两",
"的视图。此外,我们还希望关注网络了解行动历史,以",
"鼓励行动之间的多样性。为此,我们设计了一个简单的",
"个状态添加到映射中:Patchwork(Xt,At,St,)→Yt",
"指数衰减动作历史Ft:",
"其中下标t描述了时间步。该单元由三个组件组成",
"状态更新,特征传播和带有VALID填充的2D卷积",
"Ft = min(α : Ft-1 + onehot(At), 1.0)",
"",
"",
"(1)",
"Stateupdate.从子窗口Xt提取的特征在时间步长t",
",其中At是当前时间步的动作(注意窗口),而α是",
"的初始裁剪窗口指定的位置覆盖内存St-1的一部分,"
] |
{
"arxiv_id": "1904.01784",
"language": "zh",
"page_idx": 2
}
|
||
1904.01784-zh-3
|
1904.01784-zh-3.jpg
|
并产生新状态$S_t:$
$$S_t^{m,n}=\begin{cases}X_t^{m-\frac{a_t\cdot H}{h},n-\frac{b_t\cdot W}{w}},&\text{if}0\leqslant m-\frac{a_t\cdot H}{h}<H\\{}\\S_{t-1}^{m,n},&\text{else}\end{cases}$$
$\forall m$ $\in$ $0, 1, . . . , H/ h, n$ $\in$ $0, 1, . . . , W/ w$ 。上标描述坐标。$[a_t,b_t]$是关注窗口左上角的相对坐标。$[h,w]$是窗口的相对高度和宽度,[0。5、0。5、[0]。25,0。25] 在我们的实验中
Feature propagation. 我们通过将输入特征$X_t$与过去状态$S_{t-1}$中的特征一起封装来对其进行调制。此操作等效于从当前状态$S_t$裁剪稍大的特征$\hat{X}_t:$
调制特征$\hat{X}_t$
$$\hat X_t^{i,j}=\begin{cases}S_t^{i-k+\frac{a_t\cdot H}{h},j-k+\frac{b_t\cdot W}{w}},&\text{else if}0\leqslant i-k+\frac{a_t\cdot H}{h}<\frac{H}{h}\\&\text{and}0\leqslant j-k+\frac{b_t\cdot W}{w}<\frac{W}{w}\\0,&\text{else}\end{cases},$$
$\forall i\in0,1,...,H+2k,j\in0,1,...,W+2k$
最后,通过对调制特征$\hat{X} _t$ $: Y_t$ = $ValidConv2d(\hat{X}_t,\Theta)$执行具有有效填充的 2D 卷
积来获得$Y_t$
PatchworkCell 在整个网络中放置了无数次,即在内核大小大于 1 的每个 SAME 填充卷积的前面,并且在全局操作之前。Sec. A 中显示了现成的检测器和分割器及其受尊敬的 Patchwork 修改版本之间的精确比较
请注意,PatchworkCells 提供的上下文并不精确,并且是两种方式的近似值:1)一种近似值是单元内存中的时间陈旧性,因为这些陈旧特征是从过去的帧中提取的,并用于增强当前帧的特征。场景变化越剧烈,这种近似误差就越严重。2)ThecontextgraduallyprovidedbytheseriesofPatchworkCellsisnotnumericallyidenticaltoanaturalreceptivefield,i。e。, 原始预裁剪输入帧的。但是,在一个玩具实验中,我们发现这种类型的错误几乎可以忽略不计,如 Sec.B 所示
# $3. 3. \textbf{Q- Learning reward}$
现在我们已经定义了状态,动作和 Q 函数,我们需要选择适当的奖励来训练注意力网络。良好的时差$(TD(0)$ )奖励 [37]应该是连续的,因为适度良好的动作所获得的奖励要比非常出色的动作所获得的奖励要小。。它还应该具有较低的方差,并且奖励应该与动作相关联,而不是场景的整体难度。因此,天真地使用均值-平均-精度 (mAP) 进行对象检测或使用均值相交-联合 (mIoU) 进行分割作为奖励函数是不合适的,因为它们在很大程度上取决于场景的难度
在文献中,从原始奖励中减去固定基线会减少方差[27] 。对于我们的视频案例,我们可以通过使用前一帧的预测来形成当前操作的基线,从而做得更好。也就是说,我们将$TD(0)$奖励$R_t$定义为:
(2)
$$R_t=\max(0,f(gt_t,p_t)-f(gt_t,p_{t-1}))$$
其中$gt$和$p$是基础和预测,$f(gt,p)$是度量,$t$是时间步长。这里的直觉是,只有当新的关注窗口有助于增加度量$f$而不是无所事事时,才应该给予奖励。我们强制奖励为非负,因为任何负奖励都表明对场景有新的看法对解释场景是有害的,这应该是严格由于噪音造成的
至于特定于任务的度量$f$,对于分段,我们使用帧范围的 mIoU 度量 (也称为 DAVIS [29] 中的 J 度量)。但是,对于对象检测,用于对象检测的 mAP 度量是不合适的,因为它是量化的,不能反映增量改进。相反, 我们从分割任务中汲取灵感,并将平均框重叠度量定义为对象检测的奖励函数:
$$f(gt,p)=\dfrac{1}{K}\sum_1^KIoU(gt_k,\tilde{p_k})$$
(3)
groundtruth 框$gt_k$以产生$\tilde{p}_k$ 。然后,我们对所有$K$ 地面实况框的 IoU 得分进行平均。请注意,为简单起见,我们完全省略了类标签
我们使用 DDQN [41] 方法来训练 Q 函数逼近
$Q(S_t,A_t;\Theta)$中的权重$\Theta:$
$$\Theta\leftarrow\Theta+\alpha(Y_t^Q-Q(S_t,A_t;\Theta))\nabla_\Theta Q(S_t,A_t;\Theta)$$
其中
$$Y_t^Q\equiv R_{t+1}+\gamma Q(S_{t+1},\arg\max_aQ(S_{t+1},a;\Theta);\Theta')$$
$\Theta^{\prime}$是权重的延迟副本,以使 Q 学习变得不那么自信。
$\gamma$ 是折扣因子$,\alpha$ 是学习率
# 3.4. Training details
Patchwork 的培训有两个重大挑战。首先,实验中基准数据集中的视频训练数据量很小。ImageNetVID 有大约一千个独特的培训视频(技术上为 3862,但并非全部独特),而 DAVIS2016 只有 30 个。我们决定通过生成虚假视频来利用大量的单帧数据源。对于单个静态图像,我们随机采样 2 个盒子,并通过将视图从一个盒子移动到另一个盒子来构建视频序列。我们确保两个框中至少有一个与一定量的地面实况检测框或分割前景像素重叠,从而使伪造的视频不全是背景。视图窗口移动的速度符合高斯分布。对于检测和分割任务, 我们使用 COCO 和 PascalVOC 数据集来增强原始训练集。使用这些数据集来帮助 ImageNetVID 并不是什么新鲜事,因为 [24] 也使用它们来预先训练其网络
第二个挑战是在小批量中使用高度相关的样本进行训练。这种相关性使得优化效率较低,因为多个样本将梯度大致推向同一方向。更重要的是,这使得批量归一化 (BN) [16] , 训练任何深度图像模型的关键模块,不再适用。为了解决这个问题,我们采用了一个三阶段的训练过程:1) 将视频数据拆分为单帧,并与增强数据混合,以使用 BN 训练单图像模型;2)我们将训练后
|
[
[
0.08251953125,
0.0921630859375,
0.214111328125,
0.0921630859375,
0.214111328125,
0.1060791015625,
0.08251953125,
0.1060791015625
],
[
0.5048828125,
0.09344482421875,
0.8896484375,
0.09344482421875,
0.8896484375,
0.106689453125,
0.5048828125,
0.106689453125
],
[
0.50341796875,
0.10797119140625,
0.8896484375,
0.10797119140625,
0.8896484375,
0.121826171875,
0.50341796875,
0.121826171875
],
[
0.17236328125,
0.11614990234375,
0.26953125,
0.111083984375,
0.271240234375,
0.1256103515625,
0.1732177734375,
0.1307373046875
],
[
0.28759765625,
0.11871337890625,
0.44287109375,
0.117431640625,
0.44287109375,
0.1351318359375,
0.28759765625,
0.1363525390625
],
[
0.50634765625,
0.125,
0.8896484375,
0.125,
0.8896484375,
0.1351318359375,
0.50634765625,
0.1351318359375
],
[
0.281982421875,
0.126953125,
0.293212890625,
0.126953125,
0.293212890625,
0.1300048828125,
0.281982421875,
0.1300048828125
],
[
0.1502685546875,
0.121826171875,
0.17724609375,
0.11932373046875,
0.1805419921875,
0.1331787109375,
0.1519775390625,
0.1363525390625
],
[
0.08416748046875,
0.136962890625,
0.1396484375,
0.136962890625,
0.1396484375,
0.1514892578125,
0.08416748046875,
0.1514892578125
],
[
0.381591796875,
0.1331787109375,
0.459228515625,
0.14013671875,
0.455810546875,
0.154052734375,
0.378173828125,
0.146484375
],
[
0.2900390625,
0.1395263671875,
0.39208984375,
0.136962890625,
0.39208984375,
0.1514892578125,
0.2900390625,
0.154052734375
],
[
0.5048828125,
0.1383056640625,
0.890625,
0.1383056640625,
0.890625,
0.1514892578125,
0.5048828125,
0.1514892578125
],
[
0.1446533203125,
0.15283203125,
0.19775390625,
0.1572265625,
0.1953125,
0.1749267578125,
0.1422119140625,
0.17041015625
],
[
0.396240234375,
0.149658203125,
0.406005859375,
0.149658203125,
0.406005859375,
0.15283203125,
0.396240234375,
0.15283203125
],
[
0.293212890625,
0.1578369140625,
0.3203125,
0.1578369140625,
0.3203125,
0.17041015625,
0.293212890625,
0.17041015625
],
[
0.50341796875,
0.15283203125,
0.890625,
0.154052734375,
0.890625,
0.1673583984375,
0.50341796875,
0.1666259765625
],
[
0.5048828125,
0.1673583984375,
0.53759765625,
0.169189453125,
0.5361328125,
0.1817626953125,
0.50341796875,
0.179931640625
],
[
0.080078125,
0.1817626953125,
0.468017578125,
0.18310546875,
0.468017578125,
0.1976318359375,
0.080078125,
0.1962890625
],
[
0.52392578125,
0.184326171875,
0.89208984375,
0.184326171875,
0.89208984375,
0.1976318359375,
0.52392578125,
0.1976318359375
],
[
0.08251953125,
0.199462890625,
0.465576171875,
0.199462890625,
0.465576171875,
0.210205078125,
0.08251953125,
0.210205078125
],
[
0.50341796875,
0.1988525390625,
0.890625,
0.1988525390625,
0.890625,
0.212158203125,
0.50341796875,
0.212158203125
],
[
0.08087158203125,
0.21337890625,
0.468017578125,
0.21337890625,
0.468017578125,
0.2266845703125,
0.08087158203125,
0.2266845703125
],
[
0.50341796875,
0.212158203125,
0.890625,
0.21337890625,
0.890625,
0.2279052734375,
0.50341796875,
0.2266845703125
],
[
0.08251953125,
0.2298583984375,
0.1446533203125,
0.2298583984375,
0.1446533203125,
0.2412109375,
0.08251953125,
0.2412109375
],
[
0.50634765625,
0.2298583984375,
0.88818359375,
0.2298583984375,
0.88818359375,
0.24365234375,
0.50634765625,
0.24365234375
],
[
0.080078125,
0.2442626953125,
0.468017578125,
0.2442626953125,
0.468017578125,
0.2587890625,
0.080078125,
0.2587890625
],
[
0.50341796875,
0.24365234375,
0.890625,
0.24365234375,
0.890625,
0.2568359375,
0.50341796875,
0.2568359375
],
[
0.08251953125,
0.261474609375,
0.46728515625,
0.261474609375,
0.46728515625,
0.271484375,
0.08251953125,
0.271484375
],
[
0.50634765625,
0.261474609375,
0.69140625,
0.261474609375,
0.69140625,
0.271484375,
0.50634765625,
0.271484375
],
[
0.08087158203125,
0.274658203125,
0.390625,
0.274658203125,
0.390625,
0.28857421875,
0.08087158203125,
0.28857421875
],
[
0.5908203125,
0.285400390625,
0.71728515625,
0.300537109375,
0.71142578125,
0.330810546875,
0.5849609375,
0.31494140625
],
[
0.6640625,
0.27978515625,
0.8095703125,
0.296630859375,
0.8037109375,
0.326904296875,
0.65869140625,
0.31005859375
],
[
0.101318359375,
0.291748046875,
0.1895751953125,
0.291748046875,
0.1895751953125,
0.302978515625,
0.101318359375,
0.302978515625
],
[
0.685546875,
0.2890625,
0.70166015625,
0.2841796875,
0.70751953125,
0.294189453125,
0.69140625,
0.2998046875
],
[
0.86767578125,
0.2998046875,
0.890625,
0.2998046875,
0.890625,
0.3125,
0.86767578125,
0.3125
],
[
0.136474609375,
0.313232421875,
0.28759765625,
0.3037109375,
0.2900390625,
0.324462890625,
0.1396484375,
0.333984375
],
[
0.283447265625,
0.311279296875,
0.5087890625,
0.314453125,
0.5087890625,
0.3359375,
0.283447265625,
0.333251953125
],
[
0.08087158203125,
0.333251953125,
0.13232421875,
0.333251953125,
0.13232421875,
0.347900390625,
0.08087158203125,
0.347900390625
],
[
0.3056640625,
0.3359375,
0.5009765625,
0.330078125,
0.5009765625,
0.347900390625,
0.3056640625,
0.354248046875
],
[
0.468017578125,
0.339111328125,
0.890625,
0.339111328125,
0.890625,
0.352783203125,
0.468017578125,
0.352783203125
],
[
0.1380615234375,
0.354736328125,
0.160888671875,
0.354736328125,
0.160888671875,
0.367431640625,
0.1380615234375,
0.367431640625
],
[
0.306396484375,
0.354736328125,
0.3349609375,
0.354736328125,
0.3349609375,
0.367431640625,
0.306396484375,
0.367431640625
],
[
0.50244140625,
0.354248046875,
0.890625,
0.352783203125,
0.890625,
0.367431640625,
0.50244140625,
0.36865234375
],
[
0.5048828125,
0.369384765625,
0.890625,
0.369384765625,
0.890625,
0.38330078125,
0.5048828125,
0.38330078125
],
[
0.08087158203125,
0.37890625,
0.36279296875,
0.37890625,
0.36279296875,
0.392578125,
0.08087158203125,
0.392578125
],
[
0.5048828125,
0.3837890625,
0.69921875,
0.3837890625,
0.69921875,
0.397705078125,
0.5048828125,
0.397705078125
],
[
0.1004638671875,
0.39453125,
0.339111328125,
0.39453125,
0.339111328125,
0.40771484375,
0.1004638671875,
0.40771484375
],
[
0.330810546875,
0.39453125,
0.373291015625,
0.392578125,
0.374267578125,
0.404052734375,
0.33251953125,
0.406005859375
],
[
0.374267578125,
0.39453125,
0.428955078125,
0.39453125,
0.428955078125,
0.406005859375,
0.374267578125,
0.406005859375
],
[
0.450927734375,
0.397705078125,
0.465576171875,
0.397705078125,
0.465576171875,
0.40478515625,
0.450927734375,
0.40478515625
],
[
0.52392578125,
0.399658203125,
0.890625,
0.399658203125,
0.890625,
0.41357421875,
0.52392578125,
0.41357421875
],
[
0.08087158203125,
0.4091796875,
0.468017578125,
0.4091796875,
0.468017578125,
0.423583984375,
0.08087158203125,
0.423583984375
],
[
0.5048828125,
0.415283203125,
0.69384765625,
0.415283203125,
0.69384765625,
0.4287109375,
0.5048828125,
0.4287109375
],
[
0.08251953125,
0.425537109375,
0.1666259765625,
0.425537109375,
0.1666259765625,
0.436279296875,
0.08251953125,
0.436279296875
],
[
0.1004638671875,
0.439453125,
0.465576171875,
0.439453125,
0.465576171875,
0.45263671875,
0.1004638671875,
0.45263671875
],
[
0.51708984375,
0.442626953125,
0.890625,
0.4443359375,
0.890625,
0.458984375,
0.51708984375,
0.45703125
],
[
0.08087158203125,
0.455078125,
0.468017578125,
0.455078125,
0.468017578125,
0.468505859375,
0.08087158203125,
0.468505859375
],
[
0.08087158203125,
0.4697265625,
0.46728515625,
0.4697265625,
0.46728515625,
0.48291015625,
0.08087158203125,
0.48291015625
],
[
0.5048828125,
0.472900390625,
0.5361328125,
0.472900390625,
0.5361328125,
0.48486328125,
0.5048828125,
0.48486328125
],
[
0.08087158203125,
0.48486328125,
0.461669921875,
0.48486328125,
0.461669921875,
0.498779296875,
0.08087158203125,
0.498779296875
],
[
0.101318359375,
0.50048828125,
0.468017578125,
0.50048828125,
0.468017578125,
0.5146484375,
0.101318359375,
0.5146484375
],
[
0.5107421875,
0.49755859375,
0.890625,
0.5,
0.890625,
0.517578125,
0.5107421875,
0.51513671875
],
[
0.080078125,
0.51513671875,
0.468017578125,
0.5146484375,
0.468017578125,
0.52783203125,
0.080078125,
0.52880859375
],
[
0.08251953125,
0.52978515625,
0.46728515625,
0.52978515625,
0.46728515625,
0.54345703125,
0.08251953125,
0.54345703125
],
[
0.50341796875,
0.5361328125,
0.89208984375,
0.5361328125,
0.89208984375,
0.5498046875,
0.50341796875,
0.5498046875
],
[
0.08087158203125,
0.54443359375,
0.46728515625,
0.54443359375,
0.46728515625,
0.55810546875,
0.08087158203125,
0.55810546875
],
[
0.50244140625,
0.5517578125,
0.69921875,
0.5517578125,
0.69921875,
0.56494140625,
0.50244140625,
0.56494140625
],
[
0.08251953125,
0.56005859375,
0.465576171875,
0.56005859375,
0.465576171875,
0.57373046875,
0.08251953125,
0.57373046875
],
[
0.08087158203125,
0.57568359375,
0.455810546875,
0.57568359375,
0.455810546875,
0.5888671875,
0.08087158203125,
0.5888671875
],
[
0.50244140625,
0.57470703125,
0.6640625,
0.57568359375,
0.6640625,
0.59033203125,
0.50244140625,
0.5888671875
],
[
0.08087158203125,
0.5888671875,
0.455810546875,
0.5888671875,
0.455810546875,
0.60302734375,
0.08087158203125,
0.60302734375
],
[
0.08087158203125,
0.60498046875,
0.46728515625,
0.60498046875,
0.46728515625,
0.61865234375,
0.08087158203125,
0.61865234375
],
[
0.52294921875,
0.599609375,
0.890625,
0.599609375,
0.890625,
0.61279296875,
0.52294921875,
0.61279296875
],
[
0.08087158203125,
0.62060546875,
0.468017578125,
0.62060546875,
0.468017578125,
0.6337890625,
0.08087158203125,
0.6337890625
],
[
0.5048828125,
0.6162109375,
0.8896484375,
0.6162109375,
0.8896484375,
0.626953125,
0.5048828125,
0.626953125
],
[
0.50341796875,
0.6298828125,
0.89208984375,
0.6298828125,
0.89208984375,
0.64306640625,
0.50341796875,
0.64306640625
],
[
0.08087158203125,
0.63623046875,
0.11517333984375,
0.63623046875,
0.11517333984375,
0.6484375,
0.08087158203125,
0.6484375
],
[
0.5048828125,
0.64599609375,
0.890625,
0.64599609375,
0.890625,
0.6591796875,
0.5048828125,
0.6591796875
],
[
0.080078125,
0.6591796875,
0.26953125,
0.6591796875,
0.26953125,
0.67236328125,
0.080078125,
0.67236328125
],
[
0.50341796875,
0.66015625,
0.890625,
0.66015625,
0.890625,
0.673828125,
0.50341796875,
0.673828125
],
[
0.1004638671875,
0.681640625,
0.4697265625,
0.681640625,
0.4697265625,
0.69580078125,
0.1004638671875,
0.69580078125
],
[
0.5048828125,
0.67822265625,
0.88134765625,
0.67822265625,
0.88134765625,
0.68798828125,
0.5048828125,
0.68798828125
],
[
0.5048828125,
0.6923828125,
0.8896484375,
0.6923828125,
0.8896484375,
0.70263671875,
0.5048828125,
0.70263671875
],
[
0.08251953125,
0.69873046875,
0.46728515625,
0.69873046875,
0.46728515625,
0.708984375,
0.08251953125,
0.708984375
],
[
0.50341796875,
0.70556640625,
0.88818359375,
0.70556640625,
0.88818359375,
0.7197265625,
0.50341796875,
0.7197265625
],
[
0.08087158203125,
0.7119140625,
0.468017578125,
0.7119140625,
0.468017578125,
0.72607421875,
0.08087158203125,
0.72607421875
],
[
0.5048828125,
0.72265625,
0.88818359375,
0.72265625,
0.88818359375,
0.73291015625,
0.5048828125,
0.73291015625
],
[
0.08416748046875,
0.72900390625,
0.465576171875,
0.72900390625,
0.465576171875,
0.7392578125,
0.08416748046875,
0.7392578125
],
[
0.5048828125,
0.736328125,
0.88623046875,
0.736328125,
0.88623046875,
0.75,
0.5048828125,
0.75
],
[
0.08416748046875,
0.744140625,
0.46728515625,
0.744140625,
0.46728515625,
0.7548828125,
0.08416748046875,
0.7548828125
],
[
0.50341796875,
0.75048828125,
0.8896484375,
0.75048828125,
0.8896484375,
0.7646484375,
0.50341796875,
0.7646484375
],
[
0.08087158203125,
0.75830078125,
0.468017578125,
0.75830078125,
0.468017578125,
0.771484375,
0.08087158203125,
0.771484375
],
[
0.50341796875,
0.7666015625,
0.8896484375,
0.7666015625,
0.8896484375,
0.77978515625,
0.50341796875,
0.77978515625
],
[
0.08087158203125,
0.77294921875,
0.468017578125,
0.77294921875,
0.468017578125,
0.7861328125,
0.08087158203125,
0.7861328125
],
[
0.50341796875,
0.78076171875,
0.86669921875,
0.78076171875,
0.86669921875,
0.79443359375,
0.50341796875,
0.79443359375
],
[
0.08251953125,
0.78857421875,
0.468017578125,
0.78857421875,
0.468017578125,
0.8017578125,
0.08251953125,
0.8017578125
],
[
0.52392578125,
0.796875,
0.8896484375,
0.796875,
0.8896484375,
0.81005859375,
0.52392578125,
0.81005859375
],
[
0.08416748046875,
0.8037109375,
0.340576171875,
0.8037109375,
0.340576171875,
0.814453125,
0.08416748046875,
0.814453125
],
[
0.50634765625,
0.81298828125,
0.8896484375,
0.81298828125,
0.8896484375,
0.82373046875,
0.50634765625,
0.82373046875
],
[
0.101318359375,
0.8193359375,
0.46728515625,
0.8193359375,
0.46728515625,
0.830078125,
0.101318359375,
0.830078125
],
[
0.50341796875,
0.8271484375,
0.88232421875,
0.8271484375,
0.88232421875,
0.84033203125,
0.50341796875,
0.84033203125
],
[
0.08087158203125,
0.83349609375,
0.46728515625,
0.83349609375,
0.46728515625,
0.8466796875,
0.08087158203125,
0.8466796875
],
[
0.08087158203125,
0.84765625,
0.468017578125,
0.84765625,
0.468017578125,
0.861328125,
0.08087158203125,
0.861328125
],
[
0.5048828125,
0.84326171875,
0.8896484375,
0.84326171875,
0.8896484375,
0.85400390625,
0.5048828125,
0.85400390625
],
[
0.080078125,
0.8623046875,
0.336669921875,
0.86279296875,
0.336669921875,
0.87744140625,
0.080078125,
0.876953125
],
[
0.50634765625,
0.859375,
0.8896484375,
0.859375,
0.8896484375,
0.869140625,
0.50634765625,
0.869140625
],
[
0.50341796875,
0.87060546875,
0.890625,
0.8720703125,
0.890625,
0.88623046875,
0.50341796875,
0.88525390625
],
[
0.143798828125,
0.88818359375,
0.406005859375,
0.88818359375,
0.406005859375,
0.9013671875,
0.143798828125,
0.9013671875
],
[
0.4453125,
0.88818359375,
0.468017578125,
0.88818359375,
0.468017578125,
0.90087890625,
0.4453125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.414306640625,
0.892578125,
0.4345703125,
0.892578125,
0.4345703125,
0.896484375,
0.414306640625,
0.896484375
]
] |
[
"并产生新状态St:",
"其中gt和p是基础和预测,f(gt,p)是度量,t是时间",
"步长。这里的直觉是,只有当新的关注窗口有助于增加",
"m-.Hn-b-w",
"ifo≤m-<H",
"度量f而不是无所事事时,才应该给予奖励。我们强",
"",
"Xn",
"Sm,n =",
"br-W<W",
"and 0≤n-",
"制奖励为非负,因为任何负奖励都表明对场景有新的",
"(sm\",",
"T",
"else",
"看法对解释场景是有害的,这应该是严格由于噪音造",
"成的",
"VmE,1....H/h,nEo,1,...Ww。上标描述坐标。",
"至于特定于任务的度量f,对于分段,我们使用顿",
"[at.bt]是关注窗口左上角的相对坐标。[h,w]是窗口的",
"范围的mIoU度量(也称为DAVIS[29I中的J度量)。",
"相对高度和宽度,[0。5、0。5、[0]。25,0。25]在我们",
"但是,对于对象检测,用于对象检测的mAP度量是不",
"的实验中",
"合适的,因为它是量化的,不能反映增量改进。相反",
"Featurepropagation.我们通过将输人特征Xt与过去",
"我们从分割任务中汲取灵感,并将平均框重叠度量定",
"状态St-1中的特征一起封装来对其进行调制。此操作",
"义为对象检测的奖励函数:",
"等效于从当前状态St裁剪稍大的特征Xt:",
"f(gt,p)=",
"1oU(gtk,p)",
"调制特征Xt",
"个",
"(3)",
"[si-k+,j-k+*rw",
",elseifo≤i-k+<",
"Xij=",
"and0≤j-k+br.w<w",
"<当,其中每个预测的得分大于0。5贪婪地匹配到一个",
"(0.",
"else",
"groundtruth框gtk以产生pk。然后,我们对所有K",
"地面实况框的IoU得分进行平均。请注意,为简单起",
"Vie0, l,... H+2k,je0, 1,.., W+2k",
"见,我们完全省略了类标签",
"最后,通过对调制特征",
"X",
":Yt",
"=",
"我们使用DDQN【4I]方法来训练Q函数逼近",
"ValidConu2d(Xt,)执行具有有效填充的2D卷",
"Q(St,At?)中的权重①:",
"积来获得Yt",
"PatchworkCell在整个网络中放置了无数次,即在内",
"0+α(YQ-Q(St, At;0))VeQ(St,At;0) (4)",
"核大小大于1的每个SAME填充卷积的前面,并且在",
"全局操作之前。Sec.A中显示了现成的检测器和分割",
"其中",
"器及其受尊敬的Patchwork修改版本之间的精确比较",
"请注意,PatchworkCells提供的上下文并不精",
"Y = Rt+1+Q(St+1, argmax Q(S+1,a; 0);@') (5)",
"确,并且是两种方式的近似值:1)一种近似值是",
"单元内存中的时间陈旧性,因为这些陈旧特征是从",
"①’是权重的延迟副本,以使Q学习变得不那么自信。",
"过去的顿中提取的,并用于增强当前顿的特征。场",
"是折扣因子,α是学习率",
"景变化越剧烈,这种近似误差就越严重。2)Thecon-",
"textgraduallyprovidedbytheseriesofPatchworkCellsis-",
"3.4. Training details",
"notnumericallyidenticaltoanaturalreceptivefield,i。e.",
"原始预裁剪输人顿的。但是,在一个玩具实验中,我",
"Patchwork的培训有两个重大挑战。首先,实验中基",
"们发现这种类型的错误几乎可以忽略不计,如Sec.B",
"准数据集中的视频训练数据量很小。ImageNetVID有",
"大约一千个独特的培训视频(技术上为3862,但并非",
"所示",
"全部独特),而DAVIS2016只有30个。我们决定通过",
"3.3. Q-Learning reward",
"生成虚假视频来利用大量的单顿数据源。对于单个静",
"现在我们已经定义了状态,动作和Q函数,我们",
"态图像,我们随机采样2个盒子,并通过将视图从一",
"个盒子移动到另一个盒子来构建视频序列。我们确保",
"需要选择适当的奖励来训练注意力网络。良好的时差",
"两个框中至少有一个与一定量的地面实况检测框或分",
"(TD(O))奖励【37]应该是连续的,因为适度良好的动",
"割前景像素重叠,从而使伪造的视频不全是背景。视图",
"作所获得的奖励要比非常出色的动作所获得的奖励要",
"窗口移动的速度符合高斯分布。对于检测和分割任务",
"小。。它还应该具有较低的方差,并且奖励应该与动作",
"我们使用COCO和PascalVOC数据集来增强原始训",
"相关联,而不是场景的整体难度。因此,天真地使用均",
"练集。使用这些数据集来帮助ImageNetVID并不是什",
"值-平均-精度(mAP)进行对象检测或使用均值相交-联",
"么新鲜事,因为24]也使用它们来预先训练其网络",
"合(mloU)进行分割作为奖励函数是不合适的,因为",
"第二个挑战是在小批量中使用高度相关的样本进行",
"它们在很大程度上取决于场景的难度",
"训练。这种相关性使得优化效率较低,因为多个样本将",
"在文献中,从原始奖励中减去固定基线会减少方差",
"梯度大致推向同一方向。更重要的是,这使得批量归一",
"[27]。对于我们的视频案例,我们可以通过使用前一顿",
"的预测来形成当前操作的基线,从而做得更好。也就是",
"化(BN)16,训练任何深度图像模型的关键模块,不",
"说,我们将TD(O)奖励Rt定义为:",
"再适用。为了解决这个问题,我们采用了一个三阶段的",
"训练过程:1)将视频数据拆分为单帧,并与增强数据",
"Rt =max(0,f(gtt,Pt)-f(gtt,Pt-1))",
"(2)",
"混合,以使用BN训练单图像模型;2)我们将训练后",
""
] |
{
"arxiv_id": "1904.01784",
"language": "zh",
"page_idx": 3
}
|
||
1706.00957-zh-1
|
1706.00957-zh-1.jpg
|
# Semantic Vector Encoding and Similarity Search Using Fulltext Search Engines
Michal Rûžička and Vít Novotný and
Jan Rygl and Jan Pomikálek and
Petr Sojka
Radim Šehürek
RaRe Technologies
jimmy@rare- technologies. com
honza@rare- technologies .com radim@rare- technologies. com
Faculty of Informatics, Masaryk University
Botanická 68a, 602 00 Brno, Czechia
mruzicka@mail.muni.cz,
witiko@mail.muni.cz,
sojka@fi.muni.cz ORCID: 0000-0001-5547-8720,
0000-0002-3303-4130,0000-0002-5768-4007
## Abstract
们自然希望利用 Elasticsearch 等现代全文引擎背后的设计和优化,以满足现代 IR 应用程序的可扩展性和健壮性需求。这是本文解决的研究挑战
本文的其余部分描述了将密集向量编码到文本文档中的新颖方法,允许使用传统的倒排索引引擎,并探讨了 IR 精度和速度之间的权衡。出于务实的需求,我们描述了在具体,实用的软件实现上测量的真实数据集上进行的实验结果
Vector representations and vector space modeling (VSM) play a central role in modern machine learning. We propose a novel approach to ‘vector similarity searching' over dense semantic representations of words and documents that can be deployed on top of traditional invertedindex-based fulltext engines, taking advantage of their robustness, stability, scalability and ubiquity. We show that this approach allows the indexing and querying of dense vectors in text domains. This opens up exciting avenues for major efficiency gains, along with simpler deployment, scaling and monitoring. The end result is a fast and scalable vector database with a tunable trade-off between vector search performance and quality, backed by a standard fulltext engine such as Elasticsearch. We empirically demonstrate its querying performance and quality by applying this solution to the task of semantic searching over a dense vector representation of the entire English Wikipedia.
1 Introduction
### 2 $\textbf{Semantic Vector Encoding}$ for Inverted-Index Search Engines
## 2.1 Related Work
向量空间模型 (VSM) 中文档的标准表示形式$\overline{\mathbb{E}}$(Salton and Buckley, 1988) 使用非常高维的术语特征向量。为了将特征空间映射到更小,更密集的潜在语义子空间上,我们可以使用一系列技术,包括潜在语义分析(LSA)E (Deerwester et al., 1990) , 潜在狄利克雷分配(LDA)E(Blei et al., 2003)或许多变体局部敏感哈希 (LSH)E(Gionis et al.,1999)
在 VSM 开发的悠久历史中,已经探索了许多其他提高搜索效率的方法。Weber et al. 进行了最早的严格研究之一,该研究涉及 VSM 的无效性和所谓的维数诅咒。他们评估了几种数据划分和向量逼近方案,在(Weber and Böhm, 2000) 中实现了显著的最近邻搜索加速。(Zezula et al., 2006) 中描述了通过新的索引数据结构设计进行相似性搜索的可伸缩性。$\mathbb{E}$ (Digout et al., 2004) 中提出的降维技术可实现强大的加速,同时表明并非所有特征都具有同等的辨别力,并且由于其密度分布而对效率产生不同的影响。Boytsov 表明,当术语-文档相似性矩阵密集时,$k$ -NN 搜索可以替代基于术语的检索
最近,像 doc2vec$\boxed{\mathrm{F}}$(Le and Mikolov, 2014)这样的深度学习方法和工具在$n$维向量空间中将
在高维向量空间中表示文档的向量空间模型E (Salton et al., 1975) 已通过数十年的研发验证。基于反向索引的信息检索(IR)系统的广泛部署导致了强大的开源 IR 系统的可用性,例如 Sphinx, Lucene 或其流行的,可水平扩展的Elasticsearch 和 Solr 扩展
仅基于一阶文档术语统计信息的文档语义表示,例如 TF-IDF 或 Okapi BM25 ,在表达和搜索召回方面受到限制。如今,基于分布语义和深度学习的方法允许构建语义向量空间模型将单词,句子,段落甚至整个文档表示为高维空间中的向量。
语义向量空间建模的普遍性提出了在这些密集的高维向量空间中进行有效搜索的挑战。我
|
[
[
0.2476806640625,
0.0706787109375,
0.75244140625,
0.07183837890625,
0.75244140625,
0.08905029296875,
0.2476806640625,
0.0885009765625
],
[
0.345947265625,
0.0926513671875,
0.6572265625,
0.0926513671875,
0.6572265625,
0.10687255859375,
0.345947265625,
0.10687255859375
],
[
0.187255859375,
0.1181640625,
0.483642578125,
0.1181640625,
0.483642578125,
0.133056640625,
0.187255859375,
0.133056640625
],
[
0.515625,
0.11639404296875,
0.84814453125,
0.1181640625,
0.84814453125,
0.1318359375,
0.515625,
0.1300048828125
],
[
0.264404296875,
0.1341552734375,
0.40478515625,
0.1341552734375,
0.40478515625,
0.1484375,
0.264404296875,
0.1484375
],
[
0.62109375,
0.133056640625,
0.71533203125,
0.133056640625,
0.71533203125,
0.1478271484375,
0.62109375,
0.1478271484375
],
[
0.255126953125,
0.15087890625,
0.41650390625,
0.152587890625,
0.41650390625,
0.16748046875,
0.255126953125,
0.1650390625
],
[
0.490234375,
0.149658203125,
0.84228515625,
0.15087890625,
0.84228515625,
0.1650390625,
0.490234375,
0.1644287109375
],
[
0.1956787109375,
0.169189453125,
0.48193359375,
0.169189453125,
0.48193359375,
0.182861328125,
0.1956787109375,
0.182861328125
],
[
0.51708984375,
0.16748046875,
0.81787109375,
0.16748046875,
0.81787109375,
0.18115234375,
0.51708984375,
0.18115234375
],
[
0.193115234375,
0.1859130859375,
0.48193359375,
0.1859130859375,
0.48193359375,
0.1995849609375,
0.193115234375,
0.1995849609375
],
[
0.5517578125,
0.182861328125,
0.78076171875,
0.18408203125,
0.78076171875,
0.198974609375,
0.5517578125,
0.19775390625
],
[
0.193115234375,
0.203125,
0.480224609375,
0.203125,
0.480224609375,
0.2161865234375,
0.193115234375,
0.2161865234375
],
[
0.57421875,
0.1995849609375,
0.78076171875,
0.20068359375,
0.78076171875,
0.215576171875,
0.57421875,
0.21435546875
],
[
0.58447265625,
0.21728515625,
0.75732421875,
0.2161865234375,
0.75732421875,
0.23095703125,
0.58447265625,
0.232177734375
],
[
0.5615234375,
0.235107421875,
0.7734375,
0.235107421875,
0.7734375,
0.248779296875,
0.5615234375,
0.248779296875
],
[
0.26611328125,
0.24462890625,
0.343505859375,
0.24462890625,
0.343505859375,
0.2587890625,
0.26611328125,
0.2587890625
],
[
0.5146484375,
0.2529296875,
0.82275390625,
0.2529296875,
0.82275390625,
0.26318359375,
0.5146484375,
0.26318359375
],
[
0.14697265625,
0.267333984375,
0.459228515625,
0.268310546875,
0.459228515625,
0.283203125,
0.14697265625,
0.281982421875
],
[
0.51708984375,
0.27783203125,
0.8818359375,
0.27783203125,
0.8818359375,
0.29150390625,
0.51708984375,
0.29150390625
],
[
0.1485595703125,
0.28515625,
0.459228515625,
0.28515625,
0.459228515625,
0.2998046875,
0.1485595703125,
0.2998046875
],
[
0.51708984375,
0.29443359375,
0.8818359375,
0.29443359375,
0.8818359375,
0.30810546875,
0.51708984375,
0.30810546875
],
[
0.14697265625,
0.3017578125,
0.459228515625,
0.3017578125,
0.459228515625,
0.3154296875,
0.14697265625,
0.3154296875
],
[
0.515625,
0.311279296875,
0.88330078125,
0.311279296875,
0.88330078125,
0.32470703125,
0.515625,
0.32470703125
],
[
0.14697265625,
0.317626953125,
0.45751953125,
0.317626953125,
0.45751953125,
0.330810546875,
0.14697265625,
0.330810546875
],
[
0.5146484375,
0.32666015625,
0.57275390625,
0.32666015625,
0.57275390625,
0.341552734375,
0.5146484375,
0.341552734375
],
[
0.14697265625,
0.334228515625,
0.459228515625,
0.334228515625,
0.459228515625,
0.347412109375,
0.14697265625,
0.347412109375
],
[
0.14697265625,
0.3486328125,
0.459228515625,
0.349853515625,
0.459228515625,
0.363525390625,
0.14697265625,
0.3623046875
],
[
0.5341796875,
0.34326171875,
0.88330078125,
0.34326171875,
0.88330078125,
0.35693359375,
0.5341796875,
0.35693359375
],
[
0.14697265625,
0.365234375,
0.459228515625,
0.365234375,
0.459228515625,
0.37890625,
0.14697265625,
0.37890625
],
[
0.515625,
0.35986328125,
0.8818359375,
0.35986328125,
0.8818359375,
0.37353515625,
0.515625,
0.37353515625
],
[
0.5146484375,
0.374755859375,
0.8818359375,
0.3759765625,
0.8818359375,
0.39013671875,
0.5146484375,
0.3896484375
],
[
0.14697265625,
0.3818359375,
0.459228515625,
0.3818359375,
0.459228515625,
0.3955078125,
0.14697265625,
0.3955078125
],
[
0.14697265625,
0.39794921875,
0.4609375,
0.39794921875,
0.4609375,
0.410888671875,
0.14697265625,
0.410888671875
],
[
0.515625,
0.392578125,
0.8818359375,
0.392578125,
0.8818359375,
0.40625,
0.515625,
0.40625
],
[
0.1435546875,
0.410888671875,
0.4609375,
0.412109375,
0.4609375,
0.429931640625,
0.1435546875,
0.4287109375
],
[
0.515625,
0.407958984375,
0.8818359375,
0.407958984375,
0.8818359375,
0.421630859375,
0.515625,
0.421630859375
],
[
0.1435546875,
0.427001953125,
0.4609375,
0.427490234375,
0.4609375,
0.4453125,
0.1435546875,
0.44482421875
],
[
0.5146484375,
0.424560546875,
0.53564453125,
0.424560546875,
0.53564453125,
0.43701171875,
0.5146484375,
0.43701171875
],
[
0.14697265625,
0.4453125,
0.459228515625,
0.4453125,
0.459228515625,
0.460205078125,
0.14697265625,
0.460205078125
],
[
0.515625,
0.457275390625,
0.52880859375,
0.457275390625,
0.52880859375,
0.46728515625,
0.515625,
0.46728515625
],
[
0.54736328125,
0.454833984375,
0.779296875,
0.4560546875,
0.779296875,
0.47021484375,
0.54736328125,
0.4697265625
],
[
0.145263671875,
0.4619140625,
0.4609375,
0.46142578125,
0.4609375,
0.4755859375,
0.145263671875,
0.476806640625
],
[
0.54248046875,
0.471435546875,
0.84033203125,
0.471435546875,
0.84033203125,
0.486328125,
0.54248046875,
0.486328125
],
[
0.14697265625,
0.478515625,
0.4609375,
0.478515625,
0.4609375,
0.493408203125,
0.14697265625,
0.493408203125
],
[
0.14697265625,
0.49462890625,
0.459228515625,
0.49462890625,
0.459228515625,
0.50830078125,
0.14697265625,
0.50830078125
],
[
0.51318359375,
0.498779296875,
0.67236328125,
0.498779296875,
0.67236328125,
0.51318359375,
0.51318359375,
0.51318359375
],
[
0.14697265625,
0.51025390625,
0.459228515625,
0.51025390625,
0.459228515625,
0.52392578125,
0.14697265625,
0.52392578125
],
[
0.14697265625,
0.52685546875,
0.459228515625,
0.52685546875,
0.459228515625,
0.54052734375,
0.14697265625,
0.54052734375
],
[
0.51708984375,
0.5224609375,
0.88330078125,
0.5224609375,
0.88330078125,
0.5361328125,
0.51708984375,
0.5361328125
],
[
0.14697265625,
0.5419921875,
0.45751953125,
0.5419921875,
0.45751953125,
0.5556640625,
0.14697265625,
0.5556640625
],
[
0.515625,
0.5380859375,
0.88330078125,
0.5380859375,
0.88330078125,
0.552734375,
0.515625,
0.552734375
],
[
0.14697265625,
0.55810546875,
0.459228515625,
0.55810546875,
0.459228515625,
0.572265625,
0.14697265625,
0.572265625
],
[
0.5146484375,
0.55419921875,
0.880859375,
0.55419921875,
0.880859375,
0.56787109375,
0.5146484375,
0.56787109375
],
[
0.14697265625,
0.57470703125,
0.4609375,
0.57470703125,
0.4609375,
0.58837890625,
0.14697265625,
0.58837890625
],
[
0.515625,
0.57177734375,
0.8818359375,
0.57177734375,
0.8818359375,
0.5849609375,
0.515625,
0.5849609375
],
[
0.1485595703125,
0.59130859375,
0.459228515625,
0.59130859375,
0.459228515625,
0.60498046875,
0.1485595703125,
0.60498046875
],
[
0.515625,
0.58740234375,
0.88330078125,
0.58740234375,
0.88330078125,
0.60107421875,
0.515625,
0.60107421875
],
[
0.14697265625,
0.60693359375,
0.459228515625,
0.60546875,
0.459228515625,
0.62060546875,
0.14697265625,
0.62158203125
],
[
0.5146484375,
0.60400390625,
0.8818359375,
0.60400390625,
0.8818359375,
0.61767578125,
0.5146484375,
0.61767578125
],
[
0.14697265625,
0.62353515625,
0.459228515625,
0.62353515625,
0.459228515625,
0.63720703125,
0.14697265625,
0.63720703125
],
[
0.5146484375,
0.619140625,
0.88330078125,
0.619140625,
0.88330078125,
0.6328125,
0.5146484375,
0.6328125
],
[
0.14697265625,
0.63818359375,
0.414794921875,
0.63818359375,
0.414794921875,
0.65185546875,
0.14697265625,
0.65185546875
],
[
0.5146484375,
0.63525390625,
0.78076171875,
0.63427734375,
0.78076171875,
0.6484375,
0.5146484375,
0.6494140625
],
[
0.5341796875,
0.65283203125,
0.8818359375,
0.65283203125,
0.8818359375,
0.66650390625,
0.5341796875,
0.66650390625
],
[
0.118408203125,
0.662109375,
0.151123046875,
0.662109375,
0.151123046875,
0.67333984375,
0.118408203125,
0.67333984375
],
[
0.1485595703125,
0.66015625,
0.26611328125,
0.6611328125,
0.26611328125,
0.67578125,
0.1485595703125,
0.6748046875
],
[
0.1502685546875,
0.6650390625,
0.154541015625,
0.6650390625,
0.154541015625,
0.67041015625,
0.1502685546875,
0.67041015625
],
[
0.51708984375,
0.66845703125,
0.88330078125,
0.66845703125,
0.88330078125,
0.681640625,
0.51708984375,
0.681640625
],
[
0.118408203125,
0.68505859375,
0.489501953125,
0.68408203125,
0.489501953125,
0.69873046875,
0.118408203125,
0.69970703125
],
[
0.5146484375,
0.68505859375,
0.88330078125,
0.68505859375,
0.88330078125,
0.69873046875,
0.5146484375,
0.69873046875
],
[
0.1175537109375,
0.70068359375,
0.48779296875,
0.70068359375,
0.48779296875,
0.71435546875,
0.1175537109375,
0.71435546875
],
[
0.515625,
0.70166015625,
0.8818359375,
0.70166015625,
0.8818359375,
0.71533203125,
0.515625,
0.71533203125
],
[
0.12176513671875,
0.71875,
0.486083984375,
0.71875,
0.486083984375,
0.732421875,
0.12176513671875,
0.732421875
],
[
0.515625,
0.71728515625,
0.8818359375,
0.71728515625,
0.8818359375,
0.73095703125,
0.515625,
0.73095703125
],
[
0.12005615234375,
0.73291015625,
0.486083984375,
0.73291015625,
0.486083984375,
0.74658203125,
0.12005615234375,
0.74658203125
],
[
0.5146484375,
0.73291015625,
0.8818359375,
0.73291015625,
0.8818359375,
0.74658203125,
0.5146484375,
0.74658203125
],
[
0.12005615234375,
0.75,
0.486083984375,
0.75,
0.486083984375,
0.76318359375,
0.12005615234375,
0.76318359375
],
[
0.5146484375,
0.75,
0.8818359375,
0.75,
0.8818359375,
0.76318359375,
0.5146484375,
0.76318359375
],
[
0.12005615234375,
0.7666015625,
0.316650390625,
0.7666015625,
0.316650390625,
0.77978515625,
0.12005615234375,
0.77978515625
],
[
0.5146484375,
0.765625,
0.88330078125,
0.765625,
0.88330078125,
0.779296875,
0.5146484375,
0.779296875
],
[
0.139404296875,
0.7822265625,
0.489501953125,
0.7822265625,
0.489501953125,
0.7958984375,
0.139404296875,
0.7958984375
],
[
0.51318359375,
0.7822265625,
0.8818359375,
0.7822265625,
0.8818359375,
0.7958984375,
0.51318359375,
0.7958984375
],
[
0.12005615234375,
0.79736328125,
0.48779296875,
0.79736328125,
0.48779296875,
0.8125,
0.12005615234375,
0.8125
],
[
0.515625,
0.79736328125,
0.8818359375,
0.79736328125,
0.8818359375,
0.81103515625,
0.515625,
0.81103515625
],
[
0.118408203125,
0.81396484375,
0.48779296875,
0.81396484375,
0.48779296875,
0.82763671875,
0.118408203125,
0.82763671875
],
[
0.5146484375,
0.8134765625,
0.8818359375,
0.8125,
0.8818359375,
0.82666015625,
0.5146484375,
0.82763671875
],
[
0.12005615234375,
0.83056640625,
0.490234375,
0.83056640625,
0.490234375,
0.84423828125,
0.12005615234375,
0.84423828125
],
[
0.515625,
0.830078125,
0.8818359375,
0.830078125,
0.8818359375,
0.84326171875,
0.515625,
0.84326171875
],
[
0.12005615234375,
0.84716796875,
0.489501953125,
0.84716796875,
0.489501953125,
0.86083984375,
0.12005615234375,
0.86083984375
],
[
0.5146484375,
0.84423828125,
0.88330078125,
0.845703125,
0.88330078125,
0.85986328125,
0.5146484375,
0.859375
],
[
0.118408203125,
0.8623046875,
0.2376708984375,
0.86328125,
0.2376708984375,
0.87744140625,
0.118408203125,
0.876953125
],
[
0.51708984375,
0.86328125,
0.58837890625,
0.86328125,
0.58837890625,
0.87451171875,
0.51708984375,
0.87451171875
],
[
0.1376953125,
0.87890625,
0.48779296875,
0.87890625,
0.48779296875,
0.892578125,
0.1376953125,
0.892578125
],
[
0.5322265625,
0.87890625,
0.8818359375,
0.87890625,
0.8818359375,
0.892578125,
0.5322265625,
0.892578125
],
[
0.12005615234375,
0.8955078125,
0.489501953125,
0.8955078125,
0.489501953125,
0.9091796875,
0.12005615234375,
0.9091796875
],
[
0.5146484375,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.5146484375,
0.9091796875
]
] |
[
"Semantic Vector Encoding and Similarity Search",
"Using Fulltext Search Engines",
"Jan Rygl and Jan Pomikalek and",
"Michal Rizicka and Vit Novotny and",
"Radim Rehurek",
"Petr Sojka",
"RaRe Technologies",
"Faculty of Informatics, Masaryk University",
"jimmy@rare-technologies.com",
"Botanicka 68a, 602 00 Brno, Czechia",
"honza@rare-technologies.com",
"mruzicka@mail.muni.cz,",
"radim@rare-technologies.com",
"witiko@mail.muni.cz,",
"sojka@fi.muni.cz",
"ORCID: 0000-0001-5547-8720,",
"Abstract",
"0000-0002-3303-4130.0000-0002-5768-4007",
"Vector representations and vector space",
"们自然希望利用Elasticsearch等现代全文引擎",
"modeling (VSM) play a central role in",
"背后的设计和优化,以满足现代IR应用程序",
"modern machine learning. We propose",
"的可扩展性和健壮性需求。这是本文解决的研",
"a novel approach to \"vector similarity",
"究挑战",
"searching' over dense semantic represen-",
"tations of words and documents that can",
"本文的其余部分描述了将密集向量编码到文",
"be deployed on top of traditional inverted",
"本文档中的新颖方法,允许使用传统的倒排索",
"引引擎,并探讨了IR精度和速度之间的权衡。",
"index-based fulltext engines, taking advan",
"tage of their robustness, stability, scalabil-",
"出于务实的需求,我们描述了在具体,实用的",
"ity and ubiquity. We show that this ap-",
"软件实现上测量的真实数据集上进行的实验结",
"proach allows the indexing and querying",
"果",
"of dense vectors in text domains. This",
"2",
"SemanticVectorEncoding",
"opens up exciting avenues for major effi-",
"for Inverted-Index Search Engines",
"ciency gains, along with simpler deploy-",
"ment, scaling and monitoring. The end re-",
"2.1 Related Work",
"sult is a fast and scalable vector database",
"with a tunable trade-off between vector",
"向量空间模型(VSM)中文档的标准表示形",
"search performance and quality, backed by",
"式E(SaltonandBuckley,1988)使用非常高维",
"a standard fulltext engine such as Elastic-",
"的术语特征向量。为了将特征空间映射到更",
"search. We empirically demonstrate its",
"小,更密集的潜在语义子空间上,我们可以使",
"querying performance and quality by ap-",
"用一系列技术,包括潜在语义分析(LSA)E",
"plying this solution to the task of semantic",
"(Deerwesteretal.,1990),潜在狄利克雷分配",
"searching over a dense vector representa-",
"(LDA)E(Bleietal.,2003)或许多变体局部敏感",
"tion of the entire English Wikipedia.",
"哈希(LSH)E(Gionis et al.,1999)",
"在VSM开发的悠久历史中,已经探索了许",
"1",
"Introduction",
"",
"多其他提高搜索效率的方法。Weberetal.进",
"在高维向量空间中表示文档的向量空间模型E",
"行了最早的严格研究之一,该研究涉及VSM",
"(Salton etal.,1975)已通过数十年的研发验证。",
"的无效性和所谓的维数诅咒。他们评估了几",
"基于反向索引的信息检索(IR)系统的广泛",
"种数据划分和向量逼近方案,在(Weberand",
"部署导致了强大的开源IR系统的可用性,例",
"Bohm,2000)中实现了显著的最近邻搜索加速。",
"如Sphinx,Lucene或其流行的,可水平扩展的",
"(Zezulaetal.,2006)中描述了通过新的索引数",
"Elasticsearch和Solr扩展",
"据结构设计进行相似性搜索的可伸缩性。E",
"仅基于一阶文档术语统计信息的文档语义表",
"(Digoutetal.,2004)中提出的降维技术可实现",
"示,例如TF-IDF或OkapiBM25,在表达和搜",
"强大的加速,同时表明并非所有特征都具有同",
"索召回方面受到限制。如今,基于分布语义和",
"等的辨别力,并且由于其密度分布而对效率产",
"深度学习的方法允许构建语义向量空间模型,",
"生不同的影响。Boytsov表明,当术语-文档相",
"将单词,句子,段落甚至整个文档表示为高维",
"似性矩阵密集时,k-NN搜索可以替代基于术",
"空间中的向量。",
"语的检索",
"语义向量空间建模的普遍性提出了在这些密",
"最近,像doc2vecELeandMikolov2014)这",
"集的高维向量空间中进行有效搜索的挑战。我",
"样的深度学习方法和工具在n维向量空间中将"
] |
{
"arxiv_id": "1706.00957",
"language": "zh",
"page_idx": 1
}
|
||
1706.00957-zh-2
|
1706.00957-zh-2.jpg
|
文档$\operatorname{ED}$ 的 semantic 表示构造为 $d= | D|$ (密
集) 向量
为了利用现成的和优化的系统进行术语索引和搜索,我们开发了一种方法,用于在编码为纯文本字符串的语义向量空间中表示点。在我们的实验中,我们将在其“香草”设置中使用 Elasticsearch $\boxed{\mathrm{F}}($Gormley and Tong, 2015) 。我们不使用 Elasticsearch 的任何高级功能,例如自定义评分,标记化或$n$ -gram 分析器。因此,我们的方法不依赖于特定于 Elasticsearch 的任何功能,并且可以(有时甚至是可取的) 将 Elasticsearch 替换为其他全文引擎实现
2.2 Our Vector to String Encoding Method
让我们的查询是一个文档,由其向量$\vec{q}$表示, 我们的目标是在$\operatorname{E}D$ 中找到顶部$\operatorname{E}k$ 最相似的文档。我们希望高效地进行搜索,以近乎实时的方式从索引中索引和删除文档,并以可以通过最终并行化来扩展的方式,重新利用设计和实现 Elasticsearch 等系统的重大研究和工程工$\tilde{\text{作}}$
从概念上讲,我们的方法包括将向量特征编码为字符串标记(特征标记),从每个密集向量创建一个文本文档。因此,这些编码的文档在传统的基于倒排索引的搜索引擎中被索引。在查询时,我们使用引擎的全文搜索功能对查询向量进行编码并检索相似向量的子集$\overline {\mathrm{E} }E$ , $|E|\ll|D|$。最后,通过计算与查询向量的精确相似性度量(例如余弦相似性),对候选向量的小集合$\operatorname{E}E$ 进行重新排序。这使搜索有效地成为 two-phase process , 我们的编码全文搜索作为第一阶段,候选重新排名作为第二阶段
# 2.2.1 Encoding Vectors
我们将向量编码为字符串的方法的核心在于将 selected precision 上的向量特征值编码为字符串$\mathbb{E} \text{- 特 征 标 记 。}^{1}$最好在一个小示例中进行演示:让我们采用三个维度的语义向量$\vec{w}=$ [0.12,-0.13,0.065]。每个功能令牌都以其功能标识开头 (例如。g。功能号,例如0、1等。) 后跟一个精确编码架构标识符(如 P2、I10 等。)和编码后的特征值(如 i0d12、ineg0d2 等。)取决于特定的编码方法。我们提出并评估了三种编码方法:
rounding Feature values are rounded to a fixed
number of decimal positions and stored as a string that encodes both the feature
We avoid the use of any special characters such as plus ( +)or minus(-)signs,white spaces etc.inside the tokens. This is used as a safeguard against any unintended tokenization within the fulltext search system, so as to avoid having to define custom tokenizers.
identification and its value. Rounding to two decimal places produces representation of $\vec{w}$ as[ '0P2i0d12', '1P2ineg0d13', '2P2i0d07'].
interval quantizes $\vec{w}$ into intervals of fixed length.
For example, with an interval width of 0.1 , feature values fall into intervals starting at 0.1, -0.2 and 0.0, which we encode as d1 , d2 and d0 , respectively. Combined with the interval length denotation of I10 , the full vector is encoded into the to- $^{\prime}2$I10i0d$0^\prime].$
combined Rounding and interval encoding used
together. Rounding $\vec{w}$ to three decimal places and using intervals of length 0.2 , we get the representation of $\vec{w}$ as feature tokens[ '0P3i0d120', '1P3ineg0d130', ,2P3i0d$065’$,'orsi0d$0’,’1$I5ineg0d2’, $^{\prime}2$I5i0d$\textcircled{\prime}].$
所有这些编码方案背后的直觉是在增加特征稀疏性和保持搜索质量之间进行权衡:我们表明,某些类型的稀疏化实际上几乎不会导致质
量损失,从而可以有效地使用倒排索引 IR 引
擎
# 2.2.2 High-Pass Filtering Techniques
接下来的两种技术背后的原理是过滤掉低重要性的语义向量特征,进一步增加特征稀疏性。这提高了性能,牺牲了质量
$\textbf{Trim: 在 修 整 阶 段 }$,固定阈值$\boxed{\mathrm{E}}-$例如 0。1--使用。具有低于阈值的特征的绝对值的查询中的特征令牌简单地从查询中丢弃。在我们的示例向量$\vec{w}=[0.12,-0.13,0.065]$的情况下,表示第三个特征值 0 的标记。自|0.065|<0.1起删除065
$\textbf{Best: 每 个 向 量 的 特 征 根 据 其 绝 对 值 进 行 排 }$ 序,并且仅将固定数量的最高值特征添加到索${\text{引中,而丢弃其余部分。例如,对于}best=1}$, 从$\operatorname{E}\vec{w}$ 中仅考虑 -0.13 的第二个特征(最高绝对值)
请注意,在这两种情况下,只有当特征范围具有可比性时,这种类型的过滤才有意义。在我们的实验中,所有向量都归一化为单位长度,特征的绝对值从零(无特征重要性)到一(最大特征重要性)
# 2.3 Space and Time Requirements
在本节中,我们总结并比较了我们提出的向量到字符串编码和过滤方法的理论空间和时间要
2
|
[
[
0.12005615234375,
0.07598876953125,
0.486083984375,
0.07598876953125,
0.486083984375,
0.08905029296875,
0.12005615234375,
0.08905029296875
],
[
0.5517578125,
0.07781982421875,
0.88330078125,
0.07781982421875,
0.88330078125,
0.0914306640625,
0.5517578125,
0.0914306640625
],
[
0.12176513671875,
0.09442138671875,
0.193115234375,
0.09442138671875,
0.193115234375,
0.105712890625,
0.12176513671875,
0.105712890625
],
[
0.5498046875,
0.0926513671875,
0.8818359375,
0.0926513671875,
0.8818359375,
0.105712890625,
0.5498046875,
0.105712890625
],
[
0.1368408203125,
0.1092529296875,
0.48779296875,
0.10809326171875,
0.48779296875,
0.122314453125,
0.1368408203125,
0.12353515625
],
[
0.5517578125,
0.1092529296875,
0.88330078125,
0.1092529296875,
0.88330078125,
0.122314453125,
0.5517578125,
0.122314453125
],
[
0.12005615234375,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.12005615234375,
0.1395263671875
],
[
0.5517578125,
0.12353515625,
0.66162109375,
0.1258544921875,
0.66162109375,
0.14013671875,
0.5517578125,
0.1383056640625
],
[
0.12005615234375,
0.141357421875,
0.48779296875,
0.141357421875,
0.48779296875,
0.155029296875,
0.12005615234375,
0.155029296875
],
[
0.51123046875,
0.1484375,
0.8818359375,
0.149658203125,
0.8818359375,
0.1644287109375,
0.51123046875,
0.163330078125
],
[
0.12005615234375,
0.15673828125,
0.486083984375,
0.15673828125,
0.486083984375,
0.17041015625,
0.12005615234375,
0.17041015625
],
[
0.5517578125,
0.166259765625,
0.88330078125,
0.166259765625,
0.88330078125,
0.179931640625,
0.5517578125,
0.179931640625
],
[
0.12005615234375,
0.17333984375,
0.48779296875,
0.17333984375,
0.48779296875,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.5556640625,
0.1859130859375,
0.56494140625,
0.1859130859375,
0.56494140625,
0.191162109375,
0.5556640625,
0.191162109375
],
[
0.55908203125,
0.18115234375,
0.88330078125,
0.1817626953125,
0.88330078125,
0.196533203125,
0.55908203125,
0.1953125
],
[
0.118408203125,
0.188232421875,
0.486083984375,
0.188232421875,
0.486083984375,
0.201904296875,
0.118408203125,
0.201904296875
],
[
0.5517578125,
0.19775390625,
0.88330078125,
0.19775390625,
0.88330078125,
0.21142578125,
0.5517578125,
0.21142578125
],
[
0.12005615234375,
0.2060546875,
0.48779296875,
0.2060546875,
0.48779296875,
0.2203369140625,
0.12005615234375,
0.2203369140625
],
[
0.5498046875,
0.2120361328125,
0.88330078125,
0.213134765625,
0.88330078125,
0.22802734375,
0.5498046875,
0.226806640625
],
[
0.118408203125,
0.221435546875,
0.48779296875,
0.2203369140625,
0.48779296875,
0.235107421875,
0.118408203125,
0.236328125
],
[
0.5498046875,
0.2286376953125,
0.88330078125,
0.2298583984375,
0.88330078125,
0.24462890625,
0.5498046875,
0.243408203125
],
[
0.118408203125,
0.2381591796875,
0.486083984375,
0.2381591796875,
0.486083984375,
0.251708984375,
0.118408203125,
0.251708984375
],
[
0.5556640625,
0.251708984375,
0.56494140625,
0.251708984375,
0.56494140625,
0.255859375,
0.5556640625,
0.255859375
],
[
0.56103515625,
0.2464599609375,
0.88330078125,
0.2464599609375,
0.88330078125,
0.260009765625,
0.56103515625,
0.260009765625
],
[
0.118408203125,
0.254150390625,
0.44580078125,
0.254150390625,
0.44580078125,
0.267333984375,
0.118408203125,
0.267333984375
],
[
0.5498046875,
0.26123046875,
0.884765625,
0.262451171875,
0.884765625,
0.276611328125,
0.5498046875,
0.275634765625
],
[
0.118408203125,
0.28076171875,
0.474365234375,
0.28076171875,
0.474365234375,
0.29443359375,
0.118408203125,
0.29443359375
],
[
0.55517578125,
0.279052734375,
0.6572265625,
0.279052734375,
0.6572265625,
0.290283203125,
0.55517578125,
0.290283203125
],
[
0.12005615234375,
0.3017578125,
0.489501953125,
0.3017578125,
0.489501953125,
0.3154296875,
0.12005615234375,
0.3154296875
],
[
0.5146484375,
0.302734375,
0.8818359375,
0.302734375,
0.8818359375,
0.31640625,
0.5146484375,
0.31640625
],
[
0.12005615234375,
0.318359375,
0.48779296875,
0.318359375,
0.48779296875,
0.33203125,
0.12005615234375,
0.33203125
],
[
0.55322265625,
0.320556640625,
0.6396484375,
0.320556640625,
0.6396484375,
0.33203125,
0.55322265625,
0.33203125
],
[
0.63818359375,
0.319580078125,
0.8818359375,
0.319580078125,
0.8818359375,
0.333251953125,
0.63818359375,
0.333251953125
],
[
0.12176513671875,
0.3349609375,
0.48779296875,
0.3349609375,
0.48779296875,
0.3486328125,
0.12176513671875,
0.3486328125
],
[
0.5517578125,
0.3349609375,
0.88330078125,
0.3349609375,
0.88330078125,
0.3486328125,
0.5517578125,
0.3486328125
],
[
0.118408203125,
0.349853515625,
0.486083984375,
0.349853515625,
0.486083984375,
0.363525390625,
0.118408203125,
0.363525390625
],
[
0.5517578125,
0.350830078125,
0.88330078125,
0.350830078125,
0.88330078125,
0.364013671875,
0.5517578125,
0.364013671875
],
[
0.12176513671875,
0.365234375,
0.486083984375,
0.365234375,
0.486083984375,
0.37890625,
0.12176513671875,
0.37890625
],
[
0.5517578125,
0.36767578125,
0.884765625,
0.36767578125,
0.884765625,
0.38134765625,
0.5517578125,
0.38134765625
],
[
0.12005615234375,
0.3818359375,
0.48779296875,
0.3818359375,
0.48779296875,
0.3955078125,
0.12005615234375,
0.3955078125
],
[
0.55322265625,
0.38427734375,
0.8818359375,
0.38427734375,
0.8818359375,
0.394287109375,
0.55322265625,
0.394287109375
],
[
0.12005615234375,
0.3984375,
0.14111328125,
0.3984375,
0.14111328125,
0.412109375,
0.12005615234375,
0.412109375
],
[
0.55517578125,
0.40087890625,
0.6513671875,
0.40087890625,
0.6513671875,
0.412109375,
0.55517578125,
0.412109375
],
[
0.1368408203125,
0.413330078125,
0.48779296875,
0.41455078125,
0.48779296875,
0.4287109375,
0.1368408203125,
0.427490234375
],
[
0.5322265625,
0.419189453125,
0.88330078125,
0.42041015625,
0.88330078125,
0.435302734375,
0.5322265625,
0.43408203125
],
[
0.12005615234375,
0.431640625,
0.48779296875,
0.431640625,
0.48779296875,
0.4453125,
0.12005615234375,
0.4453125
],
[
0.51318359375,
0.43701171875,
0.8818359375,
0.43701171875,
0.8818359375,
0.45068359375,
0.51318359375,
0.45068359375
],
[
0.12005615234375,
0.44775390625,
0.489501953125,
0.44775390625,
0.489501953125,
0.46142578125,
0.12005615234375,
0.46142578125
],
[
0.5146484375,
0.453125,
0.8818359375,
0.453125,
0.8818359375,
0.466064453125,
0.5146484375,
0.466064453125
],
[
0.12005615234375,
0.463134765625,
0.489501953125,
0.463134765625,
0.489501953125,
0.476806640625,
0.12005615234375,
0.476806640625
],
[
0.51318359375,
0.46728515625,
0.880859375,
0.468505859375,
0.880859375,
0.482666015625,
0.51318359375,
0.482177734375
],
[
0.12176513671875,
0.478515625,
0.489501953125,
0.478515625,
0.489501953125,
0.4921875,
0.12176513671875,
0.4921875
],
[
0.51318359375,
0.486328125,
0.53662109375,
0.486328125,
0.53662109375,
0.49951171875,
0.51318359375,
0.49951171875
],
[
0.12176513671875,
0.495361328125,
0.489501953125,
0.495361328125,
0.489501953125,
0.5087890625,
0.12176513671875,
0.5087890625
],
[
0.12005615234375,
0.51123046875,
0.48779296875,
0.51123046875,
0.48779296875,
0.52490234375,
0.12005615234375,
0.52490234375
],
[
0.51318359375,
0.5087890625,
0.8193359375,
0.5087890625,
0.8193359375,
0.5224609375,
0.51318359375,
0.5224609375
],
[
0.118408203125,
0.52685546875,
0.486083984375,
0.52685546875,
0.486083984375,
0.54052734375,
0.118408203125,
0.54052734375
],
[
0.5146484375,
0.52978515625,
0.87890625,
0.52978515625,
0.87890625,
0.54052734375,
0.5146484375,
0.54052734375
],
[
0.12005615234375,
0.54345703125,
0.48779296875,
0.54345703125,
0.48779296875,
0.55712890625,
0.12005615234375,
0.55712890625
],
[
0.51318359375,
0.54345703125,
0.880859375,
0.54345703125,
0.880859375,
0.55712890625,
0.51318359375,
0.55712890625
],
[
0.12005615234375,
0.55810546875,
0.486083984375,
0.55810546875,
0.486083984375,
0.57177734375,
0.12005615234375,
0.57177734375
],
[
0.515625,
0.5625,
0.73291015625,
0.5625,
0.73291015625,
0.572265625,
0.515625,
0.572265625
],
[
0.118408203125,
0.57470703125,
0.468505859375,
0.57470703125,
0.468505859375,
0.58837890625,
0.118408203125,
0.58837890625
],
[
0.515625,
0.5830078125,
0.88330078125,
0.58447265625,
0.88330078125,
0.5986328125,
0.515625,
0.59716796875
],
[
0.118408203125,
0.599609375,
0.318115234375,
0.599609375,
0.318115234375,
0.61328125,
0.118408203125,
0.61328125
],
[
0.51708984375,
0.60107421875,
0.8818359375,
0.60107421875,
0.8818359375,
0.6142578125,
0.51708984375,
0.6142578125
],
[
0.12176513671875,
0.62158203125,
0.486083984375,
0.62158203125,
0.486083984375,
0.6318359375,
0.12176513671875,
0.6318359375
],
[
0.51708984375,
0.6181640625,
0.880859375,
0.6181640625,
0.880859375,
0.62890625,
0.51708984375,
0.62890625
],
[
0.12005615234375,
0.63525390625,
0.48779296875,
0.63525390625,
0.48779296875,
0.6484375,
0.12005615234375,
0.6484375
],
[
0.5146484375,
0.63134765625,
0.8818359375,
0.6318359375,
0.8818359375,
0.646484375,
0.5146484375,
0.6455078125
],
[
0.12005615234375,
0.65185546875,
0.48779296875,
0.65185546875,
0.48779296875,
0.6650390625,
0.12005615234375,
0.6650390625
],
[
0.515625,
0.6484375,
0.88330078125,
0.6484375,
0.88330078125,
0.662109375,
0.515625,
0.662109375
],
[
0.118408203125,
0.66748046875,
0.486083984375,
0.66748046875,
0.486083984375,
0.68115234375,
0.118408203125,
0.68115234375
],
[
0.51123046875,
0.6630859375,
0.5458984375,
0.6630859375,
0.5458984375,
0.6787109375,
0.51123046875,
0.6787109375
],
[
0.12176513671875,
0.68603515625,
0.486083984375,
0.68603515625,
0.486083984375,
0.69677734375,
0.12176513671875,
0.69677734375
],
[
0.51904296875,
0.68603515625,
0.8818359375,
0.6884765625,
0.8818359375,
0.703125,
0.51904296875,
0.70068359375
],
[
0.12005615234375,
0.70068359375,
0.491943359375,
0.70068359375,
0.491943359375,
0.71533203125,
0.12005615234375,
0.71533203125
],
[
0.5146484375,
0.703125,
0.88330078125,
0.70361328125,
0.88330078125,
0.71875,
0.5146484375,
0.71728515625
],
[
0.12176513671875,
0.71875,
0.489501953125,
0.71875,
0.489501953125,
0.728515625,
0.12176513671875,
0.728515625
],
[
0.51318359375,
0.7197265625,
0.8818359375,
0.72021484375,
0.8818359375,
0.73388671875,
0.51318359375,
0.73291015625
],
[
0.12005615234375,
0.73291015625,
0.489501953125,
0.73291015625,
0.489501953125,
0.74658203125,
0.12005615234375,
0.74658203125
],
[
0.5146484375,
0.736328125,
0.8818359375,
0.736328125,
0.8818359375,
0.75,
0.5146484375,
0.75
],
[
0.12005615234375,
0.75,
0.48193359375,
0.75,
0.48193359375,
0.76025390625,
0.12005615234375,
0.76025390625
],
[
0.5146484375,
0.751953125,
0.5615234375,
0.751953125,
0.5615234375,
0.7666015625,
0.5146484375,
0.7666015625
],
[
0.1175537109375,
0.76318359375,
0.2392578125,
0.76416015625,
0.2392578125,
0.779296875,
0.1175537109375,
0.77783203125
],
[
0.53662109375,
0.77099609375,
0.880859375,
0.77099609375,
0.880859375,
0.78076171875,
0.53662109375,
0.78076171875
],
[
0.515625,
0.78515625,
0.88330078125,
0.78515625,
0.88330078125,
0.798828125,
0.515625,
0.798828125
],
[
0.118408203125,
0.79345703125,
0.489501953125,
0.79345703125,
0.489501953125,
0.80712890625,
0.118408203125,
0.80712890625
],
[
0.5146484375,
0.8017578125,
0.8818359375,
0.8017578125,
0.8818359375,
0.8154296875,
0.5146484375,
0.8154296875
],
[
0.1561279296875,
0.80859375,
0.48779296875,
0.80859375,
0.48779296875,
0.822265625,
0.1561279296875,
0.822265625
],
[
0.515625,
0.81787109375,
0.8818359375,
0.81787109375,
0.8818359375,
0.83056640625,
0.515625,
0.83056640625
],
[
0.154541015625,
0.826171875,
0.48779296875,
0.826171875,
0.48779296875,
0.8388671875,
0.154541015625,
0.8388671875
],
[
0.5146484375,
0.8330078125,
0.6591796875,
0.8330078125,
0.6591796875,
0.84716796875,
0.5146484375,
0.84716796875
],
[
0.139404296875,
0.8466796875,
0.48779296875,
0.8486328125,
0.48779296875,
0.86328125,
0.139404296875,
0.86083984375
],
[
0.515625,
0.85986328125,
0.5615234375,
0.85986328125,
0.5615234375,
0.87060546875,
0.515625,
0.87060546875
],
[
0.55517578125,
0.859375,
0.8017578125,
0.859375,
0.8017578125,
0.87255859375,
0.55517578125,
0.87255859375
],
[
0.118408203125,
0.87060546875,
0.48779296875,
0.87158203125,
0.48779296875,
0.8857421875,
0.118408203125,
0.88525390625
],
[
0.118408203125,
0.86083984375,
0.48779296875,
0.86083984375,
0.48779296875,
0.87451171875,
0.118408203125,
0.87451171875
],
[
0.1175537109375,
0.88525390625,
0.48779296875,
0.88525390625,
0.48779296875,
0.8984375,
0.1175537109375,
0.8984375
],
[
0.515625,
0.88134765625,
0.880859375,
0.88134765625,
0.880859375,
0.89111328125,
0.515625,
0.89111328125
],
[
0.12005615234375,
0.896484375,
0.2880859375,
0.89794921875,
0.2880859375,
0.9091796875,
0.12005615234375,
0.90771484375
],
[
0.515625,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.515625,
0.9091796875
],
[
0.495361328125,
0.93115234375,
0.5087890625,
0.93115234375,
0.5087890625,
0.94482421875,
0.495361328125,
0.94482421875
]
] |
[
"文档ED的semantic表示构造为d=IDl(密",
"identification and its value.Rounding to",
"集)向量",
"two decimal places produces representation",
"为了利用现成的和优化的系统进行术语索",
"of w as['0P2i0d12',\"1P2ineg0d13',",
"引和搜索,我们开发了一种方法,用于在编",
"'2P2i0d07'].",
"码为纯文本字符串的语义向量空间中表示点。",
"interval quantizes w into intervals of fixed length.",
"在我们的实验中,我们将在其“香草”设置中",
"For example, with an interval width of 0.1",
"使用ElasticsearchE(Gormleyand Tong,2015)。",
"",
"feature values fall into intervals starting",
"我们不使用Elasticsearch的任何高级功能,例",
"at 0.1, -0.2 and 0.0, which we encode as",
"如自定义评分,标记化或n-gram分析器。因",
"d1 , d2 and do , respectively. Combined",
"此,我们的方法不依赖于特定于Elasticsearch",
"with the interval length denotation of I10",
"的任何功能,并且可以(有时甚至是可取的)",
"",
"the full vector is encoded into the to-",
"将Elasticsearch替换为其他全文引擎实现",
"kensw=【\"oI10i0d1',\"1110inegod2',",
"2.2Our Vector to String Encoding Method",
"'2I10i0do'l",
"让我们的查询是一个文档,由其向量9表示,",
"combined Rounding and interval encoding used",
"我们的目标是在ED中找到顶部Ek最相似的",
"together.",
"Rounding w to three decimal",
"文档。我们希望高效地进行搜索,以近乎实时",
"places and using intervals of length 0.2,",
"的方式从索引中索引和删除文档,并以可以通",
"we get the representation of w as feature",
"过最终并行化来扩展的方式,重新利用设计和",
"tokens[oP3i0d120',1P3ineg0d130\",",
"实现Elasticsearch等系统的重大研究和工程工",
"2P3i@do65'@I5i@do\".1I5inegQd2\"",
"作",
"'2I5iodo].",
"从概念上讲,我们的方法包括将向量特征编",
"所有这些编码方案背后的直觉是在增加特征",
"码为字符串标记(特征标记),从每个密集向",
"稀疏性和保持搜索质量之间进行权衡:我们表",
"量创建一个文本文档。因此,这些编码的文档",
"明,某些类型的稀疏化实际上几乎不会导致质",
"在传统的基于倒排索引的搜索引擎中被索引。",
"量损失,从而可以有效地使用倒排索引IR引",
"在查询时,我们使用引擎的全文搜索功能对查",
"擎",
"询向量进行编码并检索相似向量的子集EE,",
"IE<IDI。最后,通过计算与查询向量的精确",
"2.2.2High-Pass Filtering Techniques",
"相似性度量(例如余弦相似性),对候选向量",
"接下来的两种技术背后的原理是过滤掉低重要",
"的小集合EE进行重新排序。这使搜索有效地",
"性的语义向量特征,进一步增加特征稀疏性。",
"成为two-phaseprocess,我们的编码全文搜索",
"这提高了性能,性了质量",
"作为第一阶段,候选重新排名作为第二阶段",
"Trim:在修整阶段,固定值E-例如0。1--使",
"2.2.1 Encoding Vectors",
"用。具有低于阈值的特征的绝对值的查询中的",
"我们将向量编码为字符串的方法的核心在于",
"特征令牌简单地从查询中丢弃。在我们的示例",
"将selectedprecision上的向量特征值编码为字",
"向量=[0.12,-0.13,0.065]的情况下,表示第",
"符串E-特征标记。1最好在一个小示例中进行",
"三个特征值0的标记。自10.065|<0.1起删除",
"演示:让我们采用三个维度的语义向量证二",
"065",
"[0.12.-0.13.0.0651。每个功能令牌都以其功能",
"Best:每个向量的特征根据其绝对值进行排",
"标识开头(例如。g。功能号,例如0、1等。)",
"序,并且仅将固定数量的最高值特征添加到索",
"后跟一个精确编码架构标识符(如P2、I10等。",
"引中,而丢弃其余部分。例如,对于best=1,",
")和编码后的特征值(如iod12、inegod2等。",
"从E中仅考虑-0.13的第二个特征(最高绝",
")取决于特定的编码方法。我们提出并评估了",
"对值)",
"三种编码方法:",
"请注意,在这两种情况下,只有当特征范围",
"具有可比性时,这种类型的过滤才有意义。在",
"rounding Feature values are rounded to a fixed",
"我们的实验中,所有向量都归一化为单位长",
"number of decimal positions and stored",
"度,特征的绝对值从零(无特征重要性)到一",
"as a string that encodes both the feature",
"(最大特征重要性)",
"IWe avoid the use of any special characters such as plus (",
"2.3",
" Space and Time Requirements",
"This is used as a safeguard against any unintended tokeniza",
"+) or minus (-) signs, white spaces etc. inside the tokens.",
"tion within the fulltext search system, so as to avoid having",
"在本节中,我们总结并比较了我们提出的向量",
"to define custom tokenizers.",
"到字符串编码和过滤方法的理论空间和时间要",
"2"
] |
{
"arxiv_id": "1706.00957",
"language": "zh",
"page_idx": 2
}
|
||
1706.00957-zh-3
|
1706.00957-zh-3.jpg
|
Efficiency of a naive brute force search: 索引是大小为$nd$的浮点数矩阵,导致$O(nd)$空间
求,以及朴素的线性蛮力搜索的基线。基于倒排索引的分析基于 Lucene 搜索引擎实现$^{2}$的文档
虽然朴素搜索的运行时间是稳定且可预测的,但其他优化方法的效率取决于特征标记编码和过滤后的数据集,例如其词汇大小和预期的帖子列表稀疏性。另一方面,性能可能会受到方法配置方式的影响-例如,不同特征值的预期数量取决于所使用的特征值舍人的精度
效率权衡总结在表 1 中。每个文档表示为由
LSA 通过 TF-IDF 计算的$n$ E特征的向量$\vec{d}$
Baseline- naive brute force search: 朴素基线方法完全避免使用全文搜索,而是将所有$\mathbb{E}$ $d$“索引”向量以其原始密集向量表示形式存储在 RAM 中,作为$n\times d$矩阵。在查询时,它通过矩阵的一次线性扫描来计算查询向量$\boxed{\mathbb{F}}\vec{q}$ 与每个索引文档向量$\mathbb{E}\vec{d}$之间的相似性,并返回得分最高的前$k$ 向量
复杂度。我们选择余弦相似度作为我们的相似度度量。要计算查询与所有$d$ E文档之间的关系,必须将长度为$\operatorname{E}n$的向量$\vec{q}$与维度为$n\times d$ , e 的长度归一化矩阵相乘。g。$O(nd)$。使用$d$ E得分的结果向量,然后在$\overline{\mathrm{E}}O(d)$ 中选择 $k$ $\mathbb{E}$最近的文档作为最终查询结果
Efficiency of encoding: 我们研究了使用基于倒排索引的通用搜索引擎进行索引和搜索时, 向量到字符串编码的效率
在最坏的情况下,我们为每个向量每个维度存储一个令牌。我们需要$O(nd)$空间来存储所有索引文档,就像天真的搜索一样。实际上, 有几个不同的常量,因为朴素搜索为每个特征保存一个浮点数(四个字节),而我们的特征令牌是压缩的字符串编码特征值和倒排索引中稀疏特征位置的索引
查询向量$\vec{q}$的每个维度都包含一个字符串编码特征$q_j$ 。对于每个$q_j$ ,我们获取文档$c_i$以及该文档中的术语频率$t_n$的列表:tf$(t_n,c_i)$
对于这些$(c_i$,tf$(t_n,c_i))$对中的每一个,我们将相应的得分值添加到候选结果文档列表中的文档$c_i$的分数中。分数计算包含一个向量点积运算,其大小为可以在$O(\nu)$中计算的特征词汇表$V$的$\mathbb{E}\nu$。文档 $c_i$ 被添加到所有候选结果文档的集合$C$中,我们以$O(c\log c)$时间对其进行排序,并返回顶部的$k$ 结果。整个搜索以$O(n\cdot p\cdot\nu+c\log c)$步骤执行,其中$p$是预期的发布列表大小,$c=|C|$
$^2$https://lucene.apache.org/core/6\_5\_1/index.
html
3
Efficiency of high-pass filtering: 我们通过仅存储最重要的特征来近似完整的特征向量,例如。g。仅顶部$m$尺寸。与天真的搜索相比,我们节省了空间:只需要$O(md),m\ll n$值
对于每个特征值$q_j$ ,我们必须找到具有相同特征值的所有文档。我们能够在$O(\log j)$步骤中找到特征集,其中$j$ E是特征的不同索引值的数量。因此,我们在$O(l)$ 时间内检索匹配的文档,其中$\iota$回是索引中具有适当特征值的文档数
每个找到的文档都被添加到 set $C$ ,并且它的分数为此点击递增。如果用适当的数据结构表示,例如哈希表,我们能够在$O$(1)时间内添加和递增项目的分数。在所有单独的功能搜索中拥有所有$c=|C|$回候选文档,我们在$O(c)$ 时间内选择并返回顶部的$k$ E项目
组合起来,搜索需要$O(n\cdot(\log j+l)+c)$步骤,其中$j$是每个特征的不同索引值的预期数量,$l$是每个特征值的索引中的文档数量
# 3 Experimental Setup
为了评估我们的方法,我们使用基于 Elasticsearch $\boxed{\mathrm{F}}($Gormley and Tong,2015)的 ScaleText$\underline{\mathrm{E}}($Rygl et al.,2016)作为我们的全文 IR 系统。评估数据集是整个英文维基百科,由4,181,352篇文章组成
## 3.1 Quality Evaluation
质量评估的目的是研究使用余弦相似性作为相似性度量,与精确的朴素蛮力搜索相比,近似“编码向量” 搜索的性能如何。余弦相似度绝对不是唯一可能的度量——我们选择余弦相似度是因为我们需要全自动的评估,不需要任何人为的判断,而且因为余弦相似度非常适合我们的上游应用逻辑
我们使用具有 400 个功能的 LSA 将所有Wikipedia 文档转换为向量。然后,我们从Wikipedia 数据集中随机选择 1,000 个文档作为查询向量。通过对所有向量(整个数据集) 进行朴素的蛮力扫描,我们为每个查询向量确定了 10 个最相似的向量。这成了我们的“黄金标准”
我们将数据集向量编码为各种字符串表示形式,如$\overline{\mathrm{E}}$2.2.1 节中所述,并将其存储在 Elasticsearch 中
为了评估搜索,我们修剪了查询向量中的值(请参阅$\overline{\mathrm{E}}$2.2 节),并将其编码为字符串表示形式。使用这些字符串,我们执行了1,000 次Elasticsearch 搜索。对于每个查询,我们使用Precision@ k 或 归 一 化 贴 现 累 积 收 益 ( nDC$G_{k}$) 测量检索到的文档与黄金标准之间的重叠。顶
|
[
[
0.118408203125,
0.07598876953125,
0.486083984375,
0.07598876953125,
0.486083984375,
0.08905029296875,
0.118408203125,
0.08905029296875
],
[
0.51904296875,
0.07781982421875,
0.8818359375,
0.07781982421875,
0.8818359375,
0.0914306640625,
0.51904296875,
0.0914306640625
],
[
0.12005615234375,
0.09320068359375,
0.489501953125,
0.09320068359375,
0.489501953125,
0.10687255859375,
0.12005615234375,
0.10687255859375
],
[
0.495361328125,
0.097412109375,
0.5087890625,
0.097412109375,
0.5087890625,
0.1015625,
0.495361328125,
0.1015625
],
[
0.5146484375,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.5146484375,
0.10687255859375
],
[
0.12005615234375,
0.10986328125,
0.156982421875,
0.10986328125,
0.156982421875,
0.122314453125,
0.12005615234375,
0.122314453125
],
[
0.515625,
0.10986328125,
0.88330078125,
0.10986328125,
0.88330078125,
0.12353515625,
0.515625,
0.12353515625
],
[
0.1368408203125,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.1368408203125,
0.1395263671875
],
[
0.5146484375,
0.1258544921875,
0.84619140625,
0.1258544921875,
0.84619140625,
0.1395263671875,
0.5146484375,
0.1395263671875
],
[
0.12005615234375,
0.141357421875,
0.48779296875,
0.141357421875,
0.48779296875,
0.155029296875,
0.12005615234375,
0.155029296875
],
[
0.5322265625,
0.142578125,
0.8818359375,
0.142578125,
0.8818359375,
0.15673828125,
0.5322265625,
0.15673828125
],
[
0.12176513671875,
0.157958984375,
0.48779296875,
0.157958984375,
0.48779296875,
0.171630859375,
0.12176513671875,
0.171630859375
],
[
0.515625,
0.157958984375,
0.8818359375,
0.157958984375,
0.8818359375,
0.171630859375,
0.515625,
0.171630859375
],
[
0.12005615234375,
0.17333984375,
0.48779296875,
0.17333984375,
0.48779296875,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.515625,
0.17578125,
0.880859375,
0.17578125,
0.880859375,
0.1859130859375,
0.515625,
0.1859130859375
],
[
0.12005615234375,
0.190673828125,
0.484375,
0.190673828125,
0.484375,
0.20068359375,
0.12005615234375,
0.20068359375
],
[
0.5146484375,
0.190673828125,
0.88330078125,
0.190673828125,
0.88330078125,
0.2037353515625,
0.5146484375,
0.2037353515625
],
[
0.12176513671875,
0.2078857421875,
0.466796875,
0.2078857421875,
0.466796875,
0.218505859375,
0.12176513671875,
0.218505859375
],
[
0.5146484375,
0.2060546875,
0.8818359375,
0.2060546875,
0.8818359375,
0.2197265625,
0.5146484375,
0.2197265625
],
[
0.1368408203125,
0.22265625,
0.486083984375,
0.22265625,
0.486083984375,
0.236328125,
0.1368408203125,
0.236328125
],
[
0.51708984375,
0.223876953125,
0.57080078125,
0.223876953125,
0.57080078125,
0.235107421875,
0.51708984375,
0.235107421875
],
[
0.1175537109375,
0.2381591796875,
0.4609375,
0.2381591796875,
0.4609375,
0.251708984375,
0.1175537109375,
0.251708984375
],
[
0.5322265625,
0.2392578125,
0.8818359375,
0.2392578125,
0.8818359375,
0.2529296875,
0.5322265625,
0.2529296875
],
[
0.1234130859375,
0.26123046875,
0.48779296875,
0.262451171875,
0.48779296875,
0.276611328125,
0.1234130859375,
0.275634765625
],
[
0.515625,
0.255859375,
0.8818359375,
0.255859375,
0.8818359375,
0.26953125,
0.515625,
0.26953125
],
[
0.5146484375,
0.270751953125,
0.8818359375,
0.270751953125,
0.8818359375,
0.283935546875,
0.5146484375,
0.283935546875
],
[
0.12005615234375,
0.27978515625,
0.48779296875,
0.27978515625,
0.48779296875,
0.29345703125,
0.12005615234375,
0.29345703125
],
[
0.5146484375,
0.287353515625,
0.8818359375,
0.287353515625,
0.8818359375,
0.300537109375,
0.5146484375,
0.300537109375
],
[
0.118408203125,
0.29638671875,
0.484375,
0.29638671875,
0.484375,
0.30712890625,
0.118408203125,
0.30712890625
],
[
0.515625,
0.303955078125,
0.884765625,
0.303955078125,
0.884765625,
0.317626953125,
0.515625,
0.317626953125
],
[
0.12005615234375,
0.312255859375,
0.484375,
0.312255859375,
0.484375,
0.322509765625,
0.12005615234375,
0.322509765625
],
[
0.5146484375,
0.319580078125,
0.78662109375,
0.319580078125,
0.78662109375,
0.333251953125,
0.5146484375,
0.333251953125
],
[
0.12005615234375,
0.327880859375,
0.489501953125,
0.327880859375,
0.489501953125,
0.341552734375,
0.12005615234375,
0.341552734375
],
[
0.5322265625,
0.336181640625,
0.8818359375,
0.336181640625,
0.8818359375,
0.349853515625,
0.5322265625,
0.349853515625
],
[
0.12176513671875,
0.34326171875,
0.48779296875,
0.34326171875,
0.48779296875,
0.35693359375,
0.12176513671875,
0.35693359375
],
[
0.515625,
0.35400390625,
0.880859375,
0.35400390625,
0.880859375,
0.364013671875,
0.515625,
0.364013671875
],
[
0.12005615234375,
0.35986328125,
0.30322265625,
0.35986328125,
0.30322265625,
0.37353515625,
0.12005615234375,
0.37353515625
],
[
0.515625,
0.3681640625,
0.83642578125,
0.3681640625,
0.83642578125,
0.3818359375,
0.515625,
0.3818359375
],
[
0.12176513671875,
0.38427734375,
0.486083984375,
0.385498046875,
0.486083984375,
0.399658203125,
0.12176513671875,
0.3984375
],
[
0.12176513671875,
0.402099609375,
0.48779296875,
0.402099609375,
0.48779296875,
0.4150390625,
0.12176513671875,
0.4150390625
],
[
0.509765625,
0.396728515625,
0.72119140625,
0.3984375,
0.72119140625,
0.413330078125,
0.509765625,
0.410888671875
],
[
0.118408203125,
0.41748046875,
0.48779296875,
0.418701171875,
0.48779296875,
0.431640625,
0.118408203125,
0.43115234375
],
[
0.5146484375,
0.424560546875,
0.8818359375,
0.424560546875,
0.8818359375,
0.438232421875,
0.5146484375,
0.438232421875
],
[
0.12176513671875,
0.435302734375,
0.484375,
0.435302734375,
0.484375,
0.4453125,
0.12176513671875,
0.4453125
],
[
0.5146484375,
0.440673828125,
0.880859375,
0.440673828125,
0.880859375,
0.454833984375,
0.5146484375,
0.454833984375
],
[
0.12005615234375,
0.449462890625,
0.489501953125,
0.449462890625,
0.489501953125,
0.463134765625,
0.12005615234375,
0.463134765625
],
[
0.51318359375,
0.457275390625,
0.8818359375,
0.457275390625,
0.8818359375,
0.47021484375,
0.51318359375,
0.47021484375
],
[
0.1234130859375,
0.465576171875,
0.48779296875,
0.46435546875,
0.48779296875,
0.478515625,
0.1234130859375,
0.479736328125
],
[
0.5146484375,
0.473876953125,
0.8818359375,
0.473876953125,
0.8818359375,
0.48681640625,
0.5146484375,
0.48681640625
],
[
0.12005615234375,
0.48095703125,
0.489501953125,
0.48095703125,
0.489501953125,
0.49462890625,
0.12005615234375,
0.49462890625
],
[
0.51318359375,
0.4892578125,
0.68603515625,
0.4892578125,
0.68603515625,
0.5029296875,
0.51318359375,
0.5029296875
],
[
0.118408203125,
0.49755859375,
0.376220703125,
0.49755859375,
0.376220703125,
0.51123046875,
0.118408203125,
0.51123046875
],
[
0.124267578125,
0.52392578125,
0.489501953125,
0.52392578125,
0.489501953125,
0.53759765625,
0.124267578125,
0.53759765625
],
[
0.5146484375,
0.51953125,
0.70947265625,
0.51953125,
0.70947265625,
0.52978515625,
0.5146484375,
0.52978515625
],
[
0.12005615234375,
0.5390625,
0.495361328125,
0.5390625,
0.495361328125,
0.552734375,
0.12005615234375,
0.552734375
],
[
0.515625,
0.54052734375,
0.8818359375,
0.54052734375,
0.8818359375,
0.55419921875,
0.515625,
0.55419921875
],
[
0.12005615234375,
0.5556640625,
0.32421875,
0.5556640625,
0.32421875,
0.5693359375,
0.12005615234375,
0.5693359375
],
[
0.515625,
0.5556640625,
0.8818359375,
0.5556640625,
0.8818359375,
0.5693359375,
0.515625,
0.5693359375
],
[
0.1376953125,
0.57177734375,
0.489501953125,
0.57177734375,
0.489501953125,
0.5849609375,
0.1376953125,
0.5849609375
],
[
0.51318359375,
0.572265625,
0.87890625,
0.572265625,
0.87890625,
0.5830078125,
0.51318359375,
0.5830078125
],
[
0.12005615234375,
0.5859375,
0.48779296875,
0.5859375,
0.48779296875,
0.599609375,
0.12005615234375,
0.599609375
],
[
0.5146484375,
0.58837890625,
0.8818359375,
0.58837890625,
0.8818359375,
0.6015625,
0.5146484375,
0.6015625
],
[
0.12176513671875,
0.60498046875,
0.489501953125,
0.60498046875,
0.489501953125,
0.615234375,
0.12176513671875,
0.615234375
],
[
0.515625,
0.60400390625,
0.8818359375,
0.60400390625,
0.8818359375,
0.61767578125,
0.515625,
0.61767578125
],
[
0.12176513671875,
0.62158203125,
0.48779296875,
0.62158203125,
0.48779296875,
0.6318359375,
0.12176513671875,
0.6318359375
],
[
0.5146484375,
0.62060546875,
0.87890625,
0.62060546875,
0.87890625,
0.63134765625,
0.5146484375,
0.63134765625
],
[
0.12005615234375,
0.6357421875,
0.489501953125,
0.6357421875,
0.489501953125,
0.6494140625,
0.12005615234375,
0.6494140625
],
[
0.5146484375,
0.6357421875,
0.67919921875,
0.6357421875,
0.67919921875,
0.6494140625,
0.5146484375,
0.6494140625
],
[
0.12005615234375,
0.65185546875,
0.48779296875,
0.65185546875,
0.48779296875,
0.6650390625,
0.12005615234375,
0.6650390625
],
[
0.5322265625,
0.65380859375,
0.8818359375,
0.65380859375,
0.8818359375,
0.66748046875,
0.5322265625,
0.66748046875
],
[
0.12005615234375,
0.66845703125,
0.2822265625,
0.66845703125,
0.2822265625,
0.681640625,
0.12005615234375,
0.681640625
],
[
0.5146484375,
0.66943359375,
0.8818359375,
0.66943359375,
0.8818359375,
0.68310546875,
0.5146484375,
0.68310546875
],
[
0.1351318359375,
0.68408203125,
0.489501953125,
0.68310546875,
0.489501953125,
0.69775390625,
0.1351318359375,
0.69873046875
],
[
0.51318359375,
0.68505859375,
0.8818359375,
0.68505859375,
0.8818359375,
0.69873046875,
0.51318359375,
0.69873046875
],
[
0.12005615234375,
0.69970703125,
0.48779296875,
0.69970703125,
0.48779296875,
0.71435546875,
0.12005615234375,
0.71435546875
],
[
0.515625,
0.70166015625,
0.8818359375,
0.70166015625,
0.8818359375,
0.71533203125,
0.515625,
0.71533203125
],
[
0.12176513671875,
0.71630859375,
0.45751953125,
0.71630859375,
0.45751953125,
0.72998046875,
0.12176513671875,
0.72998046875
],
[
0.515625,
0.71875,
0.87890625,
0.71875,
0.87890625,
0.728515625,
0.515625,
0.728515625
],
[
0.1376953125,
0.73291015625,
0.489501953125,
0.73291015625,
0.489501953125,
0.74755859375,
0.1376953125,
0.74755859375
],
[
0.5146484375,
0.73388671875,
0.8818359375,
0.73388671875,
0.8818359375,
0.74755859375,
0.5146484375,
0.74755859375
],
[
0.12005615234375,
0.75,
0.484375,
0.75,
0.484375,
0.76025390625,
0.12005615234375,
0.76025390625
],
[
0.5146484375,
0.75048828125,
0.57861328125,
0.75048828125,
0.57861328125,
0.7626953125,
0.5146484375,
0.7626953125
],
[
0.12176513671875,
0.765625,
0.489501953125,
0.765625,
0.489501953125,
0.779296875,
0.12176513671875,
0.779296875
],
[
0.52880859375,
0.765625,
0.880859375,
0.765625,
0.880859375,
0.779296875,
0.52880859375,
0.779296875
],
[
0.12005615234375,
0.78076171875,
0.489501953125,
0.78076171875,
0.489501953125,
0.79443359375,
0.12005615234375,
0.79443359375
],
[
0.5146484375,
0.7822265625,
0.88330078125,
0.7822265625,
0.88330078125,
0.7958984375,
0.5146484375,
0.7958984375
],
[
0.118408203125,
0.7958984375,
0.48779296875,
0.79638671875,
0.48779296875,
0.81103515625,
0.118408203125,
0.81005859375
],
[
0.51123046875,
0.798828125,
0.5859375,
0.79638671875,
0.5859375,
0.81103515625,
0.51123046875,
0.8134765625
],
[
0.12005615234375,
0.8134765625,
0.48779296875,
0.8134765625,
0.48779296875,
0.82666015625,
0.12005615234375,
0.82666015625
],
[
0.5341796875,
0.8154296875,
0.88330078125,
0.8154296875,
0.88330078125,
0.8291015625,
0.5341796875,
0.8291015625
],
[
0.12005615234375,
0.8291015625,
0.48779296875,
0.8291015625,
0.48779296875,
0.8427734375,
0.12005615234375,
0.8427734375
],
[
0.509765625,
0.830078125,
0.88330078125,
0.83203125,
0.88330078125,
0.845703125,
0.509765625,
0.84326171875
],
[
0.118408203125,
0.845703125,
0.486083984375,
0.845703125,
0.486083984375,
0.859375,
0.118408203125,
0.859375
],
[
0.5146484375,
0.84716796875,
0.88330078125,
0.84716796875,
0.88330078125,
0.86083984375,
0.5146484375,
0.86083984375
],
[
0.118408203125,
0.85986328125,
0.318115234375,
0.86083984375,
0.318115234375,
0.8759765625,
0.118408203125,
0.87451171875
],
[
0.51318359375,
0.8623046875,
0.8818359375,
0.8642578125,
0.8818359375,
0.87744140625,
0.51318359375,
0.8759765625
],
[
0.14111328125,
0.88427734375,
0.48779296875,
0.88427734375,
0.48779296875,
0.89794921875,
0.14111328125,
0.89794921875
],
[
0.5146484375,
0.8798828125,
0.884765625,
0.8798828125,
0.884765625,
0.8935546875,
0.5146484375,
0.8935546875
],
[
0.118408203125,
0.896484375,
0.15283203125,
0.896484375,
0.15283203125,
0.90771484375,
0.118408203125,
0.90771484375
],
[
0.515625,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.515625,
0.9091796875
],
[
0.491943359375,
0.9296875,
0.509765625,
0.9296875,
0.509765625,
0.94482421875,
0.491943359375,
0.94482421875
]
] |
[
"求,以及朴素的线性蛮力搜索的基线。基于倒",
"Efficiencyofhigh-passfiltering:我们通过仅",
"排索引的分析基于Lucene搜索引擎实现2的",
"",
"存储最重要的特征来近似完整的特征向量,例",
"文档",
"如。g。仅顶部m尺寸。与天真的搜索相比,我",
"虽然朴素搜索的运行时间是稳定且可预测",
"们节省了空间:只需要O(md),m<n值",
"的,但其他优化方法的效率取决于特征标记编",
"对于每个特征值qi,我们必须找到具有相",
"码和过滤后的数据集,例如其词汇大小和预期",
"同特征值的所有文档。我们能够在O(log,i)步",
"的帖子列表稀疏性。另一方面,性能可能会受",
"骤中找到特征集:其中E是特征的不同索引",
"到方法配置方式的影响-例如,不同特征值的",
"值的数量。因此,我们在O)时间内检索匹配",
"预期数量取决于所使用的特征值舍入的精度",
"的文档,其中1E是索引中具有适当特征值的",
"效率权衡总结在表1中。每个文档表示为由",
"文档数",
"LSA通过TF-IDF计算的nE特征的向量d",
"每个找到的文档都被添加到setC,并且它",
"Baseline-naive brute force search:朴素基",
"的分数为此点击递增。如果用适当的数据结构",
"表示,例如哈希表,我们能够在O(1)时间内添",
"线方法完全避免使用全文搜索,而是将所有E",
"加和递增项目的分数。在所有单独的功能搜索",
"d“索引”向量以其原始密集向量表示形式存",
"中拥有所有c=ICIE候选文档,我们在O(c)",
"储在RAM中:作为nXd矩阵。在查询时,它",
"时间内选择并返回顶部的kE项目",
"通过矩阵的一次线性扫描来计算查询向量E",
"组合起来,搜索需要O(n·(logj+D)+c)步",
"与每个索引文档向量E之间的相似性,并返",
"骤,其中是每个特征的不同索引值的预期数",
"回得分最高的前k向量",
"量,1是每个特征值的索引中的文档数量",
"Efficiency of a naive bruteforce search:索引",
"是大小为nd的浮点数矩阵,导致O(nd)空间",
"3Experimental Setup",
"复杂度。我们选择余弦相似度作为我们的相似",
"为了评估我们的方法,我们使用基于Elastic",
"度度量。要计算查询与所有dF文档之间的关",
"search E(Gormley and Tong, 2015) 的 Scale",
"系,必须将长度为En的向量q与维度为n×d",
"TextE(Rygletal.,2016)作为我们的全文IR",
",e的长度归一化矩阵相乘。g。O(nd)。使用",
"系统。评估数据集是整个英文维基百科,由",
"dE得分的结果向量,然后在EO(d)中选择k",
"4,181,352篇文章组成",
"E最近的文档作为最终查询结果",
"Efficiencyofencoding:我们研究了使用基于",
"3.1QualityEvaluation",
"倒排索引的通用搜索引擎进行索引和搜索时,",
"质量评估的目的是研究使用余弦相似性作为相",
"向量到字符串编码的效率",
"似性度量,与精确的朴素蛮力搜索相比,近似",
"在最坏的情况下,我们为每个向量每个维度",
"“编码向量”搜索的性能如何。余弦相似度绝",
"存储一个令牌。我们需要O(nd)空间来存储所",
"对不是唯一可能的度量一我们选择余弦相",
"有索引文档,就像天真的搜索一样。实际上,",
"似度是因为我们需要全自动的评估,不需要任",
"有几个不同的常量,因为朴素搜索为每个特征",
"何人为的判断,而且因为余弦相似度非常适合",
"保存一个浮点数(四个字节),而我们的特征",
"我们的上游应用逻辑",
"令牌是压缩的字符串编码特征值和倒排索引中",
"我们使用具有400个功能的LSA将所有",
"稀疏特征位置的索引",
"Wikipedia文档转换为向量。然后,我们从",
"查询向量的每个维度都包含一个字符串编",
"Wikipedia数据集中随机选择1,000个文档作",
"码特征qi。对于每个qi,我们获取文档c;以",
"为查询向量。通过对所有向量(整个数据集)",
"及该文档中的术语频率tn的列表:tf(tn,ci)",
"进行朴素的蛮力扫描,我们为每个香询向量确",
"对于这些(ci,tf(tn,ci))对中的每一个,我们",
"定了10个最相似的向量。这成了我们的“黄",
"将相应的得分值添加到候选结果文档列表中的",
"金标准”",
"文档ci的分数中。分数计算包含一个向量点积",
"我们将数据集向量编码为各种字符串表示形",
"运算,其大小为可以在O(v)中计算的特征词",
"式,如E2.2.1节中所述,并将其存储在Elastic",
"汇表V的Ev。文档ci被添加到所有候选结",
"search 中",
"果文档的集合C中,我们以O(clogc)时间对",
"为了评估搜索,我们修剪了查询向量中的值",
"其进行排序,并返回顶部的k结果。整个搜索",
"(请参阅E2.2.2节),并将其编码为字符串表示",
"以O(n·p·v+clogc)步骤执行,其中p是预期",
"形式。使用这些字符串,我们执行了1,000次",
"的发布列表大小,c=ICI",
"Elasticsearch搜索。对于每个查询,我们使用",
"2https://lucene.apache.org/core/6_5_1/index.",
"Precision@k或归一化贴现累积收益(nDCGk)",
"html",
"测量检索到的文档与黄金标准之间的重叠。顶",
"3"
] |
{
"arxiv_id": "1706.00957",
"language": "zh",
"page_idx": 3
}
|
||
2209.07430-zh-1
|
2209.07430-zh-1.jpg
|
机器阅读,快速和慢速: 模型何时“理解”语言?
Sagnik Ray Choudhury$^{1*,2}$, Anna Rogers$^2$, and Isabelle Augenstein$^{2}$
$^{1}$University of Michigan $^{2}$University of Copenhagen
sagnikraycêgmail.com, arogersêsodas.ku.dk, augenstein@di.ku.dk
<table>
<tbody>
<tr>
<th>classicist.</th>
<th>born vas $ir$</th>
<th>Thoughts $\cdots.$</th>
</tr>
<tr>
<td>Machiav 0n</td>
<td>book by .a 1 $\frac{1}{2}=\frac{1}{2}$ $\frac{1}{2}=\frac{1}{2}$ $\frac{1}{2}=\frac{1}{2}$ $\frac{1}{2}=\frac{1}{2}$</td>
<td> </td>
</tr>
<tr>
<td>Question</td>
<td>th lere Was</td>
<td>Thoughts of</td>
</tr>
<tr>
<td>Machiavelli</td>
<td>7 n</td>
<td> </td>
</tr>
<tr>
<td>Answer:G</td>
<td>$1y$</td>
<td> </td>
</tr>
</tbody>
</table>
Figure 1: A sample question from the SQuAD (Rajpurkar et al., 2016) dataset. green tokens are the words that a reader relying on coreference resolution would take into account, and red tokens are the words that could be used to answer the question with entity type matching.
## $\mathbf{Abstract}$
Two of the most fundamental challenges in Natural Language Understanding (NLU) at present are: (a) how to establish whether deep learning-based models score highly on NLU benchmarks for the `right' reasons; and (b) to understand what those reasons would even be. We investigate the behavior of reading comprehension models with respect to two linguistic‘skills’: coreference resolution and comparison. We propose a definition for the reasoning steps expected from a system that would be‘reading slowly’, and compare that with the behavior of five models of the BERT family of various sizes, observed through saliency scores and counterfactual explanations. We find that for comparison (but not coreference) the systems based on larger encoders are more likely to rely on the ‘right’information, but even they struggle with generalization, suggesting that they still learn specific lexical patterns rather than the general principles of comparison.
### 1 Introduction
$$($Ackerman et al.,2013) 误导$
通常,人类的决策可能基于刻意,谨慎的推理(“缓慢思考”)或快速启发式(“快速思考”)(Kahneman,2011)。这两个过程在阅读理解 (RC)领域具有相似之处:理想情况下, 人类读者会完全处理文本以回答问题,但实际上,我们可能会故意略读而不是阅读以节省精力。即使是有能力的学生也可能被肤浅的暗示
前几代 NLP 模型已经在许多 RC 基准上实现了高性能,但是发现它们经常“快速读取”, 即。e。依赖于浅模式 (Chen et al.,2016; Jia and Liang, 2017; Rychalska et al., 2018) 。微调基于变压器的模型 (Devlin et al., 2019) 仍然有类似的缺点 (Sugawara et al., 2020; Rogers et al., 2020; Sen and Saffari, 2020; $\mathbf{?}$,尤其)在 RC, 以及其他任务 (McCoy et al., 2019; Jin et al., 2020)
* Work done while employed at the University of
Copenhagen
考虑 Figure 1 中的示例。理想情况下,人类读者会构建将代词“he”解析为“LeoStrauss” 的共指链。一种可能的基于启发式的解决方案是实体类型匹配(Jia and Liang, 2017): 模型可以观察到“where”问题只能由“location”回答,并且在两个这样的实体(“Germany”和“UnitedStates”) 中正确的答案(“Germany”) 更接近“born”。这样的启发式推理不会推广到看不见的例子。因此,构建可信且可解释的 RC 系统的关键挑战是确保其决策基于有效的推理步骤。但是,很难确定:(a)该推理应该是什么;(b)黑匣子系统是否遵守它
本研究提出了一个分析 RC 模型的框架,其中包括:(a)定义预期的推理;(b)使用可解释性技术分析模型性能。特别是,我们为涉及共引用解析和比较的 RC 问题提供了一个案例研究:我们为它们定义了预期的“推理”(§2 ),并结合使用基于显着性和反事实的解释(§3 )来分析基于 BERT 和 RoBERTa 编码器的 RC 系统各种尺寸(§4)。总体而言,我们发现较大的模型更有可能依赖于“正确”的信息,但即使他们似乎学习特定的词汇模式,而不是潜在的语言现象
|
[
[
0.376220703125,
0.09320068359375,
0.62646484375,
0.09320068359375,
0.62646484375,
0.11102294921875,
0.376220703125,
0.11102294921875
],
[
0.370361328125,
0.11224365234375,
0.63037109375,
0.1134033203125,
0.63037109375,
0.1312255859375,
0.370361328125,
0.1300048828125
],
[
0.2275390625,
0.1484375,
0.77490234375,
0.1484375,
0.77490234375,
0.163330078125,
0.2275390625,
0.163330078125
],
[
0.4013671875,
0.17578125,
0.60107421875,
0.1776123046875,
0.60107421875,
0.1923828125,
0.4013671875,
0.190673828125
],
[
0.3896484375,
0.1923828125,
0.611328125,
0.19482421875,
0.611328125,
0.208984375,
0.3896484375,
0.207275390625
],
[
0.1292724609375,
0.21142578125,
0.87744140625,
0.210205078125,
0.87744140625,
0.2244873046875,
0.1292724609375,
0.2257080078125
],
[
0.2626953125,
0.254150390625,
0.340087890625,
0.254150390625,
0.340087890625,
0.268310546875,
0.2626953125,
0.268310546875
],
[
0.5283203125,
0.260009765625,
0.86376953125,
0.260009765625,
0.86376953125,
0.273681640625,
0.5283203125,
0.273681640625
],
[
0.5283203125,
0.275634765625,
0.779296875,
0.275634765625,
0.779296875,
0.289306640625,
0.5283203125,
0.289306640625
],
[
0.78076171875,
0.276611328125,
0.86376953125,
0.276611328125,
0.86376953125,
0.2880859375,
0.78076171875,
0.2880859375
],
[
0.5283203125,
0.29345703125,
0.78271484375,
0.29345703125,
0.78271484375,
0.30712890625,
0.5283203125,
0.30712890625
],
[
0.145263671875,
0.27978515625,
0.45751953125,
0.27978515625,
0.45751953125,
0.29443359375,
0.145263671875,
0.29443359375
],
[
0.145263671875,
0.295654296875,
0.45751953125,
0.295654296875,
0.45751953125,
0.308837890625,
0.145263671875,
0.308837890625
],
[
0.14697265625,
0.308837890625,
0.456787109375,
0.308837890625,
0.456787109375,
0.322509765625,
0.14697265625,
0.322509765625
],
[
0.52880859375,
0.311279296875,
0.59765625,
0.311279296875,
0.59765625,
0.322509765625,
0.52880859375,
0.322509765625
],
[
0.60791015625,
0.308837890625,
0.66015625,
0.308837890625,
0.66015625,
0.32373046875,
0.60791015625,
0.32373046875
],
[
0.65576171875,
0.311279296875,
0.86376953125,
0.311279296875,
0.86376953125,
0.32177734375,
0.65576171875,
0.32177734375
],
[
0.145263671875,
0.32373046875,
0.45751953125,
0.32373046875,
0.45751953125,
0.33740234375,
0.145263671875,
0.33740234375
],
[
0.5283203125,
0.32373046875,
0.6513671875,
0.32470703125,
0.6513671875,
0.339111328125,
0.5283203125,
0.33837890625
],
[
0.14697265625,
0.33837890625,
0.45751953125,
0.33837890625,
0.45751953125,
0.3515625,
0.14697265625,
0.3515625
],
[
0.5283203125,
0.33740234375,
0.64404296875,
0.33837890625,
0.64404296875,
0.349853515625,
0.5283203125,
0.3486328125
],
[
0.14697265625,
0.350830078125,
0.455078125,
0.350830078125,
0.455078125,
0.364013671875,
0.14697265625,
0.364013671875
],
[
0.14697265625,
0.36767578125,
0.455078125,
0.36767578125,
0.455078125,
0.377685546875,
0.14697265625,
0.377685546875
],
[
0.51318359375,
0.37060546875,
0.87744140625,
0.37060546875,
0.87744140625,
0.38427734375,
0.51318359375,
0.38427734375
],
[
0.1485595703125,
0.3818359375,
0.456787109375,
0.3818359375,
0.456787109375,
0.392578125,
0.1485595703125,
0.392578125
],
[
0.515625,
0.38427734375,
0.634765625,
0.38427734375,
0.634765625,
0.394287109375,
0.515625,
0.394287109375
],
[
0.63037109375,
0.38427734375,
0.72119140625,
0.383056640625,
0.72119140625,
0.394287109375,
0.63037109375,
0.3955078125
],
[
0.74072265625,
0.385986328125,
0.77734375,
0.385986328125,
0.77734375,
0.393798828125,
0.74072265625,
0.393798828125
],
[
0.77685546875,
0.385986328125,
0.87744140625,
0.385986328125,
0.87744140625,
0.393798828125,
0.77685546875,
0.393798828125
],
[
0.145263671875,
0.393798828125,
0.45751953125,
0.394287109375,
0.45751953125,
0.407958984375,
0.145263671875,
0.40673828125
],
[
0.51123046875,
0.39794921875,
0.87890625,
0.39794921875,
0.87890625,
0.410888671875,
0.51123046875,
0.410888671875
],
[
0.145263671875,
0.4091796875,
0.45751953125,
0.4091796875,
0.45751953125,
0.4228515625,
0.145263671875,
0.4228515625
],
[
0.51318359375,
0.410400390625,
0.87890625,
0.410888671875,
0.87890625,
0.424560546875,
0.51318359375,
0.42333984375
],
[
0.145263671875,
0.4228515625,
0.459228515625,
0.421630859375,
0.459228515625,
0.435791015625,
0.145263671875,
0.43701171875
],
[
0.51123046875,
0.42333984375,
0.74658203125,
0.424560546875,
0.74658203125,
0.435791015625,
0.51123046875,
0.435302734375
],
[
0.14697265625,
0.43701171875,
0.45751953125,
0.43701171875,
0.45751953125,
0.45068359375,
0.14697265625,
0.45068359375
],
[
0.14697265625,
0.453125,
0.456787109375,
0.453125,
0.456787109375,
0.463134765625,
0.14697265625,
0.463134765625
],
[
0.14697265625,
0.46728515625,
0.455078125,
0.46728515625,
0.455078125,
0.47802734375,
0.14697265625,
0.47802734375
],
[
0.14697265625,
0.479736328125,
0.456787109375,
0.478515625,
0.456787109375,
0.4921875,
0.14697265625,
0.493408203125
],
[
0.145263671875,
0.493408203125,
0.45751953125,
0.493408203125,
0.45751953125,
0.50732421875,
0.145263671875,
0.50732421875
],
[
0.1485595703125,
0.5087890625,
0.453369140625,
0.5087890625,
0.453369140625,
0.51953125,
0.1485595703125,
0.51953125
],
[
0.145263671875,
0.521484375,
0.456787109375,
0.521484375,
0.456787109375,
0.53515625,
0.145263671875,
0.53515625
],
[
0.52880859375,
0.51953125,
0.880859375,
0.52099609375,
0.880859375,
0.53515625,
0.52880859375,
0.53369140625
],
[
0.1435546875,
0.53515625,
0.45751953125,
0.5361328125,
0.45751953125,
0.55029296875,
0.1435546875,
0.5498046875
],
[
0.51318359375,
0.53759765625,
0.880859375,
0.53759765625,
0.880859375,
0.55029296875,
0.51318359375,
0.55029296875
],
[
0.14697265625,
0.55029296875,
0.45751953125,
0.55029296875,
0.45751953125,
0.56396484375,
0.14697265625,
0.56396484375
],
[
0.5146484375,
0.5546875,
0.87890625,
0.5546875,
0.87890625,
0.5654296875,
0.5146484375,
0.5654296875
],
[
0.14697265625,
0.56640625,
0.456787109375,
0.56640625,
0.456787109375,
0.57666015625,
0.14697265625,
0.57666015625
],
[
0.5146484375,
0.5693359375,
0.87890625,
0.5693359375,
0.87890625,
0.5830078125,
0.5146484375,
0.5830078125
],
[
0.14697265625,
0.58056640625,
0.20068359375,
0.58056640625,
0.20068359375,
0.5927734375,
0.14697265625,
0.5927734375
],
[
0.5146484375,
0.5859375,
0.880859375,
0.5859375,
0.880859375,
0.599609375,
0.5146484375,
0.599609375
],
[
0.1502685546875,
0.60498046875,
0.2626953125,
0.60498046875,
0.2626953125,
0.619140625,
0.1502685546875,
0.619140625
],
[
0.51318359375,
0.60107421875,
0.87890625,
0.60107421875,
0.87890625,
0.6142578125,
0.51318359375,
0.6142578125
],
[
0.1175537109375,
0.60693359375,
0.1351318359375,
0.60693359375,
0.1351318359375,
0.6162109375,
0.1175537109375,
0.6162109375
],
[
0.1351318359375,
0.609375,
0.1427001953125,
0.609375,
0.1427001953125,
0.6142578125,
0.1351318359375,
0.6142578125
],
[
0.51318359375,
0.6181640625,
0.880859375,
0.6181640625,
0.880859375,
0.6318359375,
0.51318359375,
0.6318359375
],
[
0.118408203125,
0.63134765625,
0.48779296875,
0.63134765625,
0.48779296875,
0.64453125,
0.118408203125,
0.64453125
],
[
0.51123046875,
0.6328125,
0.87744140625,
0.6328125,
0.87744140625,
0.646484375,
0.51123046875,
0.646484375
],
[
0.118408203125,
0.646484375,
0.484375,
0.646484375,
0.484375,
0.66015625,
0.118408203125,
0.66015625
],
[
0.51318359375,
0.65087890625,
0.87890625,
0.65087890625,
0.87890625,
0.66455078125,
0.51318359375,
0.66455078125
],
[
0.1175537109375,
0.662109375,
0.48779296875,
0.662109375,
0.48779296875,
0.67578125,
0.1175537109375,
0.67578125
],
[
0.51318359375,
0.66650390625,
0.87890625,
0.66650390625,
0.87890625,
0.6796875,
0.51318359375,
0.6796875
],
[
0.1175537109375,
0.677734375,
0.489501953125,
0.6787109375,
0.489501953125,
0.6923828125,
0.1175537109375,
0.69140625
],
[
0.51123046875,
0.68115234375,
0.87890625,
0.68115234375,
0.87890625,
0.69482421875,
0.51123046875,
0.69482421875
],
[
0.12176513671875,
0.6953125,
0.483642578125,
0.6953125,
0.483642578125,
0.7060546875,
0.12176513671875,
0.7060546875
],
[
0.51318359375,
0.69873046875,
0.77099609375,
0.69873046875,
0.77099609375,
0.7119140625,
0.51318359375,
0.7119140625
],
[
0.12005615234375,
0.71142578125,
0.483642578125,
0.71142578125,
0.483642578125,
0.724609375,
0.12005615234375,
0.724609375
],
[
0.118408203125,
0.72802734375,
0.484375,
0.72802734375,
0.484375,
0.7412109375,
0.118408203125,
0.7412109375
],
[
0.1175537109375,
0.74365234375,
0.334228515625,
0.74365234375,
0.334228515625,
0.75732421875,
0.1175537109375,
0.75732421875
],
[
0.5322265625,
0.74365234375,
0.8818359375,
0.7421875,
0.8818359375,
0.75732421875,
0.5322265625,
0.75830078125
],
[
0.1351318359375,
0.7587890625,
0.48779296875,
0.75830078125,
0.48779296875,
0.7724609375,
0.1351318359375,
0.77392578125
],
[
0.51318359375,
0.76025390625,
0.880859375,
0.76025390625,
0.880859375,
0.77392578125,
0.51318359375,
0.77392578125
],
[
0.118408203125,
0.775390625,
0.489501953125,
0.775390625,
0.489501953125,
0.7890625,
0.118408203125,
0.7890625
],
[
0.51318359375,
0.77685546875,
0.880859375,
0.77685546875,
0.880859375,
0.79052734375,
0.51318359375,
0.79052734375
],
[
0.118408203125,
0.79052734375,
0.486083984375,
0.79052734375,
0.486083984375,
0.80419921875,
0.118408203125,
0.80419921875
],
[
0.51318359375,
0.7919921875,
0.880859375,
0.7919921875,
0.880859375,
0.8056640625,
0.51318359375,
0.8056640625
],
[
0.1158447265625,
0.80810546875,
0.483642578125,
0.80810546875,
0.483642578125,
0.82177734375,
0.1158447265625,
0.82177734375
],
[
0.51318359375,
0.80859375,
0.880859375,
0.80859375,
0.880859375,
0.822265625,
0.51318359375,
0.822265625
],
[
0.118408203125,
0.82373046875,
0.484375,
0.82373046875,
0.484375,
0.83740234375,
0.118408203125,
0.83740234375
],
[
0.51318359375,
0.82470703125,
0.880859375,
0.82470703125,
0.880859375,
0.83837890625,
0.51318359375,
0.83837890625
],
[
0.118408203125,
0.84033203125,
0.48779296875,
0.84033203125,
0.48779296875,
0.85400390625,
0.118408203125,
0.85400390625
],
[
0.51318359375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.1158447265625,
0.85546875,
0.486083984375,
0.85546875,
0.486083984375,
0.869140625,
0.1158447265625,
0.869140625
],
[
0.51318359375,
0.85693359375,
0.87890625,
0.85693359375,
0.87890625,
0.87060546875,
0.51318359375,
0.87060546875
],
[
0.118408203125,
0.87255859375,
0.429931640625,
0.87255859375,
0.429931640625,
0.8857421875,
0.118408203125,
0.8857421875
],
[
0.5146484375,
0.87255859375,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.5146484375,
0.88720703125
],
[
0.160400390625,
0.8935546875,
0.48779296875,
0.8935546875,
0.48779296875,
0.90673828125,
0.160400390625,
0.90673828125
],
[
0.5146484375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.5146484375,
0.90283203125
],
[
0.118408203125,
0.90673828125,
0.193115234375,
0.90673828125,
0.193115234375,
0.91845703125,
0.118408203125,
0.91845703125
],
[
0.51123046875,
0.90380859375,
0.62451171875,
0.90478515625,
0.62451171875,
0.91943359375,
0.51123046875,
0.91845703125
]
] |
[
"机器阅读,快速和慢速:",
"模型何时“理解”语言?",
"Sagnik Ray Choudhuryl*,2, Anna Rogers?, and Isabelle Augenstein?",
"University of Michigan",
"2UniversityofCopenhagen",
"sagnikrayc@gmail.com, arogers@sodas.ku.dk, augenstein@di.ku.dk",
"Abstract",
"Context : Leo Strauss was a political philosopher and",
"classicist.He was born in Germany",
"..Thoughts",
"on Machiavelli is a book by Leo Strauss",
"Two of the most fundamental challenges in",
"Natural Language Understanding (NLU) at",
"present are: (a) how to establish whether deep",
"Question :",
"Where",
"was the author of Thoughts of",
"learning-based models score highly on NLU",
"Machiavelliborn?",
"benchmarks for the right' reasons; and (b) to",
"Answer :Germany",
"understand what those reasons would even be.",
"We investigate thebehavior of readingcom",
"Figure 1: A sample question from the SQuAD (Rajpurkal",
"prehensionmodelswithrespecttotwolinguis",
"et al.,2016)dataset.",
"green tokens",
"ethew",
"ordsthatareade",
"tic‘skills':coreference resolution and compar-",
"relying on coreference resolution would take into account",
"ison. We propose a definition for the reason",
"and red tokens are the words that could be used to answer",
"ing steps expected from a system that would",
"the question with entity type matching",
"be 'reading slowly', and compare that with",
"thebehavioroffivemodelsoftheBERTfam",
"ilyof various sizes,observedthrough saliency",
"scores and counterfactual explanations.We",
"find that for comparison (but not coreference)",
"thesystemsbasedonlargerencodersaremore",
"likely to rely on the 'right' information, but",
"考虑Figure1中的示例。理想情况下,人类",
"even they struggle with generalization, sug",
"读者会构建将代词“he”解析为“LeoStrauss”",
"gesting that they still learn specific lexical pat-",
"的共指链。一种可能的基于启发式的解决方案",
"ternsratherthanthegeneralprinciplesofcom",
"是实体类型匹配(JiaandLiang,2017):模型可",
"parison.",
"以观察到“where”问题只能由“location”回",
"Introduction",
"答,并且在两个这样的实体(“Germany”和",
"1",
"",
"“UnitedStates\")中正确的答案(“Germany\")更",
"通常,人类的决策可能基于刻意,谨慎的推",
"接近“born”。这样的启发式推理不会推广到看",
"理(“缓慢思考”)或快速启发式(“快速思",
"不见的例子。因此,构建可信且可解释的RC",
"考”)(Kahneman,2011)。这两个过程在阅读",
"系统的关键挑战是确保其决策基于有效的推理",
"理解(RC)领域具有相似之处:理想情况下,",
"步骤。但是,很难确定:(a)该推理应该是什",
"人类读者会完全处理文本以回答问题,但实际",
"么;(b)黑厘子系统是否遵守它",
"上,我们可能会故意略读而不是阅读以节省精",
"力。即使是有能力的学生也可能被肤浅的暗示",
"(Ackerman et al.,2013)误导",
"本研究提出了一个分析RC模型的框架,其",
"前几代NLP模型已经在许多RC基准上实",
"中包括:(a)定义预期的推理;(b)使用可解",
"现了高性能,但是发现它们经常“快速读取”,",
"释性技术分析模型性能。特别是,我们为涉及",
"即。e。依赖于浅模式(Chenetal.,2016;Jiaand",
"共引用解析和比较的RC问题提供了一个案例",
"Liang,2017;Rychalskaetal.,2018)。微调基于变",
"研究:我们为它们定义了预期的“推理”(S2",
"压器的模型(Devlinetal.,2019)仍然有类似的",
"),并结合使用基于显着性和反事实的解释(s3",
"缺点(Sugawara et al., 2020; Rogers et al., 2020;",
")来分析基于BERT和RoBERTa编码器的RC",
"SenandSaffari,2020?,尤其)在RC,以及其他",
"系统各种尺寸(s4)。总体而言,我们发现较",
"任务(McCoy et al.,2019; Jin et al.,2020)",
"大的模型更有可能依赖于“正确”的信息,但",
"*Work done while employed at the University of",
"即使他们似乎学习特定的词汇模式,而不是潜",
"Copenhagen",
"在的语言现象"
] |
{
"arxiv_id": "2209.07430",
"language": "zh",
"page_idx": 1
}
|
||
2209.07430-zh-2
|
2209.07430-zh-2.jpg
|
### 2 $\textbf{When do RC Model“ Understand’ A}$ $\textbf{Text? }$
# 2.1 Understanding in Humans
尽管至少有三个不同的领域在追求“自然语言理解”的现象,但即使对于人类来说,它的定义也还不够好:心灵哲学(e。g。??),心理学(e。g。??)和教学法(e。g。??)。我们不能在本文的范围内公正地讨论这个主题,但让我们简要概述一下我们在工作中所依赖的关于人类理解的关键前提:
Understanding is not truth-connected: it is “a merely psychological state"(Grimm, 2012) ; Its objects are something like `connections" or ‘relations’ of the phenomenon X to other phenomena (Grimm, 2021) ; It is not binary: teachers routinely talk of `levels of understanding', 'continuum of understanding' or ‘partial understanding’(Nurhuda et al., 2017) ; It is different from ‘knowledge’, i.a. since it is “not transmissible $^{1}$ in the same sense as knowledge is" (Burnyeat and Barnes, 1980) .
如果人类的理解是关于在新的和现有的概念化之间建立联系,那么它的成功取决于一组合适的概念化的预先存在, 可以与之建立联系(这就是为什么e。g。代数是在微积分之前在学校教授的)。Fillmore 的“理解语义”(Fillmore,1985))。这一点,以及其他因素,如动机水平,注意力等。,解释了人类理解的差异:我们可能会掌握新现象的不同方面与我们先前存在的世界观之间的不同可能联系
# 2.2 $\because \mathbf{U}$nderstanding’in Machines
关于人类理解的许多研究都集中在从根本上不适用于当前 NLP 系统的机制上,例如“知识” 适的预先存在的概念化(而编码器即使其权重是随机的,也会对文本进行编码)。由于机制(及其结果)根本不同,因此当前 NLP 系统的“自然语言理解”或“阅读理解””等术语可能
$^{1}$This is why, as any teacher knows from practice, simply presenting the students with definitions or principles does not necessarily result in understanding of those principles or def- $\operatorname{initions}.$
$^2$Marcus and Davis (2019) dispute even the applicability of the term“reading”, declaring the current QA/RC systems
会产生误导。说话而不是“自然语言处理”和
“信息检索”会更准确
虽然像“理解”这样的术语被广泛(错误地) 应用于 AI 研究 (Mitchell, 2021) 中的模型,但它们的定义很少。图灵著名地提出“机器可以思考吗?”这个问题定义不清,不值得认真考虑, 并将其替换为行为测试(与人类法官的对话), 以测试我们何时会说思维发生 (Turing, 1950) 。从概念上讲,这仍然是当今使用的“NLU”基准的基础:我们假设模型要在诸如 GLUE (Wang et al., 2018, 2019) 之类的测试集合上表现良好, 就需要一定的语言理解能力,因此,如果我们的系统在此类行为测试中得分越来越高,这将意味着“NLUs”的进步。但是,就像图灵测试本身被证明是“高度可游戏的”(Marcus et al., 2016)一样,我们的测试也是$^{3}$(Sugawara et al., 2020; Rogers et al., 2020; Sen and Saffari, 2020; ?; McCoy et al., 2019; ?,尤其是)
所有这些都表明,至少,我们需要为此类行为测试的成功标准提供更好的规范。而不是问“我的 RC 模型”理解“语言吗?”我们可以间:“我的 RC 模型是否根据有效的信息检索和推理策略产生其输出?”然后下一个问题是指定哪些策略是有效和可接受的,这可以根据具体情况进行
关于“机器阅读理解”, Dunietz et al.(2020) 最近的一项建议是基于模型是否可以提取某些对于人类读者而言应该是显着的信息(例如。g。故事中的空间、时间、因果关系)。然而,一个模型可以通过一个“错误的”过程来提取这
Thesetofconceptualizationsthateachofuspossess- $\begin{array}{c}\text{样的“正确的”信息,例如。g。一些浅层启发}\\\text{Thesetofconceptualizationsthateachofuspossess-}\\\text{esisunique,sinceitdependsonourexperienceoftheworldđ}\\\text{部分:(a)期望模型从文本中“提取”的特定}\end{array}$
信息;(b)执行这种“提取”的有效过程。这仍然是不够的:模型可以简单地记住正确的答案和策略,以便为一些有限的示例找到它。我们认为第三个关键先决条件是概括的能力:在新的环境中始终如一地使用“正确的”信息寻求策略。$^{4}$
因此,我们为 NLP 系统提出以下一般成功
标准:
和“理解”之间的区别,或者如果人类没有合$\begin{array}{c}\bullet&\textbf{Definition1ANLPsystemhashuman-levelcompetence}\\withresnecttoitstaskXiff.\end{array}$
with respect to its task Y iff:
$( a) \textit{it is able to correctly perform the task X ( identify the}$ $\overline{\text{“functionally illiterate”since they cannot draw the implicit}}$ inferences crucial for human reading.
$^{3}$In fact, the larger the dataset, the more of likely spurious patterns are to occur (Gardner et al., 2021). This presents a fundamental problem for data-hungry deep learning systems: “the models, unable to discern the intentions of the data set s designers, happily recapitulate any statistical patterns they find in the training data" (Linzen, 2020) .
$^{4}$This does not preclude errors(humans make them too).
|
[
[
0.1158447265625,
0.08612060546875,
0.46337890625,
0.08612060546875,
0.46337890625,
0.09979248046875,
0.1158447265625,
0.09979248046875
],
[
0.5146484375,
0.0885009765625,
0.87890625,
0.0885009765625,
0.87890625,
0.09857177734375,
0.5146484375,
0.09857177734375
],
[
0.1485595703125,
0.10394287109375,
0.1956787109375,
0.10394287109375,
0.1956787109375,
0.11517333984375,
0.1485595703125,
0.11517333984375
],
[
0.51318359375,
0.10272216796875,
0.68603515625,
0.10272216796875,
0.68603515625,
0.11639404296875,
0.51318359375,
0.11639404296875
],
[
0.5322265625,
0.1181640625,
0.880859375,
0.1181640625,
0.880859375,
0.1318359375,
0.5322265625,
0.1318359375
],
[
0.1175537109375,
0.12890625,
0.372802734375,
0.12890625,
0.372802734375,
0.142578125,
0.1175537109375,
0.142578125
],
[
0.51318359375,
0.1341552734375,
0.87890625,
0.1341552734375,
0.87890625,
0.1478271484375,
0.51318359375,
0.1478271484375
],
[
0.12005615234375,
0.15087890625,
0.486083984375,
0.15087890625,
0.486083984375,
0.1644287109375,
0.12005615234375,
0.1644287109375
],
[
0.51318359375,
0.1519775390625,
0.87744140625,
0.1519775390625,
0.87744140625,
0.162109375,
0.51318359375,
0.162109375
],
[
0.118408203125,
0.16748046875,
0.486083984375,
0.16748046875,
0.486083984375,
0.18115234375,
0.118408203125,
0.18115234375
],
[
0.509765625,
0.166259765625,
0.8818359375,
0.16748046875,
0.8818359375,
0.1817626953125,
0.509765625,
0.18115234375
],
[
0.12176513671875,
0.182861328125,
0.486083984375,
0.182861328125,
0.486083984375,
0.19775390625,
0.12176513671875,
0.19775390625
],
[
0.51318359375,
0.18408203125,
0.8818359375,
0.18408203125,
0.8818359375,
0.19775390625,
0.51318359375,
0.19775390625
],
[
0.118408203125,
0.1995849609375,
0.48779296875,
0.1995849609375,
0.48779296875,
0.213134765625,
0.118408203125,
0.213134765625
],
[
0.51123046875,
0.1995849609375,
0.880859375,
0.1995849609375,
0.880859375,
0.213134765625,
0.51123046875,
0.213134765625
],
[
0.12005615234375,
0.2161865234375,
0.486083984375,
0.2161865234375,
0.486083984375,
0.226806640625,
0.12005615234375,
0.226806640625
],
[
0.51123046875,
0.215576171875,
0.87890625,
0.215576171875,
0.87890625,
0.2286376953125,
0.51123046875,
0.2286376953125
],
[
0.118408203125,
0.23095703125,
0.48779296875,
0.23095703125,
0.48779296875,
0.24462890625,
0.118408203125,
0.24462890625
],
[
0.51123046875,
0.2298583984375,
0.880859375,
0.232177734375,
0.880859375,
0.2464599609375,
0.51123046875,
0.24462890625
],
[
0.1175537109375,
0.2476806640625,
0.25439453125,
0.2476806640625,
0.25439453125,
0.26123046875,
0.1175537109375,
0.26123046875
],
[
0.51123046875,
0.2476806640625,
0.87890625,
0.2476806640625,
0.87890625,
0.26123046875,
0.51123046875,
0.26123046875
],
[
0.5146484375,
0.26416015625,
0.880859375,
0.26416015625,
0.880859375,
0.27783203125,
0.5146484375,
0.27783203125
],
[
0.51318359375,
0.27978515625,
0.880859375,
0.27978515625,
0.880859375,
0.29345703125,
0.51318359375,
0.29345703125
],
[
0.15283203125,
0.2861328125,
0.48779296875,
0.2861328125,
0.48779296875,
0.2998046875,
0.15283203125,
0.2998046875
],
[
0.51123046875,
0.295654296875,
0.880859375,
0.295654296875,
0.880859375,
0.308837890625,
0.51123046875,
0.308837890625
],
[
0.154541015625,
0.302734375,
0.489501953125,
0.302734375,
0.489501953125,
0.31640625,
0.154541015625,
0.31640625
],
[
0.51123046875,
0.311279296875,
0.87890625,
0.311279296875,
0.87890625,
0.32470703125,
0.51123046875,
0.32470703125
],
[
0.15283203125,
0.318359375,
0.483642578125,
0.318359375,
0.483642578125,
0.33203125,
0.15283203125,
0.33203125
],
[
0.51123046875,
0.32666015625,
0.880859375,
0.327880859375,
0.880859375,
0.342529296875,
0.51123046875,
0.341552734375
],
[
0.15283203125,
0.334228515625,
0.486083984375,
0.334228515625,
0.486083984375,
0.347412109375,
0.15283203125,
0.347412109375
],
[
0.51318359375,
0.344482421875,
0.8818359375,
0.344482421875,
0.8818359375,
0.358154296875,
0.51318359375,
0.358154296875
],
[
0.154541015625,
0.350830078125,
0.484375,
0.350830078125,
0.484375,
0.364013671875,
0.154541015625,
0.364013671875
],
[
0.51123046875,
0.359375,
0.76171875,
0.359375,
0.76171875,
0.372314453125,
0.51123046875,
0.372314453125
],
[
0.154541015625,
0.366455078125,
0.48779296875,
0.366455078125,
0.48779296875,
0.380126953125,
0.154541015625,
0.380126953125
],
[
0.5322265625,
0.377197265625,
0.880859375,
0.377197265625,
0.880859375,
0.39013671875,
0.5322265625,
0.39013671875
],
[
0.154541015625,
0.383056640625,
0.486083984375,
0.383056640625,
0.486083984375,
0.396728515625,
0.154541015625,
0.396728515625
],
[
0.51318359375,
0.392578125,
0.87890625,
0.392578125,
0.87890625,
0.40625,
0.51318359375,
0.40625
],
[
0.154541015625,
0.3984375,
0.486083984375,
0.3984375,
0.486083984375,
0.412109375,
0.154541015625,
0.412109375
],
[
0.15283203125,
0.41455078125,
0.48779296875,
0.41455078125,
0.48779296875,
0.427490234375,
0.15283203125,
0.427490234375
],
[
0.5146484375,
0.4091796875,
0.880859375,
0.4091796875,
0.880859375,
0.4228515625,
0.5146484375,
0.4228515625
],
[
0.15283203125,
0.429931640625,
0.48779296875,
0.429931640625,
0.48779296875,
0.44482421875,
0.15283203125,
0.44482421875
],
[
0.515625,
0.427001953125,
0.87890625,
0.427001953125,
0.87890625,
0.43701171875,
0.515625,
0.43701171875
],
[
0.15283203125,
0.446533203125,
0.484375,
0.446533203125,
0.484375,
0.46142578125,
0.15283203125,
0.46142578125
],
[
0.5146484375,
0.441162109375,
0.880859375,
0.441162109375,
0.880859375,
0.454833984375,
0.5146484375,
0.454833984375
],
[
0.51318359375,
0.457275390625,
0.880859375,
0.457275390625,
0.880859375,
0.47021484375,
0.51318359375,
0.47021484375
],
[
0.5146484375,
0.474365234375,
0.623046875,
0.474365234375,
0.623046875,
0.486328125,
0.5146484375,
0.486328125
],
[
0.53076171875,
0.4892578125,
0.880859375,
0.4892578125,
0.880859375,
0.50439453125,
0.53076171875,
0.50439453125
],
[
0.1368408203125,
0.49755859375,
0.484375,
0.49755859375,
0.484375,
0.51123046875,
0.1368408203125,
0.51123046875
],
[
0.51318359375,
0.505859375,
0.880859375,
0.505859375,
0.880859375,
0.51953125,
0.51318359375,
0.51953125
],
[
0.118408203125,
0.51416015625,
0.486083984375,
0.51416015625,
0.486083984375,
0.52783203125,
0.118408203125,
0.52783203125
],
[
0.51123046875,
0.5224609375,
0.880859375,
0.5224609375,
0.880859375,
0.5361328125,
0.51123046875,
0.5361328125
],
[
0.118408203125,
0.52978515625,
0.484375,
0.52978515625,
0.484375,
0.54345703125,
0.118408203125,
0.54345703125
],
[
0.51123046875,
0.5380859375,
0.85546875,
0.5380859375,
0.85546875,
0.5517578125,
0.51123046875,
0.5517578125
],
[
0.118408203125,
0.5458984375,
0.48779296875,
0.5458984375,
0.48779296875,
0.55859375,
0.118408203125,
0.55859375
],
[
0.51318359375,
0.55419921875,
0.880859375,
0.55419921875,
0.880859375,
0.56787109375,
0.51318359375,
0.56787109375
],
[
0.1158447265625,
0.5625,
0.48779296875,
0.56103515625,
0.48779296875,
0.576171875,
0.1158447265625,
0.57666015625
],
[
0.51123046875,
0.5693359375,
0.880859375,
0.568359375,
0.880859375,
0.5830078125,
0.51123046875,
0.58447265625
],
[
0.1175537109375,
0.57763671875,
0.470947265625,
0.57763671875,
0.470947265625,
0.59130859375,
0.1175537109375,
0.59130859375
],
[
0.515625,
0.5859375,
0.880859375,
0.5849609375,
0.880859375,
0.599609375,
0.515625,
0.60107421875
],
[
0.118408203125,
0.59423828125,
0.52294921875,
0.59423828125,
0.52294921875,
0.60791015625,
0.118408203125,
0.60791015625
],
[
0.51318359375,
0.6025390625,
0.880859375,
0.6025390625,
0.880859375,
0.6162109375,
0.51318359375,
0.6162109375
],
[
0.1175537109375,
0.60986328125,
0.486083984375,
0.60986328125,
0.486083984375,
0.62353515625,
0.1175537109375,
0.62353515625
],
[
0.51318359375,
0.6181640625,
0.880859375,
0.6181640625,
0.880859375,
0.6318359375,
0.51318359375,
0.6318359375
],
[
0.1318359375,
0.626953125,
0.486083984375,
0.626953125,
0.486083984375,
0.64013671875,
0.1318359375,
0.64013671875
],
[
0.51318359375,
0.63525390625,
0.880859375,
0.63525390625,
0.880859375,
0.6484375,
0.51318359375,
0.6484375
],
[
0.118408203125,
0.642578125,
0.486083984375,
0.642578125,
0.486083984375,
0.65625,
0.118408203125,
0.65625
],
[
0.51123046875,
0.6494140625,
0.87890625,
0.6494140625,
0.87890625,
0.6630859375,
0.51123046875,
0.6630859375
],
[
0.118408203125,
0.6591796875,
0.486083984375,
0.6591796875,
0.486083984375,
0.6728515625,
0.118408203125,
0.6728515625
],
[
0.515625,
0.66845703125,
0.87890625,
0.66845703125,
0.87890625,
0.6787109375,
0.515625,
0.6787109375
],
[
0.118408203125,
0.6748046875,
0.28369140625,
0.6748046875,
0.28369140625,
0.6884765625,
0.118408203125,
0.6884765625
],
[
0.51318359375,
0.681640625,
0.87890625,
0.681640625,
0.87890625,
0.6953125,
0.51318359375,
0.6953125
],
[
0.1175537109375,
0.703125,
0.393798828125,
0.703125,
0.393798828125,
0.71630859375,
0.1175537109375,
0.71630859375
],
[
0.509765625,
0.69873046875,
0.59619140625,
0.69677734375,
0.59619140625,
0.71142578125,
0.509765625,
0.71337890625
],
[
0.5322265625,
0.71533203125,
0.880859375,
0.71533203125,
0.880859375,
0.728515625,
0.5322265625,
0.728515625
],
[
0.118408203125,
0.7236328125,
0.484375,
0.7236328125,
0.484375,
0.73681640625,
0.118408203125,
0.73681640625
],
[
0.51123046875,
0.73095703125,
0.56103515625,
0.73095703125,
0.56103515625,
0.7451171875,
0.51123046875,
0.7451171875
],
[
0.118408203125,
0.7412109375,
0.484375,
0.7412109375,
0.484375,
0.751953125,
0.118408203125,
0.751953125
],
[
0.496337890625,
0.75048828125,
0.880859375,
0.75048828125,
0.880859375,
0.76416015625,
0.496337890625,
0.76416015625
],
[
0.118408203125,
0.75732421875,
0.486083984375,
0.75732421875,
0.486083984375,
0.77099609375,
0.118408203125,
0.77099609375
],
[
0.51318359375,
0.76318359375,
0.6826171875,
0.76318359375,
0.6826171875,
0.77685546875,
0.51318359375,
0.77685546875
],
[
0.118408203125,
0.7724609375,
0.486083984375,
0.7724609375,
0.486083984375,
0.7861328125,
0.118408203125,
0.7861328125
],
[
0.118408203125,
0.7890625,
0.483642578125,
0.7890625,
0.483642578125,
0.7998046875,
0.118408203125,
0.7998046875
],
[
0.5224609375,
0.78759765625,
0.8818359375,
0.78759765625,
0.8818359375,
0.80029296875,
0.5224609375,
0.80029296875
],
[
0.1175537109375,
0.8046875,
0.486083984375,
0.8046875,
0.486083984375,
0.818359375,
0.1175537109375,
0.818359375
],
[
0.509765625,
0.80712890625,
0.8818359375,
0.80810546875,
0.8818359375,
0.822265625,
0.509765625,
0.82177734375
],
[
0.1175537109375,
0.8193359375,
0.484375,
0.8193359375,
0.484375,
0.83447265625,
0.1175537109375,
0.83447265625
],
[
0.51318359375,
0.82080078125,
0.73876953125,
0.82177734375,
0.73876953125,
0.8349609375,
0.51318359375,
0.83447265625
],
[
0.5341796875,
0.83447265625,
0.880859375,
0.83447265625,
0.880859375,
0.84716796875,
0.5341796875,
0.84716796875
],
[
0.1376953125,
0.84423828125,
0.48779296875,
0.845703125,
0.48779296875,
0.85986328125,
0.1376953125,
0.859375
],
[
0.5146484375,
0.84716796875,
0.87890625,
0.84716796875,
0.87890625,
0.85791015625,
0.5146484375,
0.85791015625
],
[
0.12005615234375,
0.85986328125,
0.484375,
0.85986328125,
0.484375,
0.87060546875,
0.12005615234375,
0.87060546875
],
[
0.51123046875,
0.85791015625,
0.87890625,
0.85986328125,
0.87890625,
0.87158203125,
0.51123046875,
0.869140625
],
[
0.118408203125,
0.87158203125,
0.486083984375,
0.87158203125,
0.486083984375,
0.8818359375,
0.118408203125,
0.8818359375
],
[
0.515625,
0.87255859375,
0.8759765625,
0.87255859375,
0.8759765625,
0.8798828125,
0.515625,
0.8798828125
],
[
0.1175537109375,
0.8818359375,
0.16455078125,
0.8818359375,
0.16455078125,
0.892578125,
0.1175537109375,
0.892578125
],
[
0.51318359375,
0.88134765625,
0.880859375,
0.88134765625,
0.880859375,
0.89453125,
0.51318359375,
0.89453125
],
[
0.139404296875,
0.8935546875,
0.486083984375,
0.8935546875,
0.486083984375,
0.90673828125,
0.139404296875,
0.90673828125
],
[
0.509765625,
0.892578125,
0.759765625,
0.89111328125,
0.759765625,
0.90625,
0.509765625,
0.90673828125
],
[
0.1175537109375,
0.90625,
0.486083984375,
0.90625,
0.486083984375,
0.91943359375,
0.1175537109375,
0.91943359375
],
[
0.53564453125,
0.90625,
0.873046875,
0.90625,
0.873046875,
0.91943359375,
0.53564453125,
0.91943359375
]
] |
[
"2When do RC Model 'Understand' A",
"会产生误导。说话而不是“自然语言处理”和",
"Text?",
"“信息检索”会更准确",
"虽然像“理解”这样的术语被广泛(错误地)",
"2.1 Understanding in Humans",
"应用于AI研究(Mitchell,2021)中的模型,但它",
"尽管至少有三个不同的领域在追求“自然语言",
"们的定义很少。图灵著名地提出“机器可以思",
"理解”的现象,但即使对于人类来说,它的定",
"考吗?”这个问题定义不清,不值得认真考虑,",
"义也还不够好:心灵哲学(e。g。??),心理学",
"并将其替换为行为测试(与人类法官的对话),",
"(e。g。??)和教学法(e。g。??)。我们不能在",
"以测试我们何时会说思维发生(Turing,1950)。",
"本文的范围内公正地讨论这个主题,但让我们",
"从概念上讲,这仍然是当今使用的“NLU”基准",
"简要概述一下我们在工作中所依赖的关于人类",
"的基础:我们假设模型要在诸如GLUE(Wang",
"理解的关键前提:",
"etal.,2018,2019)之类的测试集合上表现良好",
"就需要一定的语言理解能力,因此,如果我们",
"的系统在此类行为测试中得分越来越高,这将",
"Understanding is not truth-connected: it is \"a",
"意味着“NLUs”的进步。。但是,就像图灵测试",
"merely psychological state\" (Grimm, 2012) ;",
"本身被证明是“高度可游戏的”(Marcusetal.",
"Its objects are something like 'connections",
"2016)一样,我们的测试也是3(Sugawaraetal.",
"or 'relations' of the phenomenon X to other",
"2020; Rogers et al., 2020; Sen and Saffari, 2020;",
"phenomena (Grimm, 2021) ; It is not binary:",
"?;McCoy et al.,2019:?,尤其是)",
"teachers routinely talk of \"levels of under-",
"所有这些都表明,至少,我们需要为此类行",
"standing',‘continuum of understanding or",
"为测试的成功标准提供更好的规范。而不是",
"‘partial understanding' (Nurhuda et al., 2017)",
"; It is different from knowledge', i.a. since",
"问“我的RC模型”理解“语言吗?”我们可以",
"it is “not transmissible I in the same sense as",
"问:“我的RC模型是否根据有效的信息检索",
"knowledge is\"' (Burnyeat and Barnes, 1980) .",
"和推理策略产生其输出?”然后下一个问题是",
"指定哪些策略是有效和可接受的,这可以根据",
"具体情况进行",
"关于“机器阅读理解”,Dunietz etal.(2020)",
"如果人类的理解是关于在新的和现有",
"最近的一项建议是基于模型是否可以提取某些",
"的概念化之间建立联系,那么它的成功",
"对于人类读者而言应该是显着的信息(例如。",
"取决于一组合适的概念化的预先存在,",
"g。故事中的空间、时间、因果关系)。然而,",
"可以与之建立联系(这就是为什么e。",
"个模型可以通过一个“错误的”过程来提取这",
"g。代数是在微积分之前在学校教授的)。",
"样的“正确的”信息,例如。g。一些浅层启发",
"Thesetofconceptualizationsthateachofuspossess-",
"或。因此,“NLU”的定义至少需要两个组成",
"esisunique,sinceitdependsonourexperienceoftheworld(",
"部分:(a)期望模型从文本中“提取”的特定",
"Fillmore的“理解语义”(Fillmore,1985))。这",
"信息;(b)执行这种“提取”的有效过程。这",
"点,以及其他因素,如动机水平,注意力",
"仍然是不够的:模型可以简单地记住正确的答",
"等。,解释了人类理解的差异:我们可能会掌",
"案和策略,以便为一些有限的示例找到它。我",
"握新现象的不同方面与我们先前存在的世界观",
"们认为第三个关键先决条件是概括的能力:在",
"之间的不同可能联系",
"新的环境中始终如一地使用“正确的”信息寻",
"2.2‘Understanding'in Machines",
"求策略。4",
"因此,我们为NLP系统提出以下一般成功",
"关于人类理解的许多研究都集中在从根本上不",
"标准:",
"适用于当前NLP系统的机制上,例如“知识”",
". Definition1 A NLP system has human-level competence",
"和“理解”之间的区别,或者如果人类没有合",
"with respect to its task X iff:",
"适的预先存在的概念化(而编码器即使其权重",
"是随机的,也会对文本进行编码)。由于机制",
"(a) it is able to correctly perform the task X (identify the",
"(及其结果)根本不同,因此当前NLP系统的",
"\"functionally illiterate\" since they cannot draw the implicit",
"“自然语言理解”或“阅读理解”2等术语可能",
"inferences crucial for human reading.",
"In fact, thelarger the dataset, the more of likely spurious",
"'This is why, as any teacher knows from practice, simply",
"patterns are to occur (Gardner et al., 2021) : This presents a",
"presenting thestudents with definitions orprinciples does not",
"fundamental problemfordata-hungrydeeplearning systems",
"necessarily resultin understanding ofthoseprinciples or def-",
"'themodels,unabletodiscerntheintentionsofthedataset",
"initions",
"s designers, happily recapitulate any statistical patterns they",
"2Marcus and Davis (2019) dispute even the applicability",
"find in the training data\" (Linzen, 2020)",
"of the term “reading\", declaring the current QA/RC systems",
"AThis does not preclude errors (humans make them too)."
] |
{
"arxiv_id": "2209.07430",
"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.