TC-LoRA: Temporally Modulated Conditional LoRA for Adaptive Diffusion Control

Minkyoung Cho, Ruben Ohana, Christian Jacobsen, Adityan Jothi, Min-Hung Chen, Z. Morley Mao, Ethem Can

TL;DR

TC-LoRA introduces a dynamic paradigm for controllable diffusion models by modulating network weights directly instead of modifying intermediate activations. By using a hypernetwork to generate time- and context-dependent LoRA adapters on-the-fly, it allows the model to adaptively change its conditioning strategy throughout the denoising process, achieving superior spatial control and image fidelity with significantly fewer parameters than traditional methods like ControlNet.

What Problem Does This Paper Address?

Current controllable diffusion models (such as ControlNet) typically rely on static, activation-based conditioning. They inject spatial guidance—like depth maps or edge sketches—by adding features to the intermediate activations of a fixed backbone network.

However, the image generation process in diffusion models is highly dynamic and multi-staged. Early stages focus on establishing global layout and coarse structures, while later stages refine fine-grained details and textures. Applying the same static conditioning operation across the entire denoising process is suboptimal. Furthermore, the authors mathematically demonstrate that simply adding to a network's activations is not functionally equivalent to modifying its weights, which inherently limits the expressiveness of activation-based control.

Methods

To enable deeper functional adaptation, the authors propose TC-LoRA (Temporally Modulated Conditional LoRA). Instead of treating the timestep and conditioning signals merely as inputs to a static function, TC-LoRA turns the model weights themselves into dynamic functions of time and context.

Figure 1: The TC-LoRA framework for dynamic, context-aware conditional control. (a) Our method is formulated within a standard conditional diffusion framework, in which a text prompt together with an input condition (e.g., a depth map or an edge sketch) guides the generation process from an initial noise image. (b) We introduce a dynamic weight conditioning mechanism where a hypernetwork—the only trainable component—generates the LoRA adapter weights (B or A) on-the-fly. This dynamic weight update is then used to modify the behavior of the frozen pretrained weights (W0) of the base model, allowing for a state-aware adaptation at each step.

The core components of the method include:

  • Dynamic LoRA Generation: A single, parameter-efficient hypernetwork ($H_\phi$) generates low-rank adaptation matrices ($A$ and $B$) on-the-fly for targeted linear projection layers in all self-attention and cross-attention blocks.
  • Context-Aware Conditioning: The hypernetwork is fed a fused context vector containing four types of information: the diffusion timestep, the user's input spatial condition (processed via a pre-trained autoencoder and a 3-layer MLP), the target layer's identity (depth index), and the layer type.
  • Multi-Scale Hypernetwork Architecture: The hypernetwork utilizes multi-scale residual blocks and multi-range skip connections to effectively combine low- and high-level contextual information.
  • Zero-Initialization for Stability: To ensure training stability, the final layer of the hypernetwork generating the $B$ matrix is explicitly zero-initialized. This guarantees that the adaptation has no initial effect at the start of training, perfectly mirroring standard LoRA initialization.
Detailed architecture of the hypernetwork design.

Datasets

  • Training: The TC-LoRA adapters were trained exclusively on the MS-COCO dataset (120k images of natural and urban scenes).
  • Evaluation Benchmarks: To test out-of-distribution generalization, the authors evaluated the model on two distinct benchmarks without any fine-tuning:
  • OpenImages Benchmark: A custom-curated subset of 600 samples balanced across nature, urban, and indoor scenes.
  • TransferBench: A benchmark consisting of 600 examples distributed across three challenging domains: robotic arm operations (AgiBot World), driving (OpenDV), and everyday life scenes (Ego-Exo-4D).

Key Insights and Ideas

  • Weight vs. Activation Modulation: Modifying the processing function itself ($f_{\theta(t,y)}(x)$) is fundamentally more powerful than modulating inputs to a fixed function ($f_\theta(x, t, y)$). It allows the network to alter its computational mechanisms entirely depending on the generation stage.
  • Temporal Strategy Discovery: Because the hypernetwork dynamically responds to the timestep $t$, the model naturally learns an explicit, adaptive strategy—shifting from structural alignment early on to detail refinement later.
  • Extreme Parameter Efficiency: Instead of duplicating large blocks of the diffusion model (which requires massive parameter overhead), sharing a single hypernetwork across all layers introduces only 251M trainable parameters compared to the 900M parameters typically seen in competitive baselines.

Key Results

The authors evaluated TC-LoRA on depth-conditioned image generation using Cosmos-Predict1 as the base model and compared it against Cosmos-Transfer1 (a ControlNet-style activation baseline).

  • Quantitative Performance: TC-LoRA demonstrated superior adherence to spatial conditions across both benchmarks using scale-invariant MSE (si-MSE) and Normalized MSE (NMSE):
  • OpenImages: TC-LoRA significantly reduced structural errors, dropping the si-MSE from 1.5633 (baseline) to 1.0557.
  • TransferBench: TC-LoRA reduced NMSE by 11.7% (0.5130 to 0.4529) and si-MSE by 3.4% (1.7080 to 1.6499).
  • Qualitative Performance: Visual analysis showed that TC-LoRA excels at preserving fine-grained details—such as exact animal poses and pedestrian silhouettes—where the static baseline frequently struggles or generates structurally different subjects.

Limitations and Future Work

The primary limitation of the current work is its focus on single-frame image generation. Extending TC-LoRA to text-to-video generation introduces the difficult challenge of maintaining temporal consistency across frames while strictly adhering to per-frame spatial constraints.

As a next step, the authors propose adapting the hypernetwork to ingest and process features from previous video frames. This would allow TC-LoRA to dynamically balance conditional accuracy with smooth temporal transitions, paving the way for more coherent video synthesis.

Summary updated

Abstract

Current controllable diffusion models typically rely on fixed architectures that modify intermediate activations to inject guidance conditioned on a new modality. This approach uses a static conditioning strategy for a dynamic, multi-stage denoising process, limiting the model's ability to adapt its response as the generation evolves from coarse structure to fine detail. We introduce TC-LoRA (Temporally Modulated Conditional LoRA), a new paradigm that enables dynamic, context-aware control by conditioning the model's weights directly. Our framework uses a hypernetwork to generate LoRA adapters on-the-fly, tailoring weight modifications for the frozen backbone at each diffusion step based on time and the user's condition. This mechanism enables the model to learn and execute an explicit, adaptive strategy for applying conditional guidance throughout the entire generation process. Through experiments on various data domains, we demonstrate that this dynamic, parametric control significantly enhances generative fidelity and adherence to spatial conditions compared to static, activation-based methods. TC-LoRA establishes an alternative approach in which the model's conditioning strategy is modified through a deeper functional adaptation of its weights, allowing control to align with the dynamic demands of the task and generative stage.
BibTeX
@misc{cho2025tc,
  author = {Minkyoung Cho and Ruben Ohana and Christian Jacobsen and Adityan Jothi and Min-Hung Chen and Z. Morley Mao and Ethem Can},
  title = {{TC-LoRA: Temporally Modulated Conditional LoRA for Adaptive Diffusion Control}},
  year = {2025},
  eprint = {2510.09561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.09561},
}
Figure