machine learning

From Classification to Regression: Using a Fruitfly to Solve Equations

arXiv:2607.27196

summary

The paper proposes a regression method that treats prediction as a classification problem by storing a finite library of local input-output patterns and using similarity‑based weighted reconstruction to generate outputs, inspired by fruitfly sensory mechanisms.

Abstract

We present a novel approach to regression tasks using classification which is motivated by the mechanism used by fruitflies to sense their environment. Specifically, we formulate a general framework for learning nonlinear input-output relationships by replacing complex global surrogate models with a finite library of representative local patterns. Since scientific data often occupy limited and recurring regions of the input space, we generate predictions by measuring similarities between a query and stored patterns, then combining their associated responses through weighted reconstruction. We apply this approach to nonlinear dynamical systems, data-driven regression, and physics-informed learning using suitable embeddings and similarity measures. For dynamical systems, our offline-online workflow extracts patterns from data or governing equations during the offline phase, while online prediction requires only similarity evaluation and response aggregation. This structure helps us reduce computational and memory demands while providing explicit control over the trade-off among accuracy, storage, and inference cost.

Topics & keywords

#regression#classification#local pattern library#similarity-based prediction#physics-informed learningoffline-online workflowweighted reconstructionsimilarity measurefruitfly-inspired sensingnonlinear dynamical systems