Elamur Research

SaToS: Assessing and Summarising Terms of Services from German Webshops

Paper · 2017 · Daniel Braun, Elena Scepankova, Patrick Holl et al.

Summary

A shopper can accept a webshop’s terms without ever seeing the clause that governs a return or limits a warranty. Finding the terms is a problem of its own, and reading the legal wording takes more time. SaToS is a browser extension and an accompanying server that try to handle both tasks for German webshops. The extension looks for links likely to lead to the terms. The server examines the contents of the candidate pages and, when it identifies a terms page, can extract selected provisions and turn them into short messages the shopper can read in the browser.

The authors combine text classification, which assigns a label to a piece of text, with rules written for specific kinds of clauses. The prototype focuses on withdrawal and warranty rights. Both often depend on a stated period, so the software looks for expressions of duration and checks what right each expression concerns. A separate step interprets the extracted information using legal criteria. In the paper’s withdrawal example, a period shorter than 14 days is flagged as unlawful, a period of 14 days meets the stated requirement, and a longer period is described as favorable to the customer. A legal specialist wrote the templates that express such assessments in plain language. The browser displays the messages by category and gives an overall recommendation for the shop.

The experiment measures how well SaToS identifies terms pages. On a test split with 2392 terms URLs and 632 other webshop URLs, the server’s naïve Bayes classifier reached an F-score of 0.8644, compared with 0.6428 for the rules that inspect links in the browser. The browser rules were faster, taking an average of 0.001 seconds per URL compared with 1.435 seconds for the server approach. They also serve a different purpose in the working system. The browser can use a quick link check to narrow the search, leaving the server to examine page contents for the candidates that pass.

The reported scores concern the step that finds the terms. The demonstrations show how a recognized clause can become a readable assessment, while the accuracy of the extracted provisions, the legal judgments, and the overall shop recommendation remains unmeasured. The prototype therefore gives a concrete account of how such a service can work and a quantitative comparison of two ways to detect the document it needs.

Deep dive: SaToS: Assessing and Summarising Terms of Services from German Webshops

SaToS finds terms on German webshops and turns selected clauses into plain-language assessments. The paper tests how well it finds the terms. · about 35 minutes to read

The problem and its context

Accepting a contract can take less time than finding the relevant clause

The paper starts from a familiar asymmetry in online shopping. A seller has already written the terms under which it does business. A customer encounters those terms while trying to complete a purchase. They may contain rules about payment and performance, limits on liability, provisions for revocation or withdrawal, and choices about where a disagreement can be heard. Those rules can matter long after the customer clicks to accept them. The immediate task of buying an item gives the customer little reason to linger over the full document.

The authors use an earlier study of a fictitious social network to illustrate the difference between accepting terms and reading them. In that study, 74% of participants skipped the terms entirely. Those who opened them spent an average of 13.6 seconds on a document longer than 4,300 words. Everyone agreed to the terms. The setting was registration for a social network. Its role in SaToS is to motivate the broader question of how much reading an interface can realistically ask of someone who is there to do something else.

This difference matters because standard terms describe the relationship between the parties. They may give the seller room to raise prices or impose penalties for delay. They may also try to reduce the seller’s liability or limit circumstances in which a customer can withdraw. A customer considering whether to buy has a practical interest in those provisions. For that customer, the useful answer may be a short explanation of a particular right or restriction that would take substantial work to locate in the original document.

The paper places standard terms in the history of industrialisation in the 19th century. Prewritten conditions let a business enter many contracts using the same provisions. The party preparing those provisions can shape them for its own purposes, while customers usually encounter them as an existing set. The authors see this difference in bargaining power as part of the reason to make terms easier to inspect before a transaction. SaToS addresses what the customer can learn at that moment.

Legal scrutiny adds another layer to the problem. The authors point to the provisions of the German Civil Code governing standard terms and to the volume of court decisions about their lawfulness. They report about 27,600 judgments addressing that question in the Juris database at the time of the paper. Their point is that a restriction appearing in a contract requires assessment. Merely pulling a relevant sentence out of a page would leave the reader to work out whether the restriction is legally effective and what it means in practice.

Why a shorter extract may still be difficult to use

The authors connect the difficulty of reading standard terms to the way legal language works. A legal provision has to cover more situations than the writer can enumerate. That calls for a degree of abstraction. When the same language reaches a shopper who wants to know how much time they have to act, its breadth can make the practical answer hard to pick out. A short excerpt can retain the vocabulary, qualifications, and sentence structure that made the original difficult.

The paper approaches this problem through text summarization. An extractive summary selects passages from the source and presents those passages to the reader. An abstractive summary expresses information from the source in newly composed wording. The distinction matters here because the presentation can carry an assessment as well as the extracted fact. In the SaToS design, a passage supplies a period and the right it concerns. A separately written message can tell the customer how the period compares with a requirement.

The authors discuss SUM and LetSum as predecessors in legal summarization. Both worked on English legal texts and selected existing passages for their summaries. SaToS takes up a German consumer-contract task and aims to put the result in simpler wording. The original passage remains the evidence from which the software derives a fact. The message in the extension is written for the purpose of explaining that fact and its assessment.

This purpose defines a particular kind of summary. A general overview might try to preserve the major subjects discussed throughout a document. A SaToS summary can be useful by covering a small set of provisions that matter to customers and by putting an adverse finding ahead of routine information. The authors’ objective is to help someone make a choice at a webshop. It shapes which clauses the prototype seeks, which distinctions it makes, and the order in which it presents them.

The paper situates SaToS alongside work on information retrieval and on obtaining structured facts from legal text. Retrieval is the task of finding material likely to be relevant to a request. In SaToS, the earliest version of that task is finding the terms page somewhere among the links a webshop exposes. Once the text is available, the system has a narrower task. It must locate the wording that expresses a right and get usable information from it.

Among the German-language precedents the authors mention are work by Walter and Pinkal on finding definitions in court decisions and work by Waltl and colleagues on extracting semantic information from German legal documents. These examples give context for the idea that software can look for particular information inside a legal text. Definitions, contractual time limits, and statements about who bears a risk have different forms. The SaToS prototype uses this fact to motivate rules specific to each contractual subject it covers.

The paper also cites work on making legal language easier to read, including Bhatia’s treatment of legal texts and Collantes and colleagues’ system for simplifying bills. It points to Siddharthan’s general architecture for text simplification. These are precedents for attending to the language of the output. SaToS first has to decide which fact is supported by the contract and how to assess it. Only then can it express the result in a way that serves the shopper.

A second set of precedents concerns services that already assess terms for users. The authors identify ToS;DR and janolaw as projects with a similar aim and describe them as relying on crowdsourcing. They argue that dependence on people to do assessments affects how widely and how promptly such services can cover documents. SaToS explores automatic analysis as a way to supply assessments during browsing. Human expertise enters the design through the extraction rules, the criteria used to interpret clauses, and the wording of the output.

That arrangement makes SaToS an example of Legal AI with a narrowly defined job. The browser has to find a particular type of document. Text processing then has to recover information that a legal rule can use. The result needs to reach a shopper who may have no legal training and may never have opened the full terms. The browser extension gives those tasks a shared destination. The architecture gives each one its own place to be carried out and examined.

The method, step by step

From a product page to an assessment

SaToS divides work between a browser extension and a server. The extension does most of its work passively. It can look for candidate links while the user is on an ordinary shop page. The server retrieves the page at a candidate URL, cleans the text, and decides whether it is a terms page. Further server stages look for clauses, interpret the findings, and prepare readable summaries. The browser handles their presentation and takes feedback from users.

From webshop links to a SaToS assessment

The steps in order.

From webshop links to a SaToS assessmentStep 1: Screen webshop links in the browser1. Screen webshop links in the browserStep 2: Fetch and clean the candidate page2. Fetch and clean the candidate pageStep 3: Classify the page from its content3. Classify the page from its contentStep 4: Extract facts about covered rights4. Extract facts about covered rightsStep 5: Interpret the facts using legal criteria5. Interpret the facts using legal criteriaStep 6: Order findings and select message templates6. Order findings and select message templatesStep 7: Display summaries and a shop recommendation7. Display summaries and a shop recommendation

The distinction between a link and a page explains the first part of the design. A promising address is evidence about what it may lead to. The text found there provides a separate kind of evidence. A browser rule can act on the address without making the server process the page. The server can examine the actual wording when an address looks promising. Together, these stages turn the many links a shopper might encounter into a smaller set of texts for closer analysis.

The later stages make a second distinction, between what the terms say and how to assess that statement. A duration such as 30 days is a fact to extract from a passage once the system has identified what the duration is for. Whether that period meets a legal requirement is a judgment that depends on the subject and the applicable criterion. The architecture records the extracted information first, interprets it next, and then uses the interpretation to make a message.

The browser and server communicate through a REST API, an interface through which the client requests server operations. The server runs as a Node.js application and uses a pipes-and-filters design. Each stage takes material from the previous stage and does a defined part of the work. The API exposes routes for the server components. Every route accepts a URL, and processing starts at the first stage. A request can stop after a particular module, which lets it return a result such as the page classification without having to produce a complete summary.

Screening URLs in the browser

A visit to a webshop frequently begins at a product or landing page. Terms and conditions are typically somewhere else on the site. SaToS uses a URL classifier in the extension to select links that may lead to them. It applies pre-defined rules to the address string. One clue the authors found useful is the presence of AGB, the German abbreviation for the standard terms at issue.

The extension separates the address into its scheme, network location, path, and query parameters. The scheme identifies how the address is reached, the network location identifies where it is hosted, and the path and query parameters describe the resource requested from that location. The rules in the paper match the path and query parameters. This locates the evidence in the portions of the address that may indicate which kind of page the link points to.

Rules carry weights, so the matching evidence can contribute different amounts to the decision. If the accumulated matches reach a threshold, the URL becomes a candidate for page classification. The paper describes that scoring procedure in prose. The individual weights, the threshold value, and a mathematical expression for combining the matches are unspecified. The example of AGB shows the kind of clue the rules use. It leaves open which other clues would help a particular link pass.

A candidate is the result of this stage. The reading takes place later, so an address with a helpful-looking path can pass even if its page contains something else. A page with contractual terms can also have an address that offers few useful clues. Those are consequences of deciding from a URL. In the combined system, the first outcome can be investigated by examining the page. In the second, that particular link provides no candidate for the server to investigate.

The design assigns the relatively cheap operation to the browser because the browser sees the links where the shopper is already browsing. The server receives selected URLs and does work that depends on page access and text. Thus the location of each stage matters as well as the kind of evidence it uses. The client can carry out the rule check locally, while server resources are used for closer inspection.

Preparing the page for text processing

The server begins by retrieving the content at the requested URL. It extracts the main body of the page, removing elements such as the header and navigation. It then strips the markup tags. This gives subsequent components text from the page itself, with less material from the framework shared across the shop’s pages. A site may place an AGB link in its navigation even when the body of the current page describes a product. Removing navigation reduces the chance that such text will be treated as part of the body being classified.

The authors describe further processing that can be carried out according to the needs of later modules. Tokenization divides the text into units that can be examined individually. Stemming reduces word forms to stems so that some forms of the same word can be considered together. Part-of-speech tagging assigns grammatical categories to words in context. The paper lists these as possible preparation for later analysis. It does not specify that every branch uses every operation.

This distinction helps in reading the evaluation. Classification scores describe the server system as tested. The preprocessing section tells a reader which kinds of preparation can happen, but the reported experiment does not isolate their contributions. It also does not give a complete account of the features the page classifier receives. One can trace the path from a URL to cleaned textual content more precisely than one can reconstruct the exact representation handed to the classifier.

The server then applies a binary classifier to the page. Its outcomes are ToS and Other. This is a document-level decision. The system is trying to establish whether it has found the terms, regardless of which rights appear in them. Topics and legality enter the pipeline later. Keeping the page decision at this level allows the server to evaluate page finding with a straightforward reference label for each test URL.

Learning to recognize a terms page

The authors use a naïve Bayes classifier for the server’s content decision. This is a machine learning method that uses labeled examples to estimate how observed features support possible classes. For each class, naïve Bayes treats the feature contributions as conditionally independent given that class. The classifier uses those contributions and the class information it has learned to decide which label the new page should receive.

The training data contain 200 terms examples and 200 examples of other webshop pages. The authors evaluate the approaches on a separate test split. The training examples give the server classifier cases from each of its two target categories. By contrast, the address screen uses the weighted rules described by the authors. The method section does not provide a feature inventory or a parameter specification for reproducing the fitted classifier. What it establishes is the learning method, what is being classified, and the labeled data assigned to training.

SaToS also has a channel for feedback. The browser can ask users whether the terms were classified correctly, and the authors describe using that feedback for online learning, meaning updates informed by reports received while the system is in use. This is distinct from the fixed training and test setup used to report the paper’s scores. The paper does not give an update schedule or a measured learning curve. The feedback mechanism identifies where new indications of a page-classification error could enter the system.

The feedback question concerns whether the correct kind of page was found. It therefore targets the same decision as the classifier experiment. Checking whether the software extracted the right period, applied the law appropriately, or wrote a helpful explanation would require different feedback. The fact that a genuine terms page was found is the initial condition under which any of those later decisions can be investigated.

Finding a duration and deciding what it describes

Once the server has a terms page, it moves to information extraction. The aim is to turn relevant parts of the text into explicit facts that the next component can use. The prototype has an extraction module for the right of withdrawal and a separate one for warranty. The authors chose these subjects because they matter to consumers, commonly appear in the terms, and can both be expressed through time periods.

The search begins with sentences that contain a possible duration. The system looks for a number in digits or a numeral written as a word and checks for a time unit such as days, months, or years after it. A duration gives the extractor a concrete part of the sentence to work with. It also supplies a value and a unit that can be stored separately once the topic has been established.

The next step is to identify the topic of the sentence. A duration is meaningful for the summary only if the system can associate it with the correct right. The authors rely on recurring legal formulations for withdrawal and warranty. Their reasoning is that contractual language on these subjects has a limited repertoire of suitable expressions, so a rule can use those expressions as evidence about what a period describes. Searching jointly for a period and relevant legal language connects a number in the sentence to the customer question the module is designed to answer.

The paper illustrates the result with a clause about returning received goods. Its wording says that the customer can send them back within 30 days without giving a reason. The extractor produces a record with a topic, a data type, a value, and a unit. The topic is Widerrufsrecht, the German term for the right of withdrawal. The data type is Timespan. The value is 30 and the unit is Tag, the German singular for day. The record is returned as JSON, a structured text format that allows the next component to access each field directly.

Each field has a role. The topic tells the interpreter which legal criterion is relevant. The type indicates that the value describes a duration. The value and unit tell it how long the contract says the right can be exercised. The module can hand off those details without also handing off the task of recognizing the original wording. In particular, the value alone would be insufficient for assessing the clause. Warranty and withdrawal have different criteria, and the meaning of a numeral also depends on its unit.

The sentence about received goods demonstrates this narrow representation with an example. The record captures the right and its stated period. The wording about returning the goods supplies context for recognizing that the provision concerns withdrawal. The record has no field for that wording as a whole. This is what makes the representation compact and suitable for later decisions about the period. It also defines which part of the original clause the example can carry forward.

The paper presents its extraction rules as language patterns accompanied by descriptions of the legal issue. It gives no mathematical formula for the page classifier, URL score, or summary generator. The recurring form in the duration rules is a digit sequence or a number word followed by a day, month, or year expression. In the warranty example, that form appears near warranty wording, with further conditions that distinguish used goods from other goods. In the withdrawal example, withdrawal wording provides the topic evidence for the period.

The warranty distinction is important to the assessment. The rule table describes warranty periods below 2 years for new goods and below 1 year for used goods as unlawful in the cases it lists. The meaning of a given duration therefore also depends on what goods the text says it covers. The examples give the language pattern and the criterion complementary roles. The pattern looks for indications of the duration and product condition. The criterion explains why those findings matter.

The same table shows a warranty pattern that looks for wording excluding coverage for used goods. A withdrawal example highlights clauses requiring buyers to use the original packaging when they send goods back. The example patterns allow packaging wording to appear in different positions relative to the terms for a return. These are illustrations of the kinds of provisions the domain rules address. The implementation description names withdrawal and warranty as the prototype’s extraction modules.

Other entries concern inspection duties and the risk of loss. The inspection example concerns making warranty rights depend on checking the goods or reporting defects, and its pattern includes a condition concerning merchant wording. The shipping example looks for language that puts the risk of loss on the consumer. Both show what the authors mean by legal domain knowledge in extraction. It is knowledge about combinations of wording, the parties it refers to, and the kinds of consequence those combinations may express. The paper does not report these entries as separately evaluated extraction systems.

These examples also show why the method uses more than a search for a single legal term. A warranty reference supplies a possible topic. Wording about used goods can specify the applicable case. Wording about exclusion can indicate a different problem from a short period. In the shipping example, it matters which party carries the risk. A rule can represent the combination it is looking for and pass forward the information needed for an assessment. The rules shown in the paper illustrate this specificity without providing a full grammar for all the ways a shop might write a clause.

The summary generator receives a collection of structured findings. The authors organize this part of SaToS around Reiter’s data-to-text architecture, in which a system interprets data, plans a document, and realizes the plan as wording. The paper treats the earlier extraction module as serving a purpose similar to signal analysis in that architecture. SaToS begins with contract language. By the time the generator receives its input, the extractor has already identified the information that subsequent stages will use.

Data interpretation applies the legal assessment to those findings. The paper describes outcomes of unlawful, lawful, or favorable to the customer. In its example of withdrawal periods, a value below 14 days is unlawful, 14 days is lawful, and a longer period is customer friendly. The extraction-rule table describes the shorter-period case for shops trading in the EU. This example shows how a stated period can be assigned a status under the criterion the authors use.

The distinction between the latter two outcomes serves the shopper’s decision. A shop may satisfy a requirement or offer more than it requires. A message that distinguishes those cases gives the customer information about the shop’s terms even when there is no unlawful clause to flag. The record containing 30 days illustrates the sort of duration the assessment can process once it is associated with withdrawal. The legal interpretation depends on that topic and on the criterion, in addition to the period itself.

The legal assessment is expressed in terms of the findings the extractor has produced. There is no separate learned legal classifier described for this step. The system uses domain criteria to make the judgment. The page classifier has already served its purpose by finding the document. The separation helps explain why the study’s classification results are about page finding and why the legal criteria are presented through rules and examples.

Ordering the findings and writing messages

Document planning decides how the findings will be arranged in the output. In the prototype, the planning operation described by the authors is ordering. It places unlawful findings first, favorable ones next, and lawful ones after those. This establishes a priority for what the shopper encounters. A potential problem receives attention before a provision that simply meets the legal requirement.

The final wording is produced during realization, the stage that turns the planned findings into text. A jurist writes the templates. The authors intend them to be understandable without losing the information needed to explain the point. Each extraction module needs its own templates because the messages for a withdrawal provision and the messages for a warranty provision explain different rights.

The authors’ use of abstractive summarization is concrete at this stage. The phrases the customer sees are supplied by the templates. The source passage determines the extracted finding, and the legal interpretation determines how it is classified. A template expresses the result in language chosen for the reader. This joins simple wording to structured information without requiring the shopper to interpret the contract sentence unaided.

The relationship among extraction, interpretation, and wording also explains the work involved in extending the prototype. A new type of clause needs an extractor that knows which language to look for and which facts to represent. An assessment needs criteria that apply to those facts, and a readable summary needs wording suited to the resulting judgments. The paper’s modular design makes these requirements visible. Its plan to expand coverage concerns the domain-specific parts of the pipeline as well as the browser’s outward presentation.

Presenting the findings in the browser

The interface includes an overall recommendation for the shop and individual summary messages. It presents those messages in color-coded categories. Grey Info messages give neutral information. Green Positive messages identify provisions favorable to the customer because they go beyond the legal requirement. Orange Attention messages flag provisions the paper describes as lawful but unusual. Red Illegal messages identify provisions assessed as invalid or unlawful.

The categories shown in the interface describe how the results are communicated. The paper separately describes the withdrawal example in terms of unlawful, lawful, and favorable periods. It does not give a complete mapping from every interpretation to every display category. For instance, the interface description explains what orange means, while the withdrawal threshold example does not define a rule for deciding when a lawful period is unusual. This is a distinction between what the prototype can display and the individual assessment cases the paper explains in detail.

The shop recommendation is based on the categorization of the findings. The paper explains that relationship without specifying an aggregation formula. The individual summaries show what the assessment is about, while the recommendation supplies a compact signal at shop level. A feedback control lets the user respond to the classification of the terms. The extension thus serves as the point where both the project’s customer-facing output and its channel for classification feedback meet.

Experiments and results

The evaluation asks whether the system finds a terms page

The authors evaluate the URL rules and the server classifier because all subsequent processing depends on having the correct document. Extraction rules intended for contractual language need the terms as input. A browser message about a right needs a source clause that actually contains it. Page classification is therefore a necessary step for the broader system, and it has a clearly defined outcome that can be measured independently.

The dataset contains 3424 URLs. A price comparison website had manually labeled 2592 of them as terms pages. The remaining 832 URLs lead to other types of webshop pages. This gives the evaluation positive examples of the document SaToS needs and negative examples from the kind of site where it has to look. The paper identifies the source of the terms labels and describes the other URLs as webshop pages. It does not name a separate benchmark or report detailed categories for those other pages.

The authors used 200 terms URLs and 200 other URLs for training. The test split contains 2392 terms URLs and 632 other URLs. The training examples give the server classifier equal representation of the two target labels, while the test set contains more terms pages than other pages. These counts matter because the test evaluates decisions on this collection of URLs. In particular, precision describes the confirmed positives among the positives predicted under that mix of test examples.

The two approaches compared are components of SaToS. The rule-based approach classifies a URL using its own string and the weighted rules in the browser. The machine-learning approach classifies the page using content processed by the server. The rules provide a practical comparison because a browser can use them before making a server request. There is no separate external classification system in the results table.

The comparison involves differences in the available information as well as the classifier. The rules have access to address components. The server can use evidence from the text. As a result, the results show which of these implemented approaches performed better on the labeled task. A comparison of rules and learning over identical inputs would address a different question about the choice of classifier.

How the paper measures classification

Precision asks how often a predicted terms page really is a terms page according to the test label. It is relevant when considering how much irrelevant material a system would send on for further processing. A method that identifies many ordinary pages as terms can create unnecessary work, even if it correctly finds many terms pages too.

Recall starts from the test URLs known to be terms pages. It asks how many of them the method identifies. This matters to the shopper because a missed terms page gives the later stages no source to read through that route. It also matters to a designer choosing a client-side screen, because an address the screen discards may never reach the more detailed page classifier.

The F-score combines precision and recall in one measure that rewards a method for doing well on both. It is useful for comparing the two approaches when missed terms and incorrectly selected pages both matter. Precision and recall remain informative in their own right. A client filter and a final classifier can use the same positive label for different purposes and face different consequences from each kind of error.

The authors also measure the average time the approaches take to classify a URL. This gives a different view of the design. The quality metrics compare classifications with the reference labels. The timing comparison concerns the cost of obtaining a classification in the test. Together they give the authors grounds to discuss why the component with better results on the labels and the component that can check links faster both have roles in the prototype.

The content classifier is stronger on the labeled task

On the test split, the server approach reaches precision of 0.9115, while the browser’s URL rules reach 0.7953. Both figures refer to terms-page predictions. In the comparison the authors ran, a positive prediction from the server was more frequently supported by the test label. This is relevant to the quality of an eventual terms-page decision after a candidate has been sent for closer inspection.

Recall on the test split is 0.8219 for the server approach and 0.5393 for the rules. The learned content classifier therefore recognizes more of the URLs labeled as terms in this collection. That result describes how the components perform when evaluated on the labeled task. The number of terms pages a shopper would actually reach on a live site also depends on which links the client sees and which of those proceed to the server.

Terms-page recall on the webshop URL test split

The server content classifier finds more of the labeled terms pages.

Terms-page recall on the webshop URL test splitBrowser URL rules: 0.5393Browser URL rules0.5393Server content classifier (this paper): 0.8219Server content classifier (this paper)0.8219
The numbers
System or settingrecall
Browser URL rules0.5393
Server content classifier (this paper)0.8219

The same ranking appears in the F-score. It reaches 0.8644 for the server approach and 0.6428 for the rules. These test results reflect the improvement in both underlying measures. The server’s higher recall comes with higher precision in the reported comparison. There is thus evidence for choosing page content for the more considered decision on whether a candidate is a terms page.

Terms-page F-score on the webshop URL test split

The server content classifier leads on the combined precision and recall measure.

Terms-page F-score on the webshop URL test splitBrowser URL rules: 0.6428Browser URL rules0.6428Server content classifier (this paper): 0.8644Server content classifier (this paper)0.8644
The numbers
System or settingF-score
Browser URL rules0.6428
Server content classifier (this paper)0.8644

The authors consider the result promising given the modest, unoptimized training set and the prospect of getting feedback during use. That is their reading of the initial experiment and their expectation for the system’s development. The measured scores concern the classifier trained for this evaluation. The paper does not provide a subsequent test showing how much scores change after feedback-based updates.

Local URL rules have a different advantage

The timing results favor the browser rules. The mean time per URL is 0.001 seconds for the rules and 1.435 seconds for the server approach. These are the times reported for classifying a URL, including whatever operations the respective approaches incurred in the authors’ timing. The paper does not break down the server figure into page retrieval, preprocessing, and classification.

Mean time per URL in the webshop terms-page evaluation

The browser rules make their URL decision faster than the server content approach.

Mean time per URL in the webshop terms-page evaluationServer content classifier: 1.435Server content classifier1.435Browser URL rules (this paper): 0.001Browser URL rules (this paper)0.001
The numbers
System or settingseconds
Server content classifier1.435
Browser URL rules (this paper)0.001

The architecture makes that timing difference relevant even though the URL rules have weaker scores on the labels. A webshop can present links to many kinds of pages. A cheap check in the browser can reduce how many of those links need a request to the server. The authors also emphasize that the rule check runs on the client, so SaToS does not incur server computation for that check. The server can concentrate on URLs whose addresses look promising.

The average times describe the compared per-URL operations. The time until a shopper receives a summary would also include the conditions of browsing, how many candidates get through, and the processing after classification. These conditions matter because the design aims to provide a quick decision while the shopper is already using the site. The experiment quantifies a cost relevant to that goal. It leaves overall response time for the extension unmeasured.

What the experiment establishes about the combined design

The figures explain the authors’ rationale for keeping both approaches. The server reads stronger evidence and makes a better terms-page decision in the benchmark. The browser processes candidate addresses quickly and locally. A hybrid design can use the browser for screening and the server for confirmation, matching each job to the observed strength of its component.

The reported results come from evaluating each component, so they give no direct quality score for the chain in which one gates access to the other. A false positive at the screening step can be removed by a correct server decision. A false negative at screening gives the server no chance to classify that URL through the same route. On a live shop, several links might point to the terms, and the chance of finding the document may depend on whether any of those links passes. The paper’s dataset is organized around labeled URLs. The results do not establish the corresponding success rate per shop.

This defines the scope of the empirical contribution. The paper compares the tools for identifying a prerequisite document, with concrete results on classification quality and processing time. It demonstrates the later stages through the example output record, the rules, and the browser interface. Those demonstrations explain the path from a detected page to a summary. The experiment supplies measurements for finding the page within that path.

What the ablations show

The paper reports no formal ablations of the complete pipeline. It compares the browser and server classifiers, examines their processing times, and illustrates extraction and assessment through worked cases.

The component comparison helps establish what each classification stage contributes in practice. With the same terms-page labeling task as the reference, the server approach has the better precision, recall, and F-score. The local rules have the shorter average runtime. This gives the authors evidence for assigning their two components different jobs. Their results support using the browser rules as an inexpensive source of candidates and reserving the server’s more accurate decision for page contents.

Because the components use different inputs, the experiment cannot isolate how much of the measured improvement comes from naïve Bayes and how much comes from seeing the page. The rule check receives an address, where the decisive words may never appear. The server receives the text of the page after preprocessing. The reported comparison moves from one implemented approach to the other, with both changes occurring together. It establishes the relative performance of those implementations under the test conditions.

The same issue applies to the time comparison. The client’s operation consists of examining the address locally. The design of the server path calls for obtaining page content and preparing it for classification. The table measures the time taken by the approaches. It does not separately measure the time used by an individual rule or the naïve Bayes decision alone. The timing result speaks directly to which operation can cheaply screen a link in this architecture.

The experiment includes no version that bypasses the browser filter while keeping the rest of the system in place. It also includes no reported sweep over the filter threshold. The threshold is consequential because passing more URLs can allow the content stage to recover more genuine terms pages at the cost of more requests. Passing fewer can save server work while leaving some pages unexamined. The performance of the rules on the labeled URLs makes that issue visible. The paper leaves open where the practical balance lies for the combined extension and server.

The results also do not identify which particular signals carry most of the predictive value. AGB is a concrete example of a useful address clue, while the table reports the rules together. Similarly, the preprocessing discussion gives several possible operations and the learned classifier is evaluated as a whole. There is no result assigning a gain to stemming, to page cleanup, or to any other text-processing choice. The comparison supports using the complete server classification approach as tested.

The worked extraction example answers a different kind of question. It shows what information survives after the system reads a withdrawal clause, which makes the handoff from text to legal interpretation understandable. The threshold example then shows how the period can affect the status given to a clause. These examples help a reader trace one decision from wording to structured data to interpretation. They do not show the frequency with which different phrasings succeed or fail.

The template and ordering choices are similarly explained through the design. The jurist’s templates are intended to give the customer enough information in clear language. Placing unlawful findings first presents the issue the system treats as most urgent before routine ones. The paper provides no controlled comparisons of different message wordings or orders. Their purpose is explained by the customer’s situation, while their effects on understanding and decisions remain open.

Limitations

Scope and future work identified by the authors

The authors present SaToS as a first research prototype for German webshops and state that they want to cover additional clauses. The implemented extraction modules concern withdrawal and warranty. These are significant subjects for customers, but the paper itself motivates the wider problem with provisions about performance, payment, liability, and jurisdiction. A result from SaToS is an assessment of the findings it can produce within its coverage. It should be read at that level, including when those findings contribute to a recommendation for the shop.

The prototype begins with these subjects because periods are an accessible form of information and the relevant legal wording frequently recurs. This is a deliberate constraint on the early system. The authors’ examples of inspection, original packaging, and shipping risk show different kinds of information that clauses can express. Their stated plan for broader coverage implies additional rules for detecting and interpreting different subjects, and new wording where the existing templates cannot express the result.

The authors also describe a system they expect to improve with use. They characterize the labeled training sample as relatively small and unoptimized, and they see user feedback as a source of subsequent improvement. Their reported results establish the initial performance on the fixed test split. Feedback collection is part of their design. The amount and quality of data it would yield during deployment, and the changes in classification accuracy that might follow, are left without measurements in the paper.

At several points, the architecture is described as an early version. Document planning currently determines the order of messages. The interface gives a recommendation and several kinds of alerts, while the paper leaves the procedure for combining findings into a recommendation unspecified. These descriptions set the level of detail available to a reader. The paper establishes the components and how they connect, along with selected implementation choices.

Further limits of the evidence

The experiment evaluates URLs, while the practical use concerns shops and shoppers. A single shop can link to different kinds of pages, and several candidate addresses may be available during a visit. The paper gives counts for the labels in the training and test splits, but it does not say how URLs from the same shop are assigned across them. It also does not present a split designed to establish generalization to unfamiliar shops. The degree to which the scores reflect new site conventions or repeat conventions learned during training is therefore unclear.

The labeled cases give the test more terms URLs than other webshop URLs. In use, the browser first sees the mix of links available on the particular page the shopper visits and passes some of those through its rules. The mix presented to the server can consequently differ from the one in the evaluation. This limits how directly the reported precision predicts the proportion of confirmed terms pages in the server’s live input. The paper provides no distribution of the links seen and passed by the browser during ordinary visits.

URL discovery can also constrain the rest of the system even when the server classifier performs well. A genuine terms page may be available through an address that offers little evidence to the browser’s rules. How much of a problem this becomes depends on whether other usable links point to it and whether the browser encounters them. The reported recall for individual URLs does not identify coverage per shop or the effect of missed addresses on the eventual output.

The runtime comparison has a parallel limit. A subscriber to the service would experience time between reaching a shop and seeing an assessment. The table reports per-URL timings for classification. It gives no performance distribution over different visits, and it does not measure the contribution of extraction, interpretation, and realization to the total time. The paper supports a reason for performing screening locally. It leaves the responsiveness of the full browser workflow undetermined.

The largest gap between the demonstration and the measurements concerns the contents of the summaries. There is no set of independently annotated withdrawal and warranty clauses against which the extracted records are scored. Accordingly, the paper gives no estimate of how often a genuine period is missed, how often a number is assigned to the wrong right, or how well the patterns cover the different expressions used across shops. The record for 30 days establishes the intended representation and an instance of its use.

Context poses a related issue for interpretation. The extraction procedure looks for sentences that express a duration and determines their topic. A complete assessment may also need conditions that affect how the stated period applies. The record shown in the paper expresses the topic, duration type, number, and unit. The paper does not demonstrate how the system would preserve a qualification outside that representation or connect a qualification in a different sentence to the period. Conclusions about those cases would require evidence beyond the worked example.

The legal thresholds illustrate rules used by the system in the scope discussed by the authors. The withdrawal example and the separate new- and used-goods warranty conditions show why classification depends on identifying what kind of provision the text expresses. The paper provides no measured agreement with jurists on a sample of the system’s classifications. It therefore leaves the reliability of legal judgments across varied real clauses open, even after the terms page has been correctly identified.

The overall recommendation adds another level of inference. The paper explains that it is based on the categories of individual findings. It leaves the method for aggregating them unspecified, including what weight a given category receives and how missing information affects the result. The trust a user could place in a shop-level judgment depends on the accuracy and coverage of the underlying findings as well as that aggregation. The classifier scores alone speak only to whether the system found the terms.

Finally, the paper’s motivation is about people understanding what they accept. The templates, colors, and ordering embody choices about accessibility and attention, but the evaluation does not measure reading comprehension, the correctness of users’ interpretations, or changes in purchasing decisions. The social network study explains why a short and accessible display might matter. It supplies no outcome data about people using SaToS while shopping. That leaves the authors’ consumer-facing goal as a motivation for the prototype and a question for evaluation beyond page detection.

What came after

Later work cites SaToS in connection with two problems that its pipeline treats separately. One is recognizing problematic provisions in German online-shopping terms. The other is assigning subjects to clauses in standard form contracts. Both concern what can be learned once a contract is available for processing, while the evaluation in SaToS concentrates on getting to the right document in the first place.

NLP for Consumer Protection: Battling Illegal Clauses in German Terms and Conditions in Online Shopping (2021) returns to German shopping terms and makes illegal clauses the focus. In SaToS, recognizing a potentially unlawful provision is part of a browser workflow that also finds the terms, extracts facts, and presents summaries. The later work’s stated focus is the consumer-protection task within that workflow. The citation connects that topic to SaToS. It leaves open whether the later work reused the prototype’s rules, software, or data.

Clause Topic Classification in German and English Standard Form Contracts (2022) concentrates on identifying what clauses are about in German and English contracts. In SaToS, topic identification makes a duration interpretable by attaching it to a right such as withdrawal or warranty. In the later title, classifying clause topics is presented as a standalone task, and both English and German are named. The citation connects it to the earlier work without establishing that it adopted SaToS’s extraction patterns or browser architecture.

The relationship between these topics explains the different questions the papers address. A topic decision can establish what kind of clause deserves closer examination. A lawfulness decision requires criteria for the type of provision and facts to which those criteria apply. SaToS put these decisions in the same browser workflow and illustrated the passage from one to the other. The later works cite it while giving separate attention to the subject of a clause and to the consumer-protection consequences of its content.

Cite

Cite as Daniel Braun, Elena Scepankova, Patrick Holl and Florian Matthes. 2017. SaToS: Assessing and Summarising Terms of Services from German Webshops. Proceedings of the 10th International Conference on Natural Language Generation.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w17-3534

@inproceedings{braun2017satos,
  title = {{SaToS: Assessing and Summarising Terms of Services from German Webshops}},
  author = {Daniel Braun, Elena Scepankova, Patrick Holl and Florian Matthes},
  booktitle = {Proceedings of the 10th International Conference on Natural Language Generation},
  year = {2017},
  doi = {10.18653/v1/w17-3534},
  url = {https://doi.org/10.18653/v1/w17-3534}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/braun-2017-satos-assessing-summarising-terms-services/