Skip to content
#federated learning Open access

A real-time federated TinyML framework for student behavior detection in smart classrooms

Sep 2026 · Discover Artificial Intelligence · 33 references

Abstract

Smart classrooms increasingly require intelligent systems capable of detecting student behaviors in real time while preserving privacy and operating under limited computational resources. However, many existing approaches rely on centralized training and high-complexity deep learning models, limiting their suitability for privacy-sensitive and TinyML-based educational environments. This paper proposes a privacy-preserving TinyML framework for federated student behavior detection in smart classrooms. The framework combines a lightweight object detection architecture based on depthwise separable convolutions, proximal federated learning across five distributed clients, structured channel pruning, batch normalization folding, post-pruning fine-tuning, and full-integer INT8 quantization. The model was evaluated on SCB-Dataset5, which contains 7428 images and 106,830 annotated instances across 20 classroom-related categories, with additional validation on UK_Dataset and SiTBehavior datasets. Experimental results show that the centralized model achieved 98.12% F1-score, 98.42% mAP@0.5, and 86.35% mAP@0.5:0.95, while the proximal federated model preserved comparable performance with 98.12% F1-score and 98.39% mAP@0.5. After 40% structured pruning and INT8 quantization, the compressed federated model achieved 95.52% F1-score, 95.64% mAP@0.5, and 78.86% mAP@0.5:0.95, while reducing the final model size to 228.9 KB and enabling real-time inference at 15.43 FPS on a 32-bit ARM Cortex-M-class target. These results demonstrate that the proposed framework effectively balances detection accuracy, privacy preservation, memory efficiency, and TinyML deployment feasibility for intelligent classroom monitoring.

View source

Similar papers

#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54
#machine learning Review Open access Jun 2014

Why Early-Stage Software Startups Fail: A Behavioral Framework

This state-of-practice investigation was performed using a literature review followed by a multiple-case study approach and presents how inconsistency between managerial strategies and execution can lead to failure by means of a behavioral framework.

Carmine Giardino, Xiaofeng Wang, P. Abrahamsson · 175 citations · ⚡19
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#machine learning Review Open access May 2016

Key Challenges in Software Startups Across Life Cycle Stages

It is found that what perceived as biggest challenges by software startups do vary across different life cycle stages, even though its significance decreases when the learning focuses of the startups move from problem to solution and their products mature.

Xiaofeng Wang, Henry Edison, Sohaib Shahid Bajwa et al. · 62 citations · ⚡6

Related blog posts

MIT News · Artificial Intelligence Oct 7, 2026

Discovering the value of humanistic inquiry

Students in MIT’s Concourse program delve deeply into the human condition, debate challenging questions, and learn to develop judgment about issues that can’t be quantified.

Microsoft Research Blog Oct 7, 2026

Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses

Training AI agents with reinforcement learning can be challenging because their tools, context, and decision-making are managed by complex frameworks. Agent Lightning connects existing agents to RL training, making it easier to improve them without rebuilding them. The post Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.