id
string | image
string | input
string | system
string | output
string | boxes
list | box_texts
list | detail
dict |
|---|---|---|---|---|---|---|---|
2305.12295-zh-3
|
2305.12295-zh-3.jpg
|
<FigureHere>
Figure 2: Overview of our LOGIC-LM model, which consists of three modules:(1) Problem Formulator generates a symbolic representation for the input problem with LLMs via in-context learning(2) Symbolic Reasoner performs logical inference on the formulated problem, and(3) Result Interpreter interprets the symbolic answer.
## 3 $\mathbf{LOGIC- LM}$
以及一些作为上下文示例的演示,我们观察到LLM, 如 InstructGPT$\boxed{\mathbb{E}}($Ouyang et al., 2022b) 和GPT-4$\boxed{\mathrm{E}}($OpenAI,2023),可以有效地遵循指令来识别问题陈述中存在的关键实体,事实和规则,然后按照我们定义的语法将这些元素翻译成符号语言
具体来说,我们使用四种不同的符号公式来涵盖四种常见类型的逻辑推理问题:演绎推理, 一阶逻辑推理、约束满足问题和分析推理。这些公式为翻译基于自然语言的问题陈述提供了基础。通过定义其他特定于问题的公式,我们的框架保留了灵活性,以适应更广泛的推理任务。接下来,我们将深人研究每个符号表述的语法。每种问题类型的示例都在图 2 中。
如图$\overline{\mathrm{E}}$2 所示,我们模型的输入是用自然语言描述的逻辑推理问题$P$,以及以多项选择或自由形式问题形式的目标$G$。然后,LOGIC-LM 遵循问题表述和推理范式来解决问题
在问题表述阶段,我们提示 LLM 将问题和目标翻译成特定于任务的符号语言。在符号推理阶段,我们称之为确定性符号求解器,即。g。,逻辑编程引擎,以获得符号表示的答案。最后,基于 LLM 或规则的结果解释器负责将答案翻译回自然语言。使用这种方法,只要问题的表述是正确的,就可以保证推理是忠实的, 因为答案$A$是执行确定性算法的结果(e。g。, 向前/向后链接) 嵌入在符号推理器中。与以前基于思想链的方法相比,我们的框架通过将重点从“通过逐步推理解决问题”转移到“用符号语言表示问题”来减轻 LLM 的负担。
$\textbf{Logic Programming ( LP) Language. 演 绎 推 }$ 理通常从已知的事实和规则开始,并迭代地
## 3.1 Problem Formulator
进行新的推论,直到可以证明或反驳目标陈述为止$\overline{\mathbb{E}}($Poole and Mackworth, 2010) 。Prolog 逻辑编程语言(Clocksin and Mellish, 2003; Körnen et al., 2022) 可以说是描述演绎推理问题最突出的符号语言。我们采用其语法将问题表示为事实,规则和查询
$\bullet$事实:事实$F$ 是一个带有谓词和一组参数的简单语句,表示为$P(a_1,\cdots,a_n)$ ,其中$P$是谓词名称,每个参数$a_i$可以是变量,实体,数字或 bool。例如,Age(Peter,31)表示“彼得的
直观上,LLM 可能难以直接解决复杂的推理问题。然而,他们已经证明了理解文本输入并将其转换为正式程序的显着能力,例如数学方程式$\overline{\mathbb{E}}$(He-Yueya et al., 2023)或 Python 代码E (Gao et al., 2023)。我们假设这种将问题表达为不同语言的能力也可以扩展到符号语言。我们利用 LLM 的少量泛化能力来实现这一点。通过向 LLM 提供有关符号语言语法的详细说明,
|
[
[
0.139404296875,
0.0885009765625,
0.231689453125,
0.0885009765625,
0.231689453125,
0.0955810546875,
0.139404296875,
0.0955810546875
],
[
0.364501953125,
0.08905029296875,
0.41650390625,
0.0968017578125,
0.411376953125,
0.11224365234375,
0.359375,
0.1051025390625
],
[
0.364501953125,
0.09027099609375,
0.42236328125,
0.09027099609375,
0.42236328125,
0.09320068359375,
0.364501953125,
0.09320068359375
],
[
0.48779296875,
0.09027099609375,
0.52880859375,
0.09027099609375,
0.52880859375,
0.09320068359375,
0.48779296875,
0.09320068359375
],
[
0.67236328125,
0.08905029296875,
0.7255859375,
0.08905029296875,
0.7255859375,
0.09320068359375,
0.67236328125,
0.09320068359375
],
[
0.78515625,
0.09027099609375,
0.796875,
0.09027099609375,
0.796875,
0.09320068359375,
0.78515625,
0.09320068359375
],
[
0.1427001953125,
0.0968017578125,
0.264404296875,
0.0968017578125,
0.264404296875,
0.10394287109375,
0.1427001953125,
0.10394287109375
],
[
0.408935546875,
0.0968017578125,
0.459228515625,
0.0968017578125,
0.459228515625,
0.10394287109375,
0.408935546875,
0.10394287109375
],
[
0.474365234375,
0.097412109375,
0.497802734375,
0.097412109375,
0.497802734375,
0.1015625,
0.474365234375,
0.1015625
],
[
0.515625,
0.097412109375,
0.54736328125,
0.097412109375,
0.54736328125,
0.1015625,
0.515625,
0.1015625
],
[
0.580078125,
0.0968017578125,
0.6171875,
0.097412109375,
0.6171875,
0.1015625,
0.580078125,
0.1009521484375
],
[
0.151123046875,
0.10394287109375,
0.29296875,
0.10394287109375,
0.29296875,
0.11102294921875,
0.151123046875,
0.11102294921875
],
[
0.1435546875,
0.10986328125,
0.214111328125,
0.11224365234375,
0.214111328125,
0.1181640625,
0.1435546875,
0.11639404296875
],
[
0.359375,
0.114013671875,
0.466796875,
0.114013671875,
0.466796875,
0.12469482421875,
0.359375,
0.12469482421875
],
[
0.466796875,
0.10986328125,
0.53076171875,
0.10986328125,
0.53076171875,
0.1175537109375,
0.466796875,
0.1175537109375
],
[
0.6767578125,
0.114013671875,
0.78515625,
0.114013671875,
0.78515625,
0.12469482421875,
0.6767578125,
0.12469482421875
],
[
0.1376953125,
0.1270751953125,
0.279541015625,
0.1270751953125,
0.279541015625,
0.13720703125,
0.1376953125,
0.13720703125
],
[
0.358642578125,
0.1300048828125,
0.59765625,
0.1300048828125,
0.59765625,
0.14013671875,
0.358642578125,
0.14013671875
],
[
0.68115234375,
0.1318359375,
0.6962890625,
0.1318359375,
0.6962890625,
0.135986328125,
0.68115234375,
0.135986328125
],
[
0.7197265625,
0.1300048828125,
0.744140625,
0.1300048828125,
0.744140625,
0.1341552734375,
0.7197265625,
0.1341552734375
],
[
0.139404296875,
0.13720703125,
0.291259765625,
0.13720703125,
0.291259765625,
0.144287109375,
0.139404296875,
0.144287109375
],
[
0.767578125,
0.1318359375,
0.78271484375,
0.1318359375,
0.78271484375,
0.135986328125,
0.767578125,
0.135986328125
],
[
0.67529296875,
0.1395263671875,
0.76904296875,
0.1395263671875,
0.76904296875,
0.146728515625,
0.67529296875,
0.146728515625
],
[
0.41650390625,
0.1644287109375,
0.5693359375,
0.1644287109375,
0.5693359375,
0.1787109375,
0.41650390625,
0.1787109375
],
[
0.341796875,
0.204833984375,
0.36279296875,
0.204833984375,
0.36279296875,
0.208984375,
0.341796875,
0.208984375
],
[
0.77490234375,
0.204833984375,
0.82373046875,
0.204833984375,
0.82373046875,
0.2120361328125,
0.77490234375,
0.2120361328125
],
[
0.6708984375,
0.207275390625,
0.7060546875,
0.207275390625,
0.7060546875,
0.21142578125,
0.6708984375,
0.21142578125
],
[
0.1427001953125,
0.207275390625,
0.160400390625,
0.207275390625,
0.160400390625,
0.210205078125,
0.1427001953125,
0.210205078125
],
[
0.20654296875,
0.21142578125,
0.312255859375,
0.21142578125,
0.312255859375,
0.218505859375,
0.20654296875,
0.218505859375
],
[
0.4130859375,
0.210205078125,
0.54248046875,
0.210205078125,
0.54248046875,
0.21728515625,
0.4130859375,
0.21728515625
],
[
0.6689453125,
0.21142578125,
0.70947265625,
0.21142578125,
0.70947265625,
0.22265625,
0.6689453125,
0.22265625
],
[
0.7734375,
0.21142578125,
0.84033203125,
0.21142578125,
0.84033203125,
0.2257080078125,
0.7734375,
0.2257080078125
],
[
0.55517578125,
0.213134765625,
0.57861328125,
0.213134765625,
0.57861328125,
0.2161865234375,
0.55517578125,
0.2161865234375
],
[
0.160400390625,
0.2120361328125,
0.208251953125,
0.2120361328125,
0.208251953125,
0.2161865234375,
0.160400390625,
0.2161865234375
],
[
0.339111328125,
0.2161865234375,
0.376220703125,
0.21728515625,
0.376220703125,
0.2244873046875,
0.339111328125,
0.223876953125
],
[
0.58447265625,
0.21435546875,
0.63818359375,
0.21728515625,
0.63623046875,
0.22802734375,
0.58251953125,
0.2244873046875
],
[
0.403076171875,
0.2197265625,
0.484375,
0.2197265625,
0.484375,
0.223876953125,
0.403076171875,
0.223876953125
],
[
0.162841796875,
0.2197265625,
0.2880859375,
0.2197265625,
0.2880859375,
0.226806640625,
0.162841796875,
0.226806640625
],
[
0.50390625,
0.2197265625,
0.56494140625,
0.2197265625,
0.56494140625,
0.223876953125,
0.50390625,
0.223876953125
],
[
0.67236328125,
0.2197265625,
0.7060546875,
0.2197265625,
0.7060546875,
0.226806640625,
0.67236328125,
0.226806640625
],
[
0.77685546875,
0.2203369140625,
0.80419921875,
0.2203369140625,
0.80419921875,
0.22802734375,
0.77685546875,
0.22802734375
],
[
0.340087890625,
0.2257080078125,
0.52880859375,
0.2257080078125,
0.52880859375,
0.2327880859375,
0.340087890625,
0.2327880859375
],
[
0.151123046875,
0.223876953125,
0.2822265625,
0.235107421875,
0.279541015625,
0.254150390625,
0.1485595703125,
0.2423095703125
],
[
0.77685546875,
0.226806640625,
0.85205078125,
0.226806640625,
0.85205078125,
0.2340087890625,
0.77685546875,
0.2340087890625
],
[
0.340087890625,
0.2340087890625,
0.62890625,
0.2340087890625,
0.62890625,
0.2410888671875,
0.340087890625,
0.2410888671875
],
[
0.14111328125,
0.22802734375,
0.15283203125,
0.22802734375,
0.15283203125,
0.23095703125,
0.14111328125,
0.23095703125
],
[
0.67236328125,
0.2340087890625,
0.7314453125,
0.2340087890625,
0.7314453125,
0.2410888671875,
0.67236328125,
0.2410888671875
],
[
0.340087890625,
0.243408203125,
0.405517578125,
0.240478515625,
0.4072265625,
0.251708984375,
0.341796875,
0.254638671875
],
[
0.6708984375,
0.240478515625,
0.72314453125,
0.240478515625,
0.72314453125,
0.25048828125,
0.6708984375,
0.25048828125
],
[
0.337646484375,
0.254150390625,
0.429931640625,
0.2529296875,
0.429931640625,
0.26416015625,
0.337646484375,
0.265380859375
],
[
0.67236328125,
0.254150390625,
0.7060546875,
0.257080078125,
0.705078125,
0.265380859375,
0.6708984375,
0.262451171875
],
[
0.70947265625,
0.2493896484375,
0.75146484375,
0.2464599609375,
0.75244140625,
0.254150390625,
0.7109375,
0.257080078125
],
[
0.197265625,
0.254638671875,
0.25439453125,
0.251708984375,
0.255126953125,
0.262451171875,
0.198974609375,
0.265380859375
],
[
0.175537109375,
0.254638671875,
0.1956787109375,
0.257080078125,
0.1956787109375,
0.260009765625,
0.175537109375,
0.25830078125
],
[
0.139404296875,
0.28515625,
0.2283935546875,
0.28515625,
0.2283935546875,
0.29638671875,
0.139404296875,
0.29638671875
],
[
0.59033203125,
0.2861328125,
0.74658203125,
0.2861328125,
0.74658203125,
0.30712890625,
0.59033203125,
0.30712890625
],
[
0.76318359375,
0.287353515625,
0.85791015625,
0.287353515625,
0.85791015625,
0.305908203125,
0.76318359375,
0.305908203125
],
[
0.267822265625,
0.2880859375,
0.391357421875,
0.290283203125,
0.391357421875,
0.3046875,
0.267822265625,
0.302734375
],
[
0.1376953125,
0.287353515625,
0.1427001953125,
0.287353515625,
0.1427001953125,
0.29345703125,
0.1376953125,
0.29345703125
],
[
0.432373046875,
0.2880859375,
0.5634765625,
0.289306640625,
0.5634765625,
0.303955078125,
0.432373046875,
0.302734375
],
[
0.1368408203125,
0.298583984375,
0.2301025390625,
0.298583984375,
0.2301025390625,
0.308837890625,
0.1368408203125,
0.308837890625
],
[
0.41650390625,
0.297607421875,
0.432373046875,
0.297607421875,
0.432373046875,
0.3017578125,
0.41650390625,
0.3017578125
],
[
0.15283203125,
0.3349609375,
0.21240234375,
0.3349609375,
0.21240234375,
0.3466796875,
0.15283203125,
0.3466796875
],
[
0.2939453125,
0.342529296875,
0.43408203125,
0.342529296875,
0.43408203125,
0.352783203125,
0.2939453125,
0.352783203125
],
[
0.465087890625,
0.342529296875,
0.5205078125,
0.342529296875,
0.5205078125,
0.352783203125,
0.465087890625,
0.352783203125
],
[
0.55517578125,
0.342529296875,
0.73046875,
0.342529296875,
0.73046875,
0.352783203125,
0.55517578125,
0.352783203125
],
[
0.1561279296875,
0.347412109375,
0.2418212890625,
0.347412109375,
0.2418212890625,
0.359375,
0.1561279296875,
0.359375
],
[
0.1351318359375,
0.34326171875,
0.1561279296875,
0.34326171875,
0.1561279296875,
0.3515625,
0.1351318359375,
0.3515625
],
[
0.172119140625,
0.380126953125,
0.2435302734375,
0.380126953125,
0.2435302734375,
0.3955078125,
0.172119140625,
0.3955078125
],
[
0.301513671875,
0.38134765625,
0.405517578125,
0.38134765625,
0.405517578125,
0.388427734375,
0.301513671875,
0.388427734375
],
[
0.444091796875,
0.38134765625,
0.47607421875,
0.38134765625,
0.47607421875,
0.388427734375,
0.444091796875,
0.388427734375
],
[
0.50146484375,
0.37890625,
0.54150390625,
0.37890625,
0.54150390625,
0.3896484375,
0.50146484375,
0.3896484375
],
[
0.57275390625,
0.383056640625,
0.7109375,
0.383056640625,
0.7109375,
0.393798828125,
0.57275390625,
0.393798828125
],
[
0.411376953125,
0.383056640625,
0.42236328125,
0.383056640625,
0.42236328125,
0.38720703125,
0.411376953125,
0.38720703125
],
[
0.300537109375,
0.38720703125,
0.42822265625,
0.38720703125,
0.42822265625,
0.40087890625,
0.300537109375,
0.40087890625
],
[
0.44580078125,
0.388427734375,
0.53564453125,
0.38720703125,
0.53564453125,
0.3984375,
0.44580078125,
0.399658203125
],
[
0.1175537109375,
0.41455078125,
0.88330078125,
0.41455078125,
0.88330078125,
0.427490234375,
0.1175537109375,
0.427490234375
],
[
0.1175537109375,
0.4287109375,
0.880859375,
0.4287109375,
0.880859375,
0.4423828125,
0.1175537109375,
0.4423828125
],
[
0.1158447265625,
0.443603515625,
0.8818359375,
0.443603515625,
0.8818359375,
0.457275390625,
0.1158447265625,
0.457275390625
],
[
0.1485595703125,
0.4755859375,
0.258544921875,
0.473876953125,
0.258544921875,
0.488037109375,
0.1485595703125,
0.490478515625
],
[
0.51123046875,
0.474365234375,
0.880859375,
0.4755859375,
0.880859375,
0.490478515625,
0.51123046875,
0.4892578125
],
[
0.51318359375,
0.4921875,
0.880859375,
0.4921875,
0.880859375,
0.505859375,
0.51318359375,
0.505859375
],
[
0.1175537109375,
0.476806640625,
0.1318359375,
0.476806640625,
0.1318359375,
0.48681640625,
0.1175537109375,
0.48681640625
],
[
0.118408203125,
0.501953125,
0.484375,
0.501953125,
0.484375,
0.515625,
0.118408203125,
0.515625
],
[
0.51318359375,
0.50830078125,
0.880859375,
0.50830078125,
0.880859375,
0.521484375,
0.51318359375,
0.521484375
],
[
0.1158447265625,
0.51708984375,
0.48193359375,
0.51708984375,
0.48193359375,
0.53076171875,
0.1158447265625,
0.53076171875
],
[
0.5146484375,
0.52490234375,
0.880859375,
0.52490234375,
0.880859375,
0.5380859375,
0.5146484375,
0.5380859375
],
[
0.12005615234375,
0.53369140625,
0.486083984375,
0.53369140625,
0.486083984375,
0.548828125,
0.12005615234375,
0.548828125
],
[
0.5146484375,
0.54052734375,
0.8818359375,
0.54052734375,
0.8818359375,
0.5546875,
0.5146484375,
0.5546875
],
[
0.1175537109375,
0.5498046875,
0.411376953125,
0.548828125,
0.411376953125,
0.5634765625,
0.1175537109375,
0.56396484375
],
[
0.5146484375,
0.55712890625,
0.60546875,
0.55712890625,
0.60546875,
0.57177734375,
0.5146484375,
0.57177734375
],
[
0.1351318359375,
0.56640625,
0.484375,
0.5654296875,
0.484375,
0.580078125,
0.1351318359375,
0.58056640625
],
[
0.52880859375,
0.576171875,
0.880859375,
0.576171875,
0.880859375,
0.5888671875,
0.52880859375,
0.5888671875
],
[
0.12176513671875,
0.5830078125,
0.484375,
0.5830078125,
0.484375,
0.5966796875,
0.12176513671875,
0.5966796875
],
[
0.51123046875,
0.59130859375,
0.8818359375,
0.59130859375,
0.8818359375,
0.60498046875,
0.51123046875,
0.60498046875
],
[
0.118408203125,
0.5986328125,
0.483642578125,
0.5986328125,
0.483642578125,
0.6123046875,
0.118408203125,
0.6123046875
],
[
0.5283203125,
0.60791015625,
0.880859375,
0.60791015625,
0.880859375,
0.62158203125,
0.5283203125,
0.62158203125
],
[
0.1175537109375,
0.6142578125,
0.484375,
0.61328125,
0.484375,
0.62890625,
0.1175537109375,
0.6298828125
],
[
0.51123046875,
0.62158203125,
0.87744140625,
0.62255859375,
0.87744140625,
0.63720703125,
0.51123046875,
0.6357421875
],
[
0.118408203125,
0.63134765625,
0.484375,
0.63134765625,
0.484375,
0.64453125,
0.118408203125,
0.64453125
],
[
0.51318359375,
0.64013671875,
0.880859375,
0.64013671875,
0.880859375,
0.65380859375,
0.51318359375,
0.65380859375
],
[
0.118408203125,
0.646484375,
0.484375,
0.6455078125,
0.484375,
0.66015625,
0.118408203125,
0.6611328125
],
[
0.51318359375,
0.65625,
0.880859375,
0.65625,
0.880859375,
0.67041015625,
0.51318359375,
0.67041015625
],
[
0.118408203125,
0.6630859375,
0.484375,
0.6630859375,
0.484375,
0.6767578125,
0.118408203125,
0.6767578125
],
[
0.1158447265625,
0.67578125,
0.489501953125,
0.677734375,
0.489501953125,
0.6953125,
0.1158447265625,
0.693359375
],
[
0.51318359375,
0.67138671875,
0.87890625,
0.67138671875,
0.87890625,
0.68505859375,
0.51318359375,
0.68505859375
],
[
0.51318359375,
0.6884765625,
0.8388671875,
0.6884765625,
0.8388671875,
0.70166015625,
0.51318359375,
0.70166015625
],
[
0.12005615234375,
0.69482421875,
0.484375,
0.69482421875,
0.484375,
0.7080078125,
0.12005615234375,
0.7080078125
],
[
0.118408203125,
0.71044921875,
0.484375,
0.71142578125,
0.484375,
0.7255859375,
0.118408203125,
0.724609375
],
[
0.118408203125,
0.7255859375,
0.484375,
0.7255859375,
0.484375,
0.74072265625,
0.118408203125,
0.74072265625
],
[
0.515625,
0.7216796875,
0.880859375,
0.7216796875,
0.880859375,
0.736328125,
0.515625,
0.736328125
],
[
0.51318359375,
0.736328125,
0.880859375,
0.73681640625,
0.880859375,
0.751953125,
0.51318359375,
0.75048828125
],
[
0.118408203125,
0.7421875,
0.429931640625,
0.7421875,
0.429931640625,
0.755859375,
0.118408203125,
0.755859375
],
[
0.51318359375,
0.751953125,
0.8818359375,
0.7529296875,
0.8818359375,
0.76708984375,
0.51318359375,
0.7666015625
],
[
0.156982421875,
0.77099609375,
0.328369140625,
0.77099609375,
0.328369140625,
0.78369140625,
0.156982421875,
0.78369140625
],
[
0.5146484375,
0.7685546875,
0.880859375,
0.76953125,
0.880859375,
0.78369140625,
0.5146484375,
0.783203125
],
[
0.51123046875,
0.78515625,
0.8818359375,
0.78369140625,
0.8818359375,
0.798828125,
0.51123046875,
0.7998046875
],
[
0.118408203125,
0.771484375,
0.162841796875,
0.771484375,
0.162841796875,
0.783203125,
0.118408203125,
0.783203125
],
[
0.118408203125,
0.79052734375,
0.484375,
0.79052734375,
0.484375,
0.80419921875,
0.118408203125,
0.80419921875
],
[
0.509765625,
0.80029296875,
0.87890625,
0.8017578125,
0.87890625,
0.81640625,
0.509765625,
0.8154296875
],
[
0.118408203125,
0.80810546875,
0.483642578125,
0.80810546875,
0.483642578125,
0.82177734375,
0.118408203125,
0.82177734375
],
[
0.51318359375,
0.818359375,
0.87890625,
0.818359375,
0.87890625,
0.83203125,
0.51318359375,
0.83203125
],
[
0.118408203125,
0.82470703125,
0.484375,
0.82470703125,
0.484375,
0.83837890625,
0.118408203125,
0.83837890625
],
[
0.1175537109375,
0.8388671875,
0.486083984375,
0.83837890625,
0.486083984375,
0.8525390625,
0.1175537109375,
0.85400390625
],
[
0.51318359375,
0.83447265625,
0.64208984375,
0.83447265625,
0.64208984375,
0.8486328125,
0.51318359375,
0.8486328125
],
[
0.118408203125,
0.85693359375,
0.486083984375,
0.85693359375,
0.486083984375,
0.87060546875,
0.118408203125,
0.87060546875
],
[
0.509765625,
0.85498046875,
0.880859375,
0.85546875,
0.880859375,
0.87060546875,
0.509765625,
0.869140625
],
[
0.12005615234375,
0.87255859375,
0.486083984375,
0.87255859375,
0.486083984375,
0.8857421875,
0.12005615234375,
0.8857421875
],
[
0.51318359375,
0.87255859375,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.51318359375,
0.88720703125
],
[
0.118408203125,
0.88720703125,
0.486083984375,
0.88818359375,
0.486083984375,
0.90283203125,
0.118408203125,
0.90185546875
],
[
0.51318359375,
0.88818359375,
0.8818359375,
0.88818359375,
0.8818359375,
0.90283203125,
0.51318359375,
0.90283203125
],
[
0.118408203125,
0.90380859375,
0.489501953125,
0.90380859375,
0.489501953125,
0.91845703125,
0.118408203125,
0.91845703125
],
[
0.51318359375,
0.90478515625,
0.880859375,
0.90478515625,
0.880859375,
0.91845703125,
0.51318359375,
0.91845703125
]
] |
[
"Metals conduct electricity",
"Wfalaneuge",
"Noantaaas",
"ahadnertor",
"Inan.antiouec:",
"the",
"Insulatorsdonotconduct electricity",
"model hasgoo",
"erform",
"itisused",
"researcher",
"omething ismadeof iron,thenit is metal",
"Nailsaremadeofiro",
"BERTisaglant languagemod",
"del,then the same",
"Whichof the following istrue?",
"isthfollowingstatementtruefalser",
"hllwingstamueseunwnpua",
"BITh",
"",
"unknown? Nails cannot conduct electricity",
"Idac",
"C)Theminivan is the oldes",
"Problem Formulator",
"Fact",
"Variables",
"90oma1n",
"O",
"+ConductElectricity(x True)",
"fodelCx)AGiant(AGoodPerfor",
"1:oldest",
"tractore12.3]",
"nro",
"aTra",
".Vxala",
"Reseachers(x))",
"dodelrAGoodPerfor",
"eoflron(xTrue)Metal(x,True)",
"efxlsedhs",
"3:newes",
"minivan",
"Vx (UsedbySomeResearchers(x)→Popular(x))",
"ctn(l,ao,ale)",
"convertible[1,2.3",
":LanguageModel(bert)AGiant(bert)-→LanguageModel(gpt3)AGiant(gpt3)",
"",
"Constraints",
": Language(bert",
"tractor =2",
"Query:Polular(gpt3)",
"AlDiffer",
"convertib!",
"icity(Nail, False",
"",
"·bSymbolic",
"constraint optimization",
"SMT Solver",
"Logic Programming",
"O",
"First-order Logic Prover",
"o-@Reasoner",
"",
"Result",
"ConductElectricity(Nail, True)",
"Entailment",
"fconvertible: 1, tractor: 2,minivan: 3)",
"Interpreter",
"30",
"Answer",
"Thestatement\"Nailsca",
"Thesta",
"nt\"GPT3",
"A) The convertible is the oldest",
"no",
"conduct electricity\"isfalse",
"is popular\" is true.",
"Figure 2: Overview of our LoGIc-LM model, which consists of three modules: (1) Problem Formulator gener-",
"ates a symbolic representation for the input problem with LLMs via in-context learning (2) Symbolic Reasoner",
"performs logical inference on the formulated problem, and (3 ) Result Interpreter interprets the symbolic answer.",
"LOGIC-LM",
"以及一些作为上下文示例的演示,我们观察到",
"LLM,如 InstructGPTE(Ouyang et al.,2022b)和",
"3",
"如图E2所示,我们模型的输人是用自然语言",
"GPT-4E(OpenAI,2023),可以有效地遵循指令",
"描述的逻辑推理问题P,以及以多项选择或自",
"来识别问题陈述中存在的关键实体,事实和规",
"由形式问题形式的目标G。然后,LOGIC-LM",
"则,然后按照我们定义的语法将这些元素翻译",
"遵循问题表述和推理范式来解决问题",
"成符号语言",
"在问题表述阶段,我们提示LLM将问题和",
"具体来说,我们使用四种不同的符号公式来",
"目标翻译成特定于任务的符号语言。在符号推",
"涵盖四种常见类型的逻辑推理问题:演绎推理,",
"理阶段,我们称之为确定性符号求解器,即。",
"阶逻辑推理,约束满足问题和分析推理。这",
"g。,逻辑编程引擎,以获得符号表示的答案。",
"些公式为翻译基于自然语言的问题陈述提供了",
"最后,基于LLM或规则的结果解释器负责将",
"基础。通过定义其他特定于问题的公式,我们",
"答案翻译回自然语言。使用这种方法,只要问",
"的框架保留了灵活性,以适应更广泛的推理任",
"题的表述是正确的,就可以保证推理是忠实的,",
"因为答案A是执行确定性算法的结果(e。g。",
"务。接下来,我们将深入研究每个符号表述的",
"语法。每种问题类型的示例都在图2中。",
"向前/向后链接)嵌入在符号推理器中。与以前",
"基于思想链的方法相比,我们的框架通过将重",
"点从“通过逐步推理解决问题”转移到“用符",
"Logic Programming (LP) Language.演绎推",
"理通常从已知的事实和规则开始,并送代地",
"号语言表示问题”来减轻LLM的负担。",
"进行新的推论,直到可以证明或反驳目标陈述",
"Problem Formulator",
"为止E(PooleandMackworth,2010)。Prolog逻",
"辑编程语言(ClocksinandMellish,2003;Korner",
"3.1",
"直观上,LLM可能难以直接解决复杂的推理",
"etal.,2022)可以说是描述演绎推理问题最突出",
"问题。然而,他们已经证明了理解文本输人并",
"的符号语言。我们采用其语法将问题表示为事",
"将其转换为正式程序的显着能力,例如数学方",
"程式E(He-Yueya etal.,2023)或Python代码E",
"实,规则和查询",
"(Gaoetal.,2023)。我们假设这种将问题表达为",
"·事实:事实F是一个带有谓词和一组参数的",
"不同语言的能力也可以扩展到符号语言。我们",
"简单语句,表示为P(a1,·,an),其中P是",
"利用LLM的少量泛化能力来实现这一点。通",
"谓词名称,每个参数ai可以是变量,实体,数",
"过向LLM提供有关符号语言语法的详细说明,",
"字或bool。例如,Age(Peter,31)表示“彼得的"
] |
{
"arxiv_id": "2305.12295",
"language": "zh",
"page_idx": 3
}
|
||
2305.12295-zh-4
|
2305.12295-zh-4.jpg
|
<table>
<tbody>
<tr>
<th rowspan="2">Problem</th>
<th rowspan="2">Formulation</th>
<th colspan="2">Example</th>
<th rowspan="2">Solver</th>
<th rowspan="2">Dataset</th>
</tr>
<tr>
<th>NL Sentence</th>
<th>Symbolic Formulation</th>
</tr>
<tr>
<td>Deductive Reasoning</td>
<td>$LP$</td>
<td>If the circuit is complete and the circuit has the light bulb then the light bulb is glowing.</td>
<td>Complete(Circuit, True)N Has(Circuit, LightBulb) $\longrightarrow$Glowing(LightBulb,True)</td>
<td>Pyke</td>
<td>ProntoQA, ProofWriter</td>
</tr>
<tr>
<td>First-Order Logic</td>
<td>$FOL$</td>
<td>A Czech person wrote a book $\sin1946.$</td>
<td>$\exists x_{2}\exists x_{1}($Czech$(x_1)\wedge$Author$(x_2,x_1)$ $\wedge$Book$(x_2)\wedge$Publish$(x_2,1946))$</td>
<td>Prover9</td>
<td>FOLIO</td>
</tr>
<tr>
<td>Constraint Satisfaction</td>
<td>$CSP$</td>
<td>On a shelf, there are five books. The blue book is to the right of the yellow book.</td>
<td>blue\_book$\in\{1,2,3,4,5\}$ $yellow\_book\in\{1,2,3,4,5\}.$ blue\_book>yellow_book</td>
<td>python- constraint</td>
<td>LogicalDeduction</td>
</tr>
<tr>
<td>Analytical Reasoning</td>
<td>$SAT$</td>
<td>Xena and exactly three other technicians repair radios</td>
<td>repairs(Xena, radios)$\wedge$ Count([t: technicians], t$\neq$Xena radios)) $\wedge$repairs(t. ==3)</td>
<td>$Z3$</td>
<td>AR- LSAT</td>
</tr>
</tbody>
</table>
Table 1: A summary of the symbolic formulations (with examples) and symbolic solvers we use for the five datasets
in our study, representing four different types of logical reasoning problems.
表$\overline{\mathrm{E}}$1 总结了四种类型的逻辑推理问题,它们的典型数据集以及用于表示每种类型问题的符号公式。我们还给出了一个自然语言语句的示例,其中包含每种类型的相应符号表述。附录 C 显示了我们用于问题公式器的完整提示。为了教导 LLM 更好地将每个语句与其相应的符号形式对齐,我们在上下文示例中使用SYMBOLIC\_FORMULA\_::NL\_STATEMENT 格式以实现更好的接地
年龄是 31 岁”, 而 Made0fIron(Nails,True) 表
示“钉子是铁做的”
$\bullet$规则:规则以子句的形式编写$:F_1\wedge\cdots\wedge F_m\to$ $F_{m+ 1}\wedge \cdots \wedge F_n$ ,其中每个 $F_i$ 都是事实,规则表示“如果事实$F_1,\cdots,F_m$为真,则事实$F_{m+1}\cdots F_n$也为真。"
$\bullet$查询:查询$Q$只是需要根据已知事实和规则
证明的另一个事实
$\textbf{First- Order Logic ( FOL) . }$ 虽然逻辑编程语言有效地表示常见的演绎推理问题,但它可能无法表示更复杂的一阶逻辑(FOL)问题。为了解决这个问题,我们还将 FOL 语法(Enderton, 2001)包含在附录 A 中。然后将问题解析为FOL 公式列表,这些公式分为前提(来自问题的已知信息)和结论(要证明的未知公式)。表 1 给出了一个例句及其 FOL 公式
## 3.2 $\mathbf{SymbolicReasoner}$
$\textbf{Constraint Satisfaction ( CSP) . 约 束 满 足 问 题 }$ (CSP$)\boxed{\mathrm{E}}($Kumar, 1992)旨在找到满足多个约束的一组对象的值分配。CSP 通常被定义为三重$( X, D, C)$ ,其中$X=\{x_1,\cdots,x_n\}$是一组变量$,D=\{D_1,\cdots,D_n\}$ 是一组各自的值域,而$C=\{C_1,\cdots,C_m\}$是一组约束。每个变量$x_i$ 都可以接受非空域$D_i$中的值。每个约束$C_j$都是一对$\langle t_j,R_j\rangle$ ,其中$t_j\subset X$是$k$变量的子集,而$R_j$是域$D_j$的相应子集上的$k$元关系。我们使用上述语法将 CSP 问题定义为变量,域和约束。图 2 和表 1 中都给出了一个例子
Boolean Satisfiability(SAT) Formulation. SAT 是决定是否对布尔公式的变量进行赋值以满足该公式的问题。许多分析推理问题可以表述为 SAT 问题。我们采用 Ye et al.(2023) 中定义的语法将一个 SAT 问题$\mathcal{P}$表述为$(\Phi,\mathcal{T},\mathcal{Q})$ ,其中$\Phi$是在理论$\mathcal{T}$下定义的一组约束,$\mathcal{Q}$ 是感兴趣的查询
在问题制定者将问题$P$和目标$G$解析为符号表示$\hat{P}$和$\hat{G}$之后,我们根据任务调用确定性外部求解器,以获得答案$A$ 。表 1 总结了我们用于每种类型的逻辑推理问题的符号求解器。LP System. 对于演绎推理,我们合并了Pyke 专家系统$\overline{\mathrm{E}}($Frederiksen,2008),该系统基于逻辑编程语言进行推理。为了响应查询,Pyke 首先创建一个知识库,用已知的事实和规则填充它。随后,它应用正向和反向链接算法来推断新事实并证实目标
FOL Prover. 我们使用 Prover9 $^{2}$作为 FOL 推理引擎。Prover9 是一个自动定理证明器,支持一阶逻辑和等式逻辑。它最初将 FOL 语句转换为合取范式(CNF),然后在 CNF上执行分辨率$\overline{\mathrm{E}}($Robinson,1965),以推断结论是真, 假还是未知
CSP Solver. 求解 CSP 是为满足所有给定约束的所有变量找到值分配。此任务常用的算法包括回溯、约束传播和局部搜索变体。为此, 我们合并了 python-constraint 3 软件包,该软件包为有限域上的 CSP 提供了求解器
$^2$https://www.cs.unm.edu/~mccune/prover9/ $^3$https: / / gi thub. com/ py thon- constraint/
python-constraint
|
[
[
0.466796875,
0.08612060546875,
0.51708984375,
0.0885009765625,
0.515625,
0.09979248046875,
0.465087890625,
0.097412109375
],
[
0.1368408203125,
0.0926513671875,
0.187255859375,
0.0926513671875,
0.187255859375,
0.10394287109375,
0.1368408203125,
0.10394287109375
],
[
0.20654296875,
0.0926513671875,
0.280517578125,
0.0926513671875,
0.280517578125,
0.10272216796875,
0.20654296875,
0.10272216796875
],
[
0.70947265625,
0.0926513671875,
0.75,
0.0926513671875,
0.75,
0.10394287109375,
0.70947265625,
0.10394287109375
],
[
0.345947265625,
0.09857177734375,
0.418212890625,
0.09857177734375,
0.418212890625,
0.10986328125,
0.345947265625,
0.10986328125
],
[
0.79833984375,
0.09320068359375,
0.84228515625,
0.09320068359375,
0.84228515625,
0.1051025390625,
0.79833984375,
0.1051025390625
],
[
0.52294921875,
0.09979248046875,
0.646484375,
0.09979248046875,
0.646484375,
0.10986328125,
0.52294921875,
0.10986328125
],
[
0.298828125,
0.114013671875,
0.459228515625,
0.114013671875,
0.459228515625,
0.127685546875,
0.298828125,
0.127685546875
],
[
0.49365234375,
0.114013671875,
0.66162109375,
0.114013671875,
0.66162109375,
0.127685546875,
0.49365234375,
0.127685546875
],
[
0.1318359375,
0.1217041015625,
0.189697265625,
0.1217041015625,
0.189697265625,
0.133056640625,
0.1318359375,
0.133056640625
],
[
0.235107421875,
0.12353515625,
0.2568359375,
0.1270751953125,
0.252685546875,
0.14013671875,
0.2301025390625,
0.13720703125
],
[
0.491943359375,
0.12469482421875,
0.654296875,
0.1270751953125,
0.654296875,
0.14013671875,
0.491943359375,
0.1383056640625
],
[
0.7900390625,
0.1217041015625,
0.8486328125,
0.1217041015625,
0.8486328125,
0.133056640625,
0.7900390625,
0.133056640625
],
[
0.7138671875,
0.127685546875,
0.74658203125,
0.127685546875,
0.74658203125,
0.1395263671875,
0.7138671875,
0.1395263671875
],
[
0.1292724609375,
0.1318359375,
0.189697265625,
0.1341552734375,
0.189697265625,
0.1455078125,
0.1292724609375,
0.1436767578125
],
[
0.78662109375,
0.133056640625,
0.85400390625,
0.133056640625,
0.85400390625,
0.144287109375,
0.78662109375,
0.144287109375
],
[
0.295654296875,
0.1383056640625,
0.462646484375,
0.1383056640625,
0.462646484375,
0.1519775390625,
0.295654296875,
0.1519775390625
],
[
0.298828125,
0.1258544921875,
0.455078125,
0.1258544921875,
0.455078125,
0.1395263671875,
0.298828125,
0.1395263671875
],
[
0.496337890625,
0.1383056640625,
0.67529296875,
0.1383056640625,
0.67529296875,
0.1519775390625,
0.496337890625,
0.1519775390625
],
[
0.124267578125,
0.152587890625,
0.1956787109375,
0.155029296875,
0.1956787109375,
0.169189453125,
0.124267578125,
0.16748046875
],
[
0.300537109375,
0.155029296875,
0.465087890625,
0.155029296875,
0.465087890625,
0.168701171875,
0.300537109375,
0.168701171875
],
[
0.478515625,
0.15380859375,
0.68994140625,
0.155029296875,
0.68994140625,
0.169189453125,
0.478515625,
0.168701171875
],
[
0.2283935546875,
0.160888671875,
0.258544921875,
0.160888671875,
0.258544921875,
0.17333984375,
0.2283935546875,
0.17333984375
],
[
0.705078125,
0.160888671875,
0.75390625,
0.160888671875,
0.75390625,
0.1728515625,
0.705078125,
0.1728515625
],
[
0.79833984375,
0.1591796875,
0.8427734375,
0.160888671875,
0.84228515625,
0.17333984375,
0.796875,
0.171630859375
],
[
0.139404296875,
0.1650390625,
0.1796875,
0.16748046875,
0.177978515625,
0.182861328125,
0.1376953125,
0.18115234375
],
[
0.298828125,
0.1644287109375,
0.34765625,
0.166259765625,
0.345947265625,
0.18115234375,
0.297119140625,
0.1787109375
],
[
0.48193359375,
0.16748046875,
0.6689453125,
0.16748046875,
0.6689453125,
0.18115234375,
0.48193359375,
0.18115234375
],
[
0.2939453125,
0.185302734375,
0.465087890625,
0.185302734375,
0.465087890625,
0.1953125,
0.2939453125,
0.1953125
],
[
0.50390625,
0.185302734375,
0.6533203125,
0.185302734375,
0.6533203125,
0.1953125,
0.50390625,
0.1953125
],
[
0.7060546875,
0.191162109375,
0.75244140625,
0.191162109375,
0.75244140625,
0.203125,
0.7060546875,
0.203125
],
[
0.2939453125,
0.19482421875,
0.450927734375,
0.1953125,
0.450927734375,
0.208984375,
0.2939453125,
0.2078857421875
],
[
0.1318359375,
0.190673828125,
0.189697265625,
0.190673828125,
0.189697265625,
0.201904296875,
0.1318359375,
0.201904296875
],
[
0.2301025390625,
0.1953125,
0.258544921875,
0.1953125,
0.258544921875,
0.2078857421875,
0.2301025390625,
0.2078857421875
],
[
0.50390625,
0.1953125,
0.66650390625,
0.1953125,
0.66650390625,
0.208984375,
0.50390625,
0.208984375
],
[
0.1275634765625,
0.201904296875,
0.1956787109375,
0.201904296875,
0.1956787109375,
0.213134765625,
0.1275634765625,
0.213134765625
],
[
0.77099609375,
0.196533203125,
0.86962890625,
0.196533203125,
0.86962890625,
0.207275390625,
0.77099609375,
0.207275390625
],
[
0.29296875,
0.204833984375,
0.4013671875,
0.207275390625,
0.4013671875,
0.221435546875,
0.29296875,
0.2197265625
],
[
0.5029296875,
0.2060546875,
0.6591796875,
0.207275390625,
0.6591796875,
0.2203369140625,
0.5029296875,
0.2197265625
],
[
0.7001953125,
0.203125,
0.759765625,
0.203125,
0.759765625,
0.213134765625,
0.7001953125,
0.213134765625
],
[
0.301513671875,
0.2298583984375,
0.462646484375,
0.2298583984375,
0.462646484375,
0.243408203125,
0.301513671875,
0.243408203125
],
[
0.480224609375,
0.2257080078125,
0.63818359375,
0.2257080078125,
0.63818359375,
0.236328125,
0.480224609375,
0.236328125
],
[
0.2283935546875,
0.2340087890625,
0.26025390625,
0.236328125,
0.258544921875,
0.248779296875,
0.2275390625,
0.2464599609375
],
[
0.478515625,
0.236328125,
0.69287109375,
0.236328125,
0.69287109375,
0.2493896484375,
0.478515625,
0.2493896484375
],
[
0.79248046875,
0.236328125,
0.8505859375,
0.236328125,
0.8505859375,
0.2476806640625,
0.79248046875,
0.2476806640625
],
[
0.7197265625,
0.2381591796875,
0.73876953125,
0.2381591796875,
0.73876953125,
0.2476806640625,
0.7197265625,
0.2476806640625
],
[
0.130126953125,
0.2410888671875,
0.19140625,
0.243408203125,
0.19140625,
0.255859375,
0.130126953125,
0.254150390625
],
[
0.1318359375,
0.23095703125,
0.189697265625,
0.23095703125,
0.189697265625,
0.2423095703125,
0.1318359375,
0.2423095703125
],
[
0.301513671875,
0.2423095703125,
0.43994140625,
0.2423095703125,
0.43994140625,
0.255859375,
0.301513671875,
0.255859375
],
[
0.476806640625,
0.2476806640625,
0.67333984375,
0.2476806640625,
0.67333984375,
0.26123046875,
0.476806640625,
0.26123046875
],
[
0.1158447265625,
0.273681640625,
0.8818359375,
0.275634765625,
0.8818359375,
0.289306640625,
0.1158447265625,
0.287353515625
],
[
0.1158447265625,
0.289306640625,
0.63037109375,
0.289306640625,
0.63037109375,
0.302734375,
0.1158447265625,
0.302734375
],
[
0.12005615234375,
0.328857421875,
0.486083984375,
0.328857421875,
0.486083984375,
0.342529296875,
0.12005615234375,
0.342529296875
],
[
0.5283203125,
0.327880859375,
0.880859375,
0.328857421875,
0.880859375,
0.34326171875,
0.5283203125,
0.342529296875
],
[
0.118408203125,
0.345703125,
0.27197265625,
0.345703125,
0.27197265625,
0.35986328125,
0.118408203125,
0.35986328125
],
[
0.51318359375,
0.345703125,
0.880859375,
0.345703125,
0.880859375,
0.359375,
0.51318359375,
0.359375
],
[
0.51123046875,
0.35986328125,
0.880859375,
0.361083984375,
0.880859375,
0.3759765625,
0.51123046875,
0.374755859375
],
[
0.118408203125,
0.366455078125,
0.48779296875,
0.366455078125,
0.48779296875,
0.380126953125,
0.118408203125,
0.380126953125
],
[
0.118408203125,
0.3818359375,
0.48779296875,
0.38134765625,
0.48779296875,
0.3955078125,
0.118408203125,
0.396728515625
],
[
0.51318359375,
0.377685546875,
0.87744140625,
0.377685546875,
0.87744140625,
0.391357421875,
0.51318359375,
0.391357421875
],
[
0.118408203125,
0.39794921875,
0.48779296875,
0.39794921875,
0.48779296875,
0.412109375,
0.118408203125,
0.412109375
],
[
0.51318359375,
0.394287109375,
0.87744140625,
0.394287109375,
0.87744140625,
0.405029296875,
0.51318359375,
0.405029296875
],
[
0.118408203125,
0.41455078125,
0.287109375,
0.41455078125,
0.287109375,
0.4287109375,
0.118408203125,
0.4287109375
],
[
0.51123046875,
0.410400390625,
0.880859375,
0.4091796875,
0.880859375,
0.42333984375,
0.51123046875,
0.424560546875
],
[
0.51318359375,
0.427001953125,
0.880859375,
0.427001953125,
0.880859375,
0.440673828125,
0.51318359375,
0.440673828125
],
[
0.1158447265625,
0.43408203125,
0.484375,
0.43408203125,
0.484375,
0.44775390625,
0.1158447265625,
0.44775390625
],
[
0.1175537109375,
0.449462890625,
0.26611328125,
0.449462890625,
0.26611328125,
0.463134765625,
0.1175537109375,
0.463134765625
],
[
0.51318359375,
0.44482421875,
0.87890625,
0.44482421875,
0.87890625,
0.454833984375,
0.51318359375,
0.454833984375
],
[
0.51123046875,
0.458984375,
0.66015625,
0.458984375,
0.66015625,
0.47265625,
0.51123046875,
0.47265625
],
[
0.1234130859375,
0.4755859375,
0.486083984375,
0.4755859375,
0.486083984375,
0.4892578125,
0.1234130859375,
0.4892578125
],
[
0.51123046875,
0.486328125,
0.5615234375,
0.486328125,
0.5615234375,
0.49755859375,
0.51123046875,
0.49755859375
],
[
0.55517578125,
0.486328125,
0.7109375,
0.486328125,
0.7109375,
0.49951171875,
0.55517578125,
0.49951171875
],
[
0.118408203125,
0.4921875,
0.484375,
0.4921875,
0.484375,
0.505859375,
0.118408203125,
0.505859375
],
[
0.118408203125,
0.50830078125,
0.484375,
0.50830078125,
0.484375,
0.521484375,
0.118408203125,
0.521484375
],
[
0.51318359375,
0.50732421875,
0.87890625,
0.50732421875,
0.87890625,
0.52099609375,
0.51318359375,
0.52099609375
],
[
0.118408203125,
0.525390625,
0.48193359375,
0.525390625,
0.48193359375,
0.5361328125,
0.118408203125,
0.5361328125
],
[
0.51318359375,
0.5224609375,
0.880859375,
0.5224609375,
0.880859375,
0.5361328125,
0.51318359375,
0.5361328125
],
[
0.1158447265625,
0.5380859375,
0.486083984375,
0.5390625,
0.486083984375,
0.55419921875,
0.1158447265625,
0.552734375
],
[
0.51318359375,
0.5390625,
0.880859375,
0.5390625,
0.880859375,
0.552734375,
0.51318359375,
0.552734375
],
[
0.1175537109375,
0.5546875,
0.483642578125,
0.5546875,
0.483642578125,
0.568359375,
0.1175537109375,
0.568359375
],
[
0.51123046875,
0.5546875,
0.86962890625,
0.5546875,
0.86962890625,
0.568359375,
0.51123046875,
0.568359375
],
[
0.1175537109375,
0.57177734375,
0.48779296875,
0.572265625,
0.48779296875,
0.58740234375,
0.1175537109375,
0.5859375
],
[
0.515625,
0.5791015625,
0.880859375,
0.580078125,
0.880859375,
0.59423828125,
0.515625,
0.59326171875
],
[
0.118408203125,
0.58837890625,
0.4072265625,
0.58837890625,
0.4072265625,
0.6025390625,
0.118408203125,
0.6025390625
],
[
0.515625,
0.5966796875,
0.880859375,
0.5966796875,
0.880859375,
0.60986328125,
0.515625,
0.60986328125
],
[
0.12005615234375,
0.6181640625,
0.486083984375,
0.6181640625,
0.486083984375,
0.6318359375,
0.12005615234375,
0.6318359375
],
[
0.51318359375,
0.61328125,
0.880859375,
0.61328125,
0.880859375,
0.626953125,
0.51318359375,
0.626953125
],
[
0.118408203125,
0.6328125,
0.484375,
0.6328125,
0.484375,
0.646484375,
0.118408203125,
0.646484375
],
[
0.51318359375,
0.62890625,
0.880859375,
0.62890625,
0.880859375,
0.642578125,
0.51318359375,
0.642578125
],
[
0.1175537109375,
0.6484375,
0.483642578125,
0.6484375,
0.483642578125,
0.662109375,
0.1175537109375,
0.662109375
],
[
0.51318359375,
0.6455078125,
0.880859375,
0.6455078125,
0.880859375,
0.6591796875,
0.51318359375,
0.6591796875
],
[
0.1158447265625,
0.6650390625,
0.484375,
0.66455078125,
0.484375,
0.6787109375,
0.1158447265625,
0.6796875
],
[
0.51318359375,
0.6611328125,
0.66162109375,
0.6611328125,
0.66162109375,
0.6748046875,
0.51318359375,
0.6748046875
],
[
0.118408203125,
0.681640625,
0.484375,
0.681640625,
0.484375,
0.69677734375,
0.118408203125,
0.69677734375
],
[
0.515625,
0.68408203125,
0.880859375,
0.68603515625,
0.880859375,
0.70068359375,
0.515625,
0.69873046875
],
[
0.1175537109375,
0.69873046875,
0.486083984375,
0.69873046875,
0.486083984375,
0.7119140625,
0.1175537109375,
0.7119140625
],
[
0.51318359375,
0.703125,
0.880859375,
0.703125,
0.880859375,
0.71630859375,
0.51318359375,
0.71630859375
],
[
0.118408203125,
0.71533203125,
0.48779296875,
0.71533203125,
0.48779296875,
0.728515625,
0.118408203125,
0.728515625
],
[
0.51123046875,
0.71728515625,
0.87890625,
0.71728515625,
0.87890625,
0.73095703125,
0.51123046875,
0.73095703125
],
[
0.1175537109375,
0.72998046875,
0.484375,
0.72998046875,
0.484375,
0.74365234375,
0.1175537109375,
0.74365234375
],
[
0.51123046875,
0.7353515625,
0.880859375,
0.7353515625,
0.880859375,
0.7490234375,
0.51123046875,
0.7490234375
],
[
0.118408203125,
0.74658203125,
0.48779296875,
0.74658203125,
0.48779296875,
0.76025390625,
0.118408203125,
0.76025390625
],
[
0.51123046875,
0.75,
0.87890625,
0.75,
0.87890625,
0.76318359375,
0.51123046875,
0.76318359375
],
[
0.118408203125,
0.7626953125,
0.486083984375,
0.7626953125,
0.486083984375,
0.775390625,
0.118408203125,
0.775390625
],
[
0.51318359375,
0.7666015625,
0.60693359375,
0.7666015625,
0.60693359375,
0.78076171875,
0.51318359375,
0.78076171875
],
[
0.118408203125,
0.779296875,
0.456787109375,
0.779296875,
0.456787109375,
0.7919921875,
0.118408203125,
0.7919921875
],
[
0.51904296875,
0.7919921875,
0.880859375,
0.7919921875,
0.880859375,
0.8056640625,
0.51904296875,
0.8056640625
],
[
0.1318359375,
0.80810546875,
0.48779296875,
0.80810546875,
0.48779296875,
0.82177734375,
0.1318359375,
0.82177734375
],
[
0.5146484375,
0.80859375,
0.880859375,
0.80859375,
0.880859375,
0.822265625,
0.5146484375,
0.822265625
],
[
0.118408203125,
0.82470703125,
0.486083984375,
0.82470703125,
0.486083984375,
0.83837890625,
0.118408203125,
0.83837890625
],
[
0.5146484375,
0.82470703125,
0.880859375,
0.82470703125,
0.880859375,
0.83837890625,
0.5146484375,
0.83837890625
],
[
0.118408203125,
0.84033203125,
0.486083984375,
0.84033203125,
0.486083984375,
0.85400390625,
0.118408203125,
0.85400390625
],
[
0.51318359375,
0.84033203125,
0.8818359375,
0.84033203125,
0.8818359375,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.1175537109375,
0.85693359375,
0.484375,
0.85693359375,
0.484375,
0.87060546875,
0.1175537109375,
0.87060546875
],
[
0.51123046875,
0.85693359375,
0.8310546875,
0.85693359375,
0.8310546875,
0.87158203125,
0.51123046875,
0.87158203125
],
[
0.12005615234375,
0.87255859375,
0.48779296875,
0.87255859375,
0.48779296875,
0.8857421875,
0.12005615234375,
0.8857421875
],
[
0.5341796875,
0.8798828125,
0.83447265625,
0.8798828125,
0.83447265625,
0.8935546875,
0.5341796875,
0.8935546875
],
[
0.1318359375,
0.88818359375,
0.48779296875,
0.88818359375,
0.48779296875,
0.90283203125,
0.1318359375,
0.90283203125
],
[
0.5322265625,
0.89111328125,
0.8212890625,
0.892578125,
0.8212890625,
0.90673828125,
0.5322265625,
0.90625
],
[
0.118408203125,
0.90478515625,
0.2476806640625,
0.90478515625,
0.2476806640625,
0.91845703125,
0.118408203125,
0.91845703125
],
[
0.51123046875,
0.90625,
0.6455078125,
0.90625,
0.6455078125,
0.91943359375,
0.51123046875,
0.91943359375
]
] |
[
"Example",
"Problem",
"Formulation",
"Solver",
"NL Sentence",
"Dataset",
"SymbolicFormulation",
"If the circuit is complete and",
"Complete(Circuit,True)入",
"Deductive",
"LP",
"Has(Circuit, LightBulb)",
"ProntoQA",
"Pyke",
"Reasoning",
"ProofWriter",
"then the light bulb is glowing.",
"the circuit has the light bulb",
"→Glowing(LightBulb, True)",
"First-Order",
"A Czech person wrote a book",
"Er23r1(Czech(r1) Author(12, 1)",
"FOL",
"Prover9",
"FOLIO",
"Logic",
"in 1946.",
"ABook(2)Publish(2,1946))",
"On a shelf, there are five books",
"blue_book E [1,2,3,4,5]",
"python-",
"The blue book is to the right",
"Constraint",
"CSP",
"yellow_book e [1,2,3,4, 5]",
"Satisfaction",
"LogicalDeduction",
"of the yellow book.",
"blue_book > yellow_book",
"constraint",
"Xena and exactly three other",
"repairs(Xena,radios)^",
"SAT",
"Count([t:technicians], t Xena",
"AR-LSAT",
"Z3",
"Reasoning",
"Analytical",
"technicians repair radios",
"Arepairs(t, radios))) == 3)",
"Table l: A summary of the symbolic formulations (with examples) and symbolic solvers we use for the five datasets",
"in our study, representing four different types of logical reasoning problems.",
"年龄是31岁”,而MadeofIron(Nails,True)表",
"表E1总结了四种类型的逻辑推理问题,它",
"示“钉子是铁做的”",
"们的典型数据集以及用于表示每种类型问题",
"的符号公式。我们还给出了一个自然语言语句",
"规则:规则以子句的形式编写:Fi^.·^Fm→",
"Fm+1Λ·..ΛFn,其中每个F都是事实,规",
"的示例,其中包含每种类型的相应符号表述,",
"则表示“如果事实F1,·,Fm为真,则事实",
"附录C显示了我们用于问题公式器的完整提",
"Fm+1·..Fn也为真。\"",
"示。为了教导LLM更好地将每个语句与其相",
"应的符号形式对齐,我们在上下文示例中使用",
"·查询:查询Q只是需要根据已知事实和规则",
"证明的另一个事实",
"SYMBOLIC_FORMULA:::NL_STATEMENT格式",
"以实现更好的接地",
"First-OrderLogic(FOL).虽然逻辑编程语",
"3.2",
"Symbolic Reasoner",
"言有效地表示常见的演绎推理问题,但它可能",
"无法表示更复杂的一阶逻辑(FOL)问题。为了",
"在问题制定者将问题P和目标G解析为符号",
"解决这个问题,我们还将FOL语法(Enderton",
"表示P和G之后,我们根据任务调用确定性",
"2001)包含在附录A中。然后将问题解析为",
"外部求解器,以获得答案A。表1总结了我们",
"FOL公式列表,这些公式分为前提(来自问",
"用于每种类型的逻辑推理问题的符号求解器。",
"题的已知信息)和结论(要证明的未知公式)。",
"LPSystem。对于演绎推理,我们合并了Pyke",
"表1给出了一个例句及其FOL公式",
"专家系统E(Frederiksen,2008),该系统基于逻",
"ConstraintSatisfaction(CSP).约束满足问题",
"辑编程语言进行推理。为了响应查询,Pyke首",
"(CSP)E(Kumar1992)旨在找到满足多个约束",
"先创建一个知识库,用已知的事实和规则填充",
"的一组对象的值分配。CSP通常被定义为三重",
"它。随后,它应用正向和反向链接算法来推断",
"(X,D,C),其中X={αi,.an)是一组变",
"新事实并证实目标",
"量,D={D1,,Dn}是一组各自的值域,而",
"FOLProver我们使用Proverg2作为FOL",
"C={Ci,,Cm}是一组约束。每个变量ai",
"推理引擎。Prover9是一个自动定理证明器,支",
"都可以接受非空域D;中的值。每个约束C都",
"持一阶逻辑和等式逻辑。它最初将FOL语句",
"是一对(ti,Ri),其中tiCX是k变量的子",
"转换为合取范式(CNF),然后在CNF上执行",
"集,而Ri是域D;的相应子集上的k元关系。",
"分辨率E(Robinson,1965),以推断结论是真",
"我们使用上述语法将CSP问题定义为变量,域",
"假还是未知",
"和约束。图2和表1中都给出了一个例子",
"CSPSolver.求解CSP是为满足所有给定约",
"Boolean Satisfiability (SAT) Formulation.",
"束的所有变量找到值分配。此任务常用的算法",
"SAT是决定是否对布尔公式的变量进行赋值以",
"包括回溯、约束传播和局部搜索变体。为此,",
"满足该公式的问题。许多分析推理问题可以表",
"我们合并了python-constraint3软件包,该",
"述为SAT问题。我们采用Yeetal.(2023)中定",
"软件包为有限域上的CSP提供了求解器",
"义的语法将一个 SAT 问题P表述为(Φ,T,)",
"2https://www.cs.unm.edu/~mccune/prover9/",
"其中Φ是在理论T下定义的一组约束,Q",
"3https://github.com/python-constraint/",
"是感兴趣的查询",
"python-constraint"
] |
{
"arxiv_id": "2305.12295",
"language": "zh",
"page_idx": 4
}
|
||
2105.03495-zh-1
|
2105.03495-zh-1.jpg
|
# 不一致性令人惊讶吗: 针对语言模型的一致性预测进行有针对性的评估
$\mathbf{AnneBeyer}$
Sharid Loáiciga
David Schlangen
Computational Linguistics, Department of Linguistics, University of Potsdam, Germany
{ anne.beyer, loaicigasanchez, david.schlangen } @uni-potsdam.de
# Abstract
Coherent discourse is distinguished from a mere collection of utterances by the satisfaction of a diverse set of constraints, for example choice of expression, logical relation between denoted events, and implicit compatibility with world-knowledge. Do neural language models encode such constraints? We design an extendable set of test suites addressing different aspects of discourse and dialogue coherence. Unlike most previous coherence evaluation studies, we address specific linguistic devices beyond sentence order perturbations, allowing for a more fine-grained analysis of what constitutes coherence and what neural models trained on a language modelling objective do encode. Extending the targeted evaluation paradigm for neural language models (Marvin and Linzen, 2018) to phenomena beyond syntax, we show that this paradigm is equally suited to evaluate linguistic qualities that contribute to the notion of coherence.
## 1 Introduction
使用语言建模目标(在上下文中预测单词)在大量数据上训练的统计模型已显示出可以获取有关其他任务的大量隐含知识,例如语法知识(Warstadt et al., 2020; Hu et al., 2020) 或世界知识 (Trinh and Le, 2019; Tamborrino et al., 2020) 。在这些任务中,他们还被证明表现出与预期和对混杂因素的敏感性之间的有趣差异(例如。g。McCoy et al.(2019) )
受最近发布的 SyntaxGym (Gauthier et al., 2020) 的启发,该模型可以对此类模型中编码的句法知识进行特定和标准化的评估,我们探讨是否可以将类似的方法应用于话语知识或连贯性的研究,即。e。, 约束作用于句子边界如 1 所示 (其中“#” 标记了较不可接受的变体) $\#$孤独的护林员骑在夕阳下。然后他跳上他
的马。\_ 独行侠跳上了他的马。然后,他骑马
到日落
一种常见的连贯性评估方法是对文本的句子顺序进行混洗,从而创建需要与原始(Barzilay
and Lapata, 2008) 区分开的不连贯文本样本。尽管这种创建不连贯测试数据的方法足够直观, 但最近的研究表明,它仅描绘了构成 (Lai and Tetreault, 2018; Mohammadi et al., 2020; Pishdad et al., 2020) 连贯性的部分图片。。它没有指出使混洗文本不连贯的质量,也没有告诉我们哪些语言设备有问题,强调需要超越这种技术。本文旨在增加越来越多的研究,强调需要对文本连贯性(See et al., 2019; Mohammadi et al., 2020; Pishdad et al., 2020) 进行更多的定性评估
我们设计从现有语料库半自动创建的不同测试套件。这减轻了从头开始创建它们的负担, 并确保包含多个流派,关键是包括对话数据。每个测试套件都解决了有关有助于文本连贯性的底层语言设备的假设,即。e。、指称表达的选择、话语连接词和意图(说话者承诺)
我们的贡献如下:我们
· extend SyntaxGym to handle phenomena acting across sentence boundaries, but keep the general functionality to allow the use of both syntactic and coherence test suites,
# · show that it is possible to evaluate dialogue models by extending l m-z oo (SyntaxGym's model repository), and
·present a first set of coherence test suites,
each assessing a fine-grained and linguisti-
cally motivated element of coherence.
因此,我们的工作通过提供一个易于扩展的一致性评估框架,允许使用现有的测试套件和设计新的测试套件,从而消除了调整和收集各种基准数据集的需要。目前,下面报告的所有测试套件都是英文的,但我们回到 5 节中可能的扩展
我们的结果好坏参半:在测试套件有效地捕获一致性的程度上,所检查的模型既不是系统不连贯的,也不是连贯的。我们认为这是对我们的主张的支持,即我们需要更多和更好的语言知识测试套件来完全理解神经模型是否确实捕获了真正的连贯性。我们希望进一步发展我
|
[
[
0.3837890625,
0.0955810546875,
0.6171875,
0.0955810546875,
0.6171875,
0.10986328125,
0.3837890625,
0.10986328125
],
[
0.2476806640625,
0.11517333984375,
0.75,
0.11517333984375,
0.75,
0.12890625,
0.2476806640625,
0.12890625
],
[
0.429931640625,
0.155029296875,
0.568359375,
0.157958984375,
0.568359375,
0.17333984375,
0.429931640625,
0.17041015625
],
[
0.6767578125,
0.15673828125,
0.8212890625,
0.1591796875,
0.8212890625,
0.17333984375,
0.6767578125,
0.171630859375
],
[
0.1435546875,
0.17578125,
0.85205078125,
0.17578125,
0.85205078125,
0.189453125,
0.1435546875,
0.189453125
],
[
0.202392578125,
0.1602783203125,
0.300537109375,
0.1602783203125,
0.300537109375,
0.171630859375,
0.202392578125,
0.171630859375
],
[
0.12176513671875,
0.1923828125,
0.890625,
0.1923828125,
0.890625,
0.2060546875,
0.12176513671875,
0.2060546875
],
[
0.2626953125,
0.254150390625,
0.341796875,
0.254150390625,
0.341796875,
0.268310546875,
0.2626953125,
0.268310546875
],
[
0.51318359375,
0.254638671875,
0.880859375,
0.254638671875,
0.880859375,
0.268310546875,
0.51318359375,
0.268310546875
],
[
0.5146484375,
0.270751953125,
0.87744140625,
0.270751953125,
0.87744140625,
0.283935546875,
0.5146484375,
0.283935546875
],
[
0.145263671875,
0.27978515625,
0.459228515625,
0.27978515625,
0.459228515625,
0.29345703125,
0.145263671875,
0.29345703125
],
[
0.5146484375,
0.287353515625,
0.87744140625,
0.287353515625,
0.87744140625,
0.297607421875,
0.5146484375,
0.297607421875
],
[
0.1485595703125,
0.29638671875,
0.45751953125,
0.29638671875,
0.45751953125,
0.30712890625,
0.1485595703125,
0.30712890625
],
[
0.51123046875,
0.302734375,
0.880859375,
0.302734375,
0.880859375,
0.31640625,
0.51123046875,
0.31640625
],
[
0.1485595703125,
0.31005859375,
0.456787109375,
0.31005859375,
0.456787109375,
0.320556640625,
0.1485595703125,
0.320556640625
],
[
0.51123046875,
0.318359375,
0.87744140625,
0.318359375,
0.87744140625,
0.33203125,
0.51123046875,
0.33203125
],
[
0.1485595703125,
0.32470703125,
0.456787109375,
0.32470703125,
0.456787109375,
0.3349609375,
0.1485595703125,
0.3349609375
],
[
0.145263671875,
0.33740234375,
0.459228515625,
0.336181640625,
0.459228515625,
0.349853515625,
0.145263671875,
0.350830078125
],
[
0.515625,
0.33740234375,
0.87890625,
0.33740234375,
0.87890625,
0.347412109375,
0.515625,
0.347412109375
],
[
0.145263671875,
0.349853515625,
0.456787109375,
0.350830078125,
0.456787109375,
0.365234375,
0.145263671875,
0.364013671875
],
[
0.51123046875,
0.350830078125,
0.87890625,
0.350830078125,
0.87890625,
0.364013671875,
0.51123046875,
0.364013671875
],
[
0.14697265625,
0.365234375,
0.45751953125,
0.365234375,
0.45751953125,
0.37890625,
0.14697265625,
0.37890625
],
[
0.51318359375,
0.3681640625,
0.880859375,
0.3681640625,
0.880859375,
0.3818359375,
0.51318359375,
0.3818359375
],
[
0.14697265625,
0.380126953125,
0.459228515625,
0.380126953125,
0.459228515625,
0.393798828125,
0.14697265625,
0.393798828125
],
[
0.515625,
0.38427734375,
0.880859375,
0.38427734375,
0.880859375,
0.39794921875,
0.515625,
0.39794921875
],
[
0.14697265625,
0.3955078125,
0.45751953125,
0.3955078125,
0.45751953125,
0.40625,
0.14697265625,
0.40625
],
[
0.51318359375,
0.399658203125,
0.880859375,
0.399658203125,
0.880859375,
0.413330078125,
0.51318359375,
0.413330078125
],
[
0.14697265625,
0.407958984375,
0.459228515625,
0.407958984375,
0.459228515625,
0.421630859375,
0.14697265625,
0.421630859375
],
[
0.53076171875,
0.416259765625,
0.880859375,
0.416259765625,
0.880859375,
0.429931640625,
0.53076171875,
0.429931640625
],
[
0.14697265625,
0.4228515625,
0.45751953125,
0.4228515625,
0.45751953125,
0.435791015625,
0.14697265625,
0.435791015625
],
[
0.145263671875,
0.43701171875,
0.456787109375,
0.43701171875,
0.456787109375,
0.45068359375,
0.145263671875,
0.45068359375
],
[
0.5146484375,
0.431640625,
0.880859375,
0.431640625,
0.880859375,
0.4453125,
0.5146484375,
0.4453125
],
[
0.14697265625,
0.453125,
0.456787109375,
0.453125,
0.456787109375,
0.463134765625,
0.14697265625,
0.463134765625
],
[
0.5146484375,
0.449462890625,
0.880859375,
0.449462890625,
0.880859375,
0.460205078125,
0.5146484375,
0.460205078125
],
[
0.14697265625,
0.466064453125,
0.45751953125,
0.466064453125,
0.45751953125,
0.476806640625,
0.14697265625,
0.476806640625
],
[
0.51318359375,
0.46435546875,
0.8818359375,
0.46435546875,
0.8818359375,
0.47802734375,
0.51318359375,
0.47802734375
],
[
0.14697265625,
0.479736328125,
0.456787109375,
0.479736328125,
0.456787109375,
0.493408203125,
0.14697265625,
0.493408203125
],
[
0.51318359375,
0.479736328125,
0.880859375,
0.479736328125,
0.880859375,
0.493408203125,
0.51318359375,
0.493408203125
],
[
0.145263671875,
0.493408203125,
0.45751953125,
0.493408203125,
0.45751953125,
0.50732421875,
0.145263671875,
0.50732421875
],
[
0.51123046875,
0.495361328125,
0.82373046875,
0.496337890625,
0.82373046875,
0.51123046875,
0.51123046875,
0.51025390625
],
[
0.14697265625,
0.50830078125,
0.45751953125,
0.50830078125,
0.45751953125,
0.521484375,
0.14697265625,
0.521484375
],
[
0.53076171875,
0.51318359375,
0.71728515625,
0.51318359375,
0.71728515625,
0.52685546875,
0.53076171875,
0.52685546875
],
[
0.145263671875,
0.521484375,
0.45751953125,
0.521484375,
0.45751953125,
0.53515625,
0.145263671875,
0.53515625
],
[
0.145263671875,
0.5361328125,
0.456787109375,
0.53515625,
0.456787109375,
0.548828125,
0.145263671875,
0.5498046875
],
[
0.5341796875,
0.53759765625,
0.8818359375,
0.5361328125,
0.8818359375,
0.55029296875,
0.5341796875,
0.5517578125
],
[
0.145263671875,
0.55029296875,
0.45751953125,
0.55029296875,
0.45751953125,
0.56396484375,
0.145263671875,
0.56396484375
],
[
0.54833984375,
0.55419921875,
0.880859375,
0.55419921875,
0.880859375,
0.56787109375,
0.54833984375,
0.56787109375
],
[
0.145263671875,
0.56396484375,
0.426513671875,
0.56396484375,
0.426513671875,
0.57763671875,
0.145263671875,
0.57763671875
],
[
0.54736328125,
0.57080078125,
0.880859375,
0.568359375,
0.880859375,
0.5830078125,
0.54736328125,
0.5849609375
],
[
0.11248779296875,
0.59130859375,
0.1435546875,
0.5888671875,
0.145263671875,
0.599609375,
0.1158447265625,
0.6025390625
],
[
0.151123046875,
0.5927734375,
0.26123046875,
0.5927734375,
0.26123046875,
0.60400390625,
0.151123046875,
0.60400390625
],
[
0.54833984375,
0.58740234375,
0.8076171875,
0.5859375,
0.8076171875,
0.599609375,
0.54833984375,
0.60107421875
],
[
0.118408203125,
0.615234375,
0.486083984375,
0.615234375,
0.486083984375,
0.62890625,
0.118408203125,
0.62890625
],
[
0.5322265625,
0.61083984375,
0.880859375,
0.6123046875,
0.880859375,
0.626953125,
0.5322265625,
0.6259765625
],
[
0.1175537109375,
0.6298828125,
0.484375,
0.6298828125,
0.484375,
0.6435546875,
0.1175537109375,
0.6435546875
],
[
0.54833984375,
0.62890625,
0.880859375,
0.62890625,
0.880859375,
0.642578125,
0.54833984375,
0.642578125
],
[
0.118408203125,
0.64794921875,
0.486083984375,
0.64794921875,
0.486083984375,
0.6611328125,
0.118408203125,
0.6611328125
],
[
0.54736328125,
0.6435546875,
0.7197265625,
0.64453125,
0.7197265625,
0.6591796875,
0.54736328125,
0.65771484375
],
[
0.1175537109375,
0.6630859375,
0.486083984375,
0.66455078125,
0.486083984375,
0.677734375,
0.1175537109375,
0.6767578125
],
[
0.5341796875,
0.67041015625,
0.87890625,
0.66943359375,
0.87890625,
0.68408203125,
0.5341796875,
0.68505859375
],
[
0.118408203125,
0.6796875,
0.486083984375,
0.6796875,
0.486083984375,
0.693359375,
0.118408203125,
0.693359375
],
[
0.5498046875,
0.68603515625,
0.8818359375,
0.68603515625,
0.8818359375,
0.70068359375,
0.5498046875,
0.70068359375
],
[
0.124267578125,
0.70068359375,
0.1368408203125,
0.70068359375,
0.1368408203125,
0.705078125,
0.124267578125,
0.705078125
],
[
0.1318359375,
0.6953125,
0.484375,
0.6953125,
0.484375,
0.708984375,
0.1318359375,
0.708984375
],
[
0.5498046875,
0.705078125,
0.8271484375,
0.705078125,
0.8271484375,
0.71533203125,
0.5498046875,
0.71533203125
],
[
0.118408203125,
0.7119140625,
0.486083984375,
0.7119140625,
0.486083984375,
0.7255859375,
0.118408203125,
0.7255859375
],
[
0.11419677734375,
0.728515625,
0.306396484375,
0.72705078125,
0.306396484375,
0.7412109375,
0.11419677734375,
0.74365234375
],
[
0.5322265625,
0.72802734375,
0.880859375,
0.72802734375,
0.880859375,
0.7412109375,
0.5322265625,
0.7412109375
],
[
0.1351318359375,
0.74365234375,
0.483642578125,
0.74365234375,
0.483642578125,
0.75732421875,
0.1351318359375,
0.75732421875
],
[
0.53076171875,
0.7451171875,
0.87890625,
0.7451171875,
0.87890625,
0.755859375,
0.53076171875,
0.755859375
],
[
0.1175537109375,
0.76025390625,
0.486083984375,
0.76025390625,
0.486083984375,
0.77392578125,
0.1175537109375,
0.77392578125
],
[
0.51318359375,
0.76025390625,
0.880859375,
0.76025390625,
0.880859375,
0.77392578125,
0.51318359375,
0.77392578125
],
[
0.118408203125,
0.77685546875,
0.486083984375,
0.77685546875,
0.486083984375,
0.79052734375,
0.118408203125,
0.79052734375
],
[
0.51318359375,
0.77685546875,
0.880859375,
0.77685546875,
0.880859375,
0.79052734375,
0.51318359375,
0.79052734375
],
[
0.1175537109375,
0.79150390625,
0.484375,
0.79150390625,
0.484375,
0.8046875,
0.1175537109375,
0.8046875
],
[
0.51318359375,
0.7919921875,
0.8818359375,
0.7919921875,
0.8818359375,
0.8056640625,
0.51318359375,
0.8056640625
],
[
0.118408203125,
0.80859375,
0.484375,
0.80859375,
0.484375,
0.822265625,
0.118408203125,
0.822265625
],
[
0.51318359375,
0.80810546875,
0.5693359375,
0.80810546875,
0.5693359375,
0.822265625,
0.51318359375,
0.822265625
],
[
0.1175537109375,
0.82470703125,
0.483642578125,
0.82470703125,
0.483642578125,
0.83837890625,
0.1175537109375,
0.83837890625
],
[
0.5283203125,
0.82373046875,
0.880859375,
0.82470703125,
0.880859375,
0.8388671875,
0.5283203125,
0.83837890625
],
[
0.1368408203125,
0.8427734375,
0.484375,
0.8427734375,
0.484375,
0.8525390625,
0.1368408203125,
0.8525390625
],
[
0.51318359375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.118408203125,
0.85693359375,
0.48779296875,
0.85693359375,
0.48779296875,
0.87158203125,
0.118408203125,
0.87158203125
],
[
0.51318359375,
0.859375,
0.87744140625,
0.859375,
0.87744140625,
0.869140625,
0.51318359375,
0.869140625
],
[
0.118408203125,
0.87451171875,
0.175537109375,
0.87451171875,
0.175537109375,
0.8857421875,
0.118408203125,
0.8857421875
],
[
0.5146484375,
0.87353515625,
0.880859375,
0.87353515625,
0.880859375,
0.88720703125,
0.5146484375,
0.88720703125
],
[
0.151123046875,
0.8896484375,
0.484375,
0.8896484375,
0.484375,
0.90283203125,
0.151123046875,
0.90283203125
],
[
0.5146484375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.5146484375,
0.90283203125
],
[
0.118408203125,
0.90380859375,
0.484375,
0.90478515625,
0.484375,
0.91943359375,
0.118408203125,
0.91845703125
],
[
0.51318359375,
0.90625,
0.880859375,
0.90625,
0.880859375,
0.91943359375,
0.51318359375,
0.91943359375
]
] |
[
"不一致性令人惊吗?",
"针对语言模型的一致性预测进行有针对性的评估",
"Sharid Loaiciga",
"David Schlangen",
"Computational Linguistics, Department of Linguistics, University of Potsdam, Germany",
"AnneBeyer",
"{ anne.beyer, loaicigasanchez, david.schlangen } @uni-potsdam.de",
"Abstract",
"andLapata,2008)区分开的不连贯文本样本。尽",
"管这种创建不连贯测试数据的方法足够直观",
"Coherent discourse is distinguished from a",
"但最近的研究表明,它仅描绘了构成Laianc",
"merecollectionof utterancesby the satisfac-",
"Tetreault, 2018; Mohammadi et al., 2020; Pishdad",
"tionofa diverse set of constraints,forexam",
"etal.,2020)连贯性的部分图片。。它没有指出",
"ple choice of expression,logicalrelation be",
"tween denoted events, and implicit compatibil-",
"使混洗文本不连贯的质量,也没有告诉我们哪",
"ity with world-knowledge. Do neural language",
"些语言设备有问题,强调需要超越这种技术。",
"models encode such constraints? We design",
"本文旨在增加越来越多的研究,强调需要对",
"an extendable set of test suites addressing dif-",
"文本连贯性(See et al.,2019;Mohammadi et al.,",
"ferentaspects of discourseanddialoguecoher",
"2020;Pishdad etal.,2020)进行更多的定性评估",
"ence. Unlike most previous coherence eval-",
"我们设计从现有语料库半自动创建的不同测",
"uation studies, we address specific linguistic",
"devices beyond sentence order perturbations,",
"试套件。这减轻了从头开始创建它们的负担,",
"allowingfor amorefine-grained analysis of",
"并确保包含多个流派,关键是包括对话数据。",
"what constitutes coherence and what neural",
"每个测试套件都解决了有关有助于文本连贯性",
"models trained on a language modelling objec-",
"的底层语言设备的假设,即。e。、指称表达的",
"tive do encode. Extending the targeted eval-",
"选择、话语连接词和意图(说话者承诺)",
"uation paradigm for neural language models",
"我们的贡献如下:我们",
"(Marvin and Linzen, 2018) to phenomena be-",
"yond syntax, we show that this paradigm is",
": extend SyntaxGym to handle phenomena act-",
"equally suited to evaluate linguistic qualities",
"ing across sentence boundaries, but keep the",
"that contribute to the notion of coherence.",
"general functionality to allow the use of both",
"1",
"Introduction",
"syntactic and coherence test suites,",
"使用语言建模目标(在上下文中预测单词)在",
". show that it is possible to evaluate dialogue",
"大量数据上训练的统计模型已显示出可以获取",
"models by extending 1m-zoo (SyntaxGym's",
"有关其他任务的大量隐含知识,例如语法知识",
"model repository), and",
"(Warstadt et al.,2020;Hu et al.,2020)或世界知",
": present a first set of coherence test suites.",
"识 (Trinh and Le, 2019; Tamborrino et al., 2020)",
"each assessing a fine-grained and linguisti-",
"",
"在这些任务中,他们还被证明表现出与预期",
"callymotivatedelementofcoherence",
"和对混杂因素的敏感性之间的有趣差异(例如。",
"g。 McCoy et al. (2019))",
"因此,我们的工作通过提供一个易于扩展的",
"受最近发布的 SyntaxGym(Gauthier et al.",
"致性评估框架,充许使用现有的测试套件和",
"2020)的启发,该模型可以对此类模型中编",
"设计新的测试套件,从而消除了调整和收集各",
"码的句法知识进行特定和标准化的评估,我们",
"种基准数据集的需要。目前,下面报告的所有",
"探讨是否可以将类似的方法应用于话语知识或",
"测试套件都是英文的,但我们回到5节中可能",
"连贯性的研究,即。e。,约束作用于句子边界,",
"的扩展",
"如1所示(其中“#”标记了较不可接受的变体)",
"我们的结果好坏参半:在测试套件有效地捕",
"#孤独的护林员骑在夕阳下。然后他跳上他",
"获一致性的程度上,所检查的模型既不是系统",
"的马。。独行侠跳上了他的马。然后,他骑马",
"不连贯的,也不是连贯的。我们认为这是对我",
"到日落",
"们的主张的支持,即我们需要更多和更好的语",
"种常见的连贯性评估方法是对文本的句子",
"言知识测试套件来完全理解神经模型是否确实",
"顺序进行混洗,从而创建需要与原始(Barzilay",
"捕获了真正的连贯性。我们希望进一步发展我"
] |
{
"arxiv_id": "2105.03495",
"language": "zh",
"page_idx": 1
}
|
||
2105.03495-zh-2
|
2105.03495-zh-2.jpg
|
们的工作,但在这一点上,我们的贡献是一个 更多语言动机的测试集 (Chen et al.,2019; Mo-
系统的框架,这将使我们能够做到这一点
创建我们的测试套件的代码可以在 取得了一些进展,但大多数评估研究都集中在
https://github.com/AnneBeyer/
coherencegym 找到
# 2 Related Work
SyntaxGym. Gauthier et al.(2020) 开发了一个工具包,用于针对不同的语法现象对语言模型进行有针对性的评估。它建立在 lm-zoo $^{1}$语言模型的存储库之上,每个语言模型都指定其相应的函数,以从语言模型的条件令牌概率$p$中提取令牌级别的意外值$s(t)$ 。
$$s(t_i)=-log_2(p(t_i|t_0\ldots t_{i-1}))$$
(1)
可以通过在不同的测试套件上运行模型来评估不同的语法现象。每个测试套件都包含条件差异最小的项目,重点关注特定现象。下面给出了 NUMBER AGREEMENT 的示例项。条件名称:match
region1:Thewoman
region2:plays
region3:theguitar
。条件名称:不匹配
区域 1:女人区域 2: 弹奏区域 3: 吉他
每个测试套件还包含对条件之间预期差异的预测。将输入拆分为不同的区域,可以在令牌或短语级别测量模型预测的差异。(e)。g。条件不匹配的区域 2 应该比条件匹配的区域 2 更令人惊讶)
Coherence. 虽然从语言学的角度和神经语言模型表示 (Marvin and Linzen, 2018; Warstadt et al., 2019, 2020; Hu et al., 2020, inter alia ) 的角度对句法可接受性的概念进行了很好的研究,但在跨句子边界对语言进行建模时,尚不清楚神经模型能够捕获什么
语言学中有大量关于不同连贯概念的工作, 例如共同指称 (Hobbs, 1979; Barzilay and Lapata, 2008, inter alia ), 中心理论 (Grosz et al., 1995) , 话语结构 (Mann and Thompson, 1987; Webber et al., 2003) 的影响以及对话中连接话语的现象,例如会话最大值(Grice,1975)或说话者互动 (Lascarides and Asher, 2009)
一致性评估研究也提到了其中的许多内容, 但是它们大多恢复为使用某种形式的句子顺序变体 (Chen et al., 2019; Moon et al., 2019; Xu et al., 2019; Mesgar et al., 2020)。虽然在整合
$^{\mathrm{l}}$https://cpllab.github.io/lm-zoo/
hammadi et al., 2020; Pishdad et al., 2020) 方面专门针对一致性分类和预测任务进行训练的模型上
Language models. 最近提出的转换器语言模型 GPT-2 (Radford et al., 2019) 已被证明在许多下游语言任务中表现非常出色。See et al.(2019) 定量评估 GPT-2 作为语言生成器的性能,发现它通常与最先进的神经故事生成模型相当。然而,他们也指出,他们的自动测量主要集中在文本多样性上,并强调需要对文本一致性等概念进行更定性的评估方法
GPT-2 也是最近提出的对话模型 DIALOGPT (Zhang et al.,2020)的基础,该模型对来自 Reddit 的会话数据进行了微调。Mehri and Eskenazi (2020) 认为 DIALOGPT 编码了对话质量的几个概念,包括连贯性。他们为某些对话质量手动创建了几个正面和负面的后续话语(例如。g。“哇,真有趣!”或“我很困惑。)。然后使用 DIALOGPT 输出其中任何一个的可能性来给出每个质量的总体得分。对话连贯性的概念虽然被证明是预测整体对话质量最重要的概念之一,但被发现是使用这种方法最难预测的概念之一。。作者将此归因于以下事实: 一致性(或缺乏一致性)很少被口头表达,因此该模型无法将此概念与特定的后续话语相关联。我们退后一步并评估评估器,以便更好地了解哪些相干概念实际上是在 DIALOGPT 中隐式编码的
我们通过在基于 SyntaxGym 方法的专门设计的测试套件上评估 GPT-2 和 DIALOGPT 在不同的话语和对话连贯性概念上进行测试
# From SyntaxGym to CoherenceGym: Querying Coherence Judgements and $\textbf{Creating Datasets}$
我们表明,在 SyntaxGym 中实现的方法也可以应用于评估超出单个句子的现象。SyntaxGym 基于心理语言学动机的惊奇概念,他们利用该概念将语言模型分配给最少一对句子中的特定区域的分数进行比较。在我们的 CoherenceGym 设置中,感兴趣的区域包括更大的块到整个句子。我们计算模型的令牌级别意外,并将它们聚合在感兴趣的区域$r$中的所有令牌$t_1\ldots t_n$ 上。由于延续可能在多个令牌中不同,并且可
|
[
[
0.12005615234375,
0.0885009765625,
0.489501953125,
0.0885009765625,
0.489501953125,
0.09857177734375,
0.12005615234375,
0.09857177734375
],
[
0.5146484375,
0.0885009765625,
0.87890625,
0.0885009765625,
0.87890625,
0.09857177734375,
0.5146484375,
0.09857177734375
],
[
0.12005615234375,
0.10272216796875,
0.44921875,
0.10272216796875,
0.44921875,
0.11639404296875,
0.12005615234375,
0.11639404296875
],
[
0.51318359375,
0.10272216796875,
0.880859375,
0.10272216796875,
0.880859375,
0.11639404296875,
0.51318359375,
0.11639404296875
],
[
0.139404296875,
0.12054443359375,
0.489501953125,
0.12054443359375,
0.489501953125,
0.1312255859375,
0.139404296875,
0.1312255859375
],
[
0.484375,
0.1217041015625,
0.50732421875,
0.1217041015625,
0.50732421875,
0.12890625,
0.484375,
0.12890625
],
[
0.509765625,
0.1181640625,
0.87890625,
0.1181640625,
0.87890625,
0.1318359375,
0.509765625,
0.1318359375
],
[
0.1175537109375,
0.13720703125,
0.43408203125,
0.13720703125,
0.43408203125,
0.1478271484375,
0.1175537109375,
0.1478271484375
],
[
0.5146484375,
0.1341552734375,
0.87890625,
0.1341552734375,
0.87890625,
0.1478271484375,
0.5146484375,
0.1478271484375
],
[
0.1175537109375,
0.1519775390625,
0.291259765625,
0.1519775390625,
0.291259765625,
0.1650390625,
0.1175537109375,
0.1650390625
],
[
0.5146484375,
0.1519775390625,
0.5517578125,
0.1519775390625,
0.5517578125,
0.1644287109375,
0.5146484375,
0.1644287109375
],
[
0.1158447265625,
0.1787109375,
0.274658203125,
0.1787109375,
0.274658203125,
0.1923828125,
0.1158447265625,
0.1923828125
],
[
0.1234130859375,
0.2037353515625,
0.48193359375,
0.2037353515625,
0.48193359375,
0.21728515625,
0.1234130859375,
0.21728515625
],
[
0.515625,
0.20068359375,
0.880859375,
0.20068359375,
0.880859375,
0.21435546875,
0.515625,
0.21435546875
],
[
0.118408203125,
0.2197265625,
0.48779296875,
0.2197265625,
0.48779296875,
0.2327880859375,
0.118408203125,
0.2327880859375
],
[
0.51318359375,
0.2161865234375,
0.880859375,
0.2161865234375,
0.880859375,
0.2298583984375,
0.51318359375,
0.2298583984375
],
[
0.118408203125,
0.236328125,
0.47607421875,
0.236328125,
0.47607421875,
0.2493896484375,
0.118408203125,
0.2493896484375
],
[
0.515625,
0.2340087890625,
0.87744140625,
0.2340087890625,
0.87744140625,
0.24462890625,
0.515625,
0.24462890625
],
[
0.1158447265625,
0.25048828125,
0.486083984375,
0.2529296875,
0.486083984375,
0.2666015625,
0.1158447265625,
0.26416015625
],
[
0.51123046875,
0.248779296875,
0.8818359375,
0.248779296875,
0.8818359375,
0.262451171875,
0.51123046875,
0.262451171875
],
[
0.1175537109375,
0.267333984375,
0.486083984375,
0.267333984375,
0.486083984375,
0.28076171875,
0.1175537109375,
0.28076171875
],
[
0.51318359375,
0.265380859375,
0.87890625,
0.265380859375,
0.87890625,
0.275634765625,
0.51318359375,
0.275634765625
],
[
0.118408203125,
0.28515625,
0.4072265625,
0.28515625,
0.4072265625,
0.298583984375,
0.118408203125,
0.298583984375
],
[
0.51318359375,
0.28076171875,
0.87890625,
0.28076171875,
0.87890625,
0.29443359375,
0.51318359375,
0.29443359375
],
[
0.51318359375,
0.29638671875,
0.880859375,
0.29638671875,
0.880859375,
0.31005859375,
0.51318359375,
0.31005859375
],
[
0.185546875,
0.3134765625,
0.4189453125,
0.3134765625,
0.4189453125,
0.327880859375,
0.185546875,
0.327880859375
],
[
0.4609375,
0.3154296875,
0.489501953125,
0.3154296875,
0.489501953125,
0.32666015625,
0.4609375,
0.32666015625
],
[
0.51318359375,
0.3134765625,
0.73486328125,
0.3134765625,
0.73486328125,
0.32666015625,
0.51318359375,
0.32666015625
],
[
0.484375,
0.317626953125,
0.5029296875,
0.317626953125,
0.5029296875,
0.32470703125,
0.484375,
0.32470703125
],
[
0.414794921875,
0.318359375,
0.420654296875,
0.318359375,
0.420654296875,
0.32373046875,
0.414794921875,
0.32373046875
],
[
0.4189453125,
0.317626953125,
0.459228515625,
0.317626953125,
0.459228515625,
0.32470703125,
0.4189453125,
0.32470703125
],
[
0.1376953125,
0.342529296875,
0.486083984375,
0.342529296875,
0.486083984375,
0.355712890625,
0.1376953125,
0.355712890625
],
[
0.5322265625,
0.33740234375,
0.87890625,
0.33740234375,
0.87890625,
0.347412109375,
0.5322265625,
0.347412109375
],
[
0.51318359375,
0.3515625,
0.87890625,
0.3515625,
0.87890625,
0.365234375,
0.51318359375,
0.365234375
],
[
0.118408203125,
0.359375,
0.484375,
0.359375,
0.484375,
0.372314453125,
0.118408203125,
0.372314453125
],
[
0.51318359375,
0.3681640625,
0.880859375,
0.3681640625,
0.880859375,
0.3818359375,
0.51318359375,
0.3818359375
],
[
0.118408203125,
0.3759765625,
0.48193359375,
0.3759765625,
0.48193359375,
0.385986328125,
0.118408203125,
0.385986328125
],
[
0.51318359375,
0.38427734375,
0.880859375,
0.38427734375,
0.880859375,
0.39794921875,
0.51318359375,
0.39794921875
],
[
0.1175537109375,
0.39013671875,
0.484375,
0.391357421875,
0.484375,
0.405029296875,
0.1175537109375,
0.40380859375
],
[
0.51318359375,
0.40087890625,
0.87890625,
0.40087890625,
0.87890625,
0.41455078125,
0.51318359375,
0.41455078125
],
[
0.118408203125,
0.407958984375,
0.187255859375,
0.407958984375,
0.187255859375,
0.419189453125,
0.118408203125,
0.419189453125
],
[
0.1158447265625,
0.4228515625,
0.26025390625,
0.421630859375,
0.26025390625,
0.435791015625,
0.1158447265625,
0.43701171875
],
[
0.51318359375,
0.418701171875,
0.87744140625,
0.418701171875,
0.87744140625,
0.4287109375,
0.51318359375,
0.4287109375
],
[
0.51318359375,
0.432861328125,
0.880859375,
0.432861328125,
0.880859375,
0.446533203125,
0.51318359375,
0.446533203125
],
[
0.118408203125,
0.440673828125,
0.21826171875,
0.440673828125,
0.21826171875,
0.451904296875,
0.118408203125,
0.451904296875
],
[
0.51123046875,
0.44775390625,
0.880859375,
0.44775390625,
0.880859375,
0.4619140625,
0.51123046875,
0.4619140625
],
[
0.1175537109375,
0.454833984375,
0.2451171875,
0.454833984375,
0.2451171875,
0.468505859375,
0.1175537109375,
0.468505859375
],
[
0.51318359375,
0.463134765625,
0.880859375,
0.46435546875,
0.880859375,
0.478515625,
0.51318359375,
0.47802734375
],
[
0.12005615234375,
0.471435546875,
0.274658203125,
0.471435546875,
0.274658203125,
0.485107421875,
0.12005615234375,
0.485107421875
],
[
0.51318359375,
0.48095703125,
0.880859375,
0.48095703125,
0.880859375,
0.49462890625,
0.51318359375,
0.49462890625
],
[
0.118408203125,
0.48681640625,
0.2166748046875,
0.48681640625,
0.2166748046875,
0.501953125,
0.118408203125,
0.501953125
],
[
0.5146484375,
0.496337890625,
0.8818359375,
0.496337890625,
0.8818359375,
0.51025390625,
0.5146484375,
0.51025390625
],
[
0.118408203125,
0.5029296875,
0.2166748046875,
0.5029296875,
0.2166748046875,
0.51708984375,
0.118408203125,
0.51708984375
],
[
0.51123046875,
0.5126953125,
0.880859375,
0.5126953125,
0.880859375,
0.525390625,
0.51123046875,
0.525390625
],
[
0.12005615234375,
0.52099609375,
0.214111328125,
0.52099609375,
0.214111328125,
0.5322265625,
0.12005615234375,
0.5322265625
],
[
0.51708984375,
0.533203125,
0.53076171875,
0.533203125,
0.53076171875,
0.5390625,
0.51708984375,
0.5390625
],
[
0.52490234375,
0.529296875,
0.880859375,
0.529296875,
0.880859375,
0.5419921875,
0.52490234375,
0.5419921875
],
[
0.1368408203125,
0.53515625,
0.484375,
0.53515625,
0.484375,
0.548828125,
0.1368408203125,
0.548828125
],
[
0.51318359375,
0.5458984375,
0.880859375,
0.5458984375,
0.880859375,
0.55859375,
0.51318359375,
0.55859375
],
[
0.118408203125,
0.5517578125,
0.486083984375,
0.5517578125,
0.486083984375,
0.5654296875,
0.118408203125,
0.5654296875
],
[
0.51123046875,
0.56005859375,
0.87890625,
0.56005859375,
0.87890625,
0.57373046875,
0.51123046875,
0.57373046875
],
[
0.118408203125,
0.568359375,
0.486083984375,
0.568359375,
0.486083984375,
0.58203125,
0.118408203125,
0.58203125
],
[
0.5146484375,
0.57666015625,
0.880859375,
0.57666015625,
0.880859375,
0.59033203125,
0.5146484375,
0.59033203125
],
[
0.118408203125,
0.58447265625,
0.486083984375,
0.58447265625,
0.486083984375,
0.59716796875,
0.118408203125,
0.59716796875
],
[
0.51318359375,
0.59326171875,
0.603515625,
0.59326171875,
0.603515625,
0.60498046875,
0.51318359375,
0.60498046875
],
[
0.118408203125,
0.599609375,
0.198974609375,
0.599609375,
0.198974609375,
0.6142578125,
0.118408203125,
0.6142578125
],
[
0.53076171875,
0.6162109375,
0.880859375,
0.6162109375,
0.880859375,
0.6298828125,
0.53076171875,
0.6298828125
],
[
0.124267578125,
0.62451171875,
0.484375,
0.62451171875,
0.484375,
0.63818359375,
0.124267578125,
0.63818359375
],
[
0.51318359375,
0.6318359375,
0.880859375,
0.6318359375,
0.880859375,
0.6455078125,
0.51318359375,
0.6455078125
],
[
0.12005615234375,
0.64111328125,
0.486083984375,
0.64111328125,
0.486083984375,
0.65478515625,
0.12005615234375,
0.65478515625
],
[
0.51318359375,
0.6484375,
0.8447265625,
0.6484375,
0.8447265625,
0.662109375,
0.51318359375,
0.662109375
],
[
0.118408203125,
0.65673828125,
0.484375,
0.65673828125,
0.484375,
0.67041015625,
0.118408203125,
0.67041015625
],
[
0.12005615234375,
0.6748046875,
0.483642578125,
0.6748046875,
0.483642578125,
0.68505859375,
0.12005615234375,
0.68505859375
],
[
0.1158447265625,
0.6884765625,
0.486083984375,
0.689453125,
0.486083984375,
0.70361328125,
0.1158447265625,
0.703125
],
[
0.509765625,
0.69873046875,
0.869140625,
0.69970703125,
0.869140625,
0.71435546875,
0.509765625,
0.71337890625
],
[
0.118408203125,
0.7060546875,
0.339111328125,
0.7060546875,
0.339111328125,
0.7197265625,
0.118408203125,
0.7197265625
],
[
0.5439453125,
0.71630859375,
0.86572265625,
0.71630859375,
0.86572265625,
0.73095703125,
0.5439453125,
0.73095703125
],
[
0.1368408203125,
0.72265625,
0.489501953125,
0.72265625,
0.489501953125,
0.736328125,
0.1368408203125,
0.736328125
],
[
0.1175537109375,
0.736328125,
0.48779296875,
0.73681640625,
0.48779296875,
0.751953125,
0.1175537109375,
0.75048828125
],
[
0.54248046875,
0.732421875,
0.69775390625,
0.73291015625,
0.69775390625,
0.74755859375,
0.54248046875,
0.74658203125
],
[
0.118408203125,
0.75439453125,
0.483642578125,
0.75439453125,
0.483642578125,
0.76708984375,
0.118408203125,
0.76708984375
],
[
0.118408203125,
0.76953125,
0.484375,
0.76953125,
0.484375,
0.783203125,
0.118408203125,
0.783203125
],
[
0.51318359375,
0.77685546875,
0.87744140625,
0.77685546875,
0.87744140625,
0.78759765625,
0.51318359375,
0.78759765625
],
[
0.118408203125,
0.7861328125,
0.483642578125,
0.7861328125,
0.483642578125,
0.79638671875,
0.118408203125,
0.79638671875
],
[
0.5146484375,
0.7919921875,
0.880859375,
0.7919921875,
0.880859375,
0.8056640625,
0.5146484375,
0.8056640625
],
[
0.118408203125,
0.8017578125,
0.48779296875,
0.8017578125,
0.48779296875,
0.8154296875,
0.118408203125,
0.8154296875
],
[
0.51123046875,
0.80810546875,
0.87890625,
0.80810546875,
0.87890625,
0.82177734375,
0.51123046875,
0.82177734375
],
[
0.118408203125,
0.81787109375,
0.411376953125,
0.81787109375,
0.411376953125,
0.83056640625,
0.118408203125,
0.83056640625
],
[
0.515625,
0.82666015625,
0.87744140625,
0.82666015625,
0.87744140625,
0.83740234375,
0.515625,
0.83740234375
],
[
0.151123046875,
0.83447265625,
0.484375,
0.83447265625,
0.484375,
0.84716796875,
0.151123046875,
0.84716796875
],
[
0.51318359375,
0.84130859375,
0.87890625,
0.84130859375,
0.87890625,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.118408203125,
0.849609375,
0.48779296875,
0.849609375,
0.48779296875,
0.86328125,
0.118408203125,
0.86328125
],
[
0.51123046875,
0.85693359375,
0.87890625,
0.85693359375,
0.87890625,
0.87060546875,
0.51123046875,
0.87060546875
],
[
0.118408203125,
0.8662109375,
0.48779296875,
0.8662109375,
0.48779296875,
0.8798828125,
0.118408203125,
0.8798828125
],
[
0.5146484375,
0.87353515625,
0.880859375,
0.87353515625,
0.880859375,
0.88720703125,
0.5146484375,
0.88720703125
],
[
0.118408203125,
0.8828125,
0.48779296875,
0.8828125,
0.48779296875,
0.896484375,
0.118408203125,
0.896484375
],
[
0.51123046875,
0.88818359375,
0.87890625,
0.8896484375,
0.87890625,
0.90380859375,
0.51123046875,
0.90283203125
],
[
0.14111328125,
0.90625,
0.435791015625,
0.90625,
0.435791015625,
0.91943359375,
0.14111328125,
0.91943359375
],
[
0.515625,
0.90673828125,
0.87744140625,
0.90673828125,
0.87744140625,
0.91748046875,
0.515625,
0.91748046875
]
] |
[
"们的工作,但在这一点上,我们的贡献是一个",
"更多语言动机的测试集(Chenetal.,2019:Mo",
"系统的框架,这将使我们能够做到这一点",
"hammadi et al., 2020; Pishdad et al., 2020)方面",
"创建我们的测试套件的代码可以在",
"",
"取得了一些进展,但大多数评估研究都集中在",
"https://github.com/AnneBeyer/",
"专门针对一致性分类和预测任务进行训练的模",
"coherencegym找到",
"型上",
"2 Related Work",
"SyntaxGym. Gauthier et al. (2020)开发了",
"Languagemodels.最近提出的转换器语言模",
"个工具包,用于针对不同的语法现象对语言模",
"型GPT-2(Radfordetal.,2019)已被证明在许多",
"型进行有针对性的评估。它建立在1m-zoo",
"下游语言任务中表现非常出色。Seeetal.(2019)",
"1语言模型的存储库之上,每个语言模型都指",
"定量评估GPT-2作为语言生成器的性能,发",
"定其相应的函数,以从语言模型的条件令牌概",
"现它通常与最先进的神经故事生成模型相当。",
"率p中提取令牌级别的意外值s(t)。",
"然而,他们也指出,他们的自动测量主要集中",
"在文本多样性上,并强调需要对文本一致性等",
"s(ti) =-log2(p(tilto...ti-1))",
"(1)",
"概念进行更定性的评估方法",
"",
"",
"",
"可以通过在不同的测试套件上运行模型来评",
"GPT-2也是最近提出的对话模型DI",
"ALoGPT(Zhangetal.,2020)的基础,该模型",
"估不同的语法现象。每个测试套件都包含条件",
"对来自Reddit的会话数据进行了微调。Mehri",
"差异最小的项目:重点关注特定现象。下面给",
"andEskenazi(2020)认为DIALoGPT编码了对",
"出了NUMBERAGREEMENT的示例项。条件名",
"话质量的几个概念,包括连贯性。他们为某些",
"称:match",
"regionl:Thewoman",
"对话质量手动创建了儿个正面和负面的后续话",
"语(例如。g。“哇,真有趣!”或“我很困惑。",
"region2:plays",
")。然后使用DIALOGPT输出其中任何一个的",
"region3:theguitar",
"可能性来给出每个质量的总体得分。对话连贯",
"。条件名称:不匹配",
"性的概念虽然被证明是预测整体对话质量最重",
"区域1:女人",
"要的概念之一,但被发现是使用这种方法最难",
"区域2:弹奏",
"预测的概念之一。。作者将此归因于以下事实:",
"区域3:吉他",
"",
"致性(或缺乏一致性)很少被口头表达,因",
"每个测试套件还包含对条件之间预期差异的",
"此该模型无法将此概念与特定的后续话语相关",
"预测。将输入拆分为不同的区域,可以在令牌",
"联。我们退后一步并评估评估器,以便更好地",
"或短语级别测量模型预测的差异。(e)。g。条",
"了解哪些相干概念实际上是在DIALOGPT中",
"件不匹配的区域2应该比条件匹配的区域2更",
"隐式编码的",
"令人惊)",
"我们通过在基于SyntaxGym方法的专门设",
"Coherence.虽然从语言学的角度和神经语",
"计的测试套件上评估GPT-2和DIALOGPT在",
"言模型表示(MarvinandLinzen,2018;Warstadt",
"不同的话语和对话连贯性概念上进行测试",
"et al., 2019, 2020; Hu et al., 2020, inter alia)的",
"角度对句法可接受性的概念进行了很好的研",
"究,但在跨句子边界对语言进行建模时,尚不",
"3From SyntaxGymtoCoherenceGym:",
"清楚神经模型能够捕获什么",
"Querying Coherence Judgements and",
"语言学中有大量关于不同连贯概念的工作,",
"例如共同指称(Hobbs,1979BarzilayandLap-",
"Creating Datasets",
"ata,2008,interalia),中心理论(Groszetal.",
"1995),话语结构(MannandThompson,1987",
"我们表明,在SyntaxGym中实现的方法也可以",
"Webberetal2003)的影响以及对话中连接话",
"应用于评估超出单个句子的现象。SyntaxGym",
"语的现象,例如会话最大值(Grice,1975)或说",
"基于心理语言学动机的惊奇概念,他们利用该",
"话者互动(LascaridesandAsher,2009)",
"概念将语言模型分配给最少一对句子中的特定",
"致性评估研究也提到了其中的许多内容,",
"区域的分数进行比较。在我们的CoherenceGym",
"但是它们大多恢复为使用某种形式的句子顺",
"设置中,感兴趣的区域包括更大的块到整个句",
"序变体(Chen et al.,2019;Moon et al.,2019;Xu",
"子。我们计算模型的令牌级别意外,并将它们",
"etal.,2019;Mesgaretal.,2020)。虽然在整合",
"聚合在感兴趣的区域r中的所有令牌t1...tn",
"\"https://cpllab.github.io/lm-zoo/",
"上。由于延续可能在多个令牌中不同,并且可"
] |
{
"arxiv_id": "2105.03495",
"language": "zh",
"page_idx": 2
}
|
||
2105.03495-zh-3
|
2105.03495-zh-3.jpg
|
以具有不同的长度,因此我们使用平均区域。2
(2)
$$s_{mean}(r)=\dfrac{1}{n}\sum_{i=1}^ns(t_i)$$
要创建不连贯的版本,我们利用几个现有的数据集,并针对具体现象设计不同的修改。我们还包括一些现有的方法和资源,以证明这些方法和资源可以轻松集成并涵盖广泛的现象, 这些现象在 4 节中进行了详细描述。我们进一步将 DIALOGPT (Zhang et al., 2020) 添加到lm-zoo 中,以表明相干性测试套件也可用于评估对话模型。3
4节中报告的一致性检测(CD)分数衡量每个模型满足每个测试套件预测的项目比例,i。e。, 模型是否发现不相干版本的预测精度比相干版本更令人惊讶
## 3.1 Models
SyntaxGym 构建为 lm-zoo 之上的包装器, lm-zoo 是指定函数tokenizer ,unkify 和get\_surprisals 的语言模型 Docker 容器的存储库。GPT-2(117M)(Radford et al., 2019) 已经包含在开发人员的 huggingfacetransformers 库的基础上。$^{4}$我们使用此版本并添加 DIALOGPT (Zhang et al., 2020) , 它基于 GPT-2构建,但以相同的方式对 Reddit 数据进行了进一步的微调。由于 Reddit 包含多人对话,因此分隔符标记用于表示说话者更改。两种模型都基于解码器的最终线性层的 softmax 输出来计算下一个令牌概率。遵循 GPT-2 的get\_surprisals 函数,我们将令牌概率转换为意外,如公式 1 所示
两个模型中的每一个都存在不同的版本,具体取决于参数的数量(嵌入大小,层数)。由于技术原因,我们使用了 GPT-2 的小型版本$(117\mathbf{M})$和 DIALOGPT 的中型版本(345M), 因此这两种型号不能直接比较。由于本研究的目的是表明基于意外的有针对性的评估范式对于总体上的一致性评估是有用的,因此我们对不同模型大小对未来工作的影响进行了详细的比较
4 Coherence Phenomena and Test Suites
在本节中,我们描述了测试套件评估的不同相干现象。对于每个测试套件,我们首先提出一
${{^{2}}}$This required a slight adaptation of syntaxgym, which
is now part of the official implementation.
This implies some restrictions on compatibility though: All models should be able to predict discourse coherence phenomena, but only dialogue models need to additionally encode dialogue coherence.
$^{4}$https://huggingface.co/transformers/
个假设,该假设被编码到套件的预测部分。接下来,我们描述数据集和用于创建不相干样本的操作,这些样本在特定现象方面表现出违反相干性的行为。每个小节报告各自测试套件上评估模型的结果。当我们评估基于英语数据预先训练的模型时,我们的测试套件也仅以英语设计
前三个测试套件基于我们集成到框架中的现有方法或测试集。以下三个测试套件是新创建的
4.1 Sentence Order Baseline Test Suite
假设:连贯的文本由逻辑序列中的有序句子集组成;改组句子会破坏逻辑顺序,从而破坏连贯性。由于顺序性是语言建模任务的核心,模型成功地区分了两个版本。
该改组技术已广泛应用于一致性模型 (Barzilay) and Lapata, 2008; Chen et al., 2019; Moon et al., 2019; Xu et al., 2019; Mesgar et al., 2020) 的评估。我们将其作为我们方法的基线,以对比更细粒度的一致性概念与这种广泛方法的比较
我们使用 ROCStories (Mostafazadeh et al., 2016)和 PERSONA-CHAT 语料库 (Zhang et al., 2018) 来评估叙述的句子顺序以及对话数据。ROCStories 语料库由连贯的五句话故事组成, 这些故事是通过雇用群众收集的,并且包含句子之间的几种时间和因果关系。为了创建PERSONA- CHAT 语料库 (Zhang et al.,2018) ,以描述性自然语言句子的形式为来自人群的对话参与者分配了一个角色,并要求他们彼此交谈,以模仿他们分配的角色。对话至少包含 6个回合,我们仅提取话语并忽略角色描述
创建两个语料库的两个版本:
1. We shuffle all utterances and compare the ag-
gregated overall surprisal for all tokens over
all regions.
2. We keep the last utterance fixed and shuffle
only the context and compare the aggregated
surprisal for the second region (cf. 4.1 ).
条件名称:原
地区 1: 我的朋友们都喜欢去俱乐部跳舞。他们认为这很有趣,总是邀请。上周六我终于决定跟着。我跳得很厉害,打断了一个朋友的脚趾。
区域 2: 下周末,我被要求呆在家里。。条件
名称:洗牌
区域 1: 我终于决定在上周六标记。我跳得很厉害,打断了一个朋友的脚趾。我的朋友们都喜欢去俱乐部跳舞。他们认为这很有趣,总是
|
[
[
0.118408203125,
0.08612060546875,
0.509765625,
0.08489990234375,
0.509765625,
0.09857177734375,
0.118408203125,
0.09979248046875
],
[
0.50537109375,
0.08905029296875,
0.51123046875,
0.08905029296875,
0.51123046875,
0.09442138671875,
0.50537109375,
0.09442138671875
],
[
0.50732421875,
0.0872802734375,
0.880859375,
0.0872802734375,
0.880859375,
0.1009521484375,
0.50732421875,
0.1009521484375
],
[
0.307373046875,
0.09857177734375,
0.4013671875,
0.12054443359375,
0.38623046875,
0.1519775390625,
0.29296875,
0.1300048828125
],
[
0.5146484375,
0.10272216796875,
0.87890625,
0.10272216796875,
0.87890625,
0.11639404296875,
0.5146484375,
0.11639404296875
],
[
0.214111328125,
0.12353515625,
0.3046875,
0.12353515625,
0.3046875,
0.1383056640625,
0.214111328125,
0.1383056640625
],
[
0.51123046875,
0.1181640625,
0.87890625,
0.1181640625,
0.87890625,
0.1318359375,
0.51123046875,
0.1318359375
],
[
0.30908203125,
0.127685546875,
0.35693359375,
0.14013671875,
0.34765625,
0.1561279296875,
0.300537109375,
0.1436767578125
],
[
0.466796875,
0.1258544921875,
0.486083984375,
0.1258544921875,
0.486083984375,
0.1353759765625,
0.466796875,
0.1353759765625
],
[
0.51318359375,
0.1353759765625,
0.880859375,
0.1353759765625,
0.880859375,
0.1484375,
0.51318359375,
0.1484375
],
[
0.5146484375,
0.15087890625,
0.880859375,
0.15087890625,
0.880859375,
0.1644287109375,
0.5146484375,
0.1644287109375
],
[
0.1368408203125,
0.163330078125,
0.484375,
0.163330078125,
0.484375,
0.177001953125,
0.1368408203125,
0.177001953125
],
[
0.5146484375,
0.168701171875,
0.87890625,
0.168701171875,
0.87890625,
0.1787109375,
0.5146484375,
0.1787109375
],
[
0.118408203125,
0.1787109375,
0.486083984375,
0.1787109375,
0.486083984375,
0.1923828125,
0.118408203125,
0.1923828125
],
[
0.51123046875,
0.179931640625,
0.5517578125,
0.182861328125,
0.54833984375,
0.19775390625,
0.509765625,
0.1953125
],
[
0.1175537109375,
0.19482421875,
0.486083984375,
0.193603515625,
0.486083984375,
0.207275390625,
0.1175537109375,
0.2078857421875
],
[
0.5322265625,
0.201904296875,
0.87890625,
0.201904296875,
0.87890625,
0.2120361328125,
0.5322265625,
0.2120361328125
],
[
0.1175537109375,
0.21142578125,
0.486083984375,
0.21142578125,
0.486083984375,
0.2244873046875,
0.1175537109375,
0.2244873046875
],
[
0.51123046875,
0.2161865234375,
0.87890625,
0.2161865234375,
0.87890625,
0.2298583984375,
0.51123046875,
0.2298583984375
],
[
0.118408203125,
0.226806640625,
0.48779296875,
0.226806640625,
0.48779296875,
0.240478515625,
0.118408203125,
0.240478515625
],
[
0.51123046875,
0.2327880859375,
0.5322265625,
0.2327880859375,
0.5322265625,
0.2452392578125,
0.51123046875,
0.2452392578125
],
[
0.1318359375,
0.243408203125,
0.484375,
0.243408203125,
0.484375,
0.257080078125,
0.1318359375,
0.257080078125
],
[
0.12005615234375,
0.26123046875,
0.486083984375,
0.26123046875,
0.486083984375,
0.271484375,
0.12005615234375,
0.271484375
],
[
0.51123046875,
0.262451171875,
0.5615234375,
0.262451171875,
0.5615234375,
0.2724609375,
0.51123046875,
0.2724609375
],
[
0.55517578125,
0.26123046875,
0.8330078125,
0.26123046875,
0.8330078125,
0.27490234375,
0.55517578125,
0.27490234375
],
[
0.1175537109375,
0.27490234375,
0.2568359375,
0.273681640625,
0.2568359375,
0.2880859375,
0.1175537109375,
0.289306640625
],
[
0.5146484375,
0.283935546875,
0.8759765625,
0.283935546875,
0.8759765625,
0.29443359375,
0.5146484375,
0.29443359375
],
[
0.1351318359375,
0.290283203125,
0.484375,
0.290283203125,
0.484375,
0.303955078125,
0.1351318359375,
0.303955078125
],
[
0.51318359375,
0.2998046875,
0.880859375,
0.2998046875,
0.880859375,
0.3134765625,
0.51318359375,
0.3134765625
],
[
0.12005615234375,
0.308837890625,
0.48779296875,
0.308837890625,
0.48779296875,
0.319580078125,
0.12005615234375,
0.319580078125
],
[
0.51123046875,
0.314208984375,
0.87890625,
0.314208984375,
0.87890625,
0.327880859375,
0.51123046875,
0.327880859375
],
[
0.1158447265625,
0.32470703125,
0.48779296875,
0.32373046875,
0.48779296875,
0.33740234375,
0.1158447265625,
0.33837890625
],
[
0.51318359375,
0.33203125,
0.724609375,
0.33203125,
0.724609375,
0.345703125,
0.51318359375,
0.345703125
],
[
0.1158447265625,
0.339111328125,
0.264404296875,
0.339111328125,
0.264404296875,
0.352783203125,
0.1158447265625,
0.352783203125
],
[
0.51318359375,
0.3466796875,
0.880859375,
0.347412109375,
0.880859375,
0.3623046875,
0.51318359375,
0.361083984375
],
[
0.118408203125,
0.36767578125,
0.2216796875,
0.36767578125,
0.2216796875,
0.37890625,
0.118408203125,
0.37890625
],
[
0.51318359375,
0.364013671875,
0.880859375,
0.364013671875,
0.880859375,
0.377685546875,
0.51318359375,
0.377685546875
],
[
0.51123046875,
0.37890625,
0.87890625,
0.37890625,
0.87890625,
0.392578125,
0.51123046875,
0.392578125
],
[
0.1158447265625,
0.385986328125,
0.483642578125,
0.385986328125,
0.483642578125,
0.399658203125,
0.1158447265625,
0.399658203125
],
[
0.51318359375,
0.3955078125,
0.880859375,
0.3955078125,
0.880859375,
0.4091796875,
0.51318359375,
0.4091796875
],
[
0.118408203125,
0.402099609375,
0.486083984375,
0.402587890625,
0.486083984375,
0.41748046875,
0.118408203125,
0.416259765625
],
[
0.51318359375,
0.412109375,
0.861328125,
0.412109375,
0.861328125,
0.42578125,
0.51318359375,
0.42578125
],
[
0.1175537109375,
0.419189453125,
0.484375,
0.41748046875,
0.484375,
0.43115234375,
0.1175537109375,
0.432861328125
],
[
0.53076171875,
0.4287109375,
0.880859375,
0.4287109375,
0.880859375,
0.4423828125,
0.53076171875,
0.4423828125
],
[
0.118408203125,
0.435302734375,
0.484375,
0.435302734375,
0.484375,
0.448974609375,
0.118408203125,
0.448974609375
],
[
0.51318359375,
0.4453125,
0.880859375,
0.4453125,
0.880859375,
0.458984375,
0.51318359375,
0.458984375
],
[
0.118408203125,
0.453125,
0.484375,
0.453125,
0.484375,
0.463134765625,
0.118408203125,
0.463134765625
],
[
0.51123046875,
0.46142578125,
0.880859375,
0.46142578125,
0.880859375,
0.474365234375,
0.51123046875,
0.474365234375
],
[
0.1175537109375,
0.46728515625,
0.486083984375,
0.46728515625,
0.486083984375,
0.48095703125,
0.1175537109375,
0.48095703125
],
[
0.51123046875,
0.4755859375,
0.880859375,
0.476806640625,
0.880859375,
0.490478515625,
0.51123046875,
0.4892578125
],
[
0.118408203125,
0.48388671875,
0.486083984375,
0.48388671875,
0.486083984375,
0.49755859375,
0.118408203125,
0.49755859375
],
[
0.51318359375,
0.4921875,
0.87890625,
0.493408203125,
0.87890625,
0.50732421875,
0.51318359375,
0.505859375
],
[
0.118408203125,
0.49951171875,
0.484375,
0.49951171875,
0.484375,
0.51318359375,
0.118408203125,
0.51318359375
],
[
0.51318359375,
0.51025390625,
0.880859375,
0.51025390625,
0.880859375,
0.52392578125,
0.51318359375,
0.52392578125
],
[
0.118408203125,
0.5166015625,
0.484375,
0.5166015625,
0.484375,
0.52978515625,
0.118408203125,
0.52978515625
],
[
0.1175537109375,
0.53076171875,
0.486083984375,
0.53076171875,
0.486083984375,
0.54443359375,
0.1175537109375,
0.54443359375
],
[
0.51123046875,
0.525390625,
0.880859375,
0.525390625,
0.880859375,
0.5390625,
0.51123046875,
0.5390625
],
[
0.509765625,
0.54052734375,
0.87890625,
0.54052734375,
0.87890625,
0.55419921875,
0.509765625,
0.55419921875
],
[
0.1175537109375,
0.54638671875,
0.48779296875,
0.54736328125,
0.48779296875,
0.5625,
0.1175537109375,
0.56103515625
],
[
0.51318359375,
0.55810546875,
0.880859375,
0.55810546875,
0.880859375,
0.57177734375,
0.51318359375,
0.57177734375
],
[
0.118408203125,
0.56396484375,
0.486083984375,
0.56396484375,
0.486083984375,
0.57763671875,
0.118408203125,
0.57763671875
],
[
0.51318359375,
0.57373046875,
0.8818359375,
0.57373046875,
0.8818359375,
0.58740234375,
0.51318359375,
0.58740234375
],
[
0.118408203125,
0.580078125,
0.486083984375,
0.580078125,
0.486083984375,
0.59423828125,
0.118408203125,
0.59423828125
],
[
0.51318359375,
0.58837890625,
0.8447265625,
0.5888671875,
0.8447265625,
0.60400390625,
0.51318359375,
0.6025390625
],
[
0.118408203125,
0.5966796875,
0.32080078125,
0.5966796875,
0.32080078125,
0.60986328125,
0.118408203125,
0.60986328125
],
[
0.1351318359375,
0.61083984375,
0.483642578125,
0.61083984375,
0.483642578125,
0.62451171875,
0.1351318359375,
0.62451171875
],
[
0.5322265625,
0.60693359375,
0.759765625,
0.60693359375,
0.759765625,
0.62060546875,
0.5322265625,
0.62060546875
],
[
0.118408203125,
0.62744140625,
0.484375,
0.62744140625,
0.484375,
0.64111328125,
0.118408203125,
0.64111328125
],
[
0.52490234375,
0.63525390625,
0.880859375,
0.63720703125,
0.880859375,
0.65087890625,
0.52490234375,
0.6484375
],
[
0.12005615234375,
0.64453125,
0.486083984375,
0.64453125,
0.486083984375,
0.65771484375,
0.12005615234375,
0.65771484375
],
[
0.54833984375,
0.65283203125,
0.8818359375,
0.65185546875,
0.8818359375,
0.66650390625,
0.54833984375,
0.66748046875
],
[
0.118408203125,
0.662109375,
0.486083984375,
0.662109375,
0.486083984375,
0.6728515625,
0.118408203125,
0.6728515625
],
[
0.5498046875,
0.66943359375,
0.63232421875,
0.66943359375,
0.63232421875,
0.68115234375,
0.5498046875,
0.68115234375
],
[
0.118408203125,
0.6767578125,
0.484375,
0.6767578125,
0.484375,
0.6904296875,
0.118408203125,
0.6904296875
],
[
0.12005615234375,
0.693359375,
0.48193359375,
0.693359375,
0.48193359375,
0.70361328125,
0.12005615234375,
0.70361328125
],
[
0.52490234375,
0.69873046875,
0.880859375,
0.69873046875,
0.880859375,
0.7119140625,
0.52490234375,
0.7119140625
],
[
0.1175537109375,
0.7080078125,
0.483642578125,
0.7080078125,
0.483642578125,
0.7216796875,
0.1175537109375,
0.7216796875
],
[
0.54833984375,
0.71533203125,
0.8818359375,
0.71533203125,
0.8818359375,
0.728515625,
0.54833984375,
0.728515625
],
[
0.118408203125,
0.7255859375,
0.483642578125,
0.7255859375,
0.483642578125,
0.736328125,
0.118408203125,
0.736328125
],
[
0.54833984375,
0.73095703125,
0.84619140625,
0.73095703125,
0.84619140625,
0.74462890625,
0.54833984375,
0.74462890625
],
[
0.12005615234375,
0.7421875,
0.1561279296875,
0.7421875,
0.1561279296875,
0.7548828125,
0.12005615234375,
0.7548828125
],
[
0.5341796875,
0.76123046875,
0.64208984375,
0.76123046875,
0.64208984375,
0.7724609375,
0.5341796875,
0.7724609375
],
[
0.1175537109375,
0.76953125,
0.156982421875,
0.76953125,
0.156982421875,
0.78076171875,
0.1175537109375,
0.78076171875
],
[
0.1502685546875,
0.7685546875,
0.484375,
0.7685546875,
0.484375,
0.7822265625,
0.1502685546875,
0.7822265625
],
[
0.51123046875,
0.77490234375,
0.87890625,
0.77490234375,
0.87890625,
0.7880859375,
0.51123046875,
0.7880859375
],
[
0.12005615234375,
0.79443359375,
0.484375,
0.79443359375,
0.484375,
0.8046875,
0.12005615234375,
0.8046875
],
[
0.51318359375,
0.7919921875,
0.880859375,
0.7919921875,
0.880859375,
0.8056640625,
0.51318359375,
0.8056640625
],
[
0.118408203125,
0.81005859375,
0.490234375,
0.81005859375,
0.490234375,
0.82373046875,
0.118408203125,
0.82373046875
],
[
0.51123046875,
0.80810546875,
0.87890625,
0.80810546875,
0.87890625,
0.82177734375,
0.51123046875,
0.82177734375
],
[
0.1368408203125,
0.83056640625,
0.48779296875,
0.83203125,
0.48779296875,
0.8466796875,
0.1368408203125,
0.845703125
],
[
0.515625,
0.82666015625,
0.5380859375,
0.82666015625,
0.5380859375,
0.83740234375,
0.515625,
0.83740234375
],
[
0.51123046875,
0.8388671875,
0.880859375,
0.84033203125,
0.880859375,
0.85498046875,
0.51123046875,
0.85400390625
],
[
0.1175537109375,
0.8466796875,
0.370361328125,
0.8466796875,
0.370361328125,
0.85693359375,
0.1175537109375,
0.85693359375
],
[
0.1427001953125,
0.85791015625,
0.48779296875,
0.85986328125,
0.48779296875,
0.87060546875,
0.1427001953125,
0.8681640625
],
[
0.5146484375,
0.85791015625,
0.60546875,
0.85791015625,
0.60546875,
0.869140625,
0.5146484375,
0.869140625
],
[
0.118408203125,
0.87060546875,
0.48779296875,
0.87060546875,
0.48779296875,
0.88134765625,
0.118408203125,
0.88134765625
],
[
0.51123046875,
0.87158203125,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.51123046875,
0.8857421875
],
[
0.1175537109375,
0.88134765625,
0.486083984375,
0.88134765625,
0.486083984375,
0.89453125,
0.1175537109375,
0.89453125
],
[
0.1175537109375,
0.892578125,
0.270263671875,
0.89453125,
0.270263671875,
0.90625,
0.1175537109375,
0.90380859375
],
[
0.51318359375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.51318359375,
0.90283203125
],
[
0.1376953125,
0.90478515625,
0.470947265625,
0.90625,
0.470947265625,
0.91943359375,
0.1376953125,
0.91845703125
],
[
0.5146484375,
0.90625,
0.880859375,
0.90625,
0.880859375,
0.91943359375,
0.5146484375,
0.91943359375
]
] |
[
"以具有不同的长度,因此我们使用平均区域。2、",
"",
"个假设,该假设被编码到套件的预测部分。接",
"1Zs(t)",
"下来,我们描述数据集和用于创建不相干样本",
"Smean(r) =",
"的操作,这些样本在特定现象方面表现出违反",
"ni=",
"(2)",
"相干性的行为。每个小节报告各自测试套件上",
"评估模型的结果。当我们评估基于英语数据预",
"要创建不连贯的版本,我们利用几个现有的",
"先训练的模型时,我们的测试套件也仅以英语",
"数据集,并针对具体现象设计不同的修改。我",
"设计",
"们还包括一些现有的方法和资源,以证明这些",
"前三个测试套件基于我们集成到框架中的现",
"方法和资源可以轻松集成并涵盖广泛的现象,",
"有方法或测试集。以下三个测试套件是新创建",
"这些现象在4节中进行了详细描述。我们进",
"的",
"步将DIALOGPT(Zhangetal.,2020)添加到",
"1m-zoo中,以表明相干性测试套件也可用于",
"4.1",
"Sentence Order Baseline Test Suite",
"评估对话模型。3",
"假设:连贯的文本由逻辑序列中的有序句子集",
"4节中报告的一致性检测(CD)分数衡量每",
"组成;改组句子会破坏逻辑顺序,从而破坏连",
"个模型满足每个测试套件预测的项目比例,1。",
"贯性。由于顺序性是语言建模任务的核心,模",
"e。,模型是否发现不相干版本的预测精度比相",
"型成功地区分了两个版本。",
"于版本更令人惊",
"该改组技术已广泛应用于一致性模型(Barzilay",
"3.1Models",
"and Lapata, 2008; Chen et al., 2019; Moon et al..",
"2019;Xu et al., 2019; Mesgar et al.,2020)的评",
"SyntaxGym构建为lm-zoo之上的包装器",
"估。我们将其作为我们方法的基线,以对比更",
"lm-zoo是指定函数tokenizer,unkify和",
"细粒度的一致性概念与这种广泛方法的比较",
"get_surprisals的语言模型Docker容器的",
"我们使用ROCStories(Mostafazadehet al.,",
"存储库。GPT-2(117M)(Radfordetal.,2019)",
"2016)和PERSONA-CHAT 语料库(Zhang et al.,",
"已经包含在开发人员的huggingfacetransform",
"2018)来评估叙述的句子顺序以及对话数据。",
"ers库的基础上。4我们使用此版本并添加DI-",
"ROCStories语料库由连贯的五句话故事组成,",
"ALoGPT(Zhang et al.,2020),它基于 GPT-2",
"这些故事是通过雇用群众收集的,并且包含",
"构建,但以相同的方式对Reddit数据进行了",
"句子之间的几种时间和因果关系。为了创建",
"进一步的微调。由于Reddit包含多人对话,因",
"此分隔符标记用于表示说话者更改。两种模",
"PERSONA-CHAT语料库(Zhangetal.,2018),以",
"描述性自然语言句子的形式为来自人群的对话",
"型都基于解码器的最终线性层的 softmax输",
"参与者分配了一个角色,并要求他们彼此交",
"出来计算下一个令牌概率。遵循GPT-2的",
"谈,以模仿他们分配的角色。对话至少包含6",
"get_surprisals函数,我们将令牌概率转",
"个回合,我们仅提取话语并忽略角色描述",
"换为意外,如公式1所示",
"两个模型中的每一个都存在不同的版本,具",
"创建两个语料库的两个版本:",
"体取决于参数的数量(嵌人大小,层数)。由",
"1.We shuffle all utterances and compare the ag",
"于技术原因,我们使用了GPT-2的小型版本",
"gregated overall surprisal for all tokens over",
"(117M)和DIALOGPT的中型版本(345M),",
"all regions.",
"因此这两种型号不能直接比较。由于本研究的",
"且的是表明基于意外的有针对性的评估范式对",
"2. We keep the last utterance fixed and shuffle",
"于总体上的一致性评估是有用的,因此我们对",
"only the context and compare the aggregated",
"不同模型大小对未来工作的影响进行了详细的",
"surprisal for the second region (cf. 4.1 ).",
"比较",
"条件名称:原",
"4",
"Coherence Phenomena and Test Suites",
"地区1:我的朋友们都喜欢去俱乐部跳舞。他",
"在本节中,我们描述了测试套件评估的不同相",
"们认为这很有趣,总是邀请。上周六我终于决",
"干现象。对于每个测试套件,我们首先提出一",
"定跟着。我跳得很厉害,打断了一个朋友的脚",
"2This required a slight adaptation of synt axgym, which",
"趾。",
"区域2:下周末,我被要求呆在家里。。条件",
"is nowpart of the officialimplementation.",
"Thisimpliessomerestrictionsoncompatibilitythough:",
"名称:洗牌",
"All models should be able to predict discourse coherence phe-",
"区域1:我终于决定在上周六标记。我跳得很",
"nomena, but only dialogue models need to additionally en-",
"code dialogue coherence",
"厉害,打断了一个朋友的脚趾。我的朋友们都",
"thttps://huggingface.co/transformers/",
"喜欢去俱乐部跳舞。他们认为这很有趣,总是"
] |
{
"arxiv_id": "2105.03495",
"language": "zh",
"page_idx": 3
}
|
||
2105.03495-zh-4
|
2105.03495-zh-4.jpg
|
<table>
<tbody>
<tr>
<th> </th>
<th>$N_{-}$ all</th>
<th>$\mathbf{N}_{-}$context</th>
<th>$D\_all$ t</th>
<th>D$\_$context</th>
</tr>
<tr>
<th>GPT-2</th>
<th>0.86</th>
<th>0.50</th>
<th>0.96</th>
<th>0.72</th>
</tr>
<tr>
<td>DIALOGPT</td>
<td>0.78</td>
<td>0.44</td>
<td>0.86</td>
<td>0.55</td>
</tr>
<tr>
<td>$\#$items</td>
<td>1871</td>
<td>1871</td>
<td>967</td>
<td>967</td>
</tr>
</tbody>
</table>
Table 1: CD scores on shuffling test suites. (N= narration, D=dialogue data, all refers to the shuffling of all sentences, context is based on comparing the surprisals of the last sentence with ordered or shuffled context.
<table>
<tbody>
<tr>
<th> </th>
<th>Story Cloze</th>
<th>Win full</th>
<th>$10grad$ partıal</th>
</tr>
<tr>
<th> </th>
<th>Story Cloze</th>
<th colspan="2">${\mathrm{Winograd}}$</th>
</tr>
<tr>
<td>GPT- 2</td>
<td>0.61</td>
<td>0.53</td>
<td>0.59</td>
</tr>
<tr>
<td>DIALOGPT</td>
<td>0.57</td>
<td>0.55</td>
<td>0.57</td>
</tr>
<tr>
<td>$\#$ items</td>
<td>1871</td>
<td>273</td>
<td>273</td>
</tr>
</tbody>
</table>
Table 2: CD scores on the Story Cloze and the Winograd test suites ( full is based on comparing the surprisals of the whole sequences, partial only considers the regions following the inserted referent)
邀请。
区域 2: 下周末,我被要求呆在家里
$\textbf{Results. 如 表 1 所 示 , 洗 牌 是 在 全 局 级 别 上 }$ 检测一致性的一个很好的第一指标,因为模型在所有句子都被洗牌的条件下表现得很好。$^{5}$
在本地级别 (i。e。, 对上下文进行混洗对以下句子的影响),然而,检测被操纵序列的能力在很大程度上下降,甚至下降到或低于机会。对上下文条件中的数据进行手动检查后发现,在某些情况下,最终(未移动的)话语(区域 2) 也可以被判断为将话语改组为最终上下文位置的连贯跟进。这也揭示了由于自然语言的性质,洗牌并不总是以预期的方式破坏连贯性,从而突出了更周到的连贯性测试套件设计的重要性
## 4.2 Story Cloze Test Suite
假设:结合常识和话语关系,使模型能够从给
定故事的不连贯结尾中检测出连贯的。
我们使用与上述叙述改组条件相同的语料库,但保持顺序不变。故事完形填空测试集(Mostafazadeh et al., 2016) 包含每个故事的其他令人难以置信的结局。我们使用 2016 年春季版本的带注释的测试集,并创建具有不同结尾的项目,如 4.2 中所示
条件名称:原创结局
地区 1: 我的朋友们都喜欢去俱乐部跳舞。他们认为这很有趣,总是邀请。上周六我终于决定跟着。我跳得很厉害,打断了一个朋友的脚趾。
区域 2: 下周末,我被要求呆在家里。条件
名称:分心者结束
地区 1: 我的朋友们都喜欢去俱乐部跳舞。他们认为这很有趣,总是邀请。上周六我终于决定跟着。我跳得很厉害,打断了一个朋友的脚
$^{5}$It is worth noting that by fine-tuning on user generated content, this ability decreases, which probably says more about Reddit than about DIALOGPT , but as noted before, these results are not directly comparable as the models are of different sizes.
趾。
区域 2: 我的朋友们决定继续邀请我出去,因为我很有趣。计算 CD 分数可以直接评估语言模型,而无需在模型表示的基础上训练分类器Results. 表 2 中的第一列显示了 StoryCloze 测试套件的结果。虽然这些结果还有改进的余地,但值得注意的是,它们与原始论文中的模型相当,甚至优于原始论文中的模型,后者主要依赖于上下文和延续之间的语义相似性。但是,我们仍然无法从这些数据中了解哪些语言设备负责感知给定结尾的连贯性或不连贯性。以下测试套件旨在研究特定的相干现象,并对其进行更详细的编码
### 4.3 Winograd Schema Test Suite
假设:模型能够将常识性知识与代词解析相结合,从而能够在 WinogradSchema 风格的句子中区分正确的目标和干扰物。
此数据集是由 Trinh and Le (2019) 提出的,Radford et al.(2019) 也将其应用于评估 GPT-2 的常识知识。我们以以下方式重现测试套件:条件名称:目标
地区 1: 市议员拒绝示威者的许可,因为
地区 2: 市议员
地区 3: 担心暴力。。条件名称:分散注意力
的
地区 1: 市议员拒绝了示威者的许可,因为
地区 2: 示威者
地区 3: 担心暴力
在 Trinh and Le (2019) 和 Radford et al. (2019) 之后,我们比较完整版本(比较所有令牌的平均惊奇)和部分版本(比较区域3的惊奇)
Results. 表 2 中的最后两列报告了 Winograd
测试套件的 CD 分数
如 Trinh and Le (2019)所述,在插入的正确或分散注意力的实体之后的区域中,语言模型得分的差异更为明显。我们能够在我们的设置中重现这些结果,这支持 CoherenceGym 方法
|
[
[
0.2225341796875,
0.08905029296875,
0.491943359375,
0.08905029296875,
0.491943359375,
0.10394287109375,
0.2225341796875,
0.10394287109375
],
[
0.646484375,
0.08905029296875,
0.73779296875,
0.08905029296875,
0.73779296875,
0.10394287109375,
0.646484375,
0.10394287109375
],
[
0.765625,
0.08905029296875,
0.8447265625,
0.08905029296875,
0.8447265625,
0.10394287109375,
0.765625,
0.10394287109375
],
[
0.75830078125,
0.105712890625,
0.7900390625,
0.105712890625,
0.7900390625,
0.1181640625,
0.75830078125,
0.1181640625
],
[
0.8017578125,
0.105712890625,
0.8564453125,
0.10394287109375,
0.85791015625,
0.1181640625,
0.8037109375,
0.12054443359375
],
[
0.22412109375,
0.11102294921875,
0.264404296875,
0.11102294921875,
0.264404296875,
0.1270751953125,
0.22412109375,
0.1270751953125
],
[
0.12176513671875,
0.11102294921875,
0.1796875,
0.11102294921875,
0.1796875,
0.1258544921875,
0.12176513671875,
0.1258544921875
],
[
0.2939453125,
0.11102294921875,
0.333251953125,
0.11102294921875,
0.333251953125,
0.1270751953125,
0.2939453125,
0.1270751953125
],
[
0.361083984375,
0.11102294921875,
0.403076171875,
0.11102294921875,
0.403076171875,
0.1270751953125,
0.361083984375,
0.1270751953125
],
[
0.4306640625,
0.11102294921875,
0.470947265625,
0.11102294921875,
0.470947265625,
0.1270751953125,
0.4306640625,
0.1270751953125
],
[
0.6708984375,
0.1270751953125,
0.7109375,
0.1270751953125,
0.7109375,
0.142578125,
0.6708984375,
0.142578125
],
[
0.75244140625,
0.1270751953125,
0.79248046875,
0.1270751953125,
0.79248046875,
0.142578125,
0.75244140625,
0.142578125
],
[
0.81201171875,
0.12890625,
0.8505859375,
0.12890625,
0.8505859375,
0.141357421875,
0.81201171875,
0.141357421875
],
[
0.12176513671875,
0.1353759765625,
0.2626953125,
0.1353759765625,
0.2626953125,
0.149658203125,
0.12176513671875,
0.149658203125
],
[
0.53662109375,
0.127685546875,
0.59375,
0.127685546875,
0.59375,
0.142578125,
0.53662109375,
0.142578125
],
[
0.295654296875,
0.135986328125,
0.33154296875,
0.135986328125,
0.33154296875,
0.1484375,
0.295654296875,
0.1484375
],
[
0.361083984375,
0.135986328125,
0.403076171875,
0.135986328125,
0.403076171875,
0.149658203125,
0.361083984375,
0.149658203125
],
[
0.432373046875,
0.135986328125,
0.47021484375,
0.135986328125,
0.47021484375,
0.1484375,
0.432373046875,
0.1484375
],
[
0.6708984375,
0.15087890625,
0.7109375,
0.15087890625,
0.7109375,
0.166259765625,
0.6708984375,
0.166259765625
],
[
0.75244140625,
0.15087890625,
0.79248046875,
0.15087890625,
0.79248046875,
0.166259765625,
0.75244140625,
0.166259765625
],
[
0.81005859375,
0.15087890625,
0.85205078125,
0.15087890625,
0.85205078125,
0.166259765625,
0.81005859375,
0.166259765625
],
[
0.5380859375,
0.152587890625,
0.62744140625,
0.152587890625,
0.62744140625,
0.1644287109375,
0.5380859375,
0.1644287109375
],
[
0.12005615234375,
0.1561279296875,
0.1796875,
0.157958984375,
0.177978515625,
0.17333984375,
0.118408203125,
0.171630859375
],
[
0.22412109375,
0.15673828125,
0.264404296875,
0.15673828125,
0.264404296875,
0.1728515625,
0.22412109375,
0.1728515625
],
[
0.2939453125,
0.15673828125,
0.334228515625,
0.15673828125,
0.334228515625,
0.1728515625,
0.2939453125,
0.1728515625
],
[
0.366943359375,
0.157958984375,
0.39794921875,
0.157958984375,
0.39794921875,
0.1728515625,
0.366943359375,
0.1728515625
],
[
0.432373046875,
0.15673828125,
0.468505859375,
0.15673828125,
0.468505859375,
0.1728515625,
0.432373046875,
0.1728515625
],
[
0.53564453125,
0.171630859375,
0.59423828125,
0.17333984375,
0.59375,
0.189453125,
0.5341796875,
0.18701171875
],
[
0.6708984375,
0.1728515625,
0.7119140625,
0.1728515625,
0.7119140625,
0.188232421875,
0.6708984375,
0.188232421875
],
[
0.75732421875,
0.174560546875,
0.78857421875,
0.174560546875,
0.78857421875,
0.18701171875,
0.75732421875,
0.18701171875
],
[
0.8154296875,
0.1728515625,
0.8505859375,
0.1728515625,
0.8505859375,
0.188232421875,
0.8154296875,
0.188232421875
],
[
0.11419677734375,
0.18701171875,
0.486083984375,
0.18701171875,
0.486083984375,
0.20068359375,
0.11419677734375,
0.20068359375
],
[
0.1175537109375,
0.203125,
0.48779296875,
0.203125,
0.48779296875,
0.2161865234375,
0.1175537109375,
0.2161865234375
],
[
0.509765625,
0.204833984375,
0.8818359375,
0.204833984375,
0.8818359375,
0.218505859375,
0.509765625,
0.218505859375
],
[
0.1175537109375,
0.21728515625,
0.486083984375,
0.2197265625,
0.486083984375,
0.2298583984375,
0.1175537109375,
0.22802734375
],
[
0.51318359375,
0.2197265625,
0.8818359375,
0.2197265625,
0.8818359375,
0.2327880859375,
0.51318359375,
0.2327880859375
],
[
0.1175537109375,
0.2327880859375,
0.466796875,
0.2327880859375,
0.466796875,
0.243408203125,
0.1175537109375,
0.243408203125
],
[
0.5146484375,
0.235107421875,
0.880859375,
0.235107421875,
0.880859375,
0.2452392578125,
0.5146484375,
0.2452392578125
],
[
0.51123046875,
0.2476806640625,
0.8017578125,
0.2476806640625,
0.8017578125,
0.26123046875,
0.51123046875,
0.26123046875
],
[
0.118408203125,
0.271484375,
0.166259765625,
0.271484375,
0.166259765625,
0.287353515625,
0.118408203125,
0.287353515625
],
[
0.1175537109375,
0.2880859375,
0.408935546875,
0.2880859375,
0.408935546875,
0.3017578125,
0.1175537109375,
0.3017578125
],
[
0.51318359375,
0.289306640625,
0.5400390625,
0.289306640625,
0.5400390625,
0.3017578125,
0.51318359375,
0.3017578125
],
[
0.51123046875,
0.302734375,
0.880859375,
0.303955078125,
0.880859375,
0.318359375,
0.51123046875,
0.317626953125
],
[
0.12176513671875,
0.3154296875,
0.486083984375,
0.3154296875,
0.486083984375,
0.328857421875,
0.12176513671875,
0.328857421875
],
[
0.51318359375,
0.319580078125,
0.87744140625,
0.319580078125,
0.87744140625,
0.333251953125,
0.51318359375,
0.333251953125
],
[
0.118408203125,
0.330810546875,
0.486083984375,
0.330810546875,
0.486083984375,
0.345703125,
0.118408203125,
0.345703125
],
[
0.51123046875,
0.3349609375,
0.880859375,
0.336181640625,
0.880859375,
0.350830078125,
0.51123046875,
0.349853515625
],
[
0.1158447265625,
0.345703125,
0.478515625,
0.34326171875,
0.478515625,
0.361083984375,
0.1158447265625,
0.363525390625
],
[
0.1351318359375,
0.364013671875,
0.486083984375,
0.364013671875,
0.486083984375,
0.377685546875,
0.1351318359375,
0.377685546875
],
[
0.515625,
0.361083984375,
0.880859375,
0.3623046875,
0.880859375,
0.377197265625,
0.515625,
0.3759765625
],
[
0.118408203125,
0.380126953125,
0.48779296875,
0.380126953125,
0.48779296875,
0.393798828125,
0.118408203125,
0.393798828125
],
[
0.51318359375,
0.37890625,
0.880859375,
0.37890625,
0.880859375,
0.392578125,
0.51318359375,
0.392578125
],
[
0.12005615234375,
0.39794921875,
0.484375,
0.39794921875,
0.484375,
0.407958984375,
0.12005615234375,
0.407958984375
],
[
0.51123046875,
0.394287109375,
0.880859375,
0.394287109375,
0.880859375,
0.407958984375,
0.51123046875,
0.407958984375
],
[
0.118408203125,
0.412109375,
0.486083984375,
0.412109375,
0.486083984375,
0.42578125,
0.118408203125,
0.42578125
],
[
0.51123046875,
0.410888671875,
0.880859375,
0.410888671875,
0.880859375,
0.424560546875,
0.51123046875,
0.424560546875
],
[
0.118408203125,
0.4287109375,
0.486083984375,
0.4287109375,
0.486083984375,
0.4423828125,
0.118408203125,
0.4423828125
],
[
0.51318359375,
0.427001953125,
0.8818359375,
0.427001953125,
0.8818359375,
0.440673828125,
0.51318359375,
0.440673828125
],
[
0.118408203125,
0.44482421875,
0.486083984375,
0.44482421875,
0.486083984375,
0.457763671875,
0.118408203125,
0.457763671875
],
[
0.51318359375,
0.44482421875,
0.8759765625,
0.44482421875,
0.8759765625,
0.454833984375,
0.51318359375,
0.454833984375
],
[
0.12005615234375,
0.46142578125,
0.484375,
0.46142578125,
0.484375,
0.474365234375,
0.12005615234375,
0.474365234375
],
[
0.51123046875,
0.458984375,
0.87890625,
0.458984375,
0.87890625,
0.47265625,
0.51123046875,
0.47265625
],
[
0.118408203125,
0.476806640625,
0.486083984375,
0.476806640625,
0.486083984375,
0.490478515625,
0.118408203125,
0.490478515625
],
[
0.51318359375,
0.476806640625,
0.87890625,
0.476806640625,
0.87890625,
0.48681640625,
0.51318359375,
0.48681640625
],
[
0.118408203125,
0.493408203125,
0.48779296875,
0.493408203125,
0.48779296875,
0.50732421875,
0.118408203125,
0.50732421875
],
[
0.509765625,
0.4912109375,
0.67919921875,
0.4912109375,
0.67919921875,
0.5048828125,
0.509765625,
0.5048828125
],
[
0.1175537109375,
0.5087890625,
0.19482421875,
0.5087890625,
0.19482421875,
0.52392578125,
0.1175537109375,
0.52392578125
],
[
0.509765625,
0.51708984375,
0.78515625,
0.5185546875,
0.78515625,
0.533203125,
0.509765625,
0.5322265625
],
[
0.1175537109375,
0.53759765625,
0.337646484375,
0.53759765625,
0.337646484375,
0.55029296875,
0.1175537109375,
0.55029296875
],
[
0.51318359375,
0.5390625,
0.87890625,
0.5390625,
0.87890625,
0.552734375,
0.51318359375,
0.552734375
],
[
0.1175537109375,
0.55810546875,
0.484375,
0.55810546875,
0.484375,
0.57177734375,
0.1175537109375,
0.57177734375
],
[
0.5146484375,
0.5556640625,
0.880859375,
0.5556640625,
0.880859375,
0.57080078125,
0.5146484375,
0.57080078125
],
[
0.118408203125,
0.576171875,
0.418212890625,
0.576171875,
0.418212890625,
0.5888671875,
0.118408203125,
0.5888671875
],
[
0.51318359375,
0.572265625,
0.7421875,
0.572265625,
0.7421875,
0.5859375,
0.51318359375,
0.5859375
],
[
0.1175537109375,
0.59033203125,
0.484375,
0.59033203125,
0.484375,
0.60400390625,
0.1175537109375,
0.60400390625
],
[
0.51318359375,
0.58837890625,
0.88330078125,
0.58837890625,
0.88330078125,
0.6015625,
0.51318359375,
0.6015625
],
[
0.12005615234375,
0.60791015625,
0.483642578125,
0.60791015625,
0.483642578125,
0.6181640625,
0.12005615234375,
0.6181640625
],
[
0.509765625,
0.60400390625,
0.880859375,
0.60400390625,
0.880859375,
0.61767578125,
0.509765625,
0.61767578125
],
[
0.1175537109375,
0.62255859375,
0.484375,
0.62255859375,
0.484375,
0.6357421875,
0.1175537109375,
0.6357421875
],
[
0.51123046875,
0.619140625,
0.8818359375,
0.62060546875,
0.8818359375,
0.63525390625,
0.51123046875,
0.63427734375
],
[
0.1175537109375,
0.63818359375,
0.484375,
0.63818359375,
0.484375,
0.65185546875,
0.1175537109375,
0.65185546875
],
[
0.5146484375,
0.63818359375,
0.623046875,
0.63818359375,
0.623046875,
0.6494140625,
0.5146484375,
0.6494140625
],
[
0.1175537109375,
0.65478515625,
0.486083984375,
0.65478515625,
0.486083984375,
0.66845703125,
0.1175537109375,
0.66845703125
],
[
0.509765625,
0.65283203125,
0.8388671875,
0.65283203125,
0.8388671875,
0.66650390625,
0.509765625,
0.66650390625
],
[
0.1175537109375,
0.67041015625,
0.316650390625,
0.67138671875,
0.316650390625,
0.68603515625,
0.1175537109375,
0.68505859375
],
[
0.51318359375,
0.66845703125,
0.63818359375,
0.66845703125,
0.63818359375,
0.681640625,
0.51318359375,
0.681640625
],
[
0.1368408203125,
0.6884765625,
0.30322265625,
0.6884765625,
0.30322265625,
0.70166015625,
0.1368408203125,
0.70166015625
],
[
0.51123046875,
0.68408203125,
0.87744140625,
0.68408203125,
0.87744140625,
0.69775390625,
0.51123046875,
0.69775390625
],
[
0.1175537109375,
0.703125,
0.486083984375,
0.703125,
0.486083984375,
0.71630859375,
0.1175537109375,
0.71630859375
],
[
0.51123046875,
0.70166015625,
0.5341796875,
0.70166015625,
0.5341796875,
0.71435546875,
0.51123046875,
0.71435546875
],
[
0.118408203125,
0.72021484375,
0.483642578125,
0.72021484375,
0.483642578125,
0.73095703125,
0.118408203125,
0.73095703125
],
[
0.51123046875,
0.71728515625,
0.85791015625,
0.71728515625,
0.85791015625,
0.73095703125,
0.51123046875,
0.73095703125
],
[
0.118408203125,
0.736328125,
0.486083984375,
0.736328125,
0.486083984375,
0.75,
0.118408203125,
0.75
],
[
0.509765625,
0.732421875,
0.63818359375,
0.73291015625,
0.63818359375,
0.74755859375,
0.509765625,
0.74658203125
],
[
0.118408203125,
0.7529296875,
0.145263671875,
0.7529296875,
0.145263671875,
0.765625,
0.118408203125,
0.765625
],
[
0.51123046875,
0.74755859375,
0.65576171875,
0.7490234375,
0.65576171875,
0.76318359375,
0.51123046875,
0.7626953125
],
[
0.118408203125,
0.76953125,
0.486083984375,
0.76953125,
0.486083984375,
0.783203125,
0.118408203125,
0.783203125
],
[
0.53076171875,
0.7666015625,
0.87890625,
0.7666015625,
0.87890625,
0.77978515625,
0.53076171875,
0.77978515625
],
[
0.12005615234375,
0.78515625,
0.264404296875,
0.78515625,
0.264404296875,
0.798828125,
0.12005615234375,
0.798828125
],
[
0.51318359375,
0.7822265625,
0.87890625,
0.7822265625,
0.87890625,
0.7958984375,
0.51318359375,
0.7958984375
],
[
0.118408203125,
0.802734375,
0.486083984375,
0.802734375,
0.486083984375,
0.8134765625,
0.118408203125,
0.8134765625
],
[
0.51123046875,
0.7998046875,
0.8486328125,
0.7998046875,
0.8486328125,
0.81005859375,
0.51123046875,
0.81005859375
],
[
0.118408203125,
0.81787109375,
0.486083984375,
0.81787109375,
0.486083984375,
0.83056640625,
0.118408203125,
0.83056640625
],
[
0.515625,
0.822265625,
0.880859375,
0.82373046875,
0.880859375,
0.83837890625,
0.515625,
0.83740234375
],
[
0.12005615234375,
0.8349609375,
0.483642578125,
0.8349609375,
0.483642578125,
0.845703125,
0.12005615234375,
0.845703125
],
[
0.51318359375,
0.84033203125,
0.67822265625,
0.84033203125,
0.67822265625,
0.85400390625,
0.51318359375,
0.85400390625
],
[
0.1376953125,
0.85693359375,
0.486083984375,
0.85791015625,
0.486083984375,
0.87158203125,
0.1376953125,
0.87060546875
],
[
0.53076171875,
0.85693359375,
0.87890625,
0.85693359375,
0.87890625,
0.87060546875,
0.53076171875,
0.87060546875
],
[
0.118408203125,
0.87255859375,
0.486083984375,
0.87255859375,
0.486083984375,
0.8828125,
0.118408203125,
0.8828125
],
[
0.51318359375,
0.87255859375,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.51318359375,
0.88720703125
],
[
0.1158447265625,
0.88134765625,
0.484375,
0.8818359375,
0.484375,
0.8955078125,
0.1158447265625,
0.89453125
],
[
0.1175537109375,
0.89453125,
0.486083984375,
0.89453125,
0.486083984375,
0.90771484375,
0.1175537109375,
0.90771484375
],
[
0.51318359375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.51318359375,
0.90283203125
],
[
0.118408203125,
0.90625,
0.204833984375,
0.90625,
0.204833984375,
0.91748046875,
0.118408203125,
0.91748046875
],
[
0.51318359375,
0.90478515625,
0.880859375,
0.90478515625,
0.880859375,
0.91845703125,
0.51318359375,
0.91845703125
]
] |
[
"N_all N_context D_all D_context",
"Story Cloze",
"Winograd",
"full",
"partial",
"0.86",
"GPT-2",
"0.50",
"0.96",
"0.72",
"0.61",
"0.53",
"0.59",
"DIALOGPT 0.78",
"GPT-2",
"0.44",
"0.86",
"0.55",
"0.57",
"0.55",
"0.57",
"DIALOGPT",
"#items",
"1871",
"1871",
"967",
"967",
"# items",
"1871",
"273",
"273",
"Table 1: CD scores on shuffling test suites. (N = narra-",
"tion, D = dialogue data, all refers to the shuffling of all",
"Table 2: CD scores on the Story Cloze and the Wino-",
"sentences,contextisbasedoncomparingthesurprisals",
"grad test suites ( full is based on comparing the sur-",
"ofthelast sentencewith ordered orshuffled context.",
"prisals of thewholesequences,partial onlyconsiders",
"the regions following the inserted referent)",
"邀请。",
"区域2:下周末,我被要求呆在家里",
"趾。",
"区域2:我的朋友们决定继续邀请我出去,因",
"Results.如表1所示,洗牌是在全局级别上",
"为我很有趣。计算CD分数可以直接评估语言",
"检测一致性的一个很好的第一指标,因为模型",
"模型,而无需在模型表示的基础上训练分类器",
"在所有句子都被洗牌的条件下表现得很好。5",
"在本地级别(i。e。,对上下文进行混洗对",
"Results.表2中的第一列显示了StoryCloze",
"以下句子的影响),然而,检测被操纵序列的",
"测试套件的结果。虽然这些结果还有改进的余",
"能力在很大程度上下降,其至下降到或低于机",
"地,但值得注意的是,它们与原始论文中的模",
"会。对上下文条件中的数据进行手动检查后发",
"型相当,甚至优于原始论文中的模型,后者主",
"现,在某些情况下,最终(未移动的)话语(区",
"要依赖于上下文和延续之间的语义相似性。但",
"域2)也可以被判断为将话语改组为最终上下",
"是,我们仍然无法从这些数据中了解哪些语言",
"文位置的连贯跟进。这也揭示了由于自然语言",
"设备负责感知给定结尾的连贯性或不连贯性。",
"的性质,洗牌并不总是以预期的方式破坏连贯",
"以下测试套件旨在研究特定的相于现象,并对",
"性,从而突出了更周到的连贯性测试套件设计",
"其进行更详细的编码",
"的重要性",
"4.3Winograd Schema Test Suite",
"4.2Story Cloze Test Suite",
"假设:模型能够将常识性知识与代词解析相结",
"假设:结合常识和话语关系,使模型能够从给",
"合,从而能够在WinogradSchema风格的句子",
"定故事的不连贯结尾中检测出连贯的。",
"中区分正确的目标和干扰物。",
"我们使用与上述叙述改组条件相同的语料",
"此数据集是由TrinhandLe(2019)提出的,Rad-",
"库,但保持顺序不变。故事完形填空测试集",
"fordetal.(2019)也将其应用于评估GPT-2的",
"(Mostafazadehetal,2016)包含每个故事的其",
"常识知识。我们以以下方式重现测试套件:条",
"他令人难以置信的结局。我们使用2016年春",
"件名称:目标",
"季版本的带注释的测试集,并创建具有不同结",
"地区1:市议员拒绝示威者的许可,因为",
"尾的项目,如4.2中所示",
"地区2:市议员",
"条件名称:原创结局",
"地区3:担心暴力。。条件名称:分散注意力",
"地区1:我的朋友们都喜欢去俱乐部跳舞。他",
"的",
"们认为这很有趣,总是邀请。上周六我终于决",
"地区1:市议员拒绝了示威者的许可,因为",
"定跟着。我跳得很厉害,打断了一个朋友的脚",
"地区2:示威者",
"趾。",
"地区3:担心暴力",
"区域2:下周末,我被要求呆在家里。。条件",
"在 Trinh and Le (2019)和 Radford et al. (2019)",
"名称:分心者结束",
"之后,我们比较完整版本(比较所有令牌的平",
"地区1:我的朋友们都喜欢去俱乐部跳舞。他",
"均惊奇)和部分版本(比较区域3的惊奇)",
"们认为这很有趣,总是邀请。上周六我终于决",
"Results。表2中的最后两列报告了Winograd",
"定跟着。我跳得很厉害,打断了一个朋友的脚",
"测试套件的CD分数",
"5It is worth noting that by fine-tuning on user generated",
"如TrinhandLe(2019)所述,在插人的正确",
"content, this ability decreases, which probably says more",
"或分散注意力的实体之后的区域中,语言模型",
"about Reddit than about DIALOGPT, but as noted before,",
"these results are not directly comparable as the models are of",
"得分的差异更为明显。我们能够在我们的设置",
"different sizes",
"中重现这些结果,这支持CoherenceGym方法"
] |
{
"arxiv_id": "2105.03495",
"language": "zh",
"page_idx": 4
}
|
||
2307.16877-zh-1
|
2307.16877-zh-1.jpg
|
评估用于问题回答的指令跟随模型的正确性和可靠性
$\begin{array}{cc}\textbf{Vaibhav Adlakha}^{1,2}&\textbf{Parishad BehnamGhader}^{1,*}&\textbf{Xing Han Lu}^{1,*}\\\textbf{Nicholas Meade}^{1,*}&\text{Siva Reddy}^{1,2,3}\end{array}$
$^{2}$ServiceNow Research$\:^{3}$Facebook CIFAR AI Chain
$^{1}$Mila, McGill University
$\{$ firstname.lastname $\}$ @mila.quebec
<FigureHere>
Figure 1: Sample response generated by GPT-3.5. The response is correct w.r.t information need but only partially faithful w.r.t knowledge. Recall (§4.1) and KPrecision (§5.1) approximate human judgment.
## 1 Introduction
遵循指令的模型(例如 ChatGPT) 很有吸引力,因为它们可以根据自然语言指令执行任务。这些模型通常是通过将大型语言模型(LLM; Brown et al. 2020; Zhang et al. 2022; Touvron et al. 2023a ) 暴露给成千上万的 NLP 任务来训练的,这些任务被制定为指令(Sanh et al., 2022; Mishra et al., 2022; Wei et al., 2022; Chung et al., 2022; Ouyang et al., 2022; Iyer et al., 2022; Touvron et al., 2023b) 或其他 LLM (Wang et al., 2022a; Taori et al., 2023; Peng et al., 2023) 生成的合成示例。在本文中,我们使用一组给定的文本段落来评估指令跟随模型的事实问答(QA)能力
指令跟随模型在提供任务描述、问题和相关文本段落时可以执行 QA (Chung et al., 2022) 。以用户为中心的应用程序(e。g。BingChat) 通常将这些模型与寻回器或互联网搜索配对,以提供相关信息。这些模型生成自然,翔实和冗
$^{*}$Core contributor.
长的响应,这是一个有用的特征,有助于建立用户的信任和参与度。但是,冗长的内容使传统的评估指标(例如精确匹配(EM)和F1)不可靠,这给评估(Kamalloo et al., 2023)带来了新的挑战。此外,这些模型也倾向于提供补充信息,可能是幻觉 (Chiesurin et al.,2023)
考虑 Figure 1 ,其中用户询问一个方向来自哪里?。将参考答案英国伦敦与模型响应的第一部分进行比较 OneDirectionarefromLondon,Englandyields0EMand0。5 个 F1 分数,尽管两个答案实际上是相等的(整个答案得分为 0。36F1)。此外,该模型断言一个方向来自Mullingar。虽然正确,但所提供的知识不支持此事实。由于 EM 和 F1 仅与参考答案进行比较,因此他们无法估计所提供的知识是否支持模型响应
We posit that an optimal model should not only correctly respond to user queries but also be faithful , i.e. it should only disseminate information that is inferrable or directly stated by external documents (Rashkin et al., 2021b; Dziri et al., 2022c). The resulting interpretability builds user trust and allows for dynamic knowledge updates (Lewis et al., 2020). 在这项工作中,我们主张应该从两个方面评估 QA 模型-1) 正确性 w。r。t 信息需求,它衡量模型在满足用户信息需求方面的有效性,以及 2)忠诚度 w。r。t 提供的知识,它衡量模型在提供的知识中建立事实信息的能力。我们评估了几种最新的指令跟随模型-Flan-T5 (Chung et al.,2022) , 羊驼 (Taori et al., 2023) , GPT-3。5 ( Ouyang et al. 2022 的同级模型) 和 Llama-2 (Touvron et al., 2023b)-在三个流行的事实信息寻求 QA 数据集上-自然问题(NQ; Kwiatkowski et al. 2019 ), HotpotQA (Yang et al., 2018) 和 TopiOCQA (Adlakha et al., 2022)。我们对 1800 个模型响应进行了人工分析,并将它们与几个自动指标相关联,以确保正确性和忠诚度
我们的发现表明,对于正确性,召回率-参考答案中也在模型响应中的令牌比例-比 EM 或F1 等传统 QA 指标具有更高的相关性。对于忠
|
[
[
0.22412109375,
0.0831298828125,
0.77734375,
0.0843505859375,
0.77734375,
0.1015625,
0.22412109375,
0.1009521484375
],
[
0.193115234375,
0.12353515625,
0.364501953125,
0.122314453125,
0.364501953125,
0.13720703125,
0.193115234375,
0.1383056640625
],
[
0.399658203125,
0.122314453125,
0.646484375,
0.1217041015625,
0.646484375,
0.1395263671875,
0.399658203125,
0.14013671875
],
[
0.68408203125,
0.12469482421875,
0.8154296875,
0.12469482421875,
0.8154296875,
0.1395263671875,
0.68408203125,
0.1395263671875
],
[
0.3359375,
0.141357421875,
0.5283203125,
0.141357421875,
0.5283203125,
0.1561279296875,
0.3359375,
0.1561279296875
],
[
0.5322265625,
0.141357421875,
0.6650390625,
0.1383056640625,
0.6650390625,
0.1561279296875,
0.5322265625,
0.1591796875
],
[
0.166259765625,
0.1644287109375,
0.3720703125,
0.166259765625,
0.3720703125,
0.18115234375,
0.166259765625,
0.1787109375
],
[
0.3955078125,
0.1650390625,
0.8369140625,
0.1650390625,
0.8369140625,
0.179931640625,
0.3955078125,
0.179931640625
],
[
0.33154296875,
0.188232421875,
0.68603515625,
0.189453125,
0.68603515625,
0.2037353515625,
0.33154296875,
0.203125
],
[
0.26611328125,
0.243408203125,
0.34765625,
0.243408203125,
0.34765625,
0.254638671875,
0.26611328125,
0.254638671875
],
[
0.51708984375,
0.24462890625,
0.8818359375,
0.24462890625,
0.8818359375,
0.25830078125,
0.51708984375,
0.25830078125
],
[
0.21240234375,
0.26123046875,
0.397216796875,
0.26123046875,
0.397216796875,
0.27490234375,
0.21240234375,
0.27490234375
],
[
0.51708984375,
0.262451171875,
0.880859375,
0.262451171875,
0.880859375,
0.2724609375,
0.51708984375,
0.2724609375
],
[
0.17041015625,
0.27783203125,
0.274658203125,
0.27978515625,
0.274658203125,
0.29443359375,
0.17041015625,
0.292236328125
],
[
0.5146484375,
0.276611328125,
0.8818359375,
0.276611328125,
0.8818359375,
0.290283203125,
0.5146484375,
0.290283203125
],
[
0.1259765625,
0.297607421875,
0.316650390625,
0.297607421875,
0.316650390625,
0.30810546875,
0.1259765625,
0.30810546875
],
[
0.515625,
0.292236328125,
0.880859375,
0.292236328125,
0.880859375,
0.30712890625,
0.515625,
0.30712890625
],
[
0.36865234375,
0.3017578125,
0.478515625,
0.3017578125,
0.478515625,
0.3134765625,
0.36865234375,
0.3134765625
],
[
0.1234130859375,
0.30810546875,
0.316650390625,
0.30810546875,
0.316650390625,
0.32177734375,
0.1234130859375,
0.32177734375
],
[
0.515625,
0.308837890625,
0.88330078125,
0.308837890625,
0.88330078125,
0.322509765625,
0.515625,
0.322509765625
],
[
0.124267578125,
0.319580078125,
0.31494140625,
0.319580078125,
0.31494140625,
0.330078125,
0.124267578125,
0.330078125
],
[
0.365234375,
0.320556640625,
0.476806640625,
0.322509765625,
0.476806640625,
0.334228515625,
0.365234375,
0.33203125
],
[
0.1234130859375,
0.330078125,
0.318115234375,
0.330078125,
0.318115234375,
0.34326171875,
0.1234130859375,
0.34326171875
],
[
0.5146484375,
0.32470703125,
0.8369140625,
0.32373046875,
0.8369140625,
0.33837890625,
0.5146484375,
0.339111328125
],
[
0.35693359375,
0.33203125,
0.48193359375,
0.33203125,
0.48193359375,
0.345703125,
0.35693359375,
0.345703125
],
[
0.1259765625,
0.342529296875,
0.316650390625,
0.342529296875,
0.316650390625,
0.352783203125,
0.1259765625,
0.352783203125
],
[
0.385498046875,
0.344482421875,
0.462646484375,
0.344482421875,
0.462646484375,
0.355224609375,
0.385498046875,
0.355224609375
],
[
0.5341796875,
0.34326171875,
0.8818359375,
0.34326171875,
0.8818359375,
0.35693359375,
0.5341796875,
0.35693359375
],
[
0.1275634765625,
0.352783203125,
0.31982421875,
0.352783203125,
0.31982421875,
0.363525390625,
0.1275634765625,
0.363525390625
],
[
0.124267578125,
0.361083984375,
0.2435302734375,
0.361083984375,
0.2435302734375,
0.374755859375,
0.124267578125,
0.374755859375
],
[
0.515625,
0.358154296875,
0.8818359375,
0.359375,
0.8818359375,
0.37353515625,
0.515625,
0.372314453125
],
[
0.515625,
0.3759765625,
0.88330078125,
0.3759765625,
0.88330078125,
0.3896484375,
0.515625,
0.3896484375
],
[
0.175537109375,
0.3818359375,
0.268798828125,
0.3818359375,
0.268798828125,
0.393798828125,
0.175537109375,
0.393798828125
],
[
0.51318359375,
0.39013671875,
0.8818359375,
0.391357421875,
0.8818359375,
0.40625,
0.51318359375,
0.405029296875
],
[
0.130126953125,
0.402587890625,
0.310546875,
0.402587890625,
0.310546875,
0.413330078125,
0.130126953125,
0.413330078125
],
[
0.36865234375,
0.39794921875,
0.478515625,
0.39794921875,
0.478515625,
0.412109375,
0.36865234375,
0.412109375
],
[
0.1292724609375,
0.412109375,
0.313232421875,
0.412109375,
0.313232421875,
0.42578125,
0.1292724609375,
0.42578125
],
[
0.515625,
0.407958984375,
0.8818359375,
0.407958984375,
0.8818359375,
0.421630859375,
0.515625,
0.421630859375
],
[
0.38037109375,
0.42041015625,
0.466796875,
0.42041015625,
0.466796875,
0.43115234375,
0.38037109375,
0.43115234375
],
[
0.5146484375,
0.42333984375,
0.87890625,
0.42333984375,
0.87890625,
0.43701171875,
0.5146484375,
0.43701171875
],
[
0.14697265625,
0.435302734375,
0.300537109375,
0.435302734375,
0.300537109375,
0.4453125,
0.14697265625,
0.4453125
],
[
0.382080078125,
0.43115234375,
0.465087890625,
0.43115234375,
0.465087890625,
0.4423828125,
0.382080078125,
0.4423828125
],
[
0.391357421875,
0.441162109375,
0.456787109375,
0.441162109375,
0.456787109375,
0.453125,
0.391357421875,
0.453125
],
[
0.51318359375,
0.438232421875,
0.8818359375,
0.439453125,
0.8818359375,
0.45361328125,
0.51318359375,
0.453125
],
[
0.1695556640625,
0.453125,
0.273681640625,
0.45361328125,
0.273681640625,
0.465576171875,
0.1695556640625,
0.46435546875
],
[
0.5146484375,
0.454833984375,
0.88330078125,
0.4560546875,
0.88330078125,
0.47021484375,
0.5146484375,
0.4697265625
],
[
0.51318359375,
0.471435546875,
0.8818359375,
0.471435546875,
0.8818359375,
0.486328125,
0.51318359375,
0.486328125
],
[
0.12005615234375,
0.48681640625,
0.486083984375,
0.48681640625,
0.486083984375,
0.50048828125,
0.12005615234375,
0.50048828125
],
[
0.515625,
0.4892578125,
0.59033203125,
0.4892578125,
0.59033203125,
0.50048828125,
0.515625,
0.50048828125
],
[
0.12005615234375,
0.501953125,
0.48779296875,
0.501953125,
0.48779296875,
0.515625,
0.12005615234375,
0.515625
],
[
0.53076171875,
0.5048828125,
0.8818359375,
0.50732421875,
0.8818359375,
0.521484375,
0.53076171875,
0.51953125
],
[
0.12176513671875,
0.51708984375,
0.486083984375,
0.51708984375,
0.486083984375,
0.52783203125,
0.12176513671875,
0.52783203125
],
[
0.51318359375,
0.5224609375,
0.88330078125,
0.521484375,
0.88330078125,
0.5361328125,
0.51318359375,
0.53759765625
],
[
0.1175537109375,
0.529296875,
0.4375,
0.52978515625,
0.4375,
0.54443359375,
0.1175537109375,
0.54345703125
],
[
0.51318359375,
0.53759765625,
0.88330078125,
0.5390625,
0.88330078125,
0.552734375,
0.51318359375,
0.55029296875
],
[
0.51318359375,
0.55419921875,
0.8818359375,
0.55419921875,
0.8818359375,
0.56787109375,
0.51318359375,
0.56787109375
],
[
0.118408203125,
0.56640625,
0.151123046875,
0.56640625,
0.151123046875,
0.57763671875,
0.118408203125,
0.57763671875
],
[
0.151123046875,
0.56640625,
0.26611328125,
0.56640625,
0.26611328125,
0.5791015625,
0.151123046875,
0.5791015625
],
[
0.51318359375,
0.5693359375,
0.8818359375,
0.5693359375,
0.8818359375,
0.5830078125,
0.51318359375,
0.5830078125
],
[
0.51318359375,
0.5849609375,
0.8818359375,
0.5849609375,
0.8818359375,
0.5986328125,
0.51318359375,
0.5986328125
],
[
0.12005615234375,
0.59326171875,
0.486083984375,
0.59326171875,
0.486083984375,
0.60693359375,
0.12005615234375,
0.60693359375
],
[
0.51318359375,
0.6015625,
0.8818359375,
0.6015625,
0.8818359375,
0.615234375,
0.51318359375,
0.615234375
],
[
0.12176513671875,
0.60986328125,
0.48779296875,
0.60986328125,
0.48779296875,
0.62353515625,
0.12176513671875,
0.62353515625
],
[
0.51318359375,
0.619140625,
0.8818359375,
0.619140625,
0.8818359375,
0.6328125,
0.51318359375,
0.6328125
],
[
0.12176513671875,
0.6259765625,
0.48779296875,
0.6259765625,
0.48779296875,
0.6396484375,
0.12176513671875,
0.6396484375
],
[
0.5146484375,
0.63427734375,
0.8818359375,
0.63525390625,
0.8818359375,
0.6494140625,
0.5146484375,
0.6484375
],
[
0.118408203125,
0.642578125,
0.489501953125,
0.642578125,
0.489501953125,
0.65625,
0.118408203125,
0.65625
],
[
0.118408203125,
0.65673828125,
0.484375,
0.65673828125,
0.484375,
0.67041015625,
0.118408203125,
0.67041015625
],
[
0.51318359375,
0.65185546875,
0.8818359375,
0.65185546875,
0.8818359375,
0.6650390625,
0.51318359375,
0.6650390625
],
[
0.5146484375,
0.66650390625,
0.8818359375,
0.66748046875,
0.8818359375,
0.681640625,
0.5146484375,
0.68115234375
],
[
0.12005615234375,
0.6728515625,
0.48779296875,
0.67333984375,
0.48779296875,
0.6884765625,
0.12005615234375,
0.68701171875
],
[
0.515625,
0.68408203125,
0.8818359375,
0.68408203125,
0.8818359375,
0.69775390625,
0.515625,
0.69775390625
],
[
0.12005615234375,
0.6904296875,
0.48779296875,
0.6904296875,
0.48779296875,
0.70361328125,
0.12005615234375,
0.70361328125
],
[
0.515625,
0.69970703125,
0.8818359375,
0.69970703125,
0.8818359375,
0.71337890625,
0.515625,
0.71337890625
],
[
0.12005615234375,
0.7060546875,
0.489501953125,
0.7060546875,
0.489501953125,
0.72021484375,
0.12005615234375,
0.72021484375
],
[
0.51318359375,
0.71435546875,
0.880859375,
0.71435546875,
0.880859375,
0.728515625,
0.51318359375,
0.728515625
],
[
0.1175537109375,
0.72021484375,
0.489501953125,
0.7216796875,
0.489501953125,
0.736328125,
0.1175537109375,
0.7353515625
],
[
0.51318359375,
0.72998046875,
0.8818359375,
0.73095703125,
0.8818359375,
0.7451171875,
0.51318359375,
0.74462890625
],
[
0.118408203125,
0.73681640625,
0.48779296875,
0.73681640625,
0.48779296875,
0.751953125,
0.118408203125,
0.751953125
],
[
0.5146484375,
0.74755859375,
0.88330078125,
0.74755859375,
0.88330078125,
0.76123046875,
0.5146484375,
0.76123046875
],
[
0.12005615234375,
0.75439453125,
0.486083984375,
0.75439453125,
0.486083984375,
0.76708984375,
0.12005615234375,
0.76708984375
],
[
0.118408203125,
0.76953125,
0.486083984375,
0.76953125,
0.486083984375,
0.78369140625,
0.118408203125,
0.78369140625
],
[
0.515625,
0.76416015625,
0.8818359375,
0.76416015625,
0.8818359375,
0.77783203125,
0.515625,
0.77783203125
],
[
0.515625,
0.779296875,
0.88330078125,
0.77978515625,
0.88330078125,
0.79443359375,
0.515625,
0.79345703125
],
[
0.12005615234375,
0.7880859375,
0.208251953125,
0.7880859375,
0.208251953125,
0.7998046875,
0.12005615234375,
0.7998046875
],
[
0.51318359375,
0.79638671875,
0.880859375,
0.79638671875,
0.880859375,
0.81005859375,
0.51318359375,
0.81005859375
],
[
0.1368408203125,
0.802734375,
0.489501953125,
0.80419921875,
0.489501953125,
0.818359375,
0.1368408203125,
0.81787109375
],
[
0.51318359375,
0.81005859375,
0.8818359375,
0.81103515625,
0.8818359375,
0.826171875,
0.51318359375,
0.82470703125
],
[
0.118408203125,
0.818359375,
0.490234375,
0.8193359375,
0.490234375,
0.83447265625,
0.118408203125,
0.8330078125
],
[
0.5146484375,
0.82763671875,
0.88330078125,
0.82763671875,
0.88330078125,
0.8427734375,
0.5146484375,
0.8427734375
],
[
0.12005615234375,
0.8359375,
0.48779296875,
0.8359375,
0.48779296875,
0.849609375,
0.12005615234375,
0.849609375
],
[
0.515625,
0.84423828125,
0.64404296875,
0.84423828125,
0.64404296875,
0.85791015625,
0.515625,
0.85791015625
],
[
0.118408203125,
0.8515625,
0.486083984375,
0.8515625,
0.486083984375,
0.865234375,
0.118408203125,
0.865234375
],
[
0.12005615234375,
0.8681640625,
0.48779296875,
0.8681640625,
0.48779296875,
0.8818359375,
0.12005615234375,
0.8818359375
],
[
0.5322265625,
0.86328125,
0.8818359375,
0.86328125,
0.8818359375,
0.876953125,
0.5322265625,
0.876953125
],
[
0.51708984375,
0.87890625,
0.8818359375,
0.87890625,
0.8818359375,
0.892578125,
0.51708984375,
0.892578125
],
[
0.1427001953125,
0.896484375,
0.2493896484375,
0.896484375,
0.2493896484375,
0.90771484375,
0.1427001953125,
0.90771484375
],
[
0.51318359375,
0.8935546875,
0.8818359375,
0.89453125,
0.8818359375,
0.9091796875,
0.51318359375,
0.90771484375
]
] |
[
"评估用于问题回答的指令跟随模型的正确性和可靠性",
"Vaibhay Adlakha1,2",
"Parishad BehnamGhaderl,*",
"Xing Han Lul.",
"Nicholas Meadel,*",
"Siva Reddyl,2,3",
"1Mila, McGill University",
"2ServiceNow Research3Facebook CIFAR AIChair",
"{firstname.lastname} @mila.quebec",
"?Question",
"长的响应,这是一个有用的特征,有助于建立",
"Where are One Direction from?",
"用户的信任和参与度。但是,允长的内容使传",
"Knowledge",
"统的评估指标(例如精确匹配(EM)和F1)不",
"One Direction,often shortened",
"可靠,这给评估(Kamallooetal.2023)带来了",
"Faithfulness",
"to 1D, are_an English-Irish pop",
"新的挑战。此外,这些模型也倾向于提供补充",
"boy band formed in London",
"Human→Partially",
"England in 2010. The group are",
"信息,可能是幻觉(Chiesurinetal.,2023",
" K-Precision → 0.77",
"composed[...] televised singing",
"K-F1- 0.09",
"考虑Figure1,其中用户询问一个方向来",
"competition \"The X Factor\"in",
"2010. Propelled to..",
"自哪里?。将参考答案英国伦敦与模型响应",
"的第一部分进行比较OneDirectionarefromLon",
"Response",
"don,EnglandyieldsOEMandO。5个F1分数,尽",
"OneDirectionarefromLondon",
"Correctness",
"England and Mullingar,Ireland.",
"管两个答案实际上是相等的(整个答案得分",
"HumanYes",
"为0。36F1)。此外,该模型断言一个方向来自",
"★ReferenceAnswer",
"Recall-→1.00",
"F1-→ 0.36",
"Mullingar。虽然正确,但所提供的知识不支持",
"London,England",
"此事实。由于EM和F1仅与参考答案进行比",
"较,因此他们无法估计所提供的知识是否支持",
"Figure 1: Sample response generated by GPT-3.5.",
"模型响应",
"The response is correct w.r.t information need but only",
"We posit that an optimal model should not only",
"partially faithful w.r.t knowledge. Recall (4.1) and K",
"correctly respond to user queries but also be faith-",
"Precision ($5.1) approximate human judgment.",
"ful,i.e.it should only disseminate information",
"that is inferrable or directly stated by external",
"1",
"Introduction",
"documents (Rashkin et al., 2021b; Dziri et al..",
"2022c). The resulting interpretability builds user",
"遵循指令的模型(例如ChatGPT)很有吸引",
"trust and allows for dynamic knowledge updates",
"力,因为它们可以根据自然语言指令执行",
"(Lewisetal,2020).在这项工作中,我们主张",
"任务。这些模型通常是通过将大型语言模型",
"应该从两个方面评估QA模型-1)正确性W。",
"(LLM; Brown et al. 2020; Zhang et al. 2022; Tou-",
"vronetal.2023a)暴露给成千上万的NLP任务",
"。t信息需求,它衡量模型在满足用户信息需",
"求方面的有效性,以及2)忠诚度w。r。t提供",
"来训练的,这些任务被制定为指令(Sanhetal.",
"的知识,它衡量模型在提供的知识中建立事实",
"2022; Mishra et al., 2022; Wei et al., 2022; Chung",
"信息的能力。我们评估了几种最新的指令跟随",
"et al., 2022; Ouyang et al., 2022; Iyer et al., 2022;",
"模型-Flan-T5(Chung et al.,2022),羊驼(Taor",
"Touvron et al., 2023b)或其他 LLM (Wang et al.,",
"et al.,2023),GPT-3。5(Ouyang et al. 2022的同",
"2022a; Taori et al., 2023; Peng et al., 2023)生成",
"级模型)和Llama-2(Touvronetal.,2023b)-在",
"的合成示例。在本文中,我们使用一组给定",
"的文本段落来评估指令跟随模型的事实问答",
"三个流行的事实信息寻求QA数据集上-自然",
"问题(NQ;Kwiatkowskietal.2019),HotpotQA",
"(QA)能力",
"(Yang et al., 2018) 和 TopiOCQA (Adlakha et al.",
"指令跟随模型在提供任务描述、问题和相关",
"2022)。我们对1800个模型响应进行了人工分",
"文本段落时可以执行QA(Chungetal.,2022)。",
"析,并将它们与几个自动指标相关联,以确保",
"以用户为中心的应用程序(e。g。BingChat)通",
"正确性和忠诚度",
"常将这些模型与寻回器或互联网搜索配对,以",
"提供相关信息。这些模型生成自然,翔实和几",
"我们的发现表明,对于正确性,召回率-参考",
"答案中也在模型响应中的令牌比例-比EM或",
"Core contributor",
"F1等传统QA指标具有更高的相关性。对于忠"
] |
{
"arxiv_id": "2307.16877",
"language": "zh",
"page_idx": 1
}
|
||
2307.16877-zh-2
|
2307.16877-zh-2.jpg
|
诚度,K-Precision-知识片段中出现的模型响应中的令牌比例-比任何其他词汇指标更好地相关。尽管 GPT-4 作为评估者在正确性和忠诚度方面达到了最高的相关性,但它价格昂贵且容易产生系统偏差 (Wang et al.,2023) 。我们证明了我们提出的词汇指标接近基于 GPT-4 的评估,使我们能够大规模评估指令跟随模型
忠实的模型不仅应在所提供的知识相关时回答,而且应在不相关时避免回答。因此,我们还考虑了该模型放弃回答的能力,以此来衡量其忠诚度。
总结一下,我们的贡献如下:
$\cdot$ We annotate responses from instructionfollowing models for QA along the dimensions of correctness and faithfulness, and evaluate several evaluation metrics. We also analyze the nature of responses where current metrics fail.
$\bullet$ Guided by our analysis of traditional QA metrics' shortcomings, we propose simple tokenoverlap metrics - recall for correctness and K-Precision for faithfulness - and demonstrate their strong correlation with human judgments.
$\cdot$ We evaluate four instruction-following models across three diverse QA tasks. Our results indicate that these models, even without any further training, are comparable to task-specific fine-tuned models for correctness. However, they struggle to be faithful to provided knowledge, often failing to accurately identify its relevance.
## 2 $\textbf{Related Work}$
Instruction-Following Models 这些模型通常
在许多以自然语言指令(Wang et al.,2022b; Mishra et al., 2022; Chung et al., 2022; Iyer et al., 2022) 形式表达的 NLP 任务上进行训练。任务数量从几十个(Wei et al. 2022 中的 62 个) 到几百个(Iyer et al. 2022 中的 1800 个) 不等。为了增加 NLP 任务的多样性和范围,InstructGPT (Ouyang et al., 2022) 和 Llama-2 (Touvron et al., 2023b) 在培训期间结合了高质量的专家注释。他们使用人类反馈进一步训练,使其与人类偏好保持一致 (RLHF; Christiano et al. 2017 )。另一种流行的方法,自我指导(Wang et al.,2022a) 通过引导 LLM 生成新任务的指令和演示来减少对人类创作指令的依赖。结果数据集用于训练指令跟随模型 (Taori et al., 2023; Peng et al., 2023)
最近的作品 (Lazaridou et al., 2022; Shi et al., 2023) 已将检索器与 QA 的少量语言模型配对, 从而减轻了学习其他参数的需求。与这些工作相反,我们在没有任何演示的情况下评估检索增强的指令跟随模型。在这些情况下,模型不遵循参考答案的分布,这给评估带来了新的挑战
Evaluation in QA 以前对信息寻求 QA 的研究主要依赖于词汇匹配指标,例如精确匹配(EM) 和 F1 进行模型评估 (Rajpurkar et al., 2016; Reddy et al., 2019) 。由于简单的令牌重叠度量无法捕获语义等效性(Min et al., 2021) , 因此后续基于模型的度量采用上下文化嵌人$\mathbb{E}$ (Zhang et al., 2020) 或专用分类器 (Bulian et al., 2022) 来预测等效性。最近,一些作品诉诸于促使像 GPT-4 (OpenAI, 2023) 这样的 LLM 充当评估者 (Chiang et al., 2023; Peng et al., 2023; Chiang and Lee, 2023; Kamalloo et al., 2023; Liu et al., 2023b)
最近,Kamalloo et al.(2023)将 InstructGPT (Ouyang et al., 2022) 的正确性与 QA 的微调模型进行了比较。他们强调了传统 QA 指标的缺点,并提出了基于模型的评估作为可行的替代方法。相比之下,我们评估了指令跟随模型的正确性和忠诚度,并提出了与人类判断高度相关的令牌重叠指标
Evaluating Faithfulness 会话模型产生事实上不正确或不受支持的语句 (Rashkin et al., 2021b;Dziri et al.,2022b),称为幻觉。已经提出了几种指标来检测幻觉,或者相反地,来衡量忠诚。Knowledge-F1(K-F1; Shuster et al. 2021 ) 计算模型响应和提供的知识之间的令牌重叠F1。$Q^{2}$ (Honovich et al.,2021)基于自动问题生成和问题回答检查事实一致性。FaithCritic (Dziri et al., 2022a) 使用经过训练的模型来预测幻觉。最近,Chiesurin et al.(2023) 证明了检索增强的 GPT-3 可能会产生看起来值得信赖但对检索到的段落不忠实的响应。他们提出了K-Fl++,这是 K-F1 的一种变体,可以对问题中出现的模型响应中的令牌进行折扣。在我们的实验中,我们观察到这个指标与人类的判断没有很好的相关性
Evaluation of Instruction-following Models 指令跟随模型已经挑战了以前为许多 NLP 任务建立的评估协议。Goyal et al.(2022) 表明, 与微调模型相比,人类更喜欢 GPT-3 (Brown et al.,2020)生成的摘要,但是,现有的自动指
标无法捕获此首选项。Xu et al.(2023) 提倡对长格式 QA 进行多方面评估,重点是诸如完整性和易于理解等细粒度方面。在这项工作中, 我们提出了对事实信息寻求 QA 的正确性和真
|
[
[
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.12176513671875,
0.09320068359375,
0.48779296875,
0.09320068359375,
0.48779296875,
0.10687255859375,
0.12176513671875,
0.10687255859375
],
[
0.51318359375,
0.09320068359375,
0.88330078125,
0.09320068359375,
0.88330078125,
0.10687255859375,
0.51318359375,
0.10687255859375
],
[
0.12176513671875,
0.1092529296875,
0.48779296875,
0.1092529296875,
0.48779296875,
0.12353515625,
0.12176513671875,
0.12353515625
],
[
0.5146484375,
0.1092529296875,
0.8818359375,
0.1092529296875,
0.8818359375,
0.12353515625,
0.5146484375,
0.12353515625
],
[
0.12176513671875,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.12176513671875,
0.1395263671875
],
[
0.5146484375,
0.1258544921875,
0.8818359375,
0.1258544921875,
0.8818359375,
0.1395263671875,
0.5146484375,
0.1395263671875
],
[
0.12176513671875,
0.141357421875,
0.48779296875,
0.141357421875,
0.48779296875,
0.155029296875,
0.12176513671875,
0.155029296875
],
[
0.5146484375,
0.141357421875,
0.8818359375,
0.141357421875,
0.8818359375,
0.155029296875,
0.5146484375,
0.155029296875
],
[
0.124267578125,
0.1591796875,
0.486083984375,
0.1591796875,
0.486083984375,
0.169189453125,
0.124267578125,
0.169189453125
],
[
0.5146484375,
0.157958984375,
0.88330078125,
0.157958984375,
0.88330078125,
0.171630859375,
0.5146484375,
0.171630859375
],
[
0.12005615234375,
0.17333984375,
0.45166015625,
0.17333984375,
0.45166015625,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.51708984375,
0.17041015625,
0.5400390625,
0.174560546875,
0.53564453125,
0.188232421875,
0.51318359375,
0.185302734375
],
[
0.1376953125,
0.189453125,
0.48779296875,
0.189453125,
0.48779296875,
0.203125,
0.1376953125,
0.203125
],
[
0.5224609375,
0.19482421875,
0.8818359375,
0.19482421875,
0.8818359375,
0.2078857421875,
0.5224609375,
0.2078857421875
],
[
0.118408203125,
0.2060546875,
0.48779296875,
0.2060546875,
0.48779296875,
0.2197265625,
0.118408203125,
0.2197265625
],
[
0.51318359375,
0.208984375,
0.88330078125,
0.210205078125,
0.88330078125,
0.2244873046875,
0.51318359375,
0.223876953125
],
[
0.12005615234375,
0.22265625,
0.489501953125,
0.22265625,
0.489501953125,
0.236328125,
0.12005615234375,
0.236328125
],
[
0.515625,
0.226806640625,
0.8818359375,
0.226806640625,
0.8818359375,
0.240478515625,
0.515625,
0.240478515625
],
[
0.12005615234375,
0.2392578125,
0.2032470703125,
0.2392578125,
0.2032470703125,
0.25048828125,
0.12005615234375,
0.25048828125
],
[
0.5146484375,
0.2423095703125,
0.8818359375,
0.2423095703125,
0.8818359375,
0.255859375,
0.5146484375,
0.255859375
],
[
0.1376953125,
0.254150390625,
0.366943359375,
0.254150390625,
0.366943359375,
0.268310546875,
0.1376953125,
0.268310546875
],
[
0.515625,
0.257080078125,
0.880859375,
0.25830078125,
0.880859375,
0.2724609375,
0.515625,
0.271484375
],
[
0.51708984375,
0.27490234375,
0.88330078125,
0.27490234375,
0.88330078125,
0.2880859375,
0.51708984375,
0.2880859375
],
[
0.1318359375,
0.283203125,
0.490234375,
0.283203125,
0.490234375,
0.297607421875,
0.1318359375,
0.297607421875
],
[
0.51123046875,
0.289306640625,
0.8818359375,
0.290283203125,
0.8818359375,
0.3046875,
0.51123046875,
0.303955078125
],
[
0.14697265625,
0.297607421875,
0.48779296875,
0.297607421875,
0.48779296875,
0.311279296875,
0.14697265625,
0.311279296875
],
[
0.51318359375,
0.3046875,
0.8818359375,
0.305908203125,
0.8818359375,
0.320556640625,
0.51318359375,
0.319580078125
],
[
0.14697265625,
0.3154296875,
0.489501953125,
0.3154296875,
0.489501953125,
0.328857421875,
0.14697265625,
0.328857421875
],
[
0.515625,
0.322509765625,
0.88330078125,
0.322509765625,
0.88330078125,
0.336181640625,
0.515625,
0.336181640625
],
[
0.1485595703125,
0.330810546875,
0.48779296875,
0.330810546875,
0.48779296875,
0.344482421875,
0.1485595703125,
0.344482421875
],
[
0.515625,
0.339111328125,
0.88330078125,
0.339111328125,
0.88330078125,
0.352783203125,
0.515625,
0.352783203125
],
[
0.145263671875,
0.3466796875,
0.48779296875,
0.347412109375,
0.48779296875,
0.3623046875,
0.145263671875,
0.361083984375
],
[
0.5146484375,
0.355224609375,
0.8818359375,
0.355224609375,
0.8818359375,
0.3681640625,
0.5146484375,
0.3681640625
],
[
0.14697265625,
0.361083984375,
0.210693359375,
0.363525390625,
0.2091064453125,
0.377685546875,
0.145263671875,
0.3759765625
],
[
0.51318359375,
0.37060546875,
0.615234375,
0.3681640625,
0.615234375,
0.383056640625,
0.51318359375,
0.385498046875
],
[
0.1318359375,
0.385498046875,
0.489501953125,
0.385498046875,
0.489501953125,
0.3984375,
0.1318359375,
0.3984375
],
[
0.5322265625,
0.38720703125,
0.8818359375,
0.385986328125,
0.8818359375,
0.40087890625,
0.5322265625,
0.402099609375
],
[
0.14697265625,
0.40087890625,
0.490234375,
0.40087890625,
0.490234375,
0.4150390625,
0.14697265625,
0.4150390625
],
[
0.51318359375,
0.40380859375,
0.8818359375,
0.40380859375,
0.8818359375,
0.41748046875,
0.51318359375,
0.41748046875
],
[
0.1485595703125,
0.41748046875,
0.489501953125,
0.41748046875,
0.489501953125,
0.43115234375,
0.1485595703125,
0.43115234375
],
[
0.515625,
0.419189453125,
0.8818359375,
0.419189453125,
0.8818359375,
0.432861328125,
0.515625,
0.432861328125
],
[
0.1485595703125,
0.435302734375,
0.48779296875,
0.435302734375,
0.48779296875,
0.4453125,
0.1485595703125,
0.4453125
],
[
0.515625,
0.435791015625,
0.8818359375,
0.435791015625,
0.8818359375,
0.449462890625,
0.515625,
0.449462890625
],
[
0.14697265625,
0.449462890625,
0.489501953125,
0.449462890625,
0.489501953125,
0.46435546875,
0.14697265625,
0.46435546875
],
[
0.51318359375,
0.451904296875,
0.880859375,
0.451904296875,
0.880859375,
0.465576171875,
0.51318359375,
0.465576171875
],
[
0.1485595703125,
0.468505859375,
0.197265625,
0.468505859375,
0.197265625,
0.478515625,
0.1485595703125,
0.478515625
],
[
0.515625,
0.468505859375,
0.8818359375,
0.468505859375,
0.8818359375,
0.482177734375,
0.515625,
0.482177734375
],
[
0.1318359375,
0.48681640625,
0.489501953125,
0.48681640625,
0.489501953125,
0.50048828125,
0.1318359375,
0.50048828125
],
[
0.515625,
0.485107421875,
0.6630859375,
0.485107421875,
0.6630859375,
0.498779296875,
0.515625,
0.498779296875
],
[
0.1485595703125,
0.5048828125,
0.486083984375,
0.5048828125,
0.486083984375,
0.515625,
0.1485595703125,
0.515625
],
[
0.5205078125,
0.5048828125,
0.88330078125,
0.5048828125,
0.88330078125,
0.5185546875,
0.5205078125,
0.5185546875
],
[
0.1485595703125,
0.51953125,
0.489501953125,
0.51953125,
0.489501953125,
0.533203125,
0.1485595703125,
0.533203125
],
[
0.51708984375,
0.52099609375,
0.8818359375,
0.52099609375,
0.8818359375,
0.53369140625,
0.51708984375,
0.53369140625
],
[
0.1485595703125,
0.5361328125,
0.489501953125,
0.5361328125,
0.489501953125,
0.5498046875,
0.1485595703125,
0.5498046875
],
[
0.5146484375,
0.5361328125,
0.8818359375,
0.5361328125,
0.8818359375,
0.5498046875,
0.5146484375,
0.5498046875
],
[
0.14697265625,
0.5517578125,
0.489501953125,
0.5517578125,
0.489501953125,
0.5654296875,
0.14697265625,
0.5654296875
],
[
0.5146484375,
0.5517578125,
0.880859375,
0.5517578125,
0.880859375,
0.5654296875,
0.5146484375,
0.5654296875
],
[
0.14697265625,
0.56787109375,
0.489501953125,
0.56787109375,
0.489501953125,
0.58056640625,
0.14697265625,
0.58056640625
],
[
0.515625,
0.57080078125,
0.87890625,
0.57080078125,
0.87890625,
0.58056640625,
0.515625,
0.58056640625
],
[
0.1485595703125,
0.58447265625,
0.490234375,
0.58447265625,
0.490234375,
0.59716796875,
0.1485595703125,
0.59716796875
],
[
0.51318359375,
0.58447265625,
0.880859375,
0.58447265625,
0.880859375,
0.59716796875,
0.51318359375,
0.59716796875
],
[
0.1485595703125,
0.6015625,
0.204833984375,
0.6015625,
0.204833984375,
0.61328125,
0.1485595703125,
0.61328125
],
[
0.5146484375,
0.6015625,
0.8818359375,
0.6015625,
0.8818359375,
0.615234375,
0.5146484375,
0.615234375
],
[
0.51708984375,
0.61767578125,
0.8818359375,
0.61767578125,
0.8818359375,
0.63134765625,
0.51708984375,
0.63134765625
],
[
0.1175537109375,
0.62744140625,
0.276123046875,
0.62744140625,
0.276123046875,
0.642578125,
0.1175537109375,
0.642578125
],
[
0.5146484375,
0.6328125,
0.880859375,
0.6328125,
0.880859375,
0.646484375,
0.5146484375,
0.646484375
],
[
0.1234130859375,
0.65380859375,
0.48779296875,
0.65380859375,
0.48779296875,
0.66748046875,
0.1234130859375,
0.66748046875
],
[
0.515625,
0.6484375,
0.880859375,
0.6484375,
0.880859375,
0.662109375,
0.515625,
0.662109375
],
[
0.12005615234375,
0.67041015625,
0.489501953125,
0.67041015625,
0.489501953125,
0.68408203125,
0.12005615234375,
0.68408203125
],
[
0.515625,
0.66650390625,
0.87890625,
0.66650390625,
0.87890625,
0.6767578125,
0.515625,
0.6767578125
],
[
0.5146484375,
0.6796875,
0.880859375,
0.68115234375,
0.880859375,
0.6953125,
0.5146484375,
0.69482421875
],
[
0.12005615234375,
0.68603515625,
0.48779296875,
0.68603515625,
0.48779296875,
0.69970703125,
0.12005615234375,
0.69970703125
],
[
0.12005615234375,
0.703125,
0.48193359375,
0.703125,
0.48193359375,
0.71337890625,
0.12005615234375,
0.71337890625
],
[
0.515625,
0.69775390625,
0.8818359375,
0.69775390625,
0.8818359375,
0.71142578125,
0.515625,
0.71142578125
],
[
0.5146484375,
0.7119140625,
0.8818359375,
0.71337890625,
0.8818359375,
0.72802734375,
0.5146484375,
0.72705078125
],
[
0.12005615234375,
0.71875,
0.48779296875,
0.71875,
0.48779296875,
0.732421875,
0.12005615234375,
0.732421875
],
[
0.118408203125,
0.73388671875,
0.48779296875,
0.73291015625,
0.48779296875,
0.74755859375,
0.118408203125,
0.7490234375
],
[
0.515625,
0.72998046875,
0.8818359375,
0.72998046875,
0.8818359375,
0.74462890625,
0.515625,
0.74462890625
],
[
0.1234130859375,
0.75048828125,
0.48779296875,
0.75048828125,
0.48779296875,
0.76416015625,
0.1234130859375,
0.76416015625
],
[
0.5146484375,
0.74658203125,
0.66162109375,
0.74658203125,
0.66162109375,
0.76123046875,
0.5146484375,
0.76123046875
],
[
0.12005615234375,
0.76708984375,
0.48779296875,
0.76708984375,
0.48779296875,
0.78076171875,
0.12005615234375,
0.78076171875
],
[
0.52490234375,
0.7666015625,
0.8818359375,
0.7666015625,
0.8818359375,
0.78076171875,
0.52490234375,
0.78076171875
],
[
0.12005615234375,
0.783203125,
0.490234375,
0.783203125,
0.490234375,
0.79638671875,
0.12005615234375,
0.79638671875
],
[
0.5146484375,
0.783203125,
0.8818359375,
0.783203125,
0.8818359375,
0.79638671875,
0.5146484375,
0.79638671875
],
[
0.12176513671875,
0.798828125,
0.489501953125,
0.798828125,
0.489501953125,
0.8125,
0.12176513671875,
0.8125
],
[
0.515625,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.515625,
0.8125
],
[
0.118408203125,
0.81396484375,
0.486083984375,
0.81396484375,
0.486083984375,
0.82763671875,
0.118408203125,
0.82763671875
],
[
0.51318359375,
0.8134765625,
0.8818359375,
0.81396484375,
0.8818359375,
0.8291015625,
0.51318359375,
0.82763671875
],
[
0.1259765625,
0.83203125,
0.48779296875,
0.83203125,
0.48779296875,
0.845703125,
0.1259765625,
0.845703125
],
[
0.51123046875,
0.830078125,
0.8818359375,
0.83056640625,
0.8818359375,
0.845703125,
0.51123046875,
0.84423828125
],
[
0.12005615234375,
0.84716796875,
0.489501953125,
0.84716796875,
0.489501953125,
0.86083984375,
0.12005615234375,
0.86083984375
],
[
0.51123046875,
0.84716796875,
0.880859375,
0.84716796875,
0.880859375,
0.86083984375,
0.51123046875,
0.86083984375
],
[
0.12176513671875,
0.86328125,
0.489501953125,
0.86328125,
0.489501953125,
0.876953125,
0.12176513671875,
0.876953125
],
[
0.5146484375,
0.86328125,
0.880859375,
0.86328125,
0.880859375,
0.876953125,
0.5146484375,
0.876953125
],
[
0.12176513671875,
0.8798828125,
0.49365234375,
0.8798828125,
0.49365234375,
0.8935546875,
0.12176513671875,
0.8935546875
],
[
0.5146484375,
0.8798828125,
0.880859375,
0.8798828125,
0.880859375,
0.8935546875,
0.5146484375,
0.8935546875
],
[
0.12005615234375,
0.8935546875,
0.166259765625,
0.8955078125,
0.16455078125,
0.9111328125,
0.118408203125,
0.9091796875
],
[
0.515625,
0.89794921875,
0.87890625,
0.89794921875,
0.87890625,
0.90771484375,
0.515625,
0.90771484375
]
] |
[
"诚度,K-Precision-知识片段中出现的模型响应",
"最近的作品(Lazaridouetal.,2022;Shietal.,",
"中的令牌比例-比任何其他词汇指标更好地相",
"2023)已将检索器与QA的少量语言模型配对,",
"关。尽管GPT-4作为评估者在正确性和忠诚度",
"从而减轻了学习其他参数的需求。与这些工作",
"方面达到了最高的相关性,但它价格昂贵且容",
"相反,我们在没有任何演示的情况下评估检索",
"易产生系统偏差(Wangetal.,2023)。我们证明",
"增强的指令跟随模型。在这些情况下,模型不",
"了我们提出的词汇指标接近基于GPT-4的评",
"遵循参考答案的分布,这给评估带来了新的挑",
"估,使我们能够大规模评估指令跟随模型",
"战",
"忠实的模型不仅应在所提供的知识相关时回",
"EvaluationinQA以前对信息寻求QA的",
"答,而且应在不相关时避免回答。因此,我们",
"研究主要依赖于词汇匹配指标,例如精确匹",
"还考虑了该模型放弃回答的能力,以此来衡量",
"配(EM)和F1进行模型评估(Rajpurkaretal.",
"其忠诚度。",
"2016;Reddyetal.,2019)。由于简单的令牌重",
"总结一下,我们的贡献如下:",
"叠度量无法捕获语义等效性(Minetal.,2021)",
"因此后续基于模型的度量采用上下文化嵌入E",
":We annotate responses from instruction-",
"(Zhangetal.,2020)或专用分类器(Bulianetal.,",
"following models for QA along the dimen-",
"2022)来预测等效性。最近,一些作品诉诸于",
"sions of correctness and faithfulness, and eval-",
"促使像GPT-4(OpenAI,2023)这样的LLM充",
"uate several evaluation metrics. We also ana-",
"当评估者(Chiang et al.,2023;Peng et al.,2023;",
"lyze the nature of responses where current met",
"Chiang and Lee, 2023; Kamalloo et al., 2023; Liu",
"rics fail.",
"et al., 2023b)",
": Guided by our analysis of traditional QA met-",
"最近,Kamalloo et al.(2023)将InstructGPT",
"rics' shortcomings, we propose simple token-",
"(Ouyangetal.,2022)的正确性与QA的微调模",
"overlap metrics - recall for correctness and",
"型进行了比较。他们强调了传统QA指标的缺",
"K-Precisionfor faithfulness-and demon-",
"点,并提出了基于模型的评估作为可行的替代",
"strate their strong correlation with human judg-",
"方法。相比之下,我们评估了指令跟随模型的",
"ments.",
"正确性和忠诚度,并提出了与人类判断高度相",
": We evaluate four instruction-following models",
"关的令牌重叠指标",
"across three diverseQAtasks.Ourresults in",
"EvaluatingFaithfulness会话模型产生事实",
"dicate that these models, even without any fur-",
"上不正确或不受支持的语句(Rashkinetal.,",
"ther training, are comparable to task-specific",
"2021b;Dzirietal.,2022b),称为幻觉。已经提",
"fine-tuned models for correctness.However,",
"出了几种指标来检测幻觉,或者相反地,来衡",
"they struggle to be faithful to provided knowl-",
"量忠诚。Knowledge-F1(K-F1:Shusteretal.2021",
"edge, often failing to accurately identify its rel-",
")计算模型响应和提供的知识之间的令牌重叠",
"evance.",
"Fl。Q²(Honovichetal.,2021)基于自动问题",
"生成和问题回答检查事实一致性。FaithCritic",
"2Related Work",
"(Dzirietal.,2022a)使用经过训练的模型来预",
"Instruction-FollowingModels这些模型通常",
"测幻觉。最近,Chiesurinetal.(2023)证明了检",
"在许多以自然语言指令(Wangetal.,2022b;",
"索增强的GPT-3可能会产生看起来值得信赖",
"但对检索到的段落不忠实的响应。他们提出了",
"Mishra et al., 2022; Chung et al., 2022; Iyer et al.,",
"2022)形式表达的NLP任务上进行训练。任务",
"K-F1++,这是K-F1的一种变体,可以对问题",
"中出现的模型响应中的令牌进行折扣。在我们",
"数量从几十个(Weietal.2022中的62个)到",
"几百个(Iyeretal.2022中的1800个)不等。为",
"的实验中,我们观察到这个指标与人类的判断",
"了增加NLP任务的多样性和范围,InstructGPT",
"没有很好的相关性",
"(Ouyang et al., 2022) 和 Llama-2 (Touvron et al.,",
"Evaluation of Instruction-following Models",
"2023b)在培训期间结合了高质量的专家注释。",
"指令跟随模型已经挑战了以前为许多NLP任",
"他们使用人类反馈进一步训练,使其与人类偏",
"务建立的评估协议。Goyal etal.(2022)表明,",
"好保持一致(RLHF;Christianoetal.2017)。另",
"与微调模型相比,人类更喜欢GPT-3(Brown",
"一种流行的方法,自我指导(Wangetal.,2022a)",
"etal.,2020)生成的摘要,但是,现有的自动指",
"通过引导LLM生成新任务的指令和演示来减",
"标无法捕获此首选项。Xuetal.(2023)提倡对",
"少对人类创作指令的依赖。结果数据集用于训",
"长格式QA进行多方面评估,重点是诸如完整",
"练指令跟随模型(Taorietal.2023;Pengetal.,",
"性和易于理解等细粒度方面。在这项工作中",
"2023)",
"我们提出厂对事实信息寻求QA的止确性和真"
] |
{
"arxiv_id": "2307.16877",
"language": "zh",
"page_idx": 2
}
|
||
2307.16877-zh-3
|
2307.16877-zh-3.jpg
|
<table>
<tbody>
<tr>
<th>Dataset</th>
<th>Questions 井</th>
<th>Answer length</th>
<th>$\#$Passages (millions)</th>
</tr>
<tr>
<td>Natural $Qns.$</td>
<td>3,610</td>
<td>2.16</td>
<td>21</td>
</tr>
<tr>
<td>HotpotQA</td>
<td>7,405</td>
<td>2.46</td>
<td>5.2</td>
</tr>
<tr>
<td>TopiOCQA</td>
<td>2,514</td>
<td>10.98</td>
<td>25.7</td>
</tr>
</tbody>
</table>
Table 1: Statistics for datasets. We use the validation splits as the test sets are hidden. Answer length is the average number of words.
实性的多方面评估。
## 3 $\textbf{Experimental Setup}$
## 3.1 $\mathbf{Tasks}$
我们基于 Wikipedia 评估三种不同的信息寻求QA 任务的指令跟随模型。对于每个任务,我们使用具有代表性的流行数据集。我们描述下面的任务。
$\mathbf{O}$pen-domain QA 在这里,我们测试模型以真正的信息寻求意图回答问题的能力,并且其答案出现在 Wikipedia 段落之一中。我们使用自然问题的开放版本(Lee et al.,2019)(NQ; Kwiatkowski et al. 2019 ),其中包含来自 Google 搜索引擎的查询。
$\textbf{Multi- hop QA}$ 在这里,我们测试模型回答至少需要两个维基百科段落才能共同推理的问题的能力。我们使用 HotpotQA (Yang et al., 2018) 完成此任务。
Conversational QA 在这里,我们测试模型在对话环境中回答问题的能力,其答案出现在Wikipedia 段落之一中。我们使用 TopiOCQA (Adlakha et al.,2022),这是一个用于开放域信息搜索对话的数据集
Table 1 列出了每个数据集的维基百科语料库中的问题总数,平均答案长度和段落总数。这些数据集包含简短的答案,因为它们更容易和更一致地由人类注释。但是,作为用户,人类更喜欢冗长的答案(Chiesurin et al., 2023) 。这种不匹配使我们的评估设置现实而重要
# 3.2 Instruction-following Models
如 Figure 2 所示 , 我们使用标准化的提示模板其中包含指令,来自信息源的段落以及从指令遵循语言模型中引出答案的问题。我们将问题替换为 TopiOCQA 的对话历史记录。受 Mishra et al.(2022) 启发,我们将指令表述为“Please answer the following question given the following passages"。我们将此指令称为Instr。vl。我们考虑四种主要基于其培训制度而不同的模型。我们对所有指令跟随模型使用相同的生成参数,如 Appendix A 所述
<table>
<tbody>
<tr>
<td> </td>
<td>$\{$Instruction$\}$</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>Passage text $\}$</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>Passage text $\}$</td>
<td> </td>
</tr>
</tbody>
</table>
Figure 2: Prompt template used for evaluating instruction-following models. The passages are provided by the retriever when evaluating for correctness w.r.t information need.
Flan-T5 (Chung et al., 2022) -我们使用通过在多个指令跟随数据集 (Sanh et al., 2022; Wang et al., 2022b; Wei et al., 2022) 上训练 T5 (Raffel et al., 2020) 获得的 11B 参数。这些数据集包含1800多个任务,其中 200 多个是 QA 任务。NQ 和 HotpotQA 的训练分割包含在这些数据集中羊驼- Taori et al. (2023) 使用自指导框架 (Wang et al.,2022a)在 GPT-3 生成的演示上训练LLaMA (Touvron et al.,2023a)。我们使用 7B 变体
GPT-3。5 我们使用 GPT-3 的涡轮版本。5 1 被描述为 InstructGPT 模型 (Ouyang et al., 2022) 的兄弟。它使用来自 OpenAIAPI 的用户数据和专家注释进行训练,但是,训练任务和数据集的确切分布尚未公开
Llama-2 我们使用 Llama-2 (Touvron et al., 2023b)的 7B 聊天版本。该模型最初在与 FlanT5 类似的数据集上引导,然后在对话式指令上进行微调
### 3.3 Retrieval
为了评估指令跟随模型的正确性,我们将它们与一个检索器配对,该检索器为模型提供与用户查询相关的段落。对于每个任务,我们采用 DPR (密集通道检索;Karpukhin et al.2020 )的特定于任务的变体。对于 NQ,我们使用Karpukhin et al.(2020) 中的预训练检查点,该检查点在多个 QA 数据集上进行了训练。对于 HotpotQA, 我们采用 Xiong et al.(2021)的迭代多跳 DPR 变体,该变体基于查询和先前检索来选择段落。对于 TopiOCQA,我们使用Adlakha et al.(2022)提供的检查点,该检查点经过训练可用于会话 QA 任务
传递给指令跟随模型的检索段落的数量受其
$^{\mathrm{l}}$ openai.com/blog/introducing-chatgpt-and-whisper-apis
|
[
[
0.1259765625,
0.07781982421875,
0.183837890625,
0.07781982421875,
0.183837890625,
0.0926513671875,
0.1259765625,
0.0926513671875
],
[
0.235107421875,
0.0789794921875,
0.316650390625,
0.0789794921875,
0.316650390625,
0.09027099609375,
0.235107421875,
0.09027099609375
],
[
0.40478515625,
0.07598876953125,
0.483642578125,
0.0789794921875,
0.48193359375,
0.09320068359375,
0.403076171875,
0.09027099609375
],
[
0.5400390625,
0.0789794921875,
0.6689453125,
0.0789794921875,
0.6689453125,
0.0926513671875,
0.5400390625,
0.0926513671875
],
[
0.341796875,
0.0926513671875,
0.391357421875,
0.0926513671875,
0.391357421875,
0.10687255859375,
0.341796875,
0.10687255859375
],
[
0.334228515625,
0.08013916015625,
0.391357421875,
0.08013916015625,
0.391357421875,
0.0914306640625,
0.334228515625,
0.0914306640625
],
[
0.41064453125,
0.09320068359375,
0.48193359375,
0.09320068359375,
0.48193359375,
0.1051025390625,
0.41064453125,
0.1051025390625
],
[
0.53564453125,
0.10687255859375,
0.748046875,
0.10687255859375,
0.748046875,
0.12054443359375,
0.53564453125,
0.12054443359375
],
[
0.1259765625,
0.1134033203125,
0.2166748046875,
0.1134033203125,
0.2166748046875,
0.127685546875,
0.1259765625,
0.127685546875
],
[
0.276123046875,
0.114013671875,
0.318115234375,
0.114013671875,
0.318115234375,
0.127685546875,
0.276123046875,
0.127685546875
],
[
0.355224609375,
0.114013671875,
0.3896484375,
0.114013671875,
0.3896484375,
0.1270751953125,
0.355224609375,
0.1270751953125
],
[
0.459228515625,
0.1134033203125,
0.483642578125,
0.1134033203125,
0.483642578125,
0.127685546875,
0.459228515625,
0.127685546875
],
[
0.353515625,
0.1270751953125,
0.391357421875,
0.1270751953125,
0.391357421875,
0.142578125,
0.353515625,
0.142578125
],
[
0.5263671875,
0.1217041015625,
0.66748046875,
0.1217041015625,
0.66748046875,
0.1353759765625,
0.5263671875,
0.1353759765625
],
[
0.1275634765625,
0.127685546875,
0.2032470703125,
0.127685546875,
0.2032470703125,
0.142578125,
0.1275634765625,
0.142578125
],
[
0.276123046875,
0.127685546875,
0.318115234375,
0.127685546875,
0.318115234375,
0.141357421875,
0.276123046875,
0.141357421875
],
[
0.453369140625,
0.127685546875,
0.484375,
0.127685546875,
0.484375,
0.142578125,
0.453369140625,
0.142578125
],
[
0.1275634765625,
0.14013671875,
0.2091064453125,
0.142578125,
0.2091064453125,
0.15673828125,
0.1275634765625,
0.155029296875
],
[
0.34765625,
0.141357421875,
0.391357421875,
0.141357421875,
0.391357421875,
0.15673828125,
0.34765625,
0.15673828125
],
[
0.447509765625,
0.1395263671875,
0.48779296875,
0.142578125,
0.484375,
0.157958984375,
0.44580078125,
0.1561279296875
],
[
0.5283203125,
0.149658203125,
0.748046875,
0.149658203125,
0.748046875,
0.163330078125,
0.5283203125,
0.163330078125
],
[
0.276123046875,
0.142578125,
0.318115234375,
0.142578125,
0.318115234375,
0.1561279296875,
0.276123046875,
0.1561279296875
],
[
0.5263671875,
0.1644287109375,
0.6689453125,
0.1644287109375,
0.6689453125,
0.1776123046875,
0.5263671875,
0.1776123046875
],
[
0.1175537109375,
0.17041015625,
0.490234375,
0.171630859375,
0.490234375,
0.1859130859375,
0.1175537109375,
0.185302734375
],
[
0.1175537109375,
0.18701171875,
0.490234375,
0.188232421875,
0.490234375,
0.203125,
0.1175537109375,
0.201904296875
],
[
0.5322265625,
0.193603515625,
0.61865234375,
0.193603515625,
0.61865234375,
0.204833984375,
0.5322265625,
0.204833984375
],
[
0.61865234375,
0.190673828125,
0.72705078125,
0.1923828125,
0.72705078125,
0.207275390625,
0.61865234375,
0.204833984375
],
[
0.6171875,
0.19775390625,
0.62451171875,
0.19775390625,
0.62451171875,
0.203125,
0.6171875,
0.203125
],
[
0.118408203125,
0.204833984375,
0.405517578125,
0.204833984375,
0.405517578125,
0.2197265625,
0.118408203125,
0.2197265625
],
[
0.53076171875,
0.2078857421875,
0.591796875,
0.2078857421875,
0.591796875,
0.2197265625,
0.53076171875,
0.2197265625
],
[
0.12005615234375,
0.2381591796875,
0.274658203125,
0.2381591796875,
0.274658203125,
0.2529296875,
0.12005615234375,
0.2529296875
],
[
0.51318359375,
0.2392578125,
0.8818359375,
0.2410888671875,
0.8818359375,
0.255859375,
0.51318359375,
0.254150390625
],
[
0.5146484375,
0.257080078125,
0.8818359375,
0.257080078125,
0.8818359375,
0.270751953125,
0.5146484375,
0.270751953125
],
[
0.118408203125,
0.265380859375,
0.156982421875,
0.265380859375,
0.156982421875,
0.27783203125,
0.118408203125,
0.27783203125
],
[
0.1502685546875,
0.265380859375,
0.32666015625,
0.2666015625,
0.32666015625,
0.28076171875,
0.1502685546875,
0.27978515625
],
[
0.5146484375,
0.273681640625,
0.880859375,
0.273681640625,
0.880859375,
0.287353515625,
0.5146484375,
0.287353515625
],
[
0.1175537109375,
0.287353515625,
0.21240234375,
0.289306640625,
0.21240234375,
0.3046875,
0.1175537109375,
0.302734375
],
[
0.51318359375,
0.290283203125,
0.74658203125,
0.290283203125,
0.74658203125,
0.303955078125,
0.51318359375,
0.303955078125
],
[
0.12005615234375,
0.31005859375,
0.486083984375,
0.31005859375,
0.486083984375,
0.32373046875,
0.12005615234375,
0.32373046875
],
[
0.12005615234375,
0.327880859375,
0.484375,
0.327880859375,
0.484375,
0.33837890625,
0.12005615234375,
0.33837890625
],
[
0.5146484375,
0.32470703125,
0.8818359375,
0.32470703125,
0.8818359375,
0.33837890625,
0.5146484375,
0.33837890625
],
[
0.118408203125,
0.342529296875,
0.486083984375,
0.34326171875,
0.486083984375,
0.358154296875,
0.118408203125,
0.35693359375
],
[
0.5146484375,
0.339111328125,
0.8818359375,
0.34033203125,
0.8818359375,
0.355224609375,
0.5146484375,
0.35400390625
],
[
0.12176513671875,
0.361083984375,
0.202392578125,
0.361083984375,
0.202392578125,
0.372314453125,
0.12176513671875,
0.372314453125
],
[
0.5146484375,
0.35693359375,
0.880859375,
0.35693359375,
0.880859375,
0.36767578125,
0.5146484375,
0.36767578125
],
[
0.51318359375,
0.371826171875,
0.880859375,
0.371826171875,
0.880859375,
0.385498046875,
0.51318359375,
0.385498046875
],
[
0.124267578125,
0.377685546875,
0.48779296875,
0.377685546875,
0.48779296875,
0.391357421875,
0.124267578125,
0.391357421875
],
[
0.12176513671875,
0.393798828125,
0.486083984375,
0.393798828125,
0.486083984375,
0.40673828125,
0.12176513671875,
0.40673828125
],
[
0.5146484375,
0.3896484375,
0.88330078125,
0.3896484375,
0.88330078125,
0.402587890625,
0.5146484375,
0.402587890625
],
[
0.12005615234375,
0.410400390625,
0.48779296875,
0.410400390625,
0.48779296875,
0.42333984375,
0.12005615234375,
0.42333984375
],
[
0.515625,
0.40625,
0.87744140625,
0.40625,
0.87744140625,
0.419189453125,
0.515625,
0.419189453125
],
[
0.12176513671875,
0.42578125,
0.489501953125,
0.42578125,
0.489501953125,
0.439453125,
0.12176513671875,
0.439453125
],
[
0.515625,
0.427001953125,
0.8818359375,
0.427001953125,
0.8818359375,
0.440673828125,
0.515625,
0.440673828125
],
[
0.118408203125,
0.440673828125,
0.489501953125,
0.441162109375,
0.489501953125,
0.4560546875,
0.118408203125,
0.454833984375
],
[
0.51123046875,
0.4423828125,
0.880859375,
0.4423828125,
0.880859375,
0.4560546875,
0.51123046875,
0.4560546875
],
[
0.118408203125,
0.457763671875,
0.255126953125,
0.457763671875,
0.255126953125,
0.471435546875,
0.118408203125,
0.471435546875
],
[
0.51318359375,
0.457275390625,
0.8818359375,
0.457763671875,
0.8818359375,
0.47265625,
0.51318359375,
0.471435546875
],
[
0.12005615234375,
0.474365234375,
0.48779296875,
0.4755859375,
0.48779296875,
0.490478515625,
0.12005615234375,
0.4892578125
],
[
0.515625,
0.4755859375,
0.55322265625,
0.4755859375,
0.55322265625,
0.48681640625,
0.515625,
0.48681640625
],
[
0.12176513671875,
0.4921875,
0.48779296875,
0.4921875,
0.48779296875,
0.505859375,
0.12176513671875,
0.505859375
],
[
0.5146484375,
0.495361328125,
0.88330078125,
0.495361328125,
0.88330078125,
0.51025390625,
0.5146484375,
0.51025390625
],
[
0.118408203125,
0.5087890625,
0.486083984375,
0.5087890625,
0.486083984375,
0.5224609375,
0.118408203125,
0.5224609375
],
[
0.51318359375,
0.51025390625,
0.8818359375,
0.51123046875,
0.8818359375,
0.525390625,
0.51318359375,
0.52490234375
],
[
0.12176513671875,
0.525390625,
0.2149658203125,
0.525390625,
0.2149658203125,
0.53759765625,
0.12176513671875,
0.53759765625
],
[
0.5146484375,
0.52783203125,
0.880859375,
0.52783203125,
0.880859375,
0.54150390625,
0.5146484375,
0.54150390625
],
[
0.124267578125,
0.5419921875,
0.48779296875,
0.5419921875,
0.48779296875,
0.5556640625,
0.124267578125,
0.5556640625
],
[
0.515625,
0.54443359375,
0.8818359375,
0.54443359375,
0.8818359375,
0.55810546875,
0.515625,
0.55810546875
],
[
0.12005615234375,
0.55859375,
0.489501953125,
0.55859375,
0.489501953125,
0.572265625,
0.12005615234375,
0.572265625
],
[
0.51318359375,
0.56005859375,
0.69775390625,
0.56005859375,
0.69775390625,
0.57373046875,
0.51318359375,
0.57373046875
],
[
0.118408203125,
0.57470703125,
0.48779296875,
0.57470703125,
0.48779296875,
0.58837890625,
0.118408203125,
0.58837890625
],
[
0.51318359375,
0.58203125,
0.8818359375,
0.58203125,
0.8818359375,
0.595703125,
0.51318359375,
0.595703125
],
[
0.118408203125,
0.59033203125,
0.489501953125,
0.59033203125,
0.489501953125,
0.60400390625,
0.118408203125,
0.60400390625
],
[
0.51318359375,
0.5966796875,
0.880859375,
0.5966796875,
0.880859375,
0.60986328125,
0.51318359375,
0.60986328125
],
[
0.118408203125,
0.60546875,
0.285400390625,
0.60546875,
0.285400390625,
0.619140625,
0.118408203125,
0.619140625
],
[
0.51318359375,
0.61328125,
0.880859375,
0.61328125,
0.880859375,
0.626953125,
0.51318359375,
0.626953125
],
[
0.1351318359375,
0.62158203125,
0.48779296875,
0.62255859375,
0.48779296875,
0.63720703125,
0.1351318359375,
0.6357421875
],
[
0.5146484375,
0.62890625,
0.609375,
0.63134765625,
0.609375,
0.6455078125,
0.5146484375,
0.6435546875
],
[
0.12005615234375,
0.6396484375,
0.48779296875,
0.6396484375,
0.48779296875,
0.65283203125,
0.12005615234375,
0.65283203125
],
[
0.12005615234375,
0.65625,
0.48779296875,
0.65625,
0.48779296875,
0.66943359375,
0.12005615234375,
0.66943359375
],
[
0.51318359375,
0.65673828125,
0.634765625,
0.65673828125,
0.634765625,
0.67041015625,
0.51318359375,
0.67041015625
],
[
0.118408203125,
0.67041015625,
0.48779296875,
0.67041015625,
0.48779296875,
0.68408203125,
0.118408203125,
0.68408203125
],
[
0.515625,
0.6787109375,
0.8818359375,
0.6787109375,
0.8818359375,
0.6923828125,
0.515625,
0.6923828125
],
[
0.12176513671875,
0.68701171875,
0.491943359375,
0.68701171875,
0.491943359375,
0.70068359375,
0.12176513671875,
0.70068359375
],
[
0.515625,
0.69482421875,
0.8818359375,
0.69482421875,
0.8818359375,
0.7080078125,
0.515625,
0.7080078125
],
[
0.12005615234375,
0.70361328125,
0.450927734375,
0.70361328125,
0.450927734375,
0.71728515625,
0.12005615234375,
0.71728515625
],
[
0.51708984375,
0.71142578125,
0.8818359375,
0.71142578125,
0.8818359375,
0.724609375,
0.51708984375,
0.724609375
],
[
0.118408203125,
0.72802734375,
0.393798828125,
0.728515625,
0.393798828125,
0.74365234375,
0.118408203125,
0.7421875
],
[
0.515625,
0.7255859375,
0.8818359375,
0.7255859375,
0.8818359375,
0.7392578125,
0.515625,
0.7392578125
],
[
0.515625,
0.7421875,
0.87890625,
0.7421875,
0.87890625,
0.755859375,
0.515625,
0.755859375
],
[
0.12005615234375,
0.75048828125,
0.484375,
0.75048828125,
0.484375,
0.76416015625,
0.12005615234375,
0.76416015625
],
[
0.5146484375,
0.75830078125,
0.88330078125,
0.7587890625,
0.88330078125,
0.77392578125,
0.5146484375,
0.7724609375
],
[
0.118408203125,
0.76416015625,
0.486083984375,
0.7666015625,
0.486083984375,
0.78076171875,
0.118408203125,
0.779296875
],
[
0.51318359375,
0.77490234375,
0.880859375,
0.77490234375,
0.880859375,
0.7880859375,
0.51318359375,
0.7880859375
],
[
0.12005615234375,
0.7822265625,
0.486083984375,
0.7822265625,
0.486083984375,
0.7958984375,
0.12005615234375,
0.7958984375
],
[
0.515625,
0.79150390625,
0.8818359375,
0.79150390625,
0.8818359375,
0.8046875,
0.515625,
0.8046875
],
[
0.12005615234375,
0.798828125,
0.48779296875,
0.798828125,
0.48779296875,
0.8125,
0.12005615234375,
0.8125
],
[
0.51318359375,
0.80712890625,
0.880859375,
0.80712890625,
0.880859375,
0.82080078125,
0.51318359375,
0.82080078125
],
[
0.12005615234375,
0.81396484375,
0.48779296875,
0.81396484375,
0.48779296875,
0.82763671875,
0.12005615234375,
0.82763671875
],
[
0.5146484375,
0.82373046875,
0.8818359375,
0.82373046875,
0.8818359375,
0.83740234375,
0.5146484375,
0.83740234375
],
[
0.12005615234375,
0.83203125,
0.48779296875,
0.83203125,
0.48779296875,
0.845703125,
0.12005615234375,
0.845703125
],
[
0.5146484375,
0.83740234375,
0.88330078125,
0.8388671875,
0.88330078125,
0.85400390625,
0.5146484375,
0.8515625
],
[
0.118408203125,
0.845703125,
0.48779296875,
0.8466796875,
0.48779296875,
0.86083984375,
0.118408203125,
0.85986328125
],
[
0.5146484375,
0.85546875,
0.75244140625,
0.85546875,
0.75244140625,
0.869140625,
0.5146484375,
0.869140625
],
[
0.12005615234375,
0.86328125,
0.486083984375,
0.86328125,
0.486083984375,
0.876953125,
0.12005615234375,
0.876953125
],
[
0.5341796875,
0.87255859375,
0.88330078125,
0.87255859375,
0.88330078125,
0.8857421875,
0.5341796875,
0.8857421875
],
[
0.12005615234375,
0.87890625,
0.484375,
0.87890625,
0.484375,
0.892578125,
0.12005615234375,
0.892578125
],
[
0.12176513671875,
0.8955078125,
0.42236328125,
0.8955078125,
0.42236328125,
0.9091796875,
0.12176513671875,
0.9091796875
],
[
0.5322265625,
0.89453125,
0.8759765625,
0.8955078125,
0.8759765625,
0.91015625,
0.5322265625,
0.9091796875
]
] |
[
"Dataset",
"#Questions",
"# Passages",
"(Instruction}",
"length",
"Answer",
"(millions)",
" title:( Passage title}",
" Natural Qns.",
"3,610",
"2.16",
"21",
"2.46",
"( Passage text }",
"HotpotQA",
"7,405",
"5.2",
"TopiOCQA",
"10.98",
"25.7",
"- title: ( Passage title }",
"2,514",
"( Passage text }",
"Table 1: Statistics for datasets. We use the vali-",
"dation splits as the test sets are hidden. Answer",
"Question:",
"(Question)",
"",
"length is the average number of words.",
"Answer:",
"实性的多方面评估。",
"Figure 2: Prompt template used for evaluating",
"instruction-following models.The passages are",
"3",
"Experimental Setup",
"provided by the retriever when evaluating for cor",
"3.1Tasks",
"rectness w.r.t information need.",
"我们基于Wikipedia评估三种不同的信息寻求",
"OA任务的指今跟随模型。对于每个任务,我",
"Flan-T5(Chungetal.,2022)-我们使用通过在",
"们使用具有代表性的流行数据集。我们描述下",
"多个指令跟随数据集(Sanhetal.,2022;Wang",
"面的任务。",
"etal..2022b:Weietal..2022)上训l练T5(Raffe",
"etal.,2020)获得的11B参数。这些数据集包含",
"Open-domainQA在这里,我们测试模型以",
"真正的信息寻求意图回答问题的能力,并且",
"1800多个任务,其中200多个是QA任务。NQ",
"其答案出现在Wikipedia段落之一中。我们使",
"和HotpotQA的训练分割包含在这些数据集中",
"用自然问题的开放版本(Leeetal.,2019)(NQ;",
"羊驼-Taorietal.(2023)使用自指导框架(Wang",
"Kwiatkowskietal.2019),其中包含来自Google",
"etal.,2022a)在GPT-3生成的演示上训练",
"搜索引擎的查询。",
"LLaMA(Touvronetal.,2023a)。我们使用7B",
"Multi-hopQA在这里,我们测试模型回答至",
"变体",
"少需要两个维基百科段落才能共同推理的问题",
"GPT-3。5我们使用GPT-3的涡轮版本。51被",
"的能力。我们使用HotpotQA(Yangetal,2018)",
"描述为InstructGPT模型(Ouyangetal.,2022)",
"完成此任务",
"的兄弟。它使用来自OpenAIAPI的用户数据",
"ConversationalQA在这里,我们测试模型",
"和专家注释进行训练,但是,训练任务和数据",
"在对话环境中回答问题的能力,其答案出现在",
"集的确切分布尚未公开",
"Wikipedia段落之一中。我们使用TopiOCQA",
"Llama-2我们使用Llama-2(Touvronet al.,",
"(Adlakhaetal.,2022),这是一个用于开放域信",
"2023b)的7B聊天版本。该模型最初在与Flan",
"息搜索对话的数据集",
"T5类似的数据集上引导,然后在对话式指令",
"Table1列出了每个数据集的维基百科语料",
"上进行微调",
"库中的问题总数,平均答案长度和段落总数。",
"这些数据集包含简短的答案,因为它们更容易",
"3.3Retrieval",
"和更一致地由人类注释。但是,作为用户,人",
"为了评估指令跟随模型的正确性,我们将它",
"类更喜欢允长的答案(Chiesurinetal.,2023)。",
"们与一个检索器配对,该检索器为模型提供与",
"这种不匹配使我们的评估设置现实而重要",
"用户查询相关的段落。对于每个任务,我们采",
"3.2Instruction-following Models",
"用DPR(密集通道检索:Karpukhinetal.2020",
")的特定于任务的变体。对于NQ,我们使用",
"如Figure2所示,我们使用标准化的提示模板",
"Karpukhinetal.(2020)中的预训练检查点,该",
"其中包含指令,来自信息源的段落以及从指令",
"检查点在多个QA数据集上进行了训练。对",
"遵循语言模型中引出答案的问题。我们将问题",
"于HotpotQA,我们采用Xiongetal.(2021)的",
"替换为TopiOCQA的对话历史记录。受Mishra",
"迭代多跳DPR变体,该变体基于查询和先前",
"etal.(2022)启发,我们将指令表述为“Please",
"检索来选择段落。对于TopiOCQA,我们使用",
"answer the following question given the",
"Adlakhaetal.(2022)提供的检查点,该检查点",
"followingpassages”。我们将此指令称为",
"经过训练可用于会话QA任务",
"Instr。vl。我们考虑四种主要基于其培训制度",
"传递给指令跟随模型的检索段落的数量受其",
"而不同的模型。我们对所有指令跟随模型使用",
"相同的生成参数,如AppendixA所述",
"1 openai.com/blog/introducing-chatgpt-and-whisper-apis"
] |
{
"arxiv_id": "2307.16877",
"language": "zh",
"page_idx": 3
}
|
||
2307.16877-zh-4
|
2307.16877-zh-4.jpg
|
输入上下文大小的限制。为了进行公平的比较, 我们在特定任务中为每个模型提供相同数量的检索段落-NQ 和 HotpotQA 为8,TopiOCQA 为4。
4 Correctness w.r.t Information Need
在本节中,我们将研究指令跟随模型的正确性。We consider a model response to be correct if it accurately satisfies the user's information need. For example, while answering What is the capital of Canada? , the model should convey that Ottawa is the capital of Canada. While the model's response might include additional information like Ottawa's population, we limit the evaluation of correctness to the part of the model response that is directly relevant to the user's information need. We address evaluation of additional information in the next section (Section 5). 我们在 §4.1 中描述了任务的词汇和语义相似性度量。接下来,我们进行人体评估并比较几种评估指标(§4.2)。最后,使用与人类判断高度相关的指标,我们评估指令跟随模型的正确性(§4.3)
## 4.1 Evaluation Metrics
在 QA 中评估正确性涉及将模型响应与人工注释的黄金答案进行比较。下面,我们描述两大类自动评估指标:
Lexical Matching 这些指标根据其令牌与黄金答案的重叠来对模型响应进行评分。虽然一些指标执行词袋匹配(例如。g。,精确匹配$( \mathbf{EM})$ , $\mathbf{F1})$ , 其他人则通过 $n$ -gram 匹配来考虑令牌的顺序,例如 METEOR (Banerjee and Lavie, 2005) 和 ROUGE (Lin, 2004)
在这项工作中,我们还考虑了 Recall-参考答案中存在于模型响应中的令牌的比例。召回不会惩罚详细的响应,只要它包含参考答案标记。最近的工作 (Liu et al., 2023a; Mallen et al., 2023) 使用了类似的度量,因此如果模型响应完全包含参考答案作为子字符串,则模型响应是正确的。我们将此指标称为 Recall(严格), 因为它是令牌级召回的更严格版本
$\textbf{Semantic Similarity}$ 与面临严格性问题 (Min et al.,2021)的词汇度量不同,语义相似性度量通常利用模型来预测语义等效性。BERTScore (BertS, Zhang et al. 2020)使用上下文 BERT 嵌入来计算模型和参考答案之间的精度,召回率和 F1。BEM ( BERTmatching, Bulian et al. 2022 ) 采用经过训练的 BERT 模型来预测基于问题,参考答案和模型响应的语义等效性。我们通过提供对话中的最新问题作为输人,将BEM 扩展到会话 QA 任务
<table>
<tbody>
<tr>
<th> </th>
<th> </th>
<th>$EM$</th>
<th>F1</th>
<th>Recall</th>
<th>$GPT4$</th>
</tr>
<tr>
<td rowspan="3">Human= 1$\uparrow$</td>
<td>Avg. </td>
<td>0.22</td>
<td>0.45</td>
<td>0.85</td>
<td>0.89</td>
</tr>
<tr>
<td>Median</td>
<td>0.00</td>
<td>0.33</td>
<td>1.00</td>
<td>1.00</td>
</tr>
<tr>
<td>SD</td>
<td>0.42</td>
<td>0.36</td>
<td>0.30</td>
<td>0.31</td>
</tr>
<tr>
<td rowspan="3">$Human=0$ </td>
<td>Avg. </td>
<td>0.00</td>
<td>0.10</td>
<td>0.23</td>
<td>0.13</td>
</tr>
<tr>
<td>Median</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
<td>0.00</td>
</tr>
<tr>
<td>SD</td>
<td>0.06</td>
<td>0.16</td>
<td>0.32</td>
<td>0.33</td>
</tr>
</tbody>
</table>
Table 2: Average, Median and standard deviation (SD) of scores by evaluation metrics when humans judge the model response correct (1) vs incorrect (0). EM and F1 tend to be strict whereas Recall and GPT4-Eval are more balanced.
基于最近的作品(Chiang et al., 2023; Peng et al.,2023),我们还考虑提示 LLM(此处称为 GPT3。5-Eval 和 GPT4-Eval) 作为评估代理。给定问题,参考答案和模型响应,LLM 被指示预测模型响应是否正确。提示模板和使用的说明在我们的项目页面$^{2}$上进行了描述。
## 4.2 Human Evaluation
为了建立比较评估指标的基础,我们对来自所有指令遵循模型的响应子集进行人工评估。具体来说,我们专注于黄金通道包含在检索到的通道中的情况。因此,响应中的任何不准确都可以归因于模型的失败,而不是不准确的检索。对于这三个任务中的每一个,我们取 100个样本,从而为四个模型取 1200 个样本
在我们的评估设置中,注释器会显示问题(或会话历史记录),参考答案和匿名模型响应。注释器的任务是评估模型响应是否正确,即。e。,它实际上是准确的,并满足了用户查询背后的信息需求。我们雇了四名 NLP 研究生来完成这项任务。每个样本由两个注释者标记, 实现了 92 的注释者间协议。42% and a Fleiss" Kappa score of 76.4 % 。在不同意的情况下,将收集第三个注释并进行多数表决
在 1200 个模型响应中,961 个被人类判断为正确 , 239 个被判断为不正确。In Table 2, we report distributional statistics of scores assigned by EM, F1, Recall, and GPT4-Eval for both correct and incorrect responses. ,而 EM 分配0。对几乎所有人类判断的错误响应都得 0 分,它分配 1。0 到 22% 的人类判断正确的反应。F1 的表现仅略好,在人类判断的正确响应上获得39% 的准确性(当我们考虑使用$\geq$的响应时。5 分正确)。这突出了传统 QA 度量的众所周知的严格性问题 (Min et al., 2021; Kamalloo et al., 2023)。相比之下,GPT4-Eval 和 Recall 提供了
$^{2}$ github:instruct-qa:correctness
|
[
[
0.12005615234375,
0.07659912109375,
0.489501953125,
0.07659912109375,
0.489501953125,
0.09027099609375,
0.12005615234375,
0.09027099609375
],
[
0.68701171875,
0.0789794921875,
0.71533203125,
0.0789794921875,
0.71533203125,
0.0926513671875,
0.68701171875,
0.0926513671875
],
[
0.73486328125,
0.0789794921875,
0.75732421875,
0.0789794921875,
0.75732421875,
0.0914306640625,
0.73486328125,
0.0914306640625
],
[
0.77685546875,
0.07781982421875,
0.82275390625,
0.07781982421875,
0.82275390625,
0.0926513671875,
0.77685546875,
0.0926513671875
],
[
0.8369140625,
0.08013916015625,
0.87744140625,
0.08013916015625,
0.87744140625,
0.0914306640625,
0.8369140625,
0.0914306640625
],
[
0.118408203125,
0.0926513671875,
0.486083984375,
0.0926513671875,
0.486083984375,
0.105712890625,
0.118408203125,
0.105712890625
],
[
0.68408203125,
0.0968017578125,
0.71728515625,
0.09857177734375,
0.71533203125,
0.11224365234375,
0.6826171875,
0.10986328125
],
[
0.7255859375,
0.0968017578125,
0.76416015625,
0.0968017578125,
0.76416015625,
0.11224365234375,
0.7255859375,
0.11224365234375
],
[
0.78076171875,
0.0955810546875,
0.81787109375,
0.09857177734375,
0.8154296875,
0.1134033203125,
0.77734375,
0.10986328125
],
[
0.8388671875,
0.0968017578125,
0.873046875,
0.0968017578125,
0.873046875,
0.11224365234375,
0.8388671875,
0.11224365234375
],
[
0.118408203125,
0.10809326171875,
0.48779296875,
0.10986328125,
0.48779296875,
0.12353515625,
0.118408203125,
0.1217041015625
],
[
0.62060546875,
0.09857177734375,
0.6513671875,
0.09857177734375,
0.6513671875,
0.11102294921875,
0.62060546875,
0.11102294921875
],
[
0.5224609375,
0.11102294921875,
0.599609375,
0.1134033203125,
0.599609375,
0.12469482421875,
0.5224609375,
0.122314453125
],
[
0.6826171875,
0.11102294921875,
0.71728515625,
0.11102294921875,
0.71728515625,
0.12353515625,
0.6826171875,
0.12353515625
],
[
0.72900390625,
0.11102294921875,
0.76171875,
0.11102294921875,
0.76171875,
0.12353515625,
0.72900390625,
0.12353515625
],
[
0.7841796875,
0.11102294921875,
0.8154296875,
0.11102294921875,
0.8154296875,
0.12353515625,
0.7841796875,
0.12353515625
],
[
0.84228515625,
0.11102294921875,
0.873046875,
0.11102294921875,
0.873046875,
0.12353515625,
0.84228515625,
0.12353515625
],
[
0.61865234375,
0.12353515625,
0.64404296875,
0.12353515625,
0.64404296875,
0.13720703125,
0.61865234375,
0.13720703125
],
[
0.62060546875,
0.11224365234375,
0.67236328125,
0.11224365234375,
0.67236328125,
0.12353515625,
0.62060546875,
0.12353515625
],
[
0.68408203125,
0.12469482421875,
0.71728515625,
0.12469482421875,
0.71728515625,
0.13720703125,
0.68408203125,
0.13720703125
],
[
0.73046875,
0.12469482421875,
0.76318359375,
0.12469482421875,
0.76318359375,
0.13720703125,
0.73046875,
0.13720703125
],
[
0.78271484375,
0.12469482421875,
0.8154296875,
0.12469482421875,
0.8154296875,
0.13720703125,
0.78271484375,
0.13720703125
],
[
0.8388671875,
0.12353515625,
0.873046875,
0.12353515625,
0.873046875,
0.1395263671875,
0.8388671875,
0.1395263671875
],
[
0.8388671875,
0.142578125,
0.875,
0.142578125,
0.875,
0.157958984375,
0.8388671875,
0.157958984375
],
[
0.1175537109375,
0.1258544921875,
0.139404296875,
0.1258544921875,
0.139404296875,
0.1383056640625,
0.1175537109375,
0.1383056640625
],
[
0.6171875,
0.1436767578125,
0.6513671875,
0.1436767578125,
0.6513671875,
0.1591796875,
0.6171875,
0.1591796875
],
[
0.68408203125,
0.144287109375,
0.71728515625,
0.144287109375,
0.71728515625,
0.15673828125,
0.68408203125,
0.15673828125
],
[
0.72900390625,
0.144287109375,
0.76318359375,
0.144287109375,
0.76318359375,
0.15673828125,
0.72900390625,
0.15673828125
],
[
0.78271484375,
0.144287109375,
0.8154296875,
0.144287109375,
0.8154296875,
0.15673828125,
0.78271484375,
0.15673828125
],
[
0.12176513671875,
0.1561279296875,
0.1561279296875,
0.1561279296875,
0.1561279296875,
0.1644287109375,
0.12176513671875,
0.1644287109375
],
[
0.1502685546875,
0.15380859375,
0.45751953125,
0.15380859375,
0.45751953125,
0.16748046875,
0.1502685546875,
0.16748046875
],
[
0.5224609375,
0.1561279296875,
0.60107421875,
0.157958984375,
0.60107421875,
0.169189453125,
0.5224609375,
0.16748046875
],
[
0.61865234375,
0.1561279296875,
0.67333984375,
0.1561279296875,
0.67333984375,
0.17041015625,
0.61865234375,
0.17041015625
],
[
0.68408203125,
0.15673828125,
0.71728515625,
0.15673828125,
0.71728515625,
0.169189453125,
0.68408203125,
0.169189453125
],
[
0.72900390625,
0.15673828125,
0.76318359375,
0.15673828125,
0.76318359375,
0.169189453125,
0.72900390625,
0.169189453125
],
[
0.78271484375,
0.15673828125,
0.8154296875,
0.15673828125,
0.8154296875,
0.169189453125,
0.78271484375,
0.169189453125
],
[
0.84033203125,
0.15673828125,
0.873046875,
0.15673828125,
0.873046875,
0.169189453125,
0.84033203125,
0.169189453125
],
[
0.61865234375,
0.169189453125,
0.64404296875,
0.169189453125,
0.64404296875,
0.18408203125,
0.61865234375,
0.18408203125
],
[
0.68408203125,
0.17041015625,
0.71875,
0.17041015625,
0.71875,
0.182861328125,
0.68408203125,
0.182861328125
],
[
0.73046875,
0.17041015625,
0.76318359375,
0.17041015625,
0.76318359375,
0.182861328125,
0.73046875,
0.182861328125
],
[
0.78271484375,
0.17041015625,
0.81689453125,
0.17041015625,
0.81689453125,
0.182861328125,
0.78271484375,
0.182861328125
],
[
0.84033203125,
0.17041015625,
0.873046875,
0.17041015625,
0.873046875,
0.182861328125,
0.84033203125,
0.182861328125
],
[
0.12005615234375,
0.1787109375,
0.489501953125,
0.1787109375,
0.489501953125,
0.1923828125,
0.12005615234375,
0.1923828125
],
[
0.12005615234375,
0.196533203125,
0.490234375,
0.196533203125,
0.490234375,
0.210205078125,
0.12005615234375,
0.210205078125
],
[
0.51318359375,
0.1995849609375,
0.8818359375,
0.20068359375,
0.8818359375,
0.215576171875,
0.51318359375,
0.21435546875
],
[
0.12005615234375,
0.2120361328125,
0.489501953125,
0.2120361328125,
0.489501953125,
0.2257080078125,
0.12005615234375,
0.2257080078125
],
[
0.51318359375,
0.21728515625,
0.8818359375,
0.21728515625,
0.8818359375,
0.23095703125,
0.51318359375,
0.23095703125
],
[
0.118408203125,
0.22802734375,
0.48779296875,
0.22802734375,
0.48779296875,
0.2410888671875,
0.118408203125,
0.2410888671875
],
[
0.51318359375,
0.2340087890625,
0.8818359375,
0.2340087890625,
0.8818359375,
0.2476806640625,
0.51318359375,
0.2476806640625
],
[
0.12005615234375,
0.24462890625,
0.48779296875,
0.24462890625,
0.48779296875,
0.25830078125,
0.12005615234375,
0.25830078125
],
[
0.51318359375,
0.2493896484375,
0.8818359375,
0.248779296875,
0.8818359375,
0.262451171875,
0.51318359375,
0.26318359375
],
[
0.12005615234375,
0.26123046875,
0.489501953125,
0.26123046875,
0.489501953125,
0.27490234375,
0.12005615234375,
0.27490234375
],
[
0.5146484375,
0.265380859375,
0.771484375,
0.265380859375,
0.771484375,
0.279052734375,
0.5146484375,
0.279052734375
],
[
0.118408203125,
0.275634765625,
0.48779296875,
0.275634765625,
0.48779296875,
0.289306640625,
0.118408203125,
0.289306640625
],
[
0.118408203125,
0.292236328125,
0.48779296875,
0.29150390625,
0.48779296875,
0.305908203125,
0.118408203125,
0.30712890625
],
[
0.5322265625,
0.302734375,
0.8818359375,
0.302734375,
0.8818359375,
0.31640625,
0.5322265625,
0.31640625
],
[
0.118408203125,
0.308837890625,
0.48779296875,
0.308837890625,
0.48779296875,
0.322509765625,
0.118408203125,
0.322509765625
],
[
0.51123046875,
0.317626953125,
0.880859375,
0.317626953125,
0.880859375,
0.330810546875,
0.51123046875,
0.330810546875
],
[
0.118408203125,
0.32373046875,
0.489501953125,
0.32373046875,
0.489501953125,
0.33740234375,
0.118408203125,
0.33740234375
],
[
0.5146484375,
0.3349609375,
0.8818359375,
0.3349609375,
0.8818359375,
0.3486328125,
0.5146484375,
0.3486328125
],
[
0.12176513671875,
0.342529296875,
0.48779296875,
0.342529296875,
0.48779296875,
0.352783203125,
0.12176513671875,
0.352783203125
],
[
0.51318359375,
0.349853515625,
0.8818359375,
0.350830078125,
0.8818359375,
0.365234375,
0.51318359375,
0.364013671875
],
[
0.118408203125,
0.355712890625,
0.486083984375,
0.355712890625,
0.486083984375,
0.369384765625,
0.118408203125,
0.369384765625
],
[
0.12005615234375,
0.372314453125,
0.489501953125,
0.372314453125,
0.489501953125,
0.385986328125,
0.12005615234375,
0.385986328125
],
[
0.5146484375,
0.36767578125,
0.8818359375,
0.36767578125,
0.8818359375,
0.38134765625,
0.5146484375,
0.38134765625
],
[
0.5146484375,
0.3818359375,
0.8193359375,
0.3818359375,
0.8193359375,
0.396728515625,
0.5146484375,
0.396728515625
],
[
0.118408203125,
0.388427734375,
0.486083984375,
0.388427734375,
0.486083984375,
0.402099609375,
0.118408203125,
0.402099609375
],
[
0.118408203125,
0.405029296875,
0.48779296875,
0.405029296875,
0.48779296875,
0.419189453125,
0.118408203125,
0.419189453125
],
[
0.51318359375,
0.410400390625,
0.7109375,
0.410888671875,
0.7109375,
0.42578125,
0.51318359375,
0.424560546875
],
[
0.118408203125,
0.421630859375,
0.38623046875,
0.421630859375,
0.38623046875,
0.435302734375,
0.118408203125,
0.435302734375
],
[
0.515625,
0.435302734375,
0.8818359375,
0.435302734375,
0.8818359375,
0.448974609375,
0.515625,
0.448974609375
],
[
0.118408203125,
0.448974609375,
0.316650390625,
0.448974609375,
0.316650390625,
0.4619140625,
0.118408203125,
0.4619140625
],
[
0.5146484375,
0.45068359375,
0.880859375,
0.45068359375,
0.880859375,
0.46435546875,
0.5146484375,
0.46435546875
],
[
0.12176513671875,
0.471435546875,
0.486083984375,
0.471435546875,
0.486083984375,
0.482177734375,
0.12176513671875,
0.482177734375
],
[
0.5146484375,
0.46728515625,
0.8818359375,
0.46728515625,
0.8818359375,
0.48095703125,
0.5146484375,
0.48095703125
],
[
0.12005615234375,
0.486328125,
0.489501953125,
0.486328125,
0.489501953125,
0.49951171875,
0.12005615234375,
0.49951171875
],
[
0.515625,
0.482666015625,
0.8818359375,
0.482666015625,
0.8818359375,
0.496337890625,
0.515625,
0.496337890625
],
[
0.12005615234375,
0.5029296875,
0.2568359375,
0.5029296875,
0.2568359375,
0.5166015625,
0.12005615234375,
0.5166015625
],
[
0.5146484375,
0.498779296875,
0.880859375,
0.498779296875,
0.880859375,
0.5126953125,
0.5146484375,
0.5126953125
],
[
0.12176513671875,
0.52099609375,
0.48779296875,
0.521484375,
0.48779296875,
0.5361328125,
0.12176513671875,
0.53515625
],
[
0.5146484375,
0.515625,
0.88330078125,
0.515625,
0.88330078125,
0.529296875,
0.5146484375,
0.529296875
],
[
0.5146484375,
0.53076171875,
0.8369140625,
0.53076171875,
0.8369140625,
0.54443359375,
0.5146484375,
0.54443359375
],
[
0.118408203125,
0.53759765625,
0.486083984375,
0.53759765625,
0.486083984375,
0.55029296875,
0.118408203125,
0.55029296875
],
[
0.5322265625,
0.54736328125,
0.8818359375,
0.54736328125,
0.8818359375,
0.56103515625,
0.5322265625,
0.56103515625
],
[
0.1318359375,
0.55419921875,
0.48779296875,
0.55419921875,
0.48779296875,
0.568359375,
0.1318359375,
0.568359375
],
[
0.51123046875,
0.5625,
0.88330078125,
0.5634765625,
0.88330078125,
0.57763671875,
0.51123046875,
0.57666015625
],
[
0.1175537109375,
0.568359375,
0.48779296875,
0.5693359375,
0.48779296875,
0.58447265625,
0.1175537109375,
0.5830078125
],
[
0.12005615234375,
0.5849609375,
0.48779296875,
0.5849609375,
0.48779296875,
0.599609375,
0.12005615234375,
0.599609375
],
[
0.515625,
0.58203125,
0.8818359375,
0.58203125,
0.8818359375,
0.5927734375,
0.515625,
0.5927734375
],
[
0.12005615234375,
0.6015625,
0.39208984375,
0.6015625,
0.39208984375,
0.615234375,
0.12005615234375,
0.615234375
],
[
0.5146484375,
0.5966796875,
0.8818359375,
0.5966796875,
0.8818359375,
0.60986328125,
0.5146484375,
0.60986328125
],
[
0.1376953125,
0.61767578125,
0.486083984375,
0.61767578125,
0.486083984375,
0.63134765625,
0.1376953125,
0.63134765625
],
[
0.515625,
0.6123046875,
0.8818359375,
0.6123046875,
0.8818359375,
0.6259765625,
0.515625,
0.6259765625
],
[
0.51318359375,
0.626953125,
0.880859375,
0.626953125,
0.880859375,
0.64013671875,
0.51318359375,
0.64013671875
],
[
0.12005615234375,
0.63525390625,
0.48779296875,
0.63525390625,
0.48779296875,
0.6484375,
0.12005615234375,
0.6484375
],
[
0.515625,
0.64453125,
0.880859375,
0.64453125,
0.880859375,
0.65771484375,
0.515625,
0.65771484375
],
[
0.12176513671875,
0.65283203125,
0.486083984375,
0.65283203125,
0.486083984375,
0.6630859375,
0.12176513671875,
0.6630859375
],
[
0.5146484375,
0.66015625,
0.8818359375,
0.66015625,
0.8818359375,
0.6748046875,
0.5146484375,
0.6748046875
],
[
0.12005615234375,
0.66748046875,
0.48779296875,
0.66748046875,
0.48779296875,
0.68115234375,
0.12005615234375,
0.68115234375
],
[
0.12005615234375,
0.68310546875,
0.48779296875,
0.68310546875,
0.48779296875,
0.69677734375,
0.12005615234375,
0.69677734375
],
[
0.515625,
0.677734375,
0.771484375,
0.677734375,
0.771484375,
0.6884765625,
0.515625,
0.6884765625
],
[
0.12005615234375,
0.69775390625,
0.486083984375,
0.69775390625,
0.486083984375,
0.71142578125,
0.12005615234375,
0.71142578125
],
[
0.52880859375,
0.6923828125,
0.880859375,
0.6923828125,
0.880859375,
0.7060546875,
0.52880859375,
0.7060546875
],
[
0.12176513671875,
0.71533203125,
0.491943359375,
0.71533203125,
0.491943359375,
0.728515625,
0.12176513671875,
0.728515625
],
[
0.5146484375,
0.71044921875,
0.88330078125,
0.71044921875,
0.88330078125,
0.7236328125,
0.5146484375,
0.7236328125
],
[
0.12176513671875,
0.73095703125,
0.3955078125,
0.73095703125,
0.3955078125,
0.74462890625,
0.12176513671875,
0.74462890625
],
[
0.5146484375,
0.7255859375,
0.8818359375,
0.7255859375,
0.8818359375,
0.7392578125,
0.5146484375,
0.7392578125
],
[
0.5146484375,
0.7412109375,
0.88330078125,
0.7412109375,
0.88330078125,
0.7548828125,
0.5146484375,
0.7548828125
],
[
0.1234130859375,
0.75048828125,
0.48779296875,
0.75048828125,
0.48779296875,
0.76416015625,
0.1234130859375,
0.76416015625
],
[
0.5146484375,
0.75830078125,
0.88330078125,
0.75830078125,
0.88330078125,
0.771484375,
0.5146484375,
0.771484375
],
[
0.12005615234375,
0.76708984375,
0.484375,
0.76708984375,
0.484375,
0.77783203125,
0.12005615234375,
0.77783203125
],
[
0.5146484375,
0.77392578125,
0.8818359375,
0.77392578125,
0.8818359375,
0.78759765625,
0.5146484375,
0.78759765625
],
[
0.12005615234375,
0.783203125,
0.48779296875,
0.783203125,
0.48779296875,
0.79638671875,
0.12005615234375,
0.79638671875
],
[
0.5146484375,
0.79052734375,
0.87890625,
0.79052734375,
0.87890625,
0.80029296875,
0.5146484375,
0.80029296875
],
[
0.118408203125,
0.798828125,
0.48779296875,
0.798828125,
0.48779296875,
0.8125,
0.118408203125,
0.8125
],
[
0.515625,
0.8056640625,
0.8818359375,
0.8056640625,
0.8818359375,
0.8193359375,
0.515625,
0.8193359375
],
[
0.12005615234375,
0.8154296875,
0.48779296875,
0.8154296875,
0.48779296875,
0.8291015625,
0.12005615234375,
0.8291015625
],
[
0.5146484375,
0.82177734375,
0.88330078125,
0.82177734375,
0.88330078125,
0.8349609375,
0.5146484375,
0.8349609375
],
[
0.118408203125,
0.830078125,
0.48779296875,
0.83056640625,
0.48779296875,
0.845703125,
0.118408203125,
0.84423828125
],
[
0.5146484375,
0.83837890625,
0.88330078125,
0.83837890625,
0.88330078125,
0.8515625,
0.5146484375,
0.8515625
],
[
0.118408203125,
0.84716796875,
0.48779296875,
0.84716796875,
0.48779296875,
0.86083984375,
0.118408203125,
0.86083984375
],
[
0.515625,
0.85400390625,
0.8818359375,
0.85400390625,
0.8818359375,
0.86767578125,
0.515625,
0.86767578125
],
[
0.12005615234375,
0.86328125,
0.489501953125,
0.86328125,
0.489501953125,
0.876953125,
0.12005615234375,
0.876953125
],
[
0.5146484375,
0.87060546875,
0.880859375,
0.87060546875,
0.880859375,
0.88427734375,
0.5146484375,
0.88427734375
],
[
0.118408203125,
0.8798828125,
0.486083984375,
0.8798828125,
0.486083984375,
0.8935546875,
0.118408203125,
0.8935546875
],
[
0.12005615234375,
0.8955078125,
0.328369140625,
0.8955078125,
0.328369140625,
0.9091796875,
0.12005615234375,
0.9091796875
],
[
0.5341796875,
0.896484375,
0.72314453125,
0.896484375,
0.72314453125,
0.91015625,
0.5341796875,
0.91015625
]
] |
[
"输入上下文大小的限制。为了进行公平的比较,",
"EM",
"F1",
"Recall",
"GPT4",
"我们在特定任务中为每个模型提供相同数量的",
"0.22",
"0.45",
"0.85",
"0.89",
"检索段落-NQ和HotpotQA为8,TopiOCQA为",
"Avg.",
"Human=1 ↑",
"0.00",
"0.33",
"1.00",
"1.00",
"SD",
"Median",
"0.42",
"0.36",
"0.30",
"0.31",
"0.13",
"4。",
"Avg.",
"0.00",
"0.10",
"0.23",
"4",
"Correctness w.r.t Information Need",
"Human=0+",
"Median",
"0.00",
"0.00",
"0.00",
"0.00",
"SD",
"0.06",
"0.16",
"0.32",
"0.33",
"在本节中,我们将研究指令跟随模型的正确性。",
"We consider a model response to be correct if it ac-",
"Table 2: Average, Median and standard deviation",
"curately satisfies the user's information need. For",
"(SD) of scores by evaluation metrics when humans",
"example, while answering What is the capital of",
"judge the model response correct (1) vs incorrect",
"Canada? , the model should convey that Ottawa is",
"(O). EM and F1 tend to be strict whereas Recall",
"the capital of Canada. While the model's response",
"and GPT4-Eval are more balanced.",
"might include additional information like Ottawa's",
"population, we limit the evaluation of correctness",
"基于最近的作品(Chiangetal.,2023;Peng",
"to the part of the model response that is directly",
"etal.,2023),我们还考虑提示LLM(此处称",
"relevant to the user's information need. We ad-",
"为GPT3。5-Eval和GPT4-Eval)作为评估代理。",
"dress evaluation of additional informationin the",
"给定问题,参考答案和模型响应,LLM被指示",
"next section(Section5)我们在g4.1中描述了",
"任务的词汇和语义相似性度量。接下来,我们",
"预测模型响应是否正确。提示模板和使用的说",
"明在我们的项目页面2上进行了描述。",
"进行人体评估并比较几种评估指标(84.2)。最",
"后,使用与人类判断高度相关的指标,我们评",
"4.2Human Evaluation",
"估指令跟随模型的正确性(s4.3)",
"为了建立比较评估指标的基础,我们对来自所",
"4.1 Evaluation Metrics",
"有指令遵循模型的响应子集进行人工评估。具",
"在QA中评估正确性涉及将模型响应与人工注",
"体来说,我们专注于黄金通道包含在检索到",
"释的黄金答案进行比较。下面,我们描述两大",
"的通道中的情况。因此,响应中的任何不准确",
"类自动评估指标:",
"都可以归因于模型的失败,而不是不准确的检",
"LexicalMatching这些指标根据其令牌与黄",
"索。对于这三个任务中的每一个,我们取100",
"个样本,从而为四个模型取1200个样本",
"金答案的重叠来对模型响应进行评分。虽然",
"在我们的评估设置中,注释器会显示问题",
"些指标执行词袋匹配(例如。g。,精确匹配",
"(或会话历史记录),参考答案和匿名模型响应。",
"(EM),F1),其他人则通过n-gram匹配来",
"考虑令牌的顺序,例如METEOR(Banerjeeand",
"注释器的任务是评估模型响应是否正确,即。",
"Lavie,2005)和 ROUGE (Lin, 2004)",
"e。,它实际上是准确的,并满足了用户查询背",
"在这项工作中,我们还考虑了Recall-参考答",
"后的信息需求。我们雇了四名NLP研究生来",
"完成这项任务。每个样本由两个注释者标记",
"案中存在于模型响应中的令牌的比例。召回",
"实现了92的注释者间协议。42%andaFleiss",
"不会惩罚详细的响应,只要它包含参考答案标",
"Kappascoreof76.4%。在不同意的情况下,将",
"记。最近的工作(Liu etal.,2023a;Mallenet al.,",
"2023)使用了类似的度量,因此如果模型响应",
"收集第三个注释并进行多数表决",
"完全包含参考答案作为子字符串,则模型响应",
"在1200个模型响应中,961个被人类判断为",
"是正确的。我们将此指标称为Recall(严格),",
"正确,239个被判断为不正确。InTable2,were-",
"因为它是令牌级召回的更严格版本",
"port distributional statistics of scores assigned by",
"EM, F1, Recall, and GPT4-Eval for both correct",
"SemanticSimilarity与面临严格性问题(Min",
"andincorrectresponses.,而EM分配O。对几",
"etal..2021)的词汇度量不同,语义相似性度量",
"乎所有人类判断的错误响应都得0分,它分",
"通常利用模型来预测语义等效性。BERTScore",
"配1。0到22%的人类判断正确的反应。F1的",
"(BertS,Zhangetal.2020)使用上下文BERT",
"表现仅略好,在人类判断的正确响应上获得",
"嵌入来计算模型和参考答案之间的精度,召",
"39%的准确性(当我们考虑使用≥的响应时。",
"回率和F1。BEM(BERTmatching,Bulianetal.",
"5分正确)。这突出了传统QA度量的众所周知",
"2022)采用经过训练的BERT模型来预测基",
"的严格性问题(Min et al.,2021;Kamalloo et al.,",
"于问题,参考答案和模型响应的语义等效性。",
"2023)。相比之下,GPT4-Eval和Recall提供了",
"我们通过提供对话中的最新问题作为输入,将",
"BEM扩展到会话QA任务",
" github:instruct-qa:correctness"
] |
{
"arxiv_id": "2307.16877",
"language": "zh",
"page_idx": 4
}
|
||
1904.05033-zh-0
|
1904.05033-zh-0.jpg
|
通过解开上下文 n-Gram 信息更好的 Word 嵌人
Matteo Pagliardini$^*$ Iprova SA, Switzerland
${\mathrm{mpagliardini@iprova.com}}$
Martin Jaggi
EPFL, Switzerland martin. jaggi@ epff. ch
Prakhar Gupta* EPFL, Switzerland prakhar.gupta@epfl.ch
## $\operatorname{Abstract}$
Pre-trained word vectors are ubiquitous in Natural Language Processing applications. In this paper, we show how training word embeddings jointly with bigram and even trigram embeddings, results in improved unigram embeddings. We claim that training word embeddings along with higher ngram embeddings helps in the removal of the contextual information from the unigrams, resulting in better stand-alone word embeddings. We empirically show the validity of our hypothesis by outperforming other competing word representation models by a significant margin on a wide variety of tasks. We make our models publicly available.
# 1 Introduction
分布式单词表示是现代 NLP 系统的基本构建块。用作下游应用程序中的功能,它们通常会增强在有限数量的数据上训练的模型的泛化。他们通过从大量未标记的文本中捕获有关单词的相关分布信息来做到这一点
过去已经引入了学习单词向量的有效方法其中大多数基于 Harris (1954); Firth (1957) 的分布假设:“一个单词的特征在于它所拥有的公司”。虽然标准方法依赖于全局语料库统计 (Pennington et al., 2014),并使用均方重构损失将其表示为矩阵分解,但其他广泛使用的方法是 Mikolov et al. (2013a) 引入的双线性 word2vec 体系结构:skip-gram 旨在从给定单词中预测附近的单词,CBOW 从其上下文单词集中预测目标单词
最近,通过使用字符 n-gram (Bojanowski et al., 2017) 形式的子单词信息来增强单词-上下文对,特别是对于形态丰富的语言,获得了单词嵌入质量的显着提高。然而,据我们所知,
$*{\mathrm{~indicates~equal~contribution}}$
还没有引入任何方法来利用具有高阶单词 ngram 的单词的搭配,例如 bigram 或 trigram 以及字符 n-gram
在本文中,我们展示了在训练过程中如何使用高阶单词 n-gram 以及 unigram 可以显着提高获得的单词嵌入的质量。此外,该添加有助于将训练数据中存在的上下文信息从单字中分离出来,并导致总体上更好的分布式单词表示
为了验证我们的主张,我们在训练过程中训练了两个用 word-n-gram 信息增强的 CBOW 修改。一种是最近的句子嵌人方法 Sent2Vec (Pagliardini et al., 2018),我们将其重新用于获取单词向量。我们提出的第二种方法是对CBOW 的修改,其中包含字符 n-gram 信息(Bojanowski et al.,2017),我们再次用单词n-gram 信息进行了扩充。在这两种情况下,我们将生成的向量与词相似度和类比任务上使用最广泛的词嵌入方法进行比较,并显示出显著的质量改进。用于训练本文中介绍的模型的代码以及模型本身可供公众使用$^{1}$。
### 2 Model Description
在介绍我们的模型之前,我们概述了基本的现
有单词嵌人方法
CBOW 和 skip-gram 模型。连续词袋(CBOW)和 skip-gram 模型是标准的对数双线性模型,用于基于单词上下文对信息 (Mikolov et al., 2013a) 获得单词嵌人。这里的上下文是指以目标单词$w_t$为中心的对称窗口,其中包含的周围标记的距离小于某个窗口大小ws$:C_t=\{w_k\mid k\in[t-$ws$,t+$ws$]\}$。CBOW 模型尝试在给定上下文的情况下预测目标词, 从而最大化可能性$\prod_{t=1}^Tp(w_t|C_t)$ ,而 skipgram 通过预测给定目标词的上下文来最大化$\prod_{t=1}^Tp(C_t|w_t)$来学习。为了对这些概率进行建模,在目标向量$u_{w_t}$与其上下文向量$\frac{1}{|C_t|}\sum_{w\in C_t}v_w$之间的内积之上使用 softmax
$^{1}$publicly available on http://github.com/epfml$_A$
sent2vec
|
[
[
0.2493896484375,
0.08489990234375,
0.748046875,
0.08489990234375,
0.748046875,
0.09979248046875,
0.2493896484375,
0.09979248046875
],
[
0.183837890625,
0.141357421875,
0.32666015625,
0.142578125,
0.32666015625,
0.15673828125,
0.183837890625,
0.1561279296875
],
[
0.414794921875,
0.142578125,
0.587890625,
0.142578125,
0.587890625,
0.15673828125,
0.414794921875,
0.15673828125
],
[
0.6943359375,
0.141357421875,
0.8095703125,
0.1436767578125,
0.8095703125,
0.157958984375,
0.6943359375,
0.1561279296875
],
[
0.1695556640625,
0.157958984375,
0.337646484375,
0.1591796875,
0.337646484375,
0.17333984375,
0.1695556640625,
0.1728515625
],
[
0.4013671875,
0.1602783203125,
0.60205078125,
0.1602783203125,
0.60205078125,
0.17333984375,
0.4013671875,
0.17333984375
],
[
0.66748046875,
0.157958984375,
0.83447265625,
0.1591796875,
0.83447265625,
0.17333984375,
0.66748046875,
0.1728515625
],
[
0.173828125,
0.1776123046875,
0.328369140625,
0.1776123046875,
0.328369140625,
0.191162109375,
0.173828125,
0.191162109375
],
[
0.414794921875,
0.1776123046875,
0.587890625,
0.1776123046875,
0.587890625,
0.191162109375,
0.414794921875,
0.191162109375
],
[
0.6826171875,
0.1776123046875,
0.82275390625,
0.1776123046875,
0.82275390625,
0.191162109375,
0.6826171875,
0.191162109375
],
[
0.26611328125,
0.265380859375,
0.343505859375,
0.265380859375,
0.343505859375,
0.27978515625,
0.26611328125,
0.27978515625
],
[
0.515625,
0.2666015625,
0.880859375,
0.2666015625,
0.880859375,
0.27978515625,
0.515625,
0.27978515625
],
[
0.515625,
0.283203125,
0.8818359375,
0.283203125,
0.8818359375,
0.29638671875,
0.515625,
0.29638671875
],
[
0.1485595703125,
0.295654296875,
0.459228515625,
0.295654296875,
0.459228515625,
0.308837890625,
0.1485595703125,
0.308837890625
],
[
0.515625,
0.298583984375,
0.6513671875,
0.298583984375,
0.6513671875,
0.312255859375,
0.515625,
0.312255859375
],
[
0.1485595703125,
0.31005859375,
0.456787109375,
0.31005859375,
0.456787109375,
0.32373046875,
0.1485595703125,
0.32373046875
],
[
0.5341796875,
0.3154296875,
0.8818359375,
0.3154296875,
0.8818359375,
0.328857421875,
0.5341796875,
0.328857421875
],
[
0.145263671875,
0.32373046875,
0.45751953125,
0.322509765625,
0.45751953125,
0.33740234375,
0.145263671875,
0.33837890625
],
[
0.51708984375,
0.33203125,
0.8818359375,
0.33203125,
0.8818359375,
0.345703125,
0.51708984375,
0.345703125
],
[
0.1485595703125,
0.33837890625,
0.45751953125,
0.33837890625,
0.45751953125,
0.3515625,
0.1485595703125,
0.3515625
],
[
0.515625,
0.3466796875,
0.880859375,
0.3466796875,
0.880859375,
0.35986328125,
0.515625,
0.35986328125
],
[
0.14697265625,
0.352783203125,
0.459228515625,
0.352783203125,
0.459228515625,
0.366455078125,
0.14697265625,
0.366455078125
],
[
0.1485595703125,
0.36767578125,
0.45751953125,
0.36767578125,
0.45751953125,
0.38134765625,
0.1485595703125,
0.38134765625
],
[
0.51708984375,
0.364013671875,
0.8818359375,
0.364013671875,
0.8818359375,
0.377685546875,
0.51708984375,
0.377685546875
],
[
0.14697265625,
0.38134765625,
0.455078125,
0.38134765625,
0.455078125,
0.394287109375,
0.14697265625,
0.394287109375
],
[
0.515625,
0.37890625,
0.880859375,
0.37890625,
0.880859375,
0.392578125,
0.515625,
0.392578125
],
[
0.14697265625,
0.3955078125,
0.4609375,
0.393798828125,
0.4609375,
0.40673828125,
0.14697265625,
0.4091796875
],
[
0.5341796875,
0.396728515625,
0.8818359375,
0.396728515625,
0.8818359375,
0.410400390625,
0.5341796875,
0.410400390625
],
[
0.1485595703125,
0.4091796875,
0.45751953125,
0.4091796875,
0.45751953125,
0.4228515625,
0.1485595703125,
0.4228515625
],
[
0.5146484375,
0.410888671875,
0.8818359375,
0.412109375,
0.8818359375,
0.427001953125,
0.5146484375,
0.42578125
],
[
0.1485595703125,
0.42333984375,
0.45751953125,
0.4228515625,
0.45751953125,
0.435791015625,
0.1485595703125,
0.43701171875
],
[
0.515625,
0.4287109375,
0.88330078125,
0.4287109375,
0.88330078125,
0.4423828125,
0.515625,
0.4423828125
],
[
0.1502685546875,
0.439453125,
0.456787109375,
0.439453125,
0.456787109375,
0.449462890625,
0.1502685546875,
0.449462890625
],
[
0.515625,
0.44482421875,
0.8818359375,
0.44482421875,
0.8818359375,
0.457763671875,
0.515625,
0.457763671875
],
[
0.145263671875,
0.45068359375,
0.459228515625,
0.451904296875,
0.459228515625,
0.466064453125,
0.145263671875,
0.465576171875
],
[
0.1485595703125,
0.466064453125,
0.45751953125,
0.466064453125,
0.45751953125,
0.479736328125,
0.1485595703125,
0.479736328125
],
[
0.515625,
0.46142578125,
0.8818359375,
0.46142578125,
0.8818359375,
0.474365234375,
0.515625,
0.474365234375
],
[
0.1485595703125,
0.479736328125,
0.45751953125,
0.479736328125,
0.45751953125,
0.49462890625,
0.1485595703125,
0.49462890625
],
[
0.5146484375,
0.4755859375,
0.8818359375,
0.476806640625,
0.8818359375,
0.4912109375,
0.5146484375,
0.490478515625
],
[
0.14697265625,
0.49462890625,
0.45751953125,
0.49462890625,
0.45751953125,
0.50830078125,
0.14697265625,
0.50830078125
],
[
0.515625,
0.49462890625,
0.87890625,
0.49462890625,
0.87890625,
0.5048828125,
0.515625,
0.5048828125
],
[
0.1485595703125,
0.51025390625,
0.21826171875,
0.51025390625,
0.21826171875,
0.521484375,
0.1485595703125,
0.521484375
],
[
0.515625,
0.5087890625,
0.8818359375,
0.5087890625,
0.8818359375,
0.5224609375,
0.515625,
0.5224609375
],
[
0.51708984375,
0.52685546875,
0.880859375,
0.52685546875,
0.880859375,
0.53759765625,
0.51708984375,
0.53759765625
],
[
0.118408203125,
0.5390625,
0.151123046875,
0.5390625,
0.151123046875,
0.55029296875,
0.118408203125,
0.55029296875
],
[
0.151123046875,
0.5361328125,
0.26611328125,
0.5390625,
0.26611328125,
0.55419921875,
0.151123046875,
0.55029296875
],
[
0.515625,
0.54150390625,
0.8818359375,
0.54150390625,
0.8818359375,
0.5546875,
0.515625,
0.5546875
],
[
0.515625,
0.55810546875,
0.8818359375,
0.55810546875,
0.8818359375,
0.57177734375,
0.515625,
0.57177734375
],
[
0.5146484375,
0.57373046875,
0.78271484375,
0.57373046875,
0.78271484375,
0.58740234375,
0.5146484375,
0.58740234375
],
[
0.139404296875,
0.58056640625,
0.48779296875,
0.58056640625,
0.48779296875,
0.59423828125,
0.139404296875,
0.59423828125
],
[
0.12005615234375,
0.59716796875,
0.48779296875,
0.59716796875,
0.48779296875,
0.61083984375,
0.12005615234375,
0.61083984375
],
[
0.5263671875,
0.60400390625,
0.54833984375,
0.60400390625,
0.54833984375,
0.6123046875,
0.5263671875,
0.6123046875
],
[
0.54736328125,
0.60107421875,
0.7109375,
0.6015625,
0.7109375,
0.6162109375,
0.54736328125,
0.615234375
],
[
0.12176513671875,
0.6123046875,
0.486083984375,
0.6123046875,
0.486083984375,
0.6259765625,
0.12176513671875,
0.6259765625
],
[
0.515625,
0.60498046875,
0.52880859375,
0.60498046875,
0.52880859375,
0.61328125,
0.515625,
0.61328125
],
[
0.12176513671875,
0.6298828125,
0.489501953125,
0.6298828125,
0.489501953125,
0.6435546875,
0.12176513671875,
0.6435546875
],
[
0.51318359375,
0.62744140625,
0.8818359375,
0.62744140625,
0.8818359375,
0.64111328125,
0.51318359375,
0.64111328125
],
[
0.12176513671875,
0.6455078125,
0.3955078125,
0.6455078125,
0.3955078125,
0.6591796875,
0.12176513671875,
0.6591796875
],
[
0.515625,
0.64453125,
0.64404296875,
0.64453125,
0.64404296875,
0.65771484375,
0.515625,
0.65771484375
],
[
0.139404296875,
0.662109375,
0.483642578125,
0.662109375,
0.483642578125,
0.67578125,
0.139404296875,
0.67578125
],
[
0.5322265625,
0.6611328125,
0.8818359375,
0.6611328125,
0.8818359375,
0.67578125,
0.5322265625,
0.67578125
],
[
0.118408203125,
0.6767578125,
0.48779296875,
0.677734375,
0.48779296875,
0.6923828125,
0.118408203125,
0.69140625
],
[
0.51123046875,
0.67578125,
0.8818359375,
0.6767578125,
0.8818359375,
0.69140625,
0.51123046875,
0.6904296875
],
[
0.12005615234375,
0.69482421875,
0.48779296875,
0.69482421875,
0.48779296875,
0.7080078125,
0.12005615234375,
0.7080078125
],
[
0.51318359375,
0.6923828125,
0.880859375,
0.6923828125,
0.880859375,
0.7060546875,
0.51318359375,
0.7060546875
],
[
0.118408203125,
0.708984375,
0.489501953125,
0.71044921875,
0.489501953125,
0.724609375,
0.118408203125,
0.7236328125
],
[
0.51318359375,
0.71044921875,
0.88330078125,
0.71044921875,
0.88330078125,
0.7236328125,
0.51318359375,
0.7236328125
],
[
0.118408203125,
0.7255859375,
0.486083984375,
0.7255859375,
0.486083984375,
0.7392578125,
0.118408203125,
0.7392578125
],
[
0.515625,
0.7255859375,
0.88330078125,
0.7255859375,
0.88330078125,
0.7392578125,
0.515625,
0.7392578125
],
[
0.12176513671875,
0.74462890625,
0.486083984375,
0.74462890625,
0.486083984375,
0.7548828125,
0.12176513671875,
0.7548828125
],
[
0.51708984375,
0.74365234375,
0.8818359375,
0.74365234375,
0.8818359375,
0.75439453125,
0.51708984375,
0.75439453125
],
[
0.12005615234375,
0.7587890625,
0.489501953125,
0.7587890625,
0.489501953125,
0.7724609375,
0.12005615234375,
0.7724609375
],
[
0.5146484375,
0.75830078125,
0.8818359375,
0.75732421875,
0.8818359375,
0.771484375,
0.5146484375,
0.7724609375
],
[
0.118408203125,
0.77392578125,
0.486083984375,
0.77392578125,
0.486083984375,
0.78759765625,
0.118408203125,
0.78759765625
],
[
0.5146484375,
0.77490234375,
0.8818359375,
0.77490234375,
0.8818359375,
0.7880859375,
0.5146484375,
0.7880859375
],
[
0.12005615234375,
0.79052734375,
0.489501953125,
0.79052734375,
0.489501953125,
0.8046875,
0.12005615234375,
0.8046875
],
[
0.51318359375,
0.7890625,
0.8818359375,
0.79150390625,
0.8818359375,
0.8046875,
0.51318359375,
0.802734375
],
[
0.12005615234375,
0.80712890625,
0.3046875,
0.80712890625,
0.3046875,
0.82080078125,
0.12005615234375,
0.82080078125
],
[
0.5146484375,
0.8056640625,
0.88330078125,
0.8046875,
0.88330078125,
0.8193359375,
0.5146484375,
0.82080078125
],
[
0.1351318359375,
0.82373046875,
0.48779296875,
0.82373046875,
0.48779296875,
0.83740234375,
0.1351318359375,
0.83740234375
],
[
0.515625,
0.822265625,
0.88330078125,
0.822265625,
0.88330078125,
0.8359375,
0.515625,
0.8359375
],
[
0.12005615234375,
0.84130859375,
0.48779296875,
0.84130859375,
0.48779296875,
0.8515625,
0.12005615234375,
0.8515625
],
[
0.515625,
0.8388671875,
0.8818359375,
0.8388671875,
0.8818359375,
0.8525390625,
0.515625,
0.8525390625
],
[
0.1234130859375,
0.85693359375,
0.48779296875,
0.85693359375,
0.48779296875,
0.87060546875,
0.1234130859375,
0.87060546875
],
[
0.51318359375,
0.85498046875,
0.884765625,
0.85107421875,
0.884765625,
0.8681640625,
0.51318359375,
0.87255859375
],
[
0.12005615234375,
0.87255859375,
0.48779296875,
0.87255859375,
0.48779296875,
0.8857421875,
0.12005615234375,
0.8857421875
],
[
0.5341796875,
0.8818359375,
0.8818359375,
0.88427734375,
0.8818359375,
0.8984375,
0.5341796875,
0.896484375
],
[
0.145263671875,
0.896484375,
0.349365234375,
0.896484375,
0.349365234375,
0.91015625,
0.145263671875,
0.91015625
],
[
0.5146484375,
0.89794921875,
0.57275390625,
0.89794921875,
0.57275390625,
0.9091796875,
0.5146484375,
0.9091796875
]
] |
[
"通过解开上下文n-Gram信息更好的Word嵌人",
"Prakhar Gupta*",
"Matteo Pagliardini*",
"Martin Jaggi",
"EPFL, Switzerland",
"Iprova SA, Switzerland",
"EPFL,Switzerland",
"prakhar.gupta@epf.ch",
"mpagliardini@iprova.com",
"martin.jaggi@epfl.ch",
"Abstract",
"还没有引人任何方法来利用具有高阶单词n-",
"gram的单词的搭配,例如bigram或trigram",
"Pre-trained word vectors are ubiquitous in",
"以及字符n-gram",
"Natural Language Processing applications.",
"在本文中,我们展示了在训练过程中如何使",
"In this paper, we show how training word",
"用高阶单词n-gram以及unigram可以显着提",
"embeddings jointly with bigram and even",
"高获得的单词嵌入的质量。此外,该添加有助",
"trigram embeddings, results in improved",
"unigram embeddings. We claim that train-",
"于将训练数据中存在的上下文信息从单字中分",
"ing word embeddings along with higher n",
"离出来,并导致总体上更好的分布式单词表示",
"gram embeddings helps in the removal of",
"为了验证我们的主张,我们在训练过程中训",
"the contextual information from the uni-",
"练了两个用word-n-gram信息增强的CBOW",
"grams, resulting in better stand-alone word",
"修改。一种是最近的句子嵌人方法Sent2Vec",
"embeddings.Weempirically showtheva-",
"(Pagliardinietal.,2018),我们将其重新用于",
"lidity of our hypothesis by outperforming",
"other competing word representation mod-",
"获取单词向量。我们提出的第二种方法是对",
"els by a significant margin on a wide vari-",
"CBOW的修改,其中包含字符n-gram信息",
"ety of tasks. We make our models publicly",
"(Bojanowskietal.2017),我们再次用单",
"available.",
"n-gram信息进行了扩充。在这两种情况下,我",
"们将生成的向量与词相似度和类比任务上使用",
"1",
"Introduction",
"最广泛的词嵌入方法进行比较,并显示出显著",
"的质量改进。用于训练本文中介绍的模型的代",
"码以及模型本身可供公众使用1。",
"分布式单词表示是现代NLP系统的基本构",
"建块。用作下游应用程序中的功能,它们通常",
"",
"Model Description",
"会增强在有限数量的数据上训练的模型的泛",
"2",
"化。他们通过从大量未标记的文本中捕获有关",
"在介绍我们的模型之前,我们概述了基本的现",
"单词的相关分布信息来做到这一点",
"有单词嵌入方法",
"过去已经引人了学习单词向量的有效方法",
"CBOW和skip-gram模型。连续词袋",
"其中大多数基于Harris(1954);Firth(1957)",
"(CBOW)和skip-gram模型是标准的对数双线",
"的分布假设:“一个单词的特征在于它所拥有",
"性模型,用于基于单词上下文对信息(Mikolov",
"的公司”。虽然标准方法依赖于全局语料库统",
"etal.,2013a)获得单词嵌人。这里的上下文",
"计(Pennington etal.,2014),并使用均方重",
"是指以目标单词Wt为中心的对称窗口,其",
"构损失将其表示为矩阵分解,但其他广泛使用",
"中包含的周围标记的距离小于某个窗口大小",
"的方法是Mikolovetal.(2013a)引入的双线",
"ws : Ct ={wk | k e[t-ws,t+ws]} 。CBOW",
"性word2vec体系结构:skip-gram旨在从给定",
"模型尝试在给定上下文的情况下预测目标词,",
"单词中预测附近的单词,CBOW从其上下文",
"从而最大化可能性t=p(wtCt),而skip-",
"单词集中预测目标单词",
"gram通过预测给定目标词的上下文来最大",
"最近,通过使用字符n-gram(Bojanowski",
"化IIt=1p(Ctwt)来学习。为了对这些概率",
"etal.2017)形式的子单词信息来增强单词-上",
"进行建模,在目标向量uwt与其上下文向量",
"下文对,特别是对于形态丰富的语言,获得了",
"可Zwec.uw之间的内积之上使用 softmax",
"单词嵌人质量的显着提高。然而,据我们所知,",
"'publicly available on http://github.com/epfml/",
"* indicates equal contribution",
"sent2vec"
] |
{
"arxiv_id": "1904.05033",
"language": "zh",
"page_idx": 0
}
|
||
1904.05033-zh-1
|
1904.05033-zh-1.jpg
|
激活
为了克服大词汇量的 softmax 的计算瓶颈, 负采样或噪声对比估计是公认的(Mikolov et al., 2013b) , 其思想是采用更简单的成对二进制分类器损失函数来区分有效上下文$C_t$ 和随机采样的假上下文$N_{C_t}$ 。在生成目标-上下文对的同时,CBOW 和 skip-gram 也使用输入词子采样,在训练过程中以较高的概率丢弃较高频率的词,以防止模型过度拟合最频繁的标记。标准 CBOW 还使用动态上下文窗口大小:对于每个二次采样的目标词$w$ ,其关联上下文窗口的大小在 1 和 ws (Mikolov et al., 2013b) 之间均匀采样
添加字符 n-gram。Bojanowski et al. (2017) 通过向上下文表示中添加字符 n-gram 来增强 CBOW 和 skip-gram。单词向量表示为其unigram 的总和及其字符 n-gram 嵌人$W_w$的平均值:
$$v:=v_w+\frac{1}{|W_w|}\sum_{c\in W_w}v_c$$
字符 n-gram 被散列到嵌入矩阵中的索引。培训与 CBOW 和 skip-gram 相同。这种方法大大提高了 CBOW 和 skip-gram 在语素句法任务上的性能。对于本文的其余部分,我们将使用子词信息丰富的 CBOW 和 skip-gram 方法分别称为 CBOW-char 和 skip-gram-char
GloVe。GloVe 向量 (Pennington et al., 2014) 不是在本地窗口上下文上在线训练,而是使用全局共现统计信息通过分解单词-上下文共现矩阵来训练
Ngram2vec。为 了 利 用 单 词 向 量 的 性 能 , 使用 n-gram 共现信息 (Zhao et al.,2017)增强了使用带有负采样的 skip-gram 目标函数的单词向量训练
2.1 Improving unigram embeddings by
adding higher order word-n-grams to
contexts
带单词 n-gram 的 CBOW-char。我们建议增加 CBOW-char 以额外使用单词 n-gram 上下文向量(除了 charn-gram 和上下文单词本身)。更准确地说,在训练过程中,给定单词$w_t$的上下文向量由当前上下文窗口$C_t$的跨度中所有单词 n-gram $N_t$ ,所有 char-n-gram 和所有unigram 的平均值给出:
$$v:=\frac{\sum_{w\in C_t}\boldsymbol{v}_w+\sum_{n\in N_t}\boldsymbol{v}_n+\sum_{w\in C_t}\sum_{c\in W_w}\boldsymbol{v}_c}{|C_t|+|N_t|+\sum_{w\in C_t}|W_w|}$$
(1)
对于给定的句子,我们像标准 CBOW 一样应
用输入子采样和滑动上下文窗口。此外,为了
在上下文窗口的范围内从原始单词序列中提取单词 n-gram, 我们保留了从子采样句子到原始句子的映射。使用哈希技巧将单词 n-gram 添加到上下文中,处理 char-n-gram 的方式相同。我们使用两个不同的哈希索引范围来确保 charn-gram 和 wordn-gram 表示之间没有冲突
用于词嵌人的 Sent2Vec。最初是为句子嵌人实现的,Sent2Vec (Pagliardini et al., 2018) 可以看作是 word2vec 的 CBOW 的衍生物。CBOW 和 Sent2Vec 之间的主要区别是删除了输入子采样,将整个句子视为上下文,以及添加了单词-n-gram
这里,来自整个句子的单词和 n-gram 嵌入
被平均以形成相应的句子(上下文)嵌入
对于建议的 CBOW-char 和 Sent2Vec 模型,我们在训练期间在单词 n-gram 上使用dropout。对于这两种模型,单词嵌入都是通过在训练后简单地丢弃高阶 n-gram 嵌人来获得的
### 3 Experimental Setup
## 3.1 Training
我们在一个包含 6900 万个句子的维基百科转储上训练所有竞争模型,其中包含 1 个。(Pagliardini et al., 2018) 之后的 70 亿字
使用斯坦福 NLP 库 (Manning et al., 2014) 对句子进行标记。所有算法均使用 fasttext (Bojanowski et al., 2017; Joulin et al., 2017) 和 sent2vec (Pagliardini et al.,2018)库的修改版本分别实现。补充材料中的表 3 中提供了比较中包含的所有模型的详细训练超参数。在训练期间,我们以 20 个等距间隔保存模型检查点,并发现 CBOW 模型的最佳性能发生在总训练的$60-80\%$附近。因此,我们还指出了停止训练 CBOW 模型的检查点。我们将 300 维向量用于所有单词嵌入模型。对于Ngram2vec 模型,所有 n-gram 到 bigram 的学习源和目标嵌入是性能最好的模型,并包含在比较中
对于每种方法,我们从推荐值开始广泛地调整了超参数。对于每个模型,我们选择在单词相似度和类比任务中给出最佳平均结果的参数。选择最佳超参数后,我们为每种方法训练5 个模型,使用不同的随机种子。报告的结果以这五个模型的平均值和标准差给出。
# 3.2 Evaluation
为了评估我们的模型,我们使用六个数据集涵盖成对的单词相似性任务和两个数据集涵盖单词类比任务
|
[
[
0.12005615234375,
0.07781982421875,
0.156982421875,
0.07781982421875,
0.156982421875,
0.09027099609375,
0.12005615234375,
0.09027099609375
],
[
0.5146484375,
0.07598876953125,
0.880859375,
0.07598876953125,
0.880859375,
0.08905029296875,
0.5146484375,
0.08905029296875
],
[
0.139404296875,
0.09320068359375,
0.490234375,
0.09320068359375,
0.490234375,
0.10687255859375,
0.139404296875,
0.10687255859375
],
[
0.515625,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.515625,
0.10687255859375
],
[
0.12005615234375,
0.1092529296875,
0.489501953125,
0.1092529296875,
0.489501953125,
0.122314453125,
0.12005615234375,
0.122314453125
],
[
0.515625,
0.1092529296875,
0.8818359375,
0.1092529296875,
0.8818359375,
0.122314453125,
0.515625,
0.122314453125
],
[
0.12176513671875,
0.1270751953125,
0.486083984375,
0.1270751953125,
0.486083984375,
0.13720703125,
0.12176513671875,
0.13720703125
],
[
0.515625,
0.1258544921875,
0.8818359375,
0.1258544921875,
0.8818359375,
0.1395263671875,
0.515625,
0.1395263671875
],
[
0.1234130859375,
0.141357421875,
0.489501953125,
0.141357421875,
0.489501953125,
0.155029296875,
0.1234130859375,
0.155029296875
],
[
0.515625,
0.141357421875,
0.8818359375,
0.141357421875,
0.8818359375,
0.155029296875,
0.515625,
0.155029296875
],
[
0.12176513671875,
0.157958984375,
0.489501953125,
0.157958984375,
0.489501953125,
0.171630859375,
0.12176513671875,
0.171630859375
],
[
0.5146484375,
0.15673828125,
0.8818359375,
0.15673828125,
0.8818359375,
0.171630859375,
0.5146484375,
0.171630859375
],
[
0.12176513671875,
0.17333984375,
0.48779296875,
0.17333984375,
0.48779296875,
0.18701171875,
0.12176513671875,
0.18701171875
],
[
0.51318359375,
0.174560546875,
0.55322265625,
0.174560546875,
0.55322265625,
0.1859130859375,
0.51318359375,
0.1859130859375
],
[
0.118408203125,
0.188232421875,
0.486083984375,
0.188232421875,
0.486083984375,
0.201904296875,
0.118408203125,
0.201904296875
],
[
0.5341796875,
0.190673828125,
0.8818359375,
0.190673828125,
0.8818359375,
0.2037353515625,
0.5341796875,
0.2037353515625
],
[
0.12005615234375,
0.2060546875,
0.489501953125,
0.2060546875,
0.489501953125,
0.2197265625,
0.12005615234375,
0.2197265625
],
[
0.515625,
0.2060546875,
0.8818359375,
0.2060546875,
0.8818359375,
0.2197265625,
0.515625,
0.2197265625
],
[
0.118408203125,
0.221435546875,
0.48779296875,
0.221435546875,
0.48779296875,
0.236328125,
0.118408203125,
0.236328125
],
[
0.5146484375,
0.221435546875,
0.8818359375,
0.2203369140625,
0.8818359375,
0.235107421875,
0.5146484375,
0.236328125
],
[
0.118408203125,
0.2381591796875,
0.48779296875,
0.2381591796875,
0.48779296875,
0.251708984375,
0.118408203125,
0.251708984375
],
[
0.51318359375,
0.236328125,
0.8818359375,
0.2369384765625,
0.8818359375,
0.251708984375,
0.51318359375,
0.25048828125
],
[
0.12005615234375,
0.254150390625,
0.48779296875,
0.254150390625,
0.48779296875,
0.267333984375,
0.12005615234375,
0.267333984375
],
[
0.51708984375,
0.2529296875,
0.8818359375,
0.254150390625,
0.8818359375,
0.268310546875,
0.51708984375,
0.267333984375
],
[
0.118408203125,
0.268310546875,
0.291259765625,
0.26953125,
0.291259765625,
0.283935546875,
0.118408203125,
0.283203125
],
[
0.515625,
0.270751953125,
0.6708984375,
0.270751953125,
0.6708984375,
0.283935546875,
0.515625,
0.283935546875
],
[
0.1376953125,
0.2861328125,
0.48779296875,
0.2861328125,
0.48779296875,
0.2998046875,
0.1376953125,
0.2998046875
],
[
0.5322265625,
0.287353515625,
0.8818359375,
0.287353515625,
0.8818359375,
0.300537109375,
0.5322265625,
0.300537109375
],
[
0.118408203125,
0.300537109375,
0.489501953125,
0.3017578125,
0.489501953125,
0.31640625,
0.118408203125,
0.3154296875
],
[
0.5146484375,
0.302734375,
0.84619140625,
0.302734375,
0.84619140625,
0.31640625,
0.5146484375,
0.31640625
],
[
0.12005615234375,
0.318359375,
0.489501953125,
0.318359375,
0.489501953125,
0.33203125,
0.12005615234375,
0.33203125
],
[
0.5322265625,
0.319580078125,
0.8818359375,
0.319580078125,
0.8818359375,
0.333251953125,
0.5322265625,
0.333251953125
],
[
0.118408203125,
0.333251953125,
0.489501953125,
0.334228515625,
0.489501953125,
0.3486328125,
0.118408203125,
0.347412109375
],
[
0.51318359375,
0.334228515625,
0.8818359375,
0.3349609375,
0.8818359375,
0.349853515625,
0.51318359375,
0.3486328125
],
[
0.12176513671875,
0.3515625,
0.183837890625,
0.3515625,
0.183837890625,
0.363525390625,
0.12176513671875,
0.363525390625
],
[
0.51318359375,
0.350830078125,
0.880859375,
0.350830078125,
0.880859375,
0.364013671875,
0.51318359375,
0.364013671875
],
[
0.5146484375,
0.366455078125,
0.8818359375,
0.36767578125,
0.8818359375,
0.3818359375,
0.5146484375,
0.38134765625
],
[
0.30908203125,
0.37890625,
0.322509765625,
0.37890625,
0.322509765625,
0.3896484375,
0.30908203125,
0.3896484375
],
[
0.341796875,
0.377685546875,
0.405517578125,
0.38427734375,
0.4013671875,
0.407958984375,
0.337646484375,
0.402099609375
],
[
0.204833984375,
0.38427734375,
0.301513671875,
0.388427734375,
0.300537109375,
0.402587890625,
0.2032470703125,
0.3984375
],
[
0.51318359375,
0.383056640625,
0.55517578125,
0.383056640625,
0.55517578125,
0.3984375,
0.51318359375,
0.3984375
],
[
0.29296875,
0.391357421875,
0.341796875,
0.3955078125,
0.339111328125,
0.410400390625,
0.28955078125,
0.40625
],
[
0.334228515625,
0.3984375,
0.376220703125,
0.405029296875,
0.372802734375,
0.416259765625,
0.33154296875,
0.410400390625
],
[
0.51318359375,
0.413330078125,
0.5498046875,
0.413330078125,
0.5498046875,
0.424560546875,
0.51318359375,
0.424560546875
],
[
0.5458984375,
0.410400390625,
0.724609375,
0.410888671875,
0.724609375,
0.4287109375,
0.5458984375,
0.427490234375
],
[
0.1351318359375,
0.416259765625,
0.491943359375,
0.416259765625,
0.491943359375,
0.429931640625,
0.1351318359375,
0.429931640625
],
[
0.118408203125,
0.43115234375,
0.489501953125,
0.431640625,
0.489501953125,
0.446533203125,
0.118408203125,
0.4453125
],
[
0.5146484375,
0.43701171875,
0.5517578125,
0.439453125,
0.5498046875,
0.451904296875,
0.51318359375,
0.449462890625
],
[
0.5517578125,
0.441162109375,
0.55908203125,
0.441162109375,
0.55908203125,
0.4453125,
0.5517578125,
0.4453125
],
[
0.5556640625,
0.435791015625,
0.6337890625,
0.438232421875,
0.6337890625,
0.453125,
0.5556640625,
0.45068359375
],
[
0.12005615234375,
0.448974609375,
0.48779296875,
0.448974609375,
0.48779296875,
0.4619140625,
0.12005615234375,
0.4619140625
],
[
0.12005615234375,
0.46435546875,
0.48779296875,
0.46435546875,
0.48779296875,
0.47802734375,
0.12005615234375,
0.47802734375
],
[
0.5146484375,
0.458984375,
0.8818359375,
0.458984375,
0.8818359375,
0.47265625,
0.5146484375,
0.47265625
],
[
0.12176513671875,
0.479736328125,
0.48779296875,
0.479736328125,
0.48779296875,
0.49462890625,
0.12176513671875,
0.49462890625
],
[
0.5146484375,
0.4755859375,
0.88330078125,
0.4755859375,
0.88330078125,
0.4892578125,
0.5146484375,
0.4892578125
],
[
0.118408203125,
0.495361328125,
0.468505859375,
0.496337890625,
0.468505859375,
0.51123046875,
0.118408203125,
0.51025390625
],
[
0.51708984375,
0.493408203125,
0.8388671875,
0.493408203125,
0.8388671875,
0.50439453125,
0.51708984375,
0.50439453125
],
[
0.1368408203125,
0.51123046875,
0.48779296875,
0.5126953125,
0.48779296875,
0.52685546875,
0.1368408203125,
0.525390625
],
[
0.5341796875,
0.50830078125,
0.8818359375,
0.50830078125,
0.8818359375,
0.521484375,
0.5341796875,
0.521484375
],
[
0.12005615234375,
0.529296875,
0.486083984375,
0.529296875,
0.486083984375,
0.5419921875,
0.12005615234375,
0.5419921875
],
[
0.51318359375,
0.52490234375,
0.880859375,
0.52490234375,
0.880859375,
0.5380859375,
0.51318359375,
0.5380859375
],
[
0.118408203125,
0.54345703125,
0.48779296875,
0.54443359375,
0.48779296875,
0.55859375,
0.118408203125,
0.55810546875
],
[
0.515625,
0.54052734375,
0.8818359375,
0.54052734375,
0.8818359375,
0.55419921875,
0.515625,
0.55419921875
],
[
0.118408203125,
0.56103515625,
0.210693359375,
0.56103515625,
0.210693359375,
0.572265625,
0.118408203125,
0.572265625
],
[
0.515625,
0.5556640625,
0.8818359375,
0.5556640625,
0.8818359375,
0.57080078125,
0.515625,
0.57080078125
],
[
0.1368408203125,
0.57666015625,
0.489501953125,
0.576171875,
0.489501953125,
0.59033203125,
0.1368408203125,
0.59130859375
],
[
0.515625,
0.572265625,
0.88330078125,
0.572265625,
0.88330078125,
0.5859375,
0.515625,
0.5859375
],
[
0.12005615234375,
0.59326171875,
0.48779296875,
0.59326171875,
0.48779296875,
0.60693359375,
0.12005615234375,
0.60693359375
],
[
0.515625,
0.5888671875,
0.88330078125,
0.5888671875,
0.88330078125,
0.6025390625,
0.515625,
0.6025390625
],
[
0.51318359375,
0.60400390625,
0.8818359375,
0.60498046875,
0.8818359375,
0.619140625,
0.51318359375,
0.6181640625
],
[
0.12176513671875,
0.60986328125,
0.48779296875,
0.60986328125,
0.48779296875,
0.62353515625,
0.12176513671875,
0.62353515625
],
[
0.5146484375,
0.62060546875,
0.8818359375,
0.62060546875,
0.8818359375,
0.63525390625,
0.5146484375,
0.63525390625
],
[
0.12176513671875,
0.626953125,
0.21240234375,
0.626953125,
0.21240234375,
0.63818359375,
0.12176513671875,
0.63818359375
],
[
0.515625,
0.63720703125,
0.8818359375,
0.63720703125,
0.8818359375,
0.65087890625,
0.515625,
0.65087890625
],
[
0.12005615234375,
0.65283203125,
0.1695556640625,
0.65283203125,
0.1695556640625,
0.66455078125,
0.12005615234375,
0.66455078125
],
[
0.162109375,
0.65185546875,
0.447509765625,
0.65185546875,
0.447509765625,
0.6650390625,
0.162109375,
0.6650390625
],
[
0.515625,
0.65283203125,
0.8818359375,
0.65283203125,
0.8818359375,
0.66650390625,
0.515625,
0.66650390625
],
[
0.162109375,
0.66845703125,
0.459228515625,
0.66845703125,
0.459228515625,
0.681640625,
0.162109375,
0.681640625
],
[
0.5146484375,
0.66943359375,
0.8818359375,
0.66943359375,
0.8818359375,
0.68310546875,
0.5146484375,
0.68310546875
],
[
0.162109375,
0.68505859375,
0.2301025390625,
0.68505859375,
0.2301025390625,
0.69677734375,
0.162109375,
0.69677734375
],
[
0.5146484375,
0.68505859375,
0.8818359375,
0.68505859375,
0.8818359375,
0.69970703125,
0.5146484375,
0.69970703125
],
[
0.118408203125,
0.70361328125,
0.486083984375,
0.70361328125,
0.486083984375,
0.71728515625,
0.118408203125,
0.71728515625
],
[
0.5146484375,
0.70166015625,
0.8818359375,
0.70166015625,
0.8818359375,
0.71533203125,
0.5146484375,
0.71533203125
],
[
0.12005615234375,
0.72021484375,
0.489501953125,
0.72021484375,
0.489501953125,
0.73388671875,
0.12005615234375,
0.73388671875
],
[
0.515625,
0.71875,
0.587890625,
0.71875,
0.587890625,
0.72998046875,
0.515625,
0.72998046875
],
[
0.12005615234375,
0.736328125,
0.48779296875,
0.7353515625,
0.48779296875,
0.75,
0.12005615234375,
0.75048828125
],
[
0.53076171875,
0.73388671875,
0.8818359375,
0.73388671875,
0.8818359375,
0.74755859375,
0.53076171875,
0.74755859375
],
[
0.1234130859375,
0.75439453125,
0.486083984375,
0.75439453125,
0.486083984375,
0.76416015625,
0.1234130859375,
0.76416015625
],
[
0.51318359375,
0.7490234375,
0.8818359375,
0.75,
0.8818359375,
0.76416015625,
0.51318359375,
0.76318359375
],
[
0.12176513671875,
0.76953125,
0.48779296875,
0.76953125,
0.48779296875,
0.783203125,
0.12176513671875,
0.783203125
],
[
0.5146484375,
0.7666015625,
0.8818359375,
0.7666015625,
0.8818359375,
0.77978515625,
0.5146484375,
0.77978515625
],
[
0.118408203125,
0.78369140625,
0.48779296875,
0.78515625,
0.48779296875,
0.7998046875,
0.118408203125,
0.798828125
],
[
0.5146484375,
0.7822265625,
0.88330078125,
0.7822265625,
0.88330078125,
0.7958984375,
0.5146484375,
0.7958984375
],
[
0.12005615234375,
0.8017578125,
0.310546875,
0.8017578125,
0.310546875,
0.8154296875,
0.12005615234375,
0.8154296875
],
[
0.5146484375,
0.79736328125,
0.8818359375,
0.79736328125,
0.8818359375,
0.81103515625,
0.5146484375,
0.81103515625
],
[
0.5146484375,
0.8134765625,
0.81689453125,
0.81396484375,
0.81689453125,
0.8291015625,
0.5146484375,
0.82763671875
],
[
0.15869140625,
0.826171875,
0.49365234375,
0.82666015625,
0.49365234375,
0.84716796875,
0.15869140625,
0.8466796875
],
[
0.124267578125,
0.84130859375,
0.151123046875,
0.84130859375,
0.151123046875,
0.849609375,
0.124267578125,
0.849609375
],
[
0.2225341796875,
0.845703125,
0.426513671875,
0.8466796875,
0.426513671875,
0.8642578125,
0.2225341796875,
0.86328125
],
[
0.51318359375,
0.84130859375,
0.6513671875,
0.84130859375,
0.6513671875,
0.85546875,
0.51318359375,
0.85546875
],
[
0.46337890625,
0.86328125,
0.48779296875,
0.86328125,
0.48779296875,
0.876953125,
0.46337890625,
0.876953125
],
[
0.5146484375,
0.8623046875,
0.8818359375,
0.86328125,
0.8818359375,
0.87744140625,
0.5146484375,
0.876953125
],
[
0.12005615234375,
0.87890625,
0.489501953125,
0.87744140625,
0.489501953125,
0.892578125,
0.12005615234375,
0.8935546875
],
[
0.5146484375,
0.8798828125,
0.8818359375,
0.8798828125,
0.8818359375,
0.8935546875,
0.5146484375,
0.8935546875
],
[
0.12176513671875,
0.8955078125,
0.486083984375,
0.8955078125,
0.486083984375,
0.9091796875,
0.12176513671875,
0.9091796875
],
[
0.5146484375,
0.8955078125,
0.60693359375,
0.8955078125,
0.60693359375,
0.91015625,
0.5146484375,
0.91015625
]
] |
[
"激活",
"在上下文窗口的范围内从原始单词序列中提取",
"为了克服大词汇量的softmax的计算瓶颈,",
"单词n-gram,我们保留了从子采样句子到原",
"负采样或噪声对比估计是公认的(Mikolov",
"始句子的映射。使用哈希技巧将单词n-gram",
"etal.2013b)其思想是采用更简单的成对",
"添加到上下文中,处理char-n-gram的方式相",
"二进制分类器损失函数来区分有效上下文Ct",
"同。我们使用两个不同的哈希索引范围来确",
"和随机采样的假上下文Nct。在生成目标-上",
"保charn-gram和wordn-gram表示之间没有",
"下文对的同时,CBOW和skip-gram也使用",
"冲突",
"输入词子采样,在训练过程中以较高的概率丢",
"用于词嵌人的Sent2Vec。最初是为句子嵌",
"弃较高频率的词,以防止模型过度拟合最频繁",
"人实现的,Sent2Vec(Pagliardinietal.,2018)",
"的标记。标准CBOW还使用动态上下文窗口",
"可以看作是word2vec的CBOW的衍生物。",
"大小:对于每个二次采样的目标词W,其关联",
"CBOW和Sent2Vec之间的主要区别是删除",
"上下文窗口的大小在1和ws(Mikolovetal.,",
"了输入子采样,将整个句子视为上下文,以及",
"2013b)之间均匀采样",
"添加了单词-n-gram",
"添加字符n-gram。Bojanowskietal.(2017)",
"这里,来自整个句子的单词和n-gram嵌入",
"通过向上下文表示中添加字符n-gram来增",
"被平均以形成相应的句子(上下文)嵌人",
"强CBOW和skip-gram。单词向量表示为其",
"对于建议的CBOW-char和Sent2Vec模",
"unigram的总和及其字符n-gram嵌入Wu的",
"型,我们在训练期间在单词n-gram上使用",
"平均值:",
"dropout。对于这两种模型,单词嵌入都是通",
"过在训练后简单地丢弃高阶n-gram嵌入来获",
"1",
"Nue",
"=w+i",
"得的",
"(Wul",
"ceWu",
"3",
"Experimental Setup",
"字符n-gram被散列到嵌人矩阵中的索引。",
"培训与CBOW和skip-gram相同。这种方法",
"3.1",
"",
"Training",
"大大提高了CBOW和skip-gram在语素句法",
"任务上的性能。对于本文的其余部分,我们将",
"我们在一个包含6900万个句子的维基百科",
"使用子词信息丰富的CBOW和skip-gram方",
"转储上训练所有竞争模型,其中包含1个。",
"法分别称为CBOW-char和skip-gram-char",
"(Pagliardinietal.,2018)之后的70亿字",
"GloVe。GloVe 向量(Pennington et al., 2014)",
"使用斯坦福NLP库(Manningetal.,2014)",
"不是在本地窗口上下文上在线训练,而是使用",
"对句子进行标记。所有算法均使用fasttext",
"全局共现统计信息通过分解单词-上下文共现",
"(Bojanowski et al., 2017; Joulin et al., 2017)",
"矩阵来训练",
"和 sent2vec(Pagliardini et al.,2018)库的修",
"Ngram2vec。为了利用单词向量的性能,使",
"改版本分别实现。补充材料中的表3中提供",
"用n-gram共现信息(Zhaoetal.,2017)增强",
"了比较中包含的所有模型的详细训练超参数。",
"在训练期间,我们以20个等距间隔保存模型",
"了使用带有负采样的skip-gram目标函数的单",
"检查点,并发现CBOW模型的最佳性能发",
"词向量训练",
"生在总训练的60-80%附近。因此,我们还",
"2.1",
"Improving unigram embeddings by",
"指出了停止训练CBOW模型的检查点。我们",
"adding higher order word-n-grams to",
"将300维向量用于所有单词嵌入模型。对于",
"contexts",
"Ngram2vec模型,所有n-gram到bigram的",
"带单词n-gram的CBOW-char。我们建议增",
"学习源和目标嵌入是性能最好的模型,并包含",
"加CBOW-char以额外使用单词n-gram上下",
"在比较中",
"文向量(除了charn-gram和上下文单词本身)。",
"对于每种方法,我们从推荐值开始广泛地调",
"更准确地说,在训练过程中,给定单词Wt的",
"整了超参数。对于每个模型,我们选择在单词",
"上下文向量由当前上下文窗口Ct的跨度中所",
"相似度和类比任务中给出最佳平均结果的参",
"有单词n-gramNt,所有char-n-gram和所有",
"数。选择最佳超参数后,我们为每种方法训练",
"unigram的平均值给出:",
"5个模型,使用不同的随机种子。报告的结果",
"以这五个模型的平均值和标准差给出。",
"wec, Uw +neN, Un +Ewec, Zcew. ve",
"D:",
"ICt/ +INt] +Zwec, IWu",
"3.2Evaluation",
"(1)",
"为了评估我们的模型,我们使用六个数据集涵",
"对于给定的句子,我们像标准CBOW一样应",
"盖成对的单词相似性任务和两个数据集涵盖单",
"用输人子采样和滑动上下文窗口。此外,为了",
"词类比任务"
] |
{
"arxiv_id": "1904.05033",
"language": "zh",
"page_idx": 1
}
|
||
1904.05033-zh-2
|
1904.05033-zh-2.jpg
|
<table>
<tbody>
<tr>
<th>Model</th>
<th>WS 353</th>
<th rowspan="1">WS 353 Relatedness</th>
<th>atedness $W:$</th>
<th>353 Similarity</th>
</tr>
<tr>
<td>CBOW- char</td>
<td>$.709\pm.006$</td>
<td>.62</td>
<td>009</td>
<td rowspan="1">$.783\pm.004$</td>
</tr>
<tr>
<td>CBOW- char+bi.</td>
<td>$.719\pm.007$</td>
<td>.65</td>
<td rowspan="1">010 $.778\pm.00$</td>
<td>$.778\pm.007$</td>
</tr>
<tr>
<td>CBOW- char+ bi. +tri.</td>
<td>$.727\pm.008$</td>
<td rowspan="1">8 $.664\pm.00$</td>
<td rowspan="1">$.664\pm.008$ .783</td>
<td>$.783\pm.004$</td>
</tr>
<tr>
<td>Sent2Vec uni.</td>
<td>$.705\pm.004$</td>
<td>.59</td>
<td rowspan="1">.005 $.793\pm.000$</td>
<td>$.793\pm.006$</td>
</tr>
<tr>
<td>Sent2Vec uni. +bi.</td>
<td>$.755\pm.005$</td>
<td rowspan="1">:.005 $.683\pm.00$</td>
<td rowspan="1">$3\pm.008$ .817</td>
<td>$.817\pm.007$</td>
</tr>
<tr>
<td>Sent2Vec uni. + bi. +tr</td>
<td>$.780\pm.003$</td>
<td>.721</td>
<td rowspan="1">.006 $.828\pm.00$</td>
<td>$828\pm.003$</td>
</tr>
<tr>
<td>Model</td>
<td colspan="2">SimLex- 999 $MEN$</td>
<td rowspan="1">Mec RareWords</td>
<td>Mechanical Turk</td>
</tr>
<tr>
<td>CBOW- char</td>
<td>$.424\pm.004$</td>
<td rowspan="1">769+.002 497+</td>
<td>$.497\pm.002$</td>
<td>$.675\pm.007$</td>
</tr>
<tr>
<td>CBOW- char+bi.</td>
<td>$.436\pm.004$</td>
<td rowspan="1">.004 $.786\pm.002$ .50</td>
<td>$.506\pm.001$</td>
<td>$.671\pm.007$</td>
</tr>
<tr>
<td>CROW- char 4 bi. + tri. </td>
<td>$.441\pm.003$</td>
<td rowspan="1">$41\pm.003$ 788+.002</td>
<td>.509 $\pm.003$</td>
<td>$.678\pm.010$</td>
</tr>
<tr>
<td>CBOW- char+ bi. +tri.</td>
<td>$.441\pm.003$</td>
<td rowspan="1">03 $.788\pm.002$ $.509\pm$</td>
<td>$.509\pm.003$</td>
<td>$.678\pm.010$</td>
</tr>
<tr>
<td>Sent2Vec uni.</td>
<td rowspan="1">$.450\pm.003$ $.765\pm$</td>
<td>$.765\pm.00$</td>
<td>$.444\pm.001$</td>
<td>$.625\pm.005$</td>
</tr>
<tr>
<td>Sent2Vec uni. +bi.</td>
<td>$.440\pm.002$</td>
<td rowspan="1">.002 $.791\pm.002$ .43</td>
<td>$.430\pm.002$</td>
<td>$.661\pm.005$</td>
</tr>
<tr>
<td>Sent2Vec uni. + bi. +tri.</td>
<td>$464\pm.003$</td>
<td>$798\pm.00$</td>
<td>$.432\pm.003$</td>
<td>$.658\pm.006$</td>
</tr>
<tr>
<td>Model</td>
<td>Google (Syntactic :Ana</td>
<td>$\log$ies</td>
<td>Google ntic ${\mathrm{Analogie}}$</td>
<td>$MSR$</td>
</tr>
<tr>
<td>CBOW- char CBOW- char+bi. CBOW- char+ bi. + tri. </td>
<td>$.920\pm.00$ $.928\pm.00$ $.929\pm.00$</td>
<td>1 3 1</td>
<td>$799\pm.004$ $798\pm.006$ $794\pm.005$</td>
<td>$.842\pm.002$ $.856\pm.004$ $.857\pm.002$</td>
</tr>
<tr>
<td>CBOW- char</td>
<td colspan="2">$.920\pm.001$</td>
<td rowspan="1">$.799\pm.004$ $.842\pm.0$</td>
<td>$.842\pm.002$</td>
</tr>
<tr>
<td>CBOW- char+bi.</td>
<td rowspan="1">$.928\pm.003$</td>
<td rowspan="1">.003 $.798\pm.$</td>
<td rowspan="1">$.798\pm.006$ $.856\pm$</td>
<td>$.856\pm.004$</td>
</tr>
<tr>
<td>CBOW- char+ bi. + tri. </td>
<td>.929 $9\pm.00$</td>
<td>1</td>
<td rowspan="1">$.794\pm.005$</td>
<td>$.857\pm.002$</td>
</tr>
<tr>
<td>Sent2Vec uni.</td>
<td>$.826\pm.00$</td>
<td>3</td>
<td rowspan="1">$.847\pm.003$ .734=</td>
<td>$.734\pm.003$</td>
</tr>
<tr>
<td>Sent2Vec uni. +bi.</td>
<td>$.843\pm.00.$</td>
<td> </td>
<td rowspan="1">$.844\pm.002$</td>
<td>$.754\pm.004$</td>
</tr>
<tr>
<td>Sent2Vec uni. + bi. +tri.</td>
<td rowspan="1">$.837\pm.003$</td>
<td>3</td>
<td>$53\pm.003$</td>
<td>$.745\pm.001$</td>
</tr>
</tbody>
</table>
Table 1: Impact of using word n-grams: Models are compared using Spearman correlation measures for
word similarity tasks and accuracy for word analogy tasks. Top performances on each dataset are shown in bold. An underline shows the best model(s) restricted to each architecture type. The abbreviations uni., bi., and tri. stand for unigrams, bigrams, and trigrams respectively.
Mul 方法 (Levy and Goldberg, 2014) :
$$y^\star:=\arg\max_{z\in\mathcal{V}\setminus\{x,y,x^\star\}}\frac{cos(\boldsymbol{v}_z,\boldsymbol{v}_y)\cdot cos(\boldsymbol{v}_z,\boldsymbol{v}_{x^\star})}{cos(\boldsymbol{v}_z,\boldsymbol{v}_x)+\varepsilon}$$
(2)
,其中$\varepsilon=0.0001$用于防止除以 0, 而$\mathcal{V}$是
数据集词汇表
我们删除了所有词汇外的单词,并为MSR 数据集留下了 6946 个语法关系,为RareWords 数据集留下了 1959 个单词对。所有其他数据集没有任何词汇外的单词
单词相似性任务。单词相似性任务由单词对及其人类注释的相似性得分组成。为了评估我们的模型在成对单词相似度 XXX 单词对 (353个单词对)上的性能,我们使用 WordSim353 (353个单词对) (Finkelstein et al., 2002) 分为两个数据集:WordSim 相似性数据集(203 个单词对)和 WordSim 相关性(252 个单词对) (Agirre et al., 2009); MEN (3000 个单词对) <MechanicalNEX
要计算两个单词之间的相似度,我们使用它们的单词表示之间的余弦相似度。然后,使用Spearman 的$\boxed{\mathrm{E}}\rho$ (Spearman,1904)相关得分将相似性得分与人类评分进行比较
单词类比任务。单词类比任务构成“$x$到$y$ 就像$x^\star$到$y^\star$ ”形式的类比关系,其中$y$是隐藏的,必须从数据集词汇表中猜测
我们使用 MSR (Mikolov et al.,2013c) 和Google (Mikolov et al., 2013a) 类比数据集。MSR 数据集包含 8000 个语法类比四元组,而Google 集具有 8869 个语义关系和 10675 个语法关系
要计算关系中缺少的单词,我们使用 3Cos-
# 4 Results
单词 n-gram 的影响。在表 1 中,我们评估了将上下文单词 n-gram 添加到两个 CBOW 变体中的影响:CBOW-char 和 Sent2Vec。通过添加 n-gram 信息,我们始终如一地观察到 Spearman 相关性在单词相似性任务上的提升。在我们没有观察到改进的少数数据集上,word-n-gram 增强方法的结果在标准偏差范围内。Sent2Vec 的稀有词数据集是唯一的例外,尽管对基于 CBOW-char 的方法进行了一些改进。此观察结果可归因于以下事实:字
|
[
[
0.1502685546875,
0.0736083984375,
0.210693359375,
0.0736083984375,
0.210693359375,
0.0885009765625,
0.1502685546875,
0.0885009765625
],
[
0.51318359375,
0.0748291015625,
0.68701171875,
0.0748291015625,
0.68701171875,
0.0885009765625,
0.51318359375,
0.0885009765625
],
[
0.68603515625,
0.0748291015625,
0.8505859375,
0.0748291015625,
0.8505859375,
0.0885009765625,
0.68603515625,
0.0885009765625
],
[
0.151123046875,
0.08905029296875,
0.258544921875,
0.0914306640625,
0.258544921875,
0.105712890625,
0.151123046875,
0.10394287109375
],
[
0.41064453125,
0.07598876953125,
0.474365234375,
0.07598876953125,
0.474365234375,
0.0872802734375,
0.41064453125,
0.0872802734375
],
[
0.399658203125,
0.0926513671875,
0.48779296875,
0.0926513671875,
0.48779296875,
0.10394287109375,
0.399658203125,
0.10394287109375
],
[
0.55517578125,
0.0926513671875,
0.640625,
0.0926513671875,
0.640625,
0.10394287109375,
0.55517578125,
0.10394287109375
],
[
0.72314453125,
0.0914306640625,
0.8154296875,
0.08905029296875,
0.8154296875,
0.10394287109375,
0.72314453125,
0.105712890625
],
[
0.154541015625,
0.10687255859375,
0.30322265625,
0.10687255859375,
0.30322265625,
0.12054443359375,
0.154541015625,
0.12054443359375
],
[
0.39794921875,
0.10687255859375,
0.48779296875,
0.10687255859375,
0.48779296875,
0.1217041015625,
0.39794921875,
0.1217041015625
],
[
0.55517578125,
0.10809326171875,
0.64208984375,
0.10809326171875,
0.64208984375,
0.119384765625,
0.55517578125,
0.119384765625
],
[
0.72705078125,
0.10687255859375,
0.81787109375,
0.10687255859375,
0.81787109375,
0.1217041015625,
0.72705078125,
0.1217041015625
],
[
0.154541015625,
0.122314453125,
0.355224609375,
0.122314453125,
0.355224609375,
0.13720703125,
0.154541015625,
0.13720703125
],
[
0.397216796875,
0.12469482421875,
0.483642578125,
0.12469482421875,
0.483642578125,
0.135986328125,
0.397216796875,
0.135986328125
],
[
0.5498046875,
0.122314453125,
0.6396484375,
0.122314453125,
0.6396484375,
0.13720703125,
0.5498046875,
0.13720703125
],
[
0.72705078125,
0.12469482421875,
0.8134765625,
0.12469482421875,
0.8134765625,
0.135986328125,
0.72705078125,
0.135986328125
],
[
0.15283203125,
0.1395263671875,
0.267822265625,
0.1395263671875,
0.267822265625,
0.15380859375,
0.15283203125,
0.15380859375
],
[
0.39794921875,
0.141357421875,
0.486083984375,
0.141357421875,
0.486083984375,
0.152587890625,
0.39794921875,
0.152587890625
],
[
0.55322265625,
0.141357421875,
0.640625,
0.141357421875,
0.640625,
0.152587890625,
0.55322265625,
0.152587890625
],
[
0.72900390625,
0.141357421875,
0.81787109375,
0.141357421875,
0.81787109375,
0.152587890625,
0.72900390625,
0.152587890625
],
[
0.154541015625,
0.1561279296875,
0.31494140625,
0.1561279296875,
0.31494140625,
0.169189453125,
0.154541015625,
0.169189453125
],
[
0.39794921875,
0.1561279296875,
0.489501953125,
0.1561279296875,
0.489501953125,
0.17041015625,
0.39794921875,
0.17041015625
],
[
0.55517578125,
0.15673828125,
0.64208984375,
0.15673828125,
0.64208984375,
0.168701171875,
0.55517578125,
0.168701171875
],
[
0.7255859375,
0.15380859375,
0.81787109375,
0.1561279296875,
0.81787109375,
0.17041015625,
0.7255859375,
0.168701171875
],
[
0.154541015625,
0.1728515625,
0.36865234375,
0.1728515625,
0.36865234375,
0.18701171875,
0.154541015625,
0.18701171875
],
[
0.39208984375,
0.17333984375,
0.489501953125,
0.17333984375,
0.489501953125,
0.185302734375,
0.39208984375,
0.185302734375
],
[
0.5458984375,
0.17333984375,
0.6455078125,
0.17333984375,
0.6455078125,
0.185302734375,
0.5458984375,
0.185302734375
],
[
0.72119140625,
0.17333984375,
0.8193359375,
0.17333984375,
0.8193359375,
0.185302734375,
0.72119140625,
0.185302734375
],
[
0.12176513671875,
0.193603515625,
0.1822509765625,
0.193603515625,
0.1822509765625,
0.208984375,
0.12176513671875,
0.208984375
],
[
0.51708984375,
0.193603515625,
0.56494140625,
0.193603515625,
0.56494140625,
0.2078857421875,
0.51708984375,
0.2078857421875
],
[
0.611328125,
0.19482421875,
0.7119140625,
0.19482421875,
0.7119140625,
0.208984375,
0.611328125,
0.208984375
],
[
0.736328125,
0.19482421875,
0.88330078125,
0.19482421875,
0.88330078125,
0.2078857421875,
0.736328125,
0.2078857421875
],
[
0.1259765625,
0.208984375,
0.231689453125,
0.21142578125,
0.231689453125,
0.2257080078125,
0.1259765625,
0.223876953125
],
[
0.366943359375,
0.1953125,
0.46337890625,
0.1953125,
0.46337890625,
0.207275390625,
0.366943359375,
0.207275390625
],
[
0.372802734375,
0.2120361328125,
0.4609375,
0.2120361328125,
0.4609375,
0.223876953125,
0.372802734375,
0.223876953125
],
[
0.49951171875,
0.2120361328125,
0.587890625,
0.2120361328125,
0.587890625,
0.223876953125,
0.49951171875,
0.223876953125
],
[
0.62744140625,
0.2120361328125,
0.7138671875,
0.2120361328125,
0.7138671875,
0.223876953125,
0.62744140625,
0.223876953125
],
[
0.76416015625,
0.21142578125,
0.85546875,
0.208984375,
0.85546875,
0.223876953125,
0.76416015625,
0.2257080078125
],
[
0.1275634765625,
0.226806640625,
0.274658203125,
0.226806640625,
0.274658203125,
0.2410888671875,
0.1275634765625,
0.2410888671875
],
[
0.37451171875,
0.22802734375,
0.459228515625,
0.22802734375,
0.459228515625,
0.2392578125,
0.37451171875,
0.2392578125
],
[
0.50146484375,
0.22802734375,
0.5859375,
0.22802734375,
0.5859375,
0.2392578125,
0.50146484375,
0.2392578125
],
[
0.62744140625,
0.22802734375,
0.7119140625,
0.22802734375,
0.7119140625,
0.2392578125,
0.62744140625,
0.2392578125
],
[
0.76904296875,
0.22802734375,
0.85400390625,
0.22802734375,
0.85400390625,
0.2392578125,
0.76904296875,
0.2392578125
],
[
0.1259765625,
0.2423095703125,
0.32666015625,
0.2423095703125,
0.32666015625,
0.257080078125,
0.1259765625,
0.257080078125
],
[
0.36865234375,
0.2423095703125,
0.459228515625,
0.2423095703125,
0.459228515625,
0.257080078125,
0.36865234375,
0.257080078125
],
[
0.496337890625,
0.2423095703125,
0.58447265625,
0.2423095703125,
0.58447265625,
0.257080078125,
0.496337890625,
0.257080078125
],
[
0.6171875,
0.2423095703125,
0.71875,
0.2423095703125,
0.71875,
0.257080078125,
0.6171875,
0.257080078125
],
[
0.75830078125,
0.2423095703125,
0.85791015625,
0.2423095703125,
0.85791015625,
0.257080078125,
0.75830078125,
0.257080078125
],
[
0.124267578125,
0.25830078125,
0.240966796875,
0.260009765625,
0.240966796875,
0.27490234375,
0.124267578125,
0.2724609375
],
[
0.3720703125,
0.26123046875,
0.4609375,
0.26123046875,
0.4609375,
0.2724609375,
0.3720703125,
0.2724609375
],
[
0.49951171875,
0.26123046875,
0.587890625,
0.26123046875,
0.587890625,
0.2724609375,
0.49951171875,
0.2724609375
],
[
0.623046875,
0.26123046875,
0.70947265625,
0.26123046875,
0.70947265625,
0.2724609375,
0.623046875,
0.2724609375
],
[
0.767578125,
0.26123046875,
0.85400390625,
0.26123046875,
0.85400390625,
0.2724609375,
0.767578125,
0.2724609375
],
[
0.1275634765625,
0.27490234375,
0.28955078125,
0.27490234375,
0.28955078125,
0.289306640625,
0.1275634765625,
0.289306640625
],
[
0.372802734375,
0.276611328125,
0.459228515625,
0.276611328125,
0.459228515625,
0.2880859375,
0.372802734375,
0.2880859375
],
[
0.49951171875,
0.276611328125,
0.587890625,
0.276611328125,
0.587890625,
0.2880859375,
0.49951171875,
0.2880859375
],
[
0.62646484375,
0.276611328125,
0.7138671875,
0.276611328125,
0.7138671875,
0.2880859375,
0.62646484375,
0.2880859375
],
[
0.76318359375,
0.276611328125,
0.85205078125,
0.276611328125,
0.85205078125,
0.2880859375,
0.76318359375,
0.2880859375
],
[
0.35693359375,
0.289306640625,
0.465087890625,
0.29150390625,
0.465087890625,
0.305908203125,
0.35693359375,
0.303955078125
],
[
0.62451171875,
0.289306640625,
0.71533203125,
0.29150390625,
0.71533203125,
0.305908203125,
0.62451171875,
0.303955078125
],
[
0.76416015625,
0.29150390625,
0.8564453125,
0.29150390625,
0.8564453125,
0.305908203125,
0.76416015625,
0.305908203125
],
[
0.489501953125,
0.292236328125,
0.58837890625,
0.292236328125,
0.58837890625,
0.303955078125,
0.489501953125,
0.303955078125
],
[
0.1234130859375,
0.290283203125,
0.343505859375,
0.29150390625,
0.343505859375,
0.305908203125,
0.1234130859375,
0.3046875
],
[
0.42822265625,
0.314208984375,
0.489501953125,
0.314208984375,
0.489501953125,
0.328857421875,
0.42822265625,
0.328857421875
],
[
0.61865234375,
0.314208984375,
0.67919921875,
0.314208984375,
0.67919921875,
0.328857421875,
0.61865234375,
0.328857421875
],
[
0.1376953125,
0.32177734375,
0.19482421875,
0.32177734375,
0.19482421875,
0.336181640625,
0.1376953125,
0.336181640625
],
[
0.78515625,
0.32177734375,
0.8310546875,
0.32177734375,
0.8310546875,
0.336181640625,
0.78515625,
0.336181640625
],
[
0.3720703125,
0.330078125,
0.5439453125,
0.330078125,
0.5439453125,
0.344482421875,
0.3720703125,
0.344482421875
],
[
0.5634765625,
0.328857421875,
0.73486328125,
0.330810546875,
0.73486328125,
0.345703125,
0.5634765625,
0.34326171875
],
[
0.1368408203125,
0.344482421875,
0.2435302734375,
0.3466796875,
0.2435302734375,
0.361083984375,
0.1368408203125,
0.359375
],
[
0.4130859375,
0.345703125,
0.5029296875,
0.345703125,
0.5029296875,
0.35986328125,
0.4130859375,
0.35986328125
],
[
0.60205078125,
0.3466796875,
0.6943359375,
0.3466796875,
0.6943359375,
0.361083984375,
0.60205078125,
0.361083984375
],
[
0.76416015625,
0.3486328125,
0.85400390625,
0.3486328125,
0.85400390625,
0.35986328125,
0.76416015625,
0.35986328125
],
[
0.14111328125,
0.363525390625,
0.287109375,
0.363525390625,
0.287109375,
0.377197265625,
0.14111328125,
0.377197265625
],
[
0.41650390625,
0.364013671875,
0.50390625,
0.364013671875,
0.50390625,
0.3759765625,
0.41650390625,
0.3759765625
],
[
0.603515625,
0.3623046875,
0.6962890625,
0.3623046875,
0.6962890625,
0.377197265625,
0.603515625,
0.377197265625
],
[
0.76416015625,
0.364013671875,
0.85400390625,
0.364013671875,
0.85400390625,
0.3759765625,
0.76416015625,
0.3759765625
],
[
0.139404296875,
0.377685546875,
0.340087890625,
0.377685546875,
0.340087890625,
0.391357421875,
0.139404296875,
0.391357421875
],
[
0.405517578125,
0.380126953125,
0.50537109375,
0.380126953125,
0.50537109375,
0.391357421875,
0.405517578125,
0.391357421875
],
[
0.60791015625,
0.380126953125,
0.6943359375,
0.380126953125,
0.6943359375,
0.391357421875,
0.60791015625,
0.391357421875
],
[
0.75390625,
0.37890625,
0.85791015625,
0.37890625,
0.85791015625,
0.393798828125,
0.75390625,
0.393798828125
],
[
0.1376953125,
0.394287109375,
0.2509765625,
0.3955078125,
0.2509765625,
0.410400390625,
0.1376953125,
0.4091796875
],
[
0.414794921875,
0.3955078125,
0.50537109375,
0.3955078125,
0.50537109375,
0.410400390625,
0.414794921875,
0.410400390625
],
[
0.60546875,
0.3955078125,
0.6962890625,
0.3955078125,
0.6962890625,
0.410400390625,
0.60546875,
0.410400390625
],
[
0.76318359375,
0.393798828125,
0.85546875,
0.3955078125,
0.85546875,
0.410400390625,
0.76318359375,
0.407958984375
],
[
0.41064453125,
0.410888671875,
0.5029296875,
0.410888671875,
0.5029296875,
0.42578125,
0.41064453125,
0.42578125
],
[
0.60693359375,
0.410888671875,
0.6943359375,
0.410888671875,
0.6943359375,
0.42578125,
0.60693359375,
0.42578125
],
[
0.76171875,
0.410888671875,
0.85205078125,
0.410888671875,
0.85205078125,
0.42578125,
0.76171875,
0.42578125
],
[
0.1376953125,
0.427490234375,
0.353515625,
0.427490234375,
0.353515625,
0.4423828125,
0.1376953125,
0.4423828125
],
[
0.139404296875,
0.412109375,
0.300537109375,
0.412109375,
0.300537109375,
0.42578125,
0.139404296875,
0.42578125
],
[
0.4130859375,
0.427490234375,
0.5029296875,
0.427490234375,
0.5029296875,
0.4423828125,
0.4130859375,
0.4423828125
],
[
0.59765625,
0.4287109375,
0.69775390625,
0.4287109375,
0.69775390625,
0.440673828125,
0.59765625,
0.440673828125
],
[
0.759765625,
0.427490234375,
0.85205078125,
0.427490234375,
0.85205078125,
0.4423828125,
0.759765625,
0.4423828125
],
[
0.118408203125,
0.4560546875,
0.88330078125,
0.4560546875,
0.88330078125,
0.4697265625,
0.118408203125,
0.4697265625
],
[
0.12005615234375,
0.47021484375,
0.884765625,
0.47021484375,
0.884765625,
0.48388671875,
0.12005615234375,
0.48388671875
],
[
0.118408203125,
0.48388671875,
0.884765625,
0.48388671875,
0.884765625,
0.49755859375,
0.118408203125,
0.49755859375
],
[
0.118408203125,
0.498779296875,
0.6572265625,
0.498779296875,
0.6572265625,
0.5126953125,
0.118408203125,
0.5126953125
],
[
0.139404296875,
0.5380859375,
0.48779296875,
0.5380859375,
0.48779296875,
0.552734375,
0.139404296875,
0.552734375
],
[
0.51318359375,
0.5380859375,
0.8271484375,
0.5380859375,
0.8271484375,
0.552734375,
0.51318359375,
0.552734375
],
[
0.12176513671875,
0.5546875,
0.489501953125,
0.5546875,
0.489501953125,
0.568359375,
0.12176513671875,
0.568359375
],
[
0.6826171875,
0.56005859375,
0.87744140625,
0.56005859375,
0.87744140625,
0.57470703125,
0.6826171875,
0.57470703125
],
[
0.118408203125,
0.5693359375,
0.48779296875,
0.5693359375,
0.48779296875,
0.5830078125,
0.118408203125,
0.5830078125
],
[
0.51904296875,
0.57080078125,
0.59765625,
0.57080078125,
0.59765625,
0.58203125,
0.51904296875,
0.58203125
],
[
0.61376953125,
0.57080078125,
0.6533203125,
0.57080078125,
0.6533203125,
0.58203125,
0.61376953125,
0.58203125
],
[
0.587890625,
0.57763671875,
0.67919921875,
0.580078125,
0.67919921875,
0.59423828125,
0.587890625,
0.5927734375
],
[
0.71728515625,
0.5791015625,
0.84033203125,
0.5791015625,
0.84033203125,
0.5927734375,
0.71728515625,
0.5927734375
],
[
0.12005615234375,
0.58740234375,
0.489501953125,
0.58740234375,
0.489501953125,
0.6015625,
0.12005615234375,
0.6015625
],
[
0.85791015625,
0.5927734375,
0.8818359375,
0.5927734375,
0.8818359375,
0.60693359375,
0.85791015625,
0.60693359375
],
[
0.1175537109375,
0.6015625,
0.48779296875,
0.6025390625,
0.48779296875,
0.61767578125,
0.1175537109375,
0.6162109375
],
[
0.5205078125,
0.60791015625,
0.8818359375,
0.60791015625,
0.8818359375,
0.62158203125,
0.5205078125,
0.62158203125
],
[
0.12005615234375,
0.619140625,
0.486083984375,
0.619140625,
0.486083984375,
0.6328125,
0.12005615234375,
0.6328125
],
[
0.12005615234375,
0.6328125,
0.489501953125,
0.6328125,
0.489501953125,
0.64794921875,
0.12005615234375,
0.64794921875
],
[
0.515625,
0.62890625,
0.62646484375,
0.62890625,
0.62646484375,
0.64013671875,
0.515625,
0.64013671875
],
[
0.5322265625,
0.64453125,
0.8818359375,
0.64453125,
0.8818359375,
0.6591796875,
0.5322265625,
0.6591796875
],
[
0.12005615234375,
0.65087890625,
0.48779296875,
0.65087890625,
0.48779296875,
0.6650390625,
0.12005615234375,
0.6650390625
],
[
0.5146484375,
0.66015625,
0.8671875,
0.66015625,
0.8671875,
0.6748046875,
0.5146484375,
0.6748046875
],
[
0.118408203125,
0.66650390625,
0.2626953125,
0.66650390625,
0.2626953125,
0.6796875,
0.118408203125,
0.6796875
],
[
0.861328125,
0.6630859375,
0.87890625,
0.6630859375,
0.87890625,
0.6728515625,
0.861328125,
0.6728515625
],
[
0.5146484375,
0.6767578125,
0.88330078125,
0.6767578125,
0.88330078125,
0.6904296875,
0.5146484375,
0.6904296875
],
[
0.1376953125,
0.6884765625,
0.48779296875,
0.6884765625,
0.48779296875,
0.70166015625,
0.1376953125,
0.70166015625
],
[
0.515625,
0.693359375,
0.8095703125,
0.693359375,
0.8095703125,
0.70703125,
0.515625,
0.70703125
],
[
0.12005615234375,
0.705078125,
0.486083984375,
0.705078125,
0.486083984375,
0.71875,
0.12005615234375,
0.71875
],
[
0.12005615234375,
0.7197265625,
0.486083984375,
0.7197265625,
0.486083984375,
0.73388671875,
0.12005615234375,
0.73388671875
],
[
0.51708984375,
0.724609375,
0.5283203125,
0.72802734375,
0.52294921875,
0.7353515625,
0.51318359375,
0.732421875
],
[
0.5498046875,
0.724609375,
0.615234375,
0.724609375,
0.615234375,
0.736328125,
0.5498046875,
0.736328125
],
[
0.12005615234375,
0.736328125,
0.3955078125,
0.736328125,
0.3955078125,
0.75,
0.12005615234375,
0.75
],
[
0.515625,
0.75,
0.88330078125,
0.75,
0.88330078125,
0.76416015625,
0.515625,
0.76416015625
],
[
0.1368408203125,
0.755859375,
0.48779296875,
0.75732421875,
0.48779296875,
0.771484375,
0.1368408203125,
0.77099609375
],
[
0.51904296875,
0.765625,
0.8818359375,
0.76416015625,
0.8818359375,
0.779296875,
0.51904296875,
0.77978515625
],
[
0.12005615234375,
0.771484375,
0.486083984375,
0.771484375,
0.486083984375,
0.7861328125,
0.12005615234375,
0.7861328125
],
[
0.51708984375,
0.7822265625,
0.8818359375,
0.7822265625,
0.8818359375,
0.7958984375,
0.51708984375,
0.7958984375
],
[
0.12005615234375,
0.7890625,
0.397216796875,
0.7890625,
0.397216796875,
0.802734375,
0.12005615234375,
0.802734375
],
[
0.515625,
0.798828125,
0.88330078125,
0.798828125,
0.88330078125,
0.8125,
0.515625,
0.8125
],
[
0.1376953125,
0.81005859375,
0.489501953125,
0.81005859375,
0.489501953125,
0.82373046875,
0.1376953125,
0.82373046875
],
[
0.5146484375,
0.81396484375,
0.880859375,
0.81396484375,
0.880859375,
0.82763671875,
0.5146484375,
0.82763671875
],
[
0.118408203125,
0.826171875,
0.489501953125,
0.826171875,
0.489501953125,
0.8388671875,
0.118408203125,
0.8388671875
],
[
0.51318359375,
0.83056640625,
0.8818359375,
0.83056640625,
0.8818359375,
0.84423828125,
0.51318359375,
0.84423828125
],
[
0.118408203125,
0.84033203125,
0.489501953125,
0.84130859375,
0.489501953125,
0.85546875,
0.118408203125,
0.85498046875
],
[
0.515625,
0.84716796875,
0.88330078125,
0.84716796875,
0.88330078125,
0.86083984375,
0.515625,
0.86083984375
],
[
0.118408203125,
0.85791015625,
0.486083984375,
0.85791015625,
0.486083984375,
0.87158203125,
0.118408203125,
0.87158203125
],
[
0.5146484375,
0.86328125,
0.8818359375,
0.86328125,
0.8818359375,
0.876953125,
0.5146484375,
0.876953125
],
[
0.118408203125,
0.87451171875,
0.17626953125,
0.87451171875,
0.17626953125,
0.8896484375,
0.118408203125,
0.8896484375
],
[
0.5146484375,
0.87744140625,
0.880859375,
0.87890625,
0.880859375,
0.8935546875,
0.5146484375,
0.892578125
],
[
0.1376953125,
0.8955078125,
0.48779296875,
0.8955078125,
0.48779296875,
0.9091796875,
0.1376953125,
0.9091796875
],
[
0.5263671875,
0.8935546875,
0.8818359375,
0.89453125,
0.8818359375,
0.9091796875,
0.5263671875,
0.90771484375
]
] |
[
"Model",
"WS353Relatedness",
"WS353Similarity",
"CBOW-char",
"WS 353",
".709±.006",
".626±.009",
".783±.004",
"CBOW-char + bi.",
".719±.007",
".652±.010",
".778 ±.007",
"CBOW-char + bi. + tri.",
"727±.008",
".664±.008",
"783±.004",
"Sent2Vec uni.",
".705±.004",
".593±.005",
".793±.006",
"Sent2Vec uni. + bi.",
".755±.005",
".683±.008",
".817±.007",
"Sent2Vec uni. + bi. + tri.",
"780±.003",
"721±.006",
"828±.003",
"Model",
"MEN",
"Rare Words",
"Mechanical Turk",
"CBOW-char",
"SimLex-999",
".424±.004",
".769±.002",
"497±.002",
".675±.007",
"CBOW-char + bi.",
"436±.004",
"786±.002",
"506±.001",
"671±.007",
"CBOW-char + bi. + tri",
".441±.003",
".788±.002",
".509±.003",
".678±.010",
"Sent2Vec uni.",
".450±.003",
".765±.002",
".444±.001",
".625±.005",
"Sent2Vec uni. + bi.",
".440±.002",
".791±.002",
".430±.002",
".661±.005",
".464±.003",
".432±.003",
".658±.006",
".798 ±.001",
"Sent2Vec uni. + bi.+ tri.",
"Google",
"Google",
"Model",
"MSR",
"(Syntactic Analogies)",
"(Semantic Analogies)",
"CBOW-char",
".920±.001",
".799±.004",
".842±.002",
"CBOW-char + bi.",
".928±.003",
".798±.006",
".856±.004",
"CBOW-char + bi. + tri.",
".929±.001",
"794±.005",
".857±.002",
"Sent2Vec uni.",
".826±.003",
".847±.003",
".734±.003",
".843±.004",
".844±.002",
".754±.004",
"Sent2Vec uni. + bi. + tri.",
"Sent2Vec uni. + bi.",
".837±.003",
".853±.003",
".745±.001",
"Table l: Impact of using word n-grams : Models are compared using Spearman correlation measures for",
"word similarity tasks and accuracy for word analogy tasks. Top performances on each dataset are shown",
"in bold. An underline shows the best model(s) restricted to each architecture type. The abbreviations",
"uni., bi., and tri. stand for unigrams, bigrams, and trigrams respectively.",
"单词相似性任务。单词相似性任务由单词对",
"Mul方法(Levy and Goldberg, 2014):",
"及其人类注释的相似性得分组成。为了评估我",
"COs(Uz, y) · COs(Vz, Ur*)",
"们的模型在成对单词相似度XXX单词对(353",
"y* := arg ",
"max",
"zevi(a,y,a*)",
"cos(Vz, Vr) +E",
"个单词对)上的性能,我们使用WordSim353",
"(2)",
"(353个单词对)(Finkelsteinetal.,2002)分为",
",其中=0.0001用于防止除以0,而V是",
"两个数据集:WordSim相似性数据集(203个",
"单词对)和WordSim相关性(252个单词对)",
"数据集词汇表",
"我们删除了所有词汇外的单词,并为",
"(Agirreetal.,2009);MEN(3000个单词对)",
"MSR数据集留下了6946个语法关系,",
"<MechanicalNEX",
"头",
"RareWords数据集留下了1959个单词对。所",
"要计算两个单词之间的相似度,我们使用它",
"有其他数据集没有任何词汇外的单词",
"们的单词表示之间的余弦相似度。然后,使用",
"Spearman的Ep(Spearman,1904)相关得分",
"A",
"Results",
"将相似性得分与人类评分进行比较",
"单词n-gram的影响。在表1中,我们评估",
"单词类比任务。单词类比任务构成“α到y",
"了将上下文单词n-gram添加到两个CBOW",
"就像a*到y*”形式的类比关系,其中y是隐",
"变体中的影响:CBOW-char和Sent2Vec。通",
"藏的,必须从数据集词汇表中猜测",
"过添加n-gram信息,我们始终如一地观察",
"我们使用MSR(Mikolovetal.,2013c)和",
"到Spearman相关性在单词相似性任务上的",
"Google(Mikolovetal.,2013a)类比数据集。",
"提升。在我们没有观察到改进的少数数据集",
"MSR数据集包含8000个语法类比四元组,而",
"上,word-n-gram增强方法的结果在标准偏差",
"Go0gle集具有8869个语义关系和10675个语",
"范围内。Sent2Vec的稀有词数据集是唯一的",
"法关系",
"例外,尽管对基于CBOW-char的方法进行了",
"要计算关系中缺少的单词,我们使用3Cos-",
"些改进。此观察结果可归因于以下事实:字"
] |
{
"arxiv_id": "1904.05033",
"language": "zh",
"page_idx": 2
}
|
||
1407.3399-zh-0
|
1407.3399-zh-0.jpg
|
# 通过具有图像相关成对关系的图形模型进行关节姿态估计
<table>
<tbody>
<tr>
<th>Xianiie ${\mathrm{e~Chen}}$</th>
<th>Alan Yuille</th>
</tr>
<tr>
<td>Jniversity of California, Los Angeles</td>
<td>University of California, Los Ange</td>
</tr>
<tr>
<td>Los Angeles, CA 90024</td>
<td>Los Angeles, CA 90024</td>
</tr>
<tr>
<td>cxi@ ucla. edu</td>
<td>vuille@ stat. ucla. edu</td>
</tr>
</tbody>
</table>
$\operatorname{Abstract}$
We present a method for estimating articulated human pose from a single static image based on a graphical model with novel pairwise relations that make adaptive use of local image measurements. More precisely, we specify a graphical model for human pose which exploits the fact the local image measurements can be used both to detect parts (or joints) and also to predict the spatial relationships between them (Image Dependent Pairwise Relations). These spatial relationships are represented by a mixture model. We use Deep Convolutional Neural Networks (DCNNs) to learn conditional probabilities for the presence of parts and their spatial relationships within image patches. Hence our model combines the representational flexibility of graphical models with the efficiency and statistical power of DCNNs. Our method significantly outperforms the state of the art methods on the LSP and FLIC datasets and also performs very well on the Buffy dataset without any training.
1 Introduction
关节姿态估计是计算机视觉中的基本挑战之一。该领域的进展可以立即应用于重要的视觉
任务,例如人体跟踪$\mathbb{E}[2]$ ,动作识别$\mathbb{E}[25]$ 和视频分析
大多数关于姿态估计的工作都是基于图形模型[8,6,27,1,10,2,4] 。图形节点表示身体部位 (或关节), 边缘对部位之间的成对关系进行建模。模型的得分函数或能量包含每个节点处的一元项,这些项捕获零件的局部外观提示,以及在边缘处定义的成对项,这些项捕获零件之间的局部上下文关系。最近,DeepPose$\mathbb{E}[23]$提倡以整体方式对姿势进行建模,并在基于深度卷积神经网络 (DCNN)$\overline{\mathbb{E}}[12]\dot{\text{的回归器中捕获所有身体部位的完整上下文}}$
在本文中,我们提出了一种具有图像相关成对关系(IDPR)的图形模型。如图$\overline{\mathrm{E}}$1 所示,我们可以通过仅观察其周围的局部图像补丁来可靠地预测零件邻居的相对位置 (以及零件本身的存在)。因此,在我们的模型中,局部图像补丁为一元项和成对项提供了输人。这给出了更强的成对术语,因为数据独立关系通常太松而没有帮助,或者太严格而无法对高度可变的姿势进行建模
我们的方法要求我们拥有一种方法,该方法可以从本地图像补丁中提取有关成对零件关系以及零件存在的信息。我们要求此方法高效,并在不同零件和零件关系之间共享特征。为此,我们训练 DCNN 以输出零件存在和空间关系的估计值,这些估计值在我们的分数函数的一元和成对术语中使用。使用结构化支持向量机 (S-SVM) [24] 训练模型中不同项的权重参数。总之,我们的模型结合了图形模型的表示灵活性,包括表示空间关系的能力,以及DCNN 的数据驱动能力
1
|
[
[
0.178955078125,
0.141357421875,
0.82177734375,
0.141357421875,
0.82177734375,
0.1590576171875,
0.178955078125,
0.1590576171875
],
[
0.4697265625,
0.1641845703125,
0.529296875,
0.1641845703125,
0.529296875,
0.1875,
0.4697265625,
0.1875
],
[
0.301513671875,
0.2412109375,
0.393798828125,
0.2412109375,
0.393798828125,
0.25244140625,
0.301513671875,
0.25244140625
],
[
0.615234375,
0.2412109375,
0.6953125,
0.2412109375,
0.6953125,
0.25244140625,
0.615234375,
0.25244140625
],
[
0.2132568359375,
0.25390625,
0.47802734375,
0.25390625,
0.47802734375,
0.268310546875,
0.2132568359375,
0.268310546875
],
[
0.52294921875,
0.255126953125,
0.7861328125,
0.255126953125,
0.7861328125,
0.268310546875,
0.52294921875,
0.268310546875
],
[
0.2607421875,
0.268310546875,
0.4306640625,
0.268310546875,
0.4306640625,
0.2822265625,
0.2607421875,
0.2822265625
],
[
0.5703125,
0.267578125,
0.73876953125,
0.267578125,
0.73876953125,
0.281005859375,
0.5703125,
0.281005859375
],
[
0.298095703125,
0.2841796875,
0.3896484375,
0.2841796875,
0.3896484375,
0.29541015625,
0.298095703125,
0.29541015625
],
[
0.5810546875,
0.28271484375,
0.72607421875,
0.28271484375,
0.72607421875,
0.296630859375,
0.5810546875,
0.296630859375
],
[
0.464111328125,
0.36865234375,
0.5361328125,
0.36865234375,
0.5361328125,
0.38330078125,
0.464111328125,
0.38330078125
],
[
0.2344970703125,
0.40087890625,
0.7646484375,
0.40087890625,
0.7646484375,
0.4140625,
0.2344970703125,
0.4140625
],
[
0.2320556640625,
0.4140625,
0.7646484375,
0.41357421875,
0.7646484375,
0.427978515625,
0.2320556640625,
0.4287109375
],
[
0.2344970703125,
0.4287109375,
0.76318359375,
0.4287109375,
0.76318359375,
0.442626953125,
0.2344970703125,
0.442626953125
],
[
0.233642578125,
0.442626953125,
0.7646484375,
0.442626953125,
0.7646484375,
0.45703125,
0.233642578125,
0.45703125
],
[
0.233642578125,
0.455810546875,
0.765625,
0.455810546875,
0.765625,
0.4697265625,
0.233642578125,
0.4697265625
],
[
0.2344970703125,
0.47021484375,
0.765625,
0.47021484375,
0.765625,
0.484130859375,
0.2344970703125,
0.484130859375
],
[
0.233642578125,
0.484130859375,
0.7646484375,
0.484130859375,
0.7646484375,
0.49755859375,
0.233642578125,
0.49755859375
],
[
0.233642578125,
0.49755859375,
0.765625,
0.49755859375,
0.765625,
0.51123046875,
0.233642578125,
0.51123046875
],
[
0.2344970703125,
0.51220703125,
0.7646484375,
0.51220703125,
0.7646484375,
0.52587890625,
0.2344970703125,
0.52587890625
],
[
0.233642578125,
0.52587890625,
0.7646484375,
0.52587890625,
0.7646484375,
0.5390625,
0.233642578125,
0.5390625
],
[
0.233642578125,
0.53857421875,
0.76318359375,
0.53857421875,
0.76318359375,
0.55322265625,
0.233642578125,
0.55322265625
],
[
0.2344970703125,
0.55322265625,
0.7646484375,
0.55322265625,
0.7646484375,
0.56640625,
0.2344970703125,
0.56640625
],
[
0.2320556640625,
0.56494140625,
0.7646484375,
0.56640625,
0.7646484375,
0.58056640625,
0.2320556640625,
0.580078125
],
[
0.2344970703125,
0.580078125,
0.3857421875,
0.58203125,
0.3857421875,
0.59521484375,
0.2344970703125,
0.59326171875
],
[
0.1748046875,
0.62255859375,
0.2034912109375,
0.62255859375,
0.2034912109375,
0.6337890625,
0.1748046875,
0.6337890625
],
[
0.2059326171875,
0.6220703125,
0.316162109375,
0.62255859375,
0.316162109375,
0.63720703125,
0.2059326171875,
0.63623046875
],
[
0.176513671875,
0.65283203125,
0.82275390625,
0.65283203125,
0.82275390625,
0.66650390625,
0.176513671875,
0.66650390625
],
[
0.176513671875,
0.66748046875,
0.57177734375,
0.66748046875,
0.57177734375,
0.68115234375,
0.176513671875,
0.68115234375
],
[
0.17724609375,
0.68798828125,
0.82421875,
0.68798828125,
0.82421875,
0.7021484375,
0.17724609375,
0.7021484375
],
[
0.176513671875,
0.7021484375,
0.82275390625,
0.7021484375,
0.82275390625,
0.71533203125,
0.176513671875,
0.71533203125
],
[
0.176513671875,
0.71630859375,
0.82275390625,
0.71630859375,
0.82275390625,
0.72998046875,
0.176513671875,
0.72998046875
],
[
0.176513671875,
0.72998046875,
0.82275390625,
0.72998046875,
0.82275390625,
0.74365234375,
0.176513671875,
0.74365234375
],
[
0.176513671875,
0.74365234375,
0.75341796875,
0.74365234375,
0.75341796875,
0.7568359375,
0.176513671875,
0.7568359375
],
[
0.176513671875,
0.76513671875,
0.82275390625,
0.76513671875,
0.82275390625,
0.77880859375,
0.176513671875,
0.77880859375
],
[
0.178955078125,
0.78076171875,
0.82177734375,
0.78076171875,
0.82177734375,
0.79150390625,
0.178955078125,
0.79150390625
],
[
0.176513671875,
0.79248046875,
0.82177734375,
0.79248046875,
0.82177734375,
0.80615234375,
0.176513671875,
0.80615234375
],
[
0.178955078125,
0.806640625,
0.82177734375,
0.806640625,
0.82177734375,
0.82080078125,
0.178955078125,
0.82080078125
],
[
0.176513671875,
0.82080078125,
0.30810546875,
0.82080078125,
0.30810546875,
0.833984375,
0.176513671875,
0.833984375
],
[
0.17724609375,
0.84326171875,
0.82177734375,
0.84326171875,
0.82177734375,
0.85400390625,
0.17724609375,
0.85400390625
],
[
0.17724609375,
0.85693359375,
0.82177734375,
0.85693359375,
0.82177734375,
0.8671875,
0.17724609375,
0.8671875
],
[
0.176513671875,
0.869140625,
0.82275390625,
0.869140625,
0.82275390625,
0.88330078125,
0.176513671875,
0.88330078125
],
[
0.176513671875,
0.8837890625,
0.82177734375,
0.8837890625,
0.82177734375,
0.89794921875,
0.176513671875,
0.89794921875
],
[
0.1748046875,
0.89794921875,
0.82177734375,
0.89794921875,
0.82177734375,
0.9111328125,
0.1748046875,
0.9111328125
],
[
0.1748046875,
0.9111328125,
0.343017578125,
0.9111328125,
0.343017578125,
0.9248046875,
0.1748046875,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"通过具有图像相关成对关系的图形模型进行关节姿态",
"估计",
"Xianjie Chen",
"Alan Yuille",
"University of California, Los Angeles",
"University of California, Los Angeles",
"Los Angeles, CA 90024",
"Los Angeles, CA 90024",
"cxj@ucla.edu",
"yuille@stat.ucla.edu",
"Abstract",
"We present a method for estimating articulated human pose from a single",
"static image based on a graphical model with novel pairwise relations that",
"make adaptive use of local image measurements. More precisely, we specify",
"a graphical model for human pose which exploits the fact the local image",
"measurements can be used both to detect parts (or joints) and also to",
"predict the spatial relationships between them (Image Dependent Pairwise",
"Relations). These spatial relationships are represented by a mixture model.",
"We use Deep Convolutional Neural Networks (DCNNs) to learn conditional",
"probabilities for the presence of parts and their spatial relationships within",
"image patches. Hence our model combines the representational flexibility",
"of graphical models with the efficiency and statistical power of DCNNs.",
"Our method significantly outperforms the state of the art methods on the",
"LSP and FLIC datasets and also performs very well on the Buffy dataset",
"without any training.",
"1",
"Introduction",
"关节姿态估计是计算机视觉中的基本挑战之一。该领域的进展可以立即应用于重要的视觉",
"任务,例如人体跟踪E[2],动作识别E[25]和视频分析",
"大多数关于姿态估计的工作都是基于图形模型[8,6,27,1,10,2,4]。图形节点表示身体部",
"位(或关节),边缘对部位之间的成对关系进行建模。模型的得分函数或能量包含每个节点",
"处的一元项,这些项捕获零件的局部外观提示,以及在边缘处定义的成对项,这些项捕获零",
"件之间的局部上下文关系。最近,DeepPoseE[23]提倡以整体方式对姿势进行建模,并在基",
"于深度卷积神经网络(DCNN)E[12]的回归器中捕获所有身体部位的完整上下文",
"在本文中,我们提出了一种具有图像相关成对关系(IDPR)的图形模型。如图E1所示,我",
"们可以通过仅观察其周围的局部图像补丁来可靠地预测零件邻居的相对位置(以及零件本",
"身的存在)。因此,在我们的模型中,局部图像补丁为一元项和成对项提供了输人。这给出",
"了更强的成对术语,因为数据独立关系通常太松而没有帮助,或者太严格而无法对高度可",
"变的姿势进行建模",
"我们的方法要求我们拥有一种方法,该方法可以从本地图像补丁中提取有关成对零件关系",
"以及零件存在的信息。我们要求此方法高效,并在不同零件和零件关系之间共享特征。为",
"此,我们训练DCNN以输出零件存在和空间关系的估计值,这些估计值在我们的分数函数",
"的一元和成对术语中使用。使用结构化支持向量机(S-SVM)[24]训练模型中不同项的权重",
"参数。总之,我们的模型结合了图形模型的表示灵活性,包括表示空间关系的能力,以及",
"DCNN的数据驱动能力",
"1"
] |
{
"arxiv_id": "1407.3399",
"language": "zh",
"page_idx": 0
}
|
||
1407.3399-zh-1
|
1407.3399-zh-1.jpg
|
<FigureHere>
Figure 1: Motivation. The local image measurements around a part, e.g., in an image patch, can reliably predict the relative positions of all its neighbors (as well as detect the part). Center Panel: The local image patch centered at the elbow can reliably predict the relative positions of the shoulder and wrist, and the local image patch centered at the wrist can reliably predict the relative position of the elbow. Left &Right Panels: We define different types of pairwise spatial relationships ( i.e., a mixture model) for each pair of neighboring parts. The Left Panel shows typical spatial relationships the elbow can have with its neighbors, i.e., the shoulder and wrist. The $\hat{\text{Right Panel shows typical spatial relationships the wrist can have with its neighbor, i.e., the elbow.}}$
我们在两个标准姿势估计基准上进行实验:LSP 数据集$\overline{\mathbb{E}}[10]$ 和 FLIC 数据集$\overline{\mathbb{F}}[20]$ 。我们的方法在两个数据集上的表现都明显优于最先进的方法。我们还对 Buffy 数据集$\bar{\mathbb{E}}[7]$ 进行了跨数据集评估 (无需对此数据集进行训练),并获得了强大的结果,这表明我们的模型具有泛化的能力
## 2 The Model
图形模型及其变量:我们通过图形模型$\mathcal{G}=(\mathcal{V},\mathcal{E})$表示人体姿势 ,其中节点$\nu$指定零件(或关节)的位置,而边缘$\mathcal{E}$ 表示哪些零件在空间上相关。为简单起见,我们强加图结构形成$K-$节点树,其中$K=|\mathcal{V}|$ 。零件的位置由$l$表示,其中$l_i=(x,y)$指定零件$i$的像素位置,对于$i\in\{1,\ldots,K\}$。对于图$(i,j)\in\mathcal{E}$中的每个边,我们指定由$t_ij$索引的一组离散的 空 间 关 系 , 它 对 应 于 不 同 空 间 关 系 的 混 合 ( 请 参 见 图 E1) 。我 们 用 $\boldsymbol{t}= \{ t_{ij}, t_{ji}| ( i, j) \in \mathcal{E} \}$ 主 三 定 问 关 乙 件 因 伤 在 1为 $I$ 垂 幻 像 如 下 方 义 $\gamma$ 众 八 半 正 数 $F( \boldsymbol{A}) \boldsymbol{L}\setminus \boldsymbol{L}\setminus \boldsymbol{L}$卡 业
$iI$
$:F(\boldsymbol{l},\boldsymbol{t}|\boldsymbol{I})$
成对项的总和
一元项:一元项给出了$i\in\mathcal{V}$部分位于$l_i$位置的局部证据,并且基于局部图像补丁$I(\boldsymbol{l}_i)$ 。
它们的形式为:
(1)
$$U(l_i|\boldsymbol{I})=w_i\phi(i|\boldsymbol{I}(\boldsymbol{l}_i);\boldsymbol{\theta}),$$
其中$\phi(.|.;\boldsymbol{\theta})$是 (标量值) 外观项,其中$\theta$作为其参数(在下一节中指定),而$w_i$是标量
权重参数
图像相关成对关系 (IDPR) 术语:这些 IDPR 术语捕捉了我们的直觉,即相邻部分$(i,j)\in\mathcal{E}$ 叫以仅使用局部信息大致饰测其相对空间位置(话参见图FI)。在我们的模型中、零件$i$和$j$的相对位置被离散化为几种类型的$t_ij\in \{ 1, \ldots , T_{ij}\}$ ( i. e. , 不 同 关 系 的 混 合 ) , 具有相应的平均相对位置$r_{ij}^{t_{ij}}$以及由标准二次变形项建模的小变形。更正式地说,每个边$(i,j)\in\mathcal{E}$ 的成对关系分数由下式给出:
$$\begin{aligned}R(\boldsymbol{l}_{i},\boldsymbol{l}_{j},t_{ij},t_{ji}|\boldsymbol{I})&=\quad\langle\boldsymbol{w}_{ij}^{t_{ij}},\boldsymbol{\psi}(\boldsymbol{l}_{j}-\boldsymbol{l}_{i}-\boldsymbol{r}_{ij}^{t_{ij}})\rangle+w_{ij}\varphi(t_{ij}|\boldsymbol{I}(\boldsymbol{l}_{i});\boldsymbol{\theta})\\&+\quad\langle\boldsymbol{w}_{ji}^{t_{ji}},\boldsymbol{\psi}(\boldsymbol{l}_{i}-\boldsymbol{l}_{j}-\boldsymbol{r}_{ji}^{t_{ji}})\rangle+w_{ji}\varphi(t_{ji}|\boldsymbol{I}(\boldsymbol{l}_{j});\boldsymbol{\theta})\end{aligned}$$
(2)
$\begin{array}{c}\text{其中 }\psi(\Delta l=[\Delta x,\Delta y])=[\Delta x\:\Delta x^2\:\Delta y\:\Delta y^2]^\intercal\text{ 是标准的二次变形特征 },\varphi(.|;\boldsymbol{\theta})\text{ 是指定的图}\\\text{像相关成对关系 }(\mathrm{IDPR})\text{ 项 }\boldsymbol{\theta}\text{ 作为其下一个参数 }(\text{)。符号 }\langle.,.\rangle\text{ 指定点积},\text{ 粗体表示向量}\end{array}$
2
|
[
[
0.49267578125,
0.106689453125,
0.525390625,
0.106689453125,
0.525390625,
0.111083984375,
0.49267578125,
0.111083984375
],
[
0.57666015625,
0.106689453125,
0.615234375,
0.106689453125,
0.615234375,
0.111083984375,
0.57666015625,
0.111083984375
],
[
0.65625,
0.106689453125,
0.6650390625,
0.106689453125,
0.6650390625,
0.10986328125,
0.65625,
0.10986328125
],
[
0.69287109375,
0.10479736328125,
0.72607421875,
0.10479736328125,
0.72607421875,
0.11236572265625,
0.69287109375,
0.11236572265625
],
[
0.17724609375,
0.3212890625,
0.4755859375,
0.3212890625,
0.4755859375,
0.335205078125,
0.17724609375,
0.335205078125
],
[
0.471435546875,
0.32763671875,
0.48779296875,
0.32763671875,
0.48779296875,
0.330810546875,
0.471435546875,
0.330810546875
],
[
0.490234375,
0.323974609375,
0.8203125,
0.323974609375,
0.8203125,
0.333984375,
0.490234375,
0.333984375
],
[
0.178955078125,
0.333984375,
0.82177734375,
0.333984375,
0.82177734375,
0.347900390625,
0.178955078125,
0.347900390625
],
[
0.1748046875,
0.34521484375,
0.82421875,
0.3466796875,
0.82421875,
0.361083984375,
0.1748046875,
0.35986328125
],
[
0.178955078125,
0.361083984375,
0.326904296875,
0.361083984375,
0.326904296875,
0.371826171875,
0.178955078125,
0.371826171875
],
[
0.338134765625,
0.3623046875,
0.455078125,
0.3623046875,
0.455078125,
0.369384765625,
0.338134765625,
0.369384765625
],
[
0.47216796875,
0.359130859375,
0.82177734375,
0.359130859375,
0.82177734375,
0.37255859375,
0.47216796875,
0.37255859375
],
[
0.17724609375,
0.371826171875,
0.82275390625,
0.371826171875,
0.82275390625,
0.385009765625,
0.17724609375,
0.385009765625
],
[
0.176513671875,
0.385009765625,
0.30810546875,
0.385009765625,
0.30810546875,
0.3984375,
0.176513671875,
0.3984375
],
[
0.30224609375,
0.385009765625,
0.82275390625,
0.38330078125,
0.82275390625,
0.397705078125,
0.30224609375,
0.399658203125
],
[
0.17724609375,
0.397705078125,
0.82275390625,
0.397705078125,
0.82275390625,
0.410888671875,
0.17724609375,
0.410888671875
],
[
0.1748046875,
0.410400390625,
0.82177734375,
0.410400390625,
0.82177734375,
0.423583984375,
0.1748046875,
0.423583984375
],
[
0.17724609375,
0.455078125,
0.8203125,
0.455078125,
0.8203125,
0.46533203125,
0.17724609375,
0.46533203125
],
[
0.1748046875,
0.46728515625,
0.81884765625,
0.46728515625,
0.81884765625,
0.48095703125,
0.1748046875,
0.48095703125
],
[
0.1805419921875,
0.48095703125,
0.82177734375,
0.48095703125,
0.82177734375,
0.494384765625,
0.1805419921875,
0.494384765625
],
[
0.17724609375,
0.496826171875,
0.275390625,
0.496826171875,
0.275390625,
0.50830078125,
0.17724609375,
0.50830078125
],
[
0.1732177734375,
0.5322265625,
0.303955078125,
0.5322265625,
0.303955078125,
0.546875,
0.1732177734375,
0.546875
],
[
0.176513671875,
0.56298828125,
0.8203125,
0.56298828125,
0.8203125,
0.5771484375,
0.176513671875,
0.5771484375
],
[
0.17724609375,
0.5791015625,
0.82177734375,
0.5791015625,
0.82177734375,
0.59228515625,
0.17724609375,
0.59228515625
],
[
0.17724609375,
0.59228515625,
0.82177734375,
0.59228515625,
0.82177734375,
0.60595703125,
0.17724609375,
0.60595703125
],
[
0.176513671875,
0.60498046875,
0.8203125,
0.60498046875,
0.8203125,
0.61865234375,
0.176513671875,
0.61865234375
],
[
0.17724609375,
0.62060546875,
0.82177734375,
0.62060546875,
0.82177734375,
0.63525390625,
0.17724609375,
0.63525390625
],
[
0.176513671875,
0.6337890625,
0.82275390625,
0.63525390625,
0.82275390625,
0.6494140625,
0.176513671875,
0.6484375
],
[
0.17724609375,
0.6494140625,
0.273681640625,
0.6494140625,
0.273681640625,
0.6611328125,
0.17724609375,
0.6611328125
],
[
0.188720703125,
0.66845703125,
0.82421875,
0.66943359375,
0.82421875,
0.6845703125,
0.188720703125,
0.68310546875
],
[
0.178955078125,
0.68505859375,
0.27783203125,
0.68505859375,
0.27783203125,
0.6962890625,
0.178955078125,
0.6962890625
],
[
0.41015625,
0.69970703125,
0.5888671875,
0.7021484375,
0.5888671875,
0.71630859375,
0.41015625,
0.7138671875
],
[
0.80224609375,
0.7021484375,
0.82421875,
0.7021484375,
0.82421875,
0.71533203125,
0.80224609375,
0.71533203125
],
[
0.176513671875,
0.7236328125,
0.82275390625,
0.7236328125,
0.82275390625,
0.7373046875,
0.176513671875,
0.7373046875
],
[
0.17724609375,
0.73779296875,
0.2418212890625,
0.73779296875,
0.2418212890625,
0.75,
0.17724609375,
0.75
],
[
0.17724609375,
0.7587890625,
0.82275390625,
0.7587890625,
0.82275390625,
0.77294921875,
0.17724609375,
0.77294921875
],
[
0.17724609375,
0.77294921875,
0.82275390625,
0.77294921875,
0.82275390625,
0.7861328125,
0.17724609375,
0.7861328125
],
[
0.1732177734375,
0.7861328125,
0.82177734375,
0.7861328125,
0.82177734375,
0.7998046875,
0.1732177734375,
0.7998046875
],
[
0.176513671875,
0.8037109375,
0.82275390625,
0.8037109375,
0.82275390625,
0.8173828125,
0.176513671875,
0.8173828125
],
[
0.176513671875,
0.82080078125,
0.3798828125,
0.82080078125,
0.3798828125,
0.833984375,
0.176513671875,
0.833984375
],
[
0.26708984375,
0.84521484375,
0.72607421875,
0.84521484375,
0.72607421875,
0.86279296875,
0.26708984375,
0.86279296875
],
[
0.80126953125,
0.85791015625,
0.82421875,
0.85791015625,
0.82421875,
0.87255859375,
0.80126953125,
0.87255859375
],
[
0.384033203125,
0.8671875,
0.7294921875,
0.8671875,
0.7294921875,
0.88525390625,
0.384033203125,
0.88525390625
],
[
0.176513671875,
0.89599609375,
0.82177734375,
0.896484375,
0.82177734375,
0.9111328125,
0.176513671875,
0.91015625
],
[
0.176513671875,
0.9111328125,
0.8203125,
0.9111328125,
0.8203125,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"owerAn",
"operAm",
"",
"Wrist:",
"Figure l:Motivation.The local image mea",
"",
"irements around a part, e.g.,in an image patch",
"can reliably predict the relative positions of all its neighbors (as well as detect the part). Center",
"Panel: The local image patch centered at the elbow can reliably predict the relative positions of",
"theshoulderandwrist",
"andthelocalima",
"patch centered at the wrist can reliably predict the",
"relative position of the elbow. Left & Right Panels: We define different types of pairwise spatial",
"relationships (i.e.,",
"a mixture model) for each pair of neighboring parts. The Left Panel shows",
"typical spatial relationships the elbow can have with its neighbors, i.e., the shoulder and wrist. The",
"Right Panel shows typical spatial relationships the wrist can have with its neighbor, i.e., the elbow",
"我们在两个标准姿势估计基准上进行实验:LSP数据集E10和FLIC数据集20。我们",
"的方法在两个数据集上的表现都明显优于最先进的方法。我们还对Buffy数据集E[7]进行",
"了跨数据集评估(无需对此数据集进行训练),并获得了强大的结果,这表明我们的模型具",
"有泛化的能力",
"2The Model",
"图形模型及其变量:我们通过图形模型G=(V.8)表示人体姿势:其中节点V指定零件",
"(或关节)的位置,而边缘8表示哪些零件在空间上相关。为简单起见,我们强加图结构形",
"成K-节点树,其中K=V。零件的位置由l表示,其中l,=(a,y)指定零件i的像素",
"位置,对于iE{1....K。对于图(i,i)Eε中的每个边,我们指定由tii索引的一组离散",
"的空间关系,它对应于不同空间关系的混合(请参见图E1)。我们用t=(ti,tiil(i,i)E)",
"表示空间关系集。图像写入为I。我们将如下定义一个分数函数F(I,tI),作为一元项和",
"成对项的总和",
"元项:一元项给出了iEV部分位于l位置的局部证据,并且基于局部图像补丁I(u)。",
"它们的形式为",
"U(l;) =wi(iI(l); 0),",
"(1)",
"其中β(l;0)是(标量值)外观项,其中θ作为其参数(在下一节中指定),而Wi是标量",
"权重参数",
"图像相关成对关系(IDPR)术语:这些IDPR术语捕捉了我们的直觉,即相邻部分(i,)E&",
"可以仅使用局部信息大致预测其相对空间位置(请参见图E1)。在我们的模型中,零件i和",
"j的相对位置被离散化为几种类型的tiiE{1....,T}(i.e.,不同关系的混合),具有相应",
"的平均相对位置r以及由标准二次变形项建模的小变形。更正式地说,每个边(i,)E8",
"的成对关系分数由下式给出:",
"R(li,lj,tij,tjilI)=(wg,b(lj-li-r))+Wij(tijlI(li);0)",
"(2)",
"+(w,b(l;-lj-r))+wjp(tgil(l,);0)",
"其中(=[△r,yl)=[A2y2]是标准的二次变形特征,(l;)是指定的图",
"像相关成对关系(IDPR)项θ作为其下一个参数O。符号(,)指定点积,粗体表示向量",
"2"
] |
{
"arxiv_id": "1407.3399",
"language": "zh",
"page_idx": 1
}
|
||
1407.3399-zh-2
|
1407.3399-zh-2.jpg
|
满分:满分$F(\boldsymbol{l},\boldsymbol{t}|\boldsymbol{I})$是零件位置$\iota$ ,成对关系类型$t$和输入图像$I$的函数。它表示为一元
项和成对项的总和:
(3)
$$F(\boldsymbol{l},\boldsymbol{t}|\boldsymbol{I})=\sum_{i\in\mathcal{V}}U(\boldsymbol{l}_i|\boldsymbol{I})+\sum_{(i,j)\in\mathcal{E}}R(\boldsymbol{l}_i,\boldsymbol{l}_j,t_{ij},t_{ji}|\boldsymbol{I})+w_0,$$
其中$w_0$是常数 1 (i.e.,偏置项)上的标量权重
该模型由三组参数组成:不同成对关系类型的平均相对位置$r=\{r_{ij}^{t_{ij}},\boldsymbol{r}_{ji}^{t_{ji}}|(i,j)\in\mathcal{E}\}$ ;外观项和 IDPR 项的参数$\boldsymbol{\theta};$权重参数$\boldsymbol w$ (i.e., $w_i,\boldsymbol{w}_{ij}^{t_{ij}},w_{ij},\boldsymbol{w}_{ji}^{t_{ji}},w_{ji}$和$w_0$ )。有关这些参数的学习,请参见第 4 节
2.1 Image Dependent Terms and DCNNs
外观项和 IDPR 项取决于图像补丁。换句话说,本地映像补丁$I(l_i)$不仅提供了部分$i$存在的证据,而且还提供了它与其邻居$j\in\mathbb{N}(i)$之间的关系$t_ij$的证据,其中$j\in\mathbb{N}(i)$当且仅当$(i,j)\in\mathcal{E}$ 。这要求我们学习以图像补丁$I(l_i)$为条件的状态变量$i,t_ij$的分布。为了指定这种分布,我们必须更精确地定义状态空间,因为成对空间关系的数量对于具有不同数量的邻居的不同部分是不同的 (参见图 1 ), 并且我们还需要考虑补丁不包含部分的可能性我们将$c$定义为随机变量,表示$i\in\{1,...,K\}$或$c=0$的哪个部分存在$c=i$ ,如果没有部分存在 (i.e., 背景)。我们将$m_\mathrm{cN(c)}$定义为随机变量,该随机变量确定$c$的空间关系类型并接受$\mathcal{M}_c\mathbb{N}(c)$中的值。如果$c=i$有一个邻居$j$ (e.g.,手腕),则$\mathcal{M}_i\mathbb{N}(i)=\{1,\ldots,T_{ij}\}$ 。如果$c=i$有两个邻居$j$和$k($ e.g., 肘部), 则$\mathbb{M}_i\mathbb{N}(i)=\{1,\ldots,T_{ij}\}\times\{1,\ldots,T_{ik}\}$ 。如果$c=0$,那么我们定义$\mathbb{M}_0\mathbb{N}(0)=\{0\}$
完整空间表示为:
(4)
$$\mathbb{S}=\cup_{c=0}^K\{c\}\times\mathbb{M}_{c\mathbb{N}(c)}$$
空间的大小为$|\mathbb{S}|=\sum_{c=0}^K|\mathbb{M}_{c\mathbb{N}(c)}|$。此空间中的每个元素对应于具有所有类型的成对关系
或背景的零件
我们使用 DCNN$\mathbb{E}[12]$来学习条件概率分布$p(c,\boldsymbol{m}_{\mathrm{cN}(c)}|\boldsymbol{I}(\boldsymbol{l}_i);\boldsymbol{\theta})$ 。DCNN 适用于此任务,
因为它非常高效,使我们能够共享功能。有关更多详细信息,请参见 4 节
我们通过边缘化以$p(c,\boldsymbol{m}_{c\mathbb{N}(c)}|\boldsymbol{I}(\boldsymbol{l}_i);\boldsymbol{\theta})$的形式指定外观术语$\phi(.|.;\boldsymbol{\theta})$和 IDPR 术语$\varphi(.|.;\boldsymbol{\theta})$
$$\begin{array}{rcl}\phi(i|\boldsymbol{I}(\boldsymbol{l}_i);\boldsymbol{\theta})&=&\log(p(c=i|\boldsymbol{I}(\boldsymbol{l}_i);\boldsymbol{\theta}))\\\varphi(t_{ij}|\boldsymbol{I}(\boldsymbol{l}_i);\boldsymbol{\theta})&=&\log(p(m_{ij}=t_{ij}|c=i,\boldsymbol{I}(\boldsymbol{l}_i);\boldsymbol{\theta}))\end{array}$$
(5) (6)
2.2 Relationship to other models
我们现在简要讨论我们的方法如何与标准模型相关
$图形结构:我们通过仅允许一种关系类型(i.e.,T_{ij}=1)来恢复图形结构模型E[6]。在这$ 种情况下,我们的 IDPR 术语不传达任何信息。我们的模型简化为标准的一元和(与图像无关的)成对术语。唯一的细微区别是,我们使用 DCNN 来学习一元项,而不是使用 HOG 过滤器。混合零件:[27] 描述了一个模型,其中每个零件的模板混合在一起,其中每个模板称为零件的“类型”。每个零件的“类型”由其相对于其父级的相对位置定义。这可以通过将我们模型中的每个零件限制为仅预测其父级的相对位置来获得 (i.e., $T_{ij}=1$,如果$j$不是$i$ 的父纷」。在汉神管况卜。舟个零件仪与一个信息性 DPR 术语相关联. 叫以将直与兵个零件的外观术语合并,以在[27] 中定义零件的不同“类型”。此外,此方法不使用 DCNN 条件随机场 (CRFs): 我们的模型还与关于数据相关先验的条件随机场文献有关$\overline{\mathbb{E}}[18,13$ 15,19] 。数据相关的先验项和一元项通常在 CRF 中分别建模。在本文中,我们有效地对所有图像相关项进行建模 (i。e。一元项和 IDPR 项) 通过利用以下事实在单个 DCNN 中一起使用:局部图像测量对于预测零件的存在以及零件与其邻居的成对关系都是可靠的
3
|
[
[
0.17724609375,
0.1060791015625,
0.82275390625,
0.1060791015625,
0.82275390625,
0.11932373046875,
0.17724609375,
0.11932373046875
],
[
0.176513671875,
0.11932373046875,
0.313720703125,
0.11932373046875,
0.313720703125,
0.1331787109375,
0.176513671875,
0.1331787109375
],
[
0.3056640625,
0.146484375,
0.69287109375,
0.147705078125,
0.69287109375,
0.1654052734375,
0.3056640625,
0.1641845703125
],
[
0.80224609375,
0.15087890625,
0.82421875,
0.15087890625,
0.82421875,
0.1641845703125,
0.80224609375,
0.1641845703125
],
[
0.386474609375,
0.1641845703125,
0.41259765625,
0.1641845703125,
0.41259765625,
0.177978515625,
0.386474609375,
0.177978515625
],
[
0.48193359375,
0.1666259765625,
0.52783203125,
0.1666259765625,
0.52783203125,
0.18115234375,
0.48193359375,
0.18115234375
],
[
0.1748046875,
0.1956787109375,
0.51953125,
0.1956787109375,
0.51953125,
0.205810546875,
0.1748046875,
0.205810546875
],
[
0.1748046875,
0.216552734375,
0.82275390625,
0.216552734375,
0.82275390625,
0.2342529296875,
0.1748046875,
0.2342529296875
],
[
0.1748046875,
0.23486328125,
0.82177734375,
0.236083984375,
0.82177734375,
0.250732421875,
0.1748046875,
0.25
],
[
0.176513671875,
0.25244140625,
0.3798828125,
0.25244140625,
0.3798828125,
0.266357421875,
0.176513671875,
0.266357421875
],
[
0.17236328125,
0.2890625,
0.484375,
0.2890625,
0.484375,
0.302978515625,
0.17236328125,
0.302978515625
],
[
0.176513671875,
0.318115234375,
0.82177734375,
0.318115234375,
0.82177734375,
0.33203125,
0.176513671875,
0.33203125
],
[
0.176513671875,
0.33203125,
0.82177734375,
0.33203125,
0.82177734375,
0.34521484375,
0.176513671875,
0.34521484375
],
[
0.17724609375,
0.34521484375,
0.82177734375,
0.34521484375,
0.82177734375,
0.359130859375,
0.17724609375,
0.359130859375
],
[
0.17724609375,
0.361083984375,
0.8203125,
0.361083984375,
0.8203125,
0.371826171875,
0.17724609375,
0.371826171875
],
[
0.176513671875,
0.373779296875,
0.80224609375,
0.373779296875,
0.80224609375,
0.3837890625,
0.176513671875,
0.3837890625
],
[
0.176513671875,
0.39453125,
0.82177734375,
0.39453125,
0.82177734375,
0.40771484375,
0.176513671875,
0.40771484375
],
[
0.1748046875,
0.40771484375,
0.82421875,
0.40771484375,
0.82421875,
0.425537109375,
0.1748046875,
0.425537109375
],
[
0.1748046875,
0.42236328125,
0.82177734375,
0.4248046875,
0.82177734375,
0.439453125,
0.1748046875,
0.4375
],
[
0.188720703125,
0.43994140625,
0.82275390625,
0.43994140625,
0.82275390625,
0.455078125,
0.188720703125,
0.455078125
],
[
0.1748046875,
0.453857421875,
0.453369140625,
0.455810546875,
0.453369140625,
0.47021484375,
0.1748046875,
0.468505859375
],
[
0.176513671875,
0.479248046875,
0.295654296875,
0.479248046875,
0.295654296875,
0.492431640625,
0.176513671875,
0.492431640625
],
[
0.419189453125,
0.496826171875,
0.57421875,
0.50048828125,
0.57421875,
0.5166015625,
0.419189453125,
0.51220703125
],
[
0.80224609375,
0.50048828125,
0.82421875,
0.50048828125,
0.82421875,
0.5146484375,
0.80224609375,
0.5146484375
],
[
0.176513671875,
0.53076171875,
0.82275390625,
0.53076171875,
0.82275390625,
0.54541015625,
0.176513671875,
0.54541015625
],
[
0.176513671875,
0.548828125,
0.27294921875,
0.548828125,
0.27294921875,
0.5595703125,
0.176513671875,
0.5595703125
],
[
0.176513671875,
0.568359375,
0.82275390625,
0.568359375,
0.82275390625,
0.58349609375,
0.176513671875,
0.58349609375
],
[
0.17724609375,
0.5859375,
0.69775390625,
0.5859375,
0.69775390625,
0.5966796875,
0.17724609375,
0.5966796875
],
[
0.1748046875,
0.60595703125,
0.82177734375,
0.60595703125,
0.82177734375,
0.62060546875,
0.1748046875,
0.62060546875
],
[
0.33251953125,
0.64794921875,
0.60546875,
0.64794921875,
0.60546875,
0.6611328125,
0.33251953125,
0.6611328125
],
[
0.80224609375,
0.64794921875,
0.82421875,
0.64794921875,
0.82421875,
0.662109375,
0.80224609375,
0.662109375
],
[
0.32177734375,
0.66552734375,
0.67724609375,
0.66552734375,
0.67724609375,
0.6796875,
0.32177734375,
0.6796875
],
[
0.80224609375,
0.66552734375,
0.82275390625,
0.66552734375,
0.82275390625,
0.6796875,
0.80224609375,
0.6796875
],
[
0.1748046875,
0.7021484375,
0.4248046875,
0.7021484375,
0.4248046875,
0.71533203125,
0.1748046875,
0.71533203125
],
[
0.17724609375,
0.73193359375,
0.53369140625,
0.73193359375,
0.53369140625,
0.7421875,
0.17724609375,
0.7421875
],
[
0.176513671875,
0.751953125,
0.82275390625,
0.751953125,
0.82275390625,
0.76513671875,
0.176513671875,
0.76513671875
],
[
0.176513671875,
0.76513671875,
0.82177734375,
0.76513671875,
0.82177734375,
0.77880859375,
0.176513671875,
0.77880859375
],
[
0.178955078125,
0.78076171875,
0.82177734375,
0.78076171875,
0.82177734375,
0.79150390625,
0.178955078125,
0.79150390625
],
[
0.17724609375,
0.79248046875,
0.82177734375,
0.79248046875,
0.82177734375,
0.80615234375,
0.17724609375,
0.80615234375
],
[
0.176513671875,
0.80615234375,
0.82177734375,
0.80615234375,
0.82177734375,
0.8193359375,
0.176513671875,
0.8193359375
],
[
0.176513671875,
0.82080078125,
0.82275390625,
0.82080078125,
0.82275390625,
0.833984375,
0.176513671875,
0.833984375
],
[
0.176513671875,
0.833984375,
0.82177734375,
0.833984375,
0.82177734375,
0.84765625,
0.176513671875,
0.84765625
],
[
0.17724609375,
0.84765625,
0.82275390625,
0.84765625,
0.82275390625,
0.861328125,
0.17724609375,
0.861328125
],
[
0.176513671875,
0.869140625,
0.82177734375,
0.869140625,
0.82177734375,
0.88330078125,
0.176513671875,
0.88330078125
],
[
0.176513671875,
0.8837890625,
0.82177734375,
0.8837890625,
0.82177734375,
0.89794921875,
0.176513671875,
0.89794921875
],
[
0.17724609375,
0.8984375,
0.381591796875,
0.8984375,
0.381591796875,
0.9091796875,
0.17724609375,
0.9091796875
],
[
0.40185546875,
0.896484375,
0.81640625,
0.896484375,
0.81640625,
0.91015625,
0.40185546875,
0.91015625
],
[
0.176513671875,
0.9111328125,
0.77783203125,
0.9111328125,
0.77783203125,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"满分:满分F(l,tI)是零件位置l,成对关系类型t和输入图像I的函数。它表示为一元",
"项和成对项的总和:",
"F(l,t)I) =U(u/I)+ R(li,lj,tij,tgilI)+wo,",
"(3)",
"iEV",
"(i.j)e8",
"其中wo是常数1(i.e.,偏置项)上的标量权重",
"该模型由三组参数组成:不同成对关系类型的平均相对位置r=(r号,rl(i,i)ε8);外",
"观项和IDPR项的参数θ;权重参数w(i.e.,wi,w,wi,w,wi和wo)。有关这些",
"参数的学习,请参见第4节",
"2.1 Image Dependent Terms and DCNNs",
"外观项和IDPR项取决于图像补丁。换句话说,本地映像补丁I(L)不仅提供了部分i存在",
"的证据,而且还提供了它与其邻居jEN(i)之间的关系tii的证据,其中iENi)当且仅",
"当(i)Eε。这要求我们学习以图像补丁I(l)为条件的状态变量i,ti的分布。为了指定",
"这种分布,我们必须更精确地定义状态空间,因为成对空间关系的数量对于具有不同数量",
"的邻居的不同部分是不同的(参见图1)并月我们还需要考虑补工不包含部分的可能性",
"我们将c定义为随机变量,表示iE1...,K或c=0的哪个部分存在c=i,如果没有",
"部分存在(i.e,背景)。我们将meN(e)定义为随机变量,该随机变量确定c的空间关系类",
"型并接受MeN(e)中的值。如果c=i有一个邻居j(e.g-,手腕),则MiN(i)={1,..,T)",
"如果c=i有两个邻居和k(e.g.,肘部),则MiN(i)={1,..,T)×{1,...,Ti)。如",
"果c=0,那么我们定义MoN(O)={0)",
"完整空间表示为:",
"S=UKofc) ×MeN(c)",
"(4)",
"空间的大小为S=K。[MIcN(c)|。此空间中的每个元素对应于具有所有类型的成对关系",
"或背景的零件",
"我们使用DCNNE[12]来学习条件概率分布p(c,mcN(c)/I(li);0)。DCNN适用于此任务",
"因为它非常高效,使我们能够共享功能。有关更多详细信息,请参见4节",
"我们通过边缘化以p(c,mcN(c)/I(li);の)的形式指定外观术语Φ(-1;の)和IDPR术语(1;0)",
"Φ(iI();0)=log(p(c=iI();0))",
"(5)",
"p(ti|I(li);0) =log(p(mij=tilc=i, I(li);0))",
"(6)",
"2.2Relationship to other models",
"我们现在简要讨论我们的方法如何与标准模型相关",
"图形结构:我们通过仅允许一种关系类型(i.e.,Tii=1)来恢复图形结构模型E[6]。在这",
"种情况下,我们的IDPR术语不传达任何信息。我们的模型简化为标准的一元和(与图像",
"无关的)成对术语。唯一的细微区别是,我们使用DCNN来学习一元项,而不是使用HOG",
"过滤器。混合零件:[27]描述了一个模型,其中每个零件的模板混合在一起,其中每个模板",
"称为零件的“类型”。每个零件的“类型”由其相对于其父级的相对位置定义。这可以通过",
"将我们模型中的每个零件限制为仅预测其父级的相对位置来获得(i.e.,T=1,如果j不",
"是i的父级)。在这种情况下,每个零件仅与一个信息性IDPR术语相关联,可以将其与每",
"个零件的外观术语合并,以在[27]中定义零件的不同“类型”。此外,此方法不使用DCNN",
"条件随机场(CRFs):我们的模型还与关于数据相关先验的条件随机场文献有关E[18,13",
"15,19。数据相关的先验项和一元项通常在CRF中分别建模。在本文中,我们有效地对所",
"有图像相关项进行建模(i。e",
"一元项和IDPR项)通过利用以下事实在单个DCNN中-",
"起使用:局部图像测量对于预测零件的存在以及零件与其邻居的成对关系都是可靠的",
"3"
] |
{
"arxiv_id": "1407.3399",
"language": "zh",
"page_idx": 2
}
|
||
1407.3399-zh-3
|
1407.3399-zh-3.jpg
|
3 Inference
为了检测每个人的最佳配置,我们搜索位置$l$和类型$t$的配置,以最大化分数函数:$(\boldsymbol{l}^*,\boldsymbol{t}^*)=$
$\arg\max_{\boldsymbol{l},\boldsymbol{t}}F(\boldsymbol{l},\boldsymbol{t}|\boldsymbol{I})$ 。由于我们的关系图是一棵树,这可以通过动态编程有效地完成
令$\mathbb{K}(i)$是图中$i$部分的子元素集$(\mathbb{K}(i)=\emptyset$ ,如果$i$部分是叶子),并且$S_i(\boldsymbol{l}_i|\boldsymbol{I})$是以$i$部
分为根的子树的最大分数,$i$ 部分位于$l_i$ 。每个子树的最大得分可以计算如下:
(7)
$$S_i(\boldsymbol{l}_i|\boldsymbol{I})=U(\boldsymbol{l}_i|\boldsymbol{I})+\sum_{k\in\mathbb{K}(i)}\max_{\boldsymbol{l}_k,t_{ik},t_{k\:i}}(R(\boldsymbol{l}_i,\boldsymbol{l}_k,t_{ik},t_{ki}|\boldsymbol{I})+S_k(\boldsymbol{l}_k|\boldsymbol{I}))$$
使用公式$\overline{\mathrm{E}}$7 ,我们可以递归地计算模型的总体最佳得分 ,并且位置和类型的最佳配置可以
通过动态规划的标准向后传递来恢复
计算:由于我们的成对项是位置$l_i$和$l_j$的二次函数,因此可以通过使用广义距离变换$\mathbb{E}[6]$ 来加速公式$\mathbb{E}$7 中$l_k$ 上的最大运算。由此产生的方法是非常有效的,一旦图像相关项被计算,就需要$O(T^2LK)$时间,其中$T$是关系类型的数量,L 是位置的总数,K 是模型中零件的总数。此分析假设所有成对空间关系具有相同的类型数 i.e. $,T_{ij}=T_{ji}=T,\forall(i,j)\in\mathcal{E}$ 图像相关项的计算也是有效的。它们由单个 DCNN 在所有位置上计算得出。以滑动方式应用 DCNN 本质上是有效的,因为重叠区域共有的计算自然是共享的[22]
# 4 Learning
现在我们考虑从带有标记零件位置的图像中学习模型参数的问题,这是大多数人类姿势数据集中可用的数据$\mathbb{E}[17,7,10,20]$ 。我们从零件位置注释中导出类型标签 $t_{ij}$ ,并采用有监督的方法来学习模型
我们的模型由三组参数组成:不同成对关系类型的平均相对位置$r$ ;图像相关项的参数$\theta$ ;
和权重参数$\boldsymbol{w}$ 。通过$\boldsymbol{r}$的 K 均值算法,$\boldsymbol{\theta}$的 DCNN 和$\boldsymbol{w}$的 S-SVM 分别学习它们
平均相对位置和类型标签:给定标记的正图像$\{(\boldsymbol I^n,\boldsymbol l^n)\}_{n=1}^N$ ,令$\boldsymbol d_ij$为从零件$i$到其邻居$j$的相对位置。我们将训练集$\{d_ij^n\}_{n=1}^N$上的相对位置聚类以获得$T_ij$聚类 (在实验中,所有成对关系的$T_{ij}=11$ )。每个簇对应于$i$部分的一组实例,这些实例与其相邻部分$j$共享相似的空间关系。因此,我们将每个簇定义为模型中$i$到$j$部分的成对关系类型$t_{ij}$ ,并将每个簇的中心用作与每种类型相关的平均相对位置$r_{ij}^{t_{ij}}$。通过这种方式,学习不同的成对关系类型的平均相对位置,并根据每个训练实例的聚类索引得出每个训练实例的类型标签$t_{ij}^n$。我们在实验中使用 K-means, 通过设置 K$=T_ij$来进行聚类
图像相关术语的参数:派生类型标签后,以注释部分位置为中心的每个局部图像补丁$I(l^n)$ 都标有类别标签$c^n\in\{1,\ldots,K\}$ ,该标签指示存在哪个部分,以及指示其与所有邻居的并不半型的半画上态体关系类型的类型标签$\begin{array}{l}\boldsymbol{m}_{c^n\mathbb{N}(c^n)}^n\end{array}$。通过这种方式,我们从正面图像中获得一组标记的补丁$\{ \boldsymbol{I}( l^n) , c^n, \boldsymbol{m}_{c^n\mathbb{N} ( c^n) }^n\} _{n= 1}^{KN}$ (每个正面图像提供 $K$ 部分补丁),以及从负面图像中采样的一组背景补丁$\{I(l^n),0,0\}$
给定标记的部分补丁和背景补丁,我们使用 softmax 损失通过标准随机梯度下降来训练多类 DCNN 分类器。DCNN 由五个卷积层,2 个最大池化层和三个全连接层组成,最终的$|\mathbb{S}$ 维 softmax 输出被定义为我们的条件概率分布 i.e., $p(c,\boldsymbol{m}_{c\mathbb{N}(c)}|\boldsymbol{I}(l_i);\boldsymbol{\theta})$ 。我们的网络架构总结在图 2
权重参数:正面图像中的每个姿势现在都标有注释的零件位置和派生类型标签:$(\boldsymbol{I}^n,\boldsymbol{l}^n,t^n)$ 。我们使用 S-SVM 来学习权重参数$w$ 。通过使用0-1损失简化了结构预测问题,即所有训练示例要么其标签的所有维度都正确,要么其标签的所有维度都错误。我们将前者表示为pos示例,将后者表示为neg示例。由于完整分数函数(公式E3)在权重参数$w$中是线性的,因此我们将优化函数写为:
(8)
$$\min_{\boldsymbol{w}}\frac{1}{2}\langle\boldsymbol{w},\boldsymbol{w}\rangle+C\sum_{n}\max(0,1-y_{n}\langle\boldsymbol{w},\boldsymbol{\Phi}(\boldsymbol{I}^{n},\boldsymbol{l}^{n},\boldsymbol{t}^{n})\rangle),$$
,其中$y_n\in\{1,-1\}$和$\Phi(I^n,l^n,t^n)$是稀疏特征向量,表示从$n$ -示例中学习。这里$y_n=1$
如果$n\in pos$和$y_n=-1$如果$n\in neg$
4
|
[
[
0.17236328125,
0.10162353515625,
0.28759765625,
0.10418701171875,
0.28759765625,
0.11932373046875,
0.17236328125,
0.117431640625
],
[
0.17724609375,
0.1351318359375,
0.82275390625,
0.1351318359375,
0.82275390625,
0.1483154296875,
0.17724609375,
0.1483154296875
],
[
0.176513671875,
0.1483154296875,
0.771484375,
0.1483154296875,
0.771484375,
0.1622314453125,
0.176513671875,
0.1622314453125
],
[
0.17724609375,
0.17041015625,
0.82421875,
0.17041015625,
0.82421875,
0.184326171875,
0.17724609375,
0.184326171875
],
[
0.176513671875,
0.184326171875,
0.736328125,
0.184326171875,
0.736328125,
0.1976318359375,
0.176513671875,
0.1976318359375
],
[
0.268798828125,
0.20703125,
0.72802734375,
0.208984375,
0.72802734375,
0.2266845703125,
0.268798828125,
0.2247314453125
],
[
0.80224609375,
0.210205078125,
0.82275390625,
0.210205078125,
0.82275390625,
0.2235107421875,
0.80224609375,
0.2235107421875
],
[
0.410888671875,
0.2259521484375,
0.5087890625,
0.212158203125,
0.51318359375,
0.2310791015625,
0.4150390625,
0.2442626953125
],
[
0.178955078125,
0.250732421875,
0.82177734375,
0.250732421875,
0.82177734375,
0.261474609375,
0.178955078125,
0.261474609375
],
[
0.176513671875,
0.26318359375,
0.43701171875,
0.26318359375,
0.43701171875,
0.276611328125,
0.176513671875,
0.276611328125
],
[
0.17724609375,
0.285888671875,
0.82177734375,
0.285888671875,
0.82177734375,
0.296630859375,
0.17724609375,
0.296630859375
],
[
0.176513671875,
0.2998046875,
0.82177734375,
0.2998046875,
0.82177734375,
0.313232421875,
0.176513671875,
0.313232421875
],
[
0.176513671875,
0.313232421875,
0.82177734375,
0.313232421875,
0.82177734375,
0.326904296875,
0.176513671875,
0.326904296875
],
[
0.176513671875,
0.32763671875,
0.81884765625,
0.32763671875,
0.81884765625,
0.341552734375,
0.176513671875,
0.341552734375
],
[
0.176513671875,
0.348388671875,
0.82275390625,
0.348388671875,
0.82275390625,
0.3623046875,
0.176513671875,
0.3623046875
],
[
0.176513671875,
0.363037109375,
0.6953125,
0.363037109375,
0.6953125,
0.376953125,
0.176513671875,
0.376953125
],
[
0.17236328125,
0.39453125,
0.285888671875,
0.397705078125,
0.285888671875,
0.41357421875,
0.17236328125,
0.410400390625
],
[
0.176513671875,
0.427978515625,
0.82177734375,
0.427978515625,
0.82177734375,
0.44140625,
0.176513671875,
0.44140625
],
[
0.1732177734375,
0.439453125,
0.82275390625,
0.43994140625,
0.82275390625,
0.458251953125,
0.1732177734375,
0.45703125
],
[
0.17724609375,
0.45703125,
0.32275390625,
0.45703125,
0.32275390625,
0.46728515625,
0.17724609375,
0.46728515625
],
[
0.176513671875,
0.4765625,
0.826171875,
0.4765625,
0.826171875,
0.490478515625,
0.176513671875,
0.490478515625
],
[
0.176513671875,
0.490478515625,
0.78125,
0.490478515625,
0.78125,
0.50390625,
0.176513671875,
0.50390625
],
[
0.176513671875,
0.51220703125,
0.82177734375,
0.51220703125,
0.82177734375,
0.52587890625,
0.176513671875,
0.52587890625
],
[
0.176513671875,
0.52880859375,
0.82177734375,
0.52880859375,
0.82177734375,
0.5390625,
0.176513671875,
0.5390625
],
[
0.176513671875,
0.54345703125,
0.82275390625,
0.54345703125,
0.82275390625,
0.55810546875,
0.176513671875,
0.55810546875
],
[
0.176513671875,
0.55810546875,
0.82177734375,
0.55810546875,
0.82177734375,
0.5712890625,
0.176513671875,
0.5712890625
],
[
0.176513671875,
0.57470703125,
0.82177734375,
0.57470703125,
0.82177734375,
0.58837890625,
0.176513671875,
0.58837890625
],
[
0.17724609375,
0.59130859375,
0.82275390625,
0.59130859375,
0.82275390625,
0.60498046875,
0.17724609375,
0.60498046875
],
[
0.1748046875,
0.60498046875,
0.6435546875,
0.60400390625,
0.6435546875,
0.61865234375,
0.1748046875,
0.619140625
],
[
0.176513671875,
0.62890625,
0.82177734375,
0.62890625,
0.82177734375,
0.642578125,
0.176513671875,
0.642578125
],
[
0.1748046875,
0.642578125,
0.82177734375,
0.642578125,
0.82177734375,
0.65576171875,
0.1748046875,
0.65576171875
],
[
0.17236328125,
0.65283203125,
0.82275390625,
0.65380859375,
0.82275390625,
0.6748046875,
0.17236328125,
0.673828125
],
[
0.1732177734375,
0.671875,
0.826171875,
0.66943359375,
0.826171875,
0.68994140625,
0.1732177734375,
0.6923828125
],
[
0.1748046875,
0.68994140625,
0.330810546875,
0.69140625,
0.330810546875,
0.70556640625,
0.1748046875,
0.705078125
],
[
0.176513671875,
0.71337890625,
0.82177734375,
0.71337890625,
0.82177734375,
0.7265625,
0.176513671875,
0.7265625
],
[
0.1732177734375,
0.724609375,
0.82177734375,
0.72607421875,
0.82177734375,
0.74072265625,
0.1732177734375,
0.7392578125
],
[
0.1748046875,
0.7412109375,
0.82177734375,
0.7412109375,
0.82177734375,
0.7548828125,
0.1748046875,
0.7548828125
],
[
0.176513671875,
0.755859375,
0.261474609375,
0.755859375,
0.261474609375,
0.767578125,
0.176513671875,
0.767578125
],
[
0.176513671875,
0.7763671875,
0.82275390625,
0.7763671875,
0.82275390625,
0.79052734375,
0.176513671875,
0.79052734375
],
[
0.188720703125,
0.79248046875,
0.81884765625,
0.79248046875,
0.81884765625,
0.80322265625,
0.188720703125,
0.80322265625
],
[
0.176513671875,
0.8037109375,
0.82177734375,
0.80615234375,
0.82177734375,
0.8193359375,
0.176513671875,
0.8173828125
],
[
0.1748046875,
0.818359375,
0.82275390625,
0.8173828125,
0.82275390625,
0.83203125,
0.1748046875,
0.83349609375
],
[
0.176513671875,
0.83349609375,
0.428955078125,
0.83349609375,
0.428955078125,
0.8466796875,
0.176513671875,
0.8466796875
],
[
0.3056640625,
0.85986328125,
0.69384765625,
0.85400390625,
0.69384765625,
0.87744140625,
0.3056640625,
0.8837890625
],
[
0.80224609375,
0.8623046875,
0.82421875,
0.8623046875,
0.82421875,
0.876953125,
0.80224609375,
0.876953125
],
[
0.438720703125,
0.880859375,
0.450927734375,
0.880859375,
0.450927734375,
0.89013671875,
0.438720703125,
0.89013671875
],
[
0.188720703125,
0.896484375,
0.82275390625,
0.896484375,
0.82275390625,
0.9111328125,
0.188720703125,
0.9111328125
],
[
0.17724609375,
0.9111328125,
0.453369140625,
0.9111328125,
0.453369140625,
0.92529296875,
0.17724609375,
0.92529296875
],
[
0.488525390625,
0.95263671875,
0.5048828125,
0.94775390625,
0.5107421875,
0.95849609375,
0.494384765625,
0.96337890625
]
] |
[
"3Inference",
"为了检测每个人的最佳配置,我们搜索位置1和类型t的配置,以最大化分数函数:(1*,t*)=",
"argmaxitF(l,tI)。由于我们的关系图是一棵树,这可以通过动态编程有效地完成",
"令K(i)是图中i部分的子元素集(K(i)=の,如果i部分是叶子),并且S(liI)是以i部",
"分为根的子树的最大分数,i部分位于l。每个子树的最大得分可以计算如下:",
"S;(t/I) =U(ti/I)+ Z,max (R(li,lh,tik,thilI) +S(l|I)",
"(7)",
"kEK(a)tk,tiak",
"使用公式E7,我们可以递归地计算模型的总体最佳得分,并且位置和类型的最佳配置可以",
"通过动态规划的标准向后传递来恢复",
"计算:由于我们的成对项是位置,和,的二次函数,因此可以通过使用广义距离变换E6",
"来加速公式E7中L上的最大运算。由此产生的方法是非常有效的,一旦图像相关项被计",
"算,就需要O(T2LK)时间,其中T是关系类型的数量,L是位置的总数,K是模型中零",
"件的总数。此分析假设所有成对空间关系具有相同的类型数i.e.,Tii=Tji=T,V(i,j)E&",
"图像相关项的计算也是有效的。它们由单个DCNN在所有位置上计算得出。以滑动方式应",
"用DCNN本质上是有效的,因为重叠区域共有的计算自然是共享的[22]",
"4Learning",
"现在我们考虑从带有标记零件位置的图像中学习模型参数的问题,这是大多数人类姿势数",
"据集中可用的数据回[177,10,20]。我们从零件位置注释中导出类型标签ti,并采用有监",
"督的方法来学习模型",
"我们的模型由三组参数组成:不同成对关系类型的平均相对位置r;图像相关项的参数;",
"和权重参数w。通过r的K均值算法,θ的DCNN和w的S-SVM分别学习它们",
"平均相对位置和类型标签:给定标记的正图像(I\",\"))n=1.,令di为从零件i到其邻居",
"i的相对位置。我们将训练集d1上的相对位置聚类以获得T聚类(在实验中,所",
"有成对关系的Ti=11)。每个簇对应于i部分的一组实例,这些实例与其相邻部分j共享",
"相似的空间关系。因此,我们将每个簇定义为模型中i到j部分的成对关系类型ti,并将",
"每个簇的中心用作与每种类型相关的平均相对位置r。通过这种方式,学习不同的成对",
"关系类型的平均相对位置,并根据每个训练实例的聚类索引得出每个训练实例的类型标签",
"t。我们在实验中使用K-means,通过设置K=T;来进行聚类",
"图像相关术语的参数:派生类型标签后,以注释部分位置为中心的每个局部图像补丁I(\")",
"都标有类别标签cnE{1,..,K},该标签指示存在哪个部分,以及指示其与所有邻居的",
"关系类型的类型标签mN(e)。通过这种方式,我们从正面图像中获得一组标记的补宁",
"(I(1\"),c\",mN(cen)K-(每个正面图像提供K部分补丁),以及从负面图像中采样的一组",
"背景补丁[I(\"),0,0)",
"给定标记的部分补丁和背景补丁,我们使用softmax损失通过标准随机梯度下降来训练多",
"类DCNN分类器。DCNN由五个卷积层,2个最大池化层和三个全连接层组成,最终的S",
"维softmax输出被定义为我们的条件概率分布i.e.,p(c,mcN(c)lI(ui);の)。我们的网络架构",
"总结在图2",
"权重参数:正面图像中的每个姿势现在都标有注释的零件位置和派生类型标签:(I\",I\",t\")",
"我们使用S-SVM来学习权重参数。通过使用0一1损失简化了结构预测问题,即所有",
"训练示例要么其标签的所有维度都正确,要么其标签的所有维度都错误。我们将前者表示",
"为pos示例,将后者表示为neg示例。由于完整分数函数(公式E3)在权重参数w中是",
"线性的,因此我们将优化函数写为:",
"min (w, w)+cmax(0,1-yn(w,(I\",\",t\"),",
"(8)",
"n",
"其中ynE(1,-1)和Φ(I\",\",tn)是稀疏特征向量,表示从n-示例中学习。这里yn=1",
"如果nEpos和yn=-1如果nEneg",
"4"
] |
{
"arxiv_id": "1407.3399",
"language": "zh",
"page_idx": 3
}
|
||
1407.3399-zh-4
|
1407.3399-zh-4.jpg
|
5 Experiment
本节介绍了数据集,阐明了评估指标,描述了我们的实验设置,提供了比较评估结果并给出
了诊断实验。
5.1 Datasets and Evaluation Metrics
我们在两个公开可用的人体姿势估计基准上进行了实验:(i)“利兹运动姿势”(LSP)数据集$\mathbb{E}[10]$ ,其中包含来自运动活动的 1000 个训练和 1000 个测试图像带有注释的全身人体姿势的图像;(ii)“好莱坞 10X 人体标注的框架”。我们遵循以前的工作,并在两个基准上使用以观察者为中心的注释。为了训练我们的模型,我们还使用了来自 INRIAPerson 数据集[3]的负训练图像 (这些图像不包含人)
我们使用最流行的评估指标,以便与以前的工作进行比较。正确零件百分比 (PCP) 是包括LSP 数据集在内的多个基准的标准评估指标。但是,如[27]中所述,PCP 的几种替代解释可能会导致严重不同的结果。在我们的论文中,除非另有说明,否则我们使用更严格的版本,即我们仅评估一个测试图像的单个最高评分估计结果,并且如果其两个分段端点(关节)都位于 50% 内,则认为身体部位是正确的。地面实况注释端点的长度 (LSP 数据集上的每个测试图像仅包含一个注释的人)。我们将此版本的 PCP 称为严格 PCP
在 FLIC 数据集上,我们同时使用严格的 PCP 和与之一起指定的评估指标$\overline{\mathbb{E}}[20]:$ 检测到的接头百分比 (PDJ)。PDJ 通过改变定位精度阈值,使用正确定位关节的百分比曲线来测量性能。定位精度阈值由每个地面真实姿势的尺度 (定义为左肩和右臀部之间的距离) 归一化,使其尺度不变。FLIC 图像中有多个人,因此每个地面真相人也都带有一个躯干检测框注释。在评估过程中,我们通过将颈部限制在由提供的躯干框定义的窗口内,为每个地面实况人员返回一个得分最高的估计结果
5.2 Implementation detail
数据增强:我们的 DCNN 具有数百万个参数,而只有数千个训练图像可用。为了减少过拟合,我们通过$360^{\circ}$旋转正训练图像来增强训练数据。这些图像也被水平翻转以使训练图像加倍。这增加了与其邻居具有不同空间关系的身体部位的训练示例的数量(参见图$\overline{\mathrm{E}}$1 中左面板对角线的肘部)。我们将随机阳性图像作为 DCNN 训练的验证集。此外,权重参数$w$ 在此保留集上进行训练,以减少对训练数据的过度拟合
请注意,我们的 DCNN 是使用本地部分补丁和背景补丁而不是整个图像进行训练的。这自然会将训练示例的数量增加$K$ (部件数量)。尽管 DCNN 最终输出的维数也随零件数量线性增加,但参数数量仅在最后一个全连接层中略有增加。这是因为大多数参数在不同部分之间共享,因此我们可以通过每个参数具有更多的训练示例来从更大的$K$中受益。在我们的实验中,我们通过在注释部分之间添加中间点来增加$K$ ,这导致 LSP 数据集上的 26 个部分和 FLIC 数据集上的 18 个部分。用更多的零件覆盖一个人也减少了相邻零件之间的距离,这对建模缩短有好处[27]
图结构:我们分别为 LSP 数据集定义一个全身图结构,为 FLIC 数据集定义一个上身图结构。该图将带注释的部分及其中点连接起来,形成一棵树 (请参见图E5 中的骨架以进行澄清)
设置:为简单起见,我们对所有邻居对使用相同数量的类型。我们在所有数据集(i.e. $T_{ij}=T_{ji}=11,\forall(i,j)\in\mathcal{E}$ )上将其设置为 11, 这会导致具有一个邻居的零件的 11 空间关系类型 (e.g., 手腕), 具有两个邻居的零件的 11$^2$空间关系类型 (e.g., 肘部),依此类推(回想图E1 )。由于 FLIC 图像具有更高的分辨率,因此每个部分的补丁大小在 LSP 数据集上设置为$36\times36$像素,在 FLIC 数据集上设置为$54\times54$像素。我们在两个数据集上使用类似的 DCNN 架构,由于不同的输入补丁大小,它们在第一层中有所不同。图 2 可视化了我们使用的架构。我们在实验中使用了 DCNN 的 Caffe [9] 实现
5.3 Benchmark results
我们在表$\mathbb{E}$1 中的 LSP 数据集和表$\mathbb{E}$2 中的 FLIC 数据集上显示了严格的 PCP
结果。我们还在图 3 中显示了 FLIC 数据集上的 PDJ 结果。如图所示,我
们的方法在两个数据集上都比最先进的方法表现出了显着的优势(有关详细分
5
|
[
[
0.17236328125,
0.1029052734375,
0.3095703125,
0.10479736328125,
0.3095703125,
0.11932373046875,
0.17236328125,
0.117431640625
],
[
0.17724609375,
0.1383056640625,
0.8203125,
0.1383056640625,
0.8203125,
0.1483154296875,
0.17724609375,
0.1483154296875
],
[
0.178955078125,
0.1514892578125,
0.26318359375,
0.1514892578125,
0.26318359375,
0.1634521484375,
0.178955078125,
0.1634521484375
],
[
0.1732177734375,
0.184326171875,
0.453369140625,
0.184326171875,
0.453369140625,
0.1976318359375,
0.1732177734375,
0.1976318359375
],
[
0.176513671875,
0.2108154296875,
0.82275390625,
0.2108154296875,
0.82275390625,
0.2247314453125,
0.176513671875,
0.2247314453125
],
[
0.1748046875,
0.2247314453125,
0.8203125,
0.2247314453125,
0.8203125,
0.238037109375,
0.1748046875,
0.238037109375
],
[
0.1748046875,
0.238037109375,
0.82177734375,
0.238037109375,
0.82177734375,
0.251953125,
0.1748046875,
0.251953125
],
[
0.1748046875,
0.25244140625,
0.82177734375,
0.25244140625,
0.82177734375,
0.266357421875,
0.1748046875,
0.266357421875
],
[
0.17724609375,
0.268310546875,
0.4755859375,
0.268310546875,
0.4755859375,
0.279052734375,
0.17724609375,
0.279052734375
],
[
0.17724609375,
0.28857421875,
0.82177734375,
0.28857421875,
0.82177734375,
0.3017578125,
0.17724609375,
0.3017578125
],
[
0.17724609375,
0.300537109375,
0.82177734375,
0.300537109375,
0.82177734375,
0.314453125,
0.17724609375,
0.314453125
],
[
0.17724609375,
0.31494140625,
0.82177734375,
0.31494140625,
0.82177734375,
0.328857421875,
0.17724609375,
0.328857421875
],
[
0.1748046875,
0.328857421875,
0.82177734375,
0.330078125,
0.82177734375,
0.343505859375,
0.1748046875,
0.34228515625
],
[
0.1748046875,
0.341552734375,
0.82421875,
0.343505859375,
0.82421875,
0.356689453125,
0.1748046875,
0.354736328125
],
[
0.17724609375,
0.35791015625,
0.72216796875,
0.35791015625,
0.72216796875,
0.36865234375,
0.17724609375,
0.36865234375
],
[
0.176513671875,
0.37890625,
0.82177734375,
0.37890625,
0.82177734375,
0.392578125,
0.176513671875,
0.392578125
],
[
0.17724609375,
0.392578125,
0.82177734375,
0.392578125,
0.82177734375,
0.406005859375,
0.17724609375,
0.406005859375
],
[
0.17724609375,
0.406005859375,
0.81201171875,
0.406005859375,
0.81201171875,
0.419189453125,
0.17724609375,
0.419189453125
],
[
0.176513671875,
0.419189453125,
0.82275390625,
0.419189453125,
0.82275390625,
0.43310546875,
0.176513671875,
0.43310546875
],
[
0.176513671875,
0.434326171875,
0.82275390625,
0.434326171875,
0.82275390625,
0.447509765625,
0.176513671875,
0.447509765625
],
[
0.176513671875,
0.447509765625,
0.435546875,
0.447509765625,
0.435546875,
0.4609375,
0.176513671875,
0.4609375
],
[
0.1748046875,
0.48095703125,
0.375732421875,
0.48095703125,
0.375732421875,
0.494384765625,
0.1748046875,
0.494384765625
],
[
0.176513671875,
0.50830078125,
0.82177734375,
0.50830078125,
0.82177734375,
0.521484375,
0.176513671875,
0.521484375
],
[
0.1748046875,
0.521484375,
0.82177734375,
0.52099609375,
0.82177734375,
0.53515625,
0.1748046875,
0.5361328125
],
[
0.176513671875,
0.5361328125,
0.82275390625,
0.5361328125,
0.82275390625,
0.5498046875,
0.176513671875,
0.5498046875
],
[
0.176513671875,
0.5498046875,
0.82275390625,
0.5498046875,
0.82275390625,
0.56298828125,
0.176513671875,
0.56298828125
],
[
0.1748046875,
0.56298828125,
0.56787109375,
0.564453125,
0.56787109375,
0.57763671875,
0.1748046875,
0.5771484375
],
[
0.17724609375,
0.58544921875,
0.82177734375,
0.58544921875,
0.82177734375,
0.5986328125,
0.17724609375,
0.5986328125
],
[
0.176513671875,
0.5986328125,
0.82177734375,
0.5986328125,
0.82177734375,
0.6123046875,
0.176513671875,
0.6123046875
],
[
0.17724609375,
0.6142578125,
0.8203125,
0.6142578125,
0.8203125,
0.625,
0.17724609375,
0.625
],
[
0.1748046875,
0.62548828125,
0.82177734375,
0.62548828125,
0.82177734375,
0.6396484375,
0.1748046875,
0.6396484375
],
[
0.176513671875,
0.64013671875,
0.82177734375,
0.64013671875,
0.82177734375,
0.65380859375,
0.176513671875,
0.65380859375
],
[
0.17724609375,
0.65380859375,
0.82421875,
0.65380859375,
0.82421875,
0.66748046875,
0.17724609375,
0.66748046875
],
[
0.176513671875,
0.66845703125,
0.390625,
0.66845703125,
0.390625,
0.681640625,
0.176513671875,
0.681640625
],
[
0.17724609375,
0.689453125,
0.82177734375,
0.689453125,
0.82177734375,
0.70263671875,
0.17724609375,
0.70263671875
],
[
0.17724609375,
0.7041015625,
0.82177734375,
0.7041015625,
0.82177734375,
0.71728515625,
0.17724609375,
0.71728515625
],
[
0.176513671875,
0.71728515625,
0.200927734375,
0.71728515625,
0.200927734375,
0.72998046875,
0.176513671875,
0.72998046875
],
[
0.176513671875,
0.73779296875,
0.82177734375,
0.73779296875,
0.82177734375,
0.751953125,
0.176513671875,
0.751953125
],
[
0.17724609375,
0.751953125,
0.82275390625,
0.751953125,
0.82275390625,
0.76513671875,
0.17724609375,
0.76513671875
],
[
0.17724609375,
0.767578125,
0.82177734375,
0.767578125,
0.82177734375,
0.7822265625,
0.17724609375,
0.7822265625
],
[
0.17724609375,
0.77978515625,
0.82177734375,
0.77978515625,
0.82177734375,
0.79443359375,
0.17724609375,
0.79443359375
],
[
0.17724609375,
0.79541015625,
0.82177734375,
0.79541015625,
0.82177734375,
0.8095703125,
0.17724609375,
0.8095703125
],
[
0.17724609375,
0.8095703125,
0.82275390625,
0.8095703125,
0.82275390625,
0.82275390625,
0.17724609375,
0.82275390625
],
[
0.17724609375,
0.82275390625,
0.65283203125,
0.82275390625,
0.65283203125,
0.8359375,
0.17724609375,
0.8359375
],
[
0.1748046875,
0.85595703125,
0.351318359375,
0.85595703125,
0.351318359375,
0.869140625,
0.1748046875,
0.869140625
],
[
0.176513671875,
0.88330078125,
0.82275390625,
0.88330078125,
0.82275390625,
0.896484375,
0.176513671875,
0.896484375
],
[
0.176513671875,
0.896484375,
0.82275390625,
0.896484375,
0.82275390625,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.17724609375,
0.9111328125,
0.82177734375,
0.9111328125,
0.82177734375,
0.9248046875,
0.17724609375,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"5Experiment",
"本节介绍了数据集,阐明了评估指标,描述了我们的实验设置,提供了比较评估结果并给出",
"了诊断实验。",
"5.1Datasets and Evaluation Metrics",
"我们在两个公开可用的人体姿势估计基准上进行了实验:(i)“利兹运动姿势”(LSP)数据",
"集E10],其中包含来自运动活动的1000个训练和1000个测试图像带有注释的全身人体",
"姿势的图像;(i)“好莱坞10X人体标注的框架”。我们遵循以前的工作,并在两个基准上",
"使用以观察者为中心的注释。为了训练我们的模型,我们还使用了来自INRIAPerson数据",
"集3的负训练图像(这些图像不包含人)",
"我们使用最流行的评估指标,以便与以前的工作进行比较。正确零件百分比(PCP)是包括",
"LSP数据集在内的多个基准的标准评估指标。但是,如[27]中所述,PCP的几种替代解释",
"可能会导致严重不同的结果。在我们的论文中,除非另有说明,否则我们使用更严格的版",
"本,即我们仅评估一个测试图像的单个最高评分估计结果,并且如果其两个分段端点(关",
"节)都位于50%内,则认为身体部位是正确的。地面实况注释端点的长度(LSP数据集上",
"的每个测试图像仅包含一个注释的人)。我们将此版本的PCP称为严格PCP",
"在FLIC数据集上,我们同时使用严格的PCP和与之一起指定的评估指标E[20]:检测到",
"的接头百分比(PDJ)。PDJ通过改变定位精度阈值,使用正确定位关节的百分比曲线来测",
"量性能。定位精度阈值由每个地面真实姿势的尺度(定义为左肩和右臀部之间的距离)归",
"化,使其尺度不变。FLIC图像中有多个人,因此每个地面真相人也都带有一个躯干检测框",
"注释。在评估过程中,我们通过将颈部限制在由提供的躯干框定义的窗口内,为每个地面实",
"况人员返回一个得分最高的估计结果",
"5.2Implementation detail",
"数据增强:我们的DCNN具有数百万个参数,而只有数千个训练图像可用。为了减少过拟",
"合,我们通过360°旋转正训练图像来增强训练数据。这些图像也被水平翻转以使训练图像",
"加倍。这增加了与其邻居具有不同空间关系的身体部位的训练示例的数量(参见图E1中左",
"面板对角线的肘部)。我们将随机阳性图像作为DCNN训练的验证集。此外,权重参数W",
"在此保留集上进行训练,以减少对训练数据的过度拟合",
"请注意,我们的DCNN是使用本地部分补丁和背景补丁而不是整个图像进行训练的。这自",
"然会将训练示例的数量增加K(部件数量)。尽管DCNN最终输出的维数也随零件数量线",
"性增加,但参数数量仅在最后一个全连接层中略有增加。这是因为大多数参数在不同部分",
"之间共享,因此我们可以通过每个参数具有更多的训练示例来从更大的K中受益。在我们",
"的实验中,我们通过在注释部分之间添加中间点来增加K,这导致LSP数据集上的26个",
"部分和FLIC数据集上的18个部分。用更多的零件覆盖一个人也减少了相邻零件之间的距",
"离,这对建模缩短有好处[27]",
"图结构:我们分别为LSP数据集定义一个全身图结构,为FLIC数据集定义一个上身图结",
"构。该图将带注释的部分及其中点连接起来,形成一棵树(请参见图E5中的骨架以进行澄",
"清)",
"设置:为简单起见,我们对所有邻居对使用相同数量的类型。我们在所有数据集(i.e.",
"Tii=Ti=11,V(i.i)Eε)上将其设置为11,这会导致具有一个邻居的零件的11空间关",
"系类型(e.g.,手腕),具有两个邻居的零件的112空间关系类型(e.g-,肘部),依此类推",
"(回想图E1)。由于FLIC图像具有更高的分辨率,因此每个部分的补丁大小在LSP数据",
"集上设置为36×36像素,在FLIC数据集上设置为54×54像素。我们在两个数据集上使",
"用类似的DCNN架构,由于不同的输人补丁大小,它们在第一层中有所不同。图2可视化",
"了我们使用的架构。我们在实验中使用了DCNN的Caffe[9]实现",
"5.3Benchmark results",
"我们在表E1中的LSP数据集和表E2中的FLIC数据集上显示了严格的PCP",
"结果。我们还在图3中显示了FLIC数据集上的PDJ结果。如图所示,我",
"们的方法在两个数据集上都比最先进的方法表现出了显着的优势(有关详细分",
"5"
] |
{
"arxiv_id": "1407.3399",
"language": "zh",
"page_idx": 4
}
|
||
2006.15078-zh-0
|
2006.15078-zh-0.jpg
|
Continual Learning from the Perspective of Compression
$\mathrm{Xu~He~}^{1}$ $\mathrm{Min~Lin~}^{2}$
。3in
$\operatorname{Abstract}$
Connectionist models such as neural networks suffer from catastrophic forgetting. In this work, we study this problem from the perspective of information theory and define forgetting as the increase of description lengths of previous data when they are compressed with a sequentially learned model. In addition, we show that continual learning approaches based on variational posterior approximation and generative replay can be considered as approximations to two prequential coding methods in compression, namely, the Bayesian mixture code and maximum ${\mathrm{likelihood~(ML)~plug-in~code.~We~compare}}$ these approaches in terms of both compression and forgetting and empirically study the reasons that limit the performance of continual learning methods based on variational posterior approximation. To address these $\operatorname*{limitations,~we~propose~a~new~continual~learn-}$ ing method that combines ML plug-in and Bayesian mixture codes.
## 1. Introduction
当顺序学习非平稳数据流时,当过去的数据不再可用时,神经网络通常会遇到灾难性遗忘的问题(Mc-) Closkey & Cohen, 1989) 。最近,这个问题在深度学习领域受到了新的关注,并且已经提出了一系列方法(有关调查,请参见(Parisi et al.,2019))来解决这个问题,以实现持续学习(CL)(Ring,1998)的目标
从直觉上讲,遗忘可以理解为有关过去数据的信息丢失。先前关于此问题的研究通过降低特定于任务的性能指标来间接测量遗忘,例如分类准确性(Lopez-Paz $\&$ Ranzato, 2017) ,回归误差 (Javed & White, 2019) 或FrechetInceptionDistance (FID) (Lesort et al., 2019) 。为了明确研究信息丢失问题,这里我们将持续学习置于信息论和最小描述长度(MDL)(Grünwald,2007) $^{1}$University of Groningen$^2$Mila. Correspondence to:
Min Lin< mavenlin@ gmail. com> .
$4^{th}$ Lifelong Learning Workshop at ICML 2020,Vienna, Austria, PMLR 108, 2020. Copyright 2020 by the au- $\operatorname{thor(s)}.$
的框架内
根据 MDL 原理,数据集内的任何规则性都可以用于压缩,并且给定数据集的最佳模型是导致数据集的最小总描述长度以及模型本身的模型。因此,MDL 将 Occam 的 Razor 原理形式化用于机器学习,并提供了模型选择的标准。MDL 的其他灵感和基础包括 Chaitin (Chaitin,2002)的“理解是压缩”假设和Solomonoff 的归纳推理理论 (Solomonoff, 1964) ,该理论证明了对世界的某些观察的最可能解释是最小的计算机程序(就其 Kolmogrov 复杂性(Kolmogorov, 1968)而言),该程序生成这些观察结果,假设世界是由未知计算机生成的
压缩透视图为机器学习中的各种问题提供了见解,包括泛化 (Arora et al., 2018) , 无监督建模 (Ollivier, 2014)和信息瓶颈 (Tishby & Zaslavsky, 2015)。最近(Blier $\&$ Ollivier, 2018)显示,MDL 工具箱中的一种特定编码方法称为 prequentialcoding,在解释为什么深度学习模型尽管具有大量参数却能很好地泛化方面优于其他编码方法,显示了泛化与压缩之间的强相关性
在这项工作中,我们表明压缩视角也可以揭示持续学
习。我们的贡献是:
$\bullet$ We provide a formal defnition of forgetting based
on information theory, which allows us to evaluate continual learning methods for generative models in a principled way.
$\cdot$ We show that two major paradigms of continual learning (variational continual learning and generative replay) can be interpreted as approximations of two prequential coding methods (Bayesian mixture coding and ML plug-in coding) in the MDL framework, thus establishing a connection between continual learning and compression.
$\bullet$ We compare different CL methods for continual
generative modeling using the proposed definition of forgetting and empirically study the limitations of the variational continual learning approaches.
$\bullet$ We introduce a new CL method that combines
the prediction strategies of the two prequential
|
[
[
0.2034912109375,
0.11236572265625,
0.76953125,
0.11297607421875,
0.76953125,
0.1307373046875,
0.2034912109375,
0.1300048828125
],
[
0.416748046875,
0.177978515625,
0.5556640625,
0.177978515625,
0.5556640625,
0.1925048828125,
0.416748046875,
0.1925048828125
],
[
0.0882568359375,
0.1944580078125,
0.13232421875,
0.1944580078125,
0.13232421875,
0.210205078125,
0.0882568359375,
0.210205078125
],
[
0.24267578125,
0.20703125,
0.32177734375,
0.20703125,
0.32177734375,
0.2247314453125,
0.24267578125,
0.2247314453125
],
[
0.5009765625,
0.208984375,
0.56884765625,
0.208984375,
0.56884765625,
0.2235107421875,
0.5009765625,
0.2235107421875
],
[
0.12091064453125,
0.2279052734375,
0.441162109375,
0.2291259765625,
0.441162109375,
0.24365234375,
0.12091064453125,
0.242431640625
],
[
0.50244140625,
0.2310791015625,
0.8837890625,
0.2310791015625,
0.8837890625,
0.24560546875,
0.50244140625,
0.24560546875
],
[
0.1217041015625,
0.24560546875,
0.441162109375,
0.24560546875,
0.441162109375,
0.2587890625,
0.1217041015625,
0.2587890625
],
[
0.5009765625,
0.246826171875,
0.8837890625,
0.24560546875,
0.8837890625,
0.260009765625,
0.5009765625,
0.261474609375
],
[
0.12091064453125,
0.260009765625,
0.439453125,
0.260009765625,
0.439453125,
0.2734375,
0.12091064453125,
0.2734375
],
[
0.50244140625,
0.261962890625,
0.8837890625,
0.261962890625,
0.8837890625,
0.27587890625,
0.50244140625,
0.27587890625
],
[
0.1217041015625,
0.27587890625,
0.441162109375,
0.27587890625,
0.441162109375,
0.2890625,
0.1217041015625,
0.2890625
],
[
0.5009765625,
0.276611328125,
0.8857421875,
0.276611328125,
0.8857421875,
0.290283203125,
0.5009765625,
0.290283203125
],
[
0.12091064453125,
0.2890625,
0.438720703125,
0.2890625,
0.438720703125,
0.302978515625,
0.12091064453125,
0.302978515625
],
[
0.5009765625,
0.292236328125,
0.8837890625,
0.292236328125,
0.8837890625,
0.30615234375,
0.5009765625,
0.30615234375
],
[
0.12091064453125,
0.30615234375,
0.441162109375,
0.30615234375,
0.441162109375,
0.3193359375,
0.12091064453125,
0.3193359375
],
[
0.5009765625,
0.30810546875,
0.8857421875,
0.30810546875,
0.8857421875,
0.3212890625,
0.5009765625,
0.3212890625
],
[
0.12091064453125,
0.3193359375,
0.439453125,
0.3193359375,
0.439453125,
0.333251953125,
0.12091064453125,
0.333251953125
],
[
0.5,
0.32080078125,
0.88623046875,
0.3212890625,
0.88623046875,
0.3359375,
0.5,
0.335205078125
],
[
0.1217041015625,
0.3359375,
0.439453125,
0.3359375,
0.439453125,
0.349853515625,
0.1217041015625,
0.349853515625
],
[
0.50244140625,
0.337158203125,
0.8857421875,
0.337158203125,
0.8857421875,
0.3515625,
0.50244140625,
0.3515625
],
[
0.1192626953125,
0.349853515625,
0.438720703125,
0.349853515625,
0.438720703125,
0.363037109375,
0.1192626953125,
0.363037109375
],
[
0.5009765625,
0.3515625,
0.88232421875,
0.352783203125,
0.88232421875,
0.367431640625,
0.5009765625,
0.3662109375
],
[
0.12091064453125,
0.3662109375,
0.441162109375,
0.3662109375,
0.441162109375,
0.380126953125,
0.12091064453125,
0.380126953125
],
[
0.5009765625,
0.3662109375,
0.8857421875,
0.367431640625,
0.8857421875,
0.3818359375,
0.5009765625,
0.380615234375
],
[
0.12091064453125,
0.380615234375,
0.439453125,
0.380615234375,
0.439453125,
0.39453125,
0.12091064453125,
0.39453125
],
[
0.50244140625,
0.3837890625,
0.64453125,
0.3837890625,
0.64453125,
0.39453125,
0.50244140625,
0.39453125
],
[
0.1217041015625,
0.396484375,
0.441162109375,
0.396484375,
0.441162109375,
0.410400390625,
0.1217041015625,
0.410400390625
],
[
0.50244140625,
0.40478515625,
0.88623046875,
0.40478515625,
0.88623046875,
0.41845703125,
0.50244140625,
0.41845703125
],
[
0.12091064453125,
0.410888671875,
0.441162109375,
0.410888671875,
0.441162109375,
0.4248046875,
0.12091064453125,
0.4248046875
],
[
0.1192626953125,
0.425537109375,
0.439453125,
0.425537109375,
0.439453125,
0.43994140625,
0.1192626953125,
0.43994140625
],
[
0.50244140625,
0.42041015625,
0.8837890625,
0.42041015625,
0.8837890625,
0.434326171875,
0.50244140625,
0.434326171875
],
[
0.5009765625,
0.43505859375,
0.8857421875,
0.43505859375,
0.8857421875,
0.448974609375,
0.5009765625,
0.448974609375
],
[
0.12091064453125,
0.44140625,
0.439453125,
0.44140625,
0.439453125,
0.455078125,
0.12091064453125,
0.455078125
],
[
0.50244140625,
0.45068359375,
0.8837890625,
0.45068359375,
0.8837890625,
0.464111328125,
0.50244140625,
0.464111328125
],
[
0.12091064453125,
0.45703125,
0.441162109375,
0.45703125,
0.441162109375,
0.47021484375,
0.12091064453125,
0.47021484375
],
[
0.1217041015625,
0.4716796875,
0.439453125,
0.4716796875,
0.439453125,
0.48486328125,
0.1217041015625,
0.48486328125
],
[
0.50244140625,
0.466552734375,
0.88232421875,
0.466552734375,
0.88232421875,
0.479736328125,
0.50244140625,
0.479736328125
],
[
0.5009765625,
0.479736328125,
0.8857421875,
0.48095703125,
0.8857421875,
0.49560546875,
0.5009765625,
0.494384765625
],
[
0.1217041015625,
0.4873046875,
0.441162109375,
0.4873046875,
0.441162109375,
0.50048828125,
0.1217041015625,
0.50048828125
],
[
0.12091064453125,
0.501953125,
0.441162109375,
0.50048828125,
0.441162109375,
0.51513671875,
0.12091064453125,
0.5166015625
],
[
0.50244140625,
0.496826171875,
0.8857421875,
0.496826171875,
0.8857421875,
0.51025390625,
0.50244140625,
0.51025390625
],
[
0.1217041015625,
0.5166015625,
0.439453125,
0.5166015625,
0.439453125,
0.53076171875,
0.1217041015625,
0.53076171875
],
[
0.5009765625,
0.51123046875,
0.521484375,
0.51123046875,
0.521484375,
0.52587890625,
0.5009765625,
0.52587890625
],
[
0.1192626953125,
0.53076171875,
0.439453125,
0.53076171875,
0.439453125,
0.54443359375,
0.1192626953125,
0.54443359375
],
[
0.50244140625,
0.5341796875,
0.8857421875,
0.5341796875,
0.8857421875,
0.54736328125,
0.50244140625,
0.54736328125
],
[
0.1217041015625,
0.546875,
0.29736328125,
0.546875,
0.29736328125,
0.56005859375,
0.1217041015625,
0.56005859375
],
[
0.50244140625,
0.5498046875,
0.63623046875,
0.5498046875,
0.63623046875,
0.56298828125,
0.50244140625,
0.56298828125
],
[
0.0882568359375,
0.58837890625,
0.22216796875,
0.59033203125,
0.22216796875,
0.60498046875,
0.0882568359375,
0.60302734375
],
[
0.515625,
0.59765625,
0.88623046875,
0.59765625,
0.88623046875,
0.611328125,
0.515625,
0.611328125
],
[
0.0906982421875,
0.6162109375,
0.47216796875,
0.6162109375,
0.47216796875,
0.6298828125,
0.0906982421875,
0.6298828125
],
[
0.53173828125,
0.61279296875,
0.8857421875,
0.61279296875,
0.8857421875,
0.626953125,
0.53173828125,
0.626953125
],
[
0.09234619140625,
0.63330078125,
0.471435546875,
0.63330078125,
0.471435546875,
0.64306640625,
0.09234619140625,
0.64306640625
],
[
0.53369140625,
0.62890625,
0.88623046875,
0.62890625,
0.88623046875,
0.642578125,
0.53369140625,
0.642578125
],
[
0.0906982421875,
0.64599609375,
0.47216796875,
0.64599609375,
0.47216796875,
0.6591796875,
0.0906982421875,
0.6591796875
],
[
0.53125,
0.642578125,
0.6748046875,
0.64306640625,
0.6748046875,
0.65771484375,
0.53125,
0.6572265625
],
[
0.0906982421875,
0.6611328125,
0.473876953125,
0.6611328125,
0.473876953125,
0.6748046875,
0.0906982421875,
0.6748046875
],
[
0.5146484375,
0.66943359375,
0.8837890625,
0.66943359375,
0.8837890625,
0.68310546875,
0.5146484375,
0.68310546875
],
[
0.08905029296875,
0.6767578125,
0.473876953125,
0.6767578125,
0.473876953125,
0.68994140625,
0.08905029296875,
0.68994140625
],
[
0.53369140625,
0.68603515625,
0.8857421875,
0.68603515625,
0.8857421875,
0.69970703125,
0.53369140625,
0.69970703125
],
[
0.09234619140625,
0.6923828125,
0.451904296875,
0.6923828125,
0.451904296875,
0.70556640625,
0.09234619140625,
0.70556640625
],
[
0.53515625,
0.7021484375,
0.8857421875,
0.7021484375,
0.8857421875,
0.71533203125,
0.53515625,
0.71533203125
],
[
0.0906982421875,
0.7138671875,
0.47216796875,
0.7138671875,
0.47216796875,
0.72802734375,
0.0906982421875,
0.72802734375
],
[
0.53515625,
0.71630859375,
0.8857421875,
0.71630859375,
0.8857421875,
0.73095703125,
0.53515625,
0.73095703125
],
[
0.09234619140625,
0.73095703125,
0.47216796875,
0.73095703125,
0.47216796875,
0.7412109375,
0.09234619140625,
0.7412109375
],
[
0.53369140625,
0.72998046875,
0.8857421875,
0.73095703125,
0.8857421875,
0.74560546875,
0.53369140625,
0.744140625
],
[
0.0906982421875,
0.744140625,
0.473876953125,
0.744140625,
0.473876953125,
0.75830078125,
0.0906982421875,
0.75830078125
],
[
0.53173828125,
0.7470703125,
0.88623046875,
0.7470703125,
0.88623046875,
0.76025390625,
0.53173828125,
0.76025390625
],
[
0.08905029296875,
0.76025390625,
0.473876953125,
0.76025390625,
0.473876953125,
0.7734375,
0.08905029296875,
0.7734375
],
[
0.53173828125,
0.76123046875,
0.88623046875,
0.76220703125,
0.88623046875,
0.77587890625,
0.53173828125,
0.7744140625
],
[
0.08905029296875,
0.7734375,
0.471435546875,
0.7734375,
0.471435546875,
0.787109375,
0.08905029296875,
0.787109375
],
[
0.53369140625,
0.77783203125,
0.56787109375,
0.77783203125,
0.56787109375,
0.79052734375,
0.53369140625,
0.79052734375
],
[
0.1004638671875,
0.7890625,
0.471435546875,
0.7890625,
0.471435546875,
0.80322265625,
0.1004638671875,
0.80322265625
],
[
0.08905029296875,
0.8046875,
0.473876953125,
0.8046875,
0.473876953125,
0.8193359375,
0.08905029296875,
0.8193359375
],
[
0.515625,
0.8037109375,
0.8857421875,
0.8037109375,
0.8857421875,
0.818359375,
0.515625,
0.818359375
],
[
0.53173828125,
0.8193359375,
0.8837890625,
0.818359375,
0.8837890625,
0.83349609375,
0.53173828125,
0.833984375
],
[
0.108642578125,
0.82763671875,
0.47216796875,
0.82763671875,
0.47216796875,
0.84228515625,
0.108642578125,
0.84228515625
],
[
0.0882568359375,
0.84033203125,
0.32275390625,
0.84130859375,
0.32275390625,
0.85595703125,
0.0882568359375,
0.85498046875
],
[
0.53369140625,
0.83544921875,
0.8857421875,
0.83544921875,
0.8857421875,
0.8486328125,
0.53369140625,
0.8486328125
],
[
0.53173828125,
0.849609375,
0.8759765625,
0.849609375,
0.8759765625,
0.86279296875,
0.53173828125,
0.86279296875
],
[
0.0906982421875,
0.8671875,
0.47216796875,
0.8671875,
0.47216796875,
0.880859375,
0.0906982421875,
0.880859375
],
[
0.08905029296875,
0.8798828125,
0.473876953125,
0.8798828125,
0.473876953125,
0.89306640625,
0.08905029296875,
0.89306640625
],
[
0.51318359375,
0.876953125,
0.8837890625,
0.876953125,
0.8837890625,
0.89013671875,
0.51318359375,
0.89013671875
],
[
0.0882568359375,
0.8916015625,
0.1422119140625,
0.89306640625,
0.1405029296875,
0.9072265625,
0.08660888671875,
0.90478515625
],
[
0.53173828125,
0.892578125,
0.88623046875,
0.892578125,
0.88623046875,
0.90576171875,
0.53173828125,
0.90576171875
]
] |
[
"Continual Learning from the Perspective of Compression",
"Xu He1 Min Lin?",
"。3in",
"Abstract",
"的框架内",
"Connectionist models such as neural net-",
"根据MDL原理,数据集内的任何规则性都可以用于",
"works suffer from catastrophic forgetting. In",
"压缩,并且给定数据集的最佳模型是导致数据集的",
"this work, we study this problem from the",
"最小总描述长度以及模型本身的模型。因此,MDL",
"perspective of information theory and de-",
"将Occam的Razor原理形式化用于机器学习,并",
"fine forgetting as the increase of description",
"提供了模型选择的标准。MDL的其他灵感和基础包",
"lengths of previous data when they are com-",
"括Chaitin(Chaitin,2002)的“理解是压缩”假设和",
"pressed with a sequentially learned model.",
"Solomonoff的归纳推理理论(Solomonof,1964),该",
"In addition, we show that continual learn.",
"理论证明了对世界的某些观察的最可能解释是最小的",
"ing approaches based on variational posterior",
"计算机程序(就其Kolmogrov复杂性(Kolmogorov)",
"approximation and generative replay can be",
"1968)而言),该程序生成这些观察结果,假设世界是",
"considered as approximations to two prequen",
"由未知计算机生成的",
"tial coding methods in compression, namely,",
"压缩透视图为机器学习中的各种问题提供了见解,包",
"the Bayesian mixture code and maximum",
"likelihood (ML) plug-in code. We compare",
"括泛化(Aroraetal.,2018),无监督建模(Ollivier,",
"2014)和信息瓶颈(Tishby&Zaslavsky,2015)。最近,",
"these approaches in terms of both compres.",
"(Blier&Ollivier,2018)显示,MDL工具箱中的一种",
"sion and forgetting and empirically study the",
"reasons that limit the performance of con",
"特定编码方法称为prequentialcoding,在解释为什么",
"深度学习模型尽管具有大量参数却能很好地泛化方面",
"tinual learning methods based on variational",
"posterior approximation. To address these",
"优于其他编码方法,显示了泛化与压缩之间的强相关",
"limitations, we propose a new continual learn.",
"性",
"ing method that combines ML plug-in and",
"在这项工作中,我们表明压缩视角也可以揭示持续学",
"Bayesian mixture codes.",
"习。我们的贡献是",
"1.Introduction",
": We provide a formal definition of forgetting based",
"当顺序学习非平稳数据流时,当过去的数据不再可",
"on information theory, which allows us to evaluate",
"用时,神经网络通常会遇到灾难性遗忌的问题(Mc",
"continual learning methods for generative models",
"Closkey&Cohen,1989)。最近,这个问题在深度学",
"in a principled way.",
"习领域受到了新的关注,并且已经提出了一系列方法",
". We show that two major paradigms of contin",
"(有关调查,请参见(Parisietal.,2019))来解决这个",
"ual learning (variational continual learning and",
"问题,以实现持续学习(CL)(Ring,1998)的目标",
"generative replay) can be interpreted as ap-",
"从直觉上讲,遗忘可以理解为有关过去数据的信息丢",
"proximations of two prequential coding methods",
"失。先前关于此问题的研究通过降低特定于任务的性",
"(Bayesian mixture coding and ML plug-in coding)",
"能指标来间接测量遗忘,例如分类准确性(Lopez-Paz",
"in the MDL framework, thus establishing a con-",
"&Ranzato,2017),回归误差(Javed&White2019)或",
"nection between continual learning and compres-",
"FrechetInceptionDistance (FID)(Lesort et al., 2019)",
"sion.",
"为了明确研究信息丢失问题,这里我们将持续学习",
"置于信息论和最小描述长度(MDL)(Grinwald,2007)",
": We compare different CL methods for continual",
"generative modeling using theproposed definition",
"1 University of Groningen 2 Mila , Correspondence to:",
"Min Lin < mavenlin@gmail.com >.",
"of forgetting and empirically study the limitations",
"of the variational continual learning approaches",
"4th Lifelong Learning Workshop at ICML 2020, Vienna,",
"Austria,PMLR108,2020.Copyright 2020by the au-",
": We introduce a new CL method that combines",
"thor(s).",
"the prediction strategies of the two prequential"
] |
{
"arxiv_id": "2006.15078",
"language": "zh",
"page_idx": 0
}
|
||
2301.06602-zh-1
|
2301.06602-zh-1.jpg
|
2022 年 TEDB 系统描述到委婉语检测共享任务
Peratham Wiriyathammabhum
peratham.bkk@gmail.com
## Abstract
In this report, we describe our Transformers for euphemism detection baseline (TEDB) submissions to a shared task on euphemism detection 2022. We cast the task of predicting euphemism as text classification. We considered Transformer-based models which are the current state-of-the-art methods for text classification. We explored different training schemes, pretrained models, and model architectures. Our best result of 0.816 F1-score (0.818 precision and 0.814 recall) consists of a euphemism-detection-finetuned
RoBERTa
TweetEval/TimeLMs-pretrained
model as a feature extractor frontend with a KimCNN classifer backend trained end-toend using a cosine annealing scheduler. We observed pretrained models on sentiment analysis and offensiveness detection to correlate with more F1-score while pretraining on other tasks, such as sarcasm detection, produces less F1-scores. Also, putting more word vector channels does not improve the performance in our experiments.
### 1 $\textbf{Introduction}$
关于委婉语检测的共享任务 (Gavidia et al., 2022; Lee et al., 2022) 是关于特定图形语言检测,委婉语的自然语言处理(NLP)共享任务的第一部分。比喻语言,包括隐喻,连词,习语,双关语,夸张,比喻,拟声词等,是单词使用,其含义与字面含义不同,以传达复杂,创造性和令人回味的信息,而无需直接说明。此外,比喻语言可能会使用上下文,例如与其他事物,动作,社交体验或图像的关系。比喻语言无处不在,因为它们充满了我们无数的日常活动而没有通知 (Lakoff and Johnson, 2008)
委婉语是温和或间接的单词或短语,用于代替令人反感或不愉快的单词或短语。此外,委婉语被用来标记亵渎或礼貌地指代敏感和禁忌的话题,如死亡,残疾或疾病。委婉语的应用涉及社会互动,如政治或医患话语。委婉语也可能是危险的,因为恐怖分子可以使用委婉语
Table 1: An Example instance from the shared task dataset. The first sentence is more offensive literally. The phrase“collateral damage" should be replaced with politeness. The second sentence was revised by using the phrase“advanced age" to provide more politeness than some possible words or phrases like old, near expiration, or wrinkly.
<table>
<tbody>
<tr>
<th>Sentence</th>
<th>Label</th>
</tr>
<tr>
<td>Sentence All the deaths were just <collateral damage> in their cause. In spite of his <advanced age> Rollins remains one of iazz's most talented 1mprovisers. </td>
<td>Label lnon- euphemistic [euphemistic]</td>
</tr>
<tr>
<td>All the deaths were just <collateral damage> in their cause.</td>
<td>[non-euphemistic</td>
</tr>
</tbody>
</table>
进行语言操纵和单独的消息和含义 (Matusitz, 2016)。此外,礼貌地称呼恐怖主义会导致媒体和政府官员的语义偏离和注意力偏离现实, 这使得公民在处于危险之中时降低了警惕
以前的作品 (Gavidia et al., 2022; Lee et al., 2022) 利用 RoBERTa 模型 (Liu et al., 2019) 进行情绪和攻击性评分,因为礼貌是委婉语的目的。委婉语应使句子在情感上更加积极,并减少 (Bakhriddionova, 2021) 的攻击性。我们的系统以这些发现为基础,并探索基于变压器的模型,这些模型经过预先训练以进行情绪分析或攻击性检测
我们的最佳提交在排行榜上排名 6$^{th}$ 。我们系统的代码是开源的,可在我们的 GitHub 存储库$^{1}$中获得
### 2 $\mathbf{Models}$
# 2.1 Pretrained Transformers
Huggingface 库 (Wolf et al., 2020) 是用于变压器模型 (Vaswani et al.,2017) 的广泛平台。Huggingface 为适合许多任务的预训练变压器提供了许多检查点作为模型中心。TweetEval (Bar-
$^{1}$https: / / gi thub. com/ perathambkk/ euphemi sm\_
shared\_task\_emnlp2022
|
[
[
0.25439453125,
0.0955810546875,
0.7421875,
0.0955810546875,
0.7421875,
0.10986328125,
0.25439453125,
0.10986328125
],
[
0.364501953125,
0.144287109375,
0.63818359375,
0.1455078125,
0.63818359375,
0.1602783203125,
0.364501953125,
0.1591796875
],
[
0.391357421875,
0.162109375,
0.61376953125,
0.162109375,
0.61376953125,
0.177001953125,
0.391357421875,
0.177001953125
],
[
0.2626953125,
0.254150390625,
0.341796875,
0.254150390625,
0.341796875,
0.268310546875,
0.2626953125,
0.268310546875
],
[
0.51123046875,
0.251708984375,
0.880859375,
0.251708984375,
0.880859375,
0.265380859375,
0.51123046875,
0.265380859375
],
[
0.51318359375,
0.267333984375,
0.875,
0.267333984375,
0.875,
0.27783203125,
0.51318359375,
0.27783203125
],
[
0.145263671875,
0.281982421875,
0.45751953125,
0.281982421875,
0.45751953125,
0.295654296875,
0.145263671875,
0.295654296875
],
[
0.51123046875,
0.28076171875,
0.8818359375,
0.28076171875,
0.8818359375,
0.29443359375,
0.51123046875,
0.29443359375
],
[
0.145263671875,
0.29638671875,
0.456787109375,
0.29638671875,
0.456787109375,
0.31005859375,
0.145263671875,
0.31005859375
],
[
0.51318359375,
0.295654296875,
0.880859375,
0.295654296875,
0.880859375,
0.308837890625,
0.51318359375,
0.308837890625
],
[
0.145263671875,
0.31005859375,
0.45751953125,
0.31005859375,
0.45751953125,
0.32373046875,
0.145263671875,
0.32373046875
],
[
0.51123046875,
0.30810546875,
0.880859375,
0.308837890625,
0.880859375,
0.32373046875,
0.51123046875,
0.322509765625
],
[
0.145263671875,
0.32373046875,
0.45751953125,
0.32373046875,
0.45751953125,
0.33740234375,
0.145263671875,
0.33740234375
],
[
0.51123046875,
0.32373046875,
0.880859375,
0.32373046875,
0.880859375,
0.33740234375,
0.51123046875,
0.33740234375
],
[
0.145263671875,
0.33837890625,
0.429931640625,
0.33837890625,
0.429931640625,
0.3515625,
0.145263671875,
0.3515625
],
[
0.424072265625,
0.34033203125,
0.455078125,
0.34033203125,
0.455078125,
0.3486328125,
0.424072265625,
0.3486328125
],
[
0.51318359375,
0.33837890625,
0.69775390625,
0.33837890625,
0.69775390625,
0.3515625,
0.51318359375,
0.3515625
],
[
0.14697265625,
0.35400390625,
0.456787109375,
0.35400390625,
0.456787109375,
0.364013671875,
0.14697265625,
0.364013671875
],
[
0.52294921875,
0.35693359375,
0.599609375,
0.35693359375,
0.599609375,
0.371826171875,
0.52294921875,
0.371826171875
],
[
0.767578125,
0.355712890625,
0.8154296875,
0.355712890625,
0.8154296875,
0.371826171875,
0.767578125,
0.371826171875
],
[
0.14697265625,
0.3681640625,
0.456787109375,
0.3681640625,
0.456787109375,
0.37890625,
0.14697265625,
0.37890625
],
[
0.5263671875,
0.37353515625,
0.70947265625,
0.37353515625,
0.70947265625,
0.38720703125,
0.5263671875,
0.38720703125
],
[
0.72119140625,
0.37353515625,
0.85986328125,
0.37353515625,
0.85986328125,
0.388427734375,
0.72119140625,
0.388427734375
],
[
0.145263671875,
0.38134765625,
0.29296875,
0.38134765625,
0.29296875,
0.394287109375,
0.145263671875,
0.394287109375
],
[
0.291259765625,
0.385498046875,
0.297119140625,
0.385498046875,
0.297119140625,
0.39013671875,
0.291259765625,
0.39013671875
],
[
0.29296875,
0.380126953125,
0.45751953125,
0.380126953125,
0.45751953125,
0.393798828125,
0.29296875,
0.393798828125
],
[
0.5283203125,
0.388427734375,
0.68115234375,
0.3896484375,
0.68115234375,
0.40380859375,
0.5283203125,
0.402587890625
],
[
0.145263671875,
0.3955078125,
0.45751953125,
0.3955078125,
0.45751953125,
0.4091796875,
0.145263671875,
0.4091796875
],
[
0.14697265625,
0.4091796875,
0.45751953125,
0.4091796875,
0.45751953125,
0.4228515625,
0.14697265625,
0.4228515625
],
[
0.5283203125,
0.40673828125,
0.63232421875,
0.40673828125,
0.63232421875,
0.418701171875,
0.5283203125,
0.418701171875
],
[
0.145263671875,
0.42333984375,
0.45751953125,
0.42333984375,
0.45751953125,
0.43701171875,
0.145263671875,
0.43701171875
],
[
0.5283203125,
0.42333984375,
0.63232421875,
0.42333984375,
0.63232421875,
0.435302734375,
0.5283203125,
0.435302734375
],
[
0.74072265625,
0.42333984375,
0.84228515625,
0.42333984375,
0.84228515625,
0.435302734375,
0.74072265625,
0.435302734375
],
[
0.145263671875,
0.438232421875,
0.459228515625,
0.438232421875,
0.459228515625,
0.451904296875,
0.145263671875,
0.451904296875
],
[
0.5263671875,
0.435791015625,
0.65576171875,
0.438232421875,
0.65576171875,
0.453125,
0.5263671875,
0.45068359375
],
[
0.14697265625,
0.45361328125,
0.364501953125,
0.45361328125,
0.364501953125,
0.46435546875,
0.14697265625,
0.46435546875
],
[
0.38623046875,
0.453125,
0.456787109375,
0.453125,
0.456787109375,
0.46435546875,
0.38623046875,
0.46435546875
],
[
0.5283203125,
0.45361328125,
0.69775390625,
0.45361328125,
0.69775390625,
0.468505859375,
0.5283203125,
0.468505859375
],
[
0.1485595703125,
0.46728515625,
0.456787109375,
0.46728515625,
0.456787109375,
0.47802734375,
0.1485595703125,
0.47802734375
],
[
0.5283203125,
0.47021484375,
0.6767578125,
0.47021484375,
0.6767578125,
0.485107421875,
0.5283203125,
0.485107421875
],
[
0.145263671875,
0.479736328125,
0.45751953125,
0.479736328125,
0.45751953125,
0.493408203125,
0.145263671875,
0.493408203125
],
[
0.5263671875,
0.488037109375,
0.62060546875,
0.488037109375,
0.62060546875,
0.49951171875,
0.5263671875,
0.49951171875
],
[
0.14697265625,
0.496337890625,
0.456787109375,
0.496337890625,
0.456787109375,
0.50732421875,
0.14697265625,
0.50732421875
],
[
0.145263671875,
0.5087890625,
0.459228515625,
0.5087890625,
0.459228515625,
0.5224609375,
0.145263671875,
0.5224609375
],
[
0.51318359375,
0.5126953125,
0.87890625,
0.51318359375,
0.87890625,
0.52783203125,
0.51318359375,
0.52685546875
],
[
0.14697265625,
0.52490234375,
0.456787109375,
0.52490234375,
0.456787109375,
0.53515625,
0.14697265625,
0.53515625
],
[
0.51318359375,
0.52978515625,
0.880859375,
0.52978515625,
0.880859375,
0.54345703125,
0.51318359375,
0.54345703125
],
[
0.14697265625,
0.5390625,
0.456787109375,
0.5390625,
0.456787109375,
0.5498046875,
0.14697265625,
0.5498046875
],
[
0.145263671875,
0.55029296875,
0.456787109375,
0.55029296875,
0.456787109375,
0.56396484375,
0.145263671875,
0.56396484375
],
[
0.5146484375,
0.5458984375,
0.8818359375,
0.5458984375,
0.8818359375,
0.55859375,
0.5146484375,
0.55859375
],
[
0.145263671875,
0.5654296875,
0.455078125,
0.5654296875,
0.455078125,
0.5791015625,
0.145263671875,
0.5791015625
],
[
0.51318359375,
0.5625,
0.8427734375,
0.5625,
0.8427734375,
0.576171875,
0.51318359375,
0.576171875
],
[
0.1435546875,
0.5791015625,
0.45751953125,
0.580078125,
0.45751953125,
0.59423828125,
0.1435546875,
0.59326171875
],
[
0.5322265625,
0.5791015625,
0.87890625,
0.5791015625,
0.87890625,
0.5927734375,
0.5322265625,
0.5927734375
],
[
0.14697265625,
0.5966796875,
0.258544921875,
0.5966796875,
0.258544921875,
0.60693359375,
0.14697265625,
0.60693359375
],
[
0.51318359375,
0.59423828125,
0.880859375,
0.59423828125,
0.880859375,
0.60791015625,
0.51318359375,
0.60791015625
],
[
0.51318359375,
0.61083984375,
0.87744140625,
0.61083984375,
0.87744140625,
0.62451171875,
0.51318359375,
0.62451171875
],
[
0.1158447265625,
0.62255859375,
0.145263671875,
0.62255859375,
0.145263671875,
0.63427734375,
0.1158447265625,
0.63427734375
],
[
0.1485595703125,
0.62060546875,
0.264404296875,
0.62158203125,
0.264404296875,
0.6357421875,
0.1485595703125,
0.63525390625
],
[
0.51123046875,
0.6259765625,
0.880859375,
0.6259765625,
0.880859375,
0.6396484375,
0.51123046875,
0.6396484375
],
[
0.118408203125,
0.646484375,
0.48779296875,
0.646484375,
0.48779296875,
0.66015625,
0.118408203125,
0.66015625
],
[
0.5146484375,
0.6435546875,
0.880859375,
0.6435546875,
0.880859375,
0.65673828125,
0.5146484375,
0.65673828125
],
[
0.118408203125,
0.6630859375,
0.486083984375,
0.6630859375,
0.486083984375,
0.6767578125,
0.118408203125,
0.6767578125
],
[
0.51123046875,
0.65771484375,
0.880859375,
0.65771484375,
0.880859375,
0.67138671875,
0.51123046875,
0.67138671875
],
[
0.51123046875,
0.67333984375,
0.880859375,
0.6748046875,
0.880859375,
0.689453125,
0.51123046875,
0.6884765625
],
[
0.118408203125,
0.6796875,
0.483642578125,
0.6796875,
0.483642578125,
0.693359375,
0.118408203125,
0.693359375
],
[
0.118408203125,
0.6953125,
0.484375,
0.6953125,
0.484375,
0.71044921875,
0.118408203125,
0.71044921875
],
[
0.51318359375,
0.6923828125,
0.603515625,
0.6923828125,
0.603515625,
0.70361328125,
0.51318359375,
0.70361328125
],
[
0.5283203125,
0.705078125,
0.8818359375,
0.7060546875,
0.8818359375,
0.7236328125,
0.5283203125,
0.72265625
],
[
0.12176513671875,
0.71337890625,
0.483642578125,
0.71337890625,
0.483642578125,
0.7236328125,
0.12176513671875,
0.7236328125
],
[
0.118408203125,
0.72802734375,
0.484375,
0.72802734375,
0.484375,
0.7412109375,
0.118408203125,
0.7412109375
],
[
0.51123046875,
0.7236328125,
0.87890625,
0.7236328125,
0.87890625,
0.73681640625,
0.51123046875,
0.73681640625
],
[
0.1175537109375,
0.74365234375,
0.486083984375,
0.7421875,
0.486083984375,
0.75732421875,
0.1175537109375,
0.75830078125
],
[
0.509765625,
0.7392578125,
0.623046875,
0.74072265625,
0.623046875,
0.7548828125,
0.509765625,
0.75439453125
],
[
0.1175537109375,
0.7587890625,
0.483642578125,
0.7587890625,
0.483642578125,
0.7724609375,
0.1175537109375,
0.7724609375
],
[
0.51318359375,
0.7724609375,
0.5263671875,
0.7724609375,
0.5263671875,
0.78076171875,
0.51318359375,
0.78076171875
],
[
0.54248046875,
0.77392578125,
0.54736328125,
0.77392578125,
0.54736328125,
0.779296875,
0.54248046875,
0.779296875
],
[
0.5439453125,
0.771484375,
0.61279296875,
0.771484375,
0.61279296875,
0.783203125,
0.5439453125,
0.783203125
],
[
0.12005615234375,
0.7919921875,
0.486083984375,
0.7919921875,
0.486083984375,
0.8056640625,
0.12005615234375,
0.8056640625
],
[
0.118408203125,
0.77685546875,
0.486083984375,
0.77685546875,
0.486083984375,
0.79052734375,
0.118408203125,
0.79052734375
],
[
0.51318359375,
0.79736328125,
0.5556640625,
0.79736328125,
0.5556640625,
0.80859375,
0.51318359375,
0.80859375
],
[
0.55517578125,
0.79736328125,
0.755859375,
0.79736328125,
0.755859375,
0.81103515625,
0.55517578125,
0.81103515625
],
[
0.12005615234375,
0.81005859375,
0.455078125,
0.81005859375,
0.455078125,
0.82080078125,
0.12005615234375,
0.82080078125
],
[
0.1368408203125,
0.82470703125,
0.484375,
0.82470703125,
0.484375,
0.83837890625,
0.1368408203125,
0.83837890625
],
[
0.51123046875,
0.8193359375,
0.880859375,
0.8193359375,
0.880859375,
0.8330078125,
0.51123046875,
0.8330078125
],
[
0.118408203125,
0.84130859375,
0.484375,
0.84130859375,
0.484375,
0.85498046875,
0.118408203125,
0.85498046875
],
[
0.51318359375,
0.8359375,
0.880859375,
0.8359375,
0.880859375,
0.849609375,
0.51318359375,
0.849609375
],
[
0.118408203125,
0.85693359375,
0.484375,
0.85693359375,
0.484375,
0.87060546875,
0.118408203125,
0.87060546875
],
[
0.51123046875,
0.8515625,
0.8818359375,
0.85107421875,
0.8818359375,
0.865234375,
0.51123046875,
0.8662109375
],
[
0.118408203125,
0.87255859375,
0.484375,
0.87255859375,
0.484375,
0.8857421875,
0.118408203125,
0.8857421875
],
[
0.515625,
0.8681640625,
0.880859375,
0.8681640625,
0.880859375,
0.8818359375,
0.515625,
0.8818359375
],
[
0.1175537109375,
0.8896484375,
0.484375,
0.8896484375,
0.484375,
0.90283203125,
0.1175537109375,
0.90283203125
],
[
0.5322265625,
0.89111328125,
0.84814453125,
0.89453125,
0.84814453125,
0.9091796875,
0.5322265625,
0.90625
],
[
0.1175537109375,
0.90478515625,
0.486083984375,
0.90478515625,
0.486083984375,
0.91845703125,
0.1175537109375,
0.91845703125
],
[
0.51123046875,
0.90625,
0.67236328125,
0.90625,
0.67236328125,
0.91943359375,
0.51123046875,
0.91943359375
]
] |
[
"2022年TEDB系统描述到委婉语检测共享任务",
"Peratham Wiriyathammabhum",
"peratham.bkk@gmail.com",
"Abstract",
"Table 1: An Example instance from the shared task",
"dataset.The first sentence is more offensive literally",
"In this report, we describe our Transformers",
"The phrase “collateral damage\" should be replaced",
"for euphemism detection baseline (TEDB)",
"with politeness. The second sentence was revised by",
"submissions to a shared task on euphemism",
"using the phrase “\"advanced age\" to provide more po-",
"detection 2022. We cast the task of predict-",
"liteness than some possible words or phrases like old,",
"ing euphemism as text classification.",
"We",
"near expiration, or wrinkly.",
"considered Transformer-based models which",
"Sentence",
"Label",
"are the current state-of-the-art methods for",
"All the deaths were just",
"[non-euphemistic]",
"text classification.",
"",
"We explored different",
"<collateral damage>",
"training schemes, pretrained models,and",
"model architectures. Our best result of 0.816",
"in their cause.",
"F1-score ( 0.818 precision and 0.814 recall)",
"In spite of his",
"[euphemistic]",
"consists of a euphemism-detection-finetuned",
"<advanced age>,",
"TweetEval/TimeLMs-pretrained",
"RoBERTa",
"Rollins remains one of",
"modelas afeatureextractorfrontendwitha",
"jazz's most talented",
"KimCNN classifier backend trained end-to-",
"improvisers.",
"end using a cosine annealing scheduler.We",
"observed pretrained models on sentiment anal-",
"进行语言操纵和单独的消息和含义(Matusitz,",
"ysis and offensiveness detection to correlate",
"2016)。此外,礼貌地称呼恐怖主义会导致媒",
"withmoreF1-scorewhilepretrainingonother",
"tasks, such as sarcasm detection, produces less",
"体和政府官员的语义偏离和注意力偏离现实,",
"Fl-scores..Also, putting more word vectol",
"这使得公民在处于危险之中时降低了警惕",
"channels does not improve the performance in",
"以前的作品(Gavidia et al.,2022;Lee et al.,",
"ourexperiments.",
"2022)利用RoBERTa模型(Liuetal.,2019)进",
"行情绪和攻击性评分,因为礼貌是委婉语的目",
"1",
"Introduction",
"的。委婉语应使句子在情感上更加积极,并减",
"关于委婉语检测的共享任务(Gavidia etal.,",
"少(Bakhriddionova,2021)的攻击性。我们的系",
"2022;Leeetal.,2022)是关于特定图形语言检",
"统以这些发现为基础,并探索基于变压器的模",
"型,这些模型经过预先训练以进行情绪分析或",
"测,委婉语的自然语言处理(NLP)共享任务",
"的第一部分。比喻语言,包括隐喻,连词,习",
"攻击性检测",
"我们的最佳提交在排行榜上排名6th。我们",
"语,双关语,夸张,比喻,拟声词等,是单词使",
"用,其含义与字面含义不同,以传达复杂,创",
"系统的代码是开源的,可在我们的GitHub存",
"造性和令人回味的信息,而无需直接说明。此",
"储库1中获得",
"外,比喻语言可能会使用上下文,例如与其他",
"2",
"",
"Models",
"言无处不在,因为它们充满了我们无数的日常",
"事物,动作,社交体验或图像的关系。比喻语",
"2.1",
"Pretrained Transformers",
"活动而没有通知(LakoffandJohnson,2008)",
"委婉语是温和或间接的单词或短语,用于代",
"Huggingface库(Wolfetal.,2020)是用于变压",
"替令人反感或不愉快的单词或短语。此外,委",
"器模型(Vaswanietal.,2017)的广泛平台。Hug",
"婉语被用来标记裘渎或礼貌地指代敏感和禁",
"gingface为适合许多任务的预训练变压器提供",
"的话题,如死亡,残疾或疾病。委婉语的应用",
"了许多检查点作为模型中心。TweetEval(Bar-",
"涉及社会互动,如政治或医患话语。委婉语也",
"'https://github.com/perathambkk/euphemism",
"可能是危险的,因为恐怖分子可以使用委婉语",
"shared_task_emnlp2022"
] |
{
"arxiv_id": "2301.06602",
"language": "zh",
"page_idx": 1
}
|
||
2301.06602-zh-2
|
2301.06602-zh-2.jpg
|
bieri et al., 2020) 是一个社交 NLP 基准,其中标准化的评估协议和强大的基线,并用于七个 Twitter 分类任务。强基线后来成为可通过Huggingface 加载的预训练模型检查点
语言模型 (Loureiro et al., 2022) 中缺乏历时专业化,其中时间的变化或演变可能会破坏当前 (同步-一种在某个时刻没有任何历史的语言。)语言模型完全表现。例如,COVID19 之前的语言模型将完全不了解大流行事件。历时性和同步性是一百多年前语言学家 FerdinanddeSaussure 提出的两个互补观点 (De Saussure, 2011)。本文共享了许多特定于时间的语言模型检查点(TimeLM)
具体来说,我们使用了论文中的两个 RoBERTa 语言模型检查点 (TweetEval 和 TimeLM) , 一个用于情感分析('cardiffnlp/twitter-roberta-base-sentimentlatest') ,另一个用于攻击性检测('cardiffnlp/twitter-roberta-base-offensive'),如X。我们对它们进行了微调,以将委婉语检测为文本分类
2.2 Convolutional Neural Networks Backend
卷积神经网络(CNN)主要用于视觉任务,首先是手写数字识别,因为它具有 2D 数据 (LeCun et al., 1998) 的平移不变性。KimCNN (Kim, 2014)提出了一些修改,可以在预训练的单词向量上对 CNN 进行顶部微调以进行句子分类。本文的结果来自一个简单的 CNN,带有一点参数调整和静态向量
我们进一步执行了一些修改,将来自所有RoBERTa 层的隐藏状态输出连接成一个字向量,而是端到端地微调整个模型。我们还使用微调预训练变压器的检查点作为 RoBERTa 的起点。我们还尝试将两个单词向量组合为多通道 KimCNN, 并使用两个单词向量对模型进行微调,以进行端到端的情感分析和攻击性检测, 而不是像原始论文那样冻结一个单词向量通道
# 3 Experimental Setup
我们的输入由三句话语,前,后的句子和包含委婉术语的句子组成。我们没有观察到删除任何特殊字符的任何改进,包括数据集中给出的委婉术语周围的“<”和“>”符号。我们使用了 150 令牌的最大输入长度,因为我们发现它是适合我们的启发式 GPU 内存的许多合理的批量大小(在我们的情况下为4-20 )。此外, 考虑到图 1 中的直方图绘制,它似乎涵盖了大多数数据实例。我们在每个时代结束时对模型进行了抽样。数据集有 1572 训练实例和 393测试实例
我们所有的实验都是在 NVIDIATeslaT4GPU 上的 GoogleColab 设置中完成的。我们使用 4- 20 范围内的批量大小和$\{2.5e-5,2e-5,1e-$ $5,7.5e-6\}$集合中 AdamW 优化器 (Loshchilov and Hutter, 2018) 的学习速率进行所有实验。我们考虑了带重启的线性退火调度器和余弦退火调度器。循环号在$\{5,8\}$的集合中。此外,添加预热步骤没有任何区别,因此我们在所有实验中将预热步骤设置为零
### 3.1 Earlv Stopping Criterion for Empirical Risk Minimization
我们采用了零耐心的早期停止训练策略模式(Prechelt, 1998; Bengio, 2012)。我们改变了训练时期,直到训练指标通过手动监控饱和,然后在那个时期结束时停止。我们尝试将训练数据拆分为训练集和开发集,但根据经验,我们发现数据集大小太小,无法仅对有效的保留模式执行准确的估计/交叉验证。由于这些原因, 我们只依赖于我们对训练集的启发式
理论上简单地说,给定一个用于微调的小数据,使用保持的验证集估计模型性能并不容易。留一法交叉验证(LOOCV)是合适的,但可能需要更多的计算成本。即使$k$ -fold 交叉验证具有$k$的高值,这是 LOOCV 的一个不太极端的情况,仍然需要大量的计算成本。此外, 如果我们拆分小数据,我们的模型可能适合火车拆分,但不适合验证拆分。该模型不太可能在验证拆分上表现良好,特别是当训练仍然不适合任务时,考虑到要训练的数据较少,并且数据匮乏的模型容量较大。因此,对于适合整个训练数据的模型,它肯定会有一个弱的误差上限
这给了我们一种直觉,训练我们的模型只是为了粉碎整个训练数据,并在基本的训练测试设置(经验风险最小化)中停止训练。在我们的另一个简单的直觉中,从给定的小数据中保留一些训练数据,通过(随机)过滤掉一些数据以进行不准确的概括性估计来隐式地降低模型容量,并让模型错误地预测它们,这将是很奇怪的。此外,使用更多的数据进行训练可以降低偏差-方差分解框架中的模型方差误差项
3.2 Finetuning Pretrained Transformers
我们比较了许多我们认为适合该任务的可用huggingfacehub 的预训练检查点,它们是多语言 Twitter 政治情感分析 (Antypas et al.),仇恨语音检测 (Aluru et al., 2020) , Twitter 讽刺检测(Ghosh et al., 2020; Raffel et al., 2020) , { Twitter 英} 语情感分析 (Nguyen et al., 2020; Loureiro et al., 2022) , 多语言俄语-英语 TwitterCOVID-19 报告检测 XMATHX\_。变压器模型包括 BERT
|
[
[
0.118408203125,
0.0885009765625,
0.486083984375,
0.0885009765625,
0.486083984375,
0.09857177734375,
0.118408203125,
0.09857177734375
],
[
0.5322265625,
0.0885009765625,
0.87890625,
0.0885009765625,
0.87890625,
0.09857177734375,
0.5322265625,
0.09857177734375
],
[
0.118408203125,
0.10272216796875,
0.48779296875,
0.10272216796875,
0.48779296875,
0.11639404296875,
0.118408203125,
0.11639404296875
],
[
0.51123046875,
0.10272216796875,
0.8759765625,
0.10272216796875,
0.8759765625,
0.11639404296875,
0.51123046875,
0.11639404296875
],
[
0.1175537109375,
0.1175537109375,
0.48779296875,
0.119384765625,
0.48779296875,
0.133056640625,
0.1175537109375,
0.1312255859375
],
[
0.51123046875,
0.12054443359375,
0.861328125,
0.12054443359375,
0.861328125,
0.1312255859375,
0.51123046875,
0.1312255859375
],
[
0.1175537109375,
0.1353759765625,
0.4189453125,
0.1353759765625,
0.4189453125,
0.1484375,
0.1175537109375,
0.1484375
],
[
0.51318359375,
0.1353759765625,
0.87890625,
0.1353759765625,
0.87890625,
0.1484375,
0.51318359375,
0.1484375
],
[
0.1368408203125,
0.1519775390625,
0.484375,
0.1519775390625,
0.484375,
0.1650390625,
0.1368408203125,
0.1650390625
],
[
0.51318359375,
0.15087890625,
0.880859375,
0.15087890625,
0.880859375,
0.1644287109375,
0.51318359375,
0.1644287109375
],
[
0.118408203125,
0.168701171875,
0.483642578125,
0.168701171875,
0.483642578125,
0.1787109375,
0.118408203125,
0.1787109375
],
[
0.51123046875,
0.166259765625,
0.880859375,
0.16748046875,
0.880859375,
0.18115234375,
0.51123046875,
0.179931640625
],
[
0.118408203125,
0.18408203125,
0.486083984375,
0.18408203125,
0.486083984375,
0.19775390625,
0.118408203125,
0.19775390625
],
[
0.51318359375,
0.182861328125,
0.880859375,
0.182861328125,
0.880859375,
0.196533203125,
0.51318359375,
0.196533203125
],
[
0.12005615234375,
0.201904296875,
0.483642578125,
0.201904296875,
0.483642578125,
0.2120361328125,
0.12005615234375,
0.2120361328125
],
[
0.509765625,
0.198974609375,
0.87890625,
0.198974609375,
0.87890625,
0.2120361328125,
0.509765625,
0.2120361328125
],
[
0.12005615234375,
0.2161865234375,
0.484375,
0.2161865234375,
0.484375,
0.2298583984375,
0.12005615234375,
0.2298583984375
],
[
0.51318359375,
0.215576171875,
0.71728515625,
0.215576171875,
0.71728515625,
0.2286376953125,
0.51318359375,
0.2286376953125
],
[
0.118408203125,
0.232177734375,
0.48779296875,
0.232177734375,
0.48779296875,
0.2464599609375,
0.118408203125,
0.2464599609375
],
[
0.51318359375,
0.2423095703125,
0.5556640625,
0.2423095703125,
0.5556640625,
0.254150390625,
0.51318359375,
0.254150390625
],
[
0.5556640625,
0.2423095703125,
0.8671875,
0.2423095703125,
0.8671875,
0.255859375,
0.5556640625,
0.255859375
],
[
0.1175537109375,
0.248779296875,
0.483642578125,
0.248779296875,
0.483642578125,
0.262451171875,
0.1175537109375,
0.262451171875
],
[
0.55322265625,
0.25830078125,
0.7021484375,
0.25830078125,
0.7021484375,
0.271484375,
0.55322265625,
0.271484375
],
[
0.118408203125,
0.26416015625,
0.486083984375,
0.26416015625,
0.486083984375,
0.27783203125,
0.118408203125,
0.27783203125
],
[
0.118408203125,
0.27978515625,
0.28369140625,
0.27978515625,
0.28369140625,
0.29345703125,
0.118408203125,
0.29345703125
],
[
0.51123046875,
0.27783203125,
0.87890625,
0.27783203125,
0.87890625,
0.29150390625,
0.51123046875,
0.29150390625
],
[
0.1368408203125,
0.297607421875,
0.48779296875,
0.297607421875,
0.48779296875,
0.311279296875,
0.1368408203125,
0.311279296875
],
[
0.509765625,
0.29345703125,
0.87890625,
0.29345703125,
0.87890625,
0.30712890625,
0.509765625,
0.30712890625
],
[
0.118408203125,
0.3134765625,
0.489501953125,
0.3134765625,
0.489501953125,
0.32666015625,
0.118408203125,
0.32666015625
],
[
0.51318359375,
0.311279296875,
0.87890625,
0.311279296875,
0.87890625,
0.32177734375,
0.51318359375,
0.32177734375
],
[
0.1175537109375,
0.328857421875,
0.279541015625,
0.328857421875,
0.279541015625,
0.342529296875,
0.1175537109375,
0.342529296875
],
[
0.301513671875,
0.330078125,
0.48779296875,
0.327880859375,
0.48779296875,
0.342529296875,
0.301513671875,
0.344482421875
],
[
0.51318359375,
0.32666015625,
0.8818359375,
0.32666015625,
0.8818359375,
0.34033203125,
0.51318359375,
0.34033203125
],
[
0.118408203125,
0.345703125,
0.489501953125,
0.345703125,
0.489501953125,
0.359375,
0.118408203125,
0.359375
],
[
0.51123046875,
0.342529296875,
0.880859375,
0.34326171875,
0.880859375,
0.35693359375,
0.51123046875,
0.355712890625
],
[
0.1175537109375,
0.359375,
0.175537109375,
0.361083984375,
0.173828125,
0.3759765625,
0.1158447265625,
0.37353515625
],
[
0.1822509765625,
0.35986328125,
0.486083984375,
0.361083984375,
0.486083984375,
0.3759765625,
0.1822509765625,
0.374755859375
],
[
0.51318359375,
0.35986328125,
0.880859375,
0.35986328125,
0.880859375,
0.37353515625,
0.51318359375,
0.37353515625
],
[
0.1175537109375,
0.377685546875,
0.486083984375,
0.377685546875,
0.486083984375,
0.391357421875,
0.1175537109375,
0.391357421875
],
[
0.51318359375,
0.3759765625,
0.88330078125,
0.3759765625,
0.88330078125,
0.3896484375,
0.51318359375,
0.3896484375
],
[
0.1158447265625,
0.394287109375,
0.48779296875,
0.394287109375,
0.48779296875,
0.407958984375,
0.1158447265625,
0.407958984375
],
[
0.51318359375,
0.391357421875,
0.8076171875,
0.391357421875,
0.8076171875,
0.405029296875,
0.51318359375,
0.405029296875
],
[
0.118408203125,
0.410888671875,
0.2091064453125,
0.410888671875,
0.2091064453125,
0.4228515625,
0.118408203125,
0.4228515625
],
[
0.52880859375,
0.407958984375,
0.880859375,
0.407958984375,
0.880859375,
0.421630859375,
0.52880859375,
0.421630859375
],
[
0.51318359375,
0.42333984375,
0.880859375,
0.42333984375,
0.880859375,
0.43701171875,
0.51318359375,
0.43701171875
],
[
0.11419677734375,
0.439453125,
0.486083984375,
0.439453125,
0.486083984375,
0.453125,
0.11419677734375,
0.453125
],
[
0.51123046875,
0.439453125,
0.87890625,
0.439453125,
0.87890625,
0.453125,
0.51123046875,
0.453125
],
[
0.118408203125,
0.46142578125,
0.486083984375,
0.46142578125,
0.486083984375,
0.474365234375,
0.118408203125,
0.474365234375
],
[
0.51318359375,
0.4560546875,
0.880859375,
0.4560546875,
0.880859375,
0.4697265625,
0.51318359375,
0.4697265625
],
[
0.51318359375,
0.471435546875,
0.8818359375,
0.471435546875,
0.8818359375,
0.485107421875,
0.51318359375,
0.485107421875
],
[
0.118408203125,
0.478515625,
0.484375,
0.478515625,
0.484375,
0.4892578125,
0.118408203125,
0.4892578125
],
[
0.51318359375,
0.48681640625,
0.8818359375,
0.48681640625,
0.8818359375,
0.50048828125,
0.51318359375,
0.50048828125
],
[
0.12005615234375,
0.49462890625,
0.483642578125,
0.49462890625,
0.483642578125,
0.5048828125,
0.12005615234375,
0.5048828125
],
[
0.118408203125,
0.5087890625,
0.486083984375,
0.5087890625,
0.486083984375,
0.5224609375,
0.118408203125,
0.5224609375
],
[
0.51318359375,
0.50439453125,
0.880859375,
0.50439453125,
0.880859375,
0.51708984375,
0.51318359375,
0.51708984375
],
[
0.51318359375,
0.51953125,
0.880859375,
0.51953125,
0.880859375,
0.533203125,
0.51318359375,
0.533203125
],
[
0.118408203125,
0.525390625,
0.48779296875,
0.525390625,
0.48779296875,
0.5390625,
0.118408203125,
0.5390625
],
[
0.51123046875,
0.5361328125,
0.880859375,
0.5361328125,
0.880859375,
0.5498046875,
0.51123046875,
0.5498046875
],
[
0.118408203125,
0.5419921875,
0.483642578125,
0.5419921875,
0.483642578125,
0.552734375,
0.118408203125,
0.552734375
],
[
0.118408203125,
0.55810546875,
0.2822265625,
0.55810546875,
0.2822265625,
0.57177734375,
0.118408203125,
0.57177734375
],
[
0.5146484375,
0.55419921875,
0.87890625,
0.55419921875,
0.87890625,
0.56396484375,
0.5146484375,
0.56396484375
],
[
0.51318359375,
0.568359375,
0.880859375,
0.568359375,
0.880859375,
0.58203125,
0.51318359375,
0.58203125
],
[
0.1368408203125,
0.57470703125,
0.486083984375,
0.57470703125,
0.486083984375,
0.58837890625,
0.1368408203125,
0.58837890625
],
[
0.1158447265625,
0.5888671875,
0.484375,
0.59033203125,
0.484375,
0.60400390625,
0.1158447265625,
0.6025390625
],
[
0.51123046875,
0.5849609375,
0.87744140625,
0.5849609375,
0.87744140625,
0.595703125,
0.51123046875,
0.595703125
],
[
0.51123046875,
0.6015625,
0.5498046875,
0.6015625,
0.5498046875,
0.61328125,
0.51123046875,
0.61328125
],
[
0.12005615234375,
0.60791015625,
0.484375,
0.60791015625,
0.484375,
0.6181640625,
0.12005615234375,
0.6181640625
],
[
0.5263671875,
0.615234375,
0.87890625,
0.615234375,
0.87890625,
0.62890625,
0.5263671875,
0.62890625
],
[
0.118408203125,
0.62255859375,
0.486083984375,
0.62255859375,
0.486083984375,
0.6357421875,
0.118408203125,
0.6357421875
],
[
0.51318359375,
0.6318359375,
0.880859375,
0.6318359375,
0.880859375,
0.6455078125,
0.51318359375,
0.6455078125
],
[
0.12005615234375,
0.6396484375,
0.483642578125,
0.6396484375,
0.483642578125,
0.6494140625,
0.12005615234375,
0.6494140625
],
[
0.51123046875,
0.64794921875,
0.87890625,
0.64794921875,
0.87890625,
0.6611328125,
0.51123046875,
0.6611328125
],
[
0.12005615234375,
0.65478515625,
0.483642578125,
0.65478515625,
0.483642578125,
0.6650390625,
0.12005615234375,
0.6650390625
],
[
0.5146484375,
0.66650390625,
0.880859375,
0.66650390625,
0.880859375,
0.6767578125,
0.5146484375,
0.6767578125
],
[
0.12005615234375,
0.6728515625,
0.483642578125,
0.6728515625,
0.483642578125,
0.68310546875,
0.12005615234375,
0.68310546875
],
[
0.51123046875,
0.6787109375,
0.8818359375,
0.6796875,
0.8818359375,
0.69482421875,
0.51123046875,
0.693359375
],
[
0.12005615234375,
0.689453125,
0.483642578125,
0.689453125,
0.483642578125,
0.69970703125,
0.12005615234375,
0.69970703125
],
[
0.51318359375,
0.69775390625,
0.880859375,
0.69775390625,
0.880859375,
0.71142578125,
0.51318359375,
0.71142578125
],
[
0.11419677734375,
0.71533203125,
0.32568359375,
0.71728515625,
0.32568359375,
0.732421875,
0.11419677734375,
0.72998046875
],
[
0.51318359375,
0.7119140625,
0.880859375,
0.71337890625,
0.880859375,
0.72802734375,
0.51318359375,
0.72705078125
],
[
0.51318359375,
0.72802734375,
0.880859375,
0.728515625,
0.880859375,
0.74365234375,
0.51318359375,
0.7421875
],
[
0.118408203125,
0.74462890625,
0.484375,
0.74462890625,
0.484375,
0.75830078125,
0.118408203125,
0.75830078125
],
[
0.51123046875,
0.74462890625,
0.8671875,
0.74462890625,
0.8671875,
0.75830078125,
0.51123046875,
0.75830078125
],
[
0.12005615234375,
0.7626953125,
0.483642578125,
0.7626953125,
0.483642578125,
0.7724609375,
0.12005615234375,
0.7724609375
],
[
0.118408203125,
0.77685546875,
0.484375,
0.77685546875,
0.484375,
0.79052734375,
0.118408203125,
0.79052734375
],
[
0.51318359375,
0.771484375,
0.8447265625,
0.771484375,
0.8447265625,
0.78515625,
0.51318359375,
0.78515625
],
[
0.1175537109375,
0.79150390625,
0.483642578125,
0.79150390625,
0.483642578125,
0.8046875,
0.1175537109375,
0.8046875
],
[
0.51123046875,
0.79150390625,
0.87744140625,
0.79150390625,
0.87744140625,
0.8046875,
0.51123046875,
0.8046875
],
[
0.12176513671875,
0.81005859375,
0.483642578125,
0.81005859375,
0.483642578125,
0.82080078125,
0.12176513671875,
0.82080078125
],
[
0.51123046875,
0.80859375,
0.880859375,
0.80859375,
0.880859375,
0.822265625,
0.51123046875,
0.822265625
],
[
0.118408203125,
0.82470703125,
0.486083984375,
0.82470703125,
0.486083984375,
0.83837890625,
0.118408203125,
0.83837890625
],
[
0.51318359375,
0.826171875,
0.880859375,
0.826171875,
0.880859375,
0.8388671875,
0.51318359375,
0.8388671875
],
[
0.118408203125,
0.84130859375,
0.490234375,
0.84130859375,
0.490234375,
0.85498046875,
0.118408203125,
0.85498046875
],
[
0.51318359375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85498046875,
0.51318359375,
0.85498046875
],
[
0.1175537109375,
0.85693359375,
0.486083984375,
0.85693359375,
0.486083984375,
0.87060546875,
0.1175537109375,
0.87060546875
],
[
0.51123046875,
0.85693359375,
0.880859375,
0.85693359375,
0.880859375,
0.87060546875,
0.51123046875,
0.87060546875
],
[
0.12005615234375,
0.87353515625,
0.48779296875,
0.87353515625,
0.48779296875,
0.88720703125,
0.12005615234375,
0.88720703125
],
[
0.51123046875,
0.87353515625,
0.87890625,
0.87353515625,
0.87890625,
0.88720703125,
0.51123046875,
0.88720703125
],
[
0.118408203125,
0.8896484375,
0.489501953125,
0.8896484375,
0.489501953125,
0.90283203125,
0.118408203125,
0.90283203125
],
[
0.509765625,
0.8896484375,
0.87890625,
0.8896484375,
0.87890625,
0.90283203125,
0.509765625,
0.90283203125
],
[
0.1175537109375,
0.90380859375,
0.193115234375,
0.90625,
0.193115234375,
0.92041015625,
0.1175537109375,
0.91845703125
],
[
0.51318359375,
0.90478515625,
0.87890625,
0.90478515625,
0.87890625,
0.91845703125,
0.51318359375,
0.91845703125
]
] |
[
"bierietal.,2020)是一个社交NLP基准,其中",
"我们所有的实验都是在NVIDIATeslaT4GPU",
"标准化的评估协议和强大的基线,并用于七",
"上的GoogleColab设置中完成的。我们使用4-",
"个Twitter分类任务。强基线后来成为可通过",
"20范围内的批量大小和32.5e一5.2e-5,1e",
"Huggingface加载的预训练模型检查点",
"5,7.5e一6)集合中AdamW优化器(Loshchilov",
"语言模型(Loureiroetal.,2022)中缺乏历时",
"andHutter,2018)的学习速率进行所有实验。我",
"专业化,其中时间的变化或演变可能会破环当",
"们考虑了带重启的线性退火调度器和余弦退火",
"前(同步-一种在某个时刻没有任何历史的语",
"调度器。循环号在[5,8}的集合中。此外,添",
"言。)语言模型完全表现。例如,COVID19之",
"加预热步骤没有任何区别,因此我们在所有实",
"前的语言模型将完全不了解大流行事件。历时",
"验中将预热步骤设置为零",
"性和同步性是一百多年前语言学家Ferdinand-",
"3.1",
"Early Stopping Criterion for Empirical",
"deSaussure提出的两个互补观点(DeSaussure",
"Risk Minimization",
"2011)。本文共享了许多特定于时间的语言模",
"型检查点(TimeLM)",
"我们采用了零耐心的早期停止训练策略模式",
"具体来说,我们使用了论文中的两",
"(Prechelt,1998;Bengio,2012)。我们改变了训",
"个RoBERTa语言模型检查点(Tweet-",
"练时期:直到训练指标通过手动监控饱和,然",
"Eval和TimeLM)",
",一个用于情感",
"后在那个时期结束时停止。我们尝试将训练数",
"分析('cardiffnlp/twitter-roberta-base-sentiment-",
"据拆分为训练集和开发集,但根据经验,我们",
"latest')",
"另一个用于攻击性检测",
"发现数据集大小太小,无法仅对有效的保留模",
"('cardiffnlp/twitter-roberta-base-offensive'),如",
"式执行准确的估计/交叉验证。由于这些原因,",
"X。我们对它们进行了微调,以将委婉语检测",
"我们只依赖于我们对训练集的启发式",
"为文本分类",
"理论上简单地说,给定一个用于微调的小数",
"据,使用保持的验证集估计模型性能并不容",
"2.2Convolutional Neural Networks Backend",
"易。留一法交叉验证(LOOCV)是合适的,但",
"卷积神经网络(CNN)主要用于视觉任务,首",
"可能需要更多的计算成本。即使k-fold交叉",
"验证具有k的高值,这是LOOCV的一个不太",
"先是手写数字识别,因为它具有2D数据(Le",
"极端的情况,仍然需要大量的计算成本。此外,",
"Cunetal.1998)的平移不变性。KimCNN(Kim",
"2014)提出了一些修改,可以在预训练的单词",
"如果我们拆分小数据,我们的模型可能适合火",
"车拆分,但不适合验证拆分。该模型不太可能",
"向量上对CNN进行顶部微调以进行句子分类。",
"在验证拆分上表现良好,特别是当训练仍然不",
"本文的结果来自一个简单的CNN,带有一点",
"参数调整和静态向量",
"适合任务时,考虑到要训练的数据较少,并且",
"数据匮乏的模型容量较大。因此,对于适合整",
"我们进一步执行了一些修改,将来自所有",
"RoBERTa层的隐藏状态输出连接成一个字向",
"个训练数据的模型,它肯定会有一个弱的误差",
"上限",
"量,而是端到端地微调整个模型。我们还使用",
"这给了我们一种直觉,训练我们的模型只是",
"微调预训练变压器的检查点作为RoBERTa的",
"为了粉碎整个训练数据,并在基本的训练测试",
"起点。我们还尝试将两个单词向量组合为多通",
"设置(经验风险最小化)中停止训练。在我们",
"道KimCNN并使用两个单词向量对模型进行",
"的另一个简单的直觉中,从给定的小数据中保",
"微调,以进行端到端的情感分析和攻击性检测",
"留一些训练数据,通过(随机)过滤掉一些数",
"而不是像原始论文那样冻结一个单词向量通道",
"据以进行不准确的概括性估计来隐式地降低模",
"3Experimental Setup",
"型容量,并让模型错误地预测它们,这将是很",
"奇怪的。此外,使用更多的数据进行训练可以",
"我们的输人由三句话语,前,后的句子和包含",
"降低偏差-方差分解框架中的模型方差误差项",
"委婉术语的句子组成。我们没有观察到删除任",
"何特殊字符的任何改进,包括数据集中给出的",
"3.2Finetuning Pretrained Transformers",
"委婉术语周围的“<”和“>”符号。我们使用",
"我们比较了许多我们认为适合该任务的可用",
"了150令牌的最大输入长度,因为我们发现它",
"huggingfacehub的预训练检查点,它们是多语",
"是适合我们的启发式GPU内存的许多合理的",
"言Twitter政治情感分析(Antypasetal.),仇恨",
"批量大小(在我们的情况下为4-20)。此外,",
"语音检测(Aluruetal.2020),Twitter讽刺检测",
"考虑到图1中的直方图绘制,它似乎涵盖了大",
"(Ghosh et al., 2020; Raffel et al., 2020),Twitter 英",
"多数数据实例。我们在每个时代结束时对模型",
"语情感分析(Nguyen etal.,2020;Loureiro etal.",
"进行了抽样。数据集有1572训练实例和393",
"2022),多语言俄语-英语TwitterCOVID-19报",
"测试实例",
"告检测XMATHX_。变压器模型包括BERT"
] |
{
"arxiv_id": "2301.06602",
"language": "zh",
"page_idx": 2
}
|
||
2301.06602-zh-3
|
2301.06602-zh-3.jpg
|
Table 2: Test Fl-scores of different pretrained transformers on euphemism detection. (The number in bold is for
the best score, and in italic is for the second best.)
<table>
<tbody>
<tr>
<th>Pretrained ${\mathrm{d~Transformer}}$</th>
<th>$\operatorname{Test}\operatorname{Fl-score}$</th>
</tr>
<tr>
<td>cardiffnlp/ xlm- twitter- politics- sentiment, Hate- speech- CNERG/ dehatebert- mono- english mrm8488/ t5- base- finetuned- sarcasm- twitter- classification finiteautomata/bertweet-base-sentiment-analysis"</td>
<td>0.4693 0.6821 0.6969 0.7349</td>
</tr>
<tr>
<td>a stron trnetune Van1112 1 seline roberta- base</td>
<td>0.7776</td>
</tr>
<tr>
<td>$sagteam/covid-twitter-xlm-roberta-large$ cardiffnlp/ twitter- roberta- base- offensive</td>
<td>0.7776 0.7838</td>
</tr>
<tr>
<td>another asen</td>
<td>0.7941</td>
</tr>
<tr>
<td>$\mathbf{I}_{\mathrm{MS}}$</td>
<td>0.8064</td>
</tr>
</tbody>
</table>
tion. (The
Table 3:
detec-
<table>
<tbody>
<tr>
<th>$\mathbf{p}_{\mathrm{ret}}$ Transformer 1ner</th>
<th>$\operatorname{Test}\operatorname{F1-score}$</th>
</tr>
<tr>
<td>$-c|1mate$</td>
<td>0.7238</td>
</tr>
<tr>
<td>$\mathrm{ntiment}^{7}$</td>
<td>0.7238</td>
</tr>
<tr>
<td>feminist</td>
<td>0.7306</td>
</tr>
<tr>
<td>bortion</td>
<td>0.7446</td>
</tr>
<tr>
<td>motion rarditt</td>
<td>0.7588</td>
</tr>
<tr>
<td>emoii $card_{11}$</td>
<td>0.7615</td>
</tr>
<tr>
<td> </td>
<td>0.7651</td>
</tr>
<tr>
<td>$\operatorname{card}_{11}$H ase- hate</td>
<td>0.7665</td>
</tr>
<tr>
<td>ase- ironv carditti</td>
<td>0.7688</td>
</tr>
<tr>
<td>carditt $athe1sm$</td>
<td>0.7688</td>
</tr>
<tr>
<td>berta-base $A:$</td>
<td>0.7776</td>
</tr>
<tr>
<td>cardiffn offensive</td>
<td>0.7838</td>
</tr>
<tr>
<td>amm rasen</td>
<td>0.7941</td>
</tr>
</tbody>
</table>
<FigureHere>
前著作 (Gavidia et al., 2022; Lee et al., 2022; Bakhriddionova, 2021) 中的假设,该假设指出委婉语与情绪和攻击性有关,因为表中的前 2 个最佳分数是情绪分析和攻击性检测。此外,在这种英语委婉语检测的情况下,多语言预训练似乎没有帮助。'cardiffnlp/twitterroberta-base-sentiment-latest'RoBERTa-base 模型似乎比 TimeLMs 论文 (Loureiro et al., 2022) 中
的’finiteautomata/bertweet-base-sentimentanalysis’BERTweet 模型表现更好。因此,我们根据这些前 2 名最佳得分手预训练的TweetEval/TimeLMRoBERTa 模型 (Gururangan et al., 2020) 进一步构建我们的模型。我们知道, 这些前 2 名模型是使用 TweetEval/TimeLM 中最多数据的预训练语言模型之一
Figure 1: The distribution of the input length derived
from the shared task training set.
### 3.2.1 $\textbf{TweetEval Pretrained Language}$ Models
(Kenton and Toutanova, 2019)、{RoBERTa(Liu et al., 2019) , XLM (Conneau et al., 2018) , XLMRoBERTa (Conneau et al.,2020)和 T5 (Raffel et al.,2020),它们针对目标任务进行了微调, 它们的模型参数在拥抱面轮毂上共享
从表 2 中的测试 F1 分数中,我们甚至报告了实验中所有模型超参数设置的最佳结果,为简洁起见,我们倾向于确认上述先
但是,当我们另外比较使用表 3 中的训练方案在委婉语任务上微调的所有 TweetEval 预训练的基于 RoBERTA 的语言模型时,我们观察到 TweetEval 情感分析模型根本表现不佳。此
|
[
[
0.118408203125,
0.0843505859375,
0.880859375,
0.0843505859375,
0.880859375,
0.09442138671875,
0.118408203125,
0.09442138671875
],
[
0.1158447265625,
0.097412109375,
0.456787109375,
0.097412109375,
0.456787109375,
0.11102294921875,
0.1158447265625,
0.11102294921875
],
[
0.208251953125,
0.11639404296875,
0.38623046875,
0.11639404296875,
0.38623046875,
0.1300048828125,
0.208251953125,
0.1300048828125
],
[
0.67236328125,
0.11517333984375,
0.78515625,
0.11639404296875,
0.78515625,
0.1312255859375,
0.67236328125,
0.1300048828125
],
[
0.214111328125,
0.133056640625,
0.5224609375,
0.1318359375,
0.5224609375,
0.146728515625,
0.214111328125,
0.1478271484375
],
[
0.70361328125,
0.1341552734375,
0.75732421875,
0.1341552734375,
0.75732421875,
0.1455078125,
0.70361328125,
0.1455078125
],
[
0.214111328125,
0.1484375,
0.57080078125,
0.1484375,
0.57080078125,
0.162109375,
0.214111328125,
0.162109375
],
[
0.7021484375,
0.1484375,
0.755859375,
0.1484375,
0.755859375,
0.163330078125,
0.7021484375,
0.163330078125
],
[
0.214111328125,
0.1644287109375,
0.6484375,
0.1644287109375,
0.6484375,
0.1776123046875,
0.214111328125,
0.1776123046875
],
[
0.7021484375,
0.166259765625,
0.755859375,
0.166259765625,
0.755859375,
0.1776123046875,
0.7021484375,
0.1776123046875
],
[
0.214111328125,
0.1817626953125,
0.580078125,
0.1817626953125,
0.580078125,
0.1953125,
0.214111328125,
0.1953125
],
[
0.7001953125,
0.18115234375,
0.75732421875,
0.18115234375,
0.75732421875,
0.1953125,
0.7001953125,
0.1953125
],
[
0.210693359375,
0.198974609375,
0.57666015625,
0.198974609375,
0.57666015625,
0.2120361328125,
0.210693359375,
0.2120361328125
],
[
0.7001953125,
0.19775390625,
0.75732421875,
0.19775390625,
0.75732421875,
0.2120361328125,
0.7001953125,
0.2120361328125
],
[
0.214111328125,
0.215576171875,
0.51904296875,
0.215576171875,
0.51904296875,
0.2286376953125,
0.214111328125,
0.2286376953125
],
[
0.7001953125,
0.21435546875,
0.75732421875,
0.21435546875,
0.75732421875,
0.2286376953125,
0.7001953125,
0.2286376953125
],
[
0.214111328125,
0.23095703125,
0.51904296875,
0.23095703125,
0.51904296875,
0.24462890625,
0.214111328125,
0.24462890625
],
[
0.7001953125,
0.2298583984375,
0.75732421875,
0.2298583984375,
0.75732421875,
0.24462890625,
0.7001953125,
0.24462890625
],
[
0.2091064453125,
0.2476806640625,
0.64990234375,
0.2476806640625,
0.64990234375,
0.26123046875,
0.2091064453125,
0.26123046875
],
[
0.7001953125,
0.2476806640625,
0.75732421875,
0.2476806640625,
0.75732421875,
0.262451171875,
0.7001953125,
0.262451171875
],
[
0.21240234375,
0.26416015625,
0.6630859375,
0.26416015625,
0.6630859375,
0.27783203125,
0.21240234375,
0.27783203125
],
[
0.7001953125,
0.26318359375,
0.75732421875,
0.26318359375,
0.75732421875,
0.27783203125,
0.7001953125,
0.27783203125
],
[
0.1158447265625,
0.283935546875,
0.88330078125,
0.28515625,
0.88330078125,
0.2998046875,
0.1158447265625,
0.298583984375
],
[
0.1158447265625,
0.300537109375,
0.6708984375,
0.300537109375,
0.6708984375,
0.314208984375,
0.1158447265625,
0.314208984375
],
[
0.2166748046875,
0.319580078125,
0.39794921875,
0.319580078125,
0.39794921875,
0.333251953125,
0.2166748046875,
0.333251953125
],
[
0.66748046875,
0.317626953125,
0.779296875,
0.319580078125,
0.779296875,
0.334228515625,
0.66748046875,
0.33203125
],
[
0.219970703125,
0.3349609375,
0.5615234375,
0.3349609375,
0.5615234375,
0.3486328125,
0.219970703125,
0.3486328125
],
[
0.6962890625,
0.3349609375,
0.75146484375,
0.3349609375,
0.75146484375,
0.349853515625,
0.6962890625,
0.349853515625
],
[
0.2225341796875,
0.35400390625,
0.5283203125,
0.35400390625,
0.5283203125,
0.364013671875,
0.2225341796875,
0.364013671875
],
[
0.6962890625,
0.350830078125,
0.75146484375,
0.350830078125,
0.75146484375,
0.365234375,
0.6962890625,
0.365234375
],
[
0.219970703125,
0.3681640625,
0.57080078125,
0.3681640625,
0.57080078125,
0.3818359375,
0.219970703125,
0.3818359375
],
[
0.6943359375,
0.36767578125,
0.75146484375,
0.36767578125,
0.75146484375,
0.3818359375,
0.6943359375,
0.3818359375
],
[
0.219970703125,
0.38427734375,
0.57080078125,
0.38427734375,
0.57080078125,
0.39794921875,
0.219970703125,
0.39794921875
],
[
0.6943359375,
0.383056640625,
0.75244140625,
0.383056640625,
0.75244140625,
0.39794921875,
0.6943359375,
0.39794921875
],
[
0.2225341796875,
0.402099609375,
0.51708984375,
0.402099609375,
0.51708984375,
0.412109375,
0.2225341796875,
0.412109375
],
[
0.6943359375,
0.399658203125,
0.75244140625,
0.399658203125,
0.75244140625,
0.41455078125,
0.6943359375,
0.41455078125
],
[
0.2216796875,
0.416259765625,
0.49951171875,
0.416259765625,
0.49951171875,
0.429931640625,
0.2216796875,
0.429931640625
],
[
0.6943359375,
0.4150390625,
0.75244140625,
0.4150390625,
0.75244140625,
0.429931640625,
0.6943359375,
0.429931640625
],
[
0.219970703125,
0.43115234375,
0.5556640625,
0.431640625,
0.5556640625,
0.446533203125,
0.219970703125,
0.4453125
],
[
0.6962890625,
0.432861328125,
0.75,
0.432861328125,
0.75,
0.44482421875,
0.6962890625,
0.44482421875
],
[
0.219970703125,
0.448974609375,
0.490234375,
0.448974609375,
0.490234375,
0.4619140625,
0.219970703125,
0.4619140625
],
[
0.6943359375,
0.44775390625,
0.75244140625,
0.44775390625,
0.75244140625,
0.4619140625,
0.6943359375,
0.4619140625
],
[
0.2216796875,
0.46435546875,
0.496337890625,
0.46435546875,
0.496337890625,
0.47802734375,
0.2216796875,
0.47802734375
],
[
0.6962890625,
0.463134765625,
0.75244140625,
0.463134765625,
0.75244140625,
0.47802734375,
0.6962890625,
0.47802734375
],
[
0.219970703125,
0.48095703125,
0.568359375,
0.48095703125,
0.568359375,
0.49462890625,
0.219970703125,
0.49462890625
],
[
0.6943359375,
0.479736328125,
0.75146484375,
0.479736328125,
0.75146484375,
0.49462890625,
0.6943359375,
0.49462890625
],
[
0.2149658203125,
0.49755859375,
0.58251953125,
0.49755859375,
0.58251953125,
0.51123046875,
0.2149658203125,
0.51123046875
],
[
0.6943359375,
0.496337890625,
0.75146484375,
0.496337890625,
0.75146484375,
0.51123046875,
0.6943359375,
0.51123046875
],
[
0.21826171875,
0.51416015625,
0.5263671875,
0.51416015625,
0.5263671875,
0.52783203125,
0.21826171875,
0.52783203125
],
[
0.6943359375,
0.51318359375,
0.75146484375,
0.51318359375,
0.75146484375,
0.52783203125,
0.6943359375,
0.52783203125
],
[
0.21240234375,
0.52978515625,
0.654296875,
0.529296875,
0.654296875,
0.54345703125,
0.21240234375,
0.54443359375
],
[
0.6943359375,
0.52978515625,
0.75146484375,
0.52978515625,
0.75146484375,
0.54443359375,
0.6943359375,
0.54443359375
],
[
0.1351318359375,
0.5693359375,
0.160400390625,
0.5693359375,
0.160400390625,
0.5830078125,
0.1351318359375,
0.5830078125
],
[
0.51318359375,
0.56396484375,
0.880859375,
0.56396484375,
0.880859375,
0.57763671875,
0.51318359375,
0.57763671875
],
[
0.51123046875,
0.58056640625,
0.880859375,
0.58056640625,
0.880859375,
0.59423828125,
0.51123046875,
0.59423828125
],
[
0.1351318359375,
0.58837890625,
0.15869140625,
0.58837890625,
0.15869140625,
0.6025390625,
0.1351318359375,
0.6025390625
],
[
0.51318359375,
0.59716796875,
0.880859375,
0.59716796875,
0.880859375,
0.61083984375,
0.51318359375,
0.61083984375
],
[
0.1351318359375,
0.609375,
0.160400390625,
0.609375,
0.160400390625,
0.62158203125,
0.1351318359375,
0.62158203125
],
[
0.51318359375,
0.6123046875,
0.880859375,
0.6123046875,
0.880859375,
0.6259765625,
0.51318359375,
0.6259765625
],
[
0.12005615234375,
0.626953125,
0.160400390625,
0.62451171875,
0.162109375,
0.64111328125,
0.12176513671875,
0.6435546875
],
[
0.51123046875,
0.62744140625,
0.880859375,
0.62744140625,
0.880859375,
0.64111328125,
0.51123046875,
0.64111328125
],
[
0.1292724609375,
0.63818359375,
0.1368408203125,
0.642578125,
0.1292724609375,
0.6494140625,
0.12176513671875,
0.6455078125
],
[
0.14697265625,
0.646484375,
0.160400390625,
0.6494140625,
0.154541015625,
0.66015625,
0.14111328125,
0.65673828125
],
[
0.51123046875,
0.64453125,
0.88330078125,
0.6435546875,
0.88330078125,
0.65771484375,
0.51123046875,
0.6591796875
],
[
0.51123046875,
0.66015625,
0.8818359375,
0.66015625,
0.8818359375,
0.6748046875,
0.51123046875,
0.6748046875
],
[
0.1435546875,
0.66845703125,
0.15869140625,
0.66845703125,
0.15869140625,
0.6796875,
0.1435546875,
0.6796875
],
[
0.51318359375,
0.6767578125,
0.880859375,
0.6767578125,
0.880859375,
0.6904296875,
0.51318359375,
0.6904296875
],
[
0.14111328125,
0.68603515625,
0.160400390625,
0.68603515625,
0.160400390625,
0.69970703125,
0.14111328125,
0.69970703125
],
[
0.51318359375,
0.693359375,
0.5400390625,
0.693359375,
0.5400390625,
0.705078125,
0.51318359375,
0.705078125
],
[
0.53564453125,
0.69677734375,
0.5576171875,
0.6953125,
0.5576171875,
0.69970703125,
0.53564453125,
0.70068359375
],
[
0.5556640625,
0.69140625,
0.8818359375,
0.6923828125,
0.8818359375,
0.70703125,
0.5556640625,
0.7060546875
],
[
0.154541015625,
0.708984375,
0.160400390625,
0.708984375,
0.160400390625,
0.71533203125,
0.154541015625,
0.71533203125
],
[
0.156982421875,
0.71435546875,
0.17041015625,
0.71435546875,
0.17041015625,
0.7236328125,
0.156982421875,
0.7236328125
],
[
0.210693359375,
0.71435546875,
0.2275390625,
0.71435546875,
0.2275390625,
0.724609375,
0.210693359375,
0.724609375
],
[
0.372802734375,
0.71435546875,
0.391357421875,
0.71435546875,
0.391357421875,
0.72265625,
0.372802734375,
0.72265625
],
[
0.42822265625,
0.71435546875,
0.44580078125,
0.71435546875,
0.44580078125,
0.7236328125,
0.42822265625,
0.7236328125
],
[
0.51123046875,
0.708984375,
0.8818359375,
0.708984375,
0.8818359375,
0.72265625,
0.51123046875,
0.72265625
],
[
0.264404296875,
0.71533203125,
0.28369140625,
0.71533203125,
0.28369140625,
0.7236328125,
0.264404296875,
0.7236328125
],
[
0.318115234375,
0.71533203125,
0.337646484375,
0.71533203125,
0.337646484375,
0.7236328125,
0.318115234375,
0.7236328125
],
[
0.291259765625,
0.7255859375,
0.35107421875,
0.7255859375,
0.35107421875,
0.73291015625,
0.291259765625,
0.73291015625
],
[
0.5146484375,
0.7255859375,
0.880859375,
0.7255859375,
0.880859375,
0.7392578125,
0.5146484375,
0.7392578125
],
[
0.1175537109375,
0.73828125,
0.48779296875,
0.73828125,
0.48779296875,
0.751953125,
0.1175537109375,
0.751953125
],
[
0.509765625,
0.74072265625,
0.8818359375,
0.7412109375,
0.8818359375,
0.755859375,
0.509765625,
0.7548828125
],
[
0.1175537109375,
0.7529296875,
0.339111328125,
0.7529296875,
0.339111328125,
0.7666015625,
0.1175537109375,
0.7666015625
],
[
0.51123046875,
0.75732421875,
0.880859375,
0.75732421875,
0.880859375,
0.77099609375,
0.51123046875,
0.77099609375
],
[
0.51318359375,
0.77392578125,
0.87890625,
0.77392578125,
0.87890625,
0.78759765625,
0.51318359375,
0.78759765625
],
[
0.1175537109375,
0.7861328125,
0.48779296875,
0.7861328125,
0.48779296875,
0.7998046875,
0.1175537109375,
0.7998046875
],
[
0.51123046875,
0.7890625,
0.75732421875,
0.7880859375,
0.75732421875,
0.802734375,
0.51123046875,
0.80419921875
],
[
0.1158447265625,
0.802734375,
0.486083984375,
0.802734375,
0.486083984375,
0.81640625,
0.1158447265625,
0.81640625
],
[
0.1175537109375,
0.818359375,
0.48779296875,
0.818359375,
0.48779296875,
0.83203125,
0.1175537109375,
0.83203125
],
[
0.51123046875,
0.8193359375,
0.55322265625,
0.8193359375,
0.55322265625,
0.83056640625,
0.51123046875,
0.83056640625
],
[
0.56494140625,
0.81787109375,
0.8271484375,
0.818359375,
0.8271484375,
0.8330078125,
0.56494140625,
0.83203125
],
[
0.1175537109375,
0.8349609375,
0.486083984375,
0.8349609375,
0.486083984375,
0.8486328125,
0.1175537109375,
0.8486328125
],
[
0.56689453125,
0.83447265625,
0.62890625,
0.83447265625,
0.62890625,
0.8486328125,
0.56689453125,
0.8486328125
],
[
0.118408203125,
0.85107421875,
0.411376953125,
0.85107421875,
0.411376953125,
0.8642578125,
0.118408203125,
0.8642578125
],
[
0.51318359375,
0.85498046875,
0.87890625,
0.85546875,
0.87890625,
0.87060546875,
0.51318359375,
0.869140625
],
[
0.1368408203125,
0.87255859375,
0.486083984375,
0.87255859375,
0.486083984375,
0.8857421875,
0.1368408203125,
0.8857421875
],
[
0.51318359375,
0.87255859375,
0.880859375,
0.87255859375,
0.880859375,
0.8857421875,
0.51318359375,
0.8857421875
],
[
0.118408203125,
0.88818359375,
0.48779296875,
0.88818359375,
0.48779296875,
0.90283203125,
0.118408203125,
0.90283203125
],
[
0.51123046875,
0.88818359375,
0.880859375,
0.88818359375,
0.880859375,
0.90283203125,
0.51123046875,
0.90283203125
],
[
0.118408203125,
0.90478515625,
0.486083984375,
0.90478515625,
0.486083984375,
0.91845703125,
0.118408203125,
0.91845703125
],
[
0.509765625,
0.90478515625,
0.880859375,
0.90478515625,
0.880859375,
0.91845703125,
0.509765625,
0.91845703125
]
] |
[
"Table 2:TestF1-scores of differentpretrainedtransformers on euphemism detection.(Thenumber inbold isfor",
"the best score, and in italic is for the second best.)",
"Pretrained Transformer",
"Test F1-score",
"'cardiffnlp/xlm-twitter-politics-sentiment",
"0.4693",
"‘Hate-speech-CNERG/dehatebert-mono-english",
"0.6821",
"\"mrm8488/t5-base-finetuned-sarcasm-twitter-classification",
"0.6969",
"\"finiteautomata/bertweet-base-sentiment-analysis'",
"0.7349",
"a strong finetuned vanilla baseline: ‘roberta-base",
"0.7776",
"\"sagteam/covid-twitter-xlm-roberta-large",
"0.7776",
"\"cardiffnlp/twitter-roberta-base-offensive",
"0.7838",
"anotherstrongfinetunedvanillabaseline:“bert-base-cased",
"0.7941",
"“cardiffnlp/twitter-roberta-base-sentiment-latest' (TimeLMs)",
"0.8064",
"Table 3: Test F1-scores of different TweetEval pretrained transformers (Barbieri et al., 2020) on euphemism detec-",
"tion. (The number in bold is for the best score, and in italic is for the second best.)",
"Pretrained Transformer",
"TestF1-score",
"‘cardiffnlp/twitter-roberta-base-stance-climate",
"0.7238",
"'cardiffnlp/twitter-roberta-base-sentiment",
"0.7238",
"'cardiffnlp/twitter-roberta-base-stance-feminist'",
"0.7306",
"‘cardiffnlp/twitter-roberta-base-stance-abortion",
"0.7446",
"‘cardiffnlp/twitter-roberta-base-emotion",
"0.7588",
"cardiffnlp/twitter-roberta-base-emoji'",
"0.7615",
"'cardiffnlp/twitter-roberta-base-stance-hillary",
"0.7651",
"‘cardiffnlp/twitter-roberta-base-hate'",
"0.7665",
"cardiffnlp/twitter-roberta-base-irony",
"0.7688",
"‘cardiffnlp/twitter-roberta-base-stance-atheism'",
"0.7688",
" a strong finetuned vanilla baseline: 'roberta-base",
"0.7776",
"cardiffnlp/twitter-roberta-base-offensive\"",
"0.7838",
"another strong finetuned vanilla baseline:‘bert-base-cased'",
"0.7941",
"175",
"前著作(Gavidia et al.,2022; Lee et al.,2022;",
"Bakhriddionova,2021)中的假设,该假设指",
"150",
"出委婉语与情绪和攻击性有关,因为表中的",
"125",
"前2个最佳分数是情绪分析和攻击性检测。",
"100",
"此外,在这种英语委婉语检测的情况下,多",
"0",
"75",
"语言预训练似乎没有帮助。'cardiffnlp/twitter-",
"roberta-base-sentiment-latest'RoBERTa-base模",
"50",
"型似乎比TimeLMs论文(Loureiro et al.,2022)",
"25",
"中 ",
"",
"的'finiteautomata/bertweet-base-sentiment-",
"P",
"0",
"50",
"200",
"250",
"analysis'BERTweet模型表现更好。因此,我",
"100",
"150",
"inputlengths",
"们根据这些前2名最佳得分手预训练的",
"Figure l: The distribution of the input length derived",
"TweetEval/TimeLMRoBERTa模型(Gururangan",
"from the shared task training set.",
"etal.,2020)进一步构建我们的模型。我们知道,",
"这些前2名模型是使用TweetEval/TimeLM中",
"(Kenton and Toutanova, 2019) 、RoBERTa (Liu",
"最多数据的预训练语言模型之",
"et al., 2019)、XLM(Conneau et al., 2018),XLM-",
"RoBERTa (Conneau et al., 2020) 和 T5 (Raffel",
"3.2.1",
"TweetEval Pretrained Language",
"etal.,2020),它们针对目标任务进行了微调,",
"Models",
"它们的模型参数在拥抱面轮毂上共享",
"但是,当我们另外比较使用表3中的训练方",
"从表2中的测试F1分数中,我们甚至报",
"案在委婉语任务上微调的所有TweetEval预训",
"告了实验中所有模型超参数设置的最佳结",
"练的基于RoBERTA的语言模型时,我们观察",
"果,为简洁起见,我们倾向于确认上述先",
"到TweetEval情感分析模型根本表现不佳。此"
] |
{
"arxiv_id": "2301.06602",
"language": "zh",
"page_idx": 3
}
|
||
2301.06602-zh-4
|
2301.06602-zh-4.jpg
|
Table 4: Test F1-scores of different classifiers on euphemism detection using vanilla pretrained language ${\mathrm{models.~(The~number~in~bold~is~for~the~best~score.)}}$
<table>
<tbody>
<tr>
<th>$\mathbf{Model}$</th>
<th>RoBERTa- base</th>
</tr>
<tr>
<td>Huggingfac$e^{\prime }$s classifier</td>
<td>0.5203</td>
</tr>
<tr>
<td>$3-NN$</td>
<td>0.5446</td>
</tr>
<tr>
<td>$MLP$</td>
<td>0.4545</td>
</tr>
<tr>
<td>Decision Tree</td>
<td>0.4910</td>
</tr>
<tr>
<td>$\operatorname{Linear}$ $SVM$</td>
<td>0.4125</td>
</tr>
<tr>
<td>$\mathbf{Model}$</td>
<td>BERT- base- cased</td>
</tr>
<tr>
<td>Huggingfac$e^{\prime }$s</td>
<td>0.4197</td>
</tr>
<tr>
<td>classifier sklearn logreg</td>
<td>0.5062</td>
</tr>
<tr>
<td>PA classifier</td>
<td>0.5239</td>
</tr>
<tr>
<td>$3-NN$</td>
<td>0.4436</td>
</tr>
<tr>
<td>$MLP$</td>
<td>0.4927</td>
</tr>
<tr>
<td>Decision Tree</td>
<td>0.4315</td>
</tr>
<tr>
<td>Linear $SVM$</td>
<td>0.4125</td>
</tr>
</tbody>
</table>
外,它使用的数据比 TimeLM 中少得多 (45kvs。138。86M 推文)。尽管如此,在图 2 中 , TimeLM 情绪分类模型在给定大量数据的情况下表现非常好。当模型学习良好时,情绪分类任务可能与委婉语检测有一些相关性,或者只有大量数据使其工作
表 3 中的最佳结果来自仅使用 11k 推文数据的攻击性检测。第二好的模型是无神论目标域中的反讽检测和立场检测。性能根据预训练数据中的一定程度的委婉而变化。尽管如此,只有攻击性检测语言模型的性能优于微调的香草RoBERTa 基础语言模型。最后,这只是我们基于证据的直觉,基于对委婉语检测模型性能的一些点估计
我们在这些实验中观察到超参数设置的高灵敏度。改变一些超参数,例如早期停止的耐心,初始学习率,学习率调度程序周期,甚至是随机种子,都可能导致结果发生重大变化就像典型的变压器模型一样,这些模型对扰动(Dodge et al., 2020) 敏感。训练“cardiffnlp/twitterroberta-base-sentiment-latest"模型,直到训练指标饱和,但是使用 10 epoch 的线性调度程序而不是最佳 15 epoch 并删除特殊字符可能会导致 0.6920 测试 F1 得分,使用 12 epoch 的线性调度程序并删除特殊字符会导致 XMATH
# 3.2.2 A Comparison to Vanilla Pretrained Language Models
我们还使用香草预训练语言模型(如 RoBERTabase 和 BERT-base-cased) 作为固定特征提取
Table 5: Validation F1-scores of different classifiers on euphemism detection using vanilla pretrained language models. The split ratio is 0.40. (The number in bold is for the best score.)
<table>
<tbody>
<tr>
<th>$\mathbf{Model}$</th>
<th>RoBERTa- base</th>
</tr>
<tr>
<td>sklearn $\log$reg</td>
<td>0.5954</td>
</tr>
<tr>
<td>PA classifier</td>
<td>0.5929</td>
</tr>
<tr>
<td>$3-NN$</td>
<td>0.6107</td>
</tr>
<tr>
<td>$MLP$</td>
<td>0.6438</td>
</tr>
<tr>
<td>Linear $SVM$</td>
<td>0.6260</td>
</tr>
<tr>
<td>$\mathbf{Model}$</td>
<td>BERT- base- cased</td>
</tr>
<tr>
<td>sklearn logreg</td>
<td>0.5929</td>
</tr>
<tr>
<td>PA classifier</td>
<td>0.5700</td>
</tr>
<tr>
<td>$3-NN$</td>
<td>0.5954</td>
</tr>
<tr>
<td>$MLP$</td>
<td>0.6056</td>
</tr>
<tr>
<td>Tree Decision</td>
<td>0.6743</td>
</tr>
<tr>
<td>Linear $SVM$</td>
<td>0.6031</td>
</tr>
</tbody>
</table>
器,对各种分类器进行了实验。从表 4 和表 5中,验证 F1 分数不是对任何测试 F1 分数的良好估计。他们高估了所有模型的性能,通过他们的最佳差异或更多的$0.12\sim0.15$左右的一些大的利润。在固定特征提取器上训练分类器最多只产生我们$\sim0.54$ 测试 F1 分数。与大多数微调语言模型的性能相比,这是一个很大的差距。此外,具有最佳验证分数的分类器,决策树,在测试集上表现不佳。我们为分类器使用了默认参数,并使用了相同的早期停止训练方案,但初始学习率为$2.5e-4$
### 3.3 Finetuning KimCNNs
我们为我们的 KimCNN 使用了上一个小节中微调的“cardiffnlp/twitter-roberta-base-sentimentlatest" RoBERTa。我们使用 100 特征图和3,4,5权重长度集输入。对于此模型类型,我们使用交叉熵损失函数和余弦退火调度程序。其他超参数与上一小节相同
我们得到了 0.8158 测试 F1-score 的最佳结果,比以前的模型大约提高了0.01,只需使用KimCNN 后端。但是,使用“cardiffnlp/twitterroberta-base-offensive”添加另一个单词向量通道,在最后一个小节中进行了微调,会降低性能,如表 6 所示。我们还进行了删除大型语言模型的实验,并仅使用静态单词嵌入。经过委婉检测训练的带有 word2vec (Mikolov et al., 2013) 或手套-twitter (Pennington et al., 2014) 的香草 KimCNN 分别与 0.6807 和 0.6172 测试 F1得分相当不错
此外,我们改变了一些超参数,并通过简单地将 KimCNN 后端放在顶部来观察到更高的稳定性和更快的收敛速度。上一小节中的
|
[
[
0.1175537109375,
0.0831298828125,
0.489501953125,
0.0843505859375,
0.489501953125,
0.0955810546875,
0.1175537109375,
0.09442138671875
],
[
0.51123046875,
0.0831298828125,
0.87890625,
0.0843505859375,
0.87890625,
0.0955810546875,
0.51123046875,
0.09442138671875
],
[
0.118408203125,
0.097412109375,
0.48779296875,
0.097412109375,
0.48779296875,
0.11102294921875,
0.118408203125,
0.11102294921875
],
[
0.51123046875,
0.097412109375,
0.87890625,
0.097412109375,
0.87890625,
0.11102294921875,
0.51123046875,
0.11102294921875
],
[
0.118408203125,
0.11224365234375,
0.45751953125,
0.1134033203125,
0.45751953125,
0.12469482421875,
0.118408203125,
0.12353515625
],
[
0.5146484375,
0.11224365234375,
0.880859375,
0.11224365234375,
0.880859375,
0.1258544921875,
0.5146484375,
0.1258544921875
],
[
0.301513671875,
0.12890625,
0.4248046875,
0.1312255859375,
0.4248046875,
0.146728515625,
0.301513671875,
0.144287109375
],
[
0.51123046875,
0.1270751953125,
0.640625,
0.1270751953125,
0.640625,
0.14013671875,
0.51123046875,
0.14013671875
],
[
0.5693359375,
0.1455078125,
0.62890625,
0.1455078125,
0.62890625,
0.1602783203125,
0.5693359375,
0.1602783203125
],
[
0.175537109375,
0.1312255859375,
0.2333984375,
0.1312255859375,
0.2333984375,
0.1455078125,
0.175537109375,
0.1455078125
],
[
0.3359375,
0.1478271484375,
0.393798828125,
0.1478271484375,
0.393798828125,
0.162109375,
0.3359375,
0.162109375
],
[
0.69775390625,
0.1455078125,
0.8193359375,
0.1455078125,
0.8193359375,
0.1602783203125,
0.69775390625,
0.1602783203125
],
[
0.57421875,
0.1602783203125,
0.68603515625,
0.163330078125,
0.68603515625,
0.1776123046875,
0.57421875,
0.174560546875
],
[
0.1796875,
0.149658203125,
0.291259765625,
0.149658203125,
0.291259765625,
0.160888671875,
0.1796875,
0.160888671875
],
[
0.1796875,
0.1650390625,
0.2476806640625,
0.1650390625,
0.2476806640625,
0.177001953125,
0.1796875,
0.177001953125
],
[
0.73046875,
0.160888671875,
0.78662109375,
0.160888671875,
0.78662109375,
0.17578125,
0.73046875,
0.17578125
],
[
0.5751953125,
0.1776123046875,
0.67236328125,
0.1776123046875,
0.67236328125,
0.1923828125,
0.5751953125,
0.1923828125
],
[
0.73046875,
0.177001953125,
0.7841796875,
0.174560546875,
0.78515625,
0.190673828125,
0.7314453125,
0.1923828125
],
[
0.339111328125,
0.18115234375,
0.39208984375,
0.18115234375,
0.39208984375,
0.1923828125,
0.339111328125,
0.1923828125
],
[
0.177978515625,
0.1787109375,
0.287109375,
0.18115234375,
0.287109375,
0.1953125,
0.177978515625,
0.193603515625
],
[
0.57421875,
0.193603515625,
0.623046875,
0.193603515625,
0.623046875,
0.2078857421875,
0.57421875,
0.2078857421875
],
[
0.73046875,
0.193603515625,
0.78662109375,
0.193603515625,
0.78662109375,
0.2078857421875,
0.73046875,
0.2078857421875
],
[
0.337646484375,
0.1953125,
0.393798828125,
0.1953125,
0.393798828125,
0.210205078125,
0.337646484375,
0.210205078125
],
[
0.177978515625,
0.19482421875,
0.276123046875,
0.196533203125,
0.276123046875,
0.21142578125,
0.177978515625,
0.208984375
],
[
0.57421875,
0.210205078125,
0.61865234375,
0.210205078125,
0.61865234375,
0.2244873046875,
0.57421875,
0.2244873046875
],
[
0.7314453125,
0.210205078125,
0.78662109375,
0.210205078125,
0.78662109375,
0.2244873046875,
0.7314453125,
0.2244873046875
],
[
0.337646484375,
0.21142578125,
0.393798828125,
0.21142578125,
0.393798828125,
0.2257080078125,
0.337646484375,
0.2257080078125
],
[
0.177978515625,
0.21142578125,
0.2275390625,
0.21142578125,
0.2275390625,
0.226806640625,
0.177978515625,
0.226806640625
],
[
0.5751953125,
0.2257080078125,
0.68115234375,
0.2257080078125,
0.68115234375,
0.240478515625,
0.5751953125,
0.240478515625
],
[
0.73046875,
0.2257080078125,
0.78662109375,
0.2257080078125,
0.78662109375,
0.240478515625,
0.73046875,
0.240478515625
],
[
0.337646484375,
0.22802734375,
0.39208984375,
0.22802734375,
0.39208984375,
0.2423095703125,
0.337646484375,
0.2423095703125
],
[
0.177978515625,
0.22802734375,
0.2225341796875,
0.22802734375,
0.2225341796875,
0.2423095703125,
0.177978515625,
0.2423095703125
],
[
0.337646484375,
0.243408203125,
0.393798828125,
0.243408203125,
0.393798828125,
0.25830078125,
0.337646484375,
0.25830078125
],
[
0.57421875,
0.243408203125,
0.6708984375,
0.243408203125,
0.6708984375,
0.254638671875,
0.57421875,
0.254638671875
],
[
0.73291015625,
0.243408203125,
0.78515625,
0.243408203125,
0.78515625,
0.254638671875,
0.73291015625,
0.254638671875
],
[
0.337646484375,
0.260009765625,
0.39208984375,
0.260009765625,
0.39208984375,
0.27490234375,
0.337646484375,
0.27490234375
],
[
0.181396484375,
0.2452392578125,
0.285400390625,
0.2452392578125,
0.285400390625,
0.257080078125,
0.181396484375,
0.257080078125
],
[
0.56103515625,
0.260009765625,
0.6171875,
0.260009765625,
0.6171875,
0.27490234375,
0.56103515625,
0.27490234375
],
[
0.68701171875,
0.260009765625,
0.8271484375,
0.260009765625,
0.8271484375,
0.27490234375,
0.68701171875,
0.27490234375
],
[
0.5615234375,
0.275634765625,
0.67333984375,
0.27783203125,
0.67333984375,
0.292236328125,
0.5615234375,
0.290283203125
],
[
0.1796875,
0.262451171875,
0.274658203125,
0.262451171875,
0.274658203125,
0.273681640625,
0.1796875,
0.273681640625
],
[
0.16455078125,
0.27783203125,
0.2216796875,
0.27783203125,
0.2216796875,
0.292236328125,
0.16455078125,
0.292236328125
],
[
0.29296875,
0.27783203125,
0.4306640625,
0.279052734375,
0.4306640625,
0.29345703125,
0.29296875,
0.292236328125
],
[
0.72900390625,
0.276611328125,
0.7841796875,
0.276611328125,
0.7841796875,
0.29150390625,
0.72900390625,
0.29150390625
],
[
0.5634765625,
0.29345703125,
0.66162109375,
0.29345703125,
0.66162109375,
0.30810546875,
0.5634765625,
0.30810546875
],
[
0.72900390625,
0.29345703125,
0.7841796875,
0.29345703125,
0.7841796875,
0.30810546875,
0.72900390625,
0.30810546875
],
[
0.334228515625,
0.29443359375,
0.3896484375,
0.29443359375,
0.3896484375,
0.308837890625,
0.334228515625,
0.308837890625
],
[
0.16796875,
0.295654296875,
0.2822265625,
0.295654296875,
0.2822265625,
0.31005859375,
0.16796875,
0.31005859375
],
[
0.5634765625,
0.308837890625,
0.611328125,
0.308837890625,
0.611328125,
0.32373046875,
0.5634765625,
0.32373046875
],
[
0.72900390625,
0.308837890625,
0.78515625,
0.308837890625,
0.78515625,
0.32373046875,
0.72900390625,
0.32373046875
],
[
0.16796875,
0.32470703125,
0.276123046875,
0.327880859375,
0.276123046875,
0.34326171875,
0.16796875,
0.34033203125
],
[
0.1695556640625,
0.311279296875,
0.2376708984375,
0.311279296875,
0.2376708984375,
0.325927734375,
0.1695556640625,
0.325927734375
],
[
0.334228515625,
0.32666015625,
0.3896484375,
0.32666015625,
0.3896484375,
0.341552734375,
0.334228515625,
0.341552734375
],
[
0.5615234375,
0.32470703125,
0.60791015625,
0.32470703125,
0.60791015625,
0.339111328125,
0.5615234375,
0.339111328125
],
[
0.73046875,
0.32666015625,
0.78271484375,
0.32666015625,
0.78271484375,
0.33837890625,
0.73046875,
0.33837890625
],
[
0.5634765625,
0.341552734375,
0.67236328125,
0.341552734375,
0.67236328125,
0.355712890625,
0.5634765625,
0.355712890625
],
[
0.72900390625,
0.341552734375,
0.7841796875,
0.341552734375,
0.7841796875,
0.355712890625,
0.72900390625,
0.355712890625
],
[
0.3359375,
0.344482421875,
0.387939453125,
0.344482421875,
0.387939453125,
0.355712890625,
0.3359375,
0.355712890625
],
[
0.1695556640625,
0.344482421875,
0.2626953125,
0.344482421875,
0.2626953125,
0.355712890625,
0.1695556640625,
0.355712890625
],
[
0.16796875,
0.359375,
0.2149658203125,
0.359375,
0.2149658203125,
0.37353515625,
0.16796875,
0.37353515625
],
[
0.334228515625,
0.359375,
0.391357421875,
0.359375,
0.391357421875,
0.37353515625,
0.334228515625,
0.37353515625
],
[
0.5615234375,
0.359375,
0.66015625,
0.359375,
0.66015625,
0.37060546875,
0.5615234375,
0.37060546875
],
[
0.72900390625,
0.35693359375,
0.78271484375,
0.35693359375,
0.78271484375,
0.371826171875,
0.72900390625,
0.371826171875
],
[
0.1695556640625,
0.3759765625,
0.210693359375,
0.3759765625,
0.210693359375,
0.3896484375,
0.1695556640625,
0.3896484375
],
[
0.3359375,
0.377197265625,
0.387939453125,
0.377197265625,
0.387939453125,
0.388427734375,
0.3359375,
0.388427734375
],
[
0.51318359375,
0.385498046875,
0.880859375,
0.385498046875,
0.880859375,
0.3984375,
0.51318359375,
0.3984375
],
[
0.1695556640625,
0.391357421875,
0.274658203125,
0.391357421875,
0.274658203125,
0.40625,
0.1695556640625,
0.40625
],
[
0.334228515625,
0.391357421875,
0.3896484375,
0.391357421875,
0.3896484375,
0.40625,
0.334228515625,
0.40625
],
[
0.334228515625,
0.40673828125,
0.3896484375,
0.40673828125,
0.3896484375,
0.421630859375,
0.334228515625,
0.421630859375
],
[
0.5146484375,
0.402099609375,
0.87890625,
0.402099609375,
0.87890625,
0.4150390625,
0.5146484375,
0.4150390625
],
[
0.16796875,
0.4091796875,
0.264404296875,
0.4091796875,
0.264404296875,
0.42041015625,
0.16796875,
0.42041015625
],
[
0.5146484375,
0.41748046875,
0.880859375,
0.41748046875,
0.880859375,
0.43115234375,
0.5146484375,
0.43115234375
],
[
0.12005615234375,
0.435302734375,
0.483642578125,
0.435302734375,
0.483642578125,
0.448974609375,
0.12005615234375,
0.448974609375
],
[
0.515625,
0.435302734375,
0.8623046875,
0.435302734375,
0.8623046875,
0.4453125,
0.515625,
0.4453125
],
[
0.118408203125,
0.453125,
0.483642578125,
0.453125,
0.483642578125,
0.463134765625,
0.118408203125,
0.463134765625
],
[
0.51123046875,
0.44775390625,
0.880859375,
0.448974609375,
0.880859375,
0.463134765625,
0.51123046875,
0.4619140625
],
[
0.12005615234375,
0.4697265625,
0.484375,
0.4697265625,
0.484375,
0.479736328125,
0.12005615234375,
0.479736328125
],
[
0.51318359375,
0.466064453125,
0.880859375,
0.466064453125,
0.880859375,
0.479736328125,
0.51318359375,
0.479736328125
],
[
0.118408203125,
0.48388671875,
0.486083984375,
0.48388671875,
0.486083984375,
0.49755859375,
0.118408203125,
0.49755859375
],
[
0.51123046875,
0.482177734375,
0.87744140625,
0.482177734375,
0.87744140625,
0.495361328125,
0.51123046875,
0.495361328125
],
[
0.12005615234375,
0.50048828125,
0.486083984375,
0.50048828125,
0.486083984375,
0.51416015625,
0.12005615234375,
0.51416015625
],
[
0.51318359375,
0.498779296875,
0.880859375,
0.498779296875,
0.880859375,
0.5126953125,
0.51318359375,
0.5126953125
],
[
0.12005615234375,
0.51708984375,
0.2091064453125,
0.51708984375,
0.2091064453125,
0.529296875,
0.12005615234375,
0.529296875
],
[
0.5146484375,
0.51416015625,
0.880859375,
0.51416015625,
0.880859375,
0.52783203125,
0.5146484375,
0.52783203125
],
[
0.1368408203125,
0.533203125,
0.486083984375,
0.533203125,
0.486083984375,
0.54638671875,
0.1368408203125,
0.54638671875
],
[
0.51318359375,
0.53076171875,
0.8818359375,
0.53076171875,
0.8818359375,
0.54443359375,
0.51318359375,
0.54443359375
],
[
0.12005615234375,
0.55029296875,
0.484375,
0.55029296875,
0.484375,
0.56103515625,
0.12005615234375,
0.56103515625
],
[
0.51123046875,
0.54638671875,
0.767578125,
0.54638671875,
0.767578125,
0.56005859375,
0.51123046875,
0.56005859375
],
[
0.118408203125,
0.56396484375,
0.483642578125,
0.56396484375,
0.483642578125,
0.57763671875,
0.118408203125,
0.57763671875
],
[
0.51318359375,
0.57666015625,
0.5615234375,
0.57666015625,
0.5615234375,
0.58740234375,
0.51318359375,
0.58740234375
],
[
0.55517578125,
0.576171875,
0.7314453125,
0.576171875,
0.7314453125,
0.5888671875,
0.55517578125,
0.5888671875
],
[
0.118408203125,
0.58203125,
0.486083984375,
0.58203125,
0.486083984375,
0.595703125,
0.118408203125,
0.595703125
],
[
0.1175537109375,
0.5966796875,
0.486083984375,
0.5966796875,
0.486083984375,
0.60986328125,
0.1175537109375,
0.60986328125
],
[
0.51318359375,
0.59716796875,
0.87890625,
0.59716796875,
0.87890625,
0.61083984375,
0.51318359375,
0.61083984375
],
[
0.1158447265625,
0.6123046875,
0.486083984375,
0.61328125,
0.486083984375,
0.62744140625,
0.1158447265625,
0.626953125
],
[
0.51318359375,
0.6142578125,
0.880859375,
0.6142578125,
0.880859375,
0.62744140625,
0.51318359375,
0.62744140625
],
[
0.1175537109375,
0.62890625,
0.484375,
0.62890625,
0.484375,
0.642578125,
0.1175537109375,
0.642578125
],
[
0.51318359375,
0.6298828125,
0.8818359375,
0.6298828125,
0.8818359375,
0.6435546875,
0.51318359375,
0.6435546875
],
[
0.12005615234375,
0.64453125,
0.210693359375,
0.646484375,
0.210693359375,
0.6611328125,
0.12005615234375,
0.6591796875
],
[
0.51318359375,
0.64453125,
0.87744140625,
0.64453125,
0.87744140625,
0.65771484375,
0.51318359375,
0.65771484375
],
[
0.1368408203125,
0.6630859375,
0.484375,
0.6630859375,
0.484375,
0.6767578125,
0.1368408203125,
0.6767578125
],
[
0.5146484375,
0.662109375,
0.8818359375,
0.662109375,
0.8818359375,
0.67578125,
0.5146484375,
0.67578125
],
[
0.1175537109375,
0.677734375,
0.484375,
0.677734375,
0.484375,
0.69140625,
0.1175537109375,
0.69140625
],
[
0.51318359375,
0.677734375,
0.67919921875,
0.677734375,
0.67919921875,
0.69140625,
0.51318359375,
0.69140625
],
[
0.118408203125,
0.69482421875,
0.486083984375,
0.69482421875,
0.486083984375,
0.7080078125,
0.118408203125,
0.7080078125
],
[
0.53076171875,
0.6953125,
0.880859375,
0.6953125,
0.880859375,
0.708984375,
0.53076171875,
0.708984375
],
[
0.1175537109375,
0.71044921875,
0.483642578125,
0.71044921875,
0.483642578125,
0.7236328125,
0.1175537109375,
0.7236328125
],
[
0.480224609375,
0.71533203125,
0.484375,
0.71533203125,
0.484375,
0.72021484375,
0.480224609375,
0.72021484375
],
[
0.51318359375,
0.71142578125,
0.87890625,
0.71142578125,
0.87890625,
0.724609375,
0.51318359375,
0.724609375
],
[
0.1175537109375,
0.72705078125,
0.484375,
0.7255859375,
0.484375,
0.74072265625,
0.1175537109375,
0.7412109375
],
[
0.509765625,
0.72705078125,
0.8818359375,
0.72802734375,
0.8818359375,
0.7412109375,
0.509765625,
0.74072265625
],
[
0.1175537109375,
0.74365234375,
0.489501953125,
0.74365234375,
0.489501953125,
0.75732421875,
0.1175537109375,
0.75732421875
],
[
0.51318359375,
0.74365234375,
0.880859375,
0.74365234375,
0.880859375,
0.75732421875,
0.51318359375,
0.75732421875
],
[
0.118408203125,
0.76025390625,
0.483642578125,
0.76025390625,
0.483642578125,
0.77099609375,
0.118408203125,
0.77099609375
],
[
0.51318359375,
0.7587890625,
0.880859375,
0.7587890625,
0.880859375,
0.7724609375,
0.51318359375,
0.7724609375
],
[
0.118408203125,
0.775390625,
0.484375,
0.775390625,
0.484375,
0.7890625,
0.118408203125,
0.7890625
],
[
0.51123046875,
0.77490234375,
0.87890625,
0.77490234375,
0.87890625,
0.7880859375,
0.51123046875,
0.7880859375
],
[
0.12005615234375,
0.79345703125,
0.484375,
0.79345703125,
0.484375,
0.80419921875,
0.12005615234375,
0.80419921875
],
[
0.51318359375,
0.79052734375,
0.87890625,
0.79052734375,
0.87890625,
0.80419921875,
0.51318359375,
0.80419921875
],
[
0.12005615234375,
0.80859375,
0.484375,
0.80859375,
0.484375,
0.8193359375,
0.12005615234375,
0.8193359375
],
[
0.51318359375,
0.80859375,
0.87744140625,
0.80859375,
0.87744140625,
0.8193359375,
0.51318359375,
0.8193359375
],
[
0.118408203125,
0.82470703125,
0.44580078125,
0.82470703125,
0.44580078125,
0.83837890625,
0.118408203125,
0.83837890625
],
[
0.51318359375,
0.82373046875,
0.880859375,
0.82373046875,
0.880859375,
0.83740234375,
0.51318359375,
0.83740234375
],
[
0.51123046875,
0.8388671875,
0.87890625,
0.8388671875,
0.87890625,
0.8525390625,
0.51123046875,
0.8525390625
],
[
0.118408203125,
0.8525390625,
0.162109375,
0.8525390625,
0.162109375,
0.8642578125,
0.118408203125,
0.8642578125
],
[
0.154541015625,
0.8515625,
0.462646484375,
0.8515625,
0.462646484375,
0.865234375,
0.154541015625,
0.865234375
],
[
0.51318359375,
0.85693359375,
0.62109375,
0.85693359375,
0.62109375,
0.8681640625,
0.51318359375,
0.8681640625
],
[
0.172119140625,
0.8681640625,
0.313232421875,
0.8681640625,
0.313232421875,
0.8818359375,
0.172119140625,
0.8818359375
],
[
0.5322265625,
0.87255859375,
0.87890625,
0.87255859375,
0.87890625,
0.8857421875,
0.5322265625,
0.8857421875
],
[
0.118408203125,
0.8896484375,
0.489501953125,
0.8896484375,
0.489501953125,
0.90283203125,
0.118408203125,
0.90283203125
],
[
0.51123046875,
0.8896484375,
0.87890625,
0.8896484375,
0.87890625,
0.90283203125,
0.51123046875,
0.90283203125
],
[
0.1175537109375,
0.90478515625,
0.48779296875,
0.90478515625,
0.48779296875,
0.91845703125,
0.1175537109375,
0.91845703125
],
[
0.5146484375,
0.90673828125,
0.87890625,
0.90673828125,
0.87890625,
0.91748046875,
0.5146484375,
0.91748046875
]
] |
[
"Table 4: Test F1-scores of different classifiers on eu-",
"Table5:ValidationF1-scores of different classifierson",
"phemism detection using vanilla pretrained language",
"euphemism detection using vanilla pretrained language",
"models.(The number inbold is for thebest score.)",
"models. The split ratio is 0.40. (The number in bold is",
"RoBERTa-base",
"for the best score.)",
"Model",
"Model",
"0.5203",
"RoBERTa-base",
"sklearn logreg",
"Huggingface's",
"classifier",
"0.5954",
"PA classifier",
"0.5929",
"0.4376",
"sklearn logreg",
"3-NN",
"0.6107",
"0.4126",
"PAclassifier",
"MLP",
"0.6438",
"0.5446",
"3-NN",
"Decision Tree",
"0.6692",
"0.4545",
"MLP",
"0.4910",
"Linear SVM",
"0.6260",
"0.4125",
"Decision Tree",
"Model",
"BERT-base-cased",
" sklearn logreg",
"Linear SVM",
"Model",
"BERT-base-cased",
"0.5929",
"PA classifier",
"0.5700",
"0.4197",
"Huggingface's",
"3-NN",
"0.5954",
" sklearn logreg",
"classifier",
"0.5062",
"MLP",
"0.6056",
"Decision Tree",
"0.6743",
"0.5239",
"PA classifier",
"3-NN",
"0.4436",
"Linear SVM",
"0.6031",
"MLP",
"0.4927",
"器,对各种分类器进行了实验。从表4和表5",
"Decision Tree",
"0.4315",
"0.4125",
"中,验证F1分数不是对任何测试F1分数的良",
"Linear SVM",
"好估计。他们高估了所有模型的性能,通过他",
"外,它使用的数据比TimeLM中少得多(45kvs。",
"们的最佳差异或更多的0.12~~0.15左右的",
"138。86M推文)。尽管如此,在图2中,TimeLM",
"些大的利润。在固定特征提取器上训练分类器",
"情绪分类模型在给定大量数据的情况下表现非",
"最多只产生我们~0.54测试F1分数。与大多",
"常好。当模型学习良好时,情绪分类任务可能",
"数微调语言模型的性能相比,这是一个很大的",
"与委婉语检测有一些相关性,或者只有大量数",
"差距。此外,具有最佳验证分数的分类器,决",
"据使其工作",
"策树,在测试集上表现不佳。我们为分类器使",
"表3中的最佳结果来自仅使用11k推文数据",
"用了默认参数,并使用了相同的早期停止训练",
"的攻击性检测。第二好的模型是无神论目标域",
"方案,但初始学习率为2.5e一4",
"中的反讽检测和立场检测。性能根据预训练数",
"3.3",
"Finetuning KimCNNs",
"据中的一定程度的委婉而变化。尽管如此,只",
"有攻击性检测语言模型的性能优于微调的香草",
"我们为我们的KimCNN使用了上一个小节中",
"RoBERTa基础语言模型。最后,这只是我们基",
"微调的“cardiffnlp/twitter-roberta-base-sentiment",
"于证据的直觉,基于对委婉语检测模型性能的",
"latest”RoBERTa。我们使用100特征图和3,4,5",
"一些点估计",
"权重长度集输人。对于此模型类型,我们使用",
"我们在这些实验中观察到超参数设置的高",
"交叉摘损失函数和余弦退火调度程序。其他超",
"灵敏度。改变一些超参数,例如早期停止的耐",
"参数与上一小节相同",
"心,初始学习率,学习率调度程序周期,甚至",
"我们得到了0.8158测试F1-score的最佳结",
"是随机种子,都可能导致结果发生重大变化",
"",
"果,比以前的模型大约提高了0.01,只需使用",
"就像典型的变压器模型一样,这些模型对扰动",
"KimCNN后端。但是,使用“cardiffnlp/twitter-",
"(Dodgeetal.,2020)敏感。训练“cardiffnlp/twitter-",
"roberta-base-offensive”添加另一个单词向量通",
"roberta-base-sentiment-latest”模型,直到训练指",
"道,在最后一个小节中进行了微调,会降低性",
"标饱和,但是使用10epoch的线性调度程序而",
"能,如表6所示。我们还进行了删除大型语",
"不是最佳15epoch并删除特殊字符可能会导",
"言模型的实验,并仅使用静态单词嵌人。经过",
"致0.6920测试F1得分,使用12ep0ch的线性",
"委婉检测训练的带有word2vec(Mikolovetal.",
"调度程序并删除特殊字符会导致XMATH",
"2013)或手套-twitter(Penningtonetal.,2014)的",
"香草KimCNN分别与0.6807和0.6172测试F1",
"3.2.2",
"AComparisontoVanillaPretrained",
"得分相当不错",
"Language Models",
"此外,我们改变了一些超参数,并通过简",
"我们还使用香草预训练语言模型(如RoBERTa-",
"单地将KimCNN后端放在顶部来观察到更高",
"base和BERT-base-cased)作为固定特征提取",
"的稳定性和更快的收敛速度。上一小节中的"
] |
{
"arxiv_id": "2301.06602",
"language": "zh",
"page_idx": 4
}
|
||
2212.07398-zh-0
|
2212.07398-zh-0.jpg
|
Policy Adaptation from Foundation Model Feedback
$\begin{array}{lll}{\mathrm{Yuying~Ge~}^{1\star}}&{\mathrm{Annabella~Macaluso~}^{2}}&{\mathrm{Li~Erran~Li~}^{3\dagger}}&{\mathrm{Ping~Luo~}^{1}}&{\mathrm{Xiaolong~Wang~}^{2}}\\{^{1}\text{University of Hong Kong}}&{^{2}\text{University of California, San Diego}}&{^{3}}{\mathrm{AWS~AI,~Amazon}}\end{array}$
https://geyuying.github.io/PAFF
<FigureHere>
Figure 1. Examples of the language conditioned policy adaptation experiments, including the evaluation of (i) Compositional Generalization in (a), where we train a policy to pack objects of different shapes in the brown box, and put blocks of different colors in the bowls of different colors , and adapt it to put objects of different shapes in the bowls of different colors ; (ii) Out-of-distribution Generalization in (c), where we train a policy to pack certain objects in the brown box, and adapt it to pack unseen objects , and in (d), where we adapt a policy trained on seen environments to an unseen environment with different textures and placements of static elements such as the sliding door and the light button; ( iii) Sim-to-real Transfer in (b), where we adapt a policy trained on simulation data to the real world .
验表明,如果我们在两个任务上训练这样的策略,包括(i) 将不同形状的物体包装在棕色盒子中以及(ii)将不同颜色的块放人不同颜色的碗中,则将该策略推广到将不同形状的物体放入不同颜色的碗中的任务是非常具有挑战性的。此外,当我们需要在现实世界中使用不同的机器人执行此任务时,难度会急剧增加
我们的关键见解是,虽然动作生成器(i。e。,策
XMATHLIN5\_。目标是训练一个通用机器人,它可以在不同的环境中处理具有不同物体组成的多个任务。然而,目前大多数采用模仿学习或强化学习的策略学习方法只能一次学习解决一个任务,并且通常对一组固定的对象进行操作。为了实现人类水平的泛化,已经做出了许多努力来执行自然语言$\overline{\mathbb{E}}[34,35,56]$ 指定的机器人操纵任务。语言不仅可以将其组成性带入低级机器人技能,还可以作为高级计划者来执行长期任务
最近,有一种趋势是利用预先训练的视觉语言基础模型[38,47]作为推广机器人技能的骨干编码器。例如,CLIPORTE[56] 使用预训练的 CLIP 模型E[47] 作为图像观察和语言指令编码器,并在顶部学习跨不同对象排列的任务的操纵策略。虽然在这一系列关于跨训练任务泛化的研究中已经显示出令人鼓舞的结果, 但将学到的政策推广到看不见的任务和环境仍然是非常具有挑战性的。例如,如图$\color{red}{\mathrm{Fl}}1\:($a)所示,我们的实
略)不能很好地泛化,具有基础模型的动作分类器即使在“零拍”转移到看不见的环境中时仍然可以达到很高的精度$\overline{\mathrm{E}}[35,56]$ 。在本文中,我们利用视觉语言基础模型在看不见的任务和环境中部署策略期间提供反馈。我们利用来自基础模型的反馈来微调测试时训练$\boxed{\mathrm{E}}[28,57,61]$ 之后的策略,该策略在测试时更新模型参数。具体来说,我们建议从具有播放和重新标记管道的基础模型反馈 (PAFF) 进行策略调整。当使经过训练的策略适应新任务或新环境时,我们首先让策略发挥作用,也就是说,模型在新任务中根据一系列语言指令不断生成和执行操作,并记录演示,包括视觉观察和模型的操作。当然,在非分销环境下,说明和结果演示通常不会匹配。然后,我们让模型重新标记以进行校
$^*$ Work done during internship at UCSD.
$^{\dagger}$ Work done outside of Amazon.
1
|
[
[
0.22216796875,
0.1331787109375,
0.74853515625,
0.1337890625,
0.74853515625,
0.1483154296875,
0.22216796875,
0.147705078125
],
[
0.451904296875,
0.1817626953125,
0.57666015625,
0.179931640625,
0.57666015625,
0.1976318359375,
0.451904296875,
0.199462890625
],
[
0.7138671875,
0.1817626953125,
0.861328125,
0.1817626953125,
0.861328125,
0.199462890625,
0.7138671875,
0.199462890625
],
[
0.2484130859375,
0.18310546875,
0.43701171875,
0.18310546875,
0.43701171875,
0.1976318359375,
0.2484130859375,
0.1976318359375
],
[
0.111083984375,
0.18310546875,
0.2254638671875,
0.179931640625,
0.2254638671875,
0.1976318359375,
0.111083984375,
0.2008056640625
],
[
0.438720703125,
0.1875,
0.450927734375,
0.1875,
0.450927734375,
0.1912841796875,
0.438720703125,
0.1912841796875
],
[
0.59716796875,
0.18310546875,
0.689453125,
0.18310546875,
0.689453125,
0.1976318359375,
0.59716796875,
0.1976318359375
],
[
0.108642578125,
0.1988525390625,
0.334228515625,
0.2008056640625,
0.334228515625,
0.21533203125,
0.108642578125,
0.21337890625
],
[
0.361083984375,
0.2008056640625,
0.67236328125,
0.2008056640625,
0.67236328125,
0.21533203125,
0.361083984375,
0.21533203125
],
[
0.69775390625,
0.1962890625,
0.87109375,
0.199462890625,
0.87109375,
0.2171630859375,
0.69775390625,
0.2139892578125
],
[
0.369384765625,
0.2197265625,
0.5947265625,
0.2197265625,
0.5947265625,
0.2342529296875,
0.369384765625,
0.2342529296875
],
[
0.400390625,
0.2568359375,
0.41259765625,
0.2568359375,
0.41259765625,
0.260009765625,
0.400390625,
0.260009765625
],
[
0.73193359375,
0.2568359375,
0.74267578125,
0.2568359375,
0.74267578125,
0.261474609375,
0.73193359375,
0.261474609375
],
[
0.47216796875,
0.26953125,
0.47802734375,
0.26953125,
0.47802734375,
0.2822265625,
0.47216796875,
0.2822265625
],
[
0.24267578125,
0.294189453125,
0.253173828125,
0.294189453125,
0.253173828125,
0.298583984375,
0.24267578125,
0.298583984375
],
[
0.12744140625,
0.322509765625,
0.1502685546875,
0.322509765625,
0.1502685546875,
0.330078125,
0.12744140625,
0.330078125
],
[
0.82177734375,
0.32763671875,
0.8447265625,
0.32763671875,
0.8447265625,
0.339111328125,
0.82177734375,
0.339111328125
],
[
0.1094970703125,
0.34521484375,
0.21728515625,
0.34521484375,
0.21728515625,
0.35595703125,
0.1094970703125,
0.35595703125
],
[
0.283447265625,
0.34521484375,
0.390625,
0.34521484375,
0.390625,
0.35595703125,
0.283447265625,
0.35595703125
],
[
0.423095703125,
0.34521484375,
0.54345703125,
0.34521484375,
0.54345703125,
0.35595703125,
0.423095703125,
0.35595703125
],
[
0.62158203125,
0.3466796875,
0.70751953125,
0.3466796875,
0.70751953125,
0.354248046875,
0.62158203125,
0.354248046875
],
[
0.75732421875,
0.34521484375,
0.87109375,
0.34521484375,
0.87109375,
0.35595703125,
0.75732421875,
0.35595703125
],
[
0.148681640625,
0.3623046875,
0.1683349609375,
0.3623046875,
0.1683349609375,
0.37060546875,
0.148681640625,
0.37060546875
],
[
0.57861328125,
0.361083984375,
0.60107421875,
0.361083984375,
0.60107421875,
0.369384765625,
0.57861328125,
0.369384765625
],
[
0.82861328125,
0.3623046875,
0.84716796875,
0.3623046875,
0.84716796875,
0.37060546875,
0.82861328125,
0.37060546875
],
[
0.238525390625,
0.40283203125,
0.250732421875,
0.40283203125,
0.250732421875,
0.4072265625,
0.238525390625,
0.4072265625
],
[
0.7587890625,
0.399658203125,
0.77294921875,
0.399658203125,
0.77294921875,
0.40771484375,
0.7587890625,
0.40771484375
],
[
0.4345703125,
0.45068359375,
0.52783203125,
0.449462890625,
0.52783203125,
0.460205078125,
0.4345703125,
0.4609375
],
[
0.65869140625,
0.45068359375,
0.74658203125,
0.45068359375,
0.74658203125,
0.4609375,
0.65869140625,
0.4609375
],
[
0.7939453125,
0.45068359375,
0.8837890625,
0.45068359375,
0.8837890625,
0.4609375,
0.7939453125,
0.4609375
],
[
0.268798828125,
0.45263671875,
0.39208984375,
0.45263671875,
0.39208984375,
0.460205078125,
0.268798828125,
0.460205078125
],
[
0.098876953125,
0.45263671875,
0.226318359375,
0.45263671875,
0.226318359375,
0.460205078125,
0.098876953125,
0.460205078125
],
[
0.525390625,
0.455078125,
0.53173828125,
0.455078125,
0.53173828125,
0.458251953125,
0.525390625,
0.458251953125
],
[
0.53369140625,
0.455078125,
0.54833984375,
0.455078125,
0.54833984375,
0.458251953125,
0.53369140625,
0.458251953125
],
[
0.55810546875,
0.453857421875,
0.63623046875,
0.453857421875,
0.63623046875,
0.458251953125,
0.55810546875,
0.458251953125
],
[
0.08251953125,
0.47607421875,
0.5048828125,
0.47607421875,
0.5048828125,
0.486083984375,
0.08251953125,
0.486083984375
],
[
0.59619140625,
0.47607421875,
0.8896484375,
0.47607421875,
0.8896484375,
0.486083984375,
0.59619140625,
0.486083984375
],
[
0.080078125,
0.488037109375,
0.89208984375,
0.488037109375,
0.89208984375,
0.501953125,
0.080078125,
0.501953125
],
[
0.08087158203125,
0.501953125,
0.890625,
0.501953125,
0.890625,
0.51513671875,
0.08087158203125,
0.51513671875
],
[
0.08251953125,
0.517578125,
0.8896484375,
0.517578125,
0.8896484375,
0.52783203125,
0.08251953125,
0.52783203125
],
[
0.08087158203125,
0.52978515625,
0.89208984375,
0.52978515625,
0.89208984375,
0.54345703125,
0.08087158203125,
0.54345703125
],
[
0.08087158203125,
0.54345703125,
0.89208984375,
0.54345703125,
0.89208984375,
0.556640625,
0.08087158203125,
0.556640625
],
[
0.080078125,
0.55810546875,
0.59619140625,
0.55810546875,
0.59619140625,
0.5712890625,
0.080078125,
0.5712890625
],
[
0.50341796875,
0.59228515625,
0.890625,
0.59228515625,
0.890625,
0.60595703125,
0.50341796875,
0.60595703125
],
[
0.50341796875,
0.60791015625,
0.890625,
0.60791015625,
0.890625,
0.6220703125,
0.50341796875,
0.6220703125
],
[
0.1004638671875,
0.62353515625,
0.328369140625,
0.62353515625,
0.328369140625,
0.63720703125,
0.1004638671875,
0.63720703125
],
[
0.3203125,
0.62353515625,
0.468017578125,
0.62353515625,
0.468017578125,
0.63720703125,
0.3203125,
0.63720703125
],
[
0.50341796875,
0.62255859375,
0.8857421875,
0.62255859375,
0.8857421875,
0.63623046875,
0.50341796875,
0.63623046875
],
[
0.08251953125,
0.63818359375,
0.4697265625,
0.63818359375,
0.4697265625,
0.65283203125,
0.08251953125,
0.65283203125
],
[
0.50341796875,
0.63818359375,
0.890625,
0.63818359375,
0.890625,
0.6513671875,
0.50341796875,
0.6513671875
],
[
0.08251953125,
0.65380859375,
0.468017578125,
0.65380859375,
0.468017578125,
0.66748046875,
0.08251953125,
0.66748046875
],
[
0.5048828125,
0.65283203125,
0.890625,
0.65283203125,
0.890625,
0.66650390625,
0.5048828125,
0.66650390625
],
[
0.08251953125,
0.66845703125,
0.468017578125,
0.66845703125,
0.468017578125,
0.681640625,
0.08251953125,
0.681640625
],
[
0.5048828125,
0.66845703125,
0.8310546875,
0.66845703125,
0.8310546875,
0.681640625,
0.5048828125,
0.681640625
],
[
0.08087158203125,
0.6845703125,
0.46728515625,
0.6845703125,
0.46728515625,
0.69775390625,
0.08087158203125,
0.69775390625
],
[
0.521484375,
0.689453125,
0.890625,
0.68994140625,
0.890625,
0.705078125,
0.521484375,
0.7041015625
],
[
0.08251953125,
0.69970703125,
0.46728515625,
0.69970703125,
0.46728515625,
0.71337890625,
0.08251953125,
0.71337890625
],
[
0.50341796875,
0.70556640625,
0.88818359375,
0.70556640625,
0.88818359375,
0.7197265625,
0.50341796875,
0.7197265625
],
[
0.08087158203125,
0.7138671875,
0.468017578125,
0.7138671875,
0.468017578125,
0.72802734375,
0.08087158203125,
0.72802734375
],
[
0.5048828125,
0.72021484375,
0.8896484375,
0.72021484375,
0.8896484375,
0.734375,
0.5048828125,
0.734375
],
[
0.08087158203125,
0.72998046875,
0.438720703125,
0.72998046875,
0.438720703125,
0.74365234375,
0.08087158203125,
0.74365234375
],
[
0.5048828125,
0.736328125,
0.88818359375,
0.736328125,
0.88818359375,
0.75,
0.5048828125,
0.75
],
[
0.101318359375,
0.744140625,
0.46728515625,
0.744140625,
0.46728515625,
0.75830078125,
0.101318359375,
0.75830078125
],
[
0.5048828125,
0.75048828125,
0.890625,
0.75048828125,
0.890625,
0.7646484375,
0.5048828125,
0.7646484375
],
[
0.08087158203125,
0.76025390625,
0.46728515625,
0.76025390625,
0.46728515625,
0.7734375,
0.08087158203125,
0.7734375
],
[
0.5048828125,
0.7666015625,
0.88818359375,
0.7666015625,
0.88818359375,
0.77978515625,
0.5048828125,
0.77978515625
],
[
0.08251953125,
0.7744140625,
0.46728515625,
0.7744140625,
0.46728515625,
0.78857421875,
0.08251953125,
0.78857421875
],
[
0.50341796875,
0.78076171875,
0.890625,
0.78076171875,
0.890625,
0.79443359375,
0.50341796875,
0.79443359375
],
[
0.08251953125,
0.79052734375,
0.468017578125,
0.79052734375,
0.468017578125,
0.8037109375,
0.08251953125,
0.8037109375
],
[
0.5048828125,
0.796875,
0.8896484375,
0.796875,
0.8896484375,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.08087158203125,
0.80615234375,
0.46728515625,
0.80615234375,
0.46728515625,
0.8193359375,
0.08087158203125,
0.8193359375
],
[
0.50341796875,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.50341796875,
0.82470703125
],
[
0.08087158203125,
0.82080078125,
0.46728515625,
0.82080078125,
0.46728515625,
0.833984375,
0.08087158203125,
0.833984375
],
[
0.50341796875,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.50341796875,
0.84033203125
],
[
0.08251953125,
0.83544921875,
0.468017578125,
0.83544921875,
0.468017578125,
0.8486328125,
0.08251953125,
0.8486328125
],
[
0.50341796875,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.50341796875,
0.85498046875
],
[
0.08251953125,
0.85107421875,
0.468017578125,
0.85107421875,
0.468017578125,
0.8642578125,
0.08251953125,
0.8642578125
],
[
0.5048828125,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.09478759765625,
0.875,
0.343017578125,
0.875,
0.343017578125,
0.88818359375,
0.09478759765625,
0.88818359375
],
[
0.5048828125,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.5048828125,
0.88525390625
],
[
0.0906982421875,
0.88525390625,
0.294189453125,
0.88720703125,
0.294189453125,
0.9013671875,
0.0906982421875,
0.8994140625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.48193359375,
0.92822265625,
0.491943359375,
0.92822265625,
0.491943359375,
0.93505859375,
0.48193359375,
0.93505859375
]
] |
[
"Policy Adaptation from Foundation Model Feedback",
"Li Erran Li 3t",
"Xiaolong Wang 2",
"Annabella Macaluso 2",
"Yuying Ge 1*",
"",
"Ping Luo l",
"1 University of Hong Kong",
"2 University of California, San Diego",
"3 AWS AI, Amazon",
"https://geyuying.github.io/PAFF",
"ra",
"es",
"",
"al",
"心",
"D",
"\"put triangle in blue bowf\"",
"\"put triangle in brown box",
"\"put red block in yellow bowi",
"putstarinbrownbox",
"\"put square in orange bow\"",
"Train",
"Train",
"Test",
"IC",
"(d)",
"rotate rightredblock",
"ove right sliding door'",
"asp and lift pink block\"",
"\"packlionfigureinbrownbox",
"packpurpletapeinbrownbox",
"",
"c",
"uttontoturnonlen",
"Figure1.Examplesof thelanguageconditionedpolicyadaptatior",
"includingtheevaluationof(i)Compositional",
"Generalization in (a), where we train a policy to pack objects of different shapes in the brown box, and put blocks of different",
"colors in the bowls of different colors , and adapt it to put objects of different shapes in the bowls of different colors : (i)",
"Out-of-distribution Generalizationin (c),wherewe train a policy topack certain objectsinthe brown box,and adapt it",
"to pack unseen objects , and in (d), where we adapt a policy trained on seen environments to an unseen environment with",
"different textures and placements of static elements such as the sliding door and the light button; (ii) Sim-to-real Transfer",
"in (b), where we adapt a policy trained on simulation data to the real world .",
"验表明,如果我们在两个任务上训练这样的策略,包括",
"(i)将不同形状的物体包装在棕色盒子中以及(i)将",
"XMATHLIN5。目标是训练一",
"个通用机器人,它可",
"不同颜色的块放入不同颜色的碗中,则将该策略推广",
"以在不同的环境中处理具有不同物体组成的多个任务。",
"到将不同形状的物体放人不同颜色的碗中的任务是非",
"然而,目前大多数采用模仿学习或强化学习的策略学",
"常具有挑战性的。此外,当我们需要在现实世界中使用",
"习方法只能一次学习解决一个任务,并且通常对一组",
"不同的机器人执行此任务时,难度会急剧增加",
"固定的对象进行操作。为了实现人类水平的泛化,已经",
"我们的关键见解是,虽然动作生成器(i。e。,策",
"做出了许多努力来执行自然语言E[34,35,56]指定的机",
"略)不能很好地泛化,具有基础模型的动作分类器即",
"器人操纵任务。语言不仅可以将其组成性带入低级机",
"使在“零拍”转移到看不见的环境中时仍然可以达到",
"器人技能,还可以作为高级计划者来执行长期任务",
"很高的精度E[35,56]。在本文中,我们利用视觉语言",
"最近,有一种趋势是利用预先训练的视觉语言基础",
"基础模型在看不见的任务和环境中部署策略期间提供",
"模型[38,47作为推广机器人技能的骨干编码器。例",
"反馈。我们利用来自基础模型的反馈来微调测试时训",
"如,CLIPORTE[56]使用预训练的CLIP模型E47",
"练[28,57,61]之后的策略,该策略在测试时更新模型",
"作为图像观察和语言指令编码器,并在顶部学习跨不",
"参数。具体来说,我们建议从具有播放和重新标记管道",
"同对象排列的任务的操纵策略。虽然在这一系列关于",
"的基础模型反馈(PAFF)进行策略调整。当使经过训",
"跨训练任务泛化的研究中已经显示出令人鼓舞的结果,",
"练的策略适应新任务或新环境时,我们首先让策略发",
"但将学到的政策推广到看不见的任务和环境仍然是非",
"挥作用,也就是说,模型在新任务中根据一系列语言指",
"常具有挑战性的。例如,如图E1(a)所示,我们的实",
"令不断生成和执行操作,并记录演示,包括视觉观察和",
"* Work done during internship at UCSD.",
"模型的操作。当然,在非分销环境下,说明和结果演示",
"+ Work done outside of Amazon.",
"通常不会匹配。然后,我们让模型重新标记以进行校",
"1"
] |
{
"arxiv_id": "2212.07398",
"language": "zh",
"page_idx": 0
}
|
||
2212.07398-zh-1
|
2212.07398-zh-1.jpg
|
正,也就是说,记录的演示可以由视觉语言预训练模型自动重新标记。通过将记录的演示的视觉观察作为输入,预训练的模型可以相应地检索准确的语言指令。鉴于新环境中准确的配对演示和说明,我们可以根据它们来微调和调整政策。我们强调,PAFF 的整个过程使用训练有素的模型以自动方式执行,无需人工干预
我们精心设计了广泛的语言条件机器人适应实验, 以评估跨对象组成,任务和环境的策略适应性,包括从模拟到现实世界。我们的评估包括(I)图中的成分概括。$\operatorname { El}$ (a),其中我们训练一种策略,将不同形状的物体包装在棕色盒子中,并将不同颜色的块放人不同颜色的碗中,并使其适应将不同形状的物体放人不同颜色的碗中。(Ii) 图中的非分布泛化。1(c),我们训练一个策略,将某些物体包装在棕色盒子里,并使其适应看不见的物体;在图。E1 ( d) , 其中我们将在可见环境上训练的策略适应于具有不同纹理和静态元素(例如滑动门,抽屉和开关)的位置的不可见环境。(iii) 图中的模拟到真实转移。1 (B), 其中我们将在模拟数据上训练的策略调整到现实世界。我们发现 PAFF 在所有评估中都大大提高了基线。在模拟到真实传输中, 我们的方法将成功率平均提高了 49。6% 上的四个任务比基线。我们的管道通过利用基础模型的泛化能力来填补仿真与现实世界之间的领域空白。我们的方法也增加了成功率从 17。8% 至 35。0% 在组合泛化评估中的应用,并从 48。4% 至 63。8% 用于包装看不见的物体。在使策略适应看不见的环境时,我们的方法比基线方法提高了从 5 个% 到 11 个% 完成 5 个语言指令链的成功率。广泛的评估结果表明,PAFF 可以有效地使语言条件策略适应看不见的对象,任务,环境,并实现 sim-to-real 转移
# 1. Related Work
语言条件操作。基于指令的操纵一直是机器人技术中的热门研究主题$\mathbb{E}[4,6,7,20,33,35,37,45,54,55]$ 不仅因为它提供了用户友好的界面,而且还因为语言的组成特性允许技能概括并指导长期计划。最近,基础模型[5,9,22,36,47,49,50,58,64] 的发展使可推广的操作技能学习$\mathbb{E}[2,25,34,56]$ 取得了重大进展。这些方法采用预训练的基础模型对语言教学和视觉观察进行编码,并在此基础上训练策略网络。虽然这个管道成功地将策略推广到不同的任务和新对象,但它仍然很难推广到完全看不见的环境和任务。在本文中,我们从基础模型反馈中提出了策略调整,以便在看不见的环境和任务中部署期间调整我们的策略
具有可视输入的策略自适应。使视觉运动控制策略适应看不见的环境的能力是许多应用程序(如$\operatorname{sim}2$realtransfer) 中的关键。实现这种概括的一种流行方法是使用域随机化$\mathbb{E}[46,51,59]$ 和数据增强$\mathbb{E}$ [8,19,29,30,69]来学习不变的视觉表示。然而,对于这些政策来说,将其推广到培训的随机化范围之外仍然是非常具有挑战性的。另一个研究方向是利用GANs [15,73] 在转发到策略 [24,52,70,71] 之前跨域翻译输人图像。但是,上述所有方法都要求任务和环境
在培训和部署之间保持一致。为了适应不同的任务,研究人员提出了在部署到新环境期间微调策略的不同方法[18,26,28,39,67,72] 。例如,Julian 等人。$\mathbb{E}[26]$建议在转移到新的机器人操纵环境时收集 800 次抓取尝试,并使用收集到的数据对策略进行微调。然而,这一过程需要大量的人为干预。Hansen 等人。[18] 遵循测试时培训 [57,61] ,允许策略在新环境中部署后通过探索自我监督继续培训。我们不使用自我监督,而是利用视觉语言基础模型的反馈来自动微调策略
预训练的机器人基础模型。除了以语言为条件的操作任务外,我们还目睹了各种机器人学习算法$\mathbb{E}$ [1,17,40,43,48,53,65,66,68]的基础模型的使用。。例如, $\dot{\text{Radosavovic 等人。}}[48]\ddot{\text{提出在 Ego}}4$D[16]等大规模数据上训练一个带掩码的自动编码器[21] ,并使用这种预训练的表示进行带有行为克隆的真实机器人学习。结果表明,这种预训练有助于大大降低样本效率,提高性能。然而,它没有彻底研究预训练如何影响分布外泛化,大多数作品只使用预训练网络作为策略编码器。在这项工作中,除了利用基础模型的表示形式外,我们还利用它们的泛化能力来识别视觉概念,将其转移到看不见的环境中,以便在新环境中部署期间提供反馈
## 2. Method
我们建议通过播放和重新标记管道从基础模型反馈(PAFF)进行策略调整。正如算法 1 中总结的那样, 我们的管道由两个阶段组成。在第一阶段,我们通过训练演示来训练策略并微调视觉语言预训练模型。第二阶段涉及新任务中的游戏和重新标记。具体来说,如图。$\operatorname{E2}$,我们首先让策略播放一系列随机生成的指令, 并记录演示,包括视觉观察和操作。虽然操作可能是错误的,但我们让微调的视觉语言模型通过检索给定视觉观察的语言指令来重新标记演示。通过重新标记的演示指令数据对,我们可以微调策略以适应新任务
我们的方法利用视觉语言基础模型在识别视觉概念方面的泛化能力,以自动方式注释数据以微调新任务的策略。PAFF 可以有效地适应语言条件策略,以操纵看不见的对象并解决新颖环境中的新任务,并实现sim-to-real 转移
基于
# $2. 1. \textbf{ Language Conditioned Policy}$
的语言条件策略 受以前的工作$\mathbb{E}[34,56]$ 的启发,我们考虑学习语言条件策略$\pi$的问题,该策略在给定输人$\gamma_t=(o_t,I_t)$的情况下输出动作$a_t$,该输入由以下视觉观察 X。我们使用具有不同动作空间的两种类型的操作平台进行实验:(i)我们遵循 CLIPORT$\boxed{\mathrm{E}}[56]$ 的结构来构建 HUIPORT$\underline{\mathbb{E}}[35]$ ,以将桌面对象操作(e.g. , 拾取块并将其放置在碗中)作为一系列拾取和放置功能预测,其目的是检测动作,并且每个动作都涉及一个开始和最终的。我们采用与 CLIPORT 和 HULC 中定义的相同的模仿训练损失$\mathcal{L}(\pi_\theta(o_t,l_t),a_t)$来优化策略
2
|
[
[
0.08251953125,
0.09344482421875,
0.468017578125,
0.09344482421875,
0.468017578125,
0.106689453125,
0.08251953125,
0.106689453125
],
[
0.50341796875,
0.09344482421875,
0.890625,
0.09344482421875,
0.890625,
0.106689453125,
0.50341796875,
0.106689453125
],
[
0.0849609375,
0.10986328125,
0.465576171875,
0.10986328125,
0.465576171875,
0.12060546875,
0.0849609375,
0.12060546875
],
[
0.50244140625,
0.10797119140625,
0.8896484375,
0.10919189453125,
0.8896484375,
0.12249755859375,
0.50244140625,
0.121826171875
],
[
0.08416748046875,
0.125,
0.46728515625,
0.125,
0.46728515625,
0.1351318359375,
0.08416748046875,
0.1351318359375
],
[
0.50341796875,
0.12371826171875,
0.890625,
0.12371826171875,
0.890625,
0.136962890625,
0.50341796875,
0.136962890625
],
[
0.08251953125,
0.1395263671875,
0.46728515625,
0.1395263671875,
0.46728515625,
0.15283203125,
0.08251953125,
0.15283203125
],
[
0.5048828125,
0.1383056640625,
0.890625,
0.1383056640625,
0.890625,
0.1514892578125,
0.5048828125,
0.1514892578125
],
[
0.08251953125,
0.154052734375,
0.468017578125,
0.154052734375,
0.468017578125,
0.1673583984375,
0.08251953125,
0.1673583984375
],
[
0.5048828125,
0.154052734375,
0.8759765625,
0.154052734375,
0.8759765625,
0.1673583984375,
0.5048828125,
0.1673583984375
],
[
0.08251953125,
0.1685791015625,
0.438720703125,
0.1685791015625,
0.438720703125,
0.1817626953125,
0.08251953125,
0.1817626953125
],
[
0.50341796875,
0.1685791015625,
0.8896484375,
0.1685791015625,
0.8896484375,
0.1817626953125,
0.50341796875,
0.1817626953125
],
[
0.101318359375,
0.184326171875,
0.46728515625,
0.184326171875,
0.46728515625,
0.1976318359375,
0.101318359375,
0.1976318359375
],
[
0.5048828125,
0.1849365234375,
0.88818359375,
0.1849365234375,
0.88818359375,
0.1956787109375,
0.5048828125,
0.1956787109375
],
[
0.08251953125,
0.1988525390625,
0.468017578125,
0.1988525390625,
0.468017578125,
0.212158203125,
0.08251953125,
0.212158203125
],
[
0.50244140625,
0.1988525390625,
0.88818359375,
0.1988525390625,
0.88818359375,
0.212158203125,
0.50244140625,
0.212158203125
],
[
0.08416748046875,
0.21533203125,
0.46728515625,
0.21533203125,
0.46728515625,
0.2259521484375,
0.08416748046875,
0.2259521484375
],
[
0.50341796875,
0.2139892578125,
0.79736328125,
0.2139892578125,
0.79736328125,
0.2279052734375,
0.50341796875,
0.2279052734375
],
[
0.08087158203125,
0.2291259765625,
0.465576171875,
0.2291259765625,
0.465576171875,
0.242431640625,
0.08087158203125,
0.242431640625
],
[
0.52392578125,
0.2298583984375,
0.8896484375,
0.2298583984375,
0.8896484375,
0.24365234375,
0.52392578125,
0.24365234375
],
[
0.08251953125,
0.24560546875,
0.465576171875,
0.24560546875,
0.465576171875,
0.255615234375,
0.08251953125,
0.255615234375
],
[
0.5048828125,
0.246826171875,
0.88818359375,
0.246826171875,
0.88818359375,
0.2568359375,
0.5048828125,
0.2568359375
],
[
0.08251953125,
0.261474609375,
0.465576171875,
0.261474609375,
0.465576171875,
0.271484375,
0.08251953125,
0.271484375
],
[
0.50341796875,
0.260009765625,
0.88818359375,
0.260009765625,
0.88818359375,
0.2734375,
0.50341796875,
0.2734375
],
[
0.08087158203125,
0.274658203125,
0.46728515625,
0.274658203125,
0.46728515625,
0.28857421875,
0.08087158203125,
0.28857421875
],
[
0.50244140625,
0.274658203125,
0.8896484375,
0.274658203125,
0.8896484375,
0.28857421875,
0.50244140625,
0.28857421875
],
[
0.08251953125,
0.291748046875,
0.46728515625,
0.291748046875,
0.46728515625,
0.3017578125,
0.08251953125,
0.3017578125
],
[
0.50341796875,
0.291748046875,
0.8896484375,
0.291748046875,
0.8896484375,
0.304931640625,
0.50341796875,
0.304931640625
],
[
0.08087158203125,
0.304931640625,
0.46728515625,
0.304931640625,
0.46728515625,
0.318115234375,
0.08087158203125,
0.318115234375
],
[
0.5048828125,
0.30615234375,
0.88818359375,
0.30615234375,
0.88818359375,
0.3193359375,
0.5048828125,
0.3193359375
],
[
0.08251953125,
0.3193359375,
0.468017578125,
0.3193359375,
0.468017578125,
0.333251953125,
0.08251953125,
0.333251953125
],
[
0.50341796875,
0.32080078125,
0.8896484375,
0.32080078125,
0.8896484375,
0.333984375,
0.50341796875,
0.333984375
],
[
0.08087158203125,
0.335205078125,
0.46728515625,
0.335205078125,
0.46728515625,
0.348388671875,
0.08087158203125,
0.348388671875
],
[
0.50634765625,
0.337158203125,
0.88623046875,
0.337158203125,
0.88623046875,
0.347900390625,
0.50634765625,
0.347900390625
],
[
0.08416748046875,
0.3515625,
0.46728515625,
0.3515625,
0.46728515625,
0.3623046875,
0.08416748046875,
0.3623046875
],
[
0.50634765625,
0.352783203125,
0.8896484375,
0.352783203125,
0.8896484375,
0.363037109375,
0.50634765625,
0.363037109375
],
[
0.08087158203125,
0.363037109375,
0.46728515625,
0.363037109375,
0.46728515625,
0.376953125,
0.08087158203125,
0.376953125
],
[
0.50244140625,
0.3642578125,
0.8896484375,
0.365478515625,
0.8896484375,
0.380126953125,
0.50244140625,
0.37890625
],
[
0.08251953125,
0.380126953125,
0.468017578125,
0.380126953125,
0.468017578125,
0.393310546875,
0.08251953125,
0.393310546875
],
[
0.5048828125,
0.380615234375,
0.8896484375,
0.380615234375,
0.8896484375,
0.39453125,
0.5048828125,
0.39453125
],
[
0.08416748046875,
0.396484375,
0.46728515625,
0.396484375,
0.46728515625,
0.4072265625,
0.08416748046875,
0.4072265625
],
[
0.50341796875,
0.396484375,
0.86279296875,
0.396484375,
0.86279296875,
0.410400390625,
0.50341796875,
0.410400390625
],
[
0.08251953125,
0.410400390625,
0.46728515625,
0.410400390625,
0.46728515625,
0.423583984375,
0.08251953125,
0.423583984375
],
[
0.08416748046875,
0.4267578125,
0.46728515625,
0.4267578125,
0.46728515625,
0.4375,
0.08416748046875,
0.4375
],
[
0.50341796875,
0.429931640625,
0.59716796875,
0.429931640625,
0.59716796875,
0.44140625,
0.50341796875,
0.44140625
],
[
0.08416748046875,
0.442626953125,
0.46728515625,
0.442626953125,
0.46728515625,
0.45263671875,
0.08416748046875,
0.45263671875
],
[
0.08416748046875,
0.45703125,
0.46728515625,
0.45703125,
0.46728515625,
0.46728515625,
0.08416748046875,
0.46728515625
],
[
0.52392578125,
0.455078125,
0.890625,
0.455078125,
0.890625,
0.468505859375,
0.52392578125,
0.468505859375
],
[
0.08087158203125,
0.47021484375,
0.468017578125,
0.47021484375,
0.468017578125,
0.484130859375,
0.08087158203125,
0.484130859375
],
[
0.5009765625,
0.4697265625,
0.88623046875,
0.4697265625,
0.88623046875,
0.48291015625,
0.5009765625,
0.48291015625
],
[
0.08087158203125,
0.48486328125,
0.468017578125,
0.48486328125,
0.468017578125,
0.498779296875,
0.08087158203125,
0.498779296875
],
[
0.50341796875,
0.48486328125,
0.8896484375,
0.48486328125,
0.8896484375,
0.498779296875,
0.50341796875,
0.498779296875
],
[
0.08087158203125,
0.50048828125,
0.468017578125,
0.50048828125,
0.468017578125,
0.5146484375,
0.08087158203125,
0.5146484375
],
[
0.50341796875,
0.50048828125,
0.8896484375,
0.50048828125,
0.8896484375,
0.5146484375,
0.50341796875,
0.5146484375
],
[
0.08251953125,
0.5166015625,
0.468017578125,
0.5166015625,
0.468017578125,
0.52978515625,
0.08251953125,
0.52978515625
],
[
0.5048828125,
0.517578125,
0.8896484375,
0.517578125,
0.8896484375,
0.52783203125,
0.5048828125,
0.52783203125
],
[
0.08087158203125,
0.53076171875,
0.2181396484375,
0.53076171875,
0.2181396484375,
0.54443359375,
0.08087158203125,
0.54443359375
],
[
0.50341796875,
0.52880859375,
0.890625,
0.52978515625,
0.890625,
0.54443359375,
0.50341796875,
0.54345703125
],
[
0.50634765625,
0.54736328125,
0.8896484375,
0.54736328125,
0.8896484375,
0.55810546875,
0.50634765625,
0.55810546875
],
[
0.080078125,
0.5595703125,
0.2254638671875,
0.5595703125,
0.2254638671875,
0.57275390625,
0.080078125,
0.57275390625
],
[
0.5048828125,
0.56103515625,
0.890625,
0.56103515625,
0.890625,
0.57470703125,
0.5048828125,
0.57470703125
],
[
0.50341796875,
0.57568359375,
0.88818359375,
0.57568359375,
0.88818359375,
0.5888671875,
0.50341796875,
0.5888671875
],
[
0.10296630859375,
0.5869140625,
0.46728515625,
0.5869140625,
0.46728515625,
0.59765625,
0.10296630859375,
0.59765625
],
[
0.5048828125,
0.59228515625,
0.859375,
0.59228515625,
0.859375,
0.60302734375,
0.5048828125,
0.60302734375
],
[
0.08416748046875,
0.60107421875,
0.468017578125,
0.60107421875,
0.468017578125,
0.6142578125,
0.08416748046875,
0.6142578125
],
[
0.525390625,
0.609375,
0.88818359375,
0.609375,
0.88818359375,
0.619140625,
0.525390625,
0.619140625
],
[
0.08251953125,
0.61572265625,
0.46728515625,
0.61572265625,
0.46728515625,
0.62890625,
0.08251953125,
0.62890625
],
[
0.5048828125,
0.62255859375,
0.8896484375,
0.62255859375,
0.8896484375,
0.63623046875,
0.5048828125,
0.63623046875
],
[
0.08087158203125,
0.6298828125,
0.46728515625,
0.6298828125,
0.46728515625,
0.64306640625,
0.08087158203125,
0.64306640625
],
[
0.50341796875,
0.63720703125,
0.8896484375,
0.63720703125,
0.8896484375,
0.65087890625,
0.50341796875,
0.65087890625
],
[
0.08251953125,
0.64599609375,
0.468017578125,
0.64599609375,
0.468017578125,
0.6591796875,
0.08251953125,
0.6591796875
],
[
0.5048828125,
0.65380859375,
0.8896484375,
0.65380859375,
0.8896484375,
0.6640625,
0.5048828125,
0.6640625
],
[
0.08416748046875,
0.662109375,
0.465576171875,
0.662109375,
0.465576171875,
0.67236328125,
0.08416748046875,
0.67236328125
],
[
0.5009765625,
0.66650390625,
0.619140625,
0.66748046875,
0.619140625,
0.681640625,
0.5009765625,
0.68115234375
],
[
0.08251953125,
0.67529296875,
0.46728515625,
0.67529296875,
0.46728515625,
0.689453125,
0.08251953125,
0.689453125
],
[
0.52294921875,
0.68505859375,
0.55810546875,
0.68505859375,
0.55810546875,
0.69775390625,
0.52294921875,
0.69775390625
],
[
0.08251953125,
0.6923828125,
0.465576171875,
0.6923828125,
0.465576171875,
0.70263671875,
0.08251953125,
0.70263671875
],
[
0.08251953125,
0.70849609375,
0.465576171875,
0.70849609375,
0.465576171875,
0.71826171875,
0.08251953125,
0.71826171875
],
[
0.50341796875,
0.7119140625,
0.76708984375,
0.7119140625,
0.76708984375,
0.7265625,
0.50341796875,
0.7265625
],
[
0.08087158203125,
0.7216796875,
0.46728515625,
0.7216796875,
0.46728515625,
0.73486328125,
0.08087158203125,
0.73486328125
],
[
0.08087158203125,
0.736328125,
0.46728515625,
0.736328125,
0.46728515625,
0.75,
0.08087158203125,
0.75
],
[
0.52294921875,
0.73486328125,
0.890625,
0.736328125,
0.890625,
0.75048828125,
0.52294921875,
0.75
],
[
0.08251953125,
0.751953125,
0.3095703125,
0.751953125,
0.3095703125,
0.76513671875,
0.08251953125,
0.76513671875
],
[
0.5048828125,
0.751953125,
0.8896484375,
0.751953125,
0.8896484375,
0.76513671875,
0.5048828125,
0.76513671875
],
[
0.1004638671875,
0.767578125,
0.468017578125,
0.767578125,
0.468017578125,
0.78076171875,
0.1004638671875,
0.78076171875
],
[
0.5048828125,
0.767578125,
0.8896484375,
0.767578125,
0.8896484375,
0.78076171875,
0.5048828125,
0.78076171875
],
[
0.08251953125,
0.78271484375,
0.46728515625,
0.78271484375,
0.46728515625,
0.79345703125,
0.08251953125,
0.79345703125
],
[
0.5048828125,
0.7822265625,
0.890625,
0.7822265625,
0.890625,
0.79541015625,
0.5048828125,
0.79541015625
],
[
0.080078125,
0.79541015625,
0.468017578125,
0.796875,
0.468017578125,
0.81103515625,
0.080078125,
0.81005859375
],
[
0.50341796875,
0.796875,
0.8896484375,
0.79541015625,
0.8896484375,
0.81005859375,
0.50341796875,
0.81103515625
],
[
0.08087158203125,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.5048828125,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.5048828125,
0.82470703125
],
[
0.08087158203125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.08087158203125,
0.84033203125
],
[
0.50341796875,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.50341796875,
0.84033203125
],
[
0.08251953125,
0.84130859375,
0.465576171875,
0.84130859375,
0.465576171875,
0.85498046875,
0.08251953125,
0.85498046875
],
[
0.50634765625,
0.84326171875,
0.88818359375,
0.84326171875,
0.88818359375,
0.85400390625,
0.50634765625,
0.85400390625
],
[
0.080078125,
0.85595703125,
0.465576171875,
0.85693359375,
0.465576171875,
0.87060546875,
0.080078125,
0.869140625
],
[
0.51708984375,
0.85693359375,
0.890625,
0.85595703125,
0.890625,
0.869140625,
0.51708984375,
0.87060546875
],
[
0.080078125,
0.87060546875,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.080078125,
0.88525390625
],
[
0.50341796875,
0.87060546875,
0.890625,
0.8720703125,
0.890625,
0.88623046875,
0.50341796875,
0.88525390625
],
[
0.08251953125,
0.8896484375,
0.46728515625,
0.8896484375,
0.46728515625,
0.8994140625,
0.08251953125,
0.8994140625
],
[
0.50341796875,
0.88818359375,
0.5361328125,
0.88818359375,
0.5361328125,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.48046875,
0.9248046875,
0.491943359375,
0.9248046875,
0.491943359375,
0.93798828125,
0.48046875,
0.93798828125
]
] |
[
"正,也就是说,记录的演示可以由视觉语言预训练模型",
"在培训和部署之间保持一致。为了适应不同的任务,研",
"自动重新标记。通过将记录的演示的视觉观察作为输",
"究人员提出了在部署到新环境期间微调策略的不同方",
"入:预训练的模型可以相应地检索准确的语言指令。鉴",
"法[18,26,28,39,67,72]。例如,Julian等人。E[26]建",
"于新环境中准确的配对演示和说明,我们可以根据它",
"议在转移到新的机器人操纵环境时收集800次抓取尝",
"们来微调和调整政策。我们强调,PAFF的整个过程使",
"试,并使用收集到的数据对策略进行微调。然而,这",
"用训练有素的模型以自动方式执行,无需人工干预",
"过程需要大量的人为干预。Hansen等人。【18]遵循测",
"我们精心设计了广泛的语言条件机器人适应实验,",
"试时培训57,61!,充许策略在新环境中部署后通过探",
"以评估跨对象组成,任务和环境的策略适应性,包括",
"索自我监督继续培训。我们不使用自我监督,而是利用",
"从模拟到现实世界。我们的评估包括(I)图中的成分概",
"视觉语言基础模型的反馈来自动微调策略",
"括。E1(a),其中我们训练一种策略,将不同形状的",
"预训练的机器人基础模型。除了以语言为条件的",
"物体包装在棕色盒子中,并将不同颜色的块放入不同",
"操作任务外,我们还赌了各种机器人学习算法F",
"颜色的碗中,并使其适应将不同形状的物体放入不同",
"[1,17,40,43,48,53,65,66,68的基础模型的使用。。例如",
"颜色的碗中。(li)图中的非分布泛化。1(c),我们训",
"Radosavovic等人。48]提出在Ego4D[16]等大规模",
"练一个策略,将某些物体包装在棕色盒子里,并使其",
"数据上训练一个带掩码的自动编码器21],并使用这",
"适应看不见的物体;在图。E1(d),其中我们将在可",
"种预训练的表示进行带有行为克隆的真实机器人学习,",
"见环境上训练的策略适应于具有不同纹理和静态元素",
"结果表明,这种预训练有助于大大降低样本效率,提高",
"(例如滑动门,抽屉和开关)的位置的不可见环境。(ii)",
"性能。然而,它没有彻底研究预训练如何影响分布外泛",
"图中的模拟到真实转移。1(B),其中我们将在模拟数",
"化,天多数作品只使用预训练网络作为策略缩编码器。在",
"据上训练的策略调整到现实世界。我们发现PAFF在",
"这项工作中,除了利用基础模型的表示形式外,我们还",
"所有评估中都大大提高了基线。在模拟到真实传输中,",
"利用它们的泛化能力来识别视觉概念,将其转移到看",
"我们的方法将成功率平均提高了49。6%上的四个任",
"不见的环境中,以便在新环境中部署期间提供反馈",
"务比基线。我们的管道通过利用基础模型的泛化能力",
"来填补仿真与现实世界之间的领域空白。我们的方法",
"2.Method",
"也增加厂成功率从17。8%至35。0%在组合泛化评估",
"中的应用,并从48。4%至63。8%用于包装看不见的",
"我们建议通过播放和重新标记管道从基础模型反馈",
"物体。在使策略适应看不见的环境时,我们的方法比基",
"(PAFF)进行策略调整。正如算法1中总结的那样",
"线方法提高了从5个%到11个%完成5个语言指令",
"我们的管道由两个阶段组成。在第一阶段,我们通过训",
"链的成功率。广泛的评估结果表明,PAFF可以有效地",
"练演示来训练策略并微调视觉语言预训练模型。第二",
"使语言条件策略适应看不见的对象,任务,环境,并实",
"阶段涉及新任务中的游戏和重新标记。具体来说,如",
"现sim-to-real转移",
"图。E2,我们首先让策略播放一系列随机生成的指令,",
"并记录演示,包括视觉观察和操作。虽然操作可能是错",
"1. Related Work",
"误的,但我们让微调的视觉语言模型通过检索给定视",
"觉观察的语言指令来重新标记演示。通过重新标记的",
"语言条件操作。基于指令的操纵一直是机器人技术",
"演示指令数据对,我们可以微调策略以适应新任务",
"中的热门研究主题[4,67,20,33,35,37,45,54,55]不",
"我们的方法利用视觉语言基础模型在识别视觉概念",
"仅因为它提供了用户友好的界面,而且还因为语言的",
"方面的泛化能力,以自动方式注释数据以微调新任务",
"组成特性允许技能概括并指导长期计划。最近,基础模",
"的策略。PAFF可以有效地适应语言条件策略,以操",
"型国5,9,22,36,47,49,50,58,641的发展使可推广的操",
"纵看不见的对象并解决新颖环境中的新任务,并实现",
"作技能学习E2.25.34.56取得了重大进展。这些方法",
"sim-to-real转移",
"采用预训练的基础模型对语言教学和视觉观察进行编",
"基于",
"码,并在此基础上训练策略网络。虽然这个管道成功地",
"将策略推广到不同的任务和新对象,但它仍然很难推",
"2.1. Language Conditioned Policy",
"广到完全看不见的环境和任务。在本文中,我们从基础",
"模型反馈中提出了策略调整,以便在看不见的环境和",
"的语言条件策略受以前的工作E[34,56]的启发,我",
"任务中部署期间调整我们的策略",
"们考虑学习语言条件策略元的问题,该策略在给定输",
"具有可视输人的策略自适应。使视觉运动控制",
"人t=(ot,It)的情况下输出动作at,该输入由以下",
"策略适应看不见的环境的能力是许多应用程序(如",
"视觉观察X。我们使用具有不同动作空间的两种类型",
"sim2realtransfer)中的关键。实现这种概括的一种流",
"的操作平台进行实验:(i)我们遵循CLIPORTE[56]",
"行方法是使用域随机化E[46,51,59]和数据增强E",
"的结构来构建HUIPORTE[35,以将桌面对象操作",
"[819,29,30,69]来学习不变的视觉表示。然而,对",
"(e.g.,拾取块并将其放置在碗中)作为一系列拾取和放",
"于这些政策来说,将其推广到培训的随机化范围之",
"置功能预测,其自的是检测动作,并且每个动作都涉及",
"外仍然是非常具有挑战性的。另一个研究方向是利用",
"个开始和最终的。我们采用与CLIPORT和HULC",
"GANs【15,73]在转发到策略[24,52,70,71]之前跨域",
"中定义的相同的模仿训练损失(πe(ot,lt),at)来优化",
"翻译输人图像。但是,上述所有方法都要求任务和环境",
"策略",
"2"
] |
{
"arxiv_id": "2212.07398",
"language": "zh",
"page_idx": 1
}
|
||
2212.07398-zh-2
|
2212.07398-zh-2.jpg
|
<FigureHere>
Figure 2. The pipeline of policy adaptation from foundation model feedback (PAFF). When we adapt a trained policy to a new task, we frst let the robot play , that is, the policy continuously predicts and performs actions given a series of randomly generated language instructions. We record these demonstrations including visual observations and model's actions. After that, we let the model relabel , that is, the vision-language foundation model relabels the demonstrations by retrieving the language instructions given the recorded visual observations. We then fine-tune the policy with the paired observations and instructions, and corresponding actions, which are collected in an automatic way.
Algorithm 1 PAFF
Function: train a policy and fne-tune a foundation
model
$\triangleright$Stage 1,Sec. 2.1and Sec. 2.3
Input: training demonstrations; a randomly initialized
policy $\pi_\theta$ ; a pre-trained foundation model $f_\phi$
1: for each training demonstration do
2:
optimize the policy with $\mathcal{L}(\pi_\theta(o_t,l_t),a_t)$
3:
optimize the pre-trained foundation model with
$\mathcal{L}(f_\phi(o_t,o_{t+1},l_t))$
4{:}endfor
使用配对的演示指令数据来微调策略
我们建议根据基础模型反馈进行策略调整,以自动方式收集数据以微调新任务的策略,而无需人工干预。具体来说,如图。2 , 我们首先让策略“玩”一系列随机生成的语言指令。给定当前的视觉观察$o_t$和指令$I_t$ , 策略预测动作 $a_t$ , 机器人执行相应的操作,通过视觉观察$o_{t+1}$到达新场景。在执行一定数量的语言指令后,场景将由机器人自动重置,该机器人将对象从容器中移出到遵循“将对象移出”指令的桌子上。这样, 策略就可以在新任务中“玩”,即机器人将通过不断接收语言指令和操纵物体来探索场景。我们记录这些演示,包括视觉观察$\{o_t\}_{t=1}^T$和受训策略预测的机器人动作$\{\hat{a}_t\}_{t=1}^T$
在记录演示之后,我们让模型使用微调的视觉语言基础模型重新标记演示,如图所示。2。我们制定了将演示标记为视觉到语言检索的任务。具体来说,给定视觉观察$o_t$和$o_{t+1}$,基础模型在所有可能的语言指令中检索语言指令$\hat{I}_t$ 。受益于大规模数据的预训练,基础模型可以跨域很好地泛化,从而能够为记录的演示检索准确的语言指令
在播放和重新标记之后,我们自动收集新的演示指令数据对,包括视觉观察$\left\{o_t\right\}_t=1^T$,重新标记的语言指令$\{\hat{I}_t\}_{t=1}^T$和动作$\{\hat{a}_t\}_t=1^T$,用于微调策略以适应新任务
Function: play and relabel in a new task, then fine-
tune the policy
$\triangleright$ ${\mathrm{Stage~2~, }}$
Sec. ? ?
Input: initial observation; a series of language instruc-
tions
5: for each language instruction do
6:
predict action $\hat{a}_t=\pi_\theta(o_t,l_t)$ , perform manip-
ulation and record demonstrations
$7\colon$end for
8: for each recorded demonstration do
9:
retrieve a language instruction $\hat{l}_t=f_\phi(o_t,o_{t+1})$
10:end for
11: for each recorded demonstration do
12:
optimize the policy with $\mathcal{L}(\pi_{\theta}(o_{t},\hat{l}_{t}),\hat{a}_{t})$
$13\colon$end for
# 2.3. Vision-language Foundation Model
为了使模型自动以准确的指令重新标记记录的演示我们将演示标记为视觉到语言检索的任务,这是视觉语言预训练中的主流下游任务。现有的视觉语言基础模型,如 CLIP [47] ,在描述静态内容的单幅图像及其字幕上进行预训练,因此不能直接应用于标记具有连续视觉观察的记录演示。例如,对于需要连续控制的操作,例如“将滑动门推向左侧”,如图。$\color{red}{\mathrm{E3}}$,为
## $2. 2. \textbf{Play and Relabel}$
XMATHX。2 )。如果我们的模型可以将指令校正为匹配的指令 (e.g.“将星星放入黄色碗中”),则可以
3
|
[
[
0.136474609375,
0.08837890625,
0.214111328125,
0.09027099609375,
0.214111328125,
0.10479736328125,
0.136474609375,
0.1029052734375
],
[
0.59619140625,
0.09027099609375,
0.6298828125,
0.0921630859375,
0.62841796875,
0.10479736328125,
0.5947265625,
0.1029052734375
],
[
0.73876953125,
0.09027099609375,
0.84619140625,
0.09027099609375,
0.84619140625,
0.10418701171875,
0.73876953125,
0.10418701171875
],
[
0.53759765625,
0.09783935546875,
0.580078125,
0.09783935546875,
0.580078125,
0.10919189453125,
0.53759765625,
0.10919189453125
],
[
0.1666259765625,
0.1060791015625,
0.281005859375,
0.1060791015625,
0.281005859375,
0.11614990234375,
0.1666259765625,
0.11614990234375
],
[
0.370849609375,
0.1060791015625,
0.473876953125,
0.1060791015625,
0.473876953125,
0.11614990234375,
0.370849609375,
0.11614990234375
],
[
0.13232421875,
0.11932373046875,
0.306396484375,
0.12060546875,
0.306396484375,
0.1351318359375,
0.13232421875,
0.1337890625
],
[
0.336669921875,
0.12060546875,
0.49267578125,
0.12060546875,
0.49267578125,
0.1337890625,
0.336669921875,
0.1337890625
],
[
0.65625,
0.117431640625,
0.7099609375,
0.117431640625,
0.7099609375,
0.1275634765625,
0.65625,
0.1275634765625
],
[
0.7099609375,
0.1256103515625,
0.775390625,
0.1256103515625,
0.775390625,
0.1363525390625,
0.7099609375,
0.1363525390625
],
[
0.564453125,
0.1717529296875,
0.60302734375,
0.1717529296875,
0.60302734375,
0.1849365234375,
0.564453125,
0.1849365234375
],
[
0.56884765625,
0.18310546875,
0.62158203125,
0.18310546875,
0.62158203125,
0.1944580078125,
0.56884765625,
0.1944580078125
],
[
0.176513671875,
0.2266845703125,
0.26953125,
0.2279052734375,
0.26953125,
0.2392578125,
0.176513671875,
0.238037109375
],
[
0.3798828125,
0.2266845703125,
0.463134765625,
0.2279052734375,
0.463134765625,
0.2392578125,
0.3798828125,
0.238037109375
],
[
0.71728515625,
0.2266845703125,
0.81201171875,
0.2279052734375,
0.81201171875,
0.2392578125,
0.71728515625,
0.238037109375
],
[
0.1422119140625,
0.261962890625,
0.303955078125,
0.261474609375,
0.303955078125,
0.27587890625,
0.1422119140625,
0.276611328125
],
[
0.336669921875,
0.26318359375,
0.49267578125,
0.26318359375,
0.49267578125,
0.276611328125,
0.336669921875,
0.276611328125
],
[
0.56787109375,
0.261474609375,
0.64892578125,
0.26318359375,
0.64892578125,
0.27783203125,
0.56787109375,
0.27587890625
],
[
0.68115234375,
0.26953125,
0.71826171875,
0.272705078125,
0.71728515625,
0.281005859375,
0.6806640625,
0.27783203125
],
[
0.72802734375,
0.26953125,
0.7861328125,
0.26953125,
0.7861328125,
0.281005859375,
0.72802734375,
0.281005859375
],
[
0.580078125,
0.27587890625,
0.6259765625,
0.27587890625,
0.6259765625,
0.290283203125,
0.580078125,
0.290283203125
],
[
0.1519775390625,
0.2822265625,
0.29736328125,
0.2822265625,
0.29736328125,
0.29541015625,
0.1519775390625,
0.29541015625
],
[
0.3505859375,
0.2822265625,
0.484375,
0.2822265625,
0.484375,
0.29541015625,
0.3505859375,
0.29541015625
],
[
0.08087158203125,
0.3037109375,
0.890625,
0.3037109375,
0.890625,
0.317626953125,
0.08087158203125,
0.317626953125
],
[
0.080078125,
0.318115234375,
0.89208984375,
0.318115234375,
0.89208984375,
0.33203125,
0.080078125,
0.33203125
],
[
0.080078125,
0.33203125,
0.89208984375,
0.33203125,
0.89208984375,
0.34521484375,
0.080078125,
0.34521484375
],
[
0.080078125,
0.3466796875,
0.890625,
0.3466796875,
0.890625,
0.35986328125,
0.080078125,
0.35986328125
],
[
0.080078125,
0.35986328125,
0.8935546875,
0.35986328125,
0.8935546875,
0.373779296875,
0.080078125,
0.373779296875
],
[
0.07843017578125,
0.371826171875,
0.73388671875,
0.373779296875,
0.73388671875,
0.38818359375,
0.07843017578125,
0.386474609375
],
[
0.08087158203125,
0.40087890625,
0.21728515625,
0.40087890625,
0.21728515625,
0.4140625,
0.08087158203125,
0.4140625
],
[
0.5048828125,
0.40087890625,
0.765625,
0.40087890625,
0.765625,
0.4140625,
0.5048828125,
0.4140625
],
[
0.07843017578125,
0.41845703125,
0.4697265625,
0.419189453125,
0.4697265625,
0.434326171875,
0.07843017578125,
0.43310546875
],
[
0.52294921875,
0.415283203125,
0.890625,
0.4140625,
0.890625,
0.4287109375,
0.52294921875,
0.429931640625
],
[
0.1070556640625,
0.436279296875,
0.1544189453125,
0.436279296875,
0.1544189453125,
0.447509765625,
0.1070556640625,
0.447509765625
],
[
0.5048828125,
0.43115234375,
0.88818359375,
0.43115234375,
0.88818359375,
0.4443359375,
0.5048828125,
0.4443359375
],
[
0.2296142578125,
0.449462890625,
0.4697265625,
0.448974609375,
0.4697265625,
0.46337890625,
0.2296142578125,
0.464111328125
],
[
0.5048828125,
0.44580078125,
0.8896484375,
0.44580078125,
0.8896484375,
0.458984375,
0.5048828125,
0.458984375
],
[
0.080078125,
0.46533203125,
0.4697265625,
0.46533203125,
0.4697265625,
0.479248046875,
0.080078125,
0.479248046875
],
[
0.5048828125,
0.4609375,
0.890625,
0.4609375,
0.890625,
0.474853515625,
0.5048828125,
0.474853515625
],
[
0.108642578125,
0.48095703125,
0.4345703125,
0.48095703125,
0.4345703125,
0.49560546875,
0.108642578125,
0.49560546875
],
[
0.5048828125,
0.4765625,
0.890625,
0.4765625,
0.890625,
0.490478515625,
0.5048828125,
0.490478515625
],
[
0.08660888671875,
0.49560546875,
0.359375,
0.494384765625,
0.359375,
0.5087890625,
0.08660888671875,
0.51025390625
],
[
0.50341796875,
0.4912109375,
0.890625,
0.4912109375,
0.890625,
0.505859375,
0.50341796875,
0.505859375
],
[
0.09478759765625,
0.51123046875,
0.10455322265625,
0.51806640625,
0.096435546875,
0.5234375,
0.0882568359375,
0.517578125
],
[
0.1282958984375,
0.51123046875,
0.418212890625,
0.51123046875,
0.418212890625,
0.5244140625,
0.1282958984375,
0.5244140625
],
[
0.5048828125,
0.5068359375,
0.890625,
0.5068359375,
0.890625,
0.52099609375,
0.5048828125,
0.52099609375
],
[
0.1298828125,
0.52587890625,
0.468017578125,
0.52587890625,
0.468017578125,
0.5390625,
0.1298828125,
0.5390625
],
[
0.5048828125,
0.521484375,
0.890625,
0.521484375,
0.890625,
0.53515625,
0.5048828125,
0.53515625
],
[
0.0906982421875,
0.52880859375,
0.10296630859375,
0.52880859375,
0.10296630859375,
0.537109375,
0.0906982421875,
0.537109375
],
[
0.108642578125,
0.53857421875,
0.233642578125,
0.54052734375,
0.233642578125,
0.55810546875,
0.108642578125,
0.55615234375
],
[
0.5048828125,
0.537109375,
0.890625,
0.537109375,
0.890625,
0.55029296875,
0.5048828125,
0.55029296875
],
[
0.50341796875,
0.55029296875,
0.890625,
0.5498046875,
0.890625,
0.564453125,
0.50341796875,
0.56494140625
],
[
0.0882568359375,
0.556640625,
0.16015625,
0.556640625,
0.16015625,
0.568359375,
0.0882568359375,
0.568359375
],
[
0.50341796875,
0.56640625,
0.890625,
0.56640625,
0.890625,
0.58056640625,
0.50341796875,
0.58056640625
],
[
0.08087158203125,
0.58544921875,
0.465576171875,
0.58544921875,
0.465576171875,
0.5986328125,
0.08087158203125,
0.5986328125
],
[
0.50341796875,
0.58203125,
0.576171875,
0.58203125,
0.576171875,
0.5966796875,
0.50341796875,
0.5966796875
],
[
0.381591796875,
0.60107421875,
0.468017578125,
0.60107421875,
0.468017578125,
0.61572265625,
0.381591796875,
0.61572265625
],
[
0.521484375,
0.59521484375,
0.8896484375,
0.5966796875,
0.8896484375,
0.611328125,
0.521484375,
0.60986328125
],
[
0.108642578125,
0.6015625,
0.2181396484375,
0.6015625,
0.2181396484375,
0.61572265625,
0.108642578125,
0.61572265625
],
[
0.10540771484375,
0.6162109375,
0.16015625,
0.6142578125,
0.160888671875,
0.62890625,
0.1070556640625,
0.630859375
],
[
0.5048828125,
0.6123046875,
0.8896484375,
0.6123046875,
0.8896484375,
0.62548828125,
0.5048828125,
0.62548828125
],
[
0.080078125,
0.630859375,
0.465576171875,
0.630859375,
0.465576171875,
0.64453125,
0.080078125,
0.64453125
],
[
0.50341796875,
0.62548828125,
0.8896484375,
0.626953125,
0.8896484375,
0.6416015625,
0.50341796875,
0.64013671875
],
[
0.1070556640625,
0.646484375,
0.1478271484375,
0.646484375,
0.1478271484375,
0.6611328125,
0.1070556640625,
0.6611328125
],
[
0.5048828125,
0.642578125,
0.890625,
0.642578125,
0.890625,
0.6572265625,
0.5048828125,
0.6572265625
],
[
0.0849609375,
0.6611328125,
0.339111328125,
0.66015625,
0.339111328125,
0.6748046875,
0.0849609375,
0.67529296875
],
[
0.50341796875,
0.6572265625,
0.890625,
0.6572265625,
0.890625,
0.671875,
0.50341796875,
0.671875
],
[
0.1282958984375,
0.67529296875,
0.46728515625,
0.6767578125,
0.46728515625,
0.69140625,
0.1282958984375,
0.68994140625
],
[
0.50341796875,
0.67236328125,
0.890625,
0.67236328125,
0.890625,
0.68603515625,
0.50341796875,
0.68603515625
],
[
0.08905029296875,
0.6796875,
0.10455322265625,
0.6796875,
0.10455322265625,
0.689453125,
0.08905029296875,
0.689453125
],
[
0.1094970703125,
0.693359375,
0.35546875,
0.693359375,
0.35546875,
0.7041015625,
0.1094970703125,
0.7041015625
],
[
0.50341796875,
0.68798828125,
0.65185546875,
0.68798828125,
0.65185546875,
0.7021484375,
0.50341796875,
0.7021484375
],
[
0.0882568359375,
0.70703125,
0.16015625,
0.70703125,
0.16015625,
0.71826171875,
0.0882568359375,
0.71826171875
],
[
0.52294921875,
0.70263671875,
0.890625,
0.70263671875,
0.890625,
0.71630859375,
0.52294921875,
0.71630859375
],
[
0.08660888671875,
0.72021484375,
0.363525390625,
0.72021484375,
0.363525390625,
0.734375,
0.08660888671875,
0.734375
],
[
0.50341796875,
0.71533203125,
0.89208984375,
0.71630859375,
0.89208984375,
0.734375,
0.50341796875,
0.73291015625
],
[
0.1298828125,
0.7373046875,
0.468017578125,
0.7373046875,
0.468017578125,
0.751953125,
0.1298828125,
0.751953125
],
[
0.50341796875,
0.73193359375,
0.890625,
0.73291015625,
0.890625,
0.74755859375,
0.50341796875,
0.7470703125
],
[
0.08905029296875,
0.7392578125,
0.10455322265625,
0.7392578125,
0.10455322265625,
0.74853515625,
0.08905029296875,
0.74853515625
],
[
0.08251953125,
0.75244140625,
0.16015625,
0.75244140625,
0.16015625,
0.7646484375,
0.08251953125,
0.7646484375
],
[
0.50341796875,
0.74755859375,
0.521484375,
0.74755859375,
0.521484375,
0.76123046875,
0.50341796875,
0.76123046875
],
[
0.08087158203125,
0.767578125,
0.365234375,
0.767578125,
0.365234375,
0.78076171875,
0.08087158203125,
0.78076171875
],
[
0.50341796875,
0.77294921875,
0.81201171875,
0.77294921875,
0.81201171875,
0.787109375,
0.50341796875,
0.787109375
],
[
0.08416748046875,
0.78515625,
0.10296630859375,
0.78515625,
0.10296630859375,
0.79345703125,
0.08416748046875,
0.79345703125
],
[
0.1282958984375,
0.78271484375,
0.418212890625,
0.78076171875,
0.418212890625,
0.79541015625,
0.1282958984375,
0.79736328125
],
[
0.080078125,
0.79736328125,
0.160888671875,
0.79541015625,
0.160888671875,
0.81005859375,
0.080078125,
0.8125
],
[
0.525390625,
0.796875,
0.88818359375,
0.796875,
0.88818359375,
0.81005859375,
0.525390625,
0.81005859375
],
[
0.5048828125,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.5048828125,
0.82470703125
],
[
0.50341796875,
0.82568359375,
0.890625,
0.82470703125,
0.890625,
0.8388671875,
0.50341796875,
0.84033203125
],
[
0.080078125,
0.84326171875,
0.250732421875,
0.8447265625,
0.250732421875,
0.859375,
0.080078125,
0.85791015625
],
[
0.50341796875,
0.8388671875,
0.890625,
0.84033203125,
0.890625,
0.85498046875,
0.50341796875,
0.85400390625
],
[
0.50341796875,
0.85693359375,
0.8896484375,
0.85693359375,
0.8896484375,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.101318359375,
0.8720703125,
0.2034912109375,
0.8720703125,
0.2034912109375,
0.88330078125,
0.101318359375,
0.88330078125
],
[
0.1968994140625,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.1968994140625,
0.88525390625
],
[
0.50341796875,
0.8720703125,
0.8896484375,
0.8720703125,
0.8896484375,
0.88525390625,
0.50341796875,
0.88525390625
],
[
0.08087158203125,
0.88623046875,
0.468017578125,
0.88623046875,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50341796875,
0.88623046875,
0.890625,
0.88623046875,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.47802734375,
0.923828125,
0.494384765625,
0.923828125,
0.494384765625,
0.93798828125,
0.47802734375,
0.93798828125
]
] |
[
"Play starts",
"Play",
"Play continues",
"Ican't",
"giveninstructionIr",
"given instructionI",
"\"put flower in orange bow\"%",
"\"put pentagon in blue bowl\"",
"actiona",
"manipulate",
"What",
"did I do?",
"observationot-1",
"observationOt",
"observationot+1",
"\"put star in yellow bow\"★",
"\"put square in purple bowl\"",
"Foundation",
"Lknow",
"Relabel",
"Model",
"re-labeled instruction it-1",
"re-labeled instruction It",
"Figure 2. The pipeline of policy adaptation from foundation model feedback (PAFF). When we adapt a trained policy",
"to a new task, we first let the robot play , that is, the policy continuously predicts and performs actions given a series",
"of randomly generated language instructions. We record these demonstrations including visual observations and model's",
"actions. After that, we let the model relabel , that is, the vision-language foundation model relabels the demonstrations by",
"retrieving the language instructions given the recorded visual observations. We then fine-tune the policy with the paired",
"observations and instructions, and corresponding actions, which are collected in an automatic way.",
"Algorithm 1PAFF",
"使用配对的演示指令数据来微调策略",
"Function: train a policy and fine-tune a foundation",
"我们建议根据基础模型反馈进行策略调整,以自动",
"model",
"方式收集数据以微调新任务的策略,而无需人工干预",
" Stage 1 , Sec. 2.1 and Sec.2.3",
"具体来说,如图。2,我们首先让策略“玩”一系列",
"Input: training demonstrations; a randomly initialized",
"随机生成的语言指令。给定当前的视觉观察0t和指令",
"policy Tg ; a pre-trained foundation model fs",
"It,策略预测动作at,机器人执行相应的操作,通过",
"l: for each training demonstration do",
"视觉观察ot+1到达新场景。在执行一定数量的语言指",
"2",
"optimize the policy with C(e(ot,lt),at)",
"令后,场景将由机器人自动重置,该机器人将对象从容",
"optimize the pre-trained foundation model with",
"器中移出到遵循“将对象移出”指令的桌子上。这样,",
"3:",
"C(fs(ot, Ot+1,lt)",
"策略就可以在新任务中“玩”,即机器人将通过不断接",
"收语言指令和操纵物体来探索场景。我们记录这些演",
"4:end for",
"示,包括视觉观察[ot}T-1和受训策略预测的机器人动",
"Function: play and relabel in a new task, then fine-",
"作at}T=]",
"D Stage 2,",
"在记录演示之后,我们让模型使用微调的视觉语言",
"tune the policy",
"Sec.??",
"基础模型重新标记演示,如图所示。2。我们制定了",
"Input: initial observation; a series of language instruc-",
"将演示标记为视觉到语言检索的任务。具体来说,给定",
"tions",
"视觉观察0t和Ot+1,基础模型在所有可能的语言指令",
"5: for each language instruction do",
"中检索语言指令It。受益于大规模数据的预训练,基",
"predict action at =e(ot,lt),perform manip-",
"础模型可以跨域很好地泛化,从而能够为记录的演示",
"6:",
"ulation and recorddemonstrations",
"检索准确的语言指令",
"7: end for",
"在播放和重新标记之后,我们自动收集新的演示指",
"8: for each recorded demonstration do",
"令数据对,包括视觉观察[ot}T-1,重新标记的语言指",
"retrieve a language instruction it = fs(ot, Ot+1)",
"令{it)-1和动作[at)T-1,用于微调策略以适应新任",
"9:",
"10:end for",
"务",
"1l: for each recorded demonstration do",
"2.3. Vision-language Foundation Model",
"12:",
"optimizethepolicy with C(πe(ot,it),at)",
"13: end for",
"为了使模型自动以准确的指令重新标记记录的演示",
"我们将演示标记为视觉到语言检索的任务,这是视觉",
"语言预训练中的主流下游任务。现有的视觉语言基础",
"2.2. Play and Relabel",
"模型,如CLIP[47】,在描述静态内容的单幅图像及",
"其字幕上进行预训练,因此不能直接应用于标记具有",
"XMATHX。2",
"2)。如果我们的模型可以将指令校正",
"连续视觉观察的记录演示。例如,对于需要连续控制",
"为匹配的指令(e.g.“将星星放人黄色碗中”),则可以",
"的操作,例如“将滑动门推向左侧”,如图。E3,为",
"3"
] |
{
"arxiv_id": "2212.07398",
"language": "zh",
"page_idx": 2
}
|
||
2212.07398-zh-4
|
2212.07398-zh-4.jpg
|
<FigureHere>
Figure 4. Given instructions vs. automatically re-labeled instructions of the recorded demonstrations with five consecutive
steps, where we let the policy play in new tasks. The policy performs manipulations, where the outcome demonstrations do not match the instructions. By taking the recorded demonstrations as inputs, our model retrieves accurate language instructions correspondingly.
并使用 8 个 GPU 上看到的任务和环境的训练数据训
练 ST-Adapter ??? 个时期
Table 2. Results of out-of-distribution generalization evaluation in the CALVIN platform. The number denotes the success rate of each subtask in the chain, and “Len” denotes the averaged successful sequence length.
<table>
<tbody>
<tr>
<th>Method</th>
<th>1</th>
<th> </th>
<th>2</th>
<th>3</th>
<th>3</th>
<th>4</th>
<th>5</th>
<th>Len</th>
</tr>
<tr>
<td>34 $\operatorname{HULC}$</td>
<td>$\overline{43}$</td>
<td>${\overline{\%}}$</td>
<td>$\overline{\%}$ $14‘$ </td>
<td>4 $\%$ - -</td>
<td>$\overline{07_0}$</td>
<td>$\overline{\%}$ 1</td>
<td>$\overline{\%}$ 0</td>
<td>0.62</td>
</tr>
<tr>
<td>MdetrLC $\lceil27\rceil$</td>
<td>69</td>
<td>$\%$</td>
<td>$\%$ 38</td>
<td>20 0.</td>
<td>$\%$</td>
<td>7 $\%$ $\frac{1}{2}$</td>
<td>$4\%$ T</td>
<td>1.38</td>
</tr>
<tr>
<td>444 $\operatorname{AugLC}$</td>
<td>69</td>
<td>$\%$</td>
<td>$\%$ 43</td>
<td>22 0.</td>
<td>$\%$</td>
<td>$\%$ 9</td>
<td>5 $\%$</td>
<td>1.48</td>
</tr>
<tr>
<td>Ours</td>
<td>72</td>
<td>$\%$</td>
<td>$\%$ 47 1</td>
<td>30 0.</td>
<td>$\%$</td>
<td>$\%_{0}$ 13</td>
<td>11 $\%$</td>
<td>1.73</td>
</tr>
</tbody>
</table>
对于 CLIPORT 平台中的评估,我们首先在单个GPU 上为 200 个纪元的每个任务训练 100 个演示的策略。然后,我们让机器人按照模板“put\_in\_”生成的语言指令进行游戏。。我们为每个场景连续记录 40 个演示,其中演示执行五个指令。在模型重新标记演示之后,我们保存记录的演示,其中视觉观察的表示与检索到的指令之间的相似性得分高于 3。0。我们对保存的100 个时代的示威活动的政策进行了微调
对于 CALVIN 平台中的评估,我们在 16个 GPU 上对环境 A, B, C 的训练数据进行了 10 个历元的策略训练。然后,我们让机器人按照从可见环境中使用的所有指令中随机选择的指令进行游戏。我们在环境 D 中记录了 500 个演示,其中一个演示执行五个子任务。我们对重新标记并保存了 5 个时期的演示的政策进行了微调
# $3. 4. \textbf{Results}$
3.4.1 Compositional Generalization
如图。4, 这种跨对象组合的适应是具有挑战性的。例如,给定第二列中的语言指令“将字母 T 放到青色碗中”,经过训练的策略错误地拾取字母 A 对象并将其放人第三列中的蓝色碗中。这样的错误可以通过我们微调的视觉语言基础模型来纠正,因为它检索“将字母 A 放到蓝色碗中”作为语言指令,并给出第二和第
三列的视觉观察
# $3. 3. \textbf{ Baselines}$
我们在 Tab 中显示组合泛化的评估结果。2。我们的方法在两种评估协议下都能获得最佳结果。与MdetrORT$\underline {{\mathrm{E} }}[ 27]$相比,它以与我们完全相同的方式对可见任务进行策略训练,我们的方法将成功率提高了17。2%,它显示了我们的播放效果,并重新标记了合成泛化的管道。微调的基础模型可以概括为识别组成设置中的视觉概念 (i.e.对象和碗),如图。4 (a),因此重新标记的演示可用于微调新任务中的策略。我们进一步观察到,通过将预先训练的 CLIP$\overline{\mathrm{E}}[47]$替换为预先训练的 MDETR$\underline{\mathrm{E}}[27]$作为视觉和语言编码器,MdetrORT 的性能优于 CLIPORT。MDETR 通过对齐视觉区域和文本短语的特征来学习对象感知表示,并有助于学习
除了 CLIPORTE[56] 和 HULC$\mathbb{E}[34]$之外,我们还采用了 MdetrORT 和 MdetrLC 两种方法作为基线,将CLIPORT 和 HULC 中的视觉和语言编码器替换为预先训练的 MDETR$\underline{\mathrm{E}}[27]$。他们以与我们没有游戏和重新标记的方法完全相同的方式训练可见任务的策略。在 MdetrORT 和 MdetrLC 的基础上,我们进一步采用了 AugORT 和 AugLC 两种方法,它们使用数据增强来训练 Pashevich 等人的策略。[44]
5
|
[
[
0.11358642578125,
0.09783935546875,
0.2156982421875,
0.09783935546875,
0.2156982421875,
0.10797119140625,
0.11358642578125,
0.10797119140625
],
[
0.250732421875,
0.09783935546875,
0.3447265625,
0.09783935546875,
0.3447265625,
0.10797119140625,
0.250732421875,
0.10797119140625
],
[
0.381591796875,
0.09783935546875,
0.4697265625,
0.09783935546875,
0.4697265625,
0.10797119140625,
0.381591796875,
0.10797119140625
],
[
0.51708984375,
0.09783935546875,
0.6005859375,
0.09783935546875,
0.6005859375,
0.10797119140625,
0.51708984375,
0.10797119140625
],
[
0.63623046875,
0.09783935546875,
0.74169921875,
0.09783935546875,
0.74169921875,
0.10797119140625,
0.63623046875,
0.10797119140625
],
[
0.7490234375,
0.09783935546875,
0.8544921875,
0.09783935546875,
0.8544921875,
0.10479736328125,
0.7490234375,
0.10479736328125
],
[
0.108642578125,
0.1925048828125,
0.226318359375,
0.1925048828125,
0.226318359375,
0.205810546875,
0.108642578125,
0.205810546875
],
[
0.35546875,
0.1881103515625,
0.370849609375,
0.1881103515625,
0.370849609375,
0.1956787109375,
0.35546875,
0.1956787109375
],
[
0.6259765625,
0.1925048828125,
0.74169921875,
0.1925048828125,
0.74169921875,
0.20263671875,
0.6259765625,
0.20263671875
],
[
0.84619140625,
0.1925048828125,
0.86279296875,
0.1925048828125,
0.86279296875,
0.2008056640625,
0.84619140625,
0.2008056640625
],
[
0.370849609375,
0.1932373046875,
0.4755859375,
0.1932373046875,
0.4755859375,
0.203857421875,
0.370849609375,
0.203857421875
],
[
0.240234375,
0.1932373046875,
0.3505859375,
0.1932373046875,
0.3505859375,
0.203857421875,
0.240234375,
0.203857421875
],
[
0.50634765625,
0.1932373046875,
0.60546875,
0.1932373046875,
0.60546875,
0.203857421875,
0.50634765625,
0.203857421875
],
[
0.75244140625,
0.1932373046875,
0.83837890625,
0.1932373046875,
0.83837890625,
0.2008056640625,
0.75244140625,
0.2008056640625
],
[
0.8408203125,
0.1944580078125,
0.84716796875,
0.1944580078125,
0.84716796875,
0.1976318359375,
0.8408203125,
0.1976318359375
],
[
0.1168212890625,
0.2215576171875,
0.2181396484375,
0.2215576171875,
0.2181396484375,
0.231689453125,
0.1168212890625,
0.231689453125
],
[
0.51708984375,
0.222900390625,
0.5947265625,
0.222900390625,
0.5947265625,
0.23291015625,
0.51708984375,
0.23291015625
],
[
0.7548828125,
0.222900390625,
0.85302734375,
0.222900390625,
0.85302734375,
0.2298583984375,
0.7548828125,
0.2298583984375
],
[
0.371826171875,
0.2235107421875,
0.4599609375,
0.2235107421875,
0.4599609375,
0.2310791015625,
0.371826171875,
0.2310791015625
],
[
0.25244140625,
0.2235107421875,
0.338134765625,
0.2235107421875,
0.338134765625,
0.2310791015625,
0.25244140625,
0.2310791015625
],
[
0.63232421875,
0.2235107421875,
0.734375,
0.2235107421875,
0.734375,
0.2310791015625,
0.63232421875,
0.2310791015625
],
[
0.80224609375,
0.2568359375,
0.814453125,
0.2568359375,
0.814453125,
0.261474609375,
0.80224609375,
0.261474609375
],
[
0.10296630859375,
0.31005859375,
0.1094970703125,
0.31005859375,
0.1094970703125,
0.31494140625,
0.10296630859375,
0.31494140625
],
[
0.2320556640625,
0.31005859375,
0.238525390625,
0.31005859375,
0.238525390625,
0.31640625,
0.2320556640625,
0.31640625
],
[
0.381591796875,
0.31640625,
0.468017578125,
0.31640625,
0.468017578125,
0.326904296875,
0.381591796875,
0.326904296875
],
[
0.63232421875,
0.31640625,
0.74169921875,
0.31640625,
0.74169921875,
0.323974609375,
0.63232421875,
0.323974609375
],
[
0.7509765625,
0.314453125,
0.86376953125,
0.314453125,
0.86376953125,
0.324462890625,
0.7509765625,
0.324462890625
],
[
0.256591796875,
0.317626953125,
0.328369140625,
0.317626953125,
0.328369140625,
0.324462890625,
0.256591796875,
0.324462890625
],
[
0.11273193359375,
0.317626953125,
0.2156982421875,
0.317626953125,
0.2156982421875,
0.324462890625,
0.11273193359375,
0.324462890625
],
[
0.5146484375,
0.317626953125,
0.59619140625,
0.317626953125,
0.59619140625,
0.324462890625,
0.5146484375,
0.324462890625
],
[
0.080078125,
0.339111328125,
0.89208984375,
0.339111328125,
0.89208984375,
0.352783203125,
0.080078125,
0.352783203125
],
[
0.080078125,
0.352783203125,
0.890625,
0.352783203125,
0.890625,
0.3662109375,
0.080078125,
0.3662109375
],
[
0.080078125,
0.3662109375,
0.89208984375,
0.3662109375,
0.89208984375,
0.380126953125,
0.080078125,
0.380126953125
],
[
0.0767822265625,
0.37890625,
0.271240234375,
0.380126953125,
0.271240234375,
0.39453125,
0.0767822265625,
0.393310546875
],
[
0.5048828125,
0.40771484375,
0.8896484375,
0.40771484375,
0.8896484375,
0.41845703125,
0.5048828125,
0.41845703125
],
[
0.08087158203125,
0.415283203125,
0.468017578125,
0.415283203125,
0.468017578125,
0.4287109375,
0.08087158203125,
0.4287109375
],
[
0.50244140625,
0.42041015625,
0.890625,
0.42041015625,
0.890625,
0.434326171875,
0.50244140625,
0.434326171875
],
[
0.08087158203125,
0.429931640625,
0.271240234375,
0.429931640625,
0.271240234375,
0.4443359375,
0.08087158203125,
0.4443359375
],
[
0.50244140625,
0.434326171875,
0.8935546875,
0.434326171875,
0.8935546875,
0.447509765625,
0.50244140625,
0.447509765625
],
[
0.50244140625,
0.448974609375,
0.7685546875,
0.448974609375,
0.7685546875,
0.462158203125,
0.50244140625,
0.462158203125
],
[
0.1004638671875,
0.458251953125,
0.46728515625,
0.458251953125,
0.46728515625,
0.472900390625,
0.1004638671875,
0.472900390625
],
[
0.53515625,
0.472900390625,
0.58642578125,
0.472900390625,
0.58642578125,
0.484130859375,
0.53515625,
0.484130859375
],
[
0.63232421875,
0.472900390625,
0.6435546875,
0.472900390625,
0.6435546875,
0.484130859375,
0.63232421875,
0.484130859375
],
[
0.68115234375,
0.472900390625,
0.69384765625,
0.472900390625,
0.69384765625,
0.48486328125,
0.68115234375,
0.48486328125
],
[
0.7294921875,
0.472900390625,
0.74267578125,
0.472900390625,
0.74267578125,
0.484130859375,
0.7294921875,
0.484130859375
],
[
0.8349609375,
0.468505859375,
0.84716796875,
0.477783203125,
0.8349609375,
0.4873046875,
0.82275390625,
0.477783203125
],
[
0.86767578125,
0.472900390625,
0.89794921875,
0.472900390625,
0.89794921875,
0.48486328125,
0.86767578125,
0.48486328125
],
[
0.77685546875,
0.473388671875,
0.7900390625,
0.47021484375,
0.7958984375,
0.481689453125,
0.78173828125,
0.486083984375
],
[
0.08087158203125,
0.473388671875,
0.468017578125,
0.473388671875,
0.468017578125,
0.4873046875,
0.08087158203125,
0.4873046875
],
[
0.72119140625,
0.48486328125,
0.75244140625,
0.4873046875,
0.7509765625,
0.5,
0.7197265625,
0.49755859375
],
[
0.77294921875,
0.484130859375,
0.80126953125,
0.486083984375,
0.7998046875,
0.5,
0.771484375,
0.49755859375
],
[
0.6689453125,
0.486083984375,
0.705078125,
0.486083984375,
0.705078125,
0.498779296875,
0.6689453125,
0.498779296875
],
[
0.525390625,
0.4873046875,
0.5947265625,
0.4873046875,
0.5947265625,
0.498779296875,
0.525390625,
0.498779296875
],
[
0.62109375,
0.486083984375,
0.65625,
0.486083984375,
0.65625,
0.498779296875,
0.62109375,
0.498779296875
],
[
0.81884765625,
0.4873046875,
0.8505859375,
0.4873046875,
0.8505859375,
0.498779296875,
0.81884765625,
0.498779296875
],
[
0.86669921875,
0.4873046875,
0.89892578125,
0.4873046875,
0.89892578125,
0.498779296875,
0.86669921875,
0.498779296875
],
[
0.62109375,
0.5,
0.654296875,
0.5,
0.654296875,
0.51220703125,
0.62109375,
0.51220703125
],
[
0.08087158203125,
0.488037109375,
0.468017578125,
0.488037109375,
0.468017578125,
0.50244140625,
0.08087158203125,
0.50244140625
],
[
0.6689453125,
0.5,
0.705078125,
0.5,
0.705078125,
0.51220703125,
0.6689453125,
0.51220703125
],
[
0.7197265625,
0.5,
0.7548828125,
0.5,
0.7548828125,
0.51220703125,
0.7197265625,
0.51220703125
],
[
0.77294921875,
0.5,
0.80126953125,
0.5,
0.80126953125,
0.51220703125,
0.77294921875,
0.51220703125
],
[
0.82177734375,
0.5,
0.8505859375,
0.5,
0.8505859375,
0.51220703125,
0.82177734375,
0.51220703125
],
[
0.86767578125,
0.5,
0.89794921875,
0.5,
0.89794921875,
0.51220703125,
0.86767578125,
0.51220703125
],
[
0.51708984375,
0.50048828125,
0.60302734375,
0.50048828125,
0.60302734375,
0.51220703125,
0.51708984375,
0.51220703125
],
[
0.08087158203125,
0.50390625,
0.46728515625,
0.50390625,
0.46728515625,
0.517578125,
0.08087158203125,
0.517578125
],
[
0.62109375,
0.51318359375,
0.65625,
0.51318359375,
0.65625,
0.52587890625,
0.62109375,
0.52587890625
],
[
0.6689453125,
0.51318359375,
0.70361328125,
0.51318359375,
0.70361328125,
0.52587890625,
0.6689453125,
0.52587890625
],
[
0.7197265625,
0.51318359375,
0.7548828125,
0.51318359375,
0.7548828125,
0.52587890625,
0.7197265625,
0.52587890625
],
[
0.76953125,
0.51318359375,
0.80126953125,
0.51318359375,
0.80126953125,
0.52587890625,
0.76953125,
0.52587890625
],
[
0.8203125,
0.51318359375,
0.8505859375,
0.51318359375,
0.8505859375,
0.52587890625,
0.8203125,
0.52587890625
],
[
0.869140625,
0.51318359375,
0.89794921875,
0.51318359375,
0.89794921875,
0.52587890625,
0.869140625,
0.52587890625
],
[
0.525390625,
0.5146484375,
0.59619140625,
0.5146484375,
0.59619140625,
0.52587890625,
0.525390625,
0.52587890625
],
[
0.08087158203125,
0.51806640625,
0.46728515625,
0.51806640625,
0.46728515625,
0.5322265625,
0.08087158203125,
0.5322265625
],
[
0.54345703125,
0.52587890625,
0.57861328125,
0.52587890625,
0.57861328125,
0.53857421875,
0.54345703125,
0.53857421875
],
[
0.619140625,
0.5234375,
0.65625,
0.5234375,
0.65625,
0.5390625,
0.619140625,
0.5390625
],
[
0.6689453125,
0.52587890625,
0.70361328125,
0.52587890625,
0.70361328125,
0.53857421875,
0.6689453125,
0.53857421875
],
[
0.7197265625,
0.52587890625,
0.7548828125,
0.52587890625,
0.7548828125,
0.53857421875,
0.7197265625,
0.53857421875
],
[
0.76953125,
0.52587890625,
0.80224609375,
0.52587890625,
0.80224609375,
0.53857421875,
0.76953125,
0.53857421875
],
[
0.81884765625,
0.52587890625,
0.85302734375,
0.52587890625,
0.85302734375,
0.53857421875,
0.81884765625,
0.53857421875
],
[
0.869140625,
0.52587890625,
0.89794921875,
0.52587890625,
0.89794921875,
0.53857421875,
0.869140625,
0.53857421875
],
[
0.08251953125,
0.5341796875,
0.46728515625,
0.5341796875,
0.46728515625,
0.54736328125,
0.08251953125,
0.54736328125
],
[
0.080078125,
0.54736328125,
0.46728515625,
0.548828125,
0.46728515625,
0.56298828125,
0.080078125,
0.5625
],
[
0.080078125,
0.5625,
0.373291015625,
0.56298828125,
0.373291015625,
0.57763671875,
0.080078125,
0.5771484375
],
[
0.5009765625,
0.5595703125,
0.6005859375,
0.56103515625,
0.6005859375,
0.5771484375,
0.5009765625,
0.57470703125
],
[
0.50341796875,
0.5869140625,
0.54736328125,
0.5869140625,
0.54736328125,
0.5986328125,
0.50341796875,
0.5986328125
],
[
0.5439453125,
0.59033203125,
0.5537109375,
0.59033203125,
0.5537109375,
0.59521484375,
0.5439453125,
0.59521484375
],
[
0.5556640625,
0.5859375,
0.77294921875,
0.5859375,
0.77294921875,
0.599609375,
0.5556640625,
0.599609375
],
[
0.0849609375,
0.60693359375,
0.468017578125,
0.60693359375,
0.468017578125,
0.62060546875,
0.0849609375,
0.62060546875
],
[
0.1004638671875,
0.59130859375,
0.468017578125,
0.59130859375,
0.468017578125,
0.60595703125,
0.1004638671875,
0.60595703125
],
[
0.50341796875,
0.6123046875,
0.890625,
0.6123046875,
0.890625,
0.626953125,
0.50341796875,
0.626953125
],
[
0.08087158203125,
0.62255859375,
0.468017578125,
0.62255859375,
0.468017578125,
0.63623046875,
0.08087158203125,
0.63623046875
],
[
0.50341796875,
0.62890625,
0.8896484375,
0.62890625,
0.8896484375,
0.642578125,
0.50341796875,
0.642578125
],
[
0.08087158203125,
0.63720703125,
0.468017578125,
0.63720703125,
0.468017578125,
0.65087890625,
0.08087158203125,
0.65087890625
],
[
0.50341796875,
0.64306640625,
0.8896484375,
0.64306640625,
0.8896484375,
0.6572265625,
0.50341796875,
0.6572265625
],
[
0.08087158203125,
0.65087890625,
0.464111328125,
0.6513671875,
0.464111328125,
0.66650390625,
0.08087158203125,
0.66552734375
],
[
0.50341796875,
0.6591796875,
0.890625,
0.6591796875,
0.890625,
0.67236328125,
0.50341796875,
0.67236328125
],
[
0.08087158203125,
0.66748046875,
0.46728515625,
0.66748046875,
0.46728515625,
0.68115234375,
0.08087158203125,
0.68115234375
],
[
0.5048828125,
0.673828125,
0.8896484375,
0.673828125,
0.8896484375,
0.6875,
0.5048828125,
0.6875
],
[
0.0849609375,
0.6845703125,
0.131591796875,
0.6845703125,
0.131591796875,
0.69580078125,
0.0849609375,
0.69580078125
],
[
0.50341796875,
0.68798828125,
0.890625,
0.68798828125,
0.890625,
0.7021484375,
0.50341796875,
0.7021484375
],
[
0.50341796875,
0.7041015625,
0.619140625,
0.7041015625,
0.619140625,
0.71728515625,
0.50341796875,
0.71728515625
],
[
0.52294921875,
0.72021484375,
0.8310546875,
0.72021484375,
0.8310546875,
0.734375,
0.52294921875,
0.734375
],
[
0.8349609375,
0.7216796875,
0.890625,
0.7216796875,
0.890625,
0.73291015625,
0.8349609375,
0.73291015625
],
[
0.5048828125,
0.736328125,
0.890625,
0.736328125,
0.890625,
0.75,
0.5048828125,
0.75
],
[
0.07843017578125,
0.74365234375,
0.191162109375,
0.744140625,
0.191162109375,
0.7587890625,
0.07843017578125,
0.75830078125
],
[
0.50244140625,
0.75,
0.8896484375,
0.75048828125,
0.8896484375,
0.76513671875,
0.50244140625,
0.7646484375
],
[
0.5048828125,
0.7666015625,
0.88818359375,
0.7666015625,
0.88818359375,
0.77978515625,
0.5048828125,
0.77978515625
],
[
0.1004638671875,
0.78076171875,
0.468017578125,
0.78076171875,
0.468017578125,
0.79443359375,
0.1004638671875,
0.79443359375
],
[
0.50244140625,
0.77978515625,
0.890625,
0.78076171875,
0.890625,
0.79541015625,
0.50244140625,
0.79443359375
],
[
0.08251953125,
0.79541015625,
0.468017578125,
0.79541015625,
0.468017578125,
0.81005859375,
0.08251953125,
0.81005859375
],
[
0.50341796875,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.50341796875,
0.81005859375
],
[
0.080078125,
0.8095703125,
0.468017578125,
0.81005859375,
0.468017578125,
0.82470703125,
0.080078125,
0.82373046875
],
[
0.50341796875,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.50341796875,
0.82470703125
],
[
0.08087158203125,
0.82470703125,
0.468017578125,
0.82568359375,
0.468017578125,
0.84033203125,
0.08087158203125,
0.8388671875
],
[
0.5048828125,
0.82763671875,
0.8896484375,
0.82763671875,
0.8896484375,
0.83837890625,
0.5048828125,
0.83837890625
],
[
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.08251953125,
0.85791015625,
0.46728515625,
0.85791015625,
0.46728515625,
0.86865234375,
0.08251953125,
0.86865234375
],
[
0.50244140625,
0.85498046875,
0.890625,
0.85595703125,
0.890625,
0.87060546875,
0.50244140625,
0.869140625
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.50341796875,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.50341796875,
0.88525390625
],
[
0.07843017578125,
0.88525390625,
0.36279296875,
0.88623046875,
0.36279296875,
0.90087890625,
0.07843017578125,
0.8994140625
],
[
0.50341796875,
0.88720703125,
0.88818359375,
0.88720703125,
0.88818359375,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.48193359375,
0.92236328125,
0.495849609375,
0.92822265625,
0.488525390625,
0.939453125,
0.4755859375,
0.9345703125
]
] |
[
"put letter T to green bow",
"ut letter A to blue bowl",
"ut letter M to red bov",
"it circle to cyan bow",
"out letter R to white bowl\"",
"re-labeledinstructions",
"\"put letter R to green bow",
"3",
"\"put letter M to white bow\"",
"(a)",
"\"put letter A to red bow\"",
"\"put letter T to cyan bowf'",
"\"put circle to blue bowl\"",
"giveninstructions",
"",
"ackblackbluesneaker",
"\"pack yoshi figure",
"re-labeledinstruction",
"packgreenstripess",
"packpepsinextbox",
"ackporcelainsaladplate",
"",
"1",
"2",
"pack pepsi next box",
"ackporcelainsaladplate\"",
"given instructions(b)",
"packyoshifigure",
"packblackbluesneaker",
"ckgreenstripessho",
"Figure 4. Given instructions vs. automatically re-labeled instructions of the recorded demonstrations with five consecutive",
"steps, where we let the policy play in new tasks. The policy performs manipulations, where the outcome demonstrations",
"do not match the instructions. By taking the recorded demonstrations as inputs, our model retrieves accurate language",
"instructions correspondingly.",
"Table2.Results ofout-of-distributiongeneralization eval-",
"并使用8个GPU上看到的任务和环境的训练数据训",
"uation in the CALVIN platform. The number denotes the",
"练ST-Adapter???个时期",
"success rate of each subtask in the chain, and \"Len\" denotes",
"the averaged successful sequence length.",
"对于CLIPORT平台中的评估,我们首先在单个",
"Method",
"1",
"2",
"3",
"5",
"Len",
"4",
"GPU上为200个纪元的每个任务训练100个演示的策",
"4%",
"1%",
"14 %",
"HULC34",
"43%",
"0%",
"0.62",
"69 %",
"略。然后,我们让机器人按照模板“put_in”生成的",
"38 %",
"20 %",
"7 %",
"4 %",
"1.38",
"MdetrLC[27]",
"语言指令进行游戏。。我们为每个场景连续记录40个",
"69 %",
"43 %",
"22 %",
"9 %",
"5 %",
"1.48",
"AugLC[44]",
"演示,其中演示执行五个指令。在模型重新标记演示之",
"Ours",
"72%",
"47%",
"30 %",
"13 %",
"11 %",
"1.73",
"后,我们保存记录的演示,其中视觉观察的表示与检索",
"到的指令之间的相似性得分高于3。0。我们对保存的",
"100个时代的示威活动的政策进行了微调",
"3.4. Results",
"3.4.1",
"",
"Compositional Generalization",
"上对环境A,B,C的训练数据进行了10个历元的策",
"对于CALVIN平台中的评估,我们在16个GPU",
"如图。4,这种跨对象组合的适应是具有挑战性的。",
"略训练。然后,我们让机器人按照从可见环境中使用的",
"例如,给定第二列中的语言指令“将字母T放到青色",
"所有指令中随机选择的指令进行游戏。我们在环境D",
"碗中”,经过训练的策略错误地拾取字母A对象并将",
"中记录了500个演示,其中一个演示执行五个子任务",
"其放人第三列中的蓝色碗中。这样的错误可以通过我",
"我们对重新标记并保存了5个时期的演示的政策进行",
"们微调的视觉语言基础模型来纠正,因为它检索“将字",
"了微调",
"母A放到蓝色碗中”作为语言指令,并给出第二和第",
"三列的视觉观察",
"我们在Tab中显示组合泛化的评估结果。",
"2。我",
"们的方法在两种评估协议下都能获得最佳结果。与",
"3.3. Baselines",
"MdetrORTE[27]相比,它以与我们完全相同的方式对",
"可见任务进行策略训练,我们的方法将成功率提高了",
"除了CLIPORTE[56]和HULCE[34之外,我们还",
"17。2%,它显示了我们的播放效果,并重新标记了合成",
"采用了MdetrORT和MdetrLC两种方法作为基线,将",
"泛化的管道。微调的基础模型可以概括为识别组成设置",
"CLIPORT和HULC中的视觉和语言编码器替换为预",
"中的视觉概念(i.e.对象和碗),如图。4(a),因此重新",
"先训练的MDETRE27]。他们以与我们没有游戏和",
"标记的演示可用于微调新任务中的策略。我们进一步观",
"重新标记的方法完全相同的方式训练可见任务的策略。",
"察到,通过将预先训练的CLIPE[47替换为预先训练",
"在MdetrORT和MdetrLC的基础上,我们进一步采",
"的MDETRE[27]作为视觉和语言编码器,MdetrORT",
"用了AugORT和AugLC两种方法,它们使用数据增",
"的性能优于CLIPORT。MDETR通过对齐视觉区域和",
"强来训练Pashevich等人的策略。”[44]",
"文本短语的特征来学习对象感知表示,并有助于学习",
"5"
] |
{
"arxiv_id": "2212.07398",
"language": "zh",
"page_idx": 4
}
|
||
2106.16245-zh-0
|
2106.16245-zh-0.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2022}}$
# 如何在少数镜头分类中将 MAML 训练到 EXCEL
Wei-Lun Chao
The Ohio State University
$\mathbf{Han-JiaYe}$
State Key Laboratory for Novel Software Technology, Nanjing University
ABSTRACT
Model-agnostic meta-learning (MAML) is arguably one of the most popular metalearning algorithms nowadays. Nevertheless, its performance on few-shot classification is far behind many recent algorithms dedicated to the problem. In this paper, we point out several key facets of how to train MAML to excel in few-shot classification. First, we find that MAML needs a large number of gradient steps in its inner loop update, which contradicts its common usage in few-shot classification. Second, we find that MAML is sensitive to the class label assignments during meta-testing. Concretely, MAML meta-trains the initialization of an $N$ -way classifer. These $N$ ways, during meta-testing, then have“ N!”different permutations to be paired with a few-shot task of $N$ novel classes. We find that these permutations lead to a huge variance of accuracy, making MAML unstable in few-shot classification. Third, we investigate several approaches to make MAML permutation-invariant, among which meta-training a single vector to initialize all $\hat{\text{the }N}$ weight vectors in the classification head performs the best. On benchmark datasets like Mini ImageNet and Tiered ImageNet, our approach, which we name UNICORN-MAML, performs on a par with or even outperforms many recent fewshot classification algorithms, without sacrificing MAML's simplicity.
1 INTRODUCTION
始化 (通过外部循环优化),然后可以快速适应新的任务,给出几个例子 (通过内部循环优
化$^{(1)}$
元学习是机器学习的一个子领域,随着学习经验的增加,它试图寻找最佳的学习策略 (Thrun& Pratt, 2012; Lemke et al., 2015)。近年来见证了大量关于元学习 (Vanschoren, 2018; Hospedales et al., 2020) 的新方法,其中模型不可知元学习 (MAML) (Finn et al., 2017; Finn, 2018$\bar{\text{) 是 最 受 欢 迎 的 算 法 之 一 , 因 为 它 具 有 “ 模 型 不 可 知 ” 的 性 质 , 可 以 合 并 不 同 的 模 }}$ 型架构,并将其原理公式应用于不同的问题。具体来说,MAML 旨在学习一个好的模型初但是,在许多元学习算法专用的少数分类$\boxed{\mathrm{E}}($Vinyals et al., 2016; Snell et al., 2017) 中,MAML 的性能已被证明远远落后于$\boxed{\mathbb{E}}($Wang et al., 2019; Chen et al., 2019; Triantafillou et al., 2020)
在本文中,我们仔细研究了 MAML 的少射分类。标准设置涉及元训练和元测试两个阶段其中 MAML 在元训练期间学习模型初始化并在元测试期间应用它。在这两个阶段,MAML 接收多个$N$ -way $K$ -shot 任务。每个任务都是一个$N$类分类问题,每个类都有$K$标记的支持示例。在使用支持示例进行(临时)内部循环优化之后,然后在相同$N$类的查询示例上评估来自初始化的更新模型。mete 训练期间在查询示例上计算的损失用于通过外部循环优化元参数(i.e.,模型初始化)。为了一致性,我们主要研究元训练和元测试在内循环优化中使用相同梯度步数的场景。更具体地说,MAML 为少射分类学习的是$N$类分类器的初始化不失一般性,我们用$\hat{y}=\arg\max_{c\in[N]}\boldsymbol{w}_c^\top f_{\phi}(\boldsymbol{x})$表示分类器,其中$f_\phi$是示例$x$上的特征提取器;$\{w_c\}_{c=1}^N$是线性分类头中的权重向量。我们用$\boldsymbol{\theta}$表示元参数$\{\phi,\boldsymbol{w}_1,\cdots,\boldsymbol{w}_N\}$的集合我们的第一个观察结果是 MAML 在内循环中需要大量的梯度步骤。例如 ,在 MiniImageNet[E] (Vinyals et al., 2016) 和 TieredImageNet$\boxed{\mathrm{E}}($Ren et al.,2018a)上,MAML 的准确性随着梯度步长数量的增加而提高,并在$15\sim20$步长附近达到最高,这比 MAMLE(Antoniou et al.., 2019) 的常规用法大得多。我们将其归因于从互斥任务$\overline{\mathrm{E}}($Yin et al., 2020) 中学到的模型初始化行为,在没有任何进一步的内部循环优化的情况下,该行为在查询示例上以机会级别$(i.e.$,
1
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.048614501953125,
0.1748046875,
0.048614501953125
],
[
0.178955078125,
0.10479736328125,
0.583984375,
0.10479736328125,
0.583984375,
0.12249755859375,
0.178955078125,
0.12249755859375
],
[
0.1748046875,
0.126953125,
0.351318359375,
0.1287841796875,
0.351318359375,
0.149658203125,
0.1748046875,
0.147705078125
],
[
0.1854248046875,
0.1787109375,
0.26318359375,
0.1787109375,
0.26318359375,
0.1900634765625,
0.1854248046875,
0.1900634765625
],
[
0.64892578125,
0.1787109375,
0.7509765625,
0.1787109375,
0.7509765625,
0.1900634765625,
0.64892578125,
0.1900634765625
],
[
0.1846923828125,
0.1925048828125,
0.619140625,
0.1925048828125,
0.619140625,
0.205810546875,
0.1846923828125,
0.205810546875
],
[
0.646484375,
0.1912841796875,
0.80126953125,
0.1925048828125,
0.80126953125,
0.205810546875,
0.646484375,
0.2052001953125
],
[
0.451904296875,
0.2412109375,
0.5458984375,
0.24365234375,
0.5458984375,
0.25830078125,
0.451904296875,
0.255615234375
],
[
0.233642578125,
0.276611328125,
0.765625,
0.276611328125,
0.765625,
0.290283203125,
0.233642578125,
0.290283203125
],
[
0.233642578125,
0.291748046875,
0.76708984375,
0.291748046875,
0.76708984375,
0.304931640625,
0.233642578125,
0.304931640625
],
[
0.233642578125,
0.304931640625,
0.765625,
0.304931640625,
0.765625,
0.318115234375,
0.233642578125,
0.318115234375
],
[
0.233642578125,
0.318115234375,
0.765625,
0.317626953125,
0.765625,
0.33203125,
0.233642578125,
0.333251953125
],
[
0.2344970703125,
0.333251953125,
0.7646484375,
0.333251953125,
0.7646484375,
0.3466796875,
0.2344970703125,
0.3466796875
],
[
0.233642578125,
0.347900390625,
0.76318359375,
0.347900390625,
0.76318359375,
0.35791015625,
0.233642578125,
0.35791015625
],
[
0.2344970703125,
0.3623046875,
0.76318359375,
0.3623046875,
0.76318359375,
0.37255859375,
0.2344970703125,
0.37255859375
],
[
0.233642578125,
0.373779296875,
0.765625,
0.373779296875,
0.765625,
0.386962890625,
0.233642578125,
0.386962890625
],
[
0.233642578125,
0.386962890625,
0.765625,
0.386962890625,
0.765625,
0.401611328125,
0.233642578125,
0.401611328125
],
[
0.236083984375,
0.40283203125,
0.7646484375,
0.40283203125,
0.7646484375,
0.41357421875,
0.236083984375,
0.41357421875
],
[
0.233642578125,
0.416748046875,
0.765625,
0.416748046875,
0.765625,
0.429931640625,
0.233642578125,
0.429931640625
],
[
0.233642578125,
0.429931640625,
0.7646484375,
0.429931640625,
0.7646484375,
0.443115234375,
0.233642578125,
0.443115234375
],
[
0.2344970703125,
0.443115234375,
0.765625,
0.443115234375,
0.765625,
0.45703125,
0.2344970703125,
0.45703125
],
[
0.233642578125,
0.458984375,
0.76318359375,
0.458984375,
0.76318359375,
0.4697265625,
0.233642578125,
0.4697265625
],
[
0.2344970703125,
0.4716796875,
0.765625,
0.4716796875,
0.765625,
0.48486328125,
0.2344970703125,
0.48486328125
],
[
0.233642578125,
0.48291015625,
0.76708984375,
0.484130859375,
0.76708984375,
0.498779296875,
0.233642578125,
0.49755859375
],
[
0.2320556640625,
0.49755859375,
0.689453125,
0.5,
0.689453125,
0.51318359375,
0.2320556640625,
0.51123046875
],
[
0.17236328125,
0.54541015625,
0.34228515625,
0.54736328125,
0.34228515625,
0.5625,
0.17236328125,
0.56005859375
],
[
0.17724609375,
0.580078125,
0.82421875,
0.580078125,
0.82421875,
0.59326171875,
0.17724609375,
0.59326171875
],
[
0.176513671875,
0.5947265625,
0.82177734375,
0.5947265625,
0.82177734375,
0.60791015625,
0.176513671875,
0.60791015625
],
[
0.1748046875,
0.60693359375,
0.82177734375,
0.60693359375,
0.82177734375,
0.62060546875,
0.1748046875,
0.62060546875
],
[
0.1748046875,
0.6220703125,
0.404296875,
0.6220703125,
0.404296875,
0.63525390625,
0.1748046875,
0.63525390625
],
[
0.419189453125,
0.62353515625,
0.82177734375,
0.62353515625,
0.82177734375,
0.6337890625,
0.419189453125,
0.6337890625
],
[
0.176513671875,
0.63623046875,
0.82275390625,
0.63623046875,
0.82275390625,
0.6494140625,
0.176513671875,
0.6494140625
],
[
0.176513671875,
0.6494140625,
0.82275390625,
0.6494140625,
0.82275390625,
0.66357421875,
0.176513671875,
0.66357421875
],
[
0.1748046875,
0.6640625,
0.205078125,
0.6640625,
0.205078125,
0.6767578125,
0.1748046875,
0.6767578125
],
[
0.176513671875,
0.68505859375,
0.82421875,
0.68505859375,
0.82421875,
0.69873046875,
0.176513671875,
0.69873046875
],
[
0.176513671875,
0.69873046875,
0.79736328125,
0.69873046875,
0.79736328125,
0.71337890625,
0.176513671875,
0.71337890625
],
[
0.17724609375,
0.7216796875,
0.8203125,
0.7216796875,
0.8203125,
0.73193359375,
0.17724609375,
0.73193359375
],
[
0.176513671875,
0.734375,
0.82275390625,
0.734375,
0.82275390625,
0.74755859375,
0.176513671875,
0.74755859375
],
[
0.176513671875,
0.74755859375,
0.82275390625,
0.74755859375,
0.82275390625,
0.76123046875,
0.176513671875,
0.76123046875
],
[
0.176513671875,
0.76318359375,
0.82177734375,
0.76318359375,
0.82177734375,
0.7734375,
0.176513671875,
0.7734375
],
[
0.176513671875,
0.77587890625,
0.82275390625,
0.77587890625,
0.82275390625,
0.7890625,
0.176513671875,
0.7890625
],
[
0.176513671875,
0.7890625,
0.82275390625,
0.7890625,
0.82275390625,
0.80322265625,
0.176513671875,
0.80322265625
],
[
0.1748046875,
0.8017578125,
0.82275390625,
0.8037109375,
0.82275390625,
0.8173828125,
0.1748046875,
0.81494140625
],
[
0.1748046875,
0.81640625,
0.82421875,
0.81640625,
0.82421875,
0.833984375,
0.1748046875,
0.833984375
],
[
0.176513671875,
0.8359375,
0.82177734375,
0.8359375,
0.82177734375,
0.8466796875,
0.176513671875,
0.8466796875
],
[
0.176513671875,
0.85595703125,
0.82275390625,
0.85595703125,
0.82275390625,
0.869140625,
0.176513671875,
0.869140625
],
[
0.1748046875,
0.869140625,
0.8203125,
0.869140625,
0.8203125,
0.88330078125,
0.1748046875,
0.88330078125
],
[
0.17724609375,
0.8837890625,
0.82177734375,
0.8837890625,
0.82177734375,
0.89794921875,
0.17724609375,
0.89794921875
],
[
0.176513671875,
0.89794921875,
0.82275390625,
0.89794921875,
0.82275390625,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.17724609375,
0.91357421875,
0.826171875,
0.91357421875,
0.826171875,
0.923828125,
0.17724609375,
0.923828125
],
[
0.491943359375,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.96044921875,
0.491943359375,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2022",
"如何在少数镜头分类中将MAML",
"训练到EXCEL",
"Han-Jia Ye",
"Wei-Lun Chao",
"State Key Laboratory for Novel Software Technology, Nanjing University",
"TheOhio StateUniversity",
"ABSTRACT",
"Model-agnostic meta-learning (MAML) is arguably one of the most popular meta-",
"learning algorithms nowadays.Nevertheless, its performance on few-shot classi-",
"fication is far behind many recent algorithms dedicated to the problem.In this",
"paper, we point out several key facets of how to train MAML to excel in few-shot",
"classification. First, we find that MAML needs a large number of gradient steps",
"inits innerloopupdate,whichcontradictsits commonusageinfew-shotclassi",
"fication.Second,wefindthatMAMLissensitivetotheclasslabelassignments",
"during meta-testing. Concretely, MAML meta-trains the initialization of an N",
"-way classifier. These N ways, during meta-testing, then have \" N!\" different per-",
"mutationstobepairedwithafew-shottaskofNnovelclasses.Wefindthatthese",
"permutations lead to a huge variance of accuracy, making MAML unstable in",
"few-shot classification. Third, we investigate several approaches to make MAML",
"permutation-invariant, among which meta-training a single vector to initialize all",
"theNweightvectorsintheclassificationheadperformsthebest.Onbenchmark",
"datasets like Mini ImageNet and Tiered ImageNet, our approach, which we name",
"UNICoRN-MAML, performs on a par with or even outperforms many recent few-",
"shot classification algorithms,without sacrificingMAML's simplicity",
"1INTRODUCTION",
"元学习是机器学习的一个子领域,随着学习经验的增加,它试图寻找最佳的学习策",
"略(Thrun&Pratt,2012;Lemkeetal.,2015)。近年来见证了大量关于元学习(Vanschoren,",
"2018;Hospedalesetal.2020)的新方法,其中模型不可知元学习(MAML)(Finnetal.,2017",
"Finn,2018)是最受欢迎的算法之",
",因为它具有“模型不可知”的性质,可以合并不同的模",
"型架构,并将其原理公式应用于不同的问题。具体来说,MAML旨在学习一个好的模型初",
"始化(通过外部循环优化),然后可以快速适应新的任务,给出几个例子(通过内部循环优",
"化)",
"但是,在许多元学习算法专用的少数分类E(Vinyalsetal.,2016;Snelletal.,2017)中,MAML",
"的性能已被证明远远落后于E(Wangetal.,2019;Chenetal.2019Triantafillouetal.2020)",
"在本文中,我们仔细研究了MAML的少射分类。标准设置涉及元训练和元测试两个阶段",
"其中MAML在元训练期间学习模型初始化并在元测试期间应用它。在这两个阶段,MAML",
"接收多个N-wayK-shot任务。每个任务都是一个N类分类问题,每个类都有K标记的支",
"持示例。在使用支持示例进行(临时)内部循环优化之后,然后在相同N类的查询示例上",
"评估来自初始化的更新模型。mete训练期间在查询示例上计算的损失用于通过外部循环优",
"化元参数(i.e.,模型初始化)。为了一致性,我们主要研究元训练和元测试在内循环优化中",
"使用相同梯度步数的场景。更具体地说,MAML为少射分类学习的是N类分类器的初始化。",
"不失一般性,我们用9=argmaxce[Njw fs(a)表示分类器,其中fs是示例a上的特征提",
"取器;wc-i是线性分类头中的权重向量。我们用e表示元参数Φ,wi..wN的集合",
"我们的第一个观察结果是MAML在内循环中需要大量的梯度步骤。例如,在MinilmageNetF",
"(Vinyalsetal.,2016)和TieredImageNetE(Renetal.,2018a)上,MAML的准确性随着梯度步",
"长数量的增加而提高,并在15~20步长附近达到最高,这比MAMLE(Antoniouetal.,2019)",
"的常规用法大得多。我们将其归因于从互斥任务E(Yinetal.,2020)中学到的模型初始化行",
"为,在没有任何进一步的内部循环优化的情况下,该行为在查询示例上以机会级别(.e.,",
"1"
] |
{
"arxiv_id": "2106.16245",
"language": "zh",
"page_idx": 0
}
|
||
2106.16245-zh-1
|
2106.16245-zh-1.jpg
|
Published as a conference paper at ICLR 2022
<FigureHere>
Figure 1: The problem of permutations in label assignments, and the illustration of UNICORN-MAML. (a) A vanilla MAML learns the initialization of $\phi$ and $\{w_c\}_{c=1}^N(i.e$, the $N$ weight vectors). Each of $\{w_c\}_{c=1}^N$ is paired with the corresponding class label $c\in[N]$ of a few-shot task. A few-shot task, however, may consist of the same set of semantic classes but in different permutations of class label assignments, leading to a larger variance in meta-testing accuracy.(b) In contrast, our UNICORN-MAML, besides learning $\phi$ ,learns only a single weight vector $w$ and uses it to initialize all the $N$ weight vectors $\{w_c\}_{c=1}^N$ at the beginning of the inner loop. That is, UNICORN-MAML directly forces the learned model initialization to be permutation-invariant.
$\frac{100}N\%$精度)执行,不仅用于元测试任务,还用于元训练任务。换句话说,初始化模型需要
许多梯度步骤才能达到很高的精度
我们的第二个观察结果是,MAML 在元测试期间对类标签分配的排列很敏感。具体来说当$N$路$K$ -shot 任务到达时,MAML 将学习到的$w_c$初始化与该任务的相应类标签$c\in[N]$ 配对。问题在于任务中$c$的“含义”。在标准设置中,每个$N$ -way 任务都是通过从更大的语$c\in\{1,\cdots,N\}$中。换句话说,同一组$N$语义类可以完全不同地标记为$\{1,\cdots,N\}$ ,因此可以与 $\{\boldsymbol w_c\}_c=1^N$进行不同的配对。以五向任务为例,有 5!=120 排列将同一组五个语义类与线性分类头配对。在其中一些中,可以将类“狗”分配给$c=1$ ;在其他一些情况下,可以将其分配给$c\neq1$ 。虽然这种随机性在元训练中被证明是至关重要的,以帮助 MAML 阻止$over-fitting$ (Rajendran et al.,2020; Yao et al.,2021; Yin et al.,2020),但我们发现它使元测试阶段不稳定。具体来说,不同的排列可能会导致截然不同的元测试准确性-平均而言,在两个数据集上,每个五路一次性任务的最佳排列的$\sim15\%$准确性均高于最差排列
在此观察结果的基础上,我们研究了使 MAML 置换不变的多种方法,无论是在元测试阶段还是在两个阶段。我们发现一个简单的解决方案--元训练仅单个向量$w$ ,并使用它初始化$N$线性分类器$\{\boldsymbol w_c\}_{c=1}^N$--执行最佳。我们将此方法命名为 UNICORN-MAML,如Eigura 1/6所三 自体来消 在中循环开始时 INIGons MAMI 将$_{c,\text{有制到}}$ Figure 1(b)所示。具体来说,在内循环开始时,UNICORN-MAML 将 $\boldsymbol{w}$复制到 $\boldsymbol{w}_c,\forall c\in[N]$ 中。在内部循环优化之后,相对于$\{\boldsymbol{w}_c\}_{c=1}^N$的元梯度被聚合以更新外部循环中的$\boldsymbol{w}$ (在元训练期间)。这种设计不仅使 UNICORN-MAML 置换不变,而且确保没有一个模型可以在没有内循环优化的情况下一次解决所有任务,以防止记忆过度拟合 (Yin et al.,2020)。在MiniImageNet (Vinyals et al., 2016)、TieredImageNet (Ren et al., 2018a)和 CUB 数据集 (Wah et al.,2011)上,UNICORN-MAML 的性能与许多最近的少数分类算法相当,甚至优于它们, 同时保留了 MAML 的简单性,而无需添加任何额外的网络模块或学习策略。我们的代码可在 https://github.com/Han-Jia/UNICORN-MAML
2 MAML FOR FEW-SHOT CLASSIFICATION
2.1 PROBLEM DEFINITION
少量分类的目标是使用有限的标记示例构建分类器。面临的挑战是潜在的过度拟合或泛化能力差问题。在 (Vinyals et al., 2016)之后,我们将一个几步分类问题定义为$N$ -way $K$ -shot 任务,该任务具有$N$类,每个类都有$K$标记的支持示例。我们表示由$S=\{(\boldsymbol x_i,y_i)\}_i=1^{N\times K}$设置的标记支持;每个$\left(\boldsymbol x_i,y_i\right)$是一对输入$\left(e.g.,\text{图像}\right)$和一个类标签,其中$y_i\in\{1,2,\cdots,N\}=[N]$
2
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.301513671875,
0.0985107421875,
0.36279296875,
0.10101318359375,
0.36279296875,
0.11236572265625,
0.301513671875,
0.10986328125
],
[
0.45751953125,
0.10101318359375,
0.52392578125,
0.10101318359375,
0.52392578125,
0.111083984375,
0.45751953125,
0.111083984375
],
[
0.615234375,
0.1029052734375,
0.705078125,
0.1029052734375,
0.705078125,
0.10986328125,
0.615234375,
0.10986328125
],
[
0.281005859375,
0.11553955078125,
0.31787109375,
0.11553955078125,
0.31787109375,
0.1256103515625,
0.281005859375,
0.1256103515625
],
[
0.498291015625,
0.121826171875,
0.53125,
0.121826171875,
0.53125,
0.1287841796875,
0.498291015625,
0.1287841796875
],
[
0.6640625,
0.121826171875,
0.69384765625,
0.121826171875,
0.69384765625,
0.1287841796875,
0.6640625,
0.1287841796875
],
[
0.453369140625,
0.12249755859375,
0.468017578125,
0.12249755859375,
0.468017578125,
0.1300048828125,
0.453369140625,
0.1300048828125
],
[
0.281982421875,
0.126953125,
0.316162109375,
0.126953125,
0.316162109375,
0.1337890625,
0.281982421875,
0.1337890625
],
[
0.619140625,
0.126953125,
0.62841796875,
0.12371826171875,
0.63134765625,
0.1287841796875,
0.62158203125,
0.1319580078125
],
[
0.45751953125,
0.1337890625,
0.46728515625,
0.1337890625,
0.46728515625,
0.136962890625,
0.45751953125,
0.136962890625
],
[
0.66650390625,
0.1319580078125,
0.68701171875,
0.1319580078125,
0.68701171875,
0.1351318359375,
0.66650390625,
0.1351318359375
],
[
0.459228515625,
0.146484375,
0.468017578125,
0.146484375,
0.468017578125,
0.1578369140625,
0.459228515625,
0.1578369140625
],
[
0.62158203125,
0.147705078125,
0.63232421875,
0.147705078125,
0.63232421875,
0.1578369140625,
0.62158203125,
0.1578369140625
],
[
0.498291015625,
0.1634521484375,
0.529296875,
0.1634521484375,
0.529296875,
0.17041015625,
0.498291015625,
0.17041015625
],
[
0.615234375,
0.1634521484375,
0.6435546875,
0.1634521484375,
0.6435546875,
0.1717529296875,
0.615234375,
0.1717529296875
],
[
0.6611328125,
0.1610107421875,
0.69775390625,
0.1610107421875,
0.69775390625,
0.1717529296875,
0.6611328125,
0.1717529296875
],
[
0.35546875,
0.1749267578125,
0.375732421875,
0.1749267578125,
0.375732421875,
0.18310546875,
0.35546875,
0.18310546875
],
[
0.449462890625,
0.1641845703125,
0.471435546875,
0.1578369140625,
0.476318359375,
0.17041015625,
0.455078125,
0.1767578125
],
[
0.455078125,
0.175537109375,
0.471435546875,
0.175537109375,
0.471435546875,
0.179931640625,
0.455078125,
0.179931640625
],
[
0.54736328125,
0.1900634765625,
0.60107421875,
0.1925048828125,
0.60107421875,
0.203857421875,
0.54736328125,
0.2020263671875
],
[
0.72119140625,
0.1925048828125,
0.74169921875,
0.1925048828125,
0.74169921875,
0.2052001953125,
0.72119140625,
0.2052001953125
],
[
0.29736328125,
0.212158203125,
0.363525390625,
0.212158203125,
0.363525390625,
0.222900390625,
0.29736328125,
0.222900390625
],
[
0.455810546875,
0.21533203125,
0.53515625,
0.21533203125,
0.53515625,
0.222900390625,
0.455810546875,
0.222900390625
],
[
0.62109375,
0.212158203125,
0.685546875,
0.2139892578125,
0.685546875,
0.2259521484375,
0.62109375,
0.2235107421875
],
[
0.285888671875,
0.2215576171875,
0.374267578125,
0.2215576171875,
0.374267578125,
0.23291015625,
0.285888671875,
0.23291015625
],
[
0.44677734375,
0.2235107421875,
0.5439453125,
0.2235107421875,
0.5439453125,
0.2342529296875,
0.44677734375,
0.2342529296875
],
[
0.6259765625,
0.2235107421875,
0.68310546875,
0.2235107421875,
0.68310546875,
0.2342529296875,
0.6259765625,
0.2342529296875
],
[
0.281982421875,
0.238037109375,
0.316162109375,
0.238037109375,
0.316162109375,
0.2474365234375,
0.281982421875,
0.2474365234375
],
[
0.339111328125,
0.2392578125,
0.366943359375,
0.2392578125,
0.366943359375,
0.246826171875,
0.339111328125,
0.246826171875
],
[
0.443603515625,
0.236083984375,
0.4794921875,
0.238037109375,
0.47802734375,
0.248779296875,
0.44287109375,
0.246826171875
],
[
0.334228515625,
0.2442626953125,
0.373291015625,
0.246826171875,
0.371826171875,
0.25830078125,
0.33251953125,
0.255615234375
],
[
0.66259765625,
0.242431640625,
0.69287109375,
0.242431640625,
0.69287109375,
0.250732421875,
0.66259765625,
0.250732421875
],
[
0.441162109375,
0.2474365234375,
0.483642578125,
0.2474365234375,
0.483642578125,
0.25830078125,
0.441162109375,
0.25830078125
],
[
0.27783203125,
0.2474365234375,
0.318603515625,
0.2474365234375,
0.318603515625,
0.25830078125,
0.27783203125,
0.25830078125
],
[
0.61669921875,
0.2474365234375,
0.646484375,
0.2474365234375,
0.646484375,
0.255126953125,
0.61669921875,
0.255126953125
],
[
0.62353515625,
0.260009765625,
0.646484375,
0.260009765625,
0.646484375,
0.264404296875,
0.62353515625,
0.264404296875
],
[
0.67724609375,
0.255126953125,
0.701171875,
0.255126953125,
0.701171875,
0.25830078125,
0.67724609375,
0.25830078125
],
[
0.498291015625,
0.261474609375,
0.5556640625,
0.261474609375,
0.5556640625,
0.272705078125,
0.498291015625,
0.272705078125
],
[
0.449462890625,
0.272705078125,
0.4697265625,
0.272705078125,
0.4697265625,
0.285400390625,
0.449462890625,
0.285400390625
],
[
0.61669921875,
0.271484375,
0.62841796875,
0.266357421875,
0.6357421875,
0.27587890625,
0.62353515625,
0.281005859375
],
[
0.471435546875,
0.276611328125,
0.48779296875,
0.276611328125,
0.48779296875,
0.2841796875,
0.471435546875,
0.2841796875
],
[
0.28759765625,
0.2734375,
0.2998046875,
0.2734375,
0.2998046875,
0.28271484375,
0.28759765625,
0.28271484375
],
[
0.3505859375,
0.28271484375,
0.36279296875,
0.28271484375,
0.36279296875,
0.291748046875,
0.3505859375,
0.291748046875
],
[
0.615234375,
0.28271484375,
0.6337890625,
0.285888671875,
0.63134765625,
0.29345703125,
0.61279296875,
0.290283203125
],
[
0.6611328125,
0.2841796875,
0.6953125,
0.2841796875,
0.6953125,
0.29345703125,
0.6611328125,
0.29345703125
],
[
0.50341796875,
0.296630859375,
0.55615234375,
0.296630859375,
0.55615234375,
0.306884765625,
0.50341796875,
0.306884765625
],
[
0.61767578125,
0.296630859375,
0.6337890625,
0.296630859375,
0.6337890625,
0.300537109375,
0.61767578125,
0.300537109375
],
[
0.67236328125,
0.29541015625,
0.685546875,
0.29541015625,
0.685546875,
0.2998046875,
0.67236328125,
0.2998046875
],
[
0.72216796875,
0.3017578125,
0.740234375,
0.3017578125,
0.740234375,
0.311279296875,
0.72216796875,
0.311279296875
],
[
0.1748046875,
0.317626953125,
0.82275390625,
0.317626953125,
0.82275390625,
0.330810546875,
0.1748046875,
0.330810546875
],
[
0.1748046875,
0.33203125,
0.82275390625,
0.33203125,
0.82275390625,
0.34521484375,
0.1748046875,
0.34521484375
],
[
0.1748046875,
0.3447265625,
0.82275390625,
0.3447265625,
0.82275390625,
0.35791015625,
0.1748046875,
0.35791015625
],
[
0.176513671875,
0.35791015625,
0.82177734375,
0.35791015625,
0.82177734375,
0.36865234375,
0.176513671875,
0.36865234375
],
[
0.176513671875,
0.371826171875,
0.82421875,
0.371826171875,
0.82421875,
0.3818359375,
0.176513671875,
0.3818359375
],
[
0.176513671875,
0.3837890625,
0.82177734375,
0.3837890625,
0.82177734375,
0.39453125,
0.176513671875,
0.39453125
],
[
0.1732177734375,
0.395751953125,
0.8095703125,
0.396484375,
0.8095703125,
0.40771484375,
0.1732177734375,
0.4072265625
],
[
0.1748046875,
0.4248046875,
0.82421875,
0.427978515625,
0.82421875,
0.44580078125,
0.1748046875,
0.442626953125
],
[
0.176513671875,
0.443115234375,
0.420654296875,
0.443115234375,
0.420654296875,
0.45703125,
0.176513671875,
0.45703125
],
[
0.1748046875,
0.464111328125,
0.82177734375,
0.46533203125,
0.82177734375,
0.479248046875,
0.1748046875,
0.477783203125
],
[
0.17724609375,
0.479248046875,
0.82177734375,
0.479248046875,
0.82177734375,
0.492431640625,
0.17724609375,
0.492431640625
],
[
0.176513671875,
0.492431640625,
0.82275390625,
0.492431640625,
0.82275390625,
0.505859375,
0.176513671875,
0.505859375
],
[
0.176513671875,
0.50390625,
0.82275390625,
0.50390625,
0.82275390625,
0.521484375,
0.176513671875,
0.521484375
],
[
0.1748046875,
0.52099609375,
0.82275390625,
0.52099609375,
0.82275390625,
0.5341796875,
0.1748046875,
0.5341796875
],
[
0.1732177734375,
0.5322265625,
0.82421875,
0.53076171875,
0.82421875,
0.548828125,
0.1732177734375,
0.5498046875
],
[
0.17724609375,
0.54736328125,
0.82177734375,
0.54736328125,
0.82177734375,
0.5625,
0.17724609375,
0.5625
],
[
0.176513671875,
0.5625,
0.82275390625,
0.5625,
0.82275390625,
0.57568359375,
0.176513671875,
0.57568359375
],
[
0.176513671875,
0.57470703125,
0.82177734375,
0.57470703125,
0.82177734375,
0.58837890625,
0.176513671875,
0.58837890625
],
[
0.17724609375,
0.5888671875,
0.82421875,
0.5888671875,
0.82421875,
0.60302734375,
0.17724609375,
0.60302734375
],
[
0.176513671875,
0.60400390625,
0.75341796875,
0.60400390625,
0.75341796875,
0.6171875,
0.176513671875,
0.6171875
],
[
0.176513671875,
0.625,
0.82421875,
0.625,
0.82421875,
0.63818359375,
0.176513671875,
0.63818359375
],
[
0.176513671875,
0.63818359375,
0.82275390625,
0.63818359375,
0.82275390625,
0.6513671875,
0.176513671875,
0.6513671875
],
[
0.176513671875,
0.65283203125,
0.82275390625,
0.65283203125,
0.82275390625,
0.66650390625,
0.176513671875,
0.66650390625
],
[
0.1732177734375,
0.66650390625,
0.82177734375,
0.66552734375,
0.82177734375,
0.6796875,
0.1732177734375,
0.68115234375
],
[
0.176513671875,
0.6787109375,
0.82275390625,
0.6796875,
0.82275390625,
0.6943359375,
0.176513671875,
0.693359375
],
[
0.1748046875,
0.693359375,
0.8203125,
0.693359375,
0.8203125,
0.70703125,
0.1748046875,
0.70703125
],
[
0.176513671875,
0.70849609375,
0.82275390625,
0.70849609375,
0.82275390625,
0.7216796875,
0.176513671875,
0.7216796875
],
[
0.1748046875,
0.72265625,
0.82421875,
0.72265625,
0.82421875,
0.736328125,
0.1748046875,
0.736328125
],
[
0.17236328125,
0.73193359375,
0.82421875,
0.734375,
0.82421875,
0.751953125,
0.17236328125,
0.75
],
[
0.176513671875,
0.74853515625,
0.82177734375,
0.74853515625,
0.82177734375,
0.76318359375,
0.176513671875,
0.76318359375
],
[
0.1748046875,
0.7646484375,
0.5810546875,
0.7646484375,
0.5810546875,
0.77783203125,
0.1748046875,
0.77783203125
],
[
0.176513671875,
0.80615234375,
0.1895751953125,
0.80615234375,
0.1895751953125,
0.81640625,
0.176513671875,
0.81640625
],
[
0.20751953125,
0.8046875,
0.5537109375,
0.8046875,
0.5537109375,
0.818359375,
0.20751953125,
0.818359375
],
[
0.1748046875,
0.84033203125,
0.2017822265625,
0.84033203125,
0.2017822265625,
0.8515625,
0.1748046875,
0.8515625
],
[
0.21728515625,
0.8388671875,
0.373291015625,
0.8388671875,
0.373291015625,
0.85302734375,
0.21728515625,
0.85302734375
],
[
0.176513671875,
0.8671875,
0.82421875,
0.8671875,
0.82421875,
0.880859375,
0.176513671875,
0.880859375
],
[
0.176513671875,
0.880859375,
0.82275390625,
0.880859375,
0.82275390625,
0.89453125,
0.176513671875,
0.89453125
],
[
0.176513671875,
0.89599609375,
0.75341796875,
0.896484375,
0.75341796875,
0.9111328125,
0.176513671875,
0.91015625
],
[
0.734375,
0.8916015625,
0.82275390625,
0.89794921875,
0.82177734375,
0.912109375,
0.73388671875,
0.90576171875
],
[
0.176513671875,
0.9111328125,
0.82275390625,
0.9111328125,
0.82275390625,
0.92529296875,
0.176513671875,
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 2022",
"Vanilla MAML",
"A few-shot task",
"Anotherfew-shottask",
"Feature",
"Class:1",
"class:1",
"2",
"extracto",
"",
"",
"HOO",
".",
"1",
"Class:A",
"",
"Class:N",
"WN",
"福",
"",
"Permutation",
"(a)",
"Unicorn-MAML",
"Initialization of the",
"A few-shot task",
"(meta-parameters 0)",
"inner-loop optimization",
"(support set)",
"Feature",
"Linear",
"Feature",
"classifier",
"Class:1",
"extractor",
"extractor",
"",
"",
"",
"Wi=W",
"fo",
"2",
"+",
"fd",
"W",
"",
"Class: N",
"WN-W",
"",
"pe",
"(b)",
"Figure 1: The problem of permutations in label assignments, and the illustration of UNICORN-MAML. (a) A",
"vanilla MAML learns the initialization of β and [weJ- (i.e., the N weight vectors). Each of [weJe- is",
"paired with the corresponding class label c E [N] of a few-shot task. A few-shot task, however, may consist",
"of the same set of semantic classes but in differentpermutations of class label assignments, leading to a largen",
"varianceinmeta-testing accuracy.(b)Incontrast,our UNIcoRN-MAML,besideslearningΦlearnsonlya",
"single weight vector w and uses it to initialize all the N weight vectors fwee- at the beginning of the innen",
"loop.Thatis,UNICoRN-MAML directlyforces thelearned model initialization tobepermutation-invariant",
"100%精度)执行,不仅用于元测试任务,还用于元训练任务。换句话说,初始化模型需要",
"许多梯度步骤才能达到很高的精度",
"我们的第二个观察结果是,MAML在元测试期间对类标签分配的排列很敏感。具体来说",
"当N路K-shot任务到达时,MAML将学习到的w初始化与该任务的相应类标签cE[N",
"配对。问题在于任务中c的“含义”。在标准设置中,每个N-way任务都是通过从更大的语",
"义类池中绘制N类来创建的(e.g,“狗”,“猫”,“鸟”等。),然后将随机标签重新分配到",
"cE{1,,N中。换句话说,同一组N语义类可以完全不同地标记为{1,.,N,因此",
"可以与【we}=1进行不同的配对。以五向任务为例,有5!=120排列将同一组五个语义类",
"与线性分类头配对。在其中一些中,可以将类“狗”分配给c=1;在其他一些情况下,可",
"以将其分配给c≠1。虽然这种随机性在元训练中被证明是至关重要的,以帮助MAML阻",
"止over-fitting(Rajendranetal.,2020Yaoetal.,2021Yinetal.,2020),但我们发现它使元测",
"试阶段不稳定。具体来说,不同的排列可能会导致截然不同的元测试准确性-平均而言,在",
"两个数据集上,每个五路一次性任务的最佳排列的~15%准确性均高于最差排列",
"在此观察结果的基础上,我们研究了使MAML置换不变的多种方法,无论是在元测试",
"阶段还是在两个阶段。我们发现一个简单的解决方案---元训练仅单个向量W,并使用它",
"初始化N线性分类器w}-1---执行最佳。我们将此方法命名为UNICORN-MAML,如",
"Figure1(b)所示。具体来说,在内循环开始时,UNICORN-MAML将w复制到wc,VcE[N",
"中。在内部循环优化之后,相对于{w,的元梯度被聚合以更新外部循环中的w(在元",
"训练期间)。这种设计不仅使UNICORN-MAML置换不变,而且确保没有一二个模型可以在",
"没有内循环优化的情况下一次解决所有任务,以防止记忆过度拟合(Yinetal.,2020)。在",
"MinilmageNet(Vinyals etal.,2016)、TieredImageNet(Renetal.,2018a)和CUB数据集(Wah",
"etal.,2011)上,UNICORN-MAML的性能与许多最近的少数分类算法相当,甚至优于它们,",
"同时保留了MAML的简单性,而无需添加任何额外的网络模块或学习策略。我们的代码可",
"在https://github.com/Han-Jia/UNICoRN-MAML",
"2",
"MAMLFORFEW-SHOTCLASSIFICATION",
"2.1",
"PROBLEM DEFINITION",
"少量分类的目标是使用有限的标记示例构建分类器。面临的挑战是潜在的过度拟合或泛化能",
"力差问题。在(Vinyalsetal.,2016)之后,我们将一个几步分类问题定义为N-wayK-shot任",
"务,该任务具有N类,每个类都有K标记的支持示例。我们表示由S=【(ai,yi))i",
"N×K设置的",
"标记支持;每个(ai,yi)是一对输人(e.g.,图像)和一个类标签,其中yiE{1,2,...,N)=[M]",
"2"
] |
{
"arxiv_id": "2106.16245",
"language": "zh",
"page_idx": 1
}
|
||
2106.16245-zh-2
|
2106.16245-zh-2.jpg
|
Published as a conference paper at ICLR 2022
。$K$的值很小,$e. g. $, $K= 1$或$K=5$ 。为了评估生成的分类器的质量,每个任务都与一个
查询集$Q$相关联,该查询集由相同的$N$类的示例组成
用于少射分类的元学习的核心思想是从一组“基本”类中对少射任务$\mathcal{T}=(\mathcal{S},\mathcal{Q})$进行采样其中我们每个类都有足够的示例。然后,元学习从这些任务中学习“如何使用有限的数据构建分类器”的能力。在这个元训练阶段之后,我们进入元测试阶段,以解决由“新颖”类的示例组成的真正的少数任务。默认情况下,“novel”和“base”类是不相交的。值得注意的是,“基本”(和“新颖”)类的总数通常大于$N$(请参见 subsection 2.3)。因此,为了在每个阶段构造$N$路$K$ -shot 任务,通常首先从相应的类集中采样$N$类,然后通过索引$c\in[N]$ 随机重新标记每个采样的类。这种随机性导致了所谓的互斥任务 (Yin et al.,2020)。在本文中,我们将交替使用基础(新颖)和元训练(元测试)类
2.2 MODEL-AGNOSTIC META-LEARNING (MAML)
正如 section 1 中介绍的那样,MAML 旨在学习$N$方式分类器的初始化,这样,当提供$N$ 方式$K$ -shot 任务的支持集$S$时,分类器可以快速而健壮地更新,以在任务上表现良好($Q$ MA2, 分 类 查 询 ) 。让 我 们 用 $\hat{y} = h_{\boldsymbol{\theta }}( \boldsymbol{x}) = \arg \max _{c\in [ N] }\boldsymbol{w}_c^\top f_{\boldsymbol{\phi }}( \boldsymbol{x})$表示一个分类器,其中$f_\phi$是特征提取器,$\{\boldsymbol w_c\}_c=1^N$是分类头的权重向量$,\boldsymbol{\theta}=\{\boldsymbol{\phi},\boldsymbol{w}_1,\cdots,\boldsymbol{w}_N\}$收集两者的参数。$\dot{\text{MAML在}S}$上评估$h_{\boldsymbol{\theta}}$,并使用渐变将$\boldsymbol{\theta}$更新为$\boldsymbol{\theta}^\prime$,以便将$h_{\boldsymbol{\theta}\prime}$应用于$\mathcal{Q}$。此过程称为内循环优化,通常采用$M$梯度步长。
(1)
$$\begin{array}{l}\theta^{\prime}\leftarrow\theta\\\mathrm{for}\:m\in[M]\:\mathrm{do}\\\theta^{\prime}=\theta^{\prime}-\alpha\nabla_{\theta^{\prime}}\mathcal{L}(\mathcal{S},\theta^{\prime})\end{array}$$
这里,$\mathcal{L}(\mathcal{S},\boldsymbol{\theta}^\prime)=\sum_{(\boldsymbol{x},y)\in\mathcal{S}}\ell(h_{\boldsymbol{\theta}^{\prime}}(\boldsymbol{x}),y)$是在$\mathcal{S}$的示例上计算的损耗,$\alpha$是学习速率 (或步长)。交叉熵损失常用于《。正如原始 MAML 论文$\boxed{\mathrm{E}}($Finn et al.,2017)和(Antoniou et al., 2019) 中建议的那样,$M$通常设置为一个小整数$(e.g.,\leq5)$。为了便于表示,让我们用$\boldsymbol{\theta}^{\prime}=$InLoop$(\mathcal{S},\boldsymbol{\theta},M)$表示$M$梯度步骤之后的输出$\boldsymbol{\theta}^\prime$。要学习初始化$\boldsymbol{\theta}$, MAML 利用从基类中采样的少量任务。让我们用$p(\mathcal{T})$表示来自基类的任务的分布,其中每个任务是一对支持和查询集$(\mathcal{S},\mathcal{Q})$ 。MAML 旨在最小化以下元训练目标 w。r。t。$\theta:$
(2)
$$\mathbb{E}_{(\mathcal{S},\mathcal{Q})\sim p(\mathcal{T})}\mathcal{L}(\mathcal{Q},\boldsymbol{\theta}_{\mathcal{S}}^{\prime})=\mathbb{E}_{(\mathcal{S},\mathcal{Q})\sim p(\mathcal{T})}\mathcal{L}(\mathcal{Q},\mathrm{InLoop}(\mathcal{S},\boldsymbol{\theta},M)).$$
即,MAML 旨在在任务之间找到一个共享的$\boldsymbol{\theta}$ ,在使用$\mathcal{S}$进行内部循环更新后,可能会导致查询集$\varrho$的小损失。(我们将下标$s$添加到$\theta^\prime$中,以表明$\theta_S^\prime$依赖于$\mathcal{S}$。)优化 Equation 2 $,\mathbf{MAML}$应用随机梯度下降(SGD)但在任务级。也就是说,在每次迭代时,MAML 对任务$\mathcal{T}=(\mathcal{S},\mathcal{Q})$进行采样,并计算元梯度 w。r。t。$\theta:$
(3)
$$\nabla_{\boldsymbol{\theta}}\mathcal{L}(\mathcal{Q},\boldsymbol{\theta}_{\mathcal{S}}^{\prime})=\nabla_{\boldsymbol{\theta}}\mathcal{L}(\mathcal{Q},\mathrm{InLoop}(\mathcal{S},\boldsymbol{\theta},M)).$$
在实践中,可以对小批量任务进行采样并计算小批量元梯度 w。r。t。$\theta$优化$\theta$。$\theta$ 的 SGD 被称为 MAML 的外部循环优化。值得注意的是,在 Equation 3 中计算梯度可能会带来相当大的计算和内存负担,因为它涉及通过梯度的梯度 (沿着内部循环,但顺序向后)$\overline{\mathrm{E}}($Finn et al., 2017)。因此,在实践中,通常应用一阶近似$\boxed{\mathrm{E}}($Finn et al., 2017; Nichol et al., 2018) , $i. e.$ , $\nabla _{\theta }{\mathcal{L} }( Q, \boldsymbol{\theta }_{S}^{\prime }) \approx \nabla _{\boldsymbol{\theta }_{S}^{\prime }}{\mathcal{L} }( \mathcal{Q} , \boldsymbol{\theta }_{S}^{\prime })$
有关元学习和少射学习的其他相关工作,请参阅 Appendix A
# 2.3 EXPERIMENTAL SETUP
由于我们的论文主要由经验观察驱动,因此我们首先介绍我们实验的三个主要数据集,我
们使用的神经网络架构以及实现细节
数据集。我们使用 MiniImageNet (Vinyals et al.,2016)、TieredImageNet (Ren et al.,2018a) 和 CUB 数据集 (Wah et al., 2011)。Mini ImageNet 包含 100 语义类;每个都有 600 个图像。在(Ravi& Larochelle,2017)之后,100 类被拆分为分别具有 64/16/20(非重叠)类的元训练/验证/测试集。也就是说,有 64 基类和 20 新类;其他 16 类用于超参数调整。Tiered ImageNet$\boxed{\mathrm{F}}($Ren et al., 2018a) 具有 608 语义类,分别拆分为具有 351197/160 类的三个集合。平均而言,每个类都有$\sim1,300$ 图像。CUB E(Wah et al.,2011)具有 200 类,这些类被拆分
3
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.048614501953125,
0.1748046875,
0.048614501953125
],
[
0.1895751953125,
0.1060791015625,
0.82177734375,
0.1060791015625,
0.82177734375,
0.12060546875,
0.1895751953125,
0.12060546875
],
[
0.176513671875,
0.11932373046875,
0.56396484375,
0.11932373046875,
0.56396484375,
0.1331787109375,
0.176513671875,
0.1331787109375
],
[
0.17724609375,
0.14013671875,
0.82177734375,
0.14013671875,
0.82177734375,
0.154052734375,
0.17724609375,
0.154052734375
],
[
0.176513671875,
0.154052734375,
0.82177734375,
0.154052734375,
0.82177734375,
0.1673583984375,
0.176513671875,
0.1673583984375
],
[
0.17724609375,
0.169189453125,
0.8203125,
0.169189453125,
0.8203125,
0.179931640625,
0.17724609375,
0.179931640625
],
[
0.176513671875,
0.1817626953125,
0.82177734375,
0.1817626953125,
0.82177734375,
0.1956787109375,
0.176513671875,
0.1956787109375
],
[
0.176513671875,
0.1944580078125,
0.82177734375,
0.1956787109375,
0.82177734375,
0.210205078125,
0.176513671875,
0.208984375
],
[
0.176513671875,
0.210205078125,
0.82177734375,
0.210205078125,
0.82177734375,
0.2235107421875,
0.176513671875,
0.2235107421875
],
[
0.176513671875,
0.2235107421875,
0.82275390625,
0.2235107421875,
0.82275390625,
0.2374267578125,
0.176513671875,
0.2374267578125
],
[
0.17724609375,
0.238037109375,
0.5849609375,
0.238037109375,
0.5849609375,
0.251953125,
0.17724609375,
0.251953125
],
[
0.176513671875,
0.270751953125,
0.54150390625,
0.270751953125,
0.54150390625,
0.281005859375,
0.176513671875,
0.281005859375
],
[
0.176513671875,
0.294189453125,
0.82275390625,
0.294189453125,
0.82275390625,
0.30810546875,
0.176513671875,
0.30810546875
],
[
0.176513671875,
0.309326171875,
0.82275390625,
0.309326171875,
0.82275390625,
0.322509765625,
0.176513671875,
0.322509765625
],
[
0.17236328125,
0.32080078125,
0.82275390625,
0.3212890625,
0.82275390625,
0.34033203125,
0.17236328125,
0.339111328125
],
[
0.17724609375,
0.34033203125,
0.82177734375,
0.34033203125,
0.82177734375,
0.354248046875,
0.17724609375,
0.354248046875
],
[
0.176513671875,
0.354248046875,
0.82275390625,
0.354248046875,
0.82275390625,
0.367431640625,
0.176513671875,
0.367431640625
],
[
0.17724609375,
0.369384765625,
0.42236328125,
0.369384765625,
0.42236328125,
0.380126953125,
0.17724609375,
0.380126953125
],
[
0.400390625,
0.39013671875,
0.450927734375,
0.39013671875,
0.450927734375,
0.401611328125,
0.400390625,
0.401611328125
],
[
0.40185546875,
0.4091796875,
0.50634765625,
0.4091796875,
0.50634765625,
0.421630859375,
0.40185546875,
0.421630859375
],
[
0.80224609375,
0.40771484375,
0.826171875,
0.40771484375,
0.826171875,
0.42236328125,
0.80224609375,
0.42236328125
],
[
0.4306640625,
0.425537109375,
0.59716796875,
0.427978515625,
0.59716796875,
0.44140625,
0.4306640625,
0.439453125
],
[
0.1732177734375,
0.45068359375,
0.82275390625,
0.449462890625,
0.82275390625,
0.468505859375,
0.1732177734375,
0.4697265625
],
[
0.17724609375,
0.4697265625,
0.8203125,
0.4697265625,
0.8203125,
0.48291015625,
0.17724609375,
0.48291015625
],
[
0.1748046875,
0.481689453125,
0.82177734375,
0.48291015625,
0.82177734375,
0.49755859375,
0.1748046875,
0.496826171875
],
[
0.176513671875,
0.496826171875,
0.82177734375,
0.496826171875,
0.82177734375,
0.51025390625,
0.176513671875,
0.51025390625
],
[
0.176513671875,
0.51123046875,
0.82275390625,
0.51123046875,
0.82275390625,
0.5244140625,
0.176513671875,
0.5244140625
],
[
0.176513671875,
0.5244140625,
0.67236328125,
0.5244140625,
0.67236328125,
0.53857421875,
0.176513671875,
0.53857421875
],
[
0.326904296875,
0.54736328125,
0.4755859375,
0.54736328125,
0.4755859375,
0.56103515625,
0.326904296875,
0.56103515625
],
[
0.46728515625,
0.54736328125,
0.69677734375,
0.54736328125,
0.69677734375,
0.56103515625,
0.46728515625,
0.56103515625
],
[
0.8037109375,
0.54736328125,
0.82421875,
0.54736328125,
0.82421875,
0.56103515625,
0.8037109375,
0.56103515625
],
[
0.301513671875,
0.5595703125,
0.37744140625,
0.56103515625,
0.37744140625,
0.5712890625,
0.301513671875,
0.5693359375
],
[
0.45751953125,
0.56005859375,
0.5390625,
0.56005859375,
0.5390625,
0.57080078125,
0.45751953125,
0.57080078125
],
[
0.176513671875,
0.5791015625,
0.82275390625,
0.58056640625,
0.82275390625,
0.59521484375,
0.176513671875,
0.59326171875
],
[
0.176513671875,
0.59521484375,
0.82275390625,
0.59521484375,
0.82275390625,
0.609375,
0.176513671875,
0.609375
],
[
0.188720703125,
0.609375,
0.82275390625,
0.609375,
0.82275390625,
0.62255859375,
0.188720703125,
0.62255859375
],
[
0.176513671875,
0.62255859375,
0.55810546875,
0.62255859375,
0.55810546875,
0.63623046875,
0.176513671875,
0.63623046875
],
[
0.35302734375,
0.64599609375,
0.6435546875,
0.64599609375,
0.6435546875,
0.6591796875,
0.35302734375,
0.6591796875
],
[
0.8037109375,
0.64306640625,
0.826171875,
0.64599609375,
0.82421875,
0.66015625,
0.80224609375,
0.65771484375
],
[
0.176513671875,
0.67041015625,
0.82177734375,
0.67041015625,
0.82177734375,
0.6845703125,
0.176513671875,
0.6845703125
],
[
0.1748046875,
0.681640625,
0.82177734375,
0.68310546875,
0.82177734375,
0.69775390625,
0.1748046875,
0.6962890625
],
[
0.1748046875,
0.69580078125,
0.82177734375,
0.6962890625,
0.82177734375,
0.7109375,
0.1748046875,
0.71044921875
],
[
0.176513671875,
0.7109375,
0.82666015625,
0.7109375,
0.82666015625,
0.724609375,
0.176513671875,
0.724609375
],
[
0.1748046875,
0.72607421875,
0.414306640625,
0.72607421875,
0.414306640625,
0.7392578125,
0.1748046875,
0.7392578125
],
[
0.17724609375,
0.75048828125,
0.60107421875,
0.75048828125,
0.60107421875,
0.76123046875,
0.17724609375,
0.76123046875
],
[
0.1748046875,
0.77978515625,
0.37744140625,
0.77978515625,
0.37744140625,
0.79345703125,
0.1748046875,
0.79345703125
],
[
0.178955078125,
0.80810546875,
0.82275390625,
0.80810546875,
0.82275390625,
0.818359375,
0.178955078125,
0.818359375
],
[
0.176513671875,
0.82080078125,
0.438720703125,
0.82080078125,
0.438720703125,
0.833984375,
0.176513671875,
0.833984375
],
[
0.176513671875,
0.84130859375,
0.82177734375,
0.84130859375,
0.82177734375,
0.85498046875,
0.176513671875,
0.85498046875
],
[
0.176513671875,
0.85498046875,
0.82177734375,
0.85498046875,
0.82177734375,
0.86865234375,
0.176513671875,
0.86865234375
],
[
0.176513671875,
0.869140625,
0.82177734375,
0.869140625,
0.82177734375,
0.88330078125,
0.176513671875,
0.88330078125
],
[
0.178955078125,
0.88525390625,
0.82275390625,
0.88525390625,
0.82275390625,
0.89599609375,
0.178955078125,
0.89599609375
],
[
0.176513671875,
0.89794921875,
0.82177734375,
0.89794921875,
0.82177734375,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.176513671875,
0.9111328125,
0.82177734375,
0.9111328125,
0.82177734375,
0.9248046875,
0.176513671875,
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 2022",
"K的值很小,e.g.,K=1或K=5。为了评估生成的分类器的质量,每个任务都与一个",
"查询集Q相关联,该查询集由相同的N类的示例组成",
"用于少射分类的元学习的核心思想是从一组“基本”类中对少射任务T=(S②)进行采样",
"其中我们每个类都有足够的示例。然后,元学习从这些任务中学习“如何使用有限的数据构",
"建分类器”的能力。在这个元训练阶段之后,我们进人元测试阶段,以解决由“新颖”类的",
"示例组成的真正的少数任务。默认情况下,“novel”和“base”类是不相交的。值得注意的",
"是,“基本”(和“新颖”)类的总数通常大于N(请参见subsection2.3)。因此,为了在每",
"个阶段构造N路K-shot任务,通常首先从相应的类集中采样N类,然后通过索引cE[N]",
"随机重新标记每个采样的类。这种随机性导致了所谓的互斥任务(Yinetal.,2020)。在本文",
"中,我们将交替使用基础(新颖)和元训练(元测试)类",
"2.2MODEL-AGNOSTICMETA-LEARNING(MAML)",
"正如section1中介绍的那样,MAML旨在学习N方式分类器的初始化,这样,当提供N",
"方式K-shot任务的支持集S时,分类器可以快速而健壮地更新,以在任务上表现良好(",
"MA2,分类查询)。让我们用g=he(a)=argmaxce[N)wTfo(a)表示一个分类器,其中",
"f是特征提取器,[wc}=i是分类头的权重向量,=Φ,w1,,wN}收集两者的参数",
"MAML在S上评估he,并使用渐变将θ更新为,以便将he应用于Q。此过程称为内",
"循环优化,通常采用M梯度步长。",
"←0",
"form E[M] do",
"(1)",
"=-αVL(S,0)",
"这里,C(S,e\")=(a,)ese(he(a),y)是在S的示例上计算的损耗,α是学习速率(或步",
"长)。交叉摘损失常用于l。正如原始MAML论文E(Finnetal.,2017)和(Antoniouetal.",
"2019)中建议的那样,M通常设置为一个小整数(e.g.,≤5)。为了便于表示,让我们用",
"e'=InLoop(S,0,M)表示M梯度步骤之后的输出°。要学习初始化,MAML利用从基",
"类中采样的少量任务。让我们用P(T)表示来自基类的任务的分布,其中每个任务是一对支",
"持和查询集(S,Q)。MAML旨在最小化以下元训练目标w。r。t。θ:",
"EC(Q,%)=",
"EC(Q, InLoop(S,e, M))",
"(2)",
"(S,Q)~P(T)",
"(S,Q)~p(T)",
"即,MAML旨在在任务之间找到一个共享的θ,在使用S进行内部循环更新后,可能会导",
"致查询集Q的小损失。(我们将下标s添加到e'中,以表明%s依赖于S。)优化Equation2",
"MAML应用随机梯度下降(SGD)但在任务级。也就是说,在每次迭代时,MAML对任",
"务T=(S,Q)进行采样,并计算元梯度w。r。t。θ:",
"VeL(Q, 0s) = VoL(Q, InLoop(S, 0, M))",
"(3)",
"在实践中,可以对小批量任务进行采样并计算小批量元梯度W。r。t。θ优化θ。θ的SGD",
"被称为MAML的外部循环优化。值得注意的是,在Equation3中计算梯度可能会带来相当",
"大的计算和内存负担,因为它涉及通过梯度的梯度(沿着内部循环,但顺序向后)E(Finn",
"etal.2017)。因此,在实践中,通常应用一阶近似(Finn etal.,2017;Nicholetal.,2018),",
"i.e., VeC(Q,0s) ~ VosC(Q,0s)",
"有关元学习和少射学习的其他相关工作,请参阅AppendixA",
"2.3EXPERIMENTALSETUP",
"由于我们的论文主要由经验观察驱动,因此我们首先介绍我们实验的三入主要数据集,我",
"们使用的神经网络架构以及实现细节",
"数据集。我们使用MinilmageNet(Vinyalsetal.,2016)TieredlmageNet(Renetal.,2018a)",
"和CUB数据集(Wahetal.,2011)。MiniImageNet包含100语义类;每个都有600个图",
"像。在(Ravi&Larochelle,2017)之后,100类被拆分为分别具有64/16/20(非重叠)类的元",
"训练/验证/测试集。也就是说,有64基类和20新类;其他16类用于超参数调整。Tiered",
"ImageNetE(Renetal.,2018a)具有608语义类,分别拆分为具有351/97/160类的三个集合。",
"平均而言,每个类都有~1,300图像。CUBE(Wahetal.2011)具有200类,这些类被拆分",
"3"
] |
{
"arxiv_id": "2106.16245",
"language": "zh",
"page_idx": 2
}
|
||
2106.16245-zh-3
|
2106.16245-zh-3.jpg
|
Published as a conference paper at ICLR 2022
<FigureHere>
MiniImageNet, ResNet
<FigureHere>
<FigureHere>
MiniImageNet, ConvNet
Figure 2: Heat maps of MAML's five-way one-shot accuracy on Mini ImageNet, Tiered ImageNet, and CUB w.r.t. the inner loop learning rate $\alpha$ (x-axis) and the number of inner loop updates $M$ (y-axis). For each heat map, we set accuracy below a threshold to a fixed value for clarity ; we denote the best accuracy by a black $box.$
为具有$\boxed{\mathrm{F}}($Ye et al., 2020a)之后的 200/50/50 类的三个集合。所有图像都调整为 $84\times84$ ,遵
循 (Lee et al., 2019; Ye et al., 2020a)
培训和评估。在元训练,元验证和元测试期间,我们从相应的类和图像中对$N$ -way $K$ -shot 任务进行采样。我们按照文献 (Snell et al., 2017; Vinyals et al., 2016) 来研究五向单发和五向五发任务。如 subsection 2.1 中所述,每次我们对五个不同的类进行采样时,我们都会随机为每个类分配一个索引$c\in[N]$ 。在元测试期间,我们按照 (Zhang et al., 2020; Rusu et al., 2019; Ye et al., 2020a) 中的评估协议对10,000任务进行采样。在每个任务中,查询集包含每个类的 15 图像。我们报告了平均准确度 (在% 中) 和 95% 置信区间
模型体系结构。我们遵循 (Lee et al.,2019)将 ResNet-12 (He et al.,2016)架构用于$f_{\boldsymbol{\phi}}$(参见subsection 2.2),具有更宽的宽度和 Dropblock 模块 (Ghiasi et al.,2018)。我们注意到,许多最近的少射学习算法使用这个骨干。我们还遵循原始的 MAML[E(Finn et al.,2017) 使用 4 层卷积网络(ConvNet)$\underline{\mathrm{E}}($Vinyals et al.,2016)
实施细节。在整个论文中,为了简单和一致性,我们使用
· the first-order approximation for calculating the meta-gradient in the outer loop;
· the same number of gradient steps in the inner loop during meta-training and meta-testing;
· the weights pre-trained on the entire meta-training set to initialize $\phi$, following the recent prac-
tice (Ye et al., 2020a; Rusu et al., 2019; Qiao et al., 2018) . We note that in meta-training we still
optimize this pre-trained $\phi$ in the“outer” loop to search for a better initialization for MAML
MAML 有几个超参数,我们在元验证集上选择它们。具体来说,对于外循环,我们最多学习10,000任务:我们将每个 100 任务分组到一个纪元中。我们应用具有动量 0.9 和权重衰减 0.0005 的 SGD。我们从 ConvNet 的外环学习速率 0.002 和 ResNet-12 的 0.001 开始,分别在 ConvNet 和 ResNet-12 的每个 20 历元之后,由 0.5 和 0.1 衰减。对于内循环,我们必须设置梯度步数$M$和学习率$\alpha$ (cf。Equation 1 )。我们将在下一节中提供更多详细信息
3 MAML NEEDS A LARGE NUMBER OF INNER LOOP GRADIENT STEPS
我们发现,对于 MAML 的内循环,梯度更新的数量$M$ (cf。Equation 1)通常在接近 1、e.g. $M\in[1,5]$ (Antoniou et al.,2019)的小范围内选择。乍一看,根据 MAML$\underline{\mathrm{E}}($Finn et al.,2017) 的动机,这是有道理的--通过少量的梯度步长,生成的模型将具有良好的泛化性能
4
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.330078125,
0.1275634765625,
0.338134765625,
0.1275634765625,
0.338134765625,
0.1307373046875,
0.330078125,
0.1307373046875
],
[
0.56787109375,
0.12249755859375,
0.580078125,
0.12249755859375,
0.580078125,
0.1331787109375,
0.56787109375,
0.1331787109375
],
[
0.328369140625,
0.1395263671875,
0.339111328125,
0.1395263671875,
0.339111328125,
0.149658203125,
0.328369140625,
0.149658203125
],
[
0.56787109375,
0.136962890625,
0.580078125,
0.136962890625,
0.580078125,
0.149658203125,
0.56787109375,
0.149658203125
],
[
0.80810546875,
0.1458740234375,
0.81884765625,
0.1458740234375,
0.81884765625,
0.1572265625,
0.80810546875,
0.1572265625
],
[
0.328369140625,
0.154052734375,
0.339111328125,
0.154052734375,
0.339111328125,
0.1641845703125,
0.328369140625,
0.1641845703125
],
[
0.56787109375,
0.15283203125,
0.580078125,
0.15283203125,
0.580078125,
0.1641845703125,
0.56787109375,
0.1641845703125
],
[
0.2418212890625,
0.1634521484375,
0.261474609375,
0.1634521484375,
0.261474609375,
0.175537109375,
0.2418212890625,
0.175537109375
],
[
0.56884765625,
0.169189453125,
0.57861328125,
0.1717529296875,
0.57666015625,
0.1767578125,
0.56787109375,
0.1749267578125
],
[
0.418212890625,
0.1849365234375,
0.423095703125,
0.1849365234375,
0.423095703125,
0.1900634765625,
0.418212890625,
0.1900634765625
],
[
0.65673828125,
0.1849365234375,
0.66259765625,
0.1849365234375,
0.66259765625,
0.1900634765625,
0.65673828125,
0.1900634765625
],
[
0.1895751953125,
0.1976318359375,
0.306396484375,
0.1976318359375,
0.306396484375,
0.2083740234375,
0.1895751953125,
0.2083740234375
],
[
0.4306640625,
0.1976318359375,
0.54736328125,
0.1976318359375,
0.54736328125,
0.2083740234375,
0.4306640625,
0.2083740234375
],
[
0.6708984375,
0.1988525390625,
0.7890625,
0.1988525390625,
0.7890625,
0.208984375,
0.6708984375,
0.208984375
],
[
0.1895751953125,
0.210205078125,
0.328369140625,
0.2108154296875,
0.328369140625,
0.2247314453125,
0.1895751953125,
0.2235107421875
],
[
0.4248046875,
0.2108154296875,
0.57275390625,
0.2108154296875,
0.57275390625,
0.2247314453125,
0.4248046875,
0.2247314453125
],
[
0.69677734375,
0.2108154296875,
0.78125,
0.212158203125,
0.78125,
0.2235107421875,
0.69677734375,
0.222900390625
],
[
0.56787109375,
0.260009765625,
0.57861328125,
0.260009765625,
0.57861328125,
0.272705078125,
0.56787109375,
0.272705078125
],
[
0.328369140625,
0.266357421875,
0.339111328125,
0.266357421875,
0.339111328125,
0.276611328125,
0.328369140625,
0.276611328125
],
[
0.56787109375,
0.270751953125,
0.5810546875,
0.270751953125,
0.5810546875,
0.285888671875,
0.56787109375,
0.285888671875
],
[
0.80810546875,
0.266357421875,
0.81884765625,
0.266357421875,
0.81884765625,
0.276611328125,
0.80810546875,
0.276611328125
],
[
0.65673828125,
0.27587890625,
0.66259765625,
0.27587890625,
0.66259765625,
0.2822265625,
0.65673828125,
0.2822265625
],
[
0.56787109375,
0.285888671875,
0.57861328125,
0.285888671875,
0.57861328125,
0.29736328125,
0.56787109375,
0.29736328125
],
[
0.56884765625,
0.2998046875,
0.57421875,
0.2998046875,
0.57421875,
0.304931640625,
0.56884765625,
0.304931640625
],
[
0.65673828125,
0.294189453125,
0.66259765625,
0.294189453125,
0.66259765625,
0.2998046875,
0.65673828125,
0.2998046875
],
[
0.435546875,
0.326904296875,
0.473876953125,
0.32763671875,
0.473876953125,
0.335205078125,
0.435546875,
0.333984375
],
[
0.5361328125,
0.32763671875,
0.5439453125,
0.32763671875,
0.5439453125,
0.333251953125,
0.5361328125,
0.333251953125
],
[
0.29736328125,
0.328857421875,
0.3056640625,
0.328857421875,
0.3056640625,
0.333251953125,
0.29736328125,
0.333251953125
],
[
0.1953125,
0.328857421875,
0.233642578125,
0.328857421875,
0.233642578125,
0.333251953125,
0.1953125,
0.333251953125
],
[
0.48779296875,
0.328857421875,
0.529296875,
0.328857421875,
0.529296875,
0.333251953125,
0.48779296875,
0.333251953125
],
[
0.74267578125,
0.328857421875,
0.78369140625,
0.328857421875,
0.78369140625,
0.333251953125,
0.74267578125,
0.333251953125
],
[
0.6787109375,
0.330078125,
0.71728515625,
0.330078125,
0.71728515625,
0.333251953125,
0.6787109375,
0.333251953125
],
[
0.2442626953125,
0.330078125,
0.28759765625,
0.330078125,
0.28759765625,
0.333251953125,
0.2442626953125,
0.333251953125
],
[
0.7197265625,
0.330078125,
0.73876953125,
0.328857421875,
0.73876953125,
0.333251953125,
0.7197265625,
0.333984375
],
[
0.1854248046875,
0.33837890625,
0.334228515625,
0.33837890625,
0.334228515625,
0.3515625,
0.1854248046875,
0.3515625
],
[
0.420654296875,
0.33837890625,
0.57666015625,
0.33837890625,
0.57666015625,
0.3515625,
0.420654296875,
0.3515625
],
[
0.69287109375,
0.339111328125,
0.78369140625,
0.34033203125,
0.78369140625,
0.3515625,
0.69287109375,
0.35107421875
],
[
0.1748046875,
0.354736328125,
0.82421875,
0.354736328125,
0.82421875,
0.36865234375,
0.1748046875,
0.36865234375
],
[
0.1748046875,
0.3662109375,
0.82177734375,
0.3662109375,
0.82177734375,
0.380126953125,
0.1748046875,
0.380126953125
],
[
0.1732177734375,
0.380126953125,
0.82421875,
0.37890625,
0.82421875,
0.393310546875,
0.1732177734375,
0.39453125
],
[
0.1748046875,
0.392578125,
0.2034912109375,
0.39453125,
0.2017822265625,
0.406005859375,
0.1732177734375,
0.404052734375
],
[
0.17724609375,
0.442626953125,
0.82421875,
0.442626953125,
0.82421875,
0.455810546875,
0.17724609375,
0.455810546875
],
[
0.176513671875,
0.455810546875,
0.426513671875,
0.455810546875,
0.426513671875,
0.4697265625,
0.176513671875,
0.4697265625
],
[
0.1748046875,
0.477783203125,
0.82177734375,
0.477783203125,
0.82177734375,
0.4912109375,
0.1748046875,
0.4912109375
],
[
0.176513671875,
0.4912109375,
0.82275390625,
0.4912109375,
0.82275390625,
0.5048828125,
0.176513671875,
0.5048828125
],
[
0.176513671875,
0.505859375,
0.82275390625,
0.505859375,
0.82275390625,
0.51953125,
0.176513671875,
0.51953125
],
[
0.176513671875,
0.51953125,
0.82275390625,
0.51953125,
0.82275390625,
0.53271484375,
0.176513671875,
0.53271484375
],
[
0.176513671875,
0.53271484375,
0.82275390625,
0.53271484375,
0.82275390625,
0.546875,
0.176513671875,
0.546875
],
[
0.1748046875,
0.54736328125,
0.63232421875,
0.54736328125,
0.63232421875,
0.56103515625,
0.1748046875,
0.56103515625
],
[
0.176513671875,
0.568359375,
0.82177734375,
0.568359375,
0.82177734375,
0.58203125,
0.176513671875,
0.58203125
],
[
0.176513671875,
0.58203125,
0.82177734375,
0.58203125,
0.82177734375,
0.59521484375,
0.176513671875,
0.59521484375
],
[
0.17724609375,
0.59765625,
0.82177734375,
0.59765625,
0.82177734375,
0.60791015625,
0.17724609375,
0.60791015625
],
[
0.17724609375,
0.611328125,
0.47802734375,
0.611328125,
0.47802734375,
0.6220703125,
0.17724609375,
0.6220703125
],
[
0.176513671875,
0.630859375,
0.58251953125,
0.630859375,
0.58251953125,
0.64453125,
0.176513671875,
0.64453125
],
[
0.1748046875,
0.65283203125,
0.71142578125,
0.65283203125,
0.71142578125,
0.66650390625,
0.1748046875,
0.66650390625
],
[
0.1748046875,
0.66748046875,
0.779296875,
0.66748046875,
0.779296875,
0.68115234375,
0.1748046875,
0.68115234375
],
[
0.1748046875,
0.68115234375,
0.82275390625,
0.68115234375,
0.82275390625,
0.6943359375,
0.1748046875,
0.6943359375
],
[
0.1871337890625,
0.693359375,
0.82275390625,
0.693359375,
0.82275390625,
0.70703125,
0.1871337890625,
0.70703125
],
[
0.191162109375,
0.71044921875,
0.7939453125,
0.71044921875,
0.7939453125,
0.72021484375,
0.191162109375,
0.72021484375
],
[
0.1732177734375,
0.72802734375,
0.82177734375,
0.72900390625,
0.82177734375,
0.74365234375,
0.1732177734375,
0.7421875
],
[
0.17724609375,
0.74365234375,
0.82275390625,
0.74365234375,
0.82275390625,
0.7568359375,
0.17724609375,
0.7568359375
],
[
0.1748046875,
0.7568359375,
0.82275390625,
0.7568359375,
0.82275390625,
0.77099609375,
0.1748046875,
0.77099609375
],
[
0.176513671875,
0.77099609375,
0.82275390625,
0.77099609375,
0.82275390625,
0.7841796875,
0.176513671875,
0.7841796875
],
[
0.176513671875,
0.78515625,
0.7587890625,
0.78515625,
0.7587890625,
0.798828125,
0.176513671875,
0.798828125
],
[
0.1748046875,
0.84130859375,
0.2091064453125,
0.84130859375,
0.2091064453125,
0.85302734375,
0.1748046875,
0.85302734375
],
[
0.205078125,
0.84033203125,
0.79345703125,
0.84033203125,
0.79345703125,
0.85400390625,
0.205078125,
0.85400390625
],
[
0.1748046875,
0.8818359375,
0.8203125,
0.88330078125,
0.8203125,
0.89794921875,
0.1748046875,
0.896484375
],
[
0.176513671875,
0.896484375,
0.82421875,
0.896484375,
0.82421875,
0.91015625,
0.176513671875,
0.91015625
],
[
0.1748046875,
0.9111328125,
0.76318359375,
0.9111328125,
0.76318359375,
0.9248046875,
0.1748046875,
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 2022",
"",
"64",
"63",
" 63",
"74",
"62",
"62",
"64.42",
"61",
"",
"20",
"5E-3 1E-2 5E-2 1E-1 5E-1",
"1E-4 5E-4 1E-3 5E-3 1E-2",
"1E-3 5E-3 1E-2 5E-2 1E-1",
"MinilmageNet, ResNet",
"TieredlmageNet, ResNet",
"CUB, ResNet",
"福",
"53",
"等",
"56",
"10",
"47",
"4",
"15",
"E-35E-3",
"F-",
"-",
"F-35F-7",
"-256-2",
"SF-21F-",
"--",
"-",
"1",
"MinilmageNet, ConvNet",
"TieredlmageNet, ConvNet",
"CUB,ConvNet",
"Figure 2: Heat maps of MAML's five-way one-shot accuracy on Mini ImageNet, Tiered ImageNet, and",
"CUB w.r.t. the inner loop learning rate α (x-axis) and the number of inner loop updates M (y-axis). For each",
"heat map, we set accuracy below a threshold to a fixed value for clarity ; we denote the best accuracy by a black",
"box.",
"为具有E(Yeetal.,2020a)之后的200/50/50类的三个集合。所有图像都调整为84×84,遵",
"循 (Lee et al., 2019; Ye et al., 2020a)",
"培训和评估。在元训练,元验证和元测试期间,我们从相应的类和图像中对N-wayK-shot",
"任务进行采样。我们按照文献(Snelletal.,2017;Vinyalsetal.,2016)来研究五向单发和五向",
"五发任务。如subsection2.1中所述,每次我们对五个不同的类进行采样时,我们都会随机为",
"每个类分配一个索引cE[N]。在元测试期间,我们按照(Zhangetal.,2020;Rusuetal.,2019;",
"Yeetal.,2020a)中的评估协议对10,000任务进行采样。在每个任务中,查询集包含每个类",
"的15图像。我们报告了平均准确度(在%中)和95%置信区间",
"模型体系结构。我们遵循(Leeetal,2019)将ResNet-12(Heetal.,2016)架构用于fo(参见。",
"subsection2.2),具有更宽的宽度和Dropblock模块(Ghiasietal,2018)。我们注意到,许多",
"最近的少射学习算法使用这个骨干。我们还遵循原始的MAMLF(Finnetal.2017)使用4层",
"卷积网络(ConvNet))E((Vinyalsetal.2016)",
"实施细节。在整个论文中,为了简单和一致性,我们使用",
": the first-order approximation for calculating the meta-gradient in the outer loop;",
": the same number of gradient steps in the inner loop during meta-training and meta-testing;",
": the weights pre-trained on the entire meta-training set to initialize Φ , following the recent prac",
"tice (Ye et al., 2020a; Rusu et al., 2019; Qiao et al., 2018). We note that in meta-training we still",
"optimizethispre-trained@intheouterlooptosearchforabetterinitializationforMAML",
"MAML有几个超参数,我们在元验证集上选择它们。具体来说,对于外循环,我们最多学",
"习10,000任务:我们将每个100任务分组到一个纪元中。我们应用具有动量0.9和权重衰",
"减0.0005的SGD。我们从ConvNet的外环学习速率0.002和ResNet-12的0.001开始,分别",
"在ConvNet和ResNet-12的每个20历元之后,由0.5和0.1衰减。对于内循环,我们必须设",
"置梯度步数M和学习率α(cf。Equation1)。我们将在下一节中提供更多详细信息",
"3",
"MAMLNEEDSALARGENUMBEROFINNERLOOPGRADIENTSTEPS",
"我们发现,对于MAML的内循环,梯度更新的数量M(cf。Equation1)通常在接近1、e.g",
"ME[1,5](Antoniouetal.,2019)的小范围内选择。乍一看,根据MAMLE(Finnetal.,2017)",
"的动机,这是有道理的---通过少量的梯度步长,生成的模型将具有良好的泛化性能",
"4"
] |
{
"arxiv_id": "2106.16245",
"language": "zh",
"page_idx": 3
}
|
||
2106.16245-zh-4
|
2106.16245-zh-4.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2022}}$
<FigureHere>
Figure 3: We plot the change of the five-way one-shot classification accuracy (on the query set), averaged over 10,0000 tasks sampled from either the meta-training (red) or meta-testing classes (blue), along with the process of inner loop updates, using the best model initialization learned by MAML. C: ConvNet; R: ResNet.
然而,在我们的实验中,我们观察到探索更大的$M^{1}$至关重要。具体来说,我们考虑$M\in[1,20]$和$\alpha\in[10^{-4},10^0]$。我们使用 ResNet 和 ConvNet 主干在 Figure $2^2$中的三个数据集上绘制了五路一次性任务的元测试准确性。我们发现 MAML 实现了更高和更稳定的精度(w。r。t。学习率)当$M$ 较大时,e.g. 大于 10。具体来说,对于带有 ResNet 的 Mini ImageNet ,使用$M=15$可获得最高精度 64.42% , 高于带有$M=5$的 62.90%;对于带有 ResNet 的分层 ImageNet, 使用$M=15$可获得最高精度 65.72% , 高于带有 59.08%。正如在 section 6中看到的那样,使用更大的$M$的这些结果已经接近最先进的性能
为了分析为什么 MAML 需要一个大的$M$ ,我们在 Figure 3 中绘制了分类精度的变化以及内部循环更新。具体来说,我们首先使用通过元验证选择的$M$值对每对数据集和骨干网进行元训练。然后,我们通过使用支持集执行$0\sim30$内部循环更新并报告查询集的准确性,分析从元训练和元测试类采样的少数任务的学习模型初始化。我们在 Appendix D 中对五向五射任务进行了相同的实验
我们有两个观察结果。首先,通常,我们对几次射击任务执行的内部循环更新越多,准确性就越高,无论它是元训练还是元测试任务。这种趋势与(Finn et al., 2017) 中的少量回归研究一致。其次,在任何内部循环更新之前,学习的初始化$\boldsymbol{\theta}$的$\sim20\%$平均精度为$i.e.$,该精度通过随机分类。有趣的是,这不仅适用于元测试任务,也适用于元训练任务,即使学习的初始化确实包含分类头$\{\boldsymbol{w}_c\}_{c=1}^N$。这解释了为什么需要更大数量的内循环梯度步骤:学习的初始化模型必须从执行随机预测更新到实现更高的分类精度
我们将第二个观察结果归因于创建少量任务时的随机类标签分配(cf。subsection 2.1 和subsection 2.3 ),使得创建的任务互斥 (Yin et al.,2020)一$i.e.$,单个模型无法在内循环优化之前一次性解决。具体来说,对于一组特定的$N$语义类$( e. g. , \{$“ 狗 ” , “ 猫 ” , “ $\cdots $,“ 鸟 ” $\} )$的少量任务,从 MAML 的角度来看,这种随机性可以将其转变为不同的任务。例如,类“狗” 可以在当前任务中分配给$c=1$并与$\boldsymbol w_1$配对,但在再次采样时分配给$c=2$并与$\boldsymbol w_2$配对。对于五向任务,可以通过120$(i.e,5!)$不同的排列将同一组五个语义类分配给$\{1,\cdots,5\}$ 。因此,如果我们直接应用 MAML 的学习初始化而不进行内部循环更新,则同一组语义类(但以不同的排列)的少数任务的准确性可能会相互抵消。(详情请见 subsection C.1。)此外, 由于随机性也发生在元训练中,因此不鼓励每个$w_c$ 学习针对任何语义类$\mathbb{E}(\mathbb{R}$ajendran et al. 2020; Yao et al., 2021; Yin et al., 2020) 的特定知识,因此即使在元训练任务上也能在机会级别上产生准确性
相关工作。MAML 的几个后续工作,e.g., (Hsu et al.,2019) ,在元训练$(e.g.,M=1\sim5)$ 和元测试$(e.g.,M=20\sim50)$中使用不同数量的内循环步骤。为了保持一致性,我们使$M$在两个阶段相等,并详细分析了为什么 MAML 需要大的$M$值。在超越少射学习的大规模任务上,Shin et al. (2021) 还发现了更多内循环步骤的必要性,但从与我们不同的角度来看
4 MAML Is SENSITIVE TO THE LABEL PERMUTATIONS IN META-TESTING
类标签分配中的随机性提出了一个有趣的问题:不同的排列是否会导致内循环更新后的元
测试准确性不同?更具体地说,如果$\left\{\boldsymbol w_c\right\}_{c=1}^N$与$N$类的配对方式不同,内循环后更新的模
型的表现会有所不同吗?
为了回答这个问题,我们进行了详细的实验:算法 1 总结了该过程。我们使用 ResNet 主干
在 Mini ImageNet 和 TieredImageNet 上专注于五路一/五拍摄任务。对于每个任务类型和数
$^{\text{l}}$We reiterate that for simplicity and consistency we apply the same $M$ in meta-training and meta-testing. $^{2}$We tune hyper-parameters on the meta-validation set and find that the accuracy there reflects the metating cacuracy wall Wa chowi tha mata tactin accuracy baracy there reflects the meta-
testing accuracy well. We show the meta-testing accuracy here simply for a direct comparison to results in the
literature.
5
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.048614501953125,
0.1748046875,
0.048614501953125
],
[
0.50341796875,
0.11614990234375,
0.515625,
0.11614990234375,
0.515625,
0.1300048828125,
0.50341796875,
0.1300048828125
],
[
0.611328125,
0.11553955078125,
0.62744140625,
0.11553955078125,
0.62744140625,
0.1319580078125,
0.611328125,
0.1319580078125
],
[
0.72119140625,
0.11614990234375,
0.73388671875,
0.11614990234375,
0.73388671875,
0.1287841796875,
0.72119140625,
0.1287841796875
],
[
0.39453125,
0.11871337890625,
0.406982421875,
0.11871337890625,
0.406982421875,
0.1287841796875,
0.39453125,
0.1287841796875
],
[
0.1805419921875,
0.121826171875,
0.1846923828125,
0.121826171875,
0.1846923828125,
0.1287841796875,
0.1805419921875,
0.1287841796875
],
[
0.50341796875,
0.1331787109375,
0.5146484375,
0.1331787109375,
0.5146484375,
0.143310546875,
0.50341796875,
0.143310546875
],
[
0.654296875,
0.1331787109375,
0.7060546875,
0.1331787109375,
0.7060546875,
0.14013671875,
0.654296875,
0.14013671875
],
[
0.72216796875,
0.1300048828125,
0.736328125,
0.1351318359375,
0.7294921875,
0.1458740234375,
0.7158203125,
0.14013671875
],
[
0.775390625,
0.1331787109375,
0.8095703125,
0.1331787109375,
0.8095703125,
0.1427001953125,
0.775390625,
0.1427001953125
],
[
0.443603515625,
0.1351318359375,
0.463134765625,
0.1337890625,
0.463134765625,
0.1383056640625,
0.443603515625,
0.1395263671875
],
[
0.28759765625,
0.1351318359375,
0.293212890625,
0.1351318359375,
0.293212890625,
0.14013671875,
0.28759765625,
0.14013671875
],
[
0.576171875,
0.1351318359375,
0.5888671875,
0.1351318359375,
0.5888671875,
0.1383056640625,
0.576171875,
0.1383056640625
],
[
0.6044921875,
0.1351318359375,
0.61767578125,
0.1287841796875,
0.62841796875,
0.1427001953125,
0.615234375,
0.1483154296875
],
[
0.34228515625,
0.1363525390625,
0.381591796875,
0.1363525390625,
0.381591796875,
0.1395263671875,
0.34228515625,
0.1395263671875
],
[
0.21728515625,
0.1363525390625,
0.2279052734375,
0.1363525390625,
0.2279052734375,
0.1395263671875,
0.21728515625,
0.1395263671875
],
[
0.4345703125,
0.1363525390625,
0.4453125,
0.1363525390625,
0.4453125,
0.1395263671875,
0.4345703125,
0.1395263671875
],
[
0.53759765625,
0.1363525390625,
0.576171875,
0.1363525390625,
0.576171875,
0.1395263671875,
0.53759765625,
0.1395263671875
],
[
0.7587890625,
0.1363525390625,
0.77685546875,
0.1363525390625,
0.77685546875,
0.14013671875,
0.7587890625,
0.14013671875
],
[
0.396240234375,
0.1395263671875,
0.404296875,
0.1395263671875,
0.404296875,
0.14453125,
0.396240234375,
0.14453125
],
[
0.181396484375,
0.1383056640625,
0.191162109375,
0.1383056640625,
0.191162109375,
0.1458740234375,
0.181396484375,
0.1458740234375
],
[
0.2059326171875,
0.143310546875,
0.268798828125,
0.1458740234375,
0.268798828125,
0.1572265625,
0.2059326171875,
0.1546630859375
],
[
0.310546875,
0.1458740234375,
0.3798828125,
0.1458740234375,
0.3798828125,
0.1558837890625,
0.310546875,
0.1558837890625
],
[
0.423095703125,
0.1458740234375,
0.490234375,
0.1458740234375,
0.490234375,
0.1558837890625,
0.423095703125,
0.1558837890625
],
[
0.529296875,
0.1458740234375,
0.59326171875,
0.1458740234375,
0.59326171875,
0.1558837890625,
0.529296875,
0.1558837890625
],
[
0.63818359375,
0.1458740234375,
0.70751953125,
0.1458740234375,
0.70751953125,
0.1572265625,
0.63818359375,
0.1572265625
],
[
0.7490234375,
0.146484375,
0.8095703125,
0.146484375,
0.8095703125,
0.1572265625,
0.7490234375,
0.1572265625
],
[
0.176513671875,
0.1622314453125,
0.404296875,
0.1622314453125,
0.404296875,
0.175537109375,
0.176513671875,
0.175537109375
],
[
0.416748046875,
0.1622314453125,
0.47216796875,
0.1622314453125,
0.47216796875,
0.173583984375,
0.416748046875,
0.173583984375
],
[
0.5009765625,
0.1634521484375,
0.7236328125,
0.1634521484375,
0.7236328125,
0.173583984375,
0.5009765625,
0.173583984375
],
[
0.74609375,
0.1634521484375,
0.7939453125,
0.1634521484375,
0.7939453125,
0.173583984375,
0.74609375,
0.173583984375
],
[
0.72119140625,
0.1654052734375,
0.7255859375,
0.1654052734375,
0.7255859375,
0.17041015625,
0.72119140625,
0.17041015625
],
[
0.398681640625,
0.1641845703125,
0.419189453125,
0.1641845703125,
0.419189453125,
0.1717529296875,
0.398681640625,
0.1717529296875
],
[
0.48193359375,
0.1666259765625,
0.494384765625,
0.1666259765625,
0.494384765625,
0.17041015625,
0.48193359375,
0.17041015625
],
[
0.73193359375,
0.1654052734375,
0.73876953125,
0.1654052734375,
0.73876953125,
0.17041015625,
0.73193359375,
0.17041015625
],
[
0.1748046875,
0.18115234375,
0.82275390625,
0.18115234375,
0.82275390625,
0.1944580078125,
0.1748046875,
0.1944580078125
],
[
0.1748046875,
0.1932373046875,
0.82275390625,
0.1932373046875,
0.82275390625,
0.20703125,
0.1748046875,
0.20703125
],
[
0.1748046875,
0.205810546875,
0.76953125,
0.205810546875,
0.76953125,
0.2197265625,
0.1748046875,
0.2197265625
],
[
0.176513671875,
0.23291015625,
0.82421875,
0.23291015625,
0.82421875,
0.246826171875,
0.176513671875,
0.246826171875
],
[
0.176513671875,
0.246826171875,
0.82275390625,
0.246826171875,
0.82275390625,
0.260009765625,
0.176513671875,
0.260009765625
],
[
0.17724609375,
0.261962890625,
0.82177734375,
0.261962890625,
0.82177734375,
0.272705078125,
0.17724609375,
0.272705078125
],
[
0.1732177734375,
0.2734375,
0.82275390625,
0.274658203125,
0.82275390625,
0.2890625,
0.1732177734375,
0.28857421875
],
[
0.191162109375,
0.28857421875,
0.82275390625,
0.28857421875,
0.82275390625,
0.302978515625,
0.191162109375,
0.302978515625
],
[
0.176513671875,
0.3017578125,
0.82421875,
0.3017578125,
0.82421875,
0.31494140625,
0.176513671875,
0.31494140625
],
[
0.176513671875,
0.31640625,
0.6396484375,
0.31640625,
0.6396484375,
0.326904296875,
0.176513671875,
0.326904296875
],
[
0.17724609375,
0.337158203125,
0.82275390625,
0.337158203125,
0.82275390625,
0.35107421875,
0.17724609375,
0.35107421875
],
[
0.176513671875,
0.35107421875,
0.82177734375,
0.35107421875,
0.82177734375,
0.3642578125,
0.176513671875,
0.3642578125
],
[
0.176513671875,
0.365478515625,
0.82275390625,
0.365478515625,
0.82275390625,
0.37890625,
0.176513671875,
0.37890625
],
[
0.176513671875,
0.380126953125,
0.82275390625,
0.380126953125,
0.82275390625,
0.393310546875,
0.176513671875,
0.393310546875
],
[
0.176513671875,
0.393310546875,
0.35302734375,
0.393310546875,
0.35302734375,
0.404052734375,
0.176513671875,
0.404052734375
],
[
0.176513671875,
0.4140625,
0.82275390625,
0.4140625,
0.82275390625,
0.427978515625,
0.176513671875,
0.427978515625
],
[
0.176513671875,
0.4287109375,
0.82275390625,
0.4287109375,
0.82275390625,
0.442626953125,
0.176513671875,
0.442626953125
],
[
0.1829833984375,
0.4462890625,
0.1895751953125,
0.4462890625,
0.1895751953125,
0.45068359375,
0.1829833984375,
0.45068359375
],
[
0.1854248046875,
0.442626953125,
0.82275390625,
0.442626953125,
0.82275390625,
0.455810546875,
0.1854248046875,
0.455810546875
],
[
0.176513671875,
0.455810546875,
0.82275390625,
0.455810546875,
0.82275390625,
0.47021484375,
0.176513671875,
0.47021484375
],
[
0.176513671875,
0.4697265625,
0.3798828125,
0.4697265625,
0.3798828125,
0.48291015625,
0.176513671875,
0.48291015625
],
[
0.3857421875,
0.4697265625,
0.82275390625,
0.4697265625,
0.82275390625,
0.48291015625,
0.3857421875,
0.48291015625
],
[
0.17724609375,
0.48486328125,
0.6005859375,
0.48486328125,
0.6005859375,
0.49560546875,
0.17724609375,
0.49560546875
],
[
0.176513671875,
0.5048828125,
0.82421875,
0.5048828125,
0.82421875,
0.51806640625,
0.176513671875,
0.51806640625
],
[
0.176513671875,
0.51806640625,
0.82177734375,
0.51806640625,
0.82177734375,
0.5322265625,
0.176513671875,
0.5322265625
],
[
0.176513671875,
0.53271484375,
0.70361328125,
0.53271484375,
0.70361328125,
0.546875,
0.176513671875,
0.546875
],
[
0.73876953125,
0.5341796875,
0.8203125,
0.5341796875,
0.8203125,
0.54443359375,
0.73876953125,
0.54443359375
],
[
0.1748046875,
0.54541015625,
0.82177734375,
0.54443359375,
0.82177734375,
0.5595703125,
0.1748046875,
0.56005859375
],
[
0.17724609375,
0.56005859375,
0.82177734375,
0.56005859375,
0.82177734375,
0.57373046875,
0.17724609375,
0.57373046875
],
[
0.176513671875,
0.57470703125,
0.82177734375,
0.57470703125,
0.82177734375,
0.58837890625,
0.176513671875,
0.58837890625
],
[
0.1854248046875,
0.58837890625,
0.82275390625,
0.58837890625,
0.82275390625,
0.6015625,
0.1854248046875,
0.6015625
],
[
0.176513671875,
0.6015625,
0.82275390625,
0.6015625,
0.82275390625,
0.61572265625,
0.176513671875,
0.61572265625
],
[
0.176513671875,
0.6162109375,
0.82177734375,
0.6162109375,
0.82177734375,
0.6298828125,
0.176513671875,
0.6298828125
],
[
0.1748046875,
0.62890625,
0.82275390625,
0.62890625,
0.82275390625,
0.642578125,
0.1748046875,
0.642578125
],
[
0.17724609375,
0.64453125,
0.2900390625,
0.64453125,
0.2900390625,
0.65478515625,
0.17724609375,
0.65478515625
],
[
0.1732177734375,
0.662109375,
0.826171875,
0.6611328125,
0.826171875,
0.6787109375,
0.1732177734375,
0.6796875
],
[
0.176513671875,
0.6787109375,
0.82177734375,
0.6787109375,
0.82177734375,
0.6923828125,
0.176513671875,
0.6923828125
],
[
0.176513671875,
0.6923828125,
0.82275390625,
0.6923828125,
0.82275390625,
0.70556640625,
0.176513671875,
0.70556640625
],
[
0.1748046875,
0.70556640625,
0.82275390625,
0.70556640625,
0.82275390625,
0.7197265625,
0.1748046875,
0.7197265625
],
[
0.176513671875,
0.72265625,
0.191162109375,
0.72265625,
0.191162109375,
0.73291015625,
0.176513671875,
0.73291015625
],
[
0.1748046875,
0.7548828125,
0.2091064453125,
0.7548828125,
0.2091064453125,
0.7666015625,
0.1748046875,
0.7666015625
],
[
0.2059326171875,
0.75390625,
0.81884765625,
0.755859375,
0.81884765625,
0.76953125,
0.2059326171875,
0.767578125
],
[
0.1748046875,
0.7841796875,
0.82275390625,
0.78515625,
0.82275390625,
0.7998046875,
0.1748046875,
0.798828125
],
[
0.176513671875,
0.7998046875,
0.82177734375,
0.7998046875,
0.82177734375,
0.81298828125,
0.176513671875,
0.81298828125
],
[
0.17724609375,
0.81494140625,
0.346435546875,
0.81494140625,
0.346435546875,
0.82568359375,
0.17724609375,
0.82568359375
],
[
0.17724609375,
0.8359375,
0.82177734375,
0.8359375,
0.82177734375,
0.8466796875,
0.17724609375,
0.8466796875
],
[
0.17724609375,
0.85107421875,
0.82177734375,
0.85107421875,
0.82177734375,
0.861328125,
0.17724609375,
0.861328125
],
[
0.1953125,
0.8720703125,
0.810546875,
0.87255859375,
0.810546875,
0.88720703125,
0.1953125,
0.88623046875
],
[
0.1953125,
0.88525390625,
0.82421875,
0.88623046875,
0.82421875,
0.90087890625,
0.1953125,
0.8994140625
],
[
0.1748046875,
0.8994140625,
0.82275390625,
0.8994140625,
0.82275390625,
0.91357421875,
0.1748046875,
0.91357421875
],
[
0.176513671875,
0.91357421875,
0.233642578125,
0.91357421875,
0.233642578125,
0.923828125,
0.176513671875,
0.923828125
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2022",
"5",
"",
"85",
"86",
"D",
"3",
"REMeta.Tost",
"",
"Meta-Test",
"",
"0",
"",
"",
"otsTartinn",
"",
"",
"",
"",
":",
"30",
"1n510152on5",
"Innerlterations",
"Inner10e1520253",
"inner10e152025",
"Innerlterations",
"Innerlterations",
"MinilmageNet, R TieredlmageNet, R",
"CUB,R",
"MinilmageNet,CTieredlmageNet,C",
"CUB,C",
"",
"",
"",
"",
"Figure 3: We plot the change of the five-way one-shot classification accuracy (on the query set), averaged over",
"10,000 tasks sampled from either the meta-training (red) or meta-testing classes (blue), along with the process",
"of inner loop updates, using the best model initialization learned by MAML. C: ConvNet; R: ResNet.",
"然而,在我们的实验中,我们观察到探索更大的M1至关重要。具体来说,我们考虑",
"ME[1,20]和αE[10-4,100]。我们使用ResNet和ConvNet主千在Figure22中的三个数据",
"集上绘制了五路一次性任务的元测试准确性。我们发现MAML实现了更高和更稳定的精度",
"(w。r。t。学习率)当M较大时,e.g.大于10。具体来说,对于带有ResNet的MiniImageNet",
"使用M=15可获得最高精度64.42%,高于带有M=5的62.90%;对于带有ResNet的",
"分层ImageNet,使用M=15可获得最高精度65.72%,高于带有59.08%。正如在section6",
"中看到的那样,使用更大的M的这些结果已经接近最先进的性能",
"为了分析为什么MAML需要一个大的M,我们在Figure3中绘制了分类精度的变化以及内",
"部循环更新。具体来说,我们首先使用通过元验证选择的M值对每对数据集和骨干网进行",
"元训练。然后,我们通过使用支持集执行0~30内部循环更新并报告查询集的准确性,分",
"析从元训练和元测试类采样的少数任务的学习模型初始化。我们在AppendixD中对五向五",
"射任务进行了相同的实验",
"我们有两个观察结果。首先,通常,我们对几次射击任务执行的内部循环更新越多,准确性",
"就越高,无论它是元训练还是元测试任务。这种趋势与(Finnetal.,2017)中的少量回归研究",
"一",
"一致。其次,在任何内部循环更新之前,学习的初始化θ的~20%平均精度为i.e.,该精度",
"通过随机分类。有趣的是,这不仅适用于元测试任务,也适用于元训练任务,即使学习的初",
"始化确实包含分类头(wc",
"。这解释了为什么需要更大数量的内循环梯度步骤:学习的",
"初始化模型必须从执行随机预测更新到实现更高的分类精度",
"我们将第二个观察结果归因于创建少量任务时的随机类标签分配(cf。subsection2.1和",
"subsection2.3),使得创建的任务互斥(Yinetal.,2020)一i.e.,单个模型无法在内循环优化之",
"前一次性解决。具体来说,对于一组特定的N语义类(e.g.,“狗”,“猫”,",
"“鸟”)的",
"少量任务,从MAML的角度来看,这种随机性可以将其转变为不同的任务。例如,类“狗”",
"可以在当前任务中分配给c=1并与w1配对,但在再次采样时分配给c=2并与W2配对",
"对于五向任务,可以通过120(i.e.,5!)不同的排列将同一组五个语义类分配给(1,::,5}",
"因此,如果我们直接应用MAML的学习初始化而不进行内部循环更新,则同一组语义类",
"(但以不同的排列)的少数任务的准确性可能会相互抵消。(详情请见subsectionC.1。)此外",
"由于随机性也发生在元训练中,因此不鼓励每个wc学习针对任何语义类E(Rajendranetal.",
"2020;Yaoetal.,2021;Yinetal.,2020)的特定知识,因此即使在元训练任务上也能在机会级",
"别上产生准确性",
"相关工作。MAML的几个后续工作,e.g.,(Hsuetal.,2019),在元训练(e.g,M=1~5)",
"和元测试(e.g.,M=20~50)中使用不同数量的内循环步骤。为了保持一致性,我们使",
"M在两个阶段相等,并详细分析了为什么MAML需要大的M值。在超越少射学习的大规",
"模任务上,Shinetal.(2021)还发现了更多内循环步骤的必要性,但从与我们不同的角度来",
"看",
"4",
"MAMLIS SENSITIVETOTHELABELPERMUTATIONSINMETA-TESTING",
"类标签分配中的随机性提出了一个有趣的问题:不同的排列是否会导致内循环更新后的元",
"测试准确性不同?更具体地说,如果【w}-1与N类的配对方式不同,内循环后更新的模",
"型的表现会有所不同吗?",
"为了回答这个问题,我们进行了详细的实验:算法1总结了该过程。我们使用ResNet主于",
"在MiniImageNet和TieredImageNet上专注于五路一/五拍摄任务。对于每个任务类型和数",
"'We reiterate that for simplicity and consistency we apply the same M in meta-training and meta-testing",
"2We tune hyper-parameters on the meta-validation set and find that the accuracy there reflects the meta-",
"testing accuracy well. We show the meta-testing accuracy here simply for a direct comparison to results in the",
"literature.",
"5"
] |
{
"arxiv_id": "2106.16245",
"language": "zh",
"page_idx": 4
}
|
||
2010.03604-zh-0
|
2010.03604-zh-0.jpg
|
SRLGRN: 语义角色标记图形推理网络
Chen Zheng
Michigan State University
zhengc$12@$msu.edu
Parisa Kordjamshidi
Michigan State University
kordjams@ msu. edu
## $\operatorname{Abstract}$
This work deals with the challenge of learning and reasoning over multi-hop question answering (QA). We propose a graph reasoning network based on the semantic structure of the sentences to learn cross paragraph reasoning paths and find the supporting facts and the answer jointly. The proposed graph is a heterogeneous document-level graph that contains nodes of type sentence (question, title, and other sentences), and semantic role labeling subgraphs per sentence that contain arguments as nodes and predicates as edges. Incorporating the argument types, the argument phrases, and the semantics of the edges originated from SRL predicates into the graph encoder helps in fnding and also the explainability of the reasoning paths. Our proposed approach shows competitive performance on the HotpotQA distractor setting benchmark compared to the recent state-of-the-art models.
### 1 Introduction
对自然语言的理解和推理在机器阅读理解(MRC)和问答(QA)等人工智能任务中起着重要作用。近年来提出了几个 QA 任务来评估机器的语言理解能力 (Rajpurkar et al., 2016; Joshi et al., 2017; Dunn et al., 2017)。这些任务是单跳 QA 任务,考虑只回答一个段落的问题。许多现有的神经模型依赖于学习上下文和类型匹配启发式算法 (Weissenborn et al.,2017)。那些很少构建推理模块,但在单跳 QA 任务上实现有希望的性能。主要原因是这些单跳 QA 任务缺乏对推理能力的现实评估,因为它们不需要复杂的推理。
最近提出了多跳 QA 任务,例如 HotpotQA$\underline{\mathrm{E}}($Yang et al.,2018)和 WikiHop$\underline{\mathrm{E}}$ (Welbl et al., 2018) , 以评估多跳推理能力。HotpotQA 任务提供注释以评估文档级问题回答并查找支持事实。为支持事实提供监督提高
<FigureHere>
Figure 1: An example of HotpotQA data.
了预测答案的可解释性,因为它们澄清了跨段落推理路径。由于需要在多个文档上进行多跳推理,并且具有很强的干扰性,因此多跳 QA 任务具有挑战性。图 1 显示了一个 HotpotQA 示例。给定一个问题和 10 个段落,只有段落1 和段落 2 是相关的。段落 1 中的第二句和段落 2 中的第一句是支持事实。答案是“吉朗足球俱乐部”
HotpotQA 任务中的主要研究更喜欢使用阅读理解神经模型E$( Min et al. , 2019; Zhong$ et al., 2019; Yang et al., 2018)。首先,他们使用神经检索器模型来查找问题的相关段落。之后,将神经阅读器模型应用于所选段落以进行答案预测。尽管这些方法获得了有希望的结果,但评估多跳推理能力的性能并不令人满意 (Min et al., 2019)
为了解决多跳推理问题,一些模型尝试使用 Spacy 1 或 StanfordCoreNLPE(Manning et al.,2014) 构造实体图,然后应用图模型来推断从问题到答案的实体路径E$( Chen et al.$ 2019; Xiao et al., 2019; Clark and Gardner, 2018; Fang et al.,2019)。然而,这些模型忽
$^{1}$https://spacy.io
|
[
[
0.295654296875,
0.08489990234375,
0.705078125,
0.08489990234375,
0.705078125,
0.09979248046875,
0.295654296875,
0.09979248046875
],
[
0.2822265625,
0.1395263671875,
0.391357421875,
0.142578125,
0.391357421875,
0.157958984375,
0.2822265625,
0.155029296875
],
[
0.580078125,
0.142578125,
0.75732421875,
0.142578125,
0.75732421875,
0.1561279296875,
0.580078125,
0.1561279296875
],
[
0.22412109375,
0.1591796875,
0.44921875,
0.1591796875,
0.44921875,
0.17333984375,
0.22412109375,
0.17333984375
],
[
0.55517578125,
0.157958984375,
0.779296875,
0.157958984375,
0.779296875,
0.1728515625,
0.55517578125,
0.1728515625
],
[
0.25439453125,
0.17578125,
0.420654296875,
0.17578125,
0.420654296875,
0.190673828125,
0.25439453125,
0.190673828125
],
[
0.58447265625,
0.17578125,
0.75244140625,
0.17578125,
0.75244140625,
0.189453125,
0.58447265625,
0.189453125
],
[
0.264404296875,
0.26416015625,
0.343505859375,
0.26416015625,
0.343505859375,
0.279052734375,
0.264404296875,
0.279052734375
],
[
0.5439453125,
0.265380859375,
0.79443359375,
0.265380859375,
0.79443359375,
0.275634765625,
0.5439453125,
0.275634765625
],
[
0.587890625,
0.276611328125,
0.68408203125,
0.276611328125,
0.68408203125,
0.283935546875,
0.587890625,
0.283935546875
],
[
0.1485595703125,
0.289306640625,
0.459228515625,
0.289306640625,
0.459228515625,
0.302734375,
0.1485595703125,
0.302734375
],
[
0.54833984375,
0.29150390625,
0.75244140625,
0.289306640625,
0.75244140625,
0.302734375,
0.54833984375,
0.3046875
],
[
0.14697265625,
0.303955078125,
0.4609375,
0.303955078125,
0.4609375,
0.317626953125,
0.14697265625,
0.317626953125
],
[
0.55322265625,
0.3046875,
0.56494140625,
0.3046875,
0.56494140625,
0.30810546875,
0.55322265625,
0.30810546875
],
[
0.57861328125,
0.3046875,
0.7119140625,
0.3046875,
0.7119140625,
0.308837890625,
0.57861328125,
0.308837890625
],
[
0.55322265625,
0.312255859375,
0.60693359375,
0.312255859375,
0.60693359375,
0.31640625,
0.55322265625,
0.31640625
],
[
0.14697265625,
0.318359375,
0.459228515625,
0.318359375,
0.459228515625,
0.33203125,
0.14697265625,
0.33203125
],
[
0.580078125,
0.318359375,
0.74462890625,
0.318359375,
0.74462890625,
0.325927734375,
0.580078125,
0.325927734375
],
[
0.61865234375,
0.3134765625,
0.68408203125,
0.3134765625,
0.68408203125,
0.31640625,
0.61865234375,
0.31640625
],
[
0.145263671875,
0.333251953125,
0.4609375,
0.33203125,
0.4609375,
0.345703125,
0.145263671875,
0.3466796875
],
[
0.5517578125,
0.341552734375,
0.57861328125,
0.341552734375,
0.57861328125,
0.3486328125,
0.5517578125,
0.3486328125
],
[
0.57421875,
0.339111328125,
0.71728515625,
0.339111328125,
0.71728515625,
0.349853515625,
0.57421875,
0.349853515625
],
[
0.145263671875,
0.3466796875,
0.4609375,
0.3466796875,
0.4609375,
0.35986328125,
0.145263671875,
0.35986328125
],
[
0.62109375,
0.349853515625,
0.78076171875,
0.349853515625,
0.78076171875,
0.35693359375,
0.62109375,
0.35693359375
],
[
0.5517578125,
0.355712890625,
0.611328125,
0.355712890625,
0.611328125,
0.371826171875,
0.5517578125,
0.371826171875
],
[
0.78515625,
0.3515625,
0.81005859375,
0.3515625,
0.81005859375,
0.355712890625,
0.78515625,
0.355712890625
],
[
0.14697265625,
0.35986328125,
0.459228515625,
0.35986328125,
0.459228515625,
0.37353515625,
0.14697265625,
0.37353515625
],
[
0.6767578125,
0.359375,
0.765625,
0.359375,
0.765625,
0.3623046875,
0.6767578125,
0.3623046875
],
[
0.14697265625,
0.3759765625,
0.459228515625,
0.3759765625,
0.459228515625,
0.3896484375,
0.14697265625,
0.3896484375
],
[
0.5517578125,
0.372314453125,
0.63232421875,
0.372314453125,
0.63232421875,
0.380126953125,
0.5517578125,
0.380126953125
],
[
0.14697265625,
0.3896484375,
0.4609375,
0.3896484375,
0.4609375,
0.40380859375,
0.14697265625,
0.40380859375
],
[
0.14697265625,
0.40380859375,
0.462646484375,
0.40380859375,
0.462646484375,
0.41748046875,
0.14697265625,
0.41748046875
],
[
0.646484375,
0.40673828125,
0.67822265625,
0.40673828125,
0.67822265625,
0.410888671875,
0.646484375,
0.410888671875
],
[
0.736328125,
0.40673828125,
0.75830078125,
0.40673828125,
0.75830078125,
0.410400390625,
0.736328125,
0.410400390625
],
[
0.14697265625,
0.418701171875,
0.459228515625,
0.418701171875,
0.459228515625,
0.431640625,
0.14697265625,
0.431640625
],
[
0.5517578125,
0.410400390625,
0.8369140625,
0.410888671875,
0.8369140625,
0.421630859375,
0.5517578125,
0.42041015625
],
[
0.5498046875,
0.419189453125,
0.8134765625,
0.419189453125,
0.8134765625,
0.429931640625,
0.5498046875,
0.429931640625
],
[
0.14697265625,
0.431640625,
0.459228515625,
0.431640625,
0.459228515625,
0.4453125,
0.14697265625,
0.4453125
],
[
0.5517578125,
0.440673828125,
0.7197265625,
0.440673828125,
0.7197265625,
0.45068359375,
0.5517578125,
0.45068359375
],
[
0.14697265625,
0.446533203125,
0.4609375,
0.446533203125,
0.4609375,
0.460205078125,
0.14697265625,
0.460205078125
],
[
0.54833984375,
0.44775390625,
0.7734375,
0.44775390625,
0.7734375,
0.46142578125,
0.54833984375,
0.46142578125
],
[
0.14697265625,
0.460205078125,
0.459228515625,
0.460205078125,
0.459228515625,
0.473876953125,
0.14697265625,
0.473876953125
],
[
0.61865234375,
0.4560546875,
0.7255859375,
0.457763671875,
0.7255859375,
0.468505859375,
0.61865234375,
0.466064453125
],
[
0.1485595703125,
0.476806640625,
0.459228515625,
0.476806640625,
0.459228515625,
0.48681640625,
0.1485595703125,
0.48681640625
],
[
0.145263671875,
0.488037109375,
0.4609375,
0.48681640625,
0.4609375,
0.501953125,
0.145263671875,
0.5029296875
],
[
0.5458984375,
0.485107421875,
0.8505859375,
0.485107421875,
0.8505859375,
0.495361328125,
0.5458984375,
0.495361328125
],
[
0.14697265625,
0.5029296875,
0.459228515625,
0.5029296875,
0.459228515625,
0.5166015625,
0.14697265625,
0.5166015625
],
[
0.14697265625,
0.51708984375,
0.459228515625,
0.51708984375,
0.459228515625,
0.53076171875,
0.14697265625,
0.53076171875
],
[
0.51708984375,
0.525390625,
0.8818359375,
0.525390625,
0.8818359375,
0.54052734375,
0.51708984375,
0.54052734375
],
[
0.14697265625,
0.5322265625,
0.45751953125,
0.5322265625,
0.45751953125,
0.5458984375,
0.14697265625,
0.5458984375
],
[
0.145263671875,
0.5458984375,
0.459228515625,
0.54443359375,
0.459228515625,
0.55859375,
0.145263671875,
0.56005859375
],
[
0.5146484375,
0.54150390625,
0.8818359375,
0.54150390625,
0.8818359375,
0.5546875,
0.5146484375,
0.5546875
],
[
0.14697265625,
0.56005859375,
0.459228515625,
0.56005859375,
0.459228515625,
0.57373046875,
0.14697265625,
0.57373046875
],
[
0.51708984375,
0.56005859375,
0.880859375,
0.56005859375,
0.880859375,
0.57080078125,
0.51708984375,
0.57080078125
],
[
0.1485595703125,
0.576171875,
0.45751953125,
0.576171875,
0.45751953125,
0.5859375,
0.1485595703125,
0.5859375
],
[
0.5146484375,
0.57373046875,
0.8818359375,
0.57373046875,
0.8818359375,
0.58740234375,
0.5146484375,
0.58740234375
],
[
0.145263671875,
0.58837890625,
0.32421875,
0.58837890625,
0.32421875,
0.6015625,
0.145263671875,
0.6015625
],
[
0.515625,
0.59033203125,
0.88330078125,
0.59033203125,
0.88330078125,
0.60400390625,
0.515625,
0.60400390625
],
[
0.151123046875,
0.6123046875,
0.26611328125,
0.61328125,
0.26611328125,
0.62744140625,
0.151123046875,
0.626953125
],
[
0.5146484375,
0.60693359375,
0.8818359375,
0.60693359375,
0.8818359375,
0.62060546875,
0.5146484375,
0.62060546875
],
[
0.12005615234375,
0.6142578125,
0.1351318359375,
0.6142578125,
0.1351318359375,
0.62451171875,
0.12005615234375,
0.62451171875
],
[
0.5146484375,
0.62158203125,
0.8818359375,
0.62255859375,
0.8818359375,
0.63720703125,
0.5146484375,
0.6357421875
],
[
0.118408203125,
0.6357421875,
0.48779296875,
0.6357421875,
0.48779296875,
0.6494140625,
0.118408203125,
0.6494140625
],
[
0.51123046875,
0.6396484375,
0.599609375,
0.63720703125,
0.599609375,
0.65185546875,
0.51123046875,
0.65380859375
],
[
0.118408203125,
0.65283203125,
0.48779296875,
0.65283203125,
0.48779296875,
0.66650390625,
0.118408203125,
0.66650390625
],
[
0.52880859375,
0.65625,
0.8818359375,
0.65478515625,
0.8818359375,
0.66943359375,
0.52880859375,
0.67041015625
],
[
0.12005615234375,
0.66943359375,
0.48779296875,
0.66943359375,
0.48779296875,
0.68310546875,
0.12005615234375,
0.68310546875
],
[
0.51318359375,
0.66943359375,
0.884765625,
0.67041015625,
0.884765625,
0.6884765625,
0.51318359375,
0.68701171875
],
[
0.12005615234375,
0.68603515625,
0.48779296875,
0.68603515625,
0.48779296875,
0.69970703125,
0.12005615234375,
0.69970703125
],
[
0.51318359375,
0.6884765625,
0.8818359375,
0.6884765625,
0.8818359375,
0.703125,
0.51318359375,
0.703125
],
[
0.12005615234375,
0.70166015625,
0.478515625,
0.70166015625,
0.478515625,
0.71533203125,
0.12005615234375,
0.71533203125
],
[
0.474365234375,
0.70703125,
0.48779296875,
0.70703125,
0.48779296875,
0.71337890625,
0.474365234375,
0.71337890625
],
[
0.515625,
0.70361328125,
0.8818359375,
0.70361328125,
0.8818359375,
0.71875,
0.515625,
0.71875
],
[
0.118408203125,
0.71630859375,
0.48779296875,
0.71728515625,
0.48779296875,
0.732421875,
0.118408203125,
0.73095703125
],
[
0.51318359375,
0.71875,
0.8818359375,
0.72021484375,
0.8818359375,
0.7353515625,
0.51318359375,
0.73291015625
],
[
0.12005615234375,
0.73388671875,
0.486083984375,
0.73388671875,
0.486083984375,
0.74755859375,
0.12005615234375,
0.74755859375
],
[
0.51318359375,
0.7353515625,
0.880859375,
0.7353515625,
0.880859375,
0.7490234375,
0.51318359375,
0.7490234375
],
[
0.1234130859375,
0.75048828125,
0.489501953125,
0.75048828125,
0.489501953125,
0.76416015625,
0.1234130859375,
0.76416015625
],
[
0.5146484375,
0.7529296875,
0.88330078125,
0.7529296875,
0.88330078125,
0.7666015625,
0.5146484375,
0.7666015625
],
[
0.12005615234375,
0.7666015625,
0.48779296875,
0.7666015625,
0.48779296875,
0.77978515625,
0.12005615234375,
0.77978515625
],
[
0.515625,
0.77099609375,
0.5498046875,
0.77099609375,
0.5498046875,
0.7822265625,
0.515625,
0.7822265625
],
[
0.54248046875,
0.7685546875,
0.68701171875,
0.7685546875,
0.68701171875,
0.7822265625,
0.54248046875,
0.7822265625
],
[
0.118408203125,
0.78076171875,
0.486083984375,
0.78076171875,
0.486083984375,
0.79443359375,
0.118408203125,
0.79443359375
],
[
0.53564453125,
0.7861328125,
0.744140625,
0.7861328125,
0.744140625,
0.7998046875,
0.53564453125,
0.7998046875
],
[
0.744140625,
0.7861328125,
0.88330078125,
0.7861328125,
0.88330078125,
0.7998046875,
0.744140625,
0.7998046875
],
[
0.12005615234375,
0.79736328125,
0.48779296875,
0.79736328125,
0.48779296875,
0.8125,
0.12005615234375,
0.8125
],
[
0.515625,
0.8017578125,
0.88330078125,
0.8017578125,
0.88330078125,
0.81640625,
0.515625,
0.81640625
],
[
0.12005615234375,
0.81396484375,
0.4013671875,
0.81396484375,
0.4013671875,
0.82763671875,
0.12005615234375,
0.82763671875
],
[
0.51318359375,
0.818359375,
0.8818359375,
0.818359375,
0.8818359375,
0.83203125,
0.51318359375,
0.83203125
],
[
0.1376953125,
0.83056640625,
0.489501953125,
0.83056640625,
0.489501953125,
0.84423828125,
0.1376953125,
0.84423828125
],
[
0.51318359375,
0.83447265625,
0.880859375,
0.83447265625,
0.880859375,
0.84716796875,
0.51318359375,
0.84716796875
],
[
0.118408203125,
0.8466796875,
0.489501953125,
0.8466796875,
0.489501953125,
0.86083984375,
0.118408203125,
0.86083984375
],
[
0.5146484375,
0.85107421875,
0.8818359375,
0.85107421875,
0.8818359375,
0.8642578125,
0.5146484375,
0.8642578125
],
[
0.1175537109375,
0.86083984375,
0.489501953125,
0.8623046875,
0.489501953125,
0.876953125,
0.1175537109375,
0.8759765625
],
[
0.51318359375,
0.865234375,
0.8818359375,
0.8642578125,
0.8818359375,
0.87890625,
0.51318359375,
0.8798828125
],
[
0.12005615234375,
0.87890625,
0.48779296875,
0.87890625,
0.48779296875,
0.892578125,
0.12005615234375,
0.892578125
],
[
0.12005615234375,
0.8935546875,
0.48779296875,
0.89453125,
0.48779296875,
0.9091796875,
0.12005615234375,
0.90771484375
],
[
0.5341796875,
0.8935546875,
0.654296875,
0.896484375,
0.654296875,
0.912109375,
0.5341796875,
0.9091796875
]
] |
[
"SRLGRN:语义角色标记图形推理网络",
"Chen Zheng",
"Parisa Kordjamshidi",
"Michigan State University",
"Michigan State University",
"zhengc12@msu.edu",
"kordjams@msu.edu",
"Abstract",
"Question 430:What team did the recipient of the",
"lowMedalplayfor",
"This work deals with the challenge of learn-",
"Paragraph 1:Title:2007 Brownlow Medal",
"ing and reasoning over multi-hop ques-",
"1",
"e2007BrnwnlowMedalwas",
"CAFlahome",
"tion answering (QA). We propose a graph",
"nmy Bartel won themedal bypolling",
"awaSeaOT",
"reasoning network based on the semantic",
"Parag",
"graph 2: Title: \"Jimmy Bartel\".",
"structure of the sentences to learn cross",
"Bartel (born4December 1983)is :",
"Australianer",
"form",
"paragraph reasoning paths and find the",
"uhnnauanrthe",
"supporting facts and the answer jointly.",
"1:\"Autility,1.87",
"The proposed graph is a heterogeneous",
"document-level graph that contains nodes",
"2005",
"",
"of type sentence (question, title, and other",
"O:\"The 2005 Brownlow Medal was the 78th year the award.",
"I: \"Ben Cousins of the West Coast Eagles won the medal",
"sentences), and semantic role labeling sub-",
"Answer:Geelong Football Club*",
"graphs per sentence that contain argu-",
"Support fact: [2007 Brownlow Medal\",1]",
"ments as nodes and predicates as edges.",
"\"JimmyBartel\",",
"Incorporating the argument types,the ar",
"gument phrases, and the semantics of the",
"Figure l:An exampleofHotpotQA data.",
"edges originated from SRL predicates into",
"the graph encoder helps in finding and also",
"了预测答案的可解释性,因为它们澄清了跨段",
"the explainability of the reasoning paths.",
"Our proposed approach shows competitive",
"落推理路径。由于需要在多个文档上进行多跳",
"performance on the HotpotQA distractor",
"推理,并且具有很强的干扰性,因此多跳QA",
"settingbenchmarkcomparedtotherecent",
"任务具有挑战性。图1显示了一个HotpotQA",
"state-of-the-art models.",
"示例。给定一个问题和10个段落,只有段落",
"Introduction",
"1和段落2是相关的。段落1中的第二句和段",
"1",
"落2中的第一句是支持事实。答案是“吉朗足",
"对自然语言的理解和推理在机器阅读理解",
"球俱乐部”",
"(MRC)和问答(QA)等人工智能任务中起",
"HotpotQA任务中的主要研究更喜欢使用",
"着重要作用。近年来提出了几个QA任务来",
"阅读理解神经模型E(Minetal.,2019;Zhong",
"评估机器的语言理解能力(Rajipurkaretal.,",
"etal.,2019;Yangetal.,2018)。首先,他们",
"2016; Joshi et al., 2017; Dunn et al., 2017)",
"",
"使用神经检索器模型来查找问题的相关段落。",
"这些任务是单跳QA任务,考虑只回答一个",
"之后,将神经阅读器模型应用于所选段落以",
"段落的问题。许多现有的神经模型依赖于学习",
"进行答案预测。尽管这些方法获得了有希望的",
"上下文和类型匹配启发式算法(Weissenborn",
"结果,但评估多跳推理能力的性能并不令人满",
"etal.,2017)。那些很少构建推理模块,但在",
"意",
"(Min et al., 2019)",
"单跳QA任务上实现有希望的性能。主要原因",
"为了解决多跳推理问题,",
"一些模型尝试使",
"是这些单跳QA任务缺乏对推理能力的现实",
"用 Spacy 1或StanfordCoreNLPE(Manning",
"评估,因为它们不需要复杂的推理。",
"etal.,2014)构造实体图,然后应用图模型来",
"最近提出了多跳QA任务,例如Hot-",
"推断从问题到答案的实体路径E(Chen et al.",
"potQAE(Yang et al.,2018)和 WikiHopE",
"2019; Xiao et al., 2019; Clark and Gardner,",
"(Welbletal.,2018),以评估多跳推理能力。",
"2018;Fangetal.,2019)。然而,这些模型忽",
"HotpotQA任务提供注释以评估文档级问题回",
"答并查找支持事实。为支持事实提供监督提高",
"lhttps://spacy.io"
] |
{
"arxiv_id": "2010.03604",
"language": "zh",
"page_idx": 0
}
|
||
2010.03604-zh-1
|
2010.03604-zh-1.jpg
|
略了句子的语义结构以及实体图中的边缘信息和实体类型的重要性。为了考虑单词之间的深人语义角色和语义边缘,我们使用语义角色标签 (SRL) 图作为图卷积网络的骨干。语义角色标注从自变量-谓词关系的角度提供了句子的语义结构 (He et al., 2018) 。自变量-谓词关系图可以显著改善多跳推理结果。我们的实验表明,SRL 在寻找跨段落推理路径和回答问题方面是有效的
我们提出的语义角色标记图推理网络(SRLGRN) 共同学习查找跨段落推理路径并回答有关多跳 QA 的问题。在 SRLGRN 模型中首先,我们训练一个段落选择模块来检索黄金文档并最小化干扰因素。其次,我们构建了一个异构文档级图,其中包含句子作为节点(间题,标题和句子),以及 SRL 子图,其中包括语义角色标记参数作为节点和谓词作为边。第三,我们训练图编码器以获得图节点表示,该表示将参数类型和谓词边的语义结合在学习的表示中。最后,我们联合训练一个支持多跳的事实预测模块,该模块找到跨段落推理路径并训练一个答案预测模块,该模块获得最终答案。请注意,支持事实预测和答案预测都基于上下文语义图表示以及令牌级 BERT 预训练表示。这项工作的贡献如下:
1)我们提出了 SRLGRN 框架,该框架在构建推理图网络时考虑了句子的语义结构。模型中不仅利用了节点的语义角色,还利用了边的语义
2)与通常的实体图相比,我们评估和分析了语义角色标记图的推理能力。SRL 图的细粒度语义有助于找到答案和推理路径的可解释性
3)我们提出的模型在 HotpotQA(干扰设置)
和 SQuAD 基准上都获得了有竞争力的结果
2 Related Work
2.1 Graph Models for Multi-Hop Reasoning 以前的 QA 数据集,例如 TriviaQA$\underline{\mathrm{E}}($Joshi et al., 2017) 和 SearchQA$\underline{\mathrm{E}}($Dunn et al., 2017) ,以及 MRC 数据集,例如 SQuAD$\underline{\mathrm{E}}($Rajpurkar et al., 2016) , 很少需要复杂的推理(例如跨段落推理)来回答问题,并且无法为答案提供基本事实解释。最近,WikiHop (Welbl et al., 2018) 和 HotpotQA (Yang et al., 2018) 是两个已发布的多跳 QA 数据集,提供多个段落。这些 QA 数据集需要一个多跳推理模型来学习跨段落推理路径并预测正确答案
大多数现有的多跳 QA 模型E(Tu et al., 2019; Xiao et al., 2019; Fang et al., 2019) 都使用基于图的神经网络,例如图注意力网络$\overline{\mathrm{E}}($Velickovic et al., 2018), 图递归网络$\overline{\mathrm{E}}$
(Song et al., 2018b) 和图卷积网络E(Kipf and Welling,2017)。此外,多跳 QA 模型使用不同的方式来构建实体图。Coref-GRN (Dhingra et al., 2018) 利用共引用解析构建实体图。MHQA-GRN (Song et al.,2018a) 是Coref-GRN 的更新版本,增加了滑动窗口。Entity-GCN (Cao et al., 2019) 使用实体和称为匹配边和补边的不同类型的边构建图。DFGN (Xiao et al., 2019) 和 SAE (Tu et al. 2019)通过命名实体识别 (NER) 构造实体图
与上述模型相反,我们的 SRLGRN 构建了一个异构图,其中包含各种句子的文档级图, 并使用 SRL 将基于实体的图替换为基于参数谓词的子图
# 2.2 Semantic Role Labeling
语义角色标记的目标是捕获给定句子的参数和谓词关系,例如“谁对谁做了什么。“几个深度 SRL 模型在寻找参数跨度方面实现了高度准确的结果 (Zhou and Xu, 2015; Tan et al., 2018; Marcheggiani et al., 2017; He et al.,2017)。然而,这些模型是根据给定的黄金谓词进行评估的。因此,提出了一些深度模型$\overline{\mathrm{E}}($He et al., 2018; Guan et al., 2019) 来识别所有参数-谓词对。最近,Shi and Lin 提出了一种用于 SRL 和关系提取的 BERT 模型
3 Model Description
我们提出的 SRLGRN 方法由段落选择,图构造,图编码器,支持事实预测和答案跨度预测模块组成。图 2 显示了建议的体系结构。在本节中,我们将详细介绍我们的方法,然后解释如何使用有效的算法对其进行训练
3.1 Problem Formulation
正式地,问题是预测支持事实$y_SF$并在给定输人问题$q$和候选段落的情况下回答跨度$y_ans$ 。每个段落内容$\mathcal{C}=\{t,s_1,\ldots,s_n\}$包括标题$t$ 和几个句子$\{s_1,\ldots,s_n\}$
### 3.2 Paragraph Selection
大多数段落都是 HotpotQA 任务中的干扰因素 (Yang et al., 2018) 。SRLGRN 可以通过段落选择模块从给定的$N$文档中选择黄金文档并最大程度地减少干扰。段落选择基于预训练的 BERT 模型 (Devlin et al.,2018)。我们的段落选择模块在 3.2.1 节和 3.2.2 节中解释了两轮
|
[
[
0.118408203125,
0.07598876953125,
0.489501953125,
0.07659912109375,
0.489501953125,
0.0914306640625,
0.118408203125,
0.09027099609375
],
[
0.51318359375,
0.07659912109375,
0.8818359375,
0.07598876953125,
0.8818359375,
0.09027099609375,
0.51318359375,
0.0914306640625
],
[
0.118408203125,
0.0926513671875,
0.48779296875,
0.0926513671875,
0.48779296875,
0.105712890625,
0.118408203125,
0.105712890625
],
[
0.51318359375,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.51318359375,
0.10687255859375
],
[
0.12176513671875,
0.10986328125,
0.489501953125,
0.10986328125,
0.489501953125,
0.12353515625,
0.12176513671875,
0.12353515625
],
[
0.5146484375,
0.1092529296875,
0.8818359375,
0.1092529296875,
0.8818359375,
0.122314453125,
0.5146484375,
0.122314453125
],
[
0.118408203125,
0.1258544921875,
0.486083984375,
0.1258544921875,
0.486083984375,
0.1395263671875,
0.118408203125,
0.1395263671875
],
[
0.5146484375,
0.1258544921875,
0.8818359375,
0.1258544921875,
0.8818359375,
0.1395263671875,
0.5146484375,
0.1395263671875
],
[
0.1234130859375,
0.1436767578125,
0.48779296875,
0.1436767578125,
0.48779296875,
0.15380859375,
0.1234130859375,
0.15380859375
],
[
0.5146484375,
0.14013671875,
0.88330078125,
0.141357421875,
0.88330078125,
0.1561279296875,
0.5146484375,
0.155029296875
],
[
0.118408203125,
0.15673828125,
0.486083984375,
0.15673828125,
0.486083984375,
0.17041015625,
0.118408203125,
0.17041015625
],
[
0.5146484375,
0.157958984375,
0.88330078125,
0.157958984375,
0.88330078125,
0.171630859375,
0.5146484375,
0.171630859375
],
[
0.118408203125,
0.1728515625,
0.48779296875,
0.1728515625,
0.48779296875,
0.1859130859375,
0.118408203125,
0.1859130859375
],
[
0.51318359375,
0.17333984375,
0.88330078125,
0.17333984375,
0.88330078125,
0.18701171875,
0.51318359375,
0.18701171875
],
[
0.12005615234375,
0.189453125,
0.489501953125,
0.189453125,
0.489501953125,
0.203125,
0.12005615234375,
0.203125
],
[
0.515625,
0.191162109375,
0.884765625,
0.191162109375,
0.884765625,
0.201904296875,
0.515625,
0.201904296875
],
[
0.118408203125,
0.2060546875,
0.2476806640625,
0.2060546875,
0.2476806640625,
0.2197265625,
0.118408203125,
0.2197265625
],
[
0.5146484375,
0.2037353515625,
0.8818359375,
0.204833984375,
0.8818359375,
0.2197265625,
0.5146484375,
0.218505859375
],
[
0.1368408203125,
0.22265625,
0.491943359375,
0.22265625,
0.491943359375,
0.236328125,
0.1368408203125,
0.236328125
],
[
0.51318359375,
0.221435546875,
0.87158203125,
0.221435546875,
0.87158203125,
0.235107421875,
0.51318359375,
0.235107421875
],
[
0.12005615234375,
0.2381591796875,
0.489501953125,
0.2381591796875,
0.489501953125,
0.251708984375,
0.12005615234375,
0.251708984375
],
[
0.5322265625,
0.2392578125,
0.880859375,
0.240478515625,
0.880859375,
0.254638671875,
0.5322265625,
0.254150390625
],
[
0.118408203125,
0.254150390625,
0.48779296875,
0.254150390625,
0.48779296875,
0.267333984375,
0.118408203125,
0.267333984375
],
[
0.509765625,
0.254638671875,
0.8818359375,
0.255859375,
0.8818359375,
0.270751953125,
0.509765625,
0.26953125
],
[
0.12176513671875,
0.270751953125,
0.489501953125,
0.270751953125,
0.489501953125,
0.283935546875,
0.12176513671875,
0.283935546875
],
[
0.5146484375,
0.2724609375,
0.88330078125,
0.2724609375,
0.88330078125,
0.2861328125,
0.5146484375,
0.2861328125
],
[
0.1234130859375,
0.287353515625,
0.491943359375,
0.287353515625,
0.491943359375,
0.300537109375,
0.1234130859375,
0.300537109375
],
[
0.51708984375,
0.290283203125,
0.60693359375,
0.290283203125,
0.60693359375,
0.3017578125,
0.51708984375,
0.3017578125
],
[
0.118408203125,
0.3017578125,
0.48779296875,
0.302734375,
0.48779296875,
0.317626953125,
0.118408203125,
0.31640625
],
[
0.12005615234375,
0.319580078125,
0.484375,
0.319580078125,
0.484375,
0.330078125,
0.12005615234375,
0.330078125
],
[
0.5146484375,
0.325927734375,
0.56494140625,
0.325927734375,
0.56494140625,
0.336181640625,
0.5146484375,
0.336181640625
],
[
0.55908203125,
0.322509765625,
0.75390625,
0.32470703125,
0.75390625,
0.339111328125,
0.55908203125,
0.33740234375
],
[
0.12176513671875,
0.3349609375,
0.48779296875,
0.3349609375,
0.48779296875,
0.3486328125,
0.12176513671875,
0.3486328125
],
[
0.12005615234375,
0.350830078125,
0.48779296875,
0.350830078125,
0.48779296875,
0.364013671875,
0.12005615234375,
0.364013671875
],
[
0.5146484375,
0.350830078125,
0.8818359375,
0.350830078125,
0.8818359375,
0.364013671875,
0.5146484375,
0.364013671875
],
[
0.12176513671875,
0.36767578125,
0.489501953125,
0.36767578125,
0.489501953125,
0.38134765625,
0.12176513671875,
0.38134765625
],
[
0.515625,
0.3681640625,
0.880859375,
0.3681640625,
0.880859375,
0.37890625,
0.515625,
0.37890625
],
[
0.118408203125,
0.3818359375,
0.486083984375,
0.3818359375,
0.486083984375,
0.3955078125,
0.118408203125,
0.3955078125
],
[
0.51318359375,
0.383056640625,
0.8818359375,
0.383056640625,
0.8818359375,
0.396728515625,
0.51318359375,
0.396728515625
],
[
0.12005615234375,
0.399658203125,
0.489501953125,
0.399658203125,
0.489501953125,
0.413330078125,
0.12005615234375,
0.413330078125
],
[
0.5146484375,
0.3984375,
0.8818359375,
0.3984375,
0.8818359375,
0.412109375,
0.5146484375,
0.412109375
],
[
0.12005615234375,
0.4150390625,
0.48779296875,
0.4150390625,
0.48779296875,
0.4287109375,
0.12005615234375,
0.4287109375
],
[
0.51123046875,
0.41455078125,
0.8818359375,
0.41455078125,
0.8818359375,
0.4287109375,
0.51123046875,
0.4287109375
],
[
0.12176513671875,
0.432861328125,
0.48779296875,
0.432861328125,
0.48779296875,
0.443603515625,
0.12176513671875,
0.443603515625
],
[
0.51318359375,
0.43115234375,
0.8818359375,
0.43115234375,
0.8818359375,
0.44482421875,
0.51318359375,
0.44482421875
],
[
0.118408203125,
0.44775390625,
0.489501953125,
0.44775390625,
0.489501953125,
0.46142578125,
0.118408203125,
0.46142578125
],
[
0.486083984375,
0.451904296875,
0.490234375,
0.451904296875,
0.490234375,
0.457275390625,
0.486083984375,
0.457275390625
],
[
0.5146484375,
0.44775390625,
0.88330078125,
0.44775390625,
0.88330078125,
0.46142578125,
0.5146484375,
0.46142578125
],
[
0.12005615234375,
0.46435546875,
0.349365234375,
0.46435546875,
0.349365234375,
0.47802734375,
0.12005615234375,
0.47802734375
],
[
0.51318359375,
0.463134765625,
0.8818359375,
0.463134765625,
0.8818359375,
0.476806640625,
0.51318359375,
0.476806640625
],
[
0.1175537109375,
0.479736328125,
0.48779296875,
0.479736328125,
0.48779296875,
0.493408203125,
0.1175537109375,
0.493408203125
],
[
0.5146484375,
0.478515625,
0.8818359375,
0.478515625,
0.8818359375,
0.4921875,
0.5146484375,
0.4921875
],
[
0.12005615234375,
0.496337890625,
0.489501953125,
0.496337890625,
0.489501953125,
0.51025390625,
0.12005615234375,
0.51025390625
],
[
0.5146484375,
0.495361328125,
0.8818359375,
0.495361328125,
0.8818359375,
0.5087890625,
0.5146484375,
0.5087890625
],
[
0.12005615234375,
0.51123046875,
0.489501953125,
0.5126953125,
0.489501953125,
0.52685546875,
0.12005615234375,
0.525390625
],
[
0.12176513671875,
0.52978515625,
0.1376953125,
0.52978515625,
0.1376953125,
0.54052734375,
0.12176513671875,
0.54052734375
],
[
0.51123046875,
0.53076171875,
0.7080078125,
0.53076171875,
0.7080078125,
0.54443359375,
0.51123046875,
0.54443359375
],
[
0.118408203125,
0.5458984375,
0.48779296875,
0.5458984375,
0.48779296875,
0.55859375,
0.118408203125,
0.55859375
],
[
0.12176513671875,
0.56103515625,
0.489501953125,
0.56103515625,
0.489501953125,
0.57470703125,
0.12176513671875,
0.57470703125
],
[
0.51318359375,
0.5625,
0.8818359375,
0.5634765625,
0.8818359375,
0.57763671875,
0.51318359375,
0.57666015625
],
[
0.1234130859375,
0.5791015625,
0.44921875,
0.5791015625,
0.44921875,
0.5888671875,
0.1234130859375,
0.5888671875
],
[
0.515625,
0.580078125,
0.8818359375,
0.580078125,
0.8818359375,
0.59326171875,
0.515625,
0.59326171875
],
[
0.118408203125,
0.59423828125,
0.489501953125,
0.59423828125,
0.489501953125,
0.60791015625,
0.118408203125,
0.60791015625
],
[
0.5146484375,
0.595703125,
0.8818359375,
0.595703125,
0.8818359375,
0.609375,
0.5146484375,
0.609375
],
[
0.118408203125,
0.609375,
0.468505859375,
0.609375,
0.468505859375,
0.62255859375,
0.118408203125,
0.62255859375
],
[
0.5146484375,
0.60986328125,
0.8818359375,
0.61083984375,
0.8818359375,
0.6259765625,
0.5146484375,
0.62451171875
],
[
0.515625,
0.62744140625,
0.81005859375,
0.62744140625,
0.81005859375,
0.64111328125,
0.515625,
0.64111328125
],
[
0.1175537109375,
0.63818359375,
0.276123046875,
0.63818359375,
0.276123046875,
0.65283203125,
0.1175537109375,
0.65283203125
],
[
0.1175537109375,
0.6630859375,
0.490234375,
0.66455078125,
0.490234375,
0.6787109375,
0.1175537109375,
0.677734375
],
[
0.51318359375,
0.6630859375,
0.73486328125,
0.6630859375,
0.73486328125,
0.6767578125,
0.51318359375,
0.6767578125
],
[
0.12005615234375,
0.68603515625,
0.489501953125,
0.68603515625,
0.489501953125,
0.69970703125,
0.12005615234375,
0.69970703125
],
[
0.5146484375,
0.6904296875,
0.880859375,
0.6904296875,
0.880859375,
0.70361328125,
0.5146484375,
0.70361328125
],
[
0.118408203125,
0.70068359375,
0.486083984375,
0.70068359375,
0.486083984375,
0.71435546875,
0.118408203125,
0.71435546875
],
[
0.51318359375,
0.703125,
0.8818359375,
0.705078125,
0.8818359375,
0.72265625,
0.51318359375,
0.72021484375
],
[
0.139404296875,
0.71875,
0.48779296875,
0.71875,
0.48779296875,
0.732421875,
0.139404296875,
0.732421875
],
[
0.515625,
0.72021484375,
0.88330078125,
0.7216796875,
0.88330078125,
0.736328125,
0.515625,
0.7353515625
],
[
0.12005615234375,
0.736328125,
0.48779296875,
0.736328125,
0.48779296875,
0.74658203125,
0.12005615234375,
0.74658203125
],
[
0.515625,
0.73828125,
0.7080078125,
0.73828125,
0.7080078125,
0.7529296875,
0.515625,
0.7529296875
],
[
0.12005615234375,
0.75048828125,
0.484375,
0.75048828125,
0.484375,
0.76123046875,
0.12005615234375,
0.76123046875
],
[
0.12005615234375,
0.7666015625,
0.48779296875,
0.7666015625,
0.48779296875,
0.77978515625,
0.12005615234375,
0.77978515625
],
[
0.51318359375,
0.77392578125,
0.724609375,
0.77392578125,
0.724609375,
0.78759765625,
0.51318359375,
0.78759765625
],
[
0.12176513671875,
0.783203125,
0.486083984375,
0.783203125,
0.486083984375,
0.79638671875,
0.12176513671875,
0.79638671875
],
[
0.118408203125,
0.798828125,
0.48779296875,
0.798828125,
0.48779296875,
0.8125,
0.118408203125,
0.8125
],
[
0.5146484375,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.5146484375,
0.8125
],
[
0.12005615234375,
0.81396484375,
0.48779296875,
0.81396484375,
0.48779296875,
0.8291015625,
0.12005615234375,
0.8291015625
],
[
0.51318359375,
0.81396484375,
0.8818359375,
0.8134765625,
0.8818359375,
0.82763671875,
0.51318359375,
0.8291015625
],
[
0.12005615234375,
0.83056640625,
0.414794921875,
0.83056640625,
0.414794921875,
0.84423828125,
0.12005615234375,
0.84423828125
],
[
0.51708984375,
0.8330078125,
0.880859375,
0.8330078125,
0.880859375,
0.84326171875,
0.51708984375,
0.84326171875
],
[
0.1368408203125,
0.84716796875,
0.489501953125,
0.84716796875,
0.489501953125,
0.86083984375,
0.1368408203125,
0.86083984375
],
[
0.5146484375,
0.84716796875,
0.8818359375,
0.84716796875,
0.8818359375,
0.86083984375,
0.5146484375,
0.86083984375
],
[
0.12005615234375,
0.86328125,
0.489501953125,
0.86328125,
0.489501953125,
0.876953125,
0.12005615234375,
0.876953125
],
[
0.496337890625,
0.86767578125,
0.51123046875,
0.86767578125,
0.51123046875,
0.87060546875,
0.496337890625,
0.87060546875
],
[
0.51318359375,
0.8623046875,
0.8818359375,
0.86328125,
0.8818359375,
0.87744140625,
0.51318359375,
0.876953125
],
[
0.12176513671875,
0.87890625,
0.48779296875,
0.87890625,
0.48779296875,
0.8935546875,
0.12176513671875,
0.8935546875
],
[
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.57275390625,
0.8955078125,
0.57275390625,
0.91015625,
0.51318359375,
0.91015625
]
] |
[
"略了句子的语义结构以及实体图中的边缘信息",
"(Songetal.,2018b)和图卷积网络E(Kipfand",
"和实体类型的重要性。为了考虑单词之间的深",
"Welling,2017)。此外,多跳QA模型使用不",
"人语义角色和语义边缘,我们使用语义角色标",
"同的方式来构建实体图。Coref-GRN(Dhin",
"签(SRL)图作为图卷积网络的骨干。语义角",
"graetal.,2018)利用共引用解析构建实体",
"色标注从自变量-谓词关系的角度提供了句子",
"图。MHQA-GRN(Song et al.,2018a)是",
"的语义结构(Heetal.,2018)。自变量-谓词",
"Coref-GRN的更新版本,增加了滑动窗口。",
"关系图可以显著改善多跳推理结果。我们的实",
"Entity-GCN(Caoetal.,2019)使用实体和",
"验表明,SRL在寻找跨段落推理路径和回答问",
"称为匹配边和补边的不同类型的边构建图。",
"题方面是有效的",
"DFGN (Xiao et al., 2019) 和 SAE (Tu et al.,",
"我们提出的语义角色标记图推理网络(SRL-",
"2019)通过命名实体识别(NER)构造实体图",
"GRN)共同学习查找跨段落推理路径并回答",
"与上述模型相反,我们的SRLGRN构建了",
"有关多跳 QA的问题。在SRLGRN模型中,",
"一个异构图,其中包含各种句子的文档级图,",
"首先,我们训练一个段落选择模块来检索黄金",
"并使用SRL将基于实体的图替换为基于参数",
"文档并最小化干扰因素。其次,我们构建了一",
"谓词的子图",
"个异构文档级图,其中包含句子作为节点(问",
"题,标题和句子),以及SRL子图,其中包括",
"2.2",
"Semantic Role Labeling",
"语义角色标记参数作为节点和谓词作为边。第",
"三,我们训练图编码器以获得图节点表示,该",
"语义角色标记的目标是捕获给定句子的参数",
"表示将参数类型和谓词边的语义结合在学习的",
"和谓词关系,例如“谁对谁做了什么。“几",
"表示中。最后,我们联合训练一个支持多跳的",
"个深度SRL模型在寻找参数跨度方面实",
"事实预测模块,该模块找到跨段落推理路径,",
"现了高度准确的结果(Zhou andXu,2015;",
"并训练一个答案预测模块,该模块获得最终答",
"Tan et al., 2018; Marcheggiani et al., 2017; He",
"案。请注意,支持事实预测和答案预测都基于",
"etal.,2017)。然而,这些模型是根据给定的",
"上下文语义图表示以及令牌级BERT预训练",
"",
"黄金谓词进行评估的。因此,提出了一些深度",
"表示。这项工作的贡献如下:",
"模型E(Heetal.,2018;Guan et al.,2019)来",
"1)我们提出了SRLGRN框架,该框架在构建",
"识别所有参数-谓词对。最近,Shiand Lin提",
"推理图网络时考虑了句子的语义结构。模型中",
"出了一种用于SRL和关系提取的BERT模型",
"不仅利用了节点的语义角色,还利用了边的语",
"义",
"3Model Description",
"2)与通常的实体图相比,我们评估和分析了语",
"义角色标记图的推理能力。SRL图的细粒度语",
"我们提出的SRLGRN方法由段落选择,图构",
"义有助于找到答案和推理路径的可解释性",
"造,图编码器,支持事实预测和答案跨度预测",
"3)我们提出的模型在HotpotQA(干扰设置)",
"模块组成。图2显示了建议的体系结构。在",
"和SQuAD基准上都获得了有竞争力的结果",
"本节中,我们将详细介绍我们的方法,然后解",
"释如何使用有效的算法对其进行训练",
"2 Related Work",
"2.1Graph Models for Multi-Hop Reasoning",
"3.1Problem Formulation",
"以前的QA数据集,例如TriviaQAE(Joshi",
"正式地,问题是预测支持事实ySF并在给定输",
"et al., 2017) 和 SearchQAE(Dunn et al., 2017)",
"人问题q和候选段落的情况下回答跨度Yans",
"以及MRC数据集,例如SQuADE(Ra",
"。每个段落内容C={t,S1,...,Sn}包括标题t",
"ipurkaretal.2016),很少需要复杂的推理",
"和几个句子【S1,·,Sn]",
"(例如跨段落推理)来回答问题:并且无法为答",
"案提供基本事实解释。最近,WikiHop(Welbl",
"3.2Paragraph Selection",
"et al.,2018)和HotpotQA (Yang et al.,2018)",
"是两个已发布的多跳QA数据集,提供多个段",
"大多数段落都是HotpotQA任务中的干扰因",
"落。这些QA数据集需要一个多跳推理模型来",
"素(Yangetal.,2018)。SRLGRN可以通过",
"学习跨段落推理路径并预测正确答案",
"段落选择模块从给定的N文档中选择黄金文",
"大多数现有的多跳QA模型E(Tu etal.,",
"档并最大程度地减少干扰。段落选择基于预训",
"2019; Xiao et al., 2019; Fang et al., 2019)都",
"",
"练的BERT模型(Devlinetal.,2018)。我们",
"使用基于图的神经网络,例如图注意力网",
"的段落选择模块在3.2.1节和3.2.2节中解释",
"络E(Velickovicetal.,2018),图递归网络E",
"了两轮"
] |
{
"arxiv_id": "2010.03604",
"language": "zh",
"page_idx": 1
}
|
||
2010.03604-zh-2
|
2010.03604-zh-2.jpg
|
<FigureHere>
Figure 2: Our proposed SRLGRN model is composed of Paragraph Selection, Graph Construction, Graph
Encoder, Supporting Fact prediction, and Answer Span prediction.
<FigureHere>
Figure 3: An example of Heterogeneous SRL Graph. The question is“Who is younger Keith Bostic or Jerry Glanville?" The circles show the document-level nodes, i.e., sentences. The blue squares show the argument nodes. The argument nodes include argument phrase and argument type information. The solid black lines are semantic edges between two arguments carrying the predicate information. The black dashed lines show the edges between sentence nodes and argument nodes. The red dashed lines show the edges between two sentences if there exists a shared argument (based on exact string match). The orange blocks are the SRL argument-predicate sub-graphs for sentences. $s_i^j$ means the $j$ -th sentence from the $i$ - th paragraph.
3.2.1 First Round Paragraph Selection
3.3 Heterogeneous SRL Graph
Construction
对于每个候选段落,我们将问题$q$和段落内容
$\mathcal{C}$ 作为输入:
(1)
$$Q_1=[[CLS];q;[SEP];\mathcal{C}],$$
其中$Q_1$表示输入,[CLS] 和[SEP]与 XMAT 标记器相同。我们将输入$Q_{1}$馈送到预先训练的 BERT 编码器,以获得令牌表示。然后我们使用$BERT_{[CLS]}$令牌表示作为段落的摘要表示。同时,我们利用两层 MLP 输出相关性得分$y_{sel}$ 。选择获得最高相关性得分的段落作为第一相关上下文。我们将$q$连接到选定的段落作为$q_{new}$ ,用于下一轮段落选择
我们为每个数据实例构建一个包含文档级子图$\mathcal{S}$和参数谓词 SRL 子图Arg的异构图。在图构建过程中,文档级子图$S$包括问题$q$,第一轮选择的段落中的标题$t_1$和句子$s_1^{1,\ldots,n}$,以及第二轮选择的段落中的标题$t_2$和句子$s_2^{1,\ldots,n}$ ,即$\{q,t_1,s_1^1,\ldots,s_1^n,t_2,s_2^1,\ldots,s_2^n\}\in\mathcal{S}$。使用 AllenNLP-SRL 模型 (Shi and Lin, 2019) 生成参数谓词 SRL 子图Arg ,包括作为节点的参数和作为边的谓词。每个参数节点是参数短语和参数类型的串联,包括“TEMPORAL" , “ LOC" 等
图 3 描述了异构图的构造。异质图的边将被添加如下:1) 之间的黑色线$s_j$如果在该句子中出现参数,则 XMATHX\_XMATHX\_$s_j$ 之间将有一条边。如果两个句子$s_i$和$s_j$通过精确匹配共享一个参数,则它们将具有边
图 3显示了一个异构 SRL 图的示例。$s_1^2$和$s_2^2$由于共享参数节点“前足球运动员:ARG” 而连接。此外,共享参数节点具有多个语义边
3.2.2 Second Round Paragraph Selection
对于其余的$N-1$候选段落,我们使用与第一轮段落选择相同的模型来生成相关性得分,该得分将$q_{new}$和段落内容作为输入。我们将此过程称为第二轮段落选择。与$\overline{\mathrm{E}}$3.2.1 节类似, 选择了得分最高的其余候选段落之一。之后, 我们将问题和两个选定的段落连接起来,形成一个新的上下文,用作图构造的输入文本
|
[
[
0.270263671875,
0.07183837890625,
0.3359375,
0.07183837890625,
0.3359375,
0.09442138671875,
0.270263671875,
0.09442138671875
],
[
0.37451171875,
0.0748291015625,
0.4189453125,
0.0748291015625,
0.4189453125,
0.08489990234375,
0.37451171875,
0.08489990234375
],
[
0.623046875,
0.07659912109375,
0.63623046875,
0.07659912109375,
0.63623046875,
0.08074951171875,
0.623046875,
0.08074951171875
],
[
0.5400390625,
0.0789794921875,
0.54736328125,
0.0736083984375,
0.55322265625,
0.07781982421875,
0.5458984375,
0.0831298828125
],
[
0.16796875,
0.07598876953125,
0.20068359375,
0.07598876953125,
0.20068359375,
0.0872802734375,
0.16796875,
0.0872802734375
],
[
0.54150390625,
0.08197021484375,
0.60693359375,
0.08197021484375,
0.60693359375,
0.08905029296875,
0.54150390625,
0.08905029296875
],
[
0.79833984375,
0.0789794921875,
0.85546875,
0.0789794921875,
0.85546875,
0.08905029296875,
0.79833984375,
0.08905029296875
],
[
0.51708984375,
0.0968017578125,
0.57080078125,
0.0968017578125,
0.57080078125,
0.10687255859375,
0.51708984375,
0.10687255859375
],
[
0.372802734375,
0.0831298828125,
0.435791015625,
0.0831298828125,
0.435791015625,
0.09320068359375,
0.372802734375,
0.09320068359375
],
[
0.1485595703125,
0.11639404296875,
0.2032470703125,
0.11639404296875,
0.2032470703125,
0.1270751953125,
0.1485595703125,
0.1270751953125
],
[
0.312255859375,
0.12890625,
0.337646484375,
0.12890625,
0.337646484375,
0.13720703125,
0.312255859375,
0.13720703125
],
[
0.8271484375,
0.1270751953125,
0.85791015625,
0.1270751953125,
0.85791015625,
0.1341552734375,
0.8271484375,
0.1341552734375
],
[
0.78662109375,
0.133056640625,
0.84033203125,
0.133056640625,
0.84033203125,
0.14013671875,
0.78662109375,
0.14013671875
],
[
0.372802734375,
0.144287109375,
0.382080078125,
0.1436767578125,
0.3837890625,
0.1478271484375,
0.37451171875,
0.1484375
],
[
0.280517578125,
0.1300048828125,
0.3046875,
0.1300048828125,
0.3046875,
0.13720703125,
0.280517578125,
0.13720703125
],
[
0.14697265625,
0.146728515625,
0.214111328125,
0.146728515625,
0.214111328125,
0.15673828125,
0.14697265625,
0.15673828125
],
[
0.3720703125,
0.1484375,
0.426513671875,
0.149658203125,
0.426513671875,
0.157958984375,
0.3720703125,
0.15673828125
],
[
0.1502685546875,
0.1561279296875,
0.214111328125,
0.1561279296875,
0.214111328125,
0.163330078125,
0.1502685546875,
0.163330078125
],
[
0.312255859375,
0.157958984375,
0.341796875,
0.157958984375,
0.341796875,
0.1650390625,
0.312255859375,
0.1650390625
],
[
0.3720703125,
0.1591796875,
0.424072265625,
0.1591796875,
0.424072265625,
0.166259765625,
0.3720703125,
0.166259765625
],
[
0.273681640625,
0.1644287109375,
0.291259765625,
0.1644287109375,
0.291259765625,
0.168701171875,
0.273681640625,
0.168701171875
],
[
0.1502685546875,
0.163330078125,
0.2149658203125,
0.163330078125,
0.2149658203125,
0.174560546875,
0.1502685546875,
0.174560546875
],
[
0.268798828125,
0.174560546875,
0.341796875,
0.174560546875,
0.341796875,
0.185302734375,
0.268798828125,
0.185302734375
],
[
0.151123046875,
0.18115234375,
0.2225341796875,
0.18115234375,
0.2225341796875,
0.188232421875,
0.151123046875,
0.188232421875
],
[
0.1502685546875,
0.188232421875,
0.21826171875,
0.188232421875,
0.21826171875,
0.198974609375,
0.1502685546875,
0.198974609375
],
[
0.7900390625,
0.185302734375,
0.8388671875,
0.185302734375,
0.8388671875,
0.189453125,
0.7900390625,
0.189453125
],
[
0.6884765625,
0.1923828125,
0.74072265625,
0.1923828125,
0.74072265625,
0.203125,
0.6884765625,
0.203125
],
[
0.12005615234375,
0.2203369140625,
0.45166015625,
0.2203369140625,
0.45166015625,
0.2340087890625,
0.12005615234375,
0.2340087890625
],
[
0.456787109375,
0.2257080078125,
0.468505859375,
0.2257080078125,
0.468505859375,
0.2298583984375,
0.456787109375,
0.2298583984375
],
[
0.496337890625,
0.2203369140625,
0.88330078125,
0.2203369140625,
0.88330078125,
0.2340087890625,
0.496337890625,
0.2340087890625
],
[
0.1175537109375,
0.2327880859375,
0.611328125,
0.2340087890625,
0.611328125,
0.248779296875,
0.1175537109375,
0.2476806640625
],
[
0.490234375,
0.2666015625,
0.50537109375,
0.2666015625,
0.50537109375,
0.27490234375,
0.490234375,
0.27490234375
],
[
0.189697265625,
0.29443359375,
0.208251953125,
0.29443359375,
0.208251953125,
0.303955078125,
0.189697265625,
0.303955078125
],
[
0.330078125,
0.29150390625,
0.3525390625,
0.295654296875,
0.34765625,
0.30810546875,
0.32568359375,
0.303955078125
],
[
0.405517578125,
0.29443359375,
0.4306640625,
0.29443359375,
0.4306640625,
0.305908203125,
0.405517578125,
0.305908203125
],
[
0.568359375,
0.29443359375,
0.58447265625,
0.29443359375,
0.58447265625,
0.302734375,
0.568359375,
0.302734375
],
[
0.62109375,
0.29443359375,
0.640625,
0.29443359375,
0.640625,
0.303955078125,
0.62109375,
0.303955078125
],
[
0.484375,
0.295654296875,
0.50390625,
0.295654296875,
0.50390625,
0.303955078125,
0.484375,
0.303955078125
],
[
0.235107421875,
0.295654296875,
0.255126953125,
0.295654296875,
0.255126953125,
0.303955078125,
0.235107421875,
0.303955078125
],
[
0.515625,
0.295654296875,
0.53662109375,
0.295654296875,
0.53662109375,
0.303955078125,
0.515625,
0.303955078125
],
[
0.67529296875,
0.295654296875,
0.69189453125,
0.295654296875,
0.69189453125,
0.303955078125,
0.67529296875,
0.303955078125
],
[
0.77490234375,
0.295654296875,
0.791015625,
0.295654296875,
0.791015625,
0.303955078125,
0.77490234375,
0.303955078125
],
[
0.36865234375,
0.32177734375,
0.3955078125,
0.327880859375,
0.39208984375,
0.3349609375,
0.365234375,
0.328857421875
],
[
0.7109375,
0.32666015625,
0.75244140625,
0.32666015625,
0.75244140625,
0.334228515625,
0.7109375,
0.334228515625
],
[
0.465087890625,
0.333251953125,
0.50732421875,
0.3349609375,
0.50732421875,
0.342529296875,
0.465087890625,
0.34033203125
],
[
0.57421875,
0.3349609375,
0.62646484375,
0.3349609375,
0.62646484375,
0.342529296875,
0.57421875,
0.342529296875
],
[
0.2880859375,
0.342529296875,
0.295654296875,
0.342529296875,
0.295654296875,
0.345703125,
0.2880859375,
0.345703125
],
[
0.313232421875,
0.336181640625,
0.32421875,
0.336181640625,
0.32421875,
0.34033203125,
0.313232421875,
0.34033203125
],
[
0.51123046875,
0.352783203125,
0.5556640625,
0.359375,
0.55322265625,
0.369384765625,
0.5087890625,
0.363525390625
],
[
0.31982421875,
0.359375,
0.378662109375,
0.359375,
0.378662109375,
0.37353515625,
0.31982421875,
0.37353515625
],
[
0.424072265625,
0.361083984375,
0.47021484375,
0.359375,
0.47021484375,
0.366455078125,
0.424072265625,
0.3681640625
],
[
0.62060546875,
0.359375,
0.68701171875,
0.358154296875,
0.68701171875,
0.369384765625,
0.62060546875,
0.37060546875
],
[
0.2626953125,
0.3759765625,
0.47265625,
0.3759765625,
0.47265625,
0.3896484375,
0.2626953125,
0.3896484375
],
[
0.5224609375,
0.3759765625,
0.73876953125,
0.3759765625,
0.73876953125,
0.385986328125,
0.5224609375,
0.385986328125
],
[
0.587890625,
0.385498046875,
0.73486328125,
0.385498046875,
0.73486328125,
0.392578125,
0.587890625,
0.392578125
],
[
0.8076171875,
0.383056640625,
0.8154296875,
0.383056640625,
0.8154296875,
0.388427734375,
0.8076171875,
0.388427734375
],
[
0.55322265625,
0.38720703125,
0.57080078125,
0.38720703125,
0.57080078125,
0.391357421875,
0.55322265625,
0.391357421875
],
[
0.255126953125,
0.38720703125,
0.4609375,
0.38720703125,
0.4609375,
0.40087890625,
0.255126953125,
0.40087890625
],
[
0.51904296875,
0.3896484375,
0.65576171875,
0.3896484375,
0.65576171875,
0.399658203125,
0.51904296875,
0.399658203125
],
[
0.118408203125,
0.416259765625,
0.88330078125,
0.416259765625,
0.88330078125,
0.429931640625,
0.118408203125,
0.429931640625
],
[
0.118408203125,
0.429931640625,
0.884765625,
0.429931640625,
0.884765625,
0.44482421875,
0.118408203125,
0.44482421875
],
[
0.118408203125,
0.44482421875,
0.8818359375,
0.44482421875,
0.8818359375,
0.457763671875,
0.118408203125,
0.457763671875
],
[
0.118408203125,
0.458984375,
0.884765625,
0.458984375,
0.884765625,
0.47265625,
0.118408203125,
0.47265625
],
[
0.118408203125,
0.47265625,
0.884765625,
0.47265625,
0.884765625,
0.486328125,
0.118408203125,
0.486328125
],
[
0.12005615234375,
0.48681640625,
0.884765625,
0.48681640625,
0.884765625,
0.50048828125,
0.12005615234375,
0.50048828125
],
[
0.1175537109375,
0.49951171875,
0.88671875,
0.50048828125,
0.88671875,
0.515625,
0.1175537109375,
0.51416015625
],
[
0.1158447265625,
0.515625,
0.22412109375,
0.51708984375,
0.22412109375,
0.529296875,
0.1158447265625,
0.52685546875
],
[
0.177978515625,
0.5556640625,
0.450927734375,
0.5556640625,
0.450927734375,
0.5693359375,
0.177978515625,
0.5693359375
],
[
0.56103515625,
0.5556640625,
0.77734375,
0.5556640625,
0.77734375,
0.5693359375,
0.56103515625,
0.5693359375
],
[
0.51318359375,
0.55712890625,
0.5458984375,
0.55712890625,
0.5458984375,
0.568359375,
0.51318359375,
0.568359375
],
[
0.12005615234375,
0.55712890625,
0.160400390625,
0.55712890625,
0.160400390625,
0.568359375,
0.12005615234375,
0.568359375
],
[
0.118408203125,
0.57373046875,
0.486083984375,
0.57373046875,
0.486083984375,
0.58740234375,
0.118408203125,
0.58740234375
],
[
0.55517578125,
0.5693359375,
0.6650390625,
0.57177734375,
0.6650390625,
0.5859375,
0.55517578125,
0.58447265625
],
[
0.1175537109375,
0.5888671875,
0.219970703125,
0.59130859375,
0.219970703125,
0.60546875,
0.1175537109375,
0.60400390625
],
[
0.515625,
0.59716796875,
0.8818359375,
0.59716796875,
0.8818359375,
0.61083984375,
0.515625,
0.61083984375
],
[
0.20068359375,
0.61767578125,
0.4072265625,
0.61767578125,
0.4072265625,
0.63134765625,
0.20068359375,
0.63134765625
],
[
0.462646484375,
0.61767578125,
0.489501953125,
0.61767578125,
0.489501953125,
0.6298828125,
0.462646484375,
0.6298828125
],
[
0.51318359375,
0.61328125,
0.87890625,
0.61328125,
0.87890625,
0.626953125,
0.51318359375,
0.626953125
],
[
0.5146484375,
0.62890625,
0.875,
0.6298828125,
0.875,
0.64453125,
0.5146484375,
0.6435546875
],
[
0.12005615234375,
0.642578125,
0.489501953125,
0.642578125,
0.489501953125,
0.65625,
0.12005615234375,
0.65625
],
[
0.51123046875,
0.64453125,
0.82958984375,
0.642578125,
0.82958984375,
0.6611328125,
0.51123046875,
0.6630859375
],
[
0.81787109375,
0.6435546875,
0.8818359375,
0.646484375,
0.880859375,
0.6611328125,
0.81689453125,
0.65771484375
],
[
0.12176513671875,
0.6591796875,
0.489501953125,
0.6591796875,
0.489501953125,
0.67333984375,
0.12176513671875,
0.67333984375
],
[
0.51123046875,
0.662109375,
0.88330078125,
0.6591796875,
0.88330078125,
0.677734375,
0.51123046875,
0.68115234375
],
[
0.12005615234375,
0.67578125,
0.489501953125,
0.67578125,
0.489501953125,
0.689453125,
0.12005615234375,
0.689453125
],
[
0.51708984375,
0.6796875,
0.88330078125,
0.6796875,
0.88330078125,
0.69482421875,
0.51708984375,
0.69482421875
],
[
0.12005615234375,
0.6904296875,
0.490234375,
0.6904296875,
0.490234375,
0.7080078125,
0.12005615234375,
0.7080078125
],
[
0.515625,
0.6953125,
0.8818359375,
0.6953125,
0.8818359375,
0.71044921875,
0.515625,
0.71044921875
],
[
0.12005615234375,
0.70703125,
0.48779296875,
0.70703125,
0.48779296875,
0.7216796875,
0.12005615234375,
0.7216796875
],
[
0.5146484375,
0.71142578125,
0.8818359375,
0.71142578125,
0.8818359375,
0.7255859375,
0.5146484375,
0.7255859375
],
[
0.12005615234375,
0.7236328125,
0.48779296875,
0.7236328125,
0.48779296875,
0.73828125,
0.12005615234375,
0.73828125
],
[
0.515625,
0.72802734375,
0.8818359375,
0.72802734375,
0.8818359375,
0.7412109375,
0.515625,
0.7412109375
],
[
0.12005615234375,
0.7392578125,
0.48779296875,
0.7392578125,
0.48779296875,
0.7529296875,
0.12005615234375,
0.7529296875
],
[
0.5146484375,
0.74365234375,
0.884765625,
0.7421875,
0.884765625,
0.75732421875,
0.5146484375,
0.75830078125
],
[
0.12176513671875,
0.755859375,
0.3896484375,
0.755859375,
0.3896484375,
0.77099609375,
0.12176513671875,
0.77099609375
],
[
0.5146484375,
0.7587890625,
0.66748046875,
0.7587890625,
0.66748046875,
0.77392578125,
0.5146484375,
0.77392578125
],
[
0.12005615234375,
0.77978515625,
0.465087890625,
0.77978515625,
0.465087890625,
0.79345703125,
0.12005615234375,
0.79345703125
],
[
0.53564453125,
0.779296875,
0.8818359375,
0.779296875,
0.8818359375,
0.7919921875,
0.53564453125,
0.7919921875
],
[
0.118408203125,
0.79638671875,
0.47265625,
0.79736328125,
0.47265625,
0.8125,
0.118408203125,
0.81103515625
],
[
0.466796875,
0.80029296875,
0.486083984375,
0.80029296875,
0.486083984375,
0.80810546875,
0.466796875,
0.80810546875
],
[
0.515625,
0.7958984375,
0.88330078125,
0.7958984375,
0.88330078125,
0.80859375,
0.515625,
0.80859375
],
[
0.51318359375,
0.80810546875,
0.88330078125,
0.81005859375,
0.88330078125,
0.82763671875,
0.51318359375,
0.826171875
],
[
0.118408203125,
0.81396484375,
0.48779296875,
0.81396484375,
0.48779296875,
0.82763671875,
0.118408203125,
0.82763671875
],
[
0.12005615234375,
0.83056640625,
0.489501953125,
0.83056640625,
0.489501953125,
0.845703125,
0.12005615234375,
0.845703125
],
[
0.515625,
0.82763671875,
0.8818359375,
0.82763671875,
0.8818359375,
0.84130859375,
0.515625,
0.84130859375
],
[
0.118408203125,
0.8466796875,
0.489501953125,
0.845703125,
0.489501953125,
0.85986328125,
0.118408203125,
0.86083984375
],
[
0.5146484375,
0.84326171875,
0.84619140625,
0.84326171875,
0.84619140625,
0.85791015625,
0.5146484375,
0.85791015625
],
[
0.12005615234375,
0.8623046875,
0.48779296875,
0.86328125,
0.48779296875,
0.87744140625,
0.12005615234375,
0.876953125
],
[
0.5341796875,
0.8623046875,
0.88330078125,
0.8623046875,
0.88330078125,
0.876953125,
0.5341796875,
0.876953125
],
[
0.12005615234375,
0.87890625,
0.489501953125,
0.87890625,
0.489501953125,
0.892578125,
0.12005615234375,
0.892578125
],
[
0.515625,
0.87890625,
0.8818359375,
0.87890625,
0.8818359375,
0.892578125,
0.515625,
0.892578125
],
[
0.133544921875,
0.89453125,
0.450927734375,
0.89453125,
0.450927734375,
0.9091796875,
0.133544921875,
0.9091796875
],
[
0.515625,
0.89453125,
0.8818359375,
0.89453125,
0.8818359375,
0.9091796875,
0.515625,
0.9091796875
]
] |
[
"Sareraph",
"Selected",
"Ho",
"o",
"Input",
"&GraphEne",
"Prediction",
"QQQ",
"Paragraphs",
"Question",
"rward",
"tFact",
"Prediction",
"n",
"Feed",
"Paragraph 1",
"Paragraph 1",
"Paragraph 2",
"EMUL",
"Paragraph",
"",
"Paragraph 3",
"qky",
"Paragraph n-1",
"Paragraph n",
"Prediction",
"Token Emb",
"Figure 2: Our proposed SRLGRN model is col",
"a",
"d of Paragraph Selection, Graph Construction, Graph",
"Encoder, Supporting Fact prediction, and Answer Span prediction.",
"q",
"ti",
"",
"",
"s",
"",
"si",
"s1)",
"(tz",
"s2",
"S2",
"BESENP",
"TNASCAR",
"formerfoot",
"Jerry Michael",
"st",
"eitl",
"formerPR",
"RTENPOR",
"eaguec0ba",
"October1.1041",
"S:Wiliam Keith Bostie (born January17,1961)",
"$2: Jerry Michael Glanville (born October 14, 1941",
"rfootballplayer,formerNASCAR",
"S",
"afo",
"sevemeasoser totatioplayoohan Playede.",
"driver, and former sportscaster.",
"Figure 3: An example of Heterogeneous SRL Graph. The question is “\"Who is younger Keith Bostic or",
"Jerry Glanville?\" The circles show the document-level nodes, i.e., sentences. The blue squares show the",
"argument nodes. The argument nodes include argument phrase and argument type information. The",
"solid black lines are semantic edges between two arguments carrying the predicate information. The black",
"dashed lines show the edges between sentence nodes and argument nodes. The red dashed lines show the",
"edges between two sentences if there exists a shared argument (based on exact string match). The orange",
"blocks are the SRL argument-predicate sub-graphs for sentences. s, means the j -th sentence from the i",
"-th paragraph.",
"First Round Paragraph Selection",
"Heterogeneous SRL Graph",
"3.3",
"3.2.1",
"对于每个候选段落,我们将问题9和段落内容",
"Construction",
"C作为输:",
"我们为每个数据实例构建一个包含文档级子图",
"Q1 = [CLS];q;[SEP];C],",
"(1)",
"S和参数谓词SRL子图Arg的异构图。在图",
"构建过程中,文档级子图S包括问题9,第",
"其中Q1表示输人,[CLS]和[SEP]与XMAT",
"轮选择的段落中的标题ti和句子s.",
"n,以及",
"标记器相同。我们将输入Q1馈送到预先训练",
"第二轮选择的段落中的标题t2和句子s.n",
"的BERT编码器,以获得令牌表示。然后我们",
",即 [q,ti,si,..,sn,t2,s2,..,s2] ES。使",
"使用BERTcLSI令牌表示作为段落的摘要表",
"用 AllenNLP-SRL模型(Shi and Lin,2019)",
"示。同时,我们利用两层MLP输出相关性得",
"生成参数谓词SRL子图Arg,包括作为节",
"分Ysel。选择获得最高相关性得分的段落作为",
"点的参数和作为边的谓词。每个参数节点是",
"第一相关上下文。我们将9连接到选定的段落",
"参数短语和参数类型的串联,包括“TEMPO-",
"作为qnew,用于下一轮段落选择",
"RAL”,“LOC”等",
"3.2.2Second Round Paragraph Selection",
"图3描述了异构图的构造。异质图的边将",
"对于其余的N-1候选段落,我们使用与第",
"一",
"被添加如下:1)之间的黑色线si如果在该句",
"子中出现参数,则XMATHX_XMATHX_sj",
"轮段落选择相同的模型来生成相关性得分,该",
"得分将qnew和段落内容作为输人。我们将此",
"之间将有一条边。如果两个句子si和si通过",
"过程称为第二轮段落选择。与E3.2.1节类似,",
"精确匹配共享一个参数,则它们将具有边",
"选择了得分最高的其余候选段落之一。之后,",
"图3显示了一个异构SRL图的示例。s2和",
"我们将问题和两个选定的段落连接起来,形成",
"s2由于共享参数节点“前足球运动员:ARG”",
"个新的上下文,用作图构造的输入文本",
"而连接。此外,共享参数节点具有多个语义边"
] |
{
"arxiv_id": "2010.03604",
"language": "zh",
"page_idx": 2
}
|
||
2010.03604-zh-3
|
2010.03604-zh-3.jpg
|
缘,例如“播放”和“成为”。这样,共享参数节点和其他连接的参数节点具有参数-谓词关系
我们基于将在E3.4 节中使用的构造图创建两个矩阵。我们构建了基于谓词的语义边缘矩阵$K$和异构边缘权重矩阵$A$ 。语义边缘矩阵$K$是存储谓词的单词索引的矩阵。我们用空的 \emptyset 初始化 K 的所有元素。如果两个参数节点$Arg_i$和$Arg_j$与同一谓词相关,我们将该$\begin{aligned}\text{谓词索引添加到}^{\prime}K_{(Arg_{i},Arg_{j})}\text{ 。有时},Arg_{i}\text{ 和}\\A=\text{名人用}\exists\text{如立}\end{aligned}$ $Arg_j$与多个谓词相关
同时,异构边缘权重矩阵$A$是存储不同类型的边缘权重的矩阵。我们将边分为三种类型: 句子-参数边,参数-参数边和句子-句子边
当两个句子共享一个参数时,句子边缘的权重为 1 。同时,如果句子和参数之间存在边, 则句子参数边的权重为 1 。如果两个参数节点具有边,则可以通过逐点互信息(PMI)E (Bouma,2009)来计算权重。我们使用 PMI 的原因是,与传统的同现计数方法$\overline{\mathrm{E}}($Yao et al. 2019) 相比,它可以更好地解释节点之间的关联
## 3.4 Graph Encoder
节 3.3 介绍了构建异构图的详细过程。接下来,我们引人图卷积网络(Kipf and Welling, 2017)来获得图嵌入。图卷积网络(GraphConvolutionNetwork, GCN) 是一个多层网络,它直接使用图输入并生成图的嵌入向量
此外,GCN 在合并高阶邻域节点中起着至关重要的作用,并有助于捕获结构图信息。SRL 图使用句子的语义结构来形成图节点和语义边,使 GCN 的表示更加可解释。例如,文档级子图的 GCN 节点向量有助于找到支持的事实路径,而参数谓词级子图的 GCN 节点向量有助于识别潜在答案的文本跨度。在这项工作中,我们考虑使用两层 GCN 来允许消息传递操作并学习图嵌入。图嵌入的计算如下:
(2)
$$\begin{aligned}E_{1}&=(D^{-\frac{1}{2}}AD^{-\frac{1}{2}})[X_{Arg};X_{\mathcal{S}}]W_{1},\\G&=(D^{-\frac{1}{2}}AD^{-\frac{1}{2}})f(E_{1})W_{2},\end{aligned}$$
(3)
其中$E_{1}$和$G$是两个 GCN 层的图嵌入输出, 它们通过堆叠 GCN 层合并了高阶邻域节点。$f(x)$是激活函数,$D$是图的度矩阵 (Kipf and Welling, 2017) $,A$是异质边权重矩阵,$W_1$和$W_2$是学习参数。$X$表示节点嵌入,包括参数谓词嵌入$X_Arg$ 和句子嵌人 $X_S$ 。请注意,每个参数嵌入$X_Arg^i$是参数节点$Arg^i$嵌入和$K_Arg^i$ 的平均嵌入的串联。给定$G$ ,我们使用$G_S$表示文档级节点嵌人,并使用$G_{Arg}$表示参数谓词级节点嵌人
3.5 Supporting Fact Predictiom
<FigureHere>
Figure 4: An example of Supporting Fact Predic-
tion.
支持事实 (SF) 预测的目标是找到得出答案所必需的 SF。受$\underline{\mathrm{E}}$Asai et al. 的启发,我们利用 RNN 进行波束搜索,以找到最佳的文档级 SF 路径。事实证明,这种方法对于选择 SF 推理路径是有效的。请注意,我们的支持事实预测不仅基于 BERT 和 RNN,而且还结合了文档级图节点嵌入$G_{\mathcal{S}}$
在形式上,我们使用图形句子嵌入的串联, $G_{\mathcal{S}}$(图$\mathbb{E}$4 中的蓝色圆圈)和 BERT 的[CLS] 令牌表示(橙色圆圈)来表示候选句子$X_S^{cand}$
$$X_{\mathcal S}^{cand}=[G_{\mathcal S}^{cand};BERT_{[CLS]}(q,\mathcal S_{cand})],$$
X 其中 MATHX\_2 表示候选人的邻居。之后,两个具有激活功能的前馈完全连接层确定$s_{cand}$是否是实际的 SF。选择 SF 的过程如下所示:
$$\begin{aligned}h_t&=\sigma(Wh_{t-1}+UX_{\mathcal{S}}^{cand}+b_h),\\o_t&=Vh_t+b_o,\end{aligned}$$
(5) (6)
其中$h_t$是第$t$个 SF 推理步骤中 RNN 的隐藏状态,$\sigma$ 是激活函数。参数为$W$ 、$U$、$V$、 $b_h$和$b_o$
最后,我们使用波束搜索输出 SF 路径,选择得分最高的路径作为我们的最终支持事实答案$y_\mathrm{SF}:$
(7)
$$y_{\mathrm{SF}}=\arg\max_{1\leq t\leq T}\prod o_t,$$
其中$T$是推理跳数的最大值。我们用交叉熵
损失来惩罚。更多细节在 3.7 节中描述
图 4 显示了预测的 SF 过程的示例。根据构造的异构图,如果两个句子节点共享一个参数,则它们具有边。我们从问题节点$q$开始作为第一个输入句子。由于$q$是唯一的输人,因此我们选择$q$作为第一个 SF 候选。在第二步中,选择作为$q$的邻居节点的两个候选句子节点$s_2$和$s_3$作为输入。我们分别将$s_2$和$s_3$馈送到 RNN 层。选择获得较大 logit 得分的句
|
[
[
0.12005615234375,
0.07659912109375,
0.489501953125,
0.07659912109375,
0.489501953125,
0.09027099609375,
0.12005615234375,
0.09027099609375
],
[
0.489501953125,
0.07781982421875,
0.54248046875,
0.07781982421875,
0.54248046875,
0.08905029296875,
0.489501953125,
0.08905029296875
],
[
0.5380859375,
0.08013916015625,
0.56103515625,
0.08013916015625,
0.56103515625,
0.0872802734375,
0.5380859375,
0.0872802734375
],
[
0.56103515625,
0.07781982421875,
0.78271484375,
0.07781982421875,
0.78271484375,
0.0914306640625,
0.56103515625,
0.0914306640625
],
[
0.12176513671875,
0.09320068359375,
0.48779296875,
0.09320068359375,
0.48779296875,
0.10687255859375,
0.12176513671875,
0.10687255859375
],
[
0.486083984375,
0.08074951171875,
0.490234375,
0.08074951171875,
0.490234375,
0.08612060546875,
0.486083984375,
0.08612060546875
],
[
0.12176513671875,
0.11102294921875,
0.1376953125,
0.11102294921875,
0.1376953125,
0.1217041015625,
0.12176513671875,
0.1217041015625
],
[
0.65576171875,
0.11224365234375,
0.66748046875,
0.11224365234375,
0.66748046875,
0.1217041015625,
0.65576171875,
0.1217041015625
],
[
0.72900390625,
0.11224365234375,
0.73876953125,
0.11517333984375,
0.73486328125,
0.1217041015625,
0.724609375,
0.1181640625
],
[
0.7958984375,
0.114013671875,
0.8095703125,
0.114013671875,
0.8095703125,
0.12054443359375,
0.7958984375,
0.12054443359375
],
[
0.8369140625,
0.11224365234375,
0.8671875,
0.11224365234375,
0.8671875,
0.12054443359375,
0.8369140625,
0.12054443359375
],
[
0.5322265625,
0.12353515625,
0.60791015625,
0.12353515625,
0.60791015625,
0.1353759765625,
0.5322265625,
0.1353759765625
],
[
0.6513671875,
0.1217041015625,
0.67236328125,
0.1217041015625,
0.67236328125,
0.1341552734375,
0.6513671875,
0.1341552734375
],
[
0.72314453125,
0.12353515625,
0.74072265625,
0.12353515625,
0.74072265625,
0.1318359375,
0.72314453125,
0.1318359375
],
[
0.78857421875,
0.12353515625,
0.8076171875,
0.12353515625,
0.8076171875,
0.1318359375,
0.78857421875,
0.1318359375
],
[
0.8427734375,
0.12353515625,
0.861328125,
0.12353515625,
0.861328125,
0.133056640625,
0.8427734375,
0.133056640625
],
[
0.8486328125,
0.1383056640625,
0.85400390625,
0.1383056640625,
0.85400390625,
0.1436767578125,
0.8486328125,
0.1436767578125
],
[
0.1368408203125,
0.12469482421875,
0.489501953125,
0.12469482421875,
0.489501953125,
0.1395263671875,
0.1368408203125,
0.1395263671875
],
[
0.12005615234375,
0.141357421875,
0.48779296875,
0.141357421875,
0.48779296875,
0.155029296875,
0.12005615234375,
0.155029296875
],
[
0.52294921875,
0.1436767578125,
0.623046875,
0.144287109375,
0.623046875,
0.1561279296875,
0.52294921875,
0.155029296875
],
[
0.6533203125,
0.1478271484375,
0.68603515625,
0.146728515625,
0.68603515625,
0.15380859375,
0.6533203125,
0.155029296875
],
[
0.705078125,
0.1478271484375,
0.75146484375,
0.1478271484375,
0.75146484375,
0.155029296875,
0.705078125,
0.155029296875
],
[
0.755859375,
0.144287109375,
0.85986328125,
0.144287109375,
0.85986328125,
0.1561279296875,
0.755859375,
0.1561279296875
],
[
0.118408203125,
0.1561279296875,
0.486083984375,
0.1561279296875,
0.486083984375,
0.169189453125,
0.118408203125,
0.169189453125
],
[
0.6533203125,
0.155029296875,
0.66748046875,
0.1591796875,
0.66162109375,
0.168701171875,
0.6484375,
0.1644287109375
],
[
0.724609375,
0.1602783203125,
0.73291015625,
0.1602783203125,
0.73291015625,
0.1644287109375,
0.724609375,
0.1644287109375
],
[
0.7900390625,
0.1602783203125,
0.8037109375,
0.1602783203125,
0.8037109375,
0.166259765625,
0.7900390625,
0.166259765625
],
[
0.63232421875,
0.168701171875,
0.8759765625,
0.168701171875,
0.8759765625,
0.1817626953125,
0.63232421875,
0.1817626953125
],
[
0.12005615234375,
0.17333984375,
0.489501953125,
0.17333984375,
0.489501953125,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.69775390625,
0.1817626953125,
0.8193359375,
0.185302734375,
0.8193359375,
0.198974609375,
0.69775390625,
0.1953125
],
[
0.118408203125,
0.188232421875,
0.486083984375,
0.188232421875,
0.486083984375,
0.201904296875,
0.118408203125,
0.201904296875
],
[
0.12176513671875,
0.2060546875,
0.489501953125,
0.2060546875,
0.489501953125,
0.2197265625,
0.12176513671875,
0.2197265625
],
[
0.51318359375,
0.21142578125,
0.8818359375,
0.21142578125,
0.8818359375,
0.2244873046875,
0.51318359375,
0.2244873046875
],
[
0.1158447265625,
0.218505859375,
0.49365234375,
0.218505859375,
0.49365234375,
0.2423095703125,
0.1158447265625,
0.2423095703125
],
[
0.51318359375,
0.2257080078125,
0.54833984375,
0.22802734375,
0.54736328125,
0.2392578125,
0.51123046875,
0.2369384765625
],
[
0.118408203125,
0.2392578125,
0.295654296875,
0.2381591796875,
0.295654296875,
0.2529296875,
0.118408203125,
0.254150390625
],
[
0.139404296875,
0.255859375,
0.48779296875,
0.255859375,
0.48779296875,
0.26953125,
0.139404296875,
0.26953125
],
[
0.53564453125,
0.257080078125,
0.8818359375,
0.257080078125,
0.8818359375,
0.270751953125,
0.53564453125,
0.270751953125
],
[
0.12005615234375,
0.271484375,
0.495361328125,
0.271484375,
0.495361328125,
0.28515625,
0.12005615234375,
0.28515625
],
[
0.5146484375,
0.271484375,
0.8818359375,
0.2724609375,
0.8818359375,
0.287353515625,
0.5146484375,
0.2861328125
],
[
0.12176513671875,
0.2880859375,
0.450927734375,
0.2880859375,
0.450927734375,
0.3017578125,
0.12176513671875,
0.3017578125
],
[
0.5146484375,
0.2880859375,
0.880859375,
0.2880859375,
0.880859375,
0.3017578125,
0.5146484375,
0.3017578125
],
[
0.139404296875,
0.302734375,
0.48779296875,
0.302734375,
0.48779296875,
0.31640625,
0.139404296875,
0.31640625
],
[
0.51318359375,
0.3046875,
0.8818359375,
0.3046875,
0.8818359375,
0.318359375,
0.51318359375,
0.318359375
],
[
0.12005615234375,
0.319580078125,
0.490234375,
0.318359375,
0.490234375,
0.333251953125,
0.12005615234375,
0.334228515625
],
[
0.51318359375,
0.320556640625,
0.8818359375,
0.320556640625,
0.8818359375,
0.334228515625,
0.51318359375,
0.334228515625
],
[
0.51123046875,
0.334228515625,
0.8818359375,
0.3349609375,
0.8818359375,
0.352783203125,
0.51123046875,
0.3515625
],
[
0.12005615234375,
0.336181640625,
0.48779296875,
0.336181640625,
0.48779296875,
0.349853515625,
0.12005615234375,
0.349853515625
],
[
0.52880859375,
0.1650390625,
0.61865234375,
0.166259765625,
0.61865234375,
0.1776123046875,
0.52880859375,
0.177001953125
],
[
0.12176513671875,
0.3515625,
0.489501953125,
0.3515625,
0.489501953125,
0.365234375,
0.12176513671875,
0.365234375
],
[
0.515625,
0.35400390625,
0.69287109375,
0.35400390625,
0.69287109375,
0.36767578125,
0.515625,
0.36767578125
],
[
0.12176513671875,
0.3681640625,
0.48779296875,
0.3681640625,
0.48779296875,
0.3818359375,
0.12176513671875,
0.3818359375
],
[
0.5341796875,
0.369384765625,
0.8818359375,
0.369384765625,
0.8818359375,
0.383056640625,
0.5341796875,
0.383056640625
],
[
0.12176513671875,
0.385498046875,
0.489501953125,
0.385498046875,
0.489501953125,
0.3984375,
0.12176513671875,
0.3984375
],
[
0.51123046875,
0.38427734375,
0.87744140625,
0.38427734375,
0.87744140625,
0.3984375,
0.51123046875,
0.3984375
],
[
0.118408203125,
0.40087890625,
0.48779296875,
0.40087890625,
0.48779296875,
0.41455078125,
0.118408203125,
0.41455078125
],
[
0.51123046875,
0.399658203125,
0.88330078125,
0.396728515625,
0.88330078125,
0.41748046875,
0.51123046875,
0.42041015625
],
[
0.12005615234375,
0.416259765625,
0.1427001953125,
0.416259765625,
0.1427001953125,
0.429931640625,
0.12005615234375,
0.429931640625
],
[
0.118408203125,
0.4423828125,
0.29296875,
0.4423828125,
0.29296875,
0.4560546875,
0.118408203125,
0.4560546875
],
[
0.5341796875,
0.44482421875,
0.88330078125,
0.446533203125,
0.88330078125,
0.463134765625,
0.5341796875,
0.46142578125
],
[
0.118408203125,
0.4619140625,
0.486083984375,
0.4619140625,
0.486083984375,
0.4755859375,
0.118408203125,
0.4755859375
],
[
0.12005615234375,
0.478515625,
0.489501953125,
0.478515625,
0.489501953125,
0.4921875,
0.12005615234375,
0.4921875
],
[
0.51123046875,
0.474365234375,
0.880859375,
0.4755859375,
0.880859375,
0.490478515625,
0.51123046875,
0.4892578125
],
[
0.12005615234375,
0.495361328125,
0.490234375,
0.495361328125,
0.490234375,
0.5087890625,
0.12005615234375,
0.5087890625
],
[
0.5146484375,
0.4921875,
0.8818359375,
0.4921875,
0.8818359375,
0.505859375,
0.5146484375,
0.505859375
],
[
0.12005615234375,
0.51123046875,
0.48779296875,
0.51123046875,
0.48779296875,
0.52490234375,
0.12005615234375,
0.52490234375
],
[
0.51318359375,
0.50830078125,
0.8818359375,
0.505859375,
0.8818359375,
0.52099609375,
0.51318359375,
0.5224609375
],
[
0.118408203125,
0.52783203125,
0.4130859375,
0.52783203125,
0.4130859375,
0.54150390625,
0.118408203125,
0.54150390625
],
[
0.515625,
0.52392578125,
0.55908203125,
0.525390625,
0.5576171875,
0.53759765625,
0.5146484375,
0.53515625
],
[
0.1376953125,
0.54345703125,
0.48779296875,
0.54345703125,
0.48779296875,
0.55712890625,
0.1376953125,
0.55712890625
],
[
0.57275390625,
0.5517578125,
0.88330078125,
0.5517578125,
0.88330078125,
0.5693359375,
0.57275390625,
0.5693359375
],
[
0.12176513671875,
0.55859375,
0.486083984375,
0.55859375,
0.486083984375,
0.572265625,
0.12176513671875,
0.572265625
],
[
0.5751953125,
0.572265625,
0.69287109375,
0.572265625,
0.69287109375,
0.58740234375,
0.5751953125,
0.58740234375
],
[
0.85791015625,
0.572265625,
0.8818359375,
0.572265625,
0.8818359375,
0.58740234375,
0.85791015625,
0.58740234375
],
[
0.12005615234375,
0.59130859375,
0.48779296875,
0.59130859375,
0.48779296875,
0.60498046875,
0.12005615234375,
0.60498046875
],
[
0.12005615234375,
0.576171875,
0.486083984375,
0.576171875,
0.486083984375,
0.5888671875,
0.12005615234375,
0.5888671875
],
[
0.5146484375,
0.6015625,
0.8818359375,
0.6015625,
0.8818359375,
0.615234375,
0.5146484375,
0.615234375
],
[
0.12005615234375,
0.60791015625,
0.48779296875,
0.60791015625,
0.48779296875,
0.62158203125,
0.12005615234375,
0.62158203125
],
[
0.5146484375,
0.61767578125,
0.884765625,
0.61767578125,
0.884765625,
0.63134765625,
0.5146484375,
0.63134765625
],
[
0.12005615234375,
0.62353515625,
0.48779296875,
0.62353515625,
0.48779296875,
0.63720703125,
0.12005615234375,
0.63720703125
],
[
0.51123046875,
0.6318359375,
0.580078125,
0.63427734375,
0.580078125,
0.6484375,
0.51123046875,
0.646484375
],
[
0.12005615234375,
0.64013671875,
0.486083984375,
0.64013671875,
0.486083984375,
0.65087890625,
0.12005615234375,
0.65087890625
],
[
0.52880859375,
0.6484375,
0.88330078125,
0.6494140625,
0.88330078125,
0.66455078125,
0.52880859375,
0.6630859375
],
[
0.12005615234375,
0.65625,
0.48779296875,
0.65625,
0.48779296875,
0.66943359375,
0.12005615234375,
0.66943359375
],
[
0.5146484375,
0.66650390625,
0.8818359375,
0.66650390625,
0.8818359375,
0.6796875,
0.5146484375,
0.6796875
],
[
0.12005615234375,
0.6728515625,
0.441650390625,
0.6728515625,
0.441650390625,
0.68603515625,
0.12005615234375,
0.68603515625
],
[
0.5146484375,
0.68115234375,
0.58251953125,
0.68408203125,
0.5810546875,
0.69873046875,
0.51318359375,
0.6953125
],
[
0.17041015625,
0.6953125,
0.48779296875,
0.69677734375,
0.48779296875,
0.71728515625,
0.17041015625,
0.71630859375
],
[
0.61376953125,
0.71142578125,
0.78271484375,
0.71142578125,
0.78271484375,
0.728515625,
0.61376953125,
0.728515625
],
[
0.85791015625,
0.71337890625,
0.8818359375,
0.71337890625,
0.8818359375,
0.72705078125,
0.85791015625,
0.72705078125
],
[
0.175537109375,
0.7197265625,
0.45751953125,
0.72021484375,
0.45751953125,
0.7392578125,
0.175537109375,
0.73828125
],
[
0.456787109375,
0.724609375,
0.48779296875,
0.724609375,
0.48779296875,
0.7392578125,
0.456787109375,
0.7392578125
],
[
0.6767578125,
0.7255859375,
0.72119140625,
0.7255859375,
0.72119140625,
0.736328125,
0.6767578125,
0.736328125
],
[
0.118408203125,
0.75,
0.49365234375,
0.75048828125,
0.49365234375,
0.765625,
0.118408203125,
0.76416015625
],
[
0.453369140625,
0.728515625,
0.45751953125,
0.728515625,
0.45751953125,
0.73388671875,
0.453369140625,
0.73388671875
],
[
0.51318359375,
0.75,
0.880859375,
0.75,
0.880859375,
0.76318359375,
0.51318359375,
0.76318359375
],
[
0.12005615234375,
0.765625,
0.491943359375,
0.7666015625,
0.491943359375,
0.78076171875,
0.12005615234375,
0.77978515625
],
[
0.515625,
0.7685546875,
0.8310546875,
0.7685546875,
0.8310546875,
0.779296875,
0.515625,
0.779296875
],
[
0.12176513671875,
0.783203125,
0.489501953125,
0.783203125,
0.489501953125,
0.79638671875,
0.12176513671875,
0.79638671875
],
[
0.5341796875,
0.783203125,
0.8818359375,
0.783203125,
0.8818359375,
0.79638671875,
0.5341796875,
0.79638671875
],
[
0.118408203125,
0.798828125,
0.48779296875,
0.798828125,
0.48779296875,
0.8125,
0.118408203125,
0.8125
],
[
0.5146484375,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.5146484375,
0.8125
],
[
0.12005615234375,
0.8154296875,
0.489501953125,
0.8154296875,
0.489501953125,
0.8291015625,
0.12005615234375,
0.8291015625
],
[
0.5146484375,
0.8154296875,
0.8818359375,
0.8154296875,
0.8818359375,
0.8291015625,
0.5146484375,
0.8291015625
],
[
0.12005615234375,
0.83203125,
0.490234375,
0.83203125,
0.490234375,
0.845703125,
0.12005615234375,
0.845703125
],
[
0.51318359375,
0.830078125,
0.8818359375,
0.83056640625,
0.8818359375,
0.845703125,
0.51318359375,
0.84423828125
],
[
0.1175537109375,
0.84423828125,
0.48779296875,
0.8466796875,
0.48779296875,
0.8642578125,
0.1175537109375,
0.8623046875
],
[
0.5146484375,
0.84716796875,
0.880859375,
0.84716796875,
0.880859375,
0.86083984375,
0.5146484375,
0.86083984375
],
[
0.12005615234375,
0.86328125,
0.48779296875,
0.86328125,
0.48779296875,
0.876953125,
0.12005615234375,
0.876953125
],
[
0.50390625,
0.8662109375,
0.51123046875,
0.8662109375,
0.51123046875,
0.87060546875,
0.50390625,
0.87060546875
],
[
0.51318359375,
0.8623046875,
0.8818359375,
0.86328125,
0.8818359375,
0.87744140625,
0.51318359375,
0.876953125
],
[
0.12005615234375,
0.8798828125,
0.489501953125,
0.8798828125,
0.489501953125,
0.89453125,
0.12005615234375,
0.89453125
],
[
0.489501953125,
0.8818359375,
0.51318359375,
0.8798828125,
0.5146484375,
0.88720703125,
0.490234375,
0.8896484375
],
[
0.51318359375,
0.8798828125,
0.88330078125,
0.8798828125,
0.88330078125,
0.8935546875,
0.51318359375,
0.8935546875
],
[
0.12005615234375,
0.8935546875,
0.2301025390625,
0.8955078125,
0.2301025390625,
0.91015625,
0.12005615234375,
0.90771484375
],
[
0.51318359375,
0.8955078125,
0.880859375,
0.8955078125,
0.880859375,
0.9091796875,
0.51318359375,
0.9091796875
]
] |
[
"缘,例如“播放”和“成为”。这样,共享参数",
"3.5",
"",
"Supporting Fact Prediction",
"节点和其他连接的参数节点具有参数-谓词关",
"",
"系",
"q",
"S3",
"35",
"Done",
"Output path",
"O",
"O",
"",
"O",
"",
"我们基于将在E3.4节中使用的构造图创建",
"两个矩阵。我们构建了基于谓词的语义边缘矩",
"SF hidden states",
"",
"h2",
"WhW4",
"阵K和异构边缘权重矩阵A。语义边缘矩阵",
"",
"T",
"UT",
"q000",
"K是存储谓词的单词索引的矩阵。我们用空",
"S:055",
"的の初始化K的所有元素。如果两个参数节",
"点Ar9,和Arg;与同一谓词相关,我们将该",
"Figure 4: An example of Supporting Fact Predic",
"谓词索引添加到K(Arg;Arg)。有时,Arg:和",
"tion.",
"Ar9i与多个谓词相关",
"同时,异构边缘权重矩阵A是存储不同类型",
"支持事实(SF)预测的目标是找到得出答案",
"的边缘权重的矩阵。我们将边分为三种类型:",
"所必需的SF。受EAsaietal.的启发,我们",
"句子-参数边,参数-参数边和句子-句子边",
"利用RNN进行波束搜索,以找到最佳的文档",
"当两个句子共享一个参数时,句子边缘的权",
"级SF路径。事实证明,这种方法对于选择SF",
"重为1。同时,如果句子和参数之间存在边,",
"推理路径是有效的。请注意,我们的支持事实",
"预测不仅基于BERT和RNN,而且还结合了",
"则句子参数边的权重为1。如果两个参数节",
"BERTcLS+Gs",
"点具有边,则可以通过逐点互信息(PMI)E",
"文档级图节点嵌入Gs",
"(Bouma,2009)来计算权重。我们使用PMI的",
"在形式上,我们使用图形句子嵌人的串联",
"原因是,与传统的同现计数方法E(Yaoetal.,",
"Gs(图E4中的蓝色圆圈)和BERT的[CLS",
"2019)相比,它可以更好地解释节点之间的关",
"令牌表示(橙色圆圈)来表示候选句子Xgand",
"联",
"3.4Graph Encoder",
"Xgand =[Ggand; BERTicLS)(q, Scand)], (4)",
"节3.3介绍了构建异构图的详细过程。接下",
"来,我们引人图卷积网络(KipfandWelling,",
"X其中MATHX_2表示候选人的邻居。之",
"2017)来获得图嵌入。图卷积网络(GraphCon-",
"后,两个具有激活功能的前馈完全连接层确定",
"volutionNetwork,GCN)是一个多层网络,它",
"Scand是否是实际的SF。选择SF的过程如下",
"直接使用图输入并生成图的嵌入向量",
"所示:",
"此外,GCN在合并高阶邻域节点中起着至关",
"ht =o(Wht-1+UXgand.+bh), (5)",
"重要的作用,并有助于捕获结构图信息。SRL",
"Ot = Vht + bo,",
"(6)",
"边,使GCN的表示更加可解释。例如,文档",
"图使用句子的语义结构来形成图节点和语义",
"其中ht是第t个SF推理步骤中RNN的隐",
"级子图的GCN节点向量有助于找到支持的事",
"藏状态,α是激活函数。参数为W、U、V、",
"实路径,而参数谓词级子图的GCN节点向量",
"bh和bo",
"有助于识别潜在答案的文本跨度。在这项工作",
"最后,我们使用波束搜索输出SF路径,选",
"中,我们考虑使用两层GCN来允许消息传递",
"择得分最高的路径作为我们的最终支持事实答",
"操作并学习图嵌入。图嵌入的计算如下:",
"案ySF:",
"E1 =(D-AD-)[XArg;Xs]W1,(2)",
"ysF = arg max IIot,",
"(7)",
"G=(D-AD-)f(Ei)W2,",
"(3)",
"1<t<T",
"其中E1和G是两个GCN层的图嵌入输出,",
"",
"其中T是推理跳数的最大值。我们用交叉",
"它们通过堆叠GCN层合并了高阶邻域节点。",
"损失来惩罚。更多细节在3.7节中描述",
"f(α)是激活函数,D是图的度矩阵((Kipf and",
"图4显示了预测的SF过程的示例。根据",
"Welling,2017),A是异质边权重矩阵,Wi和",
"构造的异构图,如果两个句子节点共享一个参",
"W2是学习参数。X表示节点嵌入,包括参数",
"数,则它们具有边。我们从问题节点开始作",
"谓词嵌人XArg和句子嵌入Xs。请注意,每个",
"为第一个输入句子。由于9是唯一的输入,因",
"参数嵌入XiArg是参数节点Argi嵌入和KArg",
"此我们选择q作为第一个SF候选。在第二步",
"的平均嵌人的串联。给定G,我们使用Gs表",
"",
"中,选择作为9的邻居节点的两个候选句子节",
"示文档级节点嵌入,并使用GArg表示参数谓",
"",
"点82和83作为输人。我们分别将S2和S3馈",
"词级节点嵌入",
"送到RNN层。选择获得较大logit得分的句"
] |
{
"arxiv_id": "2010.03604",
"language": "zh",
"page_idx": 3
}
|
||
2010.03604-zh-4
|
2010.03604-zh-4.jpg
|
子$s_3$作为推理路径的第二个 SF 候选。在第 的两个官方评估。联合 EM 和 F1 分数用于衡三步中,$s_{4}$和$s_{5}$是第二个 SF $s_{3}$的邻居节点。量答案和支持事实预测的最终性能。我们在牵然后模型选择 $s_5$ 作为第三个 SF。最后,$s_1$, 引器设置上评估模型。对于分散器设置中的每$s_3$和$s_5$是支持事实
# 3.6 Answer Span Prediction
答案跨度预测模块的目标是为最终答案输出“是”,“否”或答案跨度。我们首先设计一个基于 BERT 的答案类型分类和另外两个完全连接的前馈层。如果类型分类的最高概率是“是” 或“否”,我们直接输出答案。类型分类的输入是$BERT_{[CLS]}$。答案类型$y_type$可以计算为
$$y_{\mathrm{type}}=MLP_{\mathrm{type}}([BERT_{[CLS]}]).$$
如果答案不是“是”或“否”,我们计算每个令牌的 logit 以找到答案范围的开始位置$i$和结束位置$j$ 。使用 BERT 作为两个完全连接层的输入来计算 logit。输人令牌表示是 BERT 令牌表示$BERT_tok$和图嵌入$G_Arg$的串联。答案范围$y_{ans}$可以计算为
(8)
$$\begin{aligned}y_{\mathrm{ans}}&=\arg\max_{i,j,\:i\leq j}y_{start}^{i}y_{end}^{j},\\y_{\mathrm{start}}^{i}&=MLP_{\mathrm{start}}([BERT_{tok}^{i};G_{Arg}^{i}]),\\y_{\mathrm{end}}^{i}&=MLP_{\mathrm{end}}([BERT_{tok}^{i};G_{Arg}^{i}]),\end{aligned}$$
, (9) , (10)
,其中$y_\mathrm{ans}$是(开始位置,结束位置)的索引对,$y_\mathrm{start}^i$表示第$i$个单词的 logit 得分作为开始位置,而$y_\mathrm{end}^i$表示第 $i$ 个单词的 logit 得分作为
## 3.7 Objective Function
受$\overline{\mathrm{E}}$Xiao et al.和$\underline{\mathrm{E}}$Tu et al.的启发,联合目标函数包括跨度预测$L_\mathrm{ans}$,答案类型分类$L_{\mathrm{type}}$和支持事实预测$L_\mathrm{SF}$的交叉熵损失之和。损失函数计算如下:
$$\begin{aligned}L_{\mathrm{joint}}&=L_{\mathrm{ans}}+L_{\mathrm{SF}}+L_{\mathrm{type}}\\&=\lambda_{1}(-y_{\mathrm{start}}\log y_{\mathrm{start}}-y_{\mathrm{end}}\log y_{\mathrm{end}})\\&-\lambda_{2}y_{\mathrm{SF}}\log y_{\mathrm{SF}}-\lambda_{3}y_{\mathrm{type}}\log y_{\mathrm{type}},\end{aligned}$$
其中$\lambda_1$ 、$\lambda_2$和$\lambda_3$是加权因子4 Experiments and Results 4.1 Dataset
我们使用 HotpotQA 数据集 (Yang et al., 2018) , 这是一个多跳 QA 任务的流行基准, 用于 SRLGRN 的主要评估。具体来说,此数据集中包含两个子任务:答案预测和支持事实预测。对于每个子任务,精确匹配(EM)和部分匹配(F1)是遵循$\overline{\mathrm{ERajpurkar~et~al.~}}$的工作
个问题,提供了两个黄金段落和 8 个分散器段落,这些段落由维基百科的高质量 TF-IDF 检索器收集。只有黄金段落包括基本事实的答案和支持事实。此外,我们使用 MRC 数据集,斯
坦福问答数据集(SQuAD) v1。1 (Rajpurkar et al., 2016) 和 v2。0 (Rajpurkar et al., 2018) ,以展示我们模型的语言理解能力
4.2 Implementation Details
我们使用 PyTorch 实现了 SRLGRN 我们使用预训练的基于 BERT 的语言模型,该模型具有12 层,768 维隐藏大小,12 个自注意头以及围绕 110$M$ 的参数E(Devlin et al., 2018)。我们保留 256 个单词作为每个段落的最大单词数。对于图构造模块,我们利用来自 AllenNLP $^{2}$ 的语义角色标记模型E$( Shi and Lin, 2019)$ 来提取谓词-参数结构。对于图形编码器模块,我们使用 300 维 GloVe (Pennington et al.,2014) 预训练词嵌入。利用 Adam 优化器 (Kingma and Ba, 2015) 对模型进行优化
## 4.3 Baselines
Baseline Model (Yang et al.,2018) 利用 Clark and Gardner 方法。该模型包括一些基于自我注意和双注意的神经模块 (Seo et al., 2017)
${\mathrm{DFGN}}$ $( {\mathrm{Xiao~et~al. , ~2019) ~是 ~HotpotQA~}}$任务的强基线方法。DFGN 从文本构建实体图。此外,DFGN 包括一个动态融合层,有助于找到相关的支持事实
SAE E(Tu et al.,2019)是用于多跳 QA 的有效选择,回答和解释系统。SAE 是一个管道系统,它首先选择相关段落,并使用选定的段落来预测答案和支持事实
## 4.4 Results
表 1显示了 HotpotQA(干扰设置)的结果。我们可以观察到 SRLGRN 模型超过了大多数已发表的结果。我们的模型获得的联合精确匹配(EM)得分为 39。41%和部分匹配(F1) 得分为 66。37 % 对接头性能的影响。我们的SRLGRN 模型相对于基线模型E(Yang et al., 2018) ,在关节 EM 上的$28.58\%$和 F1 上的$26.21\%$有了显着改进。与当前发布的最新技术 SAE 模型$\overline{\mathrm{E}}($Tu et al.,2019)相比,我们的模型在答案性能上改进了2.29% 和 F1 的 EM ,
${^{2}\mathrm{https://demo.allennlp.org/semantic-role-labeling.}}$
|
[
[
0.12176513671875,
0.07659912109375,
0.489501953125,
0.07659912109375,
0.489501953125,
0.09027099609375,
0.12176513671875,
0.09027099609375
],
[
0.51318359375,
0.07598876953125,
0.8818359375,
0.07659912109375,
0.8818359375,
0.0914306640625,
0.51318359375,
0.09027099609375
],
[
0.1234130859375,
0.09320068359375,
0.496337890625,
0.09320068359375,
0.496337890625,
0.10687255859375,
0.1234130859375,
0.10687255859375
],
[
0.515625,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.515625,
0.10687255859375
],
[
0.1175537109375,
0.105712890625,
0.497802734375,
0.10809326171875,
0.497802734375,
0.1258544921875,
0.1175537109375,
0.12353515625
],
[
0.5146484375,
0.1092529296875,
0.8818359375,
0.10986328125,
0.8818359375,
0.12353515625,
0.5146484375,
0.122314453125
],
[
0.12005615234375,
0.1258544921875,
0.2822265625,
0.1258544921875,
0.2822265625,
0.1395263671875,
0.12005615234375,
0.1395263671875
],
[
0.51708984375,
0.1258544921875,
0.8818359375,
0.1258544921875,
0.8818359375,
0.1395263671875,
0.51708984375,
0.1395263671875
],
[
0.5146484375,
0.14013671875,
0.880859375,
0.14013671875,
0.880859375,
0.15380859375,
0.5146484375,
0.15380859375
],
[
0.12005615234375,
0.152587890625,
0.361083984375,
0.152587890625,
0.361083984375,
0.163330078125,
0.12005615234375,
0.163330078125
],
[
0.5146484375,
0.15673828125,
0.8818359375,
0.157958984375,
0.8818359375,
0.171630859375,
0.5146484375,
0.17041015625
],
[
0.12176513671875,
0.171630859375,
0.48779296875,
0.171630859375,
0.48779296875,
0.185302734375,
0.12176513671875,
0.185302734375
],
[
0.5146484375,
0.17333984375,
0.8818359375,
0.17333984375,
0.8818359375,
0.18701171875,
0.5146484375,
0.18701171875
],
[
0.12005615234375,
0.188232421875,
0.489501953125,
0.188232421875,
0.489501953125,
0.203125,
0.12005615234375,
0.203125
],
[
0.51318359375,
0.189453125,
0.880859375,
0.189453125,
0.880859375,
0.203125,
0.51318359375,
0.203125
],
[
0.12005615234375,
0.2037353515625,
0.489501953125,
0.2037353515625,
0.489501953125,
0.21728515625,
0.12005615234375,
0.21728515625
],
[
0.51123046875,
0.2060546875,
0.880859375,
0.2060546875,
0.880859375,
0.2197265625,
0.51123046875,
0.2197265625
],
[
0.118408203125,
0.2197265625,
0.489501953125,
0.218505859375,
0.489501953125,
0.2327880859375,
0.118408203125,
0.2340087890625
],
[
0.51318359375,
0.221435546875,
0.791015625,
0.221435546875,
0.791015625,
0.235107421875,
0.51318359375,
0.235107421875
],
[
0.12005615234375,
0.236328125,
0.48779296875,
0.236328125,
0.48779296875,
0.2493896484375,
0.12005615234375,
0.2493896484375
],
[
0.12005615234375,
0.2529296875,
0.47607421875,
0.2529296875,
0.47607421875,
0.267333984375,
0.12005615234375,
0.267333984375
],
[
0.5146484375,
0.2493896484375,
0.75146484375,
0.2493896484375,
0.75146484375,
0.26318359375,
0.5146484375,
0.26318359375
],
[
0.5146484375,
0.26953125,
0.880859375,
0.26953125,
0.880859375,
0.283203125,
0.5146484375,
0.283203125
],
[
0.17041015625,
0.281982421875,
0.4306640625,
0.28076171875,
0.4306640625,
0.298583984375,
0.17041015625,
0.2998046875
],
[
0.5146484375,
0.28515625,
0.87890625,
0.28515625,
0.87890625,
0.298583984375,
0.5146484375,
0.298583984375
],
[
0.5146484375,
0.302734375,
0.8818359375,
0.302734375,
0.8818359375,
0.31640625,
0.5146484375,
0.31640625
],
[
0.14111328125,
0.3134765625,
0.486083984375,
0.3134765625,
0.486083984375,
0.32373046875,
0.14111328125,
0.32373046875
],
[
0.51318359375,
0.317626953125,
0.880859375,
0.317626953125,
0.880859375,
0.330810546875,
0.51318359375,
0.330810546875
],
[
0.12176513671875,
0.32666015625,
0.48779296875,
0.32666015625,
0.48779296875,
0.34033203125,
0.12176513671875,
0.34033203125
],
[
0.5146484375,
0.3349609375,
0.880859375,
0.3349609375,
0.880859375,
0.3486328125,
0.5146484375,
0.3486328125
],
[
0.118408203125,
0.342529296875,
0.48779296875,
0.34326171875,
0.48779296875,
0.358154296875,
0.118408203125,
0.35693359375
],
[
0.51318359375,
0.350830078125,
0.87744140625,
0.349853515625,
0.87744140625,
0.364013671875,
0.51318359375,
0.365234375
],
[
0.12005615234375,
0.35986328125,
0.48779296875,
0.35986328125,
0.48779296875,
0.37353515625,
0.12005615234375,
0.37353515625
],
[
0.5146484375,
0.3681640625,
0.87890625,
0.3681640625,
0.87890625,
0.37890625,
0.5146484375,
0.37890625
],
[
0.12005615234375,
0.374755859375,
0.48779296875,
0.3759765625,
0.48779296875,
0.39013671875,
0.12005615234375,
0.3896484375
],
[
0.5146484375,
0.38427734375,
0.8818359375,
0.38427734375,
0.8818359375,
0.39794921875,
0.5146484375,
0.39794921875
],
[
0.12005615234375,
0.392578125,
0.312255859375,
0.392578125,
0.312255859375,
0.40625,
0.12005615234375,
0.40625
],
[
0.515625,
0.399658203125,
0.880859375,
0.399658203125,
0.880859375,
0.413330078125,
0.515625,
0.413330078125
],
[
0.1485595703125,
0.416259765625,
0.35693359375,
0.419189453125,
0.35693359375,
0.441162109375,
0.1485595703125,
0.438232421875
],
[
0.5146484375,
0.41455078125,
0.880859375,
0.4150390625,
0.880859375,
0.429931640625,
0.5146484375,
0.4287109375
],
[
0.46337890625,
0.421630859375,
0.489501953125,
0.421630859375,
0.489501953125,
0.435791015625,
0.46337890625,
0.435791015625
],
[
0.2149658203125,
0.435791015625,
0.26611328125,
0.435791015625,
0.26611328125,
0.446533203125,
0.2149658203125,
0.446533203125
],
[
0.5146484375,
0.431640625,
0.76318359375,
0.431640625,
0.76318359375,
0.4453125,
0.5146484375,
0.4453125
],
[
0.145263671875,
0.451904296875,
0.4375,
0.451904296875,
0.4375,
0.466064453125,
0.145263671875,
0.466064453125
],
[
0.432373046875,
0.457275390625,
0.4375,
0.457275390625,
0.4375,
0.4619140625,
0.432373046875,
0.4619140625
],
[
0.444091796875,
0.457275390625,
0.453369140625,
0.457275390625,
0.453369140625,
0.46142578125,
0.444091796875,
0.46142578125
],
[
0.4609375,
0.453125,
0.48779296875,
0.453125,
0.48779296875,
0.465576171875,
0.4609375,
0.465576171875
],
[
0.51123046875,
0.457275390625,
0.63818359375,
0.458984375,
0.63818359375,
0.473876953125,
0.51123046875,
0.471435546875
],
[
0.151123046875,
0.471435546875,
0.489501953125,
0.47021484375,
0.489501953125,
0.488037109375,
0.151123046875,
0.4892578125
],
[
0.52294921875,
0.479736328125,
0.6943359375,
0.479736328125,
0.6943359375,
0.493408203125,
0.52294921875,
0.493408203125
],
[
0.68603515625,
0.48095703125,
0.88330078125,
0.48095703125,
0.88330078125,
0.49462890625,
0.68603515625,
0.49462890625
],
[
0.5146484375,
0.495361328125,
0.88330078125,
0.496337890625,
0.88330078125,
0.51123046875,
0.5146484375,
0.51025390625
],
[
0.1275634765625,
0.50732421875,
0.1368408203125,
0.50732421875,
0.1368408203125,
0.51123046875,
0.1275634765625,
0.51123046875
],
[
0.133544921875,
0.501953125,
0.486083984375,
0.50048828125,
0.486083984375,
0.515625,
0.133544921875,
0.5166015625
],
[
0.12005615234375,
0.5185546875,
0.486083984375,
0.5185546875,
0.486083984375,
0.533203125,
0.12005615234375,
0.533203125
],
[
0.515625,
0.51318359375,
0.8818359375,
0.51318359375,
0.8818359375,
0.52685546875,
0.515625,
0.52685546875
],
[
0.12005615234375,
0.53369140625,
0.48779296875,
0.53369140625,
0.48779296875,
0.548828125,
0.12005615234375,
0.548828125
],
[
0.51318359375,
0.52978515625,
0.61279296875,
0.52978515625,
0.61279296875,
0.54443359375,
0.51318359375,
0.54443359375
],
[
0.12005615234375,
0.5517578125,
0.15869140625,
0.5517578125,
0.15869140625,
0.56396484375,
0.12005615234375,
0.56396484375
],
[
0.5224609375,
0.5556640625,
0.58251953125,
0.5556640625,
0.58251953125,
0.56787109375,
0.5224609375,
0.56787109375
],
[
0.599609375,
0.55419921875,
0.8818359375,
0.5546875,
0.8818359375,
0.5693359375,
0.599609375,
0.568359375
],
[
0.5146484375,
0.5693359375,
0.8818359375,
0.57080078125,
0.8818359375,
0.5849609375,
0.5146484375,
0.58447265625
],
[
0.12005615234375,
0.576171875,
0.32080078125,
0.576171875,
0.32080078125,
0.5888671875,
0.12005615234375,
0.5888671875
],
[
0.515625,
0.58740234375,
0.8818359375,
0.58740234375,
0.8818359375,
0.60107421875,
0.515625,
0.60107421875
],
[
0.12005615234375,
0.595703125,
0.486083984375,
0.5966796875,
0.486083984375,
0.61083984375,
0.12005615234375,
0.60986328125
],
[
0.515625,
0.60400390625,
0.6630859375,
0.60400390625,
0.6630859375,
0.61767578125,
0.515625,
0.61767578125
],
[
0.12176513671875,
0.6123046875,
0.48779296875,
0.6123046875,
0.48779296875,
0.626953125,
0.12176513671875,
0.626953125
],
[
0.12005615234375,
0.62890625,
0.486083984375,
0.62890625,
0.486083984375,
0.6435546875,
0.12005615234375,
0.6435546875
],
[
0.51708984375,
0.626953125,
0.880859375,
0.62890625,
0.880859375,
0.6435546875,
0.51708984375,
0.64111328125
],
[
0.12176513671875,
0.6455078125,
0.313232421875,
0.6455078125,
0.313232421875,
0.6591796875,
0.12176513671875,
0.6591796875
],
[
0.515625,
0.6455078125,
0.880859375,
0.6455078125,
0.880859375,
0.6591796875,
0.515625,
0.6591796875
],
[
0.51708984375,
0.6611328125,
0.8818359375,
0.6611328125,
0.8818359375,
0.6748046875,
0.51708984375,
0.6748046875
],
[
0.1368408203125,
0.6748046875,
0.35107421875,
0.6748046875,
0.35107421875,
0.689453125,
0.1368408203125,
0.689453125
],
[
0.515625,
0.677734375,
0.71875,
0.677734375,
0.71875,
0.69140625,
0.515625,
0.69140625
],
[
0.1796875,
0.69482421875,
0.47021484375,
0.69482421875,
0.47021484375,
0.708984375,
0.1796875,
0.708984375
],
[
0.5146484375,
0.70361328125,
0.623046875,
0.70361328125,
0.623046875,
0.71875,
0.5146484375,
0.71875
],
[
0.17626953125,
0.71142578125,
0.45166015625,
0.71337890625,
0.45166015625,
0.73095703125,
0.17626953125,
0.728515625
],
[
0.515625,
0.72705078125,
0.88330078125,
0.72705078125,
0.88330078125,
0.74072265625,
0.515625,
0.74072265625
],
[
0.12005615234375,
0.7421875,
0.3720703125,
0.7421875,
0.3720703125,
0.755859375,
0.12005615234375,
0.755859375
],
[
0.5146484375,
0.7412109375,
0.880859375,
0.7412109375,
0.880859375,
0.7548828125,
0.5146484375,
0.7548828125
],
[
0.51708984375,
0.7587890625,
0.8818359375,
0.7587890625,
0.8818359375,
0.7724609375,
0.51708984375,
0.7724609375
],
[
0.1175537109375,
0.7685546875,
0.372802734375,
0.76953125,
0.372802734375,
0.78369140625,
0.1175537109375,
0.783203125
],
[
0.5146484375,
0.77392578125,
0.8818359375,
0.77392578125,
0.8818359375,
0.78759765625,
0.5146484375,
0.78759765625
],
[
0.1175537109375,
0.7919921875,
0.231689453125,
0.79345703125,
0.231689453125,
0.80810546875,
0.1175537109375,
0.80712890625
],
[
0.515625,
0.79150390625,
0.8818359375,
0.79150390625,
0.8818359375,
0.8046875,
0.515625,
0.8046875
],
[
0.5146484375,
0.80712890625,
0.880859375,
0.80712890625,
0.880859375,
0.82080078125,
0.5146484375,
0.82080078125
],
[
0.118408203125,
0.8134765625,
0.489501953125,
0.81396484375,
0.489501953125,
0.8291015625,
0.118408203125,
0.82763671875
],
[
0.5146484375,
0.822265625,
0.8818359375,
0.822265625,
0.8818359375,
0.8359375,
0.5146484375,
0.8359375
],
[
0.12005615234375,
0.83056640625,
0.489501953125,
0.83056640625,
0.489501953125,
0.84423828125,
0.12005615234375,
0.84423828125
],
[
0.51318359375,
0.8388671875,
0.8818359375,
0.8388671875,
0.8818359375,
0.8525390625,
0.51318359375,
0.8525390625
],
[
0.12176513671875,
0.84716796875,
0.489501953125,
0.84716796875,
0.489501953125,
0.86083984375,
0.12176513671875,
0.86083984375
],
[
0.5146484375,
0.8525390625,
0.8818359375,
0.85498046875,
0.8818359375,
0.869140625,
0.5146484375,
0.86767578125
],
[
0.1234130859375,
0.865234375,
0.486083984375,
0.865234375,
0.486083984375,
0.8759765625,
0.1234130859375,
0.8759765625
],
[
0.5146484375,
0.87060546875,
0.88330078125,
0.87060546875,
0.88330078125,
0.88525390625,
0.5146484375,
0.88525390625
],
[
0.118408203125,
0.8798828125,
0.48779296875,
0.8798828125,
0.48779296875,
0.8935546875,
0.118408203125,
0.8935546875
],
[
0.12176513671875,
0.8955078125,
0.489501953125,
0.8955078125,
0.489501953125,
0.91015625,
0.12176513671875,
0.91015625
],
[
0.53076171875,
0.89453125,
0.87744140625,
0.896484375,
0.87744140625,
0.9111328125,
0.53076171875,
0.9091796875
]
] |
[
"子83作为推理路径的第二个SF候选。在第",
"的两个官方评估。联合EM和F1分数用于衡",
"三步中,84和S5是第二个SFS3的邻居节点。",
"量答案和支持事实预测的最终性能。我们在牵",
"然后模型选择85作为第三个SF。最后,S1,",
"引器设置上评估模型。对于分散器设置中的每",
"83和85是支持事实",
"个问题,提供了两个黄金段落和8个分散器段",
"落,这些段落由维基百科的高质量TF-IDF检",
"3.6AnswerSpanPrediction",
"索器收集。只有黄金段落包括基本事实的答案",
"答案跨度预测模块的目标是为最终答案输出",
"和支持事实。此外,我们使用MRC数据集,斯",
"“是”,“否”或答案跨度。我们首先设计一个基",
"坦福问答数据集(SQuAD)vl。1(Rajpurkar",
"于BERT的答案类型分类和另外两个完全连",
"et al., 2016) 和 v2。0 (Rajpurkar et al., 2018)",
"接的前馈层。如果类型分类的最高概率是“是”",
",以展示我们模型的语言理解能力",
"或“否”,我们直接输出答案。类型分类的输人",
"是BERTicLSl。答案类型ytype可以计算为",
"4.2Implementation Details",
"我们使用PyTorch实现了SRLGRN我们使用",
"Ytype = MLPtype([BERTicLsj]),",
"预训练的基于BERT的语言模型,该模型具有",
"12层,768维隐藏大小,12个自注意头以及围",
"如果答案不是“是”或“否”,我们计算每个",
"绕110M的参数E(Devlinetal.2018)。我们",
"令牌的logit以找到答案范围的开始位置i和",
"保留256个单词作为每个段落的最大单词数。",
"结束位置j。使用BERT作为两个完全连接",
"对于图构造模块,我们利用来自AllenNLP",
"层的输人来计算logit。输人令牌表示是BERT",
"的语义角色标记模型Fl(ShiandLin,2019)来",
"令牌表示BERTtok和图嵌人GArg的串联。答",
"提取谓词-参数结构。对于图形编码器模块,我",
"案范围Yans可以计算为",
"们使用300维GloVe(Penningtonetal,2014)",
"Yans = arg max y'startyend?",
"预训练词嵌入。利用Adam优化器(Kingma",
"(8)",
"ij,ij",
"andBa,2015)对模型进行优化",
"start = MLPstart([BERTtok; GArql),",
".",
"",
"(9)",
"4.3Baselines",
"Yend = MLPend([BERTtok;GArg]),(10)",
"Baseline Model",
"(Yang et al.,2018)利",
"用ClarkandGardner方法。该模型包括一",
"",
"其中yans是(开始位置,结束位置)的索引",
"对,ystart表示第i个单词的logit得分作为开",
"些基于自我注意和双注意的神经模块(Seo",
"始位置,而yend表示第i个单词的logit得分",
"et al., 2017)",
"作为",
"DFGN",
"(Xiaoetal.,2019)是HotpotQA任",
"务的强基线方法。DFGN从文本构建实体图。",
"3.7Objective Function",
"此外,DFGN包括一个动态融合层,有助于找",
"受EXiaoetal.和ETuetal.的启发,联合",
"到相关的支持事实",
"目标函数包括跨度预测Lans,答案类型分类",
"Ltype和支持事实预测LsF的交叉炳损失之",
"SAEE(Tuetal.,2019)是用于多跳QA的",
"和。损失函数计算如下:",
"有效选择,回答和解释系统。SAE是一个管道",
"系统,它首先选择相关段落,并使用选定的段",
"Ljoint = Lans + LsF + Ltype",
"落来预测答案和支持事实",
"= Ai(-start log Ystart - Yend log Yend)",
"4.4Results",
"- 入2sF log ysF - A3Ytype log Ytype",
"表1显示了HotpotQA(干扰设置)的结果。",
"其中入12和3是加权因子",
"我们可以观察到SRLGRN模型超过了大多数",
"已发表的结果。我们的模型获得的联合精确匹",
"4Experiments and Results",
"配(EM)得分为39。41%和部分匹配(F1)",
"4.1Dataset",
"得分为66。37%对接头性能的影响。我们的",
"SRLGRN模型相对于基线模型E(Yang etal.",
"我们使用HotpotQA数据集(Yangetal.,",
"2018),在关节EM上的28.58%和F1上的",
"2018),这是一个多跳QA任务的流行基准,",
"26.21%有了显着改进。与当前发布的最新技",
"用于SRLGRN的主要评估。具体来说,此数",
"术SAE模型E(Tuetal.,2019)相比,我们的",
"据集中包含两个子任务:答案预测和支持事实",
"模型在答案性能上改进了2.29%和F1的EM,",
"预测。对于每个子任务,精确匹配(EM)和部",
"分匹配(F1)是遵循ERajpurkaretal.的工作",
"2https://demo.allennlp.org/semantic-role-labeling."
] |
{
"arxiv_id": "2010.03604",
"language": "zh",
"page_idx": 4
}
|
||
1912.03641-zh-0
|
1912.03641-zh-0.jpg
|
# SaLite:A light-weight model for salient object detection
Kitty Varghese$^1[0000-0003-4459-4130]$ and Sauradip Nag$^{1[0000-0002-2943-6663]}$
No Institute Given
<NEXMAT\_LINX。显著对象检测包括在显著对象上检测和创建二进制掩码,如图 1 所示。显著性的一个有趣的应用是在机器人中,突出的物体被作为导航和决策的地标。基于深度的架构用于显著性预测,如[1]中所述,可以提供更好的准确性。Liang 等人。[2] 使用视觉同时定位和映射 (SLAM) 的显著性来根据检测到的显著对象决定下一个决策。大多数处理是使用微控制器完成的,因为它需要实时完成 (或延迟更少)。此后,有必要提出一个轻量级的深度架构模型来检测显著性检测,因为它需要更少的内存空间,低功耗并且对数据传输的带宽要求更低。另一个重要方面是解析场景上下文,该场景上下文在显着对象
<FigureHere>
Fig.1:(L-R) Image and it ground truth with the saliency map predicted using
SaLite and PiCANet.
的检测中起着重要作用。上下文指定在给定图像中可以找到的内容,其中稀有对象被视为显着对象。基于上述动机,本文提出了一种新的轻量级多上下文深度学习框架,用于显著性检测
## 1 Related Works
虽然手工制作的功能[3-5] ,允许更快地检测突出对象,但它在具有挑战性的场景中失败,其中突出对象和非突出对象具有低对比度差异,并且突出对象不在前景中。由于卷积神经网络(CNN)能够捕获多级和多尺度特征,因此已通过使用卷积神经网络 (CNN) 解决了上述大多数挑战。。Li 等人。[6] 利用深度学习网络捕获的高级特征和低级特征来预测显著性检测图。Zhao 等人。[7] 已在本地和全局上下文中使用 CNN 来预测显着性图。Wang 等人。[8] 采用递归全卷积网络(RFCN) 模型来迭代地细化显着映射。Hou 等人的作品。[9] 使用短连接,以便将较高级别的功能合并到较低级别的功能中,这反过来又有助于更好地定位显着对象。Liu 等人。|10|已使用全局和局部视图 CNN 使用分层递归卷积神经网络(HRCNN)预测显著性图。
如上所述,在使用轻量级模型来预测显著性图方面存在巨大差距,我们提出的
名为“SaLite”的模型克服了这一差距。SaLite 的主要贡献如下:
|
[
[
0.2303466796875,
0.146484375,
0.771484375,
0.146484375,
0.771484375,
0.1610107421875,
0.2303466796875,
0.1610107421875
],
[
0.450927734375,
0.169189453125,
0.5537109375,
0.169189453125,
0.5537109375,
0.184326171875,
0.450927734375,
0.184326171875
],
[
0.2279052734375,
0.2108154296875,
0.77392578125,
0.208984375,
0.77392578125,
0.2298583984375,
0.2279052734375,
0.231689453125
],
[
0.438720703125,
0.242431640625,
0.56640625,
0.242431640625,
0.56640625,
0.255615234375,
0.438720703125,
0.255615234375
],
[
0.2459716796875,
0.26953125,
0.78369140625,
0.26953125,
0.78369140625,
0.27978515625,
0.2459716796875,
0.27978515625
],
[
0.2197265625,
0.28271484375,
0.78369140625,
0.28271484375,
0.78369140625,
0.296630859375,
0.2197265625,
0.296630859375
],
[
0.221435546875,
0.2998046875,
0.78173828125,
0.2998046875,
0.78173828125,
0.31005859375,
0.221435546875,
0.31005859375
],
[
0.22216796875,
0.314453125,
0.78173828125,
0.314453125,
0.78173828125,
0.324462890625,
0.22216796875,
0.324462890625
],
[
0.2197265625,
0.32763671875,
0.78515625,
0.32763671875,
0.78515625,
0.341552734375,
0.2197265625,
0.341552734375
],
[
0.221435546875,
0.343505859375,
0.78369140625,
0.343505859375,
0.78369140625,
0.356689453125,
0.221435546875,
0.356689453125
],
[
0.2197265625,
0.356689453125,
0.78369140625,
0.35791015625,
0.78369140625,
0.37255859375,
0.2197265625,
0.371826171875
],
[
0.2197265625,
0.373779296875,
0.78369140625,
0.373779296875,
0.78369140625,
0.386962890625,
0.2197265625,
0.386962890625
],
[
0.22216796875,
0.501953125,
0.78173828125,
0.501953125,
0.78173828125,
0.51513671875,
0.22216796875,
0.51513671875
],
[
0.42724609375,
0.51806640625,
0.576171875,
0.51806640625,
0.576171875,
0.52880859375,
0.42724609375,
0.52880859375
],
[
0.2197265625,
0.5625,
0.78369140625,
0.5625,
0.78369140625,
0.57568359375,
0.2197265625,
0.57568359375
],
[
0.2181396484375,
0.57568359375,
0.78369140625,
0.57568359375,
0.78369140625,
0.5888671875,
0.2181396484375,
0.5888671875
],
[
0.2197265625,
0.59228515625,
0.43310546875,
0.59228515625,
0.43310546875,
0.60595703125,
0.2197265625,
0.60595703125
],
[
0.21728515625,
0.62890625,
0.400390625,
0.6298828125,
0.400390625,
0.64453125,
0.21728515625,
0.64306640625
],
[
0.221435546875,
0.662109375,
0.78173828125,
0.662109375,
0.78173828125,
0.67236328125,
0.221435546875,
0.67236328125
],
[
0.2181396484375,
0.6748046875,
0.78369140625,
0.67529296875,
0.78369140625,
0.689453125,
0.2181396484375,
0.68798828125
],
[
0.221435546875,
0.69140625,
0.78369140625,
0.69140625,
0.78369140625,
0.705078125,
0.221435546875,
0.705078125
],
[
0.221435546875,
0.70556640625,
0.78369140625,
0.70556640625,
0.78369140625,
0.7197265625,
0.221435546875,
0.7197265625
],
[
0.221435546875,
0.7197265625,
0.78369140625,
0.7197265625,
0.78369140625,
0.73291015625,
0.221435546875,
0.73291015625
],
[
0.221435546875,
0.7373046875,
0.78173828125,
0.7373046875,
0.78173828125,
0.74755859375,
0.221435546875,
0.74755859375
],
[
0.2181396484375,
0.75,
0.78369140625,
0.75048828125,
0.78369140625,
0.76513671875,
0.2181396484375,
0.7646484375
],
[
0.2181396484375,
0.76513671875,
0.78173828125,
0.76513671875,
0.78173828125,
0.77880859375,
0.2181396484375,
0.77880859375
],
[
0.2197265625,
0.78076171875,
0.78369140625,
0.78076171875,
0.78369140625,
0.79443359375,
0.2197265625,
0.79443359375
],
[
0.2197265625,
0.796875,
0.495849609375,
0.796875,
0.495849609375,
0.81005859375,
0.2197265625,
0.81005859375
],
[
0.2197265625,
0.81005859375,
0.78369140625,
0.81103515625,
0.78369140625,
0.82568359375,
0.2197265625,
0.82470703125
],
[
0.2197265625,
0.8271484375,
0.6806640625,
0.8271484375,
0.6806640625,
0.84033203125,
0.2197265625,
0.84033203125
]
] |
[
"SaLite : A light-weight model for salient object",
"detection",
"Kitty Varghesel1[0000-0003-4459-4130] and Sauradip Nag [0000-0002-2943-6663]",
"No Institute Given",
"<NEXMATLINX。显著对象检测包括在显著对象上检测和创建二进制掩",
"码,如图1所示。显著性的一个有趣的应用是在机器人中,突出的物体被作为导",
"航和决策的地标。基于深度的架构用于显著性预测,如中所述,可以提供更",
"好的准确性。Liang等人。2使用视觉同时定位和映射(SLAM)的显著性来根",
"据检测到的显著对象决定下一个决策。大多数处理是使用微控制器完成的,因",
"为它需要实时完成(或延迟更少)。此后,有必要提出一个轻量级的深度架构模",
"型来检测显著性检测,因为它需要更少的内存空间,低功耗并且对数据传输的",
"带宽要求更低。另一个重要方面是解析场景上下文,该场景上下文在显着对象",
"Fig. l: (L-R) Image and it ground truth with the saliency map predicted using",
"SaLiteandPiCANet",
"的检测中起着重要作用。上下文指定在给定图像中可以找到的内容,其中稀有",
"对象被视为显着对象。基于上述动机,本文提出了一种新的轻量级多上下文深",
"度学习框架,用于显著性检测",
"1Related Works",
"然手工制作的功能3-5,充许更快地检测突出对象,但它在具有挑战性的场",
"景中失败,其中突出对象和非突出对象具有低对比度差异,并且突出对象不在",
"前景中。由于卷积神经网络(CNN)能够捕获多级和多尺度特征,因此已通过",
"使用卷积神经网络(CNN)解决了上述大多数挑战。。Li等人。[6]利用深度学",
"习网络捕获的高级特征和低级特征来预测显著性检测图。Zhao等人。[7]已在本",
"地和全局上下文中使用CNN来预测显着性图。Wang等人。8l采用递归全卷",
"积网络(RFCN)模型来迭代地细化显着映射。Hou等人的作品。[9]使用短连",
"接,以便将较高级别的功能合并到较低级别的功能中,这反过来又有助于更好",
"地定位显着对象。Liu等人。[10]已使用全局和局部视图CNN使用分层递归卷",
"积神经网络(HRCNN)预测显著性图",
"如上所述,在使用轻量级模型来预测显著性图方面存在巨大差距,我们提出的",
"名为“SaLite”的模型克服了这一差距。SaLite的主要贡献如下:"
] |
{
"arxiv_id": "1912.03641",
"language": "zh",
"page_idx": 0
}
|
||
1912.03641-zh-1
|
1912.03641-zh-1.jpg
|
2
K. Varghese and S. Nag
$\bullet$ Proposed SaLite which is a light-weight architecture for salient object detec-
tion to run on a low-end GPU.
$\bullet$ We proposed a combination of loss functions which hierarchically and itera-
tively refine the predicted saliency map.
$\bullet$ SaLite uses multi-scale attention for global context for learning the attention
weight of the input image at different sizes.
本文的概要总结如下:2 节详细讨论了 SaLite 架构以及如何使其轻量化。它还详细说明了用于有效预测显著性的各种损失。接下来是 3 节,它从定性和定量两个方面比较了我们提出的模型 SaLite 和各种最先进的体系结构的结果。
# 2 Proposed Methods
为了解决 1 节中讨论的内存约束 , 我们提出了一个具有较少参数的轻量级显著性检测架构。拟议的 SaLite 是一个基于 U-Net 的架构,由 Liu 等人的工作推动。[11]。这项工作建立在现有的 PicaNet 之上,试图使其重量轻,同时在多尺度注意力的帮助下预测更好的显著性图。本节的其余部分将详细讨论由以下模块组成的体系结构,即:a)编码器 b) 本地注意力模块,c) 全局注意力模块, d)解码器。下面在图 2 中给出了整体架构的说明。
<FigureHere>
Map
Fig. 2: Overall architecture of SaLite used for salient object detection
## 2.1 SqueezeNet vs VGG-16
??? 的精度将 CNN 中的数字保留为$3\times3$的 CNN 架构。Squeezenet 使用 10 层具有可学习的权重,包括 Fire 模块 [12] 和 Conv层,而 VGG-16 使用 16 层具有可学习的权重,这使得 Squeezenet 模型重量轻。因此,使用 SqueezeNet 会导致模型的大小减小 363 倍,参数减小 50 倍。受刘等人作品的启发。[11] ,它使用预先训练的 VGG-16 作为架构编码器中的骨干网络,我们使用了内存高效的SqueezeNet,这有助于使整个架构轻量化,因为层和参数的数量减少了。在此过程中,我们使用更少的解码器单元,从而通过 46% 整体上减小了整个模型的大小
|
[
[
0.2181396484375,
0.11614990234375,
0.2303466796875,
0.11614990234375,
0.2303466796875,
0.126953125,
0.2181396484375,
0.126953125
],
[
0.271240234375,
0.11553955078125,
0.43310546875,
0.11553955078125,
0.43310546875,
0.1287841796875,
0.271240234375,
0.1287841796875
],
[
0.2279052734375,
0.147705078125,
0.78369140625,
0.147705078125,
0.78369140625,
0.1610107421875,
0.2279052734375,
0.1610107421875
],
[
0.2467041015625,
0.1634521484375,
0.465576171875,
0.1634521484375,
0.465576171875,
0.1767578125,
0.2467041015625,
0.1767578125
],
[
0.2296142578125,
0.1767578125,
0.78369140625,
0.1767578125,
0.78369140625,
0.1900634765625,
0.2296142578125,
0.1900634765625
],
[
0.2442626953125,
0.1912841796875,
0.53369140625,
0.1925048828125,
0.53369140625,
0.205810546875,
0.2442626953125,
0.2052001953125
],
[
0.2279052734375,
0.205810546875,
0.78369140625,
0.205810546875,
0.78369140625,
0.2197265625,
0.2279052734375,
0.2197265625
],
[
0.2459716796875,
0.2215576171875,
0.55810546875,
0.2215576171875,
0.55810546875,
0.23486328125,
0.2459716796875,
0.23486328125
],
[
0.221435546875,
0.2412109375,
0.78515625,
0.2412109375,
0.78515625,
0.255126953125,
0.221435546875,
0.255126953125
],
[
0.2197265625,
0.2568359375,
0.78515625,
0.2568359375,
0.78515625,
0.270751953125,
0.2197265625,
0.270751953125
],
[
0.2181396484375,
0.271484375,
0.73876953125,
0.271484375,
0.73876953125,
0.285400390625,
0.2181396484375,
0.285400390625
],
[
0.2156982421875,
0.30810546875,
0.2344970703125,
0.302978515625,
0.240234375,
0.31494140625,
0.221435546875,
0.32080078125
],
[
0.233642578125,
0.309326171875,
0.256591796875,
0.309326171875,
0.256591796875,
0.31640625,
0.233642578125,
0.31640625
],
[
0.253173828125,
0.30615234375,
0.439453125,
0.30615234375,
0.439453125,
0.32080078125,
0.253173828125,
0.32080078125
],
[
0.221435546875,
0.333251953125,
0.78515625,
0.333251953125,
0.78515625,
0.3466796875,
0.221435546875,
0.3466796875
],
[
0.2197265625,
0.347900390625,
0.78515625,
0.347900390625,
0.78515625,
0.361083984375,
0.2197265625,
0.361083984375
],
[
0.2197265625,
0.3623046875,
0.78369140625,
0.3623046875,
0.78369140625,
0.375732421875,
0.2197265625,
0.375732421875
],
[
0.221435546875,
0.37744140625,
0.78515625,
0.37744140625,
0.78515625,
0.391357421875,
0.221435546875,
0.391357421875
],
[
0.2197265625,
0.393310546875,
0.7861328125,
0.393310546875,
0.7861328125,
0.4072265625,
0.2197265625,
0.4072265625
],
[
0.2181396484375,
0.4091796875,
0.5810546875,
0.4091796875,
0.5810546875,
0.42236328125,
0.2181396484375,
0.42236328125
],
[
0.414306640625,
0.4287109375,
0.451904296875,
0.4287109375,
0.451904296875,
0.43994140625,
0.414306640625,
0.43994140625
],
[
0.65283203125,
0.4287109375,
0.69140625,
0.4287109375,
0.69140625,
0.439453125,
0.65283203125,
0.439453125
],
[
0.5986328125,
0.46337890625,
0.765625,
0.46337890625,
0.765625,
0.49560546875,
0.5986328125,
0.49560546875
],
[
0.396240234375,
0.49365234375,
0.44287109375,
0.49365234375,
0.44287109375,
0.50048828125,
0.396240234375,
0.50048828125
],
[
0.324462890625,
0.5234375,
0.65625,
0.5234375,
0.65625,
0.5517578125,
0.324462890625,
0.5517578125
],
[
0.640625,
0.5263671875,
0.734375,
0.5263671875,
0.734375,
0.5498046875,
0.640625,
0.5498046875
],
[
0.2418212890625,
0.5673828125,
0.26708984375,
0.5673828125,
0.26708984375,
0.58544921875,
0.2418212890625,
0.58544921875
],
[
0.81787109375,
0.5791015625,
0.83837890625,
0.5791015625,
0.83837890625,
0.5859375,
0.81787109375,
0.5859375
],
[
0.53759765625,
0.619140625,
0.5498046875,
0.619140625,
0.5498046875,
0.62744140625,
0.53759765625,
0.62744140625
],
[
0.5908203125,
0.62353515625,
0.5986328125,
0.62353515625,
0.5986328125,
0.626953125,
0.5908203125,
0.626953125
],
[
0.371826171875,
0.63720703125,
0.410888671875,
0.63720703125,
0.410888671875,
0.64794921875,
0.371826171875,
0.64794921875
],
[
0.419189453125,
0.6396484375,
0.450927734375,
0.6396484375,
0.450927734375,
0.646484375,
0.419189453125,
0.646484375
],
[
0.67724609375,
0.63720703125,
0.74609375,
0.63720703125,
0.74609375,
0.64453125,
0.67724609375,
0.64453125
],
[
0.57421875,
0.64013671875,
0.61376953125,
0.64013671875,
0.61376953125,
0.64453125,
0.57421875,
0.64453125
],
[
0.3349609375,
0.64013671875,
0.363525390625,
0.64013671875,
0.363525390625,
0.64453125,
0.3349609375,
0.64453125
],
[
0.62841796875,
0.64013671875,
0.65625,
0.64013671875,
0.65625,
0.64306640625,
0.62841796875,
0.64306640625
],
[
0.473876953125,
0.64453125,
0.50634765625,
0.64453125,
0.50634765625,
0.6484375,
0.473876953125,
0.6484375
],
[
0.2900390625,
0.64453125,
0.324462890625,
0.64453125,
0.324462890625,
0.65380859375,
0.2900390625,
0.65380859375
],
[
0.42236328125,
0.646484375,
0.44677734375,
0.646484375,
0.44677734375,
0.65087890625,
0.42236328125,
0.65087890625
],
[
0.529296875,
0.64453125,
0.53759765625,
0.64453125,
0.53759765625,
0.64794921875,
0.529296875,
0.64794921875
],
[
0.378173828125,
0.6484375,
0.400390625,
0.6484375,
0.400390625,
0.6513671875,
0.378173828125,
0.6513671875
],
[
0.3349609375,
0.64794921875,
0.359375,
0.64794921875,
0.359375,
0.6513671875,
0.3349609375,
0.6513671875
],
[
0.253173828125,
0.67529296875,
0.74658203125,
0.67529296875,
0.74658203125,
0.68603515625,
0.253173828125,
0.68603515625
],
[
0.2181396484375,
0.69970703125,
0.4599609375,
0.69970703125,
0.4599609375,
0.71337890625,
0.2181396484375,
0.71337890625
],
[
0.2181396484375,
0.71826171875,
0.78173828125,
0.71826171875,
0.78173828125,
0.73193359375,
0.2181396484375,
0.73193359375
],
[
0.221435546875,
0.73486328125,
0.78369140625,
0.73486328125,
0.78369140625,
0.74853515625,
0.221435546875,
0.74853515625
],
[
0.221435546875,
0.75048828125,
0.78369140625,
0.75048828125,
0.78369140625,
0.7646484375,
0.221435546875,
0.7646484375
],
[
0.2197265625,
0.76513671875,
0.78369140625,
0.76513671875,
0.78369140625,
0.77880859375,
0.2197265625,
0.77880859375
],
[
0.221435546875,
0.77978515625,
0.78369140625,
0.77978515625,
0.78369140625,
0.79443359375,
0.221435546875,
0.79443359375
],
[
0.2181396484375,
0.79541015625,
0.78369140625,
0.79541015625,
0.78369140625,
0.8095703125,
0.2181396484375,
0.8095703125
],
[
0.2197265625,
0.81103515625,
0.78515625,
0.81103515625,
0.78515625,
0.82470703125,
0.2197265625,
0.82470703125
],
[
0.2181396484375,
0.8271484375,
0.238525390625,
0.8271484375,
0.238525390625,
0.8388671875,
0.2181396484375,
0.8388671875
]
] |
[
"2",
"K. Varghese and S. Nag",
"· Proposed SaLite which is a light-weight architecture for salient object detec-",
"tion to run on a low-end GPU",
". We proposed a combination of loss functions which hierarchically and itera-",
"tively refine the predicted saliency map.",
". SaLite uses multi-scale attention for global context for learning the attention",
"weight of the input image at different sizes.",
"本文的概要总结如下:2节详细讨论了SaLite架构以及如何使其轻量化。它还",
"详细说明了用于有效预测显著性的各种损失。接下来是3节,它从定性和定量",
"两个方面比较了我们提出的模型SaLite和各种最先进的体系结构的结果。",
"2",
"",
"Proposed Methods",
"为了解决1节中讨论的内存约束,我们提出了一个具有较少参数的轻量级显著",
"性检测架构。拟议的 SaLite是一个基于U-Net的架构,由Liu等人的工作推",
"动。[11]。这项工作建立在现有的PicaNet之上,试图使其重量轻,同时在多尺",
"度注意力的帮助下预测更好的显著性图。本节的其余部分将详细讨论由以下模",
"块组成的体系结构,即:a)编码器b)本地注意力模块,c)全局注意力模块,",
"d)解码器。下面在图2中给出了整体架构的说明。",
"Encoder",
"Decoder",
"",
"SqueezeNet",
"",
"10",
"Iinpge",
"Map",
"X",
"?",
"ConV2D",
"Decoder",
"ResizingLBCE+L",
"Decodina",
"MaxPoo",
"noa",
"ecodinc",
"Module",
"Module",
"",
"Ewe",
"Laver",
"Fig.2:Overall architecture of SaLite used for salient obiect detection",
"2.1 SqueezeNet vs VGG-16",
"???的精度将CNN中的数字保留为3×3的CNN架构。Squeezenet使用10层",
"具有可学习的权重,包括Fire模块[12]和Conv层,而VGG-16使用16层具",
"有可学习的权重,这使得Squeezenet模型重量轻。因此,使用SqueezeNet会导",
"致模型的大小减小363倍,参数减小50倍。受刘等人作品的启发。[11],它使",
"用预先训练的VGG-16作为架构编码器中的骨干网络,我们使用了内存高效的",
"SqueezeNet,这有助于使整个架构轻量化,因为层和参数的数量减少了。在此过",
"程中,我们使用更少的解码器单元,从而通过46%整体上减小了整个模型的大",
"小"
] |
{
"arxiv_id": "1912.03641",
"language": "zh",
"page_idx": 1
}
|
||
1912.03641-zh-2
|
1912.03641-zh-2.jpg
|
SaLite 3
# 2.2 Encoder
SqueezeNet 用于编码器,因为它使用的参数比 VGG-16 少 50 倍,使模型更轻。SqueezeNet 的基本构建块是一系列“挤压”,“扩展”层和“火灾”模块。“挤压” 层由仅由$1\times1$过滤器组成的卷积层组成,“扩展”层由混合了$1\times1$和$3\times3$过滤器的卷积层组成。“挤压”和“扩展”层的组合称为“Fire”模块。在编码器中,我们使用了修改后的 SqueezeNet, 其中我们使用了8个 Fire 模块和 1 个卷积块。SqueezeNet 遵循 2个额外的卷积层,一个具有 1024 个$3\times3$滤波器, 膨胀 12,另一个具有 1024 个$1\times1$滤波器。这导致整个网络的步幅下降到 8, 最终特征图的空间大小为$27\times27$ 。用 SqueezeNet 替换 VGG-16 的显着区别在于,由于使用了 FireModule,进人解码器的跳过连接数减少了1。进入解码器的跳过连接的空间尺寸范围为 111x11、55x55、27x27,小于 VGG-16 主干。这导致了解码器模块的减少,这将在以下小节中讨论。因此,整个网络的参数数量减少了,这与本文的动机是一致的。
# 2.3 Global Attending Module
由 Liu 等人讨论。在他们的论文[11]中,通过使用两个双向长短期记忆(biLSTM) 来合并图像的全局上下文,该双向长短期记忆(biLSTM)可以水平和垂直扫描, 类似于 ReNet [13] 。然后使用香草 Conv 层将 ReNet 特征转换为$D=W\times H$ 通道,其中 W 和 H 表示输人特征图的宽度和高度。在我们提出的方法中,分层注意图可以生成多个尺度的区域,以支持这样的直觉,即较粗尺度的显著对象可能由较细尺度的多个显著部分组成。为了充分利用不同尺度的信息,我们以 5x5、7x7 和 10x10 的 3 个不同尺度获取 ReNet 模块的输出。然后将这些
<FigureHere>
Fig.3: Architecture of global attending module
多尺度注意力图与输入特征图逐个元素相乘。通过在每个像素(w,h)处采用
softmax 函数,在多个尺度上全局计算注意力权重。权重由$\alpha^{w,h}$表示。
$$<\alpha_i^{w,h}>_m=\frac{exp\left(<x_i^{w,h}>_m\right)}{\sum_{j=1}^Dexp\left(<x_j^{w,h}>_m\right)}$$
(1)
,其中$i\in\{1,...,D\},x^{w,h},\alpha^{w,h}\in\mathbb{R}^{D}$和$\alpha_i^{w,h}$表示与参考像素$\left(w,h\right)$相比位于$h$的上下十严为时红网$\bar{\Gamma}=$在名人口密$-\epsilon[57710]$上让续让
$i^{th}$的上下文。受关注特征图$\bar{F}_G_{att}$在多个尺度$m\in\{5,7,10\}$上计算为
(2)
$$\bar{F}_{G_{att}}^{w,h,m}=\sum_{i=1}^D<\alpha_i^{w,h}>_m\odot f_i$$
|
[
[
0.68896484375,
0.11614990234375,
0.734375,
0.11614990234375,
0.734375,
0.1275634765625,
0.68896484375,
0.1275634765625
],
[
0.77392578125,
0.11614990234375,
0.78759765625,
0.11614990234375,
0.78759765625,
0.1275634765625,
0.77392578125,
0.1275634765625
],
[
0.21728515625,
0.147705078125,
0.3349609375,
0.147705078125,
0.3349609375,
0.1610107421875,
0.21728515625,
0.1610107421875
],
[
0.2197265625,
0.17041015625,
0.78369140625,
0.17041015625,
0.78369140625,
0.184326171875,
0.2197265625,
0.184326171875
],
[
0.2197265625,
0.1849365234375,
0.78369140625,
0.1849365234375,
0.78369140625,
0.199462890625,
0.2197265625,
0.199462890625
],
[
0.221435546875,
0.2020263671875,
0.78515625,
0.2020263671875,
0.78515625,
0.21533203125,
0.221435546875,
0.21533203125
],
[
0.2197265625,
0.216552734375,
0.78369140625,
0.216552734375,
0.78369140625,
0.2298583984375,
0.2197265625,
0.2298583984375
],
[
0.22216796875,
0.23291015625,
0.78173828125,
0.23291015625,
0.78173828125,
0.24365234375,
0.22216796875,
0.24365234375
],
[
0.2197265625,
0.2442626953125,
0.78515625,
0.24560546875,
0.78515625,
0.260009765625,
0.2197265625,
0.2587890625
],
[
0.2197265625,
0.261474609375,
0.78369140625,
0.261474609375,
0.78369140625,
0.274658203125,
0.2197265625,
0.274658203125
],
[
0.2197265625,
0.27587890625,
0.78515625,
0.274658203125,
0.78515625,
0.2890625,
0.2197265625,
0.290283203125
],
[
0.221435546875,
0.291748046875,
0.78515625,
0.291748046875,
0.78515625,
0.304931640625,
0.221435546875,
0.304931640625
],
[
0.2197265625,
0.306884765625,
0.78515625,
0.306884765625,
0.78515625,
0.32080078125,
0.2197265625,
0.32080078125
],
[
0.221435546875,
0.323974609375,
0.78369140625,
0.323974609375,
0.78369140625,
0.333984375,
0.221435546875,
0.333984375
],
[
0.2181396484375,
0.337158203125,
0.47216796875,
0.337158203125,
0.47216796875,
0.35107421875,
0.2181396484375,
0.35107421875
],
[
0.2197265625,
0.373779296875,
0.268798828125,
0.373779296875,
0.268798828125,
0.385009765625,
0.2197265625,
0.385009765625
],
[
0.2607421875,
0.37060546875,
0.47802734375,
0.371826171875,
0.47802734375,
0.386474609375,
0.2607421875,
0.385009765625
],
[
0.22216796875,
0.396484375,
0.78515625,
0.396484375,
0.78515625,
0.4072265625,
0.22216796875,
0.4072265625
],
[
0.221435546875,
0.410400390625,
0.78515625,
0.410400390625,
0.78515625,
0.423583984375,
0.221435546875,
0.423583984375
],
[
0.2197265625,
0.425537109375,
0.78369140625,
0.425537109375,
0.78369140625,
0.439453125,
0.2197265625,
0.439453125
],
[
0.2197265625,
0.43994140625,
0.78369140625,
0.43994140625,
0.78369140625,
0.453857421875,
0.2197265625,
0.453857421875
],
[
0.221435546875,
0.455810546875,
0.78515625,
0.455810546875,
0.78515625,
0.4697265625,
0.221435546875,
0.4697265625
],
[
0.221435546875,
0.47021484375,
0.78515625,
0.47021484375,
0.78515625,
0.484130859375,
0.221435546875,
0.484130859375
],
[
0.2181396484375,
0.48486328125,
0.78515625,
0.484130859375,
0.78515625,
0.498779296875,
0.2181396484375,
0.5
],
[
0.68896484375,
0.6015625,
0.7685546875,
0.6015625,
0.7685546875,
0.609375,
0.68896484375,
0.609375
],
[
0.226318359375,
0.6142578125,
0.2459716796875,
0.6142578125,
0.2459716796875,
0.6220703125,
0.226318359375,
0.6220703125
],
[
0.273681640625,
0.6162109375,
0.283447265625,
0.6162109375,
0.283447265625,
0.6220703125,
0.273681640625,
0.6220703125
],
[
0.334228515625,
0.64599609375,
0.6689453125,
0.64599609375,
0.6689453125,
0.6591796875,
0.334228515625,
0.6591796875
],
[
0.221435546875,
0.66357421875,
0.78369140625,
0.66357421875,
0.78369140625,
0.6767578125,
0.221435546875,
0.6767578125
],
[
0.2181396484375,
0.67822265625,
0.72216796875,
0.67822265625,
0.72216796875,
0.6923828125,
0.2181396484375,
0.6923828125
],
[
0.48779296875,
0.7041015625,
0.60693359375,
0.7041015625,
0.60693359375,
0.7216796875,
0.48779296875,
0.7216796875
],
[
0.39794921875,
0.7197265625,
0.420654296875,
0.71826171875,
0.420654296875,
0.72607421875,
0.39794921875,
0.7265625
],
[
0.76318359375,
0.7197265625,
0.7861328125,
0.7197265625,
0.7861328125,
0.734375,
0.76318359375,
0.734375
],
[
0.420654296875,
0.72265625,
0.451904296875,
0.72265625,
0.451904296875,
0.73095703125,
0.420654296875,
0.73095703125
],
[
0.369384765625,
0.72021484375,
0.40283203125,
0.72021484375,
0.40283203125,
0.73193359375,
0.369384765625,
0.73193359375
],
[
0.461669921875,
0.72607421875,
0.63232421875,
0.72607421875,
0.63232421875,
0.75048828125,
0.461669921875,
0.75048828125
],
[
0.47802734375,
0.73291015625,
0.494384765625,
0.73291015625,
0.494384765625,
0.7373046875,
0.47802734375,
0.7373046875
],
[
0.2320556640625,
0.76123046875,
0.78515625,
0.76123046875,
0.78515625,
0.77880859375,
0.2320556640625,
0.77880859375
],
[
0.2181396484375,
0.7763671875,
0.72607421875,
0.77880859375,
0.72607421875,
0.79345703125,
0.2181396484375,
0.79150390625
],
[
0.4697265625,
0.8017578125,
0.490234375,
0.8017578125,
0.490234375,
0.814453125,
0.4697265625,
0.814453125
],
[
0.39208984375,
0.80810546875,
0.464111328125,
0.80810546875,
0.464111328125,
0.8388671875,
0.39208984375,
0.8388671875
],
[
0.464111328125,
0.81103515625,
0.53759765625,
0.81103515625,
0.53759765625,
0.833984375,
0.464111328125,
0.833984375
],
[
0.53125,
0.81640625,
0.54833984375,
0.81640625,
0.54833984375,
0.82080078125,
0.53125,
0.82080078125
],
[
0.54345703125,
0.81494140625,
0.60888671875,
0.8173828125,
0.60888671875,
0.83203125,
0.54345703125,
0.830078125
],
[
0.76318359375,
0.81640625,
0.7861328125,
0.81640625,
0.7861328125,
0.83056640625,
0.76318359375,
0.83056640625
],
[
0.468017578125,
0.83056640625,
0.491943359375,
0.83056640625,
0.491943359375,
0.84326171875,
0.468017578125,
0.84326171875
]
] |
[
"SaLite",
"3",
"2.2Encoder",
"SqueezeNet用于编码器,因为它使用的参数比VGG-16少50倍,使模型更轻。",
"SqueezeNet的基本构建块是一系列“挤压”,“扩展”层和“火灾”模块。“挤压”",
"层由仅由1×1过滤器组成的卷积层组成,“扩展”层由混合了1×1和3×3过",
"滤器的卷积层组成。“挤压”和“扩展”层的组合称为“Fire”模块。在编码器",
"中,我们使用了修改后的SqueezeNet,其中我们使用了8个Fire模块和1个",
"卷积块。SqueezeNet遵循2个额外的卷积层,一个具有1024个3×3滤波器,",
"膨胀12,另一个具有1024个1×1滤波器。这导致整个网络的步幅下降到8",
"最终特征图的空间大小为27×27。用SqueezeNet替换VGG-16的显着区别在",
"于,由于使用了FireModule,进人解码器的跳过连接数减少了1。进人解码器",
"的跳过连接的空间尺寸范围为111x111、55x55、27x27,小于VGG-16主干。这",
"导致了解码器模块的减少,这将在以下小节中讨论。因此,整个网络的参数数量",
"减少了,这与本文的动机是一致的。",
"2.3",
"Global Attending Module",
"由Liu等人讨论。在他们的论文[11中,通过使用两个双向长短期记忆(bLSTM)",
"来合并图像的全局上下文,该双向长短期记忆(biLSTM)可以水平和垂直扫描,",
"类似于ReNet[13]。然后使用香草Conv层将ReNet特征转换为D=W×H",
"通道,其中W和H表示输入特征图的宽度和高度。在我们提出的方法中,分",
"层注意图可以生成多个尺度的区域,以支持这样的直觉,即较粗尺度的显著对",
"象可能由较细尺度的多个显著部分组成。为了充分利用不同尺度的信息,我们",
"以5x5、7x7和10x10的3个不同尺度获取ReNet模块的输出。然后将这些",
"AttendedFeatur",
"Fea",
"la",
"Fig. 3: Architecture of global attending module",
"多尺度注意力图与输入特征图逐个元素相乘。通过在每个像素(w,h)处采用",
"softmax函数,在多个尺度上全局计算注意力权重。权重由Qw,h表示。",
"erp (<au,h >m",
"w,h",
"(1)",
">m",
"<αu",
"Ej-ierp(<ay'h>m)",
"",
"其中ie(1,.,D),rw,h,aw,hRD和auh表示与参考像素(w,h)相比位于",
"ith的上下文。受关注特征图Fca,在多个尺度mE[5,7,10)上计算为",
"D",
"Fa.h.\" -",
"<ag",
"1h",
">mofi",
"(2)",
"11"
] |
{
"arxiv_id": "1912.03641",
"language": "zh",
"page_idx": 2
}
|
||
1912.03641-zh-3
|
1912.03641-zh-3.jpg
|
4 K. Varghese and S. Nag
, 其中$\odot$表示逐元素乘法。
然后将得到的多个尺度的全局注意力特征插值到相同的维度,然后使用以下
公式连接 3 个不同尺度的特征图:
(3)
$$\boldsymbol{F}_{G_{att}}^{w,h}=\sum_{m\in\{5,7,10\}}\bar{F}_{G_{att}}^{w,h,m}$$
其中$F_{G_{att}}^{w,h}$表示多尺度的全局注意力特征图。然后将此全局特征图传递到 1x1卷积层中,以降低与具有维度 K 的输入特征图通道相同的通道大小。
2.4 Local Attending Module
局部注意特征对于预测显著图很重要,因为它们给出了显著对象与其相邻对象之间的区别。因此,为了保留边界特征,我们使用卷积层,这也有助于定位突出的对象。为了生成局部注意力特征图,我们从现有的局部 PiCANet 模块[11]
<FigureHere>
Fig.4: Architecture of local attending module
中汲取了灵感,我们通过添加额外的卷积层对其进行了修改,以提供有关特征的更多空间信息。通过使用大小为$\bar{W}\times\bar{H}$的内核,为具有$\bar{F}^w,h\in\mathbb{R}^{W\times\bar{H}\times C}$尺寸的局部特征的$(w,h)$处的每个像素计算局部参与模块,该内核使像素能够查看其上下文区域。此后,将所得特征图转换为$\bar{D}=\bar{W}\times\bar{H}$通道,在该通道上计算 softmax 归一化以获得$\bar{\alpha}^{w,h}$,如等式 1 中所述。最后,本地参与功能的计算如下:
$$\bar{\boldsymbol{F}}_{L_{att}}^{w,h}=\sum_{i=1}^{\bar{D}}\bar{\alpha}_{i}^{w,h}\odot\bar{f}_{i}^{w,h}$$
(4)
其中$\bar{F}^{w,h}$由$\bar{\alpha}^{w,h}$加权求和,$\odot$表示逐元素乘法。本地出席模块的说明如图 4
所示
## 2.5 Decoder
在本节中,我们将详细讨论我们建议的 SaLite 中使用的解码器模块。解码器网络由 5 个解码模块组成 , 即$D^7,D^5,D^4,D^2andD^1$,如图。2 。解码特征图$D^i$ 是通过使用跳过连接将先前的解码特征图$D^{i+1}$与编码特征图$E^i$融合而生成
|
[
[
0.2156982421875,
0.11614990234375,
0.2467041015625,
0.11614990234375,
0.2467041015625,
0.1275634765625,
0.2156982421875,
0.1275634765625
],
[
0.26953125,
0.1142578125,
0.431396484375,
0.11614990234375,
0.431396484375,
0.1300048828125,
0.26953125,
0.1275634765625
],
[
0.2296142578125,
0.1483154296875,
0.423095703125,
0.1483154296875,
0.423095703125,
0.1622314453125,
0.2296142578125,
0.1622314453125
],
[
0.24267578125,
0.1634521484375,
0.78369140625,
0.1634521484375,
0.78369140625,
0.1767578125,
0.24267578125,
0.1767578125
],
[
0.2197265625,
0.177978515625,
0.459228515625,
0.177978515625,
0.459228515625,
0.1912841796875,
0.2197265625,
0.1912841796875
],
[
0.404296875,
0.1956787109375,
0.6005859375,
0.1956787109375,
0.6005859375,
0.2279052734375,
0.404296875,
0.2279052734375
],
[
0.76318359375,
0.203857421875,
0.7861328125,
0.203857421875,
0.7861328125,
0.2183837890625,
0.76318359375,
0.2183837890625
],
[
0.468017578125,
0.2215576171875,
0.5400390625,
0.2215576171875,
0.5400390625,
0.23291015625,
0.468017578125,
0.23291015625
],
[
0.21728515625,
0.2412109375,
0.7890625,
0.2412109375,
0.7890625,
0.26513671875,
0.21728515625,
0.26513671875
],
[
0.2181396484375,
0.2587890625,
0.7060546875,
0.260009765625,
0.7060546875,
0.274658203125,
0.2181396484375,
0.2734375
],
[
0.2181396484375,
0.29541015625,
0.46728515625,
0.29541015625,
0.46728515625,
0.309326171875,
0.2181396484375,
0.309326171875
],
[
0.221435546875,
0.3193359375,
0.78173828125,
0.3193359375,
0.78173828125,
0.330078125,
0.221435546875,
0.330078125
],
[
0.221435546875,
0.33203125,
0.78173828125,
0.33203125,
0.78173828125,
0.34521484375,
0.221435546875,
0.34521484375
],
[
0.2197265625,
0.347900390625,
0.78515625,
0.347900390625,
0.78515625,
0.361083984375,
0.2197265625,
0.361083984375
],
[
0.52685546875,
0.371826171875,
0.56884765625,
0.371826171875,
0.56884765625,
0.3818359375,
0.52685546875,
0.3818359375
],
[
0.414306640625,
0.4072265625,
0.490234375,
0.4072265625,
0.490234375,
0.417236328125,
0.414306640625,
0.417236328125
],
[
0.59619140625,
0.427978515625,
0.67236328125,
0.427978515625,
0.67236328125,
0.43505859375,
0.59619140625,
0.43505859375
],
[
0.313720703125,
0.438232421875,
0.359375,
0.438232421875,
0.359375,
0.464111328125,
0.313720703125,
0.464111328125
],
[
0.59228515625,
0.4375,
0.61669921875,
0.4375,
0.61669921875,
0.44580078125,
0.59228515625,
0.44580078125
],
[
0.3505859375,
0.498779296875,
0.359375,
0.50390625,
0.351318359375,
0.5146484375,
0.34228515625,
0.5087890625
],
[
0.58642578125,
0.49755859375,
0.59228515625,
0.49755859375,
0.59228515625,
0.50244140625,
0.58642578125,
0.50244140625
],
[
0.338134765625,
0.5263671875,
0.66650390625,
0.5263671875,
0.66650390625,
0.54052734375,
0.338134765625,
0.54052734375
],
[
0.22216796875,
0.54443359375,
0.78369140625,
0.54443359375,
0.78369140625,
0.5546875,
0.22216796875,
0.5546875
],
[
0.2181396484375,
0.5546875,
0.78759765625,
0.5546875,
0.78759765625,
0.57568359375,
0.2181396484375,
0.57568359375
],
[
0.2197265625,
0.57470703125,
0.78369140625,
0.57470703125,
0.78369140625,
0.58837890625,
0.2197265625,
0.58837890625
],
[
0.2197265625,
0.5888671875,
0.78369140625,
0.5888671875,
0.78369140625,
0.60400390625,
0.2197265625,
0.60400390625
],
[
0.2181396484375,
0.60400390625,
0.78369140625,
0.60498046875,
0.78369140625,
0.619140625,
0.2181396484375,
0.61865234375
],
[
0.2197265625,
0.6220703125,
0.2607421875,
0.6220703125,
0.2607421875,
0.63330078125,
0.2197265625,
0.63330078125
],
[
0.41015625,
0.63720703125,
0.5947265625,
0.63720703125,
0.5947265625,
0.67041015625,
0.41015625,
0.67041015625
],
[
0.47802734375,
0.6337890625,
0.498291015625,
0.6337890625,
0.498291015625,
0.646484375,
0.47802734375,
0.646484375
],
[
0.7646484375,
0.6484375,
0.7861328125,
0.6484375,
0.7861328125,
0.662109375,
0.7646484375,
0.662109375
],
[
0.476318359375,
0.6640625,
0.5009765625,
0.6640625,
0.5009765625,
0.67529296875,
0.476318359375,
0.67529296875
],
[
0.2181396484375,
0.6845703125,
0.295654296875,
0.6787109375,
0.29736328125,
0.6943359375,
0.2197265625,
0.69970703125
],
[
0.293212890625,
0.68310546875,
0.78759765625,
0.6845703125,
0.78759765625,
0.69873046875,
0.293212890625,
0.69775390625
],
[
0.21728515625,
0.69970703125,
0.2548828125,
0.69970703125,
0.2548828125,
0.71533203125,
0.21728515625,
0.71533203125
],
[
0.2156982421875,
0.734375,
0.3349609375,
0.73291015625,
0.3349609375,
0.74755859375,
0.2156982421875,
0.74853515625
],
[
0.2197265625,
0.7568359375,
0.78515625,
0.7568359375,
0.78515625,
0.77099609375,
0.2197265625,
0.77099609375
],
[
0.2197265625,
0.771484375,
0.78369140625,
0.771484375,
0.78369140625,
0.78515625,
0.2197265625,
0.78515625
],
[
0.2181396484375,
0.78515625,
0.78173828125,
0.78515625,
0.78173828125,
0.7998046875,
0.2181396484375,
0.7998046875
],
[
0.221435546875,
0.80322265625,
0.68896484375,
0.80322265625,
0.68896484375,
0.81640625,
0.221435546875,
0.81640625
],
[
0.226318359375,
0.806640625,
0.7890625,
0.80615234375,
0.7890625,
0.83544921875,
0.226318359375,
0.8359375
],
[
0.6806640625,
0.8037109375,
0.78173828125,
0.80322265625,
0.78173828125,
0.814453125,
0.6806640625,
0.81494140625
],
[
0.44677734375,
0.8193359375,
0.77685546875,
0.82373046875,
0.77685546875,
0.849609375,
0.44677734375,
0.84521484375
],
[
0.2181396484375,
0.8291015625,
0.428955078125,
0.82568359375,
0.428955078125,
0.84326171875,
0.2181396484375,
0.8466796875
],
[
0.426513671875,
0.82763671875,
0.459228515625,
0.82763671875,
0.459228515625,
0.8388671875,
0.426513671875,
0.8388671875
]
] |
[
"4",
"K. Varghese and S. Nag",
",其中表示逐元素乘法。",
"然后将得到的多个尺度的全局注意力特征插值到相同的维度,然后使用以下",
"公式连接3个不同尺度的特征图:",
"Froh - Fahm",
"(3)",
"me(5,7,10]",
"其中F表示多尺度的全局注意力特征图。然后将此全局特征图传递到1x1",
"卷积层中,以降低与具有维度K的输入特征图通道相同的通道大小。",
"2.4Local Attending Module",
"局部注意特征对于预测显著图很重要,因为它们给出了显著对象与其相邻对象",
"之间的区别。因此,为了保留边界特征,我们使用卷积层,这也有助于定位突出",
"的对象。为了生成局部注意力特征图,我们从现有的局部PiCANet模块[11]",
"Attention",
"Convolution layers",
"AttendedFeature",
"Eeapure",
"Map",
"+",
"K",
"Fig. 4: Architecture of local attending module",
"中汲取了灵感,我们通过添加额外的卷积层对其进行了修改,以提供有关特征的",
"更多空间信息。通过使用大小为W×H的内核,为具有Fu,hERWxHxC尺",
"寸的局部特征的(w,h)处的每个像素计算局部参与模块,该内核使像素能够查",
"看其上下文区域。此后,将所得特征图转换为D=W×H通道,在该通道上计",
"算softmax归一化以获得aw,h,如等式1中所述。最后,本地参与功能的计算",
"如下:",
"FLt -Zarho uh",
"D",
"(4)",
"2=1",
"其中F\",h",
"由αw,h加权求和,③表示逐元素乘法。本地出席模块的说明如图4",
"所示",
"2.5Decoder",
"在本节中,我们将详细讨论我们建议的SaLite中使用的解码器模块。解码器网",
"络由5个解码模块组成,即D7,D5,D4,D?andDl,如图。2。解码特征图Di",
"是通过使用跳过连接将先前的解码特征图D+1与编码特征图Ei融合而生成",
"的P被上采样,以便县有桌想同的空间大小即W杀H",
"犀出技活数性康行各码器霜基",
"这两个特征图",
"新解码器积是机释褐模遵循此过程,最后",
"发周部出朋机医男壁发构路",
"各训续"
] |
{
"arxiv_id": "1912.03641",
"language": "zh",
"page_idx": 3
}
|
||
2302.12297-zh-2
|
2302.12297-zh-2.jpg
|
输出令牌分布。图 1显示了一系列 RoBERTA 模型的顶部预测。$^{2}$我们首先观察到,最广泛使用的 RoBERTA base 和 large 模型在事实知识方面都已经过时,因为它们预测了从 2010到 2019 的 PM 名称。接下来,虽然最后三个模型 (2020-2022)正确回答,但 2019 模型回答 PM (Boris)的 (正确)名字,而不是所要求的姓氏(Johnson)
这是在 LMs-as-KBs 框架中评估 MLMs 的时间健壮性的许多挑战的方便说明。首先,这个 2019 模型将被认为犯了一个错误(因为预测与黄金标签不同,并且度量是准确性),即使事实知识是正确的(英国 PM 的名称)。其次,请注意,我们设计了查询来询问姓氏(而不是 PM 的名称),因为这会导致单个掩码。LAMA -probe 和相关框架不处理 MLM 的多令牌查询(e。g。,Boris Johnson)。最后,我们用?标记前两个 RoBERTA 模型的答案,因为即使他们的答案对于我们当前的评估(10 月2022 )来说已经过时,他们的答案在训练数据(2019)时的评估设置中可能是正确的。这说明了如果未使用时间感知设计$\overline{\mathrm{E}}($Lazaridou et al., 2021; Dhingra et al., 2022; Loureiro et al., 2022; Jang et al.,2022a)训练模型,则预期模型正确的时间窗口的模糊性。
在这项工作中,我们旨在解决此类限制,并提供一个整体框架,用于对时间概念漂移进行掩码语言模型的动态基准测试,重点是随时间变化的事实。遵循倡导关注动态的 Kiela et al. (2021)和 Søgaard et al. (2021)的命题(i。e。, 测试集不应变得饱和)和目标(i。e。,使用多个独立的测试集来进行现实的性能估计)分别进行基准测试,并在先前的工作$\overline{\mathrm{E}}($Jiang et al., 2020b; Dhingra et al., 2022; Jang et al., 2022a) 的基础上,我们创建了一个大型的开源测试集, 可以随时间动态更新,其中包含示例的时间细粒度子集,可用于查询掩码语言模型并随时间评估其事实知识
Contributions (1)我们发布了 DYNAMICTEMPLAMA , 它是由 Wikidata 关系组成的静态 TEMPLAMA $\boxed{\mathrm{F}}($Dhingra et al.,2022)测试集的改进版本,用于评估 MLM 的时间鲁棒性。我们提供数据和代码,以动态地保持 DYNAMICTEMPLAMA 随着时间的推移最新。$^3(2)$我们提出了一个新颖的评估框架,首先创建任何粒度(月、季、年)的测试集的时间分割,然后进一步创建不变、更新、新增或删除的细粒度
$^{2}$Except for the ROBERTA base and large models, we also show the predictions of models trained with Twitter data
until 2019,2020,2021,and 2022,respectively(Loureiro
et al., 2022) .
$^{3}$https://github.com/amazon-science/temporal-robustness
事实分割,旨在提高全面性(§3.1)。(3)我们引入了具有多个度量的三个不同的评估视图$(\S3.3)$,以确保获得全面的结果,并提供对大集开源时间 RoBERTA 模型 (§3.2)进行基准测试的分析。
## 2 Related Work
Temporal Concept Drift 语言模型对时间概
念漂移的鲁棒性的评估近年来引起了越来越多的兴趣。以前的工作集中在随着时间的推移不断适应模型的方法 (Hombaiah et al., 2021; Rosin et al., 2022; Lazaridou et al., 2022)。另一个研究领域是对时间鲁棒性的评估,该评估已在上游 LM 预训练任务 (Jiang et al., 2020b; Lazaridou et al., 2021; Dhingra et al., 2022; Jang et al., 2022a; Loureiro et al., 2022) 和下游任务中进行了探索,例如情绪分析 (Lukes and Søgaard, 2018; Agarwal and Nenkova, 2022) , 命名实体识别 (Rijhwani and Preotiuc-Pietro, 2020; Onoe et al., 2022) , 问题回答 (Mavromatis et al., 2021; Lika et al., 2022) 和谣言检测 (Mu et al., 2023) 。还研究了模型解释$\overline{\mathrm{F}}($Zhao et al.,2022)以及法律,生物医学 (Chalkidis and Søgaard, 2022) 和社交媒体 (Röttger and Pierrehumbert, 2021)域中的文本分类。Luu et al.(2022) 探讨时间错位的设置(i。e。, 从不同时间段提取的训练和测试数据),用于上游和下游任务,并发现时间自适应不应被视为寻找时间对齐的标记数据进行微调的替代品
离我们最近的作品是 TEMPLAMA (Dhingra et al., 2022)。但是,我们在四个轴上有所不同:(i)TEMPLAMA 是静态的,而我们提供的代码可以从任何时间段(不仅是每年)以细粒度的方式动态下载事实,(ii)我们随着时间的推移评估相同的模型随着时间的推移,我们没有探索解决该问题的最佳适应技术,(iii) 我们不对模型进行微调,以使其适应测试数据的领域/格式(更多的基准评估)(iv)。最后,与我们的动机类似,Jang et al.(2022a) 最近探索了 LMs 中时间概念漂移的终身适应和评估,并引入了 TEMPORALWIKI 进行持续适应和 TWIKI-PROBES 进行评估。主要区别在于, 作者专注于提供语料库以随着时间的推移适应LM,而在我们的论文中,我们专注于评估 LM 的时间鲁棒性。DYNAMICTEMPLAMA 是一个整体评估框架,而“TWIKI-PROBES 不是自然句子;它们是由主题,关系和对象的朴素连接综合生成的事实短语”
Language Models as Knowledge Bases 事实
知识的完形填空式 LM 评估框架 LAMA E Petroni et al.(2019) 遵循图$\overline{\mathrm{E}}$1 中描述的设
|
[
[
0.1175537109375,
0.08489990234375,
0.486083984375,
0.08489990234375,
0.486083984375,
0.09857177734375,
0.1175537109375,
0.09857177734375
],
[
0.5146484375,
0.0885009765625,
0.87890625,
0.0885009765625,
0.87890625,
0.09857177734375,
0.5146484375,
0.09857177734375
],
[
0.118408203125,
0.10272216796875,
0.484375,
0.10272216796875,
0.484375,
0.11639404296875,
0.118408203125,
0.11639404296875
],
[
0.51318359375,
0.10272216796875,
0.87890625,
0.10272216796875,
0.87890625,
0.11639404296875,
0.51318359375,
0.11639404296875
],
[
0.12005615234375,
0.1181640625,
0.484375,
0.1181640625,
0.484375,
0.1318359375,
0.12005615234375,
0.1318359375
],
[
0.51123046875,
0.1181640625,
0.880859375,
0.1181640625,
0.880859375,
0.1318359375,
0.51123046875,
0.1318359375
],
[
0.118408203125,
0.1353759765625,
0.483642578125,
0.1353759765625,
0.483642578125,
0.1455078125,
0.118408203125,
0.1455078125
],
[
0.51318359375,
0.1353759765625,
0.880859375,
0.1353759765625,
0.880859375,
0.1484375,
0.51318359375,
0.1484375
],
[
0.118408203125,
0.15087890625,
0.48779296875,
0.15087890625,
0.48779296875,
0.1650390625,
0.118408203125,
0.1650390625
],
[
0.509765625,
0.1484375,
0.61376953125,
0.15087890625,
0.61376953125,
0.1650390625,
0.509765625,
0.163330078125
],
[
0.1175537109375,
0.1650390625,
0.48193359375,
0.1650390625,
0.48193359375,
0.1787109375,
0.1175537109375,
0.1787109375
],
[
0.1175537109375,
0.18115234375,
0.484375,
0.1817626953125,
0.484375,
0.196533203125,
0.1175537109375,
0.1953125
],
[
0.509765625,
0.1787109375,
0.6689453125,
0.1787109375,
0.6689453125,
0.1923828125,
0.509765625,
0.1923828125
],
[
0.118408203125,
0.198974609375,
0.287109375,
0.198974609375,
0.287109375,
0.2120361328125,
0.118408203125,
0.2120361328125
],
[
0.51904296875,
0.2037353515625,
0.880859375,
0.2037353515625,
0.880859375,
0.21728515625,
0.51904296875,
0.21728515625
],
[
0.1368408203125,
0.21435546875,
0.484375,
0.21435546875,
0.484375,
0.22802734375,
0.1368408203125,
0.22802734375
],
[
0.5146484375,
0.2203369140625,
0.880859375,
0.2203369140625,
0.880859375,
0.2340087890625,
0.5146484375,
0.2340087890625
],
[
0.118408203125,
0.232177734375,
0.48779296875,
0.232177734375,
0.48779296875,
0.2452392578125,
0.118408203125,
0.2452392578125
],
[
0.51318359375,
0.236328125,
0.880859375,
0.236328125,
0.880859375,
0.2493896484375,
0.51318359375,
0.2493896484375
],
[
0.1175537109375,
0.2452392578125,
0.48779296875,
0.2464599609375,
0.48779296875,
0.26123046875,
0.1175537109375,
0.260009765625
],
[
0.5146484375,
0.254150390625,
0.87890625,
0.254150390625,
0.87890625,
0.26416015625,
0.5146484375,
0.26416015625
],
[
0.1175537109375,
0.262451171875,
0.484375,
0.26318359375,
0.484375,
0.27783203125,
0.1175537109375,
0.276611328125
],
[
0.51123046875,
0.267333984375,
0.86572265625,
0.268310546875,
0.86572265625,
0.281982421875,
0.51123046875,
0.28076171875
],
[
0.1175537109375,
0.27783203125,
0.486083984375,
0.27783203125,
0.486083984375,
0.292236328125,
0.1175537109375,
0.292236328125
],
[
0.51318359375,
0.283935546875,
0.880859375,
0.283935546875,
0.880859375,
0.297607421875,
0.51318359375,
0.297607421875
],
[
0.118408203125,
0.295654296875,
0.484375,
0.295654296875,
0.484375,
0.308837890625,
0.118408203125,
0.308837890625
],
[
0.5146484375,
0.300537109375,
0.880859375,
0.300537109375,
0.880859375,
0.314208984375,
0.5146484375,
0.314208984375
],
[
0.118408203125,
0.311279296875,
0.484375,
0.311279296875,
0.484375,
0.32470703125,
0.118408203125,
0.32470703125
],
[
0.5146484375,
0.31640625,
0.880859375,
0.31640625,
0.880859375,
0.330078125,
0.5146484375,
0.330078125
],
[
0.1158447265625,
0.327880859375,
0.484375,
0.325927734375,
0.484375,
0.339111328125,
0.1158447265625,
0.341552734375
],
[
0.5146484375,
0.333251953125,
0.87744140625,
0.333251953125,
0.87744140625,
0.3466796875,
0.5146484375,
0.3466796875
],
[
0.118408203125,
0.342529296875,
0.486083984375,
0.342529296875,
0.486083984375,
0.35693359375,
0.118408203125,
0.35693359375
],
[
0.51123046875,
0.347412109375,
0.880859375,
0.3486328125,
0.880859375,
0.363525390625,
0.51123046875,
0.3623046875
],
[
0.118408203125,
0.359375,
0.48779296875,
0.359375,
0.48779296875,
0.37353515625,
0.118408203125,
0.37353515625
],
[
0.51318359375,
0.365234375,
0.880859375,
0.365234375,
0.880859375,
0.37890625,
0.51318359375,
0.37890625
],
[
0.12005615234375,
0.3759765625,
0.484375,
0.3759765625,
0.484375,
0.3896484375,
0.12005615234375,
0.3896484375
],
[
0.51318359375,
0.38134765625,
0.87744140625,
0.38134765625,
0.87744140625,
0.394287109375,
0.51318359375,
0.394287109375
],
[
0.118408203125,
0.392578125,
0.486083984375,
0.392578125,
0.486083984375,
0.40625,
0.118408203125,
0.40625
],
[
0.51123046875,
0.396728515625,
0.880859375,
0.396728515625,
0.880859375,
0.410400390625,
0.51123046875,
0.410400390625
],
[
0.118408203125,
0.410400390625,
0.483642578125,
0.410400390625,
0.483642578125,
0.42041015625,
0.118408203125,
0.42041015625
],
[
0.51123046875,
0.410888671875,
0.88330078125,
0.412109375,
0.88330078125,
0.427001953125,
0.51123046875,
0.42578125
],
[
0.12005615234375,
0.424560546875,
0.484375,
0.424560546875,
0.484375,
0.438232421875,
0.12005615234375,
0.438232421875
],
[
0.5146484375,
0.4287109375,
0.880859375,
0.4287109375,
0.880859375,
0.4423828125,
0.5146484375,
0.4423828125
],
[
0.12005615234375,
0.440673828125,
0.484375,
0.440673828125,
0.484375,
0.45361328125,
0.12005615234375,
0.45361328125
],
[
0.51318359375,
0.44482421875,
0.880859375,
0.44482421875,
0.880859375,
0.458984375,
0.51318359375,
0.458984375
],
[
0.1175537109375,
0.4560546875,
0.48779296875,
0.454833984375,
0.48779296875,
0.4697265625,
0.1175537109375,
0.47021484375
],
[
0.51318359375,
0.460205078125,
0.8818359375,
0.460205078125,
0.8818359375,
0.474365234375,
0.51318359375,
0.474365234375
],
[
0.118408203125,
0.47265625,
0.32666015625,
0.47265625,
0.32666015625,
0.486328125,
0.118408203125,
0.486328125
],
[
0.5146484375,
0.476806640625,
0.880859375,
0.476806640625,
0.880859375,
0.490478515625,
0.5146484375,
0.490478515625
],
[
0.1368408203125,
0.4892578125,
0.48779296875,
0.4892578125,
0.48779296875,
0.5029296875,
0.1368408203125,
0.5029296875
],
[
0.51318359375,
0.493408203125,
0.880859375,
0.493408203125,
0.880859375,
0.50830078125,
0.51318359375,
0.50830078125
],
[
0.118408203125,
0.5048828125,
0.486083984375,
0.5048828125,
0.486083984375,
0.5185546875,
0.118408203125,
0.5185546875
],
[
0.5146484375,
0.51025390625,
0.87890625,
0.51025390625,
0.87890625,
0.52392578125,
0.5146484375,
0.52392578125
],
[
0.118408203125,
0.52099609375,
0.484375,
0.52099609375,
0.484375,
0.53369140625,
0.118408203125,
0.53369140625
],
[
0.51318359375,
0.525390625,
0.880859375,
0.525390625,
0.880859375,
0.5390625,
0.51318359375,
0.5390625
],
[
0.12005615234375,
0.5380859375,
0.48193359375,
0.5380859375,
0.48193359375,
0.548828125,
0.12005615234375,
0.548828125
],
[
0.5146484375,
0.54345703125,
0.623046875,
0.54345703125,
0.623046875,
0.5546875,
0.5146484375,
0.5546875
],
[
0.118408203125,
0.552734375,
0.484375,
0.552734375,
0.484375,
0.56640625,
0.118408203125,
0.56640625
],
[
0.52880859375,
0.55712890625,
0.880859375,
0.55712890625,
0.880859375,
0.57177734375,
0.52880859375,
0.57177734375
],
[
0.12005615234375,
0.5693359375,
0.484375,
0.5693359375,
0.484375,
0.5830078125,
0.12005615234375,
0.5830078125
],
[
0.51318359375,
0.57470703125,
0.880859375,
0.57470703125,
0.880859375,
0.58837890625,
0.51318359375,
0.58837890625
],
[
0.118408203125,
0.5849609375,
0.48779296875,
0.5849609375,
0.48779296875,
0.5986328125,
0.118408203125,
0.5986328125
],
[
0.51123046875,
0.5888671875,
0.880859375,
0.5888671875,
0.880859375,
0.6025390625,
0.51123046875,
0.6025390625
],
[
0.12005615234375,
0.6015625,
0.484375,
0.6015625,
0.484375,
0.615234375,
0.12005615234375,
0.615234375
],
[
0.51318359375,
0.60546875,
0.880859375,
0.60546875,
0.880859375,
0.619140625,
0.51318359375,
0.619140625
],
[
0.118408203125,
0.61767578125,
0.486083984375,
0.61767578125,
0.486083984375,
0.63134765625,
0.118408203125,
0.63134765625
],
[
0.51318359375,
0.62255859375,
0.880859375,
0.62255859375,
0.880859375,
0.6357421875,
0.51318359375,
0.6357421875
],
[
0.118408203125,
0.6328125,
0.484375,
0.6328125,
0.484375,
0.64794921875,
0.118408203125,
0.64794921875
],
[
0.51123046875,
0.63818359375,
0.880859375,
0.63818359375,
0.880859375,
0.65185546875,
0.51123046875,
0.65185546875
],
[
0.12005615234375,
0.6494140625,
0.483642578125,
0.6494140625,
0.483642578125,
0.6630859375,
0.12005615234375,
0.6630859375
],
[
0.51318359375,
0.65478515625,
0.880859375,
0.65478515625,
0.880859375,
0.66845703125,
0.51318359375,
0.66845703125
],
[
0.1175537109375,
0.66455078125,
0.48193359375,
0.66455078125,
0.48193359375,
0.677734375,
0.1175537109375,
0.677734375
],
[
0.51318359375,
0.67041015625,
0.880859375,
0.67041015625,
0.880859375,
0.68408203125,
0.51318359375,
0.68408203125
],
[
0.118408203125,
0.68115234375,
0.2476806640625,
0.68115234375,
0.2476806640625,
0.6953125,
0.118408203125,
0.6953125
],
[
0.5146484375,
0.68701171875,
0.880859375,
0.68701171875,
0.880859375,
0.70068359375,
0.5146484375,
0.70068359375
],
[
0.1259765625,
0.705078125,
0.2493896484375,
0.705078125,
0.2493896484375,
0.7197265625,
0.1259765625,
0.7197265625
],
[
0.264404296875,
0.7060546875,
0.48779296875,
0.7060546875,
0.48779296875,
0.7197265625,
0.264404296875,
0.7197265625
],
[
0.5146484375,
0.703125,
0.880859375,
0.703125,
0.880859375,
0.71630859375,
0.5146484375,
0.71630859375
],
[
0.118408203125,
0.7216796875,
0.486083984375,
0.7216796875,
0.486083984375,
0.7353515625,
0.118408203125,
0.7353515625
],
[
0.51318359375,
0.7197265625,
0.87744140625,
0.7197265625,
0.87744140625,
0.72998046875,
0.51318359375,
0.72998046875
],
[
0.1175537109375,
0.73681640625,
0.489501953125,
0.73828125,
0.489501953125,
0.7529296875,
0.1175537109375,
0.751953125
],
[
0.51123046875,
0.73388671875,
0.87890625,
0.73388671875,
0.87890625,
0.74755859375,
0.51123046875,
0.74755859375
],
[
0.118408203125,
0.75439453125,
0.489501953125,
0.75439453125,
0.489501953125,
0.7685546875,
0.118408203125,
0.7685546875
],
[
0.51318359375,
0.75,
0.880859375,
0.751953125,
0.880859375,
0.765625,
0.51318359375,
0.76318359375
],
[
0.1175537109375,
0.76953125,
0.486083984375,
0.76953125,
0.486083984375,
0.783203125,
0.1175537109375,
0.783203125
],
[
0.5146484375,
0.76708984375,
0.880859375,
0.76708984375,
0.880859375,
0.78076171875,
0.5146484375,
0.78076171875
],
[
0.1175537109375,
0.78515625,
0.483642578125,
0.78515625,
0.483642578125,
0.798828125,
0.1175537109375,
0.798828125
],
[
0.51123046875,
0.783203125,
0.87890625,
0.7822265625,
0.87890625,
0.7958984375,
0.51123046875,
0.79638671875
],
[
0.12005615234375,
0.802734375,
0.484375,
0.802734375,
0.484375,
0.81640625,
0.12005615234375,
0.81640625
],
[
0.5146484375,
0.7998046875,
0.87744140625,
0.7998046875,
0.87744140625,
0.8134765625,
0.5146484375,
0.8134765625
],
[
0.118408203125,
0.818359375,
0.484375,
0.818359375,
0.484375,
0.83203125,
0.118408203125,
0.83203125
],
[
0.5146484375,
0.81787109375,
0.87890625,
0.81787109375,
0.87890625,
0.82763671875,
0.5146484375,
0.82763671875
],
[
0.118408203125,
0.8349609375,
0.484375,
0.8349609375,
0.484375,
0.8486328125,
0.118408203125,
0.8486328125
],
[
0.5146484375,
0.83203125,
0.87890625,
0.83203125,
0.87890625,
0.845703125,
0.5146484375,
0.845703125
],
[
0.51123046875,
0.8466796875,
0.68603515625,
0.84716796875,
0.68603515625,
0.8623046875,
0.51123046875,
0.86083984375
],
[
0.139404296875,
0.85546875,
0.478515625,
0.859375,
0.478515625,
0.87255859375,
0.139404296875,
0.869140625
],
[
0.118408203125,
0.87060546875,
0.48193359375,
0.87060546875,
0.48193359375,
0.88134765625,
0.118408203125,
0.88134765625
],
[
0.515625,
0.87255859375,
0.880859375,
0.87158203125,
0.880859375,
0.8857421875,
0.515625,
0.88720703125
],
[
0.1175537109375,
0.87890625,
0.486083984375,
0.8798828125,
0.486083984375,
0.89453125,
0.1175537109375,
0.8935546875
],
[
0.118408203125,
0.8935546875,
0.19482421875,
0.8935546875,
0.19482421875,
0.90478515625,
0.118408203125,
0.90478515625
],
[
0.51123046875,
0.88818359375,
0.880859375,
0.88720703125,
0.880859375,
0.90185546875,
0.51123046875,
0.90283203125
],
[
0.139404296875,
0.90478515625,
0.47607421875,
0.90625,
0.47607421875,
0.91943359375,
0.139404296875,
0.91845703125
],
[
0.51318359375,
0.90478515625,
0.8818359375,
0.90478515625,
0.8818359375,
0.91845703125,
0.51318359375,
0.91845703125
]
] |
[
"输出令牌分布。图1显示了一系列RoBERTA",
"事实分割,旨在提高全面性(83.1)。(3)我",
"模型的顶部预测。2我们首先观察到,最广泛",
"们引人了具有多个度量的三个不同的评估视图",
"使用的RoBERTAbase和large模型在事实",
"(83.3),以确保获得全面的结果,并提供对大",
"知识方面都已经过时,因为它们预测了从201C",
"集开源时间ROBERTA模型(S3.2)进行基准",
"到2019的PM名称。接下来,虽然最后三个模",
"测试的分析。",
"型(2020-2022)正确回答,但2019模型回",
"答PM(Boris)的(正确)名字,而不是所要",
"2 Related Work",
"求的姓氏(Johnson)",
"TemporalConceptDrift语言模型对时间概",
"这是在LMs-as-KBs框架中评估MLMs的时",
"念漂移的鲁棒性的评估近年来引起了越来越",
"间健壮性的许多挑战的方便说明。首先,这",
"多的兴趣。以前的工作集中在随着时间的推",
"个2019模型将被认为犯了一个错误(因为预",
"移不断适应模型的方法(Hombaiahetal.2021:",
"测与黄金标签不同,并且度量是准确性),即",
"Rosin et al., 2022; Lazaridou et al., 2022)。另",
"使事实知识是正确的(英国PM的名称)。其",
"个研究领域是对时间鲁棒性的评估,该评估",
"次,请注意,我们设计了查询来询问姓氏(而",
"已在上游LM预训练任务(Jiangetal,2020b;",
"不是PM的名称),因为这会导致单个掩码。",
"Lazaridou et al., 2021; Dhingra et al., 2022; Jang",
"LAMA-probe和相关框架不处理MLM的多今",
"etal.,2022a;Loureiroetal.,2022)和下游任务中",
"牌查询(e。g。,BorisJohnson)。最后,我们",
"进行了探索,例如情绪分析(Lukesand Sogaard",
"用?标记前两个ROBERTA模型的答案,因为",
"2018;AgarwalandNenkova,2022),命名实体",
"即使他们的答案对于我们当前的评估(10月",
"识别(Rijhwani andPreotiuc-Pietro,2020Onoe",
"2022)来说已经过时,他们的答案在训练数",
"etal.,2022),问题回答(Mavromatisetal.,2021;",
"据(2019)时的评估设置中可能是正确的。这",
"Likaetal.,2022)和谣言检测(Muet al.,2023)。",
"说明了如果未使用时间感知设计E(Lazaridou",
"还研究了模型解释E(Zhaoetal.,2022)以及法",
"et al., 2021; Dhingra et al., 2022; Loureiro et al..",
"律,生物医学(Chalkidis and Sogaard,2022)和",
"2022;Jangetal.,2022a)训练模型,则预期模型",
"社交媒体(RottgerandPierrehumbert,2021)域",
"正确的时间窗口的模糊性。",
"中的文本分类。Luuetal.(2022)探讨时间错位",
"在这项工作中,我们在解决此类限制,并",
"的设置(i。e。,从不同时间段提取的训练和测",
"提供一个整体框架,用于对时间概念漂移进行",
"试数据,用于上游和下游任务,并发现时间自",
"掩码语言模型的动态基准测试,重点是随时间",
"适应不应被视为寻找时间对齐的标记数据进行",
"变化的事实。遵循倡导关注动态的Kielaetal",
"微调的替代品",
"(2021)和Sogaardetal.(2021)的命题(i。e。,测",
"离我们最近的作品是TEMPLAMA(Dhingra",
"试集不应变得饱和)和目标(i。e。,使用多个",
"etal.,2022)。但是,我们在四个轴上有所不",
"独立的测试集来进行现实的性能估计)分别",
"同:(i)TEMPLAMA是静态的,而我们提供",
"进行基准测试,并在先前的工作E(Jiangetal.",
"的代码可以从任何时间段(不仅是每年)以细",
"2020b; Dhingra et al., 2022; Jang et al., 2022a) 的",
"粒度的方式动态下载事实,(i)我们随着时",
"基础上,我们创建了一个大型的开源测试集,",
"间的推移评估相同的模型随着时间的推移,我",
"可以随时间动态更新,其中包含示例的时间细",
"们没有探索解决该问题的最佳适应技术,(ii)",
"粒度子集,可用于查询掩码语言模型并随时间",
"我们不对模型进行微调,以使其适应测试数",
"评估其事实知识",
"据的领域/格式(更多的基准评估)(iv)。最",
"Contributions",
"(1)我们发布了DYNAM-",
"后,与我们的动机类似,Jangetal.(2022a)最",
"ICTEMPLAMA,它是由Wikidata关系组成的",
"近探索了LMs中时间概念漂移的终身适应和",
"静态TEMPLAMAE(Dhingraetal.,2022)测试",
"评估,并引人了TEMPORALWIKI进行持续适",
"集的改进版本,用于评估MLM的时间鲁棒性。",
"应和TWIKI-PROBES进行评估。主要区别在于,",
"我们提供数据和代码,以动态地保持DYNAM",
"作者专注于提供语料库以随着时间的推移适应",
"ICTEMPLAMA随着时间的推移最新。3(2)我",
"LM,而在我们的论文中,我们专注于评估LM",
"们提出了一个新颖的评估框架,首先创建任何",
"的时间鲁棒性。DYNAMICTEMPLAMA是一个",
"粒度(月、季、年)的测试集的时间分割,然后",
"整体评估框架,而“TWIKI-PROBES不是自然",
"进一步创建不变、更新、新增或删除的细粒度",
"句子;它们是由主题,关系和对象的朴素连接",
"综合生成的事实短语”",
"2Exceptfor theRoBERTAbaseandlargemodels,w",
"also show the predictions of models trained with Twitter data",
"Language Models asKnowledgeBases事实",
"until 2019,2020,2021,and 2022,respectively(Loureiro",
"et al., 2022)",
"知识的完形填空式LM评估框架LAMAE",
"\"https://github.com/amazon-science/temporal-robustnes",
"Petronietal.(2019)遵循图E1中描述的设"
] |
{
"arxiv_id": "2302.12297",
"language": "zh",
"page_idx": 2
}
|
||
2302.08888-zh-1
|
2302.08888-zh-1.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2023}}$
<FigureHere>
Figure 1: Illustration of multimodal FL. A large model at server supports multimodal tasks with public data, and heterogeneous clients at edge handle uni- and multi-modal tasks with private data.
(e。g。,图像/视频字幕 (Vinyals et al., 2015))通常在融合的跨模态表示级别上运行,而
现有的聚合日志的策略不再适用
在本文中,我们设计了一种新颖的基于 KD 的多模态联合学习框架 CreamFL(多模态 FL 的对比表示集成和聚合),该框架同时利用跨异构客户端的单模态和多模态数据来学习更大的全局模型,通过表示级集成知识转移。全球模型通过在来自不同客户端网络的公共数据集上传达私人知识来向客户学习,而不会泄露私人模型和数据。CreamFL 在服务器和客户端之间传输公共数据的低维表示,这些表示通常是上下文的,适用于比日志更复杂的任务。为了有效地聚合从异构客户端传输的表示,我们提出了一种全局-局部跨模式对比聚合策略, 以 1) 通过将局部表示与全局表示进行对比来过滤掉漂移的离群值;2) 通过与另一种模式的表示进行对比,选出更好地匹配其配对伙伴的杰出候选人
此外,具有多模态数据的 FL 带来了两种新类型的模型间隙:模态间隙和任务间隙。在单一模式下培训的单一模式客户(例如。g。图像)从未见过来自其他模态的数据(例如。g。,文本)在训练过程中,因此缺乏识别另一种模态的能力。我们将客户端之间的这种相互不兼容称为“模态间隙”。任务差距是指不同的客户可能会接受不同任务的培训,例如。g。,用于图像分类任务的单模态客户端和用于图像-文本检索任务的多模态客户端。这两个间隙都会导致前所未有的模型漂移 (Karimireddy et al.,2020) 问题。为了解决这个问题,我们引人了两个新的对比目标来规范本地培训。通过在本地培训阶段使用公共数据进行跨模态对比, 设计了一种模态间对比目标,以减轻模态差距,从而补充了单模态客户中缺少模态的信息。为了弥合任务差距,提出了一种模态内对比目标,以将局部表示与每种模态中相应的全局表示进行对比,从而使模型正则化以朝着全局共识$\mathbb{E}($Li &Wang, 2019)
总而言之,1) CreamFL 是第一个基于 KD 的多模式 FL 框架,用于支持服务器和客户端之间的异构模式和模型体系结构,同时仅在公共数据集上传达私有知识而不透露私有模型和数据。实验表明,在模型性能和通信成本方面,CreamFL 在多模式设置中优于其他 FL 系统;2)CreamFL 集成表示,而不是在客户端和服务器之间进行知识传输的日志,采用了一种新颖的全局-本地跨模式聚合策略,可以更好地表示知识学习和模式间/模式内的跨模式训练目标,以解决模型漂移;
# 2 Related Work
研究了将 KD 应用于 FL$\underline{\mathrm{E}}($Lin et al., 2020; Itahara et al., 2021; Wu et al., 2021) 的一些工作。Li & Wang (2019) 允许异构客户端从聚合的共识中提取知识,但它不训练服务器模型。FedGKT (He et al., 2020a) 允许更大的服务器型号,而服务器在客户端之间不进行选择,导致性能受阻的不良共识。Cho et al.(2022) 和 Cheng et al.(2021) 同时建议通过集成知识转移在 FL 中训练更大的服务器模型。但是,他们的选择性聚合策略是专门为 logit 设计的 (使用 logit 的方差或熵进行加权),并且学习的大型服务器模型仅限于分类任务。我们建议传输表示并设计一种新颖的集成策略,以使该模型适用于复杂的多模式任务。已经进行了多次尝试将 FL 应用于多式联运任务。Xiong et al.(2022) 将 FedAvg 扩展到多模式场景。Liu et al.(2020) 应用 FL 来利用来自不同发行版的多个数据集来提高性能,但缺少FL 的通信阶段。Zhao et al. (2022) 建议为聚合中的多模式客户端分配更高的权重,但是此策略需要手动调整权重,并且仅适用于具有单模式和多模式客户端的 FL 系统。我们设计了
2
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.04736328125,
0.176513671875,
0.04736328125
],
[
0.1993408203125,
0.0985107421875,
0.24267578125,
0.0985107421875,
0.24267578125,
0.10986328125,
0.1993408203125,
0.10986328125
],
[
0.26953125,
0.1029052734375,
0.30810546875,
0.1029052734375,
0.30810546875,
0.106689453125,
0.26953125,
0.106689453125
],
[
0.366943359375,
0.10797119140625,
0.414306640625,
0.10797119140625,
0.414306640625,
0.11932373046875,
0.366943359375,
0.11932373046875
],
[
0.468017578125,
0.10797119140625,
0.51318359375,
0.10797119140625,
0.51318359375,
0.11932373046875,
0.468017578125,
0.11932373046875
],
[
0.4697265625,
0.1029052734375,
0.5048828125,
0.1029052734375,
0.5048828125,
0.106689453125,
0.4697265625,
0.106689453125
],
[
0.26708984375,
0.10986328125,
0.314453125,
0.10986328125,
0.314453125,
0.12060546875,
0.26708984375,
0.12060546875
],
[
0.57421875,
0.1142578125,
0.60888671875,
0.1142578125,
0.60888671875,
0.12371826171875,
0.57421875,
0.12371826171875
],
[
0.468017578125,
0.12249755859375,
0.50244140625,
0.12249755859375,
0.50244140625,
0.14453125,
0.468017578125,
0.14453125
],
[
0.74267578125,
0.125,
0.7490234375,
0.125,
0.7490234375,
0.1287841796875,
0.74267578125,
0.1287841796875
],
[
0.26953125,
0.1256103515625,
0.306396484375,
0.1256103515625,
0.306396484375,
0.141357421875,
0.26953125,
0.141357421875
],
[
0.1871337890625,
0.1256103515625,
0.236083984375,
0.1256103515625,
0.236083984375,
0.1331787109375,
0.1871337890625,
0.1331787109375
],
[
0.5888671875,
0.1287841796875,
0.67333984375,
0.1287841796875,
0.67333984375,
0.1395263671875,
0.5888671875,
0.1395263671875
],
[
0.73876953125,
0.1300048828125,
0.775390625,
0.1300048828125,
0.775390625,
0.136962890625,
0.73876953125,
0.136962890625
],
[
0.6005859375,
0.1383056640625,
0.6748046875,
0.1383056640625,
0.6748046875,
0.160400390625,
0.6005859375,
0.160400390625
],
[
0.59619140625,
0.15087890625,
0.64208984375,
0.149658203125,
0.64208984375,
0.1572265625,
0.59619140625,
0.1578369140625
],
[
0.205078125,
0.1331787109375,
0.22216796875,
0.1331787109375,
0.22216796875,
0.14013671875,
0.205078125,
0.14013671875
],
[
0.5888671875,
0.1572265625,
0.67236328125,
0.1572265625,
0.67236328125,
0.1685791015625,
0.5888671875,
0.1685791015625
],
[
0.7138671875,
0.1514892578125,
0.7939453125,
0.1514892578125,
0.7939453125,
0.1622314453125,
0.7138671875,
0.1622314453125
],
[
0.281982421875,
0.1590576171875,
0.29736328125,
0.1590576171875,
0.29736328125,
0.1634521484375,
0.281982421875,
0.1634521484375
],
[
0.47802734375,
0.1590576171875,
0.496826171875,
0.1590576171875,
0.496826171875,
0.17236328125,
0.47802734375,
0.17236328125
],
[
0.226318359375,
0.1666259765625,
0.2344970703125,
0.1666259765625,
0.2344970703125,
0.17041015625,
0.226318359375,
0.17041015625
],
[
0.26318359375,
0.1787109375,
0.314453125,
0.1787109375,
0.314453125,
0.186279296875,
0.26318359375,
0.186279296875
],
[
0.1895751953125,
0.1641845703125,
0.2279052734375,
0.1641845703125,
0.2279052734375,
0.1717529296875,
0.1895751953125,
0.1717529296875
],
[
0.384033203125,
0.179931640625,
0.4150390625,
0.179931640625,
0.4150390625,
0.184326171875,
0.384033203125,
0.184326171875
],
[
0.471435546875,
0.179931640625,
0.51318359375,
0.179931640625,
0.51318359375,
0.184326171875,
0.471435546875,
0.184326171875
],
[
0.57666015625,
0.186279296875,
0.6787109375,
0.186279296875,
0.6787109375,
0.1962890625,
0.57666015625,
0.1962890625
],
[
0.736328125,
0.18310546875,
0.77783203125,
0.18310546875,
0.77783203125,
0.1900634765625,
0.736328125,
0.1900634765625
],
[
0.47216796875,
0.1900634765625,
0.50341796875,
0.1900634765625,
0.50341796875,
0.20263671875,
0.47216796875,
0.20263671875
],
[
0.27294921875,
0.1912841796875,
0.303955078125,
0.1912841796875,
0.303955078125,
0.203857421875,
0.27294921875,
0.203857421875
],
[
0.2034912109375,
0.1881103515625,
0.22216796875,
0.189453125,
0.22216796875,
0.1956787109375,
0.2034912109375,
0.1944580078125
],
[
0.1993408203125,
0.1956787109375,
0.2197265625,
0.1900634765625,
0.2254638671875,
0.203857421875,
0.205078125,
0.208984375
],
[
0.1854248046875,
0.2083740234375,
0.2320556640625,
0.2083740234375,
0.2320556640625,
0.21533203125,
0.1854248046875,
0.21533203125
],
[
0.2646484375,
0.210205078125,
0.273681640625,
0.210205078125,
0.273681640625,
0.21337890625,
0.2646484375,
0.21337890625
],
[
0.64208984375,
0.2108154296875,
0.6845703125,
0.2108154296875,
0.6845703125,
0.2215576171875,
0.64208984375,
0.2215576171875
],
[
0.27783203125,
0.2171630859375,
0.30224609375,
0.2171630859375,
0.30224609375,
0.2291259765625,
0.27783203125,
0.2291259765625
],
[
0.6435546875,
0.2203369140625,
0.6748046875,
0.2203369140625,
0.6748046875,
0.2291259765625,
0.6435546875,
0.2291259765625
],
[
0.275390625,
0.2291259765625,
0.30224609375,
0.2291259765625,
0.30224609375,
0.2374267578125,
0.275390625,
0.2374267578125
],
[
0.2034912109375,
0.21533203125,
0.2254638671875,
0.21533203125,
0.2254638671875,
0.236083984375,
0.2034912109375,
0.236083984375
],
[
0.48193359375,
0.2298583984375,
0.496826171875,
0.2298583984375,
0.496826171875,
0.2342529296875,
0.48193359375,
0.2342529296875
],
[
0.176513671875,
0.267578125,
0.82275390625,
0.267578125,
0.82275390625,
0.281005859375,
0.176513671875,
0.281005859375
],
[
0.176513671875,
0.281005859375,
0.82421875,
0.281005859375,
0.82421875,
0.294189453125,
0.176513671875,
0.294189453125
],
[
0.1732177734375,
0.296630859375,
0.26708984375,
0.29541015625,
0.26708984375,
0.306884765625,
0.1732177734375,
0.30810546875
],
[
0.176513671875,
0.3359375,
0.82421875,
0.3359375,
0.82421875,
0.349853515625,
0.176513671875,
0.349853515625
],
[
0.17724609375,
0.349853515625,
0.40283203125,
0.349853515625,
0.40283203125,
0.363037109375,
0.17724609375,
0.363037109375
],
[
0.17724609375,
0.37060546875,
0.82275390625,
0.37060546875,
0.82275390625,
0.3837890625,
0.17724609375,
0.3837890625
],
[
0.17724609375,
0.3837890625,
0.82275390625,
0.3837890625,
0.82275390625,
0.397705078125,
0.17724609375,
0.397705078125
],
[
0.176513671875,
0.397705078125,
0.82275390625,
0.397705078125,
0.82275390625,
0.410888671875,
0.176513671875,
0.410888671875
],
[
0.17724609375,
0.412353515625,
0.82177734375,
0.412353515625,
0.82177734375,
0.425537109375,
0.17724609375,
0.425537109375
],
[
0.176513671875,
0.425537109375,
0.82177734375,
0.425537109375,
0.82177734375,
0.439453125,
0.176513671875,
0.439453125
],
[
0.17724609375,
0.43994140625,
0.82177734375,
0.43994140625,
0.82177734375,
0.453857421875,
0.17724609375,
0.453857421875
],
[
0.176513671875,
0.453857421875,
0.82275390625,
0.453857421875,
0.82275390625,
0.46728515625,
0.176513671875,
0.46728515625
],
[
0.176513671875,
0.46728515625,
0.583984375,
0.46728515625,
0.583984375,
0.48095703125,
0.176513671875,
0.48095703125
],
[
0.17724609375,
0.4892578125,
0.81787109375,
0.4892578125,
0.81787109375,
0.50244140625,
0.17724609375,
0.50244140625
],
[
0.17724609375,
0.50244140625,
0.82275390625,
0.50244140625,
0.82275390625,
0.517578125,
0.17724609375,
0.517578125
],
[
0.176513671875,
0.51513671875,
0.82275390625,
0.5166015625,
0.82275390625,
0.53076171875,
0.176513671875,
0.52978515625
],
[
0.1732177734375,
0.5263671875,
0.78125,
0.52880859375,
0.78125,
0.546875,
0.1732177734375,
0.54443359375
],
[
0.775390625,
0.537109375,
0.78125,
0.537109375,
0.78125,
0.54248046875,
0.775390625,
0.54248046875
],
[
0.77685546875,
0.5322265625,
0.81884765625,
0.52978515625,
0.8203125,
0.54150390625,
0.77783203125,
0.54345703125
],
[
0.17724609375,
0.54443359375,
0.82177734375,
0.54443359375,
0.82177734375,
0.55810546875,
0.17724609375,
0.55810546875
],
[
0.17724609375,
0.55810546875,
0.82177734375,
0.55810546875,
0.82177734375,
0.5712890625,
0.17724609375,
0.5712890625
],
[
0.1805419921875,
0.5712890625,
0.82177734375,
0.5712890625,
0.82177734375,
0.58544921875,
0.1805419921875,
0.58544921875
],
[
0.17724609375,
0.5859375,
0.82275390625,
0.5859375,
0.82275390625,
0.599609375,
0.17724609375,
0.599609375
],
[
0.17724609375,
0.599609375,
0.82421875,
0.599609375,
0.82421875,
0.61279296875,
0.17724609375,
0.61279296875
],
[
0.1748046875,
0.6123046875,
0.6845703125,
0.61279296875,
0.6845703125,
0.62744140625,
0.1748046875,
0.626953125
],
[
0.17724609375,
0.63525390625,
0.82177734375,
0.63525390625,
0.82177734375,
0.6484375,
0.17724609375,
0.6484375
],
[
0.17724609375,
0.6484375,
0.82275390625,
0.6484375,
0.82275390625,
0.662109375,
0.17724609375,
0.662109375
],
[
0.17724609375,
0.66357421875,
0.82275390625,
0.66357421875,
0.82275390625,
0.6767578125,
0.17724609375,
0.6767578125
],
[
0.17724609375,
0.6767578125,
0.80810546875,
0.6767578125,
0.80810546875,
0.68994140625,
0.17724609375,
0.68994140625
],
[
0.178955078125,
0.6923828125,
0.82177734375,
0.6923828125,
0.82177734375,
0.70263671875,
0.178955078125,
0.70263671875
],
[
0.1748046875,
0.70263671875,
0.36279296875,
0.7041015625,
0.36279296875,
0.71826171875,
0.1748046875,
0.71728515625
],
[
0.1732177734375,
0.7421875,
0.326904296875,
0.7421875,
0.326904296875,
0.755859375,
0.1732177734375,
0.755859375
],
[
0.176513671875,
0.77294921875,
0.82275390625,
0.77294921875,
0.82275390625,
0.7861328125,
0.176513671875,
0.7861328125
],
[
0.176513671875,
0.7841796875,
0.82275390625,
0.78515625,
0.82275390625,
0.7998046875,
0.176513671875,
0.798828125
],
[
0.176513671875,
0.7998046875,
0.82275390625,
0.7998046875,
0.82275390625,
0.81298828125,
0.176513671875,
0.81298828125
],
[
0.176513671875,
0.81298828125,
0.82275390625,
0.81298828125,
0.82275390625,
0.8271484375,
0.176513671875,
0.8271484375
],
[
0.178955078125,
0.8291015625,
0.82177734375,
0.8291015625,
0.82177734375,
0.8388671875,
0.178955078125,
0.8388671875
],
[
0.17724609375,
0.84130859375,
0.82275390625,
0.84130859375,
0.82275390625,
0.85498046875,
0.17724609375,
0.85498046875
],
[
0.17724609375,
0.85498046875,
0.82177734375,
0.85498046875,
0.82177734375,
0.86865234375,
0.17724609375,
0.86865234375
],
[
0.17724609375,
0.869140625,
0.82275390625,
0.869140625,
0.82275390625,
0.88330078125,
0.17724609375,
0.88330078125
],
[
0.1748046875,
0.88330078125,
0.8203125,
0.88330078125,
0.8203125,
0.896484375,
0.1748046875,
0.896484375
],
[
0.176513671875,
0.896484375,
0.82275390625,
0.896484375,
0.82275390625,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.176513671875,
0.9111328125,
0.8203125,
0.9111328125,
0.8203125,
0.9248046875,
0.176513671875,
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 2023",
"Private",
"",
"MM Client",
"Txt Clients",
"",
"Img Clients",
"Server",
"",
"0",
"",
"Heterogenecot",
"Img&Txt Encoder",
"Rerieval",
"88888",
"OQOE",
"Dats",
"888",
"Image Captioning",
"A",
"ESTN",
"r",
"10E5E",
"Architectu",
"",
"",
"Public Multimodal Data",
"Answering",
"L",
"",
"Modo",
"Drit",
"UIIE",
"-.",
"ting at atabl",
"lmee",
"withfooc",
"tion",
"Drik",
"",
"Figure l: Illustration of multimodal FL. A large model at server supports multimodal tasks",
"with public data, and heterogeneous clients at edge handle uni- and multi-modal tasks with",
"private data.",
"(e。g。,图像/视频字幕(Vinyalsetal.,2015))通常在融合的跨模态表示级别上运行,而",
"现有的聚合日志的策略不再适用",
"在本文中,我们设计了一种新颖的基于KD的多模态联合学习框架CreamFL(多模态FL",
"的对比表示集成和聚合),该框架同时利用跨异构客户端的单模态和多模态数据来学习更大",
"的全局模型,通过表示级集成知识转移。全球模型通过在来自不同客户端网络的公共数据",
"集上传达私人知识来向客户学习,而不会泄露私人模型和数据。CreamFL在服务器和客户",
"端之间传输公共数据的低维表示,这些表示通常是上下文的,适用于比日志更复杂的任务。",
"为了有效地聚合从异构客户端传输的表示,我们提出了一种全局-局部跨模式对比聚合策略",
"以1)通过将局部表示与全局表示进行对比来过滤掉漂移的离群值;2)通过与另一种模式的",
"表示进行对比,选出更好地匹配其配对伙伴的杰出候选人",
"此外,具有多模态数据的FL带来了两种新类型的模型间隙:模态间隙和任务间隙。在单一",
"模式下培训的单一模式客户(例如。g。图像)从未见过来自其他模态的数据(例如。g。,文",
"本)在训练过程中,因此缺乏识别另一种模态的能力。我们将客户端之间的这种相互不兼容",
"称为“模态间隙”。任务差距是指不同的客户可能会接受不同任务的培训,例如。g。,",
".",
"用于",
"图像分类任务的单模态客户端和用于图像-文本检索任务的多模态客户端。这两个间隙都会",
"导致前所未有的模型漂移(Karimireddyetal.,2020)问题。为了解决这个问题,我们引人",
"了两个新的对比目标来规范本地培训。通过在本地培训阶段使用公共数据进行跨模态对比",
"设计了一种模态间对比目标,以减轻模态差距,从而补充了单模态客户中缺少模态的信息。",
"为了弥合任务差距,提出了一种模态内对比目标,以将局部表示与每种模态中相应的全局",
"表示进行对比,从而使模型正则化以朝着全局共识E(Li&Wang,2019)",
"总而言之,1)CreamFL是第一个基于KD的多模式FL框架,用于支持服务器和客户端之",
"间的异构模式和模型体系结构,同时仅在公共数据集上传达私有知识而不透露私有模型和",
"数据。实验表明,在模型性能和通信成本方面,CreamFL在多模式设置中优于其他FL系",
"统;2)CreamFL集成表示,而不是在客户端和服务器之间进行知识传输的日志,采用了",
"种新颖的全局-本地跨模式聚合策略,可以更好地表示知识学习和模式间/模式内的跨模式训",
"练目标,以解决模型漂移;",
"2Related Work",
"研究了将KD应用于FLE(Linetal.,2020;Itaharaet al.,2021;Wuetal.,2021)的一些",
"工作。Li&Wang(2019)允许异构客户端从聚合的共识中提取知识,但它不训练服务器模",
"型。FedGKT(Heetal.,2020a)允许更大的服务器型号,而服务器在客户端之间不进行选",
"择,导致性能受阻的不良共识。Choetal.(2022)和Chengetal.(2021)同时建议通过集成",
"知识转移在FL中训练更大的服务器模型。但是:他们的选择性聚合策略是专门为logit设",
"计的(使用logit的方差或摘进行加权),并且学习的大型服务器模型仅限于分类任务。我",
"们建议传输表示并设计一种新颖的集成策略,以使该模型适用于复杂的多模式任务。已经",
"进行了多次尝试将FL应用于多式联运任务。Xiongetal.(2022)将FedAvg扩展到多模式",
"场景。Liuetal.(2020)应用FL来利用来自不同发行版的多个数据集来提高性能,但缺少",
"FL的通信阶段。Zhao etal.(2022)建议为聚合中的多模式客户端分配更高的权重,但是此",
"策略需要手动调整权重,并且仅适用于具有单模式和多模式客户端的FL系统。我们设计了",
"2"
] |
{
"arxiv_id": "2302.08888",
"language": "zh",
"page_idx": 1
}
|
||
2302.08888-zh-2
|
2302.08888-zh-2.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2023}}$
<FigureHere>
Figure 2: Illustration of CreamFL framework with a large server and heterogeneous clients. $\textcircled{1}$ Clients receive global representations (Global Img/ Txt Rep. ) from the server and per- form regularized local training. $\textcircled{2}$ Clients generate representations of public data (Local Img/Txt Rep.) and transmit them to the server. $\textcircled{3}$ The server aggregates received local representations with global representations. $\textcircled{4}$ The server distills knowledge from the aggregated representations.
一种新颖的无调优的全局-局部跨模式聚合对比策略,该策略对只有多模式客户端的场景具
有更广泛的适用性
模态间对比学习是一种流行的多模态自监督学习技术 (Jia et al.,2021; Singh et al., 2022; Yuan et al., 2021) 。大多数预训练方法的对比部分类似于 CLIP$\boxed{\mathrm{E}}($Radford et al., 2021) , 其中对齐和未对齐的图像文本对分别被视为正负对。我们的方法在两个方面与它们不同:1) 我们创造性地应用对比的概念来设计一个用于评估表示质量的“度量”,以解决由于不可避免的异质性而导致客户之间的表示质量差异很大的挑战;2)我们建议使用模态间对比作为正则化技术来弥合客户之间的模态差距,并限制全局-局部差异
3 Federated Multimodal Learning
多模态学习的一个关键目标是将来自不同模态的信号统一到相同的向量空间中,其中跨模态的语义相关数据共享相似的表示。这个目标是我们设计的多模式联合学习框架的北极星, 以指导全球模型更好地捕获多模式数据之间的内在相关性
3.1 Problem Definition
我们考虑异构 FL 设置,其中$M$多模态客户端,$I$单模态图像客户端和$T$单模态文本客户端通过表示级别的集成知识提炼来协作训练全局模型$f_s(\cdot;\boldsymbol{w}):\mathbb{R}^n\to\mathbb{R}^d$ ,其中$\boldsymbol{w}$是模型参数,$n$和$d$分别是输入数据的维度,。每个图像客户端$p\in[I]$都有自己的私有数据集$\mathcal{I} _{p}= \left \{ \left ( x_{p}^{k}, y_{p}^{k}\right ) \right \} _{k= 1}^{| \mathcal{I} _{p}| }$ ,其中$x_{p}^{k}$是第$p$个图像客户端的第$k$个训练样本,$y_p^{k}$是其相应的标签。同样,每个文本客户端$q\in[T]$都有其私有数据集$\mathcal{T}_q=\left\{\left(x_q^k,y_q^k\right)\right\}_{k=1}^{|\mathcal{T}_q|}$。多模式客户端$m\in [ M]$ 具 有 其 本 地 数 据 集 $\mathcal{M} _{m}= \left \{ \left ( i_{m}^{k}, t_{m}^{k}\right ) \right \} _{k= 1}^{| \mathcal{M} _{m}| }$, 其 中 $( i_{m}^{k}, t_{m}^{k})$ 是 具 有 相 关 语 义 信 息 的 第 $k$ 个 图 像 文 本 对 。服 务 器 和 客 户 端 都 可 以 访 问 公 共 数 据 集 $\mathcal{P} = \left \{ \left ( i^{( k) }, t^{( k) }\right ) \right \} _{k= 1}^{| \mathcal{P} | }$, 其 中 $( j( k) , t( k) )$ 目 网 值 立 大 叶 垂 们 计 , 正 程 决 后 众 存 户 端 相 显 节 本 地 数 据 集 $\mathcal{P}$ $\left(i^{(k)},t^{(k)}\right)$是图像-文本对。我们进一步假设每个客户端根据其本地数据,任务和资源采用自已选择的小模型$f_c(\cdot;\boldsymbol{w}_c):\mathbb{R}^n\to\mathbb{R}^d$ ,该模型输出与全局模型相同维度$d$的表示
如图$\boxed{\mathrm{E}}$2 所示,在训练期间,客户端首先接收公共数据的全局表示,并通过模态间和模态内正则化执行表示学习的多个局部步骤(第 3.2 节)。然后,客户端根据自己的模态生成公共数据的表示,并将其传输到服务器。为了消除不同模态和客户端之间的偏差,服务器有选择地聚合表示 (第 3.3 节)。最后,服务器从聚合表示中执行知识提炼,并将其训练后的表示传输回客户端。算法 1 中提供了完整的算法
3
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.04736328125,
0.176513671875,
0.04736328125
],
[
0.375732421875,
0.1060791015625,
0.3896484375,
0.1060791015625,
0.3896484375,
0.11614990234375,
0.375732421875,
0.11614990234375
],
[
0.494384765625,
0.1142578125,
0.5009765625,
0.1142578125,
0.5009765625,
0.12060546875,
0.494384765625,
0.12060546875
],
[
0.609375,
0.11614990234375,
0.640625,
0.11614990234375,
0.640625,
0.12371826171875,
0.609375,
0.12371826171875
],
[
0.69921875,
0.11871337890625,
0.72607421875,
0.11871337890625,
0.72607421875,
0.12249755859375,
0.69921875,
0.12249755859375
],
[
0.370849609375,
0.125,
0.384033203125,
0.11932373046875,
0.390625,
0.1300048828125,
0.37744140625,
0.1351318359375
],
[
0.62744140625,
0.1287841796875,
0.654296875,
0.1307373046875,
0.65283203125,
0.14453125,
0.6259765625,
0.1427001953125
],
[
0.301513671875,
0.1319580078125,
0.325927734375,
0.1319580078125,
0.325927734375,
0.1363525390625,
0.301513671875,
0.1363525390625
],
[
0.2459716796875,
0.1300048828125,
0.285888671875,
0.1300048828125,
0.285888671875,
0.136962890625,
0.2459716796875,
0.136962890625
],
[
0.2459716796875,
0.1363525390625,
0.28515625,
0.1363525390625,
0.28515625,
0.1634521484375,
0.2459716796875,
0.1634521484375
],
[
0.325927734375,
0.1319580078125,
0.34228515625,
0.1319580078125,
0.34228515625,
0.1351318359375,
0.325927734375,
0.1351318359375
],
[
0.369384765625,
0.14013671875,
0.39208984375,
0.1427001953125,
0.390625,
0.15087890625,
0.36767578125,
0.1483154296875
],
[
0.453369140625,
0.1427001953125,
0.48046875,
0.1427001953125,
0.48046875,
0.15087890625,
0.453369140625,
0.15087890625
],
[
0.52685546875,
0.15087890625,
0.57666015625,
0.1514892578125,
0.57666015625,
0.1634521484375,
0.52685546875,
0.1622314453125
],
[
0.79150390625,
0.1483154296875,
0.8203125,
0.15087890625,
0.81884765625,
0.1622314453125,
0.7900390625,
0.160400390625
],
[
0.35546875,
0.1558837890625,
0.39794921875,
0.1558837890625,
0.39794921875,
0.1634521484375,
0.35546875,
0.1634521484375
],
[
0.6357421875,
0.1558837890625,
0.72802734375,
0.1572265625,
0.72802734375,
0.1685791015625,
0.6357421875,
0.1673583984375
],
[
0.2484130859375,
0.1641845703125,
0.26318359375,
0.169189453125,
0.25732421875,
0.1787109375,
0.24267578125,
0.173583984375
],
[
0.473876953125,
0.1641845703125,
0.515625,
0.1641845703125,
0.515625,
0.1749267578125,
0.473876953125,
0.1749267578125
],
[
0.6611328125,
0.1673583984375,
0.705078125,
0.1673583984375,
0.705078125,
0.1749267578125,
0.6611328125,
0.1749267578125
],
[
0.79150390625,
0.1717529296875,
0.81640625,
0.1717529296875,
0.81640625,
0.1849365234375,
0.79150390625,
0.1849365234375
],
[
0.53369140625,
0.17236328125,
0.57666015625,
0.17236328125,
0.57666015625,
0.1875,
0.53369140625,
0.1875
],
[
0.250732421875,
0.1767578125,
0.281982421875,
0.1767578125,
0.281982421875,
0.1932373046875,
0.250732421875,
0.1932373046875
],
[
0.366943359375,
0.184326171875,
0.39208984375,
0.184326171875,
0.39208984375,
0.1912841796875,
0.366943359375,
0.1912841796875
],
[
0.420654296875,
0.186279296875,
0.451904296875,
0.1881103515625,
0.450927734375,
0.1962890625,
0.419189453125,
0.1944580078125
],
[
0.48046875,
0.1875,
0.5048828125,
0.1875,
0.5048828125,
0.1956787109375,
0.48046875,
0.1956787109375
],
[
0.6259765625,
0.186279296875,
0.65869140625,
0.186279296875,
0.65869140625,
0.205810546875,
0.6259765625,
0.205810546875
],
[
0.56201171875,
0.1932373046875,
0.56884765625,
0.1932373046875,
0.56884765625,
0.199462890625,
0.56201171875,
0.199462890625
],
[
0.468017578125,
0.1956787109375,
0.51708984375,
0.1956787109375,
0.51708984375,
0.205810546875,
0.468017578125,
0.205810546875
],
[
0.253173828125,
0.1912841796875,
0.27783203125,
0.1912841796875,
0.27783203125,
0.199462890625,
0.253173828125,
0.199462890625
],
[
0.35546875,
0.2020263671875,
0.400390625,
0.2083740234375,
0.396240234375,
0.2247314453125,
0.351318359375,
0.2183837890625
],
[
0.416748046875,
0.1962890625,
0.45751953125,
0.1962890625,
0.45751953125,
0.203857421875,
0.416748046875,
0.203857421875
],
[
0.54150390625,
0.2139892578125,
0.57666015625,
0.216552734375,
0.57666015625,
0.2247314453125,
0.54150390625,
0.222900390625
],
[
0.61669921875,
0.2139892578125,
0.73193359375,
0.2139892578125,
0.73193359375,
0.2247314453125,
0.61669921875,
0.2247314453125
],
[
0.77294921875,
0.2139892578125,
0.8203125,
0.2139892578125,
0.8203125,
0.2247314453125,
0.77294921875,
0.2247314453125
],
[
0.4150390625,
0.231689453125,
0.459228515625,
0.23486328125,
0.45751953125,
0.24560546875,
0.414306640625,
0.242431640625
],
[
0.59326171875,
0.2310791015625,
0.62744140625,
0.23291015625,
0.6259765625,
0.24365234375,
0.59228515625,
0.2412109375
],
[
0.71337890625,
0.23291015625,
0.7548828125,
0.23291015625,
0.7548828125,
0.24365234375,
0.71337890625,
0.24365234375
],
[
0.473876953125,
0.2342529296875,
0.515625,
0.2342529296875,
0.515625,
0.2442626953125,
0.473876953125,
0.2442626953125
],
[
0.369384765625,
0.23291015625,
0.39208984375,
0.23291015625,
0.39208984375,
0.240478515625,
0.369384765625,
0.240478515625
],
[
0.43310546875,
0.246826171875,
0.4453125,
0.246826171875,
0.4453125,
0.250732421875,
0.43310546875,
0.250732421875
],
[
0.486083984375,
0.24560546875,
0.5087890625,
0.24560546875,
0.5087890625,
0.25244140625,
0.486083984375,
0.25244140625
],
[
0.420654296875,
0.264404296875,
0.4345703125,
0.264404296875,
0.4345703125,
0.274658203125,
0.420654296875,
0.274658203125
],
[
0.361083984375,
0.25,
0.40283203125,
0.25,
0.40283203125,
0.2568359375,
0.361083984375,
0.2568359375
],
[
0.611328125,
0.264404296875,
0.64208984375,
0.264404296875,
0.64208984375,
0.271484375,
0.611328125,
0.271484375
],
[
0.7255859375,
0.26513671875,
0.75634765625,
0.26513671875,
0.75634765625,
0.26953125,
0.7255859375,
0.26953125
],
[
0.59619140625,
0.272705078125,
0.62109375,
0.272705078125,
0.62109375,
0.27978515625,
0.59619140625,
0.27978515625
],
[
0.72607421875,
0.271484375,
0.75341796875,
0.271484375,
0.75341796875,
0.27978515625,
0.72607421875,
0.27978515625
],
[
0.285888671875,
0.285400390625,
0.404296875,
0.285888671875,
0.404296875,
0.29736328125,
0.285888671875,
0.296630859375
],
[
0.62744140625,
0.287353515625,
0.73779296875,
0.287353515625,
0.73779296875,
0.29736328125,
0.62744140625,
0.29736328125
],
[
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.1748046875,
0.34228515625,
0.82275390625,
0.34228515625,
0.82275390625,
0.35595703125,
0.1748046875,
0.35595703125
],
[
0.1748046875,
0.35595703125,
0.82421875,
0.35595703125,
0.82421875,
0.37060546875,
0.1748046875,
0.37060546875
],
[
0.1732177734375,
0.369384765625,
0.82177734375,
0.37060546875,
0.82177734375,
0.385009765625,
0.1732177734375,
0.3837890625
],
[
0.1748046875,
0.385009765625,
0.351318359375,
0.385009765625,
0.351318359375,
0.395751953125,
0.1748046875,
0.395751953125
],
[
0.1895751953125,
0.429931640625,
0.82177734375,
0.429931640625,
0.82177734375,
0.43994140625,
0.1895751953125,
0.43994140625
],
[
0.176513671875,
0.442626953125,
0.3095703125,
0.442626953125,
0.3095703125,
0.455810546875,
0.176513671875,
0.455810546875
],
[
0.176513671875,
0.46337890625,
0.82177734375,
0.46337890625,
0.82177734375,
0.4765625,
0.176513671875,
0.4765625
],
[
0.176513671875,
0.4765625,
0.81640625,
0.4765625,
0.81640625,
0.490478515625,
0.176513671875,
0.490478515625
],
[
0.176513671875,
0.4912109375,
0.82421875,
0.4912109375,
0.82421875,
0.5048828125,
0.176513671875,
0.5048828125
],
[
0.176513671875,
0.5048828125,
0.82275390625,
0.5048828125,
0.82275390625,
0.51806640625,
0.176513671875,
0.51806640625
],
[
0.17724609375,
0.51806640625,
0.82275390625,
0.51806640625,
0.82275390625,
0.5322265625,
0.17724609375,
0.5322265625
],
[
0.1748046875,
0.5322265625,
0.62158203125,
0.5341796875,
0.62158203125,
0.54736328125,
0.1748046875,
0.54541015625
],
[
0.1748046875,
0.5712890625,
0.214111328125,
0.5712890625,
0.214111328125,
0.58349609375,
0.1748046875,
0.58349609375
],
[
0.205078125,
0.5673828125,
0.48046875,
0.5693359375,
0.48046875,
0.5869140625,
0.205078125,
0.58544921875
],
[
0.176513671875,
0.60302734375,
0.82275390625,
0.60302734375,
0.82275390625,
0.6162109375,
0.176513671875,
0.6162109375
],
[
0.176513671875,
0.6171875,
0.82275390625,
0.6171875,
0.82275390625,
0.630859375,
0.176513671875,
0.630859375
],
[
0.1748046875,
0.6298828125,
0.58251953125,
0.6298828125,
0.58251953125,
0.64306640625,
0.1748046875,
0.64306640625
],
[
0.1748046875,
0.6640625,
0.35546875,
0.6640625,
0.35546875,
0.67822265625,
0.1748046875,
0.67822265625
],
[
0.176513671875,
0.69140625,
0.82275390625,
0.69140625,
0.82275390625,
0.705078125,
0.176513671875,
0.705078125
],
[
0.17724609375,
0.7041015625,
0.82275390625,
0.7041015625,
0.82275390625,
0.71826171875,
0.17724609375,
0.71826171875
],
[
0.176513671875,
0.71826171875,
0.82275390625,
0.71826171875,
0.82275390625,
0.73193359375,
0.176513671875,
0.73193359375
],
[
0.1732177734375,
0.734375,
0.325927734375,
0.73779296875,
0.325927734375,
0.755859375,
0.1732177734375,
0.751953125
],
[
0.27783203125,
0.72998046875,
0.826171875,
0.73486328125,
0.826171875,
0.7568359375,
0.27783203125,
0.751953125
],
[
0.1732177734375,
0.755859375,
0.82421875,
0.7568359375,
0.82421875,
0.77587890625,
0.1732177734375,
0.7744140625
],
[
0.68310546875,
0.7587890625,
0.6953125,
0.7587890625,
0.6953125,
0.76220703125,
0.68310546875,
0.76220703125
],
[
0.1707763671875,
0.7763671875,
0.82421875,
0.77587890625,
0.82421875,
0.796875,
0.1707763671875,
0.79736328125
],
[
0.5087890625,
0.77880859375,
0.55615234375,
0.77880859375,
0.55615234375,
0.78271484375,
0.5087890625,
0.78271484375
],
[
0.1707763671875,
0.79248046875,
0.82666015625,
0.79541015625,
0.82666015625,
0.8193359375,
0.1707763671875,
0.81640625
],
[
0.74267578125,
0.80029296875,
0.7646484375,
0.80029296875,
0.7646484375,
0.8037109375,
0.74267578125,
0.8037109375
],
[
0.176513671875,
0.81494140625,
0.82177734375,
0.8173828125,
0.82177734375,
0.83203125,
0.176513671875,
0.830078125
],
[
0.17724609375,
0.833984375,
0.7509765625,
0.833984375,
0.7509765625,
0.84765625,
0.17724609375,
0.84765625
],
[
0.17724609375,
0.85498046875,
0.82177734375,
0.85498046875,
0.82177734375,
0.86865234375,
0.17724609375,
0.86865234375
],
[
0.17724609375,
0.869140625,
0.82177734375,
0.869140625,
0.82177734375,
0.88330078125,
0.17724609375,
0.88330078125
],
[
0.1748046875,
0.88330078125,
0.82177734375,
0.8818359375,
0.82177734375,
0.896484375,
0.1748046875,
0.89794921875
],
[
0.176513671875,
0.89794921875,
0.82275390625,
0.89794921875,
0.82275390625,
0.9111328125,
0.176513671875,
0.9111328125
],
[
0.176513671875,
0.9111328125,
0.495849609375,
0.9111328125,
0.495849609375,
0.9248046875,
0.176513671875,
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 2023",
"①",
"3",
"3Globa",
"Agres",
"2",
"TaitRep",
"Local Im",
"ImgClients",
"888",
"eDo",
"TstRe",
"Server",
"Local img Rep",
"Img Rep",
"Losal ImeR",
"Global-Local Contrastive",
"MM",
"hrough a city.",
"Aggregation",
"TLoRep",
"LAslTtRe",
"888",
"TxtRer",
"Image",
"Text",
"atke",
"4",
"Encoder",
"O",
"LoeslRep",
"Encoder",
"Global Img",
"DLocal Training Regularization",
"Global Txt",
"Global Ing",
"Contrasdt",
"-Contrast",
"Global Txt",
"Txt Rer",
"tcp",
"Rep.",
"D",
"Local Txt Reg",
"nodar",
"ntra-moua",
"Contras",
"Contrast",
"Server-client Communication",
"LocalandGlobal Execution",
"Figure 2: Illustration of CreamFL framework with a large server and heterogeneous clients.",
" Clients receive global representations (Global Img/Txt Rep.) from the server and per-",
"form regularized local training. @ Clients generate representations of public data (Local",
"Img/Txt Rep.) and transmit them to the server. ③ The server aggregates received local",
"representations with global representations. @ The server distills knowledge from the ag-",
"gregatedrepresentations",
"种新颖的无调优的全局-局部跨模式聚合对比策略,该策略对只有多模式客户端的场景具",
"有更广泛的适用性",
"模态间对比学习是一种流行的多模态自监督学习技术(Jiaetal.,2021;Singhetal.2022",
"Yuanetal.,2021)。大多数预训练方法的对比部分类似于CLIPE(Radfordetal.,2021)",
"其中对齐和未对齐的图像文本对分别被视为正负对。我们的方法在两个方面与它们不同:1)",
"我们创造性地应用对比的概念来设计一个用于评估表示质量的“度量”,以解决由于不可避",
"免的异质性而导致客户之间的表示质量差异很大的挑战;2)我们建议使用模态间对比作为",
"正则化技术来弥合客户之间的模态差距,并限制全局-局部差异",
"3",
"Federated Multimodal Learning",
"多模态学习的一个关键目标是将来自不同模态的信号统一到相同的向量空间中,其中跨模",
"态的语义相关数据共享相似的表示。这个目标是我们设计的多模式联合学习框架的北极星,",
"以指导全球模型更好地捕获多模式数据之间的内在相关性",
"3.1Problem Definition",
"我们考虑异构FL设置,其中M多模态客户端,I单模态图像客户端和T单模态文本客",
"户端通过表示级别的集成知识提炼来协作训练全局模型fs(;w):Rn→Rd,其中w是模",
"型参数,n和d分别是输人数据的维度,。每个图像客户端pE[I]都有自己的私有数据集",
"Ip=[(ap,yp)kl",
",其中是第p个图像客户端的第个训练样本,是其相应的标",
"签。同样,每个文本客户端αE[T】都有其私有数据集Tα=(a,)}-1。多模式客户端",
"0",
"mE[M具有其本地数据集Mm=【(im,th))Mm,其中(im,tm)是具有相关语义信息",
"v",
"的第个图像文本对。服务器和客户端都可以访间公共数据集P=【(),(k))1-1,其中",
"",
"(i(k),t(k))是图像-文本对。我们进一步假设每个客户端根据其本地数据,任务和资源采用自",
"已选择的小模型fc(;wc):IRn→Rd,该模型输出与全局模型相同维度d的表示",
"如图E2所示,在训练期间,客户端首先接收公共数据的全局表示,并通过模态间和模态内",
"正则化执行表示学习的多个局部步骤(第3.2节)。然后,客户端根据自已的模态生成公共",
"数据的表示,并将其传输到服务器。为了消除不同模态和客户端之间的偏差,服务器有选择",
"地聚合表示(第3.3节)。最后,服务器从聚合表示中执行知识提炼,并将其训练后的表示",
"传输回客户端。算法1中提供了完整的算法",
"3"
] |
{
"arxiv_id": "2302.08888",
"language": "zh",
"page_idx": 2
}
|
||
2302.08888-zh-3
|
2302.08888-zh-3.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2023}}$
3.2 Local Training via Contrastive Regularization (LCR)
我们首先关注通过正则化本地训练来减轻模型漂移,方法是从两个角度设计对比目标:1) 模态间对比,以补充单模态客户端缺少的模态信息并增强跨模态交互;和 2)模态内对比, 以减轻非 i。i。d。每个模态中的问题分别。在每个通信回合开始时,服务器将全局模型生成的公共数据集的表示形式发送给客户端,以帮助他们规范本地训练('GlobalImgRep。’和” 全局文本代表。'在图 2 的'$\textcircled{1}$局部训练正则化’路径中)
3.2.1 Inter-modal Contrast
单模式和多模式客户端之间存在模式差距。例如,图像客户端在训练过程中从未见过任何文本信息,而多模式客户端则在两种模式的存在下进行训练。这种差距导致图像和多模式客户端生成的图像表示之间的差异。为了解决这个问题,受 CLIP (Radford et al.,2021) 的启发,通过与语言对比来增强视觉表示学习,我们在客户的本地培训中进行了模态间对比, 以补充缺失模态的信息
我们以图像客户端的正则化为例(文本客户端的类似过程)。考虑到图像客户端$c$的本地训练,在每个通信回合开始时,$c$接收公共数据$t_\mathrm{global}^{( j) }\in \mathbb{R} ^d, j= 1, \ldots , | \mathcal{P} |$的全局文本表示。对于第$k$个映像$i^(k)$ ,客户端$c$首先生成其表示$i_\mathrm{local}^{(k)}\in\mathbb{R}^d$。但是,当前的$i_\mathrm{local}^{(k)}$可能会严重偏差,原因是:1) 本地训练数据是非 i。d。采样,类似于传统的 FL; 2)局部训练是在单图像模态下进行的,不仅缺乏语言信息,而且缺乏跨模态对齐交互,这是多模态 FL 中的独特挑战
为了解决这个问题,我们求助于全局文本表示来引导单模态图像客户端走向统一的多模态表示空间。我们假设全球多模式服务器已经部分学习了图像和文本表示之间的共享表示空间。通过鼓励$i_\mathrm{local}^{(k)}$及其配对的全局数据$t_\mathrm{global}^{(k)}$的耦合,我们可以强制单模式图像客户端朝着共享的多模式表示空间前进,同时远离其他不相关的文本数据点$t_\mathrm{global}^{( j) }, j= 1, \ldots , | \mathcal{P} | , \neq k .$ 这是通过模态间对比损失来实现的:
$$\ell_{\mathrm{inter}}^{(k)}=-\log\frac{\exp\left(\boldsymbol{i}_{\mathrm{local}}^{(k)}^{\top}\cdot\boldsymbol{t}_{\mathrm{global}}^{(k)}\right)}{\sum_{j=1}^{|\mathcal{P}|}\exp\left(\boldsymbol{i}_{\mathrm{local}}^{(k)}^{\top}\cdot\boldsymbol{t}_{\mathrm{global}}^{(j)}\right)}$$
(1)
通过此对比目标的正则化,我们不仅通知本地图像客户端存在另一种模态,而且还将其正
则化到共享的多模态表示空间,以学习更好的跨模态交互
3.2.2 Intra-modal Contrast
单模式和多模式客户端之间的任务差距在多模式 FL 中自然出现。例如,图像客户端是通过图像分类任务训练的,而多模式客户端是在跨模式检索下训练的,这可能会导致严重的模型漂移,因为这些客户端是针对不同的目标训练的。为了减轻这种漂移,我们引人了模态内对比,以在每个单独的模态中将局部表示正则化为其全局共识
具体来说,映像客户端$c$在每个通信回合开始时从服务器接收全局映像表示$i_\mathrm{global}^{(j)},j=$ $1,\ldots,|\mathcal{P}|$ 。我们将第$k$个图像$i_\mathrm{local}^{(k)}$的表示与其相应的全局版本$i_\mathrm{global}^{(k)}$进行对比,以引导局部模型朝向全局共识。在 MOONE(Li et al., 2021) 之后,我们在$i_\mathrm{local}^{(k)}$与上一轮$i_\mathrm{prev}^{(k)}$的本地模型生成的表示之间添加负对比,以增加当前本地模型与上一轮之间的距离。与 MOON 不同,我们的模式内对比使用公共数据作为桥梁,而不对私有数据进行操作,因此可以看作是 MOON 对更可扩展的基于 KD 的 FL 框架的扩展。模态内对比损失定义为:
(2)
$$\begin{aligned}&\text{时 }\\&\ell_{\mathrm{intra}}^{(k)}=-\log\frac{\exp\left(\boldsymbol{i}_{\mathrm{local}}^{(k)}^{\top}\cdot\boldsymbol{i}_{\mathrm{global}}^{(k)}\right)}{\exp\left(\boldsymbol{i}_{\mathrm{local}}^{(k)}^{\top}\cdot\boldsymbol{i}_{\mathrm{global}}^{(k)}\right)+\exp\left(\boldsymbol{i}_{\mathrm{local}}^{(k)}^{\top}\cdot\boldsymbol{i}_{\mathrm{prev}}^{(k)}\right)}\end{aligned}$$
通过模态间和模态内对比正则化的客户端$c$的最终目标可以写为:
(3)
$$\mathcal{L}_{\mathrm{local}}^{(c)}=\frac{1}{|\mathcal{I}_{c}|}\sum_{k}\ell(x_{c}^{k},y_{c}^{k};\boldsymbol{w}_{c})+\gamma\cdot\frac{1}{|\mathcal{P}|}\left(\sum_{k}\ell_{\mathrm{inter}}^{(k)}+\sum_{k}\ell_{\mathrm{intra}}^{(k)}\right)$$
4
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.048614501953125,
0.176513671875,
0.048614501953125
],
[
0.1748046875,
0.1060791015625,
0.59619140625,
0.1060791015625,
0.59619140625,
0.11932373046875,
0.1748046875,
0.11932373046875
],
[
0.176513671875,
0.1307373046875,
0.82275390625,
0.1307373046875,
0.82275390625,
0.14453125,
0.176513671875,
0.14453125
],
[
0.176513671875,
0.1458740234375,
0.82177734375,
0.1458740234375,
0.82177734375,
0.1590576171875,
0.176513671875,
0.1590576171875
],
[
0.17724609375,
0.1590576171875,
0.82275390625,
0.1590576171875,
0.82275390625,
0.17236328125,
0.17724609375,
0.17236328125
],
[
0.176513671875,
0.17236328125,
0.82177734375,
0.17236328125,
0.82177734375,
0.186279296875,
0.176513671875,
0.186279296875
],
[
0.1748046875,
0.1849365234375,
0.5849609375,
0.186279296875,
0.5849609375,
0.2008056640625,
0.1748046875,
0.199462890625
],
[
0.1732177734375,
0.21533203125,
0.384033203125,
0.21533203125,
0.384033203125,
0.2291259765625,
0.1732177734375,
0.2291259765625
],
[
0.17724609375,
0.240478515625,
0.82177734375,
0.240478515625,
0.82177734375,
0.250732421875,
0.17724609375,
0.250732421875
],
[
0.176513671875,
0.25244140625,
0.82177734375,
0.25244140625,
0.82177734375,
0.266357421875,
0.176513671875,
0.266357421875
],
[
0.17724609375,
0.266357421875,
0.82275390625,
0.266357421875,
0.82275390625,
0.27978515625,
0.17724609375,
0.27978515625
],
[
0.17724609375,
0.281005859375,
0.82275390625,
0.281005859375,
0.82275390625,
0.294189453125,
0.17724609375,
0.294189453125
],
[
0.176513671875,
0.294189453125,
0.338134765625,
0.294189453125,
0.338134765625,
0.30810546875,
0.176513671875,
0.30810546875
],
[
0.17724609375,
0.317626953125,
0.82275390625,
0.317626953125,
0.82275390625,
0.32763671875,
0.17724609375,
0.32763671875
],
[
0.1748046875,
0.33203125,
0.82421875,
0.33203125,
0.82421875,
0.349853515625,
0.1748046875,
0.349853515625
],
[
0.176513671875,
0.35107421875,
0.82275390625,
0.35107421875,
0.82275390625,
0.365478515625,
0.176513671875,
0.365478515625
],
[
0.176513671875,
0.365478515625,
0.82177734375,
0.365478515625,
0.82177734375,
0.380126953125,
0.176513671875,
0.380126953125
],
[
0.17724609375,
0.380126953125,
0.82275390625,
0.380126953125,
0.82275390625,
0.39453125,
0.17724609375,
0.39453125
],
[
0.178955078125,
0.395751953125,
0.273681640625,
0.395751953125,
0.273681640625,
0.406005859375,
0.178955078125,
0.406005859375
],
[
0.17724609375,
0.417236328125,
0.82177734375,
0.417236328125,
0.82177734375,
0.427978515625,
0.17724609375,
0.427978515625
],
[
0.176513671875,
0.429931640625,
0.82177734375,
0.429931640625,
0.82177734375,
0.443115234375,
0.176513671875,
0.443115234375
],
[
0.176513671875,
0.44580078125,
0.82421875,
0.44580078125,
0.82421875,
0.460205078125,
0.176513671875,
0.460205078125
],
[
0.176513671875,
0.466552734375,
0.826171875,
0.466552734375,
0.826171875,
0.48095703125,
0.176513671875,
0.48095703125
],
[
0.176513671875,
0.484130859375,
0.4248046875,
0.484130859375,
0.4248046875,
0.494384765625,
0.176513671875,
0.494384765625
],
[
0.476318359375,
0.51025390625,
0.490234375,
0.51025390625,
0.490234375,
0.51806640625,
0.476318359375,
0.51806640625
],
[
0.57421875,
0.5068359375,
0.58642578125,
0.5068359375,
0.58642578125,
0.51123046875,
0.57421875,
0.51123046875
],
[
0.35302734375,
0.5166015625,
0.45751953125,
0.5244140625,
0.455078125,
0.54736328125,
0.3505859375,
0.5390625
],
[
0.57177734375,
0.5146484375,
0.6044921875,
0.5146484375,
0.6044921875,
0.521484375,
0.57177734375,
0.521484375
],
[
0.80224609375,
0.5244140625,
0.82421875,
0.5244140625,
0.82421875,
0.5390625,
0.80224609375,
0.5390625
],
[
0.451904296875,
0.54248046875,
0.52685546875,
0.54248046875,
0.52685546875,
0.556640625,
0.451904296875,
0.556640625
],
[
0.465576171875,
0.54150390625,
0.483642578125,
0.54150390625,
0.483642578125,
0.54541015625,
0.465576171875,
0.54541015625
],
[
0.583984375,
0.54443359375,
0.63232421875,
0.546875,
0.63232421875,
0.556640625,
0.583984375,
0.5546875
],
[
0.60107421875,
0.54345703125,
0.609375,
0.54345703125,
0.609375,
0.54736328125,
0.60107421875,
0.54736328125
],
[
0.1748046875,
0.56640625,
0.82177734375,
0.56640625,
0.82177734375,
0.580078125,
0.1748046875,
0.580078125
],
[
0.529296875,
0.54736328125,
0.58837890625,
0.54736328125,
0.58837890625,
0.5546875,
0.529296875,
0.5546875
],
[
0.176513671875,
0.58056640625,
0.58251953125,
0.58056640625,
0.58251953125,
0.5947265625,
0.176513671875,
0.5947265625
],
[
0.1748046875,
0.609375,
0.38232421875,
0.609375,
0.38232421875,
0.62255859375,
0.1748046875,
0.62255859375
],
[
0.17724609375,
0.63330078125,
0.82275390625,
0.63330078125,
0.82275390625,
0.646484375,
0.17724609375,
0.646484375
],
[
0.176513671875,
0.646484375,
0.82177734375,
0.646484375,
0.82177734375,
0.66015625,
0.176513671875,
0.66015625
],
[
0.176513671875,
0.6611328125,
0.82177734375,
0.6611328125,
0.82177734375,
0.6748046875,
0.176513671875,
0.6748046875
],
[
0.176513671875,
0.67529296875,
0.61767578125,
0.67529296875,
0.61767578125,
0.689453125,
0.176513671875,
0.689453125
],
[
0.17236328125,
0.6943359375,
0.82666015625,
0.6943359375,
0.82666015625,
0.71826171875,
0.17236328125,
0.71826171875
],
[
0.176513671875,
0.71826171875,
0.82275390625,
0.71826171875,
0.82275390625,
0.73291015625,
0.176513671875,
0.73291015625
],
[
0.1748046875,
0.734375,
0.82421875,
0.734375,
0.82421875,
0.7548828125,
0.1748046875,
0.7548828125
],
[
0.176513671875,
0.75244140625,
0.82275390625,
0.75244140625,
0.82275390625,
0.7666015625,
0.176513671875,
0.7666015625
],
[
0.17724609375,
0.767578125,
0.82275390625,
0.767578125,
0.82275390625,
0.78076171875,
0.17724609375,
0.78076171875
],
[
0.17724609375,
0.7822265625,
0.734375,
0.7822265625,
0.734375,
0.79248046875,
0.17724609375,
0.79248046875
],
[
0.53173828125,
0.79541015625,
0.60546875,
0.80615234375,
0.60107421875,
0.82470703125,
0.52783203125,
0.814453125
],
[
0.47802734375,
0.8095703125,
0.5009765625,
0.8095703125,
0.5009765625,
0.8173828125,
0.47802734375,
0.8173828125
],
[
0.301513671875,
0.8173828125,
0.396240234375,
0.8212890625,
0.39453125,
0.84326171875,
0.2998046875,
0.8388671875
],
[
0.80224609375,
0.82275390625,
0.82275390625,
0.82275390625,
0.82275390625,
0.8369140625,
0.80224609375,
0.8369140625
],
[
0.461669921875,
0.8369140625,
0.53125,
0.8388671875,
0.529296875,
0.85791015625,
0.4599609375,
0.85595703125
],
[
0.53515625,
0.83837890625,
0.61376953125,
0.8359375,
0.61376953125,
0.85498046875,
0.53515625,
0.85693359375
],
[
0.40185546875,
0.84521484375,
0.41259765625,
0.84326171875,
0.414306640625,
0.8486328125,
0.404296875,
0.85107421875
],
[
0.61669921875,
0.8466796875,
0.65185546875,
0.8466796875,
0.65185546875,
0.85400390625,
0.61669921875,
0.85400390625
],
[
0.6396484375,
0.84228515625,
0.66845703125,
0.84228515625,
0.66845703125,
0.849609375,
0.6396484375,
0.849609375
],
[
0.176513671875,
0.87353515625,
0.63818359375,
0.87353515625,
0.63818359375,
0.88720703125,
0.176513671875,
0.88720703125
],
[
0.281005859375,
0.89453125,
0.37744140625,
0.90576171875,
0.373291015625,
0.92822265625,
0.27685546875,
0.91650390625
],
[
0.366943359375,
0.89013671875,
0.564453125,
0.90283203125,
0.56201171875,
0.9267578125,
0.363525390625,
0.9140625
],
[
0.36279296875,
0.9013671875,
0.369384765625,
0.9013671875,
0.369384765625,
0.90478515625,
0.36279296875,
0.90478515625
],
[
0.56640625,
0.89599609375,
0.708984375,
0.89599609375,
0.708984375,
0.92041015625,
0.56640625,
0.92041015625
],
[
0.80224609375,
0.9013671875,
0.82275390625,
0.9013671875,
0.82275390625,
0.91552734375,
0.80224609375,
0.91552734375
],
[
0.366943359375,
0.91845703125,
0.3857421875,
0.91845703125,
0.3857421875,
0.92529296875,
0.366943359375,
0.92529296875
],
[
0.56201171875,
0.91845703125,
0.5810546875,
0.91845703125,
0.5810546875,
0.92529296875,
0.56201171875,
0.92529296875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"Published as a conference paper at ICLR 2023",
"3.2Local Training via Contrastive Regularization (LCR)",
"我们首先关注通过正则化本地训练来减轻模型漂移,方法是从两个角度设计对比目标:1",
"模态间对比,以补充单模态客户端缺少的模态信息并增强跨模态交互;和2)模态内对比",
"以减轻非i。i。d。每个模态中的问题分别。在每个通信回合开始时,服务器将全局模型生成",
"的公共数据集的表示形式发送给客户端,以帮助他们规范本地训练('GlobalmgRep。,和",
"全局文本代表。”在图2的①局部训练正则化”路径中)",
"3.2.1 Inter-modal Contrast",
"单模式和多模式客户端之间存在模式差距。例如,图像客户端在训练过程中从未见过任何文",
"本信息,而多模式客户端则在两种模式的存在下进行训练。这种差距导致图像和多模式客",
"户端生成的图像表示之间的差异。为了解决这个问题,受CLIP(Radfordetal.,2021)的",
"启发,通过与语言对比来增强视觉表示学习,我们在客户的本地培训中进行了模态间对比,",
"以补充缺失模态的信息",
"我们以图像客户端的正则化为例(文本客户端的类似过程)。考虑到图像客户端C的本地训",
"练,在每个通信回合开始时,c接收公共数据tglobalER\",j=1,..,|PI的全局文本表示。",
"对于第个映像i(k),客户端c首先生成其表示i(k)alERd。但是,当前的i(k)a可能会",
"严重偏差,原因是:1)本地训练数据是非i。i。d。采样,类似于传统的FL;②局部训练",
"是在单图像模态下进行的,不仅缺乏语言信息,而且缺乏跨模态对齐交互,这是多模态FL",
"中的独特挑战",
"为了解决这个问题,我们求助于全局文本表示来引导单模态图像客户端走向统一的多模态表",
"示空间。我们假设全球多模式服务器已经部分学习了图像和文本表示之间的共享表示空间。",
"通过鼓励ziocal及其配对的全局数据telobai的耦合,我们可以强制单模式图像客户端朝着共",
"享的多模式表示空间前进,同时远离其他不相关的文本数据点tglobal,j=1...,Pl,≠k。",
"这是通过模态间对比损失来实现的",
"ex",
"",
"elmter = -1og ",
"globa",
"(1)",
"Zi=iexp (",
"",
"tglobal",
"",
"通过此对比目标的正则化,我们不仅通知本地图像客户端存在另一种模态,而且还将其正",
"Zlocal:",
"则化到共享的多模态表示空间,以学习更好的跨模态交互",
"3.2.2Intra-modal Contrast",
"单模式和多模式客户端之间的任务差距在多模式FL中自然出现。例如,图像客户端是通过",
"图像分类任务训练的,而多模式客户端是在跨模式检索下训练的,这可能会导致严重的模",
"型漂移,因为这些客户端是针对不同的目标训练的。为了减轻这种漂移,我们引入了模态内",
"对比,以在每个单独的模态中将局部表示正则化为其全局共识",
"具体来说,映像客户端c在每个通信回合开始时从服务器接收全局映像表示iglobalj=",
"1,.,Pl。我们将第k个图像iasal的表示与其相应的全局版本ikobal进行对比,以引导局",
"部模型朝向全局共识。在MOONE(Lietal.,2021)之后,我们在i(sal与上一轮irev的本",
"地模型生成的表示之间添加负对比,以增加当前本地模型与上一轮之间的距离。与MOON",
"不同,我们的模式内对比使用公共数据作为桥梁,而不对私有数据进行操作,因此可以看作",
"是MOON对更可扩展的基于KD的FL框架的扩展。模态内对比损失定义为",
")T.igloba",
"exp",
"e(htra = - log",
"(2)",
"aliglobal",
") +exp(i",
"X",
"cal",
"2",
"通过模态间和模态内对比正则化的客户端c的最终目标可以写为",
"c(oeal =[",
"(;we)+(",
"",
"Eelter +Eeltra",
"(3)",
"k",
"",
"4"
] |
{
"arxiv_id": "2302.08888",
"language": "zh",
"page_idx": 3
}
|
||
2302.08888-zh-4
|
2302.08888-zh-4.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2023}}$
<table>
<tbody>
<tr>
<td>Algorithm 1 1: CreamFL $\varepsilon$ algorithm</td>
<td> </td>
</tr>
<tr>
<td>number ot local epochs $E^{\prime}$,server model $j$ client and fraction of clients $p$ that perforn Output: The fnal server model $w^{T}$ ServerExecutes: for$t=0,1,\ldots,T-1$do $\boldsymbol{I}_{\mathrm{glob}}, \boldsymbol{T}_{\mathrm{glob}}\leftarrow f_{s}( \mathcal{P} ; \boldsymbol{w}^{t})$ ; $\boldsymbol{I}_{\mathrm{local}}, \boldsymbol{T}_{\mathrm{local}}\leftarrow [ ] , [ ]$ ; $S_{t}\leftarrow$random set of max$(p\cdot C,1)$ clients; for each client $c$ in $S_t$ do send public representations $I_\mathrm{glob},T_\mathrm{glob}$ $I_{c},T_{c}\leftarrow$ClientLocalTraining$(~c~,~t~,~\boldsymbol{I}$ $I_{\mathrm{local}}, T_{\mathrm{local}}\leftarrow I_{\mathrm{local}}+ I_{\mathrm{c} }$, $T_{\mathrm{local}}+ T_{\mathrm{c} }$ ; end</td>
<td>$\operatorname { odel} f_{s}$ ,model $f_{c}$ ,dataset $D_{c}$ ot the $c$-th ${\mathrm{erform~computation~in~each~round.}}$ $\triangleright$generate global representations $\triangleright$sets of local representations ents; $\triangleright$in paralle $T_{\mathrm{glob}}$ to client $c$ ; , $t$ , $I_{\mathrm{glob}}$ , $T_{\mathrm{glob}}$ ); $+ T_{c}$ ;</td>
</tr>
<tr>
<td>end</td>
<td> </td>
</tr>
<tr>
<td>$17a\dot{1}$ mhlir $m1$</td>
<td> </td>
</tr>
</tbody>
</table>
12
$I,T\leftarrow\mathop{\mathrm{Aggregate~}\boldsymbol{I}}_{{\mathrm{local}}},T_{{\mathrm{local~with~}}}\boldsymbol{I}_{{\mathrm{glob}}},\boldsymbol{T}_{{\mathrm{glob~}}}$according to Equation 4-6;
$w^{t+1}\leftarrow w^t$ distills knowledge from aggregated $I,\boldsymbol{T}$ accroding to Equation 7;
13
end
14
$_{15}$ClientLocalTraing$(c,t,I_{\mathrm{glob}},T_{\mathrm{glob}})\colon$
16
$\begin{array}{l}\mathrm{for~epoch~}i=0,1,\ldots,E-1\text{ do}\\\left|\begin{array}{l}{w_{c}^{(t,i+1)}\leftarrow w_{c}^{(t,i)}-\eta_{c}\nabla\mathcal{L}_{\mathrm{local}}^{(c)}(\mathcal{D}_{c},\boldsymbol{I}_{\mathrm{glob}},\boldsymbol{T}_{\mathrm{glob}};\boldsymbol{w}_{c}^{(t,i)})\:;}\end{array}\right.\triangleright\operatorname{regularized~local~training}\\\left|\begin{array}{l}{w_{c}^{(t,i+1)}\leftarrow w_{c}^{(t,i)}-\eta_{c}\nabla\mathcal{L}_{\mathrm{local}}^{(c)}(\mathcal$
17
end
18
$I_{c}, T_{c}\leftarrow f_{c}( \mathcal{P} ; \boldsymbol{w}_{c}^{( t, E) })$ ;
$\triangleright$ generate local representations
1920
return $I_{c}, T_{c}$ ;
为了简单起见,符号略有滥用,$\ell(x_c^k,y_c^k;\boldsymbol{w}_c)$是原始本地训练任务的目标,$\gamma$是我们提出的用于减轻本地漂移的正则化项的系数。经过本地培训后,客户根据自己的模式生成公共数据的表示 (例如。g。, 图像客户端只生成图像表示,而多模式客户端同时生成图像和文本表示),并将它们传输到服务器。服务器聚合接收到的表示,然后从聚合版本中提取知识
3.3 Global-Local Contrastive Aggregation (GCA)
以前,无论是在 FL 领域还是在集成知识提炼中,表示聚合都未得到充分开发。由于许多表示都是高度偏见甚至恶意攻击的,因此服务器必须有选择地聚合它们,而关键的挑战是精确评估表示的质量,以决定在合奏期间哪个表示应该贡献更多
在多模态学习的背景下,我们通过设计用于加权目的的全局-局部跨模态对比分数来回答这个问题。通常,本地表示“接近”由服务器模型生成的配对伙伴的全局表示,并且远离其他未配对的样本,总是更好地捕获数据的语义信息和跨模式交互。同时,它通常会导致较少的局部漂移,因为它被基准化到包含来自所有客户端的信息的全局表示
3.3.1 Global-Local Cross-Modal Contrast
对于公共数据集$\mathcal{P}$的第$k$个图像-文本对$\left(i^{(k)},t^{(k)}\right)$,在聚合接收到的本地表示之前,服务器首先通过当前服务器模型生成公共数据$i_\mathrm{global}^{( j) }, \boldsymbol{t}_\mathrm{global}^{( j) }\in \mathbb{R} ^d, j= 1, \ldots , | \mathcal{P} |$的全局表示('GlobalImg/TxtRep。’在图 2 的’$\textcircled{3}$全局表示聚合’路径中)。以第$k$个本地图像表示$i_{\mathrm{local}}^{( k, c) }, c\in [ C= I+ M]$ 的 聚 合 为 例 , 上 标 $( k, c)$ 表 示 它 是 来 自 第 $c$ 个 客 户 端 的 第 $k$ 个 图 像 表 示 。遵 循 多 模 态 学 习 的 黄 金 追 求 , 我 们 为 本 地 表 示 $i_{\mathrm{local}}^{( k, c) }$分 配 了 更 高 的 聚 合 权 重 , 该 权 重可以更好地匹配其对应的全局表示$t_\mathrm{global}^{(k)}$,而不太接近其他文本$t_\mathrm{global}^{(j)},j\neq k$ 。我们通过对比学习的精神$\mathbb{E}($He et al., 2020b; Chen et al., 2020) 来实现这一点,并以对比损失的形式
5
|
[
[
0.176513671875,
0.034088134765625,
0.50732421875,
0.034088134765625,
0.50732421875,
0.04736328125,
0.176513671875,
0.04736328125
],
[
0.17724609375,
0.10919189453125,
0.42236328125,
0.10919189453125,
0.42236328125,
0.12249755859375,
0.17724609375,
0.12249755859375
],
[
0.176513671875,
0.126953125,
0.77783203125,
0.126953125,
0.77783203125,
0.14013671875,
0.176513671875,
0.14013671875
],
[
0.226318359375,
0.141357421875,
0.7890625,
0.141357421875,
0.7890625,
0.1546630859375,
0.226318359375,
0.1546630859375
],
[
0.226318359375,
0.1572265625,
0.73876953125,
0.1572265625,
0.73876953125,
0.17041015625,
0.226318359375,
0.17041015625
],
[
0.1748046875,
0.17236328125,
0.426513671875,
0.17236328125,
0.426513671875,
0.186279296875,
0.1748046875,
0.186279296875
],
[
0.16015625,
0.1925048828125,
0.29736328125,
0.1925048828125,
0.29736328125,
0.205810546875,
0.16015625,
0.205810546875
],
[
0.160888671875,
0.212158203125,
0.1732177734375,
0.212158203125,
0.1732177734375,
0.2203369140625,
0.160888671875,
0.2203369140625
],
[
0.1953125,
0.2083740234375,
0.3798828125,
0.2083740234375,
0.3798828125,
0.2215576171875,
0.1953125,
0.2215576171875
],
[
0.223876953125,
0.2235107421875,
0.406005859375,
0.222900390625,
0.406005859375,
0.2374267578125,
0.223876953125,
0.238037109375
],
[
0.56201171875,
0.2235107421875,
0.7958984375,
0.222900390625,
0.7958984375,
0.2374267578125,
0.56201171875,
0.238037109375
],
[
0.2254638671875,
0.2392578125,
0.373291015625,
0.2392578125,
0.373291015625,
0.25244140625,
0.2254638671875,
0.25244140625
],
[
0.16015625,
0.2266845703125,
0.17236328125,
0.2266845703125,
0.17236328125,
0.2374267578125,
0.16015625,
0.2374267578125
],
[
0.16015625,
0.2412109375,
0.17236328125,
0.2412109375,
0.17236328125,
0.25244140625,
0.16015625,
0.25244140625
],
[
0.58642578125,
0.2392578125,
0.7998046875,
0.2392578125,
0.7998046875,
0.25244140625,
0.58642578125,
0.25244140625
],
[
0.16015625,
0.255615234375,
0.17236328125,
0.255615234375,
0.17236328125,
0.268310546875,
0.16015625,
0.268310546875
],
[
0.2254638671875,
0.25390625,
0.51708984375,
0.25390625,
0.51708984375,
0.267578125,
0.2254638671875,
0.267578125
],
[
0.2254638671875,
0.270751953125,
0.400390625,
0.270751953125,
0.400390625,
0.281005859375,
0.2254638671875,
0.281005859375
],
[
0.71142578125,
0.270751953125,
0.79833984375,
0.270751953125,
0.79833984375,
0.2822265625,
0.71142578125,
0.2822265625
],
[
0.2484130859375,
0.2841796875,
0.611328125,
0.2841796875,
0.611328125,
0.29736328125,
0.2484130859375,
0.29736328125
],
[
0.16015625,
0.271484375,
0.17236328125,
0.271484375,
0.17236328125,
0.2841796875,
0.16015625,
0.2841796875
],
[
0.16015625,
0.287353515625,
0.17236328125,
0.287353515625,
0.17236328125,
0.298583984375,
0.16015625,
0.298583984375
],
[
0.16015625,
0.302978515625,
0.17236328125,
0.302978515625,
0.17236328125,
0.314453125,
0.16015625,
0.314453125
],
[
0.25,
0.298583984375,
0.619140625,
0.2998046875,
0.619140625,
0.314453125,
0.25,
0.313232421875
],
[
0.16015625,
0.31640625,
0.17236328125,
0.31640625,
0.17236328125,
0.328857421875,
0.16015625,
0.328857421875
],
[
0.250732421875,
0.31494140625,
0.52685546875,
0.31494140625,
0.52685546875,
0.328857421875,
0.250732421875,
0.328857421875
],
[
0.1544189453125,
0.33203125,
0.17236328125,
0.33203125,
0.17236328125,
0.3466796875,
0.1544189453125,
0.3466796875
],
[
0.223876953125,
0.330810546875,
0.253173828125,
0.330810546875,
0.253173828125,
0.343505859375,
0.223876953125,
0.343505859375
],
[
0.1544189453125,
0.347900390625,
0.17236328125,
0.347900390625,
0.17236328125,
0.3623046875,
0.1544189453125,
0.3623046875
],
[
0.2254638671875,
0.34521484375,
0.6787109375,
0.34521484375,
0.6787109375,
0.35986328125,
0.2254638671875,
0.35986328125
],
[
0.1544189453125,
0.3623046875,
0.17236328125,
0.3623046875,
0.17236328125,
0.376953125,
0.1544189453125,
0.376953125
],
[
0.223876953125,
0.35986328125,
0.7509765625,
0.361083984375,
0.7509765625,
0.375732421875,
0.223876953125,
0.375
],
[
0.1544189453125,
0.37744140625,
0.17236328125,
0.37744140625,
0.17236328125,
0.392578125,
0.1544189453125,
0.392578125
],
[
0.22216796875,
0.373779296875,
0.77685546875,
0.375732421875,
0.77685546875,
0.393310546875,
0.22216796875,
0.391357421875
],
[
0.1544189453125,
0.392578125,
0.1732177734375,
0.396484375,
0.1683349609375,
0.410400390625,
0.148681640625,
0.406005859375
],
[
0.200927734375,
0.39453125,
0.2296142578125,
0.39453125,
0.2296142578125,
0.4072265625,
0.200927734375,
0.4072265625
],
[
0.1519775390625,
0.410888671875,
0.465576171875,
0.412353515625,
0.465576171875,
0.429931640625,
0.1519775390625,
0.4287109375
],
[
0.1993408203125,
0.429931640625,
0.4248046875,
0.429931640625,
0.4248046875,
0.443115234375,
0.1993408203125,
0.443115234375
],
[
0.6044921875,
0.429931640625,
0.7998046875,
0.429931640625,
0.7998046875,
0.4443359375,
0.6044921875,
0.4443359375
],
[
0.2156982421875,
0.439453125,
0.60546875,
0.442626953125,
0.60546875,
0.46728515625,
0.2156982421875,
0.464111328125
],
[
0.156005859375,
0.431884765625,
0.1690673828125,
0.431884765625,
0.1690673828125,
0.443115234375,
0.156005859375,
0.443115234375
],
[
0.1544189453125,
0.447509765625,
0.1707763671875,
0.447509765625,
0.1707763671875,
0.462158203125,
0.1544189453125,
0.462158203125
],
[
0.689453125,
0.447509765625,
0.7998046875,
0.447509765625,
0.7998046875,
0.4609375,
0.689453125,
0.4609375
],
[
0.15283203125,
0.464111328125,
0.1707763671875,
0.464111328125,
0.1707763671875,
0.477783203125,
0.15283203125,
0.477783203125
],
[
0.200927734375,
0.46337890625,
0.2296142578125,
0.46337890625,
0.2296142578125,
0.47607421875,
0.200927734375,
0.47607421875
],
[
0.15283203125,
0.481689453125,
0.1707763671875,
0.481689453125,
0.1707763671875,
0.496826171875,
0.15283203125,
0.496826171875
],
[
0.19775390625,
0.48095703125,
0.369384765625,
0.4765625,
0.369384765625,
0.494384765625,
0.19775390625,
0.498779296875
],
[
0.5703125,
0.481689453125,
0.7998046875,
0.48095703125,
0.7998046875,
0.49560546875,
0.5703125,
0.496826171875
],
[
0.156005859375,
0.5,
0.1690673828125,
0.5,
0.1690673828125,
0.51123046875,
0.156005859375,
0.51123046875
],
[
0.2017822265625,
0.49755859375,
0.2998046875,
0.49755859375,
0.2998046875,
0.5087890625,
0.2017822265625,
0.5087890625
],
[
0.17724609375,
0.548828125,
0.82177734375,
0.548828125,
0.82177734375,
0.56298828125,
0.17724609375,
0.56298828125
],
[
0.17724609375,
0.56298828125,
0.82177734375,
0.56298828125,
0.82177734375,
0.5771484375,
0.17724609375,
0.5771484375
],
[
0.176513671875,
0.57763671875,
0.82275390625,
0.57763671875,
0.82275390625,
0.59228515625,
0.176513671875,
0.59228515625
],
[
0.176513671875,
0.59033203125,
0.78515625,
0.59033203125,
0.78515625,
0.60400390625,
0.176513671875,
0.60400390625
],
[
0.1748046875,
0.62548828125,
0.54345703125,
0.62548828125,
0.54345703125,
0.64013671875,
0.1748046875,
0.64013671875
],
[
0.1748046875,
0.65380859375,
0.82275390625,
0.65283203125,
0.82275390625,
0.66748046875,
0.1748046875,
0.66845703125
],
[
0.176513671875,
0.66748046875,
0.82177734375,
0.66748046875,
0.82177734375,
0.68115234375,
0.176513671875,
0.68115234375
],
[
0.17724609375,
0.68310546875,
0.615234375,
0.68310546875,
0.615234375,
0.693359375,
0.17724609375,
0.693359375
],
[
0.178955078125,
0.705078125,
0.8203125,
0.705078125,
0.8203125,
0.71533203125,
0.178955078125,
0.71533203125
],
[
0.176513671875,
0.71533203125,
0.82177734375,
0.71630859375,
0.82177734375,
0.73095703125,
0.176513671875,
0.72998046875
],
[
0.17724609375,
0.73095703125,
0.82275390625,
0.73095703125,
0.82275390625,
0.744140625,
0.17724609375,
0.744140625
],
[
0.17724609375,
0.7470703125,
0.6640625,
0.7470703125,
0.6640625,
0.7568359375,
0.17724609375,
0.7568359375
],
[
0.17236328125,
0.7763671875,
0.484375,
0.7763671875,
0.484375,
0.79052734375,
0.17236328125,
0.79052734375
],
[
0.176513671875,
0.80322265625,
0.82275390625,
0.80322265625,
0.82275390625,
0.8173828125,
0.176513671875,
0.8173828125
],
[
0.1732177734375,
0.8193359375,
0.826171875,
0.8193359375,
0.826171875,
0.84033203125,
0.1732177734375,
0.84033203125
],
[
0.1748046875,
0.83837890625,
0.82275390625,
0.8388671875,
0.82275390625,
0.85400390625,
0.1748046875,
0.85302734375
],
[
0.17236328125,
0.849609375,
0.82861328125,
0.849609375,
0.82861328125,
0.87744140625,
0.17236328125,
0.87744140625
],
[
0.1748046875,
0.87548828125,
0.82275390625,
0.875,
0.82275390625,
0.8896484375,
0.1748046875,
0.89013671875
],
[
0.1748046875,
0.8916015625,
0.826171875,
0.8916015625,
0.826171875,
0.912109375,
0.1748046875,
0.912109375
],
[
0.1748046875,
0.9111328125,
0.82421875,
0.9111328125,
0.82421875,
0.9248046875,
0.1748046875,
0.9248046875
],
[
0.491943359375,
0.94775390625,
0.50732421875,
0.94775390625,
0.50732421875,
0.96337890625,
0.491943359375,
0.96337890625
]
] |
[
"Published as a conference paper at ICLR 2023",
"Algorithm 1: CreamFL algorithm",
"Input: Public dataset P , number of communication rounds T , number of clients C",
"number of local epochs E , server model fs , model fe ,dataset De of the c -th",
"client and fraction of clients p that perform computation in each round.",
"Output: The final server model wt",
"1 ServerExecutes :",
"2",
"for t= 0,1,...,T-1 do",
"Iglob, Tglob ← fs(P; wt) ;",
" generate global representations",
"Ilocal,Tiocal ,;",
"3",
"4",
" sets of local representations",
"5",
"St random set of max(p .C,1) clients;",
"for eachclient cin St do",
"D in parallel",
"send public representations Iglob, Tglob to client c :",
"6",
"7",
"8",
"Ic,TeClientLocalTraining(c,t,Iglob,Tglob );",
"9",
"Ilocal, Tiocal ←Ilocal +Ic, Tiocal + Te;",
"10",
"end",
"11",
"Train server model wt using the public multimodal dataset P ;",
"12",
"I,TAggregate Iiocal,Tiocal with Iglob,Tglob according to Equation 4-6",
"13",
"wt+1 ← wt distills knowledge from aggregated I,T accroding to Equation 7;",
"14",
"end",
"15 ClientLocalTraing (c, t, Iglob , Tglob ):",
"for epoch i = 0, 1,...,E -1 do",
" regularized local training",
"w(ti+1) wt)neC(oa(De,Iglob, Tglob; wt);",
"16",
"17",
" Equation 1-3",
"18",
"end",
"19",
"Ie,T← fe(P;wt,E)) :;",
" generate local representations",
"20",
"return I.,T.:",
"为了简单起见,符号略有滥用,l(a,ywe)是原始本地训练任务的目标,是我们提出的",
"用于减轻本地漂移的正则化项的系数。经过本地培训后,客户根据自已的模式生成公共数",
"据的表示(例如。g。,图像客户端只生成图像表示,而多模式客户端同时生成图像和文本表",
"示),并将它们传输到服务器。服务器聚合接收到的表示,然后从聚合版本中提取知识",
"3.3Global-Local Contrastive Aggregation (GCA)",
"以前,无论是在FL领域还是在集成知识提炼中,表示聚合都未得到充分开发。由于许多表",
"示都是高度偏见甚至恶意攻击的,因此服务器必须有选择地聚合它们,而关键的挑战是精",
"确评估表示的质量,以决定在合奏期间哪个表示应该贡献更多",
"在多模态学习的背景下,我们通过设计用于加权自的的全局-局部跨模态对比分数来回答这",
"个问题。通常,本地表示“接近”由服务器模型生成的配对伙伴的全局表示,并且远离其他",
"未配对的样本,总是更好地捕获数据的语义信息和跨模式交互。同时,它通常会导致较少的",
"局部漂移,因为它被基准化到包含来自所有客户端的信息的全局表示",
"3.3.1Global-Local Cross-Modal Contrast",
"对于公共数据集P的第k个图像-文本对(i(),t(k)),在聚合接收到的本地表示之前,服",
"务器首先通过当前服务器模型生成公共数据ilobal,tglobalERd,j=1,.,|PI的全局表示",
"('GlobalImg/TxtRep。,在图2的”③全局表示聚合’路径中)。以第k个本地图像表示",
"i(2],cE[C=I+M)的聚合为例,上标(k,c)表示它是来自第c个客户端的第个图像",
"表示。遵循多模态学习的黄金追求,我们为本地表示分配了更高的聚合权重,该权重",
"可以更好地匹配其对应的全局表示tglobal,而不太接近其他文本tglobal,j≠。我们通过",
"对比学习的精神E(Heetal.,2020b;Chenetal.,2020)来实现这一点,并以对比损失的形式",
"5"
] |
{
"arxiv_id": "2302.08888",
"language": "zh",
"page_idx": 4
}
|
||
2306.05406-zh-1
|
2306.05406-zh-1.jpg
|
## $\textbf{Mixture- of- Domain- Adapters: 将 领 域 知 识 解 耦 并 注 人 到 预 训 练 语 言 模 }$ 型的记忆中
$\textbf{Shizhe Diao}^{\heartsuit*}$, Tianyang Xu$^{\spadesuit*},\textbf{ Ruijia Xu}^{\heartsuit},\textbf{ Jiawei Wang", Tong Zhang}^{\heartsuit}$
$^{\textcircled{\circ}}$The Hong Kong University of Science and Technology
$\{$ sdiaoaa, rxuaq, tongzhang $\}$ @ust.hk
“Wuhan University
tianyangxu@whu. edu. cn
AShanghai Jiao Tong University
wjw\_sjt@sjtu.edu.cn
# Abstract
Pre-trained language models (PLMs) demonstrate excellent abilities to understand texts in the generic domain while struggling in a specific domain. Although continued pre-training on a large domain-specific corpus is effective, it is costly to tune all the parameters on the domain. In this paper, we investigate whether we can adapt PLMs both effectively and efficiently by only tuning a few parameters. Specifically, we decouple the feed-forward networks (FFNs) of the Transformer architecture into two parts: the original pre-trained FFNs to maintain the old-domain knowledge and our novel domain-specific adapters to inject domain-specific knowledge in parallel. Then we adopt a mixture-of-adapters gate to fuse the knowledge from different domain adapters dynamically. Our proposed Mixture-of-Domain-Adapters(MixDA)employs a two-stage adapter-tuning strategy that leverages both unlabeled data and labeled data to help the domain adaptation: $i$ domain-specific adapter on unlabeled data; followed by $ii$ )the task-specific adapter on labeled data. MixDA can be seamlessly plugged into the pretraining-finetuning paradigm and our experiments demonstrate that MixDA achieves superior performance on in-domain tasks (GLUE), out-of-domain tasks (ChemProt, RCT, IMDB, Amazon), and knowledge-intensive tasks (KILT). Further analyses demonstrate the reliability, scalability, and efficiency of our method.
是对标记的域特定数据进行微调,或对未标记的域特定数据进行持续的预训练 (Gururangan et al.,2020)。尽管有效,但微调和持续的预训练方法都需要调整 PLM 的所有参数,从而提高了许多机构无法承受的高昂成本。为了减轻这种情况,提出了多种参数有效的微调 (PEFT)方法,包括基于提示的微调$\overline{\mathrm{E}}($Gao et al., 2021; Liu et al., 2021b; Schick and Schütze, 2021; Li and Liang, 2021; Liu et al., 2021a) 和基于适配器的微调$\boxed{\mathrm{E}}($Houlsby et al., 2019; Pfeiffer et al., 2020b; Hu et al., 2021)。然而,他们更关心任务适应,目前还不清楚如何定期,廉价地将领域知识注人到不同领域特定任务的 PLM 中。此外,使用 PEFT 方法直接在特定领域的语料库上调整 PLM 将导致灾难性的遗忘问题E (Yogatama et al., 2019; Gururangan et al., 2020) 。这些局限性凸显了一个重要的研究问题:如何在保持旧领域知识不变的同时,使 PLM 适应新领域知识?
受最近的研究$\overline{\mathrm{E}}($Geva et al., 2021; Cao et al. 2021;Meng et al.,2022)的启发,该研究发现知识存储在前馈网络(FFN)中,我们将 FFN 分解为两部分:原始的预训练 FFN 以维护旧领域知识和我们新颖的特定于领域的适配器以并行注入特定于领域的知识。具体来说,我们提出了 Mixture-of-Domain-Adapters( MixDA ), 它是多个域适配器的混合物,用于注入特定于域的知识,而不会影响旧域知识。我们的模型分为两个阶段:针对未标记数据的$(i)$特定于域的调整多个知识适配器,然后针对标记数据的$(ii)$特定于任务的调整适配器。在第一阶段, 我们同时在特定于领域的语料库和预训练语料库上训练多个领域适配器,同时保持原始前馈网络不变。在第二阶段,我们训练一个混合适配器门,以动态选择所需的知识适配器和用于任务适应的特定于任务的适配器
我们在广泛的任务上进行实验,包括4个域外数据集,9个域内数据集和 2 个知识密集型数据集。我们的实验结果表明 MixDA 在 15 个数据集上的有效性,涵盖生物医学,计算机科学出版物,新闻和评论。进一步的分析显示了
## 1 $\textbf{Introduction}$
预训练语言模型(PLM)已在自然语言理解$\overline{\mathrm{E}}$ (Devlin et al., 2018; Liu et al., 2019; He et al., 2021b) 和生成$\overline{\mathrm{E}}$(Lewis et al., 2019; Zhang et al., 2020; Yang et al., 2020; Brown et al., 2020) 中获得了许多成功的应用。域自适应的主要方法
$^{*}$Equal Contribution.
$^{*}$The code is available at https://github.com/
Amano-Aki/Mixture-of-Domain-Adapters.
|
[
[
0.1292724609375,
0.0843505859375,
0.8671875,
0.0843505859375,
0.8671875,
0.09857177734375,
0.1292724609375,
0.09857177734375
],
[
0.438232421875,
0.10394287109375,
0.5556640625,
0.10394287109375,
0.5556640625,
0.1181640625,
0.438232421875,
0.1181640625
],
[
0.166259765625,
0.1270751953125,
0.8310546875,
0.1270751953125,
0.8310546875,
0.144287109375,
0.166259765625,
0.144287109375
],
[
0.27197265625,
0.142578125,
0.72900390625,
0.144287109375,
0.72900390625,
0.162109375,
0.27197265625,
0.1602783203125
],
[
0.32080078125,
0.163330078125,
0.69287109375,
0.163330078125,
0.69287109375,
0.1776123046875,
0.32080078125,
0.1776123046875
],
[
0.4189453125,
0.177001953125,
0.5810546875,
0.179931640625,
0.5810546875,
0.1953125,
0.4189453125,
0.1923828125
],
[
0.393798828125,
0.193603515625,
0.60791015625,
0.19482421875,
0.60791015625,
0.2120361328125,
0.393798828125,
0.21142578125
],
[
0.36865234375,
0.208984375,
0.63232421875,
0.21142578125,
0.63232421875,
0.2286376953125,
0.36865234375,
0.226806640625
],
[
0.405517578125,
0.2298583984375,
0.59765625,
0.2298583984375,
0.59765625,
0.243408203125,
0.405517578125,
0.243408203125
],
[
0.264404296875,
0.2529296875,
0.341796875,
0.2529296875,
0.341796875,
0.267333984375,
0.264404296875,
0.267333984375
],
[
0.5146484375,
0.254150390625,
0.8818359375,
0.254150390625,
0.8818359375,
0.268310546875,
0.5146484375,
0.268310546875
],
[
0.51318359375,
0.26953125,
0.8759765625,
0.26953125,
0.8759765625,
0.283203125,
0.51318359375,
0.283203125
],
[
0.145263671875,
0.283203125,
0.45751953125,
0.283203125,
0.45751953125,
0.29638671875,
0.145263671875,
0.29638671875
],
[
0.51123046875,
0.287353515625,
0.880859375,
0.28515625,
0.880859375,
0.298583984375,
0.51123046875,
0.300537109375
],
[
0.1485595703125,
0.297607421875,
0.45751953125,
0.297607421875,
0.45751953125,
0.30810546875,
0.1485595703125,
0.30810546875
],
[
0.5146484375,
0.302734375,
0.880859375,
0.302734375,
0.880859375,
0.31640625,
0.5146484375,
0.31640625
],
[
0.145263671875,
0.311279296875,
0.45751953125,
0.311279296875,
0.45751953125,
0.32470703125,
0.145263671875,
0.32470703125
],
[
0.145263671875,
0.32373046875,
0.45751953125,
0.325927734375,
0.45751953125,
0.339111328125,
0.145263671875,
0.33740234375
],
[
0.5146484375,
0.319580078125,
0.880859375,
0.319580078125,
0.880859375,
0.333251953125,
0.5146484375,
0.333251953125
],
[
0.14697265625,
0.339111328125,
0.456787109375,
0.339111328125,
0.456787109375,
0.352783203125,
0.14697265625,
0.352783203125
],
[
0.51904296875,
0.3349609375,
0.880859375,
0.3349609375,
0.880859375,
0.3486328125,
0.51904296875,
0.3486328125
],
[
0.14697265625,
0.35400390625,
0.456787109375,
0.35400390625,
0.456787109375,
0.36767578125,
0.14697265625,
0.36767578125
],
[
0.51123046875,
0.349853515625,
0.87744140625,
0.350830078125,
0.87744140625,
0.365234375,
0.51123046875,
0.364013671875
],
[
0.145263671875,
0.366455078125,
0.453369140625,
0.366455078125,
0.453369140625,
0.380126953125,
0.145263671875,
0.380126953125
],
[
0.5146484375,
0.36767578125,
0.87744140625,
0.36767578125,
0.87744140625,
0.38134765625,
0.5146484375,
0.38134765625
],
[
0.14697265625,
0.3818359375,
0.45751953125,
0.3818359375,
0.45751953125,
0.3955078125,
0.14697265625,
0.3955078125
],
[
0.515625,
0.385498046875,
0.87890625,
0.385498046875,
0.87890625,
0.3955078125,
0.515625,
0.3955078125
],
[
0.14697265625,
0.396728515625,
0.456787109375,
0.396728515625,
0.456787109375,
0.410400390625,
0.14697265625,
0.410400390625
],
[
0.5146484375,
0.399658203125,
0.880859375,
0.399658203125,
0.880859375,
0.413330078125,
0.5146484375,
0.413330078125
],
[
0.14697265625,
0.410400390625,
0.459228515625,
0.410400390625,
0.459228515625,
0.42333984375,
0.14697265625,
0.42333984375
],
[
0.51318359375,
0.4150390625,
0.880859375,
0.4150390625,
0.880859375,
0.4287109375,
0.51318359375,
0.4287109375
],
[
0.14697265625,
0.424560546875,
0.45751953125,
0.424560546875,
0.45751953125,
0.438232421875,
0.14697265625,
0.438232421875
],
[
0.51123046875,
0.431640625,
0.87890625,
0.431640625,
0.87890625,
0.4453125,
0.51123046875,
0.4453125
],
[
0.14697265625,
0.439453125,
0.45751953125,
0.439453125,
0.45751953125,
0.453125,
0.14697265625,
0.453125
],
[
0.145263671875,
0.453125,
0.45751953125,
0.453125,
0.45751953125,
0.466064453125,
0.145263671875,
0.466064453125
],
[
0.51318359375,
0.44775390625,
0.880859375,
0.44775390625,
0.880859375,
0.46142578125,
0.51318359375,
0.46142578125
],
[
0.14697265625,
0.46728515625,
0.456787109375,
0.46728515625,
0.456787109375,
0.48095703125,
0.14697265625,
0.48095703125
],
[
0.51318359375,
0.4619140625,
0.880859375,
0.463134765625,
0.880859375,
0.47802734375,
0.51318359375,
0.476806640625
],
[
0.1485595703125,
0.482666015625,
0.45751953125,
0.482666015625,
0.45751953125,
0.493408203125,
0.1485595703125,
0.493408203125
],
[
0.51318359375,
0.479736328125,
0.8818359375,
0.479736328125,
0.8818359375,
0.493408203125,
0.51318359375,
0.493408203125
],
[
0.145263671875,
0.495361328125,
0.456787109375,
0.495361328125,
0.456787109375,
0.5087890625,
0.145263671875,
0.5087890625
],
[
0.51318359375,
0.495361328125,
0.880859375,
0.495361328125,
0.880859375,
0.5087890625,
0.51318359375,
0.5087890625
],
[
0.145263671875,
0.51025390625,
0.45751953125,
0.5087890625,
0.45751953125,
0.5224609375,
0.145263671875,
0.52392578125
],
[
0.51318359375,
0.51025390625,
0.880859375,
0.51123046875,
0.880859375,
0.525390625,
0.51318359375,
0.52490234375
],
[
0.1502685546875,
0.525390625,
0.456787109375,
0.525390625,
0.456787109375,
0.5361328125,
0.1502685546875,
0.5361328125
],
[
0.51123046875,
0.52685546875,
0.8818359375,
0.52783203125,
0.8818359375,
0.5419921875,
0.51123046875,
0.54150390625
],
[
0.14697265625,
0.5380859375,
0.45751953125,
0.5380859375,
0.45751953125,
0.5517578125,
0.14697265625,
0.5517578125
],
[
0.51318359375,
0.54443359375,
0.611328125,
0.54443359375,
0.611328125,
0.5556640625,
0.51318359375,
0.5556640625
],
[
0.14697265625,
0.552734375,
0.45751953125,
0.552734375,
0.45751953125,
0.56640625,
0.14697265625,
0.56640625
],
[
0.14697265625,
0.56640625,
0.45751953125,
0.56640625,
0.45751953125,
0.580078125,
0.14697265625,
0.580078125
],
[
0.53076171875,
0.56103515625,
0.87890625,
0.56103515625,
0.87890625,
0.576171875,
0.53076171875,
0.576171875
],
[
0.145263671875,
0.58056640625,
0.459228515625,
0.58056640625,
0.459228515625,
0.59423828125,
0.145263671875,
0.59423828125
],
[
0.51123046875,
0.57763671875,
0.880859375,
0.5791015625,
0.880859375,
0.59326171875,
0.51123046875,
0.5927734375
],
[
0.14697265625,
0.595703125,
0.459228515625,
0.595703125,
0.459228515625,
0.609375,
0.14697265625,
0.609375
],
[
0.5146484375,
0.59423828125,
0.880859375,
0.595703125,
0.880859375,
0.60986328125,
0.5146484375,
0.609375
],
[
0.145263671875,
0.609375,
0.45751953125,
0.609375,
0.45751953125,
0.62255859375,
0.145263671875,
0.62255859375
],
[
0.51318359375,
0.61083984375,
0.8818359375,
0.60986328125,
0.8818359375,
0.62451171875,
0.51318359375,
0.6259765625
],
[
0.14697265625,
0.62451171875,
0.268798828125,
0.62451171875,
0.268798828125,
0.63525390625,
0.14697265625,
0.63525390625
],
[
0.2939453125,
0.62255859375,
0.45751953125,
0.62255859375,
0.45751953125,
0.6357421875,
0.2939453125,
0.6357421875
],
[
0.51318359375,
0.62744140625,
0.880859375,
0.62744140625,
0.880859375,
0.64111328125,
0.51318359375,
0.64111328125
],
[
0.1435546875,
0.63720703125,
0.45751953125,
0.6357421875,
0.45751953125,
0.65087890625,
0.1435546875,
0.65185546875
],
[
0.5146484375,
0.64453125,
0.880859375,
0.64453125,
0.880859375,
0.65771484375,
0.5146484375,
0.65771484375
],
[
0.14697265625,
0.65185546875,
0.456787109375,
0.65185546875,
0.456787109375,
0.6650390625,
0.14697265625,
0.6650390625
],
[
0.51123046875,
0.6591796875,
0.880859375,
0.6591796875,
0.880859375,
0.6728515625,
0.51123046875,
0.6728515625
],
[
0.14697265625,
0.66650390625,
0.455078125,
0.66650390625,
0.455078125,
0.6796875,
0.14697265625,
0.6796875
],
[
0.14697265625,
0.6796875,
0.456787109375,
0.6796875,
0.456787109375,
0.693359375,
0.14697265625,
0.693359375
],
[
0.51318359375,
0.6767578125,
0.880859375,
0.6767578125,
0.880859375,
0.6904296875,
0.51318359375,
0.6904296875
],
[
0.14697265625,
0.69482421875,
0.45751953125,
0.69482421875,
0.45751953125,
0.7080078125,
0.14697265625,
0.7080078125
],
[
0.51318359375,
0.6923828125,
0.880859375,
0.6923828125,
0.880859375,
0.70703125,
0.51318359375,
0.70703125
],
[
0.14697265625,
0.7080078125,
0.45751953125,
0.7080078125,
0.45751953125,
0.7216796875,
0.14697265625,
0.7216796875
],
[
0.51318359375,
0.70703125,
0.87744140625,
0.70703125,
0.87744140625,
0.72021484375,
0.51318359375,
0.72021484375
],
[
0.14697265625,
0.72265625,
0.459228515625,
0.72265625,
0.459228515625,
0.736328125,
0.14697265625,
0.736328125
],
[
0.51318359375,
0.724609375,
0.880859375,
0.724609375,
0.880859375,
0.73828125,
0.51318359375,
0.73828125
],
[
0.145263671875,
0.73681640625,
0.39794921875,
0.736328125,
0.39794921875,
0.75,
0.145263671875,
0.75048828125
],
[
0.5146484375,
0.7412109375,
0.87890625,
0.7412109375,
0.87890625,
0.7548828125,
0.5146484375,
0.7548828125
],
[
0.51123046875,
0.755859375,
0.87890625,
0.755859375,
0.87890625,
0.76953125,
0.51123046875,
0.76953125
],
[
0.1158447265625,
0.7666015625,
0.151123046875,
0.7666015625,
0.151123046875,
0.77783203125,
0.1158447265625,
0.77783203125
],
[
0.14697265625,
0.7666015625,
0.264404296875,
0.7666015625,
0.264404296875,
0.77978515625,
0.14697265625,
0.77978515625
],
[
0.5146484375,
0.77392578125,
0.880859375,
0.77392578125,
0.880859375,
0.78759765625,
0.5146484375,
0.78759765625
],
[
0.118408203125,
0.79150390625,
0.486083984375,
0.79150390625,
0.486083984375,
0.8056640625,
0.118408203125,
0.8056640625
],
[
0.51318359375,
0.7880859375,
0.87890625,
0.7880859375,
0.87890625,
0.8017578125,
0.51318359375,
0.8017578125
],
[
0.118408203125,
0.80810546875,
0.484375,
0.80810546875,
0.484375,
0.82177734375,
0.118408203125,
0.82177734375
],
[
0.5146484375,
0.8046875,
0.880859375,
0.8046875,
0.880859375,
0.8193359375,
0.5146484375,
0.8193359375
],
[
0.1175537109375,
0.82373046875,
0.486083984375,
0.82373046875,
0.486083984375,
0.83740234375,
0.1175537109375,
0.83740234375
],
[
0.5146484375,
0.82177734375,
0.771484375,
0.82177734375,
0.771484375,
0.8349609375,
0.5146484375,
0.8349609375
],
[
0.118408203125,
0.84033203125,
0.48779296875,
0.84033203125,
0.48779296875,
0.85498046875,
0.118408203125,
0.85498046875
],
[
0.52880859375,
0.84033203125,
0.880859375,
0.84033203125,
0.880859375,
0.85400390625,
0.52880859375,
0.85400390625
],
[
0.118408203125,
0.85693359375,
0.48779296875,
0.85693359375,
0.48779296875,
0.87060546875,
0.118408203125,
0.87060546875
],
[
0.51123046875,
0.85498046875,
0.880859375,
0.85546875,
0.880859375,
0.87060546875,
0.51123046875,
0.869140625
],
[
0.5146484375,
0.87255859375,
0.880859375,
0.87255859375,
0.880859375,
0.8857421875,
0.5146484375,
0.8857421875
],
[
0.1427001953125,
0.8798828125,
0.264404296875,
0.8798828125,
0.264404296875,
0.8935546875,
0.1427001953125,
0.8935546875
],
[
0.177978515625,
0.8935546875,
0.486083984375,
0.8935546875,
0.486083984375,
0.90673828125,
0.177978515625,
0.90673828125
],
[
0.5146484375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.5146484375,
0.90283203125
],
[
0.145263671875,
0.896484375,
0.16796875,
0.896484375,
0.16796875,
0.90380859375,
0.145263671875,
0.90380859375
],
[
0.12005615234375,
0.90673828125,
0.393798828125,
0.90673828125,
0.393798828125,
0.91748046875,
0.12005615234375,
0.91748046875
],
[
0.51318359375,
0.90478515625,
0.87890625,
0.90478515625,
0.87890625,
0.91943359375,
0.51318359375,
0.91943359375
]
] |
[
"Mixture-of-Domain-Adapters:将领域知识解耦并注人到预训练语言模",
"型的记忆中",
"Shizhe Diao*, Tianyang Xu**, Ruijia Xu, Jiawei Wang*, Tong Zhang",
"The Hong Kong University of Science and Technology",
"( sdiaoaa, rxuaq, tongzhang } @ust.hk",
"+Wuhan University",
"tianyangxu@whu.edu.cn",
"*Shanghai Jiao Tong University",
"wjw_sjt@sjtu.edu.cn",
"Abstract",
"是对标记的域特定数据进行微调,或对未标",
"记的域特定数据进行持续的预训练(Gururan",
"Pre-trained language models (PLMs) demon-",
"ganetal.,2020)。尽管有效,但微调和持续的",
"strateexcellentabilitiestounderstandtextsin",
"预训练方法都需要调整PLM的所有参数,从",
"the generic domain while struggling in a spe-",
"cific domain.Although continued pre-training",
"而提高了许多机构无法承受的高昂成本。为",
"on a large domain-specific corpus is effective,",
"了减轻这种情况,提出了多种参数有效的微",
"it is costly to tune all the parameters on the",
"调(PEFT)方法,包括基于提示的微调E(Gac",
"domain. In this paper, we investigate whethe",
"et al., 2021; Liu et al., 2021b; Schick and Schuitze",
"we can adapt PLMs both effectively and ef",
"2021;Liand Liang,2021;Liu et al.,202la)和基",
"ficiently by only tuning a few parameters.",
"于适配器的微调E(Houlsbyetal.,2019;Pfeiffer",
"Specifically, we decouple the feed-forward net-",
"etal.,2020b;Huetal.,2021)。然而,他们更关",
"works (FFNs) of the Transformer architec",
"心任务适应,目前还不清楚如何定期,廉价地",
"ture into two parts: the original pre-trained",
"FFNs to maintain the old-domain knowledge",
"将领域知识注入到不同领域特定任务的PLM",
"and our novel domain-specific adapters to",
"中。此外,使用PEFT方法直接在特定领域的语",
"injectdomain-specificknowledgeinparal-",
"料库上调整PLM将导致灾难性的遗忘问题E",
"lel. Then we adopt a mixture-of-adapters",
"(Yogatama et al., 2019; Gururangan et al., 2020)",
"gate to fuse the knowledge from different do-",
"这些局限性凸显了一个重要的研究问题:如何",
"mainadaptersdynamically.Ourproposed",
"在保持旧领域知识不变的同时,使PLM适应",
"Mixture-of-Domain-Adapters (MixDA) em",
"新领域知识?",
"ploys a two-stage adapter-tuning strategy that",
"leverages both unlabeled data and labeled",
"受最近的研究E(Geva et al.,2021;Cao etal.",
"data to help the domain adaptation: i)",
"2021;Mengetal.,2022)的启发,该研究发现知",
"domain-specific adapter on unlabeled data;",
"识存储在前馈网络(FFN)中,我们将FFN分",
"followed by ii ) the task-specific adapter",
"解为两部分:原始的预训练FFN以维护旧领",
"on labeled data.",
"MixDA can be seam-",
"域知识和我们新颖的特定于领域的适配器以并",
"lessly plugged into the pretraining-finetuning",
"行注入特定于领域的知识。具体来说,我们提",
"paradigm and our experiments demonstrate",
"出了Mixture-of-Domain-Adapters(MixDA)",
"that MixDA achieves superior performance",
"on in-domain tasks (GLUE), out-of-domain",
"它是多个域适配器的混合物,用于注入特定于",
"tasks (ChemProt, RCT, IMDB, Amazon),",
"域的知识,而不会影响旧域知识。我们的模型",
"and knowledge-intensive tasks (KILT). Fur",
"分为两个阶段:针对未标记数据的(i)特定于",
"ther analyses demonstrate the reliability, scal-",
"域的调整多个知识适配器,然后针对标记数据",
"ability, and efficiency of our method.",
"的(i)特定于任务的调整适配器。在第一阶段",
"我们同时在特定于领域的语料库和预训练语料",
"1",
"Introduction",
"库上训练多个领域适配器,同时保持原始前馈",
"预训练语言模型(PLM)已在自然语言理解E",
"网络不变。在第二阶段,我们训练一个混合适",
"(Devlin et al., 2018; Liu et al., 2019; He et al.,",
"配器门,以动态选择所需的知识适配器和用于",
"2021b)和生成E(Lewis et al.,2019;Zhang et al.",
"任务适应的特定于任务的适配器",
"2020;Yang et al., 2020; Brown et al., 2020)中获",
"我们在广泛的任务上进行实验,包括4个域",
"得了许多成功的应用。域自适应的主要方法",
"外数据集,9个域内数据集和2个知识密集型",
"数据集。我们的实验结果表明MixDA在15个",
"Equal Contribution.",
"codeis available at https://github.com/",
"数据集上的有效性,涵盖生物医学,计算机科",
"The",
"Amano-Aki/Mixture-of-Domain-Adapters",
"学出版物,新闻和评论。进一步的分析显示了"
] |
{
"arxiv_id": "2306.05406",
"language": "zh",
"page_idx": 1
}
|
||
2306.05406-zh-2
|
2306.05406-zh-2.jpg
|
它在域内和域外任务上都显示出卓越的性能。$(ii)$可扩展性:它可以很好地扩展到越来越多的域。$(iii)$效率:每个域只添加少量参数。我们声称这些属性对于语言模型即服务很有帮助,其中提供了冻结的 PLM, 并且插人了多个适配器以支持不同的自定义服务
# 2 Related Work
在本节中,我们将回顾与将领域知识注人预训练语言模型相关的四个研究领域:知识注人, 领域适应,参数高效微调和适配器混合
# 2.1 Knowledge Injection
知识可以通过预训练或微调注人 PLM,每个都对应一个单独的研究方向。在预训练过程中,知识图$\overline{\mathrm{E}}($Zhang et al., 2019; He et al., 2020) , 实体$\overline{\mathrm{E}}($Sun et al., 2019; Xiong et al., 2020) , n-gram$\boxed{\mathrm{F}}($Diao et al.,2020),知识嵌入$\boxed{\mathrm{F}}($Wang et al., 2021b) , WordNet$\boxed{\mathrm{E}}($Lauscher et al., 2019) 中的同义词和下位词-hypernym 关系,单词-超敏感知识$\overline{\mathrm{E}}($Levine et al., 2020) 和知识库$\overline{\mathrm{E}}($Peters et al.,2019) 所携带。然而,基于预训练的方法成本很高,使得应用于大型 PLM(例如。g。,具有 1750 亿个参数的模型)不可能。基于微调的方法只需要额外的微调过程。一些研究将额外的信息注人到输入句子中,例如来自知识图$\overline{\mathrm{E}}($Liu et al., 2020) 和知识上下文$\overline{\mathrm{E}}$ (Faldu et al.,2021)的知识三元组,而其他研究则探索了特定的模型和训练设计,例如知识适配器网络|E(Wang et al.,2021a) ,图卷积网络和 LSTMs$\boxed{\mathrm{F}}($Lin et al.,2019) 以及元学习$\boxed{\mathrm{E}}$ (Sinitsin et al., 2020) 。Zhu et al. (2020) 通过在未修改的事实上添加对损失的约束,将知识注入表述为受约束的优化问题。最近的研究(Geva et al., 2021; Cao et al., 2021; Meng et al., 2022) 揭示了知识存储在 PLM 的前馈网络中。受这些研究的启发,我们提出了一种新的有效的调优方法,以最小的成本将领域知识注人前馈网络
## 2.2 Domain Adaptation
以前的研究已经观察到,语言模型在域移动$\mathbb{E}$ (Beltagy et al., 2019; Alsentzer et al., 2019; Huang et al., 2019; Lee et al., 2020; Ke et al., 2022b) 期间会遭受显着的性能下降。介绍了可以弥合领域差距的有效策略。从头开始训练语言模型是有效的,但成本很高,例如 SciBERT$\boxed{\mathrm{F}}$(Beltagy et al., 2019) , BioBERT$\overline{\mathrm{E}}$(Lee et al., 2020) 和ClinicalBERT$\boxed{\mathrm{E}}($Alsentzer et al.,2019)。最近的研究探索了持续的预训练$\overline{\mathrm{E}}$(Gururangan et al.,
我们提出的方法的三个关键属性:$(i)$ 可靠性:2020)和适配器网络$\overline{\mathrm{E}}($Diao et al.,2021),以通
过在未标记的下游任务数据上进行训练来节省时间。在本文中,我们介绍了用于域自适应的插件域适配器,由于显式学习策略和高效的模型体系结构,它们是有效的并减轻了灾难性的遗忘问题
# 2.3 Parameter-Efficient Fine-tuning
另一个相关的研究方向是参数有效微调(PEFT),它仅微调少量参数。现有的工作从两个角度解决了这个问题:基于提示的调整$\boxed{\mathrm{F}}($Gao et al., 2021; Liu et al., 2021b; Schick and Schütze, 2021; Li and Liang, 2021; Liu et al., 2021a) 和基于适配器的调整$\overline{\mathrm{E}}($Houlsby et al., 2019;Pfeiffer et al., 2020b; Hu et al., 2021)。基于适配器的调优中的几项工作与我们的。AdapterFusion (Pfeiffer et al., 2021) 旨在组合多个任务适配器,但不提供特定的架构或培训策略来学习外部知识。DEMix (Gururangan et al.,2022) 和 MixDA 都训练专用于域的适配器,并使用机制路由不同的适配器,但路由方法,基本模型和训练策略有所不同。K-Adapter (Wang et al., 2021a) 受 T-REx 三元组训练的限制,缺乏对非结构化知识进行训练的灵活性。与 MixDA 类似,CPT (Ke et al., 2022a) 将领域知识集成到LM 中,但它采用了不同的方法。虽然 MixDA 使用域适配器替代 FFN 层和任务适配器来执行最终任务,但 CPT 添加了学习域知识的 CL 插件。He et al.(2021a) 最近的工作提出了一个统一的框架,可以在不同的 PEFT 方法之间建立联系。我们的工作可以利用任何 PEFT 方法并对其进行补充
# 2.4 Mixture-of-Experts
专家混合 (MoE) (Shazeer et al.,2017)介绍了几种专家网络、门控网络和负载平衡技术。以下研究改进了有关初始化和训练方案 (Fedus et al.,2022)、路由机制(Zuo et al.,2021; Yang et al., 2021) 和负载平衡问题 (Lewis et al., 2021; Roller et al., 2021) 的 MoE。AdaMix (Wang et al., 2022) 提出了一种混合适配器来提高下游任务性能。我们的域适配器不是混合不同设计的适配器,而是专门为领域知识设计的前馈网络
### 3 $\mathbf{Approach}$
给定预训练的语言模型$\mathcal{M}$ ,输入是句子$\mathcal{X}=$ $t_1t_2\cdots t_i\cdots t_T$ $( t_i$表示第$i$个令牌),输出是每个令牌的表示。我们模型的整体架构如图 1 所示。培训过程分为两个阶段。在阶段1$\operatorname{lE}($图 1 (a)) 中,我们在某些 Transformer 层中注入了与原始预训练 FFN 并行的新前馈网
|
[
[
0.118408203125,
0.0872802734375,
0.490234375,
0.0872802734375,
0.490234375,
0.1009521484375,
0.118408203125,
0.1009521484375
],
[
0.509765625,
0.08489990234375,
0.87890625,
0.08489990234375,
0.87890625,
0.09857177734375,
0.509765625,
0.09857177734375
],
[
0.12005615234375,
0.10272216796875,
0.490234375,
0.10272216796875,
0.490234375,
0.11639404296875,
0.12005615234375,
0.11639404296875
],
[
0.51318359375,
0.10272216796875,
0.880859375,
0.10272216796875,
0.880859375,
0.11639404296875,
0.51318359375,
0.11639404296875
],
[
0.12005615234375,
0.12054443359375,
0.483642578125,
0.12054443359375,
0.483642578125,
0.1312255859375,
0.12005615234375,
0.1312255859375
],
[
0.51318359375,
0.12054443359375,
0.87744140625,
0.12054443359375,
0.87744140625,
0.1312255859375,
0.51318359375,
0.1312255859375
],
[
0.118408203125,
0.1353759765625,
0.48779296875,
0.1353759765625,
0.48779296875,
0.1484375,
0.118408203125,
0.1484375
],
[
0.51318359375,
0.1353759765625,
0.880859375,
0.1353759765625,
0.880859375,
0.1484375,
0.51318359375,
0.1484375
],
[
0.12005615234375,
0.152587890625,
0.483642578125,
0.152587890625,
0.483642578125,
0.163330078125,
0.12005615234375,
0.163330078125
],
[
0.51123046875,
0.1519775390625,
0.880859375,
0.1519775390625,
0.880859375,
0.1650390625,
0.51123046875,
0.1650390625
],
[
0.1175537109375,
0.166259765625,
0.486083984375,
0.166259765625,
0.486083984375,
0.179931640625,
0.1175537109375,
0.179931640625
],
[
0.51318359375,
0.168701171875,
0.587890625,
0.168701171875,
0.587890625,
0.179931640625,
0.51318359375,
0.179931640625
],
[
0.1175537109375,
0.182861328125,
0.372802734375,
0.182861328125,
0.372802734375,
0.196533203125,
0.1175537109375,
0.196533203125
],
[
0.51123046875,
0.19482421875,
0.81005859375,
0.196533203125,
0.81005859375,
0.21142578125,
0.51123046875,
0.208984375
],
[
0.11419677734375,
0.213134765625,
0.274658203125,
0.213134765625,
0.274658203125,
0.226806640625,
0.11419677734375,
0.226806640625
],
[
0.5146484375,
0.218505859375,
0.880859375,
0.218505859375,
0.880859375,
0.232177734375,
0.5146484375,
0.232177734375
],
[
0.509765625,
0.2340087890625,
0.87890625,
0.2340087890625,
0.87890625,
0.2476806640625,
0.509765625,
0.2476806640625
],
[
0.118408203125,
0.240478515625,
0.484375,
0.240478515625,
0.484375,
0.254150390625,
0.118408203125,
0.254150390625
],
[
0.1175537109375,
0.255859375,
0.490234375,
0.255859375,
0.490234375,
0.26953125,
0.1175537109375,
0.26953125
],
[
0.5146484375,
0.25048828125,
0.880859375,
0.25048828125,
0.880859375,
0.26416015625,
0.5146484375,
0.26416015625
],
[
0.51318359375,
0.2666015625,
0.880859375,
0.2666015625,
0.880859375,
0.27978515625,
0.51318359375,
0.27978515625
],
[
0.118408203125,
0.2724609375,
0.429931640625,
0.2724609375,
0.429931640625,
0.2861328125,
0.118408203125,
0.2861328125
],
[
0.5146484375,
0.281982421875,
0.880859375,
0.281982421875,
0.880859375,
0.295654296875,
0.5146484375,
0.295654296875
],
[
0.1175537109375,
0.300537109375,
0.32666015625,
0.300537109375,
0.32666015625,
0.314208984375,
0.1175537109375,
0.314208984375
],
[
0.51123046875,
0.29638671875,
0.880859375,
0.297607421875,
0.880859375,
0.312255859375,
0.51123046875,
0.311279296875
],
[
0.51318359375,
0.314208984375,
0.880859375,
0.314208984375,
0.880859375,
0.327880859375,
0.51318359375,
0.327880859375
],
[
0.118408203125,
0.32373046875,
0.486083984375,
0.32373046875,
0.486083984375,
0.33740234375,
0.118408203125,
0.33740234375
],
[
0.51123046875,
0.330078125,
0.87890625,
0.330078125,
0.87890625,
0.34326171875,
0.51123046875,
0.34326171875
],
[
0.1175537109375,
0.33837890625,
0.486083984375,
0.33837890625,
0.486083984375,
0.3515625,
0.1175537109375,
0.3515625
],
[
0.51318359375,
0.3466796875,
0.880859375,
0.3466796875,
0.880859375,
0.35986328125,
0.51318359375,
0.35986328125
],
[
0.1175537109375,
0.355224609375,
0.48779296875,
0.35400390625,
0.48779296875,
0.3681640625,
0.1175537109375,
0.369384765625
],
[
0.51318359375,
0.363525390625,
0.880859375,
0.363525390625,
0.880859375,
0.377197265625,
0.51318359375,
0.377197265625
],
[
0.118408203125,
0.371826171875,
0.490234375,
0.371826171875,
0.490234375,
0.385498046875,
0.118408203125,
0.385498046875
],
[
0.51123046875,
0.377685546875,
0.87890625,
0.377685546875,
0.87890625,
0.391357421875,
0.51123046875,
0.391357421875
],
[
0.1158447265625,
0.385986328125,
0.486083984375,
0.385986328125,
0.486083984375,
0.40087890625,
0.1158447265625,
0.40087890625
],
[
0.51123046875,
0.393798828125,
0.87744140625,
0.393798828125,
0.87744140625,
0.40673828125,
0.51123046875,
0.40673828125
],
[
0.1175537109375,
0.402099609375,
0.484375,
0.402587890625,
0.484375,
0.41748046875,
0.1175537109375,
0.416259765625
],
[
0.51123046875,
0.410888671875,
0.87890625,
0.410888671875,
0.87890625,
0.424560546875,
0.51123046875,
0.424560546875
],
[
0.118408203125,
0.419189453125,
0.484375,
0.419189453125,
0.484375,
0.43408203125,
0.118408203125,
0.43408203125
],
[
0.51123046875,
0.42578125,
0.880859375,
0.427490234375,
0.880859375,
0.441162109375,
0.51123046875,
0.439453125
],
[
0.118408203125,
0.435791015625,
0.48779296875,
0.435791015625,
0.48779296875,
0.449462890625,
0.118408203125,
0.449462890625
],
[
0.51123046875,
0.443603515625,
0.87744140625,
0.443603515625,
0.87744140625,
0.457275390625,
0.51123046875,
0.457275390625
],
[
0.1158447265625,
0.451904296875,
0.483642578125,
0.451904296875,
0.483642578125,
0.465576171875,
0.1158447265625,
0.465576171875
],
[
0.51318359375,
0.458984375,
0.880859375,
0.458984375,
0.880859375,
0.47265625,
0.51318359375,
0.47265625
],
[
0.118408203125,
0.468505859375,
0.484375,
0.468505859375,
0.484375,
0.482177734375,
0.118408203125,
0.482177734375
],
[
0.51318359375,
0.4755859375,
0.87890625,
0.4755859375,
0.87890625,
0.4892578125,
0.51318359375,
0.4892578125
],
[
0.11419677734375,
0.482666015625,
0.489501953125,
0.48095703125,
0.489501953125,
0.498779296875,
0.11419677734375,
0.50048828125
],
[
0.509765625,
0.490478515625,
0.880859375,
0.4912109375,
0.880859375,
0.505859375,
0.509765625,
0.5048828125
],
[
0.118408203125,
0.49951171875,
0.486083984375,
0.498779296875,
0.486083984375,
0.5126953125,
0.118408203125,
0.51318359375
],
[
0.5146484375,
0.50830078125,
0.880859375,
0.50830078125,
0.880859375,
0.521484375,
0.5146484375,
0.521484375
],
[
0.1175537109375,
0.5166015625,
0.483642578125,
0.5166015625,
0.483642578125,
0.52978515625,
0.1175537109375,
0.52978515625
],
[
0.51123046875,
0.52392578125,
0.880859375,
0.52392578125,
0.880859375,
0.53759765625,
0.51123046875,
0.53759765625
],
[
0.1175537109375,
0.53076171875,
0.484375,
0.53076171875,
0.484375,
0.54443359375,
0.1175537109375,
0.54443359375
],
[
0.51123046875,
0.54052734375,
0.86962890625,
0.54052734375,
0.86962890625,
0.55419921875,
0.51123046875,
0.55419921875
],
[
0.1175537109375,
0.548828125,
0.48779296875,
0.548828125,
0.48779296875,
0.5625,
0.1175537109375,
0.5625
],
[
0.51123046875,
0.5556640625,
0.880859375,
0.5556640625,
0.880859375,
0.5693359375,
0.51123046875,
0.5693359375
],
[
0.118408203125,
0.5654296875,
0.48779296875,
0.5654296875,
0.48779296875,
0.5791015625,
0.118408203125,
0.5791015625
],
[
0.51318359375,
0.572265625,
0.880859375,
0.572265625,
0.880859375,
0.5859375,
0.51318359375,
0.5859375
],
[
0.118408203125,
0.580078125,
0.486083984375,
0.580078125,
0.486083984375,
0.59326171875,
0.118408203125,
0.59326171875
],
[
0.51123046875,
0.58837890625,
0.66162109375,
0.58837890625,
0.66162109375,
0.6015625,
0.51123046875,
0.6015625
],
[
0.118408203125,
0.5966796875,
0.48779296875,
0.5966796875,
0.48779296875,
0.60986328125,
0.118408203125,
0.60986328125
],
[
0.1175537109375,
0.61083984375,
0.484375,
0.6123046875,
0.484375,
0.626953125,
0.1175537109375,
0.6259765625
],
[
0.51318359375,
0.61767578125,
0.7138671875,
0.61767578125,
0.7138671875,
0.63134765625,
0.51318359375,
0.63134765625
],
[
0.118408203125,
0.62890625,
0.484375,
0.62890625,
0.484375,
0.642578125,
0.118408203125,
0.642578125
],
[
0.5146484375,
0.63818359375,
0.87744140625,
0.63818359375,
0.87744140625,
0.65185546875,
0.5146484375,
0.65185546875
],
[
0.118408203125,
0.6455078125,
0.486083984375,
0.6455078125,
0.486083984375,
0.6591796875,
0.118408203125,
0.6591796875
],
[
0.51318359375,
0.65380859375,
0.880859375,
0.65380859375,
0.880859375,
0.66748046875,
0.51318359375,
0.66748046875
],
[
0.1175537109375,
0.6611328125,
0.484375,
0.6611328125,
0.484375,
0.6748046875,
0.1175537109375,
0.6748046875
],
[
0.118408203125,
0.6767578125,
0.484375,
0.6767578125,
0.484375,
0.6904296875,
0.118408203125,
0.6904296875
],
[
0.515625,
0.67138671875,
0.880859375,
0.67138671875,
0.880859375,
0.68505859375,
0.515625,
0.68505859375
],
[
0.51123046875,
0.68603515625,
0.87890625,
0.68603515625,
0.87890625,
0.69970703125,
0.51123046875,
0.69970703125
],
[
0.118408203125,
0.693359375,
0.486083984375,
0.693359375,
0.486083984375,
0.70703125,
0.118408203125,
0.70703125
],
[
0.1175537109375,
0.7080078125,
0.484375,
0.708984375,
0.484375,
0.7236328125,
0.1175537109375,
0.72265625
],
[
0.51318359375,
0.703125,
0.880859375,
0.703125,
0.880859375,
0.71630859375,
0.51318359375,
0.71630859375
],
[
0.1175537109375,
0.72265625,
0.14111328125,
0.7255859375,
0.1368408203125,
0.7412109375,
0.11248779296875,
0.73681640625
],
[
0.51318359375,
0.7197265625,
0.880859375,
0.7197265625,
0.880859375,
0.73291015625,
0.51318359375,
0.73291015625
],
[
0.51123046875,
0.73388671875,
0.87890625,
0.7353515625,
0.87890625,
0.7490234375,
0.51123046875,
0.74755859375
],
[
0.11419677734375,
0.7529296875,
0.31982421875,
0.75439453125,
0.31982421875,
0.7685546875,
0.11419677734375,
0.76708984375
],
[
0.5146484375,
0.751953125,
0.880859375,
0.751953125,
0.880859375,
0.765625,
0.5146484375,
0.765625
],
[
0.51318359375,
0.7685546875,
0.861328125,
0.7685546875,
0.861328125,
0.7822265625,
0.51318359375,
0.7822265625
],
[
0.1175537109375,
0.775390625,
0.48779296875,
0.77490234375,
0.48779296875,
0.7890625,
0.1175537109375,
0.79052734375
],
[
0.1175537109375,
0.79150390625,
0.486083984375,
0.7919921875,
0.486083984375,
0.80712890625,
0.1175537109375,
0.8056640625
],
[
0.5087890625,
0.79736328125,
0.634765625,
0.79736328125,
0.634765625,
0.8125,
0.5087890625,
0.8125
],
[
0.118408203125,
0.80810546875,
0.484375,
0.80810546875,
0.484375,
0.82177734375,
0.118408203125,
0.82177734375
],
[
0.12005615234375,
0.82666015625,
0.484375,
0.82666015625,
0.484375,
0.83740234375,
0.12005615234375,
0.83740234375
],
[
0.51123046875,
0.82470703125,
0.87890625,
0.82373046875,
0.87890625,
0.83837890625,
0.51123046875,
0.8388671875
],
[
0.118408203125,
0.84130859375,
0.48779296875,
0.84130859375,
0.48779296875,
0.85498046875,
0.118408203125,
0.85498046875
],
[
0.509765625,
0.84130859375,
0.87744140625,
0.84130859375,
0.87744140625,
0.85498046875,
0.509765625,
0.85498046875
],
[
0.118408203125,
0.85693359375,
0.484375,
0.85693359375,
0.484375,
0.87060546875,
0.118408203125,
0.87060546875
],
[
0.51318359375,
0.85693359375,
0.880859375,
0.85693359375,
0.880859375,
0.87060546875,
0.51318359375,
0.87060546875
],
[
0.1175537109375,
0.87255859375,
0.486083984375,
0.87255859375,
0.486083984375,
0.8857421875,
0.1175537109375,
0.8857421875
],
[
0.51123046875,
0.87158203125,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.51123046875,
0.8857421875
],
[
0.118408203125,
0.8896484375,
0.48779296875,
0.8896484375,
0.48779296875,
0.90283203125,
0.118408203125,
0.90283203125
],
[
0.51123046875,
0.8896484375,
0.87890625,
0.8896484375,
0.87890625,
0.90283203125,
0.51123046875,
0.90283203125
],
[
0.118408203125,
0.90380859375,
0.490234375,
0.90478515625,
0.490234375,
0.91943359375,
0.118408203125,
0.91845703125
],
[
0.51318359375,
0.90673828125,
0.8759765625,
0.90673828125,
0.8759765625,
0.91748046875,
0.51318359375,
0.91748046875
]
] |
[
"我们提出的方法的三个关键属性:(i)可靠性:",
"2020)和适配器网络E(Dia0etal.,2021),以通",
"它在域内和域外任务上都显示出卓越的性能。",
"过在未标记的下游任务数据上进行训练来节省",
"(i)可扩展性:它可以很好地扩展到越来越多",
"时间。在本文中,我们介绍了用于域自适应的",
"的域。(iii)效率:每个域只添加少量参数。我",
"插件域适配器,由于显式学习策略和高效的模",
"们声称这些属性对于语言模型即服务很有帮",
"型体系结构,它们是有效的并减轻了灾难性的",
"助,其中提供了冻结的PLM,并且插入了多个",
"遗忘问题",
"适配器以支持不同的自定义服务",
"2.3Parameter-EfficientFine-tuning",
"2Related Work",
"另一个相关的研究方向是参数有效微调",
"(PEFT),它仅微调少量参数。现有的工作",
"在本节中,我们将回顾与将领域知识注入预训",
"练语言模型相关的四个研究领域:知识注人,",
"从两个角度解决了这个问题:基于提示的调",
"整El(Ga0 et al., 2021; Liu et al., 2021b; Schick",
"领域适应,参数高效微调和适配器混合",
"and Schitze, 2021; Li and Liang, 2021; Liu et al.,",
"2.1KnowledgeInjection",
"202la)和基于适配器的调整E(Houlsbyetal.,",
"2019; Pfeiffer et al.,2020b; Hu et al., 2021)。基于",
"知识可以通过预训练或微调注入PLM,每个",
"适配器的调优中的几项工作与我们的。Adapter",
"都对应一个单独的研究方向。在预训练过程",
"Fusion(Pfeifferetal.,2021)旨在组合多个任务",
"中,知识图E(Zhang etal.,2019;Heet al.,2020)",
"适配器,但不提供特定的架构或培训策略来学",
",实体E(Sunetal.,2019;Xiongetal.,2020),",
"习外部知识。DEMix(Gururangan et al.,2022)",
"n-gramE(Diao etal.,2020),知识嵌人E(Wang",
"和MixDA都训练专用于域的适配器,并使用",
"et al., 2021b) , WordNetE(Lauscher et al., 2019)",
"机制路由不同的适配器,但路由方法,基本",
"中的同义词和下位词-hypernym关系,单词-超",
"模型和训练策略有所不同。K-Adapter(Wang",
"敏感知识E(Levineetal.,2020)和知识库E(Pe-",
"etal.,2021a)受T-REx三元组训练的限制,缺乏",
"tersetal.,2019)所携带。然而,基于预训练的",
"对非结构化知识进行训练的灵活性。与MixDA",
"方法成本很高,使得应用于大型PLM(例如。",
"类似,CPT(Keetal.,2022a)将领域知识集成到",
"g。,具有1750亿个参数的模型)不可能。基",
"LM中,但它采用了不同的方法。虽然MixDA",
"于微调的方法只需要额外的微调过程。一些",
"使用域适配器替代FFN层和任务适配器来执",
"研究将额外的信息注人到输入句子中,例如",
"行最终任务,但CPT添加了学习域知识的CL",
"来自知识图E(Liu etal.,2020)和知识上下文E",
"插件。Heetal.(2021a)最近的工作提出了",
"(Falduetal.,2021)的知识三元组,而其他研",
"个统一的框架,可以在不同的PEFT方法之间",
"究则探索了特定的模型和训练设计,例如知",
"建立联系。我们的工作可以利用任何PEFT方",
"识适配器网络E(Wangetal.,202la),图卷积",
"法并对其进行补充",
"网络和LSTMsE(Linetal.,2019)以及元学习E",
"(Sinitsin et al.,2020)。Zhu et al.(2020)通过在未",
"2.4Mixture-of-Experts",
"修改的事实上添加对损失的约束,将知识注入",
"专家混合(MoE)(Shazeeretal,2017)介绍了",
"表述为受约束的优化问题。最近的研究(Geva",
"几种专家网络、门控网络和负载平衡技术。以",
"et al., 2021; Cao et al., 2021; Meng et al., 2022)",
"揭示了知识存储在PLM的前馈网络中。受这",
"下研究改进了有关初始化和训练方案(Fedus",
"etal.,2022)、路由机制(Zuoetal.,2021Yang",
"些研究的启发,我们提出了一种新的有效的调",
"优方法,以最小的成本将领域知识注人前馈网",
"etal.2021)和负载平衡问题(Lewisetal.,2021;",
"络",
"Roller et al., 2021) 的 MoE。AdaMix (Wang et al.,",
"2022)提出了一种混合适配器来提高下游任务",
"2.2Domain Adaptation",
"性能。我们的域适配器不是混合不同设计的适",
"配器,而是专门为领域知识设计的前馈网络",
"以前的研究已经观察到,语言模型在域移动日",
"(Beltagy et al., 2019; Alsentzer et al., 2019, Huang",
"3Approach",
"et al., 2019; Lee et al., 2020; Ke et al., 2022b) 期",
"间会遭受显着的性能下降。介绍了可以弥合领",
"给定预训练的语言模型M,输人是句子X=",
"域差距的有效策略。从头开始训练语言模型是",
"tit2.ti.tT(ti表示第i个令牌),输出",
"有效的,但成本很高,例如SciBERTE(Beltagy",
"是每个令牌的表示。我们模型的整体架构如",
"et al., 2019),BioBERTE(Lee et al., 2020)和",
"图1所示。培训过程分为两个阶段。在阶段",
"ClinicalBERTEl(Alsentzer etal.,2019)。最近的",
"1E(图1(a))中,我们在某些Transformer层",
"研究探索了持续的预训练E(Gururanganetal,",
"中注入了与原始预训练FFN并行的新前馈网"
] |
{
"arxiv_id": "2306.05406",
"language": "zh",
"page_idx": 2
}
|
||
2306.05406-zh-4
|
2306.05406-zh-4.jpg
|
交叉熵损失,抽样损失旨在对齐旧领域知识和 们在 domain-adapter之上添加任务适配器以适新领域特定知识的潜在空间。总损失$\mathcal{L}$ 由两者 应下游任务。例如,接受过生物医学知识培训的加权和给出,即:
$$\mathcal{L}=\lambda\cdot\mathcal{L}_{K}+\mathcal{L}_{S},$$
(1)
其中$\lambda$是知识损失的权重
利用交叉熵损失实现知识损失。给定一个带有$M$掩码标记的句子,其答案分别为$m_1, m_2, \cdots , m_M$ ,知识损失$\mathcal{L}_K$由
$$\mathcal{L}_{K}=-\frac{1}{M}\sum_{i=1}^{M}\log p(m_{i}),$$
(2)
给出,其中$p(m_i)$是$\mathcal{M}$输出的标记$m_i$的概率。我们的模型接受以下两种类型的特定领域知识,显示出更好的多功能性。
$\bullet$ Structured knowledge If the knowledge dataset is structured (e.g., ConceptNet (Speer et al., 2016) ), we translate each relation into a sentence, and then mask out its object. For example, the relation “the Eiffel tower-/r/LocatedAtParis" is translated into“The Eiffel Tower is located at Paris.", then “Paris” is substituted with the mask token, and the model is trained to fill the mask.
$\bullet$ Unstructured knowledge For unstructured
knowledge (e.g., downstream unlabeled texts), we use the masked language model (MLM) similar to RoBERTa pretraining. Some tokens are randomly sampled from the input sentence and replaced with the special token <mask> , and the model is trained to predict the masked token. The cross-entropy loss is calculated to optimize the model.
对于旧领域知识和采样损失,我们在包括Wikipedia 和 BookCorpus$\boxed{\mathrm{F}}($Zhu et al., 2015) 在内的一般语料库上训练模型。具体来说,对于每个批次,从数据集中随机抽取的句子被输入到模型中。给定安装了 domain-adapter 的$L$层 , 对于每个这样的层$l$,我们从 FFN $F_l$ 收集令牌表示,并从 domain-adapter $K_l$收集表示。目标是让它们尽可能相似。因此,我们计算具有L2 损耗的采样损耗$\mathcal{L}_S:$
$$\mathcal{L}_S=\dfrac{1}{L}\sum\limits_{l=1}^L||F_l-K_l||_2^2.$$
(3)
# 3.2 Task-Adapter
训练 domain-adapter s 后,模型知道领域知识, 虽然它与下游任务没有直接关系。因此,我
的 domain-adapter 可以支持域中的不同任务, 而对其进行任务培训则将其功能限制为特定任务。任务适配器可以是任何适配器体系结构或其他参数有效的微调方法,例如 Houlsby 适配器$\overline{\mathbb{E}}($Houlsby et al., 2019) , Pfeiffer 适配器$\overline{\mathrm{E}}$(Pfeiffer et al.,2020b), 前缀调整$\overline{\mathrm{E}}($Li and Liang, 2021)等。在阶段 2, 除任务适配器和MoA门 ( 第 3. 3节 ) 以 外 的 所 有 参 数 都 被 冻 结 。尽管添加了 domain-adapter ,但适配器的训练仍遵循其相应的方法。例如,对于文本分类任务,我们在模型的顶部添加分类层,冻结除分类层,MoA 门和任务适配器之外的所有参数, 将输人文本馈送到模型中,并使用交叉熵作为损失
## 3.3 Mixture-of-Adapters Gate
在下游任务上,FFN 的输出或两者的加权和可能会产生更好的结果。因此,在阶段 2中,我们同时训练一个额外的适配器混合(MoA)门。MoA 门接收来自关注层$q$ 、 domain-adapter $K$ 和 FFN $F$的输出。首先将$q$发送到多层感知器(MLP)中:
(4)
$$h=\mathrm{MLP}(\boldsymbol{q}).$$
MLP 由向下投影层$W_d$和向上投影层$W_u$以及$\boldsymbol{h}=W_u\sigma(W_d\boldsymbol{q})$组成,其中$\sigma$是非线性函数。然后,将$h$ 输入到 Sigmoid 层中,以生成 FFN 和其他 domain-adapter 的权重:
$$\boldsymbol{w}=\mathrm{Sigmoid}(\boldsymbol{h}).$$
(5)
最终输出$o$ 是 FFN 和 domain-adapter 的输出
的加权和:
$$o=w[K;F],$$
(6)
其中$\left[;\right]$表示矩阵连接
## 4 Experimental Settings
在本节中,我们首先介绍数据集,然后分别在以下四个小节中介绍基线模型,评估指标和实现细节
## 4.1 Datasets
我们对三种类型的数据集进行实验:需要通用领域知识的域内(ID)任务;需要特定领域知识的域外(OOD)任务;需要常识知识的知识密集型(KI)任务。
$\bullet$ ID:GLUE Benchmark (Wang et al., 2018)
including MNLI (Williams et al., 2017) , CoLA (Warstadt et al., 2019), MRPC (Dolan
|
[
[
0.12005615234375,
0.0885009765625,
0.486083984375,
0.0885009765625,
0.486083984375,
0.09857177734375,
0.12005615234375,
0.09857177734375
],
[
0.5146484375,
0.0885009765625,
0.87890625,
0.0885009765625,
0.87890625,
0.09857177734375,
0.5146484375,
0.09857177734375
],
[
0.118408203125,
0.10272216796875,
0.484375,
0.10272216796875,
0.484375,
0.11639404296875,
0.118408203125,
0.11639404296875
],
[
0.51318359375,
0.10272216796875,
0.880859375,
0.10272216796875,
0.880859375,
0.11639404296875,
0.51318359375,
0.11639404296875
],
[
0.118408203125,
0.1181640625,
0.273681640625,
0.1181640625,
0.273681640625,
0.1318359375,
0.118408203125,
0.1318359375
],
[
0.51123046875,
0.1175537109375,
0.87744140625,
0.1181640625,
0.87744140625,
0.133056640625,
0.51123046875,
0.1318359375
],
[
0.5146484375,
0.1353759765625,
0.880859375,
0.1353759765625,
0.880859375,
0.1484375,
0.5146484375,
0.1484375
],
[
0.2301025390625,
0.146728515625,
0.3720703125,
0.1478271484375,
0.3720703125,
0.162109375,
0.2301025390625,
0.160888671875
],
[
0.462646484375,
0.149658203125,
0.489501953125,
0.149658203125,
0.489501953125,
0.160888671875,
0.462646484375,
0.160888671875
],
[
0.5146484375,
0.152587890625,
0.87890625,
0.152587890625,
0.87890625,
0.163330078125,
0.5146484375,
0.163330078125
],
[
0.5146484375,
0.16748046875,
0.880859375,
0.16748046875,
0.880859375,
0.18115234375,
0.5146484375,
0.18115234375
],
[
0.118408203125,
0.177001953125,
0.32080078125,
0.177001953125,
0.32080078125,
0.190673828125,
0.118408203125,
0.190673828125
],
[
0.51318359375,
0.182861328125,
0.880859375,
0.182861328125,
0.880859375,
0.196533203125,
0.51318359375,
0.196533203125
],
[
0.1368408203125,
0.19482421875,
0.465087890625,
0.19482421875,
0.465087890625,
0.2078857421875,
0.1368408203125,
0.2078857421875
],
[
0.468505859375,
0.198974609375,
0.48193359375,
0.198974609375,
0.48193359375,
0.204833984375,
0.468505859375,
0.204833984375
],
[
0.51318359375,
0.198974609375,
0.880859375,
0.198974609375,
0.880859375,
0.2120361328125,
0.51318359375,
0.2120361328125
],
[
0.118408203125,
0.210205078125,
0.48779296875,
0.210205078125,
0.48779296875,
0.223876953125,
0.118408203125,
0.223876953125
],
[
0.51123046875,
0.215576171875,
0.880859375,
0.215576171875,
0.880859375,
0.2286376953125,
0.51123046875,
0.2286376953125
],
[
0.1158447265625,
0.226806640625,
0.4013671875,
0.2257080078125,
0.4013671875,
0.240478515625,
0.1158447265625,
0.2410888671875
],
[
0.51318359375,
0.232177734375,
0.880859375,
0.232177734375,
0.880859375,
0.2452392578125,
0.51318359375,
0.2452392578125
],
[
0.270263671875,
0.2464599609375,
0.408935546875,
0.26416015625,
0.399658203125,
0.295654296875,
0.26123046875,
0.27783203125
],
[
0.295654296875,
0.2529296875,
0.316650390625,
0.2529296875,
0.316650390625,
0.265380859375,
0.295654296875,
0.265380859375
],
[
0.5146484375,
0.2476806640625,
0.8818359375,
0.2476806640625,
0.8818359375,
0.262451171875,
0.5146484375,
0.262451171875
],
[
0.2418212890625,
0.267333984375,
0.32568359375,
0.27490234375,
0.32080078125,
0.29638671875,
0.2376708984375,
0.289306640625
],
[
0.46337890625,
0.267333984375,
0.48779296875,
0.267333984375,
0.48779296875,
0.27978515625,
0.46337890625,
0.27978515625
],
[
0.51318359375,
0.26416015625,
0.880859375,
0.26416015625,
0.880859375,
0.27783203125,
0.51318359375,
0.27783203125
],
[
0.5146484375,
0.27978515625,
0.880859375,
0.27978515625,
0.880859375,
0.29345703125,
0.5146484375,
0.29345703125
],
[
0.204833984375,
0.268310546875,
0.2568359375,
0.268310546875,
0.2568359375,
0.27978515625,
0.204833984375,
0.27978515625
],
[
0.5146484375,
0.295654296875,
0.880859375,
0.295654296875,
0.880859375,
0.308837890625,
0.5146484375,
0.308837890625
],
[
0.118408203125,
0.30810546875,
0.486083984375,
0.30810546875,
0.486083984375,
0.32177734375,
0.118408203125,
0.32177734375
],
[
0.51123046875,
0.31005859375,
0.880859375,
0.311279296875,
0.880859375,
0.325927734375,
0.51123046875,
0.32470703125
],
[
0.118408203125,
0.32373046875,
0.48779296875,
0.32373046875,
0.48779296875,
0.33740234375,
0.118408203125,
0.33740234375
],
[
0.51123046875,
0.325927734375,
0.55322265625,
0.327880859375,
0.5517578125,
0.34326171875,
0.509765625,
0.341552734375
],
[
0.118408203125,
0.339111328125,
0.365234375,
0.339111328125,
0.365234375,
0.352783203125,
0.118408203125,
0.352783203125
],
[
0.1175537109375,
0.355712890625,
0.489501953125,
0.355712890625,
0.489501953125,
0.369384765625,
0.1175537109375,
0.369384765625
],
[
0.51123046875,
0.355224609375,
0.765625,
0.355224609375,
0.765625,
0.3681640625,
0.51123046875,
0.3681640625
],
[
0.1351318359375,
0.371826171875,
0.490234375,
0.371826171875,
0.490234375,
0.385986328125,
0.1351318359375,
0.385986328125
],
[
0.51318359375,
0.3759765625,
0.87890625,
0.3759765625,
0.87890625,
0.3896484375,
0.51318359375,
0.3896484375
],
[
0.1351318359375,
0.388427734375,
0.490234375,
0.388427734375,
0.490234375,
0.402099609375,
0.1351318359375,
0.402099609375
],
[
0.51318359375,
0.391357421875,
0.880859375,
0.391357421875,
0.880859375,
0.405029296875,
0.51318359375,
0.405029296875
],
[
0.1351318359375,
0.40380859375,
0.490234375,
0.40380859375,
0.490234375,
0.41748046875,
0.1351318359375,
0.41748046875
],
[
0.51318359375,
0.40673828125,
0.8818359375,
0.40673828125,
0.8818359375,
0.42041015625,
0.51318359375,
0.42041015625
],
[
0.1368408203125,
0.42041015625,
0.491943359375,
0.42041015625,
0.491943359375,
0.43408203125,
0.1368408203125,
0.43408203125
],
[
0.51123046875,
0.42333984375,
0.880859375,
0.42333984375,
0.880859375,
0.43701171875,
0.51123046875,
0.43701171875
],
[
0.133544921875,
0.435791015625,
0.490234375,
0.435791015625,
0.490234375,
0.449462890625,
0.133544921875,
0.449462890625
],
[
0.51123046875,
0.439453125,
0.87890625,
0.439453125,
0.87890625,
0.453125,
0.51123046875,
0.453125
],
[
0.1351318359375,
0.453125,
0.48779296875,
0.451904296875,
0.48779296875,
0.465576171875,
0.1351318359375,
0.466064453125
],
[
0.51123046875,
0.454833984375,
0.634765625,
0.454833984375,
0.634765625,
0.468505859375,
0.51123046875,
0.468505859375
],
[
0.1351318359375,
0.468505859375,
0.486083984375,
0.468505859375,
0.486083984375,
0.482177734375,
0.1351318359375,
0.482177734375
],
[
0.640625,
0.482177734375,
0.75146484375,
0.48388671875,
0.75146484375,
0.498779296875,
0.640625,
0.496337890625
],
[
0.85791015625,
0.485107421875,
0.8818359375,
0.485107421875,
0.8818359375,
0.498779296875,
0.85791015625,
0.498779296875
],
[
0.1175537109375,
0.50048828125,
0.486083984375,
0.50048828125,
0.486083984375,
0.51416015625,
0.1175537109375,
0.51416015625
],
[
0.1351318359375,
0.486328125,
0.20654296875,
0.486328125,
0.20654296875,
0.49755859375,
0.1351318359375,
0.49755859375
],
[
0.133544921875,
0.51708984375,
0.48779296875,
0.51708984375,
0.48779296875,
0.53076171875,
0.133544921875,
0.53076171875
],
[
0.51123046875,
0.51318359375,
0.87890625,
0.51318359375,
0.87890625,
0.52685546875,
0.51123046875,
0.52685546875
],
[
0.1351318359375,
0.533203125,
0.48779296875,
0.533203125,
0.48779296875,
0.54736328125,
0.1351318359375,
0.54736328125
],
[
0.509765625,
0.52783203125,
0.880859375,
0.529296875,
0.880859375,
0.54345703125,
0.509765625,
0.5419921875
],
[
0.1351318359375,
0.548828125,
0.48779296875,
0.548828125,
0.48779296875,
0.5625,
0.1351318359375,
0.5625
],
[
0.51318359375,
0.5458984375,
0.880859375,
0.5458984375,
0.880859375,
0.55859375,
0.51318359375,
0.55859375
],
[
0.1368408203125,
0.5654296875,
0.48779296875,
0.5654296875,
0.48779296875,
0.5791015625,
0.1368408203125,
0.5791015625
],
[
0.5146484375,
0.5625,
0.75732421875,
0.5625,
0.75732421875,
0.576171875,
0.5146484375,
0.576171875
],
[
0.1368408203125,
0.58203125,
0.483642578125,
0.58203125,
0.483642578125,
0.595703125,
0.1368408203125,
0.595703125
],
[
0.62890625,
0.59033203125,
0.76416015625,
0.59033203125,
0.76416015625,
0.60498046875,
0.62890625,
0.60498046875
],
[
0.85791015625,
0.59033203125,
0.8818359375,
0.59033203125,
0.8818359375,
0.60498046875,
0.85791015625,
0.60498046875
],
[
0.1368408203125,
0.59716796875,
0.486083984375,
0.59716796875,
0.486083984375,
0.61083984375,
0.1368408203125,
0.61083984375
],
[
0.1351318359375,
0.61328125,
0.486083984375,
0.61328125,
0.486083984375,
0.62744140625,
0.1351318359375,
0.62744140625
],
[
0.52880859375,
0.6181640625,
0.880859375,
0.619140625,
0.880859375,
0.63427734375,
0.52880859375,
0.6328125
],
[
0.1368408203125,
0.6298828125,
0.280517578125,
0.6298828125,
0.280517578125,
0.6435546875,
0.1368408203125,
0.6435546875
],
[
0.5146484375,
0.63720703125,
0.59423828125,
0.63720703125,
0.59423828125,
0.6484375,
0.5146484375,
0.6484375
],
[
0.1368408203125,
0.6455078125,
0.484375,
0.6455078125,
0.484375,
0.6591796875,
0.1368408203125,
0.6591796875
],
[
0.640625,
0.6494140625,
0.75146484375,
0.65185546875,
0.75146484375,
0.66650390625,
0.640625,
0.66455078125
],
[
0.85791015625,
0.65185546875,
0.8818359375,
0.65185546875,
0.8818359375,
0.66650390625,
0.85791015625,
0.66650390625
],
[
0.1175537109375,
0.6611328125,
0.484375,
0.6611328125,
0.484375,
0.6748046875,
0.1175537109375,
0.6748046875
],
[
0.12005615234375,
0.677734375,
0.486083984375,
0.677734375,
0.486083984375,
0.69140625,
0.12005615234375,
0.69140625
],
[
0.51123046875,
0.6748046875,
0.69189453125,
0.67578125,
0.69189453125,
0.6904296875,
0.51123046875,
0.689453125
],
[
0.118408203125,
0.6923828125,
0.483642578125,
0.6923828125,
0.483642578125,
0.7060546875,
0.118408203125,
0.7060546875
],
[
0.515625,
0.7060546875,
0.54833984375,
0.7060546875,
0.54833984375,
0.71435546875,
0.515625,
0.71435546875
],
[
0.54150390625,
0.703125,
0.73779296875,
0.703125,
0.73779296875,
0.71728515625,
0.54150390625,
0.71728515625
],
[
0.118408203125,
0.71044921875,
0.484375,
0.71044921875,
0.484375,
0.7236328125,
0.118408203125,
0.7236328125
],
[
0.118408203125,
0.72705078125,
0.484375,
0.72705078125,
0.484375,
0.74072265625,
0.118408203125,
0.74072265625
],
[
0.51318359375,
0.728515625,
0.880859375,
0.728515625,
0.880859375,
0.7421875,
0.51318359375,
0.7421875
],
[
0.118408203125,
0.7421875,
0.484375,
0.7421875,
0.484375,
0.755859375,
0.118408203125,
0.755859375
],
[
0.51318359375,
0.7451171875,
0.880859375,
0.7451171875,
0.880859375,
0.7587890625,
0.51318359375,
0.7587890625
],
[
0.1175537109375,
0.75732421875,
0.486083984375,
0.75830078125,
0.486083984375,
0.7724609375,
0.1175537109375,
0.771484375
],
[
0.51123046875,
0.76123046875,
0.57080078125,
0.76123046875,
0.57080078125,
0.775390625,
0.51123046875,
0.775390625
],
[
0.1175537109375,
0.77490234375,
0.313232421875,
0.77490234375,
0.313232421875,
0.7880859375,
0.1175537109375,
0.7880859375
],
[
0.51123046875,
0.7861328125,
0.62744140625,
0.78759765625,
0.62744140625,
0.8017578125,
0.51123046875,
0.80029296875
],
[
0.25439453125,
0.80419921875,
0.2939453125,
0.7998046875,
0.298828125,
0.81787109375,
0.258544921875,
0.822265625
],
[
0.210693359375,
0.81103515625,
0.26611328125,
0.818359375,
0.26123046875,
0.8330078125,
0.20654296875,
0.826171875
],
[
0.51123046875,
0.80810546875,
0.87744140625,
0.80810546875,
0.87744140625,
0.82177734375,
0.51123046875,
0.82177734375
],
[
0.279541015625,
0.81396484375,
0.39208984375,
0.81396484375,
0.39208984375,
0.8291015625,
0.279541015625,
0.8291015625
],
[
0.462646484375,
0.8154296875,
0.48779296875,
0.8154296875,
0.48779296875,
0.82763671875,
0.462646484375,
0.82763671875
],
[
0.5146484375,
0.82470703125,
0.880859375,
0.82470703125,
0.880859375,
0.83837890625,
0.5146484375,
0.83837890625
],
[
0.25439453125,
0.81640625,
0.30322265625,
0.8291015625,
0.2939453125,
0.845703125,
0.2451171875,
0.8330078125
],
[
0.5146484375,
0.84130859375,
0.880859375,
0.84130859375,
0.880859375,
0.85498046875,
0.5146484375,
0.85498046875
],
[
0.51318359375,
0.85693359375,
0.67236328125,
0.85693359375,
0.67236328125,
0.87060546875,
0.51318359375,
0.87060546875
],
[
0.1175537109375,
0.8681640625,
0.273681640625,
0.8681640625,
0.273681640625,
0.8818359375,
0.1175537109375,
0.8818359375
],
[
0.51123046875,
0.87255859375,
0.880859375,
0.87255859375,
0.880859375,
0.88720703125,
0.51123046875,
0.88720703125
],
[
0.12005615234375,
0.8896484375,
0.484375,
0.8896484375,
0.484375,
0.90283203125,
0.12005615234375,
0.90283203125
],
[
0.52880859375,
0.8896484375,
0.880859375,
0.8896484375,
0.880859375,
0.90283203125,
0.52880859375,
0.90283203125
],
[
0.118408203125,
0.90478515625,
0.486083984375,
0.90478515625,
0.486083984375,
0.91845703125,
0.118408203125,
0.91845703125
],
[
0.52880859375,
0.90478515625,
0.880859375,
0.90478515625,
0.880859375,
0.91845703125,
0.52880859375,
0.91845703125
]
] |
[
"交叉损失,抽样损失旨在对齐旧领域知识和",
"们在domain-adapter之上添加任务适配器以适",
"新领域特定知识的潜在空间。总损失L由两者",
"应下游任务。例如,接受过生物医学知识培训",
"的加权和给出,即:",
"的domain-adapter可以支持域中的不同任务",
"而对其进行任务培训则将其功能限制为特定",
"C=>.CK + Ls,",
"(1)",
"任务。任务适配器可以是任何适配器体系结",
"构或其他参数有效的微调方法,例如Houlsby",
"其中入是知识损失的权重",
"适配器E(Houlsbyetal.,2019),Pfeiffer适配",
"利用交叉摘损失实现知识损失。给定",
"",
"器E(Pfeifferetal.,2020b),前缀调整E(Liand",
"个带有M掩码标记的句子,其答案分别为",
"Liang,2021)等。在阶段2,除任务适配器和",
"mi,m2,...,mM,知识损失Lk由",
"MoA门(第3.3节)以外的所有参数都被冻结。",
"121og p(m),",
"M",
"尽管添加了domain-adapter,但适配器的训练",
"M台",
"(2)",
"仍遵循其相应的方法。例如,对于文本分类任",
"务,我们在模型的顶部添加分类层,冻结除分",
"LK=",
"类层,MoA门和任务适配器之外的所有参数,",
"给出,其中p(mi)是M输出的标记mi的概",
"将输入文本馈送到模型中,并使用交叉熵作为",
"率。我们的模型接受以下两种类型的特定领域",
"损失",
"知识,显示出更好的多功能性。",
". Structured knowledge If the knowledge dataset",
"3.3Mixture-of-Adapters Gate",
"is structured (e.g., ConceptNet (Speer et al.,",
"在下游任务上,FFN的输出或两者的加权和可",
"2016) ), we translate each relation into a sen-",
"能会产生更好的结果。因此,在阶段2中,我",
"tence, and then mask out its object. For exam-",
"们同时训练一个额外的适配器混合(MoA)门。",
"ple, the relation “the Eiffel tower-/r/LocatedAt--",
"MoA门接收来自关注层q、domain-adapterK",
"Paris\" is translated into \"The Eiffel Tower is lo-",
"和FFNF的输出。首先将q发送到多层感知",
"cated at Paris.\", then“Paris\"is substituted with",
"器(MLP)中:",
"the mask token, and the model is trained to fill",
"h = MLP(q).",
"(4)",
"· Unstructured knowledge For unstructured",
"the mask.",
"knowledge (e.g., downstream unlabeled texts),",
"MLP由向下投影层Wa和向上投影层Wu以及",
"we use the masked language model (MLM)",
"h=Wua(Wag)组成,其中α是非线性函数。",
"similar to RoBERTa pretraining. Some tokens",
"然后,将h输入到Sigmoid层中,以生成FFN",
"are randomly sampled from the input sentence",
"和其他domain-adapter的权重:",
"and replaced with the special token <mask>.",
"w = Sigmoid(h).",
"(5)",
"and the model is trained to predict the masked",
"token. The cross-entropy loss is calculated to",
"最终输出o是FFN和domain-adapter的输出",
"optimize the model.",
"的加权和:",
"对于旧领域知识和采样损失,我们在包括",
"0 = w[K; F],",
"(6)",
"Wikipedia和BookCorpusE(Zhu et al.,2015)在",
"内的一般语料库上训练模型。具体来说,对于",
"其中[;]表示矩阵连接",
"每个批次,从数据集中随机抽取的句子被输入",
"4",
"Experimental Settings",
"到模型中。给定安装了domain-adapter的L层,",
"对于每个这样的层1,我们从FFNF收集令",
"在本节中,我们首先介绍数据集,然后分别在",
"牌表示,并从domain-adapterKi收集表示。目",
"以下四个小节中介绍基线模型,评估指标和实",
"标是让它们尽可能相似。因此,我们计算具有",
"现细节",
"L2损耗的采样损耗Cs:",
"4.1 Datasets",
"1号",
"Cs=7",
"我们对三种类型的数据集进行实验:需要通用",
"F-Kill2",
"(3)",
"领域知识的域内(ID)任务;需要特定领域知",
"LE",
"识的域外(OOD)任务;需要常识知识的知识",
"密集型(KI)任务。",
"3.2Task-Adapter",
". ID : GLUE Benchmark (Wang et al., 2018)",
"训练domain-adapters后,模型知道领域知识,",
"including MNLI(Williams et al.,2017)",
"虽然它与下游任务没有直接关系。因此,我",
"CoLA (Warstadt et al., 2019) , MRPC (Dolan"
] |
{
"arxiv_id": "2306.05406",
"language": "zh",
"page_idx": 4
}
|
||
2309.16585-zh-0
|
2309.16585-zh-0.jpg
|
# 使用高斯飞溅的文本到 3D
Zilong Chen,
Yikai Wang,
Huaping Liu$^{\dagger}$
Feng Wang,
Beijing National Research Center for Information Science and Technology (BNRist),
Department of Computer Science and Technology, Tsinghua University
chenzl$22@$mails.tsinghua.edu.cn, hpliu@tsinghua.edu.cn
Project Page: gsgen3d.github.io
<FigureHere>
Figure 1. Delicate 3D assets generated by the proposed Gsgen. See the project page for videos.
# $\operatorname{Abstract}$
Automatic text-to-3D generation that combines Score Distillation Sampling (SDS) with the optimization of volume rendering has achieved remarkable progress in synthesizing realistic 3D objects. Yet most existing text-to-3D methods by SDS and volume rendering suffer from inaccurate geometry, e. g. , the Janus issue, since it is hard to explicitly integrate 3D priors into implicit 3D representations. Besides, it is usually time-consuming for them to generate elaborate 3D models with rich colors. In response, this paper proposes Gsgen, a novel method that adopts Gaussian Splatting, a recent state-of-the-art representation, to text-to-3D generation. Gsgen aims at generating high-quality $\bar{3\text{D objects and addressing exist-}}$ ing shortcomings by exploiting the explicit nature of Gaussian Splatting that enables the incorporation of 3D prior. Specifically, our method adopts a progres-
${\overline{{\uparrow}\text{Corresponding auth}}}$or
sive optimization strategy, which includes a geometry optimization stage and an appearance refinement stage. In geometry optimization, a coarse representa- $\bar{\text{tion is established under 3D point cloud diffusion prior}}$ along with the ordinary 2D SDS optimization, ensuring a sensible and 3D-consistent rough shape. Subsequently, the obtained Gaussians undergo an iterative appearance refinement to enrich texture details. In this stage, we increase the number of Gaussians by compactness-based densification to enhance continuity and improve fidelity. With these designs, our approach can generate 3D assets with delicate details and accurate geometry. Extensive evaluations demonstrate the effectiveness of our method, especially for capturing high-frequency components. Our code is available at https://github.com/gsgen3d/gsgen.
|
[
[
0.35302734375,
0.1331787109375,
0.62109375,
0.1331787109375,
0.62109375,
0.15087890625,
0.35302734375,
0.15087890625
],
[
0.2344970703125,
0.1817626953125,
0.736328125,
0.1817626953125,
0.736328125,
0.199462890625,
0.2344970703125,
0.199462890625
],
[
0.13232421875,
0.2008056640625,
0.83642578125,
0.2008056640625,
0.83642578125,
0.21533203125,
0.13232421875,
0.21533203125
],
[
0.188720703125,
0.2171630859375,
0.78173828125,
0.2183837890625,
0.78173828125,
0.23291015625,
0.188720703125,
0.231689453125
],
[
0.30224609375,
0.2374267578125,
0.6708984375,
0.2374267578125,
0.6708984375,
0.250732421875,
0.30224609375,
0.250732421875
],
[
0.3505859375,
0.25244140625,
0.62353515625,
0.25244140625,
0.62353515625,
0.270751953125,
0.3505859375,
0.270751953125
],
[
0.1683349609375,
0.53857421875,
0.79736328125,
0.53857421875,
0.79736328125,
0.5517578125,
0.1683349609375,
0.5517578125
],
[
0.23779296875,
0.580078125,
0.313720703125,
0.580078125,
0.313720703125,
0.5947265625,
0.23779296875,
0.5947265625
],
[
0.50244140625,
0.58056640625,
0.89208984375,
0.58056640625,
0.89208984375,
0.59521484375,
0.50244140625,
0.59521484375
],
[
0.50244140625,
0.59765625,
0.8935546875,
0.59765625,
0.8935546875,
0.611328125,
0.50244140625,
0.611328125
],
[
0.1004638671875,
0.61279296875,
0.471435546875,
0.61279296875,
0.471435546875,
0.62744140625,
0.1004638671875,
0.62744140625
],
[
0.50244140625,
0.6123046875,
0.8935546875,
0.6123046875,
0.8935546875,
0.62548828125,
0.50244140625,
0.62548828125
],
[
0.080078125,
0.62890625,
0.471435546875,
0.62890625,
0.471435546875,
0.64306640625,
0.080078125,
0.64306640625
],
[
0.50244140625,
0.626953125,
0.890625,
0.626953125,
0.890625,
0.64013671875,
0.50244140625,
0.64013671875
],
[
0.080078125,
0.64306640625,
0.468017578125,
0.64306640625,
0.468017578125,
0.6572265625,
0.080078125,
0.6572265625
],
[
0.50244140625,
0.642578125,
0.89208984375,
0.642578125,
0.89208984375,
0.65576171875,
0.50244140625,
0.65576171875
],
[
0.07843017578125,
0.6591796875,
0.468017578125,
0.65771484375,
0.468017578125,
0.67236328125,
0.07843017578125,
0.673828125
],
[
0.5009765625,
0.65771484375,
0.89208984375,
0.65576171875,
0.89208984375,
0.66943359375,
0.5009765625,
0.671875
],
[
0.08087158203125,
0.6748046875,
0.4697265625,
0.6748046875,
0.4697265625,
0.68798828125,
0.08087158203125,
0.68798828125
],
[
0.50244140625,
0.67236328125,
0.89208984375,
0.67236328125,
0.89208984375,
0.68603515625,
0.50244140625,
0.68603515625
],
[
0.080078125,
0.68994140625,
0.4697265625,
0.68994140625,
0.4697265625,
0.7041015625,
0.080078125,
0.7041015625
],
[
0.50244140625,
0.68603515625,
0.890625,
0.6875,
0.890625,
0.7021484375,
0.50244140625,
0.70068359375
],
[
0.080078125,
0.705078125,
0.4697265625,
0.705078125,
0.4697265625,
0.71826171875,
0.080078125,
0.71826171875
],
[
0.50244140625,
0.70263671875,
0.890625,
0.70263671875,
0.890625,
0.71630859375,
0.50244140625,
0.71630859375
],
[
0.08087158203125,
0.7216796875,
0.468017578125,
0.7216796875,
0.468017578125,
0.73193359375,
0.08087158203125,
0.73193359375
],
[
0.50244140625,
0.71728515625,
0.8896484375,
0.71728515625,
0.8896484375,
0.73095703125,
0.50244140625,
0.73095703125
],
[
0.080078125,
0.73486328125,
0.468017578125,
0.73486328125,
0.468017578125,
0.74853515625,
0.080078125,
0.74853515625
],
[
0.50341796875,
0.73291015625,
0.890625,
0.73291015625,
0.890625,
0.7470703125,
0.50341796875,
0.7470703125
],
[
0.080078125,
0.75,
0.468017578125,
0.75,
0.468017578125,
0.76318359375,
0.080078125,
0.76318359375
],
[
0.5009765625,
0.74755859375,
0.89208984375,
0.7470703125,
0.89208984375,
0.76123046875,
0.5009765625,
0.76220703125
],
[
0.08087158203125,
0.76513671875,
0.468017578125,
0.76513671875,
0.468017578125,
0.77880859375,
0.08087158203125,
0.77880859375
],
[
0.50341796875,
0.76318359375,
0.89208984375,
0.76318359375,
0.89208984375,
0.7763671875,
0.50341796875,
0.7763671875
],
[
0.08087158203125,
0.77978515625,
0.4697265625,
0.77978515625,
0.4697265625,
0.79443359375,
0.08087158203125,
0.79443359375
],
[
0.50341796875,
0.77880859375,
0.8935546875,
0.77880859375,
0.8935546875,
0.79248046875,
0.50341796875,
0.79248046875
],
[
0.080078125,
0.79541015625,
0.471435546875,
0.79541015625,
0.471435546875,
0.8095703125,
0.080078125,
0.8095703125
],
[
0.50341796875,
0.79345703125,
0.8935546875,
0.79345703125,
0.8935546875,
0.806640625,
0.50341796875,
0.806640625
],
[
0.080078125,
0.81005859375,
0.468017578125,
0.81005859375,
0.468017578125,
0.82373046875,
0.080078125,
0.82373046875
],
[
0.50244140625,
0.8095703125,
0.75732421875,
0.8095703125,
0.75732421875,
0.82275390625,
0.50244140625,
0.82275390625
],
[
0.080078125,
0.82568359375,
0.4697265625,
0.82568359375,
0.4697265625,
0.8388671875,
0.080078125,
0.8388671875
],
[
0.080078125,
0.8388671875,
0.4697265625,
0.84033203125,
0.4697265625,
0.85400390625,
0.080078125,
0.85302734375
],
[
0.07843017578125,
0.85498046875,
0.471435546875,
0.85595703125,
0.471435546875,
0.87060546875,
0.07843017578125,
0.869140625
],
[
0.101318359375,
0.88525390625,
0.250732421875,
0.88623046875,
0.250732421875,
0.90087890625,
0.101318359375,
0.8994140625
]
] |
[
"使用高斯飞溅的文本到3D",
"Zilong Chen, Feng Wang, Yikai Wang, Huaping Liut",
"Beijing National Research Center for Information Science and Technology (BNRist)",
"Department of Computer Science and Technology,Tsinghua University",
"chenzl22@mails.tsinghua.edu.cn, hpliu@tsinghua.edu.cn",
"Project Page: gsgen3d.github.io",
"Figure 1. Delicate 3D assets generated by the proposed Gsgen. See the project page for videos.",
"Abstract",
"sive optimization strategy, which includes a geome-",
"try optimization stage and an appearance refinement",
"Automatic text-to-3D generation that combines",
"stage.In geometry optimization, a coarse representa-",
"Score Distillation Sampling (SDS) with the optimiza-",
"tion is established under 3D point cloud diffusion prior",
"tion of volume rendering has achieved remarkable",
"along with the ordinary 2D SDS optimization, ensur-",
"progress in synthesizing realistic 3D objects. Yet most",
"ing a sensibleand 3D-consistent rough shape.Sub-",
"existing text-to-3D methods by SDS and volume ren-",
"sequently, the obtained Gaussians undergo an itera-",
"dering suffer from inaccurate geometry, e.g., the Janus",
"tive appearance refinement to enrich texture details.",
"issue, since it is hard to explicitly integrate 3D pri-",
"In this stage, we increase the number of Gaussians by",
"ors into implicit 3D representations.Besides,it is",
"compactness-based densification to enhance continuity",
"usually time-consuming for them to generate elabo",
"and improve fidelity. With these designs, our approach",
"rate 3D models with rich colors. In response, this",
"can generate 3D assets with delicate details and accu-",
"paper proposes Gsgen, a novel method that adopts",
"rate geometry. Extensive evaluations demonstrate the",
"Gaussian Splatting, a recent state-of-the-art represen-",
"effectiveness of our method, especially for capturing",
"tation, to text-to-3D generation. Gsgen aims at gen-",
"high-frequency components. Our code is available at",
"erating high-quality 3D objects and addressing exist-",
"https://github.com/gsgen3d/gsgen.",
"ing shortcomings by exploiting the explicit nature of",
"Gaussian Splatting that enables the incorporation of",
"3D prior. Specifically, our method adopts a progres-",
"t Corresponding author"
] |
{
"arxiv_id": "2309.16585",
"language": "zh",
"page_idx": 0
}
|
||
2309.16585-zh-1
|
2309.16585-zh-1.jpg
|
1. Introduction
基于扩散模型的文本到图像生成[1,53,55,56]在从文本提示合成逼真的图像方面取得了显著成功。然而, 对于高质量的文本到 3D 内容生成,由于现实世界 3D 场景的固有复杂性,其进展落后于图像生成。最近, DreamFusion [49] 通过利用分数蒸馏采样和预先训练的文本到图像扩散先验,在生成精致资产方面取得了很大进展。其后续工作在质量$\left[12,75\right]$,训练速度$\left[33,40\right]$ 以及生成更合理的几何[2,59,85]方面进一步改进了此范例。然而,大多数现有的文本到 3D 方法仍然受到几何折叠和有限保真度的影响,并且由于 NeRF[42] 和 DMTet [60] 的隐含性质,难以合并 3D 先验
最近,3D 高斯喷溅 [31]在 3D 重建领域引起了广泛关注,这主要是由于其出色的表示复杂场景的能力和实时渲染能力。通过使用一组 3D 高斯模型对场景进行建模,Kerbl et al.[31] 采用了一种显式的,以对象为中心的方法,从根本上与 NeRF 和 DMTet 等隐式表示不同。这种独特的方法为将显式 3D 先验集成到文本到 3D 生成中铺平了道路。在这种见解的基础上,我们建议在增强几何相干性之前,使用额外的 3D 点云扩散来指导生成,而不是直接用高斯替换 NeRFs。。通过采用这种策略,我们可以更好地利用 3D 高斯在创建复杂且 3D 一致的资产方面的固有优势
具体来说,我们建议用一组高斯来表示生成的 3D 内容,并在两个阶段中逐步对其进行优化,即几何优化和外观细化。在几何优化阶段,我们在 3D 点云扩散先验和普通 2D 图像先验的指导下优化高斯。这种额外的 3DSDS 损失的结合确保了 3D 一致的粗糙几何形状。在随后的细化阶段,高斯进行迭代增强,以丰富精致的细节。由于原始自适应控制在 SDS 损失下的次优性能,我们引入了一种额外的基于紧凑性的致密化技术来增强外观和保真度。此外,为了防止潜在的退化并在早期破坏对称性,高斯用文本到点云扩散模型生成的粗点云进行初始化。由于这些技术,我们的方法可以生成具有一致几何形状和出色保真度的 3D 资产。Fig。$\operatorname{E}\color{red}{2}$说明了 Gsgen 与以前的最先进的方法之间的比较,以生成具有不对称几何形状的资产。总之,我们的贡献是:
$\bullet$ We propose Gsgen, a text-to-3D generation method
using 3D Gaussians as representation. By incorporating direct geometric priors, we highlight the distinctive advantages of Gaussian Splatting in text-to- 3D generation.
$\bullet$ We introduce a two-stage optimization strategy that
first exploits joint guidance of 2D and 3D diffusion prior to shaping a coherent rough structure in geometry optimization; then enriches the details with compactness-based densification in appearance re- ${\mathrm{finement.}}$
$\cdot$ We validate Gsgen on various textual prompts. Experiments show that our method can generate 3D assets with accurate geometry and enhanced fi- delity. Especially, Gsgen demonstrates superior per-
formance in capturing high-frequency components . such as feathers, surfaces with intricate textures, animal fur, etc.
2. Related Work
2.1. 3D Scene Representations
以可区分的方式表示 3D 场景近年来取得了显著的成功。NeRFs [42] 通过使用基于坐标的神经网络表示 3D 场景,在新颖的视图合成中展示了出色的性能。在出现了改善 NeRF 的重建质量[7,8,74] ,处理大规模[13,39,66,81]和动态场景[3,46,50,58,71],改善训练[10,43,65,79] ,渲染 [25,54,80] 速度并促进下游任务的工作之后$\mathbb{E}[17,45,78,83,84]$。尽管已经取得了很大的进步,但基于 NeRF 的方法由于其隐含的性质,仍然存在渲染速度低和训练时间内存使用率高的问题。为了解决这些挑战,Kerbl et al.[31] 建议将 3D 场景表示为一组各向异性高斯,并使用 GPU 优化的基于图块的光栅化渲染新颖的视图。高斯飞溅可以实现更好的重建结果,同时能够实时渲染。我们的研究突出了高斯喷溅在文本到 3D 中的独特优势,通过结合显式3D 先验,生成 3D 一致且高度详细的资产
## 2.2. Diffusion Models
扩散模型已成为从复杂分布中学习和采样的有前途的范例。受物理学中扩散过程的启发,这些模型涉及一个逐步添加噪声的前向过程和一个使用训练有素的神经网络去噪噪声样本的逆过程。在 DDPM [27,64] 强调了扩散模型在捕获现实世界图像数据方面的有效性之后,出现了大量研究来改善固有的挑战,包括快速采样[5,38,63]和架构改进[6,20,28,35,47,48]。扩散模型最成功的应用之一在于文本到图像的生成,它们在从文本提示[1,26,53]生成逼真的图像方面取得了显着进展。为了产生高分辨率图像,当前的方法利用将低分辨率扩散模型与超分辨率模型[1,4,56]相结合的级联结构,或者使用自动编码器[22,55]在潜在空间中训练扩散模型。我们提出的 Gsgen 基于 StableDiffusion [55] ,这是一个开源的潜在扩散模型,可为精细的 3D 内容生成提供细粒度指导
## $2. 3. \textbf{ Text- to- 3D Generation}$
文本到 3D 生成的早期工作,包括 CLIP-forge [57] , DreamFields $[29]~,~$Text2Mesh$[41]~,~$TANGO$[14]~$, CLIPNeRF[70] 和 CLIP-THMeshMA。为了利用更强的扩散先验,DreamFusion [49] 引人了分数蒸馏采样, 通过最小化渲染图像和扩散先验之间的差异来优化3D 内容。这一发展引发了人们对通过[15,37,51,52, 72,85]之前的图像扩散生成文本到 3D 的兴趣激增。Magic3D[33] 采用从粗到细的策略,使用低分辨率扩散先验优化 NeRF,然后使用用粗 NeRF 初始化的DMTet 增强潜在扩散先验下的纹理。潜在的 NeRF [40]在 StableDiffusion 的潜在空间内训练 NeRF,并引入 Sketch-Shape 方法来指导生成过程。Fantasia3D
|
[
[
0.08087158203125,
0.0921630859375,
0.2156982421875,
0.0921630859375,
0.2156982421875,
0.1060791015625,
0.08087158203125,
0.1060791015625
],
[
0.52392578125,
0.091552734375,
0.8896484375,
0.09344482421875,
0.8896484375,
0.10797119140625,
0.52392578125,
0.1060791015625
],
[
0.52392578125,
0.10797119140625,
0.890625,
0.10797119140625,
0.890625,
0.121826171875,
0.52392578125,
0.121826171875
],
[
0.08087158203125,
0.117431640625,
0.46728515625,
0.117431640625,
0.46728515625,
0.1307373046875,
0.08087158203125,
0.1307373046875
],
[
0.52392578125,
0.125,
0.61669921875,
0.125,
0.61669921875,
0.1363525390625,
0.52392578125,
0.1363525390625
],
[
0.08416748046875,
0.1337890625,
0.465576171875,
0.1337890625,
0.465576171875,
0.14453125,
0.08416748046875,
0.14453125
],
[
0.08087158203125,
0.146484375,
0.465576171875,
0.146484375,
0.465576171875,
0.160400390625,
0.08087158203125,
0.160400390625
],
[
0.50341796875,
0.1546630859375,
0.64892578125,
0.1546630859375,
0.64892578125,
0.1654052734375,
0.50341796875,
0.1654052734375
],
[
0.08087158203125,
0.1622314453125,
0.46728515625,
0.1622314453125,
0.46728515625,
0.175537109375,
0.08087158203125,
0.175537109375
],
[
0.08087158203125,
0.177978515625,
0.46728515625,
0.1767578125,
0.46728515625,
0.1900634765625,
0.08087158203125,
0.1912841796875
],
[
0.50341796875,
0.177978515625,
0.740234375,
0.177978515625,
0.740234375,
0.1912841796875,
0.50341796875,
0.1912841796875
],
[
0.08087158203125,
0.1932373046875,
0.46728515625,
0.1932373046875,
0.46728515625,
0.20703125,
0.08087158203125,
0.20703125
],
[
0.50341796875,
0.2008056640625,
0.890625,
0.2008056640625,
0.890625,
0.21533203125,
0.50341796875,
0.21533203125
],
[
0.08416748046875,
0.208984375,
0.465576171875,
0.208984375,
0.465576171875,
0.2197265625,
0.08416748046875,
0.2197265625
],
[
0.50341796875,
0.216552734375,
0.8896484375,
0.216552734375,
0.8896484375,
0.2298583984375,
0.50341796875,
0.2298583984375
],
[
0.08251953125,
0.222900390625,
0.46728515625,
0.222900390625,
0.46728515625,
0.236083984375,
0.08251953125,
0.236083984375
],
[
0.50341796875,
0.2310791015625,
0.8896484375,
0.2310791015625,
0.8896484375,
0.2442626953125,
0.50341796875,
0.2442626953125
],
[
0.08416748046875,
0.2392578125,
0.46728515625,
0.2392578125,
0.46728515625,
0.25,
0.08416748046875,
0.25
],
[
0.08087158203125,
0.25244140625,
0.46728515625,
0.25244140625,
0.46728515625,
0.266357421875,
0.08087158203125,
0.266357421875
],
[
0.5048828125,
0.246826171875,
0.890625,
0.246826171875,
0.890625,
0.260009765625,
0.5048828125,
0.260009765625
],
[
0.08087158203125,
0.268310546875,
0.416748046875,
0.268310546875,
0.416748046875,
0.2822265625,
0.08087158203125,
0.2822265625
],
[
0.50634765625,
0.26318359375,
0.8896484375,
0.26318359375,
0.8896484375,
0.2734375,
0.50634765625,
0.2734375
],
[
0.50341796875,
0.276611328125,
0.890625,
0.276611328125,
0.890625,
0.290283203125,
0.50341796875,
0.290283203125
],
[
0.101318359375,
0.28271484375,
0.468017578125,
0.28271484375,
0.468017578125,
0.296630859375,
0.101318359375,
0.296630859375
],
[
0.50244140625,
0.291748046875,
0.890625,
0.292236328125,
0.890625,
0.30615234375,
0.50244140625,
0.304931640625
],
[
0.08416748046875,
0.2998046875,
0.46728515625,
0.2998046875,
0.46728515625,
0.31005859375,
0.08416748046875,
0.31005859375
],
[
0.5048828125,
0.30615234375,
0.890625,
0.30615234375,
0.890625,
0.3193359375,
0.5048828125,
0.3193359375
],
[
0.08251953125,
0.313232421875,
0.468017578125,
0.313232421875,
0.468017578125,
0.326904296875,
0.08251953125,
0.326904296875
],
[
0.5048828125,
0.3212890625,
0.890625,
0.3212890625,
0.890625,
0.335205078125,
0.5048828125,
0.335205078125
],
[
0.08251953125,
0.328857421875,
0.468017578125,
0.328857421875,
0.468017578125,
0.34228515625,
0.08251953125,
0.34228515625
],
[
0.08251953125,
0.343505859375,
0.468017578125,
0.343505859375,
0.468017578125,
0.356689453125,
0.08251953125,
0.356689453125
],
[
0.50634765625,
0.33837890625,
0.8896484375,
0.33837890625,
0.8896484375,
0.348388671875,
0.50634765625,
0.348388671875
],
[
0.50341796875,
0.3515625,
0.890625,
0.3515625,
0.890625,
0.365478515625,
0.50341796875,
0.365478515625
],
[
0.08251953125,
0.359130859375,
0.468017578125,
0.359130859375,
0.468017578125,
0.37255859375,
0.08251953125,
0.37255859375
],
[
0.5048828125,
0.367431640625,
0.890625,
0.367431640625,
0.890625,
0.380615234375,
0.5048828125,
0.380615234375
],
[
0.08087158203125,
0.375,
0.468017578125,
0.375,
0.468017578125,
0.38818359375,
0.08087158203125,
0.38818359375
],
[
0.08087158203125,
0.38818359375,
0.46728515625,
0.38818359375,
0.46728515625,
0.401611328125,
0.08087158203125,
0.401611328125
],
[
0.5048828125,
0.3837890625,
0.88623046875,
0.3837890625,
0.88623046875,
0.39453125,
0.5048828125,
0.39453125
],
[
0.5048828125,
0.397705078125,
0.89208984375,
0.397705078125,
0.89208984375,
0.410888671875,
0.5048828125,
0.410888671875
],
[
0.08087158203125,
0.404052734375,
0.46728515625,
0.404052734375,
0.46728515625,
0.417236328125,
0.08087158203125,
0.417236328125
],
[
0.5009765625,
0.410888671875,
0.80615234375,
0.412353515625,
0.80615234375,
0.4267578125,
0.5009765625,
0.425537109375
],
[
0.08416748046875,
0.42041015625,
0.46728515625,
0.42041015625,
0.46728515625,
0.43115234375,
0.08416748046875,
0.43115234375
],
[
0.08087158203125,
0.434326171875,
0.32177734375,
0.434326171875,
0.32177734375,
0.447509765625,
0.08087158203125,
0.447509765625
],
[
0.50341796875,
0.438232421875,
0.67333984375,
0.438232421875,
0.67333984375,
0.451904296875,
0.50341796875,
0.451904296875
],
[
0.098876953125,
0.448974609375,
0.468017578125,
0.447509765625,
0.468017578125,
0.462158203125,
0.098876953125,
0.46337890625
],
[
0.08251953125,
0.464111328125,
0.4697265625,
0.464111328125,
0.4697265625,
0.477783203125,
0.08251953125,
0.477783203125
],
[
0.50341796875,
0.4609375,
0.890625,
0.4609375,
0.890625,
0.474853515625,
0.50341796875,
0.474853515625
],
[
0.08416748046875,
0.48095703125,
0.46728515625,
0.48095703125,
0.46728515625,
0.4912109375,
0.08416748046875,
0.4912109375
],
[
0.50341796875,
0.4765625,
0.8896484375,
0.4765625,
0.8896484375,
0.490478515625,
0.50341796875,
0.490478515625
],
[
0.08251953125,
0.494384765625,
0.468017578125,
0.494384765625,
0.468017578125,
0.50830078125,
0.08251953125,
0.50830078125
],
[
0.50341796875,
0.4912109375,
0.8896484375,
0.4912109375,
0.8896484375,
0.5048828125,
0.50341796875,
0.5048828125
],
[
0.08251953125,
0.51025390625,
0.46728515625,
0.51025390625,
0.46728515625,
0.5234375,
0.08251953125,
0.5234375
],
[
0.50634765625,
0.50830078125,
0.8896484375,
0.50830078125,
0.8896484375,
0.51806640625,
0.50634765625,
0.51806640625
],
[
0.08087158203125,
0.5244140625,
0.468017578125,
0.5244140625,
0.468017578125,
0.53857421875,
0.08087158203125,
0.53857421875
],
[
0.50732421875,
0.5234375,
0.88818359375,
0.5234375,
0.88818359375,
0.5341796875,
0.50732421875,
0.5341796875
],
[
0.08087158203125,
0.54052734375,
0.4697265625,
0.54052734375,
0.4697265625,
0.5537109375,
0.08087158203125,
0.5537109375
],
[
0.5048828125,
0.537109375,
0.890625,
0.537109375,
0.890625,
0.55029296875,
0.5048828125,
0.55029296875
],
[
0.08087158203125,
0.55615234375,
0.468017578125,
0.55615234375,
0.468017578125,
0.5693359375,
0.08087158203125,
0.5693359375
],
[
0.50634765625,
0.5537109375,
0.8896484375,
0.5537109375,
0.8896484375,
0.564453125,
0.50634765625,
0.564453125
],
[
0.08251953125,
0.57080078125,
0.468017578125,
0.57080078125,
0.468017578125,
0.583984375,
0.08251953125,
0.583984375
],
[
0.50244140625,
0.56494140625,
0.890625,
0.56640625,
0.890625,
0.58056640625,
0.50244140625,
0.580078125
],
[
0.08087158203125,
0.58544921875,
0.468017578125,
0.58544921875,
0.468017578125,
0.5986328125,
0.08087158203125,
0.5986328125
],
[
0.50244140625,
0.58056640625,
0.890625,
0.58203125,
0.890625,
0.59521484375,
0.50244140625,
0.5947265625
],
[
0.50341796875,
0.59521484375,
0.89208984375,
0.5966796875,
0.89208984375,
0.611328125,
0.50341796875,
0.60986328125
],
[
0.08416748046875,
0.60302734375,
0.46728515625,
0.60302734375,
0.46728515625,
0.61279296875,
0.08416748046875,
0.61279296875
],
[
0.08416748046875,
0.6162109375,
0.465576171875,
0.6162109375,
0.465576171875,
0.626953125,
0.08416748046875,
0.626953125
],
[
0.50341796875,
0.6123046875,
0.890625,
0.6123046875,
0.890625,
0.62548828125,
0.50341796875,
0.62548828125
],
[
0.08087158203125,
0.6298828125,
0.468017578125,
0.6298828125,
0.468017578125,
0.64306640625,
0.08087158203125,
0.64306640625
],
[
0.5048828125,
0.62890625,
0.8896484375,
0.62890625,
0.8896484375,
0.6396484375,
0.5048828125,
0.6396484375
],
[
0.08251953125,
0.64599609375,
0.468017578125,
0.64599609375,
0.468017578125,
0.6591796875,
0.08251953125,
0.6591796875
],
[
0.50341796875,
0.642578125,
0.8896484375,
0.642578125,
0.8896484375,
0.65576171875,
0.50341796875,
0.65576171875
],
[
0.08251953125,
0.662109375,
0.1519775390625,
0.662109375,
0.1519775390625,
0.673828125,
0.08251953125,
0.673828125
],
[
0.50341796875,
0.6572265625,
0.890625,
0.6572265625,
0.890625,
0.67041015625,
0.50341796875,
0.67041015625
],
[
0.08251953125,
0.67529296875,
0.468017578125,
0.67529296875,
0.468017578125,
0.689453125,
0.08251953125,
0.689453125
],
[
0.50244140625,
0.671875,
0.68310546875,
0.671875,
0.68310546875,
0.68505859375,
0.50244140625,
0.68505859375
],
[
0.101318359375,
0.68994140625,
0.468017578125,
0.69140625,
0.468017578125,
0.70556640625,
0.101318359375,
0.705078125
],
[
0.50244140625,
0.6962890625,
0.7158203125,
0.69775390625,
0.7158203125,
0.7119140625,
0.50244140625,
0.7109375
],
[
0.101318359375,
0.70556640625,
0.468017578125,
0.70556640625,
0.468017578125,
0.7197265625,
0.101318359375,
0.7197265625
],
[
0.101318359375,
0.7216796875,
0.4697265625,
0.7216796875,
0.4697265625,
0.73486328125,
0.101318359375,
0.73486328125
],
[
0.5048828125,
0.7216796875,
0.89453125,
0.7216796875,
0.89453125,
0.73486328125,
0.5048828125,
0.73486328125
],
[
0.1004638671875,
0.736328125,
0.2017822265625,
0.73779296875,
0.2017822265625,
0.75,
0.1004638671875,
0.74755859375
],
[
0.50341796875,
0.736328125,
0.88623046875,
0.736328125,
0.88623046875,
0.75,
0.50341796875,
0.75
],
[
0.08251953125,
0.751953125,
0.468017578125,
0.751953125,
0.468017578125,
0.76513671875,
0.08251953125,
0.76513671875
],
[
0.50341796875,
0.75048828125,
0.890625,
0.75048828125,
0.890625,
0.7646484375,
0.50341796875,
0.7646484375
],
[
0.101318359375,
0.767578125,
0.468017578125,
0.767578125,
0.468017578125,
0.78076171875,
0.101318359375,
0.78076171875
],
[
0.5048828125,
0.7666015625,
0.890625,
0.7666015625,
0.890625,
0.77978515625,
0.5048828125,
0.77978515625
],
[
0.10296630859375,
0.7841796875,
0.465576171875,
0.7841796875,
0.465576171875,
0.79443359375,
0.10296630859375,
0.79443359375
],
[
0.50634765625,
0.78271484375,
0.8896484375,
0.78271484375,
0.8896484375,
0.79345703125,
0.50634765625,
0.79345703125
],
[
0.101318359375,
0.796875,
0.468017578125,
0.79541015625,
0.468017578125,
0.81005859375,
0.101318359375,
0.81103515625
],
[
0.50341796875,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.50341796875,
0.81005859375
],
[
0.10455322265625,
0.8125,
0.4697265625,
0.8125,
0.4697265625,
0.82568359375,
0.10455322265625,
0.82568359375
],
[
0.50634765625,
0.81298828125,
0.890625,
0.81298828125,
0.890625,
0.82373046875,
0.50634765625,
0.82373046875
],
[
0.101318359375,
0.82763671875,
0.1650390625,
0.82763671875,
0.1650390625,
0.8388671875,
0.101318359375,
0.8388671875
],
[
0.50341796875,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.50341796875,
0.84033203125
],
[
0.08251953125,
0.84228515625,
0.468017578125,
0.84228515625,
0.468017578125,
0.85595703125,
0.08251953125,
0.85595703125
],
[
0.5048828125,
0.84228515625,
0.890625,
0.84228515625,
0.890625,
0.85595703125,
0.5048828125,
0.85595703125
],
[
0.1004638671875,
0.85693359375,
0.46728515625,
0.85693359375,
0.46728515625,
0.87060546875,
0.1004638671875,
0.87060546875
],
[
0.50341796875,
0.85693359375,
0.8896484375,
0.85693359375,
0.8896484375,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.10296630859375,
0.87255859375,
0.4697265625,
0.87255859375,
0.4697265625,
0.88623046875,
0.10296630859375,
0.88623046875
],
[
0.50341796875,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88623046875,
0.50341796875,
0.88623046875
],
[
0.101318359375,
0.88623046875,
0.47216796875,
0.88818359375,
0.47216796875,
0.90283203125,
0.101318359375,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"1.Introduction",
"formance in capturing high-frequency components,",
"such as feathers, surfaces with intricate textures, an",
"基于扩散模型的文本到图像生成[1,53,55,56]在从",
"imal fur, etc.",
"文本提示合成逼真的图像方面取得了显著成功。然而",
"对于高质量的文本到3D内容生成,由于现实世界3D",
"2. Related Work",
"场景的固有复杂性,其进展落后于图像生成。最近,",
"DreamFusion【49]通过利用分数蒸馏采样和预先训练",
"2.1. 3D Scene Representations",
"的文本到图像扩散先验,在生成精致资产方面取得了很",
"以可区分的方式表示3D场景近年来取得了显著的成",
"大进展。其后续工作在质量12,75,训练速度33,40",
"功。NeRFs[42]通过使用基于坐标的神经网络表示3D",
"以及生成更合理的几何[2,59,85]方面进一步改进了",
"场景,在新颖的视图合成中展示了出色的性能。在出",
"此范例。然而,大多数现有的文本到3D方法仍然受",
"到几何折叠和有限保真度的影响,并且由于NeRF【42]",
"现了改善NeRF的重建质量[7,8,74],处理大规模",
"和DMTet[60]的隐含性质,难以合并3D先验",
"13.39,66,81和动态场景346.50.58.71,改善训",
"练[10,43,65,79],染[25,54,80]速度并促进下游",
"最近,3D高斯喷溅[31]在3D重建领域引起了广泛",
"任务的工作之后E[17,45,78,83,84]】。尽管已经取得",
"关注,这主要是由于其出色的表示复杂场景的能力和",
"了很大的进步,但基于NeRF的方法由于其隐含的性",
"实时谊染能力。通过使用一组3D高斯模型对场景进行",
"质,仍然存在染速度低和训练时间内存使用率高的",
"建模,Kerbletal.31]采用了一种显式的,以对象为",
"中心的方法,从根本上与NeRF和DMTet等隐式表",
"题。为了解决这些挑战:Kerbletal.31建议将3D",
"场景表示为一组各向异性高斯,并使用GPU优化的基",
"示不同。这种独特的方法为将显式3D先验集成到文本",
"于图块的光栅化染新颖的视图。高斯飞溅可以实现",
"到3D生成中铺平了道路。在这种见解的基础上,我们",
"建议在增强几何相干性之前,使用额外的3D点云扩散",
"更好的重建结果,同时能够实时道染。我们的研究突出",
"了高斯喷溅在文本到3D中的独特优势,通过结合显式",
"来指导生成,而不是直接用高斯替换NeRFs。。通过采",
"3D先验,生成3D一致且高度详细的资产",
"用这种策略,我们可以更好地利用3D高斯在创建复杂",
"且3D一致的资产方面的固有优势",
"2.2. Diffusion Models",
"具体来说,我们建议用一组高斯来表示生成的3D",
"内容,并在两个阶段中逐步对其进行优化,即几何优",
"扩散模型已成为从复杂分布中学习和采样的有前途的",
"化和外观细化。在几何优化阶段,我们在3D点云扩散",
"范例。受物理学中扩散过程的启发,这些模型涉及一个",
"先验和普通2D图像先验的指导下优化高斯。这种额",
"逐步添加噪声的前向过程和一个使用训练有素的神经",
"外的3DSDS损失的结合确保了3D一致的粗糙几何形",
"网络去噪噪声样本的逆过程。在DDPM27,64强调",
"状。在随后的细化阶段,高斯进行迭代增强,以丰富精",
"了扩散模型在捕获现实世界图像数据方面的有效性之",
"致的细节。由于原始自适应控制在SDS损失下的次优",
"后,出现了大量研究来改善固有的挑战,包括快速采样",
"性能,我们引入了一种额外的基于紧性的致密化技",
"5,38,63和架构改进6,20,28,35,47,48。扩散模",
"术来增强外观和保真度。此外,为了防止潜在的退化",
"型最成功的应用之一在于文本到图像的生成,它们在",
"并在早期破坏对称性,高斯用文本到点云扩散模型生",
"从文本提示[1,26,53]生成逼真的图像方面取得了显",
"着进展。为了产生高分辨率图像,当前的方法利用将低",
"成的粗点云进行初始化。由于这些技术,我们的方法",
"可以生成具有一致几何形状和出色保真度的3D资产",
"分辨率扩散模型与超分辨率模型1,4,56]相结合的级",
"Fig。E2说明了Gsgen与以前的最先进的方法之间的",
"联结构,或者使用自动编码器22,55在潜在空间中训",
"比较,以生成具有不对称几何形状的资产。总之,我们",
"练扩散模型。我们提出的Gsgen基于StableDiffusion",
"的贡献是:",
"[55],这是一个开源的潜在扩散模型,可为精细的3D",
": We propose Gsgen, a text-to-3D generation method",
"内容生成提供细粒度指导",
"using 3D Gaussians as representation. By incorpo",
"2.3. Text-to-3D Generation",
"rating direct geometric priors, we highlight the dis",
"tinctive advantages of Gaussian Splatting in text-to-",
"文本到3D生成的早期工作,包括CLIP-forge[57],",
"3Dgeneration",
"DreamFields[29],Text2Mesh[41],TANGO[14]",
". We introduce a two-stage optimization strategy that",
"CLIPNeRF[70]和 CLIP-THMeshMA。为了利用更强",
"first exploits joint guidance of 2D and 3D diffusion",
"的扩散先验,DreamFusion[49]引人了分数蒸馏采样,",
"prior to shaping a coherent rough structurein ge",
"通过最小化谊染图像和扩散先验之间的差异来优化",
"ometry optimization; then enriches the details with",
"3D内容。这一发展引发了人们对通过「15,37,51,52,",
"compactness-based densification in appearance re-",
"72,85之前的图像扩散生成文本到3D的兴趣激增。",
"finement",
"Magic3D[33]采用从粗到细的策略,使用低分辨率扩",
": We validate Gsgen on various textual prompts. Ex-",
"散先验优化NeRF,然后使用用粗NeRF初始化的",
"periments show that our method can generate 3D",
"DMTet增强潜在扩散先验下的纹理。潜在的NeRF",
"assets with accurate geometry and enhanced fi-",
"[40]】在StableDiffusion的潜在空间内训练NeRF,并",
"delity. Especially, Gsgen demonstrates superior per-",
"引人Sketch-Shape方法来指导生成过程。Fantasia3D"
] |
{
"arxiv_id": "2309.16585",
"language": "zh",
"page_idx": 1
}
|
||
2309.16585-zh-2
|
2309.16585-zh-2.jpg
|
[12] 解开几何和材料的学习,利用基于物理的渲染技术实现高保真网格生成。ProlificDreamer [75] 引人了变分蒸馏,以改进 SDS 并促进高质量和多样化 3D 资产的生成。我们的并行工作 DreamGaussian [68] 通过利用高斯喷溅的快速收敛来实现快速的图像到 3D, 高斯喷溅的贡献与我们的正交,因为我们专注于将 3D 先验与更高级的表示相结合。另一项工作是直接在 3D 数据集上训练或微调扩散模型 (例如。g。ShapeNet$\underline{\mathrm{E}}[9]$和Objaverse$\underline {{\mathsf{E} }}[ 18, 19]$ ) , 以 通 过 高 级 指 导 $\underline {{\mathsf{E} }}[ 11$, 16, 24, 30,32,34,36,61,62,73,82]获得更一致的结果。我们的方法建立在 Point-$\mathbb{E}\left[44\right]$的基础上,这是一种在数百万个 3D 模型上训练的文本到点云扩散模型,可提供有价值的 3D 指导和粗略初始化
3. Preliminary
3.1. Score Distillation Sampling
最近的研究没有直接生成 3D 模型,而是通过 Poole et al.[49] 提出的基于分数蒸馏采样的 2D 预训练图像扩散先验来优化 3D 表示,从而取得了显著的成功。在此范例中,场景表示为可差分图像参数化(DIP),表示为$\theta$,其中可以通过转换函数$g$基于给定的相机参数对图像进行差分渲染。DIP $\theta$经过迭代优化,以确保对于任何给定的相机姿态,渲染图像$x=g(\theta)$都非常类似于从制导扩散模型得出的合理样本。DreamFusion 通过利用 Imagen [56] 提供表示为$\epsilon_\phi(x_t;y,t)$的分数估计函数来实现此目的,其中$x_t,y$和$t$分别表示噪声图像,文本嵌人和时间步长。此估计分数在指导梯度更新方面起着关键作用,如以下公式所示:
$$\nabla_\theta\mathcal{L}_{\mathrm{SDS}}=\mathbb{E}_{\epsilon,t}\left[w(t)(\epsilon_\phi(x_t;y,t)-\epsilon)\frac{\partial\boldsymbol{x}}{\partial\theta}\right]$$
(1)
其中$\epsilon$是高斯噪声,$w(t)$是加权函数。我们的方法将分数蒸馏采样与具有不同扩散模型的 2D 和 3D 级别的3D 高斯喷溅相结合,以生成具有详细外观和 3D 一致几何形状的 3D 资产
Kerbl et al. [31]中引人的
# 3.2. 3D Gaussian Splatting
高斯飞溅提出了一种开创性的方法,用于从多视图图像进行新颖的视图合成和 3D 重建。与 NeRF 不同,3D 高斯喷溅采用了一种独特的方法,其中底层场景通过一组各向异性的 3D 高斯来表示 , 这些高斯由它们的位置,协方差,颜色和不透明度参数化。。渲染时,将 3D 高斯投影到相机的成像平面[86]上。随后,将投影的2D 高斯分配给各个图块。$p$在图像平面上的颜色表示使用基于点的体积渲染技术 [86] 按顺序渲染:
(2)
$$C(\boldsymbol{p})=\sum\limits_{i\in\mathcal{N}}c_i\alpha_i\prod\limits_{j=1}^{i-1}\left(1-\alpha_j\right)$$
其中$\alpha_i=o_ie^{-\frac12(\boldsymbol{p}-\mu_i)^T\Sigma_i^{-1}(\boldsymbol{p}-\mu_i)}$是指点$\boldsymbol{p}$ $, \mathcal{N}$ , $o_i$ , $\mu_i$和 XMATHX-6 分别表示 THX 的颜色,。为了最大
限度地利用共享内存,GaussianSplatting 进一步设计了 GPU 友好的光栅化过程,其中每个线程块都被分配来渲染图像图块。与基于 NeRF 的方法相比,这些进步使高斯喷溅能够实现更详细的场景重建,显着加快渲染速度并减少训练期间的内存使用。在这项研究中, 我们将高斯喷溅的应用扩展到文本到 3D 生成,并引入了一种新颖的方法,该方法通过集成直接的 3D 扩散先验来利用高斯喷溅的显式性质,突出了 3D 高斯作为生成任务的基本表示的潜力
# 4. Approach
我们的目标是生成具有精确几何形状和精致细节的 3D 内容。为了实现这一点,Gsgen 利用 3D 高斯作为表示, 因为它可以灵活地结合几何先验和表示高频细节的能力。基于点云可以被视为一组各向同性高斯的观察,我们建议将 3DSDS 损失与预训练的点云扩散模型集成在一起,以形成 3D 一致的几何形状。有了这个额外的几何先验,我们的方法可以减轻 Janus 问题并生成更明智的几何。随后,在外观细化中,高斯人进行迭代优化,以基于紧凑性的致密化策略逐步改善细粒度细节, 同时保留基本的几何信息。详细的 Gsgen 方法如下
## 4.1. Geometry Optimization
许多文本到 3D 的方法遇到了过度拟合多个视图的重大挑战,导致资产具有多个面和折叠的几何$\left[12,33,49\right]$ 。这个问题被称为 Janus 问题[2,59] ,在开发此类方法时一直存在障碍。在我们的早期实验中,我们面临着类似的挑战,即仅仅依靠 2D 指导经常导致有缺陷的结果。但是,我们注意到,可以使用点云先验直接校正3D 高斯的几何形状,这对于以前使用 NeRF 的文本到3D 方法是不可行的,因为它们的几何形状以隐式密度函数表示。认识到这一独特优势,我们引人了几何优化过程来塑造合理的结构。具体而言,除了普通的 2D 图像扩散先验之外,我们还使用 Point-E[44]指导(预训练的文本到点云扩散模型)进一步优化了高斯的位置。我们不是直接将高斯与 Point-E 生成的点云对齐, 而是应用 3DSDS 损失来引导受图像扩散 SDS 启发的位置,从而避免了包括配准,缩放和潜在退化在内的挑战。我们将几何优化阶段的损失总结为以下公式:
$$\begin{aligned}\nabla_{\theta}\mathcal{L}_{\mathrm{geometry}}&=\mathbb{E}_{\epsilon_{I},t}\left[w_{I}(t)(\epsilon_{\phi}(x_{t};y,t)-\epsilon_{I})\frac{\partial\boldsymbol{x}}{\partial\theta}\right]\\&+\lambda_{\mathrm{3D}}\cdot\mathbb{E}_{\epsilon_{P},t}\left[w_{P}(t)(\epsilon_{\psi}(p_{t};y,t)-\epsilon_{P})\right],\end{aligned}$$
其中$p_t$和$x_t$表示噪声高斯位置和渲染图像,$w_*$和$\epsilon_*$
表示相应的加权函数和高斯噪声
# 4.2. Appearance Refinement
虽然引人 3D 先验确实有助于学习更合理的几何形状但我们通过实验发现它也会干扰外观的学习,从而导致资产不够详细。基于此观察,Gsgen 采用了另一个外
|
[
[
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.08087158203125,
0.10797119140625,
0.468017578125,
0.10797119140625,
0.468017578125,
0.121826171875,
0.08087158203125,
0.121826171875
],
[
0.50634765625,
0.10986328125,
0.8896484375,
0.10986328125,
0.8896484375,
0.12060546875,
0.50634765625,
0.12060546875
],
[
0.080078125,
0.12249755859375,
0.46728515625,
0.121826171875,
0.46728515625,
0.1363525390625,
0.080078125,
0.136962890625
],
[
0.50341796875,
0.12371826171875,
0.890625,
0.12371826171875,
0.890625,
0.136962890625,
0.50341796875,
0.136962890625
],
[
0.08087158203125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08087158203125,
0.1514892578125
],
[
0.50341796875,
0.1383056640625,
0.89208984375,
0.1383056640625,
0.89208984375,
0.1514892578125,
0.50341796875,
0.1514892578125
],
[
0.08251953125,
0.154052734375,
0.468017578125,
0.154052734375,
0.468017578125,
0.1673583984375,
0.08251953125,
0.1673583984375
],
[
0.50244140625,
0.15283203125,
0.88623046875,
0.15283203125,
0.88623046875,
0.1666259765625,
0.50244140625,
0.1666259765625
],
[
0.08087158203125,
0.1685791015625,
0.468017578125,
0.1685791015625,
0.468017578125,
0.1817626953125,
0.08087158203125,
0.1817626953125
],
[
0.50244140625,
0.1673583984375,
0.8896484375,
0.1673583984375,
0.8896484375,
0.18115234375,
0.50244140625,
0.18115234375
],
[
0.08416748046875,
0.1849365234375,
0.46728515625,
0.1849365234375,
0.46728515625,
0.1956787109375,
0.08416748046875,
0.1956787109375
],
[
0.50634765625,
0.184326171875,
0.890625,
0.184326171875,
0.890625,
0.1976318359375,
0.50634765625,
0.1976318359375
],
[
0.08087158203125,
0.1988525390625,
0.465576171875,
0.1988525390625,
0.465576171875,
0.212158203125,
0.08087158203125,
0.212158203125
],
[
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.2139892578125,
0.68310546875,
0.2139892578125,
0.68310546875,
0.2279052734375,
0.50341796875,
0.2279052734375
],
[
0.08087158203125,
0.2291259765625,
0.468017578125,
0.2291259765625,
0.468017578125,
0.242431640625,
0.08087158203125,
0.242431640625
],
[
0.08087158203125,
0.24365234375,
0.46728515625,
0.24365234375,
0.46728515625,
0.2568359375,
0.08087158203125,
0.2568359375
],
[
0.50244140625,
0.24560546875,
0.615234375,
0.24560546875,
0.615234375,
0.260009765625,
0.50244140625,
0.260009765625
],
[
0.08087158203125,
0.2587890625,
0.46728515625,
0.2587890625,
0.46728515625,
0.272705078125,
0.08087158203125,
0.272705078125
],
[
0.08087158203125,
0.274658203125,
0.293212890625,
0.274658203125,
0.293212890625,
0.28857421875,
0.08087158203125,
0.28857421875
],
[
0.5048828125,
0.270751953125,
0.890625,
0.270751953125,
0.890625,
0.2841796875,
0.5048828125,
0.2841796875
],
[
0.50341796875,
0.285400390625,
0.88818359375,
0.285888671875,
0.88818359375,
0.2998046875,
0.50341796875,
0.298583984375
],
[
0.0767822265625,
0.300537109375,
0.2099609375,
0.302978515625,
0.2099609375,
0.317626953125,
0.0767822265625,
0.31494140625
],
[
0.50634765625,
0.302978515625,
0.8896484375,
0.302978515625,
0.8896484375,
0.313232421875,
0.50634765625,
0.313232421875
],
[
0.50634765625,
0.31494140625,
0.890625,
0.31494140625,
0.890625,
0.328857421875,
0.50634765625,
0.328857421875
],
[
0.07843017578125,
0.324462890625,
0.330078125,
0.326904296875,
0.330078125,
0.341552734375,
0.07843017578125,
0.339111328125
],
[
0.50341796875,
0.328857421875,
0.890625,
0.330078125,
0.890625,
0.3447265625,
0.50341796875,
0.343505859375
],
[
0.08087158203125,
0.349853515625,
0.468017578125,
0.349853515625,
0.468017578125,
0.363037109375,
0.08087158203125,
0.363037109375
],
[
0.5048828125,
0.34521484375,
0.890625,
0.34521484375,
0.890625,
0.359130859375,
0.5048828125,
0.359130859375
],
[
0.08087158203125,
0.365478515625,
0.468017578125,
0.365478515625,
0.468017578125,
0.37890625,
0.08087158203125,
0.37890625
],
[
0.5048828125,
0.3623046875,
0.8896484375,
0.3623046875,
0.8896484375,
0.37255859375,
0.5048828125,
0.37255859375
],
[
0.08087158203125,
0.380126953125,
0.468017578125,
0.380126953125,
0.468017578125,
0.393310546875,
0.08087158203125,
0.393310546875
],
[
0.50341796875,
0.375,
0.890625,
0.375732421875,
0.890625,
0.389404296875,
0.50341796875,
0.38818359375
],
[
0.08087158203125,
0.39453125,
0.468017578125,
0.39453125,
0.468017578125,
0.40771484375,
0.08087158203125,
0.40771484375
],
[
0.5048828125,
0.391357421875,
0.89208984375,
0.391357421875,
0.89208984375,
0.40478515625,
0.5048828125,
0.40478515625
],
[
0.08087158203125,
0.410400390625,
0.468017578125,
0.410400390625,
0.468017578125,
0.423583984375,
0.08087158203125,
0.423583984375
],
[
0.50341796875,
0.40478515625,
0.86767578125,
0.406005859375,
0.86767578125,
0.42041015625,
0.50341796875,
0.419189453125
],
[
0.08251953125,
0.4267578125,
0.46728515625,
0.4267578125,
0.46728515625,
0.4375,
0.08251953125,
0.4375
],
[
0.50341796875,
0.43310546875,
0.7255859375,
0.43310546875,
0.7255859375,
0.4462890625,
0.50341796875,
0.4462890625
],
[
0.080078125,
0.439453125,
0.468017578125,
0.43994140625,
0.468017578125,
0.453857421875,
0.080078125,
0.45263671875
],
[
0.08087158203125,
0.455810546875,
0.468017578125,
0.455810546875,
0.468017578125,
0.4697265625,
0.08087158203125,
0.4697265625
],
[
0.50341796875,
0.45703125,
0.890625,
0.45703125,
0.890625,
0.47021484375,
0.50341796875,
0.47021484375
],
[
0.08251953125,
0.47021484375,
0.468017578125,
0.47021484375,
0.468017578125,
0.484130859375,
0.08251953125,
0.484130859375
],
[
0.50341796875,
0.4716796875,
0.8896484375,
0.4716796875,
0.8896484375,
0.48486328125,
0.50341796875,
0.48486328125
],
[
0.08251953125,
0.486083984375,
0.468017578125,
0.486083984375,
0.468017578125,
0.5,
0.08251953125,
0.5
],
[
0.50634765625,
0.4892578125,
0.52294921875,
0.4892578125,
0.52294921875,
0.49755859375,
0.50634765625,
0.49755859375
],
[
0.51708984375,
0.486083984375,
0.8896484375,
0.486083984375,
0.8896484375,
0.5,
0.51708984375,
0.5
],
[
0.08251953125,
0.501953125,
0.468017578125,
0.501953125,
0.468017578125,
0.51513671875,
0.08251953125,
0.51513671875
],
[
0.50341796875,
0.501953125,
0.8896484375,
0.501953125,
0.8896484375,
0.51513671875,
0.50341796875,
0.51513671875
],
[
0.08251953125,
0.5166015625,
0.365234375,
0.5166015625,
0.365234375,
0.52978515625,
0.08251953125,
0.52978515625
],
[
0.50341796875,
0.51513671875,
0.8896484375,
0.5166015625,
0.8896484375,
0.52978515625,
0.50341796875,
0.52880859375
],
[
0.12744140625,
0.53857421875,
0.42236328125,
0.54541015625,
0.420654296875,
0.5712890625,
0.1258544921875,
0.564453125
],
[
0.5048828125,
0.53271484375,
0.88818359375,
0.53271484375,
0.88818359375,
0.54345703125,
0.5048828125,
0.54345703125
],
[
0.38232421875,
0.54150390625,
0.414306640625,
0.54150390625,
0.414306640625,
0.55322265625,
0.38232421875,
0.55322265625
],
[
0.443603515625,
0.548828125,
0.46728515625,
0.548828125,
0.46728515625,
0.56103515625,
0.443603515625,
0.56103515625
],
[
0.50341796875,
0.546875,
0.8896484375,
0.546875,
0.8896484375,
0.56005859375,
0.50341796875,
0.56005859375
],
[
0.50341796875,
0.5625,
0.890625,
0.5625,
0.890625,
0.57568359375,
0.50341796875,
0.57568359375
],
[
0.08087158203125,
0.580078125,
0.468017578125,
0.580078125,
0.468017578125,
0.5947265625,
0.08087158203125,
0.5947265625
],
[
0.50634765625,
0.5791015625,
0.8896484375,
0.5791015625,
0.8896484375,
0.5888671875,
0.50634765625,
0.5888671875
],
[
0.08251953125,
0.59521484375,
0.468017578125,
0.59521484375,
0.468017578125,
0.609375,
0.08251953125,
0.609375
],
[
0.50341796875,
0.59130859375,
0.8896484375,
0.59228515625,
0.8896484375,
0.60693359375,
0.50341796875,
0.60595703125
],
[
0.08087158203125,
0.611328125,
0.468017578125,
0.611328125,
0.468017578125,
0.625,
0.08087158203125,
0.625
],
[
0.5048828125,
0.60791015625,
0.890625,
0.60791015625,
0.890625,
0.6220703125,
0.5048828125,
0.6220703125
],
[
0.08087158203125,
0.62548828125,
0.226318359375,
0.62548828125,
0.226318359375,
0.6396484375,
0.08087158203125,
0.6396484375
],
[
0.50341796875,
0.6220703125,
0.890625,
0.62255859375,
0.890625,
0.63623046875,
0.50341796875,
0.63525390625
],
[
0.1004638671875,
0.6416015625,
0.283447265625,
0.6416015625,
0.283447265625,
0.65478515625,
0.1004638671875,
0.65478515625
],
[
0.5048828125,
0.63720703125,
0.88818359375,
0.63720703125,
0.88818359375,
0.65087890625,
0.5048828125,
0.65087890625
],
[
0.50634765625,
0.65380859375,
0.8896484375,
0.65380859375,
0.8896484375,
0.6640625,
0.50634765625,
0.6640625
],
[
0.07843017578125,
0.66357421875,
0.291748046875,
0.66552734375,
0.291748046875,
0.6796875,
0.07843017578125,
0.67822265625
],
[
0.50634765625,
0.66943359375,
0.8896484375,
0.66943359375,
0.8896484375,
0.6796875,
0.50634765625,
0.6796875
],
[
0.5048828125,
0.68310546875,
0.85302734375,
0.68310546875,
0.85302734375,
0.6962890625,
0.5048828125,
0.6962890625
],
[
0.08416748046875,
0.689453125,
0.46728515625,
0.689453125,
0.46728515625,
0.69970703125,
0.08416748046875,
0.69970703125
],
[
0.08251953125,
0.70263671875,
0.46728515625,
0.70263671875,
0.46728515625,
0.71630859375,
0.08251953125,
0.71630859375
],
[
0.51318359375,
0.71044921875,
0.85546875,
0.71728515625,
0.8544921875,
0.74365234375,
0.51123046875,
0.736328125
],
[
0.82275390625,
0.7109375,
0.8505859375,
0.7109375,
0.8505859375,
0.72265625,
0.82275390625,
0.72265625
],
[
0.08087158203125,
0.71826171875,
0.468017578125,
0.71826171875,
0.468017578125,
0.73193359375,
0.08087158203125,
0.73193359375
],
[
0.08660888671875,
0.73486328125,
0.465576171875,
0.73486328125,
0.465576171875,
0.74560546875,
0.08660888671875,
0.74560546875
],
[
0.08087158203125,
0.74755859375,
0.46728515625,
0.74755859375,
0.46728515625,
0.76123046875,
0.08087158203125,
0.76123046875
],
[
0.60546875,
0.74560546875,
0.8759765625,
0.74560546875,
0.8759765625,
0.76025390625,
0.60546875,
0.76025390625
],
[
0.08251953125,
0.7646484375,
0.465576171875,
0.7646484375,
0.465576171875,
0.7744140625,
0.08251953125,
0.7744140625
],
[
0.869140625,
0.76318359375,
0.890625,
0.76318359375,
0.890625,
0.7763671875,
0.869140625,
0.7763671875
],
[
0.08087158203125,
0.77783203125,
0.46728515625,
0.77783203125,
0.46728515625,
0.79150390625,
0.08087158203125,
0.79150390625
],
[
0.08251953125,
0.79345703125,
0.398681640625,
0.79345703125,
0.398681640625,
0.806640625,
0.08251953125,
0.806640625
],
[
0.5048828125,
0.79248046875,
0.8896484375,
0.79248046875,
0.8896484375,
0.80615234375,
0.5048828125,
0.80615234375
],
[
0.5048828125,
0.806640625,
0.73388671875,
0.806640625,
0.73388671875,
0.82080078125,
0.5048828125,
0.82080078125
],
[
0.283447265625,
0.8173828125,
0.303955078125,
0.8173828125,
0.303955078125,
0.82568359375,
0.283447265625,
0.82568359375
],
[
0.1641845703125,
0.8271484375,
0.366943359375,
0.8291015625,
0.366943359375,
0.8466796875,
0.1641845703125,
0.8447265625
],
[
0.44677734375,
0.83203125,
0.468017578125,
0.83203125,
0.468017578125,
0.8447265625,
0.44677734375,
0.8447265625
],
[
0.50341796875,
0.83349609375,
0.72607421875,
0.83349609375,
0.72607421875,
0.84765625,
0.50341796875,
0.84765625
],
[
0.221435546875,
0.8447265625,
0.30810546875,
0.8447265625,
0.30810546875,
0.859375,
0.221435546875,
0.859375
],
[
0.5048828125,
0.85693359375,
0.88818359375,
0.85693359375,
0.88818359375,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.0767822265625,
0.86572265625,
0.461669921875,
0.8671875,
0.461669921875,
0.8896484375,
0.0767822265625,
0.88720703125
],
[
0.455078125,
0.87744140625,
0.464111328125,
0.880859375,
0.463134765625,
0.88330078125,
0.453369140625,
0.880859375
],
[
0.50341796875,
0.87255859375,
0.88818359375,
0.87255859375,
0.88818359375,
0.88623046875,
0.50341796875,
0.88623046875
],
[
0.080078125,
0.88720703125,
0.468017578125,
0.88623046875,
0.468017578125,
0.90087890625,
0.080078125,
0.9013671875
],
[
0.50341796875,
0.88720703125,
0.8896484375,
0.88720703125,
0.8896484375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"[12]解开几何和材料的学习,利用基于物理的煊染技术",
"限度地利用共享内存,GaussianSplatting进一步设计",
"实现高保真网格生成。ProlificDreamer[75]引入了变",
"了GPU友好的光栅化过程,其中每个线程块都被分配",
"分蒸馏,以改进SDS并促进高质量和多样化3D资产",
"来染图像图块。与基于NeRF的方法相比,这些进",
"的生成。我们的并行工作DreamGaussian68]通过利",
"步使高斯喷溅能够实现更详细的场景重建,显着加快",
"用高斯喷溅的快速收敛来实现快速的图像到3D,高斯",
"道染速度并减少训练期间的内存使用。在这项研究中",
"喷溅的贡献与我们的正交,因为我们专注于将3D先验",
"我们将高斯喷溅的应用扩展到文本到3D生成,并引人",
"与更高级的表示相结合。另一项工作是直接在3D数据",
"了一种新颖的方法,该方法通过集成直接的3D扩散先",
"集上训练或微调扩散模型(例如。g。ShapeNetE[9]和",
"验来利用高斯喷溅的显式性质,突出了3D高斯作为生",
"ObjaverseE[18,19]),以通过高级指导E[11,16,24,",
"成任务的基本表示的潜力",
"30,32,34,36,61,62,73,821获得更一致的结果。我们",
"的方法建立在Point-E「44]的基础上,这是一种在数百",
"4.Approach",
"万个3D模型上训练的文本到点云扩散模型,可提供有",
"价值的3D指导和粗略初始化",
"我们的目标是生成具有精确几何形状和精致细节的3D",
"内容。为了实现这一点,Gsgen利用3D高斯作为表示",
"3.Preliminary",
"因为它可以灵活地结合儿何先验和表示高频细节的能",
"力。基于点云可以被视为一组各向同性高斯的观察,我",
"3.1. Score Distillation Sampling",
"们建议将3DSDS损失与预训练的点云扩散模型集成",
"最近的研究没有直接生成3D模型,而是通过Poole",
"在一起,以形成3D一致的几何形状。有了这个额外的",
"etal.49]提出的基于分数蒸馏采样的2D预训练图像",
"儿何先验,我们的方法可以减轻Janus问题并生成更",
"扩散先验来优化3D表示,从而取得了显著的成功。在",
"明智的几何。随后,在外观细化中,高斯人进行送代优",
"此范例中,场景表示为可差分图像参数化(DIP),表",
"化,以基于紧凑性的致密化策略逐步改善细粒度细节,",
"示为θ,其中可以通过转换函数9基于给定的相机参",
"同时保留基本的几何信息。详细的Gsgen方法如下",
"数对图像进行差分道染。DIP经过送代优化,以确保",
"4.1. Geometry Optimization",
"对于任何给定的相机姿态,染图像a=9(0)都非常",
"类似于从制导扩散模型得出的合理样本。DreamFusion",
"许多文本到3D的方法遇到了过度拟合多个视图的重",
"通过利用Imagen56]提供表示为Eα(at;y,t)的分数估",
"大挑战,导致资产具有多个面和折叠的几何[12,33,49]",
"计函数来实现此目的,其中t,y和t分别表示噪声",
"P",
"这个问题被称为Janus问题[2,59],在开发此类方",
"图像,文本嵌人和时间步长。此估计分数在指导梯度更",
"法时一直存在障碍。在我们的早期实验中,我们面临着",
"新方面起着关键作用,如以下公式所示:",
"类似的挑战,即仅仅依靠2D指导经常导致有缺陷的",
"VoCsDs = Ee, w(t)(e(rt:y,t) -)g]",
"结果。但是,我们注意到,可以使用点云先验直接校正",
"da",
"(1)",
"3D高斯的几何形状,这对于以前使用NeRF的文本到",
"3D方法是不可行的,因为它们的几何形状以隐式密度",
"其中是高斯噪声,w(t)是加权函数。我们的方法将",
"函数表示。认识到这一独特优势,我们入了儿何优",
"分数蒸馏采样与具有不同扩散模型的2D和3D级别的",
"化过程来塑造合理的结构。具体而言,除了普通的2D",
"3D高斯喷溅相结合,以生成具有详细外观和3D一致",
"图像扩散先验之外,我们还使用Point-E【44]指导(预",
"几何形状的3D资产",
"训练的文本到点云扩散模型)进一步优化了高斯的位",
"Kerbl et al.[31] 中引人的",
"置。我们不是直接将高斯与Point-E生成的点云对齐",
"而是应用3DSDS损失来引导受图像扩散SDS启发的",
"3.2. 3D Gaussian Splatting",
"位置,从而避免了包括配准,缩放和潜在退化在内的挑",
"战。我们将几何优化阶段的损失总结为以下公式:",
"高斯飞溅提出了一种开创性的方法,用于从多视图图",
"像进行新颖的视图合成和3D重建。与NeRF不同,3D",
"VoCgeometry =Eert w(t)(c(at;y,t) -en)]",
"da",
"高斯喷溅采用了一种独特的方法,其中底层场景通过",
"一组各向异性的3D高斯来表示,这些高斯由它们的位",
"置,协方差,颜色和不透明度参数化。。谊染时,将3D",
"+A3D -Eep,t [wp(t)(e(pt; y,t) -Ep)] ",
"高斯投影到相机的成像平面86上。随后,将投影的",
"(3)",
"2D高斯分配给各个图块。P在图像平面上的颜色表示",
"使用基于点的体积染技术【86]按顺序染",
"其中Pt和at表示噪声高斯位置和煊染图像,W和E*",
"表示相应的加权函数和高斯噪声",
"i-1",
"C(p) =ciai II (1 -αi)",
"(2)",
"4.2.Appearance Refinement",
"iNi",
"虽然引人3D先验确实有助于学习更合理的几何形状",
"其中=;e-(-)()是指点,",
"",
"但我们通过实验发现它也会干扰外观的学习,从而导",
"μ和XMATHX-6分别表示THX的颜色,。为了最大",
"致资产不够详细。基于此观察,Gsgen采用了另一个外"
] |
{
"arxiv_id": "2309.16585",
"language": "zh",
"page_idx": 2
}
|
||
2309.16585-zh-3
|
2309.16585-zh-3.jpg
|
观细化阶段,该阶段仅利用 2D 图像先验迭代地细化和
致密化高斯
为了使高斯密集,Kerbl et al.[31] 建议使用大的视图空间空间梯度来拆分高斯。然而,我们在分数蒸馏采样下确定这种空间梯度的适当阈值时遇到了挑战。由于 SDS 损失的随机性,采用小阈值容易被一些随机大梯度误导,从而产生过多的高斯数,而大阈值将导致模糊的外观,如图。7
为了解决这个问题,我们提出了基于紧密度的致密化,作为具有大阈值的基于位置梯度的分裂的补充。具体来说,对于每个高斯,我们首先用 KD 树获得它的K 个最近邻。然后,对于每个邻居,如果高斯与其邻居之间的距离小于其半径之和,则将在它们之间添加一个高斯,其半径等于残差。如图所示。4 ,基于致密性的致密化可以“填充孔洞”,从而形成更完整的几何结构。为了修剪不必要的高斯,我们添加了额外的损失,以使权重与到中心的距离成正比的不透明度正则化,并定期删除不透明度小于阈值$\alpha_{min}$的高斯。此外,我们认识到在整个细化阶段确保高斯几何一致性的重要性。考虑到这一点,我们会惩罚那些与前面的几何优化过程中获得的位置有很大偏差的高斯。外观细化阶段的损失函数总结如下:
$$\nabla_{\theta}\mathcal{L}_{\mathrm{refine}}=\lambda_{\mathrm{SDS}}\mathbb{E}_{\epsilon_{I},t}\left[w_{I}(t)(\epsilon_{\phi}(x_{t};y,t)-\epsilon_{I})\frac{\partial\boldsymbol{x}}{\partial\theta}\right]\\+\lambda_{\mathrm{mean}}\nabla_{\theta}\sum_{i}||p_{i}||+\lambda_{\mathrm{opacity}}\nabla_{\theta}\sum_{i}\mathrm{sg}(||\boldsymbol{p}_{i}||)\cdot o_{i},$$
(4)
其中 sg(·) 是指停止梯度操作,$p_i$和$o_i$分别表示$i$高斯的位置和不透明度。$\lambda_\mathrm{SDS}$、$\lambda_\mathrm{mean}$和$\lambda_\mathrm{opacity}$是损失权重
# 4.3. Initialization with Geometry Prior
以前的研究[12,33,40]已经证明了从合理的几何初始化开始的至关重要性。在我们的早期实验中,我们还发现用简单的模式初始化可能会导致退化的 3D 对象。为了克服这个问题,我们选择使用生成的点云或用户提供的 3D 形状(网格或点云)初始化高斯的位置。在一般的文本到 3D 生成的上下文中,我们采用文本到点云扩散模型 Point-E [44] 根据文本提示生成粗略的几何形状。虽然 Point-E 可以生成彩色点云,但我们选择基于经验观察的随机颜色初始化,因为在早期实验中发现直接利用生成的颜色会产生不利影响(请参阅附录以进行可视化)。高斯的比例和不透明度分配有固定值, 旋转矩阵设置为单位矩阵。对于用户引导的生成,我们将首选形状转换为点云。为了避免在提供的形状中有太多的顶点,我们使用最远点采样[21]点云和网格均匀表面采样提取原始形状的子集,而不是直接使用所有的顶点或点。
# 5. Experiments
在本节中,我们将介绍验证所提出方法有效性的实验。具体来说,我们将 Gsgen 与以前在一般文本到 3D 生
成中的最新方法进行了比较。此外,我们进行了几项消融研究,以评估初始化,3D 引导和致密化策略的重要性。详细结果如下。
## 5.1. Implementation Details
指导模型设置。我们基于公开的扩散模型 StableDiffusion [55,69]实现了指导模型。对于指导量表,我们采用 100 作为 DreamFusion 和其他作品中建议的 StableDiffusion。我们还利用了 DreamFusion 提出的与视图相关的提示技术。本节中演示的所有资产均通过 StableDiffusion 检查点 runwayml/stable-diffusion-v1-5 获得。
3D 高斯喷溅设置。我们使用 PyTorchCUDA 扩展实现3D 高斯喷溅渲染管道,并进一步添加可学习的背景支持以促进我们的应用程序。对于致密化,我们每 500 次迭代使用阈值$T_{pos}=0.02$通过视图空间位置梯度对高斯进行分割,并每 1000 次迭代执行基于紧凑性的致密化,我们根据经验发现这对于实现完整的几何形状是有效的。对于修剪,我们每 200 次迭代删除不透明度低于$\alpha_{min}=0.05$且世界空间或视图空间半径过大的高斯。
传输设置。我们使用与 DreamFusion [49] 相同的焦距仰角和方位角范围。为了在摄像机位置更均匀地采样, 我们采用方位角分层采样。我们在几何优化阶段选择损失权重超参数$\lambda_\mathrm{SDS}=0.1$和$\lambda_\mathrm{3D}=0.01$,在外观细化阶段选择$\lambda _\mathrm{SDS}= 0. 1$ , $\lambda _\mathrm{mean}= 1. 0$和$\lambda_\mathrm{opacity}=100.0$
## $5. 2. \textbf{ Text- to- 3D Generation}$
我们在一般文本到 3D 生成的背景下评估所提出的Gsgen 的性能,并与最先进的方法进行定性比较。如图所示。2 , 我们的方法产生更精确的几何形状和复杂的细节精致的 3D 资产。相比之下,以前在 SDS 指导下的最先进的方法[12,23,33,49,67]在相同的指导和提示下生成折叠的几何形状,这强调了我们的方法的有效性。虽然 ProlificDreamer [75]提出的 VSD 指南显著改善了生成资产的外观,但它仍然容易受到 Janus 问题的影响,从而导致几何形状有缺陷。我们在图中提供了更多定性的比较结果。5 ,我们的方法展示了在保存高频细节方面的显着增强,例如寿司上的复杂图案,孔雀的羽毛和茅草屋顶。相比之下,由于基于网格的方法的限制,Magic3D 和 Fantasia3D 会产生过度平滑的几何形状,而 ProlificDreamer 容易出现多面问题, 从而使生成的资产不太真实。此外,我们的 Gsgen 以其效率脱颖而出,在大约 40 分钟内生成 3D 资产,与Magic3D 和 Fantasia3D 相当,但具有改进的保真度和更丰富的细节。有关更多定性比较以及 Gsgen 在包括MVDream$\underline {{\mathrm{E} }}[ 61]$和 DeepFloydIF$\underline{\mathrm{E}}[1]$在内的更高级指导下的性能,请参阅附录。
## 5.3. Ablation Study
初始化。为了评估初始化的影响,我们引人了一个变体, 该变体以原点为中心的高斯分布启动高斯的位置,该分布模拟了 DreamFusion [49]中采用的初始化。定性
|
[
[
0.08087158203125,
0.09344482421875,
0.468017578125,
0.09344482421875,
0.468017578125,
0.106689453125,
0.08087158203125,
0.106689453125
],
[
0.5048828125,
0.09344482421875,
0.8896484375,
0.09344482421875,
0.8896484375,
0.106689453125,
0.5048828125,
0.106689453125
],
[
0.08251953125,
0.10986328125,
0.16259765625,
0.10986328125,
0.16259765625,
0.121826171875,
0.08251953125,
0.121826171875
],
[
0.50634765625,
0.10986328125,
0.8896484375,
0.10986328125,
0.8896484375,
0.12060546875,
0.50634765625,
0.12060546875
],
[
0.10296630859375,
0.125,
0.46728515625,
0.125,
0.46728515625,
0.1351318359375,
0.10296630859375,
0.1351318359375
],
[
0.50341796875,
0.12371826171875,
0.6435546875,
0.12371826171875,
0.6435546875,
0.136962890625,
0.50341796875,
0.136962890625
],
[
0.08251953125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08251953125,
0.1514892578125
],
[
0.50341796875,
0.1483154296875,
0.72216796875,
0.1483154296875,
0.72216796875,
0.1622314453125,
0.50341796875,
0.1622314453125
],
[
0.08251953125,
0.1546630859375,
0.46728515625,
0.1546630859375,
0.46728515625,
0.1654052734375,
0.08251953125,
0.1654052734375
],
[
0.08251953125,
0.1685791015625,
0.468017578125,
0.1685791015625,
0.468017578125,
0.1817626953125,
0.08251953125,
0.1817626953125
],
[
0.5048828125,
0.17236328125,
0.8896484375,
0.17236328125,
0.8896484375,
0.18310546875,
0.5048828125,
0.18310546875
],
[
0.08416748046875,
0.1849365234375,
0.46728515625,
0.1849365234375,
0.46728515625,
0.1956787109375,
0.08416748046875,
0.1956787109375
],
[
0.50341796875,
0.186279296875,
0.890625,
0.186279296875,
0.890625,
0.199462890625,
0.50341796875,
0.199462890625
],
[
0.08251953125,
0.199462890625,
0.2320556640625,
0.199462890625,
0.2320556640625,
0.210205078125,
0.08251953125,
0.210205078125
],
[
0.5048828125,
0.2020263671875,
0.890625,
0.2020263671875,
0.890625,
0.21533203125,
0.5048828125,
0.21533203125
],
[
0.1004638671875,
0.21337890625,
0.468017578125,
0.212158203125,
0.468017578125,
0.2266845703125,
0.1004638671875,
0.2279052734375
],
[
0.50244140625,
0.21533203125,
0.890625,
0.2171630859375,
0.890625,
0.2310791015625,
0.50244140625,
0.2291259765625
],
[
0.08251953125,
0.2291259765625,
0.468017578125,
0.2291259765625,
0.468017578125,
0.242431640625,
0.08251953125,
0.242431640625
],
[
0.50341796875,
0.2310791015625,
0.8896484375,
0.231689453125,
0.8896484375,
0.24560546875,
0.50341796875,
0.2442626953125
],
[
0.08251953125,
0.24560546875,
0.46728515625,
0.24560546875,
0.46728515625,
0.255615234375,
0.08251953125,
0.255615234375
],
[
0.50244140625,
0.24560546875,
0.89208984375,
0.246826171875,
0.89208984375,
0.261474609375,
0.50244140625,
0.260009765625
],
[
0.07843017578125,
0.25830078125,
0.468017578125,
0.2587890625,
0.468017578125,
0.272705078125,
0.07843017578125,
0.271484375
],
[
0.50634765625,
0.264404296875,
0.52685546875,
0.264404296875,
0.52685546875,
0.274658203125,
0.50634765625,
0.274658203125
],
[
0.08087158203125,
0.274658203125,
0.468017578125,
0.274658203125,
0.468017578125,
0.28857421875,
0.08087158203125,
0.28857421875
],
[
0.50341796875,
0.276611328125,
0.89208984375,
0.276611328125,
0.89208984375,
0.290283203125,
0.50341796875,
0.290283203125
],
[
0.096435546875,
0.291748046875,
0.46728515625,
0.291748046875,
0.46728515625,
0.3017578125,
0.096435546875,
0.3017578125
],
[
0.50244140625,
0.291748046875,
0.890625,
0.292236328125,
0.890625,
0.30615234375,
0.50244140625,
0.304931640625
],
[
0.08251953125,
0.3037109375,
0.468017578125,
0.3037109375,
0.468017578125,
0.317626953125,
0.08251953125,
0.317626953125
],
[
0.50244140625,
0.306884765625,
0.88818359375,
0.306884765625,
0.88818359375,
0.32080078125,
0.50244140625,
0.32080078125
],
[
0.08251953125,
0.3193359375,
0.46728515625,
0.3193359375,
0.46728515625,
0.333251953125,
0.08251953125,
0.333251953125
],
[
0.50244140625,
0.3212890625,
0.8896484375,
0.3212890625,
0.8896484375,
0.335205078125,
0.50244140625,
0.335205078125
],
[
0.08416748046875,
0.3359375,
0.46728515625,
0.3359375,
0.46728515625,
0.3466796875,
0.08416748046875,
0.3466796875
],
[
0.50341796875,
0.337158203125,
0.890625,
0.337158203125,
0.890625,
0.35107421875,
0.50341796875,
0.35107421875
],
[
0.08251953125,
0.349853515625,
0.468017578125,
0.349853515625,
0.468017578125,
0.363037109375,
0.08251953125,
0.363037109375
],
[
0.5048828125,
0.352783203125,
0.890625,
0.352783203125,
0.890625,
0.3662109375,
0.5048828125,
0.3662109375
],
[
0.08251953125,
0.3662109375,
0.46728515625,
0.3662109375,
0.46728515625,
0.376953125,
0.08251953125,
0.376953125
],
[
0.50634765625,
0.369384765625,
0.8896484375,
0.369384765625,
0.8896484375,
0.380126953125,
0.50634765625,
0.380126953125
],
[
0.08087158203125,
0.380126953125,
0.468017578125,
0.380126953125,
0.468017578125,
0.393310546875,
0.08087158203125,
0.393310546875
],
[
0.50341796875,
0.38330078125,
0.890625,
0.38330078125,
0.890625,
0.397705078125,
0.50341796875,
0.397705078125
],
[
0.08087158203125,
0.39453125,
0.468017578125,
0.39453125,
0.468017578125,
0.40771484375,
0.08087158203125,
0.40771484375
],
[
0.50634765625,
0.3984375,
0.54150390625,
0.3984375,
0.54150390625,
0.410888671875,
0.50634765625,
0.410888671875
],
[
0.08251953125,
0.410400390625,
0.283447265625,
0.410400390625,
0.283447265625,
0.423583984375,
0.08251953125,
0.423583984375
],
[
0.5048828125,
0.412353515625,
0.890625,
0.412353515625,
0.890625,
0.4267578125,
0.5048828125,
0.4267578125
],
[
0.0931396484375,
0.4287109375,
0.44677734375,
0.436279296875,
0.44677734375,
0.462158203125,
0.0931396484375,
0.455078125
],
[
0.50634765625,
0.429931640625,
0.88623046875,
0.429931640625,
0.88623046875,
0.43994140625,
0.50634765625,
0.43994140625
],
[
0.42236328125,
0.436279296875,
0.43701171875,
0.436279296875,
0.43701171875,
0.43994140625,
0.42236328125,
0.43994140625
],
[
0.5048828125,
0.443115234375,
0.890625,
0.443115234375,
0.890625,
0.45703125,
0.5048828125,
0.45703125
],
[
0.5048828125,
0.458984375,
0.890625,
0.458984375,
0.890625,
0.472900390625,
0.5048828125,
0.472900390625
],
[
0.1004638671875,
0.46728515625,
0.451904296875,
0.46728515625,
0.451904296875,
0.48486328125,
0.1004638671875,
0.48486328125
],
[
0.5009765625,
0.4716796875,
0.89208984375,
0.473388671875,
0.89208984375,
0.490478515625,
0.5009765625,
0.488037109375
],
[
0.44677734375,
0.496826171875,
0.468017578125,
0.496826171875,
0.468017578125,
0.51025390625,
0.44677734375,
0.51025390625
],
[
0.50244140625,
0.498779296875,
0.7158203125,
0.498779296875,
0.7158203125,
0.51220703125,
0.50244140625,
0.51220703125
],
[
0.08251953125,
0.51806640625,
0.468017578125,
0.51806640625,
0.468017578125,
0.53271484375,
0.08251953125,
0.53271484375
],
[
0.5048828125,
0.521484375,
0.890625,
0.521484375,
0.890625,
0.53515625,
0.5048828125,
0.53515625
],
[
0.08087158203125,
0.53271484375,
0.46728515625,
0.53271484375,
0.46728515625,
0.54736328125,
0.08087158203125,
0.54736328125
],
[
0.5048828125,
0.537109375,
0.88818359375,
0.537109375,
0.88818359375,
0.55029296875,
0.5048828125,
0.55029296875
],
[
0.08251953125,
0.5498046875,
0.11358642578125,
0.5498046875,
0.11358642578125,
0.5625,
0.08251953125,
0.5625
],
[
0.50634765625,
0.5537109375,
0.8896484375,
0.5537109375,
0.8896484375,
0.564453125,
0.50634765625,
0.564453125
],
[
0.08087158203125,
0.5712890625,
0.381591796875,
0.5712890625,
0.381591796875,
0.58544921875,
0.08087158203125,
0.58544921875
],
[
0.5048828125,
0.5673828125,
0.890625,
0.5673828125,
0.890625,
0.58056640625,
0.5048828125,
0.58056640625
],
[
0.5048828125,
0.58203125,
0.8896484375,
0.58349609375,
0.8896484375,
0.5966796875,
0.5048828125,
0.59521484375
],
[
0.08251953125,
0.5947265625,
0.468017578125,
0.5947265625,
0.468017578125,
0.60791015625,
0.08251953125,
0.60791015625
],
[
0.50341796875,
0.59765625,
0.890625,
0.59765625,
0.890625,
0.611328125,
0.50341796875,
0.611328125
],
[
0.08416748046875,
0.611328125,
0.46728515625,
0.611328125,
0.46728515625,
0.6220703125,
0.08416748046875,
0.6220703125
],
[
0.50341796875,
0.6123046875,
0.890625,
0.6123046875,
0.890625,
0.62548828125,
0.50341796875,
0.62548828125
],
[
0.08087158203125,
0.62353515625,
0.468017578125,
0.62353515625,
0.468017578125,
0.63720703125,
0.08087158203125,
0.63720703125
],
[
0.50341796875,
0.62744140625,
0.890625,
0.62744140625,
0.890625,
0.6416015625,
0.50341796875,
0.6416015625
],
[
0.08416748046875,
0.63818359375,
0.46728515625,
0.63818359375,
0.46728515625,
0.6513671875,
0.08416748046875,
0.6513671875
],
[
0.5048828125,
0.64306640625,
0.890625,
0.64306640625,
0.890625,
0.6572265625,
0.5048828125,
0.6572265625
],
[
0.08087158203125,
0.65283203125,
0.468017578125,
0.65380859375,
0.468017578125,
0.66748046875,
0.08087158203125,
0.66650390625
],
[
0.5048828125,
0.65771484375,
0.890625,
0.65771484375,
0.890625,
0.671875,
0.5048828125,
0.671875
],
[
0.08087158203125,
0.66845703125,
0.468017578125,
0.66943359375,
0.468017578125,
0.68310546875,
0.08087158203125,
0.681640625
],
[
0.50341796875,
0.67236328125,
0.8896484375,
0.67236328125,
0.8896484375,
0.68603515625,
0.50341796875,
0.68603515625
],
[
0.08087158203125,
0.68505859375,
0.468017578125,
0.68505859375,
0.468017578125,
0.69873046875,
0.08087158203125,
0.69873046875
],
[
0.50341796875,
0.68798828125,
0.890625,
0.68798828125,
0.890625,
0.7021484375,
0.50341796875,
0.7021484375
],
[
0.08251953125,
0.7021484375,
0.46728515625,
0.7021484375,
0.46728515625,
0.7119140625,
0.08251953125,
0.7119140625
],
[
0.50341796875,
0.70263671875,
0.8896484375,
0.70263671875,
0.8896484375,
0.71630859375,
0.50341796875,
0.71630859375
],
[
0.08416748046875,
0.71630859375,
0.46728515625,
0.71630859375,
0.46728515625,
0.7265625,
0.08416748046875,
0.7265625
],
[
0.50341796875,
0.71826171875,
0.88818359375,
0.71826171875,
0.88818359375,
0.73193359375,
0.50341796875,
0.73193359375
],
[
0.08087158203125,
0.72998046875,
0.468017578125,
0.72998046875,
0.468017578125,
0.74365234375,
0.08087158203125,
0.74365234375
],
[
0.5048828125,
0.73486328125,
0.88818359375,
0.73486328125,
0.88818359375,
0.74560546875,
0.5048828125,
0.74560546875
],
[
0.08251953125,
0.74560546875,
0.468017578125,
0.74560546875,
0.468017578125,
0.7587890625,
0.08251953125,
0.7587890625
],
[
0.5048828125,
0.75,
0.8896484375,
0.75,
0.8896484375,
0.76025390625,
0.5048828125,
0.76025390625
],
[
0.08416748046875,
0.76220703125,
0.46728515625,
0.76220703125,
0.46728515625,
0.77294921875,
0.08416748046875,
0.77294921875
],
[
0.50341796875,
0.76318359375,
0.8896484375,
0.76318359375,
0.8896484375,
0.7763671875,
0.50341796875,
0.7763671875
],
[
0.08087158203125,
0.77587890625,
0.46728515625,
0.77587890625,
0.46728515625,
0.7890625,
0.08087158203125,
0.7890625
],
[
0.50341796875,
0.77880859375,
0.890625,
0.77880859375,
0.890625,
0.79248046875,
0.50341796875,
0.79248046875
],
[
0.08087158203125,
0.79052734375,
0.468017578125,
0.79052734375,
0.468017578125,
0.8037109375,
0.08087158203125,
0.8037109375
],
[
0.50244140625,
0.79248046875,
0.8896484375,
0.79248046875,
0.8896484375,
0.80615234375,
0.50244140625,
0.80615234375
],
[
0.08087158203125,
0.8046875,
0.468017578125,
0.8046875,
0.468017578125,
0.818359375,
0.08087158203125,
0.818359375
],
[
0.50341796875,
0.8095703125,
0.689453125,
0.8095703125,
0.689453125,
0.82275390625,
0.50341796875,
0.82275390625
],
[
0.08087158203125,
0.82080078125,
0.1854248046875,
0.82080078125,
0.1854248046875,
0.833984375,
0.08087158203125,
0.833984375
],
[
0.50341796875,
0.833984375,
0.65673828125,
0.833984375,
0.65673828125,
0.84765625,
0.50341796875,
0.84765625
],
[
0.07598876953125,
0.8447265625,
0.2197265625,
0.8466796875,
0.2197265625,
0.8642578125,
0.07598876953125,
0.8623046875
],
[
0.50634765625,
0.859375,
0.88818359375,
0.859375,
0.88818359375,
0.869140625,
0.50634765625,
0.869140625
],
[
0.08087158203125,
0.87255859375,
0.4697265625,
0.87255859375,
0.4697265625,
0.88623046875,
0.08087158203125,
0.88623046875
],
[
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.5048828125,
0.8896484375,
0.890625,
0.8896484375,
0.890625,
0.8994140625,
0.5048828125,
0.8994140625
]
] |
[
"观细化阶段,该阶段仅利用2D图像先验迭代地细化和",
"成中的最新方法进行了比较。此外,我们进行了几项消",
"致密化高斯",
"融研究,以评估初始化,3D引导和致密化策略的重要",
"为了使高斯密集,Kerbletal.31l建议使用大的视",
"性。详细结果如下。",
"图空间空间梯度来拆分高斯。然而,我们在分数蒸馏采",
"5.1.ImplementationDetails",
"样下确定这种空间梯度的适当國值时遇到了挑战。由",
"于SDS损失的随机性,采用小阈值容易被一些随机大",
"指导模型设置。我们基于公开的扩散模型StableDiffu",
"梯度误导,从而产生过多的高斯数,而大國值将导致模",
"sion[55,69]实现了指导模型。对于指导量表,我们",
"糊的外观,如图。7",
"采用100作为DreamFusion和其他作品中建议的Sta-",
"为了解决这个问题,我们提出了基于紧密度的致密",
"bleDiffusion。我们还利用了DreamFusion提出的与视",
"化,作为具有大阈值的基于位置梯度的分裂的补充。具",
"图相关的提示技术。本节中演示的所有资产均通过Sta",
"体来说,对于每个高斯,我们首先用KD树获得它的",
"bleDiffusion检查点runwayml/stable-diffusion-v1-5获",
"K个最近邻。然后,对于每个邻居,如果高斯与其邻",
"得。",
"居之间的距离小于其半径之和,则将在它们之间添加",
"3D高斯喷溅设置。我们使用PyTorchCUDA扩展实现",
"个高斯,其半径等于残差。如图所示。4,基于致",
"3D高斯喷溅染管道,并进一步添加可学习的背景支",
"密性的致密化可以“填充孔洞”,从而形成更完整的几",
"持以促进我们的应用程序。对于致密化,我们每500次",
"何结构。为了修剪不必要的高斯,我们添加了额外的",
"送代使用阈值Tpos=0.02通过视图空间位置梯度对高",
"损失,以使权重与到中心的距离成正比的不透明度正",
"斯进行分割,并每1000次选代执行基于紧凑性的致密",
"则化,并定期删除不透明度小于阈值αmin的高斯。此",
"化,我们根据经验发现这对于实现完整的几何形状是",
"外,我们认识到在整个细化阶段确保高斯儿何一致性",
"有效的。对于修剪,我们每200次送代删除不透明度",
"的重要性。考虑到这一点,我们会惩罚那些与前面的几",
"低于αmin=0.05且世界空间或视图空间半径过大的",
"何优化过程中获得的位置有很大偏差的高斯。外观细",
"高斯。",
"化阶段的损失函数总结如下:",
"传输设置。我们使用与DreamFusion[49]相同的焦距,",
"VoLrefine=AsDsEent w(t)(e(rti y,t) -r)",
"仰角和方位角范围。为了在摄像机位置更均匀地采样",
"",
"我们采用方位角分层采样。我们在几何优化阶段选择损",
"失权重超参数入sDS=0.1和入3D=0.01,在外观细化",
"+Amean Vellp;ll+XopacityVesg(llpill).Oi,",
"阶段选择入sDs=0.1,入mean=1.0和入opacity=100.0",
"(4)",
"5.2. Text-to-3D Generation",
"其中sg()是指停止梯度操作,P,和o分别表示i高",
"我们在一般文本到3D生成的背景下评估所提出的",
"斯的位置和不透明度。入sDs、入mean和入opacity是损失",
"Gsgen的性能,并与最先进的方法进行定性比较。如图",
"权重",
"所示。2,我们的方法产生更精确的儿何形状和复杂",
"4.3. Initialization with Geometry Prior",
"的细节精致的3D资产。相比之下,以前在SDS指导",
"下的最先进的方法[12,23,33,49,67]在相同的指导和",
"以前的研究【12,33,40]已经证明了从合理的几何初始",
"提示下生成折叠的几何形状,这强调了我们的方法的",
"化开始的至关重要性。在我们的早期实验中,我们还发",
"有效性。虽然ProlificDreamer[75]提出的VSD指南",
"现用简单的模式初始化可能会导致退化的3D对象。为",
"显著改善了生成资产的外观,但它仍然容易受到Janus",
"了克服这个问题,我们选择使用生成的点云或用户提",
"问题的影响,从而导致几何形状有缺陷。我们在图中提",
"供的3D形状(网格或点云)初始化高斯的位置。在一",
"供了更多定性的比较结果。5,我们的方法展示了在",
"般的文本到3D生成的上下文中,我们采用文本到点云",
"保存高频细节方面的显着增强,例如寿司上的复杂图",
"扩散模型Point-E[44】根据文本提示生成粗略的几何",
"案,孔雀的羽毛和茅草屋顶。相比之下,由于基于网格",
"形状。虽然Point-E可以生成彩色点云,但我们选择基",
"的方法的限制,Magic3D和Fantasia3D会产生过度平",
"于经验观察的随机颜色初始化,因为在早期实验中发",
"滑的几何形状,而ProlificDreamer容易出现多面问题",
"现直接利用生成的颜色会产生不利影响(请参阅附录",
"从而使生成的资产不太真实。此外,我们的Gsgen以",
"以进行可视化)。高斯的比例和不透明度分配有固定值,",
"其效率脱颖而出,在大约40分钟内生成3D资产,与",
"旋转矩阵设置为单位矩阵。对于用户引导的生成,我们",
"Magic3D和Fantasia3D相当,但具有改进的保真度和",
"将首选形状转换为点云。为了避免在提供的形状中有",
"更丰富的细节。有关更多定性比较以及Gsgen在包括",
"太多的顶点,我们使用最远点采样[21]点云和网格均",
"MVDreamE[61]和DeepFloydIFE[1]在内的更高级指",
"匀表面采样提取原始形状的子集,而不是直接使用所",
"导下的性能,请参阅附录。",
"有的顶点或点。",
"5.3. Ablation Study",
"5. Experiments",
"初始化。为了评估初始化的影响,我们引人了一个变体",
"在本节中,我们将介绍验证所提出方法有效性的实验。",
"该变体以原点为中心的高斯分布启动高斯的位置,该",
"具体来说,我们将Gsgen与以前在一般文本到3D生",
"分布模拟厂DreamFusion49中采用的初始化。定性"
] |
{
"arxiv_id": "2309.16585",
"language": "zh",
"page_idx": 3
}
|
||
2304.11463-zh-1
|
2304.11463-zh-1.jpg
|
<table>
<tbody>
<tr>
<th> </th>
<th></th>
<th>$\begin{array}{c}{\frac{1}{60}}\\{\underline{5}}\\{\underline{.}}\end{array}$ 囂 $\dot{5}$ T -</th>
<th>unique nouns</th>
<th>en-vocabulary</th>
<th>tl-lnstance $\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=2}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\frac{1}{i=1}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\sum_{i=1}^{\infty}\frac{$</th>
<th>luation</th>
</tr>
<tr>
<th>Dataset</th>
<th>$\begin{array}{c}\textcircled{9}\\\textcircled{6}\\\textcircled{50}\\.\textcircled{5}\\\downarrow\\*\end{array}$</th>
<th>Descr. length Free- form</th>
<th>$\#$ unique nouns</th>
<th>Open- vocabulary</th>
<th>Multı-lnstance Negative</th>
<th>Evaluation</th>
</tr>
<tr>
<td>$LVIS$ [18]</td>
<td>5K</td>
<td>$X$ - </td>
<td>1.2K</td>
<td>$X$</td>
<td>1 1</td>
<td>$AP$</td>
</tr>
<tr>
<td>RefCOCO [35,47]</td>
<td>4.3K</td>
<td>4.5</td>
<td>3.5K</td>
<td>$√$</td>
<td>$X$ $X$</td>
<td>$P$</td>
</tr>
<tr>
<td>Flickr30k [38]</td>
<td>1.0K</td>
<td>2.4</td>
<td>1.9K</td>
<td>$√$</td>
<td>$X$ $X$</td>
<td>R</td>
</tr>
<tr>
<td>PhraseCut [44]</td>
<td>2.9K</td>
<td>2.0</td>
<td>1.5K</td>
<td>$\sqrt{1}$ 1</td>
<td>$X$ 1 1</td>
<td>IoU</td>
</tr>
<tr>
<td>OmniLabel</td>
<td>12.2K</td>
<td>5.6</td>
<td>4.6K</td>
<td>$√$ W</td>
<td>$√$ 1</td>
<td>$AP$</td>
</tr>
</tbody>
</table>
Table 1: Comparing OmniLabel to existing bench-
marks: On 12.2K images, OmniLabel provides freeform text descriptions of objects with an average description length of 5.6 words, covering 4.6K unique nouns. Each description can refer to multiple objects, or no object, i.e., a negative example, an important factor in our evaluation. (Numbers are computed on validation sets. P: Precision, R: Recall, AP: Average Precision, IoU: Intersection over Union)
<FigureHere>
Figure 2: Examples of the OmniLabel ground truth annotations. Positive descriptions (above each image) can refer to one or multiple instances. Negative descriptions (below each image) are semantically related to the image but refer to no object. More examples in Appendix D
上收集了一组新颖的注释。我们用对象的新颖的自由形式文本描述来增加现有的纯类别名称。我们的特定注释过程 (Sec.4)通过确保至少满足以下条件之一来增加任务的难度:
(d) Descriptions do not use the original category name
(a) Multiple instances of the same underlying object
category are present in the same image
( b) One object description can refer to multiple objects ( c) An image contains a negative object description,
which refers to no object but is related to the im-
age's semantics
Tab.1突出了 OmniLabel 与现有基准的主要区别:自由形式文本描述的多样性和作为对象检测任务的评估, 包括每个描述的多个实例以及负面对象描述。表中的数字反映了我们的公共验证集,它的大小与我们的私有测试集大致相同。Fig. 2 提供了数据集的示例
我们还在我们的基准上评估了最近的基于语言的检测器,包括 RegionCLIP$\boxed{\mathrm{E} }[ 53]$ ,Detic$\boxed{\mathrm{F} }[ 55]$ ,MDETRE [20] , GLIP$\underline{\mathrm{E}}[29]$和 FIBER$\underline{\mathrm{E}}[12]$ 。在 Sec. 6.2 中总结,我们的主要观察结果是,建议的基准对于所有方法都是困难的,并且评估指标比以前的基准更为严格。负面对象描述对当前方法构成最大挑战
我们总结我们的贡献如下:
( a) A novel benchmark to unify standard detection,
open-vocabulary detection and referring expres-
sions
(b) A data annotation process to collect diverse and
complex free-form text descriptions of objects, in-
cluding negative examples
(c) A comprehensive evaluation metric that handles
the virtually infinite label space
## 2. Related Work
为了定位我们建议的 OmniLabel 基准,我们将其与
现有任务相关联,并专注于相应的基准数据集
Object Detection: 对对象进行本地化和分类是一项长期而重要的任务,涉及许多应用程序。大量的数据集推动了这项研究。除了针对特定用例的数据集,例如面部$\mathbb{E}[45]$ ,行人$\mathbb{E}[3,11]$ 或驾驶场景$\mathbb{E}[10,15,36$, 46] ,最受欢迎的是通用数据集:PascalVOC$\underline{\mathrm{E}}[13]$ ,
2
|
[
[
0.340576171875,
0.0921630859375,
0.3544921875,
0.0921630859375,
0.3544921875,
0.126953125,
0.340576171875,
0.126953125
],
[
0.371826171875,
0.09027099609375,
0.390625,
0.09027099609375,
0.38818359375,
0.186279296875,
0.369384765625,
0.186279296875
],
[
0.5107421875,
0.09344482421875,
0.60546875,
0.09344482421875,
0.60546875,
0.10418701171875,
0.5107421875,
0.10418701171875
],
[
0.705078125,
0.09661865234375,
0.74267578125,
0.09661865234375,
0.74267578125,
0.10101318359375,
0.705078125,
0.10101318359375
],
[
0.744140625,
0.0921630859375,
0.8349609375,
0.0947265625,
0.8349609375,
0.10479736328125,
0.744140625,
0.1029052734375
],
[
0.396240234375,
0.10101318359375,
0.4150390625,
0.10101318359375,
0.4150390625,
0.186279296875,
0.396240234375,
0.186279296875
],
[
0.301513671875,
0.10797119140625,
0.3203125,
0.10797119140625,
0.3203125,
0.149658203125,
0.301513671875,
0.149658203125
],
[
0.240234375,
0.125,
0.2607421875,
0.1256103515625,
0.256591796875,
0.169189453125,
0.236083984375,
0.1685791015625
],
[
0.339111328125,
0.125,
0.3544921875,
0.125,
0.3544921875,
0.1685791015625,
0.339111328125,
0.1685791015625
],
[
0.450927734375,
0.125,
0.465576171875,
0.125,
0.463134765625,
0.1849365234375,
0.44775390625,
0.1849365234375
],
[
0.418212890625,
0.1300048828125,
0.443603515625,
0.1319580078125,
0.4345703125,
0.1881103515625,
0.408447265625,
0.1849365234375
],
[
0.275390625,
0.1287841796875,
0.294189453125,
0.1287841796875,
0.294189453125,
0.186279296875,
0.275390625,
0.186279296875
],
[
0.301513671875,
0.14453125,
0.3203125,
0.1458740234375,
0.316162109375,
0.186279296875,
0.29736328125,
0.1849365234375
],
[
0.23779296875,
0.1673583984375,
0.256591796875,
0.1673583984375,
0.256591796875,
0.18115234375,
0.23779296875,
0.18115234375
],
[
0.338134765625,
0.1673583984375,
0.35546875,
0.1673583984375,
0.35546875,
0.18115234375,
0.338134765625,
0.18115234375
],
[
0.0849609375,
0.1749267578125,
0.143798828125,
0.1749267578125,
0.143798828125,
0.186279296875,
0.0849609375,
0.186279296875
],
[
0.08251953125,
0.1956787109375,
0.15283203125,
0.1976318359375,
0.15283203125,
0.212158203125,
0.08251953125,
0.210205078125
],
[
0.2344970703125,
0.1976318359375,
0.2607421875,
0.1976318359375,
0.2607421875,
0.2108154296875,
0.2344970703125,
0.2108154296875
],
[
0.27685546875,
0.1988525390625,
0.289306640625,
0.1988525390625,
0.289306640625,
0.210205078125,
0.27685546875,
0.210205078125
],
[
0.330078125,
0.1988525390625,
0.365234375,
0.1988525390625,
0.365234375,
0.210205078125,
0.330078125,
0.210205078125
],
[
0.374267578125,
0.199462890625,
0.386474609375,
0.199462890625,
0.386474609375,
0.208984375,
0.374267578125,
0.208984375
],
[
0.400390625,
0.2020263671875,
0.406982421875,
0.2020263671875,
0.406982421875,
0.20703125,
0.400390625,
0.20703125
],
[
0.423095703125,
0.2020263671875,
0.4306640625,
0.2020263671875,
0.4306640625,
0.20703125,
0.423095703125,
0.20703125
],
[
0.4453125,
0.1976318359375,
0.471435546875,
0.1976318359375,
0.471435546875,
0.2108154296875,
0.4453125,
0.2108154296875
],
[
0.08416748046875,
0.216552734375,
0.17236328125,
0.216552734375,
0.17236328125,
0.2310791015625,
0.08416748046875,
0.2310791015625
],
[
0.2254638671875,
0.216552734375,
0.26953125,
0.216552734375,
0.26953125,
0.2310791015625,
0.2254638671875,
0.2310791015625
],
[
0.326904296875,
0.216552734375,
0.36767578125,
0.216552734375,
0.36767578125,
0.2310791015625,
0.326904296875,
0.2310791015625
],
[
0.426513671875,
0.2171630859375,
0.435546875,
0.2247314453125,
0.42724609375,
0.2298583984375,
0.419189453125,
0.2235107421875
],
[
0.4453125,
0.2171630859375,
0.4697265625,
0.2171630859375,
0.4697265625,
0.2298583984375,
0.4453125,
0.2298583984375
],
[
0.398681640625,
0.2183837890625,
0.410888671875,
0.2183837890625,
0.410888671875,
0.2291259765625,
0.398681640625,
0.2291259765625
],
[
0.273681640625,
0.2183837890625,
0.289306640625,
0.2183837890625,
0.289306640625,
0.2291259765625,
0.273681640625,
0.2291259765625
],
[
0.378173828125,
0.2203369140625,
0.3857421875,
0.2203369140625,
0.3857421875,
0.2259521484375,
0.378173828125,
0.2259521484375
],
[
0.70166015625,
0.2247314453125,
0.744140625,
0.2247314453125,
0.744140625,
0.231689453125,
0.70166015625,
0.231689453125
],
[
0.7587890625,
0.2266845703125,
0.76953125,
0.2266845703125,
0.76953125,
0.2298583984375,
0.7587890625,
0.2298583984375
],
[
0.08416748046875,
0.23486328125,
0.2181396484375,
0.236083984375,
0.2181396484375,
0.250732421875,
0.08416748046875,
0.25
],
[
0.2254638671875,
0.236083984375,
0.265625,
0.236083984375,
0.265625,
0.250732421875,
0.2254638671875,
0.250732421875
],
[
0.298095703125,
0.236083984375,
0.366943359375,
0.236083984375,
0.366943359375,
0.250732421875,
0.298095703125,
0.250732421875
],
[
0.426513671875,
0.2342529296875,
0.43701171875,
0.2412109375,
0.426513671875,
0.251953125,
0.4150390625,
0.2442626953125
],
[
0.450927734375,
0.2374267578125,
0.463134765625,
0.2374267578125,
0.463134765625,
0.2474365234375,
0.450927734375,
0.2474365234375
],
[
0.393798828125,
0.24365234375,
0.406005859375,
0.2342529296875,
0.416748046875,
0.242431640625,
0.404296875,
0.251953125
],
[
0.50732421875,
0.248779296875,
0.60888671875,
0.248779296875,
0.60888671875,
0.2587890625,
0.50732421875,
0.2587890625
],
[
0.70361328125,
0.251953125,
0.73388671875,
0.251953125,
0.73388671875,
0.255126953125,
0.70361328125,
0.255126953125
],
[
0.74169921875,
0.248779296875,
0.78125,
0.248779296875,
0.78125,
0.255615234375,
0.74169921875,
0.255615234375
],
[
0.08416748046875,
0.255615234375,
0.1846923828125,
0.255615234375,
0.1846923828125,
0.270751953125,
0.08416748046875,
0.270751953125
],
[
0.2296142578125,
0.2568359375,
0.26708984375,
0.2568359375,
0.26708984375,
0.270751953125,
0.2296142578125,
0.270751953125
],
[
0.295654296875,
0.255126953125,
0.36767578125,
0.255126953125,
0.36767578125,
0.26953125,
0.295654296875,
0.26953125
],
[
0.419189453125,
0.25830078125,
0.43310546875,
0.25830078125,
0.43310546875,
0.267578125,
0.419189453125,
0.267578125
],
[
0.449462890625,
0.2568359375,
0.464111328125,
0.2568359375,
0.464111328125,
0.267578125,
0.449462890625,
0.267578125
],
[
0.50634765625,
0.26953125,
0.6337890625,
0.26953125,
0.6337890625,
0.27978515625,
0.50634765625,
0.27978515625
],
[
0.39453125,
0.260009765625,
0.408447265625,
0.25390625,
0.4150390625,
0.264404296875,
0.40283203125,
0.270751953125
],
[
0.08416748046875,
0.276611328125,
0.193603515625,
0.276611328125,
0.193603515625,
0.290283203125,
0.08416748046875,
0.290283203125
],
[
0.2296142578125,
0.276611328125,
0.26708984375,
0.276611328125,
0.26708984375,
0.290283203125,
0.2296142578125,
0.290283203125
],
[
0.295654296875,
0.27587890625,
0.36767578125,
0.27587890625,
0.36767578125,
0.290283203125,
0.295654296875,
0.290283203125
],
[
0.420654296875,
0.279052734375,
0.4345703125,
0.279052734375,
0.4345703125,
0.28857421875,
0.420654296875,
0.28857421875
],
[
0.435546875,
0.276611328125,
0.471435546875,
0.276611328125,
0.471435546875,
0.2890625,
0.435546875,
0.2890625
],
[
0.53125,
0.285888671875,
0.54833984375,
0.285888671875,
0.54833984375,
0.2890625,
0.53125,
0.2890625
],
[
0.3857421875,
0.294189453125,
0.471435546875,
0.294189453125,
0.471435546875,
0.309326171875,
0.3857421875,
0.309326171875
],
[
0.281005859375,
0.281005859375,
0.28759765625,
0.281005859375,
0.28759765625,
0.285888671875,
0.281005859375,
0.285888671875
],
[
0.0849609375,
0.296630859375,
0.1683349609375,
0.296630859375,
0.1683349609375,
0.30810546875,
0.0849609375,
0.30810546875
],
[
0.226318359375,
0.296630859375,
0.291748046875,
0.296630859375,
0.291748046875,
0.30810546875,
0.226318359375,
0.30810546875
],
[
0.289306640625,
0.2998046875,
0.298095703125,
0.2998046875,
0.298095703125,
0.304931640625,
0.289306640625,
0.304931640625
],
[
0.294189453125,
0.29541015625,
0.3896484375,
0.29541015625,
0.3896484375,
0.306884765625,
0.294189453125,
0.306884765625
],
[
0.08087158203125,
0.32763671875,
0.46728515625,
0.32763671875,
0.46728515625,
0.34228515625,
0.08087158203125,
0.34228515625
],
[
0.080078125,
0.343505859375,
0.46728515625,
0.343505859375,
0.46728515625,
0.356689453125,
0.080078125,
0.356689453125
],
[
0.08087158203125,
0.35986328125,
0.46728515625,
0.35986328125,
0.46728515625,
0.37060546875,
0.08087158203125,
0.37060546875
],
[
0.080078125,
0.373779296875,
0.468017578125,
0.373779296875,
0.468017578125,
0.386962890625,
0.080078125,
0.386962890625
],
[
0.07843017578125,
0.38818359375,
0.468017578125,
0.38818359375,
0.468017578125,
0.40283203125,
0.07843017578125,
0.40283203125
],
[
0.5087890625,
0.389404296875,
0.5810546875,
0.389404296875,
0.5810546875,
0.399658203125,
0.5087890625,
0.399658203125
],
[
0.701171875,
0.391357421875,
0.75634765625,
0.391357421875,
0.75634765625,
0.3984375,
0.701171875,
0.3984375
],
[
0.7587890625,
0.39453125,
0.765625,
0.39453125,
0.765625,
0.397705078125,
0.7587890625,
0.397705078125
],
[
0.78369140625,
0.392578125,
0.80224609375,
0.392578125,
0.80224609375,
0.399658203125,
0.78369140625,
0.399658203125
],
[
0.080078125,
0.404052734375,
0.468017578125,
0.404052734375,
0.468017578125,
0.417236328125,
0.080078125,
0.417236328125
],
[
0.50634765625,
0.4140625,
0.57421875,
0.4140625,
0.57421875,
0.4248046875,
0.50634765625,
0.4248046875
],
[
0.74853515625,
0.415283203125,
0.78173828125,
0.415283203125,
0.78173828125,
0.419189453125,
0.74853515625,
0.419189453125
],
[
0.080078125,
0.431884765625,
0.4697265625,
0.434326171875,
0.4697265625,
0.448974609375,
0.080078125,
0.4462890625
],
[
0.080078125,
0.41845703125,
0.4697265625,
0.41845703125,
0.4697265625,
0.431884765625,
0.080078125,
0.431884765625
],
[
0.080078125,
0.449462890625,
0.366943359375,
0.449462890625,
0.366943359375,
0.46337890625,
0.080078125,
0.46337890625
],
[
0.08416748046875,
0.494384765625,
0.46728515625,
0.494384765625,
0.46728515625,
0.50830078125,
0.08416748046875,
0.50830078125
],
[
0.08087158203125,
0.5087890625,
0.468017578125,
0.5087890625,
0.468017578125,
0.52294921875,
0.08087158203125,
0.52294921875
],
[
0.08087158203125,
0.5244140625,
0.468017578125,
0.5244140625,
0.468017578125,
0.53857421875,
0.08087158203125,
0.53857421875
],
[
0.50732421875,
0.53271484375,
0.5810546875,
0.5341796875,
0.5810546875,
0.54443359375,
0.50732421875,
0.54345703125
],
[
0.08087158203125,
0.5390625,
0.205078125,
0.5390625,
0.205078125,
0.55322265625,
0.08087158203125,
0.55322265625
],
[
0.69921875,
0.5341796875,
0.79833984375,
0.5341796875,
0.79833984375,
0.54443359375,
0.69921875,
0.54443359375
],
[
0.07843017578125,
0.5595703125,
0.4697265625,
0.5595703125,
0.4697265625,
0.57275390625,
0.07843017578125,
0.57275390625
],
[
0.50244140625,
0.5595703125,
0.89208984375,
0.5595703125,
0.89208984375,
0.57275390625,
0.50244140625,
0.57275390625
],
[
0.10540771484375,
0.57275390625,
0.38818359375,
0.57275390625,
0.38818359375,
0.5859375,
0.10540771484375,
0.5859375
],
[
0.50244140625,
0.57470703125,
0.8896484375,
0.57470703125,
0.8896484375,
0.58837890625,
0.50244140625,
0.58837890625
],
[
0.0767822265625,
0.5869140625,
0.4697265625,
0.58837890625,
0.4697265625,
0.60302734375,
0.0767822265625,
0.6015625
],
[
0.5009765625,
0.59033203125,
0.88818359375,
0.5888671875,
0.88818359375,
0.60302734375,
0.5009765625,
0.60400390625
],
[
0.07843017578125,
0.60400390625,
0.468017578125,
0.60400390625,
0.468017578125,
0.6171875,
0.07843017578125,
0.6171875
],
[
0.5009765625,
0.60400390625,
0.890625,
0.60400390625,
0.890625,
0.61865234375,
0.5009765625,
0.61865234375
],
[
0.1070556640625,
0.61865234375,
0.468017578125,
0.61865234375,
0.468017578125,
0.6318359375,
0.1070556640625,
0.6318359375
],
[
0.50244140625,
0.619140625,
0.890625,
0.619140625,
0.890625,
0.63330078125,
0.50244140625,
0.63330078125
],
[
0.10540771484375,
0.63525390625,
0.2181396484375,
0.63525390625,
0.2181396484375,
0.6484375,
0.10540771484375,
0.6484375
],
[
0.50244140625,
0.63525390625,
0.59326171875,
0.63330078125,
0.59326171875,
0.646484375,
0.50244140625,
0.6484375
],
[
0.07843017578125,
0.6484375,
0.46728515625,
0.6484375,
0.46728515625,
0.662109375,
0.07843017578125,
0.662109375
],
[
0.08087158203125,
0.66748046875,
0.46728515625,
0.66748046875,
0.46728515625,
0.681640625,
0.08087158203125,
0.681640625
],
[
0.08416748046875,
0.68310546875,
0.468017578125,
0.68310546875,
0.468017578125,
0.6962890625,
0.08416748046875,
0.6962890625
],
[
0.5009765625,
0.67822265625,
0.89208984375,
0.67822265625,
0.89208984375,
0.69140625,
0.5009765625,
0.69140625
],
[
0.08251953125,
0.69873046875,
0.46728515625,
0.69873046875,
0.46728515625,
0.7119140625,
0.08251953125,
0.7119140625
],
[
0.52783203125,
0.693359375,
0.890625,
0.693359375,
0.890625,
0.70703125,
0.52783203125,
0.70703125
],
[
0.08087158203125,
0.7138671875,
0.468017578125,
0.7138671875,
0.468017578125,
0.72802734375,
0.08087158203125,
0.72802734375
],
[
0.529296875,
0.70849609375,
0.7197265625,
0.70849609375,
0.7197265625,
0.7216796875,
0.529296875,
0.7216796875
],
[
0.5009765625,
0.72265625,
0.8935546875,
0.7216796875,
0.8935546875,
0.736328125,
0.5009765625,
0.7373046875
],
[
0.08087158203125,
0.72900390625,
0.42236328125,
0.72900390625,
0.42236328125,
0.7421875,
0.08087158203125,
0.7421875
],
[
0.52685546875,
0.7373046875,
0.7587890625,
0.73779296875,
0.7587890625,
0.751953125,
0.52685546875,
0.75048828125
],
[
0.1004638671875,
0.744140625,
0.46728515625,
0.74365234375,
0.46728515625,
0.75830078125,
0.1004638671875,
0.7587890625
],
[
0.08087158203125,
0.76025390625,
0.468017578125,
0.76025390625,
0.468017578125,
0.7734375,
0.08087158203125,
0.7734375
],
[
0.50244140625,
0.767578125,
0.650390625,
0.767578125,
0.650390625,
0.78076171875,
0.50244140625,
0.78076171875
],
[
0.08251953125,
0.77587890625,
0.46728515625,
0.77587890625,
0.46728515625,
0.7890625,
0.08251953125,
0.7890625
],
[
0.08087158203125,
0.79150390625,
0.468017578125,
0.79150390625,
0.468017578125,
0.8046875,
0.08087158203125,
0.8046875
],
[
0.52392578125,
0.79248046875,
0.890625,
0.79248046875,
0.890625,
0.806640625,
0.52392578125,
0.806640625
],
[
0.08087158203125,
0.80615234375,
0.468017578125,
0.80615234375,
0.468017578125,
0.8193359375,
0.08087158203125,
0.8193359375
],
[
0.50244140625,
0.80810546875,
0.82861328125,
0.80810546875,
0.82861328125,
0.8212890625,
0.50244140625,
0.8212890625
],
[
0.08087158203125,
0.8212890625,
0.343017578125,
0.8212890625,
0.343017578125,
0.83544921875,
0.08087158203125,
0.83544921875
],
[
0.5087890625,
0.82568359375,
0.6611328125,
0.82568359375,
0.6611328125,
0.8388671875,
0.5087890625,
0.8388671875
],
[
0.65283203125,
0.82568359375,
0.890625,
0.82568359375,
0.890625,
0.8388671875,
0.65283203125,
0.8388671875
],
[
0.1004638671875,
0.83837890625,
0.2900390625,
0.83837890625,
0.2900390625,
0.8515625,
0.1004638671875,
0.8515625
],
[
0.5048828125,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.0767822265625,
0.85595703125,
0.468017578125,
0.85498046875,
0.468017578125,
0.869140625,
0.0767822265625,
0.87060546875
],
[
0.5048828125,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.10455322265625,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.10455322265625,
0.88623046875
],
[
0.5048828125,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.5048828125,
0.88525390625
],
[
0.10540771484375,
0.88818359375,
0.1446533203125,
0.88818359375,
0.1446533203125,
0.8994140625,
0.10540771484375,
0.8994140625
],
[
0.50341796875,
0.88623046875,
0.8935546875,
0.88623046875,
0.8935546875,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.48046875,
0.9248046875,
0.49267578125,
0.9248046875,
0.49267578125,
0.93603515625,
0.48046875,
0.93603515625
]
] |
[
"sunou",
"eeo",
"Objectstodrinkfrom",
"aVehicle",
"with themotorrunning",
"",
"ea",
"sare",
"anbrun",
"",
"",
"",
"",
"#",
"#",
"Dataset",
"LVIS [18]",
"5K",
"X",
"1.2K",
"X",
"1",
"",
"AP",
"ODinW [27]",
"27.3k",
"0.3K",
"",
"AP",
"/",
"X",
"/",
"xWhiteh",
"snt",
"RefCOCO [35, 47]",
"4.3K",
"4.53.5K",
"+",
"p",
"+",
"Mug flledwithcoffee",
"BUE",
"nowmobile",
"Flickr30k [38]",
"1.0K",
"2.4 1.9K",
"X",
"R",
"@Adults sitting on the benches",
"十",
"PhraseCut [44]",
"2.9K",
"2.0 1.5K",
"X",
"IoU",
"",
"VVAP",
"1",
"OmniLabel",
"12.2KV",
"",
"5.64.6K",
"Table I: Comparing OmniLabel to existing bench-",
"marks: On 12.2K images, OmniLabel provides free-",
"form text descriptions of objects with an average de-",
"scription length of 5.6 words, covering 4.6K unique",
"nouns. Each description can refer to multiple objects,",
"Wooden bench",
"&Personon",
"S",
"board",
"or no object, i.e., a negative example, an important",
"TheHSBCsigr",
"withcit",
"validation sets. P: Precision, R: Recall, AP: Average",
"factor in our evaluation. (Numbers are computed on",
"Precision, IoU: Intersection over Union)",
"上收集了一组新颖的注释。我们用对象的新颖的自由",
"形式文本描述来增加现有的纯类别名称。我们的特定",
"注释过程(Sec.4)通过确保至少满足以下条件之一来",
"Bluetraffic sign",
"增加任务的难度:",
"BreadwithPB&on it",
"(a) Multiple instances of the same underlying object",
"Figure 2: Examples of the OmniLabel ground truth",
"category are present in the same image",
"annotations. Positive descriptions (above each image)",
"(b) One object description can refer to multiple objects",
"can refer to one or multiple instances. Negative de",
"(c) An image contains a negative object description,",
"scriptions (below each image) are semantically related",
"which refers to no object but is related to the im-",
"to the image but refer to no object. More examples in",
"age's semantics",
"Appendix D",
"(d) Descriptions do not use the original category name",
"Tab.1突出了OmniLabel与现有基准的主要区别:自",
"由形式文本描述的多样性和作为对象检测任务的评估,",
"(b) A data annotation process to collect diverse and",
"包括每个描述的多个实例以及负面对象描述。表中的",
"complex free-form text descriptions of objects, in-",
"数字反映了我们的公共验证集,它的大小与我们的私",
"cluding negative examples",
"(c) A comprehensive evaluation metric that handles",
"有测试集大致相同。Fig.2提供了数据集的示例",
"thevirtuallyinfinitelabel space",
"我们还在我们的基准上评估了最近的基于语言的检",
"测器,包括RegionCLIPE[53],DeticE[55],MDETRE",
"2.. Related Work",
"[20],GLIPE[29]和FIBERE12]。在Sec.6.2中总",
"结,我们的主要观察结果是,建议的基准对于所有方法",
"为了定位我们建议的OmniLabel基准,我们将其与",
"都是困难的,并且评估指标比以前的基准更为严格。负",
"现有任务相关联,并专注于相应的基准数据集",
"面对象描述对当前方法构成最大挑战",
"Object Detection:",
"对对象进行本地化和分类是一项",
"我们总结我们的贡献如下:",
"长期而重要的任务,涉及许多应用程序。大量的数据",
"(a) A novel benchmark to unify standard detection,",
"集推动了这项研究。除了针对特定用例的数据集,例",
"open-vocabulary detection and referring expres-",
"如面部E[45],行人E[3,11]或驾驶场景E[10,15,36,",
"sions",
"46],最受欢迎的是通用数据集:PascalVOCE[13],",
"2"
] |
{
"arxiv_id": "2304.11463",
"language": "zh",
"page_idx": 1
}
|
||
2304.11463-zh-2
|
2304.11463-zh-2.jpg
|
MSCOCO$\boxed{\mathrm{F}}[32]$ ,对象-365$\boxed{\mathrm{E}}[42]$ , OpenImages$\boxed{\mathrm{F}}[23]$ 或 LVIS$\underline{\mathrm{E}}[18]$ 。这些数据集还反映了大小的演变,包括图像数量,以及更相关的类别数量。按照与上述相同的顺序,标签空间大小为 20、80、365、600 和 1203。这些数据集在过去几年中在神经网络架构$\mathbb{E}[6,31,33$, 40, 41, 49, 58, 59] 以及鲁棒性和缩放$\mathbb{E} [ 52$, 55, 57] 方面取得了重大进展。尽管如此,对 OmniLabel 的限制是显而易见的:所有检测数据集都假设一个固定的标签空间,不提供开放词汇设置或自由形式的对象检测Referring Expressions: 引用表达式的动机是使用自然语言引用对象,而不是有限且固定的类别名称集。最受欢迎的基准是 RefCOCO/g/ 35,47|系列。虽然 RefCOCO/g$\boxed{\mathrm{E}}[35]$通常包含冗长而多余的描述,但RefCOCO/$\mathbb{E}[47]$通过涉及两人游戏的特定注释过程来限制引用短语。RefCOCO+ 扩展将注释器限制为使用空间引用 (e.g. ,“manonleft"),这可能被过度使用,因为所有 RefCOCO/g/+ 都假定每个短语恰好引用一个实例。相反,OmniLabel 明确要求注释者选择两个或多个实例来描述许多图像。PhraseCut [44]还收集引用多个实例的模板化表达式,并提供分段掩码。但是,OmniLabel 的每个对象描述仍然有更多的实例, 并使用自由形式的描述。此外,现有的引用表达式数据集都没有提供负面的例子
Visual Grounding: 虽然引用表达式的任务是本地化短语的主要主题,但视觉接地旨在本地化短语 i.e. 的每个对象,从而使图像中的文本接地。基准包括Flickr30k$\underline{\mathrm{E}}[38]$或 VisualGenomes$\underline{\mathrm{F}}[22]$ ,它们通常也用于视觉 &语言模型的一般以对象为中心的预训练,例如 GLIP$\mathbb{E} [ 29]$ , MDETR$\mathbb{E} [ 20]$ , SIMLA$\mathbb{E}[21]$ , ALBEF$\boxed{\mathrm{E}}[28]$。OmniLabel 解决了与引用表达式更相关的不同任务。接地的注释成本通常也较高,因为短语中提到的所有对象都需要一个相关的边界框,这通常会导致嘈杂的地面实况。相比之下,OmniLabel 的注释过程可以很容易地建立在具有高质量边界框的现有检测数据集上
Open-Vocabulary Object Detection: 除了使用自然语言作为对象描述之外,使用标准的监督方法缩放对象检测器的标签空间变得不可行。这引发了关于零拍设置[1,2,24,25]的工作,其中一组基本类别在训练时可用,但在测试时添加了新的(或看不见的)类别。虽然 Bansal$\boxed{\mathrm{F}}$et al. $\boxed{\mathrm{E}}[4]$介绍了有关零拍检测的第一项工作,但后来的工作将设置放宽为开放词汇表E [48] , 其中可以利用边界框以外的注释,其中可能包括新颖的类别,e.g. , 图像标题$\mathbb{E}[7,8,43]$。最近大V&L 模型[19,21,39]的成功激起了对开放词汇检测 [5,16,29, 17, 30, 50, 51] 的兴趣。然而,缺乏这种设置的基准。大多数现有工作通过将类别分为基本类别和新颖类别,对标准检测数据集 COCO$\boxed{\mathrm{F}}[32]$和LVIS$\underline{\mathrm{E}}[18]$进行评估。最近,[27] 引人了 ODinW 基准测试,它结合了 35 个标准检测数据集来设置开放词汇挑战。尽管如此,所有基准测试都使用一组相当有限的简单类别名称。相比之下,OmniLabel 提供了更高的复杂性,对象描述是自由形式的文本,因此,大量的唯
一单词 (和名词) 构成了自然开放的词汇设置,因为每
个描述都是有效的唯一。
3. Benchmark and Evaluation Metric
本节提供基准测试任务和相应评估度量的正式定义。
在 Fig. 3 中给出了两者的说明
## 3.1. Benchmark Task
Input: 给定常规 RGB 图像$I_i$以及标签空间$D_i$ ,模型$M$的任务是输出对象预测$P_i$根据标签空间THXMAX4。$D_i$中的下标表示每个图像$I_i$的内容和大小$\left|D_i\right|$都不同。标签空间$D_i=\left[d_i^k\right]_{k=1}^{\left|D_i\right|}$由$\left|D_i\right|$元素$d_i^k\in D_i$组成,每个元素称为“对象描述”。我们的对象描述包括纯类别名称(如在检测中)以及新收集的对象的自由形式文本描述的组合,请参见 Sec.4。自由形式的文本有效地使每个描述都独一无二。虽然我们可以将一个公共标签空间定义为所有描述的联合,但这会导致巨大的标签空间,并对紧密融合图像和文本的模型(如 MDETR$\boxed{\mathrm{E}}[20]$)提出了严峻的计算挑战。相反,我们改变标签空间,每个$D_i$ 都包含正面(指图像中的对象)和负面(与图像内容有关但没有相关对象) 描述。Fig. 2 中给出了自由形式对象描述的示例
Output: 模型$M_\text{ 必须为图像 }I_i$和标签空间$D_i$输出一组三元组$P_i=[p_i^l]_{l=1}^{|P_i|}$。每个三元组$p_i^l=(b_i^l,s_i^l,g_i^l)$ 由一个边界框$b$,一个置信度得分$s$和一个索引$g$组成,该索引将预测链接到$D_i$中的对象描述。边界框$b_i^l$ 由图像空间中的 4 个坐标组成,用于定义对象的范围, 如标准对象检测。模型预测的置信度由实值标量$s_i^l$表示。最后,索引$g_i^l$在$[1,|D_i|]$的范围内,并指示预测$p_i^l$本地化标签空间$D_i$的描述$g_i^l$的一个对象实例。请注意,多个预测$p_i^l$可以指向同一个对象描述$d_i^k$
Difference to object detection benchmarks: 主要区别是标签空间,它更复杂(具有自然的文本对象描述, 在训练期间通常看不见)以及动态(每个测试图像的标签空间大小都会改变)。标准对象检测器由于其固定标签空间假设而无法完成此任务
Difference to referring expression benchmarks: 虽然任务定义类似,但关键区别在于相应的数据。首先,我们的基准测试中的对象描述$D_i$从普通类别(如标准检测)到高度具体的描述。其次,每个描述可以引用图像中的零个、一个或多个实例。所有引用表达式数据集都假定存在文本描述的对象,因此不包含引用零实例的负面示例,这是标准检测评估的重要方面。此外,只有一个引用表达式数据集 ([44])引用每个图像的多个实例
## 3.2. Evaluation Metric
为了在我们的任务上评估模型$M$ ,我们提出了对象检测评估度量的修改版本,即平均精度(AP)[32]。这种修改是必要的,以说明我们新颖的对象描述,使标签空间的大小几乎是无限的,并且对于每个图像都是不同的。以下列表总结了更改:
3
|
[
[
0.08087158203125,
0.091552734375,
0.465576171875,
0.091552734375,
0.465576171875,
0.1060791015625,
0.08087158203125,
0.1060791015625
],
[
0.50341796875,
0.091552734375,
0.8896484375,
0.09344482421875,
0.8896484375,
0.106689453125,
0.50341796875,
0.10479736328125
],
[
0.08251953125,
0.10797119140625,
0.468017578125,
0.10797119140625,
0.468017578125,
0.121826171875,
0.08251953125,
0.121826171875
],
[
0.50244140625,
0.106689453125,
0.6748046875,
0.10797119140625,
0.6748046875,
0.12249755859375,
0.50244140625,
0.121826171875
],
[
0.08251953125,
0.125,
0.465576171875,
0.125,
0.465576171875,
0.1351318359375,
0.08251953125,
0.1351318359375
],
[
0.08087158203125,
0.136962890625,
0.46728515625,
0.136962890625,
0.46728515625,
0.15087890625,
0.08087158203125,
0.15087890625
],
[
0.50244140625,
0.1363525390625,
0.82275390625,
0.1363525390625,
0.82275390625,
0.149658203125,
0.50244140625,
0.149658203125
],
[
0.08087158203125,
0.15283203125,
0.46728515625,
0.15283203125,
0.46728515625,
0.1666259765625,
0.08087158203125,
0.1666259765625
],
[
0.52392578125,
0.1610107421875,
0.890625,
0.1610107421875,
0.890625,
0.1749267578125,
0.52392578125,
0.1749267578125
],
[
0.08251953125,
0.1685791015625,
0.46728515625,
0.1685791015625,
0.46728515625,
0.1817626953125,
0.08251953125,
0.1817626953125
],
[
0.50341796875,
0.1767578125,
0.72119140625,
0.1767578125,
0.72119140625,
0.1900634765625,
0.50341796875,
0.1900634765625
],
[
0.08251953125,
0.18310546875,
0.46728515625,
0.18310546875,
0.46728515625,
0.1962890625,
0.08251953125,
0.1962890625
],
[
0.08251953125,
0.1988525390625,
0.468017578125,
0.1988525390625,
0.468017578125,
0.212158203125,
0.08251953125,
0.212158203125
],
[
0.50341796875,
0.199462890625,
0.67236328125,
0.199462890625,
0.67236328125,
0.21337890625,
0.50341796875,
0.21337890625
],
[
0.08251953125,
0.21533203125,
0.455078125,
0.21533203125,
0.455078125,
0.2259521484375,
0.08251953125,
0.2259521484375
],
[
0.5107421875,
0.222900390625,
0.88818359375,
0.222900390625,
0.88818359375,
0.236083984375,
0.5107421875,
0.236083984375
],
[
0.0849609375,
0.231689453125,
0.46728515625,
0.231689453125,
0.46728515625,
0.24560546875,
0.0849609375,
0.24560546875
],
[
0.50341796875,
0.2374267578125,
0.8896484375,
0.2374267578125,
0.8896484375,
0.250732421875,
0.50341796875,
0.250732421875
],
[
0.08087158203125,
0.2474365234375,
0.468017578125,
0.2474365234375,
0.468017578125,
0.261474609375,
0.08087158203125,
0.261474609375
],
[
0.50244140625,
0.250732421875,
0.890625,
0.251953125,
0.890625,
0.266357421875,
0.50244140625,
0.26513671875
],
[
0.08251953125,
0.261962890625,
0.468017578125,
0.261962890625,
0.468017578125,
0.27587890625,
0.08251953125,
0.27587890625
],
[
0.5048828125,
0.26953125,
0.7861328125,
0.26953125,
0.7861328125,
0.2841796875,
0.5048828125,
0.2841796875
],
[
0.77685546875,
0.268310546875,
0.890625,
0.271484375,
0.890625,
0.285888671875,
0.77685546875,
0.28271484375
],
[
0.08087158203125,
0.276611328125,
0.468017578125,
0.276611328125,
0.468017578125,
0.290283203125,
0.08087158203125,
0.290283203125
],
[
0.50244140625,
0.285888671875,
0.88818359375,
0.285888671875,
0.88818359375,
0.2998046875,
0.50244140625,
0.2998046875
],
[
0.08087158203125,
0.292236328125,
0.468017578125,
0.292236328125,
0.468017578125,
0.30615234375,
0.08087158203125,
0.30615234375
],
[
0.08087158203125,
0.306884765625,
0.46728515625,
0.306884765625,
0.46728515625,
0.32080078125,
0.08087158203125,
0.32080078125
],
[
0.50244140625,
0.3017578125,
0.8896484375,
0.302978515625,
0.8896484375,
0.31640625,
0.50244140625,
0.31494140625
],
[
0.221435546875,
0.32080078125,
0.468017578125,
0.3212890625,
0.468017578125,
0.3359375,
0.221435546875,
0.335205078125
],
[
0.50341796875,
0.318115234375,
0.8896484375,
0.318115234375,
0.8896484375,
0.33203125,
0.50341796875,
0.33203125
],
[
0.5048828125,
0.333251953125,
0.88818359375,
0.333251953125,
0.88818359375,
0.3466796875,
0.5048828125,
0.3466796875
],
[
0.08251953125,
0.3212890625,
0.2181396484375,
0.322509765625,
0.2181396484375,
0.3359375,
0.08251953125,
0.335205078125
],
[
0.08251953125,
0.3359375,
0.46728515625,
0.3359375,
0.46728515625,
0.35107421875,
0.08251953125,
0.35107421875
],
[
0.08087158203125,
0.3515625,
0.468017578125,
0.3515625,
0.468017578125,
0.365478515625,
0.08087158203125,
0.365478515625
],
[
0.50341796875,
0.347900390625,
0.890625,
0.347900390625,
0.890625,
0.361083984375,
0.50341796875,
0.361083984375
],
[
0.08087158203125,
0.367431640625,
0.468017578125,
0.367431640625,
0.468017578125,
0.380615234375,
0.08087158203125,
0.380615234375
],
[
0.5048828125,
0.363037109375,
0.890625,
0.363037109375,
0.890625,
0.376953125,
0.5048828125,
0.376953125
],
[
0.08087158203125,
0.38330078125,
0.468017578125,
0.38330078125,
0.468017578125,
0.396484375,
0.08087158203125,
0.396484375
],
[
0.5048828125,
0.37744140625,
0.890625,
0.37744140625,
0.890625,
0.391357421875,
0.5048828125,
0.391357421875
],
[
0.080078125,
0.395751953125,
0.468017578125,
0.397705078125,
0.468017578125,
0.412353515625,
0.080078125,
0.410400390625
],
[
0.5048828125,
0.395751953125,
0.8896484375,
0.395751953125,
0.8896484375,
0.406005859375,
0.5048828125,
0.406005859375
],
[
0.50341796875,
0.4072265625,
0.890625,
0.40771484375,
0.890625,
0.42236328125,
0.50341796875,
0.421630859375
],
[
0.08251953125,
0.41357421875,
0.46728515625,
0.41357421875,
0.46728515625,
0.4267578125,
0.08251953125,
0.4267578125
],
[
0.08087158203125,
0.427978515625,
0.2607421875,
0.427978515625,
0.2607421875,
0.44140625,
0.08087158203125,
0.44140625
],
[
0.5048828125,
0.423583984375,
0.8447265625,
0.423583984375,
0.8447265625,
0.4375,
0.5048828125,
0.4375
],
[
0.0849609375,
0.4443359375,
0.468017578125,
0.44580078125,
0.468017578125,
0.460205078125,
0.0849609375,
0.458984375
],
[
0.50732421875,
0.44140625,
0.8896484375,
0.44140625,
0.8896484375,
0.455078125,
0.50732421875,
0.455078125
],
[
0.50341796875,
0.453857421875,
0.89208984375,
0.453857421875,
0.89208984375,
0.474853515625,
0.50341796875,
0.474853515625
],
[
0.08251953125,
0.4609375,
0.465576171875,
0.4609375,
0.465576171875,
0.474853515625,
0.08251953125,
0.474853515625
],
[
0.5048828125,
0.473388671875,
0.63232421875,
0.473388671875,
0.63232421875,
0.4873046875,
0.5048828125,
0.4873046875
],
[
0.64453125,
0.4716796875,
0.8896484375,
0.472900390625,
0.8896484375,
0.4873046875,
0.64453125,
0.486083984375
],
[
0.50341796875,
0.4873046875,
0.890625,
0.488037109375,
0.890625,
0.50244140625,
0.50341796875,
0.501953125
],
[
0.08087158203125,
0.4765625,
0.468017578125,
0.4765625,
0.468017578125,
0.490478515625,
0.08087158203125,
0.490478515625
],
[
0.08087158203125,
0.4912109375,
0.468017578125,
0.4912109375,
0.468017578125,
0.5048828125,
0.08087158203125,
0.5048828125
],
[
0.08251953125,
0.50830078125,
0.46728515625,
0.50830078125,
0.46728515625,
0.51806640625,
0.08251953125,
0.51806640625
],
[
0.5048828125,
0.50390625,
0.88818359375,
0.50390625,
0.88818359375,
0.517578125,
0.5048828125,
0.517578125
],
[
0.08087158203125,
0.52099609375,
0.46728515625,
0.52099609375,
0.46728515625,
0.53515625,
0.08087158203125,
0.53515625
],
[
0.50634765625,
0.52099609375,
0.8896484375,
0.52099609375,
0.8896484375,
0.53076171875,
0.50634765625,
0.53076171875
],
[
0.09722900390625,
0.5361328125,
0.46728515625,
0.5361328125,
0.46728515625,
0.5498046875,
0.09722900390625,
0.5498046875
],
[
0.5048828125,
0.5341796875,
0.8896484375,
0.5341796875,
0.8896484375,
0.54736328125,
0.5048828125,
0.54736328125
],
[
0.08087158203125,
0.55029296875,
0.46728515625,
0.55029296875,
0.46728515625,
0.564453125,
0.08087158203125,
0.564453125
],
[
0.50341796875,
0.5498046875,
0.8896484375,
0.5498046875,
0.8896484375,
0.56298828125,
0.50341796875,
0.56298828125
],
[
0.08251953125,
0.5673828125,
0.468017578125,
0.5673828125,
0.468017578125,
0.58056640625,
0.08251953125,
0.58056640625
],
[
0.50341796875,
0.564453125,
0.84326171875,
0.564453125,
0.84326171875,
0.57763671875,
0.50341796875,
0.57763671875
],
[
0.08087158203125,
0.58203125,
0.46728515625,
0.58056640625,
0.46728515625,
0.5947265625,
0.08087158203125,
0.59521484375
],
[
0.5087890625,
0.58056640625,
0.890625,
0.58056640625,
0.890625,
0.5947265625,
0.5087890625,
0.5947265625
],
[
0.08087158203125,
0.59765625,
0.468017578125,
0.59765625,
0.468017578125,
0.611328125,
0.08087158203125,
0.611328125
],
[
0.5048828125,
0.5966796875,
0.88818359375,
0.5966796875,
0.88818359375,
0.60986328125,
0.5048828125,
0.60986328125
],
[
0.08251953125,
0.6142578125,
0.1953125,
0.6142578125,
0.1953125,
0.625,
0.08251953125,
0.625
],
[
0.5048828125,
0.6123046875,
0.890625,
0.6123046875,
0.890625,
0.62548828125,
0.5048828125,
0.62548828125
],
[
0.0849609375,
0.62890625,
0.468017578125,
0.6298828125,
0.468017578125,
0.64453125,
0.0849609375,
0.64306640625
],
[
0.5048828125,
0.626953125,
0.89208984375,
0.626953125,
0.89208984375,
0.64013671875,
0.5048828125,
0.64013671875
],
[
0.08251953125,
0.64453125,
0.465576171875,
0.64453125,
0.465576171875,
0.65771484375,
0.08251953125,
0.65771484375
],
[
0.5048828125,
0.642578125,
0.7138671875,
0.642578125,
0.7138671875,
0.65576171875,
0.5048828125,
0.65576171875
],
[
0.08416748046875,
0.662109375,
0.46728515625,
0.662109375,
0.46728515625,
0.67236328125,
0.08416748046875,
0.67236328125
],
[
0.50732421875,
0.6591796875,
0.890625,
0.6591796875,
0.890625,
0.67236328125,
0.50732421875,
0.67236328125
],
[
0.08251953125,
0.67529296875,
0.468017578125,
0.67529296875,
0.468017578125,
0.689453125,
0.08251953125,
0.689453125
],
[
0.5048828125,
0.6748046875,
0.890625,
0.6748046875,
0.890625,
0.68798828125,
0.5048828125,
0.68798828125
],
[
0.08251953125,
0.6923828125,
0.46728515625,
0.6923828125,
0.46728515625,
0.70263671875,
0.08251953125,
0.70263671875
],
[
0.5048828125,
0.689453125,
0.890625,
0.689453125,
0.890625,
0.70263671875,
0.5048828125,
0.70263671875
],
[
0.08251953125,
0.705078125,
0.468017578125,
0.705078125,
0.468017578125,
0.7197265625,
0.08251953125,
0.7197265625
],
[
0.5048828125,
0.705078125,
0.890625,
0.705078125,
0.890625,
0.71826171875,
0.5048828125,
0.71826171875
],
[
0.08087158203125,
0.7197265625,
0.46728515625,
0.7197265625,
0.46728515625,
0.73291015625,
0.08087158203125,
0.73291015625
],
[
0.5048828125,
0.7197265625,
0.890625,
0.7197265625,
0.890625,
0.73291015625,
0.5048828125,
0.73291015625
],
[
0.08087158203125,
0.736328125,
0.468017578125,
0.736328125,
0.468017578125,
0.75,
0.08087158203125,
0.75
],
[
0.5048828125,
0.73486328125,
0.8896484375,
0.73486328125,
0.8896484375,
0.74853515625,
0.5048828125,
0.74853515625
],
[
0.08251953125,
0.751953125,
0.468017578125,
0.751953125,
0.468017578125,
0.7666015625,
0.08251953125,
0.7666015625
],
[
0.50634765625,
0.751953125,
0.88623046875,
0.751953125,
0.88623046875,
0.76220703125,
0.50634765625,
0.76220703125
],
[
0.08087158203125,
0.76513671875,
0.46728515625,
0.7666015625,
0.46728515625,
0.77978515625,
0.08087158203125,
0.77880859375
],
[
0.51123046875,
0.7646484375,
0.8896484375,
0.7646484375,
0.8896484375,
0.77783203125,
0.51123046875,
0.77783203125
],
[
0.08251953125,
0.78271484375,
0.46728515625,
0.78271484375,
0.46728515625,
0.79345703125,
0.08251953125,
0.79345703125
],
[
0.50341796875,
0.77978515625,
0.52294921875,
0.77978515625,
0.52294921875,
0.79345703125,
0.50341796875,
0.79345703125
],
[
0.08087158203125,
0.79541015625,
0.46728515625,
0.796875,
0.46728515625,
0.81005859375,
0.08087158203125,
0.8095703125
],
[
0.50341796875,
0.8037109375,
0.68115234375,
0.8037109375,
0.68115234375,
0.8173828125,
0.50341796875,
0.8173828125
],
[
0.08087158203125,
0.81103515625,
0.46728515625,
0.81103515625,
0.46728515625,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.080078125,
0.82470703125,
0.46728515625,
0.82568359375,
0.46728515625,
0.84033203125,
0.080078125,
0.8388671875
],
[
0.52392578125,
0.8271484375,
0.8896484375,
0.8271484375,
0.8896484375,
0.84033203125,
0.52392578125,
0.84033203125
],
[
0.08416748046875,
0.84326171875,
0.465576171875,
0.84326171875,
0.465576171875,
0.85400390625,
0.08416748046875,
0.85400390625
],
[
0.5048828125,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.080078125,
0.85595703125,
0.46728515625,
0.85693359375,
0.46728515625,
0.87060546875,
0.080078125,
0.869140625
],
[
0.5048828125,
0.85693359375,
0.8896484375,
0.85693359375,
0.8896484375,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08251953125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.08251953125,
0.88623046875
],
[
0.50341796875,
0.87060546875,
0.8896484375,
0.8720703125,
0.8896484375,
0.88623046875,
0.50341796875,
0.88525390625
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.7060546875,
0.88720703125,
0.7060546875,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.47802734375,
0.923828125,
0.494384765625,
0.923828125,
0.494384765625,
0.93798828125,
0.47802734375,
0.93798828125
]
] |
[
"MSCOCoE[32],对象-365E[42],OpenImagesE[23",
"一单词(和名词)构成了自然开放的词汇设置,因为每",
"或LVISE[18]。这些数据集还反映了大小的演变,包",
"个描述都是有效的唯一。",
"括图像数量,以及更相关的类别数量。按照与上述相同",
"的顺序,标签空间大小为20、80、365、600和1203。",
"3. Benchmark and Evaluation Metric",
"这些数据集在过去几年中在神经网络架构E[6,31,33,",
"本节提供基准测试任务和相应评估度量的正式定义。",
"40,41,49,58,59]以及鲁棒性和缩放E[52,55,57]方",
"在Fig.3中给出了两者的说明",
"面取得了重大进展。。尽管如此,对OmniLabel的限制",
"是显而易见的:所有检测数据集都假设一个固定的标",
"3.1. Benchmark Task",
"签空间,不提供开放词汇设置或自由形式的对象检测",
"Input:给定常规RGB图像I;以及标签空间D",
"ReferringExpressions:引用表达式的动机是使用自",
",模型M的任务是输出对象预测Pi根据标签空间",
"然语言引用对象,而不是有限且固定的类别名称集。",
"THXMAX4。D,中的下标表示每个图像I的内容和大",
"最受欢迎的基准是RefCOCO/g/[35,47]系列。虽",
"小|D]都不同。标签空间D;=「dD",
"D由Dil元素",
"然RefCOCO/gE[35]通常包含穴长而多余的描述,但",
"dkED,组成,每个元素称为“对象描述”。我们的对象",
"RefCOCO/E[47]通过涉及两人游戏的特定注释过程",
"来限制引用短语。RefCOCO+扩展将注释器限制为使",
"描述包括纯类别名称(如在检测中)以及新收集的对象",
"“manonleft”),这可能被过度使",
"的自由形式文本描述的组合,请参见Sec.4。自由形",
"式的文本有效地使每个描述都独一无二。虽然我们可",
"用空间引用(e.g:",
"用,因为所有RefCOCO/g/+都假定每个短语恰好引",
"用一个实例。相反,OmniLabel明确要求注释者选择",
"以将一个公共标签空间定义为所有描述的联合,但这",
"两个或多个实例来描述许多图像。PhraseCut[44]还",
"会导致巨大的标签空间,并对紧密融合图像和文本的",
"收集引用多个实例的模板化表达式,并提供分段掩码。",
"模型(如MDETRE[20])提出了严峻的计算挑战。相",
"但是,OmniLabel的每个对象描述仍然有更多的实例,",
"反,我们改变标签空间:每个D;都包含正面(指图像",
"中的对象)和负面(与图像内容有关但没有相关对象)",
"并使用自由形式的描述。此外,现有的引用表达式数据",
"集都没有提供负面的例子",
"描述。Fig.2中给出了自由形式对象描述的示例",
"VisualGrounding:虽然引用表达式的任务是本地",
"Output:模型M必须为图像I和标签空间D;输出",
"一组三元组P,=[]-]。每个三元组p,=(b,s%,9)",
"化短语的主要主题,但视觉接地旨在本地化短语i.e.",
"由一个边界框b,",
"个置信度得分s和一个索引g组",
"成,该索引将预测链接到D;中的对象描述。边界框b",
"的每个对象,从而使图像中的文本接地。基准包括",
"Flickr30kE[38]或VisualGenomesE[22],它们通常",
"也用于视觉&语言模型的一般以对象为中心的预训",
"由图像空间中的4个坐标组成,用于定义对象的范围",
"练,例如GLIPE[29],MDETRE[20],SIMLAE[21]",
"如标准对象检测。模型预测的置信度由实值标量s,表",
"ALBEFE[28]。OmniLabel解决了与引用表达式更",
"示。最后,索引9,在[1,D;ll的范围内,并指示预测",
"相关的不同任务。接地的注释成本通常也较高,因为短",
"p,本地化标签空间D,的描述9的一个对象实例。请",
"语中提到的所有对象都需要一个相关的边界框,这通",
"注意,多个预测p,可以指向同一个对象描述d",
"常会导致噜杂的地面实况。相比之下,OmniLabel的",
"Differencetoobject detection benchmarks:主要区",
"注释过程可以很容易地建立在具有高质量边界框的现",
"别是标签空间,它更复杂(具有自然的文本对象描述",
"有检测数据集上",
"在训练期间通常看不见)以及动态(每个测试图像的标",
"Open-VocabularyObjectDetection:除了使用自然",
"签空间大小都会改变)。标准对象检测器由于其固定标",
"语言作为对象描述之外,使用标准的监督方法缩放对",
"签空间假设而无法完成此任务",
"象检测器的标签空间变得不可行。这引发了关于零拍",
"Differencetoreferring expressionbenchmarks:虽然",
"设置[1,2,24,25]的工作,其中一组基本类别在训",
"任务定义类似,但关键区别在于相应的数据。首先,我",
"练时可用,但在测试时添加了新的(或看不见的)类",
"们的基准测试中的对象描述D从普通类别(如标准检",
"别。虽然BansalEetal.E[4] 介绍了有关零拍检测的",
"测)到高度具体的描述。其次,每个描述可以引用图像",
"第一项工作,但后来的工作将设置放宽为开放词汇表F",
"中的零个、一个或多个实例。所有引用表达式数据集都",
"[48],其中可以利用边界框以外的注释,其中可能包",
"假定存在文本描述的对象,因此不包含引用零实例的",
"括新颖的类别,e.g,,图像标题E[7,8,43]。最近大",
"负面示例,这是标准检测评估的重要方面。此外:只有",
"V&L模型[19,21,39]的成功激起了对开放词汇检",
"一个引用表达式数据集([441)引用每个图像的多个实",
"测5.16,29,17.30,50.511的兴趣。然而,缺乏这",
"例",
"种设置的基准。大多数现有工作通过将类别分为基本",
"3.2. Evaluation Metric",
"类别和新颖类别,对标准检测数据集COCOE[32]和",
"LVISE[18]进行评估。最近,[27]引人了ODinW基准",
"为了在我们的任务上评估模型M,我们提出了对象",
"测试,它结合了35个标准检测数据集来设置开放词汇",
"检测评估度量的修改版本,即平均精度(AP)[32]。这",
"挑战。尽管如此,所有基准测试都使用一组相当有限的",
"种修改是必要的,以说明我们新颖的对象描述,使标签",
"简单类别名称。相比之下,OmniLabel提供了更高的",
"空间的大小几乎是无限的,并且对于每个图像都是不",
"复杂性,对象描述是自由形式的文本,因此,大量的唯",
"同的。以下列表总结了更改:",
"3"
] |
{
"arxiv_id": "2304.11463",
"language": "zh",
"page_idx": 2
}
|
||
2304.11463-zh-3
|
2304.11463-zh-3.jpg
|
<FigureHere>
Figure 3: Illustration of the proposed task and evaluation. Given an image $I$ and a set of object descriptions $\begin{bmatrix}d^{\bar{1}},d^{2},\ldots,d^{5}\end{bmatrix}$, the model outputs a set of predictions. Each prediction $p^l$ is a triplet, consisting of a bounding box $b^{l}$ (blue boxes), a confidence score $s^l$ (not shown) and an index $g^l$ , which links the prediction to one of the object descriptions $d^*$ (the figure groups predicted boxes by $g^l$ ). For evaluation, predictions and ground truth (green boxes) are matched based on location (intersection-over-union) as well as the indices $g^l.$ In contrast to standard detection, note that one object can be matched with multiple (but different!) descriptions. For example, the woman holding'the green umbrella is matched with both $d^1$ and $d^5.$ While there is no category-wise grouping as in standard detection, average precision (AP) metrics are computed for other groups, like“plain categories”, “free-form object descriptions", and others. The final metric is the harmonic mean between AP values for “plain categories" and“free-form object descriptions”.
gory names (like“car”or“person"from standard detection) as well as complex free-form text (like“blue sports car parked near left sidewalk"). We want our metric to give equal importance to both types. Due to the different number of ground truth instances, we first compute AP for both types separately and then take the harmonic mean. Different from the arithmetic mean, the harmonic mean requires good results on both types to achieve a high number on the final metric.
我们在 Python 中实现了此评估协议,并在 https://
github.com/samschulter/omnilabeltools 上发布了它
## 4. Dataset Collection
$\bullet$ While AP is computed for each category separately
(and then averaged) in standard detection, this initial grouping is omitted in OmniLabel. Due to the high specificity of the object descriptions, many of these“groups”would then consist of only a single object instance in the whole dataset. This can make the metric less robust. However, to ensure that our metric considers the predicted semantic categories, we adjust the matching between prediction and ground truth. While in standard detection the matching is based purely on the bounding boxes via intersection-over-union (since categories are already grouped), we include the index $g_i^l$ that links a prediction with the object descriptions in $D_i$ , see above in Sec. 3.1 . Specifically, a prediction is matched to a ground truth only if the prediction and the ground truth point to the same object description (semantics) and the predicted and ground truth bounding boxes overlap sufficiently (localization).
$\bullet$ Standard detection ground truth exclusively assigns
each object instance one semantic category. In contrast, our task requires multi-label predictions. For instance,“person”and“woman in red shirt" can refer to the same object. This needs to be considered in the matching process of the evaluation. In contrast to standard detection, one ground truth box can be correctly matched with multiple predictions if the match happens via different object descriptions (recall index $g_i^l$ above).
$\bullet$ Our object descriptions $D_i$ contain both plain cate-
要建立我们新颖的评估基准,我们需要用边界框和相应的自由形式文本描述来注释对象的图像。为此,我们定义了一个多步骤注释和验证过程。Fig.4 和以下段落描述了该过程。Existing datasets:
我们从 COCO$\underline{\mathrm{E}}[32]$, Objects-
365$\mathbb{E}[42]$和 OpenImages-V5$\mathbb{E}[23]$的验证/测试集开始,这不仅节省了获取边界框的注释成本,而且有助于收集各种对象描述。通过在采样图像时利用(超)类别信息,我们强制注释器也为稀有类别提供描述。否则, 注释者将快速选择简单和常见的类别来描述。尽管重用数据集可能会排除一些未注释的类别,但我们收集的对象描述通常包括其他类别。例如,虽然“瓶盖”不是原始类别的一部分,但像“带红盖的瓶子”这样的描述需要理解“瓶盖”
4
|
[
[
0.0882568359375,
0.09027099609375,
0.1168212890625,
0.09027099609375,
0.1168212890625,
0.1029052734375,
0.0882568359375,
0.1029052734375
],
[
0.27685546875,
0.09027099609375,
0.31201171875,
0.09027099609375,
0.31201171875,
0.10162353515625,
0.27685546875,
0.10162353515625
],
[
0.378173828125,
0.091552734375,
0.491943359375,
0.091552734375,
0.491943359375,
0.10162353515625,
0.378173828125,
0.10162353515625
],
[
0.75634765625,
0.091552734375,
0.8095703125,
0.091552734375,
0.8095703125,
0.10162353515625,
0.75634765625,
0.10162353515625
],
[
0.81640625,
0.11614990234375,
0.86376953125,
0.117431640625,
0.86376953125,
0.125,
0.81640625,
0.12371826171875
],
[
0.416748046875,
0.179931640625,
0.488525390625,
0.179931640625,
0.488525390625,
0.1875,
0.416748046875,
0.1875
],
[
0.414306640625,
0.1900634765625,
0.4794921875,
0.1900634765625,
0.4794921875,
0.2008056640625,
0.414306640625,
0.2008056640625
],
[
0.0931396484375,
0.1988525390625,
0.10455322265625,
0.1988525390625,
0.10455322265625,
0.208984375,
0.0931396484375,
0.208984375
],
[
0.134033203125,
0.20263671875,
0.16259765625,
0.20263671875,
0.16259765625,
0.20703125,
0.134033203125,
0.20703125
],
[
0.0931396484375,
0.2183837890625,
0.10540771484375,
0.2183837890625,
0.10540771484375,
0.2291259765625,
0.0931396484375,
0.2291259765625
],
[
0.221435546875,
0.222900390625,
0.273681640625,
0.222900390625,
0.273681640625,
0.2266845703125,
0.221435546875,
0.2266845703125
],
[
0.366943359375,
0.2203369140625,
0.43310546875,
0.2203369140625,
0.43310546875,
0.2279052734375,
0.366943359375,
0.2279052734375
],
[
0.0906982421875,
0.2374267578125,
0.111083984375,
0.2374267578125,
0.111083984375,
0.250732421875,
0.0906982421875,
0.250732421875
],
[
0.131591796875,
0.2412109375,
0.1519775390625,
0.2412109375,
0.1519775390625,
0.24560546875,
0.131591796875,
0.24560546875
],
[
0.1748046875,
0.2412109375,
0.1968994140625,
0.2412109375,
0.1968994140625,
0.24560546875,
0.1748046875,
0.24560546875
],
[
0.08087158203125,
0.267578125,
0.890625,
0.267578125,
0.890625,
0.281005859375,
0.08087158203125,
0.281005859375
],
[
0.08416748046875,
0.281005859375,
0.890625,
0.2822265625,
0.890625,
0.296630859375,
0.08416748046875,
0.29541015625
],
[
0.08087158203125,
0.29736328125,
0.890625,
0.29736328125,
0.890625,
0.3125,
0.08087158203125,
0.3125
],
[
0.08087158203125,
0.313232421875,
0.89208984375,
0.313232421875,
0.89208984375,
0.32763671875,
0.08087158203125,
0.32763671875
],
[
0.08087158203125,
0.32763671875,
0.890625,
0.32763671875,
0.890625,
0.341552734375,
0.08087158203125,
0.341552734375
],
[
0.080078125,
0.343505859375,
0.89208984375,
0.343505859375,
0.89208984375,
0.356689453125,
0.080078125,
0.356689453125
],
[
0.07843017578125,
0.356689453125,
0.89208984375,
0.35791015625,
0.89208984375,
0.37255859375,
0.07843017578125,
0.371826171875
],
[
0.080078125,
0.373779296875,
0.890625,
0.373779296875,
0.890625,
0.386962890625,
0.080078125,
0.386962890625
],
[
0.07843017578125,
0.386962890625,
0.8935546875,
0.38818359375,
0.8935546875,
0.40283203125,
0.07843017578125,
0.401611328125
],
[
0.080078125,
0.404052734375,
0.418212890625,
0.404052734375,
0.418212890625,
0.417236328125,
0.080078125,
0.417236328125
],
[
0.08087158203125,
0.44580078125,
0.468017578125,
0.44580078125,
0.468017578125,
0.460205078125,
0.08087158203125,
0.460205078125
],
[
0.5185546875,
0.44580078125,
0.890625,
0.4443359375,
0.890625,
0.458984375,
0.5185546875,
0.460205078125
],
[
0.09722900390625,
0.4609375,
0.46728515625,
0.4609375,
0.46728515625,
0.474853515625,
0.09722900390625,
0.474853515625
],
[
0.51953125,
0.4609375,
0.89208984375,
0.4609375,
0.89208984375,
0.474853515625,
0.51953125,
0.474853515625
],
[
0.096435546875,
0.47607421875,
0.4697265625,
0.474853515625,
0.4697265625,
0.4892578125,
0.096435546875,
0.490478515625
],
[
0.51708984375,
0.47607421875,
0.89208984375,
0.474853515625,
0.89208984375,
0.4892578125,
0.51708984375,
0.490478515625
],
[
0.096435546875,
0.4912109375,
0.4697265625,
0.4912109375,
0.4697265625,
0.5048828125,
0.096435546875,
0.5048828125
],
[
0.5185546875,
0.4912109375,
0.89208984375,
0.4912109375,
0.89208984375,
0.5048828125,
0.5185546875,
0.5048828125
],
[
0.096435546875,
0.5068359375,
0.46728515625,
0.5068359375,
0.46728515625,
0.52099609375,
0.096435546875,
0.52099609375
],
[
0.5185546875,
0.505859375,
0.890625,
0.505859375,
0.890625,
0.51953125,
0.5185546875,
0.51953125
],
[
0.096435546875,
0.521484375,
0.4697265625,
0.521484375,
0.4697265625,
0.53515625,
0.096435546875,
0.53515625
],
[
0.51708984375,
0.52099609375,
0.89208984375,
0.521484375,
0.89208984375,
0.5361328125,
0.51708984375,
0.53515625
],
[
0.098876953125,
0.53857421875,
0.46728515625,
0.53857421875,
0.46728515625,
0.548828125,
0.098876953125,
0.548828125
],
[
0.521484375,
0.53857421875,
0.890625,
0.53857421875,
0.890625,
0.548828125,
0.521484375,
0.548828125
],
[
0.09722900390625,
0.55322265625,
0.465576171875,
0.55322265625,
0.465576171875,
0.56298828125,
0.09722900390625,
0.56298828125
],
[
0.51953125,
0.5517578125,
0.89208984375,
0.5517578125,
0.89208984375,
0.56494140625,
0.51953125,
0.56494140625
],
[
0.09722900390625,
0.568359375,
0.46728515625,
0.568359375,
0.46728515625,
0.5791015625,
0.09722900390625,
0.5791015625
],
[
0.51953125,
0.56640625,
0.89208984375,
0.56640625,
0.89208984375,
0.580078125,
0.51953125,
0.580078125
],
[
0.096435546875,
0.58056640625,
0.4697265625,
0.58056640625,
0.4697265625,
0.5947265625,
0.096435546875,
0.5947265625
],
[
0.51953125,
0.58349609375,
0.63232421875,
0.58349609375,
0.63232421875,
0.59326171875,
0.51953125,
0.59326171875
],
[
0.096435546875,
0.5966796875,
0.468017578125,
0.5966796875,
0.468017578125,
0.60986328125,
0.096435546875,
0.60986328125
],
[
0.50341796875,
0.599609375,
0.8896484375,
0.60107421875,
0.8896484375,
0.61572265625,
0.50341796875,
0.6142578125
],
[
0.09478759765625,
0.611328125,
0.468017578125,
0.6123046875,
0.468017578125,
0.62548828125,
0.09478759765625,
0.625
],
[
0.50341796875,
0.6162109375,
0.87353515625,
0.6162109375,
0.87353515625,
0.6298828125,
0.50341796875,
0.6298828125
],
[
0.09478759765625,
0.626953125,
0.46728515625,
0.62548828125,
0.46728515625,
0.64013671875,
0.09478759765625,
0.6416015625
],
[
0.096435546875,
0.642578125,
0.468017578125,
0.642578125,
0.468017578125,
0.65576171875,
0.096435546875,
0.65576171875
],
[
0.09478759765625,
0.65576171875,
0.468017578125,
0.6572265625,
0.468017578125,
0.671875,
0.09478759765625,
0.67041015625
],
[
0.50341796875,
0.65087890625,
0.689453125,
0.65087890625,
0.689453125,
0.6640625,
0.50341796875,
0.6640625
],
[
0.09478759765625,
0.67236328125,
0.4697265625,
0.67236328125,
0.4697265625,
0.68603515625,
0.09478759765625,
0.68603515625
],
[
0.52294921875,
0.67529296875,
0.890625,
0.6767578125,
0.890625,
0.69140625,
0.52294921875,
0.68994140625
],
[
0.09722900390625,
0.689453125,
0.46728515625,
0.689453125,
0.46728515625,
0.69970703125,
0.09722900390625,
0.69970703125
],
[
0.5048828125,
0.6923828125,
0.89208984375,
0.6923828125,
0.89208984375,
0.70703125,
0.5048828125,
0.70703125
],
[
0.096435546875,
0.7021484375,
0.4697265625,
0.70263671875,
0.4697265625,
0.71728515625,
0.096435546875,
0.71630859375
],
[
0.5048828125,
0.70849609375,
0.89208984375,
0.70849609375,
0.89208984375,
0.7216796875,
0.5048828125,
0.7216796875
],
[
0.09478759765625,
0.71630859375,
0.37744140625,
0.71630859375,
0.37744140625,
0.72998046875,
0.09478759765625,
0.72998046875
],
[
0.50341796875,
0.7236328125,
0.62744140625,
0.7236328125,
0.62744140625,
0.7373046875,
0.50341796875,
0.7373046875
],
[
0.08087158203125,
0.73291015625,
0.468017578125,
0.73291015625,
0.468017578125,
0.7470703125,
0.08087158203125,
0.7470703125
],
[
0.096435546875,
0.74755859375,
0.468017578125,
0.74755859375,
0.468017578125,
0.76123046875,
0.096435546875,
0.76123046875
],
[
0.5087890625,
0.75048828125,
0.6611328125,
0.75048828125,
0.6611328125,
0.7646484375,
0.5087890625,
0.7646484375
],
[
0.65625,
0.75048828125,
0.890625,
0.75048828125,
0.890625,
0.76513671875,
0.65625,
0.76513671875
],
[
0.096435546875,
0.76318359375,
0.4697265625,
0.76318359375,
0.4697265625,
0.7763671875,
0.096435546875,
0.7763671875
],
[
0.50341796875,
0.7666015625,
0.890625,
0.7666015625,
0.890625,
0.77978515625,
0.50341796875,
0.77978515625
],
[
0.096435546875,
0.77783203125,
0.46728515625,
0.77783203125,
0.46728515625,
0.79150390625,
0.096435546875,
0.79150390625
],
[
0.5048828125,
0.78076171875,
0.8896484375,
0.78076171875,
0.8896484375,
0.79443359375,
0.5048828125,
0.79443359375
],
[
0.09478759765625,
0.79248046875,
0.4697265625,
0.79150390625,
0.4697265625,
0.80615234375,
0.09478759765625,
0.806640625
],
[
0.5048828125,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.096435546875,
0.80810546875,
0.468017578125,
0.80810546875,
0.468017578125,
0.8212890625,
0.096435546875,
0.8212890625
],
[
0.5048828125,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.5048828125,
0.82470703125
],
[
0.096435546875,
0.82373046875,
0.468017578125,
0.82373046875,
0.468017578125,
0.8369140625,
0.096435546875,
0.8369140625
],
[
0.5048828125,
0.82568359375,
0.890625,
0.82568359375,
0.890625,
0.8388671875,
0.5048828125,
0.8388671875
],
[
0.096435546875,
0.83837890625,
0.4697265625,
0.83837890625,
0.4697265625,
0.8515625,
0.096435546875,
0.8515625
],
[
0.50341796875,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.50341796875,
0.85498046875
],
[
0.096435546875,
0.85400390625,
0.471435546875,
0.85400390625,
0.471435546875,
0.8671875,
0.096435546875,
0.8671875
],
[
0.50341796875,
0.85595703125,
0.890625,
0.85595703125,
0.890625,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.096435546875,
0.8671875,
0.261474609375,
0.86865234375,
0.261474609375,
0.88330078125,
0.096435546875,
0.8818359375
],
[
0.5048828125,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.5048828125,
0.88525390625
],
[
0.08087158203125,
0.8837890625,
0.46728515625,
0.8837890625,
0.46728515625,
0.89794921875,
0.08087158203125,
0.89794921875
],
[
0.50341796875,
0.88720703125,
0.64208984375,
0.88720703125,
0.64208984375,
0.90087890625,
0.50341796875,
0.90087890625
],
[
0.48193359375,
0.9267578125,
0.491943359375,
0.9267578125,
0.491943359375,
0.9345703125,
0.48193359375,
0.9345703125
]
] |
[
"Input",
"Model",
"Output&groundtruth",
"Evaluation",
"Small boxe",
"Groundtruth",
"Prediction",
"di",
"Perso",
"d3",
"onapant",
"enumbrella",
"d",
"Par",
"h01:e",
"Figure 3: Illustration of the proposed task and evaluation. Given an image I and a set of object descriptions",
"[dl, d?..... d5, the model outputs a set of predictions. Each prediction p' is a triplet, consisting of a bounding",
"box bl (blue boxes), a confidence score st (not shown) and an index g' , which links the prediction to one of the",
"object descriptions d* (the figure groups predicted boxes by g ).For evaluation, predictions and ground truth",
"(green boxes) are matched based on location (intersection-over-union) as well as the indices g.. In contrast to",
"standard detection, note that one object can be matched with multiple (but different!) descriptions. For example,",
"the woman holding the green umbrella is matched with both dl and d5 . While there is no category-wise grouping",
"as in standard detection, average precision (AP) metrics are computed for other groups, like “plain categories\",",
"“free-form object descriptions\", and others. The final metric is the harmonic mean between AP values for“plain",
"categories\" and “\"free-form object descriptions\"",
". While AP is computed for each category separately",
"gory names (like“car\"or“person\"from standard de-",
"(and then averaged) in standard detection, this ini-",
"tection) as well as complex free-form text (like “blue",
"tial grouping is omitted in OmniLabel. Due to the",
"sports car parked near left sidewalk\"). We want our",
"high specificity of the object descriptions, many of",
"metric to give equal importance to both types. Due",
"these “groups\" would then consist of only a sin-",
"to the different number of ground truth instances,",
"gle object instance in the whole dataset. This can",
"we first compute AP for both types separately and",
"make the metric less robust.However.to ensure",
"thentake theharmonicmean.Different from the",
"thatourmetricconsidersthepredicted semanticcat-",
"arithmetic mean, the harmonic mean requires good",
"egories, we adjust the matching between prediction",
"results on both types to achieve a high number on",
"and ground truth. While in standard detection the",
"the final metric",
"matching is based purely on the bounding boxes via",
"我们在Python中实现了此评估协议,并在https://",
"intersection-over-union (since categories are already",
"github.com/samschulter/omnilabeltools上发布了它",
"grouped), we include the index g, that links a pre-",
"diction with the object descriptions in Di, see above",
"in Sec. 3.1 . Specifically, a prediction is matched to",
"4. Dataset Collection",
"a ground truth only if the prediction and the ground",
"要建立我们新颖的评估基准,我们需要用边界框和",
"truthpointto thesame objectdescription(seman-",
"相应的自由形式文本描述来注释对象的图像。为此,我",
"tics) and the predicted and ground truth bounding",
"们定义了一个多步骤注释和验证过程。Fig.4和以下段",
"boxes overlap sufficiently (localization)",
"落描述了该过程。",
". Standard detection ground truth exclusively assigns",
"each object instance one semantic category. In con-",
"Existing datasets:",
"我们从COCOE[32],Objects-",
"trast, our task requires multi-label predictions. For",
"365E[42]和Openlmages-V5E[23]的验证/测试集开",
"instance,“person\"and \"woman in red shirt\"can re-",
"始,这不仅节省了获取边界框的注释成本,而且有助于",
"fer to the same object. This needs to be considered",
"收集各种对象描述。通过在采样图像时利用(超)类别",
"in the matching process of the evaluation. In con-",
"信息,我们强制注释器也为稀有类别提供描述。否则,",
"trast to standard detection, one ground truth box",
"注释者将快速选择简单和常见的类别来描述。尽管重",
"can be correctly matched with multiple predictions",
"用数据集可能会排除一些未注释的类别,但我们收集",
"if the match happens via different object descriptions",
"的对象描述通常包括其他类别。例如,虽然“瓶盖”不",
"(recall index g, above).",
"是原始类别的一部分,但像“带红盖的瓶子”这样的描",
". Our object descriptions D; contain both plain cate-",
"述需要理解“瓶盖”",
"4"
] |
{
"arxiv_id": "2304.11463",
"language": "zh",
"page_idx": 3
}
|
||
2304.11463-zh-4
|
2304.11463-zh-4.jpg
|
Sample image / (super)category pairs: 为了鼓励类别和图像的多样化分布,我们提出了一种对图像和(超级)类别对进行随机抽样的策略。我们首先根据以下标准过滤所有可能的对:(a)图像中至少需要存在两个(超级)类别的实例。(b)对于超级类别,图像中至少需要存在两个不同的子类别。(c)为了收集关注对象的外观,关系和动作的描述,如果任何实例的边界框的较大边小于 80 像素,如果边界框的平均值与任何其他框
<FigureHere>
Figure 4: A step-by-step summary of our data collec-
tion and annotation process. Sec. 4 describes each step in detail. The key benefits of our annotation process are: (1) reuse of existing object detection datasets with annotated categories allows for a balanced sampling and consequently a set of diverse object description. (2) Contrary to existing free-form text benchmarks, we collect negative descriptions, which are related to an image but do not refer to any object.
的最大重叠大于 50%, 或者如果任何实例被标记为覆盖一群对象 (“iscrowd”)。最后,我们选择过滤对的随机子集,用于具有自由形式描述的注释
Collect object descriptions: 所有初始对象描述都是使用 AmazonMechanicalTurk(AMT)收集的。给定图像/(超)类别对,我们绘制该(超)类别的实例的边界框,并请求注释器选择实例的子集,并提供仅与他们的选择匹配的文本描述。具体来说,对于具有$N=2$可能实例的 image/category 对,我们要求选择一个。如果$N>2$,我们要求选择至少 2 个但最多$N-1$实例。这可确保如果对象描述使用类别名称本身,则需要其他文本来区分实例。对于 image/super-category 对, 我们要求至少选择一个实例,但避免在描述中使用类别名称本身。这鼓励对超级类别“食物”的所有对象进行更高级别的描述,例如“可食用物品”。最后,我们对收集的文本进行了半自动亵渎检查$\mathbb{E}[54]$。我们手动检查了 500 个最有可能包含亵渎语言的描述,但不需要丢弃任何描述
Verification: 为了确保高质量的描述,我们再次使用 AMT 验证上一步中对边界框的选择。我们为注释器提供最初突出显示的边界框和新收集的描述,并请求选择描述适用的对象。我们只保留两个选择(初始和验证)相等的描述,大约是所有描述的 80%
Collect negative descriptions: 如前所述,我们的基准测试的一个关键方面是负面对象描述。这些描述与图像相关,但实际上并不涉及任何对象。为了收集此类描述,我们利用已经收集的自由形式对象描述及其基础(超)类别信息。因此,样本《验证方法是合适的, 其中,对于每个图像/(超)类别对,我们从相同(超) 类别但不同的图像中随机抽取 5 个对象描述,并要求2个 AMT 注释器确认给定的描述不引用任何对象。然后,我们只保留带有 2 个确认的负面描述,在我们的案例中大约是 30 个%
Quality check: 最后,我们执行手动质量检查。我们在可能的情况下修复拼写错误和模棱两可的描述。如果描述的含义发生了变化,我们将保留正面描述,但丢弃与其他图像的所有负面关联。如果一个对象描述是完全错误的,我们丢弃它,这是其余描述中大约 10个$\%$的情况Annotators:
总共有 263 个来自 AMT 的不同注释
器为我们的注释提供了输入。对于使用 AMT 的三个任务 (生成描述、验证描述和验证否定描述),我们分别有 54、71 和 235 个注释器。
## 5. Dataset Analysis
本节分析 OmniLabel 的各种统计信息,并将其与其他相关数据集进行比较。对于所有数据集,我们分析相应的验证集
## 5.1. Basic statistics
Tab.2 总结了我们的 OmniLabel 数据集的关键数字,与参考表达式或视觉基础上的先前基准相比,特别
5
|
[
[
0.50341796875,
0.0921630859375,
0.890625,
0.0921630859375,
0.890625,
0.1060791015625,
0.50341796875,
0.1060791015625
],
[
0.1282958984375,
0.10101318359375,
0.223876953125,
0.10101318359375,
0.223876953125,
0.111083984375,
0.1282958984375,
0.111083984375
],
[
0.34716796875,
0.106689453125,
0.374267578125,
0.106689453125,
0.374267578125,
0.10986328125,
0.34716796875,
0.10986328125
],
[
0.5048828125,
0.10797119140625,
0.890625,
0.10797119140625,
0.890625,
0.121826171875,
0.5048828125,
0.121826171875
],
[
0.30810546875,
0.10986328125,
0.374267578125,
0.111083984375,
0.374267578125,
0.121826171875,
0.30810546875,
0.12060546875
],
[
0.131591796875,
0.11297607421875,
0.1805419921875,
0.11297607421875,
0.1805419921875,
0.125,
0.131591796875,
0.125
],
[
0.291748046875,
0.11932373046875,
0.375732421875,
0.11932373046875,
0.375732421875,
0.1300048828125,
0.291748046875,
0.1300048828125
],
[
0.50341796875,
0.12249755859375,
0.78173828125,
0.12249755859375,
0.78173828125,
0.1363525390625,
0.50341796875,
0.1363525390625
],
[
0.271240234375,
0.1287841796875,
0.374267578125,
0.1287841796875,
0.374267578125,
0.1395263671875,
0.271240234375,
0.1395263671875
],
[
0.131591796875,
0.1363525390625,
0.2099609375,
0.1363525390625,
0.2099609375,
0.146484375,
0.131591796875,
0.146484375
],
[
0.131591796875,
0.125,
0.1895751953125,
0.125,
0.1895751953125,
0.1363525390625,
0.131591796875,
0.1363525390625
],
[
0.50732421875,
0.1395263671875,
0.71142578125,
0.14013671875,
0.71142578125,
0.154052734375,
0.50732421875,
0.15283203125
],
[
0.7255859375,
0.141357421875,
0.890625,
0.141357421875,
0.890625,
0.1546630859375,
0.7255859375,
0.1546630859375
],
[
0.12744140625,
0.160400390625,
0.339111328125,
0.160400390625,
0.339111328125,
0.173583984375,
0.12744140625,
0.173583984375
],
[
0.5048828125,
0.1546630859375,
0.890625,
0.1546630859375,
0.890625,
0.169189453125,
0.5048828125,
0.169189453125
],
[
0.50341796875,
0.17041015625,
0.8896484375,
0.17041015625,
0.8896484375,
0.184326171875,
0.50341796875,
0.184326171875
],
[
0.268798828125,
0.18115234375,
0.3056640625,
0.18115234375,
0.3056640625,
0.1925048828125,
0.268798828125,
0.1925048828125
],
[
0.348876953125,
0.18115234375,
0.38818359375,
0.18115234375,
0.38818359375,
0.1925048828125,
0.348876953125,
0.1925048828125
],
[
0.428955078125,
0.18115234375,
0.464111328125,
0.18115234375,
0.464111328125,
0.1925048828125,
0.428955078125,
0.1925048828125
],
[
0.50244140625,
0.1849365234375,
0.88818359375,
0.1849365234375,
0.88818359375,
0.1988525390625,
0.50244140625,
0.1988525390625
],
[
0.361083984375,
0.1932373046875,
0.375732421875,
0.1932373046875,
0.375732421875,
0.2008056640625,
0.361083984375,
0.2008056640625
],
[
0.441162109375,
0.1944580078125,
0.44775390625,
0.1944580078125,
0.44775390625,
0.199462890625,
0.441162109375,
0.199462890625
],
[
0.50341796875,
0.199462890625,
0.890625,
0.2008056640625,
0.890625,
0.21533203125,
0.50341796875,
0.2139892578125
],
[
0.2998046875,
0.205810546875,
0.35546875,
0.2083740234375,
0.35546875,
0.2197265625,
0.2998046875,
0.2171630859375
],
[
0.28759765625,
0.1956787109375,
0.294189453125,
0.1956787109375,
0.294189453125,
0.199462890625,
0.28759765625,
0.199462890625
],
[
0.38818359375,
0.2083740234375,
0.428955078125,
0.2083740234375,
0.428955078125,
0.2197265625,
0.38818359375,
0.2197265625
],
[
0.298095703125,
0.2171630859375,
0.35546875,
0.2171630859375,
0.35546875,
0.2279052734375,
0.298095703125,
0.2279052734375
],
[
0.3896484375,
0.2183837890625,
0.42724609375,
0.2183837890625,
0.42724609375,
0.2298583984375,
0.3896484375,
0.2298583984375
],
[
0.5048828125,
0.216552734375,
0.890625,
0.216552734375,
0.890625,
0.2298583984375,
0.5048828125,
0.2298583984375
],
[
0.298095703125,
0.2266845703125,
0.358642578125,
0.2266845703125,
0.358642578125,
0.2374267578125,
0.298095703125,
0.2374267578125
],
[
0.50341796875,
0.2298583984375,
0.89208984375,
0.2298583984375,
0.89208984375,
0.2442626953125,
0.50341796875,
0.2442626953125
],
[
0.12744140625,
0.248779296875,
0.279296875,
0.248779296875,
0.279296875,
0.261962890625,
0.12744140625,
0.261962890625
],
[
0.5048828125,
0.246826171875,
0.890625,
0.246826171875,
0.890625,
0.260009765625,
0.5048828125,
0.260009765625
],
[
0.22216796875,
0.26318359375,
0.361083984375,
0.264404296875,
0.361083984375,
0.27587890625,
0.22216796875,
0.274658203125
],
[
0.50341796875,
0.261474609375,
0.8896484375,
0.261474609375,
0.8896484375,
0.274658203125,
0.50341796875,
0.274658203125
],
[
0.1650390625,
0.26513671875,
0.19287109375,
0.26513671875,
0.19287109375,
0.272705078125,
0.1650390625,
0.272705078125
],
[
0.136474609375,
0.26513671875,
0.1568603515625,
0.26513671875,
0.1568603515625,
0.27587890625,
0.136474609375,
0.27587890625
],
[
0.381591796875,
0.26513671875,
0.44287109375,
0.26513671875,
0.44287109375,
0.27978515625,
0.381591796875,
0.27978515625
],
[
0.289306640625,
0.276611328125,
0.298095703125,
0.2841796875,
0.2900390625,
0.2890625,
0.281982421875,
0.28271484375
],
[
0.5048828125,
0.27587890625,
0.89208984375,
0.27587890625,
0.89208984375,
0.2890625,
0.5048828125,
0.2890625
],
[
0.42236328125,
0.2841796875,
0.4345703125,
0.2841796875,
0.4345703125,
0.287353515625,
0.42236328125,
0.287353515625
],
[
0.50341796875,
0.291748046875,
0.890625,
0.291748046875,
0.890625,
0.304931640625,
0.50341796875,
0.304931640625
],
[
0.375732421875,
0.309326171875,
0.455078125,
0.309326171875,
0.455078125,
0.3193359375,
0.375732421875,
0.3193359375
],
[
0.50341796875,
0.306884765625,
0.890625,
0.306884765625,
0.890625,
0.32080078125,
0.50341796875,
0.32080078125
],
[
0.5048828125,
0.3212890625,
0.890625,
0.3212890625,
0.890625,
0.3359375,
0.5048828125,
0.3359375
],
[
0.1282958984375,
0.333984375,
0.30224609375,
0.333984375,
0.30224609375,
0.3447265625,
0.1282958984375,
0.3447265625
],
[
0.50341796875,
0.337158203125,
0.89208984375,
0.337158203125,
0.89208984375,
0.35107421875,
0.50341796875,
0.35107421875
],
[
0.136474609375,
0.35595703125,
0.156005859375,
0.35595703125,
0.156005859375,
0.363037109375,
0.136474609375,
0.363037109375
],
[
0.156005859375,
0.356689453125,
0.1993408203125,
0.356689453125,
0.1993408203125,
0.361083984375,
0.156005859375,
0.361083984375
],
[
0.5048828125,
0.3515625,
0.619140625,
0.3515625,
0.619140625,
0.365478515625,
0.5048828125,
0.365478515625
],
[
0.25244140625,
0.35791015625,
0.325927734375,
0.35791015625,
0.325927734375,
0.365478515625,
0.25244140625,
0.365478515625
],
[
0.3857421875,
0.35791015625,
0.396240234375,
0.35791015625,
0.396240234375,
0.3623046875,
0.3857421875,
0.3623046875
],
[
0.42236328125,
0.37255859375,
0.4345703125,
0.37255859375,
0.4345703125,
0.37890625,
0.42236328125,
0.37890625
],
[
0.5087890625,
0.369384765625,
0.890625,
0.369384765625,
0.890625,
0.38330078125,
0.5087890625,
0.38330078125
],
[
0.5048828125,
0.385009765625,
0.890625,
0.385009765625,
0.890625,
0.3984375,
0.5048828125,
0.3984375
],
[
0.1298828125,
0.396484375,
0.20751953125,
0.396484375,
0.20751953125,
0.4072265625,
0.1298828125,
0.4072265625
],
[
0.50341796875,
0.399658203125,
0.890625,
0.399658203125,
0.890625,
0.41357421875,
0.50341796875,
0.41357421875
],
[
0.50341796875,
0.4140625,
0.890625,
0.4140625,
0.890625,
0.427978515625,
0.50341796875,
0.427978515625
],
[
0.12744140625,
0.42041015625,
0.293212890625,
0.421630859375,
0.293212890625,
0.43505859375,
0.12744140625,
0.434326171875
],
[
0.3056640625,
0.421630859375,
0.406005859375,
0.42236328125,
0.406005859375,
0.434326171875,
0.3056640625,
0.43310546875
],
[
0.50244140625,
0.429931640625,
0.81787109375,
0.429931640625,
0.81787109375,
0.443115234375,
0.50244140625,
0.443115234375
],
[
0.2320556640625,
0.442626953125,
0.3447265625,
0.442626953125,
0.3447265625,
0.45263671875,
0.2320556640625,
0.45263671875
],
[
0.50732421875,
0.4462890625,
0.74267578125,
0.447509765625,
0.74267578125,
0.462158203125,
0.50732421875,
0.4609375
],
[
0.740234375,
0.448974609375,
0.890625,
0.448974609375,
0.890625,
0.462158203125,
0.740234375,
0.462158203125
],
[
0.283447265625,
0.455810546875,
0.29736328125,
0.455810546875,
0.29736328125,
0.466552734375,
0.283447265625,
0.466552734375
],
[
0.50341796875,
0.462158203125,
0.890625,
0.462158203125,
0.890625,
0.4765625,
0.50341796875,
0.4765625
],
[
0.5048828125,
0.477783203125,
0.890625,
0.477783203125,
0.890625,
0.4912109375,
0.5048828125,
0.4912109375
],
[
0.131591796875,
0.484130859375,
0.2320556640625,
0.484130859375,
0.2320556640625,
0.49560546875,
0.131591796875,
0.49560546875
],
[
0.346435546875,
0.48486328125,
0.4345703125,
0.48486328125,
0.4345703125,
0.496826171875,
0.346435546875,
0.496826171875
],
[
0.43310546875,
0.488037109375,
0.439453125,
0.488037109375,
0.439453125,
0.494384765625,
0.43310546875,
0.494384765625
],
[
0.4453125,
0.48486328125,
0.455078125,
0.492431640625,
0.44677734375,
0.49755859375,
0.438720703125,
0.4912109375
],
[
0.1298828125,
0.49755859375,
0.19775390625,
0.49755859375,
0.19775390625,
0.50830078125,
0.1298828125,
0.50830078125
],
[
0.38232421875,
0.49755859375,
0.451904296875,
0.49755859375,
0.451904296875,
0.5087890625,
0.38232421875,
0.5087890625
],
[
0.5048828125,
0.494384765625,
0.8896484375,
0.494384765625,
0.8896484375,
0.5048828125,
0.5048828125,
0.5048828125
],
[
0.50341796875,
0.50830078125,
0.88818359375,
0.50830078125,
0.88818359375,
0.521484375,
0.50341796875,
0.521484375
],
[
0.1298828125,
0.52294921875,
0.2115478515625,
0.52294921875,
0.2115478515625,
0.53271484375,
0.1298828125,
0.53271484375
],
[
0.214111328125,
0.5244140625,
0.301513671875,
0.5244140625,
0.301513671875,
0.5322265625,
0.214111328125,
0.5322265625
],
[
0.5048828125,
0.5244140625,
0.8896484375,
0.5244140625,
0.8896484375,
0.53515625,
0.5048828125,
0.53515625
],
[
0.1683349609375,
0.54052734375,
0.259033203125,
0.54150390625,
0.259033203125,
0.55322265625,
0.1683349609375,
0.5517578125
],
[
0.330078125,
0.54248046875,
0.400390625,
0.54248046875,
0.400390625,
0.55322265625,
0.330078125,
0.55322265625
],
[
0.5048828125,
0.53857421875,
0.890625,
0.53857421875,
0.890625,
0.5517578125,
0.5048828125,
0.5517578125
],
[
0.50244140625,
0.5517578125,
0.890625,
0.55322265625,
0.890625,
0.5673828125,
0.50244140625,
0.56640625
],
[
0.236083984375,
0.57080078125,
0.3544921875,
0.57080078125,
0.3544921875,
0.58056640625,
0.236083984375,
0.58056640625
],
[
0.5048828125,
0.568359375,
0.890625,
0.568359375,
0.890625,
0.58203125,
0.5048828125,
0.58203125
],
[
0.240234375,
0.580078125,
0.351318359375,
0.580078125,
0.351318359375,
0.59326171875,
0.240234375,
0.59326171875
],
[
0.5048828125,
0.583984375,
0.6611328125,
0.583984375,
0.6611328125,
0.59765625,
0.5048828125,
0.59765625
],
[
0.5087890625,
0.6015625,
0.890625,
0.6015625,
0.890625,
0.61572265625,
0.5087890625,
0.61572265625
],
[
0.080078125,
0.61572265625,
0.46728515625,
0.61572265625,
0.46728515625,
0.62890625,
0.080078125,
0.62890625
],
[
0.5048828125,
0.6162109375,
0.890625,
0.6162109375,
0.890625,
0.6298828125,
0.5048828125,
0.6298828125
],
[
0.07843017578125,
0.62744140625,
0.468017578125,
0.6298828125,
0.468017578125,
0.64453125,
0.07843017578125,
0.642578125
],
[
0.50244140625,
0.6298828125,
0.89208984375,
0.630859375,
0.89208984375,
0.64599609375,
0.50244140625,
0.64453125
],
[
0.07843017578125,
0.64306640625,
0.4697265625,
0.64599609375,
0.4697265625,
0.6591796875,
0.07843017578125,
0.6572265625
],
[
0.5048828125,
0.646484375,
0.890625,
0.646484375,
0.890625,
0.66015625,
0.5048828125,
0.66015625
],
[
0.080078125,
0.6591796875,
0.46728515625,
0.6591796875,
0.46728515625,
0.67236328125,
0.080078125,
0.67236328125
],
[
0.5048828125,
0.6611328125,
0.89208984375,
0.6611328125,
0.89208984375,
0.6748046875,
0.5048828125,
0.6748046875
],
[
0.07843017578125,
0.6748046875,
0.4697265625,
0.67529296875,
0.4697265625,
0.689453125,
0.07843017578125,
0.68798828125
],
[
0.50244140625,
0.6748046875,
0.5908203125,
0.6767578125,
0.5908203125,
0.69140625,
0.50244140625,
0.689453125
],
[
0.08087158203125,
0.68994140625,
0.46728515625,
0.68994140625,
0.46728515625,
0.7041015625,
0.08087158203125,
0.7041015625
],
[
0.5107421875,
0.69580078125,
0.59716796875,
0.69580078125,
0.59716796875,
0.70556640625,
0.5107421875,
0.70556640625
],
[
0.619140625,
0.693359375,
0.890625,
0.693359375,
0.890625,
0.70703125,
0.619140625,
0.70703125
],
[
0.08087158203125,
0.70556640625,
0.468017578125,
0.70556640625,
0.468017578125,
0.7197265625,
0.08087158203125,
0.7197265625
],
[
0.5048828125,
0.708984375,
0.8896484375,
0.708984375,
0.8896484375,
0.72265625,
0.5048828125,
0.72265625
],
[
0.080078125,
0.72021484375,
0.4697265625,
0.7197265625,
0.4697265625,
0.734375,
0.080078125,
0.73486328125
],
[
0.5048828125,
0.724609375,
0.8896484375,
0.724609375,
0.8896484375,
0.73779296875,
0.5048828125,
0.73779296875
],
[
0.080078125,
0.73486328125,
0.36767578125,
0.73486328125,
0.36767578125,
0.74853515625,
0.080078125,
0.74853515625
],
[
0.50341796875,
0.7392578125,
0.72216796875,
0.7392578125,
0.72216796875,
0.75244140625,
0.50341796875,
0.75244140625
],
[
0.50244140625,
0.76953125,
0.67626953125,
0.76953125,
0.67626953125,
0.78271484375,
0.50244140625,
0.78271484375
],
[
0.08416748046875,
0.77978515625,
0.369384765625,
0.78076171875,
0.369384765625,
0.79541015625,
0.08416748046875,
0.79443359375
],
[
0.373291015625,
0.7861328125,
0.3798828125,
0.7861328125,
0.3798828125,
0.79052734375,
0.373291015625,
0.79052734375
],
[
0.384033203125,
0.7822265625,
0.46728515625,
0.7822265625,
0.46728515625,
0.79345703125,
0.384033203125,
0.79345703125
],
[
0.08251953125,
0.796875,
0.46728515625,
0.796875,
0.46728515625,
0.81005859375,
0.08251953125,
0.81005859375
],
[
0.52294921875,
0.79248046875,
0.890625,
0.79345703125,
0.890625,
0.80810546875,
0.52294921875,
0.806640625
],
[
0.08087158203125,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.50341796875,
0.8095703125,
0.890625,
0.8095703125,
0.890625,
0.82275390625,
0.50341796875,
0.82275390625
],
[
0.08087158203125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.08087158203125,
0.84033203125
],
[
0.50341796875,
0.82568359375,
0.583984375,
0.82568359375,
0.583984375,
0.8369140625,
0.50341796875,
0.8369140625
],
[
0.08087158203125,
0.84130859375,
0.46728515625,
0.84130859375,
0.46728515625,
0.85498046875,
0.08087158203125,
0.85498046875
],
[
0.50244140625,
0.8486328125,
0.654296875,
0.8486328125,
0.654296875,
0.8623046875,
0.50244140625,
0.8623046875
],
[
0.08087158203125,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.08087158203125,
0.87060546875
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.52294921875,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.52294921875,
0.88525390625
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50244140625,
0.88525390625,
0.8896484375,
0.88623046875,
0.8896484375,
0.90087890625,
0.50244140625,
0.8994140625
],
[
0.476318359375,
0.9248046875,
0.491943359375,
0.921875,
0.495849609375,
0.93505859375,
0.48046875,
0.93798828125
]
] |
[
"的最大重叠大于50%,或者如果任何实例被标记为覆",
"Existingdatasets",
"aee",
"盖一群对象(“iscrowd\")。最后,我们选择过滤对的随",
"Boundingboxes",
"MSCOCO",
"Categories (\"donut\")",
"机子集,用于具有自由形式描述的注释",
"Super-categories (\"food\"",
"Openimages-V5",
"Objects-365",
"Collect object descriptions:",
"所有初始对象描述都是",
"Sampleimage/(super-)categorypairs",
"使用AmazonMechanicalTurk(AMT)收集的。给定图",
"像/(超)类别对,我们绘制该(超)类别的实例的边界",
"Npairs",
"M pairs",
"Kpairs",
"框,并请求注释器选择实例的子集,并提供仅与他们的",
"A",
"",
"选择匹配的文本描述。具体来说,对于具有N=2可",
"constraints",
"",
"random",
"(>2 instances,",
"sample",
"能实例的image/category对,我们要求选择一个。如",
"ovg.loU<0.3)",
"果N>2,我们要求选择至少 2个但最多N-1实",
"Collect object descriptions",
"例。这可确保如果对象描述使用类别名称本身,则需要",
"Task:Selectboxes &describe",
"其他文本来区分实例。对于image/super-category对",
"话",
"R",
"",
"C",
"我们要求至少选择一个实例,但避免在描述中使用类",
"",
"别名称本身。这鼓励对超级类别“食物”的所有对象进",
"chocolatedonut",
"行更高级别的描述,例如“可食用物品”。最后,我们",
"对收集的文本进行了半自动渎检查E[54]。我们手动",
"Verification 80%verificationrate",
"检查了500个最有可能包含读语言的描述,但不需",
"",
"",
"要丢弃任何描述",
"ask:Selectboxe",
"",
"",
"Verification:为了确保高质量的描述,我们再次使",
"用AMT验证上一步中对边界框的选择。我们为注释",
"chocolate donut",
"器提供最初突出显示的边界框和新收集的描述,并请",
"求选择描述适用的对象。我们只保留两个选择(初始和",
"Collect negative descriptions",
"45% verification rate",
"验证)相等的描述,大约是所有描述的80%",
"Task: Verify non-existene",
"Collect negative descriptions:",
"如前所述,我们的基",
"",
"准测试的一个关键方面是负面对象描述。这些描述与",
"图像相关,但实际上并不涉及任何对象。为了收集此类",
"[?] pink-glazeddonut",
"pink-glazed donut",
"新",
"+",
"[?]bomboloni",
"bomboloni",
"描述,我们利用已经收集的自由形式对象描述及其基",
"础(超)类别信息。因此,样本&验证方法是合适的",
"Qualitycheck",
"10%discardrate",
"其中,对于每个图像/(超)类别对,我们从相同(超)",
"Manual inspection",
"Keep / Discard",
"类别但不同的图像中随机抽取5个对象描述,并要求",
"2个AMT注释器确认给定的描述不引用任何对象。然",
"Ambiguousdescriptions?",
"后,我们只保留带有2个确认的负面描述,在我们的",
"Correct box selection?",
"案例中大约是30个%",
"Qualitycheck:最后,我们执行手动质量检查。我们",
"Figure 4: A step-by-step summary of our data collec-",
"在可能的情况下修复拼写错误和模棱两可的描述。如",
"tion and annotation process. Sec. 4 describes each step",
"果描述的含义发生了变化,我们将保留正面描述,但",
"in detail. The key benefits of our annotation process",
"丢弃与其他图像的所有负面关联。如果一个对象描述",
"are: (1) reuse of existing object detection datasets with",
"是完全错误的,我们丢弃它,这是其余描述中大约10",
"annotated categories allows for a balanced sampling",
"个%的情况",
"and consequently a set of diverse object description.",
"Annotators:",
"总共有263个来自AMT的不同注释",
"(2) Contrary to existing free-form text benchmarks,",
"器为我们的注释提供了输人。对于使用AMT的三个",
"we collect negative descriptions, which are related to",
"任务(生成描述、验证描述和验证否定描述),我们分",
"an image but do not refer to any object.",
"别有54、71和235个注释器。",
"5.DatasetAnalysis",
"Sample image / (super)category pairs:",
"",
"为了鼓励类",
"别和图像的多样化分布,我们提出了一种对图像和(超",
"本节分析OmniLabel的各种统计信息,并将其与其",
"级)类别对进行随机抽样的策略。我们首先根据以下标",
"他相关数据集进行比较。对于所有数据集,我们分析相",
"准过滤所有可能的对:(a)图像中至少需要存在两个",
"应的验证集",
"(超级)类别的实例。(b)对于超级类别,图像中至少",
"5.1. Basic statistics",
"需要存在两个不同的子类别。(c)为了收集关注对象的",
"外观,关系和动作的描述,如果任何实例的边界框的较",
"Tab.2总结了我们的OmniLabel数据集的关键数",
"大边小于80像素,如果边界框的平均值与任何其他框",
"字,与参考表达式或视觉基础上的先前基准相比,特别",
"5"
] |
{
"arxiv_id": "2304.11463",
"language": "zh",
"page_idx": 4
}
|
||
1904.10056-zh-1
|
1904.10056-zh-1.jpg
|
来与条件生成器玩 minimax 游戏。对抗性训练策略绕过了训练中潜在因素的棘手推断;然而,鉴别器和生成器之间的不平衡会导致不收敛和模式崩溃问题。基于VAE 的方法[50,46]将条件生成器网络与一个附加的编码器相关联,该编码器近似后验分布,以推断潜在因素,并通过最大化变分下界来训练这两个模型。在本文中,我们将证明这些辅助网络都不是训练条件生成器所必需的
在我们的生成 ZSL 框架中,我们采用条件生成器作为特征到特征的翻译器网络,该网络将类级语义特征以及实例级潜在因素转换为视觉特征,如图$\color{red}{\boxed{\mathrm{E}}}\color{red}{1}$ 所示。但是,与基于 GAN 和 VAE 的方法不同,我们采用理论上更准确的估计器,即具有类似 EM 策略$\mathbb{E}[6]$ 的最大似然估计(MLE)来训练网络,而无需辅助网络的帮助。通过 MLE 训练潜在变量模型时要解决的难题是计算观测数据对数似然的梯度所需的棘手的后验分布。在提出的框架中,我们采用马尔可夫链蒙特卡罗(MCMC),如 Langevin 动力学[51,29] ,来计算后验分布。我们证明了最大似然算法涉及相对于模型参数的观测数据对数似然梯度和相对于潜在因子的梯度的计算,这两者都可以通过反向传播来有效地计算
具体来说,所提出的翻译器是通过交替反向传播(ABP)算法来学习的,该算法迭代以下两个步骤:(i) 推理反向传播:对于每个训练示例,通过从当前学习的后验分布通过 Langevin 动力学进行采样来推断连续潜在因子,其中可以通过反向传播来计算对数关节密度的梯度,可以通过反向传播来学习模型参数,其中通过训练梯度来更新模型参数
ABP 算法最初是为训练无条件生成器网络[15,56] 而提出的。在本文中,我们将 ABP 推广到学习条件生成器网络以进行特征到特征的翻译,其中类级别的语义特征起着条件的作用
值得一提的是,所提出的模型能够从不完整的训练示例中学习,其中视觉特征由于图像空间中的遮挡而部分损坏或无法访问。具体来说,我们的模型可以通过使潜在因素仅解释以类级别语义特征为条件的视觉特征的可见部分来从不完整数据中学习,而基于 GAN 或VAE 的方法几乎无法处理这种情况
我们的贡献可以总结如下:(1)我们提出了一种用于生成 ZSL 的特征到特征转换器,其中我们学习从类级别的语义特征以及遵循高斯白噪声分布的实例级别的潜在因素到视觉特征的映射。(2)我们建议通过交替反向传播 ( ABP) 算法学习最大似然的翻译器,而不依赖于其他辅助网络,这使得我们的框架在统计上更加严格和优雅。(3)我们表明,所提出的框架可以从不完整的训练示例中学习,在这些示例中,由于图像空间中的损坏或遮挡,视觉特征部分可见。(4)在各种ZSL 任务上进行的综合实验显示了我们框架的最新性能,对模型的透彻分析表明了所提出框架在不同方面的优越性
# 2. Related Work
X 到 Y 转换。我们不是第一个应用条件生成器来学习 X 到 Y 映射的人。提出了一种文本到图像的翻译用于从文本描述 [33] 进行图像合成。Zhu 等人 [66] 研究了不同类型图像处理任务的图像到图像转换问题包括从标签图或边缘图合成照片以及从其灰度版本生成彩色图像。最近,通过从输入源视频中学习映射函数来解决视频到视频的转换问题(例如。g。, 语义分割掩码序列) 到目标逼真视频[49] 。我们的工作学习了ZSL 的特征到特征映射。此外,上述所有其他工作都基于 GAN 的框架,这意味着在训练阶段需要采用精心设计的鉴别器网络。我们的框架的不同之处在于,它是通过交替反向传播算法进行训练的,而不包含任何额外的辅助网络。这使得我们的框架比基于 GAN 的框架更简单,计算效率更高
生成模型。我们的模型本质上是一个条件潜变量模型。我们模型的交替反向传播 (ABP) 训练方法与变分推理 (e。g。, VAE) 和对抗性学习 (e。g。, GAN), 这两者都需要一个额外的辅助网络,该网络具有一组单独的学习参数,以避免模型中潜在变量的解释性推断
与 VAE 和 GAN 不同,ABP 不涉及辅助网络,而是通过 MCMC 直接从后验分布中进行采样来执行显式的解释推断,例如 Langevin 动力学,它由反向传播提供动力。与通过对抗性学习和变分推理方案训练的模型相比,通过 ABP 训练的模型要简单得多,更自然且在统计上更严格。。ABP 已用于训练用于图像模式的通用生成器$\mathbb{E}[15]$和可变形生成器[61],以及用于视频模式的动态生成器$\mathbb{E}[56]$ 。我们的论文是 [15,56] 的推广,通过应用 ABP 来训练生成器模型的条件版本以进行特征到特征的转换。生成的 ConvNet [58] 和WassersteinINN [23] 是两个单件模型,它们学习基于能量的生成模型以生成数据。[58] 和 [23] 都通过迭代MCMC 采样生成数据,而我们的模型通过直接祖先采样生成数据,效率要高得多
零拍学习。ZSL [21,22]的几项开创性工作利用类属性作为中间信息,为看不见的类分类图像。一些 ZSL 方法基于视觉和语义特征之间的双线性兼容功能,可以通过使用 (a)的排名损失 (e。g。, ALE [1] 和DeViSE [12] ), (b)结构 SVM 损失[2]或 (c)岭回归损失(e。g。ESZSL[36]和 PTZSL[8])。为了增强模型的表达能力,几种 ZSL 方法[53,62,25,24,68] 学习非线性多模态嵌入。利用数据生成中的生成模型, 几种方法$\mathbb{E}[67,11,52,46,4,50]$ 求助于从 ZSL 的看不见的类生成视觉特征。GAZSL [67] 和 FGZSL [52] 都以分类损失作为正则化对 WassersteinGAN [3,14] , 以增加合成特征的类间判别。MCGZSL[11] 采用周期一致性损失 [66] 正则化 ZSL 生成器。[50,46] 使用条件 VAEs [39] 框架学习特征生成器。我们的模型还学习通过条件生成器从看不见的类生成视觉特征,但是, 与上面提到的生成 ZSL 方法不同,我们的模型是通过交替反向传播来训练的,而不需要辅助模型进行训练
|
[
[
0.08416748046875,
0.0947265625,
0.46728515625,
0.0947265625,
0.46728515625,
0.10479736328125,
0.08416748046875,
0.10479736328125
],
[
0.50244140625,
0.0921630859375,
0.650390625,
0.0921630859375,
0.650390625,
0.1060791015625,
0.50244140625,
0.1060791015625
],
[
0.08416748046875,
0.10986328125,
0.46728515625,
0.10986328125,
0.46728515625,
0.12060546875,
0.08416748046875,
0.12060546875
],
[
0.08251953125,
0.125,
0.46728515625,
0.125,
0.46728515625,
0.1351318359375,
0.08251953125,
0.1351318359375
],
[
0.521484375,
0.125,
0.8896484375,
0.125,
0.8896484375,
0.1383056640625,
0.521484375,
0.1383056640625
],
[
0.08087158203125,
0.136962890625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08087158203125,
0.15087890625
],
[
0.50634765625,
0.141357421875,
0.88623046875,
0.141357421875,
0.88623046875,
0.1514892578125,
0.50634765625,
0.1514892578125
],
[
0.08251953125,
0.154052734375,
0.46728515625,
0.154052734375,
0.46728515625,
0.1673583984375,
0.08251953125,
0.1673583984375
],
[
0.5048828125,
0.1546630859375,
0.88818359375,
0.1546630859375,
0.88818359375,
0.1685791015625,
0.5048828125,
0.1685791015625
],
[
0.08087158203125,
0.1685791015625,
0.468017578125,
0.1673583984375,
0.468017578125,
0.18115234375,
0.08087158203125,
0.1817626953125
],
[
0.50341796875,
0.169189453125,
0.88818359375,
0.169189453125,
0.88818359375,
0.18310546875,
0.50341796875,
0.18310546875
],
[
0.08416748046875,
0.1849365234375,
0.465576171875,
0.1849365234375,
0.465576171875,
0.1956787109375,
0.08416748046875,
0.1956787109375
],
[
0.5048828125,
0.1849365234375,
0.8896484375,
0.1849365234375,
0.8896484375,
0.1988525390625,
0.5048828125,
0.1988525390625
],
[
0.08251953125,
0.199462890625,
0.1446533203125,
0.199462890625,
0.1446533203125,
0.2108154296875,
0.08251953125,
0.2108154296875
],
[
0.50634765625,
0.2020263671875,
0.88623046875,
0.2020263671875,
0.88623046875,
0.212158203125,
0.50634765625,
0.212158203125
],
[
0.5048828125,
0.21533203125,
0.890625,
0.21533203125,
0.890625,
0.2291259765625,
0.5048828125,
0.2291259765625
],
[
0.101318359375,
0.2266845703125,
0.46728515625,
0.2266845703125,
0.46728515625,
0.2374267578125,
0.101318359375,
0.2374267578125
],
[
0.50244140625,
0.2298583984375,
0.8896484375,
0.2291259765625,
0.8896484375,
0.242431640625,
0.50244140625,
0.24365234375
],
[
0.08416748046875,
0.2412109375,
0.46728515625,
0.2412109375,
0.46728515625,
0.251953125,
0.08416748046875,
0.251953125
],
[
0.50341796875,
0.2442626953125,
0.890625,
0.2442626953125,
0.890625,
0.25830078125,
0.50341796875,
0.25830078125
],
[
0.08251953125,
0.255126953125,
0.46728515625,
0.255126953125,
0.46728515625,
0.268310546875,
0.08251953125,
0.268310546875
],
[
0.5048828125,
0.260009765625,
0.890625,
0.260009765625,
0.890625,
0.2734375,
0.5048828125,
0.2734375
],
[
0.08087158203125,
0.26953125,
0.46728515625,
0.26953125,
0.46728515625,
0.28271484375,
0.08087158203125,
0.28271484375
],
[
0.5048828125,
0.27587890625,
0.890625,
0.27587890625,
0.890625,
0.2890625,
0.5048828125,
0.2890625
],
[
0.08251953125,
0.285400390625,
0.468017578125,
0.285400390625,
0.468017578125,
0.298583984375,
0.08251953125,
0.298583984375
],
[
0.5048828125,
0.291748046875,
0.890625,
0.291748046875,
0.890625,
0.304931640625,
0.5048828125,
0.304931640625
],
[
0.08416748046875,
0.3017578125,
0.465576171875,
0.3017578125,
0.465576171875,
0.3125,
0.08416748046875,
0.3125
],
[
0.5048828125,
0.30615234375,
0.890625,
0.30615234375,
0.890625,
0.3193359375,
0.5048828125,
0.3193359375
],
[
0.08087158203125,
0.31494140625,
0.46728515625,
0.31494140625,
0.46728515625,
0.328857421875,
0.08087158203125,
0.328857421875
],
[
0.5048828125,
0.3212890625,
0.66650390625,
0.3212890625,
0.66650390625,
0.335205078125,
0.5048828125,
0.335205078125
],
[
0.08416748046875,
0.33203125,
0.465576171875,
0.33203125,
0.465576171875,
0.34228515625,
0.08416748046875,
0.34228515625
],
[
0.08251953125,
0.34521484375,
0.465576171875,
0.34521484375,
0.465576171875,
0.359130859375,
0.08251953125,
0.359130859375
],
[
0.52392578125,
0.343505859375,
0.890625,
0.343505859375,
0.890625,
0.356689453125,
0.52392578125,
0.356689453125
],
[
0.08087158203125,
0.361083984375,
0.468017578125,
0.361083984375,
0.468017578125,
0.375,
0.08087158203125,
0.375
],
[
0.50341796875,
0.35791015625,
0.88818359375,
0.35791015625,
0.88818359375,
0.371826171875,
0.50341796875,
0.371826171875
],
[
0.08416748046875,
0.37744140625,
0.46728515625,
0.37744140625,
0.46728515625,
0.38818359375,
0.08416748046875,
0.38818359375
],
[
0.50341796875,
0.373779296875,
0.8896484375,
0.373779296875,
0.8896484375,
0.38818359375,
0.50341796875,
0.38818359375
],
[
0.08087158203125,
0.391357421875,
0.46728515625,
0.391357421875,
0.46728515625,
0.40478515625,
0.08087158203125,
0.40478515625
],
[
0.5048828125,
0.389404296875,
0.8896484375,
0.389404296875,
0.8896484375,
0.40283203125,
0.5048828125,
0.40283203125
],
[
0.08087158203125,
0.406005859375,
0.423095703125,
0.406005859375,
0.423095703125,
0.419189453125,
0.08087158203125,
0.419189453125
],
[
0.5048828125,
0.404052734375,
0.87841796875,
0.404052734375,
0.87841796875,
0.417236328125,
0.5048828125,
0.417236328125
],
[
0.525390625,
0.4267578125,
0.890625,
0.4267578125,
0.890625,
0.43994140625,
0.525390625,
0.43994140625
],
[
0.101318359375,
0.434326171875,
0.465576171875,
0.434326171875,
0.465576171875,
0.4443359375,
0.101318359375,
0.4443359375
],
[
0.080078125,
0.44580078125,
0.468017578125,
0.4462890625,
0.468017578125,
0.4609375,
0.080078125,
0.460205078125
],
[
0.5048828125,
0.44140625,
0.890625,
0.44140625,
0.890625,
0.455078125,
0.5048828125,
0.455078125
],
[
0.08087158203125,
0.460205078125,
0.46728515625,
0.4609375,
0.46728515625,
0.47607421875,
0.08087158203125,
0.474853515625
],
[
0.5048828125,
0.45703125,
0.890625,
0.45703125,
0.890625,
0.47021484375,
0.5048828125,
0.47021484375
],
[
0.08251953125,
0.4765625,
0.46728515625,
0.4765625,
0.46728515625,
0.490478515625,
0.08251953125,
0.490478515625
],
[
0.50341796875,
0.4716796875,
0.890625,
0.4716796875,
0.890625,
0.48486328125,
0.50341796875,
0.48486328125
],
[
0.08251953125,
0.492431640625,
0.468017578125,
0.492431640625,
0.468017578125,
0.505859375,
0.08251953125,
0.505859375
],
[
0.5048828125,
0.4873046875,
0.890625,
0.4873046875,
0.890625,
0.50048828125,
0.5048828125,
0.50048828125
],
[
0.50341796875,
0.50048828125,
0.890625,
0.501953125,
0.890625,
0.51513671875,
0.50341796875,
0.5146484375
],
[
0.08251953125,
0.5087890625,
0.46728515625,
0.5087890625,
0.46728515625,
0.51953125,
0.08251953125,
0.51953125
],
[
0.08251953125,
0.52294921875,
0.261474609375,
0.52294921875,
0.261474609375,
0.5361328125,
0.08251953125,
0.5361328125
],
[
0.5048828125,
0.517578125,
0.8896484375,
0.517578125,
0.8896484375,
0.53076171875,
0.5048828125,
0.53076171875
],
[
0.50634765625,
0.5341796875,
0.88623046875,
0.5341796875,
0.88623046875,
0.54443359375,
0.50634765625,
0.54443359375
],
[
0.101318359375,
0.54736328125,
0.46728515625,
0.54736328125,
0.46728515625,
0.56103515625,
0.101318359375,
0.56103515625
],
[
0.50341796875,
0.54736328125,
0.8896484375,
0.54736328125,
0.8896484375,
0.56103515625,
0.50341796875,
0.56103515625
],
[
0.08087158203125,
0.56298828125,
0.468017578125,
0.56298828125,
0.468017578125,
0.5771484375,
0.08087158203125,
0.5771484375
],
[
0.50341796875,
0.5625,
0.8896484375,
0.5625,
0.8896484375,
0.57568359375,
0.50341796875,
0.57568359375
],
[
0.0849609375,
0.580078125,
0.46728515625,
0.580078125,
0.46728515625,
0.59033203125,
0.0849609375,
0.59033203125
],
[
0.50341796875,
0.5771484375,
0.88818359375,
0.5771484375,
0.88818359375,
0.59033203125,
0.50341796875,
0.59033203125
],
[
0.08251953125,
0.59326171875,
0.2442626953125,
0.59326171875,
0.2442626953125,
0.60693359375,
0.08251953125,
0.60693359375
],
[
0.50634765625,
0.5947265625,
0.8896484375,
0.5947265625,
0.8896484375,
0.60498046875,
0.50634765625,
0.60498046875
],
[
0.50341796875,
0.60693359375,
0.890625,
0.60595703125,
0.890625,
0.62060546875,
0.50341796875,
0.6220703125
],
[
0.101318359375,
0.619140625,
0.468017578125,
0.619140625,
0.468017578125,
0.63330078125,
0.101318359375,
0.63330078125
],
[
0.50341796875,
0.62255859375,
0.69921875,
0.62255859375,
0.69921875,
0.63623046875,
0.50341796875,
0.63623046875
],
[
0.08416748046875,
0.63623046875,
0.465576171875,
0.63623046875,
0.465576171875,
0.646484375,
0.08416748046875,
0.646484375
],
[
0.08251953125,
0.6494140625,
0.468017578125,
0.6494140625,
0.468017578125,
0.66357421875,
0.08251953125,
0.66357421875
],
[
0.52392578125,
0.64599609375,
0.890625,
0.64599609375,
0.890625,
0.6591796875,
0.52392578125,
0.6591796875
],
[
0.5048828125,
0.66015625,
0.890625,
0.66015625,
0.890625,
0.673828125,
0.5048828125,
0.673828125
],
[
0.08416748046875,
0.66650390625,
0.46728515625,
0.66650390625,
0.46728515625,
0.6767578125,
0.08416748046875,
0.6767578125
],
[
0.08251953125,
0.6796875,
0.468017578125,
0.6796875,
0.468017578125,
0.693359375,
0.08251953125,
0.693359375
],
[
0.50341796875,
0.67529296875,
0.8896484375,
0.67529296875,
0.8896484375,
0.689453125,
0.50341796875,
0.689453125
],
[
0.08087158203125,
0.6943359375,
0.330810546875,
0.6943359375,
0.330810546875,
0.70849609375,
0.08087158203125,
0.70849609375
],
[
0.5048828125,
0.69140625,
0.890625,
0.69140625,
0.890625,
0.70556640625,
0.5048828125,
0.70556640625
],
[
0.50341796875,
0.70556640625,
0.890625,
0.70556640625,
0.890625,
0.7197265625,
0.50341796875,
0.7197265625
],
[
0.101318359375,
0.7216796875,
0.46728515625,
0.7216796875,
0.46728515625,
0.73486328125,
0.101318359375,
0.73486328125
],
[
0.50341796875,
0.72021484375,
0.88818359375,
0.72021484375,
0.88818359375,
0.734375,
0.50341796875,
0.734375
],
[
0.08251953125,
0.736328125,
0.468017578125,
0.736328125,
0.468017578125,
0.75,
0.08251953125,
0.75
],
[
0.50341796875,
0.736328125,
0.88818359375,
0.736328125,
0.88818359375,
0.75,
0.50341796875,
0.75
],
[
0.08087158203125,
0.751953125,
0.46728515625,
0.751953125,
0.46728515625,
0.76513671875,
0.08087158203125,
0.76513671875
],
[
0.5048828125,
0.751953125,
0.88818359375,
0.751953125,
0.88818359375,
0.76513671875,
0.5048828125,
0.76513671875
],
[
0.08087158203125,
0.7666015625,
0.46728515625,
0.767578125,
0.46728515625,
0.78076171875,
0.08087158203125,
0.77978515625
],
[
0.5048828125,
0.767578125,
0.88818359375,
0.767578125,
0.88818359375,
0.78076171875,
0.5048828125,
0.78076171875
],
[
0.08251953125,
0.78076171875,
0.46728515625,
0.7822265625,
0.46728515625,
0.79541015625,
0.08251953125,
0.79443359375
],
[
0.50341796875,
0.78076171875,
0.88818359375,
0.78076171875,
0.88818359375,
0.79443359375,
0.50341796875,
0.79443359375
],
[
0.08251953125,
0.79736328125,
0.468017578125,
0.79736328125,
0.468017578125,
0.81103515625,
0.08251953125,
0.81103515625
],
[
0.5048828125,
0.796875,
0.88818359375,
0.796875,
0.88818359375,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.08416748046875,
0.81298828125,
0.465576171875,
0.81298828125,
0.465576171875,
0.82373046875,
0.08416748046875,
0.82373046875
],
[
0.50341796875,
0.81103515625,
0.8896484375,
0.81103515625,
0.8896484375,
0.82470703125,
0.50341796875,
0.82470703125
],
[
0.08251953125,
0.8271484375,
0.468017578125,
0.8271484375,
0.468017578125,
0.84033203125,
0.08251953125,
0.84033203125
],
[
0.51123046875,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.51123046875,
0.84033203125
],
[
0.08416748046875,
0.84326171875,
0.46728515625,
0.84326171875,
0.46728515625,
0.85400390625,
0.08416748046875,
0.85400390625
],
[
0.50341796875,
0.84130859375,
0.8896484375,
0.84130859375,
0.8896484375,
0.85498046875,
0.50341796875,
0.85498046875
],
[
0.080078125,
0.85595703125,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.080078125,
0.869140625
],
[
0.5048828125,
0.85693359375,
0.88623046875,
0.85693359375,
0.88623046875,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08087158203125,
0.87255859375,
0.468017578125,
0.87255859375,
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.08251953125,
0.88818359375,
0.146240234375,
0.88818359375,
0.146240234375,
0.8994140625,
0.08251953125,
0.8994140625
],
[
0.50634765625,
0.8896484375,
0.87744140625,
0.8896484375,
0.87744140625,
0.8994140625,
0.50634765625,
0.8994140625
]
] |
[
"来与条件生成器玩minimax游戏。对抗性训练策略绕",
"2. Related Work",
"过了训练中潜在因素的棘手推断;然而,鉴别器和生成",
"器之间的不平衡会导致不收敛和模式崩溃问题。基于",
"X到Y转换。我们不是第一个应用条件生成器来学",
"VAE的方法[50,46]将条件生成器网络与一个附加的",
"习X到Y映射的人。提出了一种文本到图像的翻译",
"编码器相关联,该编码器近似后验分布,以推断潜在因",
"用于从文本描述【33]进行图像合成。Zhu等人[66]",
"素,并通过最大化变分下界来训练这两个模型。在本文",
"研究了不同类型图像处理任务的图像到图像转换问题",
"中,我们将证明这些辅助网络都不是训练条件生成器",
"包括从标签图或边缘图合成照片以及从其灰度版本生",
"所必需的",
"成彩色图像。最近,通过从输人源视频中学习映唤射函",
"数来解决视频到视频的转换问题(例如。g。,语义分割",
"在我们的生成ZSL框架中,我们采用条件生成器作",
"掩码序列)到目标逼真视频【49]】。我们的工作学习了",
"为特征到特征的翻译器网络,该网络将类级语义特征",
"ZSL的特征到特征映射。此外,上述所有其他工作都",
"以及实例级潜在因素转换为视觉特征,如图E1所示。",
"基于GAN的框架,这意味着在训练阶段需要采用精心",
"但是,与基于GAN和VAE的方法不同,我们采用理",
"设计的鉴别器网络。我们的框架的不同之处在于,它是",
"论上更准确的估计器,即具有类似EM策略E[6]的最",
"通过交替反向传播算法进行训练的,而不包含任何额",
"大似然估计(MLE)来训练网络,而无需辅助网络的",
"外的辅助网络。这使得我们的框架比基于GAN的框架",
"帮助。通过MLE训练潜在变量模型时要解决的难题",
"更简单,计算效率更高",
"是计算观测数据对数似然的梯度所需的棘手的后验分",
"布。在提出的框架中,我们采用马尔可夫链蒙特卡罗",
"生成模型。我们的模型本质上是一个条件潜变量模",
"(MCMC),如Langevin动力学[51,29],来计算后验",
"型。我们模型的交替反向传播(ABP)训练方法与变分",
"分布。我们证明了最大似然算法涉及相对于模型参数",
"推理(e。g。,VAE)和对抗性学习(e。g。,GAN),这",
"的观测数据对数似然梯度和相对于潜在因子的梯度的",
"两者都需要一个额外的辅助网络,该网络具有一组单",
"计算,这两者都可以通过反向传播来有效地计算",
"独的学习参数,以避免模型中潜在变量的解释性推断",
"与VAE和GAN不同,ABP不涉及辅助网络,而",
"具体来说,所提出的翻译器是通过交替反向传播",
"(ABP)算法来学习的,该算法迭代以下两个步骤:(i)",
"是通过MCMC直接从后验分布中进行采样来执行显",
"推理反向传播:对于每个训练示例,通过从当前学习的",
"式的解释推断,例如Langevin动力学,它由反向传播",
"后验分布通过Langevin动力学进行采样来推断连续潜",
"提供动力。与通过对抗性学习和变分推理方案训练的",
"在因子,其中可以通过反向传播来计算对数关节密度",
"模型相比,通过ABP训练的模型要简单得多,更自然",
"且在统计上更严格。。ABP已用于训练用于图像模式",
"的梯度,可以通过反向传播来学习模型参数,其中通过",
"训练梯度来更新模型参数",
"的通用生成器E[15]和可变形生成器【61],以及用于",
"视频模式的动态生成器E56。我们的论文是15,56",
"ABP算法最初是为训练无条件生成器网络[15,56]",
"的推广,通过应用ABP来训练生成器模型的条件版",
"而提出的。在本文中,我们将ABP推广到学习条件生",
"本以进行特征到特征的转换。生成的ConvNet「58】和",
"成器网络以进行特征到特征的翻译,其中类级别的语",
"WassersteinINN[23]是两个单件模型,它们学习基于",
"义特征起着条件的作用",
"能量的生成模型以生成数据。58和23都通过选代",
"MCMC采样生成数据,而我们的模型通过直接祖先采",
"值得一提的是,所提出的模型能够从不完整的训练",
"样生成数据,效率要高得多",
"示例中学习,其中视觉特征由于图像空间中的遮挡而",
"部分损坏或无法访问。具体来说,我们的模型可以通过",
"零拍学习。ZSL[21,22]的几项开创性工作利用类",
"属性作为中间信息,为看不见的类分类图像。一些ZSL",
"使潜在因素仅解释以类级别语义特征为条件的视觉特",
"征的可见部分来从不完整数据中学习,而基于GAN或",
"方法基于视觉和语义特征之间的双线性兼容功能,可",
"VAE的方法儿乎无法处理这种情况",
"以通过使用(a)的排名损失(e。g。,ALE[1]和",
"DeViSE[12]),(b)结构SVM损失[2]或(c)岭回归",
"我们的贡献可以总结如下:(1)我们提出了一种用",
"损失(e。g。、ESZSL「36]和PTZSL[81)。为了增强",
"于生成ZSL的特征到特征转换器,其中我们学习从类",
"模型的表达能力,几种ZSL方法[53,62,2524,68",
"级别的语义特征以及遵循高斯白噪声分布的实例级别",
"学习非线性多模态嵌人。利用数据生成中的生成模型",
"的潜在因素到视觉特征的映射。(2)我们建议通过交",
"几种方法E[67,11,52,46,4,50]求助于从ZSL的看",
"替反向传播(ABP)算法学习最大似然的翻译器,而不",
"不见的类生成视觉特征。GAZSL「671和FGZSL52",
"依赖于其他辅助网络,这使得我们的框架在统计上更",
"都以分类损失作为正则化对WassersteinGAN[3,14]",
"加严格和优雅。(3)我们表明,所提出的框架可以从",
"以增加合成特征的类间判别。MCGZSL[11]采用周期",
"不完整的训练示例中学习,在这些示例中,由于图像空",
"一致性损失66]正则化ZSL生成器。[50,46]使用条",
"间中的损坏或遮挡,视觉特征部分可见。(4)在各种",
"件VAEs[39]框架学习特征生成器。我们的模型还学",
"ZSL任务上进行的综合实验显示了我们框架的最新性",
"习通过条件生成器从看不见的类生成视觉特征,但是",
"能,对模型的透彻分析表明了所提出框架在不同方面",
"与上面提到的生成ZSL方法不同,我们的模型是通过",
"的优越性",
"交替反向传播来训练的,而不需要辅助模型进行训练"
] |
{
"arxiv_id": "1904.10056",
"language": "zh",
"page_idx": 1
}
|
||
1904.10056-zh-2
|
1904.10056-zh-2.jpg
|
3. Feature-to-Feature Translator
## 3.1. Conditional Latent Variable Model for Feature-to-Feature Translation
让$S=\{(X_i,C_i),i=1,...,n\}$是所看到的类的训练数据,其中$X_i\in\mathcal{X}^D$是$D$维视觉特征(e。g。,从图像中提取的 CNN 特征) 对于第$i$个图像和$C_i\in\mathcal{C}^K$是其$K$维类级语义特征 (e。g。,类属性嵌人)。因为一个类通常对应于许多图像示例,所以我们旨在找到一个一对多类到实例的特征生成器。具体来说,我们尝试学习一个映射$g:\mathcal{C}^K\times\mathcal{Z}^d\to\mathcal{X}^D$,该映射旨在解释通过其相应的类级别特征$C_i$和潜在因子$d$的$d$维向量$Z_i\in\mathcal{Z}^d$从每个图像中提取的视觉特征$X_i$ 。。我们假设$Z_i$是从高斯先验分布$N(0,I_d)$中采样的,其中$I_d$ 代表$d$维单位矩阵。一旦生成器$g$学会从类特征生成图像特征,它也可以从任何看不见的类生成$\widetilde{X}$ 。从形式上讲,特征到特征的映射可以由条件潜变量模型表示如下:
$$\begin{aligned}&Z\sim\mathcal{N}(0,I_d),\\&X=g_\theta(C,Z)+\epsilon,\epsilon\sim\mathcal{N}(0,\sigma^2I_D),\end{aligned}$$
(1)
,其中$\theta$包含映射函数$g$中的所有学习参数,而$\epsilon$是遵循高斯分布的$D$维噪声向量。映射$g$可以是任何非线性映射。在本文中,我们采用$g$的自顶向下 MLP 参数化,也称为条件生成器网络,将潜在因素$Z$以及类特征$C$映射到视觉特征$X$ 。通常,该模型由潜在因子$Z\sim p(Z)$的先验分布和条件分布定义,以在给定类特征和潜在因子的情况下生成视觉特征,即。e。, $[X|Z,C]\sim p_{\theta}(X|Z,C)$。假设$q_\mathrm{data}(X|C)$是真实的分布,它在给定相关类特征的情况下生成训练视觉特征。学习此模型的目的是使$\theta$上的 Kullback-Leibler 散度KL$(q_\text{data}(X|C)\|p_\theta(X|C))$最小化。
$3. 2. \textbf{ Learning by Alternating Back- Propagation}$
3.2.1 Maximum Likelihood Learning
我们的模型$p_\theta(X|C)$的最大似然估计(MLE) 等效于在$\theta$上最小化 Kullback-Leibler 散度KL$(q_\text{data}(X|C)\|p_\theta(X|C))$ 。完整的数据模型由
(2)
$$\begin{aligned}&\log p_{\theta}(X,Z|C)=\log[p_{\theta}(X|Z,C)p(Z)]\\&=-\frac{1}{2\sigma^{2}}\|X-g_{\theta}(C,Z)\|^{2}-\frac{1}{2}\|Z\|^{2}+\mathrm{const},\end{aligned}$$
给出,其中常数项与$X,Z$和$\theta$无关。通过整合潜在
因素$Z$获得观测数据模型或对数似然:
(3)
$$\log p_\theta(X|C)=\log\int p_\theta(X|Z,C)p(Z)dZ.$$
假设我们观察训练数据$S=\{(X_i,C_i),i=1,...,n\}$ 和$[X|C]\sim p_\theta(X|C)$, MLE 的目标是最大化观察数据对数似然:
$$L(\theta)=\sum_{i=1}^{n}\log p_{\theta}(X_{i}|C_{i}).$$
(4)
在不失一般性的情况下,为了简洁起见,我们考虑一个观察到的对$(X_i,C_i)$并省略下标$i$ 。为了最大化对数似然,我们采用梯度上升策略。相对于$\theta$的对数似然梯度可以通过以下公式计算:
$$\begin{aligned}\frac{\partial}{\partial\theta}\log p_{\theta}(X|C)&=\frac{1}{p_{\theta}(X|C)}\frac{\partial}{\partial\theta}p_{\theta}(X|C)\\&=\mathbb{E}_{Z\sim p_{\theta}(Z|X,C)}\left[\frac{\partial}{\partial\theta}\log p_{\theta}(X,Z|C)\right].\end{aligned}$$
3.2.2 Inferential Back-Popagation
由于相对于后验分布的期望$p_\theta(Z|X,C)$在方程(5)中, 我们求助于平均值,。具体来说,我们采用 Langevin 动力学,它通过迭代执行采样:
$$\begin{aligned}Z_{\tau+1}&=Z_{\tau}+\frac{s^{2}}{2}\frac{\partial}{\partial Z}\log p_{\theta}(X,Z_{\tau}|C)+sU_{\tau},\\&=Z_{\tau}+sU_{\tau}+\\&\frac{s^{2}}{2}\left[\frac{1}{\sigma^{2}}(X-g_{\theta}(C,Z_{\tau}))\frac{\partial}{\partial Z}g_{\theta}(C,Z_{\tau})-Z_{\tau}\right],\end{aligned}$$
(6)
其中$\tau$表示 Langevin 动力学的时间步长,$U_\tau$是与布朗运动相对应的高斯白噪声,添加该噪声是为了防止链被局部模式捕获,而$s$是步长
由于 MCMC 的计算成本很高,因此在每次学习迭代中从头开始生成独立样本是不可行的。实际上,当前迭代中潜在因子$Z$ 的 MCMC 过渡是从先前学习迭代获得的$Z$ 的先前更新结果开始的。我们在开始时使用高斯白噪声初始化$Z$ 。具有这种热启动方案的持久MCMC 更新足够有效和高效,可以从后验分布中提供公平的样本
我们通过从当前$Z_i$开始运行 Langevin 动力学的有限步骤,从$p_\theta(Z_i|X_i,C_i)$中采样$Z_i$的单个副本,来推断每个观察到的对$(X_i,C_i)$的潜在因子$Z_i$ (i。e。,温暖的开始)。这是一个有条件的解释推理,解决了一个反问题,即给定图像的特定视觉特征及其相关的类特征,如何获得其相应的潜在因素。与 VAE 不同,我们的模型不需要招募额外的网络进行推理
$???>\theta$的$\theta\_$MATHX\_$1<Z$的问题是$\theta$的$L(\theta)$
的$\theta\_$MATHX\_1 的线性函数,$\theta$的$\theta<$
3.2.3 Learning Back-Popagation
3.2.4 Alternating Back-Propagation Algorithm
计算公式(6)的关键是计算$\partial g_\theta(C,Z)/\partial Z$ ,而计算公式(??)的关键是计算$\partial g_\theta(C,Z)/\partial\theta$ 。它们都可以通过反向传播有效地计算。算法 1 描述了学习和采样算法的细节
3.3. Comparison with Variational Inference
我们的学习算法利用 1 中的$p_\phi(Z|X,C)$
<XMTHX\_2<XMTHX\_2\_8XMATHMAX\_2<NEXT\_LIN2>XMT
|
[
[
0.080078125,
0.0921630859375,
0.359375,
0.0921630859375,
0.359375,
0.1060791015625,
0.080078125,
0.1060791015625
],
[
0.52392578125,
0.0947265625,
0.8896484375,
0.0947265625,
0.8896484375,
0.10479736328125,
0.52392578125,
0.10479736328125
],
[
0.51953125,
0.10797119140625,
0.890625,
0.10797119140625,
0.890625,
0.121826171875,
0.51953125,
0.121826171875
],
[
0.08087158203125,
0.117431640625,
0.1380615234375,
0.117431640625,
0.1380615234375,
0.1287841796875,
0.08087158203125,
0.1287841796875
],
[
0.1422119140625,
0.11614990234375,
0.468017578125,
0.11614990234375,
0.468017578125,
0.1300048828125,
0.1422119140625,
0.1300048828125
],
[
0.50341796875,
0.12249755859375,
0.89208984375,
0.12249755859375,
0.89208984375,
0.1363525390625,
0.50341796875,
0.1363525390625
],
[
0.12091064453125,
0.1319580078125,
0.359375,
0.1319580078125,
0.359375,
0.1458740234375,
0.12091064453125,
0.1458740234375
],
[
0.5048828125,
0.1383056640625,
0.740234375,
0.1383056640625,
0.740234375,
0.1514892578125,
0.5048828125,
0.1514892578125
],
[
0.1004638671875,
0.1546630859375,
0.468017578125,
0.1546630859375,
0.468017578125,
0.1685791015625,
0.1004638671875,
0.1685791015625
],
[
0.51318359375,
0.1641845703125,
0.52685546875,
0.1641845703125,
0.52685546875,
0.1749267578125,
0.51318359375,
0.1749267578125
],
[
0.66259765625,
0.1622314453125,
0.72216796875,
0.1622314453125,
0.72216796875,
0.1767578125,
0.66259765625,
0.1767578125
],
[
0.50341796875,
0.173583984375,
0.6357421875,
0.1654052734375,
0.63818359375,
0.186279296875,
0.50634765625,
0.1944580078125
],
[
0.07843017578125,
0.1666259765625,
0.468017578125,
0.1673583984375,
0.468017578125,
0.1849365234375,
0.07843017578125,
0.184326171875
],
[
0.08087158203125,
0.184326171875,
0.468017578125,
0.18310546875,
0.468017578125,
0.1976318359375,
0.08087158203125,
0.1988525390625
],
[
0.6357421875,
0.1787109375,
0.78515625,
0.1673583984375,
0.78759765625,
0.1875,
0.63818359375,
0.1988525390625
],
[
0.08087158203125,
0.199462890625,
0.453369140625,
0.199462890625,
0.453369140625,
0.2139892578125,
0.08087158203125,
0.2139892578125
],
[
0.619140625,
0.2008056640625,
0.77294921875,
0.212158203125,
0.76953125,
0.2298583984375,
0.61669921875,
0.2183837890625
],
[
0.73876953125,
0.199462890625,
0.76708984375,
0.199462890625,
0.76708984375,
0.2108154296875,
0.73876953125,
0.2108154296875
],
[
0.76318359375,
0.2052001953125,
0.87353515625,
0.20263671875,
0.87353515625,
0.2203369140625,
0.76318359375,
0.222900390625
],
[
0.080078125,
0.21337890625,
0.45751953125,
0.2139892578125,
0.45751953125,
0.2279052734375,
0.080078125,
0.2266845703125
],
[
0.08251953125,
0.2298583984375,
0.468017578125,
0.2298583984375,
0.468017578125,
0.24365234375,
0.08251953125,
0.24365234375
],
[
0.869140625,
0.2298583984375,
0.890625,
0.2298583984375,
0.890625,
0.24365234375,
0.869140625,
0.24365234375
],
[
0.08087158203125,
0.2442626953125,
0.46728515625,
0.2442626953125,
0.46728515625,
0.25830078125,
0.08087158203125,
0.25830078125
],
[
0.50244140625,
0.250732421875,
0.75732421875,
0.250732421875,
0.75732421875,
0.264404296875,
0.50244140625,
0.264404296875
],
[
0.08251953125,
0.260009765625,
0.46728515625,
0.260009765625,
0.46728515625,
0.2734375,
0.08251953125,
0.2734375
],
[
0.08251953125,
0.276611328125,
0.46728515625,
0.276611328125,
0.46728515625,
0.287353515625,
0.08251953125,
0.287353515625
],
[
0.50634765625,
0.27587890625,
0.8857421875,
0.27587890625,
0.8857421875,
0.285888671875,
0.50634765625,
0.285888671875
],
[
0.080078125,
0.2890625,
0.468017578125,
0.290283203125,
0.468017578125,
0.3037109375,
0.080078125,
0.302978515625
],
[
0.50341796875,
0.2890625,
0.890625,
0.2890625,
0.890625,
0.302978515625,
0.50341796875,
0.302978515625
],
[
0.080078125,
0.3037109375,
0.468017578125,
0.304931640625,
0.468017578125,
0.3193359375,
0.080078125,
0.318115234375
],
[
0.50341796875,
0.304931640625,
0.7060546875,
0.304931640625,
0.7060546875,
0.318115234375,
0.50341796875,
0.318115234375
],
[
0.08251953125,
0.32080078125,
0.468017578125,
0.32080078125,
0.468017578125,
0.333984375,
0.08251953125,
0.333984375
],
[
0.60888671875,
0.328857421875,
0.64892578125,
0.328857421875,
0.64892578125,
0.343505859375,
0.60888671875,
0.343505859375
],
[
0.08087158203125,
0.3359375,
0.468017578125,
0.3359375,
0.468017578125,
0.349853515625,
0.08087158203125,
0.349853515625
],
[
0.50732421875,
0.3359375,
0.82275390625,
0.3359375,
0.82275390625,
0.3642578125,
0.50732421875,
0.3642578125
],
[
0.08251953125,
0.352783203125,
0.1380615234375,
0.352783203125,
0.1380615234375,
0.363037109375,
0.08251953125,
0.363037109375
],
[
0.55224609375,
0.363037109375,
0.64892578125,
0.363037109375,
0.64892578125,
0.37744140625,
0.55224609375,
0.37744140625
],
[
0.869140625,
0.365478515625,
0.890625,
0.365478515625,
0.890625,
0.37890625,
0.869140625,
0.37890625
],
[
0.15283203125,
0.375,
0.250732421875,
0.375,
0.250732421875,
0.389404296875,
0.15283203125,
0.389404296875
],
[
0.44677734375,
0.385009765625,
0.468017578125,
0.385009765625,
0.468017578125,
0.399658203125,
0.44677734375,
0.399658203125
],
[
0.5537109375,
0.386474609375,
0.576171875,
0.386474609375,
0.576171875,
0.39453125,
0.5537109375,
0.39453125
],
[
0.59228515625,
0.386474609375,
0.8505859375,
0.38818359375,
0.8505859375,
0.417236328125,
0.59228515625,
0.415283203125
],
[
0.72216796875,
0.3818359375,
0.734375,
0.385009765625,
0.7294921875,
0.395751953125,
0.71728515625,
0.392578125
],
[
0.1502685546875,
0.393310546875,
0.396240234375,
0.39453125,
0.396240234375,
0.4091796875,
0.1502685546875,
0.40771484375
],
[
0.576171875,
0.386962890625,
0.5810546875,
0.386962890625,
0.5810546875,
0.392578125,
0.576171875,
0.392578125
],
[
0.5537109375,
0.399658203125,
0.6005859375,
0.399658203125,
0.6005859375,
0.410888671875,
0.5537109375,
0.410888671875
],
[
0.096435546875,
0.423583984375,
0.4697265625,
0.423583984375,
0.4697265625,
0.4375,
0.096435546875,
0.4375
],
[
0.5048828125,
0.4287109375,
0.8896484375,
0.4287109375,
0.8896484375,
0.439453125,
0.5048828125,
0.439453125
],
[
0.08087158203125,
0.439453125,
0.468017578125,
0.439453125,
0.468017578125,
0.45263671875,
0.08087158203125,
0.45263671875
],
[
0.5048828125,
0.442626953125,
0.890625,
0.442626953125,
0.890625,
0.455810546875,
0.5048828125,
0.455810546875
],
[
0.08251953125,
0.453857421875,
0.468017578125,
0.453857421875,
0.468017578125,
0.46728515625,
0.08251953125,
0.46728515625
],
[
0.50341796875,
0.458251953125,
0.734375,
0.458251953125,
0.734375,
0.4716796875,
0.50341796875,
0.4716796875
],
[
0.08416748046875,
0.47021484375,
0.46728515625,
0.47021484375,
0.46728515625,
0.48095703125,
0.08416748046875,
0.48095703125
],
[
0.52392578125,
0.472900390625,
0.89208984375,
0.472900390625,
0.89208984375,
0.486083984375,
0.52392578125,
0.486083984375
],
[
0.08251953125,
0.484130859375,
0.46728515625,
0.484130859375,
0.46728515625,
0.49755859375,
0.08251953125,
0.49755859375
],
[
0.5048828125,
0.488037109375,
0.890625,
0.488037109375,
0.890625,
0.501953125,
0.5048828125,
0.501953125
],
[
0.080078125,
0.49755859375,
0.46728515625,
0.498779296875,
0.46728515625,
0.51220703125,
0.080078125,
0.51123046875
],
[
0.5048828125,
0.50244140625,
0.890625,
0.50244140625,
0.890625,
0.5166015625,
0.5048828125,
0.5166015625
],
[
0.08251953125,
0.51513671875,
0.451904296875,
0.51513671875,
0.451904296875,
0.52587890625,
0.08251953125,
0.52587890625
],
[
0.5048828125,
0.51806640625,
0.890625,
0.51806640625,
0.890625,
0.5322265625,
0.5048828125,
0.5322265625
],
[
0.08087158203125,
0.52880859375,
0.46728515625,
0.52880859375,
0.46728515625,
0.54248046875,
0.08087158203125,
0.54248046875
],
[
0.50341796875,
0.5341796875,
0.8896484375,
0.5341796875,
0.8896484375,
0.54736328125,
0.50341796875,
0.54736328125
],
[
0.08087158203125,
0.54443359375,
0.468017578125,
0.54443359375,
0.468017578125,
0.55810546875,
0.08087158203125,
0.55810546875
],
[
0.50341796875,
0.54736328125,
0.89208984375,
0.54736328125,
0.89208984375,
0.56103515625,
0.50341796875,
0.56103515625
],
[
0.08087158203125,
0.5595703125,
0.468017578125,
0.5595703125,
0.468017578125,
0.57275390625,
0.08087158203125,
0.57275390625
],
[
0.5048828125,
0.56298828125,
0.5849609375,
0.56298828125,
0.5849609375,
0.57470703125,
0.5048828125,
0.57470703125
],
[
0.080078125,
0.57373046875,
0.32177734375,
0.57373046875,
0.32177734375,
0.58837890625,
0.080078125,
0.58837890625
],
[
0.52294921875,
0.57763671875,
0.8896484375,
0.57763671875,
0.8896484375,
0.59130859375,
0.52294921875,
0.59130859375
],
[
0.5048828125,
0.59326171875,
0.890625,
0.59326171875,
0.890625,
0.60693359375,
0.5048828125,
0.60693359375
],
[
0.080078125,
0.599609375,
0.449462890625,
0.599609375,
0.449462890625,
0.61279296875,
0.080078125,
0.61279296875
],
[
0.50341796875,
0.60693359375,
0.890625,
0.609375,
0.890625,
0.62255859375,
0.50341796875,
0.62060546875
],
[
0.080078125,
0.62255859375,
0.35693359375,
0.62255859375,
0.35693359375,
0.63623046875,
0.080078125,
0.63623046875
],
[
0.50341796875,
0.62353515625,
0.890625,
0.62353515625,
0.890625,
0.63720703125,
0.50341796875,
0.63720703125
],
[
0.5048828125,
0.6396484375,
0.890625,
0.6396484375,
0.890625,
0.65283203125,
0.5048828125,
0.65283203125
],
[
0.08087158203125,
0.64599609375,
0.468017578125,
0.64599609375,
0.468017578125,
0.6591796875,
0.08087158203125,
0.6591796875
],
[
0.50341796875,
0.65380859375,
0.890625,
0.65380859375,
0.890625,
0.66748046875,
0.50341796875,
0.66748046875
],
[
0.08087158203125,
0.6611328125,
0.468017578125,
0.6611328125,
0.468017578125,
0.6748046875,
0.08087158203125,
0.6748046875
],
[
0.5048828125,
0.67041015625,
0.779296875,
0.67041015625,
0.779296875,
0.68115234375,
0.5048828125,
0.68115234375
],
[
0.08087158203125,
0.6767578125,
0.4150390625,
0.6767578125,
0.4150390625,
0.68994140625,
0.08087158203125,
0.68994140625
],
[
0.52392578125,
0.681640625,
0.8896484375,
0.6845703125,
0.8896484375,
0.69873046875,
0.52392578125,
0.6962890625
],
[
0.111083984375,
0.69873046875,
0.37744140625,
0.69873046875,
0.37744140625,
0.7119140625,
0.111083984375,
0.7119140625
],
[
0.5048828125,
0.70068359375,
0.79736328125,
0.70068359375,
0.79736328125,
0.7109375,
0.5048828125,
0.7109375
],
[
0.158447265625,
0.71533203125,
0.1690673828125,
0.724609375,
0.16015625,
0.73193359375,
0.1478271484375,
0.7236328125
],
[
0.44677734375,
0.7138671875,
0.46728515625,
0.7138671875,
0.46728515625,
0.72802734375,
0.44677734375,
0.72802734375
],
[
0.1650390625,
0.72265625,
0.3095703125,
0.7197265625,
0.3095703125,
0.73779296875,
0.1650390625,
0.7412109375
],
[
0.2900390625,
0.7236328125,
0.420654296875,
0.71044921875,
0.426513671875,
0.74072265625,
0.295654296875,
0.75390625
],
[
0.1396484375,
0.73291015625,
0.1707763671875,
0.73291015625,
0.1707763671875,
0.74560546875,
0.1396484375,
0.74560546875
],
[
0.5009765625,
0.73095703125,
0.74853515625,
0.73193359375,
0.74853515625,
0.7470703125,
0.5009765625,
0.74560546875
],
[
0.08087158203125,
0.7568359375,
0.468017578125,
0.7568359375,
0.468017578125,
0.77099609375,
0.08087158203125,
0.77099609375
],
[
0.50244140625,
0.755859375,
0.85302734375,
0.755859375,
0.85302734375,
0.76953125,
0.50244140625,
0.76953125
],
[
0.08251953125,
0.7734375,
0.35546875,
0.7734375,
0.35546875,
0.7841796875,
0.08251953125,
0.7841796875
],
[
0.50634765625,
0.77978515625,
0.8896484375,
0.77978515625,
0.8896484375,
0.79052734375,
0.50634765625,
0.79052734375
],
[
0.5048828125,
0.79345703125,
0.890625,
0.79345703125,
0.890625,
0.806640625,
0.5048828125,
0.806640625
],
[
0.13232421875,
0.80029296875,
0.419189453125,
0.80029296875,
0.419189453125,
0.81494140625,
0.13232421875,
0.81494140625
],
[
0.4453125,
0.8017578125,
0.46728515625,
0.8017578125,
0.46728515625,
0.814453125,
0.4453125,
0.814453125
],
[
0.5048828125,
0.8095703125,
0.890625,
0.8095703125,
0.890625,
0.82275390625,
0.5048828125,
0.82275390625
],
[
0.5048828125,
0.82470703125,
0.5849609375,
0.82470703125,
0.5849609375,
0.8359375,
0.5048828125,
0.8359375
],
[
0.10296630859375,
0.8369140625,
0.465576171875,
0.8369140625,
0.465576171875,
0.84765625,
0.10296630859375,
0.84765625
],
[
0.08087158203125,
0.85107421875,
0.468017578125,
0.85107421875,
0.468017578125,
0.8642578125,
0.08087158203125,
0.8642578125
],
[
0.50244140625,
0.8486328125,
0.84326171875,
0.8486328125,
0.84326171875,
0.8623046875,
0.50244140625,
0.8623046875
],
[
0.08087158203125,
0.8662109375,
0.1544189453125,
0.8662109375,
0.1544189453125,
0.87744140625,
0.08087158203125,
0.87744140625
],
[
0.1846923828125,
0.87353515625,
0.36279296875,
0.87548828125,
0.36279296875,
0.89306640625,
0.1846923828125,
0.8916015625
],
[
0.4453125,
0.87744140625,
0.468017578125,
0.87744140625,
0.468017578125,
0.892578125,
0.4453125,
0.892578125
],
[
0.52294921875,
0.87255859375,
0.890625,
0.87255859375,
0.890625,
0.88623046875,
0.52294921875,
0.88623046875
],
[
0.240234375,
0.892578125,
0.2646484375,
0.892578125,
0.2646484375,
0.90478515625,
0.240234375,
0.90478515625
],
[
0.50634765625,
0.88818359375,
0.99658203125,
0.88818359375,
0.99658203125,
0.8984375,
0.50634765625,
0.8984375
]
] |
[
"3.Feature-to-Feature Translator",
"在不失一般性的情况下,为了简洁起见,我们考虑",
"个观察到的对(X,,Ci)并省略下标i。为了最大化",
"3.1.",
"Conditional Latent Variable Model for",
"对数似然,我们采用梯度上升策略。相对于θ的对数",
"Feature-to-Feature Translation",
"似然梯度可以通过以下公式计算:",
"让S=(X,Ci),i=1,n)是所看到的类的训练",
"a",
"1a",
" log pe(X/C) =",
"数据,其中x,eD是D维视觉特征(e。g。,从图",
"像中提取的CNN特征)对于第i个图像和CiEcK是",
"pe(XC) a Po(X/C)",
"其K维类级语义特征(e。g。,类属性嵌人)。因为",
"=Ez~pe(Z)X,C)0",
"a",
"log pe(X, Z/C)",
"个类通常对应于许多图像示例,所以我们旨在找到一",
"个一对多类到实例的特征生成器。具体来说,我们尝试",
"(5)",
"学习一个映射g:CK×zd→XD,该映射旨在解释通",
"3.2.2Inferential Back-Popagation",
"过其相应的类级别特征Ci和潜在因子d的d维向量",
"Z,EZd从每个图像中提取的视觉特征X,。。我们假",
"由于相对于后验分布的期望pe(ZX,C)在方程(5)中",
"设Zi是从高斯先验分布N(O,Ia)中采样的,其中Id",
"我们求助于平均值,具体来说,我们采用Langevin动",
"代表d维单位矩阵。一旦生成器g学会从类特征生成",
"力学,它通过迭代执行采样:",
"图像特征,它也可以从任何看不见的类生成X。从形",
"s28",
"式上讲,特征到特征的映射可以由条件潜变量模型表",
"Z++1 = Z + 2&z og po(X, Zz/IC) + sUt,",
"示如下:",
"= Z + $U.+",
"(6)",
"Z ~ N(0, Ia),",
"(1)",
"S2",
"(X - 9o(C,Z.) z9o(C, Z.) Z",
"a",
"X = ge(C, Z) + E,E~ N(0, 2ID),",
"",
"22",
"其中θ包含映射函数g中的所有学习参数,而ε是",
"其中T表示Langevin动力学的时间步长,U-是与布",
"遵循高斯分布的D维噪声向量。映射g可以是任何",
"朗运动相对应的高斯白噪声,添加该噪声是为了防止",
"非线性映射。在本文中,我们采用9的自顶向下MLP",
"链被局部模式捕获,而s是步长",
"参数化,也称为条件生成器网络,将潜在因素Z以及",
"由于MCMC的计算成本很高,因此在每次学习迭",
"类特征C映射到视觉特征X。通常,该模型由潜在",
"代中从头开始生成独立样本是不可行的。实际上,当",
"因子Z~p(Z)的先验分布和条件分布定义,以在给",
"前迭代中潜在因子Z的MCMC过渡是从先前学习迭",
"定类特征和潜在因子的情况下生成视觉特征,即。e。",
"代获得的Z的先前更新结果开始的。我们在开始时使",
"[XZ,Cl~pe(XZ,C)。假设qdata(X|C)是真实的分",
"用高斯白噪声初始化Z。具有这种热启动方案的持久",
"布,它在给定相关类特征的情况下生成训练视觉特征。",
"MCMC更新足够有效和高效,可以从后验分布中提供",
"学习此模型的目的是使θ上的Kullback-Leibler散度",
"公平的样本",
"KL(qdata(X|C)lpe(X|C))最小化。",
"我们通过从当前Z,开始运行Langevin动力学的有",
"限步骤,从pe(ZiXi,C)中采样Z,的单个副本,来推",
"3.2.Learning by Alternating Back-Propagation",
"断每个观察到的对(Xi,C)的潜在因子Z(i。e。,温",
"3.2.1Maximum Likelihood Learning",
"暖的开始)。这是一个有条件的解释推理,解决了一个",
"反问题,即给定图像的特定视觉特征及其相关的类特",
"我们的模型Pe(X|C)的最大似然估计(MLE)",
"征,如何获得其相应的潜在因素。与VAE不同,我们",
"等效于在上最小化Kullback-Leibler散度",
"的模型不需要招募额外的网络进行推理",
"KL(qdata(XC)pe(XC))。完整的数据模型由",
"???>的MATHX_1<Z的问题是的L()",
"log pe(X, Z|C) = log[pe(X|Z, C)p(Z))",
"的0MATHX1的线性函数,0的9<",
"1",
"(2)",
"ll - ge(C, z)12 _",
"-2/22 + const,",
"2g2",
"3.2.3LearningBack-Popagation",
"给出,其中常数项与X,Z和θ无关。通过整合潜在",
"3.2.4Alternating Back-Propagation Algorithm",
"因素Z获得观测数据模型或对数似然:",
"计算公式(6)的关键是计算age(C.Z)/az,而计算",
"公式(??)的关键是计算age(C,Z)/ao。它们都可以",
"log pe(X|C) = log / pe(XZ,C)p(Z)dZ.",
"(3)",
"通过反向传播有效地计算。算法1描述了学习和采样",
"算法的细节",
"假设我们观察训练数据S=XC,i=1.,n",
"和[X|C]~pe(X|C,MLE的目标是最大化观察数据",
"3.3. Comparison with Variational Inference",
"对数似然:",
"L(0) =log pe(X;Ci).",
"(4)",
"我们的学习算法利用1中的Ps(ZX,C)",
"21",
"<XMTHX2<XMTHX28XMATHMAX2<NEXTLIN2>XMT"
] |
{
"arxiv_id": "1904.10056",
"language": "zh",
"page_idx": 2
}
|
||
1904.10056-zh-3
|
1904.10056-zh-3.jpg
|
<table>
<tbody>
<tr>
<td>factors</td>
<td> </td>
<td>0rs</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td>2: </td>
<td>for $N$ do Y step</td>
</tr>
<tr>
<td>3:</td>
<td>Inferential back-propagation: For each $i$,run $l$ steps of Langevin dynamics to sample $Z_i\sim$ $p_{\theta}(Z_{i}|X_{i},C_{i})$ with warm start, i.e., starting from ten follows (6). the cl $1rront$ ${+}^{\prime}/$ s equation</td>
</tr>
<tr>
<td>1</td>
<td>$\gamma _{t}L^{\prime }( \theta )$ ,where $L^\prime(\theta)$ is computed according to equation (??),with learning rate $\gamma_t.$</td>
</tr>
</tbody>
</table>
$\phi$ @XMTHMA2 的 XMTHMAX\_。与最大似然目标KL$(q_{\mathrm{data}}(X|C)\|p_{\theta}(X|C))$相比,后者是以$C$为条件的$X$的边际分布之间的 KL-散度,而 VAE 目标是以$C$为条件的$(Z,X)$的联合分布之间的 KL-散度(i。e。,最大似然目标的上界。)如下所示:mathfonts $\textcircled{\mathrm{QQQ}}\neq1$XMATHLINX 的 XMATHX。也就是说,当$\operatorname{KL}(p_\phi(Z|X,C)\|p_\theta(Z|X,C))=0$时,变分推理等价于最大似然解。因此,我们的学习算法比 VAE 更自然、 更直接、更准确、更计算高效。
4. Zero-Shot Learning
4.1. Classification in Zero-Shot Learning
映射$[C,Z]\to X$的特征到特征转换器可以被视为局部线性嵌入[37]的显式实现,其中[C,Z]是$X$ 的嵌入,具有类特征$C_{\mathrm{~}}$和非类特征$Z$的分离。给定任何看不见的类$C^u\in\mathcal{C}^K$,我们可以为看不见的类生成任意多个视觉特征,方法是首先从$\mathcal{N}(0,I_d)$中采样$Z$, 然后通过学习的特征到特征转换器$\widetilde{X}=g_\theta(C^u,Z)+\epsilon$ 将$(C^u,Z)$映射到$X$ 。使用生成的看不见的类的数据, 可以通过任何常规的监督分类器预测来自看不见的类的测试示例的标签。在这里,我们为 ZSL 使用 KNN 分类器$(K=20)$,因为它很简单,而为 GZSL 使用softmax 分类器,如$\mathbb{E}[55]$ 中建议的
4.2. Learning from Incomplete Visual Features
推理反向传播步骤执行解释性推理,其中潜在因素相互竞争以解释观察到的视觉特征。这在训练视觉特征不完整的场景中非常有用。在这种情况下,我们的模型仍然能够通过交替的反向传播算法从不完整的视觉特征中学习。仍然可以通过解释不完整的观察到的视觉特征来获得潜在因素,并且仍然可以像以前一样更新模型参数。以$\mathbb{E}[67]$ 中的特征为例,Zhu 等人训练
了一个零件检测器,以定位鸟类的小语义部分,例如头和尾,并将零件的提取特征连接在一起,作为 ZSL 的对象的视觉表示。零件特征在两种情况下是不可访间的:(a) 语义部分没有出现在图像中,例如,当鸟类在前视图中时,不能观察到尾巴;(b) 检测器无法发现零件。在这些情况下,为缺失部分的特征向量的相应 bin 分配零。我们可以通过将$\|X-g_\theta(C,Z)\|^2$的计算改为$\|M\circ(X-g_\theta(C,Z))\|^2$来很容易地使我们的 ABP 算法适应上述情况,其中$M$是给定的二进制指示符矩阵, 其大小与$X$相同,1 表示“可见”, 0 表示“缺失”,符号$\circ$表示逐元素矩阵乘法运算。指标矩阵$M_i$因不同的视觉特征$X_i$而异。请注意,基于 GAN 或 VAE 的方法很难处理从不完整的视觉特征中学习
# 5. Experiments
# 5.1. Experiment Settings
数据集。我们在四个广泛使用的 ZSL 基准数据集上评估了生成 ZSL 的拟议框架,并将其与许多最先进的基线进行了比较。数据集包括:(1)Caltech-UCSDBirds- 200-2011(CUB)E[48] ,(2)具有属性的动物( AwA1)E [22] , (3) 具有属性的动物 2 ( AwA2)E[54] , (4) SUN 属性 (SUN)$\mathsf{E}[31]$ 。CUB 是鸟类物种的细粒度数据集, 具有 312 个类级别属性。AwA1 是一个粗粒度的数据集,包括具有 85 个属性的 50 类动物。由于 AwA1 中的原始图像由于版权许可问题而无法公开,Xianetal [54] 通过为 AwA1 中的每个类收集新图像来创建新数据集AwA2, 同时保持属性注释与 AwA1 相同。SUN 包含717 种类型的场景,具有 102 个属性。我们遵循[54] 中的训练/测试拆分设置,这可确保在预训练视觉特征提取器的 ImageNet 数据集中不包含看不见的类,以避免违反 ZSL 的设置。此外,我们还在大规模数据集上进行了实验,即。e。,ImageNet-21K[7]。在这个具有挑战性的数据集中,没有可用的属性注释。我们使用类名的词嵌入作为类的语义表示[5]
实施详细信息。我们的翻译器由具有 4,096 个节点的单个隐藏层的多层感知器实现。LeakyReLU 和 ReLU 分别用作隐藏层和输出层上的非线性激活函数。潜在因子$z$的维数设置为 10。我们修复$\sigma=0$。3, $l=10$和$s=0$。3。我们的模型使用 64 的批量大小和 Adam 优化器进行训练,学习率为10^{-3},$\beta_1=0。9和\beta_2=0$。999。epoch 的数量是 50。我们的模型使用 Pytorch 框架$\boxed{\mathrm{F}[30]\text{ 实现,并在一个 NVIDIATITANXpGPU 上进}}$ 行了训练。我们的代码是公开的在线$^{1}$
# 5.2. Zero-Shot Learning
至于零拍学习设置,我们遵循$\mathbb{E}[54]$ 中使用的评估协议,其中结果是通过平均每类 top-1 精度来衡量的。我们与 15 种最先进的方法进行了比较,包括 11 种非生成方法和 4 种生成方法,分别在表 1 中显示。对于GAZSL、FGZSL 和 MCGZSL, 我们通过运行它们的代码来获得结果。我们自己重新实现 VZSL,因为没有
$^{1}$https://github.com/EthanZhu90/ZSL\_ABF
|
[
[
0.08087158203125,
0.091552734375,
0.468017578125,
0.0921630859375,
0.468017578125,
0.106689453125,
0.08087158203125,
0.1060791015625
],
[
0.5048828125,
0.091552734375,
0.890625,
0.0921630859375,
0.890625,
0.106689453125,
0.5048828125,
0.1060791015625
],
[
0.08087158203125,
0.10797119140625,
0.373291015625,
0.10797119140625,
0.373291015625,
0.121826171875,
0.08087158203125,
0.121826171875
],
[
0.5048828125,
0.10797119140625,
0.8896484375,
0.10797119140625,
0.8896484375,
0.121826171875,
0.5048828125,
0.121826171875
],
[
0.08087158203125,
0.1275634765625,
0.46728515625,
0.126953125,
0.46728515625,
0.141357421875,
0.08087158203125,
0.1427001953125
],
[
0.50341796875,
0.12249755859375,
0.890625,
0.12371826171875,
0.890625,
0.136962890625,
0.50341796875,
0.1363525390625
],
[
0.1094970703125,
0.1427001953125,
0.468017578125,
0.1427001953125,
0.468017578125,
0.1572265625,
0.1094970703125,
0.1572265625
],
[
0.5048828125,
0.1383056640625,
0.890625,
0.1383056640625,
0.890625,
0.1514892578125,
0.5048828125,
0.1514892578125
],
[
0.1094970703125,
0.1578369140625,
0.38232421875,
0.1578369140625,
0.38232421875,
0.1717529296875,
0.1094970703125,
0.1717529296875
],
[
0.50634765625,
0.1546630859375,
0.8896484375,
0.1546630859375,
0.8896484375,
0.1654052734375,
0.50634765625,
0.1654052734375
],
[
0.080078125,
0.17236328125,
0.46728515625,
0.1717529296875,
0.46728515625,
0.186279296875,
0.080078125,
0.1875
],
[
0.5048828125,
0.1685791015625,
0.890625,
0.1685791015625,
0.890625,
0.1817626953125,
0.5048828125,
0.1817626953125
],
[
0.1070556640625,
0.186279296875,
0.28759765625,
0.189453125,
0.28759765625,
0.203857421875,
0.1070556640625,
0.2008056640625
],
[
0.5048828125,
0.18310546875,
0.890625,
0.18310546875,
0.890625,
0.1962890625,
0.5048828125,
0.1962890625
],
[
0.50634765625,
0.1988525390625,
0.890625,
0.1988525390625,
0.890625,
0.212158203125,
0.50634765625,
0.212158203125
],
[
0.08905029296875,
0.2183837890625,
0.36279296875,
0.2183837890625,
0.36279296875,
0.231689453125,
0.08905029296875,
0.231689453125
],
[
0.5048828125,
0.21337890625,
0.88818359375,
0.21337890625,
0.88818359375,
0.2266845703125,
0.5048828125,
0.2266845703125
],
[
0.0849609375,
0.231689453125,
0.26708984375,
0.2310791015625,
0.26708984375,
0.248779296875,
0.0849609375,
0.25
],
[
0.5048828125,
0.2291259765625,
0.890625,
0.2291259765625,
0.890625,
0.242431640625,
0.5048828125,
0.242431640625
],
[
0.0882568359375,
0.248779296875,
0.465576171875,
0.248779296875,
0.465576171875,
0.26318359375,
0.0882568359375,
0.26318359375
],
[
0.50634765625,
0.24365234375,
0.890625,
0.24365234375,
0.890625,
0.2568359375,
0.50634765625,
0.2568359375
],
[
0.12335205078125,
0.264404296875,
0.465576171875,
0.264404296875,
0.465576171875,
0.27783203125,
0.12335205078125,
0.27783203125
],
[
0.5048828125,
0.2587890625,
0.890625,
0.2587890625,
0.890625,
0.272705078125,
0.5048828125,
0.272705078125
],
[
0.125,
0.279052734375,
0.46728515625,
0.279052734375,
0.46728515625,
0.29345703125,
0.125,
0.29345703125
],
[
0.50634765625,
0.27587890625,
0.7958984375,
0.27587890625,
0.7958984375,
0.285888671875,
0.50634765625,
0.285888671875
],
[
0.12335205078125,
0.29345703125,
0.455078125,
0.29345703125,
0.455078125,
0.306884765625,
0.12335205078125,
0.306884765625
],
[
0.50244140625,
0.302978515625,
0.6396484375,
0.302978515625,
0.6396484375,
0.317626953125,
0.50244140625,
0.317626953125
],
[
0.101318359375,
0.313232421875,
0.1192626953125,
0.313232421875,
0.1192626953125,
0.317626953125,
0.101318359375,
0.317626953125
],
[
0.12335205078125,
0.309326171875,
0.46728515625,
0.309326171875,
0.46728515625,
0.322509765625,
0.12335205078125,
0.322509765625
],
[
0.08905029296875,
0.31640625,
0.1004638671875,
0.313232421875,
0.10296630859375,
0.31640625,
0.09234619140625,
0.3193359375
],
[
0.1258544921875,
0.323974609375,
0.468017578125,
0.323974609375,
0.468017578125,
0.33837890625,
0.1258544921875,
0.33837890625
],
[
0.5009765625,
0.324462890625,
0.69921875,
0.32568359375,
0.69921875,
0.343505859375,
0.5009765625,
0.34228515625
],
[
0.12335205078125,
0.33837890625,
0.3896484375,
0.339111328125,
0.3896484375,
0.354248046875,
0.12335205078125,
0.352783203125
],
[
0.52392578125,
0.349853515625,
0.890625,
0.349853515625,
0.890625,
0.363037109375,
0.52392578125,
0.363037109375
],
[
0.0882568359375,
0.35595703125,
0.16015625,
0.35595703125,
0.16015625,
0.367431640625,
0.0882568359375,
0.367431640625
],
[
0.5048828125,
0.365478515625,
0.890625,
0.365478515625,
0.890625,
0.37890625,
0.5048828125,
0.37890625
],
[
0.5048828125,
0.380126953125,
0.88818359375,
0.380126953125,
0.88818359375,
0.393310546875,
0.5048828125,
0.393310546875
],
[
0.08251953125,
0.396484375,
0.468017578125,
0.396484375,
0.468017578125,
0.410888671875,
0.08251953125,
0.410888671875
],
[
0.50244140625,
0.393310546875,
0.890625,
0.39453125,
0.890625,
0.4091796875,
0.50244140625,
0.40771484375
],
[
0.080078125,
0.410888671875,
0.468017578125,
0.412353515625,
0.468017578125,
0.4267578125,
0.080078125,
0.425537109375
],
[
0.5048828125,
0.410400390625,
0.8896484375,
0.410400390625,
0.8896484375,
0.423583984375,
0.5048828125,
0.423583984375
],
[
0.08087158203125,
0.427978515625,
0.468017578125,
0.427978515625,
0.468017578125,
0.44140625,
0.08087158203125,
0.44140625
],
[
0.5048828125,
0.425537109375,
0.88818359375,
0.425537109375,
0.88818359375,
0.439453125,
0.5048828125,
0.439453125
],
[
0.08087158203125,
0.443115234375,
0.468017578125,
0.443115234375,
0.468017578125,
0.45703125,
0.08087158203125,
0.45703125
],
[
0.50634765625,
0.442626953125,
0.8896484375,
0.442626953125,
0.8896484375,
0.45263671875,
0.50634765625,
0.45263671875
],
[
0.08251953125,
0.458251953125,
0.468017578125,
0.458251953125,
0.468017578125,
0.4716796875,
0.08251953125,
0.4716796875
],
[
0.50341796875,
0.455810546875,
0.890625,
0.455810546875,
0.890625,
0.4697265625,
0.50341796875,
0.4697265625
],
[
0.080078125,
0.4716796875,
0.468017578125,
0.472900390625,
0.468017578125,
0.4873046875,
0.080078125,
0.486083984375
],
[
0.50341796875,
0.47021484375,
0.88818359375,
0.47021484375,
0.88818359375,
0.484130859375,
0.50341796875,
0.484130859375
],
[
0.080078125,
0.4873046875,
0.46728515625,
0.488037109375,
0.46728515625,
0.50244140625,
0.080078125,
0.501953125
],
[
0.5048828125,
0.486083984375,
0.8896484375,
0.486083984375,
0.8896484375,
0.5,
0.5048828125,
0.5
],
[
0.08087158203125,
0.50390625,
0.468017578125,
0.50390625,
0.468017578125,
0.517578125,
0.08087158203125,
0.517578125
],
[
0.50341796875,
0.501953125,
0.8896484375,
0.501953125,
0.8896484375,
0.51513671875,
0.50341796875,
0.51513671875
],
[
0.08087158203125,
0.51953125,
0.2998046875,
0.51953125,
0.2998046875,
0.53271484375,
0.08087158203125,
0.53271484375
],
[
0.50634765625,
0.5166015625,
0.88818359375,
0.5166015625,
0.88818359375,
0.52978515625,
0.50634765625,
0.52978515625
],
[
0.5048828125,
0.53076171875,
0.88818359375,
0.53076171875,
0.88818359375,
0.54443359375,
0.5048828125,
0.54443359375
],
[
0.0767822265625,
0.54541015625,
0.273681640625,
0.54736328125,
0.273681640625,
0.56494140625,
0.0767822265625,
0.56298828125
],
[
0.50341796875,
0.54541015625,
0.890625,
0.546875,
0.890625,
0.56005859375,
0.50341796875,
0.5595703125
],
[
0.5048828125,
0.56103515625,
0.890625,
0.56103515625,
0.890625,
0.57470703125,
0.5048828125,
0.57470703125
],
[
0.080078125,
0.5712890625,
0.39794921875,
0.57275390625,
0.39794921875,
0.5869140625,
0.080078125,
0.5859375
],
[
0.5048828125,
0.5771484375,
0.8896484375,
0.5771484375,
0.8896484375,
0.59033203125,
0.5048828125,
0.59033203125
],
[
0.1004638671875,
0.59521484375,
0.46728515625,
0.59521484375,
0.46728515625,
0.609375,
0.1004638671875,
0.609375
],
[
0.5048828125,
0.59130859375,
0.890625,
0.59130859375,
0.890625,
0.60498046875,
0.5048828125,
0.60498046875
],
[
0.08087158203125,
0.60986328125,
0.465576171875,
0.60986328125,
0.465576171875,
0.62353515625,
0.08087158203125,
0.62353515625
],
[
0.50341796875,
0.60693359375,
0.74169921875,
0.60693359375,
0.74169921875,
0.62060546875,
0.50341796875,
0.62060546875
],
[
0.08251953125,
0.626953125,
0.46728515625,
0.626953125,
0.46728515625,
0.64013671875,
0.08251953125,
0.64013671875
],
[
0.52392578125,
0.6220703125,
0.890625,
0.6220703125,
0.890625,
0.63623046875,
0.52392578125,
0.63623046875
],
[
0.08251953125,
0.64013671875,
0.468017578125,
0.64013671875,
0.468017578125,
0.65380859375,
0.08251953125,
0.65380859375
],
[
0.50341796875,
0.63525390625,
0.890625,
0.63623046875,
0.890625,
0.6494140625,
0.50341796875,
0.6484375
],
[
0.08087158203125,
0.65576171875,
0.4697265625,
0.65576171875,
0.4697265625,
0.66943359375,
0.08087158203125,
0.66943359375
],
[
0.5048828125,
0.6513671875,
0.890625,
0.6513671875,
0.890625,
0.66552734375,
0.5048828125,
0.66552734375
],
[
0.5048828125,
0.66748046875,
0.890625,
0.66748046875,
0.890625,
0.68115234375,
0.5048828125,
0.68115234375
],
[
0.08251953125,
0.6748046875,
0.463134765625,
0.6748046875,
0.463134765625,
0.68505859375,
0.08251953125,
0.68505859375
],
[
0.08087158203125,
0.68798828125,
0.46728515625,
0.68798828125,
0.46728515625,
0.7021484375,
0.08087158203125,
0.7021484375
],
[
0.50732421875,
0.68310546875,
0.890625,
0.68310546875,
0.890625,
0.6962890625,
0.50732421875,
0.6962890625
],
[
0.50341796875,
0.69580078125,
0.890625,
0.6962890625,
0.890625,
0.7109375,
0.50341796875,
0.71044921875
],
[
0.08416748046875,
0.705078125,
0.46728515625,
0.705078125,
0.46728515625,
0.71533203125,
0.08416748046875,
0.71533203125
],
[
0.50341796875,
0.7119140625,
0.890625,
0.7119140625,
0.890625,
0.72607421875,
0.50341796875,
0.72607421875
],
[
0.08087158203125,
0.71826171875,
0.46728515625,
0.71826171875,
0.46728515625,
0.73193359375,
0.08087158203125,
0.73193359375
],
[
0.5048828125,
0.7265625,
0.890625,
0.7265625,
0.890625,
0.74072265625,
0.5048828125,
0.74072265625
],
[
0.08251953125,
0.73291015625,
0.46728515625,
0.73291015625,
0.46728515625,
0.7470703125,
0.08251953125,
0.7470703125
],
[
0.5048828125,
0.7421875,
0.77685546875,
0.7421875,
0.77685546875,
0.755859375,
0.5048828125,
0.755859375
],
[
0.08087158203125,
0.75,
0.3349609375,
0.75,
0.3349609375,
0.76025390625,
0.08087158203125,
0.76025390625
],
[
0.50244140625,
0.76513671875,
0.6953125,
0.7666015625,
0.6953125,
0.78076171875,
0.50244140625,
0.77978515625
],
[
0.08087158203125,
0.7734375,
0.443603515625,
0.7734375,
0.443603515625,
0.78857421875,
0.08087158203125,
0.78857421875
],
[
0.1004638671875,
0.796875,
0.468017578125,
0.796875,
0.468017578125,
0.81005859375,
0.1004638671875,
0.81005859375
],
[
0.525390625,
0.79150390625,
0.8896484375,
0.79150390625,
0.8896484375,
0.8017578125,
0.525390625,
0.8017578125
],
[
0.5048828125,
0.8046875,
0.890625,
0.8046875,
0.890625,
0.818359375,
0.5048828125,
0.818359375
],
[
0.08416748046875,
0.81298828125,
0.465576171875,
0.81298828125,
0.465576171875,
0.82373046875,
0.08416748046875,
0.82373046875
],
[
0.5048828125,
0.82080078125,
0.890625,
0.82080078125,
0.890625,
0.833984375,
0.5048828125,
0.833984375
],
[
0.08251953125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.08251953125,
0.84033203125
],
[
0.50341796875,
0.83544921875,
0.88818359375,
0.83544921875,
0.88818359375,
0.8486328125,
0.50341796875,
0.8486328125
],
[
0.08251953125,
0.84130859375,
0.46728515625,
0.84130859375,
0.46728515625,
0.85498046875,
0.08251953125,
0.85498046875
],
[
0.5048828125,
0.85107421875,
0.8896484375,
0.85107421875,
0.8896484375,
0.8642578125,
0.5048828125,
0.8642578125
],
[
0.08416748046875,
0.859375,
0.465576171875,
0.859375,
0.465576171875,
0.869140625,
0.08416748046875,
0.869140625
],
[
0.5048828125,
0.86572265625,
0.88818359375,
0.86572265625,
0.88818359375,
0.87890625,
0.5048828125,
0.87890625
],
[
0.08087158203125,
0.8720703125,
0.46728515625,
0.87060546875,
0.46728515625,
0.88525390625,
0.08087158203125,
0.88623046875
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.52294921875,
0.88720703125,
0.79736328125,
0.88720703125,
0.79736328125,
0.9013671875,
0.52294921875,
0.9013671875
]
] |
[
"Algorithm1Alternating back-propagationprocedure",
"了一个零件检测器,以定位鸟类的小语义部分,例如",
"for learning feature-to-feature translator.",
"头和尾,并将零件的提取特征连接在一起,作为ZSL",
"Input: training samples ((Xi,C),i = 1,..,n) , the",
"的对象的视觉表示。零件特征在两种情况下是不可访",
"maximal number of loops Nstep , the number of",
"问的:(a)语义部分没有出现在图像中,例如,当鸟类在",
"Langevin steps I , the learning rate t",
"前视图中时,不能观察到尾巴:(b)检测器无法发现零",
"Output: the learned parameters , the inferred latent",
"件。在这些情况下,为缺失部分的特征向量的相应bin",
"factors {Zi,i=l,...n] .",
"分配零。我们可以通过将X-9e(C,Z)2的计算改为",
"Mo(X-ge(C,Z))I2来很容易地使我们的ABP算法",
"I: Initialize o and Zi, for i = I,.., n.",
"适应上述情况,其中M是给定的二进制指示符矩阵",
"2: for t = 1.., Nstep do",
"其大小与X相同,1表示“可见”,0表示“缺失”,符",
"3:Inferential back-propagation: For each i, run",
"号°表示逐元素矩阵乘法运算。指标矩阵M因不同",
" steps of Langevin dynamics to sample Z,~",
"的视觉特征X,而异。请注意,基于GAN或VAE的",
"pe(Z,[X, C) with warm start, i.e., starting from",
"方法很难处理从不完整的视觉特征中学习",
"the current Z,, each step follows equation (6)",
"5. Experiments",
"",
"Learning back-propagation:Update ← +",
".",
"tL'(), where L'(0) is computed according to",
"5.1. Experiment Settings",
"equation (??), with learning rate t :",
"数据集。我们在四个广泛使用的ZSL基准数据集上",
"5: end for",
"评估了生成ZSL的拟议框架,并将其与许多最先进的",
"基线进行了比较。数据集包括:(1)Caltech-UCSDBirds-",
"Φ@XMTHMA2的XMTHMAX_。与最大似然目标",
"200-2011(CUB)E[481,(2)具有属性的动物(AwA1)E",
"KL(qdata(X|C)lpe(XC))相比,后者是以C为条件",
"[22],(3)具有属性的动物2(AWA2)E[54],(4)SUN",
"的X的边际分布之间的KL-散度,而VAE目标是以",
"属性(SUN)E[31]。CUB是鸟类物种的细粒度数据集",
"C为条件的(Z,X)的联合分布之间的KL-散度(i。",
"具有312个类级别属性。AWA1是一个粗粒度的数据",
"e。,最大似然目标的上界。)如下所示:mathfonts",
"集,包括具有85个属性的50类动物。由于AwA1中的",
"@@@1XMATHLINX的XMATHX。也就是说,当",
"原始图像由于版权许可问题而无法公开,Xianetal[54",
"KL(p(ZX,C)pe(ZX,C))=0时,变分推理等价于",
"通过为AwA1中的每个类收集新图像来创建新数据集",
"最大似然解。因此,我们的学习算法比VAE更自然、",
"AwA2,同时保持属性注释与AwA1相同。SUN包含",
"更直接、更准确、更计算高效。",
"717种类型的场景,具有102个属性。我们遵循54",
"中的训练/测试拆分设置,这可确保在预训练视觉特征",
"4. Zero-Shot Learning",
"提取器的ImageNet数据集中不包含看不见的类,以避",
"免违反ZSL的设置。此外,我们还在大规模数据集上",
"4.1. Classification in Zero-Shot Learning",
"进行了实验,即。e。ImageNet-21K[7]。在这个具有",
"映射[C,Z]→X的特征到特征转换器可以被视为",
"挑战性的数据集中,没有可用的属性注释。我们使用类",
"局部线性嵌人[37]的显式实现,其中[C,Z]是X的",
"名的词嵌作为类的语义表示「5",
"嵌人,具有类特征C和非类特征Z的分离。给定任何",
"实施详细信息。我们的翻译器由具有4,096个节点的",
"看不见的类CuEcK,我们可以为看不见的类生成任",
"单个隐藏层的多层感知器实现。LeakyReLU和ReLU",
"意多个视觉特征,方法是首先从N(O,Ia)中采样Z,",
"分别用作隐藏层和输出层上的非线性激活函数。潜在",
"因子的维数设置为10。我们修复=0。3,1=10和",
"然后通过学习的特征到特征转换器X=ge(Cu,Z)+",
"将(Cu,Z)映射到X。使用生成的看不见的类的数据:",
"s=0。3。我们的模型使用64的批量大小和Adam优",
"化器进行训练,学习率为10-3,β1=0。9和β2=0。",
"可以通过任何常规的监督分类器预测来自看不见的类",
"999。epoch的数量是50。我们的模型使用Pytorch框",
"的测试示例的标签。在这里,我们为ZSL使用KNN",
"架E[30]实现,并在一个NVIDIATITANXpGPU上进",
"分类器(K=20),因为它很简单,而为GZSL使用",
"行了训练。我们的代码是公开的在线1",
"softmax分类器,如E55中建议的",
"5.2. Zero-Shot Learning",
"4.2. Learning from Incomplete Visual Features",
"推理反向传播步骤执行解释性推理,其中潜在因素",
"至于零拍学习设置,我们遵循F54中使用的评估",
"协议,其中结果是通过平均每类top-1精度来衡量的。",
"相互竞争以解释观察到的视觉特征。这在训练视觉特",
"我们与15种最先进的方法进行了比较,包括11种非",
"征不完整的场景中非常有用。在这种情况下,我们的",
"生成方法和4种生成方法,分别在表1中显示。对于",
"模型仍然能够通过交替的反向传播算法从不完整的视",
"GAZSL、FGZSL和MCGZSL,我们通过运行它们的",
"觉特征中学习。仍然可以通过解释不完整的观察到的",
"代码来获得结果。我们自已重新实现VZSL,因为没有",
"视觉特征来获得潜在因素,并且仍然可以像以前一样",
"更新模型参数。以E[67]中的特征为例,Zhu等人训练",
"https://github.com/EthanZhu90/ZSL_ABP"
] |
{
"arxiv_id": "1904.10056",
"language": "zh",
"page_idx": 3
}
|
||
1904.10056-zh-4
|
1904.10056-zh-4.jpg
|
<table>
<tbody>
<tr>
<th> </th>
<th>Method</th>
<th>CUB</th>
<th>AwA1</th>
<th>AwA2</th>
<th>$SUN$</th>
</tr>
<tr>
<td rowspan="10">$\S$</td>
<td>$DAP$ 222</td>
<td>40.0</td>
<td>44.1</td>
<td>46.1</td>
<td>39.9</td>
</tr>
<tr>
<td>CMT $38^{\cdot}$</td>
<td>34.6</td>
<td>39.5</td>
<td>37.9</td>
<td>39.9</td>
</tr>
<tr>
<td>LATEM 53</td>
<td>49.3</td>
<td>55.1</td>
<td>55.8</td>
<td>55.3</td>
</tr>
<tr>
<td>ALE 1</td>
<td>54.9</td>
<td>59.9</td>
<td>62.5</td>
<td>58.1</td>
</tr>
<tr>
<td>DEVISE $12^{\cdot}$</td>
<td>52.0</td>
<td>54.2</td>
<td>59.7</td>
<td>56.5</td>
</tr>
<tr>
<td>$SJE$ $2^{\cdot}$</td>
<td>53.9</td>
<td>65.6</td>
<td>61.9</td>
<td>53.7</td>
</tr>
<tr>
<td>ESZSL 36</td>
<td>53.9</td>
<td>58.2</td>
<td>58.6</td>
<td>54.5</td>
</tr>
<tr>
<td>SYNC $\begin{bmatrix}5\\5\end{bmatrix}$</td>
<td>55.6</td>
<td>54.0</td>
<td>46.6</td>
<td>56.3</td>
</tr>
<tr>
<td>SAE $19^{\cdot}$</td>
<td>33.3</td>
<td>53.0</td>
<td>54,1</td>
<td>40.3</td>
</tr>
<tr>
<td>DEM 62</td>
<td>51.7</td>
<td>65.7</td>
<td>66.5</td>
<td>60.8</td>
</tr>
<tr>
<td rowspan="1">$\S$</td>
<td>GFZSL 47</td>
<td>49.3</td>
<td>68.3</td>
<td>63.8</td>
<td>60.6</td>
</tr>
<tr>
<td rowspan="5">$\dagger$</td>
<td>$VZSL$ 50</td>
<td>56.3</td>
<td>67.1</td>
<td>66.8</td>
<td>59.0</td>
</tr>
<tr>
<td>GAZSL 67</td>
<td>55.8</td>
<td>63.7</td>
<td>64.2</td>
<td>$\underline{60.1}$</td>
</tr>
<tr>
<td>FGZSL 55</td>
<td>57.7</td>
<td>65.6</td>
<td>66.9</td>
<td>58.6</td>
</tr>
<tr>
<td>MCGZSL 11</td>
<td>58.4</td>
<td>66.8</td>
<td>$\underline{67.3}$</td>
<td>60.0</td>
</tr>
<tr>
<td>Ours</td>
<td>58.5</td>
<td>69.3</td>
<td>70.4</td>
<td>61.5</td>
</tr>
</tbody>
</table>
Table 1: Performance comparison for zero-shot learning on CUB, AwA1, AwA2 and SUN datasets. The performance is measured by average per-class top-1 accuracy $(\%).\dagger$ and $\S$ indicate generative and nongenerative methods, respectively. The best and the $\bar{\text{second best results are marked in bold and underlined}}$ respectively.
<FigureHere>
Figure 2: ZSL and GZSL results on ImageNet. For
GZSL, $A_{\mathcal{U} }$ is reported.
代码是公开的。其他方法的结果发表在 [54]。从表$\mathbb{E}$1中,我们可以观察到:(i)生成方法的整体性能优于非生成方法 (ii) 我们提出的模型始终优于以前的最新方法,并且在 AwA1 和 AwA2 上显示出巨大的优势,其中改进达到$3.1\%$ 。这验证了我们通过交替反向传播训练的模型对 ZSL 任务非常有益
# 5.3. Generalized Zero-Shot Learning
在广义的零拍学习设置中,将测试图像分类为可见和不可见类的并集。此设置更加实用和困难,因为它消除了测试图像仅来自看不见的类的假设。遵循$\overline{\mathrm{E}}[54]$ 提出的协议,我们计算可见和不可见类的精度的调和平均值:$H= \frac {2\cdot A_S\cdot A_U}{A_S+ A_U}$ ,其中$A_S$和$A_U$分别表示对可见类和不可见类的图像进行分类的精度。我们在四个数据集上评估了我们的方法,并在表 2 中显示了与 13 种最先进方法的性能比较。实验结果表明,在可见类上实现高性能的非生成方法在不可见类上表现不佳,表明这些方法偏向于可见类。相反,这些生成方法可以减轻偏差,并在看不见的和见过的类上都表现良好。与其他生成 ZSL 方法相比,我们的方法在看不见的类上获得了更高的精度,在看见的类上获得了相当的精度。它在大多数数据集上显著提高了最先进的性能(例如。g。, AwA2 上的 4.0% 以调和均值表示), 展示了广义零拍学习的能力。
# 5.4. Large-Scale Experiments
我们还评估了我们的模型在大规模 ImageNet-21K[F] [7]数据集上的性能。该数据集包含来自超过 21K 类的1400万张图像。类之间的关系遵循 WordNet [27]层次结构。遵循[54,5]中的相同协议,我们保留 1K 类的特定子集进行训练,并使用所有剩余的类或其子集进行测试。具体来说,用于测试的子集是根据与训练类或其种群的分层距离确定的。例如,2Hop 包含 1,509个看不见的类,这些类位于基于类层次结构的可见 1K 类的两个树跳内,而 3Hop 通过将范围扩展到三个树跳,将看不见的类的数量增加到 7,678。M500、M1K 和M5K 包含 500、1K 和 5K 个填充最多的类,而 L500、 L1K 和 L5K 分别包含 500、1K 和 5K 个填充最少的类
我们将我们的方法与三种基准方法进行了比较,其中包括一种基于视觉语义嵌人的方法,即。e。ALE 和两种基于生成模型的方法,即。e。、VZSL 和 FGZSL。结果如图 2 所示。一个值得注意的观察结果是,所有方法在 2Hop 子集中的表现都比在 3Hop 子集中好得多。造成观察的两个重要因素是:(i)在 3Hop 子集中, 看不见的类在语义上与训练类的关系较小,因此难以转移知识,(ii)看不见的类的数量急剧增加(从 1,509到 7,678 ) 使分类更加困难。一般来说,很明显,生成方法具有优越的性能。在三种生成方法中,我们提出的方法在大多数情况下都能达到最佳精度,表明它在这项现实而具有挑战性的任务中非常有竞争力
5.5. Comparison with GAN & VAE-based Methods
为了彻底评估我们模型的性能,我们进行了广泛的消融实验。我们研究了我们的方法与基于 GAN 和 VAE 的方法的比较(i。e。, FGZSL 和 VZSL)在(i)收敛的速度,(ii) 模型参数的数量,(iii)为看不见的类生成不同数量的特征时的 ZSL 性能,(iv)在不同数量的可见类下进行训练的 ZSL 性能
比较(i)为了研究我们提出的方法的优势,我们显示了不同模型的收敛曲线。我们将看到的类的子集保留为验证集,其余的看到的类用于训练。考虑到不同方法中使用的各种损失函数不具有可比性,我们改为使用验证集的平均每类 top-1 精度作为收敛指标。图 3显示了 CUB 和 AwA1 数据集上不同数量的训练时期
|
[
[
0.306396484375,
0.0921630859375,
0.35302734375,
0.0921630859375,
0.35302734375,
0.106689453125,
0.306396484375,
0.106689453125
],
[
0.83837890625,
0.0921630859375,
0.88134765625,
0.0921630859375,
0.88134765625,
0.1300048828125,
0.83837890625,
0.1300048828125
],
[
0.2484130859375,
0.09344482421875,
0.2900390625,
0.09344482421875,
0.2900390625,
0.10479736328125,
0.2484130859375,
0.10479736328125
],
[
0.13232421875,
0.09344482421875,
0.1895751953125,
0.09344482421875,
0.1895751953125,
0.10479736328125,
0.13232421875,
0.10479736328125
],
[
0.369384765625,
0.09344482421875,
0.4150390625,
0.09344482421875,
0.4150390625,
0.10479736328125,
0.369384765625,
0.10479736328125
],
[
0.428955078125,
0.09344482421875,
0.468017578125,
0.09344482421875,
0.468017578125,
0.10479736328125,
0.428955078125,
0.10479736328125
],
[
0.6435546875,
0.0953369140625,
0.68310546875,
0.091552734375,
0.685546875,
0.106689453125,
0.64794921875,
0.111083984375
],
[
0.64453125,
0.0997314453125,
0.68701171875,
0.1029052734375,
0.6845703125,
0.1287841796875,
0.640625,
0.1256103515625
],
[
0.13232421875,
0.106689453125,
0.200927734375,
0.106689453125,
0.200927734375,
0.121826171875,
0.13232421875,
0.121826171875
],
[
0.256591796875,
0.10797119140625,
0.28759765625,
0.10797119140625,
0.28759765625,
0.12060546875,
0.256591796875,
0.12060546875
],
[
0.313720703125,
0.10797119140625,
0.3447265625,
0.10797119140625,
0.3447265625,
0.12060546875,
0.313720703125,
0.12060546875
],
[
0.37744140625,
0.10797119140625,
0.406982421875,
0.10797119140625,
0.406982421875,
0.12060546875,
0.37744140625,
0.12060546875
],
[
0.43310546875,
0.10797119140625,
0.465576171875,
0.10797119140625,
0.465576171875,
0.12060546875,
0.43310546875,
0.12060546875
],
[
0.253173828125,
0.121826171875,
0.289306640625,
0.121826171875,
0.289306640625,
0.136962890625,
0.253173828125,
0.136962890625
],
[
0.43310546875,
0.11932373046875,
0.468017578125,
0.12249755859375,
0.465576171875,
0.136962890625,
0.4306640625,
0.1337890625
],
[
0.313720703125,
0.12371826171875,
0.346435546875,
0.12371826171875,
0.346435546875,
0.1363525390625,
0.313720703125,
0.1363525390625
],
[
0.134033203125,
0.12371826171875,
0.200927734375,
0.12371826171875,
0.200927734375,
0.1351318359375,
0.134033203125,
0.1351318359375
],
[
0.375732421875,
0.12371826171875,
0.408447265625,
0.12371826171875,
0.408447265625,
0.1351318359375,
0.375732421875,
0.1351318359375
],
[
0.5107421875,
0.12371826171875,
0.515625,
0.12371826171875,
0.515625,
0.1287841796875,
0.5107421875,
0.1287841796875
],
[
0.131591796875,
0.1351318359375,
0.223876953125,
0.136962890625,
0.223876953125,
0.1514892578125,
0.131591796875,
0.149658203125
],
[
0.256591796875,
0.1383056640625,
0.285888671875,
0.1383056640625,
0.285888671875,
0.15087890625,
0.256591796875,
0.15087890625
],
[
0.313720703125,
0.1383056640625,
0.3447265625,
0.1383056640625,
0.3447265625,
0.15087890625,
0.313720703125,
0.15087890625
],
[
0.375732421875,
0.1383056640625,
0.408447265625,
0.1383056640625,
0.408447265625,
0.15087890625,
0.375732421875,
0.15087890625
],
[
0.4345703125,
0.1383056640625,
0.465576171875,
0.1383056640625,
0.465576171875,
0.15087890625,
0.4345703125,
0.15087890625
],
[
0.374267578125,
0.15087890625,
0.410888671875,
0.154052734375,
0.408447265625,
0.1685791015625,
0.373291015625,
0.1666259765625
],
[
0.43310546875,
0.15087890625,
0.468017578125,
0.154052734375,
0.465576171875,
0.1673583984375,
0.4306640625,
0.1641845703125
],
[
0.31201171875,
0.1514892578125,
0.34716796875,
0.1514892578125,
0.34716796875,
0.1673583984375,
0.31201171875,
0.1673583984375
],
[
0.1356201171875,
0.154052734375,
0.1895751953125,
0.154052734375,
0.1895751953125,
0.1654052734375,
0.1356201171875,
0.1654052734375
],
[
0.253173828125,
0.1514892578125,
0.289306640625,
0.1514892578125,
0.289306640625,
0.1673583984375,
0.253173828125,
0.1673583984375
],
[
0.13232421875,
0.1654052734375,
0.2279052734375,
0.1673583984375,
0.2279052734375,
0.1817626953125,
0.13232421875,
0.179931640625
],
[
0.256591796875,
0.1685791015625,
0.28759765625,
0.1685791015625,
0.28759765625,
0.18115234375,
0.256591796875,
0.18115234375
],
[
0.313720703125,
0.1685791015625,
0.346435546875,
0.1685791015625,
0.346435546875,
0.18115234375,
0.313720703125,
0.18115234375
],
[
0.375732421875,
0.1685791015625,
0.406982421875,
0.1685791015625,
0.406982421875,
0.18115234375,
0.375732421875,
0.18115234375
],
[
0.4345703125,
0.1685791015625,
0.46728515625,
0.1685791015625,
0.46728515625,
0.18115234375,
0.4345703125,
0.18115234375
],
[
0.13232421875,
0.18115234375,
0.1854248046875,
0.18310546875,
0.1846923828125,
0.1988525390625,
0.131591796875,
0.1962890625
],
[
0.253173828125,
0.1817626953125,
0.28759765625,
0.1817626953125,
0.28759765625,
0.1976318359375,
0.253173828125,
0.1976318359375
],
[
0.313720703125,
0.184326171875,
0.346435546875,
0.184326171875,
0.346435546875,
0.1962890625,
0.313720703125,
0.1962890625
],
[
0.375732421875,
0.184326171875,
0.406982421875,
0.184326171875,
0.406982421875,
0.1962890625,
0.375732421875,
0.1962890625
],
[
0.4345703125,
0.184326171875,
0.465576171875,
0.184326171875,
0.465576171875,
0.1962890625,
0.4345703125,
0.1962890625
],
[
0.131591796875,
0.1962890625,
0.214111328125,
0.1988525390625,
0.214111328125,
0.21337890625,
0.131591796875,
0.2108154296875
],
[
0.2548828125,
0.1988525390625,
0.28759765625,
0.1988525390625,
0.28759765625,
0.2108154296875,
0.2548828125,
0.2108154296875
],
[
0.313720703125,
0.1988525390625,
0.346435546875,
0.1988525390625,
0.346435546875,
0.2108154296875,
0.313720703125,
0.2108154296875
],
[
0.375732421875,
0.1988525390625,
0.408447265625,
0.1988525390625,
0.408447265625,
0.2108154296875,
0.375732421875,
0.2108154296875
],
[
0.43310546875,
0.1988525390625,
0.46728515625,
0.1988525390625,
0.46728515625,
0.2108154296875,
0.43310546875,
0.2108154296875
],
[
0.57275390625,
0.20703125,
0.6259765625,
0.20703125,
0.6259765625,
0.2215576171875,
0.57275390625,
0.2215576171875
],
[
0.76123046875,
0.20703125,
0.82861328125,
0.20703125,
0.82861328125,
0.2215576171875,
0.76123046875,
0.2215576171875
],
[
0.2548828125,
0.2139892578125,
0.28759765625,
0.2139892578125,
0.28759765625,
0.2266845703125,
0.2548828125,
0.2266845703125
],
[
0.313720703125,
0.2139892578125,
0.346435546875,
0.2139892578125,
0.346435546875,
0.2266845703125,
0.313720703125,
0.2266845703125
],
[
0.37744140625,
0.2139892578125,
0.408447265625,
0.2139892578125,
0.408447265625,
0.2266845703125,
0.37744140625,
0.2266845703125
],
[
0.43310546875,
0.2139892578125,
0.46728515625,
0.2139892578125,
0.46728515625,
0.2266845703125,
0.43310546875,
0.2266845703125
],
[
0.13232421875,
0.2279052734375,
0.19775390625,
0.2279052734375,
0.19775390625,
0.242431640625,
0.13232421875,
0.242431640625
],
[
0.131591796875,
0.2108154296875,
0.2017822265625,
0.21337890625,
0.2017822265625,
0.2279052734375,
0.131591796875,
0.2259521484375
],
[
0.2548828125,
0.2291259765625,
0.285888671875,
0.2291259765625,
0.285888671875,
0.2412109375,
0.2548828125,
0.2412109375
],
[
0.31201171875,
0.2279052734375,
0.34716796875,
0.2279052734375,
0.34716796875,
0.24365234375,
0.31201171875,
0.24365234375
],
[
0.375732421875,
0.2291259765625,
0.406982421875,
0.2291259765625,
0.406982421875,
0.2412109375,
0.375732421875,
0.2412109375
],
[
0.4345703125,
0.2291259765625,
0.46728515625,
0.2291259765625,
0.46728515625,
0.2412109375,
0.4345703125,
0.2412109375
],
[
0.50341796875,
0.2342529296875,
0.890625,
0.2342529296875,
0.890625,
0.2474365234375,
0.50341796875,
0.2474365234375
],
[
0.2548828125,
0.24365234375,
0.285888671875,
0.24365234375,
0.285888671875,
0.255615234375,
0.2548828125,
0.255615234375
],
[
0.313720703125,
0.242431640625,
0.346435546875,
0.242431640625,
0.346435546875,
0.25830078125,
0.313720703125,
0.25830078125
],
[
0.37744140625,
0.24365234375,
0.408447265625,
0.24365234375,
0.408447265625,
0.255615234375,
0.37744140625,
0.255615234375
],
[
0.4345703125,
0.24365234375,
0.46728515625,
0.24365234375,
0.46728515625,
0.255615234375,
0.4345703125,
0.255615234375
],
[
0.50244140625,
0.2474365234375,
0.66259765625,
0.248779296875,
0.66259765625,
0.26318359375,
0.50244140625,
0.261962890625
],
[
0.31201171875,
0.255126953125,
0.34716796875,
0.25830078125,
0.3447265625,
0.2734375,
0.3095703125,
0.270751953125
],
[
0.134033203125,
0.2442626953125,
0.2034912109375,
0.2442626953125,
0.2034912109375,
0.255615234375,
0.134033203125,
0.255615234375
],
[
0.13232421875,
0.255615234375,
0.2156982421875,
0.25830078125,
0.2156982421875,
0.272705078125,
0.13232421875,
0.270751953125
],
[
0.2548828125,
0.2568359375,
0.28759765625,
0.2568359375,
0.28759765625,
0.272705078125,
0.2548828125,
0.272705078125
],
[
0.374267578125,
0.2568359375,
0.408447265625,
0.2568359375,
0.408447265625,
0.272705078125,
0.374267578125,
0.272705078125
],
[
0.43310546875,
0.2568359375,
0.468017578125,
0.2568359375,
0.468017578125,
0.272705078125,
0.43310546875,
0.272705078125
],
[
0.2548828125,
0.274658203125,
0.285888671875,
0.274658203125,
0.285888671875,
0.287353515625,
0.2548828125,
0.287353515625
],
[
0.31201171875,
0.2734375,
0.346435546875,
0.2734375,
0.346435546875,
0.2890625,
0.31201171875,
0.2890625
],
[
0.375732421875,
0.274658203125,
0.406982421875,
0.274658203125,
0.406982421875,
0.287353515625,
0.375732421875,
0.287353515625
],
[
0.4345703125,
0.274658203125,
0.46728515625,
0.274658203125,
0.46728515625,
0.287353515625,
0.4345703125,
0.287353515625
],
[
0.375732421875,
0.287353515625,
0.408447265625,
0.2890625,
0.406982421875,
0.302978515625,
0.374267578125,
0.300537109375
],
[
0.1356201171875,
0.27587890625,
0.2059326171875,
0.27587890625,
0.2059326171875,
0.287353515625,
0.1356201171875,
0.287353515625
],
[
0.253173828125,
0.28857421875,
0.289306640625,
0.28857421875,
0.289306640625,
0.3037109375,
0.253173828125,
0.3037109375
],
[
0.314453125,
0.28857421875,
0.3447265625,
0.290283203125,
0.343017578125,
0.304931640625,
0.313720703125,
0.302978515625
],
[
0.43310546875,
0.28857421875,
0.46728515625,
0.28857421875,
0.46728515625,
0.3037109375,
0.43310546875,
0.3037109375
],
[
0.50341796875,
0.29345703125,
0.736328125,
0.29345703125,
0.736328125,
0.306884765625,
0.50341796875,
0.306884765625
],
[
0.134033203125,
0.304931640625,
0.2156982421875,
0.304931640625,
0.2156982421875,
0.31640625,
0.134033203125,
0.31640625
],
[
0.1356201171875,
0.290283203125,
0.21728515625,
0.290283203125,
0.21728515625,
0.3017578125,
0.1356201171875,
0.3017578125
],
[
0.2548828125,
0.304931640625,
0.285888671875,
0.304931640625,
0.285888671875,
0.317626953125,
0.2548828125,
0.317626953125
],
[
0.313720703125,
0.304931640625,
0.346435546875,
0.304931640625,
0.346435546875,
0.317626953125,
0.313720703125,
0.317626953125
],
[
0.375732421875,
0.304931640625,
0.406982421875,
0.304931640625,
0.406982421875,
0.317626953125,
0.375732421875,
0.317626953125
],
[
0.4345703125,
0.304931640625,
0.46728515625,
0.304931640625,
0.46728515625,
0.317626953125,
0.4345703125,
0.317626953125
],
[
0.31201171875,
0.31640625,
0.34716796875,
0.3193359375,
0.3447265625,
0.333984375,
0.3095703125,
0.330810546875
],
[
0.43310546875,
0.318115234375,
0.468017578125,
0.318115234375,
0.468017578125,
0.333984375,
0.43310546875,
0.333984375
],
[
0.521484375,
0.317626953125,
0.890625,
0.31640625,
0.890625,
0.330810546875,
0.521484375,
0.33203125
],
[
0.256591796875,
0.32080078125,
0.28759765625,
0.32080078125,
0.28759765625,
0.333251953125,
0.256591796875,
0.333251953125
],
[
0.13232421875,
0.3193359375,
0.2344970703125,
0.3193359375,
0.2344970703125,
0.333984375,
0.13232421875,
0.333984375
],
[
0.375732421875,
0.32080078125,
0.408447265625,
0.32080078125,
0.408447265625,
0.333251953125,
0.375732421875,
0.333251953125
],
[
0.131591796875,
0.333984375,
0.17236328125,
0.333984375,
0.17236328125,
0.348388671875,
0.131591796875,
0.348388671875
],
[
0.431396484375,
0.333984375,
0.47216796875,
0.333984375,
0.47216796875,
0.348388671875,
0.431396484375,
0.348388671875
],
[
0.5048828125,
0.333251953125,
0.8896484375,
0.333251953125,
0.8896484375,
0.3466796875,
0.5048828125,
0.3466796875
],
[
0.313720703125,
0.335205078125,
0.346435546875,
0.335205078125,
0.346435546875,
0.347900390625,
0.313720703125,
0.347900390625
],
[
0.2548828125,
0.335205078125,
0.28759765625,
0.335205078125,
0.28759765625,
0.347900390625,
0.2548828125,
0.347900390625
],
[
0.375732421875,
0.335205078125,
0.408447265625,
0.335205078125,
0.408447265625,
0.347900390625,
0.375732421875,
0.347900390625
],
[
0.50341796875,
0.3466796875,
0.890625,
0.347900390625,
0.890625,
0.3623046875,
0.50341796875,
0.361083984375
],
[
0.08251953125,
0.3623046875,
0.468017578125,
0.3623046875,
0.468017578125,
0.376953125,
0.08251953125,
0.376953125
],
[
0.50341796875,
0.363037109375,
0.890625,
0.363037109375,
0.890625,
0.376953125,
0.50341796875,
0.376953125
],
[
0.08087158203125,
0.37744140625,
0.4697265625,
0.37744140625,
0.4697265625,
0.391357421875,
0.08087158203125,
0.391357421875
],
[
0.5048828125,
0.37890625,
0.8896484375,
0.37890625,
0.8896484375,
0.392578125,
0.5048828125,
0.392578125
],
[
0.08087158203125,
0.393310546875,
0.468017578125,
0.393310546875,
0.468017578125,
0.4072265625,
0.08087158203125,
0.4072265625
],
[
0.5048828125,
0.393310546875,
0.890625,
0.393310546875,
0.890625,
0.4072265625,
0.5048828125,
0.4072265625
],
[
0.08251953125,
0.410400390625,
0.465576171875,
0.410400390625,
0.465576171875,
0.42041015625,
0.08251953125,
0.42041015625
],
[
0.5048828125,
0.4091796875,
0.890625,
0.4091796875,
0.890625,
0.42236328125,
0.5048828125,
0.42236328125
],
[
0.08087158203125,
0.423583984375,
0.468017578125,
0.423583984375,
0.468017578125,
0.4375,
0.08087158203125,
0.4375
],
[
0.5048828125,
0.423583984375,
0.890625,
0.423583984375,
0.890625,
0.4375,
0.5048828125,
0.4375
],
[
0.080078125,
0.439453125,
0.468017578125,
0.439453125,
0.468017578125,
0.45263671875,
0.080078125,
0.45263671875
],
[
0.50341796875,
0.4375,
0.890625,
0.438232421875,
0.890625,
0.45263671875,
0.50341796875,
0.451904296875
],
[
0.08251953125,
0.455810546875,
0.1666259765625,
0.455810546875,
0.1666259765625,
0.46728515625,
0.08251953125,
0.46728515625
],
[
0.5048828125,
0.453857421875,
0.890625,
0.453857421875,
0.890625,
0.46728515625,
0.5048828125,
0.46728515625
],
[
0.50244140625,
0.468505859375,
0.8896484375,
0.468505859375,
0.8896484375,
0.481689453125,
0.50244140625,
0.481689453125
],
[
0.50341796875,
0.484130859375,
0.890625,
0.484130859375,
0.890625,
0.49755859375,
0.50341796875,
0.49755859375
],
[
0.08251953125,
0.50048828125,
0.46728515625,
0.50048828125,
0.46728515625,
0.5146484375,
0.08251953125,
0.5146484375
],
[
0.52294921875,
0.50048828125,
0.890625,
0.50048828125,
0.890625,
0.5146484375,
0.52294921875,
0.5146484375
],
[
0.08416748046875,
0.517578125,
0.465576171875,
0.517578125,
0.465576171875,
0.52783203125,
0.08416748046875,
0.52783203125
],
[
0.5048828125,
0.51513671875,
0.890625,
0.51513671875,
0.890625,
0.52978515625,
0.5048828125,
0.52978515625
],
[
0.08087158203125,
0.53076171875,
0.46728515625,
0.53076171875,
0.46728515625,
0.54443359375,
0.08087158203125,
0.54443359375
],
[
0.50341796875,
0.53076171875,
0.890625,
0.53076171875,
0.890625,
0.54443359375,
0.50341796875,
0.54443359375
],
[
0.08087158203125,
0.54541015625,
0.468017578125,
0.54541015625,
0.468017578125,
0.5595703125,
0.08087158203125,
0.5595703125
],
[
0.50341796875,
0.54541015625,
0.8896484375,
0.54541015625,
0.8896484375,
0.5595703125,
0.50341796875,
0.5595703125
],
[
0.08251953125,
0.56103515625,
0.468017578125,
0.56103515625,
0.468017578125,
0.57470703125,
0.08251953125,
0.57470703125
],
[
0.5048828125,
0.56103515625,
0.890625,
0.56103515625,
0.890625,
0.57470703125,
0.5048828125,
0.57470703125
],
[
0.080078125,
0.5771484375,
0.301513671875,
0.5771484375,
0.301513671875,
0.59033203125,
0.080078125,
0.59033203125
],
[
0.5048828125,
0.5771484375,
0.88818359375,
0.5771484375,
0.88818359375,
0.59033203125,
0.5048828125,
0.59033203125
],
[
0.5048828125,
0.59130859375,
0.88818359375,
0.59130859375,
0.88818359375,
0.60498046875,
0.5048828125,
0.60498046875
],
[
0.50341796875,
0.60595703125,
0.89208984375,
0.60595703125,
0.89208984375,
0.619140625,
0.50341796875,
0.619140625
],
[
0.080078125,
0.62548828125,
0.369384765625,
0.626953125,
0.369384765625,
0.6416015625,
0.080078125,
0.64013671875
],
[
0.50341796875,
0.62060546875,
0.890625,
0.62060546875,
0.890625,
0.6337890625,
0.50341796875,
0.6337890625
],
[
0.5048828125,
0.63623046875,
0.8896484375,
0.63623046875,
0.8896484375,
0.6494140625,
0.5048828125,
0.6494140625
],
[
0.5048828125,
0.6513671875,
0.890625,
0.6513671875,
0.890625,
0.66552734375,
0.5048828125,
0.66552734375
],
[
0.098876953125,
0.6591796875,
0.46728515625,
0.6591796875,
0.46728515625,
0.67236328125,
0.098876953125,
0.67236328125
],
[
0.50244140625,
0.66552734375,
0.81396484375,
0.66650390625,
0.81396484375,
0.6796875,
0.50244140625,
0.6787109375
],
[
0.08087158203125,
0.6748046875,
0.46728515625,
0.6748046875,
0.46728515625,
0.68798828125,
0.08087158203125,
0.68798828125
],
[
0.08087158203125,
0.689453125,
0.46728515625,
0.689453125,
0.46728515625,
0.70263671875,
0.08087158203125,
0.70263671875
],
[
0.50244140625,
0.693359375,
0.890625,
0.6943359375,
0.890625,
0.708984375,
0.50244140625,
0.70849609375
],
[
0.08251953125,
0.7041015625,
0.468017578125,
0.7041015625,
0.468017578125,
0.71728515625,
0.08251953125,
0.71728515625
],
[
0.080078125,
0.71533203125,
0.468017578125,
0.71533203125,
0.468017578125,
0.73291015625,
0.080078125,
0.73291015625
],
[
0.52392578125,
0.7197265625,
0.8896484375,
0.7197265625,
0.8896484375,
0.73291015625,
0.52392578125,
0.73291015625
],
[
0.08087158203125,
0.736328125,
0.468017578125,
0.736328125,
0.468017578125,
0.75,
0.08087158203125,
0.75
],
[
0.50341796875,
0.73486328125,
0.890625,
0.73486328125,
0.890625,
0.74853515625,
0.50341796875,
0.74853515625
],
[
0.08087158203125,
0.751953125,
0.468017578125,
0.751953125,
0.468017578125,
0.76513671875,
0.08087158203125,
0.76513671875
],
[
0.50341796875,
0.75,
0.890625,
0.75,
0.890625,
0.76318359375,
0.50341796875,
0.76318359375
],
[
0.08087158203125,
0.7666015625,
0.468017578125,
0.7666015625,
0.468017578125,
0.77978515625,
0.08087158203125,
0.77978515625
],
[
0.50341796875,
0.76513671875,
0.890625,
0.76513671875,
0.890625,
0.77880859375,
0.50341796875,
0.77880859375
],
[
0.08251953125,
0.78271484375,
0.465576171875,
0.78271484375,
0.465576171875,
0.79345703125,
0.08251953125,
0.79345703125
],
[
0.5048828125,
0.7822265625,
0.8896484375,
0.7822265625,
0.8896484375,
0.79248046875,
0.5048828125,
0.79248046875
],
[
0.08087158203125,
0.796875,
0.468017578125,
0.796875,
0.468017578125,
0.81005859375,
0.08087158203125,
0.81005859375
],
[
0.50244140625,
0.79443359375,
0.72216796875,
0.79443359375,
0.72216796875,
0.80810546875,
0.50244140625,
0.80810546875
],
[
0.08087158203125,
0.81103515625,
0.46728515625,
0.81103515625,
0.46728515625,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.52392578125,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.52392578125,
0.82470703125
],
[
0.08251953125,
0.8271484375,
0.468017578125,
0.8271484375,
0.468017578125,
0.84033203125,
0.08251953125,
0.84033203125
],
[
0.5048828125,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.5048828125,
0.84033203125
],
[
0.0849609375,
0.84326171875,
0.46728515625,
0.84326171875,
0.46728515625,
0.85400390625,
0.0849609375,
0.85400390625
],
[
0.50634765625,
0.84326171875,
0.88818359375,
0.84326171875,
0.88818359375,
0.85400390625,
0.50634765625,
0.85400390625
],
[
0.080078125,
0.85498046875,
0.468017578125,
0.85693359375,
0.468017578125,
0.8720703125,
0.080078125,
0.869140625
],
[
0.5048828125,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08087158203125,
0.87060546875,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.08087158203125,
0.88525390625
],
[
0.50341796875,
0.8720703125,
0.87158203125,
0.87060546875,
0.87158203125,
0.88525390625,
0.50341796875,
0.88623046875
],
[
0.86669921875,
0.87353515625,
0.8896484375,
0.87353515625,
0.8896484375,
0.8818359375,
0.86669921875,
0.8818359375
],
[
0.080078125,
0.88525390625,
0.1690673828125,
0.88720703125,
0.1690673828125,
0.9013671875,
0.080078125,
0.8994140625
],
[
0.5048828125,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.5048828125,
0.90087890625
]
] |
[
"AwAl",
"",
"CUB",
"Method",
"AwA2",
"SUN",
"=ALE",
"丰",
"DAP[22]",
"40.0",
"44.1",
"46.1",
"39.9",
"34.6",
"39.9",
"39.5",
"CMT [38",
"37.9",
"",
"LATEM[53]",
"49.3",
"55.1",
"55.8",
"55.3",
"62.5",
"58.1",
"59.9",
"ALEI",
"54.9",
"DEVISE[12]",
"52.0",
"54.2",
"59.7",
"56.5",
"SJE [2]",
"53.9",
"65.6",
"61.9",
"53.7",
"ESZSL [36]",
"53.9",
"58.2",
"58.6",
"54.5",
"(a) ZSL",
"(b) GZSL",
"55.6",
"54.0",
"46.6",
"56.3",
"SAE[19]",
"SYNC [5]",
"33.3",
"53.0",
"54,1",
"40.3",
"Figure 2: ZSL and GZSL results on ImageNet. For",
"51.7",
"65.7",
"66.5",
"60.8",
"GzSL, Au is reported",
"68.3",
"DEM[62]",
"GFZSL [47]",
"49.3",
"63.8",
"60.6",
"56.3",
"67.1",
"66.8",
"59.0",
"64.2",
"VZSL50]",
"55.8",
"63.7",
"60.1",
"5.4. Large-Scale Experiments",
"FGZSL[55]",
"GAZSL67",
"57.7",
"65.6",
"66.9",
"58.6",
"66.8",
"60.0",
"我们还评估了我们的模型在大规模ImageNet-21KE",
"58.4",
"MCGZSL[11]",
"67.3",
"Ours",
"61.5",
"[7]数据集上的性能。该数据集包含来自超过21K类的",
"69.3",
"58.5",
"70.4",
"1400万张图像。类之间的关系遵循WordNet[27]层",
"Table 1: Performance comparison for zero-shot learn-",
"次结构。遵循[54,5]中的相同协议,我们保留1K类",
"ing on CUB, AwA1, AwA2 and SUN datasets. The",
"的特定子集进行训练,并使用所有剩余的类或其子集",
"performance is measured by average per-class top-1",
"进行测试。具体来说,用于测试的子集是根据与训练类",
"accuracy(%).fand$indicategenerativeandnon-",
"或其种群的分层距离确定的。例如,2Hop包含1,509",
"generative methods, respectively.The best and the",
"个看不见的类,这些类位于基于类层次结构的可见1K",
"second best results are marked in bold and underlined",
"类的两个树跳内,而3Hop通过将范围扩展到三个树",
"respectively",
"跳,将看不见的类的数量增加到7,678。M500、M1K和",
"M5K包含500、1K和5K个填充最多的类,而L500、",
"L1K和L5K分别包含500、1K和5K个填充最少的类",
"代码是公开的。其他方法的结果发表在[54]。从表E1",
"我们将我们的方法与三种基准方法进行了比较,其",
"中,我们可以观察到:(i)生成方法的整体性能优于非",
"中包括一种基于视觉语义嵌人的方法,即。e。、ALE和",
"生成方法(i)我们提出的模型始终优于以前的最新方",
"两种基于生成模型的方法,即。e。、VZSL和FGZSL。",
"法,并且在AwA1和AwA2上显示出巨大的优势,其",
"结果如图2所示。一个值得注意的观察结果是,所有",
"中改进达到3.1%。这验证了我们通过交替反向传播训",
"方法在2Hop子集中的表现都比在3Hop子集中好得",
"练的模型对ZSL任务非常有益",
"多。造成观察的两个重要因素是:(i)在3Hop子集中",
"看不见的类在语义上与训练类的关系较小,因此难以",
"转移知识,(i)看不见的类的数量急剧增加(从1,509",
"5.3. Generalized Zero-Shot Learning",
"到7678)使分类更加困难。一般来说,很明显,生成",
"方法具有优越的性能。在三种生成方法中,我们提出的",
"方法在大多数情况下都能达到最佳精度,表明它在这",
"在广义的零拍学习设置中,将测试图像分类为可见",
"项现实而具有挑战性的任务中非常有竞争力",
"和不可见类的并集。此设置更加实用和困难,因为它消",
"除了测试图像仅来自看不见的类的假设。遵循E54提",
"5.5. Comparison with GAN & VAE-based Methods",
"出的协议,我们计算可见和不可见类的精度的调和平",
"均值:H=2AsAu,其中As和Au分别表示对可见",
"为了彻底评估我们模型的性能,我们进行了广泛的",
"类和不可见类的图像进行分类的精度。我们在四个数",
"消融实验。我们研究了我们的方法与基于GAN和VAE",
"据集上评估了我们的方法,并在表2中显示了与13种",
"的方法的比较(i。e。,FGZSL和VZSL)在(i)收敛",
"最先进方法的性能比较。实验结果表明,在可见类上实",
"的速度,(i)模型参数的数量,(i)为看不见的类生",
"现高性能的非生成方法在不可见类上表现不佳,表明",
"成不同数量的特征时的ZSL性能,(iv)在不同数量的",
"这些方法偏向于可见类。相反,这些生成方法可以减轻",
"可见类下进行训练的ZSL性能",
"偏差,并在看不见的和见过的类上都表现良好。与其他",
"比较(i)为了研究我们提出的方法的优势,我们显",
"生成ZSL方法相比,我们的方法在看不见的类上获得",
"示了不同模型的收敛曲线。我们将看到的类的子集保",
"了更高的精度,在看见的类上获得了相当的精度。它在",
"留为验证集,其余的看到的类用于训练。考虑到不同方",
"大多数数据集上显著提高了最先进的性能(例如。g。:",
"法中使用的各种损失函数不具有可比性,我们改为使",
"AwA2上的4.0%以调和均值表示),展示了广义零拍",
"用验证集的平均每类top-1精度作为收敛指标。图",
"3",
"学习的能力。",
"显示了CUB和AwA1数据集上不同数量的训练时期"
] |
{
"arxiv_id": "1904.10056",
"language": "zh",
"page_idx": 4
}
|
||
1906.07668-zh-1
|
1906.07668-zh-1.jpg
|
WISDOM@KDD'19, August 04-08, 2019, Anchorage, Alaska, USA
Tunazzina Islam
$\textbf{Yoga- Veganism: Correlation Mining of Twitter Health Data}$
Tunazzina Islam
Department of Computer Science Purdue University, West Lafayette
IN-47907,USA
islam32@purdue.edu
$\csc\cos$concerrs
$\cdot$Human-centered computing$\to$Social media; $\cdot$Computing methodologies$\to$Information extraction; Topic modeling; Factorization methods.
$\mathbf{KEYWORDS}$
Correlation mining; Topic modeling; Social media; Health
架为 Twitter 情绪分析 [15] 提供了可扩展的分布式解决方案。Bian 等人开发了针对药物相关不良事件的大规模 Twitter 挖掘。[3]
在本文中,我们使用并行和分布式技术 ApacheKafka [11] 来处理大型流式 Twitter 数据。通过集成 ApacheKafka 和 SparkStreaming, 数据处理与数据提取并行进行。然后,我们使用主题建模来推断非结构化数据的语义结构(i。e 推文)。主题建模是一种文本挖掘技术,可自动从给定文档中发现隐藏的主题。它是一种无监督的文本分析算法,用于从给定文档中查找单词组。我们使用三种不同的算法构建模型潜在语义分析 (LSA) [7],非负矩阵分解(NMF)[12]和潜在狄利克雷分配(LDA) [4]并推断推文的主题。为了观察模型行为,我们测试模型以推断新的推文。我们工作的意义是使用模型注释未标记的数据,并找到有趣的相关性
通过使用 TwitterAPI 从 Twitter 源检索
ACM Reference Format:
Tunazzina Islam. 2019. Yoga-Veganism: Correlation Mining of Twitter Health Data .In Proceedings of 8$^{t\bar{h}}$ KDD Workshop on Issues of Sentiment Discovery and Opinion Mining (WISDOM@KDD’19), August 04-08, 2019, Anchorage, $Alaska,USA.$ ACM, New York, NY, USA, 9 pages. https://doi.org/10.1145/ ${\mathrm{nnnnnnn.nnnnnnnnn}}$
# 1 INTRODUCTION
# 2 DATA COLLECTION
Tweet 消息,并将其存储在 Kafka 主题中。生产者 API 用于连接源(i。e。Twitter) 将任何 Kafka 主题作为特定类别的记录流。我们从源(Twitter)获取数据,将其推送到消息队列,并使用它进行进一步分析。Fig。1 显示了使用 Kafka 进行 Twitter 数据收集的概述
# 2.1 Apache Kafka
这项工作的主要动机始于一个问题“人们做什么来保持健康?” -有些人做均衡饮食,有些人做运动。在饮食计划中,有些人保持素食/纯素食,在运动中,有些人做游泳,骑自行车或瑜伽。有人两者都做。如果我们想知道以下问题的答案-“有多少人遵循饮食?”,“有多少人做瑜伽?”,“瑜伽士遵循素食/纯素食饮食吗?”,也许我们可以问我们熟悉的人,但这将提供关于数据的很少直觉。如今,人们通常通过讨论,推文,社交媒体上的地位来分享他们的兴趣,想法 (i。e。Facebook, Twitter, Instagram 等。)。这是大量的数据,不可能手动查看所有数据。我们需要挖掘数据以获得整体统计数据,然后我们还将能够找到一些有趣的数据相关性
关于社交媒体内容$\left[6\right],\left[5\right],\left[8\right],\left[19\right],\left[23\right]$的预测已经做了一些工作。Prieto 等人。提出了一种提取一组推文以估计和跟踪社会健康状况发生率的方法[18]。Prier 等人研究了在推文中发现公共卫生主题和主题。[17]。Yoon 等人。描述了一种实用的内容挖掘方法来分析推文内容,并说明了该方法在体育活动$\left[24\right]$主题中的应用
Twitter 数据构成了丰富的资源,可用于捕获有关可想象的任何主题的信息。在这项工作中,我们使用文本挖掘来挖掘Twitter 健康相关数据。文本挖掘是应用自然语言处理技术来获取相关信息[2]。每天在各种问题[15]上生成数百万条推文。Twitter 的大规模挖矿在过去的几年里得到了很多关注。Lin 和Ryaboy 讨论了 Twitter 基础架构的发展以及“大数据”[13]上数据挖掘功能的开发。Pandarachalil 等人。使用并行 python 框
为了处理大型流式 Twitter 数据,我们使用并行和分布式技术进行大数据框架。在这种情况下,Twitter 爬行的输出在名为ApacheKafka 的消息传递系统中排队。这是一个由 LinkedIn 在2011 年创建并开源的分布式流媒体平台 [11]。我们编写了一个生产者客户端,它使用 TwitterAPI 连续获取最新的推文,并将它们推送到单节点 KafkaBroker。有一个 Consumer 从 Kafka 读取数据(图。1)
<FigureHere>
Figure 1: Twitter Data Collection.
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. $WISDOM@ KDD’ 19, August$ $04- 08, 2019, Anchorage$, $Alaska$, $USA$ $\odot$ 2019 Association for Computing Machinery. ACM ISBN 978-x-xxxx-xxxx-x/YY/MM...$15.00 https://doi.org/10.1145/nnnnnnn.nnnnn
# 2.2 Apache Zookeeper
ApacheZookeeper 是一个分布式、开源配置、同步服务以及分$\dot{\text{布式应用程序的命名注册表。Kafka 使用 Zookeeper 存储有关}}$ Kafka 集群的元数据以及消费者客户端详细信息
|
[
[
0.0849609375,
0.07257080078125,
0.48193359375,
0.0738525390625,
0.48193359375,
0.08709716796875,
0.0849609375,
0.08587646484375
],
[
0.814453125,
0.07452392578125,
0.9111328125,
0.07452392578125,
0.9111328125,
0.08587646484375,
0.814453125,
0.08587646484375
],
[
0.1258544921875,
0.10479736328125,
0.8759765625,
0.10479736328125,
0.8759765625,
0.1256103515625,
0.1258544921875,
0.1256103515625
],
[
0.4345703125,
0.143310546875,
0.56640625,
0.143310546875,
0.56640625,
0.1578369140625,
0.4345703125,
0.1578369140625
],
[
0.38818359375,
0.1590576171875,
0.61376953125,
0.1590576171875,
0.61376953125,
0.17236328125,
0.38818359375,
0.17236328125
],
[
0.3857421875,
0.173583984375,
0.61376953125,
0.173583984375,
0.61376953125,
0.1875,
0.3857421875,
0.1875
],
[
0.450927734375,
0.1900634765625,
0.5498046875,
0.1900634765625,
0.5498046875,
0.2020263671875,
0.450927734375,
0.2020263671875
],
[
0.428955078125,
0.203857421875,
0.57177734375,
0.203857421875,
0.57177734375,
0.2183837890625,
0.428955078125,
0.2183837890625
],
[
0.08660888671875,
0.2291259765625,
0.221435546875,
0.2291259765625,
0.221435546875,
0.242431640625,
0.08660888671875,
0.242431640625
],
[
0.5185546875,
0.2298583984375,
0.91015625,
0.2298583984375,
0.91015625,
0.24365234375,
0.5185546875,
0.24365234375
],
[
0.08251953125,
0.2442626953125,
0.483642578125,
0.24560546875,
0.483642578125,
0.26318359375,
0.08251953125,
0.261962890625
],
[
0.51708984375,
0.24365234375,
0.91259765625,
0.24365234375,
0.91259765625,
0.2568359375,
0.51708984375,
0.2568359375
],
[
0.08416748046875,
0.260009765625,
0.48046875,
0.261474609375,
0.48046875,
0.274658203125,
0.08416748046875,
0.2734375
],
[
0.51708984375,
0.2568359375,
0.56884765625,
0.2568359375,
0.56884765625,
0.271484375,
0.51708984375,
0.271484375
],
[
0.0849609375,
0.274658203125,
0.238525390625,
0.274658203125,
0.238525390625,
0.28857421875,
0.0849609375,
0.28857421875
],
[
0.53515625,
0.271484375,
0.91259765625,
0.271484375,
0.91259765625,
0.285400390625,
0.53515625,
0.285400390625
],
[
0.51953125,
0.285400390625,
0.91259765625,
0.285400390625,
0.91259765625,
0.298583984375,
0.51953125,
0.298583984375
],
[
0.08660888671875,
0.3017578125,
0.188720703125,
0.3017578125,
0.188720703125,
0.313232421875,
0.08660888671875,
0.313232421875
],
[
0.5185546875,
0.2998046875,
0.91259765625,
0.2998046875,
0.91259765625,
0.313232421875,
0.5185546875,
0.313232421875
],
[
0.08416748046875,
0.317626953125,
0.43310546875,
0.317626953125,
0.43310546875,
0.330810546875,
0.08416748046875,
0.330810546875
],
[
0.5185546875,
0.313232421875,
0.9140625,
0.313232421875,
0.9140625,
0.326904296875,
0.5185546875,
0.326904296875
],
[
0.51953125,
0.32568359375,
0.91015625,
0.32568359375,
0.91015625,
0.339111328125,
0.51953125,
0.339111328125
],
[
0.0882568359375,
0.33837890625,
0.2296142578125,
0.33837890625,
0.2296142578125,
0.348388671875,
0.0882568359375,
0.348388671875
],
[
0.51953125,
0.34033203125,
0.91259765625,
0.34033203125,
0.91259765625,
0.354248046875,
0.51953125,
0.354248046875
],
[
0.08660888671875,
0.35107421875,
0.488525390625,
0.35107421875,
0.488525390625,
0.361083984375,
0.08660888671875,
0.361083984375
],
[
0.51953125,
0.354248046875,
0.9140625,
0.354248046875,
0.9140625,
0.367431640625,
0.51953125,
0.367431640625
],
[
0.0849609375,
0.3623046875,
0.48046875,
0.363037109375,
0.48046875,
0.375,
0.0849609375,
0.373779296875
],
[
0.5185546875,
0.367431640625,
0.9140625,
0.367431640625,
0.9140625,
0.380615234375,
0.5185546875,
0.380615234375
],
[
0.08660888671875,
0.376953125,
0.4794921875,
0.376953125,
0.4794921875,
0.386962890625,
0.08660888671875,
0.386962890625
],
[
0.08416748046875,
0.386474609375,
0.48193359375,
0.386962890625,
0.48193359375,
0.401611328125,
0.08416748046875,
0.40087890625
],
[
0.5185546875,
0.3818359375,
0.91259765625,
0.3818359375,
0.91259765625,
0.395751953125,
0.5185546875,
0.395751953125
],
[
0.0849609375,
0.401611328125,
0.188720703125,
0.401611328125,
0.188720703125,
0.412353515625,
0.0849609375,
0.412353515625
],
[
0.5185546875,
0.395751953125,
0.9140625,
0.395751953125,
0.9140625,
0.4091796875,
0.5185546875,
0.4091796875
],
[
0.5185546875,
0.410888671875,
0.6806640625,
0.410888671875,
0.6806640625,
0.421630859375,
0.5185546875,
0.421630859375
],
[
0.1168212890625,
0.425537109375,
0.259033203125,
0.425537109375,
0.259033203125,
0.436279296875,
0.1168212890625,
0.436279296875
],
[
0.53515625,
0.42236328125,
0.77783203125,
0.423583984375,
0.77783203125,
0.4375,
0.53515625,
0.436279296875
],
[
0.1004638671875,
0.4287109375,
0.108642578125,
0.4287109375,
0.108642578125,
0.43310546875,
0.1004638671875,
0.43310546875
],
[
0.0849609375,
0.442626953125,
0.48193359375,
0.442626953125,
0.48193359375,
0.455810546875,
0.0849609375,
0.455810546875
],
[
0.08905029296875,
0.4267578125,
0.101318359375,
0.4267578125,
0.101318359375,
0.43505859375,
0.08905029296875,
0.43505859375
],
[
0.5185546875,
0.455078125,
0.53173828125,
0.455078125,
0.53173828125,
0.46337890625,
0.5185546875,
0.46337890625
],
[
0.5361328125,
0.455810546875,
0.54345703125,
0.455810546875,
0.54345703125,
0.4609375,
0.5361328125,
0.4609375
],
[
0.54345703125,
0.455810546875,
0.54833984375,
0.455810546875,
0.54833984375,
0.4609375,
0.54345703125,
0.4609375
],
[
0.5439453125,
0.451904296875,
0.71826171875,
0.451904296875,
0.71826171875,
0.46533203125,
0.5439453125,
0.46533203125
],
[
0.51708984375,
0.4697265625,
0.91259765625,
0.4697265625,
0.91259765625,
0.48291015625,
0.51708984375,
0.48291015625
],
[
0.0849609375,
0.45703125,
0.48046875,
0.45703125,
0.48046875,
0.47021484375,
0.0849609375,
0.47021484375
],
[
0.0849609375,
0.47021484375,
0.48193359375,
0.47021484375,
0.48193359375,
0.484130859375,
0.0849609375,
0.484130859375
],
[
0.08660888671875,
0.484130859375,
0.48046875,
0.484130859375,
0.48046875,
0.49755859375,
0.08660888671875,
0.49755859375
],
[
0.51708984375,
0.48291015625,
0.91259765625,
0.484130859375,
0.91259765625,
0.49755859375,
0.51708984375,
0.496826171875
],
[
0.08660888671875,
0.49755859375,
0.48046875,
0.49755859375,
0.48046875,
0.51123046875,
0.08660888671875,
0.51123046875
],
[
0.51708984375,
0.49560546875,
0.9111328125,
0.496826171875,
0.9111328125,
0.51123046875,
0.51708984375,
0.51025390625
],
[
0.0882568359375,
0.51318359375,
0.47802734375,
0.51318359375,
0.47802734375,
0.5234375,
0.0882568359375,
0.5234375
],
[
0.5185546875,
0.51123046875,
0.9140625,
0.51123046875,
0.9140625,
0.5244140625,
0.5185546875,
0.5244140625
],
[
0.08660888671875,
0.52587890625,
0.48046875,
0.52587890625,
0.48046875,
0.5390625,
0.08660888671875,
0.5390625
],
[
0.5185546875,
0.5234375,
0.60888671875,
0.52587890625,
0.60888671875,
0.54052734375,
0.5185546875,
0.53857421875
],
[
0.08660888671875,
0.53857421875,
0.48046875,
0.5390625,
0.48046875,
0.5537109375,
0.08660888671875,
0.55322265625
],
[
0.08660888671875,
0.5537109375,
0.47802734375,
0.5537109375,
0.47802734375,
0.564453125,
0.08660888671875,
0.564453125
],
[
0.5185546875,
0.5546875,
0.56201171875,
0.5546875,
0.56201171875,
0.56494140625,
0.5185546875,
0.56494140625
],
[
0.560546875,
0.5537109375,
0.6806640625,
0.5537109375,
0.6806640625,
0.5673828125,
0.560546875,
0.5673828125
],
[
0.08660888671875,
0.5673828125,
0.48046875,
0.5673828125,
0.48046875,
0.58056640625,
0.08660888671875,
0.58056640625
],
[
0.521484375,
0.57275390625,
0.9111328125,
0.57275390625,
0.9111328125,
0.58349609375,
0.521484375,
0.58349609375
],
[
0.08416748046875,
0.580078125,
0.26318359375,
0.580078125,
0.26318359375,
0.59326171875,
0.08416748046875,
0.59326171875
],
[
0.5185546875,
0.58544921875,
0.91259765625,
0.58544921875,
0.91259765625,
0.5986328125,
0.5185546875,
0.5986328125
],
[
0.10455322265625,
0.5947265625,
0.4794921875,
0.5947265625,
0.4794921875,
0.60791015625,
0.10455322265625,
0.60791015625
],
[
0.51953125,
0.60107421875,
0.91259765625,
0.60107421875,
0.91259765625,
0.611328125,
0.51953125,
0.611328125
],
[
0.08660888671875,
0.609375,
0.48046875,
0.609375,
0.48046875,
0.62255859375,
0.08660888671875,
0.62255859375
],
[
0.51708984375,
0.61279296875,
0.89892578125,
0.61279296875,
0.89892578125,
0.626953125,
0.51708984375,
0.626953125
],
[
0.08660888671875,
0.62255859375,
0.48193359375,
0.62255859375,
0.48193359375,
0.63623046875,
0.08660888671875,
0.63623046875
],
[
0.51953125,
0.62548828125,
0.9111328125,
0.62548828125,
0.9111328125,
0.6396484375,
0.51953125,
0.6396484375
],
[
0.0882568359375,
0.63818359375,
0.465576171875,
0.63818359375,
0.465576171875,
0.6484375,
0.0882568359375,
0.6484375
],
[
0.5185546875,
0.64013671875,
0.9140625,
0.64013671875,
0.9140625,
0.65380859375,
0.5185546875,
0.65380859375
],
[
0.08660888671875,
0.65087890625,
0.48046875,
0.65087890625,
0.48046875,
0.6640625,
0.08660888671875,
0.6640625
],
[
0.51953125,
0.65576171875,
0.63232421875,
0.65576171875,
0.63232421875,
0.66650390625,
0.51953125,
0.66650390625
],
[
0.08660888671875,
0.6640625,
0.265625,
0.6640625,
0.265625,
0.67822265625,
0.08660888671875,
0.67822265625
],
[
0.10296630859375,
0.67822265625,
0.48046875,
0.67822265625,
0.48046875,
0.69140625,
0.10296630859375,
0.69140625
],
[
0.0882568359375,
0.693359375,
0.4794921875,
0.693359375,
0.4794921875,
0.7041015625,
0.0882568359375,
0.7041015625
],
[
0.53515625,
0.689453125,
0.56201171875,
0.689453125,
0.56201171875,
0.70556640625,
0.53515625,
0.70556640625
],
[
0.6845703125,
0.6962890625,
0.72607421875,
0.69873046875,
0.7255859375,
0.7109375,
0.68310546875,
0.708984375
],
[
0.08660888671875,
0.70703125,
0.48046875,
0.70703125,
0.48046875,
0.71728515625,
0.08660888671875,
0.71728515625
],
[
0.08660888671875,
0.7197265625,
0.48046875,
0.7197265625,
0.48046875,
0.73291015625,
0.08660888671875,
0.73291015625
],
[
0.52685546875,
0.71533203125,
0.56884765625,
0.71533203125,
0.56884765625,
0.7265625,
0.52685546875,
0.7265625
],
[
0.51953125,
0.7216796875,
0.5810546875,
0.7236328125,
0.5810546875,
0.73486328125,
0.51953125,
0.73291015625
],
[
0.66015625,
0.7216796875,
0.75732421875,
0.7216796875,
0.75732421875,
0.73291015625,
0.66015625,
0.73291015625
],
[
0.08660888671875,
0.73486328125,
0.4794921875,
0.73486328125,
0.4794921875,
0.74560546875,
0.08660888671875,
0.74560546875
],
[
0.6708984375,
0.736328125,
0.74169921875,
0.736328125,
0.74169921875,
0.74755859375,
0.6708984375,
0.74755859375
],
[
0.59326171875,
0.744140625,
0.62109375,
0.744140625,
0.62109375,
0.75244140625,
0.59326171875,
0.75244140625
],
[
0.69384765625,
0.74560546875,
0.73388671875,
0.74560546875,
0.73388671875,
0.75244140625,
0.69384765625,
0.75244140625
],
[
0.890625,
0.744140625,
0.91845703125,
0.744140625,
0.91845703125,
0.74853515625,
0.890625,
0.74853515625
],
[
0.9140625,
0.75390625,
0.92236328125,
0.75390625,
0.92236328125,
0.7568359375,
0.9140625,
0.7568359375
],
[
0.0849609375,
0.7470703125,
0.48046875,
0.7470703125,
0.48046875,
0.76025390625,
0.0849609375,
0.76025390625
],
[
0.08660888671875,
0.76123046875,
0.48046875,
0.76123046875,
0.48046875,
0.7744140625,
0.08660888671875,
0.7744140625
],
[
0.08660888671875,
0.7822265625,
0.48046875,
0.7822265625,
0.48046875,
0.79248046875,
0.08660888671875,
0.79248046875
],
[
0.0849609375,
0.79150390625,
0.48193359375,
0.79150390625,
0.48193359375,
0.8046875,
0.0849609375,
0.8046875
],
[
0.60302734375,
0.7861328125,
0.826171875,
0.7861328125,
0.826171875,
0.7998046875,
0.60302734375,
0.7998046875
],
[
0.08660888671875,
0.80322265625,
0.48193359375,
0.80322265625,
0.48193359375,
0.81298828125,
0.08660888671875,
0.81298828125
],
[
0.08660888671875,
0.81298828125,
0.48046875,
0.81298828125,
0.48046875,
0.82373046875,
0.08660888671875,
0.82373046875
],
[
0.0849609375,
0.82080078125,
0.483642578125,
0.8212890625,
0.483642578125,
0.83544921875,
0.0849609375,
0.833984375
],
[
0.08660888671875,
0.83349609375,
0.48046875,
0.83349609375,
0.48046875,
0.84326171875,
0.08660888671875,
0.84326171875
],
[
0.51953125,
0.8388671875,
0.54345703125,
0.8388671875,
0.54345703125,
0.84765625,
0.51953125,
0.84765625
],
[
0.5400390625,
0.84033203125,
0.560546875,
0.84033203125,
0.560546875,
0.84765625,
0.5400390625,
0.84765625
],
[
0.55615234375,
0.8369140625,
0.7158203125,
0.8369140625,
0.7158203125,
0.85107421875,
0.55615234375,
0.85107421875
],
[
0.0882568359375,
0.85400390625,
0.384033203125,
0.85400390625,
0.384033203125,
0.8642578125,
0.0882568359375,
0.8642578125
],
[
0.0849609375,
0.84228515625,
0.378173828125,
0.84326171875,
0.378173828125,
0.85400390625,
0.0849609375,
0.85302734375
],
[
0.5185546875,
0.85498046875,
0.9111328125,
0.85498046875,
0.9111328125,
0.86865234375,
0.5185546875,
0.86865234375
],
[
0.08660888671875,
0.86572265625,
0.30224609375,
0.86572265625,
0.30224609375,
0.87548828125,
0.08660888671875,
0.87548828125
],
[
0.5185546875,
0.869140625,
0.91259765625,
0.869140625,
0.91259765625,
0.88330078125,
0.5185546875,
0.88330078125
],
[
0.0882568359375,
0.876953125,
0.3056640625,
0.876953125,
0.3056640625,
0.8837890625,
0.0882568359375,
0.8837890625
],
[
0.08660888671875,
0.88623046875,
0.285888671875,
0.88623046875,
0.285888671875,
0.896484375,
0.08660888671875,
0.896484375
],
[
0.515625,
0.8818359375,
0.82177734375,
0.88330078125,
0.82177734375,
0.896484375,
0.515625,
0.89599609375
]
] |
[
"WISDOM@KDD'19,August04-08,2019,Anchorage,Alaska,USA",
"Tunazzina Islam",
"Yoga-Veganism: Correlation Mining of Twitter Health Data",
"Tunazzina Islam",
"Department of Computer Science",
"Purdue University, West Lafayette",
"IN-47907,USA",
"islam32@purdue.edu",
"CCS CONCEPTS",
"架为Twitter情绪分析[15]提供了可扩展的分布式解决方案,",
". Human-centered computing → Social media; · Computing",
"Bian等人开发了针对药物相关不良事件的大规模Twitter挖",
"methodologies -→ Information extraction; Topic modeling:",
"掘。[3]",
"Factorization methods",
"在本文中,我们使用并行和分布式技术ApacheKafka[11]来",
"处理大型流式Twitter数据。通过集成ApacheKafka和Spark",
"KEYWORDS",
"Streaming,数据处理与数据提取并行进行。然后,我们使用主",
"Correlation mining; Topic modeling; Social media; Health",
"题建模来推断非结构化数据的语义结构(i。e推文)。主题建模",
"是一种文本挖掘技术,可自动从给定文档中发现隐藏的主题",
"ACMReferenceFormat:",
"它是一种无监督的文本分析算法,用于从给定文档中查找单",
"Tunazzina Islam.2019.Yoga-Veganism:Correlation Mining ofTwitter Health",
"词组。我们使用三种不同的算法构建模型潜在语义分析(LSA)",
"Data.In Proceedingsof gth KDDWorkshopon Issuesof SentimentDiscovery",
"[7],非负矩阵分解(NMF)[12]和潜在狄利克雷分配(LDA)",
"andOpinionMining(WISDOM@KDD'19).August04-08,2019,Anchorage",
"Alaska, USA. ACM, New York, NY, USA, 9 pages. https://doi.org/10.1145/",
"[4]并推断推文的主题。为了观察模型行为,我们测试模型以",
"nnnnnn.nnnnnnn",
"推断新的推文。我们工作的意义是使用模型注释未标记的数",
"据,并找到有趣的相关性",
"INTRODUCTION",
"通过使用TwitterAPI从Twitter源检索",
"",
"这项工作的主要动机始于一个问题“人们做什么来保持健康?”",
"1",
"2",
"",
"",
"DATA COLLECTION",
"Tweet消息,并将其存储在Kafka主题中。生产者API用于连",
"-有些人做均衡饮食,有些人做运动。在饮食计划中,有些人保",
"持素食/纯素食,在运动中,有些人做游泳,骑自行车或瑜伽。",
"有人两者都做。如果我们想知道以下问题的答案一“有多少人",
"接源(i。e。Twitter)将任何Kafka主题作为特定类别的记录流。",
"遵循饮食?”,“有多少人做瑜伽?”,“瑜伽士遵循素食/纯素食",
"我们从源(Twitter)获取数据,将其推送到消息队列,并使用",
"饮食吗?”,也许我们可以问我们熟悉的人,但这将提供关于",
"它进行进一步分析。Fig。1显示了使用Kafka进行Twitter数",
"数据的很少直觉。如今,人们通常通过讨论,推文,社交媒体",
"据收集的概述",
"上的地位来分享他们的兴趣,想法(i。e。Facebook,Twitter,",
"Instagram等。)。这是大量的数据:不可能手动查看所有数据",
"2.1",
"Apache Kafka",
"我们需要挖掘数据以获得整体统计数据,然后我们还将能够",
"为了处理大型流式Twitter数据,我们使用并行和分布式技术",
"找到一些有趣的数据相关性",
"进行大数据框架。在这种情况下,Twitter爬行的输出在名为",
"关于社交媒体内容[6],[5],[8],[19],[23]的预测已经",
"ApacheKafka的消息传递系统中排队。这是一个由LinkedIn在",
"做了一些工作。Prieto等人。提出了一种提取一组推文以估计",
"2011年创建并开源的分布式流媒体平台[11]。我们编写了",
"和跟踪社会健康状况发生率的方法[18]。Prier等人研究了在",
"个生产者客户端,它使用TwitterAPI连续获取最新的推文,并",
"推文中发现公共卫生主题和主题。[17]。Yoon等人。描述了",
"将它们推送到单节点KafkaBroker。有一个Consumer从Kafka",
"种实用的内容挖掘方法来分析推文内容,并说明了该方法在",
"读取数据(图。1)",
"体育活动[24]主题中的应用",
"Twitter数据构成了丰富的资源,可用于捕获有关可想象的",
"任何主题的信息。在这项工作中,我们使用文本挖掘来挖掘",
"y",
"ZooKeeper",
"Twitter健康相关数据。文本挖掘是应用自然语言处理技术来",
"获取相关信息[2]。每天在各种问题[15]上生成数百万条推文。",
"Twitter",
"StreamingAPI",
"Single Node Kafka Broker",
"Twitter的大规模挖矿在过去的几年里得到了很多关注。Lin和",
"Single Kafka Topic",
"Produc",
"vitterhealth",
"DataPn",
"1",
"Ryaboy讨论了Twitter基础架构的发展以及“大数据”[13]上",
"数据挖掘功能的开发。Pandarachalil等人。使用并行python框",
"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",
"Figure 1: Twitter Data Collection.",
"for profit or commercial advantage and that copies bear this notice and the full cita-",
"tion 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 re-",
"publish, to post on servers or to redistribute to lists, requires prior specific permission",
"2.2",
"",
" Apache Zookeeper",
"WISDOM@KDD'19,August04-08,2019,Anchorage,Alaska,USA",
"and/or afee.Request permissions frompermissions@acm.org.",
"ApacheZookeeper是一个分布式、开源配置、同步服务以及分",
"2019Associationfor Computing Machinery",
"布式应用程序的命名注册表。Kafka使用Zookeeper存储有关",
"ACMISBN 978-X-xxxx-XXXX-x/YY/MM...$15.00",
"https://doi.org/10.1145/nnnnnn.nnnnnn",
"Kafka集群的元数据以及消费者客户端详细信息"
] |
{
"arxiv_id": "1906.07668",
"language": "zh",
"page_idx": 1
}
|
||
1906.07668-zh-4
|
1906.07668-zh-4.jpg
|
Yoga-Veganism: Correlation Mining of Twitter Health Data
我们达到了最高的一致性分数=0。4495 当主题数为2时, 对于 LSA, 对于 NMF 的最高相干值为 0。6433 对于 K=4, 对于LDA,我们还得到主题数为4,具有最高的相干性得分,为0。3871(见图。4)
对于我们的数据集,我们相应地选择了 LSA, NMF 和 LDA 具有最高相干值的 k=2、4 和 4 (图。4)。表 1 显示了相应主题的主题和前 10 个关键字。我们得到更多的信息和理解的主题使用 LDA 模型比 LSA。LSA 分解矩阵是一个高度密集的矩阵, 因此很难索引单个维度。LSA 无法捕获单词的多重含义。精度低于 LDA
在 NMF 的情况下,我们观察到相同的关键字在多个主题中重复。关键字“go”,“day”在主题 2, 主题 3 和主题 4 中重复(表1)。在表1中,主题 1 和主题 4 中都找到了关键字“瑜伽”。我们还注意到关键字“吃”是在主题 2 和主题 3(表 1)。如果在多个主题中重复相同的关键字,则可能表明“k”很大, 尽管我们在 k=4 的 NMF 中获得了最高的一致性得分
我们使用 LDA 模型进行进一步分析。因为 LDA 善于识别连贯的主题,而 NMF 通常会给出不连贯的主题。然而,在一般情况下,NMF 和 LDA 相似,但 LDA 更一致
# 3.4 Topic Inference
在使用三种不同的方法 LSA, NMF 和 LDA 进行主题建模之后我们使用 LDA 进行进一步分析 i。e。观察主导主题,2个$^{nd}$ 主导主题和主题在训练数据的每条推文中的贡献百分比。为了观察未包含在训练集中的新推文上的模型行为,我们遵循相同的过程来观察主导主题,2个$^{nd}$主导主题以及每个推文中主题对测试数据的贡献百分比。表 2 显示了一些推文和相应的主导主题,2个$^{nd}$主导主题以及每个推文中主题的贡献百分比
## 3.5 Manual Annotation
为了计算模型与地面实况标签相比的准确性,我们从火车数据集中选择了前 500 条推文(40k 条推文)。我们提取了 500 条新推文(2019年4月22日)作为测试数据集。我们通过从 LDA 模型生成的 4 个主题 (表 1 的 7个$^{th}$、8个$^{th}$、9个$^{th}$和 10个$^{th}$ 列)中选择一个主题,对训练和测试数据进行了手动注释。考虑以下两条推文:
推文 1: 和我的好朋友一起学习一些传统瑜伽
Tweet2: 为什么要#减肥#BellyFat# 健身#核心#腹肌#饮
食并健身房并健美$\#锻炼\#瑜伽$
Tweet1 的意图是瑜伽活动 (i。e。学习瑜伽)。Tweet2 更多关于举重以减少腹部脂肪。这条推文与锻炼有关。当我们进行手动注释时,我们在 Tweet1 中分配主题 2, 在 Tweet2 中分配主题 1。根据关键字“瑜伽”为两条推文分配主题 2 是不明智的。在注释期间,我们专注于推文的功能
4 RESULTS AND DISCUSSION
4.1 Visualization
我们使用 LDAvis [22] , 这是使用 LDA 估算的主题的基于 Web 的交互式可视化。Gensim 的 pyLDAVis 是最常用的可视化工具,用于可视化主题模型中包含的信息。InFig。5,左侧图上的每个气泡代表一个主题。泡沫越大,这个话题就越普遍。一个好的主题模型在整个图表中散布着相当大的,不重叠的气泡,而不是聚集在一个象限中。具有太多主题的模型通常有许多重叠,在图表的一个区域中聚集了小尺寸的气泡。在右侧, 单词代表突出的关键字
WISDOM@KDD'19, August 04-08, 2019, Anchorage, Alaska, USA
如果我们将光标移到其中一个气泡上(图。5b),右侧的单词和条形已更新,并显示了构成所选主题的前 30 个突出关键字及其估计的术语频率
我们观察到数据中有趣的隐藏相关性。Fig。6 将主题 2 作为选定主题。主题 2 包含术语频率最高的前 4 个共同出现的关键字“素食主义者”,“瑜伽”,“工作”,“每个女人”。我们可以从“女性通常比男性更多练习瑜伽”,“女性教瑜伽并将其作为工作”,“瑜伽士遵循纯素饮食”的话题中推断出不同的东西。我们会说数据 i 中有明显的相关性。e。“瑜伽-素食主义”,“女性瑜伽”。
# 4.2 Topic Frequency Distribution
每条推文由多个主题组成。但是,通常只有一个主题占主导地位。我们为每条推文提取主导和 2个$^{nd}$主导主题,并显示主题的权重(每条推文中的贡献百分比)和相应的关键字
我们在直方图中绘制每个主题在 tweet 上的分布频率。Fig。7a 显示了主导主题的频率和图。7b 在推文中显示了2个$^{nd}$主导主题的频率。FromFig。7 我们观察到,对于大多数推文,主题 1 成为主导主题或$2^{nd}$主导主题。表 1的 7 $^{th}$列显示了主题 1 的前 10 个关键词
4.3 Comparison with Ground Truth
为了与地面实况进行比较,我们逐渐增加了来自火车数据和测试数据(新推文)的数据集 100、200、300、400 和 500 推文的大小,并根据 tweet 的功能对火车/测试数据进行了手动注释(在 Subsection 3.5 中描述)
对于精度计算,我们仅考虑主导主题。当数据集的大小为500 时,我们实现了 66 个% 训练精度和 51 个% 测试精度 (图。?? )。我们通过使用不同的种子多次运行来进行随机推断的基线实现,并采用平均精度。对于数据集 500, 精度收敛到 25%, 这是合理的,因为我们有 4个主题
4.4 $\textbf{Observation and Future Work}$
在表 2 中,我们显示了一些观察结果。对于 1个$^{st}$ 和 2个$^{nd}$
行(表2)中的推文,我们观察到了可理解的主题。我们还注意到一些推文的误导性主题和不相关的主题(表2的3$^{rd}$和4 $th$行)
在表 2 的 1 $^{st}$行中,我们显示了来自火车数据的推文,并且我们将主题 2 作为主导主题,该主题在该推文中贡献了 61%。Topic1is2 $^{nd}$ dominanttopicand18%contributionhere
表 2 的 2 $^{nd}$行显示来自测试集的推文。在这条推文中,我们发现主题 2 是一个占主导地位的主题,有 33 个% 贡献,主题 4 是 2 个$^{nd}$占主导地位的主题,有 32 个% 贡献
在3$^{rd}($表2)中,我们有一个来自测试数据的推文,我们将主题 2 作为主导主题 ,该主题在该推文中贡献了 43 个%。Topic3is2 $nd$ dominantwith23%contributionwhichismisleadingtopic。该模型误解了“手中的水”一词,并推断出具有关键字“游泳,游泳, 游泳池”的主题。。但是模型应该在这里推断出更合理的主题(主题 1,其中有关键字“饮食,锻炼”)
我们将主题 2 作为 4 $^{th}$行 (表 2) 中的推文的主要主题,该主题与该推文无关,并且该推文的最相关主题(主题 2)为 2 $nd$主要主题。我们认为在与地面实况 2 进行准确性比较时,可能会考虑$^{nd}$主导主题
将来,我们将提取更多的推文并训练模型,并在测试数据上观察模型行为。由于我们在测试用例中发现了误导性和不相关的主题,因此了解预测背后的原因非常重要。我们将采用局
|
[
[
0.0882568359375,
0.07574462890625,
0.44287109375,
0.07574462890625,
0.44287109375,
0.08587646484375,
0.0882568359375,
0.08587646484375
],
[
0.5146484375,
0.07257080078125,
0.91259765625,
0.0738525390625,
0.91259765625,
0.08709716796875,
0.5146484375,
0.08587646484375
],
[
0.10455322265625,
0.10919189453125,
0.4794921875,
0.10919189453125,
0.4794921875,
0.11932373046875,
0.10455322265625,
0.11932373046875
],
[
0.53515625,
0.10797119140625,
0.9111328125,
0.10797119140625,
0.9111328125,
0.121826171875,
0.53515625,
0.121826171875
],
[
0.08660888671875,
0.121826171875,
0.48046875,
0.121826171875,
0.48046875,
0.1351318359375,
0.08660888671875,
0.1351318359375
],
[
0.5185546875,
0.121826171875,
0.91259765625,
0.121826171875,
0.91259765625,
0.1351318359375,
0.5185546875,
0.1351318359375
],
[
0.08660888671875,
0.136962890625,
0.48193359375,
0.136962890625,
0.48193359375,
0.147705078125,
0.08660888671875,
0.147705078125
],
[
0.51953125,
0.1363525390625,
0.6650390625,
0.1363525390625,
0.6650390625,
0.146484375,
0.51953125,
0.146484375
],
[
0.08660888671875,
0.149658203125,
0.178955078125,
0.15087890625,
0.178955078125,
0.1622314453125,
0.08660888671875,
0.1610107421875
],
[
0.53515625,
0.149658203125,
0.91259765625,
0.149658203125,
0.91259765625,
0.1634521484375,
0.53515625,
0.1634521484375
],
[
0.10296630859375,
0.1634521484375,
0.48046875,
0.1634521484375,
0.48046875,
0.1767578125,
0.10296630859375,
0.1767578125
],
[
0.5185546875,
0.1634521484375,
0.91259765625,
0.1634521484375,
0.91259765625,
0.1767578125,
0.5185546875,
0.1767578125
],
[
0.0882568359375,
0.1787109375,
0.4794921875,
0.1787109375,
0.4794921875,
0.189453125,
0.0882568359375,
0.189453125
],
[
0.5185546875,
0.1767578125,
0.91259765625,
0.1767578125,
0.91259765625,
0.1900634765625,
0.5185546875,
0.1900634765625
],
[
0.08660888671875,
0.1912841796875,
0.48046875,
0.1912841796875,
0.48046875,
0.2052001953125,
0.08660888671875,
0.2052001953125
],
[
0.5185546875,
0.1912841796875,
0.91259765625,
0.1912841796875,
0.91259765625,
0.2052001953125,
0.5185546875,
0.2052001953125
],
[
0.08660888671875,
0.2052001953125,
0.48046875,
0.2052001953125,
0.48046875,
0.2183837890625,
0.08660888671875,
0.2183837890625
],
[
0.5185546875,
0.203857421875,
0.9111328125,
0.205810546875,
0.9111328125,
0.2197265625,
0.5185546875,
0.2171630859375
],
[
0.08905029296875,
0.2203369140625,
0.4794921875,
0.2203369140625,
0.4794921875,
0.2310791015625,
0.08905029296875,
0.2310791015625
],
[
0.5185546875,
0.2197265625,
0.9111328125,
0.2197265625,
0.9111328125,
0.23291015625,
0.5185546875,
0.23291015625
],
[
0.0882568359375,
0.2342529296875,
0.146240234375,
0.2342529296875,
0.146240234375,
0.24560546875,
0.0882568359375,
0.24560546875
],
[
0.51953125,
0.2342529296875,
0.57861328125,
0.2342529296875,
0.57861328125,
0.24560546875,
0.51953125,
0.24560546875
],
[
0.10455322265625,
0.2474365234375,
0.47802734375,
0.2474365234375,
0.47802734375,
0.25830078125,
0.10455322265625,
0.25830078125
],
[
0.08660888671875,
0.260009765625,
0.48046875,
0.260009765625,
0.48046875,
0.2734375,
0.08660888671875,
0.2734375
],
[
0.51953125,
0.260009765625,
0.54345703125,
0.260009765625,
0.54345703125,
0.271484375,
0.51953125,
0.271484375
],
[
0.53759765625,
0.2587890625,
0.80224609375,
0.2587890625,
0.80224609375,
0.2734375,
0.53759765625,
0.2734375
],
[
0.08660888671875,
0.2734375,
0.48046875,
0.2734375,
0.48046875,
0.287353515625,
0.08660888671875,
0.287353515625
],
[
0.5185546875,
0.276611328125,
0.9111328125,
0.276611328125,
0.9111328125,
0.290283203125,
0.5185546875,
0.290283203125
],
[
0.0882568359375,
0.2890625,
0.48046875,
0.2890625,
0.48046875,
0.2998046875,
0.0882568359375,
0.2998046875
],
[
0.5185546875,
0.290283203125,
0.91259765625,
0.290283203125,
0.91259765625,
0.3037109375,
0.5185546875,
0.3037109375
],
[
0.08660888671875,
0.300537109375,
0.483642578125,
0.3017578125,
0.483642578125,
0.31494140625,
0.08660888671875,
0.314453125
],
[
0.5185546875,
0.3037109375,
0.87158203125,
0.3037109375,
0.87158203125,
0.317626953125,
0.5185546875,
0.317626953125
],
[
0.08660888671875,
0.31494140625,
0.418212890625,
0.31494140625,
0.418212890625,
0.328857421875,
0.08660888671875,
0.328857421875
],
[
0.5361328125,
0.32080078125,
0.9111328125,
0.32080078125,
0.9111328125,
0.330810546875,
0.5361328125,
0.330810546875
],
[
0.10296630859375,
0.330078125,
0.4794921875,
0.330078125,
0.4794921875,
0.343505859375,
0.10296630859375,
0.343505859375
],
[
0.515625,
0.333251953125,
0.91259765625,
0.330810546875,
0.91259765625,
0.34521484375,
0.515625,
0.347900390625
],
[
0.08660888671875,
0.343505859375,
0.48046875,
0.343505859375,
0.48046875,
0.356689453125,
0.08660888671875,
0.356689453125
],
[
0.5185546875,
0.34521484375,
0.91259765625,
0.3466796875,
0.91259765625,
0.361083984375,
0.5185546875,
0.35986328125
],
[
0.0882568359375,
0.356689453125,
0.369384765625,
0.356689453125,
0.369384765625,
0.37060546875,
0.0882568359375,
0.37060546875
],
[
0.5185546875,
0.361083984375,
0.91259765625,
0.361083984375,
0.91259765625,
0.375,
0.5185546875,
0.375
],
[
0.5185546875,
0.375732421875,
0.65869140625,
0.375732421875,
0.65869140625,
0.389404296875,
0.5185546875,
0.389404296875
],
[
0.0849609375,
0.38330078125,
0.259033203125,
0.38330078125,
0.259033203125,
0.396484375,
0.0849609375,
0.396484375
],
[
0.08660888671875,
0.40087890625,
0.47802734375,
0.40087890625,
0.47802734375,
0.4140625,
0.08660888671875,
0.4140625
],
[
0.51953125,
0.40478515625,
0.54345703125,
0.40478515625,
0.54345703125,
0.41357421875,
0.51953125,
0.41357421875
],
[
0.53759765625,
0.40283203125,
0.82177734375,
0.401611328125,
0.82177734375,
0.41357421875,
0.53759765625,
0.4140625
],
[
0.0849609375,
0.4140625,
0.4794921875,
0.412353515625,
0.4794921875,
0.4267578125,
0.0849609375,
0.4287109375
],
[
0.521484375,
0.421630859375,
0.9111328125,
0.421630859375,
0.9111328125,
0.431884765625,
0.521484375,
0.431884765625
],
[
0.0882568359375,
0.4287109375,
0.48046875,
0.4287109375,
0.48046875,
0.442626953125,
0.0882568359375,
0.442626953125
],
[
0.5185546875,
0.434326171875,
0.91259765625,
0.434326171875,
0.91259765625,
0.447509765625,
0.5185546875,
0.447509765625
],
[
0.08905029296875,
0.4443359375,
0.4794921875,
0.4443359375,
0.4794921875,
0.455078125,
0.08905029296875,
0.455078125
],
[
0.51708984375,
0.447509765625,
0.91259765625,
0.447509765625,
0.91259765625,
0.4609375,
0.51708984375,
0.4609375
],
[
0.08660888671875,
0.455078125,
0.48193359375,
0.455078125,
0.48193359375,
0.4697265625,
0.08660888671875,
0.4697265625
],
[
0.51708984375,
0.4609375,
0.7060546875,
0.4609375,
0.7060546875,
0.474853515625,
0.51708984375,
0.474853515625
],
[
0.08660888671875,
0.4697265625,
0.48046875,
0.468505859375,
0.48046875,
0.48291015625,
0.08660888671875,
0.484130859375
],
[
0.53515625,
0.4765625,
0.9111328125,
0.4765625,
0.9111328125,
0.4873046875,
0.53515625,
0.4873046875
],
[
0.08660888671875,
0.484130859375,
0.4794921875,
0.484130859375,
0.4794921875,
0.49755859375,
0.08660888671875,
0.49755859375
],
[
0.51708984375,
0.4873046875,
0.9140625,
0.488037109375,
0.9140625,
0.50244140625,
0.51708984375,
0.501953125
],
[
0.08660888671875,
0.498779296875,
0.11767578125,
0.498779296875,
0.11767578125,
0.51123046875,
0.08660888671875,
0.51123046875
],
[
0.51708984375,
0.501953125,
0.91259765625,
0.50390625,
0.91259765625,
0.517578125,
0.51708984375,
0.51513671875
],
[
0.0849609375,
0.5234375,
0.291748046875,
0.5234375,
0.291748046875,
0.537109375,
0.0849609375,
0.537109375
],
[
0.51953125,
0.51806640625,
0.91259765625,
0.51806640625,
0.91259765625,
0.52880859375,
0.51953125,
0.52880859375
],
[
0.51708984375,
0.53076171875,
0.73876953125,
0.53076171875,
0.73876953125,
0.54443359375,
0.51708984375,
0.54443359375
],
[
0.0849609375,
0.54150390625,
0.4794921875,
0.54248046875,
0.4794921875,
0.55615234375,
0.0849609375,
0.5546875
],
[
0.08660888671875,
0.55615234375,
0.48046875,
0.55615234375,
0.48046875,
0.5693359375,
0.08660888671875,
0.5693359375
],
[
0.51953125,
0.5595703125,
0.56787109375,
0.5595703125,
0.56787109375,
0.5693359375,
0.51953125,
0.5693359375
],
[
0.56201171875,
0.5595703125,
0.8037109375,
0.5595703125,
0.8037109375,
0.5693359375,
0.56201171875,
0.5693359375
],
[
0.08660888671875,
0.57080078125,
0.48193359375,
0.57080078125,
0.48193359375,
0.583984375,
0.08660888671875,
0.583984375
],
[
0.51708984375,
0.57470703125,
0.91259765625,
0.57275390625,
0.91259765625,
0.5869140625,
0.51708984375,
0.5888671875
],
[
0.08660888671875,
0.58349609375,
0.48193359375,
0.58349609375,
0.48193359375,
0.5966796875,
0.08660888671875,
0.5966796875
],
[
0.5185546875,
0.58837890625,
0.91259765625,
0.58837890625,
0.91259765625,
0.6015625,
0.5185546875,
0.6015625
],
[
0.08660888671875,
0.59521484375,
0.48193359375,
0.59765625,
0.48193359375,
0.6123046875,
0.08660888671875,
0.60986328125
],
[
0.5185546875,
0.60302734375,
0.9140625,
0.60302734375,
0.9140625,
0.6162109375,
0.5185546875,
0.6162109375
],
[
0.0849609375,
0.60986328125,
0.2467041015625,
0.60986328125,
0.2467041015625,
0.62353515625,
0.0849609375,
0.62353515625
],
[
0.51708984375,
0.6142578125,
0.560546875,
0.61865234375,
0.55810546875,
0.6318359375,
0.5146484375,
0.62744140625
],
[
0.10296630859375,
0.62548828125,
0.393798828125,
0.62548828125,
0.393798828125,
0.6396484375,
0.10296630859375,
0.6396484375
],
[
0.53515625,
0.630859375,
0.91259765625,
0.630859375,
0.91259765625,
0.64453125,
0.53515625,
0.64453125
],
[
0.10296630859375,
0.6396484375,
0.48046875,
0.6396484375,
0.48046875,
0.65283203125,
0.10296630859375,
0.65283203125
],
[
0.5185546875,
0.64599609375,
0.9140625,
0.64599609375,
0.9140625,
0.6591796875,
0.5185546875,
0.6591796875
],
[
0.0882568359375,
0.65380859375,
0.289306640625,
0.65380859375,
0.289306640625,
0.6640625,
0.0882568359375,
0.6640625
],
[
0.51708984375,
0.6572265625,
0.8310546875,
0.6572265625,
0.8310546875,
0.671875,
0.51708984375,
0.671875
],
[
0.101318359375,
0.66748046875,
0.48046875,
0.66748046875,
0.48046875,
0.68115234375,
0.101318359375,
0.68115234375
],
[
0.53369140625,
0.671875,
0.9140625,
0.673828125,
0.9140625,
0.68798828125,
0.53369140625,
0.68603515625
],
[
0.08660888671875,
0.68115234375,
0.48046875,
0.68115234375,
0.48046875,
0.6943359375,
0.08660888671875,
0.6943359375
],
[
0.51708984375,
0.68603515625,
0.9140625,
0.68798828125,
0.9140625,
0.7021484375,
0.51708984375,
0.69970703125
],
[
0.0882568359375,
0.69580078125,
0.48046875,
0.69580078125,
0.48046875,
0.708984375,
0.0882568359375,
0.708984375
],
[
0.5185546875,
0.69970703125,
0.83837890625,
0.69970703125,
0.83837890625,
0.71337890625,
0.5185546875,
0.71337890625
],
[
0.08660888671875,
0.708984375,
0.4794921875,
0.708984375,
0.4794921875,
0.72265625,
0.08660888671875,
0.72265625
],
[
0.53369140625,
0.71337890625,
0.91259765625,
0.71533203125,
0.91259765625,
0.72998046875,
0.53369140625,
0.72802734375
],
[
0.0882568359375,
0.7236328125,
0.351318359375,
0.7236328125,
0.351318359375,
0.734375,
0.0882568359375,
0.734375
],
[
0.5185546875,
0.72998046875,
0.91259765625,
0.72998046875,
0.91259765625,
0.74365234375,
0.5185546875,
0.74365234375
],
[
0.51708984375,
0.7412109375,
0.91259765625,
0.74365234375,
0.91259765625,
0.75830078125,
0.51708984375,
0.755859375
],
[
0.0849609375,
0.75,
0.34716796875,
0.75,
0.34716796875,
0.76025390625,
0.0849609375,
0.76025390625
],
[
0.5185546875,
0.7568359375,
0.91259765625,
0.75830078125,
0.91259765625,
0.771484375,
0.5185546875,
0.77099609375
],
[
0.08660888671875,
0.767578125,
0.238525390625,
0.76806640625,
0.238525390625,
0.7822265625,
0.08660888671875,
0.78076171875
],
[
0.5185546875,
0.771484375,
0.9140625,
0.771484375,
0.9140625,
0.78515625,
0.5185546875,
0.78515625
],
[
0.08660888671875,
0.7861328125,
0.48193359375,
0.7861328125,
0.48193359375,
0.7998046875,
0.08660888671875,
0.7998046875
],
[
0.51708984375,
0.78515625,
0.76953125,
0.78515625,
0.76953125,
0.798828125,
0.51708984375,
0.798828125
],
[
0.0882568359375,
0.8017578125,
0.4794921875,
0.8017578125,
0.4794921875,
0.8125,
0.0882568359375,
0.8125
],
[
0.53515625,
0.798828125,
0.9140625,
0.798828125,
0.9140625,
0.8125,
0.53515625,
0.8125
],
[
0.0882568359375,
0.81494140625,
0.48046875,
0.81494140625,
0.48046875,
0.82568359375,
0.0882568359375,
0.82568359375
],
[
0.51953125,
0.81298828125,
0.9140625,
0.81298828125,
0.9140625,
0.8271484375,
0.51953125,
0.8271484375
],
[
0.0882568359375,
0.8291015625,
0.459228515625,
0.8291015625,
0.459228515625,
0.8388671875,
0.0882568359375,
0.8388671875
],
[
0.51708984375,
0.82470703125,
0.91259765625,
0.82763671875,
0.91259765625,
0.84228515625,
0.51708984375,
0.8388671875
],
[
0.0882568359375,
0.84326171875,
0.4794921875,
0.84326171875,
0.4794921875,
0.85400390625,
0.0882568359375,
0.85400390625
],
[
0.5185546875,
0.84033203125,
0.65869140625,
0.84033203125,
0.65869140625,
0.85498046875,
0.5185546875,
0.85498046875
],
[
0.0882568359375,
0.85693359375,
0.4794921875,
0.85693359375,
0.4794921875,
0.8671875,
0.0882568359375,
0.8671875
],
[
0.53369140625,
0.85498046875,
0.91259765625,
0.85498046875,
0.91259765625,
0.86865234375,
0.53369140625,
0.86865234375
],
[
0.08905029296875,
0.87060546875,
0.48193359375,
0.87060546875,
0.48193359375,
0.880859375,
0.08905029296875,
0.880859375
],
[
0.5185546875,
0.869140625,
0.91259765625,
0.869140625,
0.91259765625,
0.88330078125,
0.5185546875,
0.88330078125
],
[
0.08660888671875,
0.8818359375,
0.233642578125,
0.88330078125,
0.233642578125,
0.896484375,
0.08660888671875,
0.89599609375
],
[
0.521484375,
0.88525390625,
0.9111328125,
0.88525390625,
0.9111328125,
0.89599609375,
0.521484375,
0.89599609375
]
] |
[
"Yoga-Veganism:CorrelationMiningofTwitterHealthData",
"WISDOM@KDD'19,August04-08,2019,Anchorage,Alaska,USA",
"我们达到了最高的一致性分数=0。4495当主题数为2时,",
"如果我们将光标移到其中一个气泡上(图。5b),右侧的单",
"对于LSA,对于NMF的最高相干值为0。6433对于K=4,对于",
"词和条形已更新,并显示了构成所选主题的前30个突出关键",
"LDA,我们还得到主题数为4,具有最高的相干性得分,为0。",
"字及其估计的术语频率",
"3871(见图。4)",
"我们观察到数据中有趣的隐藏相关性。Fig。6将主题2作为",
"对于我们的数据集,我们相应地选择了LSA,NMF和LDA",
"选定主题。主题2包含术语频率最高的前4个共同出现的关键",
"具有最高相干值的k=2、4和4(图。4)。表1显示了相应主题",
"字“素食主义者”,“瑜伽”,“工作”,“每个女人”。我们可以",
"的主题和前10个关键字。我们得到更多的信息和理解的主题",
"从“女性通常比男性更多练习瑜伽”,“女性教瑜伽并将其作为",
"使用LDA模型比LSA。LSA分解矩阵是一个高度密集的矩阵,",
"工作”,“瑜伽士遵循纯素饮食”的话题中推断出不同的东西。。",
"因此很难索引单个维度。LSA无法捕获单词的多重含义。精度",
"我们会说数据i中有明显的相关性。e。“瑜伽-素食主义”,“女",
"低于LDA",
"性瑜伽”。",
"在NMF的情况下,我们观察到相同的关键字在多个主题中",
"重复。关键字“go”,“day”在主题2,主题3和主题4中重",
"4.2",
"2TopicFrequencyDistribution",
"复(表1)。在表1中,主题1和主题4中都找到了关键字“瑜",
"每条推文由多个主题组成。但是,通常只有一个主题占主导地",
"伽”。我们还注意到关键字“吃”是在主题2和主题3(表1)。",
"位。我们为每条推文提取主导和2个nd主导主题,并显示主",
"如果在多个主题中重复相同的关键字,则可能表明“k”很大,",
"题的权重(每条推文中的贡献百分比)和相应的关键字",
"尽管我们在k=4的NMF中获得了最高的一致性得分",
"我们在直方图中绘制每个主题在tweet上的分布频率。Fig。",
"我们使用LDA模型进行进一步分析。因为LDA善于识别连",
"7a显示了主导主题的频率和图。7b在推文中显示了2个nd主",
"贯的主题,而NMF通常会给出不连贯的主题。然而,在一般",
"导主题的频率。FromFig。7我们观察到,对于大多数推文,主",
"情况下,NMF和LDA相似,但LDA更一致",
"题1成为主导主题或2 nd主导主题。表1的7th列显示了主",
"题1的前10个关键词",
"3.4TopicInference",
"在使用三种不同的方法LSA,NMF和LDA进行主题建模之后",
"4.3",
"3ComparisonwithGroundTruth",
"我们使用LDA进行进一步分析i。e。观察主导主题,2个nd",
"为了与地面实况进行比较,我们逐渐增加了来自火车数据和",
"主导主题和主题在训练数据的每条推文中的贡献百分比。为",
"测试数据(新推文)的数据集100、200、300、400和500推文",
"了观察未包含在训练集中的新推文上的模型行为,我们遵循",
"的大小,并根据tweet的功能对火车/测试数据进行了手动注",
"相同的过程来观察主导主题,2个nd主导主题以及每个推文",
"释(在Subsection3.5中描述)",
"中主题对测试数据的贡献百分比。表2显示了一些推文和相应",
"对于精度计算,我们仅考虑主导主题。当数据集的大小为",
"的主导主题,2个nd主导主题以及每个推文中主题的贡献百",
"500时,我们实现了66个%训练精度和51个%测试精度(图。",
"分比",
"??)。我们通过使用不同的种子多次运行来进行随机推断的基",
"3.5Manual Annotation",
"线实现,并采用平均精度。对于数据集500,精度收敛到25%,",
"这是合理的,因为我们有4个主题",
"为了计算模型与地面实况标签相比的准确性,我们从火车数据",
"集中选择了前500条推文(40k条推文)。我们提取了500条新",
"4.4",
"ObservationandFutureWork",
"推文(2019年4月22日)作为测试数据集。我们通过从LDA",
"在表2中,我们显示了一些观察结果。对于1个st和2个nd",
"模型生成的4个主题(表1的7个th、8个th、9个th和10",
"行(表2)中的推文,我们观察到了可理解的主题。我们还注",
"个th列)中选择一个主题,对训练和测试数据进行了手动注",
"意到一些推文的误导性主题和不相关的主题(表2的3rd和4",
"释。。考虑以下两条推文:",
"th行)",
"推文1:和我的好朋友一起学习一些传统瑜伽",
"在表2的1st行中,我们显示了来自火车数据的推文,并且",
"Tweet2:为什么要#减肥#BellyFat#健身#核心#腹肌#饮",
"我们将主题2作为主导主题,该主题在该推文中贡献了61%。",
"食#健身房#健美#锻炼#瑜伽",
"Topiclis2 nd dominanttopicand18%contributionhere",
"Tweet1的意图是瑜伽活动(i。e。学习瑜伽)。Tweet2更多",
"表2的2nd行显示来自测试集的推文。在这条推文中,我",
"关于举重以减少腹部脂肪。这条推文与锻炼有关。当我们进行",
"们发现主题2是一个占主导地位的主题,有33个%贡献,主",
"手动注释时,我们在Tweet1中分配主题2,在Tweet2中分配",
"题4是2个nd占主导地位的主题,有32个%贡献",
"主题1。根据关键字“瑜伽”为两条推文分配主题2是不明智",
"在3rd(表2)中,我们有一个来自测试数据的推文,我们将主",
"的。在注释期间,我们专注于推文的功能",
"题2作为主导主题,该主题在该推文中贡献了43个%。Topic3is2",
"nddominantwith23%contributionwhichismisleadingtopic该模型",
"4RESULTSANDDISCUSSION",
"误解了“手中的水”一词,并推断出具有关键字“游泳,游泳,",
"4.1Visualization",
"游泳池”的主题。。但是模型应该在这里推断出更合理的主题",
"我们使用LDAvis[22],这是使用LDA估算的主题的基于Web",
"(主题1,其中有关键字“饮食,锻炼”)",
"的交互式可视化。Gensim的pyLDAVis是最常用的可视化工",
"我们将主题2作为4th行(表2)中的推文的主要主题,该",
"具,用于可视化主题模型中包含的信息。InFig。5,左侧图上",
"主题与该推文无关,并且该推文的最相关主题(主题2)为2",
"的每个气泡代表一个主题。泡沫越大,这个话题就越普遍。",
"nd主要主题。我们认为在与地面实况2进行准确性比较时,可",
"个好的主题模型在整个图表中散布着相当大的,不重叠的气",
"能会考虑 nd主导主题",
"泡,而不是聚集在一个象限中。具有太多主题的模型通常有许",
"将来,我们将提取更多的推文并训练模型,并在测试数据上",
"多重叠,在图表的一个区域中聚集了小尺寸的气泡。在右侧,",
"观察模型行为。由于我们在测试用例中发现了误导性和不相",
"单词代表突出的关键字",
"关的主题,因此了解预测背后的原因非常重要。我们将采用局"
] |
{
"arxiv_id": "1906.07668",
"language": "zh",
"page_idx": 4
}
|
||
2106.04814-zh-0
|
2106.04814-zh-0.jpg
|
# 更好地利用双语信息进行跨语言 AMR 解析
Yitao Cai, Zhe Lin and Xiaojun Wan
Wangxuan Institute of Computer Technology, Peking University
Center for Data Science, Peking University
The MOE Key Laboratory of Computational Linguistics, Peking University
$\{$ caiyitao,linzhe,wanxiaojun $\}$ @pku.edu.cn
$\operatorname{Abstract}$
Abstract Meaning Representation (AMR) is a rooted, labeled, acyclic graph representing the semantics of natural language. As previous works show, although AMR is designed for English at first, it can also represent semantics in other languages. However, they find that concepts in their predicted AMR graphs are less specific. We argue that the misprediction of concepts is due to the high relevance between English tokens and AMR concepts. In this work, we introduce bilingual input, namely the translated texts as well as non-English texts, in order to enable the model to predict more accurate concepts. Besides, we also introduce an auxiliary task, requiring the decoder to predict the English sequences at the same time. The auxiliary task can help the decoder understand what exactly the corresponding English tokens are. Our proposed cross-lingual AMR parser surpasses previous state-of-the-art parser by 10.6 points on Smatch F1 score. The ablation study also demonstrates the efficacy of our proposed modules
## 1 Introduction
抽象含义表示(AMR)(Banarescu et al., 2013) 是一个有根的,有标签的非循环图,表示文本的句子级语义。图中的节点是文本中的概念, 图中的边是概念之间的关系。由于 AMR 从语法中抽象出来并仅保留语义信息,因此它可以应用于许多语义相关任务,例如摘要 (Liu et al., 2015; Liao et al., 2018) , 释义检测 (Issa et al.,2018), 机器翻译 (Song et al.,2019) 等
以前关于 AMR 解析的工作主要集中在英语上,因为 AMR 是为英语文本设计的,并且非英语文本的并行语料库和 AMR 很少。AMR 的早期工作宣布 AMR 偏向英语,而不是中间语言 (Banarescu et al., 2013)。此外,一些研究表明,将 AMR 与非英语语言对齐并不总是
可能的 (Xue et al., 2014; Hajic et al., 2014) 。然而,最近的研究 (Damonte and Cohen, 2018; Blloshmi et al.,2020) 表明,当语言之间存在结构差异时,AMR 解析器能够恢复 AMR 结构,这表明它能够克服许多翻译差异。因此, 我们可以将目标(非英语)语言的文本解析为AMR
跨语言 AMR 解析的另一个问题是并行语料库的稀缺性。与互联网上资源丰富的机器翻译或情感分类不同,我们只能通过人工注释获得非英语文本和 AMR 对。Damonte and Cohen (2018)将非英语令牌与 AMR 节点对齐,如果它们可以映射到相同的英语令牌来构造训练集。他们使用合成训练集进一步训练基于转换的解析器。他们还尝试将测试集翻译成英语,并应用英语 AMR 解析器。Blloshmi et al. (2020)以两种方式构建训练数据。其中一种方法是,他们使用黄金平行句子,并在英语 AMR 解析器的帮助下生成合成的 AMR 注释。另一种方法是使用黄金英语-AMR 对,并通过预先训练的机器翻译系统获取非英语文本。他们进一步使用序列到图解析器 (Zhang et al., 2019a) 来训练跨语言 AMR 解析器
根据 (Blloshmi et al., 2020) , 跨语言 AMR 解析器可能会预测比黄金概念更不具体和准确的概念。因此,我们提出了一种引人机器翻译的新模型,使我们的解析器能够预测更准确的概念。特别是,我们首先构建类似于(Blloshmi et al., 2020) 的训练数据,将英语文本翻译成目标语言。我们的基本模型是序列到序列模型,而不是 (Blloshmi et al., 2020) 中使用的序列到图模型,因为在英语 AMR 解析中,序列到序列模型可以通过足够的数据实现最先进的结果用于预训练 (Xu et al., 2020) 。在培训时我们通过连接翻译的目标语言文本和英语文本作为输人来引入双语输入。至于推理阶段,双语输入是翻译的英语文本和目标语言文本的串联。我们希望我们的模型可以在英语标记的帮助下预测更准确的概念,同时如果翻译的英语文本中存在语义转移,它仍然可以保留原始
|
[
[
0.3720703125,
0.08612060546875,
0.63037109375,
0.08612060546875,
0.63037109375,
0.1009521484375,
0.3720703125,
0.1009521484375
],
[
0.403076171875,
0.10394287109375,
0.59765625,
0.10272216796875,
0.59765625,
0.12054443359375,
0.403076171875,
0.1217041015625
],
[
0.340087890625,
0.1455078125,
0.66748046875,
0.1455078125,
0.66748046875,
0.1591796875,
0.340087890625,
0.1591796875
],
[
0.2283935546875,
0.162109375,
0.78076171875,
0.162109375,
0.78076171875,
0.177001953125,
0.2283935546875,
0.177001953125
],
[
0.318115234375,
0.177001953125,
0.68701171875,
0.1776123046875,
0.68701171875,
0.1923828125,
0.318115234375,
0.191162109375
],
[
0.17626953125,
0.193603515625,
0.82958984375,
0.19482421875,
0.82958984375,
0.208984375,
0.17626953125,
0.2078857421875
],
[
0.318115234375,
0.2120361328125,
0.69287109375,
0.2120361328125,
0.69287109375,
0.2257080078125,
0.318115234375,
0.2257080078125
],
[
0.26611328125,
0.265380859375,
0.343505859375,
0.265380859375,
0.343505859375,
0.27978515625,
0.26611328125,
0.27978515625
],
[
0.515625,
0.265380859375,
0.8818359375,
0.265380859375,
0.8818359375,
0.279052734375,
0.515625,
0.279052734375
],
[
0.5146484375,
0.281982421875,
0.880859375,
0.281982421875,
0.880859375,
0.295654296875,
0.5146484375,
0.295654296875
],
[
0.1485595703125,
0.292236328125,
0.459228515625,
0.292236328125,
0.459228515625,
0.30712890625,
0.1485595703125,
0.30712890625
],
[
0.5146484375,
0.298583984375,
0.8818359375,
0.298583984375,
0.8818359375,
0.312255859375,
0.5146484375,
0.312255859375
],
[
0.1485595703125,
0.30810546875,
0.455078125,
0.30810546875,
0.455078125,
0.318359375,
0.1485595703125,
0.318359375
],
[
0.5146484375,
0.314208984375,
0.88330078125,
0.314208984375,
0.88330078125,
0.327880859375,
0.5146484375,
0.327880859375
],
[
0.14697265625,
0.320556640625,
0.45751953125,
0.32177734375,
0.45751953125,
0.336181640625,
0.14697265625,
0.3349609375
],
[
0.5146484375,
0.330078125,
0.880859375,
0.330078125,
0.880859375,
0.34326171875,
0.5146484375,
0.34326171875
],
[
0.14697265625,
0.336181640625,
0.459228515625,
0.3349609375,
0.459228515625,
0.3486328125,
0.14697265625,
0.349853515625
],
[
0.14697265625,
0.349853515625,
0.459228515625,
0.350830078125,
0.459228515625,
0.364013671875,
0.14697265625,
0.363525390625
],
[
0.5146484375,
0.345703125,
0.8818359375,
0.3466796875,
0.8818359375,
0.361083984375,
0.5146484375,
0.35986328125
],
[
0.1485595703125,
0.364013671875,
0.459228515625,
0.364013671875,
0.459228515625,
0.377685546875,
0.1485595703125,
0.377685546875
],
[
0.51318359375,
0.3623046875,
0.5615234375,
0.3623046875,
0.5615234375,
0.377197265625,
0.51318359375,
0.377197265625
],
[
0.1502685546875,
0.37890625,
0.45751953125,
0.37890625,
0.45751953125,
0.392578125,
0.1502685546875,
0.392578125
],
[
0.5322265625,
0.37890625,
0.8818359375,
0.380126953125,
0.8818359375,
0.394287109375,
0.5322265625,
0.393798828125
],
[
0.1485595703125,
0.392578125,
0.459228515625,
0.392578125,
0.459228515625,
0.40625,
0.1485595703125,
0.40625
],
[
0.5146484375,
0.394287109375,
0.8818359375,
0.3955078125,
0.8818359375,
0.410400390625,
0.5146484375,
0.4091796875
],
[
0.1485595703125,
0.40673828125,
0.459228515625,
0.40673828125,
0.459228515625,
0.42041015625,
0.1485595703125,
0.42041015625
],
[
0.51708984375,
0.412109375,
0.8818359375,
0.412109375,
0.8818359375,
0.42578125,
0.51708984375,
0.42578125
],
[
0.1485595703125,
0.4228515625,
0.45751953125,
0.4228515625,
0.45751953125,
0.432861328125,
0.1485595703125,
0.432861328125
],
[
0.515625,
0.427490234375,
0.8818359375,
0.427490234375,
0.8818359375,
0.441162109375,
0.515625,
0.441162109375
],
[
0.1485595703125,
0.435302734375,
0.459228515625,
0.435302734375,
0.459228515625,
0.448974609375,
0.1485595703125,
0.448974609375
],
[
0.5146484375,
0.4423828125,
0.8818359375,
0.44482421875,
0.8818359375,
0.457763671875,
0.5146484375,
0.4560546875
],
[
0.1502685546875,
0.449462890625,
0.456787109375,
0.449462890625,
0.456787109375,
0.463134765625,
0.1502685546875,
0.463134765625
],
[
0.1485595703125,
0.463134765625,
0.45751953125,
0.463134765625,
0.45751953125,
0.476806640625,
0.1485595703125,
0.476806640625
],
[
0.515625,
0.4619140625,
0.87890625,
0.4619140625,
0.87890625,
0.47265625,
0.515625,
0.47265625
],
[
0.14697265625,
0.47802734375,
0.459228515625,
0.47802734375,
0.459228515625,
0.4912109375,
0.14697265625,
0.4912109375
],
[
0.515625,
0.476806640625,
0.8818359375,
0.476806640625,
0.8818359375,
0.490478515625,
0.515625,
0.490478515625
],
[
0.14697265625,
0.4921875,
0.45751953125,
0.4921875,
0.45751953125,
0.505859375,
0.14697265625,
0.505859375
],
[
0.515625,
0.4921875,
0.8818359375,
0.4921875,
0.8818359375,
0.505859375,
0.515625,
0.505859375
],
[
0.1485595703125,
0.505859375,
0.45751953125,
0.505859375,
0.45751953125,
0.51953125,
0.1485595703125,
0.51953125
],
[
0.515625,
0.5087890625,
0.8818359375,
0.5087890625,
0.8818359375,
0.52392578125,
0.515625,
0.52392578125
],
[
0.14697265625,
0.52099609375,
0.459228515625,
0.51953125,
0.459228515625,
0.533203125,
0.14697265625,
0.53369140625
],
[
0.515625,
0.52685546875,
0.87890625,
0.52685546875,
0.87890625,
0.53759765625,
0.515625,
0.53759765625
],
[
0.1502685546875,
0.5361328125,
0.45751953125,
0.5361328125,
0.45751953125,
0.54638671875,
0.1502685546875,
0.54638671875
],
[
0.52490234375,
0.54052734375,
0.880859375,
0.54052734375,
0.880859375,
0.55419921875,
0.52490234375,
0.55419921875
],
[
0.1485595703125,
0.55029296875,
0.45751953125,
0.55029296875,
0.45751953125,
0.56103515625,
0.1485595703125,
0.56103515625
],
[
0.5146484375,
0.5556640625,
0.8818359375,
0.5556640625,
0.8818359375,
0.5693359375,
0.5146484375,
0.5693359375
],
[
0.1485595703125,
0.5634765625,
0.459228515625,
0.5634765625,
0.459228515625,
0.57666015625,
0.1485595703125,
0.57666015625
],
[
0.1485595703125,
0.5791015625,
0.45751953125,
0.5791015625,
0.45751953125,
0.5888671875,
0.1485595703125,
0.5888671875
],
[
0.5146484375,
0.57373046875,
0.8818359375,
0.57373046875,
0.8818359375,
0.58740234375,
0.5146484375,
0.58740234375
],
[
0.14697265625,
0.5927734375,
0.45751953125,
0.5927734375,
0.45751953125,
0.60546875,
0.14697265625,
0.60546875
],
[
0.515625,
0.5888671875,
0.88330078125,
0.5888671875,
0.88330078125,
0.6025390625,
0.515625,
0.6025390625
],
[
0.1485595703125,
0.60546875,
0.455078125,
0.60546875,
0.455078125,
0.619140625,
0.1485595703125,
0.619140625
],
[
0.515625,
0.60546875,
0.88330078125,
0.60546875,
0.88330078125,
0.619140625,
0.515625,
0.619140625
],
[
0.1485595703125,
0.619140625,
0.45751953125,
0.619140625,
0.45751953125,
0.6328125,
0.1485595703125,
0.6328125
],
[
0.51318359375,
0.62060546875,
0.84814453125,
0.62060546875,
0.84814453125,
0.63427734375,
0.51318359375,
0.63427734375
],
[
0.1485595703125,
0.63525390625,
0.39208984375,
0.63525390625,
0.39208984375,
0.6484375,
0.1485595703125,
0.6484375
],
[
0.53564453125,
0.63818359375,
0.8818359375,
0.63818359375,
0.8818359375,
0.65185546875,
0.53564453125,
0.65185546875
],
[
0.11419677734375,
0.6591796875,
0.264404296875,
0.6611328125,
0.264404296875,
0.67578125,
0.11419677734375,
0.67333984375
],
[
0.515625,
0.65380859375,
0.8818359375,
0.65380859375,
0.8818359375,
0.66748046875,
0.515625,
0.66748046875
],
[
0.515625,
0.67041015625,
0.8818359375,
0.67041015625,
0.8818359375,
0.68408203125,
0.515625,
0.68408203125
],
[
0.118408203125,
0.68505859375,
0.486083984375,
0.68505859375,
0.486083984375,
0.69873046875,
0.118408203125,
0.69873046875
],
[
0.515625,
0.68701171875,
0.87744140625,
0.68701171875,
0.87744140625,
0.69775390625,
0.515625,
0.69775390625
],
[
0.12005615234375,
0.703125,
0.48779296875,
0.703125,
0.48779296875,
0.71630859375,
0.12005615234375,
0.71630859375
],
[
0.515625,
0.703125,
0.8818359375,
0.703125,
0.8818359375,
0.71630859375,
0.515625,
0.71630859375
],
[
0.12005615234375,
0.71875,
0.484375,
0.71875,
0.484375,
0.732421875,
0.12005615234375,
0.732421875
],
[
0.5380859375,
0.72021484375,
0.880859375,
0.72021484375,
0.880859375,
0.73095703125,
0.5380859375,
0.73095703125
],
[
0.12176513671875,
0.7353515625,
0.48779296875,
0.7353515625,
0.48779296875,
0.7490234375,
0.12176513671875,
0.7490234375
],
[
0.515625,
0.7353515625,
0.8818359375,
0.7353515625,
0.8818359375,
0.7490234375,
0.515625,
0.7490234375
],
[
0.1234130859375,
0.7529296875,
0.486083984375,
0.7529296875,
0.486083984375,
0.76318359375,
0.1234130859375,
0.76318359375
],
[
0.5146484375,
0.75,
0.880859375,
0.75,
0.880859375,
0.76318359375,
0.5146484375,
0.76318359375
],
[
0.12005615234375,
0.7666015625,
0.486083984375,
0.7666015625,
0.486083984375,
0.77978515625,
0.12005615234375,
0.77978515625
],
[
0.5146484375,
0.765625,
0.8818359375,
0.7666015625,
0.8818359375,
0.78076171875,
0.5146484375,
0.77978515625
],
[
0.12176513671875,
0.7822265625,
0.48779296875,
0.7822265625,
0.48779296875,
0.7958984375,
0.12176513671875,
0.7958984375
],
[
0.5146484375,
0.7822265625,
0.87890625,
0.7822265625,
0.87890625,
0.7958984375,
0.5146484375,
0.7958984375
],
[
0.12005615234375,
0.798828125,
0.489501953125,
0.798828125,
0.489501953125,
0.8125,
0.12005615234375,
0.8125
],
[
0.51318359375,
0.798828125,
0.880859375,
0.798828125,
0.880859375,
0.8125,
0.51318359375,
0.8125
],
[
0.139404296875,
0.81640625,
0.486083984375,
0.81640625,
0.486083984375,
0.82666015625,
0.139404296875,
0.82666015625
],
[
0.5146484375,
0.8154296875,
0.8818359375,
0.8154296875,
0.8818359375,
0.8291015625,
0.5146484375,
0.8291015625
],
[
0.12176513671875,
0.83056640625,
0.489501953125,
0.83056640625,
0.489501953125,
0.84423828125,
0.12176513671875,
0.84423828125
],
[
0.5146484375,
0.83203125,
0.88330078125,
0.83203125,
0.88330078125,
0.845703125,
0.5146484375,
0.845703125
],
[
0.12005615234375,
0.84716796875,
0.489501953125,
0.84716796875,
0.489501953125,
0.86083984375,
0.12005615234375,
0.86083984375
],
[
0.51318359375,
0.84716796875,
0.880859375,
0.84716796875,
0.880859375,
0.86083984375,
0.51318359375,
0.86083984375
],
[
0.12005615234375,
0.86328125,
0.489501953125,
0.86328125,
0.489501953125,
0.876953125,
0.12005615234375,
0.876953125
],
[
0.5146484375,
0.86328125,
0.8818359375,
0.86328125,
0.8818359375,
0.876953125,
0.5146484375,
0.876953125
],
[
0.118408203125,
0.87890625,
0.489501953125,
0.87744140625,
0.489501953125,
0.892578125,
0.118408203125,
0.8935546875
],
[
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.880859375,
0.8955078125,
0.880859375,
0.9091796875,
0.51318359375,
0.9091796875
]
] |
[
"更好地利用双语信息进行",
"跨语言AMR解析",
"Yitao Cai, Zhe Lin and Xiaojun Wan",
"Wangxuan Institute of Computer Technology, Peking University",
"Center for Data Science, Peking University",
"The MOE Key Laboratory of Computational Linguistics, Peking University",
"{ caiyitao,linzhe,wanxiaojun @pku.edu.cn",
"Abstract",
"可能的(Xueetal.,2014;Hajicetal.,2014)。",
"然而,最近的研究(DamonteandCohen,2018",
"Abstract Meaning Representation (AMR)",
"Blloshmietal.,2020)表明,当语言之间存在",
"is a rooted.labeled, acvclic graph repre",
"结构差异时,AMR解析器能够恢复AMR结",
"senting the semantics of natural language.",
"构,这表明它能够克服许多翻译差异。因此,",
"As previous works show, although AMR is",
"designed for English at first, it can also rep-",
"我们可以将目标(非英语)语言的文本解析为",
"resent semantics in other languages. How",
"AMR",
"ever, they find that concepts in their pre",
"跨语言AMR解析的另一个问题是并行语",
"dicted AMR graphs are less specific. We",
"料库的稀缺性。与互联网上资源丰富的机器",
"argue that the misprediction of concepts",
"翻译或情感分类不同,我们只能通过人工注",
"is dueto the high relevancebetween En",
"释获得非英语文本和AMR对。Damonteand",
"glish tokens and AMR concepts. In this",
"Cohen(2018)将非英语令牌与AMR节点对",
"work, we introduce bilingual input, namely",
"the translated texts as well as non-English",
"齐,如果它们可以映射到相同的英语令牌来",
"texts, in order to enable the model to",
"构造训练集。他们使用合成训练集进一步训练",
"predict more accurate concepts. Besides",
"基于转换的解析器。他们还尝试将测试集翻译",
"we also introduce an auxiliary task, re",
"成英语,并应用英语AMR解析器。Blloshmi",
"quiring the decoder to predict the English",
"etal.(2020)以两种方式构建训练数据。其中",
"sequences at the same time.The auxil",
"一种方法是,他们使用黄金平行句子,并在英",
"iary task can help the decoder understand",
"语AMR解析器的帮助下生成合成的AMR注",
"what exactly the corresponding English to-",
"kens are.Ourproposed cross-lingual AMR",
"释。另一种方法是使用黄金英语-AMR对,并",
"parser surpasses previous state-of-the-art",
"通过预先训练的机器翻译系统获取非英语文",
"parser by 10.6 points on Smatch F1 score",
"本。他们进一步使用序列到图解析器(Zhang",
"The ablation study also demonstrates the",
"etal,2019a)来训练跨语言AMR解析器",
"efficacy of our proposed modules.",
"根据(Blloshmietal.,2020),跨语言AMR",
"1Introduction",
"解析器可能会预测比黄金概念更不具体和准确",
"的概念。因此,我们提出了一种引人机器翻译",
"抽象含义表示(AMR)(Banarescuetal.,2013)",
"的新模型:使我们的解析器能够预测更准确的",
"是一个有根的,有标签的非循环图,表示文本",
"概念。特别是,我们首先构建类似于(Blloshmi",
"的句子级语义。图中的节点是文本中的概念",
"al.,2020)的训练数据,将英语文本翻译成",
"图中的边是概念之间的关系。由于AMR从",
"目标语言。我们的基本模型是序列到序列模",
"语法中抽象出来并仅保留语义信息,因此它可",
"型,而不是(Blloshmietal.,2020)中使用的序",
"以应用于许多语义相关任务,例如摘要(Liu",
"列到图模型,因为在英语AMR解析中,序列",
"etal.,2015;Liao etal.,2018),释义检测(Issa",
"到序列模型可以通过足够的数据实现最先进的",
"etal.,2018),机器翻译(Songetal.,2019)等",
"结果用于预训练(Xuetal.,2020)。在培训时",
"以前关于AMR解析的工作主要集中在英语",
"我们通过连接翻译的目标语言文本和英语文本",
"上,因为AMR是为英语文本设计的,并且非",
"作为输人来引人双语输人。至于推理阶段,双",
"英语文本的并行语料库和AMR很少。AMR",
"语输人是翻译的英语文本和目标语言文本的",
"的早期工作宣布AMR偏向英语,而不是中间",
"串联。我们希望我们的模型可以在英语标记的",
"语言(Banarescuetal.,2013)。此外,一些研",
"帮助下预测更准确的概念,同时如果翻译的英",
"究表明,将AMR与非英语语言对齐并不总是",
"语文本中存在语义转移,它仍然可以保留原始"
] |
{
"arxiv_id": "2106.04814",
"language": "zh",
"page_idx": 0
}
|
||
2106.04814-zh-1
|
2106.04814-zh-1.jpg
|
文本的含义。此外,在训练过程中,我们还引人了一个辅助任务,要求解码器恢复英语输入令牌,这也旨在增强我们的解析器预测概念的能力。我们的解析器在 LDC2020T07 数据集(Cai and Knight, 2013) 上的性能比以前的最新解析器 XL-AMR (Blloshmi et al., 2020) 高出约 10。平均 6 分的 SmatchF1 得分,这证明了我们提出的跨语言 AMR 解析器的功效
我们的主要贡献总结如下:
$\bullet$ We introduce bilingual inputs and an aux-
iliary task to a seq2seq cross-lingual AMR parser, aiming to enable the parser to make better use of bilingual information and predict more accurate concepts.
$\bullet$ Our parser surpasses the best previously
reported results of Smatch F1 score on LDC2020T07 by a large margin. The results demonstrate the effectiveness of our parser. Ablation studies show the usefulness of the model modules. Codes are public available $^1.$
$\bullet$ We further carry out experiments to in-
vestigate the influence of incorporating pre-training models into our cross-lingual AMR parser.
## 2 Related Work
抽 象 含 义 表 示 ( AMR) ( Banarescu et al. , 2013) 解析最近变得越来越流行。以前的一些作品(Flanigan et al., 2014; Lyu and Titov, 2018; Zhang et al., 2019a) 通过两阶段方法解决了这个问题。他们首先将句子中的单词投射到AMR 概念中,然后进行关系识别。(Wang et al., 2015b,a; Damonte et al., 2017; Liu et al., 2018; Guo and Lu, 2018; Naseem et al., 2019; Lee et al., 2020) 应用基于转换的解析。它们将单词与 AMR 概念对齐,然后根据不同的处理单词采取不同的操作来链接边或插人新节点。由于序列到序列模型的最新发展,一些作品将其用于将文本解析为 AMR (Konstas et al., 2017;van Noord and Bos, 2017; Ge et al., 2019; Xu et al.,2020)。它们将 AMR 图线性化,并利用字符级或单词级序列到序列模型。提出了序列到图模型,以使解码器能够更好地对图结构进行建模。Zhang et al. (2019a) 首先使用序列到序列模型来预测概念,并使用 biaffine 分类器来预测边缘。Zhang et al. (2019b)提出了
${^{1}\mathrm{https://git}}$hub.com/headacheboy/cross-lingual-
amr-parsing
一个单阶段序列到图模型,同时预测概念和关系。Cai and Lam (2020)将 AMR 解析视为输人序列和构造图的双重决策。因此,他们提出了一种序列到图的方法,首先将输入的单词映射到一个概念,然后根据生成的概念链接一条边。最近,预训练模型已被证明在 AMR 解析(Xu et al., 2020) 中表现良好。Lee et al. (2020) 采用自训练方法来增强基于转换的解析器,该解析器在英语 AMR 解析中获得了最先进的SmatchF1 分数
Vanderwende et al. (2015)首先开展跨语言AMR 解析研究。他们将目标语言中的文本解析为逻辑形式,然后将其解析为 AMR 图。Damonte and Cohen (2018) 尝试将非英语单词投影到 AMR 概念,并使用基于转换的解析器将文本解析为 AMR 图。他们还尝试将非英语文本自动翻译成英语,并利用英语 AMR 解析器。Blloshmi et al. (2020)尝试通过机器翻译系统或英语 AMR 解析器生成合成训练数据。他们在不同的环境中使用序列到图模型进行实验,试图找到一种使用合成训练数据进行训练的最佳方法。与 (Blloshmi et al., 2020) 不同,我们将跨语言 AMR 解析视为序列到序列的转换问题,并改进了具有双语输入和辅助任务的 seq2seq 模型
# 3 Problem Setup
跨语言 AMR 解析是将非英语文本解析为与其英语翻译相对应的 AMR 图的任务。在此任务中,AMR 图中的节点仍然是英语单词, PropBank 框架集或 AMR 关键字,与 AMR 的原始设计相同
图 1 显示了跨语言 AMR 解析的示例。我们将$X^l$定义为语言 l 的输入样本,$X_i^l$是它的第$i$个标记。$y$是从 AMR 图派生的相应 AMR 序列$,y_i$是第$i$个令牌。该模型应首先预测AMR 序列$y$ ,然后将序列转换为图
### 4 Our Proposed Model
图 2 显示了我们提出的模型的训练和推理过程。我们采用的基本模型是 Transformer (Vaswani et al.,2017)编码器-解码器模型,因为 Xu et al. (2020) 表明它可以在英语 AMR 解析中实现最先进的结果。我们将双语输入引人我们的模型。训练模型时,双语输入包含原始英语文本和非英语目标语言的翻译文本,这可能不是很准确。在推理过程中,双语输入由翻译的英语文本和目标语言的原始文本组成。借助双语输入,我们的模型可以更好地理解和保留目标语言文本的语义,并根据翻译的英语文本预测更准确的概念。除了预测 AMR 序列
|
[
[
0.12176513671875,
0.07659912109375,
0.489501953125,
0.07659912109375,
0.489501953125,
0.09027099609375,
0.12176513671875,
0.09027099609375
],
[
0.497802734375,
0.07598876953125,
0.880859375,
0.07598876953125,
0.880859375,
0.08905029296875,
0.497802734375,
0.08905029296875
],
[
0.12176513671875,
0.09320068359375,
0.489501953125,
0.09320068359375,
0.489501953125,
0.10687255859375,
0.12176513671875,
0.10687255859375
],
[
0.5146484375,
0.09320068359375,
0.8818359375,
0.09320068359375,
0.8818359375,
0.10687255859375,
0.5146484375,
0.10687255859375
],
[
0.1234130859375,
0.11102294921875,
0.486083984375,
0.11102294921875,
0.486083984375,
0.1217041015625,
0.1234130859375,
0.1217041015625
],
[
0.515625,
0.10986328125,
0.8818359375,
0.10986328125,
0.8818359375,
0.12353515625,
0.515625,
0.12353515625
],
[
0.12176513671875,
0.1258544921875,
0.48779296875,
0.1258544921875,
0.48779296875,
0.1395263671875,
0.12176513671875,
0.1395263671875
],
[
0.515625,
0.1258544921875,
0.880859375,
0.1258544921875,
0.880859375,
0.1395263671875,
0.515625,
0.1395263671875
],
[
0.118408203125,
0.141357421875,
0.489501953125,
0.141357421875,
0.489501953125,
0.155029296875,
0.118408203125,
0.155029296875
],
[
0.515625,
0.141357421875,
0.8818359375,
0.141357421875,
0.8818359375,
0.155029296875,
0.515625,
0.155029296875
],
[
0.12005615234375,
0.157958984375,
0.489501953125,
0.157958984375,
0.489501953125,
0.171630859375,
0.12005615234375,
0.171630859375
],
[
0.5146484375,
0.15673828125,
0.8818359375,
0.15673828125,
0.8818359375,
0.17041015625,
0.5146484375,
0.17041015625
],
[
0.12005615234375,
0.17333984375,
0.489501953125,
0.17333984375,
0.489501953125,
0.18701171875,
0.12005615234375,
0.18701171875
],
[
0.51318359375,
0.17333984375,
0.8818359375,
0.17333984375,
0.8818359375,
0.18701171875,
0.51318359375,
0.18701171875
],
[
0.12005615234375,
0.189453125,
0.470947265625,
0.189453125,
0.470947265625,
0.203125,
0.12005615234375,
0.203125
],
[
0.5146484375,
0.188232421875,
0.8818359375,
0.188232421875,
0.8818359375,
0.201904296875,
0.5146484375,
0.201904296875
],
[
0.1376953125,
0.2078857421875,
0.345947265625,
0.2078857421875,
0.345947265625,
0.218505859375,
0.1376953125,
0.218505859375
],
[
0.5146484375,
0.2060546875,
0.8818359375,
0.2060546875,
0.8818359375,
0.2197265625,
0.5146484375,
0.2197265625
],
[
0.5146484375,
0.221435546875,
0.64208984375,
0.221435546875,
0.64208984375,
0.235107421875,
0.5146484375,
0.235107421875
],
[
0.133544921875,
0.235107421875,
0.486083984375,
0.235107421875,
0.486083984375,
0.248779296875,
0.133544921875,
0.248779296875
],
[
0.53076171875,
0.2381591796875,
0.880859375,
0.2381591796875,
0.880859375,
0.251708984375,
0.53076171875,
0.251708984375
],
[
0.154541015625,
0.251708984375,
0.489501953125,
0.251708984375,
0.489501953125,
0.265380859375,
0.154541015625,
0.265380859375
],
[
0.5146484375,
0.254150390625,
0.88330078125,
0.254150390625,
0.88330078125,
0.267333984375,
0.5146484375,
0.267333984375
],
[
0.154541015625,
0.267333984375,
0.489501953125,
0.2666015625,
0.489501953125,
0.28076171875,
0.154541015625,
0.281982421875
],
[
0.5146484375,
0.270751953125,
0.88330078125,
0.270751953125,
0.88330078125,
0.283935546875,
0.5146484375,
0.283935546875
],
[
0.1561279296875,
0.283203125,
0.489501953125,
0.283203125,
0.489501953125,
0.29638671875,
0.1561279296875,
0.29638671875
],
[
0.515625,
0.2880859375,
0.880859375,
0.2880859375,
0.880859375,
0.298583984375,
0.515625,
0.298583984375
],
[
0.1561279296875,
0.2998046875,
0.447509765625,
0.2998046875,
0.447509765625,
0.3134765625,
0.1561279296875,
0.3134765625
],
[
0.515625,
0.302734375,
0.8818359375,
0.302734375,
0.8818359375,
0.31640625,
0.515625,
0.31640625
],
[
0.1351318359375,
0.325927734375,
0.484375,
0.325927734375,
0.484375,
0.339111328125,
0.1351318359375,
0.339111328125
],
[
0.51708984375,
0.320556640625,
0.880859375,
0.320556640625,
0.880859375,
0.330810546875,
0.51708984375,
0.330810546875
],
[
0.5146484375,
0.3349609375,
0.8818359375,
0.3349609375,
0.8818359375,
0.3486328125,
0.5146484375,
0.3486328125
],
[
0.154541015625,
0.34326171875,
0.48779296875,
0.342529296875,
0.48779296875,
0.35693359375,
0.154541015625,
0.358154296875
],
[
0.51318359375,
0.349853515625,
0.8818359375,
0.350830078125,
0.8818359375,
0.365234375,
0.51318359375,
0.364013671875
],
[
0.1561279296875,
0.359375,
0.489501953125,
0.359375,
0.489501953125,
0.37353515625,
0.1561279296875,
0.37353515625
],
[
0.515625,
0.36767578125,
0.8818359375,
0.36767578125,
0.8818359375,
0.38134765625,
0.515625,
0.38134765625
],
[
0.1561279296875,
0.3759765625,
0.489501953125,
0.3759765625,
0.489501953125,
0.3896484375,
0.1561279296875,
0.3896484375
],
[
0.5146484375,
0.385498046875,
0.880859375,
0.385498046875,
0.880859375,
0.3955078125,
0.5146484375,
0.3955078125
],
[
0.154541015625,
0.391357421875,
0.49365234375,
0.39013671875,
0.49365234375,
0.405029296875,
0.154541015625,
0.40625
],
[
0.515625,
0.40087890625,
0.87890625,
0.40087890625,
0.87890625,
0.410888671875,
0.515625,
0.410888671875
],
[
0.156982421875,
0.4091796875,
0.48779296875,
0.4091796875,
0.48779296875,
0.419189453125,
0.156982421875,
0.419189453125
],
[
0.51708984375,
0.4150390625,
0.8818359375,
0.4150390625,
0.8818359375,
0.4287109375,
0.51708984375,
0.4287109375
],
[
0.1561279296875,
0.42333984375,
0.30908203125,
0.42333984375,
0.30908203125,
0.43701171875,
0.1561279296875,
0.43701171875
],
[
0.515625,
0.43115234375,
0.880859375,
0.43115234375,
0.880859375,
0.44482421875,
0.515625,
0.44482421875
],
[
0.1351318359375,
0.451904296875,
0.490234375,
0.451904296875,
0.490234375,
0.465576171875,
0.1351318359375,
0.465576171875
],
[
0.51708984375,
0.449462890625,
0.880859375,
0.449462890625,
0.880859375,
0.460205078125,
0.51708984375,
0.460205078125
],
[
0.15283203125,
0.466064453125,
0.489501953125,
0.46728515625,
0.489501953125,
0.482177734375,
0.15283203125,
0.48095703125
],
[
0.5146484375,
0.46435546875,
0.66015625,
0.46435546875,
0.66015625,
0.47802734375,
0.5146484375,
0.47802734375
],
[
0.1561279296875,
0.48388671875,
0.48779296875,
0.48388671875,
0.48779296875,
0.49755859375,
0.1561279296875,
0.49755859375
],
[
0.51318359375,
0.493408203125,
0.54833984375,
0.4912109375,
0.5498046875,
0.5029296875,
0.5146484375,
0.5048828125
],
[
0.5439453125,
0.4912109375,
0.67919921875,
0.4921875,
0.67919921875,
0.50732421875,
0.5439453125,
0.505859375
],
[
0.154541015625,
0.498779296875,
0.26123046875,
0.50048828125,
0.26123046875,
0.515625,
0.154541015625,
0.51318359375
],
[
0.51318359375,
0.5185546875,
0.880859375,
0.5185546875,
0.880859375,
0.5322265625,
0.51318359375,
0.5322265625
],
[
0.1175537109375,
0.52783203125,
0.276123046875,
0.52783203125,
0.276123046875,
0.54150390625,
0.1175537109375,
0.54150390625
],
[
0.515625,
0.53515625,
0.8818359375,
0.53515625,
0.8818359375,
0.548828125,
0.515625,
0.548828125
],
[
0.12005615234375,
0.55419921875,
0.48779296875,
0.55419921875,
0.48779296875,
0.56787109375,
0.12005615234375,
0.56787109375
],
[
0.5146484375,
0.5498046875,
0.880859375,
0.5498046875,
0.880859375,
0.5634765625,
0.5146484375,
0.5634765625
],
[
0.12005615234375,
0.5693359375,
0.48779296875,
0.5693359375,
0.48779296875,
0.5830078125,
0.12005615234375,
0.5830078125
],
[
0.5146484375,
0.56640625,
0.8818359375,
0.56640625,
0.8818359375,
0.580078125,
0.5146484375,
0.580078125
],
[
0.118408203125,
0.5859375,
0.48779296875,
0.5859375,
0.48779296875,
0.599609375,
0.118408203125,
0.599609375
],
[
0.5146484375,
0.5830078125,
0.64404296875,
0.5830078125,
0.64404296875,
0.5966796875,
0.5146484375,
0.5966796875
],
[
0.118408203125,
0.6015625,
0.484375,
0.60107421875,
0.484375,
0.615234375,
0.118408203125,
0.6162109375
],
[
0.5322265625,
0.5986328125,
0.880859375,
0.5986328125,
0.880859375,
0.6123046875,
0.5322265625,
0.6123046875
],
[
0.12005615234375,
0.6181640625,
0.48779296875,
0.6181640625,
0.48779296875,
0.6318359375,
0.12005615234375,
0.6318359375
],
[
0.5146484375,
0.615234375,
0.8818359375,
0.615234375,
0.8818359375,
0.62890625,
0.5146484375,
0.62890625
],
[
0.118408203125,
0.6328125,
0.489501953125,
0.63427734375,
0.489501953125,
0.6484375,
0.118408203125,
0.64794921875
],
[
0.51318359375,
0.63134765625,
0.8818359375,
0.63134765625,
0.8818359375,
0.6455078125,
0.51318359375,
0.6455078125
],
[
0.12176513671875,
0.65087890625,
0.489501953125,
0.65087890625,
0.489501953125,
0.66455078125,
0.12176513671875,
0.66455078125
],
[
0.515625,
0.64794921875,
0.8818359375,
0.64794921875,
0.8818359375,
0.662109375,
0.515625,
0.662109375
],
[
0.12176513671875,
0.66650390625,
0.489501953125,
0.66650390625,
0.489501953125,
0.6796875,
0.12176513671875,
0.6796875
],
[
0.5146484375,
0.66455078125,
0.80615234375,
0.66455078125,
0.80615234375,
0.6787109375,
0.5146484375,
0.6787109375
],
[
0.12005615234375,
0.68310546875,
0.48779296875,
0.68310546875,
0.48779296875,
0.69677734375,
0.12005615234375,
0.69677734375
],
[
0.5146484375,
0.6953125,
0.54833984375,
0.6953125,
0.54833984375,
0.70361328125,
0.5146484375,
0.70361328125
],
[
0.54833984375,
0.6923828125,
0.7314453125,
0.6923828125,
0.7314453125,
0.7060546875,
0.54833984375,
0.7060546875
],
[
0.12005615234375,
0.71533203125,
0.489501953125,
0.71533203125,
0.489501953125,
0.728515625,
0.12005615234375,
0.728515625
],
[
0.12005615234375,
0.69775390625,
0.489501953125,
0.69873046875,
0.489501953125,
0.71337890625,
0.12005615234375,
0.7119140625
],
[
0.515625,
0.71875,
0.8818359375,
0.71875,
0.8818359375,
0.732421875,
0.515625,
0.732421875
],
[
0.118408203125,
0.72998046875,
0.48779296875,
0.72998046875,
0.48779296875,
0.74365234375,
0.118408203125,
0.74365234375
],
[
0.5146484375,
0.7353515625,
0.880859375,
0.7353515625,
0.880859375,
0.7490234375,
0.5146484375,
0.7490234375
],
[
0.12005615234375,
0.74755859375,
0.490234375,
0.74755859375,
0.490234375,
0.76123046875,
0.12005615234375,
0.76123046875
],
[
0.51318359375,
0.75048828125,
0.880859375,
0.75048828125,
0.880859375,
0.76416015625,
0.51318359375,
0.76416015625
],
[
0.12176513671875,
0.76318359375,
0.486083984375,
0.76318359375,
0.486083984375,
0.77392578125,
0.12176513671875,
0.77392578125
],
[
0.515625,
0.76708984375,
0.8818359375,
0.76708984375,
0.8818359375,
0.78076171875,
0.515625,
0.78076171875
],
[
0.12005615234375,
0.779296875,
0.48779296875,
0.779296875,
0.48779296875,
0.7919921875,
0.12005615234375,
0.7919921875
],
[
0.5146484375,
0.783203125,
0.880859375,
0.783203125,
0.880859375,
0.79638671875,
0.5146484375,
0.79638671875
],
[
0.1234130859375,
0.79638671875,
0.486083984375,
0.79638671875,
0.486083984375,
0.80712890625,
0.1234130859375,
0.80712890625
],
[
0.5146484375,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.5146484375,
0.8125
],
[
0.12005615234375,
0.81103515625,
0.489501953125,
0.81103515625,
0.489501953125,
0.82470703125,
0.12005615234375,
0.82470703125
],
[
0.5146484375,
0.8154296875,
0.8818359375,
0.8154296875,
0.8818359375,
0.8291015625,
0.5146484375,
0.8291015625
],
[
0.12005615234375,
0.82666015625,
0.489501953125,
0.82666015625,
0.489501953125,
0.84130859375,
0.12005615234375,
0.84130859375
],
[
0.51318359375,
0.830078125,
0.8818359375,
0.83056640625,
0.8818359375,
0.845703125,
0.51318359375,
0.84423828125
],
[
0.12005615234375,
0.84326171875,
0.489501953125,
0.84326171875,
0.489501953125,
0.85693359375,
0.12005615234375,
0.85693359375
],
[
0.5146484375,
0.84716796875,
0.8818359375,
0.84716796875,
0.8818359375,
0.86083984375,
0.5146484375,
0.86083984375
],
[
0.12005615234375,
0.85986328125,
0.484375,
0.85986328125,
0.484375,
0.87353515625,
0.12005615234375,
0.87353515625
],
[
0.515625,
0.8642578125,
0.8818359375,
0.8642578125,
0.8818359375,
0.87744140625,
0.515625,
0.87744140625
],
[
0.1376953125,
0.8818359375,
0.466796875,
0.88427734375,
0.466796875,
0.8984375,
0.1376953125,
0.896484375
],
[
0.515625,
0.8798828125,
0.8818359375,
0.8798828125,
0.8818359375,
0.8935546875,
0.515625,
0.8935546875
],
[
0.12005615234375,
0.89794921875,
0.202392578125,
0.8984375,
0.202392578125,
0.91015625,
0.12005615234375,
0.9091796875
],
[
0.51708984375,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.51708984375,
0.9091796875
]
] |
[
"文本的含义。此外,在训练过程中,我们还引",
"一个单阶段序列到图模型,同时预测概念和关",
"入了一个辅助任务,要求解码器恢复英语输人",
"系。Caiand Lam(2020)将AMR解析视为输",
"令牌,这也旨在增强我们的解析器预测概念的",
"人序列和构造图的双重决策。因此,他们提出",
"能力。我们的解析器在LDC2020T07数据集",
"了一种序列到图的方法,首先将输入的单词映",
"(CaiandKnight,2013)上的性能比以前的最",
"射到一个概念,然后根据生成的概念链接一条",
"新解析器XL-AMR(Blloshmietal.,2020)高",
"边。最近,预训练模型已被证明在AMR解析",
"出约10。平均6分的SmatchF1得分,这证",
"(Xuetal.,2020)中表现良好。Leeetal.(2020)",
"明了我们提出的跨语言AMR解析器的功效",
"采用自训练方法来增强基于转换的解析器,该",
"我们的主要贡献总结如下:",
"解析器在英语AMR解析中获得了最先进的",
"SmatchF1分数",
": We introduce bilingual inputs and an aux",
"Vanderwendeetal.(2015)首先开展跨语言",
"iliary task to a seq2seq cross-lingual AMR",
"AMR解析研究。他们将目标语言中的文本",
"parser, aiming to enable the parser to",
"解析为逻辑形式,然后将其解析为AMR图。",
"make better use of bilingual information",
"DamonteandCohen(2018)尝试将非英语单",
"and predict more accurate concepts.",
"词投影到AMR概念,并使用基于转换的解析",
". Our parser surpasses the best previously",
"器将文本解析为AMR图。他们还尝试将非英",
"语文本自动翻译成英语,并利用英语AMR解",
"reported results of Smatch F1 score on",
"析器。Blloshmietal.(2020)尝试通过机器翻",
"LDC2020T07 by a large margin. The re-",
"译系统或英语AMR解析器生成合成训练数",
"sults demonstrate the effectiveness of our",
"据。他们在不同的环境中使用序列到图模型进",
"parser. Ablation studies show the useful-",
"行实验,试图找到一种使用合成训练数据进行",
"ness of the model modules.Codes are",
"训练的最佳方法。与(Blloshmietal.,2020)不",
"public available I.",
"同,我们将跨语言AMR解析视为序列到序列",
". We further carry out experiments to in-",
"的转换问题,并改进了具有双语输入和辅助任",
"vestigate the influence of incorporating",
"务的seq2seq模型",
"pre-training models into our cross-lingual",
"3",
"Problem Setup",
"AMR parser.",
"跨语言AMR解析是将非英语文本解析为与",
"2Related Work",
"其英语翻译相对应的AMR图的任务。在此",
"抽象含义表示(AMR)(Banarescuetal.,2013)",
"任务中,AMR图中的节点仍然是英语单词",
"解析最近变得越来越流行。以前的一些作品",
"PropBank框架集或AMR关键字,与AMR",
"(Flanigan et al., 2014; Lyu and Titov, 2018;",
"的原始设计相同",
"Zhangetal.,2019a)通过两阶段方法解决了",
"图1显示了跨语言AMR解析的示例。我们",
"这个问题。他们首先将句子中的单词投射到",
"将X定义为语言1的输入样本,X是它的第",
"AMR概念中,然后进行关系识别。(Wang",
"i个标记。y是从AMR图派生的相应AMR",
"et al., 2015b,a; Damonte et al., 2017; Liu et al.,",
"序列,9i是第个令牌。该模型应首先预测",
"2018; Guo and Lu, 2018; Naseem et al., 2019;",
"AMR序列y,然后将序列转换为图",
"Leeetal.,2020)应用基于转换的解析。它们将",
"4",
"Our Proposed Model",
"单词采取不同的操作来链接边或插入新节点。",
"单词与AMR概念对齐,然后根据不同的处理",
"图2显示了我们提出的模型的训练和推理",
"由于序列到序列模型的最新发展,一些作品",
"过程。我们采用的基本模型是Transformer",
"将其用于将文本解析为AMR(Konstasetal,",
"(Vaswanietal.,2017)编码器-解码器模型,因",
"2017: van Noord and Bos. 2017: Ge et al.. 2019:",
"为Xuetal.(2020)表明它可以在英语AMR",
"Xuetal.,2020)。它们将AMR图线性化,并",
"解析中实现最先进的结果。我们将双语输人引",
"利用字符级或单词级序列到序列模型。提出了",
"人我们的模型。训练模型时,双语输入包含原",
"序列到图模型,以使解码器能够更好地对图结",
"始英语文本和非英语目标语言的翻译文本,这",
"构进行建模。Zhangetal.(2019a)首先使用序",
"可能不是很准确。在推理过程中,双语输人由",
"列到序列模型来预测概念,并使用biafine分",
"翻译的英语文本和目标语言的原始文本组成。",
"类器来预测边缘。Zhangetal.(2019b)提出了",
"借助双语输入,我们的模型可以更好地理解和",
"'https://github.com/headacheboy/cross-lingual-",
"保留目标语言文本的语义,并根据翻译的英语",
"amr-parsing",
"文本预测更准确的概念。除了预测AMR序列"
] |
{
"arxiv_id": "2106.04814",
"language": "zh",
"page_idx": 1
}
|
||
2106.04814-zh-2
|
2106.04814-zh-2.jpg
|
<FigureHere>
Figure 1: An example of cross-lingual AMR pars-
ing. A Non-English text is frst parsed into an AMR sequence and then the sequence is converted to an AMR graph.
<table>
<tbody>
<tr>
<th> </th>
<th>$\operatorname{Training}$</th>
<th>Development</th>
<th>Test</th>
</tr>
<tr>
<td>Number</td>
<td>36521</td>
<td>1368</td>
<td>1371</td>
</tr>
</tbody>
</table>
Table 1: Statistics of gold English-AMR dataset
4.2 Pre-Processing and Post-Processing
在 (van Noord and Bos, 2017) 之后,我们首先删除变量,因为变量仅用于标识图中的同一节点,并且不包含语义信息,这可能会对模型训练过程造成损害。我们还删除 wiki 链接(: wiki),因为序列到序列模型可能链接到维基百科的不存在的对象。至于共同引用节点,我们只是简单地复制概念。它将 AMR 图转换为树。最终线性化的 AMR 是树的预序遍历
在后处理中,我们应该将没有变量,Wiki 链接和共同引用节点的预测 AMR 序列还原为AMR 图。在 (van Noord and Bos, 2017) 之后, 我们首先恢复变量并修剪重复的节点,这将共同引用带回 AMR 序列。van Noord and Bos (2017)使用 DBpediaSpotlight 恢复 wiki 链接。但是,不同语言的同一实体链接到 DBpedia 中的不同页面,这使得跨语言 AMR 解析器难以恢复链接英语实体的 wiki。与 (van Noord and Bos, 2017) 不同,如果某个名称对应于训练集中的 Wiki 链接,我们将还原该名称的 Wiki 链接
4.3 Sequence-to-Sequence Model
预处理后,输入文本和输出 AMR 都是序列。因此,我们能够应用序列到序列模型来完成跨语言 AMR 解析。我们使用 Transformer (Vaswani et al., 2017), 最流行的序列到序列模型之一作为我们的基本模型
为了与预训练 XLM-R (Conneau et al., 2020a)模型兼容,我们使用的标记器和输入词汇表与 XLM-R 相同。字节对编码 (BPE) (Sennrich et al., 2016) 等子词单元通常用于减少词汇量。因此,我们利用 BPE 来获取我们的输出词汇表
### 4.4 Bilingual Input
AMR 概念严重依赖于相应的英文文本。根据(Damonte and Cohen, 2018), 首先将测试集翻译成英语,然后应用英语 AMR 解析器的简单方法可以胜过他们的跨语言 AMR 解析器。但是,机器翻译可能会引入语义转换,这可能会损害 AMR 的生成
因此,我们引人了双语输入。由于我们没有黄金平行语料库,我们使用机器翻译来获取双语输入。在训练过程中,我们将 4.1 节中提到的目标语言的翻译文本与原始英语文本连接起
外,该模型还需要预测英语输入文本作为辅助目标,这可以进一步帮助模型学习输入令牌的确切含义并更准确地预测其相应的概念
我们将首先在 4.1 节和 4.2 节中介绍我们获取训练数据的方式以及预处理和后处理的过程,然后介绍基本的序列到序列模型,双语输人和辅助任务
4.1 Synthetic Training Data
Blloshmi et al. (2020)提出了两种生成并行训练数据的方法,即并行句子-银色 AMR 图和金色 AMR 图-银色翻译。第一种方法意味着我们利用目标语言和英语的人类注释并行语料库, 并使用英语解析器获得相应的 AMR 图。第二种方法意味着我们利用人类注释的英语-AMR 对,并使用机器翻译系统来获取目标语言的文本。根据 (Blloshmi et al.,2020) ,使用黄金英语-AMR 对生成的数据进行模型训练的效果更好。因此,我们利用这种方法 (i。e。,金色AMR 图-银色翻译) 生成我们的数据用于训练和验证
|
[
[
0.62646484375,
0.07659912109375,
0.68994140625,
0.07659912109375,
0.68994140625,
0.0914306640625,
0.62646484375,
0.0914306640625
],
[
0.70361328125,
0.07781982421875,
0.79443359375,
0.07781982421875,
0.79443359375,
0.08905029296875,
0.70361328125,
0.08905029296875
],
[
0.81201171875,
0.07781982421875,
0.84814453125,
0.07781982421875,
0.84814453125,
0.09027099609375,
0.81201171875,
0.09027099609375
],
[
0.264404296875,
0.0843505859375,
0.291259765625,
0.0843505859375,
0.291259765625,
0.0885009765625,
0.264404296875,
0.0885009765625
],
[
0.297119140625,
0.08489990234375,
0.334228515625,
0.08489990234375,
0.334228515625,
0.0885009765625,
0.297119140625,
0.0885009765625
],
[
0.6337890625,
0.09442138671875,
0.67822265625,
0.09442138671875,
0.67822265625,
0.1092529296875,
0.6337890625,
0.1092529296875
],
[
0.7314453125,
0.0955810546875,
0.767578125,
0.0955810546875,
0.767578125,
0.10809326171875,
0.7314453125,
0.10809326171875
],
[
0.81005859375,
0.09442138671875,
0.8505859375,
0.09442138671875,
0.8505859375,
0.10986328125,
0.81005859375,
0.10986328125
],
[
0.5498046875,
0.0968017578125,
0.611328125,
0.0968017578125,
0.611328125,
0.10809326171875,
0.5498046875,
0.10809326171875
],
[
0.204833984375,
0.097412109375,
0.2166748046875,
0.09027099609375,
0.225830078125,
0.097412109375,
0.214111328125,
0.1051025390625
],
[
0.36865234375,
0.0968017578125,
0.3779296875,
0.0968017578125,
0.3779296875,
0.1009521484375,
0.36865234375,
0.1009521484375
],
[
0.16796875,
0.1051025390625,
0.26123046875,
0.10687255859375,
0.26123046875,
0.1217041015625,
0.16796875,
0.119384765625
],
[
0.32568359375,
0.105712890625,
0.4189453125,
0.105712890625,
0.4189453125,
0.12353515625,
0.32568359375,
0.12353515625
],
[
0.2225341796875,
0.1181640625,
0.255126953125,
0.1181640625,
0.255126953125,
0.1258544921875,
0.2225341796875,
0.1258544921875
],
[
0.3359375,
0.12054443359375,
0.35107421875,
0.12054443359375,
0.35107421875,
0.12469482421875,
0.3359375,
0.12469482421875
],
[
0.365234375,
0.1181640625,
0.41064453125,
0.1181640625,
0.41064453125,
0.1258544921875,
0.365234375,
0.1258544921875
],
[
0.1822509765625,
0.1217041015625,
0.1956787109375,
0.1217041015625,
0.1956787109375,
0.12469482421875,
0.1822509765625,
0.12469482421875
],
[
0.172119140625,
0.122314453125,
0.2091064453125,
0.122314453125,
0.2091064453125,
0.1353759765625,
0.172119140625,
0.1353759765625
],
[
0.328369140625,
0.12469482421875,
0.378662109375,
0.12469482421875,
0.378662109375,
0.135986328125,
0.328369140625,
0.135986328125
],
[
0.5205078125,
0.12353515625,
0.8759765625,
0.12353515625,
0.8759765625,
0.13720703125,
0.5205078125,
0.13720703125
],
[
0.2091064453125,
0.1436767578125,
0.22412109375,
0.1436767578125,
0.22412109375,
0.152587890625,
0.2091064453125,
0.152587890625
],
[
0.36279296875,
0.142578125,
0.382080078125,
0.142578125,
0.382080078125,
0.1561279296875,
0.36279296875,
0.1561279296875
],
[
0.172119140625,
0.157958984375,
0.26025390625,
0.157958984375,
0.26025390625,
0.169189453125,
0.172119140625,
0.169189453125
],
[
0.33154296875,
0.1644287109375,
0.41064453125,
0.1644287109375,
0.41064453125,
0.171630859375,
0.33154296875,
0.171630859375
],
[
0.51318359375,
0.1644287109375,
0.8486328125,
0.1644287109375,
0.8486328125,
0.1776123046875,
0.51318359375,
0.1776123046875
],
[
0.328369140625,
0.17041015625,
0.405517578125,
0.171630859375,
0.405517578125,
0.182861328125,
0.328369140625,
0.1817626953125
],
[
0.172119140625,
0.174560546875,
0.21240234375,
0.174560546875,
0.21240234375,
0.1859130859375,
0.172119140625,
0.1859130859375
],
[
0.515625,
0.1859130859375,
0.880859375,
0.1859130859375,
0.880859375,
0.1995849609375,
0.515625,
0.1995849609375
],
[
0.515625,
0.201904296875,
0.86376953125,
0.201904296875,
0.86376953125,
0.215576171875,
0.515625,
0.215576171875
],
[
0.51904296875,
0.218505859375,
0.8818359375,
0.218505859375,
0.8818359375,
0.232177734375,
0.51904296875,
0.232177734375
],
[
0.185546875,
0.2244873046875,
0.208251953125,
0.2244873046875,
0.208251953125,
0.2286376953125,
0.185546875,
0.2286376953125
],
[
0.5146484375,
0.2340087890625,
0.8818359375,
0.2340087890625,
0.8818359375,
0.2476806640625,
0.5146484375,
0.2476806640625
],
[
0.2376708984375,
0.248779296875,
0.340087890625,
0.248779296875,
0.340087890625,
0.255859375,
0.2376708984375,
0.255859375
],
[
0.5146484375,
0.25048828125,
0.8818359375,
0.25048828125,
0.8818359375,
0.26416015625,
0.5146484375,
0.26416015625
],
[
0.2359619140625,
0.25830078125,
0.366943359375,
0.25830078125,
0.366943359375,
0.265380859375,
0.2359619140625,
0.265380859375
],
[
0.231689453125,
0.265380859375,
0.287109375,
0.265380859375,
0.287109375,
0.275634765625,
0.231689453125,
0.275634765625
],
[
0.515625,
0.267333984375,
0.8818359375,
0.267333984375,
0.8818359375,
0.28076171875,
0.515625,
0.28076171875
],
[
0.5146484375,
0.281982421875,
0.880859375,
0.281982421875,
0.880859375,
0.295654296875,
0.5146484375,
0.295654296875
],
[
0.51318359375,
0.297607421875,
0.84619140625,
0.298583984375,
0.84619140625,
0.3134765625,
0.51318359375,
0.312255859375
],
[
0.5341796875,
0.3154296875,
0.88330078125,
0.3154296875,
0.88330078125,
0.328857421875,
0.5341796875,
0.328857421875
],
[
0.181396484375,
0.318359375,
0.231689453125,
0.320556640625,
0.2301025390625,
0.33203125,
0.1796875,
0.330078125
],
[
0.17041015625,
0.16748046875,
0.26025390625,
0.1650390625,
0.26025390625,
0.177001953125,
0.17041015625,
0.1787109375
],
[
0.51318359375,
0.330078125,
0.880859375,
0.330078125,
0.880859375,
0.34326171875,
0.51318359375,
0.34326171875
],
[
0.270263671875,
0.336181640625,
0.328369140625,
0.336181640625,
0.328369140625,
0.3466796875,
0.270263671875,
0.3466796875
],
[
0.2451171875,
0.3515625,
0.270263671875,
0.3515625,
0.270263671875,
0.363525390625,
0.2451171875,
0.363525390625
],
[
0.344970703125,
0.3515625,
0.3779296875,
0.3515625,
0.3779296875,
0.359375,
0.344970703125,
0.359375
],
[
0.5146484375,
0.3466796875,
0.880859375,
0.347412109375,
0.880859375,
0.3623046875,
0.5146484375,
0.361083984375
],
[
0.322509765625,
0.366455078125,
0.382080078125,
0.366455078125,
0.382080078125,
0.377197265625,
0.322509765625,
0.377197265625
],
[
0.515625,
0.364013671875,
0.8818359375,
0.364013671875,
0.8818359375,
0.377685546875,
0.515625,
0.377685546875
],
[
0.219970703125,
0.371826171875,
0.273681640625,
0.37060546875,
0.273681640625,
0.37890625,
0.219970703125,
0.380126953125
],
[
0.344970703125,
0.377197265625,
0.35693359375,
0.377197265625,
0.35693359375,
0.38134765625,
0.344970703125,
0.38134765625
],
[
0.51708984375,
0.380126953125,
0.8818359375,
0.380126953125,
0.8818359375,
0.393798828125,
0.51708984375,
0.393798828125
],
[
0.5146484375,
0.394287109375,
0.880859375,
0.394287109375,
0.880859375,
0.407958984375,
0.5146484375,
0.407958984375
],
[
0.51708984375,
0.413330078125,
0.880859375,
0.413330078125,
0.880859375,
0.42333984375,
0.51708984375,
0.42333984375
],
[
0.515625,
0.427490234375,
0.880859375,
0.427490234375,
0.880859375,
0.441162109375,
0.515625,
0.441162109375
],
[
0.12005615234375,
0.44482421875,
0.490234375,
0.44482421875,
0.490234375,
0.457763671875,
0.12005615234375,
0.457763671875
],
[
0.515625,
0.443603515625,
0.8818359375,
0.443603515625,
0.8818359375,
0.457275390625,
0.515625,
0.457275390625
],
[
0.12005615234375,
0.458984375,
0.48779296875,
0.458984375,
0.48779296875,
0.47265625,
0.12005615234375,
0.47265625
],
[
0.51318359375,
0.457763671875,
0.8818359375,
0.458984375,
0.8818359375,
0.473876953125,
0.51318359375,
0.47265625
],
[
0.118408203125,
0.473876953125,
0.489501953125,
0.473876953125,
0.489501953125,
0.48681640625,
0.118408203125,
0.48681640625
],
[
0.5146484375,
0.474365234375,
0.88330078125,
0.4755859375,
0.88330078125,
0.490478515625,
0.5146484375,
0.4892578125
],
[
0.118408203125,
0.488037109375,
0.2568359375,
0.488037109375,
0.2568359375,
0.501953125,
0.118408203125,
0.501953125
],
[
0.5146484375,
0.4912109375,
0.55517578125,
0.4912109375,
0.55517578125,
0.50732421875,
0.5146484375,
0.50732421875
],
[
0.515625,
0.51953125,
0.5615234375,
0.51953125,
0.5615234375,
0.53076171875,
0.515625,
0.53076171875
],
[
0.5556640625,
0.5185546875,
0.79443359375,
0.51708984375,
0.79443359375,
0.5322265625,
0.5556640625,
0.533203125
],
[
0.12176513671875,
0.5390625,
0.48779296875,
0.5390625,
0.48779296875,
0.552734375,
0.12176513671875,
0.552734375
],
[
0.5146484375,
0.54150390625,
0.87890625,
0.54150390625,
0.87890625,
0.5517578125,
0.5146484375,
0.5517578125
],
[
0.12176513671875,
0.5556640625,
0.489501953125,
0.5556640625,
0.489501953125,
0.5693359375,
0.12176513671875,
0.5693359375
],
[
0.51708984375,
0.55712890625,
0.88330078125,
0.55712890625,
0.88330078125,
0.57080078125,
0.51708984375,
0.57080078125
],
[
0.12005615234375,
0.57177734375,
0.432373046875,
0.57177734375,
0.432373046875,
0.5849609375,
0.12005615234375,
0.5849609375
],
[
0.51318359375,
0.57177734375,
0.880859375,
0.57177734375,
0.880859375,
0.5849609375,
0.51318359375,
0.5849609375
],
[
0.1376953125,
0.59326171875,
0.48779296875,
0.59326171875,
0.48779296875,
0.60693359375,
0.1376953125,
0.60693359375
],
[
0.515625,
0.5888671875,
0.8818359375,
0.5888671875,
0.8818359375,
0.6025390625,
0.515625,
0.6025390625
],
[
0.12005615234375,
0.60986328125,
0.484375,
0.60986328125,
0.484375,
0.62060546875,
0.12005615234375,
0.62060546875
],
[
0.5146484375,
0.60498046875,
0.7734375,
0.60498046875,
0.7734375,
0.6181640625,
0.5146484375,
0.6181640625
],
[
0.118408203125,
0.62451171875,
0.486083984375,
0.62451171875,
0.486083984375,
0.63818359375,
0.118408203125,
0.63818359375
],
[
0.5341796875,
0.62060546875,
0.8818359375,
0.62060546875,
0.8818359375,
0.63525390625,
0.5341796875,
0.63525390625
],
[
0.51318359375,
0.6357421875,
0.880859375,
0.6357421875,
0.880859375,
0.6494140625,
0.51318359375,
0.6494140625
],
[
0.12176513671875,
0.6435546875,
0.2283935546875,
0.6435546875,
0.2283935546875,
0.65478515625,
0.12176513671875,
0.65478515625
],
[
0.515625,
0.65283203125,
0.88330078125,
0.65185546875,
0.88330078125,
0.66650390625,
0.515625,
0.66748046875
],
[
0.515625,
0.66943359375,
0.8818359375,
0.66943359375,
0.8818359375,
0.68310546875,
0.515625,
0.68310546875
],
[
0.12005615234375,
0.68701171875,
0.1695556640625,
0.68701171875,
0.1695556640625,
0.69873046875,
0.12005615234375,
0.69873046875
],
[
0.16455078125,
0.68701171875,
0.364501953125,
0.68701171875,
0.364501953125,
0.70068359375,
0.16455078125,
0.70068359375
],
[
0.515625,
0.68408203125,
0.8818359375,
0.68505859375,
0.8818359375,
0.69970703125,
0.515625,
0.69873046875
],
[
0.515625,
0.70068359375,
0.62744140625,
0.70068359375,
0.62744140625,
0.71533203125,
0.515625,
0.71533203125
],
[
0.12005615234375,
0.71875,
0.48779296875,
0.71875,
0.48779296875,
0.732421875,
0.12005615234375,
0.732421875
],
[
0.5146484375,
0.728515625,
0.5615234375,
0.728515625,
0.5615234375,
0.74072265625,
0.5146484375,
0.74072265625
],
[
0.55517578125,
0.728515625,
0.68701171875,
0.728515625,
0.68701171875,
0.74365234375,
0.55517578125,
0.74365234375
],
[
0.12176513671875,
0.75048828125,
0.48779296875,
0.75048828125,
0.48779296875,
0.76416015625,
0.12176513671875,
0.76416015625
],
[
0.12176513671875,
0.73388671875,
0.48779296875,
0.73388671875,
0.48779296875,
0.74755859375,
0.12176513671875,
0.74755859375
],
[
0.5146484375,
0.75048828125,
0.88330078125,
0.75048828125,
0.88330078125,
0.76416015625,
0.5146484375,
0.76416015625
],
[
0.1234130859375,
0.7685546875,
0.48779296875,
0.7685546875,
0.48779296875,
0.779296875,
0.1234130859375,
0.779296875
],
[
0.51318359375,
0.765625,
0.87890625,
0.765625,
0.87890625,
0.779296875,
0.51318359375,
0.779296875
],
[
0.12005615234375,
0.783203125,
0.47265625,
0.783203125,
0.47265625,
0.79638671875,
0.12005615234375,
0.79638671875
],
[
0.466796875,
0.78515625,
0.484375,
0.78515625,
0.484375,
0.7919921875,
0.466796875,
0.7919921875
],
[
0.51708984375,
0.78369140625,
0.880859375,
0.78369140625,
0.880859375,
0.79443359375,
0.51708984375,
0.79443359375
],
[
0.12005615234375,
0.798828125,
0.489501953125,
0.798828125,
0.489501953125,
0.8125,
0.12005615234375,
0.8125
],
[
0.515625,
0.798828125,
0.8818359375,
0.798828125,
0.8818359375,
0.8125,
0.515625,
0.8125
],
[
0.118408203125,
0.81396484375,
0.486083984375,
0.81396484375,
0.486083984375,
0.82763671875,
0.118408203125,
0.82763671875
],
[
0.515625,
0.81396484375,
0.88330078125,
0.81396484375,
0.88330078125,
0.82763671875,
0.515625,
0.82763671875
],
[
0.12005615234375,
0.83056640625,
0.48779296875,
0.83056640625,
0.48779296875,
0.84423828125,
0.12005615234375,
0.84423828125
],
[
0.5146484375,
0.830078125,
0.6826171875,
0.830078125,
0.6826171875,
0.84423828125,
0.5146484375,
0.84423828125
],
[
0.12005615234375,
0.84716796875,
0.48779296875,
0.84716796875,
0.48779296875,
0.86083984375,
0.12005615234375,
0.86083984375
],
[
0.5341796875,
0.84716796875,
0.8818359375,
0.84716796875,
0.8818359375,
0.86083984375,
0.5341796875,
0.86083984375
],
[
0.12176513671875,
0.86328125,
0.48779296875,
0.86328125,
0.48779296875,
0.87744140625,
0.12176513671875,
0.87744140625
],
[
0.515625,
0.86328125,
0.8818359375,
0.86328125,
0.8818359375,
0.876953125,
0.515625,
0.876953125
],
[
0.118408203125,
0.87744140625,
0.489501953125,
0.87890625,
0.489501953125,
0.8935546875,
0.118408203125,
0.892578125
],
[
0.5146484375,
0.87890625,
0.880859375,
0.87890625,
0.880859375,
0.892578125,
0.5146484375,
0.892578125
],
[
0.12005615234375,
0.89453125,
0.17626953125,
0.89453125,
0.17626953125,
0.9091796875,
0.12005615234375,
0.9091796875
],
[
0.515625,
0.8955078125,
0.8818359375,
0.8955078125,
0.8818359375,
0.9091796875,
0.515625,
0.9091796875
]
] |
[
"Training",
"Development",
"Test",
"Daralle",
"Sentences",
"36521",
"1368",
"1371",
"Number",
"Dr",
"IT",
"Alle entsprechenden",
"Tuti doeumenn",
"wurde",
"eres",
"sono sta",
"me",
"validient",
"convalidati.",
"Table 1: Statistics of gold English-AMR dataset",
"ES",
"ZH",
"Todoel papeleo",
"相关的所有书面盗",
"4.2Pre-Processing and Post-Processing",
"料均得到了验证。",
"validado.",
"在(vanNoordandBos,2017)之后,我们首",
"先删除变量,因为变量仅用于标识图中的同",
"节点,并且不包含语义信息,这可能会对模型",
"P",
"训练过程造成损害。我们还删除wiki链接(",
"validate-01:ARGL(par",
"wiki),因为序列到序列模型可能链接到维基",
"ARGI-of(appropriate-02)",
"mod (all))",
"百科的不存在的对象。至于共同引用节点,我",
"们只是简单地复制概念。它将AMR图转换为",
"树。最终线性化的AMR是树的预序遍历",
"在后处理中,我们应该将没有变量,Wiki链",
"AMR graph",
"apropiado ha sido",
"接和共同引用节点的预测AMR序列还原为",
"Validate-01",
"ARGI",
"RG1-01",
"AMR图。在(vanNoord andBos,2017)之后",
"appropriate",
"我们首先恢复变量并修剪重复的节点,这将共",
"paperwork",
"-0",
"同引用带回AMR序列。vanNoordandBos",
"(2017)使用DBpediaSpotlight恢复wiki链接。",
"但是,不同语言的同一实体链接到DBpedia中",
"的不同页面,这使得跨语言AMR解析器难以",
"Figure 1: An example of cross-lingual AMR pars-",
"恢复链接英语实体的wiki。与(vanNoordand",
"ing. A Non-English text is first parsed into an",
"Bos,2017)不同,如果某个名称对应于训练集",
"AMR sequence and then the sequence is converted",
"中的Wiki链接,我们将还原该名称的Wiki",
"to an AMR graph.",
"链接",
"4.3",
"Sequence-to-Sequence Model",
"外,该模型还需要预测英语输入文本作为辅助",
"预处理后,输入文本和输出AMR都是序列",
"目标,这可以进一步帮助模型学习输人令牌的",
"因此,我们能够应用序列到序列模型来完成",
"确切含义并更准确地预测其相应的概念",
"跨语言AMR解析。我们使用Transformer",
"我们将首先在4.1节和4.2节中介绍我们获",
"(Vaswanietal,2017),最流行的序列到序",
"取训练数据的方式以及预处理和后处理的过",
"列模型之一作为我们的基本模型",
"程,然后介绍基本的序列到序列模型,双语输",
"为了与预训练XLM-R(Conneau et al.,",
"2020a)模型兼容,我们使用的标记器和输入",
"人和辅助任务",
"词汇表与XLM-R相同。字节对编码(BPE)",
"(Sennrichetal.,2016)等子词单元通常用于减",
"4.1",
"Synthetic Training Data",
"少词汇量。因此,我们利用BPE来获取我们",
"的输出词汇表",
"Blloshmiet al.(2020)提出了两种生成并行训",
"4.4",
" Bilingual Input",
"色AMR图-银色翻译。第一种方法意味着我们",
"练数据的方法,即并行句子-银色AMR图和金",
"AMR概念严重依赖于相应的英文文本。根据",
"利用目标语言和英语的人类注释并行语料库,",
"DamonteandCohen,2018),首先将测试集",
"并使用英语解析器获得相应的AMR图。第",
"",
"翻译成英语,然后应用英语AMR解析器的简",
"种方法意味着我们利用人类注释的英语-AMR",
"单方法可以胜过他们的跨语言AMR解析器。",
"对,并使用机器翻译系统来获取目标语言的文",
"但是,机器翻译可能会引人语义转换,这可能",
"本。根据(Blloshmietal.,2020),使用黄金",
"会损害AMR的生成",
"英语-AMR对生成的数据进行模型训练的效果",
"因此,我们引入了双语输入。由于我们没有",
"更好。因此,我们利用这种方法(i。e。,金色",
"黄金平行语料库,我们使用机器翻译来获取双",
"AMR图-银色翻译)生成我们的数据用于训练",
"语输入。在训练过程中,我们将4.1节中提到",
"和验证",
"的目标语言的翻译文本与原始英语文本连接起"
] |
{
"arxiv_id": "2106.04814",
"language": "zh",
"page_idx": 2
}
|
||
2106.04814-zh-4
|
2106.04814-zh-4.jpg
|
<table>
<tbody>
<tr>
<th rowspan="2">Metric</th>
<th colspan="4">AMREager</th>
<th colspan="4">XL- AMR</th>
<th colspan="4">Ours</th>
</tr>
<tr>
<th>$DE$</th>
<th>$IT$</th>
<th>$ES$</th>
<th>$ZH$</th>
<th>$DE$</th>
<th>$IT$</th>
<th>ES</th>
<th>$ZH$</th>
<th>$DE$</th>
<th>IT</th>
<th>ES</th>
<th>$ZH$</th>
</tr>
<tr>
<td>Smatch</td>
<td>39.1</td>
<td>43.2</td>
<td>42.1</td>
<td>34.6</td>
<td>53.0</td>
<td>58.1</td>
<td>58.0</td>
<td>43.1</td>
<td>64.0</td>
<td>65.4</td>
<td>67.3</td>
<td>56.5</td>
</tr>
<tr>
<td>Unlabeled</td>
<td>45.0</td>
<td>48.5</td>
<td>46.6</td>
<td>41.1</td>
<td>57.7</td>
<td>63.4</td>
<td>63.0</td>
<td>48.9</td>
<td>68.1</td>
<td>69.6</td>
<td>71.2</td>
<td>61.0</td>
</tr>
<tr>
<td>NoWSD</td>
<td>39.2</td>
<td>42.5</td>
<td>42.2</td>
<td>34.7</td>
<td>53.2</td>
<td>58.4</td>
<td>58.4</td>
<td>43.2</td>
<td>64.4</td>
<td>65.9</td>
<td>67.8</td>
<td>56.7</td>
</tr>
<tr>
<td>Reentrancies</td>
<td>18.6</td>
<td>25.7</td>
<td>27.2</td>
<td>15.9</td>
<td>39.9</td>
<td>46.1</td>
<td>46.6</td>
<td>34.7</td>
<td>47.9</td>
<td>49.3</td>
<td>51.3</td>
<td>41.4</td>
</tr>
<tr>
<td>Concepts</td>
<td>44.9</td>
<td>52.3</td>
<td>53.3</td>
<td>39.9</td>
<td>58.0</td>
<td>64.7</td>
<td>65.9</td>
<td>48.0</td>
<td>69.3</td>
<td>72.1</td>
<td>75.0</td>
<td>61.3</td>
</tr>
<tr>
<td>$N_{i}$ amed Ent. </td>
<td>63.1</td>
<td>67.7</td>
<td>65.7</td>
<td>67.9</td>
<td>66.0</td>
<td>70.0</td>
<td>66.2</td>
<td>60.6</td>
<td>79.3</td>
<td>79.5</td>
<td>80.2</td>
<td>76.2</td>
</tr>
<tr>
<td>Wikification</td>
<td>49.9</td>
<td>50.6</td>
<td>44.5</td>
<td>46.8</td>
<td>60.9</td>
<td>67.0</td>
<td>63.1</td>
<td>54.5</td>
<td>74.0</td>
<td>74.9</td>
<td>73.9</td>
<td>68.1</td>
</tr>
<tr>
<td>Negation</td>
<td>18.6</td>
<td>22.3</td>
<td>19.8</td>
<td>6.8</td>
<td>11.7</td>
<td>29.2</td>
<td>23.4</td>
<td>12.8</td>
<td>47.1</td>
<td>52.6</td>
<td>55.6</td>
<td>36.6</td>
</tr>
<tr>
<td>$SRL$</td>
<td>29.4</td>
<td>34.3</td>
<td>35.9</td>
<td>27.2</td>
<td>47.9</td>
<td>54.7</td>
<td>55.2</td>
<td>41.3</td>
<td>57.3</td>
<td>60.1</td>
<td>62.1</td>
<td>50.7</td>
</tr>
</tbody>
</table>
Table 3: Fine-grained results of different models on DE, IT, ES and ZH. Best results are in bold.
和开发数据。我们使用 AMR2。0 作为我们的黄金英语-AMR 数据集。我们还将德语,意大利语,西班牙语和中文的测试集翻译回英语作为输入文本。AMR2 的统计数据。0 如表 1 所示
### 6.2 Evaluation Metric
Smatch (Cai and Knight, 2013) 是 AMR 解析的评估指标。在此评估指标中,AMR 图被视为几个三元组。Smatch 计算匹配的三元组数, 并根据两个 AMR 图的三元组总数输出分数。我们使用在线提供的 Smatch 脚本$^{2}$
在 (Damonte et al., 2017) 之后,我们还引入了许多细粒度评估,以便在不同方面评估预测的 AMR 图的质量。我们在这里省略了这些细粒度评估的细节,这些细节可以在(Damonte et al., 2017) 中找到
validation data by machine translation. They then train an AMR parser on target language with a sequence-to-graph parser. They experiment XL-AMR with many different settings: language specific setting, bilingual setting and multilingual setting. Language specific setting means that they only use target language data to train the model. Bilingual setting represents training with target language data and English data. Multilingual setting represents training with data in all languages. They also experiment multilingual setting except Chinese data because they found training with Chinese data will lower the results.
$\bullet$ Translate-test . This method frst translates target language texts into English and uses an English AMR parser to predict the final AMR graphs.
For fair
comparison, we choose the sequence-tosequence model as the English AMR parser. The encoder, decoder and hyperparameters of these modules are the same as those in our model. We use only English texts as input and do not apply the auxiliary task in the training of English parser. Note that this baseline is not compared in (Blloshmi et al., 2020) and we show it is a very strong baseline.
比较结果见表 2。我们的模型在不同设置下的性能大大优于以前的最佳模型 XL-AMR。至于与英语相似的语言,即德语,意大利语, 西班牙语,我们提出的模型在 SmatchF1 得分上实现了约 10 分的大幅提升。当涉及与英语
## 6.3 Main Results
我们将我们的模型与以前的作品和基线方法进
行比较,包括:
$\bullet$ AMREager. This is the model proposed by Damonte and Cohen (2018). They assume that if a word $X_t^l$ in target language is aligned with the word $X_u^{en}$ in English and the English word aligns with AMR concept $y_i$ , $X_t^l$ can be aligned with$y_i.$ Based on this assumption, they project AMR annotations to target languages and further train a transitionbased AMR parser (Damonte et al., 2017) as in English.
有语言差异的语言时,即中文,我们的模型表现更好,超过 XL-AMR13。SmatchF1 得分 4分。翻译测试方法是一个强大的基线,因为机
$\bullet$ XL-AMR .This is the model proposed by ( Blloshmi et al. , 2020) . When con- ducting experiments of their best model, they first generate synthetic training and
${^{2}\mathrm{https://github.com/sheng-z/stog}}$
|
[
[
0.322509765625,
0.0748291015625,
0.40478515625,
0.07659912109375,
0.40478515625,
0.0914306640625,
0.322509765625,
0.08905029296875
],
[
0.51904296875,
0.07659912109375,
0.58837890625,
0.07659912109375,
0.58837890625,
0.0914306640625,
0.51904296875,
0.0914306640625
],
[
0.724609375,
0.07598876953125,
0.765625,
0.07598876953125,
0.765625,
0.0914306640625,
0.724609375,
0.0914306640625
],
[
0.189697265625,
0.09442138671875,
0.2418212890625,
0.09442138671875,
0.2418212890625,
0.1092529296875,
0.189697265625,
0.1092529296875
],
[
0.279541015625,
0.0955810546875,
0.307373046875,
0.0955810546875,
0.307373046875,
0.1092529296875,
0.279541015625,
0.1092529296875
],
[
0.328369140625,
0.0955810546875,
0.35107421875,
0.0955810546875,
0.35107421875,
0.1092529296875,
0.328369140625,
0.1092529296875
],
[
0.376220703125,
0.0955810546875,
0.4013671875,
0.0955810546875,
0.4013671875,
0.1092529296875,
0.376220703125,
0.1092529296875
],
[
0.420654296875,
0.0955810546875,
0.44921875,
0.0955810546875,
0.44921875,
0.1092529296875,
0.420654296875,
0.1092529296875
],
[
0.468505859375,
0.09320068359375,
0.49951171875,
0.0968017578125,
0.497802734375,
0.11102294921875,
0.465087890625,
0.10687255859375
],
[
0.51904296875,
0.0955810546875,
0.54248046875,
0.0955810546875,
0.54248046875,
0.1092529296875,
0.51904296875,
0.1092529296875
],
[
0.56494140625,
0.0955810546875,
0.591796875,
0.0955810546875,
0.591796875,
0.1092529296875,
0.56494140625,
0.1092529296875
],
[
0.611328125,
0.0955810546875,
0.6396484375,
0.0955810546875,
0.6396484375,
0.1092529296875,
0.611328125,
0.1092529296875
],
[
0.6591796875,
0.0955810546875,
0.68994140625,
0.0955810546875,
0.68994140625,
0.10986328125,
0.6591796875,
0.10986328125
],
[
0.70947265625,
0.0955810546875,
0.73291015625,
0.0955810546875,
0.73291015625,
0.1092529296875,
0.70947265625,
0.1092529296875
],
[
0.75732421875,
0.0955810546875,
0.78076171875,
0.0955810546875,
0.78076171875,
0.1092529296875,
0.75732421875,
0.1092529296875
],
[
0.8017578125,
0.0955810546875,
0.8330078125,
0.0955810546875,
0.8330078125,
0.10986328125,
0.8017578125,
0.10986328125
],
[
0.4189453125,
0.11102294921875,
0.45166015625,
0.1134033203125,
0.450927734375,
0.1270751953125,
0.418212890625,
0.12469482421875
],
[
0.46337890625,
0.11102294921875,
0.50390625,
0.114013671875,
0.50146484375,
0.12890625,
0.462646484375,
0.1270751953125
],
[
0.65576171875,
0.11102294921875,
0.69287109375,
0.1134033203125,
0.68994140625,
0.12890625,
0.654296875,
0.1270751953125
],
[
0.322509765625,
0.11224365234375,
0.358642578125,
0.11224365234375,
0.358642578125,
0.127685546875,
0.322509765625,
0.127685546875
],
[
0.187255859375,
0.11224365234375,
0.2451171875,
0.11224365234375,
0.2451171875,
0.1270751953125,
0.187255859375,
0.1270751953125
],
[
0.3720703125,
0.11224365234375,
0.40478515625,
0.114013671875,
0.403076171875,
0.127685546875,
0.370361328125,
0.1258544921875
],
[
0.5146484375,
0.11224365234375,
0.54736328125,
0.114013671875,
0.5458984375,
0.127685546875,
0.51318359375,
0.1258544921875
],
[
0.5615234375,
0.11224365234375,
0.59619140625,
0.114013671875,
0.59423828125,
0.127685546875,
0.56103515625,
0.1258544921875
],
[
0.609375,
0.11224365234375,
0.640625,
0.114013671875,
0.6396484375,
0.1270751953125,
0.60791015625,
0.12469482421875
],
[
0.70361328125,
0.114013671875,
0.73779296875,
0.114013671875,
0.73779296875,
0.1270751953125,
0.70361328125,
0.1270751953125
],
[
0.75244140625,
0.114013671875,
0.78515625,
0.114013671875,
0.78515625,
0.1270751953125,
0.75244140625,
0.1270751953125
],
[
0.79833984375,
0.114013671875,
0.83642578125,
0.114013671875,
0.83642578125,
0.1270751953125,
0.79833984375,
0.1270751953125
],
[
0.177978515625,
0.12890625,
0.25439453125,
0.1312255859375,
0.25439453125,
0.1455078125,
0.177978515625,
0.1436767578125
],
[
0.274658203125,
0.1134033203125,
0.30908203125,
0.1134033203125,
0.30908203125,
0.1258544921875,
0.274658203125,
0.1258544921875
],
[
0.276123046875,
0.1318359375,
0.310546875,
0.1318359375,
0.310546875,
0.1436767578125,
0.276123046875,
0.1436767578125
],
[
0.32421875,
0.1318359375,
0.358642578125,
0.1318359375,
0.358642578125,
0.144287109375,
0.32421875,
0.144287109375
],
[
0.3720703125,
0.1318359375,
0.40478515625,
0.1318359375,
0.40478515625,
0.144287109375,
0.3720703125,
0.144287109375
],
[
0.4189453125,
0.1318359375,
0.45166015625,
0.1318359375,
0.45166015625,
0.1436767578125,
0.4189453125,
0.1436767578125
],
[
0.466796875,
0.1300048828125,
0.49951171875,
0.1318359375,
0.497802734375,
0.1455078125,
0.465087890625,
0.1436767578125
],
[
0.5146484375,
0.1318359375,
0.54736328125,
0.1318359375,
0.54736328125,
0.1436767578125,
0.5146484375,
0.1436767578125
],
[
0.5615234375,
0.1318359375,
0.59619140625,
0.1318359375,
0.59619140625,
0.1436767578125,
0.5615234375,
0.1436767578125
],
[
0.609375,
0.1318359375,
0.64208984375,
0.1318359375,
0.64208984375,
0.1436767578125,
0.609375,
0.1436767578125
],
[
0.65576171875,
0.1318359375,
0.68994140625,
0.1318359375,
0.68994140625,
0.1436767578125,
0.65576171875,
0.1436767578125
],
[
0.705078125,
0.1318359375,
0.73779296875,
0.1318359375,
0.73779296875,
0.1436767578125,
0.705078125,
0.1436767578125
],
[
0.75244140625,
0.1318359375,
0.78515625,
0.1318359375,
0.78515625,
0.144287109375,
0.75244140625,
0.144287109375
],
[
0.80029296875,
0.1318359375,
0.83642578125,
0.1318359375,
0.83642578125,
0.1436767578125,
0.80029296875,
0.1436767578125
],
[
0.276123046875,
0.1436767578125,
0.30908203125,
0.1436767578125,
0.30908203125,
0.1561279296875,
0.276123046875,
0.1561279296875
],
[
0.4189453125,
0.1436767578125,
0.45166015625,
0.1436767578125,
0.45166015625,
0.1561279296875,
0.4189453125,
0.1561279296875
],
[
0.466796875,
0.142578125,
0.49951171875,
0.144287109375,
0.497802734375,
0.157958984375,
0.465087890625,
0.1561279296875
],
[
0.5615234375,
0.1436767578125,
0.59423828125,
0.1436767578125,
0.59423828125,
0.1561279296875,
0.5615234375,
0.1561279296875
],
[
0.6572265625,
0.1436767578125,
0.68994140625,
0.1436767578125,
0.68994140625,
0.1561279296875,
0.6572265625,
0.1561279296875
],
[
0.705078125,
0.1436767578125,
0.73779296875,
0.1436767578125,
0.73779296875,
0.1561279296875,
0.705078125,
0.1561279296875
],
[
0.79833984375,
0.1436767578125,
0.8330078125,
0.1436767578125,
0.8330078125,
0.1561279296875,
0.79833984375,
0.1561279296875
],
[
0.32421875,
0.144287109375,
0.35693359375,
0.144287109375,
0.35693359375,
0.1561279296875,
0.32421875,
0.1561279296875
],
[
0.1822509765625,
0.144287109375,
0.2493896484375,
0.144287109375,
0.2493896484375,
0.1561279296875,
0.1822509765625,
0.1561279296875
],
[
0.3720703125,
0.144287109375,
0.40478515625,
0.144287109375,
0.40478515625,
0.1561279296875,
0.3720703125,
0.1561279296875
],
[
0.5146484375,
0.144287109375,
0.54736328125,
0.144287109375,
0.54736328125,
0.1561279296875,
0.5146484375,
0.1561279296875
],
[
0.609375,
0.144287109375,
0.64208984375,
0.144287109375,
0.64208984375,
0.1561279296875,
0.609375,
0.1561279296875
],
[
0.75244140625,
0.144287109375,
0.78515625,
0.144287109375,
0.78515625,
0.1561279296875,
0.75244140625,
0.1561279296875
],
[
0.17041015625,
0.1561279296875,
0.26123046875,
0.1561279296875,
0.26123046875,
0.16748046875,
0.17041015625,
0.16748046875
],
[
0.276123046875,
0.1561279296875,
0.310546875,
0.1561279296875,
0.310546875,
0.168701171875,
0.276123046875,
0.168701171875
],
[
0.32421875,
0.1561279296875,
0.35693359375,
0.1561279296875,
0.35693359375,
0.168701171875,
0.32421875,
0.168701171875
],
[
0.370361328125,
0.1561279296875,
0.40478515625,
0.1561279296875,
0.40478515625,
0.168701171875,
0.370361328125,
0.168701171875
],
[
0.4189453125,
0.1561279296875,
0.45166015625,
0.1561279296875,
0.45166015625,
0.168701171875,
0.4189453125,
0.168701171875
],
[
0.466796875,
0.1561279296875,
0.49951171875,
0.1561279296875,
0.49951171875,
0.168701171875,
0.466796875,
0.168701171875
],
[
0.5146484375,
0.1561279296875,
0.54736328125,
0.1561279296875,
0.54736328125,
0.168701171875,
0.5146484375,
0.168701171875
],
[
0.5615234375,
0.1561279296875,
0.59423828125,
0.1561279296875,
0.59423828125,
0.168701171875,
0.5615234375,
0.168701171875
],
[
0.60791015625,
0.1561279296875,
0.64208984375,
0.1561279296875,
0.64208984375,
0.168701171875,
0.60791015625,
0.168701171875
],
[
0.6572265625,
0.1561279296875,
0.68994140625,
0.1561279296875,
0.68994140625,
0.168701171875,
0.6572265625,
0.168701171875
],
[
0.705078125,
0.1561279296875,
0.73779296875,
0.1561279296875,
0.73779296875,
0.16748046875,
0.705078125,
0.16748046875
],
[
0.75146484375,
0.1561279296875,
0.78515625,
0.1561279296875,
0.78515625,
0.16748046875,
0.75146484375,
0.16748046875
],
[
0.79833984375,
0.1561279296875,
0.83447265625,
0.1561279296875,
0.83447265625,
0.168701171875,
0.79833984375,
0.168701171875
],
[
0.276123046875,
0.16748046875,
0.30908203125,
0.16748046875,
0.30908203125,
0.179931640625,
0.276123046875,
0.179931640625
],
[
0.32421875,
0.16748046875,
0.35693359375,
0.16748046875,
0.35693359375,
0.179931640625,
0.32421875,
0.179931640625
],
[
0.370361328125,
0.16748046875,
0.405517578125,
0.16748046875,
0.405517578125,
0.179931640625,
0.370361328125,
0.179931640625
],
[
0.4189453125,
0.16748046875,
0.45166015625,
0.16748046875,
0.45166015625,
0.179931640625,
0.4189453125,
0.179931640625
],
[
0.466796875,
0.16748046875,
0.49951171875,
0.16748046875,
0.49951171875,
0.179931640625,
0.466796875,
0.179931640625
],
[
0.5146484375,
0.16748046875,
0.54736328125,
0.16748046875,
0.54736328125,
0.179931640625,
0.5146484375,
0.179931640625
],
[
0.5615234375,
0.16748046875,
0.59423828125,
0.16748046875,
0.59423828125,
0.179931640625,
0.5615234375,
0.179931640625
],
[
0.609375,
0.16748046875,
0.64208984375,
0.16748046875,
0.64208984375,
0.179931640625,
0.609375,
0.179931640625
],
[
0.6572265625,
0.16748046875,
0.68994140625,
0.16748046875,
0.68994140625,
0.179931640625,
0.6572265625,
0.179931640625
],
[
0.705078125,
0.16748046875,
0.73779296875,
0.16748046875,
0.73779296875,
0.179931640625,
0.705078125,
0.179931640625
],
[
0.75244140625,
0.16748046875,
0.78515625,
0.16748046875,
0.78515625,
0.179931640625,
0.75244140625,
0.179931640625
],
[
0.79833984375,
0.16748046875,
0.83447265625,
0.16748046875,
0.83447265625,
0.179931640625,
0.79833984375,
0.179931640625
],
[
0.322509765625,
0.1776123046875,
0.358642578125,
0.1776123046875,
0.358642578125,
0.193603515625,
0.322509765625,
0.193603515625
],
[
0.1822509765625,
0.168701171875,
0.2509765625,
0.168701171875,
0.2509765625,
0.179931640625,
0.1822509765625,
0.179931640625
],
[
0.276123046875,
0.1787109375,
0.30908203125,
0.1787109375,
0.30908203125,
0.191162109375,
0.276123046875,
0.191162109375
],
[
0.4189453125,
0.1787109375,
0.45166015625,
0.1787109375,
0.45166015625,
0.191162109375,
0.4189453125,
0.191162109375
],
[
0.466796875,
0.1787109375,
0.49951171875,
0.1787109375,
0.49951171875,
0.191162109375,
0.466796875,
0.191162109375
],
[
0.5146484375,
0.1787109375,
0.54833984375,
0.1787109375,
0.54833984375,
0.191162109375,
0.5146484375,
0.191162109375
],
[
0.609375,
0.1787109375,
0.64208984375,
0.1787109375,
0.64208984375,
0.191162109375,
0.609375,
0.191162109375
],
[
0.6572265625,
0.1787109375,
0.68994140625,
0.1787109375,
0.68994140625,
0.191162109375,
0.6572265625,
0.191162109375
],
[
0.705078125,
0.1787109375,
0.73779296875,
0.1787109375,
0.73779296875,
0.191162109375,
0.705078125,
0.191162109375
],
[
0.75244140625,
0.1787109375,
0.78515625,
0.1787109375,
0.78515625,
0.191162109375,
0.75244140625,
0.191162109375
],
[
0.796875,
0.1776123046875,
0.83447265625,
0.1776123046875,
0.83447265625,
0.193603515625,
0.796875,
0.193603515625
],
[
0.370361328125,
0.179931640625,
0.40478515625,
0.179931640625,
0.40478515625,
0.1923828125,
0.370361328125,
0.1923828125
],
[
0.173828125,
0.179931640625,
0.2568359375,
0.179931640625,
0.2568359375,
0.191162109375,
0.173828125,
0.191162109375
],
[
0.56103515625,
0.179931640625,
0.59423828125,
0.179931640625,
0.59423828125,
0.1923828125,
0.56103515625,
0.1923828125
],
[
0.173828125,
0.191162109375,
0.258544921875,
0.191162109375,
0.258544921875,
0.203125,
0.173828125,
0.203125
],
[
0.276123046875,
0.191162109375,
0.30908203125,
0.191162109375,
0.30908203125,
0.203125,
0.276123046875,
0.203125
],
[
0.32421875,
0.191162109375,
0.35693359375,
0.191162109375,
0.35693359375,
0.2037353515625,
0.32421875,
0.2037353515625
],
[
0.370361328125,
0.191162109375,
0.40478515625,
0.191162109375,
0.40478515625,
0.2037353515625,
0.370361328125,
0.2037353515625
],
[
0.4189453125,
0.191162109375,
0.45166015625,
0.191162109375,
0.45166015625,
0.2037353515625,
0.4189453125,
0.2037353515625
],
[
0.466796875,
0.191162109375,
0.49951171875,
0.191162109375,
0.49951171875,
0.2037353515625,
0.466796875,
0.2037353515625
],
[
0.5146484375,
0.191162109375,
0.54833984375,
0.191162109375,
0.54833984375,
0.2037353515625,
0.5146484375,
0.2037353515625
],
[
0.56103515625,
0.191162109375,
0.59375,
0.191162109375,
0.59375,
0.2037353515625,
0.56103515625,
0.2037353515625
],
[
0.609375,
0.191162109375,
0.64208984375,
0.191162109375,
0.64208984375,
0.2037353515625,
0.609375,
0.2037353515625
],
[
0.6572265625,
0.191162109375,
0.68994140625,
0.191162109375,
0.68994140625,
0.203125,
0.6572265625,
0.203125
],
[
0.705078125,
0.191162109375,
0.73779296875,
0.191162109375,
0.73779296875,
0.203125,
0.705078125,
0.203125
],
[
0.75244140625,
0.191162109375,
0.78515625,
0.191162109375,
0.78515625,
0.2037353515625,
0.75244140625,
0.2037353515625
],
[
0.79833984375,
0.191162109375,
0.8330078125,
0.191162109375,
0.8330078125,
0.2037353515625,
0.79833984375,
0.2037353515625
],
[
0.181396484375,
0.203125,
0.2476806640625,
0.203125,
0.2476806640625,
0.21435546875,
0.181396484375,
0.21435546875
],
[
0.276123046875,
0.203125,
0.30908203125,
0.203125,
0.30908203125,
0.215576171875,
0.276123046875,
0.215576171875
],
[
0.32421875,
0.203125,
0.35693359375,
0.203125,
0.35693359375,
0.215576171875,
0.32421875,
0.215576171875
],
[
0.3720703125,
0.203125,
0.40478515625,
0.203125,
0.40478515625,
0.215576171875,
0.3720703125,
0.215576171875
],
[
0.420654296875,
0.203125,
0.44921875,
0.203125,
0.44921875,
0.215576171875,
0.420654296875,
0.215576171875
],
[
0.466796875,
0.203125,
0.49951171875,
0.203125,
0.49951171875,
0.215576171875,
0.466796875,
0.215576171875
],
[
0.5146484375,
0.20068359375,
0.54736328125,
0.203125,
0.5458984375,
0.2161865234375,
0.51318359375,
0.21435546875
],
[
0.5615234375,
0.203125,
0.59423828125,
0.203125,
0.59423828125,
0.21435546875,
0.5615234375,
0.21435546875
],
[
0.609375,
0.203125,
0.64208984375,
0.203125,
0.64208984375,
0.215576171875,
0.609375,
0.215576171875
],
[
0.6572265625,
0.203125,
0.68994140625,
0.203125,
0.68994140625,
0.215576171875,
0.6572265625,
0.215576171875
],
[
0.705078125,
0.203125,
0.73779296875,
0.203125,
0.73779296875,
0.215576171875,
0.705078125,
0.215576171875
],
[
0.75146484375,
0.203125,
0.78515625,
0.203125,
0.78515625,
0.215576171875,
0.75146484375,
0.215576171875
],
[
0.80029296875,
0.203125,
0.8330078125,
0.203125,
0.8330078125,
0.215576171875,
0.80029296875,
0.215576171875
],
[
0.5615234375,
0.21142578125,
0.59765625,
0.21435546875,
0.59423828125,
0.2286376953125,
0.55908203125,
0.226806640625
],
[
0.796875,
0.2120361328125,
0.83447265625,
0.21435546875,
0.8310546875,
0.2298583984375,
0.79443359375,
0.226806640625
],
[
0.51318359375,
0.213134765625,
0.54833984375,
0.213134765625,
0.54833984375,
0.2286376953125,
0.51318359375,
0.2286376953125
],
[
0.4189453125,
0.213134765625,
0.45166015625,
0.215576171875,
0.450927734375,
0.22802734375,
0.418212890625,
0.2257080078125
],
[
0.70361328125,
0.213134765625,
0.73779296875,
0.215576171875,
0.736328125,
0.22802734375,
0.7021484375,
0.2257080078125
],
[
0.75,
0.213134765625,
0.78515625,
0.213134765625,
0.78515625,
0.2286376953125,
0.75,
0.2286376953125
],
[
0.276123046875,
0.21435546875,
0.310546875,
0.21435546875,
0.310546875,
0.226806640625,
0.276123046875,
0.226806640625
],
[
0.197265625,
0.21435546875,
0.2333984375,
0.21435546875,
0.2333984375,
0.226806640625,
0.197265625,
0.226806640625
],
[
0.32421875,
0.21435546875,
0.35693359375,
0.21435546875,
0.35693359375,
0.226806640625,
0.32421875,
0.226806640625
],
[
0.370361328125,
0.21435546875,
0.40478515625,
0.21435546875,
0.40478515625,
0.226806640625,
0.370361328125,
0.226806640625
],
[
0.466796875,
0.21435546875,
0.49951171875,
0.21435546875,
0.49951171875,
0.226806640625,
0.466796875,
0.226806640625
],
[
0.60791015625,
0.21435546875,
0.64208984375,
0.21435546875,
0.64208984375,
0.226806640625,
0.60791015625,
0.226806640625
],
[
0.65576171875,
0.21435546875,
0.69189453125,
0.21435546875,
0.69189453125,
0.226806640625,
0.65576171875,
0.226806640625
],
[
0.1435546875,
0.2423095703125,
0.8564453125,
0.2423095703125,
0.8564453125,
0.255859375,
0.1435546875,
0.255859375
],
[
0.12176513671875,
0.281982421875,
0.48779296875,
0.281982421875,
0.48779296875,
0.29638671875,
0.12176513671875,
0.29638671875
],
[
0.5498046875,
0.283203125,
0.8818359375,
0.283203125,
0.8818359375,
0.29638671875,
0.5498046875,
0.29638671875
],
[
0.12005615234375,
0.297607421875,
0.48779296875,
0.298583984375,
0.48779296875,
0.3134765625,
0.12005615234375,
0.312255859375
],
[
0.54833984375,
0.297607421875,
0.88330078125,
0.298583984375,
0.88330078125,
0.3134765625,
0.54833984375,
0.312255859375
],
[
0.12176513671875,
0.3154296875,
0.48779296875,
0.3154296875,
0.48779296875,
0.328857421875,
0.12176513671875,
0.328857421875
],
[
0.5498046875,
0.31640625,
0.88330078125,
0.31640625,
0.88330078125,
0.330078125,
0.5498046875,
0.330078125
],
[
0.12005615234375,
0.330810546875,
0.48779296875,
0.330810546875,
0.48779296875,
0.345703125,
0.12005615234375,
0.345703125
],
[
0.5498046875,
0.330810546875,
0.884765625,
0.330810546875,
0.884765625,
0.345703125,
0.5498046875,
0.345703125
],
[
0.118408203125,
0.3486328125,
0.1427001953125,
0.3486328125,
0.1427001953125,
0.3623046875,
0.118408203125,
0.3623046875
],
[
0.5517578125,
0.347412109375,
0.88330078125,
0.347412109375,
0.88330078125,
0.3623046875,
0.5517578125,
0.3623046875
],
[
0.54833984375,
0.3623046875,
0.8818359375,
0.364013671875,
0.8818359375,
0.37890625,
0.54833984375,
0.377197265625
],
[
0.12005615234375,
0.374755859375,
0.1502685546875,
0.374755859375,
0.1502685546875,
0.38720703125,
0.12005615234375,
0.38720703125
],
[
0.162109375,
0.372314453125,
0.31494140625,
0.37353515625,
0.31494140625,
0.388427734375,
0.162109375,
0.38720703125
],
[
0.15283203125,
0.37890625,
0.160400390625,
0.37890625,
0.160400390625,
0.383056640625,
0.15283203125,
0.383056640625
],
[
0.5517578125,
0.380126953125,
0.88330078125,
0.380126953125,
0.88330078125,
0.393798828125,
0.5517578125,
0.393798828125
],
[
0.1175537109375,
0.394287109375,
0.486083984375,
0.394287109375,
0.486083984375,
0.407958984375,
0.1175537109375,
0.407958984375
],
[
0.5517578125,
0.396728515625,
0.884765625,
0.396728515625,
0.884765625,
0.410400390625,
0.5517578125,
0.410400390625
],
[
0.118408203125,
0.410888671875,
0.486083984375,
0.410888671875,
0.486083984375,
0.424560546875,
0.118408203125,
0.424560546875
],
[
0.55322265625,
0.412109375,
0.6572265625,
0.412109375,
0.6572265625,
0.42333984375,
0.55322265625,
0.42333984375
],
[
0.6484375,
0.410400390625,
0.884765625,
0.412109375,
0.884765625,
0.427001953125,
0.6484375,
0.424560546875
],
[
0.12005615234375,
0.427490234375,
0.483642578125,
0.427490234375,
0.483642578125,
0.441162109375,
0.12005615234375,
0.441162109375
],
[
0.5517578125,
0.427490234375,
0.88330078125,
0.427490234375,
0.88330078125,
0.4423828125,
0.5517578125,
0.4423828125
],
[
0.118408203125,
0.441162109375,
0.489501953125,
0.443603515625,
0.489501953125,
0.457763671875,
0.118408203125,
0.4560546875
],
[
0.5498046875,
0.4423828125,
0.88330078125,
0.443603515625,
0.88330078125,
0.457763671875,
0.5498046875,
0.457275390625
],
[
0.118408203125,
0.458984375,
0.408935546875,
0.457763671875,
0.408935546875,
0.47265625,
0.118408203125,
0.473876953125
],
[
0.5498046875,
0.458984375,
0.8818359375,
0.460205078125,
0.8818359375,
0.474365234375,
0.5498046875,
0.473876953125
],
[
0.1368408203125,
0.476806640625,
0.486083984375,
0.476806640625,
0.486083984375,
0.490478515625,
0.1368408203125,
0.490478515625
],
[
0.54833984375,
0.474365234375,
0.88330078125,
0.476806640625,
0.88330078125,
0.4912109375,
0.54833984375,
0.4892578125
],
[
0.1234130859375,
0.4921875,
0.486083984375,
0.4921875,
0.486083984375,
0.505859375,
0.1234130859375,
0.505859375
],
[
0.5498046875,
0.4921875,
0.88330078125,
0.4921875,
0.88330078125,
0.505859375,
0.5498046875,
0.505859375
],
[
0.118408203125,
0.50732421875,
0.486083984375,
0.50830078125,
0.486083984375,
0.5224609375,
0.118408203125,
0.521484375
],
[
0.5498046875,
0.5087890625,
0.88330078125,
0.5087890625,
0.88330078125,
0.5224609375,
0.5498046875,
0.5224609375
],
[
0.12005615234375,
0.52490234375,
0.489501953125,
0.52490234375,
0.489501953125,
0.5380859375,
0.12005615234375,
0.5380859375
],
[
0.5517578125,
0.525390625,
0.609375,
0.525390625,
0.609375,
0.53759765625,
0.5517578125,
0.53759765625
],
[
0.1175537109375,
0.5390625,
0.27783203125,
0.54052734375,
0.27783203125,
0.5546875,
0.1175537109375,
0.55419921875
],
[
0.5341796875,
0.55029296875,
0.88330078125,
0.55029296875,
0.88330078125,
0.56103515625,
0.5341796875,
0.56103515625
],
[
0.12005615234375,
0.568359375,
0.1502685546875,
0.568359375,
0.1502685546875,
0.580078125,
0.12005615234375,
0.580078125
],
[
0.16455078125,
0.568359375,
0.274658203125,
0.568359375,
0.274658203125,
0.580078125,
0.16455078125,
0.580078125
],
[
0.54833984375,
0.56396484375,
0.88330078125,
0.5654296875,
0.88330078125,
0.580078125,
0.54833984375,
0.5791015625
],
[
0.5517578125,
0.58203125,
0.884765625,
0.58203125,
0.884765625,
0.595703125,
0.5517578125,
0.595703125
],
[
0.12005615234375,
0.58837890625,
0.48779296875,
0.58837890625,
0.48779296875,
0.6025390625,
0.12005615234375,
0.6025390625
],
[
0.5498046875,
0.5966796875,
0.88330078125,
0.59716796875,
0.88330078125,
0.6123046875,
0.5498046875,
0.61083984375
],
[
0.12005615234375,
0.60498046875,
0.2376708984375,
0.60498046875,
0.2376708984375,
0.619140625,
0.12005615234375,
0.619140625
],
[
0.5498046875,
0.6142578125,
0.884765625,
0.6142578125,
0.884765625,
0.62744140625,
0.5498046875,
0.62744140625
],
[
0.1368408203125,
0.63427734375,
0.489501953125,
0.63427734375,
0.489501953125,
0.6484375,
0.1368408203125,
0.6484375
],
[
0.54833984375,
0.63134765625,
0.88330078125,
0.62890625,
0.88330078125,
0.642578125,
0.54833984375,
0.64453125
],
[
0.154541015625,
0.65087890625,
0.486083984375,
0.65087890625,
0.486083984375,
0.66455078125,
0.154541015625,
0.66455078125
],
[
0.54833984375,
0.6455078125,
0.884765625,
0.6455078125,
0.884765625,
0.6591796875,
0.54833984375,
0.6591796875
],
[
0.15283203125,
0.6650390625,
0.489501953125,
0.66650390625,
0.489501953125,
0.68115234375,
0.15283203125,
0.6796875
],
[
0.54833984375,
0.662109375,
0.884765625,
0.6611328125,
0.884765625,
0.67578125,
0.54833984375,
0.6767578125
],
[
0.5498046875,
0.6767578125,
0.884765625,
0.677734375,
0.884765625,
0.6923828125,
0.5498046875,
0.69140625
],
[
0.154541015625,
0.68310546875,
0.489501953125,
0.68115234375,
0.489501953125,
0.6953125,
0.154541015625,
0.69775390625
],
[
0.1561279296875,
0.69873046875,
0.48779296875,
0.69873046875,
0.48779296875,
0.7119140625,
0.1561279296875,
0.7119140625
],
[
0.5517578125,
0.69482421875,
0.88330078125,
0.69482421875,
0.88330078125,
0.7080078125,
0.5517578125,
0.7080078125
],
[
0.154541015625,
0.71337890625,
0.490234375,
0.71337890625,
0.490234375,
0.73095703125,
0.154541015625,
0.73095703125
],
[
0.5517578125,
0.71142578125,
0.880859375,
0.71142578125,
0.880859375,
0.7216796875,
0.5517578125,
0.7216796875
],
[
0.154541015625,
0.728515625,
0.2451171875,
0.73291015625,
0.2435302734375,
0.74755859375,
0.15283203125,
0.74365234375
],
[
0.5498046875,
0.724609375,
0.88330078125,
0.724609375,
0.88330078125,
0.7392578125,
0.5498046875,
0.7392578125
],
[
0.252685546875,
0.73095703125,
0.48779296875,
0.73095703125,
0.48779296875,
0.74462890625,
0.252685546875,
0.74462890625
],
[
0.2392578125,
0.73681640625,
0.246826171875,
0.73388671875,
0.2509765625,
0.7392578125,
0.2435302734375,
0.7421875
],
[
0.154541015625,
0.74658203125,
0.489501953125,
0.74658203125,
0.489501953125,
0.76123046875,
0.154541015625,
0.76123046875
],
[
0.5517578125,
0.7421875,
0.884765625,
0.7421875,
0.884765625,
0.755859375,
0.5517578125,
0.755859375
],
[
0.15283203125,
0.76318359375,
0.489501953125,
0.7626953125,
0.489501953125,
0.77685546875,
0.15283203125,
0.77783203125
],
[
0.5517578125,
0.7587890625,
0.8154296875,
0.7587890625,
0.8154296875,
0.7724609375,
0.5517578125,
0.7724609375
],
[
0.154541015625,
0.77978515625,
0.486083984375,
0.77978515625,
0.486083984375,
0.79345703125,
0.154541015625,
0.79345703125
],
[
0.5341796875,
0.7822265625,
0.88330078125,
0.7822265625,
0.88330078125,
0.79638671875,
0.5341796875,
0.79638671875
],
[
0.1561279296875,
0.79638671875,
0.26611328125,
0.79638671875,
0.26611328125,
0.80810546875,
0.1561279296875,
0.80810546875
],
[
0.51708984375,
0.79736328125,
0.88330078125,
0.79736328125,
0.88330078125,
0.8125,
0.51708984375,
0.8125
],
[
0.515625,
0.81396484375,
0.8818359375,
0.81396484375,
0.8818359375,
0.8291015625,
0.515625,
0.8291015625
],
[
0.1351318359375,
0.82177734375,
0.489501953125,
0.822265625,
0.489501953125,
0.83740234375,
0.1351318359375,
0.8359375
],
[
0.5146484375,
0.830078125,
0.8818359375,
0.83056640625,
0.8818359375,
0.845703125,
0.5146484375,
0.84423828125
],
[
0.154541015625,
0.8388671875,
0.489501953125,
0.8388671875,
0.489501953125,
0.8525390625,
0.154541015625,
0.8525390625
],
[
0.51708984375,
0.84716796875,
0.88330078125,
0.84716796875,
0.88330078125,
0.86083984375,
0.51708984375,
0.86083984375
],
[
0.1561279296875,
0.85546875,
0.48779296875,
0.85546875,
0.48779296875,
0.869140625,
0.1561279296875,
0.869140625
],
[
0.5146484375,
0.86328125,
0.88330078125,
0.86328125,
0.88330078125,
0.87744140625,
0.5146484375,
0.87744140625
],
[
0.154541015625,
0.87158203125,
0.489501953125,
0.87158203125,
0.489501953125,
0.8857421875,
0.154541015625,
0.8857421875
],
[
0.515625,
0.87890625,
0.884765625,
0.87890625,
0.884765625,
0.892578125,
0.515625,
0.892578125
],
[
0.1368408203125,
0.892578125,
0.37451171875,
0.89453125,
0.37451171875,
0.912109375,
0.1368408203125,
0.91015625
],
[
0.515625,
0.89453125,
0.8818359375,
0.89453125,
0.8818359375,
0.9091796875,
0.515625,
0.9091796875
]
] |
[
"AMREager",
"XL-AMR",
"Ours",
"Metric",
"DE",
"IT",
"ES",
"ZH",
"DE",
"IT",
"ES",
"ZH",
"DE",
"IT",
"ES",
"ZH",
"34.6",
"53.0",
"64.0",
"43.2",
"Smatch",
"42.1",
"58.1",
"58.0",
"43.1",
"65.4",
"67.3",
"56.5",
"Unlabeled",
"39.1",
"45.0",
"48.5",
"46.6",
"41.1",
"57.7",
"63.4",
"63.0",
"48.9",
"68.1",
"69.6",
"71.2",
"61.0",
"39.2",
"34.7",
"53.2",
"58.4",
"64.4",
"65.9",
"56.7",
"42.5",
"No WSD",
"42.2",
"58.4",
"43.2",
"67.8",
"Reentrancies",
"18.6",
"25.7",
"27.2",
"15.9",
"39.9",
"46.1",
"46.6",
"34.7",
"47.9",
"49.3",
"51.3",
"41.4",
"44.9",
"52.3",
"53.3",
"39.9",
"58.0",
"64.7",
"65.9",
"48.0",
"69.3",
"72.1",
"75.0",
"61.3",
"67.7",
"Concepts",
"63.1",
"67.9",
"66.0",
"70.0",
"60.6",
"79.3",
"79.5",
"80.2",
"76.2",
"65.7",
"Named Ent.",
"66.2",
"Wikification",
"49.9",
"50.6",
"44.5",
"46.8",
"60.9",
"67.0",
"63.1",
"54.5",
"74.0",
"74.9",
"73.9",
"68.1",
"Negation",
"18.6",
"22.3",
"19.8",
"6.8",
"11.7",
"29.2",
"23.4",
"12.8",
"47.1",
"52.6",
"55.6",
"36.6",
"55.2",
"50.7",
"54.7",
"27.2",
"60.1",
"62.1",
"29.4",
"SRL",
"34.3",
"35.9",
"47.9",
"41.3",
"57.3",
"Table 3: Fine-grained results of different models on DE, IT, ES and zH. Best results are in bold.",
"和开发数据。我们使用AMR2。0作为我们的",
"validation data by machine translation.",
"黄金英语-AMR数据集。我们还将德语,意大",
"They then train an AMR parser on target",
"利语,西班牙语和中文的测试集翻译回英语作",
"language with a sequence-to-graph parser.",
"为输入文本。AMR2的统计数据。0如表1所",
"They experiment XL-AMR with many dif-",
"示",
"ferent settings: language specific setting,",
"bilingual setting and multilingual setting.",
"6.2",
"Evaluation Metric",
"",
"Language specific setting means that they",
"Smatch(CaiandKnight,2013)是AMR解析",
"only use target language data to train",
"的评估指标。在此评估指标中,AMR图被视",
"the model..",
"Bilingual setting represents",
"为几个三元组。Smatch计算匹配的三元组数",
"training with target language data and",
"并根据两个AMR图的三元组总数输出分数。",
"English data. Multilingual setting repre-",
"我们使用在线提供的Smatch脚本2",
"sents training with data in all languages.",
"在(Damonteetal.,2017)之后,我们还引人",
"They also experiment multilingual setting",
"了许多细粒度评估,以便在不同方面评估预测",
"except Chinese data because they found",
"的AMR图的质量。我们在这里省略了这些细",
"training with Chinese data will lower the",
"粒度评估的细节,这些细节可以在(Damonte",
"results.",
"etal.,2017)中找到",
".Translate-test :This method first trans-",
"6.3",
"Main Results",
"lates target language texts into English",
"and uses an English AMR parser to pre-",
"我们将我们的模型与以前的作品和基线方法进",
"dict the final AMR graphs.For fair",
"行比较,包括:",
"comparison, we choose the sequence-to-",
". AMREager . This is the model proposed",
"sequence model as the English AMR",
"by Damonte and Cohen (2018): They",
"parser. The encoder, decoder and hyper-",
"assume that if a word X! in target lan-",
"parameters of these modules are the same",
"as those in our model. We use only En-",
"guage is aligned with the word Xen in",
"English and the English word aligns with",
"glish texts as input and do not apply the",
"AMR concept yi , X can be aligned",
"auxiliary taskin thetraining of English",
"withyi:",
"parser. Note that this baseline is not com-",
"Based on this assumption,",
"",
"they project AMR annotations to target",
"pared in (Blloshmi et al., 2020) and we",
"languages and further train a transition-",
"show it is a very strong baseline.",
"based AMR parser (Damonte et al., 2017)",
"比较结果见表2。我们的模型在不同设置",
"as in English.",
"下的性能大大优于以前的最佳模型XL-AMR。",
"至于与英语相似的语言,即德语,意大利语,",
": XL-AMR. This is the model proposed",
"西班牙语,我们提出的模型在SmatchF1得分",
"by (Blloshmi et al., 2020):When con-",
"上实现了约10分的大幅提升。当涉及与英语",
"ducting experiments of their best model,",
"有语言差异的语言时,即中文,我们的模型表",
"they first generate synthetic training and",
"现更好,超过XL-AMR13。SmatchF1得分4",
"2https://github.com/sheng-z/stog",
"分。翻译测试方法是一个强大的基线,因为机"
] |
{
"arxiv_id": "2106.04814",
"language": "zh",
"page_idx": 4
}
|
||
2001.01878-zh-0
|
2001.01878-zh-0.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2020}}$
# 表示学习中信息瓶颈的相变
$\textbf{Tailin Wu}$
MIT
Ian Fischer
Google Research
$\operatorname{ians}$Egoogle.com
tailin@mit.edu
## ABSTRACT
In the Information Bottleneck (IB), when tuning the relative strength between compression and prediction terms, how do the two terms behave, and what's their relationship with the dataset and the learned representation? In this paper, we set out to answer these questions by studying multiple phase transitions in the IB objective: IB$_\beta[p(z|x)]=I(X;\dot{Z})-\dot{\beta}I(\tilde{Y};Z)$ defined on the encoding distribution $p(z|x)$ for input $X$, target $Y$ and representation $Z$,where sudden jumps of $\frac{dI(Y;Z)}{d\beta}$ and prediction accuracy are observed with increasing $\beta.$ We introduce a definition for IB phase transitions as a qualitative change of the IB loss landscape, and show that the transitions correspond to the onset of learning new classes. Using second-order calculus of variations, we derive a formula that provides a practical condition for IB phase transitions, and draw its connection with the Fisher information matrix for parameterized models. We provide two perspectives to understand the formula, revealing that each IB phase transition is finding a component of maximum (nonlinear) correlation between $X$ and $Y$ orthogonal to the learned representation, in close analogy with canonical-correlation analysis (CCA) in linear settings. Based on the theory, we present an algorithm for discovering phase transition points. Finally, we verify that our theory and algorithm accurately predict phase transitions in categorical datasets, predict the onset of learning new classes and class difficulty in MNIST, and predict prominent phase transitions in CIFAR10.
1 INTRODUCTION
信息瓶颈(IB)目标$\overline{\mathrm{E}}$(Tishby et al.,2000):
$$\mathrm{IB}_{\beta}[p(z|x)]:=I(X;Z)-\beta I(Y;Z)$$
(1)
使用拉格朗日乘数$\beta$明确地权衡了模型压缩$(I(X;Z),I(:;\cdot)$表示互信息) 和预测性能$(I(Y;Z))$,其中$X,Y$是随机观察到。IB 方法已被证明在各种情况下都是有效的,包括提高了对对抗攻击 (Alemi et al., 2016; Fischer, 2018) 的鲁棒性,学习不变和解开的表示$\mathbb{E}($Achille & Soatto, 2018a;b) ,基于基础信息的几何聚类 (Strouse & Schwab, 2017b), 提高了对抗学习$\color{red}{\boxed{\Gamma}}$ (Peng et al., 2018) 中的训练和性能,并促进了技能发现$\boxed{\mathrm{F}}($Sharma et al., 2019) 和学习目标条$\bar{\text{件策略}}$
从等式 (1)中我们可以看到,当$\beta\to0$时,它将鼓励$I(X;Z)=0$ ,从而导致与$X$无关的平凡表示$Z$ ,而当$\beta\to+\infty\text{ 时,它减少到最大似然目标}^{1}$不限制信息流。在这两个极端之间,IB 目标将如何表现?预测和压缩性能会平稳变化,还是在两者之间存在有趣的过渡?在Wu et al. (2019) 中,作者观察并研究了可学习性过渡,即。e。β值,使得 IB 目标从平凡的全局最小值过渡到学习非平凡的表示。它们还显示了第一个相变与数据集结构的关系。但是,要回答完整的问题,我们需要考虑$\beta$的全部范围
Motivation. 为了了解$I(Y;Z)$和$I(X;Z)$如何随$\beta$变化,我们在 CIFAR10 数据集E (Krizhevsky& Hinton, 2009) 上训练变异信息瓶颈(VIB) 模型$\overline{\mathrm{E}}($Alemi et al.,2016),其中每个实验都在不同的$\beta$和模型的随机初始化下进行。Fig。1 显示了$I(X;Z)$ 、$I(Y;Z)$和精度与。$\beta$以及$I(Y;Z)$与。用于 CIFAR10 的$I(X;Z)$ ,具有 20 个% 标签噪声 (有关详细信息, 请参见附录 I )
$^{\mathrm{l}}$For example, in classification, it reduces to cross-entropy loss.
1
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.176513671875,
0.10418701171875,
0.51318359375,
0.10162353515625,
0.51318359375,
0.12371826171875,
0.176513671875,
0.1256103515625
],
[
0.1846923828125,
0.1514892578125,
0.256591796875,
0.1514892578125,
0.256591796875,
0.1666259765625,
0.1846923828125,
0.1666259765625
],
[
0.498291015625,
0.15283203125,
0.57666015625,
0.15283203125,
0.57666015625,
0.1641845703125,
0.498291015625,
0.1641845703125
],
[
0.1829833984375,
0.1654052734375,
0.21728515625,
0.1654052734375,
0.21728515625,
0.18115234375,
0.1829833984375,
0.18115234375
],
[
0.498291015625,
0.1666259765625,
0.61279296875,
0.1666259765625,
0.61279296875,
0.179931640625,
0.498291015625,
0.179931640625
],
[
0.1854248046875,
0.1817626953125,
0.32275390625,
0.1817626953125,
0.32275390625,
0.1925048828125,
0.1854248046875,
0.1925048828125
],
[
0.496826171875,
0.1787109375,
0.65673828125,
0.179931640625,
0.65673828125,
0.1944580078125,
0.496826171875,
0.1932373046875
],
[
0.453369140625,
0.23291015625,
0.54345703125,
0.23291015625,
0.54345703125,
0.2442626953125,
0.453369140625,
0.2442626953125
],
[
0.2320556640625,
0.261962890625,
0.765625,
0.261962890625,
0.765625,
0.27587890625,
0.2320556640625,
0.27587890625
],
[
0.2320556640625,
0.27587890625,
0.76708984375,
0.274658203125,
0.76708984375,
0.2890625,
0.2320556640625,
0.290283203125
],
[
0.2320556640625,
0.2890625,
0.765625,
0.290283203125,
0.765625,
0.3037109375,
0.2320556640625,
0.302978515625
],
[
0.2320556640625,
0.302978515625,
0.7646484375,
0.302978515625,
0.7646484375,
0.31640625,
0.2320556640625,
0.31640625
],
[
0.2344970703125,
0.317626953125,
0.76708984375,
0.317626953125,
0.76708984375,
0.330810546875,
0.2344970703125,
0.330810546875
],
[
0.233642578125,
0.33203125,
0.7646484375,
0.33203125,
0.7646484375,
0.34521484375,
0.233642578125,
0.34521484375
],
[
0.2296142578125,
0.341552734375,
0.7685546875,
0.34521484375,
0.7685546875,
0.3662109375,
0.2296142578125,
0.3623046875
],
[
0.233642578125,
0.3642578125,
0.7646484375,
0.3642578125,
0.7646484375,
0.37744140625,
0.233642578125,
0.37744140625
],
[
0.2344970703125,
0.380126953125,
0.7646484375,
0.380126953125,
0.7646484375,
0.39013671875,
0.2344970703125,
0.39013671875
],
[
0.233642578125,
0.392578125,
0.76708984375,
0.392578125,
0.76708984375,
0.406005859375,
0.233642578125,
0.406005859375
],
[
0.233642578125,
0.406005859375,
0.76708984375,
0.406005859375,
0.76708984375,
0.419189453125,
0.233642578125,
0.419189453125
],
[
0.2320556640625,
0.41845703125,
0.76708984375,
0.42041015625,
0.76708984375,
0.434326171875,
0.2320556640625,
0.431884765625
],
[
0.233642578125,
0.434326171875,
0.765625,
0.434326171875,
0.765625,
0.447509765625,
0.233642578125,
0.447509765625
],
[
0.233642578125,
0.447509765625,
0.765625,
0.447509765625,
0.765625,
0.4609375,
0.233642578125,
0.4609375
],
[
0.2344970703125,
0.46337890625,
0.7646484375,
0.46337890625,
0.7646484375,
0.473388671875,
0.2344970703125,
0.473388671875
],
[
0.2320556640625,
0.47607421875,
0.7646484375,
0.47607421875,
0.7646484375,
0.4892578125,
0.2320556640625,
0.4892578125
],
[
0.233642578125,
0.4892578125,
0.765625,
0.4892578125,
0.765625,
0.50244140625,
0.233642578125,
0.50244140625
],
[
0.2344970703125,
0.5048828125,
0.765625,
0.5048828125,
0.765625,
0.51513671875,
0.2344970703125,
0.51513671875
],
[
0.233642578125,
0.517578125,
0.765625,
0.517578125,
0.765625,
0.53076171875,
0.233642578125,
0.53076171875
],
[
0.233642578125,
0.52978515625,
0.390625,
0.52978515625,
0.390625,
0.54345703125,
0.233642578125,
0.54345703125
],
[
0.176513671875,
0.5712890625,
0.1895751953125,
0.5712890625,
0.1895751953125,
0.58056640625,
0.176513671875,
0.58056640625
],
[
0.188720703125,
0.57470703125,
0.200927734375,
0.57470703125,
0.200927734375,
0.5791015625,
0.188720703125,
0.5791015625
],
[
0.20751953125,
0.57080078125,
0.343017578125,
0.57080078125,
0.343017578125,
0.583984375,
0.20751953125,
0.583984375
],
[
0.17724609375,
0.60302734375,
0.486083984375,
0.60302734375,
0.486083984375,
0.61279296875,
0.17724609375,
0.61279296875
],
[
0.37744140625,
0.62255859375,
0.62109375,
0.62255859375,
0.62109375,
0.63623046875,
0.37744140625,
0.63623046875
],
[
0.80224609375,
0.62255859375,
0.826171875,
0.62255859375,
0.826171875,
0.63525390625,
0.80224609375,
0.63525390625
],
[
0.176513671875,
0.64306640625,
0.82421875,
0.64306640625,
0.82421875,
0.6572265625,
0.176513671875,
0.6572265625
],
[
0.1732177734375,
0.65576171875,
0.82275390625,
0.6572265625,
0.82275390625,
0.671875,
0.1732177734375,
0.67041015625
],
[
0.17724609375,
0.67041015625,
0.82275390625,
0.67041015625,
0.82275390625,
0.6845703125,
0.17724609375,
0.6845703125
],
[
0.1732177734375,
0.68310546875,
0.826171875,
0.6845703125,
0.826171875,
0.69873046875,
0.1732177734375,
0.69775390625
],
[
0.1732177734375,
0.69873046875,
0.82275390625,
0.69873046875,
0.82275390625,
0.7119140625,
0.1732177734375,
0.7119140625
],
[
0.176513671875,
0.7138671875,
0.2254638671875,
0.7138671875,
0.2254638671875,
0.72607421875,
0.176513671875,
0.72607421875
],
[
0.1748046875,
0.73193359375,
0.82275390625,
0.73291015625,
0.82275390625,
0.74755859375,
0.1748046875,
0.7470703125
],
[
0.176513671875,
0.7470703125,
0.82177734375,
0.7470703125,
0.82177734375,
0.76025390625,
0.176513671875,
0.76025390625
],
[
0.176513671875,
0.76220703125,
0.82275390625,
0.76220703125,
0.82275390625,
0.77587890625,
0.176513671875,
0.77587890625
],
[
0.1748046875,
0.77587890625,
0.82275390625,
0.77587890625,
0.82275390625,
0.7890625,
0.1748046875,
0.7890625
],
[
0.176513671875,
0.7890625,
0.82421875,
0.7890625,
0.82421875,
0.8037109375,
0.176513671875,
0.8037109375
],
[
0.176513671875,
0.8046875,
0.55224609375,
0.8046875,
0.55224609375,
0.81494140625,
0.176513671875,
0.81494140625
],
[
0.181396484375,
0.83349609375,
0.26953125,
0.83349609375,
0.26953125,
0.8447265625,
0.181396484375,
0.8447265625
],
[
0.275390625,
0.8359375,
0.281982421875,
0.8359375,
0.281982421875,
0.84033203125,
0.275390625,
0.84033203125
],
[
0.285888671875,
0.83203125,
0.82275390625,
0.83203125,
0.82275390625,
0.84521484375,
0.285888671875,
0.84521484375
],
[
0.1748046875,
0.8466796875,
0.82177734375,
0.8466796875,
0.82177734375,
0.85986328125,
0.1748046875,
0.85986328125
],
[
0.176513671875,
0.85986328125,
0.82275390625,
0.85986328125,
0.82275390625,
0.87353515625,
0.176513671875,
0.87353515625
],
[
0.1748046875,
0.87353515625,
0.82275390625,
0.87353515625,
0.82275390625,
0.88818359375,
0.1748046875,
0.88818359375
],
[
0.17724609375,
0.8896484375,
0.279296875,
0.8896484375,
0.279296875,
0.90087890625,
0.17724609375,
0.90087890625
],
[
0.1953125,
0.91015625,
0.56640625,
0.912109375,
0.56640625,
0.92529296875,
0.1953125,
0.923828125
],
[
0.491943359375,
0.94873046875,
0.5048828125,
0.94873046875,
0.5048828125,
0.96044921875,
0.491943359375,
0.96044921875
]
] |
[
"Published as a conference paper at ICLR 2020",
"表示学习中信息瓶颈的相变",
"Tailin Wu",
"lanFischer",
"MIT",
"Google Research",
"tailin@mit.edu",
"iansf@google.com",
"ABSTRACT",
"In the Information Bottleneck (IB), when tuning the relative strength between com-",
"pression and prediction terms, how do the two terms behave, and what's their re-",
"iationship with the dataset and the learned representation? In this paper, we set",
"out to answer these questions by studying multiple phase transitions in the IB",
"objective: IB[p(z)] = I(X; Z) -βI(Y; Z) defined on the encoding distribu-",
"tion p(zr) for input X , target Y and representation Z, where sudden jumps",
"of dig) and prediction accuracy are observed with increasing β. We intro-",
"duce a definition for IB phase transitions as a qualitative change of the IB loss",
"landscape,andshowthatthetransitionscorrespondtotheonsetoflearningnew",
"classes. Using second-order calculus of variations, we derive a formula that pro-",
"vides a practical condition for IB phase transitions, and draw its connection with",
"theFisher information matrixforparameterized models.Weprovidetwo perspec-",
"tives to understand the formula, revealing that each IB phase transition is finding",
"a component of maximum (nonlinear) correlation between X and Y orthogonal",
"tothelearnedrepresentation,incloseanalogywithcanonical-correlationanalysis",
"(CCA) in linear settings.Based on the theory, we present an algorithm for dis",
"covering phase transition points. Finally, we verify that our theory and algorithm",
"accurately predictphase transitions in categorical datasets,predict the onset of",
"learning new classes and class difficulty in MNIST, and predict prominent phase",
"transitions in CIFAR10.",
"1",
"",
"INTRODUCTION",
"信息瓶颈(IB)目标El(Tishbyetal.2000):",
"IBβ[p(z|)) := I(X; Z) -βI(Y; Z)",
"(1)",
"使用拉格朗日乘数β明确地权衡了模型压缩(I(X;Z),I;)表示互信息)和预测性能",
"(I(Y;Z)),其中X,Y是随机观察到。IB方法已被证明在各种情况下都是有效的,包括提高",
"了对对抗攻击(Alemietal.,2016;Fischer,2018)的鲁棒性,学习不变和解开的表示E(Achille",
"&Soatto,2018a;b),基于基础信息的几何聚类(Strouse&Schwab,2017b),提高了对抗学习E",
"(Pengetal.,2018)中的训练和性能,并促进了技能发现E(Sharmaetal.,2019)和学习目标条",
"件策略",
"从等式(1)中我们可以看到,当β→0时,它将鼓励I(X;Z)=0,从而导致与X无关的",
"平凡表示Z,而当β→十时,它减少到最大似然目标1不限制信息流。在这两个极端之",
"间,IB目标将如何表现?预测和压缩性能会平稳变化,还是在两者之间存在有趣的过渡?在",
"Wuetal.(2019)中,作者观察并研究了可学习性过渡,即。e。β值,使得IB目标从平凡的",
"全局最小值过渡到学习非平凡的表示。它们还显示了第一个相变与数据集结构的关系。但",
"是,要回答完整的问题,我们需要考虑β的全部范围",
"Motivation.",
"",
"为了了解I(Y;Z)和I(X;Z)如何随β变化,我们在CIFAR1O数据集F",
"(Krizhevsky&Hinton,2009)上训练变异信息瓶颈(VIB)模型E(Alemietal.,2016),其中每",
"个实验都在不同的β和模型的随机初始化下进行。Fig。1显示了I(X;Z)、I(Y;Z)和精度",
"与。β以及I(Y;Z)与。用于CIFAR10的I(X;Z),具有20个%标签噪声(有关详细信息",
"请参见附录I)",
"'For example, in classification,itreducesto cross-entropy loss.",
"1"
] |
{
"arxiv_id": "2001.01878",
"language": "zh",
"page_idx": 0
}
|
||
2001.01878-zh-1
|
2001.01878-zh-1.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2020}}$
<FigureHere>
Figure 1: CIFAR10 plots (a) showing the information plane, as well as $\beta$ vs (b) $I(X;Z)$ and $I(Y;Z)$ , and (c) accuracy, all on the training set with $20\%$ label noise. The arrows point to empiricallyobserved phase transitions. The vertical lines correspond to phase transitions found with Alg. 1
来自图。$\mathbb{E}$1(b)(c),我们看到,随着$\beta$的增加$,I(X;Z)$和$I(Y;Z)$都显示出多个相变其中斜率$\frac{dI(X;Z)}{d\beta}$和$\frac{dI(Y;Z)}{d\beta}$是不连续的,并且精度具有离散跳跃。观察结果使我们能够完善我们的问题:相变何时发生,以及它们如何取决于数据集的结构?这些问题很重要,因为回答这些问题将有助于我们更好地理解 IB 目标及其与数据集和学习表示的密切相互作用
此外,IB 目标属于许多机器学习目标中两项权衡的一般形式$:L=$ Prediction-loss $+\beta\cdot$ Complexity,其中复杂性项通常采用正则化的形式。通常,学习设置在特定的$\beta$。如果我们了解不同$\beta$的预测损失和模型复杂性的行为,以及它们如何依赖于数据集,可以获得更多的见解。为解决 IB 设置中的问题而开发的技术也可能有助于我们理解其他学习目标中的两项权衡
Contributions. 在这项工作中,我们开始在 IB 设置中解决上述问题。具体而言:
$\bullet$ We identify a qualitative change of the IB loss landscape w.r.t. $p(z|x)$ for varying $\beta$ as IB
phase transitions (Section 3 ).
· Based on the definition, we introduce a quantity $G[p(z|x)]$ and use it to prove a theorem giving a practical condition for IB phase transitions. We further reveal the connection between $\hat{G}[p(z|x)]$ and the Fisher information matrix when $p(z|x)$ is parameterized by $\theta$ (Section 3 ).
· We reveal the close interplay between the IB objective, the dataset and the learned representation, by showing that in IB, each phase transition corresponds to learning a new nonlinear component of maximum correlation between $X$ and $\bar{Y}$, orthogonal to the previouslylearned $Z$ , and each with decreasing strength (Section 4 ).
据我们所知,我们的工作提供了第一个理论公式,用于在最一般的设置中解决 IB 相变。此外,我们提出了一种迭代查找 IB 相变点的算法 (第 5 节)。我们表明,我们的理论和算法与分类数据集中观察到的相变紧密匹配,预测 MNIST 中学习新类和类难度的开始,并预测CIFAR10实验中的突出转变(第6节)
## 2 RELATED WORK
信息瓶颈方法$\color{red}{\mathrm{E}}$(Tishby et al.,2000)提供了一种基于 Blahut-Arimoto (BA) 算法$\color{red}{\mathrm{E}}$(Blahut, 1972)的表格方法,在给定权衡参数$\beta$和表示变量$Z$的基数的情况下,对最优编码器分布$P(Z|X)$的 IB 函数进行数值求解。这项工作已在多个方向上进行了扩展,包括所有三个变量$X,Y,Z$都是多元高斯 (Chechik et al., 2005) 的情况,IB 上的变分边界和摊销学习 (Alemi et al., 2016; Achille & Soatto, 2018a; Fischer, 2018) 的相关函数的情况,以及对模型复杂性的约束的更广义解释为 Kolmogorov 结构函数(Achille et al.,2018)。先前对 IB 的理论分析包括ERey& Roth (2012) , 它通过 copula 函数的镜头查看 IB , 以及 Shamir et al.(2010) , 它开始解决如何将泛化与 IB 绑定的问题。我们将实际使用原始 IB 算法,以及变分信息瓶颈匣(Alemi et al., 2016) 和条件熵瓶颈$\boxed{\mathrm{F}}($Fischer, 2018) 的摊销范围
在许多不同的学习领域中,对于多个学习目标,已经观察到了相变,其中关键量在两项权衡中随着相对强度的变化而不连续地变化。在 Rezende &Viola (2018) 中,作者观察到
2
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.62353515625,
0.12371826171875,
0.63232421875,
0.12060546875,
0.6337890625,
0.126953125,
0.6259765625,
0.1287841796875
],
[
0.62744140625,
0.1363525390625,
0.63232421875,
0.1363525390625,
0.63232421875,
0.141357421875,
0.62744140625,
0.141357421875
],
[
0.17724609375,
0.2392578125,
0.82275390625,
0.2392578125,
0.82275390625,
0.25,
0.17724609375,
0.25
],
[
0.17724609375,
0.251953125,
0.6708984375,
0.251953125,
0.6708984375,
0.26513671875,
0.17724609375,
0.26513671875
],
[
0.69677734375,
0.25390625,
0.8203125,
0.25390625,
0.8203125,
0.264404296875,
0.69677734375,
0.264404296875
],
[
0.1748046875,
0.26513671875,
0.82275390625,
0.26513671875,
0.82275390625,
0.279052734375,
0.1748046875,
0.279052734375
],
[
0.1748046875,
0.31494140625,
0.82275390625,
0.31494140625,
0.82275390625,
0.328857421875,
0.1748046875,
0.328857421875
],
[
0.17236328125,
0.326904296875,
0.826171875,
0.326904296875,
0.826171875,
0.347900390625,
0.17236328125,
0.347900390625
],
[
0.26953125,
0.34228515625,
0.27685546875,
0.34228515625,
0.27685546875,
0.34521484375,
0.26953125,
0.34521484375
],
[
0.17724609375,
0.35107421875,
0.82177734375,
0.35107421875,
0.82177734375,
0.361083984375,
0.17724609375,
0.361083984375
],
[
0.176513671875,
0.363037109375,
0.80224609375,
0.363037109375,
0.80224609375,
0.376953125,
0.176513671875,
0.376953125
],
[
0.17724609375,
0.386474609375,
0.8203125,
0.386474609375,
0.8203125,
0.396484375,
0.17724609375,
0.396484375
],
[
0.176513671875,
0.3984375,
0.82275390625,
0.3984375,
0.82275390625,
0.412353515625,
0.176513671875,
0.412353515625
],
[
0.1805419921875,
0.4140625,
0.8203125,
0.4140625,
0.8203125,
0.4248046875,
0.1805419921875,
0.4248046875
],
[
0.1732177734375,
0.4267578125,
0.82275390625,
0.4267578125,
0.82275390625,
0.43994140625,
0.1732177734375,
0.43994140625
],
[
0.1748046875,
0.43994140625,
0.226318359375,
0.43994140625,
0.226318359375,
0.455078125,
0.1748046875,
0.455078125
],
[
0.178955078125,
0.4697265625,
0.75634765625,
0.4697265625,
0.75634765625,
0.48291015625,
0.178955078125,
0.48291015625
],
[
0.2156982421875,
0.49365234375,
0.82421875,
0.494384765625,
0.82421875,
0.51220703125,
0.2156982421875,
0.51123046875
],
[
0.2320556640625,
0.51123046875,
0.4306640625,
0.51123046875,
0.4306640625,
0.5244140625,
0.2320556640625,
0.5244140625
],
[
0.2181396484375,
0.52783203125,
0.82177734375,
0.52880859375,
0.82177734375,
0.54345703125,
0.2181396484375,
0.54248046875
],
[
0.2344970703125,
0.54345703125,
0.82177734375,
0.54345703125,
0.82177734375,
0.556640625,
0.2344970703125,
0.556640625
],
[
0.2320556640625,
0.55615234375,
0.82275390625,
0.556640625,
0.82275390625,
0.5712890625,
0.2320556640625,
0.57080078125
],
[
0.2344970703125,
0.57275390625,
0.31787109375,
0.57275390625,
0.31787109375,
0.58349609375,
0.2344970703125,
0.58349609375
],
[
0.2197265625,
0.5888671875,
0.826171875,
0.5888671875,
0.826171875,
0.60302734375,
0.2197265625,
0.60302734375
],
[
0.2344970703125,
0.60400390625,
0.82275390625,
0.60400390625,
0.82275390625,
0.6171875,
0.2344970703125,
0.6171875
],
[
0.2344970703125,
0.6162109375,
0.826171875,
0.6171875,
0.826171875,
0.6318359375,
0.2344970703125,
0.630859375
],
[
0.233642578125,
0.630859375,
0.61767578125,
0.630859375,
0.61767578125,
0.64453125,
0.233642578125,
0.64453125
],
[
0.17724609375,
0.6591796875,
0.82177734375,
0.6591796875,
0.82177734375,
0.66943359375,
0.17724609375,
0.66943359375
],
[
0.1748046875,
0.67041015625,
0.8203125,
0.67041015625,
0.8203125,
0.6845703125,
0.1748046875,
0.6845703125
],
[
0.17724609375,
0.68505859375,
0.82275390625,
0.68505859375,
0.82275390625,
0.69873046875,
0.17724609375,
0.69873046875
],
[
0.176513671875,
0.70068359375,
0.44677734375,
0.70068359375,
0.44677734375,
0.7109375,
0.176513671875,
0.7109375
],
[
0.1732177734375,
0.734375,
0.3505859375,
0.734375,
0.3505859375,
0.74853515625,
0.1732177734375,
0.74853515625
],
[
0.176513671875,
0.7646484375,
0.82177734375,
0.7646484375,
0.82177734375,
0.77880859375,
0.176513671875,
0.77880859375
],
[
0.176513671875,
0.77783203125,
0.8203125,
0.77783203125,
0.8203125,
0.79150390625,
0.176513671875,
0.79150390625
],
[
0.17724609375,
0.79248046875,
0.82177734375,
0.79248046875,
0.82177734375,
0.80615234375,
0.17724609375,
0.80615234375
],
[
0.176513671875,
0.80615234375,
0.82177734375,
0.80615234375,
0.82177734375,
0.8193359375,
0.176513671875,
0.8193359375
],
[
0.176513671875,
0.82080078125,
0.82177734375,
0.82080078125,
0.82177734375,
0.833984375,
0.176513671875,
0.833984375
],
[
0.176513671875,
0.833984375,
0.82177734375,
0.833984375,
0.82177734375,
0.84765625,
0.176513671875,
0.84765625
],
[
0.176513671875,
0.84765625,
0.82177734375,
0.84765625,
0.82177734375,
0.861328125,
0.176513671875,
0.861328125
],
[
0.176513671875,
0.8623046875,
0.82275390625,
0.8623046875,
0.82275390625,
0.87548828125,
0.176513671875,
0.87548828125
],
[
0.176513671875,
0.87548828125,
0.60888671875,
0.87548828125,
0.60888671875,
0.8896484375,
0.176513671875,
0.8896484375
],
[
0.176513671875,
0.89599609375,
0.82177734375,
0.896484375,
0.82177734375,
0.9111328125,
0.176513671875,
0.91015625
],
[
0.176513671875,
0.9111328125,
0.82177734375,
0.9111328125,
0.82177734375,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.490234375,
0.94775390625,
0.50732421875,
0.94775390625,
0.50732421875,
0.9619140625,
0.490234375,
0.9619140625
]
] |
[
"Published as a conference paper at ICLR 2020",
"0",
"",
"Figurel:CIFARioplots (a)showingtheinformationplane,aswell asβvs(b)I(X;Z)andI(Y;Z",
" and (c) accuracy, all on the training set with 20 % label noise. The arrov",
"ointtoempirically",
"observed phase transitions. The vertical lines correspond to phase transitions found with Alg.1",
"来自图。E1(b)(c),我们看到,随着β的增加,I(X;Z)和I(Y;Z)都显示出多个相变,",
"其中斜率(和是不连续的,并且精度具有离散跳跃。观察结果使我们能够完",
"./",
"善我们的问题:相变何时发生,以及它们如何取决于数据集的结构?这些问题很重要,因为",
"回答这些问题将有助于我们更好地理解IB目标及其与数据集和学习表示的密切相互作用",
"此外,IB自标属于许多机器学习自标中两项权衡的一般形式:L三Prediction-loss+B",
"Complexity,其中复杂性项通常采用正则化的形式。通常,学习设置在特定的β。如果我们",
"了解不同β的预测损失和模型复杂性的行为,以及它们如何依赖于数据集,可以获得更多",
"的见解。为解决B设置中的问题而开发的技术也可能有助于我们理解其他学习目标中的两",
"项权衡",
"Contributions.在这项工作中,我们开始在IB设置中解决上述问题。具体而言:",
". We identify a qualitative change of the IB loss landscape w.r.t. p(zα) for varying β as IB",
"phase transitions (Section 3).",
": Based on the definition, we introduce a quantity G(p(z)] and use it to prove a theorem",
"giving a practical condition for IB phase transitions.We further reveal the connection",
"between G[p(zα)] and the Fisher information matrix when p(z) is parameterized by ",
"(Section 3).",
": We reveal the close interplay between the IB objective, the dataset and the learned represen-",
"tation, by showing that in IB, each phase transition corresponds to learning a new nonlin.",
"ear component of maximum correlation between X and Y , orthogonal to the previously-",
"learned Z , and each with decreasing strength (Section 4 ).",
"据我们所知,我们的工作提供了第一个理论公式,用于在最一般的设置中解决B相变。此",
"外,我们提出了一种迭代查找IB相变点的算法(第5节)。我们表明,我们的理论和算法",
"与分类数据集中观察到的相变紧密匹配,预测MNIST中学习新类和类难度的开始,并预测",
"CIFAR10实验中的突出转变(第6节)",
"2RELATED WORK",
"信息瓶颈方法E(Tishbyetal.,2000)提供了一种基于Blahut-Arimoto(BA)算法E(Blahut",
"1972)的表格方法,在给定权衡参数β和表示变量Z的基数的情况下,对最优编码器分布",
"P(ZIX)的IB函数进行数值求解。这项工作已在多个方向上进行了扩展,包括所有三个变",
"量X,Y,Z都是多元高斯(Chechiketal.2005)的情况,IB上的变分边界和摊销学习(Alemi",
"etal.,2016;Achille&Soatto,2018a;Fischer,2018)的相关函数的情况,以及对模型复杂性的",
"约束的更广义解释为Kolmogorov结构函数(Achilleetal.,2018)。先前对IB的理论分析包",
"括ERey&Roth(2012),它通过copula函数的镜头查看IB,以及Shamiretal.(2010),它开",
"始解决如何将泛化与IB绑定的问题。我们将实际使用原始IB算法,以及变分信息瓶颈F",
"(Alemietal.,2016)和条件摘瓶颈E(Fischer,2018)的摊销范围",
"在许多不同的学习领域中,对于多个学习目标,已经观察到了相变,其中关键量在两项",
"权衡中随着相对强度的变化而不连续地变化。在Rezende&Viola(2018)中,作者观察到",
"2"
] |
{
"arxiv_id": "2001.01878",
"language": "zh",
"page_idx": 1
}
|
||
2001.01878-zh-2
|
2001.01878-zh-2.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2020}}$
$\beta$ -VAE 的潜在表示形式中的相变,以改变$\beta$ 。Strouse & Schwab (2017b) 利用确定性信息瓶颈(DIB)$\operatorname{E}$(Strouse&Schwab, 2017a)中相变的扭结角来确定几何聚类的最佳聚类数。Tegmark& Wu (2019) 使用具有非凸帕累托最优边界的离散信息瓶颈明确考虑了二进制分类任务中的临界点。在 Achille & Soatto (2018a) 中,作者观察到$I(\theta;X,Y)$与。InfoDropout 中的$H(Y|X,\theta)$。在IB 设置下,Chechik et al.(2005)研究高斯信息瓶颈,并解析求解临界值$\beta _i^c= \frac 1{1- \lambda _i}$ ,其中$\lambda_i$是矩阵$\Sigma_x|y\Sigma_x^{-1}$的特征值,$\Sigma_x$是协方差矩阵。这项工作为 IB 提供了有价值的见解,但仅限于$X,Y$和$Z$ 共同为高斯的特殊情况。还观察到了一般 IB 设置中的相变,Tishby (2018) 将其描述为“信息分叉”。在 Wu et al.(2019) 中,作者研究了第一个相变,即。e。可学习性阶段转换,并提供有关可学习性如何取决于数据集的见解。我们的工作是在最一般的环境中解决所有 IB 相变的第一项工作,并提供了关于 IB 目标,其相变, 数据集和学习表示之间相互作用的理论见解
3 FORMULA FOR IB PHASE TRANSITIONS
## 3.1 DEFINITIONS
令$X\in\mathcal{X},Y\in\mathcal{Y},Z\in\mathcal{Z}$ 是分别表示输入,目标和表示的随机变量,具有联合概率分布$p(X,Y,Z)$ ,并支持$\mathcal{X}\times\mathcal{Y}\times\mathcal{Z}$。$X$ ,$Y$和$Z$满足马尔可夫链$Z-X-Y$ , i。e。给定$X$ $,Y$和$Z$是条件独立的。我们假设积分 (或求和,如果$X,Y$或$Z$是离散随机变量)在$\mathcal{X}\times\mathcal{Y}\times\mathcal{Z}$上。我们使用$x$ , $y$和$z$来表示各个随机变量的实例。上述设置在整个纸张中使用。我们可以将 IB 目标 IB$_{\beta}[p(z|x)]$ (方程 1)视为编码分布$p(z|x)$的函数。为了准备引人IB 相变,我们首先定义相对扰动函数和第二个变体,如下所示
Definition $1. \textit{Relative perturbation function: For p}( z| x) , its\textit{relative perturbation function r}( z| x)$ isaboundedfunction that maps $\chi\times\mathcal{Z}$ to $\mathbb{R}$ and satisfes $\mathbb{E}_z\sim p(z|x)[r(z|x)]=0.$ Formally, define $\mathcal{Z},|r(z|x)|\leq M\}.$ We have that r$(z|x)\in\mathcal{Q}_{\mathcal{Z}|\mathcal{X}}$ iff r$(z|x)$ is a relative perturbation function of $p( z| x)$ . The perturbed probability $( density)$ $is$ $p^{\prime }( z| x) = p( z| x)$ $( 1+ \epsilon \cdot r( z| x) )$ for some $\epsilon > 0$ .
Definition 2. Second variation: Let functional $F[ f( x) ] \textit{be defined on some normed linear space R}$ $.Letusaddaperturbativefunction\epsilon\cdot h(x)tof(x),andnowthefunctionalF[f(x)+\epsilon\cdot h(x)]can$ be expanded as
$$\begin{aligned}\Delta F[f(x)]&=F[f(x)+\epsilon\cdot h(x)]-F[f(x)]\\&=\varphi_1[\epsilon\cdot h(x)]+\varphi_2[\epsilon\cdot h(x)]+\varphi_r[\epsilon\cdot h(x)]\left\|\epsilon\cdot h(x)\right\|^2\end{aligned}$$
such $that\lim _{\epsilon \to 0}\varphi _r[ \epsilon \cdot h( x) ] = 0, where$ $\| \cdot \|$ denotes the $norm$, $\varphi _1[ \epsilon \cdot h( x) ] = \epsilon \frac {dF[ f( x) ] }{d\epsilon }$ $is$ $a$ linear $functionalof\epsilon \cdot h( x) , andiscalledthefrst$ variation , denoted $as$ $\delta F[ f( x) ]$ . $\varphi _{2}[ \epsilon \cdot h( x) ]$ = $\frac 12\epsilon ^{2}\frac {d^{2}F[ f( x) ] }{d\epsilon ^{2}}$ $is$ $a$ quadratic functional $of\epsilon \cdot h( x)$ , and $is$ called the second variation , denoted $as$ $\bar{\delta}^{2}F[f\tilde{(x)}].$
我们可以将扰动函数$\epsilon\cdot h(x)$视为无限维的“向量”$(x$是索引),其中$\epsilon$是其幅度$,h(x)$是其方向。通过上述准备工作,我们将 IB 相变定义为 IB$_{\beta}[p(z|x)]$全局最小值上局部曲率的变化Definition $3.IBphase$ transitions: Let $r(z|x)\in Q_{Z|X}$ be $a$ perturbation function $ofp(z|x)$, $p_{\beta}^{*}(z|x)$ denote the optimal solution of IB$_\beta[p(z|x)]at\beta,where$ the IB functional IB[·] is defined in equation( I ). The IB phase transitions $\beta_i^{\mathrm{c}}$ are the β values satisfying the following two conditions: $( I)$ $\forall r( z| x) \in {\mathcal{Q} }_{\mathcal{Z} }| \chi$ , $\delta ^{2}IB_{\beta }[ p( z| x) ] | _{p_{\beta }^{* }( z| x) }^{\mu _{1}}\geq 0$ ;
$$(2)\:\operatorname*{lim}_{\beta^{\prime}\to\beta^{+}}\operatorname*{inf}_{r(z|x)\in\mathcal{Q}_{\mathcal{Z}|\mathcal{X}}}\:\delta^{2}IB_{\beta^{\prime}}[p(z|x)]\Big|_{p_{\beta}^{*}(z|x)}=0^{-}\:.\:Here\:\beta^{+}\:and\:0^{-}\:denote\:one-sided\:limits$$
我们可以将$\delta^2\mathbf{IB}_\beta[p(z|x)]$理解为 IB 物镜 IB $_\beta$ (方程 1) w 的局部“曲率”。r。t。$p(z|x)$ 沿着一些相对扰动$r(z|x)$。当 IB$_\beta[p(z|x)]$ w 的凸度时发生相变。r。t。随着$\beta$从$\beta_c$增加到$\beta _c+ 0^+ $, $p( z| x)$在其最优解$p_\beta^*(z|x)$附近从最小值变为鞍点。这意味着存在下坡并找到更好的最小值的扰动。我们在下面通过经验验证了这个定义
3
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.048614501953125,
0.1748046875,
0.048614501953125
],
[
0.17724609375,
0.1060791015625,
0.82177734375,
0.1060791015625,
0.82177734375,
0.11932373046875,
0.17724609375,
0.11932373046875
],
[
0.176513671875,
0.11932373046875,
0.82177734375,
0.11932373046875,
0.82177734375,
0.1331787109375,
0.176513671875,
0.1331787109375
],
[
0.17724609375,
0.1331787109375,
0.82177734375,
0.1331787109375,
0.82177734375,
0.146484375,
0.17724609375,
0.146484375
],
[
0.176513671875,
0.146484375,
0.82177734375,
0.146484375,
0.82177734375,
0.160400390625,
0.176513671875,
0.160400390625
],
[
0.176513671875,
0.160400390625,
0.82275390625,
0.160400390625,
0.82275390625,
0.173583984375,
0.176513671875,
0.173583984375
],
[
0.1748046875,
0.1749267578125,
0.82177734375,
0.173583984375,
0.82177734375,
0.1881103515625,
0.1748046875,
0.189453125
],
[
0.176513671875,
0.1912841796875,
0.82177734375,
0.1912841796875,
0.82177734375,
0.2052001953125,
0.176513671875,
0.2052001953125
],
[
0.1748046875,
0.2052001953125,
0.8203125,
0.2052001953125,
0.8203125,
0.2183837890625,
0.1748046875,
0.2183837890625
],
[
0.176513671875,
0.2197265625,
0.82177734375,
0.2197265625,
0.82177734375,
0.23291015625,
0.176513671875,
0.23291015625
],
[
0.17724609375,
0.23291015625,
0.82177734375,
0.23291015625,
0.82177734375,
0.246826171875,
0.17724609375,
0.246826171875
],
[
0.176513671875,
0.246826171875,
0.486083984375,
0.246826171875,
0.486083984375,
0.260009765625,
0.176513671875,
0.260009765625
],
[
0.1748046875,
0.285888671875,
0.2034912109375,
0.285888671875,
0.2034912109375,
0.298583984375,
0.1748046875,
0.298583984375
],
[
0.20751953125,
0.287353515625,
0.5361328125,
0.28857421875,
0.5361328125,
0.2998046875,
0.20751953125,
0.298583984375
],
[
0.17236328125,
0.318115234375,
0.31201171875,
0.3193359375,
0.31201171875,
0.333984375,
0.17236328125,
0.333251953125
],
[
0.1748046875,
0.3466796875,
0.82275390625,
0.347900390625,
0.82275390625,
0.361083984375,
0.1748046875,
0.35986328125
],
[
0.1748046875,
0.3623046875,
0.82177734375,
0.3623046875,
0.82177734375,
0.375732421875,
0.1748046875,
0.375732421875
],
[
0.1871337890625,
0.375,
0.82177734375,
0.375,
0.82177734375,
0.38818359375,
0.1871337890625,
0.38818359375
],
[
0.176513671875,
0.389404296875,
0.82275390625,
0.389404296875,
0.82275390625,
0.404052734375,
0.176513671875,
0.404052734375
],
[
0.176513671875,
0.404052734375,
0.82275390625,
0.404052734375,
0.82275390625,
0.417236328125,
0.176513671875,
0.417236328125
],
[
0.1748046875,
0.417236328125,
0.62109375,
0.417236328125,
0.62109375,
0.43115234375,
0.1748046875,
0.43115234375
],
[
0.1748046875,
0.436279296875,
0.826171875,
0.438232421875,
0.826171875,
0.45263671875,
0.1748046875,
0.45068359375
],
[
0.1732177734375,
0.45068359375,
0.82275390625,
0.451904296875,
0.82275390625,
0.466552734375,
0.1732177734375,
0.46533203125
],
[
0.17724609375,
0.468505859375,
0.82275390625,
0.468505859375,
0.82275390625,
0.48291015625,
0.17724609375,
0.48291015625
],
[
0.176513671875,
0.484130859375,
0.82421875,
0.484130859375,
0.82421875,
0.49755859375,
0.176513671875,
0.49755859375
],
[
0.1748046875,
0.5,
0.8056640625,
0.5,
0.8056640625,
0.51318359375,
0.1748046875,
0.51318359375
],
[
0.1748046875,
0.51953125,
0.63818359375,
0.51953125,
0.63818359375,
0.53271484375,
0.1748046875,
0.53271484375
],
[
0.6787109375,
0.51953125,
0.82275390625,
0.51953125,
0.82275390625,
0.53271484375,
0.6787109375,
0.53271484375
],
[
0.178955078125,
0.53271484375,
0.8203125,
0.53271484375,
0.8203125,
0.546875,
0.178955078125,
0.546875
],
[
0.176513671875,
0.548828125,
0.275390625,
0.548828125,
0.275390625,
0.56005859375,
0.176513671875,
0.56005859375
],
[
0.281982421875,
0.583984375,
0.56884765625,
0.58544921875,
0.56884765625,
0.599609375,
0.281982421875,
0.5986328125
],
[
0.35302734375,
0.60693359375,
0.7158203125,
0.60595703125,
0.7158203125,
0.62060546875,
0.35302734375,
0.6220703125
],
[
0.1732177734375,
0.630859375,
0.82421875,
0.630859375,
0.82421875,
0.6513671875,
0.1732177734375,
0.6513671875
],
[
0.1707763671875,
0.6513671875,
0.82275390625,
0.65380859375,
0.82275390625,
0.671875,
0.1707763671875,
0.66943359375
],
[
0.17236328125,
0.66552734375,
0.82666015625,
0.67041015625,
0.82666015625,
0.69580078125,
0.17236328125,
0.68994140625
],
[
0.1748046875,
0.6875,
0.253173828125,
0.68994140625,
0.25244140625,
0.705078125,
0.1732177734375,
0.7021484375
],
[
0.176513671875,
0.71826171875,
0.82275390625,
0.71826171875,
0.82275390625,
0.73193359375,
0.176513671875,
0.73193359375
],
[
0.17724609375,
0.73291015625,
0.82275390625,
0.73291015625,
0.82275390625,
0.7470703125,
0.17724609375,
0.7470703125
],
[
0.1732177734375,
0.751953125,
0.8203125,
0.75244140625,
0.8203125,
0.767578125,
0.1732177734375,
0.7666015625
],
[
0.1748046875,
0.76806640625,
0.82275390625,
0.767578125,
0.82275390625,
0.7822265625,
0.1748046875,
0.78271484375
],
[
0.176513671875,
0.7841796875,
0.82177734375,
0.7841796875,
0.82177734375,
0.79736328125,
0.176513671875,
0.79736328125
],
[
0.1690673828125,
0.79443359375,
0.5087890625,
0.79736328125,
0.5087890625,
0.8193359375,
0.1690673828125,
0.81640625
],
[
0.1748046875,
0.8291015625,
0.2344970703125,
0.8291015625,
0.2344970703125,
0.84033203125,
0.1748046875,
0.84033203125
],
[
0.301513671875,
0.830078125,
0.32177734375,
0.830078125,
0.32177734375,
0.83837890625,
0.301513671875,
0.83837890625
],
[
0.31201171875,
0.82470703125,
0.79150390625,
0.82470703125,
0.79150390625,
0.8486328125,
0.31201171875,
0.8486328125
],
[
0.193603515625,
0.83349609375,
0.3203125,
0.8359375,
0.3203125,
0.85400390625,
0.193603515625,
0.85107421875
],
[
0.26953125,
0.83056640625,
0.30224609375,
0.83056640625,
0.30224609375,
0.83837890625,
0.26953125,
0.83837890625
],
[
0.1748046875,
0.86572265625,
0.82177734375,
0.8662109375,
0.82177734375,
0.880859375,
0.1748046875,
0.8798828125
],
[
0.1748046875,
0.880859375,
0.82177734375,
0.880859375,
0.82177734375,
0.89453125,
0.1748046875,
0.89453125
],
[
0.1748046875,
0.89599609375,
0.8203125,
0.89599609375,
0.8203125,
0.9091796875,
0.1748046875,
0.9091796875
],
[
0.176513671875,
0.9111328125,
0.583984375,
0.9111328125,
0.583984375,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.491943359375,
0.94775390625,
0.50732421875,
0.94775390625,
0.50732421875,
0.9619140625,
0.491943359375,
0.9619140625
]
] |
[
"Published as a conference paper at ICLR 2020",
"β-VAE的潜在表示形式中的相变,以改变β。Strouse&Schwab(2017b)利用确定性信息",
"瓶颈(DIB)E(Strouse&Schwab,2017a)中相变的扭结角来确定几何聚类的最佳聚类数",
"Tegmark&Wu(2019)使用具有非凸帕累托最优边界的离散信息瓶颈明确考虑了二进制分类",
"任务中的临界点。在Achille&Soatto(2018a)中,作者观察到I(0;X,Y)与。InfoDropout中",
"的H(YX,0)。在IB设置下,Chechiketal.(2005)研究高斯信息瓶颈,并解析求解临界值",
"B=,其中入,是矩阵1的特征值,是协方差矩阵。这项工作为IB提供了",
"有价值的见解,但仅限于X,Y和Z共同为高斯的特殊情况。还观察到了一般IB设置中",
"的相变,Tishby(2018)将其描述为“信息分叉”。在Wuetal.(2019)中,作者研究了第一个",
"相变,即。e。可学习性阶段转换,并提供有关可学习性如何取决于数据集的见解。我们的",
"工作是在最一般的环境中解决所有IB相变的第一项工作,并提供了关于IB目标,其相变",
"数据集和学习表示之间相互作用的理论见解",
"3",
"FORMULAFORIBPHASETRANSITIONS",
"3.1DEFINITIONS",
"令XEX,YEV,ZEZ是分别表示输人,目标和表示的随机变量,具有联合概率分布",
"p(X,Y,Z),并支持×V×z。X,Y和Z满足马尔可夫链Z-X-Y,i。e。给定X",
"Y和Z是条件独立的。我们假设积分(或求和,如果X,Y或Z是离散随机变量)在",
"x×y×z上。我们使用a,y和来表示各个随机变量的实例。上述设置在整个纸张中使",
"用。我们可以将IB目标IBβ[p(zα))(方程1)视为编码分布p()的函数。为了准备引人",
"IB相变,我们首先定义相对扰动函数和第二个变体,如下所示",
"Definition 1. Relative perturbation function: For p(zα) , its relative perturbation function r(zr)",
"is a bounded function that maps X × Z to R and satisfies Ez~p(zr)[r(z)] = O. Formally, define",
"Qz]x := (r(z|r) : X × Z -→ R Ez~p(z)[r(zr)] = 0,andEM > 0s.t. VX E X,Z E",
"Z, r(zr)/ ≤ M) . We have that r(zr) E Qzjx iff r(zr) is a relative perturbation function of",
"p(z) . The perturbed probability (density) is p'(zα) = p(zr) (1 + e . r(z)) for some e > 0 .",
"Definition 2. Second variation: Let functional F[f()l be defined on s",
"ormed linearspaceR",
"Let us add a perturbative function e- h(r) to f(r), and now the functional F[f(r) +e. h()) car",
"beexpandedas",
"△F[f()] =F[f() +.h()] -F[f(r))",
"= i[eh(α)] + 2[e h(r)] +Pr[e .h(c)] lle. h()]",
"such that lim pr[e - h(r)] = O , wherelI-l denotes the norm, pi[e . h(r)] = edF[f()l is a linear",
"functional of e - h(r) , and is called the first variation , denoted as SF[f(r)] . p2[e . h(a)] =",
"isaquadratic finctionalofh(a)and iscalled theseond variationdenoteda",
"8?F[f(α)] .",
"我们可以将扰动函数e·h(α)视为无限维的“向量”(a是索引),其中e是其幅度,h(α)是其",
"方向。通过上述准备工作,我们将IB相变定义为IBβ[p(2a)]全局最小值上局部曲率的变化",
"Definition 3. IB phase transitions: Let r(z) E Qzx be a perturbation function of p(zr)",
"p(zr) denote the optimal solution of IBg[p(zα) at β , where the IB functional IB[] is defined in",
"equation (1 ). The IB phase transitions B are theβ values satisfying the following two conditions:",
"(1) Vr(z2/a) E Qz|x, 821Bplp(2/)pa(2/1) ≥ 0; ",
"(2)lim",
"",
"°1Bp [p(2/a) pa(a/a) = 0-. Here β+ and 0- denote one-sided limis.",
"B/-β+r(2/r)EQz]x",
"inf",
"我们可以将2IBlp(z)】理解为IB物镜IB(方程1)w的局部“曲率”。。t。P(α)",
"沿着一些相对扰动r(z)。当IBβ[p(zc))w的凸度时发生相变。r。t。随着β从β增加到",
"β。+0+,p(za)在其最优解p=(zc)附近从最小值变为鞍点。这意味着存在下坡并找到更",
"好的最小值的扰动。我们在下面通过经验验证了这个定义",
"3"
] |
{
"arxiv_id": "2001.01878",
"language": "zh",
"page_idx": 2
}
|
||
2001.01878-zh-3
|
2001.01878-zh-3.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2020}}$
3.2 CONDITION FOR IB PHASE TRANSITIONS
IB 相变的定义(定义3)表明$\delta^2\mathbf{IB}_\beta[p(z|x)]$在为相变提供条件方面对最佳解决方案的重要作用。为了将其具体化并为 IB 相变准备更实际的条件,我们将 IB$_\beta[p(z|x)(1+\epsilon\cdot r(z|x))]$扩展为$\epsilon$的二阶,给出;
$\textbf{Lemma 0. 1. For IB}_{\beta }[ p( z| x) ] , the$ condition $of$ $\forall r( z| x) \in \mathcal{Q} _{Z| \mathcal{X} }$ , $\delta ^{2}\mathbf{IB}_{\beta }[ p( z| x) ] \geq 0$ $is$ equivalent
$to$ $\beta \leq G[ p( z| x) ]$ . The threshold function $G[ p( z| x) ]$ $is$ given $by:$ mathfonts
$G[p(z|x)]:=\inf_{r(z|x)\in Q_{z|X}}\mathcal{G}[r(z|x);p(z|x)]$
$$\mathcal{G}[r(z|x);p(z|x)]:=\frac{\mathbb{E}_{x,z\sim p(x,z)}[r^2(z|x)]-\mathbb{E}_{z\sim p(z)}\left[\left(\mathbb{E}_{x\sim p(x|z)}[r(z|x)]\right)^2\right]}{\mathbb{E}_{y,z\sim p(y,z)}\left[\left(\mathbb{E}_{x\sim p(x|y,z)}[r(z|x)]\right)^2\right]-\mathbb{E}_{z\sim p(z)}\left[\left(\mathbb{E}_{x\sim p(x|z)}[r(z|x)]\right)^2\right]}\text{(2)}$$
证明在附录 B 中给出,其中我们还给出了用于经验估计的等式 (20)。请注意,引理 0.1 是
非常通用的,可以应用于任何$p( z| x)$ ,不仅在最优解$p_\beta^*(z|x)$
The Fisher Information matrix. 在实践中,编码器$p_{\boldsymbol{\theta}}(z|x)$通常由一些参数向量$\theta=$ $( \theta _1, \theta _2, . . . \theta _k) ^T\in \Theta$ , e 进行参数化。g。神经网络中的权重和偏差,其中$\Theta$ 是参数字段。$\boldsymbol{\theta}^{\prime}\leftarrow\boldsymbol{\theta}+\Delta\boldsymbol{\theta}$的无穷小变化会在$p_\boldsymbol{\theta}(z|x)$上引起相对扰动$\epsilon\cdot r(z|x)\simeq\Delta\boldsymbol{\theta}^T\frac\partial\mathrm{log}p_{\boldsymbol{\theta}}(z|x){\partial\boldsymbol{\theta}}$,由此我们可以计算阈值函数$G_\Theta[p_{\boldsymbol{\theta}}(z|x)]:$
$\textbf{Lemma 0. 2. For IB}_{\beta }[ p_{{\boldsymbol{\theta }}}( z| x) ] \textit{ objective, the condition of }\forall \Delta \boldsymbol{\theta }\in \Theta , \delta ^{2}\mathbf{IB}_{\beta }[ p_{{\boldsymbol{\theta }}}( z| x) ] \geq 0$ $is$
equivalent $to$ $\beta \leq G_{\Theta }^{\prime }[ \tilde{p_{\theta }} ( z| x) ]$ , where
(3)
$$G_\Theta[p_\boldsymbol{\theta}(z|x)]:=\inf_\Delta\boldsymbol{\theta}\in\Theta\frac{\Delta\boldsymbol{\theta}^T\left(\mathcal{I}_{Z|X}(\boldsymbol{\theta})-\mathcal{I}_Z(\boldsymbol{\theta})\right)\Delta\boldsymbol{\theta}}{\Delta\boldsymbol{\theta}^T\left(\mathcal{I}_Z|Y(\boldsymbol{\theta})-\mathcal{I}_Z(\boldsymbol{\theta})\right)\Delta\boldsymbol{\theta}}=\lambda_max^{-1}$$
where $\mathcal{I} _Z( \boldsymbol{\theta }) : =$ $\int dzp_{\boldsymbol{\theta }}( z) \left ( \frac {\partial \mathrm{log}p_{\boldsymbol{\theta }}( z) }{\partial \boldsymbol{\theta }}\right ) \left ( \frac {\partial \mathrm{log}p_{\boldsymbol{\theta }}( z) }{\partial \boldsymbol{\theta }}\right ) ^Tis$ the Fisher information matrix $of$
$\boldsymbol{\theta }$ for $Z$ , $\mathcal{I} _{Z| X}( \boldsymbol{\theta })$ := $\int dxdzp( x) p_{\boldsymbol{\theta }}( z| x) \left ( \frac {\partial \mathrm{log}p_{\boldsymbol{\theta }}( z| x) }{\partial \boldsymbol{\theta }}\right ) \left ( \frac {\partial \mathrm{log}p_{\boldsymbol{\theta }}( z| x) }{\partial \boldsymbol{\theta }}\right ) ^{I}$ , $\mathcal{I} _{Z| Y}( \boldsymbol{\theta })$ :=
$\int dydzp( y) p_{{\boldsymbol{\theta }}}( z| y) \left ( \frac {\partial \mathrm{log}p_{{\boldsymbol{\theta }}}( z| y) }{\partial \mathbf{\theta } }\right ) \left ( \frac {\partial \mathrm{log}p_{{\boldsymbol{\theta }}}( z| y) }{\partial \mathbf{\theta } }\right ) ^{T}are$ the conditional Fisher information matrix (Zegers, 2015) of $\theta$ for $Z$ conditioned on $X^\prime andY,respectively.\lambda_{m}ax$ is the largest eigenvalue $of\bar{C} ^{- 1}\left ( \mathcal{I} _{Z| Y}( \dot{\boldsymbol{\theta }} ) - \mathcal{I} _{Z}( \boldsymbol{\theta }) \right ) ( C^{T}) ^{- 1}with$ $v_{m}ax$ the corresponding $eigenvector, where$ $C\bar{C} ^{T}$ $is$ the Cholesky decomposition of the matrix $\mathcal{I} _Z| X( \boldsymbol{\theta }) - \mathcal{I} _Z( \boldsymbol{\theta }) , and$ $v_max$ $is$ the eigenvector for $\lambda _max$ . The infmum is attained at $\Delta \boldsymbol{\theta }= ( C^T) ^{- 1}v_max$ .
证明在附录C中。我们看到,对于参数化编码器$p_{\boldsymbol{\theta}}(z|x)$,方程(2)中的$G[p(z|x)]$的每一项都可以用双线性形式替换为相应变量的 Fisher 信息矩阵。虽然不需要这个引理来理解引理 0.1 的更一般的设置,其中模型是在函数空间中描述的,但引理 0.2 有助于理解参数化模型的$G[p(z|x)]$ ,它允许将相变直接链接到模型的参数
Phase Transitions. 现在我们介绍定理 1 ,它给出了 IB 相变的具体而实用的条件,这是本
文的核心结果:
Theorem $1. \textit{The IB phase transition points }\{ \beta _{i}^{c}\} \textit{as defined in Definition 3 are given by the roots offis antion s antion s antion s antion s antion s antion s antion s an tion s an tion s an tion s an tion s an tion s an tion s an tion s an tion}$
the following equation:
$G[p_\beta^*(z|x)]=\beta$
(4)
where $G[ p( z| x) ]$ $is$ given $by$ equation (2) and $p_{\beta }^{* }( z| x)$ $is$ the optimal solution $of$ $IB_{\beta }[ p( z| x) ]$ $at$ $\beta$ . 我们可以将方程(4)理解为当$\delta^2\mathbf{IB}_\beta[p(z|x)]$即将能够在给定$\beta$的最优解$p_\beta^*(z|x)$处为负时的条件。定理 1 的证明见附录 D 。在 4 节中,我们将详细分析定理 1
4 UNDERSTANDING THE FORMULA FOR IB PHASE TRANSITIONS
在本节中,我们从 Jensen 不等式和代表性最大相关性的角度出发,了解由等式(2)给出的
$G[p(z|x)]$和由定理 1 给出的相变条件
4
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.1732177734375,
0.10479736328125,
0.5,
0.10479736328125,
0.5,
0.11871337890625,
0.1732177734375,
0.11871337890625
],
[
0.176513671875,
0.1307373046875,
0.82177734375,
0.1307373046875,
0.82177734375,
0.14453125,
0.176513671875,
0.14453125
],
[
0.176513671875,
0.1458740234375,
0.8203125,
0.1458740234375,
0.8203125,
0.1590576171875,
0.176513671875,
0.1590576171875
],
[
0.1748046875,
0.1590576171875,
0.330810546875,
0.1578369140625,
0.330810546875,
0.17236328125,
0.1748046875,
0.173583984375
],
[
0.1748046875,
0.175537109375,
0.82275390625,
0.175537109375,
0.82275390625,
0.1900634765625,
0.1748046875,
0.1900634765625
],
[
0.1732177734375,
0.1900634765625,
0.67236328125,
0.1912841796875,
0.67236328125,
0.205810546875,
0.1732177734375,
0.2052001953125
],
[
0.2344970703125,
0.2108154296875,
0.326904296875,
0.2108154296875,
0.326904296875,
0.222900390625,
0.2344970703125,
0.222900390625
],
[
0.340576171875,
0.2083740234375,
0.515625,
0.210205078125,
0.515625,
0.2247314453125,
0.340576171875,
0.222900390625
],
[
0.3203125,
0.2183837890625,
0.40185546875,
0.222900390625,
0.400390625,
0.236083984375,
0.318603515625,
0.231689453125
],
[
0.373291015625,
0.240478515625,
0.736328125,
0.238037109375,
0.736328125,
0.2587890625,
0.373291015625,
0.261474609375
],
[
0.8037109375,
0.242431640625,
0.82421875,
0.242431640625,
0.82421875,
0.2568359375,
0.8037109375,
0.2568359375
],
[
0.1846923828125,
0.255615234375,
0.316162109375,
0.255615234375,
0.316162109375,
0.270751953125,
0.1846923828125,
0.270751953125
],
[
0.32275390625,
0.266357421875,
0.41015625,
0.26953125,
0.408447265625,
0.287353515625,
0.32177734375,
0.2841796875
],
[
0.406005859375,
0.268310546875,
0.78759765625,
0.268310546875,
0.78759765625,
0.285888671875,
0.406005859375,
0.285888671875
],
[
0.176513671875,
0.300537109375,
0.82177734375,
0.300537109375,
0.82177734375,
0.314453125,
0.176513671875,
0.314453125
],
[
0.1732177734375,
0.314453125,
0.60888671875,
0.314453125,
0.60888671875,
0.32763671875,
0.1732177734375,
0.32763671875
],
[
0.181396484375,
0.34521484375,
0.81787109375,
0.34521484375,
0.81787109375,
0.35986328125,
0.181396484375,
0.35986328125
],
[
0.1732177734375,
0.359130859375,
0.8203125,
0.359130859375,
0.8203125,
0.37255859375,
0.1732177734375,
0.37255859375
],
[
0.1707763671875,
0.37255859375,
0.82861328125,
0.37060546875,
0.82861328125,
0.391357421875,
0.1707763671875,
0.393310546875
],
[
0.1748046875,
0.391357421875,
0.43701171875,
0.392578125,
0.43701171875,
0.4072265625,
0.1748046875,
0.406005859375
],
[
0.73046875,
0.386474609375,
0.73876953125,
0.386474609375,
0.73876953125,
0.389404296875,
0.73046875,
0.389404296875
],
[
0.1732177734375,
0.4091796875,
0.82421875,
0.410400390625,
0.82421875,
0.4248046875,
0.1732177734375,
0.423583984375
],
[
0.1748046875,
0.4248046875,
0.4306640625,
0.4248046875,
0.4306640625,
0.438232421875,
0.1748046875,
0.438232421875
],
[
0.465576171875,
0.455810546875,
0.66015625,
0.455810546875,
0.66015625,
0.47021484375,
0.465576171875,
0.47021484375
],
[
0.236083984375,
0.46533203125,
0.45751953125,
0.464111328125,
0.45751953125,
0.479248046875,
0.236083984375,
0.479736328125
],
[
0.6708984375,
0.46728515625,
0.7646484375,
0.462158203125,
0.765625,
0.477783203125,
0.67236328125,
0.48291015625
],
[
0.80224609375,
0.466552734375,
0.82421875,
0.466552734375,
0.82421875,
0.479736328125,
0.80224609375,
0.479736328125
],
[
0.426513671875,
0.49560546875,
0.5400390625,
0.494384765625,
0.5400390625,
0.505859375,
0.426513671875,
0.5068359375
],
[
0.44677734375,
0.47021484375,
0.67333984375,
0.4716796875,
0.67333984375,
0.4892578125,
0.44677734375,
0.488037109375
],
[
0.1748046875,
0.498779296875,
0.390625,
0.498779296875,
0.390625,
0.51318359375,
0.1748046875,
0.51318359375
],
[
0.400390625,
0.5,
0.414306640625,
0.5,
0.414306640625,
0.50390625,
0.400390625,
0.50390625
],
[
0.414306640625,
0.5,
0.4248046875,
0.5,
0.4248046875,
0.50390625,
0.414306640625,
0.50390625
],
[
0.560546875,
0.49755859375,
0.826171875,
0.498779296875,
0.826171875,
0.51318359375,
0.560546875,
0.51220703125
],
[
0.42236328125,
0.50830078125,
0.431396484375,
0.50830078125,
0.431396484375,
0.51220703125,
0.42236328125,
0.51220703125
],
[
0.1748046875,
0.52587890625,
0.52685546875,
0.52587890625,
0.52685546875,
0.54052734375,
0.1748046875,
0.54052734375
],
[
0.52294921875,
0.5234375,
0.6005859375,
0.5234375,
0.6005859375,
0.5341796875,
0.52294921875,
0.5341796875
],
[
0.61669921875,
0.52587890625,
0.64794921875,
0.52587890625,
0.64794921875,
0.53271484375,
0.61669921875,
0.53271484375
],
[
0.64794921875,
0.5263671875,
0.6748046875,
0.5263671875,
0.6748046875,
0.53076171875,
0.64794921875,
0.53076171875
],
[
0.7138671875,
0.52587890625,
0.7900390625,
0.52587890625,
0.7900390625,
0.54052734375,
0.7138671875,
0.54052734375
],
[
0.79736328125,
0.53076171875,
0.8037109375,
0.53076171875,
0.8037109375,
0.5361328125,
0.79736328125,
0.5361328125
],
[
0.80810546875,
0.5322265625,
0.81787109375,
0.5322265625,
0.81787109375,
0.5361328125,
0.80810546875,
0.5361328125
],
[
0.1748046875,
0.55029296875,
0.4794921875,
0.54443359375,
0.4794921875,
0.56298828125,
0.1748046875,
0.5693359375
],
[
0.48193359375,
0.55029296875,
0.82275390625,
0.5517578125,
0.82275390625,
0.56640625,
0.48193359375,
0.56494140625
],
[
0.1748046875,
0.5693359375,
0.82177734375,
0.57080078125,
0.82177734375,
0.58544921875,
0.1748046875,
0.583984375
],
[
0.1748046875,
0.58349609375,
0.82275390625,
0.583984375,
0.82275390625,
0.5986328125,
0.1748046875,
0.59765625
],
[
0.1748046875,
0.5986328125,
0.8203125,
0.599609375,
0.8203125,
0.6142578125,
0.1748046875,
0.61279296875
],
[
0.1748046875,
0.6162109375,
0.486083984375,
0.6162109375,
0.486083984375,
0.6298828125,
0.1748046875,
0.6298828125
],
[
0.17724609375,
0.6416015625,
0.8095703125,
0.6416015625,
0.8095703125,
0.65478515625,
0.17724609375,
0.65478515625
],
[
0.176513671875,
0.65478515625,
0.82177734375,
0.65478515625,
0.82177734375,
0.66845703125,
0.176513671875,
0.66845703125
],
[
0.1748046875,
0.66845703125,
0.82275390625,
0.66845703125,
0.82275390625,
0.681640625,
0.1748046875,
0.681640625
],
[
0.1748046875,
0.68310546875,
0.560546875,
0.68310546875,
0.560546875,
0.6962890625,
0.1748046875,
0.6962890625
],
[
0.178955078125,
0.7119140625,
0.82275390625,
0.7119140625,
0.82275390625,
0.72607421875,
0.178955078125,
0.72607421875
],
[
0.17724609375,
0.72802734375,
0.279296875,
0.72802734375,
0.279296875,
0.73779296875,
0.17724609375,
0.73779296875
],
[
0.1748046875,
0.7412109375,
0.82421875,
0.7421875,
0.82421875,
0.7568359375,
0.1748046875,
0.755859375
],
[
0.1732177734375,
0.755859375,
0.326904296875,
0.7568359375,
0.326904296875,
0.771484375,
0.1732177734375,
0.77099609375
],
[
0.4453125,
0.77099609375,
0.5556640625,
0.77099609375,
0.5556640625,
0.78515625,
0.4453125,
0.78515625
],
[
0.8037109375,
0.77099609375,
0.82421875,
0.77099609375,
0.82421875,
0.7841796875,
0.8037109375,
0.7841796875
],
[
0.176513671875,
0.78857421875,
0.81884765625,
0.78857421875,
0.81884765625,
0.80322265625,
0.176513671875,
0.80322265625
],
[
0.1748046875,
0.814453125,
0.82275390625,
0.81494140625,
0.82275390625,
0.830078125,
0.1748046875,
0.8291015625
],
[
0.1748046875,
0.83349609375,
0.6640625,
0.83349609375,
0.6640625,
0.8466796875,
0.1748046875,
0.8466796875
],
[
0.17236328125,
0.8662109375,
0.72607421875,
0.8671875,
0.72607421875,
0.8818359375,
0.17236328125,
0.880859375
],
[
0.1748046875,
0.89599609375,
0.82177734375,
0.896484375,
0.82177734375,
0.9111328125,
0.1748046875,
0.91015625
],
[
0.1748046875,
0.912109375,
0.441162109375,
0.912109375,
0.441162109375,
0.92529296875,
0.1748046875,
0.92529296875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"Published as a conference paper at ICLR 2020",
"3.2CONDITION FORIB PHASETRANSITIONS",
"IB相变的定义(定义3)表明82IBβ[p(zα)]在为相变提供条件方面对最佳解决方案的重要",
"作用。为了将其具体化并为IB相变准备更实际的条件,我们将IBβ[p(zα)(1+E:r(za)))扩",
"展为e的二阶,给出:",
"Lemma 0.1. For IBg[p(z)], the condition of Vr(zr) E Qz/x , 82IB[p(z|)] ≥ 0 is equivalent",
"to β ≤ G[p(z|)] . The threshold function G[p(z|)] is given by: mathfonts",
"Gp(zr):=",
"infg[r(z); p(z)]",
"T(2)EQZ1X",
"Er,是~p(a,)[r2(z/a)] - Ez~p(2) [(Eα~p(a|2)[r(2]a)])2",
"(2)",
"g[r(z); p(z)] :=",
"Ey,z~p(y,2)",
"(E~p(aly,2)[r(2)])-Ez~p(2) (E~p()[r(2)]) ",
"证明在附录B中给出,其中我们还给出了用于经验估计的等式(20)。请注意,引理0.1是",
"非常通用的,可以应用于任何p(z),不仅在最优解p(c)",
"TheFisherInformationmatrix.在实践中,编码器pe(zc)通常由一些参数向量",
"(01,02,...0k)TE①,e进行参数化。g。神经网络中的权重和偏差,其中①是参数字段",
"+的无穷小变化会在pe(2z)上引起相对扰动e.r(2)~△0ogp(a),由此",
"我们可以计算阈值函数Ge[pe(z)】:",
"",
"Lemma 0.2. For IBg[pe(zα)] objective, the condition of Vo E @, 2iBp[pe(z)] ≥ 0 is",
"equivalent to β≤Ge[pe(zr)] , where",
"0T (IzIx(0) -z(0)) △0",
"G_0[p_0(z)] := inf_△0 -",
"=入_max-1",
"(3)",
"pe(z))(alogpe(z))",
"T((0)-_(0))",
"where Iz(0) := J dzpe(z)",
"",
"30",
"is the Fisher information matrix of",
"",
" for z,Izix(0):=dadzp(α)pe(z) (",
"logpe(2)",
"Ologpe",
"2",
"Iz/y(0)",
"",
"-",
"J dydzp(y)pe(zly) (logpe(2l) (logpe(zlu)",
"+are the conditional Fisher information matrix",
"(Zegers, 2015) of 0 for Z conditioned on X and Y, respectively. Amar is the largest eigenvalue",
"of C-1 (Iziy(0) - Iz(0)) (CT)-1 with vmar the corresponding eigenvector, where CCT is the",
"Cholesky decomposition of the matrix Lzix (0) -Lz(0), and vmac is the eigenvector for Amaa",
"The infimum is attained at △ =(CT)-1lumar",
"证明在附录C中。我们看到,对于参数化编码器pe(z),方程(2)中的G[p(za))的每",
"项都可以用双线性形式替换为相应变量的Fisher信息矩阵。虽然不需要这个引理来理解引",
"理0.1的更一般的设置,其中模型是在函数空间中描述的,但引理0.2有助于理解参数化模",
"型的G[p(r)1,它允许将相变直接链接到模型的参数",
"PhaseTransitions.现在我们介绍定理1,它给出了IB相变的具体而实用的条件,这是本",
"文的核心结果:",
"Theorem 1. The IB phase transition points (B) as defined in Definition 3 are given by the roots of",
"the following equation.",
"G[p(z)] = β",
"(4)",
"where G[p(zr) is given by equation (2 ) and p(zr) is the optimal solution of IBg[p(zr)) at β .",
"我们可以将方程(4)理解为当2IBβ[p(z))即将能够在给定β的最优解p(z)处为负时",
"的条件。定理1的证明见附录D。在4节中,我们将详细分析定理1",
"4UNDERSTANDINGTHEFORMULAFORIBPHASETRANSITIONS",
"在本节中,我们从Jensen不等式和代表性最大相关性的角度出发,了解由等式(2)给出的",
"G[p(zα)]和由定理1给出的相变条件",
"4"
] |
{
"arxiv_id": "2001.01878",
"language": "zh",
"page_idx": 3
}
|
||
2001.01878-zh-4
|
2001.01878-zh-4.jpg
|
$\underline{\text{Published as a conference paper at ICLR 2020}}$
## 4.1 JENSEN'S INEQUALITY
定理 1 给出的 IB 相变条件涉及$G[ p( z| x) ] = \inf _{r( z| x) \in Q_{z| x}}\mathcal{G} [ r( z| x) ; p( z| x) ]$ ,它本身就是一个优化问题。我们可以使用 Jensen 不等式来理解方程 (2) 中的$G[p(z|x)]=\inf_{r(z|x)\in Q_{Z|x}}\frac{A-C}{B-C}:$
$$\underbrace{\mathbb{E}_{x,z\sim p(x,z)}[r^2(z|x)]}_{-}A\geq\underbrace{\mathbb{E}_{y,z\sim p(y,z)}\left[\left(\mathbb{E}_{x\sim p(x|y,z)}[r(z|x)]\right)^2\right]}_{-}B\geq\underbrace{\mathbb{E}_{z\sim p(z)}\left[\left(\mathbb{E}_{x\sim p(x|z)}[r(z|x)]\right)^2\right]}_{(5)}C$$
当扰动$r(z|x)$为常数 w 时$,A$和$B$之间的相等性成立。r。t。任何$z$的$x$ ;当$\mathbb{E}_x\sim p(x|y,z)[r(z|x)]$ 为常数 w 时,$B$和$C$之间的相等性成立。r。t。适用于任何$z$的$y$ 。因此,$\frac{A-C}{B-C}$的最小化促使相对扰动函数$r(z|x)$为常数 w。r。t。$x$尽可能 (最小化类内差异), 但作为不同的 w。r。$\begin{array}{c}\mathrm{t。尽可能使用不同的~}y&(\text{最大化类间差异}),\text{ 从而根据 }y\text{ 类对不同示例 }x\text{ 的 }r(z|x)\end{array}$值进行聚类。由于分类问题中的这种聚类特性,我们推测最多存在$|\mathcal{Y}|-1$相变,其中$|\mathcal{Y}|$是类的数量,每个相变区分一个或多个类
4.2 REPRESENTATIONAL MAXIMUM CORRELATION
在某些条件下,我们可以进一步简化$G[p(z|x)]$并对其有更深人的了解。首先,受最大相关(Anantharam et al.,2013)的启发,我们引入了两个新概念,代表性最大相关和条件最大相关, 如下
Definition 4. Given a joint distribution $p(X,Y),and$ a representation Z satisfying the Markov
chain $Z- X- Y$ $, the$ representational maximum correlation $\rho _{r}( X, Y; Z)$ $is$ defined $as$
(6)
$$\rho_r(X,Y;Z):=\sup_{(f(x,z),g(y,z))\in\mathcal{S}_1}\mathbb{E}_{x,y,z\sim p(x,y,z)}[f(x,z)g(y,z)]$$
where $\mathcal{S} _{1}= \left \{ ( f: \mathcal{X} \times \mathcal{Z} \to \mathbb{R} , g: \mathcal{Y} \times \mathcal{Z} \to \mathbb{R} ) \mid f, g\textit{ bounded}, and\:\mathbb{E} _{x\sim p( x| z) }[ f( x, z) ] \right . =$
$\mathbb{E} _{y\sim p( y| z) }[ g( y, z) ] = 0$, $\mathbb{E} _{x, z\sim p( x, z) }[ f^{2}( x, z) ] = \mathbb{E} _{y, z\sim p( y, z) }[ g^{2}( y, z) ] = 1\}$ .
The conditional maximum correlation $\rho_m(X,Y|Z)$ is defined as:
(7)
$$\rho_m(X,Y|Z):=\sup_{(f(x),g(y))\in\mathcal{S}_2}\mathbb{E}_{x,y\sim p(x,y|z)}[f(x)g(y)]$$
我们证明了以下定理 2 ,该定理以代表性最大相关性和相关量表示$G[p(z|x)]$ ,并在附录 F
中给出了证明
$where\:\mathcal{S}_{2}=\left\{(f\::\:\mathcal{X}\:\to\:\mathbb{R},g\::\:\mathcal{Y}\:\to\:\mathbb{R})\:\mid f,g\:bounded,\:and\:\forall z\:\in\:\mathcal{Z}\::\:\mathbb{E}_{x\sim p(x|z)}[f(x)]\:=$ $\mathbb{F}$ (-1) $[ a( y) ] - 0$ $\mathbb{F}$ (-1) $[ f^{2}( x) ] - \mathbb{F}$ (-1) $[ a^{2}( y) ] - 1\}$
$\mathbb{E} _{y\sim p( y| z) }[ g( y) ] = 0$ , $\mathbb{E} _{x\sim p( x| z) }[ f^{2}( x) ] = \mathbb{E} _{y\sim p( y| z) }[ g^{2}( y) ] = 1\}$ .
$\textbf{Theorem 2. Define }Q_{z| \mathcal{X} }^{( 0) }: = \left \{ r( z| x) : \mathcal{X} \times \mathcal{Z} \to \mathbb{R} \right | r\textit{bounded}\} . IfQ_{z| \mathcal{X} }^{( 0) }andQ_{Z| \mathcal{X} }$ satisfy: $\forall r( z| x) \in Q_{\mathcal{Z} | \mathcal{X} }^{( 0) }, there$ $exists^{2}r_{1}( z| x) \in Q_{\mathcal{Z} | \mathcal{X} }, s( z) \in \{ s( z) : \mathcal{Z} \to \mathbb{R} | s$ $bounded\} s. t.$ $r(z|x)=r_{1}(z|x)+s(z),thenwehave:$
(i) The representation maximum correlation and G :
(8)
$$G[p(z|x)]=\frac{1}{\rho_r^2(X,Y;Z)}$$
$(ii)$ The representational maximum correlation and conditional maximum correlation:
(9)
$$\rho_r(X,Y;Z)=\sup_{Z\in\mathcal{Z}}[\rho_m(X,Y|Z)]$$
$^2$For discrete $X,Z$ such that the cardinality $|\mathcal{Z}|\geq|\mathcal{X}|$ ,this is generally true since in this scenario, $h(x,z)$ and $s(z)$ have $|\mathcal{X}||\mathcal{Z}|+|\mathcal{Z}|$ unknown variables, but the condition has only $|\mathcal{X}||\mathcal{Z}|+|\mathcal{X}|$ linear equations The difference between $Q_{z|X}$ and $Q_{z|X}^{(0)}$ is that $Q_{z|X}^{(0)}$ does not have the requirement of $\mathbb{E}_{p(z|x)}[r(z|x)]=0.$ Combined with Lemma 2.2 , this condition allows us to replace $r(z|x)\in Q_{Z|X}$ by $r(z|x)\in Q_{Z|\mathcal{X}}^{(0)}$ in equation ( 2 ).
5
|
[
[
0.1748046875,
0.034088134765625,
0.4794921875,
0.034088134765625,
0.4794921875,
0.04736328125,
0.1748046875,
0.04736328125
],
[
0.1732177734375,
0.10418701171875,
0.37744140625,
0.10479736328125,
0.37744140625,
0.11932373046875,
0.1732177734375,
0.11871337890625
],
[
0.176513671875,
0.1319580078125,
0.50732421875,
0.1319580078125,
0.50732421875,
0.1458740234375,
0.176513671875,
0.1458740234375
],
[
0.51123046875,
0.1319580078125,
0.82177734375,
0.1319580078125,
0.82177734375,
0.1458740234375,
0.51123046875,
0.1458740234375
],
[
0.50244140625,
0.143310546875,
0.53173828125,
0.143310546875,
0.53173828125,
0.15087890625,
0.50244140625,
0.15087890625
],
[
0.1748046875,
0.1546630859375,
0.70361328125,
0.1572265625,
0.70361328125,
0.1717529296875,
0.1748046875,
0.169189453125
],
[
0.71826171875,
0.1578369140625,
0.77392578125,
0.1578369140625,
0.77392578125,
0.1685791015625,
0.71826171875,
0.1685791015625
],
[
0.77685546875,
0.1546630859375,
0.826171875,
0.1546630859375,
0.826171875,
0.173583984375,
0.77685546875,
0.173583984375
],
[
0.701171875,
0.1654052734375,
0.77783203125,
0.1685791015625,
0.77685546875,
0.1817626953125,
0.69921875,
0.1787109375
],
[
0.17236328125,
0.1976318359375,
0.86767578125,
0.1976318359375,
0.86767578125,
0.2215576171875,
0.17236328125,
0.2215576171875
],
[
0.80224609375,
0.2291259765625,
0.82421875,
0.2291259765625,
0.82421875,
0.24365234375,
0.80224609375,
0.24365234375
],
[
0.1748046875,
0.2474365234375,
0.82421875,
0.248779296875,
0.82421875,
0.267578125,
0.1748046875,
0.266357421875
],
[
0.17724609375,
0.267578125,
0.82177734375,
0.267578125,
0.82177734375,
0.281005859375,
0.17724609375,
0.281005859375
],
[
0.17724609375,
0.28271484375,
0.8203125,
0.28271484375,
0.8203125,
0.296630859375,
0.17724609375,
0.296630859375
],
[
0.17724609375,
0.296630859375,
0.82177734375,
0.296630859375,
0.82177734375,
0.31005859375,
0.17724609375,
0.31005859375
],
[
0.1748046875,
0.309326171875,
0.82275390625,
0.31005859375,
0.82275390625,
0.324462890625,
0.1748046875,
0.323974609375
],
[
0.1732177734375,
0.323974609375,
0.404296875,
0.323974609375,
0.404296875,
0.337158203125,
0.1732177734375,
0.337158203125
],
[
0.1748046875,
0.35595703125,
0.54736328125,
0.35595703125,
0.54736328125,
0.369384765625,
0.1748046875,
0.369384765625
],
[
0.176513671875,
0.3818359375,
0.82177734375,
0.3818359375,
0.82177734375,
0.395751953125,
0.176513671875,
0.395751953125
],
[
0.176513671875,
0.396484375,
0.82275390625,
0.396484375,
0.82275390625,
0.410400390625,
0.176513671875,
0.410400390625
],
[
0.176513671875,
0.410888671875,
0.2091064453125,
0.410888671875,
0.2091064453125,
0.423583984375,
0.176513671875,
0.423583984375
],
[
0.1732177734375,
0.4267578125,
0.82421875,
0.427978515625,
0.82421875,
0.442626953125,
0.1732177734375,
0.44140625
],
[
0.1748046875,
0.442626953125,
0.75634765625,
0.442626953125,
0.75634765625,
0.455810546875,
0.1748046875,
0.455810546875
],
[
0.28759765625,
0.46337890625,
0.396240234375,
0.460205078125,
0.396240234375,
0.47607421875,
0.28759765625,
0.479248046875
],
[
0.50244140625,
0.460205078125,
0.7099609375,
0.462158203125,
0.7099609375,
0.484130859375,
0.50244140625,
0.481689453125
],
[
0.80224609375,
0.46337890625,
0.826171875,
0.46337890625,
0.826171875,
0.477783203125,
0.80224609375,
0.477783203125
],
[
0.396240234375,
0.4765625,
0.5107421875,
0.4765625,
0.5107421875,
0.490478515625,
0.396240234375,
0.490478515625
],
[
0.439453125,
0.46533203125,
0.468017578125,
0.46533203125,
0.468017578125,
0.4765625,
0.439453125,
0.4765625
],
[
0.1732177734375,
0.494384765625,
0.82421875,
0.496826171875,
0.82421875,
0.5146484375,
0.1732177734375,
0.51220703125
],
[
0.1732177734375,
0.51318359375,
0.67626953125,
0.51318359375,
0.67626953125,
0.53076171875,
0.1732177734375,
0.53076171875
],
[
0.1748046875,
0.537109375,
0.5986328125,
0.537109375,
0.5986328125,
0.55029296875,
0.1748046875,
0.55029296875
],
[
0.455078125,
0.55810546875,
0.6806640625,
0.55810546875,
0.6806640625,
0.57568359375,
0.455078125,
0.57568359375
],
[
0.80126953125,
0.556640625,
0.82666015625,
0.556640625,
0.82666015625,
0.57470703125,
0.80126953125,
0.57470703125
],
[
0.4306640625,
0.57275390625,
0.52294921875,
0.57275390625,
0.52294921875,
0.583984375,
0.4306640625,
0.583984375
],
[
0.31787109375,
0.5595703125,
0.43701171875,
0.556640625,
0.43701171875,
0.5712890625,
0.31787109375,
0.57373046875
],
[
0.1732177734375,
0.5888671875,
0.82275390625,
0.59130859375,
0.82275390625,
0.609375,
0.1732177734375,
0.60693359375
],
[
0.17236328125,
0.60693359375,
0.60888671875,
0.60693359375,
0.60888671875,
0.625,
0.17236328125,
0.625
],
[
0.176513671875,
0.63623046875,
0.82275390625,
0.63623046875,
0.82275390625,
0.6494140625,
0.176513671875,
0.6494140625
],
[
0.178955078125,
0.6513671875,
0.27294921875,
0.6513671875,
0.27294921875,
0.66357421875,
0.178955078125,
0.66357421875
],
[
0.17236328125,
0.66748046875,
0.82421875,
0.66748046875,
0.82421875,
0.69140625,
0.17236328125,
0.69140625
],
[
0.1748046875,
0.68994140625,
0.82275390625,
0.68994140625,
0.82275390625,
0.70849609375,
0.1748046875,
0.70849609375
],
[
0.1748046875,
0.708984375,
0.441162109375,
0.708984375,
0.441162109375,
0.7236328125,
0.1748046875,
0.7236328125
],
[
0.2099609375,
0.736328125,
0.5556640625,
0.73486328125,
0.5556640625,
0.75,
0.2099609375,
0.75048828125
],
[
0.5703125,
0.75390625,
0.58251953125,
0.76318359375,
0.57177734375,
0.771484375,
0.5595703125,
0.76220703125
],
[
0.439453125,
0.76220703125,
0.525390625,
0.7646484375,
0.525390625,
0.7822265625,
0.439453125,
0.77978515625
],
[
0.80224609375,
0.7646484375,
0.826171875,
0.7646484375,
0.826171875,
0.77880859375,
0.80224609375,
0.77880859375
],
[
0.5146484375,
0.77099609375,
0.615234375,
0.77294921875,
0.615234375,
0.79052734375,
0.5146484375,
0.78857421875
],
[
0.2059326171875,
0.8017578125,
0.76708984375,
0.8017578125,
0.76708984375,
0.81494140625,
0.2059326171875,
0.81494140625
],
[
0.41259765625,
0.82373046875,
0.640625,
0.82373046875,
0.640625,
0.83837890625,
0.41259765625,
0.83837890625
],
[
0.80224609375,
0.82373046875,
0.82421875,
0.82373046875,
0.82421875,
0.83837890625,
0.80224609375,
0.83837890625
],
[
0.51953125,
0.83837890625,
0.54345703125,
0.83837890625,
0.54345703125,
0.84521484375,
0.51953125,
0.84521484375
],
[
0.19287109375,
0.84765625,
0.82421875,
0.849609375,
0.82421875,
0.8642578125,
0.19287109375,
0.8623046875
],
[
0.176513671875,
0.86279296875,
0.82177734375,
0.86279296875,
0.82177734375,
0.87744140625,
0.176513671875,
0.87744140625
],
[
0.176513671875,
0.87890625,
0.82177734375,
0.87890625,
0.82177734375,
0.89306640625,
0.176513671875,
0.89306640625
],
[
0.1732177734375,
0.89599609375,
0.82275390625,
0.896484375,
0.82275390625,
0.9111328125,
0.1732177734375,
0.91015625
],
[
0.1748046875,
0.91357421875,
0.2034912109375,
0.91357421875,
0.2034912109375,
0.9248046875,
0.1748046875,
0.9248046875
],
[
0.494384765625,
0.94873046875,
0.50634765625,
0.94873046875,
0.50634765625,
0.9619140625,
0.494384765625,
0.9619140625
]
] |
[
"Published as a conference paper at ICLR 2020",
"4.1JENSEN'S INEQUALITY",
"定理1给出的IB相变条件涉及G[p(z))=",
",infG[r();p(z)],它本身就是一个",
"(zl)",
"优化问题。我们可以使用Jensen不等式来理解方程(2)中的G[p(2c)]=",
"inf",
"A-% :",
"r(2|)EQz|X",
"Ea,2~p(a,e)[2(2/)]_-A ≥ Ey,2~p(u.2) [(Ex~p(al9,2)[r(2/a)] _B ≥ Ea~p(2) [(Er~p(a[a)[r(2/2)] -",
"(5)",
"当扰动r(za)为常数w时,A和B之间的相等性成立。r。t。任何≥的a;当E~p(aly,)[r(zr)]",
"为常数w时,B和C之间的相等性成立。I。t。适用于任何z的y。因此,-℃的最小化",
"促使相对扰动函数r(zc)为常数w。r。t。a尽可能(最小化类内差异),但作为不同的W。r",
"t。尽可能使用不同的y(最大化类间差异),从而根据y类对不同示例的r(z)值进行聚",
"类。由于分类问题中的这种聚类特性,我们推测最多存在-1相变,其中是类的数",
"量,每个相变区分一个或多个类",
"4.2REPRESENTATIONALMAXIMUMCORRELATION",
"在某些条件下,我们可以进一步简化G[p(zc)]并对其有更深入的了解。首先,受最大相关",
"(Anantharametal.,2013)的启发,我们引人了两个新概念,代表性最大相关和条件最大相关,",
"如下",
"Definition 4. Given a joint distribution p(X, Y) , and a representation Z satisfying the Markov",
"chain Z - X -Y , the representational maximum correlation p-(X,Y; Z) is defined as",
"pr(X,Y;Z) :=",
"Ea,y.2~p(r,y,)[f(r,2)g(y, 2)]",
"(6)",
"(f(r,2),g(y,2)eS1",
"sup",
"where Si = [(f : X × z → R,g : × Z → R) [ f,g bounded,and Er~p(/z)[f(a,z)] =",
"Ey~p(y/2)[g(y, 2)] = 0, Er,z~p(r,2)[f2(, 2)] = Ey,2~p(y,2)[g2(y, 2)] = 1] .",
"The conditional maximum correlation pm (X, YZ) is defined as:",
"supaEr,y~p(r,ulz)[f(a)g(y)",
"(7)",
"(f(r).g(y))ES2",
"pm(X,YIZ) :=",
"where S2 = ((f : X → R,g : → R)f,g bounded, andVz E Z : Er~p(rlz)[f(a)] =",
"Ey~p(g|z)[g(y)] = 0, Er~p(r[2)[f2(a)] = Ey~p(g]2)[g2(y)] = 1] .",
"我们证明了以下定理2,该定理以代表性最大相关性和相关量表示G[p(za)],并在附录F",
"中给出了证明",
"Theorem 2. Define Q2)x := (r(2a) : X × 2 - R|r bounded] . If Q2)x and Qz]x satisfy:",
"Vr(zla) E Q2)x , there exists 2 ri(2la) E Qzix , s(z) E [s(z) : Z → R|s bounded) s.t.",
"r(zc) = ri(zc) + s(z), then we have:",
"(i)The representation maximum correlation and G :",
"1",
"G[p(za)] =",
"(8)",
"p2(X,Y;z)",
"(i) The representational maximum correlation and conditional maximum correlation.",
"pr(X,Y;Z) = sup[pm(X,Y|Z)",
"(9)",
"ZE2",
"2For discrete X,Z such that the cardinality Z≥], this is generally true since in this scenario, h(α,z)",
"and s(z) have [X]|z] + [2| unknown variables, but the condition has only [X]|Z] + /X linear equations.",
"The difference between Qz|x and Qzix is that Qzix does not have the requirement of Ep(=|r)[r(z|α)] = 0",
"Combined with Lemma 2.2, this condition allows us to replace r(z) E Qz/x by r(z) E Q) in equation",
"(2).",
"5"
] |
{
"arxiv_id": "2001.01878",
"language": "zh",
"page_idx": 4
}
|
||
2001.06206-zh-4
|
2001.06206-zh-4.jpg
|
<table>
<tbody>
<tr>
<td> </td>
<td>BLEU- 1</td>
<td>BLEU- 2</td>
<td>BLEU-3</td>
<td>BLEU- 4</td>
<td>METEOR</td>
<td>$\operatorname{ROUGE-L}$</td>
<td>$\overline{\mathrm{CIDEr}}$</td>
</tr>
<tr>
<td>Baseline (Hori et al. 2018)</td>
<td>0.621</td>
<td>0.480</td>
<td>0.379</td>
<td>0.305</td>
<td>0.217</td>
<td>0.481</td>
<td>0.733</td>
</tr>
<tr>
<td> </td>
<td>$\overline{\mathrm{singl}}$</td>
<td>reasoning $e$</td>
<td>step $\eta_{i}$ =</td>
<td>$\overline{1}$</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>JMAN $\overline{{\mathrm{V}(\mathrm{DH})}}$</td>
<td>0.623</td>
<td>0.478</td>
<td>0.374</td>
<td>0.295</td>
<td>0.220</td>
<td>0.492</td>
<td>0.775</td>
</tr>
<tr>
<td>JMAN (DH, [, C)</td>
<td>0.632</td>
<td>0.486</td>
<td>0.381</td>
<td>0.303</td>
<td>0.238</td>
<td>0.518</td>
<td>0.896</td>
</tr>
<tr>
<td>JMAN (DH, S)</td>
<td>0.628</td>
<td>0.483</td>
<td>0.378</td>
<td>0.302</td>
<td>0.238</td>
<td>0.518</td>
<td>0.889</td>
</tr>
<tr>
<td>JMAN (DH, rgb)</td>
<td>0.636</td>
<td>0.484</td>
<td>0.390</td>
<td>0.312</td>
<td>0.234</td>
<td>0.517</td>
<td>0.882</td>
</tr>
<tr>
<td>JMAN (DH, flow</td>
<td>0.641</td>
<td>0.493</td>
<td>0.392</td>
<td>0.306</td>
<td>0.233</td>
<td>0.520</td>
<td>0.895</td>
</tr>
<tr>
<td>JMAN (DH, aud)</td>
<td>0.626</td>
<td>0.479</td>
<td>0.372</td>
<td>0.294</td>
<td>0.230</td>
<td>0.511</td>
<td>0.845</td>
</tr>
<tr>
<td>JMAN $\overline{{(\mathrm{DH,~C,~S})}}$ </td>
<td>0.644</td>
<td>0.488</td>
<td>0.383</td>
<td>0.302</td>
<td>0.238</td>
<td>0.518</td>
<td>0.891</td>
</tr>
<tr>
<td>JMAN (DH, rgb, flow</td>
<td>0.648</td>
<td>0.499</td>
<td>0.390</td>
<td>0.309</td>
<td>0.240</td>
<td>0.520</td>
<td>0.890</td>
</tr>
<tr>
<td>JMAN (DH, C, S, rgb, fow)</td>
<td>0.657</td>
<td>0.510</td>
<td>0.400</td>
<td>0.318</td>
<td>0.238</td>
<td>0.527</td>
<td>0.911</td>
</tr>
<tr>
<td>JMAN (DH, C, S, rgb, flow, aud)</td>
<td>0.641</td>
<td>0.496</td>
<td>0.390</td>
<td>0.312</td>
<td>0.234</td>
<td>0.516</td>
<td>0.882</td>
</tr>
<tr>
<td> </td>
<td>$\Upsilon\Upsilon.$</td>
<td>$\operatorname{lultiple}$ reas</td>
<td>soning step</td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>JMAN (DH. ( $\mathop{\mathrm{flow.~}}n=2$ C. S. rgb</td>
<td>0.658</td>
<td>0.513</td>
<td>0.406</td>
<td>0.325</td>
<td>0.239</td>
<td>0.523</td>
<td>0.917</td>
</tr>
<tr>
<td>JMAN (DH, C, S, rgb, $\mathop{\mathrm{flow.~}}n=3$ 1</td>
<td>0.663</td>
<td>0.517</td>
<td>0.408</td>
<td>0.327</td>
<td>0.239</td>
<td>0.527</td>
<td>0.917</td>
</tr>
<tr>
<td>JMAN (DH, C, S, rgb. flow. $n=$ $i$ $\begin{Vmatrix}1\\1\end{bmatrix}$</td>
<td>0.662</td>
<td>0.517</td>
<td>0.412</td>
<td>0.333</td>
<td>0.242</td>
<td>0.532</td>
<td>0.935</td>
</tr>
<tr>
<td>JMAN (DH, C, S, rgb, fow, $n= 5$ 1</td>
<td>0.667</td>
<td>0.521</td>
<td>0.413</td>
<td>0.334</td>
<td>0.239</td>
<td>0.533</td>
<td>0.941</td>
</tr>
</tbody>
</table>
Table 4: The objective evaluation values of each model using the DSTC7-AVSD test set. The first part is the performance of the baseline model proposed by DSTC-AVSD organizers. The second part and the third part show the objective evaluation values of proposed JMAN with 1 reasoning step $(n=1).$ The second part simplest modality to evaluate the effectiveness of each features. In the third part, we estimate the performance of the combination of different modalities, which are audio, vision, and language. Considering only textual modality and visual modality, the fourth part show the results for proposed JMAN with increasing reasoning step $n.$ The word in the parentheses means the given feature. (DH: dialogue history; C: video caption; S: video summary; rgb: i3d-rgb feature; flow: i3d-flow feature; aud: audio vggish feature)
<table>
<tbody>
<tr>
<th> </th>
<th>BLEU- 1</th>
<th>BLEU- 2</th>
<th>BLEU- 3</th>
<th>BLEU- 4</th>
<th>METEOR</th>
<th>ROUGE-L</th>
<th>CIDEr</th>
<th>$\overline{\mathrm{Huma}}$</th>
</tr>
<tr>
<td>$\overline{\mathrm{Baseline}}$ (Hori et al. 2018</td>
<td>0.614</td>
<td>0.467</td>
<td>0.365</td>
<td>0.289</td>
<td>0.21</td>
<td>0.48</td>
<td>0.651</td>
<td>2.885</td>
</tr>
<tr>
<td>JMAN (TDH. C. S. rgb 1 How. $n=$ =5</td>
<td>0.645</td>
<td>0.504</td>
<td>0.402</td>
<td>0.324</td>
<td>0.232</td>
<td>0.521</td>
<td>0.875</td>
<td>3.123</td>
</tr>
</tbody>
</table>
Table 5: Released by the AVSD organizers, this table shows the final result of objective evaluation values and human
rating by using the DSTC8-AVSD test set.
|
[
[
0.38232421875,
0.15087890625,
0.44677734375,
0.15087890625,
0.44677734375,
0.1654052734375,
0.38232421875,
0.1654052734375
],
[
0.464111328125,
0.15087890625,
0.52783203125,
0.15087890625,
0.52783203125,
0.1654052734375,
0.464111328125,
0.1654052734375
],
[
0.5439453125,
0.15087890625,
0.609375,
0.15087890625,
0.609375,
0.1654052734375,
0.5439453125,
0.1654052734375
],
[
0.6259765625,
0.15087890625,
0.69140625,
0.15087890625,
0.69140625,
0.1654052734375,
0.6259765625,
0.1654052734375
],
[
0.705078125,
0.149658203125,
0.78369140625,
0.149658203125,
0.78369140625,
0.1641845703125,
0.705078125,
0.1641845703125
],
[
0.8037109375,
0.15283203125,
0.88232421875,
0.15283203125,
0.88232421875,
0.1641845703125,
0.8037109375,
0.1641845703125
],
[
0.90185546875,
0.15087890625,
0.9599609375,
0.15087890625,
0.9599609375,
0.1654052734375,
0.90185546875,
0.1654052734375
],
[
0.096435546875,
0.1641845703125,
0.17724609375,
0.1666259765625,
0.17724609375,
0.179931640625,
0.096435546875,
0.177978515625
],
[
0.1732177734375,
0.1654052734375,
0.2998046875,
0.1654052734375,
0.2998046875,
0.179931640625,
0.1732177734375,
0.179931640625
],
[
0.393798828125,
0.1654052734375,
0.435546875,
0.1654052734375,
0.435546875,
0.18115234375,
0.393798828125,
0.18115234375
],
[
0.473876953125,
0.1654052734375,
0.5185546875,
0.1654052734375,
0.5185546875,
0.18310546875,
0.473876953125,
0.18310546875
],
[
0.55126953125,
0.1641845703125,
0.6005859375,
0.1641845703125,
0.6005859375,
0.18310546875,
0.55126953125,
0.18310546875
],
[
0.6357421875,
0.1654052734375,
0.6787109375,
0.1654052734375,
0.6787109375,
0.18115234375,
0.6357421875,
0.18115234375
],
[
0.7255859375,
0.1654052734375,
0.76708984375,
0.1654052734375,
0.76708984375,
0.18115234375,
0.7255859375,
0.18115234375
],
[
0.82275390625,
0.1654052734375,
0.865234375,
0.1654052734375,
0.865234375,
0.18115234375,
0.82275390625,
0.18115234375
],
[
0.90625,
0.1654052734375,
0.94921875,
0.1654052734375,
0.94921875,
0.18115234375,
0.90625,
0.18115234375
],
[
0.418212890625,
0.18310546875,
0.464111328125,
0.18310546875,
0.464111328125,
0.1988525390625,
0.418212890625,
0.1988525390625
],
[
0.455810546875,
0.184326171875,
0.60302734375,
0.184326171875,
0.60302734375,
0.1988525390625,
0.455810546875,
0.1988525390625
],
[
0.60107421875,
0.1875,
0.61767578125,
0.1875,
0.61767578125,
0.1956787109375,
0.60107421875,
0.1956787109375
],
[
0.615234375,
0.184326171875,
0.63623046875,
0.184326171875,
0.63623046875,
0.1976318359375,
0.615234375,
0.1976318359375
],
[
0.09722900390625,
0.1976318359375,
0.1968994140625,
0.1976318359375,
0.1968994140625,
0.212158203125,
0.09722900390625,
0.212158203125
],
[
0.39208984375,
0.1976318359375,
0.438720703125,
0.1976318359375,
0.438720703125,
0.21337890625,
0.39208984375,
0.21337890625
],
[
0.47216796875,
0.1976318359375,
0.51708984375,
0.1976318359375,
0.51708984375,
0.21337890625,
0.47216796875,
0.21337890625
],
[
0.5537109375,
0.1976318359375,
0.5986328125,
0.1976318359375,
0.5986328125,
0.21337890625,
0.5537109375,
0.21337890625
],
[
0.6337890625,
0.1976318359375,
0.6806640625,
0.1976318359375,
0.6806640625,
0.21337890625,
0.6337890625,
0.21337890625
],
[
0.7236328125,
0.1976318359375,
0.7685546875,
0.1976318359375,
0.7685546875,
0.21337890625,
0.7236328125,
0.21337890625
],
[
0.82177734375,
0.1976318359375,
0.86669921875,
0.1976318359375,
0.86669921875,
0.21337890625,
0.82177734375,
0.21337890625
],
[
0.90625,
0.1988525390625,
0.951171875,
0.1988525390625,
0.951171875,
0.21337890625,
0.90625,
0.21337890625
],
[
0.098876953125,
0.2083740234375,
0.2197265625,
0.210205078125,
0.2197265625,
0.2279052734375,
0.098876953125,
0.2259521484375
],
[
0.39208984375,
0.2108154296875,
0.43701171875,
0.2108154296875,
0.43701171875,
0.2266845703125,
0.39208984375,
0.2266845703125
],
[
0.47216796875,
0.2108154296875,
0.51708984375,
0.2108154296875,
0.51708984375,
0.2266845703125,
0.47216796875,
0.2266845703125
],
[
0.5537109375,
0.2108154296875,
0.5986328125,
0.2108154296875,
0.5986328125,
0.2266845703125,
0.5537109375,
0.2266845703125
],
[
0.6337890625,
0.2108154296875,
0.6806640625,
0.2108154296875,
0.6806640625,
0.2266845703125,
0.6337890625,
0.2266845703125
],
[
0.7236328125,
0.2108154296875,
0.7685546875,
0.2108154296875,
0.7685546875,
0.2266845703125,
0.7236328125,
0.2266845703125
],
[
0.82177734375,
0.2108154296875,
0.865234375,
0.2108154296875,
0.865234375,
0.2266845703125,
0.82177734375,
0.2266845703125
],
[
0.90625,
0.210205078125,
0.94921875,
0.212158203125,
0.94775390625,
0.2279052734375,
0.904296875,
0.2259521484375
],
[
0.101318359375,
0.2259521484375,
0.21728515625,
0.2259521484375,
0.21728515625,
0.240478515625,
0.101318359375,
0.240478515625
],
[
0.39208984375,
0.2259521484375,
0.435546875,
0.2259521484375,
0.435546875,
0.240478515625,
0.39208984375,
0.240478515625
],
[
0.47216796875,
0.2259521484375,
0.51708984375,
0.2259521484375,
0.51708984375,
0.240478515625,
0.47216796875,
0.240478515625
],
[
0.55224609375,
0.2259521484375,
0.5986328125,
0.2259521484375,
0.5986328125,
0.2412109375,
0.55224609375,
0.2412109375
],
[
0.6337890625,
0.2259521484375,
0.6806640625,
0.2259521484375,
0.6806640625,
0.2412109375,
0.6337890625,
0.2412109375
],
[
0.7236328125,
0.2259521484375,
0.76708984375,
0.2259521484375,
0.76708984375,
0.240478515625,
0.7236328125,
0.240478515625
],
[
0.82177734375,
0.2259521484375,
0.865234375,
0.2259521484375,
0.865234375,
0.240478515625,
0.82177734375,
0.240478515625
],
[
0.90625,
0.2259521484375,
0.94921875,
0.2259521484375,
0.94921875,
0.240478515625,
0.90625,
0.240478515625
],
[
0.101318359375,
0.2392578125,
0.2303466796875,
0.2392578125,
0.2303466796875,
0.25390625,
0.101318359375,
0.25390625
],
[
0.39208984375,
0.2392578125,
0.43701171875,
0.2392578125,
0.43701171875,
0.255126953125,
0.39208984375,
0.255126953125
],
[
0.47216796875,
0.2392578125,
0.51708984375,
0.2392578125,
0.51708984375,
0.255126953125,
0.47216796875,
0.255126953125
],
[
0.5537109375,
0.2392578125,
0.5986328125,
0.2392578125,
0.5986328125,
0.255126953125,
0.5537109375,
0.255126953125
],
[
0.6337890625,
0.2392578125,
0.6806640625,
0.2392578125,
0.6806640625,
0.255126953125,
0.6337890625,
0.255126953125
],
[
0.7236328125,
0.2392578125,
0.7685546875,
0.2392578125,
0.7685546875,
0.255126953125,
0.7236328125,
0.255126953125
],
[
0.82177734375,
0.2392578125,
0.865234375,
0.2392578125,
0.865234375,
0.255126953125,
0.82177734375,
0.255126953125
],
[
0.90625,
0.2392578125,
0.94921875,
0.2392578125,
0.94921875,
0.255126953125,
0.90625,
0.255126953125
],
[
0.098876953125,
0.25,
0.236083984375,
0.251953125,
0.236083984375,
0.26953125,
0.098876953125,
0.267578125
],
[
0.39208984375,
0.25390625,
0.435546875,
0.25390625,
0.435546875,
0.268310546875,
0.39208984375,
0.268310546875
],
[
0.473876953125,
0.25390625,
0.51708984375,
0.25390625,
0.51708984375,
0.268310546875,
0.473876953125,
0.268310546875
],
[
0.5537109375,
0.25390625,
0.5986328125,
0.25390625,
0.5986328125,
0.268310546875,
0.5537109375,
0.268310546875
],
[
0.6337890625,
0.25390625,
0.6806640625,
0.25390625,
0.6806640625,
0.268310546875,
0.6337890625,
0.268310546875
],
[
0.7255859375,
0.25390625,
0.7685546875,
0.25390625,
0.7685546875,
0.268310546875,
0.7255859375,
0.268310546875
],
[
0.82177734375,
0.25244140625,
0.865234375,
0.25244140625,
0.865234375,
0.268310546875,
0.82177734375,
0.268310546875
],
[
0.90625,
0.25390625,
0.94921875,
0.25390625,
0.94921875,
0.26953125,
0.90625,
0.26953125
],
[
0.1004638671875,
0.26513671875,
0.233642578125,
0.26513671875,
0.233642578125,
0.27978515625,
0.1004638671875,
0.27978515625
],
[
0.39208984375,
0.266357421875,
0.43701171875,
0.266357421875,
0.43701171875,
0.2822265625,
0.39208984375,
0.2822265625
],
[
0.47216796875,
0.266357421875,
0.51708984375,
0.266357421875,
0.51708984375,
0.2822265625,
0.47216796875,
0.2822265625
],
[
0.5537109375,
0.266357421875,
0.5986328125,
0.266357421875,
0.5986328125,
0.2822265625,
0.5537109375,
0.2822265625
],
[
0.6337890625,
0.266357421875,
0.6806640625,
0.266357421875,
0.6806640625,
0.2822265625,
0.6337890625,
0.2822265625
],
[
0.7236328125,
0.266357421875,
0.7685546875,
0.266357421875,
0.7685546875,
0.2822265625,
0.7236328125,
0.2822265625
],
[
0.82177734375,
0.266357421875,
0.865234375,
0.266357421875,
0.865234375,
0.2822265625,
0.82177734375,
0.2822265625
],
[
0.90625,
0.266357421875,
0.94921875,
0.266357421875,
0.94921875,
0.2822265625,
0.90625,
0.2822265625
],
[
0.09722900390625,
0.281005859375,
0.240234375,
0.281005859375,
0.240234375,
0.29541015625,
0.09722900390625,
0.29541015625
],
[
0.39208984375,
0.281005859375,
0.43701171875,
0.281005859375,
0.43701171875,
0.296630859375,
0.39208984375,
0.296630859375
],
[
0.47216796875,
0.281005859375,
0.51708984375,
0.281005859375,
0.51708984375,
0.296630859375,
0.47216796875,
0.296630859375
],
[
0.55224609375,
0.281005859375,
0.5986328125,
0.281005859375,
0.5986328125,
0.296630859375,
0.55224609375,
0.296630859375
],
[
0.6337890625,
0.281005859375,
0.6787109375,
0.281005859375,
0.6787109375,
0.296630859375,
0.6337890625,
0.296630859375
],
[
0.7236328125,
0.281005859375,
0.76708984375,
0.281005859375,
0.76708984375,
0.296630859375,
0.7236328125,
0.296630859375
],
[
0.82177734375,
0.281005859375,
0.865234375,
0.281005859375,
0.865234375,
0.296630859375,
0.82177734375,
0.296630859375
],
[
0.90625,
0.2822265625,
0.94921875,
0.2822265625,
0.94921875,
0.296630859375,
0.90625,
0.296630859375
],
[
0.098876953125,
0.292236328125,
0.26953125,
0.29345703125,
0.26953125,
0.311279296875,
0.098876953125,
0.31005859375
],
[
0.39208984375,
0.29345703125,
0.43701171875,
0.29541015625,
0.435546875,
0.3125,
0.390625,
0.31005859375
],
[
0.6337890625,
0.29345703125,
0.6806640625,
0.29541015625,
0.6787109375,
0.311279296875,
0.63232421875,
0.309326171875
],
[
0.90625,
0.29345703125,
0.94921875,
0.29541015625,
0.94775390625,
0.311279296875,
0.904296875,
0.309326171875
],
[
0.82177734375,
0.294189453125,
0.865234375,
0.294189453125,
0.865234375,
0.31005859375,
0.82177734375,
0.31005859375
],
[
0.47216796875,
0.29541015625,
0.51708984375,
0.29541015625,
0.51708984375,
0.31005859375,
0.47216796875,
0.31005859375
],
[
0.5537109375,
0.294189453125,
0.5986328125,
0.294189453125,
0.5986328125,
0.31005859375,
0.5537109375,
0.31005859375
],
[
0.7236328125,
0.29541015625,
0.7685546875,
0.29541015625,
0.7685546875,
0.311279296875,
0.7236328125,
0.311279296875
],
[
0.10296630859375,
0.309326171875,
0.310546875,
0.309326171875,
0.310546875,
0.323974609375,
0.10296630859375,
0.323974609375
],
[
0.39208984375,
0.309326171875,
0.435546875,
0.309326171875,
0.435546875,
0.324462890625,
0.39208984375,
0.324462890625
],
[
0.47216796875,
0.306884765625,
0.51708984375,
0.309326171875,
0.515625,
0.324462890625,
0.471435546875,
0.322509765625
],
[
0.55224609375,
0.309326171875,
0.5986328125,
0.309326171875,
0.5986328125,
0.323974609375,
0.55224609375,
0.323974609375
],
[
0.6337890625,
0.309326171875,
0.6806640625,
0.309326171875,
0.6806640625,
0.324462890625,
0.6337890625,
0.324462890625
],
[
0.7255859375,
0.309326171875,
0.7685546875,
0.309326171875,
0.7685546875,
0.324462890625,
0.7255859375,
0.324462890625
],
[
0.82177734375,
0.309326171875,
0.865234375,
0.309326171875,
0.865234375,
0.324462890625,
0.82177734375,
0.324462890625
],
[
0.90625,
0.309326171875,
0.94921875,
0.309326171875,
0.94921875,
0.324462890625,
0.90625,
0.324462890625
],
[
0.101318359375,
0.3212890625,
0.346435546875,
0.3212890625,
0.346435546875,
0.3359375,
0.101318359375,
0.3359375
],
[
0.39208984375,
0.32080078125,
0.435546875,
0.322509765625,
0.4345703125,
0.339111328125,
0.390625,
0.337158203125
],
[
0.47216796875,
0.322509765625,
0.51708984375,
0.322509765625,
0.51708984375,
0.33837890625,
0.47216796875,
0.33837890625
],
[
0.5537109375,
0.322509765625,
0.5986328125,
0.322509765625,
0.5986328125,
0.33837890625,
0.5537109375,
0.33837890625
],
[
0.6337890625,
0.322509765625,
0.6787109375,
0.322509765625,
0.6787109375,
0.33837890625,
0.6337890625,
0.33837890625
],
[
0.7236328125,
0.322509765625,
0.7685546875,
0.322509765625,
0.7685546875,
0.33837890625,
0.7236328125,
0.33837890625
],
[
0.82177734375,
0.322509765625,
0.865234375,
0.322509765625,
0.865234375,
0.33837890625,
0.82177734375,
0.33837890625
],
[
0.90625,
0.322509765625,
0.94921875,
0.322509765625,
0.94921875,
0.33837890625,
0.90625,
0.33837890625
],
[
0.441162109375,
0.3359375,
0.615234375,
0.337158203125,
0.615234375,
0.354736328125,
0.441162109375,
0.354248046875
],
[
0.098876953125,
0.35107421875,
0.363525390625,
0.3515625,
0.363525390625,
0.3662109375,
0.098876953125,
0.365478515625
],
[
0.390625,
0.3515625,
0.435546875,
0.3515625,
0.435546875,
0.367431640625,
0.390625,
0.367431640625
],
[
0.47216796875,
0.3515625,
0.5185546875,
0.3515625,
0.5185546875,
0.367431640625,
0.47216796875,
0.367431640625
],
[
0.55224609375,
0.3515625,
0.5986328125,
0.3515625,
0.5986328125,
0.367431640625,
0.55224609375,
0.367431640625
],
[
0.6337890625,
0.3515625,
0.6806640625,
0.3515625,
0.6806640625,
0.367431640625,
0.6337890625,
0.367431640625
],
[
0.7236328125,
0.3515625,
0.7685546875,
0.3515625,
0.7685546875,
0.367431640625,
0.7236328125,
0.367431640625
],
[
0.82177734375,
0.3515625,
0.86669921875,
0.3515625,
0.86669921875,
0.367431640625,
0.82177734375,
0.367431640625
],
[
0.90625,
0.3515625,
0.951171875,
0.3515625,
0.951171875,
0.367431640625,
0.90625,
0.367431640625
],
[
0.1004638671875,
0.363037109375,
0.365234375,
0.3642578125,
0.365234375,
0.3818359375,
0.1004638671875,
0.380615234375
],
[
0.39208984375,
0.365478515625,
0.43701171875,
0.365478515625,
0.43701171875,
0.380615234375,
0.39208984375,
0.380615234375
],
[
0.47216796875,
0.365478515625,
0.51708984375,
0.365478515625,
0.51708984375,
0.380615234375,
0.47216796875,
0.380615234375
],
[
0.5537109375,
0.3642578125,
0.5986328125,
0.3662109375,
0.59716796875,
0.3818359375,
0.55224609375,
0.380126953125
],
[
0.6337890625,
0.365478515625,
0.6787109375,
0.365478515625,
0.6787109375,
0.380615234375,
0.6337890625,
0.380615234375
],
[
0.7236328125,
0.365478515625,
0.7685546875,
0.365478515625,
0.7685546875,
0.380615234375,
0.7236328125,
0.380615234375
],
[
0.82177734375,
0.365478515625,
0.865234375,
0.365478515625,
0.865234375,
0.380615234375,
0.82177734375,
0.380615234375
],
[
0.90625,
0.365478515625,
0.94921875,
0.365478515625,
0.94921875,
0.380615234375,
0.90625,
0.380615234375
],
[
0.39208984375,
0.37744140625,
0.435546875,
0.380126953125,
0.4345703125,
0.396484375,
0.390625,
0.39453125
],
[
0.7236328125,
0.37744140625,
0.76708984375,
0.380126953125,
0.765625,
0.395751953125,
0.72216796875,
0.393310546875
],
[
0.90673828125,
0.37744140625,
0.94921875,
0.380126953125,
0.94775390625,
0.396484375,
0.90625,
0.39453125
],
[
0.5537109375,
0.37890625,
0.5986328125,
0.37890625,
0.5986328125,
0.39453125,
0.5537109375,
0.39453125
],
[
0.47216796875,
0.37890625,
0.51708984375,
0.37890625,
0.51708984375,
0.39453125,
0.47216796875,
0.39453125
],
[
0.6337890625,
0.37890625,
0.6787109375,
0.37890625,
0.6787109375,
0.39453125,
0.6337890625,
0.39453125
],
[
0.82177734375,
0.37890625,
0.865234375,
0.37890625,
0.865234375,
0.39453125,
0.82177734375,
0.39453125
],
[
0.1968994140625,
0.380126953125,
0.365234375,
0.380126953125,
0.365234375,
0.39453125,
0.1968994140625,
0.39453125
],
[
0.10455322265625,
0.380615234375,
0.2034912109375,
0.380615234375,
0.2034912109375,
0.392578125,
0.10455322265625,
0.392578125
],
[
0.09722900390625,
0.39013671875,
0.366943359375,
0.392578125,
0.366943359375,
0.410400390625,
0.09722900390625,
0.40771484375
],
[
0.390625,
0.393310546875,
0.435546875,
0.393310546875,
0.435546875,
0.40771484375,
0.390625,
0.40771484375
],
[
0.47216796875,
0.393310546875,
0.515625,
0.393310546875,
0.515625,
0.4091796875,
0.47216796875,
0.4091796875
],
[
0.55224609375,
0.393310546875,
0.5986328125,
0.393310546875,
0.5986328125,
0.40771484375,
0.55224609375,
0.40771484375
],
[
0.6337890625,
0.393310546875,
0.6787109375,
0.393310546875,
0.6787109375,
0.40771484375,
0.6337890625,
0.40771484375
],
[
0.7236328125,
0.393310546875,
0.7685546875,
0.393310546875,
0.7685546875,
0.40771484375,
0.7236328125,
0.40771484375
],
[
0.82177734375,
0.393310546875,
0.86669921875,
0.393310546875,
0.86669921875,
0.4091796875,
0.82177734375,
0.4091796875
],
[
0.90625,
0.393310546875,
0.94921875,
0.393310546875,
0.94921875,
0.4091796875,
0.90625,
0.4091796875
],
[
0.08660888671875,
0.4267578125,
0.91259765625,
0.4267578125,
0.91259765625,
0.44140625,
0.08660888671875,
0.44140625
],
[
0.08660888671875,
0.44140625,
0.91259765625,
0.44140625,
0.91259765625,
0.455810546875,
0.08660888671875,
0.455810546875
],
[
0.0849609375,
0.455078125,
0.9111328125,
0.455078125,
0.9111328125,
0.4697265625,
0.0849609375,
0.4697265625
],
[
0.0849609375,
0.4697265625,
0.9140625,
0.4697265625,
0.9140625,
0.48291015625,
0.0849609375,
0.48291015625
],
[
0.0849609375,
0.484130859375,
0.91259765625,
0.484130859375,
0.91259765625,
0.49755859375,
0.0849609375,
0.49755859375
],
[
0.0849609375,
0.496826171875,
0.91259765625,
0.496826171875,
0.91259765625,
0.51025390625,
0.0849609375,
0.51025390625
],
[
0.0849609375,
0.51025390625,
0.9140625,
0.51025390625,
0.9140625,
0.5244140625,
0.0849609375,
0.5244140625
],
[
0.0849609375,
0.5244140625,
0.39453125,
0.5244140625,
0.39453125,
0.53857421875,
0.0849609375,
0.53857421875
],
[
0.44287109375,
0.7138671875,
0.5048828125,
0.7138671875,
0.5048828125,
0.72900390625,
0.44287109375,
0.72900390625
],
[
0.5185546875,
0.7138671875,
0.5810546875,
0.7138671875,
0.5810546875,
0.72900390625,
0.5185546875,
0.72900390625
],
[
0.6748046875,
0.7138671875,
0.74658203125,
0.7138671875,
0.74658203125,
0.72607421875,
0.6748046875,
0.72607421875
],
[
0.76318359375,
0.7138671875,
0.8408203125,
0.7138671875,
0.8408203125,
0.72900390625,
0.76318359375,
0.72900390625
],
[
0.85546875,
0.7138671875,
0.90673828125,
0.7138671875,
0.90673828125,
0.72900390625,
0.85546875,
0.72900390625
],
[
0.92236328125,
0.71337890625,
0.98046875,
0.71533203125,
0.9794921875,
0.72998046875,
0.9208984375,
0.72802734375
],
[
0.59716796875,
0.71533203125,
0.65673828125,
0.71533203125,
0.65673828125,
0.7265625,
0.59716796875,
0.7265625
],
[
0.36767578125,
0.71533203125,
0.426513671875,
0.71533203125,
0.426513671875,
0.7265625,
0.36767578125,
0.7265625
],
[
0.451904296875,
0.72802734375,
0.494384765625,
0.72802734375,
0.494384765625,
0.74365234375,
0.451904296875,
0.74365234375
],
[
0.6044921875,
0.72802734375,
0.64794921875,
0.72802734375,
0.64794921875,
0.74365234375,
0.6044921875,
0.74365234375
],
[
0.69287109375,
0.72802734375,
0.72802734375,
0.72802734375,
0.72802734375,
0.74365234375,
0.69287109375,
0.74365234375
],
[
0.78515625,
0.72607421875,
0.82177734375,
0.72900390625,
0.81884765625,
0.744140625,
0.78369140625,
0.7421875
],
[
0.861328125,
0.72802734375,
0.90185546875,
0.72802734375,
0.90185546875,
0.74365234375,
0.861328125,
0.74365234375
],
[
0.374267578125,
0.72900390625,
0.418212890625,
0.72900390625,
0.418212890625,
0.74365234375,
0.374267578125,
0.74365234375
],
[
0.1004638671875,
0.72900390625,
0.2900390625,
0.72900390625,
0.2900390625,
0.7421875,
0.1004638671875,
0.7421875
],
[
0.52783203125,
0.72900390625,
0.5703125,
0.72900390625,
0.5703125,
0.74365234375,
0.52783203125,
0.74365234375
],
[
0.9287109375,
0.72900390625,
0.97216796875,
0.72900390625,
0.97216796875,
0.74365234375,
0.9287109375,
0.74365234375
],
[
0.451904296875,
0.7412109375,
0.494384765625,
0.7412109375,
0.494384765625,
0.7568359375,
0.451904296875,
0.7568359375
],
[
0.52783203125,
0.7412109375,
0.57177734375,
0.7412109375,
0.57177734375,
0.7568359375,
0.52783203125,
0.7568359375
],
[
0.6044921875,
0.7412109375,
0.64794921875,
0.7412109375,
0.64794921875,
0.7568359375,
0.6044921875,
0.7568359375
],
[
0.68896484375,
0.7412109375,
0.73193359375,
0.7412109375,
0.73193359375,
0.7568359375,
0.68896484375,
0.7568359375
],
[
0.78125,
0.7412109375,
0.82177734375,
0.7412109375,
0.82177734375,
0.7568359375,
0.78125,
0.7568359375
],
[
0.861328125,
0.74072265625,
0.90283203125,
0.7421875,
0.90185546875,
0.75830078125,
0.859375,
0.755859375
],
[
0.373291015625,
0.7421875,
0.418212890625,
0.7421875,
0.418212890625,
0.7568359375,
0.373291015625,
0.7568359375
],
[
0.09478759765625,
0.7421875,
0.348876953125,
0.7421875,
0.348876953125,
0.7568359375,
0.09478759765625,
0.7568359375
],
[
0.92724609375,
0.7421875,
0.9736328125,
0.7421875,
0.9736328125,
0.7568359375,
0.92724609375,
0.7568359375
],
[
0.0849609375,
0.77587890625,
0.91259765625,
0.77587890625,
0.91259765625,
0.7890625,
0.0849609375,
0.7890625
],
[
0.0849609375,
0.7890625,
0.393798828125,
0.7890625,
0.393798828125,
0.80322265625,
0.0849609375,
0.80322265625
]
] |
[
"BLEU-1",
"BLEU-2",
"BLEU-3",
"BLEU-4",
"METEOR",
"ROUGE-L",
"CIDEr",
"Baseline",
"(Hori et al. 2018)",
"0.621",
"0.480",
"0.379",
"0.305",
"0.217",
"0.481",
"0.733",
"single",
"ereasoning step(n",
"=",
"1)",
"JMAN (DH)",
"0.623",
"0.478",
"0.374",
"0.295",
"0.220",
"0.492",
"0.775",
"JMAN (DH, C)",
"0.632",
"0.486",
"0.381",
"0.303",
"0.238",
"0.518",
"0.896",
"JMAN (DH, S)",
"0.628",
"0.483",
"0.378",
"0.302",
"0.238",
"0.518",
"0.889",
"JMAN (DH, rgb)",
"0.636",
"0.484",
"0.390",
"0.312",
"0.234",
"0.517",
"0.882",
"JMAN (DH, fow)",
"0.641",
"0.493",
"0.392",
"0.306",
"0.233",
"0.520",
"0.895",
"JMAN (DH, aud)",
"0.626",
"0.479",
"0.372",
"0.294",
"0.230",
"0.511",
"0.845",
"JMAN (DH, C, S)",
"0.644",
"0.488",
"0.383",
"0.302",
"0.238",
"0.518",
"0.891",
"JMAN (DH, rgb, flow)",
"0.648",
"0.309",
"0.890",
"0.520",
"0.499",
"0.390",
"0.240",
"JMAN (DH, C, S, rgb, flow)",
"0.657",
"0.510",
"0.400",
"0.318",
"0.238",
"0.527",
"0.911",
"JMAN (DH, C, S, rgb, flow, aud)",
"0.641",
"0.496",
"0.390",
"0.312",
"0.234",
"0.516",
"0.882",
"multiple reasoning step",
"JMAN(DH,C,S,rgb,flow,n=2)",
"0.658",
"0.513",
"0.406",
"0.325",
"0.239",
"0.523",
"0.917",
"JMAN (DH, C, S, rgb, flow, n = 3)",
"0.663",
"0.517",
"0.408",
"0.327",
"0.239",
"0.527",
"0.917",
"0.662",
"0.242",
"0.935",
"0.412",
"0.517",
"0.333",
"0.532",
"C, S, rgb, flow, n = 4)",
"JMAN (DH, ",
"JMAN (DH, C, S, rgb, flow, n = 5)",
"0.667",
"0.521",
"0.413",
"0.334",
"0.239",
"0.533",
"0.941",
"Table 4: The objective evaluation values of each model using the DSTC7-AVSD test set. The first part is the",
"performance of the baseline model proposed by DSTC-AVSD organizers. The second part and the third part show",
"the objective evaluation values of proposed JMAN with 1 reasoning step ( n = 1). The second part simplest modality",
"to evaluate the effectiveness of each features. In the third part, we estimate the performance of the combination of",
"different modalities, which are audio, vision, and language. Considering only textual modality and visual modality,",
"the fourth part show the results for proposed JMAN with increasing reasoning step n . The word in the parentheses",
"means the given feature. (DH: dialogue history; C: video caption; S: video summary; rgb: i3d-rgb feature; flow:",
"i3d-flow feature; aud: audio vggish feature)",
"BLEU-2",
"BLEU-3",
"METEOR",
"ROUGE-L",
"CIDEr",
"Human",
"BLEU-4",
"BLEU-1",
"0.467",
"0.289",
"0.21",
"0.48",
"0.651",
"0.614",
"Baseline (Hori et al.2018)",
"0.365",
"2.885",
"0.504",
"0.402",
"0.324",
"0.232",
"0.521",
"0.875",
"0.645",
"JMAN (DH, C, S, rgb, flow, n =5)",
"3.123",
"Table 5: Released by the AVSD organizers, this table shows the final result of objective evaluation values and human",
"rating by using the DSTC8-AVSD test set."
] |
{
"arxiv_id": "2001.06206",
"language": "zh",
"page_idx": 4
}
|
||
1909.13032-zh-0
|
1909.13032-zh-0.jpg
|
Meta R-CNN: Towards General Solver for Instance-level Few-shot Learning
Xiaopeng Yan $^1;^*$ Ziliang Chen $^{1*},\text{ Anni Xu}^1,\text{ Xiaoxi Wang}^1,\text{ Xiaodan Liang}^{1,2},\text{ Liang Lin}^{1,2,\dagger}$
$1{\mathrm{~Sun~Yat-sen~University~2~DarkMatter~AI~Research}}$
$\{$ yanxp3,wangxx$35\}$ @mail2.sysu.edu.cn, c.ziliang@yahoo.com, $466783266@$qq.com, xdliang$328@$gmail.com, linliang$@$ieee.org
# $\operatorname{Abstract}$
<FigureHere>
Figure 1. The illustration of labeled training images in fewshot setups for visual object recognition and class-aware object structure (bounding-boxs or masks) prediction. Compared with recognition, novel-class few objects in few-shot object detection/ segmentation blend with other objects in diverse backgrounds, yet requiring a few-shot learner to predict their classes and structure labels.
Resembling the rapid learning capability of human, few-shot learning empowers vision systems to understand new concepts by training with few samples. Leading approaches derived from meta-learning on images with a single visual object. Obfuscated by a complex background and multiple objects in one image, they are hard to promote the research of few-shot ob- $\begin{array}{cc}\text{ject detection/segmentation. In this work, we present a}\end{array}$ flexible and general methodology to achieve these tasks. Our work extends Faster /Mask R-CNN by proposing meta-learning over RoI (Region-of-Interest) features instead of a full image feature. This simple spirit disentangles multi-object information merged with the background, without bells and whistles, enabling Faster /Mask R-CNN turn into a meta-learner to achieve the tasks. Specifically, we introduce a Predictor-head Remodeling Network (PRN) that shares its main backbone with Faster /Mask R-CNN. PRN receives images containing few-shot objects with their bounding boxes or masks to infer their class attentive vectors. The vectors take channel-wise soft-attention on RoI features, remodeling those R-CNN predictor heads to detect or segment the objects that are consistent with the classes these vectors represent. In our experiments, Meta R-CNN yields the state of the art in few-shot object detection and improves fewshot object segmentation by Mask R-CNN. Code: https://yanxp.github.io/metarcnn.html .
学习 [26] 是一个流行且非常有前途的方向。在新类中提供很少的标记数据(1 个??? 个镜头),训练了很少的学习者,以借助具有足够标记数据的基类来识别数据匮乏的类对象(见图 1。)。它的工业潜力越来越多地推动解决方案的出现,落在贝叶斯方法[10,26] ,相似性学习[25,37]和元学习[41,43,42,38]的保护伞下。
但是,在 中识别 图像中的单个对象 只是现实世界视觉理解中的冰山一角。在实例级学习任务方面,例如。g。, 对象检测 $[36,34]\not$分割 [2] ,在很少的学习环境中,以前的工作仍然很少被探索(见图 1。b)。由于学习实例级任务需要比图像级注释消耗更多工作的边界框或掩码 (结构标签),因此,如果可以通过少量操作同步预测新类,对象边界框和分割掩码,则实际上会产生影响。不幸的是,在对象匮乏的情况下,这些任务变得更加艰巨,因为学习者除了对它们进行分类之外, 还需要定位或分割新颖的类编号稀有对象。此外,由于一个图像中有多个对象,新类对象可能会与其他类中的对象混合,从而进一步混淆信息以预测其结构标签。鉴于此,研究人员可能会期望一个复杂的解决方案,例如解决少拍识别[10,26]所做的工作
超出他们的期望,我们提出了一种直观且通用的
# 1. Introduction
迄今为止,深度学习框架在具有大量数据的监督培训制度中取得了人类水平的成就,因此在视觉社区中占主导地位。但是,与在很少的演示中就能快速理解视觉特征的人类不同,当训练数据稀缺时,深度神经网络会显着遭受 性能下降。暴露的瓶颈引发了许多重新思考深度学习[47,11]泛化的研究,其中很少(低)镜头
$^*$indicate equal contribution (Xiaopeng Yan and Ziliang
Chen). $\dagger$ indicates corresponding author: Liang Lin.
1
|
[
[
0.101318359375,
0.1307373046875,
0.869140625,
0.1331787109375,
0.869140625,
0.15087890625,
0.101318359375,
0.1483154296875
],
[
0.08660888671875,
0.179931640625,
0.955078125,
0.177978515625,
0.955078125,
0.1988525390625,
0.08660888671875,
0.2008056640625
],
[
0.3349609375,
0.1976318359375,
0.70361328125,
0.199462890625,
0.70361328125,
0.2171630859375,
0.3349609375,
0.21533203125
],
[
0.16259765625,
0.2203369140625,
0.88134765625,
0.2203369140625,
0.88134765625,
0.2342529296875,
0.16259765625,
0.2342529296875
],
[
0.23779296875,
0.26953125,
0.313720703125,
0.26953125,
0.313720703125,
0.2841796875,
0.23779296875,
0.2841796875
],
[
0.5498046875,
0.272705078125,
0.61669921875,
0.272705078125,
0.61669921875,
0.28271484375,
0.5498046875,
0.28271484375
],
[
0.69775390625,
0.272705078125,
0.7685546875,
0.272705078125,
0.7685546875,
0.28271484375,
0.69775390625,
0.28271484375
],
[
0.53515625,
0.281005859375,
0.6298828125,
0.2822265625,
0.6298828125,
0.292236328125,
0.53515625,
0.291748046875
],
[
0.69140625,
0.2822265625,
0.775390625,
0.2822265625,
0.775390625,
0.292236328125,
0.69140625,
0.292236328125
],
[
0.82177734375,
0.27978515625,
0.88818359375,
0.27978515625,
0.88818359375,
0.291748046875,
0.82177734375,
0.291748046875
],
[
0.56396484375,
0.29736328125,
0.5986328125,
0.29736328125,
0.5986328125,
0.304931640625,
0.56396484375,
0.304931640625
],
[
0.82177734375,
0.291748046875,
0.875,
0.291748046875,
0.875,
0.302978515625,
0.82177734375,
0.302978515625
],
[
0.09722900390625,
0.2998046875,
0.46728515625,
0.300537109375,
0.46728515625,
0.31494140625,
0.09722900390625,
0.314453125
],
[
0.82275390625,
0.3017578125,
0.87353515625,
0.3017578125,
0.87353515625,
0.313232421875,
0.82275390625,
0.313232421875
],
[
0.080078125,
0.317626953125,
0.46728515625,
0.317626953125,
0.46728515625,
0.330810546875,
0.080078125,
0.330810546875
],
[
0.82177734375,
0.3125,
0.87744140625,
0.3125,
0.87744140625,
0.323974609375,
0.82177734375,
0.323974609375
],
[
0.82177734375,
0.323974609375,
0.88818359375,
0.323974609375,
0.88818359375,
0.333984375,
0.82177734375,
0.333984375
],
[
0.080078125,
0.33203125,
0.46728515625,
0.33203125,
0.46728515625,
0.34521484375,
0.080078125,
0.34521484375
],
[
0.650390625,
0.337158203125,
0.67236328125,
0.337158203125,
0.67236328125,
0.35107421875,
0.650390625,
0.35107421875
],
[
0.080078125,
0.3466796875,
0.468017578125,
0.3466796875,
0.468017578125,
0.361083984375,
0.080078125,
0.361083984375
],
[
0.55126953125,
0.35791015625,
0.61767578125,
0.35791015625,
0.61767578125,
0.36865234375,
0.55126953125,
0.36865234375
],
[
0.69677734375,
0.35791015625,
0.765625,
0.35791015625,
0.765625,
0.36865234375,
0.69677734375,
0.36865234375
],
[
0.81787109375,
0.3623046875,
0.89453125,
0.3623046875,
0.89453125,
0.37255859375,
0.81787109375,
0.37255859375
],
[
0.6640625,
0.367431640625,
0.79736328125,
0.367431640625,
0.79736328125,
0.37744140625,
0.6640625,
0.37744140625
],
[
0.080078125,
0.3623046875,
0.468017578125,
0.3623046875,
0.468017578125,
0.375732421875,
0.080078125,
0.375732421875
],
[
0.5146484375,
0.36865234375,
0.62744140625,
0.36865234375,
0.62744140625,
0.37890625,
0.5146484375,
0.37890625
],
[
0.62353515625,
0.369384765625,
0.65673828125,
0.369384765625,
0.65673828125,
0.37890625,
0.62353515625,
0.37890625
],
[
0.07843017578125,
0.375732421875,
0.468017578125,
0.376953125,
0.468017578125,
0.391357421875,
0.07843017578125,
0.39013671875
],
[
0.69140625,
0.376953125,
0.76953125,
0.376953125,
0.76953125,
0.386962890625,
0.69140625,
0.386962890625
],
[
0.81640625,
0.371826171875,
0.87109375,
0.373779296875,
0.87109375,
0.385009765625,
0.81640625,
0.38330078125
],
[
0.54736328125,
0.37890625,
0.625,
0.37890625,
0.625,
0.386474609375,
0.54736328125,
0.386474609375
],
[
0.81884765625,
0.3837890625,
0.8837890625,
0.3837890625,
0.8837890625,
0.395751953125,
0.81884765625,
0.395751953125
],
[
0.080078125,
0.392578125,
0.468017578125,
0.392578125,
0.468017578125,
0.406005859375,
0.080078125,
0.406005859375
],
[
0.81884765625,
0.393310546875,
0.85693359375,
0.395751953125,
0.85546875,
0.4072265625,
0.81787109375,
0.40478515625
],
[
0.08087158203125,
0.4091796875,
0.46728515625,
0.4091796875,
0.46728515625,
0.419189453125,
0.08087158203125,
0.419189453125
],
[
0.81884765625,
0.40478515625,
0.87744140625,
0.40478515625,
0.87744140625,
0.416748046875,
0.81884765625,
0.416748046875
],
[
0.080078125,
0.42236328125,
0.46728515625,
0.42236328125,
0.46728515625,
0.436279296875,
0.080078125,
0.436279296875
],
[
0.81787109375,
0.416748046875,
0.896484375,
0.415283203125,
0.896484375,
0.4267578125,
0.81787109375,
0.427978515625
],
[
0.07843017578125,
0.436279296875,
0.4697265625,
0.4375,
0.4697265625,
0.451904296875,
0.07843017578125,
0.45068359375
],
[
0.650390625,
0.4375,
0.6708984375,
0.4375,
0.6708984375,
0.45068359375,
0.650390625,
0.45068359375
],
[
0.07843017578125,
0.45068359375,
0.4697265625,
0.451904296875,
0.4697265625,
0.466552734375,
0.07843017578125,
0.46533203125
],
[
0.50244140625,
0.4609375,
0.890625,
0.4609375,
0.890625,
0.474853515625,
0.50244140625,
0.474853515625
],
[
0.080078125,
0.46728515625,
0.468017578125,
0.46728515625,
0.468017578125,
0.48095703125,
0.080078125,
0.48095703125
],
[
0.50244140625,
0.474853515625,
0.890625,
0.474853515625,
0.890625,
0.488037109375,
0.50244140625,
0.488037109375
],
[
0.080078125,
0.48291015625,
0.46728515625,
0.48291015625,
0.46728515625,
0.496826171875,
0.080078125,
0.496826171875
],
[
0.50244140625,
0.4892578125,
0.890625,
0.4892578125,
0.890625,
0.50244140625,
0.50244140625,
0.50244140625
],
[
0.080078125,
0.49755859375,
0.4697265625,
0.49755859375,
0.4697265625,
0.51123046875,
0.080078125,
0.51123046875
],
[
0.50244140625,
0.50244140625,
0.89208984375,
0.501953125,
0.89208984375,
0.51513671875,
0.50244140625,
0.5166015625
],
[
0.08087158203125,
0.51220703125,
0.4697265625,
0.51220703125,
0.4697265625,
0.52587890625,
0.08087158203125,
0.52587890625
],
[
0.50341796875,
0.5166015625,
0.89208984375,
0.5166015625,
0.89208984375,
0.52978515625,
0.50341796875,
0.52978515625
],
[
0.080078125,
0.52783203125,
0.468017578125,
0.52783203125,
0.468017578125,
0.54150390625,
0.080078125,
0.54150390625
],
[
0.50244140625,
0.52978515625,
0.89208984375,
0.52978515625,
0.89208984375,
0.54345703125,
0.50244140625,
0.54345703125
],
[
0.080078125,
0.54345703125,
0.468017578125,
0.54345703125,
0.468017578125,
0.556640625,
0.080078125,
0.556640625
],
[
0.5009765625,
0.54248046875,
0.7548828125,
0.54248046875,
0.7548828125,
0.55615234375,
0.5009765625,
0.55615234375
],
[
0.080078125,
0.55810546875,
0.468017578125,
0.55810546875,
0.468017578125,
0.5712890625,
0.080078125,
0.5712890625
],
[
0.080078125,
0.57373046875,
0.468017578125,
0.57373046875,
0.468017578125,
0.5869140625,
0.080078125,
0.5869140625
],
[
0.50244140625,
0.58056640625,
0.890625,
0.58203125,
0.890625,
0.5966796875,
0.50244140625,
0.59521484375
],
[
0.07843017578125,
0.58837890625,
0.468017578125,
0.58837890625,
0.468017578125,
0.60302734375,
0.07843017578125,
0.60302734375
],
[
0.50341796875,
0.59765625,
0.890625,
0.59765625,
0.890625,
0.6123046875,
0.50341796875,
0.6123046875
],
[
0.08087158203125,
0.60498046875,
0.46728515625,
0.60498046875,
0.46728515625,
0.61572265625,
0.08087158203125,
0.61572265625
],
[
0.080078125,
0.61865234375,
0.4697265625,
0.61865234375,
0.4697265625,
0.6318359375,
0.080078125,
0.6318359375
],
[
0.50341796875,
0.61279296875,
0.890625,
0.61279296875,
0.890625,
0.626953125,
0.50341796875,
0.626953125
],
[
0.080078125,
0.6337890625,
0.468017578125,
0.6337890625,
0.468017578125,
0.64794921875,
0.080078125,
0.64794921875
],
[
0.50341796875,
0.62890625,
0.890625,
0.62890625,
0.890625,
0.642578125,
0.50341796875,
0.642578125
],
[
0.080078125,
0.6484375,
0.468017578125,
0.6484375,
0.468017578125,
0.662109375,
0.080078125,
0.662109375
],
[
0.50341796875,
0.64306640625,
0.890625,
0.64306640625,
0.890625,
0.6572265625,
0.50341796875,
0.6572265625
],
[
0.080078125,
0.662109375,
0.468017578125,
0.662109375,
0.468017578125,
0.6767578125,
0.080078125,
0.6767578125
],
[
0.50341796875,
0.6591796875,
0.8837890625,
0.6591796875,
0.8837890625,
0.67236328125,
0.50341796875,
0.67236328125
],
[
0.521484375,
0.67236328125,
0.890625,
0.6748046875,
0.890625,
0.689453125,
0.521484375,
0.6875
],
[
0.080078125,
0.6787109375,
0.468017578125,
0.6787109375,
0.468017578125,
0.6923828125,
0.080078125,
0.6923828125
],
[
0.080078125,
0.693359375,
0.4697265625,
0.693359375,
0.4697265625,
0.70703125,
0.080078125,
0.70703125
],
[
0.50341796875,
0.68798828125,
0.890625,
0.689453125,
0.890625,
0.7041015625,
0.50341796875,
0.70263671875
],
[
0.07843017578125,
0.708984375,
0.374267578125,
0.70849609375,
0.374267578125,
0.72265625,
0.07843017578125,
0.7236328125
],
[
0.5048828125,
0.705078125,
0.89208984375,
0.705078125,
0.89208984375,
0.7197265625,
0.5048828125,
0.7197265625
],
[
0.50341796875,
0.7197265625,
0.890625,
0.7197265625,
0.890625,
0.734375,
0.50341796875,
0.734375
],
[
0.50341796875,
0.73291015625,
0.890625,
0.734375,
0.890625,
0.74853515625,
0.50341796875,
0.74755859375
],
[
0.080078125,
0.75244140625,
0.21728515625,
0.75244140625,
0.21728515625,
0.7666015625,
0.080078125,
0.7666015625
],
[
0.5048828125,
0.75,
0.8896484375,
0.75,
0.8896484375,
0.76318359375,
0.5048828125,
0.76318359375
],
[
0.5048828125,
0.76513671875,
0.890625,
0.76513671875,
0.890625,
0.77880859375,
0.5048828125,
0.77880859375
],
[
0.098876953125,
0.77783203125,
0.468017578125,
0.77783203125,
0.468017578125,
0.79150390625,
0.098876953125,
0.79150390625
],
[
0.50341796875,
0.77978515625,
0.8896484375,
0.77978515625,
0.8896484375,
0.79345703125,
0.50341796875,
0.79345703125
],
[
0.08251953125,
0.79248046875,
0.468017578125,
0.79248046875,
0.468017578125,
0.80615234375,
0.08251953125,
0.80615234375
],
[
0.50341796875,
0.79443359375,
0.88818359375,
0.79345703125,
0.88818359375,
0.80810546875,
0.50341796875,
0.8095703125
],
[
0.08416748046875,
0.80810546875,
0.468017578125,
0.80810546875,
0.468017578125,
0.8212890625,
0.08416748046875,
0.8212890625
],
[
0.50341796875,
0.81005859375,
0.8896484375,
0.81005859375,
0.8896484375,
0.82373046875,
0.50341796875,
0.82373046875
],
[
0.080078125,
0.82275390625,
0.468017578125,
0.8212890625,
0.468017578125,
0.8359375,
0.080078125,
0.8369140625
],
[
0.51953125,
0.82568359375,
0.890625,
0.82568359375,
0.890625,
0.8388671875,
0.51953125,
0.8388671875
],
[
0.08087158203125,
0.83837890625,
0.468017578125,
0.83837890625,
0.468017578125,
0.8515625,
0.08087158203125,
0.8515625
],
[
0.50244140625,
0.8388671875,
0.89208984375,
0.84033203125,
0.89208984375,
0.85498046875,
0.50244140625,
0.85400390625
],
[
0.08251953125,
0.85302734375,
0.468017578125,
0.85302734375,
0.468017578125,
0.8662109375,
0.08251953125,
0.8662109375
],
[
0.5048828125,
0.85595703125,
0.89208984375,
0.85595703125,
0.89208984375,
0.869140625,
0.5048828125,
0.869140625
],
[
0.09722900390625,
0.87548828125,
0.471435546875,
0.87548828125,
0.471435546875,
0.8896484375,
0.09722900390625,
0.8896484375
],
[
0.50341796875,
0.87060546875,
0.76318359375,
0.87060546875,
0.76318359375,
0.88525390625,
0.50341796875,
0.88525390625
],
[
0.07843017578125,
0.88623046875,
0.400390625,
0.88720703125,
0.400390625,
0.9013671875,
0.07843017578125,
0.90087890625
],
[
0.52392578125,
0.88623046875,
0.89208984375,
0.88623046875,
0.89208984375,
0.90087890625,
0.52392578125,
0.90087890625
],
[
0.48046875,
0.9248046875,
0.491943359375,
0.9248046875,
0.491943359375,
0.93603515625,
0.48046875,
0.93603515625
]
] |
[
"Meta R-CNN : Towards General Solver for Instance-level Few-shot Learning",
"Xiaopeng Yan 1, Ziliang Chen 1*, Anni Xu 1, Xiaoxi Wang', Xiaodan Liang 1,2, Liang Lin 1,2,t",
"1 Sun Yat-sen University 2 DarkMatter AI Research",
"[yanxp3,wangxx35J@mail2.sysu.edu.cn, c.ziliang@yahoo.com, 466783266@qq.com,xdliang328@gmail.com, linliang@ieee.org",
"Abstract",
"Baseclasses",
"Novelclasses",
"(many training images)",
"(few training images)",
"Image-level",
"",
"Few-shot",
"Resembling the rapid learning capability of human,",
"learning",
"few-shot learning empowers vision systems to under-",
"forobject",
"recognition",
"stand new concepts by training with few samples.",
"(a)",
"Leading approaches derived from meta-learning on im-",
"Base classes",
"Novel classes",
"Instance-level",
"(few objects with structure labels",
"ages with a single visual object. Obfuscated by a com-",
"(many.objects with structure",
"elabels",
"plex background and multiple objects in one image,",
"in training images )",
"Few-shot",
"intrainingimages)",
"learningfor",
"they are hard to promote the research of few-shot ob-",
"object",
"jectdetection/segmentation.Inthiswork,wepresenta",
"detectionl",
"flexible and general methodology to achieve these tasks.",
"segmentation",
"Our work extends Faster /Mask R-CNN by proposing",
"(b)",
"meta-learning over Rol (Region-of-Interest) features",
"Figure 1. The illustration of labeled training images in few-",
"instead of a full image feature. This simple spirit disen-",
"shot setups for visual object recognition and class-aware ob-",
"tangles multi-object information merged with the back-",
"ject structure (bounding-boxs or masks) prediction. Com-",
"ground, without bells and whistles, enabling Faster",
"pared with recognition, novel-class few objects in few-shot",
"/Mask R-CNN turn into a meta-learner to achieve the",
"object detection/ segmentation blend with other objects in",
"tasks. Specifically, we introduce a Predictor-head Re-",
"diverse backgrounds, yet requiring a few-shot learner to pre-",
"modeling Network (PRN) that shares its main back-",
"dict their classes and structure labels.",
"bone with Faster /Mask R-CNN. PRN receives im-",
"ages containing few-shot objects with their bound-",
"学习「26]是一个流行且非常有前途的方向。在新类中",
"ing boxes or masks to infer their class attentive vec-",
"提供很少的标记数据(1个???个镜头),训练了很少的",
"tors.The vectorstake channel-wisesoft-attention on",
"Rol features, remodeling those R-CNN predictor heads",
"学习者,以借助具有足够标记数据的基类来识别数据",
"to detect or segment the objects that are consistent",
"匮乏的类对象(见图1。)。它的工业潜力越来越多地",
"with the classes these vectors represent. In our ex-",
"推动解决方案的出现,落在贝叶斯方法[10,26],相似",
"periments, Meta R-CNN yields the state of the",
"性学习「25,37和元学习「41,43,42,381的保护伞下。",
"但是,在中识别图像中的单个对象只是现实世",
"art in few-shot object detection and improves few-",
"shot object segmentation by Mask R-CNN. Code:",
"界视觉理解中的冰山一角。在实例级学习任务方面,例",
"https://yanxp.github.io/metarcnn.html.",
"如。g。,对象检测[36,34]/分割[2],在很少的学习环",
"境中,以前的工作仍然很少被探索(见图1。b)。由于",
"学习实例级任务需要比图像级注释消耗更多工作的边",
"1.Introduction",
"界框或掩码(结构标签),因此,如果可以通过少量操",
"作同步预测新类,对象边界框和分割掩码,则实际上会",
"迄今为止,深度学习框架在具有大量数据的监督培",
"产生影响。不幸的是,在对象乏的情况下,这些任务",
"训制度中取得了人类水平的成就,因此在视觉社区中",
"变得更加艰巨,因为学习者除了对它们进行分类之外",
"占主导地位。但是,与在很少的演示中就能快速理解视",
"还需要定位或分割新颖的类编号稀有对象。此外,由于",
"觉特征的人类不同,当训练数据稀缺时,深度神经网络",
"个图像中有多个对象,新类对象可能会与其他类中",
"会显着遭受性能下降。暴露的瓶颈引发了许多重新思",
"的对象混合,从而进一步混淆信息以预测其结构标签。",
"考深度学习【47,111泛化的研究,其中很少(低)镜头",
"鉴于此,研究人员可能会期望一个复杂的解决方案,例",
"*indicate equal contribution (Xiaopeng Yan and Ziliang",
"如解决少拍识别【10,26]所做的工作",
"Chen). t indicates corresponding author: Liang Lin.",
"超出他们的期望,我们提出了一种直观且通用的",
"1"
] |
{
"arxiv_id": "1909.13032",
"language": "zh",
"page_idx": 0
}
|
||
1909.13032-zh-1
|
1909.13032-zh-1.jpg
|
方法来实现少拍对象的检测和分割:我们提出了一种新颖的元学习范式,该范式基于 Faster/MaskR-CNN [36,17]产生的 RoI (感兴趣区域)特征。更快/MaskRCNN 应该用相当多的标记对象进行训练,并且不适合用于少拍对象检测。现有的元学习技术在少数镜头识别方面非常强大,而它们的成功主要基于识别单个对象。给定具有在背景中合并的多对象信息的图像,它们几乎失败,因为元优化无法解开这种复杂的信息。但有趣的是,我们发现混合的未发现对象可以通过Faster/MaskR-CNN 中第一阶段推理产生的 RoI 功能进行“预处理”。每个 RoI 功能都指的是单个对象或背景,因此 Faster/MaskR-CNN 可能会解开大多数元学习者所遭受的复杂信息
我们的观察激发了 Faster/MaskR-CNN 与元学习之间的联姻。具体来说,我们通过引人预测器头重塑网络 (PRN) 来扩展 Faster/MaskR-CNN。PRN 是完全卷积的,并与 Faster/MaskR-CNN 共享主干网的参数。与 R-CNN 对应物不同,PRN 接收从基类和新类中提取的带有 bbox 或 mask 的少射对象,推断类关注向量对应于少射输入对象所属的类。每个向量都会对所有RoI 特征进行通道式关注,从而引发类的检测或分割预测。为此,对 Faster/MaskR-CNN 预测器头进行了改造,以检测或分割参考 PRN 输入的对象,包括少发对象的类别,位置和结构信息。我们的框架完全可以归结为一个典型的元学习范式,鼓励使用 MetaR-CNN 这个名字
MetaR-CNN 是通用的 (可在 Faster/MaskR-CNN 中的各种骨干中使用),简单(轻量级 PRN)但有效(在少拍对象检测/分割中获得巨大的性能增益),并且仍然快速推理(类关注向量可以在测试之前进行预处理)。我们在 3 个基准、3 个主干上进行实验,用于少拍对象检测/分割。MetaR-CNN 在少拍小说类对象检测/分割方面取得了新的成就,更重要的是,在检测基类对象方面保持了竞争力。验证了 MetaR-CNN 显著提高了 Faster/MaskR-CNN 的泛化能力。
# 2. Related Work
少拍对象识别旨在在很少的相应标记训练示例的情况下识别新颖的视觉对象。视觉领域的最新研究主要分为基于贝叶斯方法,度量学习和元学习的三个流。贝叶斯方法[10,26]假定对象背后的相互组织规则,并设计概率模型来发现潜在变量之间的信息。相似性学习[25,37,39]倾向于认为同类别示例的特征应该比不同类之间的特征更相似。与它们不同,元学习[41,38,12,33,3,16,44,11]设计学习一个元学习器来参数化优化算法或预测分类器的参数,即所谓的“学习到学习”。最近的理论[1,23]表明,元学习器实现了泛化保证,吸引了大量研究来通过元学习技术解决很少的问题。然而,大多数现有的方法都集中在单目标识别上
基于神经网络的目标检测主要由两个求解器分支解决:一级/两级检测器。一级检测器尝试直接预测对象类别的边界框和检测置信度,包括 YOLO$\mathbb{E}[34]$ ,SSD$\mathbb{E}$
[28]和变体。R-CNN [14]系列[18,13,36,8]落人第二流。该方法应用 covnets 通过不同算法生成的区域建议对位置进行分类和回归[40,36] 。最近,少拍对象检测已从识别扩展到[4,22,21] 。[21] 遵循全图像元学习原理来解决这个问题。相反,我们在 Sec 3 中讨论了少拍对象识别和检测之间的相似性和差异,以合理地激励我们的 RoI 元学习方法
期望对象分割以像素方式分割图像中感兴趣的对象。领先的方法分为基于图像的和基于建议的。基于建议的方法[31,32,7,6]基于生成的区域建议预测对象蒙版,而基于图像的方法[48,49,45,2]在图像上生成像素级分割图以识别对象实例。在少射设置中的相关研究仍然缺乏
# 3. Tasks and Motivation
在引入 MetaR-CNN 之前,我们考虑了它旨在实现的少拍对象检测/分割任务。这些任务可以从激发我们方法的元学习方法中的少拍对象识别中得出。
# 3.1. Preliminary: few-shot visual object recognition by meta-learning 在少量 对象 识别中,学习器$h(;\boldsymbol{\theta})$从基类$C_\mathrm{base}$和
新类$C_{\mathrm{novel}}$接收训练数据。因此,数据可以分为两组: $D_{\mathrm{base}}=\{(\boldsymbol{x}_{i}^{\mathrm{base}},y_{i}^{\mathrm{base}})\}_{i=1}^{n_{1}}\sim P_{\mathrm{base}}$在每个基类中包含足够的样本;$D_\mathrm{novel}=\{(x_{i}^\mathrm{novel},y_{i}^\mathrm{novel})\}_{i=1}^{n_{2}}\sim P_\mathrm{novel}$在每个新颖类中包含很少的样本。$h(;\boldsymbol{\theta})$旨在对从$P_\mathrm{novel}$ 中提取的测试样本进行分类。值得注意的是,使用小数据集$D_\mathrm{novel}$训练$h(;\boldsymbol{\theta})$以识别$C_\mathrm{novel}$会遭受模型过拟合,而使用$D_\mathrm{base}\cup D_\mathrm{novel}$训练$h(;\boldsymbol{\theta})$仍然失败,这是由于$D_\mathrm{base}$和$D_\mathrm{novel}(n_2<<n_1)$
最近的智慧倾向于通过将其重新转换为元学习范式[41,42]来解决此问题,从而鼓励模型快速适应新任务(任务泛化),例如。g。,对$C_\mathrm{novel}$ 中的对象进行分类。在每个 iter 中,元学习范例绘制类$C_\mathrm{meta}\sim C_\mathrm{base}\cup C_\mathrm{novel}$ 的子集,因此,使用属于$C_\mathrm{meta}$的图像构造两个批次: 训练小批量$D_\mathrm{train}$和小尺寸元(参考)集$D_\mathrm{meta}$ (每个类中的少量样本)。鉴于此,元学习器$h(x_i,D_{\mathrm{meta}};\boldsymbol{\theta})$ 同时接收图像$x_i\sim D_{\mathrm{train}}$和整个$D_\mathrm{meta}$ ,然后进行训练以将$D_\mathrm{train}$分类为$C_\mathrm{meta}^{1}$。通过用$D_\mathrm{novel}$替换$D_{\mathrm{meta}}$ ,最近的理论[1,23]向元学习器提供了泛化范围,使 $h(,D_{\mathrm{novel}};\boldsymbol{\theta})$ 能够正确识别对象$\sim P_\mathrm{novel}$
3.2. Few-shot object detection / segmentation
从视觉识别到检测/分割,对对象的少量学习变得更加复杂:图像$x_i$可能包含不同类别,位置和形状的$n_i$对象$\{\boldsymbol{z}_{i,j}\}_{j=1}^{n_i}$。因此,少数学习者需要从其他对象和背景中识别出新颖的类对象$z_{i,j}^\mathrm{novel}$ ,然后预测其类$y_{i,j}^\mathrm{novel}$和结构标签$s_i,j^\mathrm{novel}($边界框或掩码)。大多数现有的检测/分割基线通过对$h(\boldsymbol{x}_i;\boldsymbol{\theta})$进行建模来解决这些问题,在少数场景中表现不佳。但是,元预测器
$^{1}$In a normal setup, meta-learning includes two phases, metatrain and meta-test. The frst phase only use a subset of $C_{\mathrm{base}}$ to train a meta-learner.
2
|
[
[
0.08416748046875,
0.0947265625,
0.46728515625,
0.0947265625,
0.46728515625,
0.10479736328125,
0.08416748046875,
0.10479736328125
],
[
0.50341796875,
0.091552734375,
0.8896484375,
0.0921630859375,
0.8896484375,
0.106689453125,
0.50341796875,
0.1060791015625
],
[
0.08087158203125,
0.10797119140625,
0.468017578125,
0.10797119140625,
0.468017578125,
0.121826171875,
0.08087158203125,
0.121826171875
],
[
0.51318359375,
0.10797119140625,
0.8896484375,
0.10797119140625,
0.8896484375,
0.121826171875,
0.51318359375,
0.121826171875
],
[
0.08416748046875,
0.125,
0.465576171875,
0.125,
0.465576171875,
0.1351318359375,
0.08416748046875,
0.1351318359375
],
[
0.5048828125,
0.12249755859375,
0.8896484375,
0.12249755859375,
0.8896484375,
0.1363525390625,
0.5048828125,
0.1363525390625
],
[
0.08251953125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08251953125,
0.1514892578125
],
[
0.50341796875,
0.1383056640625,
0.89208984375,
0.1383056640625,
0.89208984375,
0.1514892578125,
0.50341796875,
0.1514892578125
],
[
0.08416748046875,
0.1546630859375,
0.46728515625,
0.1546630859375,
0.46728515625,
0.1654052734375,
0.08416748046875,
0.1654052734375
],
[
0.5048828125,
0.1546630859375,
0.8896484375,
0.1546630859375,
0.8896484375,
0.1654052734375,
0.5048828125,
0.1654052734375
],
[
0.08251953125,
0.1685791015625,
0.468017578125,
0.1685791015625,
0.468017578125,
0.1817626953125,
0.08251953125,
0.1817626953125
],
[
0.50634765625,
0.169189453125,
0.8896484375,
0.169189453125,
0.8896484375,
0.179931640625,
0.50634765625,
0.179931640625
],
[
0.08416748046875,
0.1849365234375,
0.465576171875,
0.1849365234375,
0.465576171875,
0.1956787109375,
0.08416748046875,
0.1956787109375
],
[
0.50244140625,
0.1817626953125,
0.7197265625,
0.18310546875,
0.7197265625,
0.1962890625,
0.50244140625,
0.1956787109375
],
[
0.08251953125,
0.1988525390625,
0.46728515625,
0.1988525390625,
0.46728515625,
0.212158203125,
0.08251953125,
0.212158203125
],
[
0.52392578125,
0.199462890625,
0.890625,
0.199462890625,
0.890625,
0.21337890625,
0.52392578125,
0.21337890625
],
[
0.08251953125,
0.21337890625,
0.468017578125,
0.21337890625,
0.468017578125,
0.2266845703125,
0.08251953125,
0.2266845703125
],
[
0.5048828125,
0.2139892578125,
0.890625,
0.2139892578125,
0.890625,
0.2279052734375,
0.5048828125,
0.2279052734375
],
[
0.08087158203125,
0.2279052734375,
0.468017578125,
0.2279052734375,
0.468017578125,
0.2412109375,
0.08087158203125,
0.2412109375
],
[
0.50341796875,
0.2298583984375,
0.890625,
0.2298583984375,
0.890625,
0.24365234375,
0.50341796875,
0.24365234375
],
[
0.08251953125,
0.24365234375,
0.468017578125,
0.24365234375,
0.468017578125,
0.2568359375,
0.08251953125,
0.2568359375
],
[
0.50341796875,
0.2442626953125,
0.8896484375,
0.2442626953125,
0.8896484375,
0.25830078125,
0.50341796875,
0.25830078125
],
[
0.08251953125,
0.25830078125,
0.468017578125,
0.25830078125,
0.468017578125,
0.272705078125,
0.08251953125,
0.272705078125
],
[
0.5048828125,
0.260009765625,
0.890625,
0.260009765625,
0.890625,
0.2734375,
0.5048828125,
0.2734375
],
[
0.08087158203125,
0.2734375,
0.2442626953125,
0.2734375,
0.2442626953125,
0.287353515625,
0.08087158203125,
0.287353515625
],
[
0.5048828125,
0.276611328125,
0.5849609375,
0.276611328125,
0.5849609375,
0.28857421875,
0.5048828125,
0.28857421875
],
[
0.1004638671875,
0.2890625,
0.46728515625,
0.2890625,
0.46728515625,
0.302978515625,
0.1004638671875,
0.302978515625
],
[
0.08087158203125,
0.304931640625,
0.468017578125,
0.304931640625,
0.468017578125,
0.318115234375,
0.08087158203125,
0.318115234375
],
[
0.50244140625,
0.304931640625,
0.7158203125,
0.304931640625,
0.7158203125,
0.318115234375,
0.50244140625,
0.318115234375
],
[
0.08087158203125,
0.3193359375,
0.46728515625,
0.3193359375,
0.46728515625,
0.333251953125,
0.08087158203125,
0.333251953125
],
[
0.52392578125,
0.32763671875,
0.8896484375,
0.32763671875,
0.8896484375,
0.34228515625,
0.52392578125,
0.34228515625
],
[
0.08251953125,
0.335205078125,
0.468017578125,
0.335205078125,
0.468017578125,
0.348388671875,
0.08251953125,
0.348388671875
],
[
0.50341796875,
0.343505859375,
0.890625,
0.343505859375,
0.890625,
0.356689453125,
0.50341796875,
0.356689453125
],
[
0.08416748046875,
0.35107421875,
0.468017578125,
0.35107421875,
0.468017578125,
0.3642578125,
0.08416748046875,
0.3642578125
],
[
0.08087158203125,
0.3642578125,
0.465576171875,
0.365478515625,
0.465576171875,
0.37890625,
0.08087158203125,
0.37744140625
],
[
0.50341796875,
0.359130859375,
0.82177734375,
0.359130859375,
0.82177734375,
0.37255859375,
0.50341796875,
0.37255859375
],
[
0.08087158203125,
0.380126953125,
0.46728515625,
0.380126953125,
0.46728515625,
0.393310546875,
0.08087158203125,
0.393310546875
],
[
0.50244140625,
0.3818359375,
0.8896484375,
0.3818359375,
0.8896484375,
0.396484375,
0.50244140625,
0.396484375
],
[
0.08087158203125,
0.395751953125,
0.468017578125,
0.395751953125,
0.468017578125,
0.4091796875,
0.08087158203125,
0.4091796875
],
[
0.54150390625,
0.395751953125,
0.7099609375,
0.397705078125,
0.7099609375,
0.412353515625,
0.54150390625,
0.410400390625
],
[
0.08087158203125,
0.410400390625,
0.46728515625,
0.410400390625,
0.46728515625,
0.423583984375,
0.08087158203125,
0.423583984375
],
[
0.521484375,
0.412353515625,
0.890625,
0.41357421875,
0.890625,
0.427978515625,
0.521484375,
0.4267578125
],
[
0.08087158203125,
0.425537109375,
0.468017578125,
0.425537109375,
0.468017578125,
0.439453125,
0.08087158203125,
0.439453125
],
[
0.50341796875,
0.4287109375,
0.8935546875,
0.4287109375,
0.8935546875,
0.442626953125,
0.50341796875,
0.442626953125
],
[
0.08087158203125,
0.43994140625,
0.468017578125,
0.43994140625,
0.468017578125,
0.453857421875,
0.08087158203125,
0.453857421875
],
[
0.50341796875,
0.442626953125,
0.890625,
0.443115234375,
0.890625,
0.458251953125,
0.50341796875,
0.45703125
],
[
0.08087158203125,
0.455810546875,
0.468017578125,
0.455810546875,
0.468017578125,
0.4697265625,
0.08087158203125,
0.4697265625
],
[
0.50244140625,
0.453857421875,
0.8935546875,
0.455078125,
0.8935546875,
0.47607421875,
0.50244140625,
0.474853515625
],
[
0.08251953125,
0.4697265625,
0.1298828125,
0.4716796875,
0.1282958984375,
0.486083984375,
0.08087158203125,
0.484130859375
],
[
0.50341796875,
0.472900390625,
0.890625,
0.473388671875,
0.890625,
0.488037109375,
0.50341796875,
0.4873046875
],
[
0.098876953125,
0.486083984375,
0.468017578125,
0.486083984375,
0.468017578125,
0.50048828125,
0.098876953125,
0.50048828125
],
[
0.50341796875,
0.4892578125,
0.8896484375,
0.4892578125,
0.8896484375,
0.50244140625,
0.50341796875,
0.50244140625
],
[
0.08251953125,
0.501953125,
0.468017578125,
0.501953125,
0.468017578125,
0.51513671875,
0.08251953125,
0.51513671875
],
[
0.50244140625,
0.50390625,
0.890625,
0.50244140625,
0.890625,
0.517578125,
0.50244140625,
0.51806640625
],
[
0.08087158203125,
0.517578125,
0.468017578125,
0.517578125,
0.468017578125,
0.53076171875,
0.08087158203125,
0.53076171875
],
[
0.5048828125,
0.51953125,
0.890625,
0.51953125,
0.890625,
0.53271484375,
0.5048828125,
0.53271484375
],
[
0.08416748046875,
0.5341796875,
0.465576171875,
0.5341796875,
0.465576171875,
0.54443359375,
0.08416748046875,
0.54443359375
],
[
0.50341796875,
0.53515625,
0.7509765625,
0.53515625,
0.7509765625,
0.548828125,
0.50341796875,
0.548828125
],
[
0.08087158203125,
0.54736328125,
0.46728515625,
0.54736328125,
0.46728515625,
0.56103515625,
0.08087158203125,
0.56103515625
],
[
0.52294921875,
0.55029296875,
0.890625,
0.55029296875,
0.890625,
0.564453125,
0.52294921875,
0.564453125
],
[
0.08251953125,
0.5625,
0.468017578125,
0.5625,
0.468017578125,
0.57568359375,
0.08251953125,
0.57568359375
],
[
0.5048828125,
0.56494140625,
0.8896484375,
0.56494140625,
0.8896484375,
0.5791015625,
0.5048828125,
0.5791015625
],
[
0.08087158203125,
0.57763671875,
0.468017578125,
0.57763671875,
0.468017578125,
0.59130859375,
0.08087158203125,
0.59130859375
],
[
0.5009765625,
0.580078125,
0.890625,
0.58056640625,
0.890625,
0.59521484375,
0.5009765625,
0.5947265625
],
[
0.08251953125,
0.59228515625,
0.46728515625,
0.59228515625,
0.46728515625,
0.60595703125,
0.08251953125,
0.60595703125
],
[
0.50244140625,
0.5947265625,
0.88818359375,
0.59521484375,
0.88818359375,
0.60986328125,
0.50244140625,
0.609375
],
[
0.08087158203125,
0.60693359375,
0.371826171875,
0.60693359375,
0.371826171875,
0.62060546875,
0.08087158203125,
0.62060546875
],
[
0.5048828125,
0.611328125,
0.890625,
0.611328125,
0.890625,
0.625,
0.5048828125,
0.625
],
[
0.50341796875,
0.625,
0.88818359375,
0.62548828125,
0.88818359375,
0.64013671875,
0.50341796875,
0.6396484375
],
[
0.080078125,
0.63720703125,
0.2279052734375,
0.63720703125,
0.2279052734375,
0.65087890625,
0.080078125,
0.65087890625
],
[
0.50341796875,
0.64013671875,
0.88623046875,
0.64013671875,
0.88623046875,
0.65380859375,
0.50341796875,
0.65380859375
],
[
0.101318359375,
0.66015625,
0.468017578125,
0.66015625,
0.468017578125,
0.673828125,
0.101318359375,
0.673828125
],
[
0.5048828125,
0.6572265625,
0.8896484375,
0.6572265625,
0.8896484375,
0.67041015625,
0.5048828125,
0.67041015625
],
[
0.08087158203125,
0.6748046875,
0.468017578125,
0.6748046875,
0.468017578125,
0.68798828125,
0.08087158203125,
0.68798828125
],
[
0.50341796875,
0.67041015625,
0.890625,
0.671875,
0.890625,
0.68603515625,
0.50341796875,
0.68505859375
],
[
0.08251953125,
0.68994140625,
0.46728515625,
0.68994140625,
0.46728515625,
0.7041015625,
0.08251953125,
0.7041015625
],
[
0.5048828125,
0.68603515625,
0.890625,
0.68603515625,
0.890625,
0.70068359375,
0.5048828125,
0.70068359375
],
[
0.50341796875,
0.70068359375,
0.8486328125,
0.7021484375,
0.8486328125,
0.71630859375,
0.50341796875,
0.71533203125
],
[
0.08251953125,
0.70703125,
0.46728515625,
0.70703125,
0.46728515625,
0.71728515625,
0.08251953125,
0.71728515625
],
[
0.08251953125,
0.72021484375,
0.46728515625,
0.72021484375,
0.46728515625,
0.734375,
0.08251953125,
0.734375
],
[
0.50244140625,
0.7236328125,
0.85107421875,
0.724609375,
0.85107421875,
0.7392578125,
0.50244140625,
0.73779296875
],
[
0.08251953125,
0.73486328125,
0.46728515625,
0.73486328125,
0.46728515625,
0.74853515625,
0.08251953125,
0.74853515625
],
[
0.52392578125,
0.74365234375,
0.88818359375,
0.74365234375,
0.88818359375,
0.75390625,
0.52392578125,
0.75390625
],
[
0.08087158203125,
0.75,
0.46728515625,
0.75048828125,
0.46728515625,
0.7646484375,
0.08087158203125,
0.76318359375
],
[
0.5048828125,
0.7587890625,
0.88818359375,
0.7587890625,
0.88818359375,
0.76953125,
0.5048828125,
0.76953125
],
[
0.08251953125,
0.76513671875,
0.465576171875,
0.76513671875,
0.465576171875,
0.77880859375,
0.08251953125,
0.77880859375
],
[
0.50244140625,
0.77294921875,
0.890625,
0.77294921875,
0.890625,
0.787109375,
0.50244140625,
0.787109375
],
[
0.08416748046875,
0.7822265625,
0.46728515625,
0.7822265625,
0.46728515625,
0.79248046875,
0.08416748046875,
0.79248046875
],
[
0.50341796875,
0.79052734375,
0.7685546875,
0.79052734375,
0.7685546875,
0.8037109375,
0.50341796875,
0.8037109375
],
[
0.76953125,
0.79052734375,
0.77685546875,
0.79052734375,
0.77685546875,
0.79443359375,
0.76953125,
0.79443359375
],
[
0.77685546875,
0.79150390625,
0.8896484375,
0.79150390625,
0.8896484375,
0.8017578125,
0.77685546875,
0.8017578125
],
[
0.5009765625,
0.8017578125,
0.89208984375,
0.80029296875,
0.89208984375,
0.8212890625,
0.5009765625,
0.82275390625
],
[
0.08251953125,
0.79541015625,
0.468017578125,
0.79541015625,
0.468017578125,
0.8095703125,
0.08251953125,
0.8095703125
],
[
0.08251953125,
0.8125,
0.46728515625,
0.8125,
0.46728515625,
0.82275390625,
0.08251953125,
0.82275390625
],
[
0.08087158203125,
0.82568359375,
0.46728515625,
0.82568359375,
0.46728515625,
0.8388671875,
0.08087158203125,
0.8388671875
],
[
0.5048828125,
0.82080078125,
0.890625,
0.82080078125,
0.890625,
0.83544921875,
0.5048828125,
0.83544921875
],
[
0.5048828125,
0.8359375,
0.890625,
0.8359375,
0.890625,
0.849609375,
0.5048828125,
0.849609375
],
[
0.08251953125,
0.84228515625,
0.146240234375,
0.84228515625,
0.146240234375,
0.85302734375,
0.08251953125,
0.85302734375
],
[
0.1004638671875,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.1004638671875,
0.87060546875
],
[
0.51953125,
0.86279296875,
0.8896484375,
0.86279296875,
0.8896484375,
0.876953125,
0.51953125,
0.876953125
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.50341796875,
0.87548828125,
0.8896484375,
0.87548828125,
0.8896484375,
0.8896484375,
0.50341796875,
0.8896484375
],
[
0.08087158203125,
0.88623046875,
0.4697265625,
0.88525390625,
0.4697265625,
0.8994140625,
0.08087158203125,
0.90087890625
],
[
0.5048828125,
0.8896484375,
0.646484375,
0.8896484375,
0.646484375,
0.8994140625,
0.5048828125,
0.8994140625
],
[
0.48046875,
0.9248046875,
0.491943359375,
0.9248046875,
0.491943359375,
0.9375,
0.48046875,
0.9375
]
] |
[
"方法来实现少拍对象的检测和分割:我们提出了一种",
"[28】和变体。R-CNN[14]系列[18,13,36,8]落人第",
"新颖的元学习范式,该范式基于Faster/MaskR-CNN",
"二流。该方法应用covnets通过不同算法生成的区域建",
"36,17产生的RoI(感兴趣区域)特征。更快/MaskR",
"议对位置进行分类和回归「40,36。最近,少拍对象",
"CNN应该用相当多的标记对象进行训练,并且不适合",
"检测已从识别扩展到4,22,21]。[21]遵循全图像元",
"用于少拍对象检测。现有的元学习技术在少数镜头识",
"学习原理来解决这个问题。相反,我们在Sec3中讨论",
"别方面非常强大,而它们的成功主要基于识别单个对",
"了少拍对象识别和检测之间的相似性和差异,以合理",
"象。给定具有在背景中合并的多对象信息的图像,它",
"地激励我们的RoI元学习方法",
"们几乎失败,因为元优化无法解开这种复杂的信息。",
"期望对象分割以像素方式分割图像中感兴趣的对象。",
"但有趣的是,我们发现混合的未发现对象可以通过",
"领先的方法分为基于图像的和基于建议的。基于建议",
"Faster/MaskR-CNN中第一阶段推理产生的RoI功能",
"的方法[31,32,7,6]基于生成的区域建议预测对象蒙",
"进行“预处理”。每个RoI功能都指的是单个对象或背",
"版,而基于图像的方法「48,49,45,21在图像上生成像",
"景,因此Faster/MaskR-CNN可能会解开大多数元学",
"素级分割图以识别对象实例。在少射设置中的相关研",
"习者所遭受的复杂信息",
"究仍然缺乏",
"我们的观察激发了Faster/MaskR-CNN与元学习之",
"间的联姻。具体来说,我们通过引人预测器头重塑网",
"3. Tasks and Motivation",
"络(PRN)来扩展Faster/MaskR-CNN。PRN是完全",
"在引人MetaR-CNN之前,我们考虑了它旨在实现",
"卷积的,并与Faster/MaskR-CNN共享主干网的参数。",
"的少拍对象检测/分割任务。这些任务可以从激发我们",
"与R-CNN对应物不同,PRN接收从基类和新类中提",
"取的带有bbox或mask的少射对象,推断类关注向量",
"方法的元学习方法中的少拍对象识别中得出。",
"对应于少射输人对象所属的类。每个向量都会对所有",
"3.1. Preliminary: few-shot visual object recogni-",
"RoI特征进行通道式关注,从而引发类的检测或分割预",
"tion by meta-learning",
"测。为此,对Faster/MaskR-CNN预测器头进行了改",
"在少量对象识别中,学习器h(;の)从基类Cbase和",
"造,以检测或分割参考PRN输人的对象,包括少发对",
"新类Cnovel接收训练数据。因此,数据可以分为两组:",
"象的类别,位置和结构信息。我们的框架完全可以归结",
"Dbase=【(cbase,ybase)】n,~Pbase在每个基类中包含",
"为一个典型的元学习范式,鼓励使用MetaR-CNN这",
"足够的样本;Dnovel =((acpovel, yrovel),~ Puovel在",
"个名字",
"每个新颖类中包含很少的样本。h(;の)旨在对从Pnovel",
"MetaR-CNN是通用的(可在Faster/MaskR-CNN",
"中提取的测试样本进行分类。值得注意的是,使用小数",
"中的各种骨干中使用),简单(轻量级PRN)但有效",
"据集Dnovel训练h(;の)以识别Cnovel会遭受模型过拟",
"(在少拍对象检测/分割中获得巨大的性能增益),并且",
"合,而使用DbaseUDnovel训练h(;の)仍然失败,这是",
"仍然快速推理(类关注向量可以在测试之前进行预处",
"由于 Dbase 和 Dnovel (n2 << n1)",
"理)。我们在3个基准、3个主干上进行实验,用于少",
"最近的智慧倾向于通过将其重新转换为元学习范式",
"拍对象检测/分割。MetaR-CNN在少拍小说类对象检",
"[41,42】来解决此问题,从而鼓励模型快速适应新任务",
"测/分割方面取得了新的成就,更重要的是,在检测基",
"(任务泛化),例如。g。,对Cnovel中的对象进行分类。在",
"类对象方面保持了竞争力。验证了MetaR-CNN显著",
"每个iter中,元学习范例绘制类Cmeta~CbaseUCnove",
"提高了Faster/MaskR-CNN的泛化能力。",
"的子集,因此,使用属于Cmeta的图像构造两个批次",
"训练小批量Dtrain和小尺寸元(参考)集Dmeta(每个",
"2. Related Work",
"类中的少量样本)。鉴于此,元学习器h(ai,Dmeta;0",
"少拍对象识别旨在在很少的相应标记训练示例的",
"同时接收图像ai~Dtrain和整个Dmeta,然后进行",
"情况下识别新颖的视觉对象。视觉领域的最新研究",
"训练以将Dtrain分类为Cmeta1。通过用Dnovel替换",
"主要分为基于贝叶斯方法,度量学习和元学习的三个",
"Dmeta,最近的理论1,23]向元学习器提供了泛化范",
"围,使h(,Dnovel;の)能够正确识别对象~Pnovel",
"流。贝叶斯方法10,26假定对象背后的相互组织规",
"则,并设计概率模型来发现潜在变量之间的信息。相",
"3.2. Few-shot object detection / segmentation",
"似性学习[25,37,39]倾向于认为同类别示例的特征",
"从视觉识别到检测/分割,对对象的少量学习变得更",
"应该比不同类之间的特征更相似。与它们不同,元学",
"加复杂:图像3可能包含不同类别,位置和形状的",
"习[41,38,12,33,3,16,44,11]设计学习一个元学习",
"ni对象【zi,]=1。因此,少数学习者需要从其他对",
"器来参数化优化算法或预测分类器的参数,即所谓的",
"象和背景中识别出新颖的类对象z",
"U",
",然后预测其",
"类 yrovel和结构标签 szovel(边界框或掩码)。大多数",
"“学习到学习”。最近的理论[1,23]表明,元学习器实",
"现了泛化保证,吸引了大量研究来通过元学习技术解",
"决很少的问题。然而,大多数现有的方法都集中在单目",
"现有的检测/分割基线通过对h(αi;の)进行建模来解决",
"这些问题,在少数场景中表现不佳。但是,元预测器",
"标识别上",
"基于神经网络的目标检测主要由两个求解器分支解",
"IIn a normal setup, meta-learning includes two phases, meta-",
"决:一级/两级检测器。一级检测器尝试直接预测对象类",
"train and meta-test . The first phase only use a subset of Cbase",
"别的边界框和检测置信度,包括YOLOE[34],SSDE",
"to train a meta-learner.",
"2"
] |
{
"arxiv_id": "1909.13032",
"language": "zh",
"page_idx": 1
}
|
||
1909.13032-zh-2
|
1909.13032-zh-2.jpg
|
<FigureHere>
Figure 2. Our Meta R-CNN consists of 1) Faster/ Mask R-CNN; 2) Predictor-head Remodeling Network (PRN). Faster/ Mask R-CNN ( module) receives an im- age to produce RoI features, by taking RoIAlign on the image region proposals extracted by RPN. In parallel, our PRN receives $K$ -shot- $m$ -class resized images with their structure labels (bounding boxes/segmentaion masks) to infer $m$ class-attentive vectors. Given a class attentive vector representing class $c$ , it takes a channel-wise soft-attention on each RoI feature, encouraging the Faster/ Mask R-CNN predictor heads to detect or segment class- $c$ objects based on the RoI features in the image. As the class $c$ is dynamically determined by the inputs of PRN, Meta R-CNN is a metalearner.
RoIAlign $^{\color{red}2}$之后从$\hat{n}_i$对象区域建议中提取 RoI (感兴趣区域)特征$\left\{\hat{z}_{i,j}\right\}_{j=1}^{\hat{n}_{i}}$,从而使其预测器头$h(\hat{z}_{i,j},\boldsymbol{\theta})$ 能够对$x_i$的 RoI 特征$\hat{z}_{i,j}$后面的对象 XMATHX\_ MaskR-CNN 通过在预测器头$h(\cdot,\boldsymbol{\theta})$中添加并行掩码分支来激活 FasterR-CNN 中的分割能力。由于我们在Faster/MaskR-CNN 中应用了相同的技术,因此我们通过$h(\cdot,\boldsymbol{\theta})$统一了它们的预测器头
如前所述,Faster/MaskR-CNN 中的预测器头$h(\cdot,\boldsymbol{\theta})$ 不适合进行少拍对象检测/分割。为此,我们提出将$h(\cdot,\boldsymbol{\theta})$重塑为元预测器头$h(\cdot,D_\mathrm{meta};\boldsymbol{\theta})$的 PRN。
4.2. Predictor-head Remodeling Network (PRN)
$h(\boldsymbol{x}_i,D_\mathrm{meta};\boldsymbol{\theta})$也不合适,因为$x_i$包含在不同背景中
合并的多对象复杂信息
动机。用于少拍对象检测/分割的元学习的真正目标是对$h(\boldsymbol{z}_{i,j},D_{\mathrm{meta}};\boldsymbol{\theta})$而不是$h(\boldsymbol{x}_i,D_{\mathrm{meta}};\boldsymbol{\theta})$进行建模 。由 于 视 觉 对 象 $\{ z_{i, j}\} _{j= 1}^{n_i}$ 彼 此 混 合 并 与 $x_i$ 中 的 背 景 合 并 , 因 此 使 用 $\{ z_{i, j}\} _{j= 1}^{n_i}$ 进 行 元 学 习 是 棘 手 的 。如 尔 布 亚 的 $\mathbb{R}$ 对 此 带 可 以 上何在两阶段检测模型中,e。g。, 更快/掩码 R-CNN, 多对象及其背景信息可以解开为 RoI (感兴趣区域)特征$\{ \hat{z} _{i, j}\} _{j= 1}^{\hat{n} _i}$ ,这些特征是通过在区域提议网络(RPN)提取的图像区域提议上采用 RoIAlign 产生的。这些 RoI 特征被馈送到第二级预测器头中,以实现$\{\boldsymbol z_{i,j}\}_{j=1}^{n_i}$的基于 RoI 的对象分类,位置定位和轮廓分割。鉴于此, 最好将 R-CNN 预测器头重新建模为$h( \hat{\boldsymbol{z}} _{i, j}, D_{\mathrm{meta}}; \boldsymbol{\theta })$ , 以对每个感兴趣区域(RoI)特征$\hat{z}_{i,j}$后面的对象$z_i,j$ 进行分类,定位和分割
设计$h(\cdot,D_\mathrm{meta};\boldsymbol{\theta})$的一种简单方法是学习$\boldsymbol{\theta}$来预测最佳参数$w.r.t.$任意元集合$D_\mathrm{meta}$,如[43] 。这种明确的“学习学习”方式对体系结构很敏感,并且放弃了 Faster/MaskR-CNN 中的$h(\cdot,\boldsymbol{\theta})$ 。相反,我们的工作受到 SNAIL [30] 的简洁精神的启发,因此,结合了特定于类的软注意力向量,以在$\left\{\boldsymbol z_{i,j}\right\}_{j=1}^{\hat{n}_i}\left[5\right]$中的每个 RoI 特征上实现通道方式的特征选择。这种软注意机制是通过 PRN 从元集$D_\mathrm{meta}$中的对象推断出的类注意向量$v^\mathrm{meta}$实现的。特别是,假设 PRN 表示为$v^\mathrm{meta}= f( D_\mathrm{meta}; \phi )$ ,给定属于图像 $x_i$ 的每个 RoI 特征$\hat{z} _{i, j}$ ,它保持
## 4. Meta R-CNN
针对感兴趣区域 (RoI) 的元学习 , MetaR-CNN 在概念上很简单:其管道由 1)组成。Faster/MaskR-CNN;2)。预测器头重构网络 (PRN)。Faster/MaskR-CNN 通过其区域提案网络 (RPN) 生成对象提案$\{\hat{z}_{i,j}\}_{j=1}^{n_i}$。然后,每个$\hat{z}_{i,j}$与我们的 PRN 推断的类关注向量结合在一起,后者起着$h(,D_\mathrm{meta};\boldsymbol{\theta})$的作用,以检测或分割新颖的类对象。MetaR-CNN 框架如图 2 所示,我们从Faster/MaskR-CNN 开始详细说明
$$\begin{aligned}h(\hat{\boldsymbol{z}}_{i,j},D_{\mathrm{meta}};\boldsymbol{\theta}^{\prime})&=h(\hat{\boldsymbol{z}}_{i,j}\otimes\boldsymbol{v}^{\mathrm{meta}},\boldsymbol{\theta})\\&=h(\hat{\boldsymbol{z}}_{i,j}\otimes f(D_{\mathrm{meta}};\boldsymbol{\phi}),\boldsymbol{\theta})\end{aligned}$$
(1)
其中$\theta,\phi$表示 Faster/MaskR-CNN 和我们的XMATHX-1 的参数。。Eq 1 暗示 PRN 在原理上将$h(\cdot,\boldsymbol{\theta})$重塑为$h(\cdot,D_\mathrm{meta};\boldsymbol{\theta})$ 。它直观,应用灵活,并允许与其 Faster/MaskR-CNN 对应方进行端到端联合训练
## $4. 1. \textbf{ Review the R- CNN family}$
更快的 R-CNN 系统被称为两级管道。第一阶段是区域提议网络(RPN),接收图像$x_i$以在该图像中产生候选对象边界框(所谓的对象区域提议)。第二阶段,我。e。, FastR-CNN[13],共享 RPN 主干,以在
${\sqrt{2\text{RoIAlign operation is}}}$frst introduced by Mask R-CNN yet can be used by Faster R-CNN. Faster R-CNNs in our work are based on RoIAlign.
3
|
[
[
0.62353515625,
0.0889892578125,
0.890625,
0.0889892578125,
0.890625,
0.1029052734375,
0.62353515625,
0.1029052734375
],
[
0.62158203125,
0.10418701171875,
0.89208984375,
0.10418701171875,
0.89208984375,
0.117431640625,
0.62158203125,
0.117431640625
],
[
0.62353515625,
0.117431640625,
0.890625,
0.117431640625,
0.890625,
0.1307373046875,
0.62353515625,
0.1307373046875
],
[
0.62158203125,
0.1300048828125,
0.890625,
0.1300048828125,
0.890625,
0.143310546875,
0.62158203125,
0.143310546875
],
[
0.483642578125,
0.14453125,
0.5498046875,
0.14453125,
0.5498046875,
0.1546630859375,
0.483642578125,
0.1546630859375
],
[
0.62109375,
0.1458740234375,
0.890625,
0.14453125,
0.890625,
0.1590576171875,
0.62109375,
0.160400390625
],
[
0.47802734375,
0.1546630859375,
0.5537109375,
0.154052734375,
0.5537109375,
0.1654052734375,
0.47802734375,
0.1666259765625
],
[
0.62109375,
0.1578369140625,
0.890625,
0.1590576171875,
0.890625,
0.173583984375,
0.62109375,
0.17236328125
],
[
0.0882568359375,
0.1685791015625,
0.16015625,
0.1685791015625,
0.16015625,
0.179931640625,
0.0882568359375,
0.179931640625
],
[
0.365234375,
0.1717529296875,
0.39208984375,
0.1717529296875,
0.39208984375,
0.18310546875,
0.365234375,
0.18310546875
],
[
0.5009765625,
0.1685791015625,
0.560546875,
0.1685791015625,
0.560546875,
0.1787109375,
0.5009765625,
0.1787109375
],
[
0.62109375,
0.17236328125,
0.89208984375,
0.1717529296875,
0.89208984375,
0.186279296875,
0.62109375,
0.1875
],
[
0.101318359375,
0.179931640625,
0.1478271484375,
0.179931640625,
0.1478271484375,
0.1900634765625,
0.101318359375,
0.1900634765625
],
[
0.62158203125,
0.1875,
0.89208984375,
0.1875,
0.89208984375,
0.2008056640625,
0.62158203125,
0.2008056640625
],
[
0.62158203125,
0.2008056640625,
0.89208984375,
0.2008056640625,
0.89208984375,
0.21533203125,
0.62158203125,
0.21533203125
],
[
0.5087890625,
0.208984375,
0.54833984375,
0.208984375,
0.54833984375,
0.21337890625,
0.5087890625,
0.21337890625
],
[
0.54736328125,
0.20703125,
0.560546875,
0.20703125,
0.560546875,
0.210205078125,
0.54736328125,
0.210205078125
],
[
0.5185546875,
0.216552734375,
0.5458984375,
0.216552734375,
0.5458984375,
0.2247314453125,
0.5185546875,
0.2247314453125
],
[
0.625,
0.216552734375,
0.890625,
0.216552734375,
0.890625,
0.2266845703125,
0.625,
0.2266845703125
],
[
0.62158203125,
0.2291259765625,
0.89208984375,
0.2291259765625,
0.89208984375,
0.242431640625,
0.62158203125,
0.242431640625
],
[
0.62353515625,
0.242431640625,
0.89208984375,
0.242431640625,
0.89208984375,
0.255615234375,
0.62353515625,
0.255615234375
],
[
0.62353515625,
0.255615234375,
0.89208984375,
0.255615234375,
0.89208984375,
0.26953125,
0.62353515625,
0.26953125
],
[
0.08660888671875,
0.271484375,
0.240234375,
0.272705078125,
0.240234375,
0.2841796875,
0.08660888671875,
0.28271484375
],
[
0.378173828125,
0.274658203125,
0.44677734375,
0.274658203125,
0.44677734375,
0.285400390625,
0.378173828125,
0.285400390625
],
[
0.62353515625,
0.26953125,
0.89208984375,
0.26953125,
0.89208984375,
0.28271484375,
0.62353515625,
0.28271484375
],
[
0.12091064453125,
0.28271484375,
0.20751953125,
0.28271484375,
0.20751953125,
0.294189453125,
0.12091064453125,
0.294189453125
],
[
0.30810546875,
0.27978515625,
0.346435546875,
0.27978515625,
0.346435546875,
0.290283203125,
0.30810546875,
0.290283203125
],
[
0.393798828125,
0.285888671875,
0.43701171875,
0.285888671875,
0.43701171875,
0.296630859375,
0.393798828125,
0.296630859375
],
[
0.62353515625,
0.285400390625,
0.890625,
0.285400390625,
0.890625,
0.29541015625,
0.62353515625,
0.29541015625
],
[
0.396240234375,
0.296630859375,
0.431396484375,
0.296630859375,
0.431396484375,
0.3037109375,
0.396240234375,
0.3037109375
],
[
0.62158203125,
0.29736328125,
0.89208984375,
0.29736328125,
0.89208984375,
0.311279296875,
0.62158203125,
0.311279296875
],
[
0.1993408203125,
0.31005859375,
0.2091064453125,
0.31005859375,
0.2091064453125,
0.313232421875,
0.1993408203125,
0.313232421875
],
[
0.2320556640625,
0.31005859375,
0.2548828125,
0.3125,
0.253173828125,
0.3193359375,
0.2303466796875,
0.317626953125
],
[
0.62158203125,
0.311279296875,
0.89208984375,
0.311279296875,
0.89208984375,
0.324462890625,
0.62158203125,
0.324462890625
],
[
0.42724609375,
0.313232421875,
0.43701171875,
0.313232421875,
0.43701171875,
0.32080078125,
0.42724609375,
0.32080078125
],
[
0.1380615234375,
0.313232421875,
0.1690673828125,
0.313232421875,
0.1690673828125,
0.32080078125,
0.1380615234375,
0.32080078125
],
[
0.495849609375,
0.314453125,
0.5986328125,
0.314453125,
0.5986328125,
0.324462890625,
0.495849609375,
0.324462890625
],
[
0.275390625,
0.323974609375,
0.281982421875,
0.323974609375,
0.281982421875,
0.326904296875,
0.275390625,
0.326904296875
],
[
0.5107421875,
0.323974609375,
0.58642578125,
0.323974609375,
0.58642578125,
0.333984375,
0.5107421875,
0.333984375
],
[
0.62353515625,
0.326904296875,
0.890625,
0.326904296875,
0.890625,
0.337158203125,
0.62353515625,
0.337158203125
],
[
0.42724609375,
0.337158203125,
0.435546875,
0.34033203125,
0.4306640625,
0.348388671875,
0.42236328125,
0.34521484375
],
[
0.62158203125,
0.339111328125,
0.890625,
0.339111328125,
0.890625,
0.352783203125,
0.62158203125,
0.352783203125
],
[
0.62158203125,
0.352783203125,
0.67236328125,
0.354736328125,
0.67236328125,
0.3662109375,
0.62158203125,
0.3642578125
],
[
0.08087158203125,
0.39453125,
0.46728515625,
0.39453125,
0.46728515625,
0.40771484375,
0.08087158203125,
0.40771484375
],
[
0.50244140625,
0.392578125,
0.890625,
0.393310546875,
0.890625,
0.40771484375,
0.50244140625,
0.4072265625
],
[
0.08251953125,
0.410400390625,
0.2442626953125,
0.410400390625,
0.2442626953125,
0.423583984375,
0.08251953125,
0.423583984375
],
[
0.50244140625,
0.40771484375,
0.890625,
0.40771484375,
0.890625,
0.425537109375,
0.50244140625,
0.425537109375
],
[
0.101318359375,
0.4287109375,
0.465576171875,
0.4287109375,
0.465576171875,
0.442626953125,
0.101318359375,
0.442626953125
],
[
0.5048828125,
0.4248046875,
0.8759765625,
0.4248046875,
0.8759765625,
0.438232421875,
0.5048828125,
0.438232421875
],
[
0.5009765625,
0.438232421875,
0.890625,
0.439453125,
0.890625,
0.453857421875,
0.5009765625,
0.45263671875
],
[
0.08087158203125,
0.4443359375,
0.468017578125,
0.4443359375,
0.468017578125,
0.458251953125,
0.08087158203125,
0.458251953125
],
[
0.080078125,
0.458251953125,
0.4697265625,
0.458251953125,
0.4697265625,
0.47607421875,
0.080078125,
0.47607421875
],
[
0.50341796875,
0.455078125,
0.890625,
0.455078125,
0.890625,
0.4697265625,
0.50341796875,
0.4697265625
],
[
0.50244140625,
0.468505859375,
0.89208984375,
0.4697265625,
0.89208984375,
0.484130859375,
0.50244140625,
0.48291015625
],
[
0.08087158203125,
0.474853515625,
0.4697265625,
0.474853515625,
0.4697265625,
0.492431640625,
0.08087158203125,
0.492431640625
],
[
0.080078125,
0.490478515625,
0.468017578125,
0.4892578125,
0.468017578125,
0.50390625,
0.080078125,
0.5048828125
],
[
0.50341796875,
0.48486328125,
0.7548828125,
0.48486328125,
0.7548828125,
0.498779296875,
0.50341796875,
0.498779296875
],
[
0.08087158203125,
0.505859375,
0.46728515625,
0.505859375,
0.46728515625,
0.51953125,
0.08087158203125,
0.51953125
],
[
0.52392578125,
0.50048828125,
0.890625,
0.50048828125,
0.890625,
0.5146484375,
0.52392578125,
0.5146484375
],
[
0.08087158203125,
0.51953125,
0.468017578125,
0.51806640625,
0.468017578125,
0.5361328125,
0.08087158203125,
0.537109375
],
[
0.50341796875,
0.51513671875,
0.890625,
0.51513671875,
0.890625,
0.52880859375,
0.50341796875,
0.52880859375
],
[
0.50244140625,
0.52978515625,
0.8505859375,
0.52880859375,
0.8505859375,
0.54345703125,
0.50244140625,
0.54443359375
],
[
0.08087158203125,
0.5361328125,
0.468017578125,
0.5361328125,
0.468017578125,
0.5498046875,
0.08087158203125,
0.5498046875
],
[
0.080078125,
0.5498046875,
0.4697265625,
0.5498046875,
0.4697265625,
0.5673828125,
0.080078125,
0.5673828125
],
[
0.50341796875,
0.548828125,
0.8759765625,
0.548828125,
0.8759765625,
0.5625,
0.50341796875,
0.5625
],
[
0.08251953125,
0.56640625,
0.468017578125,
0.56640625,
0.468017578125,
0.580078125,
0.08251953125,
0.580078125
],
[
0.52392578125,
0.564453125,
0.890625,
0.564453125,
0.890625,
0.57763671875,
0.52392578125,
0.57763671875
],
[
0.080078125,
0.580078125,
0.471435546875,
0.58056640625,
0.471435546875,
0.59521484375,
0.080078125,
0.5947265625
],
[
0.5048828125,
0.5791015625,
0.8896484375,
0.5791015625,
0.8896484375,
0.59326171875,
0.5048828125,
0.59326171875
],
[
0.08087158203125,
0.5966796875,
0.468017578125,
0.5966796875,
0.468017578125,
0.611328125,
0.08087158203125,
0.611328125
],
[
0.50341796875,
0.59326171875,
0.890625,
0.59326171875,
0.890625,
0.60693359375,
0.50341796875,
0.60693359375
],
[
0.08087158203125,
0.611328125,
0.2459716796875,
0.611328125,
0.2459716796875,
0.62548828125,
0.08087158203125,
0.62548828125
],
[
0.50634765625,
0.60791015625,
0.8896484375,
0.60791015625,
0.8896484375,
0.6220703125,
0.50634765625,
0.6220703125
],
[
0.50341796875,
0.62255859375,
0.88818359375,
0.62353515625,
0.88818359375,
0.63818359375,
0.50341796875,
0.63720703125
],
[
0.50341796875,
0.6396484375,
0.890625,
0.6396484375,
0.890625,
0.65380859375,
0.50341796875,
0.65380859375
],
[
0.08087158203125,
0.65087890625,
0.223876953125,
0.65087890625,
0.223876953125,
0.66552734375,
0.08087158203125,
0.66552734375
],
[
0.5048828125,
0.65380859375,
0.890625,
0.65380859375,
0.890625,
0.66748046875,
0.5048828125,
0.66748046875
],
[
0.5048828125,
0.66943359375,
0.890625,
0.66943359375,
0.890625,
0.68310546875,
0.5048828125,
0.68310546875
],
[
0.1004638671875,
0.67822265625,
0.468017578125,
0.67822265625,
0.468017578125,
0.69140625,
0.1004638671875,
0.69140625
],
[
0.50341796875,
0.681640625,
0.89208984375,
0.681640625,
0.89208984375,
0.69970703125,
0.50341796875,
0.69970703125
],
[
0.08087158203125,
0.693359375,
0.468017578125,
0.693359375,
0.468017578125,
0.70703125,
0.08087158203125,
0.70703125
],
[
0.5009765625,
0.6962890625,
0.89208984375,
0.69775390625,
0.89208984375,
0.71533203125,
0.5009765625,
0.7138671875
],
[
0.080078125,
0.70703125,
0.468017578125,
0.70849609375,
0.468017578125,
0.72265625,
0.080078125,
0.7216796875
],
[
0.50341796875,
0.71533203125,
0.62353515625,
0.71533203125,
0.62353515625,
0.72998046875,
0.50341796875,
0.72998046875
],
[
0.08087158203125,
0.7236328125,
0.468017578125,
0.7236328125,
0.468017578125,
0.73779296875,
0.08087158203125,
0.73779296875
],
[
0.08087158203125,
0.74072265625,
0.46728515625,
0.74072265625,
0.46728515625,
0.75390625,
0.08087158203125,
0.75390625
],
[
0.53369140625,
0.73779296875,
0.7958984375,
0.73779296875,
0.7958984375,
0.75244140625,
0.53369140625,
0.75244140625
],
[
0.86767578125,
0.74853515625,
0.89208984375,
0.74853515625,
0.89208984375,
0.76220703125,
0.86767578125,
0.76220703125
],
[
0.08087158203125,
0.755859375,
0.468017578125,
0.755859375,
0.468017578125,
0.76953125,
0.08087158203125,
0.76953125
],
[
0.65185546875,
0.75830078125,
0.8408203125,
0.7568359375,
0.8408203125,
0.771484375,
0.65185546875,
0.77294921875
],
[
0.080078125,
0.76953125,
0.468017578125,
0.77099609375,
0.468017578125,
0.78515625,
0.080078125,
0.7841796875
],
[
0.07843017578125,
0.7841796875,
0.330078125,
0.78515625,
0.330078125,
0.7998046875,
0.07843017578125,
0.798828125
],
[
0.51953125,
0.78076171875,
0.890625,
0.78076171875,
0.890625,
0.79541015625,
0.51953125,
0.79541015625
],
[
0.50341796875,
0.796875,
0.890625,
0.796875,
0.890625,
0.81103515625,
0.50341796875,
0.81103515625
],
[
0.080078125,
0.818359375,
0.316162109375,
0.818359375,
0.316162109375,
0.83203125,
0.080078125,
0.83203125
],
[
0.50341796875,
0.8125,
0.890625,
0.8125,
0.890625,
0.82568359375,
0.50341796875,
0.82568359375
],
[
0.5048828125,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84130859375,
0.5048828125,
0.84130859375
],
[
0.101318359375,
0.84130859375,
0.46728515625,
0.84130859375,
0.46728515625,
0.85498046875,
0.101318359375,
0.85498046875
],
[
0.5048828125,
0.84326171875,
0.53759765625,
0.84326171875,
0.53759765625,
0.85595703125,
0.5048828125,
0.85595703125
],
[
0.08087158203125,
0.85595703125,
0.46728515625,
0.85595703125,
0.46728515625,
0.869140625,
0.08087158203125,
0.869140625
],
[
0.5185546875,
0.8623046875,
0.89208984375,
0.8623046875,
0.89208984375,
0.876953125,
0.5185546875,
0.876953125
],
[
0.08251953125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08251953125,
0.88525390625
],
[
0.50244140625,
0.87548828125,
0.89208984375,
0.87548828125,
0.89208984375,
0.8896484375,
0.50244140625,
0.8896484375
],
[
0.080078125,
0.88525390625,
0.468017578125,
0.88623046875,
0.468017578125,
0.90087890625,
0.080078125,
0.8994140625
],
[
0.50341796875,
0.8896484375,
0.62158203125,
0.8896484375,
0.62158203125,
0.8994140625,
0.50341796875,
0.8994140625
],
[
0.47802734375,
0.923828125,
0.494384765625,
0.923828125,
0.494384765625,
0.93798828125,
0.47802734375,
0.93798828125
]
] |
[
"Figure 2. Our Meta R-CNN consists of 1)",
"Faster/ Mask R-CNN; 2) Predictor-head",
"Remodeling Network (PRN). Faster/",
"Mask R-CNN (module) receives an im-",
"Meta-learner",
"age to produce Rol features, by tak-",
"predictor head",
"ing RolAlign on the image region pro-",
"Faster/Mask",
"RPN",
"class,bbox",
"posals extracted by RPN. In parallel,",
"R-CNN:",
"our PRN receives K -shot- m -class re-",
"sized images with their structure labels",
"seomen",
"",
"mask",
"(boundingboxes/segmentaionmasks)to",
"infer m class-attentive vectors. Given a",
"class attentive vector representing class",
"c , it takes a channel-wise soft-attention",
"Predictor-headRemodeling",
"Inferringclass",
"on each Rol feature, encouraging the",
"Network (PRN):",
"shared",
"attentive",
"Faster/MaskR-CNNpredictorheads to",
"vectors",
"detect or segment class- c objects based",
"",
"norse",
"on the Rol features in the image. As the",
"D",
"airplan",
"Channel-wise product",
"P",
"withRolfeature",
"class c is dynamically determined bythe",
"1",
"inputs of PRN, Meta R-CNN is a meta-",
"learner",
"h(ai,Dmeta;0)也不合适,因为i包含在不同背景中",
"RoIAlign2之后从n对象区域建议中提取RoI(感兴",
"合并的多对象复杂信息",
"趣区域)特征【=1,从而使其预测器头h(,,,0)",
"动机。用于少拍对象检测/分割的元学习的真正目",
"能够对&i的RoI特征艺ii后面的对象XMATHX",
"MaskR-CNN通过在预测器头h()中添加并行掩码",
"标是对h(zi,Dmeta;の)而不是h(aci,Dmeta;の)进行建",
"模。由于视觉对象(zi,)=彼此混合并与中的背",
"分支来激活FasterR-CNN中的分割能力。由于我们在",
"Faster/MaskR-CNN中应用了相同的技术,因此我们",
"景合并,因此使用{zi,)=i进行元学习是棘手的。如",
"何在两阶段检测模型中,e。g。,更快/掩码R-CNN,多",
"通过h(の)统一了它们的预测器头",
"对象及其背景信息可以解开为RoI(感兴趣区域)特征",
"如前所述,Faster/MaskR-CNN中的预测器头h(,0)",
"【-1,这些特征是通过在区域提议网络(RPN)提",
"不适合进行少拍对象检测/分割。为此,我们提出将",
"h(,の)重塑为元预测器头h(,Dmeta)的PRN。",
"取的图像区域提议上采用RoIAlign产生的。这些RoI",
"特征被馈送到第二级预测器头中,以实现(zi]-1的",
"4.2. Predictor-head Remodeling Network (PRN)",
"基于RoI的对象分类,位置定位和轮廓分割。鉴于此,",
"设计h(,Dmeta;の)的一种简单方法是学习6来预测",
"最好将R-CNN预测器头重新建模为h(艺j,Dmeta;の),",
"最佳参数w.r.t.任意元集合Dmeta,如【43]。这种明",
"以对每个感兴趣区域(RoI)特征艺,j后面的对象zij",
"确的“学习学习”方式对体系结构很敏感,并且放弃",
"进行分类,定位和分割",
"了Faster/MaskR-CNN中的h(,の)。相反,我们的工",
"作受到SNAIL[30]的简洁精神的启发,因此,结合了",
"特定于类的软注意力向量,以在zi,}\"=1[5]中的每",
"4. Meta R-CNN",
"个RoI特征上实现通道方式的特征选择。这种软注意",
"机制是通过PRN从元集Dmeta中的对象推断出的类",
"针对感兴趣区域(RoI)的元学习,MetaR-CNN在概",
"注意向量umeta 实现的。特别是,假设 PRN表示为",
"念上很简单:其管道由1)组成。Faster/MaskR-CNN;2)。",
"umeta=f(Dmeta;Φ),给定属于图像a.的每个RoI特",
"预测器头重构网络(PRN)。Faster/MaskR-CNN通过",
"征之j,它保持",
"其区域提案网络(RPN)生成对象提案【艺]n-。然",
"后,每个艺i与我们的PRN推断的类关注向量结合",
"h(zi.i, Dmeta;0') = h(zii vmeta, 0)",
"(1)",
"在一起,后者起着h(,Dmeta;の)的作用,以检测或分割",
"=h(之i, @ f(Dmeta;Φ),0)",
"新颖的类对象。MetaR-CNN框架如图2所示,我们从",
"Faster/MaskR-CNN开始详细说明",
"其中θ,Φ表示Faster/MaskR-CNN和我们的",
"XMATHX-1的参数。。Eq1暗示PRN在原理上将",
"4.1. Review the R-CNN family",
"h(,)重塑为h(,Dmeta;)。它直观,应用灵活,并",
"允许与其Faster/MaskR-CNN对应方进行端到端联合",
"更快的R-CNN系统被称为两级管道。第一阶段是",
"训练",
"区域提议网络(RPN),接收图像&;以在该图像中产",
"2RoIAlign operation is first introduced by Mask R-CNN yet",
"生候选对象边界框(所谓的对象区域提议)。第二阶",
"can be used by Faster R-CNN. Faster R-CNNs in our work are",
"段,我。e。,FastR-CNN「13],共享RPN主千,以在",
"based on RolAlign.",
"3"
] |
{
"arxiv_id": "1909.13032",
"language": "zh",
"page_idx": 2
}
|
||
1909.13032-zh-3
|
1909.13032-zh-3.jpg
|
假设$x_i$作为图像 MetaR-CNN 旨在检测。在 RCNN 模块中的 RoIAlign 之后,它转向一组 RoI 功能$\{\hat{z}\}_{i,j}^{\hat{n}_i}$。在这里,我们解释 PRN 如何作用于它们。推断类注意力向量。可以观察到,PRN $f(D_\mathrm{meta};\phi)$接收元集合$D_\mathrm{meta}$中的所有对象作为输入。在对象检测/分割的上下文中,$D_\mathrm{meta}$ 表示分布在图像中的一系列对象, 其类属于$C_\mathrm{meta~,~并且每个类存在~}K$ 对象($K$-shot 设置)。$D_\mathrm{meta}$中的每个对象都表示一个 4 通道输入,即。e。, 具有相同空间大小的前景结构标签$s$的 RGB 图像$x$被组合以表示此对象$(s$是从对象边界框或分割掩码派生的二进制掩码)。因此,给定$m$作为$C_\mathrm{meta}$的大小, PRN 在每个推理过程中接收??? 通道对象输人。为了减轻计算负担,我们将对象输入的空间大小标准化为224???。在推理过程中,在通过我们的 PRN 的第一个卷积层之后,每个对象特征将被馈送到其 R-CNN 对应物的第二层,在 RoIAlign 之前经历共享主干。该特征不接受 RoIAlign,而是传递一个通道式软关注层以产生其对象关注向量$v$ 。为此,PRN 将$D_\mathrm{meta}$中的$mK$ 对 象 编 码 为 $mK$ 对 象 关 注 向 量 , 然 后 应 用 平 均 池 化 以 获 得 类 关 注 向 量 $v_c^\mathrm{meta}$, i。e。$, v_c^\mathrm{meta}= \frac 1K\sum _{j= 1}^Kv_k^{( c) }$, $(\begin{array}{cc}\forall c\in C_\mathrm{meta}\end{array},\boldsymbol{v}_k^{(c)}$表示从类 $c$ 对象推断的对象关注向量,并且每个类都有 $K$ -shot 对象)
重塑 R-CNN 预测器头。在获得类关注向量$v_c^\mathrm{meta}$ $(\begin{array}{ccc}\forall c&\in&C_\mathrm{meta}\\\end{array})$后,PRN 将它们应用于对每个RoI 特征$z_i,j$进行通道式软关注。假设$\hat{Z}_i=$ $[ \hat{\boldsymbol{z}} _{i, 1}; \cdots ; \hat{\boldsymbol{z}} _{i, 128}]$ $\in$ $\mathbb{R} ^{2048\times 128}$表示从$x_i$生成的 RoI 特征矩阵(128 表示 RoI 的数量)。PRN 用$\hat{Z}_i\otimes$ $\boldsymbol{v}_{c}^{\mathrm{meta}}=[\hat{\boldsymbol{z}}_{i,1}\otimes\boldsymbol{v}_{c}^{\mathrm{meta}};\cdots;\hat{\boldsymbol{z}}_{i,128}\otimes\boldsymbol{v}_{c}^{\mathrm{meta}}]$替换$\hat{Z}_i$ ,以在 Faster/MaskR-CNN 中馈送原始预测器头。细化导致检测或分割图像$x_i$中的所有类$c$对象。本着这种精神,每个 RoI 功能$\hat{z}_{i,j}$都会产生引用$C_\mathrm{meta}$中的类的$m$二进制检测结果。为此,R-CNN 将$\hat{z}_{i,j}$分类为具有最高置信度分数的类$c^*$,并使用分支$\hat{z}_i,j\otimes v_{c^*}^\mathrm{meta}$来定位或分割对象。但是,如果最高置信度得分低于客观性阈值,则此 RoI 将被视为背景并被丢弃
# 5. Implementation
MetaR-CNN 是在元学习范式下训练的。我们的实现基于 Faster/MaskR-CNN,其超参数遵循其原始报告
小批量构造。模拟我们已经讨论过的元学习范式, MetaR-CNN 中的训练小批量由$m$类$C_meta\sim C_{\mathrm{base}}\cup$ $C_{\mathrm{novel}}$ , $K$ -shot $m$ -class 元集$D_\mathrm{meta}$和$m$ -class 训练集$D_{\mathrm{train}}$组成$(D_\mathrm{meta},D_\mathrm{train}$中的类与 MAXX。在我们的实现中,$D_\mathrm{train}$表示 Faster/MaskR-CNN 的输人$x$中的对象。为了保持类的一致性,我们选择$C_meta$ 作为对象类图像$x$引用,并且仅使用从属于$C_\mathrm{meta}$中的类的对象推断的关注向量。因此,如果 R-CNN 模块接收到包含$m$类中的对象的图像输入$x$ ,则小批量由$x(D_{\mathrm{train}})$和$mK$调整大小的图像及其结构标签掩码组成
通道式软关注层。该层接收从 R-CNN 对应物的主
干网引入的特征。它执行空间池化以对齐对象特征,保持 RoI 特征的相同大小。然后这些特征经历一个元素的 sigmoid 以产生注意向量 (在我们的实验中大小为2048??)
元丢失。给定 RoI 功能$\hat{z}_{i,j}$ ,为避免软关注后的预测歧义,来自不同类对象的关注向量应导致 $\hat{z}_{i,j}$上 的多种特征选择效果。为了实现 ,我们提出了一个简单的元丢失$L(\phi)_\mathrm{meta}$,以在元学习中使推断的对象注意向量多样化。它是通过交叉熵损失来实现的,鼓励对象注意向量落人每个对象所属的类中。此辅助损耗可有效提升 MetaR-CNN 性能(见表??消融$\color{red}{2}$ )
RoI 元学习。遵循[41,38,42]中的典型优化例程, 元学习 MetaR-CNN 分为两个学习阶段。在第一阶段(所谓的元训练),我们只考虑基类对象来构造$D_\mathrm{meta}$ 和$D_{\mathrm{train}}$ 。。在图像同时包含基类和新颖类对象的情况下,我们忽略元训练中的新颖类对象。在第二阶段(所谓的元测试)中,基类和新类中的对象都被考虑。目标表述为
$$\operatorname*{min}_{\boldsymbol{\theta},\:\phi}\:\underbrace{L(\boldsymbol{\theta},\boldsymbol{\phi})_{\mathrm{cls}}+L(\boldsymbol{\theta},\boldsymbol{\phi})_{\mathrm{reg}}+\lambda L(\boldsymbol{\theta},\boldsymbol{\phi})_{\mathrm{mask}}}_{\mathrm{Losses~derived~from~Faster/Mask~R-CNN}}+L(\boldsymbol{\phi})_{\mathrm{meta}}$$
,其中 $\lambda=\{0,1\}$ 表示掩码分支的激活器。MetaR-CNN
<FigureHere>
Figure 3. The illustrative instance of meta-optimizatior process in Meta R-CNN. Suppose the image Faster/ Mask R- CNN receiving contains objects in “ person” , ` ` horse" . Then $C_{\mathrm{meta}}=(\begin{array}{cc}“\mathrm{person",~“horse”)~and~}D_{\mathrm{meta}}&\text{includes}\\\end{array}$ $K{\text{ -shot “person” and"horse" images with their struc-}}$ ture labels, respectively. As the training image iteratively changes, $C_{\mathrm{meta}}^{'}$ and $D_{\mathrm{meta}}$ would adaptively change.
推理。元 R-CNN 需要两个基于 Faster/MaskR-CNN 模块和 PRN 的推理过程。在训练中,从$D_{\mathbf{meta}}$推断出的对象注意向量将替换类注意向量,以对$\hat{Z}_i$产生软注意效果,并在公式$\color{red}{2}$中产生对象检测/分割损失。在测试中,我们选择$C_\mathrm{meta}=C_\mathrm{base}\cup C_\mathrm{novel}$ 。这是因为测试图像中的未知对象可能涵盖所有可能的类别。PRN 接收所有类中的$K$ -shot 视觉对象,以产生关注类的向量,从而实现少拍对象检测/分割。请注意,无论对象还是类注意向量,都可以在测试之前对其进行预处理,并并行地对 RoI 特征矩阵进行软注意。它保证了Faster/MaskR-CNN 的快速推理不会减速:在我们的实验中(使用单个 GTXTITANXP),如果 shot 为 3, 则 FasterR-CNN 的推理速度为 83。0ms/im; MetaRCNN 为 84。2ms/im; 如果镜头为 10, 则 MetaR-CNN 的速度为 85。4ms/im。
4
|
[
[
0.101318359375,
0.0921630859375,
0.468017578125,
0.0921630859375,
0.468017578125,
0.1060791015625,
0.101318359375,
0.1060791015625
],
[
0.50341796875,
0.091552734375,
0.890625,
0.0921630859375,
0.890625,
0.106689453125,
0.50341796875,
0.1060791015625
],
[
0.080078125,
0.1060791015625,
0.468017578125,
0.106689453125,
0.468017578125,
0.121826171875,
0.080078125,
0.12060546875
],
[
0.50341796875,
0.10797119140625,
0.8896484375,
0.10797119140625,
0.8896484375,
0.121826171875,
0.50341796875,
0.121826171875
],
[
0.08416748046875,
0.12371826171875,
0.468017578125,
0.12371826171875,
0.468017578125,
0.136962890625,
0.08416748046875,
0.136962890625
],
[
0.50341796875,
0.12249755859375,
0.890625,
0.12249755859375,
0.890625,
0.1363525390625,
0.50341796875,
0.1363525390625
],
[
0.08087158203125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08087158203125,
0.1514892578125
],
[
0.50341796875,
0.1395263671875,
0.56787109375,
0.1395263671875,
0.56787109375,
0.149658203125,
0.50341796875,
0.149658203125
],
[
0.080078125,
0.15283203125,
0.46728515625,
0.1514892578125,
0.46728515625,
0.1666259765625,
0.080078125,
0.1673583984375
],
[
0.52294921875,
0.1514892578125,
0.890625,
0.154052734375,
0.890625,
0.1673583984375,
0.52294921875,
0.1654052734375
],
[
0.08087158203125,
0.1685791015625,
0.468017578125,
0.1685791015625,
0.468017578125,
0.1817626953125,
0.08087158203125,
0.1817626953125
],
[
0.50244140625,
0.1666259765625,
0.890625,
0.1673583984375,
0.890625,
0.1817626953125,
0.50244140625,
0.18115234375
],
[
0.08251953125,
0.18310546875,
0.468017578125,
0.18310546875,
0.468017578125,
0.1976318359375,
0.08251953125,
0.1976318359375
],
[
0.5048828125,
0.18310546875,
0.890625,
0.18310546875,
0.890625,
0.1962890625,
0.5048828125,
0.1962890625
],
[
0.080078125,
0.1976318359375,
0.468017578125,
0.1962890625,
0.468017578125,
0.2108154296875,
0.080078125,
0.212158203125
],
[
0.50341796875,
0.1988525390625,
0.890625,
0.1988525390625,
0.890625,
0.21337890625,
0.50341796875,
0.21337890625
],
[
0.08087158203125,
0.21337890625,
0.468017578125,
0.21337890625,
0.468017578125,
0.2266845703125,
0.08087158203125,
0.2266845703125
],
[
0.5048828125,
0.21337890625,
0.890625,
0.21337890625,
0.890625,
0.2266845703125,
0.5048828125,
0.2266845703125
],
[
0.08087158203125,
0.2291259765625,
0.468017578125,
0.2291259765625,
0.468017578125,
0.242431640625,
0.08087158203125,
0.242431640625
],
[
0.5048828125,
0.2291259765625,
0.8896484375,
0.2291259765625,
0.8896484375,
0.242431640625,
0.5048828125,
0.242431640625
],
[
0.08087158203125,
0.24365234375,
0.468017578125,
0.24365234375,
0.468017578125,
0.25830078125,
0.08087158203125,
0.25830078125
],
[
0.50244140625,
0.24365234375,
0.81884765625,
0.24365234375,
0.81884765625,
0.2568359375,
0.50244140625,
0.2568359375
],
[
0.080078125,
0.2568359375,
0.46728515625,
0.25830078125,
0.46728515625,
0.272705078125,
0.080078125,
0.271484375
],
[
0.521484375,
0.2568359375,
0.890625,
0.25830078125,
0.890625,
0.272705078125,
0.521484375,
0.271484375
],
[
0.08251953125,
0.27587890625,
0.465576171875,
0.27587890625,
0.465576171875,
0.285888671875,
0.08251953125,
0.285888671875
],
[
0.5048828125,
0.2734375,
0.890625,
0.2734375,
0.890625,
0.287353515625,
0.5048828125,
0.287353515625
],
[
0.080078125,
0.287353515625,
0.468017578125,
0.28857421875,
0.468017578125,
0.302978515625,
0.080078125,
0.3017578125
],
[
0.50244140625,
0.28857421875,
0.8896484375,
0.2890625,
0.8896484375,
0.3037109375,
0.50244140625,
0.302978515625
],
[
0.08251953125,
0.3037109375,
0.468017578125,
0.3037109375,
0.468017578125,
0.317626953125,
0.08251953125,
0.317626953125
],
[
0.5048828125,
0.3037109375,
0.8896484375,
0.3037109375,
0.8896484375,
0.317626953125,
0.5048828125,
0.317626953125
],
[
0.08087158203125,
0.3193359375,
0.46728515625,
0.3193359375,
0.46728515625,
0.333251953125,
0.08087158203125,
0.333251953125
],
[
0.50341796875,
0.318115234375,
0.88818359375,
0.318115234375,
0.88818359375,
0.33203125,
0.50341796875,
0.33203125
],
[
0.08251953125,
0.333984375,
0.46728515625,
0.333984375,
0.46728515625,
0.347900390625,
0.08251953125,
0.347900390625
],
[
0.50341796875,
0.333984375,
0.890625,
0.333984375,
0.890625,
0.347900390625,
0.50341796875,
0.347900390625
],
[
0.08251953125,
0.348388671875,
0.46728515625,
0.348388671875,
0.46728515625,
0.363037109375,
0.08251953125,
0.363037109375
],
[
0.5048828125,
0.35107421875,
0.55224609375,
0.35107421875,
0.55224609375,
0.3623046875,
0.5048828125,
0.3623046875
],
[
0.08087158203125,
0.3642578125,
0.46728515625,
0.3642578125,
0.46728515625,
0.37744140625,
0.08087158203125,
0.37744140625
],
[
0.08087158203125,
0.380126953125,
0.468017578125,
0.380126953125,
0.468017578125,
0.397705078125,
0.08087158203125,
0.397705078125
],
[
0.5048828125,
0.375732421875,
0.88818359375,
0.375732421875,
0.88818359375,
0.39013671875,
0.5048828125,
0.39013671875
],
[
0.50732421875,
0.386962890625,
0.5390625,
0.386962890625,
0.5390625,
0.39453125,
0.50732421875,
0.39453125
],
[
0.08087158203125,
0.399658203125,
0.46728515625,
0.399658203125,
0.46728515625,
0.4140625,
0.08087158203125,
0.4140625
],
[
0.5498046875,
0.396484375,
0.7998046875,
0.396484375,
0.7998046875,
0.410400390625,
0.5498046875,
0.410400390625
],
[
0.87109375,
0.40771484375,
0.89208984375,
0.412353515625,
0.88818359375,
0.425537109375,
0.86669921875,
0.421630859375
],
[
0.08087158203125,
0.416748046875,
0.330810546875,
0.416748046875,
0.330810546875,
0.429931640625,
0.08087158203125,
0.429931640625
],
[
0.09722900390625,
0.43115234375,
0.4697265625,
0.4287109375,
0.4697265625,
0.4462890625,
0.09722900390625,
0.448974609375
],
[
0.51123046875,
0.425537109375,
0.890625,
0.425537109375,
0.890625,
0.439453125,
0.51123046875,
0.439453125
],
[
0.50341796875,
0.43994140625,
0.6396484375,
0.43994140625,
0.6396484375,
0.453857421875,
0.50341796875,
0.453857421875
],
[
0.07843017578125,
0.4462890625,
0.468017578125,
0.44580078125,
0.468017578125,
0.46337890625,
0.07843017578125,
0.464111328125
],
[
0.52685546875,
0.453857421875,
0.66259765625,
0.45263671875,
0.66259765625,
0.464111328125,
0.52685546875,
0.46533203125
],
[
0.69287109375,
0.453857421875,
0.79833984375,
0.453857421875,
0.79833984375,
0.464111328125,
0.69287109375,
0.464111328125
],
[
0.07843017578125,
0.460205078125,
0.468017578125,
0.4609375,
0.468017578125,
0.479248046875,
0.07843017578125,
0.477783203125
],
[
0.0767822265625,
0.473388671875,
0.471435546875,
0.472900390625,
0.471435546875,
0.49365234375,
0.0767822265625,
0.494384765625
],
[
0.81640625,
0.479736328125,
0.87109375,
0.481689453125,
0.87109375,
0.49365234375,
0.81640625,
0.4912109375
],
[
0.529296875,
0.490478515625,
0.5537109375,
0.490478515625,
0.5537109375,
0.498779296875,
0.529296875,
0.498779296875
],
[
0.60546875,
0.4912109375,
0.63134765625,
0.49365234375,
0.6298828125,
0.501953125,
0.6044921875,
0.5
],
[
0.833984375,
0.492431640625,
0.85546875,
0.492431640625,
0.85546875,
0.50048828125,
0.833984375,
0.50048828125
],
[
0.80224609375,
0.496826171875,
0.80615234375,
0.496826171875,
0.80615234375,
0.501953125,
0.80224609375,
0.501953125
],
[
0.08087158203125,
0.494384765625,
0.46728515625,
0.494384765625,
0.46728515625,
0.50830078125,
0.08087158203125,
0.50830078125
],
[
0.080078125,
0.505859375,
0.468017578125,
0.50830078125,
0.468017578125,
0.52587890625,
0.080078125,
0.5234375
],
[
0.5888671875,
0.5068359375,
0.5986328125,
0.50390625,
0.60107421875,
0.5087890625,
0.59228515625,
0.51220703125
],
[
0.6044921875,
0.501953125,
0.64208984375,
0.50048828125,
0.64208984375,
0.5087890625,
0.6044921875,
0.51025390625
],
[
0.08087158203125,
0.5244140625,
0.46728515625,
0.5244140625,
0.46728515625,
0.53857421875,
0.08087158203125,
0.53857421875
],
[
0.58642578125,
0.52587890625,
0.6357421875,
0.52587890625,
0.6357421875,
0.5361328125,
0.58642578125,
0.5361328125
],
[
0.7998046875,
0.52978515625,
0.85693359375,
0.53515625,
0.8544921875,
0.548828125,
0.79736328125,
0.54345703125
],
[
0.525390625,
0.537109375,
0.560546875,
0.537109375,
0.560546875,
0.548828125,
0.525390625,
0.548828125
],
[
0.5849609375,
0.5361328125,
0.62158203125,
0.5361328125,
0.62158203125,
0.546875,
0.5849609375,
0.546875
],
[
0.63818359375,
0.53857421875,
0.66650390625,
0.53857421875,
0.66650390625,
0.54541015625,
0.63818359375,
0.54541015625
],
[
0.708984375,
0.537109375,
0.73876953125,
0.537109375,
0.73876953125,
0.548828125,
0.708984375,
0.548828125
],
[
0.79833984375,
0.54443359375,
0.8544921875,
0.546875,
0.8544921875,
0.5595703125,
0.79833984375,
0.556640625
],
[
0.57421875,
0.546875,
0.6787109375,
0.546875,
0.6787109375,
0.556640625,
0.57421875,
0.556640625
],
[
0.07843017578125,
0.55322265625,
0.4697265625,
0.5537109375,
0.4697265625,
0.5712890625,
0.07843017578125,
0.57080078125
],
[
0.08087158203125,
0.5693359375,
0.46728515625,
0.5693359375,
0.46728515625,
0.583984375,
0.08087158203125,
0.583984375
],
[
0.50341796875,
0.57080078125,
0.890625,
0.57080078125,
0.890625,
0.583984375,
0.50341796875,
0.583984375
],
[
0.50341796875,
0.58349609375,
0.89208984375,
0.58349609375,
0.89208984375,
0.5966796875,
0.50341796875,
0.5966796875
],
[
0.07843017578125,
0.583984375,
0.4697265625,
0.58203125,
0.4697265625,
0.599609375,
0.07843017578125,
0.6015625
],
[
0.08087158203125,
0.54052734375,
0.46728515625,
0.54052734375,
0.46728515625,
0.5537109375,
0.08087158203125,
0.5537109375
],
[
0.08087158203125,
0.60107421875,
0.468017578125,
0.60107421875,
0.468017578125,
0.6142578125,
0.08087158203125,
0.6142578125
],
[
0.50244140625,
0.59521484375,
0.890625,
0.59765625,
0.890625,
0.6123046875,
0.50244140625,
0.60986328125
],
[
0.08087158203125,
0.61572265625,
0.3798828125,
0.61572265625,
0.3798828125,
0.62890625,
0.08087158203125,
0.62890625
],
[
0.50341796875,
0.6123046875,
0.89208984375,
0.6123046875,
0.89208984375,
0.62548828125,
0.50341796875,
0.62548828125
],
[
0.5048828125,
0.62548828125,
0.88623046875,
0.62548828125,
0.88623046875,
0.6396484375,
0.5048828125,
0.6396484375
],
[
0.50341796875,
0.6396484375,
0.890625,
0.6396484375,
0.890625,
0.65283203125,
0.50341796875,
0.65283203125
],
[
0.07843017578125,
0.64794921875,
0.2442626953125,
0.64794921875,
0.2442626953125,
0.662109375,
0.07843017578125,
0.662109375
],
[
0.50341796875,
0.65283203125,
0.84716796875,
0.65283203125,
0.84716796875,
0.66650390625,
0.50341796875,
0.66650390625
],
[
0.098876953125,
0.67041015625,
0.468017578125,
0.671875,
0.468017578125,
0.68603515625,
0.098876953125,
0.68505859375
],
[
0.521484375,
0.6748046875,
0.890625,
0.6748046875,
0.890625,
0.68798828125,
0.521484375,
0.68798828125
],
[
0.080078125,
0.68505859375,
0.468017578125,
0.68603515625,
0.468017578125,
0.70068359375,
0.080078125,
0.69970703125
],
[
0.50341796875,
0.68798828125,
0.890625,
0.689453125,
0.890625,
0.7041015625,
0.50341796875,
0.70263671875
],
[
0.08087158203125,
0.7021484375,
0.098876953125,
0.7021484375,
0.098876953125,
0.71630859375,
0.08087158203125,
0.71630859375
],
[
0.5048828125,
0.705078125,
0.890625,
0.705078125,
0.890625,
0.71826171875,
0.5048828125,
0.71826171875
],
[
0.098876953125,
0.71728515625,
0.468017578125,
0.71826171875,
0.468017578125,
0.73291015625,
0.098876953125,
0.73193359375
],
[
0.5048828125,
0.72021484375,
0.8896484375,
0.72021484375,
0.8896484375,
0.734375,
0.5048828125,
0.734375
],
[
0.080078125,
0.73193359375,
0.468017578125,
0.734375,
0.468017578125,
0.74853515625,
0.080078125,
0.7470703125
],
[
0.50341796875,
0.73486328125,
0.88818359375,
0.73486328125,
0.88818359375,
0.75,
0.50341796875,
0.75
],
[
0.08087158203125,
0.75,
0.468017578125,
0.75,
0.468017578125,
0.76318359375,
0.08087158203125,
0.76318359375
],
[
0.50244140625,
0.75,
0.8896484375,
0.74853515625,
0.8896484375,
0.76318359375,
0.50244140625,
0.7646484375
],
[
0.08087158203125,
0.76318359375,
0.46728515625,
0.76318359375,
0.46728515625,
0.77783203125,
0.08087158203125,
0.77783203125
],
[
0.50341796875,
0.7666015625,
0.890625,
0.7666015625,
0.890625,
0.77978515625,
0.50341796875,
0.77978515625
],
[
0.07843017578125,
0.77783203125,
0.4697265625,
0.7763671875,
0.4697265625,
0.79443359375,
0.07843017578125,
0.79541015625
],
[
0.5048828125,
0.78076171875,
0.890625,
0.78076171875,
0.890625,
0.79443359375,
0.5048828125,
0.79443359375
],
[
0.08087158203125,
0.79345703125,
0.46728515625,
0.79443359375,
0.46728515625,
0.8095703125,
0.08087158203125,
0.80810546875
],
[
0.5048828125,
0.796875,
0.8896484375,
0.796875,
0.8896484375,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.08251953125,
0.81005859375,
0.46728515625,
0.81005859375,
0.46728515625,
0.82470703125,
0.08251953125,
0.82470703125
],
[
0.5048828125,
0.8125,
0.88623046875,
0.8125,
0.88623046875,
0.82275390625,
0.5048828125,
0.82275390625
],
[
0.08087158203125,
0.82470703125,
0.46728515625,
0.82470703125,
0.46728515625,
0.83837890625,
0.08087158203125,
0.83837890625
],
[
0.50244140625,
0.82470703125,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.50244140625,
0.83837890625
],
[
0.08087158203125,
0.8388671875,
0.46728515625,
0.8388671875,
0.46728515625,
0.85302734375,
0.08087158203125,
0.85302734375
],
[
0.5048828125,
0.84228515625,
0.8896484375,
0.84228515625,
0.8896484375,
0.85302734375,
0.5048828125,
0.85302734375
],
[
0.08087158203125,
0.85498046875,
0.468017578125,
0.85498046875,
0.468017578125,
0.869140625,
0.08087158203125,
0.869140625
],
[
0.5048828125,
0.85595703125,
0.8896484375,
0.85595703125,
0.8896484375,
0.869140625,
0.5048828125,
0.869140625
],
[
0.08087158203125,
0.86865234375,
0.11517333984375,
0.87060546875,
0.11358642578125,
0.88330078125,
0.080078125,
0.880859375
],
[
0.50341796875,
0.87060546875,
0.890625,
0.87060546875,
0.890625,
0.88525390625,
0.50341796875,
0.88525390625
],
[
0.101318359375,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.101318359375,
0.90087890625
],
[
0.50341796875,
0.88623046875,
0.6708984375,
0.88623046875,
0.6708984375,
0.8994140625,
0.50341796875,
0.8994140625
],
[
0.47802734375,
0.923828125,
0.494384765625,
0.923828125,
0.494384765625,
0.93798828125,
0.47802734375,
0.93798828125
]
] |
[
"假设&i作为图像MetaR-CNN旨在检测。在R-",
"干网引入的特征。它执行空间池化以对齐对象特征,保",
"CNN模块中的RoIAlign之后,它转向一组RoI功能",
"持RoI特征的相同大小。然后这些特征经历一个元素",
"。在这里,我们解释PRN如何作用于它们。推断",
"的sigmoid以产生注意向量(在我们的实验中大小为",
"类注意力向量。可以观察到,PRNf(Dmeta;Φ)接收元",
"2048???",
"集合Dmeta中的所有对象作为输人。在对象检测/分割",
"元丢失。给定RoI功能2i,为避免软关注后的预",
"的上下文中,Dmeta表示分布在图像中的一系列对象,",
"测歧义,来自不同类对象的关注向量应导致之上的",
"其类属于Cmeta,并且每个类存在K对象(K-shot设",
"多种特征选择效果。为了实现,我们提出了一个简单",
"置)。Dmeta中的每个对象都表示一个4通道输入,即。",
"的元丢失L(Φ)meta,以在元学习中使推断的对象注意",
"e。,具有相同空间大小的前景结构标签s的RGB图像",
"向量多样化。它是通过交叉熵损失来实现的,鼓励对象",
"&被组合以表示此对象(s是从对象边界框或分割掩码",
"注意向量落人每个对象所属的类中。此辅助损耗可有",
"派生的二进制掩码)。因此,给定m作为Cmeta的大小,",
"效提升MetaR-CNN性能(见表??消融2)",
"PRN在每个推理过程中接收???通道对象输人。为了",
"RoI元学习。遵循【41,38,42]中的典型优化例程,",
"减轻计算负担,我们将对象输入的空间大小标准化为",
"元学习MetaR-CNN分为两个学习阶段。在第一阶段",
"224???。在推理过程中,在通过我们的PRN的第一个",
"(所谓的元训练),我们只考虑基类对象来构造Dmeta",
"卷积层之后,每个对象特征将被馈送到其R-CNN对应",
"和Dtrain。。在图像同时包含基类和新颖类对象的情况",
"物的第二层,在RoIAlign之前经历共享主干。该特征",
"下,我们忽略元训练中的新颖类对象。在第二阶段(所",
"不接受RoIAlign,而是传递一个通道式软关注层以产",
"谓的元测试)中,基类和新类中的对象都被考虑。目标",
"生其对象关注向量U。为此,PRN将Dmeta中的mK",
"表述为",
"对象编码为mK对象关注向量,然后应用平均池化以",
"获得类关注向量umeta,i。e。,umeta=-iv",
"min L(0, Φ)els + L(0, Φ)reg + AL(0,Φ)mask +L(Φ)meta",
"9.",
"(VcECmeta,u)表示从类c对象推断的对象关注向",
"Losses derived from Faster/Mask R-CNN",
"(2)",
"量,并且每个类都有K-shot对象",
"重塑R-CNN预测器头。在获得类关注向量umeta",
"其中入=[0,1]表示掩码分支的激活器。MetaR-CNN",
"的元学习说明如下:",
"(Vc ECmeta)后,PRN将它们应用于对每个",
"Cmeta=(person,horse)",
"Faster/MaskR-CNN",
"Rol特征zi进行通道式软关注。假设2,=",
"[2;…;i,128]ER2048×x128表示从,生成的RoI",
"Prediction",
"Dtrai",
"1D",
"loss",
"-",
"特征矩阵(128表示RoI的数量)。PRN用Z;",
"vmeta=[2i1@vmeta ...;2128@vmeta]替换2,,以",
"",
"",
"在Faster/MaskR-CNN中馈送原始预测器头。细化导",
"K-shot*.",
"L(0)meta",
"Dmeta",
"K-shot",
"horse",
"PRN",
"(Meta-loss)",
"(images and structure labels)",
"神,每个RoI功能艺,;都会产生引用Cmeta中的类的",
"m二进制检测结果。为此,R-CNN将2.i分类为具有",
"Figure 3.The illustrative instance of meta-optimization",
"process in Meta R-CNN. Suppose the image Faster/ Mask",
"最高置信度分数的类c*,并使用分支i?umeta来",
"致检测或分割图像a中的所有类c对象。本着这种精",
"定位或分割对象。但是,如果最高置信度得分低于客观",
"R-CNN receiving contains objects in “\"person\", “horse\"",
"性值,则此RoI将被视为背景并被丢弃",
"Then Cmeta=(“person\",“horse\")and Dmeta includes",
"K -shot “person\" and \"horse\" images with their struc",
"ture labels, respectively. As the training image iteratively",
"5.Implementation",
"changes, Cmeta and Dmeta would adaptively change.",
"MetaR-CNN是在元学习范式下训练的。我们的实",
"推理。元R-CNN需要两个基于Faster/MaskR-CNN",
"现基于Faster/MaskR-CNN,其超参数遵循其原始报",
"模块和PRN的推理过程。在训练中,从Dmeta推断出",
"告",
"的对象注意向量将替换类注意向量,以对乙,产生软注",
"小批量构造。模拟我们已经讨论过的元学习范式,",
"意效果,并在公式2中产生对象检测/分割损失。在测",
"MetaR-CNN中的训练小批量由m类Cmeta~CbaseU",
"试中,我们选择Cmeta =Cbase UCnovel。这是因为测",
"Cnovel,K-shotm-class元集Dmeta和m-class训练",
"试图像中的未知对象可能涵盖所有可能的类别。PRN",
"集Dtrain组成(Dmeta?Dtrain中的类与MAXX。在",
"接收所有类中的K-shot视觉对象,以产生关注类的",
"我们的实现中,Dtrain表示Faster/MaskR-CNN的输",
"向量,从而实现少拍对象检测/分割。请注意,无论对",
"人中的对象。为了保持类的一致性,我们选择Cmeta",
"象还是类注意向量,都可以在测试之前对其进行预处",
"作为对象类图像a引用,并且仅使用从属于Cmeta中",
"理,并并行地对RoI特征矩阵进行软注意。它保证了",
"的类的对象推断的关注向量。因此,如果R-CNN模块",
"Faster/MaskR-CNN的快速推理不会减速:在我们的",
"接收到包含㎡类中的对象的图像输入,则小批量由",
"实验中(使用单个GTXTITANXP),如果shot为3",
"(Dtrain)和mK调整大小的图像及其结构标签掩码",
"则FasterR-CNN的推理速度为83。Oms/im;MetaR-",
"组成",
"CNN为84。2ms/im;如果镜头为10,则MetaR-CNN",
"通道式软关注层。该层接收从R-CNN对应物的主",
"的速度为85。4ms/im。",
"4"
] |
{
"arxiv_id": "1909.13032",
"language": "zh",
"page_idx": 3
}
|
||
1909.13032-zh-4
|
1909.13032-zh-4.jpg
|
Table 2. The ablation stud bones (mAP on VOC2007 novel classes and base clas frst base/novel split based $o$
Table 1. Few-shot detection mAP on VOC2007 test set in novel classes. We evaluate the baselines under three different splits of novel classes. RED and BLUE indicate state-of-the-art (SOTA) and the second best. (Best viewd in color)
<table>
<tbody>
<tr>
<th rowspan="2">Method/ Shot</th>
<th colspan="4">Novel-class Setup 1</th>
<th> </th>
<th colspan="4">Novel-class Setup ) 2</th>
<th colspan="5">Novel-class Setup 3</th>
</tr>
<tr>
<th>1</th>
<th>2</th>
<th>3</th>
<th>5</th>
<th>10</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>10</th>
<th>1</th>
<th>2</th>
<th>3</th>
<th>5</th>
<th>10</th>
</tr>
<tr>
<td>YOLO-Few-shot [21]</td>
<td>14.8</td>
<td>15.5</td>
<td>26.7</td>
<td>33.9</td>
<td>47.2</td>
<td>15.7</td>
<td>15.3</td>
<td>22.7</td>
<td>39.2</td>
<td>19.2</td>
<td>21.7</td>
<td>25.7</td>
<td>40.6</td>
<td>41.3</td>
</tr>
<tr>
<td>FRCN+ joint</td>
<td>2.7</td>
<td>3.1</td>
<td>4.3</td>
<td>11.8</td>
<td>29.0</td>
<td>1.9</td>
<td>2.6</td>
<td>8.1</td>
<td>12.6</td>
<td>5.2</td>
<td>7.5</td>
<td>6.4</td>
<td>6.4</td>
<td>6.4</td>
</tr>
<tr>
<td>FRCN+ ft</td>
<td>11.9</td>
<td>16.4</td>
<td>29.0</td>
<td>36.9</td>
<td>36.9</td>
<td>5.9</td>
<td>8.5</td>
<td>23.4</td>
<td>28.8</td>
<td>5.0</td>
<td>9.6</td>
<td>18.1</td>
<td>30.8</td>
<td>43.4</td>
</tr>
<tr>
<td>FRCN+ft-full</td>
<td>13.8</td>
<td>19.6</td>
<td>32.8</td>
<td>41.5</td>
<td>45.6</td>
<td>7.9</td>
<td>15.3</td>
<td>26.2</td>
<td>39.1</td>
<td>9.8</td>
<td>11.5</td>
<td>19.1</td>
<td>35.0</td>
<td>45.1</td>
</tr>
<tr>
<td>Meta R- CNN (ours</td>
<td>19.9</td>
<td>25.5</td>
<td>35.0</td>
<td>45.7</td>
<td>51.5</td>
<td>10.4</td>
<td>19.4</td>
<td>29.6</td>
<td>45.4</td>
<td>14.3</td>
<td>18.2</td>
<td>27.5</td>
<td>41.2</td>
<td>48.1</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th>$\overline{\mathrm{Shot}}$</th>
<th>Baselines</th>
<th>$\overline{{B_a}}$</th>
</tr>
<tr>
<td rowspan="4">3</td>
<td>ResNet- 34+ ft- full</td>
<td>$\overline{57}$</td>
</tr>
<tr>
<td>ResNet- 34+ Ours</td>
<td>57 1</td>
</tr>
<tr>
<td>ResNet- 101+ ft- full</td>
<td>$\overline{63}$ T</td>
</tr>
<tr>
<td>ResNet- 101+ Ours</td>
<td>64 1 1</td>
</tr>
<tr>
<td rowspan="4">10</td>
<td>ResNet- 34+ ft- full</td>
<td>$\overline{61}$</td>
</tr>
<tr>
<td>ResNet- 34+ Ours</td>
<td>61</td>
</tr>
<tr>
<td>ResNet-101+ft-full</td>
<td>$\overline{61}$</td>
</tr>
<tr>
<td>ResNet- 101+ Ours</td>
<td>67</td>
</tr>
</tbody>
</table>
Table 3. AP and mAP on VOC2007 test set for novel classes and base classes of the first base/novel split. We evaluate the performance for 3/10-shot novel-class examples with FRCN under ResNet-101. RED / BLUE indicate the SOTA/the second best. (Best viewd in color)
<table>
<tbody>
<tr>
<th rowspan="2">Shot</th>
<th rowspan="2">Baselines</th>
<th> </th>
<th>Nov</th>
<th>class ll</th>
<th>ies</th>
<th> </th>
<th> </th>
<th> </th>
<th> </th>
<th> </th>
<th colspan="11">Base classes</th>
<th rowspan="2">|mAP</th>
</tr>
<tr>
<th colspan="4">bird bus cow mbike sofa mea</th>
<th>mean</th>
<th>mean</th>
<th colspan="2">bike boat hottle aero $\cdot$</th>
<th>bottle</th>
<th>car</th>
<th>cat</th>
<th>chair</th>
<th>able</th>
<th>$\overline{\mathrm{dog}}$ $\textbf{上 }$</th>
<th>$\operatorname{lorse}$ $P$</th>
<th>rson $pl_{t}$</th>
<th>nt shee</th>
<th>trair $\mathfrak{p}$</th>
<th>$tv$ 1</th>
<th>mean</th>
</tr>
<tr>
<th rowspan="5">3</th>
<th>YOLO-Few-shot $\lceil21\rceil$</th>
<th>26.1 19.</th>
<th>.9.1 40.</th>
<th>20.4</th>
<th>27.1</th>
<th>26.7</th>
<th>26.7</th>
<th>73.6 73.1 56.</th>
<th>7 41.6</th>
<th>41.6</th>
<th>76.1</th>
<th>78.7 </th>
<th>42.6</th>
<th>66.8</th>
<th>72.0</th>
<th>77.7</th>
<th>8.5 4.5</th>
<th>.0 57.</th>
<th>1 74.7</th>
<th>70.7</th>
<th>64.8</th>
<th>55.2</th>
</tr>
<tr>
<td>FRCN+ joint</td>
<td>0.4 13.7</td>
<td>0.4 6.4</td>
<td>0.8</td>
<td>0.2</td>
<td>4.3</td>
<td>4.3</td>
<td>75.9 80.0 65.</td>
<td>61.3 9</td>
<td>61.3</td>
<td>85.5</td>
<td>86.1</td>
<td>54.1</td>
<td>68.4</td>
<td>83.3</td>
<td>79.1</td>
<td>$4i$ 8.8</td>
<td>.7 72.</td>
<td>80.8 8</td>
<td>74.7</td>
<td>72.7</td>
<td>55.6</td>
</tr>
<tr>
<td>FRCN+ ft</td>
<td>31.1 24.9</td>
<td>24.9 51.</td>
<td>23.5</td>
<td>13.6</td>
<td>29.0</td>
<td>29.0</td>
<td>65.4 56.4 46.</td>
<td>5 41.5</td>
<td>41.5</td>
<td>73.3</td>
<td>384.0 $\frac{1}{2}=\frac{1}{2}=\frac{1}{2}$ $\frac{1}{2}=\frac{1}{2}=\frac{1}{2}$</td>
<td>40.2</td>
<td>55.9</td>
<td>72.1</td>
<td>75.6</td>
<td>4.8 $3^{c}$</td>
<td>.7 60.</td>
<td>71.5 4</td>
<td>71.2</td>
<td>61.4</td>
<td>53.3</td>
</tr>
<tr>
<td>FRCN+ft-full</td>
<td>29.1 34. </td>
<td>34.155.</td>
<td>28.6</td>
<td>16.1</td>
<td>32.8</td>
<td>32.8</td>
<td>67.4 62.0 54.</td>
<td>3 48.5</td>
<td>48.5</td>
<td>74.0</td>
<td>85.8 1 1 1 T 1 1 1 $\frac{1}{2}=\frac{1}{2}=\frac{1}{2}$</td>
<td>42.2</td>
<td>58.1</td>
<td>72.0</td>
<td>77.8</td>
<td>5.8 $3_{2}^{e}$</td>
<td>.3 61.</td>
<td>73.7 0</td>
<td>68.6</td>
<td>63.6</td>
<td>55.9</td>
</tr>
<tr>
<td>Meta R- CNN (ours </td>
<td>30.144.</td>
<td>4.650.</td>
<td>38.8</td>
<td>10.7</td>
<td>35.0</td>
<td>35.0</td>
<td>67.6 $j70.5$ 59.</td>
<td>8 50.0</td>
<td>50.0</td>
<td>75.7</td>
<td>81.4 $\frac{1}{2}=\frac{1}{2}=\frac{1}{2}$</td>
<td>44.9</td>
<td>57.7</td>
<td>76.3</td>
<td>74.9</td>
<td>6.9 $3\zeta$</td>
<td>7 58.</td>
<td>74.7 7</td>
<td>67.8</td>
<td>64.8</td>
<td>57.3</td>
</tr>
<tr>
<td rowspan="5">10</td>
<td>YOLO-Few-shot $\lceil21\rceil$</td>
<td>30.0 62.</td>
<td>52.7 43.</td>
<td>60.6</td>
<td>39.6</td>
<td>47.2</td>
<td>47.2</td>
<td>65.3 73.5 54.</td>
<td>39.5 7</td>
<td>39.5</td>
<td>75.7</td>
<td>81.1 7 1</td>
<td>35.3</td>
<td>62.5</td>
<td>72.8</td>
<td>78.8</td>
<td>8.6 41</td>
<td>.5 59.</td>
<td>76.5 2</td>
<td>69.2</td>
<td>63.6</td>
<td>59.5</td>
</tr>
<tr>
<td>FRCN+ joint</td>
<td>14.6 20.</td>
<td>20.3 19.</td>
<td>24.3</td>
<td>2.2</td>
<td>16.1</td>
<td>16.1</td>
<td>78.1 80.0 65.</td>
<td>9 64.1</td>
<td>64.1</td>
<td>86.0</td>
<td>187.1</td>
<td>56.9</td>
<td>69.7</td>
<td>84.1</td>
<td>80.0</td>
<td>8.4 44</td>
<td>.8 74.</td>
<td>6 82.7</td>
<td>74.1</td>
<td>73.8</td>
<td>59.4</td>
</tr>
<tr>
<td>FRCN+ ft</td>
<td>31.3 36.</td>
<td>6.554.</td>
<td>26.5</td>
<td>36.2</td>
<td>36.9</td>
<td>36.9</td>
<td>68.4 75.2 59.</td>
<td>54.8 2</td>
<td>54.8</td>
<td>74.1</td>
<td>80.8 </td>
<td>42.8</td>
<td>56.0</td>
<td>68.9</td>
<td>77.8</td>
<td>5.5 $3c$</td>
<td>.7 66.</td>
<td>71.5 1</td>
<td>66.2</td>
<td>64.8</td>
<td>57.8</td>
</tr>
<tr>
<td>FRCN+ft-full</td>
<td>40.1 47.</td>
<td>17.8 45.</td>
<td>47.5</td>
<td>47.0</td>
<td>45.6</td>
<td>45.6</td>
<td>65.7 69.2 52.</td>
<td>6 46.5</td>
<td>46.5</td>
<td>74.6</td>
<td>73.6</td>
<td>40.7</td>
<td>55.0</td>
<td>69.3</td>
<td>73.5</td>
<td>3.2 3:</td>
<td>.8 56.</td>
<td>5 $69.\xi$</td>
<td>65.1</td>
<td>61.3</td>
<td>57.4</td>
</tr>
<tr>
<td>Meta R- CNN $^{\prime}$ours </td>
<td>52.555.</td>
<td>5.9 52.</td>
<td>54.6</td>
<td>41.6</td>
<td>51.5</td>
<td>51.5</td>
<td>68.1 73.9 59.</td>
<td>8 54.2</td>
<td>54.2</td>
<td>80.1</td>
<td>182.9 </td>
<td>48.8</td>
<td>62.8</td>
<td>80.1</td>
<td>81.4</td>
<td>7.2 37</td>
<td>.2 65.</td>
<td>$75.\xi$ 7</td>
<td>70.6</td>
<td>67.9</td>
<td>63.8</td>
</tr>
</tbody>
</table>
## 6. Experiments
在本节中,我们提出了详尽的实验来评估 MetaRCNN 在少射对象检测,相关消融和少射对象分割方面的应用
## 6.1. Few-shot object detection
准上的方法,包括 80 个对象类别,包括 PASCALVOC 中的 20 个类别。在本实验中,我们将 PASCALVOC 中包含的 20 个类设置为新类,然后将 COCO 中的其余 60 个类设置为基类。80k 列车图像和 35k 验证图像子集 (trainval35k)的联合用于训练,我们的评估基于剩余的 5kval 图像 (minival)。最后,我们考虑了从COCO 到 PASCALE[21] 的少量目标检测的跨基准转移设置,该设置利用 COCO 的 60 个基本类来学习知识表示,并且评估基于 20 个新颖的 PASCALVOC 类
基线。在方法论上,可以将 MetaR-CNN 视为FasterR-CNN (FRCN)$\operatorname{E}[36]$在少拍目标检测背景下的元学习扩展。为此,可能会提出有关检测器泛化的问题:
Does Meta R-CNN help to improve the generalization
capability of Faster R-CNN?
为了回答这个问题,我们将 MetaR-CNN 与其基础FRCN 进行了比较。该检测器根据他们使用的不同训练策略分为三个基线。具体来说,FRCN+joint 是用基类和新奇类对象联合训练 FRCN 检测器。相同的迭代次数用于训练此基线和我们的 MetaR-CNN。FRCN+ft 在 MetaR-CNN 中采用了类似的两阶段训练策略:第一阶段只使用基类对象(带边界框)来训练 FRCN,然后使用基类和新颖类对象的组合来微调网络。为了公平比较,用于训练 FRCN+ft 的图像中的对象与 MetaRCNN 相同,并且 FRCN+ft 也采用 MetaR-CNN 的相
在少量拍摄对象检测中,我们采用了具有 ResNet- 101E[17]主干的更快的 R-CNN$\underline{\mathrm{F}}[36]$作为 MetaRCNN 框架中的 R-CNN 模块
基准和设置。我们的少射物体检测实验遵循 [21] 的设置。具体而言,我们评估了 PASCALVOC2007$\bar{\mathbb{E}}[9]$ 、2012$\overline{\mathbb{E}}[9]$和 MS-COCO$\mathbb{E}[27]$基准的通用对象检测轨迹上的所有基线。我们采用 PASCAL 挑战协议,正确的预测应该超过0。5IoU 与地面实况,并将评估指标设置为平均平均精度 (mAP)。在这些基准测试中, VOC2007 和 2012 包含涵盖 20 个对象类别的图像,用于训练,验证和测试集。要创建一些学习设置,我们考虑三种不同的小说/基类拆分设置,即。e。,(“鸟”,“公共汽车”,“牛”,“mbike”,“沙发”/休息);(“航空”,“瓶子”,“牛”,“马”,“沙发”/休息)和$(“船”,“猫”,“mbike””,“羊”,“沙发”/休息)。在$ 元学习的第一阶段,只考虑基类对象。在第二阶段,每个新类中的对象都有$K$ -shot 注释边界框,每个基类中的对象都有 3$K$注释边界框进行训练,其中$K$设置为 1、2、3、5 和 10。我们还评估了我们在 COCO 基
5
|
[
[
0.81201171875,
0.08837890625,
0.9990234375,
0.08837890625,
0.9990234375,
0.10162353515625,
0.81201171875,
0.10162353515625
],
[
0.0849609375,
0.10162353515625,
0.77783203125,
0.10162353515625,
0.77783203125,
0.11553955078125,
0.0849609375,
0.11553955078125
],
[
0.81201171875,
0.10162353515625,
0.99658203125,
0.10162353515625,
0.99658203125,
0.11553955078125,
0.81201171875,
0.11553955078125
],
[
0.0849609375,
0.11553955078125,
0.33251953125,
0.11553955078125,
0.33251953125,
0.1287841796875,
0.0849609375,
0.1287841796875
],
[
0.33251953125,
0.11553955078125,
0.77783203125,
0.11553955078125,
0.77783203125,
0.1287841796875,
0.33251953125,
0.1287841796875
],
[
0.33251953125,
0.11932373046875,
0.336669921875,
0.11932373046875,
0.336669921875,
0.125,
0.33251953125,
0.125
],
[
0.81201171875,
0.11553955078125,
0.99853515625,
0.11553955078125,
0.99853515625,
0.1287841796875,
0.81201171875,
0.1287841796875
],
[
0.08416748046875,
0.1300048828125,
0.265625,
0.1300048828125,
0.265625,
0.143310546875,
0.08416748046875,
0.143310546875
],
[
0.81201171875,
0.1300048828125,
0.9990234375,
0.1300048828125,
0.9990234375,
0.143310546875,
0.81201171875,
0.143310546875
],
[
0.82421875,
0.154052734375,
0.85888671875,
0.1558837890625,
0.85693359375,
0.1685791015625,
0.82275390625,
0.1666259765625
],
[
0.88818359375,
0.154052734375,
0.95166015625,
0.1558837890625,
0.95166015625,
0.1673583984375,
0.88818359375,
0.1654052734375
],
[
0.435546875,
0.1558837890625,
0.560546875,
0.1572265625,
0.560546875,
0.1717529296875,
0.435546875,
0.17041015625
],
[
0.25732421875,
0.1558837890625,
0.3798828125,
0.1572265625,
0.3798828125,
0.1717529296875,
0.25732421875,
0.17041015625
],
[
0.61376953125,
0.1558837890625,
0.73876953125,
0.1572265625,
0.73876953125,
0.1717529296875,
0.61376953125,
0.17041015625
],
[
0.9736328125,
0.1558837890625,
0.9990234375,
0.1558837890625,
0.9990234375,
0.1673583984375,
0.9736328125,
0.1673583984375
],
[
0.496826171875,
0.17041015625,
0.5087890625,
0.179931640625,
0.496826171875,
0.189453125,
0.484375,
0.179931640625
],
[
0.85888671875,
0.1666259765625,
0.99853515625,
0.1666259765625,
0.99853515625,
0.179931640625,
0.85888671875,
0.179931640625
],
[
0.34716796875,
0.173583984375,
0.363525390625,
0.173583984375,
0.363525390625,
0.1881103515625,
0.34716796875,
0.1881103515625
],
[
0.455078125,
0.173583984375,
0.471435546875,
0.173583984375,
0.471435546875,
0.1881103515625,
0.455078125,
0.1881103515625
],
[
0.63232421875,
0.173583984375,
0.64892578125,
0.173583984375,
0.64892578125,
0.1881103515625,
0.63232421875,
0.1881103515625
],
[
0.27783203125,
0.1749267578125,
0.2900390625,
0.1749267578125,
0.2900390625,
0.1875,
0.27783203125,
0.1875
],
[
0.1217041015625,
0.1749267578125,
0.2059326171875,
0.1749267578125,
0.2059326171875,
0.186279296875,
0.1217041015625,
0.186279296875
],
[
0.3095703125,
0.1749267578125,
0.324462890625,
0.1717529296875,
0.328369140625,
0.186279296875,
0.313720703125,
0.189453125
],
[
0.381591796875,
0.1749267578125,
0.40283203125,
0.1749267578125,
0.40283203125,
0.1875,
0.381591796875,
0.1875
],
[
0.5595703125,
0.1749267578125,
0.5810546875,
0.1749267578125,
0.5810546875,
0.1875,
0.5595703125,
0.1875
],
[
0.6708984375,
0.1749267578125,
0.68310546875,
0.1749267578125,
0.68310546875,
0.1875,
0.6708984375,
0.1875
],
[
0.73779296875,
0.1749267578125,
0.7646484375,
0.1749267578125,
0.7646484375,
0.1875,
0.73779296875,
0.1875
],
[
0.420654296875,
0.175537109375,
0.43310546875,
0.175537109375,
0.43310546875,
0.1849365234375,
0.420654296875,
0.1849365234375
],
[
0.2418212890625,
0.175537109375,
0.2548828125,
0.175537109375,
0.2548828125,
0.186279296875,
0.2418212890625,
0.186279296875
],
[
0.52685546875,
0.175537109375,
0.5400390625,
0.175537109375,
0.5400390625,
0.1875,
0.52685546875,
0.1875
],
[
0.6005859375,
0.175537109375,
0.611328125,
0.175537109375,
0.611328125,
0.186279296875,
0.6005859375,
0.186279296875
],
[
0.7060546875,
0.175537109375,
0.71826171875,
0.175537109375,
0.71826171875,
0.1875,
0.7060546875,
0.1875
],
[
0.859375,
0.179931640625,
0.9990234375,
0.179931640625,
0.9990234375,
0.1932373046875,
0.859375,
0.1932373046875
],
[
0.301513671875,
0.1881103515625,
0.406005859375,
0.1900634765625,
0.406005859375,
0.2052001953125,
0.301513671875,
0.20263671875
],
[
0.438720703125,
0.189453125,
0.4794921875,
0.189453125,
0.4794921875,
0.203857421875,
0.438720703125,
0.203857421875
],
[
0.4794921875,
0.189453125,
0.5849609375,
0.189453125,
0.5849609375,
0.203857421875,
0.4794921875,
0.203857421875
],
[
0.58642578125,
0.189453125,
0.65673828125,
0.189453125,
0.65673828125,
0.203857421875,
0.58642578125,
0.203857421875
],
[
0.83837890625,
0.1875,
0.84716796875,
0.1900634765625,
0.84326171875,
0.1976318359375,
0.833984375,
0.1944580078125
],
[
0.65673828125,
0.1900634765625,
0.69140625,
0.1900634765625,
0.69140625,
0.20263671875,
0.65673828125,
0.20263671875
],
[
0.09722900390625,
0.1900634765625,
0.30810546875,
0.1900634765625,
0.30810546875,
0.203857421875,
0.09722900390625,
0.203857421875
],
[
0.41015625,
0.1912841796875,
0.4453125,
0.1912841796875,
0.4453125,
0.20263671875,
0.41015625,
0.20263671875
],
[
0.69287109375,
0.1912841796875,
0.72802734375,
0.1912841796875,
0.72802734375,
0.20263671875,
0.69287109375,
0.20263671875
],
[
0.73046875,
0.1912841796875,
0.7646484375,
0.1912841796875,
0.7646484375,
0.203857421875,
0.73046875,
0.203857421875
],
[
0.85888671875,
0.1932373046875,
0.99853515625,
0.1932373046875,
0.99853515625,
0.203857421875,
0.85888671875,
0.203857421875
],
[
0.44677734375,
0.2020263671875,
0.4794921875,
0.20703125,
0.4755859375,
0.222900390625,
0.44287109375,
0.2171630859375
],
[
0.4755859375,
0.1956787109375,
0.483642578125,
0.1956787109375,
0.483642578125,
0.1988525390625,
0.4755859375,
0.1988525390625
],
[
0.12091064453125,
0.203857421875,
0.205078125,
0.205810546875,
0.205078125,
0.2203369140625,
0.12091064453125,
0.2183837890625
],
[
0.414306640625,
0.203857421875,
0.441162109375,
0.20703125,
0.438720703125,
0.2203369140625,
0.410888671875,
0.2171630859375
],
[
0.59326171875,
0.203857421875,
0.619140625,
0.20703125,
0.61669921875,
0.2203369140625,
0.5908203125,
0.2171630859375
],
[
0.85888671875,
0.20263671875,
0.9990234375,
0.203857421875,
0.9990234375,
0.2183837890625,
0.85888671875,
0.2171630859375
],
[
0.69775390625,
0.2052001953125,
0.72607421875,
0.20703125,
0.7255859375,
0.2203369140625,
0.69677734375,
0.2183837890625
],
[
0.236083984375,
0.205810546875,
0.2607421875,
0.205810546875,
0.2607421875,
0.2197265625,
0.236083984375,
0.2197265625
],
[
0.51708984375,
0.2052001953125,
0.5498046875,
0.2052001953125,
0.5498046875,
0.2203369140625,
0.51708984375,
0.2203369140625
],
[
0.5556640625,
0.205810546875,
0.58642578125,
0.205810546875,
0.58642578125,
0.2183837890625,
0.5556640625,
0.2183837890625
],
[
0.6259765625,
0.205810546875,
0.654296875,
0.205810546875,
0.654296875,
0.2203369140625,
0.6259765625,
0.2203369140625
],
[
0.66259765625,
0.205810546875,
0.69140625,
0.205810546875,
0.69140625,
0.2203369140625,
0.66259765625,
0.2203369140625
],
[
0.306396484375,
0.20703125,
0.33251953125,
0.20703125,
0.33251953125,
0.2197265625,
0.306396484375,
0.2197265625
],
[
0.268798828125,
0.20703125,
0.29736328125,
0.20703125,
0.29736328125,
0.2197265625,
0.268798828125,
0.2197265625
],
[
0.339111328125,
0.20703125,
0.374267578125,
0.20703125,
0.374267578125,
0.2183837890625,
0.339111328125,
0.2183837890625
],
[
0.375732421875,
0.20703125,
0.406982421875,
0.20703125,
0.406982421875,
0.2197265625,
0.375732421875,
0.2197265625
],
[
0.486083984375,
0.20703125,
0.5107421875,
0.20703125,
0.5107421875,
0.2197265625,
0.486083984375,
0.2197265625
],
[
0.734375,
0.20703125,
0.7607421875,
0.20703125,
0.7607421875,
0.2197265625,
0.734375,
0.2197265625
],
[
0.1282958984375,
0.2203369140625,
0.1968994140625,
0.222900390625,
0.1968994140625,
0.2374267578125,
0.1282958984375,
0.23486328125
],
[
0.2320556640625,
0.2215576171875,
0.30810546875,
0.2215576171875,
0.30810546875,
0.236083984375,
0.2320556640625,
0.236083984375
],
[
0.330078125,
0.2215576171875,
0.375732421875,
0.2215576171875,
0.375732421875,
0.236083984375,
0.330078125,
0.236083984375
],
[
0.861328125,
0.2183837890625,
0.99853515625,
0.2183837890625,
0.99853515625,
0.2291259765625,
0.861328125,
0.2291259765625
],
[
0.375732421875,
0.222900390625,
0.406982421875,
0.222900390625,
0.406982421875,
0.23486328125,
0.375732421875,
0.23486328125
],
[
0.303955078125,
0.222900390625,
0.336669921875,
0.222900390625,
0.336669921875,
0.23486328125,
0.303955078125,
0.23486328125
],
[
0.414306640625,
0.222900390625,
0.439453125,
0.222900390625,
0.439453125,
0.23486328125,
0.414306640625,
0.23486328125
],
[
0.449462890625,
0.222900390625,
0.4755859375,
0.222900390625,
0.4755859375,
0.236083984375,
0.449462890625,
0.236083984375
],
[
0.483642578125,
0.222900390625,
0.515625,
0.222900390625,
0.515625,
0.23486328125,
0.483642578125,
0.23486328125
],
[
0.515625,
0.222900390625,
0.54833984375,
0.222900390625,
0.54833984375,
0.23486328125,
0.515625,
0.23486328125
],
[
0.5537109375,
0.222900390625,
0.58642578125,
0.222900390625,
0.58642578125,
0.23486328125,
0.5537109375,
0.23486328125
],
[
0.59326171875,
0.222900390625,
0.61767578125,
0.222900390625,
0.61767578125,
0.23486328125,
0.59326171875,
0.23486328125
],
[
0.62841796875,
0.222900390625,
0.654296875,
0.222900390625,
0.654296875,
0.23486328125,
0.62841796875,
0.23486328125
],
[
0.6611328125,
0.222900390625,
0.69140625,
0.222900390625,
0.69140625,
0.23486328125,
0.6611328125,
0.23486328125
],
[
0.69775390625,
0.222900390625,
0.7294921875,
0.222900390625,
0.7294921875,
0.23486328125,
0.69775390625,
0.23486328125
],
[
0.73388671875,
0.2235107421875,
0.76318359375,
0.2235107421875,
0.76318359375,
0.236083984375,
0.73388671875,
0.236083984375
],
[
0.8349609375,
0.23486328125,
0.85107421875,
0.238037109375,
0.84716796875,
0.248779296875,
0.8310546875,
0.24560546875
],
[
0.861328125,
0.2310791015625,
0.99853515625,
0.2310791015625,
0.99853515625,
0.2412109375,
0.861328125,
0.2412109375
],
[
0.233642578125,
0.238037109375,
0.343017578125,
0.238037109375,
0.343017578125,
0.251953125,
0.233642578125,
0.251953125
],
[
0.625,
0.238037109375,
0.69384765625,
0.238037109375,
0.69384765625,
0.25244140625,
0.625,
0.25244140625
],
[
0.69384765625,
0.236083984375,
0.7607421875,
0.238037109375,
0.7607421875,
0.25244140625,
0.69384765625,
0.250732421875
],
[
0.336669921875,
0.2392578125,
0.369384765625,
0.2392578125,
0.369384765625,
0.250732421875,
0.336669921875,
0.250732421875
],
[
0.12091064453125,
0.2392578125,
0.20751953125,
0.2392578125,
0.20751953125,
0.250732421875,
0.12091064453125,
0.250732421875
],
[
0.375732421875,
0.2392578125,
0.406982421875,
0.2392578125,
0.406982421875,
0.250732421875,
0.375732421875,
0.250732421875
],
[
0.4150390625,
0.2392578125,
0.439453125,
0.2392578125,
0.439453125,
0.250732421875,
0.4150390625,
0.250732421875
],
[
0.4453125,
0.2392578125,
0.47802734375,
0.2392578125,
0.47802734375,
0.250732421875,
0.4453125,
0.250732421875
],
[
0.48046875,
0.2392578125,
0.54833984375,
0.2392578125,
0.54833984375,
0.250732421875,
0.48046875,
0.250732421875
],
[
0.55224609375,
0.2392578125,
0.583984375,
0.2392578125,
0.583984375,
0.250732421875,
0.55224609375,
0.250732421875
],
[
0.59326171875,
0.2392578125,
0.619140625,
0.2392578125,
0.619140625,
0.251953125,
0.59326171875,
0.251953125
],
[
0.85693359375,
0.242431640625,
0.9990234375,
0.242431640625,
0.9990234375,
0.255615234375,
0.85693359375,
0.255615234375
],
[
0.1004638671875,
0.25390625,
0.2296142578125,
0.25390625,
0.2296142578125,
0.267578125,
0.1004638671875,
0.267578125
],
[
0.2279052734375,
0.25390625,
0.3349609375,
0.25390625,
0.3349609375,
0.267578125,
0.2279052734375,
0.267578125
],
[
0.33251953125,
0.255126953125,
0.369384765625,
0.255126953125,
0.369384765625,
0.266357421875,
0.33251953125,
0.266357421875
],
[
0.371826171875,
0.255126953125,
0.404296875,
0.255126953125,
0.404296875,
0.266357421875,
0.371826171875,
0.266357421875
],
[
0.408447265625,
0.255126953125,
0.441162109375,
0.255126953125,
0.441162109375,
0.266357421875,
0.408447265625,
0.266357421875
],
[
0.44677734375,
0.255126953125,
0.4755859375,
0.255126953125,
0.4755859375,
0.266357421875,
0.44677734375,
0.266357421875
],
[
0.4794921875,
0.255126953125,
0.5458984375,
0.255126953125,
0.5458984375,
0.266357421875,
0.4794921875,
0.266357421875
],
[
0.5537109375,
0.255126953125,
0.58251953125,
0.255126953125,
0.58251953125,
0.266357421875,
0.5537109375,
0.266357421875
],
[
0.58837890625,
0.255126953125,
0.62109375,
0.255126953125,
0.62109375,
0.266357421875,
0.58837890625,
0.266357421875
],
[
0.615234375,
0.255126953125,
0.654296875,
0.255126953125,
0.654296875,
0.266357421875,
0.615234375,
0.266357421875
],
[
0.66015625,
0.255126953125,
0.689453125,
0.255126953125,
0.689453125,
0.266357421875,
0.66015625,
0.266357421875
],
[
0.69677734375,
0.255126953125,
0.7607421875,
0.255126953125,
0.7607421875,
0.266357421875,
0.69677734375,
0.266357421875
],
[
0.85888671875,
0.25244140625,
0.9990234375,
0.25390625,
0.9990234375,
0.268310546875,
0.85888671875,
0.267578125
],
[
0.080078125,
0.28271484375,
0.89208984375,
0.28271484375,
0.89208984375,
0.296630859375,
0.080078125,
0.296630859375
],
[
0.36767578125,
0.25830078125,
0.374267578125,
0.261474609375,
0.371826171875,
0.264404296875,
0.365234375,
0.261474609375
],
[
0.080078125,
0.29541015625,
0.61279296875,
0.29541015625,
0.61279296875,
0.309326171875,
0.080078125,
0.309326171875
],
[
0.61767578125,
0.296630859375,
0.89208984375,
0.296630859375,
0.89208984375,
0.31005859375,
0.61767578125,
0.31005859375
],
[
0.080078125,
0.311279296875,
0.30810546875,
0.311279296875,
0.30810546875,
0.324462890625,
0.080078125,
0.324462890625
],
[
0.28515625,
0.3359375,
0.365234375,
0.33837890625,
0.365234375,
0.35107421875,
0.28515625,
0.348388671875
],
[
0.63232421875,
0.337158203125,
0.7060546875,
0.339111328125,
0.7060546875,
0.35107421875,
0.63232421875,
0.348388671875
],
[
0.2303466796875,
0.347900390625,
0.92626953125,
0.349853515625,
0.92626953125,
0.367431640625,
0.2303466796875,
0.365478515625
],
[
0.92236328125,
0.3466796875,
0.9560546875,
0.3466796875,
0.9560546875,
0.35595703125,
0.92236328125,
0.35595703125
],
[
0.1446533203125,
0.3515625,
0.2017822265625,
0.3515625,
0.2017822265625,
0.363037109375,
0.1446533203125,
0.363037109375
],
[
0.08087158203125,
0.3515625,
0.11517333984375,
0.3515625,
0.11517333984375,
0.363037109375,
0.08087158203125,
0.363037109375
],
[
0.108642578125,
0.363037109375,
0.71826171875,
0.3623046875,
0.71826171875,
0.376953125,
0.108642578125,
0.37744140625
],
[
0.7236328125,
0.363037109375,
0.75732421875,
0.365478515625,
0.75634765625,
0.376953125,
0.72216796875,
0.375
],
[
0.76123046875,
0.365478515625,
0.826171875,
0.365478515625,
0.826171875,
0.376953125,
0.76123046875,
0.376953125
],
[
0.82666015625,
0.3642578125,
0.95751953125,
0.3642578125,
0.95751953125,
0.37744140625,
0.82666015625,
0.37744140625
],
[
0.4150390625,
0.376953125,
0.50244140625,
0.37890625,
0.50244140625,
0.39013671875,
0.4150390625,
0.38818359375
],
[
0.72607421875,
0.376953125,
0.7548828125,
0.37890625,
0.75341796875,
0.39013671875,
0.7255859375,
0.38818359375
],
[
0.9248046875,
0.375732421875,
0.955078125,
0.37744140625,
0.95361328125,
0.39013671875,
0.92333984375,
0.38818359375
],
[
0.236083984375,
0.37744140625,
0.314453125,
0.37744140625,
0.314453125,
0.389404296875,
0.236083984375,
0.389404296875
],
[
0.134033203125,
0.37744140625,
0.2115478515625,
0.37744140625,
0.2115478515625,
0.389404296875,
0.134033203125,
0.389404296875
],
[
0.32275390625,
0.37744140625,
0.34716796875,
0.37744140625,
0.34716796875,
0.389404296875,
0.32275390625,
0.389404296875
],
[
0.35546875,
0.37744140625,
0.3798828125,
0.37744140625,
0.3798828125,
0.389404296875,
0.35546875,
0.389404296875
],
[
0.386474609375,
0.37744140625,
0.41015625,
0.37744140625,
0.41015625,
0.389404296875,
0.386474609375,
0.389404296875
],
[
0.62841796875,
0.37744140625,
0.7158203125,
0.37744140625,
0.7158203125,
0.389404296875,
0.62841796875,
0.389404296875
],
[
0.76318359375,
0.37744140625,
0.79150390625,
0.37744140625,
0.79150390625,
0.389404296875,
0.76318359375,
0.389404296875
],
[
0.79833984375,
0.37744140625,
0.82666015625,
0.37744140625,
0.82666015625,
0.389404296875,
0.79833984375,
0.389404296875
],
[
0.83251953125,
0.37744140625,
0.88818359375,
0.37744140625,
0.88818359375,
0.389404296875,
0.83251953125,
0.389404296875
],
[
0.88818359375,
0.37890625,
0.91845703125,
0.376953125,
0.9189453125,
0.38818359375,
0.8896484375,
0.39013671875
],
[
0.92333984375,
0.389404296875,
0.955078125,
0.391357421875,
0.95361328125,
0.404052734375,
0.92236328125,
0.401611328125
],
[
0.50244140625,
0.37890625,
0.62158203125,
0.37890625,
0.62158203125,
0.389404296875,
0.50244140625,
0.389404296875
],
[
0.2344970703125,
0.39013671875,
0.351318359375,
0.39013671875,
0.351318359375,
0.404052734375,
0.2344970703125,
0.404052734375
],
[
0.346435546875,
0.39013671875,
0.50244140625,
0.39013671875,
0.50244140625,
0.404052734375,
0.346435546875,
0.404052734375
],
[
0.50341796875,
0.39013671875,
0.6259765625,
0.39013671875,
0.6259765625,
0.404052734375,
0.50341796875,
0.404052734375
],
[
0.62109375,
0.391357421875,
0.71728515625,
0.391357421875,
0.71728515625,
0.40283203125,
0.62109375,
0.40283203125
],
[
0.72607421875,
0.391357421875,
0.7548828125,
0.391357421875,
0.7548828125,
0.404052734375,
0.72607421875,
0.404052734375
],
[
0.76318359375,
0.391357421875,
0.79150390625,
0.391357421875,
0.79150390625,
0.40283203125,
0.76318359375,
0.40283203125
],
[
0.79736328125,
0.391357421875,
0.82666015625,
0.391357421875,
0.82666015625,
0.40283203125,
0.79736328125,
0.40283203125
],
[
0.83251953125,
0.391357421875,
0.9208984375,
0.391357421875,
0.9208984375,
0.40283203125,
0.83251953125,
0.40283203125
],
[
0.1422119140625,
0.391357421875,
0.2017822265625,
0.391357421875,
0.2017822265625,
0.40283203125,
0.1422119140625,
0.40283203125
],
[
0.0931396484375,
0.39453125,
0.1004638671875,
0.39453125,
0.1004638671875,
0.401611328125,
0.0931396484375,
0.401611328125
],
[
0.13232421875,
0.40478515625,
0.214111328125,
0.40478515625,
0.214111328125,
0.416748046875,
0.13232421875,
0.416748046875
],
[
0.236083984375,
0.40478515625,
0.318603515625,
0.40478515625,
0.318603515625,
0.415283203125,
0.236083984375,
0.415283203125
],
[
0.316162109375,
0.40478515625,
0.3505859375,
0.40478515625,
0.3505859375,
0.416748046875,
0.316162109375,
0.416748046875
],
[
0.3544921875,
0.40478515625,
0.3857421875,
0.40478515625,
0.3857421875,
0.416748046875,
0.3544921875,
0.416748046875
],
[
0.4150390625,
0.40478515625,
0.5009765625,
0.40478515625,
0.5009765625,
0.416748046875,
0.4150390625,
0.416748046875
],
[
0.5048828125,
0.404052734375,
0.6259765625,
0.404052734375,
0.6259765625,
0.417236328125,
0.5048828125,
0.417236328125
],
[
0.62744140625,
0.40478515625,
0.65869140625,
0.40478515625,
0.65869140625,
0.416748046875,
0.62744140625,
0.416748046875
],
[
0.65625,
0.40478515625,
0.71728515625,
0.40478515625,
0.71728515625,
0.416748046875,
0.65625,
0.416748046875
],
[
0.7255859375,
0.40478515625,
0.7548828125,
0.40478515625,
0.7548828125,
0.417236328125,
0.7255859375,
0.417236328125
],
[
0.76318359375,
0.40478515625,
0.79150390625,
0.40478515625,
0.79150390625,
0.416748046875,
0.76318359375,
0.416748046875
],
[
0.79833984375,
0.40478515625,
0.82666015625,
0.40478515625,
0.82666015625,
0.416748046875,
0.79833984375,
0.416748046875
],
[
0.8310546875,
0.40478515625,
0.91845703125,
0.40478515625,
0.91845703125,
0.416748046875,
0.8310546875,
0.416748046875
],
[
0.92626953125,
0.40478515625,
0.955078125,
0.40478515625,
0.955078125,
0.416748046875,
0.92626953125,
0.416748046875
],
[
0.1094970703125,
0.415283203125,
0.3203125,
0.416748046875,
0.3203125,
0.43115234375,
0.1094970703125,
0.429931640625
],
[
0.381591796875,
0.406005859375,
0.41259765625,
0.406005859375,
0.41259765625,
0.4140625,
0.381591796875,
0.4140625
],
[
0.35302734375,
0.416748046875,
0.50244140625,
0.416748046875,
0.50244140625,
0.43115234375,
0.35302734375,
0.43115234375
],
[
0.53759765625,
0.417236328125,
0.625,
0.417236328125,
0.625,
0.4287109375,
0.53759765625,
0.4287109375
],
[
0.62744140625,
0.417236328125,
0.71728515625,
0.417236328125,
0.71728515625,
0.4287109375,
0.62744140625,
0.4287109375
],
[
0.7255859375,
0.417236328125,
0.7548828125,
0.417236328125,
0.7548828125,
0.429931640625,
0.7255859375,
0.429931640625
],
[
0.76123046875,
0.417236328125,
0.79345703125,
0.417236328125,
0.79345703125,
0.429931640625,
0.76123046875,
0.429931640625
],
[
0.79736328125,
0.417236328125,
0.826171875,
0.417236328125,
0.826171875,
0.429931640625,
0.79736328125,
0.429931640625
],
[
0.9248046875,
0.417236328125,
0.9560546875,
0.417236328125,
0.9560546875,
0.429931640625,
0.9248046875,
0.429931640625
],
[
0.83251953125,
0.41845703125,
0.9208984375,
0.41845703125,
0.9208984375,
0.429931640625,
0.83251953125,
0.429931640625
],
[
0.316162109375,
0.41845703125,
0.348876953125,
0.41845703125,
0.348876953125,
0.429931640625,
0.316162109375,
0.429931640625
],
[
0.50732421875,
0.419189453125,
0.5390625,
0.419189453125,
0.5390625,
0.427978515625,
0.50732421875,
0.427978515625
],
[
0.111083984375,
0.43115234375,
0.35693359375,
0.43115234375,
0.35693359375,
0.4443359375,
0.111083984375,
0.4443359375
],
[
0.3505859375,
0.43115234375,
0.5009765625,
0.43115234375,
0.5009765625,
0.4443359375,
0.3505859375,
0.4443359375
],
[
0.50244140625,
0.43115234375,
0.71826171875,
0.43115234375,
0.71826171875,
0.4443359375,
0.50244140625,
0.4443359375
],
[
0.7236328125,
0.431884765625,
0.7548828125,
0.431884765625,
0.7548828125,
0.443115234375,
0.7236328125,
0.443115234375
],
[
0.76318359375,
0.431884765625,
0.80126953125,
0.431884765625,
0.80126953125,
0.443115234375,
0.76318359375,
0.443115234375
],
[
0.7958984375,
0.431884765625,
0.833984375,
0.431884765625,
0.833984375,
0.443115234375,
0.7958984375,
0.443115234375
],
[
0.8310546875,
0.431884765625,
0.92626953125,
0.431884765625,
0.92626953125,
0.443115234375,
0.8310546875,
0.443115234375
],
[
0.9208984375,
0.431884765625,
0.955078125,
0.431884765625,
0.955078125,
0.443115234375,
0.9208984375,
0.443115234375
],
[
0.72607421875,
0.443115234375,
0.7548828125,
0.44580078125,
0.75341796875,
0.45703125,
0.7255859375,
0.455078125
],
[
0.79736328125,
0.443115234375,
0.826171875,
0.44580078125,
0.82421875,
0.45703125,
0.7958984375,
0.455078125
],
[
0.9248046875,
0.443115234375,
0.955078125,
0.44580078125,
0.95361328125,
0.45703125,
0.92333984375,
0.455078125
],
[
0.68701171875,
0.4443359375,
0.71728515625,
0.4443359375,
0.71728515625,
0.455810546875,
0.68701171875,
0.455810546875
],
[
0.134033203125,
0.44580078125,
0.2115478515625,
0.44580078125,
0.2115478515625,
0.45703125,
0.134033203125,
0.45703125
],
[
0.236083984375,
0.44580078125,
0.318603515625,
0.44580078125,
0.318603515625,
0.455810546875,
0.236083984375,
0.455810546875
],
[
0.313720703125,
0.44580078125,
0.348876953125,
0.44580078125,
0.348876953125,
0.45703125,
0.313720703125,
0.45703125
],
[
0.35693359375,
0.4443359375,
0.3798828125,
0.4443359375,
0.3798828125,
0.455810546875,
0.35693359375,
0.455810546875
],
[
0.416748046875,
0.44580078125,
0.5009765625,
0.44580078125,
0.5009765625,
0.455810546875,
0.416748046875,
0.455810546875
],
[
0.53759765625,
0.44580078125,
0.62353515625,
0.44580078125,
0.62353515625,
0.455810546875,
0.53759765625,
0.455810546875
],
[
0.62744140625,
0.44580078125,
0.69287109375,
0.44580078125,
0.69287109375,
0.455810546875,
0.62744140625,
0.455810546875
],
[
0.7646484375,
0.44580078125,
0.79150390625,
0.44580078125,
0.79150390625,
0.45703125,
0.7646484375,
0.45703125
],
[
0.83251953125,
0.44580078125,
0.88818359375,
0.44580078125,
0.88818359375,
0.455810546875,
0.83251953125,
0.455810546875
],
[
0.50634765625,
0.4462890625,
0.53515625,
0.4462890625,
0.53515625,
0.455078125,
0.50634765625,
0.455078125
],
[
0.386474609375,
0.4462890625,
0.41015625,
0.4462890625,
0.41015625,
0.455078125,
0.386474609375,
0.455078125
],
[
0.890625,
0.4462890625,
0.91845703125,
0.4462890625,
0.91845703125,
0.455078125,
0.890625,
0.455078125
],
[
0.31201171875,
0.45703125,
0.50341796875,
0.45703125,
0.50341796875,
0.47021484375,
0.31201171875,
0.47021484375
],
[
0.50341796875,
0.45703125,
0.71826171875,
0.45703125,
0.71826171875,
0.47021484375,
0.50341796875,
0.47021484375
],
[
0.7255859375,
0.45703125,
0.75634765625,
0.458984375,
0.7548828125,
0.4716796875,
0.7236328125,
0.4697265625
],
[
0.76318359375,
0.455810546875,
0.79345703125,
0.458251953125,
0.79150390625,
0.47021484375,
0.76123046875,
0.468505859375
],
[
0.1422119140625,
0.458251953125,
0.2017822265625,
0.458251953125,
0.2017822265625,
0.4697265625,
0.1422119140625,
0.4697265625
],
[
0.0882568359375,
0.458251953125,
0.1070556640625,
0.458251953125,
0.1070556640625,
0.47021484375,
0.0882568359375,
0.47021484375
],
[
0.236083984375,
0.458251953125,
0.318603515625,
0.458251953125,
0.318603515625,
0.4697265625,
0.236083984375,
0.4697265625
],
[
0.79736328125,
0.458251953125,
0.82421875,
0.458251953125,
0.82421875,
0.4697265625,
0.79736328125,
0.4697265625
],
[
0.83251953125,
0.458251953125,
0.9189453125,
0.458251953125,
0.9189453125,
0.4697265625,
0.83251953125,
0.4697265625
],
[
0.9248046875,
0.458251953125,
0.955078125,
0.458251953125,
0.955078125,
0.47021484375,
0.9248046875,
0.47021484375
],
[
0.7255859375,
0.4697265625,
0.7548828125,
0.4716796875,
0.75341796875,
0.484130859375,
0.7236328125,
0.481689453125
],
[
0.76318359375,
0.4697265625,
0.79150390625,
0.4716796875,
0.7900390625,
0.484130859375,
0.76123046875,
0.481689453125
],
[
0.79833984375,
0.47021484375,
0.8310546875,
0.472900390625,
0.830078125,
0.484130859375,
0.79736328125,
0.481689453125
],
[
0.34716796875,
0.47021484375,
0.50244140625,
0.47021484375,
0.50244140625,
0.484130859375,
0.34716796875,
0.484130859375
],
[
0.131591796875,
0.4716796875,
0.214111328125,
0.4716796875,
0.214111328125,
0.48291015625,
0.131591796875,
0.48291015625
],
[
0.5048828125,
0.4716796875,
0.71826171875,
0.4716796875,
0.71826171875,
0.48486328125,
0.5048828125,
0.48486328125
],
[
0.9248046875,
0.4716796875,
0.955078125,
0.4716796875,
0.955078125,
0.484130859375,
0.9248046875,
0.484130859375
],
[
0.82861328125,
0.472900390625,
0.9189453125,
0.472900390625,
0.9189453125,
0.48291015625,
0.82861328125,
0.48291015625
],
[
0.236083984375,
0.472900390625,
0.3505859375,
0.472900390625,
0.3505859375,
0.48291015625,
0.236083984375,
0.48291015625
],
[
0.111083984375,
0.48291015625,
0.2344970703125,
0.48291015625,
0.2344970703125,
0.496826171875,
0.111083984375,
0.496826171875
],
[
0.50341796875,
0.48291015625,
0.71826171875,
0.48291015625,
0.71826171875,
0.496826171875,
0.50341796875,
0.496826171875
],
[
0.7255859375,
0.484130859375,
0.7548828125,
0.484130859375,
0.7548828125,
0.49560546875,
0.7255859375,
0.49560546875
],
[
0.76123046875,
0.484130859375,
0.7939453125,
0.484130859375,
0.7939453125,
0.49560546875,
0.76123046875,
0.49560546875
],
[
0.79345703125,
0.484130859375,
0.8310546875,
0.484130859375,
0.8310546875,
0.49560546875,
0.79345703125,
0.49560546875
],
[
0.830078125,
0.484130859375,
0.91845703125,
0.484130859375,
0.91845703125,
0.49560546875,
0.830078125,
0.49560546875
],
[
0.9248046875,
0.48291015625,
0.955078125,
0.48486328125,
0.95361328125,
0.49755859375,
0.92333984375,
0.49560546875
],
[
0.35302734375,
0.48486328125,
0.5009765625,
0.48486328125,
0.5009765625,
0.49560546875,
0.35302734375,
0.49560546875
],
[
0.2296142578125,
0.48486328125,
0.3203125,
0.48486328125,
0.3203125,
0.49560546875,
0.2296142578125,
0.49560546875
],
[
0.316162109375,
0.486083984375,
0.3505859375,
0.486083984375,
0.3505859375,
0.49560546875,
0.316162109375,
0.49560546875
],
[
0.10455322265625,
0.5087890625,
0.2181396484375,
0.5087890625,
0.2181396484375,
0.52294921875,
0.10455322265625,
0.52294921875
],
[
0.50244140625,
0.5087890625,
0.89208984375,
0.50830078125,
0.89208984375,
0.52294921875,
0.50244140625,
0.5234375
],
[
0.50341796875,
0.5244140625,
0.89208984375,
0.5244140625,
0.89208984375,
0.53857421875,
0.50341796875,
0.53857421875
],
[
0.08087158203125,
0.51025390625,
0.111083984375,
0.51025390625,
0.111083984375,
0.521484375,
0.08087158203125,
0.521484375
],
[
0.098876953125,
0.53076171875,
0.465576171875,
0.5322265625,
0.465576171875,
0.546875,
0.098876953125,
0.54541015625
],
[
0.080078125,
0.54541015625,
0.468017578125,
0.546875,
0.468017578125,
0.56103515625,
0.080078125,
0.56005859375
],
[
0.50341796875,
0.54052734375,
0.89208984375,
0.54052734375,
0.89208984375,
0.5537109375,
0.50341796875,
0.5537109375
],
[
0.080078125,
0.56005859375,
0.13232421875,
0.5625,
0.131591796875,
0.57763671875,
0.07843017578125,
0.57568359375
],
[
0.5048828125,
0.5546875,
0.890625,
0.5546875,
0.890625,
0.568359375,
0.5048828125,
0.568359375
],
[
0.50341796875,
0.57080078125,
0.89208984375,
0.57080078125,
0.89208984375,
0.583984375,
0.50341796875,
0.583984375
],
[
0.50341796875,
0.583984375,
0.890625,
0.5859375,
0.890625,
0.599609375,
0.50341796875,
0.59765625
],
[
0.080078125,
0.59130859375,
0.316162109375,
0.59130859375,
0.316162109375,
0.60498046875,
0.080078125,
0.60498046875
],
[
0.50244140625,
0.599609375,
0.8896484375,
0.599609375,
0.8896484375,
0.61279296875,
0.50244140625,
0.61279296875
],
[
0.1004638671875,
0.61279296875,
0.468017578125,
0.61279296875,
0.468017578125,
0.626953125,
0.1004638671875,
0.626953125
],
[
0.50244140625,
0.61572265625,
0.890625,
0.6142578125,
0.890625,
0.62890625,
0.50244140625,
0.6298828125
],
[
0.08087158203125,
0.62744140625,
0.468017578125,
0.62744140625,
0.468017578125,
0.642578125,
0.08087158203125,
0.642578125
],
[
0.50341796875,
0.630859375,
0.88623046875,
0.630859375,
0.88623046875,
0.64453125,
0.50341796875,
0.64453125
],
[
0.080078125,
0.642578125,
0.28515625,
0.642578125,
0.28515625,
0.65576171875,
0.080078125,
0.65576171875
],
[
0.52294921875,
0.64599609375,
0.890625,
0.64599609375,
0.890625,
0.66015625,
0.52294921875,
0.66015625
],
[
0.1004638671875,
0.66015625,
0.468017578125,
0.66015625,
0.468017578125,
0.673828125,
0.1004638671875,
0.673828125
],
[
0.50244140625,
0.6591796875,
0.8896484375,
0.66015625,
0.8896484375,
0.6748046875,
0.50244140625,
0.673828125
],
[
0.080078125,
0.6748046875,
0.46728515625,
0.673828125,
0.46728515625,
0.68798828125,
0.080078125,
0.689453125
],
[
0.50341796875,
0.67529296875,
0.890625,
0.67529296875,
0.890625,
0.689453125,
0.50341796875,
0.689453125
],
[
0.09478759765625,
0.68994140625,
0.46728515625,
0.68994140625,
0.46728515625,
0.7041015625,
0.09478759765625,
0.7041015625
],
[
0.50341796875,
0.69140625,
0.529296875,
0.69140625,
0.529296875,
0.705078125,
0.50341796875,
0.705078125
],
[
0.08087158203125,
0.70556640625,
0.468017578125,
0.70556640625,
0.468017578125,
0.7197265625,
0.08087158203125,
0.7197265625
],
[
0.50244140625,
0.7119140625,
0.89208984375,
0.71337890625,
0.89208984375,
0.72802734375,
0.50244140625,
0.7265625
],
[
0.08087158203125,
0.72021484375,
0.468017578125,
0.72021484375,
0.468017578125,
0.734375,
0.08087158203125,
0.734375
],
[
0.08087158203125,
0.73486328125,
0.46728515625,
0.73486328125,
0.46728515625,
0.74853515625,
0.08087158203125,
0.74853515625
],
[
0.5908203125,
0.72900390625,
0.80126953125,
0.72802734375,
0.80126953125,
0.7421875,
0.5908203125,
0.74365234375
],
[
0.08087158203125,
0.75048828125,
0.468017578125,
0.75048828125,
0.468017578125,
0.7646484375,
0.08087158203125,
0.7646484375
],
[
0.52392578125,
0.75048828125,
0.890625,
0.75048828125,
0.890625,
0.7646484375,
0.52392578125,
0.7646484375
],
[
0.08416748046875,
0.7666015625,
0.46728515625,
0.7666015625,
0.46728515625,
0.77978515625,
0.08416748046875,
0.77978515625
],
[
0.50244140625,
0.7646484375,
0.890625,
0.76513671875,
0.890625,
0.77978515625,
0.50244140625,
0.77880859375
],
[
0.08087158203125,
0.78076171875,
0.468017578125,
0.78076171875,
0.468017578125,
0.79541015625,
0.08087158203125,
0.79541015625
],
[
0.5048828125,
0.78271484375,
0.890625,
0.78271484375,
0.890625,
0.79345703125,
0.5048828125,
0.79345703125
],
[
0.15283203125,
0.79443359375,
0.214111328125,
0.796875,
0.214111328125,
0.80810546875,
0.15283203125,
0.80615234375
],
[
0.2091064453125,
0.79443359375,
0.468017578125,
0.79541015625,
0.468017578125,
0.81005859375,
0.2091064453125,
0.8095703125
],
[
0.50341796875,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.50341796875,
0.81005859375
],
[
0.2034912109375,
0.806640625,
0.4697265625,
0.8095703125,
0.4697265625,
0.8271484375,
0.2034912109375,
0.82470703125
],
[
0.08251953125,
0.79736328125,
0.16015625,
0.79736328125,
0.16015625,
0.8095703125,
0.08251953125,
0.8095703125
],
[
0.0767822265625,
0.8095703125,
0.2059326171875,
0.806640625,
0.2059326171875,
0.82470703125,
0.0767822265625,
0.8271484375
],
[
0.50244140625,
0.81103515625,
0.8896484375,
0.81103515625,
0.8896484375,
0.82470703125,
0.50244140625,
0.82470703125
],
[
0.07843017578125,
0.82373046875,
0.4697265625,
0.82373046875,
0.4697265625,
0.84130859375,
0.07843017578125,
0.84130859375
],
[
0.50341796875,
0.82568359375,
0.890625,
0.82568359375,
0.890625,
0.8388671875,
0.50341796875,
0.8388671875
],
[
0.08087158203125,
0.84130859375,
0.468017578125,
0.84130859375,
0.468017578125,
0.85498046875,
0.08087158203125,
0.85498046875
],
[
0.515625,
0.84130859375,
0.89208984375,
0.84130859375,
0.89208984375,
0.85498046875,
0.515625,
0.85498046875
],
[
0.08251953125,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.08251953125,
0.87060546875
],
[
0.50341796875,
0.85693359375,
0.8896484375,
0.85693359375,
0.8896484375,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.08251953125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08251953125,
0.88525390625
],
[
0.5048828125,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88623046875,
0.5048828125,
0.88623046875
],
[
0.08087158203125,
0.88623046875,
0.468017578125,
0.88623046875,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50244140625,
0.88623046875,
0.8896484375,
0.88623046875,
0.8896484375,
0.90087890625,
0.50244140625,
0.90087890625
],
[
0.47802734375,
0.923828125,
0.494384765625,
0.923828125,
0.494384765625,
0.93798828125,
0.47802734375,
0.93798828125
]
] |
[
"Table 2.The ablation stud",
"Table 1. Few-shot detection mAP on VOC2007 test set in novel classes. We evaluate the baselines under",
"bones (mAP on VOC2007",
"three different splits of novel classes.",
"RED and BLUE indicate state-of-the-art (SOTA)and the second",
"",
"novel classes and base clas",
"best. (Best viewd in color)",
"first base/novel split based c",
"Shot",
"Baselines",
"Novel-class Setup 2",
"Novel-class Setup 1",
"Novel-class Setup 3",
"Ba",
"3",
"ResNet-34+ft-full57",
"5",
"2",
"2",
"2",
"Method/Shot",
"3",
"10",
"10",
"3",
"10",
"1",
"1",
"5",
"1",
"5",
"ResNet-34+Ours57",
"26.733.947.2",
"15.3",
"22.730.1 39.2",
"19.221.7",
"3",
"25.7",
"YOLO-Few-shot [21]|14.815.5",
"15.7",
"40.6",
"41.3",
"ResNet-101+ft-full 63",
"2.6",
"",
"FRCN+joint",
"1.9",
"5.2",
"ResNet-101+Ours64",
"6.4",
"2.7",
"9.9",
"12.6",
"7.5",
"6.4",
"4.3",
"3.1",
"11.8",
"29.0",
"8.1",
"6.4",
"FRCN+ft",
"11.916.4",
"36.9",
"ResNet-34+ft-full61",
"36.9",
"29.0",
"5.9",
"8.5",
"23.4",
"29.1",
"28.8",
"5.0",
"9.6",
"18.1",
"30.8",
"43.4",
"10",
"ResNet-34+Ours61",
"13.8 19.6 32.8",
"11.319.1",
"35.045.1",
"41.5",
"FRCN+ft-full",
"45.6",
"7.9",
"15.3",
"26.231.6",
"39.1",
"9.8",
"ResNet-101+ft-full 61.",
"Meta R-CNN (ours)",
"19.925.535.0",
"45.7",
"51.5",
"10.4",
"19.4",
"29.634.8",
"45.4",
"14.3",
"18.2",
"27.5",
"41.248.1",
"ResNet-101+Ours67",
"Table 3. AP and mAP on VOC2007 test set for novel classes and base classes of the first base/novel split. We evaluate the",
"",
"performance for 3/10-shot novel-class examples with FRCN under ResNet-101.",
"RED / BLUE indicate the SOTA/the",
"second best. (Best viewd in color)",
"Novel classes",
"Base classes",
"bird bus cow mbike sofa mean aero bike boat bottle car cat chair table dog horse person plant sheep train tv mean",
"mAP",
"Baselines",
"Shot",
"YOLO-Few-shot[21]26.119.140.720.427.126.773.673.156.741.676.178.742.666.872.077.7",
"68.5",
"42.057.1",
"74.7 70.7 64.855.2",
"75.980.065.9",
"78.8",
"55.6",
"13.7 0.4 6.4",
"FRCN+joint",
"0.8",
"0.2",
"4.3",
"68.4 83.3 79.1",
"43.7",
"72.8",
"80.8 74.7",
"72.7",
"53.3",
"61.3 85.586.1 54.1",
"31.1 24.9 51.7 23.5",
"13.629.065.4 56.4 46.5",
"41.5 73.3 84.0 40.2",
"55.9 72.1 75.6",
"74.8",
"32.7",
"60.4",
"71.2 71.2 61.4",
"FRCN+ft",
"3",
"FRCN+ft-full",
"29.1 34.1 55.9",
"28.6",
"16.1",
"67.4 62.0 54.3",
"48.5 74.0 85.8 42.2",
"58.1",
"72.0 77.8",
"75.8",
"32.3",
"61.0",
"73.7 68.6 63.6",
"55.9",
"Meta R-CNN (ours) 30.1 44.6 50.8",
"32.8",
"10.7 35.067.6 70.5 59.8",
"75.7 81.4 44.9",
"57.7 76.3 74.9",
"76.9",
"34.7",
"58.7",
"57.3",
"74.7 67.8 64.8",
"38.8",
"50.0",
"YOLO-Few-shot[21]30.062.743.260.6",
"39.647.265.373.554.7",
"39.575.781.135.362.572.878.8",
"68.6",
"41.5",
"59.2",
"76.269.2 63.6",
"59.5",
"78.4",
"74.6",
"59.4",
"80.0",
"FRCN+joint",
"14.620.319.2",
"24.3",
"2.2",
"78.1 80.0 65.9",
"86.0 87.1 56.9",
"69.7 84.1",
"44.8",
"82.7 74.1",
"64.1",
"16.1",
"73.8",
"26.536.2 36.968.4 75.2 59.2",
"54.8 74.1 80.8 42.8 56.0 68.9 77.8",
"75.5",
"34.7",
"FRCN+ft",
"10",
"31.336.554.1",
"66.1",
"71.2 66.2 64.8",
"57.8",
"73.2",
"33.8",
"56.5",
"47.0 45.665.7 69.252.6",
"FRCN+ft-full",
"46.5 74.6 73.6 40.7 55.0 69.3 73.5",
"57.4",
"69.8 65.1 61.3",
"40.147.845.547.5",
"Meta R-CNN (ours)",
"54.2 80.1 82.9 48.8 62.8 80.1 81.4",
"77.2",
"37.2",
"65.7",
"75.8 70.6 67.9",
"63.8",
"41.6 51.568.1 73.9 59.8",
"52.5 55.952.7",
"54.6",
"Experiments",
"准上的方法,包括80个对象类别,包括PASCALVOC",
"中的20个类别。在本实验中,我们将PASCALVOC",
"6.",
"在本节中,我们提出了详尽的实验来评估MetaR",
"CNN在少射对象检测,相关消融和少射对象分割方面",
"中包含的20个类设置为新类,然后将COCO中的其",
"的应用",
"余60个类设置为基类。80k列车图像和35k验证图",
"像子集(trainval35k)的联合用于训练,我们的评估基",
"于剩余的5kval图像(minival)。最后,我们考虑了从",
"6.1. Few-shot object detection",
"COCO到PASCALE[21]的少量目标检测的跨基准转",
"在少量拍摄对象检测中,我们采用了具有ResNet-",
"移设置,该设置利用COCO的60个基本类来学习知",
"101E[17]主干的更快的R-CNNE[36]作为MetaR-",
"识表示,并且评估基于20个新颖的PASCALVOC类",
"CNN框架中的R-CNN模块",
"基线。在方法论上,可以将MetaR-CNN视为",
"基准和设置。我们的少射物体检测实验遵循「21]的",
"FasterR-CNN(FRCN)E[36]在少拍目标检测背景下",
"设置。具体而言,我们评估了PASCALVOC2007E[9]",
"的元学习扩展。为此,可能会提出有关检测器泛化的问",
"2012E[9]和MS-COCOE[27]基准的通用对象检测",
"题:",
"轨迹上的所有基线。我们采用PASCAL挑战协议,正",
"Does Meta R-CNN help to improve the generalization",
"确的预测应该超过0。5IoU与地面实况,并将评估指",
"标设置为平均平均精度(mAP)。在这些基准测试中",
"capability of Faster R-CNN?",
"VOC2007和2012包含涵盖20个对象类别的图像,用",
"为了回答这个问题,我们将MetaR-CNN与其基础",
"于训练,验证和测试集。要创建一些学习设置,我们考",
"FRCN进行了比较。该检测器根据他们使用的不同训练",
"虑三种不同的小说/基类拆分设置,即。e。,(“鸟”,“公",
"策略分为三个基线。具体来说,FRCN+joint是用基类",
"“牛”",
"\"“mbike”,“沙发”/休息);(“航",
"和新奇类对象联合训练FRCN检测器。相同的迭代次",
"“牛”,“马”,“沙发”/休息)和",
"共汽车”,",
"空”,“瓶子”,",
"数用于训练此基线和我们的MetaR-CNN。FRCN+ft",
"(“船”,“猫”,“mbike”,“羊”,“沙发”/休息)。在",
"在MetaR-CNN中采用了类似的两阶段训练策略:第",
"元学习的第一阶段,只考虑基类对象。在第二阶段,每",
"-阶段只使用基类对象(带边界框)来训练FRCN,然",
"个新类中的对象都有K-shot注释边界框,每个基类",
"后使用基类和新颖类对象的组合来微调网络。为了公平",
"中的对象都有3K注释边界框进行训练,其中K设置",
"比较,用于训练FRCN+ft的图像中的对象与MetaR-",
"为1、2、3、5和10。我们还评估了我们在COCO基",
"CNN相同,并且FRCN+ft也采用MetaR-CNN的相",
"5"
] |
{
"arxiv_id": "1909.13032",
"language": "zh",
"page_idx": 4
}
|
||
1904.07223-zh-0
|
1904.07223-zh-0.jpg
|
Joint Discriminative and Generative Learning for Person Re-identification
$\begin{array}{c}\text{Zhedong Zheng }^{1,2*}&\text{Xiaodong Yang}^{1}&\text{Zhiding Yu}^{1}\\\text{Liang Zheng }^{3}&\text{Yi Yang }^{2}\text{Jan Kautz}^{1}\\\text{NVIDIA}&^{2}\text{CAI, University of Technology Sydney}^{3}\text{Australian National University}\end{array}$
Abstract
<FigureHere>
Figure 1: Examples of generated images on Market-
Person re-identification (re-id) remains challenging due to significant intra-class variations across different cameras. Recently, there has been a growing interest in using generative models to augment training data and enhance the invariance to input changes. The generative pipelines in existing methods, however, stay relatively separate from the discriminative re-id learning stages. Accordingly, re-id models are often trained in a straightforward manner on the generated data. In this paper, we seek to improve learned re-id embeddings by better leveraging the generated data. To this end, we propose a joint learning framework that couples re-id learning and data generation end-to-end. Our model involves a generative module that separately encodes each person into an appearance code and a structure code, and a discriminative module that shares the appearance encoder with the generative module. By switching the appearance or structure codes, the generative module is able to generate high-quality crossid composed images, which are online fed back to the appearance encoder and used to improve the discriminative module. The proposed joint learning framework renders significant improvement over the baseline without using generated data, leading to the state-of-theart performance on several benchmark datasets.
1501 by switching appearance or structure codes. Each row and column corresponds to different appearance and structure.
## 1. Introduction
人员重新识别 (re-id) 旨在建立不同摄像机之间的身份对应关系。通常将其作为度量学习问题[54] 来处理,其中一个问题是在给定查询图像的情况下,从不重叠的摄像机中检索包含感兴趣的人的图像。这是具有挑战性的,因为不同相机捕获的图像通常包含由背景, 视点,人体姿势等变化引起的显着的类内变化。因此, 尽可能设计或学习对类内变化具有鲁棒性的表示形式一直是个人研究的主要目标之一。
卷积神经网络(CNN)由于其强大的表示能力和学
习不变深度嵌入的能力,最近已成为人们重新识别的主要选择。当前最先进的 re-id 方法广泛地将任务表述为深度度量学习问题[13,55] ,或者使用分类损失作为代理目标来学习深度嵌人[23,39,41,49,54,57]。为了进一步减少类内变化的影响,许多现有方法采用基于部分的匹配或集成来明确对齐和补偿[35,37,47,52,57] 的变化
增强针对输入变化的鲁棒性的另一种可能性是让re-id 模型在训练期间潜在地“看到”这些变化(特别是类内变化)。随着生成对抗网络(GAN)[11]的最
$^{*}$Work done during an internship at NVIDIA Research
1
|
[
[
0.11517333984375,
0.1351318359375,
0.85546875,
0.1351318359375,
0.85546875,
0.149658203125,
0.11517333984375,
0.149658203125
],
[
0.25244140625,
0.177978515625,
0.7197265625,
0.177978515625,
0.7197265625,
0.2020263671875,
0.25244140625,
0.2020263671875
],
[
0.30810546875,
0.1988525390625,
0.65869140625,
0.1988525390625,
0.65869140625,
0.216552734375,
0.30810546875,
0.216552734375
],
[
0.1168212890625,
0.21533203125,
0.85107421875,
0.216552734375,
0.85107421875,
0.2342529296875,
0.1168212890625,
0.23291015625
],
[
0.23779296875,
0.268310546875,
0.313720703125,
0.268310546875,
0.313720703125,
0.285888671875,
0.23779296875,
0.285888671875
],
[
0.098876953125,
0.300537109375,
0.46728515625,
0.302978515625,
0.46728515625,
0.317626953125,
0.098876953125,
0.31494140625
],
[
0.08087158203125,
0.318115234375,
0.46728515625,
0.318115234375,
0.46728515625,
0.33203125,
0.08087158203125,
0.33203125
],
[
0.08251953125,
0.333251953125,
0.465576171875,
0.333251953125,
0.465576171875,
0.3466796875,
0.08251953125,
0.3466796875
],
[
0.08087158203125,
0.348388671875,
0.468017578125,
0.348388671875,
0.468017578125,
0.3623046875,
0.08087158203125,
0.3623046875
],
[
0.54736328125,
0.356689453125,
0.5703125,
0.356689453125,
0.5703125,
0.369384765625,
0.54736328125,
0.369384765625
],
[
0.08087158203125,
0.3642578125,
0.465576171875,
0.3642578125,
0.465576171875,
0.37744140625,
0.08087158203125,
0.37744140625
],
[
0.08087158203125,
0.37890625,
0.46728515625,
0.37890625,
0.46728515625,
0.392578125,
0.08087158203125,
0.392578125
],
[
0.08087158203125,
0.393310546875,
0.468017578125,
0.393310546875,
0.468017578125,
0.4072265625,
0.08087158203125,
0.4072265625
],
[
0.080078125,
0.40771484375,
0.468017578125,
0.4072265625,
0.468017578125,
0.421630859375,
0.080078125,
0.42236328125
],
[
0.08251953125,
0.423583984375,
0.468017578125,
0.423583984375,
0.468017578125,
0.4375,
0.08251953125,
0.4375
],
[
0.080078125,
0.438232421875,
0.468017578125,
0.4375,
0.468017578125,
0.451904296875,
0.080078125,
0.45263671875
],
[
0.08087158203125,
0.453857421875,
0.46728515625,
0.453857421875,
0.46728515625,
0.46728515625,
0.08087158203125,
0.46728515625
],
[
0.08251953125,
0.47021484375,
0.461669921875,
0.47021484375,
0.461669921875,
0.48095703125,
0.08251953125,
0.48095703125
],
[
0.08087158203125,
0.484130859375,
0.465576171875,
0.484130859375,
0.465576171875,
0.49755859375,
0.08087158203125,
0.49755859375
],
[
0.080078125,
0.498779296875,
0.46728515625,
0.5,
0.46728515625,
0.51318359375,
0.080078125,
0.51220703125
],
[
0.080078125,
0.51318359375,
0.463134765625,
0.5146484375,
0.463134765625,
0.52880859375,
0.080078125,
0.52783203125
],
[
0.08087158203125,
0.52978515625,
0.468017578125,
0.52978515625,
0.468017578125,
0.54345703125,
0.08087158203125,
0.54345703125
],
[
0.08087158203125,
0.54541015625,
0.465576171875,
0.54443359375,
0.465576171875,
0.55810546875,
0.08087158203125,
0.5595703125
],
[
0.08087158203125,
0.56005859375,
0.464111328125,
0.56005859375,
0.464111328125,
0.57373046875,
0.08087158203125,
0.57373046875
],
[
0.08087158203125,
0.57470703125,
0.465576171875,
0.57470703125,
0.465576171875,
0.58837890625,
0.08087158203125,
0.58837890625
],
[
0.080078125,
0.59033203125,
0.468017578125,
0.59033203125,
0.468017578125,
0.60400390625,
0.080078125,
0.60400390625
],
[
0.080078125,
0.60498046875,
0.46728515625,
0.60302734375,
0.46728515625,
0.6171875,
0.080078125,
0.619140625
],
[
0.08251953125,
0.62060546875,
0.468017578125,
0.62060546875,
0.468017578125,
0.6337890625,
0.08251953125,
0.6337890625
],
[
0.08087158203125,
0.63525390625,
0.46728515625,
0.63525390625,
0.46728515625,
0.6484375,
0.08087158203125,
0.6484375
],
[
0.08087158203125,
0.65087890625,
0.46728515625,
0.65087890625,
0.46728515625,
0.6640625,
0.08087158203125,
0.6640625
],
[
0.5048828125,
0.65771484375,
0.890625,
0.65771484375,
0.890625,
0.67236328125,
0.5048828125,
0.67236328125
],
[
0.08087158203125,
0.66748046875,
0.158447265625,
0.66650390625,
0.158447265625,
0.6767578125,
0.08087158203125,
0.67822265625
],
[
0.240234375,
0.66748046875,
0.420654296875,
0.66748046875,
0.420654296875,
0.67822265625,
0.240234375,
0.67822265625
],
[
0.5048828125,
0.673828125,
0.890625,
0.673828125,
0.890625,
0.6875,
0.5048828125,
0.6875
],
[
0.50341796875,
0.689453125,
0.890625,
0.689453125,
0.890625,
0.70263671875,
0.50341796875,
0.70263671875
],
[
0.5048828125,
0.705078125,
0.60546875,
0.705078125,
0.60546875,
0.71630859375,
0.5048828125,
0.71630859375
],
[
0.080078125,
0.71337890625,
0.21728515625,
0.71337890625,
0.21728515625,
0.72802734375,
0.080078125,
0.72802734375
],
[
0.10296630859375,
0.73779296875,
0.468017578125,
0.73779296875,
0.468017578125,
0.751953125,
0.10296630859375,
0.751953125
],
[
0.08416748046875,
0.75390625,
0.468017578125,
0.75390625,
0.468017578125,
0.767578125,
0.08416748046875,
0.767578125
],
[
0.5048828125,
0.75,
0.890625,
0.75,
0.890625,
0.76318359375,
0.5048828125,
0.76318359375
],
[
0.08087158203125,
0.76806640625,
0.468017578125,
0.76806640625,
0.468017578125,
0.7822265625,
0.08087158203125,
0.7822265625
],
[
0.5048828125,
0.7646484375,
0.890625,
0.7646484375,
0.890625,
0.77783203125,
0.5048828125,
0.77783203125
],
[
0.08251953125,
0.7841796875,
0.46728515625,
0.7841796875,
0.46728515625,
0.79736328125,
0.08251953125,
0.79736328125
],
[
0.5048828125,
0.77978515625,
0.890625,
0.77978515625,
0.890625,
0.79345703125,
0.5048828125,
0.79345703125
],
[
0.08087158203125,
0.7998046875,
0.468017578125,
0.7998046875,
0.468017578125,
0.81298828125,
0.08087158203125,
0.81298828125
],
[
0.5048828125,
0.79443359375,
0.88818359375,
0.79443359375,
0.88818359375,
0.80810546875,
0.5048828125,
0.80810546875
],
[
0.50341796875,
0.80810546875,
0.8896484375,
0.8095703125,
0.8896484375,
0.82373046875,
0.50341796875,
0.82275390625
],
[
0.08251953125,
0.814453125,
0.468017578125,
0.814453125,
0.468017578125,
0.82763671875,
0.08251953125,
0.82763671875
],
[
0.08087158203125,
0.82763671875,
0.468017578125,
0.8291015625,
0.468017578125,
0.84326171875,
0.08087158203125,
0.84228515625
],
[
0.50341796875,
0.82373046875,
0.8896484375,
0.82470703125,
0.8896484375,
0.8388671875,
0.50341796875,
0.83837890625
],
[
0.0931396484375,
0.8447265625,
0.306396484375,
0.8447265625,
0.306396484375,
0.85791015625,
0.0931396484375,
0.85791015625
],
[
0.5048828125,
0.84130859375,
0.5537109375,
0.84130859375,
0.5537109375,
0.85302734375,
0.5048828125,
0.85302734375
],
[
0.101318359375,
0.85986328125,
0.46728515625,
0.85986328125,
0.46728515625,
0.87353515625,
0.101318359375,
0.87353515625
],
[
0.52294921875,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.52294921875,
0.87060546875
],
[
0.5048828125,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88623046875,
0.5048828125,
0.88623046875
],
[
0.098876953125,
0.88720703125,
0.4345703125,
0.88720703125,
0.4345703125,
0.90087890625,
0.098876953125,
0.90087890625
],
[
0.5048828125,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.5048828125,
0.90087890625
],
[
0.48046875,
0.9248046875,
0.491943359375,
0.9248046875,
0.491943359375,
0.9375,
0.48046875,
0.9375
]
] |
[
"Joint Discriminative and Generative Learning for Person Re-identification",
"Zhedong Zheng 1,2 * Xiaodong Yang 1 Zhiding Yu 1",
"Liang Zheng 3Yi Yang 2 Jan Kautz",
"1NVIDIA 2 CAI, University of Technology Sydney3 Australian National University",
"Abstract",
"Person re-identification (re-id) remains challenging",
"due to significant intra-class variations across different",
"cameras. Recently, there has been a growing interest in",
"using generative models to augment training data and",
"",
"enhance the invariance to input changes. The gener-",
"ative pipelines in existing methods, however, stay rel-",
"atively separate from the discriminative re-id learning",
"stages. Accordingly, re-id models are often trained in",
"a straightforward manner on the generated data. In",
"this paper, we seek to improve learned re-id embed-",
"dings by better leveraging the generated data. To this",
"end,weproposeajointlearningframeworkthat cou",
"ples re-id learning and data generation end-to-end. Our",
"model involves a generative module that separately en-",
"codes each person into an appearance code and a struc",
"ture code, and a discriminative module that shares the",
"appearance encoder with the generative module. By",
"switching the appearance or structure codes, the gen",
"erative module is able to generate high-quality cross",
"id composed images, which are online fed back to the",
"appearance encoder and used to improve the discrimi-",
"native module. The proposed joint learning framework",
"renders significant improvement over the baseline with-",
"out using generated data, leading to the state-of-the-",
"Figure l: Examples of generated images on Market-",
"artperforn",
"veralbenchmarkdatasets",
"1501 by switching appearance or structure codes. Each",
"row and column corresponds to different appearance",
"and structure.",
"1.Introduction",
"人员重新识别(re-id)旨在建立不同摄像机之间的",
"身份对应关系。通常将其作为度量学习问题[54]来处",
"习不变深度嵌入的能力,最近已成为人们重新识别的",
"理,其中一个问题是在给定查询图像的情况下,从不重",
"主要选择。当前最先进的re-id方法广泛地将任务表述",
"叠的摄像机中检索包含感兴趣的人的图像。这是具有",
"为深度度量学习问题[13,55],或者使用分类损失作为",
"挑战性的,因为不同相机捕获的图像通常包含由背景,",
"代理目标来学习深度嵌入[23,39,41,49,54,57]。为了",
"进一步减少类内变化的影响,许多现有方法采用基于",
"视点,人体姿势等变化引起的显着的类内变化。因此,",
"尽可能设计或学习对类内变化具有鲁棒性的表示形式",
"部分的匹配或集成来明确对齐和补偿[35,37,47,52,57]",
"直是个人研究的主要目标之一",
"的变化",
"卷积神经网络(CNN)由于其强大的表示能力和学",
"增强针对输人变化的鲁棒性的另一种可能性是让",
"re-id模型在训练期间潜在地“看到”这些变化(特别",
"*Work done during an internship at NVIDIA Research.",
"是类内变化)。随着生成对抗网络(GAN)【11]的最",
"1"
] |
{
"arxiv_id": "1904.07223",
"language": "zh",
"page_idx": 0
}
|
||
1904.07223-zh-1
|
1904.07223-zh-1.jpg
|
征学习”。或者,我们可以保留一个结构代码并与不同的外观代码结合以产生各种图像,这些图像可以保持姿势,背景和一些与身份相关的细节,但可以改变衣服和鞋子。如图$\boxed{\mathrm{E}}1$ 的每一列所示,这些图像形成了同一个人穿着不同衣服和鞋子的有趣模拟。这为进一步挖掘与服装无关的微妙身份属性创造了机会,例如携带头发,体型等。因此,我们提出了互补的“细粒度特征挖掘”来学习其他微妙的身份属性
据我们所知,这项工作提供了第一个框架,该框架能够在单个统一网络中为人重新识别端到端集成判别和生成学习。大量的定性和定量实验表明,我们的图像生成与现有的图像生成相比具有优势,更重要的是,我们的 re-id 精度在多个基准测试中始终优于竞争算法。
<table>
<tbody>
<tr>
<th>$\operatorname{Appearance}$ Space</th>
<th>Structure $\operatorname{Space}$</th>
</tr>
<tr>
<td>clothing/shoes color,</td>
<td>bodys size, $hair$, 1 carrying</td>
</tr>
<tr>
<td>texture and style. 1</td>
<td>pose, background</td>
</tr>
<tr>
<td>other id-related cues, etc. </td>
<td>position, viewpoint, etc</td>
</tr>
</tbody>
</table>
Table 1: Description of the information encoded in the
latent appearance and structure spaces.
## 2. Related Work
新进展,生成模型已成为为免费[56] 引人其他增强数据的诱人选择。尽管形式不同,但这些方法背后的一般考虑是“现实主义”:生成的图像应具有良好的品质,以缩小合成场景与真实场景之间的领域差距;以及“多样性”:生成的图像应包含足够的多样性,以充分覆盖看不见的变化。在这种情况下,一些先前的工作已经探索了无条件的 GAN 和以人体姿势为条件的GAN$\boxed{\mathrm{E}}[10,17,27,31,56]$来生成行人图像,以改善再识别学习。然而,这些方法背后的一个常见问题是,它们的生成管道通常以独立模型的形式呈现,这些模型与判别式 re-id 模型相对分离。因此,生成模块的优化目标可能无法与 re-id 任务很好地对齐,从而限制了生成数据的增益
鉴于上述观察,我们提出了一个学习框架,该框架在称为 DG-Net 的统一网络中共同耦合了判别学习和生成学习。我们实现这一目标的策略是引入一个生成模块,其中编码器将每个行人图像分解为两个潜在空间:一个外观空间,主要编码外观和其他与身份相关的语义;以及一个结构空间,其中包含与几何和位置相关的结构信息以及其他其他变体。我们将空间中的编码特征称为“代码”。表 1 中总结了两个潜在空间捕获的属性。外观空间编码器也与判别模块共享,作为 re-id 学习骨干。此设计导致了一个统一的框架,该框架包含了生成模块和判别模块之间的这些交互:(1)生成模块生成合成图像,以在线细化外观编码器;(2)编码器反过来以改进的外观编码影响生成模块;(3)考虑到共享的外观编码器,两个模块都经过了联合优化。我们将图像生成表述为在两个图像之间切换外观或结构代码。给定具有相同/不同身份的任何成对图像,可以通过操纵代码来生成逼真且多样的 intra/cross-id 合成图像。在 Market-1501 [53]上生成这种合成图像的示例如图 1 所示。我们对生成管道的设计不仅可以实现高保真生成,而且可以在给定现有身份的组合组成的情况下产生大量多样性与无条件 GANs [17,56] 不同,我们的方法允许更可控的发电,质量更好。与姿态引导的世代[10,27,31]不同,我们的方法不需要任何额外的辅助数据,而是利用现有的数据集内姿态变化以及姿态之外的其他多样性
此生成模块设计专门用于我们的判别模块,以更好地利用生成的数据。对于一个行人图像,通过保留其外观代码并结合不同的结构代码,我们可以生成多个图像,这些图像保留了衣服和鞋子,但改变了姿势,视点, 背景等。如图$\color{red}{\mathrm{E}}\color{blue}{\mathrm{1}}$ 的每一行所示,这些图像对应于穿着不同人的同一件衣服。为了更好地捕获此类合成的交叉 ID 信息,我们通过动态软标签策略引人了“主要特
一大群人重新识别研究的重点是度量学习损失。一些方法将识别损失与验证损失[48,55]相结合,另一些方法将三重态损失与硬样本挖掘[6,13,33]相结合。最近的一些作品采用行人属性来执行更多的监督并执行多任务学习[26,36,44] 。替代方案利用行人对齐和零件匹配,以优先利用人体结构。一种常见的做法是水平分割输入图像或特征图,以利用局部空间线索[23,39,50] 。以类似的方式,姿态估计被纳入学习局部特征[35,37,47,52,57] 。除姿势外,[19]中还使用了人类解析来增强空间匹配。相比之下,我们的 DG-Net 仅依赖于简单的识别丢失来进行重新识别学习,并且不需要额外的辅助信息(例如姿势或人类解析)来生成图像
另一个活跃的研究领域是利用 GAN 来增强训练数据。在[56] 中,Zheng 等人。首次引人使用无条件 GAN 从随机向量生成图像。Huang 等人。使用 WGAN [1] 继续此方向,并为生成的图像[17] 分配伪标签。Li 等人。建议在 REID 模型和 GAN [25] 的鉴别器之间共享权重。此外,最近的一些方法利用姿态估计来进行姿态条件图像生成。在[28] 中基于姿势开发了两阶段生成管道,以优化生成的图像。同样,[10,27,31]中也使用了 pose 来生成不同姿势的行人图像,以使学习的特征对姿势变化更具鲁棒性。Siarohin 等人。通过使用最近邻损失替换传统的$\ell_1$或$\ell_2$损失[34] 来实现更好的姿态条件图像生成。所有方法都将图像生成和重新 id 学习设置为两个脱节的步骤,而我们的 DG-Net 端到端将这两个任务集成到一个统一的网络中
同时,最近的一些研究还利用合成数据进行行人图像的样式传递,以补偿源域和目标域之间的差异。在[9,60] 中应用 CycleGAN [61] 将行人图像样式从一个数据集转移到另一个数据集。[59] 中使用 StarGAN [7] 生成具有不同相机样式的行人图像。Bak 等人。[3] 使用游戏引擎来使用各种照明条件渲染行人。Wei 等人。[46] 在辅助风格转换中采取语义分割提取前景蒙版。与全局样式转移相反,我们的目标是操纵外观和结构细节, 以促进更强大的 re-id 学习
|
[
[
0.1217041015625,
0.085205078125,
0.250732421875,
0.085205078125,
0.250732421875,
0.0953369140625,
0.1217041015625,
0.0953369140625
],
[
0.338134765625,
0.08331298828125,
0.453369140625,
0.08331298828125,
0.453369140625,
0.09661865234375,
0.338134765625,
0.09661865234375
],
[
0.50244140625,
0.0921630859375,
0.8896484375,
0.0921630859375,
0.8896484375,
0.1060791015625,
0.50244140625,
0.1060791015625
],
[
0.111083984375,
0.0985107421875,
0.25732421875,
0.0985107421875,
0.25732421875,
0.11236572265625,
0.111083984375,
0.11236572265625
],
[
0.303955078125,
0.0985107421875,
0.486083984375,
0.0985107421875,
0.486083984375,
0.11236572265625,
0.303955078125,
0.11236572265625
],
[
0.12091064453125,
0.11236572265625,
0.250732421875,
0.11297607421875,
0.250732421875,
0.1275634765625,
0.12091064453125,
0.126953125
],
[
0.50341796875,
0.10797119140625,
0.8896484375,
0.10797119140625,
0.8896484375,
0.121826171875,
0.50341796875,
0.121826171875
],
[
0.330078125,
0.1142578125,
0.461669921875,
0.1142578125,
0.461669921875,
0.1275634765625,
0.330078125,
0.1275634765625
],
[
0.3056640625,
0.1300048828125,
0.48046875,
0.1300048828125,
0.48046875,
0.143310546875,
0.3056640625,
0.143310546875
],
[
0.50634765625,
0.125,
0.8896484375,
0.125,
0.8896484375,
0.1351318359375,
0.50634765625,
0.1351318359375
],
[
0.5048828125,
0.1383056640625,
0.87744140625,
0.1383056640625,
0.87744140625,
0.1514892578125,
0.5048828125,
0.1514892578125
],
[
0.09234619140625,
0.1307373046875,
0.27685546875,
0.1307373046875,
0.27685546875,
0.141357421875,
0.09234619140625,
0.141357421875
],
[
0.08087158203125,
0.1572265625,
0.468017578125,
0.1578369140625,
0.468017578125,
0.17236328125,
0.08087158203125,
0.1717529296875
],
[
0.5048828125,
0.15283203125,
0.890625,
0.1514892578125,
0.890625,
0.1666259765625,
0.5048828125,
0.1673583984375
],
[
0.080078125,
0.173583984375,
0.36279296875,
0.1749267578125,
0.36279296875,
0.1881103515625,
0.080078125,
0.1875
],
[
0.5048828125,
0.1685791015625,
0.890625,
0.1685791015625,
0.890625,
0.1817626953125,
0.5048828125,
0.1817626953125
],
[
0.5048828125,
0.18310546875,
0.8896484375,
0.18310546875,
0.8896484375,
0.1962890625,
0.5048828125,
0.1962890625
],
[
0.5048828125,
0.1988525390625,
0.7509765625,
0.1988525390625,
0.7509765625,
0.212158203125,
0.5048828125,
0.212158203125
],
[
0.08251953125,
0.2215576171875,
0.46728515625,
0.2215576171875,
0.46728515625,
0.231689453125,
0.08251953125,
0.231689453125
],
[
0.52294921875,
0.2183837890625,
0.890625,
0.2183837890625,
0.890625,
0.231689453125,
0.52294921875,
0.231689453125
],
[
0.08251953125,
0.23486328125,
0.450927734375,
0.23486328125,
0.450927734375,
0.248779296875,
0.08251953125,
0.248779296875
],
[
0.5048828125,
0.23291015625,
0.8896484375,
0.23291015625,
0.8896484375,
0.246826171875,
0.5048828125,
0.246826171875
],
[
0.08416748046875,
0.251953125,
0.465576171875,
0.251953125,
0.465576171875,
0.261962890625,
0.08416748046875,
0.261962890625
],
[
0.50634765625,
0.25,
0.8896484375,
0.25,
0.8896484375,
0.260009765625,
0.50634765625,
0.260009765625
],
[
0.08251953125,
0.266357421875,
0.46728515625,
0.266357421875,
0.46728515625,
0.276611328125,
0.08251953125,
0.276611328125
],
[
0.50244140625,
0.261962890625,
0.890625,
0.26318359375,
0.890625,
0.27783203125,
0.50244140625,
0.276611328125
],
[
0.08251953125,
0.27978515625,
0.468017578125,
0.27978515625,
0.468017578125,
0.29345703125,
0.08251953125,
0.29345703125
],
[
0.50244140625,
0.27783203125,
0.87841796875,
0.27783203125,
0.87841796875,
0.291748046875,
0.50244140625,
0.291748046875
],
[
0.08251953125,
0.294189453125,
0.46728515625,
0.294189453125,
0.46728515625,
0.30810546875,
0.08251953125,
0.30810546875
],
[
0.08251953125,
0.309326171875,
0.465576171875,
0.309326171875,
0.465576171875,
0.322509765625,
0.08251953125,
0.322509765625
],
[
0.50341796875,
0.32080078125,
0.64892578125,
0.32080078125,
0.64892578125,
0.333984375,
0.50341796875,
0.333984375
],
[
0.08416748046875,
0.326904296875,
0.465576171875,
0.326904296875,
0.465576171875,
0.337158203125,
0.08416748046875,
0.337158203125
],
[
0.08251953125,
0.339111328125,
0.465576171875,
0.339111328125,
0.465576171875,
0.352783203125,
0.08251953125,
0.352783203125
],
[
0.52392578125,
0.349853515625,
0.8857421875,
0.349853515625,
0.8857421875,
0.363037109375,
0.52392578125,
0.363037109375
],
[
0.08251953125,
0.356689453125,
0.465576171875,
0.356689453125,
0.465576171875,
0.367431640625,
0.08251953125,
0.367431640625
],
[
0.08251953125,
0.37060546875,
0.46728515625,
0.37060546875,
0.46728515625,
0.3837890625,
0.08251953125,
0.3837890625
],
[
0.5048828125,
0.365478515625,
0.8896484375,
0.365478515625,
0.8896484375,
0.37890625,
0.5048828125,
0.37890625
],
[
0.50341796875,
0.37744140625,
0.89208984375,
0.380126953125,
0.89208984375,
0.39453125,
0.50341796875,
0.392578125
],
[
0.08251953125,
0.386962890625,
0.46728515625,
0.386962890625,
0.46728515625,
0.397705078125,
0.08251953125,
0.397705078125
],
[
0.5048828125,
0.39453125,
0.8896484375,
0.39453125,
0.8896484375,
0.40771484375,
0.5048828125,
0.40771484375
],
[
0.08251953125,
0.401611328125,
0.160888671875,
0.401611328125,
0.160888671875,
0.41357421875,
0.08251953125,
0.41357421875
],
[
0.5048828125,
0.410400390625,
0.890625,
0.410400390625,
0.890625,
0.423583984375,
0.5048828125,
0.423583984375
],
[
0.101318359375,
0.417236328125,
0.468017578125,
0.417236328125,
0.468017578125,
0.43115234375,
0.101318359375,
0.43115234375
],
[
0.50341796875,
0.425537109375,
0.890625,
0.425537109375,
0.890625,
0.439453125,
0.50341796875,
0.439453125
],
[
0.08087158203125,
0.43310546875,
0.46728515625,
0.43310546875,
0.46728515625,
0.4462890625,
0.08087158203125,
0.4462890625
],
[
0.08251953125,
0.447509765625,
0.468017578125,
0.447509765625,
0.468017578125,
0.4609375,
0.08251953125,
0.4609375
],
[
0.5048828125,
0.442626953125,
0.88818359375,
0.442626953125,
0.88818359375,
0.45263671875,
0.5048828125,
0.45263671875
],
[
0.50341796875,
0.455810546875,
0.890625,
0.455810546875,
0.890625,
0.4697265625,
0.50341796875,
0.4697265625
],
[
0.08087158203125,
0.46337890625,
0.468017578125,
0.46337890625,
0.468017578125,
0.4765625,
0.08087158203125,
0.4765625
],
[
0.50341796875,
0.47021484375,
0.88818359375,
0.47021484375,
0.88818359375,
0.484130859375,
0.50341796875,
0.484130859375
],
[
0.08087158203125,
0.477783203125,
0.46728515625,
0.477783203125,
0.46728515625,
0.4912109375,
0.08087158203125,
0.4912109375
],
[
0.5048828125,
0.48486328125,
0.890625,
0.48486328125,
0.890625,
0.498779296875,
0.5048828125,
0.498779296875
],
[
0.08251953125,
0.49365234375,
0.46728515625,
0.49365234375,
0.46728515625,
0.5068359375,
0.08251953125,
0.5068359375
],
[
0.5048828125,
0.50048828125,
0.890625,
0.50048828125,
0.890625,
0.5146484375,
0.5048828125,
0.5146484375
],
[
0.08087158203125,
0.5068359375,
0.468017578125,
0.50830078125,
0.468017578125,
0.521484375,
0.08087158203125,
0.52099609375
],
[
0.50634765625,
0.517578125,
0.8896484375,
0.517578125,
0.8896484375,
0.52783203125,
0.50634765625,
0.52783203125
],
[
0.08251953125,
0.52587890625,
0.465576171875,
0.52587890625,
0.465576171875,
0.5361328125,
0.08251953125,
0.5361328125
],
[
0.5048828125,
0.5322265625,
0.53759765625,
0.5322265625,
0.53759765625,
0.54443359375,
0.5048828125,
0.54443359375
],
[
0.08251953125,
0.53857421875,
0.468017578125,
0.53857421875,
0.468017578125,
0.5517578125,
0.08251953125,
0.5517578125
],
[
0.08087158203125,
0.55322265625,
0.46728515625,
0.55322265625,
0.46728515625,
0.56640625,
0.08087158203125,
0.56640625
],
[
0.52392578125,
0.55029296875,
0.890625,
0.55029296875,
0.890625,
0.564453125,
0.52392578125,
0.564453125
],
[
0.08251953125,
0.56640625,
0.468017578125,
0.568359375,
0.468017578125,
0.58203125,
0.08251953125,
0.580078125
],
[
0.50341796875,
0.56640625,
0.890625,
0.56640625,
0.890625,
0.580078125,
0.50341796875,
0.580078125
],
[
0.080078125,
0.58203125,
0.46728515625,
0.58349609375,
0.46728515625,
0.5966796875,
0.080078125,
0.59521484375
],
[
0.5048828125,
0.58056640625,
0.8896484375,
0.58056640625,
0.8896484375,
0.5947265625,
0.5048828125,
0.5947265625
],
[
0.08251953125,
0.5986328125,
0.46728515625,
0.5986328125,
0.46728515625,
0.6123046875,
0.08251953125,
0.6123046875
],
[
0.50341796875,
0.59521484375,
0.890625,
0.59521484375,
0.890625,
0.609375,
0.50341796875,
0.609375
],
[
0.08416748046875,
0.61572265625,
0.46728515625,
0.61572265625,
0.46728515625,
0.62548828125,
0.08416748046875,
0.62548828125
],
[
0.5048828125,
0.611328125,
0.890625,
0.611328125,
0.890625,
0.625,
0.5048828125,
0.625
],
[
0.08251953125,
0.62890625,
0.46728515625,
0.62890625,
0.46728515625,
0.642578125,
0.08251953125,
0.642578125
],
[
0.50634765625,
0.62744140625,
0.8896484375,
0.62744140625,
0.8896484375,
0.63818359375,
0.50634765625,
0.63818359375
],
[
0.08416748046875,
0.64599609375,
0.465576171875,
0.64599609375,
0.465576171875,
0.65576171875,
0.08416748046875,
0.65576171875
],
[
0.50634765625,
0.642578125,
0.8896484375,
0.642578125,
0.8896484375,
0.65283203125,
0.50634765625,
0.65283203125
],
[
0.08251953125,
0.6591796875,
0.46728515625,
0.6591796875,
0.46728515625,
0.67236328125,
0.08251953125,
0.67236328125
],
[
0.5048828125,
0.65576171875,
0.8896484375,
0.65576171875,
0.8896484375,
0.66943359375,
0.5048828125,
0.66943359375
],
[
0.08416748046875,
0.67529296875,
0.465576171875,
0.67529296875,
0.465576171875,
0.68603515625,
0.08416748046875,
0.68603515625
],
[
0.5048828125,
0.67041015625,
0.890625,
0.66943359375,
0.890625,
0.6845703125,
0.5048828125,
0.68505859375
],
[
0.08251953125,
0.689453125,
0.468017578125,
0.689453125,
0.468017578125,
0.70263671875,
0.08251953125,
0.70263671875
],
[
0.50341796875,
0.68603515625,
0.890625,
0.68603515625,
0.890625,
0.69970703125,
0.50341796875,
0.69970703125
],
[
0.08251953125,
0.7041015625,
0.46728515625,
0.7041015625,
0.46728515625,
0.71728515625,
0.08251953125,
0.71728515625
],
[
0.5048828125,
0.7021484375,
0.8896484375,
0.7021484375,
0.8896484375,
0.71533203125,
0.5048828125,
0.71533203125
],
[
0.08251953125,
0.72021484375,
0.46728515625,
0.72021484375,
0.46728515625,
0.73095703125,
0.08251953125,
0.73095703125
],
[
0.50634765625,
0.71826171875,
0.88818359375,
0.71826171875,
0.88818359375,
0.72900390625,
0.50634765625,
0.72900390625
],
[
0.08416748046875,
0.736328125,
0.46728515625,
0.736328125,
0.46728515625,
0.7470703125,
0.08416748046875,
0.7470703125
],
[
0.5048828125,
0.73193359375,
0.890625,
0.73193359375,
0.890625,
0.74560546875,
0.5048828125,
0.74560546875
],
[
0.08416748046875,
0.75,
0.46728515625,
0.75,
0.46728515625,
0.76318359375,
0.08416748046875,
0.76318359375
],
[
0.50341796875,
0.74755859375,
0.78125,
0.74755859375,
0.78125,
0.76123046875,
0.50341796875,
0.76123046875
],
[
0.08251953125,
0.7666015625,
0.46728515625,
0.7666015625,
0.46728515625,
0.7763671875,
0.08251953125,
0.7763671875
],
[
0.52392578125,
0.7666015625,
0.8896484375,
0.7666015625,
0.8896484375,
0.77978515625,
0.52392578125,
0.77978515625
],
[
0.08087158203125,
0.77978515625,
0.2296142578125,
0.77978515625,
0.2296142578125,
0.79345703125,
0.08087158203125,
0.79345703125
],
[
0.5048828125,
0.7822265625,
0.88623046875,
0.7822265625,
0.88623046875,
0.79541015625,
0.5048828125,
0.79541015625
],
[
0.10296630859375,
0.796875,
0.468017578125,
0.796875,
0.468017578125,
0.81005859375,
0.10296630859375,
0.81005859375
],
[
0.5048828125,
0.796875,
0.8896484375,
0.796875,
0.8896484375,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.08087158203125,
0.81103515625,
0.465576171875,
0.81103515625,
0.465576171875,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.50341796875,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.50341796875,
0.82470703125
],
[
0.08087158203125,
0.8271484375,
0.468017578125,
0.8271484375,
0.468017578125,
0.84033203125,
0.08087158203125,
0.84033203125
],
[
0.5048828125,
0.8271484375,
0.8896484375,
0.8271484375,
0.8896484375,
0.84033203125,
0.5048828125,
0.84033203125
],
[
0.08416748046875,
0.84326171875,
0.46728515625,
0.84326171875,
0.46728515625,
0.85400390625,
0.08416748046875,
0.85400390625
],
[
0.5048828125,
0.84130859375,
0.88818359375,
0.84130859375,
0.88818359375,
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.8896484375,
0.85693359375,
0.8896484375,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08416748046875,
0.87353515625,
0.46728515625,
0.87353515625,
0.46728515625,
0.8837890625,
0.08416748046875,
0.8837890625
],
[
0.5048828125,
0.87255859375,
0.890625,
0.87255859375,
0.890625,
0.88623046875,
0.5048828125,
0.88623046875
],
[
0.08251953125,
0.88720703125,
0.46728515625,
0.88720703125,
0.46728515625,
0.90087890625,
0.08251953125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.69384765625,
0.88720703125,
0.69384765625,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"AppearanceSpace",
"Structure Space",
"征学习”。或者,我们可以保留一个结构代码并与不同",
"clothing/shoes color",
"body size, hair, carrying,",
"texture and style,",
"的外观代码结合以产生各种图像,这些图像可以保持",
"pose, background,",
"position, viewpoint, etc.",
"姿势,背景和一些与身份相关的细节,但可以改变衣服",
"和鞋子。如图E1的每一列所示,这些图像形成了同",
"other id-related cues, etc.",
"Table l: Description of the information encoded in the",
"个人穿着不同衣服和鞋子的有趣模拟。这为进一步挖",
"latent appearanceand structurespaces.",
"掘与服装无关的微妙身份属性创造了机会,例如携带,",
"头发,体型等。因此,我们提出了互补的“细粒度特征",
"挖掘”来学习其他微妙的身份属性",
"新进展,生成模型已成为为免费56引入其他增强数",
"据我们所知,这项工作提供了第一个框架,该框架",
"据的诱人选择。尽管形式不同,但这些方法背后的",
"能够在单个统一网络中为人重新识别端到端集成判别",
"般考虑是“现实主义”:生成的图像应具有良好的品",
"和生成学习。大量的定性和定量实验表明,我们的图像",
"质,以缩小合成场景与真实场景之间的领域差距:以",
"生成与现有的图像生成相比具有优势,更重要的是,我",
"及“多样性”:生成的图像应包含足够的多样性,以充",
"们的re-id精度在多个基准测试中始终优于竞争算法。",
"分覆盖看不见的变化。在这种情况下,一些先前的工",
"作已经探索了无条件的GAN和以人体姿势为条件的",
"2. Related Work",
"GANE10,17.27.31.56来生成行人图像,以改善再识",
"别学习。然而,这些方法背后的一个常见问题是,它们",
"一大群人重新识别研究的重点是度量学习损失。一",
"的生成管道通常以独立模型的形式呈现,这些模型与",
"判别式re-id模型相对分离。因此,生成模块的优化目",
"些方法将识别损失与验证损失【48,55]相结合,另一",
"些方法将三重态损失与硬样本挖掘[6,13,33]相结合。",
"标可能无法与re-id任务很好地对齐,从而限制了生成",
"最近的一些作品采用行人属性来执行更多的监督并",
"数据的增益",
"执行多任务学习[26,36,44。替代方案利用行人对",
"鉴于上述观察,我们提出了一个学习框架,该框架",
"齐和零件匹配,以优先利用人体结构。一种常见的做",
"在称为DG-Net的统一网络中共同耦合了判别学习和",
"生成学习。我们实现这一目标的策略是引人一个生成",
"法是水平分割输入图像或特征图,以利用局部空间线",
"索[23,39,50]。以类似的方式,姿态估计被纳入学习局",
"模块,其中编码器将每个行人图像分解为两个潜在空",
"部特征[35,37,47,52,57]。除姿势外,【19]中还使用了",
"间:一个外观空间,主要编码外观和其他与身份相关的",
"人类解析来增强空间匹配。相比之下,我们的DG-Net",
"语义;以及一个结构空间,其中包含与几何和位置相关",
"仅依赖于简单的识别丢失来进行重新识别学习,并且",
"的结构信息以及其他其他变体。我们将空间中的编码",
"不需要额外的辅助信息(例如姿势或人类解析)来生成",
"特征称为“代码”。表1中总结广两个潜在空间捕获的",
"图像",
"属性。外观空间编码器也与判别模块共享,作为re-id",
"学习骨干。此设计导致了一个统一的框架,该框架包含",
"另一个活跃的研究领域是利用GAN来增强训练数",
"了生成模块和判别模块之间的这些交互:(1)生成模",
"据。在[56]中,Zheng等人。首次引人使用无条件GAN",
"块生成合成图像,以在线细化外观编码器;(2)编码器",
"从随机向量生成图像。Huang等人。使用WGAN[1]",
"反过来以改进的外观编码影响生成模块;(3)考虑到",
"继续此方向,并为生成的图像[17]分配伪标签。Li等",
"共享的外观编码器,两个模块都经过了联合优化。我们",
"人。建议在REID模型和GAN[25]的鉴别器之间共享",
"将图像生成表述为在两个图像之间切换外观或结构代",
"权重。此外,最近的一些方法利用姿态估计来进行姿态",
"码。给定具有相同/不同身份的任何成对图像,可以通",
"条件图像生成。在28中基于姿势开发了两阶段生成",
"过操纵代码来生成逼真且多样的intra/cross-id合成图",
"管道,以优化生成的图像。同样,「10,27,31]中也使用",
"像。在Market-1501[53]上生成这种合成图像的示例",
"了pose来生成不同姿势的行人图像,以使学习的特征",
"如图1所示。我们对生成管道的设计不仅可以实现高",
"对姿势变化更具鲁棒性。Siarohin等人。通过使用最近",
"保真生成,而且可以在给定现有身份的组合组成的情",
"邻损失替换传统的l1或l2损失[34]来实现更好的姿",
"况下产生大量多样性与无条件GANs「17.56不同:我",
"态条件图像生成。所有方法都将图像生成和重新id学",
"们的方法充许更可控的发电,质量更好。与姿态引导的",
"习设置为两个脱节的步骤,而我们的DG-Net端到端",
"世代【10,27,31]不同,我们的方法不需要任何额外的",
"将这两个任务集成到一个统一的网络中",
"辅助数据,而是利用现有的数据集内姿态变化以及姿",
"同时,最近的一些研究还利用合成数据进行行人图像",
"态之外的其他多样性",
"的样式传递,以补偿源域和目标域之间的差异。在[9,60",
"此生成模块设计专门用于我们的判别模块,以更好",
"中应用CycleGAN[61]将行人图像样式从一个数据集",
"地利用生成的数据。对于一个行人图像,通过保留其外",
"转移到另一个数据集。[59]中使用StarGAN[7]生成",
"观代码并结合不同的结构代码,我们可以生成多个图",
"具有不同相机样式的行人图像。Bak等人。[3]使用游",
"像,这些图像保留了衣服和鞋子,但改变了姿势,视点,",
"戏引擎来使用各种照明条件染行人。Wei等人。「46",
"背景等。如图E1的每一行所示,这些图像对应于穿着",
"在辅助风格转换中采取语义分割提取前景蒙版。与全",
"不同人的同一件衣服。为了更好地捕获此类合成的交",
"局样式转移相反,我们的目标是操纵外观和结构细节,",
"叉ID信息,我们通过动态软标签策略引人了“主要特",
"以促进更强大的re-id学习"
] |
{
"arxiv_id": "1904.07223",
"language": "zh",
"page_idx": 1
}
|
||
1904.07223-zh-2
|
1904.07223-zh-2.jpg
|
<FigureHere>
Figure 2: A schematic overview of DG-Net. (a) Our discriminative re-id learning module is embedded in the generative module by sharing appearance encoder $E_a$ . A dash black line denotes the input image to structure encoder $E_s$ is converted to gray. The red line indicates the generated images are online fed back to $E_a.$ Two objectives are enforced in the generative module: (b) self-identity generation by the same input identity and (c) cross-identity generation by different input identities. (d) To better leverage generated data, the re-id learning involves primary feature learning and fine-grained feature mining.
## 3. Method
如图E2 所示,DG-Net 将用于图像生成的生成模块和用于重新识别学习的判别模块紧密耦合。我们引人了两个图像映射:自我身份生成和交叉身份生成,以合成在线馈送到 re-id 学习中的高质量图像。我们的判别模块涉及主要特征学习和细粒度特征挖掘,它们与生成模块共同设计,以更好地利用生成的数据
间分辨率,以保留几何和位置属性。但是,这可能会导致$G$的琐碎解决方案仅使用$s_j$,而在图像生成中忽略$a_i$ ,因为解码器倾向于依赖具有更多空间信息的功能。在实践中,我们将$E_\mathrm{s}$的输入图像转换为灰度,以驱动$G$利用$a_i$和$s_j$ 。我们为生成模块强制执行两个目标:(1)自标识生成以使生成器正则化,以及(2)交叉标识生成以使生成的图像可控并匹配真实数据分布
自标识生成。如图 2(b)所示,给定一个图像$x_i$, 生成模块首先学习如何从自身重建$x_i$ 。这个简单的自我重建任务是整个一代人的重要正则化角色。我们使用逐像素$\ell_{1}$损失重建图像:
## 3.1. Generative Module
$$L_{\mathrm{recon}}^{\mathrm{img}_1}=\mathbb{E}[\|x_i-G(a_i,s_i)\|_1].$$
(1)
基于同一人在不同图像中的外观代码接近的假设,我们进一步提出了同一身份的任何两个图像之间的另一个重建任务。换句话说,生成器应该能够通过具有相同标识$y_i=y_t$的图像$x_t$重建$x_i:$
公式。我们将真实图像和身份标签表示为$X=$ $\{x_i\}_{i=1}^N$ 和$Y=\{y_i\}_{i=1}^N$,其中$N$ 是图像的数量, $y_{i}\in[1,K]$和$K$表示数据集中的类或身份的数量。给定训练集中的两个真实图像$x_i$和$x_j$ ,我们的生成模块通过交换两个图像的外观或结构代码来生成新的行人图像。如图$\operatorname{E2}$ 所示,生成模块由外观编码器$E_{a}$ : $x_{i}$ $\to$ $a_{i}$ , 结构编码器 $E_{\mathrm{s} }$ : $x_{j}$ $\to$ $s_{j}$ , 解码器$G:(a_i,s_j)\to x_j^i$和鉴别器$D$组成,以区分生成的图像和真实的图像。在$i=j$的情况下,生成器可以被视为自动编码器,因此$x_i^i\approx x_i$ 。注意:对于生成的图像, 我们使用上标表示真实图像提供外观代码,下标表示一个提供结构代码,而真实图像只有下标作为图像索引。与外观代码$a_i$相比,结构代码$s_j$保持了更大的空
$$L_{\mathrm{recon}}^{\mathrm{img}_2}=\mathbb{E}[\|x_i-G(a_t,s_i)\|_1].$$
(2)
这种相同标识但跨图像的重建损失会鼓励外观编码器将相同标识的外观代码拉到一起,从而减少类内特征变化。同时,为了迫使不同图像的外观代码保持分离,
|
[
[
0.79833984375,
0.10101318359375,
0.82421875,
0.1029052734375,
0.82275390625,
0.111083984375,
0.79736328125,
0.10919189453125
],
[
0.7958984375,
0.1673583984375,
0.82421875,
0.169189453125,
0.82275390625,
0.177978515625,
0.7939453125,
0.175537109375
],
[
0.74609375,
0.2197265625,
0.7998046875,
0.2197265625,
0.7998046875,
0.2310791015625,
0.74609375,
0.2310791015625
],
[
0.1829833984375,
0.231689453125,
0.1968994140625,
0.231689453125,
0.1968994140625,
0.240478515625,
0.1829833984375,
0.240478515625
],
[
0.81201171875,
0.2890625,
0.8388671875,
0.2890625,
0.8388671875,
0.296630859375,
0.81201171875,
0.296630859375
],
[
0.1544189453125,
0.34228515625,
0.1707763671875,
0.34228515625,
0.1707763671875,
0.356689453125,
0.1544189453125,
0.356689453125
],
[
0.81787109375,
0.36865234375,
0.8505859375,
0.373779296875,
0.84716796875,
0.380615234375,
0.814453125,
0.375732421875
],
[
0.79833984375,
0.3837890625,
0.80810546875,
0.3837890625,
0.80810546875,
0.389404296875,
0.79833984375,
0.389404296875
],
[
0.233642578125,
0.39453125,
0.25732421875,
0.39453125,
0.25732421875,
0.401611328125,
0.233642578125,
0.401611328125
],
[
0.1846923828125,
0.4091796875,
0.313720703125,
0.4091796875,
0.313720703125,
0.419189453125,
0.1846923828125,
0.419189453125
],
[
0.386474609375,
0.4091796875,
0.525390625,
0.4091796875,
0.525390625,
0.419189453125,
0.386474609375,
0.419189453125
],
[
0.6259765625,
0.4091796875,
0.77685546875,
0.4091796875,
0.77685546875,
0.419189453125,
0.6259765625,
0.419189453125
],
[
0.08087158203125,
0.436279296875,
0.890625,
0.436279296875,
0.890625,
0.449462890625,
0.08087158203125,
0.449462890625
],
[
0.080078125,
0.451904296875,
0.89208984375,
0.451904296875,
0.89208984375,
0.46533203125,
0.080078125,
0.46533203125
],
[
0.08087158203125,
0.46728515625,
0.89208984375,
0.46728515625,
0.89208984375,
0.48095703125,
0.08087158203125,
0.48095703125
],
[
0.08251953125,
0.48291015625,
0.88818359375,
0.48291015625,
0.88818359375,
0.49365234375,
0.08251953125,
0.49365234375
],
[
0.08087158203125,
0.496826171875,
0.8935546875,
0.496826171875,
0.8935546875,
0.51123046875,
0.08087158203125,
0.51123046875
],
[
0.07843017578125,
0.51123046875,
0.5498046875,
0.51220703125,
0.5498046875,
0.5263671875,
0.07843017578125,
0.52587890625
],
[
0.080078125,
0.55322265625,
0.1748046875,
0.55322265625,
0.1748046875,
0.564453125,
0.080078125,
0.564453125
],
[
0.5048828125,
0.5537109375,
0.890625,
0.5537109375,
0.890625,
0.5673828125,
0.5048828125,
0.5673828125
],
[
0.5048828125,
0.5693359375,
0.890625,
0.5693359375,
0.890625,
0.58349609375,
0.5048828125,
0.58349609375
],
[
0.101318359375,
0.57763671875,
0.468017578125,
0.57763671875,
0.468017578125,
0.59130859375,
0.101318359375,
0.59130859375
],
[
0.50341796875,
0.583984375,
0.8896484375,
0.583984375,
0.8896484375,
0.5986328125,
0.50341796875,
0.5986328125
],
[
0.08087158203125,
0.59326171875,
0.46728515625,
0.59326171875,
0.46728515625,
0.60693359375,
0.08087158203125,
0.60693359375
],
[
0.50341796875,
0.599609375,
0.890625,
0.599609375,
0.890625,
0.61279296875,
0.50341796875,
0.61279296875
],
[
0.0849609375,
0.609375,
0.46728515625,
0.609375,
0.46728515625,
0.62255859375,
0.0849609375,
0.62255859375
],
[
0.50341796875,
0.6142578125,
0.88818359375,
0.6142578125,
0.88818359375,
0.62744140625,
0.50341796875,
0.62744140625
],
[
0.08416748046875,
0.62548828125,
0.465576171875,
0.62548828125,
0.465576171875,
0.63623046875,
0.08416748046875,
0.63623046875
],
[
0.5048828125,
0.6298828125,
0.890625,
0.6298828125,
0.890625,
0.64306640625,
0.5048828125,
0.64306640625
],
[
0.08087158203125,
0.6396484375,
0.468017578125,
0.6396484375,
0.468017578125,
0.65283203125,
0.08087158203125,
0.65283203125
],
[
0.5048828125,
0.64453125,
0.87841796875,
0.64453125,
0.87841796875,
0.65771484375,
0.5048828125,
0.65771484375
],
[
0.08087158203125,
0.65478515625,
0.39208984375,
0.65478515625,
0.39208984375,
0.66845703125,
0.08087158203125,
0.66845703125
],
[
0.525390625,
0.66015625,
0.8857421875,
0.66015625,
0.8857421875,
0.673828125,
0.525390625,
0.673828125
],
[
0.50341796875,
0.673828125,
0.8896484375,
0.6748046875,
0.8896484375,
0.689453125,
0.50341796875,
0.68798828125
],
[
0.080078125,
0.68115234375,
0.265625,
0.68115234375,
0.265625,
0.6943359375,
0.080078125,
0.6943359375
],
[
0.50634765625,
0.69140625,
0.890625,
0.69140625,
0.890625,
0.7021484375,
0.50634765625,
0.7021484375
],
[
0.101318359375,
0.70556640625,
0.459228515625,
0.70556640625,
0.459228515625,
0.7197265625,
0.101318359375,
0.7197265625
],
[
0.50341796875,
0.705078125,
0.701171875,
0.705078125,
0.701171875,
0.71826171875,
0.50341796875,
0.71826171875
],
[
0.08251953125,
0.72021484375,
0.26953125,
0.72021484375,
0.26953125,
0.73486328125,
0.08251953125,
0.73486328125
],
[
0.261474609375,
0.7197265625,
0.468017578125,
0.7197265625,
0.468017578125,
0.73291015625,
0.261474609375,
0.73291015625
],
[
0.5947265625,
0.73095703125,
0.7998046875,
0.73095703125,
0.7998046875,
0.74560546875,
0.5947265625,
0.74560546875
],
[
0.86767578125,
0.73193359375,
0.89208984375,
0.73193359375,
0.89208984375,
0.74560546875,
0.86767578125,
0.74560546875
],
[
0.080078125,
0.75,
0.46728515625,
0.75048828125,
0.46728515625,
0.76513671875,
0.080078125,
0.7646484375
],
[
0.080078125,
0.736328125,
0.46728515625,
0.734375,
0.46728515625,
0.74853515625,
0.080078125,
0.75048828125
],
[
0.5048828125,
0.75830078125,
0.89208984375,
0.75830078125,
0.89208984375,
0.771484375,
0.5048828125,
0.771484375
],
[
0.08251953125,
0.7666015625,
0.46728515625,
0.7666015625,
0.46728515625,
0.77978515625,
0.08251953125,
0.77978515625
],
[
0.5048828125,
0.7734375,
0.8759765625,
0.7734375,
0.8759765625,
0.787109375,
0.5048828125,
0.787109375
],
[
0.08087158203125,
0.78076171875,
0.46728515625,
0.78076171875,
0.46728515625,
0.79443359375,
0.08087158203125,
0.79443359375
],
[
0.5048828125,
0.78857421875,
0.890625,
0.78857421875,
0.890625,
0.8017578125,
0.5048828125,
0.8017578125
],
[
0.08251953125,
0.796875,
0.365234375,
0.796875,
0.365234375,
0.81103515625,
0.08251953125,
0.81103515625
],
[
0.373291015625,
0.8017578125,
0.396240234375,
0.8017578125,
0.396240234375,
0.8046875,
0.373291015625,
0.8046875
],
[
0.40283203125,
0.79736328125,
0.465576171875,
0.79736328125,
0.465576171875,
0.8095703125,
0.40283203125,
0.8095703125
],
[
0.50341796875,
0.8037109375,
0.73876953125,
0.8037109375,
0.73876953125,
0.8173828125,
0.50341796875,
0.8173828125
],
[
0.07843017578125,
0.81005859375,
0.46728515625,
0.8095703125,
0.46728515625,
0.82373046875,
0.07843017578125,
0.82470703125
],
[
0.08087158203125,
0.82568359375,
0.468017578125,
0.82470703125,
0.468017578125,
0.8388671875,
0.08087158203125,
0.84033203125
],
[
0.59228515625,
0.82568359375,
0.80224609375,
0.82568359375,
0.80224609375,
0.84765625,
0.59228515625,
0.84765625
],
[
0.86767578125,
0.830078125,
0.890625,
0.830078125,
0.890625,
0.84326171875,
0.86767578125,
0.84326171875
],
[
0.08416748046875,
0.84130859375,
0.468017578125,
0.84130859375,
0.468017578125,
0.85595703125,
0.08416748046875,
0.85595703125
],
[
0.08087158203125,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.08087158203125,
0.87060546875
],
[
0.5048828125,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.09722900390625,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.09722900390625,
0.88525390625
],
[
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
]
] |
[
"Lady",
"Lcode",
"(a) DG-Net",
"L",
"Lid",
"公",
"Line",
"f6",
"W=",
"(b)self-identitygeneration",
"(c)cross-identitygeneration",
"(d)discriminative re-id learning",
"Figure 2: A schematic overview of DG-Net. (a) Our discriminative re-id learning module is embedded in the",
"generative module by sharing appearance encoder Ea : A dash black line denotes the input image to structure",
"encoder Eg is converted to gray. The red line indicates the generated images are online fed back to Ea.Two",
"objectives are enforced inthe generativemodule:(b)self-identitygeneration by the sameinputidentity and (c)",
"cross-identity generation by different input identities. (d) To better leverage generated data, the re-id learning",
"involvesprimary feature learning and fine-grained featuremining.",
"3.Method",
"间分辨率,以保留几何和位置属性。但是,这可能会导",
"致G的琐碎解决方案仅使用si,而在图像生成中忽",
"如图E2所示,DG-Net将用于图像生成的生成模块",
"略ai,因为解码器倾向于依赖具有更多空间信息的功",
"和用于重新识别学习的判别模块紧密耦合。我们引入",
"能。在实践中,我们将E。的输人图像转换为灰度,以",
"了两个图像映射:自我身份生成和交叉身份生成,以合",
"驱动G利用a和s;。我们为生成模块强制执行两个",
"成在线馈送到re-id学习中的高质量图像。我们的判别",
"目标:(1)自标识生成以使生成器正则化,以及(2)交",
"模块涉及主要特征学习和细粒度特征挖掘,它们与生",
"叉标识生成以使生成的图像可控并匹配真实数据分布",
"成模块共同设计,以更好地利用生成的数据",
"自标识生成。如图2(b)所示,给定一个图像ci",
"生成模块首先学习如何从自身重建i。这个简单的自",
"3.1. Generative Module",
"我重建任务是整个一代人的重要正则化角色。我们使",
"公式。我们将真实图像和身份标签表示为X:",
"用逐像素l1损失重建图像:",
"[ri 和 Y =(yi]",
",其中N是图像的数量",
"Limgn = E[lai-G(ai, si)lli].",
"(1)",
"给定训练集中的两个真实图像和i,我们的生",
"yiE[1,K]和K表示数据集中的类或身份的数量。",
"基于同一人在不同图像中的外观代码接近的假设,我",
"成模块通过交换两个图像的外观或结构代码来生成新",
"们进一步提出了同一身份的任何两个图像之间的另",
"的行人图像。如图E2所示,生成模块由外观编码器",
"个重建任务。换句话说,生成器应该能够通过具有相同",
"Ea:ai→ai,结构编码器E。:aj-",
":",
",解码器",
"标识yi=yt的图像at重建ri:",
"G:(ai,si)→a和鉴别器D组成,以区分生成的图",
"像和真实的图像。在i=的情况下,生成器可以被视",
"Lm = E[lr; - G(at, s) 1] .",
"(2)",
"为自动编码器,因此c~。注意:对于生成的图像,",
"我们使用上标表示真实图像提供外观代码,下标表示",
"这种相同标识但跨图像的重建损失会鼓励外观编码器",
"个提供结构代码,而真实图像只有下标作为图像索",
"将相同标识的外观代码拉到一起,从而减少类内特征",
"引。与外观代码a,相比,结构代码s,保持了更大的空",
"变化。同时,为了迫使不同图像的外观代码保持分离,"
] |
{
"arxiv_id": "1904.07223",
"language": "zh",
"page_idx": 2
}
|
||
1904.07223-zh-3
|
1904.07223-zh-3.jpg
|
我们使用识别损失来区分不同的身份:
(3)
$$L_{\mathrm{id}}^\mathrm{s}=\mathbb{E}[-\log(p(y_i|x_i))],$$
其中$p(y_i|x_i)$是$x_i$根据其外观代码属于地面实况类$y_i$
的预测概率
交叉标识生成。与使用相同身份进行图像重建的自我身份生成不同,交叉身份生成侧重于具有不同身份的图像生成。在这种情况下,没有像素级的地面实况监督。相反,我们引入了基于外观和结构代码的潜在代码重建来控制此类图像生成。如图 2(c)所示,给定两个不同标识$y_i\neq y_j$的图像$x_i$和$x_j$ ,生成的图像$x_j^i=G(a_i,s_j)$需要分别保留来自$x_i$的外观代码$a_i$和来自$x_j$的结构代码$s_j$的信息。然后,我们应该能够在对生成的图像进行编码后重建两个潜在代码:
(4)
$$L_{\mathrm{recon}}^{\mathrm{code}_{1}}=\mathbb{E}[\|a_{i}-E_{a}(G(a_{i},s_{j}))\|_{1}],\\L_{\mathrm{recon}}^{\mathrm{code}_{2}}=\mathbb{E}[\|s_{j}-E_{s}(G(a_{i},s_{j}))\|_{1}].$$
(5)
与自我身份生成类似,我们还根据其外观代码对生成
的图像实施标识丢失,以保持身份一致性:
$$L_{\mathrm{id}}^{\mathrm{c}}=\mathbb{E}[-\log(p(y_i|x_j^i))],$$
(6)
其中$p(y_i|x_j^i)$是$x_j$中$x_j^i$的预测外观属于。此外,我们采用对抗性损失来将生成的图像的分布与实际数据分布相匹配:
(7)
$$L_{\mathrm{adv}}=\mathbb{E}[\log D(x_i)+\log(1-D(G(a_i,s_j))].$$
讨论。通过使用提出的生成机制,我们使生成模块能够学习具有明确和互补含义的外观和结构代码, 并基于潜在代码生成高质量的行人图像。这在很大程度上减轻了生成的复杂性。相比之下,以前的方法[10,17,27,31,56]必须从随机噪声或仅管理姿态因子来学习图像生成,这很难操纵输出并不可避免地引人伪影。此外,由于使用了潜在代码,我们生成的图像中的变体可以在真实图像的现有内容中解释和约束,这也确保了生成的真实性。从理论上讲,我们可以通过对各种图像对进行采样来生成$O(N\times N)$不同的图像, 从而产生比在[17,31,56]中离线生成的$O(2\times N)$图像更大的在线生成训练样本池
# 3.2. Discriminative Module
我们的判别模块通过共享外观编码器作为 re-id 学习的主干而嵌入在生成模块中。根据通过切换外观或结构代码生成的图像,我们提出了主要特征学习和细粒度特征挖掘,以更好地利用在线生成的图像。由于这两个任务集中在生成图像的不同方面,因此我们在外观编码器的顶部分支出两个轻量级标头,用于两种类型的特征学习,如图E2 $( d)$所示
主要特征学习。可以将生成的图像视为与现有工作类似的训练样本$\mathbb{E}[17,31,56]$。但是,跨 id 组成的图像中的班级间差异促使我们采用具有动态软标签的师生
式监督。我们使用教师模型为$x_j^i$动态分配软标签,具体取决于$x_i$和$x_j$的复合外观和结构。教师模型只是一个基线 CNN 训练,在原始训练集上有识别损失。为了训练用于主要特征学习的判别模块,我们将判别模块预测的概率分布$p(x_j^i)$与教师预测的概率分布$q(x_j^i)$ 之间的 KL 差异最小化:
(8)
$$L_{\mathrm{prim}}=\mathbb{E}[-\sum_{k=1}^Kq(k|x_j^i)\log(\frac{p(k|x_j^i)}{q(k|x_j^i)})],$$
其中$K$是身份数。与固定的独热标签 [31,62] 或静态平滑标签 [56] 相比,这种动态软标签更适合我们的情况因为每个合成图像都是由两个真实图像的视觉内容形成的。在实验中,我们证明了一个简单的基线 CNN 作为教师模型是可靠的,可以提供动态标签并提高性能
细粒度特征挖掘。除了直接使用生成的数据来学习主要特征之外,通过我们的特定生成管道使之成为可能的一种有趣的替代方法是模拟同一个人的服装变化, 如图$\boxed{\mathrm{E1}}$ 的每一列所示。在以这种方式组织的图像上进行训练时,判别模块被迫学习与服装无关的细粒度 ID 相关属性(例如头发,帽子,书包,体型等)。我们将一个结构代码与不同外观代码结合生成的图像视为与提供结构代码的真实图像相同的类。为了训练用于细粒度特征挖掘的判别模块,我们在此特定分类上强制执行标识丢失:
(9)
$$L_{\mathrm{fine}}=\mathbb{E}[-\log(p(y_j|x_j^i))].$$
此丢失以多任务方式对判别模块施加了额外的身份监督。此外,与以前使用手动标记的行人属性$\mathbb{E}[26,36,44]$ 的作品不同,我们的方法通过利用合成图像执行自动细粒度属性挖掘。此外,与[13,33] 中应用的硬采样策略相比,不需要显式搜索通常具有细粒度细节的硬训练样本,因为我们的判别模块通过这种细粒度特征挖掘学会了对微妙身份属性的关注
讨论。我们认为,我们的高质量合成图像本质上可以被视为“内点”(与“异常值”相反),因为我们生成的图像可以维护和重组来自真实数据的视觉内容。通过上述两个特征学习任务,我们的判别模块根据我们如何操作外观和结构代码的方式具体使用生成的数据。我们没有像几乎所有以前的方法[17,31,56]那样使用单一的监督,而是通过主要特征学习和细粒度特征挖掘从两个不同的角度处理生成的图像,前者关注结构不变的服装信息,后者关注外观不变的结构线索
# 3.3.0ptimization.
我们共同训练外观和结构编码器,解码器和鉴别器
以优化总目标,该总目标是以下损失的加权和:
$$L_{\mathrm{total}}(E_{a},E_{s},G,D)=\lambda_{\mathrm{img}}L_{\mathrm{recon}}^{\mathrm{img}}+L_{\mathrm{recon}}^{\mathrm{code}}+\\L_{\mathrm{id}}^{\mathrm{s}}+\lambda_{\mathrm{id}}L_{\mathrm{id}}^{\mathrm{c}}+L_{\mathrm{adv}}+\lambda_{\mathrm{prim}}L_{\mathrm{prim}}+\lambda_{\mathrm{fine}}L_{\mathrm{fine}},$$
其中$L_{\mathrm{recon}}^{\mathrm{img}}=L_{\mathrm{recon}}^{\mathrm{img}_{1}}+L_{\mathrm{recon}}^{\mathrm{img}_{2}}$是自标识生成中的图像重建损失$,L_\mathrm{recon}^\mathrm{code}=L_\mathrm{recon}^\mathrm{code}_1+L_\mathrm{recon}^\mathrm{code}$是XMATHX 生成
|
[
[
0.08251953125,
0.0947265625,
0.34716796875,
0.0947265625,
0.34716796875,
0.10479736328125,
0.08251953125,
0.10479736328125
],
[
0.50341796875,
0.0921630859375,
0.890625,
0.09344482421875,
0.890625,
0.106689453125,
0.50341796875,
0.1060791015625
],
[
0.5048828125,
0.10797119140625,
0.8896484375,
0.10797119140625,
0.8896484375,
0.121826171875,
0.5048828125,
0.121826171875
],
[
0.1895751953125,
0.121826171875,
0.359375,
0.121826171875,
0.359375,
0.1351318359375,
0.1895751953125,
0.1351318359375
],
[
0.44775390625,
0.12371826171875,
0.468017578125,
0.12371826171875,
0.468017578125,
0.1337890625,
0.44775390625,
0.1337890625
],
[
0.5048828125,
0.12249755859375,
0.890625,
0.12371826171875,
0.890625,
0.136962890625,
0.5048828125,
0.1363525390625
],
[
0.50634765625,
0.1383056640625,
0.890625,
0.1383056640625,
0.890625,
0.1514892578125,
0.50634765625,
0.1514892578125
],
[
0.08087158203125,
0.149658203125,
0.46728515625,
0.149658203125,
0.46728515625,
0.1634521484375,
0.08087158203125,
0.1634521484375
],
[
0.50244140625,
0.1514892578125,
0.8896484375,
0.154052734375,
0.8896484375,
0.1685791015625,
0.50244140625,
0.1666259765625
],
[
0.08087158203125,
0.1654052734375,
0.16259765625,
0.1654052734375,
0.16259765625,
0.1767578125,
0.08087158203125,
0.1767578125
],
[
0.50341796875,
0.1685791015625,
0.67236328125,
0.1685791015625,
0.67236328125,
0.1787109375,
0.50341796875,
0.1787109375
],
[
0.101318359375,
0.1787109375,
0.46728515625,
0.1787109375,
0.46728515625,
0.1925048828125,
0.101318359375,
0.1925048828125
],
[
0.08087158203125,
0.1944580078125,
0.46728515625,
0.1944580078125,
0.46728515625,
0.2083740234375,
0.08087158203125,
0.2083740234375
],
[
0.65869140625,
0.1944580078125,
0.67333984375,
0.1944580078125,
0.67333984375,
0.203857421875,
0.65869140625,
0.203857421875
],
[
0.7607421875,
0.1976318359375,
0.81396484375,
0.1976318359375,
0.81396484375,
0.212158203125,
0.7607421875,
0.212158203125
],
[
0.56201171875,
0.20703125,
0.6611328125,
0.203857421875,
0.6611328125,
0.2197265625,
0.56201171875,
0.222900390625
],
[
0.65185546875,
0.203857421875,
0.76123046875,
0.203857421875,
0.76123046875,
0.2215576171875,
0.65185546875,
0.2215576171875
],
[
0.08087158203125,
0.210205078125,
0.46728515625,
0.210205078125,
0.46728515625,
0.2235107421875,
0.08087158203125,
0.2235107421875
],
[
0.865234375,
0.212158203125,
0.869140625,
0.212158203125,
0.869140625,
0.2171630859375,
0.865234375,
0.2171630859375
],
[
0.86669921875,
0.2083740234375,
0.8896484375,
0.2083740234375,
0.8896484375,
0.2197265625,
0.86669921875,
0.2197265625
],
[
0.7607421875,
0.21533203125,
0.814453125,
0.21533203125,
0.814453125,
0.2298583984375,
0.7607421875,
0.2298583984375
],
[
0.08416748046875,
0.2266845703125,
0.465576171875,
0.2266845703125,
0.465576171875,
0.2374267578125,
0.08416748046875,
0.2374267578125
],
[
0.654296875,
0.2215576171875,
0.6787109375,
0.2215576171875,
0.6787109375,
0.23291015625,
0.654296875,
0.23291015625
],
[
0.08087158203125,
0.240478515625,
0.46728515625,
0.2412109375,
0.46728515625,
0.25244140625,
0.08087158203125,
0.251953125
],
[
0.5048828125,
0.246826171875,
0.8896484375,
0.246826171875,
0.8896484375,
0.2568359375,
0.5048828125,
0.2568359375
],
[
0.080078125,
0.255126953125,
0.46728515625,
0.25390625,
0.46728515625,
0.268310546875,
0.080078125,
0.26953125
],
[
0.50341796875,
0.260009765625,
0.890625,
0.260009765625,
0.890625,
0.2734375,
0.50341796875,
0.2734375
],
[
0.080078125,
0.26953125,
0.46728515625,
0.268310546875,
0.46728515625,
0.28271484375,
0.080078125,
0.2841796875
],
[
0.50634765625,
0.276611328125,
0.8896484375,
0.276611328125,
0.8896484375,
0.287353515625,
0.50634765625,
0.287353515625
],
[
0.08087158203125,
0.285400390625,
0.46728515625,
0.285400390625,
0.46728515625,
0.298583984375,
0.08087158203125,
0.298583984375
],
[
0.50634765625,
0.291748046875,
0.890625,
0.291748046875,
0.890625,
0.3017578125,
0.50634765625,
0.3017578125
],
[
0.08251953125,
0.300537109375,
0.41259765625,
0.300537109375,
0.41259765625,
0.311279296875,
0.08251953125,
0.311279296875
],
[
0.5048828125,
0.304931640625,
0.88134765625,
0.304931640625,
0.88134765625,
0.318115234375,
0.5048828125,
0.318115234375
],
[
0.525390625,
0.3212890625,
0.88623046875,
0.3212890625,
0.88623046875,
0.33203125,
0.525390625,
0.33203125
],
[
0.15283203125,
0.32763671875,
0.39794921875,
0.328857421875,
0.39794921875,
0.343505859375,
0.15283203125,
0.34228515625
],
[
0.404296875,
0.333251953125,
0.4306640625,
0.333251953125,
0.4306640625,
0.34033203125,
0.404296875,
0.34033203125
],
[
0.4453125,
0.330078125,
0.468017578125,
0.330078125,
0.468017578125,
0.34228515625,
0.4453125,
0.34228515625
],
[
0.50341796875,
0.333984375,
0.88818359375,
0.335205078125,
0.88818359375,
0.348388671875,
0.50341796875,
0.347900390625
],
[
0.1544189453125,
0.348388671875,
0.396240234375,
0.348388671875,
0.396240234375,
0.3623046875,
0.1544189453125,
0.3623046875
],
[
0.4453125,
0.35107421875,
0.468017578125,
0.35107421875,
0.468017578125,
0.363037109375,
0.4453125,
0.363037109375
],
[
0.50341796875,
0.35107421875,
0.88818359375,
0.35107421875,
0.88818359375,
0.3642578125,
0.50341796875,
0.3642578125
],
[
0.5048828125,
0.365478515625,
0.890625,
0.365478515625,
0.890625,
0.37890625,
0.5048828125,
0.37890625
],
[
0.41015625,
0.352783203125,
0.4248046875,
0.352783203125,
0.4248046875,
0.35986328125,
0.41015625,
0.35986328125
],
[
0.0849609375,
0.37890625,
0.46728515625,
0.37890625,
0.46728515625,
0.389404296875,
0.0849609375,
0.389404296875
],
[
0.50244140625,
0.380126953125,
0.8896484375,
0.380126953125,
0.8896484375,
0.393310546875,
0.50244140625,
0.393310546875
],
[
0.08087158203125,
0.392578125,
0.38232421875,
0.392578125,
0.38232421875,
0.406005859375,
0.08087158203125,
0.406005859375
],
[
0.5048828125,
0.395751953125,
0.8896484375,
0.395751953125,
0.8896484375,
0.4091796875,
0.5048828125,
0.4091796875
],
[
0.51953125,
0.410888671875,
0.890625,
0.410888671875,
0.890625,
0.4248046875,
0.51953125,
0.4248046875
],
[
0.188720703125,
0.421630859375,
0.359375,
0.421630859375,
0.359375,
0.43505859375,
0.188720703125,
0.43505859375
],
[
0.44677734375,
0.421630859375,
0.468017578125,
0.421630859375,
0.468017578125,
0.43505859375,
0.44677734375,
0.43505859375
],
[
0.50244140625,
0.425537109375,
0.8896484375,
0.4267578125,
0.8896484375,
0.43994140625,
0.50244140625,
0.439453125
],
[
0.50634765625,
0.443115234375,
0.88818359375,
0.443115234375,
0.88818359375,
0.453857421875,
0.50634765625,
0.453857421875
],
[
0.08087158203125,
0.449462890625,
0.468017578125,
0.449462890625,
0.468017578125,
0.46337890625,
0.08087158203125,
0.46337890625
],
[
0.5048828125,
0.45703125,
0.609375,
0.45703125,
0.609375,
0.4697265625,
0.5048828125,
0.4697265625
],
[
0.08251953125,
0.466552734375,
0.46728515625,
0.466552734375,
0.46728515625,
0.4765625,
0.08251953125,
0.4765625
],
[
0.08251953125,
0.481689453125,
0.1683349609375,
0.481689453125,
0.1683349609375,
0.49365234375,
0.08251953125,
0.49365234375
],
[
0.60546875,
0.48291015625,
0.78759765625,
0.48291015625,
0.78759765625,
0.496826171875,
0.60546875,
0.496826171875
],
[
0.869140625,
0.48291015625,
0.890625,
0.48291015625,
0.890625,
0.496826171875,
0.869140625,
0.496826171875
],
[
0.1094970703125,
0.5087890625,
0.46728515625,
0.5087890625,
0.46728515625,
0.52294921875,
0.1094970703125,
0.52294921875
],
[
0.5048828125,
0.5087890625,
0.890625,
0.5087890625,
0.890625,
0.52294921875,
0.5048828125,
0.52294921875
],
[
0.50634765625,
0.52587890625,
0.88623046875,
0.52587890625,
0.88623046875,
0.5361328125,
0.50634765625,
0.5361328125
],
[
0.1004638671875,
0.5361328125,
0.468017578125,
0.5361328125,
0.468017578125,
0.5498046875,
0.1004638671875,
0.5498046875
],
[
0.50341796875,
0.5390625,
0.890625,
0.5390625,
0.890625,
0.55322265625,
0.50341796875,
0.55322265625
],
[
0.08087158203125,
0.5517578125,
0.4697265625,
0.5517578125,
0.4697265625,
0.56494140625,
0.08087158203125,
0.56494140625
],
[
0.5048828125,
0.55615234375,
0.8896484375,
0.55615234375,
0.8896484375,
0.56640625,
0.5048828125,
0.56640625
],
[
0.08416748046875,
0.568359375,
0.46728515625,
0.568359375,
0.46728515625,
0.5791015625,
0.08416748046875,
0.5791015625
],
[
0.50341796875,
0.5693359375,
0.8896484375,
0.5693359375,
0.8896484375,
0.58349609375,
0.50341796875,
0.58349609375
],
[
0.08251953125,
0.58349609375,
0.465576171875,
0.58349609375,
0.465576171875,
0.59326171875,
0.08251953125,
0.59326171875
],
[
0.50341796875,
0.58544921875,
0.890625,
0.58544921875,
0.890625,
0.5986328125,
0.50341796875,
0.5986328125
],
[
0.08251953125,
0.5986328125,
0.46728515625,
0.5986328125,
0.46728515625,
0.609375,
0.08251953125,
0.609375
],
[
0.50341796875,
0.599609375,
0.73193359375,
0.599609375,
0.73193359375,
0.61279296875,
0.50341796875,
0.61279296875
],
[
0.08251953125,
0.61279296875,
0.465576171875,
0.61279296875,
0.465576171875,
0.62353515625,
0.08251953125,
0.62353515625
],
[
0.52294921875,
0.6142578125,
0.890625,
0.6142578125,
0.890625,
0.62744140625,
0.52294921875,
0.62744140625
],
[
0.08087158203125,
0.62548828125,
0.468017578125,
0.626953125,
0.468017578125,
0.64013671875,
0.08087158203125,
0.6396484375
],
[
0.5048828125,
0.630859375,
0.890625,
0.630859375,
0.890625,
0.6416015625,
0.5048828125,
0.6416015625
],
[
0.08087158203125,
0.642578125,
0.468017578125,
0.642578125,
0.468017578125,
0.65576171875,
0.08087158203125,
0.65576171875
],
[
0.50341796875,
0.64453125,
0.890625,
0.64453125,
0.890625,
0.65771484375,
0.50341796875,
0.65771484375
],
[
0.08251953125,
0.6591796875,
0.46728515625,
0.6591796875,
0.46728515625,
0.66943359375,
0.08251953125,
0.66943359375
],
[
0.50341796875,
0.66015625,
0.890625,
0.66015625,
0.890625,
0.673828125,
0.50341796875,
0.673828125
],
[
0.08087158203125,
0.67236328125,
0.468017578125,
0.67236328125,
0.468017578125,
0.68603515625,
0.08087158203125,
0.68603515625
],
[
0.5048828125,
0.6767578125,
0.8896484375,
0.6767578125,
0.8896484375,
0.6875,
0.5048828125,
0.6875
],
[
0.08251953125,
0.689453125,
0.46728515625,
0.689453125,
0.46728515625,
0.69970703125,
0.08251953125,
0.69970703125
],
[
0.5048828125,
0.68994140625,
0.8896484375,
0.68994140625,
0.8896484375,
0.7041015625,
0.5048828125,
0.7041015625
],
[
0.08087158203125,
0.7021484375,
0.27685546875,
0.7021484375,
0.27685546875,
0.71533203125,
0.08087158203125,
0.71533203125
],
[
0.5048828125,
0.70556640625,
0.890625,
0.70556640625,
0.890625,
0.7197265625,
0.5048828125,
0.7197265625
],
[
0.50341796875,
0.72021484375,
0.890625,
0.72021484375,
0.890625,
0.734375,
0.50341796875,
0.734375
],
[
0.080078125,
0.72802734375,
0.294189453125,
0.72802734375,
0.294189453125,
0.7412109375,
0.080078125,
0.7412109375
],
[
0.50634765625,
0.7373046875,
0.8447265625,
0.7373046875,
0.8447265625,
0.74755859375,
0.50634765625,
0.74755859375
],
[
0.1004638671875,
0.75048828125,
0.468017578125,
0.75048828125,
0.468017578125,
0.7646484375,
0.1004638671875,
0.7646484375
],
[
0.50341796875,
0.76025390625,
0.64892578125,
0.76025390625,
0.64892578125,
0.7734375,
0.50341796875,
0.7734375
],
[
0.08251953125,
0.7666015625,
0.468017578125,
0.7666015625,
0.468017578125,
0.77978515625,
0.08251953125,
0.77978515625
],
[
0.08251953125,
0.78271484375,
0.46728515625,
0.78271484375,
0.46728515625,
0.79345703125,
0.08251953125,
0.79345703125
],
[
0.52392578125,
0.78271484375,
0.890625,
0.78271484375,
0.890625,
0.796875,
0.52392578125,
0.796875
],
[
0.08251953125,
0.79736328125,
0.46728515625,
0.79736328125,
0.46728515625,
0.80810546875,
0.08251953125,
0.80810546875
],
[
0.5048828125,
0.7998046875,
0.833984375,
0.7998046875,
0.833984375,
0.81005859375,
0.5048828125,
0.81005859375
],
[
0.08087158203125,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.08087158203125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.08087158203125,
0.84033203125
],
[
0.52294921875,
0.82470703125,
0.83251953125,
0.82470703125,
0.83251953125,
0.8388671875,
0.52294921875,
0.8388671875
],
[
0.08251953125,
0.84326171875,
0.33251953125,
0.84326171875,
0.33251953125,
0.85400390625,
0.08251953125,
0.85400390625
],
[
0.521484375,
0.84326171875,
0.890625,
0.84228515625,
0.890625,
0.85693359375,
0.521484375,
0.85791015625
],
[
0.101318359375,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.101318359375,
0.87060546875
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.50244140625,
0.87060546875,
0.8896484375,
0.8720703125,
0.8896484375,
0.88623046875,
0.50244140625,
0.88525390625
],
[
0.08251953125,
0.88720703125,
0.46728515625,
0.88720703125,
0.46728515625,
0.90087890625,
0.08251953125,
0.90087890625
],
[
0.5009765625,
0.8837890625,
0.8935546875,
0.88525390625,
0.8935546875,
0.90283203125,
0.5009765625,
0.9013671875
]
] |
[
"我们使用识别损失来区分不同的身份",
"式监督。我们使用教师模型为动态分配软标签,具",
"体取决于c和,的复合外观和结构。教师模型只是",
"Lia=E[-log(p(yiai))],",
"(3)",
"一个基线CNN训练,在原始训练集上有识别损失。为",
"了训练用于主要特征学习的判别模块,我们将判别模",
"其中p(yici)是ai根据其外观代码属于地面实况类yi",
"块预测的概率分布p(r)与教师预测的概率分布q(ac)",
"的预测概率",
"之间的KL差异最小化",
"交叉标识生成。与使用相同身份进行图像重建的自",
"我身份生成不同,交叉身份生成侧重于具有不同身份",
"K",
"p(kc)",
"Lprim = E[-",
"Zq(klcg) 1og(",
"的图像生成。在这种情况下,没有像素级的地面实况",
"",
"(8)",
"q(kr)",
"监督。相反,我们引入了基于外观和结构代码的潜在",
"k=1",
"代码重建来控制此类图像生成。如图2(c)所示,给定",
"其中K是身份数。与固定的独热标签31,62或静态平",
"两个不同标识yi≠yi的图像i和,生成的图像",
"滑标签[56]相比,这种动态软标签更适合我们的情况,",
"c,=G(ai,si)需要分别保留来自ai的外观代码ai和",
"因为每个合成图像都是由两个真实图像的视觉内容形",
"来自c;的结构代码s的信息。然后,我们应该能够",
"成的。在实验中,我们证明了一个简单的基线CNN作",
"在对生成的图像进行编码后重建两个潜在代码:",
"为教师模型是可靠的,可以提供动态标签并提高性能",
"细粒度特征挖掘。除了直接使用生成的数据来学立",
"Lceden =E[lai-Ea(G(ai,si))li],",
"",
"(4)",
"主要特征之外,通过我们的特定生成管道使之成为可",
"Lcode2 = E[lsi - Es(G(ai, s,)ll,].",
"(5)",
"能的一种有趣的替代方法是模拟同一个人的服装变化",
"如图E1的每一列所示。在以这种方式组织的图像上进",
"",
"与自我身份生成类似,我们还根据其外观代码对生成",
"行训练时,判别模块被迫学习与服装无关的细粒度ID",
"的图像实施标识丢失,以保持身份一致性:",
"相关属性(例如头发,帽子,书包,体型等)。我们将",
"个结构代码与不同外观代码结合生成的图像视为与",
"Lid =E[-log(p(yic,))]",
"(6)",
"提供结构代码的真实图像相同的类。为了训练用于细",
"粒度特征挖掘的判别模块,我们在此特定分类上强制",
"其中p(yir)是a,中r的预测外观属于。此外,我",
"执行标识丢失:",
"们采用对抗性损失来将生成的图像的分布与实际数据",
"分布相匹配:",
"Lfine = E[-log(p(y;|r;))]",
"(9)",
"Ladv=E[log D(i) + log(1 -D(G(ai, s;))].(7)",
"此丢失以多任务方式对判别模块施加了额外的身份监",
"督。此外:与以前使用手动标记的行人属性F26.36.44",
"讨论。通过使用提出的生成机制,我们使生成模",
"的作品不同,我们的方法通过利用合成图像执行自动",
"块能够学习具有明确和互补含义的外观和结构代码,",
"细粒度属性挖掘。此外,与13.33中应用的硬采样策",
"并基于潜在代码生成高质量的行人图像。这在很大",
"略相比,不需要显式搜索通常具有细粒度细节的硬训",
"程度上减轻了生成的复杂性。相比之下,以前的方",
"练样本,因为我们的判别模块通过这种细粒度特征挖",
"法[10,17,27,31,56必须从随机噪声或仅管理姿态因子",
"掘学会了对微妙身份属性的关注",
"来学习图像生成,这很难操纵输出并不可避免地引入",
"讨论。我们认为,我们的高质量合成图像本质上可",
"伪影。此外,由于使用了潜在代码,我们生成的图像中",
"以被视为“内点”(与“异常值”相反),因为我们生成",
"的变体可以在真实图像的现有内容中解释和约束,这",
"的图像可以维护和重组来自真实数据的视觉内容。通",
"也确保了生成的真实性。从理论上讲,我们可以通过",
"过上述两个特征学习任务,我们的判别模块根据我们",
"对各种图像对进行采样来生成O(N×N)不同的图像,",
"如何操作外观和结构代码的方式具体使用生成的数据。",
"从而产生比在17.31.56中离线生成的O(2×N)图像",
"我们没有像几乎所有以前的方法【17,31,56]那样使用",
"更大的在线生成训练样本池",
"单一的监督,而是通过主要特征学习和细粒度特征挖",
"掘从两个不同的角度处理生成的图像,前者关注结构",
"3.2. Discriminative Module",
"不变的服装信息,后者关注外观不变的结构线索",
"我们的判别模块通过共享外观编码器作为re-id学",
"3.3.Optimization.",
"习的主干而嵌人在生成模块中。根据通过切换外观或",
"结构代码生成的图像,我们提出了主要特征学习和细",
"我们共同训练外观和结构编码器,解码器和鉴别器",
"粒度特征挖掘,以更好地利用在线生成的图像。由于这",
"以优化总自标,该总自标是以下损失的加权和",
"两个任务集中在生成图像的不同方面,因此我们在外",
"观编码器的顶部分支出两个轻量级标头,用于两种类",
"Ltotal(Ea,Es,G,D)=AimgLreon +Lreden +",
"型的特征学习,如图F2(d)所示",
"Lid+AidLid+Ladv+AprimLprim+ArineLfine,(10)",
"主要特征学习。可以将生成的图像视为与现有工作",
"类似的训练样本[17,31,56]。但是,跨id组成的图像",
"其中Liecon=Lirmcon+Lregan是自标识生成中的图像",
"中的班级间差异促使我们采用具有动态软标签的师生",
"重建损失,Loden=Lcedei+Lcedea是XMATHX生成"
] |
{
"arxiv_id": "1904.07223",
"language": "zh",
"page_idx": 3
}
|
||
1812.09903-zh-0
|
1812.09903-zh-0.jpg
|
Adaptive Confidence Smoothing for Generalized Zero-Shot Learning
Gal Chechik
Yuval Atzmon
Bar-Ilan University, NVIDIA Research
Bar-Ilan University, NVIDIA Research
yuval.atzmon@biu.ac.il
gal.chechik@biu.ac.il
# $\operatorname{Abstract}$
<FigureHere>
Figure 1. A qualitative illustration of COSMO: An input image is processed by two experts: A seen -classes expert, and an unseen -classes expert, which is a zero-shot model. (1) When an image is from a seen class, the zero-shot expert may still produce an overly-confident false-positive prediction. COSMO smooths the predictions of the unseen expert if it believes that the image is from a seen class. The amount of smoothing is determined by a novel gating classifier. (2) Final GZSL predictions are based on a soft combination of the predictions of two experts, with weights provided by the gating module.
Generalized zero-shot learning (GZSL) is the problem of learning a classifier where some classes have samples and others are learned from side information, like semantic attributes or text description, in a zeroshot learning fashion (ZSL). Training a single model that operates in these two regimes simultaneously is challenging. Here we describe a probabilistic approach that breaks the model into three modular components, and then combines them in a consistent way. Specifically, our model consists of three classifiers: A“gating” model that makes soft decisions if a sample is from a “seen”class, and two experts: a ZSL expert, and an expert model for seen classes. We address two main difficulties in this approach: How to provide an accurate estimate of the gating probability without any training samples for unseen classes; and how to use expert predictions when it observes samples outside of its domain.
The key insight to our approach is to pass information between the three models to improve each one's accuracy, while maintaining the modular structure. We test our approach, adaptive confidence smoothing ( COSMO ), on four standard GZSL benchmark datasets and find that it largely outperforms state-ofthe-art GZSL models. COSMO is also the first model that closes the gap and surpasses the performance of generative models for GZSL, even-though it is a lightweight model that is much easier to train and tune. Notably, COSMO offers a new view for developing zeroshot models. Thanks to COSMO's modular structure, instead of trying to perform well both on seen and on unseen classes, models can focus on accurate classification of unseen classes, and later consider seen class ${\mathrm{models.}}$
督方式从标记的样本中进行训练,以及 unseen classes 以零拍学习的方式从外部知识(例如属性或自然语言)中学习。GZSL 提出了一个独特的组合,困难的挑战:首先,模型必须有效地学习类没有样本(零拍)。它还需要学习很多样本的类。最后,两种截然不同的制度应该以一致的方式结合在一个模型中。GZSL 可以被视为不平衡类分类的极端情况,因此解决最后一个挑战可以导致更好的方法来解决类不平衡,这是学习现实世界数据的关键问题
上述三个学习问题在不同的学习设置中运行,因此将它们组合成一个模型是具有挑战性的。在这里,我们提出了一个具有三个模块的体系结构,每个模块都关注一个问题。在推理时,这些模块以原则概率的方式共享其预测置信度,以达到准确的联合决策
这种模块化体系结构的一个自然实例是硬门控:给定一个测试样本,门将其分配给一个被视为标准监督分类器的见过面的专家,或者分配给一个未见过面的专家,该专家以零拍学习方式[41]。仅使用选定的专家进行预测,而忽略其他专家。这里我们研究
# 1. Introduction
广义零拍学习(GZSL)[9]是学习对来自两个不同类别的样本进行分类的问题:seen classes ,以标准的监
|
[
[
0.101318359375,
0.1383056640625,
0.87109375,
0.14013671875,
0.87109375,
0.1610107421875,
0.101318359375,
0.1590576171875
],
[
0.240234375,
0.186279296875,
0.361083984375,
0.186279296875,
0.361083984375,
0.2008056640625,
0.240234375,
0.2008056640625
],
[
0.619140625,
0.186279296875,
0.7236328125,
0.186279296875,
0.7236328125,
0.2008056640625,
0.619140625,
0.2008056640625
],
[
0.1356201171875,
0.20263671875,
0.464111328125,
0.2020263671875,
0.464111328125,
0.2197265625,
0.1356201171875,
0.2203369140625
],
[
0.50732421875,
0.203857421875,
0.83251953125,
0.203857421875,
0.83251953125,
0.2183837890625,
0.50732421875,
0.2183837890625
],
[
0.221435546875,
0.2235107421875,
0.378173828125,
0.2235107421875,
0.378173828125,
0.2374267578125,
0.221435546875,
0.2374267578125
],
[
0.6005859375,
0.2235107421875,
0.74267578125,
0.2215576171875,
0.74267578125,
0.236083984375,
0.6005859375,
0.238037109375
],
[
0.236083984375,
0.26953125,
0.313720703125,
0.271484375,
0.313720703125,
0.285888671875,
0.236083984375,
0.2841796875
],
[
0.771484375,
0.272705078125,
0.814453125,
0.272705078125,
0.814453125,
0.28271484375,
0.771484375,
0.28271484375
],
[
0.57666015625,
0.2841796875,
0.64892578125,
0.2841796875,
0.64892578125,
0.294189453125,
0.57666015625,
0.294189453125
],
[
0.6640625,
0.28857421875,
0.72607421875,
0.28857421875,
0.72607421875,
0.298583984375,
0.6640625,
0.298583984375
],
[
0.83251953125,
0.29345703125,
0.88232421875,
0.29345703125,
0.88232421875,
0.304931640625,
0.83251953125,
0.304931640625
],
[
0.7060546875,
0.3017578125,
0.7587890625,
0.3017578125,
0.7587890625,
0.3125,
0.7060546875,
0.3125
],
[
0.5849609375,
0.294189453125,
0.64208984375,
0.294189453125,
0.64208984375,
0.304931640625,
0.5849609375,
0.304931640625
],
[
0.1004638671875,
0.302978515625,
0.468017578125,
0.302978515625,
0.468017578125,
0.31640625,
0.1004638671875,
0.31640625
],
[
0.6005859375,
0.3037109375,
0.62841796875,
0.3037109375,
0.62841796875,
0.3125,
0.6005859375,
0.3125
],
[
0.8310546875,
0.3037109375,
0.88818359375,
0.3037109375,
0.88818359375,
0.314453125,
0.8310546875,
0.314453125
],
[
0.8544921875,
0.311279296875,
0.89892578125,
0.311279296875,
0.89892578125,
0.3212890625,
0.8544921875,
0.3212890625
],
[
0.51318359375,
0.31494140625,
0.5439453125,
0.31494140625,
0.5439453125,
0.322509765625,
0.51318359375,
0.322509765625
],
[
0.07843017578125,
0.31640625,
0.4697265625,
0.317626953125,
0.4697265625,
0.33203125,
0.07843017578125,
0.330810546875
],
[
0.50732421875,
0.306884765625,
0.53515625,
0.306884765625,
0.53515625,
0.311279296875,
0.50732421875,
0.311279296875
],
[
0.5185546875,
0.324462890625,
0.5439453125,
0.324462890625,
0.5439453125,
0.33203125,
0.5185546875,
0.33203125
],
[
0.6611328125,
0.32080078125,
0.7197265625,
0.32080078125,
0.7197265625,
0.330810546875,
0.6611328125,
0.330810546875
],
[
0.583984375,
0.330810546875,
0.64208984375,
0.330810546875,
0.64208984375,
0.33837890625,
0.583984375,
0.33837890625
],
[
0.83251953125,
0.33203125,
0.869140625,
0.33203125,
0.869140625,
0.34228515625,
0.83251953125,
0.34228515625
],
[
0.8388671875,
0.32763671875,
0.85302734375,
0.32763671875,
0.85302734375,
0.33203125,
0.8388671875,
0.33203125
],
[
0.59619140625,
0.33837890625,
0.63134765625,
0.33837890625,
0.63134765625,
0.349853515625,
0.59619140625,
0.349853515625
],
[
0.7060546875,
0.34033203125,
0.7587890625,
0.34033203125,
0.7587890625,
0.35107421875,
0.7060546875,
0.35107421875
],
[
0.08087158203125,
0.333251953125,
0.468017578125,
0.333251953125,
0.468017578125,
0.3466796875,
0.08087158203125,
0.3466796875
],
[
0.080078125,
0.347900390625,
0.46728515625,
0.347900390625,
0.46728515625,
0.361083984375,
0.080078125,
0.361083984375
],
[
0.73193359375,
0.35595703125,
0.76953125,
0.35595703125,
0.76953125,
0.367431640625,
0.73193359375,
0.367431640625
],
[
0.080078125,
0.363037109375,
0.468017578125,
0.363037109375,
0.468017578125,
0.376953125,
0.080078125,
0.376953125
],
[
0.833984375,
0.35791015625,
0.86767578125,
0.35791015625,
0.86767578125,
0.367431640625,
0.833984375,
0.367431640625
],
[
0.68115234375,
0.367431640625,
0.7255859375,
0.369384765625,
0.7236328125,
0.380615234375,
0.6806640625,
0.37890625
],
[
0.080078125,
0.37744140625,
0.468017578125,
0.37744140625,
0.468017578125,
0.391357421875,
0.080078125,
0.391357421875
],
[
0.67626953125,
0.380126953125,
0.7294921875,
0.380126953125,
0.7294921875,
0.386962890625,
0.67626953125,
0.386962890625
],
[
0.685546875,
0.386474609375,
0.7236328125,
0.38818359375,
0.72216796875,
0.399658203125,
0.6845703125,
0.397705078125
],
[
0.07843017578125,
0.392578125,
0.468017578125,
0.393310546875,
0.468017578125,
0.40771484375,
0.07843017578125,
0.4072265625
],
[
0.68310546875,
0.396484375,
0.72607421875,
0.396484375,
0.72607421875,
0.4072265625,
0.68310546875,
0.4072265625
],
[
0.74267578125,
0.39453125,
0.75732421875,
0.397705078125,
0.75341796875,
0.40478515625,
0.73876953125,
0.401611328125
],
[
0.73779296875,
0.401611328125,
0.78515625,
0.401611328125,
0.78515625,
0.412353515625,
0.73779296875,
0.412353515625
],
[
0.080078125,
0.4091796875,
0.468017578125,
0.4091796875,
0.468017578125,
0.42236328125,
0.080078125,
0.42236328125
],
[
0.08087158203125,
0.425537109375,
0.46728515625,
0.425537109375,
0.46728515625,
0.436279296875,
0.08087158203125,
0.436279296875
],
[
0.50244140625,
0.423583984375,
0.89208984375,
0.423583984375,
0.89208984375,
0.4375,
0.50244140625,
0.4375
],
[
0.080078125,
0.439453125,
0.468017578125,
0.439453125,
0.468017578125,
0.45263671875,
0.080078125,
0.45263671875
],
[
0.50244140625,
0.438232421875,
0.890625,
0.438232421875,
0.890625,
0.451904296875,
0.50244140625,
0.451904296875
],
[
0.07843017578125,
0.45263671875,
0.4697265625,
0.453857421875,
0.4697265625,
0.468505859375,
0.07843017578125,
0.46728515625
],
[
0.50244140625,
0.451904296875,
0.890625,
0.451904296875,
0.890625,
0.46533203125,
0.50244140625,
0.46533203125
],
[
0.08087158203125,
0.468505859375,
0.4697265625,
0.468505859375,
0.4697265625,
0.481689453125,
0.08087158203125,
0.481689453125
],
[
0.50341796875,
0.466552734375,
0.89208984375,
0.466552734375,
0.89208984375,
0.479736328125,
0.50341796875,
0.479736328125
],
[
0.080078125,
0.484130859375,
0.468017578125,
0.484130859375,
0.468017578125,
0.49755859375,
0.080078125,
0.49755859375
],
[
0.50244140625,
0.479736328125,
0.890625,
0.479736328125,
0.890625,
0.49365234375,
0.50244140625,
0.49365234375
],
[
0.07843017578125,
0.49755859375,
0.468017578125,
0.498779296875,
0.468017578125,
0.51318359375,
0.07843017578125,
0.51220703125
],
[
0.50244140625,
0.49365234375,
0.89208984375,
0.49365234375,
0.89208984375,
0.5068359375,
0.50244140625,
0.5068359375
],
[
0.50244140625,
0.5068359375,
0.890625,
0.50830078125,
0.890625,
0.51953125,
0.50244140625,
0.51806640625
],
[
0.080078125,
0.5146484375,
0.468017578125,
0.5146484375,
0.468017578125,
0.52880859375,
0.080078125,
0.52880859375
],
[
0.50341796875,
0.521484375,
0.890625,
0.521484375,
0.890625,
0.53515625,
0.50341796875,
0.53515625
],
[
0.080078125,
0.52978515625,
0.468017578125,
0.52978515625,
0.468017578125,
0.54345703125,
0.080078125,
0.54345703125
],
[
0.50244140625,
0.53515625,
0.89208984375,
0.53515625,
0.89208984375,
0.548828125,
0.50244140625,
0.548828125
],
[
0.07843017578125,
0.54443359375,
0.468017578125,
0.54345703125,
0.468017578125,
0.55810546875,
0.07843017578125,
0.5595703125
],
[
0.50244140625,
0.548828125,
0.89208984375,
0.548828125,
0.89208984375,
0.5625,
0.50244140625,
0.5625
],
[
0.080078125,
0.56103515625,
0.1380615234375,
0.56103515625,
0.1380615234375,
0.57275390625,
0.080078125,
0.57275390625
],
[
0.50244140625,
0.56298828125,
0.6298828125,
0.56298828125,
0.6298828125,
0.5771484375,
0.50244140625,
0.5771484375
],
[
0.098876953125,
0.57470703125,
0.468017578125,
0.57470703125,
0.468017578125,
0.5888671875,
0.098876953125,
0.5888671875
],
[
0.080078125,
0.5888671875,
0.4697265625,
0.5888671875,
0.4697265625,
0.60302734375,
0.080078125,
0.60302734375
],
[
0.080078125,
0.60498046875,
0.468017578125,
0.60498046875,
0.468017578125,
0.619140625,
0.080078125,
0.619140625
],
[
0.5048828125,
0.60791015625,
0.89208984375,
0.60791015625,
0.89208984375,
0.62255859375,
0.5048828125,
0.62255859375
],
[
0.08087158203125,
0.62060546875,
0.468017578125,
0.62060546875,
0.468017578125,
0.6337890625,
0.08087158203125,
0.6337890625
],
[
0.5185546875,
0.62353515625,
0.890625,
0.62353515625,
0.890625,
0.63720703125,
0.5185546875,
0.63720703125
],
[
0.080078125,
0.63525390625,
0.4697265625,
0.63525390625,
0.4697265625,
0.6484375,
0.080078125,
0.6484375
],
[
0.5048828125,
0.63818359375,
0.89208984375,
0.63818359375,
0.89208984375,
0.6513671875,
0.5048828125,
0.6513671875
],
[
0.080078125,
0.65087890625,
0.468017578125,
0.65087890625,
0.468017578125,
0.6640625,
0.080078125,
0.6640625
],
[
0.50341796875,
0.65380859375,
0.890625,
0.65380859375,
0.890625,
0.66748046875,
0.50341796875,
0.66748046875
],
[
0.080078125,
0.66552734375,
0.4697265625,
0.66552734375,
0.4697265625,
0.6787109375,
0.080078125,
0.6787109375
],
[
0.50341796875,
0.66845703125,
0.890625,
0.66845703125,
0.890625,
0.681640625,
0.50341796875,
0.681640625
],
[
0.080078125,
0.68115234375,
0.471435546875,
0.68115234375,
0.471435546875,
0.6943359375,
0.080078125,
0.6943359375
],
[
0.50341796875,
0.6845703125,
0.890625,
0.6845703125,
0.890625,
0.69775390625,
0.50341796875,
0.69775390625
],
[
0.07843017578125,
0.69580078125,
0.46728515625,
0.6943359375,
0.46728515625,
0.708984375,
0.07843017578125,
0.71044921875
],
[
0.50341796875,
0.69970703125,
0.890625,
0.69970703125,
0.890625,
0.71337890625,
0.50341796875,
0.71337890625
],
[
0.080078125,
0.71044921875,
0.46728515625,
0.71044921875,
0.46728515625,
0.7236328125,
0.080078125,
0.7236328125
],
[
0.5048828125,
0.7138671875,
0.890625,
0.7138671875,
0.890625,
0.72802734375,
0.5048828125,
0.72802734375
],
[
0.080078125,
0.72607421875,
0.46728515625,
0.72607421875,
0.46728515625,
0.7392578125,
0.080078125,
0.7392578125
],
[
0.50341796875,
0.72998046875,
0.65283203125,
0.72998046875,
0.65283203125,
0.744140625,
0.50341796875,
0.744140625
],
[
0.080078125,
0.74072265625,
0.46728515625,
0.74072265625,
0.46728515625,
0.75390625,
0.080078125,
0.75390625
],
[
0.525390625,
0.7470703125,
0.89208984375,
0.74755859375,
0.89208984375,
0.76220703125,
0.525390625,
0.76123046875
],
[
0.080078125,
0.755859375,
0.468017578125,
0.755859375,
0.468017578125,
0.77099609375,
0.080078125,
0.77099609375
],
[
0.5048828125,
0.76318359375,
0.890625,
0.76318359375,
0.890625,
0.7763671875,
0.5048828125,
0.7763671875
],
[
0.080078125,
0.771484375,
0.46728515625,
0.771484375,
0.46728515625,
0.78515625,
0.080078125,
0.78515625
],
[
0.50341796875,
0.77783203125,
0.8896484375,
0.77783203125,
0.8896484375,
0.79248046875,
0.50341796875,
0.79248046875
],
[
0.080078125,
0.7861328125,
0.4697265625,
0.7861328125,
0.4697265625,
0.7998046875,
0.080078125,
0.7998046875
],
[
0.50244140625,
0.79248046875,
0.890625,
0.79248046875,
0.890625,
0.80615234375,
0.50244140625,
0.80615234375
],
[
0.07843017578125,
0.80029296875,
0.1380615234375,
0.80029296875,
0.1380615234375,
0.81494140625,
0.07843017578125,
0.81494140625
],
[
0.5048828125,
0.80810546875,
0.79736328125,
0.80810546875,
0.79736328125,
0.8212890625,
0.5048828125,
0.8212890625
],
[
0.521484375,
0.82568359375,
0.890625,
0.82568359375,
0.890625,
0.8388671875,
0.521484375,
0.8388671875
],
[
0.08087158203125,
0.8466796875,
0.21728515625,
0.8466796875,
0.21728515625,
0.85986328125,
0.08087158203125,
0.85986328125
],
[
0.50341796875,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.50341796875,
0.85498046875
],
[
0.50341796875,
0.85498046875,
0.890625,
0.85595703125,
0.890625,
0.87060546875,
0.50341796875,
0.869140625
],
[
0.101318359375,
0.87060546875,
0.468017578125,
0.87060546875,
0.468017578125,
0.88525390625,
0.101318359375,
0.88525390625
],
[
0.5048828125,
0.8720703125,
0.89208984375,
0.8720703125,
0.89208984375,
0.88525390625,
0.5048828125,
0.88525390625
],
[
0.08251953125,
0.88720703125,
0.46728515625,
0.88720703125,
0.46728515625,
0.90087890625,
0.08251953125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.89208984375,
0.88720703125,
0.89208984375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"Adaptive Confidence Smoothing for Generalized Zero-Shot Learning",
"Yuval Atzmon",
"Gal Chechik",
"Bar-Ilan University, NVIDIA Research",
"Bar-Ilan University, NVIDIA Research",
"yuval.atzmon@biu.ac.il",
"gal.chechik@biu.ac.il",
"Abstract",
"Smpothed",
"Unseen classes",
"Falre Winher",
"Combine",
"Smooth",
"(Zero-Shot)",
"Generalized zero-shot learning (GZSL) is the prob-",
"expert",
"ply)= p(S)p(vis)",
"+ p(U)ply/u)",
"aseer",
"lem of learning a classifier where some classes have",
"mane",
"class",
"True Winne",
"Seenclasses",
"U-Unseen",
"sSo",
"expert",
"Smooth",
"samples and others are learned from side information,",
"like semantic attributes or text description, in a zero-",
"p(s). p(u)",
"shot learning fashion (ZSL). Training a single model",
"p(s), p(u",
"Gating:",
"that operates in these two regimes simultaneously is",
"Seen/Unsee",
"Domain",
"challenging. Here we describe a probabilistic approach",
"Classifier",
"DIS)",
"p(U) = 1 - p(5)",
"that breaks the model into three modular components,",
"and then combines them in a consistent way. Specifi-",
"Figure 1. A qualitative illustration of COSMO : An input",
"cally, our model consists of three classifiers: A “gating\"",
"image is processed by two experts: A seen -classes expert,",
"model that makes soft decisions if a sample is from a",
"and an unseen -classes expert, which is a zero-shot model.",
"\"seen\" class, and two experts: a zsL expert, and an",
"(1) When an image is from a seen class, the zero-shot expert",
"expert model for seen classes. We address two main",
"may still produce an overly-confident false-positive predic-",
"difficulties in this approach: How to provide an ac-",
"tion. COSMO smooths the predictions of the unseen expert",
"if it believes that the image isfrom a seen class.The amount",
"curate estimate of the gating probability without any",
"of smoothing is determined by a novel gating classifier. (2)",
"training samples for unseen classes; and how to use ex-",
"Final GzSL predictions are based on a soft combination of",
"pert predictions when it observes samples outside of its",
"the predictions of two experts, with weights provided by",
"domain.",
"the gating module.",
"The key insight to our approach is to pass informa-",
"tion between the three models to improve each one's",
"accuracy, while maintaining the modular structure.",
"督方式从标记的样本中进行训练,以及unseen classes",
"We test our approach, adaptive confidence smooth-",
"以零拍学习的方式从外部知识(例如属性或自然语",
"ing ( COSMO), on four standard GZSL benchmark",
"言)中学习。GZSL提出了二个独特的组合,困难的挑",
"datasets and find that it largely outperforms state-of-",
"战:首先,模型必须有效地学习类没有样本(零拍)。它",
"the-art GZSL models. COSMO is also the first model",
"还需要学习很多样本的类。最后,两种截然不同的制度",
"that closes the gap and surpasses the performance of",
"应该以一致的方式结合在一个模型中。GZSL可以被视",
"generative models for GZSL, even-though it is a light-",
"为不平衡类分类的极端情况,因此解决最后一个挑战",
"weight model that is much easier to train and tune. No-",
"可以导致更好的方法来解决类不平衡,这是学习现实",
"tably, COSMO offers a new view for developing zero-",
"世界数据的关键问题",
"shot models. Thanks to COSMO's modular structure,",
"上述三个学习问题在不同的学习设置中运行,因此",
"instead of trying to perform well both on seen and on",
"将它们组合成一个模型是具有挑战性的。在这里,我们",
"unseen classes, models can focus on accurate classifi-",
"提出了一个具有三个模块的体系结构,每个模块都关",
"cation of unseen classes, and later consider seen class",
"注一个问题。在推理时,这些模块以原则概率的方式共",
"models.",
"享其预测置信度,以达到准确的联合决策",
"这种模块化体系结构的一个自然实例是硬门控:给",
"1:Introduction",
"定一个测试样本,门将其分配给一个被视为标准监",
"督分类器的见过面的专家,或者分配给一个未见过",
"广义零拍学习(GZSL)[9]是学习对来自两个不同类",
"面的专家,该专家以零拍学习方式[41]。仅使用选",
"别的样本进行分类的问题:seen classes,以标准的监",
"定的专家进行预测,而忽略其他专家。这里我们研究"
] |
{
"arxiv_id": "1812.09903",
"language": "zh",
"page_idx": 0
}
|
||
1812.09903-zh-1
|
1812.09903-zh-1.jpg
|
一个更一般的案例,在这个案例中,看得见的专家和看不见的专家都对每个测试样本进行处理,他们的预测以一种软的方式结合在一起。具体来说,软闸门使用总概率定律将预测结果组合在一起:$p(class)=$ $p(class|seen)p(seen)+p(class|unseen)p(unseen)$
不幸的是,轻柔地结合专家决策会带来一些困难。首先,在训练门控模块时,很难提供样本来自“看不见” 类的概率的准确估计,因为根据定义,没有从这些类中观察到样本。其次,当专家们看到分布外的样本时, 他们的行为往往不受控制,在往会产生自信但错误的预测。结果,当使用两个专家模型的软组合时,“无关” 专家可能会压倒正确专家的决定
我们通过两种方式解决这些问题。首先,我们展示了如何训练二进制 gating 机制,以根据 softmax 类预测的分布对 Seen/Unseen 域进行分类。这个想法是使用训练类的一个子集来模拟对看不见的类的样本的 softmax 响应,并以与类无关的方式表示专家预测。其次,我们以使用来自门控分类器的信息的方式在 softmax 输出上引人类似拉普拉斯的先验[30] 。此附加信息使专家能够更准确地估计班级信心
这种称为自适应 COnfidenceSMOoshing (COSMO )的组合方法具有显着的优势。它可以将任何最先进的零拍学习器作为一个模块,只要它输出类概率;它很容易实现和应用 (提供代码),因为它有很少的超参数来调整;最后,它优于所有四个 GZSL 基准( AWA, SUN, CUB, FLOWER) 的竞争方法。我们的主要贡献是: $\bullet$ A new soft approach to combine decisions of seen
and unseen classes for GZSL.
$\bullet$ A new“out-of-distribution”(OOD) classifier to sep-
arate seen from unseen classes, and a negative result, showing that modern OOD classifiers have limited effectiveness on ZSL benchmarks.
$\bullet$ New state-of-the-art results for GZSL for all
four main benchmarks, AWA, SUN, CUB and FLOWER. COSMO is the first model that is comparable to or better than generative models of GZSL, while being easy to train.
$\bullet$ A characterization of GZSL approaches on the seen-
unseen accuracy plane.
# 2. Related work
从广泛的角度来看,零拍学习是组成推理[23,24,6, 4]的任务,其中通过重新组合原始元素[24]来构造新概念。这种能力类似于人类的学习,人类可以轻松地重新组合简单的技能来解决新任务[23]。ZSL 近年来引起了极大的兴趣$\left[49,14,25,37,19,3,55,50,27,42\right].$ 作为我们的主要 ZSL 模块,我们使用 LAGO [7] ,这是一种最先进的方法,它学习使用 AND-OR 组结构组合描述类的属性来估计$p(class|image)$
广义 ZSL 将 ZSL 扩展到更现实的场景,其中测试数据包含可见和不可见的类。有两种 GZSL 方法。首先, 一些方法使用生成模型(如 GAN 的 VAE) 合成看不见
的类的特征向量,然后将其用于训练[48,11,5,31,57] 。其次,在训练和推理[43,55,15,54,29,41,9]期间直接使用语义类描述的方法。迄今为止,第一种增强数据的方法表现更好
在以前的 GZSL 方法中,有几种与 COSMO 密切相关!。[41] 使用硬门控机制将样本分配给两个领域专家之一。[52] 使用软选通机制,并使用生成模型[48]生成的看不见类的合成样本对其进行训练。[9] 通过从看到的类分数中减去恒定值,在看到的类分数和看不见的类分数之间进行校准。[29] 使用温度缩放 [17] 和熵正则化来使看到的类分数不那么自信,而看不见的分数更自信
检测非分布样本:我们的软门控方法建立在开发非分布检测器的基础上,其中看不见的图像被视为“非分布”样本。在 1 类和异常检测方面有大量的工作,我们在这里不进行调查。在这种情况下,最相关的最新工作包括[16,28,44,39]。如果最大 softmax 分数低于阈值,则[16]会检测到 OOD 样本[28]会缩放 softmax “温度”[17],并以较小的梯度步长干扰输入。[39] 通过多个词嵌人表示每个类,并将输出规范与阈值进行比较。[44] 在一组“遗漏”类上训练模型的集合,其边缘损失会鼓励遗漏样本的高熵得分
在本文研究的 ZSL 基准 (CUB, SUN, AWA) 上测试$\left[28,44\right]$时,我们发现$\left[28\right]$的扰动方法会伤害 OOD 检测,并且[44]的损失会在遗漏类上过拟合。我们在补充(I)中讨论了这些影响的可能解释
混合专家(MoE):在 MoE[18,51,40]中,给定一个样本,门控网络首先将权重分配给多个专家。然后由这些专家对样本进行分类,并通过门控权值组合他们的预测。模型的所有部分通常都是联合训练的,通常使用 EM 方法。我们的方法与 MoE 的根本不同之处在于,在训练时,每个样本都知道它是否已经被看到。因此,可以单独培训专家,而无需推断潜在变量,从而确保每个模块都是其自己领域的专家(可见或不可见)
认知心理学:我们的方法受到认知心理学[10,20]中的双路径模型的启发,其中信息的处理由两个认知系统执行:一个是快速直观的,用于处理众所周知的信息,类似于我们的“看到”专家。第二个是较慢的,基于推理,类似于我们的“看不见的”专家3. Generalized zero-Shot learning
我们从零拍学习 (ZSL) 的正式定义开始,然后将其
扩展为广义 ZSL
在零拍学习中,训练集$\mathcal{D}$具有$N$标记的样本:$\mathcal{D}=$ $\{ ( \boldsymbol{x}_i, y_i) , i= 1\ldots N\}$ ,其中每个$x_i$是特征向量$,y_i\in\mathcal{S}$ 是来自可见类$\mathcal{S}=\{1,2,\ldots|\mathcal{S}|\}$的标签
在测试时,从一组看不见的类$\mathcal{U}=\{|\mathcal{S}|+1,\ldots|\mathcal{S}|+$ $|\mathcal{U}|\}$中给出了一组新的样本$\mathcal{D}^\prime=\{\boldsymbol{x}_i,i=N+1\ldots N+$ $M\}$。我们的目标是预测每个样本的正确类别。作为监督信号,每个类$y\in\mathcal{S}\cup\mathcal{U}$都带有语义属性 [25] 或自然语言嵌入[36,57,41] 形式的类描述向量$a_y$ 。ZSL 的关键是学习样本和类描述$F(a_y,x)$的兼容性分数,并预测最大化该分数的类$y$ 。在 ZSL [25,26,46,41,7,29]
|
[
[
0.0906982421875,
0.0947265625,
0.46728515625,
0.0947265625,
0.46728515625,
0.10479736328125,
0.0906982421875,
0.10479736328125
],
[
0.50244140625,
0.09344482421875,
0.88818359375,
0.09344482421875,
0.88818359375,
0.106689453125,
0.50244140625,
0.106689453125
],
[
0.08251953125,
0.10797119140625,
0.468017578125,
0.10797119140625,
0.468017578125,
0.121826171875,
0.08251953125,
0.121826171875
],
[
0.5048828125,
0.10797119140625,
0.8896484375,
0.10797119140625,
0.8896484375,
0.121826171875,
0.5048828125,
0.121826171875
],
[
0.08087158203125,
0.12371826171875,
0.468017578125,
0.12371826171875,
0.468017578125,
0.136962890625,
0.08087158203125,
0.136962890625
],
[
0.5048828125,
0.12371826171875,
0.890625,
0.12371826171875,
0.890625,
0.136962890625,
0.5048828125,
0.136962890625
],
[
0.08087158203125,
0.1395263671875,
0.4697265625,
0.1395263671875,
0.4697265625,
0.15283203125,
0.08087158203125,
0.15283203125
],
[
0.50341796875,
0.1383056640625,
0.63623046875,
0.1383056640625,
0.63623046875,
0.1514892578125,
0.50341796875,
0.1514892578125
],
[
0.08087158203125,
0.154052734375,
0.4345703125,
0.154052734375,
0.4345703125,
0.1673583984375,
0.08087158203125,
0.1673583984375
],
[
0.52392578125,
0.154052734375,
0.890625,
0.154052734375,
0.890625,
0.1673583984375,
0.52392578125,
0.1673583984375
],
[
0.101318359375,
0.1685791015625,
0.468017578125,
0.1685791015625,
0.468017578125,
0.1817626953125,
0.101318359375,
0.1817626953125
],
[
0.50634765625,
0.17041015625,
0.8896484375,
0.17041015625,
0.8896484375,
0.18115234375,
0.50634765625,
0.18115234375
],
[
0.08251953125,
0.184326171875,
0.46728515625,
0.184326171875,
0.46728515625,
0.1976318359375,
0.08251953125,
0.1976318359375
],
[
0.50341796875,
0.18310546875,
0.890625,
0.18310546875,
0.890625,
0.1962890625,
0.50341796875,
0.1962890625
],
[
0.08087158203125,
0.1976318359375,
0.468017578125,
0.1976318359375,
0.468017578125,
0.212158203125,
0.08087158203125,
0.212158203125
],
[
0.50341796875,
0.1988525390625,
0.8896484375,
0.1988525390625,
0.8896484375,
0.212158203125,
0.50341796875,
0.212158203125
],
[
0.08251953125,
0.21337890625,
0.468017578125,
0.21337890625,
0.468017578125,
0.2266845703125,
0.08251953125,
0.2266845703125
],
[
0.50341796875,
0.21337890625,
0.890625,
0.21337890625,
0.890625,
0.2266845703125,
0.50341796875,
0.2266845703125
],
[
0.08251953125,
0.2291259765625,
0.468017578125,
0.2291259765625,
0.468017578125,
0.242431640625,
0.08251953125,
0.242431640625
],
[
0.50244140625,
0.2291259765625,
0.88818359375,
0.2291259765625,
0.88818359375,
0.242431640625,
0.50244140625,
0.242431640625
],
[
0.08251953125,
0.24365234375,
0.468017578125,
0.24365234375,
0.468017578125,
0.2568359375,
0.08251953125,
0.2568359375
],
[
0.5048828125,
0.24365234375,
0.89208984375,
0.24365234375,
0.89208984375,
0.2568359375,
0.5048828125,
0.2568359375
],
[
0.08416748046875,
0.2587890625,
0.3095703125,
0.2587890625,
0.3095703125,
0.272705078125,
0.08416748046875,
0.272705078125
],
[
0.5048828125,
0.260009765625,
0.55224609375,
0.260009765625,
0.55224609375,
0.271484375,
0.5048828125,
0.271484375
],
[
0.101318359375,
0.27587890625,
0.465576171875,
0.27587890625,
0.465576171875,
0.285888671875,
0.101318359375,
0.285888671875
],
[
0.52294921875,
0.2734375,
0.890625,
0.2734375,
0.890625,
0.287353515625,
0.52294921875,
0.287353515625
],
[
0.08251953125,
0.2890625,
0.46728515625,
0.2890625,
0.46728515625,
0.302978515625,
0.08251953125,
0.302978515625
],
[
0.5048828125,
0.2890625,
0.890625,
0.2890625,
0.890625,
0.302978515625,
0.5048828125,
0.302978515625
],
[
0.08087158203125,
0.3037109375,
0.468017578125,
0.3037109375,
0.468017578125,
0.317626953125,
0.08087158203125,
0.317626953125
],
[
0.50341796875,
0.3037109375,
0.890625,
0.3037109375,
0.890625,
0.317626953125,
0.50341796875,
0.317626953125
],
[
0.080078125,
0.318115234375,
0.468017578125,
0.3193359375,
0.468017578125,
0.333251953125,
0.080078125,
0.33203125
],
[
0.5048828125,
0.3193359375,
0.890625,
0.3193359375,
0.890625,
0.333251953125,
0.5048828125,
0.333251953125
],
[
0.08087158203125,
0.335205078125,
0.468017578125,
0.335205078125,
0.468017578125,
0.348388671875,
0.08087158203125,
0.348388671875
],
[
0.5048828125,
0.335205078125,
0.890625,
0.335205078125,
0.890625,
0.348388671875,
0.5048828125,
0.348388671875
],
[
0.08251953125,
0.349853515625,
0.468017578125,
0.349853515625,
0.468017578125,
0.363037109375,
0.08251953125,
0.363037109375
],
[
0.50341796875,
0.349853515625,
0.890625,
0.349853515625,
0.890625,
0.363037109375,
0.50341796875,
0.363037109375
],
[
0.0849609375,
0.3662109375,
0.468017578125,
0.3662109375,
0.468017578125,
0.376953125,
0.0849609375,
0.376953125
],
[
0.50341796875,
0.3642578125,
0.890625,
0.3642578125,
0.890625,
0.37744140625,
0.50341796875,
0.37744140625
],
[
0.080078125,
0.37890625,
0.27685546875,
0.380126953125,
0.27685546875,
0.39453125,
0.080078125,
0.393310546875
],
[
0.5048828125,
0.37890625,
0.890625,
0.37890625,
0.890625,
0.392578125,
0.5048828125,
0.392578125
],
[
0.1004638671875,
0.39453125,
0.468017578125,
0.39453125,
0.468017578125,
0.4091796875,
0.1004638671875,
0.4091796875
],
[
0.5048828125,
0.39453125,
0.890625,
0.39453125,
0.890625,
0.40771484375,
0.5048828125,
0.40771484375
],
[
0.08087158203125,
0.410400390625,
0.468017578125,
0.410400390625,
0.468017578125,
0.423583984375,
0.08087158203125,
0.423583984375
],
[
0.50341796875,
0.410400390625,
0.73046875,
0.410400390625,
0.73046875,
0.423583984375,
0.50341796875,
0.423583984375
],
[
0.08416748046875,
0.4267578125,
0.46728515625,
0.4267578125,
0.46728515625,
0.4375,
0.08416748046875,
0.4375
],
[
0.521484375,
0.423583984375,
0.8896484375,
0.425537109375,
0.8896484375,
0.439453125,
0.521484375,
0.4375
],
[
0.08251953125,
0.43994140625,
0.468017578125,
0.43994140625,
0.468017578125,
0.453857421875,
0.08251953125,
0.453857421875
],
[
0.50341796875,
0.43994140625,
0.890625,
0.43994140625,
0.890625,
0.453857421875,
0.50341796875,
0.453857421875
],
[
0.08087158203125,
0.455078125,
0.4697265625,
0.453857421875,
0.4697265625,
0.468505859375,
0.08087158203125,
0.4697265625
],
[
0.50341796875,
0.455078125,
0.89208984375,
0.455078125,
0.89208984375,
0.468505859375,
0.50341796875,
0.468505859375
],
[
0.080078125,
0.4697265625,
0.45751953125,
0.47021484375,
0.45751953125,
0.484130859375,
0.080078125,
0.48291015625
],
[
0.50341796875,
0.47021484375,
0.79345703125,
0.47021484375,
0.79345703125,
0.484130859375,
0.50341796875,
0.484130859375
],
[
0.08251953125,
0.4892578125,
0.46728515625,
0.4892578125,
0.46728515625,
0.50244140625,
0.08251953125,
0.50244140625
],
[
0.52392578125,
0.4873046875,
0.8759765625,
0.4873046875,
0.8759765625,
0.49755859375,
0.52392578125,
0.49755859375
],
[
0.87158203125,
0.4892578125,
0.88818359375,
0.4892578125,
0.88818359375,
0.496826171875,
0.87158203125,
0.496826171875
],
[
0.09722900390625,
0.50390625,
0.310546875,
0.50390625,
0.310546875,
0.517578125,
0.09722900390625,
0.517578125
],
[
0.50341796875,
0.5,
0.8896484375,
0.50048828125,
0.8896484375,
0.51513671875,
0.50341796875,
0.5146484375
],
[
0.08087158203125,
0.51953125,
0.46728515625,
0.52099609375,
0.46728515625,
0.53515625,
0.08087158203125,
0.5341796875
],
[
0.5048828125,
0.5166015625,
0.8896484375,
0.5166015625,
0.8896484375,
0.52978515625,
0.5048828125,
0.52978515625
],
[
0.101318359375,
0.53515625,
0.46728515625,
0.53515625,
0.46728515625,
0.548828125,
0.101318359375,
0.548828125
],
[
0.50341796875,
0.53076171875,
0.890625,
0.53076171875,
0.890625,
0.54443359375,
0.50341796875,
0.54443359375
],
[
0.10296630859375,
0.5498046875,
0.46728515625,
0.548828125,
0.46728515625,
0.5625,
0.10296630859375,
0.56298828125
],
[
0.50341796875,
0.546875,
0.890625,
0.546875,
0.890625,
0.56005859375,
0.50341796875,
0.56005859375
],
[
0.1004638671875,
0.56494140625,
0.336669921875,
0.56494140625,
0.336669921875,
0.57568359375,
0.1004638671875,
0.57568359375
],
[
0.50732421875,
0.5625,
0.88818359375,
0.5625,
0.88818359375,
0.57275390625,
0.50732421875,
0.57275390625
],
[
0.08251953125,
0.580078125,
0.468017578125,
0.580078125,
0.468017578125,
0.59326171875,
0.08251953125,
0.59326171875
],
[
0.50634765625,
0.57763671875,
0.88818359375,
0.57763671875,
0.88818359375,
0.58837890625,
0.50634765625,
0.58837890625
],
[
0.1004638671875,
0.59521484375,
0.468017578125,
0.59521484375,
0.468017578125,
0.609375,
0.1004638671875,
0.609375
],
[
0.50341796875,
0.59130859375,
0.86767578125,
0.59130859375,
0.86767578125,
0.60498046875,
0.50341796875,
0.60498046875
],
[
0.1004638671875,
0.609375,
0.465576171875,
0.611328125,
0.465576171875,
0.625,
0.1004638671875,
0.62255859375
],
[
0.52392578125,
0.60595703125,
0.8896484375,
0.60595703125,
0.8896484375,
0.619140625,
0.52392578125,
0.619140625
],
[
0.101318359375,
0.62548828125,
0.468017578125,
0.62548828125,
0.468017578125,
0.6396484375,
0.101318359375,
0.6396484375
],
[
0.50341796875,
0.6220703125,
0.8896484375,
0.6220703125,
0.8896484375,
0.63525390625,
0.50341796875,
0.63525390625
],
[
0.101318359375,
0.6416015625,
0.283447265625,
0.6416015625,
0.283447265625,
0.65478515625,
0.101318359375,
0.65478515625
],
[
0.5048828125,
0.63623046875,
0.890625,
0.63623046875,
0.890625,
0.6494140625,
0.5048828125,
0.6494140625
],
[
0.08416748046875,
0.65576171875,
0.465576171875,
0.65576171875,
0.465576171875,
0.67041015625,
0.08416748046875,
0.67041015625
],
[
0.5048828125,
0.6513671875,
0.890625,
0.6513671875,
0.890625,
0.66552734375,
0.5048828125,
0.66552734375
],
[
0.1004638671875,
0.67236328125,
0.265625,
0.67236328125,
0.265625,
0.68603515625,
0.1004638671875,
0.68603515625
],
[
0.5048828125,
0.66748046875,
0.79833984375,
0.66748046875,
0.79833984375,
0.68115234375,
0.5048828125,
0.68115234375
],
[
0.50244140625,
0.69580078125,
0.7900390625,
0.6962890625,
0.7900390625,
0.7109375,
0.50244140625,
0.71044921875
],
[
0.080078125,
0.7109375,
0.223876953125,
0.7109375,
0.223876953125,
0.724609375,
0.080078125,
0.724609375
],
[
0.52294921875,
0.7197265625,
0.890625,
0.72021484375,
0.890625,
0.73486328125,
0.52294921875,
0.734375
],
[
0.10296630859375,
0.73779296875,
0.465576171875,
0.73779296875,
0.465576171875,
0.74853515625,
0.10296630859375,
0.74853515625
],
[
0.50244140625,
0.736328125,
0.62109375,
0.736328125,
0.62109375,
0.75,
0.50244140625,
0.75
],
[
0.08251953125,
0.751953125,
0.468017578125,
0.751953125,
0.468017578125,
0.76513671875,
0.08251953125,
0.76513671875
],
[
0.52294921875,
0.751953125,
0.8896484375,
0.751953125,
0.8896484375,
0.76513671875,
0.52294921875,
0.76513671875
],
[
0.08251953125,
0.7666015625,
0.468017578125,
0.7666015625,
0.468017578125,
0.77978515625,
0.08251953125,
0.77978515625
],
[
0.5048828125,
0.767578125,
0.890625,
0.767578125,
0.890625,
0.78076171875,
0.5048828125,
0.78076171875
],
[
0.08087158203125,
0.78076171875,
0.46728515625,
0.78076171875,
0.46728515625,
0.79443359375,
0.08087158203125,
0.79443359375
],
[
0.50341796875,
0.7822265625,
0.78369140625,
0.7822265625,
0.78369140625,
0.79541015625,
0.50341796875,
0.79541015625
],
[
0.08251953125,
0.79736328125,
0.46728515625,
0.79736328125,
0.46728515625,
0.80810546875,
0.08251953125,
0.80810546875
],
[
0.52294921875,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.52294921875,
0.81005859375
],
[
0.08251953125,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.08251953125,
0.82470703125
],
[
0.5048828125,
0.81103515625,
0.88818359375,
0.81103515625,
0.88818359375,
0.82470703125,
0.5048828125,
0.82470703125
],
[
0.08251953125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.08251953125,
0.84033203125
],
[
0.5048828125,
0.8271484375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.5048828125,
0.84033203125
],
[
0.08251953125,
0.84228515625,
0.35546875,
0.84228515625,
0.35546875,
0.85595703125,
0.08251953125,
0.85595703125
],
[
0.5048828125,
0.84130859375,
0.8896484375,
0.84130859375,
0.8896484375,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.1004638671875,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.1004638671875,
0.87060546875
],
[
0.50341796875,
0.85693359375,
0.8896484375,
0.85693359375,
0.8896484375,
0.8720703125,
0.50341796875,
0.8720703125
],
[
0.080078125,
0.87060546875,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.080078125,
0.88525390625
],
[
0.50244140625,
0.87060546875,
0.8896484375,
0.8720703125,
0.8896484375,
0.88623046875,
0.50244140625,
0.88525390625
],
[
0.08905029296875,
0.88720703125,
0.46728515625,
0.88720703125,
0.46728515625,
0.90087890625,
0.08905029296875,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.8896484375,
0.88720703125,
0.8896484375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"一个更一般的案例,在这个案例中,看得见的专家和",
"的类的特征向量,然后将其用于训练[48,11,5,31,57",
"看不见的专家都对每个测试样本进行处理,他们的",
"。其次,在训练和推理[43,55,15,54,29,41,9]期间",
"预测以一种软的方式结合在一起。具体来说,软闸门",
"直接使用语义类描述的方法。迄今为止,第一种增强数",
"使用总概率定律将预测结果组合在一起:p(class)=",
"据的方法表现更好",
"p(classseen)p(seen)+p(classunseen)p(unseen)",
"在以前的GZSL方法中,有几种与COSMO密切相",
"不幸的是,轻柔地结合专家决策会带来一些困难。首",
"关!。41使用硬门控机制将样本分配给两个领域专家",
"先,在训练门控模块时,很难提供样本来自“看不见”",
"之一。[52]使用软选通机制,并使用生成模型[48]生成",
"类的概率的准确估计,因为根据定义,没有从这些类",
"的看不见类的合成样本对其进行训练。[9]通过从看到",
"中观察到样本。其次,当专家们看到分布外的样本时,",
"的类分数中减去恒定值,在看到的类分数和看不见的",
"他们的行为往往不受控制,往往会产生自信但错误的",
"类分数之间进行校准。[29]使用温度缩放[17]和嫡正",
"预测。结果,当使用两个专家模型的软组合时,“无关”",
"则化来使看到的类分数不那么自信,而看不见的分数",
"专家可能会压倒正确专家的决定",
"更自信",
"我们通过两种方式解决这些问题。首先,我们展示了",
"检测非分布样本:我们的软门控方法建立在开发非",
"如何训练二进制gating机制,以根据softmax类预测",
"分布检测器的基础上,其中看不见的图像被视为“非分",
"的分布对Seen/Unseen域进行分类。这个想法是使用训",
"布”样本。在1类和异常检测方面有大量的工作,我们",
"练类的一个子集来模拟对看不见的类的样本的softmax",
"在这里不进行调查。在这种情况下,最相关的最新工作",
"响应,并以与类无关的方式表示专家预测。其次,我们",
"包括[16,28,44,39]。如果最大softmax分数低于",
"以使用来自门控分类器的信息的方式在softmax输出",
"值,则[16]会检测到OOD样本[28]会缩放softmax",
"上引入类似拉普拉斯的先验30]。此附加信息使专家",
"“温度”[17],并以较小的梯度步长干扰输人。[39]通过",
"能够更准确地估计班级信心",
"多个词嵌人表示每个类,并将输出规范与阈值进行比",
"这种称为自适应COnfidenceSMOoshing(COSMO",
"较。「44]在一组“遗漏”类上训练模型的集合,其边缘",
")的组合方法具有显着的优势。它可以将任何最先进的",
"损失会鼓励遗漏样本的高熵得分",
"零拍学习器作为一个模块,只要它输出类概率:它很容",
"在本文研究的ZSL基准(CUB,SUN,AWA)上测",
"易实现和应用(提供代码),因为它有很少的超参数来",
"试[28,44]时,我们发现[28]的扰动方法会伤害OOD",
"调整;最后,它优于所有四个GZSL基准(AWA,SUN,",
"检测,并且[44]的损失会在遗漏类上过拟合。我们在",
"CUB,FLOWER)的竞争方法。我们的主要贡献是:",
"补充(I)中讨论了这些影响的可能解释",
": A new soft approach to combine decisions of seen",
"混合专家(MoE):在MoE118,51,40中,给定",
"一",
" and unseen classes for GZSL.",
"个样本,门控网络首先将权重分配给多个专家。然后由",
": A new“out-of-distribution\" (OOD) classifier to sep-",
"这些专家对样本进行分类,并通过门控权值组合他们",
"arate seen from unseen classes, and a negative result,",
"的预测。模型的所有部分通常都是联合训练的,通常使",
"showing that modern OOD classifiers have limited",
"用EM方法。我们的方法与MoE的根本不同之处在",
"effectiveness on ZSL benchmarks",
"于,在训练时,每个样本都知道它是否已经被看到。因",
". New state-of-the-art results for GZSL for all",
"此,可以单独培训专家,而无需推断潜在变量,从而确",
"four main benchmarks, AWA, SUN, CUB and",
"保每个模块都是其自己领域的专家(可见或不可见)",
"FLOWER.COSMO is thefirst model that is compa-",
"认知心理学:我们的方法受到认知心理学[10,20]中",
"rable to or better than generative models of GZSL,",
"的双路径模型的启发,其中信息的处理由两个认知系",
"while being easy to train.",
"统执行:一个是快速直观的,用于处理众所周知的信",
": A characterization of GzSL approaches on the seen-",
"息,类似于我们的“看到”专家。第二个是较慢的,基",
"unseen accuracy plane.",
"于推理,类似于我们的“看不见的”专家",
"3.Generalized zero-Shot learning",
"2. Related work",
"我们从零拍学习(ZSL)的正式定义开始,然后将其",
"从广泛的角度来看,零拍学习是组成推理23.24,6",
"扩展为广义ZSL",
"4]的任务,其中通过重新组合原始元素[24]来构造新",
"在零拍学习中,训练集D具有N标记的样本:D:",
"概念。这种能力类似于人类的学习,人类可以轻松地重",
"[(ai,y,i=1...N},其中每个i是特征向量,yiES",
"新组合简单的技能来解决新任务[23]。ZSL近年来引",
"是来自可见类S={1,2,...S}的标签",
"起了极大的兴趣[49,14.25,37.19.3.55,50.27.42]。",
"在测试时,从一组看不见的类u=SI+1,·.S+",
"作为我们的主要ZSL模块,我们使用LAGO[7],这",
"ul}中给出了一组新的样本D'={aii=N+1...N+",
"是一种最先进的方法,它学习使用AND-OR组结构组",
"M)。我们的目标是预测每个样本的正确类别。作为监",
"合描述类的属性来估计p(classimage)",
"督信号,每个类yEsUu都带有语义属性[25]或自然",
"广义ZSL将ZSL扩展到更现实的场景,其中测试数",
"语言嵌人[36,5741]形式的类描述向量ay。ZSL的关",
"据包含可见和不可见的类。有两种GZSL方法。首先,",
"键是学习样本和类描述F(au,a)的兼容性分数,并预",
"一些方法使用生成模型(如GAN的VAE)合成看不见",
"测最大化该分数的类y。在ZSL[25,26,46,41,7,29]"
] |
{
"arxiv_id": "1812.09903",
"language": "zh",
"page_idx": 1
}
|
||
1812.09903-zh-2
|
1812.09903-zh-2.jpg
|
<FigureHere>
Figure 2. Left , COSMO Architecture: We decompose the GZSL task into three sub-tasks that can be addressed separately. (1) A model trained to classify seen $\mathcal{S}$ classes. (2) A model classifying unseen $\mathcal{U}$ classes, namely a ZSL model, conditioned on $\mathcal{U}.(3)$ A gating binary classifier trained to discriminate between seen and unseen classes and to weigh the two models in a soft way; Before weighing $(1)\&(2)$ softmax distributions, we add a prior for each if the gating network provides low confdence (Figure 1 and Sec 4.2 ). Right , The gating network (Zoom-in): It takes softmax scores as inputs. We train it to be aware of the response of softmax scores to unseen images, with samples from held-out classes. Because test classes are different from train classes, we pool the top- $K$ scores, achieving invariance to class identity( Section 4.1 ). The fully-connected layer only learns 10-50 weights (K is small) since this is a binary classiffer.
的概率方法中,兼容性函数为每个类$p(Y=y|\boldsymbol{x})=$ $F(\boldsymbol{a}_y,\boldsymbol{x})$分配一个概率,其中$Y$被视为样本$x$的标签$y$的随机变量
广义 ZSL: 在 ZSL 中,测试样本是从看不见的类$Y\in\mathcal{U}$中提取的,而在 GZSL 中,样本是从看得见或看不见的域中提取的$:Y\in\mathcal{S}\cup\mathcal{U}$
注释:下面,我们用$Y\in\mathcal{U}$表示一个看不见的类, 用$Y\in\mathcal{S}$表示一个看见的类。给定样本$x$和标签$y$ ,我们表示$p(\mathcal{S})=p(Y\in\mathcal{S}|x)$或看不见的$p(\mathcal{U})=$ $p(Y\in\mathcal{U}|\boldsymbol{x})=1-p(Y\in\mathcal{S}|\boldsymbol{x})$看到类的条件分布,以及$p( y) = p( Y= y| \boldsymbol{x})$ , $p( y| \mathcal{S} ) = p( Y= y| Y\in \mathcal{S} , \boldsymbol{x})$ 和$p(y|\mathcal{U})=p(Y=y|Y\in\mathcal{U},\boldsymbol{x})$的标签的条件概率。为了便于阅读,我们的符号没有明确说明$x$上的条件
在[41] 中引入了 Eq.(2)的硬变体,其中门控机制做出了一个硬决定,将测试样本分配给两个专家分类器$p^{ZS}$或$p^S$之一。不幸的是,尽管在概念上很简单,但使用软混合模型会带来几个问题
首先,以软方式组合模型意味着每个模型都贡献其信念,即使对于来自其他“域”的样本也是如此。这往往会损害准确性,因为多类模型倾向于将大多数 softmax 分布质量分配给很少的类,即使它们的输入是随机噪声[16]。例如,当看不见的分类器被赋予来自可见类的输入图像时,其输出分布往往集中在几个虚假的类上。这种峰值分布“混淆”了组合的 GZSL 混合模型, 导致对虚假类别的假阳性预测。创建软门模型的第二个挑战是为两位专家分配准确的权重。当从看不见的类中区分时,这是特别复杂的,因为它需要访问看不见的域的训练样本
COSMO 使用新颖的基于置信度的 gating 网络并通过在推理过程中应用新颖的先验来解决这两个问题。在算法 1 中总结了其推理过程,并在补充 H 中提供了一个演练示例。接下来,我们详细描述 COSMO
# 4. Our approach
我们现在描述 COSMO,这是一种将模型分为三个模块的概率方法。关键思想是这些模块交换信息以提高彼此的准确性。形式上,根据总概率定律
$$\begin{array}{rcl}p(y)&=&p(y|\mathcal{S})p(\mathcal{S})+p(y|\mathcal{U})p(\mathcal{U})\:.\end{array}$$
(1)
# 4.1. Confidence-based gating model
该公式将 GZSL 分解为三个可以分别解决的子任务。$(1)p(y|\mathcal{S})$可以通过任何训练的模型来估计,以对看到的$\mathcal{S}$类进行分类,我们用$p^S(y|\mathcal{S})$表示其预测。(2) 同样,$p(y|\mathcal{U})$ 可以通过对看不见的$\mathcal{U}$ 类进行分类的模型来计算,即 ZSL 模型,我们用$p^ZS(y|\mathcal{U})$表示其预测。(3)最后,这两个术语由$p(\mathcal{S})$和$p(\mathcal{U})=1-p(\mathcal{S})$ 加权,可以由门控分类器计算,我们用$p^Gate$表示其预测,该分类器经过训练以区分可见类和看不见类。我们一起获得了一个 GZSL 混合模型:
gating 模块旨在确定输人图像是来自可见类还是不可见类。由于没有训练样本可用于看不见的类,因此我们可以通过将看见类($\mathcal{S}$)图像视为“分布内”和将看不见的类(U)图像视为“分布外”,在分布外检测的上下文中查看此问题。
几位作者建议在分布内数据上训练 OOD 检测器, 如果最大 softmax 分数低于阈值 [16,28,44],则将图像检测为分布外。在这里,我们通过在两个专家的softmax 输出之上训练网络来改进这种方法,目的是将$U$图像与$S$图像区分开。直观上,这可以提高门控模块的准确性,因为两个专家的输出响应对于$\mathcal{S}$图像和
$$p(y)=p^{S}(y|\mathcal{S})p^{Gate}(\mathcal{S})+p^{ZS}(y|\mathcal{U})p^{Gate}(\mathcal{U})$$
(2)
|
[
[
0.2296142578125,
0.0947265625,
0.294189453125,
0.0947265625,
0.294189453125,
0.10919189453125,
0.2296142578125,
0.10919189453125
],
[
0.66845703125,
0.0947265625,
0.8544921875,
0.0953369140625,
0.8544921875,
0.10986328125,
0.66845703125,
0.10919189453125
],
[
0.576171875,
0.10797119140625,
0.58251953125,
0.111083984375,
0.57861328125,
0.11614990234375,
0.57177734375,
0.11297607421875
],
[
0.438720703125,
0.11553955078125,
0.4755859375,
0.11553955078125,
0.4755859375,
0.12249755859375,
0.438720703125,
0.12249755859375
],
[
0.53173828125,
0.12371826171875,
0.54345703125,
0.12371826171875,
0.54345703125,
0.126953125,
0.53173828125,
0.126953125
],
[
0.72119140625,
0.11932373046875,
0.76318359375,
0.11932373046875,
0.76318359375,
0.1351318359375,
0.72119140625,
0.1351318359375
],
[
0.71728515625,
0.1331787109375,
0.765625,
0.1351318359375,
0.7646484375,
0.1483154296875,
0.7158203125,
0.146484375
],
[
0.431396484375,
0.125,
0.48193359375,
0.125,
0.48193359375,
0.1351318359375,
0.431396484375,
0.1351318359375
],
[
0.26318359375,
0.146484375,
0.294189453125,
0.146484375,
0.294189453125,
0.1546630859375,
0.26318359375,
0.1546630859375
],
[
0.80126953125,
0.1654052734375,
0.8056640625,
0.1654052734375,
0.8056640625,
0.173583984375,
0.80126953125,
0.173583984375
],
[
0.328369140625,
0.17236328125,
0.39794921875,
0.17236328125,
0.39794921875,
0.184326171875,
0.328369140625,
0.184326171875
],
[
0.3505859375,
0.1817626953125,
0.386474609375,
0.1817626953125,
0.386474609375,
0.1932373046875,
0.3505859375,
0.1932373046875
],
[
0.560546875,
0.18115234375,
0.583984375,
0.18115234375,
0.583984375,
0.1925048828125,
0.560546875,
0.1925048828125
],
[
0.7958984375,
0.18310546875,
0.8095703125,
0.1849365234375,
0.80615234375,
0.2052001953125,
0.79345703125,
0.20263671875
],
[
0.3544921875,
0.1932373046875,
0.38818359375,
0.1932373046875,
0.38818359375,
0.20263671875,
0.3544921875,
0.20263671875
],
[
0.148681640625,
0.184326171875,
0.1805419921875,
0.184326171875,
0.1805419921875,
0.1912841796875,
0.148681640625,
0.1912841796875
],
[
0.79345703125,
0.2008056640625,
0.80810546875,
0.199462890625,
0.810546875,
0.2215576171875,
0.7958984375,
0.222900390625
],
[
0.1871337890625,
0.216552734375,
0.23779296875,
0.216552734375,
0.23779296875,
0.2266845703125,
0.1871337890625,
0.2266845703125
],
[
0.57421875,
0.2108154296875,
0.57861328125,
0.2108154296875,
0.57861328125,
0.216552734375,
0.57421875,
0.216552734375
],
[
0.72119140625,
0.2183837890625,
0.76123046875,
0.2183837890625,
0.76123046875,
0.23291015625,
0.72119140625,
0.23291015625
],
[
0.191162109375,
0.2247314453125,
0.2320556640625,
0.2266845703125,
0.2303466796875,
0.238037109375,
0.1895751953125,
0.236083984375
],
[
0.25732421875,
0.2259521484375,
0.2998046875,
0.2259521484375,
0.2998046875,
0.23291015625,
0.25732421875,
0.23291015625
],
[
0.43701171875,
0.2374267578125,
0.4755859375,
0.2374267578125,
0.4755859375,
0.2442626953125,
0.43701171875,
0.2442626953125
],
[
0.71728515625,
0.23291015625,
0.765625,
0.23291015625,
0.765625,
0.2474365234375,
0.71728515625,
0.2474365234375
],
[
0.404296875,
0.240478515625,
0.4150390625,
0.240478515625,
0.4150390625,
0.24365234375,
0.404296875,
0.24365234375
],
[
0.431396484375,
0.242431640625,
0.48046875,
0.24560546875,
0.4794921875,
0.2568359375,
0.4306640625,
0.25390625
],
[
0.08087158203125,
0.276611328125,
0.88818359375,
0.276611328125,
0.88818359375,
0.290283203125,
0.08087158203125,
0.290283203125
],
[
0.08087158203125,
0.2890625,
0.890625,
0.2890625,
0.890625,
0.302978515625,
0.08087158203125,
0.302978515625
],
[
0.08087158203125,
0.3037109375,
0.890625,
0.3037109375,
0.890625,
0.317626953125,
0.08087158203125,
0.317626953125
],
[
0.080078125,
0.317626953125,
0.89208984375,
0.317626953125,
0.89208984375,
0.33203125,
0.080078125,
0.33203125
],
[
0.080078125,
0.33203125,
0.89208984375,
0.33203125,
0.89208984375,
0.34521484375,
0.080078125,
0.34521484375
],
[
0.08251953125,
0.3466796875,
0.8896484375,
0.3466796875,
0.8896484375,
0.356689453125,
0.08251953125,
0.356689453125
],
[
0.08087158203125,
0.359130859375,
0.89208984375,
0.359130859375,
0.89208984375,
0.37255859375,
0.08087158203125,
0.37255859375
],
[
0.07843017578125,
0.371826171875,
0.6787109375,
0.37255859375,
0.6787109375,
0.386962890625,
0.07843017578125,
0.386474609375
],
[
0.08087158203125,
0.41357421875,
0.468017578125,
0.41357421875,
0.468017578125,
0.4267578125,
0.08087158203125,
0.4267578125
],
[
0.50341796875,
0.41357421875,
0.890625,
0.41357421875,
0.890625,
0.4267578125,
0.50341796875,
0.4267578125
],
[
0.08087158203125,
0.427978515625,
0.4697265625,
0.427978515625,
0.4697265625,
0.442626953125,
0.08087158203125,
0.442626953125
],
[
0.50341796875,
0.427978515625,
0.89208984375,
0.427978515625,
0.89208984375,
0.442626953125,
0.50341796875,
0.442626953125
],
[
0.0767822265625,
0.443115234375,
0.178955078125,
0.44140625,
0.178955078125,
0.455810546875,
0.0767822265625,
0.458251953125
],
[
0.50341796875,
0.443115234375,
0.89208984375,
0.443115234375,
0.89208984375,
0.45703125,
0.50341796875,
0.45703125
],
[
0.101318359375,
0.458984375,
0.468017578125,
0.458984375,
0.468017578125,
0.472900390625,
0.101318359375,
0.472900390625
],
[
0.5048828125,
0.458984375,
0.73388671875,
0.458984375,
0.73388671875,
0.472900390625,
0.5048828125,
0.472900390625
],
[
0.080078125,
0.473388671875,
0.468017578125,
0.473388671875,
0.468017578125,
0.4873046875,
0.080078125,
0.4873046875
],
[
0.52392578125,
0.474853515625,
0.890625,
0.474853515625,
0.890625,
0.488037109375,
0.52392578125,
0.488037109375
],
[
0.080078125,
0.488037109375,
0.32275390625,
0.4873046875,
0.32275390625,
0.501953125,
0.080078125,
0.50244140625
],
[
0.5048828125,
0.4892578125,
0.89208984375,
0.4892578125,
0.89208984375,
0.50244140625,
0.5048828125,
0.50244140625
],
[
0.1004638671875,
0.5048828125,
0.4697265625,
0.5048828125,
0.4697265625,
0.51953125,
0.1004638671875,
0.51953125
],
[
0.5048828125,
0.50390625,
0.89208984375,
0.50390625,
0.89208984375,
0.517578125,
0.5048828125,
0.517578125
],
[
0.080078125,
0.51806640625,
0.4697265625,
0.51953125,
0.4697265625,
0.5341796875,
0.080078125,
0.53271484375
],
[
0.50634765625,
0.52099609375,
0.8896484375,
0.52099609375,
0.8896484375,
0.53076171875,
0.50634765625,
0.53076171875
],
[
0.09478759765625,
0.5341796875,
0.450927734375,
0.5341796875,
0.450927734375,
0.54736328125,
0.09478759765625,
0.54736328125
],
[
0.449462890625,
0.5390625,
0.455078125,
0.5390625,
0.455078125,
0.54443359375,
0.449462890625,
0.54443359375
],
[
0.455078125,
0.5390625,
0.4599609375,
0.5390625,
0.4599609375,
0.54443359375,
0.455078125,
0.54443359375
],
[
0.5048828125,
0.5341796875,
0.890625,
0.5341796875,
0.890625,
0.54736328125,
0.5048828125,
0.54736328125
],
[
0.0882568359375,
0.54052734375,
0.09722900390625,
0.54052734375,
0.09722900390625,
0.54443359375,
0.0882568359375,
0.54443359375
],
[
0.08087158203125,
0.55029296875,
0.46728515625,
0.55029296875,
0.46728515625,
0.564453125,
0.08087158203125,
0.564453125
],
[
0.5048828125,
0.5498046875,
0.8896484375,
0.5498046875,
0.8896484375,
0.56298828125,
0.5048828125,
0.56298828125
],
[
0.08251953125,
0.56494140625,
0.465576171875,
0.56494140625,
0.465576171875,
0.5791015625,
0.08251953125,
0.5791015625
],
[
0.5048828125,
0.564453125,
0.890625,
0.564453125,
0.890625,
0.57763671875,
0.5048828125,
0.57763671875
],
[
0.08087158203125,
0.580078125,
0.468017578125,
0.5791015625,
0.468017578125,
0.59326171875,
0.08087158203125,
0.5947265625
],
[
0.50341796875,
0.580078125,
0.88818359375,
0.580078125,
0.88818359375,
0.59326171875,
0.50341796875,
0.59326171875
],
[
0.08251953125,
0.5947265625,
0.443603515625,
0.5947265625,
0.443603515625,
0.60791015625,
0.08251953125,
0.60791015625
],
[
0.5048828125,
0.5947265625,
0.890625,
0.5947265625,
0.890625,
0.609375,
0.5048828125,
0.609375
],
[
0.5048828125,
0.60986328125,
0.890625,
0.60986328125,
0.890625,
0.62353515625,
0.5048828125,
0.62353515625
],
[
0.080078125,
0.62548828125,
0.2279052734375,
0.62548828125,
0.2279052734375,
0.64013671875,
0.080078125,
0.64013671875
],
[
0.50341796875,
0.62548828125,
0.61767578125,
0.62548828125,
0.61767578125,
0.6396484375,
0.50341796875,
0.6396484375
],
[
0.521484375,
0.6396484375,
0.890625,
0.64013671875,
0.890625,
0.65478515625,
0.521484375,
0.65380859375
],
[
0.1004638671875,
0.65087890625,
0.46728515625,
0.65087890625,
0.46728515625,
0.6640625,
0.1004638671875,
0.6640625
],
[
0.5048828125,
0.65576171875,
0.89208984375,
0.65576171875,
0.89208984375,
0.66943359375,
0.5048828125,
0.66943359375
],
[
0.080078125,
0.6640625,
0.468017578125,
0.66552734375,
0.468017578125,
0.6796875,
0.080078125,
0.6787109375
],
[
0.50244140625,
0.66943359375,
0.8857421875,
0.67041015625,
0.8857421875,
0.68505859375,
0.50244140625,
0.6845703125
],
[
0.08087158203125,
0.6796875,
0.39208984375,
0.6796875,
0.39208984375,
0.693359375,
0.08087158203125,
0.693359375
],
[
0.50341796875,
0.68505859375,
0.83251953125,
0.6845703125,
0.83251953125,
0.69873046875,
0.50341796875,
0.69970703125
],
[
0.143798828125,
0.71044921875,
0.438720703125,
0.71044921875,
0.438720703125,
0.7236328125,
0.143798828125,
0.7236328125
],
[
0.44287109375,
0.71044921875,
0.468017578125,
0.71044921875,
0.468017578125,
0.72265625,
0.44287109375,
0.72265625
],
[
0.50244140625,
0.708984375,
0.78125,
0.71044921875,
0.78125,
0.72802734375,
0.50244140625,
0.7265625
],
[
0.52294921875,
0.73486328125,
0.890625,
0.73486328125,
0.890625,
0.74853515625,
0.52294921875,
0.74853515625
],
[
0.438720703125,
0.7138671875,
0.4453125,
0.7138671875,
0.4453125,
0.72021484375,
0.438720703125,
0.72021484375
],
[
0.08087158203125,
0.736328125,
0.46728515625,
0.7373046875,
0.46728515625,
0.751953125,
0.08087158203125,
0.75048828125
],
[
0.08251953125,
0.75244140625,
0.46728515625,
0.75244140625,
0.46728515625,
0.7666015625,
0.08251953125,
0.7666015625
],
[
0.5048828125,
0.75048828125,
0.890625,
0.75048828125,
0.890625,
0.7646484375,
0.5048828125,
0.7646484375
],
[
0.08251953125,
0.76806640625,
0.468017578125,
0.76806640625,
0.468017578125,
0.7822265625,
0.08251953125,
0.7822265625
],
[
0.5048828125,
0.767578125,
0.88818359375,
0.767578125,
0.88818359375,
0.77783203125,
0.5048828125,
0.77783203125
],
[
0.08416748046875,
0.7841796875,
0.46728515625,
0.7841796875,
0.46728515625,
0.79736328125,
0.08416748046875,
0.79736328125
],
[
0.50341796875,
0.78076171875,
0.890625,
0.78076171875,
0.890625,
0.79443359375,
0.50341796875,
0.79443359375
],
[
0.08087158203125,
0.79736328125,
0.468017578125,
0.79736328125,
0.468017578125,
0.81103515625,
0.08087158203125,
0.81103515625
],
[
0.5048828125,
0.79541015625,
0.65625,
0.79541015625,
0.65625,
0.8095703125,
0.5048828125,
0.8095703125
],
[
0.08087158203125,
0.81298828125,
0.46728515625,
0.81298828125,
0.46728515625,
0.8271484375,
0.08087158203125,
0.8271484375
],
[
0.52392578125,
0.81103515625,
0.88818359375,
0.81103515625,
0.88818359375,
0.82470703125,
0.52392578125,
0.82470703125
],
[
0.08251953125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84130859375,
0.08251953125,
0.84130859375
],
[
0.50341796875,
0.82470703125,
0.890625,
0.82568359375,
0.890625,
0.84033203125,
0.50341796875,
0.8388671875
],
[
0.08251953125,
0.84326171875,
0.468017578125,
0.84326171875,
0.468017578125,
0.85693359375,
0.08251953125,
0.85693359375
],
[
0.5048828125,
0.84130859375,
0.8896484375,
0.84130859375,
0.8896484375,
0.85498046875,
0.5048828125,
0.85498046875
],
[
0.09234619140625,
0.859375,
0.318603515625,
0.859375,
0.318603515625,
0.87255859375,
0.09234619140625,
0.87255859375
],
[
0.50341796875,
0.85693359375,
0.890625,
0.85693359375,
0.890625,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.50244140625,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.50244140625,
0.88525390625
],
[
0.098876953125,
0.88525390625,
0.416748046875,
0.8837890625,
0.416748046875,
0.9013671875,
0.098876953125,
0.90283203125
],
[
0.44677734375,
0.88818359375,
0.46728515625,
0.88818359375,
0.46728515625,
0.90087890625,
0.44677734375,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.890625,
0.88720703125,
0.890625,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"COSMO",
"Confidence Based Gating",
"1",
"Adaptive",
"",
"Top-K",
"pooling",
"Smoothing",
"lassifie",
"",
"Confidence",
"Based",
"2H",
"O",
"Gating",
"CNN",
"Kjin",
"FeatureL",
"",
"Top-K",
"vector",
"classifier",
"Adaptive",
"pooling",
"",
"Smoothing",
"Figure 2. Left , COSMO Architecture: We decompose the GZSL task into three sub-tasks that can be addressed separately",
"(1) A model trained to classify seen S classes. (2) A model classifying unseen U classes, namely a ZSL model, conditioned",
"on u . (3) A gating binary classifier trained to discriminate between seen and unseen classes and to weigh the two models",
"in a soft way; Before weighing (1) & (2) softmax distributions, we add a prior for each if the gating network provides",
"low confidence (Figure 1 and Sec 4.2 ).Right , The gating network (Zoom-in): It takes softmax scores as inputs. We",
"train it to be aware of theresponse of softmax scores to unseen images, with samples from held-out classes.Because test",
"classes are different from train classes, we pool the top- K scores, achieving invariance to class identity (Section 4.1 ). The",
"fully-connected layer only learns 10-50 weights (K is small) since this is a binary classifier.",
"的概率方法中,兼容性函数为每个类p(Y=ya)=",
"在[41]中引入了Eq.(2)的硬变体,其中门控机制做",
"F(auy,a)分配一个概率,其中Y被视为样本α的标签",
"出了一个硬决定,将测试样本分配给两个专家分类器",
"9的随机变量",
"pzs或ps之一。不幸的是,尽管在概念上很简单,但",
"广义ZSL:在ZSL中,测试样本是从看不见的类",
"使用软混合模型会带来几个问题",
"YE中提取的,而在GZSL 中,样本是从看得见或",
"首先,以软方式组合模型意味着每个模型都贡献其",
"看不见的域中提取的YEsUu",
"信念,即使对于来自其他“域”的样本也是如此。这往往",
"注释:下面,我们用YEU表示一个看不见的类,",
"会损害准确性,因为多类模型倾向于将大多数 softmax",
"用YES表示一个看见的类。给定样本&和标签y",
"分布质量分配给很少的类,即使它们的输入是随机噪",
"我们表示 p(S)= p(Y ESα)或看不见的 p(u)",
"6",
":",
"声[16]。例如,当看不见的分类器被赋予来自可见类",
"",
"p(YEua=1-p(YESa)看到类的条件分布,以",
"的输人图像时,其输出分布往往集中在几个虚假的类",
"及 p(y) = p(Y = yα) , p(ylS) =p(Y = y|Y ES,α)",
"上。这种峰值分布“混淆”了组合的GZSL混合模型",
"和p(yu)=p(Y=ylYu,a)的标签的条件概率。为",
"导致对虚假类别的假阳性预测。创建软门模型的第二",
"了便于阅读,我们的符号没有明确说明上的条件",
"个挑战是为两位专家分配准确的权重。当从看不见的",
"类中区分时,这是特别复杂的,因为它需要访问看不见",
"4.Our approach",
"的域的训练样本",
"COSMO使用新颖的基于置信度的gating网络并通",
"我们现在描述COSMO,这是一种将模型分为三个",
"过在推理过程中应用新颖的先验来解决这两个问题。在",
"模块的概率方法。关键思想是这些模块交换信息以提",
"算法1中总结了其推理过程,并在补充H中提供了一",
"高彼此的准确性。形式上,根据总概率定律",
"个演练示例。接下来,我们详细描述COSMO",
"p(y) =p(ylS)p(S) +p(ylu)p(u). ",
"(1)",
"4.1. Confidence-based gating model",
"gating模块旨在确定输人图像是来自可见类还是不",
"",
"该公式将GZSL分解为三个可以分别解决的子任务。",
"(1)p(yls)可以通过任何训练的模型来估计,以对看到",
"可见类。由于没有训练样本可用于看不见的类,因此我",
"的S类进行分类,我们用ps(ylS)表示其预测。(2)",
"们可以通过将看见类(S)图像视为“分布内”和将看",
"同样,p(yu)可以通过对看不见的u类进行分类的模",
"不见的类(U)图像视为“分布外”,在分布外检测的",
"型来计算,即zSL模型,我们用pzs(yu)表示其预",
"上下文中查看此问题。",
"测。(3)最后,这两个术语由p(S)和p(u)=1-p(S)",
"几位作者建议在分布内数据上训练OOD检测器",
"加权,可以由门控分类器计算,我们用pGate表示其预",
"如果最大softmax分数低于阈值[16,28,44],则将",
"测,该分类器经过训练以区分可见类和看不见类。我们",
"图像检测为分布外。在这里,我们通过在两个专家的",
"一起获得了一个GZSL混合模型:",
"softmax输出之上训练网络来改进这种方法,目的是将",
"U图像与S图像区分开。直观上,这可以提高门控模",
"p(y) = ps (ylS)pGate(S) + pzS (ylu)pGate(u)",
"(2)",
"块的准确性,因为两个专家的输出响应对于S图像和"
] |
{
"arxiv_id": "1812.09903",
"language": "zh",
"page_idx": 2
}
|
||
1812.09903-zh-3
|
1812.09903-zh-3.jpg
|
$\mathcal{U}$图像有所不同。我们将此网络命名为基于信任的门
(CBG)。如图 2 所示
一个重要的技术复杂性是训练 CBG 不能观察任何$\mathcal{U}$图像,因为它们必须用作看不见的。因此,我们从未用于训练的$\mathcal{S}$类创建一个保留集,并使用它们来估计专家对$U$图像的输出响应。下面,我们将这组类称为" 类,并将其图像称为" 图像。请注意,由于类似的原因, 我们不能与$S$ 和$U$ 专家一起训练 gater。有关详细信息,请参阅补充 K
这增加了进一步的复杂性:在”类上训练看不见的专家意味着在测试时,当出现测试类时,看不见的专家应该具有与训练期间的输出层不同的输出层。具体来说,它对应于新的(测试)类,可能具有不同的维度。为了使专家输出中的”类的身份和顺序保持不变,CBG 获取软 max 的 top- $K$分数并对其进行排序。这个过程,我们称之为 top-kpooling, 保证了 CBG 对于特定的类是不变的。Top-K 池化概括了最大池化,并等效于 K=1 的最大池化
# 4.2. Adaptive confidence smoothing
如上所述,概率分类器倾向于将大部分 softmax 质量分配给很少的类,即使样本不属于词汇表中的任何类。直觉上,当给定一个词汇外类别的图像作为输入时,我们希望所有类别都获得一个统一的低概率,因为它们都是“同样错误的”。为了在我们的模型中包含这种先验信念,我们借鉴了贝叶斯参数估计的思想。根据模型提供的置信度 (softmax 输出分数),将类置信度值的集合视为我们希望估计的数量。在贝叶斯估计中, 人们将数据 (这里是预测的置信度)与先验分布 (这里是我们的先验信念) 结合起来
具体来说,对于经验分类(多项式)数据,拉普拉斯平滑 [30] 是一种常见的技术,可以在有限的样本下实现稳健的估计。它相当于在所有类中均匀地添加“伪计数”,并作为类的先验分布。我们可以在这里应用类似的技术,并将预测与加性先验分布$\pi^\mathcal{U}=p_0(y|\mathcal{U})$结合起来。这产生了
$$p^\lambda(y|\mathcal{U})=(1\!-\!\lambda)\:p(y|\mathcal{U})+\lambda\:\pi^{\mathcal{U}}\quad,$$
(3)
,其中$\lambda$对先验进行加权,而$\pi^\mathcal{U}$不以$x$ 为条件。同样, 对于看到的分布,我们设置$p^\lambda(y|\mathcal{S})=(1-\lambda)p(y|\mathcal{S})+$ $\lambda\pi^{\mathcal{S}}$ 。当没有其他信息可用时,我们将先验设置为最大熵分布,即均匀分布$\pi^\mathcal{U}=1/(\#$unseen classes)和$\pi^{\mathcal{S}}=1/(\#$seen classes)
An Adaptive Prior: 应该如何设置先前的权重$\lambda$ ? 在拉普拉斯平滑中,添加一个常量伪计数具有其相对权重随着更多样本可用而降低的特性。直观上,这意味着当数据提供有力的证据时,先验的权重更弱。我们采用这种直觉来使权衡参数$\lambda$自适应。直观地,如果我们认为样本不属于可见类,我们将平滑可见分类器输出 (图 1)。更具体地说,我们通过将常数$\lambda$替换为我们对每个域的信念(对于$p^\prime(y|\mathcal{U})$设置$\lambda=p(\mathcal{U})$来
<table>
<tbody>
<tr>
<th>Algorithm 1. $CCC$</th>
<th>Algorithm 11. $\operatorname{COSMO}$ Inference 1</th>
</tr>
<tr>
<td>1: Input: I Image</td>
<td>Image nmit.</td>
</tr>
<tr>
<td>2: Estimate $p^{S}$ J $(y,\mathcal{S})$ and</td>
<td>$nt$ sxnerts</td>
</tr>
<tr>
<td>Gate $^{:}(\mathcal{S})=$ 3: Estimate 71 $=f$ 2</td>
<td>$\operatorname{stimate}p^{\mathrm{G}a}$ $^{e}( \mathcal{S} ) = f( p^{\mathcal{S} }( y, \mathcal{S} ) , p^{\mathcal{L} \mathcal{S} }( y, \mathcal{U} ) )$ ;Fig 、</td>
</tr>
<tr>
<td>$4{:}{\mathrm{Estimate~}p^{\prime}(y|\mathcal{S})\mathrm{~and~}p^{\prime}}$</td>
<td>$\operatorname{lstimate}p^{\prime}(y|\mathcal{S})$ and $p^\prime(y|\mathcal{U})$ by smoothing; Eq.(4</td>
</tr>
<tr>
<td>5; :Estimate $p(u)$ bv soft-c</td>
<td>lstimate $p( y)$ by soft-combining; Eq. (2)</td>
</tr>
</tbody>
</table>
应用自适应先验:
$$\begin{array}{rcl}p'(y|\mathcal{U})&=&p(\mathcal{U})p(y|\mathcal{U})+(1–p(\mathcal{U}))\pi^{\mathcal{U}}\\&=&p(y,\mathcal{U})+(1–p(\mathcal{U}))\pi^{\mathcal{U}}\quad.\end{array}$$
(4)
类似地$p^\prime(y|\mathcal{S})=p(\mathcal{S})p(y|\mathcal{S})+(1-p(\mathcal{S}))\pi^{\mathcal{S}}$ 。在实践中, 我们对$p(y,\mathcal{U})$使用 ZS 模型估计,对$p(\mathcal{U})$使用门控模型估计,得出$p^\prime(y|\mathcal{U})=p^{ZS}(y,\mathcal{U})+(1-p^{Gate}(\mathcal{U}))\pi^{\mathcal{U}}$ ,对 $p^\prime(y|\mathcal{S})$ 也类似。
从原理概率的角度来看,Eq. (4) 应用总概率定律并权衡两项:(1)分类器预测$p(y|\mathcal{U});(2)$均匀平滑先验$\pi^{\mathcal{U}}$。他们认为输入图像来自专家熟悉的类$p(\mathcal{U})$或不熟悉的$(1-p(\mathcal{U}))$ 。最右边的术语意味着,鉴于我们知道图像对于专家来说是不熟悉的,我们分配一个统一的低概率,该概率由输入图像确实不熟悉的信念来衡量
生成的模型有两个有趣的属性。首先,它减少了超参数调整,因为先前的权重是自动确定的。其次,平滑为每个分数添加一个恒定值,因此它保持了达到每个专家最大值的类别,但同时影响了他们在 Eq.(2)中的组合预测
# 5. Details of our approach
我们的方法有三个学习模块:可见类,不可见类和区分它们的模型。这三个组件分别进行培训。Supp。K 节解释了为什么不能在此设置中共同训练它们
看不见的类的模型。对于看不见的类,我们使用 LAGO [7]或 fCLSWGAN [48] 与作者提供的代码。这些模型中的每一个都为 ZSL 基准测试的一部分实现了最先进的结果。LAGO 通过学习属性上的 AND-OR 组结构来预测$p^{ZS}(y|\boldsymbol{x})$ 。fCLSWGAN [48]使用 GAN 用看不见的类的合成特征向量来增强训练数据,然后训练分类器来识别类。我们重新训练了 GZSL 分割上的模型(图4)
可见类的模型。对于可见类,我们训练了一个逻辑回归分类器来预测$p^S(y|\boldsymbol{x})$ 。我们使用了一个 LBFGS 求解器[12] ,它具有 sci-kit 学习[35]的默认攻击性超参数(C=1),因为它在 Seen-Val 集上表现出良好的性能 (图4 1
基于置信度的门控模型。为了区分 Seen 和 Unseen 类, 我们使用逻辑回归分类器来预测$p(\mathcal{S}|\boldsymbol{x})$ ,在 GatingTrain 集上训练 (图 4)。对于输人功能,我们使用看
|
[
[
0.08087158203125,
0.0947265625,
0.46728515625,
0.0947265625,
0.46728515625,
0.10479736328125,
0.08087158203125,
0.10479736328125
],
[
0.58642578125,
0.09661865234375,
0.80224609375,
0.09661865234375,
0.80224609375,
0.10986328125,
0.58642578125,
0.10986328125
],
[
0.08087158203125,
0.10797119140625,
0.2320556640625,
0.10797119140625,
0.2320556640625,
0.121826171875,
0.08087158203125,
0.121826171875
],
[
0.50732421875,
0.111083984375,
0.62744140625,
0.11236572265625,
0.62744140625,
0.126953125,
0.50732421875,
0.1256103515625
],
[
0.11517333984375,
0.12371826171875,
0.468017578125,
0.12371826171875,
0.468017578125,
0.136962890625,
0.11517333984375,
0.136962890625
],
[
0.5087890625,
0.1275634765625,
0.86767578125,
0.1275634765625,
0.86767578125,
0.1427001953125,
0.5087890625,
0.1427001953125
],
[
0.080078125,
0.136962890625,
0.46728515625,
0.136962890625,
0.46728515625,
0.15087890625,
0.080078125,
0.15087890625
],
[
0.5087890625,
0.141357421875,
0.88623046875,
0.141357421875,
0.88623046875,
0.1558837890625,
0.5087890625,
0.1558837890625
],
[
0.08251953125,
0.15283203125,
0.46728515625,
0.15283203125,
0.46728515625,
0.1666259765625,
0.08251953125,
0.1666259765625
],
[
0.08416748046875,
0.1685791015625,
0.464111328125,
0.1685791015625,
0.464111328125,
0.1817626953125,
0.08416748046875,
0.1817626953125
],
[
0.529296875,
0.1641845703125,
0.53759765625,
0.1590576171875,
0.54345703125,
0.1634521484375,
0.5361328125,
0.169189453125
],
[
0.5107421875,
0.173583984375,
0.8896484375,
0.173583984375,
0.8896484375,
0.1875,
0.5107421875,
0.1875
],
[
0.08087158203125,
0.18310546875,
0.46728515625,
0.18310546875,
0.46728515625,
0.1962890625,
0.08087158203125,
0.1962890625
],
[
0.08087158203125,
0.1988525390625,
0.468017578125,
0.1988525390625,
0.468017578125,
0.212158203125,
0.08087158203125,
0.212158203125
],
[
0.51123046875,
0.203857421875,
0.82177734375,
0.203857421875,
0.82177734375,
0.2171630859375,
0.51123046875,
0.2171630859375
],
[
0.08087158203125,
0.2139892578125,
0.2156982421875,
0.2139892578125,
0.2156982421875,
0.2279052734375,
0.08087158203125,
0.2279052734375
],
[
0.1004638671875,
0.2298583984375,
0.46728515625,
0.2298583984375,
0.46728515625,
0.24365234375,
0.1004638671875,
0.24365234375
],
[
0.08416748046875,
0.246826171875,
0.46728515625,
0.246826171875,
0.46728515625,
0.2568359375,
0.08416748046875,
0.2568359375
],
[
0.5048828125,
0.250732421875,
0.6259765625,
0.250732421875,
0.6259765625,
0.261474609375,
0.5048828125,
0.261474609375
],
[
0.08251953125,
0.261474609375,
0.46728515625,
0.261474609375,
0.46728515625,
0.271484375,
0.08251953125,
0.271484375
],
[
0.08087158203125,
0.274658203125,
0.46728515625,
0.274658203125,
0.46728515625,
0.28857421875,
0.08087158203125,
0.28857421875
],
[
0.55810546875,
0.272705078125,
0.8349609375,
0.272705078125,
0.8349609375,
0.287353515625,
0.55810546875,
0.287353515625
],
[
0.08251953125,
0.291748046875,
0.46728515625,
0.291748046875,
0.46728515625,
0.3017578125,
0.08251953125,
0.3017578125
],
[
0.61767578125,
0.29345703125,
0.86279296875,
0.290283203125,
0.86279296875,
0.304931640625,
0.61767578125,
0.30810546875
],
[
0.865234375,
0.29736328125,
0.869140625,
0.29736328125,
0.869140625,
0.302978515625,
0.865234375,
0.302978515625
],
[
0.869140625,
0.29541015625,
0.8896484375,
0.29541015625,
0.8896484375,
0.30615234375,
0.869140625,
0.30615234375
],
[
0.08251953125,
0.304931640625,
0.46728515625,
0.304931640625,
0.46728515625,
0.318115234375,
0.08251953125,
0.318115234375
],
[
0.50341796875,
0.31494140625,
0.88623046875,
0.31494140625,
0.88623046875,
0.330078125,
0.50341796875,
0.330078125
],
[
0.08251953125,
0.3212890625,
0.46728515625,
0.3212890625,
0.46728515625,
0.33203125,
0.08251953125,
0.33203125
],
[
0.08087158203125,
0.335205078125,
0.468017578125,
0.335205078125,
0.468017578125,
0.348388671875,
0.08087158203125,
0.348388671875
],
[
0.5048828125,
0.33203125,
0.890625,
0.33203125,
0.890625,
0.3466796875,
0.5048828125,
0.3466796875
],
[
0.08087158203125,
0.35107421875,
0.223876953125,
0.35107421875,
0.223876953125,
0.3642578125,
0.08087158203125,
0.3642578125
],
[
0.50341796875,
0.3466796875,
0.8896484375,
0.3466796875,
0.8896484375,
0.361083984375,
0.50341796875,
0.361083984375
],
[
0.51953125,
0.3623046875,
0.66015625,
0.3623046875,
0.66015625,
0.375732421875,
0.51953125,
0.375732421875
],
[
0.080078125,
0.375,
0.358642578125,
0.375732421875,
0.358642578125,
0.39013671875,
0.080078125,
0.389404296875
],
[
0.52392578125,
0.37744140625,
0.890625,
0.37744140625,
0.890625,
0.391357421875,
0.52392578125,
0.391357421875
],
[
0.5048828125,
0.393310546875,
0.89208984375,
0.393310546875,
0.89208984375,
0.4072265625,
0.5048828125,
0.4072265625
],
[
0.10296630859375,
0.401611328125,
0.46728515625,
0.401611328125,
0.46728515625,
0.412353515625,
0.10296630859375,
0.412353515625
],
[
0.50341796875,
0.40771484375,
0.890625,
0.40771484375,
0.890625,
0.421630859375,
0.50341796875,
0.421630859375
],
[
0.08251953125,
0.415283203125,
0.468017578125,
0.415283203125,
0.468017578125,
0.4287109375,
0.08251953125,
0.4287109375
],
[
0.5048828125,
0.4248046875,
0.8896484375,
0.4248046875,
0.8896484375,
0.43505859375,
0.5048828125,
0.43505859375
],
[
0.08087158203125,
0.43115234375,
0.468017578125,
0.43115234375,
0.468017578125,
0.4443359375,
0.08087158203125,
0.4443359375
],
[
0.50341796875,
0.438232421875,
0.890625,
0.438232421875,
0.890625,
0.451904296875,
0.50341796875,
0.451904296875
],
[
0.08087158203125,
0.44580078125,
0.468017578125,
0.44580078125,
0.468017578125,
0.458984375,
0.08087158203125,
0.458984375
],
[
0.5185546875,
0.45263671875,
0.890625,
0.45263671875,
0.890625,
0.466552734375,
0.5185546875,
0.466552734375
],
[
0.08251953125,
0.460205078125,
0.46728515625,
0.460205078125,
0.46728515625,
0.473388671875,
0.08251953125,
0.473388671875
],
[
0.5048828125,
0.468505859375,
0.5361328125,
0.468505859375,
0.5361328125,
0.48095703125,
0.5048828125,
0.48095703125
],
[
0.08251953125,
0.47607421875,
0.46728515625,
0.47607421875,
0.46728515625,
0.4892578125,
0.08251953125,
0.4892578125
],
[
0.52294921875,
0.48291015625,
0.890625,
0.48291015625,
0.890625,
0.496826171875,
0.52294921875,
0.496826171875
],
[
0.08251953125,
0.492431640625,
0.465576171875,
0.492431640625,
0.465576171875,
0.50244140625,
0.08251953125,
0.50244140625
],
[
0.50341796875,
0.496826171875,
0.890625,
0.49755859375,
0.890625,
0.51123046875,
0.50341796875,
0.51025390625
],
[
0.08087158203125,
0.505859375,
0.46728515625,
0.505859375,
0.46728515625,
0.51953125,
0.08087158203125,
0.51953125
],
[
0.5048828125,
0.51318359375,
0.8896484375,
0.51318359375,
0.8896484375,
0.5263671875,
0.5048828125,
0.5263671875
],
[
0.08251953125,
0.52099609375,
0.468017578125,
0.52099609375,
0.468017578125,
0.5341796875,
0.08251953125,
0.5341796875
],
[
0.50341796875,
0.5263671875,
0.890625,
0.52783203125,
0.890625,
0.54248046875,
0.50341796875,
0.54150390625
],
[
0.08087158203125,
0.5361328125,
0.289306640625,
0.5361328125,
0.289306640625,
0.5498046875,
0.08087158203125,
0.5498046875
],
[
0.5048828125,
0.54443359375,
0.56884765625,
0.54443359375,
0.56884765625,
0.55615234375,
0.5048828125,
0.55615234375
],
[
0.101318359375,
0.5517578125,
0.468017578125,
0.5517578125,
0.468017578125,
0.56494140625,
0.101318359375,
0.56494140625
],
[
0.08251953125,
0.5673828125,
0.468017578125,
0.5673828125,
0.468017578125,
0.58056640625,
0.08251953125,
0.58056640625
],
[
0.5009765625,
0.57080078125,
0.73046875,
0.5712890625,
0.73046875,
0.5859375,
0.5009765625,
0.58544921875
],
[
0.08416748046875,
0.58349609375,
0.465576171875,
0.58349609375,
0.465576171875,
0.59326171875,
0.08416748046875,
0.59326171875
],
[
0.08251953125,
0.5966796875,
0.468017578125,
0.5966796875,
0.468017578125,
0.60986328125,
0.08251953125,
0.60986328125
],
[
0.52392578125,
0.5966796875,
0.890625,
0.5966796875,
0.890625,
0.60986328125,
0.52392578125,
0.60986328125
],
[
0.08087158203125,
0.6123046875,
0.468017578125,
0.6123046875,
0.468017578125,
0.62548828125,
0.08087158203125,
0.62548828125
],
[
0.50341796875,
0.611328125,
0.89208984375,
0.611328125,
0.89208984375,
0.62548828125,
0.50341796875,
0.62548828125
],
[
0.080078125,
0.62548828125,
0.193603515625,
0.626953125,
0.193603515625,
0.6416015625,
0.080078125,
0.64013671875
],
[
0.50634765625,
0.626953125,
0.8310546875,
0.626953125,
0.8310546875,
0.64013671875,
0.50634765625,
0.64013671875
],
[
0.15283203125,
0.65283203125,
0.438720703125,
0.65380859375,
0.438720703125,
0.671875,
0.15283203125,
0.67041015625
],
[
0.5048828125,
0.64794921875,
0.890625,
0.64794921875,
0.890625,
0.6611328125,
0.5048828125,
0.6611328125
],
[
0.4453125,
0.6572265625,
0.468017578125,
0.6572265625,
0.468017578125,
0.66943359375,
0.4453125,
0.66943359375
],
[
0.50341796875,
0.662109375,
0.8896484375,
0.6611328125,
0.8896484375,
0.67529296875,
0.50341796875,
0.6767578125
],
[
0.5048828125,
0.67822265625,
0.890625,
0.67822265625,
0.890625,
0.69140625,
0.5048828125,
0.69140625
],
[
0.08251953125,
0.6845703125,
0.468017578125,
0.68505859375,
0.468017578125,
0.69970703125,
0.08251953125,
0.69873046875
],
[
0.50341796875,
0.693359375,
0.890625,
0.693359375,
0.890625,
0.70703125,
0.50341796875,
0.70703125
],
[
0.080078125,
0.69970703125,
0.468017578125,
0.70068359375,
0.468017578125,
0.71533203125,
0.080078125,
0.7138671875
],
[
0.080078125,
0.7138671875,
0.468017578125,
0.71533203125,
0.468017578125,
0.72998046875,
0.080078125,
0.72900390625
],
[
0.50341796875,
0.70849609375,
0.890625,
0.70849609375,
0.890625,
0.7216796875,
0.50341796875,
0.7216796875
],
[
0.50341796875,
0.72265625,
0.88818359375,
0.7236328125,
0.88818359375,
0.7373046875,
0.50341796875,
0.736328125
],
[
0.08087158203125,
0.73095703125,
0.468017578125,
0.73095703125,
0.468017578125,
0.744140625,
0.08087158203125,
0.744140625
],
[
0.50341796875,
0.7373046875,
0.890625,
0.73779296875,
0.890625,
0.75244140625,
0.50341796875,
0.751953125
],
[
0.080078125,
0.744140625,
0.2467041015625,
0.7470703125,
0.2467041015625,
0.76123046875,
0.080078125,
0.7587890625
],
[
0.5048828125,
0.7548828125,
0.55224609375,
0.7548828125,
0.55224609375,
0.7666015625,
0.5048828125,
0.7666015625
],
[
0.5048828125,
0.77587890625,
0.8896484375,
0.77587890625,
0.8896484375,
0.7890625,
0.5048828125,
0.7890625
],
[
0.0882568359375,
0.7822265625,
0.253173828125,
0.7822265625,
0.253173828125,
0.79541015625,
0.0882568359375,
0.79541015625
],
[
0.2459716796875,
0.7822265625,
0.471435546875,
0.7822265625,
0.471435546875,
0.79541015625,
0.2459716796875,
0.79541015625
],
[
0.5048828125,
0.7890625,
0.890625,
0.7890625,
0.890625,
0.8037109375,
0.5048828125,
0.8037109375
],
[
0.08416748046875,
0.798828125,
0.46728515625,
0.798828125,
0.46728515625,
0.8095703125,
0.08416748046875,
0.8095703125
],
[
0.50341796875,
0.8046875,
0.890625,
0.8046875,
0.890625,
0.818359375,
0.50341796875,
0.818359375
],
[
0.08087158203125,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.08087158203125,
0.82470703125
],
[
0.50341796875,
0.82080078125,
0.8896484375,
0.82080078125,
0.8896484375,
0.833984375,
0.50341796875,
0.833984375
],
[
0.08251953125,
0.8271484375,
0.468017578125,
0.8271484375,
0.468017578125,
0.84033203125,
0.08251953125,
0.84033203125
],
[
0.50244140625,
0.8359375,
0.525390625,
0.8359375,
0.525390625,
0.84765625,
0.50244140625,
0.84765625
],
[
0.08416748046875,
0.84326171875,
0.465576171875,
0.84326171875,
0.465576171875,
0.85400390625,
0.08416748046875,
0.85400390625
],
[
0.08087158203125,
0.85693359375,
0.465576171875,
0.85791015625,
0.465576171875,
0.869140625,
0.08087158203125,
0.86865234375
],
[
0.5048828125,
0.85693359375,
0.88818359375,
0.85693359375,
0.88818359375,
0.87060546875,
0.5048828125,
0.87060546875
],
[
0.08087158203125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88525390625,
0.08087158203125,
0.88525390625
],
[
0.5048828125,
0.87255859375,
0.88818359375,
0.87255859375,
0.88818359375,
0.88623046875,
0.5048828125,
0.88623046875
],
[
0.080078125,
0.88623046875,
0.468017578125,
0.88720703125,
0.468017578125,
0.9013671875,
0.080078125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.8896484375,
0.88720703125,
0.8896484375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"认图像有所不同。我们将此网络命名为基于信任的门",
"Algorithm1.COSMOInference",
"(CBG)。如图2所示",
"1:Input:Image",
"个重要的技术复杂性是训练CBG不能观察任何",
"2: Estimate ps(y, S) and pzs(y,u) of two experts",
"u图像,因为它们必须用作看不见的。因此,我们从未",
"3: Estimate pGate(S) = f(ps(y,S),pzs(y,u)) : Fig",
"用于训练的S类创建一个保留集,并使用它们来估计",
"专家对U图像的输出响应。下面,我们将这组类称为",
"2",
"4: Estimate p'(ylS) and p'(ylu) by smoothing; Eq. (4)",
"类,并将其图像称为图像。请注意,由于类似的原因",
"我们不能与S和u专家一起训练gater。有关详细信",
"5: Estimate p(y) by soft-combining; Eq. (2)",
"息,请参阅补充K",
"这增加了进一步的复杂性:在”类上训练看不见的专",
"家意味着在测试时,当出现测试类时,看不见的专家",
"应用自适应先验:",
"应该具有与训练期间的输出层不同的输出层。具体来",
"说,它对应于新的(测试)类,可能具有不同的维度。",
"p'(yu) = p(u)p(yu) +(1-p(u))u",
"为了使专家输出中的类的身份和顺序保持不变,BG",
"=p(y,u)+ (1-p(u))u:",
"",
"(4)",
"获取软max的top-K分数并对其进行排序。这个过",
"类似地p(ylS)=p(S)p(ylS)+(1-p(S)元s。在实践中",
"程,我们称之为top-kpooling,保证了CBG对于特定",
"的类是不变的。Top-K池化概括了最大池化,并等效",
"我们对p(y,u)使用zs模型估计,对p(u)使用门控模",
"于K=1的最大池化",
"型估计,得出 p'(ylu)=pzs(y,u)+(1-pGate(u))u",
"对p'(ylS)也类似。",
"4.2.Adaptive confidence smoothing",
"从原理概率的角度来看,Eq.(4)应用总概率定律并",
"权衡两项:(1)分类器预测p(ylu);(2)均匀平滑先",
"如上所述,概率分类器倾向于将大部分softmax质",
"验元u。他们认为输人图像来自专家熟悉的类p(u)或",
"量分配给很少的类,即使样本不属于词汇表中的任何",
"不熟悉的(1一P())。最右边的术语意味着,鉴于我们",
"类。直觉上,当给定一个词汇外类别的图像作为输入",
"知道图像对于专家来说是不熟悉的,我们分配一个统",
"时,我们希望所有类别都获得一个统一的低概率,因为",
"的低概率,该概率由输入图像确实不熟悉的信念来",
"它们都是“同样错误的”。为了在我们的模型中包含这",
"衡量",
"种先验信念,我们借鉴了贝叶斯参数估计的思想。根据",
"生成的模型有两个有趣的属性。首先,它减少了超",
"模型提供的置信度(softmax输出分数):将类置信度",
"参数调整,因为先前的权重是自动确定的。其次,平滑",
"值的集合视为我们希望估计的数量。在贝叶斯估计中,",
"为每个分数添加一个恒定值,因此它保持了达到每个",
"人们将数据(这里是预测的置信度)与先验分布(这里",
"专家最大值的类别,但同时影响了他们在Eq.(2)中的",
"是我们的先验信念)结合起来",
"组合预测",
"具体来说,对于经验分类(多项式)数据,拉普拉斯",
"平滑[30]是一种常见的技术,可以在有限的样本下实",
"5.Details of our approach",
"现稳健的估计。它相当于在所有类中均匀地添加“伪计",
"数”,并作为类的先验分布。我们可以在这里应用类似",
"我们的方法有三个学习模块:可见类,不可见类和",
"的技术,并将预测与加性先验分布元u=po(yu)结合",
"区分它们的模型。这三个组件分别进行培训。Supp。K",
"起来。这产生了",
"节解释了为什么不能在此设置中共同训练它们",
"p(g)=(1-)p(ylu)+入u,",
"看不见的类的模型。对于看不见的类,我们使用LAGO",
"(3)",
"[7]或fCLSWGAN[48]与作者提供的代码。这些模型",
"中的每一个都为ZSL基准测试的一部分实现了最先进",
",其中入对先验进行加权,而u不以为条件。同样,",
"的结果。LAGO通过学习属性上的AND-OR组结构来",
"对于看到的分布,我们设置p^(yS)=(1-)p(ylS)+",
"入元S。当没有其他信息可用时,我们将先验设置为最",
"预测pzS(ya)。fCLSWGAN[48]使用GAN用看不",
"见的类的合成特征向量来增强训练数据,然后训练分",
"大摘分布,即均匀分布元u=1/(#unseenclasses)和",
"类器来识别类。我们重新训练了GZSL分割上的模型",
"πs = 1/(#seen classes)",
"(图4)",
"可见类的模型。对于可见类,我们训练了一个逻辑回归",
"An Adaptive Prior:",
"应该如何设置先前的权重入?",
"分类器来预测ps(yla)。我们使用了一个LBFGS求解",
"在拉普拉斯平滑中,添加一个常量伪计数具有其相对",
"器[12],它具有sci-kit学习[35]的默认攻击性超参数",
"权重随着更多样本可用而降低的特性。直观上,这意味",
"(C=1),因为它在Seen-Val集上表现出良好的性能(图",
"着当数据提供有力的证据时,先验的权重更弱。我们采",
"40",
"用这种直觉来使权衡参数入自适应。直观地,如果我",
"们认为样本不属于可见类,我们将平滑可见分类器输",
"基于置信度的门控模型。为了区分Seen和Unseen类",
"出(图1)。更具体地说,我们通过将常数入替换为我",
"我们使用逻辑回归分类器来预测p(Sa),在Gating-",
"们对每个域的信念(对于p(ylu)设置入=p(u))来",
"Train集上训练(图4)。对于输入功能,我们使用看"
] |
{
"arxiv_id": "1812.09903",
"language": "zh",
"page_idx": 3
}
|
||
1812.09903-zh-4
|
1812.09903-zh-4.jpg
|
不见的专家($p^ZS$)和看见的专家($p^S$)的 softmax 分数。我们还将温度缩放[28]应用于$p^S$, Figure 2 的输入
我们将 sci-kit 学习 LBFGS 求解器与默认的侵略性超参数(C=1)一起使用,因为权重的数量(???-50)比训练样本的数量(~.千) 小得多。我们通过添加恒定偏差$\beta$并在其分数之上应用具有$\gamma$增益的 S 形,来调整门控模型的决策阈值和软度:
$$p(\mathcal{S}|\boldsymbol{x})=\sigma\Big\{\gamma[score-\beta]\Big\}\quad.$$
(5)
$\gamma$和$\beta$使用交叉验证进行调整
# 6. Experiments
我们在四个 GZSL 基准上测试了 COSMO ,并与 17
种最先进的方法进行了比较
重现我们实验的源代码在 http://chechiklab.biu.ac.
il/~yuvval/COSMO/ 下
# 6.1. Evaluation protocol
要评估 COSMO 我们遵循西安[49,47]的协议,该协议成为比较 GZSL 方法的通用实验框架。我们的评估使用其功能(ResNet[22]),交叉验证拆分和评估指标来与最先进的基线进行比较
评估指标:根据定义,GZSL 针对两个不同的子任务: 对可见类进行分类和对不可见类进行分类。因此,标准GZSL 评估指标结合了这两个子任务的准确性。在[47] 之后,我们报告$Acc_{tr}$的谐波平均值-可见类的精度, 以及$Acc_{ts}$ -不可见类的精度,请参见$[47],Acc_H=$ $2(Acc_{ts}Acc_{tr)}/(Acc_{ts}+Acc_{tr})$中的公式 21
作为第二个度量,我们使用一个参数来扫描决策阈值,计算完整的可见-不可见精度曲线。与精确召回曲线或 ROC 曲线一样,可见-不可见曲线在可见域和不可见域的性能之间提供了可调的权衡
最后,我们报告了看不见的曲线下面积(AUSUC)
[9]
## $6. 2. \textbf{ Datasets}$
我们在四个 generalized zero-shot learning 基准数据集上测试了 COSMO: CUB , AWA , SUN 和 FLOWER CUB [45]:是对鸟类进行细粒度分类的任务。CUB 有11,788个 200 种鸟类的图像。由 312 个属性描述的每个物种(如翼色橄榄色,喙形弯曲)。它有 100 个看到的培训课程,50 个看不见的验证和 50 个看不见的测试课程
AWA:具有属性的动物(AWA)[25]由50个动物类别的 30,475 个图像组成。类和属性与[33,21]的类属性矩阵对齐,使用 85 个属性的词汇表(如白色,棕色, 条纹,吃鱼)。它有 27 个看到的培训课程,13 个看不见的验证和 10 个看不见的测试课程
SUN[34]:是复杂视觉场景的数据集,具有来自 717个场景类型和 102 个语义属性的 14,340 个图像。它有
580 个看到的培训课程,65 个看不见的验证和 72 个看
不见的测试课程
FLOWER [32]:是花卉细粒度分类的数据集,具有102 个类的 8189 个图像。类描述基于 [36] 中的句子嵌人。我们没有使用此数据集测试 COSMO+LAGO,因为 LAGO 不能使用句子嵌入
## 6.3. Cross-validation
为了选择 COSMO的超参数,我们进行了两个额外
的拆分:GZSL-val 和 GatingTrain/Val。详见图 4
我们使用交叉验证来优化 GZSL-Val 集上 Eq. (5) 的$\beta$和$\gamma$上的$Acc_H$度量。我们通过首先进行粗略的网格搜索,然后围绕阈值的最佳执行值进行更精细的搜索来调整这些超参数。独立地,我们在 Gating-Train/Val 上使用交叉验证来优化$T$ (温度)和$K$ (用于前 K 池)上的非分布 AUC
我们强调,使用 Gating-Train/Val 训练门控网络不被视为使用外部数据进行训练,因为根据[47],一旦选择了超参数,就会在训练和验证集的联合上重新训练模型(不包括门控模型)
## 6.4. Compared methods
我们将 COSMO 与 17 种领先的 GZSL 方法进行了比较。这些包括广泛使用的基线,如 ESZSL[38] , ALE [1] , SYNC [8] , SJE [2] , DEVISE [13] , 我们使用的方法 RN [43], DEM [55], ICINESS [15], TRIPLE [54] , 内核
最近的工作表明,使用 GAN 或 VAEs [48,11,5,57] 生成看不见的类的合成样本可以大大改善 generalized zero-shot learning 。最近的文献认为这种生成的努力与建模是正交的,因为这两种努力可以结合起来[29,7, 56,15,54]。在这里,我们将 COSMO 与上面列出的方${\text{法以及生成方法 fCLSWGAN}[48]},{\mathrm{cycle-~(U)~WGAN}}$ [11] , SE-GZSL[5]直接进行比较
## 7. Results
我们首先描述 COSMO 在四个基准测试集上的性能,并将其与基准方法进行比较。然后,我们通过一系列消融实验,更深人地研究 COSMO 的特性
描 沭 了 COSMO+LAGO
表 1
COSMO+fCLSWGAN 的测试准确性,并比较了四个基准数据集的方法。与非生成模型相比,对于所有四个数据集,COSMO+LAGO 都大大提高了谐波精度 $Acc_{H}:63。6\%$vs47。3AWA 中的$\%$, 41%与 30。$3\%$在太阳和 50。2%vs$47\%$在 CUB 中
此外,COSMO+LAGO 通过生成方法缩小了性能差距。它在 AWA 中获胜(63。6%与 61。5%) 和 SUN(41% 对 39。4%), 并在 CUB 中丢失 (50。2% 与 53%)。有趣的是,COSMO+LAGO 达到了最先进的性能,尽管单独的 LAGO 在广义的 ZSL 任务上表现不佳
COSMO+fCLSWGAN 在 FLOWER(68。8%vs65。$6\%)$。在 AWA, SUN 和 CUB 上,它的性能低于
|
[
[
0.08087158203125,
0.091552734375,
0.468017578125,
0.0921630859375,
0.468017578125,
0.106689453125,
0.08087158203125,
0.1060791015625
],
[
0.50341796875,
0.0921630859375,
0.8896484375,
0.0921630859375,
0.8896484375,
0.1060791015625,
0.50341796875,
0.1060791015625
],
[
0.08251953125,
0.10797119140625,
0.468017578125,
0.10797119140625,
0.468017578125,
0.121826171875,
0.08251953125,
0.121826171875
],
[
0.50341796875,
0.10797119140625,
0.619140625,
0.10797119140625,
0.619140625,
0.121826171875,
0.50341796875,
0.121826171875
],
[
0.08251953125,
0.1256103515625,
0.11358642578125,
0.1256103515625,
0.11358642578125,
0.1337890625,
0.08251953125,
0.1337890625
],
[
0.50244140625,
0.12249755859375,
0.8896484375,
0.125,
0.8896484375,
0.1383056640625,
0.50244140625,
0.1363525390625
],
[
0.1004638671875,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.1004638671875,
0.1514892578125
],
[
0.50244140625,
0.136962890625,
0.890625,
0.1383056640625,
0.890625,
0.15283203125,
0.50244140625,
0.1514892578125
],
[
0.08087158203125,
0.15283203125,
0.46728515625,
0.15283203125,
0.46728515625,
0.1666259765625,
0.08087158203125,
0.1666259765625
],
[
0.50244140625,
0.1514892578125,
0.890625,
0.15283203125,
0.890625,
0.1673583984375,
0.50244140625,
0.1666259765625
],
[
0.08416748046875,
0.17041015625,
0.46728515625,
0.17041015625,
0.46728515625,
0.18115234375,
0.08416748046875,
0.18115234375
],
[
0.50244140625,
0.1673583984375,
0.70751953125,
0.1673583984375,
0.70751953125,
0.18115234375,
0.50244140625,
0.18115234375
],
[
0.08251953125,
0.184326171875,
0.468017578125,
0.184326171875,
0.468017578125,
0.1976318359375,
0.08251953125,
0.1976318359375
],
[
0.08251953125,
0.1988525390625,
0.28515625,
0.1988525390625,
0.28515625,
0.212158203125,
0.08251953125,
0.212158203125
],
[
0.50244140625,
0.1932373046875,
0.66845703125,
0.1944580078125,
0.66845703125,
0.208984375,
0.50244140625,
0.2083740234375
],
[
0.52392578125,
0.2197265625,
0.8896484375,
0.2197265625,
0.8896484375,
0.23291015625,
0.52392578125,
0.23291015625
],
[
0.1650390625,
0.2279052734375,
0.3505859375,
0.2259521484375,
0.3505859375,
0.24365234375,
0.1650390625,
0.24560546875
],
[
0.44677734375,
0.2310791015625,
0.468017578125,
0.2310791015625,
0.468017578125,
0.24365234375,
0.44677734375,
0.24365234375
],
[
0.50244140625,
0.2342529296875,
0.86376953125,
0.2342529296875,
0.86376953125,
0.2474365234375,
0.50244140625,
0.2474365234375
],
[
0.52392578125,
0.25,
0.890625,
0.25,
0.890625,
0.26318359375,
0.52392578125,
0.26318359375
],
[
0.080078125,
0.261962890625,
0.295654296875,
0.261962890625,
0.295654296875,
0.27587890625,
0.080078125,
0.27587890625
],
[
0.5048828125,
0.266357421875,
0.8896484375,
0.266357421875,
0.8896484375,
0.276611328125,
0.5048828125,
0.276611328125
],
[
0.50244140625,
0.279052734375,
0.8896484375,
0.279052734375,
0.8896484375,
0.292236328125,
0.50244140625,
0.292236328125
],
[
0.080078125,
0.291748046875,
0.2181396484375,
0.291748046875,
0.2181396484375,
0.304931640625,
0.080078125,
0.304931640625
],
[
0.50341796875,
0.294189453125,
0.890625,
0.294189453125,
0.890625,
0.30810546875,
0.50341796875,
0.30810546875
],
[
0.1004638671875,
0.31494140625,
0.46728515625,
0.31494140625,
0.46728515625,
0.328857421875,
0.1004638671875,
0.328857421875
],
[
0.50634765625,
0.31005859375,
0.89208984375,
0.31005859375,
0.89208984375,
0.323974609375,
0.50634765625,
0.323974609375
],
[
0.08087158203125,
0.330810546875,
0.27685546875,
0.330810546875,
0.27685546875,
0.3447265625,
0.08087158203125,
0.3447265625
],
[
0.5048828125,
0.326904296875,
0.66015625,
0.326904296875,
0.66015625,
0.337158203125,
0.5048828125,
0.337158203125
],
[
0.101318359375,
0.34521484375,
0.465576171875,
0.34521484375,
0.465576171875,
0.359130859375,
0.101318359375,
0.359130859375
],
[
0.52294921875,
0.341552734375,
0.890625,
0.341552734375,
0.890625,
0.354736328125,
0.52294921875,
0.354736328125
],
[
0.080078125,
0.361083984375,
0.2548828125,
0.361083984375,
0.2548828125,
0.375732421875,
0.080078125,
0.375732421875
],
[
0.50341796875,
0.35595703125,
0.890625,
0.35595703125,
0.890625,
0.369384765625,
0.50341796875,
0.369384765625
],
[
0.50341796875,
0.37060546875,
0.890625,
0.37060546875,
0.890625,
0.3837890625,
0.50341796875,
0.3837890625
],
[
0.08087158203125,
0.385009765625,
0.26953125,
0.385009765625,
0.26953125,
0.3984375,
0.08087158203125,
0.3984375
],
[
0.50341796875,
0.385009765625,
0.689453125,
0.385009765625,
0.689453125,
0.3984375,
0.50341796875,
0.3984375
],
[
0.098876953125,
0.40771484375,
0.468017578125,
0.4091796875,
0.468017578125,
0.423583984375,
0.098876953125,
0.42236328125
],
[
0.50341796875,
0.412353515625,
0.69287109375,
0.412353515625,
0.69287109375,
0.4267578125,
0.50341796875,
0.4267578125
],
[
0.08087158203125,
0.4248046875,
0.468017578125,
0.4248046875,
0.468017578125,
0.438232421875,
0.08087158203125,
0.438232421875
],
[
0.08087158203125,
0.439453125,
0.468017578125,
0.439453125,
0.468017578125,
0.45263671875,
0.08087158203125,
0.45263671875
],
[
0.52294921875,
0.436279296875,
0.8896484375,
0.436279296875,
0.8896484375,
0.449462890625,
0.52294921875,
0.449462890625
],
[
0.08087158203125,
0.455078125,
0.294189453125,
0.455078125,
0.294189453125,
0.468505859375,
0.08087158203125,
0.468505859375
],
[
0.5048828125,
0.451904296875,
0.890625,
0.451904296875,
0.890625,
0.46533203125,
0.5048828125,
0.46533203125
],
[
0.5048828125,
0.466552734375,
0.8896484375,
0.466552734375,
0.8896484375,
0.479736328125,
0.5048828125,
0.479736328125
],
[
0.08251953125,
0.477783203125,
0.4697265625,
0.477783203125,
0.4697265625,
0.488037109375,
0.08251953125,
0.488037109375
],
[
0.50341796875,
0.48095703125,
0.89208984375,
0.48095703125,
0.89208984375,
0.494384765625,
0.50341796875,
0.494384765625
],
[
0.08087158203125,
0.4912109375,
0.468017578125,
0.4912109375,
0.468017578125,
0.5048828125,
0.08087158203125,
0.5048828125
],
[
0.5048828125,
0.49755859375,
0.583984375,
0.49755859375,
0.583984375,
0.5087890625,
0.5048828125,
0.5087890625
],
[
0.080078125,
0.5048828125,
0.46728515625,
0.505859375,
0.46728515625,
0.51953125,
0.080078125,
0.51806640625
],
[
0.52392578125,
0.51220703125,
0.88818359375,
0.51220703125,
0.88818359375,
0.52587890625,
0.52392578125,
0.52587890625
],
[
0.08087158203125,
0.521484375,
0.4697265625,
0.521484375,
0.4697265625,
0.5361328125,
0.08087158203125,
0.5361328125
],
[
0.50244140625,
0.52587890625,
0.890625,
0.5263671875,
0.890625,
0.54150390625,
0.50244140625,
0.54052734375
],
[
0.08087158203125,
0.5361328125,
0.468017578125,
0.5361328125,
0.468017578125,
0.55029296875,
0.08087158203125,
0.55029296875
],
[
0.50244140625,
0.54150390625,
0.8896484375,
0.54248046875,
0.8896484375,
0.55615234375,
0.50244140625,
0.5546875
],
[
0.080078125,
0.5517578125,
0.386474609375,
0.55029296875,
0.386474609375,
0.564453125,
0.080078125,
0.56494140625
],
[
0.5048828125,
0.55810546875,
0.890625,
0.55810546875,
0.890625,
0.5712890625,
0.5048828125,
0.5712890625
],
[
0.1004638671875,
0.5673828125,
0.468017578125,
0.5673828125,
0.468017578125,
0.58056640625,
0.1004638671875,
0.58056640625
],
[
0.50341796875,
0.57275390625,
0.8896484375,
0.57275390625,
0.8896484375,
0.5859375,
0.50341796875,
0.5859375
],
[
0.08251953125,
0.583984375,
0.465576171875,
0.583984375,
0.465576171875,
0.5947265625,
0.08251953125,
0.5947265625
],
[
0.50341796875,
0.58837890625,
0.890625,
0.58837890625,
0.890625,
0.6015625,
0.50341796875,
0.6015625
],
[
0.08087158203125,
0.5966796875,
0.468017578125,
0.5966796875,
0.468017578125,
0.60986328125,
0.08087158203125,
0.60986328125
],
[
0.50341796875,
0.60302734375,
0.74609375,
0.60302734375,
0.74609375,
0.6162109375,
0.50341796875,
0.6162109375
],
[
0.08251953125,
0.6123046875,
0.34228515625,
0.6123046875,
0.34228515625,
0.62548828125,
0.08251953125,
0.62548828125
],
[
0.1004638671875,
0.62744140625,
0.471435546875,
0.62744140625,
0.471435546875,
0.6416015625,
0.1004638671875,
0.6416015625
],
[
0.5009765625,
0.6318359375,
0.59716796875,
0.6337890625,
0.59716796875,
0.64794921875,
0.5009765625,
0.64599609375
],
[
0.080078125,
0.64306640625,
0.101318359375,
0.64306640625,
0.101318359375,
0.6572265625,
0.080078125,
0.6572265625
],
[
0.52294921875,
0.6591796875,
0.890625,
0.6591796875,
0.890625,
0.67236328125,
0.52294921875,
0.67236328125
],
[
0.08087158203125,
0.66845703125,
0.1829833984375,
0.66845703125,
0.1829833984375,
0.6796875,
0.08087158203125,
0.6796875
],
[
0.5048828125,
0.6748046875,
0.8896484375,
0.6748046875,
0.8896484375,
0.68798828125,
0.5048828125,
0.68798828125
],
[
0.1004638671875,
0.69140625,
0.4697265625,
0.69140625,
0.4697265625,
0.705078125,
0.1004638671875,
0.705078125
],
[
0.50341796875,
0.689453125,
0.82177734375,
0.689453125,
0.82177734375,
0.70263671875,
0.50341796875,
0.70263671875
],
[
0.080078125,
0.705078125,
0.468017578125,
0.7041015625,
0.468017578125,
0.71826171875,
0.080078125,
0.7197265625
],
[
0.52294921875,
0.705078125,
0.70751953125,
0.705078125,
0.70751953125,
0.71826171875,
0.52294921875,
0.71826171875
],
[
0.70166015625,
0.70703125,
0.7236328125,
0.70703125,
0.7236328125,
0.7138671875,
0.70166015625,
0.7138671875
],
[
0.72216796875,
0.70849609375,
0.72802734375,
0.70849609375,
0.72802734375,
0.71337890625,
0.72216796875,
0.71337890625
],
[
0.7255859375,
0.7041015625,
0.8544921875,
0.7041015625,
0.8544921875,
0.71728515625,
0.7255859375,
0.71728515625
],
[
0.08087158203125,
0.72021484375,
0.468017578125,
0.72021484375,
0.468017578125,
0.734375,
0.08087158203125,
0.734375
],
[
0.50244140625,
0.71826171875,
0.8896484375,
0.7197265625,
0.8896484375,
0.73291015625,
0.50244140625,
0.73193359375
],
[
0.08087158203125,
0.736328125,
0.468017578125,
0.736328125,
0.468017578125,
0.75,
0.08087158203125,
0.75
],
[
0.50244140625,
0.734375,
0.8896484375,
0.734375,
0.8896484375,
0.74755859375,
0.50244140625,
0.74755859375
],
[
0.08087158203125,
0.751953125,
0.468017578125,
0.751953125,
0.468017578125,
0.76513671875,
0.08087158203125,
0.76513671875
],
[
0.50341796875,
0.75048828125,
0.8896484375,
0.75048828125,
0.8896484375,
0.7646484375,
0.50341796875,
0.7646484375
],
[
0.08087158203125,
0.7666015625,
0.468017578125,
0.7666015625,
0.468017578125,
0.77978515625,
0.08087158203125,
0.77978515625
],
[
0.50341796875,
0.76513671875,
0.89208984375,
0.76513671875,
0.89208984375,
0.77978515625,
0.50341796875,
0.77978515625
],
[
0.08251953125,
0.7822265625,
0.11517333984375,
0.7822265625,
0.11517333984375,
0.79443359375,
0.08251953125,
0.79443359375
],
[
0.50341796875,
0.77978515625,
0.7861328125,
0.77978515625,
0.7861328125,
0.79345703125,
0.50341796875,
0.79345703125
],
[
0.08087158203125,
0.79443359375,
0.468017578125,
0.79541015625,
0.468017578125,
0.81005859375,
0.08087158203125,
0.8095703125
],
[
0.52392578125,
0.796875,
0.890625,
0.796875,
0.890625,
0.81005859375,
0.52392578125,
0.81005859375
],
[
0.08251953125,
0.81103515625,
0.468017578125,
0.81103515625,
0.468017578125,
0.82470703125,
0.08251953125,
0.82470703125
],
[
0.50341796875,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.50341796875,
0.82470703125
],
[
0.08087158203125,
0.8271484375,
0.4697265625,
0.8271484375,
0.4697265625,
0.84033203125,
0.08087158203125,
0.84033203125
],
[
0.50341796875,
0.82568359375,
0.8896484375,
0.82568359375,
0.8896484375,
0.8388671875,
0.50341796875,
0.8388671875
],
[
0.08416748046875,
0.84326171875,
0.46728515625,
0.84326171875,
0.46728515625,
0.85400390625,
0.08416748046875,
0.85400390625
],
[
0.50244140625,
0.84130859375,
0.8896484375,
0.84130859375,
0.8896484375,
0.85498046875,
0.50244140625,
0.85498046875
],
[
0.08087158203125,
0.85693359375,
0.338134765625,
0.85693359375,
0.338134765625,
0.87060546875,
0.08087158203125,
0.87060546875
],
[
0.50244140625,
0.85595703125,
0.8310546875,
0.85595703125,
0.8310546875,
0.869140625,
0.50244140625,
0.869140625
],
[
0.080078125,
0.87060546875,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.080078125,
0.88525390625
],
[
0.52294921875,
0.8720703125,
0.890625,
0.8720703125,
0.890625,
0.88525390625,
0.52294921875,
0.88525390625
],
[
0.08087158203125,
0.88720703125,
0.468017578125,
0.88720703125,
0.468017578125,
0.90087890625,
0.08087158203125,
0.90087890625
],
[
0.50341796875,
0.88720703125,
0.8896484375,
0.88720703125,
0.8896484375,
0.90087890625,
0.50341796875,
0.90087890625
]
] |
[
"不见的专家(pzs)和看见的专家(ps)的softmax",
"580个看到的培训课程,65个看不见的验证和72个看",
"分数。我们还将温度缩放[28]应用于ps,Figure2的",
"不见的测试课程",
"输入",
"FLOWER[32]:是花卉细粒度分类的数据集,具有",
"我们将sci-kit学习LBFGS求解器与默认的侵略性",
"102个类的8189个图像。类描述基于[36]中的句子嵌",
"超参数(C=1)一起使用,因为权重的数量(???-50)比",
"人。我们没有使用此数据集测试COSMO+LAGO,因",
"训练样本的数量(~千)小得多。我们通过添加恒定偏",
"为LAGO不能使用句子嵌人",
"差β并在其分数之上应用具有增益的S形,来调整",
"门控模型的决策阈值和软度:",
"6.3. Cross-validation",
"为了选择COSMO的超参数,我们进行了两个额外",
"p(S[) =a[score - β]",
"(5)",
"的拆分:GZSL-val和GatingTrain/Val。详见图4",
"我们使用交叉验证来优化GZSL-Val集上Eq.(5)的",
"和β使用交叉验证进行调整",
"B和¥上的AccH度量。我们通过首先进行粗略的网格",
"搜索,然后围绕阈值的最佳执行值进行更精细的搜索",
"6.Experiments",
"来调整这些超参数。独立地,我们在Gating-Train/Val",
"我们在四个GZSL基准上测试了COSMO,并与17",
"上使用交叉验证来优化T(温度)和K(用于前K",
"种最先进的方法进行了比较",
"池)上的非分布AUC",
"重现我们实验的源代码在http://chechiklab.biu.ac.",
"我们强调,使用Gating-Train/Val训练门控网络不",
"il/~yuvval/COSMO/下",
"被视为使用外部数据进行训练,因为根据47],一旦",
"选择了超参数,就会在训练和验证集的联合上重新训",
"6.1. Evaluation protocol",
"练模型(不包括门控模型)",
"要评估COSMO我们遵循西安[49,47]的协议,该",
"6.4. Compared methods",
"协议成为比较GZSL方法的通用实验框架。我们的评",
"估使用其功能(ResNet[22]),交叉验证拆分和评估指",
"我们将COSMO与17种领先的GZSL方法进行了",
"标来与最先进的基线进行比较",
"比较。这些包括广泛使用的基线,如ESZSL[38],ALE",
"[1],SYNC[8],SJE[2],DEVISE[13],我们使用的",
"评估指标:根据定义,GZSL针对两个不同的子任务:",
"方法RN[43],DEM55],ICINESS[15],TRIPLE",
"对可见类进行分类和对不可见类进行分类。因此,标准",
"[54]:内核",
"GZSL评估指标结合了这两个子任务的准确性。在[47]",
"最近的工作表明,使用GAN或VAEs[48,11,5,57",
"之后,我们报告Acctr的谐波平均值-可见类的精度,",
"生成看不见的类的合成样本可以大大改善generalized",
"以及AcCts-不可见类的精度,请参见[47],AccH=",
"zero-shotlearning。最近的文献认为这种生成的努力",
"2(AcCtsAcCtr)/(Accts+Actr)中的公式21",
"与建模是正交的,因为这两种努力可以结合起来29,7,",
"作为第二个度量,我们使用一个参数来扫描决策阈",
"56,15,54。在这里,我们将COSMO与上面列出的方",
"值,计算完整的可见-不可见精度曲线。与精确召回曲",
"法以及生成方法fCLSWGAN[48],cycle-(U)WGAN",
"线或ROC曲线一样,可见-不可见曲线在可见域和不",
"[11],SE-GZSL[5]直接进行比较",
"可见域的性能之间提供了可调的权衡",
"最后,我们报告了看不见的曲线下面积(AUSUC)",
"7. Results",
"[9] ",
"我们首先描述COSMO在四个基准测试集上的性",
"6.2. Datasets",
"能,并将其与基准方法进行比较。然后,我们通过一系",
"我们在四个generalized zero-shotlearning基准数据",
"列消融实验,更深入地研究COSMO的特性",
"集上测试了COSMO:CUB,AWA,SUN和FLOWER",
"表1描述了",
"",
"",
"COSMO+LAGO",
"CUB[45]:是对鸟类进行细粒度分类的任务。CUB有",
"COSMO+fCLSWGAN的测试准确性,并比较了",
"11,788个200种鸟类的图像。由312个属性描述的每",
"四个基准数据集的方法。与非生成模型相比,对于所",
"个物种(如翼色橄榄色,喙形弯曲)。它有100个看到",
"有四个数据集,COSMO+LAGO都大大提高了谐波精",
"的培训课程,50个看不见的验证和50个看不见的测试",
"度AccH:63。6%vs47。3AWA中的%,41%与30。",
"课程",
"3%在太阳和50。2%vs47%在CUB中",
"AWA:具有属性的动物(AWA)[25]由50个动物类",
"此外,COSMO+LAGO通过生成方法缩小了性能差",
"别的30,475个图像组成。类和属性与[33,21]的类属",
"距。它在AWA中获胜(63。6%与61。5%)和SUN(41%",
"性矩阵对齐,使用85个属性的词汇表(如白色,棕色,",
"对39。4%),并在CUB中丢失(50。2%与53%)。有",
"条纹:吃鱼)。它有27个看到的培训课程,13个看不",
"趣的是,COSMO+LAGO达到了最先进的性能,尽管",
"见的验证和10个看不见的测试课程",
"单独的LAGO在广义的ZSL任务上表现不佳",
"SUN[34]:是复杂视觉场景的数据集,具有来自717",
"COSMO+fCLSWGAN 在 FLOWER(68。8%vs65",
"个场景类型和102个语义属性的14,340个图像。它有",
"6%)。在AWA,SUN和CUB上,它的性能低于"
] |
{
"arxiv_id": "1812.09903",
"language": "zh",
"page_idx": 4
}
|
||
2104.07905-zh-1
|
2104.07905-zh-1.jpg
|
的)自我视频提示引导,以更好地将传统的第三人称视频预训练与下游自我中心视频任务。具体来说,我们引人了一系列自我启发的任务,这些任务需要视频模型来预测操纵对象,时空手物交互区域以及一般的自我中心性。然后,我们将这些任务作为知识提炼损失纳人培训,以补充第三人称视频上的动作分类预培训目标。请参见图。1。通过设计,我们的视频模型可以继续享受大量标记的第三人称训练数据,同时将以自我为中心的信号嵌入到学习的特征中,使其成为以自我为中心的视频任务的传统视频编码器的合适替代品。最后,我们的方法在预训练期间不假设任何配对或活动标记的自我中心视频;自我中心信号直接从第三人称视频推断
我们在三个具有挑战性的以自我为中心的视频数据集上的实验表明,我们的“Ego-Exo”框架从第三人称视频中学习了强大的以自我为中心的特征表示。在Charades-Ego$\mathbb{E}[62]$上,我们的模型改进了在 Kinetics 上预先训练的模型-标准的预训练和微调范式-by3。26mAP,并且优于专门针对弥合观点之间的领域差距的方法。最后,我们的预训练模型在 EPIC-Kitchens- 100 [11]上实现了最先进的结果,这是最大的可用第一人称数据集
### 2.Related Work
Egocentric video understanding The unique viewpoint in egocentric video presents interesting research challenges including action recognition and anticipation [77,21,59,1], daily life summary generation [ 36, 74] , inferring body pose [ 32, 51] , and esti- ${\mathrm{mating~gaze~[37,31].~Several~egocentric~video~datasets}}$ have been created to support these challenges [12,38, 54, 62]. Model architectures proposed for these tasks include multi-stream networks [46,38,35,68], recurrent networks [22,21,65],3D conv nets [53,44] and spatially grounded topological graph models [50].
These architectures vary significantly, but all use video encoders that are similarly pre-trained with third-person video datasets, despite being applied to egocentric video tasks. In contrast, we introduce key egocentric losses during exocentric video pre-training that bridge the domain gap when applied to downstream egocentric video tasks.
Joint frst/third person video understanding Several strategies have been proposed to address the domain gap between frst and third person video. Prior work learns viewpoint-invariant representations using embedding learning methods, and applies them to action recognition [63,61,3], video summarization [30], image retrieval [17], person segmentation [72], and $\bar{\text{attention- driven gaze prediction}} [ 75] .$ Image generation methods [16,56,57,41] use generative adversarial frameworks to synthesize one viewpoint from the
other. Viewpoint invariance has also been treated as a ${\mathrm{domain~adaptation~task~in~prior~work,~adapting~third-}}$ person video models for overhead drone-footage [10]. Other methods use egocentric video as a modality to supplement top-view footage to improve identification and tracking models [2,4,5,73].
The above methods require paired datasets that are either simultaneously recorded or that share the same labels for instances across viewpoints. In contrast, our method leverages only third-person video datasets, but is augmented with pseudo-labels (derived from frstperson models) to learn egocentric video representations, thus circumventing both the need for frst-person video during pre-training and the need for paired labeled data.
Knowledge distillation for video In knowledge distillation (KD), one network is trained to reproduce the outputs of another [29]. Distillation serves to compress models [29,49,8] or incorporate privileged information from alternate tasks [43]. In videos, KD can incorporate information from alternate modalities like audio [24,6], depth and flow [28,64], or a combination [45],and object-level information [52]. In the context of self-supervised learning, prior work assigns weak image labels to video instances as supervision for video-level models [25]. In contrast, we use inferred weak labels that are relevant to the egocentric domain, and we use them alongside third-person video labels, rather than in place of them during pre-training.
Egocentric cues in video understanding models Egocentric video offers several unique cues that have been leveraged to improve video understanding models [39,46]. These include attention mechanisms from gaze and motor attention [47,38,42],active object detection [20,7,15,70],and hands in contact [66,60,33].
We are also interested in such important egocentric cues, but unlike prior work we do not train models on labeled egocentric video datasets to detect them. Instead, we embed labels predicted for these cues as auxiliary losses in third-person video models to steer feature learning towards egocentric relevant features. Unlike any of these prior methods, our goal is to leverage third-person video to pre-train first-person video ${\mathrm{models.}}$
# 3. Ego-Exo Approach
我们的目标是从第三人称视频数据集中学习以自我为中心的视频表示,方法是发现和提取与预培训期间以自我为中心的活动相关的有关手,物体和交互的重要线索(尽管观点不同)。为此,我们自动为第三人称视频实例分配各种以自我为中心的伪标签,这些伪标签将简单的相似性得分跨越到复杂的时空注意图,然
|
[
[
0.08251953125,
0.0921630859375,
0.468017578125,
0.0921630859375,
0.468017578125,
0.1060791015625,
0.08251953125,
0.1060791015625
],
[
0.50244140625,
0.0921630859375,
0.89208984375,
0.0921630859375,
0.89208984375,
0.1060791015625,
0.50244140625,
0.1060791015625
],
[
0.08087158203125,
0.10797119140625,
0.46728515625,
0.10797119140625,
0.46728515625,
0.121826171875,
0.08087158203125,
0.121826171875
],
[
0.50244140625,
0.10797119140625,
0.890625,
0.10797119140625,
0.890625,
0.121826171875,
0.50244140625,
0.121826171875
],
[
0.08416748046875,
0.125,
0.46728515625,
0.125,
0.46728515625,
0.1351318359375,
0.08416748046875,
0.1351318359375
],
[
0.50341796875,
0.12249755859375,
0.890625,
0.12249755859375,
0.890625,
0.1363525390625,
0.50341796875,
0.1363525390625
],
[
0.08251953125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08251953125,
0.1514892578125
],
[
0.50341796875,
0.1383056640625,
0.89208984375,
0.1383056640625,
0.89208984375,
0.1514892578125,
0.50341796875,
0.1514892578125
],
[
0.08251953125,
0.15283203125,
0.468017578125,
0.15283203125,
0.468017578125,
0.1666259765625,
0.08251953125,
0.1666259765625
],
[
0.5009765625,
0.15283203125,
0.89208984375,
0.1514892578125,
0.89208984375,
0.1666259765625,
0.5009765625,
0.1673583984375
],
[
0.08087158203125,
0.1666259765625,
0.465576171875,
0.1666259765625,
0.465576171875,
0.18115234375,
0.08087158203125,
0.18115234375
],
[
0.5009765625,
0.1666259765625,
0.736328125,
0.1673583984375,
0.736328125,
0.1817626953125,
0.5009765625,
0.18115234375
],
[
0.08251953125,
0.18310546875,
0.468017578125,
0.18310546875,
0.468017578125,
0.1962890625,
0.08251953125,
0.1962890625
],
[
0.521484375,
0.1817626953125,
0.89208984375,
0.18310546875,
0.89208984375,
0.1976318359375,
0.521484375,
0.1962890625
],
[
0.08251953125,
0.1988525390625,
0.46728515625,
0.1988525390625,
0.46728515625,
0.212158203125,
0.08251953125,
0.212158203125
],
[
0.50244140625,
0.1976318359375,
0.89208984375,
0.1976318359375,
0.89208984375,
0.2108154296875,
0.50244140625,
0.2108154296875
],
[
0.08251953125,
0.21337890625,
0.468017578125,
0.21337890625,
0.468017578125,
0.2266845703125,
0.08251953125,
0.2266845703125
],
[
0.50244140625,
0.21337890625,
0.89208984375,
0.21337890625,
0.89208984375,
0.2266845703125,
0.50244140625,
0.2266845703125
],
[
0.08251953125,
0.2279052734375,
0.468017578125,
0.2279052734375,
0.468017578125,
0.2412109375,
0.08251953125,
0.2412109375
],
[
0.50341796875,
0.2298583984375,
0.890625,
0.2298583984375,
0.890625,
0.240478515625,
0.50341796875,
0.240478515625
],
[
0.08087158203125,
0.24365234375,
0.468017578125,
0.24365234375,
0.468017578125,
0.2568359375,
0.08087158203125,
0.2568359375
],
[
0.50244140625,
0.24365234375,
0.890625,
0.24365234375,
0.890625,
0.2568359375,
0.50244140625,
0.2568359375
],
[
0.08087158203125,
0.25830078125,
0.468017578125,
0.25830078125,
0.468017578125,
0.272705078125,
0.08087158203125,
0.272705078125
],
[
0.50244140625,
0.25830078125,
0.890625,
0.2568359375,
0.890625,
0.271484375,
0.50244140625,
0.272705078125
],
[
0.080078125,
0.2734375,
0.131591796875,
0.2734375,
0.131591796875,
0.28857421875,
0.080078125,
0.28857421875
],
[
0.50341796875,
0.2734375,
0.89208984375,
0.2734375,
0.89208984375,
0.287353515625,
0.50341796875,
0.287353515625
],
[
0.1004638671875,
0.2890625,
0.468017578125,
0.2890625,
0.468017578125,
0.302978515625,
0.1004638671875,
0.302978515625
],
[
0.50341796875,
0.2890625,
0.890625,
0.2890625,
0.890625,
0.302978515625,
0.50341796875,
0.302978515625
],
[
0.08087158203125,
0.304931640625,
0.468017578125,
0.304931640625,
0.468017578125,
0.318115234375,
0.08087158203125,
0.318115234375
],
[
0.50341796875,
0.304931640625,
0.5849609375,
0.304931640625,
0.5849609375,
0.31640625,
0.50341796875,
0.31640625
],
[
0.08087158203125,
0.3193359375,
0.468017578125,
0.3193359375,
0.468017578125,
0.333251953125,
0.08087158203125,
0.333251953125
],
[
0.50732421875,
0.324462890625,
0.890625,
0.326904296875,
0.890625,
0.341552734375,
0.50732421875,
0.339111328125
],
[
0.08087158203125,
0.335205078125,
0.46728515625,
0.335205078125,
0.46728515625,
0.348388671875,
0.08087158203125,
0.348388671875
],
[
0.50244140625,
0.34033203125,
0.89208984375,
0.341552734375,
0.89208984375,
0.35595703125,
0.50244140625,
0.354736328125
],
[
0.080078125,
0.35107421875,
0.46728515625,
0.35107421875,
0.46728515625,
0.3642578125,
0.080078125,
0.3642578125
],
[
0.5048828125,
0.35791015625,
0.890625,
0.35791015625,
0.890625,
0.36865234375,
0.5048828125,
0.36865234375
],
[
0.080078125,
0.365478515625,
0.468017578125,
0.365478515625,
0.468017578125,
0.37890625,
0.080078125,
0.37890625
],
[
0.50341796875,
0.371826171875,
0.89208984375,
0.371826171875,
0.89208984375,
0.385009765625,
0.50341796875,
0.385009765625
],
[
0.08087158203125,
0.37890625,
0.465576171875,
0.37890625,
0.465576171875,
0.392578125,
0.08087158203125,
0.392578125
],
[
0.50341796875,
0.386962890625,
0.890625,
0.386962890625,
0.890625,
0.40087890625,
0.50341796875,
0.40087890625
],
[
0.080078125,
0.39453125,
0.468017578125,
0.39453125,
0.468017578125,
0.4091796875,
0.080078125,
0.4091796875
],
[
0.50341796875,
0.401611328125,
0.890625,
0.401611328125,
0.890625,
0.415283203125,
0.50341796875,
0.415283203125
],
[
0.08251953125,
0.410888671875,
0.1805419921875,
0.410888671875,
0.1805419921875,
0.42236328125,
0.08251953125,
0.42236328125
],
[
0.50341796875,
0.417236328125,
0.89208984375,
0.417236328125,
0.89208984375,
0.43115234375,
0.50341796875,
0.43115234375
],
[
0.50634765625,
0.434326171875,
0.890625,
0.434326171875,
0.890625,
0.4443359375,
0.50634765625,
0.4443359375
],
[
0.080078125,
0.44140625,
0.2181396484375,
0.44140625,
0.2181396484375,
0.455810546875,
0.080078125,
0.455810546875
],
[
0.50341796875,
0.44580078125,
0.890625,
0.4462890625,
0.890625,
0.4609375,
0.50341796875,
0.460205078125
],
[
0.08660888671875,
0.46728515625,
0.468017578125,
0.46728515625,
0.468017578125,
0.48095703125,
0.08660888671875,
0.48095703125
],
[
0.50341796875,
0.462158203125,
0.89208984375,
0.462158203125,
0.89208984375,
0.47607421875,
0.50341796875,
0.47607421875
],
[
0.08087158203125,
0.48291015625,
0.468017578125,
0.48291015625,
0.468017578125,
0.496826171875,
0.08087158203125,
0.496826171875
],
[
0.50244140625,
0.477783203125,
0.89208984375,
0.477783203125,
0.89208984375,
0.4912109375,
0.50244140625,
0.4912109375
],
[
0.080078125,
0.49755859375,
0.468017578125,
0.49755859375,
0.468017578125,
0.51123046875,
0.080078125,
0.51123046875
],
[
0.50244140625,
0.49365234375,
0.89208984375,
0.49365234375,
0.89208984375,
0.5068359375,
0.50244140625,
0.5068359375
],
[
0.080078125,
0.51318359375,
0.468017578125,
0.51318359375,
0.468017578125,
0.52783203125,
0.080078125,
0.52783203125
],
[
0.50341796875,
0.50830078125,
0.89208984375,
0.50830078125,
0.89208984375,
0.521484375,
0.50341796875,
0.521484375
],
[
0.07843017578125,
0.52587890625,
0.468017578125,
0.5263671875,
0.468017578125,
0.54150390625,
0.07843017578125,
0.54052734375
],
[
0.5009765625,
0.521484375,
0.76708984375,
0.52294921875,
0.76708984375,
0.537109375,
0.5009765625,
0.5361328125
],
[
0.080078125,
0.54248046875,
0.468017578125,
0.54248046875,
0.468017578125,
0.556640625,
0.080078125,
0.556640625
],
[
0.50634765625,
0.54443359375,
0.89208984375,
0.54443359375,
0.89208984375,
0.5595703125,
0.50634765625,
0.5595703125
],
[
0.080078125,
0.55810546875,
0.46728515625,
0.55810546875,
0.46728515625,
0.5712890625,
0.080078125,
0.5712890625
],
[
0.50341796875,
0.56005859375,
0.8935546875,
0.56005859375,
0.8935546875,
0.57373046875,
0.50341796875,
0.57373046875
],
[
0.07843017578125,
0.5712890625,
0.468017578125,
0.57275390625,
0.468017578125,
0.5869140625,
0.07843017578125,
0.5859375
],
[
0.50341796875,
0.57568359375,
0.89208984375,
0.57568359375,
0.89208984375,
0.5888671875,
0.50341796875,
0.5888671875
],
[
0.080078125,
0.58837890625,
0.46728515625,
0.58837890625,
0.46728515625,
0.6015625,
0.080078125,
0.6015625
],
[
0.5048828125,
0.59228515625,
0.890625,
0.59228515625,
0.890625,
0.60302734375,
0.5048828125,
0.60302734375
],
[
0.08087158203125,
0.60498046875,
0.46728515625,
0.60498046875,
0.46728515625,
0.61572265625,
0.08087158203125,
0.61572265625
],
[
0.50341796875,
0.60595703125,
0.89208984375,
0.60595703125,
0.89208984375,
0.619140625,
0.50341796875,
0.619140625
],
[
0.080078125,
0.61865234375,
0.4306640625,
0.61865234375,
0.4306640625,
0.6318359375,
0.080078125,
0.6318359375
],
[
0.50244140625,
0.62060546875,
0.890625,
0.619140625,
0.890625,
0.6337890625,
0.50244140625,
0.63525390625
],
[
0.1004638671875,
0.6337890625,
0.4697265625,
0.6337890625,
0.4697265625,
0.64794921875,
0.1004638671875,
0.64794921875
],
[
0.50341796875,
0.63623046875,
0.89208984375,
0.63623046875,
0.89208984375,
0.6494140625,
0.50341796875,
0.6494140625
],
[
0.08087158203125,
0.6494140625,
0.468017578125,
0.6494140625,
0.468017578125,
0.66357421875,
0.08087158203125,
0.66357421875
],
[
0.50244140625,
0.6513671875,
0.89208984375,
0.6513671875,
0.89208984375,
0.66552734375,
0.50244140625,
0.66552734375
],
[
0.07843017578125,
0.66357421875,
0.4697265625,
0.6640625,
0.4697265625,
0.6787109375,
0.07843017578125,
0.67822265625
],
[
0.50244140625,
0.66650390625,
0.8896484375,
0.66650390625,
0.8896484375,
0.6796875,
0.50244140625,
0.6796875
],
[
0.080078125,
0.6796875,
0.468017578125,
0.6796875,
0.468017578125,
0.693359375,
0.080078125,
0.693359375
],
[
0.50244140625,
0.68115234375,
0.89208984375,
0.68115234375,
0.89208984375,
0.6943359375,
0.50244140625,
0.6943359375
],
[
0.07843017578125,
0.6943359375,
0.4697265625,
0.69580078125,
0.4697265625,
0.708984375,
0.07843017578125,
0.70849609375
],
[
0.5048828125,
0.69775390625,
0.890625,
0.69775390625,
0.890625,
0.70849609375,
0.5048828125,
0.70849609375
],
[
0.080078125,
0.708984375,
0.46728515625,
0.708984375,
0.46728515625,
0.72265625,
0.080078125,
0.72265625
],
[
0.5009765625,
0.71044921875,
0.890625,
0.7119140625,
0.890625,
0.72607421875,
0.5009765625,
0.7236328125
],
[
0.080078125,
0.72607421875,
0.29736328125,
0.72607421875,
0.29736328125,
0.7392578125,
0.080078125,
0.7392578125
],
[
0.50244140625,
0.724609375,
0.890625,
0.72607421875,
0.890625,
0.74072265625,
0.50244140625,
0.7392578125
],
[
0.50341796875,
0.7412109375,
0.89208984375,
0.7412109375,
0.89208984375,
0.755859375,
0.50341796875,
0.755859375
],
[
0.08660888671875,
0.75048828125,
0.468017578125,
0.75048828125,
0.468017578125,
0.7646484375,
0.08660888671875,
0.7646484375
],
[
0.50341796875,
0.75830078125,
0.55810546875,
0.75830078125,
0.55810546875,
0.76953125,
0.50341796875,
0.76953125
],
[
0.080078125,
0.7666015625,
0.468017578125,
0.7666015625,
0.468017578125,
0.77978515625,
0.080078125,
0.77978515625
],
[
0.07843017578125,
0.77978515625,
0.468017578125,
0.78076171875,
0.468017578125,
0.79541015625,
0.07843017578125,
0.79443359375
],
[
0.50244140625,
0.7861328125,
0.69287109375,
0.7861328125,
0.69287109375,
0.80029296875,
0.50244140625,
0.80029296875
],
[
0.07843017578125,
0.79443359375,
0.468017578125,
0.796875,
0.468017578125,
0.81103515625,
0.07843017578125,
0.8095703125
],
[
0.080078125,
0.81103515625,
0.46728515625,
0.81103515625,
0.46728515625,
0.82470703125,
0.080078125,
0.82470703125
],
[
0.52294921875,
0.81103515625,
0.890625,
0.81103515625,
0.890625,
0.82470703125,
0.52294921875,
0.82470703125
],
[
0.080078125,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.080078125,
0.84033203125
],
[
0.50244140625,
0.82470703125,
0.890625,
0.82568359375,
0.890625,
0.84033203125,
0.50244140625,
0.8388671875
],
[
0.080078125,
0.84130859375,
0.468017578125,
0.84130859375,
0.468017578125,
0.85595703125,
0.080078125,
0.85595703125
],
[
0.50341796875,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.50341796875,
0.85498046875
],
[
0.080078125,
0.85693359375,
0.468017578125,
0.85693359375,
0.468017578125,
0.87060546875,
0.080078125,
0.87060546875
],
[
0.50341796875,
0.85693359375,
0.89208984375,
0.85693359375,
0.89208984375,
0.87060546875,
0.50341796875,
0.87060546875
],
[
0.080078125,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.080078125,
0.88623046875
],
[
0.5048828125,
0.8720703125,
0.89208984375,
0.8720703125,
0.89208984375,
0.88525390625,
0.5048828125,
0.88525390625
],
[
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
]
] |
[
"的)自我视频提示引导,以更好地将传统的第三人称视",
"other. Viewpoint invariance has also been treated as a",
"频预训练与下游自我中心视频任务。具体来说,我们引",
"domain adaptation task in prior work, adapting third-",
"入了一系列自我启发的任务,这些任务需要视频模型",
"person video models for overhead drone-footage [1o].",
"来预测操纵对象,时空手物交互区域以及一般的自我",
"Other methods use egocentric video as a modality to",
"中心性。然后,我们将这些任务作为知识提炼损失纳人",
"supplementtop-view footage to improveidentification",
"培训,以补充第三人称视频上的动作分类预培训目标。",
"and tracking models [2, 4, 5, 73]",
"请参见图。1。通过设计,我们的视频模型可以继续",
"The above methods require paired datasets that are",
"享受大量标记的第三人称训练数据,同时将以自我为",
"either simultaneously recorded or that share the same",
"中心的信号嵌人到学习的特征中,使其成为以自我为",
"labels for instances across viewpoints. In contrast, our",
"中心的视频任务的传统视频编码器的合适替代品。最",
"method leveragesonlythird-personvideodatasets,but",
"后,我们的方法在预训练期间不假设任何配对或活动",
"is augmented with pseudo-labels (derived from first-",
"标记的自我中心视频;自我中心信号直接从第三人称视",
"person models) to learn egocentric video representa-",
"频推断",
"tions, thus circumventing both the need for first-person",
"我们在三个具有挑战性的以自我为中心的视频数据",
"video during pre-training and the need for paired la-",
"集上的实验表明,我们的“Ego-Exo”框架从第三人",
"beled data.",
"称视频中学习了强大的以自我为中心的特征表示。在",
"Knowledge distillation for videoIn knowledge dis-",
"Charades-EgoE[62]上,我们的模型改进了在Kinet-",
"tillation (KD), one network is trained to reproduce the",
"ics上预先训练的模型-标准的预训练和微调范式-by3。",
"outputs of another29l.Distillation servestocompress",
"26mAP,并且优于专门针对弥合观点之间的领域差距",
"models [29, 49, 8l or incorporate privileged information",
"的方法。最后,我们的预训练模型在EPIC-Kitchens-",
"from alternate tasks [43]. In videos, KD can incor-",
"100【111上实现了最先进的结果,这是最大的可用第",
"porate information from alternate modalities like au-",
"一人称数据集",
"dio [24, 6], depth and flow [28, 64], or a combination",
"45,andobject-levelinformation52.Inthecontextof",
"2. Related Work",
"self-supervised learning, prior work assigns weak image",
"Egocentric video understanding The unique view-",
"labels to video instances as supervision for video-level",
"point in egocentric video presents interesting research",
"models [25].. In contrast, we use inferred weak labels",
"challenges including action recognition and antici-",
"that are relevant to the egocentric domain, and we use",
"pation [77, 21, 59, 1], daily life summary genera-",
"them alongside third-person video labels, rather than",
"tion[36, 74],inferring body pose[32, 51], and esti-",
"in place of them during pre-training.",
"mating gaze [37, 31l. Several egocentric video datasets",
"Egocentric cues in video understanding modelsEgo-",
"have been created to support these challenges [12, 38,",
"centric video offers several unique cues that have",
"54, 62]. Model architectures proposed for these tasks",
"been leveraged to improve video understanding mod-",
"include multi-stream networks[46, 38, 35, 68l, recur-",
"els39,46].Theseincludeattentionmechanismsfrom",
"rentnetworks22.21,65].3Dconvnets53.44and",
"gaze and motor attention [47, 38, 42l, active object de-",
"spatially grounded topological graph models 50]",
"tection [20, 7, 15, 70], and hands in contact [66, 60, 33].",
"These architectures vary significantly, but all use",
"We are also interested in such important egocentric",
"video encoders that are similarly pre-trained with",
"cues, but unlike prior work we do not train models",
"third-person video datasets, despite being applied to",
"on labeled egocentric video datasets to detect them.",
"egocentric video tasks.. In contrast, we introduce key",
"Instead, we embed labels predicted for these cues as",
"egocentric losses during exocentric video pre-training",
"auxiliary losses in third-person video models to steer",
"that bridge the domain gap when applied to down-",
"feature learning towards egocentric relevant features.",
"stream egocentric video tasks.",
"Unlike any of these prior methods, our goal is to lever-",
"age third-person video to pre-train first-person video",
"Joint first/third person video understanding Sev-",
"models.",
"eral strategies have been proposed to address the do-",
"main gap between first and third person video. Prior",
"3. Ego-Exo Approach",
"work learns viewpoint-invariant representations using",
"embedding learning methods, and applies them to ac-",
"我们的目标是从第三人称视频数据集中学习以自我",
"tion recognition [63, 61, 3], video summarization [30]",
"为中心的视频表示,方法是发现和提取与预培训期间",
"image retrieval [17], person segmentation [72], and",
"以自我为中心的活动相关的有关手,物体和交互的重",
"attention-driven gaze prediction [75]. Image genera-",
"要线索(尽管观点不同)。为此,我们自动为第三人称",
"tion methods [16, 56, 57, 41] use generative adversar-",
"视频实例分配各种以自我为中心的伪标签,这些伪标",
"ial frameworks to synthesize one viewpoint from the",
"签将简单的相似性得分跨越到复杂的时空注意图,然"
] |
{
"arxiv_id": "2104.07905",
"language": "zh",
"page_idx": 1
}
|
||
2104.07905-zh-4
|
2104.07905-zh-4.jpg
|
其中$f_k$是$k$ -来自训练剪辑 XMATHMAX\_1\_8 的
第
We predict Interaction-Maps instead of directly predicting bounding boxes via standard detection networks [58] for two reasons. First, detection architectures are not directly compatible with standard video backbones—they typically utilize specialized backbones and work well only with high resolution inputs. Second, predicting scores on a feature map is more aligned with our ultimate goal to improve the feature representation for egocentric video tasks, rather than train a precise detection model.
## 3.4. Ego-Exo training and evaluation
在预训练过程中,将三个建议的特定于自我的辅助
任务组合在一起,以构造最终的训练损失:
$$\begin{aligned}\mathbb{L}(x)&=\mathbb{L}_{act}(x)+w_{ego}*\mathbb{L}_{ego}(x)\\&+w_{obj}*\mathbb{L}_{obj}(x)+w_{int}*\mathbb{L}_{int}(x),\end{aligned}$$
(7)
其中$\mathbb{L}_{act}$是用于第三人称动作识别的标准交叉熵损失。而 XMATHX\_。请注意,没有手物交互或显著交互对象的第三人称视频实例仍然会对辅助损失项产生影响, 并且不会被忽略。我们的蒸馏模型将预先训练的自我中心模型的响应近似为软目标而不是硬标签,提供有关感知的自我中心线索的有价值的信息,无论是对实际标签是正面还是负面
使用我们的辅助损失进行训练会产生更适合下游自我中心任务的功能,但它不会修改网络架构本身。因此,经过预训练后,我们的模型可以直接用作传统视频编码器的直接替代品,并且可以应用于各种以自我为中心的视频任务
## 4. Experiments
Datasets. 我们的实验使用以下数据集。
$\bullet$ Kinetics-400 [34] is a popular third-person video
$\operatorname*{dataset}$ containing $\sim300$k videos and spanning 400 human action classes. We use this dataset to pre- $\tan$all our models.
$\bullet$ Charades-Ego [62] has $\sim68$k instances spanning
157 activity classes. Each instance is a pair of videos corresponding to the same activity, recorded in the first and third-person perspective. Our method does not require this pairing, and succeeds even if no pairs exist (Supp.).
$\bullet$EPIC-Kitchens [12] is an egocentric video dataset
with videos of non-scripted daily activities in kitchens. It contains 55 hours of videos consisting of 39k action segments, annotated for interac- $\bar{\text{tions spanning 352 objects and 125 verbs. EPIC-}}$ Kitchens-100 [11] extends this to 100 hours and 90k action segments, and is currently the largest annotated egocentric video dataset.
由于其庞大的规模和多样化的动作覆盖范围,Kinetics 已被广泛用作预先训练第一人称和第三人称视频模型的标准数据集[27,19,35,11] 。EPIC-Kitchens 和Charades-Ego 是两个大型且具有挑战性的以自我为中心的视频数据集,是最近基准和挑战的主题。
Evaluation metrics. 我们对所有模型进行动力学预训练,并对 Charades-Ego(仅限第一人称)和 EPICKitchens 进行微调以进行活动识别。按照标准做法,我们报告了 Charades-Ego 的平均平均精度(mAP)以及EPIC 的前 1 名和前 5 名精度。
Implementation details. 我们在 PySlowFast$\boxed{\mathrm{F}}[18]$ 之上构建我们的 Ego-Exo 框架,并使用 SlowFast$\boxed{\mathrm{F}}[19]$ 视频模型作为具有 8 输入帧和步幅 8 的骨干。我们对所有消融实验使用仅慢速 ResNet50 架构,对最终结果使用 SlowFastResNet50/101架构
对于我们的蒸馏头$H^ego$和$H^{obj}$ (Sec$\boxed{\mathrm{E}}3.3$ ),我们使用时空池化层,然后使用线性分类器。我们将交互映射头$H^h$和$H^o$实现为两个 3Dconv 层,内核大小为$1\times3\times3$和 1×1×1,并激活 ReLU
对于我们的组合损失函数(Eqn$\boxed{\mathrm{F7}}$),我们通过在 EPIC-Kitchens 验证集上进行交叉验证,将损失权重$w_{ego}$ , $w_{obj}$ 和$w_{int}$ 分别设置为 0.1,0.5,1.0(在Charades-Ego 上进行交叉验证建议的权重相似)。将Eqn 1和 Eqn 3 中的温度参数$\beta$设置为 1。培训计划和优化详细信息可在 Supp 中找到
## $4. 1. \textbf{Ego- Exopre- training}$
我们将预训练策略与以下方法进行了比较:
$\bullet$ Scratch does not benefit from any pre-training. It is
randomly initialized and directly fne-tuned on the
target egocentric dataset.
$\bullet$ Third-only is pre-trained for activity labels on Ki-
netics 400 [34] . This represents the status-quo
pre-training strategy for current video models.
First-only is pre-trained for verb/noun labels on EPIC-Kitchens-100 [11] , the largest publicly available egocentric dataset.
Domain-adapt introduces a domain adaptation loss derived from gradients of a classifier trained to distinguish between frst- and third-person video instances [23]. This strategy has been used in recent work to learn domain invariant features for thirdperson vs. drone footage [10].
Joint-embed uses paired frst- and third-person video data from Charades-Ego to learn viewpointinvariant video models via standard triplet embedding losses [61]. We frst pre-train this model with Kinetics to ensure that the model benefits from large-scale pre-training.
|
[
[
0.096435546875,
0.0921630859375,
0.468017578125,
0.0921630859375,
0.468017578125,
0.1060791015625,
0.096435546875,
0.1060791015625
],
[
0.52392578125,
0.0921630859375,
0.890625,
0.0921630859375,
0.890625,
0.1060791015625,
0.52392578125,
0.1060791015625
],
[
0.08251953125,
0.10919189453125,
0.09722900390625,
0.10919189453125,
0.09722900390625,
0.11932373046875,
0.08251953125,
0.11932373046875
],
[
0.50341796875,
0.10797119140625,
0.890625,
0.10797119140625,
0.890625,
0.121826171875,
0.50341796875,
0.121826171875
],
[
0.1004638671875,
0.12249755859375,
0.468017578125,
0.12249755859375,
0.468017578125,
0.1363525390625,
0.1004638671875,
0.1363525390625
],
[
0.50341796875,
0.12249755859375,
0.890625,
0.12249755859375,
0.890625,
0.1363525390625,
0.50341796875,
0.1363525390625
],
[
0.08087158203125,
0.1383056640625,
0.468017578125,
0.1383056640625,
0.468017578125,
0.1514892578125,
0.08087158203125,
0.1514892578125
],
[
0.50244140625,
0.1363525390625,
0.890625,
0.136962890625,
0.890625,
0.1514892578125,
0.50244140625,
0.15087890625
],
[
0.1298828125,
0.15283203125,
0.468017578125,
0.15283203125,
0.468017578125,
0.1666259765625,
0.1298828125,
0.1666259765625
],
[
0.50341796875,
0.1514892578125,
0.8203125,
0.15283203125,
0.8203125,
0.1673583984375,
0.50341796875,
0.1666259765625
],
[
0.080078125,
0.1673583984375,
0.46728515625,
0.1673583984375,
0.46728515625,
0.1817626953125,
0.080078125,
0.1817626953125
],
[
0.08087158203125,
0.1546630859375,
0.134033203125,
0.1546630859375,
0.134033203125,
0.1654052734375,
0.08087158203125,
0.1654052734375
],
[
0.08087158203125,
0.18310546875,
0.468017578125,
0.18310546875,
0.468017578125,
0.1962890625,
0.08087158203125,
0.1962890625
],
[
0.50732421875,
0.189453125,
0.890625,
0.189453125,
0.890625,
0.20263671875,
0.50732421875,
0.20263671875
],
[
0.080078125,
0.1976318359375,
0.468017578125,
0.1976318359375,
0.468017578125,
0.2108154296875,
0.080078125,
0.2108154296875
],
[
0.50341796875,
0.2052001953125,
0.8896484375,
0.2052001953125,
0.8896484375,
0.2197265625,
0.50341796875,
0.2197265625
],
[
0.080078125,
0.21337890625,
0.4697265625,
0.21337890625,
0.4697265625,
0.2279052734375,
0.080078125,
0.2279052734375
],
[
0.50341796875,
0.2197265625,
0.89208984375,
0.2197265625,
0.89208984375,
0.23291015625,
0.50341796875,
0.23291015625
],
[
0.080078125,
0.2291259765625,
0.468017578125,
0.2291259765625,
0.468017578125,
0.242431640625,
0.080078125,
0.242431640625
],
[
0.5048828125,
0.23486328125,
0.890625,
0.23486328125,
0.890625,
0.248779296875,
0.5048828125,
0.248779296875
],
[
0.080078125,
0.24365234375,
0.4697265625,
0.24365234375,
0.4697265625,
0.2568359375,
0.080078125,
0.2568359375
],
[
0.50341796875,
0.25,
0.7255859375,
0.25,
0.7255859375,
0.26318359375,
0.50341796875,
0.26318359375
],
[
0.080078125,
0.2587890625,
0.3447265625,
0.2587890625,
0.3447265625,
0.272705078125,
0.080078125,
0.272705078125
],
[
0.08087158203125,
0.28271484375,
0.369384765625,
0.28271484375,
0.369384765625,
0.296630859375,
0.08087158203125,
0.296630859375
],
[
0.5087890625,
0.285888671875,
0.689453125,
0.285888671875,
0.689453125,
0.2998046875,
0.5087890625,
0.2998046875
],
[
0.705078125,
0.285400390625,
0.88623046875,
0.285400390625,
0.88623046875,
0.298583984375,
0.705078125,
0.298583984375
],
[
0.1004638671875,
0.30615234375,
0.468017578125,
0.30615234375,
0.468017578125,
0.3193359375,
0.1004638671875,
0.3193359375
],
[
0.50341796875,
0.300537109375,
0.8896484375,
0.2998046875,
0.8896484375,
0.314453125,
0.50341796875,
0.31494140625
],
[
0.08087158203125,
0.3212890625,
0.384033203125,
0.3212890625,
0.384033203125,
0.335205078125,
0.08087158203125,
0.335205078125
],
[
0.5048828125,
0.31640625,
0.8896484375,
0.31640625,
0.8896484375,
0.330078125,
0.5048828125,
0.330078125
],
[
0.50244140625,
0.330810546875,
0.8896484375,
0.330810546875,
0.8896484375,
0.3447265625,
0.50244140625,
0.3447265625
],
[
0.125,
0.343505859375,
0.3544921875,
0.343505859375,
0.3544921875,
0.356689453125,
0.125,
0.356689453125
],
[
0.50244140625,
0.34521484375,
0.74609375,
0.3466796875,
0.74609375,
0.361083984375,
0.50244140625,
0.35986328125
],
[
0.44677734375,
0.352783203125,
0.468017578125,
0.352783203125,
0.468017578125,
0.3662109375,
0.44677734375,
0.3662109375
],
[
0.1895751953125,
0.3623046875,
0.42236328125,
0.3623046875,
0.42236328125,
0.376953125,
0.1895751953125,
0.376953125
],
[
0.51953125,
0.359130859375,
0.8935546875,
0.35986328125,
0.8935546875,
0.37744140625,
0.51953125,
0.376953125
],
[
0.5048828125,
0.37744140625,
0.890625,
0.37744140625,
0.890625,
0.391357421875,
0.5048828125,
0.391357421875
],
[
0.08251953125,
0.3837890625,
0.46728515625,
0.3837890625,
0.46728515625,
0.3984375,
0.08251953125,
0.3984375
],
[
0.50244140625,
0.391357421875,
0.890625,
0.392578125,
0.890625,
0.4072265625,
0.50244140625,
0.406005859375
],
[
0.08251953125,
0.399658203125,
0.46728515625,
0.399658203125,
0.46728515625,
0.41357421875,
0.08251953125,
0.41357421875
],
[
0.50341796875,
0.40771484375,
0.736328125,
0.40771484375,
0.736328125,
0.421630859375,
0.50341796875,
0.421630859375
],
[
0.08087158203125,
0.4140625,
0.46728515625,
0.4140625,
0.46728515625,
0.427978515625,
0.08087158203125,
0.427978515625
],
[
0.521484375,
0.42236328125,
0.890625,
0.423583984375,
0.890625,
0.438232421875,
0.521484375,
0.4375
],
[
0.08087158203125,
0.429931640625,
0.468017578125,
0.429931640625,
0.468017578125,
0.443115234375,
0.08087158203125,
0.443115234375
],
[
0.50341796875,
0.4375,
0.89208984375,
0.438232421875,
0.89208984375,
0.45263671875,
0.50341796875,
0.451904296875
],
[
0.08251953125,
0.4443359375,
0.468017578125,
0.4443359375,
0.468017578125,
0.458251953125,
0.08251953125,
0.458251953125
],
[
0.50341796875,
0.453857421875,
0.890625,
0.453857421875,
0.890625,
0.468505859375,
0.50341796875,
0.468505859375
],
[
0.08251953125,
0.460205078125,
0.468017578125,
0.460205078125,
0.468017578125,
0.473388671875,
0.08251953125,
0.473388671875
],
[
0.50341796875,
0.468505859375,
0.89208984375,
0.468505859375,
0.89208984375,
0.48291015625,
0.50341796875,
0.48291015625
],
[
0.08087158203125,
0.47607421875,
0.2467041015625,
0.47607421875,
0.2467041015625,
0.4892578125,
0.08087158203125,
0.4892578125
],
[
0.50341796875,
0.484130859375,
0.890625,
0.484130859375,
0.890625,
0.49755859375,
0.50341796875,
0.49755859375
],
[
0.1004638671875,
0.490478515625,
0.46728515625,
0.490478515625,
0.46728515625,
0.50390625,
0.1004638671875,
0.50390625
],
[
0.08087158203125,
0.5048828125,
0.468017578125,
0.5048828125,
0.468017578125,
0.51806640625,
0.08087158203125,
0.51806640625
],
[
0.50341796875,
0.5,
0.74658203125,
0.5,
0.74658203125,
0.51318359375,
0.50341796875,
0.51318359375
],
[
0.08087158203125,
0.51953125,
0.468017578125,
0.51953125,
0.468017578125,
0.53271484375,
0.08087158203125,
0.53271484375
],
[
0.50341796875,
0.5244140625,
0.70751953125,
0.5263671875,
0.70751953125,
0.54150390625,
0.50341796875,
0.5390625
],
[
0.080078125,
0.53515625,
0.468017578125,
0.53515625,
0.468017578125,
0.548828125,
0.080078125,
0.548828125
],
[
0.08087158203125,
0.55029296875,
0.1953125,
0.55029296875,
0.1953125,
0.564453125,
0.08087158203125,
0.564453125
],
[
0.52392578125,
0.55029296875,
0.82177734375,
0.55029296875,
0.82177734375,
0.564453125,
0.52392578125,
0.564453125
],
[
0.080078125,
0.5791015625,
0.2181396484375,
0.5791015625,
0.2181396484375,
0.59326171875,
0.080078125,
0.59326171875
],
[
0.50732421875,
0.57373046875,
0.89208984375,
0.57373046875,
0.89208984375,
0.5869140625,
0.50732421875,
0.5869140625
],
[
0.521484375,
0.58837890625,
0.89208984375,
0.58837890625,
0.89208984375,
0.6015625,
0.521484375,
0.6015625
],
[
0.0849609375,
0.60107421875,
0.176513671875,
0.60107421875,
0.176513671875,
0.6123046875,
0.0849609375,
0.6123046875
],
[
0.17236328125,
0.60107421875,
0.375732421875,
0.60107421875,
0.375732421875,
0.6142578125,
0.17236328125,
0.6142578125
],
[
0.521484375,
0.60498046875,
0.71142578125,
0.60302734375,
0.71142578125,
0.6162109375,
0.521484375,
0.61865234375
],
[
0.08416748046875,
0.619140625,
0.46728515625,
0.619140625,
0.46728515625,
0.63330078125,
0.08416748046875,
0.63330078125
],
[
0.5048828125,
0.6220703125,
0.890625,
0.6220703125,
0.890625,
0.63623046875,
0.5048828125,
0.63623046875
],
[
0.1004638671875,
0.63623046875,
0.468017578125,
0.63623046875,
0.468017578125,
0.6494140625,
0.1004638671875,
0.6494140625
],
[
0.52294921875,
0.63623046875,
0.89208984375,
0.63623046875,
0.89208984375,
0.65087890625,
0.52294921875,
0.65087890625
],
[
0.101318359375,
0.6494140625,
0.465576171875,
0.6494140625,
0.465576171875,
0.66357421875,
0.101318359375,
0.66357421875
],
[
0.521484375,
0.6513671875,
0.85888671875,
0.65087890625,
0.85888671875,
0.66552734375,
0.521484375,
0.66650390625
],
[
0.1004638671875,
0.66650390625,
0.250732421875,
0.66650390625,
0.250732421875,
0.6796875,
0.1004638671875,
0.6796875
],
[
0.50634765625,
0.67041015625,
0.89208984375,
0.67041015625,
0.89208984375,
0.6845703125,
0.50634765625,
0.6845703125
],
[
0.08251953125,
0.6845703125,
0.468017578125,
0.68603515625,
0.468017578125,
0.70068359375,
0.08251953125,
0.69873046875
],
[
0.52294921875,
0.68310546875,
0.89208984375,
0.6845703125,
0.89208984375,
0.69873046875,
0.52294921875,
0.69775390625
],
[
0.1004638671875,
0.69970703125,
0.468017578125,
0.70068359375,
0.468017578125,
0.71533203125,
0.1004638671875,
0.7138671875
],
[
0.52392578125,
0.7021484375,
0.69287109375,
0.7021484375,
0.69287109375,
0.7119140625,
0.52392578125,
0.7119140625
],
[
0.10296630859375,
0.71533203125,
0.46728515625,
0.71533203125,
0.46728515625,
0.72900390625,
0.10296630859375,
0.72900390625
],
[
0.50634765625,
0.71826171875,
0.89208984375,
0.71826171875,
0.89208984375,
0.73193359375,
0.50634765625,
0.73193359375
],
[
0.1004638671875,
0.72998046875,
0.46728515625,
0.72998046875,
0.46728515625,
0.74365234375,
0.1004638671875,
0.74365234375
],
[
0.52294921875,
0.73193359375,
0.890625,
0.73291015625,
0.890625,
0.74755859375,
0.52294921875,
0.7470703125
],
[
0.1004638671875,
0.7470703125,
0.468017578125,
0.7470703125,
0.468017578125,
0.76123046875,
0.1004638671875,
0.76123046875
],
[
0.52392578125,
0.74755859375,
0.890625,
0.74755859375,
0.890625,
0.76123046875,
0.52392578125,
0.76123046875
],
[
0.1004638671875,
0.76123046875,
0.2418212890625,
0.76123046875,
0.2418212890625,
0.77587890625,
0.1004638671875,
0.77587890625
],
[
0.52294921875,
0.76318359375,
0.89208984375,
0.76318359375,
0.89208984375,
0.7763671875,
0.52294921875,
0.7763671875
],
[
0.08416748046875,
0.78076171875,
0.4697265625,
0.78076171875,
0.4697265625,
0.79443359375,
0.08416748046875,
0.79443359375
],
[
0.52392578125,
0.77783203125,
0.890625,
0.77783203125,
0.890625,
0.79150390625,
0.52392578125,
0.79150390625
],
[
0.101318359375,
0.796875,
0.4697265625,
0.796875,
0.4697265625,
0.81005859375,
0.101318359375,
0.81005859375
],
[
0.52294921875,
0.79345703125,
0.74658203125,
0.79345703125,
0.74658203125,
0.806640625,
0.52294921875,
0.806640625
],
[
0.101318359375,
0.81103515625,
0.46728515625,
0.81103515625,
0.46728515625,
0.82470703125,
0.101318359375,
0.82470703125
],
[
0.50634765625,
0.81103515625,
0.89208984375,
0.81103515625,
0.89208984375,
0.82470703125,
0.50634765625,
0.82470703125
],
[
0.101318359375,
0.8271484375,
0.46728515625,
0.8271484375,
0.46728515625,
0.84033203125,
0.101318359375,
0.84033203125
],
[
0.521484375,
0.82568359375,
0.890625,
0.8271484375,
0.890625,
0.84033203125,
0.521484375,
0.8388671875
],
[
0.1004638671875,
0.84033203125,
0.468017578125,
0.8388671875,
0.468017578125,
0.85400390625,
0.1004638671875,
0.85498046875
],
[
0.52392578125,
0.84130859375,
0.890625,
0.84130859375,
0.890625,
0.85498046875,
0.52392578125,
0.85498046875
],
[
0.1004638671875,
0.85498046875,
0.4697265625,
0.85595703125,
0.4697265625,
0.87060546875,
0.1004638671875,
0.869140625
],
[
0.52294921875,
0.85693359375,
0.89208984375,
0.85693359375,
0.89208984375,
0.87060546875,
0.52294921875,
0.87060546875
],
[
0.1004638671875,
0.8720703125,
0.468017578125,
0.8720703125,
0.468017578125,
0.88623046875,
0.1004638671875,
0.88623046875
],
[
0.52392578125,
0.8720703125,
0.89208984375,
0.8720703125,
0.89208984375,
0.88525390625,
0.52392578125,
0.88525390625
],
[
0.101318359375,
0.88720703125,
0.35693359375,
0.88720703125,
0.35693359375,
0.90087890625,
0.101318359375,
0.90087890625
],
[
0.521484375,
0.88623046875,
0.69384765625,
0.88720703125,
0.69384765625,
0.9013671875,
0.521484375,
0.90087890625
]
] |
[
"其中fk是k-来自训练剪辑XMATHMAX_1_8的",
"由于其庞大的规模和多样化的动作覆盖范围,Kinet-",
"第",
"ics已被广泛用作预先训练第一人称和第三人称视频模",
"We predict Interaction-Maps instead of directly pre-",
"型的标准数据集[27,19,35,11]。EPIC-Kitchens和",
"dicting bounding boxes via standard detection net-",
"Charades-Ego是两个大型且具有挑战性的以自我为中",
"[58] for two reasons.First, detection ar-",
"心的视频数据集,是最近基准和挑战的主题。",
"chitectures are not directly compatible with stan-",
"works",
"dard video backbonesthey typically utilize special-",
"Evaluationmetrics.我们对所有模型进行动力学预",
"ized backbones and work well only with high resolution",
"训练,并对Charades-Ego(仅限第一人称)和EPIC-",
"inputs. Second, predicting scores on a feature map is",
"Kitchens进行微调以进行活动识别。按照标准做法,我",
"more aligned with our ultimate goal to improve the fea-",
"们报告了Charades-Ego的平均平均精度(mAP)以及",
"ture representation for egocentric video tasks, rather",
"EPIC的前1名和前5名精度。",
"than train a precise detection model.",
"3.4. Ego-Exo training and evaluation",
"Implementation details.",
"我们在PySlowFastE[18",
"在预训练过程中,将三个建议的特定于自我的辅助",
"之上构建我们的Ego-Exo框架,并使用SlowFastE[19",
"任务组合在一起,以构造最终的训练损失:",
"视频模型作为具有8输人顿和步幅8的骨干。我们对",
"所有消融实验使用仅慢速ResNet50架构,对最终结果",
"L(r) = Lact(r) + Wego * Lego(c)",
"使用SlowFastResNet50/101架构",
"(7)",
"+Wobj * Lobj(r) + Wint * Lint(α),",
"对于我们的蒸馏头Hego和Hobi(SecE3.3),我",
"们使用时空池化层,然后使用线性分类器。我们将交互",
"其中Lact是用于第三人称动作识别的标准交叉摘损失,",
"映射头Hh和H°实现为两个3Dconv层,内核大小为",
"而XMATHX。请注意,没有手物交互或显著交互对",
"1x3x3和1x1x1,并激活ReLU",
"象的第三人称视频实例仍然会对辅助损失项产生影响,",
"对于我们的组合损失函数(EqnE7),我们通过",
"并且不会被忽略。我们的蒸馏模型将预先训练的自我",
"在EPIC-Kitchens验证集上进行交叉验证,将损失权",
"中心模型的响应近似为软目标而不是硬标签,提供有",
"重wego,Wobi和Wint分别设置为0.1,0.5,1.0(在",
"关感知的自我中心线索的有价值的信息,无论是对实",
"Charades-Ego上进行交叉验证建议的权重相似)。将",
"际标签是正面还是负面",
"Eqn1和Eqn3中的温度参数β设置为1。培训计划",
"使用我们的辅助损失进行训练会产生更适合下游自",
"我中心任务的功能,但它不会修改网络架构本身。因",
"和优化详细信息可在Supp中找到",
"此,经过预训练后,我们的模型可以直接用作传统视频",
"4.1.Ego-Exopre-training",
"编码器的直接替代品,并且可以应用于各种以自我为",
"中心的视频任务",
"我们将预训练策略与以下方法进行了比较:",
"4.Experiments",
". Scratch does not benefit from any pre-training. It is",
"randomly initialized and directly fine-tuned on the",
"Datasets.",
"我们的实验使用以下数据集。",
"target egocentric dataset.",
". Kinetics-400 [34l is a popular third-person video",
": Third-only is pre-trained for activity labels on Ki-",
"dataset containing ~ 300k videos and spanning 400",
"netics 400 [34] : This represents the status-quo",
"human action classes. We use this dataset to pre-",
"pre-training strategy for current video models.",
"train all our models.",
". First-only is pre-trained for verb/noun labels on",
". Charades-Ego [62] has ~ 68k instances spanning",
"EPIC-Kitchens-100 [11l, the largest publicly avail-",
"157 activity classes. Each instance is a pair of videos",
"able egocentric dataset.",
"corresponding to the same activity, recorded in the",
": Domain-adapt introduces a domain adaptation loss",
"first and third-person perspective. Our method does",
"derived from gradients of a classifier trained to dis-",
"not require this pairing, and succeeds even if no",
"tinguish between first- and third-person video in-",
"pairs exist (Supp.).",
"stances [23] . This strategy has been used in recent",
": EPIC-Kitchens [12 is an egocentric video dataset",
"work to learn domain invariant features for third-",
"with videos of non-scripted daily activities in",
"person vs. drone footage [10] .",
"kitchens. It contains 55 hours of videos consist-",
". Joint-embed uses paired first- and third-person",
"ing of 39k action segments, annotated for interac-",
"video data from Charades-Ego to learn viewpoint-",
"tions spanning 352 objects and 125 verbs. EPIC-",
"invariant video models via standard triplet embed-",
"Kitchens-100[11] extends this to 100 hours and",
"ding losses [61] : We first pre-train this model",
"90k action segments, and is currently the largest",
"with Kinetics to ensure that the model benefits from",
"annotated egocentric video dataset.",
"large-scale pre-training."
] |
{
"arxiv_id": "2104.07905",
"language": "zh",
"page_idx": 4
}
|
||
2106.08396-zh-0
|
2106.08396-zh-0.jpg
|
# 基于学习的次线性时间支持度估计
Talya Eden$^*$,Piotr Indyk,
Computer Science and Artific
Massachusetts Institute of Technology
Cambridge, MA 02139, USA
$\{$ teden,indyk,shyamsn,roni
Tal Wagner
Microsoft Research
Redmond, WA 98052, USA
talw@ mit. edu
# $\operatorname{Abstract}$
We consider the problem of estimating the number of distinct elements in a large data set (or, equivalently, the support size of the distribution induced by the data set) from a random sample of its elements. The problem occurs in many applications, including biology, genomics, computer systems and linguistics. A line of research spanning the last decade resulted in algorithms that estimate the support up to $\pm\varepsilon n$ from a sample of size $O(\log^{2}(1/\varepsilon)\cdot n/\log n)$ , where $n$ is the data set size. Unfortunately, this bound is known to be tight, limiting further improvements to the complexity of this problem. In this paper we consider estimation algorithms augmented with a machine-learning-based predictor that, given any element, returns an estimation of its frequency. We show that if the predictor is correct up to a constant approximation factor, then the sample complexity can be reduced significantly, to
$$\log(1/\varepsilon)\cdot n^{1-\Theta(1/\log(1/\varepsilon))}.$$
We evaluate the proposed algorithms on a collection of data sets, using the neural-network based estimators from Hsu et al, ICLR'19 as predictors. Our experiments demonstrate substantial (up to 3x) improvements in the estimation accuracy compared to the state of the art algorithm.
## 1 Introduction
从随机样本中估计分布的支持大小是许多领域中应用程序的基本问题。在生物学中,它用于从实验中估计不同物种的数量$\mathbb{E}($Fisher et al.,1943);在基因组学中,用于估计不同蛋白质编码区的数量$\overline{\mathbb{E}}($Zou et al.,2016);在计算机系统中,用于近似磁盘驱动器上不同块的数量$\overline{\mathbb{E}}($Harnik et al., 2016) 等。该问题还应用于语言学,数据库中的查询优化以及其他领域由于其广泛的适用性,该问题在$^{1}$的多个领域受到了广泛的关注,包括统计学和理论计算机科学,从 Good 和 Turing$\boxed{\mathrm{FGood~}(1953)\text{ 和}\mathrm{E}}$Fisher et al.(1943) 的开创性著作开始。在过去的十年中,(Raskhodnikova et al., 2009; Valiant & Valiant, 2011; 2013; Wu & Yang, 2019) 进行的最新研究集中在以下问题的表述上:给定访问离散域$\{0,\ldots,n-1\}$上的分布$\mathcal{P}$的独立样本,其最小非零质量$^2$至少为$1/n$ ,估计$\mathcal{P}$到$\pm\varepsilon n$的支持大小。由于 Valiant &
$^{*}$Authors listed in alphabetical order
$^{1}$A partial bibliography from 2007 contains over 900 references. It is available at
$\underset{a}{\operatorname*{\text{https:}}}//$courses.cit.cornell.edu/jab18/bibliography.html
$^{2}$This constraint is naturally satisfied e.g., if the distribution $\mathcal{P}$ is an empirical distribution over a data set of $n$ items. In fact, in this case all probabilities are multiples of $1/n$ so the support size is equal to the number of distinct elements in the data set.
1
|
[
[
0.178955078125,
0.10479736328125,
0.59716796875,
0.10479736328125,
0.59716796875,
0.12249755859375,
0.178955078125,
0.12249755859375
],
[
0.1854248046875,
0.1749267578125,
0.76708984375,
0.1749267578125,
0.76708984375,
0.1881103515625,
0.1854248046875,
0.1881103515625
],
[
0.1854248046875,
0.1881103515625,
0.53515625,
0.1881103515625,
0.53515625,
0.2020263671875,
0.1854248046875,
0.2020263671875
],
[
0.1829833984375,
0.2008056640625,
0.45751953125,
0.2020263671875,
0.45751953125,
0.216552734375,
0.1829833984375,
0.21533203125
],
[
0.1846923828125,
0.21533203125,
0.390625,
0.21533203125,
0.390625,
0.2291259765625,
0.1846923828125,
0.2291259765625
],
[
0.1895751953125,
0.2298583984375,
0.52783203125,
0.2298583984375,
0.52783203125,
0.24365234375,
0.1895751953125,
0.24365234375
],
[
0.1846923828125,
0.261962890625,
0.26953125,
0.26513671875,
0.268798828125,
0.27978515625,
0.1829833984375,
0.276611328125
],
[
0.1846923828125,
0.279052734375,
0.32177734375,
0.279052734375,
0.32177734375,
0.292236328125,
0.1846923828125,
0.292236328125
],
[
0.1846923828125,
0.292236328125,
0.381591796875,
0.292236328125,
0.381591796875,
0.30615234375,
0.1846923828125,
0.30615234375
],
[
0.1846923828125,
0.30810546875,
0.283447265625,
0.30810546875,
0.283447265625,
0.318115234375,
0.1846923828125,
0.318115234375
],
[
0.464111328125,
0.35791015625,
0.53759765625,
0.35791015625,
0.53759765625,
0.37255859375,
0.464111328125,
0.37255859375
],
[
0.2344970703125,
0.386962890625,
0.765625,
0.386962890625,
0.765625,
0.40087890625,
0.2344970703125,
0.40087890625
],
[
0.233642578125,
0.401611328125,
0.765625,
0.401611328125,
0.765625,
0.415283203125,
0.233642578125,
0.415283203125
],
[
0.233642578125,
0.415283203125,
0.7646484375,
0.415283203125,
0.7646484375,
0.4287109375,
0.233642578125,
0.4287109375
],
[
0.233642578125,
0.429931640625,
0.7646484375,
0.429931640625,
0.7646484375,
0.443115234375,
0.233642578125,
0.443115234375
],
[
0.233642578125,
0.443115234375,
0.765625,
0.443115234375,
0.765625,
0.45703125,
0.233642578125,
0.45703125
],
[
0.233642578125,
0.45703125,
0.7646484375,
0.45703125,
0.7646484375,
0.47021484375,
0.233642578125,
0.47021484375
],
[
0.2344970703125,
0.4716796875,
0.765625,
0.4716796875,
0.765625,
0.486083984375,
0.2344970703125,
0.486083984375
],
[
0.233642578125,
0.486083984375,
0.7646484375,
0.486083984375,
0.7646484375,
0.5,
0.233642578125,
0.5
],
[
0.2320556640625,
0.498779296875,
0.765625,
0.5,
0.765625,
0.5146484375,
0.2320556640625,
0.51318359375
],
[
0.2344970703125,
0.51318359375,
0.7646484375,
0.51318359375,
0.7646484375,
0.52783203125,
0.2344970703125,
0.52783203125
],
[
0.233642578125,
0.52783203125,
0.7646484375,
0.52783203125,
0.7646484375,
0.54150390625,
0.233642578125,
0.54150390625
],
[
0.233642578125,
0.54150390625,
0.7646484375,
0.54150390625,
0.7646484375,
0.5546875,
0.233642578125,
0.5546875
],
[
0.233642578125,
0.55615234375,
0.406982421875,
0.55615234375,
0.406982421875,
0.5693359375,
0.233642578125,
0.5693359375
],
[
0.406005859375,
0.57373046875,
0.59326171875,
0.568359375,
0.59326171875,
0.5859375,
0.406005859375,
0.59130859375
],
[
0.2344970703125,
0.59521484375,
0.7646484375,
0.59521484375,
0.7646484375,
0.60986328125,
0.2344970703125,
0.60986328125
],
[
0.2344970703125,
0.609375,
0.76123046875,
0.609375,
0.76123046875,
0.62353515625,
0.2344970703125,
0.62353515625
],
[
0.2344970703125,
0.62353515625,
0.7646484375,
0.62353515625,
0.7646484375,
0.63720703125,
0.2344970703125,
0.63720703125
],
[
0.233642578125,
0.63818359375,
0.69140625,
0.63818359375,
0.69140625,
0.6513671875,
0.233642578125,
0.6513671875
],
[
0.1748046875,
0.6767578125,
0.2091064453125,
0.6767578125,
0.2091064453125,
0.689453125,
0.1748046875,
0.689453125
],
[
0.200927734375,
0.67529296875,
0.316162109375,
0.6767578125,
0.316162109375,
0.69140625,
0.200927734375,
0.68994140625
],
[
0.176513671875,
0.70556640625,
0.82275390625,
0.70556640625,
0.82275390625,
0.7197265625,
0.176513671875,
0.7197265625
],
[
0.176513671875,
0.72021484375,
0.82177734375,
0.72021484375,
0.82177734375,
0.734375,
0.176513671875,
0.734375
],
[
0.176513671875,
0.734375,
0.82275390625,
0.734375,
0.82275390625,
0.74755859375,
0.176513671875,
0.74755859375
],
[
0.176513671875,
0.7470703125,
0.81640625,
0.7470703125,
0.81640625,
0.76025390625,
0.176513671875,
0.76025390625
],
[
0.17724609375,
0.76806640625,
0.82275390625,
0.76806640625,
0.82275390625,
0.7822265625,
0.17724609375,
0.7822265625
],
[
0.176513671875,
0.78271484375,
0.82275390625,
0.78271484375,
0.82275390625,
0.796875,
0.176513671875,
0.796875
],
[
0.176513671875,
0.79736328125,
0.82275390625,
0.79736328125,
0.82275390625,
0.81103515625,
0.176513671875,
0.81103515625
],
[
0.1748046875,
0.8095703125,
0.82275390625,
0.81005859375,
0.82275390625,
0.82470703125,
0.1748046875,
0.82373046875
],
[
0.1748046875,
0.82373046875,
0.82421875,
0.82470703125,
0.82421875,
0.8388671875,
0.1748046875,
0.83837890625
],
[
0.1953125,
0.8466796875,
0.438720703125,
0.8466796875,
0.438720703125,
0.85986328125,
0.1953125,
0.85986328125
],
[
0.193603515625,
0.85791015625,
0.72607421875,
0.859375,
0.72607421875,
0.87353515625,
0.193603515625,
0.87255859375
],
[
0.1748046875,
0.87255859375,
0.5498046875,
0.87255859375,
0.5498046875,
0.88623046875,
0.1748046875,
0.88623046875
],
[
0.1953125,
0.88720703125,
0.82275390625,
0.88720703125,
0.82275390625,
0.90087890625,
0.1953125,
0.90087890625
],
[
0.1748046875,
0.8994140625,
0.82275390625,
0.8994140625,
0.82275390625,
0.91357421875,
0.1748046875,
0.91357421875
],
[
0.176513671875,
0.9140625,
0.56396484375,
0.9140625,
0.56396484375,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.96044921875,
0.49267578125,
0.96044921875
]
] |
[
"基于学习的次线性时间支持度估计",
"Talya Eden*, Piotr Indyk, Shyam Narayanan, Ronitt Rubinfeld & Sandeep Silwal",
"Computer Science and Artificial Intelligence Lab",
"Massachusetts Institute of Technology",
"Cambridge, MA 02139, USA",
"[ teden,indyk,shyamsn,ronitt,silwal } @mit.edu",
"Tal Wagner",
"MicrosoftResearch",
"Redmond, WA 98052, USA",
"talw@mit.edu",
"Abstract",
"We consider the problem of estimating the number of distinct elements",
"in a large data set (or, equivalently, the support size of the distribution",
"induced by the data set) from a random sample of its elements. The problem",
"occurs in many applications, including biology, genomics, computer systems",
"and linguistics. A line of research spanning the last decade resulted in",
"algorithms that estimate the support up to ±en from a sample of size",
"O(log(1/e) - n/logn)., where n is the data set size. Unfortunately, this",
"bound is known to be tight, limiting further improvements to the complexity",
"of this problem. In this paper we consider estimation algorithms augmented",
"with a machine-learning-based predictor that, given any element, returns",
"an estimation of its frequency.We show that if the predictor is correct",
"up to a constant approximation factor, then the sample complexity can be",
"reduced significantly, to",
"log(1/e) - nl-e(1/ log(1/e),",
"We evaluate the proposed algorithms on a collection of data sets, using the",
"neural-network based estimators from Hsu et al, ICLR'19 as predictors",
"Our experiments demonstrate substantial (up to 3x) improvements in the",
"estimation accuracy compared to the state of the art algorithm.",
"1",
"Introduction",
"从随机样本中估计分布的支持大小是许多领域中应用程序的基本问题。在生物学中,它用",
"于从实验中估计不同物种的数量E(Fisheretal.,1943);在基因组学中,用于估计不同蛋白",
"质编码区的数量E(Zouetal,2016);在计算机系统中,用于近似磁盘驱动器上不同块的数",
"量E(Harniketal.,2016)等。该问题还应用于语言学,数据库中的查询优化以及其他领域",
"由于其广泛的适用性,该问题在1的多个领域受到了广泛的关注,包括统计学和理论计算机",
"科学,从Good和TuringEGood(1953)和EFisheretal.(1943)的开创性著作开始。在过",
"去的十年中,(Raskhodnikova et al.,2009;Valiant &Valiant,2011;2013;Wu &Yang,2019)",
"进行的最新研究集中在以下问题的表述上:给定访问离散域[0,..,n-1]上的分布P的",
"独立样本,其最小非零质量2至少为1/n,估计P到土en的支持大小。由于Valiant&",
"*Authors listed in alphabetical order",
"1A partial bibliography from 2007 contains over 900 references. It is available at",
"https://courses.cit.cornell.edu/jab18/bibliography.html",
"This constraint is naturally satisfied e.g., if the distribution P is an empirical distribution over",
"a data set of n items. In fact, in this case all probabilities are multiples of 1/n so the support size",
"is equal to the number of distinct elements in the data set.",
"1"
] |
{
"arxiv_id": "2106.08396",
"language": "zh",
"page_idx": 0
}
|
||
2106.08396-zh-1
|
2106.08396-zh-1.jpg
|
Valiant (2011); Wu &Yang (2019),最先进的估计器仅使用$O(n/\log n)$样本 (对于常数$\varepsilon$
)解决了这个问题。。这两篇论文还表明,这一界限是紧密的。
存在一种更直接的线性时间算法,该算法报告在大小为$N=O(n\log\varepsilon^{-1})$的样本中看到的不同元素的数量(对于常量$\varepsilon$,它是 $O(n)$ ),而不考虑看不见的项目。此算法之所以成功,是因为每个具有非零质量的元素$i$ (因此质量至少为$1/n$ )出现在样本中的概率至少为$1-(1-1/n)^N>1-\varepsilon$,因此在期望中,最多$\varepsilon\cdot n$具有非零质量的元素不会出现在样本中。因此,一般来说,最佳算法所需的样本数(i。e。, $n/\log n$ )仅在对数上小于直接线性时间算法的复杂度
改进此界限的一种自然方法是利用以下事实:在许多应用程序中,输人分布并非完全未知。实际上,人们通常可以通过分析不同但相关的分布来获得元素频率的粗略近似值。例如,在基因组学中,可以从不同物种的基因组区域的频率中获得频率估计值;在语言学中,可以从语言的统计特性中推断出它们 (e。g。, 长词很少见), 或来自不同但相关作者的著作语料库等。更一般地说,考虑到相关数据集中的真实元素频率,可以使用现代机器学习技术来学习此类估计。那么问题就变成了人们是否可以利用这样的预测器在支持大小估计过程中使用, 以提高估计精度。
Our results 在本文中,我们开始研究这种“基于学习”的方法来估计支持大小。我们的贡献既有理论上的,也有实证上的。在理论方面,我们表明,给定分布$\mathcal{P}$ 的“足够好”的预测器,可以使用比$n/\log n$更少的样本来解决问题。具体来说,假设在输入分布$\mathcal{P}$中,元素$i$的概率为$p_i$ ,并且我们可以访问预测器$\Pi(i)$ ,使得$\Pi(i)\leq p_i\leq b\cdot\Pi(i)$对于某个常数近似因子$b\geq1$ 。$^3$然后,我们给出一个算法,该算法仅使用
$$\log(1/\varepsilon)\cdot n^{1-\Theta(1/\log(1/\varepsilon))}$$
个样本来估计高达$\pm\varepsilon n$的支持大小,假设近似因子$b$是一个常数 (有关更详细的界限,请参见定理1)。对于精度参数$\varepsilon$和预测器品质因数$b$的任何固定值,这都优于 Wu &Yang (2019)的界限。此外,我们表明这个界限几乎是紧的
我们的算法在算法 1 中给出。在高层次上,它将概率值的范围划分为几何增加的间隔。然后,我们使用预测器将样本中观察到的元素分配给这些区间,并在每个区间内产生类似Wu-Yang 的估计。具体来说,我们的估计器基于 Chebyshev 多项式(如 Valiant & Valiant (2011); Wu & Yang (2019) ),但是更精细的区间划分允许我们使用具有不同的,精心选择的参数的多项式。如果预测器足够准确,这会显著提高样本复杂度
在经验方面,我们在真实和合成数据集的集合上评估所提出的算法。对于真实的数据集(网络流量数据和 AOL 查询日志数据),我们使用$\boxed{\mathrm{E}}$Hsu et al.(2019) 中基于神经网络的预测器。尽管这些预测器并不总是将真实的分布概率近似为很小的因子,但我们的实验表明,与最新的EWu & Yang (2019) 算法相比,新算法在估计精度方面提供了实质性的改进 (相对误差降低了 3 倍)。
# 1.1 Related work
Estimating support size 如引言中所述,该问题已在统计学和理论计算机科学中进行了广泛的研究。由于 Wu & Yang (2019) , 最著名的算法使用$O(\log^2(1/\varepsilon)\cdot n/\log n)$样本。由于仅使用随机样本的模型的固有局限性,Canonne & Rubinfeld (2014)考虑了一种增强模型其中算法可以访问任何采样项的 exact 概率。作者表明,这种增强非常强大,将采样复杂度降低到只有$O(1/\varepsilon^2)$ 。最近,Onak & Sun (2018) 证明了只要访问的概率精确到$(1\pm\frac\varepsilon3)$ 乘法因子,Canonne 和 Rubinfeld 的算法就可以工作。然而,这种算法强烈依赖于概率是非常准确的,和预测的概率,即使是由一个小的常数因子可能会导致支持大小估计变得非常不正确。因此,正如我们的实验表明的那样,他们的算法对错误预测的概率并不稳健。
研究了 streaming algorithms 的另一种研究方法,用于估计不同元素的数量。这样的算法可以访问整个数据集,但必须使用有限的内存在一次通过中读取它。解决此问题的最著名算法使用$O(1/\varepsilon^2+\log n)$存储位$\mathbb{E}($Kane et al., 2010) 计算$(1+\varepsilon)$ -对不同元素数量的近似估计。有关问题的历史和更多参考,请参见该论文中的讨论
Learning-based algorithms 在过去的几年中,人们对使用机器学习技术来提高“经典” 算法的性能越来越感兴趣。该方法在相似性搜索$\overline{\mathrm{E}}($Wang et al., 2016; Sablayrolles et al.,
$^{3}$Our results hold without change if we modify the assumption to $r\cdot\Pi(i)\leq p_i\leq r\cdot b\cdot\Pi(i)$,for
any $r>0.$ We use $r=1$ for simplicity.
2
|
[
[
0.176513671875,
0.1060791015625,
0.82421875,
0.1060791015625,
0.82421875,
0.11932373046875,
0.176513671875,
0.11932373046875
],
[
0.176513671875,
0.11932373046875,
0.61669921875,
0.11932373046875,
0.61669921875,
0.1331787109375,
0.176513671875,
0.1331787109375
],
[
0.176513671875,
0.14013671875,
0.82177734375,
0.14013671875,
0.82177734375,
0.154052734375,
0.176513671875,
0.154052734375
],
[
0.178955078125,
0.1558837890625,
0.8203125,
0.1558837890625,
0.8203125,
0.1666259765625,
0.178955078125,
0.1666259765625
],
[
0.17724609375,
0.169189453125,
0.82177734375,
0.169189453125,
0.82177734375,
0.179931640625,
0.17724609375,
0.179931640625
],
[
0.176513671875,
0.1817626953125,
0.82177734375,
0.1817626953125,
0.82177734375,
0.1962890625,
0.176513671875,
0.1962890625
],
[
0.1748046875,
0.1944580078125,
0.82275390625,
0.1956787109375,
0.82275390625,
0.210205078125,
0.1748046875,
0.208984375
],
[
0.176513671875,
0.210205078125,
0.32275390625,
0.210205078125,
0.32275390625,
0.2235107421875,
0.176513671875,
0.2235107421875
],
[
0.1748046875,
0.2298583984375,
0.82275390625,
0.231689453125,
0.82275390625,
0.24560546875,
0.1748046875,
0.24365234375
],
[
0.17724609375,
0.24560546875,
0.82275390625,
0.24560546875,
0.82275390625,
0.2587890625,
0.17724609375,
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.178955078125,
0.28857421875,
0.8203125,
0.28857421875,
0.8203125,
0.298583984375,
0.178955078125,
0.298583984375
],
[
0.17724609375,
0.2998046875,
0.82275390625,
0.2998046875,
0.82275390625,
0.313232421875,
0.17724609375,
0.313232421875
],
[
0.176513671875,
0.314453125,
0.298095703125,
0.314453125,
0.298095703125,
0.32763671875,
0.176513671875,
0.32763671875
],
[
0.1829833984375,
0.3447265625,
0.8203125,
0.3447265625,
0.8203125,
0.354736328125,
0.1829833984375,
0.354736328125
],
[
0.17724609375,
0.356689453125,
0.82177734375,
0.356689453125,
0.82177734375,
0.37060546875,
0.17724609375,
0.37060546875
],
[
0.176513671875,
0.37060546875,
0.82275390625,
0.37060546875,
0.82275390625,
0.3837890625,
0.176513671875,
0.3837890625
],
[
0.176513671875,
0.3837890625,
0.82275390625,
0.3837890625,
0.82275390625,
0.3984375,
0.176513671875,
0.3984375
],
[
0.176513671875,
0.397705078125,
0.611328125,
0.397705078125,
0.611328125,
0.410888671875,
0.176513671875,
0.410888671875
],
[
0.41015625,
0.417236328125,
0.59326171875,
0.410888671875,
0.59326171875,
0.425537109375,
0.41015625,
0.431884765625
],
[
0.17724609375,
0.434326171875,
0.82275390625,
0.434326171875,
0.82275390625,
0.447509765625,
0.17724609375,
0.447509765625
],
[
0.1748046875,
0.44580078125,
0.82275390625,
0.447509765625,
0.82275390625,
0.462158203125,
0.1748046875,
0.460205078125
],
[
0.17724609375,
0.46337890625,
0.55126953125,
0.46337890625,
0.55126953125,
0.473388671875,
0.17724609375,
0.473388671875
],
[
0.176513671875,
0.48291015625,
0.82275390625,
0.48291015625,
0.82275390625,
0.496826171875,
0.176513671875,
0.496826171875
],
[
0.17724609375,
0.496826171875,
0.82275390625,
0.496826171875,
0.82275390625,
0.51025390625,
0.17724609375,
0.51025390625
],
[
0.176513671875,
0.51123046875,
0.82275390625,
0.51123046875,
0.82275390625,
0.5244140625,
0.176513671875,
0.5244140625
],
[
0.178955078125,
0.5263671875,
0.82177734375,
0.5263671875,
0.82177734375,
0.537109375,
0.178955078125,
0.537109375
],
[
0.176513671875,
0.5390625,
0.64892578125,
0.5390625,
0.64892578125,
0.55322265625,
0.176513671875,
0.55322265625
],
[
0.176513671875,
0.56005859375,
0.82177734375,
0.56005859375,
0.82177734375,
0.57373046875,
0.176513671875,
0.57373046875
],
[
0.176513671875,
0.57373046875,
0.82177734375,
0.57373046875,
0.82177734375,
0.5869140625,
0.176513671875,
0.5869140625
],
[
0.176513671875,
0.5869140625,
0.82177734375,
0.5869140625,
0.82177734375,
0.60107421875,
0.176513671875,
0.60107421875
],
[
0.1748046875,
0.599609375,
0.82275390625,
0.60107421875,
0.82275390625,
0.61572265625,
0.1748046875,
0.6142578125
],
[
0.176513671875,
0.61572265625,
0.31201171875,
0.61572265625,
0.31201171875,
0.62890625,
0.176513671875,
0.62890625
],
[
0.176513671875,
0.646484375,
0.31201171875,
0.646484375,
0.31201171875,
0.6572265625,
0.176513671875,
0.6572265625
],
[
0.1805419921875,
0.671875,
0.82177734375,
0.671875,
0.82177734375,
0.68505859375,
0.1805419921875,
0.68505859375
],
[
0.1748046875,
0.68505859375,
0.8203125,
0.68505859375,
0.8203125,
0.69873046875,
0.1748046875,
0.69873046875
],
[
0.178955078125,
0.7021484375,
0.8203125,
0.7021484375,
0.8203125,
0.7119140625,
0.178955078125,
0.7119140625
],
[
0.176513671875,
0.7138671875,
0.82275390625,
0.7138671875,
0.82275390625,
0.72802734375,
0.176513671875,
0.72802734375
],
[
0.1748046875,
0.7265625,
0.82275390625,
0.72802734375,
0.82275390625,
0.7421875,
0.1748046875,
0.7412109375
],
[
0.176513671875,
0.74365234375,
0.82275390625,
0.74365234375,
0.82275390625,
0.7568359375,
0.176513671875,
0.7568359375
],
[
0.17724609375,
0.7587890625,
0.82177734375,
0.7587890625,
0.82177734375,
0.76953125,
0.17724609375,
0.76953125
],
[
0.176513671875,
0.771484375,
0.78369140625,
0.771484375,
0.78369140625,
0.78515625,
0.176513671875,
0.78515625
],
[
0.17724609375,
0.79443359375,
0.82177734375,
0.79443359375,
0.82177734375,
0.8046875,
0.17724609375,
0.8046875
],
[
0.176513671875,
0.8046875,
0.82177734375,
0.80615234375,
0.82177734375,
0.8193359375,
0.176513671875,
0.818359375
],
[
0.176513671875,
0.82080078125,
0.82275390625,
0.82080078125,
0.82275390625,
0.833984375,
0.176513671875,
0.833984375
],
[
0.17724609375,
0.8359375,
0.5986328125,
0.8359375,
0.5986328125,
0.8466796875,
0.17724609375,
0.8466796875
],
[
0.181396484375,
0.8623046875,
0.82275390625,
0.8623046875,
0.82275390625,
0.87548828125,
0.181396484375,
0.87548828125
],
[
0.176513671875,
0.876953125,
0.82275390625,
0.876953125,
0.82275390625,
0.89013671875,
0.176513671875,
0.89013671875
],
[
0.193603515625,
0.896484375,
0.82275390625,
0.8994140625,
0.82275390625,
0.9140625,
0.193603515625,
0.9111328125
],
[
0.176513671875,
0.912109375,
0.4345703125,
0.9111328125,
0.4345703125,
0.9248046875,
0.176513671875,
0.92529296875
],
[
0.5,
0.9462890625,
0.5107421875,
0.955078125,
0.5,
0.9638671875,
0.488525390625,
0.95556640625
]
] |
[
"Valiant(2011);Wu&Yang(2019),最先进的估计器仅使用O(n/logn)样本(对于常数s",
")解决了这个问题。。这两篇论文还表明,这一界限是紧密的。",
"存在一种更直接的线性时间算法,该算法报告在大小为N=O(nlogε-1)的样本中看到的",
"不同元素的数量(对于常量ε,它是O(n)),而不考虑看不见的项目。此算法之所以成",
"功,是因为每个具有非零质量的元素(因此质量至少为1/n)出现在样本中的概率至少",
"为1-(1-1/n)N>1-ε,,因此在期望中,最多ε·n具有非零质量的元素不会出现在样",
"本中。因此,一般来说,最佳算法所需的样本数(i。e。,n/logn)仅在对数上小于直接线",
"性时间算法的复杂度",
"改进此界限的一种自然方法是利用以下事实:在许多应用程序中,输入分布并非完全未知。",
"实际上,人们通常可以通过分析不同但相关的分布来获得元素频率的粗略近似值。例如,在",
"基因组学中,可以从不同物种的基因组区域的频率中获得频率估计值;在语言学中,可以从",
"语言的统计特性中推断出它们(e。g。,长词很少见),或来自不同但相关作者的著作语料库",
"等。更一般地说,考虑到相关数据集中的真实元素频率,可以使用现代机器学习技术来学习",
"此类估计。那么问题就变成了人们是否可以利用这样的预测器在支持大小估计过程中使用,",
"以提高估计精度。",
"Ourresults,在本文中,我们开始研究这种“基于学习”的方法来估计支持大小。我们的",
"贡献既有理论上的,也有实证上的。在理论方面,我们表明,给定分布P的“足够好”的预",
"测器,可以使用比n/logn更少的样本来解决问题。具体来说,假设在输入分布P中,元",
"素i的概率为pi;并且我们可以访问预测器II(i),使得II(i)≤pi≤b.II()对于某个常数",
"近似因子6≥1。3然后,我们给出一个算法,该算法仅使用",
"log(1/e) · nl-0(1/log(1/e)",
"个样本来估计高达土en的支持大小,假设近似因子b是一个常数(有关更详细的界限,请",
"参见定理1)。对于精度参数和预测器品质因数b的任何固定值,这都优于Wu&Yang",
"(2019)的界限。此外,我们表明这个界限儿乎是紧的",
"我们的算法在算法1中给出。在高层次上,它将概率值的范围划分为几何增加的间隔。然",
"后,我们使用预测器将样本中观察到的元素分配给这些区间,并在每个区间内产生类似",
"Wu-Yang的估计。具体来说,我们的估计器基于Chebyshev多项式(如Valiant&Valiant",
"(2011):Wu&Yang(2019))但是更精细的区间划分充许我们使用具有不同的,精心选择",
"的参数的多项式。如果预测器足够准确,这会显著提高样本复杂度",
"在经验方面,我们在真实和合成数据集的集合上评估所提出的算法。对于真实的数据集(网",
"络流量数据和AOL查询日志数据),我们使用EHsuetal.(2019)中基于神经网络的预测",
"器。尽管这些预测器并不总是将真实的分布概率近似为很小的因子,但我们的实验表明,与",
"最新的EWu&Yang(2019)算法相比,新算法在估计精度方面提供了实质性的改进(相对",
"误差降低了3倍)。",
"1.1Related work",
"Estimating support size如引言中所述,该问题已在统计学和理论计算机科学中进行了广",
"泛的研究。由于Wu&Yang(2019),最著名的算法使用 O(log²(1/e)·n/logn)样本。由于",
"仅使用随机样本的模型的固有局限性,Canonne&Rubinfeld(2014)考虑了一种增强模型",
"其中算法可以访问任何采样项的exact概率。作者表明,这种增强非常强大,将采样复杂",
"度降低到只有O(1/e2)。最近,Onak&Sun(2018)证明了只要访问的概率精确到(1土)",
"乘法因子,Canonne和Rubinfeld的算法就可以工作。然而,这种算法强烈依赖于概率是非",
"常准确的,和预测的概率,即使是由一个小的常数因子可能会导致支持大小估计变得非常",
"不正确。因此,正如我们的实验表明的那样,他们的算法对错误预测的概率并不稳健。",
"研究了streamingalgorithms的另一种研究方法,用于估计不同元素的数量。这样的算法",
"可以访问整个数据集,但必须使用有限的内存在一次通过中读取它。解决此问题的最著名",
"算法使用O(1/s+logn)存储位E(Kaneetal.,2010)计算(1+)-对不同元素数量的近似",
"估计。有关问题的历史和更多参考,请参见该论文中的讨论",
"Learning-basedalgorithms在过去的几年中,人们对使用机器学习技术来提高“经典”",
"算法的性能越来越感兴趣。该方法在相似性搜索E(Wangetal.,2016;Sablayrollesetal.,",
"3Our results hold without change if we modify the assumption to r .(i) ≤pi ≤ r b . II(i) , for",
"anyr>0.Weuser=1forsimplicity",
"2"
] |
{
"arxiv_id": "2106.08396",
"language": "zh",
"page_idx": 1
}
|
||
2106.08396-zh-2
|
2106.08396-zh-2.jpg
|
2019; Dong et al., 2020) , 图形优化$\underline{\mathrm{E}}($Khalil et al., 2017; Balcan et al., 2018) , 匝数据结构$(\bar{\text{Kraska et al.,2018;Mitzenmacher,2018),在线算法}\overline{\mathrm{E}}(\text{Lykouris }\&\text{ Vassilvitskii, 2018},}$ Purohit et al., 2018) , 压缩感知$\underline{\mathrm{E}}($Mousavi et al., 2015; Baldassarre et al., 2016; Bora et al. 2017) 和流算法$\boxed{\mathrm{E}}($Hsu et al., 2019; Jiang et al., 2019) 中找到了应用。最后两篇论文最接近我们的工作,因为它们解决了数据流上的各种计算问题,包括使用频率预测器的$\overline{\mathrm{E}}$Jiang et al.(2019) 中的不同元素估计。此外,在我们的实验中,我们使用$\boxed{\mathrm{E}}$Hsu et al.(2019)中开发的基于神经网络的预测因子。然而,我们的算法在一个根本不同的模型中运行,使用输人的次线性 (在$n$中) 数量的样本,而不是通过线性扫描访问完整的输入。因此,与使用sublinear space 的流算法相比,我们的算法在 sublinear time 中运行
Distribution property testing 这项工作可以在测试大型离散域上的分布属性的上下文中更广泛地看到。在社交网络,统计学,信息论,数据库算法和机器学习算法的十字路口研究此类问题。被广泛考虑的特定属性的例子包括测试分布是均匀的、高斯的、高熵的、独立的还是单调递增的 (见 e。g。Rubinfeld (2012);Canonne (2015); Goldreich (2017)用于该主题的调查)
# 2 Learning-Based Algorithm
# 2.1 Preliminaries
Problem setting and notation. 支持估计问题的正式定义如下。我们可以在大小为$n$的离散域上访问未知分布$\mathcal{P}$的样本。为简单起见,我们用$[n]=\{1,\ldots,n\}$识别域。令$p_i$表示元素$i$的概率。让$S(\mathcal{P})=\{i:p_i>0\}$成为$\mathcal{P}$的支持。我们的目标是使用尽可能少的样本来估计支持大小$S=|\mathcal{S}(\mathcal{P})|$ 。特别是,给定$\varepsilon > 0$ , 目标是输出满足$\tilde{S}\in[S-\varepsilon n,S+\varepsilon n]$ 的估计$\tilde{S}$
我们假设任何元素的最小非零质量至少为$1/n$ ,即每个$i\in\mathcal{S}(\mathcal{P})$的$p_i\geq1/n$ 。这是支持估计问题中的一个标准承诺 (参见,e。g。, Raskhodnikova et al. (2009); Valiant & Valiant (2011); Wu & Yang (2019) ),并且如前所述,它自然地适用于对不同元素进行计数的上下文,其中$p_i$定义为样本中元素$i$的计数除以$n$。此外,最小非零概率的下限是一个必要的假设,没有它,即使允许样本数是$n$的任意大函数,也不可能有估计算法。e。,而不仅仅是次线性算法。原因是,可能有任意多个具有极小概率的元素永远不会被观察到。例如,请参见 Orlitsky et al. (2016)的补充部分 5 中的讨论
在基于学习的设置中,我们还假设我们有一个预测器$\Pi$ ,它可以提供有关$p_i$的信息。在我们的分析中,我们将假设$\Pi(i)$是每个$p_i$的常数因子近似。为了限制算法的运行时间,我们假设我们可以访问现成的预测器,并且(如 Canonne &Rubinfeld (2014) )评估$\Pi(i)$需要单位时间。在我们的实验中,我们使用来自 Hsu et al.(2019) 的基于神经网络的预测因子。一般来说,预测器需要预先训练 (或以其他方式产生)。这发生在预处理阶段,在将输入分配给算法之前,并且此阶段在次线性运行时间中不考虑。我们还注意到,训练预测器只需要对所有未来的输入进行一次(不是每个输人一次)
The Wu&Yang (2019) estimator. 在经典设置中 (无需访问预测器), Wu &Yang (2019) 给出了基于切比雪夫多项式的样本最优算法。现在我们简要描述它,因为它构成了我们基于学习的算法的基础
假设我们绘制$N$样本,并让$N_i$为观察元素$i$的次数。Wu &Yang (2019) 的输出估计值
的形式为
$$\tilde{S}_{\mathrm{WY}}=\sum_{i\in[n]}(1+f(N_i)),$$
,其中$f(N_i)$是一个校正项,旨在补偿支持中的某些元素根本不出现在样本中的事实。如果$p_i=0$ ,则必然$N_i=0$ (因为$i$不能出现在示例中)。因此,选择$f(0)=-1$可确保不受支持的元素对$\tilde{S}_\mathrm{wv}$没有任何贡献。另一方面,如果$p_i>\frac{\log n}N$,那么通过标准浓度,我们很有可能得到$N_i>\Omega(\log n)$ ;因此,为所有$N_i>L=\Omega(\log n)$选择$f(N_i)=0$可确保高质量元素在$\tilde{S}_\mathrm{WY}$中仅计数一次。它仍然照顾元素$i$与$p_i\in[\frac1n,\frac{\log n}N]$
3
|
[
[
0.176513671875,
0.10479736328125,
0.82275390625,
0.10479736328125,
0.82275390625,
0.11932373046875,
0.176513671875,
0.11932373046875
],
[
0.1748046875,
0.11871337890625,
0.82177734375,
0.11932373046875,
0.82177734375,
0.1331787109375,
0.1748046875,
0.1319580078125
],
[
0.176513671875,
0.1331787109375,
0.82177734375,
0.1331787109375,
0.82177734375,
0.146484375,
0.176513671875,
0.146484375
],
[
0.176513671875,
0.146484375,
0.82275390625,
0.146484375,
0.82275390625,
0.160400390625,
0.176513671875,
0.160400390625
],
[
0.1748046875,
0.1590576171875,
0.82275390625,
0.160400390625,
0.82275390625,
0.1749267578125,
0.1748046875,
0.173583984375
],
[
0.1748046875,
0.173583984375,
0.8203125,
0.173583984375,
0.8203125,
0.1875,
0.1748046875,
0.1875
],
[
0.176513671875,
0.1881103515625,
0.82177734375,
0.1881103515625,
0.82177734375,
0.2020263671875,
0.176513671875,
0.2020263671875
],
[
0.176513671875,
0.2020263671875,
0.82177734375,
0.2020263671875,
0.82177734375,
0.21533203125,
0.176513671875,
0.21533203125
],
[
0.176513671875,
0.216552734375,
0.67333984375,
0.216552734375,
0.67333984375,
0.2298583984375,
0.176513671875,
0.2298583984375
],
[
0.178955078125,
0.250732421875,
0.82177734375,
0.251953125,
0.82177734375,
0.26513671875,
0.178955078125,
0.264404296875
],
[
0.17724609375,
0.266357421875,
0.82177734375,
0.266357421875,
0.82177734375,
0.27978515625,
0.17724609375,
0.27978515625
],
[
0.176513671875,
0.27978515625,
0.82177734375,
0.27978515625,
0.82177734375,
0.29345703125,
0.176513671875,
0.29345703125
],
[
0.1748046875,
0.292236328125,
0.82177734375,
0.29345703125,
0.82177734375,
0.30810546875,
0.1748046875,
0.306884765625
],
[
0.17724609375,
0.309326171875,
0.2303466796875,
0.309326171875,
0.2303466796875,
0.32080078125,
0.17724609375,
0.32080078125
],
[
0.17236328125,
0.347900390625,
0.43310546875,
0.348388671875,
0.43310546875,
0.363037109375,
0.17236328125,
0.3623046875
],
[
0.1748046875,
0.38330078125,
0.313720703125,
0.38330078125,
0.313720703125,
0.396484375,
0.1748046875,
0.396484375
],
[
0.1805419921875,
0.412353515625,
0.82177734375,
0.412353515625,
0.82177734375,
0.425537109375,
0.1805419921875,
0.425537109375
],
[
0.176513671875,
0.425537109375,
0.65625,
0.425537109375,
0.65625,
0.439453125,
0.176513671875,
0.439453125
],
[
0.65673828125,
0.425537109375,
0.82275390625,
0.425537109375,
0.82275390625,
0.439453125,
0.65673828125,
0.439453125
],
[
0.176513671875,
0.439453125,
0.82177734375,
0.439453125,
0.82177734375,
0.45263671875,
0.176513671875,
0.45263671875
],
[
0.176513671875,
0.455810546875,
0.82275390625,
0.455810546875,
0.82275390625,
0.4697265625,
0.176513671875,
0.4697265625
],
[
0.176513671875,
0.4716796875,
0.2418212890625,
0.4716796875,
0.2418212890625,
0.48291015625,
0.176513671875,
0.48291015625
],
[
0.176513671875,
0.492431640625,
0.82275390625,
0.492431640625,
0.82275390625,
0.505859375,
0.176513671875,
0.505859375
],
[
0.1748046875,
0.5048828125,
0.4755859375,
0.5068359375,
0.4755859375,
0.521484375,
0.1748046875,
0.51953125
],
[
0.47802734375,
0.505859375,
0.82177734375,
0.505859375,
0.82177734375,
0.51953125,
0.47802734375,
0.51953125
],
[
0.17724609375,
0.52099609375,
0.82177734375,
0.52099609375,
0.82177734375,
0.5341796875,
0.17724609375,
0.5341796875
],
[
0.176513671875,
0.5341796875,
0.82275390625,
0.53271484375,
0.82275390625,
0.54736328125,
0.176513671875,
0.548828125
],
[
0.176513671875,
0.546875,
0.82275390625,
0.546875,
0.82275390625,
0.564453125,
0.176513671875,
0.564453125
],
[
0.176513671875,
0.56103515625,
0.82275390625,
0.56103515625,
0.82275390625,
0.57470703125,
0.176513671875,
0.57470703125
],
[
0.176513671875,
0.57568359375,
0.5361328125,
0.57568359375,
0.5361328125,
0.5888671875,
0.176513671875,
0.5888671875
],
[
0.1748046875,
0.5966796875,
0.82177734375,
0.5966796875,
0.82177734375,
0.60986328125,
0.1748046875,
0.60986328125
],
[
0.176513671875,
0.60986328125,
0.82177734375,
0.611328125,
0.82177734375,
0.62548828125,
0.176513671875,
0.625
],
[
0.17724609375,
0.626953125,
0.8203125,
0.626953125,
0.8203125,
0.63720703125,
0.17724609375,
0.63720703125
],
[
0.1748046875,
0.63720703125,
0.8203125,
0.63720703125,
0.8203125,
0.65087890625,
0.1748046875,
0.65087890625
],
[
0.191162109375,
0.6513671875,
0.82275390625,
0.6513671875,
0.82275390625,
0.66552734375,
0.191162109375,
0.66552734375
],
[
0.176513671875,
0.66650390625,
0.82177734375,
0.66650390625,
0.82177734375,
0.6796875,
0.176513671875,
0.6796875
],
[
0.17724609375,
0.681640625,
0.5087890625,
0.681640625,
0.5087890625,
0.6923828125,
0.17724609375,
0.6923828125
],
[
0.178955078125,
0.71630859375,
0.449462890625,
0.71630859375,
0.449462890625,
0.72998046875,
0.178955078125,
0.72998046875
],
[
0.4453125,
0.71630859375,
0.82177734375,
0.71630859375,
0.82177734375,
0.72998046875,
0.4453125,
0.72998046875
],
[
0.1748046875,
0.72900390625,
0.82275390625,
0.73095703125,
0.82275390625,
0.744140625,
0.1748046875,
0.7421875
],
[
0.17724609375,
0.74560546875,
0.32275390625,
0.74560546875,
0.32275390625,
0.755859375,
0.17724609375,
0.755859375
],
[
0.176513671875,
0.76513671875,
0.82275390625,
0.76513671875,
0.82275390625,
0.77880859375,
0.176513671875,
0.77880859375
],
[
0.17724609375,
0.78076171875,
0.2418212890625,
0.78076171875,
0.2418212890625,
0.79248046875,
0.17724609375,
0.79248046875
],
[
0.4150390625,
0.8046875,
0.5849609375,
0.8046875,
0.5849609375,
0.8193359375,
0.4150390625,
0.8193359375
],
[
0.468017578125,
0.82080078125,
0.5,
0.82080078125,
0.5,
0.8359375,
0.468017578125,
0.8359375
],
[
0.1829833984375,
0.85400390625,
0.1895751953125,
0.85400390625,
0.1895751953125,
0.859375,
0.1829833984375,
0.859375
],
[
0.1854248046875,
0.85107421875,
0.81884765625,
0.85107421875,
0.81884765625,
0.861328125,
0.1854248046875,
0.861328125
],
[
0.1748046875,
0.86279296875,
0.82275390625,
0.86279296875,
0.82275390625,
0.876953125,
0.1748046875,
0.876953125
],
[
0.17724609375,
0.87890625,
0.82275390625,
0.87890625,
0.82275390625,
0.89306640625,
0.17724609375,
0.89306640625
],
[
0.176513671875,
0.89453125,
0.82275390625,
0.89453125,
0.82275390625,
0.90771484375,
0.176513671875,
0.90771484375
],
[
0.176513671875,
0.9111328125,
0.65869140625,
0.9111328125,
0.65869140625,
0.92529296875,
0.176513671875,
0.92529296875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"2019;Dongetal.,2020),图形优化E(Khaliletal.,2017;Balcanetal.,2018),E数据结",
"构(Kraskaetal.,2018;Mitzenmacher,2018),在线算法E(Lykouris&Vassilvitski,2018",
"Purohit et al.,2018)压缩感知E(Mousavi et al.,2015;Baldassarre et al.,2016;Bora et al.",
"2017)和流算法E(Hsuetal.,2019;Jiangetal.,2019)中找到了应用。最后两篇论文最接",
"近我们的工作,因为它们解决了数据流上的各种计算问题,包括使用频率预测器的EJiang",
"etal.(2019)中的不同元素估计。此外,在我们的实验中,我们使用EHsuetal.(2019)中",
"开发的基于神经网络的预测因子。然而,我们的算法在一个根本不同的模型中运行,使用输",
"人的次线性(在n中)数量的样本,而不是通过线性扫描访问完整的输人。因此,与使用",
"sublinear space的流算法相比,我们的算法在sublineartime中运行",
"Distributionpropertytesting,这项工作可以在测试大型离散域上的分布属性的上下文中",
"更广泛地看到。在社交网络,统计学,信息论,数据库算法和机器学习算法的十字路口研究",
"此类问题。被广泛考虑的特定属性的例子包括测试分布是均匀的、高斯的、高嫡的、独立的",
"还是单调递增的(见e。g。Rubinfeld(2012);Canonne(2015);Goldreich(2017)用于该主题",
"的调查)",
"2Learning-Based Algorithm",
"2.1Preliminaries",
"Problemsettingandnotation.支持估计问题的正式定义如下。我们可以在大小为n的",
"离散域上访问未知分布P的样本。为简单起见,我们用【n]={1,:",
".,n}识别域。令pi表",
"示元素i的概率。让S(P)={i:Pi>0}成为P的支持。我们的目标是使用尽可能少的样",
"本来估计支持大小S=IS(P)。特别是,给定ε>0,目标是输出满足SE[S-En,S+En]",
"的估计S",
"我们假设任何元素的最小非零质量至少为1/n,即每个iES(P)的Pi≥1/n。这是支持",
"估计问题中的一个标准承诺(参见,e。g。",
"Raskhodnikova et al. (2009); Valiant & Valiant",
"(2011);Wu&Yang(2019)),并且如前所述,它自然地适用于对不同元素进行计数的上下",
"文,其中p;定义为样本中元素i的计数除以n。此外,最小非零概率的下限是一个必要的",
"假设,没有它,即使允许样本数是n的任意大函数,也不可能有估计算法。。e。,而不仅仅",
"是次线性算法。原因是,可能有任意多个具有极小概率的元素永远不会被观察到。例如,请",
"参见Orlitskyetal.(2016)的补充部分5中的讨论",
"在基于学习的设置中,我们还假设我们有一个预测器ⅡI,它可以提供有关P,的信息。在我",
"们的分析中,我们将假设I()是每个p的常数因子近似。为了限制算法的运行时间,我们",
"假设我们可以访问现成的预测器,并且(如Canonne&Rubinfeld(2014))评估II(i)需要",
"单位时间。在我们的实验中,我们使用来自Hsuetal.(2019)的基于神经网络的预测因字",
"般来说,预测器需要预先训练(或以其他方式产生)。这发生在预处理阶段,在将输入分配",
"给算法之前,并且此阶段在次线性运行时间中不考虑。我们还注意到,训练预测器只需要对",
"所有未来的输入进行一次(不是每个输入一次)",
"The Wu& Yang (2019) estimator.",
"在经典设置中(无需访问预测器),Wu&Yang(2019)",
"给出了基于切比雪夫多项式的样本最优算法。现在我们简要描述它,因为它构成了我们基",
"于学习的算法的基础",
"假设我们绘制N样本,并让N为观察元素i的次数。Wu&Yang(2019)的输出估计值",
"的形式为",
"SwY =>(1 + f(N),",
"ie[n]",
"",
"其中()是一个校正项,旨在补偿支持中的某些元素根本不出现在样本中的事实。如果",
"pi=0,则必然N,=0(因为i不能出现在示例中)。因此,选择f(O)=-1可确保不受",
"支持的元素对SwY没有任何贡献。另一方面,如果pi>log\",那么通过标准浓度,我们",
"很有可能得到N,>2(logn);因此,为所有N,>L=2(logn)选择f(N)=0可确保高",
"质量元素在SwY中仅计数一次。它仍然照顾元素i与piE[,log\"]",
"3"
] |
{
"arxiv_id": "2106.08396",
"language": "zh",
"page_idx": 2
}
|
||
2106.08396-zh-3
|
2106.08396-zh-3.jpg
|
通过标准的泊松化技巧,预期的加性误差$\left|S-\mathbb{E}[\tilde{S}_{\mathrm{WY}}]\right|$可以由$\sum_i\in[n]\left|P_L(p_i)\right|$限制,其中
$P_{L}$是 degree- $L$多项式
$$P_L(x)=\sum_{k=0}^L\frac{\mathbb{E}[N]^k}{k!}\cdot f(k)\cdot x^k.$$
为了使误差尽可能小,我们希望选择$f(1),\ldots,f(L)$ ,以便最小化$|P_L(p_i)|$上的。这是一个众所周知的极值问题,其解由 Chebyshev 多项式给出,其系数具有已知的显式公式。实际上,Wu&Yang (2019) 表明,选择$f(1),\ldots,f(L)$使得$\frac{\mathbb{E}[N]^k}{k!}f(k)$是(适当移位和缩放的) 切比雪夫多项式的系数会导致$O(\log^2(1/\varepsilon)\cdot n/\log n)$的最佳采样复杂度
## 2.2 Our Algorithm
$\overline{{\mathrm{Algorithm~1:~Learning-Based~Support~Estimation}}}$
$\overline{\text{Input: Number of samples }N,\text{domain size }n,\text{base }b,\text{polynomial degree }L,\text{predictor}}$
$\Pi$
Output: Estimate $\tilde{S}$ of the support size Partition $[ \frac 1n, 1]$ into intervals $I_j= \left [ \frac {b^j}n, \frac {b^{j+ 1}}n\right ]$ for $j= 0, \ldots , \log _bn$ T
$_2$ Let $a_0,a_1,\ldots,a_L$ be the coefficient of the $\bar\text{Chebyshev polynomial }P_L(x)$ from
Equation (??) (Note that $a_k=0$ for all $k>L$ )
$_{3}$Draw $N$ random samples
$_4N_i=\#$ of times we see element $i$ in samples
5 for every interval $I_j$ do
$$\begin{aligned}&6\quad\mathrm{if}\quad\frac{b^{j}}{n}\leq\frac{0.5\log n}{N}\:\mathrm{then}\\&7\quad|\quad\tilde{S}_{j}=\sum_{i\in[n]:\Pi(i)\in I_{j}}\left(1+a_{N_{i}}\left(\frac{n}{b^{j}}\right)^{N_{i}}\cdot\frac{N_{i}!}{N^{N_{i}}}\right)\\&\text{selse}\\&_{9}\quad|\quad\tilde{S}_{j}=\#\{i\in[n]:N_{i}\geq1,\Pi(i)\in I_{j}\}\\&_{10}\quad\mathrm{end}\\\end{aligned}$$
$_{12}$ $\underline {{\mathrm{return~}\tilde{S} }= \sum _{j= 0}^{\log _{b}{}{}^{n}}\tilde{S} _{j}}$
我们的主要结果是用于估计未知分布的支持大小的样本最优算法,其中我们可以访问样本以及我们采样的元素的概率的近似值。我们的算法在算法 1 中给出。它将间隔$[\frac1n,\frac{\log n}N]$划分为几何递增的间隔$\{[\frac{b^j}n,\frac{b^{j+1}}n]:j=0,1,\ldots\}$,其中$b$是一个固定常数,我们将其称为$\mathbb{E}$ 基参数(在我们的证明中,此参数上限为预测因子的近似因子,这就是为什么我们使用相同的字母表示两者;下一节将详细研究其在实践中的设置)。预测器将样本中观察到的元素分配给区间,算法计算每个区间内的切比雪夫多项式估计。由于切比雪夫多项式的近似质量由区间端点之间的比率 (以及多项式次数)决定,因此可以利用此分配来获得更准确的估计,从而提高整体样本复杂性。我们的主要理论结果如下
Theorem 1. Let $b>1$ be a fixed constant. Suppose we have a predictor that given $i\in[n]$ sampled from the input distribution, outputs $\tilde\Pi(i)$ such that $\tilde{\Pi}(i)\leq p_i\leq b\cdot\tilde{\Pi}(i).$ Then, for any $\varepsilon>n^{-1/2}$ , if we set $L=O(\log(1/\varepsilon))$ and draw $N\sim Poisson\left(L\cdot n^{1-1/L}\right)$ samples Algorithm $\color{red}{1\text{ reports an estimate }\tilde{S}\text{ that satisfies }\tilde{S}\in[S-\varepsilon\sqrt{nS},S+\varepsilon\sqrt{nS}]\text{ with probability}}$ at least 9/10. in other words, using
$$O\left(\log{(1/\varepsilon)}\cdot n^{1-\Theta(1/\log(1/\varepsilon))}\right)$$
samples, we can approximate the support size $S$ up to an additive error of $\varepsilon\sqrt{nS}$ ,with
probability at least 9/10 .
请注意,$\operatorname{E}$Wu &Yang (2019)的样本复杂度 (在不访问预测器的情况下是最佳的)在$n$中几乎是线性的,而定理$\overline{\mathrm{E}}1$给出了每个固定$\varepsilon>0$的多项式小于$n$的界限。另外,请注意$\sqrt {nS}\leq n$ , 因此我们的估计 $\tilde{S}$ $也 在$ $\varepsilon \cdot n$ 的支持大小 $S$ $内$
4
|
[
[
0.176513671875,
0.1060791015625,
0.82177734375,
0.1060791015625,
0.82177734375,
0.12060546875,
0.176513671875,
0.12060546875
],
[
0.176513671875,
0.12249755859375,
0.346435546875,
0.12249755859375,
0.346435546875,
0.1363525390625,
0.176513671875,
0.1363525390625
],
[
0.459228515625,
0.1337890625,
0.53369140625,
0.1383056640625,
0.53173828125,
0.1578369140625,
0.45751953125,
0.154052734375
],
[
0.390625,
0.149658203125,
0.4755859375,
0.146484375,
0.476318359375,
0.1610107421875,
0.39208984375,
0.1641845703125
],
[
0.52392578125,
0.1483154296875,
0.60693359375,
0.1458740234375,
0.60888671875,
0.1610107421875,
0.525390625,
0.1641845703125
],
[
0.476318359375,
0.1572265625,
0.53369140625,
0.154052734375,
0.53515625,
0.1685791015625,
0.47802734375,
0.1717529296875
],
[
0.455810546875,
0.1641845703125,
0.483642578125,
0.1641845703125,
0.483642578125,
0.175537109375,
0.455810546875,
0.175537109375
],
[
0.176513671875,
0.177978515625,
0.82177734375,
0.177978515625,
0.82177734375,
0.1925048828125,
0.176513671875,
0.1925048828125
],
[
0.176513671875,
0.1912841796875,
0.82177734375,
0.1912841796875,
0.82177734375,
0.2052001953125,
0.176513671875,
0.2052001953125
],
[
0.176513671875,
0.20703125,
0.82275390625,
0.20703125,
0.82275390625,
0.2247314453125,
0.176513671875,
0.2247314453125
],
[
0.176513671875,
0.2279052734375,
0.6845703125,
0.2279052734375,
0.6845703125,
0.2412109375,
0.176513671875,
0.2412109375
],
[
0.176513671875,
0.2587890625,
0.2197265625,
0.2587890625,
0.2197265625,
0.270751953125,
0.176513671875,
0.270751953125
],
[
0.21728515625,
0.25830078125,
0.325927734375,
0.25830078125,
0.325927734375,
0.271484375,
0.21728515625,
0.271484375
],
[
0.176513671875,
0.292236328125,
0.5361328125,
0.29345703125,
0.5361328125,
0.30810546875,
0.176513671875,
0.306884765625
],
[
0.176513671875,
0.31005859375,
0.79736328125,
0.31005859375,
0.79736328125,
0.323974609375,
0.176513671875,
0.323974609375
],
[
0.223876953125,
0.32763671875,
0.24267578125,
0.32763671875,
0.24267578125,
0.341552734375,
0.223876953125,
0.341552734375
],
[
0.17236328125,
0.341552734375,
0.459228515625,
0.34228515625,
0.459228515625,
0.35986328125,
0.17236328125,
0.359130859375
],
[
0.156005859375,
0.35595703125,
0.63818359375,
0.35595703125,
0.63818359375,
0.380126953125,
0.156005859375,
0.380126953125
],
[
0.16015625,
0.38330078125,
0.7236328125,
0.38330078125,
0.7236328125,
0.397705078125,
0.16015625,
0.397705078125
],
[
0.181396484375,
0.399658203125,
0.51953125,
0.399658203125,
0.51953125,
0.41357421875,
0.181396484375,
0.41357421875
],
[
0.158447265625,
0.416748046875,
0.35693359375,
0.416748046875,
0.35693359375,
0.429931640625,
0.158447265625,
0.429931640625
],
[
0.158447265625,
0.431884765625,
0.494384765625,
0.43310546875,
0.494384765625,
0.4462890625,
0.158447265625,
0.44580078125
],
[
0.158447265625,
0.449462890625,
0.340576171875,
0.449462890625,
0.340576171875,
0.46337890625,
0.158447265625,
0.46337890625
],
[
0.193603515625,
0.462158203125,
0.3505859375,
0.462158203125,
0.3505859375,
0.48291015625,
0.193603515625,
0.48291015625
],
[
0.160888671875,
0.4716796875,
0.17236328125,
0.4716796875,
0.17236328125,
0.48095703125,
0.160888671875,
0.48095703125
],
[
0.22216796875,
0.484130859375,
0.374267578125,
0.4912109375,
0.373291015625,
0.51025390625,
0.221435546875,
0.50244140625
],
[
0.160888671875,
0.490478515625,
0.17236328125,
0.490478515625,
0.17236328125,
0.50048828125,
0.160888671875,
0.50048828125
],
[
0.36279296875,
0.48486328125,
0.515625,
0.48486328125,
0.515625,
0.50244140625,
0.36279296875,
0.50244140625
],
[
0.16259765625,
0.51318359375,
0.1707763671875,
0.51318359375,
0.1707763671875,
0.52294921875,
0.16259765625,
0.52294921875
],
[
0.1993408203125,
0.5087890625,
0.2296142578125,
0.5087890625,
0.2296142578125,
0.52099609375,
0.1993408203125,
0.52099609375
],
[
0.22216796875,
0.52294921875,
0.47216796875,
0.5244140625,
0.47216796875,
0.5390625,
0.22216796875,
0.537109375
],
[
0.16259765625,
0.52978515625,
0.1690673828125,
0.52978515625,
0.1690673828125,
0.537109375,
0.16259765625,
0.537109375
],
[
0.1568603515625,
0.54443359375,
0.1690673828125,
0.54443359375,
0.1690673828125,
0.5546875,
0.1568603515625,
0.5546875
],
[
0.1993408203125,
0.54248046875,
0.2279052734375,
0.54248046875,
0.2279052734375,
0.5546875,
0.1993408203125,
0.5546875
],
[
0.1544189453125,
0.5595703125,
0.2034912109375,
0.5595703125,
0.2034912109375,
0.57373046875,
0.1544189453125,
0.57373046875
],
[
0.1544189453125,
0.57763671875,
0.2646484375,
0.57568359375,
0.2646484375,
0.59033203125,
0.1544189453125,
0.59228515625
],
[
0.253173828125,
0.57373046875,
0.330078125,
0.57373046875,
0.330078125,
0.5966796875,
0.253173828125,
0.5966796875
],
[
0.1748046875,
0.6142578125,
0.82177734375,
0.6142578125,
0.82177734375,
0.62744140625,
0.1748046875,
0.62744140625
],
[
0.176513671875,
0.630859375,
0.82177734375,
0.630859375,
0.82177734375,
0.64453125,
0.176513671875,
0.64453125
],
[
0.1748046875,
0.64599609375,
0.82275390625,
0.64599609375,
0.82275390625,
0.66357421875,
0.1748046875,
0.66357421875
],
[
0.176513671875,
0.6640625,
0.82177734375,
0.6640625,
0.82177734375,
0.67822265625,
0.176513671875,
0.67822265625
],
[
0.176513671875,
0.6787109375,
0.82177734375,
0.6787109375,
0.82177734375,
0.6923828125,
0.176513671875,
0.6923828125
],
[
0.176513671875,
0.6923828125,
0.82177734375,
0.6923828125,
0.82177734375,
0.70556640625,
0.176513671875,
0.70556640625
],
[
0.176513671875,
0.70556640625,
0.82177734375,
0.70556640625,
0.82177734375,
0.7197265625,
0.176513671875,
0.7197265625
],
[
0.176513671875,
0.72021484375,
0.583984375,
0.72021484375,
0.583984375,
0.734375,
0.176513671875,
0.734375
],
[
0.176513671875,
0.7373046875,
0.82275390625,
0.7373046875,
0.82275390625,
0.75048828125,
0.176513671875,
0.75048828125
],
[
0.176513671875,
0.75048828125,
0.82177734375,
0.75048828125,
0.82177734375,
0.76513671875,
0.176513671875,
0.76513671875
],
[
0.1732177734375,
0.76318359375,
0.82421875,
0.76318359375,
0.82421875,
0.78076171875,
0.1732177734375,
0.78076171875
],
[
0.176513671875,
0.78271484375,
0.82177734375,
0.78271484375,
0.82177734375,
0.79736328125,
0.176513671875,
0.79736328125
],
[
0.1732177734375,
0.796875,
0.435546875,
0.79736328125,
0.435546875,
0.8125,
0.1732177734375,
0.81103515625
],
[
0.38818359375,
0.81640625,
0.6044921875,
0.81298828125,
0.6044921875,
0.833984375,
0.38818359375,
0.8369140625
],
[
0.1748046875,
0.84326171875,
0.82275390625,
0.84326171875,
0.82275390625,
0.85791015625,
0.1748046875,
0.85791015625
],
[
0.1732177734375,
0.85791015625,
0.361083984375,
0.85693359375,
0.361083984375,
0.87060546875,
0.1732177734375,
0.8720703125
],
[
0.17724609375,
0.8818359375,
0.82177734375,
0.8818359375,
0.82177734375,
0.89599609375,
0.17724609375,
0.89599609375
],
[
0.176513671875,
0.89599609375,
0.82275390625,
0.89599609375,
0.82275390625,
0.9091796875,
0.176513671875,
0.9091796875
],
[
0.176513671875,
0.9111328125,
0.59228515625,
0.9111328125,
0.59228515625,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.49267578125,
0.94970703125,
0.50634765625,
0.94970703125,
0.50634765625,
0.9609375,
0.49267578125,
0.9609375
]
] |
[
"通过标准的泊松化技巧,预期的加性误差IS-E[SwY]I可以由Zie[n]|PL(pi)/限制,其中",
"PL是degree-L多项式",
"LE[M]",
"Pr(α)=/",
".f(k)k.",
"k!",
"k=0",
"为了使误差尽可能小,我们希望选择f(1),·,f(L),以便最小化|PL(pi)I上的。这是一个",
"众所周知的极值问题,其解由Chebyshev多项式给出,其系数具有已知的显式公式。实际",
"上,Wu&Yang(2019)表明,选择f(1),...,f(L)使得Nf(k)是(适当移位和缩放的)",
"切比雪夫多项式的系数会导致O(log(1/e)·n/logn)的最佳采样复杂度",
"2.2",
"Our Algorithm",
"Algorithm1:Learning-Based Support Estimation",
"Input:Number of samples N,domain size n,baseb,polynomial degree L,predictor",
"II",
"Output: Estimate S of the support size",
"1 Partition [,1] into intervals I, =[%, for j = O,.,logh n",
"2 Let ao, ai,..., aL be the coefficient of the Chebyshev polynomial Pz(c) from",
"Equation (??) (Note that ak =0 for all k >L)",
"3 Draw N random samples",
"4N,=#of timeswe seeelement iin samples",
"5 for every interval I, do",
"if ≤ 0-5 logn then",
"6",
"S,=Zie[n):(i)el) (",
"7",
"(1+aN.()N",
"00",
"else",
"S,=#(ie[n] :N≥1,(i)eI)",
"o",
"10",
"end",
"ii end",
"12return=",
"Zlo\" s,",
"我们的主要结果是用于估计未知分布的支持大小的样本最优算法,其中我们可以访问样本",
"以及我们采样的元素的概率的近似值。我们的算法在算法1中给出。它将间隔[,\"】划",
"分为几何递增的间隔{[,b]:j=0,1,},其中b是一个固定常数,我们将其称为F",
"基参数(在我们的证明中,此参数上限为预测因子的近似因子,这就是为什么我们使用相同",
"的字母表示两者:下一节将详细研究其在实践中的设置)。预测器将样本中观察到的元素分",
"配给区间,算法计算每个区间内的切比雪夫多项式估计。由于切比雪夫多项式的近似质量",
"由区间端点之间的比率(以及多项式次数)决定,因此可以利用此分配来获得更准确的估",
"计,从而提高整体样本复杂性。我们的主要理论结果如下",
"Theorem 1. Let b > 1 be a fixed constant. Suppose we have a predictor that given i E [n]",
"sampled from the input distribution, outputs I(i) such that II(i) ≤ pi ≤ b .II(i) . Then,",
"for any e > n-1/2 , if we set L = O(log(1/e) and draw N ~ Poisson (L .n1-1/L) samples,",
"Algorithm 1 reports an estimate S that satisfies S e[S-eVnS, S+eVns] with probability",
"at least 9/10 . In other words, using",
"0 (log (1/e) · n1-0(1/log(1/e)",
"samples, we can approximate the support size S up to an additive error of Vns , with",
"probability at least 9/10.",
"请注意,EWu&Yang(2019)的样本复杂度(在不访问预测器的情况下是最佳的)在n中",
"几乎是线性的,而定理E1给出了每个固定ε>0的多项式小于n的界限。另外,请注意",
"VnS≤n,因此我们的估计S也在n的支持大小S内",
"4"
] |
{
"arxiv_id": "2106.08396",
"language": "zh",
"page_idx": 3
}
|
||
2106.08396-zh-4
|
2106.08396-zh-4.jpg
|
我们还证明了一个相应的下界,证明了上述定理本质上是紧的
Theorem 2. Suppose we have access to a predictor that returns $\Pi(i)$ such that $\Pi(i)\leq p_i\leq$ $2\cdot\Pi(i)$ for all sampled $i.$ Then any algorithm that estimates the support size up to an $\varepsilon n$ additive error with probability at least 9/10 needs $\Omega(n^1-\Theta(1/\log(1/\varepsilon)))$ samples.
我们在附录 A 中证明了定理 1 和 2 。我们注意到,虽然我们的上界证明遵循与$\operatorname{EWu}\&$
Yang (2019)类似的方法,但我们的下界遵循不同于其线性规划参数的组合方法
The Chebyshev polynomial. 为了完整起见,我们显式编写了算法$\color{red}{E}$l 使用的多项式系
数。如果$^{4}$
$$Q_L(x)=\cos(L\cdot\arccos(x)).$$
给出了[-1,1]上的$L$次$L\text{ 的标准 Chebyshev 多项式,则由 }^{5}$ 1 给出。。因此,在定理 1
中选择$\dot{L}=O(\log(1/\varepsilon))$就足够了
2.3 Assumptions on the Predictor's Accuracy
在定理 1 和 2 中,我们假设预测器$\Pi$在每个元素$i$的常数因子内始终是正确的。正如我们将在实验部分讨论的那样,我们使用的预测器并不总是满足这个属性。因此,也许$\Pi$精度的其他模型更适合,例如$TV(\Pi,\mathcal{P})$, i 上承诺的上限。e。, $\Pi$和$\mathcal{P}$.之间的总变化距离然而事实证明,如果我们承诺$TV(\Pi,\mathcal{P})\leq\varepsilon,$,那么 Canonne $\&$ Rubinfeld (2014)的算法实际上可以仅使用$O(\varepsilon^{-2})$样本来近似$\mathcal{P}$的支持大小,直到误差$O(\varepsilon)\cdot n$ 。相反,如果我们只承诺某些 $\gamma\gg\varepsilon$,的$TV(\Pi,\mathcal{P})\leq\gamma$ ,则 Wu &Yang (2019) 的算法是最佳的,该算法需要$\Theta(n/\log n)$样本来近似$\mathcal{P}$的支持大小。我们在附录 A.2 中正式声明并证明了这两个结果我们的实验结果表明,我们的算法可以比 Canonne & Rubinfeld (2014) 和 Wu &Yang (2019)的算法更好地执行。这表明我们的假设 (逐点逼近保证,但具有任意常数乘法逼近因子),即使不完全准确,也比总变化距离界限更适合我们的应用
# 3 Experiments
在本节中,我们将根据实际和合成数据对我们的算法进行经验评估
Datasets. 我们使用两个真实数据集和一个合成数据集:
$\bullet$ AOL:21 million search queries from 650 thousand users over 90 days. The queries
are keywords for the AOL search engine. Each day is treated as a separate input
distribution. The goal is to estimate the number of distinct keywords.
$\bullet$IP:Packets collected at a backbone link of a Tier1 ISP between Chicago and Seattle
in 2016 over 60 minutes. $^{6}$ Each packet is annotated with the sender IP address, and the goal is to estimate the number of distinct addresses. Each minute is treated as a separate distribution.
$\bullet$ Zipfian:Synthetic dataset of samples drawn from a finite Zipfan distribution over
$\{1,\ldots,10^{5}\}$ with the probability of each element $i$ proportional to $i^-0.5.$
Hsu et al.(2019) 中使用了 AOL 和 IP 数据集,后者训练了一个递归神经网络 (RNN) 来预测每个数据集的给定元素的频率。我们使用他们训练有素的 RNN 作为预测因子。对于Zipfan 数据集,我们使用独立样本的经验计数作为预测。本节稍后将给出每个预测因子的更详细说明。表 1 中总结了数据集的属性
$^{4}$The fact this is indeed a polynomial is proven in standard textbooks, e.g., Timan et al. (1963) $^{5}$The fact this is indeed a polynomial is proven in standard textbooks, e.g, Timan et al. (1963) $^{6}$From CAIDA internet traces 2016, https: / / www. caida. org/ data/ monitors/ passive- equinix- chicago. xml .
5
|
[
[
0.176513671875,
0.1060791015625,
0.615234375,
0.1060791015625,
0.615234375,
0.11932373046875,
0.176513671875,
0.11932373046875
],
[
0.176513671875,
0.1256103515625,
0.82177734375,
0.1256103515625,
0.82177734375,
0.14013671875,
0.176513671875,
0.14013671875
],
[
0.1732177734375,
0.1383056640625,
0.82177734375,
0.14013671875,
0.82177734375,
0.1546630859375,
0.1732177734375,
0.15283203125
],
[
0.1732177734375,
0.1514892578125,
0.740234375,
0.1514892578125,
0.740234375,
0.169189453125,
0.1732177734375,
0.169189453125
],
[
0.176513671875,
0.18310546875,
0.82275390625,
0.18310546875,
0.82275390625,
0.1962890625,
0.176513671875,
0.1962890625
],
[
0.1748046875,
0.1956787109375,
0.740234375,
0.1962890625,
0.740234375,
0.2108154296875,
0.1748046875,
0.210205078125
],
[
0.178955078125,
0.2266845703125,
0.82275390625,
0.2279052734375,
0.82275390625,
0.24560546875,
0.178955078125,
0.2442626953125
],
[
0.176513671875,
0.2442626953125,
0.253173828125,
0.2442626953125,
0.253173828125,
0.255615234375,
0.176513671875,
0.255615234375
],
[
0.400390625,
0.261474609375,
0.59716796875,
0.260009765625,
0.59716796875,
0.274658203125,
0.400390625,
0.27587890625
],
[
0.1748046875,
0.28271484375,
0.82275390625,
0.28271484375,
0.82275390625,
0.296630859375,
0.1748046875,
0.296630859375
],
[
0.1748046875,
0.296630859375,
0.4150390625,
0.298583984375,
0.4150390625,
0.3125,
0.1748046875,
0.31005859375
],
[
0.17236328125,
0.330810546875,
0.5146484375,
0.33203125,
0.5146484375,
0.3466796875,
0.17236328125,
0.34521484375
],
[
0.176513671875,
0.359130859375,
0.82275390625,
0.359130859375,
0.82275390625,
0.37255859375,
0.176513671875,
0.37255859375
],
[
0.176513671875,
0.37255859375,
0.82275390625,
0.37255859375,
0.82275390625,
0.386474609375,
0.176513671875,
0.386474609375
],
[
0.176513671875,
0.386962890625,
0.82177734375,
0.386962890625,
0.82177734375,
0.40087890625,
0.176513671875,
0.40087890625
],
[
0.176513671875,
0.40087890625,
0.82177734375,
0.40087890625,
0.82177734375,
0.4140625,
0.176513671875,
0.4140625
],
[
0.178955078125,
0.4140625,
0.82177734375,
0.4140625,
0.82177734375,
0.427978515625,
0.178955078125,
0.427978515625
],
[
0.176513671875,
0.4287109375,
0.82177734375,
0.4287109375,
0.82177734375,
0.442626953125,
0.176513671875,
0.442626953125
],
[
0.176513671875,
0.442626953125,
0.80810546875,
0.442626953125,
0.80810546875,
0.455810546875,
0.176513671875,
0.455810546875
],
[
0.176513671875,
0.46337890625,
0.82177734375,
0.46337890625,
0.82177734375,
0.4765625,
0.176513671875,
0.4765625
],
[
0.17724609375,
0.4765625,
0.82177734375,
0.4765625,
0.82177734375,
0.490478515625,
0.17724609375,
0.490478515625
],
[
0.17724609375,
0.492431640625,
0.62158203125,
0.492431640625,
0.62158203125,
0.50244140625,
0.17724609375,
0.50244140625
],
[
0.1707763671875,
0.52783203125,
0.31787109375,
0.52880859375,
0.31787109375,
0.54345703125,
0.1707763671875,
0.54248046875
],
[
0.17724609375,
0.56298828125,
0.646484375,
0.56298828125,
0.646484375,
0.57373046875,
0.17724609375,
0.57373046875
],
[
0.181396484375,
0.5947265625,
0.271240234375,
0.5947265625,
0.271240234375,
0.60595703125,
0.181396484375,
0.60595703125
],
[
0.26708984375,
0.59326171875,
0.58642578125,
0.59326171875,
0.58642578125,
0.60693359375,
0.26708984375,
0.60693359375
],
[
0.2156982421875,
0.62060546875,
0.8203125,
0.62060546875,
0.8203125,
0.6337890625,
0.2156982421875,
0.6337890625
],
[
0.2320556640625,
0.6337890625,
0.82275390625,
0.63525390625,
0.82275390625,
0.6494140625,
0.2320556640625,
0.6484375
],
[
0.2344970703125,
0.6494140625,
0.734375,
0.6494140625,
0.734375,
0.66357421875,
0.2344970703125,
0.66357421875
],
[
0.21728515625,
0.67041015625,
0.82275390625,
0.67041015625,
0.82275390625,
0.6845703125,
0.21728515625,
0.6845703125
],
[
0.233642578125,
0.68505859375,
0.81640625,
0.68505859375,
0.81640625,
0.69873046875,
0.233642578125,
0.69873046875
],
[
0.236083984375,
0.70068359375,
0.82177734375,
0.70068359375,
0.82177734375,
0.7109375,
0.236083984375,
0.7109375
],
[
0.2344970703125,
0.71337890625,
0.420654296875,
0.71337890625,
0.420654296875,
0.7265625,
0.2344970703125,
0.7265625
],
[
0.2156982421875,
0.734375,
0.82177734375,
0.734375,
0.82177734375,
0.74755859375,
0.2156982421875,
0.74755859375
],
[
0.233642578125,
0.74755859375,
0.75341796875,
0.74755859375,
0.75341796875,
0.76220703125,
0.233642578125,
0.76220703125
],
[
0.1871337890625,
0.77587890625,
0.82177734375,
0.77587890625,
0.82177734375,
0.7890625,
0.1871337890625,
0.7890625
],
[
0.1748046875,
0.78857421875,
0.8203125,
0.78857421875,
0.8203125,
0.8017578125,
0.1748046875,
0.8017578125
],
[
0.1748046875,
0.8037109375,
0.82177734375,
0.8037109375,
0.82177734375,
0.8173828125,
0.1748046875,
0.8173828125
],
[
0.178955078125,
0.8193359375,
0.473876953125,
0.8193359375,
0.473876953125,
0.830078125,
0.178955078125,
0.830078125
],
[
0.191162109375,
0.84326171875,
0.82421875,
0.84521484375,
0.82421875,
0.86279296875,
0.191162109375,
0.861328125
],
[
0.1690673828125,
0.86572265625,
0.82421875,
0.87060546875,
0.82421875,
0.892578125,
0.1690673828125,
0.88720703125
],
[
0.191162109375,
0.896484375,
0.2467041015625,
0.8994140625,
0.2459716796875,
0.91357421875,
0.1895751953125,
0.91015625
],
[
0.2646484375,
0.8994140625,
0.32177734375,
0.8994140625,
0.32177734375,
0.9111328125,
0.2646484375,
0.9111328125
],
[
0.423095703125,
0.8994140625,
0.471435546875,
0.8994140625,
0.471435546875,
0.9140625,
0.423095703125,
0.9140625
],
[
0.491943359375,
0.89794921875,
0.53369140625,
0.8994140625,
0.53173828125,
0.9140625,
0.490234375,
0.912109375
],
[
0.560546875,
0.8994140625,
0.82177734375,
0.8994140625,
0.82177734375,
0.91357421875,
0.560546875,
0.91357421875
],
[
0.176513671875,
0.9140625,
0.369384765625,
0.9140625,
0.369384765625,
0.9248046875,
0.176513671875,
0.9248046875
],
[
0.34228515625,
0.90087890625,
0.396240234375,
0.90087890625,
0.396240234375,
0.912109375,
0.34228515625,
0.912109375
],
[
0.491943359375,
0.94873046875,
0.50732421875,
0.94873046875,
0.50732421875,
0.96337890625,
0.491943359375,
0.96337890625
]
] |
[
"我们还证明了一个相应的下界,证明了上述定理本质上是紧的",
"Theorem 2. Suppose we have access to a predictor that returns II(i) such that II(i) ≤ pi ≤",
"2 II(i) for all sampled i. Then any algorithm that estimates the support size up to an en",
"additive error with probability at least 9/10 needs 2(n1-e(1/ log(1/e)) samples.",
"我们在附录A中证明了定理1和2。我们注意到,虽然我们的上界证明遵循与EWu&",
"Yang(2019)类似的方法,但我们的下界遵循不同于其线性规划参数的组合方法",
"TheChebyshevpolynomial.为了完整起见,我们显式编写了算法E1使用的多项式系",
"数。如果4",
"QL(α) = cos(L . arccos(α)).",
"给出了「-1,1]上的L次L的标准Chebyshev多项式,则由51给出。。因此,在定理1",
"中选择L=O(log(1/e))就足够了",
"2.3Assumptions on the Predictor's Accuracy",
"在定理1和2中,我们假设预测器IⅡ在每个元素的常数因子内始终是正确的。正如我们",
"将在实验部分讨论的那样,我们使用的预测器并不总是满足这个属性。因此,也许Ⅱ精度",
"的其他模型更适合,例如TV(II,P),i上承诺的上限。e。,IⅡI和P.之间的总变化距离然而",
"事实证明,如果我们承诺TV(II,P)≤ε,,那么Canonne&Rubinfeld(2014)的算法实际",
"上可以仅使用O(e-2)样本来近似P的支持大小,直到误差O(e)·n。相反,如果我们只",
"承诺某些》ε,的TV(II,P)≤,则Wu&Yang(2019)的算法是最佳的,该算法需要",
"?(n/logn)样本来近似P的支持大小。我们在附录A.2中正式声明并证明了这两个结果",
"我们的实验结果表明,我们的算法可以比Canonne&Rubinfeld(2014)和Wu&Yang",
"2019)的算法更好地执行。这表明我们的假设(逐点逼近保证,但具有任意常数乘法逼近因",
"子),即使不完全准确,也比总变化距离界限更适合我们的应用",
"3Experiments",
"在本节中,我们将根据实际和合成数据对我们的算法进行经验评估",
"Datasets.",
"我们使用两个真实数据集和一个合成数据集:",
". AOL : 21 million search queries from 650 thousand users over 90 days. The queries",
"are keywords for the AOL search engine. Each day is treated as a separate input",
"distribution. The goal is to estimate the number of distinct keywords.",
": IP : Packets collected at a backbone link of a Tierl ISP between Chicago and Seattle",
"in 2016 over 60 minutes. 6 Each packet is annotated with the sender IP address",
"andthegoalistoestimatethenumberofdistinctaddresses.Eachminuteistreated",
"as a separate distribution.",
":Zipfian : Synthetic dataset of samples drawn from a finite Zipfian distribution over",
"[1,..., 105] with the probability of each element i proportional to i-0.5",
"Hsuetal.(2019)中使用了AOL和IP数据集,后者训练了一个递归神经网络(RNN)来",
"预测每个数据集的给定元素的频率。我们使用他们训练有素的RNN作为预测因子。对于",
"Zipfian数据集,我们使用独立样本的经验计数作为预测。本节稍后将给出每个预测因子的",
"更详细说明。表1中总结了数据集的属性",
"4The fact this is indeed a polynomial is proven in standard textbooks, e.g., Timan et al. (1963)",
"The fact this is indeed a polynomial is proven in standard textboks, eg, Timan et al. (193)",
"6From",
"CAIDA",
"traces",
"2016,",
"https://www.caida.org/data/monitors/",
"passive-equinix-chicago.xml.",
"internet",
"5"
] |
{
"arxiv_id": "2106.08396",
"language": "zh",
"page_idx": 4
}
|
||
0810.1355-zh-0
|
0810.1355-zh-0.jpg
|
Community Structure in Large Networks: Natural Cluster Sizes
and the Absence of Large Well-Defined Clusters *
Jure Leskovec$^{\dagger }$ Kevin J.Lang$^{\ddagger }$ Anirban Dasgupta$^{\dagger }$ Michael W.Mahoney$^{\{\text{The}\}}$
$\mathbf{Abstract}$
A large body of work has been devoted to defining and identifying clusters or communities in social and information networks, i.e. , in graphs in which the nodes represent underlying social entities and the edges represent some sort of interaction between pairs of nodes. Most such research begins with the premise that a community or a cluster should be thought of as a set of nodes that has more and/or better connections between its members than to the remainder of the network. In this paper, we explore from a novel perspective several questions related to identifying meaningful communities in large social and information networks, and we come to several striking conclusions. Rather than defining a procedure to extract sets of nodes from a graph and then attempt to interpret these sets as a“real”communities, we employ approximation algorithms for the graph partitioning problem to characterize as a function of size the statistical and structural properties of partitions of graphs that could plausibly be interpreted as communities. In particular, we define the network community profile plot , which characterizes the “best” possible community—according to the conductance measure
over a wide range of size scales. We study over 100 large real-world networks, ranging from traditional and on-line social networks, to technological and information networks and web graphs, and ranging in size from thousands up to tens of millions of nodes. Our results suggest a significantly more refined picture of community structure in large networks than has been appreciated previously. Our observations agree with previous work on small networks, but we show that large networks have a very different structure. In particular, we observe tight communities that are barely connected to the rest of the network at very small size scales (up to$\approx100$ nodes); and communities of size scale beyond$\approx100$ nodes gradually“blend into” the expander-like core of the network and thus become less“communitylike," with a roughly inverse relationship between community size and optimal community quality. This observation agrees well with the so-called Dunbar number which gives a limit to the size of a wellfunctioning community. However, this behavior is not explained, even at a qualitative level, by any of the commonly-used network generation models. Moreover, it is exactly the opposite of what one would expect based on intuition from expander graphs, low-dimensional or manifold-like graphs, and from small social networks that have served as testbeds of community detection algorithms. The relatively gradual increase of the network community profile plot as a function of increasing community size depends in a subtle manner on the way in which local clustering information is propagated from smaller to larger size scales in the network. We have found that a generative graph model, in which new edges are added via an iterative “forest fire”burning process, is able to produce graphs exhibiting a network community profile plot similar to what we observe in our network datasets.
$^{*}$A conference proceedings version of this paper appeared in WWW 2008 as [115]. In addition, this paper is substantially
the same as our manuscript of March 7, 2008 [114].
$^{\dagger}$Carnegie Mellon University, Pittsburgh, PA 15213. Email: jure@cs.cmu.edu
$^{\ddagger}$Yahoo! Research, Sunnyvale, CA 94089. Email: $\{$ langk, anirban $\}$ @yahoo-inc.com
$^{\$}$Stanford University, Stanford, CA 94305. Email: mmahoney@cs.stanford.edu
1
|
[
[
0.1396484375,
0.20703125,
0.85693359375,
0.20703125,
0.85693359375,
0.2247314453125,
0.1396484375,
0.2247314453125
],
[
0.221435546875,
0.23486328125,
0.76953125,
0.23486328125,
0.76953125,
0.25244140625,
0.221435546875,
0.25244140625
],
[
0.76318359375,
0.238037109375,
0.77783203125,
0.238037109375,
0.77783203125,
0.24560546875,
0.76318359375,
0.24560546875
],
[
0.461669921875,
0.272705078125,
0.6396484375,
0.272705078125,
0.6396484375,
0.290283203125,
0.461669921875,
0.290283203125
],
[
0.6611328125,
0.272705078125,
0.86376953125,
0.271484375,
0.86376953125,
0.2890625,
0.6611328125,
0.290283203125
],
[
0.294189453125,
0.2734375,
0.441162109375,
0.272705078125,
0.441162109375,
0.290283203125,
0.294189453125,
0.291748046875
],
[
0.136474609375,
0.2734375,
0.273681640625,
0.271484375,
0.273681640625,
0.2890625,
0.136474609375,
0.291748046875
],
[
0.285888671875,
0.279052734375,
0.293212890625,
0.279052734375,
0.293212890625,
0.28271484375,
0.285888671875,
0.28271484375
],
[
0.449462890625,
0.279052734375,
0.461669921875,
0.279052734375,
0.461669921875,
0.28271484375,
0.449462890625,
0.28271484375
],
[
0.463134765625,
0.333984375,
0.53173828125,
0.333984375,
0.53173828125,
0.348388671875,
0.463134765625,
0.348388671875
],
[
0.1895751953125,
0.354736328125,
0.82666015625,
0.354736328125,
0.82666015625,
0.36865234375,
0.1895751953125,
0.36865234375
],
[
0.1666259765625,
0.369384765625,
0.82861328125,
0.369384765625,
0.82861328125,
0.38330078125,
0.1666259765625,
0.38330078125
],
[
0.1650390625,
0.3837890625,
0.82861328125,
0.3837890625,
0.82861328125,
0.397705078125,
0.1650390625,
0.397705078125
],
[
0.1650390625,
0.397705078125,
0.830078125,
0.397705078125,
0.830078125,
0.410888671875,
0.1650390625,
0.410888671875
],
[
0.1666259765625,
0.410888671875,
0.82666015625,
0.410888671875,
0.82666015625,
0.4248046875,
0.1666259765625,
0.4248046875
],
[
0.1650390625,
0.425537109375,
0.830078125,
0.425537109375,
0.830078125,
0.439453125,
0.1650390625,
0.439453125
],
[
0.1650390625,
0.439453125,
0.830078125,
0.439453125,
0.830078125,
0.45263671875,
0.1650390625,
0.45263671875
],
[
0.1666259765625,
0.45263671875,
0.830078125,
0.45263671875,
0.830078125,
0.466552734375,
0.1666259765625,
0.466552734375
],
[
0.1650390625,
0.46728515625,
0.830078125,
0.46728515625,
0.830078125,
0.48095703125,
0.1650390625,
0.48095703125
],
[
0.1666259765625,
0.48095703125,
0.830078125,
0.48095703125,
0.830078125,
0.494384765625,
0.1666259765625,
0.494384765625
],
[
0.1666259765625,
0.494384765625,
0.830078125,
0.494384765625,
0.830078125,
0.50830078125,
0.1666259765625,
0.50830078125
],
[
0.1650390625,
0.50830078125,
0.81640625,
0.50830078125,
0.81640625,
0.521484375,
0.1650390625,
0.521484375
],
[
0.1666259765625,
0.521484375,
0.82861328125,
0.521484375,
0.82861328125,
0.53515625,
0.1666259765625,
0.53515625
],
[
0.1650390625,
0.5361328125,
0.82861328125,
0.5361328125,
0.82861328125,
0.5498046875,
0.1650390625,
0.5498046875
],
[
0.1650390625,
0.5498046875,
0.55810546875,
0.5498046875,
0.55810546875,
0.56298828125,
0.1650390625,
0.56298828125
],
[
0.5498046875,
0.5498046875,
0.830078125,
0.5498046875,
0.830078125,
0.56298828125,
0.5498046875,
0.56298828125
],
[
0.1650390625,
0.56298828125,
0.830078125,
0.56298828125,
0.830078125,
0.5771484375,
0.1650390625,
0.5771484375
],
[
0.1683349609375,
0.5791015625,
0.82666015625,
0.5791015625,
0.82666015625,
0.5888671875,
0.1683349609375,
0.5888671875
],
[
0.1666259765625,
0.59130859375,
0.830078125,
0.59130859375,
0.830078125,
0.60498046875,
0.1666259765625,
0.60498046875
],
[
0.1650390625,
0.60498046875,
0.82861328125,
0.60498046875,
0.82861328125,
0.61865234375,
0.1650390625,
0.61865234375
],
[
0.1650390625,
0.61865234375,
0.82666015625,
0.61865234375,
0.82666015625,
0.6318359375,
0.1650390625,
0.6318359375
],
[
0.1650390625,
0.63330078125,
0.82666015625,
0.63330078125,
0.82666015625,
0.646484375,
0.1650390625,
0.646484375
],
[
0.1666259765625,
0.646484375,
0.82666015625,
0.646484375,
0.82666015625,
0.66015625,
0.1666259765625,
0.66015625
],
[
0.1666259765625,
0.662109375,
0.82861328125,
0.662109375,
0.82861328125,
0.67236328125,
0.1666259765625,
0.67236328125
],
[
0.1650390625,
0.6748046875,
0.82861328125,
0.6748046875,
0.82861328125,
0.68798828125,
0.1650390625,
0.68798828125
],
[
0.1666259765625,
0.68798828125,
0.82861328125,
0.68798828125,
0.82861328125,
0.7021484375,
0.1666259765625,
0.7021484375
],
[
0.1650390625,
0.70068359375,
0.826171875,
0.70068359375,
0.826171875,
0.7138671875,
0.1650390625,
0.7138671875
],
[
0.1650390625,
0.71533203125,
0.82861328125,
0.7138671875,
0.82861328125,
0.72900390625,
0.1650390625,
0.72998046875
],
[
0.1666259765625,
0.72998046875,
0.82861328125,
0.72998046875,
0.82861328125,
0.74365234375,
0.1666259765625,
0.74365234375
],
[
0.1650390625,
0.7421875,
0.82666015625,
0.7421875,
0.82666015625,
0.755859375,
0.1650390625,
0.755859375
],
[
0.1641845703125,
0.755859375,
0.830078125,
0.7568359375,
0.830078125,
0.771484375,
0.1641845703125,
0.77099609375
],
[
0.1650390625,
0.771484375,
0.734375,
0.771484375,
0.734375,
0.78515625,
0.1650390625,
0.78515625
],
[
0.1422119140625,
0.8369140625,
0.869140625,
0.83837890625,
0.869140625,
0.85302734375,
0.1422119140625,
0.8515625
],
[
0.125,
0.85302734375,
0.4345703125,
0.85302734375,
0.4345703125,
0.86279296875,
0.125,
0.86279296875
],
[
0.143798828125,
0.8671875,
0.611328125,
0.8671875,
0.611328125,
0.880859375,
0.143798828125,
0.880859375
],
[
0.1405029296875,
0.8818359375,
0.65869140625,
0.88330078125,
0.65869140625,
0.89794921875,
0.1405029296875,
0.896484375
],
[
0.1405029296875,
0.89794921875,
0.62109375,
0.8984375,
0.62109375,
0.91357421875,
0.1405029296875,
0.912109375
],
[
0.491943359375,
0.93603515625,
0.50341796875,
0.93603515625,
0.50341796875,
0.94970703125,
0.491943359375,
0.94970703125
]
] |
[
"Community Structure in Large Networks: Natural Cluster Sizes",
"and the Absence of Large Well-Defined Clusters",
"",
"Anirban Dasguptat",
"Michael W. Mahoney s",
"Kevin J. Lang t",
"Jure Leskovec t",
"",
"",
"Abstract",
"A large body of work has been devoted to defining and identifying clusters or communities in social",
"and information networks, i.e. , in graphs in which the nodes represent underlying social entities and",
"the edges represent some sort of interaction between pairs of nodes. Most such research begins with",
"the premise that a community or a cluster should be thought of as a set of nodes that has more",
"and/or better connections between its members than to the remainder of the network. In this paper,",
"we explore from a novel perspective several questions related to identifying meaningful communities",
"in large social and information networks, and we come to several striking conclusions. Rather than",
"defining a procedure to extract sets of nodes from a graph and then attempt to interpret these sets",
"as a “real\" communities, we employ approximation algorithms for the graph partitioning problem to",
"characterize as a function of size the statistical and structural properties of partitions of graphs that",
"could plausibly be interpreted as communities. In particular, we define the network community profile",
"plot , which characterizes the\"best\"possible community-according to the conductance measure",
"over a wide range of size scales. We study over 100 large real-world networks, ranging from traditional",
"and on-line social networks, to technological and information networks and web graphs, and ranging",
"in size from thousands up to tens of millions of nodes.",
"Our results suggest a significantly more",
"refined picture of community structure in large networks than has been appreciated previously. Our",
"observationsagreewithpreviousworkonsmallnetworks,butweshowthatlargenetworkshaveavery",
"different structure. In particular, we observe tight communities that are barely connected to the rest of",
"the network at very small size scales (up to ~ 100 nodes); and communities of size scale beyond ~ 100",
"nodes gradually \"blend into\" the expander-like core of the network and thus become less“\"community-",
"like,\"with a roughly inverse relationship between community size and optimal community quality.",
"This observation agrees well with the so-called Dunbar number which gives a limit to the size of a well-",
"functioning community.However,thisbehavior is not explained, even at a qualitative level,byany of",
"the commonly-used network generation models. Moreover, it is exactly the opposite of what one would",
"expect based on intuition from expander graphs, low-dimensional or manifold-like graphs, and from",
"small social networks that have served as testbeds of community detection algorithms. The relatively",
"gradual increase of the network community profile plot as a function of increasing community size",
"depends in a subtle manner on the way in which local clustering information is propagated from",
"smaller to larger size scales in the network. We have found that a generative graph model, in which",
"new edges are added via an iterative “forest fire\" burning process, is able to produce graphs exhibiting",
"a network community profile plot similar to what we observe in our network datasets.",
"*A conference proceedings version of this paper appeared in WwW 2008 as [115]. In addition, this paper is substantially",
"the same as our manuscript of March 7, 2008 [114]",
"tCarnegie Mellon University,Pittsburgh, PA 15213. Email: jure@cs.cmu.edu",
"+Yahoo! Research, Sunnyvale, CA 94089. Email: { langk, anirban } @yahoo-inc.com",
"$Stanford University, Stanford, CA 94305. Email: mmahoney@cs.stanford.edu",
"1"
] |
{
"arxiv_id": "0810.1355",
"language": "zh",
"page_idx": 0
}
|
||
0810.1355-zh-1
|
0810.1355-zh-1.jpg
|
2
## Contents
3
1 Introduction
3
1.1
Overview of our approach
1.2
5
Summary of our results
1.3
8
Outline of the paper
8
2
Background on communities and overview of our methods
2.1 Social and information network datasets we analyze
8
2.2 Clusters and communities in networks
12
2.3 Approximation algorithms for fnding low-conductance cuts
13
3
The Network Community Profile Plot (NCP plot)
14
3.1
Defnitions for the network community profle plot
14
3.2 Community profile plots for expander, low-dimensional, and small social networks
15
3.3 Community profile plots for large social and information networks
17
3.4 More community profile plots for large social and information networks
20
4
21
4.1
General statistics on our network datasets
21
4.2 Network“whiskers”and the“core”
2525
4.3 Bags of whiskers and communities of composed whiskers
4.4
28
Community profile of networks with no 1-whiskers
More structural observations of our network datasets
5 Comparison to other algorithms
28
5.1
28
Cross-checking between algorithms 5.2 Lower bounds on cut conductance
30
5.3 Local Spectral and Metis+MQI
32
6
33
Models for network community structure
6.1
34
Community profle plots for commonly-used network generation models
6.2 Very sparse random graphs have very unbalanced deep cuts
37
6.3 An intuitive toy model for generating an upward-sloping NCP plot
42
6.4 A more realistic model of network community structure
42
### 7 Discussion 7.1
44
Comparison with“ground truth”and sociological communities
46
7.2 Connections and broader implications
49
7.3 Relationship with community identification methods
50
7.4 Relationship with other theoretical work
50
51
8 Conclusion
9
51
|
[
[
0.125,
0.11553955078125,
0.136474609375,
0.11553955078125,
0.136474609375,
0.1275634765625,
0.125,
0.1275634765625
],
[
0.1258544921875,
0.1962890625,
0.2320556640625,
0.1962890625,
0.2320556640625,
0.2139892578125,
0.1258544921875,
0.2139892578125
],
[
0.15283203125,
0.2279052734375,
0.261474609375,
0.2279052734375,
0.261474609375,
0.2412109375,
0.15283203125,
0.2412109375
],
[
0.8544921875,
0.2279052734375,
0.87158203125,
0.2279052734375,
0.87158203125,
0.24365234375,
0.8544921875,
0.24365234375
],
[
0.85546875,
0.2412109375,
0.87158203125,
0.2412109375,
0.87158203125,
0.25830078125,
0.85546875,
0.25830078125
],
[
0.1258544921875,
0.2298583984375,
0.136474609375,
0.2298583984375,
0.136474609375,
0.2392578125,
0.1258544921875,
0.2392578125
],
[
0.148681640625,
0.24365234375,
0.17724609375,
0.24365234375,
0.17724609375,
0.25830078125,
0.148681640625,
0.25830078125
],
[
0.191162109375,
0.24365234375,
0.378173828125,
0.24365234375,
0.378173828125,
0.2568359375,
0.191162109375,
0.2568359375
],
[
0.148681640625,
0.25830078125,
0.17724609375,
0.25830078125,
0.17724609375,
0.272705078125,
0.148681640625,
0.272705078125
],
[
0.1895751953125,
0.2568359375,
0.366943359375,
0.25830078125,
0.366943359375,
0.272705078125,
0.1895751953125,
0.271484375
],
[
0.85546875,
0.25830078125,
0.87158203125,
0.25830078125,
0.87158203125,
0.2734375,
0.85546875,
0.2734375
],
[
0.1895751953125,
0.272705078125,
0.340576171875,
0.2734375,
0.340576171875,
0.28857421875,
0.1895751953125,
0.287353515625
],
[
0.85546875,
0.272705078125,
0.87158203125,
0.272705078125,
0.87158203125,
0.287353515625,
0.85546875,
0.287353515625
],
[
0.1519775390625,
0.2998046875,
0.6357421875,
0.300537109375,
0.6357421875,
0.31494140625,
0.1519775390625,
0.314453125
],
[
0.148681640625,
0.2734375,
0.17724609375,
0.2734375,
0.17724609375,
0.28857421875,
0.148681640625,
0.28857421875
],
[
0.1258544921875,
0.302978515625,
0.136474609375,
0.302978515625,
0.136474609375,
0.313232421875,
0.1258544921875,
0.313232421875
],
[
0.8544921875,
0.300537109375,
0.87158203125,
0.300537109375,
0.87158203125,
0.31640625,
0.8544921875,
0.31640625
],
[
0.1502685546875,
0.31640625,
0.1732177734375,
0.31640625,
0.1732177734375,
0.330078125,
0.1502685546875,
0.330078125
],
[
0.191162109375,
0.317626953125,
0.5703125,
0.317626953125,
0.5703125,
0.330810546875,
0.191162109375,
0.330810546875
],
[
0.85546875,
0.31494140625,
0.87158203125,
0.31494140625,
0.87158203125,
0.330078125,
0.85546875,
0.330078125
],
[
0.148681640625,
0.33203125,
0.176513671875,
0.33203125,
0.176513671875,
0.3447265625,
0.148681640625,
0.3447265625
],
[
0.193603515625,
0.333251953125,
0.468017578125,
0.333251953125,
0.468017578125,
0.343505859375,
0.193603515625,
0.343505859375
],
[
0.8486328125,
0.330810546875,
0.87109375,
0.330810546875,
0.87109375,
0.34521484375,
0.8486328125,
0.34521484375
],
[
0.148681640625,
0.3466796875,
0.17724609375,
0.3466796875,
0.17724609375,
0.361083984375,
0.148681640625,
0.361083984375
],
[
0.19287109375,
0.347900390625,
0.62109375,
0.347900390625,
0.62109375,
0.361083984375,
0.19287109375,
0.361083984375
],
[
0.8486328125,
0.3466796875,
0.87158203125,
0.3466796875,
0.87158203125,
0.361083984375,
0.8486328125,
0.361083984375
],
[
0.1544189453125,
0.37255859375,
0.56884765625,
0.373779296875,
0.56884765625,
0.38818359375,
0.1544189453125,
0.386962890625
],
[
0.84619140625,
0.37255859375,
0.87353515625,
0.37255859375,
0.87353515625,
0.389404296875,
0.84619140625,
0.389404296875
],
[
0.8486328125,
0.38818359375,
0.87158203125,
0.38818359375,
0.87158203125,
0.40283203125,
0.8486328125,
0.40283203125
],
[
0.1258544921875,
0.375,
0.1380615234375,
0.375,
0.1380615234375,
0.386474609375,
0.1258544921875,
0.386474609375
],
[
0.148681640625,
0.389404296875,
0.17724609375,
0.389404296875,
0.17724609375,
0.404052734375,
0.148681640625,
0.404052734375
],
[
0.19287109375,
0.389404296875,
0.55615234375,
0.389404296875,
0.55615234375,
0.40283203125,
0.19287109375,
0.40283203125
],
[
0.148681640625,
0.404052734375,
0.17724609375,
0.404052734375,
0.17724609375,
0.41845703125,
0.148681640625,
0.41845703125
],
[
0.19287109375,
0.40478515625,
0.78125,
0.40478515625,
0.78125,
0.41845703125,
0.19287109375,
0.41845703125
],
[
0.8486328125,
0.404052734375,
0.87109375,
0.404052734375,
0.87109375,
0.41845703125,
0.8486328125,
0.41845703125
],
[
0.148681640625,
0.419189453125,
0.17724609375,
0.419189453125,
0.17724609375,
0.434326171875,
0.148681640625,
0.434326171875
],
[
0.191162109375,
0.41845703125,
0.6689453125,
0.419189453125,
0.6689453125,
0.434326171875,
0.191162109375,
0.43310546875
],
[
0.8486328125,
0.419189453125,
0.87109375,
0.419189453125,
0.87109375,
0.43310546875,
0.8486328125,
0.43310546875
],
[
0.148681640625,
0.434326171875,
0.17724609375,
0.434326171875,
0.17724609375,
0.448974609375,
0.148681640625,
0.448974609375
],
[
0.1895751953125,
0.43310546875,
0.705078125,
0.434326171875,
0.705078125,
0.448974609375,
0.1895751953125,
0.447509765625
],
[
0.8486328125,
0.434326171875,
0.87109375,
0.434326171875,
0.87109375,
0.448974609375,
0.8486328125,
0.448974609375
],
[
0.131591796875,
0.460205078125,
0.1422119140625,
0.468505859375,
0.131591796875,
0.4765625,
0.12091064453125,
0.468505859375
],
[
0.1544189453125,
0.462158203125,
0.59619140625,
0.462158203125,
0.59619140625,
0.47607421875,
0.1544189453125,
0.47607421875
],
[
0.84716796875,
0.4609375,
0.87109375,
0.4609375,
0.87109375,
0.47607421875,
0.84716796875,
0.47607421875
],
[
0.148681640625,
0.477783203125,
0.1748046875,
0.477783203125,
0.1748046875,
0.490478515625,
0.148681640625,
0.490478515625
],
[
0.191162109375,
0.477783203125,
0.498291015625,
0.477783203125,
0.498291015625,
0.4912109375,
0.191162109375,
0.4912109375
],
[
0.8486328125,
0.4765625,
0.87109375,
0.4765625,
0.87109375,
0.4912109375,
0.8486328125,
0.4912109375
],
[
0.1478271484375,
0.4912109375,
0.17724609375,
0.4912109375,
0.17724609375,
0.50830078125,
0.1478271484375,
0.50830078125
],
[
0.191162109375,
0.492431640625,
0.4453125,
0.492431640625,
0.4453125,
0.505859375,
0.191162109375,
0.505859375
],
[
0.8486328125,
0.492431640625,
0.87109375,
0.492431640625,
0.87109375,
0.5068359375,
0.8486328125,
0.5068359375
],
[
0.146240234375,
0.5068359375,
0.17724609375,
0.5068359375,
0.17724609375,
0.52294921875,
0.146240234375,
0.52294921875
],
[
0.19287109375,
0.50830078125,
0.5986328125,
0.50830078125,
0.5986328125,
0.521484375,
0.19287109375,
0.521484375
],
[
0.8486328125,
0.5068359375,
0.87158203125,
0.5068359375,
0.87158203125,
0.521484375,
0.8486328125,
0.521484375
],
[
0.148681640625,
0.52294921875,
0.17724609375,
0.52294921875,
0.17724609375,
0.537109375,
0.148681640625,
0.537109375
],
[
0.19287109375,
0.5234375,
0.560546875,
0.5234375,
0.560546875,
0.537109375,
0.19287109375,
0.537109375
],
[
0.8486328125,
0.52294921875,
0.87109375,
0.52294921875,
0.87109375,
0.537109375,
0.8486328125,
0.537109375
],
[
0.1544189453125,
0.548828125,
0.420654296875,
0.5498046875,
0.420654296875,
0.564453125,
0.1544189453125,
0.56298828125
],
[
0.84716796875,
0.5498046875,
0.87109375,
0.5498046875,
0.87109375,
0.564453125,
0.84716796875,
0.564453125
],
[
0.8486328125,
0.564453125,
0.87109375,
0.564453125,
0.87109375,
0.5791015625,
0.8486328125,
0.5791015625
],
[
0.1258544921875,
0.5517578125,
0.136474609375,
0.5517578125,
0.136474609375,
0.5625,
0.1258544921875,
0.5625
],
[
0.148681640625,
0.56494140625,
0.1732177734375,
0.56494140625,
0.1732177734375,
0.5791015625,
0.148681640625,
0.5791015625
],
[
0.191162109375,
0.56494140625,
0.441162109375,
0.56494140625,
0.441162109375,
0.5791015625,
0.191162109375,
0.5791015625
],
[
0.148681640625,
0.5771484375,
0.178955078125,
0.58056640625,
0.1748046875,
0.59765625,
0.1446533203125,
0.59326171875
],
[
0.1895751953125,
0.5791015625,
0.439453125,
0.580078125,
0.439453125,
0.5947265625,
0.1895751953125,
0.59326171875
],
[
0.8486328125,
0.580078125,
0.87109375,
0.580078125,
0.87109375,
0.5947265625,
0.8486328125,
0.5947265625
],
[
0.148681640625,
0.59521484375,
0.17724609375,
0.59521484375,
0.17724609375,
0.60986328125,
0.148681640625,
0.60986328125
],
[
0.188720703125,
0.5947265625,
0.42236328125,
0.59521484375,
0.42236328125,
0.60986328125,
0.188720703125,
0.609375
],
[
0.8486328125,
0.59521484375,
0.87109375,
0.59521484375,
0.87109375,
0.609375,
0.8486328125,
0.609375
],
[
0.15283203125,
0.6220703125,
0.498291015625,
0.62255859375,
0.498291015625,
0.63720703125,
0.15283203125,
0.63623046875
],
[
0.84716796875,
0.62255859375,
0.87109375,
0.62255859375,
0.87109375,
0.63720703125,
0.84716796875,
0.63720703125
],
[
0.84716796875,
0.63623046875,
0.87158203125,
0.63623046875,
0.87158203125,
0.65380859375,
0.84716796875,
0.65380859375
],
[
0.1258544921875,
0.625,
0.1380615234375,
0.625,
0.1380615234375,
0.63525390625,
0.1258544921875,
0.63525390625
],
[
0.148681640625,
0.63818359375,
0.17724609375,
0.63818359375,
0.17724609375,
0.65283203125,
0.148681640625,
0.65283203125
],
[
0.191162109375,
0.63818359375,
0.7060546875,
0.63818359375,
0.7060546875,
0.65283203125,
0.191162109375,
0.65283203125
],
[
0.148681640625,
0.65380859375,
0.17724609375,
0.65380859375,
0.17724609375,
0.66845703125,
0.148681640625,
0.66845703125
],
[
0.19287109375,
0.65380859375,
0.62158203125,
0.65380859375,
0.62158203125,
0.66748046875,
0.19287109375,
0.66748046875
],
[
0.8486328125,
0.65380859375,
0.87109375,
0.65380859375,
0.87109375,
0.66748046875,
0.8486328125,
0.66748046875
],
[
0.19287109375,
0.66748046875,
0.6708984375,
0.66845703125,
0.6708984375,
0.68310546875,
0.19287109375,
0.681640625
],
[
0.8486328125,
0.66845703125,
0.87109375,
0.66845703125,
0.87109375,
0.68310546875,
0.8486328125,
0.68310546875
],
[
0.8486328125,
0.68310546875,
0.87109375,
0.68310546875,
0.87109375,
0.69775390625,
0.8486328125,
0.69775390625
],
[
0.148681640625,
0.66943359375,
0.17724609375,
0.66943359375,
0.17724609375,
0.6845703125,
0.148681640625,
0.6845703125
],
[
0.148681640625,
0.6845703125,
0.17724609375,
0.6845703125,
0.17724609375,
0.69873046875,
0.148681640625,
0.69873046875
],
[
0.19287109375,
0.6845703125,
0.5947265625,
0.6845703125,
0.5947265625,
0.69775390625,
0.19287109375,
0.69775390625
],
[
0.1258544921875,
0.7119140625,
0.136474609375,
0.7119140625,
0.136474609375,
0.7236328125,
0.1258544921875,
0.7236328125
],
[
0.156005859375,
0.7119140625,
0.24267578125,
0.7119140625,
0.24267578125,
0.7236328125,
0.156005859375,
0.7236328125
],
[
0.84716796875,
0.7109375,
0.87109375,
0.7109375,
0.87109375,
0.724609375,
0.84716796875,
0.724609375
],
[
0.191162109375,
0.72607421875,
0.64453125,
0.72607421875,
0.64453125,
0.74072265625,
0.191162109375,
0.74072265625
],
[
0.8486328125,
0.72607421875,
0.87158203125,
0.72607421875,
0.87158203125,
0.74072265625,
0.8486328125,
0.74072265625
],
[
0.8486328125,
0.74072265625,
0.87109375,
0.74072265625,
0.87109375,
0.7548828125,
0.8486328125,
0.7548828125
],
[
0.148681640625,
0.7265625,
0.17724609375,
0.7265625,
0.17724609375,
0.7412109375,
0.148681640625,
0.7412109375
],
[
0.1502685546875,
0.7412109375,
0.176513671875,
0.7412109375,
0.176513671875,
0.7548828125,
0.1502685546875,
0.7548828125
],
[
0.19287109375,
0.7412109375,
0.4697265625,
0.7412109375,
0.4697265625,
0.755859375,
0.19287109375,
0.755859375
],
[
0.1478271484375,
0.7548828125,
0.17724609375,
0.7548828125,
0.17724609375,
0.771484375,
0.1478271484375,
0.771484375
],
[
0.19287109375,
0.75830078125,
0.56787109375,
0.75830078125,
0.56787109375,
0.76806640625,
0.19287109375,
0.76806640625
],
[
0.8486328125,
0.755859375,
0.87109375,
0.755859375,
0.87109375,
0.77099609375,
0.8486328125,
0.77099609375
],
[
0.148681640625,
0.771484375,
0.17724609375,
0.771484375,
0.17724609375,
0.7861328125,
0.148681640625,
0.7861328125
],
[
0.1895751953125,
0.77099609375,
0.48779296875,
0.771484375,
0.48779296875,
0.7861328125,
0.1895751953125,
0.78515625
],
[
0.8486328125,
0.771484375,
0.87109375,
0.771484375,
0.87109375,
0.78515625,
0.8486328125,
0.78515625
],
[
0.1544189453125,
0.798828125,
0.2484130859375,
0.798828125,
0.2484130859375,
0.81298828125,
0.1544189453125,
0.81298828125
],
[
0.84619140625,
0.79736328125,
0.87158203125,
0.79736328125,
0.87158203125,
0.81494140625,
0.84619140625,
0.81494140625
],
[
0.125,
0.8271484375,
0.136474609375,
0.8271484375,
0.136474609375,
0.8388671875,
0.125,
0.8388671875
],
[
0.1258544921875,
0.7998046875,
0.1380615234375,
0.7998046875,
0.1380615234375,
0.8125,
0.1258544921875,
0.8125
],
[
0.84716796875,
0.8271484375,
0.87109375,
0.8271484375,
0.87109375,
0.84130859375,
0.84716796875,
0.84130859375
]
] |
[
"2",
"Contents",
"Introduction",
"3",
"3",
"1",
"1.1",
"Overview of our approach",
"1.2",
"Summary of our results",
"5",
"Outlineof thepaper",
"8",
"Background on communities and overview of our methods",
"1.3",
"2",
"8",
"2.1",
"Social and information network datasets we analyze",
"8",
"2.2",
"Clusters and communities in networks",
"12",
"2.3",
"Approximation algorithms for finding low-conductance cuts",
"13",
"The Network Community Profile Plot (NCP plot)",
"14",
"14",
"3",
"3.1",
"Definitions for the network community profile plot",
"3.2",
"Community profile plots for expander, low-dimensional, and small social networks",
"15",
"3.3",
"Community profileplots for large social and information networks",
"17",
"3.4",
"More community profile plots for large social and information networks",
"20",
"N",
"More structural observations of our network datasets",
"21",
"4.1",
"General statistics on our network datasets",
"21",
"4.2",
"Network\"whiskers\" and the\"core\"",
"25",
"4.3",
"Bags of whiskers and communities of composed whiskers",
"25",
"4.4",
"Community profile of networks with no 1 -whiskers",
"28",
"Comparison to other algorithms",
"28",
"28",
"5",
"5.1",
"Cross-checking between algorithms",
"5.2",
"Lower bounds on cut conductance",
"30",
"5.3",
"Local Spectral and Metis+MQI",
"32",
"Models for network community structure",
"33",
"34",
"6",
"6.1",
"Community profile plots for commonly-used network generation models",
"6.2",
"Very sparse random graphs have very unbalanced deep cuts",
"37",
"An intuitive toy model for generating an upward-sloping NCP plot",
"42",
"42",
"6.3",
"6.4",
"A more realistic model of network community structure",
"7",
"Discussion",
"44",
"Comparison with “ground truth\" and sociological communities",
"46",
"49",
"7.1",
"7.2",
"Connections and broader implications",
"7.3",
"Relationshipwithcommunitvidentification methods",
"50",
"7.4",
"Relationship with other theoretical work",
"50",
"Conclusion",
"51",
"9",
"8",
"51"
] |
{
"arxiv_id": "0810.1355",
"language": "zh",
"page_idx": 1
}
|
||
0810.1355-zh-2
|
0810.1355-zh-2.jpg
|
$COMMUNITYSTRUCTUREINLARGENETWORKS$
3
## 1 Introduction
大量研究致力于在社交和信息网络$i.e.$中定义和识别社区的任务,其中节点表示底层社交实体,边缘表示节点对之间的交互。关于大型网络中社区检测主题的最新论文首先指出,社区存在于此类网络中是一个共同的经验问题。然后,这些论文指出,尽管社区没有商定的定义,但社区应被视为一组节点,其成员之间的连接比其成员与网络其余部分之间的连接更多和/或更好。然后,这些论文应用了一系列算法技术和直觉来提取节点子集,然后将这些子集解释为与一些潜在的“真实”现实世界社区相对应的有意义的社区。在本文中,我们从一个新颖的角度探讨了与在大型稀疏网络中识别有意义的社区有关的几个问题, 我们得出了几个引人注目的结论,这些结论对此类网络中的社区检测和图划分有影响。我们强调,与以前关于这个主题的大多数工作相比,我们研究了多达数百万个节点的非常大的网络,我们观察到的现象与在小型的通常分析的网络中看到的现象非常不同。
# 1.1 Overview of our approach
冒着过度简化复杂网络中社区检测的庞大且通常复杂的工作主体的风险,以下由五部分组成的故事描述
了一般方法:
(1) Data are modeled by an“interaction graph" In particular, part of the world gets mapped to a
graph in which nodes represent entities and edges represent some type of interaction between pairs of those entities. For example, in a social network, nodes may represent individual people and edges may represent friendships, interactions or communication between pairs of those people.
(2) The hypothesis is made that the world contains groups of entities that interact more strongly
amongst themselves than with the outside world, and hence the interaction graph should contain sets of nodes, $i. e.$ , communities, that have more and/or better-connected“internal edges” connecting members of the set than “cut edges”connecting the set to the rest of the world.
(3) A objective function or metric is chosen to formalize this idea of groups with more intra-group than
inter-group connectivity.
(4) An algorithm is then selected to fnd sets of nodes that exactly or approximately optimize this
or some other related metric. Sets of nodes that the algorithm finds are then called“clusters,"
“communities,”“groups,”“classes,”or“modules”.
(5) The clusters or communities or modules are evaluated in some way. For example, one may map
the sets of nodes back to the real world to see whether they appear to make intuitive sense as a plausible“real” community. Alternatively, one may attempt to acquire some form of“ground truth," in which case the set of nodes output by the algorithm may be compared with it.
关于点(1)-(4),我们遵循通常的路径。特别是,我们采用点(1)和(2),然后我们探索做出这样的选择 $i. e.$ 做出这样的假设和建模假设的后果。对于第 (3)点,我们选择了一个自然且被广泛采用的社区善(社区质量得分)概念,称为 conductance , 也称为归一化割度量$\mathbb{E}[34,147,93]$。非正式地, 一组节点的电导(在$\mathbb{E}$2.3 节中进行了更详细的定义和讨论)是该组与其补码之间的“切割”边的数量除以该组内部的“内部”边的数量之比。因此,要成为一个好的社区,一组节点应该具有较小的电导,即。e。,它应该有很多内部边缘,很少有边缘指向网络的其余部分。电导被广泛用于捕捉一个好社区的直觉; 它是一个基本的组合量;它在交互图上的随机游走方面有非常自然的解释。此外,由于存在丰富的理论和实践算法$\mathbb{E}[87,149,107,108,17,95,96,162,54]$ ,我们可以针对点(4)比较和对比几种方法来近似优化它。为了说明电导,请注意,在图$\overline E1$的图表中所示的三个 5 节点集$A$ , $B$和$C$中,$B$具有最佳(最低)电导,因此是最类似社区的
但是,正是在点(5)中,我们偏离了以前的工作。我们不是专注于单个节点组并试图将其解释为“真实”社区,而是在 100 大型稀疏现实世界中的各种规模规模上调查大量社区的统计属性社交和信息网络。我们退后一步,间这样的问题:真实的图形如何分裂成社区?衡量和表征网络中社区结构存在与否的好方法是什么?典型的社区规模和典型的社区品质是什么?
|
[
[
0.1282958984375,
0.117431640625,
0.468017578125,
0.117431640625,
0.468017578125,
0.1275634765625,
0.1282958984375,
0.1275634765625
],
[
0.85546875,
0.11553955078125,
0.87158203125,
0.11553955078125,
0.87158203125,
0.1300048828125,
0.85546875,
0.1300048828125
],
[
0.125,
0.1578369140625,
0.316162109375,
0.1578369140625,
0.316162109375,
0.17236328125,
0.125,
0.17236328125
],
[
0.12744140625,
0.1875,
0.86767578125,
0.1875,
0.86767578125,
0.2008056640625,
0.12744140625,
0.2008056640625
],
[
0.12744140625,
0.20263671875,
0.85302734375,
0.20263671875,
0.85302734375,
0.216552734375,
0.12744140625,
0.216552734375
],
[
0.12744140625,
0.2183837890625,
0.86669921875,
0.2183837890625,
0.86669921875,
0.231689453125,
0.12744140625,
0.231689453125
],
[
0.12744140625,
0.23291015625,
0.86767578125,
0.23291015625,
0.86767578125,
0.246826171875,
0.12744140625,
0.246826171875
],
[
0.12744140625,
0.2474365234375,
0.86767578125,
0.2474365234375,
0.86767578125,
0.261474609375,
0.12744140625,
0.261474609375
],
[
0.12744140625,
0.26318359375,
0.86767578125,
0.26318359375,
0.86767578125,
0.276611328125,
0.12744140625,
0.276611328125
],
[
0.1258544921875,
0.27783203125,
0.86669921875,
0.27783203125,
0.86669921875,
0.291748046875,
0.1258544921875,
0.291748046875
],
[
0.12744140625,
0.29345703125,
0.86669921875,
0.29345703125,
0.86669921875,
0.306884765625,
0.12744140625,
0.306884765625
],
[
0.1282958984375,
0.30810546875,
0.49267578125,
0.30810546875,
0.49267578125,
0.3212890625,
0.1282958984375,
0.3212890625
],
[
0.1258544921875,
0.34228515625,
0.181396484375,
0.34228515625,
0.181396484375,
0.354248046875,
0.1258544921875,
0.354248046875
],
[
0.17724609375,
0.341552734375,
0.428955078125,
0.341552734375,
0.428955078125,
0.35595703125,
0.17724609375,
0.35595703125
],
[
0.12744140625,
0.3662109375,
0.86669921875,
0.3662109375,
0.86669921875,
0.380126953125,
0.12744140625,
0.380126953125
],
[
0.1282958984375,
0.38330078125,
0.2132568359375,
0.38330078125,
0.2132568359375,
0.393310546875,
0.1282958984375,
0.393310546875
],
[
0.1380615234375,
0.404052734375,
0.86767578125,
0.404052734375,
0.86767578125,
0.417236328125,
0.1380615234375,
0.417236328125
],
[
0.1666259765625,
0.419189453125,
0.86767578125,
0.419189453125,
0.86767578125,
0.43310546875,
0.1666259765625,
0.43310546875
],
[
0.1683349609375,
0.434326171875,
0.86767578125,
0.434326171875,
0.86767578125,
0.447509765625,
0.1683349609375,
0.447509765625
],
[
0.1690673828125,
0.45068359375,
0.43701171875,
0.45068359375,
0.43701171875,
0.4609375,
0.1690673828125,
0.4609375
],
[
0.44677734375,
0.455078125,
0.468017578125,
0.455078125,
0.468017578125,
0.458251953125,
0.44677734375,
0.458251953125
],
[
0.490234375,
0.449462890625,
0.7958984375,
0.449462890625,
0.7958984375,
0.46337890625,
0.490234375,
0.46337890625
],
[
0.1380615234375,
0.472900390625,
0.86669921875,
0.472900390625,
0.86669921875,
0.4873046875,
0.1380615234375,
0.4873046875
],
[
0.1683349609375,
0.4873046875,
0.86669921875,
0.4873046875,
0.86669921875,
0.501953125,
0.1683349609375,
0.501953125
],
[
0.1690673828125,
0.5048828125,
0.31201171875,
0.5048828125,
0.31201171875,
0.51513671875,
0.1690673828125,
0.51513671875
],
[
0.336669921875,
0.50244140625,
0.865234375,
0.50244140625,
0.865234375,
0.5166015625,
0.336669921875,
0.5166015625
],
[
0.1683349609375,
0.51806640625,
0.82177734375,
0.51806640625,
0.82177734375,
0.5322265625,
0.1683349609375,
0.5322265625
],
[
0.136474609375,
0.54248046875,
0.86669921875,
0.54248046875,
0.86669921875,
0.55615234375,
0.136474609375,
0.55615234375
],
[
0.1666259765625,
0.55810546875,
0.3447265625,
0.55810546875,
0.3447265625,
0.5712890625,
0.1666259765625,
0.5712890625
],
[
0.136474609375,
0.580078125,
0.86767578125,
0.580078125,
0.86767578125,
0.5947265625,
0.136474609375,
0.5947265625
],
[
0.1666259765625,
0.59521484375,
0.86669921875,
0.5947265625,
0.86669921875,
0.609375,
0.1666259765625,
0.60986328125
],
[
0.1683349609375,
0.611328125,
0.52294921875,
0.611328125,
0.52294921875,
0.62548828125,
0.1683349609375,
0.62548828125
],
[
0.136474609375,
0.6337890625,
0.86767578125,
0.63525390625,
0.86767578125,
0.6494140625,
0.136474609375,
0.6484375
],
[
0.1666259765625,
0.6494140625,
0.86669921875,
0.6494140625,
0.86669921875,
0.66357421875,
0.1666259765625,
0.66357421875
],
[
0.1666259765625,
0.6640625,
0.86767578125,
0.66552734375,
0.86767578125,
0.6796875,
0.1666259765625,
0.6787109375
],
[
0.1666259765625,
0.68115234375,
0.80126953125,
0.68115234375,
0.80126953125,
0.6943359375,
0.1666259765625,
0.6943359375
],
[
0.1519775390625,
0.70263671875,
0.86669921875,
0.70263671875,
0.86669921875,
0.71630859375,
0.1519775390625,
0.71630859375
],
[
0.1258544921875,
0.71630859375,
0.86767578125,
0.71728515625,
0.86767578125,
0.73193359375,
0.1258544921875,
0.73095703125
],
[
0.1258544921875,
0.73291015625,
0.86669921875,
0.73291015625,
0.86669921875,
0.7470703125,
0.1258544921875,
0.7470703125
],
[
0.1405029296875,
0.74755859375,
0.86767578125,
0.74755859375,
0.86767578125,
0.76123046875,
0.1405029296875,
0.76123046875
],
[
0.1282958984375,
0.7646484375,
0.86767578125,
0.7646484375,
0.86767578125,
0.7744140625,
0.1282958984375,
0.7744140625
],
[
0.12744140625,
0.77978515625,
0.86767578125,
0.77978515625,
0.86767578125,
0.79052734375,
0.12744140625,
0.79052734375
],
[
0.12744140625,
0.79345703125,
0.86669921875,
0.79345703125,
0.86669921875,
0.806640625,
0.12744140625,
0.806640625
],
[
0.12744140625,
0.8095703125,
0.86669921875,
0.8095703125,
0.86669921875,
0.82275390625,
0.12744140625,
0.82275390625
],
[
0.12744140625,
0.82373046875,
0.869140625,
0.82373046875,
0.869140625,
0.8369140625,
0.12744140625,
0.8369140625
],
[
0.125,
0.8388671875,
0.378173828125,
0.8388671875,
0.378173828125,
0.85302734375,
0.125,
0.85302734375
],
[
0.1519775390625,
0.85400390625,
0.869140625,
0.85400390625,
0.869140625,
0.8671875,
0.1519775390625,
0.8671875
],
[
0.1258544921875,
0.86865234375,
0.86669921875,
0.86865234375,
0.86669921875,
0.8818359375,
0.1258544921875,
0.8818359375
],
[
0.1258544921875,
0.8837890625,
0.86669921875,
0.8837890625,
0.86669921875,
0.89794921875,
0.1258544921875,
0.89794921875
],
[
0.1258544921875,
0.8984375,
0.52294921875,
0.8984375,
0.52294921875,
0.912109375,
0.1258544921875,
0.912109375
]
] |
[
"COMMUNITYSTRUCTUREINLARGENETWORKS",
"3",
"1Introduction",
"大量研究致力于在社交和信息网络i.e.中定义和识别社区的任务,其中节点表示底层社交实体,边缘表",
"示节点对之间的交互。关于大型网络中社区检测主题的最新论文首先指出,社区存在于此类网络中是",
"个共同的经验问题。然后,这些论文指出,尽管社区没有商定的定义,但社区应被视为一组节点,其成员",
"之间的连接比其成员与网络其余部分之间的连接更多和/或更好。然后,这些论文应用了一系列算法技术",
"和直觉来提取节点子集,然后将这些子集解释为与一些潜在的“真实”现实世界社区相对应的有意义的",
"社区。在本文中,我们从一个新颖的角度探讨了与在大型稀疏网络中识别有意义的社区有关的几个问题,",
"我们得出了几个引人注目的结论,这些结论对此类网络中的社区检测和图划分有影响。我们强调,与以",
"前关于这个主题的大多数工作相比,我们研究了多达数百万个节点的非常大的网络,我们观察到的现象",
"与在小型的通常分析的网络中看到的现象非常不同。",
"1.1",
"Overview of our approach",
"冒着过度简化复杂网络中社区检测的庞大且通常复杂的工作主体的风险,以下由五部分组成的故事描述",
"广一般方法:",
"(1) Data are modeled by an “\"interaction graph\" In particular, part of the world gets mapped to a",
"graph in which nodes represent entities and edges represent some type of interaction between pairs",
"of those entities. For example, in a social network, nodes may represent individual people and edges",
"mayrepresentfriendships,interaction",
"",
"nmunication between pairs of those people.",
"(2) The hypothesis is made that the world contains groups of entities that interact more strongly",
"amongst themselves than with the outside world, and hence the interaction graph should contain",
"setsofnodes,i.e.",
"communities,that have more and/or better-connected“internal edges\"",
"connecting members of the set than “cut edges\" connecting the set to the rest of the world.",
"(3) A objective function or metric is chosen to formalize this idea of groups with more intra-group than",
"inter-group connectivity.",
"(4) An algorithm is then selected to find sets of nodes that exactly or approximately optimize this",
"or some other related metric. Sets of nodes that the algorithm finds are then called “clusters,\"",
"\"communities,\"“groups,\"“classes,\" or “modules\"",
"(5) The clusters or communities or modules are evaluated in some way. For example, one may map",
"the sets of nodes back to the real world to see whether they appear to make intuitive sense as",
"a plausible\"real\" community.Alternatively, one may attempt to acquire some form of “ground",
"truth,\" in which case the set of nodes output by the algorithm may be compared with it.",
"关于点(1)-(4),我们遵循通常的路径。特别是,我们采用点(1)和(2),然后我们探索做出这",
"样的选择i.e做出这样的假设和建模假设的后果。对于第(3)点,我们选择了一个自然且被广泛采用",
"的社区善(社区质量得分)概念,称为conductance,也称为归一化割度量E[34,147,93]。非正式地,",
"组节点的电导(在E2.3节中进行了更详细的定义和讨论)是该组与其补码之间的“切割”边的数量除",
"以该组内部的“内部”边的数量之比。因此,要成为一个好的社区,一组节点应该具有较小的电导,即。",
"e。,它应该有很多内部边缘,很少有边缘指向网络的其余部分。电导被广泛用于捕提一个好社区的直觉:",
"它是一个基本的组合量;它在交互图上的随机游走方面有非常自然的解释。此外,由于存在丰富的理论",
"和实践算法E[87,149,107,108,17,95,96,162,54],我们可以针对点(4)比较和对比几种方法来近似",
"优化它。为了说明电导,请注意,在图E1的图表中所示的三个5节点集A,B和C中,B具有最佳",
"(最低)电导,因此是最类似社区的",
"但是,正是在点(5)中,我们偏离了以前的工作。我们不是专注于单个节点组并试图将其解释为“真",
"实”社区,而是在100大型稀疏现实世界中的各种规模规模上调查大量社区的统计属性社交和信息网络。",
"我们退后一步,问这样的问题:真实的图形如何分裂成社区?衡量和表征网络中社区结构存在与否的好",
"方法是什么?典型的社区规模和典型的社区品质是什么?"
] |
{
"arxiv_id": "0810.1355",
"language": "zh",
"page_idx": 2
}
|
||
0810.1355-zh-3
|
0810.1355-zh-3.jpg
|
$LESKOVEC$, $LANG$, $DASGUPTA$, $AND$ $MAHONEY$
4
$\textbf{( }$
Network communiwes Of the three 5 -nodes sets that have been marked, $B$ has the best( i.e. , the
$Figur($
1owest) conductance,as it has
lowest ratio between the number of edges cut and the number of edges inside.
So. set $B$
the best 5 -node community or the most community-like set of 5 nodes in this particular network.
为了解决这些问题和相关问题$\varsigma$一我们引人了网络社区配置文件(NCP)图的概念,我们在E3.1 节中更$i\textbf{学 红 地 定 义 利 描 述 了 该 图 。直 观 地 说 , 网 络 社 区 概 况 图 根 据 网 络 中 的 社 区 规 模 来 衡 量 “ 最 佳 ” 社 区 的 }$ 得分。形式C,我们将其定义为网络中基数$k$的最小电导集的电导值,作为$k$的函数。根据定义,NCP 图将难以精确计算,因此在操作上我们将使用几种自然近似算法来解决最小电导切割问题,以便计算不同的近似值$q$ 通过对太量网络的这些图姆牙比较和对比,并通过计算其他相关的结构属性,我们获得的$)_{\text{结果表明、与以前相比入型现实网络中的社区结构要精细得多}}$
我们已经付出了巨大的努力,入以确信我们正在计算我们正在考虑的网络的基本数量,而不是我们采用
的近似算法的工件。特别$B$
$\begin{aligned}\text{We use several classes of graph partitioning algorithms to probe the networks for sets of nodes that}\\\text{We use several classes of graph partitioning algorithms to probe the networks for sets of nodex that}\end{aligned}$ could plausibly be interpreted as communities. These algorithms, including flow-based methods, spectral methods, and hierarchical methods, have complementary strengths and weaknesses that are well understood both in theory and in practice. For example, flow-based methods are known to have difficulties with expanders [107,108] ,and flow-based post-processing of other methods are known in practice to yield cuts with extremely good conductance values [104,106]. On the other hand, spectral methods are known to have difficulties when they confuse long paths with deep cuts [149,84] ,a consequence of which is that they may be viewed as computing a“regularized” approximation to the network community profile plot. (See Section 5 for a more detailed discussion of these and related issues.)
$\bullet$ We compute spectral-based lower bounds and also semidefinite-programming-based lower bounds
for the conductance of our network datasets.
$\bullet$ We compute a wide range of other structural properties of the networks, $e. g.$ ,sizes, degree distri-
butions, maximum and average diameters of the purported communities, internal versus external
conductance values of the purported communities, etc.
$\cdot$ We recompute statistics on versions of the networks that have been modified in well-understood
ways, $e. g.$ , by removing small barely-connected sets of nodes or by randomizing the edges.
$\bullet$ We compare our results across not only over 100 large social and information networks, but also
numerous commonly-studied small social networks, expanders, and low-dimensional manifold-like
|
[
[
0.125,
0.11614990234375,
0.136474609375,
0.11614990234375,
0.136474609375,
0.1275634765625,
0.125,
0.1275634765625
],
[
0.52392578125,
0.11553955078125,
0.869140625,
0.11553955078125,
0.869140625,
0.1287841796875,
0.52392578125,
0.1287841796875
],
[
0.2017822265625,
0.40283203125,
0.32177734375,
0.40283203125,
0.32177734375,
0.41357421875,
0.2017822265625,
0.41357421875
],
[
0.351318359375,
0.40087890625,
0.86767578125,
0.40087890625,
0.86767578125,
0.4140625,
0.351318359375,
0.4140625
],
[
0.351318359375,
0.4140625,
0.86669921875,
0.4140625,
0.86669921875,
0.427978515625,
0.351318359375,
0.427978515625
],
[
0.1282958984375,
0.40478515625,
0.156005859375,
0.40478515625,
0.156005859375,
0.41357421875,
0.1282958984375,
0.41357421875
],
[
0.12744140625,
0.417236328125,
0.1641845703125,
0.417236328125,
0.1641845703125,
0.4248046875,
0.12744140625,
0.4248046875
],
[
0.19287109375,
0.416748046875,
0.21728515625,
0.416748046875,
0.21728515625,
0.423583984375,
0.19287109375,
0.423583984375
],
[
0.2099609375,
0.417236328125,
0.2296142578125,
0.417236328125,
0.2296142578125,
0.4248046875,
0.2099609375,
0.4248046875
],
[
0.238525390625,
0.419189453125,
0.293212890625,
0.419189453125,
0.293212890625,
0.423583984375,
0.238525390625,
0.423583984375
],
[
0.1282958984375,
0.429931640625,
0.1422119140625,
0.429931640625,
0.1422119140625,
0.439453125,
0.1282958984375,
0.439453125
],
[
0.1690673828125,
0.429931640625,
0.334228515625,
0.429931640625,
0.334228515625,
0.43994140625,
0.1690673828125,
0.43994140625
],
[
0.3349609375,
0.4287109375,
0.85302734375,
0.4287109375,
0.85302734375,
0.442626953125,
0.3349609375,
0.442626953125
],
[
0.1519775390625,
0.46533203125,
0.373291015625,
0.46533203125,
0.373291015625,
0.479248046875,
0.1519775390625,
0.479248046875
],
[
0.37744140625,
0.46533203125,
0.86669921875,
0.46533203125,
0.86669921875,
0.479248046875,
0.37744140625,
0.479248046875
],
[
0.1282958984375,
0.479736328125,
0.86767578125,
0.479736328125,
0.86767578125,
0.49365234375,
0.1282958984375,
0.49365234375
],
[
0.11517333984375,
0.49365234375,
0.86767578125,
0.494384765625,
0.86767578125,
0.5087890625,
0.11517333984375,
0.50830078125
],
[
0.1298828125,
0.51025390625,
0.86767578125,
0.51025390625,
0.86767578125,
0.5234375,
0.1298828125,
0.5234375
],
[
0.1282958984375,
0.5244140625,
0.869140625,
0.5244140625,
0.869140625,
0.5390625,
0.1282958984375,
0.5390625
],
[
0.12091064453125,
0.54150390625,
0.193603515625,
0.54150390625,
0.193603515625,
0.55322265625,
0.12091064453125,
0.55322265625
],
[
0.2099609375,
0.53857421875,
0.5888671875,
0.54052734375,
0.5888671875,
0.5546875,
0.2099609375,
0.55322265625
],
[
0.2099609375,
0.54345703125,
0.2156982421875,
0.54345703125,
0.2156982421875,
0.548828125,
0.2099609375,
0.548828125
],
[
0.1519775390625,
0.5546875,
0.358642578125,
0.5546875,
0.358642578125,
0.5693359375,
0.1519775390625,
0.5693359375
],
[
0.3798828125,
0.55615234375,
0.869140625,
0.55615234375,
0.869140625,
0.5693359375,
0.3798828125,
0.5693359375
],
[
0.12335205078125,
0.5673828125,
0.33251953125,
0.5673828125,
0.33251953125,
0.5888671875,
0.12335205078125,
0.5888671875
],
[
0.063720703125,
0.5595703125,
0.08251953125,
0.5595703125,
0.08251953125,
0.57275390625,
0.063720703125,
0.57275390625
],
[
0.17724609375,
0.59130859375,
0.865234375,
0.59130859375,
0.865234375,
0.60595703125,
0.17724609375,
0.60595703125
],
[
0.1683349609375,
0.60791015625,
0.86669921875,
0.60791015625,
0.86669921875,
0.6220703125,
0.1683349609375,
0.6220703125
],
[
0.1683349609375,
0.62255859375,
0.86669921875,
0.62255859375,
0.86669921875,
0.63623046875,
0.1683349609375,
0.63623046875
],
[
0.1683349609375,
0.63818359375,
0.869140625,
0.63818359375,
0.869140625,
0.6513671875,
0.1683349609375,
0.6513671875
],
[
0.1666259765625,
0.65380859375,
0.869140625,
0.65380859375,
0.869140625,
0.66748046875,
0.1666259765625,
0.66748046875
],
[
0.1683349609375,
0.66748046875,
0.865234375,
0.66748046875,
0.865234375,
0.68115234375,
0.1683349609375,
0.68115234375
],
[
0.1683349609375,
0.68310546875,
0.86669921875,
0.68310546875,
0.86669921875,
0.69775390625,
0.1683349609375,
0.69775390625
],
[
0.1650390625,
0.69775390625,
0.86669921875,
0.6962890625,
0.86669921875,
0.7109375,
0.1650390625,
0.7119140625
],
[
0.1683349609375,
0.71337890625,
0.869140625,
0.71337890625,
0.869140625,
0.72802734375,
0.1683349609375,
0.72802734375
],
[
0.1666259765625,
0.72900390625,
0.366943359375,
0.72900390625,
0.366943359375,
0.7421875,
0.1666259765625,
0.7421875
],
[
0.1478271484375,
0.75048828125,
0.86767578125,
0.751953125,
0.86767578125,
0.7666015625,
0.1478271484375,
0.76513671875
],
[
0.1650390625,
0.767578125,
0.48779296875,
0.767578125,
0.48779296875,
0.78076171875,
0.1650390625,
0.78076171875
],
[
0.1502685546875,
0.79150390625,
0.865234375,
0.79150390625,
0.865234375,
0.8046875,
0.1502685546875,
0.8046875
],
[
0.1650390625,
0.80615234375,
0.869140625,
0.80615234375,
0.869140625,
0.82080078125,
0.1650390625,
0.82080078125
],
[
0.1666259765625,
0.8212890625,
0.55810546875,
0.8212890625,
0.55810546875,
0.83544921875,
0.1666259765625,
0.83544921875
],
[
0.148681640625,
0.8447265625,
0.869140625,
0.8447265625,
0.869140625,
0.85791015625,
0.148681640625,
0.85791015625
],
[
0.1650390625,
0.85986328125,
0.830078125,
0.85986328125,
0.830078125,
0.875,
0.1650390625,
0.875
],
[
0.1502685546875,
0.88330078125,
0.86767578125,
0.88330078125,
0.86767578125,
0.896484375,
0.1502685546875,
0.896484375
],
[
0.1650390625,
0.8984375,
0.86767578125,
0.8984375,
0.86767578125,
0.912109375,
0.1650390625,
0.912109375
]
] |
[
"4",
"LESKOVEC, LANG, DASGUPTA, AND MAHONEY",
"Network/communit",
"Of the three 5 -nodes sets that have been marked, B has the best (i.e. , the",
"lowest ratio between the number of edges cut and the number of edges inside.",
"Figu",
"lowest",
"nd",
"uet",
"nceas.1",
"So",
"Bisthebest5-nodeco",
"mmunity or the most community-like set of 5 nodes in this particular network.",
"为了解决这些问题和相关问题,",
"我们引人了网络社区配置文件(NCP)图的概念,我们在E3.1节中",
"更详组地定义和描述了该图。直观地说,网络社区概况图根据网络中的社区规模来衡量“最佳”社区的",
"得分。形式上,我们将其定又为网络中基数k的最小电导集的电导值,作为k的函数。根据定义,NCP",
"图将难以精确计算,因此在操作上我们将使用几种自然近似算法来解决最小电导切割问题,以便计算不",
"同的近值。通过对大量网络的这些图进行比较和对比,并通过计算其他相关的结构属性,我们获得的",
"结果表明",
"与以前相比天型现实网络中的社区结构要精细得多。",
"A",
"我们已经付出了巨大的努力,",
"确信我们正在计算我们正在考虑的网络的基本数量,而不是我们采用",
"的近似算法的工件。特别B",
"C",
"Ve use several classes of graph partitioning algorithms to probe the networks for sets of nodes that",
"could plausibly be interpreted as communities. These algorithms, including flow-based methods,",
"spectral methods, and hierarchical methods, have complementary strengths and weaknesses that",
"are well understood both in theory and in practice. For example, flow-based methods are known",
"to have difficulties with expanders [107,108] ,and flow-based post-processing of other methods",
"are known in practice to yield cuts with extremely good conductance values[104, 106].On the",
"other hand, spectral methods are known to have difficulties when they confuse long paths with deep",
"cuts [149, 84] , a consequence of which is that they may be viewed as computing a“regularized\"",
"approximation to the network community profile plot. (See Section 5 for a more detailed discussion",
"of these and related issues.)",
". We compute spectral-based lower bounds and also semidefinite-programming-based lower bounds",
"for the conductance of our network datasets.",
".We compute a wide range of other structural properties of the networks, e.g., sizes, degree distri-",
"butions, maximum and average diameters of the purported communities, internal versus external",
"conductance values of the purported communities, etc.",
":We recompute statistics on versions of the networks that have been modified in well-understood",
"ways, e.g. , by removing small barely-connected sets of nodes or by randomizing the edges.",
". We compare our results across not only over 100 large social and information networks, but also",
"numerous commonly-studied small social networks, expanders, and low-dimensional manifold-like"
] |
{
"arxiv_id": "0810.1355",
"language": "zh",
"page_idx": 3
}
|
||
0810.1355-zh-4
|
0810.1355-zh-4.jpg
|
5
$COMMUNITYSTRUCTUREINLARGENETWORKS$
objects, and we compare our results on each network with what is known from the feld from which the network is drawn. To our knowledge, this makes ours the most extensive such analysis of the community structure in large real-world social and information networks.
$\bullet$ We compare results with analytical and/or simulational results on a wide range of commonly and
not-so-commonly used network generation models [127,25,9,102,138,112,71,72].
1.2 Summary of our results
Main Empirical Findings: 从整体上看,我们在本文中提供的结果表明了大型社交和信息网络中社区结构的相当详细且有些违反直觉的图片。网络社区概况图显示,社区结构的几个定性属性几乎是通用的:
$\bullet$ Up to a size scale, which empirically is roughly 100 nodes, there not only exist cuts with relatively
good conductance, $i. e.$ , good communities, but also the slope of the network community profile plot is generally sloping downward. This latter point suggests that smaller communities can be combined into meaningful larger communities, a phenomenon that we empirically observe in many
cases.
$\bullet$ At the size scale of roughly 100 nodes, we often observe the global minimum of the network com-
munity profile plot; these are the “best”communities, according to the conductance measure, in the entire graph. These are, however, rather interestingly connected to the rest of the network; for example, in most cases, we observe empirically that they are a small set of nodes barely connected to the remainder of the network by just a single edge.
$\bullet$ Above the size scale of roughly 100 nodes, the network community profile plot gradually increases,
and thus there is a nearly inverse relationship between community size and community quality. As a function of increasing size, the best possible communities become more and more “blended into” the remainder of the network. Intuitively, communities blend in with one another and gradually disappear as they grow larger. In particular, in many cases, larger communities can be broken into smaller and smaller pieces, often recursively, each of which is more community-like than the original supposed community.
·Even up to the largest size scales, we observe significantly more structure than would be seen, for
example, in an expander-like random graph on the same degree sequence.
典型的网络社区配置文件图的示意图如图E( a) 所示。在红色 (标记为“原始网络”)中,我们绘制了社区规模与。从原始网络中提取的节点集的社区质量得分。在黑色 (重新布线的网络)中,我们绘制了从随机网络中提取的社区的分数,该随机网络以与原始网络相同的度分布为条件。这不仅说明了非常小的规模上的紧密社区,而且还说明了在越来越大的规模上(难以精确指定精确的截止点),最好的社区逐渐与其他社区“融合”网络,因此逐渐变得越来越不像社区。最终,如果像上面的$\mathbb{E}(1)$ 点那样用相互作用图对世界进行建模,并且如果还将良好的社区定义为弱连接的密集链接的集群,则即使存在大型定义明确的社区也是值得怀疑的。到外面去,就像上面的假设E(2)一样。最后,在蓝色 (胡须袋)中,我们还绘制了由断开的碎片组成的社区的分数(根据我们在$\mathbb{E}$4 节中描述的程序找到)。这条蓝色曲线显示, 也许有些令人惊讶的是,通过组合不相关的断开部分,人们通常可以获得更好的社区质量得分。
为了了解足以重现我们观察到的现象的生成模型的属性,我们详细检查了我们的社交和信息网络的结构。尽管几乎每个网络都是任何简单规则的例外,但我们已经观察到“章鱼”或“水母”模型区[42,152,148]为我们检查过的许多网络的结构提供了粗略的第一近似值。也就是说,大多数网络可能被视为具有“核心”,没有明显的基础几何形状,并且包含恒定比例的节点,然后存在由大量相对较小的“晶须”组成的外围,这些晶须仅微弱地连接到核心。图 2(b)展示了这种网络结构的漫画。当然,我们的网络数据集在很多方面都不是随机的一$e. g.$ ,它们在核心中具有更高的边缘密度;小的几乎没有连接的晶须状碎片通常比相应的随机图中更大,更密集,更常见;它们具有更高的局部聚类系数;这种局部
|
[
[
0.1282958984375,
0.117431640625,
0.468017578125,
0.117431640625,
0.468017578125,
0.1275634765625,
0.1282958984375,
0.1275634765625
],
[
0.8505859375,
0.12249755859375,
0.865234375,
0.11297607421875,
0.8759765625,
0.12249755859375,
0.861328125,
0.1319580078125
],
[
0.1683349609375,
0.160400390625,
0.86669921875,
0.160400390625,
0.86669921875,
0.173583984375,
0.1683349609375,
0.173583984375
],
[
0.1683349609375,
0.173583984375,
0.865234375,
0.173583984375,
0.865234375,
0.1875,
0.1683349609375,
0.1875
],
[
0.1690673828125,
0.1900634765625,
0.68701171875,
0.1900634765625,
0.68701171875,
0.203857421875,
0.1690673828125,
0.203857421875
],
[
0.146240234375,
0.2171630859375,
0.86767578125,
0.2171630859375,
0.86767578125,
0.2310791015625,
0.146240234375,
0.2310791015625
],
[
0.1650390625,
0.23291015625,
0.77685546875,
0.23291015625,
0.77685546875,
0.246826171875,
0.1650390625,
0.246826171875
],
[
0.125,
0.26953125,
0.408447265625,
0.26953125,
0.408447265625,
0.2841796875,
0.125,
0.2841796875
],
[
0.1258544921875,
0.294189453125,
0.86669921875,
0.294189453125,
0.86669921875,
0.30810546875,
0.1258544921875,
0.30810546875
],
[
0.1258544921875,
0.31005859375,
0.865234375,
0.31005859375,
0.865234375,
0.323974609375,
0.1258544921875,
0.323974609375
],
[
0.1478271484375,
0.3359375,
0.86767578125,
0.3359375,
0.86767578125,
0.349853515625,
0.1478271484375,
0.349853515625
],
[
0.1666259765625,
0.3515625,
0.86669921875,
0.3515625,
0.86669921875,
0.365478515625,
0.1666259765625,
0.365478515625
],
[
0.1683349609375,
0.36865234375,
0.86669921875,
0.36865234375,
0.86669921875,
0.37890625,
0.1683349609375,
0.37890625
],
[
0.1690673828125,
0.3818359375,
0.416748046875,
0.38330078125,
0.416748046875,
0.39453125,
0.1690673828125,
0.393310546875
],
[
0.416748046875,
0.3837890625,
0.5458984375,
0.3837890625,
0.5458984375,
0.39453125,
0.416748046875,
0.39453125
],
[
0.6708984375,
0.3837890625,
0.865234375,
0.3837890625,
0.865234375,
0.39453125,
0.6708984375,
0.39453125
],
[
0.1650390625,
0.397705078125,
0.2091064453125,
0.397705078125,
0.2091064453125,
0.412353515625,
0.1650390625,
0.412353515625
],
[
0.1478271484375,
0.4248046875,
0.865234375,
0.4248046875,
0.865234375,
0.438232421875,
0.1478271484375,
0.438232421875
],
[
0.1666259765625,
0.43994140625,
0.86669921875,
0.43994140625,
0.86669921875,
0.453857421875,
0.1666259765625,
0.453857421875
],
[
0.1666259765625,
0.453857421875,
0.865234375,
0.453857421875,
0.865234375,
0.468505859375,
0.1666259765625,
0.468505859375
],
[
0.1683349609375,
0.4697265625,
0.86669921875,
0.4697265625,
0.86669921875,
0.48291015625,
0.1683349609375,
0.48291015625
],
[
0.1666259765625,
0.48486328125,
0.560546875,
0.48486328125,
0.560546875,
0.498779296875,
0.1666259765625,
0.498779296875
],
[
0.146240234375,
0.51220703125,
0.865234375,
0.51220703125,
0.865234375,
0.52587890625,
0.146240234375,
0.52587890625
],
[
0.1666259765625,
0.52783203125,
0.86669921875,
0.52783203125,
0.86669921875,
0.54150390625,
0.1666259765625,
0.54150390625
],
[
0.1666259765625,
0.54248046875,
0.865234375,
0.54248046875,
0.865234375,
0.556640625,
0.1666259765625,
0.556640625
],
[
0.1666259765625,
0.556640625,
0.865234375,
0.556640625,
0.865234375,
0.57080078125,
0.1666259765625,
0.57080078125
],
[
0.1683349609375,
0.57373046875,
0.86669921875,
0.57373046875,
0.86669921875,
0.5869140625,
0.1683349609375,
0.5869140625
],
[
0.1683349609375,
0.58837890625,
0.86767578125,
0.58837890625,
0.86767578125,
0.60302734375,
0.1683349609375,
0.60302734375
],
[
0.1683349609375,
0.60400390625,
0.3203125,
0.60400390625,
0.3203125,
0.6171875,
0.1683349609375,
0.6171875
],
[
0.1478271484375,
0.630859375,
0.86669921875,
0.630859375,
0.86669921875,
0.64453125,
0.1478271484375,
0.64453125
],
[
0.1666259765625,
0.646484375,
0.69140625,
0.646484375,
0.69140625,
0.6611328125,
0.1666259765625,
0.6611328125
],
[
0.1519775390625,
0.67236328125,
0.86669921875,
0.67236328125,
0.86669921875,
0.68603515625,
0.1519775390625,
0.68603515625
],
[
0.1282958984375,
0.68603515625,
0.86767578125,
0.68603515625,
0.86767578125,
0.70068359375,
0.1282958984375,
0.70068359375
],
[
0.131591796875,
0.7041015625,
0.86669921875,
0.7041015625,
0.86669921875,
0.7138671875,
0.131591796875,
0.7138671875
],
[
0.1282958984375,
0.7197265625,
0.865234375,
0.7197265625,
0.865234375,
0.72998046875,
0.1282958984375,
0.72998046875
],
[
0.12744140625,
0.734375,
0.4248046875,
0.734375,
0.4248046875,
0.744140625,
0.12744140625,
0.744140625
],
[
0.465576171875,
0.7373046875,
0.47802734375,
0.7373046875,
0.47802734375,
0.74072265625,
0.465576171875,
0.74072265625
],
[
0.49267578125,
0.7373046875,
0.5048828125,
0.7373046875,
0.5048828125,
0.74072265625,
0.49267578125,
0.74072265625
],
[
0.51953125,
0.73193359375,
0.86669921875,
0.73291015625,
0.86669921875,
0.7470703125,
0.51953125,
0.74560546875
],
[
0.12744140625,
0.74755859375,
0.86669921875,
0.74755859375,
0.86669921875,
0.76123046875,
0.12744140625,
0.76123046875
],
[
0.1282958984375,
0.76318359375,
0.86767578125,
0.76318359375,
0.86767578125,
0.7763671875,
0.1282958984375,
0.7763671875
],
[
0.1282958984375,
0.77978515625,
0.38818359375,
0.77978515625,
0.38818359375,
0.79052734375,
0.1282958984375,
0.79052734375
],
[
0.3857421875,
0.78271484375,
0.39794921875,
0.78271484375,
0.39794921875,
0.7861328125,
0.3857421875,
0.7861328125
],
[
0.406005859375,
0.78271484375,
0.419189453125,
0.78271484375,
0.419189453125,
0.7861328125,
0.406005859375,
0.7861328125
],
[
0.5087890625,
0.77978515625,
0.86669921875,
0.77978515625,
0.86669921875,
0.79052734375,
0.5087890625,
0.79052734375
],
[
0.1258544921875,
0.79248046875,
0.498291015625,
0.79345703125,
0.498291015625,
0.806640625,
0.1258544921875,
0.80615234375
],
[
0.521484375,
0.79345703125,
0.79833984375,
0.79345703125,
0.79833984375,
0.806640625,
0.521484375,
0.806640625
],
[
0.1502685546875,
0.80810546875,
0.86767578125,
0.806640625,
0.86767578125,
0.8212890625,
0.1502685546875,
0.82275390625
],
[
0.1258544921875,
0.82373046875,
0.416748046875,
0.82373046875,
0.416748046875,
0.8369140625,
0.1258544921875,
0.8369140625
],
[
0.53759765625,
0.82470703125,
0.865234375,
0.82373046875,
0.865234375,
0.83544921875,
0.53759765625,
0.8359375
],
[
0.12744140625,
0.8369140625,
0.44775390625,
0.8388671875,
0.44775390625,
0.85302734375,
0.12744140625,
0.85107421875
],
[
0.525390625,
0.84326171875,
0.5400390625,
0.84326171875,
0.5400390625,
0.8466796875,
0.525390625,
0.8466796875
],
[
0.59228515625,
0.83837890625,
0.86669921875,
0.83837890625,
0.86669921875,
0.8515625,
0.59228515625,
0.8515625
],
[
0.1258544921875,
0.85302734375,
0.431396484375,
0.85400390625,
0.431396484375,
0.86572265625,
0.1258544921875,
0.8642578125
],
[
0.56640625,
0.85498046875,
0.865234375,
0.85498046875,
0.865234375,
0.86572265625,
0.56640625,
0.86572265625
],
[
0.1282958984375,
0.86865234375,
0.498291015625,
0.86865234375,
0.498291015625,
0.8818359375,
0.1282958984375,
0.8818359375
],
[
0.5361328125,
0.87255859375,
0.564453125,
0.87255859375,
0.564453125,
0.876953125,
0.5361328125,
0.876953125
],
[
0.5595703125,
0.86865234375,
0.86669921875,
0.86865234375,
0.86669921875,
0.8818359375,
0.5595703125,
0.8818359375
],
[
0.1282958984375,
0.88525390625,
0.40283203125,
0.88525390625,
0.40283203125,
0.89599609375,
0.1282958984375,
0.89599609375
],
[
0.576171875,
0.8837890625,
0.86669921875,
0.8837890625,
0.86669921875,
0.89794921875,
0.576171875,
0.89794921875
],
[
0.12744140625,
0.90087890625,
0.328369140625,
0.90087890625,
0.328369140625,
0.9111328125,
0.12744140625,
0.9111328125
],
[
0.33251953125,
0.90380859375,
0.3857421875,
0.90380859375,
0.3857421875,
0.9072265625,
0.33251953125,
0.9072265625
],
[
0.5986328125,
0.90087890625,
0.86767578125,
0.90087890625,
0.86767578125,
0.9111328125,
0.5986328125,
0.9111328125
]
] |
[
"COMMUNITYSTRUCTUREINLARGENETWORKS",
"5",
"objects, and we compare our results on each network with what is known from the field from which",
"the network is drawn. To our knowledge, this makes ours the most extensive such analysis of the",
"community structure in large real-world social and information networks.",
". We compare results with analytical and/or simulational results on a wide range of commonly and",
"not-so-commonly used network generation models [127, 25, 9, 102, 138, 112, 71, 72] ",
"1.2 Summary of our results",
"MainEmpiricalFindings:从整体上看,我们在本文中提供的结果表明了大型社交和信息网络中社区",
"结构的相当详细且有些违反直觉的图片。网络社区概况图显示,社区结构的几个定性属性几乎是通用的:",
": Up to a size scale, which empirically is roughly 100 nodes, there not only exist cuts with relatively",
"good conductance, i.e., good communities, but also the slope of the network community profile",
"plotis generally sloping downward.Thislatterpoint suggeststhat smaller communities can be",
"combinedintomeaningfullargerco",
"mmunities,apher",
"empiricallyobserveinmany",
"cases.",
": At the size scale of roughly 1o0 nodes, we often observe the global minimum of the network com-",
"munity profile plot; these are the “\"best\" communities, according to the conductance measure, in",
"the entire graph. These are, however, rather interestingly connected to the rest of the network; fol",
"example, in most cases, we observe empirically that they are a small set of nodes barely connected",
"to the remainder of the network by just a single edge",
": Above the size scale of roughly 1o0 nodes, the network community profile plot gradually increases",
"and thus there is a nearly inverse relationship between community size and community quality. As",
"a function of increasing size, the best possible communities become more and more \"blended into'",
"the remainder of the network. Intuitively, communities blend in with one another and gradually",
"disappear as they grow larger. In particular, in many cases, larger communities can be broken into",
"smaller and smaller pieces, often recursively, each of which is more community-like than the original",
"supposed community.",
". Even up to the largest size scales, we observe significantly more structure than would be seen, for",
"example, in an expander-like random graph on the same degree sequence.",
"典型的网络社区配置文件图的示意图如图E2(a)所示。在红色(标记为“原始网络”)中,我们绘制",
"了社区规模与。从原始网络中提取的节点集的社区质量得分。在黑色(重新布线的网络)中,我们绘制",
"了从随机网络中提取的社区的分数,该随机网络以与原始网络同的度分布为条件。这不仅说明了非常",
"小的规模上的紧密社区,而且还说明了在越来越大的规模上(难以精确指定精确的截止点),最好的社区",
"逐渐与其他社区“融合”网络,因此遂渐",
"",
"",
"象社区。最终,如果像上面的E(1)点那样用相互",
"作用图对世界进行建模,并且如果还将良好的社区定义为弱连接的密集链接的集群,则即使存在大型定",
"义明确的社区也是值得怀疑的。到外面去,就像上面的假设E(2)一样。最后,在蓝色(胡须袋)中,我",
"们还绘制了由断开的碎片组成的社区",
"",
"",
"门在F4节中描述的程序找到)。这条蓝色曲线显示,",
"也许有些令人惊的是,通过组合不相关的断开部分",
"人们通常可以获得更好的社区质量得分。",
"为了了解足以重现我们观察到的现象的生成模型的属性,我们详细检查了我们的社交和信息网络",
"的结构。尽管几乎每个网络都是任何简",
"但我们已经观察到“章鱼”或“水母”模型E",
"[42,152,148]为我们检查过的许多网络的结",
"",
"近似值。也就是说,大多数网络可能被",
"视为具有“核心”,没有明显的基础几何形",
"比例的节点,然后存在由大量相对较小的",
"“晶须”组成的外围,这些晶须仅微弱地连接到核心。",
"",
")展示了这种网络结构的漫画。当然,我们",
"的网络数据集在很多方面都不是随机的",
"中具有更高的边缘密度;小的几乎没有连",
"接的晶须状碎片通常比相应的",
"",
"门具有更高的局部聚类系数:这种局部"
] |
{
"arxiv_id": "0810.1355",
"language": "zh",
"page_idx": 4
}
|
||
2010.05270-zh-0
|
2010.05270-zh-0.jpg
|
# A Case-Study on the Impact of Dynamic Time $\textbf{Warping in Time Series Regression}$
Vivek Mahato and Pádraig Cunningham
School of Computer Science University College Dublin
$\operatorname{Dublin}4,\operatorname{Ireland}$
vivek.mahato@ucdconnect.ie, padraig.cunningham@ucd. ie
$\mathbf{Abstract.~It~is~well~understood~that~Dynamic~Time~Warping~(DTW)}$ is effective in revealing similarities between time series that do not align perfectly. In this paper, we illustrate this on spectroscopy time-series data. We show that DTW is effective in improving accuracy on a regression task when only a single wavelength is considered. When combined with $k$ -Nearest Neighbour, DTW has the added advantage that it can reveal similarities and differences between samples at the level of the time-series. However, in the problem, we consider here data is available across a spectrum of wavelengths. If aggregate statistics (means, variances) are used across many wavelengths the benefits of DTW are no longer apparent. We present this as another example of a situation where big data trumps sophisticated models in Machine Learning.
Keywords: Regression, Time Series Data, Dynamic Time Warping
# 1 Introduction
在本文中,我们考虑了预测硅片生产中蚀刻速率的任务。虽然我们将其作为预测任务,但我们的兴趣在于深人了解等离子体蚀刻中工艺可变性的来源,而不是非常准确的预测。因为我们有洞察力作为目标,所以我们对$k$ -最近邻 ($k$ -NN) 分类器感兴趣,因为它们的可解释性
在硅晶片的生产中,蚀刻速率至关重要,因为它直接影响硅结构的精度。如果晶体管的栅极长度太大,则器件速度会降低,如果太小,则会泄漏。因此,重要的是能够非常精确地控制蚀刻速率[7,2]
通常将等离子体蚀刻描述为烹饪过程或配方。随着配方的进行,将不同的气体引入腔室中以促进特定效果。光学发射光谱(OES)是最广泛使用的技术,用于跟踪室内的情况[9]
在我们这里分析的数据中,结果是蚀刻速率,预测变量是跨 2048 个波长的时间序列光谱。该过程大约需要 42 秒,光谱采样在 1。3Hz,因此 2048OES 时间序列中的每个包含约 57 个滴答 [7]。我们的目标是确定工艺可变性的来源,我们有兴趣确定 OES 时间序列中的系统差异,这些差异可以预测蚀刻速率的差异
在下一节中,我们介绍问题域并描述分析所基于的数据。在 3 节中,我们描述了我们使用的预测模型,并在 4 节中讨论了评估结果。5 节介绍了一些结论和未来工作的方向
|
[
[
0.2376708984375,
0.135986328125,
0.796875,
0.13720703125,
0.796875,
0.155029296875,
0.2376708984375,
0.15380859375
],
[
0.30908203125,
0.1602783203125,
0.724609375,
0.1602783203125,
0.724609375,
0.174560546875,
0.30908203125,
0.174560546875
],
[
0.36865234375,
0.204833984375,
0.6630859375,
0.204833984375,
0.6630859375,
0.215576171875,
0.36865234375,
0.215576171875
],
[
0.420654296875,
0.2286376953125,
0.611328125,
0.2286376953125,
0.611328125,
0.2423095703125,
0.420654296875,
0.2423095703125
],
[
0.426513671875,
0.2410888671875,
0.60546875,
0.2410888671875,
0.60546875,
0.254638671875,
0.426513671875,
0.254638671875
],
[
0.456787109375,
0.254150390625,
0.5751953125,
0.254150390625,
0.5751953125,
0.267333984375,
0.456787109375,
0.267333984375
],
[
0.310546875,
0.26953125,
0.72314453125,
0.26953125,
0.72314453125,
0.27978515625,
0.310546875,
0.27978515625
],
[
0.273681640625,
0.314208984375,
0.75830078125,
0.314208984375,
0.75830078125,
0.327880859375,
0.273681640625,
0.327880859375
],
[
0.27197265625,
0.327880859375,
0.75732421875,
0.328857421875,
0.75732421875,
0.34033203125,
0.27197265625,
0.339111328125
],
[
0.27197265625,
0.34033203125,
0.75732421875,
0.34033203125,
0.75732421875,
0.35400390625,
0.27197265625,
0.35400390625
],
[
0.274658203125,
0.355712890625,
0.755859375,
0.355712890625,
0.755859375,
0.366455078125,
0.274658203125,
0.366455078125
],
[
0.273681640625,
0.36767578125,
0.759765625,
0.36767578125,
0.759765625,
0.38134765625,
0.273681640625,
0.38134765625
],
[
0.273681640625,
0.380126953125,
0.759765625,
0.380126953125,
0.759765625,
0.393798828125,
0.273681640625,
0.393798828125
],
[
0.273681640625,
0.393798828125,
0.759765625,
0.393798828125,
0.759765625,
0.40673828125,
0.273681640625,
0.40673828125
],
[
0.273681640625,
0.40625,
0.75830078125,
0.40625,
0.75830078125,
0.419189453125,
0.273681640625,
0.419189453125
],
[
0.27197265625,
0.419189453125,
0.75830078125,
0.419189453125,
0.75830078125,
0.432861328125,
0.27197265625,
0.432861328125
],
[
0.274658203125,
0.43408203125,
0.75830078125,
0.43408203125,
0.75830078125,
0.44482421875,
0.274658203125,
0.44482421875
],
[
0.273681640625,
0.44775390625,
0.75830078125,
0.44775390625,
0.75830078125,
0.457763671875,
0.273681640625,
0.457763671875
],
[
0.27197265625,
0.457275390625,
0.72119140625,
0.457763671875,
0.72119140625,
0.47265625,
0.27197265625,
0.471435546875
],
[
0.270263671875,
0.482666015625,
0.73876953125,
0.48388671875,
0.73876953125,
0.498779296875,
0.270263671875,
0.49755859375
],
[
0.2225341796875,
0.5224609375,
0.264404296875,
0.5224609375,
0.264404296875,
0.53369140625,
0.2225341796875,
0.53369140625
],
[
0.255126953125,
0.52099609375,
0.391357421875,
0.521484375,
0.391357421875,
0.5361328125,
0.255126953125,
0.53515625
],
[
0.225830078125,
0.55029296875,
0.80615234375,
0.55029296875,
0.80615234375,
0.56396484375,
0.225830078125,
0.56396484375
],
[
0.225830078125,
0.5654296875,
0.80615234375,
0.5654296875,
0.80615234375,
0.5791015625,
0.225830078125,
0.5791015625
],
[
0.225830078125,
0.580078125,
0.8095703125,
0.580078125,
0.8095703125,
0.59326171875,
0.225830078125,
0.59326171875
],
[
0.2275390625,
0.595703125,
0.49365234375,
0.595703125,
0.49365234375,
0.60546875,
0.2275390625,
0.60546875
],
[
0.2509765625,
0.60791015625,
0.8095703125,
0.60791015625,
0.8095703125,
0.62158203125,
0.2509765625,
0.62158203125
],
[
0.2275390625,
0.62353515625,
0.8076171875,
0.62353515625,
0.8076171875,
0.63427734375,
0.2275390625,
0.63427734375
],
[
0.2275390625,
0.63818359375,
0.53076171875,
0.63818359375,
0.53076171875,
0.6484375,
0.2275390625,
0.6484375
],
[
0.2493896484375,
0.65087890625,
0.8076171875,
0.65087890625,
0.8076171875,
0.66455078125,
0.2493896484375,
0.66455078125
],
[
0.2275390625,
0.66650390625,
0.80615234375,
0.66650390625,
0.80615234375,
0.6767578125,
0.2275390625,
0.6767578125
],
[
0.2275390625,
0.68115234375,
0.38037109375,
0.68115234375,
0.38037109375,
0.69140625,
0.2275390625,
0.69140625
],
[
0.2493896484375,
0.693359375,
0.80615234375,
0.693359375,
0.80615234375,
0.70703125,
0.2493896484375,
0.70703125
],
[
0.225830078125,
0.70703125,
0.80615234375,
0.70703125,
0.80615234375,
0.72021484375,
0.225830078125,
0.72021484375
],
[
0.225830078125,
0.7216796875,
0.8076171875,
0.7216796875,
0.8076171875,
0.7353515625,
0.225830078125,
0.7353515625
],
[
0.2275390625,
0.73681640625,
0.80419921875,
0.73681640625,
0.80419921875,
0.74755859375,
0.2275390625,
0.74755859375
],
[
0.2476806640625,
0.7490234375,
0.80615234375,
0.75,
0.80615234375,
0.76416015625,
0.2476806640625,
0.76318359375
],
[
0.22412109375,
0.76318359375,
0.80615234375,
0.76318359375,
0.80615234375,
0.77685546875,
0.22412109375,
0.77685546875
],
[
0.225830078125,
0.779296875,
0.343505859375,
0.779296875,
0.343505859375,
0.7919921875,
0.225830078125,
0.7919921875
]
] |
[
"A Case-Study on the Impact of Dynamic Time",
"Warping in Time Series Regression",
"Vivek Mahato and Padraig Cunningham",
"School of Computer Science",
"University College Dublin",
"Dublin 4, Ireland",
"vivek.mahato@ucdconnect.ie,padraig.cunningham@ucd.ie",
"Abstract. It is well understood that Dynamic Time Warping (DTW)",
"is effective in revealing similarities between time series that do not align",
"perfectly. In this paper, we illustrate this on spectroscopy time-series",
"data.We show that DTW is effective in improving accuracy on a regres",
"sion task when only a single wavelength is considered. When combined",
"with k -Nearest Neighbour, DTW has the added advantage that it can",
"reveal similarities and differences between samples at the level of the",
"time-series. However, in the problem, we consider here data is avail-",
"able across a spectrum of wavelengths. If aggregate statistics (means,",
"variances)are used across manywavelengths the benefits of DTW are",
"no longer apparent.We present this as another example of a situation",
"where big data trumps sophisticated models in Machine Learning.",
"Keywords: Regression, Time Series Data, Dynamic Time Warping.",
"1",
"Introduction",
"在本文中,我们考虑了预测硅片生产中蚀刻速率的任务。虽然我们将其作为预测",
"任务,但我们的兴趣在于深人了解等离子体蚀刻中工艺可变性的来源,而不是",
"非常准确的预测。因为我们有洞察力作为目标,所以我们对k-最近邻(k-NN)",
"分类器感兴趣,因为它们的可解释性",
"在硅晶片的生产中,蚀刻速率至关重要,因为它直接影响硅结构的精度。如",
"果晶体管的栅极长度太大,则器件速度会降低,如果太小,则会泄漏。因此,重",
"要的是能够非常精确地控制蚀刻速率7,2",
"通常将等离子体蚀刻描述为烹饪过程或配方。随着配方的进行,将不同的气",
"体引入腔室中以促进特定效果。光学发射光谱(OES)是最广泛使用的技术,用",
"于跟踪室内的情况9",
"在我们这里分析的数据中,结果是蚀刻速率,预测变量是跨2048个波长的时",
"间序列光谱。该过程大约需要42秒,光谱采样在1。3Hz,因此2048OES时间",
"序列中的每个包含约57个滴答[7]。我们的目标是确定工艺可变性的来源,我",
"们有兴趣确定OES时间序列中的系统差异,这些差异可以预测蚀刻速率的差异",
"在下一节中,我们介绍问题域并描述分析所基于的数据。在3节中,我们描",
"述了我们使用的预测模型,并在4节中讨论了评估结果。5节介绍了一些结论和",
"未来工作的方向"
] |
{
"arxiv_id": "2010.05270",
"language": "zh",
"page_idx": 0
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.