Search arXiv⌕ Search

arXiv subjects

Caitlin Wang

Publications and source records attributed to Caitlin Wang.

4 recordsLinked to original sources

$μ$Smith: An Agentic Factory for the Fastest Specialized LLM Serving Engines

Software engineering has long been organized around the scarcity of human expert effort, which leads to generality and modularity that split systems into abstraction layers. As a prime example, general-purpose LLM serving engines such as vLLM and SGLang are split into reusable components to support many models, hardware and use cases from the same codebase. Yet peak performance requires specialization across the boundaries, and general-purpose engines leave much performance on the table. We show that coding agents resolve this tension by circumventing the underlying scarcity of human expert effort. Provided the right guidance, agents can build a specialized serving engine from scratch for a given model, hardware and use case, applying optimizations exhausting to humans, such as sophisticated kernel fusion and overlap. We propose $μ$Smith, a serving engine factory that contains the engine building blocks and optimization methodology for the agents. In $μ$Smith, each serving step is an explicit graph of kernels compiled from source, such that the agents control how each kernel is implemented, which kernels are fused and how they overlap. In our experiments with six models on NVIDIA GB300, the agent-built specialized engines outperform the best published vLLM, SGLang and TensorRT-LLM results along the whole Pareto frontier. They deliver up to 16.0x as much throughput per GPU at equal per-user speed and serve a single user up to 1.70x faster. $μ$Smith also covers deployments that general-purpose engines do not support. For DeepSeek-V4.1-Flash on the older NVIDIA A100, within 3 days, the agents built an engine that delivers up to 1.72x the throughput per GPU of the best published vLLM results on the newer NVIDIA H100. These results herald an agentic future where specialized serving engines are "made-to-order" with astonishing performance compared to today's general-purpose engines.

cs.DC↗

Mamba-3: Improved Sequence Modeling using State Space Principles

Scaling inference-time compute has emerged as an important driver of LLM performance, making inference efficiency a central focus of model design alongside model quality. While the current Transformer-based models deliver strong model quality, their quadratic compute and linear memory make inference expensive. This has spurred the development of sub-quadratic models with reduced linear compute and constant memory requirements. However, many recent linear models trade off model quality and capability for algorithmic efficiency, failing on tasks such as state tracking. Moreover, their theoretically linear inference remains hardware-inefficient in practice. Guided by an inference-first perspective, we introduce three core methodological improvements inspired by the state space model (SSM) viewpoint of linear models. We combine: (1) a more expressive recurrence derived from SSM discretization, (2) a complex-valued state update rule that enables richer state tracking, and (3) a multi-input, multi-output (MIMO) formulation for better model performance without increasing decode latency. Together with architectural refinements, our Mamba-3 model achieves significant gains across retrieval, state-tracking, and downstream language modeling tasks. At the 1.5B scale, Mamba-3 improves average downstream accuracy by 0.6 percentage points compared to the next best model (Gated DeltaNet), with Mamba-3's MIMO variant further improving accuracy by another 1.2 points for a total 1.8 point gain. Across state-size experiments, Mamba-3 achieves comparable perplexity to Mamba-2 despite using half of its predecessor's state size. Our evaluations demonstrate Mamba-3's ability to advance the performance-efficiency Pareto frontier.

cs.LG↗

InFlux: A Benchmark for Self-Calibration of Dynamic Intrinsics of Video Cameras

Accurately tracking camera intrinsics is crucial for achieving 3D understanding from 2D video. However, most 3D algorithms assume that camera intrinsics stay constant throughout a video, which is often not true for many real-world in-the-wild videos. A major obstacle in this field is a lack of dynamic camera intrinsics benchmarks--existing benchmarks typically offer limited diversity in scene content and intrinsics variation, and none provide per-frame intrinsic changes for consecutive video frames. In this paper, we present Intrinsics in Flux (InFlux), a real-world benchmark that provides per-frame ground truth intrinsics annotations for videos with dynamic intrinsics. Compared to prior benchmarks, InFlux captures a wider range of intrinsic variations and scene diversity, featuring 143K+ annotated frames from 386 high-resolution indoor and outdoor videos with dynamic camera intrinsics. To ensure accurate per-frame intrinsics, we build a comprehensive lookup table of calibration experiments and extend the Kalibr toolbox to improve its accuracy and robustness. Using our benchmark, we evaluate existing baseline methods for predicting camera intrinsics and find that most struggle to achieve accurate predictions on videos with dynamic intrinsics. For the dataset, code, videos, and submission, please visit https://influx.cs.princeton.edu/.

cs.CV↗

Hessian of the zeta function for the Laplacian on forms

Let M be a compact closed n-dimensional manifold. Given a Riemannian metric on M, we consider the zeta function Z(s) for the de Rham Laplacian and the Bochner Laplacian on p-forms. The hessian of Z(s) with respect to variations of the metric is given by a pseudodifferential operator T(s). When the real part of s is less than n/2-1, we compute the principal symbol of T(s). This can be used to determine whether the general critical metric for Z(s) or one of its s derivatives has finite index, or whether it is an essential saddle point.

math.SP↗