potentialpaper

Channel Mixer: A Pretrainable Tokenizer for Scalable Multi-Channel Vision Transformers

Lukas Miklautz, Lucas Miranda, Nikola Bulat, Armin Lambacher, Dexiong Chen, Karsten Borgwardt

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Channel Mixer summarises all channels within each patch into a single token, making subsequent compute independent of channel count.

Abstract. Vision Transformers (ViTs) achieve state-of-the-art performance across a wide range of natural-image tasks, but their standard tokenizer assumes a small, fixed set of channels such as RGB. This assumption breaks down in domains like cell microscopy and satellite imaging, where images contain many weakly correlated channels whose number varies across datasets. Current channel-adaptive ViTs address this by rolling out each channel as a set of patch tokens. While powerful, this design struggles with scale: the token sequence length grows linearly with the number of channels and self-attention cost grows quadratically. We introduce ChannelMixer, a multi-channel tokenizer that aggregates all channels within each spatial patch into a single channel mixing token via self-attention, decoupling the backbone token sequence length from channel count. ChannelMixer can be pretrained once with a lightweight autoencoder in a channel-agnostic manner and the resulting tokenizer integrates easily with ViTs trained under both supervised and self-supervised objectives. On multi-channel imaging benchmarks spanning 3 to 29 channels, ChannelMixer matches or outperforms channel-adaptive state-of-the-art methods while using approximately 20×20\times fewer FLOPs and 29×29\times fewer tokens than rolled-out tokenizers, measured on 29-channel images with a ViT-S/16. Code at https://github.com/BorgwardtLab/ChannelMixer.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes ChannelMixer for non-RGB images that aggregates all channels into single channel-mixing token. Experimental results demonstrate that ChannelMixer achieved comparable or better results than conventional channel-adaptive methods while using 20 times fewer FLOPs and 29 times fewer tokens than rolled-out tokenizers.

However, experiments are not sufficient.
The authors should provide the experimental results with simple token mixing strategies such as token resampling and token reduction methods. The authors should evaluate runtime and peak VRAM for ChannelMixer versus the baselines, in particular when attention is computed with FlashAttention, because FlashAttention narrows the memory gap the complexity analysis implies.

In addition, the shallow transformer for ChannelMixing is underspecified. The authors should provide the architectural details of the shallow transformer, including the attention pattern used to form the channel-mixing token.

The reviewers raised concerns regarding channel-mixing tokens. Since the per-patch dimension does not grow with K, an ablation on the number of channel-mixing tokens per patch would clarify whether the single-token design is a binding bottleneck. It is also unclear whether a single channel-collapsed token per patch retains enough channel-specific spatial detail for dense outputs such as segmentation, because Fig.6 shows sub-patch per-channel detail may not survive. The authors should discussed about it.

Final justification

The concerns raised by the reviewers have been addressed.

Area Chair mK1D · Meta-reviewOpenReview ↗
Final justification
The concerns raised by the reviewers have been addressed.
Read meta-review
Meta-review

This paper proposes ChannelMixer for non-RGB images that aggregates all channels into single channel-mixing token. Experimental results demonstrate that ChannelMixer achieved comparable or better results than conventional channel-adaptive methods while using 20 times fewer FLOPs and 29 times fewer tokens than rolled-out tokenizers.

However, experiments are not sufficient.
The authors should provide the experimental results with simple token mixing strategies such as token resampling and token reduction methods. The authors should evaluate runtime and peak VRAM for ChannelMixer versus the baselines, in particular when attention is computed with FlashAttention, because FlashAttention narrows the memory gap the complexity analysis implies.

In addition, the shallow transformer for ChannelMixing is underspecified. The authors should provide the architectural details of the shallow transformer, including the attention pattern used to form the channel-mixing token.

The reviewers raised concerns regarding channel-mixing tokens. Since the per-patch dimension does not grow with K, an ablation on the number of channel-mixing tokens per patch would clarify whether the single-token design is a binding bottleneck. It is also unclear whether a single channel-collapsed token per patch retains enough channel-specific spatial detail for dense outputs such as segmentation, because Fig.6 shows sub-patch per-channel detail may not survive. The authors should discussed about it.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

Following the discussion, all reviewers confirmed that our rebuttal addressed their concerns. We thank you and the reviewers for their time and constructive feedback. We are happy to answer any remaining questions.

Reviewer 9L7TOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses a critical scalability bottleneck in Vision Transformers (ViTs) for multi-channel, non-RGB images (including fluorescent microscopy, satellite remote sensing, and medical imaging). Existing channel-adaptive methods, such as ChannelViT, independently tokenize each channel and concatenate the results, producing a token sequence of length N×KN \times K, where NN is the number of spatial patches and KK is the number of channels. This leads to a self-attention complexity of O((NK)2)O((NK)^2), which becomes prohibitive as KK grows.

The paper proposes ChannelMixer, a pretrainable, channel-agnostic tokenizer that decouples the token sequence length from KK. For each spatial patch, ChannelMixer aggregates information across all K channels into a single Channel-Mixing Token (CMT) using a lightweight transformer. The resulting sequence of NN CMTs (plus a CLS token) is then fed into a standard ViT. Hence the light weight transformer has a self-attention complexity of O((N)2)O((N)^2).

Claimed contributions:

  1. A novel tokenization architecture that separates channel-wise interaction (handled by ChannelMixer) from spatial interaction (handled by the backbone ViT).

  2. A channel-agnostic autoencoder pretraining scheme, where the encoder learns to produce CMTs without channel-specific embeddings, and a decoder with learnable channel positional embeddings reconstructs the original multi-channel patches. This forces the CMT to retain all channel information while remaining transferable across datasets.

  3. Strong experimental results on six multi-channel benchmarks (3–293–29 channels). ChannelMixer matches or outperforms state-of-the-art channel-adaptive methods (ChannelViT, DiChaViT, ChA-MAEViT) while using up to 20×20\times fewer FLOPs and 29×29\times fewer tokens on high-channel data. It also demonstrates improved out-of-distribution robustness and enables self-supervised pretraining at high channel counts using DINOv2 where rolled-out tokenizers diverge due to memory constraints.

Strengths and weaknesses

Strength:

Quality:

  1. Statistical rigor: Results are reported as mean ±\pm std over three seeds (42, 43, 44) for supervised experiments, and bootstrap resampling for DINOv2 experiments.
  2. Efficiency analysis: FLOPs and parameter counts are reported across channel counts from 1 to 100 (Figure 4) with clear methodology.
  3. Interpretability analysis: Per-channel Integrated Gradients importance (Figure 9), saliency maps (Figure 10), and channel ablation studies (Figure 7) provide mechanistic insights into why ChannelMixer works, not just that it works.

Clarity:

  1. Clear motivation: The opening analogy (Alice with color blindness vs. cell biology) effectively illustrates the core problem.
  2. Hyperparameter transparency: Appendix D provides complete hyperparameter tables.

Significance:

  1. Problem importance: As sensors improve, channel counts are increasing for scientific multi-channel images, so scalable methods are urgently needed.
  2. Practical impact: The 20$\times$ FLOP reduction and 29$\times$ token reduction directly lower the barrier to applying ViTs in resource-constrained scientific settings.

Originality:

  1. Novel architecture design: The decoupling of channel mixing from spatial mixing is a clear conceptual advance over prior work ChannelViT, which forces the ViT to handle both simultaneously.
  2. Novel pretraining scheme: The channel-agnostic encoder + channel-specific decoder is clever and novel. Encoder without channel embeddings ensures transferability; decoder with channel embeddings forces the CMT to preserve channel-specific information without overfitting to channel identity.

Weakness:

Clarity:

  1. "ChannelMixer" is used throughout the paper to refer to two different things: In Section 5.2, "We refer to the combined tokenizer + ViT model as ChannelMixer, and use ChannelMixer tokenizer when referring specifically to the tokenizer component"; However, in Figure 2 and Section 4, "ChannelMixer" actually means ChannelMixer tokenizer without the following standard ViT.
  2. The paper uses two different names interchangeably to refer to the same method: "Channel Mixer"and "ChannelMixer".

Significance:

  1. Scope of significance: This is not a "foundational breakthrough" (e.g., Transformer or Diffusion). It is an engineering innovation that solves a specific scalability bottleneck. Its significance is therefore high, not transformative.

Origniality:

  1. All components are pre-existing: Latent tokens (Perceiver, DETR), autoencoder pretraining (MAE), channel embeddings (ChannelViT), and random masking (MAE/Dropout) are all known techniques.
Questions
  1. The term "ChannelMixer" refers to two different things: (a) the tokenizer component (Sections 1–4, Figure 2), and (b) the complete tokenizer + ViT system (Section 5.2). It is suggested to follow the setting in Section 5.2: "We refer to the combined tokenizer + ViT model as ChannelMixer, and use ChannelMixer tokenizer when referring specifically to the tokenizer component".
  2. The method is referred to as both "Channel Mixer" and "ChannelMixer". Please standardize the spelling.
Limitations

yes

Final justification

The authors addressed my concerns adequately. I have no further comments and would like to keep my score at 5 (Accept).

Formatting concerns

No Paper Formatting Concerns

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment and the careful reading. We address the raised concerns below.

1. The name ChannelMixer refers to two things, the tokenizer and the full model. Spelling of ChannelMixer vs Channel Mixer.

Our reasoning: The reviewer is right that using one name for both is confusing. We follow the reviewers suggestion and adopt the convention already stated in Section 5.2.

Our actions: We use ChannelMixer for the combined tokenizer plus ViT model and ChannelMixer tokenizer for the tokenizer component, correct Figure 2 and Section 4, and standardize the name to ChannelMixer throughout.

2. Originality, the components are already known.

Our reasoning: We agree the building blocks are established. Our contribution is their combination into a pretrainable, channel agnostic tokenizer that decouples the token count from the number of channels and supports cross-dataset pretraining of the tokenizer alone. To our knowledge, nobody has shown that the performance of rolled-out tokenizers (the current state-of-the-art in channel adaptive computer vision) can be matched or exceeded with far more efficient alternatives like ours, or that unsupervised cross-dataset pretraining of the tokenizer improves downstream performance in non-RGB tasks.

Our actions: We adapt our contributions in the paper to better reflect where the main originality of ChannelMixer lies.

We are happy to address any remaining questions the reviewer might have.

Area Chair mK1D · CommentOpenReview ↗

Action required

Please read the authors' response and share your comments.

Reviewer 9L7T · CommentOpenReview ↗

The authors addressed my concerns adequately. I have no further comments and would like to keep my score.

Authors · CommentOpenReview ↗

Dear reviewer,

Thank you for your response and positive feedback. We are happy to hear that all concerns were addressed.

Reviewer 2SaLOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose ChannelMixer, a multi-channel tokenizer for processing images beyond RGB. Unlike previous methods that roll out patch embeddings for each channel, ChannelMixer aggregates the information of a given patch across channels into a single channel-mixing token via a shallow transformer, reducing attention memory complexity from O(K2N2)O(K^2 N^2) to O(K2+N2)O(K^2 + N^2). The framework also enables channel-agnostic autoencoder pretraining of the tokenizer. Evaluated on five diverse multi-channel datasets, ChannelMixer achieves comparable or better results than channel-adaptive baselines at substantially lower attention cost.

Strengths and weaknesses

Strengths:

  1. The formulation is simple yet effectively addresses the attention cost that limits previous methods.

  2. The design enables scalable cross-dataset pretraining of the tokenizer, which prior channel-adaptive methods do not support.

  3. Comparable or better performance is achieved at lower attention cost, and the efficiency gain enables stable high-channel self-supervised (DINOv2) training where the rolled-out tokenizer diverges.

Weaknesses:

Major:

  1. Efficiency is argued via GFLOPs and asymptotic attention-memory complexity only. However, FlashAttention is now standard for long token sequences and reduces attention memory to linear in sequence length (though not the quadratic compute). The practical advantage therefore cannot be read off the complexity analysis alone, and no direct measurement of runtime or peak VRAM is reported.

  2. The “shallow transformer” that processes the K+1 tokens (channel tokens plus the channel-mixing token) is underspecified. The paper states that padded channels are masked, but does not specify the attention pattern used to form the channel-mixing token: whether all K+1 tokens undergo full self-attention or the channel-mixing token acts as a query-only pooling token.

  3. The architecture ablation reports that e3d1 performs best, but offers no explanation beyond the empirical result for why an asymmetric, shallow-decoder configuration should outperform deeper symmetric ones.

  4. All information from K channels within a patch is merged into a single D-dimensional channel-mixing token (384 for ViT-S/16), and D is fixed to the backbone width regardless of K. This raises a capacity question: is 384 unnecessarily large for a 3-channel RGB patch, or insufficient when 29 channels are merged? Since the per-patch budget does not grow with K, an ablation on the number of channel-mixing tokens per patch (e.g., 1 vs. 2) would clarify whether the single-token design is a binding bottleneck.

  5. Following 4, all evidence is on classification tasks. The spatial token count is unchanged from a standard ViT, so spatial granularity is not the concern; rather, it is unclear whether a single channel-collapsed token per patch retains enough channel-specific spatial detail for dense outputs such as segmentation. The pretraining reconstructions in Fig. 6 are computed per patch with no spatial context and appear blocky, suggesting sub-patch per-channel detail may not survive. This aspect should be discussed or tested.

Minor:

  1. Please typeset vector-valued variables in bold.

  2. L#135 lacks citations for the mentioned "several extensions."

Questions
  1. Please report runtime and peak VRAM for ChannelMixer versus the baselines, in particular when attention is computed with FlashAttention, since FlashAttention narrows the memory gap the complexity analysis implies. (see Weakness 1)

  2. Please provide the architectural details of the shallow transformer, including the attention pattern used to form the channel-mixing token. (see Weakness 2)

  3. Please justify, beyond the empirical result, why e3d1 is the best autoencoder configuration. (see Weakness 3)

  4. Please justify the capacity of a single 384-dimensional channel-mixing token, via an ablation on the number of tokens per patch or a concrete argument. (see Weakness 4)

  5. Please justify whether the conclusions extend beyond classification to dense-output tasks such as segmentation. (see Weakness 5)

Limitations

Yes. The authors acknowledge that collapsing channels into a single token limits global cross-channel interaction.

Final justification

The authors provide direct runtime and memory comparisons for ChannelMixer, addressing my major concerns. ChannelMixer offers practical benefits, particularly improved efficiency while maintaining performance comparable to slower methods. However, the single-token formulation does not itself constitute a fundamental conceptual breakthrough, and its capability on dense prediction tasks remains unclear. I therefore recommend a borderline accept rather than a clear accept.

Formatting concerns

NA

7 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed and constructive review. We address each point below.


1. Report runtime and peak VRAM, using FlashAttention (Weakness 1, Question 1).

Our reasoning: The reviewer notes that efficiency is argued only through FLOPs and asymptotic complexity, and that FlashAttention narrows the memory impact gap, so the practical advantage needs a direct measurement. We agree and conducted a detailed comparison below.

Our actions: We enabled FlashAttention for all tested models, and note that, as expected, the previously reported GFLOPs results remain unchanged. We add measurements of training wall clock runtime (ms/image) and peak VRAM for ChannelMixer and all baselines across channel counts. The batch size (27) was selected as the largest for which there were no OOM errors across models in a single H100 (80Gb VRAM). Experiments were conducted with supervised training on synthetic images. Training runtime is the median over 100 iterations after a 10-iteration warmup (to account for cold-start hardware anomalies). We included here also simpler token merging methods, like mean pooling as requested by reviewer VLKc, for comparison. Both tables are available below and will be added as Figures to the paper:

Training runtime (ms/image)

Channels Std. CM RO Mean WPool SGate GConcat Merge CM_Simple
3 1.242 2.072 1.200 1.247 1.241 1.406 1.312 1.345 1.427
10 1.301 2.503 3.800 1.318 1.369 1.397 1.374 1.454 1.525
20 1.196 2.754 9.483 1.246 1.269 1.309 1.352 1.381 1.492
40 1.176 3.602 28.725 1.470 1.477 1.545 1.608 1.731 1.792
60 1.215 4.466 57.144 1.684 1.701 1.749 1.943 2.070 2.145
80 1.210 5.335 96.361 1.905 1.975 2.055 2.260 2.413 2.483
100 1.258 6.247 145.286 2.149 2.212 2.313 2.505 2.732 2.715

Training peak allocated VRAM (GB)

Channels Std. CM RO Mean WPool SGate GConcat Merge CM_Simple
3 0.932 1.638 2.485 0.932 0.944 0.950 0.968 0.956 1.221
10 0.969 2.491 7.759 0.967 1.005 1.024 1.083 1.045 1.386
20 1.088 3.800 15.456 1.083 1.160 1.199 1.319 1.242 1.696
40 1.192 6.246 30.735 1.181 1.337 1.410 1.653 1.511 2.179
60 1.296 8.712 45.920 1.278 1.512 1.621 1.982 2.116 2.653
80 1.398 11.163 61.158 1.531 1.684 1.831 2.312 2.745 3.133
100 1.501 13.634 76.393 1.860 1.867 2.058 2.674 3.377 3.712

Std.: Standard; CM: ChannelMixer (our method highlighted in bold); RO: Rolled-Out; WPool: Weighted Pool; SGate: Sigmoid-Gated Pool; GConcat: Gated-Concat Pool.

These results show ChannelMixer (CM) is substantially more efficient than the Rolled-Out (RO) baseline both in runtime and peak VRAM especially in the high-channel domain, supporting our previous conclusions.


2. The shallow transformer is underspecified (Weakness 2, Question 2).

Our reasoning: The reviewer points out that we do not state the attention pattern that forms the channel mixing token. We agree the description is incomplete.

Our actions: We specify the design in the Methods section, confirming that the K plus one tokens use full self attention following the same attention pattern as the CLS token in a ViT. We also clarify encoder depth (3), width (mlp ratio of 4), and number of attention heads (6).


3. Justify the e3d1 configuration (Weakness 3, Question 3).

Our reasoning: We agree the e3d1 configuration of the CM autoencoder is mostly empirical, but we want to note that the original Masked Autoencoder (MAE) paper (He et al., 2022) also found an asymmetric design with a smaller decoder best for linear probing. Our goal is not reconstruction fidelity: a deeper decoder reconstructs better (Table 2b), yet for downstream supervised finetuning the asymmetric design works better. Note that the gap to the symmetric e3d3 is small, though, only 0.61 validation F1, so the symmetric design might work similarly well in downstream tasks.

Our actions: We extend the discussion in the paper and draw a parallel to the asymmetric design of MAE.


4. Capacity of a single channel mixing token (Weakness 4, Question 4).

Our reasoning: The reviewer asks whether the fixed per-patch representation is overparameterized for few-channel inputs or becomes a bottleneck for many-channel inputs. Each CMT has 384 dimensions because its width must match the ViT-S backbone. A narrower tokenizer output would still require projection to 384 before entering the backbone and would not reduce backbone computation. For many-channel inputs, increasing the number of CMTs directly increases the representational budget per patch and therefore tests whether a single CMT is a binding bottleneck.

Our actions: We made the number of CMTs per patch configurable, with positional embeddings repeated across CMTs mapping to the same patch. We conducted an ablation on the 10-label, 29-channel BSCCM task. We compared models trained from scratch with one or two CMTs per patch (with two CMTs increasing the per-patch representation from 384 to 768 dimensions). For both settings, we used the same learning-rate sweep as in the paper and report the best mean ± standard deviation across three seeds.

Number of CMTs Test macro-F1 (%)
1 (paper default) 51.88 ± 0.87
2 48.31 ± 0.78

We find no evidence that increasing the per-patch token budget improves performance in this high-channel setting, suggesting that a single 384-dimensional CMT may not be a binding capacity bottleneck. These results support our findings in Tables 4 and 5, that show that we can also outperform rolled-out tokenizers, which do not have this bottleneck.


5. Evidence beyond classification for dense outputs (Weakness 5, Question 5).

Our reasoning: The reviewer asks whether a single channel collapsed token retains enough channel specific spatial detail for dense outputs such as segmentation, and notes the blocky reconstructions in Figure 6. The spatial token count matches a standard ViT, so spatial granularity is unchanged, and the open point is channel specific detail.

Our actions: We agree that the blocky reconstructions in Figure 6 raises questions about whether a single collapsed token per patch preserves sufficient channel-specific spatial detail. We found that the supervised decoder was incorrectly reconstructing every patch from the final global CLS token rather than from its corresponding per-patch CMT output as described in the figure caption. After correcting this setup and rerunning the corresponding experiment, we find reconstructions to be substantially sharper, indicating that the CMTs retain considerably more spatial detail than Figure 6 suggested. The table below reports Mean Absolute Error (MAE) on all 13,051 HPA Task 1 test images for the pretrained tokenizer, the previous CLS-based implementation, and the corrected CMT-based implementation. As the rebuttal interface does not permit new figures, we provide the quantitative comparison here:

Model Decoder input Implementation HPA Task 1 MAE ↓
Pretrained tokenizer Per-patch CMT output Original, correct 0.592
Supervised model (previous) Final CLS token repeated across patches Incorrect 0.945
Supervised model (corrected) Per-patch CMT output Corrected 0.161

Overall, the corrected setup reduces supervised reconstruction MAE by 82.9% (0.945 to 0.161), supporting that the compressed CMTs retain substantial channel-specific spatial information, which should be helpful for dense-prediction tasks.

We consider a full adaptation of ChannelMixer to dense prediction tasks out of scope and leave it for future work. Using multiple CMTs, as the reviewer suggests (addressed above), could be fruitful here, but such an extension needs careful ablations over several design choices.

6. Minor points, notation and missing citation.

We fix all notational issues throughout the paper and added the missing citation.


We are happy to address any remaining questions the reviewer might have.

Reviewer 2SaL · CommentOpenReview ↗

Reviewer Response

Thank you for your rebuttal. All of my questions have been addressed.

Reviewer 2SaL · CommentOpenReview ↗

Reviewer Response

One additional question:

Regarding the section titled “4. capacity of a single channel-mixing token,” is there any theoretical or intuitive explanation, beyond the empirical results, for why using one token performs better than using two? Since two tokens should provide greater capacity, I would expect the two settings to perform similarly if one token were already sufficient.

Reviewer VLKcOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes ChannelMixer (CM), a multi-channel tokeniser designed for non-RGB image inputs to ViTs. The key idea is to introduce a channel-mixing token that aggregates information across different channels into a unified token representation within each image patch. CM employs a shallow Transformer for cross-channel information aggregation and optimises it through an autoencoder-based pretraining strategy. CM preserves the channel-wise modeling capacity while reduces the number of tokens fed into ViTs and subsequently enhancing the model efficiency.

Strengths and weaknesses

Strengths

Quality.1.1: The proposed methods are empirically supported by extensive experiments and ablation studies.

Clarity.2.1: The introduction to the methods is clear and in detail. The experimental information are provided in detail for reproducibility.

Originality.4.1: The channel-wise token mixing is interesting and is able to scale existing channel-adaptive tokenisation methods for non-RGB images.


Weaknesses

Quality.1.1: An additional ablation studies of the token mixing strategies should be conducted. The current Transformer-based token mixing should be compared to token mixing via simple average pooling, weighted pooling, gating, etc. Using a Transformer for token mixing may not provide an optimal performance-efficiency trade-off, particularly in low-information-density settings where each token contains information from only a single channel.

Clarity.2.1: The opening story about Alice is not sufficiently meaningful and does not substantially help readers understand the target research problem.

Clarity.2.2: The Introduction does not clearly define the research problem or the objective of this work. It is unclear whether the paper aims to improve tokenizer efficiency or to address the challenge of understanding non-RGB images. The section should better summarise existing studies, clarify their limitations, and explicitly identify the remaining knowledge gaps that motivate the proposed methods.

Significance.3.1: The key idea of CM can be considered as using fewer tokens to represent the original input token sequence, which is close to token pruning/merging and token resampling methods for ViTs. Moreover, the aggregation of tokens can also be achieved by hierarchical Transformer architectures, such as Swin Transformer. For instance, within each window/patch, tokens from different channels are processed and aggregate into one token.

Significance.3.2: Ablation studies demonstrate that model performance is significantly influenced by pretraining CM or heuristic initialisation of the LayerNorm from a pretrained model. This can negatively impact the generalisability of CM.

Questions
  1. Please provide the experimental results when using simple token mixing strategies, and preferably the comparisons with token resampling and token reduction methods. The results should report at least model performance, wall-clock inference speed and overall complexity.

  2. What is the practical contribution of pretraining CM? How can CM be applied to methods that require channel-specific information?

  3. How robust is CM when processing patches with severe channel missingness? Additional analysis is needed to demonstrate its resilience under high missing-channel ratios.

Limitations

yes

Formatting concerns

None

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed feedback. We address each weakness and question below.

1. Compare the Transformer-based ChannelMixer (CM) against simpler mixing strategies (Weakness Quality 1, Question 1).

Our reasoning: We agree that if channels are fully independent, compression is not possible. However, we do not observe this issue on the commonly used multi-channel benchmarks (Tables 4 and 5). Channels in non-RGB images are less correlated than in RGB, but enough structure remains for a sufficiently expressive tokenizer to exploit, as we show below, where we compared the following strategies for mixing a patch's channel tokens into one channel mixing token (CMT):

  • mean_pool: unweighted average of the channel tokens.
  • weighted_pool: one learned scalar per channel token, softmax-normalized over present channels, used as averaging weights.
  • sigmoid_gated_pool: a shared MLP with a sigmoid gate predicts a per-channel weight for weighted pooling.
  • gated_concat_pool: channel tokens are gated elementwise, then concatenated and linearly projected to one CMT.
  • token_merge: redundant channel tokens (by cosine similarity) in the same patch are downweighted so a group of near-duplicate channels contributes about once. This follows the ToMe (Token Merging) paper of Bolya et al., ICLR 2023: https://arxiv.org/pdf/2210.09461.
  • cm_simple: one learned query cross-attends once to the channel tokens, i.e. the CM tokenizer without self-attention or subsequent transformer blocks.

Note that ToMe was not developed to be applied along the channel axis with non-RGB images in mind, but to aggregate image patches, which are more correlated than the channels in fluorescence microscopy or satellite images.

Our actions: We add an ablation comparing our Transformer-based CM tokenizer against these strategies on the CHAMMI benchmark (three cell-imaging datasets, varying channels). Per method we tune the learning rate on validation, then train over three seeds.

Method Mixing params Avg. IID Mean Avg. OOD Mean OOD WTC OOD HPA OOD CP WTC T1 WTC T2 HPA T1 HPA T2 HPA T3 CP T1 CP T2 CP T3 CP T4
mean_pool 0 62.22 34.93 36.08 40.08 28.62 46.45±0.54 36.08±0.95 63.78±0.16 51.56±0.32 28.60±0.35 76.43±0.36 52.75±0.90 23.48±1.21 9.63±0.26
weighted_pool 12 80.62 56.12 76.84 63.40 28.11 78.23±0.78 76.84±0.87 85.83±0.41 76.37±0.89 50.43±0.32 77.80±0.08 52.77±0.98 21.63±0.56 9.92±0.17
sigmoid_gated_pool 41.7K 85.86 55.01 69.86 68.68 26.49 77.37±0.41 69.86±1.01 92.47±0.13 85.13±0.19 52.24±0.15 87.75±0.75 53.42±0.68 20.07±1.24 5.99±0.09
gated_concat_pool 885.5K 82.28 48.06 48.67 71.33 24.18 61.84±0.67 48.67±1.02 93.80±0.23 88.35±0.15 54.31±1.06 91.21±0.15 49.75±1.36 16.46±1.60 6.33±0.39
token_merge 0 59.45 33.83 35.38 39.37 26.74 44.41±1.26 35.38±0.90 61.05±0.68 49.34±0.31 29.40±0.49 72.88±0.21 47.80±0.82 23.80±0.76 8.60±0.09
cm_simple 596.4K 83.70 52.78 62.14 70.15 26.04 71.11±2.46 62.14±3.15 92.64±0.29 87.94±0.56 52.35±0.28 87.36±1.49 51.83±1.49 19.83±0.43 6.46±0.54
CM (from scratch) 7.99M 86.54 57.09 71.34 73.62 26.32 77.88±0.84 71.34±0.83 93.65±0.21 89.17±0.41 58.07±0.77 88.09±0.39 54.61±0.96 18.33±1.82 6.02±0.08
CM (pretrained, frozen) 7.99M 89.99 55.38 69.10 73.93 23.13 83.11±0.96 69.10±0.20 94.90±0.16 91.41±0.13 56.44±0.62 91.97±0.17 50.35±1.48 11.08±0.17 7.96±0.23
CM (pretrained, trainable) 7.99M 91.15 58.29 75.52 76.00 23.35 84.45±1.40 75.52±0.80 95.54±0.09 92.47±0.38 59.53±1.10 93.46±0.20 49.18±0.96 12.95±1.64 7.91±0.52

Table Caption: CHAMMI 1-KNN benchmark (F1-macro %). Mixing params = tokenizer params minus the shared patch embed. Per-task columns: mean±std over 3 seeds; Avg. IID / Avg. OOD summary columns: mean only. Avg. OOD per dataset = domain-balanced mean of the OOD tasks (TiTi for i>1i > 1). Bold = best, italic = second best per metric column.

CM wins the IID and OOD averages in all three finetuning settings ("from scratch", "pretrained frozen" and "pretrained, trainable"). Simple strategies occasionally win a single OOD task (e.g. CP Task 3), while falling far short on IID (e.g. mean pooling 76.43 vs 93.46 on CP Task 1). Wall-clock speed and memory measurements are in our response to Reviewer 2SaL.


2. Relation to token reduction and to hierarchical models (Weakness Significance 1, Question 1).

Our reasoning: The reviewer relates CM to other token reduction methods and asks how it relates to hierarchical models such as Swin, which also aggregate tokens. First, we want to emphasize that our motivation is different: Swin and similar hierarchical models were proposed to adapt transformers to RGB images, while CM targets the computational and learnability limits of rolled-out ViTs for non-RGB images. Second, they also differ mechanically. Swin merges spatial tokens across resolutions, assuming a universal spatial hierarchy (as in CNNs), whereas CM aggregates across channels within each patch and keeps the spatial token count of a standard ViT. Channels in non-RGB images have no universal spatial hierarchy and can be less correlated, so the Swin approach is not easily applicable here. We agree that building a hierarchical tokenizer could be an interesting idea for future work, but deem it out of scope for the current manuscript since it will require substantial design choices and ablations.

Our actions: We add this positioning to the Related Work section. Further, we added a comparison to the token merging approach ToMe in the answer above.


3. Practical value of pretraining and dependence on LayerNorm initialization (Weakness Significance 2, Question 2).

Our reasoning:

What is the practical contribution of pretraining CM?

We are unsure what the reviewer means by practical contribution, so we cover both the technical and empirical side. Technically, we can train a single CM tokenizer across datasets and reuse it for dataset specific downstream tasks like supervised finetuning. This was not possible with previous state of the art rolled-out tokenizers, and it opens the door to larger pretraining of general multi-channel tokenizers in the future. Empirically, cross-dataset pretraining improves downstream performance, with gains up to 5 F1 points on the CHAMMI IID tasks over from scratch training (Table 2c).

How can CM be applied to methods that require channel-specific information?

The pretrained CM tokenizer is indeed channel agnostic, but in our downstream experiments (e.g. supervised finetuning) we include channel information back into the tokenizer via additive channel positional encodings (CPE) or adaptive layer normalization (AdaLN) to make CM channel aware, which shows how CM leverages channel-specific information. When using a pretrained CM with a new dataset, channel-specific information can be added with these mechanisms.

Relevance of LayerNorm initialization: This is a historic implementation detail we found during development. Initially we added new Adaptive Layer Normalization (AdaLN) modules to the pretrained CM tokenizer, replacing its trained LayerNorm (LN) layers, which led to slow convergence (likely from the smaller gradient updates when fully finetuning a deeper network). Initializing the AdaLN modules from the already learned LN layers fixed this. We report it in ablation Table 2a, since it matters for reproducibility, but it needs no external pretrained model, only the pretrained CM tokenizer we already have.

Our actions: We will clarify the role of pretraining, the purely technical nature of the LayerNorm initialization, and the option to include channel-specific information during pretraining in the paper.


4. Robustness under high missing channel ratios (Question 3).

Our reasoning: The reviewer asks how the method behaves when many channels in a patch are missing. We evaluate inference robustness, emulating a scenario where a set of measurements used for training is not available at inference.

Our actions: On the 10-label BSCCM task, models trained with all 29 channels are evaluated after removing increasing numbers of channels. Removed channels are set to zero for both models. For each nonzero missingness level, 25 randomly sampled channel subsets are shared across models and checkpoints trained across three different seeds, with each subset fixed across all test images. Values are F1-macro (%) ± standard deviation across all seeds and missing set combinations.

Channels removed Standard CM
0 50.92 ± 2.20 53.38 ± 0.50
5 32.84 ± 15.35 52.24 ± 1.60
10 16.44 ± 11.08 51.68 ± 2.10
15 9.52 ± 7.43 50.06 ± 2.17
20 5.26 ± 5.50 46.26 ± 5.22
25 3.59 ± 4.46 37.70 ± 6.47

Overall, we find CM degrades gradually, retaining 37.70% F1-macro with 25 of 29 channels removed. In contrast, Standard performance drops sharply with only five missing channels, demonstrating CM substantially greater robustness to severe channel missingness.


5. The introduction needs to be updated (Weakness Clarity 1& 3).

We will rewrite the Introduction to state the objective, extend prior channel adaptive and channel agnostic methods and their limits, and make the gap we address clearer. We will also tighten the Alice example and tie it directly to the problem.


We are happy to address any remaining questions the reviewer might have.

Area Chair mK1D · CommentOpenReview ↗

Action required

Please read the authors' response and share your comments.

Reviewer VLKc · CommentOpenReview ↗

I appreciate the authors' rebuttal responses. My concerns were addressed.

Authors · CommentOpenReview ↗

Dear reviewer,

Thank you for your response and for your thoughtful review. We believe all the experiments we added based on your feedback made our manuscript stronger. We are glad to hear all your questions were addressed, and would kindly ask you to consider updating your score.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…