共找到 20 条结果
We present trainsum, a versatile Python package for doing computations with multidimensional quantics tensor trains: https://github.com/fh-igd-iet/trainsum. Using the Array API standard together with opt_einsum, trainsum allows the effortless approximation of tensors or functions by tensor trains independent of their shape or dimensionality. Once approximated, our package can perform normal arithmetic operations with quantics tensor trains, including addition, Einstein summations and element-wise transformations. It can be therefore used for generic computations with applications in simulation, data compression, machine learning and data analysis.
The eruption of the filament/flux rope generates the coronal perturbations, which further form EUV waves. There are two types of EUV waves, including fast-mode magnetosonic waves and slow waves. In this paper, we first report an event showing the Quasiperiodic Slow-Propagating (QSP) EUV "wave" trains during an M6.4-class flare (SOL2023-02-25T18:40), using multiple observations from SDO/AIA, CHASE/HIS, ASO-S/FMG, SUTRI, and LASCO/C2. The QSP "wave" trains occurred as the filament showed a rapid rise. The QSP "wave" trains have the projected speeds of 50-130 km s$^{-1}$ on the plane of the sky, which is slower than the fast-mode magnetosonic speed in the solar corona. And the calculated period of the QSP wave trains is 117.9 s, which is in good agreement with the associated flare Quasi-Periodic Pulsation (140.3 s). The QSP wave trains could be observed during the entire impulsive phase of the flare and lasted about 30 minutes in the field of view (FOV) of SDO/AIA. About 30 minutes later, they appeared in the FOV of LASCO/C2 and propagated to the northwest. We suggest that the QSP wave trains are probably apparent waves that are caused by the successive stretching of the inclined fiel
The conversion of functions to quantics tensor trains is a well-established procedure and can either be done analytically or numerically. Numerical conversion schemes are based on singular value decompositions, where access to the full tensor is necessary, or on cross interpolations, which only depend on sampling a function. When dealing with large binary tensors, the first approach becomes prohibitively expensive while the second approach might fail to converge due to the non-smoothness of the data. In this work, we provide insight into how binary tensors, where the positions of the non-zero entries are defined by some Boolean function, can be converted into quantics tensor trains with a hybrid analytical-numerical approach utilizing the rank product. The proposed construction scheme nicely reproduces results from the literature and can be used for discrete convolutions, the construction of discrete wavelet transforms or slicing and assignment operations of multi-dimensional quantics tensor trains.
Tensor trains (or Matrix-Product States) are a data structure used in many fields of computer science and physics. They were recently shown to generalise binary decision diagrams when used over the 2-element Galois field, prompting the question of their reducibility in such a context, when the standard approach, over real or complex number, is not amenable to finite fields. We provide here a unique normal form and associated polynomial-time reduction strategy for tensor trains over arbitrary fields. We also show how to directly extract a normal form out of a full tensor, how to get the leading index and value of a normal form, and an upper bound on the size of a fully-reduced tensor train relative to a naive storage of the full tensor. On the one hand, this work strengthens the use of tensor trains as a relevant formal tool. On the other hand, from the perspective of tensor networks, it extends the formalism to more general settings than the well-studied real and complex fields, and crucially provides the first tensor train form with the uniqueness property.
We explore a physical model of ordered sums of integers as trains of rods. The trains for a fixed, possibly infinite, set of rods naturally correspond to nodes in a tree; relations among finite linear recursions encoded in the subtrees define algebraic operations on sets of rods. We use this algebra to prove classic identities for recursively defined sequences, to show that some Lucas sequences are divisibility sequences, to characterize two-term linear Fibonacci identities, and to find the cyclotomic polynomial factors of Borwein trinomials. We complement abstractions with lots of examples.
Points 2.1.4(b), 2.4.2(b) and 2.4.3(b) in Annex I of Implementing Regulation (EU) No. 402/2013 allow a simplified approach for the safety approval of computer vision systems for driverless trains, if they have 'similar' functions and interfaces as the replaced human driver. The human driver is not replaced one-to-one by a technical system - only a limited set of cognitive functions are replaced. However, performance in the most challenging function, obstacle detection, is difficult to quantify due to the deficiency of published measurement results. This article summarizes the data published so far. This article also goes a long way to remedy this situation by providing a new public and anonymized dataset of 711 train driver performance measurements from controlled experiments. The measurements are made for different speeds, obstacle sizes, train protection systems and obstacle color contrasts respectively. The measured values are reaction time and distance to the obstacle. The goal of this paper is an unbiased and exhaustive description of the presented dataset for research, standardization and regulation. The dataset with supplementing information and literature is published on ht
About the driven mechanisms of the quasi-periodic fast-propagating (QFP) wave trains, there exist two dominant competing physical explanations: associated with the flaring energy release or attributed to the waveguide dispersion. Employing Solar Dynamics Observatory (SDO) Atmospheric Imaging Assembly (AIA) 171 A images, we investigated a series of QFP wave trains composed of multiple wavefronts propagating along a loop system during the accompanying flare on 2011 November 11. The wave trains showed a high correlation in start time with the energy release of the accompanying flare. Measurements show that the wave trains phase speed is almost consistent with its group speed with a value of about 1000 km s-1, indicating that the wave trains should not be dispersed waves. The period of the wave trains was the same as that of the oscillatory signal in X ray emissions released by the flare. Thus we propose that the QFP wave trains were most likely triggered by the flare rather than by dispersion. We investigated the seismological application with the QFP waves and then obtained that the magnetic field strength of the waveguide was about 10 Gauss. Meanwhile, we also estimated that the ene
Neuroscientists have worked on the problem of estimating synaptic properties, such as connectivity and strength, from simultaneously recorded spike trains since the 1960s. Recent years have seen renewed interest in the problem, coinciding with rapid advances in the technology of high-density neural recordings and optogenetics, which can be used to calibrate causal hypotheses about functional connectivity. Here, a rigorous causal inference framework for pairwise excitatory and inhibitory monosynaptic effects between spike trains is developed. Causal interactions are identified by separating spike interactions in pairwise spike trains by their timescales. Fast algorithms for computing accurate estimates of associated quantities are also developed. Through the lens of this framework, the link between biophysical parameters and statistical definitions of causality between spike trains is examined across a spectrum of dynamical systems simulations. In an idealized setting, we demonstrate a correspondence between the synaptic causal metric developed here and the probabilities of causation developed by Tian and Pearl. Since the probabilities of causation are derived under distinct assumpt
Transporting hazardous materials (hazmats) using tank cars has more significant economic benefits than other transportation modes. Although railway transportation is roughly four times more fuel-efficient than roadway transportation, a train derailment has greater potential to cause more disastrous consequences than a truck incident. Train types, such as unit train or manifest train (also called mixed train), can influence transport risks in several ways. For example, unit trains only experience risks on mainlines and when arriving at or departing from terminals, while manifest trains experience additional switching risks in yards. Based on prior studies and various data sources covering the years 1996-2018, this paper constructs event chains for line-haul risks on mainlines (for both unit trains and manifest trains), arrival/departure risks in terminals (for unit trains) and yards (for manifest trains), and yard switching risks for manifest trains using various probabilistic models, and finally determines expected casualties as the consequences of a potential train derailment and release incident. This is the first analysis to quantify the total risks a train may encounter through
Rapidly propagating fast magnetoacoustic wave trains guided by field-aligned plasma non-uniformities are confidently observed in the Sun's corona. Observations at large heights suggest that fast wave trains can travel long distances from the excitation locations. We study characteristic time signatures of fully developed, dispersive fast magnetoacoustic wave trains in field-aligned zero-$β$ plasma slabs in the linear regime. Fast wave trains are excited by a spatially localised impulsive driver and propagate along the waveguide as prescribed by the waveguide-caused dispersion. In slabs with steeper transverse density profiles, developed wave trains are shown to consist of three distinct phases: a long-period quasi-periodic phase with the oscillation period shortening with time, a multi-periodic (peloton) phase in which distinctly different periods co-exist, and a short-lived periodic Airy phase. The appearance of these phases is attributed to a non-monotonic dependence of the fast wave group speed on the parallel wavenumber due to the waveguide dispersion, and is shown to be different for axisymmetric (sausage) and non-axisymmetric (kink) modes. In wavelet analysis, this correspond
We find a set of new exact solutions of a quantum harmonic oscillator, which describes some wave-packet trains with average energy being proportional to both the quantum level and classical energy of the oscillator. Center of the wave-packet trains may oscillate like a classical harmonic oscillator of frequency $ω$. Width and highness of the trains may change simultaneously with frequency $2 ω$ as an array of breathers. Under some perturbations the wave-packet trains could transit between the states of different quantum numbers. We demonstrate analytically and numerically that the wave-packet trains can be strictly fitted to the matter-wave soliton trains observed by Strecher et al. and reported in Nature 417, 150(2002). When the wave-packets breathe with greater amplitudes, they show periodic collapse and revival of the matter-wave.
QFP wave trains in the corona have been studied intensively in the past decade, thanks to the full-disk, high spatiotemporal resolution, and wide-temperature coverage observations taken by the SDO/AIA. In AIA observations, QFP wave trains are seen to consist of multiple coherent and concentric wavefronts emanating successively near the epicenter of the accompanying flares; they propagate outwardly either along or across coronal loops at fast-mode magnetosonic speeds from several hundred to more than 2000 km/s, and their periods are in the range of tens of seconds to several minutes. Based on the distinct different properties of QFP wave trains, they might be divided into two distinct categories including narrow and broad ones. For most QFP wave trains, some of their periods are similar to those of quasi-periodic pulsations (QPPs) in the accompanying flares, indicating that they are probably different manifestations of the same physical process. Currently, candidate generation mechanisms for QFP wave trains include two main categories: pulsed energy excitation mechanism in association with magnetic reconnection and dispersion evolution mechanism related to the dispersive evolution o
A high-speed train needs high-level maintenance when its accumulated running mileage or time reaches predefined threshold. The date of delivering an Electric Multiple Unit (EMU) train to maintenance ranges within a time window rather than be a fixed date. Obviously, changing the delivering date always means a different impact on the supply of EMU trains and operation cost. Therefore, the delivering plan has the potential to be optimized. This paper formulates the EMU train high-level maintenance planning problem as a non-linear 0-1 programming model. The model aims at minimizing the mileage loss of all EMU trains with the consideration of the maintenance capacity of the workshop and maintenance ratio at different times. The number of trains under maintenance not only depends on the current maintenance plan, but also influenced by the trains whose maintenance time span from the last planning horizon to current horizon. A state function is established to describe whether a train is under maintenance. By using this function the constraint of restricting the total number of trains that are under maintenance can be formulated reasonably well. Finally, a simulated annealing algorithm is
The distance between a pair of spike trains, quantifying the differences between them, can be measured using various metrics. Here we introduce a new class of spike train metrics, inspired by the Pompeiu-Hausdorff distance, and compare them with existing metrics. Some of our new metrics (the modulus-metric and the max-metric) have characteristics that are qualitatively different than those of classical metrics like the van Rossum distance or the Victor & Purpura distance. The modulus-metric and the max-metric are particularly suitable for measuring distances between spike trains where information is encoded in bursts, but the number and the timing of spikes inside a burst does not carry information. The modulus-metric does not depend on any parameters and can be computed using a fast algorithm, in a time that depends linearly on the number of spikes in the two spike trains. We also introduce localized versions of the new metrics, which could have the biologically-relevant interpretation of measuring the differences between spike trains as they are perceived at a particular moment in time by a neuron receiving these spike trains.
In many countries, a rail network consists of single lines with sidings where interactions between trains occur (meet, pass). In this paper, we study two issues of these networks: first, the scheduling of freight trains in a single line corridor while ensuring safe interactions and second, the allocation of freight to freight trains regarding the release dates of freight, weight of freight, and weight capacity of the trains. Both of these issues must be addressed when examining real-world freight train scheduling problems. The objective functions of this study are the minimization of a train's travelling time, the allocation of freight to freight trains, and the reduction of tardiness of freight at destination. Both scheduling and allocation problems are presented using integer linear programming models. In addition, an integrated novel heuristic algorithm has been proposed to solve them. Computational results demonstrated through a generated dataset show both model validation and efficiency of the heuristic algorithm. The heuristic algorithm has been designed to incorporate the practical operational railway rules with modest modification. Although its outputs slightly differ from
Neurons in the central nervous system communicate with each other with the help of series of Action Potentials, or spike trains. Various studies have shown that neurons encode information in different features of spike trains, such as the fine temporal structure, mean firing rate, synchrony etc. An important step in understanding the encoding of information by neurons, is to obtain a reliable measure of correlation between different spike trains. In this paper, two new binless similarity measures for spike trains are proposed. The performance of the new measures are compared with some existing measures in their ability to detect important features of spike trains, such as their firing rate, sensitivity to bursts and common periods of silence and detecting synchronous activity.
In this note we construct mixed dimensional infinite soliton trains, which are solutions of nonlinear Schrödinger equations whose asymptotic profiles at time infinity consist of infinitely many solitons of multiple dimensions. For example infinite line-point soliton trains in 2D space, and infinite plane-line-point soliton trains in 3D space. This note extends the works of Le Coz, Li and Tsai [5, 6], where single dimensional trains are considered. In our approach, spatial $L^\infty$ bounds for lower dimensional trains play an essential role.
The statistical analysis of neuronal spike trains by models of point processes often relies on the assumption of constant process parameters. However, it is a well-known problem that the parameters of empirical spike trains can be highly variable, such as for example the firing rate. In order to test the null hypothesis of a constant rate and to estimate the change points, a Multiple Filter Test (MFT) and a corresponding algorithm (MFA) have been proposed that can be applied under the assumption of independent inter spike intervals (ISIs). As empirical spike trains often show weak dependencies in the correlation structure of ISIs, we extend the MFT here to point processes associated with short range dependencies. By specifically estimating serial dependencies in the test statistic, we show that the new MFT can be applied to a variety of empirical firing patterns, including positive and negative serial correlations as well as tonic and bursty firing. The new MFT is applied to a data set of empirical spike trains with serial correlations, and simulations show improved performance against methods that assume independence. In case of positive correlations, our new MFT is necessary to r
Pulse trains growing from modulated continuous waves (CWs) are considered, using solutions of the Hirota equation for solitons on a finite background. The results demonstrate that pulses extracted from the maximally compressed trains can propagate preserving their shape and forming robust arrays. The dynamics of double high-power pulse trains produced by modulated CWs in a model of optical fibers, including the Raman effect and other higher-order terms, is considered in detail too. It is demonstrated that the double trains propagate in a robust form, with frequencies shifted by the Raman effect.
Extending a fully post-trained language model with new domain capabilities is fundamentally limited by monolithic training paradigms: retraining from scratch is expensive and scales poorly, while continued training often degrades existing capabilities. We present BAR (Branch-Adapt-Route), which trains independent domain experts, each through its own mid-training, supervised finetuning, and reinforcement learning pipeline, and composes them via a Mixture-of-Experts architecture with lightweight router training. Unlike retraining approaches that mix all domains and require full reprocessing for any update (with cost scaling quadratically), BAR enables updating individual experts independently with linear cost scaling and no degradation to existing domains. At the 7B scale, with experts for math, code, tool use, and safety, BAR achieves an overall score of 49.1 (averaged across 7 evaluation categories), matching or exceeding re-training baselines (47.8 without mid-training, 50.5 with). We further show that modular training provides a structural advantage: by isolating each domain, it avoids the catastrophic forgetting that occurs when late-stage RL degrades capabilities from earlier t