SearcharxivSearch

arXiv subjects

Martin Reuter

Publications and source records attributed to Martin Reuter.

At least 19 recordsLinked to original sources

CASCADE: Detecting Inconsistencies between Code and Documentation with Automatic Test Generation

Maintaining consistency between code and documentation is a crucial yet frequently overlooked aspect of software development. Even minor mismatches can confuse API users, introduce new bugs, and increase overall maintenance effort. This creates demand for automated solutions that can assist developers in identifying code-documentation inconsistencies. However, since automatic reports still require human confirmation, false positives carry serious consequences: wasting developer time and discouraging practical adoption. We introduce CASCADE (Consistency Analysis for Source Code And Documentation through Execution), a novel tool for detecting inconsistencies with a strong emphasis on reducing false positives. CASCADE leverages Large Language Models (LLMs) to generate unit tests directly from natural-language documentation. Since these tests are derived from the documentation, any failure during execution indicates a potential mismatch between the documented and actual behavior of the code. To minimize false positives, CASCADE also generates code from the documentation to cross-check the generated tests. By design, an inconsistency is reported only when two conditions are met: the existing code fails a test, while the code generated from the documentation passes the same test. We evaluated CASCADE on a novel dataset of 71 inconsistent and 814 consistent code-documentation pairs drawn from open-source Java projects. Further, we applied CASCADE to additional Java, C#, and Rust repositories, where we uncovered 13 previously unknown inconsistencies, of which 10 have subsequently been fixed, demonstrating both CASCADE's precision and its applicability to real-world codebases.

cs.SE

FastSurfer-CC: A robust, accurate, and comprehensive framework for corpus callosum morphometry

The corpus callosum, the largest commissural structure in the human brain, is a central focus in research on aging and neurological diseases. It is also a critical target for interventions such as deep brain stimulation and serves as an important biomarker in clinical trials, including those investigating remyelination therapies. Despite extensive research on corpus callosum segmentation, few publicly available tools provide a comprehensive and automated analysis pipeline. To address this gap, we present FastSurfer-CC, an efficient and fully automated framework for corpus callosum morphometry. FastSurfer-CC automatically identifies mid-sagittal slices, segments the corpus callosum and fornix, localizes the anterior and posterior commissures to standardize head positioning, generates thickness profiles and subdivisions, and extracts eight shape metrics for statistical analysis. We demonstrate that FastSurfer-CC outperforms existing specialized tools across the individual tasks. Moreover, our method reveals statistically significant differences between Huntington's disease patients and healthy controls that are not detected by the current state-of-the-art.

cs.CV

Regression is all you need for medical image translation

While Generative Adversarial Nets (GANs) and Diffusion Models (DMs) have achieved impressive results in natural image synthesis, their core strengths - creativity and realism - can be detrimental in medical applications, where accuracy and fidelity are paramount. These models instead risk introducing hallucinations and replication of unwanted acquisition noise. Here, we propose YODA (You Only Denoise once - or Average), a 2.5D diffusion-based framework for medical image translation (MIT). Consistent with DM theory, we find that conventional diffusion sampling stochastically replicates noise. To mitigate this, we draw and average multiple samples, akin to physical signal averaging. As this effectively approximates the DM's expected value, we term this Expectation-Approximation (ExpA) sampling. We additionally propose regression sampling YODA, which retains the initial DM prediction and omits iterative refinement to produce noise-free images in a single step. Across five diverse multi-modal datasets - including multi-contrast brain MRI and pelvic MRI-CT - we demonstrate that regression sampling is not only substantially more efficient but also matches or exceeds image quality of full diffusion sampling even with ExpA. Our results reveal that iterative refinement solely enhances perceptual realism without benefiting information translation, which we confirm in relevant downstream tasks. YODA outperforms eight state-of-the-art DMs and GANs and challenges the presumed superiority of DMs and GANs over computationally cheap regression models for high-quality MIT. Furthermore, we show that YODA-translated images are interchangeable with, or even superior to, physical acquisitions for several medical applications.

eess.IV

Impact of Leakage on Data Harmonization in Machine Learning Pipelines in Class Imbalance Across Sites

Machine learning (ML) models benefit from large datasets. Collecting data in biomedical domains is costly and challenging, hence, combining datasets has become a common practice. However, datasets obtained under different conditions could present undesired site-specific variability. Data harmonization methods aim to remove site-specific variance while retaining biologically relevant information. This study evaluates the effectiveness of popularly used ComBat-based methods for harmonizing data in scenarios where the class balance is not equal across sites. We find that these methods struggle with data leakage issues. To overcome this problem, we propose a novel approach PrettYharmonize, designed to harmonize data by pretending the target labels. We validate our approach using controlled datasets designed to benchmark the utility of harmonization. Finally, using real-world MRI and clinical data, we compare leakage-prone methods with PrettYharmonize and show that it achieves comparable performance while avoiding data leakage, particularly in site-target-dependence scenarios.

cs.LG

VINNA for Neonates -- Orientation Independence through Latent Augmentations

Fast and accurate segmentation of neonatal brain images is highly desired to better understand and detect changes during development and disease. Yet, the limited availability of ground truth datasets, lack of standardized acquisition protocols, and wide variations of head positioning pose challenges for method development. A few automated image analysis pipelines exist for newborn brain MRI segmentation, but they often rely on time-consuming procedures and require resampling to a common resolution, subject to loss of information due to interpolation and down-sampling. Without registration and image resampling, variations with respect to head positions and voxel resolutions have to be addressed differently. In deep-learning, external augmentations are traditionally used to artificially expand the representation of spatial variability, increasing the training dataset size and robustness. However, these transformations in the image space still require resampling, reducing accuracy specifically in the context of label interpolation. We recently introduced the concept of resolution-independence with the Voxel-size Independent Neural Network framework, VINN. Here, we extend this concept by additionally shifting all rigid-transforms into the network architecture with a four degree of freedom (4-DOF) transform module, enabling resolution-aware internal augmentations (VINNA). In this work we show that VINNA (i) significantly outperforms state-of-the-art external augmentation approaches, (ii) effectively addresses the head variations present specifically in newborn datasets, and (iii) retains high segmentation accuracy across a range of resolutions (0.5-1.0 mm). The 4-DOF transform module is a powerful, general approach to implement spatial augmentation without requiring image or label interpolation. The specific network application to newborns will be made publicly available as VINNA4neonates.

cs.CV

FastSurfer-HypVINN: Automated sub-segmentation of the hypothalamus and adjacent structures on high-resolutional brain MRI

The hypothalamus plays a crucial role in the regulation of a broad range of physiological, behavioural, and cognitive functions. However, despite its importance, only a few small-scale neuroimaging studies have investigated its substructures, likely due to the lack of fully automated segmentation tools to address scalability and reproducibility issues of manual segmentation. While the only previous attempt to automatically sub-segment the hypothalamus with a neural network showed promise for 1.0 mm isotropic T1-weighted (T1w) MRI, there is a need for an automated tool to sub-segment also high-resolutional (HiRes) MR scans, as they are becoming widely available, and include structural detail also from multi-modal MRI. We, therefore, introduce a novel, fast, and fully automated deep learning method named HypVINN for sub-segmentation of the hypothalamus and adjacent structures on 0.8 mm isotropic T1w and T2w brain MR images that is robust to missing modalities. We extensively validate our model with respect to segmentation accuracy, generalizability, in-session test-retest reliability, and sensitivity to replicate hypothalamic volume effects (e.g. sex-differences). The proposed method exhibits high segmentation performance both for standalone T1w images as well as for T1w/T2w image pairs. Even with the additional capability to accept flexible inputs, our model matches or exceeds the performance of state-of-the-art methods with fixed inputs. We, further, demonstrate the generalizability of our method in experiments with 1.0 mm MR scans from both the Rhineland Study and the UK Biobank. Finally, HypVINN can perform the segmentation in less than a minute (GPU) and will be available in the open source FastSurfer neuroimaging software suite, offering a validated, efficient, and scalable solution for evaluating imaging-derived phenotypes of the hypothalamus.

cs.CV

An automated, geometry-based method for hippocampal shape and thickness analysis

The hippocampus is one of the most studied neuroanatomical structures due to its involvement in attention, learning, and memory as well as its atrophy in ageing, neurological, and psychiatric diseases. Hippocampal shape changes, however, are complex and cannot be fully characterized by a single summary metric such as hippocampal volume as determined from MR images. In this work, we propose an automated, geometry-based approach for the unfolding, point-wise correspondence, and local analysis of hippocampal shape features such as thickness and curvature. Starting from an automated segmentation of hippocampal subfields, we create a 3D tetrahedral mesh model as well as a 3D intrinsic coordinate system of the hippocampal body. From this coordinate system, we derive local curvature and thickness estimates as well as a 2D sheet for hippocampal unfolding. We evaluate the performance of our algorithm with a series of experiments to quantify neurodegenerative changes in Mild Cognitive Impairment and Alzheimer's disease dementia. We find that hippocampal thickness estimates detect known differences between clinical groups and can determine the location of these effects on the hippocampal sheet. Further, thickness estimates improve classification of clinical groups and cognitively unimpaired controls when added as an additional predictor. Comparable results are obtained with different datasets and segmentation algorithms. Taken together, we replicate canonical findings on hippocampal volume/shape changes in dementia, extend them by gaining insight into their spatial localization on the hippocampal sheet, and provide additional, complementary information beyond traditional measures. We provide a new set of sensitive processing and analysis tools for the analysis of hippocampal geometry that allows comparisons across studies without relying on image registration or requiring manual intervention.

cs.CV

Estimating Head Motion from MR-Images

Head motion is an omnipresent confounder of magnetic resonance image (MRI) analyses as it systematically affects morphometric measurements, even when visual quality control is performed. In order to estimate subtle head motion, that remains undetected by experts, we introduce a deep learning method to predict in-scanner head motion directly from T1-weighted (T1w), T2-weighted (T2w) and fluid-attenuated inversion recovery (FLAIR) images using motion estimates from an in-scanner depth camera as ground truth. Since we work with data from compliant healthy participants of the Rhineland Study, head motion and resulting imaging artifacts are less prevalent than in most clinical cohorts and more difficult to detect. Our method demonstrates improved performance compared to state-of-the-art motion estimation methods and can quantify drift and respiration movement independently. Finally, on unseen data, our predictions preserve the known, significant correlation with age.

eess.IV

Time evolution of density matrices as a theory of random surfaces

In the operatorial formulation of quantum statistics, the time evolution of density matrices is governed by von Neumann's equation. Within the phase space formulation of quantum mechanics it translates into Moyal's equation, and a formal solution of the latter is provided by Marinov's path integral. In this paper we uncover a hidden property of the Marinov path integral, demonstrating that it describes a theory of ruled random surfaces in phase space.

hep-th

On the possibility of a novel (A)dS/CFT relationship emerging in Asymptotic Safety

Quantum Einstein Gravity (QEG), nonperturbatively renormalized by means of a certain asymptotically safe renormalization group (RG) trajectory, is explored by solving its scale dependent effective field equations and embedding the family of emerging 4-dimensional spacetimes into a single 5-dimensional manifold, which thus encodes the complete information about all scales. By construction the latter manifold is furnished with a natural foliation. Heuristically, its leaves are interpreted as physical spacetime observed on different scales of the experimental resolution. Generalizing earlier work on the embedding of $d$-dimensional Euclidean QEG spacetimes in $(d + 1)$-dimensional flat or Ricci flat manifolds, we admit Lorentzian signature in this paper and we consider embeddings in arbitrary $(d + 1)$-dimensional Einstein spaces. Special attention is paid to the sector of maximally symmetric metrics, and the fundamental definition of QEG in $d = 4$ that employs the cross-over trajectory connecting the non-Gaussian to the Gaussian RG fixed point. Concerning the embedding of the resulting family of 4D de Sitter solutions with a running Hubble parameter, we find that there are only two possible 5D spacetimes, namely the anti-de Sitter manifold AdS$_5$ and the de Sitter manifold dS$_5$. To arrive at this result essential use is made of the monotone scale dependence of the running cosmological constant featured by the gravitational effective average action. We show that if the scale invariance of the QEG fixed points extends to full conformal invariance, the 5D picture of the resulting geometric and field theoretic structure displays a novel kind of "AdS/CFT correspondence". While strongly reminiscent of the usual string theory-based AdS/CFT correspondence, also clear differences are found.

hep-th

Identifying and Combating Bias in Segmentation Networks by leveraging multiple resolutions

Exploration of bias has significant impact on the transparency and applicability of deep learning pipelines in medical settings, yet is so far woefully understudied. In this paper, we consider two separate groups for which training data is only available at differing image resolutions. For group H, available images and labels are at the preferred high resolution while for group L only deprecated lower resolution data exist. We analyse how this resolution-bias in the data distribution propagates to systematically biased predictions for group L at higher resolutions. Our results demonstrate that single-resolution training settings result in significant loss of volumetric group differences that translate to erroneous segmentations as measured by DSC and subsequent classification failures on the low resolution group. We further explore how training data across resolutions can be used to combat this systematic bias. Specifically, we investigate the effect of image resampling, scale augmentation and resolution independence and demonstrate that biases can effectively be reduced with multi-resolution approaches.

eess.IV

The Spectral Geometry of de Sitter Space in Asymptotic Safety

Within the functional renormalization group approach to Background Independent quantum gravity, we explore the scale dependent effective geometry of the de Sitter solution dS${}_4$. The investigation employs a novel approach whose essential ingredient is a modified spectral flow of the metric dependent d'Alembertian, or of similar hyperbolic kinetic operators. The corresponding one-parameter family of spectra and eigenfunctions encodes information about the nonperturbative backreaction of the dynamically gravitating vacuum fluctuations on the mean field geometry of the quantum spacetime. Used as a diagnostic tool, the power of the spectral flow method resides in its ability to identify the scale dependent subsets of field modes that supply the degrees of freedom which participate in the effective field theory description of the respective scale. A central result is that the ultraviolet of Quantum Einstein Gravity comprises far less effective degrees of freedom than predicted (incorrectly) by background dependent reasoning. Exploring the quantum spacetime's spatial geometry carried by physical fields, we find that 3-dimensional space disintegrates into a collection of coherent patches which individually can, but in their entirety cannot be described by one of the effective average actions occurring along the renormalization group trajectory. A natural concept of an entropy is introduced in order to quantify this fragmentation effect. Tentatively applied to the real Universe, surprising analogies to properties of the observed cosmic microwave background are uncovered. Furthermore, a set of distinguished field modes is found which, in principle, has the ability to transport information about the asymptotic fixed point regime from the ultraviolet, across almost the entire "scale history", to cosmological distances in the observed Universe.

hep-th

FastSurferVINN: Building Resolution-Independence into Deep Learning Segmentation Methods -- A Solution for HighRes Brain MRI

Leading neuroimaging studies have pushed 3T MRI acquisition resolutions below 1.0 mm for improved structure definition and morphometry. Yet, only few, time-intensive automated image analysis pipelines have been validated for high-resolution (HiRes) settings. Efficient deep learning approaches, on the other hand, rarely support more than one fixed resolution (usually 1.0 mm). Furthermore, the lack of a standard submillimeter resolution as well as limited availability of diverse HiRes data with sufficient coverage of scanner, age, diseases, or genetic variance poses additional, unsolved challenges for training HiRes networks. Incorporating resolution-independence into deep learning-based segmentation, i.e., the ability to segment images at their native resolution across a range of different voxel sizes, promises to overcome these challenges, yet no such approach currently exists. We now fill this gap by introducing a Voxelsize Independent Neural Network (VINN) for resolution-independent segmentation tasks and present FastSurferVINN, which (i) establishes and implements resolution-independence for deep learning as the first method simultaneously supporting 0.7-1.0 mm whole brain segmentation, (ii) significantly outperforms state-of-the-art methods across resolutions, and (iii) mitigates the data imbalance problem present in HiRes datasets. Overall, internal resolution-independence mutually benefits both HiRes and 1.0 mm MRI segmentation. With our rigorously validated FastSurferVINN we distribute a rapid tool for morphometric neuroimage analysis. The VINN architecture, furthermore, represents an efficient resolution-independent segmentation method for wider application

eess.IV

Background Independent Field Quantization with Sequences of Gravity-Coupled Approximants II: Metric Fluctuations

We apply the new quantization scheme outlined in Phys. Rev. D102 (2020) 125001 to explore the influence which quantum vacuum fluctuations of the spacetime metric exert on the universes of Quantum Einstein Gravity, which is regarded an effective theory here. The scheme promotes the principle of Background Independence to the level of the regularized precursors of a quantum field theory ("approximants") and severely constrains admissible regularization schemes. Without any tuning of parameters, we find that the zero point oscillations of linear gravitons on maximally symmetric spacetimes do not create the commonly expected cosmological constant problem of a cutoff-size curvature. On the contrary, metric fluctuations are found to reduce positive curvatures to arbitrarily tiny and ultimately vanishing values when the cutoff is lifted. This suggests that flat space could be the distinguished groundstate of pure quantum gravity. Our results contradict traditional beliefs founded upon background-dependent calculations whose validity must be called into question therefore.

hep-th

Rapid head-pose detection for automated slice prescription of fetal-brain MRI

In fetal-brain MRI, head-pose changes between prescription and acquisition present a challenge to obtaining the standard sagittal, coronal and axial views essential to clinical assessment. As motion limits acquisitions to thick slices that preclude retrospective resampling, technologists repeat ~55-second stack-of-slices scans (HASTE) with incrementally reoriented field of view numerous times, deducing the head pose from previous stacks. To address this inefficient workflow, we propose a robust head-pose detection algorithm using full-uterus scout scans (EPI) which take ~5 seconds to acquire. Our ~2-second procedure automatically locates the fetal brain and eyes, which we derive from maximally stable extremal regions (MSERs). The success rate of the method exceeds 94% in the third trimester, outperforming a trained technologist by up to 20%. The pipeline may be used to automatically orient the anatomical sequence, removing the need to estimate the head pose from 2D views and reducing delays during which motion can occur.

cs.CV

Automated Olfactory Bulb Segmentation on High Resolutional T2-Weighted MRI

The neuroimage analysis community has neglected the automated segmentation of the olfactory bulb (OB) despite its crucial role in olfactory function. The lack of an automatic processing method for the OB can be explained by its challenging properties. Nonetheless, recent advances in MRI acquisition techniques and resolution have allowed raters to generate more reliable manual annotations. Furthermore, the high accuracy of deep learning methods for solving semantic segmentation problems provides us with an option to reliably assess even small structures. In this work, we introduce a novel, fast, and fully automated deep learning pipeline to accurately segment OB tissue on sub-millimeter T2-weighted (T2w) whole-brain MR images. To this end, we designed a three-stage pipeline: (1) Localization of a region containing both OBs using FastSurferCNN, (2) Segmentation of OB tissue within the localized region through four independent AttFastSurferCNN - a novel deep learning architecture with a self-attention mechanism to improve modeling of contextual information, and (3) Ensemble of the predicted label maps. The OB pipeline exhibits high performance in terms of boundary delineation, OB localization, and volume estimation across a wide range of ages in 203 participants of the Rhineland Study. Moreover, it also generalizes to scans of an independent dataset never encountered during training, the Human Connectome Project (HCP), with different acquisition parameters and demographics, evaluated in 30 cases at the native 0.7mm HCP resolution, and the default 0.8mm pipeline resolution. We extensively validated our pipeline not only with respect to segmentation accuracy but also to known OB volume effects, where it can sensitively replicate age effects.

cs.CV

Towards a Geometrization of Renormalization Group Histories in Asymptotic Safety

Considering the scale dependent effective spacetimes implied by the functional renormalization group in d-dimensional Quantum Einstein Gravity, we discuss the representation of entire evolution histories by means of a single, (d + 1)-dimensional manifold furnished with a fixed (pseudo-) Riemannian structure. This "scale-space-time" carries a natural foliation whose leaves are the ordinary spacetimes seen at a given resolution. We propose a universal form of the higher dimensional metric and discuss its properties. We show that, under precise conditions, this metric is always Ricci flat and admits a homothetic Killing vector field; if the evolving spacetimes are maximally symmetric, their (d + 1)-dimensional representative has a vanishing Riemann tensor even. The non-degeneracy of the higher dimensional metric which "geometrizes" a given RG trajectory is linked to a monotonicity requirement for the running of the cosmological constant, which we test in the case of Asymptotic Safety.

hep-th

Background Independent Field Quantization with Sequences of Gravity-Coupled Approximants

We outline, test, and apply a new scheme for nonpertubative analyses of quantized field systems in contact with dynamical gravity. While gravity is treated classically in the present paper, the approach lends itself for a generalization to full Quantum Gravity. We advocate the point of view that quantum field theories should be regularized by sequences of quasi-physical systems comprising a well defined number of the field's degrees of freedom. In dependence on this number, each system backreacts autonomously and self-consistently on the gravitational field. In this approach, the limit which removes the regularization automatically generates the physically correct spacetime geometry, i.e., the metric the quantum states of the field prefer to "live" in. We apply the scheme to a Gaussian scalar field on maximally symmetric spacetimes, thereby confronting it with the standard approaches. As an application, the results are used to elucidate the cosmological constant problem allegedly arising from the vacuum fluctuations of quantum matter fields. An explicit calculation shows that the problem disappears if the pertinent continuum limit is performed in the improved way advocated here. A further application concerns the thermodynamics of de Sitter space where the approach offers a natural interpretation of the micro-states that are counted by the Bekenstein-Hawking entropy.

gr-qc