Text-Embedding OOD Detection for Unlabeled Visual Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning models struggle to accurately detect out-of-distribution (OOD) data without relying on labeled OOD data during training, and they often fail when encountering new types of OOD data.

Innovation Solution

A method that uses in-distribution and out-of-distribution embeddings generated from text samples to train a classifier, allowing for OOD detection without requiring large amounts of labeled OOD data, by leveraging a loss function to encourage trainable embeddings to capture OOD characteristics while being distinct from in-distribution embeddings.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional OOD detection methods use labeled OOD data during training, then detection accuracy improves, but data annotation time and cost increase

Engineering Contradiction:
ImproveOOD detection accuracyVSAvoiddata annotation time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system uses the machine learning model itself to generate synthetic OOD embeddings by processing synthetic inputs, eliminating the need for manual annotation of OOD data. The model serves its own training needs by creating its own training data through text-to-image synthesis and embedding generation.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system pre-generates synthetic OOD embeddings using text-to-image models and embedding generators before the actual OOD detection task. This preliminary preparation of training data allows the model to be trained without time-consuming manual annotation during the detection phase.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If OOD detection methods rely on visual data distribution, then detection effectiveness improves for known distributions, but applicability to new OOD types decreases

Engineering Contradiction:
Improvedetection effectivenessVSAvoidapplicability to new OOD types
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system uses a universal text embedding space that can represent both in-distribution and out-of-distribution data through text descriptions. This universal representation allows the model to detect various types of OOD data (different objects, styles, concepts) without retraining, as text embeddings can capture diverse semantic meanings.

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

Solution Approach 2:

The system changes the parameter space from visual features to text-based semantic embeddings. By representing data in a semantic space defined by text descriptions rather than visual appearance, the model can generalize to new OOD types that share semantic relationships with training data, improving adaptability while maintaining detection effectiveness.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If more labeled OOD data is collected for training, then detection precision improves, but system complexity and resource requirements increase

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

Solution Approach 1:

The system automatically generates synthetic OOD embeddings using pre-trained text-to-image models and embedding generators, eliminating the need for manual data collection and annotation processes. This self-service approach to data preparation reduces system complexity while providing sufficient training data for precise detection.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system creates synthetic copies of OOD embeddings through text-to-image synthesis and embedding generation, rather than requiring physical collection and annotation of real OOD data. These synthetic copies are sufficient for training the detection model, reducing the complexity of data acquisition while maintaining detection precision.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20260023773A1Detection of out-of-distribution visual data via text-based training
Publication Date: 2026.01.22 QUALCOMM INC
  • US20260023773A1 patent drawing
  • US20260023773A1 patent drawing
  • US20260023773A1 patent drawing

AI summary

Certain aspects of the present disclosure provide techniques for detecting out-of-distribution data. Such techniques may include: processing an input data sample using a trained model to generate an input data embedding; obtaining a set of in-distribution (ID) text embeddings; obtaining a set of trained OOD embeddings; classifying the input data sample as OOD data or ID data based on the input data embedding, the set of ID text embeddings, and the set of trained OOD embeddings; and outputting an indication of whether the input data is classified as OOD data or ID data based on the classification.