학술

Aynaz: Offline, Document-Grounded Explanations of Words and Figures with Small Local Language Models

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

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.
Additional Features

관련 뉴스