Sequence-to-Sequence Neural Networks with Look-Ahead Tree Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing sequence transduction neural networks often produce output sequences with high likelihood but may not be the most useful in practice, leading to sub-optimal results, and require significant computing and memory resources.

Innovation Solution

A method combining a look-ahead tree search, such as Monte Carlo tree search, with a sequence-to-sequence neural network system to generate output sequences, using a value neural network to evaluate sequences and guide the tree search for improved metric-based output generation, allowing for more diverse and desirable sequence outputs with reduced computational requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If maximum likelihood training is used to generate output sequences, then the sequence model likelihood is improved, but the usefulness and performance according to practical metrics deteriorates

Engineering Contradiction:
Improvesequence model likelihoodVSAvoidmetric-based output quality
Core Design Contradiction:
ReliabilityVSManufacturing precision

Solution Approach 1:

The patent changes the objective function parameter from maximum likelihood to metric-based optimization. The value neural network is trained to predict sequence-level metrics (such as BLEU score, ROUGE score, or other task-specific metrics) rather than token-level likelihoods. This parameter change allows the model to directly optimize for practical usefulness rather than statistical probability.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces feedback through the value neural network that evaluates partial sequences and provides guidance back to the sequence generation process. The value network predicts the expected metric score for a given sequence, and this feedback is used to guide beam search or other decoding strategies to prefer sequences with higher predicted metric values, creating a closed-loop optimization system.

Inventive Principle:
Principle #23Feedback

2Device complexity

If traditional sequence transduction methods are used, then implementation simplicity is maintained, but computing and memory requirements increase

Engineering Contradiction:
Improvesystem implementation complexityVSAvoidcomputational resources
Core Design Contradiction:
Device complexityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by training the value neural network in advance to predict metric scores for sequences. During generation, instead of computing expensive metric evaluations on finished sequences or performing exhaustive search, the pre-trained value network provides quick predictions that guide the generation process, significantly reducing computational resources required during inference while maintaining implementation simplicity.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240104353A1Sequence-to sequence neural network systems using look ahead tree search
Publication Date: 2024.03.28 GDM HOLDING LLC
  • US20240104353A1 patent drawing
  • US20240104353A1 patent drawing
  • US20240104353A1 patent drawing

AI summary

A computer-implemented method for generating an output token sequence from an input token sequence. The method combines a look ahead tree search, such as a Monte Carlo tree search, with a sequence-to-sequence neural network system. The sequence-to-sequence neural network system has a policy output defining a next token probability distribution, and may include a value neural network providing a value output to evaluate a sequence. An initial partial output sequence is extended using the look ahead tree search guided by the policy output and, in implementations, the value output, of the sequence-to-sequence neural network system until a complete output sequence is obtained.