lorapop / code /paper /sections /appendix.tex
bryan7264's picture
Add files using upload-large-folder tool
36357ab verified
Raw History Blame Contribute Delete
6.54 kB
% MIT License, Bryan Cheng, 2026. Appendices. Each item cites its DECISIONS.md entry (D-NNN); the full log is released.
\appendix
\section{Deviations from the pre-registered plan}
\label{app:deviations}
The plan was frozen on 2026-11-23. Every later change is logged with its date and reason in \texttt{DECISIONS.md}. The
changes that touch what is measured or estimated are:
\begin{itemize}
\item \emph{Seed-sibling recipe (D-015).} The two smallest \texttt{no\_robots} categories have 334 examples, so every
sibling run uses 300 examples for 3 epochs instead of 1,000 examples for 1 epoch. PEFT initializes $A$ with a
Kaiming-uniform rather than a Gaussian distribution; the law's ``$+1$'' term assumes Gaussian fourth moments.
\item \emph{Negative controls (D-023).} The plan names a negative-control trait without defining it. We use a family
effect with no within-family noise and add two diagnostics of the test machinery: iid noise, and a family effect plus
equal-variance noise.
\item \emph{Non-associated control locus (D-024, D-033).} ``Not associated'' is defined over the naive, PC, MM-f and
MM-fd estimators: not FDR-significant on D, and Bonferroni-adjusted minimum $p>0.5$. Under a rule over all seven
estimators, one locus in the genome qualified, because the within-family estimators are strongly inflated.
\item \emph{Base doses only on the base (D-028).} All seven doses are measured on the base. The 24 adapter backgrounds
are measured at $c\in\{-1,0,1\}$, the doses that the background slope uses.
\item \emph{Targeted fine-tunes (D-030).} Each condition has one data source. The MMLU-domain condition uses SciQ;
a ``casual'' condition is an exploratory extra.
\item \emph{Intervention cost (D-031).} The plan as written needed about 47,000 full-battery runs, roughly 700 GPU-hours
against a 250 GPU-hour budget. Three changes, in order:
\begin{enumerate}
\item $c=0$ is measured once per background and knockout carrier. It has zero weight in every dose slope, so no
information is lost.
\item Control directions use 8 of the 24 backgrounds; tested loci keep all 24.
\item The plan's pre-registered fallback applies: generation item sets are measured on their fixed first half.
\end{enumerate}
The final plan has 525 directions and 19,338 runs.
\item \emph{Spike-in measurement (D-032).} Carriers are measured on the item set of the spike's target trait only, the
one trait the analysis reads.
\item \emph{Raw-coordinate interventions (D-037).} The whole-pipeline raw ablation adds a raw intervention plan: 150
loci selected from the raw scan by the same rule, measured on the first 8 backgrounds of the main plan, without controls
or knockouts. A raw allele is the population-weighted sum of raw updates ($V=I$), scaled to unit Frobenius norm. Its
$\kappa$ is compared with the expressed $\kappa$ on the same 8 backgrounds.
\item \emph{Recipe-family threshold (D-039).} The first primary scan ran before the seed siblings existed and used a
fallback cut. Both scans were re-run with the pre-registered cut (99th percentile of $K_{\mathrm{func}}$ between
different-task, independently initialized siblings: $K_{\mathrm{func}}=0.0639$). Only recipe families and WF-r changed.
The intervention plans were rebuilt from the re-run scans before any directional unit was measured.
\item \emph{Diagnostics in standard form (D-042, D-044).} Linkage-score regression uses the bias-corrected $r^2$ and the
weighted fit of LD-score regression; the plain unweighted fit gave negative intercepts on 8 traits. The pre-registered
family-block bootstrap of $\lambda_{\mathrm{GC}}$ resamples families with replacement and treats copies as independent
adapters, which shifted its intervals above the point estimate on most traits. A delete-a-group jackknife over families
replaces it.
\item \emph{Direction of the calibration slope (D-043).} $\kappa$ is the slope of interventional on observational effects,
as the proposal defines it; the first implementation regressed the other way. It was corrected before any $\kappa$ was
computed, and so was the segment calibration of the crosses.
\end{itemize}
\section{Engineering details that affect measurements}
\label{app:engineering}
\paragraph{Bank mode.} Up to eight members share one forward pass. Each module adds a masked product with the stacked
low-rank factors of all members, and row $b$ keeps only member $b$'s block (D-011, D-018). A GPU pilot found that a bank
holding a single member skipped the update. This was fixed, with a regression test, before any population phenotype was
produced (D-017).
\paragraph{Hardware.} Phenotypes record the GPU model and the batch sizes used:
\begin{itemize}
\item Population phenotypes were measured on H200 and B200 GPUs, with shards interleaved over adapters. The GPU type is a
covariate, and 23 adapters plus the base were re-measured across types (Section~\ref{sec:results-pheno}; D-019, D-027).
\item Batch sizes are capped by GPU memory (D-038): none at $\ge 70$\,GB, 64/128 at 40--70\,GB, 32/64 below.
\item Every (GPU model, batch configuration) measures its own $c=0$ references. Knockout differences and base curves never
compare measurements across configurations (D-035).
\item Offspring of the crosses are centered per configuration on the training rows before the additive fit.
\item Fine-tunes measured in later jobs, possibly on another GPU type, are compared with a base measured on the same GPU
model and batch sizes (D-045).
\item Workers start only on GPUs with no uncorrected ECC errors (D-040). Records from a faulty GPU were never written.
\end{itemize}
\paragraph{Work sharing.} Intervention units, offspring chunks and per-trait CPU analyses are claimed through lock files
and written atomically, so jobs on any lane share one plan and resume after time limits (D-031, D-036). Locus directions are
claimed before control directions, each in a fixed pseudo-random order, so that the interim calibration covers all modules
(D-047). Bootstrap random
streams are seeded per trait, so results do not depend on which process computes which trait.
\paragraph{Forecast competitors.} Base-model trait gradients are computed with activation checkpointing (D-041). Qwen2 has
no dropout, so this changes memory use, not values. A tiny-size run with and without checkpointing on the same GPU was
compared before the full run: gradient cosines agree to $7\times10^{-9}$, representation cosines exactly, and gradient
norms to a relative $5\times10^{-9}$.