Scalable variable density clustering using propagation in networks

Large-scale variable density clustering: efficient propagation in graphs for millions of points. Improve your data analysis.

14 jul 2026 • 4 min read • Q2BSTUDIO Team

Connection between clustering and propagation in graphs

In the era of Big Data, the analysis of large volumes of information has become a strategic pillar for companies in all sectors. However, one of the most persistent challenges remains clustering data with varying density, especially when the dimensions are multiplied. Classic algorithms such as DBSCAN or OPTICS offer partial solutions, but they often fail when scaling to millions of points or handling inhomogeneous distributions. This is where an innovative approach emerges: propagation in adaptive graphs, which reinterprets clustering as a dynamic process of labeling on neighborhood networks.

The central idea is simple but powerful: build a graph where each node represents a piece of data and the edges connect those that are close enough according to a distance metric. But instead of using a fixed threshold—which ignores local variations in density—this method dynamically adjusts the neighborhood radius based on the surrounding density. Thus, dense regions are more restrictively connected, while dispersed areas support longer links. The result is a graph that faithfully reflects the underlying structure of the data, allowing a label propagation algorithm (such as classic label propagation) to traverse natural communities without artificial bias.

The key to success lies in scalability. Building an exact neighborhood graph for millions of points in high dimension is prohibitive (quadratic cost). For this reason, modern implementations resort to random projection techniques and approximate search of near neighbors, drastically reducing computational complexity without sacrificing the quality of clustering. This balance between accuracy and speed allows data sets of up to several million records to be processed in a matter of minutes, which is unthinkable with methods based on full distances.

From a practical standpoint, this technique opens the door to real-world applications that require large-scale, unsupervised segmentation. For example, in artificial intelligence applied to marketing, it is possible to group customers according to extremely heterogeneous purchasing patterns, identifying micro-segments that escape traditional methods. In cybersecurity, the detection of anomalies in network traffic benefits from graphs that capture normal behaviors at different intensities of activity. And in the realm of computational biology, identifying cell subtypes from gene expression data—where density varies enormously between rare and abundant populations—becomes much more accurate.

For organizations that want to implement this type of analytics at scale, integration with modern infrastructures is critical. AWS and Azure cloud services provide the elastic compute needed to run propagation algorithms on graphs over terabytes of data, while business intelligence tools such as Power BI allow you to visualize the resulting clusters and make data-driven decisions. At Q2BSTUDIO, we understand that every business has unique needs; That's why we offer bespoke applications that combine advanced clustering techniques with custom workflows, ensuring that the knowledge extracted translates directly into competitive advantage.

A specific case is the development of tailor-made software for logistics companies that need to group delivery routes with highly variable order densities. Using an adaptive neighborhood graph and label propagation, it is possible to generate clusters of geographical areas that minimize transport times, even when some areas have a high concentration of deliveries and others are widely dispersed. This type of solution easily integrates with cloud services to scale during peak demand, and the results are visualized in Power BI dashboards that show real-time route efficiency.

In addition, the unsupervised nature of the method allows autonomous AI agents to learn data structures without the need for pre-tags. For example, a recommendation system based on graph propagation can uncover communities of users with like-minded tastes—even if those likes are rare—and generate highly personalized suggestions. This is especially valuable on e-commerce platforms where the long tail of products requires dynamic groupings that can't be predefined by experts.

The evolution of these algorithms is also driving new capabilities in AI for businesses. By combining graph propagation with neural networks, architectures such as Graph Neural Networks (GNN) emerge that learn representations of nodes and edges end-to-end. Although computationally more expensive, these approaches can further refine clustering when partially labeled data is available. At Q2BSTUDIO, we help companies choose the right strategy—from purely geometric methods to hybrid models—and deploy them on optimized cloud infrastructures, whether on AWS, Azure, or on-premise environments.

However, the adoption of these techniques is not without its challenges. The choice of distance metric and neighborhood parameters still requires expert judgment, especially when the data has noise or irrelevant dimensions. That's why we recommend an iterative approach: start with a lightweight propagation model, validate the clusters with internal metrics (silhouette, Davies-Bouldin), and adjust the graph construction using dimensionality reduction techniques such as t-SNE or UMAP. Our AI consulting team advises clients at every step, from defining the problem to putting the entire pipeline into production.

If your organization handles large volumes of unstructured data and needs to segment it efficiently, we invite you to explore how graph propagation can transform your analysis. At Q2BSTUDIO we develop artificial intelligence solutions for companies that integrate scalable clustering, visualization in Power BI and cloud deployment. We also offer AWS and Azure cloud services to ensure your big data workloads run at peak efficiency and security. Contact us and find out how we can help you extract hidden value from your data, even in the most complex density scenarios.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.