Fine-Tuning Gemma 4 Edge Models for MATLAB Signal-Processing Code with SFT and QLoRA on a Laptop iGPU
- ID: 198c4b15
- 原文链接: https://arxiv.org/abs/2611.23205
- PDF: https://arxiv.org/pdf/2611.23205v1
- 作者: Mehmet Altan Toksöz
- 日期: 2026-11-17
- 更新: 2026-11-17
- 分类: models
- 来源类型: paper
- 标签: fine-tuning, qlora, edge-ai, on-device, openvino
- 质量评分: 4/5
- 抓取时间: 2026-11-19T12:23:46Z
中文导读
要在笔记本上离线生成信号处理代码的小模型在 DSP 惯例上犯系统性错误。作者用 66 个经人工检查的样本覆盖 11 个 MATLAB 信号处理子任务,对 Gemma 4 E2B/E4B 在笔记本 iGPU 上做 LoRA 与 QLoRA SFT,并以 int8 带适配器经 OpenVINO 部署。确定性检查器评分下,E2B 通过率从 18/66 升至 37/66(LoRA 与 QLoRA 相同),E4B(QLoRA)从 32/66 升至 47/66;逐一阅读全部 159 个失败程序显示,适配器消除了大部分惯例类错误(lag 符号、单位、数组形状),但很少修复信号与噪声构造类错误;运行时适配器付出 17-19% 的生成速度代价。
为什么值得关注
给出一条完整可复制的端侧微调路径:66 条样本 + iGPU QLoRA + int8 OpenVINO 部署,并用逐失败程序归因把收益拆成“惯例错误可修、构造错误难修”,对端侧代码生成值不值得投微调有直接参考价值。
arXiv 2026-11 端侧模型研究:单作者 Mehmet Altan Toksöz,18 页 3 图 4 表,覆盖 LoRA/QLoRA 训练、iGPU 推理与 OpenVINO int8 部署全链路。
关键信息
- 论文标题:Fine-Tuning Gemma 4 Edge Models for MATLAB Signal-Processing Code with SFT and QLoRA on a Laptop iGPU
- 作者:Mehmet Altan Toksöz
- arXiv: https://arxiv.org/abs/2611.23205
- 发布时间:2026-11-17
- arXiv 分类:cs.LG, cs.AI, cs.SE, eess.SP
- 关联标签:fine-tuning, qlora, edge-ai, on-device, openvino
- 备注:18 pages, 3 figures, 4 tables
English Abstract
Small language models that run on a laptop are attractive for writing signal-processing code offline, but they make systematic errors on digital signal processing (DSP) conventions. We apply supervised fine-tuning (SFT) to the Gemma 4 edge models E2B and E4B with 66 checked examples covering 11 signal-processing MATLAB subtasks, using low-rank adaptation (LoRA) and quantized LoRA (QLoRA) on the integrated GPU (iGPU) of a laptop, and deploy the 8-bit integer (int8) models with the adapters through OpenVINO. On held-out variants scored by deterministic checkers, the pass rate rises from 18/66 to 37/66 (LoRA) and 37/66 (QLoRA) for E2B and from 32/66 to 47/66 for E4B (QLoRA). Reading all 159 failing programs shows that the adapters remove most errors of convention, such as the sign of a lag, units and array shapes, but few errors in building signals and noise. Applied at run time, the adapter costs 17-19% of the generation speed.
English Summary
Small language models that run on a laptop are attractive for offline signal-processing code generation but make systematic errors on DSP conventions. The author applies SFT to Gemma 4 edge models E2B and E4B using 66 checked examples covering 11 MATLAB signal-processing subtasks, running LoRA and QLoRA on a laptop iGPU and deploying int8 models with adapters through OpenVINO. On held-out variants scored by deterministic checkers, pass rate rises from 18/66 to 37/66 (LoRA and QLoRA) for E2B and from 32/66 to 47/66 (QLoRA) for E4B. Reading all 159 failing programs shows the adapters remove most convention errors — sign of a lag, units, array shapes — but few errors in building signals and noise. Adapters cost 17-19% of generation speed at run time, making this a reproducible recipe for on-device DSP code fine-tuning with a clear account of what small-data adapters do and do not fix.
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。