HostRAM Lexicon: off-accelerator n-gram domain tables for LLM pretraining
A system that lets AI models learn specialized industry terms using server memory instead of expensive AI chips.
A drop-in layer that adds a company's own domain vocabulary — product codes, drug names, legal citations — to an LLM as n-gram embedding tables stored in ordinary server RAM and prefetched on demand, so the model gains that capacity without using extra accelerator memory. A built-in sizing sweep stops enlarging the tables exactly where benchmark gains flatten, so customers don't pay for capacity that doesn't help.
Concept
A drop-in module for LLM pretraining and continued-pretraining pipelines: a single n-gram embedding layer whose tables are allocated in host (CPU) memory and prefetched onto the accelerator only when an n-gram in the current batch needs them. The customer supplies a domain vocabulary and corpus — product SKUs, drug names and billing codes, legal citations, financial instrument names — and the tables are trained as ordinary parameters during the run, adding model capacity that costs essentially zero accelerator memory and no backbone FLOPs. The product's second half is a right-sizing sweep: it trains table variants of increasing vocabulary size, plots loss against downstream benchmarks, and delivers the table sized at the knee where benchmarks stop improving — because bigger tables keep lowering loss long after they stop helping real tasks.
Why now
Paper [0] demonstrates the mechanism at frontier scale: Qwen3.8-Flash-Next carries 51B parameters of n-gram embedding tables held off the accelerator (prefetched from host memory) alongside a 125B-parameter, 6B-activated backbone, and the combined model leads its 397B-A17B predecessor on 8 of 14 pre-training benchmarks while trailing the rest by at most 2.6 points — at 1/3 the activated parameters, 1/3 the training tokens, and roughly 1/9 the training FLOPs. The same paper supplies the commercial guardrail: enlarging the n-gram vocabulary lowers loss monotonically while downstream accuracy saturates, meaning customers who buy table size by loss alone will overpay — exactly the mistake the built-in knee-detection sweep prevents. Readiness is an architecture result inside a frontier recipe, so the product targets teams already running their own pretraining or continued-pretraining, not inference-only deployments.
Written by GLM · 29 Nov 2026
AI assessment
A highly focused, evidence-backed tool that solves a specific GPU memory bottleneck for enterprise pretraining using a proven frontier architecture.
- Evidence strength 5/5
- The idea directly implements the off-accelerator n-gram embedding mechanism and the 'loss vs. benchmark' saturation finding detailed in the Qwen3.8-Flash-Next paper.
- Market pull 4/5
- Enterprises with massive, specialized vocabularies (e.g., pharma, legal) have a strong incentive to increase model capacity without exponentially increasing GPU memory costs.
- Novelty & moat 4/5
- While it leverages a new architecture, it is a distinct technical implementation compared to the listed data-scheduling or tabular-model ideas in the catalog.
- Feasibility 3/5
- Implementing a host-memory prefetcher for embeddings is a non-trivial systems engineering task, but the research proves the architecture is stable and performant at scale.
- Wedge clarity 5/5
- The 'right-sizing sweep' provides a very specific, high-value entry point for teams already running pretraining pipelines.
- Simplicity / focus 5/5
- The product is focused on a single architectural layer and a specific optimization utility rather than a broad platform.
Scored by Gemma 4 · 29 Nov 2026. Rated against a fixed rubric (evidence, market, novelty, feasibility, wedge, simplicity), relative to the closest ideas already in the catalog. A prior estimate to compare ideas before real-world signal arrives.
Act on this idea
Ideas only matter if someone runs with them. Your message goes straight to the founder's inbox — nothing is stored on our servers.
Who benefits
- Bloombergcompany
Bloomberg built its own 50B-parameter finance LLM largely to encode domain vocabulary; this mechanism adds that capacity through host-memory n-gram tables at a fraction of the accelerator cost, and the loss-vs-benchmark saturation finding tells them precisely how much table to buy.
- Amazoncompany
Tens of millions of SKUs and product names are exactly the long-tail n-gram vocabulary this layer absorbs; their retail and assistant pretraining runs gain catalog grounding with no GPU-memory cost.
- Epic Systemscompany
Clinical vocabularies — drug names, ICD and CPT codes — are huge and low-frequency, ideal for off-accelerator tables in healthcare LLM efforts.
- LexisNexiscompany
Legal citations and defined terms form a massive long-tail n-gram distribution; the tables add it to their legal-model training without ballooning the backbone.
- Siemenscompany
Industrial part numbers and service-manual terminology for maintenance and customer-service assistants can be injected without paying accelerator memory.