Searcharxiv⌕ Search

arXiv subjects

Niels Lörch

Publications and source records attributed to Niels Lörch.

At least 19 recordsLinked to original sources

Decomposing Behavioral Phase Transitions in LLMs: Order Parameters for Emergent Misalignment

Fine-tuning LLMs on narrowly harmful datasets can lead to behavior that is broadly misaligned with respect to human values. To understand when and how this emergent misalignment occurs, we develop a comprehensive framework for detecting and characterizing rapid transitions during fine-tuning using both distributional change detection methods as well as order parameters that are formulated in plain English and evaluated by an LLM judge. Using an objective statistical dissimilarity measure, we quantify how the phase transition that occurs during fine-tuning affects multiple aspects of the model. In particular, we assess what percentage of the total distributional change in model outputs is captured by different aspects, such as alignment or verbosity, providing a decomposition of the overall transition. We also find that the actual behavioral transition occurs later in training than indicated by the peak in the gradient norm alone. Our framework enables the automated discovery and quantification of language-based order parameters, which we demonstrate on examples ranging from knowledge questions to politics and ethics.

cs.LG↗

Neural Total Variation Distance Estimators for Changepoint Detection in News Data

Detecting when public discourse shifts in response to major events is crucial for understanding societal dynamics. Real-world data is high-dimensional, sparse, and noisy, making changepoint detection in this domain a challenging endeavor. In this paper, we leverage neural networks for changepoint detection in news data, introducing a method based on the so-called learning-by-confusion scheme, which was originally developed for detecting phase transitions in physical systems. We train classifiers to distinguish between articles from different time periods. The resulting classification accuracy is used to estimate the total variation distance between underlying content distributions, where significant distances highlight changepoints. We demonstrate the effectiveness of this method on both synthetic datasets and real-world data from The Guardian newspaper, successfully identifying major historical events including 9/11, the COVID-19 pandemic, and presidential elections. Our approach requires minimal domain knowledge, can autonomously discover significant shifts in public discourse, and yields a quantitative measure of change in content, making it valuable for journalism, policy analysis, and crisis monitoring.

cs.LG↗

Phase Transitions in the Output Distribution of Large Language Models

In a physical system, changing parameters such as temperature can induce a phase transition: an abrupt change from one state of matter to another. Analogous phenomena have recently been observed in large language models. Typically, the task of identifying phase transitions requires human analysis and some prior understanding of the system to narrow down which low-dimensional properties to monitor and analyze. Statistical methods for the automated detection of phase transitions from data have recently been proposed within the physics community. These methods are largely system agnostic and, as shown here, can be adapted to study the behavior of large language models. In particular, we quantify distributional changes in the generated output via statistical distances, which can be efficiently estimated with access to the probability distribution over next-tokens. This versatile approach is capable of discovering new phases of behavior and unexplored transitions -- an ability that is particularly exciting in light of the rapid development of language models and their emergent capabilities.

cs.LG↗

Machine learning phase transitions: Connections to the Fisher information

Despite the widespread use and success of machine-learning techniques for detecting phase transitions from data, their working principle and fundamental limits remain elusive. Here, we explain the inner workings and identify potential failure modes of these techniques by rooting popular machine-learning indicators of phase transitions in information-theoretic concepts. Using tools from information geometry, we prove that several machine-learning indicators of phase transitions approximate the square root of the system's (quantum) Fisher information from below -- a quantity that is known to indicate phase transitions but is often difficult to compute from data. We numerically demonstrate the quality of these bounds for phase transitions in classical and quantum systems.

cond-mat.dis-nn↗

Fast Detection of Phase Transitions with Multi-Task Learning-by-Confusion

Machine learning has been successfully used to study phase transitions. One of the most popular approaches to identifying critical points from data without prior knowledge of the underlying phases is the learning-by-confusion scheme. As input, it requires system samples drawn from a grid of the parameter whose change is associated with potential phase transitions. Up to now, the scheme required training a distinct binary classifier for each possible splitting of the grid into two sides, resulting in a computational cost that scales linearly with the number of grid points. In this work, we propose and showcase an alternative implementation that only requires the training of a single multi-class classifier. Ideally, such multi-task learning eliminates the scaling with respect to the number of grid points. In applications to the Ising model and an image dataset generated with Stable Diffusion, we find significant speedups that closely correspond to the ideal case, with only minor deviations.

cs.LG↗

Nonlinear Quantum Behavior of Ultrashort-Pulse Optical Parametric Oscillators

The quantum features of ultrashort-pulse optical parametric oscillators (OPOs) are investigated theoretically in the nonlinear regime near and above threshold. Viewing the pulsed OPO as a multimode open quantum system, we rigorously derive a general input-output model that features nonlinear coupling among many cavity (i.e., system) signal modes and a broadband single-pass (i.e., reservoir) pump field. Under appropriate assumptions, our model produces a Lindblad master equation with multimode nonlinear Lindblad operators describing two-photon dissipation and a multimode four-wave-mixing Hamiltonian describing a broadband, dispersive optical cascade, which we show is required to preserve causality. To simplify the multimode complexity of the model, we employ a supermode decomposition to perform numerical simulations in the regime where the pulsed supermodes experience strong single-photon nonlinearity. We find that the quantum nonlinear dynamics induces pump depletion as well as corrections to the below-threshold squeezing spectrum predicted by linearized models. We also observe the formation of non-Gaussian states with Wigner-function negativity and show that the multimode interactions with the pump, both dissipative and dispersive, can act as effective decoherence channels. Finally, we briefly discuss some experimental considerations for potentially observing such quantum nonlinear phenomena with ultrashort-pulse OPOs on nonlinear nanophotonic platforms.

quant-ph↗

A differentiable programming method for quantum control

Optimal control is highly desirable in many current quantum systems, especially to realize tasks in quantum information processing. We introduce a method based on differentiable programming to leverage explicit knowledge of the differential equations governing the dynamics of the system. In particular, a control agent is represented as a neural network that maps the state of the system at a given time to a control pulse. The parameters of this agent are optimized via gradient information obtained by direct differentiation through both the neural network \emph{and} the differential equation of the system. This fully differentiable reinforcement learning approach ultimately yields time-dependent control parameters optimizing a desired figure of merit. We demonstrate the method's viability and robustness to noise in eigenstate preparation tasks for three systems: a~single qubit, a~chain of qubits, and a quantum parametric oscillator.

quant-ph↗

Heralded dissipative preparation of nonclassical states in a Kerr oscillator

We present a heralded state preparation scheme for driven nonlinear open quantum systems. The protocol is based on a continuous photon counting measurement of the system's decay channel. When no photons are detected for a period of time, the system has relaxed to a measurement-induced pseudo-steady state. We illustrate the protocol by the creation of states with a negative Wigner function in a Kerr oscillator, a system whose unconditional steady state is strictly positive.

quant-ph↗

Unsupervised identification of topological order using predictive models

Machine-learning driven models have proven to be powerful tools for the identification of phases of matter. In particular, unsupervised methods hold the promise to help discover new phases of matter without the need for any prior theoretical knowledge. While for phases characterized by a broken symmetry, the use of unsupervised methods has proven to be successful, topological phases without a local order parameter seem to be much harder to identify without supervision. Here, we use an unsupervised approach to identify topological phases and transitions out of them. We train artificial neural nets to relate configurational data or measurement outcomes to quantities like temperature or tuning parameters in the Hamiltonian. The accuracy of these predictive models can then serve as an indicator for phase transitions. We successfully illustrate this approach on both the classical Ising gauge theory as well as on the quantum ground state of a generalized toric code.

quant-ph↗

Quantum state preparation for coupled period tripling oscillators

We investigate the quantum transition to a correlated state of coupled oscillators in the regime where they display period tripling in response to a drive at triple the eigenfrequency. Correlations are formed between the discrete oscillation phases of individual oscillators. The evolution toward the ordered state is accompanied by the transient breaking of the symmetry between seemingly equivalent configurations. We attribute this to the nontrivial geometric phase that characterizes period tripling. We also show that the Wigner distribution of a single damped quantum oscillator can display a minimum at the classically stable zero-amplitude state.

quant-ph↗

Divergence of predictive model output as indication of phase transitions

We introduce a new method to identify phase boundaries in physical systems. It is based on training a predictive model such as a neural network to infer a physical system's parameters from its state. The deviation of the inferred parameters from the underlying correct parameters will be most susceptible and diverge maximally in the vicinity of phase boundaries. Therefore, peaks in the divergence of the model's predictions are used as indication of phase transitions. Our method is applicable for phase diagrams of arbitrary parameter dimension and without prior information about the phases. Application to both the two-dimensional Ising model and the dissipative Kuramoto-Hopf model show promising results.

cond-mat.stat-mech↗

Photon Recoil Spectroscopy: Systematic Shifts and Nonclassical Enhancements

In photon recoil spectroscopy, signals are extracted from recoils imparted by the spectroscopy light on the motion of trapped ions as demonstrated by C. Hempel et al., Nature Photonics 7, 630 (2013) and Y. Wan et al., Nature Communications 5, 3096 (2014). The method exploits the exquisite efficiency in the detection of phonons achievable in ion crystals, and is thus particularly suitable for species with broad non-cycling transitions where detection of fluorescence photons is impractical. Here, we develop a theoretical model for the description of photon recoil spectroscopy based on a Fokker-Planck equation for the Wigner function of the phonon mode. Our model correctly explains systematic shifts due to Doppler heating and cooling as observed in the experiment. Furthermore, we investigate quantum metrological schemes for enhancing the spectroscopic sensitivity based on the preparation and detection of nonclassical states of the phonon mode.

quant-ph↗

Optimal work extraction from quantum states by photo-assisted Cooper pair tunneling

The theory of quantum thermodynamics predicts fundamental bounds on work extraction from quantum states. As these bounds are derived in a very general and abstract setting, it is unclear how relevant they are in an experimental context, where control is typically limited. Here we address this question by showing that optimal work extraction is possible for a realistic engine. The latter consists of a superconducting circuit, where a LC-resonator is coupled to a Josephson junction. The oscillator state fuels the engine, providing energy absorbed by Cooper pairs, thus producing work in the form of an electrical current against an external voltage bias. We show that this machine can extract the maximal amount of work from all Gaussian and Fock states. Furthermore, we consider work extraction from a continuously stabilized oscillator state. In both scenarios, coherence between energy eigenstates is beneficial, increasing the power output of the machine. This is possible because the phase difference across the Josephson junction provides a phase reference.

quant-ph↗

Quantum effects in amplitude death of coupled anharmonic self-oscillators

Coupling two or more self-oscillating systems may stabilize their zero-amplitude rest-state, therefore quenching their oscillation. This phenomenon is termed "amplitude death". Well-known and studied in classical self-oscillators, amplitude death was only recently investigated in quantum self-oscillators [Ishibashi et al., Phys. Rev. E 96, 052210]. Quantitative differences between the classical and quantum descriptions were found. Here, we demonstrate that for quantum self-oscillators with anharmonicity in their energy spectrum, multiple resonances in the mean phonon number can be observed. This is a result of the discrete energy spectrum of these oscillators, and is not present in the corresponding classical model. Experiments can be realized with current technology and would demonstrate these genuine quantum effects in the amplitude death phenomenon.

quant-ph↗

Unraveling nonclassicality in the optomechanical instability

Conditional dynamics due to continuous optical measurements has successfully been applied for state reconstruction and feedback cooling in optomechanical systems. In this article, we show that the same measurement techniques can be used to unravel nonclassicality in optomechanical limit cycles. In contrast to unconditional dynamics, our approach gives rise to nonclassical limit cycles even in the sideband-unresolved regime, where the cavity decay rate exceeds the mechanical frequency. We predict a significant reduction of the mechanical amplitude fluctuations for realistic experimental parameters.

quant-ph↗

Interaction-induced time-symmetry breaking in driven quantum oscillators

We study parametrically driven quantum oscillators and show that, even for weak coupling between the oscillators, they can exhibit various many-body states with broken time-translation symmetry. In the quantum-coherent regime, the symmetry breaking occurs via a nonequilibrium quantum phase transition. For dissipative oscillators, the main effect of the weak coupling is to make the switching rate of an oscillator between its period-2 states dependent on the states of other oscillators. This allows mapping the oscillators onto a system of coupled spins. Away from the bifurcation parameter values where the period-2 states emerge, the stationary state corresponds to having a microscopic current in the spin system, in the presence of disorder. In the vicinity of the bifurcation point or for identical oscillators, the stationary state can be mapped on that of the Ising model with an effective temperature $\propto \hbar$, for low temperature. Closer to the bifurcation point the coupling can not be considered weak and the system maps onto coupled overdamped Brownian particles performing quantum diffusion in a potential landscape.

cond-mat.mes-hall↗

Quantum Synchronization Blockade: Energy Quantization hinders Synchronization of Identical Oscillators

Classically, the tendency towards spontaneous synchronization is strongest if the natural frequencies of the self-oscillators are as close as possible. We show that this wisdom fails in the deep quantum regime, where the uncertainty of amplitude narrows down to the level of single quanta. Under these circumstances identical self-oscillators cannot synchronize and detuning their frequencies can actually help synchronization. The effect can be understood in a simple picture: Interaction requires an exchange of energy. In the quantum regime, the possible quanta of energy are discrete. If the extractable energy of one oscillator does not exactly match the amount the second oscillator may absorb, interaction, and thereby synchronization is blocked. We demon- strate this effect, which we coin quantum synchronization blockade, in the minimal example of two Kerr-type self-oscillators and predict consequences for small oscillator networks, where synchronization between blocked oscillators can be mediated via a detuned oscillator. We also propose concrete implementations with super- conducting circuits and trapped ions. This paves the way for investigations of new quantum synchronization phenomena in oscillator networks both theoretically and experimentally.

quant-ph↗

Synchronization of an optomechanical system to an external drive

Optomechanical systems driven by an effective blue detuned laser can exhibit self-sustained oscillations of the mechanical oscillator. These self-oscillations are a prerequisite for the observation of synchronization. Here, we study the synchronization of the mechanical oscillations to an external reference drive. We study two cases of reference drives: (1) An additional laser applied to the optical cavity; (2) A mechanical drive applied directly to the mechanical oscillator. Starting from a master equation description, we derive a microscopic Adler equation for both cases, valid in the classical regime in which the quantum shot noise of the mechanical self-oscillator does not play a role. Furthermore, we numerically show that, in both cases, synchronization arises also in the quantum regime. The optomechanical system is therefore a good candidate for the study of quantum synchronization.

quant-ph↗