Document Type Classification using File Names
<|reference_start|>Document Type Classification using File Names: Rapid document classification is critical in several time-sensitive applications like digital forensics and large-scale media classification. Traditional approaches that rely on heavy-duty deep learning models fall short due to high inference times over vast input datasets and computational resources associated with analyzing whole documents. In this paper, we present a method using lightweight supervised learning models, combined with a TF-IDF feature extraction-based tokenization method, to accurately and efficiently classify documents based solely on file names that substantially reduces inference time. This approach can distinguish ambiguous file names from the indicative file names through confidence scores and through using a negative class representing ambiguous file names. Our results indicate that file name classifiers can process more than 80% of the in-scope data with 96.7% accuracy when tested on a dataset with a large portion of out-of-scope data with respect to the training dataset while being 442.43x faster than more complex models such as DiT. Our method offers a crucial solution for efficiently processing vast datasets in critical scenarios, enabling fast, more reliable document classification.<|reference_end|>
@article{li2024document,
    title={Document Type Classification using File Names},
    author={Zhijian Li, Stefan Larson, Kevin Leach},
    journal={arXiv preprint arXiv:2410.01166},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.01166},
    primaryClass={cs.CL}
}