Perfilado de sección

  • This unit delves into the inner workings of language models, addressing how they learn from vast amounts of data through probabilistic word prediction. It critically examines the distinction between generating plausible responses and actual understanding, as well as the associated risks: stereotypes, implicit assumptions, and errors. It also analyzes training data, its origin, and the varying levels of model openness and transparency, connecting these choices to technological power dynamics. Finally, it explores the non-deterministic nature of these systems, the impact of parameters such as temperature, and the presence of hidden instructions like the system prompt. The unit invites reflection on transparency, auditability, and pedagogical criteria for an informed and critical use of AI.
      • LESSON 5 - ARTIFICIAL INTELLIGENCE FOUNDATIONS FOR BROADENING CULTURAL HORIZONS

        How Do Large Language Models Learn?

        In this lesson, we delve into the inner workings of language models. How do they learn the meaning of words? Through massive volumes of data and the constant prediction of the next word in a sequence, LLMs recognize patterns and semantic proximity.However, generating plausible sentences is not the same as understanding or guaranteeing their truth. What does it mean for a response to be statistically probable, but not necessarily correct?

        We also analyze the risks: implicit assumptions, reproduced stereotypes, and confusion between entities. Finally, we distinguish between a base model (trained to complete text) and a model adjusted via fine-tuning, aligned to follow specific instructions. This lesson invites us to understand that behind every answer lie training, classification, and alignment processes, and that knowing these mechanisms is essential for using these tools with pedagogical judgment.

        At the end of the lesson, you will be asked to answer a few questions

        👨‍🏫 Instructor: Guido Ivetta

        • Prefer to watch in a language other than Spanish? Just turn on CC, go to Settings (⚙️) > Subtitles > Auto-translate, and select your language!

        • Below you will find the lesson slides, designed as a reference to revisit the ideas, questions, and tensions raised in the video. (Please note: The slides are in Spanish).

          📚 Key Concepts

          Alignment: The final stage where humans evaluate and rank the model's responses. It serves to help the AI adopt human values, more natural ways of speaking, and avoid undesired behaviors.

          Instruction Tuning: The process of training the model with "Instruction-Response" pairs. This is what allows the model to understand that if you ask it something, it should provide an answer rather than continue asking questions.

          Semantic Proximity (Embeddings): The way the model organizes words in a mathematical space. Words with similar meanings (such as "chat" and "talk") end up "close" to each other.

          Probability Distribution: When faced with a blank space, the model does not make a random guess; instead, it assigns a percentage probability to each word in its vocabulary (e.g., "dog" has a 90% probability compared to "barking").

          Base Model: The initial version of the model after processing a massive amount of data. Its primary function is to predict the next word, but it does not yet know how to "obey" commands; it only completes text.

          A creation by Fundación Vía Libre in collaboration with FAMAF – UNC.
      • LESSON 6 - ARTIFICIAL INTELLIGENCE FOUNDATIONS FOR BROADENING CULTURAL HORIZONS

        Where Do Large Language Models Learn From?

        What data are models trained on, and what do we know (or not know) about it? In this lesson, we analyze the composition of the data used to train language models. Where do those texts come from? The internet, digitized books, academic articles, forums, code repositories, and specialized databases form part of the large corpora used for their training. We review concrete cases (such as BERT, GPT-1, or GPT-3) to understand how data sources have evolved and what happens when companies stop disclosing this information in more recent versions.

        We also explore how models are categorized based on their level of openness and transparency: open-source, open-weights, or closed-source. What does it mean to be able to audit a model? What differences exist in terms of costs, access, and community participation? Through current examples, this lesson invites us to reflect on the relationship between data, transparency, and technological power, and to consider what types of models we want to promote in the educational sphere.

        At the end of the lesson, you will be asked to answer a few questions. The answers will be graded, and completing this activity is required to finish and earn credit for the course.

        👨‍🏫 Instructor: Guido Ivetta

        • Prefer to watch in a language other than Spanish? Just turn on CC, go to Settings (⚙️) > Subtitles > Auto-translate, and select your language!

        • Below you will find the lesson slides, designed as a reference to revisit the ideas, questions, and tensions raised in the video. (Please note: The slides are in Spanish).

          📚 Key Concepts

          Open Source: Models where everything is made available: the code, the training data, and the model itself. They allow full transparency and offline usage.

          Closed Source: Proprietary models (such as GPT-4 or Gemini) that can only be used through a service or interface. They function as "black boxes" lacking internal transparency.

          Large Language Model (LLM): An artificial intelligence system trained on vast volumes of text to process, generate, and understand human language probabilistically.

          Open Weights: Models that allow downloading and execution (under permissive licenses), but keep their training data confidential.

          Computing Power: The processing capability required to run or train a model. Even if a model is "free," the computational power needed to run it is often costly.

          A creation by Fundación Vía Libre in collaboration with FAMAF – UNC.
      • LESSON 7 - ARTIFICIAL INTELLIGENCE FOUNDATIONS FOR BROADENING CULTURAL HORIZONS

        Biases and Ambiguity

        In this lesson, we analyze the different types of biases that can emerge in artificial intelligence systems (social, emergent, and automation bias) and how they influence the responses generated. Through concrete examples, we observe how models can reinforce stereotypes, such as associating certain professions with income levels or linking "intelligence" exclusively to developed nations. These cases demonstrate that model responses are not neutral, but rather reflect cultural stereotpyes and hierarchies present in their training data.

        We also examine the concept of uncertainty, distinguishing between ambiguous questions and scenarios where the model lacks sufficient knowledge to answer with certainty. When AI lacks awareness of local cultural contexts or regional knowledge, it tends to fill those gaps with generic or stereotyped responses. Therefore, recognizing the limitations of these systems and the importance of being able to state "I don't know" is essential for critical and responsible application in educational settings.

        At the end of the lesson, you will be asked to answer a few questions. The answers will be graded, and completing this activity is required to finish and earn credit for the course.

        👨‍🏫 Instructor: Guido Ivetta

        • Prefer to watch in a language other than Spanish? Just turn on CC, go to Settings (⚙️) > Subtitles > Auto-translate, and select your language!

        • Below you will find the lesson slides, designed as a reference to revisit the ideas, questions, and tensions raised in the video. (Please note: The slides are in Spanish).

          📚 Key Concepts

          Denotational Ambiguity: Occurs when an instruction or question is not specific enough (e.g., "Who won the World Cup?" without specifying the year or sport).

          Epistemic Ambiguity: Occurs when, even if the question is clear, the answer is unknown, controversial, or there is a lack of information within the model.

          Disambiguation by Bias: An AI behavior where, when faced with uncertainty, the model "fills in" missing information using prejudices or stereotypes (e.g., assuming a "doctor" is always male).

          Intersectionality: A phenomenon where multiple types of bias intersect (e.g., gender, race, and social class) in the same scenario, amplifying discrimination.

          Automation Bias: The human tendency to blindly trust the outputs of a technological system, assuming it is infallible without verifying the information.

          Emergent Bias: Occurs when a system is trained in one context (e.g., Western society) and deployed in a vastly different one (e.g., Asia), causing errors due to a lack of representativeness.

          Social Bias: An unfair inclination or prejudice for or against a person or group, reflecting human stereotypes present in the training data.

          A creation by Fundación Vía Libre in collaboration with FAMAF – UNC.
        • Assignment: Biases and Ambiguity in EDIA

          Below you will find a video to help you carry out this activity.

          If you don't remember how to log in to the tool, you can rewatch the video from the "Typical Phrases" activity.

          Access the EDIA tool to start the activity: https://edia.ngrok.app/

          Ambiguities Activity: Let's get started!

          Below we explain how to perform the activity. We have also included additional written material explaining it step by step.



      • LESSON 8 - ARTIFICIAL INTELLIGENCE FOUNDATIONS FOR BROADENING CULTURAL HORIZONS

        What are stereotypes in AI models?


        In this lesson, we address stereotypes, also known as social biases, in language models. What is a stereotype? They are generalizations about groups of people often built from limited information or prejudices. If AI models learn from data produced by our societies, isn't it expected that they also learn our prejudices? We analyze how biases originate in training data (which is often non-transparent) and how the strong dominance of English and European languages excludes a large portion of the world's linguistic and cultural diversity.

        We also distinguish between in-group and out-group stereotypes, observing concrete examples of how these can appear in automated responses. The goal is to recognize that AI is not neutral and that its outputs can reinforce existing inequalities. Through a practical activity, we propose identifying in-group stereotypes and reflecting on out-group stereotypes to understand how technology that relies on stereotypes can impact the educational practices we build.

        At the end of the lesson, you will be asked to answer a few questions

        👩‍🏫 Instructor: Luciana Benotti

        • Prefer to watch in a language other than Spanish? Just turn on CC, go to Settings (⚙️) > Subtitles > Auto-translate, and select your language!

        • Below you will find the lesson slides, designed as a reference to revisit the ideas, questions, and tensions raised in the video. (Please note: The slides are in Spanish).

          📚 Key Concepts

          Classification Error, False Negative: When the system outputs "NO" (e.g., "This was written by a human") but the real answer is "YES" (it was generated by AI).

          Classification Error, False Positive:
          When the system outputs "YES" (e.g., "This text was generated by AI") but the real answer is "NO" (it was written by a human, such as the Argentine Constitution).

          Retrieval-Augmented Generation (RAG):
          A technique that allows a language model to query trusted external sources (such as a specific PDF or a medical database) before generating a response, reducing (though not eliminating) hallucinations.

          Prompt Instability:
          A phenomenon where tiny changes in the prompt (a comma, a synonym) drastically alter the output. The script emphasizes that this is a limitation in language model design rather than a user skill deficiency.

          Context Window:
          The maximum limit of information a model can retain in its memory during an interaction. If a text exceeds this limit, the model "forgets" part of it.

          A creation by Fundación Vía Libre in collaboration with FAMAF – UNC.
      • LESSON 9 - ARTIFICIAL INTELLIGENCE FOUNDATIONS FOR BROADENING CULTURAL HORIZONS

        Stereotype Validator

        In this hands-on activity, you are invited to work directly with biases in generative language models using a stereotype validation tool. The core premise is to formulate pairs of sentences or questions that differ by only one element (such as gender, nationality, profession, or any other social attribute) and observe how the AI responds in each case. By comparing the responses, you can detect whether the model assigns better results to one variant over another, revealing implicit associations or prejudices in its outputs.

        The purpose is not to "prove that AI is good or bad," but to develop a critical view that allows you to identify stereotyped patterns in model outputs and reflect on their potential effects in educational and social contexts. The activity encourages recording the observed differences, discussing them with peers, and reflecting on how these biases can influence the way we use and teach with AI.



        👨‍🏫 Instructor: Pietro Palombini

        • Assignment: Stereotype Validator in EDIA

          This guide explains how to use the Stereotype Validator on the EDIA platform. It contains a basic overview of the interface; for a deeper understanding of how to use the tool, watching the available instructional video is strongly recommended. Access the EDIA tool to start the activity: https://edia.ngrok.app/

          Guide

          This guide explains how to use the Stereotype Validator on the EDIA platform. It contains a basic overview of the interface; for a deeper understanding of how to use the tool, watching the available instructional video is strongly recommended.

          1. Personal Data and Informed Consent

          • Upon accessing the validator, you will first find a form to fill out your personal information and accept the informed consent form to proceed with the activity.
          • Select the interface language—that is, the language in which the page and general instructions will be displayed.
          • Check the languages you understand (reading and writing). You may select several, keeping in mind that activity data may appear in any of your selected languages.
          • Enter your email address.
          • Select one or more nationalities that represent your cultural, personal, or national identity. Optionally, you can also select one or more specific regions or type them manually if they do not appear on the list.
          • Finally, read the informed consent form regarding data usage for the EDIA tool and, if you agree, accept it to continue.

          2. Using the Stereotype Validator

          Once the first section is completed, access to the main activity will be enabled.

          This tool is designed to explore how stereotypes are perceived across different regions of the world. Each time you submit a response, you will receive a new data prompt.

          In each round, a nationality and an attribute will be displayed. Your task is to:

          1. Indicate the degree of association between the nationality and the attribute in your region, using a scale from 1 to 5:
            • 1: Strongly disagree
            • 5: Strongly agree
          2. (Optional) You can write another attribute that you associate with the given nationality. This attribute can be in any of the languages you selected at the beginning. Writing in different languages is encouraged whenever possible.
          3. (Optional) You can also add other nationalities or regions that, in your opinion, are associated with the presented attribute.

          When you have completed the necessary fields, click the Submit button to receive a new nationality–attribute pair, which may appear in one of your selected languages.

          If you do not understand the displayed pair, notice an error in the data, or do not feel comfortable annotating that specific pair, you can click the Skip button to move on to the next one.