Block-Operations: Using Modular Routing to Improve Compositional Generalization
<|reference_start|>Block-Operations: Using Modular Routing to Improve Compositional Generalization: We explore the hypothesis that poor compositional generalization in neural networks is caused by difficulties with learning effective routing. To solve this problem, we propose the concept of block-operations, which is based on splitting all activation tensors in the network into uniformly sized blocks and using an inductive bias to encourage modular routing and modification of these blocks. Based on this concept we introduce the Multiplexer, a new architectural component that enhances the Feed Forward Neural Network (FNN). We experimentally confirm that Multiplexers exhibit strong compositional generalization. On both a synthetic and a realistic task our model was able to learn the underlying process behind the task, whereas both FNNs and Transformers were only able to learn heuristic approximations. We propose as future work to use the principles of block-operations to improve other existing architectures.<|reference_end|>
@article{dietz2024block-operations:,
    title={Block-Operations: Using Modular Routing to Improve Compositional
  Generalization},
    author={Florian Dietz, Dietrich Klakow},
    journal={arXiv preprint arXiv:2408.00508},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.00508},
    primaryClass={cs.LG}
}