potentialpaper

LongStraw: Memory-Constrained Policy Updates with Million-Token Prefixes

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:08 UTC · e106cc0403fa ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "qTktaznwss"
- }
- ],
- "title": "LongStraw: Memory-Constrained Policy Updates with Million-Token Prefixes",
- "authors": [],
- "abstract": "Policy training on long histories remains memory intensive even with low-rank adapters, because sequence state and activations grow with the input. We introduce LongStraw, a framework for memory-constrained policy updates on complete long inputs. It couples a compact, versioned prefix-state data structure with a capture–replay–recapture algorithm. The structure organizes layer-specific continuation tensors with their ownership, positions and gradient boundary, sharing prompt state across responses while keeping their extensions private. Capture constructs this state without autograd; block-wise reverse replay differentiates responses and an optional short prompt tail; recapture refreshes the state after each optimizer step. This bounds live activation memory while preserving access to the complete input. The update optimizes a conditional objective that omits gradients through construction of the captured prefix. On one H200, LongStraw completes million-token Qwen3.6-27B updates where native CPU-offloaded autograd of the same objective runs out of memory. On a fixed million-token question-answering benchmark, exact-match accuracy improves by 2.03 percentage points across paired training seeds. Experiments show learning gains on complete inputs up to 4M tokens, and distributed GLM-5.2 experiments demonstrate online policy updates. These results show how jointly organizing prefix state, backward computation and state refresh makes policy training on complete long histories feasible under memory constraints.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "6a70db77-8382-4946-b65c-38fb0a5919a0"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "LongStraw: Memory-Constrained Policy Updates with Million-Token Prefixes",
+ "authors": [],
+ "abstract": "Policy training on long histories remains memory intensive even with low-rank adapters, because sequence state and activations grow with the input. We introduce LongStraw, a framework for memory-constrained policy updates on complete long inputs. It couples a compact, versioned prefix-state data structure with a capture–replay–recapture algorithm. The structure organizes layer-specific continuation tensors with their ownership, positions and gradient boundary, sharing prompt state across responses while keeping their extensions private. Capture constructs this state without autograd; block-wise reverse replay differentiates responses and an optional short prompt tail; recapture refreshes the state after each optimizer step. This bounds live activation memory while preserving access to the complete input. The update optimizes a conditional objective that omits gradients through construction of the captured prefix. On one H200, LongStraw completes million-token Qwen3.6-27B updates where native CPU-offloaded autograd of the same objective runs out of memory. On a fixed million-token question-answering benchmark, exact-match accuracy improves by 2.03 percentage points across paired training seeds. Experiments show learning gains on complete inputs up to 4M tokens, and distributed GLM-5.2 experiments demonstrate online policy updates. These results show how jointly organizing prefix state, backward computation and state refresh makes policy training on complete long histories feasible under memory constraints.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}