marsninja/CompilersForAIClass2025

16

28 commits

updated Dec 3, 2025

See the code

README

โšก Compilers and Runtimes for AI: From Prompts to Accelerators

EECS 598 ยท Fall 2025

Cutting Edge and Emerging Technologies from the Programming Interface down to Hardware Acceleration of AI


๐Ÿ“– Course Summary

The science and art of creating efficient AI systems spans the entire computing stackโ€”from high-level language abstractions down to specialized hardware accelerators. This course provides a comprehensive exploration of AI compiler and runtime techniques, covering everything from language-level AI compiler systems (DSPy, SGLang, MTP, Guidance, LMQL) to hardware-level acceleration (GPU kernels, TPU compilation, custom ASICs, and emerging AI chips).

Students will learn how modern AI compilers and runtime systems like PyTorch, JAX, TVM, TensorRT, VLLM, and specialized LLM compilers orchestrate the full pipeline from prompt engineering and program synthesis down to optimized execution on heterogeneous hardware. The course covers the complete spectrum: prompt-level optimizations, graph-level transformations, kernel-level tuning, memory hierarchy optimization, and distributed system coordination.

What Youโ€™ll Do

  • Explore language-level AI compiler techniques (prompt optimization, program synthesis, declarative AI programming) and traditional compiler optimizations (graph-level transformations, kernel tuning, memory management, distributed training)
  • Work hands-on with cutting-edge AI compiler ecosystems (DSPy, SGLang, MTP, Guidance, LMQL, MLIR, TVM, PyTorch, CUDA) and heterogeneous hardware platforms (GPUs, TPUs, custom accelerators, emerging AI chips)
  • Identify and focus on a specific research project within the scope of these technologies, demonstrating novel compiler/runtime optimizations for targeted AI workloads
  • Present a capstone project that delves deep into a particular aspect of AI compilation, from language-level innovations to hardware-level breakthroughs

Projects teams will be on the smaller side (~2โ€“3 students) and will include selecting a focused research direction, designing targeted optimization approaches, building specialized compiler/runtime components, and benchmarking performance improvements.

What Youโ€™ll Learn

  • The comprehensive landscape of AI systems: from language-level AI compiler techniques (DSPy, SGLang, MTP) to hardware-level acceleration (GPU kernels, TPU compilation, custom ASICs)
  • State-of-the-art techniques: prompt-level optimization, program synthesis, graph-level transformation, auto-tuning, quantization, inference acceleration, and emerging AI chip architectures
  • Critical research skills: interpreting papers, evaluating cutting-edge systems, presenting technical ideas, and bridging the gap between high-level AI programming and low-level hardware optimization

Grading is research project-centric. Youโ€™ll showcase your projectโ€™s evolution through presentations, paper reviews, and final demos.


๐Ÿ‘จโ€๐Ÿซ Instruction Team


๐Ÿ—“ Logistics

  • Lecture: TBD
  • Credits: 4
  • Office Hours: On Demand
  • GSI Office Hours: TBA
  • Course Discussion: Piazza (TBD)
  • Canvas: TBD
  • Recorded Lectures: Available on Canvas

๐Ÿ“… Schedule

WeekTopicsDescriptionNotes/Links
Aug 25-27Course Introduction & Overview
Introduction to Compilers for AI
Lecture
Sep 1-3Labor Day (Holiday)
Foundations of AI Compiler Systems
Lecture
Sep 8-10[Open]
DSPy, TVM
Papers and Discussion
Sep 15-17MTP, Relay
GEPA, Ansor
Papers and Discussion
Sep 22-24Pytorch2, TorchBench
TorchTitan, ECLIP
Papers and Discussion
Sep 29 - Oct 1Triton, Geak
OpFusion, MemSafeXLA
Papers and Discussion
Oct 6-8Group Presentations
Group Presentations
Pitches
Oct 13-15Fall Study Break (Holiday)
Papers and Discussion
Oct 20-22MLIR, Glow
[Repo Deconstruct]
Tech Talks
Oct 27-29EffPagedAttn, EffLLMServ
NvidiaAmpere, AMDsDTW
Papers and Discussion
Nov 3-5Sick Day
Group Presentations
Updates
Nov 10-12Group Presentations
TPUs, MTIA
Papers and Discussion
Nov 17-19MLFleet + [Special Guest?]
[Repo Deconstruct]
Papers and Discussion
Nov 24-26Flex Day (Repo Deconstruction Due)
Thanksgiving Recess (Holiday)
Presentations
Dec 1-3Final Project Presentations
Course Wrap-up & Future Directions
Presentations

๐Ÿ“‚ Tentative List of Papers

#Technology CategoryPaper TitleYearLink
1LMQLPrompting Is Programming: A Query Language for Large Language Models2022Paper
2DSPyDSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines2023DSPy
3DSPyOptimizing Instructions and Demonstrations for Multi-Stage Language Model Programs2024Paper
4DSPyGEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning2025GEPA
5SGLangSGLang: Efficient Execution of Structured Language Model Programs2023Paper
6MTPMeaning-Typed Programming: Language Abstraction and Runtime for Model-Integrated Applications2025MTP
7Apache TVMTVM: An Automated End-to-End Optimizing Compiler for Deep Learning2018TVM
8Apache TVMRelay: A High-Level Compiler for Deep Learning2019Relay
9Apache TVMAnsor: Generating High-Performance Tensor Programs for Deep Learning2020Ansor
10PyTorch 2PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode and Graph Compilation for DNNs2024Pytorch2
11PyTorch 2TorchBench: Benchmarking PyTorch with High API Surface Coverage2023TorchBench
12PyTorch 2TorchTitan: One-stop PyTorch native solution for production ready LLM pretraining2024TorchTitan
13PyTorch ROCmECLIP: Energy-efficient and Practical Co-Location of ML Inference Pipelines on GPUs2025ECLIP
14TritonTriton: An Intermediate Language and Compiler for Tiled Neural Network Computations2019Triton
15TritonGeak: Introducing Triton Kernel AI Agent & Evaluation Benchmarks2025Geak
16OpenXLAOperator Fusion in XLA: Analysis and Evaluation2023OpFusion
17OpenXLAMemory Safe Computations with XLA Compiler2022MemSafeXLA
18Google MLIRMLIR: A Compiler Infrastructure for the End of Moore's Law2020MLIR
19Meta GlowGlow: Graph Lowering Compiler Techniques for Neural Networks2018Glow
20vLLMEfficient Memory Management for Large Language Model Serving with PagedAttention2023EffPagedAttn
21vLLMEffective Memory Management for Serving LLM with Heterogeneity2025EffLLMServ
22GPU ISA & ArchitectureDemystifying the Nvidia Ampere Architecture through Microbenchmarking and Instruction-level Analysis2023NvidiaAmpere
23GPU ISA & ArchitectureCambricon: An Instruction Set Architecture for Neural Networks2016Cambricon
24CUDA/ROCmOptimizing sDTW for AMD GPUs2024AMDsDTW
25TPU ISA & ArchitectureTPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings2023TPUs
26TPU ISA & ArchitectureMTIA: First Generation Silicon Targeting Meta's Recommendation Systems2023MTIA
27TPU ISA & ArchitectureMachine Learning Fleet Efficiency: Analyzing and Optimizing Large-Scale Google TPU Systems with ML Productivity Goodput2016MLFleet
28OpenVINOOpenVINO Deep Learning Workbench: Comprehensive Analysis and Tuning of Neural Networks Inference2019Paper
29OpenVINOLeveraging Speculative Sampling and KV-Cache Optimizations Together for Generative AI using OpenVINO2023Paper
30Intel PlaidMLStripe: Tensor Compilation via the Nested Polyhedral Model2019Paper

Need to add some compound AI papers, Graphine, and a few others


๐Ÿ“Š Grading

This is a very 'do based' course, we'll be learning, creating, innovating and sharing. A significant portion of the grade is allocated to the research project. Most (if not all) does very well in this class as long as you stay engaged on the journey. Lets create some amazing stuff! ๐Ÿ˜Š

Research Project: 80%

  • Project Pitch: 10%
  • Project Update: 10%
  • Video Lightning Talk: 15%
  • Final Presentation: 20%
  • Paper Write-Up: 25%

Participation, Impact, and Engagement: 20%

  • Paper Presentations: 10%
  • Repo Deconstructions: 5% (Project Details)
  • Paper Vibe Logs: 5% / #No of Papers

๐ŸŽฏ How We'll Work

This course emphasizes collaborative learning and knowledge sharing. Students will actively participate in presentations that showcase their understanding and discoveries from the course materials.

Grading and Logistics

Grading Basis

  • Grading will be based on each student's GitHub repository for this class. Your repo is the official record of your work and deliverables.

Repository Registration

Paper Vibe Logs

  • Upload your paper vibe logs to your GitHub repository.
  • Vibe logs are due the same day as the paper being presented.
  • Each student submits their own vibe log (no group submissions).
  • Each vibe log should contain about 5โ€“10 questions you asked to GPT about the paper being presented.

"Vibe Learning" Log

A key component of our learning methodology is the "vibe learning" presentation. In these sessions, students will:

  • Walk through AI conversation logs: Present a curated log of their conversations with AI systems where they learned interesting concepts from the course papers
  • Teach back to the class: Use their AI interaction logs as a foundation to explain complex compiler and runtime concepts to their peers
  • Demonstrate understanding: Show how they've internalized and can communicate technical concepts through their AI-assisted learning journey
  • Share insights: Highlight unexpected discoveries, connections, and "aha moments" that emerged from their AI conversations

This approach leverages the power of AI as a learning companion while ensuring students develop deep understanding through the process of teaching others. Students will learn not just from the papers themselves, but from each other's unique learning paths and AI-assisted discoveries.

Student Presentations

Students should sign up for a paper here (in the paper signup tab): https://docs.google.com/spreadsheets/d/1y7yw2zQt6hjsVg0bTg0fLS1cplkk9_-1nd-qYPybwfE/edit?usp=sharing

Presentation Slides

  • Aim for 15โ€“20 slides
  • Cover the paperโ€™s motivation, problem, key ideas/methodology, system/architecture, evaluation/results, limitations/trade-offs, and key takeaways
  • Include relevant figures/diagrams/tables from the paper (or simplified redraws) to clearly tell the story
  • Use a clear narrative: problem โ†’ idea โ†’ how it works โ†’ why itโ€™s better โ†’ evidence โ†’ implications
  • For style and pacing, watch recent paper talks on YouTube from top architecture/systems conferences such as ISCA, MICRO, ASPLOS, and HPCA

๐Ÿ“ Final Paper

Your research project culminates in a conference-style paper that documents your work, findings, and contributions.

Requirements

  • Format: Standard CS conference paper format (e.g., ACM or IEEE style)
  • Length: 5โ€“8 pages (excluding references)
  • Tools: Use Overleaf (recommended for collaboration) or local LaTeX
  • Due Date: December 15th, 2025
  • Submission: Push final PDF to your GitHub repository

Paper Structure

Your paper should include:

  1. Abstract (~150โ€“250 words): Concise summary of problem, approach, and key results
  2. Introduction: Motivation, problem statement, and contributions
  3. Background/Related Work: Context and how your work relates to existing research
  4. Approach/Methodology: Technical details of your solution
  5. Implementation: System architecture, tools used, key design decisions
  6. Evaluation: Experiments, benchmarks, and results with analysis
  7. Discussion: Limitations, lessons learned, future work
  8. Conclusion: Summary of contributions and impact
  9. References: Properly formatted citations

Tips for First-Time Paper Writers

Writing your first research paper can feel daunting. Here are practical tips to help you succeed:

Getting Started

  • Start early: Don't wait until the last week. Good papers require multiple drafts and revisions
  • Read papers in your area: Notice how they structure arguments and present results โ€” mimic what works
  • Write the easy parts first: Start with methodology or implementation sections where you describe what you built

Writing Advice

  • Be precise: Avoid vague language like "very fast" or "much better" โ€” use specific numbers and comparisons
  • One idea per paragraph: Each paragraph should have a clear topic sentence and support one main point
  • Use active voice: "We implemented X" is clearer than "X was implemented"
  • Define terms before using them: Don't assume readers know your acronyms or jargon
  • Figures tell stories: A good diagram can replace paragraphs of text โ€” invest time in clear visuals

Common Mistakes to Avoid

  • Don't oversell: Be honest about limitations; reviewers appreciate intellectual honesty
  • Don't skip related work: Show you understand the landscape and where your work fits
  • Don't bury the lede: State your main contribution clearly in the introduction
  • Don't forget baselines: Always compare against something โ€” a naive approach, prior work, or standard benchmarks
  • Don't submit without proofreading: Typos and grammar errors undermine credibility

The Revision Process

  1. First draft: Get ideas on paper without worrying about perfection
  2. Self-review: Read your paper aloud โ€” awkward phrasing becomes obvious
  3. Peer review: Have teammates or classmates read it and provide feedback
  4. Final polish: Check formatting, fix citations, ensure figures are readable

Useful Resources


๐Ÿ›  Notes


โญ Prepare to build the next generation of compilers and runtimes for AI.

Contributors

marsninja

28 commits

marsninja/CompilersForAIClass2025

16

28 commits

updated Dec 3, 2025

See the code

README

โšก Compilers and Runtimes for AI: From Prompts to Accelerators

EECS 598 ยท Fall 2025

Cutting Edge and Emerging Technologies from the Programming Interface down to Hardware Acceleration of AI


๐Ÿ“– Course Summary

The science and art of creating efficient AI systems spans the entire computing stackโ€”from high-level language abstractions down to specialized hardware accelerators. This course provides a comprehensive exploration of AI compiler and runtime techniques, covering everything from language-level AI compiler systems (DSPy, SGLang, MTP, Guidance, LMQL) to hardware-level acceleration (GPU kernels, TPU compilation, custom ASICs, and emerging AI chips).

Students will learn how modern AI compilers and runtime systems like PyTorch, JAX, TVM, TensorRT, VLLM, and specialized LLM compilers orchestrate the full pipeline from prompt engineering and program synthesis down to optimized execution on heterogeneous hardware. The course covers the complete spectrum: prompt-level optimizations, graph-level transformations, kernel-level tuning, memory hierarchy optimization, and distributed system coordination.

What Youโ€™ll Do

  • Explore language-level AI compiler techniques (prompt optimization, program synthesis, declarative AI programming) and traditional compiler optimizations (graph-level transformations, kernel tuning, memory management, distributed training)
  • Work hands-on with cutting-edge AI compiler ecosystems (DSPy, SGLang, MTP, Guidance, LMQL, MLIR, TVM, PyTorch, CUDA) and heterogeneous hardware platforms (GPUs, TPUs, custom accelerators, emerging AI chips)
  • Identify and focus on a specific research project within the scope of these technologies, demonstrating novel compiler/runtime optimizations for targeted AI workloads
  • Present a capstone project that delves deep into a particular aspect of AI compilation, from language-level innovations to hardware-level breakthroughs

Projects teams will be on the smaller side (~2โ€“3 students) and will include selecting a focused research direction, designing targeted optimization approaches, building specialized compiler/runtime components, and benchmarking performance improvements.

What Youโ€™ll Learn

  • The comprehensive landscape of AI systems: from language-level AI compiler techniques (DSPy, SGLang, MTP) to hardware-level acceleration (GPU kernels, TPU compilation, custom ASICs)
  • State-of-the-art techniques: prompt-level optimization, program synthesis, graph-level transformation, auto-tuning, quantization, inference acceleration, and emerging AI chip architectures
  • Critical research skills: interpreting papers, evaluating cutting-edge systems, presenting technical ideas, and bridging the gap between high-level AI programming and low-level hardware optimization

Grading is research project-centric. Youโ€™ll showcase your projectโ€™s evolution through presentations, paper reviews, and final demos.


๐Ÿ‘จโ€๐Ÿซ Instruction Team


๐Ÿ—“ Logistics

  • Lecture: TBD
  • Credits: 4
  • Office Hours: On Demand
  • GSI Office Hours: TBA
  • Course Discussion: Piazza (TBD)
  • Canvas: TBD
  • Recorded Lectures: Available on Canvas

๐Ÿ“… Schedule

WeekTopicsDescriptionNotes/Links
Aug 25-27Course Introduction & Overview
Introduction to Compilers for AI
Lecture
Sep 1-3Labor Day (Holiday)
Foundations of AI Compiler Systems
Lecture
Sep 8-10[Open]
DSPy, TVM
Papers and Discussion
Sep 15-17MTP, Relay
GEPA, Ansor
Papers and Discussion
Sep 22-24Pytorch2, TorchBench
TorchTitan, ECLIP
Papers and Discussion
Sep 29 - Oct 1Triton, Geak
OpFusion, MemSafeXLA
Papers and Discussion
Oct 6-8Group Presentations
Group Presentations
Pitches
Oct 13-15Fall Study Break (Holiday)
Papers and Discussion
Oct 20-22MLIR, Glow
[Repo Deconstruct]
Tech Talks
Oct 27-29EffPagedAttn, EffLLMServ
NvidiaAmpere, AMDsDTW
Papers and Discussion
Nov 3-5Sick Day
Group Presentations
Updates
Nov 10-12Group Presentations
TPUs, MTIA
Papers and Discussion
Nov 17-19MLFleet + [Special Guest?]
[Repo Deconstruct]
Papers and Discussion
Nov 24-26Flex Day (Repo Deconstruction Due)
Thanksgiving Recess (Holiday)
Presentations
Dec 1-3Final Project Presentations
Course Wrap-up & Future Directions
Presentations

๐Ÿ“‚ Tentative List of Papers

#Technology CategoryPaper TitleYearLink
1LMQLPrompting Is Programming: A Query Language for Large Language Models2022Paper
2DSPyDSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines2023DSPy
3DSPyOptimizing Instructions and Demonstrations for Multi-Stage Language Model Programs2024Paper
4DSPyGEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning2025GEPA
5SGLangSGLang: Efficient Execution of Structured Language Model Programs2023Paper
6MTPMeaning-Typed Programming: Language Abstraction and Runtime for Model-Integrated Applications2025MTP
7Apache TVMTVM: An Automated End-to-End Optimizing Compiler for Deep Learning2018TVM
8Apache TVMRelay: A High-Level Compiler for Deep Learning2019Relay
9Apache TVMAnsor: Generating High-Performance Tensor Programs for Deep Learning2020Ansor
10PyTorch 2PyTorch 2: Faster Machine Learning Through Dynamic Python Bytecode and Graph Compilation for DNNs2024Pytorch2
11PyTorch 2TorchBench: Benchmarking PyTorch with High API Surface Coverage2023TorchBench
12PyTorch 2TorchTitan: One-stop PyTorch native solution for production ready LLM pretraining2024TorchTitan
13PyTorch ROCmECLIP: Energy-efficient and Practical Co-Location of ML Inference Pipelines on GPUs2025ECLIP
14TritonTriton: An Intermediate Language and Compiler for Tiled Neural Network Computations2019Triton
15TritonGeak: Introducing Triton Kernel AI Agent & Evaluation Benchmarks2025Geak
16OpenXLAOperator Fusion in XLA: Analysis and Evaluation2023OpFusion
17OpenXLAMemory Safe Computations with XLA Compiler2022MemSafeXLA
18Google MLIRMLIR: A Compiler Infrastructure for the End of Moore's Law2020MLIR
19Meta GlowGlow: Graph Lowering Compiler Techniques for Neural Networks2018Glow
20vLLMEfficient Memory Management for Large Language Model Serving with PagedAttention2023EffPagedAttn
21vLLMEffective Memory Management for Serving LLM with Heterogeneity2025EffLLMServ
22GPU ISA & ArchitectureDemystifying the Nvidia Ampere Architecture through Microbenchmarking and Instruction-level Analysis2023NvidiaAmpere
23GPU ISA & ArchitectureCambricon: An Instruction Set Architecture for Neural Networks2016Cambricon
24CUDA/ROCmOptimizing sDTW for AMD GPUs2024AMDsDTW
25TPU ISA & ArchitectureTPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddings2023TPUs
26TPU ISA & ArchitectureMTIA: First Generation Silicon Targeting Meta's Recommendation Systems2023MTIA
27TPU ISA & ArchitectureMachine Learning Fleet Efficiency: Analyzing and Optimizing Large-Scale Google TPU Systems with ML Productivity Goodput2016MLFleet
28OpenVINOOpenVINO Deep Learning Workbench: Comprehensive Analysis and Tuning of Neural Networks Inference2019Paper
29OpenVINOLeveraging Speculative Sampling and KV-Cache Optimizations Together for Generative AI using OpenVINO2023Paper
30Intel PlaidMLStripe: Tensor Compilation via the Nested Polyhedral Model2019Paper

Need to add some compound AI papers, Graphine, and a few others


๐Ÿ“Š Grading

This is a very 'do based' course, we'll be learning, creating, innovating and sharing. A significant portion of the grade is allocated to the research project. Most (if not all) does very well in this class as long as you stay engaged on the journey. Lets create some amazing stuff! ๐Ÿ˜Š

Research Project: 80%

  • Project Pitch: 10%
  • Project Update: 10%
  • Video Lightning Talk: 15%
  • Final Presentation: 20%
  • Paper Write-Up: 25%

Participation, Impact, and Engagement: 20%

  • Paper Presentations: 10%
  • Repo Deconstructions: 5% (Project Details)
  • Paper Vibe Logs: 5% / #No of Papers

๐ŸŽฏ How We'll Work

This course emphasizes collaborative learning and knowledge sharing. Students will actively participate in presentations that showcase their understanding and discoveries from the course materials.

Grading and Logistics

Grading Basis

  • Grading will be based on each student's GitHub repository for this class. Your repo is the official record of your work and deliverables.

Repository Registration

Paper Vibe Logs

  • Upload your paper vibe logs to your GitHub repository.
  • Vibe logs are due the same day as the paper being presented.
  • Each student submits their own vibe log (no group submissions).
  • Each vibe log should contain about 5โ€“10 questions you asked to GPT about the paper being presented.

"Vibe Learning" Log

A key component of our learning methodology is the "vibe learning" presentation. In these sessions, students will:

  • Walk through AI conversation logs: Present a curated log of their conversations with AI systems where they learned interesting concepts from the course papers
  • Teach back to the class: Use their AI interaction logs as a foundation to explain complex compiler and runtime concepts to their peers
  • Demonstrate understanding: Show how they've internalized and can communicate technical concepts through their AI-assisted learning journey
  • Share insights: Highlight unexpected discoveries, connections, and "aha moments" that emerged from their AI conversations

This approach leverages the power of AI as a learning companion while ensuring students develop deep understanding through the process of teaching others. Students will learn not just from the papers themselves, but from each other's unique learning paths and AI-assisted discoveries.

Student Presentations

Students should sign up for a paper here (in the paper signup tab): https://docs.google.com/spreadsheets/d/1y7yw2zQt6hjsVg0bTg0fLS1cplkk9_-1nd-qYPybwfE/edit?usp=sharing

Presentation Slides

  • Aim for 15โ€“20 slides
  • Cover the paperโ€™s motivation, problem, key ideas/methodology, system/architecture, evaluation/results, limitations/trade-offs, and key takeaways
  • Include relevant figures/diagrams/tables from the paper (or simplified redraws) to clearly tell the story
  • Use a clear narrative: problem โ†’ idea โ†’ how it works โ†’ why itโ€™s better โ†’ evidence โ†’ implications
  • For style and pacing, watch recent paper talks on YouTube from top architecture/systems conferences such as ISCA, MICRO, ASPLOS, and HPCA

๐Ÿ“ Final Paper

Your research project culminates in a conference-style paper that documents your work, findings, and contributions.

Requirements

  • Format: Standard CS conference paper format (e.g., ACM or IEEE style)
  • Length: 5โ€“8 pages (excluding references)
  • Tools: Use Overleaf (recommended for collaboration) or local LaTeX
  • Due Date: December 15th, 2025
  • Submission: Push final PDF to your GitHub repository

Paper Structure

Your paper should include:

  1. Abstract (~150โ€“250 words): Concise summary of problem, approach, and key results
  2. Introduction: Motivation, problem statement, and contributions
  3. Background/Related Work: Context and how your work relates to existing research
  4. Approach/Methodology: Technical details of your solution
  5. Implementation: System architecture, tools used, key design decisions
  6. Evaluation: Experiments, benchmarks, and results with analysis
  7. Discussion: Limitations, lessons learned, future work
  8. Conclusion: Summary of contributions and impact
  9. References: Properly formatted citations

Tips for First-Time Paper Writers

Writing your first research paper can feel daunting. Here are practical tips to help you succeed:

Getting Started

  • Start early: Don't wait until the last week. Good papers require multiple drafts and revisions
  • Read papers in your area: Notice how they structure arguments and present results โ€” mimic what works
  • Write the easy parts first: Start with methodology or implementation sections where you describe what you built

Writing Advice

  • Be precise: Avoid vague language like "very fast" or "much better" โ€” use specific numbers and comparisons
  • One idea per paragraph: Each paragraph should have a clear topic sentence and support one main point
  • Use active voice: "We implemented X" is clearer than "X was implemented"
  • Define terms before using them: Don't assume readers know your acronyms or jargon
  • Figures tell stories: A good diagram can replace paragraphs of text โ€” invest time in clear visuals

Common Mistakes to Avoid

  • Don't oversell: Be honest about limitations; reviewers appreciate intellectual honesty
  • Don't skip related work: Show you understand the landscape and where your work fits
  • Don't bury the lede: State your main contribution clearly in the introduction
  • Don't forget baselines: Always compare against something โ€” a naive approach, prior work, or standard benchmarks
  • Don't submit without proofreading: Typos and grammar errors undermine credibility

The Revision Process

  1. First draft: Get ideas on paper without worrying about perfection
  2. Self-review: Read your paper aloud โ€” awkward phrasing becomes obvious
  3. Peer review: Have teammates or classmates read it and provide feedback
  4. Final polish: Check formatting, fix citations, ensure figures are readable

Useful Resources


๐Ÿ›  Notes


โญ Prepare to build the next generation of compilers and runtimes for AI.

Contributors

marsninja

28 commits