{"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/peripheral-vision-transformer","title":"Peripheral Vision Transformer","arxiv_id":"2206.06801","date":"2022-06-14","proceeding":null,"authors":["Juhong Min","Yucheng Zhao","Chong Luo","Minsu Cho"],"abstract":"Human vision possesses a special type of visual processing systems called peripheral vision. Partitioning the entire visual field into multiple contour regions based on the distance to the center of our gaze, the peripheral vision provides us the ability to perceive various visual features at different regions. In this work, we take a biologically inspired approach and explore to model peripheral vision in deep neural networks for visual recognition. We propose to incorporate peripheral position encoding to the multi-head self-attention layers to let the network learn to partition the visual field into diverse peripheral regions given training data. We evaluate the proposed network, dubbed PerViT, on ImageNet-1K and systematically investigate the inner workings of the model for machine perception, showing that the network learns to perceive visual data similarly to the way that human vision does. The performance improvements in image classification over the baselines across different model sizes demonstrate the efficacy of the proposed method.","url_abs":"https://arxiv.org/abs/2206.06801v2","url_pdf":"https://arxiv.org/pdf/2206.06801v2.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":"peripheral-vision-transformer","repo_url":"https://github.com/juhongm999/pervit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"image-classification","task_name":"image-classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2206.06801","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.06801"}},"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/juhongm999/pervit","reach":null}],"summary":{"ran":5,"unverified":3},"by_repo_kind":{"official":{"samples":8,"ran":5,"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":"595177616e2ec587","entry":"CPE","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.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":"595177616e2ec587"}},{"code_sha256_prefix":"76e33d2eb254ba85","entry":"ConvolutionalStem","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"76e33d2eb254ba85"}},{"code_sha256_prefix":"e532ca1ef64395a5","entry":"MPA","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.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":"e532ca1ef64395a5"}},{"code_sha256_prefix":"7c8acca47b6cad85","entry":"Mlp","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.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":"7c8acca47b6cad85"}},{"code_sha256_prefix":"0ca70ad6c00d5ee2","entry":"PeripheralPositionEncoding","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.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":"0ca70ad6c00d5ee2"}},{"code_sha256_prefix":"fcda8f3094f4d7c0","entry":"Block","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fcda8f3094f4d7c0"}},{"code_sha256_prefix":"971b3af9504469b2","entry":"OffsetGenerator","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"971b3af9504469b2"}},{"code_sha256_prefix":"65961eec77ac4145","entry":"VisionTransformer","repo":"juhongm999/pervit","repo_kind":"official","path":"model/pervit.py","file_url":"https://github.com/juhongm999/pervit/blob/HEAD/model/pervit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"65961eec77ac4145"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}