arXiv AI By Michael J. Bommarito II

MimeLens: Position-Agnostic Content-Type Detection for Binary Fragments

Read the original on arXiv AI →

arXiv:2606. 04171v1 Announce Type: cross Abstract: File-type classification underlies many workflows like malware triage, forensic carving, packet inspection, and storage indexing.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
Oct 16

Patch where the text is new: a compression view of where byte-level models should spend compute

The paper introduces a novel patching strategy for byte‑level language models, called novelty patching, which starts a new patch when upcoming bytes are unlikely to repeat recent context, inspired by LZ77 compression. Experiments on a 1.9 GB math corpus show that novelty patching improves final‑answer accuracy from 47 % to 72 % at 12 M parameters and raises computed‑result accuracy from 21 % to 57 % at 50 M parameters, while having limited impact on prose and source code. The study also analyzes patch boundary distributions and reports several failed approaches, such as typed uncertainty and context‑aware novelty prediction. whyItMatters":"The findings demonstrate that a simple, data‑driven patching rule can significantly enhance the performance of byte‑level models on tasks involving computed results, offering a practical improvement for large language models that process raw text without explicit labels."

By Nicol\'as Vera Z\'u\~niga
arXiv Machine Learning
Nov 5

Signed but Steerable: Measuring and Closing the Text-Vector Integrity Gap in Offline Retrieval-Augmented Generation

The paper investigates a security gap in offline retrieval‑augmented generation (RAG) systems on edge devices, where signed knowledge packs contain text and pre‑computed embedding vectors but the signature does not guarantee that the vectors accurately represent the text. By analyzing cosine tolerances and angular retrieval margins across corpora and embedding models, the authors show that a verifier accepting vectors within a small tolerance can expose up to 5.5% of queries to attackers, and that common inference pipelines are not bit‑reproducible. They propose a robust verification approach that checks quantisation codes, uses a calibrated guard band, and canonicalisation, which successfully rejects tampered vectors while accepting all honest ones on multiple platforms.

By Georgios Feretzakis, Alexandros Papaspyridis
arXiv Computation and Language
Sep 16

Where Post-Training Quantization Breaks Text Embedders: A Measured Map Across Four Embedder Families

arXiv:2609. 16391v1 Announce Type: cross Abstract: Weight-only post-training quantization is the cheapest way to shrink a retrieval embedder, and the received advice for applying it -- protect the embedding table, allocate bits by module sensitivity, prefer a ranking-aware objective over weight reconstruction -- was carried into LLM quantization largely intact.

By Hyojung Han
arXiv Machine Learning
Oct 28

Speculative Decoding for Mixture-of-Experts Models: Expert Bytes, Kernel Bandwidth and the Best Draft Length

The paper investigates speculative decoding for mixture‑of‑experts (MoE) language models, focusing on how deduplication of expert reads can reduce byte traffic and improve decoding speed. By modeling step time as a function of bytes requested and kernel bandwidth, the authors derive conditions under which speculation outperforms plain decoding and identify the optimal draft length as a staircase function of acceptance rate. Experiments on llama.cpp Metal, MLX‑LM, and llama.cpp CUDA show that deduplication is only faster for very short draft lengths (5–8 tokens) or not at all, and the predicted crossover points closely match measured savings across multiple configurations.

By Yuzheng Lan