atlas

Research map / Large language models / Reasoning and chain of thought

Neural Garbage Collection: Learning to Forget while Learning to Reason

NeurIPS 2026 · Large language models › Reasoning and chain of thought · approach: Long CoT dynamics and efficiency · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Neural Garbage Collection (NGC), which trains a reasoning LM end-to-end with Dr. GRPO to sample KV-cache eviction decisions (Gumbel top-k over attention-derived block scores) alongside tokens, using only outcome reward.

Problem

Chain-of-thought reasoning grows the KV cache without bound, and existing eviction methods rely on hand-designed heuristics or proxy objectives rather than task reward.

Approach

Treat KV-cache eviction as a discrete action sampled from the LM (Gumbel top-k over attention-based block scores, parameter-free, phi=theta) and optimize it jointly with reasoning tokens via a single outcome-based RL reward, with replay attention masks to get correct off-policy log-probs.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: Countdown DAPO-17k

Benchmarks: Countdown AMC 2023 AMC 2025 AIME 2025

Metrics: pass@1 accuracy pass@32 average peak KV cache reduction

Baselines: SnapKV KeyDiff KNorm StreamingLLM Targeted KV dropout Token log-probs only

Builds on: GRPO Dr. GRPO SnapKV Gumbel-top-k

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy