MCP
TS

Torsten Scholak

35 papers in the library · Same-name authors told apart using DBLP

Papers

30
Fixed State, Long Reach: What a Constant-Size Cache Buys Block Diffusion at Scale
Vaibhav SinghPierre-André NoëlTorsten ScholakEugene BelilovskyOleksiy Ostapenko
Block diffusion language models regain caching by decoding block-wise. This work shows a state-space sequence mixer (Mamba) provides an $O(1)$ block cache—constant memory and per-step latency regardless of context length—compared to an attention cache's $O(L)$ growth. At 256k tokens, the Mamba cache achieves 4.3x lower latency, 11x less memory, and 2.6x higher single-stream throughput, scaling to 14x aggregate throughput with batching. It also retrieves out to 8-16x training length, while attention collapses at 2x, with no measured quality loss. A 3B-parameter hybrid backbone using this fixed-state cache was pretrained on 300B tokens.
arXivarXiv · · September 9, 2026
0
1
Super Apriel: One Checkpoint, Many Speeds
SLAM Labs:Oleksiy OstapenkoRaymond LiTorsten ScholakAlireza Mousavi-HosseiniAman TiwariDenis KocetkovJoel Lamy PoirierKelechi OguejiNanda H KrishnaRafael Pardinas  +4
Super Apriel is a 15B-parameter supernet where each decoder layer offers four trained mixer choices (Full Attention, Sliding Window Attention, Kimi Delta Attention, and Gated DeltaNet). Placements selecting one mixer per layer can be switched at serving time without reloading weights, enabling multiple speed presets. The all-FA preset matches the Apriel 1.6 teacher on benchmarks; hybrid presets achieve $2.9\times$ to $10.7\times$ decode throughput at 96% to 77% quality retention. A surrogate model predicts placement quality from per-layer assignments, making the speed-quality landscape tractable. Rankings stabilize quickly at 0.5B scale but are more unstable at 15B, cautioning against extrapolation from smaller models.
arXivarXiv · · April 21, 2026
0
1
BigCodeArena: A Platform for Executable Code Generation Evaluation
Terry Yue ZhuoXiaolong Jin…Torsten Scholak
BigCodeArena is an open human evaluation platform for code generation that executes LLM-generated code and lets humans interact with execution processes and outcomes. It collected over 14K code-centric conversations across 10 LLMs, 10 programming languages, and 8 execution environments, including 4.7K multi-turn samples with pairwise preferences. From this data, the authors built two benchmarks—BigCodeReward for reward-model alignment and AutoCodeArena for automated Elo-style evaluation. Findings show execution feedback improves preference modeling, with GPT-5 and Claude-4 variants performing strongly.
OpenReviewOpenReview · March 26, 2026
0
4
DiffuMamba: High-Throughput Diffusion LMs with Mamba Backbone
Vaibhav SinghOleksiy OstapenkoPierre-Andre NoelEugene BelilovskyTorsten Scholak
DiffuMamba introduces a masked diffusion language model using a bidirectional Mamba backbone, pairing the diffusion objective with linear-time sequence modeling to avoid Transformer quadratic attention and KV-cache overhead. A hybrid variant, DiffuMamba-H, interleaves attention. Scaling to 1.3B parameters, both match Transformer-based diffusion in downstream performance while reaching up to 8.2× and 4.3× higher inference throughput on long sequences. Efficiency analysis identifies cache-efficient block diffusion with Mamba mixers as the only strategy scaling linearly in sequence length with the strongest performance.
OpenReviewOpenReview · · February 2, 2026
0
DiffuMamba: High-Throughput Diffusion LMs with Mamba Backbone
Vaibhav SinghOleksiy OstapenkoPierre-Andre NoelEugene BelilovskyTorsten Scholak
DiffuMamba is a masked diffusion language model using a bidirectional Mamba backbone, combining linear-time sequence modeling with the diffusion objective to address Transformer-based diffusion models' inference inefficiency. A hybrid variant, DiffuMamba-H, interleaves attention blocks. Across scales up to 1.3B parameters, both match Transformer-based diffusion in downstream performance while increasing inference throughput by up to 8.2× and 4.3× on long sequences. A systematic efficiency analysis shows cache-efficient block diffusion with Mamba mixers scales linearly and performs strongest among baselines.
OpenReviewOpenReview · · January 22, 2026
0
DiffuMamba: High-Throughput Diffusion LMs with Mamba Backbone
Vaibhav SinghOleksiy OstapenkoPierre-André NoëlEugene BelilovskyTorsten Scholak
DiffuMamba replaces the Transformer backbone of masked diffusion language models with a bidirectional Mamba, enabling linear-time sequence modeling. At up to 1.3B parameters, it matches Transformer-based diffusion performance while achieving up to 8.2x higher inference throughput on long sequences. A hybrid variant, DiffuMamba-H, uses interleaved attention and achieves 4.3x higher throughput. The authors identify cache-efficient block diffusion with Mamba as the only strategy scaling linearly with sequence length while attaining the strongest performance across baselines.
arXivarXiv · · November 19, 2025
0
6
Apriel-H1: Towards Efficient Enterprise Reasoning Models
Oleksiy OstapenkoLuke Kumar…Torsten Scholak
The Apriel-H1 family of 15B-parameter hybrid LLMs combines transformer attention with linear-complexity Mamba state-space-model (SSM) layers. Starting from a pretrained reasoning transformer, critical attention layers are retained while less critical ones are progressively replaced by Mamba blocks via incremental distillation. A 30/50 hybrid variant, further fine-tuned on reasoning traces, achieves over 2× higher inference throughput with minimal reasoning degradation, showing that distilled SSM-transformer hybrids can substantially improve efficiency without sacrificing quality.
arXivarXiv · · November 4, 2025
0
2
ColMate: Contrastive Late Interaction and Masked Text for Multimodal Document Retrieval
Ahmed MasryMegh ThakkarPatrice BechardSathwik Tejaswi MadhusudhanRabiul AwalShambhavi MishraAkshay Kalkunte SureshSrivatsava DaruruEnamul HoqueSpandana GellaTorsten ScholakSai Rajeswar
ColMate is a multimodal document retrieval model that addresses the gap between multimodal representation learning and document retrieval. It introduces a novel OCR-based pretraining objective, a self-supervised masked contrastive learning objective, and a late interaction scoring mechanism tailored to document structures and visual characteristics. ColMate achieves a 3.61% improvement over existing models on the ViDoRe V2 benchmark, showing stronger generalization to out-of-domain data.
arXivarXiv · · November 2, 2025
0
10
ColMate: Contrastive Late Interaction and Masked Text for Multimodal Document Retrieval
Ahmed MasryMegh ThakkarPatrice BechardSathwik Tejaswi MadhusudhanRabiul AwalShambhavi MishraAkshay Kalkunte SureshSrivatsava DaruruEnamul HoqueSpandana GellaTorsten ScholakSai Rajeswar
ColMate is a multimodal document retrieval model that addresses the gap between multimodal representation learning and retrieval. It uses an OCR-based pretraining objective, self-supervised masked contrastive learning, and a late interaction scoring mechanism tailored to document structures and visual features. On the ViDoRe V2 benchmark, ColMate achieves a 3.61% improvement over existing models, showing stronger out-of-domain generalization.
ACL AnthologyACL Anthology · · November 2025
0
BigCodeArena: Unveiling More Reliable Human Preferences in Code Generation via Execution
Terry Yue ZhuoXiaolong Jin…Torsten Scholak
BigCodeArena is introduced as an open human-evaluation platform for code generation, built on Chatbot Arena with an on-the-fly execution environment that lets humans run LLM-generated code and interact with its execution process and outcomes, addressing the difficulty of judging long raw code without simulating execution. Using over 14,000 collected conversation sessions across 10 LLMs, 10 languages and 8 execution-environment types, the work identifies more than 4,700 multi-turn samples with pairwise human preferences, revealing underexplored fine-grained preferences by task, language and framework. From this data it curates BigCodeReward, which shows most LLMs judge coding preferences better when execution results are available, and AutoCodeArena, an automatic Elo benchmark without human involvement, where proprietary models such as GPT-5 and Claude-Sonnet-4 still lead.
arXivarXiv · · October 9, 2025
0
7
Apriel-1.5-15b-Thinker
Shruthan RadhakrishnaAman Tiwari…Torsten Scholak
Apriel-1.5-15B-Thinker, a 15-billion parameter multimodal reasoning model, achieves competitive performance on par with larger models through a data-centric three-stage training process: depth upscaling, staged continual pre-training with targeted synthetic data, and supervised fine-tuning with explicit reasoning traces. It attains a score of 52 on the Artificial Analysis Intelligence Index, matching DeepSeek-R1-0528, and matches Gemini-2.5-Flash and Claude Sonnet-3.7 within five points across ten image benchmarks, all without reinforcement learning or preference optimization, demonstrating that thoughtful mid-training can close capability gaps without massive scale.
arXivarXiv · · October 1, 2025
0
4
BigCodeArena: Unveiling More Reliable Human Preferences in Code Generation via Execution
Terry Yue ZhuoXiaolong Jin…Torsten Scholak
BigCodeArena is an open human evaluation platform for code generation that integrates a real-time execution environment with Chatbot Arena. It collected over 14K code-centric conversations across 10 LLMs, 10 programming languages, and 8 execution environments, identifying more than 4.7K multi-turn samples with pairwise human preferences. From these, it built BigCodeReward, which shows most reward models align better with human coding preferences when execution results are provided, and AutoCodeArena, an automatic Elo rating benchmark. Results indicate proprietary models like GPT-5, Claude-Sonnet-4, and Claude-Opus-4 lead in code generation.
OpenReviewOpenReview · · September 18, 2025
0
Apriel-Nemotron-15B-Thinker
Shruthan RadhakrishnaSoham Parikh…Torsten Scholak
Apriel-Nemotron-15B-Thinker is a 15-billion-parameter model in the ServiceNow Apriel SLM series that matches or exceeds the performance of 32-billion-parameter state-of-the-art models (e.g., o1-mini, QWQ32B, EXAONE-Deep-32B) while using less than half their memory. Its central contribution is achieving this through a four-stage training pipeline: base model upscaling, continual pre-training, supervised fine-tuning, and reinforcement learning using GRPO. Evaluations across diverse benchmarks confirm the size-efficiency trade-off.
arXivarXiv · · August 13, 2025
0
1
Using Scaling Laws for Data Source Utility Estimation in Domain-Specific Pre-Training
Oleksiy OstapenkoCharles Guille-EscuretLuke KumarMax TianDenis KocetkovGopeshh SubbarajRaymond LiJoel Lamy-PoirierSebastien PaquetTorsten Scholak
The paper introduces a framework that extends the point-estimate micro-annealing approach to estimate scaling laws for data sources in domain-specific pre-training (annealing phase). It performs multiple annealing runs at varying compute budgets to capture how data source utility depends on compute scale, addressing the problem that point estimates can be misleading due to rank invariance across scales. Experiments on 7B-parameter models in the medical and math domains show that this method provides cost-effective scaling curves, enabling data-driven resource allocation across data sources and acquisition methods.
arXivarXiv · · July 29, 2025
0
0
Unifying Autoregressive and Diffusion-Based Sequence Generation
Nima FathiTorsten ScholakPierre-André Noël
This paper blurs the line between autoregressive and diffusion-based sequence generation by introducing hyperschedules—distinct noise schedules per token position—that generalize both autoregressive models (e.g., GPT) and conventional diffusion models (e.g., SEDD, MDLM) as special cases. Two hybrid token-wise noising processes interpolate between absorbing and uniform processes, allowing the model to fix past mistakes during inference. Combined with attention masks compatible with KV-caching, these methods achieve state-of-the-art perplexity and diverse, high-quality generation across standard benchmarks.
arXivarXiv · · April 8, 2025
0
25
Unifying Autoregressive and Diffusion-Based Sequence Generation
Nima FathiTorsten ScholakPierre-Andre Noel
This paper extends diffusion-based sequence generation by introducing hyperschedules, which assign distinct noise schedules to individual token positions, thereby unifying autoregressive models and conventional diffusion models as special cases. Additionally, it proposes hybrid token-wise noising processes that interpolate between absorbing and uniform processes, enabling models to correct past errors, along with a simplified inference algorithm inspired by MDLM. Attention masks compatible with KV-caching support efficient training and inference. The methods achieve state-of-the-art perplexity and generate diverse, high-quality sequences on standard benchmarks.
OpenReviewOpenReview · · March 20, 2025
0
Unifying Autoregressive And Diffusion-Based Sequence Generation
Nima FathiTorsten ScholakPierre-Andre Noel
This paper extends diffusion-based sequence generation by introducing hyperschedules, which assign distinct noise schedules to individual token positions and generalize both autoregressive models like GPT and conventional diffusion models like SEDD and MDLM. It also proposes hybrid token-wise noising processes that interpolate between absorbing and uniform noise, enabling models to correct past mistakes, supported by a new inference algorithm and KV-cache-compatible attention masks. These methods achieve state-of-the-art perplexity and high-quality diverse sequences on standard benchmarks.
OpenReviewOpenReview · · February 11, 2025
0
TapeAgents: a Holistic Framework for Agent Development and Optimization
Dzmitry BahdanauNicolas GontierGabriel HuangEhsan KamallooRafael PardinasAlex PichéTorsten ScholakOleh ShliazhkoJordan Prince TremblayKaram GhanemSoham ParikhMitul Tiwari  +1
TapeAgents is a framework that uses a granular, structured log tape as both the session state and the central artifact for the entire LLM agent lifecycle. The agent reasons by processing the tape, appending thought, action, and observation steps. This design enables session persistence, debugging, and post-deployment reuse of tapes for evaluation, prompt tuning, and fine-tuning. A case study shows fine-tuning a Llama-3.1-8B form-filling assistant to match GPT-4o performance at much lower cost, with advantages attributed to the agent as a resumable, modular state machine generating structured logs convertible to training text.
arXivarXiv · · December 11, 2024
0
25
Mitigating Forgetting in Continually Pretraining MoE-LLMs by Adding and Chilling Experts
Raymond LiCharles Guille-EscuretDenis KocetkovJoel Lamy-PoirierLuke KumarMax TianSebastien PaquetChristopher PalTorsten Scholak
This paper studies how naive finetuning of Mixture-of-Experts (MoE) LLMs to new data distributions causes forgetting of prior capabilities, analyzing the impact of model size, dataset size, and replay data. To mitigate this, the authors propose a simple method: add new experts to increase model capacity while reducing the learning rate of old weights. Experiments show this "adding and chilling" approach reduces forgetting and learns efficiently on the new domain.
OpenReviewOpenReview · September 27, 2024
0
0
BigDocs: An Open Dataset for Training Multimodal Models on Document and Code Tasks
Juan A. RodriguezXiangru Jian…Torsten Scholak
We introduce BigDocs-7.5M, an open-access dataset of 7.5 million multimodal documents across 30 tasks, curated through an efficient, license-permissive process featuring filtering rules, traceable metadata, and content analysis. We also present BigDocs-Bench, a benchmark with 10 novel tasks for reasoning over GUIs and code generation from images. Training with this data improved average performance by up to 25.8% over GPT-4o in document reasoning and structured outputs, with human evaluators preferring BigDocs-trained outputs, supporting open access to multimodal AI training data.
OpenReviewOpenReview · September 26, 2024
0
38
BigDocs: An Open and Permissively-Licensed Dataset for Training Multimodal Models on Document and Code Tasks
Juan A. RodriguezXiangru Jian…Torsten Scholak
BigDocs-7.5M, an open and permissively-licensed dataset with 7.5 million multimodal documents across 30 tasks, is introduced to support document-understanding and code generation. A curation process using filtering rules, traceable metadata, and content analysis ensures quality and license compliance. Additionally, BigDocs-Bench provides 10 novel tasks for reasoning over GUIs and image-based code generation. Training on BigDocs-Bench improves performance up to 25.8% over GPT-4o in document reasoning and structured outputs, with human evaluations favoring BigDocs-trained models.
OpenReviewOpenReview · September 21, 2024
0
39
Perplexed: Understanding When Large Language Models are Confused
Nathan CooperTorsten Scholak
The paper introduces Perplexed, a library for analyzing token-level perplexity in large language models, and demonstrates its use through a case study on code generation LLMs. The central finding is that the studied models perform worst on syntactically incorrect code and generally struggle more with internal method invocations than external ones. Both Perplexed and the companion tool Codetokenizer are open-sourced.
arXivarXiv · · April 9, 2024
0
21
StarCoder 2 and The Stack v2: The Next Generation
Anton LozhkovRaymond Li…Torsten Scholak
StarCoder2, from the BigCode project, is a family of Code LLMs (3B, 7B, 15B parameters) trained on The Stack v2, a dataset built from Software Heritage's source-code archive and other high-quality sources, yielding 4x more data than the original. The key finding is that StarCoder2-15B matches or outperforms CodeLlama-34B on code and math reasoning, and surpasses DeepSeekCoder-33B on math, code reasoning, and low-resource languages, despite being smaller. Model weights are released under an OpenRAIL license with full data provenance via SWHIDs.
arXivarXiv · · February 29, 2024
0
954
Multilingual Code Retrieval Without Paired Data: New Datasets and Benchmarks
Joao MonteiroTorsten ScholakVirendra MehtaDavid VazquezChristopher Pal
This paper addresses code retrieval for non-English queries despite scarce paired data. It introduces M$^2$CRB, a human-verified benchmark of text-code pairs for Spanish, Portuguese, German, and French with Python, Java, and JavaScript, plus a training corpus combining new English-code pairs with existing translation data, testing the hypothesis that English-code and non-English-English mappings enable direct non-English-code retrieval. Evaluations confirm generalization to unseen language pairs, with analysis of model and design choices.
OpenReviewOpenReview · September 22, 2023
0
1
RepoFusion: Training Code Models to Understand Your Repository
Disha ShrivastavaDenis KocetkovHarm de VriesDzmitry BahdanauTorsten Scholak
RepoFusion is a framework for training code models to incorporate relevant repository context, such as imports and similar files, during code completion. On single-line completion tasks, models trained with this context significantly outperform much larger models like CodeGen-16B-multi (about 73x larger) and nearly match the performance of StarCoderBase, which is about 70x larger and trained with a fill-in-the-middle objective. The work includes ablation studies on design choices and releases a dataset for further research.
OpenReviewOpenReview · · September 21, 2023
0
RepoFusion: Training Code Models to Understand Your Repository
Disha ShrivastavaDenis KocetkovHarm de VriesDzmitry BahdanauTorsten Scholak
RepoFusion is a framework that trains code models to incorporate relevant repository context (e.g., imports, parent classes) for improved single-line code completion. Models trained with this context significantly outperform the much larger CodeGen-16B-multi (about 73x larger) and closely match the roughly 70x larger StarCoderBase, which used a Fill-in-the-Middle objective. This demonstrates the gains of training with repository context. The authors also release Stack-Repo, a dataset of 200 Java repositories augmented with three types of repository contexts, along with code and checkpoints.
arXivarXiv · · June 19, 2023
0
95
UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
Tianbao XieChen Henry WuPeng ShiRuiqi ZhongTorsten ScholakMichihiro YasunagaChien-Sheng WuMing ZhongPengcheng YinSida I. WangVictor ZhongBailin Wang  +11
UnifiedSKG is a framework that unifies 21 structured knowledge grounding (SKG) tasks, including semantic parsing and question answering, into a common text-to-text format. Using T5 models, it achieves state-of-the-art results on almost all tasks, often with simple modifications. Multi-task prefix-tuning further improves performance. The framework also enables systematic study of zero-shot and few-shot learning and controlled experiments on knowledge encoding, and is extensible to additional tasks.
arXivarXiv · · January 16, 2022
0
468
Towards Neural Functional Program Evaluation
Torsten ScholakJonathan PilaultJoey Velez-Ginorio
This paper investigates whether transformer-based language models can evaluate functional programs. The authors introduce a generation mechanism that controls syntactic sugar, enabling controlled variation of semantically equivalent programs. Experiments with T5 show high 90% exact match on in-distribution and out-of-distribution tests, with pretrained weights significantly outperforming random initialization. The study uses three datasets targeting generalization over type, function composition, and reduction steps, demonstrating that neural functional program evaluation is feasible.
arXivarXiv · · December 9, 2021
0
1
PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models
Torsten ScholakNathan SchucherDzmitry Bahdanau
PICARD is a method that constrains the auto-regressive decoding of language models by incremental parsing, rejecting tokens that would lead to invalid output sequences. Applied to fine-tuned T5 models on the Spider and CoSQL text-to-SQL tasks, it improves their performance from passable to state-of-the-art, addressing the problem of generating invalid formal language code.
arXivarXiv · · September 10, 2021
0
867
DuoRAT: Towards Simpler Text-to-SQL Models
Torsten ScholakRaymond LiDzmitry BahdanauHarm de VriesChris Pal
DuoRAT simplifies text-to-SQL by re-implementing the state-of-the-art RAT-SQL using only relation-aware or vanilla transformers as building blocks. Ablation experiments on Spider confirm the usefulness of some techniques while revealing redundancy in others, including structural SQL features and question-schema linking features. The work shows that competitive performance can be achieved with a simpler architecture, challenging the trend toward increasingly complex solutions.
arXivarXiv · · October 21, 2020
0
37
Frequent collaborators
Oleksiy Ostapenko (8)
Sathwik Tejaswi Madhusudhan (8)
Raymond Li (7)
Denis Kocetkov (7)
Pierre-Andre Noel (6)
Sebastien Paquet (5)
Ahmed Masry (5)
Dzmitry Bahdanau (5)
Vaibhav Singh (4)
Eugene Belilovsky (4)
Shruthan Radhakrishna (4)
Srinivas Sunkara (4)