HorNets: Learning from Discrete and Continuous Signals with Routing Neural Networks

Boshko Koloski, Nada Lavrač, Blaž Škrlj
1/24/2025
cs.LGcs.AI

No official code found. Best implementation: bkolosk1/hornets (7 stars, MIT, last commit 2026-04-13).

Abstract

Construction of neural network architectures suitable for learning from both continuous and discrete tabular data is a challenging research endeavor. Contemporary high-dimensional tabular data sets are often characterized by a relatively small instance count, requiring data-efficient learning. We propose HorNets (Horn Networks), a neural network architecture with state-of-the-art performance on synthetic and real-life data sets from scarce-data tabular domains. HorNets are based on a clipped polynomial-like activation function, extended by a custom discrete-continuous routing mechanism that decides which part of the neural network to optimize based on the input's cardinality. By explicitly modeling parts of the feature combination space or combining whole space in a linear attention-like manner, HorNets dynamically decide which mode of operation is the most suitable for a given piece of data with no explicit supervision. This architecture is one of the few approaches that reliably retrieves logical clauses (including noisy XNOR) and achieves state-of-the-art classification performance on 14 real-life biomedical high-dimensional data sets. HorNets are made freely available under a permissive license alongside a synthetic generator of categorical benchmarks.

View on arXivView PDF

Code Implementations(1)

bkolosk1/hornetsCommunity100%
MIT

HorNets is a Python package implementing the HorNets architecture of the HorNets: Learning from Discrete and Continuous Signals with Routing Neural Networks paper.

70PythonAug 4, 20246 months agoMIT

Similar Papers

Cite this paper

@article{koloski2025hornets,
  title  = {HorNets: Learning from Discrete and Continuous Signals with Routing Neural Networks},
  author = {Boshko Koloski and Nada Lavrač and Blaž Škrlj},
  year   = {2025},
  eprint = {2501.14346},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.14346v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.14346.svg)](https://codeofpaper.com/paper/2501.14346)

Discussion