When a text-to-image diffusion model (a generator that learns to turn random noise into an image step by step) is fine-tuned on a handful of photos of one subject, say a particular dog, it faces a well-known trade-off. If it learns too much, it copies the reference photos, including the table, the lighting and the pose, and stops following prompts like "the dog on a beach". If it learns too little, it follows the prompt but the dog becomes a generic dog. Current fixes apply one uniform constraint to everything the model learned. They cap the size of the learned word vector, restrict the update to a smaller subspace, or scale the whole update down. Their own papers report that fidelity falls along with the overfitting. We propose to break the learned update into its individual components and score each one on two questions: how much it carries the subject's identity, and how much it hijacks the rest of the prompt. Components that are weak on identity and strong on interference are deleted. Strong identity components are kept even when they are large.
The design comes from semiconductor photocatalysis, and we use it only as a design heuristic. A staggered "Type-II" junction separates electrons from holes everywhere, but it pays for that by lowering the energy of both. A "Z-scheme" junction lets only the low-energy electrons and low-energy holes cancel at the interface, so the high-energy carriers on both sides survive (LaNiO3/g-C3N4 direct Z-scheme, Ye et al.; Spatial Charge Separation in Semiconductor Heterostructures). Personalization methods today work like Type-II junctions: they decouple subject from context uniformly and lose identity. We want the Z-scheme version, where only the weak, entangled components are cancelled. The claim to test is that this selective removal produces a fidelity–editability curve that strictly dominates uniform constraints at equal cost.
Core Claim
Take a standard low-rank adapter (LoRA, a small additive weight update $\Delta W$ trained on top of the frozen model). Decompose it per layer by singular value decomposition as $\Delta W = \sum_i \sigma_i u_i v_i^\top$, where $\sigma_i$ is the strength of component $i$ and $u_i, v_i$ are its output and input directions. For each component we estimate two first-order attributions:
$$I_i = \mathbb{E}\left[\,\left|\sigma_i \frac{\partial L_{\text{subj}}}{\partial \sigma_i}\right|\,\right], \qquad C_i = \mathbb{E}\left[\,\left|\sigma_i \frac{\partial D_{\text{ctx}}}{\partial \sigma_i}\right|\,\right].$$
The first expectation is taken over reference images and timesteps. The second is taken over a pool of held-out context prompts.
The two quantities are defined as follows. $L_{\text{subj}}$ is the denoising loss restricted to subject pixels, using segmentation masks of the kind MuDI uses for augmentation (Identity Decoupling for Multi-Subject Personalization). $D_{\text{ctx}}$ is the divergence between the cross-attention maps of the context tokens under the personalized model and under the base model. It directly measures the "attention hijack" that Directional Textual Inversion identifies as the mechanism of prompt disobedience.
A component is kept if $I_i / (C_i + \epsilon) > \tau$, where $\epsilon$ is a small constant. Sweeping the single threshold $\tau$ traces a fidelity–editability curve. The prediction is that this curve lies above the curves from uniform LoRA scaling, top-$k$ singular-value truncation, and norm clamping. It should sit highest in the regime where those methods lose the most identity.
Positioning Against Prior Work
The motivating evidence comes from methods that constrain uniformly and report a cost. DTI fixes the token norm on a hypersphere and acknowledges a slight drop in subject similarity relative to unconstrained Textual Inversion. PaRa subtracts a learned subspace from the base weights and concedes it mainly narrows existing knowledge rather than learning new concepts. TEA rescales and rotates the learned embedding toward its class anchor at test time, which is a global move with two hand-tuned knobs.
Our method differs from all three in where it acts. It operates per component of the update and decides by measured attribution, not by norm or rank alone.
The closest in spirit is ACCORD, which adds training losses penalizing statistical dependence between subject and context. ACCORD reshapes training. We leave training untouched and edit the finished update after training, which lets the method sit on top of any trained adapter, ACCORD's included. NeTI shows that concept representations specialize by timestep and layer. That result supplies a secondary variant in which attributions, and therefore pruning, are computed separately for early and late denoising steps.
DreamBench++ constrains our evaluation. It shows DINO and CLIP scores disagree with humans substantially on both concept preservation and prompt following, and that general methods struggle most with human faces. Its scores are therefore our primary metric, and faces are reported separately.
Research Program
We train LoRA DreamBooth adapters (DreamBooth) on Stable Diffusion 1.5 and SDXL, using default hyperparameters per subject. We then compute $I_i$ and $C_i$ with a few dozen backward passes:
- The identity term $I_i$ is computed on the reference images with SAM-style subject masks.
- The coupling term $C_i$ is computed on 50 automatically written context prompts that are disjoint from every evaluation prompt.
We then prune, with no retraining. The analysis has three parts:
- Check whether $I$ and $C$ are actually separable, meaning whether components exist with high identity and low coupling. If the two are strongly correlated, the premise fails.
- Check where the high-coupling components concentrate across layers and timesteps.
- Check whether a single $\tau$ transfers across subjects. This matters because TEA's main practical weakness is per-prompt tuning.
Baselines
The do-nothing reference is the unpruned LoRA DreamBooth adapter. It sets the high-fidelity, low-editability endpoint.
The naive one-knob competitor is uniform LoRA scaling, which multiplies $\Delta W$ by a constant in $[0,1]$ and is the direct Type-II analog. It costs nothing and traces its own curve, so beating it at matched DreamBench++ prompt-following is the minimum requirement.
The ablation that isolates our key ingredient is magnitude-only pruning: keep the top-$k$ singular components by $\sigma_i$, with the same compute and the same sweep. If attribution does not beat magnitude, the method has no reason to exist. A random-component pruning control at matched kept rank checks the opposite failure, that any pruning helps.
The strongest existing post-hoc competitor is TEA applied to the same adapter, with $\alpha$ and $\beta$ tuned on the same 50 held-out prompts we use for attribution. The cited TEA result is a CLIP-T gain of up to +1.87 on CustomConcept101 with DreamBooth (TEA). We will report CLIP-T on the same benchmark for direct comparison.
We also compare against PaRa (PaRa) and DTI (DTI) at their published settings, with the same training steps. The file gives no reported absolute DreamBench++ number for either, so no reported result was found on Lacuna for PaRa or DTI on DreamBench++. We run both ourselves. Their reported user-study figures are DTI's 66.77% versus 10.83% text-alignment preference over Textual Inversion and PaRa's over 90% preference over LoRA. Those comparisons are against weaker references, and we treat them as context only.
ACCORD serves both as a competitor and as a host: we prune an ACCORD-trained adapter to test whether the gains stack. For the fidelity anchor on DreamBench, the cited figure is DreamBooth's DINO of 0.668 (DreamBooth).
Beating a baseline means two things:
- Curve dominance: at every matched DreamBench++ prompt-following score, our method has higher concept preservation, with confidence intervals over subjects.
- Area: larger area under the fidelity–editability curve.
Why not just…?
Why not just scale the whole LoRA down? Scaling down is the cheapest baseline, and if pruning merely approximates it the method is worthless. Uniform scaling shrinks identity components and coupling components at the same rate. That is exactly the cost DTI and PaRa report for their uniform constraints. The uniform-scaling and magnitude-truncation curves settle this question directly. If they overlap our curve, we abandon the attribution step.
Why not just train with a subject-masked loss so the background is never learned? This is a real threat, because masking removes table-and-wall copying at the source. Masking cannot remove couplings that live on the subject's own pixels: the reference lighting, the reference pose, and a token whose oversized response overrides other prompt words. DTI shows the last of these occurs even without any background. We therefore run masked-loss training both as a baseline and as a host for pruning. If pruning adds nothing on top of masked training, we report that the gains came from background removal alone, and the contribution narrows accordingly.
Why not just use TEA at test time? TEA is training-free, like our method. It acts on the token embedding globally and needs $\alpha$ and $\beta$ tuned per prompt. A fixed-$\tau$ transfer test against TEA, with both methods given the same held-out tuning prompts, shows whether per-component selection removes that tuning burden.
Why not just use hard spatial attention masks? IdGlow reports that rigid masks fail when subject and context must interact. MuDI reports boundary artifacts from Cut-Mix-style layouts. We include interaction prompts, such as "the dog holding a ball", as a stratified subset of the evaluation.
Proposed Experiments
The primary evaluation is DreamBench++ (150 subjects and 1,350 prompts across animals, humans, objects and styles), scored by its GPT-4o judge. We also report DINO, CLIP-I and CLIP-T on DreamBench and CustomConcept101 for continuity with prior numbers, and show the human-face slice separately.
Three checks decide the outcome:
- Dominance. Our curve must dominate magnitude-only and uniform-scaling curves on DreamBench++ concept preservation versus prompt following, with the largest margin on faces. A null result here ends the project.
- Separability. The correlation between $I_i$ and $C_i$ across components should be clearly below one. This confirms the Z-scheme premise that weak, entangled components exist apart from strong identity ones.
- Transfer and extension.
- A single $\tau$ chosen on 20 subjects should retain its advantage over TEA on the remaining subjects without retuning.
- In a multi-subject extension on MuDI's similar-pairs benchmark, we add a cross-subject coupling term to $C_i$ and measure Detect-and-Compare success. MuDI reports roughly twice the success rate of prior methods, and we test whether pruning applied to MuDI-trained adapters improves on MuDI itself.
References
- The high photocatalytic efficiency and stability of LaNiO3/g-C3N4 heterojunction nanocomposites for photocatalytic water splitting to hydrogen
- Identity Decoupling for Multi-Subject Personalization of Text-to-Image Models
- Directional Textual Inversion for Personalized Text-to-Image Generation
- PaRa: Personalizing Text-to-Image Diffusion via Parameter Rank Reduction
- Mitigating Semantic Collapse in Generative Personalization with Test-Time Embedding Adjustment
- ACCORD: Alleviating Concept Coupling through Dependence Regularization for Text-to-Image Diffusion Personalization
- A Neural Space-Time Representation for Text-to-Image Personalization
- DreamBench++: A Human-Aligned Benchmark for Personalized Image Generation
- DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation
- IdGlow: Dynamic Identity Modulation for Multi-Subject Generation