<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Aakash Thatte</title><link>https://sky-2002.github.io/</link><description>Recent content on Aakash Thatte</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 27 Sep 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://sky-2002.github.io/index.xml" rel="self" type="application/rss+xml"/><item><title>(GSoC) Summary of Neural Extraction Framework</title><link>https://sky-2002.github.io/posts/2023-09-27-summary-of-project/</link><pubDate>Wed, 27 Sep 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-09-27-summary-of-project/</guid><description>&lt;p&gt;Hello. This is the last blog related to GSoC as my project nears to an end and the final evaluation approaches. In this blog, I will try to summarize the project, write about what could be added further and future scope etc.&lt;/p&gt;
&lt;h4 id="summary-of-neural-extraction-framework"&gt;&lt;strong&gt;Summary of Neural Extraction Framework&lt;/strong&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;GSoC project page - &lt;a href="https://summerofcode.withgoogle.com/programs/2023/projects/cKuagkf8"&gt;Link&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Github Repo - &lt;a href="https://github.com/dbpedia/neural-extraction-framework/tree/main/GSoC23"&gt;Link&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://github.com/dbpedia/neural-extraction-framework/tree/main/GSoC23"&gt;Neural Extraction Framework&lt;/a&gt; has been a wonderful experience for me. This project was in its third iteration this year in the Google Summer of Code and I am delighted to share that we have achieved to have an end-2-end framework to automatically extract relational triples from wikipedia articles and link them to entities and predicates in DBpedia.&lt;/p&gt;</description></item><item><title>(GSoC) Week-14 Recent Updates</title><link>https://sky-2002.github.io/posts/2023-09-07-week-14-recent-updates/</link><pubDate>Thu, 07 Sep 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-09-07-week-14-recent-updates/</guid><description>&lt;p&gt;Hello. This blog will be about a few updates I made in recent weeks. Also, I am excited to share that I will be giving a lightning talk in the &lt;strong&gt;Google Summer of Code Virtual Contributor Lightning Talks 2023&lt;/strong&gt; on my project. Its going to be a short talk(3 minutes max), I will be summarizing my project and I am really excited for it!&lt;/p&gt;
&lt;p&gt;In think blog, I will give some info on the recent updates, like adding coreference resolution, some small speedups we got in the code, etc.&lt;/p&gt;</description></item><item><title>(GSoC) Week-11, 12 and 13 Recent Updates</title><link>https://sky-2002.github.io/posts/2023-08-26-week-11-12-13-recent-updates/</link><pubDate>Sat, 26 Aug 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-08-26-week-11-12-13-recent-updates/</guid><description>&lt;p&gt;Hello. Its been a while since I have put an update on the project(travelling and network issues). I had been working on some polishing, enhancing and re-experimenting, with the models that we are using, the time it takes to process the inputs etc. In this blog, I will give a review of these.&lt;/p&gt;
&lt;h4 id="restating-the-goal"&gt;&lt;strong&gt;Restating the Goal&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Just to make sure we are clear about the end goal, given a wikipedia page(an entity), we need to disambiguate the predicates/relationships between the page and all other pages(other entities) that are linked from that page. More precisely, we want to find the relationships between those pages which are only connected by the &lt;code&gt;dbo:wikiPageWikiLink&lt;/code&gt; predicate and no other predicate, or mine the text to see even a relationship exists or not. There are cases where some page is linked in references, but is not related to the wikipedia page. The goal is to find all those hidden relationships by processing the wiki page text.&lt;/p&gt;</description></item><item><title>(GSoC) Week-9 and 10 Mid Evaluations and remaining TODOs</title><link>https://sky-2002.github.io/posts/2023-08-06-week-9-10-mid-eval-and-todos/</link><pubDate>Sun, 06 Aug 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-08-06-week-9-10-mid-eval-and-todos/</guid><description>&lt;p&gt;Hello. I recently passed my mid term evaluation for GSoC 2023. It has been a great experience so far. DBpedia finally has an end-2-end neural extraction framework. Got insightful feedback from the mentors. In this blog, I will discuss about some tasks that still need to be done in order to make this end-2-end relation extraction reliable and correct.&lt;/p&gt;
&lt;h4 id="background"&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;To give a quick overview - our end-2-end framework takes in raw text as input and gives a list of &lt;code&gt;(&amp;lt;subject&amp;gt;, &amp;lt;predicate&amp;gt;, &amp;lt;object&amp;gt;)&lt;/code&gt; triples as output. We are using REBEL relation extraction model for joint entity-relation extraction, GENRE for entity linking and text based vector similarity for mapping relations to predicates. This pipeline is explained in the [previous blog]({% post_url 2023-07-24-Week-8-End-2-End-RE %}) and works great.&lt;/p&gt;</description></item><item><title>(GSoC) Week-8 End-2-End Relation extraction</title><link>https://sky-2002.github.io/posts/2023-07-24-week-8-end-2-end-re/</link><pubDate>Mon, 24 Jul 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-07-24-week-8-end-2-end-re/</guid><description>&lt;p&gt;Hello. It feels amazing to start this blog as we have been able to create an end-2-end system for relation extraction from text, the ultimate goal of this &lt;!-- raw HTML omitted --&gt;Neural Extraction Framework&lt;!-- raw HTML omitted --&gt; project.&lt;/p&gt;
&lt;p&gt;Before we begin, check the sample below of how the extracted and mapped triples look like:&lt;/p&gt;
&lt;!-- raw HTML omitted --&gt;
&lt;h4 id="expectations"&gt;&lt;strong&gt;Expectations&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;The expectation from an end-2-end relations extraction is to take as input a wikipedia article text and return a set of relational triples. These relational triples are in the form of &lt;code&gt;&amp;lt;subject_entity&amp;gt; , &amp;lt;predicate&amp;gt; , &amp;lt;object_entity&amp;gt;/&amp;lt;literal&amp;gt;&lt;/code&gt;. Also, initially we want these triples to have the wikipedia page itself as the subject entity. For example, if the page is about &lt;code&gt;Berlin_Wall&lt;/code&gt;, we would like to pick the triples where the subject entity is &lt;code&gt;Berlin_Wall&lt;/code&gt;. This way, we have same objective as extracting from infobox, just that we also make use of the text to extract relations and thus enhance the process to mine more information about that entity/page.&lt;/p&gt;</description></item><item><title>(GSoC) Week-7 Predicate mapping</title><link>https://sky-2002.github.io/posts/2023-07-19-week-7-predicate-mapping/</link><pubDate>Wed, 19 Jul 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-07-19-week-7-predicate-mapping/</guid><description>&lt;p&gt;Hello. In this blog, we will be looking into mapping natural language relations to predicates in DBpedia. This task is extremely important in order to achieve our ultimate goal of a neural extraction framework.&lt;/p&gt;
&lt;h4 id="background"&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;In the previous post, we had discussed about REBEL model for relation extraction. This model extracts the head entity, relation and tail entity from texts. But they are in natural language form - for example, &amp;ldquo;lives in&amp;rdquo; - we want them to be in the form of URIs - for example &amp;ldquo;&lt;a href="https://dbpedia.org/ontology/residence%22"&gt;https://dbpedia.org/ontology/residence&amp;quot;&lt;/a&gt; - so that we can link them to dbpedia predicates. For mapping entities to dbpedia resource URIs, we already have a few methods for entity linking.&lt;/p&gt;</description></item><item><title>(GSoC) Week-6 Relation Extraction - REBEL</title><link>https://sky-2002.github.io/posts/2023-07-13-week-6-relation-extraction-rebel/</link><pubDate>Thu, 13 Jul 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-07-13-week-6-relation-extraction-rebel/</guid><description>&lt;p&gt;Hello. The previous blog was the last in the entity-linking part of the project. Now we will move onto relation extraction. In this blog, we will discuss about REBEL - a relation extraction model. Given a text, this model can find relational triples(head-relation-tail) in the form of natural language text.&lt;/p&gt;
&lt;h4 id="background"&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;REBEL is a text2text model trained by &lt;a href="https://babelscape.com/"&gt;BabelScape&lt;/a&gt; by fine-tuning &lt;!-- raw HTML omitted --&gt;BART&lt;!-- raw HTML omitted --&gt; for translating a raw input sentence containing entities and implicit relations into a set of triplets that explicitly refer to those relations. It has been trained on more than 200 different relation types.
REBEL is a joint model, meaning that it extracts entities and relations simultaneously.&lt;/p&gt;</description></item><item><title>(GSoC) Week-5 Entity Linking - Benchmarking</title><link>https://sky-2002.github.io/posts/2023-07-04-week-5-entity-linking-benchmarking/</link><pubDate>Tue, 04 Jul 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-07-04-week-5-entity-linking-benchmarking/</guid><description>&lt;p&gt;Hello. In this blog, I will discuss about the benchmarking(or evaluation 😅) of different entity-linking approaches that I have discussed in previous few blogs. I have used the WNED dataset for benchmarking/evaluation.&lt;/p&gt;
&lt;h4 id="dataset"&gt;&lt;strong&gt;Dataset&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;I used the WNED(WNED-WIKI from the KILT Benchmarking) dataset available &lt;a href="https://borealisdata.ca/dataset.xhtml?persistentId=doi:10.7939/DVN/10968"&gt;here&lt;/a&gt;. The dataset contains 345 wikipedia articles and 6,821 entity mentions from them, along with the entities they refer to(as wikipedia article titles). In the dataset, there are raw-text wikipedia article content which contain entity mentions, and then there is an &lt;code&gt;wikipedia.xml&lt;/code&gt; file that contains information like the article title, each mention and its associated entity. I collected all entity mentions and their entities in a file:
&lt;!-- raw HTML omitted --&gt;&lt;/p&gt;</description></item><item><title>(GSoC) Week-4 GENRE for entity linking</title><link>https://sky-2002.github.io/posts/2023-06-27-week-4-entity-linking/</link><pubDate>Tue, 27 Jun 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-06-27-week-4-entity-linking/</guid><description>&lt;p&gt;Hello. In this blog, I will be writing about using a text generation model to disambiguate entities, GENRE. It stands for &lt;strong&gt;Generative Entity Retrieval&lt;/strong&gt;, presented in the &lt;strong&gt;&lt;a href="https://arxiv.org/pdf/2010.00904"&gt;Autoregressive Entity Retrieval&lt;/a&gt;&lt;/strong&gt; paper by facebook research.&lt;/p&gt;
&lt;p&gt;In a nutshell, GENRE uses a sequence-to-sequence approach to entity retrieval (e.g., linking), based on fine-tuned &lt;strong&gt;&lt;a href="https://arxiv.org/abs/1910.13461"&gt;BART&lt;/a&gt;&lt;/strong&gt; architecture. GENRE performs retrieval generating the unique entity name conditioned on the input text using constrained beam search to only generate valid identifiers.&lt;/p&gt;</description></item><item><title>(GSoC) Week-3 Entity Linking - Techniques used</title><link>https://sky-2002.github.io/posts/2023-06-19-week-3-entity-linking/</link><pubDate>Mon, 19 Jun 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-06-19-week-3-entity-linking/</guid><description>&lt;p&gt;Hello. In this blog, we will continue with entity linking(read [previous blog]({% post_url 2023-06-13-Week-2-Entity-Linking %}) for intro and simple demos), methods that I am using for entity linking in my project and some recent techniques that can be used to perform EL.&lt;/p&gt;
&lt;h4 id="background"&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;In the previous blog, I had mentioned of using DBpedia lookup, DBpedia spotlight etc. In this blog, I will try to discuss how these work, discuss some approaches that I am using in my GSoC project to perform EL and also discuss some ideas like zero-shot classification that can be used to perform and enhance EL.&lt;/p&gt;</description></item><item><title>Indexing in information retrieval</title><link>https://sky-2002.github.io/posts/2023-06-18-indexing/</link><pubDate>Sun, 18 Jun 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-06-18-indexing/</guid><description>&lt;p&gt;Hello. This blog is about indexing techniques used in information retrieval. I will try to cover some basic indexing techniques and also provide code for some of them.&lt;/p&gt;
&lt;h4 id="what-is-indexing"&gt;&lt;strong&gt;What is indexing?&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;An index is a data structure that is created to efficiently store and retrieve information from a collection of documents or data. The index allows for quick lookup and retrieval of documents based on user queries or search terms. In search engines, web pages are indexed, when user enters a query, the engine finds the relevant documents quickly using the index. Below are some indexing techniques:&lt;/p&gt;</description></item><item><title>(GSoC) Week-2 Entity Linking - Intro</title><link>https://sky-2002.github.io/posts/2023-06-13-week-2-entity-linking/</link><pubDate>Tue, 13 Jun 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-06-13-week-2-entity-linking/</guid><description>&lt;p&gt;Hello! In this blog, we will discuss about entity linking, a process used to map recognized entities to resources in a knowledge base, like DBpedia.&lt;/p&gt;
&lt;h4 id="background"&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Entity linking is the process of linking or mapping entity mentions(the identified entities in a text) to actual resources in a knowledge base. This is an important step towards our ultimate goal of relation extraction. Entity mentions in text need not be exactly same as the entities in the knowledge base, so it is very essential that we map them to the correct entity(in the KB) so as to extract correct relations. It is an important step which acts as a bridge to connect unstructured text to knowledge bases.&lt;/p&gt;</description></item><item><title>(GSoC) Week-1 Named Entity Recognition</title><link>https://sky-2002.github.io/posts/2023-06-01-week-1-ner/</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-06-01-week-1-ner/</guid><description>&lt;p&gt;Hi! In this post, I will be talking about NER, a very popular and important task in NLP!&lt;/p&gt;
&lt;h4 id="background"&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Named Entity Recognition, which is a subtask of natural language processing (NLP), involves identifying and classifying named entities within a given text. The goal is to identify and categorize the entities present in text. This also forms a step in our goal of relation extraction.&lt;/p&gt;
&lt;p&gt;Entities present in text can be calssified(broadly) into a variaty of types like &lt;code&gt;PERSON&lt;/code&gt;, &lt;code&gt;ORGANIZATION&lt;/code&gt;, &lt;code&gt;LOCATION&lt;/code&gt;, &lt;code&gt;TIME&lt;/code&gt;, etc. It is easy for humans to identify and categorize entities from text. When we read or hear a sentence like &lt;strong&gt;&amp;quot;&lt;!-- raw HTML omitted --&gt;Messi&lt;!-- raw HTML omitted --&gt; &lt;!-- raw HTML omitted --&gt;is a football player of&lt;!-- raw HTML omitted --&gt; &lt;!-- raw HTML omitted --&gt;Argentina&lt;!-- raw HTML omitted --&gt;&amp;quot;&lt;/strong&gt;, we can easily identify that &lt;strong&gt;Messi&lt;/strong&gt; is a person and &lt;strong&gt;Argentina&lt;/strong&gt; is a location/country. Identifying these further helps us understand the relation between them, in this case, the relation is - &lt;strong&gt;player of&lt;/strong&gt;. We can think of named entities as answers to &lt;strong&gt;wh&lt;/strong&gt; questions like &lt;strong&gt;Who, What, When ,Where&lt;/strong&gt; etc. in a sentence. But it is not as easy for a machine to understand and process text as we do. For this, we need either rule based methods or machine learning/deep learning approaches.&lt;/p&gt;</description></item><item><title>Accepted in GSoC 2023!</title><link>https://sky-2002.github.io/posts/2023-05-21-accepted-in-gsoc-2023/</link><pubDate>Sun, 21 May 2023 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/posts/2023-05-21-accepted-in-gsoc-2023/</guid><description>&lt;p&gt;Hello and welcome!&lt;/p&gt;
&lt;p&gt;I am delighted to write my first blog post about my acceptance in GSoC 2023 with &lt;a href="https://www.dbpedia.org/"&gt;DBpedia&lt;/a&gt;. Throughout the summer, I will work on the &lt;a href="https://summerofcode.withgoogle.com/programs/2023/projects/cKuagkf8"&gt;Neural extraction framework&lt;/a&gt; project with DBpedia.&lt;/p&gt;
&lt;h4 id="background"&gt;&lt;strong&gt;Background&lt;/strong&gt;:&lt;/h4&gt;
&lt;p&gt;It all started last year when I came to know about GSoC. It was that time when I learned about open-source, and I liked the idea of anyone being able to contribute and change the codes of so many softwares we use every day. I found an organization and worked hard contributing and writing a proposal. Though I was not selected for GSoC, I added two new distance metrics to a vector database later that summer. Since then, I have kept looking for opportunities in open-source projects, especially those I use.&lt;/p&gt;</description></item><item><title>About</title><link>https://sky-2002.github.io/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sky-2002.github.io/about/</guid><description>&lt;p&gt;Hi, I&amp;rsquo;m Aakash!
I hold a B.Tech in Data Science and AI and work as an ML Engineer at &lt;a href="https://www.needl.ai/"&gt;Needl&lt;/a&gt;, where we are working to solve information overload problems in the finance domain. As part of my role, I work on developing and deploying NLP solutions, working on document AI, and more recently, around agents for automated insights generation.&lt;/p&gt;
&lt;p&gt;During my bachelors, I have had a good time exploring Linear Algebra, Probability &amp;amp; Statistics, classical ML, Adversarial ML, GPU architecture (using CUDA) and Psychology.&lt;/p&gt;</description></item></channel></rss>