Which Branch Does the Optimizer Forget? Testing Quasi-Homogeneous Margin Theory on Document-Type Filters

Digital libraries such as CiteSeerX crawl millions of PDFs, and many of them are not research at all. They include journal mastheads, conference front matter, committee rosters, memorial tributes and tutorial abstracts. A good filter has to read two kinds of evidence. One is the text ("this paper", section headings). The other is the physical layout: page count, words per line, how much of the page is capitalized names. The natural neural design gives each kind of evidence its own sub-network, or "branch", and adds their outputs. A recent theory of quasi-homogeneous networks predicts something specific about such designs. A quasi-homogeneous network is one where scaling different parameter groups at different rates scales the output in a predictable way. The prediction is that, late in training under cross-entropy loss, the optimizer puts its implicit margin-maximizing pressure almost entirely on the fastest-scaling parameters. Slower-scaling branches are left behind. Nobody has checked whether this prediction shows up in a realistic two-branch classifier, or whether it matters in practice.

This note proposes using non-research document identification as a controlled testbed for that theory. The task is useful because we can tell which branch should matter. On the CiteSeerX "Test References" split, every document contains the word "references", so text shortcuts mislead and layout carries the signal. The core claim is falsifiable. If the theory's prediction carries over, the branch with lower scaling rate, which is the deeper branch, loses influence on the decision as training runs long. Equalizing the branches' homogeneity degree should remove that drift and make the filter more robust to corrupted layout extraction. We do not claim a neural filter will beat a well-tuned Random Forest on clean accuracy. The contribution is a direct empirical test of an asymptotic theory on a non-synthetic task, plus an architectural fix that the theory motivates.

Core Claim

A network is positively homogeneous of degree $L$ when scaling all parameters by $c>0$ scales its output by $c^L$. Bias-free ReLU networks of depth $L$ have this property. Gradient Descent Maximizes the Margin of Homogeneous Neural Networks shows that gradient descent on such networks drifts toward a maximum normalized-margin solution. Directional convergence and alignment in deep learning shows that the direction of the parameter vector settles even while its norm grows. Both supply the conceptual tools we use.

Now take a two-branch classifier $f(x)=g_T(x_T;\theta_T)+g_S(x_S;\theta_S)$. Here $g_T$ is a bias-free text branch of degree $L_T$ and $g_S$ is a bias-free layout ("structure") branch of degree $L_S$. This model is quasi-homogeneous in the sense of The Asymmetric Maximum Margin Bias of Quasi-Homogeneous Neural Networks:

$$f(\,e^{\alpha\lambda_T}\theta_T,\; e^{\alpha\lambda_S}\theta_S\,)=e^{\alpha}f(\theta_T,\theta_S),\qquad \lambda_T=1/L_T,\;\lambda_S=1/L_S .$$

In this equation, $\alpha$ is any real number and $\lambda_i$ is the scaling rate of branch $i$. That paper proves gradient flow minimizes an asymmetric norm that concentrates on the largest-rate parameters. It also shows that robustness in input space degrades as a result, on synthetic Gaussians and 3D balls.

Applied to our model, the theorem as characterized there predicts that the deeper branch, which has the smaller rate, is the one starved of margin in the terminal phase. A typical design pairs a deep text encoder with a shallow layout MLP. That design would then end up leaning on the layout branch, and the reverse depth pairing would lean on text. We test this prediction in both directions. The proposed fix is to make $L_T=L_S$. This can be done architecturally, by padding the shallow branch with bias-free linear layers, or by a reparameterization that raises each branch's parameters to the power needed to equalize rates. If the theory is right, equal degrees remove the asymmetry.

Research Program

The work has three stages.

Stage 1: measure the predicted drift. We build two-branch classifiers that sit inside the theory's assumptions. The layout branch is a bias-free ReLU MLP over the 43 structural features from Document Type Classification in Online Digital Libraries. Those features cover file size, page count, text density, section-heading presence and position, and genre phrases. The text branch is a bias-free ReLU convolutional network over the first pages of extracted text. Neither branch uses normalization layers.

We vary the depth pair $(L_T, L_S)$ over a grid, train with cross-entropy far past zero training error, and log the following quantities over time:

  • Branch reliance: the fraction of the logit margin each branch contributes on held-out data, and the accuracy drop when each branch is zeroed.
  • Normalized parameter direction: the parameter vector divided by its norm, tracked per branch.
  • Robustness margin: the size of layout-feature perturbation needed to flip a prediction.

The theory makes a concrete, signed prediction. The branch with $\lambda_{\max}$ gains reliance over training, and the gap scales with $|1/L_T-1/L_S|$.

Stage 2: move outside the theory, then intervene. We repeat the measurements in two settings the theory does not cover. In the first, the branches have biases and GELU activations, which fall under the near-homogeneous setting of Implicit Bias of Gradient Descent for Non-Homogeneous Deep Networks. In the second, the text branch is a fine-tuned SciBERT-style Transformer. Its LayerNorm and softmax attention are degree-0 operations, which that framework excludes. Whether the drift persists out of scope is itself informative, because it speaks to the open "degree-0 barrier" in that theory. We then compare degree-matched models against standard training and against competing rebalancing methods.

Stage 3: test under realistic failure conditions. We evaluate under the two failure modes the document-classification literature identifies: degraded PDF text extraction, and genre drift away from computer-science proceedings.

Baselines

Rule-based filter. The naive reference point is the production CiteSeerX rule-based filter, which uses keyword heuristics. Document Type Classification in Online Digital Libraries reports its precision on Test References as 0.842. We re-implement the keyword rules and run them unchanged on every split.

Structural Random Forest (Str/RF). The strongest existing method is the Random Forest on 43 structural features from the same paper. It reports 88.7% accuracy and F1 of 0.891 on the CiteSeerX Crawl test set, and 0.925 precision on Test References. It is the strongest competitor because it uses the same layout signal our layout branch uses. Trees also have no gradient-driven branch neglect at all. We train it on the same Train+ data (3,284 documents) with the same feature extractor, and tune its hyperparameters with the same number of trials the neural models get. Clean-accuracy parity with Str/RF, meaning a confidence interval that overlaps its F1, is the bar the neural models must clear to be worth discussing. Beating Str/RF counts only on the robustness and drift splits, by a margin larger than seed variance.

Bag-of-words classifier. A logistic regression on bag-of-words features is included because the same paper reports Str/RF improves on it by 18.5% relative. This baseline anchors how much text-only signal is available.

Naive joint-trained two-branch network. This is the standard architecture with mismatched depths, trained to convergence. It is the direct control for the theory.

ARM. Asymmetric Reinforcing Against Multi-Modal Representation Bias counters one branch dominating another by reweighting fusion with mutual-information estimates. It reports 93.36% versus 82.38% for plain concatenation on UPMC Food-101. It is the strongest existing rebalancing competitor. We give it the same branches, data and tuning budget.

Isolating the mechanism. The key ablation separates the proposal's ingredient from generic rebalancing. It equalizes only the degree, with depths otherwise fixed. A matching control instead adds the same number of extra parameters to the shallow branch, but with biases and nonlinear layers, so the degree is not equalized.

Why not just…?

Why not just use the Random Forest? For clean filtering accuracy, this is a real threat, and we expect it may win or tie. The proposal is not a bid to replace Str/RF in production. Its question is whether a margin theory predicts the behavior of gradient-trained multi-branch classifiers on a real task, and the document task is where branch relevance can be controlled. Neural branches are still worth understanding, because they are the only practical route when raw text or page images replace hand-built features. We report Str/RF on the corrupted-extraction and drift splits. If it is as robust as the degree-matched network there, we will say that the theory-driven fix buys nothing practical.

Why not just early-stop? The asymmetric bias is a statement about the terminal phase, and practitioners rarely train that long. This alternative may defeat the practical relevance of the effect. We therefore mark the validation-optimal stopping point on every reliance curve. If reliance drift only appears well after that point, we report that result as an honest bound on how much the asymptotic theory matters at ordinary training lengths.

Why not just fine-tune a Transformer on the text? SPECTER: Document-level Representation Learning using Citation-informed Transformers averages 80.0 on SCIDOCS, but it assumes a title and abstract that mastheads and committee lists lack. Text alone is also exactly what Test References is built to fool. We include a fine-tuned text-only Transformer as a baseline, and as a text branch in the out-of-theory experiments. If it matches the two-branch models on Test References, layout evidence is redundant and the testbed is weaker than we think.

Why not just tune per-branch learning rates or ARM? A per-branch learning rate proportional to $\lambda_i$ is close to our intervention in spirit. We include it as a variant rather than a rival. ARM fixes dominance after the fact, using mutual-information estimates, and does not use the scaling structure. If ARM matches degree-matching on reliance balance and robustness, the theory offers explanation but no practical edge, and we will report it that way.

Proposed Experiments

Data. We train on CiteSeerX Train+ and evaluate on the Crawl test set and the Test References split from Document Type Classification in Online Digital Libraries. We add a small hand-labeled drift set drawn from non-research artifacts indexed on Lacuna, mixed with ordinary research papers. Its non-research documents include IEEE publication-information pages such as IEEE Transactions on Cybernetics publication information and IEEE Transactions on Fuzzy Systems publication information. They also include proceedings front matter such as Front Matter and DSML 2023 Committee, tributes such as A memorial tribute: Adriano Garsia (1928--2024), tutorial abstract volumes, and position papers. This set is small, so its role is a stress test, not a benchmark claim. That matches the gap noted by Multi-label Classification of Scientific Research Documents Across Domains and Languages: no annotated multi-genre ground truth exists.

Corruption. We simulate realistic extraction failures: merged columns, dropped lines, inflated file sizes and broken heading detection. These perturb the layout features in a controlled way.

Decisive checks. The theory is supported if three things hold:

  1. In the bias-free regime, the reliance drift has the predicted sign for each depth pairing.
  2. Its magnitude grows with the gap in scaling rates.
  3. Degree-matching removes the drift while the width-matched control does not.

The theory is contradicted if the deeper branch gains reliance, or if drift is unrelated to the depth gap. The practical claim succeeds only if degree-matched models beat both the naive two-branch network and ARM on the corruption and drift splits, while staying within error of Str/RF's reported 0.891 F1 on Crawl. A null result on the practical claim alongside a confirmed drift would still be a clean finding: the margin theory describes real classifiers, but its effect falls outside the training lengths people actually use.