Papers
Topics
Authors
Recent
Search
2000 character limit reached

Decompose–Localize–Recompose Pattern

Updated 5 July 2026
  • Decompose–Localize–Recompose is a design pattern that structures complex tasks by decomposing them into elemental units, localizing relevant components, and recomposing them into effective outputs.
  • The framework adapts to various domains—from agentic workflows and visual reasoning to robotics—by using diverse representations such as symbolic, latent, and categorical formats.
  • Empirical results show that this structured intermediate representation notably improves efficiency and accuracy compared to traditional monolithic approaches.

Decompose–Localize–Recompose denotes a recurring design pattern in which a complex object, task, or computation is first factored into smaller units, then the units relevant to a particular input are selected, grounded, or routed, and finally a task-specific result is assembled from those units. Recent work instantiates this pattern under closely related names, including “decompose–recompose–decide” for cross-domain agentic workflow generation, “Decompose, Look, and Reason” for visual reasoning, “Deconstruct-Recompose” for reinforcement-learning pre-training from videos, and “collapse, copy and compress” for algebraic computation (Wang et al., 11 Feb 2026, Zhu et al., 8 Apr 2026, Wang et al., 1 Jul 2026, Egri-Nagy et al., 7 Apr 2025). Across these formulations, the framework is used to replace monolithic processing with structured intermediate representations whose composition can be adapted to new tasks, domains, or decomposition axes.

1. Conceptual organization

At its most general, the framework has three stages. Decompose introduces an intermediate basis, graph, skill inventory, atomic motion set, premise list, tag set, or typed algebraic structure. Localize determines which subset, weighting, or substructure is relevant for the current input. Recompose builds the final executable workflow, scene, action sequence, latent state, proof, or software artifact from the localized components. In cross-domain workflow generation, for example, the basis consists of reusable workflow capability bases; in open-vocabulary temporal action detection it consists of phase descriptions; in robotic manipulation it consists of atomic skill–action pairs; in graph transformation it consists of colimit components of a global state (Wang et al., 11 Feb 2026, Zhu et al., 25 Mar 2026, Zhang et al., 2 May 2026, Heindel, 2010).

The framework is not tied to one representational level. In some systems the decomposition is architectural, as with low-rank capability bases or per-object Gaussian sets. In others it is symbolic, as with scene graphs, skill sequences, or datatype/interface duals. In still others it is categorical or process-theoretic, as with semigroupoids, relational functors, pullback-stable colimits, or Linear Process Equations. Taken together, these formulations show that Decompose–Localize–Recompose is better understood as an organizational principle than as a single algorithm.

2. Forms of decomposition

The decomposition stage varies with the substrate being modeled. In agentic workflow generation, the decomposition is a library of low-rank workflow capability bases added to a frozen base LLM, with each basis parameterized as ΔBk=ckUkVk\Delta B_k = c_k U_k V_k^\top and later recomposed by task-dependent coefficients in M(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k (Wang et al., 11 Feb 2026). In text-to-3D generation, the decomposition is a scene graph G=(V,E)G=(V,E) together with object prompts tiot_i^o, edge prompts tijet_{ij}^e, and object-wise Gaussian subsets Goi\mathcal{G}_{o_i} initialized from Point-E point clouds and aligned by VLM-inferred position, scale, and orientation (Nath et al., 15 Mar 2025). In controllable image-text synthesis, the decomposition is a tag set E={Eobj,Eattr,Erel}E=\{E_{\text{obj}},E_{\text{attr}},E_{\text{rel}}\} produced by a hybrid Vision Tagging Model that combines CatLIP with Florence-large captioning and Qwen2-7B-Instruct extraction (Cao et al., 2024).

Other works decompose along temporal, motor, or linguistic axes. Cross-task robotic manipulation converts demonstrations into atomic skill–action pairs {(sk,ak)}k=1K\{(s_k,a_k)\}_{k=1}^K, where a=[ix,iy,iz,ir,ip,iy,g]a=[i_x,i_y,i_z,i_r,i_p,i_y,g] and sks_k is an atomic skill label such as Reach[obj], Move[obj], Grasp[obj], Release[obj], Insert[objM(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k0,objM(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k1], or PushobjM(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k2,objM(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k3. RL video pre-training deconstructs global motion into Atomic Actions defined by local optical-flow patches M(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k4 around tracked keypoints, then encodes them as spatiotemporal tokens (Wang et al., 1 Jul 2026). DLR decomposes a visual question into a trajectory M(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k5 of textual premises, premise-conditioned visual latents, and grounded rationales (Zhu et al., 8 Apr 2026). OV-TAD decomposes action labels into start, middle, end, and global descriptions through CoT-Prompting Semantic Decomposition (Zhu et al., 25 Mar 2026).

Formal work pushes the same idea into abstraction layers where “parts” are not neural or visual objects. Representation-independent decomposition models computation as semigroupoids with typed arrows, then separates a system into a top level induced by a surjective relational functor and a bottom level induced by the kernel M(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k6 (Egri-Nagy et al., 7 Apr 2025). Structural decomposition of reactions of graph-like objects fixes a colimit decomposition M(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k7 of a state and asks whether a global DPO transformation can be reconstructed as the colimit of local ones (Heindel, 2010). Decompositional minimisation of monolithic processes partitions the parameter vector of a Linear Process Equation into subsets M(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k8 and M(q)=M+k=1Kαk(q)ΔBkM(q) = M + \sum_{k=1}^K \alpha_k(q)\Delta B_k9, inducing component processes that each govern only part of the monolithic state (Laveaux et al., 2020).

3. Localization as routing, grounding, and selection

Localization is the stage at which a decomposition becomes input-specific. In CapFlow, the composer maps a task embedding G=(V,E)G=(V,E)0 to routing weights G=(V,E)G=(V,E)1, sharpens or diffuses them with a task-dependent temperature G=(V,E)G=(V,E)2, keeps only top-G=(V,E)G=(V,E)3 bases, and uses counterfactual capability attribution to adjust routing by each basis’s marginal contribution G=(V,E)G=(V,E)4 (Wang et al., 11 Feb 2026). In DecompDreamer, localization occurs through relation-guided optimization: joint and targeted FMD losses are applied to pairs of object Gaussian sets, and scene-aware translations G=(V,E)G=(V,E)5 correct imperfect VLM layouts (Nath et al., 15 Mar 2025). In open-vocabulary temporal action detection, localization is phase-wise and temporal: Text-infused Foreground Filtering computes similarity between snippet features and phase text embeddings, derives binary foreground masks G=(V,E)G=(V,E)6, and filters video features into phase-specific foreground representations G=(V,E)G=(V,E)7 (Zhu et al., 25 Mar 2026).

Several papers make explicit that localization need not be literal spatial cropping. In DLR, localization is premise-conditioned latent grounding: after a <premise> ... </premise> segment is generated, a visual grounder uses the hidden state at the closing premise token to extract continuous visual latents G=(V,E)G=(V,E)8 by cross-attending over the whole image, and SGLP samples on a hypersphere rather than over Euclidean magnitudes (Zhu et al., 8 Apr 2026). In CtrlSynth, localization is semantic rather than pixel-level: tags, relations, and controller policies raise or lower the influence of concepts without explicit bounding boxes or segmentation masks (Cao et al., 2024). In semigroupoid decomposition, localization is carried by hierarchical coordinates and encode/decode morphisms that “locate the repeating patterns in the compression” (Egri-Nagy et al., 7 Apr 2025).

Robotic and control-oriented systems make the same stage operational through retrieval or structured attention. Cross-task manipulation builds a task-adaptive dynamic demonstration library using visual similarity from DINOv3 and plan-based similarity from skill-sequence Jaccard scores, then augments it with a coverage-aware static library driven by IDF-weighted skill tokens (Zhang et al., 2 May 2026). RL pre-training from videos uses a Dual-Attention Encoder with Intra-Frame Attention and Inter-Frame Attention so that local motion tokens encode both spatial relations and temporal evolution before they are aggregated (Wang et al., 1 Jul 2026). The shared theme is that localization converts a reusable but overcomplete decomposition into a sparse, grounded, or context-specific working subset.

4. Recompositional operators

Recomposition assembles localized components into a usable system. In CapFlow, sparse routing weights are broadcast across adapted layers to define a task-conditioned parameter set G=(V,E)G=(V,E)9, after which the model performs standard LLM decoding and generates an executable workflow in a single pass, tiot_i^o0 (Wang et al., 11 Feb 2026). In DecompDreamer, recomposition is progressive rather than instantaneous: the optimization focus shifts from pairwise relationship modeling to object-focused refinement, with targeted edge optimization, object-view-aware FMD, negative prompts, and scene-level FMD preserving the relational scaffold while improving object quality (Nath et al., 15 Mar 2025). In OV-TAD, Adaptive Phase-wise Alignment computes per-phase class scores and then aggregates them with learned phase weights tiot_i^o1 to produce a final prediction over time (Zhu et al., 25 Mar 2026).

In reasoning systems, recomposition takes the form of text generation conditioned on localized evidence. DLR inserts premise-conditioned latent tokens between <vis_thought> ... </vis_thought> tags and then generates grounded rationales and the final answer, so that textual reasoning is repeatedly reconnected to continuous visual evidence rather than relying on a single early textual summary (Zhu et al., 8 Apr 2026). In robotic manipulation, recomposition occurs in skill space: an LLM policy receives retrieved examples of the form tiot_i^o2 and must output only low-level actions for the new task, effectively reassembling known skills into unseen action sequences without parameter updates (Zhang et al., 2 May 2026). In RL pre-training from videos, recomposition is realized by the Motion Aggregation Token and a latent dynamics model, later bridged to downstream action-conditioned dynamics by an adapter and an Action-Specific Dynamics Model (Wang et al., 1 Jul 2026).

Formal systems also define explicit recompositional operators. In representation-independent decomposition, the pinhole cascade product tiot_i^o3 recomposes a top-level abstraction and a compressed bottom-level kernel, with Theorem 4.3 establishing an injective relational functor tiot_i^o4 (Egri-Nagy et al., 7 Apr 2025). In decompositional minimisation of monolithic processes, recomposition uses communication, allow, hide, and parallel composition operators to rebuild a strongly bisimilar process from parameter-restricted components (Laveaux et al., 2020). In FOOD, recomposition is a bidirectional transformation between functional and object-oriented decompositions, so that a program can be re-expressed under the opposite decomposition axis while preserving type and semantics (Zhang et al., 2022).

5. Empirical behavior

A recurring empirical pattern is that decomposition helps when the baseline must either search globally or align globally. CapFlow’s 1-pass generator surpasses refinement systems that consume 20 iterations; PDA improves over label-level open-vocabulary alignment; DLR improves over text-only, interleaved multimodal CoT, and latent reasoning baselines; DecompDreamer improves compositional 3D generation against graph- and SDS-based baselines; CtrlSynth improves data efficiency and long-tail recognition for CLIP-style training (Wang et al., 11 Feb 2026, Zhu et al., 25 Mar 2026, Zhu et al., 8 Apr 2026, Nath et al., 15 Mar 2025, Cao et al., 2024).

Setting Representative result Citation
Cross-domain agentic workflows CapFlow (1-pass): Solve 74.19%, Exec 98.03%; AFlow (20 iter): Solve 72.93%, Exec 88.13% (Wang et al., 11 Feb 2026)
Text-to-3D generation DecompDreamer: CLIP 34.5, Pick-A-Pic 22.5, User study 54%; next best LucidDreamer 32.34, HiFA 16.9, GraphDreamer 18.3 (Nath et al., 15 Mar 2025)
Zero-shot cross-task manipulation Ours: Level-1 32.5%, Level-2 18.5%, Overall 26.4%; X-ICM: 28.6%, 16.9%, 23.5% (Zhang et al., 2 May 2026)
Vision-language reasoning DLR: V* 83.8, MathVista 67.5, MMMU-Pro 56.1, MMStar 65.2 (Zhu et al., 8 Apr 2026)
Open-vocabulary temporal action detection THUMOS14 50/50 Avg mAP: PDA 46.9, Ti-FAD 41.2; 75/25 Avg mAP: PDA 52.1, Ti-FAD 46.8 (Zhu et al., 25 Mar 2026)
Data-efficient multimodal learning CC3M zero-shot average: 27.1 vs 19.4; CC3M retrieval mean R@1: 37.1 vs 13.7 (Cao et al., 2024)

Ablation results indicate that the middle stage is usually decisive. In CapFlow, sparse top-2 or top-3 compositions outperform dense mixtures and single-basis routing, and removing CCA degrades solve rate across all domains (Wang et al., 11 Feb 2026). In DLR, removing tiot_i^o5 drops MathVista from 67.5% to 57.1%, isolating latent localization as the critical factor (Zhu et al., 8 Apr 2026). In PDA, the progression from global label alignment to CSD, then TIF, then full APA yields 40.3, 42.1, 43.6, and 46.9 Avg mAP on THUMOS14 50/50, indicating that decomposition alone is weaker than decomposition plus localization plus adaptive recomposition (Zhu et al., 25 Mar 2026). In DecompDreamer, only tiot_i^o6 yields good high-level layout but heavy object blending, while the progressive schedule yields the best balance (Nath et al., 15 Mar 2025). In cross-task manipulation, the overall score rises from 21.6% for random demos with no skill labels, to 23.3% with the Dynamic Library, to 24.9% with the Coverage-aware Library, to 26.4% with Skill-Augmented ICL (Zhang et al., 2 May 2026).

6. Formal guarantees, misconceptions, and limitations

A common misconception is that decomposition must produce explicit, human-readable modules. Several papers contradict that assumption directly. CapFlow’s learned capabilities are latent low-rank weight updates rather than explicit workflow operators (Wang et al., 11 Feb 2026). DLR localizes continuous visual latents rather than fixed patches or cropped regions (Zhu et al., 8 Apr 2026). RL pre-training from videos uses generic tracked keypoints rather than semantic joints (Wang et al., 1 Jul 2026). CtrlSynth localizes edits at the level of semantic tags and relations, not pixel masks (Cao et al., 2024). Taken together, these works show that decomposition may be parametric, latent, semantic, temporal, or categorical.

Another misconception is that recomposition is merely additive concatenation. In practice it may be sparse linear mixing, attention-based aggregation, graph-conditioned optimization, retrieval-conditioned prompting, a latent dynamics transition, a cascade product, or a type-directed program transformation. Representation-independent decomposition formalizes this through collapse, copy, and compress, with hierarchical connections used only to locate repeating patterns (Egri-Nagy et al., 7 Apr 2025). FOOD proves that its bidirectional transformation preserves type and semantics, while the monolithic-process framework proves preservation under strong bisimulation for a suitable synchronization context (Zhang et al., 2022, Laveaux et al., 2020). Structural decomposition of graph-like reactions gives soundness of colimit decomposition for arbitrary DPO transformations and an accommodated completeness theorem for a class of local decomposition problems (Heindel, 2010). These formal results establish that the topic is not confined to heuristic modularization; it also has categorical, semantic, and process-theoretic formulations with explicit correctness claims.

The limitations reported in the literature are equally consistent. CapFlow relies on a fixed operator set and workflow DSL, and attribution adds training cost even with subsampling and periodic updates (Wang et al., 11 Feb 2026). DecompDreamer remains object-level rather than part-level, and its quality is bounded by SDS/FMD limitations such as Janus artifacts and view bias (Nath et al., 15 Mar 2025). Cross-task manipulation depends on VLM skill labeling and on the planning agent tiot_i^o7, so errors in either can corrupt retrieval and recomposition (Zhang et al., 2 May 2026). DLR remains image-centric and uses a frozen external model for oracle attention in the focus reward (Zhu et al., 8 Apr 2026). DRP assumes that transferable local motion patterns exist across morphologies, an assumption that the paper argues empirically but still frames as its central premise (Wang et al., 1 Jul 2026). CtrlSynth has no explicit spatial localization and inherits errors from pretrained taggers, captioners, and diffusion models (Cao et al., 2024). In the formal papers, applicability depends on structural conditions such as accommodation, mono side conditions, or the choice of strong bisimulation and restricted OO/FP fragments (Heindel, 2010, Laveaux et al., 2020, Zhang et al., 2022).

These limitations do not define a single failure mode; they instead indicate that each stage can break independently. Decomposition can be too coarse, localization can be misgrounded, and recomposition can preserve the wrong invariants. The overall literature therefore presents Decompose–Localize–Recompose not as a universal recipe but as a disciplined way to structure search, transfer, and reconstruction across domains ranging from agentic workflows and 3D generation to robotics, video understanding, software design, algebraic computation, and graph transformation.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Decompose-Localize-Recompose.