EuPhO 2025 — Задача 1. E1 – Deep Learning (10 pts)

Автор: Olympiads XYZ · транскрипция на официалните материали

Проверена срещу оригинала на 13.9.2026 от същия модел, който я е транскрибирал (без независима проверка)

Съдържание

УсловиеРешение

Experimental Problems Language: English · 10 т.

Внимание: Бележка към темата

Task 6 solution continues beyond this window; Tab. 5, Figures 8 and 9 and the final verification are on later pages.

Условие

Modern ANNs (artificial neural networks) are made of billions of neurons. Each neuron transforms its input(s) x1,x2,,xnx_1, x_2, \ldots, x_n to an output yy. First, z=w1x1+w2x2++wnxn+bz = w_1x_1 + w_2x_2 + \cdots + w_nx_n + b is calculated, with real numbered weights wiw_i and real numbered bias bb. Then an activation function is applied to zz to produce the final output y(x1,x2,)y(x_1, x_2, \ldots). In the present problem you will investigate a physical model of a neuron with the electric voltages x1x_1 and x2x_2 as inputs, with the activation function being Aσ(z)A\sigma(z), graphed below, where σ(z)=1/(1+exp(z))\sigma(z) = 1/(1+\exp\,(-z)) is called sigmoid function.

Equipment

Important! Do not switch off any power outlets.

(i) A box containing a voltage source, an electronic circuit that models the neuron, and two potentiometers (the A-potentiometer and the B-potentiometer). The electric terminals on the box are denoted as follows:

  1. Two electrically connected GND terminals: the electrical ground serving as a common negative terminal for +V+\mathrm{V}, x1x_1, x2x_2, and yy.
  2. +V+\mathrm{V}: the positive terminal of the voltage source.
  3. X1 and X2: the positive terminals of the neuron input voltages x1x_1 and x2x_2, respectively. The neuron output behaves unpredictably if either of these terminals has no input voltage.
  4. Y: the positive output terminal. It behaves like a real voltage source, consisting of an ideal voltage source of voltage yy and a series output resistor RoutR_{\mathrm{out}}, and operates as shown below.
  5. A1, A2, A3: terminals of the A-potentiometer.
  6. B1, B2, B3: terminals of the B-potentiometer.
  7. T: a terminal not to be used in this task.

(ii) Digital multimeter with two probe wires.

(iii) Wires with banana connectors. Two or more wires could be connected to the same terminal in the box by using the holes in the banana connectors. Using the banana connectors with the multimeter may form an unstable connection. Use the alligator clamp if needed.

(iv) Graph paper. You can ask for more if needed.

Training involves optimizing the network weights to achieve desired functionality. This allows ANNs to approximate arbitrary functions. For each of the following tasks you have to approximate a different function of a single input voltage using the given equipment. Make sure that the input and output that you define are clearly marked in your circuits.

Graph of the sigmoid activation function y = Aσ(z) versus z, with dashed horizontal asymptote at level A; z axis marked at −4, −2, 0, 2, 4.
Block diagram of the neuron model: inputs X1 and X2 enter a box with z(x) = w₁x₁ + w₂x₂ + b, followed by a circle Aσ(z), a series resistor R_out, and output terminal Y.
Three candidate connection schemes of terminals A1, A2, A3 with the potentiometer R_P and load resistor R_L: (1) A1–R_P–R_L–A2 with A3 tapped at the junction; (2) A1–R_P–A2 with R_L between the tap and A3; (3) A1–R_L–R_P–A2 with A3 tapped between them.

Task 1 (0.5 pts) Terminals A1, A2, and A3 are connected to the A-potentiometer RPR_P and an additional load resistor RLR_L. Which of the schemes below corresponds to the circuit in the box? Determine the resistances RLR_L and RPR_P; document the measurements made.

Note The B-potentiometer is connected to terminals B1, B2, B3 in exactly the same way with the same resistances RLR_L and RPR_P, within manufacturing tolerances. [0,5 т.]

Task 2 - (0.5 pts) Sketch how the terminals have to be connected so that the neuron input voltages can be varied with the widest possible range. [0,5 т.]

Task 3 - (1.5 pts) Devise (and document) a strategy allowing you to find the combination of input voltages x1x_1 and x2x_2 that maximizes the output voltage yy with the least possible number of measurements, irrespectively of with which set of input voltages you start the search. Determine this maximal voltage ymaxy_{\max} that will be henceforth used as an approximation for the amplitude AA, and document your measurements. [1,5 т.]

Task 4 - (3.5 pts) Determine the weights w1w_1, w2w_2 and the bias bb. Describe your measurements and document your data in a table. Estimate w1w_1, w2w_2, and bb by using a graphical proach. [3,5 т.]

Task 5 - (1.5 pts) Connect the terminal X1 directly to +V+\mathrm{V}. Design a circuit to approximate the function y5(x)=Aσ(w2x/2+b5)y_5(x) = A\sigma\,(w_2x/2 + b_5), where xx is the voltage applied to your newly defined input terminal. Determine b5b_5 theoretically. Implement the circuit, take measurements and verify that your setup works as expected. Validate the value of b5b_5 from your data. [1,5 т.]

Task 6 - (2.5 pts) a Determine the internal series output resistance RoutR_{\mathrm{out}} of the Y terminal. (0.5 pts)

b Design and implement a circuit to approximate the function y6(x)=A6σ(w2x+b)+B6y_6(x) = A_6 \cdot \sigma(w_2x + b) + B_6, where B6=1.48VB_6 = 1.48\,\mathrm{V}. Determine A6A_6 theoretically. Implement the circuit and verify experimentally that your setup works as expected. Confirm the values of A6A_6 and B6B_6 from your data. (2.0 pts) [2,5 т.]

Решение

Покажи официалното решение


Оригинал в Архива: eupho2025_experiment_problems.pdf · официални решения: eupho2025_experiment_solutions.pdf