Layered Semantic Refinement: A Framework and Evaluation Protocol for Task-Specific Embeddings
DOI:
https://doi.org/10.66104/ttk33814Keywords:
embeddings semânticos, representações de tokens, embeddings de prompts, prompt tokens, soft prompt tuning, embeddings condicionados por instruções, recuperação multi-vista, late interaction, aprendizado de representação, aprendizado hierárquico, redes neurais em grafos, busca semântica, geração aumentada por recuperação, eficiência de tokens, governança de modelosAbstract
Dense embeddings are foundational to contemporary natural language processing, information retrieval, recommendation, and retrieval-augmented generation. Nevertheless, a single general-purpose vector typically superimposes multiple relations—topic, entailment, sentiment, part–whole structure, evidential role, temporality, and domain-specific constraints—within one geometry and one similarity function. This article presents layered semantic refinement (LSR) as a framework and evaluation protocol rather than as a single universally validated algorithm. LSR retains a general encoder as a transferable semantic substrate while explicit modules reorganize, augment, or index its representations for a defined operational objective. The framework covers learned projections, nonlinear adapters, graph message passing, hierarchical aggregation, deterministic rule channels, clustering, multi-view representations, and prompt-conditioned embeddings.Downloads
References
Zhang, S., Liang, Y., Gong, M., Jiang, D., & Duan, N. (2022). Multi-view document representation learning for open-domain dense retrieval. In Proceedings of ACL 2022, 5990–6000. https://doi.org/10.18653/v1/2022.acl-long.414
Santhanam, K., Khattab, O., Saad-Falcon, J., Potts, C., & Zaharia, M. (2022). ColBERTv2: Effective and efficient retrieval via lightweight late interaction. In Proceedings of NAACL-HLT 2022, 3715–3734. https://doi.org/10.18653/v1/2022.naacl-main.272
Ruan, Q., Ostendorff, M., & Rehm, G. (2022). HiStruct+: Improving extractive text summarization with hierarchical structure information. Findings of ACL 2022, 1292–1308. https://doi.org/10.18653/v1/2022.findings-acl.102
Kabakum, I., Montgomery, T., Ravenwood, D., & Harrington, G. (2025). Semantic layered embedding diffusion in large language models for multi-contextual consistency. arXiv:2501.15405. https://arxiv.org/html/2501.15405v1
Cao, Y., Chen, X., Du, L., Chen, H., Fu, Q., Han, S., Du, Y., Kang, Y., Lu, G., & Li, Z. (2024). TAROT: A hierarchical framework with multitask co-pretraining on semi-structured data towards effective person-job fit. In 2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (pp. 12046–12050). IEEE. https://doi.org/10.1109/ICASSP48485.2024.10447647
Chang, C.-H., Ondov, B., Choi, B., Peng, X., He, H., & Xu, H. (2025). TopicForest: Embedding-driven hierarchical clustering and labeling for biomedical literature. Journal of Biomedical Informatics, 172, 104958. https://doi.org/10.1016/j.jbi.2025.104958
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of NAACL-HLT 2019 (pp. 4171–4186). Association for Computational Linguistics. https://doi.org/10.18653/v1/N19-1423
Gao, T., Yao, X., & Chen, D. (2021). SimCSE: Simple contrastive learning of sentence embeddings. In Proceedings of EMNLP 2021 (pp. 6894–6910). Association for Computational Linguistics. https://doi.org/10.18653/v1/2021.emnlp-main.552
Hanley, H. W. A., & Durumeric, Z. (2025). Hierarchical level-wise news article clustering via multilingual Matryoshka embeddings. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Vol. 1, pp. 2476–2492). https://doi.org/10.18653/v1/2025.acl-long.124
Hoseinzade, E., Wang, K., & Raju, A. D. (2026). TabEmb: Joint semantic-structure embedding for table annotation. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Vol. 1, pp. 16620–16631). https://doi.org/10.18653/v1/2026.acl-long.757
Kipf, T. N., & Welling, M. (2017). Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations. https://arxiv.org/abs/1609.02907
Kusupati, A., Bhatt, G., Rege, A., Wallingford, M., Sinha, A., Ramanujan, V., Howard-Snyder, W., Chen, K., Kakade, S., Jain, P., & Farhadi, A. (2022). Matryoshka representation learning. In Advances in Neural Information Processing Systems, 35, 30233–30249.
Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-T., Rocktäschel, T., Riedel, S., & Kiela, D. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. Advances in Neural Information Processing Systems, 33, 9459–9474.
Salomão, P. E. A. (2026). Tokens as Computational Units in Data Science and Machine Learning: Mathematical Foundations, Transformer Architecture, Inference Economy, and Caching Systems in Foundational Models. Journal International Review of Research Studies, 1(02 - February), 1-27. https://doi.org/10.66104/kxf7hk05
Lester, B., Al-Rfou, R., & Constant, N. (2021). The power of scale for parameter-efficient prompt tuning. In Proceedings of EMNLP 2021 (pp. 3045–3059). Association for Computational Linguistics. https://doi.org/10.18653/v1/2021.emnlp-main.243
Li, X. L., & Liang, P. (2021). Prefix-tuning: Optimizing continuous prompts for generation. In Proceedings of ACL-IJCNLP 2021 (Vol. 1, pp. 4582–4597). Association for Computational Linguistics. https://doi.org/10.18653/v1/2021.acl-long.353
Liu, X., Ji, K., Fu, Y., Tam, W. L., Du, Z., Yang, Z., & Tang, J. (2022). P-Tuning v2: Prompt tuning can be comparable to fine-tuning universally across scales and tasks. In Proceedings of ACL 2022 (Short Papers) (pp. 61–68). Association for Computational Linguistics. https://doi.org/10.18653/v1/2022.acl-short.8
Maaten, L. van der, & Hinton, G. (2008). Visualizing data using t-SNE. Journal of Machine Learning Research, 9, 2579–2605.
McInnes, L., Healy, J., & Melville, J. (2018). UMAP: Uniform manifold approximation and projection for dimension reduction. arXiv:1802.03426. https://doi.org/10.48550/arXiv.1802.03426
Reimers, N., & Gurevych, I. (2019). Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of EMNLP-IJCNLP 2019 (pp. 3982–3992). Association for Computational Linguistics. https://doi.org/10.18653/v1/D19-1410
Sanh, V., Wolf, T., & Ruder, S. (2019). A hierarchical multi-task approach for learning embeddings from semantic tasks. Proceedings of the AAAI Conference on Artificial Intelligence, 33(1), 6949–6956. https://doi.org/10.1609/aaai.v33i01.33016949
Su, H., Shi, W., Kasai, J., Wang, Y., Hu, Y., Ostendorf, M., Yih, W.-T., Smith, N. A., Zettlemoyer, L., & Yu, T. (2023). One embedder, any task: Instruction-finetuned text embeddings. In Findings of the Association for Computational Linguistics: ACL 2023 (pp. 1102–1121). https://doi.org/10.18653/v1/2023.findings-acl.71
Peng, L., Zhang, Y., Wang, Z., Srinivasa, J., Liu, G., Wang, Z., & Shang, J. (2024). Answer is all you need: Instruction-following text embedding via answering the question. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Vol. 1, pp. 459–477). https://doi.org/10.18653/v1/2024.acl-long.27
Wang, L., Yang, N., Huang, X., Yang, L., Majumder, R., & Wei, F. (2024). Improving text embeddings with large language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Vol. 1, pp. 11897–11916). https://doi.org/10.18653/v1/2024.acl-long.642
Zhang, X., Zhao, J., & LeCun, Y. (2015). Character-level convolutional networks for text classification. In Advances in Neural Information Processing Systems, 28, 649–657.
Published
Issue
Section
License
Copyright (c) 2026 Pedro Emílio Amador Salomão

This work is licensed under a Creative Commons Attribution 4.0 International License.



