arXiv ScienceSearch

arXiv subjects

Samuel Lin

Publications and source records attributed to Samuel Lin.

12 recordsLinked to original sources

Manifold submetries from compact homogeneous spaces

We show that singular Riemannian foliations, or, more generally, manifold submetries, defined on a compact normal homogeneous space, have algebraic nature. Moreover, in this case there exists a one-to-one correspondence between algebras of algebraic functions preserved by the Laplace--Beltrami operator, and manifold submetries. A key intermediate result is that, for any manifold submetry on a compact normal homogeneous space, the vector field given by the mean curvature of the fibers is basic, in the sense that it is related to a vector field in the base.

math.DG

Confucius Code Agent: Scalable Agent Scaffolding for Real-World Codebases

Real-world software engineering tasks require coding agents that can operate on massive repositories, sustain long-horizon sessions, and reliably coordinate complex toolchains at test time. Existing research-grade coding agents offer transparency but struggle when scaled to heavier, production-level workloads, while production-grade systems achieve strong practical performance but provide limited extensibility, interpretability, and controllability. We introduce the Confucius Code Agent (CCA), a software engineering agent that can operate at large-scale codebases. CCA is built on top of the Confucius SDK, an agent development platform structured around three complementary perspectives: Agent Experience (AX), User Experience (UX), and Developer Experience (DX). The SDK supports a unified orchestrator with advanced context management for long-context reasoning, a persistent note-taking system for cross-session continual learning, and a modular extension system for reliable tool use. In addition, we introduce a meta-agent that automates the construction, evaluation, and refinement of agents through a build-test-improve cycle, enabling rapid agent development on new tasks and tool stacks. Instantiated on the Confucius SDK using the meta-agent, CCA demonstrates strong performance on real-world software engineering tasks. On SWE-Bench-Pro, CCA achieves a Resolve@1 of 59%, exceeding prior research baselines as well as commercial results, under identical repositories, model backends, and tool access.

cs.CL

An LLM-based Agentic Framework for Accessible Network Control

Traditional approaches to network management have been accessible only to a handful of highly-trained network operators with significant expert knowledge. This creates barriers for lay users to easily manage their networks without resorting to experts. With recent development of powerful large language models (LLMs) for language comprehension, we design a system to make network management accessible to a broader audience of non-experts by allowing users to converse with networks in natural language. To effectively leverage advancements in LLMs, we propose an agentic framework that uses an intermediate representation to streamline configuration across diverse vendor equipment, retrieves the network state from memory in real-time, and provides an interface for external feedback. We also conduct pilot studies to collect real user data of natural language utterances for network control, and present a visualization interface to facilitate dialogue-driven user interaction and enable large-scale data collection for future development. Preliminary experiments validate the effectiveness of our proposed system components with LLM integration on both synthetic and real user utterances. Through our data collection and visualization efforts, we pave the way for more effective use of LLMs and democratize network control for everyday users.

cs.NI

Machine Learning Integrated Near-Infrared Surface-Enhanced Raman Spectroscopy for Accurate Strain-Level Virus Identification

Strain-level identification of viruses is critical for effective public health responses to potential outbreaks, yet current diagnostic methods often lack the necessary speed or sensitivity. Surface-enhanced Raman spectroscopy (SERS) offers great potential for fast and precise virus clarification through unique vibrational fingerprints of biological components. However, existing protocols typically operate outside of the tissue's transparent near-infrared (NIR) window, and are further limited by the intrinsic complexity of clinical viral samples, which complicates spectral analysis and recognition. Here, we report an artificial intelligence (AI)-empowered NIR-SERS platform that integrates machine learning with a rationally designed hybrid substrate: gold nanostars (AuNSt) coupled with gold-coated carbon nanotube arrays (AuCNT). This architecture generates highly localized plasmonic hot spots resonant tuned to NIR excitation, as confirmed by electron energy-loss spectroscopy (EELS), enabling effective signal amplification from viral components. Our system and protocols provide accurate classification of respiratory viruses, including influenza viruses and coronaviruses, not only at the type and subtype levels, but also the more challenging strain level. This approach overcomes the plasmonic mismatch in conventional SERS and the lack of generalizability in AI-driven diagnostics. It shows promise for enhancing rapid virus detection and identification of novel strains and outbreak response capabilities, thus potentially addressing critical challenges in global public health preparedness.

physics.chem-ph

A Weyl's Law for Singular Riemannian Foliations with Applications to Invariant Theory

We prove a version of Weyl's Law for the basic spectrum of a closed singular Riemannian foliation $(M,\mathcal{F})$ with basic mean curvature. In the special case of $M=\mathbb{S}^n$, this gives an explicit formula for the volume of the leaf space $\mathbb{S}^n/\mathcal{F}$ in terms of the algebra of basic polynomials. In particular, $\operatorname{Vol}(\mathbb{S}^n/\mathcal{F})$ is a rational multiple of $\operatorname{Vol}(\mathbb{S}^m)$, where $m=\dim (\mathbb{S}^n/\mathcal{F})$.

math.DG

BSSAD: Towards A Novel Bayesian State-Space Approach for Anomaly Detection in Multivariate Time Series

Detecting anomalies in multivariate time series(MTS) data plays an important role in many domains. The abnormal values could indicate events, medical abnormalities,cyber-attacks, or faulty devices which if left undetected could lead to significant loss of resources, capital, or human lives. In this paper, we propose a novel and innovative approach to anomaly detection called Bayesian State-Space Anomaly Detection(BSSAD). The BSSAD consists of two modules: the neural network module and the Bayesian state-space module. The design of our approach combines the strength of Bayesian state-space algorithms in predicting the next state and the effectiveness of recurrent neural networks and autoencoders in understanding the relationship between the data to achieve high accuracy in detecting anomalies. The modular design of our approach allows flexibility in implementation with the option of changing the parameters of the Bayesian state-space models or swap-ping neural network algorithms to achieve different levels of performance. In particular, we focus on using Bayesian state-space models of particle filters and ensemble Kalman filters. We conducted extensive experiments on five different datasets. The experimental results show the superior performance of our model over baselines, achieving an F1-score greater than 0.95. In addition, we also propose using a metric called MatthewCorrelation Coefficient (MCC) to obtain more comprehensive information about the accuracy of anomaly detection.

cs.LG

Spectral multiplicity and nodal sets for generic torus-invariant metrics

Let a torus $T$ act freely on a closed manifold $M$ of dimension at least two. We demonstrate that, for a generic $T$-invariant Riemannian metric $g$ on $M$, each real $\Delta_g$-eigenspace is an irreducible real representation of $T$ and, therefore, has dimension at most two. We also show that, for the generic $T$-invariant metric on $M$, if $u$ is a non-invariant real-valued $\Delta_g$-eigenfunction that vanishes on some $T$-orbit, then the nodal set of $u$ is a connected smooth hypersurface whose complement has exactly two connected components.

math.DG

A new approach for determining optimal placement of PM2.5 air quality sensors: case study for the contiguous United States

Considerable financial resources are allocated for measuring ambient air pollution in the United States, yet the locations for these monitoring sites may not be optimized to capture the full extent of current pollution variability. Prior research on best sensor placement for monitoring fine particulate matter (PM2.5) pollution is scarce: most studies do not span areas larger than a medium-sized city or examine timescales longer than one week. Here we present a pilot study using multiresolution modal decomposition (mrDMD) to identify the optimal placement of PM2.5 sensors from 2000-2016 over the contiguous United States. This novel approach incorporates the variation of PM2.5 on timescales ranging from one day to over a decade to capture air pollution variability. We find that the mrDMD algorithm identifies high-priority sensor locations in the western United States, but a significantly lower density of sensors than expected along the eastern coast, where a large number of EPA PM2.5 monitors currently reside. Specifically, 53% of mrDMD optimized sensor locations are west of the 100th meridian, compared to only 32% in the current EPA network. The mrDMD sensor locations can capture PM2.5 from wildfires and high pollution events, with particularly high skill in the West. These results suggest significant gaps in the current EPA monitoring network in the San Joaquin Valley in California, northern California, and in the Pacific Northwest (Idaho, and Eastern Washington and Oregon). Our framework diagnoses where to place air quality sensors so that they can best monitor smoke from wildfires. Our framework may also be applied to urban areas for equitable placement of PM2.5 monitors.

stat.AP

Geometric structures and the Laplace spectrum, part II

We continue our exploration of the extent to which the spectrum encodes the local geometry of a locally homogeneous three-manifold and find that if $(M,g)$ and $(N,h)$ are a pair of locally homogeneous, locally non-isometric isospectral three-manifolds, where $M$ is an elliptic three-manifold, then $(1)$ $N$ is also an elliptic three-manifold, $(2)$ $M$ and $N$ have fundamental groups of different orders, $(3)$ $(M,g)$ and $(N,h)$ both have non-degenerate Ricci tensors and $(4)$ the metrics $g$ and $h$ are sufficiently far from a metric of constant sectional curvature. We are unaware of any such isospectral pair and such a pair could not arise via the classical Sunada method. As part of the proof, we provide an explicit description of the isometry group of a compact simple Lie group equipped with a left-invariant metric---improving upon the results of Ochiai-Takahashi and Onishchik---which we use to classify the locally homogeneous metrics on an elliptic three-manifold $\Gamma \backslash S^3$ and we determine that any collection of isospectral locally homogeneous metrics on an elliptic three-manifold consists of at most two isometry classes that are necessarily locally isometric. In particular, the left-invariant metrics on $\operatorname{SO}(3)$ (respectively, $S^3$) can be mutually distinguished via their spectra. The previous statement has the following interpretation in terms of physical chemistry: the moments of inertia of a molecule can be recovered from its rotational spectrum.

math.DG

Geometric structures and the Laplace spectrum

Inspired by the role geometric structures play in our understanding of surfaces and three-manifolds, and Berger's observation that a surface of constant sectional curvature is determined up to local isometry by its Laplace spectrum, we explore the extent to which compact locally homogeneous three-manifolds are characterized up to local isometry by their spectra. We observe that there are eight `metrically maximal' three-dimensional geometries on which all compact locally homogeneous three-manifolds are modeled and we demonstrate that for five of these geometries the associated compact locally homogeneous three-manifolds are determined up to local isometry by their spectra within the universe of locally homogeneous three-manifolds. Specifically, we show that among compact locally homogeneous three-manifolds, a Riemannian three-manifold is determined up to local isometry if its universal Riemannian cover is isometric to (1) a symmetric space, (2) $\mathbb{R}^2 \rtimes \mathbb{R}$ endowed with a left-invariant metric, (3) $\operatorname{Nil}$ endowed with a left-invariant metric, or (4) $S^3$ endowed with a left-invariant metric sufficiently close to a metric of constant sectional curvature. We then deduce that three-dimensional Riemannian nilmanifolds and locally symmetric spaces with universal Riemannian cover $\mathbb{S}^2 \times \mathbb{E}$ are uniquely characterized by their spectra among compact locally homogeneous three-manifolds. Finally, within the collection of closed manifolds covered by $\operatorname{Sol}$ equipped with a left-invariant metric, local geometry is `audible.'

math.DG

Manifolds with many hyperbolic planes

We construct examples of complete Riemannian manifolds having the property that every geodesic lies in a totally geodesic hyperbolic plane. Despite the abundance of totally geodesic hyperbolic planes, these examples are not locally homogenous.

math.DG

Curvature Free Rigidity for Higher Rank Three-Manifolds

We prove two rigidity results for complete Riemannian three-manifolds of higher rank. Complete three-manifolds have higher spherical rank if an only if they are spherical space forms. Complete finite volume three-manifolds have higher hyperbolic rank if and only if they are hyperbolic space forms.

math.DG