Search arXiv⌕ Search

arXiv subjects

Matthew Ritch

Publications and source records attributed to Matthew Ritch.

2 recordsLinked to original sources

Spanner: a Weights-Only Lineage Distance for LLMs Across Architectures and Tokenizers

Open LLMs are heavily remixed, so their lineages are difficult to trace. Existing weight-based model lineage measurements are restricted to models of the same size or tokenizers or do not properly handle model symmetries. Output-based lineage measurements cannot distinguish weight descent from distillation. We introduce Spanner ($D$), a weights-only pseudometric that projects attention and MLP invariants onto shared tokens and compares layer spans with Yanai's GCD. Spanner compares LLMs across architectures, tokenizers, and dimensions while ignoring symmetries such as residual stream rotation that do not change the models' outputs. We show that $D$ is invariant to model symmetries, that $D^2$ is an effective measurement of cumulative learning rate on Pythia ($R^2 = 0.98$), and that $D$ is competitive with or outperforms published baselines (0.991 AUROC on AWM, 0.889 on LLM Biometrics). We also show that $D$ separates weight descent from behavioral convergence. We use $D$ to audit a set of open models on the Hugging Face Hub and find several models with potentially misattributed parents. Excluding download time, $D$ can calculate a full distance matrix between 1,000 8B models in about 17 hours for $30 on a Hugging Face l40sx1, so our method enables large-scale open model lineage tracing and auditing.

cs.LG↗

Bayesian Prevalence Estimation from Pooled and Individual Data

Pooled and individual disease testing are common methods for determining the population prevalences of diseases. Recently, researchers have used Monte Carlo Markov Chain methods to estimate population prevalence from the combined streams of these two types of testing data. We propose an analytical solution for estimating population prevalence from combined individual and pooled binary sampling data. We also use simulated sampling data to characterize these posterior distributions under a variety of sampling conditions, including a range of true prevalences, variable numbers of pooled and individual tests, variable number of individual samples per pooled sample, and a range of values for test sensitivity and specificity.

stat.ME↗