English

Embedding Retrofitting: Data Engineering for better RAG

Computation and Language 2026-02-18 v2 Artificial Intelligence Performance

Abstract

Embedding retrofitting adjusts pre-trained word vectors using knowledge graph constraints to improve domain-specific retrieval. However, the effectiveness of retrofitting depends critically on knowledge graph quality, which in turn depends on text preprocessing. This paper presents a data engineering framework that addresses data quality degradation from annotation artifacts in real-world corpora. The analysis shows that hashtag annotations inflate knowledge graph density, leading to creating spurious edges that corrupt the retrofitting objective. On noisy graphs, all retrofitting techniques produce statistically significant degradation (3.5%-3.5\% to 5.2%-5.2\%, p<0.05p<0.05). After preprocessing, \acrshort{ewma} retrofitting achieves +6.2%+6.2\% improvement (p=0.0348p=0.0348) with benefits concentrated in quantitative synthesis questions (+33.8%+33.8\% average). The gap between clean and noisy preprocessing (10\%+ swing) exceeds the gap between algorithms (3\%), establishing preprocessing quality as the primary determinant of retrofitting success.

Keywords

Cite

@article{arxiv.2601.15298,
  title  = {Embedding Retrofitting: Data Engineering for better RAG},
  author = {Anantha Sharma},
  journal= {arXiv preprint arXiv:2601.15298},
  year   = {2026}
}

Comments

This paper was built on an assumption which has been proven incorrect

R2 v1 2026-07-01T09:14:39.986Z