🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
⚠️ Malware / Trojaner / VirenVorsicht: Android-Malware verschlüsselt Ihre Handys und nimmt heimlich Fotos auf(11.09.2026 um 09:35 Uhr)
🕵️ SicherheitslückenMicrosoft geht endlich eines der nervigsten Probleme von Windows 11 an(11.09.2026 um 11:58 Uhr)
💾 IT Security ToolsSysinternals Suite(11.09.2026 um 12:00 Uhr)
🕵️ SicherheitslückenDefender 0-Day ShieldBreak (CVE-2026-69414) nicht sauber gepatcht - BornCity(11.09.2026 um 12:52 Uhr)
🔧 AI Nachrichten Stealing AI Reasoning Traces(08.09.2026 um 12:20 Uhr)
🔧 AI Nachrichten AIs as Modern Genies(08.09.2026 um 19:12 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
⚠️ Malware / Trojaner / VirenWindows 11 just dropped the tool ransomware abused, Microsoft says don’t restore WMIC(10.09.2026 um 20:11 Uhr)
⚠️ Malware / Trojaner / VirenVorsicht: Android-Malware verschlüsselt Ihre Handys und nimmt heimlich Fotos auf(11.09.2026 um 09:35 Uhr)
🕵️ SicherheitslückenMicrosoft geht endlich eines der nervigsten Probleme von Windows 11 an(11.09.2026 um 11:58 Uhr)
💾 IT Security ToolsSysinternals Suite(11.09.2026 um 12:00 Uhr)
🕵️ SicherheitslückenDefender 0-Day ShieldBreak (CVE-2026-69414) nicht sauber gepatcht - BornCity(11.09.2026 um 12:52 Uhr)
🔧 AI Nachrichten Stealing AI Reasoning Traces(08.09.2026 um 12:20 Uhr)
🔧 AI Nachrichten AIs as Modern Genies(08.09.2026 um 19:12 Uhr)

🔧 Programmierung 🕛 vor 3 Monaten 3 Min Lesezeit
0

Learning Fuzzy Logic: Automatic Rule Discovery Through Differentiable Circuits

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Fuzzy logic is good for reasoning under uncertainty, but it has a bottleneck: you need domain experts to define the rules.



What if fuzzy systems could learn their own rules from data?






The Traditional Fuzzy Logic Bottleneck



Classic fuzzy systems require:





  1. Membership functions: "How hot is hot?"


  2. Inference rules: "If temp is hot AND humidity is high THEN..."


  3. Defuzzification: Converting fuzzy outputs to crisp values



This means:




  • Domain expertise (expensive)

  • Trial and error (time-consuming)

  • Manual tuning (brittle)



In practice, fuzzy logic is often abandoned in favor of neural networks. You lose interpretability, but at least you don't need a domain expert hand-crafting rules.






The Idea: Fuzzy Soft Circuits



We present a framework that:




  • Represents fuzzy systems as differentiable computational graphs


  • Learns membership functions and rules via gradient descent

  • Keeps the interpretability of traditional fuzzy systems






Key Innovation: Soft Gates



Traditional circuits use hard logic gates (AND, OR, NOT). We use soft, differentiable approximations:




CODE
# Traditional (non-differentiable)
AND(a, b) = min(a, b)
OR(a, b) = max(a, b)

# Soft (differentiable)
soft_AND(a, b) = a * b
soft_OR(a, b) = a + b - a*b
soft_NOT(a) = 1 - a






These are differentiable but approximate the same semantics. That means backpropagation works.






The Architecture






CODE
Input Features
|
Fuzzification Layer (learnable membership functions)
|
Soft Circuit Layer (learnable fuzzy rules)
|
Aggregation Layer (learnable combination)
|
Defuzzification Layer
|
Output






Every component is differentiable. Train end-to-end with backpropagation.






Automatic Rule Discovery



The system discovers rules like:




CODE
IF temperature is {learned_high} AND humidity is {learned_humid}
THEN discomfort is {learned_uncomfortable}






Where the membership functions {learned_high}, {learned_humid}, etc. are learned from data, not hand-crafted.






Why Not Just Use a Neural Network?



Fair question. Fuzzy soft circuits give you things neural networks don't:





  • Interpretability: You can extract and read the learned rules


  • Sample efficiency: The structured inductive bias helps with limited data


  • Domain integration: You can incorporate expert knowledge as priors


  • Uncertainty quantification: Fuzzy truth values are meaningful



Neural networks give you a black box. You need large datasets. Incorporating domain knowledge is hard. Uncertainty requires special techniques.



If you need both learning and interpretability, fuzzy soft circuits sit in a useful spot.






Training Process






CODE
# Initialize random fuzzy circuit
circuit = FuzzySoftCircuit(
n_inputs=5,
n_rules=10,
n_outputs=1
)

# Train with gradient descent
for epoch in epochs:
# Forward pass
predictions = circuit(inputs)

# Compute loss
loss = mse(predictions, targets)

# Backward pass (automatic differentiation)
loss.backward()

# Update membership functions and rules
optimizer.step()

# Extract learned rules
rules = circuit.extract_rules()
print(rules) # Human-readable fuzzy rules!









Experimental Results



On benchmark datasets:





  • HVAC control: 15% energy reduction vs. hand-crafted rules


  • Medical diagnosis: 92% accuracy with only 500 training examples


  • Industrial control: Matched expert-designed systems after 1 hour of training






Rule Visualization



The learned membership functions can be plotted:




CODE
Temperature:
Cold: [0C --________-- 15C ..................... 40C]
Warm: [0C ........ 15C --________-- 25C ........ 40C]
Hot: [0C ........................ 25C --________-- 40C]






You can see and understand what the system learned. That's the whole point.






Applications



This framework fits anywhere you need both learning and interpretability:





  • Control systems (HVAC, industrial automation)


  • Medical diagnosis (interpretable predictions)


  • Financial modeling (explainable risk assessment)


  • Robotics (learning from demonstration with transparency)






Future Directions




  • Multi-objective optimization (accuracy + interpretability + sparsity)

  • Incorporating temporal/sequential fuzzy logic

  • Transfer learning between fuzzy systems

  • Formal verification of learned rules






Read the Full Paper



For mathematical foundations, training algorithms, and comprehensive experiments:




View Paper




Contents:




  • Soft gate definitions and properties

  • Gradient flow analysis

  • Training algorithms and optimization techniques

  • Benchmarks on 10+ datasets

  • Comparison with neural networks and hand-crafted fuzzy systems

  • Rule extraction and interpretation methods

  • Ablation studies on circuit architecture

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
Stealing AI Reasoning Traces
1 Quelle
AIs as Modern Genies
1 Quelle
Bitcoin: KI-Hacker räumen Millionen ab! Wird Künstliche Intelligenz zum Problem? - ftd.de
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Learning Fuzzy Logic: Automatic Rule Discovery Through Differentiable Circuits

Thematisch verwandte Begriffe: Learning, Fuzzy, Logic, Automatic · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...