{"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/enhancing-feature-diversity-boosts-channel","title":"Enhancing Feature Diversity Boosts Channel-Adaptive Vision Transformers","arxiv_id":"2405.16419","date":"2024-05-26","proceeding":null,"authors":["Chau Pham","Bryan A. Plummer"],"abstract":"Multi-Channel Imaging (MCI) contains an array of challenges for encoding useful feature representations not present in traditional images. For example, images from two different satellites may both contain RGB channels, but the remaining channels can be different for each imaging source. Thus, MCI models must support a variety of channel configurations at test time. Recent work has extended traditional visual encoders for MCI, such as Vision Transformers (ViT), by supplementing pixel information with an encoding representing the channel configuration. However, these methods treat each channel equally, i.e., they do not consider the unique properties of each channel type, which can result in needless and potentially harmful redundancies in the learned features. For example, if RGB channels are always present, the other channels can focus on extracting information that cannot be captured by the RGB channels. To this end, we propose DiChaViT, which aims to enhance the diversity in the learned features of MCI-ViT models. This is achieved through a novel channel sampling strategy that encourages the selection of more distinct channel sets for training. Additionally, we employ regularization and initialization techniques to increase the likelihood that new information is learned from each channel. Many of our improvements are architecture agnostic and can be incorporated into new architectures as they are developed. Experiments on both satellite and cell microscopy datasets, CHAMMI, JUMP-CP, and So2Sat, report DiChaViT yields a 1.5 - 5.0% gain over the state-of-the-art. Our code is publicly available at https://github.com/chaudatascience/diverse_channel_vit.","url_abs":"https://arxiv.org/abs/2405.16419v2","url_pdf":"https://arxiv.org/pdf/2405.16419v2.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":"enhancing-feature-diversity-boosts-channel","repo_url":"https://github.com/chaudatascience/diverse_channel_vit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.16419","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.16419"}},"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":"deterministic:regex_extraction","url":"https://github.com/chaudatascience/diverse_channel_vit","reach":null}],"summary":{"ran":5,"ran_fixture":2,"ran_draft_wrong":1,"unverified":14},"by_repo_kind":{"official":{"samples":22,"ran":8,"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":"b02da06042eb84e7","entry":"Attention","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"b02da06042eb84e7"}},{"code_sha256_prefix":"efa81f6f1800c5f2","entry":"Block","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"efa81f6f1800c5f2"}},{"code_sha256_prefix":"07bed269ee55adea","entry":"DropPath","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"07bed269ee55adea"}},{"code_sha256_prefix":"3783c6d21458155a","entry":"PPTAttention","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"3783c6d21458155a"}},{"code_sha256_prefix":"b7c9a06a56b29150","entry":"PatchEmbedPerChannel","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"b7c9a06a56b29150"}},{"code_sha256_prefix":"d05e018c317ed42b","entry":"_no_grad_trunc_normal_","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d05e018c317ed42b"}},{"code_sha256_prefix":"6a1004bd6c0e8713","entry":"repeat","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"6a1004bd6c0e8713"}},{"code_sha256_prefix":"be2feea89481c009","entry":"trunc_normal_","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"be2feea89481c009"}},{"code_sha256_prefix":"b74c375dce9be992","entry":"BlockV2","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"b74c375dce9be992"}},{"code_sha256_prefix":"850df2d33a40aa5c","entry":"ChannelPoolingType","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"850df2d33a40aa5c"}},{"code_sha256_prefix":"9d61daea5bd82f74","entry":"ChannelVisionTransformer","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"9d61daea5bd82f74"}},{"code_sha256_prefix":"79d83c31c74cf9eb","entry":"DiChaViT","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"79d83c31c74cf9eb"}},{"code_sha256_prefix":"7cee5c49462dff95","entry":"ExtendedEnum","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"7cee5c49462dff95"}},{"code_sha256_prefix":"ac6302bb71f99f90","entry":"FeaturePooling","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"ac6302bb71f99f90"}},{"code_sha256_prefix":"b090579be5b89e33","entry":"FirstLayerInit","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"b090579be5b89e33"}},{"code_sha256_prefix":"272b7996ff94b551","entry":"Model","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"272b7996ff94b551"}},{"code_sha256_prefix":"77136f4a6e0aa8ad","entry":"NewChannelLeaveOneOut","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"77136f4a6e0aa8ad"}},{"code_sha256_prefix":"f2d5816c2118046f","entry":"NormType","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"f2d5816c2118046f"}},{"code_sha256_prefix":"ee0353477276e1bc","entry":"channelvit_base","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"ee0353477276e1bc"}},{"code_sha256_prefix":"56cf5bca49d77894","entry":"channelvit_distill","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"56cf5bca49d77894"}},{"code_sha256_prefix":"647608ff217cae3b","entry":"channelvit_small","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"647608ff217cae3b"}},{"code_sha256_prefix":"4cd84952d4978056","entry":"channelvit_tiny","repo":"chaudatascience/diverse_channel_vit","repo_kind":"official","path":"models/dichavit.py","file_url":"https://github.com/chaudatascience/diverse_channel_vit/blob/HEAD/models/dichavit.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":"4cd84952d4978056"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}