lorapop / code /novelty /user_proposal.md
bryan7264's picture
Add files using upload-large-folder tool
3b9e9d0 verified
|
Raw History Blame Contribute Delete
13.1 kB
# User-supplied proposal (received 2026-11-20, condensed faithfully; scrambled parts marked)
Source: the invoking message of this session. Numbers in it (probe results, HF counts, published
values) are the user's claims and are NOT results of this project (DECISIONS.md D-002).
## Core: raw weights are the wrong coordinates (similarity law)
One gradient step from B=0 gives Delta = -eta G A^T A. Two adapters with independent Gaussian A_i, A_j
(variance v), shared G, PSD weighting C. Wishart moments E[A^T A]=r v I, E[A^T A C A^T A]=v^2(r(r+1)C + r tr(C) I) give
cos_C(Delta_i, Delta_j) ~= sqrt(r_i r_j) / sqrt((r_i+1+d)(r_j+1+d)), d = tr(C) ||G||_F^2 / tr(G C G^T),
with <X,Y>_C = tr(X C Y^T). C=I: raw similarity, d=q (input dim). C = input second moment: d is the
effective input dimension seen by the gradient (small). Rank 8, q=2048: raw similarity of two adapters
that learned the same thing = 0.004. Raw similarity = shared initialisation (descent); activation-weighted
similarity = same function. Claimed to reproduce Persona Geology [7]: rank 64, dim 2560 -> raw 0.024 vs
reported 0.018; reported activation-weighted 0.66 corresponds to d ~ 32.
## Genotypes
C_m = E[x x^T] of the input to module m in the base model over a fixed reference corpus (chat,
instruction, plain text); top-k eigenpairs (V_m, Lambda_m), P_m = V_m Lambda_m^{1/2}; k = smallest number
holding 99% of tr(C_m), cap 512. Expressed delta E_{i,m} = Delta_{i,m} P_m (p_m x k);
<E_i,E_j> ~= E_x[(Delta_i x)^T (Delta_j x)]. Per module: centred Gram of {E_{i,m}}_i, eigenpairs
(lambda, u); locus (m,l) genotype g_{i,ml} = sqrt(lambda) u_{ml,i}; axis L_ml = lambda^{-1/2} sum_i u_i (E_i - Ebar);
allele in weight space Delta*_ml = L_ml P_m^+ with P_m^+ = Lambda^{-1/2} V^T. Each module contributes leading
loci holding 90% of expressed variance, up to 32. Presence of an update in each module type = binary locus.
## Confounding is linkage
y_i = mu + sum_j gamma_j g_ij. gamma_j defined by intervention (average over adapters of change when
locus j moved by one unit inside an adapter, rest fixed). Naive slope -> gamma_j + sum_{k!=j} gamma_k
Sigma_kj/Sigma_jj, Sigma = Cov(g). No environment, so all bias is linkage. Families make Sigma dense.
Remedies: mixed model with relatedness matrix; designed cross (randomized mosaics -> block-diagonal Sigma).
Here both, plus direct intervention on a single locus, are available for the same population.
## Closing the loop
Calibration slope kappa: slope through origin of interventional on observational effects over selected
loci; calibrated iff kappa = 1. Same at segment level (crosses), fine-mapping (PIP vs interventional truth),
variance components, genetic correlations, prediction.
## Hypotheses (refutation criteria as given)
H1 two layers of relatedness. Refuted if raw similarity of trained seed siblings departs from the law by
> 2x, or activation-weighted similarity separates same-task vs different-task pairs with AUC < 0.8.
H2 linkage bias. Refuted if inflation factor of the naive scan <= 1.1 on every trait AND naive calibration
slope in [0.8, 1.2].
H3 calibration after correction. Refuted if mixed-model and within-family slopes outside [0.8,1.2], or no
closer to 1 than naive (bootstrap CI of difference includes 0), or spiked directions recovered no better
than naive at equal FDR.
H4 crosses. Refuted if additive model explains < half of reliable variance of offspring behavior, or slope
between predicted and measured segment contributions outside [0.8, 1.2].
H5 two sources of heritable variance. Refuted if function-layer variance component indistinguishable from
zero on every trait once descent is in the model (LRT), or BLUP under function layer has no accuracy on
held-out descent families.
H6 genetic covariance is causal. Refuted if G predicts cross-trait effects of interventions and correlated
responses of new fine-tunes no better than the phenotypic covariance P.
H7 portability of causal scores. Refuted if causal-score accuracy declines with lineage distance as fast as
fitted predictors.
## Populations (user's HF counts, read 2026-11-19; table partly scrambled)
Qwen/Qwen2.5-7B-Instruct (Apache-2.0): 2,932 adapters, 3,275 full fine-tunes, 169 merges.
mistralai/Mistral-7B-Instruct-v0.2 (Apache-2.0): 1,212 adapters, [scrambled] ... "1,157 / 353"?
Lots-of-LoRAs (Mistral base, rank 16, training data released): public collection, 1,268 models listed.
TinyLlama/TinyLlama-1.1B-Chat-v1.0 (Apache-2.0): 1,599 / 585 / 32.
Qwen/Qwen2.5-0.5B-Instruct (Apache-2.0): 1,049 / 1,188 / 48.
microsoft/Phi-3-mini-4k-instruct (MIT): 870 / 1,121 / 13.
meta-llama/Llama-3.1-8B-Instruct (gated): 3,056 / 3,317 / 106.
Every usable adapter, full fine-tune and merge enters. Full FTs and merges via randomized truncated SVD of
weight differences at rank 64/module. Checks: safetensors only, finite, non-zero, shapes, declared base
verified by perplexity. LoRA variants converted to effective update (rsLoRA, rank/alpha patterns, DoRA).
Keep output factors, input factors projected on P_m, two-sided random sketches (size 128) for raw similarity.
Controlled populations trained: seed-sibling families (tasks x seeds x ranks 4-64, with/without shared init),
opposite fine-tunes for spike-ins, trait-targeted fine-tunes for side-effect forecast; true seed siblings of
Lots-of-LoRAs adapters on Mistral.
## Phenotypes (one fixed battery, automatic scoring, greedy decoding, fixed length cap)
Safety/alignment: refusal propensity on HarmBench behaviors (first-token log-odds of refusal vs compliant
openers; no harmful text generated); XSTest exaggerated refusal; MC form of emergent-misalignment questions;
sycophancy; TruthfulQA MC. Capability: MMLU overall and by subject group; IFEval; MMLU calibration error.
Language/form: language share for English prompts; response length; markdown/list/code-block rates; JSON validity.
Register: hedging, first-person persona statements, emoji (fixed patterns). Split-half reliability per trait;
rank-based normal transform fitted on population, applied to interventional measurements too.
## Relatedness
K_desc = normalized raw inner product (from factors). Related by descent when raw similarity > 3x the
same-task value the law gives for their ranks and module widths; descent families = connected components.
K_func = normalized sum over modules of expressed inner products. Recipe families = clusters of K_func
among descent-unrelated adapters. Merges: regress expressed delta on candidate parents -> admixture.
Report family sizes, spectra, share with a relative, agreement with metadata, n_eff = tr(K)^2/tr(K^2).
## Association
Estimators: naive; PCs of K_func; mixed model (function layer, leaving out the layer containing m);
two-layer mixed model (+K_desc); within-family (descent and recipe); duplicates removed + author FE.
REML once per trait and left-out layer; GLS per locus. Covariates: intercept, log rank, log update norm,
target-module pattern, adapter format, base quantisation. Module kernel tests (SKAT-like score test);
SuSiE fine-mapping in significant modules. Diagnostics: genomic inflation (family-block bootstrap),
QQ, LD-score-style regression on linkage scores, negative-control trait (random value per descent family).
Bonferroni over effective number of independent loci; FDR 0.05; discovery/estimation family split.
## Interventions
Transplant: W_m += c sigma_ml Delta*_ml, c in {-3..3}, full battery at each dose; in base and inside adapters
from every family; interventional effect = slope for |c|<=1 averaged over backgrounds; curvature ratio;
slope variance across backgrounds = interaction. Knockout: Delta_i -= (g_i - gbar) Delta*. Controls: random
directions matched in norm/module, high-variance non-associated loci, same axis in another layer.
## Designed crosses
30 parents per trait (+ base as zero parent); offspring = mosaics, each segment's parent uniform at random.
Resolutions: layers, modules, single expressed directions within mapped modules. Model
y_o = mu + sum_s alpha_{s,pi(s)} + sum_{(s,s') in N} omega + eps. >= 8 offspring per additive parameter.
Outputs: additive share (held-out, relative to reliability), interaction share, segment calibration vs
alpha_obs_{s,p} = sum_{l in s} gamma_hat_l g_{p,l}.
## Other experiments
Calibration statistics (errors-in-variables slope, hit rate, rank correlation), spike-in benchmark (opposite
fine-tune differences, validated natural alleles, random low-rank directions; carriers at 1/5/20% or whole
families; doses 0.5/1/2 SD), variance components per block (H5), bivariate genetic correlations and
G_do = sum sigma^2 gamma_do gamma_do^T (H6), side-effect forecast Delta z = G beta vs competitors (P, spillover
[59], gradient kernel, representation-based [54], none), portability curves for predictors (H7), merges as
natural recombinants, audit of public adapters (aggregate), repair by knockout (specificity), atlas release.
Experiments E1-E8 (E1 pedigrees/law H1; E2 scans H2; E3 interventions H2/H3; E4 crosses H4; E5 spike-ins H3;
E6 architecture H5/H6; E7 prediction H7; E8 audit/repair). Power: Bonferroni over 2,000 loci, 80% power at
4.9% variance explained (n_eff 500), 2.5% (1000), 1.3% (2000), 0.85% (3000).
## Responsible conduct
Refusal scored without generating harmful text; spike-ins use benign traits; refusal-lowering transplants
not released; atlas releases such directions as detectors and knockouts only; audit reports aggregates.
## User's reference list (to be verified; each must be opened before citing)
1 Hu+ LoRA arXiv:2106.09685. 2 Dravid+ Interpreting the Weight Space of Customized Diffusion Models NeurIPS 2024.
3 Putterman+ Learning on LoRAs GL-equivariant arXiv:2410.04207. 4 Horwitz+ Learning on Model Weights using Tree
Experts arXiv:2410.13569. 5 Han+ W2T: LoRA Weights Already Know What They Can Do arXiv:2603.15990. 6 De Schamphelaere+
LoRAcles: Self-Supervised Weight-Space Interpretability at Scale NeurIPS 2026. 7 Ratnam, Africa. Persona Geology
(mindscapes.world, Oct 2026). 8 Ilharco+ Task Arithmetic ICLR 2023. 9 Fierro, Roger. Steering LMs with Weight
Arithmetic arXiv:2511.05408. 10 Paul. Spectral Geometry of LoRA Adapters ... Harmful Compliance arXiv:2604.08844.
11 Liu+ Appeal and Reality of Recycling LoRAs arXiv:2602.12323. 12 Szablewski+ Model Organism Lottery arXiv:2607.01033.
13 Altaf. Rank Measures of Fine-Tuning Updates Need a Noise Baseline arXiv:2610.22438. 14 Konig+ Validity Threats
for Foundation Model Research arXiv:2606.05029. 15 Martin, Mahoney Post-mortem ... Simpson's paradox arXiv:2106.00734.
16 Zhu+ Asymmetry in Low-Rank Adapters ICML 2024. 17 Ban, Ji. Rethinking Parameter Sharing ... Multiple LoRAs.
18 Tamura+ Can a Crow Hatch a Falcon? arXiv:2504.19811. 19 Yax+ PhyloLM arXiv:2404.04671. 20 Gallagher+ Analysis and
Explainability of LLMs Via Evolutionary Methods arXiv:2605.02930. 21 Zhu+ Independence Tests for LMs arXiv:2502.12292.
22 Devlin, Roeder Genomic control 1999. 23 Price+ PCA stratification 2006. 24 Yu+ unified mixed model 2006.
25 Kang+ EMMAX 2010. 26 Yang+ mixed-model pitfalls 2014. 27 Yang+ GCTA height 2010. 28 Howe+ within-sibship GWAS 2022.
29 Ding+ PGS accuracy continuum Nature 2023. 30 HarmBench arXiv:2402.04249. 31 Sharma+ sycophancy arXiv:2310.13548.
32 Betley+ Emergent Misalignment arXiv:2502.17424. 33 Kaushik+ Universal Weight Subspace Hypothesis arXiv:2512.05117.
34 Bruel-Gabrielsson+ Compress then Serve arXiv:2407.00066. 35 Persaud. Shared Initialisation Confounds the LoRA
Evidence for Universal Weight Subspaces (github holdoutlabs-ai/Adaptation-Geometry). 36 Di Vita. A Million Checkpoints
Are Not a Million Samples (NeurIPS 2026 workshop). 37 Jin+ Hierarchical Latent Capabilities arXiv:2506.10378.
38 Rane. Embedding-Space Fingerprinting of LoRA Fine-Tunes arXiv:2611.07610. 39 nesiacel, actualvoid. Towards LoRA
science (LessWrong 2026-11-02). 40 Tzanakakis+ Structure is not mechanism arXiv:2609.17599. 41 Wu+ SKAT 2011.
42 Bulik-Sullivan+ LD score regression 2015. 43 MMLU. 44 IFEval. 45 TruthfulQA. 46 XSTest. 47 Soligo+ Convergent
Linear Representations of EM arXiv:2506.11618. 48 Turner+ Model Organisms for EM arXiv:2506.11613. 49 Arditi+ Refusal
single direction arXiv:2406.11717. 50 Lande 1979. 51 Gilestro. Evolution of sex for AI arXiv:2609.18560.
52 Sun+ Weight Patching arXiv:2604.13694. 53 Zhu, Li, Cai. When Do Task Vectors Interfere? arXiv:2608.09490.
54 Ong+ Forecasting Side Effects of Activation Steering arXiv:2608.11227. 55 Hu+ Exploring Model Kinship arXiv:2410.12613.
56 Drake, Eberstadt. Transplanting, inverting, and preventing a misalignment persona arXiv:2607.04510.
57 Baines+ Persona Cartography arXiv:2607.07916. 58 Klagges+ Assembly of Experts arXiv:2506.14794.
59 Hunter+ Predicting how model propensities generalize OOD arXiv:2610.14937. 60 Nief+ Dynamic Weight Grafting
arXiv:2506.20746. 61 Shah, Ilyas, Madry. Decomposing and Editing Predictions arXiv:2404.11534. 62 Hartl+ Reusable
Regulatory Handles arXiv:2609.29755. 63 Creus Castanyer+ PopuLoRA arXiv:2605.16727. 64 Wang+ SuSiE 2020. 65 Lee+ pleiotropy GREML 2012.