Skip to content
Back to skills

Ttt E2e Long Context

ASecurity

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.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpythonperformance

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add ADu2021/skillXiv --skill ttt-e2e-long-context --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Ttt E2e Long Context
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adu2021-ttt-e2e-long-context/badge)](https://www.skillsdirectory.com/skills/adu2021-ttt-e2e-long-context)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.