arXiv Science⌕ Search

arXiv subjects

Błażej Osiński

Publications and source records attributed to Błażej Osiński.

12 recordsLinked to original sources

Shieldstral

We introduce Shieldstral, a 3B-parameter policy-adaptive multimodal safety classifier that matches or outperforms models nearly 7$\times$ its size on text safety benchmarks and sets a new state of the art on multimodal safety classification. Shieldstral formulates content moderation as a binary question-answering task. This simple formulation unifies diverse moderation tasks into a single yes/no problem, enabling heterogeneous safety datasets with divergent taxonomies to be consolidated under one training framework. We present the data construction recipe, covering curation and generation of approximately 54.1M samples and a fine-grained evaluation set to evaluate policy adaptability. Together, these enable a small adaptive model to match or outperform much larger models.

cs.CL↗

Crashtral: A Foundation Model for Full-Vehicle Crash Simulation

Explicit finite-element analysis is the main tool for assessing crash safety in vehicle development. Simulations reduce the need for physical crash tests, but they remain expensive. A single full-vehicle run takes hours or days on hundreds to thousands of CPU cores, and tens of thousands of virtual crash tests are needed before a new vehicle reaches production. AI models that approximate the solver output in seconds rather than hours would enable engineers to accelerate this development cycle by orders of magnitude. We introduce \emph{Crashtral}, the first foundation model for frontal full-vehicle crash simulation. It generalizes across vehicles and across their variations in shape, materials, and part thicknesses. As with large language models, this generalization is unlocked by data and scale. We train on the largest crash dataset to date, with 55k simulations (40k for pretraining), and find that generalization emerges as the model grows: with enough capacity, a single Crashtral model outperforms per-vehicle specialists at equal compute. Crashtral is based on the \emph{Armadillo} architecture, a novel multi-scale transformer using geodesic patches, which advances the accuracy--compute Pareto frontier beyond previous state-of-the-art architectures. In industrial settings, AI models are limited by data. Each new vehicle or mesh resolution requires new simulations to train on. On meshes ten times finer than in pretraining, close to industrial fidelity, fine-tuning Crashtral reaches 3\% relative error with $18\times$ fewer simulations than training from scratch. The more vehicle designs Crashtral is pretrained on, the more data-efficient fine-tuning becomes, opening a scalable path toward crash simulation models for industrial use.

cs.LG↗

Clipstral: Image, Video, and Multilingual Text Embedder

Embedding images, videos and text in a shared space enables retrieval, curation and zero-shot classification over large media collections. Real collections are heterogeneous, with images and videos across a wide range of resolutions and descriptions that can be long and multilingual. Yet, no compact open model excels at both retrieval and classification across this full range. We introduce Clipstral, a 1.2B open-weight dual encoder built for this setting. The vision tower is a vision transformer that can process images at their native resolution and aspect ratio, and extends to video through a lightweight spatio-temporal encoder that attends jointly to the patch tokens of all frames; the text tower embeds text of any length in many languages. Under one zero-shot protocol covering 37 image and video benchmarks at four resolutions, we compare Clipstral with 13 open-weight encoders up to 4B parameters. Clipstral is the strongest image and video retriever, leading on long-caption and multilingual retrieval, and ranks second on image and video classification, behind models 1.7-2x larger. Accuracy holds across all tested resolutions (224-1036 px), and the model pushes the accuracy-size Pareto frontier for image and video classification and retrieval. We also introduce V*-classification, a zero-shot benchmark of small details in native high-resolution images. On full images, every evaluated model scores within 10 points of chance on this benchmark, exposing fine-detail recognition as an open problem. The model weights, inference code and benchmark are released under an open license.

cs.CV↗

Timestral

We introduce Timestral, a family of four time series foundation models for probabilistic forecasting, with 5M, 28M, 123M, and 209M parameters. Timestral sets a new state of the art on GIFT-Eval, TIME, and fev-bench, where Timestral-209M and Timestral-123M take the top two places on every metric. We achieve this with three ingredients: Decoupled Horizon Forecasting (DHF), which separates prediction tokens from the causally encoded context, so that longer horizons are trained without masking context and each observed value is both a forecast target and context for later forecasts; a covariate framework that natively supports known-future covariates within a causal architecture; and a two-stage pipeline that pretrains exclusively on a diverse, large-scale synthetic corpus before post-training on a mix of real and synthetic data with extended context. This report describes the model design and its benchmark results. Weights for all four models are available on Hugging Face and inference code on GitHub.

cs.AI↗

PRiMeFlow: Capturing Complex Expression Heterogeneity in Perturbation Response Modelling

Predicting the effects of perturbations in-silico on cell state can identify drivers of cell behavior at scale and accelerate drug discovery. However, modeling challenges remain due to the inherent heterogeneity of single cell gene expression and the complex, latent gene dependencies. Here, we present PRiMeFlow, an end-to-end flow matching based approach to directly model the effects of genetic and small molecule perturbations in the gene expression space. The distribution-fitting approach taken by PRiMeFlow enables it to accurately approximate the empirical distribution of single-cell gene expression, which we demonstrate through extensive benchmarking inside PerturBench. Through ablation studies, we also validate important model design choices such as operating in gene expression space and parameterizing the velocity field with a U-Net architecture. Finally, by scaling PRiMeFlow to a broad perturbation data atlas spanning multiple datasets and employing a carefully designed pretraining-finetuning strategy, we demonstrate its outstanding performance on the H1 human embryonic stem cells from the ARC Virtual Cell Challenge benchmark.

cs.LG↗

PerturBench: Benchmarking Machine Learning Models for Cellular Perturbation Analysis

We introduce a comprehensive framework for modeling single cell transcriptomic responses to perturbations, aimed at standardizing benchmarking in this rapidly evolving field. Our approach includes a modular and user-friendly model development and evaluation platform, a collection of diverse perturbational datasets, and a set of metrics designed to fairly compare models and dissect their performance. Through extensive evaluation of both published and baseline models across diverse datasets, we highlight the limitations of widely used models, such as mode collapse. We also demonstrate the importance of rank metrics which complement traditional model fit measures, such as RMSE, for validating model effectiveness. Notably, our results show that while no single model architecture clearly outperforms others, simpler architectures are generally competitive and scale well with larger datasets. Overall, this benchmarking exercise sets new standards for model evaluation, supports robust model development, and furthers the use of these models to simulate genetic and chemical screens for therapeutic discovery.

cs.LG↗

Simulation-based reinforcement learning for real-world autonomous driving

We use reinforcement learning in simulation to obtain a driving system controlling a full-size real-world vehicle. The driving policy takes RGB images from a single camera and their semantic segmentation as input. We use mostly synthetic data, with labelled real-world data appearing only in the training of the segmentation network. Using reinforcement learning in simulation and synthetic data is motivated by lowering costs and engineering effort. In real-world experiments we confirm that we achieved successful sim-to-real policy transfer. Based on the extensive evaluation, we analyze how design decisions about perception, control, and training impact the real-world performance.

cs.LG↗

Off-Policy Correction For Multi-Agent Reinforcement Learning

Multi-agent reinforcement learning (MARL) provides a framework for problems involving multiple interacting agents. Despite apparent similarity to the single-agent case, multi-agent problems are often harder to train and analyze theoretically. In this work, we propose MA-Trace, a new on-policy actor-critic algorithm, which extends V-Trace to the MARL setting. The key advantage of our algorithm is its high scalability in a multi-worker setting. To this end, MA-Trace utilizes importance sampling as an off-policy correction method, which allows distributing the computations with no impact on the quality of training. Furthermore, our algorithm is theoretically grounded - we prove a fixed-point theorem that guarantees convergence. We evaluate the algorithm extensively on the StarCraft Multi-Agent Challenge, a standard benchmark for multi-agent algorithms. MA-Trace achieves high performance on all its tasks and exceeds state-of-the-art results on some of them.

cs.LG↗

SafetyNet: Safe planning for real-world self-driving vehicles using machine-learned policies

In this paper we present the first safe system for full control of self-driving vehicles trained from human demonstrations and deployed in challenging, real-world, urban environments. Current industry-standard solutions use rule-based systems for planning. Although they perform reasonably well in common scenarios, the engineering complexity renders this approach incompatible with human-level performance. On the other hand, the performance of machine-learned (ML) planning solutions can be improved by simply adding more exemplar data. However, ML methods cannot offer safety guarantees and sometimes behave unpredictably. To combat this, our approach uses a simple yet effective rule-based fallback layer that performs sanity checks on an ML planner's decisions (e.g. avoiding collision, assuring physical feasibility). This allows us to leverage ML to handle complex situations while still assuring the safety, reducing ML planner-only collisions by 95%. We train our ML planner on 300 hours of expert driving demonstrations using imitation learning and deploy it along with the fallback layer in downtown San Francisco, where it takes complete control of a real vehicle and navigates a wide variety of challenging urban driving scenarios.

cs.RO↗

Urban Driver: Learning to Drive from Real-world Demonstrations Using Policy Gradients

In this work we are the first to present an offline policy gradient method for learning imitative policies for complex urban driving from a large corpus of real-world demonstrations. This is achieved by building a differentiable data-driven simulator on top of perception outputs and high-fidelity HD maps of the area. It allows us to synthesize new driving experiences from existing demonstrations using mid-level representations. Using this simulator we then train a policy network in closed-loop employing policy gradients. We train our proposed method on 100 hours of expert demonstrations on urban roads and show that it learns complex driving policies that generalize well and can perform a variety of driving maneuvers. We demonstrate this in simulation as well as deploy our model to self-driving vehicles in the real-world. Our method outperforms previously demonstrated state-of-the-art for urban driving scenarios -- all this without the need for complex state perturbations or collecting additional on-policy data during training. We make code and data publicly available.

cs.RO↗

CARLA Real Traffic Scenarios -- novel training ground and benchmark for autonomous driving

This work introduces interactive traffic scenarios in the CARLA simulator, which are based on real-world traffic. We concentrate on tactical tasks lasting several seconds, which are especially challenging for current control methods. The CARLA Real Traffic Scenarios (CRTS) is intended to be a training and testing ground for autonomous driving systems. To this end, we open-source the code under a permissive license and present a set of baseline policies. CRTS combines the realism of traffic scenarios and the flexibility of simulation. We use it to train agents using a reinforcement learning algorithm. We show how to obtain competitive polices and evaluate experimentally how observation types and reward schemes affect the training process and the resulting agent's behavior.

cs.RO↗

Learning to Run challenge solutions: Adapting reinforcement learning methods for neuromusculoskeletal environments

In the NIPS 2017 Learning to Run challenge, participants were tasked with building a controller for a musculoskeletal model to make it run as fast as possible through an obstacle course. Top participants were invited to describe their algorithms. In this work, we present eight solutions that used deep reinforcement learning approaches, based on algorithms such as Deep Deterministic Policy Gradient, Proximal Policy Optimization, and Trust Region Policy Optimization. Many solutions use similar relaxations and heuristics, such as reward shaping, frame skipping, discretization of the action space, symmetry, and policy blending. However, each of the eight teams implemented different modifications of the known algorithms.

cs.LG↗