Skip to main content
Search

# Conditional Memory

5 related articles

Subscribe to updates
  1. bioRxiv

    A phage DNA model learns to denoise both ways: CPDD corrects 42.4% of visible wrong bases in one pass

    Autoregressive DNA language models generate left to right, yet genome repair and editing usually condition on both flanks. The CreatiPhage team converted a 144.5M-parameter phage autoregressive model into CPDD, a 147.5M-parameter bidirectional discrete diffusion model; on 522 screened phage coding sequences it restores randomly masked bases more accurately than the comparable diffusion model PhaGen, and in a mixed-corruption test a single forward pass returns 42.4% of visible incorrect bases to the correct base.

  2. arXiv

    Conditional-memory tables stop spending bits by access frequency: gating each lookup cuts DeepSeek table memory from 23.6 to 3.04 GiB

    Large language models store part of their factual knowledge in hash tables keyed by preceding token sequences, and low-bit quantization erases long-tail facts first, while giving more bits to frequently accessed rows does worse than choosing at random. GateRQ stores each row as a ladder of residual codes, computes each lookup's gate from a 1-bit code, and reads deeper levels only for the lookups the gate ranks highest. On DeepSeek-V4.1-Flash it cuts table memory from 23.6 to 3.04 GiB per GPU and raises vLLM throughput over FP8 tables in GPU memory by about 11% and about 31% on the two workloads, losing about 1 PopQA point at 1.50 bits per lookup.

  3. arXiv

    Two-bit lookup tables shrink DeepSeek's 203 GB memory to 51 GB and cut prefill from 64.66 s to 13.27 s

    Conditional memory lets a language model add capacity through lookup, but the whole embedding table must stay resident; DeepSeek's table alone is 203 GB. Conditional Program stores each row as a short code plus a local scale and reconstructs it with a Gaussian trellis shared across the table, decoding only the rows an input requests. At two bits, storage falls roughly four- to eightfold, most reported task scores stay close to their originals, and output KL is 41–63% lower than 2-bit round-to-nearest.

  4. arXiv

    EngramEdit Decouples Knowledge Updates via Conditional Memory, Reaching 93.9 Utility on CounterFact While Retaining Over 96% of General Ability

    EngramEdit proposes decoupled knowledge updates through conditional memory: it first computes target memory representations that make the model predict an updated fact across multiple expressions, then jointly solves updates to shared n-gram embeddings while penalizing changes to frequently reused embeddings more strongly; on LongCat-Flash-Lite, updating only conditional memory yields near-perfect editing success on CounterFact and ZsRE, revised facts transfer to unseen expressions and multi-hop reasoning, and unrelated knowledge and general capabilities are largely preserved.

  5. arXiv

    MoME: Turning Sparse Lookup into Context-Aware Memory Mixtures

    The work introduces Mixture of Memory Embeddings (MoME), which replaces each token's single memory row with multiple memory slots and uses a learned gate over the hidden state to sparsely choose which slots to read at each position, giving memory retrieval a context-aware form while keeping cheap token-indexed lookup; in controlled pretraining across nanochat, Llama-3/MobileLLM, and Qwen3 backbones, MoME improves over Value Embedding, Bigram, and STEM baselines in iso-parameter and iso-training-FLOP settings, shows a more favorable memory-size scaling trend at sub-billion scale, remains efficient in training and inference, and routing analyses on polysemous tokens suggest the same surface token is dispatched to distinct memory slots under different senses.

You’re all caught up