COMPOSE: Composing Future Theorems from Citations and Formal Structure
David Busbib, Michael Werman
NeurIPS 2026
Abstract. A generated plausible future mathematical claim must satisfy two constraints: it should follow the direction of prior work and respect the formal dependencies that constrain the validly of the claim. Existing approaches typically model only one of these sources, producing claims that are either weakly grounded or insufficiently motivated. We introduce grounded future mathematical generation, the task of generating a plausible future theorem-like claim for an anchor paper, using two complementary sources of context: its scientific citation graph ,and its aligned formal theorem dependency graph. To address this setting, we propose COMPOSE, a dual-graph framework that combines scientific citation context with formal mathematical structure to condition a language model. To support this setting, we construct a dataset of 108K paired scientific-formal graphs from arXiv and Mathlib, together with a benchmark of 47K future papers from 2024-2025. Experiments show that COMPOSE outperforms strong baselines on retrieval to real future papers and achieves the best overall performance under LLM-judge evaluation, producing more grounded and mathematically richer outputs. These results show that future mathematical generation benefits from combining scientific context with formal structure.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper introduces grounded future mathematical generation, a task in which a model predicts a plausible future theorem-like claim based on an existing anchor paper. The paper proposes COMPOSE, a dual-graph framework that combines scientific citation context with formal theorem dependencies. The paper also creates a dataset of 108K paired scientific-formal graph samples from arXiv and Mathlib, and establish a evaluation benchmark of 47K future papers from 2024-2025.
Pros:
- The paper has a well-motivated setup about combination of scientific and formal structure
- The paper builds a large-scale resource connecting scientific papers, extracted theorem structures, Mathlib alignments, and future targets
Cons:
- The paper lacks evaluation of mathematical correctness
- The formal graph may sometimes encode only broad topical similarity
- The retrieval evaluation might be biased
- There is no evidence of downstream usefulness
The authors are encouraged to address the concerns raised by the reviewers during the rebuttal.
Final justification
The paper introduces grounded future mathematical generation, a task in which a model predicts a plausible future theorem-like claim based on an existing anchor paper. The paper proposes COMPOSE, a dual-graph framework that combines scientific citation context with formal theorem dependencies. The paper also creates a dataset of 108K paired scientific-formal graph samples from arXiv and Mathlib, and establish a evaluation benchmark of 47K future papers from 2024-2025.
Pros:
- The paper has a well-motivated setup about combination of scientific and formal structure
- The paper builds a large-scale resource connecting scientific papers, extracted theorem structures, Mathlib alignments, and future targets
Cons:
- The paper lacks evaluation of mathematical correctness
- The formal graph may sometimes encode only broad topical similarity
- The retrieval evaluation might be biased
- There is no evidence of downstream usefulness
The rebuttal has addressed most of the concerns. The authors are encouraged to integrate important materials in the rebuttal to the camera ready version.
Read meta-review
Meta-review
The paper introduces grounded future mathematical generation, a task in which a model predicts a plausible future theorem-like claim based on an existing anchor paper. The paper proposes COMPOSE, a dual-graph framework that combines scientific citation context with formal theorem dependencies. The paper also creates a dataset of 108K paired scientific-formal graph samples from arXiv and Mathlib, and establish a evaluation benchmark of 47K future papers from 2024-2025.
Pros:
- The paper has a well-motivated setup about combination of scientific and formal structure
- The paper builds a large-scale resource connecting scientific papers, extracted theorem structures, Mathlib alignments, and future targets
Cons:
- The paper lacks evaluation of mathematical correctness
- The formal graph may sometimes encode only broad topical similarity
- The retrieval evaluation might be biased
- There is no evidence of downstream usefulness
The authors are encouraged to address the concerns raised by the reviewers during the rebuttal.
Final justification
The paper introduces grounded future mathematical generation, a task in which a model predicts a plausible future theorem-like claim based on an existing anchor paper. The paper proposes COMPOSE, a dual-graph framework that combines scientific citation context with formal theorem dependencies. The paper also creates a dataset of 108K paired scientific-formal graph samples from arXiv and Mathlib, and establish a evaluation benchmark of 47K future papers from 2024-2025.
Pros:
- The paper has a well-motivated setup about combination of scientific and formal structure
- The paper builds a large-scale resource connecting scientific papers, extracted theorem structures, Mathlib alignments, and future targets
Cons:
- The paper lacks evaluation of mathematical correctness
- The formal graph may sometimes encode only broad topical similarity
- The retrieval evaluation might be biased
- There is no evidence of downstream usefulness
The rebuttal has addressed most of the concerns. The authors are encouraged to integrate important materials in the rebuttal to the camera ready version.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The researchers explore the notion of "grounded future mathematical generation," i.e., prediction of a theorem a scientist is likely to prove next, given an anchor paper. To this end, the authors introduce COMPOSE that extracts contextual information from two sources: scientific graph (neighboring papers, their abstracts, and extracted theorem statements) and the formal dependency graph (theorems in Mathlib with extracted results found using FrenzyMath retrieval system). Two independent Graph Neural Network (GNN) encoders process both graphs, while cross-attention unifies the two streams into one, which in turn guides LoRA-tuned math language model decoder (DeepSeekMath 7B or Mistral 7B). The training takes place in two stages: at first, the graph encoders learn structural and cross-domain alignment losses, after which the entire system is trained for generation using autoregressive loss and a margin loss to prevent the decoder from disregarding graph information. The team creates 108K training examples from the combination of arXiv and Mathlib papers and 47K future (late 2024 - early 2025) papers for evaluation.
Strengths and weaknesses
Strengths
-
Problem Setup: The combination of citation-level research directions and formal dependencies in the style of Mathlib seems to be a novel one. It is obvious why it is necessary – informal papers reveal the direction in which the area is moving, and formal libraries show what can be proven from the existing foundations.
-
Well-designed data pipeline: The design of the dataset itself is one of the best elements of this paper. I liked the approach to relevance of citations (not just collecting all of them), the comparison of the alignment approaches presented in Table 7 (informal-to-informal retrieval clearly outperforms the autoformalization approach), and the example from Appendix A.6 explaining everything.
-
Notational Clarity: The notation is consistent, the architecture diagram (Figure 1) conveys the entire pipeline at a glance, and the appendix gives sufficient details about the design. The paper flows nicely.
-
Component-level Ablations: Table 4 does a fairly good job in highlighting the contributions of both the scientific and formal encoders and the importance of the fusion module and the first-stage pretraining. This justifies the architectural choices made.
-
Decoder Backbones: Evaluation on both DeepSeek-Math and Mistral is very good practice, which will help eliminate backbone-specific artifacts (although the improvement on Mistral is noticeably smaller, see W7)
Weaknesses
MAJOR1 - The retreival evaluator is not neutral: This is the most pressing issue for me. The authors fine-tune their DeepSeek-Math embedding model using a contrastive learning approach on the evaluation dataset of 47K itself, which encourages aggregation of papers having the same citation context. However, COMPOSE too is tuned to generate outputs consistent with the citation context. Thus, the whole metric is incentivizing the model for producing the very structural information that it was already tuned for. The problem becomes apparent from Table 13, where with pre-trained embeddings, all models perform more or less in the same manner.
MAJOR2 - Single-run results, no variance : It is all reported for one run. Where two methods differ in Gap = 0.03 (e.g., COMPOSE-Mistral vs. Bag-of-Papers-Mistral), this is trivially small compared to variation in different seeds for such models. Without error bars or at least 3 seeds, I have no confidence that the difference is a real effect and not noise.
MAJOR3 - Very noisy formal alignment: For tau=0.84, there are matches for 16.9% of theorems, out of which 66.1% are considered to be correct. This translates into roughly one correct Mathlib theorem per 9 extracted theorems. This way, the formal graph encoder sees predominantly noise. It would be interesting to know whether the performance increases when well-matched samples are used or, on the contrary, whether the majority of noisy samples makes the performance worse. This question is not even touched upon in the paper.
MAJOR4 - No evidence of downstream usefulness: Retrieval-to-future-paper is an interesting proxy, but but no one has ever queried a mathematician on whether these generated claims have any significance, interest, or even sense. Quite a few output papers from the appendix F seem to be related in theme but not very clear in mathematical sense (Example 3 generates MCMC convergence bound claim for correlation mining target).
MAJOR5 - Possible training-data leakage in the decoder: Through a number of qualitative examples, the Text-only (LoRA) model recaptures the truth future-paper text almost verbatim (Examples 2, 4, 6). It is highly probable that DeepSeek-Math 7B learned these papers from 2024-2025 during pre-training. In such a case, there is contamination in the baseline comparison – and the improvements from graph conditioning could be due to decontamination in part. The authors fail to acknowledge this point.
MINOR6 - No Reproducability Neither code nor data has been released. There are a lot of pieces to the pipeline (subgraph creation, alignment search, two GNN encoder models, fusion, two-stage training, custom fine-tuning of the evaluator), and I would find it hard to believe anyone could replicate the results without running code.
MINOR7 - Mistral results are weaker and inconsistent: In the case of Mistral 7B, the Prompt-only baseline is outperforming COMPOSE in terms of NMCP Precision (0.575 > 0.554) and Match (0.653 > 0.671). There is no explanation provided by the authors.
MINOR8 - Strange ablation results: While removing the fusion module but retaining both graphs (Gap=0.090) performs worse than when only the scientific graph is retained (Gap=0.164), it seems that directly combining the two graphs causes an adverse effect. This is particularly fascinating since it means the features from the formal graph interfere even when they are not adequately attended to.
Questions
Q1 (would boost my grade). Can you present results for at least one standard embedding model (not fine-tuned on the evaluation pool) where COMPOSE outperforms all baselines by a significant margin? Alternatively, can you demonstrate that the rankings of the fine-tuned evaluator coincide with those of human experts on a subset of examples? If the superiority persists using the unbiased evaluator, it solves my main issue.
Q2. If you use the test set and select only examples with a formal graph containing at least 3 properly matched Mathlib theorems, does the advantage of COMPOSE become larger? It will be interesting to see whether the formal graph proves to be beneficial when it is clean or whether the scientific part contributes more to performance.
Q3. The Text-only baseline takes the text from the future paper verbatim in some examples. Did you check if DS-Math was trained on 2024-2025 arXiv papers? If yes, then the text-only baseline uses a part of the target information, which will change our understanding of the gap.
Q4. Why is the no fusion model (with both encoders but without cross attention) worse than the scientific graph only model? It is rather paradoxical that extra information would make a model worse. However, if those representations contradict each other, it may make sense.
Q5. Is there any plan for a small expert study? 20-30 outputs evaluated by an expert in mathematics for reasonableness and usefulness would be great!
Limitations
Yes
Final justification
The reviewers have adequately addressed my concerns and I have changed my score to reflect it.
Formatting concerns
None
2 comments
Rebuttal
We thank the reviewer for the detailed analysis. We respond to each major and minor concern separately.
MAJOR1 / Q1: Is the retrieval evaluator biased toward COMPOSE?
We address this concern through three complementary checks: five frozen external evaluators, a blinded human study with evaluator–human agreement, and a clarification about evaluator training.
We evaluate H@10 under five frozen external evaluators from Table 13. COMPOSE leads under Mathstral, Llemma, and Prover, while GoAI leads under E5-Mistral and FutureGen under Kimina.
| Evaluator | COMPOSE | GIANTS | FutureGen | GoAI | Bag-of-Papers | Text-only |
|---|---|---|---|---|---|---|
| Mathstral | 0.080 | 0.072 | 0.055 | 0.044 | 0.032 | 0.034 |
| Llemma | 0.060 | 0.052 | 0.037 | 0.048 | 0.032 | 0.021 |
| E5-Mistral | 0.025 | 0.022 | 0.028 | 0.047 | 0.021 | 0.015 |
| Prover | 0.231 | 0.114 | 0.121 | 0.185 | 0.080 | 0.052 |
| Kimina | 0.033 | 0.024 | 0.078 | 0.073 | 0.052 | 0.042 |
COMPOSE beats all baselines under three frozen evaluators, with paired 95% CIs: Mathstral, H@10 over GIANTS; Llemma, over GIANTS; and Prover, over GoAI. None was fine-tuned on our corpus. This directly answers Q1. COMPOSE also leads all baselines and ablations on H@100 under these three evaluators.
In a blinded study, 30 mathematics graduate students rated each system's outputs for 25 anchors on relevance, perceived correctness, novelty, specificity, and research value using a 1–5 scale. Best overall is the number of wins across the 25 cases.
| System | Rel. | Correct. | Novel. | Spec. | Research | Mean | Best overall |
|---|---|---|---|---|---|---|---|
| GIANTS | 3.29 | 6 | |||||
| Scientific-only | 2.68 | 2 | |||||
| GoAI | 2.95 | 1 | |||||
| Text-only | 2.60 | 5 | |||||
| COMPOSE | 4.07 | 11 |
COMPOSE leads on four criteria and overall and has the most best-overall cases (11/25). On these same 25 cases, the fine-tuned evaluator and aggregated human scores select the same best system in 15 cases (60%; Cohen's ), indicating agreement beyond chance. COMPOSE performs best overall, and the evaluator shows meaningful agreement with human judgments.
We clarify the evaluator-training split. All 14K future targets for the 2K test anchors and all test relevance relations were excluded from evaluator training. The remaining subset produced 50,000 contrastive pairs. The full 47K corpus was used only as the post-training retrieval pool.
| Training-set check | Count |
|---|---|
| Future targets in training groups | 0 |
| Future targets in training pairs | 0 |
| Training groups rooted at test anchors | 0 |
| Test relevance relations used in training | 0 |
Thus, no future target, test relevance relation, or citation group rooted at a test anchor was used to train the evaluator. Together with COMPOSE's gains under three independent frozen evaluators and its agreement with human judgments, these results show that the reported advantage is not specific to the task-calibrated evaluator.
MAJOR3 / Q2: Formal alignment is sparse and noisy
To test whether COMPOSE benefits from a clean formal graph or is hurt by noisy matches, we performed two analyses. First, we compared COMPOSE with Scientific-only across increasing numbers of reliable Mathlib matches. Second, we evaluated manually verified, related, weak, and incorrect formal graphs.
In the default pipeline, only matches with similarity are retained as formal roots; all lower-similarity matches are discarded. For this diagnostic, we use a stricter threshold of similarity . We evaluated three separate 400-anchor subsets.
Weak-only contains only weak matches (), 1–2 contains exactly one or two matches above the stricter threshold per anchor, and contains at least three.
| Formal-match coverage | COMPOSE H@10 | Scientific-only H@10 | H@10 | COMPOSE H@100 | Scientific-only H@100 | H@100 |
|---|---|---|---|---|---|---|
| Weak-only formal matches | 0.252 | 0.300 | 0.509 | 0.512 | ||
| 1–2 matches () | 0.486 | 0.340 | 0.728 | 0.500 | ||
| matches () | 0.601 | 0.390 | 0.848 | 0.520 |
Paired-bootstrap 95% CIs are: Weak-only, H@10 and H@100 ; 1–2, H@10 and H@100 ; and , H@10 and H@100 .
These results show that COMPOSE benefits from reliable formal matches, with gains increasing as match coverage grows, while weak matches provide no improvement over Scientific-only.
For the second analysis, Exact contains 20 examples whose aligned formal nodes were manually confirmed to match their informal theorems. Related, Weak, and Incorrect contain 200 examples each. Related uses a similarity threshold of together with explicit mathematical word overlap. Weak contains matches with similarity but . Incorrect is a control constructed from formal material in another mathematical topic.
| Condition | COMPOSE H@10 | Scientific-only H@10 | H@10 | H@100 | |
|---|---|---|---|---|---|
| Manually verified Exact | 20 | 0.667 | 0.300 | ||
| Similarity Related | 200 | 0.468 | 0.305 | ||
| Low-similarity Weak | 200 | 0.255 | 0.261 | ||
| Off-topic Incorrect control | 200 | 0.175 | 0.312 |
For the manually verified Exact subset, the paired H@10 gain is , with a 95% CI of . H@ is averaged over three generations per anchor.
The gain is largest for Exact, smaller for Related, absent for Weak at H@10, and negative for Incorrect. Together, these analyses show that COMPOSE's gains depend on both formal-match coverage and alignment quality: performance improves with more reliable, correctly aligned Mathlib matches, while weak or off-topic matches provide no benefit and may reduce performance.
MAJOR2: Training-seed variance
For each decoder backbone, we independently trained COMPOSE and Bag-of-Papers with three random seeds while keeping the data split and hyperparameters fixed. We report the mean and standard deviation across the three trained models.
| Decoder | Model | Gap SD | H@10 SD | H@100 SD |
|---|---|---|---|---|
| Mistral | Bag-of-Papers | |||
| Mistral | COMPOSE | |||
| DeepSeek | Bag-of-Papers | |||
| DeepSeek | COMPOSE |
For the Mistral comparison highlighted by the reviewer, the paired test-set differences are:
Across three seeds, COMPOSE consistently outperforms Bag-of-Papers, and all Mistral 95% CIs exclude zero.
MAJOR4 / Q5: Evidence of usefulness to mathematicians
As shown in Q1, we conducted a blinded human study on 25 anchor papers with mathematics graduate students. COMPOSE leads on four of five criteria, overall score, and best-overall cases (11/25). This directly addresses Q5 and provides evidence of perceived usefulness: the mathematics raters judged COMPOSE outputs more relevant, correct, and specific as future research directions.
MAJOR5 / Q3: Temporal-contamination check
DeepSeek-Math was released in February 2024. Because 91.1% of our benchmark targets first appeared on arXiv later, direct pretraining exposure is unlikely for most of the benchmark. Across all test examples, no method has a verbatim 13-gram match with the real future target (0.0%).
In Examples 2, 4, and 6, the lexical resemblance comes from the supplied anchor context: Text-only has 29.4% 13-gram overlap with that context and COMPOSE has 5.6%, but both have zero verbatim overlap with the future target. Thus, this is context preservation rather than target reproduction. Exact matching cannot rule out paraphrased memorization for the remaining 8.9%, which we retain as a limitation.
MINOR6
Upon acceptance, we will release all permissible graph-construction and alignment code, adapters and checkpoints, evaluation code, split files, and deterministic reconstruction scripts.
MINOR7
The review reverses the Match values: COMPOSE scores 0.671 versus 0.653 for Prompt-only. COMPOSE leads on Math (0.054 vs. 0.044), while Prompt-only leads on NMCP Precision (0.575 vs. 0.554). We will describe this metric trade-off rather than claim dominance on every Mistral metric.
MINOR8 / Q4: Why is no-fusion worse than scientific-only?
Without cross-attention, the scientific and formal representations cannot be selectively aligned, so the formal stream can distract and cause negative transfer. This is an interpretation of the ablation, not a proven mechanism.
I appreciate all the work done by the authors on this, and in view of this, have decided to increase my score.
- Rating
- 4/6
- Confidence
- 1/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
To both follow the research trajectory of previous works and respect the logical dependencies that constrain the validity of the claim, the authors present grounded future mathematical generation using a scientific citation graph and a formal theorem dependency graph. They introduce COMPOSE, a dual-graph framework that combines scientific citation context with formal theorem dependencies. They create a dataset of 108K paired scientific-formal graph samples from arXiv and Mathlib, and establish a evaluation benchmark of 47K future papers from 2024-2025.
Strengths and weaknesses
-
Strengths
- The authors propose two-stage training for (i) capturing both within-graph structure and alignment between the scientific and formal domains, and (ii) full fine-tuning with an autoregressive generation loss and a graph margin loss that prevents the decoder from ignoring the graph context.
- COMPOSE is superior to existing baselines on diverse metrics.
-
Weaknesses
- The authors use 7B-sized models only. It would be beneficial if the authors explore various-sized models.
Questions
Please see the section above.
Limitations
Yes
Final justification
As my concern is addressed, I keep my original score as positive.
Formatting concerns
NA
1 comment
Rebuttal
We thank the reviewer for recognizing the dual-graph training design and the performance across the reported metrics.
Weakness/question: Only 7B decoders are evaluated.
We agree and added experiments with Qwen2-0.5B and Llama-3.2-3B-Instruct under the same evaluation protocol:
COMPOSE Qwen2-0.5B improves over its matched Scientific-only baseline by H@10 and H@100 . COMPOSE Llama-3.2-3B improves over its matched Scientific-only baseline by H@10 and H@100. Together with the DeepSeek-Math and Mistral 7B results, these experiments show that the benefit is present at 0.5B, 3B, and 7B scales and is not restricted to a single decoder family. We will add both smaller-decoder experiments to the revised paper.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces grounded future mathematical generation, a task in which a model predicts a plausible future theorem-like claim based on an existing anchor paper. The key premise is that a useful mathematical prediction should satisfy two complementary requirements:
It should follow a scientifically plausible direction suggested by prior literature. It should be compatible with the formal dependency structure of existing mathematics.
To address this, the paper proposes COMPOSE, which constructs and jointly encodes:
A scientific graph containing the anchor paper, selected cited papers, extracted theorem statements, citation edges, and approximate proof-flow edges. A formal graph containing Mathlib theorems aligned with the informal theorem statements and their Lean dependency neighborhoods.
The scientific and formal graphs are processed by separate GNNs, projected into a shared space, and fused using bidirectional cross-attention. Their representations are then injected into a math-specialized 7B language model through additional decoder cross-attention layers.
Training has two stages. The first trains the graph encoders and fusion components using link prediction, target-level contrastive alignment, and informal-to-formal node alignment. The second jointly trains graph-conditioned generation with autoregressive loss and a margin loss intended to prevent the decoder from ignoring its graph input.
The dataset is constructed from approximately 520K mathematical papers published between 2000 and 2023. After extracting scientific graphs and aligning informal theorems to Mathlib, the resulting training resource contains approximately 108K samples. Evaluation uses a temporally held-out pool of 47K papers from late 2024 and 2025, with 2K eligible anchor-paper examples.
The principal evaluation asks whether a generated claim retrieves actual future papers that cite the anchor paper. COMPOSE achieves a Gap of 0.240, H@10 of 0.508, and H@100 of 0.808 with the DeepSeek-Math decoder, exceeding the reported baselines. Ablations indicate that removing the formal graph, scientific graph, graph fusion, or first-stage pretraining substantially reduces retrieval performance. The paper also reports higher LLM-judge scores for mathematical content, depth, precision, and specificity.
Strengths and weaknesses
Strength:
-
The paper has a well-motivated setup about combination of scientific and formal structure. Citation graphs and formal theorem-dependency graphs encode meaningfully different kinds of information: one captures which research directions are scientifically motivated, while the other provides structural mathematical context. Combining these sources is a natural but nontrivial extension beyond both future-work generation and conventional theorem-proving systems. The paper also makes a good conceptual distinction between predicting something that is merely topically plausible and predicting something connected to concrete mathematical structure. This is a meaningful formulation rather than simply applying a GNN to another text-generation problem.
-
The paper builds a large-scale resource connecting scientific papers, extracted theorem structures, Mathlib alignments, and future targets. The pipeline includes citation-context selection, theorem extraction, proof-flow approximation, informal-to-Mathlib alignment, and Mathlib dependency expansion. The final data contains several target types, including claims, abstracts, proof-flow targets, lemmas, Lean statements, and combined informal-formal targets.
-
The paper evaluates two decoder families, several internal variants, multiple external scientific-generation systems, future-paper retrieval, theorem-alignment metrics, conventional text metrics, and an LLM judge. The ablation results are particularly informative: the full model substantially exceeds the formal-only and scientific-only versions, supporting the claim that the two graph sources provide complementary information.
Weakness:
-
Lack of evaluation of mathematical correctness. Generated claims are not checked by Lean or expert mathematicians. Retrieval similarity and LLM scores cannot establish whether a theorem is true, provable, or even internally consistent.
-
At the selected threshold, only 16.9% of extracted theorems receive high-confidence matches, and the reported precision is 66.1%. The formal graph may therefore sometimes encode only broad topical similarity.
-
The retrieval evaluation might be biased. The main evaluator is fine-tuned on the same future-paper pool using shared citation context, which resembles the target task and may particularly favor COMPOSE. Under several frozen embedding models, COMPOSE is not consistently best.
Questions
-
Can the authors add proof-assistant verification or blinded evaluation by expert mathematicians to measure truth, consistency, and novelty?
-
How does performance vary across exact, related, weak, and incorrect Mathlib alignments? What happens when the formal graph is replaced with a same-domain random graph?
-
Are the evaluator-training citation groups fully disjoint from the 2K test examples and their future target papers? Can results be confirmed with independent evaluators or human ranking?
Limitations
yes
Final justification
The author addressed my concerns and I will remain the positive rating. Their extra experiments demonstrates effectiveness so I decide to raise my confidence.
Formatting concerns
N/A
2 comments
Rebuttal
We thank the reviewer for the careful assessment and for recognizing the motivation, dataset contribution, and complementary value of the two graphs.
Q1: Can mathematical correctness be evaluated with Lean or experts?
We agree that retrieval metrics and LLM-judge scores do not establish whether a generated mathematical claim is true or provable. Automated theorem proving is not the focus of this work: Our task is to generate plausible future claims by combining informal scientific context with formal mathematical knowledge.
To address this question, we added two complementary evaluations: a Lean/Mathlib statement-elaboration diagnostic on 50 outputs per method that contained an identifiable Lean theorem statement, and a blinded human study with 30 graduate students in mathematics on 25 generated-claim cases.
For the Lean diagnostic, we selected 50 outputs per method that contained a
Lean theorem statement. We kept only the theorem statement from each output
and removed all surrounding prose. We used by sorry only as a placeholder
for the proof body and checked whether each theorem statement elaborated
successfully in Lean.
| Method | Lean statement elaboration |
|---|---|
| COMPOSE | 32/50 |
| GIANTS | 22/50 |
| Prompt-only | 24/50 |
| GoAI | 13/50 |
COMPOSE achieves the highest statement-elaboration rate, with 32 of 50 outputs represented as well-formed and type-correct Lean theorem statements. For every elaborating statement, we also attempted to construct a complete Lean proof; however, no proof was found and verified for any method under our proof-search procedure and computational budget. This diagnostic therefore supports formal expressibility.
We also conducted a blinded human study in which 30 math graduate students evaluated each system's generated output for 25 anchor papers. Using a 1--5 scale, they rated each output for relevance to the anchor paper, perceived mathematical correctness, novelty, specificity, and research value. Scores are means with standard deviations across raters, best overall is the number of wins across the 25 case :
| System | Rel. | Correct. | Novel. | Spec. | Research | Mean | Best overall |
|---|---|---|---|---|---|---|---|
| GIANTS | 3.42 ± 0.18 | 3.51 ± 0.16 | 3.10 ± 0.19 | 3.26 ± 0.18 | 3.18 ± 0.18 | 3.29 | 6 |
| Scientific-only | 2.65 ± 0.17 | 3.60 ± 0.15 | 1.31 ± 0.17 | 2.44 ± 0.17 | 3.39 ± 0.17 | 2.68 | 2 |
| GoAI | 1.79 ± 0.16 | 3.72 ± 0.16 | 3.50 ± 0.16 | 2.62 ± 0.16 | 3.10 ± 0.17 | 2.95 | 1 |
| Text-only | 3.58 ± 0.15 | 1.81 ± 0.15 | 1.62 ± 0.15 | 1.74 ± 0.15 | 4.25 ± 0.14 | 2.60 | 5 |
| COMPOSE | 3.90 ± 0.13 | 4.08 ± 0.14 | 4.19 ± 0.14 | 4.10 ± 0.12 | 4.10 ± 0.15 | 4.07 | 11 |
COMPOSE leads on four criteria and overall, and has the most best-overall cases (11/25), while Text-only leads on research value. COMPOSE also leads in both Lean elaboration (32/50) and human-rated correctness (4.08 ± 0.14). These results indicate that COMPOSE generates claims that are more formally expressible and judged more mathematically correct.
Q2: Does performance depend on alignment quality, and what happens with a same-domain random formal graph?
We agree that the key question is not only whether a formal graph is present, but whether it is correctly aligned. We therefore added two complementary diagnostics: (i) controlled comparisons against size-matched random and edge-shuffled formal graphs, and (ii) an analysis across Exact, Related, Weak, and Incorrect alignment-quality conditions.
(i) Random and edge-shuffled formal-graph controls
In the default pipeline, matches with similarity are retained as formal roots. We evaluated 400 test anchors using their standard aligned formal graphs. The random-graph control replaces each aligned graph with a same-domain random Mathlib graph of the same size, while the edge-shuffled control keeps the same nodes and number of edges but randomly rewires the graph.
| Formal input | H@10 | H@100 |
|---|---|---|
| Aligned graph | 0.455 | 0.660 |
| Same-domain random graph | 0.200 | 0.440 |
| Edge-shuffled aligned graph | 0.250 | 0.582 |
The aligned graph improves H@10 over the edge-shuffled graph by (95% CI ) and over the same-domain random graph by (95% CI ).
These results show that both correct formal alignment and graph structure are necessary for the observed gains.
(ii) Alignment-quality conditions
We also evaluated four formal-graph conditions. Exact contains 20 test examples with correctly aligned formal graphs . For each Exact example, every aligned formal node was manually confirmed to match its corresponding informal theorem. Related, Weak, and Incorrect contain 200 examples each.
Related uses a similarity threshold of together with explicit mathematical word overlap. Weak contains matches with similarity but . Incorrect is a control constructed from formal material in another mathematical topic.
| Quality | COMPOSE H@10 | Scientific-only H@10 | ΔH@10 | ΔH@100 | |
|---|---|---|---|---|---|
| Exact | 20 | 0.667 | 0.300 | +0.367 | +0.500 |
| Related | 200 | 0.468 | 0.305 | +0.163 | +0.309 |
| Weak | 200 | 0.255 | 0.261 | −0.006 | −0.250 |
| Incorrect | 200 | 0.175 | 0.312 | −0.137 | −0.274 |
For the manually verified Exact subset, the paired H@10 gain is H@10 , with a 95% confidence interval of . H@k is averaged over three generations per anchor.
COMPOSE has the largest H@10 and H@100 gains on manually verified Exact subgraphs. The H@10 gain decreases for Related, becomes negligible for Weak, and is negative for Incorrect; Weak and Incorrect also reduce H@100. This is the expected control behavior: precise formal alignment helps, whereas weak or off-topic formal information does not provide an advantage.
These diagnostic show a clear dependence on alignment quality: COMPOSE gains are largest for Exact matches, decrease for Related matches, disappear for Weak matches, and become negative for off-topic formal input.
Q3: Are evaluator training and test citation groups disjoint, and do independent evaluators confirm the result?
We clarify the evaluator-training split. Although the 47K corpus was the source, all 14,677 future targets for the 2,033 test anchors and all test relevance relations were excluded from evaluator-training groups and pairs. The remaining subset produced 50,000 contrastive pairs. After training, the full 47K corpus, including the held-out targets, was used as the retrieval candidate pool.
| Training-set check | Count |
|---|---|
| Future targets in training groups | 0 |
| Future targets in training pairs | 0 |
| Training groups rooted at test anchors | 0 |
| Test relevance relations used in training | 0 |
Thus, no future target, test relevance relation, or group rooted at a test anchor was used as evaluator-training supervision. We will clarify this construction in the paper.
We also evaluated all systems with frozen off-the-shelf embedders that were not fine-tuned on our corpus. COMPOSE significantly outperforms all baselines and ablations under three such evaluators, with paired 95% CIs: Mathstral, H@10 ; Llemma, ; and Prover, . Together, the disjoint training split and consistent gains under independent frozen evaluators show that COMPOSE’s advantage extends beyond the task-calibrated evaluator.
I appreciate the additional experiments from the authors. I would like to remain the positive rating, but increase the confidence.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces a dual-graph framework for generating plausible future mathematical claims conditioned on both a scientific citation graph and a formal theorem dependency graph from Lean's Mathlib. They use these for guiding on what directions are worth pursuing and what can logically follow respectively.
The authors also construct a dataset of 108K paired scientific-formal graphs from arXiv and Mathlib, with a temporally held-out benchmark of 47K future papers from 2024-2025.
COMPOSE uses dual GNN encoders, cross-attention fusion, and a LoRA-adapted math-specialized LLM decoder.
Strengths and weaknesses
- [ strength] The dual-graph idea is well-motivated and the paper clearly shows via ablations that both graphs contribute. This work addresses the central challenge of bridging the gap between what is scientifically interesting and what is formally valid. Thorough evaluation is done using multiple metrics (retrieval, NMCP, LLM judge), ablations, 7 embedding model analysis, qualitative examples.
- [strength] Large dataset contribution is great. 108K paired samples with careful curation.
- [strength] Combining scientific citation context with formal theorem dependencies for future mathematical generation is novel. However, each piece individually has been researched in prior works, combining them is novel.
- [weakness] The paper's central pitch is that formal theorem structure "grounds" the generated claims. But generated claims are informal text, never checked by Lean. There's no evidence the outputs are logically valid, just that they're topically closer to real future papers. The paper acknowledges it in limitations, which is honest, but if we can't verify the claims, how do we know the formal graph is providing logical grounding rather than just topical signal?
Questions
-
Is there any study done when the formal graph is empty or very sparse (i.e., no high-confidence Mathlib matches)?
-
Have you considered evaluating generated claims with a proof assistant (even partially)? For example, checking whether generated Lean-style statements type-check in Mathlib.
Limitations
- Generated claims are not formally verified
- Evaluation may favor citation-aware methods due to fine-tuned retrieval evaluator design
- Licenses for existing assets (S2ORC, Mathlib, FrenzyMath) not explicitly stated, could we double check here?
Final justification
I am raising my score to 5 as authors have addressed my concerns. I encourage integrating the stratified analysis and Lean diagnostic into the revised paper.
Formatting concerns
None
1 comment
Rebuttal
We thank the reviewer for recognizing the novelty of the dual-graph setting, the dataset contribution, and the evidence that both graph components help.
Question 1: What happens when the formal graph is empty or sparse?
When the formal graph is empty, COMPOSE reduces exactly to the Scientific-only setting and receives only the scientific graph (H@10 = 0.390, H@100 = 0.695; Table 4).
For sparse formal graphs, we grouped test examples by the number of reliable Mathlib matches they contained and compared COMPOSE with Scientific-only on the same examples.
The default pipeline retains formal roots with similarity ≥ 0.84. For this diagnostic, we use a stricter threshold of similarity ≥ 0.9. We evaluated three separate 400-anchor subsets: Weak-only contains only deliberately relaxed matches (0.60 ≤ sim < 0.8), 1–2 contains exactly one or two matches above the stricter threshold per anchor, and ≥3 contains at least three.
| Formal-match coverage | COMPOSE H@10 | Scientific-only H@10 | ΔH@10 | COMPOSE H@100 | Scientific-only H@100 | ΔH@100 |
|---|---|---|---|---|---|---|
| Weak-only formal matches | 0.252 | 0.300 | −0.048 | 0.509 | 0.512 | −0.003 |
| 1–2 matches (≥0.9) | 0.486 | 0.340 | +0.146 | 0.728 | 0.500 | +0.228 |
| ≥3 matches (≥0.9) | 0.601 | 0.390 | +0.211 | 0.848 | 0.520 | +0.328 |
Paired-bootstrap 95% CIs are: Weak-only, ΔH@10 [−0.110, +0.054] and ΔH@100 [−0.090, +0.073]; 1–2, ΔH@10 [+0.1125, +0.170] and ΔH@100 [+0.198, +0.298]; ≥3, ΔH@10 [+0.145, +0.244] and ΔH@100 [+0.226, +0.370].
These results show that the benefit of the formal graph increases with the number of reliable Mathlib matches, whereas weak matches introduce noise and can reduce performance. Please also see our response to pMDS Q2 for additional evaluations of formal-graph quality and alignment.
Question 2: Can the outputs be checked with a proof assistant or experts?
We agree that retrieval metrics and LLM-judge scores do not establish whether a generated mathematical claim is true or provable. Automated theorem proving is not the focus of this work: Our task is to generate plausible future claims by combining informal scientific context with formal mathematical knowledge.
To address this question, we added two complementary evaluations: a Lean/Mathlib statement-elaboration diagnostic on 50 outputs per method containing an identifiable Lean theorem statement, and a blinded human study with 30 graduate students in mathematics on 25 generated-claim cases.
For the Lean diagnostic, we selected 50 outputs per method that contained a
Lean theorem statement, we kept only the Lean theorem statement
from each output and removed all surrounding prose. We used
by sorry only as a placeholder for the proof body and checked whether each
theorem statement elaborated successfully in Lean.
| Method | Lean statement elaboration |
|---|---|
| COMPOSE | 32/50 |
| GIANTS | 22/50 |
| Prompt-only | 24/50 |
| GoAI | 13/50 |
COMPOSE achieves the highest statement-elaboration rate, with 32 of 50 outputs represented as well-formed and type-correct Lean theorem statements. For every elaborating statement, we also attempted to construct a complete Lean proof ; however, no proof was found and verified for any method under our proof-search procedure and computational budget. In this partial proof-assistant check, COMPOSE achieves the highest Lean/Mathlib type-checking rate (32/50).
We also conducted a blinded human study in which 30 mathematics graduate students evaluated each system's generated output for 25 anchor papers. Using a 1–5 scale, they rated each output for relevance to the anchor paper, perceived mathematical correctness, novelty, specificity, and research value. Scores are means with standard deviations across raters. Best overall is the number of wins across the 25 cases.
| System | Rel. | Correct. | Novel. | Spec. | Research | Mean | Best overall |
|---|---|---|---|---|---|---|---|
| GIANTS | 3.42 ± 0.18 | 3.51 ± 0.16 | 3.10 ± 0.19 | 3.26 ± 0.18 | 3.18 ± 0.18 | 3.29 | 6 |
| Scientific-only | 2.65 ± 0.17 | 3.60 ± 0.15 | 1.31 ± 0.17 | 2.44 ± 0.17 | 3.39 ± 0.17 | 2.68 | 2 |
| GoAI | 1.79 ± 0.16 | 3.72 ± 0.16 | 3.50 ± 0.16 | 2.62 ± 0.16 | 3.10 ± 0.17 | 2.95 | 1 |
| Text-only | 3.58 ± 0.15 | 1.81 ± 0.15 | 1.62 ± 0.15 | 1.74 ± 0.15 | 4.25 ± 0.14 | 2.60 | 5 |
| COMPOSE | 3.90 ± 0.13 | 4.08 ± 0.14 | 4.19 ± 0.14 | 4.10 ± 0.12 | 4.10 ± 0.15 | 4.07 | 11 |
COMPOSE leads on four criteria and overall, and has the most best-overall cases (11/25), while Text-only leads on research value. COMPOSE also leads in both Lean elaboration (32/50) and human-rated correctness (4.08 ± 0.14). These results indicate that COMPOSE generates claims that are more formally expressible and judged more mathematically correct.
Licenses
We will add a dedicated asset-license statement to the revised paper covering S2ORC, Mathlib, and FrenzyMath, including their licenses and access conditions.
Disjointness of the retrieval evaluator
We clarify the evaluator-training split. Although the 47K corpus was the source, all 14,677 future targets for the 2,033 test anchors and all test relevance relations were excluded from evaluator-training groups and pairs. The remaining subset produced 50,000 contrastive pairs. After training, the full 47K corpus, including the held-out targets, was used as the retrieval candidate pool.
| Training-set check | Count |
|---|---|
| Future targets in training groups | 0 |
| Future targets in training pairs | 0 |
| Training groups rooted at test anchors | 0 |
| Test relevance relations used in training | 0 |
Thus, no future target, test relevance relation, or group rooted at a test anchor was used as evaluator-training supervision. We will clarify this construction in the paper.
We also evaluated all systems with frozen off-the-shelf embedders that were not fine-tuned on our corpus. COMPOSE outperforms all baselines and ablations under three such evaluators, with paired 95% CIs: Mathstral, +0.008 H@10 [+0.004, +0.018]; Llemma, +0.008 [+0.005, +0.014]; and Prover, +0.046 [+0.029, +0.065]. This addresses the concern that the retrieval evaluation favors our method.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to the Metareview
We thank the Area Chair for highlighting these four concerns. We addressed each of them during rebuttal; the full tables, protocols, and confidence intervals appear in our replies to kAYq, pMDS, and Uw89. We summarize the main results here.
Mathematical correctness
We added a Lean/Mathlib check on 50 outputs per method containing an identifiable Lean theorem statement. COMPOSE had the highest statement elaboration rate: 32/50, compared with 24/50 for Prompt-only, 22/50 for GIANTS, and 13/50 for GoAI.
We also ran a blinded study in which 30 mathematics graduate students evaluated outputs for 25 anchor papers. COMPOSE received the highest perceived-correctness score (4.08±0.14) and the highest overall mean (4.07). These checks support formal expressibility and perceived mathematical correctness, but we do not claim formal verification.
Broad topical similarity in the formal graph
We tested whether the gain comes from aligned formal structure rather than Mathlib topic alone. On 400 anchors, the aligned graph reached H@10 =0.455, versus 0.200 for a size-matched same-domain random graph and 0.250 after edge shuffling.
We also separated the alignments by quality. Relative to Scientific-only, the H@10 gain was +0.367 for manually verified Exact alignments, +0.163 for Related, −0.006 for Weak, and −0.137 for Incorrect off-topic alignments. The gain therefore decreases as alignment quality worsens and disappears for weak or incorrect formal input. We also find that the benefit increases with the number of reliable Mathlib matches.
Retrieval-evaluator bias
We clarify the evaluator split. All 14,677 future targets associated with the 2,033 test anchors, all test-relevance relations, and all groups rooted at test anchors were excluded from evaluator training. The full 47K corpus was used only after training as the retrieval candidate pool.
We then evaluated the systems with frozen embedders that were not fine-tuned on our corpus. COMPOSE outperformed all baselines and ablations under Mathstral, Llemma, and Prover.
On the 25 human-study cases, the fine-tuned evaluator and aggregated human scores selected the same best system in 15 cases (60%; Cohen's κ=0.46). These checks show that the result is not specific to the task-calibrated evaluator.
Downstream usefulness
The human study provides an assessment beyond retrieval similarity. COMPOSE ranked first on relevance, perceived correctness, novelty, specificity, and overall mean, and it was selected as the best output in 11/25 cases, more than any baseline.
Its research-value score was also high (4.10±0.15), although Text-only was slightly higher on that individual criterion (4.25±0.14). This provides evidence that mathematics raters view the outputs as useful future research directions.