CVPR 2025 Workshops · TMM-OpenWorld

Machine Unlearning in Hyperbolic vs. Euclidean Multimodal Contrastive Learning: Adapting Alignment Calibration to MERU

Àlex Pujol Vidal1,3, Kamal Nasrollahi1,3,4, Thomas B. Moeslund1,4, Sergio Escalera1,2,4

1Aalborg University · 2University of Barcelona and Computer Vision Center · 3Milestone Systems · 4Pioneer Centre for Artificial Intelligence

Hyperbolic t-SNE of the original MERU: image and text embeddings of dogs, cats, pizzas and buses gathered near the origin
Original MERU
Hyperbolic t-SNE of MERU after unlearning dog: the image embeddings pushed towards the boundary, the text embeddings near the origin
Unlearned MERU
MERU's embeddings in hyperbolic t-SNE before and after removing the concept "dog". Triangles are text embeddings, circles image embeddings; colours are dogs, cats, pizzas and buses. After unlearning, the image embeddings are pushed far from the origin while the text embeddings stay close to it, and the text of "dog" sits behind that of "cat" as seen from the images of dogs.

Abstract

Machine unlearning methods have become increasingly important for selective removal of harmful concepts in large multimodal models. While recent work has explored unlearning in Euclidean contrastive vision-language models, the effectiveness of concept removal in hyperbolic spaces remains unexplored. This paper explores this gap by adapting Alignment Calibration to MERU, a model that embeds images and text in hyperbolic space to better capture semantic hierarchies. Through systematic experiments and ablation studies, we demonstrate that hyperbolic geometry offers distinct advantages for concept removal, achieving lower accuracy at zero classification in forget set with reasonable performance on retain set, particularly when scaling to multiple concept removal. Our approach introduces hyperbolic-specific components including entailment calibration and norm regularization that leverage the unique properties of hyperbolic space. Comparative analysis with Euclidean models reveals fundamental differences in unlearning dynamics, with hyperbolic unlearning reorganizing the semantic hierarchy while Euclidean approaches merely disconnect cross-modal associations. These findings provide insights into the geometric properties that influence concept removal, setting a direction towards better control and safer deployment for large multimodal models.

Method

Alignment Calibration (AC) removes a concept from a contrastive model such as CLIP by pushing apart the images and captions of the concept to forget, while a retain loss keeps the rest of the model as it was. Hyperbolic Alignment Calibration (HAC) carries it over to MERU, which embeds images and text in the Lorentz model of hyperbolic space: cosine similarity becomes the negative hyperbolic distance, and two entailment terms act on MERU's entailment cones. One keeps the images of retained concepts inside the cones of their captions; the other pushes the images of the forgotten concept to the edge of theirs. A last term pulls the embeddings to forget towards the origin, where hyperbolic models tend to place out-of-distribution samples.

Both methods start from the CLIP and MERU models that MERU's authors trained on RedCaps (ViT-S image encoder), and unlearn on 7M of its image-text pairs. Forgetting is measured by zero-shot classification: accuracy on the classes of the forgotten concepts (F-acc, lower is better) and on the other classes (R-acc, higher is better).

Results

Forgetting more and more concepts at once: (A) "dog"; (B) "dog" and "cat"; (C) "dog", "cat", "food" and "plant". AC keeps a higher accuracy on the retained classes, while HAC forgets far more, and keeps forgetting as the task grows. Values in bold are the better of the two methods; a dash means the dataset has no retained or no forgotten classes for that task.

MethodUnlearn setCIFAR-10CIFAR-100STL-10O-IIIT PetsFood101Flowers102
R ↑F ↓R ↑F ↓R ↑F ↓R ↑F ↓R ↑F ↓R ↑F ↓
ACA58.721.227.9–88.183.174.931.572.4–44.7–
B90.371.426.6–90.371.4–53.472.5–45.0–
C90.077.023.457.290.077.0–64.0–0.16–19.2
HAC-regA54.00.020.6–84.338.066.310.867.6–40.1–
B83.52.121.8–83.52.1–25.759.6–36.4–
C82.722.118.821.682.722.1–28.7–0.08–0.04

Zero-shot classification accuracy on the retained (R) and forgotten (F) classes, Table 5 of the paper.

t-SNE of the original CLIP: each class in its own cluster, images and text close together
Original CLIP
t-SNE of CLIP after unlearning dog: images and text apart, each modality still clustered by class
Unlearned CLIP
t-SNE of the original MERU: each class in its own cluster
Original MERU
t-SNE of MERU after unlearning dog: the text embeddings of dogs moved next to those of cats
Unlearned MERU
The same embeddings in t-SNE, for CLIP and MERU. Unlearning widens the gap between images and text in both. CLIP keeps each modality clustered by class, while in MERU the text embeddings of dogs move next to those of cats: Euclidean unlearning disconnects the two modalities, hyperbolic unlearning reorganises the semantic hierarchy.

BibTeX

@InProceedings{PujolVidal_2025_CVPRW,
    author    = {Pujol Vidal, {\`A}lex and Nasrollahi, Kamal and Moeslund, Thomas B. and Escalera, Sergio},
    title     = {Machine Unlearning in Hyperbolic vs. Euclidean Multimodal Contrastive Learning: Adapting Alignment Calibration to {MERU}},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops},
    month     = {June},
    year      = {2025},
    pages     = {1644--1653}
}
en | cat | dk