Learning Musical Representations for Music Performance Question Answering
Paper · 2024 · Xingjian Diao, Chunhui Zhang, Tingxuan Wu et al.
Summary
A concert video can show several players at once while their instruments produce a nearly continuous mixture of sound. To identify which of two ukuleles is heard first, a system has to connect the sounds to the players and put the sounds in order. Even a question about how many kinds of instruments are heard poses a challenge, since a visible instrument may be silent and several instruments may sound together. Xingjian Diao and colleagues study these problems through audio-visual question answering. They propose Amuse, a system that answers questions about recorded music performances.
Amuse gives each input its own processing stream. Video, audio, and question wording are then allowed to influence one another while those streams are still being processed. The authors also add annotations that describe when the estimated tempo changes substantially and when particular instruments are detected in the soundtrack. Amuse learns to predict these annotations from audio and video. A separate detector supplies features for parts of the picture that contain instruments, performers, or conductors. The answer predictor can therefore draw on features of the performance as a whole, estimates tied to successive time intervals, and details from particular parts of a frame.
On the standard test splits, Amuse reaches overall accuracy of 83.52% on Music AVQA v1 and 85.16% on Music AVQA v2, the highest reported overall figures among the systems compared on each version. The reported Amuse results are averages over three runs. Its gains cover a range of joint audio-visual questions, including counting and temporal questions. Some comparison systems still lead on individual question types, including audio counting on both test sets. The overall ranking describes performance across the test questions, with differences in relative strength still visible by question type.
Removing the main stream of interacting audio, visual, and question features causes the broadest loss on the Music AVQA v1 test set. Other removals have more specific effects. The instrument-source encoders help with joint counting and temporal questions, and removing the detector particularly hurts questions about how many instrument types are heard. The rhythm encoders help the audio question group, while some joint-question scores rise when they are removed. Together, the comparisons show where access to musical cues helps on these benchmarks and where the evidence for a particular component is mixed.
Deep dive: Learning Musical Representations for Music Performance Question Answering
Amuse answers questions about music performances by combining video, sound, and question wording with timed cues for rhythm and instruments. · about 34 minutes to read
The problem and its context
A scene with continuous sound
The paper starts from a difference between the soundtrack of a typical scene and the soundtrack of a performance. Its illustration contrasts a natural scene with occasional chirping and a performance with sound continuing across the clip. When a sound occurs in relative isolation, its appearance can indicate where to look in the recording. In a performance, useful evidence may be part of an ongoing mixture, and the sound relevant to a question may overlap with sounds from other sources. The system has to distinguish parts of that mixture and relate them to what is visible.
The relationship between hearing and seeing also changes over a clip. A performer can be in view before playing, and an instrument can remain in view after it stops sounding. Two visually similar instruments can participate at different moments or together. A picture provides evidence about which objects are present and where they are. A soundtrack provides evidence about what is audible and when. A question can turn a discrepancy between these two kinds of evidence into the very thing the system needs to resolve.
The wording determines the evidence that matters. A question about the number of instrument types in view calls for recognizing and distinguishing objects. A question about how many types are heard calls for distinguishing sources in a mixture. A question about the order in which the sources are heard adds a temporal comparison. The same performance can support all of these questions, and useful evidence for a given answer may come from different portions of the recording. That is why the paper treats the question as an input to the processing of the scene itself.
The authors identify rhythm and musical source as two characteristics worth making explicit. In this study, rhythm supervision concerns sizable changes in estimated beats per minute. Musical source supervision concerns the detected presence and recurrence of instruments across intervals. These targets give the system training signals at particular points in a performance. The ordinary answer label gives feedback about the answer to a particular question. It may leave open which interval or source supplied the decisive clue. The auxiliary targets give a different kind of feedback by identifying properties the system should learn to represent before it is trained as a complete answer predictor.
How earlier work combined sound and images
The paper places its task in a line of work on learning from multiple kinds of input. It mentions early research that learned features across sound and vision for speech recognition, and work that used a deep Boltzmann machine to learn from multiple modalities. In this vocabulary, a modality is a form in which the information arrives, such as a soundtrack, an image sequence, or written text. A representation is the numerical description that a processing stream passes to a later part of the system.
Earlier question-answering tasks emphasized different parts of this setup. Work on visual question answering paired linguistic information with visual features. The paper includes VQA in that tradition and cites video questions in TVQA and ActivityNet-QA. Work on audio question answering used sound as the sensory evidence. Audio-visual question answering brought the two sensory streams together. The authors distinguish this task by its requirement to interpret sound in relation to visible events as well as to the question.
The paper describes Pano-AVQA as a benchmark for panoramic videos and Music AVQA as a benchmark built around music performances. The original Music AVQA work also introduced an approach that grounds the evidence in space and time. A subsequent version of the music benchmark was designed to address biases in the original dataset and to make it more challenging. Music performance thus already had a dedicated benchmark and systems that used audio and video. Amuse changes the way those signals meet inside the system and adds explicitly musical training targets.
Some earlier approaches sought better correspondence between sound and vision through feature fusion or through the construction of positive and negative pairs. Fusion combines representations so that a later computation can use information from both. Pair construction gives the learner examples where the features should correspond and examples where they should be distinguished. Both address the relation between the streams. The authors argue that continuously overlapping evidence in a performance also calls for interaction during the formation of the representations.
Two of the comparison systems illustrate ways to adapt existing encoders. LAVisH uses an adapter that extends a pretrained vision transformer to audiovisual inputs. The underlying vision architecture is described in the paper on the Vision Transformer. DG-SCT uses inputs from sound and vision as prompts in frozen pretrained encoders. A frozen encoder keeps its learned parameters fixed during the relevant adaptation. In the paper's design comparison, LSTTA already supports early interaction among sound, vision, and question information. Amuse shares that broad property and adds supervised rhythm, source, and temporal features alongside features from musical objects.
Why timing needs its own training signal
An attention mechanism can help a system place more weight on some features than on others. The authors' concern is that the presence of attention by itself leaves open what is learned about musical events. A system can give different weights to different parts of a clip while receiving no direct training signal about where the tempo changes or where an instrument is detected. Amuse supplies such targets on a timeline, so an error in the learned description of a portion of the performance can be measured during pretraining.
Timing and location therefore enter this study in different ways. Timing comes through annotations indexed by consecutive audio intervals and through the audio and visual encoders that learn from them. Location comes through a detector that identifies parts of the picture containing musically relevant objects. A location can help distinguish two candidate sources in view, and a timeline can help distinguish when they were active. The main processing stream still has to bring those cues into relation with the question.
The paper also distinguishes its objective from a line of work that uses language interfaces to call trained audio tools, exemplified by AudioGPT and HuggingGPT. It mentions music generation as another use of techniques drawn from language research. Here the task is to interpret a given recording and predict an answer whose correctness can be checked against a benchmark label. The design centers on the evidence available in that recording and on how to represent it for the question being asked.
The method, step by step
From the recording to an answer
Amuse takes a performance video, its soundtrack, and a question. Its main encoder builds features for all of them. An encoder turns its input into a sequence of numerical features that later computations can work with. In the main encoder, exchanges among the streams let each update use context supplied by the others. A visual feature can draw on the soundtrack, for instance, and the question stream can receive information from the performance while its own representation is being formed.
The same recording goes through a separate branch for musical characteristics. Before full-pipeline training, the authors turn the soundtrack into a timeline of rhythm labels and instrument-source labels. They use these annotations to teach audio and visual encoders to predict musical properties over time. In the complete system, the pretrained encoders provide additional features. The visual input also goes to an object detector that supplies local visual evidence. At the end, the question representation helps combine the outputs for answer prediction.
How Amuse learns musical cues and answers questions
The steps in order.
The branches are complementary in the kind of input and supervision they use. The main branch has access to the question while processing the clip. The rhythm and source branch learns from labels for the recording itself. The detector contributes localized information that might be less prominent in a description of a whole scene. The answer predictor brings the branches together after they have formed those different views of the performance.
Exchange information during encoding
The main branch uses the Transformer and attention architecture in forms suited to the different inputs. For video the authors use Swin Transformer V2, specifically the Swin-v2-large architecture. They use the Hierarchical Token-Semantic Audio Transformer, abbreviated HTS-AT, for sound. A language transformer processes the question, following the architecture introduced in Attention Is All You Need. Each stream works with tokens, the vectors that represent individual units of its input at a processing stage.
The visual encoder has 18 layers and the audio encoder has six layers. According to the paper, a cross-modal adapter placed at three-layer intervals handles inputs from both encoders. An adapter is a small trainable connection that accepts features from the relevant streams and prepares the result for further processing. The paper specifies a single convolutional layer to transform dimensions when the inputs to an adapter have incompatible sizes. Aligning the sizes for a calculation is distinct from finding which parts of the recording correspond. The attention calculation addresses the latter through learned associations between tokens.
To see what crosses an adapter, consider the sound features that update a visual stream. The visual tokens determine what information to request. Audio tokens provide both features to match those requests against and the information that can be passed back. The visual representation can thus receive a different combination of audio features at each of its token positions. These combinations depend on the input recording and on the learned projections used in the matching calculation.
The paper writes the input representations with a common embedding width. Here is that notation for the visual stream.
Xᵥ ∈ ℝ^(Tᵥ × d)
Xᵥ is the matrix of visual token vectors. The subscript v refers to vision. The symbol ∈ means the matrix belongs to the space indicated on the right, and ℝ denotes real-valued entries. Tᵥ is the number of visual tokens. The symbol d is the number of features in a token vector, and × separates the two dimensions of the matrix.
Xₐ ∈ ℝ^(Tₐ × d)
Xₐ holds the audio tokens, with a denoting audio. The matrix has Tₐ token positions and d features per position, all real-valued. As in the previous expression, ∈ indicates membership and × gives the matrix shape.
Xₗ ∈ ℝ^(Tₗ × d)
Xₗ holds the language tokens, with l denoting the language stream. The question has Tₗ token positions, and each token is represented by d real-valued features. The shared d specifies a common width for the presentation of the calculation. The separate sequence lengths allow the streams to contain different numbers of tokens.
In the visual-to-audio example, the system projects the visual features to produce queries. A query describes the information a visual token seeks from the audio sequence.
Qᵥ = Xᵥ Wᴼ
Qᵥ is the visual query matrix and Xᵥ contains the visual tokens. Wᴼ here denotes the learned query projection, written W with a Q subscript in the paper. Juxtaposition denotes matrix multiplication and = identifies its output with Qᵥ. The projection determines which combinations of the visual features will be used to match the audio.
Kₐ = Xₐ Wᴷ
Kₐ is the audio key matrix. The keys describe what the audio tokens make available for matching. Xₐ contains those tokens and Wᴷ denotes the learned key projection. The product forms a key for each audio token.
Vₐ = Xₐ Wⱽ
Vₐ is the audio value matrix. It contains the audio information that the adapter can pass along after scoring the matches. Xₐ is again the matrix of audio tokens, and Wⱽ denotes the learned value projection. Having a separate matrix for the values lets the system choose what to transmit separately from the features it uses to decide where to look.
The adapter compares each query with the keys, scales the resulting scores, and uses them to form a weighted combination of audio values.
Aᵥₐ = softmax((Qᵥ Kₐᵀ) / √d) Vₐ
Aᵥₐ is the output for visual queries that attend to audio tokens. Qᵥ holds the visual queries and Kₐ holds the audio keys. The superscript T denotes transpose, so Qᵥ Kₐᵀ provides a score for every visual-query and audio-key pairing. The slash indicates division, and √d is the square root of the embedding width used for scaling. The softmax operation converts the scores for a query into weights over the audio tokens. Multiplication by Vₐ, the audio values, uses those weights to construct the output at each visual query position.
This operation updates the visual side in the direction described here. The token sequence it receives from sound is organized around visual queries. In the reverse direction, audio queries draw on visual keys and values, so the resulting information is organized around audio positions. This directional difference gives the two streams distinct ways to use the same video and soundtrack.
The adapter then applies learned projections with an activation between them. The output is suitable for the visual stream's next processing block.
Zᵥ = σ(Aᵥₐ W₁ + b₁) W₂ + b₂
Zᵥ is the adapter output for the visual stream. Aᵥₐ is the output of the visual queries attending to audio. W₁ and W₂ are learned weight matrices, and b₁ and b₂ are their associated biases. The plus signs add the biases to the projected features. The function σ is a nonlinear activation, for which the paper gives ReLU as an example. The subscripts distinguish the projection before the activation from the projection after it.
The same approach applies when language supplies or receives context. The paper summarizes the resulting exchanges by writing a fused representation for each stream. For vision, the starting visual features are combined with outputs obtained by attending to audio and language.
Xᵥᶠᵘˢᵉᵈ = Fuse(Xᵥ, Aᵥₐ, Aᵥₗ)
Xᵥᶠᵘˢᵉᵈ denotes the updated visual representation and Xᵥ the visual tokens entering the combination. Aᵥₐ denotes information obtained by visual queries from audio tokens, and Aᵥₗ denotes information obtained by visual queries from language tokens. Fuse is the operation that combines the arguments, which the paper describes in terms of cross-modal attention. The v at the start of each attention subscript identifies the receiving stream.
Xₐᶠᵘˢᵉᵈ = Fuse(Xₐ, Aₐᵥ, Aₐₗ)
Xₐᶠᵘˢᵉᵈ denotes the updated audio representation. Xₐ is the incoming audio sequence, Aₐᵥ carries information obtained by audio queries from vision, and Aₐₗ carries information obtained by audio queries from language. Fuse denotes the same kind of attention-based combination, here in the audio stream.
Xₗᶠᵘˢᵉᵈ = Fuse(Xₗ, Aₗᵥ, Aₗₐ)
Xₗᶠᵘˢᵉᵈ denotes the updated question representation and Xₗ its incoming tokens. Aₗᵥ and Aₗₐ are the attention outputs for language queries drawing from vision and audio, respectively. Fuse combines those outputs with the question tokens. In all three expressions the notation specifies which streams contribute to an update.
The practical consequence is that later processing in each stream can use the result of earlier exchanges. A question about an instrument can make a particular set of audio or video features useful as context, while the question features themselves can incorporate evidence from the clip. The amount of correspondence that the system learns from such exchanges is an empirical matter. This calculation gives it a means of sharing information while retaining separate forms of processing for the different inputs.
Turn tempo changes into training labels
The rhythm annotation assigns a label to a pair of neighboring audio intervals based on how different their estimated tempos are. The paper describes 6-second intervals in a 60-second clip. It uses non-overlapping intervals so the target can be indexed by position in a sequence. Both the rhythm and instrument-source annotations start with this division of the soundtrack.
aᵢ = A[i · t : (i + 1) · t]
A is the complete audio signal, whose length the paper calls T. The authors describe dividing it into n segments. Each segment has length t, i is the segment index, and aᵢ is the audio in segment i. The brackets and colon denote a slice between the indicated time boundaries. The centered dots multiply the interval length by the index, and i + 1 identifies the next boundary.
The authors run a beat tracker on each slice. Its output is a tempo estimate in beats per minute, abbreviated BPM. This turns the piece of audio in a given interval into a value that can be compared with the value for its neighbor.
bpmᵢ = BT(aᵢ)
The symbol bpmᵢ is the tempo estimated for interval i, aᵢ is its audio snippet, and BT is the beat-tracking operation. The parentheses indicate that BT is applied to the snippet.
The beat tracker also supplies a reference tempo for the whole clip. The paper calls this the average BPM of the entire audio and expresses it as a beat-tracker call on the full signal.
μᵦₚₘ = BT(A)
The symbol μᵦₚₘ denotes the clip-level tempo reference. BT is the same beat-tracking operation and A denotes the complete clip audio. The operand here is the full signal, whereas bpmᵢ comes from an individual interval.
ϑ = 0.25 × μᵦₚₘ
The symbol ϑ denotes the threshold for calling a tempo change significant. The multiplier 0.25 sets that threshold at 25% of μᵦₚₘ, the tempo reference for the clip. The × sign indicates multiplication. The magnitude required for a positive label therefore depends on the estimated tempo of the recording.
Labelᵢ = 1 if |bpmᵢ − bpmᵢ₊₁| > ϑ, and 0 otherwise
Labelᵢ is the binary target at index i. The symbols bpmᵢ and bpmᵢ₊₁ are the tempo estimates for the current and next interval. The minus sign subtracts one from the other, and the vertical bars take the absolute value, so a marked speedup or slowdown can both satisfy the rule. The greater-than sign requires the magnitude to exceed ϑ. The value 1 marks a change that passes this test, and 0 covers the remaining comparisons.
What the encoder is asked to learn is thus a specific feature of rhythmic behavior. It receives a target about change from one interval to the next, with the size of the change judged in relation to the clip's reference tempo. The beat tracker supplies the numbers for the labels, and the threshold supplies the decision rule. In a musical performance where several things change around the same time, this gives the learning procedure a defined target whose timing can be compared across sound and image.
Track the instrument sources through the same intervals
The source annotations use the same segmentation and ask which musical instruments are detected in each piece. The authors apply Universal Source Separation to the audio snippets. Source separation is used here to identify different contributors to a mixed recording. The target records activity associated with specified instruments over the course of the clip.
USS(aᵢ)
USS denotes the Universal Source Separation operation and aᵢ denotes the audio for segment i. The parentheses indicate that source separation runs on that segment. Repeating the operation across segments produces results that can be indexed by time.
The annotation procedure tracks occurrences of the specified instruments and counts how often they appear across the segments. A clip-level description could report which instruments were detected at some point in a recording. Keeping the segment results also preserves information about when they were detected and whether they recurred. This is the information the musical branch is intended to learn. A question about which sound came first makes the value of the time index particularly easy to see.
The video enters this learning process as another way of predicting timed musical characteristics. The annotation procedure begins from the audio and gives subsequent processing a target tied to time in the performance. Visual features at corresponding points can contain information about what the players are doing. The paper's scheme thus attaches musical supervision to encoders operating on the visible performance as well as to encoders operating on its sound.
Pretrain the rhythm and source encoders
The architecture diagram shows a rhythm encoder and a source encoder for each sensory modality. Visual frames are processed by Swin-V2 and audio spectrograms by HTS-AT. A spectrogram represents how the frequency content of a sound varies over time. The paper describes the successive visual and audio layers, followed by averaging and prediction. Let ℓ stand for the layer index in these expressions.
Xᵥ^(ℓ) = Swin-V2(Xᵥ^(ℓ−1))
Xᵥ^(ℓ) is the visual token representation at layer ℓ. The operation denoted Swin-V2 applies the next visual encoder transformation to Xᵥ^(ℓ−1), the token representation from the preceding layer. The subscript v identifies vision. The parenthesized superscripts label processing stages.
Xₐ^(ℓ) = HTS-AT(Xₐ^(ℓ−1))
Xₐ^(ℓ) is the audio token representation at layer ℓ. HTS-AT applies the audio encoder transformation to Xₐ^(ℓ−1), the output of its preceding layer. The subscript a identifies audio. As above, ℓ−1 designates the previous layer.
The next operation is average pooling. Pooling replaces a collection of features with a smaller representation. Averaging gives the musical predictors a compact description drawn from the encoded tokens. The paper describes this processing as part of the construction of time-aligned musical representations.
Xᵥ^(avg) = avgpool(Xᵥ^(ℓ))
Xᵥ^(avg) is the pooled visual representation. The marker avg indicates average pooling, and avgpool is the averaging operation applied to the visual tokens Xᵥ^(ℓ) from layer ℓ.
Xₐ^(avg) = avgpool(Xₐ^(ℓ))
Xₐ^(avg) is the pooled audio representation. Here avgpool averages features from Xₐ^(ℓ), the token representation at audio layer ℓ. The notation distinguishes this result from the visual average.
The paper gives separate predictors for rhythm and source. Each uses a three-layer linear network. The expressions for their outputs are written with the pooled visual and audio features as inputs.
Ŷᵣ = Predictorᵣ(Xᵥ^(avg), Xₐ^(avg))
Ŷᵣ denotes the predicted rhythm output, with r identifying rhythm and the hat indicating an estimate. Predictorᵣ is the network for this target. It receives Xᵥ^(avg), the pooled visual features, and Xₐ^(avg), the pooled audio features.
Ŷₛ = Predictorₛ(Xᵥ^(avg), Xₐ^(avg))
Ŷₛ denotes the predicted source output, with s identifying source. Predictorₛ is the network for that target. The two arguments again designate the pooled visual and audio features, now used to predict information about musical sources.
The training objective is mean squared error. The loss is the quantity that the optimizer tries to reduce. It penalizes differences from the annotations in both outputs, with larger discrepancies incurring a larger squared penalty.
Lₘₛₑ = (1 / N) ∑ᵢ₌₁ᴺ [(ŷᵣⁱ − yᵣⁱ)² + (ŷₛⁱ − yₛⁱ)²]
Lₘₛₑ names the mean squared error loss. N is the number of indexed target items in the average, and the summation sign ∑ accumulates their contributions from i equal to 1 through N. The symbols ŷᵣⁱ and ŷₛⁱ represent the predictions for item i for rhythm and source. The corresponding yᵣⁱ and yₛⁱ are the annotation targets. The minus signs form prediction errors, the superscript ² squares them, and + combines the two squared terms. Multiplication by 1 / N averages the combined terms over the indexed items.
The authors use Adam for optimization. During the pretraining stage, the rhythm and source annotations provide the supervision and the learning rate is 0.001. Afterwards the authors freeze the pretrained musical encoders. Their parameters remain fixed when their features are used in the Universal Encoder, the name in the framework diagram for the branch that incorporates these pretrained audio and visual components.
Keep local visual evidence available for the final answer
The third branch extracts musical regions of interest. A region of interest is an area of the image selected because it contains an object relevant to the task. The authors use the lightweight YoloV8 detector in their implementation and discuss instruments, players, and conductors as objects of interest. Its local visual features reach the answer predictor alongside features describing the broader scene and the timed musical properties.
Consider a video with several performers in view. For a question about which side a sound came from, features associated with the players give the predictor candidates to distinguish. For a joint counting question, localized features can help tell apart instruments in a crowded scene. The soundtrack still supplies evidence about what was audible. The object detector contributes the visual information that can be consulted when deciding whether those sources correspond to separate instruments in view.
For the full pipeline, the authors combine the outputs of the main encoder, the pretrained musical branch, and the region detector. A cross-modal attention layer combines features with the question representation. This gives the answer stage a way to make different use of the branches for different kinds of questions. Full-pipeline fine-tuning begins at a learning rate of 0.0001, which the authors reduce by 50% every 5 epochs. The authors make the Amuse code and the added rhythm and source annotations available.
Experiments and results
What the test sets measure
Music AVQA v1 contains 9,288 videos featuring 22 different instruments. The paper reports 150 hours of video and 45,867 question-answer pairs, with roughly five pairs for each video. It describes 33 question templates and names String, Wind, Percussion, and Keyboard as instrument categories. A question template provides a recurring form for asking about an aspect of a performance. The result tables group the instantiated questions by the kind of evidence sought and by the operation the answer requires.
Music AVQA v2 is a revision that addresses data bias in the original benchmark. The paper reports that the revision involved manual collection of 1,230 instrument performance videos and creation of 8,100 new question-answer pairs. The authors use the standard training and test splits for both versions, so the measurements describe performance on the benchmarks' designated held-out questions. The two test sets provide separate conditions for judging the framework.
Accuracy is the share of questions assigned the correct answer. The audio group contains counting and comparative questions. The visual group contains counting and location questions. The joint audio-visual group covers existence, counting, location, comparison, and temporal ordering. These labels give the reader a way to distinguish the demands of the questions. A counting question can be visual, auditory, or joint, depending on what the question asks the system to count.
The results tables give accuracies for individual question types, group averages, and an overall score. Those views answer different questions about the outcome. The overall score gives the headline result across the questions, while the type-specific values help locate strengths and weaknesses. For Amuse, the paper reports the mean over three runs. The comparison tables give point estimates for the other systems and include some entries for which a group average is unavailable.
Overall performance on Music AVQA v1
The original Music AVQA test set includes results for the benchmark's AVST approach and for PSTP-Net. The study also compares against LAVisH and LSTTA. DG-SCT and LAST-Att complete the set of baselines reported on v1. The overall ranking shows where Amuse stands across the benchmark. The comparisons by question type show what contributes to that ranking.
Overall question-answering accuracy on the Music AVQA v1 test set
Amuse has the highest overall accuracy among the reported systems.
The numbers
| System or setting | accuracy % |
|---|---|
| AVST | 71.59 |
| PSTP-Net | 73.52 |
| LAVisH | 76.10 |
| LSTTA | 81.19 |
| DG-SCT | 74.62 |
| LAST-Att | 75.45 |
| Amuse (this paper) | 83.52 |
LSTTA is the closest baseline in overall accuracy on v1. It is also the baseline that the authors identify with early fusion in their architectural comparison. The paper reports an overall advantage of +2.33% for Amuse against LSTTA. This is a comparison between complete systems. It establishes their ranking on the test set while leaving the contributions of particular design choices to the ablation experiments.
In the joint audio-visual group, Amuse reaches average accuracy of 82.43% on v1. LSTTA reaches 79.63% and LAVisH reaches 76.31% on the same group. The result for audio-visual counting is 85.49% for Amuse. The paper highlights a lead of 6.38% over LSTTA for that type. For temporal questions, Amuse reaches 83.06%, and the authors report a lead of +3.74% over LSTTA. These are the questions for which the joint representation is particularly relevant, since the decision can involve matching an audible event to a visible candidate or establishing when it occurred.
Joint location questions qualify that pattern. Amuse reaches 73.01% on the v1 test set for this type, while LSTTA reaches 78.23% and LAVisH reaches 75.81%. Amuse leads the joint group overall, with a lower rank on this particular question type. A method can therefore do well at counting sources or ordering events and still have room to improve when the answer requires placing the evidence.
In the visual group on v1, Amuse records 87.14% accuracy on counting and 84.39% on location. Its visual-group average is 85.84%. The strongest reported baseline average for that group is 82.08%, from DG-SCT. The location column also clarifies the role of the question grouping. Amuse leads when the location question is categorized as visual, while the joint location column gives the different ranking described above. Reading the two columns separately preserves the distinction made by the evaluation.
In the audio group, Amuse reaches 84.61% on counting and 82.45% on comparison, for a group average of 83.58%. LAST-Att has a higher audio counting score of 85.71%. LAVisH has a higher audio comparison score of 84.13%. The group average for Amuse is the highest among the entries supplied for the audio average. This is a case where competitive performance across the constituent types gives a higher reported group score even though different systems lead the individual categories.
Performance on the revised benchmark
The Music AVQA v2 table compares Amuse with AVST, LAVisH, DG-SCT, and LAST-Att. The group averages and question-type accuracies apply to the v2 test questions. The revised benchmark also gives the authors another setting in which to examine whether the complete design performs well when the dataset has been curated to address biases identified in the original.
Overall question-answering accuracy on the Music AVQA v2 test set
Amuse leads the reported comparison on the revised benchmark.
The numbers
| System or setting | accuracy % |
|---|---|
| AVST | 71.08 |
| LAVisH | 72.34 |
| DG-SCT | 74.08 |
| LAST-Att | 75.44 |
| Amuse (this paper) | 85.16 |
Amuse reaches 85.51% on the joint audio-visual group. DG-SCT reaches 70.38% and LAVisH reaches 67.75% among the systems for which that average is reported. In the individual joint columns, Amuse records 88.30% for existential questions, 87.47% for counting, 78.77% for location, 84.41% for comparison, and 85.38% for temporal questions. The highest reported baseline accuracy for temporal questions is 67.34%, from DG-SCT. The joint location column also favors Amuse on this test set, in contrast to its relative position on Music AVQA v1.
For visual questions, the v2 test scores for Amuse are 88.15% on counting and 85.16% on location. The visual average is 86.74%. That visual location accuracy is numerically the same as the overall v2 score, so it matters which result is being described. The visual comparison mirrors the v1 test in the sense that Amuse leads both visual question types among the reported systems.
The audio results show the value of keeping the group average distinct from each question type. Amuse scores 84.76% for audio counting and 83.88% for audio comparison, with a reported audio average of 84.34%. LAST-Att reaches 86.03% on audio counting and has no displayed audio-group average in the table. The highest reported audio average is Amuse's, and the distinction between the individual comparison and the average also applies here.
What the example questions reveal
The paper illustrates the task with a temporal question about two ukuleles. The intended answer is that they are heard simultaneously. Amuse returns that answer while LAVisH chooses the instrument on the left. The question makes visible identity alone insufficient to settle the issue. The answer has to describe the relation between two sources in time, including the possibility that neither precedes the other.
The counting example asks for the number of instrument types audible in a performance. Amuse gives six, which matches the benchmark answer, while DG-SCT gives five. A question of this kind can combine evidence from many moments and from several objects. The example establishes the difference in the answers returned for that video. The aggregate counting accuracy shows how often the systems gave the benchmark answer across the corresponding test questions.
Neither example supplies a trace of the intermediate evidence for the answer. The temporal example shows a successful judgment about simultaneity, and the counting example shows a successful judgment about the number of audible types. The component-removal and attention analyses provide separate evidence about what parts of Amuse matter across questions.
What the ablations show
Removing the interactive backbone
An ablation is a comparison that removes part of a system to see how its performance changes. The authors report these experiments on the Music AVQA v1 test set. They remove the interactive backbone, the rhythm branch, the musical source branch, and the pathway for local regions in separate comparisons with full Amuse. Removing a branch changes what features are available to the answer predictor. The size and distribution of the resulting score changes indicate how much the complete system relies on that branch under the reported setup.
Overall accuracy after component removal on the Music AVQA v1 test set
Removing the interactive backbone produces the lowest overall accuracy among the ablations.
The numbers
| System or setting | accuracy % |
|---|---|
| Without interactive encoder | 54.73 |
| Without rhythm encoders | 82.72 |
| Without source encoders | 80.73 |
| Without musical regions of interest | 79.89 |
| Full Amuse (this paper) | 83.52 |
Without the backbone, audio-group accuracy is 62.66%, visual-group accuracy is 53.26%, and joint-group accuracy is 51.54%. With the complete architecture, those group scores are 83.58%, 85.84%, and 82.43%, respectively. The size of the decline across groups establishes the importance of the features delivered by the main encoder in this architecture. The specialized branches still provide their features in the ablation, yet the remaining system has much lower accuracy on all three groups.
This is a removal of the whole interactive encoder. The question it answers concerns the value of the branch as a whole. In particular, the comparison changes the availability of the backbone's representations at the same time that it removes the branch's early exchanges. The authors credit early fusion as a foundation of their design, and the ablation supports the importance of the full interactive pathway. A comparison that preserved the same backbone and varied only when the streams meet would address a narrower question about the timing of fusion.
Removing the rhythm encoders
In the rhythm ablation, neither the audio rhythm encoder nor the visual rhythm encoder is retained. The clearest losses are in the audio group. The paper reports changes of -1.40% in audio counting accuracy, -2.28% in audio comparison accuracy, and -1.81% in the audio average. Audio counting falls to 83.21% and audio comparison to 80.17% in the ablation. The reported result is consistent with the auxiliary rhythm features being useful for questions that depend primarily on sound.
Amuse also loses accuracy on audio-visual counting without rhythm features. That column falls to 84.06%, compared with 85.49% for the complete system. Some other joint-question scores move in the opposite direction. With rhythm encoders removed, temporal accuracy is 83.59% compared with 83.06% for full Amuse, and the joint group average is 84.08% compared with 82.43%. The overall score and the audio average favor including the rhythm branch. The joint group average favors the variant without it in this comparison.
These results narrow the interpretation of what the rhythm supervision contributes. It helps the reported audio scores and joint counting score. Its training target concerns estimated tempo changes, and questions classified as temporal can require other kinds of timing information, such as onset order among distinct sources. The small change in the temporal column provides little reason to treat tempo-change supervision as the direct explanation for the complete system's temporal performance.
Removing the source encoders
Removing the musical source branch takes away the encoders trained with instrument-presence information from successive intervals. The paper reports that v1 audio counting changes by -5.94% and the audio average by -4.72%. The corresponding accuracies for the ablated system are 78.67% and 78.86%. Joint audio-visual counting falls to 79.94%, while joint temporal accuracy falls to 80.67%. The authors report changes of -5.55% and -2.39% for those joint question types.
The pattern covers cases where identifying the contributors to a soundtrack could help answer in different ways. Counting audible sources calls for distinguishing contributors. Ordering source events calls for keeping track of when contributors are detected. The source branch supplies a representation trained with instrument information indexed by time, and its removal affects both kinds of questions. Visual-group accuracy also decreases to 83.72%, even though the source annotations themselves begin from sound.
The source experiment removes both sensory encoders in that branch and their learned features. The result supports the usefulness of the branch as implemented. It leaves the separate roles of adding instrument supervision, keeping the labels aligned to intervals, and using both kinds of input unresolved. These are distinct properties of the same ablated branch.
Removing musical regions of interest
Removing the detector branch reduces visual-group accuracy to 78.45%. The paper reports this as a change of -7.39% from the full system. The visual location score falls to 76.43%, and visual counting falls to 80.26%. Both effects fit the detector's purpose of making local evidence about objects and performers available for the answer.
The largest counting effect of this removal is in the joint questions. Accuracy there falls to 72.09%, and the authors report a change of -13.40%. Joint existential accuracy falls to 80.95%, a reported change of -6.00%. The sound stays available in the main and musical encoders. The removal deprives the answer predictor of the detector's explicit features for locations and objects. The result indicates that those visual details contribute substantially even where the type label includes audio.
The type-specific values also show where the detector's contribution is less straightforward. Without it, joint comparison accuracy is 84.61%, against 82.98% with the complete system, and temporal accuracy is 83.30%, against 83.06%. The effect is concentrated in visual questions and in particular joint decisions. For the reported test questions, evidence about objects plays a different role in a counting decision than in every comparison or temporal judgment.
Inspecting the attention at the answer stage
The paper also analyzes the attention layer that combines branch outputs with the question representation. It uses scores from 0 to 1 as a measure of how much attention assigns to each output for different question types. The map averages over three runs. It shows which features receive higher weights as inputs to the answer stage. This is a different measurement from accuracy after removing an entire branch.
The main encoder's visual and audio outputs have a prominent role across question types. The local visual pathway receives substantial weight for visual questions. The audio side of the source encoder receives sizable weights for audio-related and temporal questions. The visual sides of the rhythm and source encoders generally receive comparatively small weights. These observations agree with parts of the removal results. The joint temporal drop without the source branch, for example, accords with the attention map's emphasis on its audio features for temporal questions.
The two measurements have different meanings. An attention score is conditional on the other features being available in the complete system. Removing a branch changes the set of features the system can use. The ablations test that changed setup, while the attention scores describe the weighting within the full setup. Agreement between them makes the broad patterns easier to interpret. It does not establish a numerical equivalence between a weight and the amount of accuracy that an output provides.
Limitations
Limits identified by the authors
The authors explicitly limit their experimental conclusions to the Music AVQA benchmarks. They point out that a different kind of audio scene may require different features. In a recording without musical instruments, a timeline of instrument occurrences may have little relevance to the questions. Similarly, a rule that marks substantial changes in estimated tempo is suited to certain properties of performances. A task in another domain would require deciding which changes and sources matter in that setting.
The annotation categories also depend on the dataset. Here the authors use instruments and rhythm because those characteristics are relevant to the performances and questions being studied. Reusing the approach in a new setting means finding informative properties, defining targets for them, and acquiring labels or deriving them from the inputs. The authors identify this reliance on context-specific annotations as a constraint on scalability and adaptation. They discuss self-supervised learning as one direction for discovering relevant information in new datasets with less annotation work.
These are restrictions on both the choice of targets and how they are produced. Amuse could share the broad design of interacting audio, video, and question streams with a system in another domain. The specialized branches would still depend on appropriate supervision for that domain. The paper gives evidence that the specific targets used here help on music performance questions, alongside reasons that transferring them directly could be difficult.
Limits visible in the evaluation
The rhythm labels operationalize rhythm as changes in an estimated BPM over fixed intervals. This target can capture sizable tempo changes according to the beat tracker. It gives a coarser view of time than an annotation of the individual onsets in a performance. The same issue arises for source occurrences. Segment-level presence tells the learner that a source was detected in an interval, while questions can depend on the order of events within that interval. The available temporal resolution is a property of the supervision. Other parts of Amuse can still learn clues about finer distinctions from the audio and visual inputs.
Both kinds of labels also depend on the tools that produce them. Beat-tracker estimates determine which changes cross the rhythm threshold, and the source separation procedure determines which occurrences populate the instrument timeline. The paper reports the utility of these targets through question-answering results and branch removal. It gives no independent measurement of how closely each timeline matches annotated musical events, or how performance varies when the tools miss particular instruments. The labels can be useful for the answer task even if their accuracy as complete descriptions of performances remains unmeasured.
The baseline comparison is strongest as a measurement of complete systems on the standard splits. Several changes coexist in Amuse, including early cross-modal interaction, explicit musical supervision, and the use of object features. The backbone ablation measures loss of that entire branch. The musical ablations measure loss of complete branches that combine supervision and temporal representation. Accordingly, the tables identify useful parts of the finished system while leaving several finer questions open, such as the effect of shifting a source timeline or varying how frequently the main streams exchange features.
The component analysis is reported on v1. The overall comparison on v2 shows that the full system also performs well there. A reader cannot infer the changes for a specific removal on v2 from the corresponding v1 score. In particular, the different baseline rankings for joint location illustrate that question-level comparisons depend on which test set is used. The result for the full system on each version is the evidence available for the revised set.
The averages over three runs provide the paper's recurring estimates for Amuse. The tables give no spread for the run results, so the stability of small changes is hard to judge from the reported scores. That matters for the modest increases in some categories after removing a branch. Those increases are observations in the experiment. The evidence supports a stronger conclusion for effects that are broad across categories, such as the decline upon removing the interactive encoder, than for an interpretation of every small type-specific change.
Accuracy also has a limited view of the answer process. It rewards a correct answer without demanding a correct explanation or an identified interval and instrument as evidence. The attention analysis relates internal weighting to question categories, which offers a partial account of how features are used. Attention weights and answer accuracy together still leave open whether the system relied on the same evidence a person would use in an individual clip. The paper's characterization of the final feature mappings as roughly linear therefore has a narrower evidential basis than its test accuracy claims. The reported comparison centers on the branches' performance effects and attention patterns, with linearity left without a distinct quantitative test.
What came after
The later papers that cite Amuse span audio reasoning, multimodal privacy, grounding through experience, and streaming video. The titles indicate the problems they address. The citation relationship establishes that Amuse is among the earlier works they cite, while the role of a particular Amuse component in those papers remains unspecified.
SoundMind is the closest in subject to Amuse because its focus is reasoning from audio. It uses reinforcement learning to incentivize logical reasoning in audio-language tasks. Amuse gives its musical branches direct targets about tempo changes and sources, then evaluates their effect on answers about performances. SoundMind's stated emphasis is on encouraging logical reasoning through a learning objective. The citation places it in relation to prior work on interpreting audio for questions, with the use of Amuse's musical annotations or encoders left unspecified.
Protecting Privacy with MLLMU-Bench turns to privacy in systems that process multiple kinds of input. The title identifies the benchmark and the privacy question it serves. For Amuse, a benchmark measures whether a system can extract enough from a recorded performance to answer correctly. The later benchmark takes up a different concern about what systems can retain or recover from multimodal information. Its citation records contact with the earlier performance-understanding work, with no stated transfer of the rhythm or source method.
Growing Through Experience investigates scaling episodic grounding, the connection of a system's processing to experiences organized as episodes. The relationship visible in the two subjects concerns the organization of evidence over time. Amuse attaches musical information to successive parts of a clip so it can be used to answer a question about that clip. The later paper addresses grounding through experience. How the citation enters its treatment of episodic information is unspecified.
StreamMeCo addresses long-term memory compression for efficient understanding of streaming video. Its subject is especially close to Amuse's concern with evidence distributed over time. A question about a recorded performance can depend on information from several points in the clip. In a stream, the later work's stated focus is on compressing the longer history available to an agent. The citation connects the work to earlier audiovisual understanding, while the stated subject of StreamMeCo leaves open any use of Amuse's temporal labels or interactive encoders.
Cite
Cite as Xingjian Diao, Chunhui Zhang, Tingxuan Wu, Ming Cheng, Zhongyu Ouyang, Weiyi Wu and Jiang Gui. 2024. Learning Musical Representations for Music Performance Question Answering. Findings of the Association for Computational Linguistics: EMNLP 2024.
@inproceedings{diao2024learning,
title = {{Learning Musical Representations for Music Performance Question Answering}},
author = {Xingjian Diao, Chunhui Zhang, Tingxuan Wu, Ming Cheng, Zhongyu Ouyang, Weiyi Wu and Jiang Gui},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2024},
year = {2024},
doi = {10.18653/v1/2024.findings-emnlp.159},
url = {https://doi.org/10.18653/v1/2024.findings-emnlp.159}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/diao-2024-learning-musical-representations-music-performance/