AI Character Model Context-Aware Response Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing virtual character models lack the ability to adapt conversations based on changing contexts, such as user emotions and events in the virtual environment, due to fixed parameters that do not account for dynamic interactions.

Innovation Solution

A computing platform that determines the context of a dialog between a user and an AI character model, using a data stream from a client-side device, and generates inputs for a language model to predict responses, incorporating context data like user and AI character emotions, scene parameters, and events to create context-aware and goal-driven conversations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional virtual character models use fixed parameters for the whole conversation, then the model structure remains simple and stable, but the model cannot adapt to changing contexts such as user emotions and events

Engineering Contradiction:
Improveadaptability to changing contextVSAvoidmodel parameter complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements dynamic parameters that can change during conversation based on detected context. The system monitors user emotions, events in the virtual environment, and conversation flow to automatically adjust model parameters such as personality traits, response style, and engagement level. This allows the virtual character to adapt its behavior dynamically without requiring multiple separate models for different contexts.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes model parameters based on detected context states. When user emotions or environmental events are detected, the system modifies relevant parameters to reflect the new context, enabling the virtual character to respond appropriately to different situations while maintaining a coherent identity. This involves controlled modification of parameter values rather than complete model reconfiguration.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If virtual character models are developed for specific applications with specific rules, then the model can follow precise logic, but the model cannot integrate with other applications and environments

Engineering Contradiction:
Improveintegration capabilityVSAvoidlogic consistency
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent creates a universal virtual character model framework that can operate across multiple applications and environments. The system uses a core set of adaptable parameters that can be configured for different applications while maintaining consistent behavior logic. This allows the same model to integrate with various platforms (games, social media, messaging) without requiring application-specific model instances.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system separates the virtual character model into modular components: a core identity layer with stable parameters, a context-adaptation layer with dynamic parameters, and an application-interface layer. This segmentation allows the core logic to remain consistent while enabling flexible integration with different applications through the interface layer.

Inventive Principle:
Principle #1Segmentation

3Loss of information

If the language model receives only the user message without context, then the input processing is simple and fast, but the model cannot build conversation based on changing context

Engineering Contradiction:
Improvecontext information retentionVSAvoidinput processing complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The system performs preliminary processing of context information before it reaches the language model. It detects user emotions, identifies relevant events, and determines current conversation state in advance, then integrates this processed context into the model input. This preparation work reduces the complexity burden on the language model itself while ensuring rich contextual information is available.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces a context-management intermediary layer between the user input and the language model. This intermediary processes raw context data (emotions, events, conversation history), selects relevant information, and formats it appropriately for the language model. This mediator preserves context information while managing the complexity of context integration.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12118320B2Controlling generative language models for artificial intelligence characters
Publication Date: 2024.10.15 THEAI INC
  • US12118320B2 patent drawing
  • US12118320B2 patent drawing
  • US12118320B2 patent drawing

AI summary

Systems and methods for conducting communications between a user and an Artificial Intelligence (AI) character model are provided. An example method includes determining a context of a dialog between the AI character model and the user, the context being determined based on a data stream received from a client-side computing device associated with the user; receiving a message of the user in the dialog; and generating, based on the context and the message, an input to a language model configured to predict a response to the message; providing the input to the language model to obtain the response; and transmitting the response to the client-side computing device, where the client-side computing device presents the response to the user. The input to the language model includes the message expanded by a keyword associated with the context. The context includes an intent of the user and an emotional state of the user.