Manuscript Offprint

arXiv:2610.19547

General Classification for Digital Knowledge: Algorithm, Identifiers and a First Benchmark

David Awad

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Digital libraries and knowledge graphs need a way to organize very large collections so that related works are close and any work is quick to reach. The classifications libraries inherited for this, such as LCC and DDC, are maintained by editorial staff, are partly closed, and were not built against a stated, measurable objective. We propose the opposite: a general classification that is fitted, under the constraints that make a classification usable on a shelf or in a browse list, to the same quantity that a companion survey and benchmark [1] ranks existing schemes by. The objective is J=D+0.005NJ = D + 0.005N, where DD is the normalized Dasgupta cost of the class tree on a fixed similarity graph [2] and NN is an expected navigation cost in bits with a per-level charge. Two constraints are hard: every class is a contiguous run of one fixed shelf order (the optimal-alphabetic-tree constraint of Hu and Tucker [3]), and new works are filed by splitting leaf classes only, so that every existing class keeps its code, label and parent. We describe a deterministic fitting algorithm (average linkage, rotation local search, an exact dynamic-programming collapse to 2–12 children and at most 4 levels, and order-preserving local search), state the identifier-stability guarantee precisely, and tie each clause of it to a test. On a corpus of 10,000 arXiv papers the fitted prototype has 110 hand-labelled classes and reaches cost 0.1722 in sample (average linkage 0.1518; arXiv's own categories 0.3333; the best existing scheme reached through the same lexical classifier 0.6414, from the survey). Fitted on 80% and tested on the other 20%, it scores 0.1722. Filing 500 library books as new works created 16 classes and changed no existing identifier. Rescored on graphs from two independent embedding models, the scheme still leads every existing scheme in all 9 graph conditions, with a smaller margin. Under a corrected objective that also charges for joining dissimilar works, it still leads on the papers, but on 3,000 library books its lead over librarian-assigned Dewey and LCC numbers depends on the graph setting. These numbers flatter the method. Fit, filing and scoring share one embedding: the held-out skill of 0.922 falls to 0.896 when the same fit is scored on the graphs of the two other models, and on books the average falls from 0.806 to 0.731. The filing step, which always uses the fit's own embedding, is not separated by any run. The scheme has also seen only arXiv, and labels for inserted classes are weak. We state those limits plainly, release the scheme as CC0 open data, and ask whether a learned, open, order-preserving classification can become a general one.

Keywords: library classification; hierarchical clustering; Dasgupta cost; order-preserving trees; identifier stability; open data

1 INTRODUCTION

References (37)