UKP-SQUARE: An Online Platform for Question Answering Research
Paper · 2022 · Tim Baumgärtner, Kexin Wang, Rachneet Sachdeva et al.
Summary
A researcher testing a question answering system often wants to know more than whether it can produce the right answer. Where did it look for evidence? What does it do when the evidence is already supplied? Does a small change to the question alter its reply? These questions are harder to investigate when systems accept different inputs, draw on different sources and present their answers through separate interfaces. UKP-SQUARE gives researchers a shared environment for running and examining complete question answering pipelines.
The authors call each pipeline a Skill. A Skill specifies where the question goes, which services it calls and how it assembles the answer. It can search a document collection and extract a passage from the results, work with a passage the user supplies, choose among written options or generate an answer. The platform provides services for storing and searching documents and for running the components that process questions, passages and answer choices. A developer writes the logic that connects these services and can register the resulting Skill for private use or public access. A user can send a question to several Skills and inspect their responses side by side.
UKP-SQUARE also adapts CheckList for examining how a Skill behaves on targeted cases. A test can ask whether the Skill supplies an expected answer on a simple example or whether it keeps its answer when a question contains a spelling perturbation. The interface reports failures by test and lets users examine individual questions, contexts and predictions. This makes it possible to look beyond a disagreement between answers and ask what kind of input produced it.
In a pilot study with five graduate students, all participants understood the inputs and outputs of the Skills and reported that the interface made comparison easy. The average System Usability Scale score was 70 out of 100, which the authors interpret as good usability. Participants also valued the behavioral examples, although most needed time to understand the test cards. The paper demonstrates an environment for sharing and examining question answering pipelines. Its quantitative findings concern the experience of using that environment, and its examples show the kinds of answer and failure analysis the interface supports.
Deep dive: UKP-SQUARE: An Online Platform for Question Answering Research
UKP-SQUARE brings question answering systems into one interface so researchers can share pipelines, compare answers, and inspect failures. · about 31 minutes to read
The problem and its context
Question answering had become several kinds of task
A system that answers questions about a passage can be asked to return the words that support an answer. In extractive question answering, the output is a span, meaning a continuous stretch of text in the supplied context. A system can also be asked to formulate an answer whose wording extends beyond any continuous stretch of that context. The paper calls this abstractive question answering. A multiple-choice task presents candidates and requires the system to select among them. A yes-or-no task offers a pair of fixed response categories. Each format determines what counts as an admissible answer and which parts of the input the system needs to see.
The authors illustrate this variety through earlier datasets. SQuAD provides their example of finding an answer span in a passage. NarrativeQA appears as an example of generating an answer, and RACE illustrates choosing from alternatives. The required work differs across these tasks. A span extractor must find the boundaries of a phrase. A multiple-choice system assigns scores to candidate answers. A component generating text must construct an output sequence. Supporting each format therefore has consequences both for what runs behind the interface and for what the user should enter and expect to see.
The format of the answer and the source of the evidence are separate choices. In machine reading comprehension, as the paper uses the term, the user can supply the passage to be read. That setup gives the system a defined text in which to look for evidence. In open-domain question answering, the question can arrive by itself. The system first searches a collection for useful material and then applies a reader, the component that processes the question together with the material retrieved. The authors use Reading Wikipedia to Answer Open-Domain Questions to situate this retriever–reader design.
Open-domain systems add another choice about how to find documents. Sparse retrieval in the paper is represented by BM25, which ranks documents using term-based evidence. Dense retrieval represents a question and the documents as vectors, or lists of numerical values, and searches for document vectors close to the question vector. The authors cite Dense Passage Retrieval as an example. Retrieving a useful document and reading it successfully are distinct operations. Even when the final answer is a short span in both settings, the open-domain pipeline has to bring an appropriate passage into view before the reader can extract it.
The difference matters when researchers try to explain an unsuccessful answer. If a user supplied a passage containing the relevant information, the investigation can focus on how the Skill used that passage. If the Skill searched a collection, the investigation can also ask what material the search returned. The domains represented in the collection matter as well. A source assembled from biomedical material offers different evidence from Wikipedia or documents drawn from web search. The authors' starting point is that a research environment needs to accommodate these choices because they are part of what is being investigated.
The gap between an individual system and a shared environment
The paper describes a field with substantial advances in task-specific predictors and datasets. Specialization can be useful because a system can be built around the inputs, answer format and evidence appropriate to a particular task. It creates work for a researcher who wants to compare systems, however. One pipeline may expect a passage with every question, another may search a particular collection, and another may require options in its input. A demonstration that exposes one configuration can be effective for trying it and still leave questions about how its reader would behave with another collection or retrieval service.
The authors compare UKP-SQUARE with prior frameworks and demonstrations along those lines. They describe Haystack as the closest framework in scope. In their comparison, Haystack already supports sparse and dense search, as well as extractive and abstractive answering with Hugging Face components. The authors identify support for ONNX and adapters, and the availability of a hosted environment, as distinctions for UKP-SQUARE. Their discussion treats running Haystack on one's own infrastructure as a demand on technical expertise and hardware. That comparison concerns the systems covered in the paper and the capabilities the authors examined.
NeuralQA provides an interactive environment with sparse retrieval and a reader for extracting answers. The Dense Passage Retrieval demonstration provides a way to try dense retrieval with open-domain answering. The authors also discuss UnifiedQA, whose demonstration uses a T5 system trained across several datasets so that it can respond in several formats. The paper describes its demonstration as operating without a retrieval component. The contrast among the demonstrations gives a reason for treating format, search and deployment as separate dimensions in the platform design.
The paper's account of earlier work also distinguishes different ways to inspect a system. NeuralQA offers gradient-based explanations, which draw on calculations inside the predictor. The authors describe many such techniques as local, in that they address what contributed to a particular prediction, and as requiring access to the machinery that computes gradients. CheckList approaches the question through observable behavior. An investigator supplies examples, specifies an expected response and sees whether the system meets it. A hosted service can be examined this way through its inputs and outputs, including when its work is distributed across several components.
UKP-SQUARE brings these concerns together around a unit researchers can run and share. The object of comparison is the Skill, which includes the choices that connect search, evidence and answering for a particular task. The object of a behavioral test can also be that full Skill. This framing matters because a reusable reader and a complete system serve different purposes. A reader can process a question and a passage. A shareable pipeline also has to decide where that passage comes from, whether another service should be called and what to return to the person asking the question.
What a comparison needs to make visible
Putting several outputs on screen addresses a practical obstacle to comparison. It gives a researcher a common place to enter a question and see the answers, along with the kinds of supporting information each Skill returns. Meaningful comparison also depends on understanding the input that each Skill received. If one was given a passage and another searched its own collection, their answers reflect different access to evidence. If a third chose among named options, its output was constrained in a different way. These differences help explain why the authors give distinct answer formats their own displays within the shared interface.
A related obstacle is deciding what behavior to compare. Questions submitted in the interface support exploration. A researcher can notice a surprising answer, inspect an available passage and try another wording. A curated behavioral test starts with an explicit expectation and gives the resulting pass or fail a defined interpretation. A collection of tests can then organize such observations by capability, such as handling a spelling error or recognizing which phrase refers to an entity. UKP-SQUARE makes room for both forms of inquiry. The former is driven by what the user asks in a session, while the latter is driven by the examples and expectations in the testing collection.
The authors' contribution is consequently an engineering and research-interface contribution. They organize components that already perform different jobs, provide an extension point for writing the logic of a new pipeline and give researchers a way to inspect how published pipelines respond. The architecture is designed so that a developer can change an aspect of a Skill, such as the source of evidence, while retaining services that still suit the task. The following example shows what that division of labor looks like in a complete request.
The method, step by step
Start with the pipeline that receives the question
A Skill begins with a decision about what should happen after a question arrives. For reading comprehension, it can take the question and supplied passage and send them to a reader. For open-domain answering, it sends the question to a Datastore first. A Datastore is the platform's service for storing and retrieving documents. The Skill can then ask a reader to work on the retrieved material. A Skill can also direct a question with answer choices to a classifier, which scores the possible outputs, or pass an input to a component that generates text.
This pipeline is where a developer expresses the research design. Choices such as which Datastore to search, which search index to use, what to pass to a reader and how to package the answer belong to the Skill. A different Skill can reuse the same reader in a different sequence of operations. A single Skill can also call several predictors or sources. The authors give an example of a potential combination in which Wikipedia and a reader trained on news questions serve complementary needs. In their discussion of publishing, they also describe combining Wikipedia and biomedical document sources as a possible use of the system.
UKP-SQUARE runs its services in Docker containers. A container provides a separate environment in which a service can run, and the architecture lets the Skill reach the relevant service through an application programming interface, or API. The researcher putting together a Skill works with calls for retrieving documents or obtaining predictions. The service receiving the call handles the corresponding index or inference operation. The authors publish the platform's code as square-core and describe both a hosted installation and an option for running the platform locally. The Datastores and inference services can also be reached through their APIs.
An open-domain, extractive Skill illustrates how the components meet. The user starts with a question. The system searches for background material, the reader returns candidate spans and the interface can display where an answer appeared. In the diagram, the query encoder turns the question into a numerical representation for search. The reader then receives the original question along with the text found by the search.
How a dense retrieval Skill extracts an answer
The steps in order.
Choose a document collection and a search index
The Datastore maintains the documents and the structures used for searching them. The paper describes document collections stored in Elasticsearch. A collection can have several indexes. An index organizes the material so that the search can find and rank candidates for a question. The choice of collection governs what material is available to retrieve. The choice of index governs how the system looks for useful material within that collection. When a Skill specifies both, it makes explicit decisions about the supply of evidence and the method used to find it.
For sparse retrieval, UKP-SQUARE uses the BM25 implementation in Elasticsearch. The Skill sends a query for search against the specified collection, and the service uses the term-based index to find candidates. For dense retrieval, the authors use dual encoders with Faiss for approximate nearest-neighbor search. A dual encoder has a path for representing questions and a path for representing documents. The dense index contains document representations. When a new question arrives, the Datastore asks the platform's inference service for the question representation, then submits that vector to the index.
In this setting, a nearest neighbor is a document whose vector is close to the question vector according to the search. The approximate search is used to find promising candidates efficiently. Faiss supplies the index machinery, and the authors name IndexIVFScalarQuantizer as their default index type. Their Datastore design can use other approximate nearest-neighbor methods. The paper gives these choices as implementation details of the platform and cites prior work for dense encoding and indexing. It presents this part of the method through the service sequence and software configuration. The architecture requires no new scoring equation.
The paper also describes separate containers for dense indexes. Traefik routes a request to the appropriate index, allowing the Datastore to direct searches according to the index named by the Skill. The service that encodes the question and the service that searches the document index have different roles. The former produces the vector for this request. The latter searches the existing document representations and helps return ranked results to the Skill. The question text remains available for later use by the reader.
The release includes an English Wikipedia collection prepared for Dense Passage Retrieval, PubMed material from BioASQ, and Bing web documents from MS MARCO. The paper pairs the Wikipedia collection with the DPR encoder and the Bing documents with the TAS-B encoder. These collections make different kinds of evidence available, while the platform's access pattern gives the Skill a consistent way to request a search. The paper presents the collections as resources already prepared for the release and identifies the availability of additional collections as a direction for future work.
For a user who supplies a reading passage, the pipeline can begin with that passage and the question. No Datastore call is needed to obtain the material the user has already supplied. This is why the platform treats retrieval as a choice in the Skill. A researcher can use a shared answering service to examine reading behavior directly or use an open-domain Skill to examine behavior once search and reading operate together. Those two requests address different questions even if the final display shows a span in both cases.
Call the service that produces the answer
Once the evidence is available, the Skill prepares the request for the next task. Span extraction needs the question and a context in which to find an answer. Classification needs input appropriate to the categories or alternatives under consideration. Sequence-to-sequence generation takes an input sequence and supplies a textual sequence in response. For dense search, the same platform service can provide embeddings, which are the vectors used to represent the question. Hosting these operations behind a common service gives developers access to them while leaving the choice of operation in the Skill.
The authors describe an inference service and a management service. Inference is the work of using an already prepared predictor on an input and returning a result. The inference service loads the relevant component and performs the requested work. The management service supports listing, deploying, updating and removing components. The authors mention the possibility of using this management interface to deploy components for additional languages. They describe the entry point for deploying such components separately from the task of writing or registering a Skill that calls them.
The supported software includes Hugging Face Transformers, adapters, Sentence-Transformers and a limited set of ONNX deployments. An adapter supplies a task-specific modification to a base network. The authors link this design to storage efficiency because the platform can reuse a base network with different adapters. Their example uses a task-specific adapter alongside BERT. The cited work on parameter-efficient transfer learning provides the background for that choice.
Sentence-Transformers supports the kind of numerical text representation used by embedding components. The paper cites Sentence-BERT in describing this software family. ONNX is an exchange format for neural networks, and the authors describe ONNX Runtime as an available engine intended to speed up inference for compatible deployments. In each case the support concerns what can run on the platform. The Skill still has to call a component appropriate to its task and interpret the resulting response.
The paper places each deployed inference component in a separate Docker container and uses Traefik to direct requests to the chosen instance. In a Skill that performs dense retrieval and extraction, the query encoder and reader can therefore be reached at different stages. The encoder serves the search step by transforming the question into a vector. The reader takes the question as text and receives the material selected by search. In architectural terms, routing allows these services to be addressed separately. The paper's example shows how the Skill coordinates them without implementing either their inference or the index search itself.
Follow the worked example from retrieved text to returned span
The implementation in the appendix shows a specific version of the open-domain pipeline. The Skill uses the Wikipedia snapshot associated with Natural Questions. Its first call names the Datastore, the dense DPR index and the incoming question. From the returned records the Skill takes the text of each retrieved document and its search score. Carrying those values forward keeps the passages available for reading and preserves the retrieval scores in the data used to construct the final response.
The Skill pairs the original question with each retrieved text in its request to the reader. The example uses uncased BERT-base with an adapter trained on SQuAD 2.0. In the reader request, the topk setting is 1. That is the setting for answer extraction from each question–context input. The call to the Datastore is a separate operation that returns the retrieved documents, and the example builds a reader input for each returned text. Reading topk as a setting for the initial document search would conflate the two calls.
The output helper receives the reader responses, the contexts and the retrieval scores. It packages them as the Skill's answer object for use by the interface. The example shows the inputs that reach the helper, instead of specifying a new mathematical rule for fusing the scores. For a reader following the implementation, the important point is that the search produces documents and associated scores, the reader produces answer information from the question–context pairs, and the output step has both kinds of information available.
This sequence explains how a Skill can be compact even when the work it requests is substantial. Its code names the search resource, extracts what it needs from the results, creates the reader input and returns a formatted answer. The document index, query encoder and reading component all run as services. A developer changing the pipeline can concentrate on the decision that needs to change, such as which index is called or which reader receives the passages. A researcher interpreting its answer can identify the stages that determined which text was seen and which span was returned.
The example uses components prepared in advance. The paper's dataset inventory catalogues task-specific training behind the available components and datasets used by query embedders. The authors explain what those components are used for and give the concrete reader setup in the appendix. The development procedure described for this contribution is assembling and deploying pipelines from such resources. A separate data procedure applies to behavioral testing, where the authors adapt and curate examples for use through the interface.
Register the Skill and choose how to make it available
The publishing workflow starts with a function that expresses how a Skill processes a request. Utility code provides access to the services and helps shape the result for the interface. After creating a Skill, a developer can register it in the web application. The management area supports adding, editing and deleting registrations, and records information such as the Skill's URL, its metadata and whether it requires context. It also provides a visibility setting.
The visibility setting governs who can use the registration. A private Skill is available to its authorized user, who signs in to use it. A public Skill is available to other users through the interface. The availability of an endpoint to the platform and the visibility of a Skill to the platform's users are different concerns. An externally hosted endpoint needs to be reachable for the system to call it, whereas the registration determines who is offered the Skill through the application.
The paper describes hosting on the project's infrastructure, on a third-party cloud service or on the developer's own hardware. For the first option, the developer submits the Skill to the public repository, where it goes through code review before acceptance. That review is part of the authors' response to the practical problem of accepting code contributed by other people. For cloud or self-hosting, the Skill itself runs on the external infrastructure. It can still call UKP-SQUARE's services for operations such as document retrieval and inference.
The authors associate external hosting with quick iteration and independent availability. They recommend the repository route for a Skill intended to remain available over a longer period. Their design gives a developer a choice about where the pipeline logic runs while preserving its access to the rest of the architecture. Accordingly, publishing through the shared interface and running the code on the project's own servers are separate decisions within the workflow.
Present each output in a form that preserves its meaning
The question interface asks for a question and offers a context field when the Skill needs it. Different Skills use the field differently. In passage-based extraction, the field can contain the text to read. For multiple choice, the interface accepts options on separate lines in the same field. This reuse of the input area makes the requirement attached to the selected Skill important. A reader needs to know whether the expected accompanying text is a passage or a set of alternatives.
The output conventions also follow the format. An extractive Skill can return several candidate spans with confidence scores. The interface can show a document and highlight the span at its position in the text, so the researcher can inspect the words around it. A categorical Skill illustrated with BoolQ shows scores for the boolean outputs. A multiple-choice Skill returns scored alternatives. In each case, the scores are part of the Skill's answer display and refer to the candidates of that task.
The interface can display several Skills' outputs next to one another. A person comparing extractive responses can look at the predicted wording and, where available, the passages in which the predictions appear. An apparent disagreement may be traceable to the Skills retrieving different material. A person inspecting a multiple-choice response can check the order of the supplied alternatives and their scores. The comparison serves the paper's diagnostic purpose by exposing the shape of the response and, in the extractive case, some of the evidence visible to the reader.
Test a stated expectation about behavior
The behavioral interface provides a second way to examine a Skill. The authors start from the machine reading comprehension tests in CheckList and adapt them for the platform. A behavioral test treats the Skill as a black box, meaning the test supplies input and evaluates observable output without using the Skill's internal gradients. The test can address the combined effect of retrieval and reading when applied to a full pipeline, depending on how its examples and expectations are defined.
The paper describes a minimum functionality test, or MFT, using a short context about a purple box described as tiny. The question asks for its size. The expected answer is the word expressing size, which makes the example a test of matching a requested property to the appropriate term in the context. This is a taxonomy case in the paper's test classification. The presence of another property in the same sentence gives the test a concrete target. A response naming the color would miss the property the question asks about.
An invariance test, or INV, takes an input and changes a feature that the test designer expects to leave the answer intact. The paper illustrates this using a question about what duty was considered ideal for a Newcomen engine. The test replaces duty in the question with udty and checks whether the prediction changes. The context and underlying question provide the basis for expecting a stable response despite the altered spelling. The criterion is stability across the pair, which addresses a different property from matching an independently specified correct answer.
These tests yield different evidence about a failure. In the box example, the designer can compare the prediction with a known answer to the task. In the engine example, the comparison is between predictions under the original and edited wording. A changed answer flags sensitivity to the edit when the test expects invariance. A stable answer establishes that the prediction stayed the same for that pair. To determine whether it was correct as well, an investigator needs evidence of correctness for the question.
The deployed tests described in the paper are manually curated and kept in JSON. The separate behavioral view displays each test's name, its capability, the test type and the failure rate. A failure rate summarizes how frequently the relevant expectation was unmet among that test's examples. An expandable view provides a description and some failures, including the question, context and prediction. When the test changes part of the input, colored markers can identify the edited text. The user can download a full JSON report of the examples for further analysis.
This procedure gives the overview and the individual examples complementary roles. The rate indicates which test deserves a closer look. An example shows what the Skill did and what changed in the input when a perturbation was involved. Researchers can ask a broad question about how frequently the Skill violates an expectation in a test collection, then inspect particular failures to understand what the aggregate represents. The usefulness of that interpretation depends on the behavior specified and the set of examples the authors or developers selected.
Experiments and results
What the release demonstrates
UKP-SQUARE is presented as a system demonstration. Its empirical focus is the usability of the shared environment, alongside examples of the pipelines and the behavioral comparisons the platform can display. The release inventory establishes the variety of resources assembled for those demonstrations. The related-work comparison establishes which features the authors considered important. The user study measures perceptions of the interface. These forms of evidence address different aspects of the contribution.
The inventory associates already trained components with tasks and domains. NarrativeQA appears under text generation for stories. Extractive resources include BioASQ for biomedical material, DuoRC for movies and NewsQA for news. The span-extraction inventory covers both versions of SQuAD listed in the paper, alongside TriviaQA and other collections. DROP appears as a resource associated with questions that can require discrete reasoning over a passage.
For categorical and multiple-choice use, the paper names resources such as BoolQ and CommonsenseQA. The available query embedders are associated with Natural Questions and MS MARCO. These entries record coverage at release and explain why a user can encounter different formats and sources of evidence in the same environment. The study uses pre-defined questions for interface tasks. The dataset inventory describes the resources behind available components, and the pilot results describe graduate students' experiences using the resulting Skills.
The interface demonstrations illustrate what a comparison entails. The question-answering view shows how a user can send a query to open-domain extractive Skills and inspect answers side by side. The extractive display can connect an answer span to the document containing it. The categorical and multiple-choice examples show responses with scores appropriate to the task. The behavioral view illustrates inspecting tests for phenomena including negation and coreference, the relation between expressions that refer to the same entity.
Which alternatives the paper compares
Haystack, NeuralQA, Dense Passage Retrieval and UnifiedQA are the comparators in the paper's qualitative platform assessment. The authors consider supported inference formats, search options, question answering formats, explainability and extension by users. Haystack is the closest comparison because it already covers sparse and dense search and supports extractive and abstractive answering. NeuralQA illustrates a narrower format scope with a facility for explanation. The DPR demonstration shows dense open-domain retrieval, while UnifiedQA demonstrates a single system handling several answer formats.
The comparison identifies the combination of features the authors seek in UKP-SQUARE. A user can try varied formats, a developer can add a pipeline, and an investigator can examine behavior tests through the same environment. The paper's related-work comparison is a feature inventory. The alternatives were outside the pilot study, which focused on the experience of using UKP-SQUARE. Consequently the feature comparison and the usability responses can be read together without treating the latter as a score against those systems.
What the participants tried
The pilot involved five graduate students, recruited because graduate students were among the authors' principal intended users. The participants volunteered and had no prior exposure to the interface. The authors gave them pre-defined questions to help them get started and asked them to use several Skills for comparison and analysis. They then asked about the inputs and outputs, the ease of comparing responses and the clarity of the information in the behavioral interface.
The study is described as attitudinal. Its main measurements capture how participants judged the experience. The question set guided them through the system, while the follow-up responses captured what they understood or reported finding easy or valuable. The paper records the experience of these participants with those tasks. Its quantitative measures are the aggregate System Usability Scale score and the average responses to specific statements about the interface.
All participants understood what to enter and how to read the Skills' responses, according to the authors' account. They reported that the interface let them compare Skills easily. They also saw value in the behavioral cards for identifying strengths and weaknesses and in using the results when developing Skills. Understanding each card at a glance was harder for most participants. This part of the study identifies a specific difference in experience between getting answers and making sense of their behavioral analysis.
The authors report an average System Usability Scale score of 70 out of 100 for the five participants. The scale provides an overall questionnaire measure of perceived usability, and the authors interpret that average as good usability. The paper also reports agreement with more specific statements on a scale where 1 was the strongest disagreement and 5 was the strongest agreement. Those ratings give a closer view of where the participants found the interface clear and where interpreting it took more work.
Mean agreement by interface aspect in the UKP-SQUARE graduate-student pilot
Participants valued the examples and could distinguish Skills, while the behavioral cards took more effort to understand at a glance.
The numbers
| System or setting | mean agreement score |
|---|---|
| Interface helps distinguish the Skills | 4.4 |
| Behavioral cards are clear at a glance | 2.6 |
| Interface gives a quick view of weaknesses | 3.8 |
| Examples in CheckList tests are useful (this paper) | 4.4 |
The mean ratings were 4.4 for being able to distinguish the Skills through the interface and 4.4 for the usefulness of the examples attached to the CheckList items. The item about getting a quick view of a Skill's weaknesses averaged 3.8. The item about understanding each card at a glance averaged 2.6. All four numbers measure agreement with questionnaire statements in the pilot. The responses concern different aspects of one system, and the examples and the ability to distinguish Skills shared the highest reported mean.
The ratings about the behavioral view bear on different parts of the task. A participant can have trouble interpreting a compact card on first sight and still find the examples useful after opening it. The 3.8 rating concerns the ease of getting an overview of weaknesses, which involves a broader reading of the available information. The combination of findings explains the authors' plan to improve the presentation of the cards. The study suggests that participants found value in the material they could inspect and that the initial display required care to interpret.
The usability measures are distinct from the failure rates available to users of the platform. The latter belong to particular Skills and tests. They are intended to help a researcher investigate answer behavior across curated examples. The usability responses belong to the pilot participants and address how they experienced that inspection process. A positive rating for examples means participants found them useful to see. The quality of the Skills' predictions on a given test depends on the answers themselves and the behavior that test requires.
What the ablations show
The paper reports no component-removal ablations, and its analyses consist of a qualitative platform comparison, examples of targeted behavioral testing and a pilot that probes different parts of the interface.
The invariance example is the closest the paper comes to a controlled change to an input. The designer edits part of a question, with the underlying request and context held fixed, and checks for a change in the returned prediction. In the engine example, the specified change is the misspelling of a single word. A failure under this procedure locates a sensitivity to the edit for that example. Since the Skill can encompass search and reading, the changed prediction by itself leaves open where the sensitivity arose. Comparing the retrieved material or inspecting individual responses would be the next analytical step within the platform's design.
The minimum functionality example has a different control. The designer creates a small context and fixes the expected answer in advance. The answer requires identifying the property asked about in the question, and the simple context makes the meaning of a failure easier to examine. The case shows why behavioral tests can improve on inspecting an arbitrary wrong answer. The designer has already isolated a capability of interest and can describe the mismatch in terms of that capability. The paper uses the example to explain the testing method, with the wider conclusions limited by the cases actually tested.
Side-by-side views also support qualitative comparisons of whole Skills. A user can issue a common question and inspect the predictions together. For extractive Skills, the display may help show whether differences start with the evidence presented or with the span returned from it. If the two Skills use different collections, indexes or readers, the display gives possible explanations to examine. A controlled comparison of any one of those choices would require keeping the other choices fixed. The authors demonstrate the interface that allows inspection and leave the effects of individual architecture choices unquantified.
The prior-system comparison tests the scope of the design in another sense. It shows why support for multiple answer formats does not by itself satisfy the authors' goal of experimenting with retrieval and publishing variants. A dense retrieval demonstration can be useful in its domain, and an interface for a system trained on several answer formats can be useful across tasks. The feature comparison asks which of these options users can bring together in a shared platform and extend. Its conclusions are about the presence of facilities, with the performance of particular Skills left to separate tests.
Finally, the pilot distinguishes the experience of comparing answers from the experience of reading diagnostic cards. These are ratings of different activities within the same interface. They give the authors a basis for identifying the cards as an area for improvement while retaining the examples participants found valuable. The study uses one version of the interface, so the ratings provide a description of its usability rather than estimates for what would happen if the cards were redesigned. The paper's analyses are strongest when read at that scale: they identify what users could inspect, what they found useful, and which parts of the presented information took time to understand.
Limitations
Limits the authors identify
The authors report that most participants did not understand the behavioral cards at a glance. This matters because the cards are intended to make strengths and weaknesses easy to locate before the user opens examples. A failure rate or capability label can be useful to someone who understands the corresponding expectation and still be difficult to interpret on first encounter. The authors identify improving the presentation of those cards as future work. The usability evidence reflects the interface as shown during the study.
The paper describes manually curated behavioral tests for deployed Skills. Researchers can inspect the test descriptions and examples and download the full report. This testing process depends on the coverage of the curated cases. The authors discuss using tests to expose biases and unfair content, while acknowledging the absence of a mechanism in the release that could ensure fairness across contributed Skills. They describe fairness checks as a responsibility currently delegated to the authors of the underlying systems. The platform makes behavior open to inspection for the cases included in testing.
The authors also delimit the release in terms of its supported resources. ONNX support covers a limited selection, and the paper names the Datastores that are available. Its future-work discussion includes expanding those collections and automating the deployment of custom Datastores and inference components. Automated Skill selection is also on the proposed agenda. In the demonstrated workflow, the user selects which Skill or Skills to query, and the developer defines how a Skill operates or combines resources.
Other proposed extensions include specialized graph encoders, structured reasoning and saliency maps. The last of these would provide a different kind of inspection from the black-box tests described in the paper. The authors mention saliency maps as a direction for later integration. Their existing explanation interface gives evidence about observable responses to curated inputs. A gradient-based account of a prediction is a separate form of evidence.
The ethics discussion proposes an environmental benefit from making existing Skills available for comparison. If users can call a component that has already been deployed, they may have less reason to retrain it purely to recreate a comparison. The authors present this as a potential consequence of sharing. The evaluation measures usability and describes the architecture. Emissions savings remain a proposed benefit.
Limits visible in the evaluation
The pilot's size and recruitment constrain what its mean scores can establish. The five participants were junior graduate students using pre-defined questions after receiving instructions about the activity. That setup provides evidence about first encounters by people in the intended research audience, with help getting started. Broader claims about other audiences, sustained use or specialist domains would require observations beyond that pilot. The reported average does not reveal how perceptions might change as users spend more time developing tests or comparing their own pipelines.
The assessment focuses on the experiences participants reported. A statement about being able to compare Skills is informative about perceived ease. It leaves open how accurately participants could diagnose a difference, how long a diagnosis would take and whether they could reproduce it independently. The evidence about using Skills also gives less direct insight into the effort of publishing them. Writing a Skill, deciding where to host it and managing its dependencies involve steps different from issuing questions in the web interface.
Another limit concerns the range of numerical comparisons available. The paper lists capabilities across related platforms and provides a questionnaire score for its own interface. That design gives no common benchmark from which to rank their usability. The training inventory likewise does not serve as a benchmark of question answering performance. It lists resources used for different tasks. An extractive system, a yes-or-no system and an open-domain pipeline can have different inputs and answer criteria, even when they appear side by side in the application.
The same point applies to infrastructure claims. The authors give architectural reasons for isolating deployed components and indexes in containers and routing requests to them. They describe storage efficiency as a reason to support adapters and inference speed as a reason to support ONNX Runtime. The evaluation does not quantify the engineering effect of these choices with comparable response times, resource measurements or workloads. The supported formats and services establish the range of configurations the architecture accommodates. Measured efficiency would depend on the configurations and loads evaluated.
Behavioral evidence is bounded by both the test cases and the unit under test. A failure on a curated spelling perturbation establishes a change in output for the tested pair. A failure rate reports the frequency of failures among the examples assigned to that test. Extending either finding to everyday questions requires knowing how the examples relate to the questions people ask. Likewise, a pipeline-level failure can be visible even when its cause is still uncertain. The failure view exposes the question, context and prediction, but the roles of retrieval, reading and output processing have to be investigated separately if attribution matters.
Answer scores need context as well. The interface can rank candidate spans or multiple-choice answers by scores returned for a particular Skill. The paper describes these displays and the usefulness of seeing them together. It supplies no calibration study establishing a common interpretation for the same numerical confidence across Skills. For comparison, the visible answer, its supporting passage where available and the behavior under a defined test have meanings rooted in the particular setup. Reading a score across different pipelines requires knowing how each pipeline produced it.
The strongest conclusion supported by the evaluation is that participants in the pilot could operate and compare the demonstrated Skills, and that they found individual behavioral examples useful in spite of some difficulty with the overview cards. The platform also demonstrably brings together different answer formats, document collections and retrieval methods. Whether a particular pairing improves answers, reduces engineering effort or enables more reliable diagnosis remains a question about how that pairing is configured and evaluated.
What came after
A follow-up that builds on UKP-SQUARE has yet to be documented here. At publication, the authors identified automatic Skill selection as one direction for extending the platform, drawing on earlier work on combining expert agents and using extendable question answering agent classifiers. The proposed change would move a decision made by the user in the demonstrated interface into the pipeline itself. In the paper's implementation, users choose Skills and can compare their responses. Automatic selection was a proposed extension of that workflow.
Cite
Cite as Tim Baumgärtner, Kexin Wang, Rachneet Sachdeva, Gregor Geigle, Max Eichler, Clifton Poth, Hannah Sterz, Haritz Puerto, Leonardo F. R. Ribeiro, Jonas Pfeiffer, Nils Reimers, Gözde Şahin and Iryna Gurevych. 2022. UKP-SQUARE: An Online Platform for Question Answering Research. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations.
@inproceedings{baumgartner2022ukp,
title = {{UKP-SQUARE: An Online Platform for Question Answering Research}},
author = {Tim Baumgärtner, Kexin Wang, Rachneet Sachdeva, Gregor Geigle, Max Eichler, Clifton Poth, Hannah Sterz, Haritz Puerto, Leonardo F. R. Ribeiro, Jonas Pfeiffer, Nils Reimers, Gözde Şahin and Iryna Gurevych},
booktitle = {Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics: System Demonstrations},
year = {2022},
doi = {10.18653/v1/2022.acl-demo.2},
url = {https://doi.org/10.18653/v1/2022.acl-demo.2}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/baumgartner-2022-ukp-square-online-platform-question/