English

Comply: Learning Sentences with Complex Weights inspired by Fruit Fly Olfaction

Computation and Language 2025-07-16 v3 Artificial Intelligence Machine Learning Neural and Evolutionary Computing

Abstract

Biologically inspired neural networks offer alternative avenues to model data distributions. FlyVec is a recent example that draws inspiration from the fruit fly's olfactory circuit to tackle the task of learning word embeddings. Surprisingly, this model performs competitively even against deep learning approaches specifically designed to encode text, and it does so with the highest degree of computational efficiency. We pose the question of whether this performance can be improved further. For this, we introduce Comply. By incorporating positional information through complex weights, we enable a single-layer neural network to learn sequence representations. Our experiments show that Comply not only supersedes FlyVec but also performs on par with significantly larger state-of-the-art models. We achieve this without additional parameters. Comply yields sparse contextual representations of sentences that can be interpreted explicitly from the neuron weights.

Keywords

Cite

@article{arxiv.2502.01706,
  title  = {Comply: Learning Sentences with Complex Weights inspired by Fruit Fly Olfaction},
  author = {Alexei Figueroa and Justus Westerhoff and Golzar Atefi and Dennis Fast and Benjamin Winter and Felix Alexander Gers and Alexander Löser and Wolfgang Nejdl},
  journal= {arXiv preprint arXiv:2502.01706},
  year   = {2025}
}

Comments

Accepted at NICE2025

R2 v1 2026-06-28T21:31:08.776Z