SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.07847 · 2026

When Does Continual Learning Require Learning

Trevor Darrell, Jitendra Malik, Anastasia Borovykh, Anne Harrington, Yutong Bai, Zeyu Yun, Nayan Saxena, Michael Murphy, Sridhar Kamath, Ara Eindra Kyi

arXiv · PDF · Open in the Atlas

Code that ran

2 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2607.07847.json · badge: /api/ran/2607.07847.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
anneharrington/studying-cl canonical (classifier label)
classifier basis: census
2 ran · 3 no recorded run
FunctionStatusWhere it lives
ensure_unique_output_dir Ran
ran; our contract draft was wrong, not the code
anneharrington/studying-cl/cl/config.py
code served (permissive licence) · get_code("978c9088aa4d5d52")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import uuid
from datetime import datetime
import re

def _unique_output_dir(base_dir):
    """Append a timestamp and short random ID to an output directory path.

    results/gepa_sequential → results/gepa_sequential_20260402_a3f1
    """
    stamp = datetime.now().strftime('%Y%m%d_%H%M')
    short_id = uuid.uuid4().hex[:4]
    return f'{base_dir}_{stamp}_{short_id}'

def ensure_unique_output_dir(cfg):
    """Add timestamp+ID to cfg['output_dir'] if it doesn't already have one.

    Call this from runners that use traditional (non-composable) configs,
    so they also get unique output dirs. Safe to call multiple times —
    it detects if a timestamp suffix is already present.
    """
    output_dir = cfg.get('output_dir', 'results/run')
    if re.search('_\\d{8}_\\d{4}_[0-9a-f]{4}$', output_dir):
        return cfg
    cfg['output_dir'] = _unique_output_dir(output_dir)
    return cfg

# Test case 1: cfg without output_dir key
ARGS = {
    'cfg': {}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_config Ran
ran; our contract draft was wrong, not the code
anneharrington/studying-cl/cl/config.py
code served (permissive licence) · get_code("4fe7abf3b85fdbfa")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
from pathlib import Path
import yaml

# Create temporary directory structure for configs
temp_dir = tempfile.TemporaryDirectory()
configs_dir = Path(temp_dir.name) / 'configs'
configs_dir.mkdir(exist_ok=True)

# Create subdirectories
models_dir = configs_dir / 'models'
tasks_dir = configs_dir / 'tasks'
methods_dir = configs_dir / 'methods'
models_dir.mkdir(exist_ok=True)
tasks_dir.mkdir(exist_ok=True)
methods_dir.mkdir(exist_ok=True)

# Create sample model profile
model_profile = {
    'task_lm': 'openai/gpt-4',
    'api_key_env': 'OPENAI_API_KEY',
    'api_base': 'https://api.openai.com/v1',
    'num_threads': 2,
    'eval_num_threads': 2,
}
with open(models_dir / 'test_model.yaml', 'w') as f:
    yaml.dump(model_profile, f)

# Create sample task config
task_config = {
    'dataset': {
        'name': 'test_dataset',
        'train_n': 10,
        'val_n': 5,
        'eval_n': 5,
    }
}
with open(tasks_dir / 'test_task.yaml', 'w') as f:
    yaml.dump(task_config, f)

# Create sample method config
method_config = {
    'num_threads': 2,
    'eval_num_threads': 2,
    'max_iterations': 5,
}
with open(methods_dir / 'gepa.yaml', 'w') as f:
    yaml.dump(method_config, f)

# Create a complete traditional config file
traditional_config = {
    'model': {
        'task_lm': 'gpt-4',
        'api_key_env': 'OPENAI_API_KEY',
    },
    'dataset': {
        'name': 'test',
        'train_n': 10,
        'val_n': 5,
    }
}
traditional_config_path = Path(temp_dir.name) / 'traditional_config.yaml'
with open(traditional_config_path, 'w') as f:
    yaml.dump(traditional_config, f)

# Create a composable config file
composable_config = {
    'model': 'test_model',
    'tasks': ['test_task'],
}
composable_config_path = Path(temp_dir.name) / 'composable_config.yaml'
with open(composable_config_path, 'w') as f:
    yaml.dump(composable_config, f)

# Monkey-patch CONFIGS_DIR in the module
import sys
from types import ModuleType

ARGS = {
    'config_path': str(traditional_config_path),
    'method': None,
    'model': None,
    'tasks': None,
    'task': None,
    'split_overrides': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_gepa_tasks Not yet run
unverified (harvested, no recorded run)
anneharrington/studying-cl/cl/tasks.py
code served (permissive licence) · get_code("2f2c64ee4b893932")
How it ran

no invocation recorded.

get_system_prompt Not yet run
unverified (harvested, no recorded run)
anneharrington/studying-cl/cl/tasks.py
code served (permissive licence) · get_code("7cfd22b79a701a78")
How it ran

no invocation recorded.

get_task Not yet run
unverified (harvested, no recorded run)
anneharrington/studying-cl/cl/tasks.py
code served (permissive licence) · get_code("f387a906d3df00a6")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

As large language models (LLMs) become increasingly capable, the next question is how can we enable models to continually learn? Today, the field largely frames this as a problem of context management and mitigating forgetting. We argue this framing is incomplete: continual learning is fundamentally about increasing model competence as the world changes. We disentangle this change along two axes -space, where the model encounters new domains, and time, where the underlying data drifts under a fixed task. This framing lets us study continual learning under realistic conditions: new domains arrive over time, facts drift past their training cutoff, and agentic interactions accumulate state across episodes. To evaluate methods under this setting, we recast widely used LLM benchmarks as sequential problems and introduce a single mechanism-agnostic protocol that compares prompt-based methods (GEPA, ACE), supervised learning (SFT, SDFT), reinforcement learning (GRPO, SDPO), and context compression (Cartridges, In-place TTT). Prompt-based methods fit each new stage quickly but degrade on future tasks. Distillation-based methods accumulate knowledge stably but struggle to update outdated facts. Context compression improves efficiency without substantially improving the ability to learn new tasks. Online reinforcement learning adapts most effectively to knowledge updates but remains sensitive to noisy reward signals. Overall, our results suggest that continual learning is not a single capability: different patterns of environmental change require fundamentally different update behaviors, determining when adaptation must be learned inside model weights and when it can be achieved through external scaffolding. We hope that understanding where each method succeeds and fails will guide the design of stronger continual learning systems. † * Equal Contribution. † Code: https://github.com/anneharrington/studying-cl

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2607.07847")
get_code_for_paper("2607.07847")
have("2607.07847")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2607.07847.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2607.07847.svg)](https://syntology.ai/paper/2607.07847)

Connect an agent — have() is free.