paper-with-me

Papers

LLM-Vectorizer: LLM-based Verified Loop Vectorizer

2024-06-07 · Jubi Taneja, Avery Laird, Cong Yan, Madan Musuvathi, Shuvendu K. Lahiri

Vectorization is a powerful optimization technique that significantly boosts the performance of high performance computing applications operating on large data arrays. Despite decades of research on auto-vectorization, compilers frequently miss opportunities to vectorize code. On the other hand, writing vectorized code manually using compiler intrinsics is still a complex, error-prone task that demands deep knowledge of specific architecture and compilers. In this paper, we evaluate the potential of large-language models (LLMs) to generate vectorized (Single Instruction Multiple Data) code from scalar programs that process individual array elements. We propose a novel finite-state machine multi-agents based approach that harnesses LLMs and test-based feedback to generate vectorized code. Our findings indicate that LLMs are capable of producing high performance vectorized code with run-time speedup ranging from 1.1x to 9.4x as compared to the state-of-the-art compilers such as Intel Compiler, GCC, and Clang. To verify the correctness of vectorized code, we use Alive2, a leading bounded translation validation tool for LLVM IR. We describe a few domain-specific techniques to improve the scalability of Alive2 on our benchmark dataset. Overall, our approach is able to verify 38.2% of vectorizations as correct on the TSVC benchmark dataset.

📄 PDF Abstract BibTeX arXiv:2406.04693

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Sparse Victory -- A Large Scale Systematic Comparison of count-based and prediction-based vectorizers for text classification

2019-09-01 · RANLP 2019 9 · Rupak Chakraborty, Ashima Elhence, Kapil Arora

In this paper we study the performance of several text vectorization algorithms on a diverse collection of 73 publicly available datasets. Traditional sparse vectorizers like Tf-Idf and Feature Hashing have been systemat…

General Classificationtext-classificationText ClassificationWord Embeddings

RETVec: Resilient and Efficient Text Vectorizer

2023-02-18 · NeurIPS 2023 11 · Elie Bursztein, Marina Zhang, Owen Vallis, Xinyu Jia 외

This paper describes RETVec, an efficient, resilient, and multilingual text vectorizer designed for neural-based text processing. RETVec combines a novel character encoding with an optional small embedding model to embed…

Adversarial TextMetric LearningWord Embeddings

Lib-SibGMU -- A University Library Circulation Dataset for Recommender Systems Developmen

2022-08-25 · Eduard Zubchuk, Mikhail Arhipkin, Dmitry Menshikov, Aleksandr Karaush 외

We opensource under CC BY 4.0 license Lib-SibGMU - a university library circulation dataset - for a wide research community, and benchmark major algorithms for recommender systems on this dataset. For a recommender archi…

Recommendation Systems

Sentiment Analysis of Code-Mixed Social Media Text (Hinglish)

2021-02-24 · Gaurav Singh

This paper discusses the results obtained for different techniques applied for performing the sentiment analysis of social media (Twitter) code-mixed text written in Hinglish. The various stages involved in performing th…

Sentiment Analysis

Automatic Detection of Borrowings in Low-Resource Languages of the Caucasus: Andic branch

2022-10-01 · FieldMatters (COLING) 2022 10 · Konstantin Zaitsev, Anzhelika Minchenko

Linguistic borrowings occur in all languages. Andic languages of the Caucasus have borrowings from different donor-languages like Russian, Arabic, Persian. To automatically detect these borrowings, we propose a logistic …

Language ModelingLanguage Modelling