Black-Box LLM Text Detection Using Distribution-Aligned Surrogates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for detecting text generated by Large Language Models (LLMs) face challenges in adapting to new models and domains, particularly when using black-box LLMs, due to misalignment in probability curvature distributions and the need for tailored surrogate models.

Innovation Solution

A distribution-aligned LLM detection framework that fine-tunes surrogate models to align with target LLM distributions, using a logit-based approach to minimize the gap between probability curvatures, enabling effective detection without relying on logits from the source LLM.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If zero-shot detectors use tailored surrogate models for each LLM, then detection accuracy is improved, but device complexity and adaptability worsen due to needing multiple models

Engineering Contradiction:
Improvedetection accuracyVSAvoidmodel complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent creates a universal surrogate model that can detect text from multiple different LLMs without requiring separate tailored models for each target model. This single surrogate model serves multiple functions across different LLM detections, reducing overall system complexity while maintaining detection accuracy through its ability to approximate various target model behaviors.

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

Solution Approach 2:

The patent modifies the surrogate model's parameters and training approach to make it adaptable to different target LLMs. By changing the training data and parameter configurations rather than creating entirely separate models, the system achieves accurate detection across multiple LLMs with a single flexible surrogate model structure.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If surrogate models are updated for new LLM versions, then detection accuracy is maintained, but loss of time and productivity worsen due to retraining requirements

Engineering Contradiction:
Improvedetection accuracyVSAvoidretraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by creating a surrogate model with broad adaptability built-in from the start, rather than requiring updates for each new LLM version. The model is pre-configured to handle variations in LLM outputs through its training approach, reducing the need for frequent retraining and minimizing time loss when new models are released.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent makes the surrogate model dynamic and adaptable to new LLM versions through efficient retraining mechanisms. The model can be quickly updated with minimal training data when new LLMs are released, allowing it to maintain high detection accuracy without significant time investment in retraining compared to traditional tailored model approaches.

Inventive Principle:
Principle #15Dynamics

3Ease of operation

If black-box LLM detection is performed without logits, then ease of operation is improved, but measurement precision worsens due to distribution gaps

Engineering Contradiction:
Improvedetection accessibilityVSAvoiddetection accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent introduces a surrogate model as an intermediary between the black-box LLM and the detection process. This intermediary approximates the target LLM's behavior and fills the distribution gap, enabling accurate detection of black-box LLM outputs without direct access to their internal logits or probability distributions.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a copy (surrogate model) of the target LLM's behavior patterns and probability distributions. This copied model replicates the essential characteristics of the black-box LLM, allowing detection algorithms to operate on the surrogate's outputs rather than directly on the inaccessible black-box internals, thereby maintaining precision while improving ease of operation.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250356126A1Logits-based detector without logits from black-box llms
Publication Date: 2025.11.20 NEC LABORATORIES AMERICA INC
  • US20250356126A1 patent drawing
  • US20250356126A1 patent drawing
  • US20250356126A1 patent drawing

AI summary

Systems and methods for detecting Large Language Model (LLM) generated text are provided. The systems and methods include sampling a text passage to generate alternative samples conditioned on the text passage based on a next token prediction in a surrogate LLM model and scoring a likelihood that the test passage sample is generated by an LLM model. The scoring includes a conditional probability which quantifies a distribution gap of a log of logits from the surrogate LLM model. The systems and methods further include comparing the scored text passage with a sample text generated in the surrogate LLM model trained to imitate a target LLM model. The comparison includes transforming the scores into a scaled representation and normalizing the scores.