{"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/vits-for-sits-vision-transformers-for","title":"ViTs for SITS: Vision Transformers for Satellite Image Time Series","arxiv_id":"2301.04944","date":"2023-01-12","proceeding":"CVPR 2023 1","authors":["Michail Tarasiou","Erik Chavez","Stefanos Zafeiriou"],"abstract":"In this paper we introduce the Temporo-Spatial Vision Transformer (TSViT), a fully-attentional model for general Satellite Image Time Series (SITS) processing based on the Vision Transformer (ViT). TSViT splits a SITS record into non-overlapping patches in space and time which are tokenized and subsequently processed by a factorized temporo-spatial encoder. We argue, that in contrast to natural images, a temporal-then-spatial factorization is more intuitive for SITS processing and present experimental evidence for this claim. Additionally, we enhance the model's discriminative power by introducing two novel mechanisms for acquisition-time-specific temporal positional encodings and multiple learnable class tokens. The effect of all novel design choices is evaluated through an extensive ablation study. Our proposed architecture achieves state-of-the-art performance, surpassing previous approaches by a significant margin in three publicly available SITS semantic segmentation and classification datasets. All model, training and evaluation codes are made publicly available to facilitate further research.","url_abs":"https://arxiv.org/abs/2301.04944v3","url_pdf":"https://arxiv.org/pdf/2301.04944v3.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":"vits-for-sits-vision-transformers-for","repo_url":"https://github.com/michaeltrs/deepsatmodels","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"vits-for-sits-vision-transformers-for","repo_url":"https://github.com/VSainteuf/pastis-benchmark","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"vits-for-sits-vision-transformers-for","repo_url":"https://github.com/MindCode-4/code-5/tree/main/vits","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null}],"tasks":[{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series","task_name":"Time Series Analysis"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adam","method_name":"Adam"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"layer-normalization","method_name":"Layer Normalization"},{"method_slug":"linear-layer","method_name":"Linear Layer"},{"method_slug":"multi-head-attention","method_name":"Multi-Head Attention"},{"method_slug":"position-wise-feed-forward-layer","method_name":"Position-Wise Feed-Forward Layer"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"transformer","method_name":"Transformer"},{"method_slug":"vision-transformer","method_name":"Vision Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2301.04944","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2301.04944"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/VSainteuf/pastis-benchmark","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MindCode-4/code-5/tree/main/vits","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/michaeltrs/deepsatmodels","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/michaeltrs/DeepSatModels","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":4,"unverified":7},"by_repo_kind":{"official":{"samples":3,"ran":3,"repositories":1},"listed":{"samples":8,"ran":1,"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":"7ff8cc1149fcdb55","entry":"Attention","repo":"michaeltrs/DeepSatModels","repo_kind":"official","path":"models/TSViT/TSViTcls.py","file_url":"https://github.com/michaeltrs/DeepSatModels/blob/HEAD/models/TSViT/TSViTcls.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7ff8cc1149fcdb55"}},{"code_sha256_prefix":"92778a46d60fa611","entry":"TSViTcls","repo":"michaeltrs/DeepSatModels","repo_kind":"official","path":"models/TSViT/TSViTcls.py","file_url":"https://github.com/michaeltrs/DeepSatModels/blob/HEAD/models/TSViT/TSViTcls.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"92778a46d60fa611"}},{"code_sha256_prefix":"3c8abb5d4b170a1d","entry":"Transformer","repo":"michaeltrs/DeepSatModels","repo_kind":"official","path":"models/TSViT/TSViTcls.py","file_url":"https://github.com/michaeltrs/DeepSatModels/blob/HEAD/models/TSViT/TSViTcls.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3c8abb5d4b170a1d"}},{"code_sha256_prefix":"314a47dca812f4f4","entry":"pad_tensor","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/collate.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/collate.py","link_basis":"harvester_set","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":"314a47dca812f4f4"}},{"code_sha256_prefix":"0f29b0188aa76fe2","entry":"bbox","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/centerness_ground_truth.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/centerness_ground_truth.py","link_basis":"harvester_set","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":"0f29b0188aa76fe2"}},{"code_sha256_prefix":"ad13585f01796e87","entry":"pad_collate","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/collate.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/collate.py","link_basis":"harvester_set","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":"ad13585f01796e87"}},{"code_sha256_prefix":"776464eb827fd3e0","entry":"prepare_dates","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/dataloader.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/dataloader.py","link_basis":"harvester_set","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":"776464eb827fd3e0"}},{"code_sha256_prefix":"9a101315e3da556d","entry":"prepare_dates","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/dataloader_pixelset.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/dataloader_pixelset.py","link_basis":"harvester_set","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":"9a101315e3da556d"}},{"code_sha256_prefix":"9fbe1d414824dd88","entry":"repeat_pixel_and_norm","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/dataloader_pixelset.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/dataloader_pixelset.py","link_basis":"harvester_set","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":"9fbe1d414824dd88"}},{"code_sha256_prefix":"97b25d6ee2383bc4","entry":"sample_pixels","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/dataloader_pixelset.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/dataloader_pixelset.py","link_basis":"harvester_set","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":"97b25d6ee2383bc4"}},{"code_sha256_prefix":"34c4d665e9379f63","entry":"splat","repo":"VSainteuf/pastis-benchmark","repo_kind":"listed","path":"code/centerness_ground_truth.py","file_url":"https://github.com/VSainteuf/pastis-benchmark/blob/HEAD/code/centerness_ground_truth.py","link_basis":"harvester_set","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":"34c4d665e9379f63"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}