Spacing effect improves generalization in biological and artificial systems.
The 6 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Results › Neuronal level: Dropout ↔ dropout/train.py, lines 7–87 · score 0.65 · MaxDropout, standard dropout, Tiny ImageNet, spaced interval, benchmark, model
- [2] § Methods › KD ↔ self_KD/train.py, lines 213–261 · score 0.60 · feature loss coefficient, deepest, shallower, KD, distillation, teacher
- [3] § Results › Spacing effect with input and innate variations enhances generalization in ANNs ↔ dropout/util/cutout.py, lines 5–43 · score 0.54 · square patches, randomly masking, cutout
- [4] § Results › Spacing effect with input and innate variations enhances generalization in ANNs ↔ self_KD/cutout.py, the whole file · a weak match · score 0.54 · square patches, randomly masking, cutout
- [5] § Methods › KD ↔ online_KD/train_kd.py, lines 215–267 · score 0.52 · KL divergence, temperature, distillation, student, teacher, interval
- [6] § Methods › KD ↔ self_KD/train.py, lines 148–211 · score 0.51 · distillation loss, softened, KD, weighting, student, teacher
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 318 lines · 14 KB · no license · 2 matches
- import torch
- import torch.nn as nn
- import torch.optim as optim
- import torchvision
- import torchvision.transforms as transforms
- import argparse
- from resnet import *
- import torch.nn.functional as F
- from autoaugment import CIFAR10Policy
- from cutout import Cutout
- import wandb
- parser = argparse.ArgumentParser(description='Self-Distillation CIFAR Training')
- parser.add_argument('--model', default="resnet18", type=str, help="resnet18|resnet34|resnet50|resnet101|resnet152|"
- "wideresnet50|wideresnet101|resnext50|resnext101")
- parser.add_argument('--dataset', default="cifar100", type=str, help="cifar100|cifar10")
- # parser.add_argument('--epoch', default=250, type=int, help="training epochs")
- parser.add_argument('--epoch', default=80, type=int, help="training epochs")
- parser.add_argument('--loss_coefficient', default=0.3, type=float)
- parser.add_argument('--feature_loss_coefficient', default=0.03, type=float)
- parser.add_argument('--dataset_path', default="data", type=str)
- parser.add_argument('--autoaugment', default=True, type=bool)
- parser.add_argument('--temperature', default=3.0, type=float)
- parser.add_argument('--batchsize', default=128, type=int)
- # parser.add_argument('--init_lr', default=0.1, type=float)
- parser.add_argument('--init_lr', default=0.01, type=float)
- parser.add_argument('--wandb_entity', default='none', type=str, help='wandb_entity')
- parser.add_argument('--wandb_project', default='SKD', type=str, help='wandb_project')
- parser.add_argument('--interval_rate', default=1.0, type=float)
- parser.add_argument('--gpu_ids', default='0,1', type=str, help='gpu ids for training')
- args = parser.parse_args()
- print(args)
- import os
- os.environ["CUDA_VISIBLE_DEVICES"]= str(args.gpu_ids)
- device_ids = [i for i in range(torch.cuda.device_count())]
- device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
- def CrossEntropy(outputs, targets):
- log_softmax_outputs = F.log_softmax(outputs/args.temperature, dim=1)
- softmax_targets = F.softmax(targets/args.temperature, dim=1)
- return -(log_softmax_outputs * softmax_targets).sum(dim=1).mean()
- if args.autoaugment:
- transform_train = transforms.Compose([transforms.RandomCrop(32, padding=4, fill=128),
- transforms.RandomHorizontalFlip(), CIFAR10Policy(), transforms.ToTensor(),
- Cutout(n_holes=1, length=16),
- transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010))])
- else:
- transform_train = transforms.Compose([transforms.RandomCrop(32, padding=4, fill=128),
- transforms.RandomHorizontalFlip(), transforms.ToTensor(),
- transforms.Normalize((0.4914, 0.4822, 0.4465),
- (0.2023, 0.1994, 0.2010))])
- transform_test = transforms.Compose([
- transforms.ToTensor(),
- transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010)),
- ])
- if args.dataset == "cifar100":
- trainset = torchvision.datasets.CIFAR100(
- root=args.dataset_path,
- train=True,
- download=True,
- transform=transform_train
- )
- testset = torchvision.datasets.CIFAR100(
- root=args.dataset_path,
- train=False,
- download=True,
- transform=transform_test
- )
- trainloader = torch.utils.data.DataLoader(
- trainset,
- batch_size=args.batchsize,
- shuffle=True,
- num_workers=4
- )
- testloader = torch.utils.data.DataLoader(
- testset,
- batch_size=args.batchsize,
- shuffle=False,
- num_workers=4
- )
- elif args.dataset == 'tiny_imagenet':
- from utils import load_tinyimagenet
- id_dic = {}
- root = '/data/datasets/tiny-imagenet-200'
- for i, line in enumerate(open(root+'/wnids.txt','r')):
- id_dic[line.replace('\n', '')] = i
- # num_classes = len(id_dic)
- trainloader = load_tinyimagenet(root=root, batch_size=args.batchsize, num_workers=4, split='train', shuffle=True, id_dic=id_dic)
- testloader = load_tinyimagenet(root=root, batch_size=args.batchsize, num_workers=4, split='val', shuffle=True, id_dic=id_dic)
- elif args.dataset == "cifar10":
- trainset = torchvision.datasets.CIFAR10(
- root=args.dataset_path,
- train=True,
- download=True,
- transform=transform_train
- )
- testset = torchvision.datasets.CIFAR10(
- root=args.dataset_path,
- train=False,
- download=True,
- transform=transform_test
- )
- if args.dataset == "cifar100":
- if args.model == "resnet18":
- net = resnet18()
- if args.model == "resnet34":
- net = resnet34()
- if args.model == "resnet50":
- net = resnet50()
- if args.model == "resnet101":
- net = resnet101()
- if args.model == "resnet152":
- net = resnet152()
- if args.model == "wideresnet50":
- net = wide_resnet50_2()
- if args.model == "wideresnet101":
- net = wide_resnet101_2()
- if args.model == "resnext50_32x4d":
- net = resnet18()
- if args.model == "resnext101_32x8d":
- net = resnext101_32x8d()
- elif args.dataset == "tiny_imagenet":
- if args.model == "resnet18":
- net = resnet18(num_classes=200)
- if args.model == "resnet34":
- net = resnet34(num_classes=200)
- if args.model == "resnet50":
- net = resnet50(num_classes=200)
- if args.model == "resnet101":
- net = resnet101(num_classes=200)
- if args.model == "resnet152":
- net = resnet152(num_classes=200)
- if args.model == "wideresnet50":
- net = wide_resnet50_2(num_classes=200)
- if args.model == "wideresnet101":
- net = wide_resnet101_2(num_classes=200)
- if args.model == "resnext50_32x4d":
- net = resnet18(num_classes=200)
- if args.model == "resnext101_32x8d":
- net = resnext101_32x8d(num_classes=200)
- # print(net)
- net.to(device)
- if torch.cuda.device_count() > 0:
- net=nn.DataParallel(net, device_ids=device_ids)
- criterion = nn.CrossEntropyLoss()
- optimizer = optim.SGD(net.parameters(), lr=args.init_lr, weight_decay=5e-4, momentum=0.9)
- init = False
- if __name__ == "__main__":
- best_acc = 0
- interval = int(len(trainloader)*args.interval_rate)
- #so the only way is to create a new wandb log
- wandb.init(dir='./wandb',entity=args.wandb_entity, project=args.wandb_project, name='self_'+args.model+'_interval'+str(args.interval_rate) +
- '_batchsize' + str(args.batchsize) + '_' + str(args.dataset), config=args)
- wandb_url = wandb.run.get_url()
- print(f"Wandb URL: {wandb_url}")
- buffer={'inputs':[], 'labels':[]}
- for epoch in range(args.epoch):
- correct = [0 for _ in range(5)]
- predicted = [0 for _ in range(5)]
- # adjust learning rate
- # if epoch in [args.epoch // 3, args.epoch * 2 // 3, args.epoch - 10]:
- # for param_group in optimizer.param_groups:
- # param_group['lr'] /= 10
- net.train()
- sum_loss, total = 0.0, 0.0
- for i, data in enumerate(trainloader, 0):
- n_iter = (epoch - 1) * len(trainloader) + i + 1
- length = len(trainloader)
- inputs, labels = data
- buffer['inputs'].append(inputs)
- buffer['labels'].append(labels)
- inputs, labels = inputs.to(device), labels.to(device)
- outputs, outputs_feature = net(inputs)
- ensemble = sum(outputs[:-1])/len(outputs)
- ensemble.detach_()
- if interval == 0:
- kd = True
- elif n_iter % interval == 0:
- kd = (n_iter % interval == 0)
- else:
- kd = False
- if init is False:
- # init the adaptation layers.
- # we add feature adaptation layers here to soften the influence from feature distillation loss
- # the feature distillation in our conference version : | f1-f2 | ^ 2
- # the feature distillation in the final version : |Fully Connected Layer(f1) - f2 | ^ 2
- layer_list = []
- teacher_feature_size = outputs_feature[0].size(1)
- for index in range(1, len(outputs_feature)):
- student_feature_size = outputs_feature[index].size(1)
- layer_list.append(nn.Linear(student_feature_size, teacher_feature_size))
- net.adaptation_layers = nn.ModuleList(layer_list)
- net.adaptation_layers.cuda()
- optimizer = optim.SGD(net.parameters(), lr=args.init_lr, weight_decay=5e-4, momentum=0.9)
- # define the optimizer here again so it will optimize the net.adaptation_layers
- init = True
- # compute loss
- loss = torch.FloatTensor([0.]).to(device)
- # teacher_output = outputs[0].detach()
- # teacher_feature = outputs_feature[0].detach()
- if kd is True:
- for t_inputs, t_labels in zip(buffer['inputs'], buffer['labels']):
- t_inputs, t_labels = t_inputs.to(device), t_labels.to(device)
- loss = torch.FloatTensor([0.]).to(device)
- if interval == 0:
- loss += criterion(outputs[0], labels)
- teacher_output = outputs[0].detach()
- teacher_feature = outputs_feature[0].detach()
- else:
- # with torch.no_grad():
- outputs, outputs_feature = net(t_inputs)
- loss += criterion(outputs[0], t_labels)
- teacher_output = outputs[0].detach()
- teacher_feature = outputs_feature[0].detach()
- # for shallow classifiers
- for index in range(1, len(outputs)):
- # logits distillation
- loss += CrossEntropy(outputs[index], teacher_output) * args.loss_coefficient
- loss += criterion(outputs[index], t_labels) * (1 - args.loss_coefficient)
- # feature distillation
- if index != 1:
- loss += torch.dist(net.adaptation_layers[index-1](outputs_feature[index]), teacher_feature) * \
- args.feature_loss_coefficient
- sum_loss += loss.item()
- optimizer.zero_grad()
- loss.backward()
- optimizer.step()
- total += float(labels.size(0))
- outputs.append(ensemble)
- buffer={'inputs':[], 'labels':[]}
- elif kd is False:
- # for deepest classifier
- loss += criterion(outputs[0], labels)
- sum_loss += loss.item()
- optimizer.zero_grad()
- loss.backward()
- optimizer.step()
- total += float(labels.size(0))
- outputs.append(ensemble)
- # the feature distillation loss will not be applied to the shallowest classifier
- # elif space is False:
- # for index in range(1, len(outputs)):
- # loss += criterion(outputs[index], labels) * (1 - args.loss_coefficient)
- # sum_loss += loss.item()
- # optimizer.zero_grad()
- # loss.backward()
- # optimizer.step()
- # total += float(labels.size(0))
- # outputs.append(ensemble)
- for classifier_index in range(len(outputs)):
- _, predicted[classifier_index] = torch.max(outputs[classifier_index].data, 1)
- correct[classifier_index] += float(predicted[classifier_index].eq(labels.data).cpu().sum())
- print('[epoch:%d, iter:%d] Loss: %.03f | Acc: 4/4: %.2f%% 3/4: %.2f%% 2/4: %.2f%% 1/4: %.2f%%'
- ' Ensemble: %.2f%%' % (epoch + 1, (i + 1 + epoch * length), sum_loss / (i + 1),
- 100 * correct[0] / total, 100 * correct[1] / total,
- 100 * correct[2] / total, 100 * correct[3] / total,
- 100 * correct[4] / total))
- wandb.log({'Train/loss': sum_loss / (i + 1), 'Train/acc_4': 100 * correct[0] / total,
- 'Train/acc_3': 100 * correct[1] / total, 'Train/acc_2': 100 * correct[2] / total, 'Train/acc_1': 100 * correct[3] / total, 'Train/acc_ensemble': 100 * correct[4] / total})
- print("Waiting Test!")
- with torch.no_grad():
- correct = [0 for _ in range(5)]
- predicted = [0 for _ in range(5)]
- total = 0.0
- for data in testloader:
- net.eval()
- images, labels = data
- images, labels = images.to(device), labels.to(device)
- outputs, outputs_feature = net(images)
- ensemble = sum(outputs) / len(outputs)
- outputs.append(ensemble)
- for classifier_index in range(len(outputs)):
- _, predicted[classifier_index] = torch.max(outputs[classifier_index].data, 1)
- correct[classifier_index] += float(predicted[classifier_index].eq(labels.data).cpu().sum())
- total += float(labels.size(0))
- print('Test Set AccuracyAcc: 4/4: %.4f%% 3/4: %.4f%% 2/4: %.4f%% 1/4: %.4f%%'
- ' Ensemble: %.4f%%' % (100 * correct[0] / total, 100 * correct[1] / total,
- 100 * correct[2] / total, 100 * correct[3] / total,
- 100 * correct[4] / total))
- wandb.log({'Test/acc_4': 100 * correct[0] / total, 'Test/acc_3': 100 * correct[1] / total,
- 'Test/acc_2': 100 * correct[2] / total, 'Test/acc_1': 100 * correct[3] / total, 'Test/acc_ensemble': 100 * correct[4] / total})
- if correct[4] / total > best_acc:
- best_acc = correct[4]/total
- print("Best Accuracy Updated: ", best_acc * 100)
- # torch.save(net.state_dict(), "./checkpoints/"+str(args.model)+".pth")
- wandb.log({'Best_acc': best_acc})
- print("Training Finished, TotalEPOCH=%d, Best Accuracy=%.3f" % (args.epoch, best_acc))
- wandb.finish()
train.py at commit bc0f466, no license · at the source
Overview
- School of Life Sciences, IDG/McGovern Institute for Brain Research, Tsinghua University, Beijing, China
- Tsinghua-Peking Center for Life Sciences, Beijing, China
- Beijing Academy of Artificial Intelligence, Beijing, China
- School of Medicine, Shenzhen Campus of Sun Yat-Sen University, Shenzhen, Guangdong, China
- Department of Psychological and Cognitive Sciences, Tsinghua University, Beijing, China
Abstract
Generalization is a fundamental criterion for evaluating learning effectiveness, a domain where biological intelligence excels yet artificial intelligence faces challenges. In biological learning and memory, the well-documented spacing effect shows that appropriately spaced intervals between learning trials significantly improve behavioral performance. While multiple theories have been proposed to explain its underlying mechanisms, one compelling hypothesis is that spaced training promotes integration of input and innate variations, thereby enhancing generalization to novel but related scenarios. Here, we examine this hypothesis by introducing a bio-inspired spacing effect into artificial neural networks, integrating input and innate variations across spaced intervals at neuronal, synaptic, and network levels. These spaced ensemble strategies yield significant performance gains across benchmark datasets and network architectures. Biological experiments on Drosophila further validate the complementary effect of appropriate variations and spaced intervals in improving generalization, which together reveal a convergent computational principle of biological learning and machine learning.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 6 matches between paragraphs and lines of code.
SunGL001/spacing_generalization
bc0f466f9742b0a5a15f5185443d9a0524163dd9, 27 October 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
51 files
- dropout/
model/ , Python, 90 linesMaxDropout.py - dropout/
model/ , Python, 1 line__init__.py - dropout/
model/ , Python, 202 linesresnet.py - dropout/
model/ , Python, 89 lineswide_resnet.py - dropout/
train.py , Python, 368 lines, 1 match - dropout/
util/ , Python, 1 line__init__.py - dropout/
util/ , Python, 68 lines, 1 matchcutout.py - dropout/
util/ , Python, 26 linesmisc.py - dropout/
utils.py , Python, 386 lines - online_KD/
TinyImageNetLoader.py , Python, 77 lines - online_KD/
conf/ , Python, 14 lines__init__.py - online_KD/
conf/ , Python, 48 linesglobal_settings.py - online_KD/
dataset.py , Python, 63 lines - online_KD/
lr_finder.py , Python, 119 lines - online_KD/
models/ , Python, 349 linesattention.py - online_KD/
models/ , Python, 273 linescoarse_fine_net.py - online_KD/
models/ , Python, 130 linesdensenet.py - online_KD/
models/ , Python, 139 linesgooglenet.py - online_KD/
models/ , Python, 335 linesinceptionv3.py - online_KD/
models/ , Python, 550 linesinceptionv4.py - online_KD/
models/ , Python, 216 linesmobilenet.py - online_KD/
models/ , Python, 107 linesmobilenetv2.py - online_KD/
models/ , Python, 328 linesnasnet.py - online_KD/
models/ , Python, 524 linesnets copy.py - online_KD/
models/ , Python, 197 linesnets.py - online_KD/
models/ , Python, 296 linesnetsV1.py - online_KD/
models/ , Python, 131 linespreactresnet.py - online_KD/
models/ , Python, 171 linesresnet.py - online_KD/
models/ , Python, 130 linesresnext.py - online_KD/
models/ , Python, 175 linesrir.py - online_KD/
models/ , Python, 171 linessenet.py - online_KD/
models/ , Python, 263 linesshufflenet.py - online_KD/
models/ , Python, 165 linesshufflenetv2.py - online_KD/
models/ , Python, 97 linessqueezenet.py - online_KD/
models/ , Python, 206 linesstochasticdepth.py - online_KD/
models/ , Python, 78 linesvgg.py - online_KD/
models/ , Python, 130 linesvit.py - online_KD/
models/ , Python, 104 lineswideresidual.py - online_KD/
models/ , Python, 227 linesxception.py - online_KD/
run.sh , Shell, 34 lines - online_KD/
test.py , Python, 80 lines - online_KD/
train_EMA.py , Python, 416 lines - online_KD/
train_kd.py , Python, 400 lines, 1 match - online_KD/
utils.py , Python, 333 lines - self_KD/
autoaugment.py , Python, 234 lines - self_KD/
cutout.py , Python, 43 lines, 1 match - self_KD/
resnet.py , Python, 471 lines - self_KD/
self.sh , Shell, 18 lines - self_KD/
train.py , Python, 318 lines, 2 matches - self_KD/
utils.py , Python, 347 lines - README.md, Text, 192 lines
Zenodo 17959984
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
51 files
- dropout/
model/ , Python, 90 linesMaxDropout.py - dropout/
model/ , Python, 1 line__init__.py - dropout/
model/ , Python, 202 linesresnet.py - dropout/
model/ , Python, 89 lineswide_resnet.py - dropout/
train.py , Python, 368 lines - dropout/
util/ , Python, 1 line__init__.py - dropout/
util/ , Python, 68 linescutout.py - dropout/
util/ , Python, 26 linesmisc.py - dropout/
utils.py , Python, 386 lines - online_KD/
TinyImageNetLoader.py , Python, 77 lines - online_KD/
conf/ , Python, 14 lines__init__.py - online_KD/
conf/ , Python, 48 linesglobal_settings.py - online_KD/
dataset.py , Python, 63 lines - online_KD/
lr_finder.py , Python, 119 lines - online_KD/
models/ , Python, 349 linesattention.py - online_KD/
models/ , Python, 273 linescoarse_fine_net.py - online_KD/
models/ , Python, 130 linesdensenet.py - online_KD/
models/ , Python, 139 linesgooglenet.py - online_KD/
models/ , Python, 335 linesinceptionv3.py - online_KD/
models/ , Python, 550 linesinceptionv4.py - online_KD/
models/ , Python, 216 linesmobilenet.py - online_KD/
models/ , Python, 107 linesmobilenetv2.py - online_KD/
models/ , Python, 328 linesnasnet.py - online_KD/
models/ , Python, 524 linesnets copy.py - online_KD/
models/ , Python, 197 linesnets.py - online_KD/
models/ , Python, 296 linesnetsV1.py - online_KD/
models/ , Python, 131 linespreactresnet.py - online_KD/
models/ , Python, 171 linesresnet.py - online_KD/
models/ , Python, 130 linesresnext.py - online_KD/
models/ , Python, 175 linesrir.py - online_KD/
models/ , Python, 171 linessenet.py - online_KD/
models/ , Python, 263 linesshufflenet.py - online_KD/
models/ , Python, 165 linesshufflenetv2.py - online_KD/
models/ , Python, 97 linessqueezenet.py - online_KD/
models/ , Python, 206 linesstochasticdepth.py - online_KD/
models/ , Python, 78 linesvgg.py - online_KD/
models/ , Python, 130 linesvit.py - online_KD/
models/ , Python, 104 lineswideresidual.py - online_KD/
models/ , Python, 227 linesxception.py - online_KD/
run.sh , Shell, 34 lines - online_KD/
test.py , Python, 80 lines - online_KD/
train_EMA.py , Python, 416 lines - online_KD/
train_kd.py , Python, 400 lines - online_KD/
utils.py , Python, 333 lines - self_KD/
autoaugment.py , Python, 234 lines - self_KD/
cutout.py , Python, 43 lines - self_KD/
resnet.py , Python, 471 lines - self_KD/
self.sh , Shell, 18 lines - self_KD/
train.py , Python, 318 lines - self_KD/
utils.py , Python, 347 lines - README.md, Text, 191 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 100 scripts, each with its path and the digest of its content;
- 6 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data and code availability
• All benchmark datasets used in this paper are publicly available, including CIFAR-10/
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Authors: added Yi Zhong (0000-0002-7927-5976); removed Yi Zhong
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 5 keywords, 4 funders, 33 references.
Cite
This paper
Sun, G., Huang, N., Yan, H., Zhou, J., Li, Q., Lei, B., Zhong, Y., & Wang, L. (2026). Spacing effect improves generalization in biological and artificial systems. Patterns (New York, N.Y.), 7(6), 101564. https://
BibTeX
@article{sun2026spacing,
author = {Sun, Guanglong and Huang, Ning and Yan, Hongwei and Zhou, Jun and Li, Qian and Lei, Bo and Zhong, Yi and Wang, Liyuan},
title = {{Spacing effect improves generalization in biological and artificial systems}},
journal = {Patterns (New York, N.Y.)},
year = {2026},
month = may,
volume = {7},
number = {6},
pages = {101564},
publisher = {Elsevier},
issn = {2666-3899},
doi = {10.1016/
url = {https://
pmid = {42328203},
pmcid = {PMC13280723}
}
RIS
TY - JOUR
AU - Sun, Guanglong
AU - Huang, Ning
AU - Yan, Hongwei
AU - Zhou, Jun
AU - Li, Qian
AU - Lei, Bo
AU - Zhong, Yi
AU - Wang, Liyuan
TI - Spacing effect improves generalization in biological and artificial systems
T2 - Patterns (New York, N.Y.)
J2 - Patterns (N Y)
PY - 2026
DA - 2026/
VL - 7
IS - 6
SP - 101564
SN - 2666-3899
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Spacing effect improves generalization in biological and artificial systems",
"container-title": "Patterns (New York, N.Y.)",
"author": [
{
"family": "Sun",
"given": "Guanglong"
},
{
"family": "Huang",
"given": "Ning"
},
{
"family": "Yan",
"given": "Hongwei"
},
{
"family": "Zhou",
"given": "Jun"
},
{
"family": "Li",
"given": "Qian"
},
{
"family": "Lei",
"given": "Bo"
},
{
"family": "Zhong",
"given": "Yi"
},
{
"family": "Wang",
"given": "Liyuan"
}
],
"container-title-short":
"volume": "7",
"issue": "6",
"page": "101564",
"DOI": "10.1016/
"PMID": "42328203",
"PMCID": "PMC13280723",
"ISSN": "2666-3899",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
19
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-026-74358-5 [code]
- Brain-inspired spatial intelligence for embodied agents.Journal: Nature communicationsIn common: OpenCV, Pillow, PyTorch, 2 other tools, cognitive, 1 reference
- [2] doi:10.1038/s41598-026-43529-1 [code]
- A spiking neural network inspired by neuroscience and psychology for Western mode- and key-conditioned music learning and composition.Journal: Scientific reportsIn common: OpenCV, Pillow, PyTorch, 2 other tools, cognitive, 1 reference
- [3] doi:10.1126/sciadv.aef6263 [code]
- Deep learning-enabled versatile shape perception for soft robots via single-ended multimode fiber.Journal: Science advancesIn common: OpenCV, scikit-image, Pillow, 3 other tools, cognitive
- [4] doi:10.7554/elife.107933 [code]
- Modality-agnostic decoding of vision and language from fMRI.Journal: eLifeIn common: OpenCV, scikit-image, Pillow, 3 other tools, cognitive
- [5] doi:10.1007/s00429-026-03166-w [code]
- Autoencoders for unsupervised analysis of rat myeloarchitecture.Journal: Brain structure & functionIn common: OpenCV, scikit-image, Pillow, 3 other tools
- [6] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: OpenCV, scikit-image, Pillow, 3 other tools
- [7] doi:10.1038/s41467-026-76956-9 [code]
- Innervated human cardiac muscle model reveals sympathetic drivers of KCNH2-associated arrhythmias.Journal: Nature communicationsIn common: OpenCV, scikit-image, Pillow, 3 other tools
- [8] doi:10.1038/s41598-026-61605-4 [code]
- Learning precise segmentation of neurofibrillary tangles from rapid manual point annotations.Journal: Scientific reportsIn common: OpenCV, scikit-image, Pillow, 3 other tools
- [9] doi:10.1126/sciadv.aed3650 [code]
- Truthful visualizations for mass spectrometry imaging enable high-spatial-resolution interactive &
lt;i& gt;m/ z& lt;/ i& gt; mapping and exploration. Journal: Science advancesIn common: OpenCV, scikit-image, Pillow, 3 other tools - [10] doi:10.1038/s41467-026-76837-1 [code]
- Drug screen and machine learning predict neuroprotective agents in a preclinical human model of childhood dementia.Journal: Nature communicationsIn common: OpenCV, scikit-image, Pillow, 3 other tools
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 100 scripts, and 6 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:d6d62befbc9e3d8a…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
