Diffusion Model LID Estimation Using Noise-Log Probability Slope

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for estimating local intrinsic dimensionality (LID) of data samples in diffusion models are computationally expensive, inaccurate, and do not effectively scale to high-resolution images, failing to measure LID directly from a specific model's trained parameters.

Innovation Solution

Evaluate the relationship between noise applied by the diffusion process and the change in log probability using differential methods, determining LID through the slope of log probabilities at different noise levels, allowing for efficient estimation without requiring a differential equation solver.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional model-free estimators using pairwise distances and nearest neighbors are used to measure LID, then LID can be estimated for data samples, but computing them is prohibitively expensive for large data sets

Engineering Contradiction:
ImproveLID estimation accuracyVSAvoidcomputational efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent replaces traditional mechanical/computational approaches (pairwise distance calculations and nearest neighbor searches) with a differential geometric approach based on the diffusion model's probability density function. Instead of computing distances between all pairs of points, the method uses the analytical form of the probability density to compute LID through differential operators, dramatically reducing computational complexity from O(N^2) to O(N) where N is the number of data points.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent transforms the LID estimation problem from a geometric measurement task into a parameter estimation task within the diffusion model framework. By expressing LID in terms of the probability density function parameters and their derivatives, the method changes the fundamental parameters being measured, enabling efficient computation through the model's analytical properties rather than brute-force geometric calculations.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If model-based estimators are used to measure LID according to a specific model's trained parameters, then LID can be measured with respect to the model, but existing methods are inaccurate, computationally expensive, or require training several models

Engineering Contradiction:
Improvemodel-specific LID measurement accuracyVSAvoidmodel training and evaluation complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent enables the diffusion model to evaluate its own local intrinsic dimensionality properties directly from its trained parameters without requiring external estimation tools or additional training. The method uses the model's probability density function and its derivatives with respect to the data variables to compute LID, allowing the model to self-diagnose its representation complexity at different points in the data space.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent performs preliminary derivation of the analytical form of the probability density function and its derivatives during the model training phase. This preliminary action establishes the mathematical foundation needed for efficient LID computation, so that during evaluation, only simple plug-in calculations are needed rather than re-deriving or re-training components.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If existing model-based estimators are applied to diffusion models, then LID can be determined, but they do not effectively scale to high-resolution images

Engineering Contradiction:
ImproveLID determination accuracyVSAvoiddata processing scale
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent segments the high-dimensional image data space into local regions around each data point, evaluating LID independently at each point's local neighborhood. This segmentation allows the method to handle high-resolution images by focusing computational effort on local differential properties rather than attempting global computations across the entire high-dimensional space, making the approach scalable to large datasets.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250371354A1Evaluating local intrinsic dimensionality for diffusion models
Publication Date: 2025.12.04 THE TORONTO DOMINION BANK
  • US20250371354A1 patent drawing
  • US20250371354A1 patent drawing
  • US20250371354A1 patent drawing

AI summary

The local intrinsic dimensionality (LID) for a diffusion model with respect to a particular data sample is determined by using the diffusion model's diffusion process to apply noise to a data sample and evaluate how the estimated log probability of the data sample changes at different levels of noise. Particularly, the differential of change in noise to change in log probability can be used to determine the local intrinsic dimensionality. This may be determined by evaluating the log probability at several noise levels and determining a slope of the difference. In additional examples, the differential is evaluated directly at a selected noise level. The selected noise level can be optimized by calculating the estimated LID for various data samples at a variety of noise levels and selecting the LID that corresponds to a “knee” where the estimated LID sharply changes.