Search arXiv⌕ Search

arXiv subjects

Shimon Malnick

Publications and source records attributed to Shimon Malnick.

7 recordsLinked to original sources

PreFLOP: Fast, Faithful Image and Video Previews via Spectral Downsampling

Creating an image or video often means discovering, through successive iterations, how to express what one wants, and what one wants in the first place. Users revise the prompt, seed, or settings in response to what they see, but each revision requires another full generation to evaluate, making visual feedback expensive and the process slow. Our goal is to provide this feedback through a preview: an image or video that closely resembles the full output at a fraction of the generation cost. We present PreFLOP (Predictive Flow Previews), a training-free method that spectrally downsamples a full-resolution intermediate latent and completes the preview at lower resolution. It retains the low-frequency DCT coefficients and realigns the downsampled latent's noise level, while a schedule search determines when to downsample and how to allocate the remaining steps across lower resolutions. Experiments on FLUX.1-dev, SD3.5-Large, and Wan2.1 show that PreFLOP achieves higher fidelity to the full output than any tested baseline, a result supported by a human evaluation. Seed rankings computed on previews better match those on full outputs, under seven image scorers and six video measures. Fine-tuning a low-resolution LoRA further improves performance. Finally, we formulate spectral consistency, a key property for generation across resolutions, as three commutation conditions that can serve as training objectives.

cs.CV↗

Retrieval-Seeded Diffusion for Semantic Flow Models

Diffusion models are trained to map a source distribution (usually, a Gaussian) to a target distribution (say, of natural images). The Gaussian distribution is chosen because it is easy to sample from, and the diffusion process is often guided by a text prompt in order to achieve a specific outcome. A recent line of text-to-image models operates in semantic latent spaces rather than a pixel compression one, so that nearby latents share content rather than appearance, and it is these semantic models that we focus on. Often, the images we want belong to the domain of a specific dataset, such as photographs, anime or paintings, yet sampling still starts from the same Gaussian, which takes neither the prompt nor the dataset into account. We propose a method that generates images more similar to the dataset's domain, in fewer steps, by enhancing the Gaussian using the dataset, and call this approach Retrieval-Seeded Diffusion, or RSD. Specifically, we store a semantic latents dataset of captioned images. Given a new text prompt, we find its nearest neighbours in the text embedding space, use them to retrieve their semantic latent image representation counterparts, and use the mean of the semantic latent image vectors to guide the initial seed for the diffusion model. Relying on a dataset requires no training and a new dataset can always be introduced or updated. Experiments on three frozen semantic backbones, Scale-RAE, SVG-T2I and SeFi-Image, and three retrieved datasets, show that RSD lowers FID to the target dataset in eight of nine settings, by up to 57%, at 6.25x fewer sampling steps, with comparable prompt alignment.

cs.CV↗

SoftCache: Adaptive Step Size Caching for Diffusion Transformers

Diffusion and flow models generate a sample over iterative steps, each a full pass through a large network, and that pass dominates generation cost. Training-free caching accelerates them by reusing activations from recent evaluations instead of recomputing them. Dynamic caching methods decide when to refresh by accumulating a cheap probe of the network input into a staleness signal and spending a fresh evaluation once it crosses a threshold. They perform hard caching: the signal is a binary switch between refresh and reuse, and every step, fresh or cached, advances by the prescribed step size. We observe that the signal carries much more than this switch. How far it sits below the threshold, its headroom, predicts the error induced by reuse. We propose SoftCache, which performs soft caching: instead of a binary switch, the headroom sets how far each cached step goes. Where the headroom is large, the sampler jumps past several scheduled nodes, and as a refresh nears, its steps shrink back toward the original step. These adaptive jumps may land between the scheduled nodes, taking the sampler off its fixed grid. SoftCache requires no training and adds no per-backbone settings: on FLUX for images and on HunyuanVideo and Wan2.1 for video, at speedups from $3.5\times$ to $6.9\times$, it is ahead of every baseline on all four fidelity metrics.

cs.CV↗

Optimal Transport Flow Matching by Design

Flow matching models learn to transport samples from a simple prior distribution to a complex data distribution. When prior-data pairs are coupled via optimal transport (OT), the learned trajectories are straight and non-crossing, enabling fast, even single-step, generation. However, computing the OT coupling in high dimensions is intractable, and existing methods attempt to solve the OT problem, at the cost of persistent bias or significant overhead. Rather than solving for the OT coupling, we reformulate the problem. Once the prior is treated as a design choice rather than a fixed input, the OT coupling between prior and data is no longer unique. Many priors admit an OT-optimal identity coupling to the data, leaving us free to choose one that is also tractable to sample. We identify low-frequency projection of natural images as such a choice. The identity coupling between data and its low-frequency representation is empirically OT-optimal, the prior is structured enough to be sampled by a lightweight model at inference, and the remaining flow-matching task reduces to synthesizing high-frequency detail. Interpolating the prior with Gaussian noise further improves generation quality while preserving the OT coupling. The approach requires no modifications to the flow model itself, and integrates naturally with latent-space models, classifier-free guidance, and one-step generation frameworks. Across all benchmarks, our method reduces trajectory curvature by more than $2\times$ compared to existing flow matching methods, yielding better generation quality in the few-step regime.

cs.CV↗

Talking Points: Describing and Localizing Pixels

Vision-language models have achieved remarkable success in cross-modal understanding. Yet, these models remain limited to object-level or region-level grounding, lacking the capability for pixel-precise keypoint comprehension through natural language. We introduce a novel framework for pixel level grounding. The framework consists of two complementary components: a Point Descriptor that generates rich, contextual descriptions of individual keypoints, and a Point Localizer that regresses precise pixel coordinates from these descriptions. Unlike prior work that relies on templated prompts or keypoint names, our approach produces free-form, coarse-to-fine descriptions that situate keypoints within their visual context. Since there is no available dataset to train such a system, we introduce LlamaPointInPart, a carefully curated dataset of 20K+ image-keypoint-description triplets synthesized from multiple vision-language models, capturing multi-scale information from scene-level context to visual features around the keypoint. For cross-category generalization, we optimize the Point Descriptor on AP-10K via GRPO, using the frozen Point Localizer as a reward model to produce descriptions that maximize localization accuracy. To evaluate our results we establish a new evaluation protocol. Instead of comparing the text description produced by our method to the ground truth, we use the localizer to determine how close is the predicted point generated to the ground truth point. Experiments demonstrate superior performance compared to baseline models on LlamaPointInPart.The bidirectional nature of our framework should enable future applications in both keypoint-guided image understanding and language-guided precise localization. Our code and dataset are publicly available at https://github.com/matanr/Talking_Points.

cs.CV↗

Memories of Forgotten Concepts

Diffusion models dominate the space of text-to-image generation, yet they may produce undesirable outputs, including explicit content or private data. To mitigate this, concept ablation techniques have been explored to limit the generation of certain concepts. In this paper, we reveal that the erased concept information persists in the model and that erased concept images can be generated using the right latent. Utilizing inversion methods, we show that there exist latent seeds capable of generating high quality images of erased concepts. Moreover, we show that these latents have likelihoods that overlap with those of images outside the erased concept. We extend this to demonstrate that for every image from the erased concept set, we can generate many seeds that generate the erased concept. Given the vast space of latents capable of generating ablated concept images, our results suggest that fully erasing concept information may be intractable, highlighting possible vulnerabilities in current concept ablation techniques.

cs.CV↗

Taming Normalizing Flows

We propose an algorithm for taming Normalizing Flow models - changing the probability that the model will produce a specific image or image category. We focus on Normalizing Flows because they can calculate the exact generation probability likelihood for a given image. We demonstrate taming using models that generate human faces, a subdomain with many interesting privacy and bias considerations. Our method can be used in the context of privacy, e.g., removing a specific person from the output of a model, and also in the context of debiasing by forcing a model to output specific image categories according to a given target distribution. Taming is achieved with a fast fine-tuning process without retraining the model from scratch, achieving the goal in a matter of minutes. We evaluate our method qualitatively and quantitatively, showing that the generation quality remains intact, while the desired changes are applied.

cs.CV↗