arXiv:2610.41736cs.LGOct 2026

Manuscript Offprint

arXiv:2610.41736

Locality-Controlled Out-of-Distribution Guidance for Robust Regulatory DNA Sequence Design

Dabin Jeong, Marwane Bourdim, Mo Lotfollahi

Abstract

Designing regulatory DNA sequences for targeted gene-expression control is an important challenge. Recent approaches frame this task as property-conditioned generation, where diffusion models trained on natural sequences are guided toward high predicted activity through reward-based fine-tuning or sampling-time guidance. We show that single-reward evaluation can obscure reward-hacking behavior. By decomposing evaluation into property, novelty, and plausibility, we identify an empirically underexplored region of the evaluation space in which all three objectives are satisfied, but no existing baseline succeeds. We postulate that this gap arises because prior methods treat guidance primarily as a matter of magnitude. In regulatory DNA, however, sequence grammar is spatially nonuniform: motif positions are sensitive to perturbation, while background regions allow more exploration. We therefore propose LOCOGEN by reformulating guidance as a problem of locality. LOCOGEN learns an invariant motif mask through sequence-level invariance learning to protect motif positions, while applying OOD damping only to background positions. It operates at sampling time on a frozen diffusion backbone, without retraining the backbone. Across HepG2, K562, and SK-N-SH, LOCOGEN reaches this previously underexplored region of the property–novelty–plausibility space. Code is available at https://github.com/Lotfollahi-lab/LocoGen.

1 Introduction

Diffusion models are powerful generative models used in many domains, including images, language, molecules, and biological sequences. Beyond unconditional generation, recent work increasingly focuses on property-conditioned generation, such as generating regulatory DNA sequences that optimize a target property (e.g. gene expression). These advances make diffusion models useful for de novo regulatory DNA design, where candidate sequences can be generated and tested in a lab-in-the-loop setting.

We argue that the generated candidates must satisfy three axes simultaneously: (i) high target property, (ii) novelty, and (iii) plausibility —preservation of the natural grammar of regulatory DNA (e.g. motif usage diversity/density). No single axis suffices. High property without plausibility fails to reproduce in the wet lab; high novelty without plausibility drifts off the functional manifold; high property without novelty merely reproduces the training distribution. Only when all three axes are jointly satisfied is a candidate worth its wet-lab budget.

To date, DNA sequence generative models have largely treated candidate generation as a single-objective problem: maximizing the target property. However, when evaluation is decomposed into property, novelty, and plausibility, methods that appear strong under single-axis evaluation reveal trade-offs on the remaining axes (Fig. 1B). Moreover, their apparent property gains often arise not from targeted regulatory improvement, but from distortions of regulatory motif structure, exposing a common limitation of existing guidance methods ( §5.3§5.3).

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: LOCOGEN balances property, novelty, and plausibility.

Although these methods differ in their reward-hacking mechanisms, they all control optimization through a single scalar magnitude knob (e.g. guidance scale) without specifying where in the sequence the reward should act. This is problematic because regulatory DNA grammar is positional: motif sites are highly constrained, whereas intervening background regions are more permissive. Thus, in the property–novelty–plausibility design space, current baselines fall short of the desired regime: high activity on both readouts, high novelty, and low compositional deviation. We call this unoccupied region the empty corner, and ask whether guidance can shift the empirical trade-off landscape toward it.

We propose LOCOGEN, a locality-controlled guidance method for de novo regulatory DNA generation (Fig. 1A). Rather than increasing guidance globally, LOCOGEN controls where it acts. A masked separator model identifies foreground and background positions with an invariant mask; during sampling, out-of-distribution (OOD) guidance is applied only to background positions. This generates novel sequences in permissive regions while preserving regulatory motifs, thereby improving novelty without sacrificing enhancer-like composition or functional activity.

References (26)