<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marcia Oliveira on Medium]]></title>
        <description><![CDATA[Stories by Marcia Oliveira on Medium]]></description>
        <link>https://medium.com/@mdbo?source=rss-c053fead7b8d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mW_R0Pu_EkHOp2DjRLasAQ.png</url>
            <title>Stories by Marcia Oliveira on Medium</title>
            <link>https://medium.com/@mdbo?source=rss-c053fead7b8d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 19:58:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mdbo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[3 Reasons Why AutoML Won’t Replace Data Scientists Yet | SKIM]]></title>
            <link>https://medium.com/skim-technologies/3-reasons-why-automl-wont-replace-data-scientists-yet-skim-dfc589a25506?source=rss-c053fead7b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfc589a25506</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <category><![CDATA[feature-engineering]]></category>
            <category><![CDATA[automl]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <dc:creator><![CDATA[Marcia Oliveira]]></dc:creator>
            <pubDate>Tue, 12 Mar 2019 12:41:11 GMT</pubDate>
            <atom:updated>2019-07-15T15:11:36.416Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Bleeding Edge</strong> Series: 3 reasons why AutoML won’t replace data scientists yet</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VM4iHN1HCB6qmoE0.jpg" /></figure><p><em>In this article, we look to dispel the myth that AutoML is replacing Data Scientists jobs by highlighting three factors in Data Science development that AutoML can’t solve, and why.</em></p><p>Automatic Machine Learning (or, simply, AutoML) is a field that has been gaining traction and popularity within the Data Science community. Despite its remote origins — the first <a href="https://www.sciencedirect.com/science/article/pii/S0065245808605203">algorithm selection paper</a> was written by John Rice and published in 1976 -, and strong academic foundations (e.g., scientific research on metalearning and Bayesian optimisation; workshops on academic conferences such as <a href="https://sites.google.com/site/automl2018icml/">ICML</a>; <a href="http://automl.chalearn.org/">challenges &amp; competitions</a>), only recently the topic spurred significant interest among organisations, data scientists and Machine Learning (henceforth, ML) practitioners. This surge of interest is reflected on the development and release of numerous open source AutoML libraries (e.g., <a href="https://www.cs.ubc.ca/labs/beta/Projects/autoweka/">AutoWeka</a>, , <a href="https://automl.github.io/auto-sklearn/master/">auto-sklearn</a>, <a href="https://epistasislab.github.io/tpot/">TPOT</a>, <a href="https://automl.github.io/HpBandSter/build/html">HpBandSter</a>, <a href="https://autokeras.com/">AutoKeras</a>, <a href="https://facebook.github.io/prophet/">prophet</a>), and on the emergence of businesses focused on building and commercialising AutoML systems (e.g., <a href="https://www.datarobot.com/">DataRobot</a>, , <a href="https://www.h2o.ai/">H2O.ai</a>, <a href="https://www.oneclick.ai/en/">OneClick.ai</a>).</p><p>A combination of factors is likely behind this increased attention and demand for off-the-shelf ML systems:</p><p>(i) widespread adoption of machine learning in the industry, <br>(ii) shortage of data scientists and ML experts, <br>(iii) the increasing availability of AutoML libraries and tools and consequent awareness of AutoML’s potential.</p><p>Even though AutoML is a hot topic and many articles are being written about it (see, for instance, the ones by H2O.ai’s <a href="https://www.h2o.ai/blog/the-different-flavors-of-automl/">Erin LeDell</a>, Fast.ai’s <a href="https://www.fast.ai/2018/07/16/auto-ml2/">Rachel Thomas</a>, and KDNuggets’ <a href="https://www.kdnuggets.com/2017/01/current-state-automated-machine-learning.html">Matthew Mayo</a>), few have emphasised and clarified the limitations of current AutoML systems. It is our intention to address this gap by dispelling some misconceptions surrounding AutoML and pointing out what we believe to be AutoML’s current main drawbacks. But first, let’s start with the basics.</p><h4>What is AutoML?</h4><p>As the name implies, AutoML is a field of machine learning concerned with automating repetitive tasks of the ML process. The aim of AutoML is to automate the maximum number of steps in the ML workflow without compromising model performance. Through intelligent automation, AutoML fulfils an important mission: enabling more people to reap the benefits of using ML to solve real-world problems by democratizing ML and making it accessible to non-experts, while concomitantly increasing the productivity of the experts.</p><p>The diagram below shows a typical data scientist workflow according to the popular TDSP methodology. This highlights the limited areas in which AutoML is currently used.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*mgvjZQDxCSJFuMl_.png" /></figure><p>Traditionally, the main priority of the AutoML community has been on developing methods for automating the tasks of model selection and hyperparameter optimisation, i.e., finding the best performing model and corresponding configuration without human intervention. More recently, AutoML extended its suite of techniques to include the automation of (i) ensemble methods such as stacking, (ii) ad-hoc neural network architectures (e.g., neural architecture search), (iii) basic data preprocessing and feature encoding (e.g., one-hot encoding, scaling, handling missing values, dimensionality reduction), and (iv) naive feature engineering (e.g., taking the maximum, minimum, and mean of numerical variables). As progress is continuously being made in the field, we expect to see more tasks of the ML workflow being fully or partly automated in the next few years.</p><h4>Will AutoML replace Data Scientists?</h4><p>A common question that arises whenever the topic of AutoML is brought up. The TL;DR answer is <em>no</em>. I will use the example of a kitchen robot (e.g., Thermomix/Bimby) as an analogy to make the arguments clearer.</p><p>AutoML, just like kitchen robots, helps humans be more productive and efficient by delegating to machines the portion of their work that is repetitive and resource-intensive, which is exactly the type of work where machines tend to surpass humans. For example, stirring constantly at a certain rhythm, at a constant temperature, and for a specific amount of time (e.g., 20 minutes non-stop), is something that kitchen robots do better than humans, mostly due to the lower variability involved. This lower variability of the stirring process tends to generate a more consistent result and fewer errors. However, creating the recipe, choosing the right ingredients, and putting these ingredients into the kitchen robot are tasks that humans are currently better at since these involve creativity, judgment and manual dexterity. By using a kitchen robot to cook, a human is likely to spend less time in the kitchen, freeing up time to focus on other tasks. Likewise, by automating the process of training multiple ML algorithms using different hyperparameter configurations and picking the best model, data scientists can focus on the more fulfilling and human elements of their role, such as those involving creativity and critical thinking.</p><p>Model selection, training and hyperparameter optimisation are essential tasks in the ML pipeline, especially if we’re looking at the simplified and narrow world of ML competitions (e.g., Kaggle) where problems are clearly defined and the data is (mostly) clean. However, these represent only a small fraction of the steps involved in a typical real-world data science project. A similar reasoning can be applied to the cooking scenario: the kitchen robot may be able to perform automatically 99% of the instructions of some recipes (e.g., yogurt making, which can be considered akin to some ML competitions in our analogy), but this fraction is much lower for the great majority of recipes, and a kitchen robot will certainly struggle when asked to prepare Gordon Ramsay’s beef Wellington. Depending on the complexity of the recipe, a kitchen robot may be more or less helpful, but it is unlikely it will replace a <em>chef</em>. A similar reasoning applies to AutoML, data science projects, and data scientists.</p><p>Coming back to the analytics world, there are plenty of activities that lie at the heart of data science where human influence, intervention, and oversight are vital. Here is a tentative list of some of the crucial but often overlooked activities that a data scientist may need to perform in his/her role and that are less prone to automation:</p><ul><li>Identifying problems in the real-world that can be analysed through the lens of data science</li><li>Framing the problem as a data science problem (e.g., shall the problem be addressed as a supervised, unsupervised or reinforcement learning task? Or do traditional statistics suffice?)</li><li>Anticipating risks and devising strategies to manage them</li><li>Designing the data collection methodology, performing data annotation, assessing data quality, if no labelled data are available</li><li>Identifying and controlling human biases, especially if relying on external data</li><li>Incorporating domain knowledge into the process, for instance, via feature engineering</li><li>Critically analysing and evaluating the results of a model</li><li>Explaining model decisions in a human-interpretable way</li><li>Analysing ethical issues and assessing the impact of the project output in society</li><li>Effectively communicating the results to stakeholders</li></ul><p>The above list offers a glimpse into how much expertise a real-world data science project usually entails, besides training and selecting an ML model. In fact, the task of trying out many ML algorithms using different hyperparameter configurations, or selecting a network architecture (deep learning), is probably the least complex, time-consuming or relevant one when taking into account all the steps involved in a fully-fledged data science project. Given the difficulty of automating many of the outlined tasks, it is unlikely that data scientists will be replaced by AutoML systems (at least in the near future). Besides, that’s not really the point behind AutoML. Its purpose is to <em>assist</em> data scientists and free them from the burden of repetitive, tedious, and less demanding tasks, so they can invest their time on tasks that are more challenging, creative, and harder to automate.</p><p>The rise of AutoML systems is partly a reflection of the evolution of a growing and increasingly relevant field — Data Science — for which the demand for experts exceeds the supply. By improving the efficiency of data scientists and making ML more accessible to non-experts, AutoML benefits not only the market but everyone working in the field.</p><h4>The missing pieces of current AutoML systems</h4><p>As set out at the beginning, the focus of this blog post is to draw attention to what we consider to be the main limitations of contemporary AutoML systems. These limitations can be perceived as missing pieces in the AutoML puzzle. In this section, we highlight three of them: unsupervised &amp; reinforcement learning, complex data types, and feature engineering embedded with domain knowledge.</p><p>Contrary to common belief, current AutoML systems are still far from being able to solve many of the data science problems out there. As we’ve touched on in the previous section, real-world data science projects are multifaceted and involve complex and subjective tasks that do not lend themselves easily to automation. However, even those tasks which do, such as data integration, data cleaning, feature creation and feature selection, are either lacking from many AutoML systems, or at an incipient stage of development.</p><p>To the best of our knowledge, even though current AutoML systems can be pretty good at generating predictive models that achieve near-optimal performances within as little as a few minutes or hours, their coverage is still narrow and their true potential still untapped. Here we attempt to explain why this is the case, by uncovering three missing pieces of current AutoML systems.</p><h4>Unsupervised Learning &amp; Reinforcement Learning</h4><p>Traditionally, when people think about ML they often think about supervised learning. This idea is clearly reflected in current AutoML systems, whose reliance on labelled datasets and focus on building predictive models makes them fall within the scope of supervised learning. However, supervised learning represents only a subset of existing ML approaches. Despite being lesser known by the general public, unsupervised learning and reinforcement learning are important ML approaches that are used by data scientists to solve different kinds of real-world problems (e.g., customer segmentation, industrial simulation).</p><p>Unsupervised learning techniques aim to discover patterns from data when no ground truth is available. In contrast with supervised learning, this type of ML approach does not rely on labelled datasets, which are typically very costly and hard to obtain. Also, there is no clear measure of success that can be used to assess the quality of unsupervised learning results, since there is no ground truth to measure against. As a result, it is harder to judge the effectiveness of different methods since there is no direct way to compare them. This subjectivity in the definition of “success” and the important role of expert knowledge during the process, are two likely reasons why existing AutoML systems do not cover this approach. Nonetheless, given that the majority of data in the world is unlabelled, AutoML systems would become even more useful if their scope was widened to include the automated application of such methods.</p><p>With reinforcement learning (RL), software agents learn to perform a specific task through trial and error by receiving feedback from their own actions. If the action represents a step towards achieving the goal, then the agent receives a reward. Otherwise, it is punished. This way, the agent learns from its mistakes and improves with experience. Similarly to supervised learning, in reinforcement learning, there is a measure of success — the reward function -, which makes this ML task amenable to automation. However, traditional RL often requires a substantial design effort ahead of the learning process, namely, the design of the state space and of the action space. These tasks are problem specific and non-trivial. Deep reinforcement learning (DLR) alleviated some of this effort by removing the need to explicitly design the state space. Recent developments in DLR include systems such as <a href="http://science.sciencemag.org/content/362/6419/1140.full?ijkey=XGd77kI6W4rSc&amp;keytype=ref&amp;siteid=sci">AlphaZero</a>. To the best of our knowledge, AlphaZero is one of the few examples of AutoML in RL. AlphaZero is able to learn to play any “perfect information 2-player game” with no prior expertise required beyond the rules of the game, fitting into the general purpose of AutoML. Nevertheless, its application is still limited to perfect information scenarios, which are not that common in the real world.</p><p>In short, contemporary AutoML systems have been focused mostly on supervised tasks that require labelled data as input and are easier to automate.</p><h4>Complex Data Types</h4><p>Data is one of the most valuable commodities today, but not all data are equal. As mentioned before, most of the data out there are messy, unlabelled and unstructured, but most ML problems require clean, tidy and labelled data. Data also come in different shapes and sizes, and the ability to extract patterns from it heavily depends on its format and complexity.</p><p>Before deciding to apply AutoML on a specific problem, it is essential to understand if the type of data one has is currently supported by the AutoML library, tool or platform one intends to use. Since most AutoML systems are at the early stages of development, they were first designed to work with the most common data type, which according to 2017’s Kaggle ML and Data Science Survey (Figure 1) is tabular or “relational” data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qmBt8-g80B91Htsj.png" /></figure><p>More recently, a few AutoML systems have been extended to handle unstructured data, namely, text and images (e.g., <a href="https://cloud.google.com/vision/">Google Cloud AutoML Vision</a>, <a href="https://cloud.google.com/natural-language/automl/docs/">Google Cloud AutoML Natural Language</a>, AutoKeras, <a href="https://www.datarobot.com/wiki/text-mining/">DataRobot</a>), since these are two of the most prevalent data types (Figure 1). For instance, the commercial Google Cloud AutoML and the open source AutoKeras take as input raw text or images, along with the associated labels, and perform Neural Architecture Search (NAS), or some variant of it (e.g., ENAS), to obtain a customised model for the problem at hand (currently supported tasks include text classification, machine translation, and image classification). Other AutoML systems (e.g., <a href="http://docs.h2o.ai/driverless-ai/latest-stable/docs/userguide/nlp.html">H2O Driverless AI</a>) follow a more classical approach to text classification and try out different ML linear algorithms and hyperparameter settings using as input TF-IDF vectors.</p><p>Another very common type of data, mostly in the financial and retail industries, is time series data. The major players in this front are AI companies such as <a href="https://www.datarobot.com/time-series/">DataRobot</a>, <a href="https://www.oneclick.ai/en/solutions/time-series/">OneClick.ai</a> and <a href="https://www.h2o.ai/products/h2o-driverless-ai/">H2O Driverless AI</a>, which developed tools to automate the process of generating time series forecasting models. There are also options in the open source space, but these are scarce. To the best of our knowledge, there are only two non-commercial libraries that provide similar functionality, namely, <a href="https://www.rdocumentation.org/packages/forecast/versions/8.5">forecast</a> with its function, and <a href="https://facebook.github.io/prophet/">prophet</a>, which was developed by Facebook and open-sourced in 2017.</p><p>Network data and web data are, on the other hand, two more complex data types. Given their rarity in real-world projects, they have been overlooked in favour of more common data types. However, it is likely that, as development progresses and with tools such as the Skim Engine, AutoML systems will include automatic means to process these types of data in the near future.</p><p>In short, even though current AutoML systems are able to handle and process the most common data types, namely, tabular data, text, images, and time series, most of the existing solutions are commercial and, thus, not accessible to everyone. Besides, there are complex data types, such as network and web data, which are still not part of the AutoML equation, thus limiting the type of problems that can be solved with AutoML.</p><h4>Feature Engineering embedded with Domain Knowledge</h4><p>Recent years have witnessed a trend towards automation of ML workflows. The focus has been placed mostly on model selection and hyperparameter tuning, which represent only a small piece of the KDD puzzle. These two stages are the easiest to automate, given the objectivity and consistency of their steps across supervised learning problems. However, one of the key ingredients for building great ML models has been often disregarded from AutoML systems: feature engineering. One of the main reasons for overlooking this important step in the ML pipeline is the subjectivity of the process of generating features that capture domain knowledge, (i.e., a deep understanding of a specific problem), which makes this task very hard to automate. Deep learning is an exception to this since it automates feature engineering for images/video, text, and audio, so the arguments presented here only apply to the structured, relational datasets most companies work with.</p><p>Feature engineering is more of an art than a science and it is arguably the stage offering the most fertile ground for human creativity to blossom. The traditional approach of manually crafting features that unearth the most meaningful aspects of the task or process one is trying to model, is imbued with imagination, creativity, and a generous dose of domain expertise. It is thus not surprising that the exact same dataset, trained using the exact same AutoML tool, may give rise to a remarkable diversity of ML models if the feature engineering is carried out by different data scientists. Manual feature engineering is also problem-dependent and the type of features one can create is often bounded by the input dataset. As a consequence, it is one of the most time-consuming and laborious stages of any data science project, along with data cleaning and preprocessing.</p><p>Given this, the goal of automating feature engineering for tabular or “relational” data is ambitious due to its heavy reliance on domain knowledge and creativity. However, good enough models can be built by adopting a more generic and mechanical framework to feature creation that is not restricted to a specific problem. This kind of framework is mostly based on the application of rules, since it computes a set of predefined (or customised) operations to the columns of a data table, based on the type of data stored in these columns (e.g., string, numeric, date). Examples include one-hot encoding of categorical columns, differences and ratios between numerical variables, encoding categorical variables by how frequently they occur, extracting individual words and n-grams from free text, extracting days of the week, months and years from date fields, among others. Such weak type-only constraints tend to generate many irrelevant, nonsensical, and highly correlated features, which significantly increase the dimensionality of the original dataset. Ideally, feature creation should always be followed by feature selection in order to ensure all redundant, noisy and non-useful features are removed from the dataset. This selection step is important not only to reduce the computational time needed to train each model but also to avoid problems such as overfitting and lack of model interpretability.</p><p>Almost all of the advanced AutoML platforms include some sort of automated data preprocessing (e.g., handling missing values, removing null or constant columns, dropping duplicates, scaling of numerical variables), but only a few offers automatic feature engineering. Examples of companies whose AutoML systems include automatic feature engineering for “relational” data include <a href="https://www.datarobot.com/wiki/feature-engineering/">DataRobot</a> and <a href="http://docs.h2o.ai/driverless-ai/latest-stable/docs/userguide/key-features.html#automatic-feature-engineering">H2O Driverless AI</a>. There are also open source solutions, namely, the very promising <a href="https://www.featuretools.com/">FeatureTools</a> library and the very complete <a href="https://mlbox.readthedocs.io/en/latest/">MLBox</a> library. Note however that none of the existing tools is able to automatically incorporate domain knowledge into the ML process as this remains an exclusive/unique human skill.</p><p>Despite the noteworthy attempts of automating the difficult task of feature engineering, the secret ingredient to obtaining high-quality models in many real-world problems continues to be <em>domain knowledge</em>. Training a model with features created by domain experts versus training a model with automatically generated features can have a huge impact on model performance. But this improved performance achieved with domain knowledge comes at a cost: hand-crafted features take much longer to create and incorporate in a (structured/relational) dataset than automatically generated ones. Ideally, the AutoML community should come up with more sophisticated methods for incorporating domain-specific knowledge into the automatically created features, by exploring regularities and involving a multidisciplinary team in the development of AutoML products. Flexibility is also essential, and any AutoML system should offer the ability to combine automatically generated features with manually created ones.</p><p>We live in an era where the growth of data outpaces our ability to make sense of it. This is justified not only by current technological barriers but mostly by our reliance on experts to perform this task. AutoML is an exciting field that has been on the spotlight and which promises to mitigate this problem through intelligent automation of repetitive tasks of the ML workflow. AutoML greatly lowers the barrier to entry for many typical scenarios where ML might be successfully applied, by enabling both experts and non-experts to quickly and easily build good quality models from data. Advanced AutoML systems, such as those developed by DataRobot, H2O Driverless AI, Google’s AutoML, and FeatureTools, are bridging the gap between ML research and the industry by implementing and wrapping the latest AutoML methods in user-friendly libraries and tools. However, the advent of AutoML is not going to send data scientists to unemployment (at least, not soon). There are still a lot of pieces of the KDD process that are missing in contemporary AutoML systems and that, given their subjectivity (e.g., feature engineering embedded with domain knowledge), may never be fully automated. Besides, the main task of a data scientist is to bring value to the organisation, an opinion echoed by <a href="https://www.kdnuggets.com/2016/08/data-science-automation-debunking-misconceptions.html">Sandro Saitta</a>, which is admittedly a tall order for a machine.</p><p>Even though this blog post emphasised the current limitations of AutoML, we recognise these are likely temporary and we expect to witness big strides of progress in this field in a near future. We are truly excited by the opportunities opened up by AutoML and we are looking forward to its further development. However, it is important to debunk the misconception that contemporary AutoML is able to solve 100% of problems. It can’t. This doesn’t mean though that AutoML cannot be immensely helpful in addressing many of the problems out there.</p><p><em>Marcia Oliveira is a Senior Data Scientist at Skim Technologies and a lecturer at Porto Business School. She holds a PhD in Network Science from the University of Porto and she can be contacted at marcia@skim.it.</em></p><p><em>Originally published at </em><a href="https://www.skimtechnologies.com/3-reasons-why-automl-wont-replace-data-scientists-yet/"><em>https://www.skimtechnologies.com</em></a><em> on March 12, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfc589a25506" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skim-technologies/3-reasons-why-automl-wont-replace-data-scientists-yet-skim-dfc589a25506">3 Reasons Why AutoML Won’t Replace Data Scientists Yet | SKIM</a> was originally published in <a href="https://medium.com/skim-technologies">Deeper Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A benchmark comparison of extractive summarisation systems]]></title>
            <link>https://medium.com/@mdbo/a-benchmark-comparison-of-extractive-summarisation-systems-d77d46ca2489?source=rss-c053fead7b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d77d46ca2489</guid>
            <category><![CDATA[summary]]></category>
            <category><![CDATA[benchmark]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[summarization]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Marcia Oliveira]]></dc:creator>
            <pubDate>Tue, 23 May 2017 08:36:28 GMT</pubDate>
            <atom:updated>2017-07-18T16:40:23.479Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*qEieq-SklLqzdwbFoW0w_w.png" /></figure><p>The Information Age we are living in, fuelled by the advent of the World Wide Web and the concomitant rise in computational capabilities, fundamentally changed the way humans access and consume information. Having a plethora of information widely available at the distance of a click offers boundless opportunities for new businesses to emerge and transforms the way knowledge-based work is conducted. However, despite its undeniable advantages, the quantity of information available for consumption can easily become overwhelming, hindering our ability to keep up, make sense of it and, ultimately, convert that information into useful knowledge. It’s a real challenge to keep track of what’s important when you’re overloaded with information from multiple sources and your time is a limited resource.</p><p>Being aware of these challenges, our goal at Skim Technologies is to continuously develop smart technologies to help businesses and knowledge workers thrive in the Information Age. How? By leveraging Machine Learning (ML) and Natural Language Processing (NLP) to identify, extract, <strong>summarise</strong>, and timely deliver relevant content from news, blog posts, articles, and web pages in general.</p><p>In this blog post, we will focus on our text summarisation technology by briefly explaining how it works and how it compares to other automatic summarisation systems. If you’re not already familiar with automatic summarisation, I encourage you to read my <a href="https://medium.com/@mdbo/a-brief-introduction-to-summarisation-d1885351fa53">previous post</a>, where I provide a brief overview of the topic.</p><h3>Summarisation meets Machine Learning</h3><p>At Skim Technologies, we learned that the majority of web pages our users are interested in is comprised of text. Given this, we set out to devise an automatic text summarisation system able to read through a piece of text, pinpoint the key takeaways, and wrap it up in a digestible, easy-to-read summary (which we call a <em>skim</em>). The idea behind our summarisation is not to replace the original document <em>per se</em>, but to help you quickly identify the articles that are important and interesting to you, so you can better manage your time consuming information.</p><p><strong>Type of summaries:<br> </strong>Since there are different types of text summaries, at the beginning of our project we had to determine which kind of text summary would best fit our users’ needs. The answer was generic single-document summaries, which, as the terms imply, are summaries generated based on the content of a single document (as opposed to multiple documents) and which are able to concisely capture all the topics addressed in that document (as opposed to a specific topic), making them more general. Regarding the way the summary is presented, we chose an extractive approach (as opposed to an abstractive approach), which can be intuitively understood as a sequence of “copy-and-paste” operations, since it relies on selecting relevant passages, or sentences, in the source text and concatenate them to form a summary. We opted for this strategy for three main reasons: (i) extractive summarisation is well-established in the academic community, (ii) it is generally able to produce grammatically and semantically correct summaries, since it uses natural language phrases taken directly from the source text, and (iii) most of the time it works well in practice for article-type web pages, producing coherent, fairly readable, and meaningful summaries.</p><p><strong>Gold Standard Corpus:<br> </strong>After clearly defining the type of summaries we would like our system to generate, we drew on ML &amp; NLP advances to build our solution. As you may well know, one of the main ingredients of ML is data, so the next natural step was to collect data to feed a ML algorithm in order to create an extractive text summarisation model. Since we framed the summarisation problem as a supervised learning problem, we had to collect examples of good summaries to help the ML algorithm learn how to summarise. To do so, we set up annotation exercises with specialised human annotators to obtain an annotated corpus. Each annotator was asked to read a set of web articles and, for each article, select the best summary sentences so that the final summary had approximately 100 words. The web articles used in the annotation exercises were selected via stratified random sampling from a collection of web pages comprised of text articles and blog posts. We decided upon for a stratified random sampling strategy over a simple random sampling with the goal of ensuring diversity of websites and avoiding source bias. After running the annotation exercises, the average Inter-Annotator Agreement (IAA) for <em>all</em> annotators was 0.43, as measured by the <a href="https://en.wikipedia.org/wiki/Krippendorff%27s_alpha">Krippendorff’s Alpha</a> coefficient. This value is below the minimum acceptable level of agreement required to obtain reliable conclusions from the annotation data, which, according to Krippendorff, should be 0.667. To mitigate this problem, we computed the IAA for all possible combinations of annotators and selected the combination of annotators yielding the highest IAA. The maximum obtained IAA was 0.587, a value still below 0.667. However, as also pointed out by <a href="http://repository.upenn.edu/cgi/viewcontent.cgi?article=1250&amp;context=asc_papers">Krippendorff</a>, the acceptable values vary depending on the type of application, because achieving the recommended values may be very challenging and difficult in practice, especially for a complex and subjective task as summarisation.</p><p>Having collected the annotated data, the next step was to generate <em>average reference summaries</em> using the input from the annotators in order to obtain a gold standard corpus (i.e., a collection of text summaries that represent the majority opinion of annotators on what are the most representative sentences of an article). The average reference summary of a given article is comprised of a set of summary sentences selected by at least two annotators. In an attempt to capture the implicit importance of each sentence for the summary, we ranked these sentences by the number of annotators who selected them.</p><p><strong>Machine Learning:<br> </strong>We tackled the problem of extractive text summarisation as a supervised regression problem rather than as typical classification problem (i.e., class 1 if the sentence should enter the summary, and class 0 otherwise) so as to harness the rich information we had available regarding sentence importance. In order to build our summarisation model, we started by randomly splitting the collected gold standard documents into training, validation, and test sets. The held-out documents belonging to the test set were only used for assessing the generalisation performance of our extractive summarisation model, as presented in the next section. Since our input data is unstructured text, we preprocessed the corpus using NLP techniques and derived some structure from it by defining and computing several domain-driven features. The preprocessed dataset was then fed into a wide range of ML algorithms with different hyperparameter settings, and the best cross-validated model was selected. The result is an automatic extractive summarisation model, able to deliver coherent and meaningful summaries in most cases, and very efficient to run.</p><h3>Benchmark Evaluation</h3><p>Evaluation is an essential step when developing new systems since it enables monitoring progress, identifying weaknesses, measuring success, and comparing their performance with different systems that offer a similar type of service. At Skim Technologies we strive to continuously assess our systems to make sure we’re on the right track.</p><p>The aim of this section is to report our latest benchmark evaluation study, where we compare our summarisation model with similar extractive summarisation systems, using the gold standard test corpus we collected.</p><p><strong>Evaluation setup:<br> </strong>Four benchmarks were evaluated on our test corpus comprised of 80 web pages, which were harvested from a diversity of news sources (e.g., BBC, Wired, The Huffington Post, Crowdfund Insider, CIO, How Design, Jurist) and blogs (e.g., Conversable Economist, Mad Data Scientist, The Marketing Student). All web pages are written in English, which means we only test the ability of these systems to perform monolingual summarisation.</p><p>The benchmarks included on our evaluation are the following:</p><ul><li><a href="http://smmry.com/api"><strong>Smmry</strong></a>: summarisation API</li><li><a href="https://indico.io/"><strong>Indico</strong></a>: summarisation API</li><li><a href="http://aylien.com/"><strong>Aylien</strong></a>: text analysis API</li><li><a href="https://rare-technologies.com/text-summarization-with-gensim/"><strong>Gensim</strong></a>: summarisation based on the <a href="https://web.eecs.umich.edu/~mihalcea/papers/mihalcea.emnlp04.pdf">TextRank</a> algorithm</li></ul><p>The first three benchmarks are commercial APIs, while the latter is an open-source Python library. Notice that we don’t cover all the summarisation systems out there, and this is mainly due to paid access or lack of descriptive documentation.</p><p>With the exception of Indico API, which automatically determines the best summary length for a given article, we had to set the desired length of the summary for each system. For both Smmry and Aylien, we set the number of sentences to 4. In Gensim, the parameter indicating the desired summary length is defined in terms of word counts, which we set to 100 words, so as to ensure consistency with our summarisation model. Before proceeding with the evaluation, we confirmed that all systems produced, on average, summaries with approximately the same number of words.</p><p>To assess how “good” the summaries generated by each system are, we chose <a href="http://anthology.aclweb.org/W/W04/W04-1013.pdf">ROUGE-N</a> (Recall-Oriented Understudy for Gisting Evaluation), which is a N-gram recall based statistic that has been shown to have <a href="http://83.212.103.151/~mkalochristianakis/techNotes/ipromo/rougen5.pdf">good correlation with human judgments</a> in summarisation evaluation tasks. In simple terms, ROUGE-N measures the overlap between sub-phrases in the system-generated summaries with sub-phrases in the gold standard reference summaries (i.e., human-generated summaries). The length of these sub-phrases or sub-sequences is dictated by N. The higher the overlap between both kinds of summaries, the better, with 1 being the maximum (and best) possible ROUGE value. The main reason for choosing an objective and easy to compute statistic, such as ROUGE-N, as our evaluation measure is because asking humans to manually assess dozens of summaries is time-consuming, expensive, and impractical at scale. Besides, ROUGE-N is the <em>de facto</em> measure for the evaluation of summarisation models, being commonly reported in scientific articles on summarisation.</p><p><strong>Results:<br></strong>The results of our benchmark evaluation, in terms of ROUGE-2 (i.e., bigram overlap), are depicted in the bar plot of Figure 1. ROUGE is computed for each test document, and here we report the aggregated ROUGE score for each summarisation system. We have selected the median instead of the arithmetic mean as our aggregation measure because the distribution of the ROUGE scores for each system was slightly skewed. In such cases, the median is usually preferred to the mean as a central tendency measure, due to its robustness to outliers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iSJUrysUNkq9UWcnTsHxMA.png" /></figure><p><em>Figure 1: Median ROUGE-2 scores, with the corresponding error bars, for the Skim API, Indico, Aylien, Gensim (TextRank) and Smmry summarisation systems. These results were obtained on the Skim Technologies test corpus, comprised of 80 documents.</em></p><p>For completeness, in Figure 2 we also present the median ROUGE scores for different sub-phrases lengths: unigrams (ROUGE-1), bigrams (ROUGE-2), trigrams (ROUGE-3), and fourgrams (ROUGE-4), for each summarisation system under analysis. Table 1 provides the detailed median ROUGE-N scores.</p><p><em>Table 1: Median scores for different variants of ROUGE (ROUGE-1, ROUGE-2, ROUGE-3, and ROUGE-4) and for different summarisation systems.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*N4iEvhtRkAB4L8lH_szEZw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*46x5uhtG4Pb0ElvOw80GEw.png" /></figure><p><em>Figure 2: Median scores for different variants of ROUGE (ROUGE-1, ROUGE-2, ROUGE-3, and ROUGE-4) and for different summarisation systems. These results were obtained on the Skim Technologies test corpus, comprised of 80 documents.</em></p><p>As can be ascertained from both figures, the Skim Technologies summariser consistently outperforms all other summarisation systems under evaluation in terms of ROUGE-1, ROUGE-2, ROUGE-3, and ROUGE-4. The second best performing system is the one provided by Indico, which achieves a median ROUGE-2 of 0.57. Aylien summarisation API ranks third in our evaluation, followed by the open-source Gensim summariser which is based on the popular TextRank algorithm. Smmry achieves a performance similar to that of Gensim, obtaining slightly lower values of ROUGE-2, ROUGE-3, and ROUGE-4.</p><p><strong>Sample Outputs:<br> </strong>Although ROUGE-N is a straightforward and convenient way of assessing the performance of different summarisation systems, it is unable to measure other important evaluation dimensions, such as the readability of a system-generated summary. For this reason, here we present the text summaries generated by our summarisation system and the benchmarks, for an out-of-sample web article (not included in the gold standard corpus). The choice of this example was subjective and it’s unwise to extrapolate conclusions from single examples. But we don’t have space to present lots of them, and we think this example illustrates some typical traits we’ve noticed.</p><p><a href="http://www.bbc.co.uk/news/science-environment-39895558"><strong>Original BBC Article</strong></a></p><blockquote>Airborne dust is normally seen as an environmental problem, but the lack of it is making air pollution over China considerably worse. A new study suggests less dust means more solar radiation hits the land surface, which reduces wind speed. That lack of wind in turn leads to an accumulation of air pollution over heavily populated parts of China. The researchers found that reduced dust levels cause a 13% increase in human-made pollution in the region. Hundreds of millions of people across China continue to be impacted by air pollution from factories and coal-fired power plants. Studies suggest that the dirty air contributes to 1.6 million deaths a year, about 17% of all mortalities. But this new research says that the human-induced pollution is being made worse or better by naturally occurring dust that blows in from the Gobi desert. Using models to simulate 150 years of wind and dust patterns in the region, the researchers found that the dust deflects significant amounts of sunlight. Without it, more heat from the Sun hits the land. Differences in the temperatures between land and sea cause the winds to blow. Without the dust, the land warms up more and that changes the temperature differential with the sea leading to weaker breezes — and more air pollution. Researchers say there’s a link between the amount of dust in the air and the levels of air pollution “There are two dust sources. One is the Gobi and the other is the highlands of north-west China, but we found the Gobi had much more influence,” said lead author Yang Yang, from the Pacific Northwest National Laboratory in Washington State, US. “Less dust in the atmosphere causes more solar radiation to reach the surface. It weakens the temperature difference between the land and the sea and impacts the circulation of the winds and causes a stagnation over eastern China and that causes an accumulation of air pollution.” The decreases in dust emissions are considerable, varying by almost a third. The impact on winds speeds are quite small by comparison, a reduction of barely more than one-tenth of one mile per hour. However, when this takes place on a large scale over a wide region, the small change in speed means a 13% increase in the amount of air pollution over eastern China during the winter. Another study has recently shown a link between declining Arctic sea ice and a major air pollution event in China in 2013. The authors of the new study believe that both theories could be true. “Our study has the same mechanism: the weakening of winds causes more pollution, and what is behind this needs to be studied,” said Yang Yang. “We have two views on this kind of weakening of wind. They found the sea ice, we found the dust-wind interaction can also lead to weakening of the wind. I think both of them are important.” The researchers believe that the study may inform broader questions about how natural and human-created aerosols interact. Many parts of the world, in addition to China, are now suffering from increased levels of air pollution and understanding how dust, winds and emissions work together may help limit some of the worst impacts of dirty air. One of the key lessons from this study is that the absence of dusty conditions could mean the air you are breathing is worse for you, not better. “You’re damned if you do, damned if you don’t,” said Prof Lynn Russell from the Scripps Institution of Oceanography in California. “Dust emissions can impair visibility, but they are not so harmful in terms of air quality,” she told BBC News. “If it’s not a dusty year, you may be happy and spending more time outdoors because you don’t have this dust in the way, but you are actually going out to spend more time in more toxic air.”</blockquote><blockquote>The study has been published in the journal Nature Communications.</blockquote><p><strong>Skim API</strong></p><blockquote>Airborne dust is normally seen as an environmental problem, but the lack of it is making air pollution over China considerably worse. A new study suggests less dust means more solar radiation hits the land surface, which reduces wind speed. That lack of wind in turn leads to an accumulation of air pollution over heavily populated parts of China. The researchers found that reduced dust levels cause a 13% increase in human-made pollution in the region. Hundreds of millions of people across China continue to be impacted by air pollution from factories and coal-fired power plants.</blockquote><blockquote>Studies suggest that the dirty air contributes to 1.6 million deaths a year, about 17% of all mortalities.</blockquote><p><strong>Indico</strong></p><blockquote>Airborne dust is normally seen as an environmental problem, but the lack of it is making air pollution over China considerably worse. A new study suggests less dust means more solar radiation hits the land surface, which reduces wind speed. The researchers found that reduced dust levels cause a 13% increase in human-made pollution in the region. Hundreds of millions of people across China continue to be impacted by air pollution from factories and coal-fired power plants.</blockquote><blockquote>“There are two dust sources.</blockquote><p><strong>Aylien</strong></p><blockquote>Without the dust, the land warms up more and that changes the temperature differential with the sea leading to weaker breezes — and more air pollution. It weakens the temperature difference between the land and the sea and impacts the circulation of the winds and causes a stagnation over eastern China and that causes an accumulation of air pollution.” Another study has recently shown a link between declining Arctic sea ice and a major air pollution event in China in 2013.</blockquote><blockquote>Many parts of the world, in addition to China, are now suffering from increased levels of air pollution and understanding how dust, winds and emissions work together may help limit some of the worst impacts of dirty air.</blockquote><p><strong>Gensim</strong></p><blockquote>A new study suggests less dust means more solar radiation hits the land surface, which reduces wind speed. It weakens the temperature difference between the land and the sea and impacts the circulation of the winds and causes a stagnation over eastern China and that causes an accumulation of air pollution.”</blockquote><blockquote>Many parts of the world, in addition to China, are now suffering from increased levels of air pollution and understanding how dust, winds and emissions work together may help limit some of the worst impacts of dirty air.</blockquote><p><strong>Smmry</strong></p><blockquote>Airborne dust is normally seen as an environmental problem, but the lack of it is making air pollution over China considerably worse. Without the dust, the land warms up more and that changes the temperature differential with the sea leading to weaker breezes — and more air pollution. “There are two dust sources. One is the Gobi and the other is the highlands of north-west China, but we found the Gobi had much more influence,” said lead author Yang Yang, from the Pacific Northwest National Laboratory in Washington State, US. “Less dust in the atmosphere causes more solar radiation to reach the surface. It weakens the temperature difference between the land and the sea and impacts the circulation of the winds and causes a stagnation over eastern China and that causes an accumulation of air pollution.” The decreases in dust emissions are considerable, varying by almost a third.</blockquote><blockquote>Many parts of the world, in addition to China, are now suffering from increased levels of air pollution and understanding how dust, winds and emissions work together may help limit some of the worst impacts of dirty air.</blockquote><p>In this example, we observe that the summary produced by our summarisation system is readable, coherent, and able to convey the gist of the original article. The Indico summary is very similar to ours, except at the end, where it picks an incomplete sentence that breaks the flow of the text, becoming less readable. The remaining three benchmarks (Aylien, Gensim, Smmry) seem to have a distinct concept of what is a “relevant” sentence, when compared to the Skim API and Indico summarisers, and also seem to generate more diverse summaries among them (apart from the last sentence, which is exactly the same for all of them). However, my subjective impression is that these latter summarisation systems tend to generate less clear, less fluent and less articulate summaries. An exception is the summary generated by Smmry, which is readable and coherent, showing that lower ROUGE scores are not necessarily correlated with poor readability.</p><p><strong>Limitations:<br> </strong>We acknowledge that the presented evaluation still has room for further improvements, namely, in terms of the data used. Here we rely on our own collected test corpus and assess each system with a small number of documents (i.e., 80 web pages). Although we did our best to collect an unbiased corpus, the data may still carry inherent biases. With the aim of controlling these biases, we plan to extend this evaluation by running experiments on publicly available corpora, such as the <a href="http://cs.nyu.edu/~kcho/DMQA/">CNN/Daily Mail dataset</a>, in order to ensure reproducibility of results.</p><h3>Final Remarks</h3><p>In this blog post, we offered you a glimpse of our journey into automatic text summarisation, by explaining how our current summarisation technology works and how it compares with alternative summarisation systems. Based on the evaluation reported here, which relied on article-style web pages, our extractive summarisation model outperforms well-known extractive summarisation systems, such as the ones provided by Indico, Aylien, Smmry, and Gensim, in terms of ROUGE-N (for N in {1, 2, 3, 4}).</p><p>Nevertheless, extractive summarisation has still a long way to go before being able to match a human’s ability to consistently generate high-quality and coherent summaries for any type of document (for instance, literature books) or web page (e.g., product reviews, tutorials). This is intrinsically related to the difficulty of the summarisation task itself and the current inability of computers to master natural language as humans do. However, recent developments in automatic text summarisation, fostered by the emergence of deep learning, look encouraging and very promising. See, for instance, the work of <a href="https://arxiv.org/abs/1704.04530">Narayan et al</a> and <a href="https://arxiv.org/abs/1611.04230">Nallapati et al</a> on extractive summarisation, and the work of <a href="https://arxiv.org/abs/1704.04368">See et al</a>, <a href="https://arxiv.org/abs/1704.07073">Zhou et al</a>, and <a href="https://arxiv.org/abs/1705.04304">Paulus et al</a> on abstractive summarisation. Given the successful advances in automatic summarisation using Recurrent Neural Networks (RNN’s), we want to further investigate the commercial applications of using RNN’s in summarisation against our current standard, that already serves our users with coherent and readable summaries.</p><p><em>Originally published at </em><a href="https://blog.skimtechnologies.com/benchmark-comparison-extractive-summarisation-systems/"><em>blog.skimtechnologies.com</em></a><em> on May 23, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d77d46ca2489" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A brief introduction to summarisation]]></title>
            <link>https://medium.com/skim-technologies/a-brief-introduction-to-summarisation-d1885351fa53?source=rss-c053fead7b8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1885351fa53</guid>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[summarization]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[summary]]></category>
            <dc:creator><![CDATA[Marcia Oliveira]]></dc:creator>
            <pubDate>Sat, 05 Nov 2016 20:38:12 GMT</pubDate>
            <atom:updated>2017-07-18T11:36:32.336Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MILLud5c8jPx3pw3Nw8F4w.png" /></figure><p>Here at Skim.it we are passionate about summarisation. Our particular interest lies in how automatic summarisation can be used to help improve the efficiency of information consumption and sharing, principally so in the workplace.</p><p>‘Summary’ is a term everyone should be familiar with, but summarisation as a discipline may well be new to you. So the purpose of this post is to offer up a light introduction to summarisation as a subject area, something perhaps best achieved by providing answers to the following four main questions:</p><ul><li>What exactly is a summary?</li><li>Which types of summaries can be created?</li><li>What are the goals of automatic summarisation?</li><li>How do you know when an automatic summary (machine created) is a good one?</li></ul><p>First up then, I’ll explain what a summary is.</p><h3>What is a summary?</h3><p>Summaries permeate our everyday lives; news headlines, tables of contents, weather forecast bulletins, music reviews, abstracts of scientific articles, film trailers, and sports highlights are just some of the many forms summaries can take.</p><p>As can be deduced from the above examples, ‘summary’ as a concept has subtleties that lend the word more than one definition. However, the most widely accepted definition comes from the American National Standards Institute (ANSI) who define a ‘summary’ as:</p><blockquote><em>an abbreviated, accurate representation of the content of a document</em></blockquote><p>According to the ANSI definition, a summary must obey two requirements:</p><h4>1. It must be short</h4><p>A summary should contain much less content than the original input; usually a paragraph in length. It should provide the reader with the overarching topic and key ideas of the source, without expanding on specific details.</p><h4>2. It must be faithful to the source.</h4><p>A summary should capture the main structure and substance of the document, without adding new information. This way, by solely reading the summary, the reader gets access to a distilled, easy to consume version of the document that concisely describes its most important ideas.</p><h3>What types of summaries can be created?</h3><p>As we touched upon earlier, summaries can come in many different forms. But we can distinguish different types of summaries according to the:</p><ul><li>Input document(s)</li><li>Purpose of use</li><li>Produced output</li></ul><h4>Input source</h4><p>Summaries can be derived from a single document or from several related documents (multi-document summarisation). These documents can be monolingual (written in a single natural language) or multilingual, and can belong to different genres (e.g. news, scientific articles, books etc).</p><p>The size of the input document also has an impact on the summarisation task, and we can further distinguish between summarisation of short documents (1–2 pages long) and long documents. Things get a bit more complicated when the summarisation input is not text but other sorts of media, such as audio or video.</p><h4>Purpose of use</h4><p>Summaries also differ according to the purpose of use and intended readership. The summaries could therefore be:</p><p><strong>Generic summaries.</strong> These are independent of the audience, of the document genre or domain, and of the summarisation goals — meaning they are suitable for a broad readership community.</p><p>Or</p><p><strong>Topic-focused summaries.</strong> These take into account the user’s information needs, usually stated as a query, in order to produce a personalised summary that contains only the information on the topic that is relevant to the user. Therefore, the same input document can give rise to different summaries, depending on the users’ goals.</p><h4>Produced Output</h4><p>Finally, summaries can be distinguished in terms of the produced output, which can be an extract or an abstract.</p><p><strong>An extractive summary</strong> is simply a collection of the most important sentences contained in the source document, created entirely from copied text. This may pose several problems such as the presence of dangling anaphors (I’ll explain those in a bit), redundancies, gaps in the rhetorical structure of the summary and lack of coherence. Back to those dangling anaphors. This is where, for example, a sentence may start by saying ‘<em>and then he carried on this test for 25 years</em>’. Alone, this sentence may not make much sense as we are missing the previous sentence that would put this sentence into context.</p><p><strong>Abstractive summaries</strong> are concise versions of the source document that convey its main ideas mostly by using different words.</p><p>The key difference between an extract and an abstract is that the latter contains material (words, sentences) that is not present in the source document.</p><p>Regardless of the type of summary, the process of summarising content is time-consuming, labour intensive and so impractical for large-scale summarisation, such as the one required by the Web. Luckily though, computers can perform this task for us in a faster, much more cost effective way.</p><h3>What are the goals of automatic summarisation?</h3><p>The origins of automatic text summarisation can be traced back to 1958 when Hans Peter Luhn published a paper on “<em>The automatic creation of literature abstracts</em>” in the <em>IBM Journal of Research and Development</em>. In this seminal article, Luhn proposed a novel statistical approach for summarising text documents that relies on weighting sentences using frequencies of normalised terms, to then extract the most important ones to form a summary.</p><p>Luhn’s pioneering algorithm represented the first step toward the development of summarisation algorithms for automatic text summarisation, a field whose relevance and popularity gained momentum with the advent of the Web and the subsequent growing presence of large amounts of online text.</p><p>Automatic text summarisation is a field of computational linguistics whose major goal is to take one or several text documents, automatically extract their gist, and present it to the user in a condensed, digestible form.</p><p>The use of computers to produce summaries has enormous potential. It not only frees humans from the effort and resources required to manually produce summaries, but also allows end users to quickly browse through large quantities of content, saving them valuable time too.</p><p>However, the automatic creation of high-quality summaries, similar to those produced by humans is, in general, a complex task due to the inability of computers to understand natural language.</p><p>In an attempt to simplify the problem, most research has been following a pragmatic approach: <strong>the extractive text summarisation </strong>method of output.</p><p><strong>Extractive text summarisation</strong> uses natural language processing and machine learning to analyse statistical and linguistic features of a piece of text to determine the importance of the corresponding sentences. The typical procedure employed by the extractive approach is to assign scores to each sentence and then successively extract the sentences with the highest scores until the desired length of the summary is reached. The sentences chosen are rearranged and presented to the user in the same order in which they appear in the source so as to enhance coherence and legibility.</p><p>Despite its simplicity, the cut and paste approach of extractive summarisation poses readability problems — problems I outlined earlier. To overcome these problems a few attempts have been made within abstractive summarisation, where the goal, which again I discussed earlier, is to capture the meaning of the original text and rewrite it using different words, in order to create a concise, cohesive and coherent summary. Due to the inherent complexity of this task, more progress still has to be done in order to make the abstractive approach competitive.</p><p>Irrespective of whether we decide to use an extractive or abstractive approach to summarise text documents, it is of utmost importance to evaluate the results of the automatic summarisation system in order to ensure it is doing a good job.</p><p>That leads us nicely onto our fourth and final question…</p><h3>How do you know when an automatic summary (machine created) is a good one?</h3><p>One of the biggest challenges in automatic text summarisation is the evaluation of the system output. Evaluation is an important and necessary task since it allows the assessment of the performance of a summarisation system, as well as the comparison between results produced by different systems, enabling us to understand if computer-generated summaries are as good as human-generated ones.</p><h4>The challenges of automatic evaluation of summaries</h4><p>This is a very difficult task due to a number of reasons:</p><p><strong>1. There is no clear notion of what constitutes a good summary.</strong> Although there are attempts to define criteria to guide the evaluation, these tend to be subjective and prone to criticism.</p><p><strong>2. Human variability.</strong> The most common way to evaluate automatic summaries is to compare them with human-made model summaries (also known as reference summaries or gold standard summaries). But when creating extracts, different people (the annotators) do not usually agree on the importance of sentences and, thus, tend to choose different sentences when creating their summary. As a consequence, the inter-annotator agreement tends to be low. Besides, people are also not very consistent when producing summaries. The same person may choose a different set of sentences at different times, which results in low intra-annotator agreement.</p><p><strong>3. Semantic equivalence.</strong> It is not uncommon to find two or more sentences in a document that express the same meaning using different words, a phenomenon known as paraphrasing. This makes evaluation even more difficult, because it implies that there may be more than one “good summary” for a given text document.</p><p><strong>4. Heavy reliance on humans still.</strong> Humans are very good at identifying important content and producing well-formed summaries — meaning the evaluation process tends to rely on humans to create gold standard summaries or act as judges of the system’s output. This greatly increases the cost of an evaluation, making it a time-consuming and expensive task.</p><p>Despite these challenges, extensive evaluations of automatic summarisation systems have been carried out from as far back as the 1960’s, greatly helping to refine and compare existing systems. So now lets touch upon the evaluation methods that have been used.</p><h4>Methods for evaluating text summarisation systems</h4><p>Methods for automatic summarisation evaluation can be broadly classified along two dimensions:</p><p>1. how humans interact with the evaluation process (online VS offline evaluation)</p><p>2. what is measured (intrinsic VS extrinsic evaluation).</p><p>Online evaluation requires the direct involvement of humans in the assessment of the system’s results according to set guidelines.</p><p>In contrast, offline evaluation does not require direct human intervention as it usually compares the system’s output with a previously defined set of gold standard summaries, using measures such as <a href="https://www.wikiwand.com/en/ROUGE_(metric)">ROUGE</a> (Recall-Oriented Understudy for Gisting Evaluation). This makes offline evaluation more attractive than online evaluation, because it is not directly influenced by human subjectivity, it is repeatable and faster, and allows evaluators to quickly notice if a change in the system leads to an improvement or deterioration of its performance.</p><p>Intrinsic evaluation methods, as the name suggests, test the summarisation system in of itself, either by asking humans to judge the linguistic quality, coherence and informativeness of the automatic summaries or by comparing them with human-authored model summaries.</p><p>Alternatively, extrinsic evaluation methods test the summarisation system based on the usefulness of the machine-generated summaries to help complete a certain task, such as relevance assessment and reading comprehension. This kind of task-oriented evaluation can be of extraordinary practical value to providers and users of summarisation technology, due to their focus on the application (e.g. producing an effective report or presentation based on summaries, finding relevant documents on a given topic from a large collection, correctly answering questions about the source document using summaries only).</p><p>If a human is able to perform such tasks using less time and without loss of accuracy, then the system is considered to have good performance. However, carrying out extrinsic evaluation requires careful planning and is resource-intensive, thus not being suitable for monitoring the performance of a summarisation system during development. In such contexts, intrinsic evaluation is usually preferred.</p><h3>In conclusion:</h3><p>Summarisation is not an easy task for computers, due to the subtleties and complexity of natural languages and their inability to truly understand text as we humans do.</p><p>Still, much progress has been made in the field of automatic summarisation in the last 50 years and we are now able to successfully use automatic summarisation technology to help improve our information rich lives.</p><p>Experience the benefits of using summarisation technology for yourself by requesting access to Skim.it’s beta testing group.</p><p>Thanks for reading!</p><p>Marcia</p><p><em>Originally published at </em><a href="https://blog.skimtechnologies.com/a-brief-introduction-to-summarisation/"><em>blog.skimtechnologies.com</em></a><em> on November 5, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1885351fa53" width="1" height="1" alt=""><hr><p><a href="https://medium.com/skim-technologies/a-brief-introduction-to-summarisation-d1885351fa53">A brief introduction to summarisation</a> was originally published in <a href="https://medium.com/skim-technologies">Deeper Insights</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>