SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.00761 · 2026

Confidence-Adaptive SwiGLU for Mixture-of-Experts

Yong Liu, Yuhang Wu, Liangli Zhen, Rick Siow, Mong Goh, Xiuchao Sui, Shaohua Li, Xiaobing Sun

arXiv · PDF · Open in the Atlas

Code that ran

13 of 18 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 9 failures of our instrument; 5 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/2606.00761.json · badge: /api/ran/2606.00761.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
karpathy/nanochat canonical (classifier label)
classifier basis: census
13 ran · 5 no recorded run
FunctionStatusWhere it lives
compute_init Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/common.py
code served (permissive licence) · get_code("b2bd5fa8c03a6428")
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, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'device_type': 'cpu'
}
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 tuple, ndim 1, dtype family float — a tuple 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
eval_with_timeout Ran
ran, honoured the contract we drafted
karpathy/nanochat/nanochat/engine.py
code served (permissive licence) · get_code("92fc8302af99cbbc")
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 int, ndim 0, dtype family int, shape () 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 signal
import warnings

# Analyze the function:
# - eval_with_timeout takes two parameters: formula (string), max_time (int, default=3)
# - formula: a string that will be passed to eval()
# - max_time: an integer representing seconds for timeout
# - The function evaluates the formula in a restricted environment with no builtins
# - It should return the result of evaluating the formula, or None if it times out/errors

# Simple test formula that evaluates successfully
formula = "1 + 2"

# Max time in seconds (reasonable value)
max_time = 3

ARGS = {
    "formula": formula,
    "max_time": max_time,
}
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 int, ndim 0, dtype family int, shape () — shape () 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
execute_code Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/execution.py
code served (permissive licence) · get_code("3d2839629a84c9ed")
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 ExecutionResult. 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 sys

# Define ARGS for execute_code function
ARGS = {
    "code": "print('hello world')\nx = 1 + 1\nprint(f'Result: {x}')",
    "timeout": 5.0,
    "maximum_memory_bytes": 256 * 1024 * 1024
}
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 ExecutionResult — a ExecutionResult output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ExecutionResult 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
find_largest_model Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/checkpoint_manager.py
code served (permissive licence) · get_code("9e3da799c83cef94")
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 str. 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
import shutil

# Create a temporary directory with checkpoint subdirectories
temp_dir = tempfile.mkdtemp()

# Create some model checkpoint directories with names matching the pattern d<number>
checkpoint_dir_d50 = os.path.join(temp_dir, 'd50')
checkpoint_dir_d30 = os.path.join(temp_dir, 'd30')
checkpoint_dir_d100 = os.path.join(temp_dir, 'd100')

os.makedirs(checkpoint_dir_d50, exist_ok=True)
os.makedirs(checkpoint_dir_d30, exist_ok=True)
os.makedirs(checkpoint_dir_d100, exist_ok=True)

# Create some dummy files in these directories so os.path.isdir works correctly
with open(os.path.join(checkpoint_dir_d50, 'model.pt'), 'w') as f:
    f.write('dummy')
with open(os.path.join(checkpoint_dir_d30, 'model.pt'), 'w') as f:
    f.write('dummy')
with open(os.path.join(checkpoint_dir_d100, 'model.pt'), 'w') as f:
    f.write('dummy')

ARGS = {
    'checkpoints_dir': temp_dir
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_peak_flops Ran
ran, honoured the contract we drafted
karpathy/nanochat/nanochat/common.py
code served (permissive licence) · get_code("205ad125bcdc5c79")
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 float, ndim 0, dtype family float, shape () 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
import logging

logger = logging.getLogger(__name__)

torch.manual_seed(0)

# The function takes a single parameter: device_name (str)
# It performs string operations on it (lower(), checking if patterns are in name)
# and may call torch.xpu.get_device_properties for specific device names
# We'll provide common device name strings that will match entries in the table

ARGS = {
    "device_name": "H100"
}
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 float, ndim 0, dtype family float, shape () — shape () 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
has_ve Ran
ran, violated the contract we drafted
karpathy/nanochat/nanochat/gpt.py
code served (permissive licence) · get_code("5eb5385406dd05c3")
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 bool, ndim 0, dtype family float, shape () 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
import torch.nn as nn

torch.manual_seed(0)

# The function has_ve takes two parameters:
# - layer_idx: an integer representing the current layer index
# - n_layer: an integer representing the total number of layers

# Based on the function body, it performs modulo operations on both parameters
# and compares them for equality. No special objects or models are needed.

# Example with a reasonable configuration:
# Let's use layer_idx=1 and n_layer=4 as a test case
ARGS = {
    "layer_idx": 1,
    "n_layer": 4
}
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 bool, ndim 0, dtype family float, shape () — shape () 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
load_checkpoint Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/checkpoint_manager.py
code served (permissive licence) · get_code("1c6b637f7f44ab80")
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, 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 os
import json
import torch
import tempfile

torch.manual_seed(0)

# Create a temporary directory for checkpoint files
tmpdir = tempfile.mkdtemp()

# Create mock checkpoint files
step = 42
rank = 0

# Create a small model state dict
model_state = {
    'layer1.weight': torch.randn(4, 3),
    'layer1.bias': torch.randn(4),
}
model_path = os.path.join(tmpdir, f'model_{step:06d}.pt')
torch.save(model_state, model_path)

# Create an optimizer state dict
optimizer_state = {
    'state': {0: {'step': 100}},
    'param_groups': [{'lr': 0.001}],
}
optimizer_path = os.path.join(tmpdir, f'optim_{step:06d}_rank{rank:d}.pt')
torch.save(optimizer_state, optimizer_path)

# Create a metadata JSON file
meta_data = {
    'epoch': 5,
    'loss': 0.123,
    'accuracy': 0.95,
}
meta_path = os.path.join(tmpdir, f'meta_{step:06d}.json')
with open(meta_path, 'w', encoding='utf-8') as f:
    json.dump(meta_data, f)

ARGS = {
    'checkpoint_dir': tmpdir,
    'step': step,
    'device': 'cpu',
    'load_optimizer': True,
    'rank': rank,
}
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 tuple, ndim 1, dtype family float — a tuple 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
norm Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/gpt.py
code served (permissive licence) · get_code("4e63e6195b90a817")
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 2, dtype family float, shape (2, 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
import torch.nn.functional as F

torch.manual_seed(0)

# The function norm takes a single parameter x
# It calls F.rms_norm(x, (x.size(-1),))
# So x must be a tensor with at least 1 dimension

# Create a small tensor with batch size 2 and feature dimension 4
x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 2, dtype family float, shape (2, 4) — shape (2, 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
render_prompts_lm Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/core_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from serdardoesml/recursive-lm, is pointer only (licence: NONE) · get_code("6519cb0a9ba0f137")
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 serdardoesml/recursive-lm, 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.

render_prompts_mc Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/core_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from serdardoesml/recursive-lm, is pointer only (licence: NONE) · get_code("038adb078ed905c9")
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 serdardoesml/recursive-lm, 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.

render_prompts_schema Ran
ran; our contract draft was wrong, not the code
karpathy/nanochat/nanochat/core_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from serdardoesml/recursive-lm, is pointer only (licence: NONE) · get_code("d72ac88289f6e9aa")
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 serdardoesml/recursive-lm, 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.

sample_next_token Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
karpathy/nanochat/nanochat/engine.py
code served (permissive licence) · get_code("3a4ba6fb51f58a00")
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 2, dtype family int, shape (2, 1) 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
import torch.nn.functional as F

torch.manual_seed(0)

# Create logits tensor of shape (B=2, vocab_size=4)
logits = torch.randn(2, 4)

# Create a random number generator
rng = torch.Generator()
rng.manual_seed(42)

# Define arguments dict
ARGS = {
    "logits": logits,
    "rng": rng,
    "temperature": 1.0,
    "top_k": None
}
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 2, dtype family int, shape (2, 1) — shape (2, 1) 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
use_calculator Ran
ran, honoured the contract we drafted
karpathy/nanochat/nanochat/engine.py
code served (permissive licence) · get_code("421f97f36be56d23")
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 int, ndim 0, dtype family int, shape () 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 signal
import warnings

# Setup for use_calculator function
# The function takes a single parameter: expr (a string expression)

ARGS = {
    'expr': '"hello world".count("l")'
}
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 int, ndim 0, dtype family int, shape () — shape () 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
apply_rotary_emb Not yet run
unverified (harvested, no recorded run)
karpathy/nanochat/nanochat/gpt.py
code served (permissive licence) · get_code("607949933f8aee3e")
How it ran

no invocation recorded.

download_file_with_lock Not yet run
unverified (harvested, no recorded run)
karpathy/nanochat/nanochat/common.py
code served (permissive licence) · get_code("09f5482fc32be226")
How it ran

no invocation recorded.

evaluate_bpb Not yet run
unverified (harvested, no recorded run)
karpathy/nanochat/nanochat/loss_eval.py
code served (permissive licence) · get_code("1605019d7ca32d10")
How it ran

no invocation recorded.

flash_attn_func Not yet run
unverified (harvested, no recorded run)
karpathy/nanochat/nanochat/flash_attention.py
code served (permissive licence) · get_code("f193f9c9909314b6")
How it ran

no invocation recorded.

flash_attn_with_kvcache Not yet run
unverified (harvested, no recorded run)
karpathy/nanochat/nanochat/flash_attention.py
code served (permissive licence) · get_code("2c877927e96fab6e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 16 are also present in other papers whose code we hold (16 with at least one paper dated earlier, 0 the same month, 3 later) and 2 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
render_prompts_lm 3 other papers
2 dated earlier, 1 later
2602.02522 (2026-02)
IMU-1: Sample-Efficient Pre-training of Small Language Models
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
2608.26973 (2026-08)
Squeezing More from Limited Data with Recursive Transformers
render_prompts_mc 3 other papers
2 dated earlier, 1 later
2602.02522 (2026-02)
IMU-1: Sample-Efficient Pre-training of Small Language Models
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
2608.26973 (2026-08)
Squeezing More from Limited Data with Recursive Transformers
render_prompts_schema 3 other papers
2 dated earlier, 1 later
2602.02522 (2026-02)
IMU-1: Sample-Efficient Pre-training of Small Language Models
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
2608.26973 (2026-08)
Squeezing More from Limited Data with Recursive Transformers
norm 2 other papers
2 dated earlier
2604.01472 (2026-04)
The Newton-Muon Optimizer
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
compute_init 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
download_file_with_lock 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
eval_with_timeout 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
evaluate_bpb 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
find_largest_model 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
flash_attn_func 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
flash_attn_with_kvcache 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
get_peak_flops 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
has_ve 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
load_checkpoint 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
sample_next_token 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections
use_calculator 1 other paper
1 dated earlier
2605.17842 (2026-05)
SNLP: Layer-Parallel Inference via Structured Newton Corrections

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

SwiGLU has become a standard gated activation in modern Transformer MLPs, yet its gate sharpness-the smoothness and selectivity of the gating function-is typically fixed throughout training. In this work, we propose Confidence-Aware SwiGLU (κ-SwiGLU), a variant of SwiGLU for Mixture-of-Experts (MoE) models that adjusts expert gate sharpness according to token-level routing confidence. Specifically, κ-SwiGLU parameterizes the SiLU gate sharpness coefficient as a learnable function of the router logit, enabling each expert gate unit to interpolate between smooth, broadly active gating and sharp, selective gating. We evaluate κ-SwiGLU on the FineWeb-Edu dataset across MoE Transformer models ranging from 8 to 28 layers. Across these settings, κ-SwiGLU improves mean CORE performance while adding negligible parameters and incurring only a small computational overhead, demonstrating that confidenceaware gate sharpness is a promising mechanism for improving MoE MLPs. The code is available at https://github.com/askerlee/ kappa-swiglu.

For agents

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

get_harvested_code_for_paper("2606.00761")
get_code_for_paper("2606.00761")
have("2606.00761")

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

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

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

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

Connect an agent — have() is free.