Dynamic Machine Learning Output Validation in Isolated Virtual Machines

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing software development systems lack intuitive, consistent, and reliable methods for selecting and configuring large language models (LLMs) to generate desired outputs while ensuring security, resource efficiency, and accuracy, leading to potential security breaches, inefficiencies, and system disruptions.

Innovation Solution

A data generation platform that dynamically evaluates user prompts and model outputs, authenticates users, and controls access to LLMs based on credentials, evaluates resource usage, and tests outputs in isolated environments to mitigate security risks and inefficiencies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If LLMs are used for text generation and processing tasks, then productivity and capability are improved, but security breaches and algorithmic bias increase

Engineering Contradiction:
Improvetext generation capabilityVSAvoidsecurity breaches
Core Design Contradiction:
ProductivityVSObject-affected harmful factors

Solution Approach 1:

The system performs preliminary validation of user prompts against stored policies and training data before they are processed by the LLM. This advance screening action identifies and blocks potentially harmful inputs that could lead to security breaches or algorithmic bias, while allowing legitimate prompts to proceed to the generation stage.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary validation layer between the user input and the LLM processing. This intermediary component acts as a gatekeeper that screens prompts against security policies and training data, filtering out harmful inputs before they reach the main processing system, thus protecting against security breaches while maintaining productivity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If comprehensive validation of prompts and outputs is implemented, then security and reliability are improved, but device complexity and processing time increase

Engineering Contradiction:
Improveoutput validation accuracyVSAvoidvalidation system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The validation system is segmented into distinct functional components: a prompt validation module that screens inputs against policies and training data, and an output validation module that assesses generated responses. This segmentation allows each component to focus on specific validation tasks, improving reliability while managing complexity through modular architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies different validation criteria and depths to different parts of the processing pipeline. Prompt validation uses specific policies and training data comparisons, while output validation uses different criteria for assessing generated content. This localized approach to validation quality allows comprehensive checking without uniform complexity throughout the entire system.

Inventive Principle:
Principle #3Local quality

3Loss of energy

If dynamic model selection based on prompt evaluation is implemented, then resource efficiency is improved, but measurement precision and evaluation accuracy requirements increase

Engineering Contradiction:
Improvecomputational resource usageVSAvoidprompt evaluation accuracy
Core Design Contradiction:
Loss of energyVSMeasurement precision

Solution Approach 1:

The system dynamically selects which validation models and policies to apply based on the evaluated prompt characteristics. Instead of using a fixed validation approach for all inputs, the system adjusts its validation strategy in real-time based on prompt analysis, enabling resource-efficient processing while maintaining high evaluation accuracy through adaptive model selection.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250321857A1Dynamic input-sensitive validation of machine learning model outputs and methods and systems of the same
Publication Date: 2025.10.16 CITIBANK N A
  • US20250321857A1 patent drawing
  • US20250321857A1 patent drawing
  • US20250321857A1 patent drawing

AI summary

The systems and methods disclosed herein enable evaluation of machine learning model outputs within a virtual environment. The disclosed model validation platform enables testing of code generated for detection of malicious or anomalous outputs. For example, the model validation platform can construct a virtual machine isolated from the system and test model-generated code for validation of LLM-generated outputs. In some implementations, the model validation platform determines parameters of the virtual machine and/or associated validation test based on an evaluation of the machine learning model's output and/or the associated underlying prompt. For example, the parameters of the validation test depend on an evaluation of the user or the provided input (e.g., depending on the presence of sensitive data within the prompt). By doing so, the system enables dynamic evaluation of machine learning model outputs to improve the security and robustness of associated generated code.