OSCR

Frequency-filtered attention for cross-species fMRI time series prediction under small-sample learning.

Code ↔ Paper

2 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

2 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 2 matches · all tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § STAR★Methods › Method details › Input construction and temporal normalization ↔ layers/StandardNorm.py, the whole file · a weak match · score 0.64 · learnable affine parameters, numerical stability, norm · block oscr:b:QHHQ6H0Y48P6B-A · Report a mismatch
  2. [2] § STAR★Methods › Method details › Input construction and temporal normalization ↔ layers/RevIN.py, the whole file · a weak match · score 0.63 · learnable affine parameters, numerical stability, norm · block oscr:b:27H6PBAB4GJB0-Q · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 68 lines · 2.1 KB · no license · 1 match

  1. import torch
  2. import torch.nn as nn
  3. class Normalize(nn.Module):
  4. def __init__(self, num_features: int, eps=1e-5, affine=False, subtract_last=False, non_norm=False):
  5. """
  6. :param num_features: the number of features or channels
  7. :param eps: a value added for numerical stability
  8. :param affine: if True, RevIN has learnable affine parameters
  9. """
  10. super(Normalize, self).__init__()
  11. self.num_features = num_features
  12. self.eps = eps
  13. self.affine = affine
  14. self.subtract_last = subtract_last
  15. self.non_norm = non_norm
  16. if self.affine:
  17. self._init_params()
  18. def forward(self, x, mode: str):
  19. if mode == 'norm':
  20. self._get_statistics(x)
  21. x = self._normalize(x)
  22. elif mode == 'denorm':
  23. x = self._denormalize(x)
  24. else:
  25. raise NotImplementedError
  26. return x
  27. def _init_params(self):
  28. # initialize RevIN params: (C,)
  29. self.affine_weight = nn.Parameter(torch.ones(self.num_features))
  30. self.affine_bias = nn.Parameter(torch.zeros(self.num_features))
  31. def _get_statistics(self, x):
  32. dim2reduce = tuple(range(1, x.ndim - 1))
  33. if self.subtract_last:
  34. self.last = x[:, -1, :].unsqueeze(1)
  35. else:
  36. self.mean = torch.mean(x, dim=dim2reduce, keepdim=True).detach()
  37. self.stdev = torch.sqrt(torch.var(x, dim=dim2reduce, keepdim=True, unbiased=False) + self.eps).detach()
  38. def _normalize(self, x):
  39. if self.non_norm:
  40. return x
  41. if self.subtract_last:
  42. x = x - self.last
  43. else:
  44. x = x - self.mean
  45. x = x / self.stdev
  46. if self.affine:
  47. x = x * self.affine_weight
  48. x = x + self.affine_bias
  49. return x
  50. def _denormalize(self, x):
  51. if self.non_norm:
  52. return x
  53. if self.affine:
  54. x = x - self.affine_bias
  55. x = x / (self.affine_weight + self.eps * self.eps)
  56. x = x * self.stdev
  57. if self.subtract_last:
  58. x = x + self.last
  59. else:
  60. x = x + self.mean
  61. return x

StandardNorm.py at commit f48e5a4, no license · at the source

Overview

Authors: Chengcheng Du1,2, Feifei Zhao1, Yinqian Sun1, Zeyang Yue1, Ruoyu Wu1, Jihang Wang1,3, Qian Zhang1,3, Yi Zeng1,2,4
  1. BrainCog Lab, Institute of Automation, Chinese Academy of Sciences, Beijing, China
  2. School of Future Technology, University of Chinese Academy of Sciences, Beijing, China
  3. School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing, China
  4. Center for Long-term AI, Beijing, China
Journal: iScience, volume 29, issue 9, article 117173
Dates: received 26 March 2026; accepted 14 July 2026; published online 13 August 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1016/j.isci.2026.117173 · PMID 42633179 · PMCID PMC13499140 · OpenAlex W7202363474
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: fMRI (modality), cognitive (subfield)
Methods: Statistics, Spectral & time-frequency, Connectivity, Machine learning
Keywords: machine learning, cognitive neuroscience, medical imaging
Topic: Functional Brain Connectivity Studies (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 44 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repositories

Its files are read in the Code ↔ Paper reader above, with 2 matches between paragraphs and lines of code.

Brain-Cog-Lab/FFAformer

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: cc7d5e6929267f8d6605f30eb9184d22ebef0705, 26 March 2026
Languages: Python (26)
Size: 68 files, 26 scripts
Software Heritage: not archived
Found in: the resources table
Holds: README, environment (requirements.txt)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: PyTorch (20 files), NumPy (13 files), pandas (3 files), Matplotlib (1 file), scikit-learn (1 file), seaborn (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
27 files

Zenodo 21543542

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the resources table
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: PyTorch (20 files), NumPy (13 files), pandas (3 files), Matplotlib (1 file), scikit-learn (1 file), seaborn (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
27 files
At the source:

annaoliver/ffaformer

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: f48e5a49c57fd68e54c27478cc08a181ae2bf2ec, 26 March 2026
Languages: Python (26)
Size: 68 files, 26 scripts
Software Heritage: not archived
Found in: the Zenodo archive record
Holds: README, environment (requirements.txt)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: PyTorch (20 files), NumPy (13 files), pandas (3 files), Matplotlib (1 file), scikit-learn (1 file), seaborn (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
27 files

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:

  • 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 78 scripts, each with its path and the digest of its content;
  • 2 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

Datasets cited

Code and data availability statement

The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

  • it says that the data are available on request

Read it in the paper: doi.org/10.1016/j.isci.2026.117173.

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 3, 28 September 2026

  • Authors: added Chengcheng Du (0009-0009-6127-1123); Qian Zhang (0000-0001-5314-4233); removed Chengcheng Du; Qian Zhang
  • Funding: added National Natural Science Foundation of China: 32571284; Chinese Academy of Sciences: XDB1010302; Institute of Automation, Chinese Academy of Sciences: E411230101

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 3 keywords, 33 references.

Cite

This paper

Du, C., Zhao, F., Sun, Y., Yue, Z., Wu, R., Wang, J., Zhang, Q., & Zeng, Y. (2026). Frequency-filtered attention for cross-species fMRI time series prediction under small-sample learning. iScience, 29(9), 117173. https://doi.org/10.1016/j.isci.2026.117173

BibTeX

@article{du2026frequency,
author = {Du, Chengcheng and Zhao, Feifei and Sun, Yinqian and Yue, Zeyang and Wu, Ruoyu and Wang, Jihang and Zhang, Qian and Zeng, Yi},
title = {{Frequency-filtered attention for cross-species fMRI time series prediction under small-sample learning}},
journal = {iScience},
year = {2026},
month = aug,
volume = {29},
number = {9},
pages = {117173},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/j.isci.2026.117173},
url = {https://doi.org/10.1016/j.isci.2026.117173},
pmid = {42633179},
pmcid = {PMC13499140}
}

RIS

TY - JOUR
AU - Du, Chengcheng
AU - Zhao, Feifei
AU - Sun, Yinqian
AU - Yue, Zeyang
AU - Wu, Ruoyu
AU - Wang, Jihang
AU - Zhang, Qian
AU - Zeng, Yi
TI - Frequency-filtered attention for cross-species fMRI time series prediction under small-sample learning
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/08/13
VL - 29
IS - 9
SP - 117173
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.117173
UR - https://doi.org/10.1016/j.isci.2026.117173
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.117173",
"type": "article-journal",
"title": "Frequency-filtered attention for cross-species fMRI time series prediction under small-sample learning",
"container-title": "iScience",
"author": [
{
"family": "Du",
"given": "Chengcheng"
},
{
"family": "Zhao",
"given": "Feifei"
},
{
"family": "Sun",
"given": "Yinqian"
},
{
"family": "Yue",
"given": "Zeyang"
},
{
"family": "Wu",
"given": "Ruoyu"
},
{
"family": "Wang",
"given": "Jihang"
},
{
"family": "Zhang",
"given": "Qian"
},
{
"family": "Zeng",
"given": "Yi"
}
],
"container-title-short": "iScience",
"volume": "29",
"issue": "9",
"page": "117173",
"DOI": "10.1016/j.isci.2026.117173",
"PMID": "42633179",
"PMCID": "PMC13499140",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.117173",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
13
]
]
}
}

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/s42003-024-05766-w [code]
Modular subgraphs in large-scale connectomes underpin spontaneous co-fluctuation events in mouse and human brains.
Journal: Communications biology
In common: data.mendeley.com/datasets/7y6xr753g4, data.mendeley.com/datasets/r2w865c959, 1 other dataset, 2 references
[2] doi:10.1073/pnas.2426883123 [code]
Primate-informed neural network for visual decision-making.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: PyTorch, seaborn, scikit-learn, 3 other tools, cognitive, 2 references
[3] doi:10.1038/s41467-024-49823-8 [code]
Hippocampal connectivity patterns echo macroscale cortical evolution in the primate brain.
Journal: Nature communications
In common: PyTorch, seaborn, scikit-learn, 3 other tools, cognitive, 2 references
[4] doi:10.1038/s42003-026-10169-0 [code]
Shared representations in brains and models reveal a two-route cortical organization during scene perception.
Journal: Communications biology
In common: PyTorch, seaborn, scikit-learn, 3 other tools, cognitive, 2 references
[5] doi:10.1016/j.neuroimage.2024.120909 [code]
A simple but tough-to-beat baseline for fMRI time-series classification.
Journal: NeuroImage
In common: PyTorch, seaborn, scikit-learn, 3 other tools, fMRI, 1 reference
[6] doi:10.3389/fnimg.2022.1031991 [code]
Estimating and mitigating the effects of systemic low frequency oscillations (sLFO) on resting state networks in awake non-human primates using time lag dependent methodology.
Journal: Frontiers in neuroimaging
In common: PyTorch, seaborn, scikit-learn, 3 other tools, fMRI, 1 reference
[7] doi:10.1002/advs.202504956 [code]
Spatiotemporal Characterization of the Functional MRI Latency Structure with Respect to Neural Signaling and Brain Hierarchy.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: seaborn, scikit-learn, pandas, 2 other tools, fMRI, 2 references
[8] doi:10.1162/netn.a.570 [code]
Higher-order statistics for constructing centered edge functional connectivity.
Journal: Network neuroscience (Cambridge, Mass.)
In common: seaborn, scikit-learn, pandas, 2 other tools, fMRI, 2 references
[9] doi:10.1016/j.isci.2025.113755 [code]
Mapping content and dynamics in the stream of consciousness through latent brain state analysis.
Journal: iScience
In common: PyTorch, seaborn, scikit-learn, 3 other tools, cognitive, 1 reference
[10] doi:10.1038/s41467-026-75585-6 [code]
Brain network dynamics reflect psychiatric illness status and transdiagnostic symptom profiles across health and disease.
Journal: Nature communications
In common: seaborn, scikit-learn, pandas, 2 other tools, 2 references

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.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1016/j.isci.2026.117173.svg)](https://openscicode.org/badge/doi/10.1016/j.isci.2026.117173)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117173.svg
   :target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.117173
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117173"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.117173.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.