WorksComputer Science
Not All Pairs Align: Caption-Guided Audio-Visual Contrastive Learning
Abstract
We address the problem of learning audio-visual representations from co-occurring modalities. Multimodal contrastive learning typically assumes that paired observations provide shared views of the same underlying information. While this may be true for datasets collected in constrained environments, it does not always hold. For instance, co-occurring audio and visual signals can differ substantially in their content due to off-screen sounds. Nevertheless, standard contrastive objectives treat all paired samples as equally aligned. In this work, we propose Caption Guided Alignment Aware Loss (CGAAL), a model-agnostic objective that leverages modality-specific captions to estimate semantic agreement between audio and video. CGAAL uses these agreement scores to weight the contribution of each positive pair. A warm-up period and gradual thresholding strategy progressively introduce this alignment-aware training signal. We demonstrate the generality of CGAAL by applying it to three contrastive baselines, consistently improving their performance on audio-visual retrieval.
Introduction
Multimodal contrastive learning has emerged as an effective approach for learning transferable representations from naturally paired data, e.g., image–text and audio–video pairs [25, 3] (Wu et al. 2023; Alayrac et al. 2020). By treating paired observations as positives and unpaired ones as negatives, these methods learn a shared embedding space without labels. Their success is often explained by the multiview redundancy assumption: each modality shares enough task-relevant information to learn useful representations [8].
This assumption is particularly problematic for audio and video. Although audio-visual signals may co-occur in the same video clip, they need not be semantically aligned. For example, a video showing someone playing golf while its audio contains speech unrelated to the game. Under the multiview redundancy assumption, standard contrastive learning nevertheless encourages strong alignment of all pairs, introducing a potentially misleading training signal (see Figure 1).
Figure 1. Alignment in audio-video contrastive learning. Standard contrastive methods assume strong semantic correspondence between modalities of a given sample, encouraging alignment even when the modalities share little semantic content. This can encourage the model to associate audio and visual content that does not correspond. We thus propose CGAAL which determines how strongly to pull the modalities’ embeddings of a sample according to a pair’s semantic agreement.
Recent work challenges the assumption that multimodal observations carry only redundant information, distinguishing shared information from information that is unique to one modality or that emerges only through their interaction [6] (Wen et al. 2026). These methods
address this by learning a single representation that captures shared, unique, and synergistic components, and have shown clear gains over purely redundancy-based objectives. We approach the same problem from a different angle. Rather than explicitly capturing unique and shared information, we act on the alignment objective itself addressing how strongly modalities in a pair should be aligned.
We introduce CGAAL1, a Caption Guided Alignment Aware Loss, which incorporates an estimate of each pair’s semantic correspondence into contrastive training. From modality-specific captions describing the audio and visual content, we use an LLM to estimate how closely the two modalities semantically align. These scores weight the positive pairs during contrastive training, placing less emphasis on pairs that share little semantic content (see Figure 1). We combine this weighting with a curriculum learning inspired approach to incorporate the alignment scores progressively. Importantly, CGAAL requires neither captions nor an LLM at inference time, and can be integrated into different contrastive learning frameworks. Our contributions are:
We identify variable semantic correspondence as a fundamental limitation of audio-visual contrastive learning and show that methods designed to distinguish shared from unique, and synergistic information do not resolve this issue for cross-modal retrieval.
We propose to use modality-specific captions as a guide for semantic alignment between modalities in each sample by incorporating an alignment score into the training loss via a weighting scheme, adjusting how strongly paired embeddings are pulled together.
We demonstrate our method’s ability to improve audio visual retrieval performance across a range of contrastive learning models and show zero-shot capabilities on three unseen datasets.
Related Work
Multimodal contrastive learning uses naturally paired data to align representations from different modalities, typically through an InfoNCE loss [22]. A prominent example is CLIP [25], which contrasts image-text pairs to learn a shared embedding space. Similar contrastive objectives have since been applied to other modality pairings, such as audio-text (Wu et al., 2023), audio-visual [23], video-text [15] and point cloud-text [24], as well as extended to jointly align three or more modalities [5, 17, 28, 11, 10] (Wang et al. 2024). These approaches apply contrastive alignment to global representations of each input. Other work instead considers alignment at finer granularities. For instance, video-text retrieval approach X-CLIP [19] computes similarities between videos, frames, sentences and words. More recently, FDCA (Wu et al., 2025) first separates the text at sentence and token level and then aligns them to the video. Audio-video retrieval approaches have also considered finer-grained alignment: CAV-MAE [2] aligns visual frames with temporally localised audio segments, while Fan et al. (2026) improve spatial alignment through multiscale spatial attention that aligns audio with particular objects and events.
Despite differing in the number and granularity of the modalities they align, these approaches all treat naturally co-occurring modalities as positive pairs regardless of how much semantic content the modalities share. In contrast, we estimate a modality alignment score and use this to control how strongly each pair should be aligned.
Learning with partial cross-modal correspondence. Several approaches have attempted to relax the assumption that paired samples are equally aligned. Similar to our work, soft-weighted objectives have been used by Morgado et al. (2021); Srinivasa et al. (2023); Lu et al. (2025); Fradkin et al. (2024). However, to obtain the soft-weighting, these approaches first train a model under the multiview-redundancy assumption, assuming all pairs are strongly aligned. The similarities in this embedding space then act as the soft-weights to guide the partial cross-modal correspondence. We argue that this approach is fundamentally problematic as the model trained with the multi-view redundancy assumption will have already lost much of the nuance in a pair’s alignment.
Other related works assume partial alignment in image-text paired data where only a part of the image should be aligned with certain words in the caption [26, 13] (Zhou et al. 2024). All these works assume that some alignment between part of the image and words in the caption exists. This is not the case in audio-visual data where at times the audio and vision do not align at all (random music or speech that is not relevant to the visuals). Differently, we rely on text to better approximate the alignment of the vision and audio to weight the positive pairs rather than relying on similarities based on the modalities’ embeddings.
Closer to our work is Sounding Actions [4] which uses text to establish a consensus signal for audio-visual alignment. Their focus is on non-audible actions, i.e. actions for which audio is silent. They learn to align audio and vision when both correspond to the action described in the visual caption, suppressing other audio–visual associations even when the sound and visuals themselves agree.
In contrast, we consider any semantic correspondence between the audio and visual streams, and use its estimated strength to determine how much each pair contributes to learning an audio–visual representation.
Learning beyond shared information. Several recent works aim to go beyond redundant information shared across modalities and also capture unique and/or synergistic information.
FactorCL [16] factorizes task-relevant multimodal information into shared and modality-specific components. It uses multimodal augmentations to approximate which information is relevant to the task, and contrastive mutual-information objectives to preserve this information while suppressing task-irrelevant content. CoMM [6] contrasts augmented fused representations rather than aligning unimodal embeddings pairwise, allowing it to capture synergistic interactions alongside shared and unique information. InfMasking (Wen et al., 2026) extends this approach by masking different subsets of modality features during fusion to encourage a broader range of synergistic interactions. All three methods were intended for classification tasks where their assumptions behind augmentations, such as minimal label preserving assumptions, hold since the modalities of each sample share a single label. We experimentally show that this does not hold in audio-video retrieval, where fine-grained multimodal alignment is important. Instead, we incorporate a prior signal of the degree of agreement between modalities using their captions as a proxy to inform the model on how semantically aligned they are.
Method
Our aim is to learn audio-visual representations that account for varying semantic correspondence between naturally paired modalities, rather than treating all pairs as equally valid positives. Figure 2 provides an overview of our approach: given the audio-visual retrieval setting introduced in § 3.1, we use modality specific captions to estimate the semantic alignment of each pair (§ 3.2) and incorporate these scores into our alignment-aware loss (§ 3.3).
Figure 2. Overview of our caption-guided alignment-aware learning (CGAAL). As in standard contrastive learning, we (a) learn a shared space for audio-visual retrieval where audio and video encoders project each modality into a shared embedding space where we measure their similarity. Rather than treating all co-occurring pairs as equally positive, we instead use (b) modality specific captions to estimate the alignment of each positive pair. After first warming up the representation with all positive pairs, CGAAL uses the estimated alignment scores to weight positive pairs in a contrastive loss (c). A gradually increasing threshold introduces the alignment scores gradually so that the weakest correspondences are down-weighted first. This produces a shared embedding space in which proximity better reflects audio–visual correspondence, rather than co-occurrence alone.
Learning a Shared Space for Audio-Visual Retrieval
Given a dataset of paired audio-visual samples , where is a visual frame sampled from a video clip and is the accompanying audio from the same clip, audio-visual retrieval aims to learn a shared embedding space in which related samples can be found across modalities. To learn this space, modality specific encoders, and , are trained to project the audio and vision modalities to features and in a shared space where similarity can be measured directly. Standard contrastive learning approaches, such as CLIP, do this via an InfoNCE loss. For each audio sample in a batch of size , the visual sample from the same video clip is treated as a positive, while visual samples from other clips serve as negatives. The audio-to-visual loss encourages the positive pair to have higher similarity than these alternatives:
Here, is the temperature and denotes the dot product. The visual-to-audio loss () is defined analogously and the overall contrastive loss averages these two directions. At inference, this allows for retrieval based on the dot product between representations, ranking candidates according to their similarity to (or distance from) the query.
By using co-occurrence as supervision, InfoNCE learns a shared retrieval space without requiring manual labels. However, the co-occurrence assumption is only appropriate when modalities describe the same semantics, for example, footage of a dog barking corresponds closely to the sounds of its bark. However, a paired sample may only be partially relevant semantically, such as a video of someone walking through a park which contains the sound of footsteps alongside a dog barking off-screen. While it’s likely to hear a dog barking in a park, the alignment is only partial as the dog is not visible in view.
Both pairs nevertheless enter InfoNCE as positives when using the co-occurrence supervision, creating pressure to align them to the same degree regardless of how tightly they actually correspond. In this paper, we aim to learn the shared audio-visual embedding space while accounting for this variation in the semantic alignment. This is beneficial for retrieval as candidates are ranked relative to one another. Pulling weakly corresponding pairs together can blur the differences in similarity needed to place a closely matching candidate above a less relevant one.
Modality Specific Captions for Alignment Scoring
To account for varying semantic alignment between paired modalities, we first estimate the degree of semantic correspondence for each audio-visual pair. This can then be used to control how strongly the pair is pulled together during training. One option is to annotate correspondence manually, however this is expensive. Alternatively, we could use pretrained embeddings, though this estimate could be misleading as unimodal models do not consider cross-modal correspondence, and typical contrastive multimodal models may have already suppressed information unique to each modality. Instead, we propose to use modality specific captions for the video, , and audio, , as proxies of their semantic content. These captions may be human annotated or generated using modality-specific captioning models. We hypothesise that unimodal captioning methods have been sufficiently developed to well describe the semantics in a single modality, making these separate captions a practical basis for comparing the semantics of two modalities. Large-language models (LLMs) can then be used to compare these captions and estimate their potential alignment.
For each audio-visual sample, the LLM is instructed to predict an alignment score, , in the range , where 0 indicates no semantic correspondence and 1 indicates complete semantic correspondence. We leverage in-context learning, providing one highly aligned, one moderately aligned and one weakly aligned caption pair, together with our proposed alignment scores. Figure 3 illustrates the LLM-based alignment scoring procedure which we formalise as :

Figure 3. Alignment score estimation. We prompt the LLM to predict the alignment score by: (1) setting the criteria for measuring the semantic alignment with clear inputs (modality captions) and the output (alignment score); (2) providing examples with different alignment strength alongside an explanation to calibrate the scores across various examples; and (3) providing the vision and audio caption pair for which a score needs to be predicted.
We show sample prediction scores in Figure 4 which illustrates how the modality-specific captions act as proxies for the semantic content of the underlying vision and audio modalities, and how differences in their semantic correspondence are reflected in the resulting alignment scores. Highly aligned pairs contain substantial shared semantic information across the captions, while partially aligned pairs contain both shared and modality-specific information. For example, in the moderately aligned sample in the second column, the vision caption uniquely provides the highway context, which cannot be heard in the audio, while the remaining information is shared across modalities. In weakly aligned pairs, the captions contain less shared semantic information, indicating lower estimated semantic correspondence between the underlying modalities.

Figure 4. Examples of modality-specific captions with varying semantic alignment. We show high (top), moderate (middle) and weak (bottom) alignment examples. High (row1,col1): vision shows cooking on stove while audio has distinct sizzling sound. Moderate (row2,col3): walking is not evident from the audio. Weak (Row3 col 3): no evidence of golfing in the audio.
Caption Guided Alignment Aware Learning (CGAAL)
We use our caption-guided alignment scores to vary the contribution of positive pairs to the contrastive objective: pairs with less shared content provide weaker evidence for learning cross-modal correspondence. We first define how the scores are used to weight the loss function, then describe how an initial warm-up and gradual thresholding introduce these weights during training.
Alignment weighting. Each positive pair provides a different amount of evidence for audio–visual correspondence. We therefore weight each pair’s contribution to the contrastive loss according to its caption-derived alignment score. Let denote the weight of the modality pairs, , of the positive sample in the batch . Then the audio-to-video loss becomes:
Again is the temperature, the video-to-audio loss is defined analogously and the overall loss is the mean of audio-to-video and video-to-audio losses. Due to the simplicity of our reweighting approach, it can be easily integrated with different contrastive learning objectives. In the simplest case our alignment score is used as a pair’s weight, i.e. (Equation 2). Next we describe how this varies under gradual thresholding and warm-up.
Warm-up period. At the start of training, the encoders have not yet learned a shared audio–visual space. We thus train a model for epochs with standard InfoNCE, setting for all positive pairs during this short period. This warms up the encoders with the training data, removing any modality shifts between pretraining and training data.
Gradual thresholding. After the warm-up period, we progressively introduce the alignment scores (Equation 2) as sample weights. This allows us to progressively relax the assumption of full correspondence, aligning each pair according to how much semantic content its modalities share. We initialize an epoch-dependent threshold , that determines which samples are weighted by their alignment score. A sample uses its alignment score as its weight only when . The threshold is initialised to and increased every epochs according to , where is a hyperparameter controlling the rate of increase. The resulting epoch-dependent sample weights are defined as:
This means that initially only the most poorly aligned samples are down-weighted, while the remaining samples contribute fully to training. As the threshold increases, higher-alignment samples receive their alignment scores as weights until . Since varies across epochs, we introduce epoch-dependent weights into our loss:
Overall, this method encourages the model to focus on bringing the audio and vision representations of aligned samples closer together in the embedding space since they have a higher weight in the loss. When the modalities contain more unique information, the alignment score is lower, and the loss places less emphasis on pulling that pair together. In this way, CGAAL reduces the pressure to align all co-occurring pairs as though they are only multiple views of the same shared information.
Experiments
We first describe the dataset used and implementation details before evaluating CGAAL against contrastive learning baselines and analysing its performance. We then assess its zero-shot transfer ability and ablate the main components of CGAAL.
Dataset Details
Pretraining. We use a subset of the VAST-27M dataset [5] constituting a randomly selected set of 100K training samples and 1927 test samples. The dataset provides 5 vision captions and 5 audio captions per sample which were automatically generated using modality-specific captioning models. We compute an alignment score for each of the 25 possible audio-visual caption pairs and average these scores to obtain a single alignment score for each sample.
Synthetic Misalignment. We create a second pretraining set to stress test our method’s ability to learn a robust embedding space when challenged with additional misaligned samples. For 15% of the training samples, we randomly shuffle the audio among samples. We chose 15% to resemble the expected noise level in data collected from the internet [14, 27].
This gives us two training conditions: (1) Without Synthetic Misalignment, which only includes the natural misalignment in the VAST-27M subset and (2) With Synthetic Misalignment, which includes an additional synthetic source of misalignment for 15% of the training data. In both settings, evaluation is performed on the original, uncorrupted test set.
Figure 5 compares the distribution of alignment scores for the two pretraining sets. Without synthetic misalignment the pretraining set already contains many pairs with low estimated alignment, motivating a method that accounts for varying correspondence rather than treating every pair identically. Shuffling the audio shifts the selected pairs further towards lower scores, creating a more challenging scenario.

Figure 5. Impact of Synthetic Misalignment on Training Set. We show the distributions of caption-based alignment scores for the full pretraining set (left) and the 15% of the samples selected for audio shuffling (right). The original pretraining set (blue) already contains many low-scoring pairs, suggesting substantial natural variation in audio–visual correspondence. Adding synthetic misalignment (orange) shows a clear shift towards lower scores.
Zero-shot. We test whether CGAAL improves audio-video retrieval on datasets unseen during training with AVE [30], DiDeMo [12] and MSR-VTT (Xu et al., 2016). AVE focuses on 28 types of audio events which are also clearly visible. DiDeMo contains unedited personal videos from Flickr while MSR-VTT contains short web videos spanning diverse categories. After excluding clips with no audible audio, the evaluation sets contain 402, 997 and 2617 videos for AVE, DiDeMo and MSR-VTT respectively.
Experimental Setup
Implementation Details. Following VAST [5], we use BEATs as the audio encoder and the EVA-CLIP vision encoder as with their original pretrained weights. We fine-tune both encoders end-to-end during pretraining for 48 epochs using Adam with a batch size of 8, a learning rate of and weight decay of . For each model we integrate our method with, we tune the hyperparameters: , , and . Unless otherwise specified, we use our model in combination with a CLIP-like temperature objective where we set , , and . For SLIP (+Ours) and CMC (+Ours), we use , , and . We choose LLaMA-7B as the LLM for the alignment scores prediction.
Evaluation Metrics. We report recall R@K for K=1,5,10 alongside median rank for both audio-to-video and video-to-audio retrieval. To summarize recall, we use RSum: the sum of all six recall values across both directions.
Comparative Results
Baselines. We compare CGAAL with three groups of methods. CoMM [6] and InfMasking (Wen et al., 2026) aim to learn beyond what modalities share, additionally aiming to capture unique and synergistic information in the learned embeddings. They provide a comparison with approaches that also question whether shared information alone is sufficient for multimodal learning, but pursue this through different objectives. We additionally compare to VDR (Zhou et al., 2024), which learns disentangled semantic representations for cross-modal retrieval. This comparison examines whether semantic disentanglement can address variable cross-modal correspondence without explicitly modelling how strongly each pair should be aligned. Our standard contrastive baselines are Cross+Self (Yuan et al., 2021), SLIP [21], CMC [31] and
CLIP [25] following Dufumier et al. [6] and Wen et al. (2026). These methods differ in which views they contrast, how the negatives are formed and whether cross-modal learning is combined with within-modal objectives. CLIP uses one cross-modal term with a learned temperature and negatives only from the opposing modality. CMC averages a fixed-temperature term over all view pairs, with negatives from both views. SLIP adds a separately-scaled SimCLR term to CLIP. Cross+Self uses one contrastive term throughout, pairing a cross-modal term with an averaged intra-modal term for each modality. We apply CGAAL to CLIP, SLIP, and CMC to examine whether accounting for pairwise correspondence benefits different contrastive objectives. All methods use the same pretrained EVA-CLIP vision encoder and BEATs audio encoder for a fair comparison.
Results. Table 1 reports results for audio-to-video (A2V) and video-to-audio (V2A) retrieval on the VAST-27M subset after training with and without synthetic misalignment. CoMM and InfMasking obtain lower results than standard contrastive baselines both with and without synthetic misalignment. This suggests that their approaches to capturing unique and synergistic information do not transfer well to retrieval. Their objectives focus on improving the combined representation of multiple modalities which does not necessarily help the audio rank its matching video above others. VDR achieves stronger retrieval than CoMM and InfMasking but remains below CMC and CLIP in both settings. This suggests that explicitly disentangling semantic content does not, by itself, provide an advantage over the strongest standard contrastive objectives for audio–visual retrieval. Adding CGAAL consistently improves the retrieval performance of SLIP, CMC and CLIP. These methods differ in how they construct their contrastive objectives, so the gains indicate that accounting for alignment is useful across several ways of learning audio-visual representations. CLIP is the strongest contrastive baseline, leading to CLIP (+Ours) achieving the best overall performance for both V2A and A2V retrieval for all but one metric.
| Without Synthetic Misalignment | With Synthetic Misalignment | ||||||||||||||||||
| A2V | V2A | A2V | V2A | ||||||||||||||||
| R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | RSum ↑ | R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | RSum ↑ | ||
| InfMasking | 1.2 | 5.7 | 9.0 | 159 | 1.9 | 6.18 | 10.4 | 153 | 34.4 | 1.1 | 4.1 | 6.6 | 233 | 1.3 | 4.4 | 7.1 | 253 | 24.6 | |
| CoMM | 5.7 | 18.3 | 26.5 | 41 | 5.2 | 17.7 | 26.3 | 38 | 99.7 | 4.3 | 14.3 | 22.6 | 51 | 5.1 | 16.0 | 24.4 | 47 | 86.7 | |
| Cross+Self | 10.5 | 28.2 | 39.2 | 18 | 10.3 | 28.4 | 39.3 | 19 | 155.9 | 10.0 | 27.0 | 38.0 | 21 | 9.0 | 26.2 | 37.1 | 21 | 147.3 | |
| VDR | 13.1 | 33.4 | 46.7 | 12 | 12.5 | 33.6 | 46.0 | 13 | 185.3 | 12.6 | 32.0 | 43.0 | 18 | 11.5 | 30.7 | 42.4 | 17 | 172.2 | |
| SLIP | 13.7 | 36.1 | 47.6 | 13 | 14.5 | 35.8 | 47.5 | 12 | 195.2 | 11.7 | 30.4 | 41.6 | 17 | 11.9 | 30.9 | 40.7 | 18 | 167.2 | |
| SLIP (+Ours) | 15.4 | 36.9 | 48.5 | 11 | 15.9 | 37.3 | 48.9 | 11 | 202.9 | 13.9 | 32.8 | 44.1 | 15 | 13.8 | 33.0 | 44.1 | 15 | 181.7 | |
| ΔSLIP | +1.7 | +0.8 | +0.9 | +2 | +1.4 | +1.5 | +1.4 | +1 | +7.7 | +2.2 | +2.4 | +2.5 | +2 | +1.9 | +2.1 | +3.4 | +3 | +14.5 | |
| CMC | 14.7 | 37.6 | 49.5 | 11 | 16.9 | 38.3 | 49.8 | 11 | 206.8 | 13.0 | 34.4 | 45.4 | 14 | 13.9 | 34.4 | 46.2 | 13 | 187.3 | |
| CMC (+Ours) | 15.1 | 37.1 | 50.2 | 10 | 17.0 | 39.2 | 50.6 | 10 | 209.2 | 13.5 | 34.2 | 46.0 | 13 | 14.1 | 35.1 | 46.5 | 13 | 189.4 | |
| ΔCMC | +0.4 | −0.5 | +0.7 | +1 | +0.1 | +0.9 | +0.8 | +1 | +2.4 | +0.5 | −0.2 | +0.6 | +1 | +0.2 | +0.7 | +0.3 | 0 | +2.1 | |
| CLIP | 15.9 | 38.3 | 50.5 | 10 | 17.2 | 38.8 | 50.8 | 10 | 211.5 | 13.0 | 33.5 | 44.4 | 14 | 13.3 | 33.0 | 43.5 | 16 | 180.7 | |
| CLIP (+Ours) | 18.4 | 41.1 | 52.8 | 9 | 18.4 | 41.4 | 52.0 | 9 | 224.1 | 14.3 | 35.9 | 47.6 | 12 | 14.8 | 36.0 | 46.6 | 13 | 195.2 | |
| ΔCLIP | +2.5 | +2.8 | +2.3 | +1 | +1.2 | +2.6 | +1.2 | +1 | +12.6 | +1.3 | +2.4 | +3.2 | +2 | +1.5 | +3.0 | +3.1 | +3 | +14.5 |
Table 1. Comparative Results. Combining our approach with standard contrastive baselines (SLIP, CMC and CLIP) improves retrieval performance both with and without synthetic misalignment.
Importantly, CGAAL improves retrieval even when no synthetic misalignment is introduced. Co-occurring audio and vision in the original data do not always describe the same content, so positive pairs already differ in how much evidence they provide for cross-modal alignment. We make this challenge more pronounced by introducing synthetic misalignment. With this, performance falls for the standard contrastive baselines, but adding CGAAL improves both A2V and V2A retrieval. The gains in both settings support the central premise of our method: audio and video should be aligned according to how closely their content matches, rather than simply because they occur together.
Zero-Shot Generalisation
We examine whether CGAAL’s retrieval gains generalise to unseen data on AVE, DiDeMo and MSR-VTT without fine-tuning. Table 2 compares CLIP and CLIP (+Ours) trained with and without synthetic misalignment. CGAAL improves RSum on all three datasets in both settings, showing that it results in a more transferable representation. The gains are particularly strong when training includes synthetic misalignment and when the test dataset contains less clear audio-visual correspondences (MSR-VTT and DiDeMo).
| Without Synthetic Misalignment | With Synthetic Misalignment | ||||||||||||||||||
| A2V | V2A | A2V | V2A | ||||||||||||||||
| R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | RSum ↑ | R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | R1 ↑ | R5 ↑ | R10 ↑ | MR ↓ | RSum ↑ | ||
| AVE | CLIP | 5.5 | 21.1 | 31.8 | 25 | 8.5 | 25.4 | 36.3 | 22 | 128.6 | 5.2 | 20.1 | 28.6 | 31 | 5.7 | 20.6 | 31.3 | 27 | 111.7 |
| CLIP (+Ours) | 7.2 | 22.9 | 34.1 | 20 | 6.5 | 26.6 | 39.5 | 18 | 136.8 | 8.5 | 20.1 | 31.1 | 22 | 7.0 | 24.9 | 35.8 | 20.5 | 127.4 | |
| ΔCLIP | +1.7 | +1.8 | +2.3 | +5 | −2.0 | +1.2 | +3.2 | +4 | +8.2 | +3.3 | +0.0 | +2.5 | +9 | +1.3 | +4.3 | +4.5 | +6.5 | +15.7 | |
| DiDeMo | CLIP | 3.0 | 10.7 | 15.8 | 66 | 3.2 | 10.6 | 17.4 | 58 | 60.8 | 2.1 | 7.8 | 13.1 | 86 | 1.2 | 6.6 | 12.5 | 79 | 43.4 |
| CLIP (+Ours) | 3.5 | 11.9 | 18.1 | 59 | 3.0 | 12.8 | 20.8 | 52 | 70.1 | 2.9 | 11.5 | 18.1 | 69 | 3.0 | 10.3 | 15.6 | 63 | 61.4 | |
| ΔCLIP | +0.5 | +1.2 | +2.3 | +7 | −0.2 | +2.2 | +3.4 | +6 | +9.3 | +0.8 | +3.7 | +5.0 | +17 | +1.8 | +3.7 | +3.1 | +16 | +18.0 | |
| MSR-VTT | CLIP | 3.8 | 13.4 | 20.3 | 82 | 4.8 | 14.5 | 21.8 | 71.5 | 78.7 | 3.8 | 12.2 | 17.4 | 114 | 4.0 | 12.4 | 18.9 | 112 | 68.7 |
| CLIP (+Ours) | 5.5 | 15.9 | 23.0 | 67 | 5.2 | 17.2 | 23.7 | 68.5 | 90.5 | 5.0 | 13.5 | 21.6 | 79 | 4.7 | 14.5 | 21.3 | 79 | 80.7 | |
| ΔCLIP | +1.7 | +2.5 | +2.7 | +15 | +0.4 | +2.7 | +1.9 | +3 | +11.8 | +1.2 | +1.3 | +4.2 | +35 | +0.7 | +2.1 | +2.4 | +33 | +12.0 |
Table 2. Zero-Shot Retrieval. Adding CGAAL improves a model’s ability to generalise to unseen datasets, particularly with increased misalignment in training.
Ablations
Model Ablation. We ablate the components of CGAAL in Table 3. Starting from the CLIP baseline, we progressively add (1) weighting the loss with alignment scores, (2) introducing alignment scores with gradual thresholding, (3) adding the warm-up component prior to the gradual thresholding. Weighting positive pairs by their alignment improves every retrieval metric over CLIP. This demonstrates the effectiveness of using modality-specific captions as a proxy for alignment and incorporating this as a prior signal to reduce the weight of less aligned samples. Gradual thresholding further improves the overall results (RSum) when synthetic misalignment is present. Its greater benefit in the synthetic setting is consistent with progressively limiting the influence of the additional weakly aligned pairs. Adding the warm-up improves the overall performance with and without synthetic misalignment. This suggests that an initial period of equal weighting may help establish shared structure when positive pairs are generally informative.
| Without Synthetic Misalignment | With Synthetic Misalignment | |||||
| A2V | V2A | RSum ↑ | A2V | V2A | RSum ↑ | |
| R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | |||
| CLIP | 15.9 38.3 50.5 10 | 17.2 38.8 50.8 10 | 211.5 | 13.0 33.5 44.4 14 | 13.3 33.0 43.5 16 | 180.7 |
| + alignment weighting | 18.0 40.9 52.0 9 | 17.6 40.3 52.0 9 | 220.8 | 14.8 35.0 46.6 13 | 13.7 34.3 44.8 14 | 189.2 |
| + gradual thresholding | 18.1 40.6 52.3 9 | 17.2 39.9 51.6 9 | 219.7 | 14.4 35.7 47.3 12 | 15.0 34.9 46.2 13 | 193.5 |
| + warm up | 18.4 41.1 52.8 9 | 18.4 41.4 52.0 9 | 224.1 | 14.3 35.9 47.6 12 | 14.8 36.0 46.6 13 | 195.2 |
Table 3. Model Ablation. Alignment weighting contributes most to our performance. Gradual thresholding gives a further gain with synthetic misalignment, while warm-up improves without it.
Weighting vs. Filtering. We verify that weighting training pairs by their alignment scores is more effective than filtering out poorly aligned pairs. We compare CGAAL with removing pairs whose alignment scores fall below fixed thresholds of 0.4 or 0.7. As shown in Table 4, both filtering variants reduce retrieval performance relative to CLIP, with the stricter threshold causing a larger drop. CGAAL instead improves performance both with and without synthetic misalignment. These results suggest that partially aligned pairs can still provide useful supervision when their contribution reflects their degree of partial correspondence.
| Without Synthetic Misalignment | With Synthetic Misalignment | |||||
| A2V | V2A | RSum ↑ | A2V | V2A | RSum ↑ | |
| R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | |||
| CLIP | 15.9 38.3 50.5 10 | 17.2 38.8 50.8 10 | 211.5 | 13.0 33.5 44.4 14 | 13.3 33.0 43.5 16 | 180.7 |
| CLIP + Filtering () | 3.9 12.8 18.8 90 | 4.3 12.1 17.4 88 | 69.2 | 3.7 11.2 16.6 101 | 3.5 10.1 16.0 100 | 61.1 |
| CLIP + Filtering () | 11.6 29.2 39.4 20 | 11.9 29.4 38.9 20 | 160.4 | 11.2 27.9 36.7 23 | 11.0 27.0 37.4 24 | 151.2 |
| CLIP + CGAAL (Ours) | 18.4 41.1 52.8 9 | 18.4 41.4 52.0 9 | 224.1 | 14.3 35.9 47.6 12 | 14.8 36.0 46.6 13 | 195.2 |
Table 4. Alignment Weighting vs. Filtering. Filtering removes training pairs with alignment scores below threshold . CGAAL improves retrieval in both settings, whereas filtering at either threshold reduces performance relative to CLIP.
Robustness to LLM Choice. We assess whether CGAAL’s effectiveness depends on the alignment scorer by comparing LLaMA, Gemini, and similarity scores computed from BERT embeddings of the audio and visual captions. Table 5 shows that all three approaches improve RSum over CLIP in both settings. BERT-based scoring performs comparably to the LLMs without synthetic misalignment, but its gains are smaller when synthetic misalignment is introduced. LLaMA and Gemini achieve similar performance in both settings. These results support BERT as a less computationally demanding alternative, while LLM-based scoring provides greater robustness to misalignment with little sensitivity to the choice of LLM.
| Without Synthetic Misalignment | With Synthetic Misalignment | |||||
| A2V | V2A | RSum ↑ | A2V | V2A | RSum ↑ | |
| R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | R1 ↑ R5 ↑ R10 ↑ MR ↓ | |||
| CLIP | 15.9 38.3 50.5 10 | 17.2 38.8 50.8 10 | 211.5 | 13.0 33.5 44.4 14 | 13.3 33.0 43.5 16 | 180.7 |
| CLIP+Ours (BERT) | 17.1 42.2 52.7 9 | 17.9 41.7 52.4 9 | 224.0 | 13.8 34.4 45.7 14 | 13.8 33.8 45.0 14 | 186.5 |
| CLIP+Ours (Gemini) | 17.6 41.8 53.0 9 | 17.2 40.7 52.1 9 | 222.4 | 14.6 35.6 47.2 12 | 14.6 35.0 46.0 13 | 193.0 |
| CLIP+Ours (LLaMA) | 18.4 41.1 52.8 9 | 18.4 41.4 52.0 9 | 224.1 | 14.3 35.9 47.6 12 | 14.8 36.0 46.6 13 | 195.2 |
Table 5. Robustness to LLM Choice. CGAAL benefits from LLM-based alignment scoring without relying on a particular LLM.
Analysis of Audio-Visual Alignment
To better understand our alignment scores and their effect on cross-modal learning, we first assess their agreement with human judgments. We then examine how CGAAL shapes the learned embedding space and affects retrieval across alignment levels through quantitative and qualitative analyses.
Figure 8. Qualitative Results for A2V over different alignment levels. Our retrieved videos show better fine-grained semantic correspondence with the audio query. Query 1 · High alignment (0.79): AC: cooking sounds are being made. Query 2 · High alignment (0.73): AC: men are talking. Query 3 · Moderate alignment (0.61): AC: singing is being played and recorded on a megaphone. Query 4 · Moderate alignment (0.50): AC: football players are playing football. Query 5 · Weak alignment (0.26): AC: a man is talking to another man. Query 6 · Weak alignment (0.25): AC: animals are making noise in a park by the forest.
Reliability of Alignment Scores We assess whether caption-based LLM scores reflect audio-visual correspondence through a verification study on 200 clips. Human evaluators watched each clip with its audio and rated the semantic alignment using a continuous slider. As shown in Figure 6, the LLM scores correlate strongly with human ratings (Pearson’s ), with only 11 clips having a score difference greater than 0.2. This agreement supports the use of caption-based scoring to estimate audio–visual alignment.

Figure 6. Reliability of Alignment Scores. Caption-based LLM scores closely agree with human ratings of audio–visual correspondence.
Performance vs. alignment score. In Figure 7 we compare the retrieval performance with RSum for samples with varying levels of alignment score. CLIP has a small advantage for samples with low alignment (0.0–0.2). These pairs remain correct matches under the retrieval metric despite having little estimated semantic correspondence. Treating every pair equally during training may therefore help CLIP retrieve them. Our approach performs better in every other range, with its largest gain for the most strongly aligned pairs (0.8–1.0).

Figure 7. Performance vs. alignment score. The relative improvement of our method compared to CLIP and CoMM increases with alignment score.
This pattern is consistent with CGAAL placing greater emphasis on pairs whose modalities share more information.
Qualitative results. We show audio-to-video retrieval for six samples with different levels of alignment. Audio captions are displayed only to help readers interpret each query. At inference, the model uses only audio and video modalities, without captions or alignment scores. Across these examples, our approach appears to capture more specific audio–visual correspondence, whereas CLIP favours scenes broadly associated with a sound. For example, given an audio of two men talking, CGAAL ranks a video of two men conversing first, while CLIP retrieves a video showing a webpage accompanied by spoken commentary from one person.
Alignment in the Learned Embedding. We compare the cosine similarity of paired audio and video embeddings at different levels of semantic alignment. As shown in Table 6, CGAAL reduces mean similarity across all alignment levels, with a larger relative reduction for weakly aligned pairs
| Alignment | 0.8–1.0 | 0.6–0.8 | 0.4–0.6 | 0.2–0.4 | 0.0–0.2 |
| CLIP | |||||
| CLIP (+Ours) | |||||
caption: Cross-modal embedding similarity across alignment levels. Mean ( standard deviation) audio–video cosine similarity on test set, grouped by alignment score.
:::
(14.4%) than strongly aligned pairs (6.1%). This pattern is consistent with reducing the pressure to align modalities that share less semantic content.
Conclusions
In this work, we explored the challenge of partial correspondence in multimodal contrastive learning for audio-visual retrieval. We proposed CGAAL, which uses modality-specific captions as proxies to estimate the semantic alignment of the modalities of paired signals and weights pairs in the contrastive loss according to this alignment. This allows for more effective learning of the commonality between modalities, resulting in better audio-video retrieval. Furthermore, we show our method is effective with a variety of contrastive learning approaches, can handle both naturally occurring and additional synthetic misalignment, and improves generalisability to unseen data. Together, these results show the value of accounting for varying degrees of correspondence between positive pairs.
Acknowledgements: O Emara is supported by UKRI CDT in Interactive AI (EP/S022937/1). H Doughty is supported by the Dutch Research Council (NWO) under a Veni grant (VI.Veni.222.160). The authors also acknowledge the use of Isambard-AI National AI Research Resource (AIRR). We acknowledge the usage of GPU hours granted as part of AIRR Innovator project ‘5D Hand-Object Interaction Modelling from In-the-wild Videos’ and uob-0261-2834-2079-1 ‘Explainable and Trustworthy Multi-modal Learning’. Isambard-AI is operated by the University of Bristol and is funded by the UK Government’s Department for Science, Innovation and Technology (DSIT) via UK Research and Innovation; and the Science and Technology Facilities Council [ST/AIRR/I-A-I/1023]. We also extend our gratitude to SURF (www.surf.nl) for granting compute resources from the National Supercomputer Snellius.
References
- [2]Edson Araujo, Andrew Rouditchenko, Yuan Gong, Saurabhchand Bhati, Samuel Thomas, Brian Kingsbury, Leonid Karlinsky, Rogerio Feris, James R. Glass, and Hilde Kuehne. Cav-mame sync: Improving contrastive audio-visual mask autoencoders via fine-grained alignment. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025.DOI
- [3]Brian Chen, Andrew Rouditchenko, Kevin Duarte, Hilde Kuehne, Samuel Thomas, Angie Boggust, Rameswar Panda, Brian Kingsbury, Rogerio Feris, David Harwath, James Glass, Michael Picheny, and Shih-Fu Chang. Multimodal clustering networks for self-supervised learning from unlabeled videos. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 8012–8021, October 2021.arxiv.org/abs/2104.12671
- [4]Changan Chen, Kumar Ashutosh, Rohit Girdhar, David Harwath, and Kristen Grauman. Soundingactions: Learning how actions sound from narrated egocentric videos. In CVPR, 2024.arxiv.org/abs/2404.05206
- [5]Sihan Chen, Handong Li, Qunbo Wang, Zijia Zhao, Mingzhen Sun, Xinxin Zhu, and Jing Liu. Vast: A vision-audio-subtitle-text omni-modality foundation model and dataset. Advances in Neural Information Processing Systems, 36:72842–72866, 2023.arxiv.org/abs/2305.18500
- [6]Benoit Dufumier, Javiera Castillo Navarro, Devis Tuia, and Jean-Philippe Thiran. What to align in multimodal contrastive learning? In International Conference on Learning Representations, volume 2025, pages 5408–5432, 2025.arxiv.org/abs/2409.07402
- [8]Marco Federici, Anjan Dutta, Patrick Forré, Nate Kushman, and Zeynep Akata. Learning robust representations via multi-view information bottleneck, 2020. URL https://arxiv.org/abs/2002.07017.
- [10]Rohit Girdhar, Ala aeldin El-Nouby, Zhuang Liu, Mannat Singh, Kalyan Vasudev Alwala, Armand Joulin, and Ishan Misra. Imagebind one embedding space to bind them all. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15180–15190. IEEE, 2023.arxiv.org/abs/2305.05665
- [11]Andrey Guzhov, Federico Raue, Jörn Hees, and Andreas Dengel. Audioclip: Extending clip to image, text and audio. In ICASSP 2022-2022 IEEE international conference on acoustics, speech and signal processing (ICASSP), pages 976–980. IEEE, 2022.
- [12]Lisa Anne Hendricks, Oliver Wang, Eli Shechtman, Josef Sivic, Trevor Darrell, and Bryan Russell. Localizing moments in video with temporal language. In Ellen Riloff, David Chiang, Julia Hockenmaier, and Jun’ichi Tsujii, editors, Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 1380–1390, Brussels, Belgium, October-November 2018. Association for Computational Linguistics. doi: 10.18653/v1/D18-1168. URL https://aclanthology.org/D18-1168/.DOI
- [13]Shih-Cheng Huang, Liyue Shen, Matthew P Lungren, and Serena Yeung. Gloria: A multimodal global-local representation learning framework for label-efficient medical image recognition. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3942–3951, 2021a.DOI
- [14]Zhenyu Huang, Guocheng Niu, Xiao Liu, Wenbiao Ding, Xinyan Xiao, Hua Wu, and Xi Peng. Learning with noisy correspondence for cross-modal matching. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P.S. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, volume 34, pages 29406–29419. Curran Associates, Inc., 2021b. URL https://proceedings.neurips.cc/paper_files/paper/2021/file/f5e62af885293cf4d511ceef31e61c80-Paper.pdf.
- [15]Guangzhao Li, Yanming Yang, Chenxi Song, Xiaohong Liu, and Chi Zhang. Flowdirector: Training-free flow steering for precise text-to-video editing. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 7805–7815, June 2026.arxiv.org/abs/2506.05046
- [16]Paul Pu Liang, Zihao Deng, Martin Q Ma, James Y Zou, Louis-Philippe Morency, and Ruslan Salakhutdinov. Factorized contrastive learning: Going beyond multi-view redundancy. Advances in Neural Information Processing Systems, 36:32971–32998, 2023.arxiv.org/abs/2306.05268
- [17]Jing Liu, Sihan Chen, Xingjian He, Longteng Guo, Xinxin Zhu, Weining Wang, and Jinhui Tang. Valor: Vision-audio-language omni-perception pretraining model and dataset. IEEE Transactions on Pattern Analysis and Machine Intelligence, 47(2):708–724, 2024.DOI
- [19]Yiwei Ma, Guohai Xu, Xiaoshuai Sun, Ming Yan, Ji Zhang, and Rongrong Ji. X-clip: End-to-end multi-grained contrastive learning for video-text retrieval. In Proceedings of the 30th ACM International Conference on Multimedia, MM ’22, page 638–647, New York, NY, USA, 2022. Association for Computing Machinery. ISBN 9781450392037. doi: 10.1145/3503161.3547910. URL https://doi.org/10.1145/3503161.3547910.
- [21]Norman Mu, Alexander Kirillov, David Wagner, and Saining Xie. Slip: Self-supervision meets language-image pre-training. In Computer Vision – ECCV 2022: 17th European Conference, Tel Aviv, Israel, October 23–27, 2022, Proceedings, Part XXVI, page 529–544, Berlin, Heidelberg, 2022. Springer-Verlag. ISBN 978-3-031-19808-3. doi: 10.1007/978-3-031-19809-0_30. URL https://doi.org/10.1007/978-3-031-19809-0_30.
- [22]Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation learning with contrastive predictive coding. arXiv preprint arXiv:1807.03748, 2018.arxiv.org/abs/1807.03748
- [23]Kranti Parida, Omar Emara, Hazel Doughty, and Dima Damen. Segmenting collision sound sources in egocentric videos. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) Workshops, 2026.arxiv.org/abs/2511.13863
- [24]Sneha Paul, Zachary Patterson, and Nizar Bouguila. Point cloud as a foreign language for multi-modal large language model. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026.
- [25]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 Learning Representations (ICLR), 2021. doi: 10.48550/ARXIV.2103.00020. URL https://arxiv.org/abs/2103.00020.
- [26]Jiahua Rao, Han Jing Lin, Leyu Chen, Jiancong Xie, Shuangjia Zheng, and Yuedong Yang. Multi-modal contrastive learning with negative sampling calibration for phenotypic drug discovery. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 30752–30762, 2025. doi: 10.1109/CVPR52734.2025.02864.DOI
- [27]Piyush Sharma, Nan Ding, Sebastian Goodman, and Radu Soricut. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Iryna Gurevych and Yusuke Miyao, editors, Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2556–2565, Melbourne, Australia, July 2018. Association for Computational Linguistics. doi: 10.18653/v1/P18-1238. URL https://aclanthology.org/P18-1238/.DOI
- [28]Nina Shvetsova, Brian Chen, Andrew Rouditschenko, Samuel Thomas, Brian Kingsbury, Rogerio Feris, David Harwath, James Glass, and Hilde Kuehne. Everything at once–multi-modal fusion transformer for video retrieval. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 19988–19997. IEEE, 2022.arxiv.org/abs/2112.04446
- [30]Yapeng Tian, Jing Shi, Bochen Li, Zhiyao Duan, and Chenliang Xu. Audio-visual event localization in unconstrained videos. In ECCV, 2018.arxiv.org/abs/1803.08842
- [31]Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive multiview coding. In European Conference on Computer Vision (ECCV), 2019. doi: 10.48550/ARXIV.1906.05849. URL https://arxiv.org/abs/1906.05849.


