diff --git a/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_content_list.json b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..3f6177bcc496493100988a7590a8317e9bee079e
--- /dev/null
+++ b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6b998ed3665d789ee74cc0ed2fbeaa519cb4779444c3275728e8cca90e26ecda
+size 71246
diff --git a/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_model.json b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..dc581cdb76e3a1c165bf45949b90450b43e139f2
--- /dev/null
+++ b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2fefa49aca517e2cef340c1590b59a4f0840c1c20f4109cadc5335c072b9e367
+size 86359
diff --git a/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_origin.pdf b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..1624b3376af88cf8540945f2334470d3489834cb
--- /dev/null
+++ b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/c2885eb1-351e-456d-a404-fbc497fbcfb8_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b0450767b14e2c39b841ece0038f1438143044aee8f9f0b3f37b927bd737431c
+size 7731358
diff --git a/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/full.md b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..70277a69b572a0204eee805b0a90c948ddd49f26
--- /dev/null
+++ b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/full.md
@@ -0,0 +1,315 @@
+# ConMo: Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer
+
+Zijin Yin $^{2}$ Changcheng Hua $^{1}$ Yuxin Peng $^{1}$ Kongming Liang $^{2}$ Zhanyu Ma $^{2}$ Jun Guo $^{2}$ Yang Liu $^{1*}$
+
+$^{1}$ Wangxuan Institute of Computer Technology, Peking University
+
+$^{2}$ Beijing University of Posts and Telecommunications
+
+hcc@stu.pku.edu.cn {pengyuxin, yangliu}@pku.edu.cn
+
+{gaojiayi, yinzijin2017, liangkongming, mazhanyu, guojun}@bupt.edu.cn
+
+
+
+
+Input
+
+
+
+
+
+
+Input
+
+
+
+
+(a) Multi-motion transfer
+
+
+
+
+
+
+(b) Semantic change
+
+
+
+
+
+
+
+
+(c) Size editing
+
+
+
+
+(d) Position editing
+
+
+
+
+
+
+Figure 1. We propose ConMo to achieve various motion transfer applications: (a) multi-subjects motion transfer, (b) subject semantic/category change, (c) subject size editing, (d) subject position editing, (e) object remove and (f) camera motion simulation.(Green text indicates major changes.)
+
+
+(e) Object remove
+
+
+
+
+(f) Camera motion simulation
+
+
+
+
+
+# Abstract
+
+The development of Text-to-Video (T2V) generation has made motion transfer possible, enabling the control of video
+
+motion based on existing footage. However, current methods have two limitations: 1) struggle to handle multi-subjects videos, failing to transfer specific subject motion; 2) struggle to preserve the diversity and accuracy of motion as transferring to subjects with varying shapes. To overcome these, we introduce ConMo, a zero-shot framework that disentangle and recompose the motions of subjects and camera movements. ConMo isolates individual
+
+subject and background motion cues from complex trajectories in source videos using only subject masks, and reassembles them for target video generation. This approach enables more accurate motion control across diverse subjects and improves performance in multi-subject scenarios. Additionally, we propose soft guidance in the recomposition stage which controls the retention of original motion to adjust shape constraints, aiding subject shape adaptation and semantic transformation. Unlike previous methods, ConMo unlocks a wide range of applications, including subject size and position editing, subject removal, semantic modifications, and camera motion simulation. Extensive experiments demonstrate that ConMo significantly outperforms state-of-the-art methods in motion fidelity and semantic consistency. The code is available at https://github.com/Andyplus1/ConMo.
+
+# 1. Introduction
+
+Text-to-Video (T2V) generation [14, 15, 32] has advanced significantly with the evolution of video diffusion models [1, 7]. However, due to the inherent complexity of motion, current models struggle to control object dynamics and movement effectively. Thus, zero-shot motion transfer is proposed. Given a video description and a reference video, it aims to generate a video matching the description while preserving the reference video's motion patterns.
+
+Previous methods [13, 16, 19, 27, 30] often employ dense depth maps or sketches from reference videos to replicate specific motions. However, these motion cues are highly entangled to structural elements such as object shapes and scene layouts. To overcome this, recent approaches capture unstructured motion cues by aligning temporal attention maps [12, 16] or modeling per-frame differences [34] to guide the denoising process of target videos. Despite substantial progress, they still face two issues: (1) They produce suboptimal results in complex videos with multiple subjects motions. (2) When the generated subject differs from the original subject shape (especially with drastic difference), adapting the motion is challenging. This is due to their use of a holistic motion representation from the reference video, which entangles compound motions from different subjects and the camera. In addition, the intensity of the original subject's motion in coupled motion guidance is uncontrollable in current approaches, leaving little flexibility for pretrained diffusion models to synthesize smooth transitions, particularly when the shape needs to change in accordance with the semantic content.
+
+To tackle this issue, we introduce ConMo, a novel zero-shot framework to controllably transfer motions. Our key idea is to first disentangle compound motions in the reference video into individual subject and background motions, and then controllably recompose them during tar
+
+get video generation. Specifically, subject masks are first applied to calculate local space-time intermediate feature differences during inversion of the reference video. These differences serve as distinct motion cues specific to each subject. In addition, experiments proved that solely employing features derived using background mask can approximate camera movement trajectories [3, 10], as shown in Figure 1(f), enabling more flexible and boarder applications. Enlightened by this, we propose a soft guidance strategy that allows greater flexibility to alter subject category and shape. Specifically, by leveraging background motion to weight subject motion, we find that the resulting diluted subject motion offers greater flexibility for shape changes (as shown in Figure 1(b), to maintain the same "right-to-left" motion, a "dog" would require an additional action like "run" compared to a "car"). Its effectiveness may stem from the introduced background motion that initially exits in the subject motion, which can reduce the shape-related constraint in the original object motion while maintaining overall motion harmony.
+
+Our ConMo can better handle complex motions patterns from multiple subjects by disentanglement and decomposition. By simply controlling the intensity of subject and background motion guidance through soft guidance, we achieve more adaptable subject alterations. Moreover, the decomposition strategy enables significant changes in the shape, position, and semantics of the subjects, as shown in Figure 1(a-d). And we can also replace subject-specific motion cues with background one to remove subjects and simulate camera movement, as shown in Figure 1(e-f). Our contributions are as follows:
+
+- We propose ConMo, a zero-shot framework for controllable motion transfer. Our method begins by disentangling compound motion into distinct subject and camera motions, which are then recomposed during target video generation.
+- We propose a soft guidance strategy to help recomposing more flexible motion dynamics. We first achieved fine-grained control over subject presence, size, position, and motion intensity.
+- Extensive experiments demonstrate that ConMo achieves effective motion disentanglement and compositionality, outperforming previous methods in complex videos.
+
+# 2. Related Works
+
+Video Motion Control. Extensive efforts have been made to customize generated video motions to align with user-provided text and other inputs [2, 4, 6, 8, 9, 16, 24, 28, 29, 35, 36, 38]. DragNUWA [36] presents a video generation technique that leverages text prompts, an initial image, and designated point trajectories. MotionCtrl [29] facilitates precise control over camera poses and object motion, allowing for fine-grained motion manipulation. These ap
+
+proaches generally rely on training-based frameworks, demanding substantial training resources and often requiring additional modules to ensure that the generated videos conform to the specified conditions. Our method requires no additional training and utilizes easily obtainable masks as guidance. By disentangling video motion into subject and camera motions, it enables more precise motion control.
+
+Zero-Shot Text-Driven Motion Transfer. Text-driven motion transfer aim to generate a video that replicates the motion patterns from a reference video while enabling the generation of the target subject and scene through a text prompt. With the advancements of Video Diffusion Models[5, 17, 18, 25, 37] in video generation, current methods are capable of customizing these models to generate videos with tailored motions. Diffusion-Motion-Transfer (DMT) [34] extracts global feature differences to model motion cues, VMC [12] applies motion distillation in temporal attentions within a cascaded video diffusion. However, these methods are designed to model overall motion, cannot handle motion transfer for videos with multiple subjects exhibiting individual motions. MotionClone [16] employs sparse temporal attention weights as motion representations for motion guidance, Control-A-Video (CAV) [2] uses control signals and a conditioning method based on the first frame. It extracts condition signals like sketches based on the input video and the structure of the generated video strictly follows the condition. They both remain restricted to motion transfer scenarios with limited shape transformation and struggle to handle complex movements. In contrast, our method is the first to extend motion transfer to the domain of multi-subject motion and introduces a strategy to decouple the motions of multiple subjects, while also supporting a broader range of shape transformations
+
+# 3. Method
+
+# 3.1. Preliminary
+
+Video Diffusion Sampling. Video Diffusion Models extend Latent Diffusion Models [23] by introducing temporal convolutions and cross-frame attention layers to model spatiotemporal dependencies, followed by video dataset finetuning for temporal consistency. Given an input sequence $V = \{x_0^1, x_0^2, \ldots, x_0^n\}$ , each frame $x_0^i$ is first encoded into a latent representation $z_0^i$ . During the diffusion process, gaussian noise is progressively injected into $z_0^i$ over timestep $t$ , yielding noised latents $z_t^i$ . The model then iteratively denoises $z_t^i$ by predicting the noise component conditioned on temporal context, thereby reconstructing coherent video sequences through joint spatial-temporal learning.
+
+# 3.2. Overall framework
+
+As shown in Figure 2, ConMo operates in two stages: Reference Video's Motion Disentanglement and Motion Recom-
+
+position for Target Video Generation. In the first stage, we disentangle subject-specific motions and camera motion from the reference video by extracting inverted latent features in pair-frame-wise dynamic regions associated with each subject via their corresponding masks. Then, it computes the difference of Local Spatial Marginal Means based on these features to represent independent motions for different subjects. In the second stage, the target videos are generated by recomposing the motions using the Motion Guidance function. It ensures target subjects' motion consistent with the reference subjects and adaptively handles different shape variations with Soft Guidance.
+
+# 3.3. Motion Disentanglement
+
+To achieve individual motion controls, we first disentangle the global motion cues of frame sequences into background motion and individual subject motions during reference video inversion process, as shown in Figure 2 (a). Unlike existing work [34] that only captures holistic motion cues by calculating mean differences of global features between frames, we identify locations of each subjects within video frames and compute local space-time features to model individual motion cues of separate subjects.
+
+Concretely, given the reference video $V$ , we obtain the trajectory for a certain $k^{th}$ subject $s_k$ with mask $M_{s_k}$ using SAM2 [22]. To acquire the local feature to model motion cue of $s_k$ , for any two frames $i$ and $j$ , such feature can be coarsely represented according to its changing region $M_{s_k}^i \cup M_{s_k}^j$ with Local Spatial Marginal Mean (LSMM):
+
+$$
+\phi \left(s _ {k}, i, j, t\right) = \frac {1}{\sum \left(M _ {s _ {k}} ^ {i} \cup M _ {s _ {k}} ^ {j}\right)} \sum f \left(z _ {t} ^ {i}\right) \cdot \left(M _ {s _ {k}} ^ {i} \cup M _ {s _ {k}} ^ {j}\right) \tag {1}
+$$
+
+where $f(\cdot)$ refers to extracting space-time features of $z_{t}^{i}$ from intermediate layers.
+
+However, we find when multiple subjects move, especially when their trajectories overlap, the aforementioned process will result in the motion of the subject $s_k$ to contain information from other subjects, making independent extraction impossible. To overcome this issue, we propose to exclude the intersectional area between the current subject $s_k$ and other subjects $s_m$ in addition to $s_k$ . Hence, the unique local motion region of $s_k$ across frames $i$ and $j$ is:
+
+$$
+M _ {s _ {k}} ^ {i | j} = M _ {s _ {k}} ^ {i} \backslash M _ {s _ {m}} ^ {j} \tag {2}
+$$
+
+where $\backslash$ indicates the Set Difference function and the refined local feature for $s_k$ can thus be represented as:
+
+$$
+\phi \left(s _ {k}, i, j, t\right) =
+$$
+
+$$
+\frac {1}{\sum \left(M _ {s _ {k}} ^ {i | j} \cup M _ {s _ {k}} ^ {j | i}\right)} \sum f \left(z _ {t} ^ {i}\right) \cdot \left(M _ {s _ {k}} ^ {i | j} \cup M _ {s _ {k}} ^ {j | i}\right) \tag {3}
+$$
+
+The refined local feature $\phi (s_k,i,j,t)$ in Eq.3 prevents interference from other subjects on the current motion cues,
+
+
+(a) Reference Video's Motion Disentanglement
+
+
+(b) Motion Decomposition for Target Video Generation
+Figure 2. Overview of ConMo. The method mainly consists of two stages: (a) Reference Video's Motion Disentanglement Stage: We first acquire the masks for each subject in the reference video using SAM2[22] and video latent features acquire during DDIM inversion[26]. Then, based on the mask, we identify the motion regions of each subject across different frames in the reference video. By calculating the difference of local spatial marginal means of latent features in these regions, we disentangle each subject's motion. (b) Motion Decomposition for Target Video Generation Stage: The extracted motion is integrated into the initial noise via the Motion Guidance function and Soft Guidance strategy. This allows generating target videos with consistent motion and adaptive shape handling. The method supports various video editing effects like semantic changes, object removal, position editing, and camera simulation.
+
+thereby providing more accurate space-time features for individual subjects compared to that in Eq.1. Furthermore, to obtain the isolated motion representation of $s_k$ between frames $i$ and $j$ , we compute the difference of local features of the same corresponding regions of the two frames:
+
+$$
+\Delta_ {s _ {k}} ^ {(i, j)} = \phi (s _ {k}, i, j, t) - \phi (s _ {k}, j, i, t) \tag {4}
+$$
+
+We also focus on the motions of background. Similar to previous procedures, the motion representations of background $c$ is denoted as $\phi (c,i,j,t)$ . Empirically, we find that solely using background motions to generate video, the result mainly involves camera-changes, as shown in Figure 9.
+
+In summary, we disentangle the independent motion of subjects and camera from the reference video and acquire their motion representation in this stage, which serves as the foundation for subsequent motion recomposition for target video generation and other applications.
+
+# 3.4. Motion Recomposition with Soft Guidance
+
+To recompose the individual motions to guide the generation of the target video. There are two requirements: 1. The subjects in the target video should follow the motion of the corresponding ones in the source video. 2. There should be more flexibility to handle more significant shape changes. Specifically, to ensure the target subjects preserving its corresponding reference motion, a guidance function is used to optimize latent features during the denoising process, for individual subject $s_k$ , the loss in each timestep $t$ is defined
+
+as:
+
+$$
+\mathcal {L} _ {s _ {k}} \left(f (z _ {t}), f (\tilde {z} _ {t})\right) = \sum_ {i} ^ {n} \sum_ {j} ^ {n} \left\| \Delta_ {s _ {k}} ^ {(i, j)} - \tilde {\Delta} _ {s _ {k}} ^ {(i, j)} \right\| _ {2} ^ {2} \tag {5}
+$$
+
+where $\tilde{z}_t$ and $z_t$ indicate latent variables from target denoising and reference video inversion process at the same timestep, respectively. (The frame indicator is omitted here for clarity.) And $\Delta$ and $\tilde{\Delta}$ are pair-frame-wise motion representations extracted from the reference video and target video, respectively, as calculated by Eq. 4. For other subjects and background motion, we perform the same calculations to achieve recomposition. This motion decomposition facilitates more accurate transition on complex motion videos with multiple subjects. It also makes it possible to add or remove a specified motion in reference videos, by simply adding or removing the corresponding guidance function. However, due to strong semantic and geometric priors in extracted motion features [12, 34], full-motion guidance without intensity control can limit flexibility in subject alterations, particularly for significant changes in semantics, shape, size or position. To address this, we propose a soft guidance scheme that blends subject motion with inherent camera trajectory control weights (as the subject moves within the camera view). This "dilution" reduces the semantic / shape constraints of the original motion, enhancing the flexibility of our method. Concretely, we compute the weighted arithmetic sum of the camera (background)
+
+motion and the subject motion as follows:
+
+$$
+\Delta_ {s _ {k} ^ {*}} ^ {(i, j)} = \frac {\Delta_ {s _ {k}} ^ {(i , j)} + w _ {c} * \Delta_ {c} ^ {(i , j)}}{w _ {c} + 1} \tag {6}
+$$
+
+where $w_{c}$ is a hyper-parameter to control the intensity of camera motion guidance. Larger $w_{c}$ values means weaker subject motion controls. Then we use new $\Delta_{s_1^*}^{(i,j)}$ to calculate energy function Eq.5 to guide motion generations. In this way, we achieve flexible motion controls to be more robust to shape and semantic changes.
+
+# 3.5. Applications
+
+With our proposed two strategies, ConMo enables a broader range of applications, as shown in Figure 1. Below, we provide implementation details for each application: (1) Alter subject semantic and shape: We can vary the degree of semantic and shape alterations for the subject by soft guidance (Eq.6) with different $w_{c}$ . (2) Control subject position and size: We can adjust the position or size of the original motion in the generated video by resizing or shifting the mask in the corresponding area of $\tilde{\Delta}_{s_k}^{(i,j)}$ . (3) Remove motion: we can replace $\Delta_{s_k}^{(i,j)}$ entirely with $\Delta_c^{(i,j)}$ to remove a specific motion. (4) Simulate camera viewpoint change: By using only background motion cues $\Delta_c^{(i,j)}$ in the Eq. 5, we can simulate overall camera trajectory shifts.
+
+# 4. Experiments
+
+To fairly evaluate our method especially in complex video motions, we specifically collected a set of videos from DAVIS [20], TGVE [31] and the Web. Our dataset consists of 26 videos and 56 edited text-video pairs. We ensure scenes and object categories diversity. More implementation details are provided in the supplementary material.
+
+# 4.1. Qualitative Evaluation
+
+We provide visual comparisons of our method against four comparison approaches in scenarios involving multiple subjects and shape adaptation.
+
+Multiple subjects motion transfer. As shown in Figure 3, DMT [34] can produce semantically accurate results, but when multiple motions are present, it fails to restore them individually (the generated drone has almost no motion). Moreover, it struggles to distinguish which subject is performing the action in cases with multiple separate, leading to mixed outputs (e.g. three teddy bears and three karts). MotionClone [16] lacks sufficient understanding of the text descriptions, resulting in outputs that do not align with the text in the three tested videos and appear disorganized. VMC [12] can coarsely preserve the motion of the original multi-subject video, such as overall motion trajectories, but there is still room for improvement in understanding fine-grained motion, such as the specific rotation
+
+changes of a drone, the orientation of a teddy bear during the driving process and the angles of the wheels during motion. CAV [2] heavily retains the outline of the original video, as seen in the drone result, which still resembles a helicopter's canny outline. Overall, our method generates videos that better meet the requirements of the text description while preserving the reference motions.
+
+Semantic and shape alteration. As shown in Figure 4, we further compare our method with the aforementioned evaluation methods, focusing on cases where there are significant shape changes in subjects before and after editing. It is evident that DMT [34], MotionClone [16] and CAV [2], while preserving motion, also retain much of the appearance information, resulting in an overall outline and size that remain very close to the original video. Although VMC [12] successfully achieves shape transformation, it still suffers from semantic inconsistencies. For example, the helicopter's orientation is incorrect, and a person appear when generating a canoe, possibly due to the structure of the boat's bow in the original video. In contrast, our method overcomes this limitation, successfully achieving motion replacement with significant shape changes while preserving the original motion.
+
+# 4.2.Quantitative Evaluation
+
+Following DMT [34], we evaluate our method using the following metrics: (1) Text Alignment (higher is better): We use CLIP [21] to assess the similarity between each frame and the target text, following earlier research (e.g. [11, 33]), and report the average score. (2) Motion fidelity (higher is better): We adopt Motion-Fidelity-Score proposed by [34], which assesses motion fidelity in videos by comparing the similarity of unaligned long trajectories.
+
+We additionally conducted a user study with 25 participants to evaluate the effectiveness of ConMo and all comparison methods. The study primarily assessed three aspects: the motion retention between the input video and the generated video, the motion quality of the generated video and the alignment between the target prompt and the generated video. The survey utilized a rating scale from 1 to 5. See the supplementary material for more details.
+
+Qualitative results are shown in the Table 1. Our method achieves better results compared to baseline methods by maintaining high fidelity to both the target prompt and the original motion. VMC [12] maintains high text alignment score but has poor understanding and transfer capabilities for motion details such as orientation and pose. MotionClone [16] performs excellently in motion fidelity score but has a low text alignment score. This is because it often tends to present a structure similar to the original video, leading to a mistaken evaluation of good motion preservation.
+
+
+Figure 3. Qualitative Evaluation of multiple subjects motion transfer. Our method achieves better results in term of text alignment and multi-subject motion fidelity.
+
+
+Figure 4. Qualitative evaluation of motion transfer with drastic semantic and shape alteration. Our method outperforms other methods when subject shape changes are notable.
+
+
+Figure 5. Controllable Motion Granularity. Comparison of motion transfer across vehicle types with varying shape alterations. As background motion weight increases, original shape details diminish and alignment with prompts improves.
+
+
+Figure 6. Reposition. By utilizing decoupled motion features, our method enhances the control of transferred motion positions, resulting in video outputs that more accurately align with the prompt's semantics (The flying helicopter should be in the sky).
+
+# 4.3. Ablation Study
+
+To validate the effectiveness of each module, we designed an experiment (as shown in Table 2). Compared to DMT's global guidance approach, our motion extraction method better preserves the original motion in the video. The application of Soft Guidance(SG) enhances the consistency between the generated video and the prompt, as it allows for greater shape transformation, making subjects better meet the prompt requirements. Additionally, we found it necessary to separate the movements of individual subjects with Eq.3. This approach not only enhances model's performance but also demonstrates through visualization experiments that the extraction method can more independently isolate specific subjects' motion features. As shown in
+
+
+Figure 7. Resize. Our method precisely controls the size of generated subjects in videos, ensuring alignment with geometrically related text semantics and enhancing common sense alignment (e.g., a dog transforming into a larger tiger).
+
+
+Figure 8. Subject Motion Extraction. The method effectively isolates the target subject's motion, ensuring independent transfer while excluding influences from other subjects.
+
+Figure 8, we use the single-subject motion extracted from multi-subject videos to guide video generation. Compared to the motion coarse extracted by Eq.1 (middle row), this method leaves residual motion from other subjects (such as the wheel on the right). The refined motion extraction by Eq.3 (bottom row) better preserves the independent motion, which lays the foundation for subsequent applications.
+
+# 4.4. Applications
+
+Alter subject semantic and shape. As shown in Figure 5, we constructed prompts based on three different target subjects, each varying in morphology from the original subject. Increasing the weight of background motion enhances the alignment of the generated subjects with the prompt (e.g., Motor bike), while the retention of the original shape decreases. We attribute this to the injection of camera motion, which causes the motion of the original subject's detailed structure to be gradually lost. (e.g., changes in the front
+
+
Methods
Text Alignment ↑
Motion Fidelity ↑
Motion Preservation ↑
Motion Quality ↑
Text Alignment ↑
Control-A-Video [2].
30.13
0.7661
3.43
2,38
1.42
VMC [12],
32.56
0.7979
2.45
2.33
4.23
MotionClone [16]
31.00
0.8876
4.20
3.40
3.01
DMT [34]
31.46
0.8815
4.20
3.70
4.10
ConMo
31.96
0.8931
4.40
4.11
4.30
+
+
+City nightscape
+
+
+Figure 9. Camera Motion Extraction. The technique preserves original camera motion in the generated videos.
+
+
+Beach
+
+
+
+Table 1. Quantitative evaluations results with existing SOTA methods. Evaluation results show ConMo considerably outperforms other methods in terms of motion fidelity, motion quality and text alignment, as demonstrated by automated metrics (left) and user studies(right).
+
+
Methods
Text Alignment ↑
Motion Fidelity ↑
DMT [34]
31.46
0.8675
+Eq.1
31.55
0.8813
+SG
31.89
0.8795
+Eq.3
31.96
0.8931
+
+Table 2. Ablation study. Our proposed refined motion disentanglement and soft guidance strategy enhance model's performance.
+
+of the vehicle). Consequently, the generated subjects are less constrained by this motion, allowing for more effective alignment with the prompts in the resulting videos.
+
+Edit subject position. The position control method based on disentangled motion features not only enhances the flexibility of the motion transfer process but also improves the alignment of the generated video's motion with the prompt. As shown in Figure 6, while the DMT method successfully transfers motion from a car to an airplane, the generated video shows the airplane taxiing rather than flying due to position constraints. In contrast, our position control method generates a video that accurately reflects the "fly" semantic, and the generated subject seamlessly integrates with the video context (e.g., the shadow in the video corresponds to the generated helicopter).
+
+Edit subject size. As shown in Figure 7, our method allows control over the size of specific subjects generated in videos, enabling better correspondence with geometrically related prompt semantics. More importantly, when
+
+transferring motion to a subject that differs significantly in size from the original, this technique can adjust the size of the generated subject based on the user-specified scaling ratios, ensuring the generated video aligns more closely with common sense (e.g., a dog becoming a tiger typically increases in size). This is particularly important in multi-subject videos, where other subjects serve as reference.
+
+Remove motion and Simulate camera change. Figures 8 and 9 demonstrate ConMo's ability to extract various types of motion from videos in a relatively independent manner. In Figure 8, the mask extraction method outlined in our Eq. 3 allows us to avoid including information from other subjects in the extracted motion. This enables the removal of a specific subject's motion from multi-subject videos, achieving an object removal effect. In Figure 9, the videos generated from the background motion extracted in single or multi-subject videos effectively preserve the camera viewpoint transformations of the original video, while maintaining a low structural similarity to it showing that the background-extracted motion can be approximated as camera motion cues.
+
+More experimental results for the aforementioned applications are provided in the supplementary material to further demonstrate our method's effectiveness.
+
+# 5. Conclusion
+
+In this paper, we propose ConMo, a novel approach to overcome the limitations of current text-to-video motion transfer methods through innovative motion disentanglement and recomposition strategies. By decomposing compound motions into distinct subject and background dynamics, we offer subject-level motion control capabilities, enhancing adaptability in scenarios with multiple subjects and complex motion patterns. Our soft guidance strategy enables flexible adaptation for target subject with different shape variations. With simple yet effective recomposition strategy to generate target video, we enable broader applications, including subject removal, editing subject geometry attributes such as size and position, and simulating camera changes. Extensive experiments further show that ConMo outperforms existing methods in maintaining motion consistency and flexibility.
+
+Acknowledgements. This work was supported by the grants from the National Natural Science Foundation of China (62372014, 61925201, 62132001, 62432001) and Beijing Natural Science Foundation (L247006, 4252040).
+
+# References
+
+[1] Omer Bar-Tal, Hila Chefer, Omer Tov, Charles Herrmann, Roni Paiss, Shiran Zada, Ariel Ephrat, Junhwa Hur, Guanghui Liu, Amit Raj, et al. Lumiere: A spacetime diffusion model for video generation. arXiv preprint arXiv:2401.12945, 2024. 2
+[2] Weifeng Chen, Yatai Ji, Jie Wu, Hefeng Wu, Pan Xie, Jiashi Li, Xin Xia, Xuefeng Xiao, and Liang Lin. Control-a-video: Controllable text-to-video generation with diffusion models. arXiv preprint arXiv:2305.13840, 2023. 2, 3, 5, 8
+[3] Soon Yau Cheong, Duygu Ceylan, Armin Mustafa, Andrew Gilbert, and Chun-Hao Paul Huang. Boosting camera motion control for video diffusion transformers. arXiv preprint arXiv:2410.10802, 2024. 2
+[4] Patrick Esser, Johnathan Chiu, Parmida Atighechian, Jonathan Granskog, and Anastasis Germanidis. Structure and content-guided video synthesis with diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7346-7356, 2023. 2
+[5] Xun Guo, Mingwu Zheng, Liang Hou, Yuan Gao, Yufan Deng, Pengfei Wan, Di Zhang, Yufan Liu, Weiming Hu, Zhengjun Zha, et al. I2v-adapter: A general image-to-video adapter for diffusion models. In ACM SIGGRAPH 2024 Conference Papers, pages 1-12, 2024. 3
+[6] Yuwei Guo, Ceyuan Yang, Anyi Rao, Maneesh Agrawala, Dahua Lin, and Bo Dai. Sparsectrl: Adding sparse controls to text-to-video diffusion models. In European Conference on Computer Vision, pages 330-348. Springer, 2025. 2
+[7] Agrim Gupta, Lijun Yu, Kihyuk Sohn, Xiuye Gu, Meera Hahn, Fei-Fei Li, Irfan Essa, Lu Jiang, and José Lezama. Photorealistic video generation with diffusion models. In European Conference on Computer Vision, pages 393–411. Springer, 2025. 2
+[8] Sun Haoran, Wang Yang, Liu Haipeng, and Qian Biao. Fine-grained cross-modal fusion based refinement for text-to-image synthesis. Chinese Journal of Electronics, 32(6): 1329-1340, 2023. 2
+[9] Hao He, Yinghao Xu, Yuwei Guo, Gordon Wetzstein, Bo Dai, Hongsheng Li, and Ceyuan Yang. Cameractrol: Enabling camera control for text-to-video generation. arXiv preprint arXiv:2404.02101, 2024. 2
+[10] Teng Hu, Jiangning Zhang, Ran Yi, Yating Wang, Hongrui Huang, Jieyu Weng, Yabiao Wang, and Lizhuang Ma. Motionmaster: Training-free camera motion transfer for video generation. arXiv preprint arXiv:2404.15789, 2024. 2
+[11] Teng Hu, Jiangning Zhang, Ran Yi, Yating Wang, Jieyu Weng, Hongrui Huang, Yabiao Wang, and Lizhuang Ma. Comd: Training-free video motion transfer with camera-object motion disentanglement. In Proceedings of the 32nd ACM International Conference on Multimedia, pages 3459-3468, 2024. 5
+
+[12] Hyeonho Jeong, Geon Yeong Park, and Jong Chul Ye. Vmc: Video motion customization using temporal attention adaptation for text-to-video diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9212-9221, 2024. 2, 3, 4, 5, 8
+[13] Ozgur Kara, Bariscan Kurtkaya, Hidir Yesiltepe, James M Rehg, and Pinar Yanardag. Rave: Randomized noise shuffling for fast and consistent video editing with diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6507-6516, 2024. 2
+[14] Max Ku, Cong Wei, Weiming Ren, Harry Yang, and Wenhu Chen. Anyv2v: A tuning-free framework for any video-to-video editing tasks. arXiv preprint arXiv:2403.14468, 2024. 2
+[15] Jingyun Liang, Yuchen Fan, Kai Zhang, Radu Timofte, Luc Van Gool, and Rakesh Ranjan. Movideo: Motion-aware video generation with diffusion model. In European Conference on Computer Vision, pages 56-74. Springer, 2025. 2
+[16] Pengyang Ling, Jiazi Bu, Pan Zhang, Xiaoyi Dong, Yuhang Zang, Tong Wu, Huaian Chen, Jiaqi Wang, and Yi Jin. Motionclone: Training-free motion cloning for controllable video generation. arXiv preprint arXiv:2406.05338, 2024. 2, 3, 5, 8
+[17] Yixin Liu, Kai Zhang, Yuan Li, Zhiling Yan, Chujie Gao, Ruoxi Chen, Zhengqing Yuan, Yue Huang, Hanchi Sun, Jianfeng Gao, et al. Sora: A review on background, technology, limitations, and opportunities of large vision models. arXiv preprint arXiv:2402.17177, 2024. 3
+[18] Eyal Molad, Eliahu Horwitz, Dani Valevski, Alex Rav Acha, Yossi Matias, Yael Pritch, Yaniv Leviathan, and Yedid Hoshen. Dreamix: Video diffusion models are general video editors. arXiv preprint arXiv:2302.01329, 2023. 3
+[19] Geon Yeong Park, Hyeonho Jeong, Sang Wan Lee, and Jong Chul Ye. Spectral motion alignment for video motion transfer using diffusion models. arXiv preprint arXiv:2403.15249, 2024. 2
+[20] Jordi Pont-Tuset, Federico Perazzi, Sergi Caelles, Pablo Arbeláez, Alex Sorkine-Hornung, and Luc Van Gool. The 2017 davis challenge on video object segmentation. arXiv preprint arXiv:1704.00675, 2017. 5
+[21] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 5
+[22] Nikhila Ravi, Valentin Gabeur, Yuan-Ting Hu, Ronghang Hu, Chaitanya Ryali, Tengyu Ma, Haitham Khedr, Roman Rädle, Chloe Rolland, Laura Gustafson, Eric Mintun, Junting Pan, Kalyan Vasudev Alwala, Nicolas Carion, Chao-Yuan Wu, Ross Girshick, Piotr Dólar, and Christoph Feichtenhofer. Sam 2: Segment anything in images and videos. arXiv preprint arXiv:2408.00714, 2024. 3, 4
+[23] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image
+
+synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 10684-10695, 2022. 3
+[24] Xiaoyu Shi, Zhaoyang Huang, Fu-Yun Wang, Weikang Bian, Dasong Li, Yi Zhang, Manyuan Zhang, Ka Chun Cheung, Simon See, Hongwei Qin, et al. Motion-i2v: Consistent and controllable image-to-video generation with explicit motion modeling. In ACM SIGGRAPH 2024 Conference Papers, pages 1-11, 2024. 2
+[25] Uriel Singer, Adam Polyak, Thomas Hayes, Xi Yin, Jie An, Songyang Zhang, Qiyuan Hu, Harry Yang, Oron Ashual, Oran Gafni, et al. Make-a-video: Text-to-video generation without text-video data. arXiv preprint arXiv:2209.14792, 2022.3
+[26] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. arXiv preprint arXiv:2010.02502, 2020. 4
+[27] Shuyuan Tu, Qi Dai, Zhi-Qi Cheng, Han Hu, Xintong Han, Zuxuan Wu, and Yu-Gang Jiang. Motioneditor: Editing video motion via content-aware diffusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 7882-7891, 2024. 2
+[28] Xiang Wang, Hangjie Yuan, Shiwei Zhang, Dayou Chen, Jiuniu Wang, Yingya Zhang, Yujun Shen, Deli Zhao, and Jingren Zhou. Videocomposer: Compositional video synthesis with motion controllability. Advances in Neural Information Processing Systems, 36, 2024. 2
+[29] Zhouxia Wang, Ziyang Yuan, Xintao Wang, Yaowei Li, Tianshui Chen, Menghan Xia, Ping Luo, and Ying Shan. Motionctrl: A unified and flexible motion controller for video generation. In ACM SIGGRAPH 2024 Conference Papers, pages 1-11, 2024. 2
+[30] Jay Zhangjie Wu, Yixiao Ge, Xintao Wang, Stan Weixian Lei, Yuchao Gu, Yufei Shi, Wynne Hsu, Ying Shan, Xiaohu Qie, and Mike Zheng Shou. Tune-a-video: One-shot tuning of image diffusion models for text-to-video generation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7623-7633, 2023. 2
+[31] Jay Zhangjie Wu, Xiuyu Li, Difei Gao, Zhen Dong, Jinbin Bai, Aishani Singh, Xiaoyu Xiang, Youzeng Li, Zuwei Huang, Yuanxi Sun, et al. Cvpr 2023 text guided video editing competition. arXiv preprint arXiv:2310.16003, 2023. 5
+[32] Shiyuan Yang, Liang Hou, Haibin Huang, Chongyang Ma, Pengfei Wan, Di Zhang, Xiaodong Chen, and Jing Liao. Direct-a-video: Customized video generation with user-directed camera movement and object motion. In ACM SIGGRAPH 2024 Conference Papers, pages 1-12, 2024. 2
+[33] Xiangpeng Yang, Linchao Zhu, Hehe Fan, and Yi Yang. Eva: Zero-shot accurate attributes and multi-object video editing. arXiv preprint arXiv:2403.16111, 2024. 5
+[34] Danah Yatim, Rafail Fridman, Omer Bar-Tal, Yoni Kasten, and Tali Dekel. Space-time diffusion features for zero-shot text-driven motion transfer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8466-8476, 2024. 2, 3, 4, 5, 8
+[35] Zhaoda Ye, Xiangteng He, and Yuxin Peng. Unsupervised cross-media hashing learning via knowledge graph. Chinese Journal of Electronics, 31(6):1081-1091, 2022. 2
+
+[36] Shengming Yin, Chenfei Wu, Jian Liang, Jie Shi, Houqiang Li, Gong Ming, and Nan Duan. Dragnuwa: Fine-grained control in video generation by integrating text, image, and trajectory. arXiv preprint arXiv:2308.08089, 2023. 2
+[37] David Junhao Zhang, Jay Zhangjie Wu, Jia-Wei Liu, Rui Zhao, Lingmin Ran, Yuchao Gu, Difei Gao, and Mike Zheng Shou. Show-1: Marrying pixel and latent diffusion models for text-to-video generation. International Journal of Computer Vision, pages 1-15, 2024. 3
+[38] Rui Zhang, Cong Xie, and Liwei Deng. A fine-grained object detection model for aerial images based on yolov5 deep neural network. Chinese Journal of Electronics, 32(1):51-63, 2023. 2
\ No newline at end of file
diff --git a/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/images.zip b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..2680d2d6d54b64644401928858dc6dca4d64475a
--- /dev/null
+++ b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7009b6204abc5bb229ecd63b73e74f74fe6fc10b5f43b549d1d4b0833699571a
+size 956898
diff --git a/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/layout.json b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..935e640ba00be3a8cab304d5bdbad8295fab16e0
--- /dev/null
+++ b/CVPR/2025/ConMo_ Controllable Motion Disentanglement and Recomposition for Zero-Shot Motion Transfer/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ba2c55e7ef5d233ea32a00a533a414ff7a158f48f0a50315f254d721ac4365aa
+size 354017
diff --git a/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_content_list.json b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..884d38b751769302fa8398937d3e41559da7cb4b
--- /dev/null
+++ b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c6843fb93a5b246e9d70f15326c286828a64c2298e54e94885b72c5a67936605
+size 87703
diff --git a/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_model.json b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..80be7e2c37dcfc44fd91e4857f241bbd9516fd55
--- /dev/null
+++ b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:23d9533eaa13ec61a99e220bd05e0f9b81edc08baef7f0674029161f5b6674d0
+size 111346
diff --git a/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_origin.pdf b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..3749f6d912f5cf2becba1023bcdb3760092b91c8
--- /dev/null
+++ b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/73b8c8cd-f044-41da-aa48-a90d48bc8088_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d9e0e10bc6899dc9b6e8f7c5bf5ba142182851050198864ccca73c577639a41
+size 5833251
diff --git a/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/full.md b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..5a4fd984665b1e1ee001bb4359b25d41707e79fa
--- /dev/null
+++ b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/full.md
@@ -0,0 +1,339 @@
+# ConText-CIR: Learning from Concepts in Text for Composed Image Retrieval
+
+Eric Xing $^{1}$ Pranavi Kolouju $^{2}$ Robert Pless $^{3}$ Abby Stylianou $^{2}$ Nathan Jacobs $^{1}$
+
+$^{1}$ Washington University in St. Louis
+
+Saint Louis University
+
+3The George Washington University
+
+{e.xing, jacobsn}@wustl.edu, {pranavi.kolouju, abby.stylianou}@slu.edu, pless@gwu.edu
+
+# Abstract
+
+Composed image retrieval (CIR) is the task of retrieving a target image specified by a query image and a relative text that describes a semantic modification to the query image. Existing methods in CIR struggle to accurately represent the image and the text modification, resulting in subpar performance. To address this limitation, we introduce a CIR framework, ConText-CIR, trained with a Text Concept-Consistency loss that encourages the representations of noun phrases in the text modification to better attend to the relevant parts of the query image. To support training with this loss function, we also propose a synthetic data generation pipeline that creates training data from existing CIR datasets or unlabeled images. We show that these components together enable stronger performance on CIR tasks, setting a new state-of-the-art in composed image retrieval in both the supervised and zero-shot settings on multiple benchmark datasets, including CIRR and CIRCO. Source code, model checkpoints, and our new datasets are available at https://github.com/mvrl/ConText-CIR.
+
+# 1. Introduction
+
+Traditional image retrieval is a longstanding problem in computer vision [8] with a diverse set of applications, including visual search [48], image geolocation [71], medical imaging [53], etc. There are two standard approaches to the image retrieval task: image-based [67, 73], where the input is an image and the task is finding images that are visually similar, and text-based [39, 56], where the input is natural language, and the task is finding images that match the text. Image embedding models make the image-based approach possible, and vision-language models such as CLIP [44], which have aligned image and text representations, have facilitated the text-based approach. However, both approaches have limitations: images are typically complex and contain a wide variety of objects, making it difficult to encode specific retrieval criteria in an image alone; conversely, it is difficult to specify complex visual information in
+
+Query:()
+
+
+
+"Add another rainbow lorikeet perched side by side on a branch and remove the greenery in the background"
+
+)
+
+Retrieved:
+
+
+X Not perched on a branch, has foliage
+Figure 1. A failure case of current composed image retrieval methods. Previous methods do not accurately capture the two conditions specified by the text.
+
+
+Different type of bird
+
+
+$\checkmark$ Correct retrieval
+
+Our method
+
+Previous methods
+
+text alone, as describing details of color patterns and the shapes of interest objects is often difficult and imprecise with text.
+
+Recent work in multi-modal image retrieval aims to mitigate these inherent limitations of uni-modal queries by introducing the composed image retrieval (CIR) problem [24, 32, 61, 65]. CIR involves retrieving a target image specified by a reference image and a text modification to the reference image. Incorporating open-ended text as an additional search criterion allows the inclusion of diverse natural language concepts, modifiers, and search specifications with images to produce a flexible retrieval formulation. Current work in CIR, however, fails to model the interaction of longer, richer texts with images. Existing approaches and datasets focus on simple text modifiers, with a straightforward modification, most often to foreground objects. Real-world queries, however, are often complex, multi-attribute, and may express modifications to background objects. Figure 1 demonstrates the limitations of current CIR methods, where the query includes an image of a "rainbow lorikeet" and text saying to "add another lorikeet on the branch and to remove the greenery in the background". Current methods tend to retrieve results that are correlated with the concepts specified in the text modifier (adding a second lorikeet,
+
+but not changing the background, or adding a different type of bird), but do not completely capture the entire relationship between image query and text modification.
+
+We introduce a novel CIR framework, ConText-CIR: Learning from Concepts in Text for Composed Image Retrieval, that addresses the limitations of previous methods in handling complex, multi-attribute texts. Existing vision-language models like CLIP demonstrate reasonable alignment between text and image concepts when the text is simple. For multi-attribute texts, however, the correspondence between the text and relevant image features often becomes inconsistent. Our proposed concept-consistency (CC) loss addresses this issue by enforcing consistent cross-attention between specific noun phrases and corresponding image regions. Specifically, our loss function encourages the attention weight of a noun phrase in the context of a full sentence to match its weight when evaluated independently, thus reducing contextual interference in long text phrases.
+
+Our framework is trained using a standard CIR formulation and may be easily extended to new datasets as methods and efforts for dataset generation develop. We aim to address the current limited performance of state-of-the-art CIR methods on queries with multi-attribute modifier text, increasing the applicability of CIR models on complex retrieval tasks and setting a new state-of-the-art on current benchmarks. Our specific contributions are the following:
+
+- We introduce a new CIR framework, ConText-CIR, demonstrating state-of-the-art composed image retrieval performance on the CIRR and CIRCO benchmarks.
+- We qualitatively show that our concept-consistency loss helps the underlying encoders to learn more specific object-centric representations.
+- We introduce a synthetic data generation pipeline to generate multi-attribute text annotations for existing small CIR datasets or to generate new CIR datasets for new domains.
+
+# 2. Background & Related Work
+
+Our work sets a new state-of-the-art for composed image retrieval. In this section, we summarize the most relevant background and closely related work.
+
+# 2.1. Composed Image Retrieval
+
+Modern methods in composed image retrieval primarily use multimodal fusion methods to combine representations of the query image and relative text. This produced vision-language embedding may then be used to perform a database lookup to retrieve likely candidate images [3, 5, 12, 38, 57, 61]. The success of pre-trained vision language models [33, 45] has motivated a number of methods that utilize these performant models to extract powerful features to describe the query image and the modification text. Work in CIR has explored a variety of methods, including sophisticated attention-based mechanisms [9, 72], denoising methods [17], and simple interpolation-based approaches [23], to fuse these representations.
+
+Powerful generative VLMs [11, 36] have also inspired training-free methods to perform CIR and composed video retrieval [58, 59] has been used as a proxy task to obtain powerful visuolingual understanding from large video datasets [2]. In another vein, textual inversion-based methods learn pseudoword representations of the image query [4, 47] in the text space of a pre-trained language model. These methods also benefit from learning greater image concept-text alignment by decomposing concepts in an image into multiple pseudo-words [16]. Other methods [63, 68] explicitly aim to learn multimodal alignments but do not learn the grounding of fine-grained text concepts with their corresponding image features. Some methods [32, 50] aim to learn finer-grained alignments between text and image by learning cross-modal masks or differences between features for fashion-centric retrieval. However, all of these methods suffer from poor concept-level alignment between precise text concepts and their corresponding image features due to a lack of structured conceptual guidance, inheriting only coarse-level alignment from contrastive pretraining [10, 51, 70].
+
+# 2.1.1. Image-Text Datasets
+
+Early work in this area focused on visual question answering regarding image composition. Data sets like NLVR [54], CLEVR [25], and GQA [21] focused on simple synthetic and real images with questions and ground-truth answers about shape, size, and object configurations. The simplicity of these datasets led to the development of NLVR2 [55], a larger dataset of natural image pairs with more complex compositional queries. Fashion-IQ [66], a fine-grained dataset for fashion-focused composed image retrieval, was one of the first true CIR datasets, providing image pairs with "relative" captions describing specific modifications to clothing, along with a baseline multimodal transformer approach for retrieval.
+
+The CIRR dataset [38], derived from NLVR2, includes human annotations focused on modifications to target images, facilitating CIR tasks. Although the most commonly evaluated dataset, the CIRR dataset has some limitations that have been pointed out by others [4], including being limited to image pairs from NLVR2, having many captions that do not relate to the query at all, and only including annotations that describe a single modification to a foreground object. CIRCO [5] is a test-only dataset that consists of human-generated annotations for image pairs mined from the MS-COCO dataset [35] and notably contains more complex text annotations and multiple targets per annotation. While these annotations are high quality and more complex than the CIRR annotations, it does not have a training dataset and can only be used to evaluate the performance of models trained on other data. More recent datasets like LaSCo [30] produce larger training datasets of synthetic annotations by mining examples from larger existing annotated datasets like VQA2.0 [15]. The SynthTriplets18M uses InstructPix2Pix [6] to generate images based on automatically generated text prompts [17]. There are also domain-specific CIR datasets, such as the Birds-to-Words dataset [14] and the
+
+
+Figure 2. The overall architecture of our approach, ConText-CIR. The framework guides attention to the related image regions by penalizing large differences between attention maps resulting from concept-specific and whole-text representations for each noun phrase. During inference, our method operates efficiently using a simple cross-attention mechanism to combine image and text features. The right side of the figure shows that the cross-attention between the concept "the hand" from the representation of the entire text and the image query converges to the local region around the hand with very little spurious attention.
+
+PatterCom remote sensing dataset [42], and video retrieval datasets [59, 60]. In general, existing CIR datasets are limited by the quality of their text annotations, motivating our work to leverage strong multimodal language models with refined prompts for generating high-quality CIR data.
+
+# 2.2. Visual Grounding
+
+Our proposed ConText-CIR framework enhances visual grounding, or the association between image regions and specific textual concepts, improving query-result alignment. Recent advancements in visual grounding span areas such as visual question answering (VQA), text-guided image editing, and text-guided segmentation. In VQA, Contrastive Region Guidance (CRG) strengthens visual grounding by comparing model outputs with and without text prompts to focus on relevant image areas without extra training [62]. In text-guided image editing, work has focused on enhancing localization via cross-attention mechanisms [19, 49, 64], addressing weak grounding due to loose text-to-attention maps. For Prompt2Prompt[19], cross-attention is refined to control pixel influence per token. LIME employs cross-attention regularization, penalizing irrelevant scores within the ROI, highlighting relevant tokens while downplaying unrelated ones [49]. In image segmentation, models like DINO [7] and SegmentAnything [27] show impressive results but lack semantic segmentation capabilities, leading to grounding efforts with natural language, such as Grounding DINO [37] and Grounded-SAM [46]. Other approaches like LSeg [31] train image encoders to align local embeddings to semantic text embeddings, while CMPC [20] enhances grounding by utilizing entity relationships in textual prompts.
+
+# 3. Methodology
+
+We propose ConText-CIR for training a composed image retrieval model, including a Text Concept-Consistency loss that improves the visual grounding of text concepts in queries.
+
+# 3.1. Problem Setting
+
+Composed image retrieval is formulated as finding a target image in a database of gallery images that best matches a query specified by a query image and relative text. In practice, this involves pre-indexing the database of gallery images with some embedding function $f$ and retrieving candidates using a representation of the image-text query mapped into the same space.
+
+Formally, we aim to learn a mapping from a query image, relative text tuple $(I_q,T)$ to a target image $I_T$ . We aim to learn a multimodal representation network $r = f(I_q,T)$ that produces a vector to query a database of images.
+
+# 3.2. The ConText-CIR model
+
+Our multimodal model consists of pair of encoders for image and text, $\phi_I$ , $\phi_T$ , a cross attention mechanism $\phi_A$ , and an attention pooling mechanism $\phi_P$ . Figure 2 shows a diagram of our pipeline. The final representation of a query pair consisting of an image and modification text is created using cross-attention to fuse the representations of text and image,
+
+$$
+\operatorname {C r o s s A t t n} (I, T) = \phi_ {A} \left(\phi_ {I} (I), \phi_ {T} (T)\right),
+$$
+
+followed by attention pooling to obtain the final vision-language feature $r$ :
+
+$$
+r = f (I, T) = \phi_ {P} (\text {C r o s s A t t n} (I, T)).
+$$
+
+This model is trained with two loss functions: a contrastive loss between query image-language representations and target image representations and a novel loss that explicitly encourages the cross-attention between text concepts to attend to their relevant image tokens. We describe each in the following sections.
+
+# 3.3. Text Concept-Consistency Loss
+
+The novel Text Concept-Consistency (Text CC) loss function encourages stronger consistency between noun phrases in the text and the correct image region. Visual language models have a strong capacity to find relationships between simple text and image regions [34, 37], however, representations extracted from multi-concept texts by language models may produce representations that have poorer alignment between particular concepts and their relevant image regions, as global contrastive pretraining methods do not ensure fine-grained alignment. Due to the complex nature of text-image interaction in CIR (involving changing image attributes, removing subjects, etc.), we aim to learn strong concept-level alignments between text and image representations. Following work in linguistics [41] we use noun phrases (NP) to represent concepts in a text.
+
+Before training, we extract at most $l$ noun phrase (NP) constituents in each text $T$ . For each noun phrase $NP_{i}$ we consider the in-context cross-attention of the tokens:
+
+$$
+C r o s s A t t n (I, T _ {N P _ {i}})
+$$
+
+between the tokens for the $i$ -th noun-phrase in the context of the original text $T$ , and the isolated cross-attention:
+
+$$
+C r o s s A t t n (I, N P _ {i})
+$$
+
+between the tokens for the $i$ -th noun phrase when represented by itself with the text encoder. With these components, we define a loss function to encourage the in-context cross-attention map to match the isolated cross-attention map generated from the concept-specific embedding, summed over all noun phrases extracted from the sentence:
+
+$$
+\begin{array}{l} \mathcal {L} _ {c c} = \sum_ {i = 1} ^ {l} \operatorname {R e L U} \left(C r o s s A t t n \left(I, T _ {N P _ {i}}\right) \right. \\ - C r o s s A t t n (I, N P _ {i}) - \epsilon) \\ \end{array}
+$$
+
+A slack variable $\epsilon$ permits some difference in the magnitude of cross-attention values between in-context and isolated noun-phrase embeddings and is set as a hyperparameter. Intuitively, learning from cross-attentions produced from concept-only embeddings will improve the grounding of concepts to images as the concept-specific embeddings cannot be confused with attributes from other concepts or suppressed by other concepts in the text, leading to focused grounding.
+
+We also enforce the contrastive loss between representations of the query with text modification $r^q = f(I_q, T)$ and the target image $r_n^t = f(I_t, \text{“}$ ) where $I_q, I_t$ are the query and
+
+target images respectively. The target image is encoded with the empty text so that the query vision-language embedding and target image embedding lie in the same space. Following MagicLens [72], we also include the representation of the query image as an additional negative example, $r_n^{q-} = f(I_q, \dots)$ encoding the query image with the empty text. So, the contrastive loss is defined as follows for the $n$ -th $(I_q, T, I_t)$ training triplet:
+
+$$
+\mathcal {L} _ {\text {c o n t}} = - \log \frac {e ^ {\sin \left(r _ {n} ^ {q} , r _ {n} ^ {t}\right) / \tau}}{e ^ {\sin \left(r _ {n} ^ {q} , r _ {n} ^ {q -}\right) / \tau} + \sum_ {i = 1} ^ {N} e ^ {\sin \left(r _ {n} ^ {q} , r _ {i} ^ {t}\right) / \tau}}
+$$
+
+where $\mathrm{sim}(r_a,r_b)$ denotes the cosine similarity $\frac{r_a\cdot r_b}{||r_a||||r_b||}$ , $N$ is the training batch size, and $\tau$ is a temperature hyperparameter to scale the distribution of logits. The total loss is given as follows, where $\lambda$ scales the weight given to each loss:
+
+$$
+\mathcal {L} _ {t o t} = \mathcal {L} _ {c o n t} + \lambda \mathcal {L} _ {c c}.
+$$
+
+# 3.4. ConText-CIR Inference
+
+To perform image retrieval with respect to a gallery of candidate images, each candidate image $C_i$ is encoded with a blank text vector as: $r_i = f(C_i, \dots)$ . Given a query text pair $I_q, T$ , each candidate image $C_i$ is scored based on the similarity between $r_i$ and $f(I_q, T)$ ; we report results in this paper on top-k results for various values of $k$ .
+
+# 3.5. Automated Data Generation Pipeline
+
+CIR datasets can be divided into two categories: manually generated and automatically generated. Manually generated datasets like CIRR [38] ask human annotators to describe the differences between image pairs (though the pairs are often extracted from existing datasets). Automatically generated datasets tend to leverage existing labeled data to mine CIR queries (e.g., LaSCo [30]), or use image generation tools to produce images that match specific modification text, as in the case of the SynTHTriplets18M dataset [17]. There are a variety of problems with these existing datasets regardless of the method of generation, including queries where the text on its own is sufficient to find the target image and issues with the degree of image similarity in the queries. Across existing datasets, the modifications are also typically simple, focusing on a single change to a foreground object. We show examples of these issues in Figure 3.
+
+To address these issues, and facilitate the generation of new CIR datasets with realistically complicated text modifications, we introduce a novel pipeline good4cir [28] leveraging a large language model (specifically OpenAI's GPT-4o) to produce CIR triplets. In this pipeline, we assume that there is an existing list of related images—this can come from either an existing CIR dataset with low quality annotations, or from a new domain
+
+
+Figure 3. Qualitative issues with existing CIR datasets.
+
+with image pairs. We then decompose the CIR triplet generation task into four smaller, targeted tasks to mitigate hallucination and encourage the generation of fine-grained descriptors [13].
+
+First task, we generate a list of objects found in the query image, and have the LLM describe each object with a list of descriptors. Next, we pass this list of objects and associated descriptors to the LLM along with the target image, and ask the LLM to generate a list of objects and descriptors for the target image according to the following criteria:
+
+- If a new object is introduced in the target image, generate a set of descriptors for the given object.
+- If there is an object in the target image that matches the descriptors of an object from the query image, adopt the exact set of descriptors to ensure consistency.
+- If there is a similar object in the query and target images, but the descriptors provided in the list for the query image do not match the appearance of the object in target image, generate a new set of descriptors for the given object.
+
+Next, we provide the LLM with both lists and have it generate a set of difference captions, each describing a single removal, addition, or modification of an object from the query image to the target image. For a given pair of images, it is possible to have a large number of modifications, each of which can be used to construct a CIR (query image, text modifier, target image) triplet.
+
+The final step of our pipeline is to create additional triplets by concatenating multiple text modifiers into increasingly complex queries. We show examples of generated triplets in Figure 4 and provide additional details and examples in the Appendix.
+
+# 4. Experimental Setup
+
+ConText-CIR achieves significant performance improvement relative to the state-of-the-art across a broad range of standard evaluation protocols, all without increasing inference-time complexity or using a greater magnitude of training data.
+
+
+Figure 4. Examples of original captions and rewritten CIRR captions.
+
+# 4.1. Training Data
+
+We train on a variety of datasets, including CIRR [38] and LaSCo [30], as well as two datasets generated using our pipeline. The first generated dataset is a rewritten version of the CIRR dataset. CIRR is one of the most commonly used CIR datasets for both training and evaluation, however, as demonstrated in Figures 3 and 4, the existing CIRR dataset contains relatively short and minimal captions that do not translate to domains where more detailed text queries are advantageous. Thus, we generate a rewritten CIRR dataset, $\mathrm{CIRR}_R$ , that applies the synthetic data pipeline to generate longer and more linguistically rich captions for the existing CIRR image pairs.
+
+We additionally generate a new dataset, Hotel-CIR. This dataset is sourced from visually similar image pairs in the TrafficCam [52] hotel image database. This is a compelling domain, as the scenes are dense, with a large number of objects, and high degrees of visual similarity between images that don't necessarily come from the same class. The Appendix includes additional information regarding the $\mathrm{CIRR}_R$ and Hotel-CIR datasets, including the exact prompts used to generate them and dataset statistics. We share these datasets to motivate further work in building CIR methods that are capable of supporting real-world queries.
+
+We perform ablations on the inclusion of different datasets in the training process, and ultimately train a CIR model on a combined dataset of CIRR, $\mathrm{CIRR}_R$ , LaSCo, and Hotel-CIR, which we refer to as the Aggregated dataset.
+
+# 4.2. Baseline Methods
+
+We evaluate our method against state-of-the-art CIR methods that pre-index a database of gallery images with vector embeddings. For fairness, we compare to models initialized with CLIP ViT-B/L or OpenCLIP ViT-H when available. We evaluate against a number of textual inversion-based methods [4, 16, 47], late multi-modal fusion-based meth
+
+
Recall@K
Recallsubset@K
Backbone
Method
Additional Data
K=1
K=5
K=10
K=50
K=1
K=2
K=3
≤ ViT-B
ARTEMIS* [12]
FashionIQ
16.96
46.10
61.31
87.73
39.99
62.20
75.67
CIRPLANT [38]
FashionIQ
19.55
52.55
68.39
92.38
39.20
63.03
79.49
LF-BLIP [3]
FashionIQ
20.89
48.07
61.16
83.71
50.22
73.16
86.82
Combiner [3]*
FashionIQ
33.59
65.35
77.35
95.21
62.39
81.81
92.02
CLIP4CIR [5]*
FashionIQ
44.82
77.04
86.65
97.90
73.16
88.84
95.59
CASE [30]
LaSCo
48.68
79.98
88.51
97.49
76.39
90.12
95.86
CASE [30]
LaSCo+COCO
49.35
80.02
88.75
97.47
76.48
90.37
95.71
ConText-CIR (ours)
Aggregated
49.83
81.54
89.76
98.95
76.64
90.69
96.31
ViT-L
CompoDiff [17]
ST18M+LAION2B
22.35
54.36
73.41
91.77
62.55
81.44
90.21
CoVR-BLIP [59]
WebVid-CoVR
49.69
78.60
86.77
94.31
75.01
88.12
93.16
ConText-CIR (ours)
Aggregated
52.65
83.27
89.51
98.87
80.32
92.13
96.08
ViT-H
ConText-CIR (ours)
Aggregated
55.24
84.85
90.75
98.82
82.96
93.12
97.04
ViT-G
CompoDiff [17]
ST18M+LAION2B
32.39
57.61
77.25
94.61
67.88
85.29
94.07
CoVR-2 [58]
CC-CoIR
50.63
81.04
89.35
98.15
76.53
90.43
96.00
CoVR-2 [58]
WV-CC-CoVIR
50.43
81.08
88.89
98.05
76.75
90.34
95.78
+
+Table 1. Composed image retrieval results on the CIRR test set. Higher is better for all metrics, best results are shown in bold. The asterisks (*) in the $\leq$ ViT-B section denote that a ResNet-based backbone was used.
+
+ods [3, 5, 12, 23, 38, 72], early fusion-based methods [30], composed video retrieval-based methods that can perform CIR [58, 59], and training-free methods [26, 57, 69].
+
+We evaluate our framework on the CIRR [38] and CIRCO [4] test sets. CIRR also defines a subset retrieval metric, $\mathrm{Recall}_{\mathrm{subset}}@K$ , where the model performs retrieval among a focused small subset of images for each query. The CIRCO [4] dataset addresses certain limitations of CIRR by increasing the gallery index size and by providing multiple ground-truth targets per image-text query. CIRCO sources images from the COCO 2017 unlabeled image set [35]. As there are multiple ground-truths per image-text query, we report mean average precision (mAP@K).
+
+Additionally, we evaluate the performance of models trained on the Aggregated dataset on the CIRCO test set and models trained with LaSCo and Hotel-CIR on the CIRR test set, a CIR task setting defined in the literature as zero-shot CIR. Additional zero-shot results on FashionIQ [66] and ImageNet-R [18] are provided in the supplemental materials.
+
+# 4.3. Implementation Details
+
+We use Stanza [43] to perform constituency parsing over each modification text, extracting at most $l = 10$ noun phrases from each parse tree. The noun phrases are extracted with a breadth-first search, so the branch-level noun phrases are prioritized to be kept over the leaf-level noun phrases. We utilize the official image and text encoders from CLIP ViT-B and ViT-L [44] and OpenCLIP ViT-H [22]. We follow the attention pooling formulation of Set Transformer [29]. We use the AdamW optimizer [40] with a cosine annealed learning rate cycling between $2\mathrm{e} - 5$ and $2\mathrm{e} - 7$ and a weight decay of $1\mathrm{e} - 2$ .
+
+# 4.4. Main Results
+
+Table 1 gives both Recall@K and Recallsubset@K metrics on the CIRR test set. When isolating each backbone, we observe that our largest model demonstrates the highest retrieval performance across both Recall@K and Recallsubset@K metrics. Within each category of encoder size, ConText-CIR outperforms baseline methods across all metrics, especially for models using ViT-L and ≥ViT-H methods. Notably, ConText-CIR improves R@1 from 50.43 to 55.24 and R@1subset from 76.75 to 82.96. Unlike the second-best method CoVR-2 [58], ConText-CIR does not use ViT-G, a backbone with 60% more parameters than ViT-H, and does not pretrain on a dataset of 4.9 million samples. For the ViT-L and ≤ViT-B encoder sizes we also outperform baseline methods on all benchmarks.
+
+# 4.5. Zero-shot Composed Image Retrieval
+
+Table 2 gives zero-shot (excluding CIRR from training data) composed image retrieval metrics on CIRR. ConText-CIR demonstrates powerful zero-shot CIR performance across all encoder sizes, improving state-of-the-art R@1 by 4.78 for ViT-B, 5.38 for ViT-L, and 12.88 for ViT-H. Notably, our method with the ViT-H backbone also outperforms all methods using the much larger ViT-G. We observe that our method is able to outperform ViT-G-based CoVR-2 [58] without pertaining on 4.9 million samples.
+
+We also report zero-shot composed image retrieval performance on CIRCO [4] in Table 3. Our model outperforms all baseline methods when compared with the same backbone architecture, and outperforms all methods based on ViT-G, even as the ViT-G backbone has almost 400M additional parameters.
+
+
Recall@K
Recall subset@K
Backbone
Method
Training Data
K=1
K=5
K=10
K=50
K=1
K=2
K=3
ViT-B
SEARLE-OTI [4]
ImageNet1K
24.27
53.25
66.10
88.84
54.10
75.81
87.33
SEARLE [4]
ImageNet1K
24.00
53.42
66.82
89.78
54.89
76.60
88.19
LDRE [69]
-
25.69
55.13
69.04
89.90
60.53
80.65
90.70
CIRVL [26]
-
23.94
52.51
66.00
86.95
60.17
80.05
90.19
MagicLens [72]
web-scraped (36.7M)
27.0
58.0
70.9
91.1
66.7
83.9
92.4
Slerp+TAT [23]
CC3M+LLaVA-Align+Laion-2M
28.19
55.88
68.77
88.51
61.13
80.63
90.68
CASE [30]
LaSCo
30.89
60.75
73.88
92.84
60.17
80.17
90.41
CASE [30]
LaSCo+COCO
35.40
65.78
78.53
94.63
64.29
82.66
91.61
ours
LaSCo+Hotel-CIR
40.18
70.04
81.56
96.21
72.25
87.46
94.52
ViT-L
CompoDiff [17]
ST18M+LAION2B
22.35
54.36
73.41
91.77
62.55
81.44
90.21
Pic2Word [47]
CC3M
23.90
51.70
65.30
87.80
-
-
-
SEARLE-XL-OTI [4]
CC3M
24.87
52.31
66.29
88.58
53.80
74.31
86.94
SEARLE-XL [4]
CC3M
24.24
52.48
66.29
88.84
53.76
75.01
88.19
CIRVL [26]
-
24.55
52.31
64.92
86.34
59.54
79.88
89.69
LinCIR [16]
CC3M+SDP+COYO700M+OWT
25.04
53.25
66.68
-
57.11
77.37
88.89
LDRE [69]
-
26.53
55.57
67.54
88.50
60.43
80.31
89.90
Slerp+TAT [23]
CC3M+LLaVA-Align+Laion-2M
30.94
59.40
70.94
89.18
64.70
82.92
92.31
MagicLens [72]
web-scraped (36.7M)
30.1
61.7
74.4
92.6
68.1
84.8
93.2
CoVR-BLIP [59]
WebVid-CoVR
38.48
66.70
77.25
91.47
69.28
83.76
91.11
ours
LaSCo+Hotel-CIR
43.86
73.39
82.00
96.14
75.62
89.44
95.03
ViT-H
LinCIR [16]
CC3M+SDP+COYO700M+OWT
33.83
63.52
75.35
-
62.43
81.47
92.12
ours
LaSCo+Hotel-CIR
46.71
75.64
84.26
96.85
76.41
90.64
95.62
ViT-G
GRB+LCR [57]
-
30.92
56.99
68.58
85.28
66.67
78.68
82.60
CompoDiff [17]
ST18M+LAION2B
32.39
57.61
77.25
94.61
67.88
85.29
94.07
TFCIR [57]
-
32.82
61.13
71.76
85.28
66.63
78.58
82.68
CIRVL [26]
-
34.65
64.29
75.06
91.66
67.95
84.87
93.21
LinCIR [16]
CC3M+SDP+COYO700M+OWT
35.25
64.72
76.05
-
63.35
82.22
91.98
LDRE [69]
-
36.15
66.39
77.25
93.95
68.82
85.66
93.76
CoVR-2 [58]
CC-CoIR
43.35
73.78
83.66
96.07
75.25
88.89
95.23
CoVR-2 [58]
WV-CC-CoVIR
43.74
73.61
83.95
96.10
72.84
87.52
94.39
+
+Table 2. Zero-shot composed image retrieval results on the CIRR test set. Higher is better for all metrics, best results are shown in bold.
+
+# 4.6. Ablation Studies
+
+We evaluate ConText-CIR on CIRR trained using different components of our Aggregated dataset in Table 4. We observe that ConText-CIR performs better as more data is added. The significant performance increase from 45.25 to $48.54\mathrm{R}@\mathrm{l}$ from CIRR to $\mathrm{CIRR + CIRR_R}$ indicates that our data generation pipeline is highly effective at synthesizing data for training CIR models, producing large performance increases even without incorporating any additional imagery. Each subsequent large-scale dataset that does include new imagery (LaSCo and Hotel-CIR) gives an additional large performance boost.
+
+Next, we analyze the elements of ConText-CIR's design. We experiment with freezing the image or the text encoder, not considering branch-level noun phrases, and removing the Text CC loss. Freezing the text encoder results in a much larger performance drop when compared to freezing the image encoder (performance drop from 54.28 to 49.52 in R@1), indicating that the pre-trained CLIP text space is less conducive for CIR than the pre-trained CLIP image space. By comparison, only considering leaf noun phrases (a noun phrase that cannot be broken down into smaller syntactic units within the noun phrase itself) and removing the query image as a hard negative only results in
+
+a small decrease in performance. Finally, we see that removing the Text CC loss has a significant negative impact on performance (from 55.24 to 48.92 in R@1). This supports the idea that guiding the model to fuse representations of text concepts to their relevant image regions leads to higher performance.
+
+# 4.7. Qualitative Results
+
+In Figure 5, we examine the cross attention of noun phrase representations to the image query for models trained with and without the Text CC loss. The attention maps are averaged across the cross-attention of the tokens from the representation of the whole text in each noun phrase to the image query.
+
+We qualitatively observe that the model's ability to ground the representations of noun phrases to their relevant image features improves significantly with the Text CC loss. Notably, the model trained without the Text CC loss often diffuses attention onto extraneous objects, such as the toilet and mirror in the first row. Furthermore, when the CC loss isn't used, the model often targets attention to completely wrong tokens. For instance, the model trained without the Text CC loss focuses attention associated with the concept "the bathroom towels" onto the wastebasket. These observations demonstrate how the CC loss guides the
+
+
+Figure 5. Noun-phrase-level cross attention maps for models trained with and without the Text Concept-Consistency loss.
+
+
mAP@K
Size
Method
K=5
K=10
K=25
K=50
B
SEARLE [4]
9.35
9.94
11.13
11.84
CIREVL [26]
14.94
15.42
17.00
17.82
LDRE [69]
17.96
18.32
20.21
21.11
GRB+LCR [57]
25.38
26.93
29.82
30.74
TFCIR [57]
26.52
28.25
31.23
31.99
ours
28.12
29.42
32.26
33.54
L
SEARLE-XL [4]
11.68
12.73
14.33
15.12
CompoDiff [17]
12.31
13.51
15.67
16.15
LinCIR [16]
12.59
13.58
15.00
15.85
CIREVL [26]
18.57
19.01
20.89
21.80
CoVR-BLIP [59]
21.43
22.33
24.47
25.48
MagicLens [72]
23.1
23.8
25.8
26.7
LDRE [69]
23.35
24.03
26.44
27.50
ours
30.05
30.53
34.79
34.72
H
MagicLens [72]
29.6
30.8
33.4
34.4
ours
31.74
32.64
35.05
36.42
G
CompoDiff [17]
15.33
17.71
19.45
21.01
LinCIR [16]
19.71
21.01
23.13
24.18
CIREVL [26]
26.77
27.59
29.96
31.03
CoVR-2 [58]
28.29
29.55
32.18
33.26
LDRE [69]
31.12
32.24
34.95
36.03
+
+model to learn to fuse concepts in text to their relevant image features without computing concept features at inference time.
+
+Table 3. Zero-shot composed image retrieval results on the CIRCO test set. Higher is better for all metrics, best results are shown in bold.
+
+
Recall@K
Data
K=1
K=5
K=10
K=50
CIRR
45.25
77.52
86.88
97.24
CIRR+CIRR_R
48.54
80.12
88.52
97.49
CIRR+CIRR_R+LaSCo
53.12
83.78
89.48
98.67
Aggregated
55.24
84.85
90.75
98.82
+
+Table 4. Ablation study over dataset components w/ ViT-H backbone.
+
+
Recall@K
Ablation
K=1
K=5
K=10
K=50
Freeze text encoder
49.52
78.46
86.33
94.25
Freeze image encoder
54.18
83.84
89.54
98.15
No Query Negative
54.52
83.95
89.57
98.12
Only leaf NPs
54.67
84.02
89.62
98.08
No Text CC (λ=0)
48.92
79.86
88.74
97.41
With Text CC (λ=0.08)
55.24
84.85
90.75
98.82
+
+Table 5. Ablation study over model choices w/ ViT-H backbone.
+
+# 5. Conclusions
+
+We present ConText-CIR, a novel CIR method facilitating performant rapid retrieval over large image databases. Our Text Concept-Consistency loss improves the concept-level alignment of the text and image embeddings and produces qualitatively more focused attention maps. To train ConText-CIR, we also introduce a data generation strategy that can be used to rewrite the annotations in existing CIR datasets or to generate new CIR datasets. This method trained on these new datasets sets a new state-of-the-art in supervised and zero-shot composed image retrieval on multiple CIR benchmarks.
+
+# Acknowledgements
+
+This material is based upon work done, in whole or in part, in coordination with the Department of Defense (DoD). Any opinions, findings, conclusions, or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the DoD and/or any agency or entity of the United States Government.
+
+# References
+
+[1] https://github.com/google-deepmind/magicals/issues/8.4
+[2] Max Bain, Arsha Nagrani, Gül Varol, and Andrew Zisserman. Frozen in time: A joint video and image encoder for end-to-end retrieval. In IEEE International Conference on Computer Vision, 2021. 2
+[3] Alberto Baldrati, Marco Bertini, Tiberio Uricchio, and Alberto Del Bimbo. Effective conditioned and composed image retrieval combining clip-based features. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 21434-21442, 2022. 2, 6
+[4] Alberto Baldrati, Lorenzo Agnolucci, Marco Bertini, and Alberto Del Bimbo. Zero-shot composed image retrieval with textual inversion. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 15338-15347, 2023. 2, 5, 6, 7, 8
+[5] Alberto Baldrati, Marco Bertini, Tiberio Uricchio, and Alberto Del Bimbo. Composed image retrieval using contrastive learning and task-oriented clip-based features. ACM Transactions on Multimedia Computing, Communications and Applications, 20(3):1-24, 2023. 2, 5, 6
+[6] Tim Brooks, Aleksander Holynski, and Alexei A Efros. Instructpix2pix: Learning to follow image editing instructions. arXiv preprint arXiv:2211.09800, 2022. 2
+[7] Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In ICCV, 2021. 3
+[8] Wei Chen, Yu Liu, Weiping Wang, Erwin M. Bakker, Theodoros Georgiou, Paul Fieguth, Li Liu, and Michael S. Lew. Deep learning for instance retrieval: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(6):7270-7292, 2023. 1
+[9] Yanbei Chen, Shaogang Gong, and Loris Bazzani. Image search with text feedback by visiolinguistic attention learning. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 2998-3008, 2020. 2
+[10] Yuxiao Chen, Jianbo Yuan, Yu Tian, Shijie Geng, Xinyu Li, Ding Zhou, Dimitris N. Metaxas, and Hongxia Yang. Revisiting multimodal representation in contrastive learning: From patch and token embeddings to finite discrete tokens. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15095-15104, 2023. 2
+[11] Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale Fung, and Steven Hoi. Instructclip: towards general-purpose vision-language models with instruction tuning. In Proceedings of the 37th International Conference on Neural Information Processing Systems, Red Hook, NY, USA, 2024. Curran Associates Inc. 2
+
+[12] Ginger Delmas, Rafael S Rezende, Gabriela Csurka, and Diane Larlus. Artemis: Attention-based retrieval with text-explicit matching and implicit similarity. In International Conference on Learning Representations, 2022. 2, 6
+[13] James Flemings, Wanrong Zhang, Bo Jiang, Zafar Takhirov, and Murali Annavaram. Characterizing context influence and hallucination in summarization, 2024. 5
+[14] Maxwell Forbes, Christine Kaeser-Chen, Piyush Sharma, and Serge Belongie. Neural naturalist: Generating fine-grained image comparisons. arXiv preprint arXiv:1909.04101, 2019. 2
+[15] Yash Goyal, Tejas Khot, Douglas Summers-Stay, Dhruv Batra, and Devi Parikh. Making the V in VQA matter: Elevating the role of image understanding in Visual Question Answering. In Conference on Computer Vision and Pattern Recognition (CVPR), 2017. 2
+[16] Geonmo Gu, Sanghyuk Chun, Wonjae Kim, Yoonoo Kang, and Sangwoo Yun. Language-only training of zero-shot composed image retrieval. In Conference on Computer Vision and Pattern Recognition (CVPR), 2024. 2, 5, 7, 8
+[17] Geonmo Gu, Sanghyuk Chun, Wonjae Kim, HeeJae Jun, Yoohoon Kang, and Sangdoo Yun. Compodiff: Versatile composed image retrieval with latent diffusion. Transactions on Machine Learning Research, 2024. Expert Certification. 2, 4, 5, 6, 7, 8
+[18] Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath, Frank Wang, Evan Dorundo, Rahul Desai, Tyler Zhu, Samyak Parajuli, Mike Guo, Dawn Song, Jacob Steinhardt, and Justin Gilmer. The many faces of robustness: A critical analysis of out-of-distribution generalization. ICCV, 2021. 6
+[19] Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-prompt image editing with cross attention control. 2022. 3
+[20] Shaofei Huang, Tianrui Hui, Si Liu, Guanbin Li, Yunchao Wei, Jizhong Han, Luoqi Liu, and Bo Li. Referring image segmentation via cross-modal progressive comprehension. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 10488-10497, 2020. 3
+[21] Drew A Hudson and Christopher D Manning. Gqa: A new dataset for real-world visual reasoning and compositional question answering. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6700-6709, 2019. 2
+[22] Gabriel Ilharco, Mitchell Wortsman, Ross Wightman, Cade Gordon, Nicholas Carlini, Rohan Taori, Achal Dave, Vaishaal Shankar, Hongseok Namkoong, John Miller, Hannaneh Hajishirzi, Ali Farhadi, and Ludwig Schmidt. Openclip, 2021. If you use this software, please cite it as below. 6
+[23] Young Kyun Jang, Dat Huynh, Ashish Shah, Wen-Kai Chen, and Ser-Nam Lim. Spherical linear interpolation and text-anchoring for zero-shot composed image retrieval. arXiv preprint arXiv:2405.00571, 2024. 2, 6, 7
+[24] Xintong Jiang, Yaxiong Wang, Yujiao Wu, Meng Wang, and Xueming Qian. Dual relation alignment for composed image retrieval, 2024. 1
+[25] Justin Johnson, Bharath Hariharan, Laurens van der Maaten, Li Fei-Fei, C Lawrence Zitnick, and Ross Girshick. Clevr: A diagnostic dataset for compositional language and elementary visual reasoning. In CVPR, 2017. 2
+
+[26] Shyamgopal Karthik, Karsten Roth, Massimiliano Mancini, and Zeynep Akata. Vision-by-language for training-free compositional image retrieval. International Conference on Learning Representations (ICLR), 2024. 6, 7, 8
+[27] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C. Berg, Wan-Yen Lo, Piotr Dólar, and Ross Girshick. Segment anything. arXiv:2304.02643, 2023. 3
+[28] Pranavi Kolouju, Eric Xing, Robert Pless, Nathan Jacobs, and Abby Stylianou. good4cir: Generating detailed synthetic captions for composed image retrieval, 2025. 4
+[29] Juho Lee, Yoonho Lee, Jungtaek Kim, Adam Kosiorek, Seungjin Choi, and Yee Whye Teh. Set transformer: A framework for attention-based permutation-invariant neural networks. In Proceedings of the 36th International Conference on Machine Learning, pages 3744-3753, 2019. 6
+[30] M. Levy, R. Ben-Ari, N. Darshan, and D. Lischinski. Data roaming and quality assessment for composed image retrieval. In AAAI, 2024. 2, 4, 5, 6, 7
+[31] Boyi Li, Kilian Q Weinberger, Serge Belongie, Vladlen Koltun, and Rene Ranftl. Language-driven semantic segmentation. In ICLR, 2022. 3
+[32] Dafeng Li and Yingying Zhu. Visual-linguistic alignment and composition for image retrieval with text feedback. In 2023 IEEE International Conference on Multimedia and Expo (ICME), pages 108–113, 2023. 1, 2
+[33] Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In International conference on machine learning, pages 12888-12900. PMLR, 2022. 2
+[34] Liunian Harold Li*, Pengchuan Zhang*, Haotian Zhang*, Jianwei Yang, Chunyuan Li, Yiwu Zhong, Lijuan Wang, Lu Yuan, Lei Zhang, Jenq-Neng Hwang, Kai-Wei Chang, and Jianfeng Gao. Grounded language-image pre-training. In CVPR, 2022. 4
+[35] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólár, and C. Lawrence Zitnick. Microsoft coco: Common objects in context. In Computer Vision - ECCV 2014, pages 740-755, Cham, 2014. Springer International Publishing. 2, 6
+[36] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee. Visual instruction tuning. In Advances in Neural Information Processing Systems, pages 34892-34916. Curran Associates, Inc., 2023. 2
+[37] Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang, Hang Su, et al. Grounding dino: Marrying dino with grounded pre-training for open-set object detection. arXiv preprint arXiv:2303.05499, 2023. 3, 4
+[38] Zheyuan Liu, Cristian Rodriguez-Opazo, Damien Teney, and Stephen Gould. Image retrieval on real-life images with pre-trained vision-and-language models. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 2125-2134, 2021. 2, 4, 5, 6
+[39] Zijun Long, Xuri Ge, Richard Mccreadie, and Joemon Jose. Cfir: Fast and effective long-text to image retrieval for large corpora, 2024. 1
+
+[40] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. 6
+[41] G. Murphy. Noun phrase interpretation and conceptual combination. Journal of Memory and Language, 29(3), 1990. 4
+[42] B. Psomas, I. Kakogeorgiou, N. Efthymiadis, G. Tolias, O. Chum, Y. Avrithis, and K. Karantzalos. Composed image retrieval for remote sensing. In IGARSS 2024 - 2024 IEEE International Geoscience and Remote Sensing Symposium, 2024. 3
+[43] Peng Qi, Yuhao Zhang, Yuhui Zhang, Jason Bolton, and Christopher D. Manning. Stanza: A Python natural language processing toolkit for many human languages. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, 2020. 6
+[44] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In Proceedings of the 38th International Conference on Machine Learning, pages 8748-8763. PMLR, 2021. 1, 6
+[45] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 2
+[46] Tianhe Ren, Shilong Liu, Ailing Zeng, Jing Lin, Kunchang Li, He Cao, Jiayu Chen, Xinyu Huang, Yukang Chen, Feng Yan, Zhaoyang Zeng, Hao Zhang, Feng Li, Jie Yang, Hongyang Li, Qing Jiang, and Lei Zhang. Grounded sam: Assembling open-world models for diverse visual tasks, 2024. 3
+[47] Kuniaki Saito, Kihyuk Sohn, Xiang Zhang, Chun-Liang Li, Chen-Yu Lee, Kate Saenko, and Tomas Pfister. Pic2word: Mapping pictures to words for zero-shot composed image retrieval. CVPR, 2023. 2, 5, 7
+[48] Devashish Shankar, Sujay Narumanchi, H A Ananya, Pramod Kompalli, and Krishnendu Chaudhury. Deep learning based large scale visual recommendation and search for e-commerce, 2017. 1
+[49] Enis Simsar, Alessio Tonioni, Yongqin Xian, Thomas Hofmann, and Federico Tombari. Lime: Localized image editing via attention regularization in diffusion models, 2023. 3
+[50] Chull Hwan Song, Taebaek Hwang, Jooyoung Yoon, Shunghyun Choi, and Yeong Hyeon Gu. Syncmask: Synchronized attentional masking for fashion-centric vision-language pretraining. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 13948-13957, 2024. 2
+[51] Kun Song, Huimin Ma, Bochao Zou, Huishuai Zhang, and Weiran Huang. Fd-align: Feature discrimination alignment for fine-tuning pre-trained models in few-shot learning. NeurIPS, 2023. 2
+[52] Abby Stylianou, Hong Xuan, Maya Shende, Jonathan Brandt, Richard Souvenir, and Robert Pless. Hotels-50k: A global hotel recognition dataset. In The AAAI Conference on Artificial Intelligence (AAAI), 2019. 5
+[53] Dhanya K. Sudhish, Latha R. Nair, and Shailesh S. Content-based image retrieval for medical diagnosis using fuzzy clustering and deep learning. Biomedical Signal Processing and Control, 88: 105620, 2024. 1
+
+[54] Alane Suhr, Mike Lewis, James Yeh, and Yoav Artzi. A corpus of natural language for visual reasoning. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 217-223, 2017. 2
+[55] Alane Suhr, Stephanie Zhou, Ally Zhang, Iris Zhang, Huajun Bai, and Yoav Artzi. A corpus for reasoning about natural language grounded in photographs. 1:6418-6428, 2019. 2
+[56] Manal Sultan, Lia Jacobs, Abby Stylianou, and Robert Pless. Exploring clip for real world, text-based image retrieval. In 2023 IEEE Applied Imagery Pattern Recognition Workshop (AIPR), pages 1-6, 2023. 1
+[57] Shitong Sun, Fanghua Ye, and Shaogang Gong. Training-free zero-shot composed image retrieval with local concept reranking. arXiv preprint arXiv:2312.08924, 2024. 2, 6, 7, 8
+[58] L. Ventura, A. Yang, C. Schmid, and G. Varol. CoVR-2: Automatic Data Construction for Composed Video Retrieval. IEEE Transactions on Pattern Analysis & Machine Intelligence, 46(12):11409-11421, 2024. 2, 6, 7, 8
+[59] L. Ventura, A. Yang, C. Schmid, and G. Varol. CoVR: Learning composed video retrieval from web video captions. AAAI, 2024. 2, 3, 6, 7, 8
+[60] L. Ventura, A. Yang, C. Schmid, and G. Varol. CoVR-2: Automatic data construction for composed video retrieval. IEEE TPAMI, 2024. 3
+[61] Nam Vo, Lu Jiang, Chen Sun, Kevin Murphy, Li-Jia Li, Li Fei-Fei, and James Hays. Composing text and image for image retrieval—an empirical odyssey. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 6439–6448, 2019. 1, 2
+[62] David Wan, Jaemin Cho, Elias Stengel-Eskin, and Mohit Bansal. Contrastive region guidance: Improving grounding in vision-language models without training. In ECCV, 2025. 3
+[63] Yongquan Wan, Wenhai Wang, Guobing Zou, and Bofeng Zhang. Cross-modal feature alignment and fusion for composed image retrieval. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, pages 8384-8388, 2024. 2
+[64] Kai Wang, Fei Yang, Shiqi Yang, Muhammad Atif Butt, and Joost van de Weijer. Dynamic prompt learning: Addressing cross-attention leakage for text-based image editing. In Advances in Neural Information Processing Systems, pages 26291–26303. Curran Associates, Inc., 2023. 3
+[65] Haokun Wen, Xian Zhang, Xuemeng Song, Yinwei Wei, and Liqiang Nie. Target-guided composed image retrieval. In Proceedings of the 31st ACM International Conference on Multimedia, page 915–923. ACM, 2023. 1
+[66] Hui Wu, Yupeng Gao, Xiaoxiao Guo, Ziad Al-Halah, Steven Rennie, Kristen Grauman, and Rogerio Feris. The fashion iq dataset: Retrieving images by combining side information and relative natural language feedback. CVPR, 2021. 2, 6
+[67] Hui Wu, Min Wang, Wengang Zhou, Zhenbo Lu, and Houqiang Li. Asymmetric Feature Fusion for Image Retrieval. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 11082-11092, Los Alamitos, CA, USA, 2023. IEEE Computer Society. 1
+[68] Yahui Xu, Yi Bin, Jiwei Wei, Yang Yang, Guoqing Wang, and Heng Tao Shen. Align and retrieve: Composition and
+
+decomposition learning in image retrieval with text feedback. IEEE Transactions on Multimedia, 26:9936-9948, 2024. 2
+[69] Zhenyu Yang, Dizhan Xue, Shengsheng Qian, Weiming Dong, and Changsheng Xu. Ldre: Llm-based divergent reasoning and ensemble for zero-shot composed image retrieval. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 80-90, 2024. 6, 7, 8
+[70] Lewei Yao, Runhui Huang, Lu Hou, Guansong Lu, Minzhe Niu, Hang Xu, Xiaodan Liang, Zhenguo Li, Xin Jiang, and Chunjing Xu. FILIP: fine-grained interactive language-image pre-training. CoRR, abs/2111.07783, 2021. 2
+[71] Zelong Zeng, Zheng Wang, Fan Yang, and Shin'ichi Satoh. Geo-localization via ground-to-satellite cross-view image retrieval. IEEE Transactions on Multimedia, 25:2176-2188, 2023. 1
+[72] K. Zhang, Y. Luan, H. Hu, K. Lee, S. Qiao, W. Chen, Y. Su, and M-W. Chang. MagicLens: Self-supervised image retrieval with open-ended instructions. In PMLR, 2024. 2, 4, 6, 7, 8
+[73] Yidan Zhang, Ting Zhang, Dong Chen, Yujing Wang, Qi Chen, Xing Xie, Hao Sun, Weiwei Deng, Qi Zhang, Fan Yang, Mao Yang, Qingmin Liao, Jingdong Wang, and Baining Guo. Irgen: Generative modeling for image retrieval, 2024. 1
\ No newline at end of file
diff --git a/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/images.zip b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..6e84d14f4b5f27d6fe47071656eed450a2b41e98
--- /dev/null
+++ b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:46ddcbea7d6384be3b0bf7e2b5450a22baf8008931df21caacbd47cf0dd264c9
+size 817929
diff --git a/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/layout.json b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..7a0c1297f226273bb26ec098589bdb2dd2495969
--- /dev/null
+++ b/CVPR/2025/ConText-CIR_ Learning from Concepts in Text for Composed Image Retrieval/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:232e82720cb877979df8c5dafc8f6949ff0e50fb3d6bf0f8ce443e2ccf494a58
+size 390254
diff --git a/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_content_list.json b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..3b126b89b788a3972d09067aaee345bbf0af09b3
--- /dev/null
+++ b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:91cc534329a865c6b2c4d815a8427e55440fa421a9f0f0d190bd8310484c5205
+size 85717
diff --git a/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_model.json b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..2b6676f97135709e9efa355217ae7f6acaab077b
--- /dev/null
+++ b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:afb135df60f0c8204ace32d656b8fe0d2ef3fc4a88765c9a8e201ea091e8762a
+size 109287
diff --git a/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_origin.pdf b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..8ef045f53bd554ef59a6a62fd01cc544ab6faa59
--- /dev/null
+++ b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/f841493e-d79e-460e-aa9e-12d127f2b90d_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:353448f76d6713f17b767fd2e24e28512b70b026177afe7011ea660515bb5920
+size 2010412
diff --git a/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/full.md b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..af3083ca4b07a39533bd783571654ae9ff5f5acf
--- /dev/null
+++ b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/full.md
@@ -0,0 +1,372 @@
+# Concept Lancet: Image Editing with Compositional Representation Transplant
+
+Jinqi Luo, Tianjiao Ding, Kwan Ho Ryan Chan, Hancheng Min, Chris Callison-Burch, René Vidal University of Pennsylvania
+
+jinqiluo@upenn.edu
+
+# Abstract
+
+Diffusion models are widely used for image editing tasks. Existing editing methods often design a representation manipulation procedure by curating an edit direction in the text embedding or score space. However, such a procedure faces a key challenge: overestimating the edit strength harms visual consistency while underestimating it fails the editing task. Notably, each source image may require a different editing strength, and it is costly to search for an appropriate strength via trial-and-error. To address this challenge, we propose Concept Lancet (CoLan), a zero-shot plug-and-play framework for principled representation manipulation in diffusion-based image editing. At inference time, we decompose the source input in the latent (text embedding or diffusion score) space as a sparse linear combination of the representations of the collected visual concepts. This allows us to accurately estimate the presence of concepts in each image, which informs the edit. Based on the editing task (replace/add/remove), we perform a customized concept transplant process to impose the corresponding editing direction. To sufficiently model the concept space, we curate a conceptual representation dataset, CoLan-150K, which contains diverse descriptions and scenarios of visual terms and phrases for the latent dictionary. Experiments on multiple diffusion-based image editing baselines show that methods equipped with CoLan achieve state-of-the-art performance in editing effectiveness and consistency preservation.
+
+# 1. Introduction
+
+How can we edit a given image following a specified conceptual guidance, say Cat $\rightarrow$ Dog or Sketch $\rightarrow$ Painting? This problem was briefly discussed in the early work of Image Analogies [12] in the 2000s, widely studied in the era of generative adversarial networks [19, 70], and recently revolutionized by diffusion models [14, 48]. Not only do diffusion models shine in producing realistic images [42, 46], but they also allow for conditioning on multimodal guidance such as text prompts [21, 45] and regional masks [1, 16, 68], making it handy for image editing.
+
+In this paper, we consider the task of utilizing diffusion
+
+
+Figure 1. Given a source image and the editing task, our proposed CoLan generates a concept dictionary and performs sparse decomposition in the latent space to precisely transplant the target concept.
+
+models for image editing that impose desired concepts based on user prompts. Specifically, given a source image and its source caption, our task is to modify the content, appearance, or pattern of the image based on a given target prompt. To accomplish it with diffusion models, a basic idea is to first use the score predictor to perform the noising process (e.g., DDIM Inversion [49]) and then follow the denoising process conditioned on the target concept. Such conditioning in the diffusion-based backbones typically happens in a structured latent space (score or text embedding space; to be detailed in §2), where one moves a source latent vector towards an edit direction (i.e., the shift from the source concept to the target concept). A fruitful series of works have contributed to enhancing the inversion process [17, 18, 27, 36, 51], innovating attention controls [4, 11, 40, 65], and tuning the backbone with conditional instructions [3, 9, 39, 71].
+
+Despite the remarkable progress, an often overlooked issue is the magnitude of the concept representation to be imposed, that is, determining how far to move along the edit direction. Prior works [40, 65] typically assume a certain amount of editing without adjusting the magnitude based on the contexts or existing concepts of the given image. Such a heuristic choice can be problematic as we show in Figure 2: adding too much of the edit may overwhelm the image with the target concept (Image (4)), while too little may fail to fully remove the source concept (Image (2)). Hence, since the presence of the source concept varies in every image, proper estimation of the edit magnitude is necessary for accurate editing.
+
+To address the aforementioned issue, we draw inspiration
+
+from low-dimensional [22, 28] and compositional [25, 59] structures in latent representations of diffusion models. In this paper, we propose Concept Lancet (CoLan), a zero-shot plug-and-play framework to interpret and manipulate sparse representations of concepts for diffusion-based image editing. Our intuition is to sufficiently model the latent spaces to analyze how much each concept is present in the source representation, which allows for accurate transplant from the source concept to the target one in the proper magnitude. We state our contributions and workflows as follows:
+
+- (§3.1) To allow for such an analysis, one needs a dictionary of directions representing diverse concepts. Existing dictionaries are limited since they either contain concepts without clear visual meanings (e.g., "hardship"), lack phrases (e.g., "made of wood"), or have only a limited number of concepts. Thus, we collect a conceptual representation dataset, CoLan-150K, of diverse descriptions for visual concepts and compute a dictionary of concept vectors to the latent (text embedding or score) space.
+- (§3.2) At inference time, we propose to decompose the source latent vector as a linear combination of the collected visual concepts to inform the edit. To mitigate the optimization inefficiency with an overcomplete dictionary, we instruct a vision-language model (VLM) to parse image-prompt tuples into a representative list of visual concepts as dictionary atoms. For common editing tasks of replacing, we switch the source concept vector in the decomposition with our target concept vector and synthesize the edited image with the backbone. The task of adding or removing concepts can be recasted as special cases of concept replacing, detailed in the method section.
+- (§4) We conduct quantitative comparisons on multiple diffusion-based image editing baselines and qualitative evaluations on the visual synthesis. Methods equipped with CoLan achieve state-of-the-art performance in editing effectiveness and consistency preservation. Notably, the plug-and-play design of our method provides flexibility in the choice of backbones and latent spaces.
+
+# 2. Preliminaries in Diffusion-Based Editing
+
+This section briefly discusses diffusion-based image editing and how it involves a representation manipulation process in either the text embedding or the score space.
+
+DDIM Inversion. Diffusion model samples a new image $z_0$ by gradually denoising a standard Gaussian $z_T$ through the following reverse-time conditional denoising process:
+
+$$
+\begin{array}{l} \boldsymbol {z} _ {t - 1} = \sqrt {\alpha_ {t - 1}} \cdot \left(\frac {\boldsymbol {z} _ {t} - \sqrt {1 - \alpha_ {t}} \boldsymbol {\epsilon} _ {\boldsymbol {\theta}} (\boldsymbol {z} _ {t} , t , \boldsymbol {c})}{\sqrt {\alpha_ {t}}}\right) \\ + \sqrt {1 - \alpha_ {t - 1} - \sigma_ {t} ^ {2}} \cdot \boldsymbol {\epsilon} _ {\boldsymbol {\theta}} (\boldsymbol {z} _ {t}, t, \boldsymbol {c}) \\ + \sigma_ {t} \boldsymbol {\epsilon} _ {t}, \text {w i t h} \boldsymbol {\epsilon} _ {t} \sim \mathcal {N} (0, I), \tag {1} \\ \end{array}
+$$
+
+where $z_{t}$ is the denoised image at time $t$ ( $t = 0, \dots, T$ ), $c$ is the text embedding of the caption of the image to be
+
+
+Figure 2. Representation manipulation in diffusion models involves adding an accurate magnitude of edit direction (e.g., Image (3) by CoLan) to the latent source representation. Figure 5 and Figure 7 show more examples.
+
+sampled, and $\epsilon_{\theta}(\boldsymbol{z}_t,t,\boldsymbol{c})$ models the score function [50] for noise prediction. With the choice of $\sigma_t = 0$ , the denoising process in (1) enables DDIM inversion [49]. Specifically, one replaces the forward process with the iterative calling of $\epsilon_{\theta}(\cdot ,t,\boldsymbol {c})$ to predict the forward noise for the source $z_0$ . The forward process often stores anchor information (e.g., attention map) [4, 11, 40, 65]. Then the reverse process samples the target image $z_0^{\prime}$ with visual features corresponding to altered concepts. The key ideas are first to utilize the anchor information such that the denoising process can faithfully reconstruct $z_0$ when conditioned on $c$ (often called sampling in the reconstruction/source branch), and then to further implant (1) with a representation manipulation procedure.
+
+For simplicity, we describe the basic DDIM paradigm here. We further elaborate variants of inversion methods for exact recovery of $z_0$ [18, 65] and different diffusion backbones (e.g., Stable Diffusion [43, 45], Consistency Model [34, 51]) in Appendix §6 and §7.
+
+Steering Reverse Process. Prior works have different choices of representation manipulation in the space of text embeddings [44] or diffusion scores [31] to vary visual synthesis. A general paradigm is to impose an editing direction $(\Delta \epsilon$ or $\Delta c)$ to the latent representation (the score function prediction $\epsilon_{\theta}(\cdot ;t,c)$ or the text embedding $c$ , respectively) in the editing backbone. Sampling with manipulated concepts is often called sampling in edit/target branch.
+
+- (Text Embedding Space) For instance, the work of [40] edits the concept by manipulating the $c$ in Equation 1 as
+
+$$
+\boldsymbol {c} _ {\text {e d i t}} = \boldsymbol {c} _ {\text {s o u r c e}} + w \left(\boldsymbol {c} _ {\mathrm {A}} - \boldsymbol {c} _ {\mathrm {B}}\right),
+$$
+
+where $\Delta c = c_{\mathrm{A}} - c_{\mathrm{B}}$ is a generalized direction denoting the shift from concept B towards concept A. In fact, this formulation of Vector Addition (VecAdd) can be traced back to word embeddings in language models: the work of [35] observes that $c_{\mathrm{queen}} \approx c_{\mathrm{king}} + w \cdot (c_{\mathrm{woman}} - c_{\mathrm{man}})$ , where $c_{\mathrm{king}}$ can be viewed as a source latent vector and $c_{\mathrm{woman}} - c_{\mathrm{man}}$ as an editing direction. Recent years have also witnessed such
+
+Source Image
+
+Adorable [cat] sits on green grass, with an attentive look.
+
+Source Prompt
+Target Prompt
+Figure 3. The CoLan framework. Starting with a source image and prompt, a vision-language model extracts visual concepts (e.g., cat, grass, sitting) to construct a concept dictionary. The source representation is then decomposed along this dictionary, and the target concept (dog) is transplanted to replace the corresponding atom to achieve precise edits. Finally, the image editing backbone generates an edited image where the desired target concept is incorporated without disrupting other visual elements.
+
+Adorable [dog] sits on green grass, with an attentive look.
+
+an idea being applied to steering activations of large language models (LLMs) [33, 57, 72] and VLMs [6, 30, 53, 54].
+
+- (Score Space) Such an idea has also been applied in the score space by adding a score $\epsilon$ with a $\Delta \epsilon$ . For instance, the work of [2, 8, 13] considered the recipe
+
+$$
+\epsilon_ {\text {e d i t}} = \epsilon_ {\boldsymbol {\theta}} (\cdot ; t, \boldsymbol {c} _ {\text {s o u r c e}}) + w \left(\epsilon_ {\boldsymbol {\theta}} (\cdot ; t, \boldsymbol {c} _ {\text {t a r g e t}}) - \epsilon_ {\boldsymbol {\theta}} (\cdot ; t, \boldsymbol {c} _ {\text {s o u r c e}})\right),
+$$
+
+where $\epsilon_{\theta}(\cdot ;t,c_{\mathrm{source}})$ can be treated as the source latent vector $\epsilon ,\epsilon_{\theta}(\cdot ;t,c_{\mathrm{target}}) - \epsilon_{\theta}(\cdot ;t,c_{\mathrm{source}})$ as the edit direction $\Delta \epsilon$ and $w$ controls the amount of edit. One can also implement $c_{\mathrm{source}} = \emptyset$ to have the unconditional score. More generally, there is a line of works [5, 8, 13, 59, 62, 65] involving the above formulation to steer or edit the synthesis.
+
+# 3. Our Method: Concept Lancet
+
+With the above background we are ready to propose our method for accurate representation manipulation in diffusion-based image editing. The high-level idea is that, instead of arbitrarily setting the amount of edit, we will estimate what and how much concepts are present in the source image to inform the edit. This is done via collecting a dictionary of concept vectors in the latent space and decomposing the source latent vector into a linear combination of the dictionary atoms to allow the concept transplant procedures, which we shall discuss in §3.1 and §3.2 respectively.
+
+# 3.1. Concept Dictionary Synthesis
+
+Here the main goal is to collect a diverse set of concepts (and the corresponding concept vectors in the latent space) that are both visually meaningful and relevant for image editing, such that the decomposition of a source latent vector captures important visual elements and allows potential modifications for effective editing. This naturally boils down to two steps: curating visual concepts for stimulus synthesis and extracting
+
+a concept vector from the stimuli. We describe our approach below and compare it with the alternatives in the literature.
+
+Curating Visual Concepts. Constructing domain-specific concepts is widely adopted for evaluating and controlling generative foundation models [23, 24, 26, 29, 63, 64]. To model the rich semantics of a given concept, an emerging line of work collects textual concept stimuli (i.e., a set of examples, descriptions, and scenarios) for downstream LLM or diffusion editing tasks [33, 40, 57, 72]. There are three issues when applying these concepts in editing images:
+
+- Many concepts for editing LLMs [33, 72], such as "honesty" or "hardship," are not catered to image editing in diffusion models. Existing concept stimuli are typically in a specialized format for LLM activation reading (e.g., begin with second-person pronouns).
+- Such concepts primarily focus on single-word descriptor (e.g. "love", "friendship"), rather than multi-word phrases (e.g., "wearing sunglasses" or "made of wood") that are helpful to model visual space.
+- Existing collection of concepts for image editing has a limited number of concept vectors open-sourced (e.g., less than 20 in [40] and less than 50 in [32, 41]).
+
+To address these issues, we curate a comprehensive set of visual concepts relevant to image editing tasks. Specifically, for each editing task that consists of a source image, a source prompt, and an editing prompt, we employ a VLM [37] to parse the image prompts tuple and generate a list of relevant visual concepts. This step ensures that our concepts are both visually grounded and editing-relevant.
+
+We then instruct an LLM [38] with in-context demonstrations of stimulus synthesis to generate diverse stimuli for each concept to capture various contexts in which the concept shows up. The instructions are shown in Appendix §10. After collecting concepts across all editing tasks, we obtain 5,078 concepts and a total of 152,971 concept stim
+
+
+Figure 4. Samples of the concept stimuli from CoLan-150K. Additional samples are attached in the Appendix §8.
+
+uli, which we call CoLan-150K. Figure 4 shows samples of the concept stimuli in our dataset. Compared to existing collections of conceptual representation for diffusion-based editing, CoLan-150K represents a significant scaling up and provides richer and more diverse representations for each concept. By sampling various observations of a concept, the large set of stimuli helps accurately estimate a representation that is robust to changes in contexts.
+
+Concept Vector Extraction. Given the stimuli for each concept, we now need to extract a representative direction in the latent space. Let $x$ be a concept (e.g., "wearing sunglasses") and $s_1^x, \ldots, s_K^x$ be its corresponding stimuli. We first map each stimulus into the latent space using the text encoder $E$ of the diffusion model1. To read a robust concept vector from the collection of embeddings of stimuli, we draw inspiration from prior arts on Representation Reading (RepRead) and propose two options: Arithmetic Average (Avg) [33, 40, 52, 72] or Principal Component Analysis (PCA) [30, 33, 72] on the set of embedding vectors. Avg directly returns the mean of all stimulus embeddings and PCA returns the first principal component of embeddings as the concept vector:
+
+$$
+\boldsymbol {d} _ {x} = \operatorname {R e p R e a d} \left(E \left(\boldsymbol {s} _ {1} ^ {x}\right), \dots , E \left(\boldsymbol {s} _ {K} ^ {x}\right)\right). \tag {2}
+$$
+
+For each given source image, a specific collection of concept vectors $\{d_{x_i}\}_{i = 1}^N$ will form the concept dictionary, which will be further used for decomposition analysis during inference (§3.2). Figure 4 shows samples of concepts and their associated stimuli. We use Avg for the representation reading stage in the experiments since it is more computationally efficient.
+
+# 3.2. Concept Transplant via Sparse Decomposition
+
+Now that we have obtained a concept dictionary, we are ready to describe how we decompose the latent code of the image along the dictionary and transplant the concept.
+
+Selecting Task-Specific Concepts. While our concept dictionary provides a comprehensive collection of visual concepts, not all concepts are relevant to a specific editing task. To avoid spurious decompositions and make the method efficient, the VLM parses the source image-prompt pair and identifies pertinent task-relevant concepts, as we have done
+
+in §3.1. The corresponding concept vectors are then assembled into a dictionary matrix $D \in \mathbb{R}^{d \times N}$ , where $d$ is the dimension of the latent space and $N$ is the number of concepts in the dictionary. More details of constructing the dictionary in a specific latent space (e.g., CLIP text embedding space) are shown in Appendix §7.
+
+Concept Analysis. Given a source latent vector $\mathbf{v}$ (either from the text encoder or score function), we decompose it along the directions in $\pmb{D}$ through sparse coding. That is, we solve the following optimization problem:
+
+$$
+\boldsymbol {w} ^ {*} = \underset {\boldsymbol {w}} {\operatorname {a r g m i n}} \| \boldsymbol {v} - \boldsymbol {D} \boldsymbol {w} \| _ {2} ^ {2} + \lambda \| \boldsymbol {w} \| _ {1} \tag {3}
+$$
+
+where solutions of concept coefficients $\boldsymbol{w} \in \mathbb{R}^n$ and $\lambda > 0$ is a regularization parameter that controls the sparsity of the solution. In practice, we realize the sparse solver with Elastic Net [66]. Such a decomposition yields
+
+$$
+\boldsymbol {v} = \boldsymbol {D} \boldsymbol {w} ^ {*} + \boldsymbol {r} \tag {4}
+$$
+
+where $\boldsymbol{w}^*$ contains the solved coefficients of each concept vector for composition and $\boldsymbol{r}$ is the residual not explained by the concepts in $\pmb{D}$ .
+
+Concept Transplant. To perform the representation manipulation, we construct a modified dictionary $D'$ by replacing the column of the source concept vector with that of the target concept. The edited latent representation is then obtained as $\boldsymbol{v}' = D' \boldsymbol{w}^* + \boldsymbol{r}$ . This transplant scheme preserves the compositional coefficients estimated from the source representation while substituting the relevant concept vector. It imposes the desired concept while maintaining the overall structure of the remaining concepts in the source image.
+
+We note that this concept replacing scheme generalizes to concept insertion and removal. Indeed, concept removal can be viewed as setting the target concept as the null concept; we extract a direction for the null concept using the same procedure as described in §3.1 with stimuli as empty sentences. On the other hand, the case of concept insertion is more subtle since there is no explicit source concept to replace. Hence we instruct the VLM to comprehend the source image and the target prompt to suggest an appropriate source concept as the counterpart of the target concept. For example, if the task is to add concept [rusty] to an image of a normal bike, the VLM will identify the concept [normal] for the concept dictionary and the following replacement.
+
+Table 1. Evaluation of different baselines using Concept Lancet or Vector Addition. The best performance of each category is in bold and the second best is underlined. For each metric under Consistency Preservation, the number on the left is evaluated on the whole image, and the number on the right is evaluated on the background (outside the edit mask).
+
+
Representation Manipulation
Inversion
Backbone
Consistency Preservation
Edit Effectiveness (%, ↑)
StruDist (×10-3, ↓)
PSNR (↑)
LPIPS (×10-3, ↓)
SSIM (%, ↑)
Target Image
Target Concept
N.A.
DDIM
P2P [11]
69.01
39.09
15.04
17.19
340.3
221.3
56.56
70.36
24.35
21.10
N.A.
DI
P2P [11]
11.02
5.963
22.71
27.24
114.1
54.68
75.08
84.57
24.82
22.07
N.A.
DI
MasaCtrl [4]
23.34
10.40
19.12
22.78
160.8
87.38
71.12
81.36
24.42
21.37
VecAdd
DI
P2P-Zero [40]
53.04
25.54
17.65
21.59
273.8
142.4
61.78
76.60
23.16
20.81
CoLan
DI
P2P-Zero [40]
15.91
6.606
23.08
26.08
120.3
68.43
75.82
83.55
23.84
21.13
VecAdd
VI
InfEdit [65]
27.18
17.24
21.83
27.99
136.6
56.65
71.70
84.64
24.80
22.04
CoLan
VI
InfEdit (E) [65]
16.21
8.025
22.13
28.04
125.9
55.05
74.96
84.72
24.90
22.12
CoLan
VI
InfEdit (S) [65]
13.97
6.199
23.42
28.46
110.3
53.04
75.51
85.12
24.94
22.45
+
+# 4. Experimental Results
+
+We provide quantitative evaluations for baselines in §4.1 and qualitative observations in §4.2. Finally, we provide visual analysis of the concept vectors from CoLan-150K in §4.3.
+
+# 4.1. Quantitative Evaluation
+
+We perform a standardized quantitative evaluation of CoLan against current methods with PIE-Bench [18]. Its editing tasks are based on a broad collection of image sources (e.g., TEdBench [20], TI2I benchmark [56]) with diverse scene types and editing categories.
+
+Baselines. We compare editing backbones that fall into two categories based on their concept transfer approach: (1) mechanistic swap of attention maps including P2P [11] and MasaCtrl [4], and (2) representation manipulation that enables us to plug CoLan in the diffusion score space (S) of InfEdit [65] and the text embedding space (E) of both InfEdit and P2P-Zero [40]. We cover multiple inversion approaches such as DDIM [49], Direct Inversion (DI) [18], and Virtual Inversion (VI) [65]. Further implementation details can be found in Appendix §7.
+
+Metrics. The two main criteria are Consistency Preservation and Edit Effectiveness. Consistency Preservation is a set of metrics aimed at evaluating the amount of semantic information preserved during image editing. We report the Structure Distance (StruDist) [55], PSNR [15], LPIPS [69], and SSIM [58]. On the other hand, Edit Effectiveness measures the correctness of the edited part, and it is evaluated by two metrics: Target Image metric computes the CLIP similarity [44, 61] between the edited text and the edited image, whereas Target Concept metric computes the CLIP similarity between the edited text and the edit-masked region of the target image.
+
+Results. Table 1 reports our results. All backbones equipped with CoLan have improved Edit Effectiveness, which indicates that CoLan accurately edits images towards the desired target concept. Moreover, we observe that backbones with
+
+CoLan achieve better consistency preservation across the board. For instance, on the P2P-Zero backbone, CoLan is able to achieve a lower StruDist and LPIPS by nearly $50\%$ and a higher PSNR and SSIM by about $10\%$ . While DI with P2P achieves the best StruDist, CoLan ranks a very close second for StruDist and overall achieves better performance on all rest of the consistency metrics. We argue that StruDist computes an average difference between the DINO-V2 feature maps of the two images. Hence this single metric is largely dependent on a specific transformer, and checking holistically four metrics is a fairer way for consistency evaluation. Notably, InfEdit with CoLan in the score space has the most outstanding performance across multiple metrics.
+
+Additionally, Table 2 shows the average time of sparse decomposition of CoLan using the CLIP space of InfoEdit and P2P-Zero backbones. We observe that, since VLM helps make the dictionary concise, the decomposition only occupies a small proportion of the total editing time. This demonstrates that CoLan is efficient and inexpensive relative to the overall computation cost of inference in diffusion models. Furthermore, Table 3 compares the editing performance of CoLan given different dictionary sizes. As expected, we observe that a larger CoLan dictionary is better at capturing the presence of existing concepts in the source image, leading to stronger editing performance. Overall, our quantitative experiments demonstrate that the concept transplant process of CoLan benefits from proper accurate and sparse concept representations that exist in the CLIP space and the diffusion score space for better image editing performance.
+
+# 4.2. Qualitative Observation
+
+This section provides qualitative results of edited images. We compare the visual quality between images edited with a given backbone and that complemented with CoLan.
+
+# 4.2.1. Visual Comparison
+
+Each target image can be segmented into two parts: i) the region of interest, which corresponds to the source concept and should be edited to express the target concept; and ii)
+
+
+a poster of [a bus driving down] a road with mountains in the background. [a bus driving down] $\rightarrow$ [Source Image P2P-Zero + CoLan
+
+
+
+
+
+
+a lone tree is reflected in the water at night [with a bright moon]. [with a bright moon] $\rightarrow$ [Source Image P2P-Zero +CoLan
+
+
+Figure 5. Visual comparisons of CoLan in the text embedding space of P2P-Zero. Texts in gray are the original captions of the source images from PIE-Bench, and texts in blue are the corresponding edit task (replace, add, remove). [x] represents the concepts of interest, and [] represents the null concept.
+
+
+
+
+photo of a [goat] and a cat standing on rocks near the ocean. [goat] $\rightarrow$ [horse] Source Image P2P-Zero + CoLan
+
+
+
+
+
+
+a [meerkat] puppy wrapped in a blue towel.
+[meerkat] $\rightarrow$ [lion]
+Source Image P2P-Zero + CoLan
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Figure 6. The histograms of solved magnitudes of the concept atoms in CoLan decomposition (text embedding space). As there are tens of concepts in a single dictionary, the histogram includes the concepts whose CoLan coefficients have the top 10 largest magnitudes.
+
+
+
+the background, whose contents should be intact through the editing process. Here, we qualitatively analyze these two aspects when using CoLan for image editing.
+
+Ideally, the provided editing should be accurately reflected in the region of interest. We observe that editing with the backbone alone often results in either exaggerated or understated editing. For example, in the task of modifying from [spaceship] to [eagle] in Figure 7 (caption: "a woman in a dress standing in front of a [spaceship]", the InfEdit backbone alone yields an edited image where the region of interest only resembles an ambiguous bird, whereas an eagle is clearly visible when plugging with CoLan. Moreover, in Figure 5, the example with the caption "a [meerkat] puppy wrapped in a blue towel." has a blue towel wrapped around the meerkat in the source image. With the P2P-Zero backbone alone, the towel is missing from the output image, whereas the output after plugging CoLan has the blue towel in nearly the same position as that in the source image.
+
+As seen, for both the regions of interest and backgrounds, edited images are of higher quality when a backbone method
+
+Table 2. Average time of sparse decomposition in CoLan for different backbones.
+
+
Backbone
Metric
Time (s)
Proportion (%)
P2P-Zero
Editing Process
38.74
100
Sparse Decomposition
0.153
0.394
Infedit (S)
Editing Process
2.198
100
Sparse Decomposition
0.084
3.82
+
+runs with CoLan. We postulate that this is possible because CoLan respects the geometry of the concept vectors via sparse decomposition. By identifying the correct coefficients, our concept transplant is precise and does not significantly affect non-targeted semantics.
+
+# 4.2.2. Representation Decomposition
+
+One of the key steps in our approach (discussed in §3.2) is to linearly decompose the latent representation (from the editing backbone) into a sparse combination of dictionary atoms. The success of our downstream editing task hinges on finding a proper set of concepts coefficients that accurately
+
+
+Figure 7. Visual comparisons of CoLan in the score space (first row) and text embedding space (second row) of InfEdit. Texts in gray are the original captions of the source images from PIE-Bench, and texts in blue are the corresponding edit task (replace, add, remove).
+
+
+
+
+
+
+Figure 8. The histograms of solved magnitudes of the concept atoms in CoLan decomposition (score space). The histogram includes the concepts whose CoLan coefficients have the top 10 largest magnitudes.
+
+
+
+
+
+
+
+reflects the semantics in the source image. Here we verify that CoLan indeed finds and analyzes representative concepts that are visibly contributive to the given image.
+
+Figures 6 and 8 present the magnitude histograms of the concept coefficients solved by CoLan in the CLIP space and score space respectively. For decompositions in the score space (Figure 8), take as an example on the leftmost captioned "a colorful bird standing on a branch". CoLan finds the top three concepts in the image including "bird", "beak", and "detailed plumage", all of which are concepts relevant to the bird in the provided image. Similarly, take the second image captioned "an orange cat sitting on top of a fence" in Figure 6. The top concepts in the histogram are key semantics including "cat", "fence" and "orange". Overall, in both spaces, CoLan is able to find descriptive concepts and solve coefficients to accurately reflect the composition of semantics.
+
+# 4.3. Representation Analysis in CoLan-150K
+
+This section studies the concept vectors obtained from diverse concept stimuli of our CoLan-150K dataset. We evaluate the grounding of the concept vectors in §4.3.1 and the variability of the concept in the edited images in §4.3.2.
+
+Table 3. Average performance of backbones with CoLan for different dictionary sizes $(N)$
+
+
Backbone
Metric
N=5
N=10
N=20
N=30
P2P-Zero
LPIPS (×10-3, ↓)
135.6
107.1
80.12
72.85
Target Concept
20.83
20.99
21.10
21.14
Infedit (S)
LPIPS (×10-3, ↓)
56.28
55.87
53.96
53.11
Target Concept
22.05
22.09
22.38
22.40
+
+# 4.3.1. Concept Grounding
+
+An extracted concept vector is grounded when the vector serves effectively in the editing backbone to impose the corresponding visual semantics in the image. For instance, if we use representation reading [33, 40, 57, 72] to convert the stimuli under [green] to the concept vector, then we would expect to see the color 'green' as we add this vector in the image editing backbone.
+
+We verify that our concept vectors are grounded in the following way. For a given concept $[x]$ , we extract its concept vector from CoLan-150K. Then we generate the edited images by adding the concept vector in the backbone for every source image. Lastly, we evaluate the difference be
+
+
+Figure 9. Visualizations of edited images with decreasing strength of the concept [fresh] extracted from our CoLan-150K dataset. The values on top correspond to the coefficient $\boldsymbol{w}_{\mathrm{fresh}}$ for removing the concept $\boldsymbol{d}_{\mathrm{fresh}}$ . CoLan solves $\boldsymbol{w}_{\mathrm{fresh}}^*$ of -0.977 for the apple and -1.16 for the lotus.
+
+tween the CLIP.source image, “x”) and CLIP(edited image, “x”). If the given concept vector is indeed grounded, we would expect to see an increase in the metric. In Table 4, we sample three of the concept directions [watercolor], [dog], [wearing hat], and apply P2P-Zero with CoLan to every source image in PIE-Bench. We further divided the results based on the four image types: Artificial, Natural, Indoor, and Outdoor. Across all image types and our given concepts, we observe a significant increase in the CLIP similarity, which means that the edited images are indeed towards the desired concept direction, and the concept vectors are grounded. The results with more concepts and visualization can be found in Appendix §8.
+
+# 4.3.2. Comparing Editing Strengths
+
+As we argued in §2, proper image editing requires well-estimated edit strength that depends on the presence of concepts in the given source image. Visualizing the progressive changes of the source image along the desired edit direction [7, 10, 41, 47] offers insights for estimating edit strength. Here we compare the editing effects of the concept vectors from our CoLan-150K dataset with grids of coefficients. Figure 9 and Figure 10 experiment with two scenarios: concept removal and concept addition, respectively.
+
+Take the top row of Figure 10 as an example. Our task here is to add the target concept [green] to our source image of an apple. Our method CoLan solves the concept coefficient $\boldsymbol{w}_{\mathrm{green}}^{*} = 0.586$ . Comparing to edited images by a range of $\boldsymbol{w}_{\mathrm{green}}$ , we observe that the edited images with $\boldsymbol{w}_{\mathrm{green}} > 0.586$ gradually appear over-edited and corrupted, whereas images with $0 < \boldsymbol{w}_{\mathrm{green}} < 0.586$ are still under-edited for the target concept. More concretely, we observe that the green color is not visible at $\boldsymbol{w}_{\mathrm{green}} = 0$ and is visible at $\boldsymbol{w}_{\mathrm{green}} = 0.6$ . Eventually, a brown patch appears on top at $\boldsymbol{w}_{\mathrm{green}} = 0.9$ , and the apple morphed into a corrupted object at $\boldsymbol{w}_{\mathrm{green}} = 1.5$ . Similarly, for concept removal in the second row Figure 9, our method CoLan solves the concept coefficient $\boldsymbol{w}_{\mathrm{fresh}}^{*} = -1.16$ . We observe that result images of the lotus with $\boldsymbol{w}_{\mathrm{fresh}} < -1.16$ appear over-edited, whereas those with $0 > \boldsymbol{w}_{\mathrm{fresh}} > -1.16$ are under-edited. In summary, our
+
+
+Figure 10. Visualizations of edited images with increasing strength of the concept [green] extracted from our CoLan-150K dataset. The values on top correspond to the coefficient $w_{\mathrm{green}}$ for adding the concept vector $d_{\mathrm{green}}$ . CoLan solves $w_{\mathrm{green}}^*$ of 0.586 for the apple and 0.695 for the rose.
+
+Table 4. Grounding of sampled concept directions in CoLan-150K.
+
+
Concept Direction
Image Type
Source
Edited
Increase (%, ↑)
[watercolor]
Artificial
15.20
18.08
18.95
Natural
12.37
18.31
48.02
Indoor
12.94
16.69
28.98
Outdoor
14.19
19.08
34.46
[dog]
Artificial
14.18
19.28
35.97
Natural
13.28
18.65
40.49
Indoor
12.46
18.29
46.81
Outdoor
13.08
18.35
40.29
[wearing hat]
Artificial
12.58
14.77
17.41
Natural
11.73
14.02
19.49
Indoor
10.25
12.18
18.83
Outdoor
11.28
13.34
18.28
+
+results demonstrate that a suitable choice of the strength is important for high-quality image editing, and CoLan outputs a solution that has edit effectiveness while preserving the visual consistency.
+
+# 5. Conclusion
+
+This paper presents Concept Lancet (CoLan), a zero-shot, plug-and-play framework for principled representation manipulation in diffusion-based image editing. By leveraging a large-scale curated dataset of concept representation (CoLan150K), we extract a contextual dictionary for the editing task and perform sparse decomposition in the latent space to accurately estimate the magnitude of concept transplant. Image editing backbones plugging with CoLan achieve state-of-the-art performance in editing tasks while better maintaining visual consistency. Through extensive quantitative and qualitative evaluations across multiple perspectives, we demonstrate CoLan's strong capability to interpret and improve the image editing process. We provide further discussions on limitations, future developments, and societal impacts in Appendix §9.
+
+# Acknowledgment
+
+This research is supported in part by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA), via a grant of the BEN-GAL Program and a grant of the HIATUS Program (Contract #2022-22072200005), by the Defense Advanced Research Projects Agency's (DARPA) SciFy program (Agreement No. HR00112520300), and by the Penn Engineering Dean's Fellowship. The views expressed are those of the author and do not reflect the official policy or position of the Department of Defense or the U.S. Government.
+
+# References
+
+[1] Omri Avrahami, Dani Lischinski, and Ohad Fried. Blended diffusion for text-driven editing of natural images. In CVPR, 2022.
+[2] Manuel Brack, Felix Friedrich, Katharia Kornmeier, Linoy Tsaban, Patrick Schramowski, Kristian Kersting, and Apolinario Passos. Ledits++: Limitless image editing using text-to-image models. In CVPR, 2024.
+[3] Tim Brooks, Aleksander Holynski, and Alexei A. Efros. Instructpix2pix: Learning to follow image editing instructions. In CVPR, 2023.
+[4] Mingdeng Cao, Xintao Wang, Zhongang Qi, Ying Shan, Xiaohu Qie, and Yinqiang Zheng. Masactrl: Tuning-free mutual self-attention control for consistent image synthesis and editing. In ICCV, 2023.
+[5] Siyi Chen, Huijie Zhang, Minzhe Guo, Yifu Lu, Peng Wang, and Qing Qu. Exploring low-dimensional subspaces in diffusion models for controllable image editing. arXiv preprint arXiv:2409.02374, 2024.
+[6] Guillaume Couairon, Matthijs Douze, Matthieu Cord, and Holger Schwenk. Embedding arithmetic of multimodal queries for image retrieval. In CVPR, 2022.
+[7] Rohit Gandikota, Joanna Materzynska, Tingrui Zhou, Antonio Torralba, and David Bau. Concept sliders: Lora adaptors for precise control in diffusion models. arXiv preprint arXiv:2311.12092, 2023.
+[8] Rohit Gandikota, Joanna Materzyńska, Jaden Fiotto-Kaufman, and David Bau. Erasing concepts from diffusion models. In ICCV, 2023.
+[9] Zigang Geng, Binxin Yang, Tiankai Hang, Chen Li, Shuyang Gu, Ting Zhang, Jianmin Bao, Zheng Zhang, Han Hu, Dong Chen, and Baining Guo. Instructdiffusion: A generalist modeling interface for vision tasks. arXiv preprint arXiv:2309.03895, 2023.
+[10] Zhenliang He, Wangmeng Zuo, Meina Kan, Shiguang Shan, and Xilin Chen. Attgan: Facial attribute editing by only changing what you want. In IEEE TIP, 2019.
+[11] Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-or. Prompt-to-prompt image editing with cross-attention control. In ICLR, 2023.
+[12] Aaron Hertzmann, Charles E. Jacobs, Nuria Oliver, Brian Curless, and David H. Salesin. Image analogies. In SIGGRAPH, 2001.
+
+[13] Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.
+[14] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In NeurIPS, 2020.
+[15] Alain Hore and Djemel Ziou. Image quality metrics: Psnr vs. ssm. In ICPR, 2010.
+[16] Wenjing Huang, Shikui Tu, and Lei Xu. Pfb-diff: Progressive feature blending diffusion for text-driven image editing. arXiv preprint arXiv:2306.16894, 2023.
+[17] Inbar Huberman-Spiegelglas, Vladimir Kulikov, and Tomer Michaeli. An edit friendly DDPM noise space: Inversion and manipulations. In CVPR, 2024.
+[18] Xuan Ju, Ailing Zeng, Yuxuan Bian, Shaoteng Liu, and Qiang Xu. Pnp inversion: Boosting diffusion-based editing with 3 lines of code. In ICLR, 2024.
+[19] Tero Karras, Samuli Laine, and Timo Aila. A Style-Based Generator Architecture for Generative Adversarial Networks. In CVPR, 2019.
+[20] Bahjat Kawar, Shiran Zada, Oran Lang, Omer Tov, Huiwen Chang, Tali Dekel, Inbar Mosseri, and Michal Irani. Imagic: Text-based real image editing with diffusion models. In CVPR, 2023.
+[21] Levon Khachatryan, Andranik Movsisyan, Vahram Tadevosyan, Roberto Henschel, Zhangyang Wang, Shant Navasardyan, and Humphrey Shi. Text2video-zero: Text-to-image diffusion models are zero-shot video generators. In ICCV, 2023.
+[22] Gwanghyun Kim, Taesung Kwon, and Jong Chul Ye. Diffusionclip: Text-guided diffusion models for robust image manipulation. In CVPR, 2022.
+[23] Tony Lee, Michihiro Yasunaga, Chenlin Meng, Yifan Mai, Joon Sung Park, Agrim Gupta, Yunzhi Zhang, Deepak Narayanan, Hannah Benita Teufel, Marco Bellagente, Minguk Kang, Taesung Park, Jure Leskovec, Jun-Yan Zhu, Li Fei-Fei, Jiajun Wu, Stefano Ermon, and Percy Liang. Holistic evaluation of text-to-image models. In NeurIPS Datasets and Benchmarks Track, 2023.
+[24] Bowen Li, Zhaoyu Li, Qiwei Du, Jinqi Luo, Wenshan Wang, Yaqi Xie, Simon Stepputtis, Chen Wang, Katia Sycara, Pradeep Ravikumar, Alexander Gray, Xujie Si, and Sebastian Scherer. Logicity: Advancing neuro-symbolic ai with abstract urban simulation. In NeurIPS Datasets and Benchmarks Track, 2024.
+[25] Hang Li, Chengzhi Shen, Philip Torr, Volker Tresp, and Jindong Gu. Self-discovering interpretable diffusion latent directions for responsible text-to-image generation. In CVPR, 2024.
+[26] Manling Li, Shiyu Zhao, Qineng Wang, Kangrui Wang, Yu Zhou, Sanjana Srivastava, Cem Gokmen, Tony Lee, Li Erran Li, Ruohan Zhang, et al. Embodied agent interface: Benchmarking llms for embodied decision making. In NeurIPS Datasets and Benchmarks Track, 2024.
+[27] Senmao Li, Joost van de Weijer, Taihang Hu, Fahad Shahbaz Khan, Qibin Hou, Yaxing Wang, and Jian Yang. Stylediffusion: Prompt-embedding inversion for text-based editing. arXiv preprint arXiv:2303.15649, 2023.
+[28] Qiyao Liang, Ziming Liu, Mitchell Ostrow, and Ila R Fiete. How diffusion models learn to factorize and compose. In NeurIPS, 2024.
+
+[29] Nan Liu, Shuang Li, Yilun Du, Antonio Torralba, and Joshua B. Tenenbaum. Compositional visual generation with composable diffusion models. In ECCV, 2022.
+[30] Sheng Liu, Haotian Ye, Lei Xing, and James Zou. Reducing hallucinations in vision-language models via latent space steering. arXiv preprint arXiv:2410.15778, 2024.
+[31] Calvin Luo. Understanding diffusion models: A unified perspective. arXiv preprint arXiv:2208.11970, 2022.
+[32] Jinqi Luo, Zhaoning Wang, Chen Henry Wu, Dong Huang, and Fernando De La Torre. Zero-shot model diagnosis. In CVPR, 2023.
+[33] Jinqi Luo, Tianjiao Ding, Kwan Ho Ryan Chan, Darshan Thaker, Aditya Chattopadhyay, Chris Callison-Burch, and René Vidal. Pace: Parsimonious concept engineering for large language models. In NeurIPS, 2024.
+[34] Simian Luo, Yiqin Tan, Longbo Huang, Jian Li, and Hang Zhao. Latent consistency models: Synthesizing high-resolution images with few-step inference. arXiv preprint arXiv:2310.04378, 2023.
+[35] Tomas Mikolov, Wen-tau Yih, and Geoffrey Zweig. Linguistic Regularities in Continuous Space Word Representations. In NAACL HLT, 2013.
+[36] Ron Mokady, Amir Hertz, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Null-text inversion for editing real images using guided diffusion models. arXiv preprint arXiv:2211.09794, 2022.
+[37] OpenAI. GPT-4V(ision) System Card, 2023.
+[38] OpenAI. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2023.
+[39] Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155, 2022.
+[40] Gaurav Parmar, Krishna Kumar Singh, Richard Zhang, Yijun Li, Jingwan Lu, and Jun-Yan Zhu. Zero-shot image-to-image translation. In SIGGRAPH, 2023.
+[41] Or Patashnik, Zongze Wu, Eli Shechtman, Daniel Cohen-Or, and Dani Lischinski. StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery. In ICCV, 2021.
+[42] William Peebles and Saining Xie. Scalable diffusion models with transformers. arXiv preprint arXiv:2212.09748, 2022.
+[43] Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. Sdxl: Improving latent diffusion models for high-resolution image synthesis. arXiv preprint arXiv:2307.01952, 2023.
+[44] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML, 2021.
+[45] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In CVPR, 2021.
+[46] Chitwan Sahara, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily Denton, Seyed Kamyar Seyed Ghasemipour,
+
+Raphael Gontijo-Lopes, Burcu Karagol Ayan, Tim Salimans, Jonathan Ho, David J. Fleet, and Mohammad Norouzi. Photorealistic text-to-image diffusion models with deep language understanding. In NeurIPS, 2022.
+[47] Yujun Shen and Bolei Zhou. Closed-form factorization of latent semantics in gans. In CVPR, 2021.
+[48] Jascha Sohl-Dickstein, Eric A. Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. arXiv preprint arXiv:1503.03585, 2015.
+[49] Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In ICLR, 2021.
+[50] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In ICLR, 2021.
+[51] Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. arXiv preprint arXiv:2303.01469, 2023.
+[52] Nishant Subramani, Nivedita Suresh, and Matthew Peters. Extracting Latent Steering Vectors from Pretrained Language Models. In ACL Findings, 2022.
+[53] Yoad Tewel, Yoav Shalev, Idan Schwartz, and Lior Wolf. Zero-cap: Zero-shot image-to-text generation for visual-semantic arithmetic. In CVPR, 2022.
+[54] Matthew Trager, Pramuditha Perera, Luca Zancato, Alessandro Achille, Parminder Bhatia, and Stefano Soatto. Linear spaces of meanings: compositional structures in vision-language models. In ICCV, 2023.
+[55] Narek Tumanyan, Omer Bar-Tal, Shai Bagon, and Tali Dekel. Splicing vit features for semantic appearance transfer. In CVPR, 2022.
+[56] Narek Tumanyan, Michal Geyer, Shai Bagon, and Tali Dekel. Plug-and-play diffusion features for text-driven image-to-image translation. In CVPR, 2023.
+[57] Alexander Matt Turner, Lisa Thiergart, David Udell, Gavin Leech, Ulisse Mini, and Monte MacDiarmid. Activation addition: Steering language models without optimization. arXiv preprint arXiv:2308.10248v3, 2023.
+[58] Zhou Wang, A.C. Bovik, H.R. Sheikh, and E.P. Simoncelli. Image quality assessment: from error visibility to structural similarity. In IEEE TIP, 2004.
+[59] Zihao Wang, Lin Gui, Jeffrey Negrea, and Victor Veitch. Concept algebra for (score-based) text-controlled generative models. In NeurIPS, 2023.
+[60] Zhaoning Wang, Ming Li, and Chen Chen. Luciddreaming: Controllable object-centric 3d generation. arXiv preprint arXiv:2312.00588, 2023.
+[61] Chenfei Wu, Lun Huang, Qianxi Zhang, Binyang Li, Lei Ji, Fan Yang, Guillermo Sapiro, and Nan Duan. Godiva: Generating open-domain videos from natural descriptions. arXiv preprint arXiv:2104.14806, 2021.
+[62] Chen Henry Wu and Fernando De la Torre. Unifying diffusion models' latent space, with applications to cycled diffusion and guidance. arXiv preprint arXiv:2210.05559, 2022.
+[63] Xindi Wu, Dingli Yu, Yangsibo Huang, Olga Russakovsky, and Sanjeev Arora. Conceptmix: A compositional image generation benchmark with controllable difficulty. In NeurIPS Datasets and Benchmarks Track, 2024.
+
+[64] Yongliang Wu, Shiji Zhou, Mingzhuo Yang, Lianzhe Wang, Heng Chang, Wenbo Zhu, Xinting Hu, Xiao Zhou, and Xu Yang. Unlearning concepts in diffusion model via concept domain correction and concept preserving gradient. In AAAI, 2025.
+[65] Sihan Xu, Yidong Huang, Jiayi Pan, Ziqiao Ma, and Joyce Chai. Inversion-free image editing with natural language. arXiv preprint arXiv:2312.04965, 2023.
+[66] Chong You, Chun Guang Li, Daniel P Robinson, and Rene Vidal. Oracle Based Active Set Algorithm for Scalable Elastic Net Subspace Clustering. In CVPR, 2016.
+[67] Mert Yuksekgonul, Federico Bianchi, Pratyusha Kalluri, Dan Jurafsky, and James Zou. When and why vision-language models behave like bags-of-words, and what to do about it? arXiv preprint arXiv:2210.01936, 2022.
+[68] Lvmin Zhang and Maneesh Agrawala. Adding conditional control to text-to-image diffusion models. In ICCV, 2023.
+[69] Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In CVPR, 2018.
+[70] Jun-Yan Zhu, Taesung Park, Phillip Isola, and Alexei A Efros. Unpaired image-to-image translation using cycle-consistent adversarial networkss. In ICCV, 2017.
+[71] Junhao Zhuang, Yanhong Zeng, Wenran Liu, Chun Yuan, and Kai Chen. A task is worth one word: Learning with task prompts for high-quality versatile image inpainting. In ECCV, 2024.
+[72] Andy Zou, Long Phan, Sarah Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann-Kathrin Dombrowski, Shashwat Goel, Nathaniel Li, Michael J. Byun, Zifan Wang, Alex Mallen, Steven Basart, Sanmi Koyejo, Dawn Song, Matt Fredrikson, Zico Kolter, and Dan Hendrycks. Representation engineering: A top-down approach to ai transparency. arXiv preprint arXiv:2310.01405, 2023.
\ No newline at end of file
diff --git a/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/images.zip b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..531d0db6dd194f89479bed99c5384d96877803e9
--- /dev/null
+++ b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f773e0917a9bf7fb2dd17aa560435181f09752ac471a7395c5de3374e14eb4fc
+size 781371
diff --git a/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/layout.json b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..dc3f6ff3221589ceaf8ec93553796739785d607c
--- /dev/null
+++ b/CVPR/2025/Concept Lancet_ Image Editing with Compositional Representation Transplant/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f80e01f2548d339ad8e39e683b95323e29349f7aea20a864322497c801fb6fed
+size 445814
diff --git a/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_content_list.json b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..2cbb78632e8d5134b2ef99ef4bc5522f3803c3dd
--- /dev/null
+++ b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fed783a6835f1b7bbdd7a9a3d4365582313f71a92c056876e2f36eade18a7dab
+size 68757
diff --git a/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_model.json b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..28071ce7ec61de010cb37bf6158316abeda1d3cb
--- /dev/null
+++ b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:afa9563815b5634f5091052d2341adedefc52367396c72cbb0bc1ac0f68c0a92
+size 86367
diff --git a/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_origin.pdf b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..e1c30e1f3b5f0ceceaffe0decf4c0ee7df7bce08
--- /dev/null
+++ b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/5067da12-4c9b-4788-9049-b1876c6814e8_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57537c8e06fb941a75ac65788cb66ed5145ca42fd7f50e15b820126259b09250
+size 2697205
diff --git a/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/full.md b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..4e6e286c6ac005a811338f37e74f6b3bfacadfe0
--- /dev/null
+++ b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/full.md
@@ -0,0 +1,287 @@
+# Concept Replacer: Replacing Sensitive Concepts in Diffusion Models via Precision Localization
+
+Lingyun Zhang Fudan University
+
+lyzhang22@m.fudan.edu.cn
+
+Yu Xie* Purple Mountain Laboratories
+
+xieyu9332@gmail.com
+
+Yanwei Fu
+
+Fudan University
+
+yanweifu@fudan.edu.cn
+
+Ping Chen*
+
+Fudan University
+
+pchen@fudan.edu.cn
+
+
+Figure 1. Given a sensitive concept for diffusion models, our method accurately identifies its location during the generation process and seamlessly replaces it, while ensuring that non-target regions remain unchanged. Sensitive areas were masked in black by authors.
+
+# Abstract
+
+As large-scale diffusion models continue to advance, they excel at producing high-quality images but often generate unwanted content, such as sexually explicit or violent imagery. Existing methods for removing such content typically guide the image generation process but can inadvertently modify unrelated regions, leading to inconsistencies with the original model. We propose a novel approach for targeted concept replacement in diffusion models, enabling specific unwanted concepts to be removed without significantly affecting non-target areas. Our method introduces a dedicated concept localizer for precisely identifying the target concept during the denoising process, using few-shot learning to minimize the need for labeled data.
+
+Within the identified region, we further introduce a Dual Prompts Cross-Attention module that operates without additional training to substitute the target concept, ensuring minimal disruption to surrounding content. We evaluate our method in terms of concept localization precision and replacement efficiency. Experimental results demonstrate that our method achieves superior precision in localizing target concepts and performs coherent concept replacement with minimal impact on non-target areas, outperforming existing approaches. The code is available at https://github.com/zhang-lingyun/ConceptReplacement
+
+# 1. Introduction
+
+Powerful new AI models[1, 4, 9, 12, 26, 37, 47, 48] are transforming digital image creation. Notably, DALL-
+
+E [32, 33], Stable Diffusion [35], and Midjourney [28] have met commercial-grade product standards, opening up opportunities for a wide range of user-oriented applications. These models can generate diverse, stunning images from simple text descriptions, redefining how we approach digital art, content creation, and design. However, a significant challenge remains: these models sometimes produce sensitive or inappropriate content. This issue stems from the massive unfiltered datasets they learn from, which inevitably contain inappropriate materials. Since publicly available web-scraped data[5, 39] often lack stringent quality control, particularly in terms of bias and safety.
+
+Efficient methods that allow large-scale text-to-image models to selectively remove specific concepts are emerging as a promising avenue. Current approaches to addressing unsafe content generation can be broadly categorized into the following three main strategies: (1) Dataset-level preprocessing, as in Stable Diffusion 2.0[40], involves using classifiers to pre-filter images containing sexually explicit content in large datasets like LAION[39]. This process incurs substantial computational costs, requiring approximately 150,000 GPU hours to retrain on the 5-billion-image LAION dataset. Despite these efforts, sexually explicit content may still appear in model outputs. (2) Post-generation solutions, such as the NSFW filter[34] in Stable Diffusion, employ classification models to detect and block inappropriate content after generation. While straightforward to implement, these approaches can lead to poor user experiences by replacing entire images with meaningless placeholders when unsafe content is detected, regardless of the extent or location of the problematic content. (3) Generation-time guidance methods, including SLD[38] and ESD[13], represent a more dynamic approach by incorporating noise-prediction guidance during the inference or training phase. These methods aim to suppress unsafe content generation through real-time interventions in the diffusion process. However, their effectiveness comes at a cost: the guidance mechanisms typically affect broad regions of the generated image, often modifying unintended areas and compromising the model's ability to generate high-quality, detailed outputs. To sum up, preventing unsafe content generation in large-scale diffusion models is still a major unresolved challenge. Current methods have key limitations: post-generation filtering hurts user experience, dataset filtering is resource-intensive yet ineffective, and generation-time guidance reduces image quality. Recent studies[22, 44] on segmentation have revealed an encouraging insight: stable diffusion models, with their attention mechanisms, possess an inherent capability to detect and localize objects. This finding suggests that these models might be capable of precisely identifying problematic content without compromising the overall image generation process. However, to our knowledge, there is no
+
+existing method that can both precisely locate and replace problematic content while preserving the intended meaning and visual quality of other areas. Motivated by these challenges and opportunities, we introduce Concept REPLacer, a novel framework for precise concept replacement in diffusion models. Our approach is built on two key insights: First, given the diverse nature of unsafe content, we design our framework to precisely locate unsafe areas based on just a few examples, leveraging the model's inherent object detection capabilities. Second, we ensure the replacement process is customizable to accommodate different safety requirements and content preferences, allowing for flexible and context-aware content modification. This framework addresses the limitations of existing methods while maintaining generation quality and semantic coherence.
+
+Our Concept REPLacer consists of three key components: (1) A concept localizer, built upon a pretrained diffusion model through efficient fine-tuning, which precisely identifies concept locations during the generation process; (2) A Dual Prompts Cross-Attention module that leverages two distinct prompts to guide the replacement of targeted concepts; and (3) An integrated denoising process that combines localization and replacement capabilities for harmonious concept substitution. During the diffusion model's denoising process, our concept localizer, trained using few-shot learning, identifies the location of the target concept in the latent space. Then, our dual prompts cross-attention module processes the input prompt and the replacement prompt simultaneously. The replacement prompt specifically guides the processing of image features in the target area. Importantly, our method maintains consistency in both style and content between the replaced region and the surrounding areas, resulting in a seamlessly integrated final results where the replaced content naturally blends with the original context. Our method surpasses existing approaches in concept replacement accuracy and ensures consistency with the original model's output in non-correlated regions.
+
+# Our primary contributions are as follows:
+
+- We introduce a few-shot trained concept localizer, specifically designed for real-time concept identification during the denoising process, which offering efficient and accurate detection with minimal training requirements.
+- We propose an innovative Dual Prompts Cross-Attention module that leverages precise concept localization to enable targeted concept replacement while preserving the surrounding image context.
+- We demonstrate the superiority of our approach through comprehensive quantitative and qualitative evaluations, establishing new benchmarks in both localization accuracy and replacement effectiveness.
+
+# 2. Related Work
+
+# 2.1. Target Localization in Diffusion Models
+
+Precisely localizing concepts within diffusion models is crucial for effective concept manipulation. Large-scale pretrained text-to-image models [21, 32, 37, 48] have enabled advances in image segmentation. DiffSegmenter [44] utilizes self-attention and cross-attention in U-Net [36] to perform segmentation in a training-free manner. SLiMe [22] trains word embeddings, using few shot learning to achieve part segmentation of target concepts. DIFFEDIT [8] and Watch Your Steps [29] obtain masks for target concepts by predicting differences in noise under different prompts conditioning, with Watch Your Steps leveraging InstructPix2Pix [3] to derive varying noise predictions. All those methods aim at localizing objects in real images. Inspired by these methods, we explore the concept of localization during the image generation process to achieve precise concept replacement. Some works [6, 11, 30, 46] enhance the controllability of text-to-image diffusion models with an attention mechanism. Another line of work employs object localization with attention to guide the image editing process. Prompt2Prompt [18] utilizes layers of cross-attention to manage attributes in the image, requiring both the source and the target prompts to share an identical structure. PnP [42] explores the use of attention and feature injection to improve image-to-image translation. FoI [16] extract masks from cross-condition attention in a pretrained IP2P model to execute text-guided real image editing. In contrast to those methods, our approach concentrates on identifying concepts during image generation and replacing them with alternative concept.
+
+# 2.2. Concept Removal in Diffusion Models
+
+The removal of specific concepts from diffusion models is a critical issue, as large-scale diffusion models can generate undesirable and unsafe content. Currently, there are three main approaches to restricting the generation of images containing target concepts: dataset-level preprocessing, post-generation solutions and generation-time guidance methods. Dataset-level preprocessing filters out unsafe content from the training dataset. This approach [40] is labor-intensive, as it requires filtering large amounts of data and retraining the entire model on the filtered dataset. Post-generation solutions classify the generated images after inference. If the generated image is classified as containing an unsafe concept, it is replaced with a predefined meaningless image. In practice, obtaining an accurate classifier is challenging, and replacing unsafe content with a meaningless image is not user-friendly. Generation-time guidance methods [13, 14, 17, 23, 38, 49] can be applied during the inference process or by fine-tuning the model. SLD [38] applies positive guidance during inference, introducing a prompt
+
+defined safety direction, and guiding image generation. Ab- lating concepts [38] and Selective Amnesia [17] modify the model's weights to shift the image generation distribution from a target concept to a different user-defined concept. ESD [13] fine-tunes the model to remove a target concept, learning a noise prediction influenced by prompt-defined safety direction. Mace [27] focuses on tuning the promptsrelated projection matrices with LoRA [20] in cross attention layers with a closed-form solution. SALUN[10] employs gradient-based weight saliency to effectively erase the influence of specific data in both image classification and generation tasks. However, those concept removal methods rely on global guidance, which can affect unrelated areas of the generated image, resulting in outputs that diverge from the original model. In contrast, we present Concept Replacer, a method that maintains the integrity of the original diffusion U-Net by utilizing a concept localizer to identify target concepts during the denoising process.
+
+# 3. Method
+
+Diffusion models [19] are powerful generative models and designed to learn data distribution $p(x)$ by gradual denoising a Gaussian distribution. Starting from sampled Gaussian noise, the diffusion model gradually denoises for $T$ time steps to generate the final image:
+
+$$
+p _ {\theta} \left(x _ {T: 0}\right) = p \left(x _ {T}\right) \prod_ {t = T} ^ {1} p _ {\theta} \left(x _ {t - 1} \mid x _ {t}\right) \tag {1}
+$$
+
+where $p(x_{T})$ corresponds to the initial Gaussian noise and $p(x_0)$ corresponds to the final generated image. Our goal is to remove a target concept $c$ during the denoising process of the image $p(x_0)$ being generated.
+
+The motivation behind our approach is to enable the replacement of specific target concepts in diffusion models during the denoising process through precise localization, thereby minimizing unintended effects on non-target regions of the generated image. Existing methods for concept removal often involve fine-tuning the diffusion model or introducing guidance during inference, which can inadvertently influence the entire output and lead to inconsistencies with the original model's behavior. To address this issue, we propose a concept replacement method that utilizes accurate localization.
+
+As illustrated in Figure 2, our method comprises two main components: a dedicated concept localizer and a novel Dual Prompts Cross-Attention module. The concept localizer operates during the denoising process to precisely identify the target concept's location. Subsequently, the Dual Prompts Cross-Attention module leverages both the original and replacing prompts to condition the image features based on this localization information, enabling targeted concept replacement within the specified area.
+
+
+Figure 2. Our approach is designed to replace a specified target concept during image generation within diffusion models by first employing a few-shot trained concept localizer to identify the target concept's precise location. Subsequently, our training-free Dual Prompts Cross-Attention module utilizes both the original input prompt and a replacing prompt to guide the substitution of the target concept. The replacing prompt specifically conditions the modification within the localized area of the target concept in the image features. This process ensures that non-target regions remain the consistency during the denoising phase of diffusion models.
+
+# 3.1. Concept Localization
+
+
+Figure 3. Visualization of Cross-Attention Score at Different Spatial Resolutions for the Target Concept. Attention score $A_{cross}^{l}$ with smaller spatial dimensions primarily capture low-frequency semantic information, while Attention score $A_{cross}^{h}$ with larger spatial dimensions retain high-frequency, fine-grained details. We extract the attention score from the U-Net Cross-Attention layer and then group them based on their sizes.
+
+To ensure that non-target regions remain unaffected during concept removal, we designed a concept localizer to identify the target concept during the denoising process. To avoid the labor and extensive labeled data required to train a locator from scratch, we leverage the knowledge embedded in the pre-trained U-Net of diffusion models.
+
+As shown in Figure 2, the concept localizer takes a location prompt and the image embedding as input and outputs the corresponding location for the target concept by aggregating a mask from the U-Net attention layers. To fully utilize the knowledge from the pre-trained U-Net of diffusion models, our concept localizer shares the same architecture as the original U-Net, and we fine-tune the projection
+
+
+Figure 4. Segmentation Results on CelebAMask-HQ and PascalCar. Our concept localizer is compared with SLiMe, showing that our method achieves superior detail accuracy.
+
+matrices $W_{k}$ and $W_{v}$ in both the self-attention and cross-attention layers, along with the word embeddings. The attention scores from these layers are then extracted and fused to produce the final mask representing the location of the target concept.
+
+For each attention layer, given the query $Q$ and the key $K$ , we extract its attention score as:
+
+$$
+A = \operatorname {S o f t m a x} \left(\frac {Q K ^ {T}}{\sqrt {d}}\right) \tag {2}
+$$
+
+
+Figure 5. Concept Localization Results with The Proposed Concept Localizer. Our method effectively pinpoints target concepts during image generation, accurately identifying objects across varying sizes.
+
+where $d$ is the output dimension of key and query features.
+
+The U-Net of diffusion models has multiple cross attention and self attention layers. First, We average the attention scores that have been resized to the same size from self attention layers:
+
+$$
+A _ {s e l f} = \sum_ {n \in N} \left(\operatorname {R e s i z e} \left(\left\{A _ {s e l f} ^ {n} \right\}\right)\right) \tag {3}
+$$
+
+where $N$ represents the number of self-attention layers. In our experiments, we find that lower-resolution cross-attention scores exhibit better spatial semantic disentanglement, while higher-resolution cross-attention scores show weaker spatial semantic disentanglement, as illustrated in Figure 3. Thus, directly averaging them can reduce the accuracy of the final mask. However, the higher-resolution scores contain more high-frequency image details. For cross attention layers, we partition the cross attention scores according to the size of the resolution and compute separate averages to obtain $A_{cross}^{l}$ and $A_{cross}^{h}$ . This process follows Eq.3 but is applied to different sets of cross-attention layers, where $l$ stands for the lower resolution cross-attention layers, and $h$ refers to the high resolution cross-attention layers. We then refine the higher cross attention scores using the lower cross attention scores, which helps to ensure that the final mask retains accurate details while maintaining semantic accuracy.
+
+The final cross attention score is defined as follows:
+
+$$
+A _ {c r o s s} = A _ {c r o s s} ^ {l} + A _ {c r o s s} ^ {l} \cdot A _ {c r o s s} ^ {h} \tag {4}
+$$
+
+Previous methods like SLiMe [22] and DiffSegmenter [44] have demonstrated the importance of self-attention in segmentation tasks. Inspired by those works, we further combine self-attention scores and cross-attention scores to obtain the final attention score. This approach harnesses self-attention to capture spatial relationships and employs cross-attention to refine the semantic alignment between the location prompt and the image embedding. By integrating both types of attention scores, we enhance the precision of target concept localization.
+
+$$
+M = \operatorname {v e c} \left(A _ {\text {c r o s s}}\right) * A _ {\text {s e l f}} \tag {5}
+$$
+
+where vec denotes the vectorization of matrix $A_{cross}$ , which stacks all rows of $A_{cross}$ into a single row vector. While training the concept localizer with few-shot examples, we apply cross-entropy loss on the cross-attention scores:
+
+$$
+\mathcal {L} _ {C E} = C E \left(A _ {\text {c r o s s}}, M ^ {\prime}\right) \tag {6}
+$$
+
+where $M'$ represents the segmentation label and CE refers to cross-entropy. Additionally, for the final mask $M$ , which combines both self-attention scores and cross-attention scores, we use mean squared error (MSE) loss to further refine its accuracy.
+
+$$
+\mathcal {L} _ {M S E} = \left\| \mathbf {M} - \mathbf {M} _ {k} ^ {\prime} \right\| _ {2} ^ {2} \tag {7}
+$$
+
+# 3.2. Dual Prompts Cross Attention
+
+The text-to-image diffusion models enable conditioning on the prompt by augmenting U-Net with cross attention mechanism. Recall that the original cross-attention [43] of diffusion models is defined as:
+
+$$
+Z = \operatorname {S o f t m a x} \left(\frac {Q K ^ {T}}{\sqrt {d}}\right) V \tag {8}
+$$
+
+where key $K$ and value $V$ are derived from the text embedding and query $Q$ is derived from the image embedding.
+
+To replace the target concept in the identified region, we propose a Dual Prompts Cross Attention module that also takes a concept location mask and a replacing prompt. The replacing prompt specifies the concept that will substitute for the target concept in the localized areas.
+
+With the concept location mask $M$ and a replace prompt, our Dual Prompts Cross Attention is defined as follows:
+
+$$
+\begin{array}{l} Z = \operatorname {S o f t m a x} \left(\frac {Q \cdot K _ {R} ^ {T}}{\sqrt {d}}\right) V _ {R} \cdot M \tag {9} \\ + \operatorname {S o f t m a x} \left(\frac {Q \cdot K _ {P} ^ {T}}{\sqrt {d}}\right) V _ {P} \cdot (1 - M) \\ \end{array}
+$$
+
+where $K_{P}$ and $V_{P}$ denote the key and value derived from the input prompt, and $K_{R}, V_{R}$ as the key and value for the replacing prompt. Our Dual Prompts Cross Attention module enables the replacement of the target concept according
+
+
+Figure 6. Nudity Concept Replacement Results. Unlike other methods, our approach identifies the target concept during image generation, allowing precise replacement while preserving the consistency of non-target areas with the original model.
+
+to the provided mask without requiring any additional training, thereby generating an image in which the target concept has been substituted. It ensures a seamless replacement process by applying distinct prompt conditioning to different regions of the image embedding.
+
+During the inference phase, our concept localizer is activated during the denoising process to detect the location of the target concept. Once detected, our Dual Prompts Cross-Attention module engages to replace the target concept. Otherwise, the process proceeds identically to the original Stable Diffusion model. This enables targeted concept replacement while preserving the model's original image generation capabilities.
+
+# 4. Experiments
+
+To validate our method, we conducted both quantitative and qualitative analyses to evaluate the accuracy of the localization of our concept localizer and the effectiveness of the concept replacement.
+
+# 4.1. Concept Localization Experiments
+
+This section assesses the precision of our concept localizer. We evaluate localization accuracy through image segmentation task, as it effectively demonstrates the precision of our
+
+concept localizer.
+
+Dataset. We validate our localization accuracy on the CelebAMask-HQ dataset [24] and Pascal-Car dataset [7]. Following SLiMe [22], we train the model with both 1-shot and 10-shot settings.
+
+Comparison Methods. We compare our method with the state-of-the-art approaches, including ReGAN [41], SegDDPM [2], SegGPT [45], and SLiMe [22]. ReGAN and SegDDPM necessitate an initial model pre-training phase on the dataset before tackling segmentation tasks. ReGAN relies on a pre-trained GAN model [15], while SegDDPM utilizes pre-training on a DDPM [19]. In both cases, pretraining is executed on specific datasets. Conversely, SegGPT employs several segmentation datasets for supervised training, demanding a substantial volume of training data. SLiMe employs few-shot learning on a pre-trained stable diffusion, optimizing word embeddings for segmentation. Similarly, our localization module also employs few-shot learning, leveraging the understanding of concepts from stable diffusion without relying on extensive labeled data.
+
+Evaluation Metrics. To evaluate localization accuracy, we compute the mean intersection over union (mIOU) for each of the categories on the CelebAMask-HQ test set and Pascal-Car test set, and also calculate the average mIOU
+
+
Cloth
Eyebrow
Ear
Eye
Hair
Mouth
Neck
Nose
Face
Background
Average
ReGAN
15.5
68.2
37.3
75.4
84.0
86.5
80.3
84.6
90.0
84.7
69.9
SegDDPM
61.6
67.5
71.3
73.5
86.1
83.5
79.2
81.9
89.2
86.5
78.0
SLiMe
63.1
62.0
64.2
65.5
85.3
82.1
79.4
79.1
88.8
87.1
75.7
Ours
67.1
63.7
65.7
72.6
86.4
83.0
82.5
81.0
90.0
87.9
78.1
Total
-
Foe
57.1
Bolly
60.1
Ampin
69.6
Buttcks
70.2
Male Geminilla
0%
Female Geminilla
0%
Female Breet
0%
0%
20%
40%
60%
80%
100%
100%
80%
60%
40%
20%
0%
+
+Table 1. CiebedA-Mask-HQ Segmentation Results. The first four rows display results with 10 training samples, and the following five rows show results with 1 training sample. Methods marked with * indicate supervised approaches. Overall, our method achieves superior or comparable performance on average.
+
+
+Figure 7. Results of Nudity Concept Removal. We present percentage reductions in nudity content relative to original Stable Diffusion v1.4 on the I2P prompts dataset with NudeNet as detector. Higher percentages represent more effective removal. Our approach effectively reduces nudity-related content in Stable Diffusion, outperforming other methods.
+
+
+Figure 8. Concept Replacement with Various Replacing Prompts. Our method accurately identifies the specified concept and seamlessly substitutes it with a new concept, as defined by the replacing prompt, during the image generation process.
+
+across all categories to measure the overall accuracy.
+
+Table 1 presents the quantitative experimental results under the 10-shot and 1-shot training settings on the CelebA-Mask-HQ. It is shown our method outperforms ReGAN, SegDDPM and SLiMe on average in both the 1-shot and 10-shot settings. Likewise, Table 2 displays our results for the car datasets and Figure 4 qualitatively shows our results on both datasets. SegGPT is trained in a supervised manner on large segmentation datasets, while the other two methods require pre-training on specific categories. Both SLiMe and
+
+our method relies on few-shot training with a trained stable diffusion model. Our approach attains more precise image segmentation by fully fine-tuning self-attention and cross-attention layers of stable diffusion. Figure 5 shows the location of multiple concepts of varying sizes. It demonstrates our method's capability to identify concepts of different magnitudes.
+
+# 4.2. Content Replacement Experiments
+
+In this section, we validate the effectiveness of our concept replacement method.
+
+Dataset. We utilized the Inappropriate Image Prompts (I2P) dataset [38], which comprises 4,073 prompts likely to produce unsafe material. We focused on removing nudity as the target concept to assess replacement efficiency. Additionally, to evaluate the impact of our method on the model's ability to generate normal content, we assessed image quality using the COCO dataset [25], a well-curated dataset without nudity.
+
+Comparison Methods. We compare our method with stable diffusion v2.1 [40], SLD [38], and ESD [13]. Stable diffusion v2.1 trained on filtered datasets that filter out the NSFW images. SLD removes a concept by introducing positive guidance during the image inference process. ESD
+
+
Body
Light
Plate
Wheel
Window
Background
Average
CNN*
73.4
42.2
41.7
66.3
61.0
67.4
58.7
CNN+CRF*
75.4
36.1
35.8
64.3
61.8
68.7
57
ReGAN
75.5
29.3
17.8
57.2
62.4
70.7
52.15
SLiMe
81.5
56.8
54.8
68.3
70.3
78.4
68.3
Ours
82.26
59.41
52.55
69.70
72.21
79.59
69.29
SegGPT*
62.7
18.5
25.8
65.8
69.5
77.7
53.3
SLiMe
79.6
37.5
46.5
65.0
65.6
75.7
61.6
Ours
79.6
51.8
43.5
66.5
65.6
79.0
64.3
+
+Table 2. Pascal-Car Segmentation Results. The first two rows display results from supervised methods, followed by the next three rows showing the performance with 10-sample training, and the final three rows illustrating the 1-sample training setting. Our concept localizer consistently outperforms other methods across most classes and on average.
+
+
Method
FID-30k
CLIP
REAL
-
30.41
SD
14.50
31.32
SLD
16.90
30.46
ESD-u
14.16
30.45
Ours
15.15
30.67
+
+removes a concept by fine-tuning the entire model.
+
+Evaluation Metrics. We employ NudeNet to detect nudity-related content in the generated images to evaluate the effectiveness of removing the concept of nudity. The FID and CLIP [31] scores are used to assess the impact on image fidelity and text alignment in normal content.
+
+Figure 6 illustrates the results of replacing the nudity concept, demonstrating that our method accurately locates and seamlessly replaces it. Notably, the non-target areas remain consistent with the original Stable Diffusion model, outperforming other methods. Figure 7 presents quantitative results of removing the nudity concept from the I2P prompt datasets. We generate images using the I2P prompt datasets and employ NudeNet to detect nudity in the generated images. Our method shows a significant reduction in nudity content compared to the original Stable Diffusion v1.4 model. Across all categories identified by NudeNet, our approach consistently outperforms others, achieving a greater reduction in censored images, thereby demonstrating superior effectiveness in removing the nudity concept. Table 3 presents the results on the COCO dataset, showing that all methods have minimal impact on image quality and text alignment of normal prompts. Figure 8 illustrates the replacement of concepts with various alternatives. Our approach effectively replaces concepts using different prompts, demonstrating the efficacy of our method.
+
+We further evaluate the consistency of non-target re
+
+Table 3. Image Fidelity and Text Alignment Results on COCO 30K Dataset. All methods produce similar results, indicating that the impact on image quality and text alignment in the COCO 30K dataset is minimal.
+
+
Method
MSE
PSNR
SSIM
SLD
104.8061
27.9276
0.3464
ESD-u
99.7132
28.1489
0.4816
Ours
45.8641
34.1830
0.8284
+
+Table 4. Consistency Evaluations of Non-target Areas for Nudity Concept Replacing. Our method, incorporating a concept localizer, improves consistency in non-target regions and outperforms other methods.
+
+gions with the original Stable Diffusion (SD) model. In the absence of ground-truth masks, we employ similarity metrics—Mean Square Error (MSE), PSNR, and SSIM—to compare our method and other approaches with the original SD model within the non-target regions predicted by our method. As shown in Table 4, our method achieves superior preservation performance compared to other approaches.
+
+# 5. Conclusion
+
+In this study, we introduce Concept Replacement, a method for replacing sensitive concepts in text-to-image diffusion models through precise localization. Our approach employs a few-shot trained concept localizer to accurately identify target concepts, and a training-free Dual Prompts Cross-Attention module uses this localization information to replace the target concept, ensuring that non-target regions remain minimally affected. Our experiments demonstrate that Concept Replacement excels in both concept localization accuracy and replacement quality compared to existing approaches. We believe that this method can serve as a crucial tool for generative models, enabling the effective removal of unwanted concepts without compromising user experience.
+
+Acknowledgment. This work was supported by the National Key R&D Program of China(2022YFB3104300) and the Jiangsu Provincial Natural Science Foundation of China under Grant: BK20240291.
+
+# References
+
+[1] Yogesh Balaji, Seungjun Nah, Xun Huang, Arash Vahdat, Jiaming Song, Karsten Kreis, Miika Aittala, Timo Aila, Samuli Laine, Bryan Catanzaro, et al. ediffi: Text-to-image diffusion models with an ensemble of expert denoisers. arXiv preprint arXiv:2211.01324, 2022. 1
+[2] Dmitry Baranchuk, Ivan Rubachev, Andrey Voynov, Valentin Khrulkov, and Artem Babenko. Label-efficient semantic segmentation with diffusion models. arXiv preprint arXiv:2112.03126, 2021. 6
+[3] Tim Brooks, Aleksander Holynski, and Alexei A Efros. Instructpix2pix: Learning to follow image editing instructions. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 18392-18402, 2023. 3
+[4] Huiwen Chang, Han Zhang, Jarred Barber, AJ Maschinot, Jose Lezama, Lu Jiang, Ming-Hsuan Yang, Kevin Murphy, William T Freeman, Michael Rubinstein, et al. Muse: Text-to-image generation via masked generative transformers. arXiv preprint arXiv:2301.00704, 2023. 1
+[5] Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. Conceptual 12m: Pushing web-scale image-text pretraining to recognize long-tail visual concepts. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 3558-3568, 2021. 2
+[6] Hila Chefer, Yuval Alaluf, Yael Vinker, Lior Wolf, and Daniel Cohen-Or. Attend-and-excite: Attention-based semantic guidance for text-to-image diffusion models. ACM Transactions on Graphics (TOG), 42(4):1-10, 2023. 3
+[7] Xianjie Chen, Roozbeh Mottaghi, Xiaobai Liu, Sanja Fidler, Raquel Urtasun, and Alan Yuille. Detect what you can: Detecting and representing objects using holistic models and body parts. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1971-1978, 2014. 6
+[8] Guillaume Couairon, Jakob Verbeek, Holger Schwenk, and Matthieu Cord. Diffedit: Diffusion-based semantic image editing with mask guidance. arXiv preprint arXiv:2210.11427, 2022.3
+[9] Ming Ding, Wendi Zheng, Wenyi Hong, and Jie Tang. Cogview2: Faster and better text-to-image generation via hierarchical transformers. Advances in Neural Information Processing Systems, 35:16890-16902, 2022. 1
+[10] Chongyu Fan, Jiancheng Liu, Yihua Zhang, Eric Wong, Dennis Wei, and Sijia Liu. Salun: Empowering machine unlearning via gradient-based weight saliency in both image classification and generation. arXiv preprint arXiv:2310.12508, 2023. 3, 1
+[11] Weixi Feng, Xuehai He, Tsu-Jui Fu, Varun Jampani, Arjun Akula, Pradyumna Narayana, Sugato Basu, Xin Eric Wang, and William Yang Wang. Training-free structured diffusion guidance for compositional text-to-image synthesis. arXiv preprint arXiv:2212.05032, 2022. 3
+[12] Oran Gafni, Adam Polyak, Oron Ashual, Shelly Sheynin, Devi Parikh, and Yaniv Taigman. Make-a-scene: Scene-based text-to-image generation with human priors. In Eu
+
+ropean Conference on Computer Vision, pages 89-106. Springer, 2022. 1
+[13] Rohit Gandikota, Joanna Materzynska, Jaden Fiotto-Kaufman, and David Bau. Erasing concepts from diffusion models. arXiv preprint arXiv:2303.07345, 2023. 2, 3, 7
+[14] Rohit Gandikota, Hadas Orgad, Yonatan Belinkov, Joanna Materzyńska, and David Bau. Unified concept editing in diffusion models. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 5111-5120, 2024. 3
+[15] Ian Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, 27, 2014. 6
+[16] Qin Guo and Tianwei Lin. Focus on your instruction: Fine-grained and multi-instruction image editing by attention modulation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6986-6996, 2024. 3
+[17] Alvin Heng and Harold Soh. Selective amnesia: A continual learning approach to forgetting in deep generative models. Advances in Neural Information Processing Systems, 36, 2024. 3
+[18] Amir Hertz, Ron Mokady, Jay Tenenbaum, Kfir Aberman, Yael Pritch, and Daniel Cohen-Or. Prompt-to-prompt image editing with cross attention control. arXiv preprint arXiv:2208.01626, 2022. 3
+[19] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840-6851, 2020. 3, 6
+[20] Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. Lora: Low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685, 2021. 3
+[21] Bahjat Kawar, Shiran Zada, Oran Lang, Omer Tov, Huiwen Chang, Tali Dekel, Inbar Mosseri, and Michal Irani. Imagic: Text-based real image editing with diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6007-6017, 2023. 3
+[22] Aliasghar Khani, Saeid Asgari Taghanaki, Aditya Sanghi, Ali Mahdavi Amiri, and Ghassan Hamarneh. Slime: Segment like me. arXiv preprint arXiv:2309.03179, 2023. 2, 3, 5, 6
+[23] Nupur Kumari, Bingliang Zhang, Sheng-Yu Wang, Eli Shechtman, Richard Zhang, and Jun-Yan Zhu. Ablating concepts in text-to-image diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 22691-22702, 2023. 3
+[24] Cheng-Han Lee, Ziwei Liu, Lingyun Wu, and Ping Luo. Maskgan: Towards diverse and interactive facial image manipulation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 5549-5558, 2020. 6
+[25] Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dólár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In Computer Vision-ECCV 2014: 13th European Conference,
+
+Zurich, Switzerland, September 6-12, 2014, Proceedings, Part V 13, pages 740-755. Springer, 2014. 7
+[26] Shilin Lu, Yanzhu Liu, and Adams Wai-Kin Kong. Tf-Icon: Diffusion-based training-free cross-domain image composition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2294–2305, 2023. 1
+[27] Shilin Lu, Zilan Wang, Leyang Li, Yanzhu Liu, and Adams Wai-Kin Kong. Mace: Mass concept erasure in diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 6430-6440, 2024. 3
+[28] Midjourney. Midjourney: An AI Art Generator. https://www.midjourney.com. 2
+[29] Ashkan Mirzaei, Tristan Aumentado-Armstrong, Marcus A Brubaker, Jonathan Kelly, Alex Levinshtein, Konstantinos G Derpanis, and Igor Gilitschenski. Watch your steps: Local image and scene editing by text instructions. In European Conference on Computer Vision, pages 111-129. Springer, 2025. 3
+[30] Or Patashnik, Daniel Garibi, Idan Azuri, Hadar Averbuch-Elor, and Daniel Cohen-Or. Localizing object-level shape variations with text-to-image diffusion models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 23051–23061, 2023. 3
+[31] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748-8763. PMLR, 2021. 8
+[32] Aditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray, Chelsea Voss, Alec Radford, Mark Chen, and Ilya Sutskever. Zero-shot text-to-image generation. In International Conference on Machine Learning, pages 8821-8831. PMLR, 2021. 2, 3
+[33] Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, and Mark Chen. Hierarchical text-conditional image generation with clip latents. arXiv preprint arXiv:2204.06125, 1 (2):3, 2022. 2
+[34] Javier Rando, Daniel Paleka, David Lindner, Lennart Heim, and Florian Tramèr. Red-teaming the stable diffusion safety filter. arXiv preprint arXiv:2210.04610, 2022. 2
+[35] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 10684-10695, 2022. 2
+[36] Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In Medical Image Computing and Computer-Assisted Intervention-MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III 18, pages 234-241. Springer, 2015. 3
+[37] Chitwan Sahara, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Photorealistic text-to-image diffusion models with deep
+
+language understanding. Advances in Neural Information Processing Systems, 35:36479-36494, 2022. 1, 3
+[38] Patrick Schramowski, Manuel Brack, Björn Deiseroth, and Kristian Kersting. Safe latent diffusion: Mitigating inappropriate degeneration in diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 22522-22531, 2023. 2, 3, 7
+[39] Christoph Schuhmann, Romain Beaumont, Richard Vencu, Cade Gordon, Ross Wightman, Mehdi Cherti, Theo Coombes, Aarush Katta, Clayton Mullis, Mitchell Wortsman, et al. Laion-5b: An open large-scale dataset for training next generation image-text models. Advances in Neural Information Processing Systems, 35:25278-25294, 2022. 2
+[40] Stability AI. Stable Diffusion 2.0: A Text-to-Image Diffusion Model. https://stability.ai.2,3,7
+[41] Nontawat Tritrong, Pitchaporn Rewatbowornwong, and Supasorn Suwajanakorn. Repurposing gans for one-shot semantic part segmentation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4475-4485, 2021. 6
+[42] Narek Tumanyan, Michal Geyer, Shai Bagon, and Tali Dekel. Plug-and-play diffusion features for text-driven image-to-image translation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1921-1930, 2023. 3
+[43] A Vaswani. Attention is all you need. Advances in Neural Information Processing Systems, 2017. 5
+[44] Jinglong Wang, Xiawei Li, Jing Zhang, Qingyuan Xu, Qin Zhou, Qian Yu, Lu Sheng, and Dong Xu. Diffusion model is secretly a training-free open vocabulary semantic segmenter. arXiv preprint arXiv:2309.02773, 2023. 2, 3, 5
+[45] Xinlong Wang, Xiaosong Zhang, Yue Cao, Wen Wang, Chunhua Shen, and Tiejun Huang. Seggpt: Segmenting everything in context. arXiv preprint arXiv:2304.03284, 2023. 6
+[46] Qiucheng Wu, Yujuan Liu, Handong Zhao, Trung Bui, Zhe Lin, Yang Zhang, and Shiyu Chang. Harnessing the spatial-temporal attention of diffusion models for high-fidelity text-to-image synthesis. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7766-7776, 2023. 3
+[47] Xingqian Xu, Zhangyang Wang, Gong Zhang, Kai Wang, and Humphrey Shi. Versatile diffusion: Text, images and variations all in one diffusion model. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 7754-7765, 2023. 1
+[48] Jiahui Yu, Yuanzhong Xu, Jing Yu Koh, Thang Luong, Gunjan Baid, Zirui Wang, Vijay Vasudevan, Alexander Ku, Yinfei Yang, Burcu Karagol Ayan, et al. Scaling autoregressive models for content-rich text-to-image generation. arXiv preprint arXiv:2206.10789, 2(3):5, 2022. 1, 3
+[49] Gong Zhang, Kai Wang, Xingqian Xu, Zhangyang Wang, and Humphrey Shi. Forget-me-not: Learning to forget in text-to-image diffusion models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1755-1764, 2024. 3, 1
\ No newline at end of file
diff --git a/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/images.zip b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..b74f8358318d48b1281f869cf5bd3faaa7283612
--- /dev/null
+++ b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:846b833eadf9aa39729a1ce68f87238146c2cfdc9f45d1f934c0f22819b42532
+size 770409
diff --git a/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/layout.json b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..a8474e96e1fc8c9a73fc4a46dc4b56e42adf7bf8
--- /dev/null
+++ b/CVPR/2025/Concept Replacer_ Replacing Sensitive Concepts in Diffusion Models via Precision Localization/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c65b3d366cfe2a1ceaa0bdb26f17991d9c82748d0f3d63c9ef8433434c26620b
+size 301097
diff --git a/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_content_list.json b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..00fd2c384468858f64eeae6a16c7dfb5841e7159
--- /dev/null
+++ b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff5965664a15f8e923855f943747f932973755a0ca4eb9670b348639bd310792
+size 62323
diff --git a/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_model.json b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..69fc58518985a2879d7af2d97e79733896d29b4c
--- /dev/null
+++ b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce75e5ead1d469b3905c6513ee817686db9bffcd3c251587a361f750dd27ff35
+size 76197
diff --git a/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_origin.pdf b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..1e5fc6d6772a3e9b9608980762c746ed4717fc3c
--- /dev/null
+++ b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/0e05d313-4c25-4c2b-bd5f-194172347d23_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:143d927e6f1a19982ea13d32b09e0879bad31da48be373a403b45acc4b088591
+size 4851884
diff --git a/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/full.md b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..d41e8d6abdc8a8cf6746b1040bc5bf2eeadfd91b
--- /dev/null
+++ b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/full.md
@@ -0,0 +1,247 @@
+# ConceptGuard: Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation
+
+Zirun Guo Tao Jin
+
+Zhejiang University
+
+zrguo.cs@gmail.com
+
+# Abstract
+
+Diffusion customization methods have achieved impressive results with only a minimal number of user-provided images. However, existing approaches customize concepts collectively, whereas real-world applications often require sequential concept integration. This sequential nature can lead to catastrophic forgetting, where previously learned concepts are lost. In this paper, we investigate concept forgetting and concept confusion in the continual customization. To tackle these challenges, we present ConceptGuard, a comprehensive approach that combines shift embedding, concept-binding prompts and memory preservation regularization, supplemented by a priority queue which can adaptively update the importance and occurrence order of different concepts. These strategies can dynamically update, unbind and learn the relationship of the previous concepts, thus alleviating concept forgetting and confusion. Through comprehensive experiments, we show that our approach outperforms all the baseline methods consistently and significantly in both quantitative and qualitative analyses.
+
+# 1. Introduction
+
+Text-to-Image (T2I) diffusion models [17, 18, 21, 23] have emerged as a promising approach in the field of generative artificial intelligence, enabling the creation of high-quality images from textual descriptions. These models find a wide range of applications across various domains. Among their many uses, customization stands out as one of the most practical and popular applications. By harnessing the capabilities of T2I diffusion models, diffusion customization allows for the generation of user-defined concepts, achieving impressive results [4, 11, 13, 14, 22, 29].
+
+However, in real-world applications, the new concepts we aim to customize typically arrive in a sequence. Existing methods [4, 11, 14, 22, 29] primarily focus on how to personalize these concepts collectively. This will give rise
+
+
+Figure 1. Examples of catastrophic forgetting and concept confusion in existing methods under the continual training setting.
+
+to problems when they are applied to a dynamic and continual environment. For example, as shown in Figure 1, when generating previous concepts, these methods might experience catastrophic forgetting [16] or concept confusion. Concretely, catastrophic forgetting occurs when the model fails to retain previously learned concepts, resulting in an inability to generate them accurately. Concept confusion arises when the model struggles to differentiate between earlier concepts, leading to outputs that blend elements of different concepts. In such continual settings, when fine-tuned on new concepts, the update of model parameters will influence the generation of previous concepts, thus leading to these issues.
+
+To address the forgetting problem in continual diffusion customization, Continual Diffusion [24] proposes C-LoRA, composed of a continually self-regularized low-rank adaptation in cross attention layers of the diffusion models. However, Continual Diffusion only explores how to deal with the forgetting problem, overlooking the concept confusion in the continual environment. As shown in Figure 5, combinations of multiple concepts are still generated wrongly or blended together. Based on these observations, we propose ConceptGuard, consisting of several simple yet effective strategies to address these issues. Specifically, we propose shift embeddings, concept-binding prompts and
+
+memory preservation regularization along with a priority queue which connects all the strategies. Shift embedding helps to dynamically update the concept embedding in the continual environment. Concept-binding prompt strategy consists of concept focus, chrono-concept composition and concept-binding prompts, which helps to unbind the concepts and assess the importance and relationships of different concepts. Memory preservation regularization prevents the model from updating too fast which leads to catastrophic forgetting. Furthermore, we employ a priority queue capable of adaptively assessing the importance and occurrence order of different concepts to facilitate concept replay.
+
+We conduct extensive experiments to validate the effectiveness of our method. Experimental results indicate that in a continual environment, whether for single-concept image generation or multi-concept image generation, our proposed method consistently outperforms existing approaches in both quantitative and qualitative analyses, producing images of high quality. Ablation experiments are then conducted to validate the effectiveness of different strategies of our method. Our contributions can be summarized as:
+
+- In addition to catastrophic forgetting, we observe that concept confusion in continual customization causes elements to blend, a limitation that existing methods have yet to overcome.
+- To mitigate concept forgetting and confusion, we propose a comprehensive approach that combines shift embedding, concept-binding prompts, and memory preservation regularization, supplemented by a priority queue.
+- Our method consistently outperforms existing approaches in both quantitative and qualitative analyses, producing images of high quality.
+
+# 2. Related Work
+
+Text-to-Image Diffusion Models. Diffusion models [17, 18, 21] have demonstrated remarkable abilities in generation tasks. Text-to-Image (T2I) diffusion models aims to generate images from textual descriptions generated by a pre-trained text encoder. GLIDE [17] adopts CLIP guidance and classifier-free guidance for text-conditioned image synthesis. Imagen [23] leverages pre-trained large language models to provide rich textual information for image generation. Latent diffusion models such as Stable Diffusion [21] propose to project images into latent representations and add text as conditional information to the denoising process. Stable Diffusion XL [18] further expands the parameters of the model and achieves better results.
+
+Customization in Diffusion Models. Diffusion customization [4, 11, 13-15, 22, 29] aims to generate user-defined concepts under various contexts. Textual Inversion [4] adds tokens of new concepts to dictionary and fine-tunes these new tokens. DreamBooth [22] proposes a class-specific prior preservation loss to safeguard prior knowledge and
+
+conducts fine-tuning of all parameters of Stable Diffusion. Custom Diffusion [11] proposes to fine-tune the cross attention layers and combine multiple fine-tuned models into one via closed-form constrained optimization. However, in real-world continual applications where new concepts come continually, fine-tuning the model to new concepts would give rise to forgetting of previous customized concepts.
+
+Continual Learning. Continual Learning methods can be roughly divided into three categories. (1) Regularization methods [10, 12, 32] address catastrophic forgetting by imposing a regularization constraint to important parameters. (2) Replay-based methods [1, 2, 20] store some representative samples of previous tasks in a memory buffer and retrain these samples. (3) Architecture approaches [26, 31] dynamically expand the network to mitigate forgetting for different tasks. Recently, prompt learning [6, 28, 30] emerges as a kind of efficient methods to address catastrophic forgetting.
+
+Continual Customization. Continual customization [3, 24, 25] aims to personalize concepts in a sequential manner. Smith et al. [24] propose a regularization term to avoid forgetting in diffusion models. Sun et al. [25] address forgetting in diffusion models by adding a task-aware memory buffer. Dong et al. [3] introduce concept consolidation loss and an elastic weight aggregation module to address concept forgetting and neglect. However, these methods always encounter concept confusion, failing in some complex compositions of multiple concepts.
+
+# 3. ConceptGuard
+
+# 3.1. Background
+
+Latent Diffusion Models. We implement our method on the publicly available Stable Diffusion XL model [18], which is a Latent Diffusion Model (LDM) for image-to-text synthesis. Specifically, LDM first projects the image $\mathbf{x}$ into a latent space feature $\mathbf{z} = \mathcal{E}(\mathbf{x})$ via an encoder $\mathcal{E}$ . Then LDM performs the diffusion process in the latent space which can be divided into the forward process and the reverse process. The forward process adds Gaussian noise to the sample $\mathbf{z}$ to obtain $\mathbf{z}_t$ : $q(\mathbf{z}_t|\mathbf{z}) = \mathcal{N}(\mathbf{z}_t; \sqrt{\bar{\alpha}_t}\mathbf{z}_0, (1 - \bar{\alpha}_t)\mathbf{I})$ , where $\mathbf{z}_t$ is the noised sample at time step $t$ , $\bar{\alpha}_t = \Pi_{i=1}^t \alpha_i$ and $\alpha_i$ is the noise schedule parameter [7]. The reverse process iteratively removes the added noise in the forward process to obtain $\mathbf{z}_0$ : $p_\theta(\mathbf{z}_{t-1}|\mathbf{z}_t) = \mathcal{N}(\mathbf{z}_{t-1}; \mu_\theta(\mathbf{z}_t, t), \sigma_t)$ , where $\mu_\theta(\mathbf{z}_t, t) = \frac{1}{\sqrt{\alpha_t}} (\mathbf{z}_t - \frac{1 - \alpha_t}{\sqrt{1 - \bar{\alpha}_t}} \epsilon_\theta(\mathbf{z}_t, t))$ , $\sigma_t = \frac{1 - \alpha_{t-1}}{1 - \bar{\alpha}_t} \beta_t$ , $\beta_t = 1 - \alpha_t$ and $\epsilon_\theta$ is the network used to predict the added noise. Then, LDM is trained with the loss function:
+
+$$
+\mathcal {L} _ {\mathrm {L D M}} = \mathbb {E} _ {\mathbf {z} \sim \mathcal {E} (\mathbf {x}), c, \varepsilon \sim \mathcal {N} (0, 1), t} \left[ \| \varepsilon - \epsilon_ {\theta} \left(\mathbf {z} _ {t}, t, c\right) \| _ {2} ^ {2} \right] \tag {1}
+$$
+
+where $t$ is the timestep and $(\mathbf{z}_t, c)$ are the corresponding pairs of image latents and text embeddings.
+
+
+Figure 2. Overall architecture of our proposed method ConceptGuard.
+
+Problem Formulation. Given a series of concepts $\{\mathcal{D}^k\}_{k=1}^K$ where each concept $\mathcal{D}^k$ consists of 3-5 images $x_i^k$ with text prompts $c_i^k$ , continual customization aims to personalize these concepts sequentially without forgetting previous concepts. Considering the privacy or storage issues, previous images are unavailable at current task.
+
+# 3.2. Overview
+
+We focus on the two challenges in Figure 1. The first is catastrophic forgetting, which occurs when the model fails to retain previously learned concepts. The second is concept confusion, where the model struggles to differentiate the current concept from similar past concepts, resulting in the generation of blended outputs. Textual Inversion [4] only trains the added tokens without fine-tuning the diffusion models which can avoid the forgetting to some extent. However, compared to methods fine-tuning the diffusion models, keeping the model fixed is not an ideal solution because it can not capture the characteristics of the concepts accurately. Besides, as shown in Figure 5, it fails in multi-concept generation. Therefore, following previous method [11], we fine-tune the $K$ and $V$ matrices of self-attention layers in the diffusion model with LoRA [8].
+
+To address catastrophic forgetting and concept confusion during the process of model fine-tuning, we propose shift embedding, concept-binding prompts and memory preservation regularization, supplemented by a priority queue. Figure 2 presents the overall architecture of ConceptGuard.
+
+# 3.3. Shift Embedding
+
+Textual Inversion [4] introduces a new token and the corresponding text embedding for each concept. During cus
+
+tomization, it keeps the model fixed and only trains the text embedding of the new concept. Following Textual Inversion, we also introduce a new token and the corresponding text embedding for each concept. Additionally, to capture the characteristics of the new concept accurately, we also fine-tune the diffusion model following [11]. However, as shown in Figure 3, in a continual environment, the fine-tuning of the model results in the previously learned text embeddings not accurately representing the features of the concepts. We call this phenomenon in continual diffusion as concept shift. Based on this observation, we propose shift embeddings to fit the update of the model adaptively.
+
+Suppose the current task is $\mathcal{D}^t$ , then we have a newly added corresponding text embedding $v_{t}$ and the previous fine-tuned concept embeddings $v_{1}^{*}, v_{2}^{*}, \dots, v_{t-1}^{*}$ . For each concept $v_{i}$ , we introduce a dynamic trainable weight term $\alpha_{i}$ to measure the importance of $v_{i}$ among all the customized concepts. For each previous concept, we introduce a tuple $(i, \alpha_{i})$ where $i$ denotes the order of the concept and $\alpha_{i}$ represents its importance. We establish a priority queue to store all the concept tuples. When customizing the current concept, we extract 3 to 5 previous concepts from the queue. The criteria for extraction prioritize the order of the concepts based on $i$ ; concepts with smaller $i$ values are placed at the front of the queue. In cases where $i$ values are equal, concepts with higher importance $\alpha_{i}$ are positioned ahead in the queue. After extracting these concepts from the queue, we set $i$ to the current concept index $t$ and dynamically update $\alpha_{i}$ (see Section 3.4).
+
+Subsequently, we create prompts for the selected concepts, such as "a photo of a $v_{i}^{\prime}$ " and input them into the diffusion model to generate the corresponding images.
+
+
+Figure 3. Examples of concept shift under the continual settings.
+
+Here, the text embedding $v_{i}^{\prime}$ is calculated as:
+
+$$
+v _ {i} ^ {\prime} = v _ {i} ^ {*} + s _ {i} \tag {2}
+$$
+
+where $v_{i}^{*}$ is the fine-tuned text embeddings from previous concept $i$ , $s_i$ is the shift embedding which is initialized to a zero vector and $i < t$ . During the customization of the current concept $t$ , we only fine-tune the shift embeddings $s_i, i = 1,2,\dots ,t - 1$ of selected concepts and the text embedding $v_{t}$ of current concept. By employing this approach, we enable the text embeddings of previously learned concepts to evolve in a continual environment alongside the model's updates, thereby preventing catastrophic forgetting.
+
+# 3.4. Concept-binding Prompts
+
+Shift embedding takes the update of the model into account and shift the text embeddings accordingly, thus addressing the catastrophic forgetting problem. However, as we observed in Figure 1, concept fusion between concepts is also a problem. During the customization process, the model can not distinguish the importance of each concept adaptively. Specifically, customization makes the model overfit to some specific concepts, especially simple and distinctive concepts. Therefore, we propose three simple yet effective strategies to deal with the concept confusion problem.
+
+Concept focus. From the generated images, we can observe that the model will generate similar backgrounds to that of the training data if no prompt related to background information is added. For example, when the prompt "a photo of $v_{1}$ " is given to generate an image of $v_{1}$ , the background is always depicted as a snowy landscape. This has a negative impact on the model, as it becomes unclear what should be remembered and what should be forgotten in a continual environment. Therefore, in the continual environment, we want the model to focus on the main concept in images. We leverage a pre-trained model SAM [9] to remove the background and keep the concept.
+
+Chrono-concept composition. As introduced in Section 3.3, we establish a priority queue to select previous
+
+concepts according to their order and importance. After concept focus, we randomly combine these selected concepts (2-5 concepts) to create new images with different contexts. For each concept, we set a fixed weight $\mu$ based on the order in which the concept appears. Specifically, concepts that are further away from the current concept receive the highest weight, while those that are closer to the current concept receive the lowest weight. We set the weight of the nearest concept to 0.2 and the weight of the farthest concept to 0.6. The weights of the intermediate concepts are determined through linear interpolation based on their order. Then, for each image, we sum the weights of the concepts to obtain the overall weight of that image.
+
+Concept-binding prompts. One of the main reasons for concept confusion is that, with the arrival of new concepts, the model struggles to assess the importance of different concepts and to clarify the relationships between them. Motivated by prompt learning [5, 27, 30], we propose concept-binding prompts to address the problem. Specifically, we first introduce a trainable weight term $\alpha$ for each concept which is initialized to 1. This weight term enables the model to distinguish the importance of each concept dynamically in the continual environment. For an image from chrono-concept composition which consists of a series of concepts $\mathcal{C}$ , we calculate its concept-binding prompts $P$ as:
+
+$$
+P = \left[ \alpha_ {c} \cdot s _ {c} \right] _ {c \in \mathcal {C}} \odot P _ {b} \tag {3}
+$$
+
+where $s_c$ is the shift embedding of concept $c$ , $[\cdot]_{c \in \mathcal{C}}$ is the concatenation operation for all concepts in $\mathcal{C}$ , $\odot$ is the broadcasting element-wise multiplication and $P_b$ denotes the trainable global binding prompts for all concepts. Concretely, $P \in \mathbb{R}^{\ell \times d}$ and $P_b \in \mathbb{R}^d$ where $\ell$ is the number of concepts in the image and $d$ is the dimension of the word embedding. Then, the concept-binding prompt $P$ will be inputted into the diffusion model as conditions. By introducing concept-binding prompts, we can not only dynamically update the importance of different concepts in the continual environment but also can connect different concepts through the global binding prompts $P_b$ , which helps reduce the catastrophic forgetting and concept confusion. Meanwhile, the dynamic weight term $\alpha$ will be used in the priority queue in Section 3.3.
+
+# 3.5. Memory Preservation Regularization
+
+Following previous personalization methods [11, 14, 24], we also use LoRA [8] for model fine-tuning. LoRA decomposes the original weight into two low-rank matrices: $\mathbf{W}' = \mathbf{W} + \Delta \mathbf{W}$ where $\Delta \mathbf{W} = \mathbf{A}\mathbf{B}^{\top}$ . LoRA only fine-tunes the low-rank matrices $\mathbf{A}$ and $\mathbf{B}$ and thus reduces the number of parameters. To further prevent the overfitting of current concept and prevent the model from updating too fast which leads to catastrophic forgetting, we propose memory preservation regularization for LoRA matrix
+
+ces which can be formalized as:
+
+$$
+\mathcal {L} _ {r e g} = \frac {1}{L} \sum_ {\ell = 1} ^ {L} \left\| \Delta \mathbf {W} _ {\ell} ^ {t - 1} - \Delta \mathbf {W} _ {\ell} ^ {t} \right\| ^ {2} \tag {4}
+$$
+
+where $\ell$ denotes the LoRA layer and $t$ is the task index. By imposing the memory preservation regularization, we slow down the update of the diffusion models, which is crucial to maintain the knowledge of previous concepts.
+
+# 3.6. Training
+
+We take the customization of the $t$ -th concept as an example. We first select several previous concepts from the priority queue. Then, we sum the word embeddings of these concepts with their corresponding shift embeddings and input them into the diffusion model to generate the corresponding images. Afterward, we utilize the SAM [9] for concept focus and perform chrono-concept composition to obtain each image along with the associated prompt and weight. Based on the combinations of different concepts in each image, we derive the concept-binding prompt using Equation 3. We pair these images with their corresponding prompts $c$ , weights $\mu$ , and concept-binding prompts $P$ , along with the current concept $t$ , for the customization training of the current concept. For the current concept $t$ , we use $\mathcal{L}_{LDM}$ in Equation 1 for optimization. For previous concepts, we denote the loss function as $\mathcal{L}_{pre}$ which additionally adds concept-binding prompts as the conditions and image weight $\mu$ to $\mathcal{L}_{LDM}$ for different images. Besides, the memory preservation regularization term is added to form the overall loss function:
+
+$$
+\mathcal {L} = \mathcal {L} _ {L D M} + \lambda_ {1} \mathcal {L} _ {p r e} + \lambda_ {2} \mathcal {L} _ {r e g} \tag {5}
+$$
+
+where $\lambda_{1}$ and $\lambda_{2}$ are the loss trade-offs. During the customization of concept $t$ , we only fine-tune the LoRA layers, shift embeddings $s$ and weight $\alpha$ of previous concepts, text embedding $v_{t}$ of current concept and the global binding prompts $P_{b}$ . After the training of each concept, the weight $\alpha$ will be updated and used to select concepts from the priority queue in the next customization round. Meanwhile, $(t,\alpha_{t})$ will be added into the queue where $\alpha_{t}$ is initialized to 1. When inference, we add shift embedding $s$ to the concept embedding $v^{*}$ as the final embedding.
+
+# 4. Experiments
+
+# 4.1. Experimental Settings
+
+Datasets. We follow the settings of previous work [11, 22] and select 18 concepts for customization, which contains person, pets, cartoon characters, etc. For evaluation, we select 6 concepts for continual customization each time.
+
+Evaluation metrics. To evaluate the quality of the generated images, we follow previous work [11, 22] and adopt
+
+Table 1. Quantitative comparisons between different methods.
+
+
Method
Text Alignment
Image Alignment
FT(↓)
FI(↓)
single
multi
single
multi
Textual Inversion
40.1
35.1
71.1
45.3
0.0
0.0
DreamBooth
41.5
36.2
73.2
49.8
2.7
6.8
- with EWC
41.8
36.7
75.3
54.4
2.4
6.1
- with LwF
42.7
37.1
77.7
56.7
2.1
5.2
Custom Diffusion
42.5
36.4
72.4
50.1
2.5
6.4
- with EWC
41.5
36.1
74.9
55.1
2.2
5.5
- with LwF
42.6
37.2
75.8
56.8
1.9
4.6
Continual Diffusion
42.3
37.8
77.5
57.1
1.7
4.1
ConceptGuard
43.1
40.3
81.3
69.8
0.9
1.9
+
+Image-alignment (IA, the visual similarity of generated images with the target concept, using similarity in CLIP [19] image feature space) and Text-alignment (TA, using text-image similarity in CLIP feature space). Besides, to evaluate the ability to address catastrophic forgetting, we adopt forgetting measure. Specifically, we introduce Forgetting-Image (FI) and Forgetting-Text (FT) which can be computed as $\mathrm{FI}_j^t = \max_{i\in \{1,\dots ,t - 1\}}(\mathrm{IA}_{i,j} - \mathrm{IA}_{t,j})$ and $\mathrm{FT}_j^t = \max_{i\in \{1,\dots ,t - 1\}}(\mathrm{TA}_{i,j} - \mathrm{TA}_{t,j})$ where $\mathrm{IA}_{i,j}$ , $\mathrm{TA}_{i,j}$ denote the IA and TA of the $j$ -th concept after customizing the $i$ -th concept and $\mathrm{IA}_{t,j}$ , $\mathrm{TA}_{t,j}$ denote the IA and TA of the $j$ -th concept after customizing the $t$ -th concept. We calculate the average of $\mathrm{FI}_j^t$ and $\mathrm{FT}_j^t$ of all concepts after customizing all the concepts as FI and FT.
+
+Implementation details. We compare our method with four different baselines, Textual Inversion [4], DreamBooth [22], Custom Diffusion [11] and Continual Diffusion [24]. For non-continual methods Textual Inversion, DreamBooth and Custom Diffusion, we apply two different continual learning strategies, EWC [10] and LwF [12]. We use SDXL [18] as the pre-trained diffusion model. For each task, we fine-tune the model for 600 steps with a learning rate of $1 \times 10^{-4}$ and batch size of one. The weight terms $\lambda_{1}$ and $\lambda_{2}$ of the loss function are set to 1 and 0.5 by default.
+
+# 4.2. Qualitative Comparison
+
+We present our single-concept and multi-concept results in Figure 4 and 5, respectively. From Figure 4, we can observe that our method demonstrates better performance in generating images that not only adhere more closely to the textual descriptions but also exhibit a higher level of realism. Besides, methods with continual learning strategies struggle to capture the details of concepts. From Figure 5, we can observe that existing methods exhibit catastrophic forgetting and concept fusion. This results in outputs where elements from multiple concepts are blended together, creating a lack of clarity and coherence. Additionally, these methods frequently struggle to generate certain concepts entirely, leading to incomplete or inaccurate representations. In contrast, our method accurately captures the importance and relationships between different concepts, enabling it to generate images that closely align with the provided text de
+
+
+Figure 4. Comparison of single-concept generation of different methods.
+
+scriptions. This is achieved through our innovative strategies, including shift embedding to dynamically adjust the concept embedding, concept-binding prompts which interact between different concepts and adjust the importance of different concepts, and the memory preservation regularization to preserve the learned knowledge.
+
+# 4.3. Quantitative Comparison
+
+Following [11], we use 20 text prompts and 50 samples per prompt for each concept for single-concept evaluation and 10 prompts containing complex interactions between con
+
+cepts for multi-concept evaluation. In Table 1, we present the alignment scores and forgetting scores of different methods. From the results, we have the following observations: (1) existing methods exhibit significant shortcomings in multi-concept generation during continual training. Their performance drops considerably compared to single-concept generation; (2) the forgetting metrics of Textual Inversion are 0 because Textual Inversion only fine-tunes the added tokens while keeping the diffusion model frozen. However, this will yield lower alignment scores and image quality because the added token can not capture the charac
+
+
+Figure 5. Comparison of multi-concept generation of different methods.
+
+teristics of the concepts accurately; (3) our method excels in both single- and multi-concept generation, demonstrating strong resistance to forgetting. Moreover, our approach incorporates shift embedding, which effectively mitigates the negative impact of regularization on the model's performance in accurately generating the details of concepts.
+
+# 4.4. Ablation Study
+
+We conduct several ablation experiments of shift embedding (SE), priority queue (PQ), concept-binding prompts (CBP) and memory preservation regularization (MPR).
+
+Table 2. Effectiveness of different components of our method.
+
+
Method
Text Alignment
Image Alignment
FT(↓)
FI(↓)
single
multi
single
multi
w/o. SE
42.4
38.0
78.9
63.4
1.7
3.1
w/o. PQ
42.8
39.7
80.4
67.1
1.1
2.4
w/o. CBP
42.1
37.8
78.1
59.3
2.4
3.9
w/o. MPR
42.7
38.9
79.7
66.5
1.2
2.7
ConceptGuard
43.1
40.3
81.3
69.8
0.9
1.9
+
+Effectiveness of different components. In Table 2 and Figure 6, we present the quantitative and qualitative results
+
+
+Figure 6. Ablation experiments of our method.
+
+
+Figure 7. Concept importance during the continual customization. The value of $i$ -th row and $j$ -th column denotes the importance of concept $i$ after customizing concept $j$ .
+
+
+Figure 8. Visualizations of concept embeddings.
+
+of different components in ConceptGuard. We can observe that concept-binding prompts bring the most improvements to the model. This is because concept-binding prompt strategy includes concept focus, chrono-concept compositions which can unbind the concepts, thus alleviating the concept confusion. We also visualize the concept importance $\alpha$ during the customization in Figure 7. We can observe that the model can adaptively adjust the importance of concepts where important concepts will be prioritized. Besides, we visualize the cross-attention map of concept embeddings in Figure 8. This figure indicates the effectiveness of our concept-binding prompts and shift embeddings. Furthermore, all the strategies help to alleviate the concept forgetting and improve the quality of generated images, demonstrating the effectiveness of our proposed strategies.
+
+Number of learned concepts. In Figure 10, we present the changes in performance given different numbers of learned concepts. Besides, in Figure 9, we present the results of more concepts. We can observe that with the increase of concepts, our method can remain stable performance,
+
+
+Figure 9. Visualizations after customizing the concept $t$ .
+
+
+Figure 10. Performance of different numbers of concepts.
+
+
+
+
+Figure 11. Ablation experiments of $\lambda_{1}$ (left) and $\lambda_{2}$ (right).
+
+
+
+demonstrating its effectiveness and robustness.
+
+Loss trade-off. We select several values of $\lambda_{1}$ and $\lambda_{2}$ in Equation 5 and present the results in Figure 11. With the increase of $\lambda_{1}$ and $\lambda_{2}$ , the alignment scores decrease and the forgetting improve. This indicates that increasing $\lambda_{1}$ and $\lambda_{2}$ helps to alleviate the forgetting but sacrifice the quality of the generated images, because preventing the model from updating fast might lead to underfitting of current concepts. However, our method can achieve stable performance given different values $\lambda$ , demonstrating its robustness.
+
+# 5. Conclusion
+
+We investigate the concept forgetting and concept confusion problems under the context of continual customization. To tackle these challenges, we propose a comprehensive framework that combines shift embedding, concept-binding prompts and memory preservation regularization, supplemented by a priority queue which can adaptively update the importance and occurrence order of different concepts. Extensive experiments demonstrate that our method consistently and significantly outperforms other methods in both quantitative and qualitative analyses.
+
+# References
+
+[1] Jihwan Bang, Heesu Kim, YoungJoon Yoo, Jung-Woo Ha, and Jonghyun Choi. Rainbow memory: Continual learning with a memory of diverse samples. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 8218-8227, 2021. 2
+[2] Arslan Chaudhry, Marc'Aurelio Ranzato, Marcus Rohrbach, and Mohamed Elhoseiny. Efficient lifelong learning with a gem. In International Conference on Learning Representations. 2
+[3] Jiahua Dong, Wenqi Liang, Hongliu Li, Duzhen Zhang, Meng Cao, Henghui Ding, Salman H Khan, and Fahad Shahbaz Khan. How to continually adapt text-to-image diffusion models for flexible customization? Advances in Neural Information Processing Systems, 37:130057-130083, 2024. 2
+[4] Rinon Gal, Yuval Alaluf, Yuval Atzmon, Or Patashnik, Amit Haim Bermano, Gal Chechik, and Daniel Cohen-or. An image is worth one word: Personalizing text-to-image generation using textual inversion. In The Eleventh International Conference on Learning Representations. 1, 2, 3, 5
+[5] Zirun Guo, Tao Jin, and Zhou Zhao. Multimodal prompt learning with missing modalities for sentiment analysis and emotion recognition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1726-1736, 2024. 4
+[6] Zirun Guo, Shulei Wang, Wang Lin, Weicai Yan, Yangyang Wu, and Tao Jin. Efficient prompting for continual adaptation to missing modalities. arXiv preprint arXiv:2503.00528, 2025. 2
+[7] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. arXiv preprint arxiv:2006.11239, 2020. 2
+[8] Edward J Hu, Phillip Wallis, Zeyuan Allen-Zhu, Yuzhhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. In International Conference on Learning Representations. 3, 4
+[9] Alexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao, Chloe Rolland, Laura Gustafson, Tete Xiao, Spencer Whitehead, Alexander C. Berg, Wan-Yen Lo, Piotr Dólar, and Ross Girshick. Segment anything, 2023. 4, 5
+[10] James Kirkpatrick, Razvan Pascanu, Neil Rabinowitz, Joel Veness, Guillaume Desjardins, Andrei A Rusu, Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic forgetting in neural networks. Proceedings of the national academy of sciences, 114(13):3521-3526, 2017. 2, 5
+[11] Nupur Kumari, Bingliang Zhang, Richard Zhang, Eli Shechtman, and Jun-Yan Zhu. Multi-concept customization of text-to-image diffusion. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1931-1941, 2023. 1, 2, 3, 4, 5, 6
+[12] Zhizhong Li and Derek Hoiem. Learning without forgetting. IEEE transactions on pattern analysis and machine intelligence, 40(12):2935-2947, 2017. 2, 5
+[13] Zhen Li, Mingdeng Cao, Xintao Wang, Zhongang Qi, MingMing Cheng, and Ying Shan. Photomaker: Customizing realistic human photos via stacked id embedding. In Proceed-
+
+ings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8640-8650, 2024. 1, 2
+[14] Wang Lin, Jingyuan Chen, Jiaxin Shi, Yichen Zhu, Chen Liang, Junzhong Miao, Tao Jin, Zhou Zhao, Fei Wu, YAN Shuicheng, et al. Non-confusing generation of customized concepts in diffusion models. In *Forty-first International Conference on Machine Learning*. 1, 4
+[15] Wang Lin, Jingyuan Chen, Jiaxin Shi, Zirun Guo, Yichen Zhu, Zehan Wang, Tao Jin, Zhou Zhao, Fei Wu, YAN Shuicheng, et al. Action imitation in common action space for customized action image synthesis. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. 2
+[16] Michael McCloskey and Neal J Cohen. Catastrophic interference in connectionist networks: The sequential learning problem. In *Psychology of learning and motivation*, pages 109–165. Elsevier, 1989. 1
+[17] Alexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam, Pamela Mishkin, Bob Mcgrew, Ilya Sutskever, and Mark Chen. Glide: Towards photorealistic image generation and editing with text-guided diffusion models. In International Conference on Machine Learning, pages 16784-16804. PMLR, 2022. 1, 2
+[18] Dustin Podell, Zion English, Kyle Lacey, Andreas Blattmann, Tim Dockhorn, Jonas Müller, Joe Penna, and Robin Rombach. Sdxl: Improving latent diffusion models for high-resolution image synthesis. In The Twelfth International Conference on Learning Representations. 1, 2, 5
+[19] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In International Conference on Machine Learning, 2021. 5
+[20] Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, and Christoph H Lampert. icarl: Incremental classifier and representation learning. In Proceedings of the IEEE conference on Computer Vision and Pattern Recognition, pages 2001-2010, 2017. 2
+[21] Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 10684-10695, 2022. 1, 2
+[22] Nataniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 22500-22510, 2023. 1, 2, 5
+[23] Chitwan Sahara, William Chan, Saurabh Saxena, Lala Li, Jay Whang, Emily L Denton, Kamyar Ghasemipour, Raphael Gontijo Lopes, Burcu Karagol Ayan, Tim Salimans, et al. Photorealistic text-to-image diffusion models with deep language understanding. Advances in neural information processing systems, 35:36479-36494, 2022. 1, 2
+[24] James Smith, Yen-Chang Hsu, Lingyu Zhang, Ting Hua, Zsolt Kira, Yilin Shen, and Hongxia Jin. Continual diffusion:
+
+Continual customization of text-to-image diffusion with c- lora. ArXiv, abs/2304.06027, 2023. 1, 2, 4, 5
+[25] Gan Sun, Wenqi Liang, Jiahua Dong, Jun Li, Zhengming Ding, and Yang Cong. Create your world: Lifelong text-to-image diffusion. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(9):6454-6470, 2024. 2
+[26] Johannes von Oswald, Christian Henning, Benjamin F Grewe, and João Sacramento. Continual learning with hypernetworks. In 8th International Conference on Learning Representations (ICLR 2020)(virtual). International Conference on Learning Representations, 2020. 2
+[27] Andrey Voynov, Qinghao Chu, Daniel Cohen-Or, and Kfir Aberman. $\mathfrak{p}+$ : Extended textual conditioning in text-to-image generation. arXiv preprint arXiv:2303.09522, 2023. 4
+[28] Zifeng Wang, Zizhao Zhang, Chen-Yu Lee, Han Zhang, Ruoxi Sun, Xiaoqi Ren, Guolong Su, Vincent Perot, Jennifer Dy, and Tomas Pfister. Learning to prompt for continual learning. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 139-149, 2022. 2
+[29] Yuxiang Wei, Yabo Zhang, Zhilong Ji, Jinfeng Bai, Lei Zhang, and Wangmeng Zuo. Elite: Encoding visual concepts into textual embeddings for customized text-to-image generation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 15943-15953, 2023. 1, 2
+[30] Weicai Yan, Ye Wang, Wang Lin, Zirun Guo, Zhou Zhao, and Tao Jin. Low-rank prompt interaction for continual vision-language retrieval. In Proceedings of the 32nd ACM International Conference on Multimedia, pages 8257-8266, 2024. 2, 4
+[31] Jaehong Yoon, Eunho Yang, Jeongtae Lee, and Sung Ju Hwang. Lifelong learning with dynamically expandable networks. In International Conference on Learning Representations, 2018. 2
+[32] Friedemann Zenke, Ben Poole, and Surya Ganguli. Continual learning through synaptic intelligence. In International conference on machine learning, pages 3987-3995. PMLR, 2017. 2
\ No newline at end of file
diff --git a/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/images.zip b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..da5fd6032031df4139b0af9be2d08cd95bb61ce1
--- /dev/null
+++ b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b147c357b7f89f660a6e43de6e90bf2e5e147293e3c3c64c6cd34a30625324e9
+size 1029862
diff --git a/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/layout.json b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..9703cfc4ba2a7a732adde881204a4a183d4fadf4
--- /dev/null
+++ b/CVPR/2025/ConceptGuard_ Continual Personalized Text-to-Image Generation with Forgetting and Confusion Mitigation/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a9071b57d5a41df9dbc7ed4bd1c413d8aaf375b99be7be6c726c60da348f31fe
+size 354002
diff --git a/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_content_list.json b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..f0a6540d5bace38bd6bc638a9a43448518897f13
--- /dev/null
+++ b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b70b89b7947c9bb3befa3f9f1c79d606acf5709f212988a7bab94b1970f6b2ac
+size 80106
diff --git a/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_model.json b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..5e651f98844fa747b3a03f9090da6a655d9285f1
--- /dev/null
+++ b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f177224501a7722de928e50f89f5094c481bf4b0db71ab6962e06d1fa1adaf82
+size 96584
diff --git a/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_origin.pdf b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..7f7171db343499fdc44ee2a6b92c3a5e5d56cb51
--- /dev/null
+++ b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/0246e620-f269-40ea-be73-71e3fd5a8f44_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:06874477b7b040947374187bed5187abd2a5023c98a646a163f6454e38d78d36
+size 655056
diff --git a/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/full.md b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..a0cf47cbc5e3648d92dd2abc5216aaf629cb41e0
--- /dev/null
+++ b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/full.md
@@ -0,0 +1,321 @@
+# Condensing Action Segmentation Datasets via Generative Network Inversion
+
+Guodong Ding, Rongyu Chen and Angela Yao National University of Singapore
+
+{dinggd, rchen, ayao}@comp.nus.edu.sg
+
+# Abstract
+
+This work presents the first condensation approach for procedural video datasets used in temporal action segmentation. We propose a condensation framework that leverages generative prior learned from the dataset and network inversion to condense data into compact latent codes with significant storage reduced across temporal and channel aspects. Orthogonally, we propose sampling diverse and representative action sequences to minimize video-wise redundancy. Our evaluation on standard benchmarks demonstrates consistent effectiveness in condensing TAS datasets and achieving competitive performances. Specifically, on the Breakfast dataset, our approach reduces storage by over $500 \times$ while retaining $83\%$ of the performance compared to training with the full dataset. Furthermore, when applied to a downstream incremental learning task, it yields superior performance compared to the state-of-the-art.
+
+# 1. Introduction
+
+The effectiveness of data-driven deep neural network models hinges on training with large and diverse datasets. For instance, ImageNet [7] comprises over 14 million natural images for image classification, and Common Crawl [1] provides over 5 billion website pages to foster natural language processing tasks. However, the storage, processing, and training costs associated with massive datasets pose significant challenges, especially as data volumes continue to grow. This need for efficiency has driven interest in dataset condensation [36], a technique aimed at compressing large datasets into smaller, information-rich subsets. Such techniques have potential applications in downstream areas, including incremental learning and federated learning.
+
+The core objective of dataset condensation is to learn a small synthetic dataset from an original large-scale dataset. Ideally, models trained on the synthetic data should perform comparably to those trained on the original. Significant efforts since then [4, 6, 22, 35, 43] have been dedicated to dataset condensation for image data. Video, however, remains under-explored. The recent work [37] con
+
+
+Figure 1. Comparison of action segmentation performance with dataset storage across common action segmentation benchmarks at different scales. Our method effectively reduces dataset storage while retaining competitive performance to the original setup.
+
+denses static and dynamic information from videos for action recognition in a two-stage framework. First, a synthetic "image" aggregates the static visual information, while a dynamic memory block is learned to capture and supplement the motion and dynamics.
+
+This work aims to develop an effective dataset condensation approach for temporal action segmentation (TAS) [10]. TAS is a task that divides videos into segments by assigning labels on a per-frame basis to capture the sequence and duration of distinct actions. The videos are long, often spanning several minutes, creating significant challenges in raw data storage and processing. Dataset condensation for TAS presents unique challenges that are not typically encountered for action recognition datasets. First, TAS requires frame-level predictions rather than assigning a single label to an entire video or segment, as in action recognition. Consequently, dataset condensation for TAS must be capable of restoring the actual temporal resolutions of segments. Directly adapting the existing video condensation approach proposed by [37] for condensing TAS datasets
+
+is non-trivial. [37] uses a fixed-length frame processing, which cannot handle varying length segments while being able to restore the original temporal resolution. Additionally, the network in [37] is designed to work with RGB image sequences, while TAS typically uses pre-computed frame features [12, 21, 39]. Second, the action ordering in the video sequences is not rigidly fixed, but there is still a degree of structure or dependency that governs how actions unfold. Some actions can occur flexibly in their sequence, while others must follow a specific progression. As a result, redundant action sequences can emerge, where identical patterns in action order are presented multiple times. This sequence redundancy is not present in AR datasets.
+
+This work presents the first study on condensing TAS datasets. We propose a framework that condenses the dataset with a generative model into a set of latent codes. The generative model is first trained on the entire dataset to learn the prior. Then, through network inversion, we optimize a set of latent codes as the condensed data, minimizing the error between the generated and original frame features.
+
+Specifically, we use the TCA model proposed by [11] as our generative model. TCA is a conditional VAE reconstructing frame features while accounting for temporal dynamics. It is well-suited for our task because it compresses and restores the temporal resolution of action segments through its coherence variable. TCA also condenses the feature dimension, as the latent code is more compact than the original feature. As a result, the storage requirement for a single action segment can be significantly reduced to the segment's latent code. This corresponds to the first challenge of TAS dataset condensation.
+
+To address the second challenge of sequence redundancy, we propose a diversity-based sampling strategy grounded in the edit distance criterion. This approach iteratively selects the candidate sequence that maximizes the diversity within the chosen set. Empirically, we observed that TAS models achieve comparable performance with only half of the sequences. Our approach greatly reduces the storage while achieving comparable segmentation performance to the original dataset as shown in Fig. 1.
+
+Contributions. Our contributions are summarized as follows: (1) This work is the first to investigate and propose an effective dataset condensation approach for the temporal action segmentation task. (2) We propose a generative condensation framework that first learns the generative prior on the dataset and then leverages the network inversion to condense data into compact latent codes. In addition, we propose a sampling strategy to further reduce the storage requirements based on sequence diversity. (3) Our approach effectively condenses TAS datasets of varying scales while consistently yielding comparable segmentation performances. Our approach outperforms the state-of-the-art by $10.7\%$ on Breakfast under an incremental setup.
+
+# 2. Related Work
+
+Temporal Action Segmentation. Various approaches have been proposed to tackle the temporal action segmentation task [10]. Fully supervised methods require dense annotations for each video frame [12, 39]. In contrast, semi-supervised methods [8, 32] only necessitate dense labels for a subset of the videos, leaving the rest unlabeled. There are also weaker forms of supervision, such as action transcripts [17], action sets [14, 19, 28], timestamps [20, 27], and activity labels [9]. Additionally, some approaches [18, 29, 30] operate in an unsupervised setting without relying on any action labels. Recent emerging directions include learning TAS incrementally [11] where procedural activities are learned sequentially and in an online [31, 45] fashion. However, the storage burden of these video datasets remains a pressing issue as these videos are long and with rich redundancy. Our work is the first to study the dataset condensation of temporal action segmentation datasets from the perspective of efficient data storage.
+
+Dataset condensation. Dataset condensation (DC) is first formally introduced in [36]. The target is to learn a small set of synthetic data from an original large-scale dataset so that models trained on the synthetic dataset can perform comparably to those trained on the original. Based on the bilevel optimization formulation, varying techniques are leveraged to alleviate optimization difficulty including group optimization [46], the Neural Tangents Kernel (NTK) [24, 25], empirical Neural Network Gaussian Process (NNGP) [23]. Instead of matching model performance, [4, 6, 15, 42, 44] aim to indirectly achieve this by matching model parameters trained on original and condensed datasets. Another prominent line of work bypassing the bilevel optimization directly matches the distribution of original and condensed synthetic data [35, 43], known as distribution matching. Differently, [5, 41] introduced the generative model and synthesized in its latent space. Yet there is few work that extends this to the video domain. The work most related to ours is the dataset condensation for action recognition [37]. They disentangle the static and dynamic information in the video to minimize temporal redundancy. However, their method is not applicable to temporal action segmentation as they can not account for varying temporal resolution of actions and video redundancy. Thus, we are motivated to propose a generative framework to tackle the procedure video condensation problem for temporal action segmentation.
+
+# 3. Dataset Condensation for TAS
+
+# 3.1. Preliminaries
+
+Temporal Action Segmentation (TAS). Temporal action segmentation is a task that segments untrimmed procedural videos into contiguous and non-overlapping actions. For example, given a video $\mathbf{X} = \{x^{1},\dots,x^{T}\}$ of $T$ frames
+
+
+(a) Generative Action Model
+
+
+(b) Network Inversion
+Figure 2. Generative Feature and Temporal Condensation Framework. (a) The generative action model is a conditional VAE that is trained to reconstruct the input frames conditioned on the action class label and a coherence variable. (b) The network inversion aims to optimize between decoded and original segments. Randomly sampled latent codes $z_{1}$ and $z_{2}$ are first inflated over time to the segment length, then concatenated with the action label and coherence variable for decoding. During the optimization, only the latent codes get updated while the decoder always stays fixed. These optimized latent codes $z_{1}^{*}$ and $z_{2}^{*}$ are stored as the condensed representation of the original segment. indicates parameter updates during learning, while the indicates that the parameter is kept frozen.
+
+long, a segmentation model outputs $N$ continuous action segments consecutive in time:
+
+$$
+\mathbf {s} _ {1: N} = \left(s _ {1}, s _ {2}, \dots , s _ {N}\right), \quad \text {w h e r e} s _ {n} = \left(a _ {n}, t _ {n}, \ell_ {n}\right), \tag {1}
+$$
+
+$$
+\begin{array}{l l} \text {s . t .} & t _ {n + 1} = t _ {n} + \ell_ {n}. \end{array}
+$$
+
+$s_n$ is a segment of length of $\ell_{n}$ , with action class label $a_{n} \in \mathcal{A}$ from $A$ predefined categories. The $t_n$ denotes the starting timestamp of segment $s_n$ . Alternatively, most existing works [12, 21, 39] formulate it as a frame-wise classification task $(\mathcal{L}_{\mathrm{cls}})$ and encourage the continuity of action segments with a smoothing term $(\mathcal{L}_{\mathrm{sm}})$ with the learning objective written as:
+
+$$
+\mathcal {L} _ {\text {t a s}} = \mathcal {L} _ {\mathrm {c l s}} (x, y) + \lambda \cdot \mathcal {L} _ {\mathrm {s m}} (x, y), \tag {2}
+$$
+
+where $y \in \mathcal{A}$ is the action label and $\lambda$ a trade-off parameter. Dataset Condensation (DC). Let $\mathcal{R} = \{\mathbf{X}_r, \mathbf{Y}_r\}$ represent a real image dataset, where $\mathbf{X}_r \in \mathbb{R}^{n_r \times d}$ denotes the set of training samples and $\mathbf{Y}_r \in \mathbb{R}^{n_r \times c}$ corresponds to their associated labels. Here, $n_r$ denotes the number of original samples while $d$ and $c$ represent the dimensionality of the input features and output labels, respectively. The objective of dataset condensation is to construct a synthetic dataset of $n_s$ samples, i.e. $\mathcal{S} = \{\mathbf{X}_s, \mathbf{Y}_s\}$ , where $\mathbf{X}_s \in \mathbb{R}^{n_s \times d}$ and $\mathbf{Y}_s \in \mathbb{R}^{n_s \times c}$ , with a considerably reduced size compared to the real dataset, such that $n_s \ll n_r$ .
+
+# 3.2. Task Formulation
+
+Given an original TAS dataset with $n_r$ training videos, represented as $\mathcal{R} = \{(\mathbf{X}_i, \mathbf{Y}_i)\}_{i=1}^{n_r}$ . Each video representation $\mathbf{X} \in \mathbb{R}^{T \times D}$ and its corresponding action label $\mathbf{Y} \in \mathbb{R}^{T \times A}$ have the same temporal length $T$ . Here, $D$ and $A$ denote
+
+the dimensions of frame feature space $(x\in \mathbb{R}^{D})$ and the action space $(y\in \mathbb{R}^A)$ , respectively. The goal of dataset condensation is to create a compact subset $\mathcal{S} = \{\hat{\mathbf{X}}_i,\hat{\mathbf{Y}}_i\}_{i = 1}^{n_s}$ where $\hat{\mathbf{X}}\in \mathbb{R}^{T'\times d}$ represents a condensed version of original video. The size of $\mathcal{S}$ is expected to be significantly smaller than that of the original dataset $\mathcal{R}$ .
+
+This objective can be achieved through two levels of dataset condensation: (1) Sample compression: reducing the dimensionality of each video such that $T' \times d \ll T \times D$ and (2) Sample Reduction: reducing the total number of samples, i.e., $n_s \ll n_r$ . In light of this, our condensation framework implements reductions at both levels: for sample compression, we propose a generative feature and temporal condensation technique using network inversion (Sec. 3.3). For sample reduction, we use a diversity-based sampling strategy (Sec. 3.4).
+
+# 3.3. Generative Feature & Temporal Condensation
+
+Generative models are compact yet flexible, able to produce outputs of various lengths, making them ideal for condensing TAS datasets. The condensation process involves two main stages. In the first stage, a generative model is trained to represent action segments. In the second stage, a network inversion process is applied to optimize the latent codes, ensuring the condensed dataset captures an optimal representation of the original action segments.
+
+Generative Action Model. We choose the Temporally Coherent Action (TCA) model proposed in [11] as our generative action model. TCA is essentially a compact, two-layer MLP VAE trained to reconstruct frame features. Specifically, the encoder in the TCA model takes three inputs: frame feature $x$ , action label $a$ , and a coherence variable $c$ . The variable $c$ is mathematically defined as the relative
+
+position of the frame within its segment:
+
+$$
+c _ {i} = (i - 1) / (\ell - 1), \quad \text {a n d} \quad c _ {i} \in [ 0, 1 ]. \tag {3}
+$$
+
+The VAE's encoder maps these inputs in a latent space while the decoder reconstructs the frame feature $\hat{x}$ . We denote the encoder and decoder as $\mathbf{E}(x,a,c) = q_{\phi}(z|x,a,c)$ and $\mathbf{D}(z,a,c) = p_{\theta}(x|z,a,c)$ , respectively. The TCA model is trained on the entire dataset's video frames with a reconstruction loss and a KL divergence regularizer:
+
+$$
+\mathcal {L} _ {\mathrm {T C A}} = \underbrace {\mathbb {E} _ {z} \log p _ {\theta} (x | z , a , c)} _ {\mathcal {L} _ {\text {r e c o n}}} - \underbrace {\mathrm {D} _ {\mathrm {K L}} \left(q _ {\phi} (z | x , a , c) \mid \mid p (z)\right)} _ {\mathcal {L} _ {\text {r e g}}}. \tag {4}
+$$
+
+An overview of the generative action model is depicted in Fig. 2(a). In this way, a segment of $\mathbb{R}^{\ell \times D}$ can be efficiently compressed to a latent distribution characterized by the mean and standard deviation $(\mu ,\sigma)\in \mathbb{R}^{d}$ , $d$ is the dimension of the latent space. An advantage of using a generative model for condensing TAS videos is the ability to restore the original resolution. Such a model can generate segments of any specified length $\ell$ , producing each frame $\hat{x}$ by decoding a randomly sampled latent code $z$ as follows:
+
+$$
+\hat {x} _ {i} = p _ {\theta} (x \mid z, a, c _ {i}), \quad \text {a n d} i \in [ 1, \dots , \ell ]. \tag {5}
+$$
+
+To ensure temporal continuity of generated features, [11] suggests a fixed latent code $z$ is applied across all frames within the same segment.
+
+Network Inversion. The above model learns inherent action priors from the video dataset, enabling it to generate segments that reflect realistic actions. However, segments decoded from randomly sampled latent codes can still deviate significantly from real data. To limit the deviations, we propose using network inversion. Neural network inversion is the process of determining a neural network input when given the corresponding output. Formally, given a neural network $f: \mathbb{R}^n \to \mathbb{R}^m$ that maps an input $x \in \mathbb{R}^n$ to an output $y \in \mathbb{R}^m$ , where $y = f(x)$ . Mathematically, given an output $y$ , the objective of neural network inversion is to find an input $x^*$ such that:
+
+$$
+x ^ {*} = f ^ {- 1} (y), \tag {6}
+$$
+
+where $f^{-1}$ represents an approximate or exact inverse of function $f$ . Since neural networks are generally not invertible, the problem can be posed as an optimization problem:
+
+$$
+x ^ {*} = \underset {x \in \mathbb {R} ^ {d}} {\arg \min } \mathcal {C} (f (x), y), \tag {7}
+$$
+
+where $\mathcal{C}(\cdot, \cdot)$ is a cost function. Note that during the inversion, both $f(\cdot)$ and $y$ remain fixed, while only $x$ is updated.
+
+As our generation depicted in Eq. (5) is at the segment level, the inversion objective from Eq. (7) becomes:
+
+$$
+z ^ {*} = \underset {z \in \mathbb {R} ^ {d}} {\arg \min } \underbrace {| | \mathbf {D} (\mathbf {z} , \mathbf {a} , \mathbf {c}) - \mathbf {x} | | _ {2} ^ {2}} _ {\mathcal {L} _ {\text {i n v}}}, \tag {8}
+$$
+
+where $\mathbf{z} = z\otimes \mathbf{1}_{\ell}$ , $\mathbf{a} = a\otimes \mathbf{1}_{\ell}$ , and $\mathbf{c} = [c_1,\dots ,c_\ell ]$ . $\mathbf{1}_{\ell}$ is a vector of ones of length $\ell$ . We choose the $\ell_{2}$ norm as the cost function in the inversion loss $\mathcal{L}_{\mathrm{inv}}$ to align with the reconstruction term $\mathcal{L}_{\mathrm{recon}}$ in the generative model training (as shown in Eq. (4)). Upon performing the inversion, the optimized latent code $z^{*}\in \mathbb{R}^{d}$ is stored for each segment.
+
+Instances per Segment. In TAS datasets, action segments can be particularly long, where a single global latent code may not suffice to restore the full complexity and temporal dynamics of the entire segment. This limitation highlights the need for finer-grained approximations. To address this, we introduce the concept of instances per segment, which divides each segment into smaller, finer-grained instances for more precise network inversion. This is akin to the instances per class commonly used in existing dataset condensation works [40]. We evenly split segments into smaller instances to enable inversions at local scales.
+
+Specifically, during the inversion step, for a given segment, we first initialize a set of $K$ random codes $\{z_k\}_{k=1}^K$ . These codes are evenly inflated over time to match the actual length of the segment, yielding the vector $\mathbf{z} = [z_1 \otimes \mathbf{1}_{\ell_1}, \dots, z_K \otimes \mathbf{1}_{\ell_K}]$ , where $\ell_k = \frac{\ell}{K}$ . The vector $\mathbf{z}$ is concatenated with the action label $\mathbf{a}$ and the coherence variable $\mathbf{c}$ , and the combined input is fed into the decoder for network inversion as defined in Eq. (8). After performing the inversion, we store the set of optimal latent codes $\{z_k^*\}_{k=1}^K$ as the condensed representation of the segment's features. An illustrative depiction of the inversion process for a segment of length $\ell = 6$ with $K = 2$ instances per segment is shown in Fig. 2(b). Initially, two latent codes $z_1, z_2$ are randomly sampled and expanded temporally to generate the segment $\{\hat{x}\}$ through the decoder. The decoder remains fixed while only the latent codes are optimized. Once optimized, the final $z_1^*, z_2^*$ are stored as the condensed segment.
+
+The proposed framework simultaneously condenses feature and temporal dimensions and reduces the storage requirement for each segment. Specifically, a segment $\mathbf{x} \in \mathbb{R}^{\ell \times D}$ can be efficiently condensed into latent codes $\mathbf{z} \in \mathbb{R}^{K \times d}$ , with the condensation factor given by $\frac{\ell \cdot D}{K \cdot d}$ . At the video level, our framework condenses the original $\mathbf{X} \in \mathbb{R}^{T \times D}$ into a reduced representation $\hat{\mathbf{X}}^{*} \in \mathbb{R}^{KN \times d}$ , where $N$ denotes the number of segments in the video, which is substantially smaller than the original video length $T$ .
+
+# 3.4. Diverse Sequence Sampling
+
+The condensation process described above occurs at the sample level, reducing both feature and temporal dimensions. To account for sample redundancy, we introduce a diversity-based pruning strategy. Our intuition is that the selected sequences, taken collectively, should capture the maximum diversity of action ordering within the dataset. This ensures that the pruned set retains the broadest range of unique temporal patterns and action variations. Edit dis
+
+tance measures the minimum operations needed to transform one sequence into another, making it suitable for quantifying sequence diversity. Given two action sequences $\mathbf{s}_i$ and $\mathbf{s}_j$ , we quantify the diversity with the normalized edit distance between them:
+
+$$
+\operatorname {E d i t} \left(\mathbf {s} _ {i}, \mathbf {s} _ {j}\right) = \frac {e \left[ \left| \mathbf {s} _ {i} \right| , \left| \mathbf {s} _ {j} \right| \right]}{\max \left(\left| \mathbf {s} _ {i} \right| , \left| \mathbf {s} _ {j} \right|\right)}, \quad \text {a n d} \tag {9}
+$$
+
+$$
+e [ m, n ] = \left\{ \begin{array}{l l} \max (m, n), & \min (m, n) = 0 \\ \min (e [ m - 1, n ] + 1, e [ m, n - 1 ] + 1, \\ e [ m - 1, n - 1 ] + \mathbb {1} (\mathbf {s} _ {i} ^ {m} \neq \mathbf {s} _ {j} ^ {n})) & , \text {o t h e r w i s e}. \end{array} \right.
+$$
+
+where $m, n$ denote the action index within two comparing sequences, respectively. $\mathbb{1}(\cdot)$ is an indicator function.
+
+We then apply a furthest point sampling strategy, commonly used in point clouds [26], to progressively select sequence $\mathbf{s}^*$ that maximizes the diversity until the desired set cardinality is reached. Specifically:
+
+$$
+\mathbf {s} ^ {*} = \underset {\mathbf {s} _ {i} \in \mathcal {D} \backslash S} {\arg \max } \underset {\mathbf {s} _ {j} \in \mathcal {S}} {\min } \operatorname {E d i t} \left(\mathbf {s} _ {i}, \mathbf {s} _ {j}\right), \tag {10}
+$$
+
+where $\mathcal{D}$ is the original dataset and $S$ the selected set, and $|\mathcal{S}| = \gamma |\mathcal{D}|$ . We empirically set the size of the sampled to half of the original dataset, i.e., $\gamma = 0.5$ . This yields an extra $\sim 50\%$ reduction in the storage of latent codes.
+
+# 3.5. Decoding for TAS
+
+Neural networks are sensitive to input resolution, and training a TAS model on low-resolution or condensed input can lead to suboptimal performance. Therefore, restoring the original resolution of input data is essential for the segmentation model to learn effectively. Different than the random generation in [11], we restore the action segments with their respective latent codes $\{z_k^*\}$ , action labels $a$ and length $\ell$ (coherence variable $c$ ), with the decoder $\mathbf{D}$ as follows:
+
+$$
+\hat {\mathbf {x}} ^ {*} = \mathbf {D} (\mathbf {z} ^ {*}, \mathbf {a}, \mathbf {c}), \tag {11}
+$$
+
+where $\mathbf{z}^{*} = [z_{1}^{*}\otimes \mathbf{1}_{\ell_{1}},\dots,z_{K}^{*}\otimes \mathbf{1}_{\ell_{K}}]$ . These restored segments $\hat{\mathbf{x}}^*$ are then concatenated in time to form videos $\hat{\mathbf{X}}^*$ , and their temporal order follows the symbolic sequence stored in the pruned set $S$ . Hence, the training objective in Eq. (2) of the segmentation model becomes:
+
+$$
+\mathcal {L} _ {\text {t a s}} = \mathcal {L} _ {\mathrm {c l s}} \left(\hat {x} ^ {*}, y\right) + \lambda \cdot \mathcal {L} _ {\mathrm {s m}} \left(\hat {x} ^ {*}, y\right), \tag {12}
+$$
+
+Details of the loss terms are given in the Supplementary.
+
+# 4. Experiments
+
+# 4.1. Datasets and Evaluation
+
+Datasets. We evaluate our approach on three common TAS benchmarks that vary in storage scales. GTEA [13] contains 28 videos of seven kitchen activities composing 11 different actions. 50Salads [33] has 50 videos with 19 action
+
+classes. Breakfast [16] dataset comprises 1,712 undirected breakfast preparation videos. There are 10 activities and a total of 48 action classes; each video features 5 to 14 actions. In terms of storage, the three datasets are at three scales: GTEA is the smallest at $245\mathrm{MB}$ , 50Salads is in the middle at $4.5\mathrm{GB}$ , and Breakfast is the largest at $28\mathrm{GB}$ . For all datasets, we use the I3D [3] feature representations and evaluate with the standard splits. Although I3D initially compresses frames by transforming RGB data into feature space, the original temporal resolution remains.
+
+Evaluation Measures. TAS is evaluated using three metrics: frame-wise accuracy (Acc), segment-wise edit score (Edit), and F1 score with varying overlap thresholds of $10\%$ , $25\%$ , and $50\%$ . In addition to these conventional TAS metrics, we also report the storage size to highlight the level of dataset condensation.
+
+# 4.2. Implementation
+
+**Generative Network Inversion.** We use the TCA [11] as our generative model, and follow their implementation as a two-layer MLP for both encoder and decoder with the latent size $d = 256$ . On each dataset, we train the model for $7.5K$ epochs with a learning rate of $1e^{-3}$ . For the network inversion, we optimize Eq. (8) for $10K$ iterations to obtain the optimal latent codes $z^*$ . In all our experiments, unless otherwise specified, we set the number of instances per segment $K = 8$ and the sequence sampling ratio $\gamma = 0.5$ .
+
+Segmentation Backbones. We evaluate the effectiveness of our dataset condensation framework with two popular TAS backbones, i.e., MSTCN [12] and ASFormer [39]. The former is a convolution-based segmentation model, while the latter is based on transformer architectures. We train MSTCN with a learning rate of $5e^{-4}$ for 50 epochs and $1e^{-4}$ for 30 epochs with ASFormer.
+
+Baselines. As the first work to address dataset condensation for TAS, we establish the following baselines for comparison. Recognizing that storage size is a key evaluation aspect of dataset condensation approaches, we vigorously implement the following with aligned storage sizes to ensure fair comparisons:
+
+- "Original" uses features of standard TAS datasets and no dataset condensation techniques are applied.
+
+- "Mean" is a straightforward method that stores the average frame features of action segments as representatives. During TAS training, each average feature is repeated to match the segment length, creating a static boring video [44]. This method effectively reduces video length to the number of segments, i.e., $\mathbb{R}^{T\times D}\to \mathbb{R}^{N\times D}$ .
+
+- "Coreset" utilizes the Herding [38] to identify the frame feature closest to the mean feature of the segment. The selected frames are then upsampled similarly to "Mean" to restore the original temporal resolution. Therefore, they have the same condensation ratio.
+
+
GTEA [13]
50Salads [33]
Breakfast [16]
Acc
Edit
F1@{10, 25, 50}
Storage
Acc
Edit
F1@{10, 25, 50}
Storage
Acc
Edit
F1@{10, 25, 50}
Storage
MS-TCN [12]
Original
79.0
76.3
85.8 / 83.4 / 69.8
245 MB
80.6
63.1
69.9 / 67.4 / 59.0
4.5 GB
67.2
60.6
50.5 / 46.3 / 36.8
28 GB
Mean
71.2
73.3
77.1 / 73.7 / 59.4
7.2 MB
69.0
42.7
50.0 / 46.1 / 37.4
7.8 MB
47.6
31.8
27.8 / 23.3 / 15.6
96 MB
Coreset [38]
66.7
66.1
72.4 / 68.9 / 53.2
7.2 MB
61.7
43.3
49.9 / 46.3 / 35.4
7.8 MB
49.7
36.8
32.3 / 27.5 / 19.3
96 MB
TCA [11]
60.9
54.1
59.2 / 55.3 / 39.3
-
56.4
33.6
39.8 / 35.8 / 25.9
-
34.2
20.7
17.9 / 13.8 / 8.4
-
Encoded
70.4
65.5
72.2 / 68.8 / 52.1
3.6 MB
69.0
43.6
50.6 / 46.0 / 37.4
3.9 MB
37.9
49.8
40.0 / 32.8 / 19.4
44 MB
Ours
75.2
71.9
78.3 / 74.6 / 62.7
3.6 MB
74.4
59.5
65.1 / 61.0 / 50.2
3.9 MB
55.5
45.6
46.7 / 41.1 / 28.7
44 MB
Encoded†
70.5
72.7
77.1 / 73.7 / 59.8
30.5 MB
72.1
58.2
63.2 / 60.0 / 49.3
564 MB
43.4
53.2
45.8 / 37.4 / 22.8
3.4 GB
Ours†
73.3
73.8
79.2 / 75.4 / 65.5
30.5 MB
72.8
59.8
65.2 / 61.3 / 51.3
564 MB
54.1
53.3
49.8 / 44.3 / 33.1
3.4 GB
ASFormer [39]
Original
79.7
84.6
90.1 / 88.8 / 79.2
245 MB
85.6
79.6
85.1 / 83.4 / 76.0
4.5 GB
73.5
75.0
76.0 / 70.6 / 57.4
28 GB
Mean
72.2
76.9
82.1 / 79.7 / 65.1
7.2 MB
71.6
49.8
56.6 / 52.5 / 43.4
7.8 MB
52.2
43.2
43.5 / 38.3 / 26.7
96 MB
Coreset [38]
71.0
75.4
81.0 / 78.1 / 62.9
7.2 MB
69.4
46.8
56.6 / 52.9 / 39.6
7.8 MB
52.0
48.1
48.3 / 42.4 / 29.7
96 MB
TCA [11]
62.2
57.8
63.0 / 57.4 / 39.9
-
66.8
44.0
52.2 / 47.3 / 36.6
-
36.6
28.2
26.3 / 22.1 / 14.3
-
Encoded
69.2
70.2
73.3 / 67.3 / 49.8
3.6 MB
71.2
45.4
55.0 / 50.4 / 40.2
3.9 MB
37.6
53.6
50.7 / 41.3 / 24.0
44 MB
Ours
77.9
82.7
86.4 / 84.5 / 70.4
3.6 MB
81.2
68.9
77.0 / 73.8 / 64.7
3.9 MB
59.8
48.8
54.1 / 47.7 / 34.1
44 MB
Encoded†
74.0
78.1
83.1 / 79.6 / 67.3
30.5 MB
75.6
60.1
67.7 / 64.2 / 53.5
564 MB
45.7
54.8
52.6 / 43.3 / 25.2
3.4 GB
Ours†
75.0
79.0
83.6 / 79.5 / 67.7
30.5 MB
76.2
65.0
73.1 / 68.8 / 58.5
564 MB
61.1
61.4
62.4 / 56.0 / 42.1
3.4 GB
+
+Table 1. Performance comparison on dataset condensation for TAS on three common benchmarks with different backbones. Storage sizes are highlighted in colors (high, medium, low). Our method remarkably reduces storage while retaining competitive performances across different datasets and model architectures. More details of the settings $(d,K,$ and $\gamma)$ for each method are provided in the Supplementary.
+
+- "TCA" [11] is a baseline that follows its original implementation in which action segments are generated directly from random latent codes. This method does not require storage for latent codes, as they can be sampled on the fly during decoding.
+
+- "Encoded" is the closest to our setup, with the key difference being that, instead of using network inversion to obtain latent codes, it stores the mean of encoded segment frames. Specifically, $z_{k} = \mathrm{mean}(\mu_{1},\dots,\mu_{\ell_{k}})$ . This approach results in the same storage requirement as ours.
+
+- "Encoded†" refers to a setup similar to "Encoded" except for removing the sequence sampling and setting the number of instances per segment to the actual segment length, i.e., $K = \ell$ , which creates a latent code for each individual frame. The approach condenses along the feature dimension rather than the temporal dimension.
+
+# 4.3. Effectiveness
+
+Table 1 compares our approach to the baselines on three widely adopted TAS benchmarks. As observed, approaches like "Mean" and "Coreset", which primarily condense from the temporal aspect, achieve similar performance across all datasets while maintaining an identical storage size. Note that in the best scenario, boring videos generated by these approaches can account for up to $80\%$ performance of training with the "Original". This highlights the temporal re
+
+dundancy present in videos. TCA [11] does not incur additional storage requirements for the latent code, yet it produces the lowest overall performance across all evaluation metrics on three datasets. Although the generated segments inherit the action priors learned from the dataset, it is still likely the decoded segments from randomly sampled latent codes may not align well with the original data. A segmentation model trained on these misaligned features may not generalize well to the real testing data.
+
+By storing encoded mean features of segments from the encoder as latent codes and diverse sequence sampling, "Encoded" can manage to achieve segmentation performance comparable to the "Mean" baseline, while requiring only half the storage cost. The best performance is achieved by our approach, which adds a network inversion process on top of "Encoded". By imposing network inversion, a significant performance gain in segmental metrics is observed. For instance, on the 50Salads dataset, the average F1 score is boosted by a substantial $14.1\%$ (from $44.7\%$ to $58.8\%$ ). This underscores the effectiveness of network inversion, as it adapts the latent codes to better reflect the actual data.
+
+Comparing across storage sizes, our approach also significantly outperforms its counterparts, "Mean" and "Core-set", while only requiring roughly half the storage burden – 44 MB compared to 96 MB on the Breakfast dataset.
+
+Our proposed condensation framework is independent of
+
+
Sampling
Acc
Edit
F1@{10, 25, 50}
Storage
GTEA
X
76.3
74.8
80.0 / 78.0 / 61.7
7.2 MB
Random
74.0
69.3
76.2 / 72.8 / 60.4
3.6 MB
Ours
75.2
71.9
78.3 / 74.6 / 62.7
3.6 MB
50Salads
X
75.3
60.0
66.2 / 62.6 / 49.9
7.8 MB
Random
71.9
58.9
62.3 / 58.4 / 49.5
3.9 MB
Ours
74.4
59.5
65.1 / 61.0 / 50.2
3.9 MB
Breakfast
X
55.6
52.3
47.3 / 42.1 / 31.4
91 MB
Random
52.3
39.9
41.2 / 36.5 / 24.1
44 MB
Ours
55.5
45.6
46.7 / 41.1 / 28.7
44 MB
+
+Table 2. Effectiveness of the sequence sampling strategies on three TAS benchmarks. Our proposed sampling outperforms random while retaining comparable performances to the case where no sequence sub-sampling is performed.
+
+
γ
Acc
Edit
F1@{10, 25, 50}
Storage
Ratio(%)
0.1
45.0
44.9
40.5 / 35.6 / 23.2
1.3 MB
0.53
0.2
53.1
49.1
50.4 / 44.6 / 30.6
1.9 MB
0.78
0.3
56.9
52.3
56.8 / 52.6 / 36.7
2.4 MB
0.98
0.4
73.6
72.9
77.1 / 74.2 / 63.1
2.9 MB
1.18
0.5
75.2
71.9
78.3 / 74.6 / 62.7
3.6 MB
1.47
1
76.3
74.8
80.0 / 78.0 / 61.7
7.2 MB
2.94
+
+the segmentation model, making it compatible with different backbones. TAS performances in Tab. 1 with two segmentation backbones [12, 39] demonstrates consistent performance improvements over the baselines.
+
+# 4.4. Ablation and Hyper-parameter Study
+
+Sequence Sampling Strategy. To evaluate the effectiveness of our proposed diversity-based sequence sampling technique, we compare it against random sampling and report the results in Tab. 2. For all datasets, the default sampling ratio $\gamma$ is set to 0.5. We first observe that, with a sampling ratio of 0.5, effectively reducing the number of samples by half, the segmentation performance is not significantly affected, highlighting sample redundancy in the video datasets. On the other hand, our strategy consistently outperforms the random sampling across all metrics. Specifically, on the 50Salads dataset, there is a $2.5\%$ gap in the frame-wise accuracy (74.4% vs. 71.9%). The consistent performance gain over the counterpart underscores that, when constrained by a sequence budget, prioritizing the incorporation of diverse action sequences enhances the model's generalization capability more effectively.
+
+Sequence Sampling Ratio $\gamma$ . We further evaluate segmen
+
+
+Figure 3. T-SNE visualization of original and decoded video features. Different colors indicate different action classes. The visualization shows that our generated features are well-aligned with original features. Best viewed when zoomed in.
+
+Table 3. Sequence sampling ratio $(\gamma)$ effects on GTEA. With only 0.5, we can achieve comparable performances to the full $\gamma = 1$
+
+
IPS (K)
Acc
Edit
F1@{10, 25, 50}
Storage
Ratio(%)
Mean
47.6
31.8
27.8 / 23.3 / 15.6
96 MB
0.34
1
52.1
32.2
28.1 / 23.7 / 16.0
11 MB
0.04
2
52.7
38.4
34.9 / 30.1 / 21.1
22 MB
0.08
4
52.4
45.9
40.7 / 35.8 / 26.0
45 MB
0.15
8
55.6
52.3
47.3 / 42.1 / 31.4
91 MB
0.31
16
54.2
51.2
47.4 / 41.8 / 31.0
182 MB
0.62
†
54.1
53.3
49.8 / 44.3 / 33.1
3.4 GB
12.0
+
+Table 4. Effect of the number of instance per segment $(K)$ on Breakfast dataset without sequence sampling imposed. The ratio denotes the relative storage size of each setup compared to the original full dataset size. $\dagger$ indicates the setup in which latent codes are optimized on a per-frame basis.
+
+tation performances on the GTEA dataset using various sequence sampling ratios $\gamma$ , as shown in Tab. 3. As $\gamma$ increases, a greater number of sequences are used to train the segmentation model, leading to a clear trend of improvement on all segmentation metrics. Notably, there is a substantial performance boost when $\gamma$ increases from 0.3 to 0.4, with a $16.7\%$ improvement in Acc and $20.6\%$ in the Edit score. Given the small scale of the GTEA dataset, a sampling ratio of 0.5 provides sufficient diversity in sampled sequences to effectively represent the dataset.
+
+Instances per Segment $(K)$ . We next examine how the number of instances per segment $(K)$ impacts the segmentation performance and storage. Table 4 presents the segmentation performance without imposing the sequence sampling. Across various $K$ values, our approach consistently outperforms the "Mean" baseline. Notably, even with $K = 1$ , requiring only $1/8$ of the storage (11 MB vs. 96
+
+
MSTCN [12]
ASFormer [39]
Acc
Edit
F1@{10, 25, 50}
Avg
Acc
Edit
F1@{10, 25, 50}
Avg
Mean [2]
18.4
14.1
14.4 / 13.0 / 9.8
13.9
12.1
10.4
10.7 / 9.7 / 7.9
10.2
TCA [11]
31.4
25.0
25.5 / 22.9 / 17.4
28.3
36.0
31.9
32.4 / 29.3 / 22.8
30.5
Ours
38.2
31.6
32.8 / 29.7 / 22.8
31.0
46.7
41.1
41.7 / 38.3 / 30.8
39.7
Original
44.4
40.2
40.8 / 36.9 / 28.8
38.2
51.7
46.2
47.2 / 43.4 / 34.7
44.6
+
+Table 5. Performance comparison on the Breakfast dataset under the 10-task incremental setup following [11]. "Avg" indicates the averaged performance on all metrics. Our approach consistently surpasses the counterparts, with both MSTCN and ASFormer backbones.
+
+MB), a performance margin is achieved over "Mean". In both cases, each segment is condensed into a single representation, but with different dimensions. The "mean" approach retains the original feature dimension $D = 2048$ while $K = 1$ maps the segment into one latent code with dimension $d = 256$ . This improvement demonstrates our method's effectiveness under extreme storage constraints.
+
+Frame-wise Acc shows minimal sensitivity to $K$ , with performance remaining relatively stable and a maximum variation of $3.5\%$ across different $K$ values. However, segmental metrics, such as Edit and F1 scores, demonstrate a clear upward trend as $K$ increases. For example, with $K = 1$ , where each segment is condensed into a single latent code, the Edit score is $32.2\%$ . Increasing $K$ to 8 boosts the score to $52.3\%$ , highlighting that a finer-grained condensation improves representation. This is because higher $K$ values allow each segment to be represented by multiple latent codes rather than a single, highly compressed one, creating a more detailed representation that better approximates the original data. However, performance plateaus at $K = 16$ , with no further improvement when condensation is conducted on a per-frame basis (denoted by $\dagger$ ). This suggests that the performance may be constrained by the generative model's expressiveness. The storage size, as expected, increases linearly with $K$ . With $K = 8$ , the compression ratio for Breakfast is $0.31\%$ , providing a good balance between storage efficiency and performance.
+
+Visualization. We plot both the original and decoded frame features using T-SNE [34] for a sample video sequence from the GTEA dataset in Fig. 3. As shown, our network inversion approach effectively restores features that closely approximate the original, using the optimized latent codes. More visualizations are available in the Supplementary.
+
+# 5. Incremental Action Segmentation
+
+One promising application of dataset condensation is in continual learning as it effectively alleviates the storage burden associated with reply data.
+
+We integrate our approach into the incremental temporal action segmentation (iTAS) framework recently proposed by [11]. In this setup, iTAS trains the segmentation model
+
+incrementally on different activity videos, with each stage focused on training with videos from a single activity. Each activity is treated as consisting of disjoint action classes, distinct from those of other activities. In their training, they assume that a small reservoir of samples from previous activities is considered available for the model to revisit, a process known as data replay. Our framework is applied to condense the replay data, the process is identical but on a per-activity basis.
+
+Following [11], we conduct the experiment on the Breakfast dataset using the 10-task incremental setup, where each task corresponds to a single activity. Specifically, we train the TCA model for $2.5\mathrm{K}$ epochs same as [11] and optimize the latent codes for the 10K iterations. To ensure the most efficient storage, we select the number of instances per segment as $K = 1$ . This choice aligns with [11], where they also sample a single random latent code for each segment decoding. The results are summarized in Tab. 5. With our approach applied, we achieve a $6.8\%$ increase in the final frame-wise accuracy with MSTCN [12] and a $10.7\%$ increase with ASFormer [39]. Furthermore, our approach also significantly improves all segmental metrics by a margin larger than $10\%$ with ASFormer.
+
+# 6. Conclusion
+
+This work introduces the first study on dataset condensation of temporal action segmentation. We propose a novel condensation framework to tackle the unique challenges of handling long procedural videos. It first condenses video segments into compact latent codes through generative network inversion from both temporal and channel perspectives. A diverse sequence sampling is further proposed to reduce the video-wise redundancy. Results on common benchmarks and with different backbones show our framework significantly reduces storage requirements, while preserving performance comparable to the original. This framework offers a practical solution for effectively condensing TAS datasets.
+
+Acknowledgment This research / project is supported by the Ministry of Education, Singapore, under the Academic Research Fund Tier 1 (FY2022).
+
+# References
+
+[1] Common crawl. https://commoncrawl.org/about/.1
+[2] Lama Alssum, Juan León Alcazar, Merey Ramazanova, Chen Zhao, and Bernard Ghanem. Just a glimpse: Rethinking temporal information for video continual learning. In CVPRW, 2023. 8
+[3] Joao Carreira and Andrew Zisserman. Quo vadis, action recognition? a new model and the kinetics dataset. In CVPR, 2017. 5
+[4] George Cazenavette, Tongzhou Wang, Antonio Torralba, Alexei A Efros, and Jun-Yan Zhu. Dataset distillation by matching training trajectories. In CVPR, 2022. 1, 2
+[5] George Cazenavette, Tongzhou Wang, Antonio Torralba, Alexei A Efros, and Jun-Yan Zhu. Generalizing dataset distillation via deep generative prior. In CVPR, 2023. 2
+[6] Justin Cui, Ruochen Wang, Si Si, and Cho-Jui Hsieh. Scaling up dataset distillation to imagenet-1k with constant memory. In ICML, 2023. 1, 2
+[7] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. 1
+[8] Guodong Ding and Angela Yao. Leveraging action affinity and continuity for semi-supervised temporal action segmentation. In ECCV, 2022. 2
+[9] Guodong Ding and Angela Yao. Temporal action segmentation with high-level complex activity labels. IEEE TMM, 2022. 2
+[10] Guodong Ding, Fadime Sener, and Angela Yao. Temporal action segmentation: An analysis of modern techniques. IEEE TPAMI, 2023. 1, 2
+[11] Guodong Ding, Hans Golong, and Angela Yao. Coherent temporal synthesis for incremental action segmentation. In CVPR, 2024. 2, 3, 4, 5, 6, 8
+[12] Yazan Abu Farha and Jurgen Gall. Ms-tcn: Multi-stage temporal convolutional network for action segmentation. In CVPR, 2019. 2, 3, 5, 6, 7, 8
+[13] Alireza Fathi, Xiaofeng Ren, and James M Rehg. Learning to recognize objects in egocentric activities. In CVPR, 2011. 5, 6
+[14] Mohsen Fayyaz and Jurgen Gall. Sct: Set constrained temporal transformer for set supervised action segmentation. In CVPR, 2020. 2
+[15] Jang-Hyun Kim, Jinuk Kim, Seong Joon Oh, Sangwoo Yun, Hwanjun Song, Joonhyun Jeong, Jung-Woo Ha, and Hyun Oh Song. Dataset condensation via efficient synthetic-data parameterization. In ICML, 2022. 2
+[16] Hilde Kuehne, Ali Arslan, and Thomas Serre. The language of actions: Recovering the syntax and semantics of goal-directed human activities. In CVPR, 2014. 5, 6
+[17] Hilde Kuehne, Alexander Richard, and Juergen Gall. Weakly supervised learning of actions from transcripts. Computer Vision and Image Understanding, 163:78-89, 2017. 2
+[18] Anna Kukleva, Hilde Kuehne, Fadime Sener, and Jurgen Gall. Unsupervised learning of action classes with continuous temporal embedding. In CVPR, 2019. 2
+
+[19] Jun Li and Sinisa Todorovic. Set-constrained viterbi for setsupervised action segmentation. In CVPR, 2020. 2
+[20] Zhe Li, Yazan Abu Farha, and Jurgen Gall. Temporal action segmentation from timestamp supervision. In CVPR, 2021. 2
+[21] Daochang Liu, Qiyue Li, Anh-Dung Dinh, Tingting Jiang, Mubarak Shah, and Chang Xu. Diffusion action segmentation. In ICCV, 2023. 2, 3
+[22] Songhua Liu, Kai Wang, Xingyi Yang, Jingwen Ye, and Xin chao Wang. Dataset distillation via factorization. NeurIPS, 35, 2022. 1
+[23] Noel Loo, Ramin Hasani, Alexander Amini, and Daniela Rus. Efficient dataset distillation using random feature approximation. NeurIPS, 2022. 2
+[24] Timothy Nguyen, Zhourong Chen, and Jaehoon Lee. Dataset meta-learning from kernel ridge-regression. arXiv preprint arXiv:2011.00050, 2020. 2
+[25] Timothy Nguyen, Roman Novak, Lechao Xiao, and Jaehoon Lee. Dataset distillation with infinitely wide convolutional networks. NeurIPS, 2021. 2
+[26] Charles Ruizhongtai Qi, Li Yi, Hao Su, and Leonidas J Guibas. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. NeurIPS, 2017. 5
+[27] Rahul Rahaman, Dipika Singhania, Alexandre Thiery, and Angela Yao. A generalized and robust framework for timestamp supervision in temporal action segmentation. In ECCV, 2022. 2
+[28] Alexander Richard, Hilde Kuehne, and Juergen Gall. Action sets: Weakly supervised action segmentation without ordering constraints. In CVPR, 2018. 2
+[29] Saquib Sarfraz, Naila Murray, Vivek Sharma, Ali Diba, Luc Van Gool, and Rainer Stiefelhagen. Temporally-weighted hierarchical clustering for unsupervised action segmentation. In CVPR, 2021. 2
+[30] Fadime Sener and Angela Yao. Unsupervised learning and segmentation of complex activities from video. In CVPR, 2018. 2
+[31] Yuhan Shen and Ehsan Elhamifar. Progress-aware online action segmentation for egocentric procedural task videos. In CVPR, 2024. 2
+[32] Dipika Singhania, Rahul Rahaman, and Angela Yao. Iterative contrast-classify for semi-supervised temporal action segmentation. In AAAI, 2022. 2
+[33] Sebastian Stein and Stephen J McKenna. Combining embedded accelerometers with computer vision for recognizing food preparation activities. In UbiComp, 2013. 5, 6
+[34] Laurens Van der Maaten and Geoffrey Hinton. Visualizing data using t-sne. Journal of machine learning research, 9 (11), 2008. 8
+[35] Kai Wang, Bo Zhao, Xiangyu Peng, Zheng Zhu, Shuo Yang, Shuo Wang, Guan Huang, Hakan Bilen, Xinchao Wang, and Yang You. Cafe: Learning to condense dataset by aligning features. In CVPR, 2022. 1, 2
+[36] Tongzhou Wang, Jun-Yan Zhu, Antonio Torralba, and Alexei A Efros. Dataset distillation. arXiv preprint arXiv:1811.10959, 2018. 1, 2
+
+[37] Ziyu Wang, Yue Xu, Cewu Lu, and Yong-Lu Li. Dancing with still images: Video distillation via static-dynamic disentanglement. In CVPR, 2024. 1, 2
+[38] Max Welling. Herding dynamical weights to learn. In ICML, 2009. 5, 6
+[39] Fangqiu Yi, Hongyu Wen, and Tingting Jiang. Asformer: Transformer for action segmentation. In BMVC, 2021. 2, 3, 5, 6, 7, 8
+[40] Ruonan Yu, Songhua Liu, and Xinchao Wang. Dataset distillation: A comprehensive review. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023. 4
+[41] David Junhao Zhang, Heng Wang, Chuhui Xue, Rui Yan, Wenqing Zhang, Song Bai, and Mike Zheng Shou. Dataset condensation via generative model. arXiv preprint arXiv:2309.07698, 2023. 2
+[42] Bo Zhao and Hakan Bilen. Dataset condensation with differentiable siamese augmentation. In ICML, 2021. 2
+[43] Bo Zhao and Hakan Bilen. Dataset condensation with distribution matching. In WACV, 2023. 1, 2
+[44] Bo Zhao, Konda Reddy Mopuri, and Hakan Bilen. Dataset condensation with gradient matching. arXiv preprint arXiv:2006.05929, 2020. 2, 5
+[45] Qing Zhong, Guodong Ding, and Angela Yao. Onlinetas: An online baseline for temporal action segmentation. NeurIPS, 2024. 2
+[46] Yongchao Zhou, Ehsan Nezhadarya, and Jimmy Ba. Dataset distillation using neural feature regression. NeurIPS, 2022. 2
\ No newline at end of file
diff --git a/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/images.zip b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..0390afc876094ccf20b1ffdd71a61f61a2ebb80f
--- /dev/null
+++ b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b1cfa945e585ec6123b71869bc4cd5ebc7dfdabb15a4ca97c96ab2efe58e16fa
+size 562963
diff --git a/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/layout.json b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..f5c40d49c46fa422853fe83821fb81d6b2ffc2b7
--- /dev/null
+++ b/CVPR/2025/Condensing Action Segmentation Datasets via Generative Network Inversion/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a33cd8651cb81aea5897d465e90f9d4ba5b665a2afbbd373d0ed33cf5864dfb
+size 446100
diff --git a/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_content_list.json b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..12ddd7701e9a572957afc737e2424dbfa5602f36
--- /dev/null
+++ b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:edd99a3d9f6526671928840d722fbc0118ac95caff31b587d1303e1afad1cb4a
+size 71304
diff --git a/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_model.json b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..e05f59589d550fe2dcef1fe2c7ac903849b4e592
--- /dev/null
+++ b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2ae1b918aca42c95f42c0e7bbb3e52629b5dfcbf746c231a71d399e2ff02ca1e
+size 89701
diff --git a/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_origin.pdf b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..8dc129f8920a0fa19d62bcf2811e961a36d890f7
--- /dev/null
+++ b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/7d5085f0-d75a-4d87-a2e3-31d6f6559539_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0f71ffa531b650ac42186bc0c66b1d155d71fa1556e495b378e45f2bf3bf8901
+size 7557515
diff --git a/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/full.md b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..8b453fd6f32165fee2425607812fb582133d9749
--- /dev/null
+++ b/CVPR/2025/Conditional Balance_ Improving Multi-Conditioning Trade-Offs in Image Generation/full.md
@@ -0,0 +1,313 @@
+# Conditional Balance: Improving Multi-Conditioning Trade-Offs in Image Generation
+
+Nadav Z. Cohen1, Oron Nir1,2, Ariel Shamir1
+
+$^{1}$ Reichman University, $^{2}$ Microsoft Corporation
+
+https://nadavc220.github.io/conditional-balance.github.io/
+
+
+Figure 1. Balanced Conditioning Image Generation. We analyze the sensitivity of model layers to various aspects in conditional inputs. This allows to limit the inputs only to specific layers during inference, thereby balancing the different conditions and preventing content and style from overshadowing each other. As a result, the generative model reduces artifacts and gains artistic freedom when combining complex conditional inputs. As can be seen, by selecting only highly sensitive layers of style $(\lambda_S)$ and structure $(\lambda_T)$ we get better color and texture control and better geometric style control.
+
+# Abstract
+
+Balancing content fidelity and artistic style is a pivotal challenge in image generation. While traditional style transfer methods and modern Denoising Diffusion Probabilistic Models (DDPMs) strive to achieve this balance, they often struggle to do so without sacrificing either style, content, or sometimes both. This work addresses this challenge by analyzing the ability of DDPMs to maintain content and style equilibrium. We introduce a novel method to identify sensitivities within the DDPM attention layers, identifying specific layers that correspond to different stylistic aspects. By directing conditional inputs only to these sensitive layers, our approach enables fine-grained control
+
+over style and content, significantly reducing issues arising from over-constrained inputs. Our findings demonstrate that this method enhances recent stylization techniques by better aligning style and content, ultimately improving the quality of generated visual content.
+
+# 1. Introduction
+
+To master different aspects of paintings such as color and light, a notable approach practiced by artists involves creating a collection of paintings of the same subject under varying conditions. A well known example of this practice is Claude Monet's series of paintings of Rouen Cathedral [40]. Today, modern Denoising Diffusion Probabilistic Mod
+
+els (DDPMs) allow creating high-quality images of any subject in various styles by iteratively refining random samples. To direct these models to output an image with a desirable content at inference, conditional inputs were developed, starting from descriptive text prompts and continuing with images that condition the output to align with content and style information. This process, while powerful, tends to lose its conditional constraining ability as the number or complexity of constraints increase. As a result, in addition to losing the ability to control the generated content, the model's attempt to satisfy all conditionals leads to more undesirable issues such as image artifacts.
+
+In this work, we investigate the style-content trade-offs of different conditional inputs separately and in combination in generative models. Our experiments reveal that many issues in conditional generation arise from overconditioning and the combination of conditionals that were underrepresented during model training. We analyze a diffusion generation process (using SDXL's architecture [26]) and isolate different aspects of its generative capabilities.
+
+Drawing inspiration from Monet's many series of paintings, our analysis uses a collections of images where the content subject is fixed, and a specific stylistic aspect is varied. Using such collections we examine and rank the sensitivity of each layer at each timestep. Later, we direct different conditionals only to specific, sensitive layers, allowing to better balance different conditions (see Fig. 1). We show that even without pure disentanglement this approach reduces artifacts caused by over-conditioning and enhances the model's overall output quality, stylistic freedom, and consistency without the need of additional training.
+
+We summarize our contributions as follows:
+
+1. We develop a novel analysis method inspired by classic art and simple modern statistics which reveals sensitivities in the generation process of diffusion models.
+2. We analyze SDXL and use our findings to reduce conditional inputs in the generation process. This leads to balance, artifact reduction, and general image quality improvement for text, image, and style conditioning inputs.
+3. Using our findings also allows a flexible way to control content and style aspects of the generated image, leading to a more stable and creative method to generate content.
+
+Our complex-conditioning evaluation set and code are available through our project page.
+
+# 2. Related Work
+
+Content-Style Applications. Seminal style transfer methods [10, 15, 19, 21, 22], explore different ways to transfer a style of a stylistic image to a given "content image." These works demonstrate the natural trade-off between artistic style and content preservation, and explore ways to combine them in a visually pleasing way. Later, inspired by the success of Generative Adversarial
+
+Networks [16], more methods were developed for styled generation [23, 45] enabling generating images from noise samples. Although these methods show improvement in combining content and style, they lack flexibility as they can not generate combinations outside of their optimized domain.
+
+Diffusion Models and Conditioning. DDPMs [9, 26, 28, 30, 33] achieved a significant leap in generating novel images conditioned on text prompts by refining over text-image paired datasets [34]. While these models combine content and style effectively, their sole reliance on text conditioning comes with shortcomings, such as failure to align to complex text conditions [24, 39, 42] and an inferior ability to generate content and style combinations which were underrepresented during training.
+
+To overcome these limitations, various conditioning methods were developed, influencing the generated image to resemble information from another image. ControlNet [43] conditions the output with structure information using image maps such as Canny, depth, and pose. Gal et al. [13], and others [2, 14, 32], condition the generated image to preserve unique (personalized) properties of an object.
+
+Image-based style conditioning is a thoroughly researched area [6, 8, 12, 17, 20, 31, 36, 38, 41], usually demonstrated on SDXL [26] for its artistic superiority. IP-Adapter [41] and InstantStyle [38] inject the style using a pretrained dedicated Cross-Attention layer [37] for the conditioning image. B-LoRA [12] and ZipLoRA [35] uses LoRA [18] to fine-tune residual weights to match content and style of conditioning images. StyleAligned method [17] generates a style image in parallel to generating the output image and injects the style information using AdaIN [19] between Self-Attention layers [37] while Jeong et al. [20] extend this idea by replacing the attention feature directly.
+
+Even though recent methods address content and style combinations, they still remain a challenge as methods which excel in style, often sacrificing content fidelity [17, 20], while others which preserve content fidelity may often show inaccurate style [12, 38].
+
+DDPM Model Analysis. Recent works [12, 20, 38, 44] analyze the diffusion process to pinpoint parts responsible for generating various visual aspects. ProSpect [44] examine how varying text conditions at different timesteps impact aspects like material, artistic style, and content alignment. Our findings align with theirs, revealing that each timestep serves a unique conditioning function. However, we extend this analysis by investigating the model's internal layers, allowing for the use of multiple conditional inputs without interference. While ProSpect focuses exclusively on text conditioning, our study incorporates both text and
+
+
+Style vs. Content Tradeoff - Text Conditioning
+
+
+
+
+
+
+
+
+A. Excessive Style (All Layers)
+style ✓ content $x$
+"A bull moose, in the style of $< 5 >$
+Figure 2. Preliminary Experiment Results. We present outcomes of selecting sub-set of layers to apply conditioning. We show the content/style tradeoff both with text conditioning (left) and with edge-map conditioning (right). As can be observed in both cases using too much or not enough style conditioning generates an imbalanced output. Selecting layers randomly does not assist much while using our layer reduction strategy enables achieving good quality conditional combinations with less than $50\%$ of the layers. Note that the content and style graphs are presented on different scales as Clip and Dino similarity values are not aligned.
+
+
+B. Balanced (Ours)
+style
+
+
+C. Insufficient Style (No Image Stylization) style $\times$ content
+
+
+D. weak geometry (All layers) style $\times$ content
+
+
+E. Balanced (Ours) style $\vee$ content
+A grizzly bear, in the style of $< s >$
+
+
+F. Insufficient Style No Image Stylistation) style $\times$ content
+
+image conditioning. Style conditioning works [12, 38], examine internal layers to pinpoint those sensitive to content and style. B-LoRA tests prompt stylization effects in different attention blocks and employs LoRA [18] to fine-tune style sensitive weights for specific images. InstantStyle analyzes SDXL attention layers for content alignment and style sensitivity and concludes the same style-sensitive blocks. In contrast, our approach thoroughly evaluates each self-attention layer independently, ranking its sensitivity for each timestep. Additionally, our method can analyze other attention architectures, like the Joint-Attention layer used by the more recent SD3 model family [11]. This methodology maximizes style and content conditioning while minimizing interference between layers, thus enhancing stylistic freedom and reducing content artifacts.
+
+# 3. Content-Style Tradeoff
+
+In this section, we explore the issue of over-constrained conditional image generation. To illustrate the problem, we examine two recent style conditioning methods: StyleAligned [17] and B-LoRA [12].
+
+To investigate the relationship between content and style, we first choose 10 different artistic style conditionals (see supplemental file for details) and generate images with textual prompts either with or without edge conditional maps
+
+(using Canny edges of a real photograph). The textual prompts were divided into two categories: Easy and Complex. A prompt is considered complex based not only on its length and details but also on how far its content deviates from the typical subjects of the style. For example, generating a 'fantasy' theme is harder than a 'rural-life' theme for an artistic style that follows Van Gogh, since his works often depict European rural life in the late $19^{th}$ century. This division allows us to isolate the impact of textual conditional alone and better understand its limitations.
+
+Next, we evaluate the style and content of all generated images. We follow recent works [17, 20, 38] and evaluate style using the cosine similarity of the Dino embeddings [5] between the style image and the generated image. For content we calculate the cosine similarity between Clip embeddings [27] of the text prompt and the generated image.
+
+StyleAligned method applies stylization across all SDXL self-attention layers, often resulting in images that are misaligned with the text prompt and exhibit noticeable artifacts. To alleviate this, we gradually reduce the number of layers for stylization randomly (from 70 to 0). In Fig. 2 (left) we show both a plot of quantitative results of averaging across all generated images and a specific qualitative example. As can be seen, reducing the number of layers significantly improves text alignment. However, while text compliance improves, style fidelity decreases more or
+
+Structure
+
+A