Reproduce “Beyond Compressing Everything: Contrastive Memory Learning for Selective Context Compression” 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
Sikui Zhang, Haowei Liu, Ziyun Gan, Chunfeng Yuan, Guangze Gao, Nian Liu, Boyu Cai, Bo Li and 4 more
CoMem compresses long documents into question-conditioned learned memory slots. It trains them to retain context information while distinguishing questions about the same document, and allows slots to attend bidirectionally. On HotpotQA at 32× compression, its judge score is 0.6586 versus 0.4706 for SeleCom. At 64×, Stage I scores 0.98 on needle Any Signal, which accepts recognizable digit substrings, not exact recovery.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.