SearcharxivSearch

arXiv subjects

Kristóf Benedek

Publications and source records attributed to Kristóf Benedek.

6 recordsLinked to original sources

Chaos in reason: How chain-of-thought LLMs can look for an answer

Large Language Models (LLMs) have achieved remarkable performance across a wide range of tasks, yet their internal dynamics remain poorly understood. In this work, we apply the tools of nonlinear dynamics and chaos theory to LLMs. By analyzing both text and hidden state trajectories, we demonstrate that LLMs exhibit hallmark signatures of chaos, including strong sensitivity to initial conditions, manifested as intermittent, jump-like divergence of nearby trajectories combined with bounded evolution, with consistent results across different distance metrics. An exact Jacobian analysis of the Transformer's sub-blocks shows that self-attention and the feed-forward network expand and propagate perturbations, while normalization and residual connections counteract this expansion and promote stability. Recurrence plots show structural similarities between LLMs and canonical chaotic systems such as the Lorenz attractor, while dimension analysis reveals fractal structures in the hidden state space, particularly pronounced in the last layers. We propose that the nonlinear coupling induced by attention mechanisms plays a key role in driving this chaotic behavior.

nlin.CD

The effect of HVDC lines in power-grids via Kuramoto modelling

We present a numerical study on the synchronization and cascade failure behaviour by solving the adaptive second-order Kuramoto model on a large high voltage (HV) European power-grid. This non-perturbative analysis takes into account non-linear effects, which occur even when phase differences are large, when the system is away from the steady state, and even during a blackout cascade. Our dynamical simulations show that improvements in the phase synchronziation stabilization as well as the in the cascade sizes can be related to the finite size scaling behaviour of the second order Kuramoto on graphs with $d_s<4$ spectral dimensions. On the other hand drawbacks in the frequency spread and Braess effects also occur by varying the total transmitted power at large and small global couplings, presumably when the fluctuations are small, causing a freezing in the dynamics. We compare simulations of the fully AC model with those of static or adaptive High Voltage Direct Current (HVDC) line replacements. The adaptive (local frequency difference-based) HVDC lines are more efficient in the steady state, at the expense of very long relaxation times.

physics.soc-ph

Quantitative comparison of power grid reinforcements

This paper presents a quantitative comparison of power grid reinforcement strategies. We evaluate three approaches: (1) doubling transmission links (bridges) between different communities, (2) adding bypasses around weakly synchronized nodes, and (3) reinforcing edges that trigger the largest cascade failures. We use two different models of the Hungarian high-voltage network. These models are built from the official data provided by the transmission system operator, thus eliminating the assumptions typically used in other studies. The coupling strength distribution of the Hungarian models shows good agreement with our previous works using the European and North American grids. Additionally, we examine the occurrence of Braess' paradox, where added transmission capacity unexpectedly reduces overall stability. Our results show that reinforcement through community-based bridge duplication yields the most significant improvements across all parameters. A visual comparison highlights differences between this method and traditional reinforcement approaches. To the authors' knowledge, this is the first attempt to quantitatively compare results of oscillator-based studies with those relying on power system analysis software. Characteristic results of line-cut simulations reveal cascade size distributions with fat-tailed decays for medium coupling strengths, while exponential behavior emerges for small and large couplings. The observed exponents are reminiscent of the continuously changing exponents due to Griffiths effects near a hybrid type of phase transition.

cond-mat.dis-nn

Studying power-grid synchronization with incremental refinement of model heterogeneity

Modeling power-grid systems has got a major importance in present days as transformation to renewable energy sources requires the complete re-design of energy transmission. Renewable energy sources can be located quite far from their consumption points because urban and industrial structures do not follow physical constraints and capabilities. Important examples are the sea coast vs inland divisions in the case of wind power. Ill-constructed high-voltage (HV) power grids can cause catastrophic damages to economies as it was demonstrated in recent history via the emergence of large blackout events. The probability distributions of such events was found to be fat-tailed, exhibiting power-law (PL) tails very often. To understand them, self-organized critical direct current (DC) models have been constructed~\cite{car2} and have been shown to describe well the PL exponents of empirical values. However, many details could not be understood as power-grids work with alternating currents (AC) in which phase differences are the primary causes of the power-flows.

nlin.AO

Improving power-grid systems via topological changes, or how self-organized criticality can help stability

Cascade failures in power grids occur when the failure of one component or subsystem causes a chain reaction of failures in other components or subsystems, ultimately leading to a widespread blackout or outage. Controlling cascade failures on power grids is important for many reasons like economic impact, national security, public safety and even rippled effects like troubling transportation systems. Monitoring the networks on node level has been suggested by many, either controlling all nodes of a network or by subsets. This study identifies sensitive graph elements of the weighted European power-grids (from 2016, 2022) by two different methods. Bridges are determined between communities and "weak" nodes are selected by the lowest local synchronization of the swing equation. In the latter case we add bypasses of the same number as the bridges at weak nodes, and we compare the synchronization, cascade failure behavior by the dynamical improvement with the purely topological changes. The results are also compared if bridges are removed from networks, which results in a case similar to islanding, and with the addition of links at randomly selected places. Bypassing was found to improve synchronization the best, while the average cascade sizes are the lowest with bridge additions. However, for very large or small global couplings these network changes do not help, they seem to be useful near the synchronization transition region, where self-organization drives the power-grid. Thus, we provide a demonstration for the Braess' Paradox on continent-sized power grid simulations and uncover the limitations of this phenomenon. We also determine the cascade size distributions and justify the power-law tails near the transition point on these grids.

physics.soc-ph

Dynamical heterogeneity and universality of power-grids

While weak, tuned asymmetry can improve, strong heterogeneity destroys synchronization in the electric power system. We study the level of heterogeneity, by comparing large high voltage (HV) power-grids of Europe and North America. We provide an analysis of power capacities and loads of various energy sources from the databases and found heavy tailed distributions with similar characteristics. Graph topological measures, community structures also exhibit strong similarities, while the cable admittance distributions can be well fitted with the same power-laws (PL), related to the length distributions. The community detection analysis shows the level of synchronization in different domains of the European HV power grids, by solving a set of swing equations. We provide numerical evidence for frustrated synchronization and Chimera states and point out the relation of topology and level of synchronization in the subsystems. We also provide empirical data analysis of the frequency heterogeneities within the Hungarian HV network and find q-Gaussian distributions related to super-statistics of time-lagged fluctuations, which agree well with former results on the Nordic Grid.

physics.soc-ph