Skip to main content

DCMS: Structured Information From Text (SIFT)

A human-in-the-loop tool that uses generative AI to extract and structure information from unstructured consultation responses for downstream analysis and reporting.

1. Summary

1 - Name

Structured Information From Text (SIFT)

2 - Description

SIFT is a generative AI tool that helps government analysts process unstructured consultation responses, such as emails and long-form submissions. It automatically finds the parts of a submission that answer each consultation question and extracts and organises that text under the relevant question. The resulting extraction is reviewed by an analyst, who can, on a question-by-question basis, amend, approve or reject the output before it is used for downstream analysis. Importantly, SIFT’s outputs are always grounded in and traceable back to the original consultation submission text, ensuring that extracted answers reflect what respondents actually wrote rather than newly generated content. By reducing the manual effort required to process free-text responses, SIFT helps ensure that all consultation feedback can be considered consistently, efficiently and at scale.

3 - Website URL

N/A

4 - Contact email

sift@dsit.gov.uk

Tier 2 - Owner and Responsibility

1.1 - Organisation or department

Department for Digital, Culture, Media and Sport (DCMS)

1.2 - Team

DCMS Data Science Team

1.3 - Senior responsible owner

DD Data Science & Data Transformation

1.4 - Third party involvement

No

1.4.1 - Third party

N/A

1.4.2 - Companies House Number

N/A

1.4.3 - Third party role

N/A

1.4.4 - Procurement procedure type

N/A

1.4.5 - Third party data access terms

N/A

Tier 2 - Description and Rationale

2.1 - Detailed description

SIFT is a tool designed to support the analysis of unstructured consultation responses. It transforms complex narrative submissions into a structured dataset aligned to consultation survey questions, enabling analysts to review, validate and export the resulting data for downstream analysis.

The tool takes a free-text response alongside the corresponding consultation questions and uses a large language model (LLM) to identify content relevant to each question. SIFT produces outputs as question-response pairs, linking relevant content from a consultation response to individual consultation questions. Once content has been identified, SIFT performs a validation step to ensure that the extracted text matches content present in the original response. As a result, only text appearing verbatim in the respondent’s submission is returned to the user, providing traceability and transparency while ensuring outputs are grounded in the source material rather than generated by the model.

Users are required to review each extracted response-question pair through a web interface and can accept, reject, modify or supplement the extracted content before it is used in any subsequent analysis. The service therefore operates as a human-in-the-loop system, with all outputs subject to analyst review and approval. Following review, the structured output can be downloaded from SIFT and used in downstream analytical workflows.

This approach reduces the manual effort associated with processing large volumes of free-text responses while improving consistency, scalability and coverage. It helps ensure that all consultation evidence, including detailed submissions from organisations and subject-matter experts, can be systematically considered as part of the policy-making process.

2.2 - Benefits

The key benefits of SIFT are productivity gains, improved user experience for analysts processing consultation responses, and greater consistency in the analysis of consultation responses. By automatically extracting and mapping relevant content from unstructured submissions to consultation questions, SIFT reduces the time and effort required for analysts to process large volumes of free-text responses within often challenging consultation timelines. The tool also promotes a more consistent approach to response handling by applying the same extraction methodology across all submissions and reducing the risk of relevant evidence being overlooked.

In addition, SIFT can increase the speed of delivery by reducing the time taken to prepare consultation evidence for analysis. It also helps reduce the processing of inbound document-based submissions by transforming unstructured consultation responses into a structured, question-aligned dataset that can be reviewed, amended and exported for further analytical processing. The human-in-the-loop review process ensures that analysts retain full control over the final outputs, while the verbatim text-matching validation step provides transparency and traceability to the original respondent submission. Collectively, these benefits help ensure that all consultation responses, regardless of origin or length, can be considered systematically and proportionately as part of the policy-making process.

2.3 - Previous process

Prior to SIFT, analysts manually reviewed each free-text consultation response and identified which sections related to each consultation question. Relevant text was then copied and organised into a structured format for subsequent analysis. This process was time-consuming, difficult to scale, and relied heavily on manual effort and individual judgement, particularly for lengthy submissions that addressed multiple consultation questions.

2.4 - Alternatives considered

N/A

Tier 2 - Deployment Context

3.1 - Integration into broader operational process

SIFT forms part of the consultation analysis process and is used after consultation responses have been received but before detailed analysis is undertaken. The tool supports analysts by extracting and structuring content from unstructured consultation submissions and aligning that content to the relevant consultation questions. Its output informs the subsequent stages of consultation analysis by providing a question-by-question dataset that can be reviewed and incorporated into wider analytical workflows.

The information provided to users consists of extracted response-question pairs, where the extracted text is validated against the original submission and only verbatim text from each response is returned. Users review each extraction through the SIFT interface and can accept, reject, modify or supplement the output. Once reviewed, the structured dataset can be downloaded and used in downstream analytical processes. SIFT therefore supports, but does not replace, analyst decision-making, with all outputs subject to human review and approval before use.

3.2 - Human review

Users review SIFT’s output immediately after the extraction process has completed and before any downstream analysis takes place. For each consultation response, SIFT presents the extracted response-question pairs through a web interface, alongside the corresponding consultation question and source text. Users are required to review every extraction and can accept, reject, modify or supplement the extracted content. No output is used in subsequent analytical processes until it has been reviewed by a human.

The review process is supported by two assurance mechanisms. First, SIFT validates extracted content against the original submission and only returns text that appears verbatim in the source response, providing traceability and reducing the risk of unsupported outputs. Second, analysts retain full responsibility for reviewing and approving the extracted content before it can be downloaded and used in downstream analytical workflows. The final dataset therefore reflects both automated extraction and human quality assurance, with users able to correct any omissions or inaccuracies identified during review.

3.3 - Frequency and scale of usage

SIFT is deployed on a consultation-by-consultation basis rather than as a continuously operating service. The scale of use therefore depends on the volume of consultations onboarded and the number of unstructured responses received for each consultation. SIFT is only used by government analysts responsible for processing consultation responses and does not directly interact with members of the public. The public and organisations continue to submit responses through existing consultation channels, with SIFT being used internally in government once responses have been received.

3.4 - Required training

Users are provided with guidance and onboarding materials before using SIFT, covering the purpose of the tool, how to review and amend extracted content, and their responsibilities within the human-in-the-loop review process. As SIFT is designed to support rather than replace judgement, users are expected to have an understanding of the subject matter of the consultation they are reviewing.

3.5 - Appeals and review

N/A

Tier 2 - Tool Specification

4.1.1 - System architecture

SIFT is hosted within Amazon Web Services (AWS) eu-west-2 (London) and is deployed as a containerised application running on AWS ECS Fargate. User traffic is routed through an Application Load Balancer, while consultation files, responses, questions and version-controlled prompt templates are stored in Amazon S3. Structured application data, model outputs and users’ review decisions are stored in Amazon DynamoDB and Amazon RDS, with application container images managed through Amazon ECR. User authentication is provided by AWS Cognito, sensitive configuration values and API keys are held within AWS Secrets Manager, and outbound connections to external model services are controlled through a NAT Gateway. The LLM endpoint is hosted in Microsoft Azure.

4.1.2 - System-level input

Consultation questions and consultation response documents, including free-text submissions received via email, PDF,or Word. Additional inputs include version-controlled prompt templates used to guide extraction, and analyst review decisions (accept, reject, modify or supplement) captured during the human review process.

4.1.3 - System-level output

The tool’s output is a structured set of response-question pairs generated from unstructured consultation submissions. The output is delivered to users through the SIFT web application, where analysts review and validate each extraction before it can be used. The reviewed dataset can then be exported in csv format for downstream consultation analysis.

4.1.4 - Maintenance

SIFT is subject to ongoing maintenance and review by the data science team, including routine security patching, infrastructure updates, dependency management, bug fixes and performance monitoring. Changes to prompts or system functionality are version controlled and subject to testing before deployment.

SIFT does not currently use a bespoke machine learning model and therefore does not require model retraining. Instead, SIFT uses externally provided large language models accessed via API. Any changes to the underlying model provider or model version are assessed, tested and validated before being adopted. Performance is further assured through the mandatory human review process, which requires all outputs to be reviewed and approved by analysts before they are used in downstream analysis.

4.1.5 - Models

SIFT uses an externally provided large language model, accessed via an API, to identify content within consultation responses that is relevant to consultation questions. At the time of publication, the underlying model used by SIFT is GPT-4.1, accessed via Microsoft Azure OpenAI Service. We periodically review the selected model and may upgrade when appropriate. DCMS does not develop, train, fine-tune or retrain the underlying model. A large language model is not used to determine whether the extracted text matches the original consultation response. SIFT verifies extracted text against the source submission using a deterministic matching process.

Tier 2 - Model Specification

4.2.1. - Model name

SIFT uses GPT-4.1, developed by OpenAI, as its underlying large language model. The model is accessed via API through Microsoft Azure OpenAI Service. We periodically review the selected model and may upgrade when appropriate.

4.2.2 - Model version

2025-04-14

4.2.3 - Model task

The model is used to identify which parts of long-form consultation responses address specific consultation questions and to extract the relevant text for subsequent human review.

4.2.4 - Model input

The inputs to the model consist of a system prompt defining the extraction task, the relevant consultation questions, and the text of the consultation response being processed. No data are retained by the API provider.

4.2.5 - Model output

The model outputs the sections of consultation response text identified as relevant to each consultation question, structured by question for subsequent validation and review.

4.2.6 - Model architecture

GPT-4.1 is a foundation large language model developed by OpenAI.

4.2.7 - Model performance

SIFT model outputs are validated against the original consultation response using a deterministic text-matching method before passing through a human review layer. Analysts can then amend, approve or reject individual extracted answers before they are taken forward for downstream analysis. A formal evaluation is also being developed to assess SIFT’s performance against manual extraction by humans.

4.2.8 - Datasets and their purposes

No datasets have been used by DCMS for model training, fine-tuning or other model refinement. Consultation responses have been used for testing and prompt development only and do not modify the underlying model.

2.4.3. Development Data

4.3.1 - Development data description

N/A

4.3.2 - Data modality

N/A

4.3.3 - Data quantities

N/A

4.3.4 - Sensitive attributes

N/A

4.3.5 - Data completeness and representativeness

N/A

4.3.6 - Data cleaning

N/A

4.3.7 - Data collection

N/A

4.3.8 - Data access and storage

N/A

4.3.9 - Data sharing agreements

N/A

Tier 2 - Operational Data Specification

4.4.1 - Data sources

SIFT receives data from consultation teams using the tool. These users are government policy, analytical or research professionals responsible for managing and analysing public consultations. Data uploaded to SIFT includes consultation questions and consultation response documents submitted by authorised users. Response documents may include emails, PDFs, Word documents and other written submissions received through the consultation process. User review decisions recorded within the application, such as the acceptance, rejection or modification of extracted content, also form part of the data generated during use of SIFT.

4.4.2 - Sensitive attributes

Consultation responses processed through SIFT may contain personal data voluntarily provided by respondents, including names, contact details, organisational affiliations and other identifying information. Depending on the subject matter of a consultation, responses may also contain special category data or information relating to protected characteristics. This information is not specifically sought by SIFT but may be present within consultation submissions received from members of the public or stakeholder organisations.

SIFT processes consultation responses in their original form to enable the extraction of content relevant to consultation questions. Access to consultation data is restricted to authorised users, and all data is handled in accordance with applicable data protection requirements and the relevant consultation’s privacy arrangements. The tool does not use personal data or protected characteristics to make decisions about individuals, nor does it classify, score or profile respondents based on these attributes. Any outputs produced by SIFT remain subject to human review prior to further analysis or use.

4.4.3 - Data processing methods

No preprocessing is applied to consultation data within the SIFT tool. Consultation questions and response documents are provided to SIFT in the form uploaded by authorised users. SIFT does identify and exclude duplicate responses from processing. Following extraction, SIFT validates outputs against the original submission and only returns content that can be matched back to source text.

4.4.4 - Data access and storage

Yes. SIFT stores consultation questions, consultation response documents, extracted response-question pairs, user review decisions and operational audit logs. Data is stored within AWS (eu-west-2, London) using Amazon S3, DynamoDB and RDS. Access is restricted to authorised consultation users and the SIFT DCSMS Data Science Team.

Consultation data is retained in accordance with the applicable DPIA, consultation privacy notice and, where relevant, departmental MoU.

Consultation responses may contain personal and special category data. This data is protected through encryption at rest and in transit, role-based access controls, multi-factor authentication, access logging and monitoring, and restricted access to authorised personnel only.

4.4.5 - Data sharing agreements

Consultation data is shared under the terms of the Data Protection Impact Assessment (DPIA) and, where SIFT is used by other government departments, a Memorandum of Understanding (MoU) agreed between DCMS and the participating department. The department running the consultation remains the data controller for consultation data, while DCMS provides and supports the SIFT service.

Consultation data is shared with authorised users involved in the relevant consultation and the DCMS Data Science Team for SIFT support and maintenance. Consultation data may also be transferred to Azure OpenAI or AWS Bedrock for processing via API calls under contractual arrangements that restrict its use and ensure no data is retained.

Tier 2 - Risks, Mitigations and Impact Assessments

5.1 - Impact assessments

Data Protection Impact Assessment (DPIA) was completed prior to operational use of SIFT and reviewed as the tool has evolved. The DPIA assessed the privacy risks associated with processing consultation responses, including personal data and special category data, and identified a range of technical and organisational controls to mitigate those risks, including access controls, encryption, retention policies, audit logging and mandatory human review of outputs.

The DPIA is an internal document and is not publicly available.

5.2 - Risks and mitigations

Risk: Relevant consultation evidence is missed or incorrectly mapped to a consultation question. Large language models may not identify all relevant content or may associate content with the wrong question. Mitigation: All outputs are subject to mandatory human review. Users must review, accept, reject, modify or supplement each extracted response-question pair before it is used in downstream analysis. In addition, any text that is not assigned to a consultation question is retained and included in the exported output dataset, allowing analysts to review uncategorised content and identify any relevant information that may not have been captured during extraction.

Risk: AI-generated content is introduced into the analysis process. Unverified model outputs could affect the accuracy of consultation analysis. Mitigation: SIFT validates outputs against the source submission and only returns text that appears verbatim in the original consultation response, preventing the inclusion of generated content.

Risk: Unauthorised access to consultation data, including personal or special category data. Consultation responses may contain sensitive information. Mitigation: Access is restricted to authorised users through role-based access controls, multi-factor authentication, encryption in transit and at rest, security monitoring and audit logging.

Risk: Personal data is retained for longer than necessary. Consultation responses may contain personal and special category data. Mitigation: The consultation-owning department remains responsible for determining appropriate retention periods in accordance with the relevant privacy notice and records management requirements. Data is retained in line with the SIFT DPIA and applicable MoUs, and is deleted or anonymised when no longer required.

Risk: Inconsistent treatment of consultation responses. Automated processing could lead to some responses being handled differently from others. Mitigation: SIFT applies a consistent extraction process across all responses, while maintaining human oversight and review of all outputs prior to use. SIFT also does not analyse consultation responses.

Risk: Over-reliance on tool outputs. Users may place undue confidence in automated extractions. Mitigation: SIFT is designed as a decision-support tool rather than an automated decision-making system, and guidance and training emphasise that users remain responsible for reviewing and approving outputs before analysis proceeds. Review is also enforced within the tool for outputs to be generated for downstream analysis.

Risk: Service disruption or technical failure. System outages could delay consultation analysis activities. Mitigation: The service is hosted within managed cloud infrastructure and is subject to operational monitoring, maintenance, backup and security procedures.