Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»MicroPython Testbed for Federated Learning Algorithms (MPT-FLA) Framework Advancing Federated Learning at the Edge

    MicroPython Testbed for Federated Learning Algorithms (MPT-FLA) Framework Advancing Federated Learning at the Edge

    May 20, 2024

    The Python Testbed for Federated Learning Algorithms (PTB-FLA) is a low-code framework developed for the EU Horizon 2020 project TaRDIS, aimed at simplifying the creation of decentralized and distributed applications for edge systems. Written in pure Python, PTB-FLA is lightweight and easy to install, making it suitable for small IoT devices. It supports both centralized and decentralized federated learning algorithms and peer-to-peer data exchange via time division multiplexing. Designed with a simple API, it allows nonprofessional programmers to develop applications using AI tools like ChatGPT. Its primary limitation is that it currently only runs on a single PC.

    Researchers from the University of Novi Sad and RT-RK Institute have developed the MicroPython Testbed for Federated Learning Algorithms (MPT-FLA), overcoming the limitation of its predecessor by enabling individual application instances to run on different network nodes, such as PCs and IoT devices. Retaining the pure Python ideal, MPT-FLA is based on asynchronous I/O and runs on MicroPython, making it suitable for edge systems. The framework was validated on a wireless network with PCs and Raspberry Pi Pico W boards, using adapted application examples from the previous framework, PTB-FLA. The successful validation confirmed that MPT-FLA produces the same numerical results as PTB-FLA.

    Current federated learning (FL) frameworks like TensorFlow Federated and BlueFog are effective in cloud-edge environments but unsuitable for edge-only deployment, lack Windows OS support, and are complex to install. A 2021 review by Kholod et al. highlighted the ongoing challenge of developing FL frameworks for edge systems. Unlike complete systems such as CoLearn and FedIoT, the MPT-FLA serves as an “algorithmic” testbed for ML and AI developers in the TaRDIS project. It uses a Single Program Multiple Data (SPMD) pattern, similar to MapReduce, and future work may involve adapting it for high-performance compilation with Codon.

    The experimental WiFi network for evaluating MPT-FLA comprised a Belkin F5D7234-4 router, two Raspberry Pi Pico W boards, and a Dell Latitude 3420 PC. The router supports 802.11g with speeds up to 54Mbps. The Raspberry Pi Pico W, featuring the RP2040 chip, includes a 2.4GHz wireless interface and 264KB of RAM, programmed with the “RPI_PICO_W-20231005-v1.21.0.uf2” firmware. The PC runs Windows 10 Pro, with an Intel Core i7-1165G7 processor, and uses Python 3.12.0 and VS Code for software development. The MPT-FLA tool will be available on GitHub by mid-2024. The MPT-FLA framework evolved from the PTB-FLA framework, which relied on Python’s multiprocessing abstractions (process, queue, clients, and listeners). However, PTB-FLA could not be directly ported due to the lack of support for these abstractions in MicroPython.

    The MPT-FLA framework was tested on an experimental WiFi network with a Belkin router, two Raspberry Pi Pico W boards, and a PC. The goal was to ensure the adapted algorithms produced the same numerical results as the originals, which they did, confirming functional correctness. However, performance metrics like execution time and energy consumption were not evaluated as the framework is still in development. Issues encountered included the Pico boards’ repeated attempts to connect to the WiFi, potentially seen as DoS attacks by the router, and severe WiFi interferences, particularly in apartment buildings, causing TCP connection failures and increased latencies.

    In conclusion, MPT-FLA is an FL framework that extends the PTB-FLA framework to support applications running on diverse network nodes, such as PCs and IoT devices, primarily in edge systems. Four adapted application examples were used in the experimental validation in a lab setting to demonstrate functional correctness. Key contributions include the MPT-FLA framework, new application examples, and the validation approach and results. MPT-FLA’s advantages over PTB-FLA include support for distributed applications and compatibility with smaller IoT platforms. Future work will involve developing benchmark applications and conducting detailed performance evaluations.

    Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

    If you like our work, you will love our newsletter..

    Don’t Forget to join our 42k+ ML SubReddit

    The post MicroPython Testbed for Federated Learning Algorithms (MPT-FLA) Framework Advancing Federated Learning at the Edge appeared first on MarkTechPost.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleBisheng: An Open-Source LLM DevOps Platform Revolutionizing LLM Application Development
    Next Article This AI Paper Discusses How Latent Diffusion Models Improve Music Decoding from Brain Waves

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 16, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-47916 – Invision Community Themeeditor Remote Code Execution

    May 16, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Everything coming to Call of Duty: Black Ops 6 multiplayer with Season 3

    News & Updates

    CVE-2025-4000 – Seeyon Zhiyuan OA Web Application System Cross Site Scripting Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    iPhone users just got access to Gemini’s Deep Research – how to try it

    News & Updates

    One of the best 16-inch laptops for creative work isn’t made by Apple or Asus

    Development

    Highlights

    Appium, clicks on buttons sometimes has a very long delay (on some views)

    June 7, 2024

    While testing by Appium (using Python), it clicks on some buttons with a very long delay on some views in my Android app.
    The method I am using:
    def click_element(self, element, time=wait_time):
    WebDriverWait(self.driver, time).until(
    EC.presence_of_element_located(element)
    )
    WebDriverWait(self.driver, time).until(
    EC.element_to_be_clickable(element)
    )
    self.driver.find_element(*element).click()

    Does anyone have any idea?

    Top 7 Emerging Software Testing Trends That Will Dominate in 2025

    January 30, 2025

    Want an AI Job? Check out these new AWS AI certifications

    June 11, 2024

    Attackers Leverage TunnelVision Vulnerability to Expose User Data

    May 8, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.