Modeling Functional Logic to Combat Temporal Concept Drift

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 124 papers27 conceptsfrozen 2026-10-04

In machine learning, "concept drift" is the silent killer of model accuracy. A detector trained to identify malware or fake news today often becomes useless a year later because the environment changes: attackers obfuscate their code, social media trends shift, and software APIs evolve. Traditionally, developers have fought this by constantly retraining models on new data—a costly and reactive "cat-and-mouse" game.

However, a growing body of research suggests a more resilient path. By shifting focus from surface features (like specific file signatures or keywords) to functional logic (the underlying "mission" or behavior of a process), researchers are building models that remain accurate for years without retraining.

The Fragility of Surface Features

Most classifiers rely on "syntactic" features—the specific bytes in a file, the names of API calls, or the exact URLs used by a web tracker. These are easy to extract but trivial for an adversary to change. In the world of Android malware, for instance, an attacker can rename variables or use different libraries to achieve the same malicious goal.

Clemens Kolbitsch and colleagues argued in Effective and Efficient Malware Detection at the End Host that while instruction sequences are volatile, the underlying data dependencies required to execute a malicious task are relatively stable. Similarly, in web privacy, Shaoor Munir and the creators of COOKIEGRAPH found that while trackers can randomly rename cookies to mimic functional site components, they cannot easily hide the provenance and flow of that data.

Abstracting Behavior into Structural Models

The core intuition behind this research direction is abstraction. Instead of looking at what a program is, these systems look at what it does.

A landmark example is MaMaDroid, developed by Enrico Mariconti, Lucky Onwuzurike, and others. As detailed in MaMaDroid: Detecting Android Malware by Building Markov Chains of Behavioral Models, the system abstracts specific API calls into broad functional categories. It then models the transitions between these categories as a Markov chain.

Because it focuses on the logic of the execution path rather than the specific names of the functions, MaMaDroid demonstrates remarkable temporal resilience. It can detect malware released years after its training period because the "behavioral DNA" of a malware family—how it moves from accessing contacts to opening a network socket—is more persistent than the specific code used to do it.

Why Functional Logic Resists Time

This stability isn't limited to security; it appears across diverse domains where the "rules of the game" are governed by fundamental mechanisms:

The Invariance of the "Mission"

The reason this approach works is that most processes have a "mission" that imposes physical or logical constraints. To track a user across the web, a script must store an identifier and must transmit it; this functional requirement is captured by systems like WebGraph. To infect a system, malware must modify certain registry keys or files, a fact leveraged by Roberto Paleari to generate automated remediation procedures (Automatic Generation of Remediation Procedures for Malware Infections).

By prioritizing these invariant functional behaviors over volatile surface features, researchers are moving toward "set-and-forget" models. These systems don't just identify what a threat looks like today; they understand the fundamental logic of how it operates, making them significantly harder to evade and much more durable over time.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_modeling_functional_logic_to_combat_temp_76cdfbde,
  title = {Modeling Functional Logic to Combat Temporal Concept Drift},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/modeling-functional-logic-to-combat-temporal-concept-drift/rdr_76cdfbde061b4c6e9e818e4cd097dc89},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_modeling_functional_logic_to_combat_temp_76cdfbde_v1,
  title = {Modeling Functional Logic to Combat Temporal Concept Drift},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/modeling-functional-logic-to-combat-temporal-concept-drift/rdr_76cdfbde061b4c6e9e818e4cd097dc89/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}