Regressing Chromatin Domain Boundaries Below the Bin Size

Chromosomes fold into contiguous neighborhoods called topologically associating domains (TADs). A TAD is a stretch of DNA, typically hundreds of kilobases to a few megabases long, whose parts touch each other much more often than they touch the rest of the genome. Current tools find TAD boundaries by chopping the genome into fixed bins, usually 25 or 50 kilobases, and choosing which bin edges are boundaries. They use network community detection or dynamic programming on the Hi-C contact map, which is a measured matrix of how often each pair of bins touches. The answer can therefore never be more precise than the bin, and the other measurements that mark boundaries are consulted only afterward. These include the insulator protein CTCF, histone marks, and gene positions. This note proposes a different approach, borrowed from video action localization. Each genomic position predicts a continuous distance, in base pairs, to the start and end of the domain it belongs to. That prediction is informed by a network with more than one kind of node and link. The nodes are genomic bins and precisely positioned CTCF sites. The links are linear adjacency along the chromosome, measured long-range Hi-C contacts, and motif-to-bin membership.

The core bet is that two ingredients together can recover boundaries at finer resolution than the input bins, including nested and overlapping domains. The first is regression, meaning the model directly predicts offsets instead of choosing among candidate intervals. The second is a graph whose long-range edges are measured contacts rather than learned similarity. We test the bet in a supervised setting that has true continuous targets. The model sees a coarse or downsampled Hi-C map plus epigenetic tracks, and it must predict boundaries called on deep, high-resolution maps of the same cells. The note is built to be falsifiable. The strongest threat is a plain one-dimensional multi-scale model given the same inputs, and the experiments are designed to show whether the graph earns its cost.

Core Claim

In video, anchor-free localizers stopped proposing and ranking windows. Instead, every time step directly regresses its distance to the action's onset and offset. ActionFormer does this over a multi-scale feature pyramid with local self-attention and reports 71.0% mAP at tIoU 0.5 on THUMOS14. Cascaded Boundary Regression and TALL showed that plain linear offsets beat log-space box parameterization for time. These papers supply our method. Genomic domain calling has not adopted any of it. MrTADFinder optimizes Louvain modularity against a distance-aware null model. SuperTAD minimizes structural entropy of a coding tree by dynamic programming. Both output bin-edge partitions, SuperTAD cannot represent overlapping domains, and both use histone and CTCF data only for post-hoc enrichment. We claim that a regression head over a heterogeneous genomic graph can do three things these tools cannot. It can place boundaries below the input bin size, represent nested domains, and use epigenetic evidence during localization, all while matching or beating them on bin-level accuracy.

Our design differs from the graph-based video localizers in how edges are built and what the model outputs. G-TAD adds non-local "semantic" edges by dynamic k-nearest-neighbor search in feature space. That search is expensive, and G-TAD still scores cropped proposals. BC-GNN links candidate start and end nodes and scores them on a discrete grid. In the genome, the non-local edges do not need to be learned: Hi-C measures them. A domain's two boundaries frequently touch each other as a corner peak or loop. The Hi-C matrix therefore already contains the start-to-end edge that BC-GNN has to hypothesize, and it contains it at a fixed, precomputable sparsity.

Research Program

We build the graph from three node-and-edge ingredients. The first is bin nodes at the input resolution. Each bin node carries a strip of the local Hi-C matrix near the diagonal, plus per-bin tracks such as CTCF and cohesin ChIP signal, H3K4me3, H3K27me3 and DNase accessibility. The second is CTCF motif nodes, each placed at its exact base-pair coordinate, carrying its orientation and binding signal and linked to the bin that contains it. The third is edge types: linear-adjacency edges between neighboring bins, and contact edges between each bin and its top-k partners by distance-normalized contact enrichment. Because k is fixed and edges are precomputed once per map, graph construction costs time proportional to the chromosome length times k. This avoids the recomputation cost criticized in G-TAD.

A relation-typed message-passing encoder runs within each level of a coarse-to-fine pyramid. It is ActionFormer's pyramid with graph layers in place of, or alongside, local attention. Following ActionFormer, every bin at pyramid level $l$ outputs a boundary score and two nonnegative distances $(d_s, d_e)$ to its domain's start and end. The loss is L1 plus a one-dimensional GIoU loss. Nested domains are handled the way ActionFormer handles overlapping actions: a megabase-scale domain is assigned to a coarse level, and a sub-domain inside it is assigned to a finer level. A last refinement step looks at the motif nodes near each predicted boundary and regresses a residual offset from that neighborhood. This is where sub-bin precision should come from. We limit refinement to one or two stages, because the cascaded regression work found gains plateau after two or three iterations.

The file identifies a real tension. Video results favor linear offsets, but domain sizes are heavy-tailed and nested across roughly logarithmic scales, as the scale-dependent epigenetic signatures in MrTADFinder show. We do not settle this by argument. Offsets are expressed linearly within each level but normalized by that level's stride, so they are linear locally and scale-aware globally. A direct ablation compares this against log-space offsets.

Supervision comes from matched pairs of maps. Inputs are 25 kb and 50 kb maps, or 10 kb maps downsampled to 1/16 depth following the protocol of HiCMamba. Targets are boundaries called on the full-depth 10 kb maps for GM12878 and K562, with IMR90 held out. A model trained against a single caller would just learn to imitate it, so our targets are consensus boundaries: MrTADFinder and SuperTAD agree within one fine bin. We also report agreement with independent evidence that no caller uses directly, including convergent CTCF motif pairs and boundary enrichment of the marks MrTADFinder analyzed. We split by chromosome and by cell line.

Baselines

The do-nothing reference runs MrTADFinder and SuperTAD directly on the coarse input and reports each boundary at its bin edge. This measures how much precision is lost purely to binning. Both tools are run with their published settings plus a small, equal grid search over the resolution parameter. The file gives no localization-accuracy numbers for either tool. MrTADFinder reports reproducibility, with normalized mutual information of 0.99 between runs and about 0.85 between biological replicates. SuperTAD reports cross-resolution overlap consistency of about 0.945 on GM12878 and 0.95 on IMR90. We reproduce both reproducibility figures on our inputs as a sanity check and require our model's replicate consistency to be comparable. Beating these tools means lower median boundary error in base pairs and higher interval mAP against the fine-resolution targets.

A stronger classical baseline snaps each coarse boundary from these callers to the nearest strong CTCF peak or convergent motif. This is late fusion of epigenetic evidence with no learning. It directly tests whether our refinement stage does more than nearest-motif lookup.

The strongest learned competitor is ActionFormer applied to one-dimensional tracks. Each bin's input is the diagonal Hi-C strip concatenated with every epigenetic track. It uses the same pyramid, loss, training budget and hyperparameter search as our model, but it has no contact edges and no motif nodes. On video it reports 71.0% mAP at tIoU 0.5 on THUMOS14 and 36.6% average mAP on ActivityNet-1.3. No reported result found on Lacuna for ActionFormer, or any direct boundary regressor, on TAD boundaries. Since there is no prior number in this domain, we establish one ourselves.

Ablations then add ingredients one at a time. We add contact edges only, then motif nodes only, then both. We compare linear, stride-normalized and log-space offsets. We also train a per-bin boundary classifier with sub-bin interpolation of its score peak, to test whether regression itself matters. All models get the same GPU-hour budget and the same number of tuning trials. Our model counts as winning only if it beats the one-dimensional ActionFormer baseline on held-out IMR90 by a margin larger than the spread across seeds.

Why not just…?

Why not just run a one-dimensional multi-scale model on the Hi-C diagonal and tracks? This is the most serious alternative. ActionFormer showed that local attention over a pyramid beats heavier pipelines in video, and a wide diagonal strip already encodes much of the Hi-C signal near each bin. Our reason to expect a gap is specific rather than general. G-TAD's non-local edges helped with context far away in time. In the genome, the start and end of a megabase domain are connected by a measured contact that falls outside any practical diagonal strip. We therefore predict that the graph's advantage will concentrate on large, nested domains and disappear for small ones. If the one-dimensional baseline matches us across all size bins, we will conclude that the contact edges add nothing and report the one-dimensional regressor as the contribution.

Why not just snap classical boundaries to the nearest CTCF site? Snapping may already capture most of the achievable sub-bin gain, because many boundaries sit at CTCF sites. It fails in known cases: bins that contain several motifs, motifs whose orientation is wrong for a loop, and boundaries without CTCF. We report error separately for boundaries with zero, one, and several motifs in the bin. The learned refinement must win in the multi-motif and no-motif groups to justify itself.

Why not just keep Louvain or dynamic programming and fuse epigenetic scores afterward? These methods are reproducible and require no training, which is a real strength. However, SuperTAD cannot represent overlapping domains. ProSNet (ProSNet) found that joint integration beat additive fusion, with an AUROC of 0.9211 versus 0.8673 for GeneMANIA on rare human function labels. That evidence comes from a different task, so it only motivates the choice here. The snapping baseline, together with a variant that re-weights modularity using epigenetic scores, tests this question directly in our setting.

Proposed Experiments and Decisive Checks

The primary metrics are three. The first is median and 90th-percentile absolute boundary error in base pairs against the 10 kb consensus targets. The second is boundary recall within 5, 10 and 25 kb. The third is interval mAP at IoU thresholds from 0.5 to 0.95, borrowing the video protocol. We report every metric stratified by domain size and nesting depth.

Three results would be decisive. First, on held-out IMR90 from 50 kb input, the full model must place boundaries at a median error below half the input bin (25 kb) and beat CTCF snapping in multi-motif bins. Second, the gap between the graph model and one-dimensional ActionFormer must grow with domain size. If it does not, the heterogeneous-network ingredient is refuted. Third, recall of nested sub-domains must exceed SuperTAD's at equal precision. As a guard against simply imitating the callers, predicted boundaries that the consensus labels miss should still show CTCF and insulation enrichment, rather than looking like noise.

We also report runtime per chromosome next to MrTADFinder's figure of about 20 minutes at 25 kb. This is the cost a practitioner would weigh against any gain in precision.