From noise to information: discriminative tasks based on randomized neural networks and generative tasks based on diffusion models

Minghui Hu2024 · DOI

TL;DR

This thesis explores the duality of noise and information, optimizing Randomized Neural Networks (RNNs) for lightning-fast discriminative tasks and advancing Diffusion Models for high-fidelity, controllable data generation. By introducing techniques like self-distillation for fixed-weight networks and discrete latent diffusion (VQ-DDM), the research makes complex AI tasks significantly more efficient and easier to steer.

What Problem Does This Paper Address?

Modern deep learning relies heavily on backpropagation, which is computationally expensive, requires massive datasets, and often gets stuck in local optima. The author, Minghui Hu, tackles two sides of the machine learning coin:

  1. Efficiency in Discrimination: Randomized networks like the Random Vector Functional Link (RVFL) are incredibly fast because their hidden weights are random and fixed—only the output layer is trained. However, they traditionally struggle with "hard samples" near decision boundaries and lack the depth to handle complex, unlabeled data.
  2. Controllability in Generation: While Diffusion Models have revolutionized image generation, they are notoriously slow to sample from and difficult to control precisely (e.g., matching a specific pose or lighting). They also suffer from "schedule flaws" where the final noise doesn't perfectly align with the training distribution, leading to washed-out results.

Methods

The thesis is divided into two innovative parts:

Part I: Randomized Neural Networks

  • Unsupervised & Self-Supervised Learning: Hu introduces usRVFL, which uses manifold regularization (graph Laplacians) to perform clustering without labels. He also proposes a Self-Distillation framework where a randomized network learns from its own high-confidence predictions, boosting accuracy without increasing model size.
  • Deep Architectures: To handle regression and classification, the author develops edRVFL (Ensemble Deep RVFL), incorporating skip connections (identity mappings similar to ResNet) and "boosting factors" to ensure random weights cover the latent space effectively.
  • Automated Solutions: The ALR (Automated Layer-wise Solution) uses Bayesian Optimization (BOHB) to tune hyperparameters for each layer independently, moving away from the "one-size-fits-all" approach of traditional RNNs.

Part II: Diffusion Models

  • VQ-DDM (Vector Quantized Discrete Diffusion): Instead of diffusing pixels, this model operates on discrete latent codes from a VAE. This two-stage process makes generation 10 to 100 times faster than standard pixel-space diffusion.
  • UniD3: A unified model that constructs a joint probability distribution for image and text tokens, allowing for simultaneous vision-language generation.
  • Controllability (Cocktail & OMS): Hu introduces Generalized ControlNet to fuse multiple modalities (like edges and poses) into a single model. He also proposes One More Step (OMS), a plug-and-play module that rectifies flaws in the diffusion schedule, improving low-frequency control (brightness/color) without retraining the backbone.

Datasets

The research utilizes a massive array of benchmarks:

  • Discriminative: 12 clustering datasets (UCI, MNIST, ETH80), 29 UCI regression datasets, and 46 UCI classification datasets.
  • Generative: High-resolution image datasets including CelebA-HQ, LSUN-Church, and ImageNet.
  • Multimodal: CUB-200-2011 (birds) and MS-COCO for vision-language tasks, and LAION 2B for training the OMS module.

Key Insights and Ideas

  • Randomness as a Feature, Not a Bug: The thesis proves that the inherent randomness in RNNs can be harnessed through "Noise Elimination" (pruning useless neurons) to actually improve discriminative power.
  • The "Grayish" Image Fix: Hu identifies that many diffusion models produce images with median brightness because of a mismatch in "terminal SNR" (Signal-to-Noise Ratio) during sampling. His OMS module fixes this geometrically by bridging the gap between the standard Gaussian distribution and the model's expected noise.
  • Layer-wise Independence: By treating each layer in a deep randomized network as an independent sub-classifier and using Bayesian Optimization, the model achieves much higher diversity and robustness than standard deep ensembles.

Key Results

  • Speed: VQ-DDM generates 50k images in ~10 hours, compared to ~1000 hours for standard DDPM.
  • Accuracy: The NE-edRVFL (Noise Eliminated) approach achieved the top-ranked performance across 24 UCI datasets, outperforming standard ResNets and SCNs in training time by a factor of nearly 10x.
  • Clustering: The proposed usdRVFL yielded the best accuracy in 10 out of 11 benchmark datasets compared to traditional methods like k-Means and Spectral Clustering.
  • Controllability: The Cocktail model outperformed state-of-the-art methods like T2I-Adapter and Multi-ControlNet across all evaluation metrics (LPIPS, mIoU, mAP) on the COCO5k validation set.

Limitations and Future Work

The author notes that while self-distillation improves performance, too many generations can lead to "underfitting" as the model's basis functions become overly reduced.

Future directions include: * Exploring incremental learning for randomized networks on edge devices. * Improving the modeling of discrete data to close the remaining gap with autoregressive models. * Pushing diffusion sampling speeds even further, aiming for "millisecond generation" while preserving intricate object details.

Summary updated

Abstract

In this thesis, I delve into the realm of noise and information, exploring the application and capabilities of randomized neural networks in discriminative tasks, as well as the utilization of diffusion models in generative tasks. I begin by investigating the inherent randomness in neural networks, and how this randomness can be harnessed to perform discriminative tasks with high accuracy. I then transition to the domain of generative tasks, where I employ diffusion models to generate high-quality data from noise. The primary innovations include: 1. Part I: Randomized Neural Networks for Discriminative Tasks - The introduction of an unsupervised learning approach and self-distillation for Randomised neural networks, which has improved the efficiency of utilizing limited data resources and has also enhanced the overall capabilities of the model. - The development of an ensemble deep RVFL network for regression tasks, incorporating techniques such as boosting factors, skip connections, and an ensemble scheme for improved predictive power. - More structures for Randomised Neural Networks, including Automated Layer-wise Solution, Adaptive Ensemble, Deep Reservoir variants and Noise Elimination. Our broader objective is to extend the utility of RVFL networks across various domains and applications. 2. Part II: Diffusion Models for Generative Tasks - The design of a Vector Quantized Discrete Diffusion Model (VQ-DDM) for efficient and high-fidelity image generation, which employs a two-stage process involving discrete VAE and diffusion model for latent code distribution fitting. - The introduction of a Unified Discrete Diffusion model (UniD3) for simultaneous vision-language generation, which constructs a joint probability distribution by mixing discrete image and text tokens. - The proposal of methods to improve the controllability of text-conditional diffusion models, including a Generalized ControlNet for multi-modal input and a plug-and-play module for low frequence control. The findings of this thesis demonstrate the potential of randomised neural networks and diffusion models in handling complex machine learning tasks, offering new insights into the interplay between noise and information. The innovative approaches presented in this thesis open up new research directions and have the potential to significantly impact the field of machine learning.
BibTeX
@misc{hu2024from,
  author = {Minghui Hu},
  title = {{From noise to information: discriminative tasks based on randomized neural networks and generative tasks based on diffusion models}},
  year = {2024},
  doi = {10.32657/10356/177388},
}
Figure