Reproduce “LooM: Loop-Invariant Memory for Causal Encoder-Decoder Language Models” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Lele Yang, Muxi Diao, Zhonghao Yan, Jiankang Chen, Bin Wen, Tingting Gao, Wentao Zhang, Kongming Liang and 2 more

LooM uses a language model across decoder-call budgets from 3 to 21 while keeping cache size fixed. The encoder and first decoder layer write shared context once; later layers reread it and publish local cache entries only once. At 21 calls, the 204-million-parameter model lowers test cross-entropy by 0.020 nats per token versus a six-call model.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.