Skip to main content
QUICK REVIEW

[Paper Review] Structure-Preserving Graph Contrastive Learning for Mathematical Information Retrieval

Chun-Hsi Ku, Hung-Hsuan Chen|arXiv (Cornell University)|Mar 9, 2026
Advanced Graph Neural NetworksComputer Science0 citations
TL;DR

The paper introduces Variable Substitution, a domain-specific graph augmentation for graph contrastive learning in mathematical information retrieval, preserving formula structure and improving retrieval performance over generic augmentations.

ABSTRACT

This paper introduces Variable Substitution as a domain-specific graph augmentation technique for graph contrastive learning (GCL) in the context of searching for mathematical formulas. Standard GCL augmentation techniques often distort the semantic meaning of mathematical formulas, particularly for small and highly structured graphs. Variable Substitution, on the other hand, preserves the core algebraic relationships and formula structure. To demonstrate the effectiveness of our technique, we apply it to a classic GCL-based retrieval model. Experiments show that this straightforward approach significantly improves retrieval performance compared to generic augmentation strategies. We release the code on GitHub.\footnote{https://github.com/lazywulf/formula_ret_aug}.

Motivation & Objective

  • Address the fragility of standard graph augmentations for small, highly structured formula graphs in MIR.
  • Propose a domain-specific augmentation, Variable Substitution, that preserves formula structure while providing representational variance.
  • Demonstrate improvements over baseline and generic augmentations on SLT and OPT graph representations.

Proposed method

  • Convert formulas into two graph structures: Symbol Layout Tree (SLT) and Operator Tree (OPT).
  • Embed graph nodes using fastText with random walks to produce 100-dimensional node embeddings.
  • Apply Variable Substitution to create augmented views by substituting variable and number nodes while preserving topology.
  • Train using graph contrastive learning to align original and augmented views and separate different formulas.
  • Store learned formula embeddings in a database for efficient retrieval.
  • Evaluate online query by embedding the query formula and ranking database formulas via cosine similarity.
Figure 1: The online and offline processing of the entire framework; we focus on Graph Contrastive Learning with Variable Substitution in this paper.
Figure 1: The online and offline processing of the entire framework; we focus on Graph Contrastive Learning with Variable Substitution in this paper.

Experimental results

Research questions

  • RQ1Can Variable Substitution preserve formula integrity better than standard augmentations for MIR?
  • RQ2How does Variable Substitution perform across SLT and OPT representations in MIR retrieval tasks?
  • RQ3Does the method improve retrieval performance against TangentCFT and other augmentation strategies?

Key findings

  • Variable Substitution yields superior bpref scores compared to other augmentations, especially for SLT with a top bpref of 0.59 under full relevance and 0.70 under partial relevance.
  • For OPT, Variable Substitution consistently outperforms alternatives, achieving bpref 0.58 under full relevance and leading under partial relevance with 0.70.
  • Larger batch sizes give marginal gains, and results are stable across repeats (low standard deviations).
  • The approach outperforms the base TangentCFT with various augmentation strategies across both graph representations.
(a) The full relevance setting
(a) The full relevance setting

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.