Case studies / Nomad

Bringing good news to thousands of readers around the world

Underwater coral reef with fish swimming around and a digital card displaying a headline about coral reef full recovery within 4 years and a happiness score of 96.

70%+

Reduction in fake news, verified by the Nomad content team

94%+

Accuracy, verified by the Nomad content team

200,000+

News articles and posts used for training

TL;DR

Nomad runs a mobile app that spreads positive news, but identifying positive stories is hard when coverage is dominated by negative news.

We built a news classification engine on XLNet, orchestrated in Airflow with Spark preprocessing, PostgreSQL storage and automatic retraining when recall drops.

The engine reached 94%+ accuracy and cut fake news by over 70%, with 89% recall on production data.

Nomad built a mobile news app that spreads positive news to thousands of readers around the world, as a way to support mental health.

We helped develop a news classification engine that scans RSS feeds, news sites and search crawlers daily to identify positive news and push it to readers in the Goodable app

The challenges

Identifying positive news is hard in environments dominated by negative coverage.

1. Sentiment hidden in context

Nuanced context can obscure sentiment, so simple classifiers misread articles.

2. Volume of negative news

Positive stories have to be found reliably amid overwhelming negative coverage.

What we built

1. An XLNet classification model

XLNet models use transformer architecture and excel at understanding complex relationships in text and detecting subtle sentiment cues, enabling reliable classification even amid negative news.

Flowchart of data engineering workflow showing data engineer interacting with user interface and airflow.cfg, leading to data processing, model training, batch evaluation, and predictions with authorization of DAGs.

2. A daily inference pipeline

A unified Airflow workflow runs daily as a batch job, capturing all news published during the day:

Aggregates articles from multiple sources into PostgreSQL

Pulls the latest model artifacts from S3

Cleans and transforms data with Apache Spark

Runs predictions and saves results to the backend database

3. Retraining on performance decay

A separate training pipeline retrains the model when recall falls below 85%. Experts review predictions daily, focusing on high-risk articles labeled positive, and the model achieved 89% recall on production data.


Mobile app interface showcasing three screens including a detailed article on coral reef recovery, a home screen with top stories and daily boosts, and a profile page with reading goals and stats.

Conclusion

The classification engine improved content quality and reliability on the platform, reducing fake news by over 70% with 94%+ accuracy, trained on more than 200,000 curated news articles and posts.

Building a machine learning pipeline that has to stay accurate in production? Get in touch.

70%+

Reduction in fake news, verified by the Nomad content team

94%+

Accuracy, verified by the Nomad content team

200,000+

News articles and posts used for training

Use case: AI, machine learning, design | Industry: news

Model: XLNet transformer classifier

Orchestration: Apache Airflow, daily batch | Processing: Apache Spark

Storage: PostgreSQL, model artifacts on S3 | Retraining: triggered when recall drops below 85%

FAQ

How do you build an AI positive news classifier?

Train a transformer model such as XLNet on curated articles, and run it in a daily Airflow pipeline that aggregates sources, preprocesses with Spark and stores predictions.

How do you keep a news classification model accurate after launch?

Have experts review high-risk predictions daily, track recall, and retrain automatically when recall falls below 85%.

Why use a daily batch instead of streaming?

A daily batch captures all news published during the day and produces consolidated predictions at day's end, which matched the business need.

What results did the engine deliver?

94%+ accuracy, over 70% less fake news and 89% recall on production data. See what we learned deploying AI in production.

About Nomad
Nomad builds a mobile app, Goodable, that brings positive news to thousands of readers around the world.
Tags
Product
Tech stack
XLNet
Airflow, Spark
PostgreSQL, S3
Want similar results?
We build AI agents and software for teams ready to move faster.
Get in touch
contact image