Aynaz:基于小型本地大语言模型的离线文档词语与图表解释工具
Aynaz: Offline, Document-Grounded Explanations of Words and Figures with Small Local Language Models
AI 导读
Aynaz 是一款免费桌面阅读器,用本地运行的小型模型按文档语境解释选中词语和框选图表,全程离线,不依赖云端服务。其文本端为 4-bit 量化的 Qwen3-4B,图表端为 Qwen3-VL-4B,结合 BM25 检索与 schema 约束解码。
正文 · 原文
Abstract:Readers of technical documents often meet words whose meaning depends on the field (kernel, moment or resistance mean different things in a physics paper, a statistics paper and a clinical study) and figures that are hard to read. A common alternative is to upload the document to a cloud chat assistant, at the cost of network access, usage quota and, for confidential documents, privacy. We present Aynaz, a free desktop reader that explains a selected word the way the surrounding document uses it, with a meaning, an example and a small diagram, and explains a figure the reader draws a box around. Everything runs locally: Qwen3-4B for text and Qwen3-VL-4B for figures, both 4-bit (Q4_K_M) quantised and served by this http URL, with a compact context packet, BM25 retrieval and schema-constrained decoding. On 131 cases built around words with several meanings across 8 fields, scored by a larger model, Aynaz picks the document's sense in 91 of 93 polysemous cases (97.8%, 95% CI [92.5, 99.4]); its first words appear after a median of 249 ms and the full answer after 1018 ms on one consumer GPU. All 28 figure explanations were judged correct in context (95% CI lower bound 87.9%). In two evaluation runs the answers were identical, while the judge's verdicts moved in 24 of 131 cases when its server configuration changed.
| Comments: | 9 pages. Software available at this https URL |
| Subjects: | Artificial Intelligence (cs.AI); Computer Vision and Pattern Recognition (cs.CV) |
| Cite as: | arXiv:2611.36934 [cs.AI] |
| (or arXiv:2611.36934v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.36934 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Azharul Islam [view email]
[v1]
Fri, 27 Nov 2026 05:51:17 UTC (342 KB)
来源:arXiv cs.AI · arxiv.org