# US 2023/0055666 A1 · Natural question generation via reinforcement learning based graph-to-sequence model

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0055666 A1
- Document ID: US20230055666A1
- Status: Published application
- Kind: A1
- Application number: 17/971,635
- Filed: 2022-10-23
- Published: 2023-02-23
- Earliest claimed: 2020-01-02
- Assignees: International Business Machines Corporation; Rensselaer Polytechnic Institute
- Applicants: International Business Machines Corporation; Rensselaer Polytechnic Institute
- Inventors: Lingfei Wu; Yu Chen; Mohammed J. Zaki
- Web page: https://patentgrep.com/patent/US20230055666A1

## CPC

- G06F 16/3329: Natural language query formulation
- G06F 40/35: Discourse or dialogue representation
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 40/30: Semantic analysis
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0475: Generative networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

For a passage text and a corresponding answer text, perform a word-level soft alignment to obtain contextualized passage embeddings and contextualized answer embeddings, and a hidden level soft alignment on the contextualized passage embeddings and the contextualized answer embeddings to obtain a passage embedding matrix. Construct a passage graph of the passage text based on the passage embedding matrix, and apply a bidirectional gated graph neural network to the passage graph until a final state embedding is determined, during which intermediate node embeddings are fused from both incoming and outgoing edges. Obtain a graph-level embedding from the final state embedding, and decode the final state embedding to generate an output sequence word-by-word. Train a machine learning model to generate at least one question corresponding to the passage text and the answer text, by evaluating the output sequence with a hybrid evaluator combining cross-entropy evaluation and reinforcement learning evaluation.

## Claims

### Claim 1

A method comprising:
obtaining contextualized passage embeddings and contextualized answer embeddings for a text pair;
obtaining a passage embedding matrix;
constructing a corresponding passage graph based on said passage embedding matrix;
applying a bidirectional gated graph neural network to said corresponding passage graph until a final state embedding is determined, during which application intermediate node embeddings are fused from both incoming and outgoing edges of said graph;
obtaining a graph-level embedding from said final state embedding;
decoding said final state embedding to generate an output sequence; and
training a machine learning model to generate at least one question corresponding to said text pair by evaluating said output sequence.
