{"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-2608-23358","title":"The Geometry of Low-Resource Language Representations","arxiv_id":"2608.23358","date":"2026-08-24","proceeding":null,"authors":["Francois Meyer","Jan Buys"],"abstract":"The performance gap between low- and high-resource languages in LLMs is widely known, but it remains unclear which internal model factors drive these disparities. In this paper, we characterise this gap through the lens of representational geometry. Comparing the geometric properties of hidden representations across 30 languages reveals that LLM geometry is systematically related to language data availability. The most consistent effect is in final layers, where low-resource languages exhibit representational degeneration. To counter this, we investigate the effectiveness of regularisation terms to penalise degeneration during continued pretraining (CPT). Experiments monolingually adapting 9 base LLMs to 10 African languages show that geometric regularisation successfully reduces representational degeneration during CPT. For larger models, cosine similarity-based regularisation marginally improves performance over vanilla CPT, with more consistent gains on the most challenging tasks. We establish that the representational geometry of low- and high-resource languages in LLMs is measurably distinct, and that targeted geometric intervention is a viable strategy for improving CPT for low-resource languages.","url_abs":"https://arxiv.org/abs/2608.23358","url_pdf":"https://arxiv.org/pdf/2608.23358","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=2608.23358","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.23358"}},"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/francois-meyer/cpt-geometry","reach":null}],"summary":{"ran":7,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":10,"ran":7,"repositories":1}},"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":10,"samples":[{"code_sha256_prefix":"d81cb3569c1ed64e","entry":"check_finite","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"isotropy/isoscore.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/isotropy/isoscore.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d81cb3569c1ed64e"}},{"code_sha256_prefix":"166d870e3582c505","entry":"compute_cosine_similarity","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"compute_geometric_metrics.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/compute_geometric_metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"166d870e3582c505"}},{"code_sha256_prefix":"956caeba1712eb8d","entry":"extract_points","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"geo_reg_utils.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/geo_reg_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"956caeba1712eb8d"}},{"code_sha256_prefix":"698897a47c3768c2","entry":"extract_points_from_final_layer","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"geo_reg_cpt.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/geo_reg_cpt.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"698897a47c3768c2"}},{"code_sha256_prefix":"b9edc5a66c170732","entry":"get_diag_of_cov","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"isotropy/isoscore.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/isotropy/isoscore.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b9edc5a66c170732"}},{"code_sha256_prefix":"3d111a4e12fee5fe","entry":"load_sentences","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"compute_geometric_metrics.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/compute_geometric_metrics.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3d111a4e12fee5fe"}},{"code_sha256_prefix":"98af1ce8f9a7cf0a","entry":"pca_normalization","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"isotropy/isoscore.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/isotropy/isoscore.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"98af1ce8f9a7cf0a"}},{"code_sha256_prefix":"8dca7c69ac479db2","entry":"get_ci","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"geo_reg_utils.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/geo_reg_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8dca7c69ac479db2"}},{"code_sha256_prefix":"6e5e67d5fee802c9","entry":"load_model","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"compute_geometric_metrics.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/compute_geometric_metrics.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6e5e67d5fee802c9"}},{"code_sha256_prefix":"e9efc748fbd41610","entry":"load_model_for_cpt","repo":"francois-meyer/cpt-geometry","repo_kind":"found_in_text","path":"geo_reg_cpt.py","file_url":"https://github.com/francois-meyer/cpt-geometry/blob/HEAD/geo_reg_cpt.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e9efc748fbd41610"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}