Mill.jl and JsonGrinder.jl: automated differentiable feature extraction for learning from raw JSON data
This addresses the laborious and biased process of feature extraction for cybersecurity and similar domains, offering an automated solution.
The authors tackled the problem of manual feature engineering for hierarchical data like JSON by introducing Mill.jl and JsonGrinder.jl, which automate the conversion to vector representations and enable differentiable learning from raw JSON data.
Learning from raw data input, thus limiting the need for manual feature engineering, is one of the key components of many successful applications of machine learning methods. While machine learning problems are often formulated on data that naturally translate into a vector representation suitable for classifiers, there are data sources, for example in cybersecurity, that are naturally represented in diverse files with a unifying hierarchical structure, such as XML, JSON, and Protocol Buffers. Converting this data to vector (tensor) representation is generally done by manual feature engineering, which is laborious, lossy, and prone to human bias about the importance of particular features. Mill and JsonGrinder is a tandem of libraries, which fully automates the conversion. Starting with an arbitrary set of JSON samples, they create a differentiable machine learning model capable of infer from further JSON samples in their raw form.