← Latest papers
💻 computer science

Feature Selection and Evidence Fusion for Reducing False Alarms in API Anomaly Detection

This paper demonstrates that replacing the maximum-based fusion of API anomaly detection features with a chi-square rule and strategically removing drifting features significantly reduces false alarms while maintaining or improving the detection of multi-feature attacks.

Original author: Collin Arnold Kabwama

Published 2026-11-25
📖 6 min read🧠 Deep dive

Original author: Collin Arnold Kabwama

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer

In the digital world, every time a person or a program asks a computer system for information, it leaves a trail of small details. Security systems watch these trails to spot trouble. They look at things like how often a user asks for data, how many pieces of information they send in a single request, or how old the digital key they are using is. When a request looks different from what that user usually does, the system raises an alarm. This is the job of anomaly detection: to separate the harmless, everyday noise from the signals of an attack. The challenge is that these systems are often too sensitive. They mistake normal, slightly unusual behavior for a crime, creating a flood of false alarms that overwhelms human analysts. If a security guard is woken up by a false alarm every few minutes, they will eventually stop listening, leaving the real threats unnoticed.

A recent study by Collin Kabwama at Maharishi International University investigates how to make these security systems smarter by changing two things: which details they watch and how they combine those details to make a decision. The research focuses on a specific type of security engine called AI-Sentinel, which is designed to protect application programming interfaces, the digital doors that let different software talk to each other. The study asks a simple but difficult question: does adding more features to the watchlist make the system safer, or does it just make it more noisy? The researchers found that adding more features often makes things worse because the system treats every new detail as a separate reason to sound the alarm. They discovered that the way these details are combined matters more than the number of details themselves.

The researchers built a massive test environment to see how the system behaved. They created a suite of simulated traffic involving over 1.4 million requests from virtual users. This traffic included normal activity, as well as seven different types of attacks designed to trick the system, such as trying to steal data, using old digital keys, or flooding the system with requests. They also included two types of "look-alike" traffic that was unusual but perfectly harmless, to see how often the system would mistake these for attacks. To ensure their results were solid, they split the data into two groups. They used the first group to test different combinations of features and rules, and then they tested their best choices on the second group and on a real day of traffic from a public university system. This method ensured that their findings were not just lucky guesses based on one set of numbers.

The study revealed a surprising problem with how the system currently works. The engine looks at six different features for every request, such as the number of parameters sent or the size of the data payload. It calculates a score for each one and then simply picks the highest score to decide if an alarm should sound. The researchers found that this "pick the highest" rule causes the false alarm rate to skyrocket as more features are added. When all six features were active with the "shipped" configuration, the system flagged 97% of normal requests in the development suite; with a 30-sample warm-up setting, it flagged 42%. The main culprit was a feature called token age, which measures how long a digital key has been in use. Because this number naturally increases over time, the system kept thinking that normal, aging keys were a sign of an attack. When the researchers removed this single feature, the false alarms on normal traffic dropped dramatically, from 42 percent down to just 3 percent in their best configuration.

Another major finding was that the system often blamed the wrong feature for the trouble. In many cases, the alarm was triggered by a feature that had nothing to do with the actual attack. For example, when an attacker tried to steal data by sending huge files, the system often ignored the file size and instead flagged the request because the user was asking for data from a new location. This happened because the system capped the score for file size, meaning it could never be high enough to trigger an alarm on its own, while other features were allowed to reach higher scores. The result was that the security team would be told to investigate a change in location, while the real danger—the massive data theft—went unmentioned. The study showed that the explanation given by the system was often misleading, pointing security analysts in the wrong direction.

The researchers also tested a different way of combining the evidence. Instead of picking the single highest score, they tried adding up the scores from all the features to see if many small, weak signals could add up to a strong warning. This approach, which they called chi-square fusion, did succeed in keeping the false alarm rate low even when many features were active. However, it had a downside: it failed to catch attacks that were spread out across several features but were too weak individually to trigger a high score. In the end, the study found that a smaller set of features was often better than a large one. Specifically, a combination of just two features—how fast a user is making requests and how many parameters they are sending—performed as well as or better than the full set of six features. This simple pair caught the attacks effectively without drowning the system in false alarms.

The work concludes that there is no free lunch in security monitoring. Adding more features to a detector does not automatically make it safer; it often just adds more noise. The study suggests that security systems should be built with a careful selection of features, removing those that change naturally over time and cause false alarms. It also highlights that the rule used to combine these features is critical. While adding up weak signals can help in some cases, it does not solve the problem of detecting very subtle attacks. The most effective strategy found was to use a small, stable set of features and to understand that the system's explanation for an alarm might not always be the true cause. By measuring the cost of false alarms alongside the ability to catch attacks, security teams can build systems that are both sensitive and reliable, avoiding the trap of crying wolf too often.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →