Applying JEPA-style predictive learning to JA4 network footprints

JEPA-style predictive learning applied to JA4 network footprints. Our Transformer model achieves 0.9899 cosine similarity and 0.9220 accuracy in

11 jul 2026 • 5 min read • Q2BSTUDIO Team

Network Footprint Embeddings with JEPA

The field of cybersecurity and network traffic analysis has undergone a quiet but profound transformation in recent years. It is no longer enough to inspect packages or look for known signatures; Attackers have learned to camouflage themselves, to encrypt their communications and to mutate their patterns. In this scenario, network fingerprints — those sets of features drawn from the behavior of protocols — have become a valuable source of intelligence. However, the real challenge is not just getting those fingerprints, but learning useful representations from them without relying on manual labels. This is where an idea comes into play that comes from the world of computer vision: JEPA-style predictive learning (Joint Embedding Predictive Architecture), now adapted to JA4 network footprints.

To understand the leap that this approach represents, it is worth remembering how traditional methods of self-supervised learning work in networks. Many models are trained by reconstructing the original input—such as autoencoders—or by using contrasts between pairs of samples. But JEPA proposes something different: instead of regenerating the input data, the model learns to predict latent representations of one piece of information from another, using the output of a target encoder as a guide. This principle, which has already proven itself in images and videos with I-JEPA and V-JEPA, has now been transferred to the domain of JA4 network footprints, an emerging standard for traffic identification based on capturing the first bytes of TLS, DNS, and SSH connections.

The fascinating thing about this adaptation is that it does not need each sample to contain all the views of the footprint. Datasets such as JA4DB and CIC-IDS-2017, which total about 397,000 samples, exhibit natural incompleteness: a TLS connection can have JA4 and JA4S, but not JA4H, and vice versa. The transformer-based JA4-JEPA model is trained precisely to deal with this heterogeneity, learning to align the latent representations of the different subfields without requiring a complete view of each sample. The results, measured with a frozen kNN classifier on 39,416 test samples, yield a cosine similarity of 0.9899 and an accuracy of 92.2% in the classification of protocol families. These are figures that indicate that the learned representations capture relevant semantic information, even when the overlap between views is partial.

From a technical perspective, what makes this method attractive is its ability to generate dense and compact embeddings – the original article speaks of 'compact network footprints' – that can be reused in subsequent tasks such as classification, anomaly detection or clustering. Instead of relying on manual feature engineering, the model discovers for itself the underlying relationships between the various fields in JA4 (such as encryption, TLS version, key exchange algorithms, and so on). This is especially relevant in environments where traffic is constantly changing: browser updates, new protocol implementations, or even attacks that intentionally modify footprints.

Now, what implications does this have for a company looking to strengthen its cybersecurity or integrate artificial intelligence into its operations? The answer lies in the ability to extract value from unlabeled data. In a world where generating tags for every possible traffic variant is unfeasible, methods such as JA4-JEPA allow you to build monitoring systems that learn continuously, adapting to new threats without human intervention. For example, a security team could train a model on their network's historical traffic and then use the obtained embeddings to detect deviations that indicate a 'man in the middle' attack or a malicious DNS tunnel.

But JEPA-style predictive learning isn't limited to cybersecurity. Their philosophy—predicting representations rather than reconstructing inputs—has direct applications in other fields where data is heterogeneous and partial. Think of recommender systems, financial time series analysis, or even the fusion of sensor data in industrial environments. In all of these cases, the ability to learn representations invariant to the partial absence of information can dramatically reduce the need for complete, labeled data. For a development company like Q2BSTUDIO, this translates into the ability to offer bespoke applications that incorporate AI models trained on the customer's own data, without requiring costly manual annotation processes.

In addition, the transformer architecture used in JA4-JEPA is easily scalable and can be integrated with cloud platforms. Companies that already use AWS and Azure cloud services can deploy these models as serverless containers or as part of data pipelines managed by business intelligence services, where the generated embeddings feed Power BI dashboards to visualize anomalous behavior in real time. The combination of process automation with this type of learning allows, for example, an intrusion detection system to be automatically retrained every night with the new data, improving its accuracy without intervention from the security team.

However, it is worth realistic: the promising results of JA4-JEPA have been obtained in a relatively controlled environment, with datasets that, although varied, do not represent the full complexity of a real corporate network. Moving to production environments will require adjustments to view selection, normalization of fields, and likely the inclusion of additional data such as timing or package sizes. In addition, the current model has been evaluated only in the classification of protocol families; For finer tasks, such as identifying specific applications or detecting malware variants, more experiments will be needed. Even so, the path is traced.

From a business perspective, the adoption of techniques such as JA4-JEPA fits perfectly into an AI strategy for companies looking to not only protect their assets, but also optimize their operations. Today, any organization that handles network traffic can benefit from a system that automatically learns to distinguish between normal and anomalous patterns, reducing false positives and freeing up the security team for higher-value tasks. And if this system can also be deployed on existing cloud infrastructure, the entry cost is minimal.

In conclusion, the application of JEPA-style predictive learning to JA4 network footprints represents a step forward in the right direction: less label dependency, greater robustness to incomplete data, and more compact and useful representations. While still an emerging technique, its potential to transform the way we understand and monitor network traffic is enormous. For companies like Q2BSTUDIO, which specialize in custom software, artificial intelligence and cybersecurity, integrating these capabilities into customized solutions is an opportunity to offer their customers a real competitive advantage based on data and machine learning. The network speaks, and with methods such as JA4-JEPA, we are learning to listen to it without the need for it to tell us everything it wants to say.

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.