SearcharxivSearch

arXiv subjects

Karsten Ahnert

Publications and source records attributed to Karsten Ahnert.

13 recordsLinked to original sources

MMAU: A Holistic Benchmark of Agent Capabilities Across Diverse Domains

Recent advances in large language models (LLMs) have increased the demand for comprehensive benchmarks to evaluate their capabilities as human-like agents. Existing benchmarks, while useful, often focus on specific application scenarios, emphasizing task completion but failing to dissect the underlying skills that drive these outcomes. This lack of granularity makes it difficult to deeply discern where failures stem from. Additionally, setting up these environments requires considerable effort, and issues of unreliability and reproducibility sometimes arise, especially in interactive tasks. To address these limitations, we introduce the Massive Multitask Agent Understanding (MMAU) benchmark, featuring comprehensive offline tasks that eliminate the need for complex environment setups. It evaluates models across five domains, including Tool-use, Directed Acyclic Graph (DAG) QA, Data Science and Machine Learning coding, Contest-level programming and Mathematics, and covers five essential capabilities: Understanding, Reasoning, Planning, Problem-solving, and Self-correction. With a total of 20 meticulously designed tasks encompassing over 3K distinct prompts, MMAU provides a comprehensive framework for evaluating the strengths and limitations of LLM agents. By testing 18 representative models on MMAU, we provide deep and insightful analyses. Ultimately, MMAU not only sheds light on the capabilities and limitations of LLM agents but also enhances the interpretability of their performance. Datasets and evaluation scripts of MMAU are released at https://github.com/apple/axlearn/tree/main/docs/research/mmau.

cs.AI

Programming CUDA and OpenCL: A Case Study Using Modern C++ Libraries

We present a comparison of several modern C++ libraries providing high-level interfaces for programming multi- and many-core architectures on top of CUDA or OpenCL. The comparison focuses on the solution of ordinary differential equations and is based on odeint, a framework for the solution of systems of ordinary differential equations. Odeint is designed in a very flexible way and may be easily adapted for effective use of libraries such as Thrust, MTL4, VexCL, or ViennaCL, using CUDA or OpenCL technologies. We found that CUDA and OpenCL work equally well for problems of large sizes, while OpenCL has higher overhead for smaller problems. Furthermore, we show that modern high-level libraries allow to effectively use the computational resources of many-core GPUs or multi-core CPUs without much knowledge of the underlying technologies.

cs.MS

Odeint - Solving ordinary differential equations in C++

Many physical, biological or chemical systems are modeled by ordinary differential equations (ODEs) and finding their solution is an every-day-task for many scientists. Here, we introduce a new C++ library dedicated to find numerical solutions of initial value problems of ODEs: odeint (www.odeint.com). odeint is implemented in a highly generic way and provides extensive interoperability at top performance. For example, due to it's modular design it can be easily parallized with OpenMP and even runs on CUDA GPUs. Despite that, it provides a convenient interface that allows for a simple and easy usage.

cs.MS

Soft Capacitors for Wave Energy Harvesting

Wave energy harvesting could be a substantial renewable energy source without impact on the global climate and ecology, yet practical attempts have struggle d with problems of wear and catastrophic failure. An innovative technology for ocean wave energy harvesting was recently proposed, based on the use of soft capacitors. This study presents a realistic theoretical and numerical model for the quantitative characterization of this harvesting method. Parameter regio ns with optimal behavior are found, and novel material descriptors are determined which simplify analysis dramatically. The characteristics of currently ava ilable material are evaluated, and found to merit a very conservative estimate of 10 years for raw material cost recovery.

cond-mat.soft

Metaprogramming Applied to Numerical Problems

From the discovery that the template system of C++ forms a Turing complete language in 1994, a programming technique called Template Metaprogramming has emerged that allows for the creation of faster, more generic and better code. Here, we apply Template Metaprogramming to implement a generic Runge-Kutta scheme that can be used to numerically solve ordinary differential equations. We show that using Template Metaprogramming results in a significantly improved performance compared to a classical implementation.

physics.comp-ph

Strong and weak chaos in weakly nonintegrable many-body Hamiltonian systems

We study properties of chaos in generic one-dimensional nonlinear Hamiltonian lattices comprised of weakly coupled nonlinear oscillators, by numerical simulations of continuous-time systems and symplectic maps. For small coupling, the measure of chaos is found to be proportional to the coupling strength and lattice length, with the typical maximal Lyapunov exponent being proportional to the square root of coupling. This strong chaos appears as a result of triplet resonances between nearby modes. In addition to strong chaos we observe a weakly chaotic component having much smaller Lyapunov exponent, the measure of which drops approximately as a square of the coupling strength down to smallest couplings we were able to reach. We argue that this weak chaos is linked to the regime of fast Arnold diffusion discussed by Chirikov and Vecheslavov. In disordered lattices of large size we find a subdiffusive spreading of initially localized wave packets over larger and larger number of modes. The relations between the exponent of this spreading and the exponent in the dependence of the fast Arnold diffusion on coupling strength are analyzed. We also trace parallels between the slow spreading of chaos and deterministic rheology.

nlin.CD

Scaling of energy spreading in strongly nonlinear disordered lattices

To characterize a destruction of Anderson localization by nonlinearity, we study the spreading behavior of initially localized states in disordered, strongly nonlinear lattices. Due to chaotic nonlinear interaction of localized linear or nonlinear modes, energy spreads nearly subdiffusively. Based on a phenomenological description by virtue of a nonlinear diffusion equation we establish a one-parameter scaling relation between the velocity of spreading and the density, which is confirmed numerically. From this scaling it follows that for very low densities the spreading slows down compared to the pure power law.

nlin.CD

Dynamical Thermalization of Disordered Nonlinear Lattices

We study numerically how the energy spreads over a finite disordered nonlinear one-dimensional lattice, where all linear modes are exponentially localized by disorder. We establish emergence of dynamical thermalization, characterized as an ergodic chaotic dynamical state with a Gibbs distribution over the modes. Our results show that the fraction of thermalizing modes is finite and grows with the nonlinearity strength.

cond-mat.dis-nn

Synchronization of Sound Sources

Sound generation and -interaction is highly complex, nonlinear and self-organized. Already 150 years ago Lord Rayleigh raised the following problem: Two nearby organ pipes of different fundamental frequencies sound together almost inaudibly with identical pitch. This effect is now understood qualitatively by modern synchronization theory (M. Abel et al., J. Acoust. Soc. Am., 119(4), 2006). For a detailed, quantitative investigation, we substituted one pipe by an electric speaker. We observe that even minute driving signals force the pipe to synchronization, thus yielding three decades of synchronization -- the largest range ever measured to our knowledge. Furthermore, a mutual silencing of the pipe is found, which can be explained by self-organized oscillations, of use for novel methods of noise abatement. Finally, we develop a specific nonlinear reconstruction method which yields a perfect quantitative match of experiment and theory.

physics.class-ph

Compactons and Chaos in Strongly Nonlinear Lattices

We study localized traveling waves and chaotic states in strongly nonlinear one-dimensional Hamiltonian lattices. We show that the solitary waves are super-exponentially localized, and present an accurate numerical method allowing to find them for an arbitrary nonlinearity index. Compactons evolve from rather general initially localized perturbations and collide nearly elastically, nevertheless on a long time scale for finite lattices an extensive chaotic state is generally observed. Because of the system's scaling, these dynamical properties are valid for any energy.

nlin.PS

Traveling waves and Compactons in Phase Oscillator Lattices

We study waves in a chain of dispersively coupled phase oscillators. Two approaches -- a quasi-continuous approximation and an iterative numerical solution of the lattice equation -- allow us to characterize different types of traveling waves: compactons, kovatons, solitary waves with exponential tails as well as a novel type of semi-compact waves that are compact from one side. Stability of these waves is studied using numerical simulations of the initial value problem.

nlin.PS

Numerical differentiation: local versus global methods

In the context of the analysis of measured data, one is often faced with the task to differentiate data numerically. Typically, this occurs when measured data are concerned or data are evaluated numerically during the evolution of partial or ordinary differential equations. Usually, one does not take care for accuracy of the resulting estimates of derivatives because modern computers are assumed to be accurate to many digits. But measurements yield intrinsic errors, which are often much less accurate than the limit of the machine used, and there exists the effect of ``loss of significance'', well known in numerical mathematics and computational physics. The problem occurs primarily in numerical subtraction, and clearly, the estimation of derivatives involves the approximation of differences. In this article, we discuss several techniques for the estimation of derivatives. As a novel aspect, we divide into local and global methods, and explain the respective shortcomings. We have developed a general scheme for global methods, and illustrate our ideas by spline smoothing and spectral smoothing. The results from these less known techniques are confronted with the ones from local methods. As typical for the latter, we chose Savitzky-Golay filtering and finite differences. Two basic quantities are used for characterization of results: The variance of the difference of the true derivative and its estimate, and as important new characteristic, the smoothness of the estimate. We apply the different techniques to numerically produced data and demonstrate the application to data from an aeroacoustic experiment. As a result, we find that global methods are generally preferable if a smooth process is considered. For rough estimates local methods work acceptably well.

physics.comp-ph

Additive Nonparametric Reconstruction of Dynamical Systems from Time Series

We present a nonparametric way to retrieve a system of differential equations in embedding space from a single time series. These equations can be treated with dynamical systems theory and allow for long term predictions. We demonstrate the potential of our approach for a modified chaotic Chua oscillator.

nlin.CD