{"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/feature-aligned-n-beats-with-sinkhorn","title":"Feature-aligned N-BEATS with Sinkhorn divergence","arxiv_id":"2305.15196","date":"2023-05-24","proceeding":null,"authors":["Joonhun Lee","Myeongho Jeon","Myungjoo Kang","Kyunghyun Park"],"abstract":"We propose Feature-aligned N-BEATS as a domain-generalized time series forecasting model. It is a nontrivial extension of N-BEATS with doubly residual stacking principle (Oreshkin et al. [45]) into a representation learning framework. In particular, it revolves around marginal feature probability measures induced by the intricate composition of residual and feature extracting operators of N-BEATS in each stack and aligns them stack-wise via an approximate of an optimal transport distance referred to as the Sinkhorn divergence. The training loss consists of an empirical risk minimization from multiple source domains, i.e., forecasting loss, and an alignment loss calculated with the Sinkhorn divergence, which allows the model to learn invariant features stack-wise across multiple source data sequences while retaining N-BEATS's interpretable design and forecasting power. Comprehensive experimental evaluations with ablation studies are provided and the corresponding results demonstrate the proposed model's forecasting and generalization capabilities.","url_abs":"https://arxiv.org/abs/2305.15196v3","url_pdf":"https://arxiv.org/pdf/2305.15196v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"feature-aligned-n-beats-with-sinkhorn","repo_url":"https://github.com/leejoonhun/fan-beats","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"domain-generalization","task_name":"Domain Generalization"},{"task_slug":"representation-learning","task_name":"Representation Learning"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series-forecasting","task_name":"Time Series Forecasting"},{"task_slug":"univariate-time-series-forecasting","task_name":"Univariate Time Series Forecasting"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2305.15196","atlas_url":"https://app.syntology.ai/?focus=2305.15196","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.15196"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/leejoonhun/fan-beats","reach":null}],"summary":{"ran":6},"by_repo_kind":{"official":{"samples":6,"ran":6,"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":6,"samples":[{"code_sha256_prefix":"3fc1cf3f74cf09b8","entry":"GenericBasis","repo":"leejoonhun/fan-beats","repo_kind":"official","path":"models/nbeats.py","file_url":"https://github.com/leejoonhun/fan-beats/blob/HEAD/models/nbeats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3fc1cf3f74cf09b8"}},{"code_sha256_prefix":"a234c0daf36316d6","entry":"LinearLayer","repo":"leejoonhun/fan-beats","repo_kind":"official","path":"models/nbeats.py","file_url":"https://github.com/leejoonhun/fan-beats/blob/HEAD/models/nbeats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a234c0daf36316d6"}},{"code_sha256_prefix":"d5f1f71673e909dd","entry":"NBEATS","repo":"leejoonhun/fan-beats","repo_kind":"official","path":"models/nbeats.py","file_url":"https://github.com/leejoonhun/fan-beats/blob/HEAD/models/nbeats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d5f1f71673e909dd"}},{"code_sha256_prefix":"6feb79cfc98905bc","entry":"NBEATSBlock","repo":"leejoonhun/fan-beats","repo_kind":"official","path":"models/nbeats.py","file_url":"https://github.com/leejoonhun/fan-beats/blob/HEAD/models/nbeats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6feb79cfc98905bc"}},{"code_sha256_prefix":"d118efdb362bda51","entry":"SeasonalityBasis","repo":"leejoonhun/fan-beats","repo_kind":"official","path":"models/nbeats.py","file_url":"https://github.com/leejoonhun/fan-beats/blob/HEAD/models/nbeats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d118efdb362bda51"}},{"code_sha256_prefix":"49b703c18ddde1e6","entry":"TrendBasis","repo":"leejoonhun/fan-beats","repo_kind":"official","path":"models/nbeats.py","file_url":"https://github.com/leejoonhun/fan-beats/blob/HEAD/models/nbeats.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"49b703c18ddde1e6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}