プリンキピア

第16章自然言語処理:応用

16.4.1. Natural Language Inference16.4.1 自然言語推論

Natural language inference studies whether a hypothesis can be inferred from a premise, where both are a text sequence. In other words, natural language inference determines the logical relationship between a pair of text sequences. Such relationships usually fall into three types:
英語のヒント
自然言語推論は、仮説が前提から推論できるかどうかを研究する。ここで、仮説も前提もテキストの系列である。言い換えると、自然言語推論は、テキストの系列の対の間の論理的な関係を決める。そうした関係はふつう三つの種類に分かれる。
  • Entailment: the hypothesis can be inferred from the premise.
    英語のヒント
    含意:仮説が前提から推論できる。
  • Contradiction: the negation of the hypothesis can be inferred from the premise.
    英語のヒント
    矛盾:仮説の否定が前提から推論できる。
  • Neutral: all the other cases.
    英語のヒント
    中立:それ以外のすべての場合。
Natural language inference is also known as the recognizing textual entailment task. For example, the following pair will be labeled as entailment because “showing affection” in the hypothesis can be inferred from “hugging one another” in the premise.
英語のヒント
自然言語推論は、テキスト含意認識のタスクとしても知られている。たとえば、次の対は含意とラベルづけされる。仮説の「showing affection」(愛情を示している)が、前提の「hugging one another」(抱き合っている)から推論できるからである。
Premise: Two women are hugging each other.
英語のヒント
前提:二人の女性が抱き合っている。
Hypothesis: Two women are showing affection.
英語のヒント
仮説:二人の女性が愛情を示している。
The following is an example of contradiction as “running the coding example” indicates “not sleeping” rather than “sleeping”.
英語のヒント
次は矛盾の例である。「running the coding example」(コードの例を実行している)は、「sleeping」(眠っている)ではなく「not sleeping」(眠っていない)ことを示すからである。
Premise: A man is running the coding example from Dive into Deep Learning.
英語のヒント
前提:一人の男性が『Dive into Deep Learning』のコードの例を実行している。
Hypothesis: The man is sleeping.
英語のヒント
仮説:その男性は眠っている。
The third example shows a neutrality relationship because neither “famous” nor “not famous” can be inferred from the fact that “are performing for us”.
英語のヒント
三つ目の例は中立の関係を示している。「are performing for us」(私たちのために演奏している)という事実からは、「famous」(有名である)も「not famous」(有名でない)も推論できないからである。
Premise: The musicians are performing for us.
英語のヒント
前提:音楽家たちが私たちのために演奏している。
Hypothesis: The musicians are famous.
英語のヒント
仮説:その音楽家たちは有名である。
Natural language inference has been a central topic for understanding natural language. It enjoys wide applications ranging from information retrieval to open-domain question answering. To study this problem, we will begin by investigating a popular natural language inference benchmark dataset.
英語のヒント
自然言語推論は、自然言語を理解するための中心的な話題であり続けてきた。情報検索からオープンドメインの質問応答まで、幅広く応用されている。この問題を研究するため、よく使われる自然言語推論のベンチマークのデータセットを調べることから始める。