COLING 2025main0 citations

Should We Use a Fixed Embedding Size? Customized Dimension Sizes for Knowledge Graph Embedding

Zhanpeng Guan, Zhao Zhang, Yiqing Wu, Fuwei Zhang, Yongjun Xu

Abstract

Knowledge Graph Embedding (KGE) aims to project entities and relations into a low-dimensional space, so as to enable Knowledge Graphs (KGs) to be effectively used by downstream AI tasks. Most existing KGs (e.g. Wikidata) suffer from the data imbalance issue, i.e., the occurrence frequencies vary significantly among different entities. Current KGE models use a fixed embedding size, leading to overfitting for low-frequency entities and underfitting for high-frequency ones. A simple method is to manually set embedding sizes based on frequency, but this is not feasible due to the complexity and the large number of entities. To this end, we propose CustomizE, which customizes embedding sizes in a data-driven way, assigning larger sizes for high-frequency entities and smaller sizes for low-frequency ones. We use bilevel optimization for stable learning of representations and sizes. It is noteworthy that our framework is universal and flexible, which is suitable for various KGE models. Experiments on link prediction tasks show its superiority over state-of-the-art baselines.

BibTeX
@inproceedings{guan-etal-2025-use,
    title = "Should We Use a Fixed Embedding Size? Customized Dimension Sizes for Knowledge Graph Embedding",
    author = "Guan, Zhanpeng  and
      Zhang, Zhao  and
      Wu, Yiqing  and
      Zhang, Fuwei  and
      Xu, Yongjun",
    editor = "Rambow, Owen  and
      Wanner, Leo  and
      Apidianaki, Marianna  and
      Al-Khalifa, Hend  and
      Eugenio, Barbara Di  and
      Schockaert, Steven",
    booktitle = "Proceedings of the 31st International Conference on Computational Linguistics",
    month = jan,
    year = "2025",
    address = "Abu Dhabi, UAE",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.coling-main.604/",
    pages = "9006--9012"
}
Should We Use a Fixed Embedding Size? Customized Dimension Sizes for Knowledge Graph Embedding · COLING 2025