time step
Temporal Logic Tensor Networks: Foundations of Temporal Reasoning in Neural Networks
Mota, Edjard, Garcez, Artur d'Avila, Azevedo, Maria, Neto, Odalisio
In dynamic scenes---football matches, traffic streams, surgery, or assembly---actions unfold at fundamentally different time scales: in football, a kick happens in milliseconds, a possession lasts seconds, and complex events such as a successful pass followed by a goal combine multiple atomic actions over extended durations. Models trained solely on visual data struggle to learn effectively across different time scales, lacking a principled way of reasoning across fine-grained instants and broader intervals. Neither point-wise nor purely interval semantics suffices: the former fragments events into frame-level snapshots lacking overall event identification; the latter treats intervals as atomic truth-values, ignoring state trajectories. We introduce Temporal Logic Tensor Networks (tLTN), a differentiable neuro-symbolic framework addressing this duality via a formal, multi-sorted logic where events and states are structurally interdependent. Extending Interval Logic Tensor Networks (ILTN), tLTN grounds state predicates as fuzzy truth-value paths over time points, while events are first-class entities with learnable trapezoidal fuzzy durations and differentiable Allen-style relations. A compositional semantics fuses static, event-structural, and state-dynamic satisfaction into a single differentiable LTN grounding. Crucially, the modalities constrain each other bidirectionally: the interval layer dictates where point-wise constraints (e.g., Until, Since) are evaluated, restricting them to event-defined spans; conversely, the point-wise layer validates interval relations, rejecting them if underlying state dynamics contradict the relation. Through controlled synthetic examples, we show when single-modality learning fails and how this localization reduces frame-level computational cost on long traces.
APPSolver: Adaptive Patch Partitioning for Point-Wise Ship Flow Prediction on Unstructured Meshes
Huo, Wenhua, Han, Fenglei, Zhao, Wangyuan, Peng, Xiao, Wang, Chunhui, Wu, Jialin, Han, Jiayi
Predicting high-fidelity flow fields around ship hulls is central to hydrodynamic performance analysis, yet traditional CFD solvers remain computationally prohibitive for rapid design exploration across multiple vessel types and operating conditions. Existing deep-learning surrogates often interpolate unstructured CFD meshes onto regular grids, which can blur near-field resolution, while direct point-level global attention on large unstructured meshes can be computationally expensive. In this paper, we introduce APPSolver, a neural surrogate that learns next-step point-wise flow-field prediction directly on the unstructured free-surface ship CFD mesh without re-gridding. APPSolver is built around Adaptive Patch Partitioning (APP), a quadtree-based strategy that groups unstructured points into local spatial patches according to the non-uniform density inherent in ship CFD meshes: fine near the hull and wake, coarse in the far field. The resulting patch tokens are processed by a Transformer backbone together with optional condition token that encode ship geometry and condition parameters via a frozen large language model, forming a unified token-space model for one-step temporal advancement of velocity and pressure fields. On the ShipBench dataset, APP-Transformer exhibits an accuracy--efficiency trade-off, incurring higher prediction errors than the strongest learned baselines while requiring substantially lower forward computation. Ablation studies quantify the compression-fidelity trade-off of APP and demonstrate that condition token provide preliminary gains in some leave-one-hull-out settings. Code is available at https://github.com/wenhuahuo/APPSolver.
Emergence and Collapse of Leader-Follower Flocks through Phantom Targets: Surprise Nullification in Bayesian and Inverse Bayesian Inference
Shinohara, Shuji, Morita, Daiki, Nakajima, Yoshihiro, Takano, Takeshi, Higuchi, Masakazu, Chung, Ung-il, Gunji, Yukio-Pegio
In Bayesian and inverse Bayesian (BIB) inference, surprise nullification expands belief and likelihood variances by a common factor while preserving the variance-ratio update rule of standard Bayesian inference. This can weaken confidence in existing beliefs without increasing the learning rate. We studied collective motion in three agents that predicted one another's positions using BIB inference and moved toward those predictions, without alignment rules or designated leaders. Across 100 trials, the agents repeatedly formed and dissolved leader-follower flocks. Three leadership criteria identified the same agent in 79% of eligible flocks, with different agents leading different flocks. Flocks typically formed when an agent nearly stopped incorporating observations of a partner (a link cut) and pursued a predicted position detached from reality (a phantom target). Link cuts arose from two consecutive redrawings of the likelihood variance (resets): the first sharply reduced belief variance, and the second raised the likelihood-to-belief variance ratio, suppressing learning. The resulting straight motion attracted followers. Flocks collapsed when the returning phantom target balanced the leader's forward and backward attractions; link recovery generally followed collapse. Without nullification, cuts rarely recovered, whereas expanding only belief variance caused recovery within a few steps. Joint expansion allowed cuts to persist while belief uncertainty grew and enabled later recovery through likelihood-variance resets. Thus, surprise nullification reconciles the persistence and recovery of inaccurate predictions, enabling transient collective order without prescribed leadership.
Growing a Neural Network in Breadth, Depth, and Time
Butkus, Eivinas, Gupta, Kedar Garzรณn, Kriegeskorte, Nikolaus
Brains and AI systems alike must achieve their goals with limited space, time, energy, and data. Here we focus on space and time, defining differentiable costs for breadth (channels), depth (layers), and time (recurrent steps) in a recurrent convolutional network. We optimize these costs jointly with task error via backpropagation. Pricing each resource differently, we grow a diverse set of computational graphs through optimization. We find that breadth, depth, and time can be traded off against each other at a given level of accuracy. Networks grow with task complexity and, when allowed to adaptively allocate time per input, take more recurrent steps if inputs are occluded. The time the model spends on each image also correlates with human reaction times, despite no training on human data. Our work takes a step toward a normative account of how spatial and temporal resource costs jointly shape neural architectures in brains and machines.
A Physics-Regulated Neural Framework for Learning 3D Grain Growth Dynamics
Tian, Zhihui, Yang, Kang, Tonks, Michael, Krause, Amanda R., Harley, Joel B.
Grain growth is governed by the reduction in grain boundary energy and exhibits well-established statistical scaling laws. Developing data-driven surrogates that preserve these physical invariants while remaining computationally scalable remains challenging, especially in 3D. We present 3D-PRIMME (Physics-Regulated Interpretable Machine Learning for Microstructure Evolution) for learning three-dimensional grain growth dynamics. The model is trained using only two consecutive time steps yet accurately reproduces the linear coarsening law and preserves topological statistics over extended time scales. Despite being trained on a $100^3$ grid points with 512 grains, the learned evolution operator is applied to domains up to $1024^3$ grid points with 550000 grains without retraining, maintaining consistent kinetics and grain topology across orders-of-magnitude increases in system size. These results demonstrate that 3D-PRIMME learns a scale-independent and temporally stable local evolution rule, enabling efficient and robust large-scale surrogate prediction of 3D microstructure evolution.
Adaptive Anisotropic Attention for Axis-Structured Signals
Jain, Mahir, Runwal, Parshva, Mishra, Aditya Ray, Bani, Raj Singh, Kulkarni, Arvasu, Singh, Sandeep, Panwar, Siddharth
Dense self-attention treats all token pairs as equally plausible before learning--an interaction-isotropic prior that can be mismatched to structured signals. For structured, low signal-to-noise ratio (SNR) signals such as EEG, dependencies are organized along the electrode and time axes, and this uniform prior exposes each token to many irrelevant interactions. We introduce Adaptive Anisotropic Attention (AAA), which splits attention into two paths: a temporal path, where each token attends to the tokens of its own electrode across time, and a spatial path, where it attends to the tokens of the other electrodes at the same time step. A small gate predicts, for every token, a convex combination and the token's update is the weighted sum of the two path outputs. On six EEG downstream tasks, the resulting model, AXON (AXis-factorized Operator Network), improves mean balanced accuracy over a dense baseline under both linear probing and full fine-tuning. We show that both paths (temporal and spatial) are necessary and that the weighted sum beats a hard choice of one path; most of the benefit comes from the gate learning a different temporal/spatial balance at each layer of the network. Controlled audio spectrogram experiments show that axis factorization transfers beyond EEG. These results suggest that aligning attention with the natural axes of structured signals provides a useful inductive bias.
Gaussian processes for real-time urban traffic estimation using a fleet of drones
Avci, Batuhan, Susnjar, Marko, Maljkovic, Marko, Geroliminis, Nikolas
Real-time urban traffic monitoring is essential for modern city management, yet conventional static sensors provide only limited spatial coverage. Autonomous drone fleets can complement this infrastructure by offering flexible, high-resolution mobile sensing across different parts of the network. This paper introduces a spatio-temporal Gaussian process (GP) framework for reconstructing network-wide traffic states from partial aerial observations. The model accounts for the physical structure of the road network through a graph Matรฉrn kernel, which embeds network topology into the spatial covariance structure, and captures temporal dependencies through an exponential temporal kernel. Within this framework, historical loop detector data provide an informative prior mean that is updated in real time using incoming drone observations, yielding network-wide point estimates together with predictive uncertainty. We validate our framework in two distinct case studies: a microscopic simulation of Barcelona and real-world drone data from Athens. The results demonstrate that our approach outperforms historical baselines in estimating and predicting Vehicle Hours Traveled (VHT), notably reducing the required fleet size. Furthermore, leveraging the model's predictive uncertainty to guide drone movements yields additional performance gains, highlighting the potential for future uncertainty-aware fleet routing algorithms.
TENG-BC: Time-Evolving Natural Gradient for High-Accuracy Neural PDE Solvers with General Boundary Conditions
Accurately solving time-dependent partial differential equations (PDEs) with neural networks remains challenging due to long-time error accumulation and the difficulty of enforcing general boundary conditions. We introduce TENG-BC, a high-precision neural PDE solver based on the Time-Evolving Natural Gradient, designed to perform under generic boundary constraints. At each time step, TENG-BC performs a boundary-aware optimization that jointly enforces interior dynamics and boundary conditions, accommodating Dirichlet, Neumann, Robin, and mixed types within a unified framework. This formulation admits a natural-gradient interpretation, enabling stable time evolution without delicate penalty tuning. Across benchmarks over diffusion, transport, and nonlinear PDEs with various boundary conditions, TENG-BC achieves solver-level accuracy under comparable sampling budgets, outperforming conventional solvers and physics-informed neural network (PINN) baselines.
Neuronal Self-Adaptation Enhances Capacity and Robustness of Representation in Spiking Neural Networks
Yang, Zhuobin, Yu, Liao, Bao, Yeyao, Zhang, Jian, Lv, Liangfu, Guo, Daqing, Li, Xiaohong, Zang, Yunliang
Spiking Neural Networks (SNNs) are promising for energy-efficient, real-time edge computing, yet their performance is often constrained by the limited adaptability of conventional leaky integrate-and-fire (LIF) neurons. Existing LIF models struggle with restricted information capacity and susceptibility to noise, leading to degraded accuracy and compromised robustness. Inspired by the dynamic self-regulation of biological potassium channels, we propose the Potassium-regulated LIF (KvLIF) neuron model. KvLIF introduces an auxiliary conductance state that integrates membrane potential and spiking history to adaptively modulate neuronal excitability and reset dynamics. This design extends the dynamic response range of neurons to varying input intensities and effectively suppresses noise-induced spikes. We extensively evaluate KvLIF on both static image and neuromorphic datasets, demonstrating consistent improvements in classification accuracy and superior robustness compared to existing LIF models. Our work bridges biological plausibility with computational efficiency, offering a neuron model that enhances SNN performance while maintaining suitability for low-power neuromorphic deployment.
ELF: Embedded Language Flows
Hu, Keya, Qiu, Linlu, Lu, Yiyang, Zhao, Hanhong, Li, Tianhong, Kim, Yoon, Andreas, Jacob, He, Kaiming
Diffusion and flow-based models have become the de facto approaches for generating continuous data, e.g., in domains such as images and videos. Their success has attracted growing interest in applying them to language modeling. Unlike their image-domain counterparts, today's leading diffusion language models (DLMs) primarily operate over discrete tokens. In this paper, we show that continuous DLMs can be made effective with minimal adaptation to the discrete domain. We propose Embedded Language Flows (ELF), a class of diffusion models in continuous embedding space based on continuous-time Flow Matching. Unlike existing DLMs, ELF predominantly stays within the continuous embedding space until the final time step, where it maps to discrete tokens using a shared-weight network. This formulation makes it straightforward to adapt established techniques from image-domain diffusion models, e.g., classifier-free guidance (CFG). Experiments show that ELF substantially outperforms leading discrete and continuous DLMs, achieving better generation quality with fewer sampling steps. These results suggest that ELF offers a promising path toward effective continuous DLMs.