SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2023.findings-emnlp.879 · EMNLP Findings · 2023

Subspace Chronicles: How Linguistic Information Emerges, Shifts and Interacts during Language Model Training

Ivan Titov, Barbara Plank, Max Müller-Eberstein, Rob Van Der Goot

Open in the Atlas

Code that ran

5 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 4 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-24; 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/2023.findings-emnlp.879.json · badge: /api/ran/2023.findings-emnlp.879.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
mainlp/subspace-chronicles canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
classify_dataset Ran
ran on a synthesized input
mainlp/subspace-chronicles/utils/training.py
code served (permissive licence) · get_code("dc334f952c04b903")
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 defaultdict. 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 torch
import torch.nn as nn
import numpy as np
from collections import defaultdict

torch.manual_seed(0)

# Define a minimal classifier
class MinimalClassifier(nn.Module):
    def __init__(self, input_dim=4, num_classes=2):
        super().__init__()
        self.linear = nn.Linear(input_dim, num_classes)
    
    def forward(self, x):
        return self.linear(x)
    
    def get_labels(self, predictions):
        return torch.argmax(predictions, dim=1).tolist()

# Define a minimal criterion
class MinimalCriterion(nn.Module):
    def __init__(self, num_classes=2):
        super().__init__()
        self.num_classes = num_classes
        self.ce_loss = nn.CrossEntropyLoss()
    
    def forward(self, predictions, labels):
        loss = self.ce_loss(predictions, labels)
        return {'loss': loss}
    
    def get_accuracy(self, predictions, labels):
        preds = torch.argmax(predictions, dim=1)
        acc = (preds == labels).float().mean()
        return acc

# Define a minimal dataset
class MinimalDataset:
    def __init__(self, num_samples=8):
        self.num_samples = num_samples
        self._inputs = torch.randn(num_samples, 4)
        self._labels = torch.randint(0, 2, (num_samples,))
    
    def get_shuffled_batches(self, batch_size):
        indices = torch.randperm(self.num_samples)
        shuffled_inputs = self._inputs[indices]
        shuffled_labels = self._labels[indices]
        
        for i in range(0, self.num_samples, batch_size):
            end_idx = min(i + batch_size, self.num_samples)
            batch_inputs = shuffled_inputs[i:end_idx]
            batch_labels = shuffled_labels[i:end_idx]
            num_remaining = max(0, self.num_samples - end_idx)
            yield (batch_inputs, batch_labels, num_remaining)
    
    def get_batches(self, batch_size):
        for i in range(0, self.num_samples, batch_size):
            end_idx = min(i + batch_size, self.num_samples)
            batch_inputs = self._inputs[i:end_idx]
            batch_labels = self._labels[i:end_idx]
            num_remaining = max(0, self.num_samples - end_idx)
            yield (batch_inputs, batch_labels, num_remaining)

# Create instances
classifier = MinimalClassifier(input_dim=4, num_classes=2)
criterion = MinimalCriterion(num_classes=2)
optimizer = torch.optim.SGD(classifier.parameters(), lr=0.01)
dataset = MinimalDataset(num_samples=8)

ARGS = {
    'classifier': classifier,
    'criterion': criterion,
    'optimizer': optimizer,
    'dataset': dataset,
    'batch_size': 2,
    'mode': 'train',
    'return_predictions': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict 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_first_embedding Ran
ran on a synthesized input
mainlp/subspace-chronicles/models/encoders.py
code served (permissive licence) · get_code("55a6c9130d55aa41")
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 Tensor, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 torch

torch.manual_seed(0)

# The function indexes into token_embeddings at position 0
# So we need a tensor-like object that supports indexing
# Based on the function body, token_embeddings[0] suggests it's indexable
# A simple 2D tensor works: shape (batch, embedding_dim)

token_embeddings = torch.randn(2, 4)

ARGS = {
    "token_embeddings": token_embeddings
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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_mean_embedding Ran
ran on a synthesized input
mainlp/subspace-chronicles/models/encoders.py
code served (permissive licence) · get_code("451b48742388db63")
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 Tensor, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 torch

torch.manual_seed(0)

# Create a small tensor of token embeddings
# Shape: (batch_size=2, embedding_dim=4)
token_embeddings = torch.randn(2, 4)

ARGS = {
    "token_embeddings": token_embeddings,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (4,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
linearize_coreferences Ran
ran on a synthesized input
mainlp/subspace-chronicles/tasks/ontonotes/convert.py
code served (permissive licence) · get_code("7156561bbde17915")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.

from collections import defaultdict

# Analyze the function:
# - Takes 'sentence' parameter which is a dict
# - Accesses sentence['coref_spans'] - a list of tuples (cluster_idx, start_idx, end_idx)
# - Accesses sentence['words'] - a list/sequence of words
# - Returns a list of labels or empty list

# Create a valid sentence dict with coreference spans
sentence = {
    'coref_spans': [
        (0, 0, 1),   # cluster 0, span from word 0 to 1
        (0, 5, 6),   # cluster 0, span from word 5 to 6 (same cluster, so has 2+ mentions)
        (1, 2, 3),   # cluster 1, span from word 2 to 3
        (1, 8, 9),   # cluster 1, span from word 8 to 9 (same cluster, so has 2+ mentions)
    ],
    'words': ['The', 'cat', 'sat', 'down', 'and', 'the', 'cat', 'meowed', 'it', 'was', 'happy']
}

ARGS = {
    'sentence': sentence
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
reparametrize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mainlp/subspace-chronicles/models/bayesian.py
pointer only (licence: MIT); the stored copy get_code serves, from lena-voita/description-length-probing, is pointer only (licence: NONE) · get_code("2466d861eece0826")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lena-voita/description-length-probing, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is 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, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 4 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.

FunctionAlso present inEarliest-datedOthers named
reparametrize 1 other paper
1 dated earlier
2003.12298 (2020-03)
Information-Theoretic Probing with Minimum Description Length

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-24.

Repositories linked to this paper

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

Abstract

Representational spaces learned via language modeling are fundamental to Natural Language Processing (NLP), however there has been limited understanding regarding how and when during training various types of linguistic information emerge and interact. Leveraging a novel information theoretic probing suite, which enables direct comparisons of not just task performance, but their representational subspaces, we analyze nine tasks covering syntax, semantics and reasoning, across 2M pre-training steps and five seeds. We identify critical learning phases across tasks and time, during which subspaces emerge, share information, and later disentangle to specialize. Across these phases, syntactic knowledge is acquired rapidly after 0.5% of full training. Continued performance improvements primarily stem from the acquisition of open-domain knowledge, while semantics and reasoning tasks benefit from later boosts to long-range contextualization and higher specialization. Measuring cross-task similarity further reveals that linguistically related tasks share information throughout training, and do so more during the critical phase of learning than before or after. Our findings have implications for model interpretability, multi-task learning, and learning from limited data.

For agents

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

get_harvested_code_for_paper("2023.findings-emnlp.879")
get_code_for_paper("2023.findings-emnlp.879")
have("2023.findings-emnlp.879")

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

curl https://syntology.ai/api/ran/2023.findings-emnlp.879.json

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

[![Syntology run record](https://syntology.ai/api/ran/2023.findings-emnlp.879.svg)](https://syntology.ai/paper/2023.findings-emnlp.879)

Connect an agent — have() is free.