145 1 week ago

SCALPELLO-GDP: Qwen3.5-0.8B with weights edited by gpt-6-astra (one Householder reflection, no training). Held-out math 9.4% → 53.6%. Tags: latest/q8_0 (834 MB), bf16 full (1.6 GB).

ollama run ollamagdp/qwen3.5-0.8b-scalpello-b2-gdp

Models

View all →

Readme

qwen3.5-0.8b-scalpello-b2-gdp — SCALPELLO-GDP

Autore / Author: Giovanni Del Papa (GDP), ricercatore indipendente, Italia / independent researcher, Italy — Lo Scienziato Dilettante GDP.

Tag

Tag Formato / Format Dimensione / Size
latest, q8_0 Q8_0 834 MB
bf16 BF16 — versione completa / full precision (stesso file GGUF di Hugging Face, SHA-256 05487355…f32b85) 1,6 GB
ollama run ollamagdp/qwen3.5-0.8b-scalpello-b2-gdp
ollama run ollamagdp/qwen3.5-0.8b-scalpello-b2-gdp:bf16

Parametri già impostati / preset parameters: temperature 0.6, top_p 0.95, top_k 20, presence_penalty 1.5, num_ctx 16384 (thinking attivo / on). Solo testo / text only.

Accuracy per held-out cohort

Italiano

Qwen3.5-0.8B con una sola modifica dei pesi in forma chiusa, senza addestramento. Un modello di frontiera, gpt-6-astra di OpenAI chiamato via API, ha agito da editor (non da insegnante): scriveva codice Python eseguito in un kernel senza rete che conteneva i pesi e chiedeva forward pass su una Tesla T4 locale. gpt-6-astra non è stato modificato e non se ne è distillato nulla. Replica della weight-space programming (Takehi, Teoh, Zhang, Khattab, MIT CSAIL).

Metodo. Una riflessione di Householder (non un’inversione delle matrici) che ribalta il segno della direzione interna u di «ricontrollo ripetitivo» (strato 20, ‖u‖ = 1):

W’ = (I − 2uuᵀ) W = W − 2u(uᵀW)

applicata alle 12 matrici di uscita dell’attenzione degli strati 12–23 (9 linear_attn.out_proj e 3 self_attn.o_proj; 25,2 milioni di parametri). La norma di ogni matrice non cambia. Scelta su 32 problemi di sviluppo (passaggi 5–17): +46,9 ± 9,0 punti; una direzione casuale sugli stessi tensori: +3,1 ± 5,5. Edit congelato dopo il passaggio 17, prima dei test held-out.

Risultati (6 coorti disgiunte di 64 problemi di esercitazione GSM8K train + MATH train, mai usati per scegliere l’edit; non i test ufficiali; limite 8.192 token):

Originale Editato
Accuratezza, 384 problemi 9,38% 53,65% (+44,27 ± 2,56 punti, IC 95% 39,32–49,22)
GSM8K train (192) 10,42% 65,62%
MATH train (192) 8,33% 41,67%
Risposte interrotte al limite 91,7% 28,1%
Migliorati / peggiorati 171 / 1 (McNemar esatto p ≈ 5,8 × 10⁻⁵⁰)

Ultimo lotto (forward 25, 64 problemi): 9,38% → 54,69%, 29 migliorati, 0 peggiorati. 25⁄25 passaggi con uscita 0 e rete CLEAN; costo API 8,43 USD su un tetto di 60 USD.

Perché migliora. 170 dei 171 guadagni erano problemi in cui il modello originale arrivava al limite senza alcuna risposta; sugli stessi problemi i «wait» scendono da 13,1 a 1,1 ogni 1.000 token. L’edit toglie un ostacolo (il loop), non aggiunge conoscenza matematica.

Limiti: split di esercitazione, budget 8.192 token invece di 32.768, un campione, una sola esecuzione.

Licenza: Apache-2.0, ereditata da Qwen3.5-0.8B. Articolo CC BY 4.0.

English

Qwen3.5-0.8B with one closed-form weight edit and no training. A frontier model, OpenAI gpt-6-astra called via API, acted as an editor (not a teacher): it wrote Python run in an offline kernel holding the weights and requested forward passes on a local Tesla T4. gpt-6-astra was not modified and nothing was distilled from it. Replication of weight-space programming (Takehi, Teoh, Zhang, Khattab, MIT CSAIL).

Method. One Householder reflection (not a matrix inversion) that flips the sign of the internal “repetitive re-checking” direction u (layer 20, ‖u‖ = 1):

W’ = (I − 2uuᵀ) W = W − 2u(uᵀW)

applied to the 12 attention output matrices of layers 12–23 (9 linear_attn.out_proj and 3 self_attn.o_proj; 25.2 M parameters). Every matrix keeps its norm. Selected on 32 development problems (passes 5–17): +46.9 ± 9.0 pts; a random direction on the same tensors: +3.1 ± 5.5. Edit frozen after pass 17, before the held-out evaluation.

Results (6 disjoint cohorts of 64 GSM8K-train + MATH-train practice problems, never used to choose the edit; not official benchmarks; 8,192-token cap):

Original Edited
Accuracy, 384 problems 9.38% 53.65% (+44.27 ± 2.56 pts, 95% CI 39.32–49.22)
GSM8K train (192) 10.42% 65.62%
MATH train (192) 8.33% 41.67%
Answers cut at the limit 91.7% 28.1%
Gains / losses 171 / 1 (exact McNemar p ≈ 5.8 × 10⁻⁵⁰)

Last batch (forward 25, 64 problems): 9.38% → 54.69%, 29 gains, 0 losses. 25⁄25 passes with exit 0 and network CLEAN; API cost 8.43 USD of a 60 USD cap.

Why it helps. 170 of the 171 gains were problems where the original model hit the limit with no answer; on those problems “wait” fell from 13.1 to 1.1 per 1,000 tokens. The edit removes a looping obstacle; it adds no mathematical knowledge.

Limitations: practice-split problems, 8,192-token budget instead of 32,768, one sample, one run.

License: Apache-2.0, inherited from Qwen3.5-0.8B. Paper CC BY 4.0.