Skip to content

AruneshDev/Deep-Learning-Approach-to-IMO-Problem-Solving-in-AIMO-Competition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

AI Mathematical Olympiad (AIMO) - Progress Prize 1

AIMO Logo

Team Infinity | Leaderboard Rank: 276 / 1393
Contributors: Arunesh Kumar Lal (aklal@bu.edu) and Sri Harsha Kotamraju (shk8@bu.edu)


🧠 Project Overview

This project was our submission for the Artificial Intelligence Mathematical Olympiad (AIMO) hosted on Kaggle.
The goal was to solve national-level math problems using AI models by interpreting LaTeX-formatted questions across algebra, number theory, geometry, combinatorics, and more.

We developed advanced AI workflows combining:

  • Fine-tuned LLMs (Large Language Models)
  • Self-Consistency Chain of Thought (SC-CoT)
  • Symbolic Code Reasoning and Validation

Our best model could solve 21 problems successfully, achieving rank 276/1393.


🚀 Techniques Implemented

  • Model: MMOS-DeepSeekMath-7B (Transformer-based, 7B parameters)
  • Self-Consistency Sampling: Multiple solutions generated and majority-voted
  • Python Code Reasoning: LLM-generated Python code executed and verified using SymPy
  • Dynamic Prompt Engineering: Automatic LaTeX parsing, contextualized prompt generation
  • Zero-shot and Few-shot Approaches: No fine-tuning, dynamic temperature and top-p control
  • Memory Optimizations: 4-bit quantization, multi-GPU inference
  • Containerized Deployment: Docker-based setup for reproducibility

🏗️ Project Structure

Folder/File Description
notebooks/ Jupyter Notebooks for model runs, prompt engineering, code execution
configs/ Model and environment setup configurations
scripts/ Utilities for LaTeX parsing, dynamic prompt creation, answer validation
assets/AIMO_Submissions.jpg Screenshot of final Kaggle submissions
assets/AIMO.png Project logo/banner
AIMIO Project.pdf Full technical report explaining methods, challenges, and results

📊 Results

Experiment Description Problems Solved Notes
Final Submission Self-consistency + code generation with DeepSeekMath-7B 21 Main final submission
Dual-VLLM Inference Two model instances on separate GPUs 20 Parallel inference speedup
Zero-Shot Self-Consistency Basic self-consistency on zero-shot 19 Baseline

Submissions Screenshot


⚡ Key Challenges & Solutions

Challenge Solution
High GPU memory requirements 4-bit quantization + dynamic memory clearing
Code execution errors Built custom subprocess execution wrapper with error handling
Managing notebook execution time Timeout constraints and dynamic control of self-consistency sampling
Arithmetic hallucinations Validated solutions using symbolic computation libraries like SymPy

📚 References


📬 Contact


"Pushing the limits of AI in mathematical reasoning — one problem at a time."

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors