Search arXiv⌕ Search

arXiv subjects

Alfred Eng

Publications and source records attributed to Alfred Eng.

3 recordsLinked to original sources

LFM3 Technical Report

We present LFM3, the third generation of Liquid Foundation Models: a family of natively multimodal models designed to run on phones, laptops, robots, and other edge devices. The first release contains six 2B-class models built on a single pre-trained backbone: models for local agents, vision, speech, joint audio-visual understanding, and fast decisions in pipelines. We used automated hardware-in-the-loop search to design the backbone together with three new multimodal components. The Liquid vision encoder matches the accuracy of the Qwen3.5-2B vision encoder at 2.2x lower compute, a causal audio encoder processes speech while the user is still talking, and the LiquidCodec speech codec decodes at 87x real time on a single CPU thread. The backbone combines gated short convolutions with sliding-window and global attention, so only a quarter of its layers keep a cache that grows with context. The backbone is pre-trained on 22T tokens, with the context window extended to 256K tokens. The text model averages 49.4 over 29 scores on agent, tool-use, coding, instruction-following, knowledge, and long-context benchmarks, against 47.2 for Qwen3.5-9B. The vision-language model averages 71.4 over 62 vision benchmarks, between Gemini 3.5 Flash Lite (70.0) and GPT-5.6 Luna (73.4). The audio model handles speech recognition, synthesis, and translation in 18 languages, with the lowest multilingual error rate (6.03 averaged over nine languages) among the models evaluated on all nine languages and the highest UTMOSv2 naturalness score (3.83) among the models evaluated on speech synthesis. The omni-modal model leads the larger Qwen2.5-Omni-7B by 8.8 points on the Daily-Omni audio-visual benchmark. All models are released with open weights.

cs.LG↗

LFM2 Technical Report

We present LFM2, a family of Liquid Foundation Models designed for efficient on-device deployment and strong task capabilities. Using hardware-in-the-loop architecture search under edge latency and memory constraints, we obtain a compact hybrid backbone that combines gated short convolutions with a small number of grouped query attention blocks, delivering up to 2x faster prefill and decode on CPUs compared to similarly sized models. The LFM2 family covers 350M-8.3B parameters, including dense models (350M, 700M, 1.2B, 2.6B) and a mixture-of-experts variant (8.3B total, 1.5B active), all with 32K context length. LFM2's training pipeline includes a tempered, decoupled Top-K knowledge distillation objective that avoids support mismatch; curriculum learning with difficulty-ordered data; and a three-stage post-training recipe of supervised fine-tuning, length-normalized preference optimization, and model merging. Pre-trained on 10-12T tokens, LFM2 models achieve strong results across diverse benchmarks; for example, LFM2-2.6B reaches 79.56% on IFEval and 82.41% on GSM8K. We further build multimodal and retrieval variants: LFM2-VL for vision-language tasks, LFM2-Audio for speech, and LFM2-ColBERT for retrieval. LFM2-VL supports tunable accuracy-latency tradeoffs via token-efficient visual processing, while LFM2-Audio separates audio input and output pathways to enable real-time speech-to-speech interaction competitive with models 3x larger. LFM2-ColBERT provides a low-latency encoder for queries and documents, enabling high-performance retrieval across multiple languages. All models are released with open weights and deployment packages for ExecuTorch, llama.cpp, and vLLM, making LFM2 a practical base for edge applications that need fast, memory-efficient inference and strong task capabilities.

cs.LG↗

Learning biologically relevant features in a pathology foundation model using sparse autoencoders

Pathology plays an important role in disease diagnosis, treatment decision-making and drug development. Previous works on interpretability for machine learning models on pathology images have revolved around methods such as attention value visualization and deriving human-interpretable features from model heatmaps. Mechanistic interpretability is an emerging area of model interpretability that focuses on reverse-engineering neural networks. Sparse Autoencoders (SAEs) have emerged as a promising direction in terms of extracting monosemantic features from polysemantic model activations. In this work, we trained a Sparse Autoencoder on the embeddings of a pathology pretrained foundation model. We found that Sparse Autoencoder features represent interpretable and monosemantic biological concepts. In particular, individual SAE dimensions showed strong correlations with cell type counts such as plasma cells and lymphocytes. These biological representations were unique to the pathology pretrained model and were not found in a self-supervised model pretrained on natural images. We demonstrated that such biologically-grounded monosemantic representations evolved across the model's depth, and the pathology foundation model eventually gained robustness to non-biological factors such as scanner type. The emergence of biologically relevant SAE features was generalizable to an out-of-domain dataset. Our work paves the way for further exploration around interpretable feature dimensions and their utility for medical and clinical applications.

eess.IV↗