home/ browse/ domain K

K · AI & real-time generative AV

214 atoms · 19 modules primarily in this domain.

Modules

Authoring Generative Pipelines in ComfyUI
L2 First instrument K 5h 18 atoms
Building Differentiable DSP Instruments with DDSP
L2 First instrument K 4h 10 atoms
Choreographing Diffusion Animations with Deforum
L3 Craft K 4h 10 atoms
Deploying Neural Audio Models into Max/MSP and Pure Data
L2 First instrument K 4h 16 atoms
Deriving and Training a Diffusion Model from Scratch
L2 First instrument K 6h 12 atoms
Diffusion Theory: Objectives, Schedules, and Backbones
L3 Craft K 6h 21 atoms
Engineering DDSP Timbre Transfer Internals
L3 Craft K 5h 13 atoms
Generating Audio from Latent and Spectral Representations
L2 First instrument K 3h 7 atoms
Generating Drum Patterns with an ML Groove Model
L3 Craft K 3h 3 atoms
Optimizing Real-Time Diffusion with StreamDiffusion
L3 Craft K 6h 22 atoms
Orienting to Generative AI for Live AV
L1 Foundations K 3h 6 atoms
Performing Live AI Visuals in a Real-Time Rig
L4 Performance K 6h 10 atoms
Scripting Custom nn~ Models for Live Rigs
L3 Craft K 5h 11 atoms
Separating Stems from Any Track with Demucs
L2 First instrument K 4h 11 atoms
Steering and Accelerating Diffusion Sampling
L4 Performance K 6h 17 atoms
The Text-Conditioned Image Generation Stack
L3 Craft K 5h 13 atoms
Training a RAVE Timbre Model End to End
L3 Craft K 6h 25 atoms
Training and Tuning Source-Separation Models
L4 Performance K 6h 9 atoms
Understanding RAVE Architecture Internals
L3 Craft K 5h 12 atoms

Atoms by level

A diffusion model learns to reverse a fixed noise-adding process by training a neural network to denoise step-by-step
Concept L2 First instrument K
A diffusion model steers noise toward the training distribution, not toward exact stored images
Concept L2 First instrument K
A model's depth can be measured either as computation-graph length or as concept-hierarchy depth
Concept L2 First instrument K
A nn~ model's methods each define a distinct processing pipeline with its own inlet/outlet count
Concept L2 First instrument KN
A VAE generates sound by encoding a spectrogram to a latent point, decoding it, and inverting the STFT
Concept L2 First instrument K
A variance schedule beta_t controls how quickly noise accumulates across DDPM timesteps
Concept L2 First instrument K
A WebGPU uniform is a shader global held constant for every invocation of one draw call
Concept L2 First instrument GK
CFG scale in ComfyUI's KSampler balances prompt adherence against image quality
Concept L2 First instrument K
CFG scale in Deforum controls prompt adherence — too high saturates and distorts, too low drifts off-prompt
Concept L2 First instrument K
CLIP jointly trains text and image encoders so matching pairs get high cosine similarity
Concept L2 First instrument K
ComfyUI embeds the full workflow JSON in generated PNG files
Fact L2 First instrument K
ComfyUI models a diffusion pipeline as a directed graph of typed nodes
Concept L2 First instrument K
ComfyUI only re-executes nodes whose inputs have changed since the last run
Principle L2 First instrument K
ComfyUI supports {option|option} wildcard syntax in text prompts for random variation
Fact L2 First instrument K
ComfyUI weights a prompt term with (term:weight) syntax to strengthen or weaken it
Fact L2 First instrument K
ComfyUI's security scope is limited to localhost by design — --listen exposes the server to the network at user's risk
Fact L2 First instrument K
ComfyUI's smart memory manager offloads models to CPU when GPU VRAM is insufficient
Concept L2 First instrument K
Converting a generated log-spectrogram to audio requires denormalizing, de-logging to amplitude, then an iSTFT
Procedure L2 First instrument KB
Ctrl+B bypasses a node in ComfyUI as if it were removed with wires reconnected through
Fact L2 First instrument K
DDPM inference reverses the diffusion process: starting from noise, iteratively subtract predicted noise for T steps
Procedure L2 First instrument K
DDPM normalizes pixel values from [0,255] to [-1,1] so the network operates on a fixed input range matching the Gaussian prior
Procedure L2 First instrument K
DDPM training samples a random timestep per example, corrupts it, and minimizes noise-prediction loss
Procedure L2 First instrument K
DDPM uses a U-Net with skip connections as the denoising network, taking noisy image and timestep as input
Concept L2 First instrument K
DDSP makes DSP components differentiable so neural networks can drive classical synthesizers
Concept L2 First instrument KB
DDSP training requires preprocessing raw audio into TFRecord files with precomputed f0, loudness, and audio chunks
Procedure L2 First instrument KB
DDSP uses the CREPE pitch detector to extract frame-rate f0 and confidence from audio for training conditioning
Concept L2 First instrument KB
DDSP's FilteredNoise synthesizer shapes white noise with a learned frequency-domain magnitude envelope
Concept L2 First instrument KB
DDSP's Harmonic synthesizer sums band-limited sinusoidal harmonics weighted by a learned distribution
Concept L2 First instrument KB
DDSP's Reverb processor can use either a predicted or a single learned impulse response for convolution
Concept L2 First instrument KB
Deforum keyframe schedules interpolate parameter values linearly between defined frame:value pairs
Procedure L2 First instrument K
Deforum motion operators apply per-frame and accumulate, so small values compound into large movement over an animation
Concept L2 First instrument K
Deforum parameters are scoped to an animation mode — a parameter effective in one mode has no effect in another
Concept L2 First instrument K
Deforum's strength_schedule sets how much the previous frame constrains the next and also fixes the effective step count
Concept L2 First instrument K
Demucs automatically rescales output stems to prevent clipping but this breaks relative stem loudness
Fact L2 First instrument K
Demucs separates any audio file from the command line with a single command
Procedure L2 First instrument K
Demucs ships multiple model variants trading speed, quality, size, and stem count
Fact L2 First instrument K
Denoise strength below 1.0 in KSampler enables image-to-image sampling
Concept L2 First instrument K
Diffusion inference iteratively removes predicted noise from a latent tensor until an image emerges
Concept L2 First instrument K
Flok enables multiple live coders to share and edit a single browser interface in real time
Concept L2 First instrument FKP
Freesound's content-based similarity search returns sounds that are acoustically alike, not just similarly tagged
Concept L2 First instrument CKN
Griffin-Lim reconstructs a plausible phase from a magnitude spectrogram, so its output sounds robotic
Concept L2 First instrument KB
Harmonic synthesizers must zero out partials above the Nyquist frequency to prevent aliasing
Principle L2 First instrument KB
Latent diffusion runs the denoising process in a compressed latent space instead of pixel space, cutting compute cost
Concept L2 First instrument K
LoRA strength in ComfyUI scales the weight delta additively and can be negative or greater than 1
Fact L2 First instrument K
Music source separation splits a stereo mix into isolated stems (drums, bass, vocals, other)
Concept L2 First instrument KC
nn~ exposes RAVE encode, decode, and forward as Max/MSP or Pure Data audio-rate methods
Procedure L2 First instrument KN
nn~ is a translation layer that runs any TorchScript (.ts) model as a live Max/MSP or Pure Data object
Concept L2 First instrument KN
nn~ model attributes are model-defined, live-controllable parameters set via 'set NAME VALUE' messages
Concept L2 First instrument KN
nn~'s circular buffer amortizes neural model compute across time, at the cost of added latency
Concept L2 First instrument KN
Perceptual loudness in DDSP uses A-weighting to match human hearing sensitivity across frequencies
Concept L2 First instrument KB
Processing audio in short segments reduces GPU memory at the cost of segment-boundary artefacts
Principle L2 First instrument K
q_sample implements the 'nice property' — corrupting an image to any noise level in one operation
Procedure L2 First instrument K
Random horizontal flipping during training improves sample quality in image diffusion models
Fact L2 First instrument K
RAVE dataset quality needs a balance between homogeneity and diversity
Principle L2 First instrument K
RAVE is a variational autoencoder that encodes audio into a compact latent space and decodes it back in realtime
Concept L2 First instrument KB
RAVE models must be exported with --streaming to avoid click artifacts in realtime hosts
Procedure L2 First instrument KN
RAVE perceptual quality must be judged by ear, since adversarial loss values do not track it
Principle L2 First instrument K
RAVE requires hours of homogeneous audio preprocessed into a chunked database before training
Procedure L2 First instrument K
RAVE supports mute, compress, and gain augmentations to improve generalization on small datasets
Principle L2 First instrument K
RAVE training is monitored via TensorBoard distance, fidelity, and adversarial-loss logs
Procedure L2 First instrument K
RAVE uses gin-config to define and override model hyperparameters without modifying code
Procedure L2 First instrument KN
RAVE's generate script applies a model to large collections of audio files offline in batch mode
Procedure L2 First instrument K
RAVE's lazy dataset mode avoids disk conversion by loading raw audio files at training time
Concept L2 First instrument KN
Representation learning discovers useful features from data instead of hand-designing them
Concept L2 First instrument K
Stem separation is a practical on-ramp to building personal sample banks from any released track
Principle L2 First instrument KC
The DDSP Processor separates unconstrained network outputs (inputs) from physically valid synthesizer controls
Concept L2 First instrument KB
The exp_sigmoid nonlinearity maps network outputs to strictly positive amplitudes with a controllable range
Concept L2 First instrument KB
The noise predictor is trained by adding known noise to images and having it predict that noise
Concept L2 First instrument K
The RAVE VST loads a .ts model in any DAW as an audio effect that re-timbres incoming audio
Procedure L2 First instrument KNM
TorchScript (.ts) files are the portable, runtime-independent format for deploying PyTorch models without Python
Concept L2 First instrument KN
Transfer learning reuses a pre-trained network as a feature extractor to train a classifier from few examples
Concept L2 First instrument K
VAEs support two generation modes: reconstruction from an encoded input and sampling from the latent prior
Concept L2 First instrument K
Waveform-to-waveform nn~ models have equal in_ratio and out_ratio and pass audio through uncompressed
Concept L2 First instrument KN
WebGPU draws or computes via a pipeline that chains shaders to GPU resources through bind groups
Concept L2 First instrument GK
WGSL declares data with var (mutable storage), let (immutable value), and const (compile-time constant)
Concept L2 First instrument GK
A biodata module turns any biological signal into Eurorack CV, gates, and audio, making living organisms into performers
Concept L3 Craft EK
A ComfyUI custom node is a Python class with INPUT_TYPES, RETURN_TYPES, FUNCTION, and CATEGORY
Procedure L3 Craft K
A DDSP ProcessorGroup chains processors as a DAG, configurable via gin without Python code changes
Concept L3 Craft KB
A deep source separation model can be wrapped in nn~ to split live audio into stems in real time
Concept L3 Craft KC
A GrooveTransformer ML model can predict a full drum pattern from a sparse hit/velocity/offset input vector
Concept L3 Craft KF
A screen region or webcam feed can be the continuous image source for real-time img2img diffusion
Concept L3 Craft KI
A single modulated delay line produces chorus, flanger, and vibrato depending on its delay-time settings
Concept L3 Craft BK
A warmup phase fills the pipeline's latent buffer and JIT-compiles kernels before timing starts
Concept L3 Craft K
An autoencoder compresses input to a latent code whose interpolations generate smooth variations
Concept L3 Craft K
Angular cumsum avoids phase drift in long synthesis by chunking cumulative sums and resetting with modular arithmetic
Concept L3 Craft KB
Any PyTorch model can become a nn~ object by subclassing nn_tilde.Module and registering methods and attributes
Procedure L3 Craft KN
Arithmetic on a GAN's latent vectors edits generated images semantically
Concept L3 Craft K
Averaging predictions over multiple time-shifted inputs (the shift trick) improves separation quality
Concept L3 Craft K
Classifier-free guidance combines conditional and unconditional model outputs at inference to steer generation without a separate classifier
Concept L3 Craft K
Classifier-guided diffusion steers generation by adding classifier-score gradients to the noise prediction
Concept L3 Craft K
ComfyUI's HTTP API accepts workflows as JSON with nodes keyed by numeric IDs and links as [node_id, slot_index] arrays
Procedure L3 Craft K
Compiling UNet and VAE to TensorRT engines delivers the largest throughput gain in StreamDiffusion
Concept L3 Craft K
ControlNet adds spatial conditioning to a frozen diffusion U-Net via a trainable copy connected with zero-convolution layers
Concept L3 Craft K
DDIM makes diffusion sampling deterministic by setting the stochasticity parameter eta to zero, enabling far fewer steps
Concept L3 Craft K
DDPM keeps the reverse-process variance fixed and only learns the mean, simplifying the training target
Concept L3 Craft K
DDPM ResNet blocks inject the timestep embedding via scale-and-shift (FiLM-style) conditioning
Procedure L3 Craft K
DDPM's training objective is to predict the noise added to an image rather than the original image directly
Principle L3 Craft K
DDSP timbre transfer re-synthesizes audio from one instrument using a model trained on a different instrument
Concept L3 Craft KB
DDSP's frequency_filter designs FIR filters from frequency-domain magnitude curves using IRFFT and windowing
Concept L3 Craft KB
DDSP's RnnFcDecoder runs independent FC stacks per conditioning input, concatenates, then runs an RNN
Concept L3 Craft KB
DDSP's Wavetable synthesizer reads a learned single-cycle waveform at a time-varying phase
Concept L3 Craft KB
Deforum's 3D FOV scales how fast translation_z moves the canvas, with defined edge cases at 0, 180 and negative values
Concept L3 Craft K
Deforum's anti-blur applies an unsharp mask to counteract the progressive blurring that builds during long animations
Procedure L3 Craft K
Deforum's Perlin noise injection adds organic, spatially coherent variation to frames rather than uniform random noise
Concept L3 Craft K
Demucs exposes a Python API for integrating stem separation into scripts and pipelines
Procedure L3 Craft K
Demucs uses a weighted ensemble (BagOfModels) of individually trained checkpoints for best performance
Concept L3 Craft K
Demucs' internal separation output is a 4-D tensor shaped [batch, sources, channels, time]
Fact L3 Craft K
Diffusion models are attractive because they are simultaneously analytically tractable and flexible
Principle L3 Craft K
Diffusion models learn to reverse a Markov chain that progressively corrupts data with Gaussian noise
Concept L3 Craft K
Diffusion models trade sampling speed for stable training and broad mode coverage relative to GANs and VAEs
Concept L3 Craft K
Exponential Moving Average of weights produces smoother RAVE models by averaging checkpoints over time
Concept L3 Craft K
Extending stem separation to guitar and piano is harder than the standard four-stem split
Fact L3 Craft K
Feature matching loss in RAVE aligns intermediate discriminator activations between real and generated audio
Concept L3 Craft K
Frequencies softmax maps network logits to Hz by weighting a log-spaced frequency grid
Concept L3 Craft KB
Fusing LCM-LoRA into an SD model enables 2–4 step diffusion inference without retraining the base model
Concept L3 Craft K
Gin's @gin.register limits side-effects by only injecting defaults when a function is used as an argument
Concept L3 Craft K
Group normalization divides channels into groups and normalizes within each group, working well with small batch sizes unlike batch normalization
Concept L3 Craft K
Hybrid source separation processes audio in both waveform and spectrogram domains simultaneously
Concept L3 Craft K
img2img and txt2img mode in StreamDiffusion differ in their latent initialization and CFG constraints
Concept L3 Craft K
in_ratio and out_ratio in nn~ method registration define the temporal compression between audio and model outputs
Concept L3 Craft KN
Key DDPM follow-up works include improved variance learning, cascaded generation, classifier guidance, and classifier-free guidance
Fact L3 Craft K
Linear attention scales O(n) in sequence length — making it practical for image feature maps without the O(n^2) cost of full attention
Concept L3 Craft K
Manipulating individual latent dimensions of a RAVE model morphs continuously between audio-effect and synthesizer behavior
Concept L3 Craft KB
mc.nn~ processes multiple audio channels through one RAVE model instance to cut CPU and RAM
Fact L3 Craft KN
mc.nn~ runs several audio streams through one model as a batch, saving CPU and RAM versus duplicating nn~
Concept L3 Craft KN
mcs.nn~ packs all of one instance's inlets/outlets into a single multi-channel connection, enabling per-batch latent operations
Concept L3 Craft KN
Multi-scale SpectralLoss compares audio at multiple FFT sizes to balance time and frequency resolution
Concept L3 Craft KB
Multiple LoRA weights can be loaded and fused into StreamDiffusion before inference for style mixing
Procedure L3 Craft K
MUSDB-HQ is the standard benchmark dataset for music source separation research
Fact L3 Craft K
nn~ can output audio-analysis features as control-rate signals by using a large out_ratio
Concept L3 Craft KJ
nn~ is a Max/PureData external that bridges trained neural audio models (RAVE, vschaos2) into a patching environment
Procedure L3 Craft KN
nn~'s void/lazy mode lets you fix inlet/outlet count before attaching a model
Concept L3 Craft KN
Pre-computing KV-cache for the text prompt eliminates repeated text-encoder work across frames
Concept L3 Craft K
Quantization maps high-precision weights to lower-precision formats using a scaling factor to preserve dynamic range
Concept L3 Craft K
Raising RAVE's discriminator update period fixes phase-2 instability when the discriminator is too strong
Procedure L3 Craft K
RAVE architecture configs trade reconstruction quality, GPU memory, and control modality
Concept L3 Craft K
RAVE can be exported to ONNX format for deployment in environments that do not support TorchScript
Fact L3 Craft KN
RAVE ramps the KL regularization weight over a warmup schedule to avoid posterior collapse
Concept L3 Craft K
RAVE trains in two sequential phases: reconstruction first, adversarial refinement second
Concept L3 Craft K
RAVE uses Pseudo Quadrature Mirror Filters to split audio into sub-bands before encoding
Concept L3 Craft KB
RAVE v3 uses Adaptive Instance Normalization to transfer timbre from one audio stream to another
Concept L3 Craft KB
RAVE's causal convolution mode lowers latency at the cost of quality by removing future context
Concept L3 Craft KB
RAVE's discrete mode quantizes latent vectors using Residual Vector Quantization
Concept L3 Craft K
RAVE's exported latent size is chosen by a fidelity threshold on the PCA explained-variance curve
Concept L3 Craft K
RAVE's phase 1 length is a fixed step count, not a quality-based stopping criterion
Concept L3 Craft K
RAVE's temporal receptive field sets the minimum audio context and chunk length it can process
Concept L3 Craft KB
RAVE's variational encoder reparametrizes latent samples using the mean and log-variance trick
Concept L3 Craft K
Replacing the standard VAE with TinyVAE (TAESD) reduces encode/decode latency at small quality cost
Concept L3 Craft K
Residual CFG approximates classifier-free guidance at near-zero extra cost by recycling a stored noise residual
Concept L3 Craft K
SDR (signal-to-distortion ratio) is the standard metric for evaluating stem separation quality
Concept L3 Craft K
Separating image generation and display into different OS processes prevents Python's GIL from throttling GPU throughput
Concept L3 Craft K
Splitting RAVE encode and decode in nn~ lets performers process individual latent dimensions live
Procedure L3 Craft KM
Stable-Fast compiles the full diffusion pipeline with Triton + CUDA graphs for an intermediate speed tier
Concept L3 Craft K
StreamDiffusion achieves 106 fps txt2img and 93 fps img2img on RTX 4090 with SD-Turbo plus TensorRT
Fact L3 Craft K
StreamDiffusion achieves real-time AI image generation by batching denoising steps and skipping redundant frames
Concept L3 Craft K
StreamDiffusion can process offline video frame-by-frame with img2img to produce a stylised output video
Procedure L3 Craft KI
StreamDiffusion requires CUDA GPU, Python 3.10, PyTorch 2.1, and optional TensorRT for optimal performance
Procedure L3 Craft K
StreamDiffusion's IO queues decouple the input capture rate from the diffusion throughput via multiprocessing
Concept L3 Craft K
StreamDiffusion's stream batch runs multiple denoising steps in parallel to sustain real-time frame rates
Concept L3 Craft K
StreamDiffusionWrapper provides a high-level production interface; the raw StreamDiffusion class gives full control
Concept L3 Craft K
t-SNE embeds high-dimensional feature vectors in 2D so perceptually similar items cluster together
Concept L3 Craft KJ
TAESD provides fast high-quality latent previews without running the full VAE
Concept L3 Craft K
Text conditioning is injected into the UNet by attention layers placed between ResNet blocks
Concept L3 Craft K
The 'nice property' lets you sample any diffusion timestep directly from the original image without iterating the forward process
Concept L3 Craft K
The DDPM ELBO decomposes into per-timestep KL divergences between Gaussians, each computable as an L2 loss
Principle L3 Craft K
The DDPM U-Net assembles encoder, bottleneck, and decoder stages using ModuleList, with skip connections via concatenation
Procedure L3 Craft K
The DDSP autoencoder encodes loudness and f0 plus a learned latent z, then decodes to synthesizer parameters
Concept L3 Craft KB
The denoising U-Net uses sinusoidal position embeddings to communicate the current noise level (timestep) to every layer
Concept L3 Craft K
The forward diffusion process adds scheduled Gaussian noise over T steps until the signal becomes isotropic noise
Concept L3 Craft K
The forward method runs a neural model as an audio effect: audio in, neural-transformed audio out
Procedure L3 Craft KB
The reverse diffusion process is a neural network that approximates the intractable denoising posterior at each timestep
Concept L3 Craft K
The Stochastic Similarity Filter skips GPU work probabilistically when consecutive frames are nearly identical
Concept L3 Craft K
The StreamDiffusionTD operator wraps StreamDiffusion as a TouchDesigner node for diffusion-based real-time visuals inside a TD network
Procedure L3 Craft KI
The t_index_list selects which diffusion timesteps to apply, controlling quality–speed trade-off
Concept L3 Craft K
TouchDesigner can host real-time AI/ML pipelines for generation, tracking, and stylisation in a live AV rig
Concept L3 Craft KI
U-Net's symmetric downsampling-upsampling structure with skip connections makes it a standard diffusion backbone
Concept L3 Craft K
unCLIP generates images by mapping text to a CLIP image embedding, then decoding that embedding to pixels with diffusion
Concept L3 Craft K
WebGPU compute threads are grouped into workgroups and addressed by a global invocation id
Concept L3 Craft GK
xformers memory-efficient attention reduces VRAM usage in diffusion UNets at modest speed cost
Concept L3 Craft K
A cosine noise schedule gives gentler early-stage transitions than the linear schedule, improving likelihood
Fact L4 Performance K
A Markov chain trained on pitch and rhythm sequences generates new music with the same statistical patterns
Concept L4 Performance FK
A RAVE prior is a model trained on latent sequences that enables generation without audio input
Concept L4 Performance K
BPM- and pitch-aligned stem cross-mixing creates more realistic training data than random remixing
Concept L4 Performance K
Bridging a genetic-algorithm simulator to TouchDesigner via Python enables real-time visualisation of evolutionary computation
Procedure L4 Performance IK
Cascaded diffusion chains models at increasing resolutions, using noise-conditioning augmentation between stages
Concept L4 Performance K
Consistency models map any point on a diffusion trajectory directly to the trajectory origin, enabling single-step generation
Concept L4 Performance K
Custom separation model bags let you combine multiple checkpoints with per-source weights
Procedure L4 Performance K
DDPM trains a network to predict the added noise epsilon rather than the clean sample or the reverse mean
Concept L4 Performance K
DDSP's inverse synthesis approach detects pitch without pitch labels by reconstructing synthetic audio
Concept L4 Performance KB
Diffusion Transformers replace the U-Net backbone with a Vision Transformer operating on patchified latents
Concept L4 Performance K
Dora manages ML experiment configurations via content-addressed signatures rather than manual naming
Concept L4 Performance K
Dropping per-timestep loss weights and training with uniform MSE on noise prediction improves DDPM in practice
Fact L4 Performance K
Every KL term in the diffusion VLB compares two Gaussians and is therefore analytically tractable
Fact L4 Performance K
Imagen conditions image generation on a frozen large language model, and scaling that encoder matters more than scaling the U-Net
Concept L4 Performance K
Learning the reverse-process variance as an interpolation between two fixed endpoints improves likelihood
Fact L4 Performance K
Live AV systems range from fully autonomous algorithmic performance to semi-autonomous systems guided from a higher level
Concept L4 Performance IHK
On-the-fly pitch and tempo shift augmentation improves separation model generalisation across musical keys and tempos
Concept L4 Performance K
Progressive distillation halves the required sampling steps by training a student to match two teacher steps in one
Concept L4 Performance K
Randomly remixing stems from different songs during training forces the model to learn true source priors
Concept L4 Performance K
Score-based models learn the gradient of the log data density and generate samples via Langevin dynamics
Concept L4 Performance K
Some live coding systems fold machine learning and machine listening into the performance, letting the coder train and steer models live
Concept L4 Performance FK
The diffusion training objective decomposes into per-timestep KL divergence terms plus a reconstruction term
Concept L4 Performance K
The reparameterization trick lets you sample a noisy x_t at any timestep t directly without simulating the full chain
Fact L4 Performance K