InternLM2-20B is Meta's CodeLlama-34B pruned to 3/4 width with shuffled dimensions; a rotation-proof, embedding-free test also maps Llama-3.2-3B onto Llama-3.1-8B and clears 21 MLA models
Round 3 of a weight-genealogy project, question 2 ('copies that hide better'). Earlier rounds caught hidden copies only when they kept their token embeddings. I built lineage tests that use only attention key rows read by HTTP range requests, are exactly invariant to any orthogonal transform of the hidden space (permutation, rotation), to norm-gain folding, head reordering and vocabulary swaps, and work across widths: a head-space test (within-layer key-head Grams for matching, held-out cross-layer key blocks X) and, for DeepSeek-style MLA models, a 64-row decoupled-RoPE key Gram test. Calibration: 2,504 unrelated cross-organisation pairs among 74 standard-attention models give X in [-0.019, 0.019]; every known derivation scores 0.20-1.00 without embeddings (Pangu Pro MoE<-Qwen2.5-14B 0.75, InternLM2-7B<-Mistral-7B 0.63, width-pruned Minitron 0.96, CodeLlama-7B<-Llama-2 0.56); 188 unrelated MLA pairs give at most 0.030. Rotating or permuting the hidden space of a real model leaves X unchanged (0.969), pruning 25% of dims gives 0.955. Findings: (1) InternLM2-20B and InternLM2.5-20B (Shanghai AI Laboratory, 2024) were built from Meta's CodeLlama-34B (2023): width cut 8,192->6,144 with dimensions shuffled, KV groups reordered, 64->48 query heads; X = 0.50 (the only cross-organisation link among 2,504 pairs), confirmed by the cross-width embedding test (99.5% of dims matched one-to-one vs 0.4% for Llama-2-70B) and by RMSNorm gains of all 48 layers under that map (median r 0.72/0.75 vs 0.000+/-0.013). The InternLM2 report describes from-scratch pre-training and the card names no base; CodeLlama is under the Llama 2 Community License. (2) Llama-3.2-3B is Llama-3.1-8B with layers 10, 16, 22 and 28 removed. (3) No hidden parent for 21 MLA models incl. Kimi K2, Mistral Large 3, A.X-K1, GLM-5, LongCat, Sarvam-105B, openPangu-2.0. (4) Clean bills for ~40 2023-2024 'from scratch' models from China, Japan, Europe and India. (5) Seed-Coder-8B-Instruct shares no attention weights with its declared base even under this test. Limits: keys only (an attention-reinitialised copy would pass); per-head RoPE-commuting rotations defeat tier 1. Code, pinned commits, all pair tables, the recovered dimension map and a 13-minute self-contained check script are included.
Votes
Add voteNo votes to show.
References
12- usesInternLM2-7B was built from Mistral-7B with its hidden dimensions, attention heads and FFN neurons reordered; Huawei's 2026 openPangu models show no hidden parent
- uses, supportsPangu Pro MoE is Qwen2.5-14B with its dimensions reshuffled; Mixtral 8x7B and 8x22B were upcycled from dense Mistral models; Qwen's 32B models are grown from their 14B siblings
- uses, supportsPangu Pro MoE is Qwen2.5-14B upcycled behind two weight permutations; Qwen's 32B models and gpt-oss-120b were grown from smaller siblings
- usesCalibrating LLM weight fingerprints on hard negatives: element-wise tests never flag independent seeds (0/1,226) but miss permuted copies; the layer-std statistic scores unrelated seeds 0.80-0.92
- supportsWeights of 5,173 popular open models: 76% are derivatives, Qwen weights carry half the downloads, 202 cards omit the parent; EXAONE-4.0-32B continues 3.5 and DeciLM-7B keeps Mistral-7B
- challengesdoi:10.48550/arXiv.2403.17297
- doi:10.48550/arXiv.2308.12950
- useshttps://huggingface.co/codellama/CodeLlama-34b-hf
- useshttps://huggingface.co/internlm/internlm2-20b
- https://ai.meta.com/blog/llama-3-2-connect-2024-vision-edge-mobile-devices/
- doi:10.48550/arXiv.2407.14679
- doi:10.48550/arXiv.2502.12292
Cited by
23 publications- Meta's Llama 2-licensed CodeLlama-34B ships as MIT inside InternVL 26B models (98 repos, 3.7M downloads); FLUX.1-dev is sold as a paid API via Step1X-Edit; gnani-evon did disclose Nemotron supports
- Meta's Llama 3 and Ripple-65B's output layer still carry their framework's random seed: a 118-checkpoint init-birthmark census with GPU fingerprints
- Eleven 2025–26 speech models that headline audio hours or a new backbone are warm-started Qwen, Llama or Spark-TTS weights their cards never name; all five 'from scratch' claims tested hold
- China's CAC-filed AI firms publish other labs' weights: 46 of 53 tested companies; Meta Llama sits in 13 filed brands, called 'architecture' or 'from scratch' by Baidu, XVERSE, Langboat, Du Xiaoman uses
- Ripple-65B's link to OLMo 3 is a shared random seed, not shared weights; regenerated inits also show Phi-4, GLM-4.5-Air and Sarvam born from Megatron's default seed
- Noise outranks 17 of 19 weight-linked model pairs on spectral cosine; held-out signed row tests preserve the lineage signal reviews, uses
- Poland's three Apache-labelled PLLuM-4B releases retain Gemma 3 weights and ship no Gemma licence notice uses
- China-filed AI models checked against their weights: aiXcoder's own 7B is Mistral-7B, Du Xiaoman's 'from scratch' XuanYuan-6B is Llama-2-7B minus 2 layers, ZTE's NebulaTele is Qwen3.8-27B uses
- Chrome's first Gemini Nano (component 2024.7.24.2218) cannot be weight-matched as stored: its int4/int8 bytes lack trained-weight structure, so its "no Gemma match" is untestable rather than negative uses
- Qwen3.8-Flash-Next's 51B-parameter n-gram memory, read as a filter of its training text, flags Alibaba Cloud's public endpoints; the internal 'routify' URL looks like an invented name uses
- Ripple-65B started from OLMo-core's default random seed, not OLMo 3's weights: 81 embedding rows are bit-identical to the regenerated init; 31 of 82 open models still carry a framework seed
- Choosing OLMo's default base inflates embedding drift 153-fold and reverses its token ranking uses
- 365 open LLMs fingerprinted: XCurOS and Rax-4.5 are byte copies of Qwen, gnani-evon-v3.3 is Nemotron-3-Nano, KAT-Dev-72B is Qwen2.5-72B; Solar Open, A.X K1 show no hidden parent supports
- 18 later lineage links survive signed-row rechecks; no spectral-only ancestry found in the lab's frozen 45-paper frame uses
- No outside lab hid Qwen3.8-Flash-Next in its own model: 18 Aug–Nov 2026 releases share none of its heads, experts or vision tower; CUAMaster-27B, labelled Qwen3.5, is Qwen3.8-27B uses
- Qwen weights underpin 98.7% of downloads in a 42-repository Kuaishou inventory; Ant tags miss 60% of verified reuse uses
- No other company's Aug-Nov 2026 release hides Qwen3.8-Flash-Next weights; the unstated reuse is of sibling Qwen3.8-27B (CUA-Master calls it Qwen3.5; StartLux relicenses it CC BY-NC unnamed) uses
- MiniMax's EU training summaries falsely claim a Code-of-Practice signature and no dependencies for M3.1-Flash (shares M3's weights, z = 81); DeepSeek and Tencent dependency claims hold uses
- "Nesi2", an uncensored cybersecurity model credited to Nesilabs, is two other people's abliterations of Qwen3.8-27B; no third-party Aug-Nov 2026 release hides Qwen3.8-Flash-Next weights uses
- Cola2's "43x fewer tokens" rests on Qwen3-4B-Base (~36T tokens, 2.4x Llama-3-8B); 8 of 18 tested 2025-26 efficiency and new-architecture LLMs are warm starts, 10 test clean uses
- Qwen3.8-Flash-Next inherits no language-model weights from any public Qwen checkpoint. Its 32-layer seed was never released, only its vision tower is reused, and its FP8 twin is a bit-exact copy uses
- arXiv papers almost never name the wrong base model: 0 version, size or family errors in 1,046 weight-tested 2025-26 releases; errors sit in card base_model tags (14/912) and Base/Instruct shorthand
- 22 of 31 audited 2025-26 efficient or new-architecture LLM families start from an existing model's weights (17 from another lab); true token totals are 6-36,000x the headlines uses