Brave Software improves its web browser using machine learning on AWS

Through their passions for user privacy and browser performance, two tech pioneers have learned how to harmoniously unite advertisers and users while supporting content contributors online.

Brave logo Branche SaaS & ISV, Technology Herausforderung

Brave built a machine-learning model to classify websites for browser advertising and required a robust way to deploy, manage and audit its machine learning models for its 30 million monthly active users and 1 million+ verified publishers.

Lösungen Artificial Intelligence & Machine Learning Plattformen Amazon Web Services (AWS)

Professional & Managed Services

Professional Services

The challenge of scaling an innovative new browser

With several popular web browsers entrenched in the marketplace, it might seem like the world doesn’t need another one. But the Brave browser was born out of a perceived need to better align user privacy with content creator contributions and advertiser investments. Brave gives users a fast and private web experience, helps advertisers achieve better conversions and helps publishers increase their revenue share.

Brave’s machine learning functionality was designed to make predictions and classify websites into different categories. Based on the content of the sites, Brave can automatically determine what type of websites they are and predict how they will behave from an advertising perspective.

The browser has a unique user attention model for realizing revenue from advertising. Brave combines privacy with a Basic Attention Token (BAT) blockchain-based digital advertising platform. Users can opt-in to privacy-respecting ads that reward them with BAT, an ERC20 token built on top of Ethereum, which they can redeem to tip or contribute to publishers and other content creators.

In a short timeframe, the browser’s unique data privacy features, revenue model and rewards system attracted over thirty million monthly active users and nearly one million verified publishers. In mid-2020, Brave focused on fulfilling its promise of supporting advertisers and content creators and to sustain its early growth trajectory. While the web browsing technology was solid, its machine-learning foundation was not yet strong enough to scale efficiently.
 

“We are incredibly satisfied with Rackspace and the AWS Jumpstart project. Thanks so much to AWS for offering this to us. We’re appreciative right up to the CEO. It substantially improved the way we created and deployed new models, which has helped us to be much more responsive to advertisers’ needs.”
Jimmy Secretan, VP of Services and Operations, Brave Software
Brave

Improving machine learning predictions

The Brave team of two data scientists and a DevOps specialist created the browser functionality with a fairly basic deployment model. But to improve the local machine learning models advertisers depended on, the model pipeline had to be much more robust and scalable.

The first step for Brave Software was to move its machine-learning model creation to the cloud. Brave worked with Amazon Web Services (AWS) to make the move. When it came time to bring more power to its machine learning models, the AWS representative suggested working with a specialist in developing machine learning architectural patterns. The rep recommended  Rackspace Technology. Rackspace is a leading AWS Partner Network (APN) Premier Consulting Partner.

“I recommended Rackspace as a partner, based on their established expertise on AWS, and especially their past successful MLOps Foundations deployments for machine learning operations,” said Brennan Demro, an account manager at AWS. “What’s more, Rackspace takes a unique approach to working backward from the customer’s goals and building an engagement model that fits the customer to ensure success. This approach is exactly what Brave Software needed.”

Rackspace is one of only a few service providers to have achieved AWS Machine Learning Competency status. This designation recognizes Rackspace for demonstrating deep expertise in machine learning experience on AWS, and for delivering its solutions seamlessly in the cloud, solving organizations’ data challenges, and enabling machine learning and data science workflows. The unique combination of expertise in AWS services and machine learning made Rackspace an ideal partner for Brave.

Brave

"I recommended Rackspace as a partner, based on their established expertise on AWS, and especially their past successful MLOps Foundations deployments for machine learning operations.”

Brennan Demro, Account Manager, AWS
Brooks Macdonald

Leveraging AWS Services and MLOps Foundations

Before working with Rackspace, Brave’s process involved several manual steps, including evolving the machine learning model on a local computer, uploading the model to AWS S3 and pushing it out onto a CI/CD pipeline. Also, training the models took several days. Brave needed a more robust pipeline and fully automated processes.

First, Rackspace modified the cloud infrastructure to prepare for automating the machine learning functionality using a wide range of AWS services, including AWS SageMaker for executing machine learning model training.
AWS Lambda invoked Jenkins endpoints. AWS CodePipeline provided a CI/CD service to continuously train and deploy the machine learning models. AWS CodeCommit provided a source code repository. AWS Systems Manager provided storage at the perimeters, and Amazon S3 stored machine learning training data.

The project was funded through AWS Jumpstart, which helps start-up companies launch new services like SageMaker. Rackspace is one of the few service providers qualified to provide services for Jumpstart partnerships.

To create a structured way of deploying machine learning models, Rackspace employed its own MLOps Foundations, which are cloud-based pipelines that simplify machine learning operations by ensuring consistent and traceable model development, training and deployment. It provides an architecture pattern for companies that need to bring that CI/CD pipeline rigor and best practices to their machine learning deployments.

MLOps empowers data scientists to be more efficient and productive. Automating machine learning model creation also supports the privacy component that Brave brings to the table, because power models allow data to stay on the user’s device, without sending user data to the cloud.

“We are incredibly satisfied with Rackspace and the AWS Jumpstart project,” said Jimmy Secretan, Brave’s VP of Services and Operations. “And we appreciate AWS for offering it to us — right up to our CEO. It substantially improved the way we created and deployed new models, which has helped us to be much more responsive to advertisers’ needs.

Completing the project ahead of schedule

While the infrastructure component of thedevelopment project was straightforward, Brave had an aggressive deadline of six weeks. Plus, Brave modified the deployment model midstream and Rackspace had to shift gears.

Another challenge was modifying the existing machine learning model, which was a natural language processing model. It needed to be optimized to run on the cloud in a reasonable amount of time. This adjustment helped keep costs manageable.

The Rackspace team also trained the Brave team on how to use the unique MLOps framework, including how to deploy and troubleshoot it. Even with the needed changes to the model’s architecture, Rackspace completed the deployment ahead of schedule.

Making the difference in growth potential

Along with critical improvements in its machine learning models, Brave also gained several benefits from its Rackspace partnership. The model design through MLOps Foundations helped Brave accelerate training, publishing and deploying new models to provide better predictions for browser advertisements.

Model training was reduced from several days to six hours. Also, the streamlined deployment process requires only a few hours instead of a few days, as it previously had. And infrastructure costs dropped by 50%, thanks to purchasing spot instances on an AWS auction service instead of purchasing a dedicated platform.

Brave’s software quality has improved thanks to a new notification and approval process that it didn’t have before. Now, when machine learning model training is complete, the team can review the metrics and accept or reject the updates before they are deployed to production.

“Having this essential QA functionality helps us deliver more robust browser software to our users,” said Secretan.

Model training was reduced from several days to six hours, deployments are faster and infrastructure costs were reduced by 50%.

Über Rackspace Technology

Wir von Rackspace Technology sind die Experten für Multicloud-Lösungen. Wir erstellen durch die Kombination unserer Expertise mit den weltweit führenden Technologien lückenlose Lösungen und berücksichtigen dabei Anwendungen, Daten und Security. Wir verfügen über eine nachweisbare Erfolgsbilanz bei der Beratung von Kunden zu ihren individuellen geschäftlichen Herausforderungen. Wir entwerfen, erstellen und verwalten skalierbare Lösungen und optimieren die Rendite mit Blick auf die Zukunft.

Als bahnbrechender globaler Multicloud-Technologieanbieter stellen wir Ihnen die innovativen Fähigkeiten der Cloud zur Verfügung, um Kunden beim Erschließen neuer Umsatzquellen, der Effizienzsteigerung sowie der Schaffung beeindruckender Erlebnisse zu unterstützen. Wir zählen Jahr für Jahr laut Fortune, Forbes und Glassdoor zu den besten Arbeitgebern und fördern erstklassige Talente. So profitieren unsere Kunden von konkurrenzlos guter Expertise. Die Grundlage unseres gesamten Handelns bildet unser unermüdlicher Einsatz für den Erfolg unserer Kunden – unsere Fanatical Experience™. Wir sorgen dafür, dass unsere Kunden schneller und intelligenter arbeiten können und stets einen Schritt voraus bleiben.

Verkauf

Let’s Talk Strategy

Tell us a little about your challenges and we’ll contact you.

Bitte füllen Sie dieses Formular aus, wenn Sie von einem Spezialisten kontaktiert werden möchten.

CAPTCHA

You may withdraw your consent to receive additional information from Rackspace Technology at any time. Information collected in this form is subject to the Rackspace Technology Privacy Notice.

Support

Rackspace Technology Support

To create a ticket or chat with a specialist regarding your account, log into your account.

Support Phone

0800 006673

International Support

+1-512-361-4935  

Karriere

Rackspace Technology Careers

Rackspace Technology accelerates the value of the cloud during every phase of a customer’s digital transformation. Join us on our mission.