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ataset Project: Integration Problem Set
|
| 9 |
+
### Author: Ruoxin Wang
|
| 10 |
+
### Date: Nov.26.2024
|
| 11 |
+
|
| 12 |
+
## Repository
|
| 13 |
+
The data collection scripts and this dataset are publicly available at [Roxanne-WANG/Integration_Problem_Set](https://huggingface.co/datasets/Roxanne-WANG/Integration_Problem_Set)
|
| 14 |
+
The crawler code, EDA, Power Analysis, and Unitest are available at [Integration_Problem_Set](https://github.com/WendyWAAAAANG/Integration_Problem_Set)
|
| 15 |
+
|
| 16 |
+
## Executive Summary
|
| 17 |
+
This project aims to create a dataset specifically designed for the automatic generation of integration problems. It will serve as the basis for training LLMs to generate integration problems. The problems will be labeled by difficulty and category, making it easy for users to select problems.
|
| 18 |
+
|
| 19 |
+
#### Motivation
|
| 20 |
+
Generating diverse and enough integration problems for practice or exams can be time-consuming. We provide this dataset for fine-tuning LLMs and ask LLMs to generate integration problems. Compared to letting LLMs generate problems directly, a dataset built with symbolic computation and verified mathematical problems ensures higher accuracy and strict adherence to mathematical rules than GPT-generated questions. Secondly, this dataset offers diverse problem types and controlled difficulty levels, something GPT might struggle with in maintaining consistency. Automating the generation of integration problems can provide students with endless opportunities for practice and help them get a deeper conceptual understanding. And teachers can benefit from automated systems that reduce the workload of creating custom problem sets. This system could also be valuable in building AI educational technology platforms.
|
| 21 |
+
|
| 22 |
+
#### Potential applications
|
| 23 |
+
- Training LLMs for mathematics education.
|
| 24 |
+
- Building educational apps that recommend problems tailored to user needs.
|
| 25 |
+
- Developing interactive tutoring systems with step-by-step explanations.
|
| 26 |
+
|
| 27 |
+
#### Uniqueness About This Dataset
|
| 28 |
+
Nowadays, there is no large-scale dataset available in the public domain explicitly focusing on integration problems, although the collection of integration problems in a systematic manner can be an effective way to meet the requirement of problem generation. Current datasets are insufficient for teaching advanced calculus problem generation and do not contain detailed step-by-step problems which is an important component of learning.
|
| 29 |
+
1. Comprehensive Coverage of Integration Techniques: The dataset will incorporate all forms of integration issues with basic, intermediate, and advanced integration issues covered. It includes basic integration, substitution, integration by parts, etc Integration by parts computes the integral with the help of integration of other functions.
|
| 30 |
+
2. Diversity of Functions: The dataset will include integrals of various classes of functions which in fact will include polynomial, trigonometric, logarithmic, exponential, and hyperbolic functions.
|
| 31 |
+
|
| 32 |
+
## Description of Data
|
| 33 |
+
The dataset consists of integration problems in JSON format, including:
|
| 34 |
+
|
| 35 |
+
- **Questions**: The integral to solve.
|
| 36 |
+
- **Solutions**: The correct answer and step-by-step solution.
|
| 37 |
+
- **Metadata**: Problem type, difficulty level, and solution approach.
|
| 38 |
+
|
| 39 |
+
**Example Entry:**
|
| 40 |
+
```bash
|
| 41 |
+
[
|
| 42 |
+
{
|
| 43 |
+
"difficulty": "Advanced",
|
| 44 |
+
"category": "Integration by Parts",
|
| 45 |
+
"question": "\u222b\nxtan(x)\ncos2(x)\n dx"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"difficulty": "Basic",
|
| 49 |
+
"category": "Partial Fractions",
|
| 50 |
+
"question": "\u222bcos(3t)sin(8t)dt"
|
| 51 |
+
},
|
| 52 |
+
]
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## Power Analysis
|
| 56 |
+

|
| 57 |
+
<img width="1154" alt="Screenshot 2024-11-25 at 00 37 09" src="https://github.com/user-attachments/assets/7585bda3-81ba-48ce-bba1-8f09c68ef0f6">
|
| 58 |
+
**Assume that:**
|
| 59 |
+
- **Alpha**: 0.05 (Significance Level)
|
| 60 |
+
- **Effect Size**: 0.5 (Moderate Effect)
|
| 61 |
+
- **Power**: 0.8 (80% Probability of Correctly Rejecting the Null Hypothesis)
|
| 62 |
+
|
| 63 |
+
**Conclusion:**
|
| 64 |
+
According to the power curve, the required sample size is **64**. This demonstrates that moderate effects are easier to detect with fewer samples, making this scenario practical for most dataset collection projects.
|
| 65 |
+
|
| 66 |
+
## Data Collection Protocol
|
| 67 |
+
1. Textbooks: Stewart’s Calculus, Apostol’s Calculus
|
| 68 |
+
2. Web Scraping from Open-Source Online Platform:[Symbolab](https://www.symbolab.com/), [Paul’s Online Math](https://tutorial.math.lamar.edu/)
|
| 69 |
+
|
| 70 |
+
## Explory Data Analysis
|
| 71 |
+
**1. Category Distribution**
|
| 72 |
+

|
| 73 |
+
- The most frequent category is "Trigonometric Substitution", followed by "Constant Rule", and "Multiple Integrals".
|
| 74 |
+
- Less frequent categories include "Integration by Parts", "Partial Fractions", and "Power Rule".
|
| 75 |
+
- Trigonometric Substitution appears to dominate, likely indicating its prevalence in integration problems or its importance in the dataset focus.
|
| 76 |
+
- Graph Summary: A horizontal bar chart highlights the frequency of each category, emphasizing the dominance of certain categories over others.
|
| 77 |
+
|
| 78 |
+
**2. Question Length Distribution**
|
| 79 |
+

|
| 80 |
+
- Most questions have a length between 8 and 14 characters, indicating a tendency for a concise representation of problems.
|
| 81 |
+
- There is a right-skewed distribution, with fewer questions having lengths exceeding 25 characters.
|
| 82 |
+
- Longer questions might represent more complex integrals with multiple terms or variables.
|
| 83 |
+
- Graph Summary: A histogram with a KDE overlay shows the distribution of question lengths, with a peak of around 10 characters.
|
| 84 |
+
|
| 85 |
+
**3. Difficulty Distribution**
|
| 86 |
+

|
| 87 |
+
- Questions are evenly distributed across the three difficulty levels: Advanced, Moderate, and Basic.
|
| 88 |
+
- Advanced problems slightly outnumber the others, suggesting a focus on challenging questions.
|
| 89 |
+
- The uniform distribution ensures representation across skill levels, making the dataset comprehensive for different audiences.
|
| 90 |
+
- Graph Summary: A vertical bar chart illustrates the similar proportions of problems in each difficulty tier.
|
| 91 |
+
|
| 92 |
+
**4. Word Cloud Analysis**
|
| 93 |
+

|
| 94 |
+
- Common terms in questions include symbols like x, dx, sin, cos, and numerical constants such as 2, 3, and 4.
|
| 95 |
+
- These terms focus heavily on single-variable integrals and common trigonometric or polynomial components.
|
| 96 |
+
- Patterns like tan, ln, and higher powers suggest questions often involve transcendental functions or logarithmic integrations.
|
| 97 |
+
- Graph Summary: A word cloud visualizes the most frequently occurring terms, emphasizing the focus on fundamental and advanced mathematical symbols.
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
## Ethical Statement
|
| 101 |
+
|
| 102 |
+
The **Integral Problem Set** project supports educational objectives and facilitates advancements in AI-driven learning tools. This ethical statement outlines the principles and considerations guiding the development and use of this dataset.
|
| 103 |
+
|
| 104 |
+
#### Purpose
|
| 105 |
+
This dataset aims to provide high-quality, diverse, and accurate integration problems for:
|
| 106 |
+
- Educational platforms and applications.
|
| 107 |
+
- Training AI models, including Large Language Models (LLMs), for mathematics education.
|
| 108 |
+
- Assisting students, educators, and researchers in advancing mathematical problem-solving tools.
|
| 109 |
+
|
| 110 |
+
#### Data Sourcing
|
| 111 |
+
1. **Open and Publicly Available Sources**:
|
| 112 |
+
- The problems are collected exclusively from publicly available resources, such as free online educational platforms, open-access textbooks, and reliable mathematics tools like Symbolab, Paul's Online Math Notes, and Wolfram Alpha.
|
| 113 |
+
|
| 114 |
+
2. **No Proprietary Content**:
|
| 115 |
+
- The dataset does not include proprietary, copyrighted, or restricted materials. All content is sourced in compliance with the terms of service of the platforms used for collection.
|
| 116 |
+
|
| 117 |
+
3. **Transparent Collection**:
|
| 118 |
+
- The methods and tools for data collection (e.g., web scraping scripts) are openly documented and included in the project repository, ensuring reproducibility and transparency.
|
| 119 |
+
|
| 120 |
+
#### **Use of the Dataset**
|
| 121 |
+
1. **Encouraging Ethical Applications**:
|
| 122 |
+
- The dataset is intended for educational, research, and academic purposes. Potential applications include training AI models for educational platforms, automating problem generation, and building interactive math tutoring systems.
|
| 123 |
+
|
| 124 |
+
2. **Preventing Misuse**:
|
| 125 |
+
- The dataset should not be used for unethical purposes, such as:
|
| 126 |
+
- Academic dishonesty (e.g., cheating in exams or assignments).
|
| 127 |
+
- Developing systems that infringe on intellectual property rights.
|
| 128 |
+
|
| 129 |
+
3. **Accessibility**:
|
| 130 |
+
- The dataset is open-source under the MIT License, ensuring accessibility to educators, students, and researchers while requiring proper attribution.
|
| 131 |
+
|
| 132 |
+
#### Commitment to Responsible AI
|
| 133 |
+
This project aligns with the principles of responsible AI development:
|
| 134 |
+
- **Transparency**: All data collection methods, tools, and validation techniques are openly shared.
|
| 135 |
+
- **Fairness**: The dataset is diverse and balanced, catering to learners of varying skill levels.
|
| 136 |
+
- **Accountability**: The project contributors are committed to addressing ethical concerns and improving the dataset through community feedback.
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
## License
|
| 140 |
+
This dataset is licensed under the [MIT License](https://opensource.org/licenses/MIT).
|