Transparència in the use of artificial intelligence algorithms

Challenge

How to achieve user trust in digital government services that use data and artificial intelligence algorithms, while ensuring their responsible, safe and fair use. 

Proposed solution: that each digital service includes, on its home page and on the Portal Transparència from the responsible entity, an understandable report on the operation of the system and the impact it can have on people.

Problem and current context

Artificial intelligence (AI) has become an integral part of our daily lives. Governments use it to improve the accessibility and experience of public services, optimize processes or manage public space, for example.

Algorithms are the foundation of AI systems and often act like “black boxes” for the people who use and affect them. To prevent this from happening, it is essential that the algorithms can be understood by the users, that they can understand how a certain decision has been reached and why this decision is made. Even more so in the case of the government, which can only function when there is trust between it and the public. A good administration must allow all citizens to understand the reasons for decisions and to have the possibility of challenging them.

In democratic governments, trust is guaranteed by numerous legal safeguards. Regarding the obligation to make AI algorithms used in digital government services transparent, the law establishes the right of individuals to obtain an explanation of automated decisions (GDPR) and provides for the creation of “mechanisms” so that algorithms involved in decision-making take into account criteria of transparència and explainability (Comprehensive Law 15/2022 for equal treatment and non-discrimination), but does not establish any specific mechanism or legal instrument to do so. It only gives recommendations and leaves it to the discretion of the organizations to find the most suitable tool for:

  • provide meaningful information about the logic of the algorithms used as well as the expected consequences, which is clear and uses understandable language,
  • allow people to understand why an algorithm has given a certain result, as well as indicate the body before which they can appeal their particular decisions or contest its general operation,
  • open the algorithms to democratic control.

In view of the lack of concrete mechanisms, techniques or methods to achieve the transparència algorithmic, the AOC conducted a study in 2023 in order to find standardized forms of transparència and prioritize understanding the algorithms we apply to our digital administration services.

This is where the initiative of transparència algorithm that we present.

Proposed solution 

La transparència in the development and use of AI is a crucial issue to ensure that this technology is used responsibly and fairly towards society.

As a means to achieve the transparència algorithmic, the AOC proposes that each digital service include, on its homepage and on the Portal Transparència from the responsible entity, an understandable report on the operation of the system and the algorithms it uses.

This initiative aims to be a tool for:

  • help people understand how algorithms used in local governments work, what their purpose is and how they can affect them,
  • to provide a transparència meaningful in a standardized way and allow comparison between different algorithms,
  • make it easy for everyone to give their opinion and participate in the creation of human-centered algorithms.
Furthermore, although the initiative focuses mainly on artificial intelligence systems, also includes reports of transparència about other relevant automations, especially when they can have a direct impact on people. This is the case, for example, of complex deterministic systems applied to the management of sensitive public aid or services.
 

→ See the PDF report template transparència AOC algorithm (version 2025)

This model is currently being revised and improved by Ethical AI Working Group and Networked DPD Manager, in which the APDCAT, the AOC, local administrations and other entities, with legal, technical, organizational and data protection profiles, participate.
The group's work has allowed progress towards a single TRAL with two complementary and publishable layers:
  • a layer of transparència for the citizens, brief, clear and understandable;
  • and one governance and accountability layer, which documents and makes the legal, technical and organizational information of the case verifiable.
The citizen layer is built from the information previously analyzed, documented and validated in the second layer. In summary: First we document and validate; then we synthesize and explain.
 

→ See the new PDF report template transparència algorithmic with two layers (version 10/29/2026)

Report content

Each report of transparència algorithmic collects, with a level of detail adapted to the characteristics and impact of the case:
  • the problem or need that you want to solve;
  • the purpose of the system and the public value it aims to provide;
  • the use cases, the recipients and the groups that may be affected;
  • the data used, the operation of the system, its limitations and the results it generates;
  • human intervention and supervision;
  • la legal qualification of the system, including the classification and the regime that corresponds to it in accordance with the AI ​​Regulation and other applicable regulations;
  • the requirements and obligations applicable in matters of artificial intelligence, data protection, security and automated administrative action, among others;
  • la case risk management, which includes:
    • the principles, rights and interestserespublics that may be affected;
    • the specific risks and impacts identified;
    • the measures and guarantees adopted to prevent, mitigate or minimize them;
    • the status of implementation of the measures and the available evidence on their operation;
    • and, where applicable, the residual risks and the mechanisms planned to monitor them;
  • the mechanisms for monitoring, review and continuous improvement;
  • the participation and return of users or affected groups;
  • the identification of the responsible entity, the other actors involved and the channels available to request information, report incidents or file complaints.

Clarification. The legal classification of the system and the management of its risks are related, but different analyses: first it is necessary to identify which legal regime is applicable in accordance with the RIA and the rest of the regulations; then it is necessary to analyze and manage the specific risks that the system can generate in its real context of use.

How the content of the report was determined

To determine the content of the reports transparència algorithmic, the Innovation and Data team with the support of the AOC's legal services, carried out, in 2023, a study that included:  

  1. An analysis of the existing regulations at that time in which the subject of the transparència of automated decisions made by AI algorithms, paying particular attention to the following rules:  
  • European Data Protection Regulation (RGPD)
  • Proposal for a Regulation on the use of artificial intelligence of the Council of Europe (AI Act)
  • Law 40/2015 on the Legal Regime of the Public Sector (LRJSP) and Regulations for the performance and operation of the Public Sector by electronic means (RD 203/2021)
  • Comprehensive Law 15/2022 for equal treatment and non-discrimination 
  1. Documents that offered guidelines and guidance to achieve a safe and reliable AI. It should be noted: 
  • Ethical Guidelines for Trusted AI, from the European Commission's High Level Expert Group on AI (April 2019) 
  • Report “Unboxing Artificial Intelligence: 10 Steps to Protect Human Rights” by the Council of Europe Commissioner for Human Rights (May 2019)
  • Principles for the Responsible Management of Trusted AI from the OECD Artificial Intelligence Council Recommendation (May 2019)
  • Report "Automated Decisions in Catalonia" by the APDCAT (January 2020)  
  • European Declaration on Digital Rights and Principles for the Digital Decade (January 2023)
  • NIST Artificial Intelligence Risk Management Framework Tool (January 2023)
  1. They were also explored initiatives of transparència algorithmic of different administrations, which were in the development phase or recently implemented. It is worth noting: 
  • Register of Artificial Intelligence of the cities of Helsinki and Amsterdam – implemented
  • Standard of transparència Eurocities algorithm, based on the UK standard – implemented
  • Proposal for an ethics work framework for the algorithms of the Generalitat de Catalunya (May 2021)
  • Barcelona City Council's municipal algorithm registration model based on the standard of transparència from Eurocities (January 2023)
  • Collection of AI algorithms from the Catalan Health System (SISCAT) and research centers in Catalonia within the framework of the AI ​​Observatory in Health of the TIC Salut Social Foundation (December 2022)
  • Radar of AI algorithms of the Table of entities of the Third Social Sector of Catalonia (January 2024)

Conclusions of the study

Through the European Declaration on Digital Rights and Principles for the Digital Decade, the member states of the European Union commit to ensuring an adequate level of transparència in the use of algorithms and artificial intelligence and so that people are informed and trained to use them when interacting with them.

To comply with this requirement of transparència of the AI ​​systems of public administrations, current regulations specify the information that must be provided according to the cases [1], but does not define a mechanism, standardized format or “concrete” legal instrument to do so; although: 

  • the AI ​​Regulation establishes the requirement to keep a record of all relevant information of high-risk AI systems (art. 17);
  • Law 15/2022 on equal treatment and non-discrimination speaks of promoting the implementation of "mechanisms" so that the algorithms involved in decision-making take into account criteria for minimizing bias, transparència and accountability (art 23);
  • the Regulation on the performance and operation of the Public Sector by electronic means establishes the obligation to publish on its website the list of automated administrative actions (AAA) - which may or may not involve the use of AI algorithms - , and accompany each AAA with a description of its design and operation (art. 11). 

We have explored different initiatives that are being promoted by European local and regional governments, in order to find a standardized way that allows us to comply with the requirement of transparència of the AI ​​algorithms we apply to our digital administration services.

Among all the initiatives explored and in accordance with the legal obligations in force, we have come to the conclusion that the publication of reports transparència algorithmic on the Portal of Transparència it's a quick and simple solution that facilitates compliance with the requirement of transparència established in the regulations i allows to gain the trust of the users in the AI ​​systems of public administrations.

The study also allowed us to determine what relevant information needs to be provided about AI-based public services so that users can understand how algorithms make decisions and how those decisions are verified. Otherwise, the study has led us to develop an agile and practical methodology to identify and analyze the most likely risks involved in the use of AI algorithms in relation to fundamental rights, and connect them with the measures that will need to be applied in each case to guarantee compliance with these rights.

Risk management methodology focused on the protection of rights and interestserespublic funds

To promote reliable, ethical and safe use of AI in public services, the AOC has developed an agile risk management methodology, focused on principles, fundamental rights and interestserespublics that may be affected in each use case.

The methodology does not replace impact assessments or specialized analyses that may be required, such as an AIPD or a FRIA. Its purpose is to facilitate a structured and proportionate identification of the specific risks of the case, the necessary measures and their monitoring throughout the life cycle.
 
Currently, the methodology is structured in three main steps and is being reinforced with a fourth question aimed at verifying the application and effectiveness of the measures.
  • Step 1. What do we want to protect?
    First, the principles, rights and interests are identified.erespublic bodies that may be affected by the system.

    To facilitate analysis, they are grouped into six families:
    • A. Equality and non-discrimination
    • B. Data protection, privacy and personal autonomy
    • C. Security, robustness and cybersecurity
    • D. Transparència, explainability, access to information and democratic participation
    • E. Responsibility, accountability, traceability and auditability
    • F. Environmental, social, economic and technological sustainability
  • Step 2. What can go wrong?
    Based on the principles and rights that are sought to be protected, they are identified the risks and possible specific impacts of the use caseIt is not about applying a generic list of AI risks, but rather about analyzing what can happen in that system, with that data, that technology and that context of use.

    The following are used as a frame of reference, among others:Artificial Intelligence Risk Management Framework, AI RMF 1.0, from NIST, which facilitates a structured analysis of the risks associated with AI systems.
     
  • Step 3. What do we do to prevent or reduce risks? 
    For each identified risk, the technical, organizational or governance measures and guarantees most appropriate to prevent, mitigate or minimize it.
    The measures must be adapted to the purpose, context of use, possible impacts and reasonably foreseeable misuses of the system.
    The same risk may require several measures and the same measure may contribute to controlling more than one risk.
     
  • Ongoing evolution: how do we know that the measures are working?
    The AOC is working to strengthen the methodology with a fourth question: how do we know that the measures adopted are actually implemented and working?
    It is not enough to indicate, for example, that there is human supervision or that tests have been carried out. You must be able to haveevidence, such as validation records, test results, error measurements, indicators, incidents, or periodic reviews.
    This check should also allow the identification of the residual risk, that is, the risk that continues to exist after applying the measures, and deciding whether to accept it, continue monitoring it or adopt additional measures.
    This extension is still being integrated into the model. The basic idea, however, is clear: Identifying a risk is not enough, nor is proposing a measure; it is necessary to verify its implementation, have evidence of its operation and monitor the risk that persists.

This methodology allows us to move from general principles to specific risk management, measures, evidence and monitoring of each use case.

→ At presentation (PPT, 7/11/2024) you can see a summary table of the three steps of the AOC's risk management methodology.

→ For more details, you can consult the full document: AOC AI Systems Risk Management Methodology (PDF) (version 24/3/2026).

The methodology is currently in the process of being revised and improved. When the new version is consolidated, a specific sheet will be published (note 29/10/2026).

Published reports:

Status of the project

In ProductionFour reports have been published. transparència algorithmic.

More information

Practical cases implemented:

Bibliographic references:

Legal obligations:

European framework

  • Regulation (EU) 2016/679 of the European Parliament and of the Council, of April 27, 2016, relating to the protection of natural persons with regard to the processing of personal data and the free movement of such data and by which repeals Directive 95/46/EC (“GDPR Enllaç
  • Guidelines on automated individual decisions and profiling for the purposes of Regulation 2016/679. Adopted on 3 October 2017 and revised for the last time and adopted on 6 February 2018. Working Group on Data Protection Article 29 of Directive 95/46/EC. Enllaç
  • Regulation of the European Parliament and the Council establishing harmonized rules on artificial intelligence (AI Act) and certain legislative acts of the Union are modified. 12/7/2024. Enllaç 

State framework

  • Organic Law 3/2018, of December 5, on the protection of personal data and the guarantee of digital rights (“LOPDGDD Enllaç
  • Compliance with the RGPD of treatments that incorporate Artificial Intelligence. An introduction February 2020. AEPD. Enllaç
  • Law 15/2022, of 12 July, comprehensive for equal treatment and non-discrimination. Enllaç

Catalan framework

  • Law 19/2014, of December 29, of transparència, access to public information and good governance. Enllaç
  • Decree 76/2020, of August 4, on Digital Administration. Enllaç

[1] For example, the AI ​​Regulation specifies the information that must be provided in relation to certain AI systems (art 50); the GDPR determines the information that must be provided to the data subjectereswhen there are automated decisions (art 13); and the LRJSP establishes the obligation to inform about the body responsible for an automated administrative action in the electronic office, for the purposes of challenge (art 41).