AI Virtual Agent Self-Improvement via MCTS and Language Modeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current virtual agents lack a highly successful method for language interactions using self-play learning to generate conversation logs from tree search processes, resulting in suboptimal language utterances and responses.

Innovation Solution

A novel method combining language modeling with tree search techniques, specifically using Monte Carlo Tree Search (MCTS) processes, to enhance self-play learning and conversation generation, integrating language models like GPT-2 or GPT-3 within a tree search framework for selecting the best responses based on projected outcomes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If language models are used to generate responses, then response quality is improved, but ability to select the best response based on projected outcomes deteriorates

Engineering Contradiction:
Improveresponse qualityVSAvoidability to select best response
Core Design Contradiction:
Manufacturing precisionVSAdaptability or versatility

Solution Approach 1:

The patent merges language modeling with tree search techniques (specifically Monte Carlo Tree Search) to combine the strengths of both approaches. The language model generates plausible responses while the tree search evaluates projected outcomes to select the best response, resolving the contradiction between response quality and adaptability in response selection

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The tree search process acts as an intermediary between the language model and the final response selection. It takes the plausible responses from the language model, simulates multiple viewpoints through virtual conversation, and selects the optimal response based on projected outcomes, thus mediating between generation and selection capabilities

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If tree search processes are used to select best responses, then response selection capability is improved, but computational complexity increases

Engineering Contradiction:
Improveresponse selection capabilityVSAvoidcomputational complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent applies partial action by using Monte Carlo Tree Search which samples a subset of possible conversation paths rather than exhaustively searching all possibilities. This provides sufficient response selection capability while keeping computational complexity manageable through probabilistic sampling rather than complete enumeration

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system changes parameters dynamically during the tree search process, adjusting simulation depth, number of simulations, and language model temperature based on the conversation context and computational resources available, thus balancing response selection capability with computational complexity

Inventive Principle:
Principle #35Parameter changes

3Reliability

If self-play learning is implemented, then system performance is improved, but training time increases

Engineering Contradiction:
Improvesystem performanceVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements continuous self-play learning where the system generates conversation logs and retrains the language model in an ongoing cycle rather than batch processing. This allows the system to continuously improve performance while managing training time through iterative incremental learning rather than complete retraining

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The system performs self-service by automatically generating its own training data through self-play conversations and autonomously retraining its language model. This eliminates the need for external manual annotation and reduces overall training time through automated closed-loop learning

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11645479B1Method for AI language self-improvement agent using language modeling and tree search techniques
Publication Date: 2023.05.09 COURSEY KINO HIGH
  • US11645479B1 patent drawing
  • US11645479B1 patent drawing
  • US11645479B1 patent drawing

AI summary

A novel method provides an AI language virtual agent having self-improvement features and which uses language modeling and tree search techniques. The AI language virtual agent exchanges textual discussion with users and other simulated agents. The method includes receiving a current situational description depicting natural language user input, temperament qualities and textual tendencies of the virtual agent, and indicia regarding subject matter context of a present conversation. The indicia regarding subject matter context include textual logs from recent conversational exchanges. The current situational description includes audio, visual, and tactile inputs collected proximate to the virtual agent. The method preferably utilizes an MCTS tree search in combination with self-moving modules, one or more language models, tree search techniques outputting textual responses to the current situation description, and the virtual agent responding with textual expression to verbal input in combination with the audio, visual, tactile, and other sensory inputs.