Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Intelligence View
⚡ tsecurity.de Intelligence

🧠Generative AI - 2

Transformer Architecture in Generative AI 🤖 The transformer architecture is the foundation of many generative AI models, including language models like GPT and BERT. It consists of two main components: the encoder 📂 and the decoder. …

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




Transformer Architecture in Generative AI 🤖



The transformer architecture is the foundation of many generative AI models, including language models like GPT and BERT. It consists of two main components: the encoder 📂 and the decoder.



Basic transformer architecture






Key Components:



1. Encoder 🔄:




  • The encoder processes input data and generates context-rich representations.

  • It consists of:



    • Self-Attention Mechanism 🧐: Allows the encoder to evaluate relationships between different parts of the input. Each token can attend to every other token, capturing dependencies regardless of distance.


    • Feed Forward Layer ➡️: Applies transformations to the attended data and passes it to the next encoder layer.








2. Decoder 🔄:




  • The decoder generates outputs by attending to both encoder outputs and previously generated tokens.

  • It consists of:



    • Self-Attention Mechanism 🧐: The decoder looks at the tokens it has already generated to predict the next one. At the start, the decoder is given the target data (shifted by one position, so it doesn’t just copy it directly). It generates each new token step by step, learning from what it has produced so far.


    • Encoder-Decoder Attention 📈: Aligns decoder outputs with encoded representations to refine predictions.


    • Feed Forward Layer ➡️: Further processes the data and forwards it to the next decoder layer.








Encoder decoder parts









Important Concepts:



1. Self-Attention 🧐:




  • A key mechanism where each input token attends to all other tokens in the sequence.

  • This is computed using the dot product between embeddings.


  • Challenge: Self-attention loses track of the token's original position.



2. Feed Forwarding ➡️:




  • After attention, the data is passed through a fully connected layer for further processing.

  • In encoders, this forwards data to the next encoder layer.

  • In decoders, it contributes to generating the final output.



3. Encoder-Decoder Attention 📈:




  • A layer in the decoder that allows it to attend to the encoder's output.

  • This helps the decoder extract insights from the encoded input for better output generation.









Positional Encoding 📊:




  • To address the issue of lost positional information in self-attention, transformers use positional encoding.

  • Positional encodings are added to input embeddings, providing context about token positions.

  • This ensures sequential relationships are maintained, making output more coherent and human-like.



Detailed architecture1









Do You Need Both Encoder and Decoder? 🤔



No, not always!





  • Encoder-Only Architecture:




    • Used when you don't need to generate new data but instead analyze or classify input.


    • Examples: Sentiment analysis, image classification (like BERT).








  • Decoder-Only Architecture:




    • Used primarily for generative tasks where new data needs to be created.


    • Examples: Chatbots, text generation (like GPT and Gemini).








  • Both Encoder and Decoder:




    • Required when the task involves transforming input into different output, like translating languages.


    • Examples: Machine translation (like T5 and original Transformer model).








Detailed architecture2









Summary 📊:



The transformer architecture's ability to capture long-range dependencies, align encoder and decoder outputs, and maintain positional context is what makes it powerful for generative AI tasks. These mechanisms together allow models to generate human-like text, translate languages, and perform various NLP tasks with high accuracy.




📝 Stay tuned in this learning journey to know about GENAI training! I'd love to discuss this topic further – special thanks to Guvi for the course!


1. Sofort-Triage & Abwehrmaßnahmen

SOC Incident Playbook: Vulnerability Remediation & Verification
Syntax validiert (0 Fehler)
title: Detect Exploitation - 🧠Generative AI - 2
id: 47f6448d-2777-4d7a-a86c-973d94d9dbcb
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-25
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-25"
        description = "YARA Signature for "
    strings:
        $str = "🧠Generative AI - 2" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
("Generative AI - 2")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
message: "*Generative AI - 2*"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where Message has "Generative AI - 2"
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc

2. Cyber Threat Intelligence & Forensik

🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich 🧠Generative AI - 2.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten 🧠Generative AI - 2

Thematisch verwandte Begriffe: Generative · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97818 | phpIPAM through 1.8.3 has incorrect authorization for id=="admins" and i…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag