These are paper notes ported from tweets, done as a challenge of reading five papers in five days. Use the bar below to switch between them.

Kimi K2.5

Architecture and training

The model itself stems from Kimi K2: a 1T-A32B-parameter MoE transformer (384 experts, 8 activated per token) trained on 15T text tokens via the MuonClip optimizer. Kimi K2.5 adds a 3D vision encoder, MoonViT-3D, which extends MoonViT to videos. Pre-training has 3 stages: standalone vision-encoder training (1T tokens, starting from SigLIP), joint pre-training (15T tokens, 4K sequence length, starting from a near-end Kimi K2 checkpoint), and joint midtraining (~500B higher-quality tokens, increasing sequence length incrementally up to 262k with YaRN interpolation).

Interestingly, mixing text and vision tokens right from the start at a low ratio (10% vision) yields better results both in vision reasoning (by a lot) and text reasoning (by a little) compared to only mixing in the vision tokens at later stages of pre-training — although, looking at Figure 9 in the Appendix, some of it might as well be noise.

Post-training is text-only SFT on reasoning traces and tool-calling, plus RL. SFT is text-only probably due to the low quality of available vision CoT data.

RL

The authors describe two types of RL post-training: visual RL and multimodal RL.

In visual RL, the tasks are localization/enumeration of objects, chart and document understanding, and STEM problems where vision is needed. Reward is outcome-based — e.g. IoU for segmentation, edit distance for OCR, absolute error for counting. Without this visual RL, the checkpoint after text-only SFT sometimes ignores the visual input. Visual-only RL also improves text reasoning (e.g. MMLU-Pro) compared to the SFT checkpoint.

In multimodal RL, tasks are mostly open-ended and not verifiable. Instead, solutions are graded with self-critique using the same model (acting as a GRM — Generative Reward Model) according to multi-dimensional task-specific evaluation criteria (the different evaluation schemes are called rubrics). A GRM is necessary for open-ended conversational tasks, but is also employed on top of verifiable feedback in tasks like coding — evaluating traits such as appropriate level of detail, aesthetic quality, and so on. It’s unclear how the GRM inputs and outputs look.

The RL objective is something like a group-relative, token-level clipped policy gradient objective with log-ratio masking and an explicit quadratic KL penalty.

Agent Swarm

The model is trained as an orchestrator to decompose tasks into sub-tasks and instantiate sub-agents. Specifically, sub-agents are treated as black boxes during optimization, and only the coordinator is trained — the authors call this PARL (Parallel-Agent RL). The orchestrator is first trained using small-model agents before transitioning to larger models. Together with the external reward, PARL has two auxiliary rewards (with weight annealed to zero during training): one for spawning sub-agents, and one for the successful sub-agent completion rate.

During a rollout, instead of constraining the total steps performed by agents, they constrain the length of the critical path — i.e., when multiple sub-agents run in parallel, only the longest run contributes to the total budget. The training prompts are structured so that sequential search is impractical under the step/tool-call budget: either they require wide search (e.g. many independent information sources), or deep search (many dependent reasoning branches — not sure what that means practically), or they test some real-world workload. However, the prompts never explicitly elicit parallelization.

Toggle heuristic

During training, two rollout schemes alternate every $m$ iterations:

  1. a budget-limited phase, where a token budget is enforced once the mean accuracy on the given task exceeds a task-specific threshold, and
  2. a standard scaling phase, always letting the model generate a response up to some maximum length.

This incentivizes the model both to be concise in its reasoning and to generalize to higher compute scales. The budget-limited phase decreases output length by ~30% with little degradation in performance.

Decoupled Encoder Process (DEP)

The vision encoder (small) is replicated across all GPUs, while the rest of the model is sharded according to various pipeline strategies (cf. Appendix C). This is to alleviate fluctuations in stage-0 load caused by variability in the vision input size.

Performance

Very cool to compare against — and be competitive with — Opus 4.5, GPT-5.2, and Gemini 3 Pro.

Final thoughts

The obvious problem with Agent Swarm is that each high-level step is limited by the longest-running sub-agent, affecting the system’s latency. An interesting (maybe not practical) experiment would be giving the orchestrator an agency frame each $n$ seconds together with a kill_subagent action, and maybe some way for agents to report partial progress.

Automated theorem proving at DeepMind

A summary of recent automated theorem proving efforts by DeepMind, across three papers.

Since the AlphaProof + AlphaGeometry silver medal at IMO 2024, frontier theorem proving has transitioned from search in formal tactic space into search in natural language using reasoning LLMs with outer-loop scaffolding. At IMO 2025, DeepMind achieved a gold medal with Gemini + DeepThink (Luong and Lockhart, 2025) within the 4.5-hour time limit, alleviating the need for autoformalization and deformalization from and to Lean.

Towards Autonomous Mathematics Research

The idea is to transition from competition math to research math. The paper introduces Aletheia, a simple outer loop around Gemini consisting of a proof generator, a verifier, and a reviser. The verifier either accepts the proof, sends it to the reviser with feedback, or discards it as critically flawed.

Aletheia found a novel solution to 4 Erdős problems and was used with various levels of human supervision to produce 5 publications. Notably, one of these was done “essentially autonomously”. However, the authors do a good job of tempering expectations, saying “the results of this paper should not be interpreted as suggesting that AI can consistently solve research-level mathematics questions” and “even with its verifier mechanism, the model is still highly prone to errors compared to humans”.

Main ideas:

  • Decouple thinking traces from the final output. This probably means that the verifier and reviser don’t see the generator’s thinking tokens, so that they are not swayed by them.
  • The outer loop (scaffolding) of proof generator, verifier, and reviser beats simple generate → verify in long-running search.
  • Tool use (web search) reduces hallucinations of citations.

Interestingly, adding a Python interpreter tool had only a marginal positive effect.

Additionally, they introduce:

  • A taxonomy for AI-driven results based on two axes: level of autonomy and level of mathematical significance.
  • Human-AI Interaction (HAI) Cards to document the interaction between human and AI during proof search (same motivation as Model Cards).

A few other notes from the paper:

  • When there is ambiguity in the problem statement, the model tends to choose the easiest option (“specification gaming”).
  • Compared to a human expert, AI has immense knowledge breadth in math, but lacks knowledge depth.

Towards Robust Mathematical Reasoning

Introduces benchmarks for advanced theorem proving, collectively called IMO-Bench:

  • IMO-AnswerBench: 400 problems with closed-form answers. The answer is simple and easy to compare to the gold target — the LLM judge (AnswerAutoGrader) has 98.9% accuracy on the positive (correct) class.
  • IMO-ProofBench: 60 problems, where the task is to generate a proof. The LLM judge (ProofAutoGrader) has 0.87 Pearson correlation with human judges and 83.8% accuracy on the positive class (much harder to grade).
  • IMO-GradingBench: 1000 examples, where the task is to grade a proof (as correct / almost / partial / incorrect). The model only receives the problem and a proposed solution, in contrast to ProofAutoGrader, which also receives the reference solution and grading guidelines.

Semi-Autonomous Mathematics Discovery with Gemini: A Case Study on the Erdős Problems

Published as a kind of preview before the Aletheia paper. They go through the previously open problems that were resolved to various degrees with Aletheia: 3 proved autonomously, 2 proved partially, 3 proofs rediscovered independently, and 5 solutions found in the literature. Again, the authors state: “Our findings suggest that the ‘Open’ status of the problems was through obscurity rather than difficulty.”

QED-Nano: Teaching a Tiny Model to Prove Hard Theorems

Introduces a 4B theorem-proving model competitive with much larger models on IMO-ProofBench (e.g. with GPT-OSS-120B). When provided with test-time outer-loop scaffolding, it is competitive with Gemini 3 Pro while still being ~3x cheaper. On IMO 2025 problems, it achieved a score of 14/42 according to a human grader (22/42 with Gemini as the grader). The datasets, weights, and training pipeline are fully open-source.

Training consists of 2 stages:

  • SFT on proofs and reasoning traces generated from DeepSeek-Math-V2 (685B params) on a curated dataset of theorems, filtered using Gemini 3 Pro to discard wrong proofs.
  • RL loop, optimizing for long-horizon reasoning (more on that below) via GRPO, implemented asynchronously using PipelineRL.

RL loop

Instead of a sparse 0/1 reward, they use rubric-based scoring to reward partial correctness. A rubric is a detailed grading scheme to score a model solution from 0 to 7. Rubrics are generated automatically by Gemini 3 Pro (see the lm-provers/FineProofs-RL dataset on HF for examples). Grading is done by GPT-OSS-20B, using a prompt from the ProofBench paper. Specifically, a rubric specifies:

  • major steps required for a full solution,
  • common failure modes,
  • what counts as a partial solution.

Key problem: a small model has to be scaled at test time, i.e. it has to produce more thinking tokens before answering. However, it’s hard to run RL directly on extremely long CoT. In QED-Nano, they train for moderate lengths but optimize for behavior that benefits from much longer test-time budgets. This is achieved using Reasoning Cache (RC) (Wu et al., 2026).

RC replaces a monolithic reasoning trace with shorter cycles, where in each cycle the model reasons for a bit and then summarizes its progress into a short state representation. The next cycle is then conditioned on the previous summary. During training, the model is optimized to generate a correct proof given the input problem and a summary of previous progress. When training, the summarization is done by Qwen3-4B-Instruct-2507 instead of the trained model; this speeds up training without hurting the final performance. The checkpoint trained using RC beats simple long-rollout RL once they start doing more steps during inference.

The RL prompt problems are annotated with estimated difficulty (based on the success rate of Qwen3-4B-Thinking over 128 proof attempts) and sampled in a smart way during training.

Test-time scaffolding

During inference, they use an outer-loop scaffolding to scale to >1.5M tokens per proof. Various scaffoldings were tested:

  • Reasoning Cache (described above) run for 3 steps.
  • Self-Check: a simple generate → verify → improve loop run until the verifier is happy.
  • Nomos: generates $n$ solutions, keeps the $k$ best ones, consolidates them into the final one using tournament selection.
  • RSA: generates $n$ solutions, then at each step generates $n$ new solutions by always conditioning on randomly chosen $k$ ones from the previous step. The final proof is selected using tournament selection on the last population.
  • DeepSeek Math (DSM): generates $n$ solutions, self-evaluates each one $n$ times, refines the top $n$ solutions and adds them back to the pool, repeats. The top-scored solution over all steps is selected as the final output.

Based on required compute and average performance, they select the Reasoning Cache approach. RSA gave the best performance, but requires ~10x more tokens.

Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics

Simple idea: use Claude Code for theorem proving. When given the right tools, Opus 4.5 generates formal proofs to all 12 problems on Putnam 2025. In an interactive mode, it also assisted in the formalization of some cool theorem (Brascamp-Lieb).

Selling points of using Claude Code:

  • It’s trivial to add a Python interpreter, a Lean verifier, and any other tool via MCP.
  • It’s designed for interactive use, which is nice because human input is still needed to guide a complex proof search.
  • It’s independent of the underlying model — similarly to COPRA.

A bit confusingly, the actual proving is done using a simple outer-loop method vaguely inspired by [1] and built on top of Gemini 3 Pro: a generator and a verifier interact in a refinement loop until the proof is deemed correct 3 times in a row or patience runs out. The rest of the pipeline seems to only be needed for the autoformalization of the informal proof.

Claude Code is also given the ability to query external LLMs like Gemini for advice.

The paper is written in a bit of a strange way, where it’s unclear which methods were used and which were only proposed. It looks as if the authors tried a lot of different problem-specific approaches instead of a single method used for all problems.

Autoformalization

They use Numina-Lean-Agent in interactive mode to autoformalize the main theorem from a paper on Brascamp-Lieb inequalities. The final formalization consists of 8000 lines of Lean code and 70 definitions, and took 2 weeks to complete (and is still being simplified by human experts). The authors specifically mention problems with readability and lack of structured abstraction in the generated code. It’s unclear to me how much time the AI agent saved.

They also introduce blueprint — not to be confused with blueprint, the established Lean tool by Patrick Massot. The idea seems to be to first decompose the goal into a DAG of lemmas, but no details are mentioned.

Tooling

They use Lean-LSP-MCP for Lean/Loogle interaction. For semantic search of useful theorems in a Lean repo (e.g. Mathlib), they develop a new tool called LeanDex, built on top of LeanExplore. It’s unclear what the improvement over LeanExplore is.

References

[1] Huang, Y. and Yang, L. F. Winning gold at IMO 2025 with a model-agnostic verification-and-refinement pipeline. arXiv preprint arXiv:2507.15855, 2025.

Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture (I-JEPA)

For context, self-supervised learning in vision typically follows one of:

  1. Invariance-based methods. The encoder is optimized to produce similar embeddings for two views of the same image, generated by random scaling, cropping, color jitter, etc. Cons: different downstream tasks require different hand-crafted invariances; does not easily transfer outside of vision (e.g. to audio).
  2. Generative methods. An encoder and decoder are optimized to predict the original content of corrupted or masked portions of the image. Cons (as per the paper): “lower semantic level”; worse performance at downstream tasks with limited supervision (e.g. without end-to-end finetuning), probably because we are not encoding useful image priors using the invariances.

The basic idea of I-JEPA: a generative method, but in abstract representation space. In other words, instead of predicting corrupted patches in pixel/token space, predict them in a learned latent space. This is to eliminate unnecessary low-level details and learn more semantic features.

Components

Each one is a ViT:

  • context-encoder — encodes a context (a masked instance of an image),
  • target-encoder — encodes a target (what was masked),
  • predictor — given the representation of a single context block, predicts the representations of multiple target blocks in the same image.

An (over)simplified training algorithm: for image $I$, sample a block (rectangular section) $y$ and take $x = I - y$ (see Figure 4 in the paper). Encode $x$ using the context-encoder, obtaining $s_x$, and $y$ using the target-encoder, obtaining $s_y$. Use the predictor to predict $s_y$ (the encoded target) from $s_x$ (the encoded context) and $z$ (a representation of the image patch positions that were masked). Calculate the loss as MSE.

The context-encoder and predictor are trained end-to-end; the target-encoder is an EMA of the context-encoder.

Nice features:

  • No hand-crafted view augmentations (except, of course, the masking algorithm), empirically leading to wider applicability.
  • More efficient than predicting in pixel/token space.

More details

The image $y$ is split into $N = (H/P) \times (W/P)$ patches and processed through the target-encoder ($P$ is 14 or 16, depending on the ViT model). Then $M = 4$ (possibly overlapping) target blocks are sampled from the processed grid of patches, with scale selected from $[0.15, 0.2]$ and aspect ratio from $[0.75, 1.5]$.

Note that the target blocks are created by masking at the level of the encoded patches, not at the level of the original image. The stated reason is ensuring a “high semantic level” of the target representation, referencing the data2vec paper. Intuitively, I think of it as: when the target section shows an elephant’s ear, you want the target representation to be “elephant’s ear”, not “gray blob” — so you need to be able to attend to the whole image, not just the masked section.

Next, a context block is randomly sampled from the image, with scale selected from $[0.85, 1.0]$. This sampling is probably not essential (we could have used the whole image); it seems to be simply an augmentation. Importantly, all the target blocks are carved out (masked) from the context block to make the prediction from context to targets nontrivial (see again Figure 4). The context block is then fed through the context-encoder.

So the order is: mask then embed for the context (mask at pixel level), embed then mask for the target (mask at representation level). From this perspective, Figure 2c might be clearer if it also showed the points where masking/corruption occurs. My interpretation: if the context was masked after embedding, the predictor could cheat by observing some information about the masked region from the other, globally-conditioned features.

Finally, for each embedded target, the predictor tries to predict it conditioned on the embedded context and on a description of which area was masked. The masked-area description consists of learned positional tokens for each masked image patch.

More context

All the approaches mentioned at the beginning can be formulated using similar notation (see Figure 2):

1. Invariance-based methods (also called JEA — Joint-Embedding Architecture):

  • Both $x$ and $y$ are instances of the same image, differing by some image-level hand-crafted transformation.
  • The objective is to align the embeddings of $x$ and $y$.
  • The main challenge is representation collapse (constant encoder output). Mitigated by: a contrastive loss (explicitly pushing negative examples apart), explicitly maximizing entropy, splitting the encoder into an $x$-encoder and a $y$-encoder (works heuristically), and so on.
  • Examples: DINO, MoCo (Momentum Contrast).

2. Generative methods:

  • $y$ is an image, $x$ is the same image with some parts corrupted.
  • The decoder is also conditioned on a latent $z$ that specifies which patches to reconstruct.
  • The objective is to predict $y$ from $x$ and $z$.
  • Example: MAE (Masked Autoencoders).

3. JEPA:

  • $x$, $y$, $z$ are the same as in generative methods.
  • The objective is to predict the embedding of $y$ from $x$ and $z$.