๐Ÿช EDM-ARS  ยท  v5 ยท Open Source

Educational Data Mining
Automated Research System

A multi-agent LLM pipeline that turns a dataset and a research prompt into a complete, reviewer-ready academic paper โ€” across prediction, causal inference and psychometrics โ€” then scores it against thresholds calibrated on papers those venues actually published.

5
Study Types Supported
12
Review Venues (LSAR)
30โ€“60 min
End-to-End Runtime
$0.15
Measured Cost Per Paper

Overview

What It Does

Inspired by FARS, EDM-ARS is an open-source, domain-specific multi-agent LLM pipeline that automates the complete workflow of educational data mining research. Given a curated dataset and a research prompt, it formulates a research question, engineers the analytic sample, runs the analysis, retrieves real citations via the Semantic Scholar API with three-layer verification (exact title match, Jaccard similarity, CrossRef cross-validation), and produces a complete LaTeX manuscript in ACM sigconf or APA-7 journal format โ€” with a built-in Critic agent that enforces methodological rigor through automated peer review and targeted revision loops.

v5 covers five study types: predictive modeling, three causal-inference designs (selection-on-observables, individualized treatment regimes, difference-in-differences), and psychometrics (IRT, measurement invariance, DIF, cognitive diagnosis). Ten estimation methods are certified against synthetic data with known ground truth before they are allowed near a real dataset. Four datasets are curated: HSLS:09, ELS:2002, ASSISTments 2009–10, and a constructed ELS×HSLS cross-cohort panel.

๐ŸŽ“

Domain-Specific Design

Each dataset carries a three-tier variable registry: hand-curated Tier 1 variables with educational annotations, auto-generated Tier 2 variables, and Tier 3 exclusions (weights, IDs) enforced programmatically. Survey-design realities โ€” school clustering, sentinel missing codes, legitimate skips, suppressed identifiers โ€” are encoded per dataset rather than left for the model to infer.

๐Ÿงฉ

Skill-Based Architecture

70 composable skills across four layers โ€” task type, dataset, methodology and writing โ€” are matched at runtime and injected into each agent's prompt. Adding a capability means adding a skill, not enlarging a prompt. Skills marked mandatory bypass the size cap, because a rule whose violation corrupts output silently must always reach the agent.

๐Ÿ”ฌ

Certified Before Live Use

Every estimator faces a synthetic-data gate before it touches real data: a data-generating process with a known true effect, and the method must recover it. Difference-in-differences was held back until it hit 0.006 bias and detected pre-trend violations at a rate of 1.0.

๐Ÿ›‘

Deterministic Honesty Guards

Prompting a model not to invent numbers does not stop it. Every figure in the manuscript is reconciled against the analysis artifacts, unverifiable claims are flagged, and a paper whose numbers cannot be traced is blocked from passing the gate โ€” regardless of how well it reads.


Six-Agent Pipeline

๐Ÿ” 1
ProblemFormulator
Searches Semantic Scholar, scopes the research question & hypothesis
๐Ÿ›  2
DataEngineer
Cleans features, outputs test_protected.csv with pre-encoding subgroup labels for fairness analysis
๐Ÿ“Š 3
Analyst
Runs the battery for the study type — ML models with SHAP and subgroup fairness, causal estimators with balance and overlap diagnostics, or IRT and invariance models via the R bridge
๐Ÿ“ 5
OutlineAgent
Creates adaptive paper outlines with section-level planning, adjusting structure based on actual results
โœ๏ธ 6
Writer
Fills structured results into ACM sigconf LaTeX template with preamble protection โ€” template-based, never free-form
โš–๏ธ  Agent 4 ยท Gatekeeper
Critic
Reviews all prior agents' outputs for methodological soundness.
Issues PASS / REVISE / ABORT verdicts.
claude-opus โ€” highest-tier model
๐Ÿ”„

Revision loop โ€” on REVISE, targeted instructions are routed back to ProblemFormulator, DataEngineer, Analyst, or OutlineAgent selectively. Up to 2 cycles before the Writer is unblocked regardless.


Features

Key Capabilities

๐Ÿค–

6 Specialized Agents

Coordinated by a state-machine orchestrator. Each agent has its own system prompt, temperature and model routing, configurable per stage. The reference configuration runs the whole pipeline on DeepSeek-v4-pro; Anthropic, OpenAI and MiniMax backends are supported through the same interface.

๐Ÿ“œ

End-to-End Automation

From a raw CSV and a research prompt to a compiled ACM LaTeX paper โ€” with real citations, methodology validation, and SHAP explainability figures.

๐Ÿ›ก

Self-Healing Pipeline

Contract validation at every stage boundary. Auto-patching for classifiable errors (SHAP failure, dtype mismatch, missing column) before falling back to LLM repair.

๐Ÿ“š

Live Academic Citations

The ProblemFormulator queries the Semantic Scholar API with exponential-backoff retry logic to retrieve and validate real, current citations.

โš—๏ธ

6-Model Battery

Logistic Regression, Random Forest, XGBoost, ElasticNet, MLP, and a Stacking Ensemble are trained, compared, and reported with SHAP explainability. A Model Quality Gate (AUC ≥ 0.60 for classification, R² ≥ 0.05 for regression) runs before SHAP, so a model that has learned nothing is not given an interpretation.

๐Ÿณ

Docker Sandboxing

LLM-generated analysis code executes inside a Docker sandbox (network-disabled). Gracefully falls back to subprocess when Docker is unavailable.

๐ŸŽฏ

Causal Inference New

Selection-on-observables (matching, IPW, regression adjustment, AIPW/TMLE), causal forests for heterogeneous effects, individualized treatment regimes, and difference-in-differences. Estimands are declared before estimation; balance, overlap and unmeasured-confounding sensitivity are reported as a matter of course.

๐Ÿ“

Psychometrics New

Item response theory, graded response models, measurement invariance testing, differential item functioning, and cognitive diagnosis (DINA / G-DINA) โ€” executed in R through a bridge, with degeneracy reported rather than hidden.

๐Ÿงพ

Numeric Reconciliation New

Every number in the manuscript is matched back to the analysis outputs that produced it. An audit once found a paper that scored well while reporting fabricated values for fields the analysis left empty; that class of failure is now blocked deterministically rather than discouraged by prompt.

๐Ÿ“

Calibrated Review Gate New

Papers are scored by LSAR against the 25th percentile of papers the target venue actually published โ€” not an arbitrary threshold. Borderline verdicts trigger median-of-three sampling, because a single review carries real measurement noise.

๐Ÿ’ต

Measured Token Accounting New

Every run records prompt, completion and cached-input tokens per call. Rates live in configuration, so a price change re-prices past runs without re-running them, and an unpriced model yields null rather than a silent zero.

What It Actually Produces

Fifteen complete papers have been generated and scored through the calibrated review gate. Every study type has at least one paper that clears its venue's threshold. Scores span 3.7 to 7.5 โ€” the low end is reported here for the same reason it is reported in the papers themselves.

15
Papers Generated & Scored
7.5
Best LSAR Score (of 10)
30โ€“60 min
Runtime Per Paper
$0.146
Measured Cost Per Paper

That cost is measured, not estimated: one fully instrumented run made 84 LLM calls โ€” $0.091 for the six-agent pipeline and $0.055 for six sampled LSAR reviews. 81% of input tokens were prompt-cache hits, billed roughly ten times lower, which is the dominant lever and one that summed token counts cannot see. An earlier figure on this page quoted several dollars per paper; it came from a hardcoded rate constant rather than a measurement, and it was wrong by two orders of magnitude.

LSAR — Learning Science Auto-Reviewer

Inspired by PaperReview.ai, LSAR is an automated, agentic paper reviewer for learning science venues. A six-stage pipeline ingests a PDF, identifies the venue, retrieves related work, and produces a structured review across 8 quality dimensions for 12 venues โ€” four conferences and eight journals.

๐ŸŽฏ
Relevance

Alignment with venue scope and topic fit

๐Ÿ’ก
Novelty

Originality and contribution beyond prior work

๐Ÿ“–
Theoretical Grounding

Strength of conceptual framework and motivation

๐Ÿ”ง
Methodological Rigor

Soundness of research design and analysis

๐Ÿ“Š
Empirical Support

Quality and interpretation of evidence

๐ŸŒŸ
Significance

Impact on the field and practical implications

โš–๏ธ
Ethics & Fairness

Ethical considerations and bias awareness

โœ๏ธ
Communication

Clarity, structure, and readability of writing

AIED EDM L@S LAK AERA Open JEDM JLA JEBS JEM JREE MBR Psychometrika
๐Ÿ“

Calibrated thresholds. A raw review score means little on its own โ€” nothing anchors “6.5” to any real standard. LSAR reviews papers a venue actually published and takes the 25th percentile of their scores. A submission below that sits below the weakest quartile of what the venue accepted. Current gates: EDM 6.3 (15 anchors), AERA Open 6.6 (11), JEDM 5.15 (10), JLA 5.4 (9).

โš ๏ธ

And what those numbers cannot do. Measured test–retest deviation is 1.9 points, so a single review is a noisy instrument and borderline cases are sampled three times and taken at the median. Anchor corpora run 9–15 papers per venue: these are working thresholds, not population parameters. A gate is a triage signal for authors, never an acceptance decision.

๐Ÿ”Ž

Venue Detection โ€” automatically classifies papers for their intended conference or allows manual specification

๐Ÿ“ฆ

Batch Processing โ€” review multiple papers in a single run from directories or CSV manifests

๐Ÿ“„

Multiple Formats โ€” generates reviews in Markdown, JSON, and PDF reports with modular pipeline stages

๐Ÿฉบ

Review Health Checks โ€” a truncated review is rejected rather than scored. 21% of reviews were once cut off between Strengths and Weaknesses, keeping the praise and losing the criticism, and scored +0.83 too high as a result. Truncation is now a hard error at three layers.

๐Ÿ”„

EDM-ARS generates a paper → LSAR reviews it across 8 dimensions → feedback drives targeted revisions โ€” a closed-loop generate-then-review cycle for automated research refinement.


Publications

Papers & Reports

Technical reports and demo papers generated by EDM-ARS. Demo papers are full ACM-formatted manuscripts produced by the pipeline on HSLS:09 prediction tasks.

Technical Report March 2026

EDM-ARS: A Domain-Specific Multi-Agent System for Automated Educational Data Mining Research

Chenguang Pan, Zhou Zhang, Weixuan Xiao, Chengyuan Yao

PDF →
Demo Paper LSAR Reviewed March 2026

Fairness-Through-Unawareness Does Not Produce Equitable Predictions: Evidence from HSLS:09 on Subgroup Disparities in College Attendance Prediction

EDM-ARS (Automated) · Target Venue: EDM

Demo Paper LSAR Reviewed March 2026

Do Ninth-Grade Math and Science Identity Predict STEM Degree Non-Completion? Evidence from HSLS:09 and Machine Learning

EDM-ARS (Automated) · Target Venue: EDM

Built With

Tech Stack

Core Pipeline
Python 3.11 DeepSeek-v4-pro Anthropic / OpenAI / MiniMax Docker Sandbox PyYAML
Prediction & Causal
scikit-learn XGBoost SHAP causal forests AIPW / TMLE pandas
Psychometrics
R bridge IRT / GRM measurement invariance DIF DINA / G-DINA
Data & Literature
HSLS:09 ELS:2002 ASSISTments ELS×HSLS panel Semantic Scholar + arXiv
Output & Verification
ACM sigconf LaTeX APA-7 journal numeric reconciliation calibrated LSAR gate token metering

v5 & Beyond

Every phase on the original roadmap โ€” polymorphism, findings memory, causal inference, multi-dataset support โ€” has shipped. The current release spans five study types across four datasets, with the controlled human evaluation now in progress.

โœ…  v5 — Delivered
Five Study Types — predictive modeling, three causal-inference designs (selection-on-observables, individualized treatment regimes, difference-in-differences) and psychometrics
Ten Certified Estimators — each validated against synthetic data with a known true effect before being allowed near a real dataset
Four Curated Datasets — HSLS:09, ELS:2002, ASSISTments 2009–10 and a constructed ELS×HSLS cross-cohort panel, each with its own registry and quirks
Skill-Based Architecture — 70 composable skills across four layers, matched at runtime and injected per agent — capabilities are added as skills, not as longer prompts
Calibrated Review Gate — thresholds set at the 25th percentile of papers each venue actually published, with median-of-three sampling for borderline verdicts
Deterministic Honesty Guards — numeric reconciliation against analysis artifacts, unverified-claim flagging, and review-health checks that reject a truncated review rather than scoring it
Measured Token Accounting — per-call prompt / completion / cached token counts with rates in configuration, so past runs re-price without re-running
Open Source Release — EDM-ARS and LSAR both published, runnable from a clean checkout, with their test suites green
Controlled Evaluation — blind human review comparing EDM-ARS output against other automated research systems on matched topics — in progress
Wider Venue Calibration — anchor corpora for the eight venues that currently have review criteria but no calibrated threshold
Additional Datasets — PISA 2022 (plausible values) and ECLS-K, extending the registry approach to new survey designs
Reproducibility Packaging — release the locked specifications alongside published results so any run can be reproduced end to end