Statistical Learning
A Smartphone Photoplethysmography Foundation Model for Multidimensional Health Assessment
Whitehill, Matt, Young, Ryan, Fagundo, Michael, Melby, Sarah, Chen, Eric, Mishra, Yash, Todd, Anthony, Farahani, Parisa, Renard, Valerie, Wahid, Lana, McCullum, Jamien, Gatys, Leon
Photoplethysmography (PPG) foundation models have shown that a single physiological signal can encode broad health information. However, their pretraining has relied on wearable or clinical sensors. Here we present, to our knowledge, the first foundation model of smartphone camera PPG, pretrained on 539,372 measurements from 57,740 individuals. A single representation predicted 40 health outcomes spanning medical conditions, treatments, lifestyle and demographics. For six core cardiometabolic and kidney conditions, it outperformed a model of age, sex and body mass index and existing PPG foundation models, with a mean area under the receiver operating characteristic curve (AUROC) of 0.768 (95% CI, 0.754, 0.781) in held-out participants and 0.750 (0.711, 0.788) across the five available conditions in an independent test set excluded from model development. Discrimination was similar across skin tones (mean AUROC 0.764 for Fitzpatrick types 5--6 versus 0.776 for types 1--2) and smartphone platforms (0.717 on Android versus 0.696 on iOS after adjustment for population differences). Among participants without a hypertension diagnosis, PPG detected 56% of those with elevated blood pressure at 89% specificity, compared with 9% for demographics at 96% specificity. These results support smartphone cameras as a scalable tool for broad health assessment.
QuadML: A General-Purpose, Open-Source Executable Machine Learning Framework for Tabular Data
Mirzakhani, Hamed, Baj, Giovanni, Kazaj, Pooya Mohammadi, Bahou, Chaimae, Gheinani, Ali Hashemi, Graeni, Christoph, Shiri, Isaac
Applying machine learning (ML) correctly requires many interdependent decisions, and subtle errors such as data leakage can silently inflate reported performance, placing rigorous ML beyond many domain researchers and burdening experienced practitioners. Code-based resources require programming, most graphical tools support few tasks and algorithms, and commercial cloud platforms are costly, opaque, and often incompatible with data-privacy constraints. Here we present QuadML, an open-source, no-code desktop application for classification, regression, survival (time-to-event) analysis, and clustering of tabular data in one guided graphical workflow, from automated quality screening and cleaning through preprocessing, training, and tuning to evaluation, interpretation, and reporting. A task-aware combinatorial search covers up to 36,000 pipeline configurations per run for classification, 28,800 for regression, 10,080 for survival analysis, and 4,590 for clustering, each tuned over its own parameters and hyperparameter space. In supervised tasks, every in-pipeline preprocessing step is fitted within cross-validation, and each configuration's best candidate is refit on the training partition and evaluated, without refitting, on held-out test and, optionally, external data. QuadML reports task-appropriate metrics and publication-ready figures, exposes the full results table rather than a single winner, leaves model choice to the analyst, and explains supervised models with different interpretability methods designed for each task. Every configuration is saved with its settings, hyperparameters, metrics, plot data, and, for supervised tasks, fitted pipeline. Of the 28 comparable tools, only four support survival analysis, and none offer all four tasks in one no-code workflow. We illustrate QuadML performance with 25 case studies per task (100 different datasets from different data sources).
MA-Means: Bounded-Memory $k$-Means via Elastic Multi-Candidate Contraction, Coordinate-Wise Over-Relaxation, and Zero-Error Out-of-Core Bypass
Large-scale k-means faces a memory-convergence trilemma: full-batch Lloyd needs O(nKD) per step and traps in local minima; memoryless EMA solvers (Sculley's MBKM, Meta FAIR's e-means) match 25-epoch Lloyd at a fraction of the cost on uniform embeddings using scalar counts, but cannot cross uphill barriers, destroy rare modes under mass-gated revival, and do no out-of-core filtering; staleness methods hold an unbounded Theta(n) table. Extending the EMA scaling law beyond convex single-trajectory updates, MA-Means holds O(1)-in-n statistics (0.1-51 MB for n=1e4 to 1e10) on a fused Triton BF16 + C++17 pipeline, uniting (i) an elastic K->K'->K candidate pool that spans non-monotone barriers and contracts via Benzecri Ward merging plus O(K) distortion-aware revival; (ii) coordinate-wise Aitken over-relaxation (w>1), proving the O(1/(T^2 rho_min)) optimality of fixed-basin linear EMA schedules yet eliminating moving-boundary bias in one step; and (iii) int8_chord checkpoints with zero-error transfer refusal. Across five public benchmarks (n up to 2e7, 10 seeds for Layer-2 and 5 for Layer-1, zero tuning) and 14 baselines, MA-Means wins 12 of 15 Layer-1 cells at 5 epochs (three 1M-row K=4096 cells are +0.05-0.07% MSE), including 1.69-1.78x equal-MSE speedup at 3 epochs vs. 5-epoch e-means on full 10M Deep10M. In Layer-2 BF16 it reaches equal MSE 1.32-1.90x faster, wins 10/10 seeds on ImageNet-CLIP (-0.61% MSE at K=1024, beating 25ep e-means and exact Hamerly; -0.26% at K=4096), cuts NYC-Taxi-20M MSE by 54.8-63.3% vs. e-means, eliminates 14.4-26.4% of out-of-core traffic with 0 false positives, and on one RTX 4090 runs 1.85x faster than e-means at n=100M with -0.7% to -1.0% MSE.
Fine-Grained Analysis of Adam's Implicit Bias Near the Minimizer Manifold
Zhang, Kaixin, Wen, Haodong, Li, Xinghan, Lyu, Kaifeng
The implicit bias of stochastic gradient descent (SGD) has been widely studied. But the implicit bias of Adam, one of the most widely used adaptive gradient methods (AGMs), remains less well understood. A key difficulty is that the model parameters and the adaptive preconditioner evolve on different timescales, depending on how $1-ฮฒ_2$ scales with the learning rate $ฮท$, where $ฮฒ_2$ is the second-moment decay coefficient. Under the scaling $1-ฮฒ_2=ฮ(ฮท^2)$, termed the "2-scheme", Li et al. (2025) characterized Adam's dynamics near a manifold of loss minimizers and showed that Adam implicitly reduces a form of sharpness different from that associated with SGD. In practice, however, $1-ฮฒ_2$ can be much larger than $ฮท^2$, motivating the study of the scaling $1-ฮฒ_2=ฮ(ฮท^ฮฑ)$ with $ฮฑ< 2$. In this work, we resolve the case where $1 \leq ฮฑ< 2$. We derive the limiting dynamics of AGMs, including Adam, over $O(ฮท^{-2})$ iterations and characterize the resulting implicit bias with $1 \leq ฮฑ< 2$, along with the convergence guarantees for approaching and remaining near the minimizer manifold. Under label noise, we recover the sharpness characterization of the 2-scheme for $1 < ฮฑ< 2$, while an additional drift arising from third-order terms leads to a different implicit bias at $ฮฑ=1$. To obtain these results, we develop a new framework for analyzing coupled stochastic dynamics with multiple timescales near a manifold. Technically, this framework generalizes the ideas of Katzenberger (1991) and sheds light on the limiting behavior characterization of a broader class of stochastic processes.
The Price of Exact Shapley Values: Lower Bounds by Interaction Order, Deterministic Rules, and ArraySHAP
Uribarri, Gonzalo, Matakos, Antonis
Shapley values explain a prediction by giving each feature its share, but exact values take the model's output on all $2^n$ coalitions of $n$ features. Far fewer suffice when only small groups of features interact, as in shallow boosted trees. We determine how few. For every method that sees the model through coalition values, even an adaptive one, exact Shapley values need about $n^2/2$ evaluations when at most three features interact and $n^2$ when at most four; exact pairwise interaction indices cost what values cost one order higher. Closed-form rules on the coalitions with few features present or few absent attain these bounds within a factor $1+O(1/n)$. Adding one orthogonal array, a fixed table of balanced coalitions, gives ArraySHAP, deterministic and exact when at most four features interact. When larger groups interact, its squared error at equal cost was 2.8 to over 3,000 times smaller than for the best of 13 sampling and regression estimators in all 32 tabular settings, up to 101 features, and 6.7 and 2.0 times smaller for a text and an image classifier. The same evaluations give pair interaction indices with 8 to 740 times smaller squared error than shapiq's best estimator. Open-source code is available.
Natural Language Dictionaries: Learning Interpretable Decompositions of LLM Behavior
Vennemeyer, Daniel, Ghosh, Saptarshi, Jin, Yidan, Giovannini, Tommaso, Jiang, Tianyu
Large language model (LLM) research often treats broad behaviors such as sycophancy as a single unit. Yet responses that share a broad behavior can reflect separate underlying behaviors. One sycophantic response may agree with the user, while another praises them. These are more than differences in wording, since the model itself represents these behaviors separately. But splitting a broad behavior by hand may miss this internal structure, and methods such as PCA and sparse autoencoders (SAEs) produce descriptions that often sound plausible but fail to track their directions. We propose Natural Language Dictionaries (NLD), which learns a small set of natural-language descriptions directly from examples of the behavior. Each description starts as a trainable soft prompt that the model uses to rate how strongly a response expresses it. NLD trains these prompts so that their ratings together explain how responses with the behavior differ from one another, and then finds directions in the model's activations that track and steer each one. Across social sycophancy, deception, and emotion, NLD's descriptions consistently match their directions more closely than those of PCA and SAEs. NLD dictionaries are also more selective, as steering along one entry changes its own behavior more than the others. Finally, both NLD's descriptions and its directions detect the behavior in new datasets, matching or exceeding PCA, SAEs, and expert taxonomies.
Physical Robustness under Equation Corruption
Robustness in machine learning usually means invariance, which is evaluated by perturbing an input while the correct label stays fixed. This evaluation setup fails for PDE surrogates: changing a coefficient or a boundary condition moves the physical solution, and changing the mesh or the sensor changes how the solution is measured. Physical robustness should instead be evaluated by how well the prediction tracks changes in the correct output, in both direction and magnitude. Nominal accuracy does not guarantee response fidelity: under a Burgers viscosity shift, an FNO with held-out field error below 2% still mispredicted the response by half the true response magnitude. To make physical robustness measurable and trainable, we decompose changed-target error into nominal error and sensitivity mismatch, introduce diagnostics that grade the response at held-out severities, and evaluate three training interventions on six specification-shift tasks. Our evaluation identifies effective training interventions for different perturbations, PDEs, and backbones: response alignment cut the response mismatch on public multi-viscosity Burgers data roughly sixfold and led on coefficient and boundary shifts, whereas stress augmentation cut evaluation-mesh and initial-condition error by 21.5% and 16.2% over a matched changed-label baseline. Adversarial training, a standard approach to robustness in machine learning, instead increased evaluation-mesh and initial-condition error by roughly 28%. Based on these results, we argue that a surrogate should be judged by how faithfully the prediction tracks the governing system, not by how little the prediction moves when the physics changes.
A Miniature Hybrid-Actuated Soft Manipulator with FBG-Based Shape Sensing for Confined Medical Procedures
Cai, Yumeng, Gan, Lu, Zhang, Yunxiang, Wang, Xiaojie, Zhou, Yitong
Miniature soft manipulators for confined medical procedures require compact actuation and reliable shape feedback. Here we present a miniature soft manipulator with six independently controlled actuation inputs that combines hybrid pneumatic-tendon actuation with fiber Bragg grating (FBG)-based shape sensing. The system is designed for potential applications in minimally invasive surgery and robot-assisted tracheal intubation. The manipulator adopts a dual-segment architecture comprising a pneumatic upper segment and a tendon-driven lower segment. Each segment contains three independently driven actuation units arranged circumferentially at $120^\circ$ intervals. To estimate its spatial configuration, we develop a two-segment piecewise constant-curvature model that reconstructs the centerline from two arc curvatures, two bending-plane rotation angles, and a correction angle. A decision-tree regression model maps six-channel FBG wavelength shifts to these shape-reconstruction parameters. Validation with an optical motion capture system and an FBG interrogator shows that the reconstructed centerline achieves an average error of 1.74 mm over the tested dataset. These results demonstrate the feasibility of integrating compact actuation and shape sensing in miniature soft manipulators for confined-space medical operations.
ChemSteer: Controllable Molecular Generation via Locally Linear Steering in Chemical Language Models
Anand, Sathvika, Sardina, Callie, Singh, Ambuj
The Linear Representation Hypothesis (LRH) holds that concepts are encoded along linear directions in the activation space of pretrained models. It was formulated for semantic concepts in natural language, where a concept and its negation define a natural axis. Chemical properties are more complex because they are determined by valence, ring systems, scaffold symmetries and synthesizability constraints. As such, a single global direction cannot control these properties across the entire expanse of chemical space. We argue that property control in chemical language models is better described as locally linear because the representation manifold is curved, so a linear direction is valid only within a limited neighborhood, and different structural families require different directions. We test this directly and find that the angle between local steering directions increases systematically as the chemical similarity between their molecular neighborhoods decreases, across datasets and properties. This motivates ChemSteer, which uses spectral co-clustering to partition molecules into locally linear regions and latent dimensions into incoherent subspaces simultaneously, extracts a steering direction within each region, and superposes them into a single global vector with exactly zero interference. We validate on QM9, ZINC250K, MOSES and ChEMBL. ChemSteer increases QED to 0.92--0.95, reduces synthetic accessibility to $\approx 1.5$, and steers effectively toward higher LogP, without retraining or fine-tuning.
Beyond Uniform Delays: Structured Memory for Nonlinear Vector Autoregressive Forecasting
In nonlinear vector autoregressive (NVAR) models, uniform delay grids trade resolution against reach. Reorganizing the delay memory avoids this trade-off and gives more accurate, more compact models. Structured-memory NVAR (SM-NVAR) replaces the uniform delay grid and joint polynomial library of next-generation reservoir computing (NGRC) with log-spaced delay blocks and block-local polynomial features. A fast-slow experiment ($\sim$100$\times$ scale separation) shows its advantage over NGRC, especially for hidden-state reconstruction. On 95 chaotic systems from dysts, SM-NVAR has the lowest overall error among fifteen models, including zero-shot foundation models, and significantly outperforms NGRC models at short and intermediate horizons with 32% fewer features.