{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-09096","title":"Bridging Spectral Operator Learning and U-Net Hierarchies: SpectraNet for Stable Autoregressive PDE Surrogates","arxiv_id":"2605.09096","date":"2026-05-09","proceeding":null,"authors":["Enrique Hernández Noguera","Md Meftahul Ferdaus","Elias Ioup","Mahdi Abdelguerfi","Julian Simeonov"],"abstract":"Neural operators for time-dependent PDEs face a structural tension: spectral architectures (FNO and descendants) inherit exponential rollout-error growth from their one-step Lipschitz constant, while hierarchical U-Net operators trade resolution invariance for multi-scale detail. We introduce SpectraNet, an autoregressive neural operator that composes truncated spectral convolutions inside a U-Net hierarchy with a Residual-Target Spectral Block trained under a Semigroup-Consistency Loss. The residual-target parametrization replaces L^T stability blow-up with linear T*delta drift, and the spectral path's parameter count is Theta(L w^2 M^2), independent of grid N. Under a single unified protocol against 16 published neural-operator baselines on Navier-Stokes nu=1e-5 at 64x64, SpectraNet reaches test relative L2 = 0.0822 at 2.04M parameters -- 2.33x fewer than canonical FNO at ~20% lower error -- and wins five of six rows in a cross-PDE comparison against FNO (NS at nu in {1e-4, 1e-3}, PDEBench Shallow-Water 2D and Diffusion-Reaction, with the Active-Matter row going to FNO inside its seed spread). Trained from scratch at native 128^2 under the same protocol, SpectraNet improves to 0.0724 while FNO regresses to 0.3080. Free rollout stays bounded for T=100 where FNO diverges across all 200 test trajectories. On consumer CPU at B=1, SpectraNet runs sub-200ms while the full-attention Transformer that wins raw L2 pays ~60x latency; we do not claim to beat that Transformer on raw L2, only to dominate the lightweight (<=5M parameter, sub-200ms CPU) Pareto frontier. Source code: https://github.com/Enrikkk/spectranet","url_abs":"https://arxiv.org/abs/2605.09096","url_pdf":"https://arxiv.org/pdf/2605.09096","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2605.09096","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.09096"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/Enrikkk/spectranet","reach":null}],"summary":{"ran":14,"ran_draft_wrong":4,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":25,"ran":18,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"72d384fbc1268cab","entry":"BottleneckSelfAttn2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"72d384fbc1268cab"}},{"code_sha256_prefix":"aba0f12d1a9a369d","entry":"ChannelAttention2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aba0f12d1a9a369d"}},{"code_sha256_prefix":"f35185e781b52884","entry":"FourierKANLinear","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f35185e781b52884"}},{"code_sha256_prefix":"ebfdebcfcb1495c7","entry":"KANConv2d1x1","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ebfdebcfcb1495c7"}},{"code_sha256_prefix":"49d63dd3ce79b688","entry":"KANLinear","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"49d63dd3ce79b688"}},{"code_sha256_prefix":"c1a9b3df03f39b45","entry":"KANLinearND","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c1a9b3df03f39b45"}},{"code_sha256_prefix":"7a6ab6de7a4fca4f","entry":"KANMLP2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7a6ab6de7a4fca4f"}},{"code_sha256_prefix":"ffeb97e3ef0cbc97","entry":"KANSpectralConv2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ffeb97e3ef0cbc97"}},{"code_sha256_prefix":"a9214b2dbfe3e949","entry":"MLP2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9214b2dbfe3e949"}},{"code_sha256_prefix":"3f835f19a5862d50","entry":"SpatialAttention2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3f835f19a5862d50"}},{"code_sha256_prefix":"583d59089a703675","entry":"SpectralAttention2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"583d59089a703675"}},{"code_sha256_prefix":"a79f596ba911bdc6","entry":"SpectralConfig","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a79f596ba911bdc6"}},{"code_sha256_prefix":"e4e7ee5864b83eea","entry":"SpectralConv2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e4e7ee5864b83eea"}},{"code_sha256_prefix":"a630ddd9a6e0bf90","entry":"_kan_kwargs","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a630ddd9a6e0bf90"}},{"code_sha256_prefix":"f8ed2bd5e5d93fff","entry":"default_kan_flags","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f8ed2bd5e5d93fff"}},{"code_sha256_prefix":"020e088f0766fcb2","entry":"make_conv1x1","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"020e088f0766fcb2"}},{"code_sha256_prefix":"5fd4284a6dbcc0fb","entry":"make_linear","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5fd4284a6dbcc0fb"}},{"code_sha256_prefix":"57ce50c3baa33a95","entry":"resolve_attn","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"57ce50c3baa33a95"}},{"code_sha256_prefix":"08bd5318c19481ce","entry":"AttentionGate2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"08bd5318c19481ce"}},{"code_sha256_prefix":"1721896d4496657e","entry":"DecoderBlock2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1721896d4496657e"}},{"code_sha256_prefix":"e1104c85613440c4","entry":"EncoderBlock2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e1104c85613440c4"}},{"code_sha256_prefix":"ad63a669e0da1407","entry":"MultiScaleOutput2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ad63a669e0da1407"}},{"code_sha256_prefix":"a1ac44c5e946e0f6","entry":"SUNet2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1ac44c5e946e0f6"}},{"code_sha256_prefix":"03b10a7720906f08","entry":"make_mlp2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"03b10a7720906f08"}},{"code_sha256_prefix":"cec5e6971794d1d1","entry":"make_spectral_conv2d","repo":"Enrikkk/spectranet","repo_kind":"found_in_text","path":"spectranet/model.py","file_url":"https://github.com/Enrikkk/spectranet/blob/HEAD/spectranet/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cec5e6971794d1d1"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}