Litcius/Paper detail

Spiral Time: A Geometric Reframing of Temporal Structure and Its Applications in Machine Learning

Ajieh, Frank

2026Open MIND178 citationsDOIOpen Access PDF

Abstract

Archimedean spiral in 2D space rather than a scalar on a number line. Under this framework, called Spiral Time, every moment carries both a radial coordinate encoding cumulative progression (trend) and an angular coordinate encoding phase within a recurring cycle (seasonality). This decomposition is geometric and a priori — it is a property of the time coordinate itself, not a learned or analytical transformation of the target variable. We derive the mathematical structure, demonstrate a controlled 10-experiment LSTM ablation on US Monthly Retail Sales (RSXFS), and show how spiral time embeddings replace standard positional encodings in Transformer architectures with no other architectural changes. Key results: The optimal multi-period spiral time embedding achieves 1.69% MAPE — outperforming scalar time (9.76%) by 83% and hand-engineered sinusoidal features (4.62%) by 63%. The performance hierarchy is perfectly monotone across all 10 experiments: every geometric addition improves performance with no exceptions. Key finding on normalisation: the radial term contributes only when linear in θ and z-score normalised. Incorrect normalisation produces results worse than omitting the trend term entirely — a practically important result for any practitioner adding trend proxies to oscillatory features. The paper covers the single-period and multi-period embedding, connections to Transformer positional encodings, Hawking–Hartle imaginary time, and Kaluza–Klein theory, and surveys applications in forecasting, anomaly detection, battery health modeling, drug dosing, financial cycle modeling, climate science, and neuroscience. Code is open-source and available at: github.com/frankajieh-ship-it/spiral-time

Topics & Concepts

Representation (politics)Computer scienceFeature (linguistics)Range (aeronautics)Feature learningArtificial intelligenceTheoretical computer scienceMachine learningEngineeringLinguisticsPhilosophyAerospace engineeringLawPolitical sciencePoliticsTime Series Analysis and ForecastingAdvanced Text Analysis TechniquesTopic Modeling
Spiral Time: A Geometric Reframing of Temporal Structure and Its Applications in Machine Learning | Litcius