SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2006.16324 · 2020

Universal linguistic inductive biases via meta-learning

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 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 6 have no contract verdict; 0 failures of our instrument; 6 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2006.16324.json · badge: /api/ran/2006.16324.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
tommccoy1/meta-learning-linguistic-biases canonical (classifier label)
classifier basis: census
6 ran · 6 no recorded run
FunctionStatusWhere it lives
filtering_function Ran
ran on a synthesized input
tommccoy1/meta-learning-linguistic-biases/src/make_tasks.py
code served (permissive licence) · get_code("1dae4dca4528bfe9")
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 function. 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 numpy as np

torch.manual_seed(0)

ARGS = {
    "allowed_lengths": [2, 3, 5],
    "must_be_first": "start",
    "cant_be_first": "middle",
    "must_be_last": "end",
    "cant_be_last": "skip",
    "allowed_strings": ["start middle end", "start end", "begin middle finish"],
    "disallowed_strings": ["bad", "invalid", "forbidden"]
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
filtering_function Ran
ran on a synthesized input
tommccoy1/meta-learning-linguistic-biases/src/make_tasks_imp.py
code served (permissive licence) · get_code("c96a270fe2e4246e")
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 function. 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 numpy as np

torch.manual_seed(0)

# Analyze the function: it takes optional parameters for filtering sequences
# The function checks: lengths, first elements, last elements, and membership in allowed/disallowed strings
# Input x is expected to be a sequence (string or list-like) for most checks, or a string for allowed_strings/disallowed_strings

ARGS = {
    "allowed_lengths": [1, 2, 3, 5],
    "must_be_first": ["a", "b", "c"],
    "cant_be_first": ["x", "y", "z"],
    "must_be_last": ["end", "stop", "finish"],
    "cant_be_last": ["bad", "wrong", "invalid"],
    "allowed_strings": ["hello", "world", "test", "abc"],
    "disallowed_strings": ["spam", "junk", "forbidden"]
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
generate_cv Ran
ran on a synthesized input
tommccoy1/meta-learning-linguistic-biases/src/phonology_task_creation.py
code served (permissive licence) · get_code("5d39fdcf930386ac")
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.

import torch

def generate_cv(length):
    if length == 0:
        return ['']
    else:
        previous = generate_cv(length - 1)
        new = []
        for elt in previous:
            new.append(elt + 'V')
            new.append(elt + 'C')
        return new

ARGS = {
    'length': 3
}
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 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
generate_cv_cumul Ran
ran on a synthesized input
tommccoy1/meta-learning-linguistic-biases/src/phonology_task_creation.py
code served (permissive licence) · get_code("4f17c23a7bcad057")
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.

import torch
import numpy as np

def generate_cv(length):
    if length == 0:
        return ['']
    else:
        previous = generate_cv(length - 1)
        new = []
        for elt in previous:
            new.append(elt + 'V')
            new.append(elt + 'C')
        return new

def generate_cv_cumul(max_length):
    output = []
    for i in range(max_length + 1):
        output += generate_cv(i)
    return output

ARGS = {
    'max_length': 3
}
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 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
load_io Ran
ran on a synthesized input
tommccoy1/meta-learning-linguistic-biases/src/load_data.py
code served (permissive licence) · get_code("e9e17a0d425b889c")
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 os
import tempfile

# Create a temporary directory and file to simulate the io_correspondences file
temp_dir = tempfile.mkdtemp()
io_dir = os.path.join(temp_dir, 'io_correspondences')
os.makedirs(io_dir, exist_ok=True)

# Create a sample io_correspondences file
io_file_name = 'test_io.txt'
io_file_path = os.path.join(io_dir, io_file_name)

# Write sample data in the expected format
with open(io_file_path, 'w') as f:
    # Format: ranking (comma-separated ints) \t value_list (groups separated by &, components by #)
    # Each group: inp#outp#steps(comma-separated)
    f.write("1,2,3\tinput1#output1#step1,step2&input2#output2#step3,step4\n")
    f.write("0,1\tdata_in#data_out#s1,s2,s3\n")

# Monkey-patch the open to redirect to our temporary file
original_open = open
def patched_open(file_path, mode='r'):
    if '../io_correspondences/' in file_path:
        actual_file = file_path.replace('../io_correspondences/', '')
        return original_open(os.path.join(io_dir, actual_file), mode)
    return original_open(file_path, mode)

import builtins
builtins.open = patched_open

ARGS = {
    'io_file': 'test_io.txt'
}
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
phoneme_inventory Ran
ran on a synthesized input
tommccoy1/meta-learning-linguistic-biases/src/phonology_task_creation.py
code served (permissive licence) · get_code("7a6c415682d544bd")
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 tuple. 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 random
from random import shuffle

ARGS = {
    'v_min': 2,
    'v_max': 4,
    'c_min': 2,
    'c_max': 4,
    'vowels': None,
    'consonants': None,
}
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 tuple — a tuple output has no array shape of its own; none is 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
create_input_output_list Not yet run
unverified (harvested, no recorded run)
tommccoy1/meta-learning-linguistic-biases/src/mix_input_outputs.py
code served (permissive licence) · get_code("85e4d241e1cf8c37")
How it ran

no invocation recorded.

fit_task Not yet run
unverified (harvested, no recorded run)
tommccoy1/meta-learning-linguistic-biases/src/training.py
code served (permissive licence) · get_code("8fc96794bf65fee5")
How it ran

no invocation recorded.

get_loss Not yet run
unverified (harvested, no recorded run)
tommccoy1/meta-learning-linguistic-biases/src/training.py
code served (permissive licence) · get_code("cbb995366ddbecb7")
How it ran

no invocation recorded.

load_dataset Not yet run
unverified (harvested, no recorded run)
tommccoy1/meta-learning-linguistic-biases/src/load_data.py
code served (permissive licence) · get_code("71c23e4f8efd7c75")
How it ran

no invocation recorded.

load_languages Not yet run
unverified (harvested, no recorded run)
tommccoy1/meta-learning-linguistic-biases/src/load_data.py
code served (permissive licence) · get_code("4daaff7ba7e8a2fb")
How it ran

no invocation recorded.

train_model Not yet run
unverified (harvested, no recorded run)
tommccoy1/meta-learning-linguistic-biases/src/training.py
code served (permissive licence) · get_code("b054155a2bd18a30")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 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 12 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

How do learners acquire languages from the limited data available to them? This process must involve some inductive biases - factors that affect how a learner generalizes - but it is unclear which inductive biases can explain observed patterns in language acquisition. To facilitate computational modeling aimed at addressing this question, we introduce a framework for giving particular linguistic inductive biases to a neural network model; such a model can then be used to empirically explore the effects of those inductive biases. This framework disentangles universal inductive biases, which are encoded in the initial values of a neural network's parameters, from non-universal factors, which the neural network must learn from data in a given language. The initial state that encodes the inductive biases is found with meta-learning, a technique through which a model discovers how to acquire new languages more easily via exposure to many possible languages. By controlling the properties of the languages that are used during meta-learning, we can control the inductive biases that meta-learning imparts. We demonstrate this framework with a case study based on syllable structure. First, we specify the inductive biases that we intend to give our model, and then we translate those inductive biases into a space of languages from which a model can meta-learn. Finally, using existing analysis techniques, we verify that our approach has imparted the linguistic inductive biases that it was intended to impart.

For agents

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

get_harvested_code_for_paper("2006.16324")
get_code_for_paper("2006.16324")
have("2006.16324")

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

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

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

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

Connect an agent — have() is free.