Views
No views yet
faast-Qwen2.5-3B-Instruct is an extension of Qwen2.5-3B-Instruct equipped with the FAAST module. The original Qwen2.5-3B-Instruct parameters are frozen, while only the FAAST readout projections are trained.tokenizer = AutoTokenizer.from_pretrained(args.model_path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(args.model_path, trust_remote_code=True)
fewshot_samples = ['sample 1', 'sample 2', ...]
inputs = tokenizer(fewshot_samples, return_tensors="pt", padding=True)
model.reset_projection() # clear existing fast weights
model.learn(**inputs) # learn new fast weights
model.generate(...) # do the task using the learned fast weightsp < 0.05.| Method | En-De 1-shot | En-De full | De-En 1-shot | De-En full | En-Fr 1-shot | En-Fr full | Fr-En 1-shot | Fr-En full |
|---|---|---|---|---|---|---|---|---|
| Qwen2.5-3B-Instruct (zero-shot) | - | 23.22 | - | 32.92 | - | 30.56 | - | 39.24 |
| In-Context Learning | 23.03 | - | 32.33 | - | 31.85 | - | 38.51 | - |
| FAAST (Ours) | 23.35 | 25.22 | 33.23 | 36.40 | 31.12 | 35.09 | 39.46 | 42.47 |
| Method | En-De 1-shot | En-De full | De-En 1-shot | De-En full | En-Fr 1-shot | En-Fr full | Fr-En 1-shot | Fr-En full |
|---|---|---|---|---|---|---|---|---|
| Qwen2.5-7B-Instruct (zero-shot) | - | 25.53 | - | 34.69 | - | 34.82 | - | 41.40 |
| In-Context Learning | 25.39 | - | 35.70 | - | 35.45 | - | 40.86 | - |
| FAAST (Ours) | 26.77 | 27.75 | 35.34 | 37.10 | 35.67 | 37.08 | 42.08 | 43.93 |
1@article{bao2026faast,
2 title={FAAST: Forward-Only Associative Learning via Closed-Form Fast Weights for Test-Time Supervised Adaptation},
3 author={Bao, Guangsheng and Zhang, Hongbo and Cui, Han and Sun, Ke and Zhao, Yanbin and He, Juncai and Zhang, Yue},
4 journal={arXiv preprint arXiv:2605.04651},
5 year={2026}
6}