Fine-tuned Gemma 4 edge models cut MATLAB signal-processing errors on laptop GPUs
A small arXiv paper reports that supervised fine-tuning with LoRA and QLoRA on a laptop integrated GPU improves small models' ability to write correct MATLAB DSP code.
In plain words
Researchers fine-tuned two small Gemma 4 models so they follow digital signal processing conventions when writing MATLAB code, using a laptop's integrated GPU. On held-out test tasks, the share of programs passing automated checks roughly doubled. The adapters slightly slow text generation at run time.
What was announced
The authors applied supervised fine-tuning to the Gemma 4 edge models E2B and E4B using 66 checked examples spanning 11 signal-processing MATLAB subtasks, with LoRA and quantized LoRA run on a laptop's integrated GPU; the resulting 8-bit integer models were deployed with the adapters through OpenVINO. On held-out task variants scored by deterministic checkers, the pass rate rose from 18/66 to 37/66 for E2B under both LoRA and QLoRA, and from 32/66 to 47/66 for E4B with QLoRA.
Reviewing all 159 failing programs, the authors report that the adapters removed most convention errors, such as the sign of a lag, units and array shapes, but few errors in building signals and noise. They also note the adapter costs 17-19% of generation speed at run time. The findings come from the paper's abstract, so full experimental details are not available in the supplied source.
What it does not show
- The evidence is limited to the paper's abstract; full methodology, baselines and evaluation details are not available in the supplied source.
- Pass rates come from the authors' own deterministic checkers on held-out variants; no independent confirmation is provided.
- The source does not state model availability, licensing or how the fine-tuned adapters can be obtained.
For security and IT teams
- Scope
- The reported setup targets offline MATLAB signal-processing code generation on laptop hardware, with 8-bit models deployed through OpenVINO on an integrated GPU.
Sources
Source-support review completed 19 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 19 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.