Tiếp theoHướng dẫn tiếp theo
Cách biến video dài thành video ngắn bằng AI
AI trực quan
HƯỚNG DẪN cơ bản
Các ô Bộ nhớ ngắn hạn dài (LSTM) là các đơn vị lặp lại được thiết kế để giúp lưu giữ thông tin và luồng lỗi trên các chuỗi dài.
Nghe hướng dẫn nàyAI thuật lại · ~3 min
Their gated cell state can mitigate difficulties that vanilla RNNs face with long-range dependencies, but LSTMs do not eliminate every vanishing-gradient condition or guarantee perfect long-term retention.
Introduced by Sepp Hochreiter and Jürgen Schmidhuber in 1997, LSTM was designed to help recurrent networks learn long time dependencies despite gradient-flow difficulties. The original 1997 architecture used memory cells with input and output gates and a constant error carousel; it did not include the now familiar forget gate. Gers, Schmidhuber, and Cummins introduced an adaptive forget gate in 2000 for continual prediction, allowing a cell to reset stored state when appropriate. In common modern three-gate variants, forget, input, and output gates regulate retention, writing, and exposure. The gates commonly use sigmoid activations, which produce values between zero and one. A typical cell update is c_t = f_t * c_(t-1) + i_t * g_t. The additive cell-state path can make gradient flow more favorable than repeatedly multiplying through ordinary recurrent transformations, but it does not guarantee gradients never shrink or that every dependency hundreds of steps away will be learned. Performance depends on gate behavior, model configuration, data, and optimization. At each time step, the recurrent unit also computes a hidden state from the exposed cell content; downstream layers use this representation for prediction. Gate activations are learned from task data, so a model may choose to retain, update, or expose different information at different positions. This controlled path supports memory, but actual long-range behavior must be measured on the sequence lengths and task of interest. LSTMs have been used in sequence tasks such as speech recognition, translation, and time-series prediction, though the details of each deployed system vary.
Cung cấp năng lượng cho máy dịch trong hệ thống thần kinh ban đầu của Google Translate trước khi Transformers tiếp quản.
Nhận dạng giọng nói thành văn bản trong trợ lý giọng nói và phần mềm đọc chính tả.
Dự đoán các giá trị trong tương lai theo chuỗi thời gian như nhu cầu năng lượng, chỉ số cảm biến hoặc giá cổ phiếu.
Tạo một mã thông báo văn bản hoặc âm nhạc cùng một lúc và tự động hoàn thành các chuỗi.
Transformers have largely overtaken LSTMs for large-scale language tasks because they parallelize across a sequence and capture long-range context via attention, whereas LSTMs process tokens one step at a time. Still, LSTMs remain valuable for streaming, low-latency, and resource-constrained settings, and on modest time-series data. Recent work like xLSTM (2024) revisits and modernizes the architecture with new gating and memory to compete at scale, showing the idea is not finished. Comparisons should report actual latency, memory use, task and sequence lengths rather than assuming one architecture wins everywhere.
Bản tin miễn phí
Ba câu chuyện AI đã được xác minh vào mỗi buổi sáng các ngày trong tuần, được viết bằng tiếng Anh đơn giản. Miễn phí mãi mãi, không có quảng cáo.
Một email mỗi ngày trong tuần. Hủy đăng ký trong một cú nhấp chuột. Chúng tôi không bao giờ bán hoặc chia sẻ địa chỉ của bạn.
Tự kiểm tra
Phản hồi tức thì về mọi câu trả lời và chứng chỉ có thể chia sẻ với ID có thể xác minh sau khi bạn vượt qua khóa học.
Hỗ trợ giáo dục AI miễn phí. AI Understanding là tổ chức phi lợi nhuận 501(c)(3) — không bao giờ có quảng cáo, không có tường phí. Hãy quyên góp
Long Short-Term Memory (LSTM) cells are recurrent units designed to help preserve information and error flow across long sequences. Their gated cell state can mitigate difficulties that vanilla RNNs face with long-range dependencies, but LSTMs do not eliminate every vanishing-gradient condition or guarantee perfect long-term retention.
Common modern three-gate variants use forget, input, and output gates; the original 1997 formulation preceded the forget gate, which Gers and colleagues introduced in 2000.
The original LSTM was designed to improve gradient flow and address difficulty learning long time dependencies; it does not eliminate every vanishing-gradient condition.
Sepp Hochreiter và Jurgen Schmidhuber đã xuất bản LSTM vào năm 1997.
The additive route can help preserve error signals when gate values allow it, but does not guarantee that gradients never shrink.
Gates sử dụng sigmoid, có đầu ra từ 0 đến 1 quy mô lượng thông tin truyền qua, hoạt động giống như một công tắc mềm.
Tiếp tục học hỏi
Đã chọn thêm hướng dẫn cho chủ đề này
Tiếp theoHướng dẫn tiếp theo
Cách biến video dài thành video ngắn bằng AI
AI trực quan