Command Palette
Search for a command to run...
Sage S2.1 Flash Technical Report
Sage S2.1 Flash Technical Report
Abstract
We introduce Sage S2.1 Flash, a 320-billion-parameter general-purpose mixture-of-experts model designed to reason over scientific evidence and act in interactive environments. Sage Sci-Perception uses dedicated encoders for molecular graphs and biological sequences and represents spectra as ordered patches of measurements. Modality-specific projectors map these representations into the input space of a shared backbone, which processes them alongside text and images. To develop the model’s agent capabilities, we construct verifiable environments for tool use, search, and coding, as well as specialized workflows involving machine learning experiments and scientific software. Task completion is checked against execution results, changes in environment state, or submitted artifacts. We evaluate Sage S2.1 Flash on 33 benchmarks across seven domains. In the primary comparison against five baselines, it ranks first on OficeQA Pro (72.2), MLE-bench Lite (90.3 HumanRank), Harvey LAB, and SpreadsheetBench 2, and second on OSWorld-Verified (85.2), WebArena-Verified (67.6), and DeepResearch Bench II (54.2). These results show particular strengths in using documentary evidence, producing verifiable workbooks, and carrying out machine learning tasks, alongside competitive performance in desktop and browser workflows that require the model to act on visual feedback.
One-sentence Summary
Researchers at Shanghai AI Laboratory, Fudan University, and affiliated institutions introduce Sage S2.1 Flash, a 320-billion-parameter mixture-of-experts model that uses dedicated encoders for molecular graphs and biological sequences, represents spectra as ordered patches of measurements, maps these representations through modality-specific projectors into a shared backbone with text and images, and is trained in verifiable tool-use, search, coding, and machine-learning experiment workflows, ranking first on OficeQA Pro (72.2), MLE-bench Lite (90.3 HumanRank), Harvey LAB, and SpreadsheetBench 2 and second on OSWorld-Verified (85.2), WebArena-Verified (67.6), and DeepResearch Bench II (54.2) across 33 benchmarks in seven domains.
Key Contributions
- Sage S2.1 Flash is introduced as a 320-billion-parameter general-purpose mixture-of-experts model designed to reason over scientific evidence and act in interactive environments.
- Sage Sci-Perception uses dedicated encoders for molecular graphs and biological sequences, represents spectra as ordered patches of measurements, and maps these representations through modality-specific projectors into a shared backbone alongside text and images. Verifiable environments are constructed for tool use, search, coding, and scientific workflows such as machine learning experiments and scientific software, with task completion checked against execution results, environment state changes, or submitted artifacts.
- Across 33 benchmarks in seven domains and in the primary comparison against five baselines, Sage S2.1 Flash ranks first on OficeQA Pro (72.2), MLE-bench Lite (90.3 HumanRank), Harvey LAB, and SpreadsheetBench 2, and second on OSWorld-Verified (85.2), WebArena-Verified (67.6), and DeepResearch Bench II (54.2). These results indicate strengths in using documentary evidence, producing verifiable workbooks, and carrying out machine learning tasks.
Introduction
Scientific agents increasingly use visual feedback to choose actions and check results, but research workflows add harder demands because heterogeneous inputs such as molecular graphs, biological sequences, and spectra must be interpreted alongside tool use and specialized software. The authors introduce Sage S2.1 Flash, a 320-billion-parameter mixture-of-experts model that uses scientific encoders, numerical patching, and modality-specific projectors to bring these scientific representations into a shared backbone. The model is post-trained on general-purpose agent tasks and verifiable scientific environments, then evaluated across 33 benchmarks spanning computer use, tool use, software engineering, and research.
Dataset
The authors use several dataset pipelines to produce verifiable agentic and scientific training data. The common structure is: collect source material, build executable tasks, separate public task statements from private scoring, record teacher or agent trajectories, and keep only samples that pass validation.
Dataset composition and sources
- Multi-source collection across domains: MCP and web trajectories for tool use; open datasets, web queries, and knowledge-graph facts for search; public coding datasets, GitHub commits, and documentation for coding; Hugging Face, Kaggle, official releases, and papers for ML coding; vulnerability databases and advisories for cybersecurity; public archives, parts libraries, photography, filings, and forum threads for workspace tasks; synthetic visual environments for visual agentic intelligence.
- Common trajectory schema often includes reasoning, tool calls, arguments, observations, results, and final answers.
- Many task packages separate public materials from private evaluation artifacts and keep provenance logs, source URLs, version records, and review records.
Key subsets
-
Agentic Tool Use / ToolSpace
- Sources: MCP-ecosystem executions and web-sourced agent trajectories.
- Filtering: authenticity-tiered filtering for real-server, real-workspace, and synthetic-tool trajectories.
- Processing: builds a typed tool-composition graph with tool-call pattern nodes, data/state/retry dependencies, and frequency weights; clusters tools into environments.
- Scale: 77,760 tool-call pattern nodes from 2,042 normalized tools, organized into 804 environments.
- Generated SFT trajectories have at least 5 tool calls, average 18.86 calls, and span 2.29 environments on average, with maxima of 209 calls and 22 environments.
-
Agentic Search
- Sources: open datasets, web seed queries, knowledge-graph facts, recent news topics.
- Tasks: entity identification, constrained enumeration, comparison, and temporal reasoning.
- Processing: forward synthesis from verified facts and reverse synthesis from reusable query structures; validation checks answer uniqueness, leakage, source accessibility, and candidate scope.
- Trajectories: teacher agents solve with search, webpage reading, and sandboxed Python; records include reasoning, tool calls, arguments, observations, and final answers.
- Filtering: rule-based checks plus model-based review; accepted samples retain provenance and review records.
-
Agentic Coding
- Sources: public datasets and environments including SWE-smith, SWE-rebench V2, OpenSWE, SWE-Lego, TMax, and SETA; high-quality GitHub commits; knowledge graphs from repositories, documentation, papers, and source code.
- Tasks: patch-level SWE, repository-level generation, terminal use, and web development.
- Processing: environment construction with pinned code versions, dependencies, inputs, and initial states; execution checks, negative controls, leakage cleanup, and multiple rollouts per task.
- Selection: verifier or judge signals with task-specific rubrics; trajectories that exploit leaked answers, bypass evaluation, or fabricate verification are excluded.
-
ML Coding
- Sources: Hugging Face, Kaggle, official project releases, open stores; papers, base models, and evaluation protocols.
- Composition: predictive modeling, algorithm implementation, research reproduction, and model post-training.
- Processing: data-code pairing, version tracking, environment adaptation, and controlled degradation of implementations or solutions.
- Format: Harbor format with instruction.md, task.toml, environment/, and tests/.
- Use: scoring on actual submissions, with provenance and construction logs kept outside task packages.
-
Cybersecurity
- Sources: international vulnerability databases, open-source communities, software vendors, and incident response advisories.
- Organization: vulnerability types mapped to CWE and software settings such as Linux kernel, JavaScript engines, web applications, user-space software, and core libraries.
- Processing: rule-based filtering, agent-based evidence verification, source code preprocessing, differential validation of vulnerable and patched versions, and isolated private evaluation.
- Task types: vulnerability reproduction and vulnerability exploitation.
-
Workspace Agentic Intelligence
- Sources: public document and slide archives, manufacturer parts libraries, Wikimedia Commons photography, regulatory filings and advisory records, and community forum threads with authentic workbooks.
- Domains: presentation decks, spreadsheets, business and legal documents, industrial CAD assemblies, 3D scenes, and command-line analysis workspaces.
- Processing: deduplication, license verification, version tracking, quality screening, public-private separation, controlled degradation, artifact-level validation, and reward-hacking defense.
-
Visual Agentic Intelligence
- Sources: synthetic visual contexts and environments.
- Composition: single-step image recognition and clicking tasks, plus long-horizon computer-use agent workflows.
- Processing: varied observations, instructions, interface states, and interaction objectives; rejection sampling is applied to generated data.
- Use: selected training examples balance broad synthetic task coverage with selective curation.
-
Scientific Reasoning Tasks
- Sources: represented scientific inputs and frozen scientific readouts, with annotations such as molecular properties and interaction sites.
- Composition: native scientific prediction tasks plus auxiliary questions about atom counting, graph relations, and numerical comparisons.
- Processing: auxiliary targets are computed from the same inputs or readouts, so multiple questions share one scientific input.
Cross-cutting processing and use
- Many pipelines use execution-based verification, replay checks, differential checks, or private evaluators to filter tasks and trajectories.
- Public instructions are often written only from agent-visible material, while reference solutions, private data, and scoring scripts remain separated.
- Rule-based and model-based filtering are combined, with task-level or trajectory-level rejection where validation fails.
- The authors describe selection for SFT trajectories and rejection sampling, but this excerpt does not report a single global training split or mixture ratio across all subsets.
- No image cropping strategy is described; visual data construction instead varies synthetic visual contexts, interface states, and interaction objectives.
Method
Sage S2.1 Flash combines scientific perception, multimodal reasoning, and agentic capabilities within a unified architecture. The model is built on a 320-billion-parameter mixture-of-experts foundation model. Its architecture routes each token through a subset of experts, utilizing a hybrid of sparse and linear attention to support long-context processing. The backbone processes task instructions, native text and image inputs, and projected scientific representations within a shared multimodal context.
To integrate diverse scientific evidence, the authors introduce Sage Sci-Perception, a unified interface that maps heterogeneous scientific representations into the backbone's input embedding space.
Scientific inputs take various forms, such as molecular structures, biological sequences, and experimental measurements. Scientific encoders and numerical patching procedures first produce local representations, retaining the identities, positions, and structural information associated with the input. For an input xm of a specific modality, the representation is denoted as Hm=Em(xm)∈RNm×dm, where Em is a scientific encoder or a deterministic numerical patching procedure. Modality-specific projectors then map these representations into the backbone's input embedding space. The complete interface is defined as Sm=Pm(Hm,Im,Am)∈RNm×dLM, where Im represents local identities and Am denotes additional scientific inputs. The main projection path combines each local state with a learned identity embedding, followed by layer normalization and linear transformations. Optional branches can incorporate explicit measurements or translate scientific prediction scores into additional embedding contributions, allowing each output embedding to incorporate both local evidence and contextual information.
To develop the agentic capabilities required for scientific work, the authors scale verifiable environments across multiple domains. For agentic tool use, they propose ToolSpace, a tool-centric framework for cross-environment data synthesis that improves long-horizon tool orchestration.
ToolSpace reconstructs a tool-composition space from real execution traces. It organizes records into a typed tool-composition graph where nodes represent tool-call patterns and edges capture data, state, and retry dependencies. This graph is used to synthesize environments on demand and generate long-horizon agent tasks through state-aware random walks and reverse verifiable task synthesis.
For visual agentic intelligence, the authors develop a staged curriculum that builds general perception and grounding skills before integrating them into long-horizon interaction.
The pipeline collects real-world tasks and generates new tasks from seeds to scale the task pool. It then conducts agent rollouts in interactive environments to generate execution trajectories. These trajectories are filtered through outcome verification and rejection sampling to obtain high-quality training data for computer-use agent capabilities.
The scientific interface is treated as a trainable component of the model's reasoning policy. Following supervised initialization, the authors refine modality-specific projectors through reinforcement learning using verifiable scientific outcomes as rewards. The scientific encoders and language backbone remain frozen, ensuring that task feedback specifically shapes how evidence is presented to the backbone. They apply group relative policy optimization, where multiple responses share the same question and scientific input, and their rewards are standardized within each group to obtain relative advantages. Gradients propagate through the frozen language backbone to the trainable projector components, adapting the policy by changing how scientific evidence enters the model. This approach enables complex scientific deep research, such as analyzing quantum-memory experiments by reviewing literature, extracting parameters, and generating interactive applications to trace explanations.
Experiment
The evaluation compares Sage S2.1 Flash against five primary baselines across 33 benchmarks spanning agentic coding, productivity, tool use, ML engineering, deep research, search, and vision, with published reference scores reported separately. Results highlight strengths in ML engineering and research implementation, tool orchestration for professional deliverables, visual interaction, and evidence acquisition. Trajectory analysis against GLM-5.3-Flash shows more consistent use of experimental checks, preservation of scientific correctness in artifacts, and maintenance of task constraints across tool operations. Application studies further validate these abilities in CT reconstruction, reference-guided 3D modeling, scientific software analysis, and interactive scientific deep research.
The checked inventory for task synthesis spans public data sources, research papers, and a small curated set of base models. Kaggle is the largest source of candidate material, followed by research papers, while dedicated public dataset repositories and official stores contribute smaller pools. These counts reflect candidate inventories, not final training tasks. Kaggle is the largest candidate source overall, and its deduplicated index is split between dataset sources and competition sources. Research papers form the second-largest checked input list, exceeding the combined totals of Hugging Face data, GitHub data releases, and official sites. Hugging Face base model candidates are far fewer than data or paper candidates, with nearly all model cards released and one quarantined. Official sites and other open stores add a modest number of public dataset candidates relative to Kaggle.
Among the listed benchmarks, Sage S2.1 Flash leads SpreadsheetBench 2 among primary baselines, while Claude Opus 5 leads Terminal-Bench, NL2Repo-Bench, and SWE-bench Pro, and DeepSeek-V4.1-Flash-1017 leads DeepSWE. Published leading-model scores extend the frontier on SWE-bench Pro but do not uniformly surpass primary results elsewhere. Qualitative experiments additionally show Sage S2.1 Flash performing complex visual and scientific workflows such as CT reconstruction, parametric CAD modeling, and interactive research analysis. Sage S2.1 Flash is the top primary model on SpreadsheetBench 2, ahead of all listed primary baselines and published scores. Claude Opus 5 is the strongest primary model on three of the four listed agentic coding benchmarks, including large leads on NL2Repo-Bench and SWE-bench Pro. DeepSeek-V4.1-Flash-1017 leads DeepSWE among primary baselines, while published Claude Opus 5.5 reports the highest listed SWE-bench Pro score. Qualitative experiments show Sage S2.1 Flash completing CT reconstruction, editable 3D modeling, scientific software analysis, and interactive deep research tasks.
The experiments first characterize the candidate inventory used for task synthesis, showing Kaggle as the largest source of checked material followed by research papers, with base model candidates remaining relatively rare. Benchmark evaluations indicate that Sage S2.1 Flash leads SpreadsheetBench 2, Claude Opus 5 leads Terminal-Bench, NL2Repo-Bench, and SWE-bench Pro, and DeepSeek-V4.1-Flash-1017 leads DeepSWE, while published scores extend the frontier only on SWE-bench Pro. Qualitative trials further demonstrate Sage S2.1 Flash successfully handling complex visual and scientific workflows such as CT reconstruction, parametric CAD modeling, and interactive research analysis.