Обложка канала

Towards NLP

NLP: все n-граммы про анализ текстов. По всем дополнительным вопросам:

  • Towards NLP

    My PyData&Conf Berlin 2023: Texts Detoxification It was a pleasure for me to be part of PyData&Conf Berlin 2023 — amazing scientist and developers all over Europe come together to discuss and share experience in cutting edge data science. Of course, there were a lot of talks about LLMs 😉 Firstly, I want to invite you to take a look about my research in texts detoxification. Even with all advances, our models are still actual in the field of toxic speech combating: [video] Secondly, other I recommend to pay attention to other talks that I personally found interesting: * Keynote talk: Miroslav Šedivý: Lorem ipsum dolor sit amet. A lot of fun facts about different European languages 😃 * Erin Mikail Staples, Nikolai: Improving Machine Learning from Human Feedback. A lot of attention to HF right now, showcase of a library to help you with it. * Ines Montani: Incorporating GPT-3 into practical NLP workflows. Told you, a lot of attention to LLMs 😉 * Lev Konstantinovskiy: Prompt Engineering 101. Introduction into LangChain — a powerful library to ease your interaction with LLMs. * Final recommendation not from NLP: Maren Westermann: How to increase diversity in open source communities. The IT ans DS communities are diverse and spread all over the world. Let's communicate respectfully with each other! Of course, there are way more! The whole playlist [here]😎
    Daryna Dementieva: Methods for Text Style Transfer - Text Detoxification Case

    Global access to the Internet has enabled the spread of information throughout the world and has offered many new possibilities. On the other hand, alongside the advantages, the exponential and uncontrolled growth of user-generated content on the Internet has also facilitated the spread of toxicity and hate speech. Much work has been done in the direction of offensive speech detection. However, there is another more proactive way to fight toxic speech -- how a suggestion for a user as a detoxified version of the message. In this presentation, we will provide an overview how texts detoxification task can be solved. The proposed approaches can be reused for any text style transfer task for both monolingual and multilingual use-cases.

    YouTube
  • Towards NLP

    A PhD Student’s Perspective on Research in NLP in the Era of Very Large Language Models As our IFAN project was recommended as one of the promising research direction, I will also recommend in return to read the recent paper to answer the question: "So what now in NLP research if ChatGPT is out?" Spoiler: the world has not ended and we still have plenty work to do! https://arxiv.org/abs/2305.12544 From my research work and what I also want to explore, my top list of research directions: 1. Misinformation fight. There is still zero online working automated fake news and propaganda detection systems. However, the risk of misinformation spread is increasing. 2. Multilingualism. A usual reminder, that there is more languages rather then English. Like at least 7k more. 3. Explainability and Interpretabilty. Do we trust models' decisions? Still absolutely far away from 100%. We can help to integrate these models into decisions making process only if their behavior will be transparent. And now think about if we can even explain every NLP task. The methods are absolutely different. 4. Less resources. Less memory to store models and fine-tune them. Less also data to learn! Do we need indeed all these training samples? Or we just need diverse enough data? 5. Human-NLP models interaction. What we can admit is that ChatGPT was the first NLP model used not only by specialists but by everyone. Because it is more or less pleasant and safe to use it. If the model cannot answer some input, it provides anyway nicely written answer. The wrapper is also extremely important. How we need to cover those models that user will be comfortable to work with it? What about children if we want to adjust them for education even from early ages? Be brave, be creative, be inspired✨
    Towards NLP🇺🇦

    IFAN: An Explainability-Focused Interaction Framework for Humans and NLP Models We talked before about different techniques how to explain ML and NLP models. Ok, we have explained some model for a specific output, highlighted some tokens there. What should happen next? 📌You can use humans to debug and improve your model! What your steps can be: 1. 🔍You identify misclassified samples (for instance, during hate speech detection, you have noticed that the model is biased against some target words). 2. 📊You explain model's decisions and see that the models puts too much or too less weight/attention to some words. 3. 📝You edit the explanation, i.e. corresponding weights of the words spans that should contribute to the correct label. 4. 🔄You do this for several samples and retrain Adapter layer of your model based on new samples. 5. ✅Now your model's behavior is fixed, i.e. it is debiased! All this can be done with our platform: https://ifan.ml/ This is the first solid version, we are still developing many-many…

    Telegram
  • Towards NLP

    On the Impossible Safety of Large AI Models The success hype of LLMs reached not only NLP-related field, but also get into life of normal humans professionals from a lot of different field. However, even I personally, have not seen any use-case where the model perform 100%, or 99.999%, or 99.9%... of the accuracy. Theoretical proof that it is impossible to build arbitrarily accurate AI model: https://arxiv.org/abs/2209.15259 Why? TL;DR: * User-generated data: user-generated data are both mostly unverified and potentially highly sensitive; * High-dimension memorization: what to achieve better score on more data? You need way more parameters. However, the contexts are limitless. So... we need infinite amount of parameters? The complexity of “fully satisfactory” language processing might be orders of magnitude larger than today’s LLMs, in which case we may still obtain greater accuracy with larger models. * Highly heterogeneous users: the distribution of texts generated by a given user greatly diverges from the distribution of texts generated by another user. More data, more users, again, more contexts, more data which can be difficult to fully grasp and generalize. * Sparse heavy-tailed data per user: even we take into account only one user, even their data is not so dense to be generalized. We should expect an especially large empirical heterogeneity in language data, as the samples we obtain from a user can completely stand out from the user’s language distribution. As a result, LAIM training is unlikely to be easier than mean estimation. The usual objective for ML is to estimate a distribution which is assumed to be normal one where we want to estimate the mean. How many combinations of such distributions are we able to predict? + We need to find a balance between accuracy and privacy. 🤔Pretty challenging task. Will we be able to solve it anyway?
  • Реклама

  • Towards NLP

    Language models can explain neurons in language models What about to use GPT-4 to automatically write explanations for the behavior of neurons in large language models and to score those explanations? * Explain: Generate an explanation of the neuron’s behavior by showing the explainer model (token, activation) pairs from the neuron’s responses to text excerpts. * Simulate: Use the simulator model to simulate the neuron's activations based on the explanation. * Score: Automatically score the explanation based on how well the simulated activations match the real activations. Blog from Closed OpenAI: [link] Paper: [link] Code and collected dataset of explanations: [link]
    Language models can explain neurons in language models

    We use GPT-4 to automatically write explanations for the behavior of neurons in large language models and to score those explanations. We release a dataset of these (imperfect) explanations and scores for every neuron in GPT-2.

    Openai
  • Towards NLP

    LLMs are everywhere: what other thoughts can we come up with? This post is the list of alternative sources to read about LLMs and what changes they have brought: * Choose Your Weapon: Survival Strategies for Depressed AI Academics 🙃 "what should we do know when ChatGPT is here?" has asked probably every student/researcher in NLP academia. This statement paper can provide you several ideas why not to continue😉 * Closed AI Models Make Bad Baselines: We will see how many papers mentioning ChatGPT will appear this ACL. However, Closed models is not the way to do benchmarking in research. * Towards Climate Awareness in NLP Research: together with the raise of data bases and size of models, our responsibility to the environment also increases. To do modern research, it is nice to report how much of computational time/resource/CO2 emissions were used. * Step by Step Towards Sustainable AI: if you want to finalize your reading about responsible AI, I really recommend this issue of AlgorithmWatch issue. Professionals from HuggingFace and several German institutions are sharing their thoughts about at what key points we should pay attention to deploy AI safely to humanity and nature.
    Closed AI Models Make Bad Baselines

    This post was authored by Anna Rogers, with much invaluable help and feedback from Niranjan Balasubramanian, Leon Derczynski, Jesse Dodge…

    Medium
  • Towards NLP

    Why text detoxification is important especially now? Any of chat-bot is not safe of being toxic at some point (even ChatGPT!). So, if you want to have safe conversations with your users, it is still important to process toxic language. With our text detoxification technology, you can: * Before training your language model, chatbot, you can preprocess scrapped training data to ensure that there will be no toxicity. But, you should not just through away your samples. You can detoxify them! Then, the major part of the dataset will not be lost but the content will be saved. * You can ensure that the user message is also non-toxic. Again, the replica will be saved. Now after detoxification, we will ensure that the conversation will not be transferred into unsafe tone. * You can cross-save the answers from your chat-bot as well! The conversation will not be stopped even if you chat-bot generates something toxic. Its reply will be detoxified and the user will see neutral answer. Check out all the info about our research and all models in this repo!
    GitHub - dardem/text_detoxification: The page with all info about text SOTA detoxification models and datasets.

    The page with all info about text SOTA detoxification models and datasets. - GitHub - dardem/text_detoxification: The page with all info about text SOTA detoxification models and datasets.

    GitHub
  • Towards NLP

    IFAN: An Explainability-Focused Interaction Framework for Humans and NLP Models We talked before about different techniques how to explain ML and NLP models. Ok, we have explained some model for a specific output, highlighted some tokens there. What should happen next? 📌You can use humans to debug and improve your model! What your steps can be: 1. 🔍You identify misclassified samples (for instance, during hate speech detection, you have noticed that the model is biased against some target words). 2. 📊You explain model's decisions and see that the models puts too much or too less weight/attention to some words. 3. 📝You edit the explanation, i.e. corresponding weights of the words spans that should contribute to the correct label. 4. 🔄You do this for several samples and retrain Adapter layer of your model based on new samples. 5. ✅Now your model's behavior is fixed, i.e. it is debiased! All this can be done with our platform: https://ifan.ml/ This is the first solid version, we are still developing many-many new features for it (as, for instance, the report page where you can control model's performance change). But already now, we believe that the platform can be a solid step to human-in-the-loop debugging of NLP models🤖. 📜The corresponding paper about this first version [link]
    Towards NLP🇺🇦

    Explainability for NLP With the raise of LLMs from ClosedAI, the research in explainability for NLP is important as never before. Still, a lot of work should be done in the field. However, you already can experiment and try explain your fine-tuned LLMs on a specific task. For now, the majority of methods are explored for texts classification tasks and are adjusted from tabular data. How it can be done? 1. Baseline approach: Leave-one-out explanations. For instance, you have a regression layer as one of the last layers in your model. You can check the tokens with major weights. Then, exclude them from the text and check if the model's answer has changed. If the tokens were indeed important, the answer should change dramatically as the model cannot orient on this words to make a correct decision. 2. Local Surrogate (LIME). Modification of the previous idea. Now, you delete each word from the sentence and check the results. The "importance" of the word will be estimated based on how the model's answer differ…

    Telegram
  • Towards NLP

    MLSS 2023 1 day till application is closed to the Machine Learning Summer School with application in Science! https://mlss2023.mlinpl.org/ I personaly took part in MLSS 2020, even if it was virtual, I got so many insights. This year is in Krakow! Get a chance to listen to a lectures from world-famous speakers😉

    MLSS^S 2023 is a summer school providing a didactic introduction to a range of modern topics in Machine Learning and their applications in other disciplines of Science, primarily intended for research-oriented graduate students. The school features a line-up of internationally recognized researchers who will talk with enthusiasm about their subjects. Our goal is to provide a unique opportunity to learn from and connect with the leading experts in the scenic setting of the historic city of Kraków, Poland.

    MLSS^S 2023
  • Towards NLP

    A Survey of Large Language Models * General overview; * Listing by the number of parameters; * Commonly used corpora for training; * How pre-training can be done; * Typical architecture types; * How to fine-tune; * How to prompt; * Task possible to solve; * Evaluation setups; A very comprehensive survey: https://arxiv.org/abs/2303.18223
  • Towards NLP

    Guys, really, who answered "My collegue was fired because of CharGPT" or "Now I can do all my tasks with CharGPT" Can you, please, share your stories? 🙂 Now, it is very intriguing!
  • Towards NLP

    Pausing AI Developments Isn't Enough. We Need to Shut it All Down

    One of the earliest researchers to analyze the prospect of powerful Artificial Intelligence warns of a bleak scenario

    Time
  • Towards NLP

    🔥Free EACL 2023 for Ukrainian Students🔥 If you are Ukrainian students, you can apply or free EACL 2023 registration (both online and offline, but be aware of deadlines): *online attendance — available for all Ukrainian students who apply through this form by April 16, 2023 *on-site attendance — available for a very limited number of Ukrainian students who apply through this form by April 7, 2023 Who is eligible to apply: *students, including PhD students, currently studying at a Ukrainian academic institution *students, including PhD students, who studied at a Ukrainian academic institution until February 24, 2022, but are currently studying abroad https://forms.gle/WtMuxmNGoGnzvLRM7
  • Towards NLP

    11 PhD Positions in the MSCA Doctoral Network HYBRIDS If you are thinking about doing PhD in NLP, check out this possibility! All positions connected with the fight of fake news and toxic speech. The directions are super interesting, if I was not already a postdoc, I would have applied by myself😉 There is still a month to apply: the deadline is April, 26th. https://hybridsproject.eu/jobs/ The recommendation from @@bbkjunior. Subscribe to his channel @@butterflai_effect🤗
  • Towards NLP

    Microsoft Designer I got access to Microsoft Designer and it is super interesting thing. You can generate design for posters, presentations, instagram posts, postcards, websites, invitations... Now the Viber and Whatsapp postcards will know no limit. Do you want to try to promote some your product?😉
    Microsoft Designer - Stunning designs in a flash

    A graphic design app that helps you create professional quality social media posts, invitations, digital postcards, graphics, and more. Start with your idea and create something unique for you.

    Microsoft
  • Towards NLP

    GPT-4 Creator Ilya Sutskever

    GPT-4 co-creator Ilya Sutskever, co-founder and chief scientist at OpenAI, talks about large language models, hallucinations and his vision of AI-aided democracy.

    YouTube
  • Реклама

  • Towards NLP

    The ELLIS mission is to create a diverse European network that promotes research excellence and advances breakthroughs in AI, as well as a pan-European PhD program to educate the next generation of AI researchers. ELLIS also aims to boost economic growth in Europe by leveraging AI technologies.

    European Lab for Learning & Intelligent Systems
  • Towards NLP

    Explainability for NLP With the raise of LLMs from ClosedAI, the research in explainability for NLP is important as never before. Still, a lot of work should be done in the field. However, you already can experiment and try explain your fine-tuned LLMs on a specific task. For now, the majority of methods are explored for texts classification tasks and are adjusted from tabular data. How it can be done? 1. Baseline approach: Leave-one-out explanations. For instance, you have a regression layer as one of the last layers in your model. You can check the tokens with major weights. Then, exclude them from the text and check if the model's answer has changed. If the tokens were indeed important, the answer should change dramatically as the model cannot orient on this words to make a correct decision. 2. Local Surrogate (LIME). Modification of the previous idea. Now, you delete each word from the sentence and check the results. The "importance" of the word will be estimated based on how the model's answer differ each time. 3. SHAP (SHapley Additive exPlanations). It is based on a game theory with the main idea to tell us how to fairly distribute the “payout” (= the prediction) among the features. So, one more modification of previous approaches with estimation of a score with three parameters — local accuracy, missingness, and consistency. More details about how explainability can be used for general ML you can read in the book "Interpretable Machine Learning". The TUM, where I am right now, already did an overview of explainability methods for NLP and you can check this paper. If we have explained a model, what is next? How we can fix model's misbehavior with such explanations? The continuation of explainability story will be in further posts😉
    9.2 Local Surrogate (LIME) | Interpretable Machine Learning

    Machine learning algorithms usually operate as black boxes and it is unclear how they derived a certain decision. This book is a guide for practitioners to make machine learning decisions interpretable.

    christophm.github.io
  • Towards NLP