The ethics of generative artificial intelligence in education under debate. A perspective from the development of a theoretical-practical case study

Authors

DOI:

https://doi.org/10.22550/2174-0909.4577

Keywords:

ethics of artificial intelligence, higher education, generative artificial intelligence, engineering education, PESTLE method, artificial intelligence in education, artificial intelligence regulation, ethical competencies

Abstract

This article examines the ethics of generative artificial intelligence (GenAI) in higher education from a theoretical and practical perspective. It reflects the growing importance of teaching ethics in information technology and its impact on society. Its aim is to develop a training model  integrates ethical reflection on GenAI into the education of computer engineering students. To achieve this, a case study is used based on the Social and Environmental Aspects of Computer Science module at the Universidad Politécnica de Cataluña, in which the theoretical principles of artificial intelligence (AI) ethics are applied through a case study of the use of GenAI within the course. Several examples of GenAI systems within AI applied to education are introduced. One of the examples, developed by the authors, involves an AI assistant built using the LAMB framework that enables students to analyse the proposed case using the PESTLE (political, economic, social, technological, legal, and environmental) method with the assistant acting as an expert. Students are then required to analyse a similar case study in another domain. The results suggest that this theoretical-practical approach, where abstract concepts of AI ethics and safety are grounded in specific decisions about application and concrete technological artefacts, effectively integrates ethical reflection into engineering education, highlighting the need for multidisciplinary approaches to address emerging ethical challenges in AI and education.

Downloads

Download data is not yet available.

Author Biographies

Francisco José García Peñalvo, University of Salamanca

Doctorate in Computing from the Universidad de Salamanca. He is a university professor in the Department of Computing and Automation at the Universidad de Salamanca (USAL), with four recognised six-year research blocks, one six-year transfer period, and five-year teaching blocks. He was awarded the Gloria Begué 293 The ethics of generative artificial intelligence in education under debate. A perspective from the development… Revista Española de Pedagogía (2025), 83(291), 281-293 prize for teaching excellence in 2019 and the María de Maeztu prize for research excellence in 2023. Since 2006 he has been director of the GRIAL (Interaction and eLearning research group), a USAL-recognised research group that is a consolidated research unit of the regional government of Castilla y León (UIC 81). He is currently the deputy head of the University Institute of Educational Sciences (IUCE) and the coordinator of the Education in the Knowledge Society Doctoral Programme at the Universidad de Salamanca. https://orcid.org/0000-0001-9987-5584

María José Casañ Guerrero, Polytechnic University of Catalonia

Doctor of Sciences (2013) from the Universidad Politécnica de Cataluña (UPC) (2013), she also has a degree in Computer Engineering from the same university (1997). Since 2004 she has worked as a researcher and teacher, giving classes in the UPC’s Faculty of Computing. She has also been an instructor on courses with the Universidad Abierta de Cataluña (UOC). She has one recognised six-year research block and four five-year teaching blocks (two of them with a special mention for teaching quality). She currently teaches modules relating to software engineering projects, databases, social and environmental aspects of computing, and history of computing. https://orcid.org/0000-0002-5072-6745

Marc Alier Forment, Polytechnic University of Catalonia

Associate professor at the Universidad Politécnica de Cataluña (UPC) since 2002. He has a doctorate in Sustainability and a degree in Computer Engineering from the UPC, and has two recognised six-year research blocks as well as four recognised five-year teaching blocks (three of them with a special mention for teaching quality). His areas of work include computing, information systems, online education, and the ethics of technology. He has participated actively in the Moodle community, collaborating in the creation of modules in the form of wikis, online service layers, and implementing the IMS LTI standard. With more than 25 years’ experience in research and development of educational software, he has published more than 190 scientific articles and is a member of the EduSTEAM research group. He is currently head of the Engineering and Technology Education doctoral programme at the UPC and teaches various modules in the Faculty of Computing in Barcelona. Outside the academic sphere, he is a guitar luthier and has produced various podcasts since 2007. https://orcid.org/0000-0003-3922-1516

Juan Antonio Pereira Varela, University of the Basque Country

Associate professor in the Computing Faculty of the Universidad del País Vasco (UPV/EHU), where he has been teaching for 20 years. He has a doctorate in Software Engineering (2014) and his research centres on generative AI applied to software engineering, as well as on studying the development of open-source software in this area. He has published numerous articles in both areas, participating in various national research projects and a European project. He has written a book on HTML5 and JavaScript APIs (2021). He was recognised for excellence in teaching based on the student evaluations in four consecutive years (2016–2020). He has been joint head of the ZIUR cybersecurity classroom, and has trained various teams for the SWERC programming competition. He is currently the lead developer on two projects relating to generative AI: RepoSearch, a semantic search engine of computing final degree project dissertations at a national level and LAMB (learning assistant manager and builder), an open-code project to create AI assistants to help learning. https://orcid.org/0000-0002-7935-3612

References

ABET - Engineering Accreditation Commission. (2021). 2022-2023 Criteria for Accrediting Engineering Programs [2022-2023 Criterios de acreditación de los programas de ingeniería]. https://d66z.short.gy/WvENCg.

Alier, M. (2024, 24 de octubre). Beyond the palantír. Safe AI in education from ethics to tools [Más allá del palantír. La IA segura en la educación: de la ética a las herramientas] [Discurso Inaugural]. Technological Ecosystems for Enhancing Multiculturality 2024 (TEEM 2024), Alicante, España.

Alier, M., Pereira, J., Garcia-Peñalvo, F. J., Casañ, M. J., y Cabré, J. (2025). LAMB: An open-source software framework to create artificial intelligence assistants deployed and integrated into learning management systems [LAMB: un marco de software de código abierto para crear asistentes de inteligencia artificial desplegados e integrados en sistemas de gestión del aprendizaje]. Computer Standards y Interfaces, 92, 103940. https://doi.org/10.1016/j.csi.2024.103940

Alier, M., García-Peñalvo, F. J., y Camba, J. D. (2024a). Generative artificial intelligence in education: From deceptive to disruptive [Inteligencia artificial generativa en la educación: de engañosa a disruptiva]. International Journal of Interactive Multimedia and Artificial Intelligence, 8(5), 5-14. https://doi.org/10.9781/ijimai.2024.02.011

Alier, M., García-Peñalvo, F. J., Casañ, M. J., Pereira, J. A., y Llorens-Largo, F. (2024b). Manifiesto para una IA Segura en la Educación (versión en español). Version 0.4.0. https://manifesto.safeaieducation.org/index_es.html

Alier, M., García-Peñalvo, F. J., Casañ, M. J., Pereira, J. A., y Llorens-Largo, F. (2024c). Safe AI in Education Manifesto. Version 0.4.0 [Manifiesto para una IA Segura en la Educación]. https://manifesto.safeaieducation.org

Altman, S., Brockman, G., y Sutskever, I. (2023, 22 de mayo). Governance of superintelligence [El gobierno de la superinteligencia]. OpenAI. https://openai.com/index/governance-of-su-perintelligence/

Anurag, Vyas, N., y Lilhore, U. K. (2023). Transforming work: The impact of artificial intelligence (AI) on modern workplace [Transformar el trabajo: el impacto de la inteligencia artificial (IA) en el lugar de trabajo moderno]. En N. Chaudhary (Ed.), Proceedings of the 2023 3rd Inter- national Conference on Technological Advancements in Computational Sciences (ICTACS) (pp. 602-607). IEEE. https://doi.org/10.1109/ICTACS59847.2023.10390258

Bellogín, A., Grau, O., Larsson, S., Schimpf, G., Sengupta, B., y Solmaz, G. (2024). The EU AI act and the wager on trustworthy AI [La ley de inteligencia artificial de la UE y la apuesta por una IA fiable]. Communications of the ACM, 67(12), 58-65. https://doi.org/10.1145/3665322

Bostrom, N. (2014). Superintelligence: Paths, dangers, strategies [Superinteligencia: caminos, peligros, estrategias]. Oxford University Press.

Bowden, P. (2010). Teaching ethics to engineers - A research-based perspective [Enseñar éti- ca a los ingenieros - Una perspectiva basada en la investigación]. European Journal of Engineering Education, 35(5), 563-572. https://doi.org/10.1080/03043797.2010.497549

Bynum, T. W., Maner, W., y Fodor, J. L. (Eds.). (1992). Teaching computer ethics [Enseñar ética informática]. Southern Connecticut State University.

Cameron, J. (Director) (1984). The Terminator [Película]. Orion Pictures.

Casañ, M. J., y Alier, M. (2024). Case studies about moral dilemas to apply ethical theories in en- gineering education [Casos prácticos sobre dilemas morales para aplicar las teorías éticas en la enseñanza de la ingeniería]. IEEE Revista Iberoamericana de Tecnologias del Apren- dizaje, 19, 1-6. https://doi.org/10.1109/RITA.2024.3368609

Casañ, M. J., Alier, M., y Llorens, A. (2020). Teaching ethics and sustainability to informatics en- gineering students, an almost 30 years’ experience [Enseñar ética y sostenibilidad a estu- diantes de ingeniería informática, una experiencia de casi 30 años]. Sustainability, 12(14), 5499. https://doi.org/10.3390/su12145499

Casañ, M. J., Alier, M., Pereira, J., y García-Peñalvo, F. J. (2024). Asistentes de aprendizaje basa- dos en inteligencia artificial: principios de seguridad y experiencias de implementación en educación superior. En M. Navarro, J. J. Sánchez, P. Berbel, y C. Rodríguez-Jiménez (Eds.), Investigación y conocimientos en la educación actual (pp. 13-35). Dykinson.

Casañ, M. J., Llorens, A., Alier, M., y Pereira, J. (2025). Using an AI based learning assistant for a PESTLE case study learning activity [Uso de un asistente de aprendizaje basado en IA para una acti- vidad de aprendizaje de un estudio de caso PESTLE]. En Proceedings of the 12th International Conference on Technological Ecosystems for Enhancing Multiculturality (TEEM) 2024. Springer. Dal Bó, E. (2006). Regulatory capture: A review [Captura normativa: una revisión]. Oxford Review of Economic Policy, 22(2), 203-225. https://doi.org/10.1093/oxrep/grj013

Diamandis, P. H., y Kotler, S. (2012). Abundance: The future is better than you think [Abundancia: el futuro es mejor de lo que crees]. The Free Press.

Elmoudden, S., y Wrench, J. S. (Eds.). (2024). The role of generative AI in the communication classroom [El papel de la IA generativa en el aula de comunicación]. IGI Global. https://doi.org/10.4018/979-8-3693-0831-8

Epstein, Z., Hertzmann, A., Akten, M., Farid, H., Fjeld, J., Frank, M. R., Groh, M., Herman, L., Leach, N., Mahari, R., Pentland, A., Russakovsky, O., Schroeder, H., y Smith, A. (2023). Art and the science of generative AI [Arte y ciencia de la IA generativa]. Science, 380(6650), 1110-1111. https://doi.org/10.1126/science.adh4451

Escobar, D. (2024, 10 de septiembre). Reemplazan profesores por inteligencia artificial: la educación de los niños con realidad virtual y mucho más. Infobae. https://d66z.short.gy/vvFgTW

European Parliament, y Council of the European Union. (2016). Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation) [Reglamento (UE) 2016/679 del Parlamento Europeo y del Consejo, de 27 de abril de 2016, relativo a la protección de las personas físicas en lo que respecta al tratamiento de datos personales y a la libre circulación de estos datos y por el que se deroga la Directiva 95/46/CE (Reglamento general de protección de datos)]. https://bit.ly/2O2juE9

Flores-Vivar, J. M., y García-Peñalvo, F. J. (2023). Reflections on the ethics, potential, and challenges of artificial intelligence in the framework of quality education (SDG4) [Reflexiones sobre la ética, potencialidades y retos de la Inteligencia Artificial en el marco de la Educación de Calidad (ODS4)]. Comunicar, 31(74), 35-44. https://doi.org/10.3916/C74-2023-03

García-Peñalvo, F. J., y Vázquez-Ingelmo, A. (2023). What do we mean by GenAI? A systematic mapping of the evolution, trends, and techniques involved in generative AI [¿Qué entendemos por GenAI? Un mapeo sistemático de la evolución, las tendencias y las técnicas implicadas en la IA generativa]. International Journal of Interactive Multimedia and Artificial Intelligence, 8(4), 7-16. https://doi.org/10.9781/ijimai.2023.07.006

García-Peñalvo, F. J., Llorens-Largo, F., y Vidal, J. (2024). The new reality of education in the face of advances in generative artificial intelligence [La nueva realidad de la educación ante los avances de la inteligencia artificial generativa]. RIED: revista iberoamericana de educación a distancia, 27(1), 9-39. https://doi.org/10.5944/ried.27.1.37716

González-Geraldo, J. L., y Ortega-López, L. (2024). Can AI fool us? University students’ lack of ability to detect ChatGPT [¿Puede engañarnos una IA? Carencias del estudiantado univer- sitario para detectar ChatGPT]. Education in the Knowledge Society, 25, e31760. https://doi.org/10.14201/eks.31760

Gotterbarn, D., Miller, K., y Rogerson, S. (1997). Software engineering code of ethics [Código ético de la ingeniería del software]. Communications of the ACM, 40(11), 110-118. https://doi. org/10.1145/265684.265699

Harari, Y. N. (2015). Homo Deus: A brief history of tomorrow [Homo Deus: breve historia del mañana]. Harvill Secker.

Harari, Y. N. (2024). Nexus: A brief history of information networks from the Stone Age to AI [Nexus: una breve historia de las redes de información desde la Edad de Piedra hasta la IA]. Random House.

Henriksen, D., Oster, N., Mishra, P., y McCaleb, L. (2025). Generative AI, creativity, culture, and the future of learning: A conversation with Mairéad Pratschke [IA generativa, creatividad, cultura y futuro del aprendizaje: conversación con Mairéad Pratschke]. TechTrends, 69(1), 3-9. https://doi.org/10.1007/s11528-024-01036-y

Hoyos, D. (2011). Revisiones de la ética de la virtud. Estudios de Filosofía, (44), 61-75.

Johnson, D. G. (2009). Computer ethics: Analyzing information technology [Ética informática: análisis de las tecnologías de la información] (4th ed.). Prentice Hall.

Johnson, D. G. (2017). Can engineering ethics be taught? [¿Puede enseñarse la ética de la ingeniería?]. The Bridge, 47, 59-64.

Jonze, S. (director) (2013). Her [Película]. Warner Bros. Pictures.

Jovanović, M., y Campbell, M. (2022). Generative artificial intelligence: Trends and prospects [Inteligencia artificial generativa: tendencias y perspectivas]. Computer, 55(10), 107-112. https://doi.org/10.1109/MC.2022.3192720

Kanbach, D. K., Heiduk, L., Blueher, G., Schreiter, M., y Lahmann, A. (2024). The GenAI is out of the bottle: Generative artificial intelligence from a business model innovation perspective [La GenAI ha salido de la botella: la inteligencia artificial generativa desde la perspectiva de la innovación del modelo de negocio]. Review of Managerial Science, 18(4), 1189-1220. https://doi.org/10.1007/s11846-023-00696-z

Kar, A. K., Choudhary, S. K., y Singh, V. K. (2022). How can artificial intelligence impact sustainability: A systematic literature review [Cómo puede influir la inteligencia artificial en la sostenibilidad: una revisión bibliográfica sistemática]. Journal of Cleaner Production, 376, 134120. https://doi.org/10.1016/j.jclepro.2022.134120

Kumar, A. N., Raj, R. K., Aly, S. G., Anderson, M. D., Becker, B. A., Blumenthal, R. L., Eaton, E., Epstein, S. L., Goldweber, M., Jalote, P., Lea, D., Oudshoorn, M., Pias, M., Reiser, S., Servin, C., Simha, R., Winters, T., y Xiang, Q. (2024). Computer Science Curricula 2023 [Planes de estudios de Informática 2023]. ACM Press, IEEE Computer Society Press and AAAI Press. https://doi.org/10.1145/3664191

Kurzweil, R. (2005). The singularity is near: When humans transcend biology [La singularidad está más cerca: cuando nos fusionamos con la IA]. Viking Penguin.

Leal, J. G. (1982). La teoría del contrato social: Spinoza frente a Hobbes. Revista de estudios políticos, (28), 125-194.

Maner, W. (1980). Starter kit in computer ethics [Kit de iniciación a la ética informática]. Helvetia Press; National Information and Resource Center for Teaching Philosophy.

Martínez-Arboleda, A. (2024). Language sustainability in the age of artificial intelligence [La sostenibilidad lingüística en la era de la inteligencia artificial]. Alfinge, 36(36), 1-37. https://doi.org/10.21071/arf.v36i.17761

Meyer, B. (2011, 28 de octubre). John McCarthy. BLOG@CACM. https://d66z.short.gy/P91Wo6

Miñano, R., Uribe, D., Moreno-Romero, A., y Yáñez, S. (2019). Embedding sustainability competences into engineering education. The case of informatics engineering and industrial engineering degree programs at Spanish universities [Incorporación de las competencias de sostenibilidad en la formación de ingenieros. El caso de las titulaciones de ingeniería informática e ingeniería industrial en las universidades españolas]. Sustainability, 11(20), 5832. https://doi.org/10.3390/su11205832

Moore, G. (1965). Cramming more components onto integrated circuits [Más componentes en los circuitos integrados]. Electronics Magazine, 38(8), 114-117.

Morrison, R. (2024, 12 de noviembre). Sam Altman claims AGI is coming in 2025 and machines will be able to think like humans when it happens [Sam Altman afirma que la AGI llegará en 2025 y que las máquinas podrán pensar como los humanos cuando suceda]. Tom’s guide. https://d66z.short.gy/dJBnLv

Parra, Y. J., Theran, C., y Aló, R. (2024). Ethical considerations of generative AI: A survey exploring the role of decision makers in the loop [Consideraciones éticas de la IA generativa: una encuesta que explora el papel de los responsables de la toma de decisiones en el bucle]. Proceedings of the AAAI Symposium Series, 3(1), 391-398. https://doi.org/10.1609/aaaiss.v3i1.31243

Prieto, E. (2016). La ley del reloj. Arquitectura, máquinas y cultura moderna. Ediciones Cátedra. Quote Investigator. (2010, 7 de diciembre). Quote origin: To err is human; to really foul things up requires a computer [Origen de la cita: Errar es humano; para meter la pata de verdad hace falta un ordenador]. Quote Investigator. https://d66z.short.gy/wYawuu

Quote Investigator. (2024, 20 de junio). Quote origin: As soon as it works, no one calls it AI an- ymore [Origen de la cita: En cuanto funciona, ya nadie lo llama IA]. Quote Investigator. https://d66z.short.gy/dTNx8W

Saltelli, A., Dankel, D. J., Di Fiore, M., Holland, N., y Pigeon, M. (2022). Science, the endless frontier of regulatory capture [La ciencia, frontera infinita de la captura normativa]. Futures, 135, 102860. https://doi.org/10.1016/j.futures.2021.102860

Samsi, S., Zhao, D., McDonald, J., Li, B., Michaleas, A., Jones, M., Bergeron, W., Kepner, J., Tiwari, D., y Gadepally, V. (2023). From words to watts: Benchmarking the energy costs of large language model inference [De palabras a vatios: evaluación comparativa de los costes energéticos de la inferencia de grandes modelos lingüísticos]. En 2023 IEEE High Performance Extreme Computing Conference (HPEC). IEEE. https://doi.org/10.1109/HPEC58863.2023.10363447

Sevilla, S. (2014). La actualidad de la ética kantiana como metacrítica. En J. J. García, R. Rodriguez, y M. J. Callejo (Eds.), De la libertad del mundo: homenaje a Juan Manuel Navarro Cordón (pp. 375-391). Escolar y Mayo.

Shelley, M. (1831). Frankenstein, or the modern Prometheus [Frankenstein, o el moderno Prometeo]. H. Colburn and R. Bentley.

Smith, A., y Yandle, B. (2014). Bootleggers and baptists: How economic forces and moral persuasion interact to shape regulatory politics [Bootleggers and baptists: cómo interactúan las fuerzas económicas y la persuasión moral para configurar la política reguladora]. Cato Institute.

Spiekermann, S. (2015). Ethical IT innovation: A value-based system design approach [Innovación ética en TI: un enfoque de diseño de sistemas basado en valores]. Auerbach Publications.

Tolkien, J. R. R. (1954). The two towers [Las dos torres]. George Allen y Unwin.

Wei, K., Ezell, C., Gabrieli, N., y Deshpande, C. (2024). How do AI companies “fine-tune” policy? Examining regulatory capture in AI governance [¿Cómo «afinan» la política las empresas de IA? Examen de la captura normativa en la gobernanza de la IA]. Proceedings of the AAAI/ACM Conference on AI, Ethics, and Society, 7(1), 1539-1555. https://doi.org/10.1609/aies.v7i1.31745

Wiener, N. (1950). The human use of human beings. Cybernetics and society [El uso humano de los seres humanos. Cibernética y sociedad]. Houghton Mifflin.

Yandle, B. (1983). Bootleggers and Baptists: The education of a regulatory economist [Bootleggers and Baptists: la formación de un economista regulador]. Regulation, 7(3), 12-16.

Zavala, N. L. (1999). Tecnología y ética. Universidad Nacional Autónoma de México.

Zhao, W. X., Zhou, K., Li, J., Tang, T., Wang, X., Hou, Y., Min, Y., Zhang, B., Zhang, J., Dong, Z., Du, Y., Yang, C., Chen, Y., Chen, Z., Jiang, J., Ren, R., Li, Y., Tang, X., Liu, Z., Liu, P., Nie, J.-Y., y Wen, J.-R. (2024). A survey of large language models [Estudio de grandes modelos lingüísticos]. arXiv, Article arXiv:2303.18223v15. https://doi.org/10.48550/arXiv.2303.18223

Published

2025-06-24
Metrics
Views/Downloads
  • Abstract
    1658
  • PDF (Español)
    971
  • PDF
    971

How to Cite

García Peñalvo, F. J., Casañ Guerrero, M. J., Alier Forment, M., and Pereira Varela, J. A. (2025). The ethics of generative artificial intelligence in education under debate. A perspective from the development of a theoretical-practical case study. Revista Española de Pedagogía, 83(291), 281–293. https://doi.org/10.22550/2174-0909.4577

Issue

Section

Guest article

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.