paper-with-me

Papers

byteSteady: Fast Classification Using Byte-Level n-Gram Embeddings

2021-06-24 · Xiang Zhang, Alexandre Drouin, Raymond Li

This article introduces byteSteady -- a fast model for classification using byte-level n-gram embeddings. byteSteady assumes that each input comes as a sequence of bytes. A representation vector is produced using the averaged embedding vectors of byte-level n-grams, with a pre-defined set of n. The hashing trick is used to reduce the number of embedding vectors. This input representation vector is then fed into a linear classifier. A straightforward application of byteSteady is text classification. We also apply byteSteady to one type of non-language data -- DNA sequences for gene classification. For both problems we achieved competitive classification results against strong baselines, suggesting that byteSteady can be applied to both language and non-language data. Furthermore, we find that simple compression using Huffman coding does not significantly impact the results, which offers an accuracy-speed trade-off previously unexplored in machine learning.

📄 PDF Abstract BibTeX arXiv:2106.13302

Code (0)

등록된 구현이 없습니다.

Tasks

Classificationtext-classificationText Classification

Similar Papers 제목 키워드 기반

Which Encoding is the Best for Text Classification in Chinese, English, Japanese and Korean?

2017-08-08 · Xiang Zhang, Yann Lecun

This article offers an empirical study on the different ways of encoding Chinese, Japanese, Korean (CJK) and English languages for text classification. Different encoding levels are studied, including UTF-8 bytes, charac…

General ClassificationText Classification

Large Byte Model: Teaching Language Models About Compiled Code

2026-06-01 · Florian Störtz, Catalin-Andrei Stan, Alexandru Dinu, Sandra Servia-Rodríguez 외 arxiv

Malware analysis starts with the raw bytes of an executable program, and tools to "lift" these to higher-level representations, such as assembly, are expensive and subject to error. Large Language Models (LLMs) cannot pr…

ByteNet: Rethinking Multimedia File Fragment Classification through Visual Perspectives

2024-10-28 · Wenyang Liu, Kejun Wu, Tianyi Liu, Yi Wang 외

Multimedia file fragment classification (MFFC) aims to identify file fragment types, e.g., image/video, audio, and text without system metadata. It is of vital importance in multimedia storage and communication. Existing…

Zipf-Gramming: Scaling Byte N-Grams Up to Production Sized Malware Corpora

2025-11-17 · Edward Raff, Ryan R. Curtin, Derek Everett, Robert J. Joyce 외 arxiv

A classifier using byte n-grams as features is the only approach we have found fast enough to meet requirements in size (sub 2 MB), speed (multiple GB/s), and latency (sub 10 ms) for deployment in numerous malware detect…

Malware Detection

A Byte Sequence is Worth an Image: CNN for File Fragment Classification Using Bit Shift and n-Gram Embeddings

2023-04-14 · Wenyang Liu, Yi Wang, Kejun Wu, Kim-Hui Yap 외

File fragment classification (FFC) on small chunks of memory is essential in memory forensics and Internet security. Existing methods mainly treat file fragments as 1d byte signals and utilize the captured inter-byte fea…

Data Augmentation