hottub.patents
US 12,380,343 B2#3477763 Most CitedActiveUnited States (USPTO)Utility

Complementary evidence identification in natural language inference

0Forward Citations (#3477763 Global)
0.0/yrCitation Velocity (#3477763 Global)
0.00Citation PageRank (#3477763 Global)
8Prior Art Cited
16Claims (3 Indep. · 13 Dep.)
8Drawings / Sheets

Abstract

Methods and apparatus for complementary evidence identification in natural language inference. A given question is obtained and a set of N passages is obtained from a database. A probability is determined, for each passage of the set of N passages, of a corresponding passage being a supportive passage for the given question and the set of N passages is ranked based on the determined probabilities. M passages that are ranked 1 to M of the set of N passages are selected. A set of L passages is selected based on a plurality of scores, each score assigned to a set of candidate passages of the set of N passages, each score being based on the determined probabilities, the selected M passages, and a weighted regulation parameter. The set of L passages is provided to a computerized machine learning system to answer the question based on the set of L passages.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.

Claims (16 — 3 Independent, 13 Dependent)

  1. Claim 1Independent Claim

    A method for natural language inference, the method comprising: obtaining a given question for input to a hardware processor; obtaining, using the hardware processor, a set of N passages from an electronic database; determining, using the hardware processor, for each passage of the set of N passages, a probability of a corresponding passage being a supportive passage for the given question, including applying a BERT model to estimate the probability of the passage p; being supporting evidence to the given question q, where a concatenation of g and p; is input into the BERT model, and one or more hidden states of a last layer are used to represent q and p; in vector space, denoted as q and p i, respectively; wherein a fully connected layer f(⋅) followed by sigmoid activation is added to an end of the BERT model; and a scalar Prob(p i |q) is output to estimate a relevancy of passage p i to the given question q, wherein each passage of the set of N passages is designated as p j and the given question is designated as q; beam search ranking, using the hardware processor, the set of N passages based on the determined probabilities and a score function; selecting, using the hardware processor, M passages that are ranked 1 to M of the set of N passages, where M is a hyperparameter that corresponds to a beam size; selecting, using the hardware processor, a set of L passages based on a plurality of scores, each score assigned to a set of candidate passages of the set of N passages, each score being based on the determined probabilities, the selected M passages, and a weighted regulation parameter; providing, using the hardware processor, a set of M highest ranked passages of the set of L passages to a computerized machine learning system to answer the question based on the set of L passages; and answering the question with the computerized machine learning system, wherein the score function for finding a best passage is defined by a summation of: a summation of probabilities of a given passage given a specified question; a first hyperparameter multiplied by a cosine of a summation of multiplications of an encoded question vector and an encoded passage vector; and a second hyperparameter multiplied by a summation of losses between a first encoded passage vector and a second encoded passage vector.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the set of N passages comprises a mixture set of passages P=P + ∪ P − with one or more passages p ∈ P + being relevant to the given question and one or more passages p ∈ P − being irrelevant to the given question, wherein each passage of the set of N passages is designated as p i.

  3. Claim 3Depends on #1

    The method of claim 1, wherein: the selected set of L passages is designated as P sel and is similar to the given question q such that P sel has a probability of Σ p i Å P sel Pr(p i |q) that is higher than an average probability for an unselected set of passages, wherein each passage of the set of N passages is designated as p i and the given question is designated as q; P sel covers all facts asked by the given question q such that a joint set of passages in P sel has a high similarity to the given question q and maximizes cos(Σ i ∈ {i|p i ∈ P sel } p i, q); and P sel covers passages p i having diversity based on an average distance between any pair of passages p i in P sel.

  4. Claim 4Depends on #3

    The method of claim 3, wherein the diversity is attained by maximizing Σ i,j ∈ {i,j|p i,p j ∈ P sel,i ≠ j l 1 (p i, p j) where l 1 (⋅, ⋅) denotes an L 1 distance; and wherein coverage is attained by maximizing cos(Σ i ∈ {i|p i ∈ P sel } p i,q).

  5. Claim 5Depends on #1

    The method of claim 1, further comprising training the BERT model using a supervised training objective function based on a set of labeled training examples where, for each training instance (q, P), {p i } + ={p i }, ∀ i ∈ {i|p i ∈ P + }; {p i } − ={p i }, ∀ i ∈ {i|p i ∈ P − }; and {p i }={p i } + ∪ {p i } − are defined.

  6. Claim 6Depends on #5

    The method of claim 5, wherein the supervised training objective function comprises a sum of a cross-entropy loss corresponding to a relevance condition that is at least one of a measure of a similarity and a measure of a dissimilarity between a question vector and each passage vector; a weighted cosine-embedding loss for a coverage condition that is a measure of a similarity between the question vector and a subspace spanned by one or more selected passage vectors; and a weighted regularization of a diversity condition that is a measure of an overall distance among supporting passage vectors.

  7. Claim 7Depends on #6

    The method of claim 6, wherein the supervised training objective function is defined as: ℒ ⁡ ({ p i }; q; y) = ℒ sup ⁡ ({ p i }; q; y) + α ℒ c ⁡ ({ p i }; q; y) + β ℒ d ⁡ ({ p i } +) where ℒ sup ⁡ ({ p i }; q; y) = - ∑ i ⁢ y p i ⁢ log ⁡ (f ⁡ (p i)), (1) ℒ c ⁡ ({ p i }; q; y) = { 1 - cos ⁡ (q, ∑ i ⁢, p i), if ⁢ ⁢ ∏ p i y ⁢ p i = 1 max ⁡ (0, cos ⁡ (q, ∑ i ⁢ p i) - γ), if ⁢ ⁢ ∏ p i y ⁢ p i = 0 (2) ℒ d ⁡ ({ p i } +) = ∑ p i, p j, i ≠ j ⁢ (1 - ℓ 1 ⁡ (p i, p j)). (3) where α and β are hyperparameter weights, where γ is a cosine similarity margin, and l 1 (⋅, ⋅) denotes an L 1 loss between two input vectors.

  8. Claim 8Independent Claim

    A non-transitory computer readable medium comprising computer executable instructions which when executed by a computer cause the computer to perform the method of: obtaining a given question q; obtaining a set of N passages from an electronic database; determining for each passage of the set of N passages, a probability of a corresponding passage being a supportive passage for the given question, including applying a BERT model to estimate the probability of the passage p i being supporting evidence to the given question q, where a concatenation of q and p i is input into the BERT model, and one or more hidden states of a last layer are used to represent q and p i in vector space, denoted as q and p i, respectively; wherein a fully connected layer f(⋅) followed by sigmoid activation is added to an end of the BERT model; and a scalar Prob(p i |q) is output to estimate a relevancy of passage p i to the given question q, wherein each passage of the set of N passages is designated as p i and the given question is designated as q; beam search ranking the set of N passages based on the determined probabilities and a score function; selecting M passages that are ranked 1 to M of the set of N passages, where M is a hyperparameter that corresponds to a beam size; selecting a set of L passages based on a plurality of scores, each score assigned to a set of candidate passages of the set of N passages, each score being based on the determined probabilities, the selected M passages, and a weighted regulation parameter; providing a set of M highest ranked passages of the set of L passages to a computerized machine learning system in order to answer the question based on the set of L passages; and answering the question with the computerized machine learning system, wherein the score function for finding a best passage is defined by a summation of: a summation of probabilities of a given passage given a specified question; a first hyperparameter multiplied by a cosine of a summation of multiplications of an encoded question vector and an encoded passage vector; and a second hyperparameter multiplied by a summation of losses between a first encoded passage vector and a second encoded passage vector.

  9. Claim 9Independent Claim

    An apparatus comprising: a memory; and at least one processor, coupled to said memory, and operative to perform operations comprising: obtaining a given question; obtaining a set of N passages from an electronic database; determining for each passage of the set of N passages, a probability of a corresponding passage being a supportive passage for the given question, including applying a BERT model to estimate the probability of the passage p i being supporting evidence to the given question q, where a concatenation of q and p i is input into the BERT model, and one or more hidden states of a last layer are used to represent q and p; in vector space, denoted as q and p i, respectively; wherein a fully connected layer f(⋅) followed by sigmoid activation is added to an end of the BERT model; and a scalar Prob(p i |g) is output to estimate a relevancy of passage p i to the given question q, wherein each passage of the set of N passages is designated as p j and the given question is designated as q; beam search ranking the set of N passages based on the determined probabilities and a score function; selecting M passages that are ranked 1 to M of the set of N passages, where M is a hyperparameter that corresponds to a beam size; selecting a set of L passages based on a plurality of scores, each score assigned to a set of candidate passages of the set of N passages, each score being based on the determined probabilities, the selected M passages, and a weighted regulation parameter; providing a set of M highest ranked passages of the set of L passages to a computerized machine learning system in order to answer the question based on the set of L passages; and answering the question with the computerized machine learning system, wherein the score function for finding a best passage is defined by a summation of: a summation of probabilities of a given passage given a specified question; a first hyperparameter multiplied by a cosine of a summation of multiplications of an encoded question vector and an encoded passage vector; and a second hyperparameter multiplied by a summation of losses between a first encoded passage vector and a second encoded passage vector.

  10. Claim 10Depends on #9

    The apparatus of claim 9, wherein the set of N passages comprises a mixture set of passages P=P + ∪ P − with one or more passages p ∈ P + being relevant to the given question q and one or more passages p ∈ P − being irrelevant to the given question q, wherein each passage of the set of N passages is designated as p i and the given question is designated as q.

  11. Claim 11Depends on #9

    The apparatus of claim 9, wherein a score function g for finding a best passage is defined by: ℊ ⁡ (P sel; q; { p i }) = ∑ p i ⁢ Pr ⁡ (p i | q) + α ⁢ ⁢ cos ⁡ (∑ p i ⁢ p i, q) + β ⁢ ∑ p i, p j, i ≠ j ⁢ ℓ 1 ⁡ (p i, p j) where α and β are hyperparameters, each passage of the set of N passages is designated as p i, the given question is designated as q, and l 1 (⋅, ⋅) denotes an L 1 loss between two input vectors.

  12. Claim 12Depends on #9

    The apparatus of claim 9, wherein: the selected set of L passages is designated as P sel and is similar to the given question q such that P sel has a probability of Σ p i ∈ P sel Pr(p i |q) that is higher than an average probability for an unselected set of passages, wherein each passage of the set of N passages is designated as p i and the given question is designated as q; P sel covers all facts asked by the given question q such that a joint set of passages in P sel has a high similarity to the given question q and maximizes cos(Σ i ∈ {i|p i ∈ P sel } p i, q); and P sel covers passages p i having diversity based on an average distance between any pair of passages p i in P sel.

  13. Claim 13Depends on #12

    The apparatus of claim 12, wherein the diversity is attained by maximizing Σ i,j ∈ {i,j|p i,p j ∈ P sel,i ≠ j l 1 (p i, p j) where l 1 (⋅, ⋅) denotes an L 1 distance; and wherein coverage is attained by maximizing cos(Σ i ∈ {ip i ∈ P sel } p i, q).

  14. Claim 14Depends on #9

    The apparatus of claim 9, the operations further comprising training the BERT model using a supervised training objective function based on a set of labeled training examples where, for each training instance (q, P), {p i } + ={p i }, ∀ i ∈ {i|p i ∈ P + }; {p i } − ={p i }, ∀ i ∈ {i|p i ∈ P − }; and {p i }={p i } + ∪ {p i } − are defined.

  15. Claim 15Depends on #14

    The apparatus of claim 14, wherein the supervised training objective function comprises a sum of a cross-entropy loss corresponding to a relevance condition that is a measure of a similarity or dissimilarity between a question vector and each passage vector; a weighted cosine-embedding loss for a coverage condition that is a measure of a similarity between the question vector and a subspace spanned by one or more selected passage vectors; and a weighted regularization of a diversity condition that is a measure of an overall distance among supporting passage vectors.

  16. Claim 16Depends on #15

    The apparatus of claim 15, wherein the supervised training objective function is defined as: ℒ ⁡ ({ p i }; q; y) = ℒ sup ⁡ ({ p i }; q; y) + α ℒ c ⁡ ({ p i }; q; y) + β ℒ d ⁡ ({ p i } +) where ℒ sup ⁡ ({ p i }; q; y) = - ∑ i ⁢ y p i ⁢ log ⁡ (f ⁡ (p i)), (1) ℒ c ⁡ ({ p i }; q; y) = { 1 - cos ⁡ (q, ∑ i ⁢, p i), if ⁢ ⁢ ∏ p i y ⁢ p i = 1 max ⁡ (0, cos ⁡ (q, ∑ i ⁢ p i) - γ), if ⁢ ⁢ ∏ p i y ⁢ p i = 0 (2) ℒ d ⁡ ({ p i } +) = ∑ p i, p j, i ≠ j ⁢ (1 - ℓ 1 ⁡ (p i, p j)). (3) where α and β are hyperparameter weights, where γ is a cosine similarity margin, and l 1 (⋅, ⋅) denotes an L 1 loss between two input vectors.

Technical Overview & Description

BACKGROUND The present invention relates to the electrical, electronic and computer arts, and more specifically, to natural language processing (NLP). In recent years, significant progress has been made in the field of open-domain question answering. Very recently, the more challenging task of asking complex questions from the open-domain text corpus has been researched. In the open-domain scenario, one pertinent challenge raised by complex questions is that each question may require multiple pieces of evidence to get the right answer, where the evidence may be scattered in different passages. How to efficiently retrieve a small number of paragraphs that cover the full evidence thus becomes an important problem. Previous solutions rely on traditional information retrieval (IR) or neural IR approaches, which measure the relevance between the question and each paragraph independently, and thus are not well-suited to the problem of finding full evidence for a question. SUMMARY Principles of the invention provide techniques and systems for complementary evidence identification in natural language inference. In one aspect, an exemplary method for natural language inference includes the operations of obtaining a given question for input to a hardware processor; obtaining, using the hardware processor, a set of N passages from an electronic database; determining, using the hardware processor, for each passage of the set of N passages, a probability of a corresponding passage being a supportive passage for the given question; ranking, using the hardware processor, the set of N passages based on the determined probabilities; selecting, using the hardware processor, M passages that are ranked 1 to M of the set of N passages; selecting, using the hardware processor, a set of L passages based on a plurality of scores, each score assigned to a set of candidate passages of the set of N passages, each score being based on the determined probabilities, the selected M passages, and

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (10)

  • Nogueira et al,
  • “
  • Multi-Stage Document Ranking with BERT
  • ”
  • , 2019, arXiv:1910.14424v1, pp. 1-13. (Year: 2019).
  • Truong et al,
  • “
  • Multimodal Review Generation for Recommender Systems
  • ”
  • , 2019, WWW '19: The World Wide Web Conference, pp. 1864-1874. (Year: 2019).