Papers
Topics
Authors
Recent
Search
2000 character limit reached

CompSlider: Optimizing Generative & Convex Models

Updated 3 July 2026
  • CompSlider is a framework of methods that enable fine-grained control over multiple attributes in generative models and efficient composite convex optimization.
  • The generative model variant uses a diffusion-transformer to jointly embed slider tokens, achieving lower entanglement (14%) and high consistency (90.9%).
  • The optimization approach alternates expensive gradient evaluations with efficient subgradient steps, offering optimal oracle complexities for composite convex problems.

CompSlider refers to several influential techniques across optimization, engineering, and generative models, where “sliding” or “slider” indicates either physical variable motion, algorithmic decoupling of computations, or fine-grained user manipulation of attributes. Notable instantiations appear in composite convex optimization, image and video generative modeling, and sliding-cable analysis. This article surveys major CompSlider methodologies, their theoretical foundations, architectures, losses, and evaluation paradigms, with detailed references to canonical works.

1. CompSlider for Multi-Attribute Control in Generative Models

The most recent development under the CompSlider name is “CompSlider: Compositional Slider for Disentangled Multiple-Attribute Image Generation” (Zhu et al., 31 Aug 2025). CompSlider here is a conditional-prior generator designed to enable reliable, simultaneous, and disentangled control over multiple semantic attributes (e.g., age, smile) in text-to-image generation, with generalization to video. Unlike methods such as ConceptSlider (Gandikota et al., 2023), which train separate adapters for each attribute—leading to attribute entanglement during composition—CompSlider jointly embeds all slider values as tokens and leverages a diffusion-transformer (DiT) to predict the conditional prior to feed a frozen backbone diffusion model.

Architecture Overview

  • Foundation: A “frozen” foundation T2I model (e.g., a CLIP-conditioned diffusion backbone) remains untouched during CompSlider training and inference.
  • Inputs: User provides
    • Text prompt xTx^{\mathcal T}, encoded to cTc^{\mathcal T}
    • NN-dimensional slider vector vS[0,1]Nv^{\mathcal S}\in[0,1]^N, embedded as NN tokens cSc^{\mathcal S}
  • DiT Conditioning: A lightweight DiT consumes noise-corrupted condition ctIc^{\mathcal I}_t, slider tokens cSc^{\mathcal S}, and text tokens cTc^{\mathcal T}, and predicts c0Ic^{\mathcal I}_0.
  • Generation: The predicted cTc^{\mathcal T}0 and cTc^{\mathcal T}1 are passed to the frozen U-Net, generating the image.

Objective Functions

Let DiTcTc^{\mathcal T}2.

  • Diffusion loss:

cTc^{\mathcal T}3

  • Disentanglement loss:

Pairs of slider settings cTc^{\mathcal T}4 are used; an auxiliary MLP predicts quantized bucketed differences, penalized by cross-entropy between predicted bucket and true difference.

  • Structure loss:

For small per-attribute changes cTc^{\mathcal T}5, enforce cTc^{\mathcal T}6 proximity between predicted conditions under cTc^{\mathcal T}7 and cTc^{\mathcal T}8.

  • Total loss:

cTc^{\mathcal T}9

Attribute Composability

Unlike vector combination or explicit addition, token-wise cross-attention in the DiT fuses all NN0 attributes, learned jointly for disentanglement. The system supports arbitrary-real-valued manipulation of each attribute in a single inference call.

Performance and Metrics

Key evaluation metrics proposed:

  • Continuity: Fraction of monotonic attribute scores (DeepFace predictivity)
  • Scope: Score change from minimum to maximum slider value
  • Consistency: Identity preservation rate (DeepFace recognition)
  • Entanglement: Fractional change in unintended attributes during single-attribute manipulation

CompSlider achieves a lower entanglement (14%) and higher consistency (90.9%) compared to ConceptSlider, with improvements in continuity and scope as well (Zhu et al., 31 Aug 2025). Human preference experiments and ablations confirm the effectiveness of incorporating both disentanglement and structure losses.

2. CompSlider in Composite Convex Optimization

CompSlider, or the Composite Sliding Method, appears as a class of algorithms for composite convex optimization. In this context, CompSlider alternates between computationally costly and cheap oracles to efficiently attain optimal rates for minimization of the form NN1, where NN2 is smooth (and possibly strongly convex) and NN3 is non-smooth or composite (Lan, 2014, Beznosikov et al., 2019, Dvinskikh et al., 2019).

CompSlider achieves optimal oracle complexities by performing expensive NN4 steps infrequently, “sliding” many inner subgradient steps for NN5 and NN6 terms, allowing total NN7 calls to be NN8 for general convex objectives and NN9 for strongly convex vS[0,1]Nv^{\mathcal S}\in[0,1]^N0, while total g/h subgradient calls scale as vS[0,1]Nv^{\mathcal S}\in[0,1]^N1 and vS[0,1]Nv^{\mathcal S}\in[0,1]^N2, respectively.

Algorithmic Structure

  • Outer loop: Occasional affine expansion using vS[0,1]Nv^{\mathcal S}\in[0,1]^N3
  • Inner (prox-sliding) loop: Many subgradient/prox/zeroth-order (for nonsmooth terms)
  • Prox-sliding subroutine structured with martingale weights vS[0,1]Nv^{\mathcal S}\in[0,1]^N4 for acceleration and variance control.

This permits stochastic extensions, high-probability guarantees, and saddle-point generalizations (Lan, 2014).

The method combines a stochastic zeroth-order oracle (ZOO) for the nonsmooth term vS[0,1]Nv^{\mathcal S}\in[0,1]^N5 and a first-order oracle for the smooth vS[0,1]Nv^{\mathcal S}\in[0,1]^N6. Convergence rates match first-order methods up to vS[0,1]Nv^{\mathcal S}\in[0,1]^N7 factors. Key elements include:

  • Spherical smoothing of the nonsmooth vS[0,1]Nv^{\mathcal S}\in[0,1]^N8 via randomized finite differences
  • Sliding/proximal steps leveraging both oracles
  • Decentralized optimization application over graphs, achieving optimal communication complexity bounds per node.

CompSlider, with Catalyst acceleration and variance-reduced inner solvers (SVRG, SAGA, Katyusha), achieves:

vS[0,1]Nv^{\mathcal S}\in[0,1]^N9

[ O\left(\sqrt{\frac{mL_g}{\mu}}\log\frac1

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 CompSlider.