Enable long-context modeling via test-time training with meta-learning. Inner loop continues training on context, compressing information into weights rather than KV cache, outer loop optimizes initialization—maintaining full-attention quality with RNN-like constant inference latency across 8K-128K token contexts.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add ADu2021/skillXiv --skill ttt-e2e-long-context --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Ttt E2e Long Context?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/adu2021-ttt-e2e-long-context)More formats (shields.io, HTML) on the badges page.
---
name: ttt-e2e-long-context
title: "End-to-End Test-Time Training for Long Context"
version: 0.0.2
engine: skillxiv-v0.0.2-claude-opus-4.6
license: MIT
url: https://arxiv.org/abs/2512.23675
keywords: [long-context, test-time-training, meta-learning, efficiency]
description: "Enable long-context modeling via test-time training with meta-learning. Inner loop continues training on context, compressing information into weights rather than KV cache, outer loop optimizes initialization—maintaining full-attention quality with RNN-like constant inference latency across 8K-128K token contexts."
---
## Overview
Reformulates long-context as continual learning problem solved at test time.
## Core Technique
**Meta-Learning for Test Time:**
```python
# Inner loop: compress context into weights
for token in context:
gradient = compute_gradient_on_token(model, token)
model.weights += gradient # Compress context
# Outer loop: optimize initialization
# Treat inner loop as differentiable step
```
## Performance
- Full-attention quality across context lengths
- 2.7× faster than attention at 128K
- Constant-time inference
## References
- Test-time meta-learning
- Weight compression of context
- End-to-end optimization
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Practical guide to testing web applications with screen readers for comprehensive accessibility validation.
在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,包含单元测试、集成测试和端到端测试,覆盖率超过80%。
Go测试模式包括表格驱动测试、子测试、基准测试、模糊测试和测试覆盖率。遵循TDD方法论,采用地道的Go实践。
Django测试策略,包括pytest-django、TDD方法论、factory_boy、模拟、覆盖率以及测试Django REST Framework API。
克劳德代码会话的正式评估框架,实施评估驱动开发(EDD)原则