Controllable Attention for Structured Layered Video Decomposition
Paper · 2019 · Jean-Baptiste Alayrac, João Carreira, Relja Arandjelović et al.
Summary
A video can contain several overlapping scenes. A window shows objects behind the glass while also reflecting objects in front of it. A moving obstruction hides parts of an action. Even when the visible pixels belong to the same recording, different tasks may require attention to different components. “Controllable Attention for Structured Layered Video Decomposition” investigates how to separate such components into reconstructed videos and how to let an external signal choose the component of interest.
The authors distinguish two problems that are easy to confuse. Decomposition concerns recovering useful constituent videos from a mixture. Control concerns identifying which reconstructed video a request refers to. A system might separate a violin performance from a drum performance while placing them in arbitrary output positions. That is successful separation, but it does not yet provide an interface for requesting the violin. The paper uses the sound associated with a constituent video to resolve this ambiguity.
Its first contribution is the Compositional Centrifuge, abbreviated C². This architecture extends an earlier encoder–decoder called the visual centrifuge. It introduces spatial and temporal masks that gate groups of visual features, and it constructs its output videos by combining an intermediate collection of layers. These changes encourage the computation to reflect the structure of the task: different pieces of a scene can be represented separately and then assembled into complete outputs. On synthetically blended Kinetics-600 validation videos, C² achieves lower reconstruction loss than the original centrifuge and its predictor–corrector extension, including under opaque occlusions.
The controllable extension, C³, adds audio features and examines two ways of choosing an output. One forces the requested video into a designated position. The other permits arbitrary output ordering and predicts a pointer to the relevant output. Their control accuracies are comparable, but the pointer approach preserves reconstruction quality much better: its transparency reconstruction loss is 0.119, whereas fixed-position control gives 0.191. The corresponding control accuracies are 77.7% and 79.1%. An additional experiment shifts the audio in time; the relatively small deterioration suggests that semantic compatibility contributes more to selection than precise synchronization alone.
The paper also tests whether separation helps a subsequent task. A pretrained action classifier performs better on decomposed mixtures than on the mixtures directly. For transparent mixtures, C² followed by the classifier reaches 40.1% accuracy, compared with 22.1% for direct classification of the blended input. Natural-video examples show cleaner removal of reflections than the earlier centrifuge. These findings support the value of a structured decomposition and a separate selection mechanism, while leaving important limits: the numerical evaluation relies on synthetic mixtures, real-video reflection removal is assessed qualitatively, and the recovered layers are not guaranteed to correspond to uniquely identifiable physical objects.
Interesting ideas
Build the representation around the operation. A generic encoder–decoder can learn to map a mixture to several outputs, but the paper gives it explicit intermediate layers and a composition stage. This makes the desired organization part of the computation instead of an expectation placed only on training. The same principle applies when a task naturally involves entities, sources, constraints, or events: represent those units explicitly so that later operations can manipulate them.
Use selective access before reconstruction. The masks act on feature groups before the decoder reconstructs videos. This allows different portions of the representation to emphasize different evidence across space and time. The reusable idea is to organize access to evidence early, particularly when a target is visible only intermittently. In document processing or event analysis, an analogous mechanism could retain the passages or observations that reveal a component most clearly.
Separate finding alternatives from choosing one. Recovering plausible components and selecting the requested component require different evidence. C³ allows audio to influence the processing, but its pointer also makes the final selection an explicit output. This separation is useful in search, parsing, and diagnosis, where a system may generate good alternatives without knowing which one a user intends.
Allow flexible internal ordering. Requiring a particular answer to occupy a predetermined position can interfere with how a system organizes its work. The internal-prediction strategy instead learns where the desired answer has appeared. An analogous interface can preserve the freedom of a candidate generator while supplying a stable way to retrieve the relevant candidate. The paper’s comparison makes this a measurable design choice rather than an aesthetic preference.
Protect the primary task from an auxiliary shortcut. The pointer learns to estimate reconstruction error, but its training signal cannot modify the reconstructed videos through that estimation target. This prevents selection from becoming easier merely because reconstruction becomes worse. The broader lesson is to inspect dependencies between objectives: an assessor, selector, or confidence component should not improve its own score by damaging the object it is supposed to assess.
Generate supervision through a known transformation. Combining independent videos produces both a difficult input and known constituent targets. This is useful when naturally occurring examples are hard to annotate. The approach transfers to any domain in which a controlled transformation can obscure, mix, or rearrange known material. Its value depends on testing whether that transformation captures the difficulties that matter outside the generated examples.
Evaluate components, control, and usefulness separately. The paper measures reconstruction, requested-output selection, and downstream action recognition. It also perturbs audio timing to investigate what selection relies on. These measurements answer different questions and expose different failures. Similar evaluation designs can distinguish whether a system lacks the right representation, chooses the wrong interpretation, or produces an output that is accurate locally but unhelpful to the next stage.
Deep dive: Controllable Attention for Structured Layered Video Decomposition
How controllable video decomposition separates reflections and occlusions, uses sound to select a layer, and improves action recognition. · about 37 minutes to read
How Mova uses it
Mova is a small, transparent language system written in Rust. Its native pipeline turns text into dependency structures, frames, and a maintained world, while its operational tools handle explicitly configured tasks. The connections below concern transferable design and evaluation ideas. The available evidence does not establish an implementation of this paper’s video architecture in Mova or an improvement caused by borrowing it. Each status mark describes a proposed relationship to documented mechanisms; the evidence is incomplete, and each proposed transfer still needs its own measurement.
Idea: Make intermediate components explicit. Where: Section 3.1, the layer generator and composition module. Area: representation. Mova: частково є (native frames and worlds; source-bound groupants). Mova already represents events, entities, and structured descriptions instead of relying only on a final answer. The proposed extension is to require a task decomposition to name its independently inspectable components and the rule that combines them. Why Mova: this could make failures easier to locate when individual observations are sound but their combination is wrong.
Idea: Select evidence before producing an answer. Where: Section 3.1, encoder masking. Area: information retrieval. Mova: частково є (the fast reader’s question-to-frame alignment and the mice’s attention terms). A rule-based analogue could select relevant frames before answer construction while retaining the rejected evidence for diagnosis. The paper does not establish that visual masks transfer to text. Why Mova: an explicit evidence selector could reduce interference from unrelated passages without obscuring which observations supported the result.
Idea: Preserve observations from informative moments. Where: Section 3.1, the discussion of visibility opportunities and temporary obstruction. Area: discourse analysis. Mova: частково є (world state and retained document graphs). A document reader could preserve a clear introduction of an entity or relation and consult it when later wording is incomplete or ambiguous. This would require provenance-aware updating instead of copying a video-tracking procedure. Why Mova: later omissions should not erase earlier evidence, while later contradictions must remain detectable.
Idea: Partition attention economically. Where: Section 3.1, mutually exclusive feature-channel groups. Area: efficient computation. Mova: частково є (mice share a document parse and retained graph). The comparable proposal is to assign bounded evidence views to specialists rather than duplicate every observation and every check for every specialist. The existing shared graph supplies part of that arrangement. Why Mova: the useful resource lesson is selective specialization over common data, with explicit accounting for omitted evidence.
Idea: Separate internal components from final answers. Where: Section 3.1 and Figure 2, intermediate layers combined into output videos. Area: compositional reasoning. Mova: частково є (groupants, mathematical steps, and typed correspondences). A reusable observation need not itself be a complete answer. Mova could record which intermediate claims contributed to each answer and under which compatibility conditions they were combined. Why Mova: this would support reuse and diagnosis while preventing a convenient intermediate representation from being mistaken for a verified conclusion.
Idea: Keep candidate discovery separate from candidate choice. Where: Sections 3.2–3.3, internal prediction control. Area: ambiguity resolution. Mova: частково є (sense selection, routed domains, and mathematical candidate judgments). A parser or task reader could retain admissible alternatives while a separate component uses the current question or configured context to select among them. Why Mova: an incorrect selection should be distinguishable from a failure to generate the right interpretation at all.
Idea: Use external context to resolve interchangeable outputs. Where: Section 3.2, audio as a control signal. Area: task understanding. Mova: частково є (the native deputy resolves configured capabilities using deployment context and aliases). A corresponding logical interface could accept a typed referent or task constraint alongside a set of interpretations. Why Mova: external context can identify the intended candidate without requiring output positions or surface wording to carry permanent meaning.
Idea: Prefer a pointer over a fixed output position when appropriate. Where: Section 3.2 and Table 2, deterministic control versus internal prediction. Area: interface design. Mova: нове. A proposed experiment would compare forcing a requested analysis into a designated slot with returning stable candidate identities plus a selected identity. The digest does not establish this exact comparison, so novelty remains provisional. Why Mova: a stable selection interface could preserve internal flexibility while making results dependable for callers.
Idea: Protect primary outputs from selector incentives. Where: Section 3.3, the stop-gradient operation in the regression loss. Area: learning architecture. Mova: частково є (review-only consultant notes, separate admission gates, and teacher-separated assessment). Mova’s logical analogue is an authority boundary: a selector may inspect candidates but must not silently alter their evidence to make selection easier. Why Mova: separating these permissions helps ensure that an improved selector score reflects better judgment rather than changed ground truth.
Idea: Estimate candidate quality explicitly. Where: Section 3.3, the regressor’s predicted dissimilarities. Area: confidence estimation. Mova: частково є (pragmatic confidence evaluation and mathematical candidate judging). A rule-based or statistical selector could predict a declared error or compatibility criterion for each candidate. Such estimates would need held-out calibration. Why Mova: scores tied to a named target are easier to audit than an unexplained confidence value.
Idea: Generate difficult examples from known components. Where: Section 3.3, synthetic video mixing. Area: data preparation. Mova: частково є (owned fixtures, contrast sets, and bounded corpus-enrichment proposals). A text analogue could combine independently understood passages while preserving their original frame identities. Why Mova: known components provide reference structure for diagnosing interference, provided generated mixtures remain separate from untouched assessment material.
Idea: Distinguish overlap from missing evidence. Where: Section 3.3, transparent and occlusion blending. Area: evaluation design. Mova: нове. A proposed benchmark would contrast inputs containing competing visible claims with inputs where decisive evidence has been withheld. This exact paired design is not documented in the digest. Why Mova: interference and absence require different responses; the former may permit selection, while the latter may require a gap report or abstention.
Idea: Match synthetic corruption to the intended deployment. Where: Section 5, proposed use of supervised segmentations for more natural occlusions. Area: data validity. Mova: частково є (source-bound corpus preparation and explicit restrictions on evidence admission). Artificially mixed text should be compared with naturally ambiguous documents before it guides deployed rules. Why Mova: success on convenient generated examples can otherwise reward a capability that rarely addresses actual reading failures.
Idea: Treat known targets as valid rather than necessarily unique. Where: Section 3.3, the constructed constituent decomposition. Area: evaluation semantics. Mova: частково є (typed correspondences and declared conformance profiles in groupants). Mova could distinguish an accepted reference analysis from a claim that no alternative analysis is possible. Why Mova: this distinction matters when paraphrases, attachment choices, or equivalent mathematical derivations express the same supported conclusion.
Idea: Evaluate unordered alternatives without penalizing renaming. Where: Section 3.3, permutation-invariant reconstruction loss. Area: evaluation mathematics. Mova: нове. A proposed evaluator could match generated entities or candidate analyses to references independently of arbitrary identifiers, while still checking their relations. The digest does not establish an equivalent matching procedure. Why Mova: arbitrary ordering should not count as a semantic error when the task permits interchangeable output identities.
Idea: Measure selection independently of candidate quality. Where: Section 4.1 and Table 2, control accuracy alongside reconstruction loss. Area: evaluation. Mova: частково є (fast-reader miss classification and confidence analysis). A task reader could report whether a correct candidate was available and whether its selector chose that candidate. Why Mova: the resulting distinction would indicate whether work should focus on reading, candidate generation, contextual resolution, or the final selector.
Idea: Test whether a control input affects construction or only choice. Where: Appendix C, reconstruction loss under shifted audio. Area: causal analysis. Mova: нове. A proposed test would hold a document fixed while changing a legitimate question cue, then inspect both the retained observations and the selected answer. Why Mova: a request should redirect attention without rewriting source facts, and this test could expose accidental coupling between those operations.
Idea: Perturb a cue to identify what it contributes. Where: Appendix C and Figure 10, audio-offset analysis. Area: controlled experiments. Mova: частково є (negative controls and permuted-confidence evaluation). Mova could deliberately mismatch selected contextual fields while retaining others, then measure which decisions change. Why Mova: targeted perturbation can distinguish dependence on the intended evidence from dependence on an incidental correlation.
Idea: Report tolerance rules as part of a metric. Where: Section 4.1, the reconstruction-based control criterion. Area: statistics and evaluation. Mova: частково є (explicit matching criteria, benchmark controls, and correspondence profiles). If several answers are nearly equivalent, an evaluator should declare how equivalence or tolerance is determined. Why Mova: a success rate is interpretable only when its acceptance boundary is visible.
Idea: Include a no-operation baseline. Where: Table 1, Identity returns the mixed input. Area: evaluation controls. Mova: частково є (negative controls and unchanged-reference comparisons). An enrichment or repair tool could be compared with preserving its original input under the same scoring procedure. Why Mova: a sophisticated transformation should demonstrate value beyond simply retaining existing evidence.
Idea: Isolate architectural changes through ablation. Where: Section 4.1 and Table 1, C² without masking. Area: experimental design. Mova: вже є (rule switches, frozen-input comparisons, and dated ablations in the application ledger). The paper supplies another example of testing a proposed mechanism separately from the full system. Why Mova: controlled removal helps identify whether gains arise from the intended rule, another change, or their interaction.
Idea: Report resource size with quality. Where: Table 1, parameter counts beside reconstruction losses. Area: efficiency evaluation. Mova: частково є (job estimates, measured resource logs, and bounded dictionary-index measurements). For native mechanisms, appropriate resources include memory, latency, and work performed rather than parameter count alone. Why Mova: a more elaborate method should justify its operational cost under the same task conditions.
Idea: Use local fidelity and relational fidelity together. Where: Section 4, reconstruction loss combines pixel and spatial-gradient discrepancies. Area: structured evaluation. Mova: частково є (tree agreement checks heads, relations, tags, and structural validity). A transferred principle is to inspect both individual annotations and their relationships, rather than optimize only a final answer count. Why Mova: locally plausible labels can still form an incoherent tree or unsupported chain of reasoning.
Idea: Validate usefulness through a downstream task. Where: Section 4.3 and Table 3, action recognition after decomposition. Area: system evaluation. Mova: вже є (parser-to-reader and world benchmarks, with regression gates on shared knowledge changes). A dictionary or parsing improvement should also be checked where readers use it. Why Mova: a cleaner intermediate representation is valuable only if it preserves or improves the behavior that depends on it.
Idea: Retain an unobstructed reference condition. Where: Table 3, classification of pure videos. Area: evaluation diagnosis. Mova: частково є (gold-token, gold-tree, and native-input evaluations). A comparable reader test could contrast a complete, unambiguous source with a corrupted or ambiguous version. Why Mova: the clean condition helps separate a weak underlying solver from damage introduced by the difficult input.
Idea: Adapt the target to what the input contains. Where: Section 4.3, different action-recognition targets for transparency and occlusion. Area: benchmark design. Mova: частково є (explicit gap handling and source-bound answer checks). If a test hides decisive evidence, its expected behavior should reflect that loss rather than demand unsupported reconstruction. Why Mova: assessments should reward justified answers and justified uncertainty under the actual information available.
Idea: Inspect intermediate contributions. Where: Section 4.2 and Figure 6, visualization of coefficient-weighted layers. Area: interpretability. Mova: вже є (rules, reasons, provenance, traces, and explicit intermediate frames). The corresponding practice is to show how each retained observation contributes to the final conclusion. Why Mova: an understandable answer requires an inspectable path from evidence to result, not just an attractive representation.
Idea: Examine contamination between components. Where: Figures 8–9, reflection leakage in reconstructed videos. Area: provenance and discourse. Mova: частково є (typed evidential information and gates that keep reported content distinct from assertion). A text reader could explicitly test whether a claim migrates from one speaker, document, or epistemic status into another. Why Mova: accurate words attached to the wrong source can produce a false conclusion even when extraction itself appears successful.
Idea: Analyze plausible mistakes. Where: Section 4.2 and Figure 7, the ambiguous liquid-sound example. Area: error analysis. Mova: частково є (reader miss categories, gaps, and native failure records). Mova could distinguish errors caused by missing rules from decisions where the admitted evidence genuinely supports competing candidates. Why Mova: these cases call for different remedies, and ambiguity should not automatically trigger an unjustified rule change.
Idea: Evaluate continued focus separately from switching. Where: Section 2, the distinction between consistency and controllability. Area: dialogue and task execution. Mova: частково є (persistent world state and configured native task handling). A proposed evaluation would test both maintaining the same referent through intervening material and switching when an explicit request changes the target. Why Mova: persistence alone can become stubbornness, while easy switching can become unstable reference tracking.
Idea: Align unlike evidence before combining it. Where: Section 3.2 and Figure 3, audio–visual feature alignment. Area: data integration. Mova: частково є (source/version identities, sentence-aligned dictionary counterparts, and typed correspondences). A logical analogue would require explicit mappings between document positions, entities, and evidence units before joint reasoning. Why Mova: shared availability does not establish that observations describe the same event or license the same conclusion.
Idea: Respect the authority of a guiding cue. Where: Sections 3.2–3.3, audio identifies a requested visual source. Area: epistemic reasoning. Mova: частково є (reported and inferred frame status; source-bound admission). A contextual hint could guide which evidence is examined without becoming proof of the selected claim. Why Mova: control information and factual support play different roles, especially when a cue is ambiguous or unreliable.
The problem and its context
The paper begins from the observation that a scene can support several useful interpretations at once. Someone facing a mirror may inspect marks on its surface, then attend to a reflected face, then notice another person through a sound. The recorded image need not change for the relevant target to change. A practical vision system therefore needs both a representation that can separate components and a way of directing attention among them.
Layers provide a convenient language for this problem. In an additive account, separate visual contributions combine into the observed image, as with a reflection superimposed on a transmitted view. In an occlusion account, opaque components cover others according to their ordering. Different composition rules can describe different phenomena, including transparency, shadows, and obstructions. The appeal is not that every physical process obeys the same simple equation, but that a common component-based representation can support several tasks.
The authors place this proposal within a long line of layered image and video representations. Their discussion connects layers with motion segmentation, approximate depth relationships, reflection separation, and transparency handling. The paper also refers to haze as another setting in which component-based descriptions have been explored. This background motivates layers as a useful representational choice rather than a newly invented concept.
The immediate computational starting point is the visual centrifuge. That earlier approach uses an encoder–decoder to turn a blended video into several reconstructed videos. Its outputs have no intrinsic ordering: either constituent could appear in either position. Training handles this with a permutation-invariant objective, which rewards the best assignment between outputs and known sources.
That solution addresses a training problem but leaves a user-interface problem. If the system recovers multiple sources, how should a caller request one of them? Hard-coding a particular source type into an output position restricts the representation. Leaving the outputs unordered requires another mechanism to identify the desired one. The present paper treats that identification as a central part of controllable attention.
The authors distinguish this goal from common uses of attention in other tasks. They cite attention in machine translation, including Neural Machine Translation by Jointly Learning to Align and Translate and Attention Is All You Need. They also cite visual attention in Show, Attend and Tell. In their account, such mechanisms often serve an end task whose score supplies the main evaluation. Here, attention itself is examined through the ability to preserve a target and to change targets when directed.
The paper calls these properties consistency and controllability. Consistency concerns keeping attention on the same intended component. Controllability concerns changing the selected component in response to a cue. The experiments operationalize the latter through output selection. This is feature-oriented, covert attention: the method changes what it reconstructs or selects instead of moving a camera or controlling an observer’s gaze.
Audio offers a natural cue because it accompanies many videos and can be related to their visible content. That relationship may involve close synchronization, as when an impact coincides with a visible movement. It may also be broader: a type of background sound can distinguish the environment of one scene from another. Either kind of relationship could help identify which source a request concerns.
The direction of control is significant. The related-work discussion describes systems in which vision helps isolate audio, including speakers and musical instruments. The present task reverses that relationship by using sound to choose visual content. The authors also distinguish their work from sound-source localization methods: identifying where a sound originates does not itself reconstruct a separated video or remove a transparent reflection.
Other cited examples show that cross-modal control is broader than audio and vision. Language can guide the localization of a video moment, titles can guide summarization, and spoken words can support object localization. The paper also lists image–text alignment, including Deep Visual-Semantic Alignments for Generating Image Descriptions. These connections establish a general setting in which one information source directs processing of another. The technical contribution here is a particular layered reconstruction architecture and its audio-controlled selection procedure.
The method, step by step
Start with a mixture and produce several candidate videos
The input is a short RGB video. Its axes describe time, horizontal position, vertical position, and color. The network produces several videos with the same temporal and spatial dimensions as the input. These outputs are candidate reconstructions of constituent sources.
The paper uses V for the input video, T for its frame count, W and H for frame width and height, and n for the number of output videos. Each output Oᵢ has the same shape as V. Producing several outputs matters because a mixture may admit several useful components and because the system need not commit to a single reconstruction before a control cue has been interpreted.
The overall architecture has a visual encoder, mechanisms that organize its features, and a decoder. C² adds an explicit component structure to the earlier visual centrifuge. C³ then adds audio-conditioned processing and a mechanism for selecting the requested output.
From a mixed video to a selected reconstruction
The steps in order.
The audio stages belong to the controllable extension. C² performs layered decomposition without needing an audio request. This distinction is useful when interpreting the experiments: the architecture comparison, control comparison, and downstream action-recognition study do not all test the same configuration.
Encode the video with a structured encoder–decoder
The underlying encoder–decoder follows the broad form of U-Net. The visual encoder is I3D, while the decoder uses stacked three-dimensional up-convolutions. Three-dimensional processing includes time as well as the spatial axes, allowing reconstruction to use evidence distributed across frames.
The earlier centrifuge already uses this general arrangement. The authors’ argument is that a generic architecture does not sufficiently express the specific structure of layered separation. C² therefore changes both the features supplied to the decoder and the way the decoder constructs its outputs.
The encoder modification follows an intuitive observation about occlusion. A component may be clear at some places or times and obscured at others. A useful representation should exploit the informative observations rather than treat every location as equally helpful for every component. The proposed masks provide a learnable mechanism for such selective use.
A mask generator produces m masks over the video’s spatial and temporal extent. Each mask value lies within the permitted interval from 0 to 1. A softmax across mask channels makes their values sum to 1 at each location. As a result, the masks provide competing allocations of attention across the represented scene.
The implementation does not apply every mask to every feature channel. That would create a large computational and memory burden. Instead, the channels at a selected encoder level are divided into m disjoint groups. Each group receives its corresponding mask. The total number of channels must therefore be divisible by m.
For a feature level l, the operation is:
F̃Ʇ_c = MꞱ_c ⊙ FꞱ_c
Here FꞱ_c denotes the feature group indexed by c at encoder level l, with the superscript-like Ʇ serving as the level label. F̃Ʇ_c is the gated version of that group. MꞱ_c is the corresponding mask after resizing it to the feature level’s temporal and spatial dimensions. The symbol ⊙ denotes elementwise multiplication. The mask is broadcast across the channels within its feature group, so those channels share the same spatial and temporal weighting.
The important distinction is between channel specialization and full duplication. Different groups can carry differently gated information, but the architecture avoids constructing a complete masked copy of every feature for every mask. This is a specific economy in the proposed design, not evidence of a measured runtime improvement.
The masks also differ from output segmentation labels. They gate an internal representation used for reconstruction. Though the design encourages separation, a mask is not independently supervised as a named object boundary. Its usefulness is judged through the outputs produced by the complete computation.
Generate reusable layers and then compose outputs
The decoder modification makes composition explicit. Instead of directly emitting only the requested output videos, a layer generator emits intermediate videos Lⱼ and coefficients βᵢⱼ. A composition module then assembles each output from those intermediate pieces.
Oᵢ = ∑ⱼ βᵢⱼ Lⱼ
Oᵢ is output video i. Lⱼ is intermediate layer j. βᵢⱼ is the coefficient specifying how much layer j contributes to output i. The sum runs over the generated intermediate layers. The layer count m and output count n describe different parts of the architecture: internal components and final reconstructed videos.
The motivation is that an intermediate piece might describe a moving object, a reflection, or another scene contribution that can participate in a larger reconstruction. This makes the final output a composition of available pieces instead of an unconstrained direct prediction.
The formula alone does not guarantee a physically unique interpretation. Different internal layers and coefficients can produce similar outputs. What it supplies is an architectural preference for reusable components. The qualitative analysis later checks whether the learned contributions resemble source-specific pieces.
It is also important not to confuse the two kinds of masking in the paper. Encoder masks gate features. The training mixture mask determines which source pixels enter the synthetic input. The composition coefficients combine generated layers into outputs. These quantities play different roles even though they all regulate contributions.
Turn audio into an aligned control representation
For C³, the selected source’s audio is an additional input. The authors compute a logarithmic spectrogram from the waveform and process it with a VGG-like network. The spectrogram expresses sound over time and frequency in an image-like representation. The audio network is learned jointly with the visual decomposition system rather than supplied as a separately trained fixed component.
Audio and visual features cannot simply be concatenated in their original forms. Their temporal sampling differs, and their axes describe different things. The visual tensor includes spatial dimensions, whereas the audio representation includes frequency.
The fusion procedure resolves these incompatibilities explicitly. It averages the audio representation over frequency, samples its temporal features to match the visual feature sequence, and broadcasts the result across visual spatial locations. Concatenation along the feature-channel axis then becomes possible.
Broadcasting means that the same time-aligned audio feature is available at different visual locations. It does not itself identify a sound’s location. The subsequent processing must learn how that information relates to the visual representation.
This design permits both narrow and broad audio–visual correspondences. The audio could help identify visible movements that occur at related times, or it could signal a semantic category associated with one constituent scene. The later timing perturbation investigates which kind of information appears more influential.
Choose between fixed-position and pointer control
The first control strategy assigns a permanent role to the initial output slot. When the audio comes from V₁, the network must put its reconstruction of V₁ into O₁. The other source is assigned to O₂. This makes the external interface straightforward because the requested result always occupies the same position.
The authors question whether this convenience imposes an unnecessary internal burden. The network might otherwise organize certain visual content into a habitual output position. Requiring that organization to change whenever a different audio cue is supplied could make reconstruction harder.
The alternative, internal prediction, leaves output ordering free. A separate regressor produces a score for each reconstructed video. The score estimates how dissimilar that output is from the video associated with the control audio.
c = arg minᵢ sᵢ
The index c identifies the selected output. Each sᵢ is the predicted dissimilarity for output i, and arg min returns the index with the smallest predicted value. The selected video is therefore O_c. This is a pointer to an existing output, not a requirement that the requested content occupy a particular position.
Both strategies use the control cue in the larger architecture. Their difference concerns the contract governing final output identity and the corresponding training objective. The experiment can therefore ask whether fixed placement helps control at an unacceptable reconstruction cost.
Construct supervised mixtures
Naturally occurring videos with exact constituent-layer targets are difficult to obtain. The paper instead starts from independent real videos and constructs their mixture. This provides direct access to the source videos used to create the input.
V = α ⊙ V₁ + (1 − α) ⊙ V₂
V is the synthesized input. V₁ and V₂ are source clips with matching dimensions. The composition mask α varies over time and spatial position, while its value is broadcast across RGB channels. Elementwise multiplication is again denoted by ⊙.
For transparent blending, the mask is constant and weights the sources equally. Both videos contribute throughout the input. This creates a separation problem in which the sources overlap visibly rather than hide one another completely.
For occlusion blending, the mask takes binary values. The authors extract spatiotemporal SLIC superpixels from V₁ and choose a superpixel randomly. Inside that region, the mixture contains V₁; elsewhere it contains V₂. This creates opaque regions instead of a uniform transparent overlay.
These constructions test different difficulties. Transparent blending requires disentangling simultaneous contributions. Occlusion blending additionally requires reconstruction of content absent from parts of the observed input. The full source clips remain available as targets, but the visible evidence is less complete.
The constructed sources provide a valid reference decomposition. They do not establish that the inverse problem has only one acceptable solution, especially in hidden regions. That distinction becomes important when interpreting reconstruction error as evidence of scene understanding.
Train decomposition without assigning permanent identities
When there is no control requirement, the reference sources have no predetermined correspondence with output positions. The loss therefore chooses the best pair of distinct outputs.
L_pil({V₁, V₂}, O) = minᵢ,ⱼ:ᵢ≠ⱼ [ℓ(V₁, Oᵢ) + ℓ(V₂, Oⱼ)]
L_pil is the permutation-invariant reconstruction objective. The reference set contains V₁ and V₂. O denotes the available outputs, and ℓ measures the discrepancy between a reference video and a reconstruction. The minimization considers distinct indices i and j, preventing the same output from being used as both source reconstructions.
This permits more candidate outputs than reference sources. Only the best assignment to the known constituents contributes through this matching rule. The architecture comparison uses n = 4 output videos.
The fixed-position control objective removes that matching freedom:
L_det({V₁, V₂}, O) = ℓ(V₁, O₁) + ℓ(V₂, O₂)
L_det is the deterministic-control loss. V₁ is the source associated with the supplied audio, so O₁ must reconstruct it. O₂ must reconstruct V₂. As defined in the paper, this strategy requires n = 2.
The internal-prediction strategy retains the permutation-invariant objective for reconstruction. Its additional task is learning the dissimilarity scores used by the pointer.
L_reg(V₁, s) = ∑ᵢ |sᵢ − ℓ(V₁, sg(Oᵢ))|
L_reg is the pointer’s regression objective. The vector s contains its predicted dissimilarities. The quantity ℓ(V₁, sg(Oᵢ)) is the measured reconstruction discrepancy between the requested source and candidate i. The absolute-value expression penalizes disagreement between the prediction and that measured target. The operator sg stops gradients from propagating through the output used in the regression target.
This stop-gradient boundary is central to the design. Without it, the regression objective could influence the reconstructed videos in ways that simplify score prediction. The authors want the pointer to learn which video is appropriate, while reconstruction quality remains governed by the reconstruction objective. The boundary prevents this particular feedback path.
Define reconstruction quality and training settings
The reconstruction loss combines direct frame differences with differences between spatial gradients.
ℓ(U, V) = (1 / 2T) ∑ₜ [‖Uₜ − Vₜ‖₁ + ‖∇(Uₜ) − ∇(Vₜ)‖₁]
U and V are the videos being compared. Uₜ and Vₜ are their frames at time t. T is the frame count. The notation ‖·‖₁ denotes the L1 norm, and ∇ denotes a spatial-gradient operation. The first term measures pixel disagreement; the second measures disagreement in spatial changes, including boundary structure. The factor outside the sum normalizes the combined expression.
The training and evaluation videos come from the training and validation partitions of Kinetics-600, transformed by the mixture procedures. Training runs for 124k iterations with batches of 128, using momentum-based stochastic gradient descent.
The initial learning rate is 0.5. It is divided by 10 after 80k, 100k, and 120k iterations. Training clips contain 64 frames at 128x128 resolution. They are randomly cropped from videos whose shorter spatial dimension has been resized to 148 pixels.
These settings matter when comparing the new architecture with earlier results. The baseline is trained with longer clips than in the earlier centrifuge report: the paper explicitly contrasts 64 and 32 frames. The authors attribute a modest baseline improvement to this change, so the relevant architecture comparison is the one conducted under their current experimental conditions.
Experiments and results
Reconstruction on synthetic validation videos
The main reconstruction comparison uses blended Kinetics-600 validation clips. The systems include the original centrifuge, its predictor–corrector version, C² without encoder masking, and full C². An Identity baseline simply repeats the mixed input as its outputs. Lower loss indicates closer reconstruction according to the combined pixel-and-gradient criterion.
Kinetics-600 validation, transparent-mixture reconstruction
Explicit composition helps, and full C² gives the lowest reconstruction loss.
The numbers
| System or setting | average reconstruction loss |
|---|---|
| Identity | 0.364 |
| Centrifuge | 0.149 |
| CentrifugePC | 0.135 |
| C² without masking | 0.131 |
| C² (this paper) | 0.120 |
The transparent-mixture result shows that both the earlier separation systems and the structured variants outperform copying the input. The most useful architectural comparison is between the centrifuge, the composition-only variant, and full C². This sequence supports the claim that the proposed structure contributes beyond the original encoder–decoder.
The predictor–corrector baseline also improves on the basic centrifuge under transparent blending. Nonetheless, it does not match C². This matters because the stronger baseline is substantially larger, so the comparison is not simply against the least capable earlier configuration.
Kinetics-600 validation, occlusion-mixture reconstruction
C² handles the opaque-mixture condition better than the compared alternatives.
The numbers
| System or setting | average reconstruction loss |
|---|---|
| Identity | 0.362 |
| Centrifuge | 0.253 |
| CentrifugePC | 0.264 |
| C² without masking | 0.200 |
| C² (this paper) | 0.190 |
Occlusion changes the ranking of the earlier systems: the predictor–corrector version does not outperform the basic centrifuge in this condition. In contrast, the structured composition variant and full C² retain their advantage. This is consistent with the authors’ motivation for adding mechanisms suited to evidence that is available unevenly across a clip.
The size comparison provides another perspective. The basic centrifuge has 22.6M parameters, the predictor–corrector version has 45.4M, the C² variant without masking has 23.4M, and full C² has 27.1M. These counts describe stored trainable capacity, not measured inference speed or memory consumption. The paper does not supply a corresponding runtime comparison.
All systems in this reconstruction table use n = 4 outputs. That common output count helps make the architectural comparison interpretable. It also separates this study from deterministic control, whose defined training objective requires a different output count.
Audio-controlled selection
The control experiment uses transparent mixtures and reports reconstruction loss together with control accuracy. The uncontrolled C² reference has reconstruction loss 0.120 and control accuracy 50%, identified as chance. C³ with deterministic control has reconstruction loss 0.191 and control accuracy 79.1%. C³ with internal prediction has reconstruction loss 0.119 and control accuracy 77.7%.
These results distinguish two meanings of success. Fixed-position control is slightly stronger under the reported selection metric, while internal prediction reconstructs the sources much more faithfully. The paper therefore favors internal prediction as the better overall control design rather than claiming that it wins every reported measure.
Control accuracy is not based on an independently annotated identity for every output. The evaluator uses reconstruction error against the requested source. A selected output counts as appropriate when its error is sufficiently close to the best available output’s error.
The tolerance accounts for near-duplicate outputs when several candidates are produced. As a consequence, the reported control accuracy measures successful selection under that reconstruction-based rule. It should not be read as a separately measured rate of physically unique source identification.
Downstream action recognition
The downstream experiment asks whether reconstruction improves a practical decision task. A pretrained I3D action classifier is applied to clean videos, mixed videos, and reconstructions produced by a decomposition system. The classifier itself supplies a common downstream measurement.
For transparent mixtures, the evaluation targets the action labels of both constituents. Direct classification obtains candidate labels from the highest class scores on the mixture. After decomposition, a selected reconstructed video supplies its highest-scoring action label.
Kinetics-600 validation, transparent-mixture action recognition
Decomposition improves action recognition, with C² strongest among the mixture-processing systems.
The numbers
| System or setting | accuracy % |
|---|---|
| I3D on blended video | 22.1 |
| CentrifugePC followed by I3D | 34.4 |
| C² followed by I3D (this paper) | 40.1 |
| I3D on pure video | 59.5 |
The clean-video condition is a reference for the difficulty introduced by blending. It is not a competing mixture-removal method. The remaining gap shows that successful separation is incomplete even when it helps the classifier considerably.
The transparent-mixture scoring rule awards 1 when both desired labels are correct, 0.5 when only a single label is correct, and 0 when neither is correct. This differs from ordinary single-label top-1 classification. The clean-video reference uses standard top-1 accuracy.
The occlusion evaluation has a different target. Because the input includes only a superpixel from V₁, the authors evaluate recognition of V₂ rather than require successful classification of both source videos. Direct I3D classification gives 21.3%, the predictor–corrector pipeline gives 21.5%, and C² followed by I3D gives 24.7%. The pure-video reference is 59.5%.
For decomposed occlusion inputs, the authors use the output position in which the system tends to reconstruct V₂ consistently. This is distinct from audio-controlled selection. The downstream experiment therefore supports the usefulness of decomposition, without establishing that audio control caused the recognition improvement.
Qualitative behavior on synthetic and natural videos
The synthetic examples illustrate different reconstruction demands. Transparent mixtures can often be separated cleanly. Opaque mixtures are harder because the system must fill in source content that the input does not display. The shown results are plausible in several such cases, but they remain examples instead of a separate measure of hidden-content correctness.
The internal-layer visualizations display coefficient-weighted contributions before they are added into outputs. These contributions often concentrate on a particular source. This supports the intended compositional bias, although it does not establish that every internal layer has an independently verifiable semantic identity.
Natural-video examples address reflection removal. The authors describe less contamination between outputs than in the earlier centrifuge, including weaker reflected branches and fewer residual bright reflections. The appendix also compares against an optimization-based approach operating under restrictive geometric assumptions. These comparisons support qualitative applicability beyond synthetic mixtures, but they do not provide a numerical natural-video benchmark.
What the ablations show
Composition helps before masking is added
The architecture study contains a useful partial ablation. C² without masking retains the composition mechanism while removing encoder gating. Comparing that variant with the basic centrifuge tests the contribution of explicit composition within the reported setup.
The result favors the composition-based variant under both blending procedures. This supports a narrower conclusion than “more structure always helps”: this particular way of constructing outputs improves reconstruction on these generated validation inputs.
The study does not display every possible combination of the proposed mechanisms. In particular, the reported table does not include a masking-only configuration without the composition module. It therefore does not fully separate the independent contribution of masking from its interaction with composition.
That missing condition matters if the goal is a complete causal account of the architecture. The reported comparisons are sufficient to show that the composition-only variant improves on the baseline and that adding masking improves the composition-based system. They do not show that the same masking mechanism would help any decoder equally.
Masking adds value within the compositional architecture
The comparison between full C² and its unmasked variant is direct: both retain the layer generator and composition module, while the full version also gates feature groups. The lower losses support using this gating arrangement in the proposed architecture.
The result is consistent with the visibility-based motivation. Features gathered when a source is easier to observe can be emphasized differently from features dominated by another source. However, the experiments do not independently annotate or score “windows of visibility.” They measure the reconstruction consequences of the complete mechanism.
This distinction prevents an attractive explanation from becoming a stronger empirical claim than the evidence permits. The architecture is designed to exploit uneven observability, and its performance is compatible with that goal. The paper does not isolate every intermediate computation needed to prove exactly how that improvement arises.
Fixed output identity creates a reconstruction trade-off
The control comparison tests two different contracts between the network and its caller. One contract guarantees the requested result’s position. The other allows arbitrary positions while returning a pointer.
The findings support the authors’ concern that fixed-position control is restrictive. Its control accuracy is strong, but its reconstruction error is worse. Internal prediction obtains comparable control while retaining reconstruction behavior close to the uncontrolled system.
There is also a design difference beyond output ordering. Deterministic control is restricted to n = 2, whereas internal prediction is compatible with a larger candidate set. The reported comparison therefore concerns the complete strategies as implemented, not an experiment in which only a single assignment constraint changes.
The stop-gradient choice is explained mechanistically rather than tested through a reported ablation. The paper argues that it protects reconstruction from the pointer objective, but it does not provide a comparison that removes this boundary. Readers should distinguish that justified design argument from an experimentally measured contribution.
Shifting sound probes the control mechanism
Appendix C examines whether the pointer relies mainly on synchronized timing or broader semantic correspondence. The authors evaluate the trained internal-prediction system with varying audio offsets on the Kinetics-600 validation set.
They report that reconstruction loss is unchanged by this perturbation. Control accuracy decreases as the mismatch grows, but the largest offsets cause a decline of only 1.4 percentage points. The clips last 2.56 seconds, and an offset of 2.56 seconds removes overlap between the audio and visual intervals.
This pattern supports the interpretation that semantic audio content supplies much of the useful control information. If exact temporal alignment were the only effective cue, nonoverlapping audio would be a much more destructive intervention. The result does not identify a particular semantic representation or prove that timing is irrelevant.
Indeed, the authors note a sharper deterioration around offsets of 0.5-1s. That observation suggests some contribution from synchronization. They propose that a training curriculum could exploit this information more effectively, but the paper does not implement that proposed improvement.
Intermediate visualizations provide supporting evidence
The layer visualizations show that coefficient-weighted components can specialize towards different source videos. This is an interpretive check on the architectural intention, complementing reconstruction loss.
The selected-output examples also include a failure involving liquid sounds that fit both candidate scenes. The mistake is informative because it does not look like arbitrary output confusion. It illustrates a limit of the cue itself: a sound category can be compatible with more than a single visual source.
Together, these analyses show why examining successful outputs alone would be insufficient. Component visualizations address how reconstruction is organized; control errors address whether the external signal distinguishes the alternatives. Neither analysis substitutes for the other.
Limitations
Author-stated limits and proposed improvements
The authors explicitly acknowledge that their occlusion synthesis is not as natural as the real situations they ultimately want to handle. Their suggested next step is to construct masks from supervised segmentations rather than unsupervised superpixels. That proposal addresses the appearance and organization of generated obstructions.
This limitation affects the scope of the numerical claims. The experiments demonstrate performance on the chosen synthetic constructions. They do not establish the same ranking or accuracy under every kind of real occlusion, reflection, or transparent surface.
The paper also recognizes ambiguity and noise in audio control. Its illustrated liquid-sound failure shows that a plausible acoustic match may fit competing visual scenes. An external cue breaks symmetry only when it contains information that distinguishes the desired source sufficiently well.
The timing analysis leads to another author-stated opportunity. The system appears to exploit some synchronization information, but semantic compatibility dominates the observed behavior. The proposed curriculum for stronger use of synchronization remains future work.
Finally, the authors report a remaining action-recognition gap between reconstructed mixtures and clean videos. Decomposition helps under the evaluated conditions, but it does not restore the downstream behavior obtained from unobstructed input.
Limits visible in the experimental design
A careful reader should distinguish the breadth of the motivation from the breadth of the quantitative tests. The introduction discusses several layered phenomena, but the numerical experiments center on transparent averaging and a superpixel-based opaque mixture. These are useful controlled conditions, not an exhaustive account of image formation.
Natural-video reflection removal is presented through visual comparisons. The examples show encouraging reductions in leakage, but they do not establish an aggregate error rate, a distribution of failures, or a controlled ranking across a large real-video test collection.
The reconstruction metric also measures agreement with known source clips rather than physical correctness in every possible interpretation. Under severe occlusion, some target content is absent from the mixture. A plausible reconstruction can differ from the original hidden content, and a small aggregate loss does not prove that the system inferred every hidden event correctly.
In contrast, the constructed source videos provide an authoritative record of how the synthetic input was produced, yet their decomposition of its visible content is not necessarily the only useful one. Internal components could split a source into several parts or share information across layers. The architecture encourages compositional organization without proving unique recovery.
The internal layer examples therefore warrant a limited interpretation. They show that some learned contributions align with constituent sources. They do not establish that each internal layer always corresponds to an object, that it is causally independent of other layers, or that its identity stays stable across arbitrary videos.
Control accuracy has a specific operational meaning
The control metric uses relative reconstruction quality among available outputs. It allows a tolerance for candidates with similar errors. This makes sense for the authors’ selection problem, but it differs from a human judgment of whether a reconstructed video contains exactly the requested semantic content.
A selector could choose a reconstruction close to the best available candidate even when all candidates are imperfect. Thus control accuracy and absolute reconstruction quality must be read together. The paper’s dual reporting is valuable precisely because either measure alone can hide a failure.
Audio is also assumed to come from the desired constituent during training and evaluation. The work does not establish behavior for arbitrary spoken commands, unreliable metadata, or cues unrelated to any visible source. The architecture is described as compatible with other control signals in principle, but those alternatives are not experimentally demonstrated.
The timing perturbation narrows possible explanations without fully identifying the mechanism. Semantically related sound can remain informative after an offset, but this result does not show which acoustic categories, contextual associations, or visual features determine selection. It also does not establish that the same balance between semantics and synchronization would hold under another training procedure.
Downstream gains have bounded scope
The action-recognition experiment uses synthetic mixtures because the authors lack a dataset organized around the difficult settings they want to study. It therefore demonstrates that decomposition can improve recognition under constructed transparency and occlusion. It does not supply a measured improvement on a naturally occurring reflection-heavy action benchmark.
The two blending procedures also use different recognition targets and scoring rules. Transparent inputs are evaluated for both constituent actions, while occlusion inputs target V₂. Their accuracy columns should not be treated as identical tasks whose numerical values can be compared without qualification.
The decomposition pipelines and the direct classifier produce their predictions in different ways. Transparent-mixture classification uses high-scoring classes directly from a mixed input or top predictions from separate reconstructed videos. This is appropriate to the experiment, but it means the result concerns complete processing pipelines instead of a simple change to the classifier’s input pixels in isolation.
The clean-video reference is useful without constituting a formal ceiling. It records the classifier’s performance under the stated pure-input condition. The paper does not prove that every possible decomposition-and-recognition approach must remain below that value.
Resource and reliability evidence remains limited
Parameter counts accompany the reconstruction results, but runtime, peak memory, and deployment latency are not reported in the text. The channel grouping is motivated by computational practicality; the evidence does not justify translating that motivation into an unreported speed claim.
The reported comparisons also lack uncertainty intervals or a repeated-training variability analysis. The tables establish the outcomes of the described evaluations, while leaving uncertainty about sensitivity to training randomness and other implementation choices.
There is no comprehensive test of long-term attention persistence. The work defines consistency as a desirable property and uses temporally extended clips, but it does not provide an independent benchmark for maintaining a selected identity over arbitrarily long recordings or through repeated target changes.
These limitations do not erase the central result. They identify its proper scale: a structured architecture improves separation in controlled video mixtures, and an audio-conditioned pointer provides useful output selection without the reconstruction penalty of forcing a fixed requested slot.
What came after
The available record identifies no later citing studies that can support a concrete account of subsequent developments. It would therefore be unjustified to attach later architectures, benchmark improvements, or applications to this paper’s influence.
The authors themselves leave clear research directions. More realistic occlusions could be generated from supervised segmentations. Audio–visual synchronization could receive a more deliberate training curriculum. Other control signals could be explored within the general selection framework, although the experiments establish audio control only.
The paper’s demonstrated contribution remains the combination of structured reconstruction and explicit target selection. Its strongest methodological lesson is that recovering useful alternatives, identifying the requested alternative, and helping a downstream task are separate achievements. Evaluating them separately makes both the successes and the unresolved problems visible.
Cite
Cite as Jean-Baptiste Alayrac, João Carreira, Relja Arandjelović and Andrew Zisserman. 2019. Controllable Attention for Structured Layered Video Decomposition. IEEE/CVF International Conference on Computer Vision (ICCV).
@inproceedings{alayrac2019controllable,
title = {{Controllable Attention for Structured Layered Video Decomposition}},
author = {Jean-Baptiste Alayrac, João Carreira, Relja Arandjelović and Andrew Zisserman},
booktitle = {IEEE/CVF International Conference on Computer Vision (ICCV)},
year = {2019},
doi = {10.1109/iccv.2019.00583},
eprint = {1910.11306},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/iccv.2019.00583}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/alayrac-2019-controllable-attention-structured-layered-video/