This synthetic experiment compares interaction, attention-like, and self-report signals using one shared held-out partition. The revised classifier pipeline fits imputation and scaling only on training rows, correcting the earlier in-sample evaluation. A separately labeled rank-fusion comparator explores reliability weighting; neither the simulated features nor the scores validate self-regulation or attention measurement in real learners.
Review scope: The existing suite requires unavailable dependencies; no full-suite pass is claimed. The bundled demonstration executed successfully in this review.
Category: AI in Education A multimodal feature-fusion sandbox for studying self-regulated learning without hiding modality reliability.
Research prototype. All bundled data and results are synthetic demonstrations. Nothing in this repository should be interpreted as evidence about real learners, teachers, or institutions.
Multimodal learning analytics often jumps straight from sensor streams to a model score. This repo makes the fusion logic explicit. It simulates interaction, gaze-like attention, and self-report features, tracks missing modalities, and compares early fusion with reliability-weighted fusion.
The implementation keeps each modality separate through preprocessing and reliability estimation before fusion. That design makes ablation results easier to interpret because researchers can see when a signal helps, hurts, or disappears.
- When does adding another modality improve prediction rather than add noise?
- How should a system react when one modality is missing or unreliable?
- Can reliability-weighted fusion remain interpretable enough for learning-science analysis?
The reference pipeline follows five stages:
- Modal signals
- Per-modality normalization
- Reliability estimation
- Fusion
- Ablation evaluation
The baseline is intentionally simple enough to inspect before introducing real sensor streams, temporal models, or participant data.
interaction_aucattention_aucself_report_aucearly_fusion_aucreliability_fusion_auc
The dashboard above is generated from synthetic data and is included only to show what the analysis surface looks like. It is not a reported empirical result.
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .[dev]
python examples/demo.py
pytest -qYou can also use Docker:
docker build -t multimodal_self_regulation_lab .
docker run --rm multimodal_self_regulation_labmultimodal_self_regulation_lab/
├── src/multimodal_self_regulation_lab/ # core implementation and synthetic-data generator
├── examples/demo.py # end-to-end reproducible demo
├── tests/ # executable unit tests
├── docs/ # research design, data dictionary, references
│ └── images/ # original project diagrams and demo visualisations
├── results/ # synthetic demo outputs only
├── config/default.yaml
├── Dockerfile
├── Makefile
└── pyproject.toml
The fuller design rationale is in docs/research_design.md, including constructs, assumptions, validation steps, and a proposed empirical extension.
- Synthetic generation uses a fixed random seed.
- The core metrics are implemented as small, testable functions.
- The demo writes machine-readable results into
results/. - CI runs the tests on every push and pull request.
- No API keys, proprietary datasets, or external model calls are required for the baseline.
- Synthetic “attention” variables are not eye-tracking measures and should not be interpreted as such.
- Classifier AUC uses one shared stratified 70/30 holdout with train-only imputation and scaling. Reliability fusion ranks the unlabeled held-out batch; it is a transductive comparator.
- Multimodal data raise privacy and consent issues that must be addressed before collection.
- Use nested cross-validation and subgroup robustness checks.
- Add explicit sensor-quality models and late-fusion baselines.
- Test whether multimodal feedback is understandable and actionable for learners and educators.
See docs/references.md. The references are there to locate the project in current AIED, learning-analytics, human-centered AI, and instructional-design research. They do not imply endorsement or affiliation.
If you build on this research prototype, use the metadata in CITATION.cff.
MIT for the code in this repository. Research data from future studies should use a separate data-governance and consent process.