In complex images, multiple objects often occlude one another or are tightly intertwined with text, decorative elements, and the background. To decompose such images into independently editable layers, models must not only accurately identify and separate adjacent foreground objects but also infer the complete shapes of occluded objects and reconstruct background regions revealed after foreground removal.
In June 2026, the 360 Artificial Intelligence Research Institute launched Reveal-Layer v1, providing dedicated hierarchical models for both natural images and poster images. In November 2026, Reveal-Layer was upgraded to v2: while unifying models for both scenarios, the base model was enhanced, and mechanisms such as alternating attention masks, multi-layer training data construction, and four-axis rotational positional encoding were introduced, focusing on optimizing foreground separation, occlusion completion, and background restoration capabilities in complex scenes.
I. Unified Product Interface: Integrated Processing for Natural Images and Poster Images
Reveal-Layer v2 integrates natural photos and poster images into a unified product experience workflow. After uploading an image, the system automatically detects separable objects and generates corresponding frames. Users can adjust, delete, or add frames according to their editing needs, and once the target area is confirmed, layer decomposition can be initiated.
The current experience page supports up to 20 frames. Users can flexibly set the level of detail for splitting based on their editing goals: for example, if only a specific product needs to be extracted, only the corresponding frame can be retained; if both the product and title need separate adjustments, independent frames can be assigned to each.
Figure 1 | Reveal-Layer v2 unified experience page. After uploading an image, users can inspect and adjust the target bounding box before initiating layer decomposition.
II. Evolution of Model Architecture: From Scene-Specific to Unified Layering
In the v1 phase, Reveal-Layer modeled layer decomposition as a diffusion generation task with region conditioning. The model takes an RGB image and a target bounding box as input, generating multiple RGBA layers. Here, the RGB image provides raw visual information, while the target box specifies the region to be decomposed; in the RGBA format, the alpha channel encodes layer opacity, allowing the separated foreground to be independently placed onto other base images.
Around this task,v1 introduced region-aware attention, occlusion-guided adapters, and related training objectives:: Region-aware attention helps the foreground focus on the target region; the occlusion-guided adapter uses image context to reconstruct occluded areas; and the training objectives constrain transparent boundaries and suppress residual artifacts between layers.
Building upon the upgraded base model, v2 incorporates both natural images and poster images into a unified hierarchical model. Whether objects in natural scenes or products, titles, and decorative elements in posters, they can all be processed using this single model. Regarding the organization of model information,v2 organizes conditional maps, backgrounds, and different foregrounds into separate token groups. It uses bounding boxes to constrain foreground reading positions relative to the original image and jointly generates each layer.For mutually occluding objects in natural images, as well as closely adjacent visual elements in posters, splitting targets can be specified through regional constraints.
From v1's scene-specific models to v2's unified hierarchical model, the upgrade is reflected not only in the unification of application scenarios but also in adjustments to foreground information interaction methods, training data construction, and spatial position encoding mechanisms.
III. Core Technology Upgrade
Upgrade 1: Alternating Attention Masking, Reducing Foreground Layer Propagation While Preserving Occlusion Relationships
When multiple objects are positioned very close to one another, isolating a single object may cause its edges to blend with the colors or contours of adjacent objects. However, completely isolating different foregrounds could result in losing contextual information necessary for inferring occlusion relationships. To address this, v2 alternates between two types of attention masks in the odd and even Transformer blocks, striking a balance between foreground information interaction and feature isolation.
1) Even blocks: Allow different foregrounds to directly attend to each other. This preserves information exchange among different foregrounds, enabling the model to leverage context across distinct objects and model occlusion relationships.
2) Odd blocks: Block direct mutual attention among different foregrounds. This encourages each foreground to rely more on its own features, reducing feature interference from neighboring objects.
Additionally, both types of network blocks constrain the receptive field of the foreground readout conditional map, opening only the locations corresponding to their respective object boxes while blocking direct foreground reads from background tokens. Meanwhile, the background retains access to both the foreground and the conditional map, preserving global context for completing the background after removing the object. By alternately adjusting information exchange rules among foreground elements while maintaining background access to the foreground and conditional map, the model strikes a balance between isolating foreground features and modeling occlusion relationships, aiming to reduce foreground carryover and background residue.
Figure 2 | Alternating attention mask. Orange indicates foreground mutual reads enabled in even-numbered blocks, while striped patterns indicate that the foreground can only read locations in the conditional map corresponding to object boxes.
Upgrade Two: Multi-layer training data to enhance decomposition capabilities in complex scenes
When an image simultaneously contains multiple subjects, captions, and decorative elements, object boxes may be adjacent or overlapping. As the number of objects increases, the model must handle spatial relationships among more foreground elements concurrently.
For scenarios with a high number of layers, v2 uses foreground assets with alpha channels to perform multi-layer compositing, constructing training samples exceeding 10 layers. During the compositing process, both the individual layered assets and the final composite image are retained, enabling the model to learn how to recover multiple independent layers from a single flattened image.
Through multi-layer compositing, training samples can cover more object combinations and complex layouts, enhancing the model's ability to learn multi-layer scenes.
It should be noted that,The statement about exceeding 10 layers refers to how training samples are constructed and is not equivalent to the product's externally stated maximum number of output layers per inference.
Upgrade Three: Four-axis rotational positional encoding, optimizing spatial position representation across multiple layers
In multi-layer decomposition tasks, the model must not only handle different foregrounds but also precisely determine the spatial positions of each layer within the original canvas, as well as the content types represented by different tokens.
Regarding positional encoding,v2 uses four-axis rotation positional encoding (RoPE).
Specifically, the horizontal and vertical coordinates of image tokens retain the original canvas coordinates, allowing conditional images to share the same spatial reference as each layer; an additional axis is used to distinguish roles such as conditional images, backgrounds, and foregrounds. All foregrounds share the same foreground coordinate marking, with correspondences established via their respective bounding boxes and token groupings.
By employing unified canvas coordinates and role markings, when the model processes multiple foregrounds jointly on a single image, it can locate individual targets by combining bounding boxes with token groupings.
IV. Typical Scenario Results: From Layer Decomposition to Asset Reuse
Scenario 1: Foreground Separation, Occlusion Completion, and Background Restoration in Complex Posters
In the e-commerce poster example below, Reveal-Layer yields seven independent foregrounds and one completed background in a single decomposition.
For the three water kettles partially occluding each other, two lines of text, and other decorative elements in the image, the model generates corresponding layers separately. Specifically, the right-side outline of the blue kettle obscured by the yellow kettle is completed. After removing the selected foreground, the model also restores the background texture of the tabletop and the edge of the pedestal that were originally hidden.
With this decomposition result, products, text, and decorative elements can be used as independent layers, allowing designers to move items individually, adjust text positions, or reuse the completed background.
Figure 3 | Actual decomposition results of a multi-layer poster. Seven independent foregrounds and one completed background are generated at once, with checkerboard patterns indicating transparent areas of foreground layers.
Scenario 2: Single-layer decomposition followed by five rounds of editing enables design asset reuse.
The value of layer decomposition lies not only in breaking down a single image but also in transforming visual elements that were previously impossible to edit independently into reusable assets.
In another skincare product poster example, the designer imports the extracted product layer and background layer into the editor and completes five consecutive rounds of editing based on the same set of layered assets:
Product enlargement: Retain the original title and selling points, and enlarge the main product image.
Background replacement: Replace the background with light green.
Product adjustment: Keep the current copy and background, and readjust the product placement.
Copy update: Maintain the overall layout, update the title and selling points, and save the initial version.
New product extension: Use the existing base color and layout, insert a newly created dropper bottle asset, and generate a new product version.
Among these, the extracted product and background layers are continuously reused; text modifications are carried out via newly created text objects in the editor, while the dropper bottle is introduced as new material. Through layer decomposition, designers can continuously replace products, adjust copy, and modify layouts while preserving existing visual assets, thereby reducing repetitive production costs.
Figure 4 | Five rounds of editing completed based on the same set of layered assets. Text modifications were made using newly created text objects in the editor, and the dropper bottle was added as new material.
V. Start experiencing Reveal-Layer v2
Start with a photo or poster that clearly shows occlusion relationships, upload an image and define the target areas to be separated to experience the new layer decomposition feature.
It is recommended to check the decomposition results from three aspects:
Foreground separation: Preview the target layer alone to see if edges pick up details from adjacent objects.
Background restoration: Hide the foreground layer to check whether previously obscured areas can seamlessly inherit surrounding textures.
Independent editing: Move a single foreground element to observe whether it can be used independently in its new position.
Reveal-Layer v2 further optimizes foreground separation, inpainting, and background restoration capabilities in complex images through upgrades such as a unified layer model, alternating attention masks, multi-layer training data, and spatial positional encoding, enabling products, text, and decorative elements within images to be converted into independently editable layers.
Further reading
Reveal-Layer Papers and Projects PageInstitute's official website, article published in June 2026