Leveraging AWS: Building a Cloud-Native Architecture for Vertical Federated Learning

CIO Review Europe | Tuesday, June 13, 2023

In recent years, machine learning (ML) has become a must-have technology for industries, and the backbone of machine learning technology is data. As more data becomes available for training, the performance of an ML model is expected to improve.

FREMONT, CA: Collaborative learning has been a promising strategy for developing machine learning models across dispersed data sources while preserving data security and privacy. Organisations can collaborate on model training using this decentralised learning paradigm without disclosing their raw data. Amazon Web Services (AWS) offers a solid platform for creating cloud-native architectures for vertical federated learning by utilising the power of the cloud.

Understanding Vertical Federated Learning: Vertical federated learning focuses on scenarios where different organisations possess complementary data attributes about the same set of individuals or entities. For instance, a bank and an insurance company may have customer data with different attributes such as transaction history and insurance claims. Vertical federated learning enables collaboration between these organisations to build models that leverage collective knowledge while preserving data privacy.

Stay ahead of the industry with exclusive feature stories on the top companies, expert insights and the latest news delivered straight to your inbox. Subscribe today.

Data Preparation and Partitioning: The first step in building a cloud-native architecture for vertical federated learning is to prepare and partition the data. Each participating organisation needs to pre-process and anonymise its data while preserving the relationships between attributes. The data is then partitioned vertically, ensuring that each organisation retains its data attributes while sharing identifiers.

Setting up AWS Infrastructure: AWS offers a range of services that are well-suited for building a cloud-native architecture for vertical federated learning. Some key services to consider are:
a. Amazon S3: Amazon Simple Storage Service (S3) provides scalable object storage for storing partitioned data. Each organisation can securely upload their data to their respective S3 buckets.
b. AWS Lambda: AWS Lambda allows you to run serverless functions in response to events. You can use Lambda functions to trigger pre-processing tasks on the uploaded data, such as data validation, cleaning, and feature engineering.
c. Amazon SageMaker: Amazon SageMaker offers a fully managed platform for building, training, and deploying machine learning models. SageMaker provides pre-built algorithms and frameworks suitable for federated learning, such as TensorFlow Federated (TFF) and PyTorch.
d. AWS Glue: AWS Glue is a fully managed extract, transform, and load (ETL) service. It can be used to transform and prepare the data for training, including schema mapping and data normalisation.

Implementing Vertical Federated Learning: Once the AWS infrastructure is set up, the next step is to implement the vertical Federated learning process. This involves the following steps:
a. Model Development: Each organisation develops its local model using its partitioned data. This initial model serves as the starting point for federated learning.
b. Model Exchange: Organisations exchange model parameters with each other while preserving the privacy of their local data. Secure techniques like homomorphic encryption or differential privacy can be employed to ensure privacy during the model exchange.
c. Model Aggregation: The exchanged model parameters are aggregated using privacy-preserving techniques such as secure multi-party computation or federated averaging. This aggregation process helps in leveraging the collective knowledge from multiple organisations without exposing sensitive data.
d. Iterative Training: The model aggregation step is repeated iteratively, allowing organizations to refine the model collaboratively. The federated learning process continues until the desired level of model performance is achieved.

Evaluation and Deployment: After completing the iterative training process, the final federated model is evaluated for performance. Each organisation can assess the model's effectiveness using its local validation data. Once satisfied, the model can be deployed on AWS for inference, either as a real-time endpoint using Amazon SageMaker or as a batch processing pipeline using AWS Batch.

A cloud-native architecture for vertical federated learning on AWS offers several benefits, including efficient data collaboration, scalable and flexible infrastructure, data privacy and security, and advanced machine learning capabilities. AWS provides robust security measures to protect data in transit and at rest, as demand for privacy-preserving machine learning increases. AWS provides an extensive ecosystem of services, tools, and frameworks that can be integrated into a cloud-native architecture for vertical federated learning. Future Outlook: AWS is likely to enhance its offerings and introduce new services to cater to the demand for privacy-preserving machine learning techniques. Edge computing and 5G networks could further complement cloud-native architectures for federated learning.

Implementing a cloud-native architecture for vertical federated learning on AWS provides organisations with a powerful and secure framework for collaborative model training while preserving data privacy. Organisations may efficiently manage data storage, pre-processing, model building, and aggregation by using AWS services like S3, Lambda, SageMaker, and Glue.

Organisations can improve the model together without endangering sensitive data owing to the iterative training process and privacy-preserving measures. The resulting federated model can be tested and deployed on AWS for batch processing or real-time inference. Building a cloud-native architecture for vertical federated learning on AWS enables enterprises to use distributed data's potential while upholding strict privacy and security standards, improving model performance and fostering more industry collaboration.

More in News

Large language models (LLMs), the backbone of today’s generative AI, have quietly transformed the way machines understand and produce human language. What once seemed like a distant dream is now a reality—these models craft stories, compose poetry and tackle complex questions, unlocking a new era of AI-driven possibilities. The origins of LLMs can be traced back to the breakthrough paper on neural machine translation in 2014, which introduced the attention mechanism. This was further refined in 2017 with the release of the transformer model, significantly enhancing data processing efficiency. Modern LLMs, such as OpenAI’s GPT series and Google’s BERT, are built on this transformer foundation, driving the impressive capabilities witnessed today across the globe.  Innovations Shaping the Future of Modern LLMs Several influential LLMs are currently shaping the AI landscape, driving advancements in natural language processing and setting the blueprint for the next generation of intelligent systems. Here are a few models leading the charge: Claude Developed by Anthropic, Claude focuses on constitutional AI, ensuring that its outputs are guided by principles aimed at making interactions helpful, harmless and accurate. The most recent iteration, Claude 3.5 Sonnet, stands out for its improved ability to comprehend nuance, humour and complex instructions, making it adept at handling a wide range of tasks. In October 2024, Claude was further enhanced with the introduction of a computer-use AI tool, allowing it to operate a computer in a manner akin to human interaction. This new feature is available through the Claude iOS app and an API, making it more accessible for developers and users seeking a sophisticated, versatile AI experience. DeepSeek R-1 DeepSeek-R1 is an open-source reasoning model designed to tackle tasks that demand complex reasoning, mathematical problem-solving and logical inference. The model continuously refines its ability to solve intricate problems by leveraging reinforcement learning techniques, enhancing its overall effectiveness. It also excels in critical problem-solving scenarios by utilising self-verification, chain-of-thought reasoning and reflective processes, allowing it to approach challenges with a higher degree of accuracy and precision.  Merit Data and Technology , recently recognized as the Top AI-Driven Data Solutions Provider in UK by CIOReview Europe  has been at the forefront of utilizing data-driven solutions to optimize e-commerce platforms. Their innovative approach to AI integration and data management has made significant contributions to the industry's growth. Ernie   Since its launch in August 2023, the Ernie 4.0 chatbot has rapidly gained popularity, amassing over 45 million users. While Ernie is rumoured to be equipped with an impressive 10 trillion parameters, its capabilities extend beyond sheer size. The model excels primarily in Mandarin, offering highly refined performance in the language while also being proficient in other languages.  Falcon   Developed by the Technology Innovation Institute, Falcon is a family of transformer-based models renowned for its open-source nature and multilingual capabilities. The Falcon 1 series further expands the model's versatility with larger variants, such as Falcon 40B and Falcon 180B, designed to handle more demanding tasks and enhance performance.  Meanwhile, Falcon 2 stands out with an impressive 11-billion-parameter version that supports multimodal functionality, enabling it to process text and visual data. These models are freely available on GitHub and can also be accessed through major cloud platforms, including Amazon Web Services. Gemini  Replacing the earlier PaLM model, Gemini introduced a rebranding of Google’s chatbot from Bard to Gemini. This model can process text, images, audio and video, making it exceptionally versatile for various applications. Among the most notable recent updates is the Gemini 1.5 Pro, released in May 2024, which brought significant improvements in performance. Gemini is also accessible as a web-based chatbot through Google’s Vertex AI service and via API, allowing developers and businesses to tap into its capabilities. Early previews of the Gemini 2.0 Flash, introduced in December 2024, offer even more advanced multimodal generation capabilities, marking a significant leap forward in AI-driven content creation. Gemma With their open-source nature and versatile deployment options, Gemma models provide a valuable resource for a wide range of natural language processing tasks. Developed by Google, these open-source language models are trained on the same high-quality resources as Gemini. Its Gemma 2 model offers two distinct versions—a 9 billion parameter model and a 27 billion parameter model—each designed to cater to different performance needs.  As new models continue to emerge, enhancing and challenging the status quo, it becomes clear that the pace of innovation in this field shows no signs of slowing down. The future promises even more groundbreaking advancements, making it an exciting time for AI enthusiasts and developers. ...Read more
Across Europe, businesses continually strive to optimise operations, reduce costs, and enhance customer experiences. In this environment, smart packaging emerges as a transformative solution, providing significant economic advantages that yield a robust return on investment (ROI). Smart packaging goes beyond protection by integrating advanced technologies such as sensors, indicators, and radio frequency identification (RFID). This evolution transforms packaging into a sophisticated information hub that enables real-time monitoring of critical parameters. For instance, temperature control is vital for maintaining optimal pharmaceutical, food, and beverage conditions. Freshness monitoring extends shelf life by detecting spoilage indicators in perishable goods. Additionally, integrity checks identify tampering or damage during transit, thereby minimising product loss, while location tracking improves logistics efficiency by providing real-time updates throughout the supply chain. The economic benefits of smart packaging contribute to reduced waste and improved efficiency. By monitoring freshness, smart packaging helps prevent spoilage and supports targeted promotions, addressing the €143 billion annual food waste cost in the EU, as highlighted by a 2023 European Parliament study. Furthermore, real-time tracking enhances route planning, reduces fuel consumption, and shortens delivery times, potentially decreasing logistics costs by 10-15 per cent. Smart packaging enhances brand image and customer engagement. It fosters transparency by providing information about product origin, sustainability practices, and usage instructions, which builds consumer trust and loyalty. NFC-enabled smart packaging can also create interactive experiences on consumers' smartphones, offering personalised promotions and recipes. Further, smart packaging improves inventory management and reduces costs. It provides valuable data for demand forecasting, allowing businesses to optimise production and inventory levels, thus decreasing stockouts and overstocking. Some solutions also integrate with authentication systems to combat counterfeiting, a significant European issue costing businesses an estimated €600 billion annually. The return on investment (ROI) for smart packaging depends on factors such as product type, targeted benefits, and scale of implementation. Although the initial costs may be higher than traditional packaging, the long-term economic benefits often outweigh the upfront investment. Cost reductions from minimised waste, optimised logistics, and anti-counterfeiting measures contribute significantly to ROI, while enhanced brand image and potential premium pricing can further boost revenue. Recent trends in the European landscape emphasise sustainability and data privacy. European regulations and consumer preferences are driving a shift towards sustainable packaging solutions, and smart packaging supports this by utilising recyclable materials and optimising resource use. Additionally, compliance with GDPR (General Data Protection Regulation) is crucial as smart packaging collects and transmits data. Businesses must implement robust data security measures to ensure they meet regulatory requirements. Smart packaging has transitioned from a futuristic concept to a strategic investment with substantial economic benefits for European enterprises. Smart packaging paves the way for a more sustainable, efficient, and profitable future by minimising waste, optimising logistics, and improving customer interactions. As technology advances and costs decrease, smart packaging is set to become the standard, reshaping the European packaging industry. ...Read more
The fusion of 5G technology and the Internet of Things (IoT) is poised to transform connectivity and communication in the digital age. Across Europe, this convergence is rapidly advancing, unlocking new opportunities for innovation, economic growth, and an enhanced quality of life. IoT's Role in Transforming Industries The Internet of Things involves connecting everyday devices to the Internet, enabling them to send and receive data. This connectivity has the potential to transform industries such as healthcare, agriculture, transportation, and smart cities. In Europe, the adoption of IoT solutions is rapidly increasing as businesses seek to enhance efficiency, reduce costs, and create new revenue streams. 5G-IoT Synergy Unleashes Potential:  The synergy between 5G and IoT is a game-changer. The enhanced speed and low latency of 5G networks enable real-time communication between devices, opening up possibilities for applications that demand instantaneous response times. This includes autonomous vehicles, smart grids, and remote healthcare monitoring, among others. Smart Cities in Europe:  European cities are at the forefront of leveraging 5G and IoT synergy to build smart, connected urban environments. From intelligent traffic management and waste disposal to efficient energy usage, smart cities in Europe are embracing technologies that enhance the quality of life for citizens while promoting sustainability and resource efficiency. Industrial IoT (IIoT) in Europe:  The manufacturing sector in Europe is undergoing a digital transformation with the integration of 5G and IoT. Industrial IoT (IIoT) applications, such as predictive maintenance, supply chain optimisation, and remote monitoring, are becoming integral to improving productivity and competitiveness in the global market. Investments and Collaborations:  The European landscape is witnessing significant investments in 5G infrastructure and IoT technologies. Governments, telecom operators, and businesses are collaborating to build a robust ecosystem that facilitates the deployment of 5G networks and the proliferation of IoT devices. Towards a Connected Future:  The synergy between 5G and IoT is propelling Europe towards a connected future where the digital and physical worlds seamlessly integrate. As technology continues to evolve, European nations are positioning themselves as leaders in the global digital economy, driving innovation and creating sustainable solutions for the challenges of the 21st century. The synergy between 5G and IoT in the European landscape marks a transformative phase in the way people live and work. As the integration of these technologies advances, the region is poised to lead the world in harnessing the full potential of the connected era, bringing about unprecedented advancements in various sectors and improving the overall quality of life for its citizens. ...Read more
AI is transitioning from experimentation to enterprise adoption. AI tools are being used to analyse language, create content, support decision-making, and automate workflows and data-heavy tasks. The change marks the evolution of AI's adoption in European businesses from a standalone technology program to becoming one of the layers of enterprise technology architectures. Many European businesses, especially those with 10 or more workers, are using AI technologies. Demand for adoption is seen to be much higher for large enterprises than for small enterprises, with an increasing gap in capability between them. Enforcement powers and a number of additional transparency requirements apply to these, such as rules regarding some interactive AI systems, AI-generated content, and content that has been altered by such systems. Organisations must have governance processes in place that are not installed after technology is deployed, but work with the technology deployment. The European market differs considerably by country. The differences point to the influence of digital infrastructure, workforce capabilities, investment capacity and national strategies rather than a uniform European adoption curve. Organisations use AI to interpret documents, generate and analyse language, detect patterns in data, support customer interactions, automate repetitive processes and assist employees with research or decision-making. Shaping Europe's Future AI Revolution in Businesses The strongest shift is from standalone pilots toward AI embedded in existing workflows. Businesses increasingly want systems that connect with enterprise data, applications and established processes rather than tools that operate separately from everyday work. That requirement is raising expectations around integration, data quality, security, governance and measurable business outcomes. AI adoption is becoming closely connected to productivity and knowledge work. Language analysis, document processing, software development, customer support and internal knowledge retrieval can benefit from systems that reduce manual effort or help employees work through large volumes of information. The opportunity is particularly relevant in organisations where specialised expertise is distributed across large workforces. The implication for enterprise buyers is significant: successful AI deployment depends on the surrounding digital foundation as much as on the model or application selected. Organisational maturity will be the key to the next step of Artificial Intelligence Europe. Simple implementations can show that an AI tool is capable of working, but in the case of more advanced implementations, it will also set up clear ownership, data controls, evaluation processes, security measures and mechanisms for monitoring performance after deployment. They mark areas where human input is still needed and how workers use the automated suggestions. Scaling AI Success beyond Pilot Projects Effortlessly Data architecture will continue to be one of the main differentiators. Reliable, accessible, and well-managed information is vital to the application of AI. Other models can be helpful, but become less so if they are not consistent, if they have limited access or if they are not fragmented. Data preparation and integration are thus essential to the AI strategy, not just housekeeping duties, in European organisations. Organisations are getting pickier about pilots that produce good demonstrations, but struggle to find a path to ongoing value. But in today's market, proof that an application can integrate with existing systems and can run within governance requirements and provide benefits that outweigh costs of infrastructure, licensing, implementation and change management is increasingly required by buyers. Business teams need enough understanding to identify suitable use cases, evaluate outputs and recognise limitations. The European Commission has continued to identify digital skills shortages as a structural challenge, making workforce development an important part of enterprise AI planning. Generative AI has expanded the addressable use cases further by making advanced capabilities accessible through familiar interfaces. Navigating the New Frontier of AI Value The uptake of AI is expected to be more widespread in Europe, but still uneven. Large organisations can establish data foundations, teams and governance, whereas smaller companies might rely more heavily on packaged applications and external experts. Skill and integration limitations will remain key factors in adoption, but the gap could contract as AI capabilities become more readily available. The regulatory environment will also shape product design and enterprise procurement. Transparency, documentation, risk management and accountability are becoming part of the practical requirements surrounding AI deployment. The European Commission’s recent guidance on transparency obligations reinforces the importance of understanding not only what an AI system can do but also how its outputs must be disclosed and governed. Europe is moving into a new era where having to do the job right is as important as having the technology to do it. Companies that align AI investments with specific business tasks, trusted data, and staff readiness and oversight will be better prepared to progress from experimentation to application. This category's next milestone will not be in the number of pilots that get launched, but rather how much AI is integrated into sustainable enterprise systems. ...Read more
Top