東京大学 情報理工学系研究科 創造情報学専攻 2011年8月実施 筆記試験 第4問
Author
itsuitsuki, 祭音Myyura
Description
Official examination, archived Japanese PDF.
日本語
以下に示す情報システムに関する8項目から4項目を選択し、各項目を4~8行程度で説明せよ。必要に応じて例や図を用いてよい。
- フィードバック制御とフィードフォワード制御
- カルマンフィルタ
- 画像処理に於けるエッジ抽出法(具体例を2つ挙げて説明すること)
- モンテカルロ法
- ニューラルネットワークの学習方法(具体例を1つ挙げて説明すること)
- パイプラインハザード(具体例を2つ挙げて説明すること)
- マイクロプログラム制御
- クライアントサーバーシステムと P2P システムの利害得失
English
Select four items out of the following eight items concerning information systems, and explain each item in approximately 4~8 lines of text. If necessary, use examples or figures.
- Feedback control and feedforward control
- Kalman filter
- Edge detection methods in image processing (Explain with two examples)
- Monte Carlo method
- Learning methods of neural networks (Explain with one example)
- Pipeline hazards (Explain with two examples)
- Microprogram (microcode) control
- Merits and demerits of client-server systems and P2P systems
题目描述
从下列八个信息系统相关主题中任选四个,每个用约 4~8 行说明;必要时可使用示例或图。第 3、6 项须各举两个实例,第 5 项须举一个实例。
- 反馈控制与前馈控制。
- 卡尔曼滤波。
- 图像处理中的边缘检测方法。
- 蒙特卡洛方法。
- 神经网络的学习方法。
- 流水线冒险。
- 微程序(微码)控制。
- 客户端—服务器系统与 P2P 系统的优缺点。
Kai
All eight items are covered below; only four are required in the examination.
(1) Feedback control and feedforward control
Feedback uses the measured output to correct the error between the desired and actual behavior, for example in a speed controller. It can reject unmeasured disturbances and model errors, but sensor noise, delay and excessive gain may degrade performance or destabilize the loop. Feedforward computes an input from the reference or a measured disturbance and a plant model, for example adding the predicted gravity torque to a robot arm's drive. It acts before an output error develops but cannot correct an unknown disturbance or model error by itself. Combining a feedforward nominal input with feedback correction gives both anticipatory action and error correction.
(2) Kalman filter
The Kalman filter recursively estimates the state of a linear stochastic system. Under a Gaussian initial state and independent, zero-mean Gaussian process and measurement noise with known covariances, it gives the conditional mean and thus the minimum mean-square-error estimate. Without Gaussianity, the usual assumptions still give the best linear estimator, but need not give the optimal estimator among all nonlinear ones.
For and , predict
Then update using
These formulas balance model prediction and sensor information by their uncertainties; the displayed inverse assumes a nonsingular innovation covariance.
(3) Edge detection: Sobel and Canny
Edges are rapid spatial intensity changes that often mark object boundaries. Sobel convolves a grayscale image with derivative kernels such as
then thresholds the magnitude to detect large gradients. Canny first smooths with a Gaussian, computes gradients, suppresses nonmaxima along the gradient direction to thin edges, and uses high/low thresholds with connectivity-based hysteresis to retain weak edges connected to strong ones. Smoothing and thresholds trade noise suppression against localization and faint-edge detection. These stages are described in the OpenCV Canny documentation.
(4) Monte Carlo method
For independent identically distributed samples , estimate by . Under integrability it converges by the law of large numbers; if , it is unbiased with standard error . For example, with uniform on , the mean of estimates , with variance . General integrals can use importance sampling where the support and moment conditions hold. Randomness does not guarantee a small error for one particular finite sample.
(5) Learning methods of neural networks
In supervised learning, a forward pass produces predictions, a loss measures disagreement with targets, backpropagation computes parameter derivatives by the chain rule, and stochastic gradient descent updates the parameters. For example, a binary classifier with a sigmoid output and cross-entropy loss has output-layer gradients and ; gradients are also propagated into the hidden layers generating . Repeat mini-batch updates with a chosen learning rate, and monitor a separate validation set for model selection or early stopping. This optimizes the training objective, without generally guaranteeing a global optimum or good generalization.
(6) Pipeline hazards
A data hazard occurs when ADD R1,... is followed by an instruction reading R1 before the add has written its result; forwarding from a later stage or stalling until the value becomes available resolves the dependency. A control hazard occurs after a conditional branch because the correct next program counter is not yet known; the processor can stall or predict the direction and target, then flush incorrectly fetched instructions if the prediction was wrong. These are two distinct examples requested by the question. A structural hazard, such as two stages contending for one memory port, is another category.
(7) Microprogram control
A microprogrammed control unit implements each machine instruction as a sequence of microinstructions held in a control store. Each microinstruction selects datapath actions such as register transfers, ALU operations and memory access, and a microsequencer selects the next microaddress using the instruction opcode and condition flags. For instance, a load may execute microsteps for address calculation, a memory read and destination-register writeback. This simplifies implementing complex instruction behavior and can permit fixes in writable control stores. Its control-store access and sequencing overhead must be balanced against the speed and fixed logic of hardwired control; not every processor or every instruction uses microcode.
(8) Client-server and P2P systems
In a client-server design, designated servers provide services and clients request them. Central administration, consistent policies and data management are convenient, but server capacity can bottleneck and failures require replication or failover; central logical roles do not require a single physical machine. In peer-to-peer systems, peers can both request and supply resources, allowing distributed storage or bandwidth to grow with participation and reducing dependence on one service node. Peer churn, discovery, trust, consistency and access control are more difficult. P2P systems can still use centralized directories or trackers, and are not automatically anonymous or failure-proof. The preferable design depends on workload and administrative requirements.