{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2602-18487","title":"The Million-Label NER: Breaking Scale Barriers with GLiNER bi-encoder","arxiv_id":"2602.18487","date":"2026-02-11","proceeding":null,"authors":["Ihor Stepanov","Mykhailo Shtopko","Dmytro Vodianytskyi","Oleksandr Lukashov"],"abstract":"This paper introduces GLiNER-bi-Encoder, a novel architecture for Named Entity Recognition (NER) that harmonizes zero-shot flexibility with industrial-scale efficiency. While the original GLiNER framework offers strong generalization, its joint-encoding approach suffers from quadratic complexity as the number of entity labels increases. Our proposed bi-encoder design decouples the process into a dedicated label encoder and a context encoder, effectively removing the context-window bottleneck. This architecture enables the simultaneous recognition of thousands, and potentially millions, of entity types with minimal overhead. Experimental results demonstrate state-of-the-art zero-shot performance, achieving 61.5 percent Micro-F1 on the CrossNER benchmark. Crucially, by leveraging pre-computed label embeddings, GLiNER-bi-Encoder achieves up to a 130 times throughput improvement at 1024 labels compared to its uni-encoder predecessors. Furthermore, we introduce GLiNKER, a modular framework that leverages this architecture for high-performance entity linking across massive knowledge bases such as Wikidata.","url_abs":"https://arxiv.org/abs/2602.18487","url_pdf":"https://arxiv.org/pdf/2602.18487","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2602.18487","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.18487"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/urchade/GLiNER","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/Knowledgator/utca","reach":null}],"summary":{"unverified":9},"by_repo_kind":{"found_in_text":{"samples":9,"ran":0,"repositories":2}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"158f9ec60e4391da","entry":"block_diag_mask","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/infer_packing.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/infer_packing.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"158f9ec60e4391da"}},{"code_sha256_prefix":"2feea7f5bd66fdee","entry":"create_projection_layer","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/modeling/layers.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/modeling/layers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2feea7f5bd66fdee"}},{"code_sha256_prefix":"bb1f6cd5ab3e0c98","entry":"cross_entropy_loss","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/modeling/loss_functions.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/modeling/loss_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bb1f6cd5ab3e0c98"}},{"code_sha256_prefix":"9fe5a4897b9e90a2","entry":"ensure_dict","repo":"Knowledgator/utca","repo_kind":"found_in_text","path":"src/utca/implementation/predictors/utils.py","file_url":"https://github.com/Knowledgator/utca/blob/HEAD/src/utca/implementation/predictors/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9fe5a4897b9e90a2"}},{"code_sha256_prefix":"89ad194773a52ef8","entry":"focal_loss_with_logits","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/modeling/loss_functions.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/modeling/loss_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"89ad194773a52ef8"}},{"code_sha256_prefix":"aeb19abdcb592e65","entry":"normalize_context_encoder_config","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/config.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/config.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aeb19abdcb592e65"}},{"code_sha256_prefix":"0dc006c58f0688d1","entry":"pack_requests","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/infer_packing.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/infer_packing.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0dc006c58f0688d1"}},{"code_sha256_prefix":"97eb64be5eb359ca","entry":"span_dice_loss","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/modeling/loss_functions.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/modeling/loss_functions.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"97eb64be5eb359ca"}},{"code_sha256_prefix":"8108004b8b9c81ba","entry":"unpack_spans","repo":"urchade/GLiNER","repo_kind":"found_in_text","path":"gliner/infer_packing.py","file_url":"https://github.com/urchade/GLiNER/blob/HEAD/gliner/infer_packing.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8108004b8b9c81ba"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}