Distance-Aware Layer Sparsity for Hi-C Enhancers Used in Chromosome Scaffolding

Hi-C is an assay that counts how often two stretches of DNA touch inside the cell nucleus. Genome assemblers use it to join contigs, the long but disconnected pieces an assembler first produces, into whole chromosomes. Contact frequency falls steadily with distance along the chromosome, so contigs that are neighbours in the genome share many contacts at their ends. Deep sequencing of Hi-C libraries is expensive, and neural "enhancers" that sharpen sparse, low-coverage contact maps are one way to cut that cost. These enhancers are trained on pixel-level losses and judged on image-like reproducibility scores and loop calls. Nobody has checked whether they preserve the long-range contact signal that scaffolding depends on. Nobody has checked what happens to that signal when the models are compressed, either. Compression becomes relevant once an enhancer is applied to many contig-pair blocks of a multi-gigabase assembly rather than to a few diagonal patches.

This note proposes a test of one idea, and a method built on it, drawing on layer-wise sparsity allocation from language-model pruning. In that field, some layers are pruned harder than others according to a sensitivity score. The hypothesis is that generic sensitivity scores, whether based on activation outliers or on the spectral shape of weight matrices, protect the layers that matter for short-range pixel fidelity. They would then prune away the layers that carry weak long-range contacts, even though long-range contacts are what order and orient contigs. We propose to measure layer sensitivity separately for each band of genomic distance, and to allocate sparsity so that the bands the scaffolder actually uses are protected.

Core Claim

The same allocation mechanism, run at the same global sparsity on HiCMamba- and HiCSR-style enhancers, should give measurably better downstream scaffolding (contig ordering, orientation and NGA50 on simulated breaks) when its per-layer scores come from distance-stratified degradation rather than from outlier density (OWL) or heavy-tailed spectra (AlphaPruning). The gain should be concentrated in the far-distance contact bands, while standard reproducibility scores show little difference.

A secondary claim is scientific. The layer-sensitivity profile of these genomic models is itself uncharacterised, and it will show whether the outlier-versus-spectrum disagreement between OWL and AlphaPruning is resolved in a regime that is neither text nor natural images.

The framing matters because of a gate we set ourselves. If enhancement does not improve scaffolding over raw low-coverage Hi-C in the first place, compressing enhancers for scaffolding is pointless. The program therefore starts by establishing that it does, and it stops if it does not.

Relation to Prior Work

Three lines of work motivate the proposal. HiCSR super-resolves downsampled Hi-C with a residual adversarial generator. It showed that image metrics such as MSE and PSNR are misleading for contact maps, which is the precedent for insisting on task-specific evaluation. HiCMamba replaces convolutions with stacked 2D state-space scan blocks in a U-shaped encoder–decoder and reports better correlation at large genomic distance at a quarter of prior compute. It stacks identical blocks and never asks which ones matter. Neither paper feeds its output into scaffolding, and we add that link.

Graph Neural Networks for Metagenomic Binning found that attention models optimised on proxy losses produced worse biological bins than simpler graph convolutions. We read that result as a warning that proxy objectives can hide losses in downstream biology. It is the core risk our distance-stratified criterion is designed to catch.

On the scaffolding side, PHScaffolding orders contigs from Pore-C hypergraphs with clustering heuristics. It gives us the downstream metrics we adopt, NA50 and NGA50 (contiguity measures that count only correctly joined sequence), and a sense of realistic scale on human data. We do not modify its algorithm.

The sparsity methods supply the machinery.

  • Outlier and spectral scores. OWL sets per-layer sparsity inversely to activation-outlier density. AlphaPruning uses the power-law exponent of each weight matrix's singular-value spectrum. AlphaPruning explicitly argues that outlier heuristics fail outside language models, and our experiments test that argument on a new architecture family.
  • Allocation by optimisation. ALS casts allocation as a linear program over a redundancy score. LSA minimises linear reconstruction error. Both optimise a surrogate. We reuse the linear-program form but change what goes into it.
  • Activation sparsity. TEAL zeros small activations without retraining. It serves as an orthogonal compression axis and a check on whether the gains come from weights specifically.

Research Program

The first stage is the gate. We take GM12878 Hi-C at 10 kb, downsampled to 1/16 as in HiCMamba, and cut the reference chromosomes into simulated contig sets at several fragmentation levels. These mimic the 1,269 to 12,302 contig configurations PHScaffolding used on HG002.

For every candidate contig pair we compute end-to-end link scores in three conditions: from raw low-coverage contacts, from the full-coverage map, and from each dense enhancer. The enhancer is applied to the contig-pair block assembled in assembly coordinates. A fixed, deliberately simple ordering-and-orientation procedure turns link scores into scaffolds, so that differences can only come from the contact signal. The gate passes if dense enhancement closes a meaningful fraction of the gap between raw and full coverage on NGA50 and orientation accuracy.

The second stage profiles each enhancer layer by layer. For each layer $l$ we prune it alone to a probe sparsity and record how much the stratified correlation with the full-coverage map drops in each distance band $d$. The bands are short (under 100 kb), mid, and far (out to the patch edge). Call this drop $S_l(d)$. We also record the OWL outlier density, the AlphaPruning exponent, and TEAL-style activation shape for every layer. This tells us whether genomic enhancers show the U-shaped outlier profile seen in language models, and whether any generic score tracks far-band sensitivity.

The third stage is the method. We allocate per-layer sparsities $s_l$ by solving

$$\min_{s}\ \sum_l s_l \sum_d w_d\, S_l(d)\quad \text{s.t.}\quad \sum_l n_l s_l = s_{\text{global}}\sum_l n_l,\ \ s_{\min}\le s_l\le s_{\max},$$

where $n_l$ is the parameter count of layer $l$ and $s_{\text{global}}$ is the target overall sparsity. The weight $w_d$ is set by how much band $d$ contributes to contig link scores, measured in stage one, rather than by hand. This is a linear program in the style of ALS, so its cost is small relative to training. We then apply the per-layer budgets with a standard within-layer pruning rule, with and without a short fine-tune.

Baselines

The naive reference points are the dense enhancer and raw low-coverage Hi-C with no enhancer. Any compressed model must be compared against both, because a pruned enhancer that is no better than raw input is worthless for scaffolding.

The first real competitor is uniform pruning, the same fraction removed from every layer. It needs no tuning, and for small convolutional or state-space models it may simply work. We run it with the same within-layer rule and the same fine-tuning budget as our method.

The strongest existing allocation methods are OWL and AlphaPruning. They are strongest because they are the two sensitivity signals with the best reported results and they disagree about what to measure. The file only contains their language-model results: at 70% sparsity on LLaMA-7B, OWL reports WikiText-2 perplexity of 24.55 against 85.77 for uniform Wanda (OWL). AlphaPruning reports 304.31 points lower perplexity than OWL at 80% sparsity (AlphaPruning). No reported result was found on Lacuna for any layer-wise pruning method applied to Hi-C enhancers or scaffolding, so the baseline numbers on our task will be generated here. We port both methods faithfully, run them at identical global sparsities of 50, 70 and 85 percent, and give each the same calibration patches and the same budget for its own hyperparameters (the outlier threshold and range for OWL, the mapping range for AlphaPruning).

The dense-model reference numbers are HiCSR's average reproducibility of 0.958 on GM12878 (HiCSR) and HiCMamba's 66.4% CTCF-supported loop match rate on K562 (HiCMamba). We reproduce these before pruning.

The key ablation keeps our linear program fixed and swaps the per-layer sensitivity input. The variants are distance-stratified scores with learned band weights, the same scores with equal band weights, an unstratified overall-correlation drop, and the OWL and AlphaPruning scores. This isolates whether distance stratification, rather than the optimiser, drives any gain.

Beating the baselines means two things at matched sparsity and matched fine-tuning. First, higher NGA50 and orientation accuracy than every baseline allocation, beyond seed-to-seed variation across three contig simulations. Second, no more than a small loss of the dense enhancer's advantage over raw Hi-C.

Why not just…?

Why not just prune uniformly and fine-tune briefly? For models this small, retraining is cheap and may erase any allocation effect, and this is the most serious threat to the proposal. The large language-model gaps come from pruning without retraining, which is exactly where allocation matters most. A pixel-loss fine-tune could also restore reproducibility scores while leaving far-band signal damaged. The uniform-plus-fine-tune arm, scored on stratified correlation and NGA50, settles the question. If it matches our method, we will report that allocation is unnecessary for this model class and keep the profiling and gate results as the contribution.

Why not train a smaller enhancer from scratch at the same parameter count? HiCMamba's gains at large distance come from its wide receptive field, and a narrow small model may lose exactly the far bands. That is an empirical claim, so we train width-reduced HiCMamba and HiCSR models at each matched parameter count with the same compute as dense training plus pruning. If they match on scaffolding metrics, the compression route is not justified.

Why not skip enhancement and scaffold directly on raw low-coverage Hi-C, or on Pore-C with PHScaffolding? This may well be the right answer, which is why stage one is a gate rather than an assumption. PHScaffolding already reaches NA50 of 3,979,701 bp on HG002 Pore-C without any neural model (PHScaffolding). If raw Hi-C scaffolds as well as enhanced Hi-C at 1/16 coverage, the program stops after stage one and publishes that negative result.

Why not quantize instead? Quantization compresses along a different axis and composes with pruning, as TEAL and DLP both show for language models. We include an 8-bit arm to check that our ranking of allocation methods survives it, but it does not answer which layers carry far-range signal.

Proposed Experiments and Decisive Checks

The data are GM12878 for training and in-distribution tests, K562 for cross-cell-line transfer, and the HiCSR cross-type and cross-species sets (NHEK and mouse CH12LX) for robustness. Metrics fall into three groups: downstream scaffolding (NGA50, orientation and ordering accuracy, misjoin count on simulated contig breaks), distance-stratified Pearson correlation, and the published reproducibility scores and CTCF loop match rate, which we report for comparability.

The first decisive check is the gate from stage one. The second is whether generic scores and distance-stratified scores produce different layer rankings at all. If OWL or AlphaPruning already tracks far-band sensitivity, the proposal collapses into "use AlphaPruning," and we will say so. The third is whether, at 70 and 85 percent sparsity, our allocation opens a scaffolding gap over the best baseline while reproducibility scores stay close. That pattern would show that the field's current evaluation metrics cannot see the damage pruning does to the signal scaffolding needs.